#tk-hours{--th-ink:var(--p-primario, #20363b);--th-muted:var(--p-testo-2, #5c7074);--th-teal:var(--p-primario-2, #157276);--th-line:var(--p-bordo, #dce5e3);--th-paper:#fff;color:var(--th-ink);font:14px/1.45 system-ui,sans-serif;min-width:0;padding-bottom:100px}
#tk-hours *{box-sizing:border-box}
#tk-hours h2{font-size:24px;letter-spacing:-.5px;margin:0}
#tk-hours h3{font-size:17px;margin:0 0 8px}
#tk-hours h4{font-size:14px;margin:18px 0 8px}
#tk-hours p{margin:6px 0 15px}
#tk-hours small{display:block;color:var(--th-muted);font-size:12px;white-space:normal}
#tk-hours .th-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:14px 0}
#tk-hours .th-heading p,#tk-hours .th-muted{color:var(--th-muted);font-size:13px}
#tk-hours .th-btn{display:inline-flex;align-items:center;justify-content:center;font:inherit;color:var(--th-ink);border:1px solid var(--th-line);background:var(--th-paper);border-radius:7px;padding:8px 12px;min-height:36px;cursor:pointer;max-width:100%;white-space:normal;text-align:center;gap:5px}
#tk-hours .th-btn:disabled{opacity:.5;cursor:default}
#tk-hours .th-primary,#tk-hours .th-btn[aria-pressed="true"]{background:var(--th-teal);color:#fff;border-color:var(--th-teal)}
#tk-hours .th-tabs,#tk-hours .th-actions,#tk-hours .th-tools,#tk-hours .th-grid-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0}
#tk-hours .th-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;background:var(--th-paper);border:1px solid var(--th-line);border-radius:9px;padding:14px}
#tk-hours label{display:block;min-width:0;font-size:13px;color:var(--th-muted)}
#tk-hours select,#tk-hours input:not([type="checkbox"]),#tk-hours textarea{font:inherit;color:var(--th-ink);background:var(--th-paper);border:1px solid var(--th-line);border-radius:6px;padding:8px;width:100%;min-width:0;max-width:100%;margin-top:5px}
#tk-hours select{white-space:nowrap;text-overflow:ellipsis}
#tk-hours textarea{resize:vertical}
#tk-hours .th-week-label{max-width:290px}
#tk-hours .th-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:16px 0}
#tk-hours .th-metrics>div{background:var(--th-paper);border:1px solid var(--th-line);border-radius:8px;padding:12px;min-width:0}
#tk-hours .th-metrics b{display:block;font-size:22px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;margin:4px 0}
#tk-hours .th-metrics span{font-size:12px;color:var(--th-muted);display:block}
#tk-hours .th-scroll{overflow-x:auto;width:100%;max-width:100%;border:1px solid var(--th-line);border-radius:9px;background:var(--th-paper)}
#tk-hours table{border-collapse:separate;border-spacing:0;width:100%;font-size:13px;font-variant-numeric:tabular-nums}
#tk-hours td,#tk-hours th{padding:10px;border-bottom:1px solid var(--th-line);text-align:left;vertical-align:top;overflow-wrap:anywhere;white-space:normal}
#tk-hours th{font-weight:600;background:var(--p-tinta, #edf2f0);color:#496367}
#tk-hours tr:last-child td{border-bottom:0}
#tk-hours .th-grid{table-layout:fixed;width:max-content;min-width:100%}
#tk-hours .th-grid td,#tk-hours .th-grid th:not(.th-person){width:116px;min-width:116px;text-align:center;border-right:1px solid var(--p-tinta, #e8eeec)}
#tk-hours .th-grid .th-person{position:sticky;left:0;z-index:2;width:215px;min-width:215px;max-width:215px;background:var(--th-paper);overflow-wrap:anywhere;text-align:left}
#tk-hours .th-grid thead .th-person{z-index:3;background:var(--p-tinta, #edf2f0)}
#tk-hours .th-person>b,#tk-hours .th-edit td>span{display:block;font-weight:500}
#tk-hours .th-person>span{font-size:12px;color:var(--th-muted)}
#tk-hours .th-group th{position:static;background:var(--p-tinta, #e7f1ee);text-align:left!important}
#tk-hours .th-slot{border-radius:6px;padding:5px;margin-bottom:6px;min-width:0}
#tk-hours .th-slot>.th-btn{display:flex;font-size:17px;font-weight:600;width:100%;padding:5px;background:transparent;border:0}
#tk-hours .th-slot>span{display:block;font-size:11px}
#tk-hours .th-slot small{font-size:11px}
#tk-hours .th-pick{display:flex;align-items:center;gap:5px;justify-content:center;margin-top:5px;font-size:11px}
#tk-hours .th-pick input{margin:0}
#tk-hours .th-green{background:var(--p-ok-tenue, #e2f3e8)}
#tk-hours .th-red{background:var(--p-err-tenue, #fbe8e8)}
#tk-hours .th-blue{background:var(--p-info-tenue, #e3f0fa)}
#tk-hours .th-orange{background:var(--p-att-tenue, #fff0dc)}
#tk-hours .th-gray{background:var(--p-tinta, #edf0ef)}
#tk-hours .th-legend{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0;font-size:12px}
#tk-hours .th-legend span{padding:5px 8px;border-radius:5px}
#tk-hours .th-panel{padding:16px;background:var(--th-paper);border:1px solid var(--th-line);border-radius:9px;margin:16px 0}
#tk-hours .th-panel[hidden],#tk-hours [hidden]{display:none!important}
#tk-hours .th-edit{table-layout:fixed;min-width:850px}
#tk-hours .th-edit th:nth-child(1){width:180px}
#tk-hours .th-edit th:nth-child(2){width:140px}
#tk-hours .th-edit th:nth-child(3){width:170px}
#tk-hours .th-edit th:nth-child(5){width:120px}
#tk-hours .th-edit .th-btn{margin-bottom:7px}
#tk-hours .th-bulk{display:grid;grid-template-columns:minmax(150px,1fr) minmax(200px,2fr) auto;gap:12px;align-items:end;margin-bottom:15px}
#tk-hours .th-list{min-width:650px}
#tk-hours .th-list td:nth-child(2){max-width:280px;overflow-wrap:anywhere}
#tk-hours .th-message{background:var(--p-tinta, #e6f3f0);border-radius:7px;padding:12px;overflow-wrap:anywhere}
#tk-hours .th-empty{padding:25px}
@media(max-width:1000px){#tk-hours .th-filters{grid-template-columns:repeat(2,minmax(0,1fr))}#tk-hours .th-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){#tk-hours .th-filters,#tk-hours .th-bulk{grid-template-columns:1fr}#tk-hours .th-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}#tk-hours .th-grid .th-person{width:165px;min-width:165px;max-width:165px}#tk-hours .th-btn{min-height:42px}#tk-hours .th-week-label{max-width:100%}}

#tk-hours .th-grid-inline .th-person{width:180px;min-width:180px;max-width:180px}
#tk-hours .th-grid-inline td,#tk-hours .th-grid-inline th:not(.th-person){width:150px;min-width:150px}
#tk-hours .th-grid-inline td{padding:6px}
#tk-hours .th-inline-slot{padding:7px;text-align:left}
#tk-hours .th-hourline{display:flex;justify-content:space-between;gap:4px;font-size:11px;margin-bottom:6px;flex-wrap:wrap}
#tk-hours .th-hourline b{font-size:12px}
#tk-hours .th-inline-slot select,#tk-hours .th-inline-slot input:not([type="checkbox"]),#tk-hours .th-inline-slot textarea{padding:5px;font-size:12px;min-height:30px;margin:4px 0}
#tk-hours .th-inline-slot label,#tk-hours .th-inline-slot small{font-size:11px}
#tk-hours .th-inline-slot textarea{min-height:35px}
#tk-hours .th-inline-slot .th-btn{font-size:11px;min-height:29px;padding:4px 6px;font-weight:500}
#tk-hours .th-inline-times{display:grid;grid-template-columns:1fr;gap:4px}
#tk-hours .th-inline-actions{display:flex;justify-content:space-between;gap:4px;flex-wrap:wrap;margin:4px 0}
#tk-hours .th-inline-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:12px;border:1px solid var(--th-line);border-radius:9px;background:#fff;margin:10px 0}
#tk-hours .th-inline-toolbar .th-bulk{width:100%;margin:8px 0 0}
#tk-hours .th-inline-slot details summary{cursor:pointer;font-size:11px;margin:5px 0;list-style:revert}
#tk-hours .th-inline-slot [data-plan-status],#tk-hours .th-inline-slot [data-save-status]{font-size:10px;overflow-wrap:anywhere}
#tk-hours .th-inline-slot:focus-within{outline:2px solid var(--p-primario-2, #157276);outline-offset:1px}
#tk-hours .th-grid-inline .th-total{background:var(--p-fondo, #f5f8f6)}

#tk-hours .th-sheet td,#tk-hours .th-sheet th{padding:5px 6px;vertical-align:middle}
#tk-hours .th-sheet .th-group th{width:auto!important;min-width:0!important;text-align:left}
#tk-hours .th-group-name{display:block;position:sticky;left:6px;width:max-content;max-width:350px;white-space:normal}
#tk-hours .th-sheet-entry{padding:4px 5px;border-radius:3px;min-height:24px;text-align:center;margin:2px 0}
#tk-hours .th-sheet-entry small{font-size:10px;line-height:1.2}
#tk-hours .th-sheet-entry select,#tk-hours .th-sheet-entry input:not([type="checkbox"]),#tk-hours .th-sheet-entry textarea{padding:4px;font-size:12px;min-height:27px;margin:1px 0;width:100%}
#tk-hours .th-sheet-entry textarea{min-height:30px}
#tk-hours .th-sheet-entry .th-btn{font-size:11px;min-height:27px;padding:3px 5px}
#tk-hours .th-sheet-entry details{font-size:10px;text-align:left}
#tk-hours .th-sheet-entry details summary{cursor:pointer;list-style:revert}
#tk-hours .th-sheet-entry .th-inline-actions{margin:0;justify-content:center}
#tk-hours .th-sheet-entry:focus-within{outline:2px solid var(--p-primario-2, #157276);outline-offset:0}
#tk-hours .th-sheet .th-person{font-size:12px;font-weight:500}
#tk-hours .th-sheet .th-turn-label{border-bottom:1px solid var(--p-bordo, #dce5e3);margin-bottom:3px;padding-bottom:3px}

#tk-hours .th-sheet td,#tk-hours .th-sheet th{padding:5px 6px!important}
#tk-hours .th-sheet th{text-transform:none!important;letter-spacing:normal!important}

#tk-hours .th-scroll:has(.th-sheet){max-height:75vh;overflow:auto}
#tk-hours .th-sheet thead th{position:sticky;top:0;z-index:3;background:var(--p-tinta, #edf2f0)}
#tk-hours .th-sheet thead .th-person{z-index:4}
#tk-hours .th-plan-comparison{color:var(--p-attenzione, #9a610d);font-weight:600;margin-top:3px}
#tk-hours .th-plan-comparison:empty,#tk-hours .th-validation-actions:empty{display:none}
#tk-hours .th-source-time{white-space:nowrap}
#tk-hours .th-validation-actions{display:flex;justify-content:center;gap:4px;flex-wrap:wrap;margin-top:5px}
#tk-hours .th-validation-block{margin-top:4px}

#tk-hours .th-census{table-layout:auto;min-width:100%;width:max-content}
#tk-hours .th-census td,#tk-hours .th-census th:not(.th-person){min-width:116px;width:116px;padding:4px;vertical-align:top}
#tk-hours .th-census .th-person{min-width:165px;width:165px;max-width:165px}
#tk-hours .th-census-month td,#tk-hours .th-census-month th:not(.th-person){min-width:56px;width:56px}
#tk-hours .th-census .th-group th{width:auto!important;text-align:left}
#tk-hours .th-census th{text-transform:none!important;letter-spacing:normal!important}
#tk-hours .th-census-slot{padding:3px;min-width:0;border-radius:4px;margin:2px 0}
#tk-hours .th-census-slot>.th-btn{border:0;background:transparent;padding:2px;width:100%;min-height:30px}
#tk-hours .th-census-slot>.th-btn b{font-size:14px}
#tk-hours .th-census-slot small{font-size:10px;line-height:1.3;overflow-wrap:normal}
#tk-hours .th-census-compare{font-variant-numeric:tabular-nums;white-space:nowrap}
#tk-hours .th-has-rectification{box-shadow:inset 0 0 0 1px #c48a20}
#tk-hours .th-rectification{color:var(--p-attenzione, #975d07)}
#tk-hours .th-cell-editor{width:215px;padding:8px;margin:6px 0 0;background:white;border:2px solid var(--p-primario-2, #157276);border-radius:6px;text-align:left}
#tk-hours .th-cell-editor label{font-size:11px}
#tk-hours .th-cell-editor input,#tk-hours .th-cell-editor select,#tk-hours .th-cell-editor textarea{font-size:12px;margin-top:2px;padding:5px}
#tk-hours .th-cell-times{display:grid;grid-template-columns:1fr 1fr;gap:6px}
#tk-hours .th-cell-editor .th-btn{font-size:11px;padding:4px;min-height:30px}
#tk-hours .th-census-causes td{font-size:10px;color:#806420;white-space:normal;max-width:100px}
#tk-hours .th-absence-cell{display:block;padding:5px;font-size:11px}
#tk-hours .th-scroll:has(.th-census){max-height:75vh;overflow:auto}
#tk-hours .th-census thead th{position:sticky;top:0;z-index:3}
#tk-hours .th-census thead .th-person{z-index:4}

/* Griglia mensile: intestazioni ferme e colonne con larghezza esplicita. */
#tk-hours .th-nexus{--th-identity-width:180px;--th-kind-width:82px;table-layout:fixed;min-width:100%;width:calc(var(--th-identity-width) + var(--th-kind-width) + var(--th-days-width) + 100px)}
#tk-hours .th-nexus .th-col-identity{width:var(--th-identity-width)}
#tk-hours .th-nexus .th-col-kind{width:var(--th-kind-width)}
#tk-hours .th-nexus .th-col-total{width:100px}
#tk-hours .th-nexus td,#tk-hours .th-nexus th:not(.th-person){width:auto;min-width:0;padding:5px 4px}
#tk-hours .th-nexus .th-identity{position:sticky;left:0;z-index:2;width:var(--th-identity-width);max-width:var(--th-identity-width);background:var(--th-paper);text-align:left;white-space:normal;overflow-wrap:anywhere;padding:12px}
#tk-hours .th-nexus .th-kind{position:sticky;left:var(--th-identity-width);z-index:2;width:var(--th-kind-width);min-width:0;max-width:var(--th-kind-width);background:var(--p-fondo, #f4f7f5);text-align:left;white-space:normal;font-size:11px;padding:8px}
#tk-hours .th-nexus thead .th-identity,#tk-hours .th-nexus thead .th-kind{z-index:5;background:var(--p-tinta, #edf2f0)}
#tk-hours .th-nexus .th-identity b{display:block;font-size:13px;line-height:1.35;margin:6px 0}
#tk-hours .th-nexus .th-identity small{font-size:11px;line-height:1.35}
#tk-hours .th-code{display:inline-block;color:var(--th-teal);font-size:11px;font-weight:700;padding:3px 5px;background:var(--p-tinta, #e7f1ee);border-radius:4px;max-width:100%;overflow-wrap:anywhere}
#tk-hours .th-type-code{display:block;font-weight:700;font-size:13px;color:var(--th-ink);margin-bottom:3px}
#tk-hours .th-weekday,#tk-hours .th-day-number{display:block}
#tk-hours .th-weekday{font-size:10px;color:var(--th-muted)}
#tk-hours .th-day-number{font-size:15px;margin-top:3px}
#tk-hours .th-nexus .th-weekend{background:var(--p-fondo, #f4f6f5)}
#tk-hours .th-nexus .th-total{background:var(--p-tinta, #edf4f1);font-size:11px;overflow-wrap:anywhere}
#tk-hours .th-nexus .th-total small{font-size:10px;line-height:1.5}
#tk-hours .th-nexus .th-census-slot{margin:0;padding:3px 1px}
#tk-hours .th-nexus .th-census-slot small{font-size:10px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
#tk-hours .th-nexus .th-census-compare{white-space:normal}
#tk-hours .th-nexus .th-census-slot>.th-btn{padding:2px 0;min-height:28px}
#tk-hours .th-nexus .th-census-slot>.th-btn b{font-size:12px;white-space:nowrap}
#tk-hours .th-nexus .th-cell-editor{width:100%;min-width:0;margin:6px 0 0;background:white}
#tk-hours .th-nexus .th-no-shift{color:#9aaba8}
#tk-hours .th-nexus .th-absence-cell b{display:block;white-space:nowrap}
#tk-hours .th-nexus .th-census-causes td{max-width:none;min-height:28px;overflow-wrap:anywhere;font-size:10px}
#tk-hours .th-nexus .th-daily-total th,#tk-hours .th-nexus .th-daily-total td{background:var(--p-tinta, #edf4f1);font-weight:600;font-size:11px;border-top:1px solid var(--th-line);padding:10px 4px}
#tk-hours .th-nexus .th-daily-total .th-identity{padding-left:12px}
@media(max-width:640px){#tk-hours .th-nexus{--th-identity-width:140px;--th-kind-width:70px}#tk-hours .th-nexus .th-identity{padding:8px}#tk-hours .th-nexus .th-kind{padding:6px;font-size:10px}#tk-hours .th-nexus .th-identity b{font-size:12px}#tk-hours .th-nexus .th-identity small{font-size:10px}}

#tk-hours .th-grid.th-nexus .th-identity{text-align:left}

#tk-hours.th-week-embedded{padding-bottom:16px;margin:18px 0}
#tk-hours .th-week-toolbar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;background:#fff;border:1px solid var(--th-line);border-radius:9px;padding:16px}
#tk-hours .th-week-toolbar>div:first-child{flex:1 1 280px;min-width:0}
#tk-hours .th-week-toolbar p{margin-bottom:0}
#tk-hours .th-week-toolbar>label{flex:0 1 260px;max-width:100%;min-width:180px}
#tk-hours .th-week-toolbar .th-actions{margin:0}
#tk-hours.th-week-embedded .th-grid-tools{align-items:flex-start}
#tk-hours.th-week-embedded .th-grid-tools p{flex:1 1 350px;margin:0}
#tk-hours.th-week-embedded .th-message p{margin:6px 0 10px}
.opweek-loading{margin:16px 0;padding:20px;border:1px solid var(--p-bordo, #dce5e3);border-radius:9px;background:#fff}
@media(max-width:640px){#tk-hours .th-week-toolbar{padding:12px}#tk-hours .th-week-toolbar>label{flex:1 1 100%}}

#tk-hours.th-week-embedded .th-nexus{--th-identity-width:160px;--th-kind-width:70px}
#tk-hours .th-nexus td{vertical-align:top!important}
#tk-hours .th-nexus .th-cell-editor{scroll-margin-left:240px;scroll-margin-right:12px}

#tk-hours .th-nexus td{padding:5px 4px!important}

#tk-hours .th-nexus .th-kind{font-size:11px!important;padding:6px!important}
#tk-hours .th-nexus.th-small-editor .th-identity,#tk-hours .th-nexus.th-small-editor .th-kind{position:static}

/* Settimana del cantiere: una riga per addetto, un solo dettaglio aperto. */
#tk-hours .th-week-grid-tools{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:10px 0}
#tk-hours .th-week-grid-tools p{flex:1 1 340px;margin:0}
#tk-hours .th-week-note{font-size:12px;color:var(--th-muted);margin:8px 0}
#tk-hours .th-week-scroll{overflow:auto;max-width:100%;max-height:65vh;border:1px solid var(--th-line);border-radius:9px;background:#fff}
#tk-hours .th-compact-week{width:calc(284px + var(--th-week-days-width));min-width:100%;table-layout:fixed}
#tk-hours .th-compact-week th,#tk-hours .th-compact-week td{padding:5px 4px!important;vertical-align:top!important;font-size:12px;text-transform:none!important;letter-spacing:normal!important;white-space:normal!important;border-right:1px solid var(--p-tinta, #e8eeec)}
#tk-hours .th-compact-week th{background:var(--p-tinta, #edf2f0)}
#tk-hours .th-compact-week thead th{position:sticky;top:0;z-index:3;text-align:center}
#tk-hours .th-compact-week .th-week-person{position:sticky;left:0;z-index:2;width:172px;max-width:172px;background:white;text-align:left;padding:8px!important;overflow-wrap:anywhere}
#tk-hours .th-compact-week thead .th-week-person{z-index:5;background:var(--p-tinta, #edf2f0)}
#tk-hours .th-week-person>.th-btn{border:0;padding:0;background:transparent;min-height:0;display:block;text-align:left;font-size:12px;font-weight:650;line-height:1.3;overflow-wrap:anywhere;margin:4px 0 0}
#tk-hours .th-week-person>.th-btn:hover{text-decoration:underline;color:var(--th-teal)}
#tk-hours .th-week-person .th-code{font-size:10px;padding:1px 4px}
#tk-hours .th-week-day{display:block;width:100%;min-height:54px;border:0;border-radius:4px;padding:5px 3px;font:inherit;font-variant-numeric:tabular-nums;color:var(--th-ink);text-align:center;cursor:pointer}
#tk-hours .th-week-day b{display:block;font-size:12px;white-space:nowrap}
#tk-hours .th-week-day small{font-size:10px;line-height:1.35}
#tk-hours .th-week-day:hover{box-shadow:inset 0 0 0 1px var(--th-teal)}
#tk-hours .th-week-day[aria-current="true"]{box-shadow:inset 0 0 0 2px var(--th-teal)}
#tk-hours .th-week-badges{display:block;font-size:9px;line-height:1.25;margin-top:3px}
#tk-hours .th-week-kind,#tk-hours .th-week-corrected{display:inline-block;padding:1px 2px;border-radius:3px;margin:1px;overflow-wrap:anywhere}
#tk-hours .th-week-corrected{background:var(--p-att-tenue, #fff0dc);color:var(--p-attenzione, #8e5808)}
#tk-hours .th-compact-week .th-week-total{background:var(--p-tinta, #edf4f1);padding:7px 4px!important;text-align:center}
#tk-hours .th-week-total b{font-size:12px}
#tk-hours .th-week-total small{font-size:10px;line-height:1.35}
#tk-hours .th-week-footer th,#tk-hours .th-week-footer td{background:var(--p-tinta, #edf4f1)!important;font-size:11px;font-weight:600;text-align:center;border-top:1px solid var(--th-line)}
#tk-hours .th-week-footer small{font-size:10px}
#tk-hours .th-week-footer .th-week-person{text-align:left}
#tk-hours .th-compact-week .th-week-editor-row>td{padding:0!important;background:var(--p-fondo, #f1f7f5);border-top:1px solid var(--th-teal);border-bottom:1px solid var(--th-teal)}
#tk-hours .th-week-edit-panel{position:sticky;left:0;max-width:100%;padding:12px;background:var(--p-fondo, #f1f7f5);box-sizing:border-box}
#tk-hours .th-week-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
#tk-hours .th-week-panel-head h4{margin:0;font-size:13px;overflow-wrap:anywhere}
#tk-hours .th-week-panel-head>.th-btn{min-height:28px;font-size:11px;padding:3px 8px}
#tk-hours .th-week-comparison{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:11px;margin:6px 0!important}
#tk-hours .th-week-comparison span{white-space:nowrap}
#tk-hours .th-week-shifts{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}
#tk-hours .th-week-shifts .th-btn{font-size:11px;min-height:30px;padding:4px 7px}
#tk-hours .th-week-edit-panel .th-cell-editor{display:grid;grid-template-columns:72px 160px minmax(140px,1fr) minmax(150px,1fr);gap:8px;width:100%;padding:10px;margin:5px 0 0;border:1px solid var(--th-line);background:#fff;max-width:100%}
#tk-hours .th-week-edit-panel .th-cell-editor>b,#tk-hours .th-week-edit-panel .th-cell-editor>small,#tk-hours .th-week-edit-panel .th-cell-editor>.th-inline-actions,#tk-hours .th-week-edit-panel .th-cell-editor>.th-validation-actions{grid-column:1/-1}
#tk-hours .th-week-edit-panel .th-cell-editor>b{font-size:12px}
#tk-hours .th-week-edit-panel .th-cell-editor label{font-size:11px}
#tk-hours .th-week-edit-panel .th-cell-editor textarea{height:36px;min-height:36px}
#tk-hours .th-week-edit-panel .th-cell-editor input,#tk-hours .th-week-edit-panel .th-cell-editor select{height:32px}
#tk-hours .th-week-edit-panel .th-cell-times{gap:6px}
#tk-hours .th-week-edit-panel .th-inline-actions{justify-content:flex-start;margin:0}
#tk-hours .th-week-panel-narrow .th-cell-editor{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#tk-hours .th-week-panel-phone .th-cell-editor{grid-template-columns:minmax(0,1fr)}
#tk-hours .th-week-edit-panel .th-validation-actions:empty{display:none}
@media(max-width:640px){#tk-hours .th-week-toolbar{gap:8px}#tk-hours .th-week-toolbar h3{font-size:15px}#tk-hours .th-week-toolbar>label{flex:1 1 100%}}
