dialog.qhc-profile-dialog{width:min(1100px,calc(100vw - 32px))!important;max-width:1100px!important;max-height:calc(100dvh - 32px);overflow-y:auto;overflow-x:hidden}.qhc-profile-grid,.qhc-profile-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 18px}.qhc-profile-grid>label,.qhc-profile-fields>label{display:flex!important;flex-direction:column;gap:5px;min-width:0;margin:0!important}.qhc-profile-grid input,.qhc-profile-grid select,.qhc-profile-fields input,.qhc-profile-fields select{width:100%;min-width:0;box-sizing:border-box}.qhc-profile-details,.qhc-profile-grid>.personnel-document-fields,.qhc-profile-grid>h3{grid-column:1/-1;min-width:0}.qhc-profile-grid input[type=checkbox]{width:auto!important}.qhc-profile-grid label:has(input[type=checkbox]){flex-direction:row!important;align-items:center}.qhc-profile-details h3{margin:16px 0 10px}.qhc-profile-dialog .out-form-grid,.qhc-profile-dialog .agreed-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.qhc-profile-dialog [data-new-agreed-profile]{grid-column:1/-1}.qhc-profile-dialog [data-new-agreed-profile][hidden]{display:none}.qhc-project-filters{display:grid;grid-template-columns:200px minmax(0,1fr);gap:16px;margin-bottom:16px}.qhc-project-filters label{display:flex;flex-direction:column;gap:6px;min-width:0}.qhc-project-filters select{width:100%;min-width:0}.qhc-project-payroll .table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}.qhc-project-payroll td small{display:block;max-width:260px;white-space:normal}.qhc-external-profile-note{grid-column:1/-1;margin:0;padding:10px;border-radius:8px;background:#edf5f7;overflow-wrap:anywhere}.qhc-profile-dialog .personnel-document-grid{min-width:0}.qhc-profile-dialog input[type=file]{max-width:100%;white-space:normal}.qhc-profile-dialog .qhc-date-control{min-width:0}
@media(max-width:900px){.qhc-profile-grid,.qhc-profile-fields,.qhc-profile-dialog .out-form-grid,.qhc-profile-dialog .agreed-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){dialog.qhc-profile-dialog{width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px);padding:16px}.qhc-profile-grid,.qhc-profile-fields,.qhc-profile-dialog .out-form-grid,.qhc-profile-dialog .agreed-form-grid,.qhc-project-filters{grid-template-columns:minmax(0,1fr)}.qhc-profile-dialog .personnel-document-grid{grid-template-columns:minmax(0,1fr)}.qhc-project-payroll{min-width:0}.qhc-project-payroll .panel-head button{width:100%}.qhc-profile-dialog .dialog-head h2{font-size:19px}.qhc-profile-dialog input,.qhc-profile-dialog select,.qhc-profile-dialog textarea{font-size:16px;min-width:0;max-width:100%}}

/* Version stays inside the blue navigation panel, below the scroll region. */
body>aside>.aside-bottom.qhc-version{position:static!important;inset:auto!important;display:block!important;flex:0 0 auto;width:100%!important;max-width:100%;text-align:right;margin:10px 0 0;padding:5px 0!important;background:transparent;color:#b8cbd4;line-height:1.3;border-radius:0;z-index:auto;font-size:12px}
@media(min-width:701px){body>aside{height:100dvh;min-height:0;overflow:hidden}body>aside>.brand{flex-shrink:0}body>aside>nav{flex:1 1 auto;min-height:0;overflow-y:auto}body>aside>.aside-bottom.qhc-version{margin-top:10px}}
@media(max-width:700px){body>aside>.aside-bottom.qhc-version{margin-top:8px}body>aside>nav{min-height:44px}}
.outsourced-panel{min-width:0}.outsourced-panel>.filters{align-items:end}.outsourced-panel .filters label{min-width:160px;flex:1}.outsourced-panel .filters input,.outsourced-panel .filters select{width:100%;max-width:100%}.qhc-content-shortcuts{grid-column:1/-1;display:flex;gap:6px;flex-wrap:wrap}.qhc-content-shortcuts small{flex:1 0 100%;color:#58727e}.qhc-content-shortcuts button{font-size:12px;min-height:36px}.qhc-external-matrix{margin-top:16px;min-width:0;max-width:100%}.qhc-external-matrix .table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}.outsourced-panel .qhc-external-matrix table{table-layout:auto;min-width:max-content;width:max-content}.outsourced-panel .qhc-external-matrix table th,.outsourced-panel .qhc-external-matrix table td{width:auto!important;min-width:80px;text-align:center;vertical-align:top;white-space:nowrap}.outsourced-panel .qhc-external-matrix table th:first-child,.outsourced-panel .qhc-external-matrix table td:first-child{position:sticky;left:0;z-index:1;min-width:160px;max-width:220px;white-space:normal;text-align:left;background:#fff;border-right:1px solid #d4dfe5}.outsourced-panel .qhc-external-matrix table th:first-child{background:#f6f8fa;z-index:2}.qhc-external-matrix td button{min-height:34px;margin:3px;font-size:12px}.outsourced-panel [hidden]{display:none!important}
@media(max-width:600px){.outsourced-panel .filters{display:grid;grid-template-columns:minmax(0,1fr)}.outsourced-panel .filters label{min-width:0}.qhc-content-shortcuts button{min-height:44px;flex:1 1 100%}.qhc-external-matrix td button{min-height:44px}.outsourced-panel .qhc-external-matrix table th:first-child,.outsourced-panel .qhc-external-matrix table td:first-child{min-width:120px;max-width:150px;font-size:12px}}
@media print{body>aside>.aside-bottom.qhc-version{display:none!important}}
body>aside>.aside-bottom.qhc-version small{font-size:12px}.qhc-audit-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}.qhc-audit-filters label{display:flex;flex-direction:column;gap:6px;min-width:0}.qhc-audit-filters input,.qhc-audit-filters select{width:100%;min-width:0}.qhc-audit-panel{min-width:0}.qhc-audit-panel table{table-layout:fixed;white-space:normal;min-width:780px}.qhc-audit-panel td{vertical-align:top;overflow-wrap:anywhere}.qhc-audit-panel th:first-child{width:18%}.qhc-audit-panel th:nth-child(2){width:24%}.qhc-audit-panel th:nth-child(3){width:23%}.qhc-audit-panel pre{white-space:pre-wrap;word-break:break-word;max-height:320px;overflow:auto}.qhc-audit-panel>.table-wrap{max-width:100%;overflow-x:auto}@media(max-width:850px){.qhc-audit-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.qhc-audit-filters{grid-template-columns:minmax(0,1fr)}.qhc-audit-panel .panel-head button{width:100%}}

.qhc-cell-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:4px}.qhc-cell-actions button{min-height:40px;min-width:44px;white-space:nowrap}
.qhc-range-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:12px;align-items:end;margin:16px 0}.qhc-range-filters label{min-width:0}.qhc-range-filters input{width:100%;min-width:0;box-sizing:border-box}.qhc-range-filters button{min-height:44px}@media(max-width:850px){.qhc-range-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.qhc-range-filters{grid-template-columns:minmax(0,1fr)}}

.qhc-internal-matrix .day-cell{min-width:110px;vertical-align:top}.qhc-internal-matrix .day-cell button{min-height:40px;margin-top:6px;white-space:nowrap}.qhc-internal-matrix .qhc-share-note{display:inline-block;max-width:150px;white-space:normal}

.qhc-payment-documents{min-width:0;margin:16px 0;padding:12px;border:1px solid #d6e1e8;border-radius:10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.qhc-payment-documents input{max-width:100%;box-sizing:border-box}.qhc-payment-documents p{grid-column:1/-1}@media(max-width:600px){.qhc-payment-documents{grid-template-columns:minmax(0,1fr)}}

.qhc-monthly-cash{margin:20px 0;padding:16px;border:1px solid #d6e1e8;border-radius:12px}.qhc-cash-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.qhc-cash-fields>*{min-width:0}.qhc-cash-fields input,.qhc-cash-fields select{min-width:0;width:100%;box-sizing:border-box}@media(max-width:900px){.qhc-cash-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.qhc-cash-fields{grid-template-columns:minmax(0,1fr)}.qhc-monthly-cash{padding:10px}}

.qhc-salary-note-shortcuts{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.qhc-salary-note-shortcuts button{min-height:40px;max-width:100%;white-space:normal;text-align:left}

.panel label.qhc-cash-month{display:flex;flex-direction:column;gap:6px;width:240px;max-width:100%;box-sizing:border-box;margin:12px 0}.qhc-cash-month input,.qhc-cash-month .qhc-date-control{width:100%;max-width:100%;min-width:0;box-sizing:border-box}

/* External attendance: constrain every child before choosing responsive columns. */
#outsourced-modal{width:min(1000px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;overflow-x:hidden;padding:24px}
#outsourced-modal form,#outsourced-modal fieldset,#outsourced-modal .out-form-grid,#outsourced-modal .out-form-grid>* ,#outsourced-modal #out-single,#outsourced-modal #out-percent{min-width:0;max-width:100%;box-sizing:border-box}
#outsourced-modal label{min-width:0;max-width:100%;overflow-wrap:anywhere}
#outsourced-modal input,#outsourced-modal select,#outsourced-modal textarea,#outsourced-modal .qhc-date-control,#outsourced-modal .contract-shortcut{min-width:0;max-width:100%;width:100%;box-sizing:border-box}
#outsourced-modal select{overflow:hidden;text-overflow:ellipsis}#outsourced-modal textarea{min-height:80px;resize:vertical}
#outsourced-modal .work-policy-info,#outsourced-modal .qhc-content-shortcuts,#outsourced-modal #out-profile-info{grid-column:1/-1;white-space:normal;overflow-wrap:anywhere}
#outsourced-modal .qhc-content-shortcuts{display:flex;flex-wrap:wrap;gap:8px}#outsourced-modal .qhc-content-shortcuts button{max-width:100%;white-space:normal;min-height:44px}
#outsourced-modal #out-single>label{display:grid;gap:6px}#outsourced-modal .dialog-head{gap:12px}#outsourced-modal .dialog-head h2{min-width:0;overflow-wrap:anywhere}
@media(max-width:850px){#outsourced-modal .out-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#outsourced-modal{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:16px}#outsourced-modal .out-form-grid{grid-template-columns:minmax(0,1fr)}#outsourced-modal input,#outsourced-modal select,#outsourced-modal textarea{font-size:16px;min-height:44px}#outsourced-modal .dialog-head h2{font-size:20px}}

.qhc-personnel-saved-list{list-style:none;margin:8px 0 16px;padding:0;display:grid;gap:8px}.qhc-personnel-saved-list li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:12px;border:1px solid #d6e1e8;border-radius:8px;background:#f3f8fa;min-width:0}.qhc-personnel-saved-list li>div{min-width:0;max-width:100%;overflow-wrap:anywhere}.qhc-personnel-saved-list .actions{flex-wrap:wrap}.qhc-personnel-saved-list button{min-height:44px}@media(max-width:600px){.qhc-personnel-saved-list li{display:grid;grid-template-columns:minmax(0,1fr)}.qhc-personnel-saved-list .actions{display:flex;flex-wrap:wrap}}

.qhc-document-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:10px;margin:16px 0}.qhc-document-groups button{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:48px;text-align:left;white-space:normal}.qhc-document-groups span{border-radius:12px;background:rgba(0,0,0,.08);padding:2px 8px}.qhc-document-category{display:inline-block;max-width:100%;overflow-wrap:anywhere;padding:4px 8px;border-radius:6px;background:#e8f3f4;color:#185368;font-size:12px}@media(max-width:600px){.qhc-document-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.qhc-document-groups button{font-size:13px;padding:10px;min-width:0}}
.qhc-page-reminder,.qhc-company-notice{padding:14px 18px;margin:12px 0;border-left:4px solid #226479;background:#edf5f8;border-radius:0 8px 8px 0;overflow-wrap:anywhere}.qhc-page-reminder p,.qhc-company-notice p{margin:6px 0;white-space:pre-wrap}.qhc-company-notice{border-left-color:#cf982e;background:#fff7e6}#qhc-announcement-form{display:grid;gap:14px;max-width:900px}#qhc-announcement-form label{display:grid;gap:6px;min-width:0}#qhc-announcement-form input:not([type=checkbox]),#qhc-announcement-form textarea{width:100%;box-sizing:border-box;max-width:100%}#qhc-announcement-form input[type=checkbox]{width:auto}#qhc-announcement-form button{min-height:44px}@media(max-width:600px){.qhc-page-reminder,.qhc-company-notice{padding:12px}#qhc-announcement-form textarea,#qhc-announcement-form input{font-size:16px}}

.qhc-multi-selection{grid-column:1/-1;min-width:0;margin:6px 0 12px;padding:12px;background:#eef5f8;border-radius:8px;overflow-wrap:anywhere}.qhc-multi-selection p{margin:6px 0;font-size:12px}.qhc-multi-selection ul{list-style:none;padding:0;margin:6px 0;display:grid;gap:6px}.qhc-multi-selection li{display:flex;justify-content:space-between;align-items:center;gap:10px;min-width:0}.qhc-multi-selection li span{overflow-wrap:anywhere;min-width:0}.qhc-multi-selection button{flex-shrink:0;min-height:44px}@media(max-width:600px){.qhc-multi-selection li{align-items:flex-start}.qhc-multi-selection{padding:10px}}

.overview-summary-layout{display:grid!important;grid-template-columns:repeat(3,minmax(230px,1.5fr)) repeat(2,minmax(150px,1fr));gap:14px;align-items:start;overflow-x:auto;padding-bottom:8px}.overview-summary-layout>.cards,.overview-summary-layout>.overview-queue{display:contents!important}.overview-summary-layout .card{box-sizing:border-box;min-width:0;min-height:170px;padding:20px}.overview-summary-layout .card:not([open]){height:170px}.overview-summary-layout .card strong{font-size:clamp(18px,1.7vw,27px);font-variant-numeric:tabular-nums;white-space:nowrap}.overview-summary-layout .card small{display:block;min-height:34px}.overview-summary-layout .card span{font-size:12px}.qhc-audit-tree{margin:14px 0;padding:12px;background:#f4f8fa;border:1px solid #dbe5ea;border-radius:8px}.qhc-audit-tree details{margin:8px 0 8px 14px}.qhc-audit-tree summary{cursor:pointer;font-weight:600;min-height:32px}.qhc-audit-panel pre{white-space:pre-wrap;overflow-wrap:anywhere}.qhc-audit-panel td{min-width:120px}#qhc-general-announcement{position:fixed;top:88px;right:20px;max-width:calc(100vw - 32px);z-index:180}#qhc-general-announcement .qhc-company-notice{width:440px;max-width:calc(100vw - 32px);margin:0;box-shadow:0 8px 28px #1233}.qhc-notice-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.qhc-notice-head button,.qhc-notice-reopen{min-height:44px;flex-shrink:0}.qhc-notice-body{max-height:65vh;overflow:auto}.qhc-notice-gallery{display:grid;gap:10px}.qhc-notice-gallery img{display:block;width:100%;height:auto;max-height:420px;object-fit:contain}.qhc-notice-edit-images{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}.qhc-notice-edit-images img{max-width:100%;height:110px;object-fit:contain}.qhc-notice-edit-images span{overflow-wrap:anywhere}@media(max-width:760px){.overview-summary-layout{grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.overview-summary-layout .card{padding:14px}.overview-summary-layout .card strong{font-size:20px}.overview-summary-layout>.overview-queue>.card:last-child{grid-column:1/-1}#qhc-general-announcement{top:70px;right:12px}}@media(max-width:480px){.overview-summary-layout{grid-template-columns:minmax(0,1fr)}.overview-summary-layout .card:not([open]){height:auto;min-height:145px}.qhc-audit-tree details{margin-left:8px}}
/* QHC 0.21.81: compact brand-blue notice and responsive self-clock ledger. */
#qhc-general-announcement .qhc-company-notice{width:320px;padding:10px 12px;border-left-color:#226479;background:#edf5f8;color:#173c4f;font-size:13px;border-radius:8px;box-sizing:border-box}.qhc-notice-head{gap:8px}.qhc-notice-head strong{font-size:14px;overflow-wrap:anywhere}.qhc-notice-head button,.qhc-notice-reopen{min-height:36px;padding:7px 10px;font-size:13px;background:#226479;color:white;border:1px solid #226479;border-radius:8px}.qhc-notice-body{max-height:45vh}.qhc-notice-gallery img{max-height:220px}.qhc-self-clock-statistics{min-width:0;overflow-x:auto}.qhc-self-clock-statistics td{min-width:110px;vertical-align:top}.qhc-self-clock-statistics p{overflow-wrap:anywhere}@media(max-width:600px){#qhc-general-announcement .qhc-company-notice{width:280px;max-width:calc(100vw - 24px)}.qhc-notice-head button,.qhc-notice-reopen{min-height:44px}.qhc-self-clock-statistics button{min-height:44px}}
.qhc-work-total-bar{background:#edf5f8;border:1px solid #b9d5df;border-left:4px solid #226479;border-radius:8px;padding:12px 14px;margin:10px 0}.qhc-work-total-bar>strong{display:block;margin-bottom:8px}.qhc-work-total-bar small{display:block;margin-top:6px}.qhc-work-total-bar button b{font-size:20px;margin-left:8px}.qhc-clock-report-detail>summary{cursor:pointer;color:#1d5268;font-weight:600;padding:12px;border:1px solid #c6dce5;border-radius:6px}.qhc-notice-collapsed{display:flex;gap:4px;align-items:stretch}[data-notice-drag]{touch-action:none;cursor:grab;user-select:none;min-width:36px;background:#226479;color:white;border:0;border-radius:6px}[data-notice-drag]:active{cursor:grabbing}.qhc-notice-head strong{flex:1}.qhc-notice-head{flex-wrap:wrap}.work-count{display:inline-block;min-width:24px;margin-left:6px;border-radius:12px;background:#d8edf5;color:#123e54;padding:2px 6px;text-align:center;font-weight:700}@media(max-width:650px){.qhc-work-total-bar .actions{display:grid;grid-template-columns:1fr 1fr}.qhc-work-total-bar button{min-height:48px;padding:8px;font-size:13px}[data-notice-drag]{min-width:44px;min-height:44px}}

/* Payroll navigation: one ordered hub; contextual group switches inside each screen. */
.qhc-payroll-choices{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;align-items:stretch}
.qhc-payroll-choices button,.qhc-payroll-groups button{white-space:normal;overflow-wrap:anywhere;min-width:0;min-height:44px;line-height:1.4}
.qhc-payroll-groups{display:flex;flex-wrap:wrap;gap:8px}.qhc-payroll-group h2{font-size:1.1rem;margin:0 0 10px}.qhc-help{margin:10px 0}.qhc-help summary{cursor:pointer}
@media(max-width:1100px){.qhc-payroll-choices{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:650px){.qhc-payroll-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.qhc-payroll-groups button{flex:1 1 140px}}
@media(max-width:360px){.qhc-payroll-choices{grid-template-columns:minmax(0,1fr)}}

/* 0.21.85: consistent compact workspace. Screen-only to preserve printed reports. */
@media screen{
 body main{padding:22px 26px}
 body>aside nav{gap:4px}
 body>aside nav button{padding:9px 12px;min-height:36px}
 body main .panel>p{margin:7px 0}
 body dialog p[id$="-error"]:empty{display:none}
 body main h1{margin:5px 0 12px}
 body main .panel{padding:12px 14px;margin-bottom:10px}
 body main .panel-head{margin-bottom:10px;gap:8px}
 body main .cards{gap:10px;margin-bottom:12px}
 body main .card{padding:12px 14px}
 body main .card strong{margin:6px 0 3px}
 body main .actions{gap:6px}
 body main button,body dialog button{padding:7px 11px;min-height:36px;line-height:1.35}
 body main input:not([type=hidden]):not([type=checkbox]):not([type=radio]),body main select,
 body dialog input:not([type=hidden]):not([type=checkbox]):not([type=radio]),body dialog select{padding:7px 9px;min-height:36px;max-width:100%}
 body main .filters{gap:8px 12px;margin:10px 0;align-items:end}
 body main .filters label{gap:4px;min-width:0}
 body main th,body main td{padding:8px 10px}
 body main .empty{padding:20px}
 body main .notice{padding:8px 11px;margin:8px 0;line-height:1.45}
 body main .muted{line-height:1.5}
 #message:empty{display:none}
 #message:not(:empty){min-height:0;margin:6px 0}
 #qhc-context-reminder:empty,#work-notifications:empty{display:none}
 body main .qhc-page-reminder{padding:8px 12px;margin:8px 0;line-height:1.4}
 body main .qhc-page-reminder p{margin:3px 0;line-height:1.4}
 body main .work-notice{padding:7px 12px;margin:8px 0;border-radius:8px}
 body main .work-notice>summary{line-height:1.45}
 body main .work-notice-items{gap:8px;margin:8px 0}
 body main .work-notice-items>div{padding:9px;gap:5px}
 body main .attendance-subnav{padding:9px 12px;margin-bottom:10px}
 body main .qhc-payroll-back{margin:0 0 8px}
 body main .qhc-payroll-group h2{margin-bottom:8px}
 body main .qhc-payroll-choices{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
 body main .qhc-payroll-choices button{min-height:40px}
 body main .contract-year-filter{padding:8px 12px;gap:8px 12px;align-items:center}
 body main .contract-year-filter label{gap:8px;flex:0 0 auto}
 body main .contract-year-filter select{min-width:150px}
 body main .contract-year-filter small{font-size:12px;line-height:1.4}
 body dialog{padding:18px;max-height:calc(100dvh - 24px)}
 body dialog .dialog-head{margin-bottom:10px;gap:8px}
 body dialog label{min-width:0}
 body dialog #fields label{margin-bottom:9px}
 body dialog #fields h3{margin-top:14px;padding-top:10px}
 body dialog .qhc-profile-fields,body dialog .qhc-profile-grid{gap:9px 12px}
 body dialog .upload-area{gap:8px 12px;margin:10px 0}
 body dialog #filemeta-fields label{gap:4px;margin-bottom:9px}
 body main .qhc-clock-meta,body main .qhc-clock-metrics{display:flex;flex-wrap:wrap;gap:6px 18px;margin:6px 0;font-size:13px;line-height:1.5}
 body main .qhc-clock-metrics>span{display:flex;align-items:baseline;gap:6px}
 body main .qhc-clock-report-detail{margin-top:8px}
 body main .qhc-clock-report-detail>summary{padding:6px 9px;cursor:pointer;font-size:13px}
 body main .qhc-self-clock-statistics .panel-head{margin-bottom:5px}
 body main .qhc-self-clock-statistics h2{font-size:16px}
 body main .qhc-clock-report-detail .table-wrap{margin-top:8px}
}
@media screen and (max-width:1050px){body main{padding:18px}}
@media screen and (max-width:700px){
 body main{padding:12px 10px}
 body>aside nav button{min-height:44px}
 body main .panel{padding:11px 12px;margin-bottom:9px}
 body main button,body dialog button{min-height:44px}
 body main input:not([type=hidden]):not([type=checkbox]):not([type=radio]),body main select,
 body dialog input:not([type=hidden]):not([type=checkbox]):not([type=radio]),body dialog select{min-height:44px;font-size:16px}
 body main .filters{gap:8px;margin:9px 0}
 body main .filters label{flex:1 1 145px}
 body main .filters input,body main .filters select{width:100%;max-width:100%}
 body main .qhc-payroll-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
 body main .qhc-clock-meta{gap:4px 12px;font-size:12px}
 body main .qhc-clock-metrics{gap:4px 12px}
 body main .contract-year-filter label{flex:1 1 100%;justify-content:space-between}
 body main .contract-year-filter small{flex:1 1 100%;min-width:0}
 body dialog{padding:14px;max-width:calc(100vw - 16px)}
}
@media screen and (max-width:360px){body main .qhc-payroll-choices{grid-template-columns:minmax(0,1fr)}}

/* Attendance matrices: intrinsic header/row heights, independent from page scroll restoration. */
@media screen{
 body main .qhc-internal-matrix table,body main .qhc-external-matrix table,body main .agreed-panel table{height:auto!important;min-height:0!important}
 body main .qhc-internal-matrix thead,body main .qhc-external-matrix thead,body main .agreed-panel thead{display:table-header-group;height:auto!important;min-height:0!important}
 body main .qhc-internal-matrix tr,body main .qhc-external-matrix tr,body main .agreed-panel tr{height:auto!important;min-height:0!important}
 body main .qhc-internal-matrix th,body main .qhc-external-matrix th,body main .agreed-panel th{height:auto!important;min-height:0!important;padding:7px 9px;line-height:1.35;vertical-align:top}
 body main .qhc-internal-matrix table{width:max-content;min-width:100%;table-layout:auto}
 body main .qhc-internal-matrix th{white-space:nowrap;overflow-wrap:normal;word-break:normal}
 body main .qhc-internal-matrix td{vertical-align:top;padding:8px 9px}
 body main .qhc-attendance-project-totals{display:flex;flex-wrap:wrap;gap:6px 16px;padding:8px 10px;margin:6px 0 10px;background:#edf5f8;border-radius:7px;font-size:13px}
}
/* 0.21.87 scoped allocation editor and attendance review only. */
.qhc-allocation-toolbar{display:grid;grid-template-columns:minmax(0,2fr) minmax(120px,1fr);gap:10px}
.qhc-allocation-toolbar label{min-width:0}.qhc-allocation-toolbar select{width:100%}
.qhc-allocation-line{display:flex!important;align-items:center;gap:8px;margin:5px 0!important;padding:5px 0;border-bottom:1px solid #edf1f3}
.qhc-allocation-line>span{flex:1;min-width:0;overflow-wrap:anywhere}
#fields .qhc-allocation-line input,.qhc-allocation-line input{width:90px!important;flex:0 0 90px;margin:0!important}
.qhc-allocation-editor details{max-height:280px;overflow:auto}.qhc-allocation-editor summary{cursor:pointer}
.qhc-attendance-quick{margin-top:8px}
.qhc-queue-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:8px}
.qhc-queue-toolbar label{display:grid;gap:3px;font-size:12px;min-width:0}.qhc-queue-toolbar input,.qhc-queue-toolbar select{max-width:200px}
.qhc-work-queue .qhc-queue-table{table-layout:fixed;min-width:850px;width:100%}
.qhc-work-queue .qhc-queue-table th:nth-child(1){width:110px}.qhc-work-queue .qhc-queue-table th:nth-child(2){width:210px}
.qhc-work-queue .qhc-queue-table th:nth-child(3){width:190px}.qhc-work-queue .qhc-queue-table th:nth-child(5){width:165px}
.qhc-work-queue .qhc-queue-table th{white-space:nowrap;word-break:normal;overflow-wrap:normal}
.qhc-work-queue .qhc-queue-table td{vertical-align:top;overflow-wrap:break-word;word-break:normal}
.qhc-work-queue .qhc-queue-table td:first-child,.qhc-queue-actions button{white-space:nowrap}
.qhc-queue-table td small{display:block;margin-top:3px;font-size:12px;color:#607985}.qhc-queue-table details{margin-top:5px}.qhc-queue-table summary{cursor:pointer;color:#226479}
.qhc-queue-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.qhc-queue-actions small{flex:1 1 100%}
.qhc-queue-error{color:#ad3434;white-space:normal}.qhc-queue-error:empty{display:none}
@media(max-width:650px){
 .qhc-allocation-toolbar{grid-template-columns:minmax(0,1fr)}
 .qhc-queue-toolbar>label{flex:1 1 140px}.qhc-queue-toolbar input,.qhc-queue-toolbar select{max-width:100%;width:100%}
 .qhc-work-queue .qhc-queue-table,.qhc-work-queue .qhc-queue-table tbody{display:block;min-width:0;width:100%}
 .qhc-work-queue .qhc-queue-table thead{display:none}
 .qhc-work-queue .qhc-queue-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid #dbe5eb;border-radius:9px;margin:8px 0;padding:8px}
 .qhc-work-queue .qhc-queue-table td{display:block;width:auto!important;border:0;padding:5px!important;white-space:normal;min-width:0}
 .qhc-work-queue .qhc-queue-table td::before{content:attr(data-label);display:block;font-size:11px;font-weight:400;color:#718492;margin-bottom:3px}
 .qhc-work-queue .qhc-queue-table td:nth-child(5){grid-column:1/-1;border-top:1px solid #edf1f3;padding-top:8px!important}
 .qhc-queue-actions button{flex:1;min-height:44px}
}
