:root{color-scheme:light;--pp-chip-bg:#dfe2e6;--pp-chip-text:#3d4652;--pp-chip-border:#6b7685;--pp-tick:#6b7685;--pp-current-bg:#e2eaf5;--brand-blue:#071f46;--brand-on-blue:#fff;--brand-blue-shadow:rgba(7,31,70,.08);--brand-blue-faint-shadow:rgba(7,31,70,.03);--bg:#fff;--paper:#ffffff;--text:var(--brand-blue);--muted:#53657c;--line:#d7e1ee;--field-border:#8090a5;--accent:var(--brand-blue);--green:#266447;--red:#b13b42;--leave-text:#5e2b7e;--leave-bg:#f4eef9;--leave-stripe:#8a4fb0;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--bg)}
*{box-sizing:border-box}body{margin:0}main{max-width:1440px;margin:auto;padding:30px}button,select,input{font:inherit;color:inherit}button{cursor:pointer;background:var(--paper);border:1px solid var(--field-border);border-radius:8px;min-height:44px;padding:8px 14px}button:hover{border-color:var(--accent);background:#eaf1fb}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #3478c9;outline-offset:3px}.masthead{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}h1{font-size:clamp(24px,3vw,35px);letter-spacing:-.04em;margin:5px 0}h2{font-size:20px}h3{font-size:17px;margin:0 0 14px}.eyebrow{font-size:12px;letter-spacing:.17em;font-weight:700;color:var(--accent);margin:0}.subtitle{color:var(--muted);font-size:14px;margin:7px 0}.dev-badge{font-size:12px;letter-spacing:.12em;border:1px solid var(--accent);padding:8px 12px;border-radius:20px;color:var(--accent)}.controls{display:flex;align-items:end;gap:18px;flex-wrap:wrap}.view-switch{display:flex;gap:3px;background:#e8eff7;padding:4px;border-radius:10px}.view-switch button{border:none;background:transparent}.view-switch button[aria-pressed=true]{background:var(--accent);color:var(--brand-on-blue)}.employee-control,.date-control{display:flex;flex-direction:column;gap:5px;font-size:12px;color:var(--muted)}select,input{border:1px solid var(--field-border);background:var(--paper);border-radius:8px;padding:9px;min-height:44px;color:var(--text);font-size:14px}select{min-width:190px}.date-navigation{display:flex;gap:6px;align-items:end;margin-left:auto}.period-title{margin:28px 0 14px}.synthetic{padding:12px 16px;border:1px dashed #9cb4d1;background:#eef4fc;color:#25476d;border-radius:10px;font-size:13px;margin-bottom:22px}.shift-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.shift{background:var(--paper);border:1px solid var(--line);border-radius:13px;padding:20px}.shift h3{display:flex;gap:9px;align-items:center}.shift-dot{width:9px;height:9px;border-radius:50%;background:#183b63}.shift-dot.D{background:#3975b9}.shift-dot.E{background:#79a2d3}ul{padding:0;margin:12px 0;list-style:none}.person{display:flex;align-items:center;flex-wrap:wrap;gap:8px;border-top:1px solid #e7edf5;padding:12px 0;font-size:14px}.role{font-size:10px;font-weight:700;letter-spacing:.07em;background:#e8eff7;border-radius:4px;padding:3px 5px}.state{font-size:11px;color:var(--red)}.unresolved{color:var(--red)}.staffing{font-size:12px;color:var(--muted);padding:10px;background:#eef3f9;border-radius:7px}.staffing span{display:block;margin-top:4px}.staffing.met{color:var(--green);background:#e8f3ed}.staffing.short{color:var(--red);background:#fff0f1}.empty{color:var(--muted);font-size:13px;padding:15px 0}.week-view{display:grid;gap:20px}.week-view .day h2{font-size:16px}.calendar{overflow:auto;background:var(--paper);border:1px solid var(--line);border-radius:12px}.weekdays,.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));min-width:700px}.weekdays{background:#e8eff7;text-align:center;font-size:12px;padding:12px 0}.calendar-day,.calendar-pad{min-height:150px;padding:8px;border-right:1px solid var(--line);border-top:1px solid var(--line)}.date-link{border:none;min-height:32px;padding:3px 8px;font-weight:600}.mini-assignment{font-size:11px;margin:6px 0;overflow-wrap:anywhere}.mini-assignment b{color:var(--accent)}.mini-assignment small{display:block;color:var(--muted)}.more{font-size:11px;padding:3px 5px;min-height:30px}.year-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.year-month{border:1px solid var(--line);background:var(--paper);padding:15px;border-radius:12px}.year-month h2{margin:0 0 12px}.year-month h2 button{border:none;padding:0;background:transparent;font-size:16px}.year-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.year-days button{font-size:11px;padding:3px;min-height:32px;border:none;background:transparent}.year-days .has-duty{background:#e3edf9;border-radius:5px;color:var(--green)}.diagnostics{padding:12px 16px;background:#fff0f1;color:var(--red);border-radius:8px;font-size:13px;margin-bottom:20px}.diagnostics ul{max-height:200px;overflow:auto}.diagnostics li{margin:5px 0}.error{color:var(--red)}footer{text-align:center;color:var(--muted);font-size:12px;margin:32px 0 10px}
@media(max-width:1000px){.year-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.date-navigation{margin-left:0}}
@media(max-width:700px){main{padding:18px 14px}.masthead{margin-bottom:20px}.shift-grid{grid-template-columns:1fr}.controls{gap:12px}.view-switch{width:100%}.view-switch button{flex:1}.employee-control{width:100%}select{width:100%}.date-navigation{width:100%;flex-wrap:wrap}.date-control{flex:1;min-width:145px}.year-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.year-month{padding:9px}.year-days{gap:1px}.year-days button{padding:1px;min-height:30px}.period-title{font-size:18px}.shift{padding:17px}}
.app-nav{display:flex;gap:8px;border-bottom:1px solid var(--line);padding-bottom:16px}.app-nav button{border:none;background:transparent}.app-nav button[aria-current=page]{background:var(--accent);color:var(--brand-on-blue)}.demo-bar{display:flex;gap:16px;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted);margin:18px 0 30px;padding:12px 16px;border:1px dashed #9cb4d1;border-radius:10px}.demo-bar p{margin:0}.demo-bar label{display:flex;align-items:center;gap:8px}.demo-bar select{min-width:180px;font-size:12px}.home-heading{margin:30px 0}.home-heading h2{font-size:30px;letter-spacing:-.03em;margin:10px 0}.home-heading>p:last-of-type{color:var(--muted);font-size:14px}.dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.dashboard-card{padding:24px;background:var(--paper);border:1px solid var(--line);border-radius:14px}.dashboard-card h3{font-size:23px;letter-spacing:-.025em;line-height:1.3}.dashboard-card>p:not(.card-label){color:var(--muted);font-size:14px}.card-label{text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:700;color:var(--muted);margin:0 0 20px}.today-card{background:var(--brand-blue)}.primary{background:var(--accent);color:var(--brand-on-blue);border:none;margin-top:15px}.metric-note{display:block;font-size:12px;color:var(--muted);margin-top:25px;line-height:1.6}.next-duty{border-top:1px solid rgba(255,255,255,.28);margin-top:24px;padding-top:18px}.next-duty .card-label{color:#d9e6f8;margin-bottom:8px}.next-duty strong{display:block}.next-duty p:last-child{color:#d9e6f8;font-size:14px;margin-bottom:0}.home-updates-card{display:block;min-height:0}.home-updates-card .card-label{margin-bottom:10px}.home-notifications{border:0;padding:0}.home-notifications>p:last-child{color:var(--muted);font-size:13px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.upcoming{margin-top:35px}.upcoming ul{background:var(--paper);border:1px solid var(--line);border-radius:13px;padding:0 20px}.upcoming li{padding:16px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);font-size:14px}.upcoming li:last-child{border-bottom:none}.upcoming small{display:block;color:var(--muted);margin-top:5px;font-size:11px}.shift-pill{padding:7px 12px;border-radius:20px;background:#e6eef8;color:#183b63;font-size:12px}.shift-pill.D{background:#eaf2fc;color:#245b97}.shift-pill.E{background:#eef5fd;color:#315d8f}.screen-heading{margin:25px 0 20px;font-size:25px}.today-card>.next-duty:first-child{border-top:0;margin-top:0;padding-top:0}
@media(max-width:800px){.dashboard-grid{grid-template-columns:1fr}.demo-bar{flex-direction:column;align-items:start}.demo-bar label{width:100%}.demo-bar select{flex:1}.app-nav{gap:3px}.app-nav button{font-size:13px;padding:9px 11px}.dashboard-card{padding:21px}.home-heading h2{font-size:26px}}
.account-entry{max-width:440px;margin:45px auto;padding:34px;background:var(--paper);border:1px solid var(--line);border-radius:24px;box-shadow:0 18px 55px var(--brand-blue-faint-shadow)}.account-entry h1{font-size:36px;line-height:1.12;margin:20px 0 14px}.account-entry .app-identity{margin-inline:auto;font-size:33px;gap:10px;white-space:nowrap}.account-entry .app-identity img{width:33px;height:33px;flex:0 0 33px}.account-entry .app-identity strong{font-weight:700;line-height:normal;flex:0 0 auto}.app-mark{display:grid;place-items:center;width:60px;height:60px;margin-top:28px;border-radius:18px;background:var(--accent);color:var(--brand-on-blue);font-size:34px;font-weight:700}.account-entry .dev-badge{display:inline-block;margin:12px 0}.account-entry form{margin:25px 0 0}.account-entry form label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600;margin:16px 0}.account-entry input{width:100%;font-size:16px;min-height:48px}.account-entry .primary{width:100%;min-height:48px;margin-top:24px}.account-note{font-size:12px;color:var(--muted);line-height:1.7;margin-top:22px}.account-message{padding:14px;background:#fff0f1;border:1px solid #ecc7ca;border-radius:9px;font-size:14px;line-height:1.5}.demo-link{display:block;width:100%;border:none;background:transparent;color:var(--accent);font-size:13px;margin-top:12px}.back-account{font-size:12px;margin-bottom:18px}button:disabled{cursor:wait;opacity:.6}
/* P2-10 3 (approved Oct 17): no card on phones. */
@media(max-width:600px){
  #app:has(.account-entry){padding-inline:0}
  .account-entry{margin:0 auto;padding:24px 16px;border:0;border-radius:0;box-shadow:none}
}
@media(max-width:500px){.account-entry h1{font-size:32px}}
.manager-date{margin:0 0 24px;justify-content:flex-start}.manager-review{margin:22px 0}.manager-shifts .metric-note{margin-top:15px}.app-nav{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable}.app-nav button{flex:0 0 auto;min-height:44px;white-space:nowrap}.app-nav button:focus-visible{outline-offset:-3px}
.source-notice{padding:12px 16px;background:#eaf2fc;color:#25476d;border-radius:10px;font-size:.82rem;margin-bottom:18px;line-height:1.6}.source-duty{display:block;font-size:.75rem;color:var(--muted);margin-top:3px}.staffing.unavailable{color:var(--muted);background:#eef3f9}

/* Navy and white app theme. Status colors retain their operational meaning. */
.masthead{background:var(--accent);color:var(--brand-on-blue);padding:24px;border-radius:16px;gap:16px;flex-wrap:wrap}.employee-home-masthead{display:grid;grid-template-columns:minmax(0,1fr) auto}.employee-home-masthead h1{grid-column:1/-1;grid-row:2;justify-self:center;font-size:18px;text-align:center}.employee-home-masthead .app-identity{grid-column:1;grid-row:1;justify-self:start;font-size:clamp(24px,3vw,35px)}.masthead .eyebrow,.masthead .subtitle{color:#d9e6f8}.masthead .dev-badge{border-color:#9cb4d1;color:var(--brand-on-blue)}.masthead button{color:var(--accent)}.today-card{color:var(--brand-on-blue)}.today-card .card-label,.today-card>p:not(.card-label){color:#d9e6f8}.primary:hover,.view-switch button[aria-pressed=true]:hover,.app-nav button[aria-current=page]:hover{background:var(--brand-blue);color:var(--brand-on-blue);box-shadow:inset 0 0 0 2px rgba(255,255,255,.28)}.today-card .primary{background:#fff;color:var(--accent)}.today-card .primary:hover{background:#eaf1fb;color:var(--accent)}
:where(.account-entry, [data-approval], [data-manage-account]) label { display: grid; gap: .4rem; margin: .8rem 0; }
[data-approval] [data-request-role]{border:0;padding:0;margin:.8rem 0}
[data-approval] [data-request-role] legend{font-weight:700;margin-bottom:.35rem}
[data-approval] [data-request-role] label,[data-approval] [data-pass-rep]{display:flex;align-items:center;gap:.55rem;min-height:44px;margin:0}
[data-approval] input[type=radio],[data-approval] input[type=checkbox]{width:1rem;height:1rem;min-height:0;padding:0;flex:0 0 1rem;accent-color:var(--accent)}
.admin-group-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 1rem; border-radius: 1rem; background: #edf3fa; margin-bottom: 1rem; }
.admin-group-bar h2 { font-size: 1rem; margin: 0; }
[data-approval], [data-manage-account] { margin-bottom: 1rem; }

/* Align roster classifications and names like the original watch schedule. */
.person{display:grid;grid-template-columns:4.5rem minmax(0,1fr);align-items:baseline;gap:12px;padding:15px 0;font-size:15px;line-height:1.5}
.person:last-child{border-bottom:1px solid #e7edf5}
.person .role{background:transparent;border-radius:0;padding:0;color:var(--muted);font-size:12px;font-weight:700;letter-spacing:.07em}
.person-detail{min-width:0;overflow-wrap:anywhere}
.person-name{font-weight:700;color:var(--text)}
.person.unresolved .person-name{color:var(--red)}
.training-label{font-size:12px;font-weight:500;color:var(--muted);white-space:nowrap}
.person .state{font-weight:500}
.home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
.weather-strip{margin:20px 0;padding:22px;background:var(--paper);border:1px solid var(--line);border-radius:14px}
.weather-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.weather-heading h2{margin:6px 0 18px;font-size:22px}
.weather-heading button{font-size:12px}
.weather-forecast{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:14px}
.weather-forecast .card-label{margin-bottom:8px}
.weather-temperature{font-size:38px;line-height:1.2;letter-spacing:-.04em}
.weather-metrics p{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;margin:8px 0}
.weather-metrics span,.weather-freshness{color:var(--muted)}
.weather-freshness{font-size:12px;line-height:1.6}
.weather-alerts{border-top:1px solid var(--line);font-size:13px;margin-top:18px;padding-top:5px}
.weather-alert{padding:12px;background:#fff6e8;border:1px solid #e1cda7;border-radius:8px;margin-top:10px}
.weather-alert summary{cursor:pointer;font-weight:700}
.weather-alert p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}
.weather-severe{background:#fff0f1;border-color:#e6bcc0;color:#982e35}
@media(max-width:800px){.home-actions{grid-template-columns:1fr}}
@media(max-width:450px){.weather-strip{padding:18px}.weather-forecast{grid-template-columns:1fr;gap:4px}.weather-temperature{font-size:34px}}
.weather-compact{min-height:54px;padding:10px 14px;margin:8px 0 14px;border-radius:6px;background:#edf3f7;font-size:12px}
.weather-compact-loading{display:flex;align-items:center}.weather-compact-loading p{margin:0}
.weather-compact-summary{display:flex;flex-wrap:wrap;gap:5px 14px;align-items:center;line-height:1.45}
.weather-compact-alert{margin-left:auto;color:#425a72;font-weight:600}
.weather-compact-details{margin-top:5px;font-size:11px;color:var(--muted)}
.weather-compact-details summary{cursor:pointer;min-height:44px;display:flex;align-items:center;width:max-content;max-width:100%}.weather-compact-details button{min-height:44px}.weather-compact-details .weather-forecast{font-size:14px}.weather-compact .weather-temperature{font-size:28px}
#app:has(.employee-shell){padding:0;max-width:none}
.employee-shell{font-family:Arial,Helvetica,sans-serif;background:#fff;color:var(--brand-blue);min-height:100dvh;min-width:0;width:100%;padding:20px max(20px,env(safe-area-inset-right)) calc(100px + env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));max-width:1200px;margin:auto}
.employee-header{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:12px}
.employee-utility{width:100%;min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:8px;font-size:12px;color:#67686b}.employee-source-name{margin-left:auto;padding-top:6px;overflow-wrap:anywhere}
.employee-utility button{padding:5px 8px;min-height:44px;border:0;background:transparent;font-size:12px;color:var(--brand-blue)}
.employee-range{display:grid;grid-template-columns:46px minmax(0,1fr) 46px;align-items:center;text-align:center;margin:20px 0 12px}
.employee-range>button{width:44px;height:44px;min-height:44px;border-radius:50%;padding:0;background:transparent;border-color:#a9a9aa;font-size:30px;color:var(--brand-blue);touch-action:manipulation}
.employee-range-date{font-size:24px;font-weight:700;line-height:1.25;margin:0}
.employee-range h1{font-size:44px;letter-spacing:0;line-height:1.1;margin:8px 0 0;color:var(--brand-blue)}
.employee-source{font-size:11px;color:#67686b;margin:8px 0}.employee-source summary{cursor:pointer;display:flex;align-items:center;min-height:44px;width:max-content;max-width:100%}
.employee-day{margin-top:30px}.employee-shift{margin:0 0 30px}.employee-shift h3{font-size:20px;font-weight:400;color:var(--brand-blue);margin:0 0 5px}
.employee-shift-hours{font-size:.8em;color:#67686b;font-variant-numeric:tabular-nums;white-space:nowrap}
.employee-week-day .employee-shift-hours{font-size:12px}/* W10.6 L5: readable in compact Week (was .8em of 11px) */
.employee-person{display:grid;grid-template-columns:72px minmax(0,1fr);align-items:baseline;gap:12px;min-height:58px;padding:15px 0;border-top:1px solid #d8d7d1;font-size:16px;line-height:1.4;font-weight:700}
.employee-person:last-child{border-bottom:1px solid #d8d7d1}.employee-person>b{font-size:12px;color:#67686b;letter-spacing:.06em}.employee-person>span{min-width:0;overflow-wrap:anywhere}.employee-note{font-size:11px;font-weight:400;white-space:nowrap;color:#67686b}.employee-note.review{color:var(--red)}
.employee-week-scroll,.employee-month-scroll{overflow-x:auto;margin-top:28px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable}
.employee-week-scroll:focus-visible,.employee-month-scroll:focus-visible{outline:3px solid #3478c9;outline-offset:3px}
.employee-week-grid{display:grid;grid-template-columns:repeat(7,minmax(174px,1fr));min-width:1219px;border-left:1px solid #a9a9aa;border-top:1px solid #a9a9aa}
.employee-week-day{padding:11px;min-height:420px;border-right:1px solid #a9a9aa;border-bottom:1px solid #a9a9aa}.employee-week-day h2{margin:0 0 24px;font-size:16px;font-weight:400}.employee-week-day h2 button{font-size:16px;text-align:left;padding:0;border:0;background:transparent;min-width:44px;min-height:44px}
.employee-week-day .employee-shift{margin:20px 0}.employee-week-day .employee-shift h3{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#67686b;margin-bottom:10px}
.employee-week-day .employee-person{display:block;border:0;min-height:0;padding:0;margin:7px 0;font-size:12px;line-height:1.4;font-weight:400}.employee-week-day .employee-person>b{font-size:11px;letter-spacing:0}
.employee-month-weekdays,.employee-month-grid{display:grid;grid-template-columns:repeat(7,minmax(185px,1fr));min-width:1296px}.employee-month-weekdays{border-left:1px solid transparent;font-size:11px;text-transform:uppercase;color:#67686b;text-align:center;margin-bottom:8px}.employee-month-grid{border-left:1px solid #a9a9aa;border-top:1px solid #a9a9aa}
.employee-month-cell{border-radius:0;border:0;border-right:1px solid #a9a9aa;border-bottom:1px solid #a9a9aa;background:transparent;display:flex;flex-direction:column;gap:9px;min-height:168px;padding:10px;text-align:left;font-size:12px;color:var(--brand-blue)}.employee-month-cell:focus-visible{outline-offset:-3px}.employee-month-cell.outside{background:#efeeea;color:#67686b}.employee-month-cell>b{font-size:16px}.employee-month-shift{line-height:1.35}.employee-month-shift em{display:block;font-style:normal;font-weight:700;font-size:10px;color:#67686b;margin-bottom:4px}.employee-month-person{display:block;min-width:0;overflow-wrap:anywhere}.employee-month-person strong{font-size:10px;color:#67686b;letter-spacing:.04em}
.employee-year-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:28px}.employee-year-month{border-top:2px solid var(--brand-blue);padding-top:8px}.employee-year-title{padding:0;background:transparent;border:0;font-size:16px;font-weight:700;min-height:44px}.employee-mini-weekdays,.employee-mini-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}.employee-mini-weekdays{color:#767676;font-size:10px;font-weight:700}.employee-mini-days button{min-height:30px;border:0;background:transparent;font-size:12px;padding:3px 0}
.employee-personal-name{color:#67686b;font-size:13px;text-align:center;margin:28px 0 18px}.employee-mine-row{display:flex;justify-content:space-between;align-items:center;gap:20px;width:100%;padding:16px 0;border:0;border-radius:0;border-top:1px solid #d8d7d1;background:transparent;text-align:left;min-height:70px}.employee-mine-row>span:last-child{text-align:right}.employee-mine-row strong,.employee-mine-row small{display:block}.employee-mine-row small{font-size:11px;margin-bottom:4px;color:#67686b}
.employee-view-nav{position:fixed;z-index:20;left:0;right:0;bottom:0;width:min(100%,1200px);margin-inline:auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:#fff;border-top:1px solid #a9a9aa;box-shadow:0 -8px 24px var(--brand-blue-shadow);padding:0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}.employee-view-nav-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.employee-view-nav button{min-width:0;min-height:66px;border:0;border-radius:0;border-right:1px solid #d8d7d1;padding:8px 3px;background:transparent;color:var(--brand-blue);font-size:13px;font-weight:700;line-height:1.15;white-space:normal;overflow-wrap:normal}.employee-view-nav button:last-child{border-right:0}.employee-view-nav button[aria-pressed=true]{background:var(--brand-blue);color:var(--brand-on-blue);box-shadow:inset 0 3px 0 currentColor}
@media(max-width:640px){.employee-shell{padding:18px max(13px,env(safe-area-inset-right)) calc(96px + env(safe-area-inset-bottom)) max(13px,env(safe-area-inset-left))}.employee-year-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.employee-range-date{font-size:18px}.employee-range h1{font-size:34px}.employee-header{gap:10px}.employee-view-nav button{font-size:12px}.weather-compact-alert{width:100%;margin-left:0}}
@media(max-width:640px){.employee-week-grid{grid-template-columns:repeat(7,minmax(155px,1fr));min-width:1086px}}
@media(max-width:360px){.employee-range-date{font-size:16px}.employee-range h1{font-size:30px}}
.request-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.account-entry label:has(input[type=checkbox]){display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:.6rem;min-height:44px}.account-entry input[type=checkbox]{width:auto;min-height:0;margin:0}.account-entry textarea{width:100%;min-height:5rem;font:inherit;border:1px solid var(--field-border);border-radius:.5rem;padding:.6rem}[hidden]{display:none!important}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.management-home{display:grid;gap:22px}.on-shift-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:14px 18px;background:var(--brand-blue);color:var(--brand-on-blue);border-radius:8px}.on-shift-bar h2,.on-shift-bar p{margin:0}.on-shift-bar h2{font-size:20px}.on-shift-bar p{font-size:14px;text-align:right}.unit-roster{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.unit-shift{min-width:0;border-top:2px solid var(--brand-blue);padding-top:10px}.unit-worker{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:10px;align-items:baseline;padding:12px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.unit-worker>span,.unit-worker>small{font-size:11px;color:var(--muted)}.unit-worker.absent strong{color:var(--leave-text)}.unit-worker.unresolved strong{color:var(--red)}.unit-notifications{min-width:0}.unit-notifications .section-heading{margin-bottom:10px}.section-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.notification-dashboard{display:grid;gap:22px;margin-top:22px}.unit-notification{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:14px 0;border-top:1px solid var(--line);overflow-wrap:anywhere}.unit-notification p{margin:0}.unit-notification small{color:var(--muted)}.unit-notification-actions{display:flex;gap:8px;align-items:center}.notification-editor{display:grid;gap:14px;padding:18px;border:1px solid var(--line);border-radius:8px;background:var(--paper);box-shadow:0 12px 30px rgba(15,35,58,.18);position:fixed;z-index:20;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:min(560px,calc(100vw - 26px));max-height:calc(100vh - 26px);overflow:auto}.notification-editor h3{margin:0}.notification-editor label{display:grid;gap:6px}.notification-editor textarea{width:100%;min-height:96px;resize:vertical;font:inherit;padding:10px;border:1px solid var(--field-border);border-radius:6px}.notification-editor fieldset{display:flex;gap:18px;border:0;padding:0;margin:0}.notification-editor fieldset label{display:flex;grid-auto-flow:column;align-items:center;min-height:44px}.notification-editor-actions{display:flex;gap:8px}.notification-history{border-top:1px solid var(--line);padding-top:14px}.notification-history summary{min-height:44px;display:flex;align-items:center;font-weight:700;cursor:pointer}.notification-history article{padding:12px 0;border-top:1px solid var(--line);overflow-wrap:anywhere}.notification-history article p{margin:6px 0}.notification-history-meta{display:flex;flex-wrap:wrap;gap:8px 18px;margin:8px 0}.notification-history-meta div{display:flex;gap:5px}.notification-history-meta dt{font-weight:700}.notification-history-meta dd{margin:0}.notification-history-link{color:var(--muted);font-size:13px}.unit-notifications,.notification-editor,.notification-history{max-width:100%;overflow-wrap:anywhere}
@media(max-width:700px){.unit-roster{grid-template-columns:1fr}.on-shift-bar{grid-template-columns:minmax(0,1fr) auto;gap:10px}.unit-notification{grid-template-columns:minmax(0,1fr);align-items:start}.unit-notification-actions{display:flex;flex-wrap:wrap}.unit-notification button{width:max-content;max-width:100%}.unit-notifications .section-heading{align-items:flex-start;flex-direction:column}.section-actions{width:100%}.section-actions button{flex:1}}
.field-error{display:block;color:var(--red);font-size:12px;font-weight:600;min-height:1.2em}
.account-entry fieldset{border:0;padding:0;margin:16px 0}.account-entry fieldset fieldset{margin:12px 0}.account-entry legend{font-size:13px;font-weight:700;line-height:1.5}
.account-entry :is(button,select,summary),.notification-notice :is(button,input,select,summary){min-height:44px}
.account-entry summary,.notification-notice summary{display:flex;align-items:center;cursor:pointer}
.account-entry [aria-invalid=true]{border-color:var(--red);box-shadow:0 0 0 1px var(--red)}
.notification-notice{margin:.6rem 0;padding:.8rem 1rem;background:#edf5ff;border:1px solid #c4d7ef;border-radius:.65rem;color:var(--brand-blue)}.notification-notice h2{font-size:1rem;margin:0 0 .4rem}.notification-notice form{display:flex;flex-wrap:wrap;gap:.5rem;align-items:end;margin:.6rem 0}.notification-notice input{font:inherit;border:1px solid var(--field-border);border-radius:.4rem;padding:.4rem}.notification-notice label{display:flex;flex-direction:column;gap:.2rem}

.app-identity{display:flex;align-items:center;gap:10px;width:max-content;max-width:100%;font-size:18px}.app-identity img{display:block;width:44px;height:44px;border-radius:6px}.app-identity strong{letter-spacing:0}.employee-header{display:grid;grid-template-columns:minmax(0,1fr);width:100%;justify-content:stretch;justify-items:center;gap:4px;margin-bottom:0;text-align:center}.employee-header .app-identity{flex:none;justify-content:center;font-size:33px}.employee-header .app-identity img{width:33px;height:33px}.employee-header .employee-utility{width:100%;flex:none;justify-content:center}.employee-header .employee-source-name{margin-left:0;padding-top:0}.employee-header+#app-page .employee-range{margin-top:8px}

/* Preserve the approved 33px identity while allowing compact screens to reflow safely. */
@media(max-width:430px){
.account-entry .app-identity{width:100%;justify-content:center;white-space:nowrap;text-align:center}
.account-entry .app-identity strong{min-width:0;white-space:nowrap;overflow-wrap:normal}
.employee-home-masthead{grid-template-columns:minmax(0,1fr)}
.employee-home-masthead .app-identity{grid-column:1;grid-row:1;min-width:0;max-width:100%}
.employee-home-masthead h1{grid-column:1;grid-row:2}
}
/* P2-04 (Designer-approved): primary actions, Login secondary-action spacing, compact manager nav. */
.notification-editor-actions .primary,[data-approval] .primary{margin-top:0}
.account-secondary-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
@media(max-width:800px){.app-nav{flex-wrap:wrap;overflow-x:visible;row-gap:6px}}
/* P2-06: keep the Month cells' visually hidden accessible names inside the horizontal scroller (no page overflow). */
.employee-month-scroll{position:relative}
/* P2-08 option A (leave contrast): tint, 4px plum stripe and plum label; red stays for Review needed, unresolved and errors. */
.employee-note.leave{color:var(--leave-text);font-weight:700}
.employee-person.absent,.employee-month-person.absent{background:var(--leave-bg);border-left:4px solid var(--leave-stripe);border-radius:0 3px 3px 0}
.employee-person.absent{padding-left:10px;grid-template-columns:58px minmax(0,1fr)}
.employee-week-day .employee-person.absent,.employee-month-person.absent{padding:2px 4px 2px 6px}
.person.absent,.mini-assignment.absent{background:var(--leave-bg);border-left:4px solid var(--leave-stripe);padding-left:8px}
.person.absent .state.leave,.mini-assignment.absent .state.leave{color:var(--leave-text);font-weight:700}
/* P2-10 1b (approved Oct 17): on phones, Month leave = stripe + plum label only, no tint. */
@media(max-width:640px){
  .employee-month-person.absent{background:transparent;border-radius:0}
  .employee-month-person strong,
  .employee-month-shift em,
  .employee-month-weekdays{color:var(--muted)}
}
/* P2-10 2a: visible legend for the Review needed state. */
/* P2-10 4: Sign out = plain text button at the bottom of Home only. */
.employee-signout{display:flex;justify-content:center;margin:24px 0 0}
.employee-signout .text-button{min-height:44px;min-width:44px;padding:0 16px;border:0;background:transparent;color:var(--brand-blue);font-weight:600}
.employee-signout .text-button:hover{background:transparent;text-decoration:underline}
/* Designer checkpoint 3387bc4: admin chooser Sign out is plain text too (no border, no fill). */
.admin-group-bar [data-admin-signout]{min-height:44px;min-width:44px;padding:0 16px;border:0;background:transparent;color:var(--brand-blue);font-weight:600}
.admin-group-bar [data-admin-signout]:hover{border:0;background:transparent;text-decoration:underline}
/* P2-10 4: muted, tappable timestamp replaces the Refresh button. */
.employee-updated{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:auto;max-width:100%;min-height:44px;margin:0;padding:0 8px;border:0;background:transparent;color:var(--muted);font-size:12px;vertical-align:top;justify-self:center}
/* Checkpoint 2 (Designer): Home hugs its text, left-aligned to the text column, ~8px under the unit line. */
.home-heading .employee-updated{margin:-14px 0 0 -8px}.home-heading .employee-updated:focus-visible{outline-offset:-3px} /* same 3px ring, drawn inside so it clears the unit line */
.employee-updated:hover{background:transparent;text-decoration:underline}
/* P2-12: admin unit tag + Switch link (docs/design/p2-12/README.md section 2); Save-moves note on Accounts cards. */
.admin-unit-bar[hidden],.admin-group-bar[hidden]{display:none}
.setup-bar>div{min-width:0}.setup-bar strong{overflow-wrap:anywhere}.setup-bar .setup-bar-mode{color:#c9d6ea;font-size:14px;font-weight:600}
.admin-move-note{margin:8px 0;color:var(--muted);font-size:14px}
/* Home nits (Designer, Columbo-approved Oct 17): "Watch Schedule →" never wraps; when the row is too narrow (393px)
   the button stacks under "Upcoming watches" instead of squeezing both onto two lines. */
.upcoming .section-heading{flex-wrap:wrap}.upcoming .section-heading [data-nav="watch"]{white-space:nowrap;min-height:44px}
/* P2-12 copy (docs/design/p2-12/README.md): manager/admin menu fits one row at <=600px with short visible labels
   ("Schedule", "Requests", and "Alerts" because the admin's five items overflow 393px by 4px with "Notifications");
   full names stay as each button's aria-label and show above 600px. Chooser label gap 8px. */
.app-nav .nav-short{display:none}
@media(max-width:600px){.app-nav:has(.nav-short){flex-wrap:nowrap;gap:2px}.app-nav:has(.nav-short) button{padding:9px 8px}.app-nav .nav-full{display:none}.app-nav .nav-short{display:inline}}
[data-admin-picker]{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}@media(max-width:340px){[data-admin-picker]{flex-wrap:wrap;white-space:normal;max-width:100%}}[data-admin-picker][hidden]{display:none}

/* P2-13 pay-period marker (docs/design/pay-period/IMPLEMENTATION.md section 3). */
.employee-pp-current{margin:4px 0 8px;font-size:13px;color:var(--muted)}
.employee-pp-current strong{color:var(--brand-blue)}
.employee-pp-legend{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 12px;font-size:12px;line-height:1.4;color:var(--muted)}
/* Designer checkpoint 3387bc4: Month legend chip and text stay on one row at 393px (frame 34:238); the text wraps beside the chip. */
.employee-pp-legend .employee-pp-chip{flex:0 0 auto}
.employee-pp-legend .employee-pp-chip+span{flex:1 1 0;min-width:0}
.employee-pp-chip{display:inline-flex;align-items:center;padding:2px 6px;border:1px solid var(--pp-chip-border);border-radius:4px;background:var(--pp-chip-bg);color:var(--pp-chip-text);font-size:11px;font-weight:600;line-height:1.2;white-space:nowrap}
.employee-month-day{display:flex;align-items:center;gap:6px}
.employee-month-day>b{font-size:16px}
.employee-month-cell.is-current-pp:not(.outside){background:var(--pp-current-bg)}
.employee-mini-days button.is-pp-start{position:relative}
.employee-mini-days button.is-pp-start::before{content:"";position:absolute;top:4px;left:50%;width:14px;height:2px;margin-left:-7px;background:var(--pp-tick)}
.employee-mini-days button.is-current-pp{--t:0;--b:0;--l:0;--r:0;position:relative;border-radius:0}
.employee-mini-days button.is-current-pp::after{content:"";position:absolute;inset:-1.5px;pointer-events:none;border:0 solid var(--brand-blue);border-width:calc(var(--t)*2px) calc(var(--r)*2px) calc(var(--b)*2px) calc(var(--l)*2px)}
.employee-mini-days button.pp-t{--t:1}.employee-mini-days button.pp-b{--b:1}.employee-mini-days button.pp-l{--l:1}.employee-mini-days button.pp-r{--r:1}
.employee-pp-tick{display:inline-block;width:14px;height:2px;background:var(--pp-tick)}
.employee-pp-outline{display:inline-block;width:14px;height:10px;border:2px solid var(--brand-blue);border-radius:3px;margin-left:8px}
/* d6088ff Designer polish: the slow-load escape is left-aligned with a muted 14px note. */
.employee-signout.slow-load{justify-content:flex-start;align-items:center;flex-wrap:wrap;gap:4px 12px;margin-top:12px} /* 12px column gap (Designer, 5ed56ce feedback): the 3px ring at 3px offset clears 'usual.' by 6px */
.employee-signout.slow-load p{margin:0;font-size:14px;color:var(--muted)}
.employee-signout.slow-load .text-button{padding-left:0}
/* Request access / Pending approval: Sign out left-aligned with 'Check approval status'. */
.employee-signout.access-signout{justify-content:flex-start;margin-top:12px}
/* Designer feedback on 5ed56ce: (a) 12px between 'Submit request' and 'Check approval status' (was 0), matching the Sign out row;
   (b) the rejection reason is a muted status line under the intro (#53657c on white is 5.97:1). */
.account-entry form[data-access-request]{margin-bottom:12px}
.account-entry .access-status{color:var(--muted);font-size:14px;line-height:1.5}
/* Designer nit (9dc5c44): Sign out text lines up with 'Check approval status' text (button padding 14px + 1px border = 15px). */
.employee-signout.access-signout .text-button{padding:0 15px}
/* P2-14 Open shift marker (Designer spec docs/design/open-shift/IMPLEMENTATION.md §2-3). One red: --open-shift = --red.
   #b13b42 text 5.88:1 on white, 5.31 on #fff0f1; white on #b13b42 5.88. #fff0f1 vs white is 1.11, so the 1px border is required. */
:root{--open-shift:#b13b42;--open-shift-bg:#fff0f1;--open-shift-on:#fff}
.open-shift-chip{position:relative;display:flex;align-items:center;gap:6px;margin:6px 0 8px;padding:7px 10px;border:1px solid var(--open-shift);border-radius:6px;background:var(--open-shift-bg);color:var(--open-shift);font-size:14px;line-height:1.3}
.open-shift-chip b{font-weight:700}
.open-shift-chip svg{flex:none;fill:currentColor}
.open-shift-chip svg path+path{fill:var(--open-shift-bg)}
.open-shift-chip.is-compact{display:block;margin:4px 0 6px;padding:4px 6px;border-radius:4px;font-size:11px;line-height:1.25}
.open-shift-chip.is-compact svg{width:12px;height:12px;vertical-align:-2px;margin-right:3px}
.open-shift-chip.is-compact .open-shift-needs{display:block}
.employee-month-shift-label{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.open-shift-badge{display:inline-flex;align-items:center;gap:2px;padding:1px 5px 1px 4px;border-radius:3px;background:var(--open-shift);color:var(--open-shift-on);font-size:10px;font-weight:700;line-height:1.3;white-space:nowrap}
.open-shift-badge svg{fill:currentColor}
.open-shift-badge svg path+path{fill:var(--open-shift)}
.employee-mini-days button{position:relative}
.open-shift-dot{position:absolute;left:50%;bottom:4px;width:8px;height:7px;margin-left:-4px;background:var(--open-shift);clip-path:polygon(50% 0,100% 100%,0 100%)}
.open-shift-dot.is-legend{position:static;display:inline-block;margin:0 4px 0 0}
.open-shift-legend{display:flex;align-items:center;gap:6px;margin:0 0 12px;font-size:12px;line-height:1.4;color:var(--muted)}
.open-shift-legend>.open-shift-badge,.open-shift-legend>.open-shift-dot{flex:0 0 auto}
.open-shift-legend>span:last-child{flex:1 1 0;min-width:0}
/* Year mini-days (checkpoint 4b7065f item 1): every day button gets the same fixed 14px line box with 10px above and
   14px below (38px), so rows stay aligned whether or not a day has a triangle. The 12px number's text box is 17px tall
   (8.5-25.5px from the top): 2.5px clear of the pay-period tick (4-6px) and 2.5px clear of the open-shift triangle
   (bottom:3px, 7px tall: 28-35px); the triangle sits 2.5px inside the current-period outline's inner edge. */
.employee-mini-days button{min-height:38px;padding:10px 0 14px;line-height:14px}
.employee-mini-days .open-shift-dot{bottom:3px}
.unit-notification .open-shift-lead{color:var(--open-shift);font-weight:700}
.unit-notification .open-shift-glyph{display:inline-block;width:16px;height:16px;vertical-align:-3px;margin-right:4px;fill:var(--open-shift)}
.unit-notification .open-shift-glyph path+path{fill:var(--paper)}
.unit-notification .open-shift-lines{margin:6px 0;padding-left:20px}
.notification-chip{display:inline-block;margin-left:6px;padding:0 6px;border:1px solid var(--line);border-radius:999px;font-size:12px;color:var(--muted)}
@media (forced-colors:active){.open-shift-chip,.open-shift-badge{border:1px solid CanvasText;forced-color-adjust:auto}.open-shift-dot{background:CanvasText}}
/* P2-15 V1 polish (docs/design/v1-polish/README.md).
   Item 4: Sign out on the error and "No schedule yet" cards matches .employee-signout .text-button (plain text, 600,
   44px, underline on hover; the base 3px #3478c9 focus ring is unchanged). */
.dashboard-card [data-account-action="signout"]{min-height:44px;min-width:44px;padding:0 16px;border:0;background:transparent;color:var(--brand-blue);font-weight:600}
.dashboard-card [data-account-action="signout"]:hover{background:transparent;text-decoration:underline}
/* Item 5: 8px between neighbouring buttons the spec lists (second button in a row; stacked Back to sign-in). */
.dashboard-card [data-connected-action="retry"]+[data-account-action="signout"],[data-decision="approved"]+[data-decision="rejected"]{margin-left:8px}
.account-entry form+[data-account-action="login"]{margin-top:8px}
/* Item 10: the P2-13 pay-period tick is drawn as a background, which forced colors removes; draw it in CanvasText. */
@media (forced-colors:active){.employee-mini-days button.is-pp-start::before,.employee-pp-tick{forced-color-adjust:none;background:CanvasText}}
/* P2-15 follow-up (Columbo, 11:39 AM CT): Retry signup email / Withdraw approval get an 8px column and row gap; at
   narrow widths they stack as full-width buttons. */
.approval-actions{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:500px){.approval-actions{flex-direction:column}.approval-actions>button{width:100%}}
/* P2-18: Training day pill on Home, neutral like the schedule's grey '(Training)' note (not a watch colour, not red). */
.shift-pill.training{background:#f1f2f4;color:#4b4d52}
/* W03.1 manager unit setup (Figma vpw3z8MYIJABqW1wRBkTrN 42-265; Designer review of d0cf5ff fixes 1-7). */
.setup-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#071F46;color:#fff;padding:12px 16px;border-radius:12px;margin:0 0 12px}
.setup-bar p{margin:0;color:#fff}
.setup-bar button{flex:0 0 auto;min-height:44px;background:transparent;color:#fff;border:1px solid #c9d6ea;border-radius:10px;padding:8px 14px}
.setup-banner{display:flex;gap:8px;align-items:center;background:#e9f0fb;color:#071F46;border:1px solid #071F46;border-left:6px solid #071F46;border-radius:10px;padding:12px 14px;margin:0 0 16px;font-weight:600}
.setup-tabs{display:flex;flex-wrap:wrap;gap:6px;border-bottom:1px solid var(--line);padding-bottom:12px;margin:8px 0 20px}
.setup-tabs button{border:none;background:transparent;min-height:44px;padding:9px 12px;border-radius:8px}
.setup-tabs button[aria-current=page]{background:var(--accent);color:var(--brand-on-blue)}
[data-setup-panel]{margin-top:16px}
[data-setup-panel]>.dashboard-card,[data-setup-panel]>form{margin-bottom:16px}
.setup-unit{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;text-align:left;min-height:44px;margin:0 0 12px;padding:16px 18px;cursor:pointer}
.setup-unit-text{display:flex;flex-direction:column;gap:4px;min-width:0}.setup-unit-text strong{font-size:17px}.setup-unit-text span{color:var(--muted);font-size:13px}
.chip{display:inline-block;flex:0 0 auto;border-radius:999px;padding:3px 10px;background:#e6eef8;color:#183b63;font-size:12px;font-weight:600;margin-left:12px;white-space:nowrap}
.setup-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;text-align:left;border:none;border-bottom:1px solid var(--line);background:transparent;padding:10px 4px;width:100%}
.setup-row span span{display:block;color:var(--muted);font-size:12px}.setup-row[aria-pressed=true]{background:#eaf1fb}
.setup-skeleton{height:120px;border-radius:14px;background:linear-gradient(90deg,#eef2f7,#f6f8fb,#eef2f7);margin:0 0 16px}
.setup-warning{background:#fff4df;color:#6b4500;border-radius:8px;padding:10px 12px;font-size:13px}
.setup-error{border-color:#b13b42}.setup-error.dashboard-card>p[role=alert],.setup-error p[role=alert],[data-setup-panel] p[role=alert],main p[role=alert]{color:#b13b42}
.setup-form label,.setup-shift label{display:flex;flex-direction:column;align-items:stretch;gap:6px;margin:0 0 12px;font-weight:600;font-size:14px}
.setup-form input:not([type=checkbox]),.setup-form select{width:100%;min-height:44px;box-sizing:border-box}
.setup-shift{border:none;border-top:1px solid var(--line);padding:12px 0 0;margin:0 0 8px;display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:0 12px}
.setup-days{border:none;padding:0;margin:0 0 12px;display:grid;grid-template-columns:repeat(7,46px);gap:8px}
.setup-days legend{font-weight:600;font-size:14px;margin-bottom:8px}
.setup-form .setup-day{width:46px;height:46px;min-height:46px;box-sizing:border-box;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;border:1px solid var(--line);border-radius:8px;font-size:12px;cursor:pointer}
.setup-form .setup-day{position:relative}.setup-day input{position:absolute;inset:0;margin:0;width:100%;height:100%;opacity:0;cursor:pointer}.setup-day:has(input:focus-visible){outline:3px solid #2f6fd0;outline-offset:2px}.setup-day:has(input:checked){background:var(--accent);color:var(--brand-on-blue)}
.setup-form button{min-height:44px;margin:4px 8px 0 0}
@media(max-width:600px){.setup-days{grid-template-columns:repeat(4,46px)}.setup-bar{padding:10px 12px}}
.setup-row.setup-unit{border:1px solid var(--line);background:var(--paper);border-radius:14px;padding:16px 18px}.setup-row.setup-unit:hover{border-color:#071F46}
/* W03.1 Designer recheck of e9ae60a (A–E). */
[data-setup-panel] [data-field-error],.dashboard-card>p [data-field-error],.setup-form [data-field-error]{color:#b13b42}
[tabindex="-1"]:focus{outline:none}
form[data-setup-timezone] button[type=submit],button[data-rules-new],form[data-setup-rules] button[type=submit]{background:#071F46;color:#fff;border:1px solid #071F46}
button[data-rules-cancel]{background:transparent;color:#071F46;border:1px solid #071F46}
.setup-banner{background:#071F46;color:#fff;border:1px solid #071F46;border-left-width:1px}
.setup-day:has(input:focus-visible){outline-color:#3478c9}
.setup-days[aria-invalid=true] .setup-day{border-color:#b13b42;box-shadow:0 0 0 1px #b13b42}
/* W03.2 annual workbook (Figma section 44-309) */
.setup-tabs .tab-short{display:none}
@media(max-width:600px){.setup-tabs .tab-long{display:none}.setup-tabs .tab-short{display:inline}}
.wb-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,300px);gap:20px;align-items:start}
.wb-main>.dashboard-card,.wb-main>form{margin-bottom:16px}
.wb-aside h3{margin-top:0}.wb-aside p,.wb-aside li{color:var(--muted);font-size:14px}.wb-aside p strong{color:inherit}
.wb-stepper{list-style:none;display:flex;flex-wrap:wrap;gap:16px;padding:0;margin:0 0 14px;font-size:13px;color:var(--muted)}
.wb-stepper li{display:flex;align-items:center;gap:6px}.wb-stepper li[data-state=current]{color:#071F46;font-weight:700}
.wb-step-dot{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;border:1px solid currentColor;font-size:11px}
.wb-stepper li[data-state=current] .wb-step-dot,.wb-stepper li[data-state=done] .wb-step-dot{background:#071F46;color:#fff;border-color:#071F46}
.wb-step-short{display:none;margin:0 0 12px;font-size:13px;font-weight:600;color:var(--muted)}
.wb-prefill{border:none;padding:0;margin:0 0 12px}.wb-prefill legend{font-weight:600;font-size:14px;margin-bottom:8px}
.setup-form .wb-radio{flex-direction:row;align-items:flex-start;gap:12px;border:1px solid var(--line);border-radius:10px;padding:14px;margin:0 0 10px;font-weight:400}
.setup-form .wb-radio:has(input:checked){border:2px solid #071F46}
.wb-radio input{margin-top:3px}.wb-radio span span{display:block;color:var(--muted);font-size:13px;margin-top:2px}
.wb-help{color:var(--muted);font-size:12px;margin:-6px 0 12px}
.wb-info{background:#eaf1fb;color:#071F46;border-radius:8px;padding:10px 12px;font-size:13px}
.wb-ok{background:#e7f4ea;color:#1d5b2c;border-radius:8px;padding:10px 12px;font-size:13px}
.wb-field-error{color:#b13b42;font-size:13px;margin:-6px 0 4px}
.setup-form select[aria-invalid=true]{border-color:#b13b42;box-shadow:0 0 0 1px #b13b42}
.wb-detail span{color:var(--muted)}.wb-detail strong{text-align:right}
.wb-file{display:flex;align-items:center;gap:10px}
.chip.wb-chip-ok{background:#e7f4ea;color:#1d5b2c}.chip.wb-chip-info{background:#eaf1fb;color:#2f5f9e}.chip.wb-chip-warn{background:#fff4df;color:#6b4500}.chip.wb-chip-needed{background:#fdeaea;color:#b13b42}
.wb-main button,.wb-button{min-height:44px;margin:8px 8px 0 0;padding:9px 16px;border-radius:8px;background:transparent;color:#071F46;border:1px solid #071F46;font-weight:600}
.wb-main .wb-primary,.wb-button{background:#071F46;color:#fff;border-color:#071F46;display:inline-flex;align-items:center;text-decoration:none}
.wb-main .wb-disabled,.wb-main .wb-primary.wb-disabled{background:#e5e9f0;color:#6b7686;border-color:#e5e9f0;cursor:not-allowed}
.wb-error{border:2px solid #b13b42}.wb-error h3{color:#b13b42;margin-top:0}
.wb-stale{background:#fff4df;border:1px solid #9a6a17}.wb-stale h3{color:#6b4500;margin-top:0}
.wb-note{background:#eaf1fb;color:#071F46;border-radius:8px;padding:10px 12px;font-size:13px}
.wb-progress{height:6px;border-radius:3px;background:#e5e9f0;overflow:hidden;margin:12px 0}.wb-progress span{display:block;height:100%;width:20%;background:#071F46}
@media(prefers-reduced-motion:no-preference){.wb-progress span{animation:wb-move 1.6s ease-in-out infinite}}
@keyframes wb-move{0%{margin-left:0}50%{margin-left:80%}100%{margin-left:0}}
.wb-skeleton{height:14px;border-radius:4px;background:#eef2f7;margin:10px 0}
@media(max-width:760px){.wb-layout{grid-template-columns:minmax(0,1fr)}.wb-aside{display:none}.wb-stepper{display:none}.wb-step-short{display:block}
 .wb-main [data-wb-step] .wb-primary,.wb-main [data-wb-step] button,.wb-main .wb-button{width:auto}}
.setup-form .wb-radio input[type=radio]{width:20px;height:20px;min-height:20px;flex:0 0 20px;margin:2px 0 0}
.wb-radio>span{flex:1 1 auto;min-width:0}
.wb-aside h3{font-size:16px}
[data-workbook-not-ready] .wb-help{margin:10px 0 0}
/* W03.3 annual workbook upload (Figma section 48-363) */
.wb-drop{border:2px dashed #b9c3d3;border-radius:10px;padding:18px;text-align:center;margin-bottom:12px}
.wb-drop p{margin:4px 0}
.wb-link{background:none;border:0;padding:0;min-height:44px;color:var(--navy,#0b1f44);text-decoration:underline;font:inherit;cursor:pointer}
.wb-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}
.wb-tile{border:1px solid #d7dde7;border-radius:8px;padding:10px;display:flex;flex-direction:column}
.wb-tile strong{font-size:22px}.wb-tile-error strong{color:#b13b42}.wb-tile-warn strong{color:#6b4500}
.wb-checklist{margin:8px 0;padding-left:18px;color:var(--muted)}
.wb-filters{display:flex;gap:8px;border:0;padding:0;margin:0 0 12px;flex-wrap:wrap}
.wb-filter{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 12px;border:1px solid #b9c3d3;border-radius:999px}
.setup-form .wb-filter input,.wb-filter input{width:auto;margin:0}
.wb-issues{list-style:none;padding:0;margin:0 0 12px}
.wb-issue{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:start;padding:10px 0;border-bottom:1px solid #e3e7ee}
.wb-issue>span:nth-child(2){display:flex;flex-direction:column;gap:2px}
.chip.wb-chip-error{background:#fdeaea;color:#b13b42}
.wb-week{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0 6px}
.wb-grid{position:relative;display:block;max-width:100%;overflow-x:auto;border:1px solid #d7dde7;border-radius:8px;font-size:13px}
.wb-grid [role=row]{display:grid;grid-template-columns:minmax(120px,1.6fr) repeat(var(--wb-days,7),minmax(44px,1fr))}
.wb-grid [role=columnheader],.wb-grid [role=rowheader],.wb-grid [role=gridcell]{padding:8px 6px;border-bottom:1px solid #eef1f5;min-height:44px;box-sizing:border-box}
.wb-grid [role=columnheader]{font-weight:600;background:#f4f6fa}
.wb-grid [role=gridcell]{text-align:center}
.wb-grid .wb-cell-error{background:#fdeaea;outline:2px solid #b13b42;outline-offset:-2px}
.wb-grid .wb-cell-warning{background:#fff4df;outline:2px dashed #9a6a17;outline-offset:-2px}
.wb-cell-mark{margin-left:3px;font-size:11px}
.wb-grid[data-days="1"]{--wb-days:1}.wb-grid[data-days="2"]{--wb-days:2}.wb-grid[data-days="3"]{--wb-days:3}.wb-grid[data-days="4"]{--wb-days:4}.wb-grid[data-days="5"]{--wb-days:5}.wb-grid[data-days="6"]{--wb-days:6}.wb-grid[data-days="7"]{--wb-days:7}
.wb-grid [role=gridcell]:focus{outline:3px solid #2f5f9e;outline-offset:-3px}
@media(max-width:760px){.wb-grid [role=row]{grid-template-columns:minmax(76px,1.2fr) repeat(var(--wb-days,7),minmax(34px,1fr));min-width:max-content}.wb-grid [role=columnheader],.wb-grid [role=rowheader],.wb-grid [role=gridcell]{padding:6px 3px}.wb-issue{grid-template-columns:1fr}.wb-issue>.chip{justify-self:start}.wb-tiles{grid-template-columns:1fr 1fr 1fr}}
.wb-main,[data-up-preview]{min-width:0}
/* W04.1 My Schedule + Watch Schedule (Figma 54:449). Reuses the employee-* layout; sv-* adds the active-unit bar, edition chip, states and the Switch unit dialog. */
.sv-shell{min-height:100vh;padding-bottom:calc(96px + env(safe-area-inset-bottom))}.sv-unitbar{display:flex;align-items:center;gap:16px;background:var(--brand-blue);color:var(--brand-on-blue);padding:10px 16px}.sv-brand{margin:0;font-weight:700;flex:1 1 auto}.sv-unit{text-align:right;min-width:0}.sv-unit p{margin:0}.sv-eyebrow{font-size:11px;letter-spacing:.04em}.sv-unit-name{font-weight:700;overflow-wrap:anywhere}.sv-unitbar button{background:transparent;color:var(--brand-on-blue);border-color:var(--brand-on-blue)}
.sv-main{max-width:840px;margin-inline:auto;padding:0 16px}.sv-chip{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 14px;color:var(--muted);font-size:13px}.sv-badge{background:var(--pp-current-bg);color:var(--brand-blue);font-weight:700;border-radius:12px;padding:3px 9px}.sv-hint{color:var(--muted);font-size:13px}
.sv-empty,.sv-dialog{border:1px solid var(--line);border-radius:12px;padding:18px;margin:0 0 14px;background:var(--paper)}.sv-empty h2,.sv-dialog h2{font-size:17px;margin:0 0 8px}.sv-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.sv-alert{border:2px solid var(--red);border-radius:12px;padding:18px;margin:0 0 14px;background:var(--paper)}.sv-alert h2{color:var(--red);font-size:17px;margin:0 0 8px}.sv-alert h2:focus-visible,.employee-range-date:focus-visible{outline:3px solid #3478c9;outline-offset:3px}.sv-primary{background:var(--brand-blue);color:var(--brand-on-blue);border-color:var(--brand-blue);margin:6px 0}
.sv-skeleton{display:grid;gap:12px}.sv-skeleton span{display:block;height:72px;border-radius:8px;background:var(--line)}.sv-skeleton span:first-child{height:22px}
.sv-dialog{margin-top:20px}.sv-unit-list{margin:8px 0;display:grid;gap:10px}.sv-unit-row{width:100%;display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:left;min-height:56px}.sv-unit-row strong,.sv-unit-row small{display:block}.sv-unit-row small{color:var(--muted)}.sv-unit-row.is-current{border:2px solid var(--brand-blue)}.sv-active-badge{color:var(--green);font-size:12px;font-weight:700}
.sv-nav button[aria-pressed=true]{box-shadow:inset 0 4px 0 currentColor;text-decoration:underline;text-underline-offset:3px}.sv-nav button[aria-disabled=true]{cursor:default}
.sv-main .employee-person b{font-size:11px;color:var(--muted);letter-spacing:.04em;margin-right:6px}
@media(min-width:900px){.sv-main .employee-day{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}}
@media(max-width:640px){.sv-brand{display:none}.sv-unit{text-align:left;flex:1 1 auto}}
.sv-main .employee-shift h2{font-size:20px;font-weight:400;color:var(--brand-blue);margin:0 0 5px}.sv-alert h1,.sv-dialog h1{font-size:17px;margin:0 0 8px;letter-spacing:0}.sv-alert h1{color:var(--red)}.sv-alert h1:focus-visible{outline:3px solid #3478c9;outline-offset:3px}
.sv-w05{border:1px dashed var(--muted);border-radius:12px;padding:10px 12px;margin:0 0 14px;display:flex;flex-wrap:wrap;gap:8px;color:var(--text);font-size:13px}.sv-w05 p{flex:1 1 100%;margin:0;font-size:11px}.sv-w05 span{border:1px dashed var(--muted);border-radius:8px;padding:8px 12px}
/* W04.2 (Figma 63:471): today outline + label, compact month lines, Request access. Tester PR #28 L-a: W05 sketch text uses --text (AA). */
.employee-week-day.is-today,.employee-month-cell.is-today{outline:2px solid var(--brand-blue);outline-offset:-2px}.employee-week-day.outside{background:#efeeea}.sv-today{display:inline-block;background:var(--brand-blue);color:var(--brand-on-blue);border-radius:4px;padding:1px 5px;font-size:11px;font-weight:700;margin-left:4px}
.sv-month-line{display:block;font-size:11px;line-height:1.35;overflow-wrap:anywhere}.sv-month-line strong{margin-right:4px}.employee-mini-days button.is-today{font-weight:700;text-decoration:underline}
.sv-request-hint{margin:8px 0 0}.sv-request-error{color:var(--red);margin:8px 0 0}[data-sv-request-status]{font-weight:700;margin:6px 0}
@media(min-width:900px){.sv-main:has(.employee-week-scroll,.employee-month-scroll,.employee-year-grid){max-width:1132px}.sv-main .employee-week-grid,.sv-main .employee-month-weekdays,.sv-main .employee-month-grid{grid-template-columns:repeat(7,minmax(0,1fr));min-width:0}.sv-main .employee-week-day{min-height:300px}}
.sv-main .employee-month-cell{min-height:110px}
/* W04.3 holidays, schedule year, Week pay period (Figma 63:3577, 68:4548, 68:4549). */
.sv-holiday{margin:2px 0;font-size:.82rem;color:#5b3a8c;font-weight:600}
.employee-month-cell .sv-holiday{display:block;font-size:.7rem;overflow-wrap:anywhere}
.employee-mini-days button{position:relative}
.sv-holiday-dot{position:absolute;top:0;right:1px;font-size:.5rem;color:#5b3a8c;line-height:1}
.employee-mini-days button.is-other-year{color:#4b5563;background:#e5e7eb}
.employee-week-day.is-current-pp{background:#eaf3fc}
/* W05.1 badge, bell, requests, notices, approvals (Figma 79:525 tokens: amber #6b4500 on #fff4df, muted #53657c). */
.sv-bar-actions{display:flex;align-items:center;gap:8px}
.sv-bell{position:relative;min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 10px}
.sv-count{display:inline-block;min-width:18px;padding:0 5px;margin-left:4px;border-radius:9px;background:#fff4df;color:#6b4500;font-size:12px;font-weight:700;line-height:18px;text-align:center}
.sv-pending{min-height:44px;margin:8px 0;border-radius:22px;background:#fff4df;color:#6b4500;border:1px solid #6b4500;font-weight:700;padding:0 16px}
.sv-screen{max-width:760px;margin:0 auto;padding:16px}
.sv-back{min-height:44px;border:0;background:transparent;padding:0;font-weight:700}
.sv-section{font-size:12px;letter-spacing:.04em;color:#53657c;margin:20px 0 8px}
.sv-req,.sv-done,.sv-note{display:flex;gap:12px;justify-content:space-between;align-items:center;border:1px solid #c9d3df;border-radius:10px;padding:12px 14px;margin:0 0 10px;background:#fff}
.sv-note-list{list-style:none;margin:0;padding:0}
.sv-note.is-unread{border-color:#071F46;border-width:2px}
.sv-req-text{min-width:0}.sv-req-text p{margin:2px 0}.sv-req-side{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.sv-req-side button{min-height:44px}
.sv-req-msg{font-style:italic;color:#53657c}
.sv-chip-s{display:inline-block;padding:2px 10px;border-radius:12px;background:#e7eef7;color:#071F46;font-size:12px;font-weight:700}
.sv-chip-s.is-amber{background:#fff4df;color:#6b4500}
.sv-filters{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 12px}.sv-filters button{min-height:44px;border-radius:22px}
.sv-filters button[aria-pressed="true"]{background:#071F46;color:#fff}
.sv-result{border-left:4px solid #071F46;padding:4px 12px;margin:8px 0 12px}
.sv-ba{border:1px solid #c9d3df;border-radius:10px;padding:10px 14px;margin:8px 0}
.sv-dialog textarea{display:block;width:100%;min-height:88px;margin:4px 0;font:inherit}
.sv-nav.has-approvals{grid-template-columns:repeat(6,minmax(0,1fr))}
.sv-bell svg{width:22px;height:22px;flex:none}
/* W05.2 leave (Figma 79:525 L1–L11, M3, M8–M10) */
.sv-fieldset{border:1px solid #c9d3e0;border-radius:8px;margin:12px 0;padding:8px 12px}.sv-fieldset legend{font-weight:700;padding:0 4px}
.sv-choice{display:flex;align-items:center;gap:10px;min-height:44px}.sv-choice input{width:20px;height:20px;margin:0}
.sv-screen select,.sv-screen input[inputmode],.sv-dialog input[inputmode]{display:block;width:100%;max-width:420px;min-height:44px;margin:4px 0 8px;font:inherit}
.sv-warn{border-left:4px solid #b26a00;background:#fff4df;color:#4a3000;padding:8px 12px;margin:12px 0;border-radius:4px}.sv-warn p{margin:2px 0}
/* W05.3 covers (Figma 79:525 C9): open hours stand out without colour alone ("Open" text). */
.sv-open span{font-weight:700;color:#6b4500}.employee-person small.sv-hint{display:block;margin:0}
.sv-primary:hover{background:var(--brand-blue);color:var(--brand-on-blue);box-shadow:inset 0 0 0 2px rgba(255,255,255,.28)}
/* W06-UI PASS rep switch (Figma 92:887 R1-R4, R7): label, 44x24 track (#071F46 on, #8090A5 off, 50% while
   saving), 44px target, the base 3px #3478c9 focus ring. Error row outline and banner #b13b42 on #fbeaeb. */
div.setup-row{padding:6px 4px}.setup-row-name{flex:1;display:flex;text-align:left;border:none;background:transparent;padding:4px;min-width:0}.setup-row-name span span{display:block;color:#53657c;font-size:12px}.setup-row-name[aria-pressed=true]{background:#eaf1fb}
.setup-row.is-error{outline:2px solid #b13b42;outline-offset:-2px;border-radius:8px}
.pass-rep-switch{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 8px;border:none;border-radius:22px;background:transparent;flex:0 0 auto;font-size:13px;color:#071f46}
.pass-rep-label{font-weight:600}.pass-rep-state{color:#53657c;min-width:3.6em;text-align:left}
.pass-rep-track{position:relative;width:44px;height:24px;border-radius:12px;background:#8090a5;flex:0 0 auto}
.pass-rep-track::after{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:#fff}
.pass-rep-switch[aria-checked=true] .pass-rep-track{background:#071f46}.pass-rep-switch[aria-checked=true] .pass-rep-track::after{left:22px}
.pass-rep-switch.is-saving{cursor:progress}.pass-rep-switch.is-saving .pass-rep-track{opacity:.5}
.pass-rep-help{color:#53657c;font-size:13px}
.pass-rep-error{border:1px solid #b13b42;background:#fbeaeb;color:#b13b42;border-radius:8px;padding:10px 12px;margin:8px 0}.pass-rep-error p{margin:0 0 6px}.pass-rep-error:focus-visible{outline:3px solid #3478c9;outline-offset:3px}
.pass-rep-status:empty{margin:0}
/* W06.2-UI notification settings (Figma 97:905 NS1-NS12, MS1-MS6). Text fields and the consent tick use #8090A5 (3.26:1). */
.ns-panel{display:flex;flex-direction:column;gap:12px;max-width:760px;color:#071f46}
.ns-eyebrow{margin:0;font-size:12px;font-weight:600;letter-spacing:.04em;color:#53657c}.ns-sub{margin:0;color:#53657c;font-size:14px}
.ns-panel h1,.ns-panel h2{margin:0;font-size:22px}
.ns-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #d7e1ee;border-radius:10px;padding:12px 16px;background:#fff}
.ns-row-title{margin:0;font-weight:600;font-size:16px}.ns-row-sub{margin:2px 0 0;color:#53657c;font-size:13px}
.ns-switch[aria-disabled=true]{cursor:not-allowed}.ns-switch[aria-disabled=true] .pass-rep-track{background:#c9d4e3}.ns-switch[aria-disabled=true] .pass-rep-label{color:#53657c}
.ns-box{border-radius:8px;padding:12px 16px;border-left:4px solid}.ns-box p{margin:0 0 4px}.ns-box:focus-visible{outline:3px solid #3478c9;outline-offset:3px}
.ns-amber{background:#fff4df;color:#6b4500;border-color:#6b4500}.ns-green{background:#e8f3ed;color:#266447;border-color:#266447}
.ns-red{background:#fbeaeb;color:#b13b42;border-color:#b13b42}.ns-blue{background:#e2eaf5;color:#071f46;border-color:#071f46}
.ns-chip{display:inline-block;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:600;margin-right:6px}
.ns-chip-green{background:#e8f3ed;color:#266447}.ns-chip-amber{background:#fff6e0;color:#8a5a00}.ns-chip-plain{background:#e8eff7;color:#071f46}
.ns-field{display:flex;flex-direction:column;gap:4px}.ns-field label{font-weight:600}
.ns-input{min-height:44px;border:1px solid var(--field-border,#8090a5);border-radius:6px;padding:0 12px;font-size:16px;color:#071f46;background:#fff}
.ns-input.is-invalid{border-color:#b13b42}.ns-input:focus-visible{outline:3px solid #3478c9;outline-offset:1px}
.ns-hint{margin:0;color:#53657c;font-size:13px}.ns-error{margin:0;color:#b13b42;font-weight:600;font-size:13px}
.ns-consent-text{background:#f5f7fa;border:1px solid #d7e1ee;border-radius:8px;padding:12px 16px}.ns-consent-text p{margin:0}
.ns-tick{display:flex;align-items:center;gap:12px;min-height:44px;font-weight:600}
.ns-tick input{appearance:none;width:24px;height:24px;border:2px solid var(--field-border,#8090a5);border-radius:4px;margin:0;flex:0 0 auto;background:#fff}
.ns-tick input:checked{background:#071f46;border-color:#071f46}.ns-tick input[aria-invalid=true]{border-color:#b13b42}
.ns-actions{display:flex;flex-direction:column;gap:12px}.ns-actions button{min-height:44px;border-radius:8px;border:1px solid #8090a5;background:#fff;color:#071f46;font-weight:600;font-size:16px}
.ns-actions .ns-primary{background:#071f46;color:#fff;border-color:#071f46}.ns-actions button[aria-disabled=true]{color:#53657c;cursor:not-allowed}
.ns-link{border:none;background:none;padding:0;color:#071f46;text-decoration:underline;font:inherit;min-height:44px}
.ns-roster{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;flex-basis:100%}.ns-roster-line{flex-basis:100%;color:#53657c;font-size:13px}
.ns-edit{min-height:44px;min-width:72px;border:1px solid #8090a5;border-radius:8px;background:#fff;color:#071f46;font-weight:600}
@media(min-width:761px){.ns-actions{flex-direction:row}.ns-actions button{min-width:180px}}
/* W09.0a Schedule source (Figma 100:1009). L1: unselected rows #6b7685 on #ffffff (4.6:1, >=3:1). L3: times never wrap. */
.source-eyebrow{color:var(--muted);letter-spacing:.06em}.source-help{color:var(--muted);font-size:13px;margin:4px 0}.source-year{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:14px}.source-rows{border:0;padding:0;margin:18px 0;display:grid;gap:10px}.source-rows legend{font-weight:600;font-size:14px;margin-bottom:8px}
.source-row{display:flex;gap:12px;align-items:center;padding:12px 16px;border:1px solid #6b7685;border-radius:8px;background:#ffffff;min-height:44px;cursor:pointer}
.source-row.is-selected{border:2px solid var(--accent);background:#e2eaf5}.source-row input{width:1.1rem;height:1.1rem;min-height:0;accent-color:var(--accent)}.source-row:focus-within{outline:3px solid #3478c9;outline-offset:2px}.source-row span{display:flex;flex-direction:column}
.source-time{white-space:nowrap}.source-actions{display:grid;gap:12px;margin:16px 0}.source-reader{display:flex;gap:12px;align-items:center;justify-content:space-between}.source-email{overflow-wrap:anywhere}.source-copy[data-copied=true]{font-weight:700}.source-sheet-form{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin-top:16px}.source-sheet-form label{display:flex;flex-direction:column;gap:6px;font-weight:600}.source-back{align-self:start}
/* V2-GRID preview (Figma 112:1123) */
.grid-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.grid-skipped-chip{border-radius:999px;padding:4px 10px;font-size:.8rem;background:#fff4d6;color:#7a4b00;border:2px solid transparent}
button.grid-skipped-chip{cursor:pointer}
.grid-chips{display:flex;gap:8px;flex-wrap:wrap}
.grid-codes-chip{background:#fde2e1;color:#8a1c14}
.grid-skipped-none{background:#e3f6ea;color:#14632f}
.grid-pager{display:flex;align-items:center;gap:16px}.grid-months{display:flex;gap:8px;overflow-x:auto;padding:4px 0}
.grid-months button{border-radius:999px}.grid-months .current{background:#0b1f44;color:#fff;text-decoration:underline}
.grid-legend{display:flex;flex-wrap:wrap;gap:12px;list-style:none;padding:0;font-size:.85rem}
.grid-pp th{border-bottom:0;height:22px;font-size:.72rem;position:relative;overflow:visible}.grid-pp .grid-divider{border-left-color:transparent}
.grid-pp-label{position:absolute;left:0;top:2px;transform:translateX(-50%);white-space:nowrap;background:#e6ecf5;border-radius:4px;padding:1px 6px;font-weight:700}
.grid-pp-first{transform:none}
/* muted mid-period label: #4a5568 on #f1f4f8 is about 7:1 (>= 4.5:1) */
.grid-pp-muted{transform:none;font-weight:400;background:#f1f4f8;color:#4a5568;font-style:italic}
.grid-corner-month,.grid-corner-name{display:block}.grid-corner-name{font-weight:400;color:#4a5568}.grid-pp-caption{color:#5a6475;font-weight:400}
.grid-scroll{overflow-x:auto;border:1px solid #c9d1de;border-radius:6px}
.grid-table{border-collapse:collapse;font-size:.8rem}.grid-table th,.grid-table td{min-width:32px;height:28px;text-align:center;border-bottom:1px solid #e3e8ef}
.grid-table th[scope=row],.grid-corner{position:sticky;left:0;background:#fff;text-align:left;min-width:110px;z-index:1;border-right:2px solid #0b1f44}
.grid-table thead th span{display:block;font-weight:400}.grid-divider{border-left:3px solid #0b1f44}
.grid-cell{font-weight:700}.grid-shift{background:none}
.grid-leave span,.grid-legend .grid-leave{background:#ffd84d;border-radius:4px;padding:2px 4px}
.grid-training span,.grid-legend .grid-training{background:#e9dcf5;border-radius:4px;padding:2px 4px}
.grid-detail span,.grid-legend .grid-detail{background:#cdeee8;border-radius:4px;padding:2px 4px;font-size:.7rem}
.grid-off-dot{display:inline-block;width:4px;height:4px;border-radius:50%;background:#3b6fd8}.grid-legend .grid-off{color:#3b6fd8}
.grid-skip span,.grid-legend .grid-skip,li>.grid-skip{outline:1px dashed #c62828;background:#fdecec;color:#c62828;border-radius:3px;padding:1px 6px}
.grid-skipped-panel{position:fixed;z-index:20;background:#fff;box-shadow:0 8px 30px rgba(0,0,0,.25);top:16px;right:16px;width:min(320px,90vw);border-radius:12px;display:flex;flex-direction:column;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow:hidden}
.grid-skipped-head{position:sticky;top:0;flex:none;background:#fff;padding:16px 16px 8px;display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}
.grid-skipped-head h3{margin:0}.grid-skipped-head p{grid-column:1/-1;margin:0}
.grid-skipped-list{list-style:none;margin:0;padding:0 16px 16px;flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.grid-skipped-list li{display:flex;gap:8px;border:1px solid #e3e8ef;border-radius:6px;padding:8px;margin-bottom:6px}.grid-skipped-list li span:last-child{margin-left:auto}
@media (max-width:600px){.grid-skipped-panel{top:auto;bottom:0;left:0;right:0;width:auto;border-radius:16px 16px 0 0;max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px)}}
.grid-hint{font-size:.8rem;color:#5a6475}
/* Employee Year View (Figma vpw3z8MYIJABqW1wRBkTrN 161:428): Today column, You row, swap corner mark (161:830 asset). */
.grid-cell{position:relative}
.grid-today{background:#e6f0ff;border-left:2px solid #071f46;border-right:2px solid #071f46}
thead .grid-today{border-top:2px solid #071f46}
.grid-you th,.grid-you td{background:#eaf1fb}
.grid-you th{box-shadow:inset 4px 0 0 #071f46}
.grid-you-tag{display:inline-block;background:#071f46;color:#fff;font-size:11px;font-weight:700;border-radius:4px;padding:1px 4px}
.grid-swap-mark{position:absolute;top:0;right:0;width:10px;height:10px;background:url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0H10V10L0 0Z' fill='%239A3412'/%3E%3C/svg%3E") no-repeat}
.grid-swapped{display:inline-block;position:relative;min-width:34px;text-align:center}
.employee-view-nav.employee-view-nav-3{grid-template-columns:repeat(3,minmax(0,1fr))}.employee-view-nav.employee-view-nav-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.employee-home-nav{display:flex;gap:8px;margin:0 0 12px}.employee-home-nav button{min-height:44px}
/* V2-REQ E6 (Tester Low): the minimum 0-15 minus/plus buttons are at least 44x44 tap targets. */
.req-stepper{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.req-stepper button{min-width:44px;min-height:44px;padding:0 12px;font-size:18px}
/* V2-REQ error states (Figma 180:28-180:4965): icon plus text, never color alone. */
.req-error{display:flex;gap:6px;color:#b3261e;font-size:14px;font-weight:600;line-height:1.4;margin:4px 0}.req-count{color:#b3261e;font-size:12px;margin:2px 0}
.req-banner{background:#fdeeec;border:1px solid #b3261e;border-radius:8px;padding:16px;display:flex;flex-direction:column;gap:12px;margin:0 0 16px}.req-banner p{color:#b3261e;font-weight:600;font-size:14px;margin:0}.req-banner button{min-height:44px}
/* 320px: long unbroken link text (error, hint, status) wraps inside the Sheet link and Import forms instead of widening the page. */
.source-sheet-form>*,.source-sheet-form label{min-width:0}.source-sheet-form input{min-width:0;max-width:100%}[data-source-link-error],[data-source-link-help],[data-source-sheet-status],[data-source-import-status],[data-source-publish-status],.source-help{overflow-wrap:anywhere}
/* W10.3 (Figma 187:1124, 188:447): shift hours Notes field and the note banner on the full Watch Schedule. */
.req-notes{display:flex;flex-direction:column;gap:6px;padding-top:12px}.req-notes label{font-weight:700}
.req-notes textarea{font:inherit;min-height:72px;padding:10px 12px;border:1px solid #6b7280;border-radius:8px;resize:vertical}
.year-notes{background:#eef4fc;border:1px solid #4a78c2;border-radius:8px;padding:12px 16px;margin:0 0 16px}
.year-notes-title{font-size:15px;margin:0 0 4px;color:#0b1f44}.year-notes-text{margin:0;white-space:pre-line;overflow-wrap:anywhere;color:#0b1f44}
/* W10.4: note on the holiday minimums box (Figma 189:978). */
.req-note{border:1px solid var(--line,#ccd);border-radius:8px;padding:12px;margin:8px 0}
/* FX-04 republish warning (Figma 196:28: W1 sheet/dialog, W2-W5 banners). */
.fx04-status{display:flex;gap:8px;align-items:flex-start;border:1px solid;border-radius:8px;padding:12px;margin:0 0 12px;font-weight:600;font-size:15px;line-height:1.4}.fx04-status p{margin:0}
.fx04-info{background:#eef4fc;border-color:#071f46;color:#071f46}.fx04-ok{background:#ecfdf3;border-color:#067647;color:#067647}
.fx04-alert{display:flex;flex-direction:column;gap:12px;background:#fdeeec;border:1px solid #b3261e;border-radius:8px;padding:16px;margin:0 0 12px;color:#b3261e;font-weight:600}.fx04-alert p{margin:0}
.wb-main .fx04-alert-button{background:#fff;border:1px solid #B3261E;color:#071f46;border-radius:8px;min-height:44px;width:100%;margin:0;font:inherit;font-size:15px;font-weight:600}
.fx04-scrim{position:fixed;inset:0;background:rgba(7,31,70,.6);display:flex;align-items:flex-end;justify-content:center;z-index:50}
.fx04-dialog{background:#fff;color:#071f46;width:100%;padding:24px;border-radius:16px 16px 0 0;box-shadow:0 4px 24px rgba(0,0,0,.25);display:flex;flex-direction:column;gap:16px}
.fx04-dialog h3{margin:0;font-size:20px;line-height:1.4}.fx04-dialog p{margin:0;font-size:16px;line-height:1.4}.fx04-warn{color:#7a4b00}
.fx04-actions{display:flex;flex-direction:column;gap:12px}
.wb-main .fx04-actions button{margin:0;min-height:44px;border-radius:8px;font:inherit;font-weight:600;padding:12px 20px}
.wb-main .fx04-replace{background:#071f46;color:#fff;border:0}.wb-main .fx04-cancel{background:#fff;color:#071f46;border:1.5px solid #071f46}
.wb-main .fx04-actions button:focus-visible{outline:none;box-shadow:0 0 0 3px #3478c9}
@media (min-width:768px){.fx04-scrim{align-items:center}.fx04-dialog{width:560px;border-radius:16px}.fx04-actions{flex-direction:row}}

/* FX-05 Home Screen note (Figma 196:16319): browser tab on iPhone/iPad only. */
.home-screen-note{display:flex;gap:8px;align-items:flex-start;background:#eef4fc;border:1px solid #071f46;border-radius:8px;padding:12px;color:#071f46;line-height:1.4;margin:0 0 12px}.home-screen-note p{margin:0;flex:1 1 0;min-width:0;font-size:15px;color:#071f46}.home-screen-note-icon{font-weight:700;font-size:16px}

/* W10.13 PR 2: roster Delete (navy primary, not red) and its confirm dialog outside the workbook. */
.setup-row .roster-delete{margin:0 0 0 auto;min-height:44px;border-radius:8px;padding:12px 20px;font-weight:600;flex:0 0 auto;max-width:100%}
/* Tester 320px: rows with Delete wrap so nothing pushes past the card; full-width Delete on narrow screens. */
div.setup-row:has(.roster-delete){flex-wrap:wrap}
@media (max-width:479px){.setup-row .roster-delete{flex:1 1 100%;margin:0}}
[data-roster-delete-confirm] .fx04-actions button{margin:0;min-height:44px;border-radius:8px;font:inherit;font-weight:600;padding:12px 20px}
[data-roster-delete-confirm] .fx04-replace{background:#071f46;color:#fff;border:0}[data-roster-delete-confirm] .fx04-cancel{background:#fff;color:#071f46;border:1.5px solid #071f46}
[data-roster-delete-confirm] .fx04-actions button:focus-visible{outline:none;box-shadow:0 0 0 3px #3478c9}
/* ME-01 manager direct edit (Day view): the Edit button sits beside the name; the form stacks so it holds at 320px. */
.direct-edit-row{display:flex;align-items:center;gap:8px;min-width:0}
.direct-edit-row>.employee-person{flex:1 1 0;min-width:0}
.direct-edit-open{flex:0 0 auto;min-height:44px;padding:0 12px;border:1px solid currentColor;border-radius:8px;background:transparent;color:inherit;font:inherit}
.direct-edit{display:grid;gap:8px;margin:8px 0;padding:12px;border:1px solid #c7ccd6;border-radius:8px;min-width:0;max-width:100%;box-sizing:border-box}
.direct-edit label{display:grid;gap:4px;min-width:0}
.direct-edit select,.direct-edit input{width:100%;max-width:100%;min-height:44px;box-sizing:border-box;font:inherit}
.direct-edit-title{margin:0;font-weight:600;overflow-wrap:anywhere}
.direct-edit-error{margin:0;color:#b00020;overflow-wrap:anywhere}
.direct-edit-status{margin:0 0 8px;overflow-wrap:anywhere}
.direct-edit-actions{display:flex;flex-wrap:wrap;gap:8px}
.direct-edit-actions button{min-height:44px;padding:0 16px;font:inherit}
/* SL-03 employee requests (Figma W11.2 253:1516): My Shifts entry points, request forms, My requests, Withdraw. */
.employee-request-actions{display:flex;flex-direction:column;gap:12px;margin:12px 0 16px}
.employee-request-primary,.employee-request-secondary{min-height:44px;width:100%;border-radius:8px;font-weight:600;font-size:16px;padding:10px 16px}
.employee-request-primary{background:#071f46;color:#fff;border:1.5px solid #071f46}
.employee-request-secondary{background:#fff;color:#071f46;border:1.5px solid #071f46}
.employee-request-primary:disabled,.employee-request-secondary:disabled{opacity:.55}
.employee-request-link{background:none;border:0;padding:8px 0;min-height:44px;text-align:left;color:#071f46;font-weight:600;text-decoration:underline}
.employee-request-eyebrow{margin:0;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#4a5a73}
.employee-request-heading{margin:4px 0 16px;font-size:20px;color:#071f46}
.employee-request-form,.employee-requests{display:flex;flex-direction:column;gap:10px;min-width:0}
.employee-request-field{display:flex;flex-direction:column;gap:6px;font-weight:600;color:#071f46}
.employee-request-field select,.employee-request-field input{min-height:44px;max-width:100%;font-size:16px;border:1px solid #8a94a6;border-radius:8px;padding:8px 12px}
.employee-request-hint{margin:-4px 0 0;font-size:14px;color:#3d4a5c}
.employee-request-group{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.employee-request-group legend{font-weight:600;color:#071f46;margin-bottom:6px}
.employee-request-segmented{flex-direction:row;flex-wrap:wrap}
.employee-request-segmented .employee-request-radio{flex:1 1 0;min-width:0;justify-content:center}
.employee-request-radio{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 14px;border:1px solid #8a94a6;border-radius:8px;overflow-wrap:anywhere}
.employee-request-radio.is-checked{border:2px solid #071f46;background:#eef1f7}
.employee-request-help{margin:0;font-size:14px;color:#4a5a73}
.employee-request-info{margin:0;padding:10px 12px;border:1px solid #8a94a6;border-radius:8px;background:#f1f3f8;color:#071f46}
.employee-request-error{margin:0;color:#a3122a;font-weight:600}
.employee-request-buttons{display:flex;flex-direction:column;gap:12px;margin-top:8px}
.employee-request-flash{margin:0;padding:10px 12px;border:1px solid #8a94a6;border-radius:8px;background:#f1f3f8}
.employee-request-list{display:flex;flex-direction:column;gap:12px}
.employee-request-row{border:1px solid #c9cfda;border-radius:8px;padding:14px;display:flex;flex-direction:column;gap:6px;min-width:0;overflow-wrap:anywhere}
.employee-request-row p{margin:0}
.employee-request-row-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;flex-wrap:wrap}
.employee-request-row-head h3{margin:0;font-size:16px;color:#071f46;min-width:0}
.employee-request-chip{border:1px solid #071f46;border-radius:999px;padding:2px 8px;font-size:12px;font-weight:600;white-space:normal}
.employee-request-when{font-size:13px;color:#4a5a73}
.employee-request-note{font-weight:500}
.employee-request-empty p{margin:0 0 6px}
.employee-request-dialog{position:fixed;left:0;right:0;bottom:0;z-index:30;background:#fff;border-radius:16px 16px 0 0;box-shadow:0 4px 24px rgba(0,0,0,.25);padding:24px;display:flex;flex-direction:column;gap:12px}
.employee-request-dialog h3{margin:0;font-size:20px;color:#071f46}
.employee-request-dialog p{margin:0}
@media(min-width:768px){.employee-request-actions,.employee-request-buttons{flex-direction:row;flex-wrap:wrap;align-items:center}.employee-request-actions>.employee-request-primary,.employee-request-actions>.employee-request-secondary,.employee-request-buttons>button{width:auto;min-width:180px}}
/* SL-01 PR2: manager Approvals page (leave), Figma W11.1; holds at 320px and 390px. */
.la-list{list-style:none;margin:12px 0;padding:0;display:grid;gap:12px}.la-list li h2{font-size:17px;margin:0 0 6px;overflow-wrap:anywhere}.la-list li button,.leave-approvals-page .sv-actions button{width:100%;min-height:44px}
.la-status{border-left:4px solid var(--green);background:var(--paper);padding:8px 12px;margin:8px 0;border-radius:4px}.la-coverage{border:1px solid var(--line);padding:8px 12px;margin:12px 0;border-radius:4px}.la-coverage p{margin:2px 0}
.leave-approvals-page{max-width:640px;overflow-wrap:anywhere}.leave-approvals-page .sv-actions{flex-direction:column}
/* SL-01 PR2 Tester HIGH: with Approvals and Unit setup the short-label manager nav needs ~400px, wider than a 320/390px
   phone. It wraps to a second row inside itself (nothing hidden, no sideways page scroll). */
/* SL-02 mount: Approvals filter chips (Figma 237:164-172); wrap inside the page at phone widths, no sideways scroll. */
.ap-chips{display:flex;flex-wrap:wrap;gap:2px 2px;margin:12px 0;max-width:100%}.ap-chip{min-height:44px;border-radius:22px;padding:8px 11px;overflow-wrap:anywhere}.ap-chip[aria-pressed=true]{background:var(--brand-blue);color:var(--brand-on-blue);border-color:var(--brand-blue)}
/* UX-01: roster page fits 320px; Add person / Classifications labels stack at every width. */
[data-members] .setup-row{flex-wrap:wrap}[data-members] .setup-row>*{min-width:0;max-width:100%}[data-members] .setup-row label{flex:1 1 180px}[data-members] .setup-row select{width:100%;max-width:100%;min-width:0}
form[data-setup-person] label,form[data-setup-classification] label{display:flex;flex-direction:column;align-items:stretch;gap:6px;margin:0 0 12px;font-weight:600;font-size:14px;min-width:0}form[data-setup-person] input,form[data-setup-person] select,form[data-setup-classification] input{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.employee-personal-head{display:flex;justify-content:center;align-items:center;gap:6px;margin:22px 0 14px}.employee-personal-head button{padding:5px 8px;min-height:44px;border:0;background:transparent;font-size:15px;color:var(--brand-blue)}.employee-personal-head .employee-personal-name{margin:0;font-size:15px}
.partner-ask-hint{display:block;min-height:44px;width:100%;padding:8px 0;border:0;background:transparent;color:var(--brand-blue);font-weight:600;text-align:left}
.new-version-banner{display:block;position:sticky;top:0;width:100%;z-index:1000;min-height:44px;padding:10px 18px;background:#071F46;color:#fff;border:0;border-radius:0;font:inherit;font-weight:600;text-align:center;cursor:pointer}
/* W12.1 employee shell (Figma 274:61, 274:133, 274:214, 348:40): one light header (33px icon + 33px bold wordmark) and a
   thin superuser-style tab row on every employee/reader screen. No visible focus rings here (M1 AC2): keyboard focus
   shows as an underline instead, so it is still visible without an outline ring. */
.employee-app .employee-header{margin:0 0 16px}
.employee-app .app-identity{gap:10px;font-size:33px;font-weight:700;color:#071f46;width:auto}.employee-app .app-identity img{width:33px;height:33px}
.employee-app .employee-tabs{display:flex;flex-wrap:wrap;gap:4px 2px;border-bottom:1px solid #d7e1ee;padding:0 0 12px;margin:0 0 24px;overflow:visible}
.employee-app .employee-tabs button{min-height:44px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:#071f46;font-size:14px;font-weight:500;line-height:20px}
.employee-app .employee-tabs button[aria-current=page]{background:#071f46;color:#fff}
.employee-app .employee-tabs button{white-space:nowrap}
@media(max-width:360px){.employee-app .employee-tabs{flex-wrap:nowrap;gap:0}.employee-app .employee-tabs button{padding:0 5px;font-size:13px}}
.employee-app.employee-shell button:focus,.employee-app.employee-shell a:focus,.employee-app.employee-shell [role=tab]:focus{outline:none;box-shadow:none}
.employee-app.employee-shell input:focus-visible,.employee-app.employee-shell select:focus-visible,.employee-app.employee-shell textarea:focus-visible{outline:3px solid #3478c9;outline-offset:2px}
.employee-app.employee-shell button:focus-visible,.employee-app.employee-shell a:focus-visible{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:2px}
.employee-app .home-updates-card{border:0;padding:0;background:transparent;box-shadow:none}
.employee-settings .settings-card{border:1px solid #ccd4de;border-radius:12px;padding:20px 24px;display:flex;flex-direction:column;gap:16px;background:#fff}
.employee-settings .settings-card-label{margin:0;font-size:11px;font-weight:600;letter-spacing:1.5px;text-transform:uppercase;color:#545e6e}
.employee-settings .device-push-consent{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.employee-settings .device-push-consent button{min-height:44px;padding:0 16px;border:1px solid #8090a5;border-radius:6px;background:#e5edfa;color:#071f46;font-size:16px}
.employee-settings .device-push-consent p,.employee-settings .settings-line{margin:0;font-size:14px;color:#545e6e}
/* Employee Watch Schedule tab (Pete vFinal 2026-11-01): Day | Week | Year switcher and the shared header. */
/* W12.1 employee Watch Schedule (Figma 274:214 / 274:286 / 274:695, 390px). Contained to the viewport: wide Week and Year
   content scrolls inside its own scroller instead of widening the page (no clipping at the right edge). */
.watch-schedule{min-width:0;max-width:100%;overflow-x:clip;color:#0b1f44}.watch-schedule [data-watch-content]{min-width:0;max-width:100%}
.watch-heading{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-bottom:12px}
.watch-views{position:sticky;top:0;z-index:5;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:0;background:#fff}
.watch-views button{min-height:46px;border:1px solid #0b1f44;border-radius:8px;background:#fff;color:#0b1f44;font-weight:600;font-size:16px}
.watch-views button[aria-pressed="true"]{background:#0b1f44;background-image:none;color:#fff;box-shadow:none}
.watch-months{display:flex;gap:7px;overflow-x:auto;padding:2px 0}
.watch-months button{flex:0 0 auto;width:37px;height:37px;min-height:37px;border-radius:50%;border:1px solid #8a94a6;background:#fff;color:#4a5568;font-weight:400;font-size:12px;padding:0}
.watch-months button.current{background:#0b1f44;border-color:#0b1f44;color:#fff;font-weight:700;text-decoration:underline}
.watch-heading .year-hours{margin:0}.watch-heading .year-hours-custom{display:none}.watch-heading .year-hours-main{margin:0;text-align:center;font-weight:700;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.watch-pager{display:flex;align-items:center;justify-content:space-between;gap:8px}.watch-pager h2{flex:1;min-width:0;margin:0;font-size:17px;font-weight:700;text-align:center}
.watch-pager button{flex:0 0 auto;width:44px;height:44px;border:1px solid #0b1f44;border-radius:8px;background:#fff;color:#0b1f44;font-weight:700}
.watch-legend ul{display:flex;flex-wrap:wrap;gap:6px 12px;list-style:none;margin:0;padding:0;font-size:13px;align-items:center}
.watch-code{display:inline-flex;align-items:center;justify-content:center;min-width:12px;padding:0 2px;border-radius:4px;font-weight:700;position:relative}
.watch-code.grid-leave{background:#f5d14a;padding:1px 6px}.watch-code.grid-training{background:#e4def5;padding:1px 6px}.watch-code.grid-detail{background:#cdeee8;padding:1px 6px}.watch-code.grid-off{color:#3b6fd8}
.watch-legend .grid-swapped{min-width:12px;padding-right:6px}
.watch-schedule td.grid-cell{position:relative}.watch-schedule td.grid-off{color:#3b6fd8}
.watch-schedule td.grid-leave span{background:#f5d14a}.watch-schedule td.grid-training span{background:#e4def5}.watch-schedule td.grid-detail span{background:#cdeee8}
.watch-schedule .grid-swap-mark{position:absolute;top:1px;right:1px;width:0;height:0;background:none;border-left:4px solid transparent;border-right:4px solid transparent;border-top:6px solid #dc2626}
.watch-day{border-top:2px solid #0b1f44}
.watch-shift{border-bottom:2px solid #0b1f44;padding:12px 0 0}.watch-shift h3,.watch-shift h4{margin:0 0 4px;font-weight:700}.watch-shift h3{font-size:18px}.watch-shift:last-child{border-bottom:0}
.watch-shift ul,.watch-other{list-style:none;margin:0;padding:0}.watch-day .watch-shift li,.watch-day .watch-other li{padding:12px 0;border-bottom:1px solid #d6e2ee;font-size:15px}
.watch-pos{display:inline-block;min-width:34px;font-size:10px;font-weight:700;letter-spacing:.04em;color:#5a6475;font-variant:small-caps;text-transform:uppercase}
.watch-person.is-you{background:none;font-weight:400}
.watch-week-scroll{overflow-x:auto;scroll-snap-type:x mandatory;border-top:1px solid #c9d1de;border-bottom:1px solid #c9d1de;max-width:100%}
.watch-week{display:grid;grid-auto-flow:column;grid-auto-columns:170px;gap:0}
.watch-week-day{padding:10px 8px;background:#fff;scroll-snap-align:start}.watch-week-day.in-pay-period{background:#e7f0fa}
.watch-week-day.is-today{outline:2px solid #0b1f44;outline-offset:-2px}
.watch-week-day h3{margin:0 0 4px;font-size:15px}.watch-week .watch-shift{border:0;padding:0}.watch-week .watch-shift h4{font-size:12px;color:#5a6475;margin:2px 0}
.watch-week li{padding:2px 0;font-size:12px;border:0}.watch-week .watch-pos{min-width:0;margin-right:4px;font-size:12px;font-variant:normal;color:inherit;font-weight:400}
.watch-foot{margin:6px 0 0;font-size:12px;color:#5a6475}.watch-hint{margin:0 0 8px}
.watch-schedule .sheet-grid{max-width:100%}.watch-schedule .grid-scroll{max-width:100%}
.watch-schedule .grid-table th,.watch-schedule .grid-table td{min-width:40px}.watch-schedule .grid-table th[scope=row],.watch-schedule .grid-corner{min-width:104px;border-right:1px solid #e3e8ef}
.watch-schedule .grid-table{border-collapse:separate;border-spacing:0}.watch-schedule .grid-divider{border-left:0}.watch-schedule .grid-table th[scope=row]{z-index:3;padding-left:10px;white-space:nowrap}.watch-schedule .grid-corner{z-index:3}
.watch-schedule .employee-note,.watch-schedule .employee-note.leave{font-size:inherit;font-weight:400;color:inherit}
.watch-schedule .grid-corner{text-align:center}.watch-schedule .grid-pp-caption{text-align:left;font-size:11px}
.watch-schedule .grid-you th{border-left:5px solid #0b1f44}.watch-schedule .grid-you th,.watch-schedule .grid-you td{background:#e7f0fa}
.watch-schedule .grid-you-tag{background:#0b1f44;color:#fff;border-radius:4px;padding:0 6px}
.watch-schedule th.grid-today{outline:2px solid #1e3a8a;outline-offset:-2px}
/* W12.1 (Figma 274:61 Home, 274:133 My Shifts, 348:40 Settings) at phone width; scoped to those screens. */
.employee-app .home-heading .eyebrow{font-size:13px;font-weight:700;letter-spacing:2px;color:#071f46;margin:0 0 6px}.employee-app .home-heading h2{font-size:26px;margin:0 0 4px}
.employee-app .today-card .next-duty .card-label{font-size:11px;letter-spacing:1.5px}.employee-app .today-card .next-duty strong{font-size:17px}
.employee-app .home-notifications .card-label{font-size:11px;letter-spacing:1.5px;color:#545e6e}.employee-app .home-notifications p{font-size:14px}
.employee-app .upcoming .section-heading h2{font-size:20px}
.employee-schedule .employee-mine-row{min-height:86px;align-items:center;border-top-color:#d8dde5}.employee-schedule .employee-mine-row strong{font-size:16px;color:#071f46}.employee-schedule .employee-mine-row .employee-note.leave{display:block;font-size:11px;font-weight:600;color:#6b2c91;margin:4px 0 0}
.employee-schedule .employee-request-link{font-size:16px;text-underline-offset:3px}
@media(max-width:640px){.employee-schedule .employee-range-date{font-size:16px;font-weight:600}.employee-schedule .employee-range h1{font-size:30px}}
@media(max-width:600px){.app-nav:has(.nav-short){flex-wrap:wrap;row-gap:4px;position:relative;max-width:100%;min-width:0}}
