/* Housekeeping 3.7.3 — Work Norms: Pasha24 laptop-first MAIN/RIGHT */
.hktpl-page{min-height:0;overflow:hidden;display:flex;flex-direction:column;height:var(--ui-workspace-height)}
.hktpl-page .hk-shell-head{flex:0 0 auto;gap:14px;align-items:center;justify-content:space-between}
.hktpl-page .hk-shell-head p{font-size:13px;line-height:1.35;color:#728198;margin:4px 0 0}
.hktpl-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;flex:0 0 auto;margin-bottom:10px}
.hktpl-kpis .g-card{min-width:0;min-height:68px;padding:9px 12px;text-align:left;cursor:pointer}
.hktpl-kpis strong{display:block;font-size:23px;line-height:1.1;color:#15284a}
.hktpl-kpis span{display:block;margin-top:5px;font-size:13px;color:#697891;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hktpl-kpis .selected{border-color:#2366eb;background:#f0f5ff}
.hktpl-workspace{display:grid;grid-template-columns:var(--operations-master-track) var(--operations-detail-track);gap:var(--operations-master-detail-gap);min-width:0;min-height:0;flex:1 1 auto;overflow:hidden}
.hktpl-main,.hktpl-detail{min-width:0;min-height:0;height:100%}
.hktpl-main{padding:14px;display:flex;flex-direction:column;overflow:hidden}
.hktpl-detail{padding:16px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.hktpl-detail h2{font-size:20px;margin:5px 0 16px;overflow-wrap:anywhere}
.hktpl-detail>small{color:#77849a}
.hktpl-filters{display:flex;gap:8px;margin-bottom:8px}
.hktpl-filters input{width:100%;min-width:0;min-height:var(--ui-control);border:1px solid #dbe1ec;border-radius:9px;padding:8px 11px;font:inherit}
.hktpl-count{font-size:12px;color:#748096;margin:0 0 8px}
.hktpl-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.hktpl-table{min-width:660px}
.hktpl-table thead{position:sticky;top:0;z-index:2}
.hktpl-table tr[data-hktpl-id]{cursor:pointer}
.hktpl-table tr.selected{background:#edf4ff;box-shadow:inset 3px 0 #0f47f1}
.hktpl-status{display:inline-flex;border-radius:30px;padding:4px 9px;font-size:12px;font-weight:600}
.hktpl-status.on{background:#e4f6ec;color:#16734c}.hktpl-status.off{background:#f0f1f4;color:#748096}
.hktpl-detail .field{display:grid;gap:6px;margin:0 0 12px;font-size:14px;min-width:0}
.hktpl-detail .field input,.hktpl-detail .field select,.hktpl-detail .field textarea{min-width:0;width:100%;min-height:var(--ui-control);border:1px solid #dee0ec;border-radius:9px;background:#fff;color:#2a3851;padding:8px 10px;font:inherit}
.hktpl-detail .field textarea{min-height:72px;resize:vertical}
.hktpl-detail .g-definition{margin:12px 0}
.hktpl-double{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hktpl-checkbox{display:flex;align-items:center;gap:10px;font-size:14px;margin:12px 0}
.hktpl-checkbox input{width:16px;height:16px;accent-color:#0f47f1}
.hktpl-hint{font-size:12px;line-height:1.45;color:#71809b;margin:8px 0 12px}
.hktpl-detail .g-actions{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 0}
.hktpl-detail .g-actions button{flex:1 1 115px;min-height:var(--ui-control)}
.hktpl-task-preview{margin:-4px 0 12px;color:#71809b;background:#f5f8fe;border-radius:9px;padding:8px 10px;line-height:1.45}
.hktpl-task-detail{border-top:1px solid #e3e9f3;margin:15px 0;padding-top:12px}
.hktpl-task-detail h3{font-size:17px}
.hktpl-task-select{margin-bottom:7px!important}
@media(max-width:1050px){.hktpl-table{min-width:580px}}
@media(max-width:900px){
 .hktpl-page{height:auto;overflow:visible}
 .hktpl-workspace{grid-template-columns:minmax(0,1fr);overflow:visible}
 .hktpl-main,.hktpl-detail{height:auto;min-height:240px}
 .hktpl-scroll{max-height:500px}
}
@media(max-width:600px){
 .hktpl-page .hk-shell-head{flex-wrap:wrap;align-items:start}
 .hktpl-page .hk-shell-head button{width:100%}
 .hktpl-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
 .hktpl-kpis .g-card{padding:8px}
 .hktpl-kpis span{font-size:11px}
 .hktpl-double{grid-template-columns:1fr}
}
