[hidden]{display:none!important}.topbar-inner{gap:17px}nav{gap:1px}nav button{padding-left:11px;padding-right:11px}#account-bar{display:flex;align-items:center;gap:12px;font-size:13px}#account-bar small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.text-button{background:none;border:0;padding:7px;color:var(--green);font-size:12px;font-weight:600;min-height:40px}.preview a{color:var(--green);margin-left:10px}.global-message{padding:14px 18px;border-radius:10px;border:1px solid #e7c3b8;background:#fff2eb;color:#935432;font-size:14px;line-height:1.7;margin:0 0 18px}.auth-layout{display:grid;grid-template-columns:1fr 440px;gap:70px;align-items:center;max-width:1060px;margin:30px auto 65px}.auth-intro h1{font-size:46px;line-height:1.3}.auth-intro p{font-size:17px;color:var(--muted);line-height:1.8;margin-top:23px}.auth-intro ul{list-style:none;padding:0;margin-top:32px}.auth-intro li{font-size:15px;margin:18px 0;color:#53725b}.auth-intro li>svg{width:25px;height:25px;border-radius:50%;background:#e8efdf;padding:4px;margin-right:12px;color:#53725b}.auth-card{background:white;padding:32px;border:1px solid var(--line);border-radius:22px;box-shadow:0 12px 50px #253f2505}.auth-card h2{font-size:27px;margin:15px 0 10px}.auth-card p{font-size:13px;line-height:1.8;color:var(--muted)}.auth-tabs{margin:20px 0}.auth-tabs button{flex:1;font-size:13px}.auth-card label,.leave-form-panel label{display:block;font-size:13px;color:#607457;margin-top:18px}.auth-card input,.leave-form-panel input,.leave-form-panel textarea{display:block;width:100%;border:1px solid #dce3d6;border-radius:9px;background:#fcfdfb;padding:12px;font:inherit;font-size:16px;color:#365443;margin-top:8px;min-height:46px}.auth-card .primary{margin-top:20px;width:100%;font-size:15px}.auth-card .auth-help{font-size:11px;margin-top:21px}.auth-card .warning{color:#a25b40}.view-link{display:block;text-align:center;font-size:12px;margin-top:18px;color:var(--green)}.leave-layout{display:grid;grid-template-columns:minmax(300px, .85fr) minmax(0,1.2fr);gap:24px;align-items:start}.date-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.date-pair input{min-width:0}.leave-form-panel select{display:block;width:100%;margin-top:8px}.leave-form-panel textarea{resize:vertical}.leave-form-panel .primary{width:100%;margin-top:20px}.leave-list{margin-top:20px}.leave-item{border-top:1px solid var(--line);padding:19px 0}.leave-heading{display:flex;gap:15px;align-items:center;justify-content:space-between}.leave-heading b{font-size:15px}.leave-status{display:inline-block;font-size:10px;font-weight:600;text-transform:capitalize;padding:6px 10px;border-radius:30px;background:#eef0eb;color:#7a8573;white-space:nowrap}.leave-status.approved{background:#e6f1e1;color:#57754c}.leave-status.pending{background:#fcf1da;color:#9b7d3e}.leave-status.rejected{background:#f9e8e7;color:#a66964}.leave-item h3{font-size:15px;margin:13px 0 7px;line-height:1.7}.leave-item p{font-size:12px;line-height:1.8;color:var(--muted)}.leave-reason{white-space:pre-wrap;margin-top:8px}.leave-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:13px}.leave-actions .primary,.leave-actions .secondary{font-size:12px;min-height:38px;padding:7px 12px}.leave-conflicts{margin-top:10px;color:#9b7445;font-size:12px;line-height:1.8}.leave-conflicts summary{cursor:pointer}.leave-conflicts ul{padding-left:18px}.account-list{margin-top:22px}.account-row{display:flex;align-items:center;gap:18px;padding:15px 0;border-top:1px solid var(--line)}.account-identity{display:flex;gap:12px;align-items:center;min-width:175px}.account-identity b{font-size:14px}.account-identity small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.account-actions{margin-left:auto;display:flex;gap:10px;align-items:center}.account-actions .secondary{font-size:12px;min-height:39px}.setup-result{padding:20px;background:#edf5e8;border:1px solid #d3e1c7;border-radius:12px;margin-top:20px}.setup-result p{font-size:13px;line-height:1.8;margin:9px 0}.setup-result code{display:block;background:white;border-radius:8px;padding:15px;font-size:17px;overflow-wrap:anywhere;user-select:all}.planner-tools{display:flex;justify-content:flex-end;gap:10px;align-items:center;margin:0 0 20px}.planner-tools label{font-size:12px}.planner-tools input{border:1px solid var(--line);border-radius:8px;padding:10px;font:inherit;color:#527249}.planner-tools .primary{font-size:12px}.availability-controls input[readonly]{border:1px solid var(--line);padding:12px;border-radius:8px;display:block;margin-top:8px;font:inherit;color:var(--green);background:#f4f7ef}.shift-leave-alert{display:block;font-size:10px;color:#a66f42;margin:6px 0}.approved-leave-note{background:#fff4e7;border:1px solid #ebd2ae;padding:12px;border-radius:8px;font-size:12px;line-height:1.7;margin-bottom:18px;color:#99743f}
@media(max-width:1200px){.auth-layout{gap:35px;grid-template-columns:1fr 400px}.auth-intro h1{font-size:36px}}
@media(max-width:800px){.auth-layout{grid-template-columns:1fr;max-width:470px;margin:10px auto 30px;gap:25px}.auth-intro{display:none}.leave-layout{grid-template-columns:1fr}.account-row{flex-wrap:wrap;gap:10px}.account-actions{width:100%;margin-left:0;justify-content:flex-end}.account-identity{min-width:0;flex:1}.date-pair{gap:10px}}
@media(max-width:600px){nav button svg{display:none}#account-bar{font-size:12px;gap:6px}#account-bar .text-button{font-size:11px}.brand b{font-size:16px}.brand small{font-size:8px}.brand-icon{width:32px;height:36px}.auth-card{padding:24px}.auth-card input{font-size:16px}.auth-tabs button{font-size:12px}.auth-card h2{font-size:25px}.auth-layout{margin-top:5px}.date-pair{grid-template-columns:1fr}.account-actions .text-button{font-size:11px}.account-actions .secondary{font-size:11px}.leave-layout{gap:17px}.leave-item h3{font-size:14px}.planner-tools{flex-wrap:wrap;justify-content:flex-start}.planner-tools .primary{flex:1}.setup-result code{font-size:14px}.leave-form-panel input,.leave-form-panel textarea,.leave-form-panel select{font-size:16px}#app>.planner-tools{order:-1}#app>.approved-leave-note{order:-1}.preview a{display:block;margin:5px 0 0}}
@media print{#account-bar,.planner-tools,.account-actions,.auth-layout{display:none!important}}
.department-setting{font-size:11px;color:#6f8066;min-width:160px;max-width:210px}.department-setting select{display:block;width:100%;margin-top:6px;font-size:12px}.department-feedback{display:block;font-size:10px;line-height:1.6;color:#6f865f;margin-top:5px}
.connection-help{max-width:680px;margin:35px auto;padding:30px}.connection-help h2{margin:18px 0 12px;font-size:25px}.connection-help p{font-size:14px;line-height:1.9;color:var(--muted);margin-top:13px}.connection-help code{background:#eff3e8;border-radius:5px;padding:3px 6px;color:#3e634b}.connection-help .actions{justify-content:flex-start}.connection-help a{text-decoration:none}
.publish-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:20px;margin-bottom:18px;border:1px solid #cadccf;background:#eff8f2;border-radius:14px}.publish-bar p{font-size:13px;line-height:1.7;margin-top:7px}.remove-staff{color:#a24747}
.staff-palette{margin-top:13px;padding:13px 15px;background:#ffffff80;border:1px solid #d9decc;border-radius:10px;text-transform:none;letter-spacing:0;font-weight:400}
.palette-description{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:10px}.palette-description b{font-size:12px;color:#55704e}.palette-description small{font-size:11px;color:#829076}.staff-chips{display:flex;gap:7px;flex-wrap:wrap}
.staff-chip{border:1px solid var(--accent,#b9caaa);background:var(--tint,#eff4e9);color:var(--ink,#54754a);border-radius:7px;padding:7px 13px;min-height:36px;font-size:13px;font-weight:600;touch-action:none;cursor:grab;user-select:none}.staff-chip:active{cursor:grabbing}.staff-chip:focus-visible{outline:3px solid #8fa878}
.service-card>.staff-palette{margin:12px;border-radius:8px;padding:12px}.service-card .palette-description{gap:5px}.service-card .staff-chip{font-size:12px;padding:7px 10px}.drop-ready{outline:1px dashed #8cac79;outline-offset:-3px}.drop-active{background:#e0f0d7!important;box-shadow:inset 0 0 0 3px #729e59!important}.staff-drag-ghost{position:fixed;pointer-events:none;z-index:1000;padding:12px 17px;border-radius:12px;background:#2d6b54;color:#fff;font-size:15px;font-weight:600;box-shadow:0 8px 28px #224b3b44}.staff-dragging{user-select:none}
.quick-assign-dialog{width:720px;padding:27px}.quick-assign-dialog h2{margin-bottom:7px}.quick-default-label{display:block;margin:20px 0 8px;font-size:13px;color:#617750}.quick-default-label select{display:block;width:100%;margin-top:8px}.quick-selection-actions{display:flex;justify-content:space-between;margin:12px 0}.quick-days{border:1px solid #e1e7d9;border-radius:12px;overflow:hidden}.quick-day{display:grid;grid-template-columns:160px minmax(0,1fr);gap:12px;align-items:center;padding:12px 14px;border-bottom:1px solid #e9eee1}.quick-day:last-child{border:0}.quick-day .quick-date{margin:0;display:flex;align-items:center;gap:9px;font-size:13px;min-height:44px}.quick-date input{width:19px;height:19px;accent-color:#648b51;flex-shrink:0}.quick-date span small{display:block;color:#aa7950;font-size:10px;line-height:1.6}.quick-day select{width:100%;min-width:0;font-size:12px;margin:0}.quick-assign-dialog .notice{font-size:12px}.success-message{background:#edf5e7;border-color:#d2e3c5;color:#587d46}
@media(max-width:1050px){.account-row{flex-wrap:wrap}.department-setting{margin-left:auto}.account-actions{width:100%;justify-content:flex-end}.quick-assign-dialog{max-width:calc(100% - 26px)}}
@media(max-width:600px){.department-setting{width:100%;max-width:none;margin-top:5px}.staff-palette{padding:11px}.palette-description{gap:5px}.staff-chips{gap:6px}.staff-chip{min-height:40px;padding:8px 10px;font-size:12px}.service-card .staff-chip{min-height:40px}.quick-assign-dialog{padding:20px}.quick-day{grid-template-columns:1fr;gap:3px;padding:10px 13px}.quick-day select{font-size:14px}.quick-default-label select{font-size:14px}.quick-assign-dialog h2{font-size:23px}.quick-selection-actions .text-button{font-size:11px}.quick-assign-dialog .actions{flex-wrap:nowrap}.quick-assign-dialog .actions button{font-size:12px}.period-row .staff-palette{min-width:0}}
.level-unset{--tint:#edf0ef;--ink:#52615b;--accent:#a7b2ac;background:var(--tint);color:var(--ink);border-color:var(--accent)}
.level-junior,.level-junior-upgraded{--tint:#e2f6ef;--ink:#216853;--accent:#58b59b;background:var(--tint);color:var(--ink);border-color:var(--accent)}
.level-staff,.level-senior{--tint:#ede7ff;--ink:#63419c;--accent:#a586d8;background:var(--tint);color:var(--ink);border-color:var(--accent)}
.level-manager{--tint:#ffebda;--ink:#974f24;--accent:#e9a061;background:var(--tint);color:var(--ink);border-color:var(--accent)}
.level-head-chef{--tint:#fce3eb;--ink:#9c3f61;--accent:#d77f9e;background:var(--tint);color:var(--ink);border-color:var(--accent)}
.level-cook{--tint:#e1f0fd;--ink:#326c99;--accent:#76acd7;background:var(--tint);color:var(--ink);border-color:var(--accent)}
.person,.staff-chip{border:1px solid var(--accent,#a7b2ac);border-left-width:4px;border-radius:9px}
.period-row .staff-badges,.period-row .staff-badges>span{display:inline-flex;font-size:16px;letter-spacing:0;text-transform:none}
.staff-badges{display:inline-flex;gap:4px;align-items:center;margin-left:6px;vertical-align:middle;white-space:nowrap}
.staff-badges>span{display:inline-flex;align-items:center;justify-content:center;min-width:23px;min-height:23px;padding:1px 2px;font-size:16px;line-height:1.3;border:0;border-radius:6px;background:#ffffff60}
.staff-badges .level-badge{border-radius:50%;min-width:23px}
.person{display:flex;flex-wrap:wrap;align-items:center;gap:4px}.person .staff-badges{margin-left:auto}
.staff-key{padding:12px 25px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}
.staff-key summary{cursor:pointer;font-weight:600}.staff-key>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.staff-key>div>span{padding:6px 9px;border-radius:6px}
.roster-row,.day-shift{--row-tint:#ffffff;--row-accent:#e5eae7}
tr.roster-row>td,tr.roster-row>th[scope=row],.day-shift{background:var(--row-tint,#fff)}
tr.roster-row>th[scope=row],.day-shift{border-left:4px solid var(--row-accent,#ddd)}
tr.roster-row>td.is-today{background:var(--row-tint);box-shadow:inset 2px 0 #569b75,inset -2px 0 #569b75}
.profile-save-bar{position:sticky;top:12px;z-index:8;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px;margin-top:20px;background:#f1f7f4;border:1px solid #c8dfd2;border-radius:12px;box-shadow:0 5px 18px #264c3810}.profile-save-bar b{font-size:14px}.profile-save-bar small{display:block;margin-top:5px;font-size:12px;line-height:1.6}.profile-save-bar button{flex-shrink:0}.staff-profile-form small{min-height:18px}
@media(max-width:600px){.profile-save-bar{flex-wrap:wrap;top:6px}.profile-save-bar button{width:100%}}
.account-row{flex-wrap:wrap}.staff-profile-form{display:flex;flex-wrap:wrap;align-items:end;gap:10px;flex:1 1 420px}
.staff-profile-form label{display:flex;flex-direction:column;gap:6px;font-size:12px;flex:1;min-width:150px}
.staff-profile-form select{width:100%;max-width:270px;font-size:13px}.staff-profile-form button{font-size:12px}.staff-profile-form small{flex-basis:100%;font-size:12px;color:var(--green)}
@media(max-width:600px){.staff-profile-form{flex-basis:100%}.staff-profile-form label{min-width:0;flex-basis:100%}.staff-profile-form select{max-width:none}.staff-key{padding:12px 15px}.staff-badges{margin-left:3px}.team-summary-row b .staff-badges{display:flex;margin:4px 0 0}.account-actions{flex-wrap:wrap}}
@media print{.staff-palette,.quick-assign-dialog,.staff-drag-ghost,.department-setting{display:none!important}.staff-badges>span{font-size:8px;min-width:15px;min-height:15px}.staff-key{font-size:9px}}

.add-staff-panel{margin:20px 0;padding:18px;border:1px solid #bed8cb;border-radius:14px;background:#f2f8f4}.add-staff-panel summary{cursor:pointer;font-weight:700;color:var(--green);font-size:17px}.add-staff-panel form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}.add-staff-panel label{display:flex;flex-direction:column;gap:8px}.add-staff-panel input,.add-staff-panel select{width:100%;min-width:0;font-size:16px}.add-staff-panel p,.add-staff-panel small{grid-column:1/-1}.add-staff-panel small{color:#a33a24}@media(max-width:600px){.add-staff-panel form{grid-template-columns:1fr}}

.owner-palette{position:relative;display:inline-block}.owner-palette summary{cursor:pointer;padding:10px 16px;border:1px solid #ac8bbc;border-radius:9px;background:#f3eafa;color:#563766;list-style:none;font-weight:700}.owner-popup{position:fixed;right:auto;top:0;left:0;z-index:100;width:280px;max-width:calc(100vw - 16px);overflow:auto;overscroll-behavior:contain;background:white;color:#314a41;padding:18px;border:1px solid #d8c7e2;border-radius:12px;box-shadow:0 10px 30px #35223d22;white-space:normal}.owner-popup p{margin:8px 0}.unassign-zone{margin-top:12px;padding:14px;border:2px dashed #c39182;border-radius:10px;color:#7b4535;background:#fff5ed;font-size:13px}.unassign-zone.drop-active{background:#f7d4c9}.person[draggable]{cursor:grab;touch-action:none}.row-color-control{display:flex;align-items:center;gap:8px;font-size:11px;margin-top:10px}.row-color-control input{width:34px;height:26px;padding:2px;border:1px solid #b4c4bb}.dark-position th[scope=row],.dark-position .shift-meta,.dark-position .shift-meta h4,.dark-position th small,.dark-position .empty,.dark-position .text-button{color:white}.dark-position .row-color-control{color:white}

.dark-position .shift-meta>span,.dark-position .shift-meta>span svg{color:#edf4fa}

.staff-profile-form input{width:100%;min-width:0;font-size:14px;padding:10px;border:1px solid #cedbd3;border-radius:8px}.team-summary-row .shift-total{display:flex;flex-direction:column;align-items:flex-end;gap:4px}.team-summary-row .shift-total strong{font-size:21px;font-weight:750;color:#286c54;white-space:nowrap}.team-summary-row .shift-total small{font-size:11px}.team-summary-row .summary-hours{font-size:12px;color:#6b7b76}.team-summary-row.target-under{background:#fff1f0;border-radius:10px}.team-summary-row.target-over{background:#f5edff;border-radius:10px}.team-summary-row.target-under .shift-total,.team-summary-row.target-under .shift-total strong{color:#b12d37}.team-summary-row.target-over .shift-total,.team-summary-row.target-over .shift-total strong{color:#793ab0}.team-summary-row{padding-left:8px;padding-right:8px}

.team-summary-row .shift-total{margin-left:auto;flex-shrink:0}.team-summary-row>.summary-hours{margin-left:0;min-width:40px;text-align:right}.team-summary-row>b{min-width:0}

#notes-popover .note-list li{font-size:18px;font-weight:700;line-height:1.8;color:#294c3f;padding:16px 0}#notes-popover .note-list b{font-size:19px;font-weight:800;color:#204f3b}#notes-popover h2{font-size:20px}.leave-calendar{margin-bottom:24px}.leave-calendar h2{font-size:22px}.leave-calendar-tools{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:20px 0}.leave-calendar-tools label,.leave-block-settings label{display:flex;flex-direction:column;gap:6px;font-size:13px}.leave-calendar-tools input,.leave-calendar-tools select,.leave-block-settings input,.leave-block-settings select{font-size:16px;padding:10px;border:1px solid #cdd9d2;border-radius:8px;max-width:100%;min-width:0}.calendar-key{font-size:13px;line-height:1.7;margin-bottom:12px}.leave-month-scroll{overflow-x:auto}.leave-month-grid{display:grid;grid-template-columns:repeat(7,minmax(95px,1fr));min-width:665px;gap:5px}.month-weekday{text-align:center;font-size:13px;padding:8px}.month-day{min-height:110px;background:#f6f9f5;border:1px solid #dbe5dc;border-radius:8px;text-align:left;padding:8px;display:flex;flex-direction:column;gap:5px;color:#25463a}.month-day>b{font-size:17px}.month-day[aria-pressed=true]{outline:2px solid #347357;outline-offset:-2px}.month-day.calendar-today>b{text-decoration:underline;text-decoration-thickness:3px}.calendar-person{display:block;font-size:12px;line-height:1.5;padding:3px 5px;border:1px solid transparent;border-radius:5px;overflow-wrap:anywhere}.calendar-person.leave{background:#e2f1eb;color:#235741}.calendar-person.holiday{background:#fff0ce;color:#765310}.calendar-person.pending{border:1px dashed currentColor;opacity:.8}.month-day.leave-blocked{background:#fff1ef;border-color:#e1b3ad}.calendar-block-label{color:#aa332b;font-weight:700;font-size:12px}.leave-day-detail{margin-top:18px;padding:16px;border:1px solid #d9e3dc;border-radius:10px}.leave-day-detail p{margin-top:10px;font-size:14px}.leave-day-detail small{display:block;color:#65766e;margin-top:4px}.leave-block-settings{margin-top:20px;padding:16px;border:1px solid #e4c8be;border-radius:12px;background:#fff9f5}.leave-block-settings summary{font-size:16px;font-weight:700;cursor:pointer}.leave-block-settings>p{font-size:13px;line-height:1.7;margin-top:10px}#leave-block-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}#leave-block-form [hidden]{display:none}#leave-block-feedback{color:#ac352c;grid-column:1/-1}.leave-block-list>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;border-top:1px solid #eaded6;font-size:13px}.leave-block-list{margin-top:18px}@media(max-width:600px){.leave-calendar{padding:16px}.leave-calendar-tools{gap:8px}.leave-calendar-tools label{flex:1 1 130px}.leave-calendar-tools button{padding:10px}.leave-block-list>div{flex-wrap:wrap}#leave-block-form{grid-template-columns:1fr}#notes-popover .note-list li{font-size:17px}}

.calendar-mobile-count{display:none}@media(max-width:600px){.leave-month-grid{min-width:0;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.month-day{padding:5px 2px;min-height:70px;align-items:center}.month-day>b{font-size:15px}.month-day .calendar-person,.month-day>small{display:none}.calendar-mobile-count{display:block;font-size:10px;font-weight:600;text-align:center;color:#2d6551}.month-day .calendar-block-label{font-size:9px;overflow-wrap:anywhere;text-align:center}.month-weekday{font-size:11px;padding:8px 0}.leave-calendar-tools{display:grid;grid-template-columns:auto 1fr auto}.leave-calendar-tools label:last-child{grid-column:1/-1}.leave-calendar-tools label{min-width:0}}

/* Service colors and compact row color controls. Custom colors remain inline overrides. */
.period-row.lunch th,.service-card.lunch .service-card-heading{background:linear-gradient(115deg,#ffd28a,#ffac52);color:#65330d}.period-row.dinner th,.service-card.dinner .service-card-heading{background:linear-gradient(115deg,#182b50,#2e507d);color:#f0f5ff}.service-card.lunch{background:#fff1db}.service-card.dinner{background:#203b63}.service-card.lunch .service-symbol{background:#fff0cc;color:#a8540d}.service-card.dinner .service-symbol{background:#ffffff18;color:#dceaff}.service-card.dinner .service-card-heading p{color:#d0def2}.service-card.lunch .service-card-heading p{color:#754114}.period-row th{font-size:15px;font-weight:750}.period-row .staff-palette,.service-card>.staff-palette{background:#ffffffed;color:#344f42}.row-color-tools{display:flex;align-items:center;gap:6px;margin-top:9px}.row-color-tools .row-color-control{position:relative;display:grid;place-items:center;width:40px;height:40px;margin:0;border:1px solid #dce4df;border-radius:12px;background:#fff;box-shadow:0 2px 5px #163b2410;cursor:pointer;transition:transform .15s,box-shadow .15s}.row-color-control>span{font-size:23px;line-height:1;display:block!important;margin:0;opacity:1}.row-color-tools .row-color-control input{position:absolute;inset:0;width:100%;height:100%;padding:0;margin:0;opacity:0;cursor:pointer}.row-color-control:hover{transform:translateY(-1px);box-shadow:0 4px 10px #163b2420}.row-color-control:focus-within,.row-color-reset:focus-visible{outline:3px solid #648bcb;outline-offset:2px}.row-color-reset{width:32px;height:36px;border:0;border-radius:10px;background:#ffffffd9;color:#60746b;font-size:23px;line-height:1;cursor:pointer}.row-color-reset:hover{background:#eaf1ed;color:#285940}@media print{.row-color-tools{display:none!important}}

/* Leave calendar: staff department colors and a separate Today marker. */
.calendar-department-key{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.calendar-department-key>span{padding:6px 10px;border-radius:8px;font-size:12px;font-weight:650}.calendar-department-key .calendar-dept-foh,.calendar-person.calendar-dept-foh,.calendar-leave-detail.calendar-dept-foh,.calendar-department-counts .calendar-dept-foh{background:#dceeff;color:#205681;border-color:#91bfdf}.calendar-department-key .calendar-dept-kitchen,.calendar-person.calendar-dept-kitchen,.calendar-leave-detail.calendar-dept-kitchen,.calendar-department-counts .calendar-dept-kitchen{background:#ffead9;color:#8b421b;border-color:#e8ac81}.calendar-department-key .calendar-dept-both,.calendar-person.calendar-dept-both,.calendar-leave-detail.calendar-dept-both,.calendar-department-counts .calendar-dept-both{background:#eee3ff;color:#643695;border-color:#bba0de}.calendar-person.calendar-dept-unset,.calendar-leave-detail.calendar-dept-unset,.calendar-department-counts .calendar-dept-unset{background:#ecefed;color:#526159;border-color:#bbc6bf}.calendar-person{border-left-width:3px;font-weight:600}.calendar-person.pending{border-style:dashed;opacity:1}.month-day.calendar-today{background:#fff3bf;border-color:#d9a22e;box-shadow:inset 0 4px #e5ae29}.month-day.calendar-today>b{text-decoration:none;color:#79520d;font-weight:800}.calendar-today-label,.calendar-department-key .calendar-today-key{background:#f5cf65;color:#694508;font-weight:750;border-radius:5px;padding:2px 6px;font-size:11px}.month-day.calendar-today.leave-blocked{background:#fff1ef;border-color:#cf8c78;box-shadow:inset 0 4px #e5ae29}.calendar-leave-detail{padding:12px;border:1px solid;border-left-width:4px;border-radius:9px}.calendar-department-label{display:inline-block;font-size:11px;font-weight:600;margin-left:6px}.calendar-department-counts{display:none}@media(max-width:600px){.calendar-department-counts{display:flex;flex-wrap:wrap;justify-content:center;gap:2px}.calendar-department-counts>span{display:inline-flex;align-items:center;justify-content:center;min-width:15px;padding:1px 3px;border:1px solid;border-radius:5px;font-size:10px;font-weight:700}.calendar-today-label{font-size:8px;padding:2px 3px}.calendar-department-key{gap:5px}.calendar-department-key>span{font-size:11px;padding:5px 7px}.calendar-department-label{display:block;margin:3px 0 6px}}

.leave-floating-layout.leave-layout{display:block;margin:0}.leave-request-tabs{margin:18px 0 10px;display:flex;flex-wrap:wrap;gap:4px}.leave-request-tabs button{flex:1;font-size:12px;padding:10px 8px;white-space:normal}.leave-request-badge{position:absolute;right:-5px;top:-6px;min-width:21px;height:21px;padding:0 5px;display:grid;place-items:center;border-radius:20px;background:#cf3549;color:#fff;border:2px solid #fff;font-size:11px;font-weight:800;box-shadow:0 2px 6px #80243122}.leave-request-badge[hidden]{display:none}.leave-float-dock .float-tool{position:relative}.leave-item[hidden],.leave-popover[hidden],#leave-filter-empty[hidden]{display:none!important}.leave-refresh-status{font-size:11px;color:#728178;line-height:1.6;margin-top:14px}.leave-popover .leave-item h3{font-size:16px}.leave-popover .leave-list>.empty-state{display:none}.leave-popover .date-pair{gap:8px}.leave-popover .date-pair input{min-width:0;width:100%}@media(max-width:600px){.leave-popover .date-pair{grid-template-columns:1fr}.leave-popover.info-panel{right:54px;width:calc(100% - 68px)}.leave-popover .leave-actions{flex-wrap:wrap}.leave-request-tabs button{font-size:11px}.leave-popover .section-heading h2{font-size:17px}}

.training-badge{display:flex;flex-direction:column;gap:3px;margin-top:6px;padding:8px;border:1px dashed #9a8bc1;border-radius:8px;background:#f3eeff;color:#654490;font-size:13px;font-weight:650}.training-badge small{font-size:11px;color:#785e96}.training-role{display:block;font-size:10px;font-weight:700;margin:0 0 3px}.training-shift-actions{display:flex;gap:10px;margin-top:18px;flex-wrap:wrap}.team-tabs{margin:20px 0;width:max-content;max-width:100%}.employee-popover.add-staff-panel{margin:0;background:#fff}.employee-popover>summary{display:none}.employee-popover h2{font-size:21px;padding-right:30px}.employee-popover[hidden],#trainees-panel[hidden],.account-list[hidden],.profile-save-bar[hidden]{display:none!important}.team-float-dock button{position:relative}.add-person-plus{position:absolute;right:3px;bottom:0;font-size:20px;font-weight:800}.trainees-heading p{margin:10px 0;color:#708178}.trainees-heading label{display:flex;align-items:center;gap:12px;margin:16px 0}.trainee-card{padding:20px;border:1px solid #dcd7e8;background:#fcfaff;border-radius:14px;margin:14px 0}.trainee-card h3{font-size:19px}.trainee-card p{margin-top:10px;font-size:14px;line-height:1.6}.trainee-card small{display:block;color:#6d7972}.trainee-card details{margin-top:15px}.trainee-card summary{cursor:pointer;font-weight:650}.trainee-card .actions{justify-content:flex-start}#training-form>label,#hire-trainee-dialog label{display:flex;flex-direction:column;gap:7px;margin-top:16px}#training-form input,#training-form select,#hire-trainee-dialog select{width:100%;min-width:0}#training-form [hidden]{display:none}#training-form .date-pair{margin-top:16px}@media(max-width:600px){.employee-popover #add-staff-form{grid-template-columns:1fr}.training-badge{font-size:12px}.training-role{font-size:10px}.trainee-card{padding:14px}.trainees-heading label{flex-wrap:wrap}}@media print{.team-float-dock,.employee-popover{display:none!important}}
.summary-departments{display:flex;flex-wrap:wrap;gap:6px;padding:6px;margin-top:18px;border:1px solid #dce5df;border-radius:13px;background:#f2f5f1}.summary-departments button{flex:1 1 110px;min-height:44px;padding:10px 12px;border:0;border-radius:9px;background:transparent;color:#47665a;font:inherit;font-size:14px;font-weight:700;cursor:pointer}.summary-departments button.active{background:#276e58;color:#fff;box-shadow:0 2px 5px #214b3520}.summary-departments button:focus-visible{outline:3px solid #daac4b;outline-offset:2px}.summary-scope-note{font-size:12px;line-height:1.6;color:#607469;margin:10px 0 16px}
#add-staff-form input[name="staffName"]{appearance:none;display:block;width:100%;min-width:0;min-height:46px;padding:11px 14px;border:1px solid #dce3d6;border-radius:9px;background:#fff;color:#365443;font:inherit;font-size:16px;line-height:1.4;box-shadow:0 1px 2px #293b3904;transition:border-color .15s,box-shadow .15s}#add-staff-form input[name="staffName"]::placeholder{color:#85918b;opacity:1}#add-staff-form input[name="staffName"]:hover{border-color:#a8bfb2}#add-staff-form input[name="staffName"]:focus{border-color:var(--green);outline:2px solid #286d5733;outline-offset:2px;box-shadow:0 0 0 4px #286d5708}
.name-color-editor{margin:18px 0;padding:14px;border:1px solid var(--line);border-radius:12px}.name-color-editor summary{cursor:pointer;font-weight:700;color:var(--green)}.name-color-editor p{margin-top:10px}.name-color-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.name-color-fields input{display:block;width:100%;height:44px;margin:8px 0 16px;padding:3px;border:1px solid var(--line);border-radius:8px;background:transparent}.name-color-preview{border:2px solid;border-radius:9px;padding:12px;font-weight:650}.name-color-editor .actions{gap:8px}.name-color-editor .actions button{font-size:12px}
.auth-card .remember-device{display:flex;align-items:flex-start;gap:10px;line-height:1.5}.auth-card .remember-device input{width:20px;height:20px;min-height:20px;margin:2px 0;accent-color:var(--green);flex-shrink:0}.remember-device small{display:block;font-size:12px;color:var(--muted);margin-top:4px}#account-bar{flex-wrap:wrap}#sign-out-all{font-size:11px}
.level-owner{--tint:#f9edcc;--ink:#795412;--accent:#cda653;background:var(--tint);color:var(--ink);border-color:var(--accent)}#pin-dialog input{display:block;width:100%;min-width:0;padding:12px;margin-top:8px;border:1px solid var(--line);border-radius:9px;font:inherit}#pin-dialog .warning{margin-top:15px}
/* Leave bars run across days: stretch over cell padding (8px), border (1px) and the grid gap (5px). */
.month-day .calendar-person{white-space:nowrap;min-height:26px}
.month-day .calendar-person.joins-left{margin-left:-9px;border-left-width:0;border-top-left-radius:0;border-bottom-left-radius:0}
.month-day .calendar-person.joins-right{margin-right:-14px;border-right-width:0;border-top-right-radius:0;border-bottom-right-radius:0}
.month-day .calendar-person .bar-label{display:block;position:relative;z-index:1;overflow:hidden;text-overflow:ellipsis;width:calc(var(--span,1) * 100% + (var(--span,1) - 1) * 14px)}
.month-day .calendar-person:not(.bar-start) .bar-label{width:auto}
.month-day .calendar-person.lane-gap{visibility:hidden}
.month-day{overflow:visible}
/* SA public holidays and long weekends in the leave calendar. */
.calendar-holiday-label{display:block;font-size:11px;font-weight:700;line-height:1.3;color:#9b2c5a;background:#fde7f0;border-radius:5px;padding:2px 5px}
.calendar-holiday-label.part{background:transparent;padding-left:0;font-weight:600}
.month-day.public-holiday{background:#fff4f8;border-color:#e8b3c8}
.month-day.long-weekend{box-shadow:inset 0 -4px #d06c96}
.calendar-department-key .calendar-holiday-key{background:#fde7f0;color:#9b2c5a;border-color:#e8b3c8}
.calendar-department-key .calendar-long-weekend-key{background:transparent;color:inherit;box-shadow:inset 0 -4px #d06c96}
.leave-day-detail .calendar-holiday-label{display:inline-block;margin-right:6px;font-size:13px}
.calendar-long-weekend-note{color:#9b2c5a;font-weight:600}
@media(max-width:600px){.month-day .calendar-holiday-label{font-size:8px;padding:1px 2px;text-align:center;overflow-wrap:anywhere}}
[data-theme=dark] .calendar-holiday-label{background:#4a2636;color:#ffc2da}
[data-theme=dark] .calendar-holiday-label.part{background:transparent}
[data-theme=dark] .month-day.public-holiday{background:#3a2a31;border-color:#8a5068}
[data-theme=dark] .calendar-department-key .calendar-holiday-key{background:#4a2636;color:#ffc2da;border-color:#8a5068}
[data-theme=dark] .calendar-long-weekend-note{color:#ffc2da}
.calendar-department-key :is(.calendar-holiday-key,.calendar-long-weekend-key){font-weight:750;border-radius:5px;padding:2px 6px;font-size:11px}
.month-day.calendar-today.public-holiday{background:#fff3bf;border-color:#d9a22e}
.month-day.calendar-today.long-weekend{box-shadow:inset 0 4px #e5ae29,inset 0 -4px #d06c96}
[data-theme=dark] .month-day.calendar-today.public-holiday{background:#534622;border-color:#e5ae29}
.month-day .calendar-holiday-label{margin-top:auto}
#push-toggle{flex-shrink:0;width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:#edf2e9;color:#426151;display:grid;place-items:center;padding:0}#push-toggle[aria-pressed=true]{background:var(--green);border-color:var(--green);color:#fff}[data-theme=dark] #push-toggle:not([aria-pressed=true]){background:#20342b;color:#e0ece5;border-color:#52685a}@media print{#push-toggle{display:none!important}}
.brand-logo{display:block;height:46px;width:auto;flex-shrink:0}.brand-logo-dark,[data-theme=dark] .brand-logo-light{display:none}[data-theme=dark] .brand-logo-dark{display:block}
/* Phones and tablets: logo, bell and theme on the first row; account links, then pages. */

@media(max-width:600px){.schedule-float-dock{top:auto;bottom:calc(16px + env(safe-area-inset-bottom))}}
@media(max-width:600px){[data-theme=dark] nav button.active{background:#20342b}}

.leave-clash{margin-top:10px;padding:9px 11px;border-radius:8px;background:#fff4e2;border:1px solid #ecd3a6;color:#8a5f22;font-size:12px;line-height:1.6}[data-theme=dark] .leave-clash{background:#3a2c17;border-color:#6b5025;color:#f1d29c}
/* Keep day labels on the date line so leave bars in every cell share the same lanes. */
@media(min-width:601px){.month-day{position:relative}.month-day .calendar-today-label{position:absolute;top:9px;left:34px}.month-day .calendar-block-label{position:absolute;top:9px;right:9px}}
/* Shift people picker grouped by availability, and availability dots on Day view chips */
.people-picker .picker-group{display:flex;justify-content:space-between;align-items:center;margin:0;padding:10px 0 6px;border-bottom:1px solid #eff2e9;font-size:11px;font-weight:750;letter-spacing:.05em;text-transform:uppercase;color:#5f7368}.people-picker .picker-group span{font-weight:650;color:#86958c}
.people-picker .picker-group-available{color:#2f7a4f}.people-picker .picker-group-blocked{color:#a5483b}
.people-picker .picker-row{gap:10px}.picker-name{flex:1;min-width:0;display:flex;flex-direction:column;font-weight:600}.picker-name small{font-weight:500;font-size:11px;color:#a5483b}
.picker-tags{display:flex;gap:6px;align-items:center;flex-shrink:0}.picker-tags small{font-size:11px;padding:3px 7px;border-radius:999px;background:#eef2ea;color:#56685d;white-space:nowrap}
.picker-available .picker-status{background:#dff3e5;color:#256b43}.picker-blocked .picker-status{background:#fbe3df;color:#963b2f}.picker-blocked .picker-name{color:#7c8a82}
.picker-count-full{background:#ece4fb!important;color:#5d3f95!important}
.chip-dot{display:inline-block;width:9px;height:9px;border-radius:50%;flex-shrink:0;margin-right:6px;background:#b9c2bc;box-shadow:0 0 0 2px #fff}
[data-availability=available] .chip-dot,.chip-dot[data-key=available]{background:#2f9a5d}[data-availability=blocked] .chip-dot,.chip-dot[data-key=blocked]{background:#d05a48}
.staff-chip[data-availability=blocked]{opacity:.6;text-decoration:line-through;text-decoration-thickness:1px}
.chip-key{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:11px;color:#6b7c72}.chip-key>span{display:inline-flex;align-items:center}
@media(max-width:600px){
 #edit-dialog{width:100%;max-width:100%;margin:auto 0 0;border-radius:18px 18px 0 0;max-height:90dvh;padding:20px 16px calc(16px + env(safe-area-inset-bottom))}
 #edit-dialog .people-picker{max-height:min(52dvh,460px)}
 #edit-dialog .people-picker .picker-row{padding:12px 0;min-height:48px}
 #edit-dialog .actions{position:sticky;bottom:calc(-16px - env(safe-area-inset-bottom));margin:12px -16px calc(-16px - env(safe-area-inset-bottom));padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:inherit;border-top:1px solid var(--line)}
 #edit-dialog .actions button{flex:1}
 #edit-dialog[open]{animation-name:sheet-reveal}
}
@keyframes sheet-reveal{from{opacity:.4;transform:translateY(40px)}to{opacity:1;transform:none}}
@media screen{
 [data-theme=dark] .people-picker .picker-group{border-color:#2b3d34;color:#a9bdb1}[data-theme=dark] .people-picker .picker-group span{color:#7f948a}
 [data-theme=dark] .people-picker .picker-group-available{color:#7fd6a0}[data-theme=dark] .people-picker .picker-group-blocked{color:#f0a196}
 [data-theme=dark] .people-picker label{border-color:#2b3d34}
 [data-theme=dark] .picker-tags small{background:#26372f;color:#bccbc2}[data-theme=dark] .picker-available .picker-status{background:#1d4a31;color:#a6eac0}[data-theme=dark] .picker-blocked .picker-status{background:#562a24;color:#f6c1b9}
 [data-theme=dark] .picker-blocked .picker-name{color:#8fa197}[data-theme=dark] .picker-name small{color:#f0a196}[data-theme=dark] .picker-count-full{background:#3b2f5a!important;color:#d7c6ff!important}
 [data-theme=dark] .chip-dot{box-shadow:0 0 0 2px #192722}[data-theme=dark] .chip-key{color:#a9bdb1}
}
/* "Can't work this week" panel: names are people who are NOT available */
.unavailable-days article{border-left:3px solid #d05a48}
.unavailable-days b em{font-style:normal;font-weight:650;font-size:10px;letter-spacing:.04em;text-transform:uppercase;color:#a5483b;margin-left:2px}
.unavailable-names{display:flex;flex-wrap:wrap;gap:4px}
.unavailable-name{display:inline-flex;align-items:center;padding:2px 8px 2px 6px;border-radius:999px;background:#fbe3df;color:#8a3428;font-weight:600}
.unavailable-name .chip-dot{width:7px;height:7px;margin-right:5px;box-shadow:none}
@media screen{[data-theme=dark] .unavailable-days article{border-left-color:#d05a48}[data-theme=dark] .unavailable-days b em{color:#f0a196}[data-theme=dark] .unavailable-name{background:#562a24;color:#f6c1b9}}
.employee-id{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.02em;color:#527249}
.account-row{flex-wrap:wrap}.employee-details{order:10;flex-basis:100%;margin:4px 0 0 52px;font-size:12px}.employee-details summary{cursor:pointer;color:var(--green)}.employee-details summary small{color:var(--muted);margin-left:6px}.employee-details-form{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin-top:8px}.employee-details-form label{display:flex;flex-direction:column;gap:4px;font-size:11px;color:var(--muted)}.employee-details-form input{border:1px solid var(--line);border-radius:8px;padding:8px;font:inherit;min-height:38px}.employee-details-form .punch-pin-note{flex-basis:100%;color:var(--muted)}@media(max-width:800px){.employee-details{margin-left:0}}
[data-theme=dark] .employee-details-form input{background:#20342b;color:#e0ece5;border-color:#52685a}
@media(max-width:600px){.employee-details{margin-left:0}.employee-details-form label{flex:1 1 140px}}
.time-clock{margin-top:22px}.time-clock h3{margin:18px 0 8px;font-size:15px}.time-clock-date{display:inline-flex;flex-direction:column;gap:4px;font-size:12px;color:var(--muted);margin:10px 0}.time-clock-date input{border:1px solid var(--line);border-radius:8px;padding:8px;font:inherit}.time-clock-table{overflow-x:auto}.time-clock table{border-collapse:collapse;width:100%;font-size:13px}.time-clock th,.time-clock td{text-align:left;padding:8px;border-bottom:1px solid var(--line);vertical-align:top}.time-clock th{color:var(--muted);font-weight:600}.time-clock td small{color:var(--muted)}.time-clock tr.clock-review td{background:#fff4e5}[data-theme=dark] .time-clock tr.clock-review td{background:#3a2a14}.kiosk-list{list-style:none;padding:0;margin:0;display:grid;gap:8px}.kiosk-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:12px;padding:10px 12px}.kiosk-list span{display:flex;flex-direction:column;gap:2px}.kiosk-list small{color:var(--muted);font-size:12px}.kiosk-list button{width:auto}
.timesheet{padding:20px}.ts-controls{display:flex;flex-wrap:wrap;gap:12px 18px;align-items:end}.ts-controls label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--muted)}.ts-controls input,.ts-controls select{border:1px solid var(--line);border-radius:8px;padding:8px;font:inherit;min-height:40px;color:inherit;background:inherit}.ts-week{display:flex;gap:6px;align-items:end}.ts-week button{min-width:44px}.ts-controls .ts-check{flex-direction:row;align-items:center;gap:6px;min-height:40px;font-size:13px;color:inherit}.ts-actions{display:flex;gap:8px;margin-left:auto}.ts-summary{margin:14px 0;font-size:13px;color:var(--muted)}.ts-summary b{color:inherit}.ts-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:12px}.ts-table{border-collapse:collapse;width:100%;font-size:12px;min-width:980px}.ts-table th,.ts-table td{border-bottom:1px solid var(--line);padding:4px;text-align:left;vertical-align:top}.ts-table thead th{color:var(--muted);font-weight:600;padding:8px 6px;white-space:nowrap}.ts-table tbody th{padding:8px;white-space:nowrap}.ts-table tbody th small{display:block;color:var(--muted);font-weight:400}.ts-shift{color:var(--muted);padding:8px 6px!important}.ts-today{background:rgba(40,109,87,.06)}.ts-cell{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;min-height:44px;padding:6px;border:1px solid transparent;border-radius:8px;background:none;text-align:left;font:inherit;color:inherit}.ts-cell:hover{border-color:var(--line);background:rgba(0,0,0,.02)}.ts-empty{color:var(--muted);opacity:.35;align-items:center;justify-content:center}.ts-empty:hover{opacity:1}.ts-session{font-variant-numeric:tabular-nums;white-space:nowrap}.ts-cell small{font-size:10px;color:var(--muted)}.ts-cell .ts-problem,.ts-missing-out,.ts-missing-in{color:#b42318}.ts-cell-total{font-size:11px}.ts-flag{display:inline-grid;place-items:center;width:15px;height:15px;margin-left:3px;border-radius:50%;background:#cf9253;color:#fff;font-size:10px;font-weight:800}.ts-edited{margin-left:3px;color:var(--muted)}.ts-num{text-align:right!important;padding:8px 6px!important;font-variant-numeric:tabular-nums;white-space:nowrap}.ts-settings{margin-top:18px}.ts-settings summary{cursor:pointer;color:var(--green);font-weight:600}.ts-settings-form{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin-top:10px}.ts-settings-form p{flex-basis:100%;font-size:12px;color:var(--muted)}.ts-settings-form label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--muted)}.ts-settings-form input{border:1px solid var(--line);border-radius:8px;padding:8px;font:inherit;min-height:40px;color:inherit;background:inherit}.ts-error{color:#b42318;font-size:13px;flex-basis:100%;min-height:1em}.ts-dialog{width:min(720px,calc(100% - 32px));max-height:calc(100% - 32px);padding:24px;border:1px solid var(--line);border-radius:18px}.ts-dialog h2{margin-bottom:4px}.ts-dialog h3{font-size:14px;margin-bottom:8px}.ts-dialog-sub{color:var(--muted);font-size:13px;margin-bottom:14px}.ts-dialog label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--muted)}.ts-dialog input,.ts-dialog select{border:1px solid var(--line);border-radius:8px;padding:8px;font:inherit;min-height:40px;color:inherit;background:inherit}.ts-reason{margin-bottom:14px}.ts-punch,.ts-add{border:1px solid var(--line);border-radius:12px;padding:12px;margin-bottom:10px}.ts-punch-head{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline;margin-bottom:8px}.ts-punch-head small{color:var(--muted);font-size:12px}.ts-punch-fields{display:flex;flex-wrap:wrap;gap:10px;align-items:end}.ts-punch-buttons{display:flex;gap:6px;flex-wrap:wrap}.ts-review{background:#fff4e5;color:#8a4b0f;border-radius:8px;padding:8px 10px;font-size:12px;margin-bottom:8px}.ts-reviewed{opacity:.6}.ts-hint{font-size:11px;color:var(--muted);margin-top:6px}[data-theme=dark] .ts-review{background:#3a2a14;color:#f4c58a}@media(max-width:700px){.ts-actions{margin-left:0}}
.ts-table tbody th[scope=row]{background:#fff;color:inherit;font-size:13px;padding:8px 10px;min-width:120px}[data-theme=dark] .ts-table tbody th[scope=row]{background:#192722}.ts-table tbody th small{margin-top:2px}.ts-dialog input,.ts-dialog select,.ts-controls input,.ts-controls select{min-height:44px;box-sizing:border-box}@media(min-width:1000px){nav button span{white-space:nowrap}}
.ts-rostered{color:var(--muted);font-size:10px}.ts-issue{display:inline-block;border-radius:6px;padding:1px 5px;font-size:10px!important;font-weight:700;background:#fde8e6;color:#b42318!important}.ts-issue-left-early{background:#fff4e5;color:#8a4b0f!important}.ts-issue-not-rostered{background:#e8eef9;color:#2c4a7a!important}[data-theme=dark] .ts-issue{background:#4a1f1a;color:#ffb4a8!important}[data-theme=dark] .ts-issue-left-early{background:#3a2a14;color:#f4c58a!important}[data-theme=dark] .ts-issue-not-rostered{background:#1f2c44;color:#b8cdf0!important}.ts-bad{color:#b42318}[data-theme=dark] .ts-bad{color:#ffb4a8}.ts-today-panel{border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin-bottom:14px}.ts-today-panel h3{font-size:14px;margin-bottom:8px}.ts-today-panel ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:6px 18px}.ts-today-panel li{display:grid;grid-template-columns:90px 1fr;gap:0 10px;font-size:13px;padding:6px 0;border-bottom:1px dashed var(--line)}.ts-today-panel li span{color:var(--muted);font-size:12px}.ts-today-status{grid-column:2}.ts-today-panel li.ts-today-in .ts-today-status{color:var(--green)}.ts-today-panel li.ts-today-bad .ts-today-status{color:#b42318;font-weight:700}[data-theme=dark] .ts-today-panel li.ts-today-bad .ts-today-status{color:#ffb4a8}
.kiosk-approve{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin-bottom:12px}.kiosk-approve label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--muted);min-width:260px}.kiosk-approve input{border:1px solid var(--line);border-radius:8px;padding:8px;font:inherit;min-height:44px;color:inherit;background:inherit}.kiosk-approve small{flex-basis:100%;color:#b42318}

/* Branches: switcher in the header, "also at" on Team access */
.branch-switch{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line,#dfe6dc);border-radius:999px;padding:4px 6px 4px 12px;background:var(--card,#fff);color:inherit}
.branch-switch svg{width:16px;height:16px;flex:none;opacity:.75}
.branch-switch select{border:0;background:transparent;font:inherit;font-weight:700;color:inherit;padding:6px 4px;min-height:36px;max-width:170px;cursor:pointer}
.branch-switch:focus-within{outline:2px solid #548467;outline-offset:2px}
.other-branches{display:block;margin-top:3px;color:#5c7092;font-weight:600}
/* Payroll */
.pay-presets{display:flex;gap:6px;flex-wrap:wrap}
.pay-table th.pay-branch{text-align:center}
.pay-table th.pay-all{background:#eef4ea}
.pay-table td.pay-none{color:#b6c0b8;text-align:center}
.pay-table tr.pay-has-problem th b{color:#a3432a}
.pay-missing{color:#a57638}
.pay-warning{background:#fff4e5;color:#8a4b0f;border-radius:10px;padding:10px 14px;margin:0 0 14px;font-size:13px}
.pay-note{font-size:12px;color:var(--muted,#7d8a83);margin-top:14px}
[data-theme=dark] .pay-table th.pay-all{background:#203229}
[data-theme=dark] .branch-switch{background:#17241f;border-color:#2a3a35}
[data-theme=dark] .pay-warning{background:#3a2a14;color:#f4c58a}
[data-theme=dark] .other-branches{color:#9fb5e0}

.first-week-form{display:flex;flex-wrap:wrap;gap:14px;align-items:end;margin-top:18px}.first-week-form label{display:flex;flex-direction:column;gap:6px;font-size:13px;min-width:220px}.first-week-form small{flex-basis:100%;color:#b42318}
[data-theme=dark] #add-existing-panel{background:#192722;border-color:var(--line)}
#add-existing-panel p{color:var(--muted,#6a7a74)}
.first-week-form input,.first-week-form select{min-height:44px;border:1px solid var(--line,#dfe6dc);border-radius:8px;padding:8px 10px;background:inherit;color:inherit;font:inherit}

/* Positions & times */
.positions-editor{display:flex;flex-direction:column;gap:18px}.positions-editor .schedule-toolbar{padding:0}
.positions-period h3{display:flex;align-items:center;gap:8px;font-size:16px;margin:4px 0 10px}.positions-period h3 svg{width:18px;height:18px}
.position-row{display:grid;grid-template-columns:minmax(150px,1.3fr) 130px 130px auto auto;gap:10px;align-items:end;padding:12px 0;border-top:1px solid var(--line)}
.position-row input:not([type=checkbox]){width:100%;min-height:40px;border:1px solid #dfe5dc;border-radius:8px;padding:8px 10px;font:inherit;font-size:14px}
.position-time{display:flex;flex-direction:column;gap:4px;font-size:11px;color:var(--muted,#6a7a74)}
.position-days{display:flex;gap:4px}.day-chip{position:relative;display:block}.day-chip input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.day-chip span{display:grid;place-items:center;min-width:42px;min-height:40px;border:1px solid #dfe5dc;border-radius:8px;font-size:12px;font-weight:600;color:#8a948a;cursor:pointer;user-select:none}
.day-chip input:checked+span{background:#2d6b54;border-color:#2d6b54;color:#fff}.day-chip input:focus-visible+span{outline:2px solid #2d6b54;outline-offset:2px}
.position-actions{display:flex;gap:4px;align-items:center}.position-actions .icon-button{width:34px;min-height:40px}.text-button.danger{color:#b42318}
.add-position{margin-top:10px}.positions-save{display:flex;gap:10px;justify-content:flex-end;align-items:center;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:16px}#positions-state{margin-right:auto;font-size:13px;color:#b54708}
[data-theme=dark] .day-chip span{border-color:#52685a;color:#a9bbb0}[data-theme=dark] .day-chip input:checked+span{background:#3f8a6c;border-color:#3f8a6c;color:#fff}[data-theme=dark] .text-button.danger{color:#f97066}
@media(max-width:820px){.position-row{grid-template-columns:1fr 1fr}.position-name,.position-days,.position-actions{grid-column:1/-1}.position-days{display:grid;grid-template-columns:repeat(6,1fr)}.day-chip span{min-width:0}.position-actions{justify-content:flex-end}}

/* Week notes and one-off shift times */
.note-form{display:flex;flex-direction:column;gap:8px;margin:4px 0 14px}.note-form textarea{width:100%;border:1px solid #dfe5dc;border-radius:8px;padding:9px 10px;font:inherit;font-size:14px;resize:vertical;min-height:58px}
.note-team{display:flex;align-items:center;gap:7px;font-size:13px}.note-buttons{display:flex;gap:8px;justify-content:flex-end}
.note-item{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline;justify-content:space-between}.note-item.editing{display:block}.note-text{white-space:pre-wrap;flex:1 1 220px}
.note-tags{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.note-badge{font-size:11px;padding:2px 8px;border-radius:999px;background:#e5f2ea;color:#2d6b54}.note-badge.private{background:#f2efe5;color:#7a6a3a}
.shift-time{border:1px solid var(--line);border-radius:10px;padding:10px 12px 12px;margin:12px 0;display:flex;flex-wrap:wrap;gap:8px 12px;align-items:end}.shift-time legend{font-size:13px;font-weight:600;padding:0 4px}
.shift-time label{display:flex;flex-direction:column;gap:4px;font-size:12px}.shift-time input{min-height:38px;border:1px solid #dfe5dc;border-radius:8px;padding:6px 8px;font:inherit}.shift-time small{flex-basis:100%;font-size:12px;color:var(--muted,#6a7a74)}
.shift-own-time{display:flex;align-items:center;gap:4px;margin-top:4px;font-size:11px;font-weight:700;color:#b54708}.shift-own-time svg{width:12px;height:12px}
[data-theme=dark] .note-form textarea,[data-theme=dark] .shift-time input{background:#20342b;color:#e0ece5;border-color:#52685a}[data-theme=dark] .note-badge{background:#1f3d31;color:#9fd8bd}[data-theme=dark] .note-badge.private{background:#3a3524;color:#e3cf8f}[data-theme=dark] .shift-own-time{color:#fdb022}
.note-list .note-item .note-text{font-size:14px;font-weight:500;line-height:1.6}
.note-form textarea{font-weight:400}

/* Fixed roster by person (like the roster spreadsheet) */
.fixed-tabs{display:inline-flex;margin-bottom:16px}
.fixed-people .schedule-toolbar{flex-wrap:wrap}.fp-table{border-collapse:collapse;min-width:100%;font-size:13px}
.fp-table th,.fp-table td{border:1px solid var(--line);padding:6px 8px;text-align:center;white-space:nowrap}
.fp-table thead th{background:#f6f8f4;font-size:11px;letter-spacing:.5px;color:#4a5d52}.fp-sub{font-weight:600}
.fp-day-0{--day:#ead1dc}.fp-day-1{--day:#c9f2c9}.fp-day-2{--day:#ffd6a8}.fp-day-3{--day:#cfe2f3}.fp-day-4{--day:#d9d2e9}.fp-day-5{--day:#f4cccc}
.fp-table thead .fp-day{background:var(--day);color:#2b2b2b;font-size:12px}.fp-table thead .fp-sub{background:color-mix(in srgb,var(--day) 45%,#fff);color:#3a3a3a}
.fp-section th{background:#fff35c;color:#1f1f1f;text-align:left;font-size:13px;letter-spacing:1px}.fp-group th{background:#f1f4ee;text-align:left;font-weight:700;color:#365d48}
.fp-name-col{text-align:left!important;min-width:130px;position:sticky;left:0;background:#fff;z-index:1}.fp-name-col small{display:block;font-weight:500;font-size:11px;color:#6a7a74}.fp-you{color:#2d6b54!important;font-weight:700!important}
.fp-shift{font-size:11px;color:#6a7a74}.fp-time{font-variant-numeric:tabular-nums}.fp-off{background:#fafbf9}
.fp-total{font-weight:700;font-variant-numeric:tabular-nums;background:#f6f8f4}.fp-sat{background:#ece7f5}.fp-sun{background:#fbe3e3}.fp-grand{background:#e5f2ea;color:#2d6b54}
.fp-me td,.fp-me th{box-shadow:inset 0 0 0 999px #fff8d6}.fp-note{padding:12px 16px;font-size:12px;color:#6a7a74}
.fp-section .text-button,.fp-group .text-button{margin-left:12px;font-size:12px}
.fp-editor input[type=time]{width:92px;min-height:32px;border:1px solid #dfe5dc;border-radius:6px;padding:3px 4px;font:inherit;font-size:12px}
.fp-name-edit input,.fp-name-edit select{display:block;width:100%;min-width:150px;min-height:32px;border:1px solid #dfe5dc;border-radius:6px;padding:4px 6px;font:inherit;font-size:13px;margin-bottom:4px}
.fp-group-name{min-height:32px;border:1px solid #dfe5dc;border-radius:6px;padding:4px 8px;font:inherit;font-weight:700;width:220px}
.fp-row-tools{display:flex;gap:4px;align-items:center}.fp-row-tools .icon-button{width:28px;min-height:28px}.fp-save{padding:16px}
.fp-save{display:flex;gap:10px;justify-content:flex-end;align-items:center;flex-wrap:wrap;border-top:1px solid var(--line)}#fp-state{margin-right:auto;font-size:12px;color:#8a6d1f}
[data-theme=dark] .fp-table thead th{background:#1f2f28;color:#cfe0d6}[data-theme=dark] .fp-table thead .fp-day,[data-theme=dark] .fp-table thead .fp-sub{color:#1d1d1d}
[data-theme=dark] .fp-name-col{background:#17261f}[data-theme=dark] .fp-group th{background:#1f2f28;color:#9fd8bd}[data-theme=dark] .fp-off{background:#14211b}
[data-theme=dark] .fp-total{background:#1f2f28}[data-theme=dark] .fp-sat{background:#2a2538}[data-theme=dark] .fp-sun{background:#3a2526}[data-theme=dark] .fp-grand{background:#1f3d31;color:#9fd8bd}
[data-theme=dark] .fp-me td,[data-theme=dark] .fp-me th{box-shadow:inset 0 0 0 999px #3a3520}
[data-theme=dark] .fp-editor input,[data-theme=dark] .fp-name-edit select,[data-theme=dark] .fp-group-name{background:#20342b;color:#e0ece5;border-color:#52685a}
@media print{.fixed-tabs{display:none}}
.fp-editor input[type=time]{width:112px}.fp-name-col{font-weight:600;color:#24372d}
[data-theme=dark] .fp-name-col{color:#e0ece5}[data-theme=dark] .fp-name-col small{color:#a9bbb0}
[data-theme=dark] .fp-table thead .fp-day{background:var(--day);color:#1d1d1d}[data-theme=dark] .fp-table thead .fp-sub{background:color-mix(in srgb,var(--day) 55%,#1f2f28);color:#141414}
[data-theme=dark] .fp-shift{color:#a9bbb0}[data-theme=dark] .fp-section th{background:#e8d94a;color:#1d1d1d}
.fixed-people .table-wrap{overflow-x:auto}.fixed-people .table-wrap table.fp-table{table-layout:auto!important;width:max-content!important;min-width:100%}
.fp-table td,.fp-table th{min-width:0}.fp-table .fp-time{min-width:96px}.fp-editor td.fp-edit{min-width:120px;padding:4px}
.fp-section .text-button{color:#1d4d3a!important;font-weight:700}
@media(max-width:600px){.fp-table{font-size:12px}.fp-name-col{min-width:104px}.fp-table .fp-time{min-width:88px}}
/* Typed 24-hour times keep the editor narrow */
.fp-editor td.fp-edit{min-width:0;padding:3px}.fp-editor input.fp-t{width:58px;min-height:30px;border:1px solid #dfe5dc;border-radius:6px;padding:3px 4px;text-align:center;font:inherit;font-size:12px;font-variant-numeric:tabular-nums}
.fp-editor input.fp-t::placeholder{color:#b5bfb8}.fp-editor input.fp-t.fp-bad{border-color:#d92d20;background:#fef3f2}
.fp-editor .fp-day{min-width:0}
[data-theme=dark] .fp-editor input.fp-t{background:#20342b;color:#e0ece5;border-color:#52685a}[data-theme=dark] .fp-editor input.fp-t::placeholder{color:#5f7568}[data-theme=dark] .fp-editor input.fp-t.fp-bad{border-color:#f97066;background:#3a1f1d}
/* Editor: fixed column widths, so every IN/OUT column is the same size. */
.fixed-people .table-wrap table.fp-table.fp-editor{table-layout:fixed!important;width:1300px!important;min-width:0}
.fp-editor col.fp-c-name{width:180px}.fp-editor col.fp-c-shift{width:56px}.fp-editor col.fp-c-t{width:66px}.fp-editor col.fp-c-total{width:68px}
.fp-editor .fp-name-edit input,.fp-editor .fp-name-edit select{min-width:0}.fp-editor .fp-group-name{width:170px;max-width:100%}
.fp-editor th,.fp-editor td{overflow:hidden}.fp-editor .fp-section th,.fp-editor .fp-group th{overflow:visible}
.fixed-target{flex-shrink:0}.fixed-target input{width:58px;min-height:40px;padding:6px 8px;font-size:15px;text-align:center;border:1px solid #cedbd3;border-radius:8px;background:white;color:inherit}
[data-theme=dark] .fixed-target input{background:#18241f;border-color:#3b4a43}
/* Header: logo and shop name with the account tools on the first row, page tabs on the second. */
header.topbar .topbar-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand tools" "nav nav";align-items:center;gap:0 20px;padding:14px 44px 0;min-height:0}
header.topbar .brand-wrap{grid-area:brand;display:flex;align-items:center;gap:18px;min-width:0}
header.topbar .brand{width:auto;flex-shrink:0}
header.topbar .brand-logo{height:52px}
.brand-branch{display:flex;align-items:center;min-width:0;min-height:42px;border-left:2px solid var(--line);padding-left:18px}
.brand-branch b{font-family:Manrope,sans-serif;font-size:24px;font-weight:800;letter-spacing:-.6px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brand-branch .branch-switch{position:relative;border:0;border-radius:10px;background:none;padding:0;gap:0;min-width:0}
.brand-branch .branch-switch svg{position:absolute;right:4px;top:50%;width:18px;height:18px;margin-top:-9px;pointer-events:none;opacity:.7}
/* Beats the dark-mode form-field rule in appearance.css. */
html header.topbar .brand-branch #branch-select{appearance:none;-webkit-appearance:none;border:0;background:none;color:inherit;font-family:Manrope,sans-serif;font-size:24px;font-weight:800;letter-spacing:-.6px;padding:2px 30px 2px 0;min-height:42px;max-width:100%;field-sizing:content;text-overflow:ellipsis;cursor:pointer}
html[data-theme=dark] header.topbar .brand-branch #branch-select,[data-theme=dark] .brand-branch b{color:#f1f7f3}
#branch-select option{font-size:15px;font-weight:600;color:#22332f;background:#fff}
header.topbar .topbar-tools{grid-area:tools;display:flex;align-items:center;gap:10px}
header.topbar :is(#push-toggle,#theme-toggle){margin:0;width:44px;height:44px}
header.topbar #account-bar{display:block;margin:0;width:auto}
header.topbar nav{grid-area:nav;display:flex;justify-content:flex-start;gap:2px;margin:12px -14px 0;min-height:52px;overflow-x:auto;scrollbar-width:none}
header.topbar nav::-webkit-scrollbar{display:none}
header.topbar nav button{flex:none;white-space:nowrap;padding:0 14px}
.account-menu{position:relative}
.account-menu>summary{list-style:none;display:flex;align-items:center;gap:10px;min-height:44px;padding:4px 12px 4px 4px;border:1px solid var(--line);border-radius:999px;cursor:pointer;user-select:none}
.account-menu>summary::-webkit-details-marker{display:none}
.account-menu>summary>svg{width:16px;height:16px;opacity:.6;transition:transform .15s}
.account-menu[open]>summary>svg{transform:rotate(180deg)}
.account-menu>summary:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.account-avatar{width:34px;height:34px;border-radius:50%;background:#286d57;color:#fff;display:grid;place-items:center;font:800 15px Manrope,sans-serif}
.account-who b{display:block;font-size:14px;line-height:1.2}
#account-bar .account-who small{margin-top:2px;font-size:11px}
.account-menu-list{position:absolute;right:0;top:calc(100% + 8px);z-index:60;min-width:220px;display:flex;flex-direction:column;padding:6px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 14px 36px rgba(20,40,30,.16)}
#account-bar .account-menu-list .text-button{text-align:left;padding:11px 12px;border-radius:9px;color:inherit;font-size:14px;font-weight:600;min-height:42px}
#account-bar .account-menu-list .text-button:hover{background:#eef3ea}
#account-bar .account-menu-list #sign-out-all{color:#a2482a;border-top:1px solid var(--line);border-radius:0 0 9px 9px;margin-top:4px}
[data-theme=dark] .account-menu>summary{border-color:#52685a}
[data-theme=dark] .account-avatar{background:#4f9d80;color:#0f1f18}
[data-theme=dark] .account-menu-list{background:#1f2f29;border-color:#35483f;box-shadow:0 14px 36px rgba(0,0,0,.45)}
[data-theme=dark] #account-bar .account-menu-list .text-button:hover{background:#2a3f36}
[data-theme=dark] #account-bar .account-menu-list #sign-out-all{color:#f0a58a}
[data-theme=dark] #branch-select option{color:#e0ece5;background:#1f2f29}
@media(max-width:800px){header.topbar .topbar-inner{padding:12px 20px 0}header.topbar nav{margin:10px -10px 0}}
@media(max-width:600px){
 header.topbar .topbar-inner{padding:12px 15px 0;gap:0 10px}
 header.topbar .topbar-inner{grid-template-areas:"brand tools" "branch branch" "nav nav"}
 header.topbar .brand-wrap{display:contents}
 header.topbar .brand{grid-area:brand;align-self:center}
 header.topbar .brand-branch{grid-area:branch;margin-top:6px}
 header.topbar .brand-logo{height:38px}
 .brand-branch{border-left:0;padding-left:0;min-height:0;max-width:100%}
 .brand-branch b,#branch-select{font-size:18px}
 #branch-select{min-height:30px;padding-right:24px}
 header.topbar .topbar-tools{gap:8px}
 .account-who{display:none}
 .account-menu>summary{padding:4px 8px 4px 4px;gap:4px;min-height:44px}
 header.topbar nav{margin:8px -8px 0;min-height:46px}
 header.topbar nav button{padding:0 11px;font-size:13px;min-height:46px}
}
.fixed-code-form label{min-width:200px}.fixed-code-form input{max-width:200px;letter-spacing:.2em;font-variant-numeric:tabular-nums}.fixed-code-form .hint{flex-basis:100%;margin:0;font-size:12px;line-height:1.6;color:var(--muted)}
/* Clock in from your phone (Schedule page, when the branch has it on). */
.phone-clock{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px 22px;margin:0 0 22px;box-shadow:0 1px 2px #30492d0a,0 10px 28px #30492d0d}
.pc-head{display:flex;align-items:center;gap:16px}
.pc-head>div{flex:1;min-width:0}
.pc-head h2{font-family:Manrope,sans-serif;font-size:19px;letter-spacing:-.3px;margin:4px 0 3px}
.pc-head p{font-size:13px;color:var(--muted);line-height:1.5}
.pc-badge{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;flex:none;background:#eef3ea;color:#286d57}
.pc-badge svg{width:24px;height:24px}
.pc-badge-in{background:#286d57;color:#fff}
.pc-badge-warn{background:#fff1df;color:#a2482a;font:800 22px Manrope,sans-serif}
.pc-button{min-width:160px;min-height:50px;font-size:16px;flex:none}
.pc-button.pc-out{background:#b8502e;border-color:#b8502e}
.pc-note{display:flex;gap:6px;align-items:flex-start;font-size:12px;line-height:1.5;color:var(--muted);margin:12px 0 0}
.pc-note svg{width:14px;height:14px;flex:none;margin-top:2px}
.pc-message{margin:12px 0 0;font-size:14px;font-weight:600;color:var(--green)}
.pc-message.pc-error{color:#b42318}
.pc-missed{display:flex;flex-wrap:wrap;gap:10px 12px;align-items:end;margin-top:14px}
.pc-missed label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:var(--muted);flex:1;min-width:150px}
.pc-missed input{border:1px solid var(--line);border-radius:10px;padding:10px 12px;font:inherit;font-size:15px;min-height:44px;color:inherit;background:#fff}
.pc-missed .primary{min-height:44px}
[data-theme=dark] .phone-clock{background:#192722;border-color:var(--line);box-shadow:none}
[data-theme=dark] .pc-badge{background:#23362e;color:#8ad4b6}
[data-theme=dark] .pc-badge-in{background:#347c62;color:#fff}
[data-theme=dark] .pc-badge-warn{background:#3a2a1a;color:#f4c58a}
[data-theme=dark] .pc-button.pc-out{background:#c4673f;border-color:#c4673f}
[data-theme=dark] .pc-message.pc-error{color:#ff9b8a}
@media(max-width:600px){.phone-clock{padding:16px;border-radius:14px;margin-bottom:18px}.pc-head{flex-wrap:wrap;gap:12px}.pc-head>div{flex-basis:calc(100% - 64px)}.pc-head h2{font-size:17px}.pc-button{width:100%;min-height:52px}.pc-missed label{flex-basis:100%}.pc-missed .primary,.pc-missed .text-button{width:100%}}
@media print{.phone-clock{display:none!important}}
.phone-settings{display:flex;flex-direction:column;gap:12px;margin-bottom:8px}
.phone-settings .phone-on{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600}
.phone-settings .phone-on input{width:20px;height:20px;accent-color:var(--green)}
.phone-row{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:end}
.phone-row label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--muted);min-width:180px}
.phone-row input{border:1px solid var(--line);border-radius:8px;padding:9px 10px;font:inherit;font-size:14px;min-height:42px;max-width:220px}
.phone-row .secondary{display:inline-flex;align-items:center;gap:6px;min-height:42px}.phone-row .secondary svg{width:16px;height:16px}
.phone-map a{font-size:13px;color:var(--green);font-weight:600}
.phone-settings .hint{margin:0;font-size:12px;line-height:1.6;color:var(--muted)}
/* Timesheet dialog: summary first, then one card per worked span. */
.ts-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:10px}
.ts-overview>div{border:1px solid var(--line);border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;gap:2px;min-width:0}
.ts-overview small{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.ts-overview b{font-size:18px;overflow-wrap:anywhere}
.ts-overview span{font-size:12px;color:var(--muted)}
.ts-notes{margin-bottom:10px;font-size:12px;color:var(--muted)}
.ts-todo{border-radius:12px;padding:10px 14px;margin-bottom:12px;font-size:14px}
.ts-todo ul{margin:6px 0 0;padding-left:18px;display:grid;gap:4px}
.ts-todo-ok{background:#e8f5ec;color:#1f5a35}
.ts-todo-warn{background:#fff4e5;color:#7a430c}
.ts-span-card{border:1px solid var(--line);border-radius:14px;padding:14px;margin-bottom:10px}
.ts-span-card-problem{border-color:#e7a35a}
.ts-span-card-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:8px}
.ts-span-card-hours{font-weight:700;font-size:15px}
.ts-times{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px;align-items:start}
.ts-times input{width:100%;font-size:18px!important;font-weight:600}
.ts-arrow{padding-top:30px;color:var(--muted);font-size:18px}
.ts-missing{color:#b42318;font-weight:700}
.ts-span-card .ts-review{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;margin:10px 0 0}
.ts-span-card .ts-review>span{flex:1 1 220px}
.ts-save-row{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin-top:12px;padding-top:12px;border-top:1px dashed var(--line)}
.ts-save-row .ts-reason{flex:1 1 240px;margin:0}
.ts-save-row[hidden]{display:none}
.ts-more{margin-top:10px;font-size:13px}
.ts-more summary{cursor:pointer;color:var(--muted);min-height:32px;display:flex;align-items:center}
.ts-more>*:not(summary){margin-top:8px}
.ts-source{font-size:12px;color:var(--muted);line-height:1.5}
.ts-danger{color:#b42318!important}
.ts-add-wrap{border:1px dashed var(--line);border-radius:14px;padding:10px 14px;margin-bottom:10px}
.ts-add-wrap summary{cursor:pointer;font-weight:700;min-height:32px;display:flex;align-items:center}
.ts-add-wrap .ts-add{border:0;padding:8px 0 0;margin:0}
.ts-add .ts-reason{margin:10px 0}
.ts-saved{color:#1f7a45;font-weight:700;font-size:14px;min-height:1em}
.ts-cell.ts-just-edited{outline:3px solid #3f9b6a;outline-offset:-2px;transition:outline-color 2s}
[data-theme=dark] .ts-todo-ok{background:#183326;color:#bfe8cd}
[data-theme=dark] .ts-todo-warn{background:#3a2a14;color:#f4c58a}
[data-theme=dark] .ts-span-card-problem{border-color:#9a6a33}
[data-theme=dark] :is(.ts-missing,.ts-danger){color:#ff9b8f!important}
[data-theme=dark] .ts-saved{color:#8fdcae}
@media (max-width:560px){.ts-overview{grid-template-columns:1fr 1fr}.ts-overview>div:nth-child(2){grid-column:1/-1;order:-1}.ts-dialog{padding:18px 14px}}
.ts-span-card .ts-review>span{min-width:0;white-space:normal;overflow-wrap:anywhere}
.ts-dialog{overflow-x:hidden}
.ts-dialog .ts-error:not(:empty){margin:-4px 0 10px;padding:8px 12px;border-radius:10px;background:#fdecea}
[data-theme=dark] .ts-dialog .ts-error:not(:empty){background:#3b1d1a;color:#ffb4a9}
.ts-dialog .ts-saved:not(:empty){margin:0 0 12px}
@media (max-width:560px){.ts-times{gap:6px}.ts-times input{font-size:16px!important;padding:8px 6px!important}.ts-arrow{font-size:14px}}
.ts-table{table-layout:auto}
.ts-table td:has(>.ts-cell){width:10%}
/* One row per person: each day stacks a Lunch part and a Dinner part. */
.ts-day{display:flex;flex-direction:column;gap:4px}
.ts-part+.ts-part{border-top:1px dashed var(--line);border-radius:0 0 8px 8px;padding-top:6px}
.ts-part-label{font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;border-radius:4px;padding:1px 5px;margin-bottom:1px}
.ts-part-lunch .ts-part-label{background:#ffe7c2;color:#8a4b0f}
.ts-part-dinner .ts-part-label{background:#dfe6f7;color:#2e4a7d}
[data-theme=dark] .ts-part-lunch .ts-part-label{background:#5a3a14;color:#ffd9a3}
[data-theme=dark] .ts-part-dinner .ts-part-label{background:#22345a;color:#c9d8ff}
/* Today panel: one entry per person, a line per shift. */
.ts-today-shifts{display:grid;gap:4px}
.ts-today-line{display:flex;flex-direction:column}
.ts-today-panel .ts-today-status.ts-tone-in{color:var(--green)}
.ts-today-panel .ts-today-status.ts-tone-bad{color:#b42318;font-weight:700}
[data-theme=dark] .ts-today-panel .ts-today-status.ts-tone-bad{color:#ffb4a8}
.ts-extras{margin-top:10px;border:1px dashed #e7a35a;border-radius:10px;padding:8px 12px;font-size:13px}
.ts-extras ul{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:4px}
.ts-extras li{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.ts-extras small{color:var(--muted)}
[data-theme=dark] .ts-extras{border-color:#9a6a33}
.pc-other{margin-top:8px}
