:root{color-scheme:light;--nav:#111c30;--muted:#57677d;--ink:#17243a;--blue:#254edb;--blueDark:#1f40b2;--line:#e2e8f1;--bg:#f4f6fb;--paper:#fff;--green:#00694e;--amber:#8b4b10;--red:#a02f42;--shadow:0 2px 6px #15233b08;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg)}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #6c8aff;outline-offset:3px}button{color:inherit}button svg,span[data-icon] svg{width:1.15rem;height:1.15rem;vertical-align:middle;flex-shrink:0}svg{display:inline-block}p{margin:0;line-height:1.53}.skip{position:fixed;left:1rem;top:-5rem;z-index:10;background:#fff;padding:.8rem}.skip:focus{top:1rem}.shell{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100vh}.side{background:var(--nav);color:#e8efff;display:flex;flex-direction:column;padding:1.35rem 1rem 1rem;position:sticky;top:0;height:100dvh;overflow:auto;border-right:1px solid #243049}.brand{border:0;background:none;color:white;text-align:left;display:flex;gap:.72rem;align-items:center;padding:0 .25rem;font-size:1.13rem;font-weight:750;letter-spacing:-.03em}.brand small{display:block;color:#a6b4d2;font-size:.57rem;letter-spacing:.13em;font-weight:700;margin-top:.18rem}.mark{width:2.55rem;height:2.55rem;border-radius:.72rem;background:#4267f2;display:grid;place-items:center;box-shadow:inset 0 1px 0 #ffffff35}.mark svg{width:1.45rem!important;height:1.45rem!important}.venue{display:flex;gap:.63rem;align-items:center;background:#1a2941;border:1px solid #2a3952;border-radius:.7rem;padding:.58rem;margin:1.7rem 0 1.65rem;white-space:nowrap}.venue strong,.profile strong,.sandbox-note strong{font-size:.85rem;display:block}.venue small,.profile small,.sandbox-note small{color:#afbed8;font-size:.72rem;display:block;margin-top:.18rem}.venue-badge,.profile-avatar{display:grid;place-items:center;width:2.05rem;height:2.05rem;border-radius:.48rem;background:#dce7ff;color:#203e7d;font-weight:800;font-size:.8rem;flex-shrink:0}.nav-label{display:block;font-size:.64rem;letter-spacing:.12em;color:#a6b4cf;font-weight:750;margin:0 0 .45rem .68rem}.nav-btn{background:none;border:0;color:#c5d1e8;width:100%;display:flex;align-items:center;gap:.68rem;text-align:left;min-height:2.48rem;padding:.4rem .68rem;font-size:.88rem;border-radius:.52rem;margin:.11rem 0}.nav-btn:hover{background:#1e2d46;color:white}.nav-btn[aria-current=page]{background:#263b68;color:white;font-weight:700;box-shadow:inset 3px 0 #7899ff}.nav-group+.nav-group{margin-top:1.28rem}.side-end{margin-top:auto;padding-top:1.2rem}.sandbox-note,.profile{display:flex;align-items:center;gap:.62rem;padding:.68rem .25rem}.sandbox-note{border-top:1px solid #2b3a54;color:#c7d6f1}.profile-avatar{background:#263959;color:#deebff;border-radius:50%}.topbar{height:4.15rem;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 clamp(1rem,3vw,2.1rem);gap:1rem}.crumb,.top-actions,.controls,.filters,.legend,.inline,.title-actions{display:flex;align-items:center;gap:.62rem}.crumb{font-size:.85rem;color:var(--muted)}.crumb strong{color:var(--ink);font-weight:680}.divider{color:#8593a9;margin:0 .15rem}.demo{border-radius:1rem;background:#f0f3f9;padding:.33rem .66rem;font-size:.74rem;white-space:nowrap;font-weight:650;color:#485770}.demo i{display:inline-block;width:.44rem;height:.44rem;border-radius:50%;background:#687fa4;margin-right:.25rem;vertical-align:.09rem}main{width:min(100%,1500px);margin:auto;padding:1.85rem clamp(1rem,3vw,2.1rem) 2rem}main:focus{outline:none}.heading{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:1.25rem}.heading h1{margin:.23rem 0 .32rem;font-size:clamp(1.7rem,2.8vw,2.42rem);letter-spacing:-.054em;line-height:1.08}.heading p,.muted{color:var(--muted)}.heading p{font-size:.91rem}.eyebrow{display:flex;gap:.36rem;align-items:center;color:#485f88;font-size:.72rem;font-weight:750;letter-spacing:.105em;text-transform:uppercase}.eyebrow svg{width:.9rem!important;height:.9rem!important}.button,.icon-btn{display:inline-flex;align-items:center;justify-content:center;gap:.42rem;border:1px solid transparent;border-radius:.53rem;background:var(--blue);color:#fff;font-size:.86rem;font-weight:680;min-height:2.45rem;padding:.48rem .78rem;text-decoration:none;white-space:nowrap}.button:hover{background:var(--blueDark)}.button.secondary,.icon-btn{background:#fff;color:#2d3f5b;border-color:#dbe3ee;box-shadow:var(--shadow)}.button.secondary:hover,.icon-btn:hover{background:#edf2fc}.button.quiet{color:var(--blueDark);background:#edf2ff}.button.danger{color:var(--red);background:#fff0f2}.button.compact{font-size:.8rem;min-height:2.18rem;padding:.36rem .67rem}.icon-btn{width:2.35rem;padding:0}.mobile-menu{display:none}.week{gap:.34rem;background:#fff;border:1px solid var(--line);border-radius:.58rem;padding:.17rem}.week .icon-btn{border:0;box-shadow:none;width:1.83rem;min-height:1.9rem}.week strong{font-size:.82rem;padding:0 .42rem;white-space:nowrap}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.83rem;margin-bottom:1rem}.card,.metric{background:#fff;border:1px solid var(--line);border-radius:.83rem;box-shadow:var(--shadow);min-width:0}.metric{padding:.92rem .95rem}.metric-top{display:flex;align-items:center;justify-content:space-between;gap:.45rem;color:var(--muted);font-size:.83rem;font-weight:650}.tile-icon{display:grid;place-items:center;width:2rem;height:2rem;border-radius:.53rem;background:#eaf0ff;color:#294ac3;flex-shrink:0}.tile-icon.green{background:#e5f6ef;color:#006e52}.tile-icon.gold{background:#fff0db;color:#8f4e0c}.tile-icon.purple{background:#f0ebff;color:#6942af}.metric-value{font-size:clamp(1.35rem,2.5vw,2.03rem);letter-spacing:-.055em;font-weight:760;margin:.36rem 0 .17rem;line-height:1.12}.metric-note,.subtle{font-size:.78rem;color:var(--muted)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.63fr) minmax(0,1fr);gap:1rem}.card-head{padding:1rem 1rem .75rem;display:flex;align-items:flex-start;justify-content:space-between;gap:.55rem}.card h2{font-size:1.06rem;margin:0 0 .22rem;letter-spacing:-.025em}.card h3{margin:0;font-size:.95rem}.card-head p{font-size:.8rem;color:var(--muted)}.chart{padding:.22rem 1rem .2rem;display:grid;grid-template-columns:auto minmax(0,1fr);gap:.5rem}.chart-axis{height:7.6rem;display:flex;flex-direction:column;justify-content:space-between;text-align:right;font-size:.67rem;color:var(--muted);padding-bottom:.05rem}.plot{height:7.6rem;border-bottom:1px solid #dfe6f2;background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),#e8edf5 calc(25% - 1px),#e8edf5 25%);display:grid;grid-template-columns:repeat(7,minmax(0,1fr));align-items:end;gap:.3rem}.bar-unit{height:100%;display:flex;align-items:flex-end;justify-content:center;gap:3px;position:relative}.bar{width:min(29%,15px);border-radius:.23rem .23rem 0 0;background:#b8c8fa}.bar.actual{background:#4265ee}.bar-unit.is-today{background:#f1f5ff}.chart-labels{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center;grid-column:2;font-size:.69rem;color:var(--muted)}.chart-labels strong{color:var(--blueDark)}.legend{padding:.63rem 1rem .86rem;font-size:.73rem;color:var(--muted);gap:1rem}.legend i{display:inline-block;width:.51rem;height:.51rem;border-radius:.12rem;background:#b8c8fa;margin-right:.24rem}.legend i.actual{background:#4265ee}.action-list{padding:0 1rem}.action-row,.person-row{display:flex;align-items:center;gap:.6rem;border-top:1px solid #edf0f6;padding:.65rem 0;min-width:0}.action-row .grow,.person-row .grow{min-width:0;flex:1}.action-row strong,.person-row strong{display:block;font-size:.84rem}.action-row small,.person-row small{display:block;margin-top:.19rem;color:var(--muted);font-size:.73rem}.action-row .tile-icon{width:1.9rem;height:1.9rem}.action-row .tile-icon svg{width:1rem;height:1rem}.detail-button{background:none;border:0;color:var(--blueDark);font-size:.76rem;font-weight:720;padding:.45rem .1rem}.detail-button:hover{text-decoration:underline}.card-foot{padding:.68rem 1rem .92rem}.team-panel{margin-top:1rem}.team-panel .card-head{align-items:center}.team-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 1rem;padding:0 1rem .38rem}.avatar{display:grid;place-items:center;width:2rem;height:2rem;flex-shrink:0;border-radius:50%;background:#e8edff;color:#314aaa;font-size:.73rem;font-weight:750}.avatar.kitchen{background:#f4eafa;color:#704291}.avatar.floor{background:#e1f4ec;color:#006b50}.badge{display:inline-flex;align-items:center;gap:.25rem;border-radius:1rem;padding:.23rem .48rem;font-size:.71rem;font-weight:720;background:#eef2f8;color:#485a76;white-space:nowrap}.badge.green{background:#e4f6ed;color:var(--green)}.badge.amber{background:#fff0dc;color:var(--amber)}.badge.red{background:#fcebf0;color:var(--red)}.badge.blue{background:#e8efff;color:#274ab9}.filter-card{padding:.68rem .8rem;margin-bottom:.75rem;display:flex;justify-content:space-between;align-items:center;gap:.65rem;flex-wrap:wrap}.filters,.controls{flex-wrap:wrap}select,input{border:1px solid #cfd9e7;border-radius:.46rem;background:#fff;color:var(--ink);padding:.56rem .64rem;min-width:0}select{appearance:none;padding-right:2rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23445b7e' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-position:right .53rem center;background-repeat:no-repeat}.filters select,.filters input{font-size:.84rem}.table-scroll{overflow:auto;border-radius:.8rem}table{border-collapse:collapse;width:100%;text-align:left;font-size:.84rem}th,td{padding:.65rem .83rem;border-bottom:1px solid #edf0f6;vertical-align:middle}thead th{background:#f8faff;color:#495c7b;font-size:.75rem;font-weight:730;white-space:nowrap}tbody tr:last-child>*{border-bottom:0}tbody th{font-weight:650}td.number,th.number{text-align:right;font-variant-numeric:tabular-nums}table .person-row{border:0;padding:0}.rota-table{min-width:830px;table-layout:fixed}.rota-table th:first-child{width:155px}.rota-table td,.rota-table th{padding:.55rem .4rem}.rota-table th:first-child{padding-left:.7rem}.rota-table .weekend{background:#f5f7ff}.shift{display:block;text-align:left;width:100%;border:0;border-left:3px solid #5775e6;border-radius:.36rem;background:#e9efff;color:#233f94;padding:.37rem;font-size:.73rem;font-weight:730;margin:.2rem 0;white-space:nowrap}.shift.kitchen{background:#f5ebff;border-color:#9c65ca;color:#693d89}.shift.floor{background:#e7f7ef;border-color:#49a982;color:#065d47}.shift span{display:block;font-size:.68rem;font-weight:550;margin-top:.11rem}.shift:hover,.add-cell:hover{filter:brightness(.94)}.add-cell{display:block;width:100%;border:1px dashed #cad5e9;border-radius:.32rem;background:transparent;color:#4f6290;min-height:1.65rem}.add-cell:not(:focus):not(:hover){opacity:.58}.grid-two{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem}.space-bottom{margin-bottom:1rem}.body-pad{padding:0 1rem 1rem}.empty{padding:1.2rem;color:var(--muted);font-size:.9rem}.clock-face{text-align:center;padding:1.1rem}.clock-time{font-size:3rem;letter-spacing:-.06em;font-weight:750;line-height:1;font-variant-numeric:tabular-nums}.clock-face form{max-width:22rem;margin:1rem auto 0}.clock-face .button{width:100%;margin-top:.65rem}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.form-grid .full{grid-column:1/-1}label.field{display:flex;flex-direction:column;gap:.27rem;text-align:left;font-size:.84rem;font-weight:640;color:#344665}label.check{display:flex;flex-direction:row;align-items:center;gap:.5rem}.form-foot{display:flex;align-items:center;justify-content:flex-end;gap:.58rem;margin-top:1rem;flex-wrap:wrap}.form-foot .left{margin-right:auto}.form-error{color:#a12739;font-size:.83rem;margin:.55rem 0 0}.form-error:empty{display:none}dialog{border:1px solid var(--line);border-radius:.82rem;max-width:min(91vw,530px);width:100%;padding:1.2rem;color:var(--ink);box-shadow:0 20px 70px #11204744}dialog::backdrop{background:#14213983}.modal-head{display:flex;justify-content:space-between;gap:1rem;align-items:center;margin-bottom:1rem}.modal-head h2{font-size:1.25rem;margin:0;letter-spacing:-.025em}.notice{background:#edf2ff;border:1px solid #d9e3ff;color:#2a437e;border-radius:.52rem;padding:.68rem .8rem;font-size:.84rem;margin-bottom:.8rem}.stack{display:grid;gap:.7rem}.single{display:block}.checklist{display:grid;gap:.45rem;margin-top:.75rem}.checklist label{font-size:.84rem}.checklist input{accent-color:var(--blue)}#toast{position:fixed;right:1.1rem;bottom:1.1rem;background:#182841;color:#fff;max-width:min(90vw,385px);padding:.7rem .85rem;font-size:.86rem;border-radius:.55rem;z-index:20;box-shadow:0 5px 16px #13223936}#toast:empty{display:none}.nowrap{white-space:nowrap}
@media(max-width:1150px){.shell{grid-template-columns:204px minmax(0,1fr)}.side{padding-inline:.75rem}.dashboard-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}.team-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:880px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.heading{align-items:flex-start;flex-wrap:wrap}.team-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:690px){.shell{display:block}.side{display:none;position:fixed;top:3.75rem;bottom:0;left:0;width:min(78vw,245px);height:auto;z-index:4;box-shadow:0 10px 24px #17243a60}.side.open{display:flex}.mobile-menu{display:inline-flex}.topbar{height:3.75rem;padding-inline:.7rem}.crumb-venue,.divider{display:none}.top-actions{gap:.3rem}.top-actions .button{padding-inline:.45rem}main{padding:1.05rem .75rem 1.3rem}.heading{margin-bottom:.82rem}.metrics{gap:.5rem}.metric{padding:.68rem}.metric-top{font-size:.77rem}.metric-note{font-size:.72rem}.metric-value{font-size:1.53rem}.grid-two,.team-list{grid-template-columns:1fr}.title-actions{flex-wrap:wrap}.card-head{padding-inline:.77rem}.chart,.legend,.action-list,.team-list{padding-inline:.77rem}.filter-card{padding:.5rem}.form-grid{gap:.55rem}}
@media(prefers-reduced-motion:no-preference){button{transition:background .12s,filter .12s}}
.service-panel .card-head{align-items:center}.service-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;padding:.2rem 1rem .75rem}.service-metric{background:#f5f7fc;border:1px solid #e6ecf7;border-radius:.65rem;padding:.7rem .75rem}.service-metric>.subtle:first-child{font-weight:730}.service-caption,.service-note{font-size:.78rem;color:var(--muted);padding:0 1rem .55rem}.service-note{border-top:1px solid #edf0f6;padding:.55rem 1rem .68rem}
@media(max-width:690px){.service-metrics{grid-template-columns:1fr;padding-inline:.77rem;gap:.45rem}.service-caption,.service-note{padding-inline:.77rem}.service-panel .card-head{flex-wrap:wrap}}
.payroll-checks summary{display:flex;align-items:center;justify-content:space-between;gap:.55rem;list-style:none;padding:.76rem 1rem;cursor:pointer}.payroll-checks summary::-webkit-details-marker{display:none}.payroll-checks summary strong::before{content:"＋";display:inline-block;width:1.35rem;color:var(--blueDark)}.payroll-checks[open] summary strong::before{content:"−"}.payroll-hint{padding:0 1rem .55rem;font-size:.81rem;color:var(--muted)}
.rota-cover,.rota-availability{display:block;color:var(--muted);font-size:.72rem;font-weight:600;margin-top:.17rem}.rota-availability{white-space:normal;overflow-wrap:anywhere;margin-bottom:.3rem}
[hidden]{display:none!important}.entry{max-width:37rem;margin:10vh auto 0;padding:1.2rem;background:#fff;border:1px solid var(--line);border-radius:.85rem}.entry h1{font-size:1.45rem;margin:0 0 .45rem}.entry .controls{margin-top:1rem}.staff-top{display:flex;align-items:center;justify-content:space-between;gap:.8rem;background:var(--nav);color:white;padding:.8rem max(1rem,calc((100vw - 43rem)/2));white-space:nowrap}.staff-top small{display:block;color:#b8c5de;font-size:.74rem;margin-top:.17rem}.staff-main{max-width:45rem;padding:1.25rem 1rem 2rem}.staff-main .card-head{flex-wrap:wrap;align-items:center}.staff-main .body-pad .button{min-height:2.75rem}.workspace-sync{position:fixed;inset:0;background:#f4f6fb88;z-index:8;display:grid;place-items:center}.workspace-sync span{padding:.75rem 1rem;background:#fff;border:1px solid var(--line);border-radius:.65rem;box-shadow:var(--shadow)}.staff-access-help{margin-bottom:1rem}.staff-access-help p+p{margin-top:.4rem}
.shift[draggable="true"]{cursor:grab}.shift[draggable="true"]:active{cursor:grabbing}.rota-availability.unavailable{color:var(--red)}.availability-row{display:grid;grid-template-columns:1fr 1.15fr 1fr 1fr;gap:.45rem;align-items:end;padding-block:.3rem;border-bottom:1px solid var(--line)}.availability-row strong{font-size:.82rem;align-self:center}.availability-row input,.availability-row select{width:100%;font-size:.85rem}@media(max-width:540px){.availability-row{grid-template-columns:1fr 1fr}.availability-row strong{grid-column:1/-1}.availability-row label:first-of-type{grid-column:1/-1}}
