/* Housekeeping TASK 3.7.4: schedules MAIN/RIGHT in existing Pasha24 grid. */
.hkr-page{min-height:0;height:var(--ui-workspace-height);overflow:hidden;display:flex;flex-direction:column}
.hkr-page .hk-shell-head{align-items:center;justify-content:space-between;gap:12px}
.hkr-page .hk-shell-head p{margin:4px 0 0;font-size:13px;color:#71809b;line-height:1.3}
.hkr-head-actions{display:flex;gap:8px;flex:0 0 auto;flex-wrap:wrap;align-items:center}
.hkr-head-actions button{min-height:var(--ui-control)}
.hkr-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0 0 10px;flex:0 0 auto}
.hkr-kpis .g-card{padding:9px 12px;min-height:67px;text-align:left;cursor:pointer;min-width:0}
.hkr-kpis strong{display:block;font-size:23px;color:#13274a;line-height:1.1}
.hkr-kpis span{display:block;font-size:13px;color:#71809b;margin-top:5px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.hkr-kpis .selected{border-color:#0f47f1;background:#f0f5ff}
.hkr-workspace{display:grid;grid-template-columns:var(--operations-master-track) var(--operations-detail-track);gap:var(--operations-master-detail-gap);flex:1 1 auto;min-width:0;min-height:0;overflow:hidden}
.hkr-main,.hkr-detail{min-width:0;min-height:0;height:100%}
.hkr-main{padding:14px;display:flex;flex-direction:column;overflow:hidden}
.hkr-detail{padding:16px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.hkr-detail h2{font-size:20px;line-height:1.3;margin:5px 0 14px;overflow-wrap:anywhere}
.hkr-detail>small{color:#72829e}
.hkr-detail .field{display:grid;min-width:0;gap:6px;margin:0 0 12px;font-size:14px}
.hkr-detail .field input:not([type=checkbox]),.hkr-detail .field select{width:100%;min-width:0;min-height:var(--ui-control);padding:8px 10px;border:1px solid #dee0ec;border-radius:9px;background:#fff;color:#30435f;font:inherit}
.hkr-detail .g-actions{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0 0}
.hkr-detail .g-actions button{min-height:var(--ui-control);flex:1 1 120px}
.hkr-detail .g-definition{margin-top:14px}
.hkr-checkbox{display:flex;align-items:center;gap:10px;margin:13px 0;font-size:14px}
.hkr-checkbox input{height:16px;width:16px;accent-color:#0f47f1}
.hkr-filters{display:flex;margin-bottom:9px}.hkr-filters input{width:100%;min-width:0;min-height:var(--ui-control);border:1px solid #dde2ec;border-radius:9px;padding:9px;font:inherit}
.hkr-meta,.hkr-note{font-size:12px;color:#778399;line-height:1.4}.hkr-meta{margin:0 0 7px}.hkr-note{margin:9px 0 0;flex:0 0 auto}
.hkr-scroll{min-width:0;min-height:0;flex:1 1 auto;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.hkr-table{min-width:640px}.hkr-table thead{position:sticky;top:0;z-index:2}
.hkr-table [data-hkr-id]{cursor:pointer}.hkr-table tr.selected{background:#eff5ff;box-shadow:inset 3px 0 #0f47f1}
.hkr-badge{display:inline-block;font-size:12px;font-weight:600;border-radius:15px;padding:4px 9px}
.hkr-badge.on{color:#15784e;background:#e3f5eb}.hkr-badge.off{color:#6e7b8e;background:#edf0f4}
@media(max-width:1050px){.hkr-table{min-width:570px}.hkr-page .hk-shell-head{align-items:flex-start}}
@media(max-width:900px){.hkr-page{height:auto;overflow:visible}.hkr-workspace{grid-template-columns:1fr;overflow:visible}.hkr-main,.hkr-detail{min-height:280px;height:auto}.hkr-scroll{max-height:460px}}
@media(max-width:600px){.hkr-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hkr-page .hk-shell-head{flex-wrap:wrap}.hkr-head-actions{width:100%}.hkr-head-actions button{flex:1 1 100%}}
