.v9 .nav #hk-submenu{padding:2px 0 7px 26px;display:grid;gap:3px}.v9 .nav #hk-submenu[hidden]{display:none}.v9 .nav #hk-submenu button{font-size:14px;line-height:1.4;min-height:34px;padding:8px 10px;margin:0;border:0;border-radius:7px;text-align:left;color:#b9cbed;white-space:normal}.v9 .nav #hk-submenu button.selected{background:#ffffff12;color:#fff;border-left:2px solid #3384ff}
.housekeeping-page{min-width:0;color:#101d35}.hk-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px;flex-wrap:wrap}.hk-heading h2{font-size:27px;margin:5px 0;font-weight:600}.hk-heading h3{margin:0}.hk-eyebrow{color:#7b869c;font-size:14px;margin:0;letter-spacing:.4px}.hk-panel{border:1px solid #dee0ec;border-radius:14px;background:#fff;padding:18px;min-width:0}.hk-panel h3{font-size:19px;font-weight:600;margin:0 0 16px}.hk-tabs{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:20px;border-bottom:1px solid #dee0ec;padding-bottom:10px}.hk-tabs button{border:0;background:transparent;padding:11px 18px;border-radius:10px;color:#768096;font-size:15px}.hk-tabs button[aria-selected=true]{background:#0f47f1;color:white}.hk-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.hk-stats article{padding:19px;background:white;border:1px solid #dee0ec;border-radius:14px}.hk-stats small{font-size:15px;color:#7a8599}.hk-stats strong{display:block;font-size:31px;font-weight:600;margin-top:10px}.hk-stats article:nth-child(3) strong{color:#cd8b00}.hk-stats article:nth-child(4) strong{color:#129068}.hk-filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px;align-items:center}.hk-filters input,.hk-filters select{padding:11px 12px;border:1px solid #dee0ec;border-radius:9px;background:white;font:inherit;font-size:15px;min-width:0;color:#4c5871}.hk-filters input[type=search]{flex:1;min-width:220px}.hk-filters select{max-width:190px}.hk-button{border:1px solid #dee0ec;border-radius:9px;background:white;padding:9px 12px;color:#315184;font-size:14px;white-space:nowrap}.hk-button:hover{background:#edf2ff;border-color:#9fbbfa}.hk-sort{display:flex;align-items:center;gap:5px;font-size:14px;color:#69758a;background:transparent;border:0;padding:8px 0}.hk-sort img{width:14px;height:14px}.hk-table-scroll{overflow:auto;max-width:100%;border-radius:10px}.hk-table{width:100%;border-collapse:separate;border-spacing:0;font-size:15px;text-align:left}.hk-table th{font-weight:400;font-size:14px;color:#728097;padding:15px 12px;background:#f8faff;white-space:nowrap;border-bottom:1px solid #e5e9f2}.hk-table td{padding:17px 12px;border-bottom:1px solid #e7eaf2;line-height:1.5;vertical-align:middle;max-width:250px;overflow-wrap:anywhere}.hk-table tbody tr:nth-child(even){background:#f9fbff}.hk-table tbody tr:hover{background:#f1f5ff}.hk-table small{display:block;font-size:13px;color:#7a879b;margin-top:5px}.hk-table strong{font-weight:600}.hk-table .hk-selected{background:#f8fbdc!important}.hk-table td:first-child{border-radius:9px 0 0 9px}.hk-table td:last-child{border-radius:0 9px 9px 0}.hk-badge{display:inline-block;width:fit-content;font-size:13px;line-height:1.3;border-radius:20px;padding:5px 9px;white-space:nowrap}.hk-badge.green{background:#e5f8ee;color:#16935b}.hk-badge.red{background:#fcebeb;color:#c93d48}.hk-badge.amber{background:#fff6df;color:#a97300}.hk-badge.blue{background:#eaf0ff;color:#305eb2}.hk-note{background:#eef2fa;border-radius:8px;padding:14px;color:#69778f;font-size:14px;line-height:1.7;margin:14px 0}.hk-demo{font-size:14px;color:#8b95a8;line-height:1.7;margin-top:20px}.hk-empty{padding:48px!important;text-align:center;color:#8b95a8}.hk-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.hk-table .hk-actions{margin:0}.hk-split{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:20px;align-items:start}.hk-bar-detail{background:#fff;position:sticky;top:18px}.hk-bar-detail>p{font-size:15px;color:#6b7b95}.hk-bar-detail .hk-table td{padding:14px 8px;font-size:14px}.hk-bar-detail .hk-table th{padding:12px 8px}.hk-bar-detail .hk-actions{display:grid;grid-template-columns:1fr}.hk-bar-detail .hk-actions button{width:100%;min-height:38px}.hk-inventory-overview{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:20px}.hk-inventory-overview .hk-tabs{margin:0;border:0;padding:0}.hk-inventory-overview .hk-tabs button{padding:7px 12px}.hk-bars{height:165px;display:flex;align-items:end;gap:12px;padding-top:12px;border-bottom:1px solid #dee0ec}.hk-bars>div{display:flex;flex:1;flex-direction:column;align-items:center;gap:7px;min-width:0}.hk-bars>div>div{width:65%;background:#2365ff;border-radius:5px 5px 0 0;min-height:3px}.hk-bars small{font-size:13px;color:#8190aa;white-space:nowrap}.hk-bars strong{font-size:14px;color:#3568bc}.hk-category-bar{display:flex;gap:3px;height:45px;overflow:hidden;border-radius:12px;margin:22px 0}.hk-category{display:flex;justify-content:space-between;padding:8px 0;font-size:14px;gap:10px}.hk-category span{display:flex;gap:8px;align-items:center}.hk-category i{display:inline-block;width:8px;height:8px;border-radius:2px}.hk-cat-0{background:#0f47f1}.hk-cat-1{background:#90aaf5}.hk-cat-2{background:#e9efb7}.hk-cat-3{background:#f1df00}.hk-category strong{font-weight:500}.hk-modal{font-size:16px;min-width:0}.hk-modal .form-grid{margin:16px 0}.hk-modal .field{display:grid;gap:8px;font-size:15px;min-width:0;margin:10px 0}.hk-modal input,.hk-modal select,.hk-modal textarea{width:100%;border:1px solid #dee0ec;border-radius:8px;padding:11px;background:white;color:#20324e;font:inherit;min-width:0}.hk-modal input[readonly]{background:#f3f6fb;color:#7d899f}.hk-modal textarea{resize:vertical}.hk-wide{grid-column:1/-1}.hk-error,.hk-warning{color:#b86a13;font-size:15px;line-height:1.6}.hk-error:empty,.hk-warning:empty{display:none}.hk-line{display:grid;grid-template-columns:minmax(150px,2fr) minmax(60px,.6fr) minmax(75px,.8fr) auto;gap:10px;align-items:end;padding:14px 0;border-bottom:1px solid #e6eaf2}.hk-line label{display:grid;gap:8px;font-size:14px}.hk-line button{height:39px}.hk-total{padding:18px;background:#f0f5ff;border-radius:10px;margin:18px 0;text-align:right}.hk-total strong{font-size:23px;color:#1459e6;margin-left:8px}.hk-check{display:flex;gap:10px;align-items:center;margin:18px 0}.hk-check input{width:16px;height:16px}.hk-log{max-height:300px;overflow:auto;margin-top:12px}.hk-log article{display:grid;gap:6px;padding:13px 0;border-bottom:1px solid #e7eaf2}.hk-log small{color:#7c8ca4}.hk-detail-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.hk-detail-top h3{margin-right:auto}.hk-photos{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.hk-photos img{width:120px;height:100px;object-fit:cover;border-radius:8px}.hk-modal .hk-table input{width:74px}.housekeeping-page :focus-visible,.hk-modal :focus-visible{outline:3px solid #91b7ff;outline-offset:2px}.hk-modal form .fig-primary{min-height:38px}
@media(max-width:1050px){.hk-split{grid-template-columns:1fr}.hk-bar-detail{position:static}.hk-bar-detail .hk-actions{display:flex}.hk-bar-detail .hk-actions button{width:auto}.hk-table td{padding:13px 10px}.hk-inventory-overview{grid-template-columns:1fr 1fr}.hk-category strong{white-space:nowrap}}
@media(max-width:650px){.hk-stats{grid-template-columns:1fr 1fr}.hk-inventory-overview{grid-template-columns:1fr}.hk-panel{padding:12px}.hk-heading h2{font-size:25px}.hk-filters input[type=search]{flex-basis:100%}.hk-filters select{flex:1;max-width:none}.hk-line{grid-template-columns:1fr 1fr}.hk-line label:first-child{grid-column:1/-1}.hk-line button{align-self:end}.hk-table{min-width:620px}.hk-bar-detail .hk-table,.hk-modal .hk-table{min-width:440px}.hk-tabs button{padding:10px 12px}.hk-modal .form-grid{grid-template-columns:1fr}.hk-heading{gap:12px}}
@media print{body:has(.hk-receipt) #app>.shell,body:has(.hk-receipt) #toast{display:none}body:has(.hk-receipt) dialog{position:static;border:0;max-width:none;max-height:none;width:100%;overflow:visible}body:has(.hk-receipt) dialog::backdrop{background:white}body:has(.hk-receipt) dialog button,body:has(.hk-receipt) dialog form,.hk-modal:has(.hk-receipt)>.hk-actions,.hk-modal:has(.hk-receipt)>.hk-log{display:none}.hk-receipt{color:#000}.hk-receipt .hk-table-scroll{overflow:visible}.hk-receipt .hk-table{min-width:0}}

/* Housekeeping TASK 3 — follows Pasha24 UI Standard v1. */
.hk-core-page{
  height:var(--ui-workspace-height);
  min-height:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  padding-bottom:12px;
}
.hk-core-global-head{
  flex:0 0 auto;
  margin-bottom:12px;
}
.hk-core-global-head h2{font-size:25px;margin:4px 0 0}
.hk-core-workspace{
  flex:1 1 auto;
  min-width:0;
  min-height:0;
  display:grid;
  grid-template-columns:var(--ui-overview-panel) minmax(0,1fr);
  gap:12px;
  align-items:stretch;
  overflow:hidden;
}
.hk-core-left{
  min-width:0;
  min-height:0;
  height:100%;
  overflow:auto;
  border:1px solid #dee0ec;
  border-radius:16px;
  box-shadow:0 5px 8px #081c690d;
  scrollbar-gutter:stable;
}
.hk-core-left h2{margin:0 0 14px;font-size:19px;font-weight:600}
.hk-core-nav{margin:0}
.hk-core-nav button{justify-content:space-between}
.hk-core-nav button>span{
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.hk-core-nav button strong{
  flex:0 0 auto;
  font-size:13px;
  font-weight:600;
  color:#6d7b96;
}
.hk-core-nav button[aria-pressed=true] strong{color:#0f47f1}
.hk-core-mini-kpis{
  display:grid;
  gap:0;
  padding:7px;
  border:1px solid #dee0ec;
  border-radius:14px;
  background:#fff;
}
.hk-core-mini-kpis>div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:38px;
  padding:7px 8px;
}
.hk-core-mini-kpis>div+div{border-top:1px solid #f2f4f8}
.hk-core-mini-kpis span{font-size:14px;line-height:1.25;color:#69707b}
.hk-core-mini-kpis strong{font-size:17px;line-height:1;color:#202938}
.hk-core-mur-summary{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  padding:8px 10px;
  border:1px solid #dee0ec;
  border-radius:10px;
  background:#fff;
}
.hk-core-mur-summary strong{font-size:22px;line-height:1}
.hk-core-mur-summary span{font-size:13px;line-height:1.25;color:#69707b}
.hk-core-team{display:grid;gap:0}
.hk-core-team>div{
  display:grid;
  gap:3px;
  padding:7px 3px;
  border-bottom:1px solid #f0f2f7;
}
.hk-core-team span{
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  font-size:13px;
}
.hk-core-team i{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#20a36a;
  flex:0 0 auto;
}
.hk-core-team strong{
  padding-left:14px;
  color:#8390a6;
  font-size:11px;
  font-weight:500;
}
.hk-core-content{
  min-width:0;
  min-height:0;
  height:100%;
  overflow:hidden;
}
.hk-view{
  height:100%;
  min-width:0;
  min-height:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.hk-scroll{overflow:auto;padding-right:2px}
.hk-work-layout,
.hk-overview-grid{
  flex:1 1 auto;
  min-width:0;
  min-height:0;
  display:grid;
  grid-template-columns:minmax(0,1fr) var(--ui-detail-panel);
  gap:14px;
  align-items:stretch;
  overflow:hidden;
}
.hk-overview-grid{align-items:stretch}
.hk-main-scroll{
  min-width:0;
  min-height:0;
  height:100%;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.hk-main-scroll>.hk-filters,
.hk-main-scroll>.hk-sort,
.hk-main-scroll>.hk-panel-head,
.hk-main-scroll>h3,
.hk-main-scroll>p{flex:0 0 auto}
.hk-main-scroll>.hk-table-scroll{
  flex:1 1 auto;
  min-height:0;
  overflow:auto;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}
.hk-detail-panel,
.hk-overview-side{
  min-width:0;
  min-height:0;
  height:100%;
  max-height:none;
  overflow:auto;
  align-self:stretch;
  position:relative;
  top:auto;
  padding:16px;
  scrollbar-gutter:stable;
  overscroll-behavior:contain;
}
.hk-detail-panel h2,.hk-overview-side h2{font-size:21px;margin:4px 0 8px}
.hk-detail-panel h3,.hk-overview-side h3{font-size:17px;margin:18px 0 9px}
.hk-detail-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.hk-detail-top small{color:#7a8599}
.hk-detail-top h2{margin-top:4px}
.hk-overview-side .field{display:grid;gap:7px;margin:14px 0}
.hk-overview-side select{
  min-height:var(--ui-control);
  border:1px solid #dee0ec;
  border-radius:10px;
  padding:8px 10px;
  background:#fff;
}
.hk-big-value{display:block;font-size:30px;margin:10px 0 2px}
.hk-panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.hk-panel-head h3{margin:0}
.hk-core-page .hk-stats{
  flex:0 0 auto;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 10px;
}
.hk-core-page .hk-stats article{
  min-height:78px;
  padding:10px 14px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  border-radius:12px;
}
.hk-core-page .hk-stats small{
  order:2;
  font-size:13px;
  line-height:1.25;
}
.hk-core-page .hk-stats strong{
  order:1;
  margin:0;
  font-size:24px;
  line-height:1;
  color:#112448;
}
.hk-core-page .hk-filters{
  flex:0 0 auto;
  margin-bottom:10px;
  gap:8px;
  align-items:stretch;
}
.hk-core-page .hk-filters input,
.hk-core-page .hk-filters select{min-height:var(--ui-control)}
.hk-core-page .hk-filters input[type=search]{flex:1 1 180px;min-width:140px}
.hk-core-page .hk-filters select{flex:0 1 165px;min-width:120px}
.hk-core-page .hk-sort{flex:0 0 auto;margin-bottom:3px}
.hk-core-page .hk-panel{
  min-width:0;
  min-height:0;
  border-radius:14px;
  padding:14px;
}
.hk-core-page .hk-table-scroll{min-width:0;max-width:100%}
.hk-core-page .hk-table{
  min-width:820px;
  width:100%;
}
.hk-core-page .hk-table th{
  position:sticky;
  top:0;
  z-index:2;
  height:42px;
  padding:11px 10px;
  background:#f8faff;
}
.hk-core-page .hk-table td{padding:11px 10px}
.hk-core-page .hk-table .hk-selected{background:#eef4ff!important;box-shadow:inset 3px 0 #0f47f1}
.hk-room-link{display:block;width:100%;padding:0!important;text-align:left;color:inherit}
.hk-room-link strong{font-size:16px}
.hk-space-top{margin-top:18px!important}
.hk-detail-panel .g-definition{margin:10px 0 16px}
.hk-detail-panel .g-definition>div{font-size:14px;padding:9px 0}
.hk-detail-panel .g-definition dd{max-width:58%;overflow-wrap:anywhere}
.hk-detail-panel .hk-log{max-height:none}
.hk-core-page .category-caption{margin-top:16px}
@media(min-width:761px) and (max-height:820px){
  .hk-core-page{padding-bottom:8px}
  .hk-core-global-head{margin-bottom:8px}
  .hk-core-global-head h2{font-size:22px}
  .hk-core-workspace{gap:10px}
  .hk-core-left{padding-top:12px;padding-bottom:12px}
  .hk-core-left h2{margin-bottom:10px}
  .hk-core-page .category-caption{margin:10px 0 6px;padding-top:9px}
  .hk-core-mini-kpis>div{min-height:32px;padding:5px 7px}
  .hk-core-team>div{padding:5px 3px}
  .hk-core-page .hk-stats article{min-height:68px;padding:8px 11px}
  .hk-core-page .hk-stats strong{font-size:22px}
  .hk-core-page .hk-panel{padding:11px}
  .hk-detail-panel,.hk-overview-side{padding:13px}
}
@media(min-width:761px) and (max-width:1100px){
  .hk-core-workspace{grid-template-columns:minmax(0,1fr)}
  .hk-core-left{display:none}
}
@media(max-width:760px){
  .hk-core-page{height:auto;min-height:0;overflow:visible;padding:0 12px 12px}
  .hk-core-workspace{display:grid;grid-template-columns:1fr;height:auto;overflow:visible}
  .hk-core-left{display:block;height:auto;max-height:none;overflow:visible}
  .hk-core-content,.hk-view{height:auto;overflow:visible}
  .hk-work-layout,.hk-overview-grid{grid-template-columns:1fr;overflow:visible}
  .hk-main-scroll{height:auto;overflow:visible}
  .hk-main-scroll>.hk-table-scroll{max-height:520px}
  .hk-detail-panel,.hk-overview-side{height:auto;max-height:none;overflow:visible}
  .hk-core-page .hk-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* TASK 3.1 — lightweight Housekeeping page shell. */
.hk-shell-page{height:var(--ui-workspace-height);min-height:0;display:flex;flex-direction:column;overflow:hidden}
.hk-shell-head{flex:0 0 auto;margin-bottom:12px}
.hk-shell-head h2{margin:4px 0 0;font-size:25px}
.hk-shell-layout{flex:1 1 auto;min-width:0;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) var(--ui-detail-panel);gap:14px;overflow:hidden}
.hk-shell-main,.hk-shell-detail{min-width:0;min-height:0;height:100%;overflow:auto}
.hk-shell-empty{height:100%;min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px}
.hk-shell-empty strong{font-size:20px}
.hk-shell-empty p{max-width:420px;margin:8px 0 0;color:#7b879d}
@media(max-width:900px){.hk-shell-page{height:auto;overflow:visible}.hk-shell-layout{grid-template-columns:1fr;overflow:visible}.hk-shell-main,.hk-shell-detail{height:auto;min-height:280px}}

/* TASK 3.2 — Housekeeping Tasks */
.hkt-page{padding-bottom:12px}
.hkt-page .hk-shell-head{margin-bottom:10px}
.hkt-kpis{flex:0 0 auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:10px}
.hkt-kpis button{min-height:78px;text-align:left;padding:10px 14px;cursor:pointer}
.hkt-kpis strong{display:block;font-size:24px;line-height:1;margin-bottom:5px;color:#112448}
.hkt-kpis span{display:block;font-size:13px;line-height:1.25;color:#66738c}
.hkt-kpis button.selected{border-color:#0f47f1;background:#f4f7ff;box-shadow:inset 0 0 0 1px #0f47f118}
.hkt-workspace{flex:1 1 auto;min-width:0;min-height:0;display:grid;grid-template-columns:var(--operations-master-track) var(--operations-detail-track);gap:var(--operations-master-detail-gap);overflow:hidden}
.hkt-main,.hkt-detail{min-width:0;min-height:0;height:100%}
.hkt-main{display:flex;flex-direction:column;overflow:hidden;padding:14px}
.hkt-detail{overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:16px}
.hkt-filters{flex:0 0 auto;display:flex;flex-wrap:wrap;gap:8px;align-items:stretch;margin-bottom:10px}
.hkt-filters input,.hkt-filters select,.hkt-filters button{min-height:var(--ui-control);border-radius:9px}
.hkt-filters input,.hkt-filters select{border:1px solid #dee0ec;background:#fff;color:#4c5871;padding:8px 10px;font:inherit;font-size:14px}
.hkt-filters #hkt-search{flex:1 1 220px;min-width:180px}
.hkt-filters select{flex:0 1 145px;min-width:115px}
.hkt-filters #hkt-date{flex:0 1 140px;min-width:130px}
.hkt-new{flex:0 0 auto;margin-left:auto}
.hkt-table-wrap{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.hkt-table{min-width:1040px}
.hkt-table thead{position:sticky;top:0;z-index:3;background:#fff}
.hkt-table tr[data-hkt-task]{cursor:pointer}
.hkt-table tr[data-hkt-task]:hover{background:#f7f9fe}
.hkt-table tr[data-hkt-task].selected{background:#eef4ff;box-shadow:inset 3px 0 #0f47f1}
.hkt-table td strong,.hkt-table td small{display:block}
.hkt-table td small{margin-top:4px;color:#7c879d}
.hkt-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.hkt-detail-head small{color:#7a8599}.hkt-detail-head h2{margin:4px 0 0;font-size:22px}
.hkt-detail>h3{margin:16px 0 8px}.hkt-muted{color:#7a8599;margin:5px 0 14px}
.hkt-description{padding:10px 12px;background:#f7f9fd;border-radius:9px;line-height:1.5}
.hkt-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.hkt-actions button{min-height:var(--ui-control)}
.hkt-assign{margin:14px 0}.hkt-assign select,.hkt-create input,.hkt-create select,.hkt-create textarea,#hkt-cancel-form textarea{width:100%;min-height:var(--ui-control);border:1px solid #dee0ec;border-radius:9px;padding:8px 10px;background:#fff;font:inherit}
.hkt-create form{display:grid;gap:11px}.hkt-create .field,#hkt-cancel-form .field{display:grid;gap:6px}
.hkt-create textarea,#hkt-cancel-form textarea{min-height:90px;resize:vertical}
.hkt-empty{height:100%;min-height:240px;display:flex;align-items:center;justify-content:center;text-align:center;color:#7b879d;padding:24px}
@media(min-width:901px) and (max-width:1150px){.hkt-filters select{flex-basis:132px}.hkt-kpis button{min-height:72px}.hkt-kpis strong{font-size:22px}}
@media(max-width:900px){.hkt-page{height:auto;overflow:visible}.hkt-workspace{grid-template-columns:1fr;overflow:visible}.hkt-main,.hkt-detail{height:auto;min-height:300px}.hkt-table-wrap{max-height:540px}}
@media(max-width:650px){.hkt-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hkt-filters>*{flex:1 1 100%!important}.hkt-new{margin-left:0}}


/* TASK 3.3 — Housekeeping Room Status */
.hks-page{padding-bottom:12px}
.hks-page .hk-shell-head{margin-bottom:10px}
.hks-kpis{flex:0 0 auto;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:10px}
.hks-kpis button{min-width:0;min-height:74px;text-align:left;padding:10px 12px;cursor:pointer}
.hks-kpis strong{display:block;font-size:23px;line-height:1;margin-bottom:5px;color:#112448}
.hks-kpis span{display:block;min-width:0;font-size:13px;line-height:1.2;color:#66738c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hks-kpis button.selected{border-color:#0f47f1;background:#f4f7ff;box-shadow:inset 0 0 0 1px #0f47f118}
.hks-workspace{flex:1 1 auto;min-width:0;min-height:0;display:grid;grid-template-columns:var(--operations-master-track) var(--operations-detail-track);gap:var(--operations-master-detail-gap);overflow:hidden}
.hks-main,.hks-detail{min-width:0;min-height:0;height:100%}
.hks-main{display:flex;flex-direction:column;overflow:hidden;padding:14px}
.hks-detail{overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:16px}
.hks-filters{flex:0 0 auto;display:flex;gap:8px;align-items:stretch;margin-bottom:8px}
.hks-filters input,.hks-filters select{min-width:0;min-height:var(--ui-control);border:1px solid #dee0ec;border-radius:9px;background:#fff;color:#4c5871;padding:8px 10px;font:inherit;font-size:14px}
.hks-filters input{flex:1 1 260px}
.hks-filters select{flex:0 1 180px}
.hks-list-meta{flex:0 0 auto;font-size:13px;color:#7c879d;margin:0 2px 8px}
.hks-table-wrap{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.hks-table{min-width:880px}
.hks-table thead{position:sticky;top:0;z-index:3;background:#fff}
.hks-table tr[data-hks-room]{cursor:pointer}
.hks-table tr[data-hks-room]:hover{background:#f7f9fe}
.hks-table tr[data-hks-room].selected{background:#eef4ff;box-shadow:inset 3px 0 #0f47f1}
.hks-table td strong,.hks-table td small{display:block}
.hks-table td small{margin-top:4px;color:#7c879d}
.hks-badge{display:inline-block;font-size:13px;font-weight:600;line-height:1.35;padding:4px 10px;border-radius:20px;white-space:nowrap}
.hks-badge.dirty{background:#fff1f1;color:#b73535}
.hks-badge.cleaning{background:#fff7e8;color:#b35b00}
.hks-badge.inspection{background:#f0f0ff;color:#304bc0}
.hks-badge.clean{background:#edf8ff;color:#15708f}
.hks-badge.ready{background:#edfcf5;color:#057852}
.hks-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.hks-detail-head small{display:block;color:#7a8599;line-height:1.35}
.hks-detail-head h2{margin:4px 0 0;font-size:22px}
.hks-detail>h3{margin:18px 0 8px}
.hks-task-card{border:1px solid #e3e7f0;border-radius:10px;padding:12px}
.hks-task-card>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.hks-task-card .fig-primary{width:100%;margin-top:10px}
.hks-no-task{padding:14px;border-radius:9px;background:#f7f9fd;color:#7a8599;text-align:center}
@media(min-width:901px) and (max-width:1150px){.hks-kpis{gap:6px}.hks-kpis button{min-height:70px;padding:9px 10px}.hks-kpis strong{font-size:21px}.hks-kpis span{font-size:12px}.hks-filters select{flex-basis:155px}}
@media(max-width:900px){.hks-page{height:auto;overflow:visible}.hks-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.hks-workspace{grid-template-columns:1fr;overflow:visible}.hks-main,.hks-detail{height:auto;min-height:300px}.hks-table-wrap{max-height:560px}.hks-filters{flex-wrap:wrap}.hks-filters>*{flex:1 1 180px!important}}
@media(max-width:580px){.hks-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hks-filters>*{flex-basis:100%!important}}


/* TASK 3.4 — Housekeeping History */
.hkh-page{padding-bottom:12px}
.hkh-page .hk-shell-head{margin-bottom:10px}
.hkh-kpis{flex:0 0 auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:10px}
.hkh-kpis button{min-width:0;min-height:76px;text-align:left;padding:10px 14px;cursor:pointer}
.hkh-kpis strong{display:block;font-size:24px;line-height:1;margin-bottom:5px;color:#112448}
.hkh-kpis span{display:block;min-width:0;font-size:13px;line-height:1.2;color:#66738c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hkh-kpis button.selected{border-color:#0f47f1;background:#f4f7ff;box-shadow:inset 0 0 0 1px #0f47f118}
.hkh-workspace{flex:1 1 auto;min-width:0;min-height:0;display:grid;grid-template-columns:var(--operations-master-track) var(--operations-detail-track);gap:var(--operations-master-detail-gap);overflow:hidden}
.hkh-main,.hkh-detail{min-width:0;min-height:0;height:100%}
.hkh-main{display:flex;flex-direction:column;overflow:hidden;padding:14px}
.hkh-detail{overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:16px}
.hkh-filters{flex:0 0 auto;display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end;margin-bottom:8px}
.hkh-filters input,.hkh-filters select,.hkh-filters button{min-height:var(--ui-control);border-radius:9px;font:inherit;font-size:14px}
.hkh-filters input,.hkh-filters select{min-width:0;border:1px solid #dee0ec;background:#fff;color:#4c5871;padding:8px 10px}
.hkh-filters #hkh-search{flex:1 1 230px;min-width:180px}
.hkh-filters select{flex:0 1 145px;min-width:115px}
.hkh-date{display:grid;gap:4px;flex:0 1 145px;min-width:132px;font-size:12px;color:#7c879d}
.hkh-date input{width:100%}
.hkh-list-meta{flex:0 0 auto;font-size:13px;color:#7c879d;margin:0 2px 8px}
.hkh-table-wrap{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.hkh-table{min-width:980px}
.hkh-table thead{position:sticky;top:0;z-index:3;background:#fff}
.hkh-table tr[data-hkh-task]{cursor:pointer}
.hkh-table tr[data-hkh-task]:hover{background:#f7f9fe}
.hkh-table tr[data-hkh-task].selected{background:#eef4ff;box-shadow:inset 3px 0 #0f47f1}
.hkh-table td strong,.hkh-table td small{display:block}
.hkh-table td small{margin-top:4px;color:#7c879d}
.hkh-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.hkh-detail-head small{display:block;color:#7a8599}
.hkh-detail-head h2{margin:4px 0 0;font-size:22px}
.hkh-detail>h3{margin:16px 0 8px}
@media(min-width:901px) and (max-width:1150px){.hkh-filters select{flex-basis:132px}.hkh-kpis button{min-height:72px}.hkh-kpis strong{font-size:22px}}
@media(max-width:900px){.hkh-page{height:auto;overflow:visible}.hkh-workspace{grid-template-columns:1fr;overflow:visible}.hkh-main,.hkh-detail{height:auto;min-height:300px}.hkh-table-wrap{max-height:560px}}
@media(max-width:650px){.hkh-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hkh-filters>*{flex:1 1 100%!important}}


/* TASK 3.5 — Housekeeping Supplies */
.hku-page{padding-bottom:12px}
.hku-page .hk-shell-head{margin-bottom:10px}
.hku-kpis{flex:0 0 auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-bottom:10px}
.hku-kpis button{min-width:0;min-height:76px;text-align:left;padding:10px 13px;cursor:pointer}
.hku-kpis strong{display:block;font-size:24px;line-height:1;margin-bottom:5px;color:#112448}
.hku-kpis span{display:block;min-width:0;font-size:13px;line-height:1.2;color:#66738c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hku-kpis button.selected{border-color:#0f47f1;background:#f4f7ff;box-shadow:inset 0 0 0 1px #0f47f118}
.hku-workspace{flex:1 1 auto;min-width:0;min-height:0;display:grid;grid-template-columns:var(--operations-master-track) var(--operations-detail-track);gap:var(--operations-master-detail-gap);overflow:hidden}
.hku-main,.hku-detail{min-width:0;min-height:0;height:100%}
.hku-main{display:flex;flex-direction:column;overflow:hidden;padding:14px}
.hku-detail{overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:16px}
.hku-filters{flex:0 0 auto;display:flex;gap:8px;align-items:stretch;margin-bottom:8px}
.hku-filters input,.hku-filters select{min-width:0;min-height:var(--ui-control);border:1px solid #dee0ec;border-radius:9px;background:#fff;color:#4c5871;padding:8px 10px;font:inherit;font-size:14px}
.hku-filters input{flex:1 1 260px}.hku-filters select{flex:0 1 190px}
.hku-list-meta{flex:0 0 auto;font-size:13px;color:#7c879d;margin:0 2px 8px}
.hku-table-wrap{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.hku-table{min-width:850px}
.hku-table thead{position:sticky;top:0;z-index:3;background:#fff}
.hku-table tr[data-hku-product]{cursor:pointer}
.hku-table tr[data-hku-product]:hover{background:#f7f9fe}
.hku-table tr[data-hku-product].selected{background:#eef4ff;box-shadow:inset 3px 0 #0f47f1}
.hku-table td strong,.hku-table td small{display:block}
.hku-table td small{margin-top:4px;color:#7c879d}
.hku-badge{display:inline-block;font-size:13px;font-weight:600;line-height:1.35;padding:4px 10px;border-radius:20px;white-space:nowrap}
.hku-badge.enough{background:#edfcf5;color:#057852}
.hku-badge.low{background:#fff7e8;color:#b35b00}
.hku-badge.out{background:#fff1f1;color:#b73535}
.hku-badge.requested{background:#f0f0ff;color:#304bc0}
.hku-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.hku-detail-head small{display:block;color:#7a8599}.hku-detail-head h2{margin:4px 0 0;font-size:22px}
.hku-detail>h3{margin:18px 0 8px}
.hku-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}
.hku-actions button{min-height:var(--ui-control)}
.hku-pending{margin-top:16px;padding:12px;border:1px solid #e3e7f0;border-radius:10px}
.hku-pending h3{margin:0 0 8px}
.hku-pending article{display:grid;grid-template-columns:1fr auto;gap:3px 8px;padding:8px 0;border-top:1px solid #edf0f5}
.hku-pending article:first-of-type{border-top:0}
.hku-pending article small{grid-column:1/-1;color:#7c879d}
.hku-movements{display:grid}
.hku-movements article{padding:10px 0;border-top:1px solid #edf0f5}
.hku-movements article:first-child{border-top:0}
.hku-movements article>div{display:flex;align-items:center;justify-content:space-between;gap:10px}
.hku-movements small{display:block;margin-top:4px;color:#7c879d}
.hku-movements .negative{color:#b73535}.hku-movements .positive{color:#057852}
.hku-empty-note{padding:14px;border-radius:9px;background:#f7f9fd;color:#7a8599;text-align:center}
.hku-form-product{margin:-4px 0 16px;color:#6f7b91}
.hku-form form{display:grid;gap:11px}
.hku-form .field{display:grid;gap:6px}
.hku-form input,.hku-form select,.hku-form textarea{width:100%;min-height:var(--ui-control);border:1px solid #dee0ec;border-radius:9px;padding:8px 10px;background:#fff;font:inherit}
.hku-form textarea{min-height:90px;resize:vertical}
@media(min-width:901px) and (max-width:1150px){.hku-kpis{gap:7px}.hku-kpis button{min-height:72px;padding:9px 10px}.hku-kpis strong{font-size:22px}.hku-kpis span{font-size:12px}.hku-filters select{flex-basis:165px}}
@media(max-width:900px){.hku-page{height:auto;overflow:visible}.hku-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.hku-workspace{grid-template-columns:1fr;overflow:visible}.hku-main,.hku-detail{height:auto;min-height:300px}.hku-table-wrap{max-height:560px}.hku-filters{flex-wrap:wrap}.hku-filters>*{flex:1 1 180px!important}}
@media(max-width:600px){.hku-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hku-actions{grid-template-columns:1fr}.hku-filters>*{flex-basis:100%!important}}


/* TASK 3.6 — Housekeeping Staff */
.hkp-page{padding-bottom:12px}
.hkp-page .hk-shell-head{margin-bottom:10px}
.hkp-kpis{flex:0 0 auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-bottom:10px}
.hkp-kpis button{min-width:0;min-height:76px;text-align:left;padding:10px 13px;cursor:pointer}
.hkp-kpis strong{display:block;font-size:24px;line-height:1;margin-bottom:5px;color:#112448}
.hkp-kpis span{display:block;min-width:0;font-size:13px;line-height:1.2;color:#66738c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hkp-kpis button.selected{border-color:#0f47f1;background:#f4f7ff;box-shadow:inset 0 0 0 1px #0f47f118}
.hkp-workspace{flex:1 1 auto;min-width:0;min-height:0;display:grid;grid-template-columns:var(--operations-master-track) var(--operations-detail-track);gap:var(--operations-master-detail-gap);overflow:hidden}
.hkp-main,.hkp-detail{min-width:0;min-height:0;height:100%}
.hkp-main{display:flex;flex-direction:column;overflow:hidden;padding:14px}
.hkp-detail{overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:16px}
.hkp-filters{flex:0 0 auto;display:flex;gap:8px;align-items:stretch;margin-bottom:8px}
.hkp-filters input,.hkp-filters select{min-width:0;min-height:var(--ui-control);border:1px solid #dee0ec;border-radius:9px;background:#fff;color:#4c5871;padding:8px 10px;font:inherit;font-size:14px}
.hkp-filters input{flex:1 1 280px}.hkp-filters select{flex:0 1 190px}
.hkp-list-meta{flex:0 0 auto;font-size:13px;color:#7c879d;margin:0 2px 8px}
.hkp-table-wrap{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.hkp-table{min-width:1050px}
.hkp-table thead{position:sticky;top:0;z-index:3;background:#fff}
.hkp-table tr[data-hkp-staff]{cursor:pointer}
.hkp-table tr[data-hkp-staff]:hover{background:#f7f9fe}
.hkp-table tr[data-hkp-staff].selected{background:#eef4ff;box-shadow:inset 3px 0 #0f47f1}
.hkp-table td strong,.hkp-table td small{display:block}
.hkp-table td small{margin-top:4px;color:#7c879d}
.hkp-status,.hkp-load{display:inline-block;font-size:13px;font-weight:600;line-height:1.35;padding:4px 10px;border-radius:20px;white-space:nowrap}
.hkp-status.on_shift{background:#edfcf5;color:#057852}
.hkp-status.break{background:#fff7e8;color:#b35b00}
.hkp-status.off_shift{background:#f2f4f8;color:#667085}
.hkp-load.available{background:#edf8ff;color:#15708f}
.hkp-load.normalLoad{background:#f0f0ff;color:#304bc0}
.hkp-load.highLoad{background:#fff1f1;color:#b73535}
.hkp-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.hkp-detail-head small{display:block;color:#7a8599}.hkp-detail-head h2{margin:4px 0 0;font-size:22px}
.hkp-workload{display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:center;padding:12px;margin:12px 0;border:1px solid #e3e7f0;border-radius:10px;background:#fbfcff}
.hkp-workload>div{display:flex;align-items:center;gap:8px}.hkp-workload>strong{grid-row:1/3;grid-column:2;font-size:28px;color:#112448}.hkp-workload>small{color:#7c879d}
#hkp-status-form{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end;margin:14px 0}
#hkp-status-form .field{display:grid;gap:6px}
#hkp-status-form select{width:100%;min-height:var(--ui-control);border:1px solid #dee0ec;border-radius:9px;padding:8px 10px;background:#fff;font:inherit}
#hkp-status-form button{min-height:var(--ui-control)}
.hkp-detail>h3{margin:18px 0 8px}
.hkp-task-list{display:grid;gap:7px}
.hkp-task-list button{width:100%;border:1px solid #e3e7f0;border-radius:10px;background:#fff;padding:10px 11px;text-align:left;cursor:pointer}
.hkp-task-list button:hover{background:#f7f9fe}
.hkp-task-list button>div{display:flex;align-items:center;justify-content:space-between;gap:10px}
.hkp-task-list button small{display:block;margin-top:5px;color:#7c879d}
.hkp-empty-note{padding:14px;border-radius:9px;background:#f7f9fd;color:#7a8599;text-align:center}
@media(min-width:901px) and (max-width:1150px){.hkp-kpis{gap:7px}.hkp-kpis button{min-height:72px;padding:9px 10px}.hkp-kpis strong{font-size:22px}.hkp-kpis span{font-size:12px}.hkp-filters select{flex-basis:165px}}
@media(max-width:900px){.hkp-page{height:auto;overflow:visible}.hkp-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.hkp-workspace{grid-template-columns:1fr;overflow:visible}.hkp-main,.hkp-detail{height:auto;min-height:300px}.hkp-table-wrap{max-height:560px}.hkp-filters{flex-wrap:wrap}.hkp-filters>*{flex:1 1 180px!important}}
@media(max-width:600px){.hkp-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}#hkp-status-form{grid-template-columns:1fr}.hkp-filters>*{flex-basis:100%!important}}


/* TASK 3.7.1 — Housekeeping Staff Profiles */
.hkp-profile-filters .hkp-add{flex:0 0 auto;margin-left:auto}
.hkp-profile-table{min-width:1120px}
.hkp-profile-actions{display:flex;justify-content:flex-end;margin:-4px 0 10px}
.hkp-profile-block{margin-top:14px;padding:12px;border:1px solid #e3e7f0;border-radius:10px;background:#fbfcff}
.hkp-profile-block h3{margin:0 0 8px}
.hkp-profile-form form{display:grid;gap:12px}
.hkp-profile-form .field{display:grid;gap:6px;min-width:0}
.hkp-profile-form input,.hkp-profile-form select,.hkp-profile-form textarea{width:100%;min-width:0;min-height:var(--ui-control);border:1px solid #dee0ec;border-radius:9px;padding:8px 10px;background:#fff;font:inherit;color:#24304a}
.hkp-profile-form input[readonly]{background:#f5f7fb;color:#65718a}
.hkp-profile-form select[multiple]{min-height:170px;padding:6px}
.hkp-profile-form textarea{min-height:84px;resize:vertical}
.hkp-profile-form .field small{color:#7c879d;line-height:1.35}
.hkp-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hkp-time-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}
@media(max-width:1100px){.hkp-profile-filters .hkp-add{margin-left:0}.hkp-profile-filters{flex-wrap:wrap}.hkp-profile-filters>*{flex:1 1 165px}.hkp-profile-filters .hkp-add{flex:0 0 auto}}
@media(max-width:600px){.hkp-profile-grid,.hkp-time-pair{grid-template-columns:1fr}.hkp-profile-filters .hkp-add{flex:1 1 100%}}

/* 3.7.1R: read-only Workforce-powered Housekeeping staff view. */
.hkw-page .hkw-intro{margin:3px 0 0;color:#728098;font-size:13px;line-height:1.4}
.hkw-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:10px}
.hkw-kpis .g-card{min-height:70px;padding:10px 13px;text-align:left;cursor:pointer;min-width:0}
.hkw-kpis strong{display:block;font-size:23px;color:#112448;line-height:1.1}
.hkw-kpis span{display:block;margin-top:5px;font-size:13px;color:#66738c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hkw-kpis button.selected{border-color:#0f47f1;background:#f4f7ff}
.hkw-table{min-width:950px}
.hkw-table tr[data-hkw-employee]{cursor:pointer}
.hkw-table tr[data-hkw-employee]:hover{background:#f7f9fe}
.hkw-table tr[data-hkw-employee].selected{background:#eef4ff;box-shadow:inset 3px 0 #0f47f1}
.hkw-table td strong,.hkw-table td small{display:block}
.hkw-table td small{margin-top:4px;font-size:12px;color:#7c879d}
.hkw-status{display:inline-block;font-weight:600;font-size:12px;padding:4px 9px;border-radius:20px;white-space:nowrap}
.hkw-status.present{background:#edfcf5;color:#057852}
.hkw-status.on_break{background:#fff7e8;color:#a45c00}
.hkw-status.not_present{background:#fff0f0;color:#b53b3b}
.hkw-status.unknown{background:#f2f4f8;color:#667085}
.hkw-inactive{font-size:11px;color:#aa4242;display:block;margin-top:4px}
.hkw-link-row{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0 12px}
.hkw-link-row button{flex:1 1 auto;min-height:35px;padding:6px 10px;font-size:12px}
.hkw-note,.hkw-footnote{font-size:12px;line-height:1.4;color:#7a8599}
.hkw-footnote{margin:7px 0 0}
.hkw-detail .g-definition dd{overflow-wrap:anywhere}
@media(max-width:900px){.hkw-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hkw-filters{flex-wrap:wrap}.hkw-filters>*{flex:1 1 150px}}
@media(max-width:600px){.hkw-kpis .g-card{min-height:64px}.hkw-link-row button{flex:1 1 100%}}

/* TASK 3.7.2 — building/floor Service Areas, Pasha24 laptop-first two-panel UI */
.hka-page .hk-shell-head{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:10px}
.hka-page .hk-shell-head>div{min-width:0}.hka-page .hk-shell-head p{font-size:13px;color:#78849a;margin:3px 0 0}
.hka-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:10px}
.hka-kpis .g-card{text-align:left;min-width:0;min-height:66px;padding:10px 12px;cursor:pointer}
.hka-kpis strong{display:block;font-size:23px;color:#112448}.hka-kpis span{font-size:12px;color:#67758a;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hka-workspace{display:grid;flex:1 1 auto;min-height:0;min-width:0;grid-template-columns:var(--operations-master-track) var(--operations-detail-track);gap:var(--operations-master-detail-gap);overflow:hidden}
.hka-main,.hka-detail{min-width:0;min-height:0;height:100%}
.hka-main{padding:14px;display:flex;flex-direction:column;overflow:hidden}
.hka-detail{overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:16px}
.hka-filters{display:flex;gap:8px;align-items:center;margin-bottom:8px}
.hka-filters input,.hka-filters select,.hka-detail input:not([type=checkbox]),.hka-detail select,.hka-detail textarea{min-width:0;min-height:var(--ui-control);border:1px solid #dee0ec;border-radius:9px;background:#fff;color:#34435a;font:inherit;padding:8px 10px}
.hka-filters input{flex:1 1 210px}.hka-filters select{flex:0 1 170px}
.hka-count{font-size:12px;color:#7c879d;margin:0 0 8px}
.hka-table-wrap{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.hka-table{min-width:720px}.hka-table thead{position:sticky;top:0;z-index:3;background:#fff}
.hka-table tr[data-hka-area]{cursor:pointer}.hka-table tr[data-hka-area]:hover{background:#f7f9fe}.hka-table tr.selected{background:#eef4ff;box-shadow:inset 3px 0 #0f47f1}
.hka-badge{font-size:12px;font-weight:600;padding:4px 9px;border-radius:18px;white-space:nowrap}
.hka-badge.on{background:#edfcf5;color:#057852}.hka-badge.off{background:#f3f4f8;color:#67758a}
.hka-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:15px}.hka-head h2{margin:3px 0 0}.hka-head small{color:#7d889d}
.hka-detail .field{display:grid;gap:6px;min-width:0;margin-bottom:13px}.hka-detail .field input:not([type=checkbox]),.hka-detail .field select,.hka-detail .field textarea{width:100%}
.hka-check{display:flex!important;flex-direction:row;align-items:center}.hka-check input{accent-color:#0f47f1}
.hka-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}.hka-actions button{flex:1 1 120px;min-height:var(--ui-control)}
.hka-page .hkt-create .field{min-width:0}
@media(max-width:1050px){.hka-filters{flex-wrap:wrap}.hka-filters input{flex:1 1 100%}.hka-filters select{flex:1 1 140px}}
@media(max-width:900px){.hka-page{height:auto;overflow:visible}.hka-workspace{grid-template-columns:1fr;overflow:visible}.hka-main,.hka-detail{min-height:300px;height:auto}.hka-table-wrap{max-height:520px}.hka-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.hka-page .hk-shell-head{align-items:flex-start;flex-wrap:wrap}.hka-page .hk-shell-head button{width:100%}.hka-actions button{flex:1 1 100%}}

/* 3.7.7 — stored Room Condition editor and derived Inspected/Ready presentation. */
.hks-kpis{grid-template-columns:repeat(7,minmax(0,1fr))}
.hks-badge.inspected{background:#e8f6f3;color:#087465}
.hks-condition-form{display:grid;gap:10px;border-top:1px solid #e0e8f1;margin-top:14px;padding-top:13px}
.hks-condition-form h3{font-size:16px;margin:0;color:#173157}
.hks-condition-hint{font-size:12px;line-height:1.45;color:#72809a;margin:0}
.hks-condition-form .field{display:grid;gap:6px;min-width:0;font-size:13px;color:#465876}
.hks-condition-form select{width:100%;min-width:0;height:var(--ui-control);border-radius:9px;border:1px solid #dbe3ef;background:#fff;color:#23395c;padding:7px 10px;font:inherit}
.hks-condition-form .fig-primary{min-height:var(--ui-control)}
@media(min-width:901px) and (max-width:1450px){.hks-kpis{gap:5px}.hks-kpis button{padding:9px 8px;min-height:70px}.hks-kpis strong{font-size:20px}.hks-kpis span{font-size:12px}}
@media(max-width:900px){.hks-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:580px){.hks-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
