/* Operational controls, dashboard and printable user guide. */
[hidden]{display:none!important}
#guidePrintOverlay{display:none}
select{cursor:pointer;color:var(--text);background-color:var(--card)}
select:focus-visible,button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #4c96e9;outline-offset:3px}
select option{background:var(--card);color:var(--text)}
.dashboard-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px;align-items:stretch}
.dashboard-widget{grid-column:span var(--widget-span,6);min-width:0;background:var(--card);border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:0 4px 18px #18395b06;position:relative;overflow:hidden}
.widget-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 0 16px}
.widget-heading h2{margin:0;font-size:17px;letter-spacing:-.02em}
.widget-heading p{margin:5px 0 0;font-size:12px;color:var(--muted);line-height:1.5}
.widget-link{background:none;border:0;color:#2465aa;font:inherit;font-size:12px;font-weight:800;padding:10px 0 0;cursor:pointer;text-align:left}
.widget-link span{padding-left:6px}
.dashboard-updated{font-size:11px;color:var(--muted);margin:0 0 14px}
.shift-widget{background:linear-gradient(115deg,#0b223f,#153e61);color:#fff;border-color:#153e61;padding:28px}
.shift-widget:after{content:'';position:absolute;width:180px;height:180px;border:30px solid #fff04;border-radius:50%;right:-60px;top:-50px;pointer-events:none}
.shift-widget h2{font-size:16px;color:#c5d9ec;margin:12px 0 2px;font-weight:600}
.shift-eyebrow{font-size:10px;font-weight:850;letter-spacing:.16em;color:#e9c977}
.shift-date{font-size:clamp(24px,2.3vw,36px);font-weight:850;letter-spacing:-.035em;line-height:1.3}
.shift-widget .pill{background:#ffffff14;color:#eaf2fd;border:1px solid #ffffff24;font-weight:750}
.shift-summary{display:flex;flex-wrap:wrap;gap:30px;border-top:1px solid #ffffff28;padding-top:18px;margin-top:20px}
.shift-summary div{display:grid;gap:6px}.shift-summary small{font-size:9px;letter-spacing:.1em;color:#bdcfe2}.shift-summary b{font-size:17px}
.shift-widget .widget-link{color:#f1d28a;padding-top:22px}
.weather-widget{padding:0}.weather-widget .nopd-weather{height:100%;border:0;box-shadow:none;border-radius:0;padding:22px;background:linear-gradient(145deg,var(--card),color-mix(in srgb,var(--card) 90%,#c5dcf7))}
.weather-widget .nw-current b{font-size:40px}.weather-widget .nopd-weather h3{font-size:16px}
.action-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.action-metric{min-height:126px;display:flex;flex-direction:column;text-align:left;gap:8px;background:color-mix(in srgb,var(--card) 85%,#e7eef8);border:1px solid var(--line);border-radius:12px;padding:16px;color:var(--text);cursor:pointer}
.action-metric:hover{border-color:#84a8d4;background:color-mix(in srgb,var(--card) 70%,#e7eef8)}.action-metric span{font-size:11px;font-weight:750;color:var(--muted)}.action-metric b{font-size:30px;letter-spacing:-.04em;line-height:1.1}.action-metric small{font-size:10px;color:var(--muted)}
.staffing-days{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:8px}
.staffing-day{border:1px solid var(--line);border-top:3px solid #258267;border-radius:8px;padding:10px;display:grid;gap:5px}.staffing-day.shortage{border-top-color:#d18c28}.staffing-day b{font-size:10px}.staffing-day span{font-size:13px;font-weight:800}.staffing-day small{font-size:9px;color:var(--muted)}
.widget-alert{display:grid;gap:5px;padding:12px;margin-bottom:13px;background:#fff5df;color:#79510c;border-radius:9px;font-size:12px}.widget-alert span{font-size:11px}
.upcoming-list>div{display:grid;grid-template-columns:100px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid var(--line);font-size:12px}.upcoming-list>div:last-child{border-bottom:0}.upcoming-date{color:var(--muted);font-size:11px}.upcoming-list small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.upcoming-list strong{font-variant-numeric:tabular-nums;font-size:11px}
.widget-big-number{font-size:36px;font-weight:850;letter-spacing:-.04em}.widget-big-number small{font-size:12px;font-weight:650;color:var(--muted);letter-spacing:0}.widget-stat-line{display:flex;justify-content:space-between;gap:12px;font-size:11px;margin:16px 0}.widget-stat-line span{color:var(--muted)}
.mini-equation{display:grid;gap:6px;padding:13px;background:color-mix(in srgb,var(--card) 80%,#d9efe6);border-radius:10px}.mini-equation b{font-size:18px;color:#16764a}.mini-equation span{font-size:10px;color:var(--muted)}
.widget-feature-value{font-size:19px;font-weight:800;line-height:1.5;letter-spacing:-.03em}.dashboard-widget>.subtle{font-size:12px;line-height:1.6}.briefing-snippet{border-left:2px solid #d7b567;padding:7px 0 7px 10px;font-size:11px;line-height:1.5}
.period-progress{height:6px;background:var(--line);border-radius:9px;margin-bottom:20px;overflow:hidden}.period-progress span{display:block;height:100%;background:#2d76b9;border-radius:9px}.dashboard-widget .time-bank-grid{grid-template-columns:repeat(3,1fr);gap:8px}.dashboard-widget .time-bank{padding:12px 6px}.dashboard-widget .time-bank b{font-size:23px}.dashboard-widget .time-bank span{font-size:9px}
.dashboard-quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dashboard-quick button{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 12px;border:1px solid var(--line);border-radius:10px;background:var(--card);font:inherit;font-size:12px;font-weight:750;color:var(--text);cursor:pointer}.dashboard-quick button:hover{border-color:#84a8d4}.dashboard-quick span{color:#6487ab}
.source-health-summary{display:flex;align-items:center;gap:25px;flex-wrap:wrap;font-size:11px;color:var(--muted)}.source-health-summary b{font-size:22px;color:var(--text);padding-right:5px}
.widget-controls{margin-bottom:18px;border-color:#a4c1df}.widget-control-head{display:flex;justify-content:space-between;gap:14px}.widget-control-head p{font-size:12px;color:var(--muted);margin:6px 0 16px}.widget-control-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.widget-control-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--line);border-radius:8px;padding:7px 10px}.widget-control-row label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700}.widget-control-row>div{display:flex;gap:4px}.widget-control-row input,.widget-density input{width:17px;height:17px;accent-color:#1c577f}.widget-control-row .btn{padding:4px 8px;min-height:32px}.widget-density{display:inline-flex;align-items:center;gap:8px;margin-top:16px;font-size:12px;margin-right:16px}.dashboard-compact{gap:10px}.dashboard-compact .dashboard-widget{padding:15px}.dashboard-compact .upcoming-list>div{padding:7px 0}
.ot-math-card{background:#eef7f2;border:1px solid #badccb;border-radius:12px;padding:17px;color:#164c36}.ot-math-card span{display:block;font-size:10px;letter-spacing:.09em;font-weight:800}.ot-math-card output{display:block;font-size:25px;line-height:1.5;font-weight:850;margin:5px 0}.ot-math-card small{display:block;font-size:12px;line-height:1.5}.ot-print-equation{border:1.5px solid #233847;background:#f0f5f8;padding:8px 12px;font-size:15px;margin:8px 0}.ot-print-equation small{font-size:10px}
.user-guide{max-width:1000px;margin:auto}.guide-page{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:32px;margin:16px 0;color:var(--text);line-height:1.6}.guide-page h2{font-size:23px;line-height:1.25;margin:0 0 18px}.guide-page h3{font-size:15px;margin:22px 0 8px}.guide-page p,.guide-page li,.guide-page td{font-size:13px}.guide-page ol{padding-left:22px}.guide-page li{margin:8px 0}.guide-brand{display:flex;gap:15px;align-items:center;border-bottom:3px solid #15375a;padding-bottom:14px;margin-bottom:20px}.guide-brand img{width:42px;height:55px;object-fit:contain}.guide-brand b{font-size:17px}.guide-brand small{display:block;color:var(--muted)}.guide-page table{width:100%;border-collapse:collapse;margin:14px 0}.guide-page th,.guide-page td{text-align:left;border:1px solid var(--line);padding:9px;vertical-align:top}.guide-page th{font-size:12px;background:#edf2f7;color:#132a45}.guide-foot{border-top:1px solid var(--line);margin-top:22px;padding-top:8px;font-size:10px;color:var(--muted)}
@media(max-width:1200px){.dashboard-widget{grid-column:span 6}.dashboard-widget[data-widget-id="actions"],.dashboard-widget[data-widget-id="sync"]{grid-column:span 12}.widget-control-list{grid-template-columns:repeat(2,minmax(0,1fr))}.action-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:700px){.dashboard-grid{grid-template-columns:1fr;gap:12px}.dashboard-widget,.dashboard-widget[data-widget-id="actions"],.dashboard-widget[data-widget-id="sync"]{grid-column:1}.action-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.action-metric:last-child{grid-column:1/-1}.widget-control-list{grid-template-columns:1fr}.upcoming-list>div{grid-template-columns:83px minmax(0,1fr) auto;gap:6px}.dashboard-widget{padding:18px}.shift-summary{gap:16px}.widget-heading{flex-wrap:wrap}.guide-page{padding:18px}.guide-page th,.guide-page td{padding:6px;font-size:11px}.topbar-status .drive-indicator{display:none}}
@media print{body.guide-print{background:#fff!important;color:#111!important}body.guide-print>#app,body.guide-print>#toast{display:none!important}#guidePrintOverlay{display:none}body.guide-print>#guidePrintOverlay{display:block!important}.guide-page{width:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#fff!important;color:#111!important;break-after:page;page-break-after:always;font-family:Arial,sans-serif;line-height:1.4}.guide-page:last-child{break-after:auto;page-break-after:auto}.guide-page h2{font-size:20px}.guide-page h3{font-size:13px;margin:14px 0 5px}.guide-page p,.guide-page li,.guide-page td{font-size:10.5px}.guide-page li{margin:6px 0}.guide-page .notice{font-size:10px}.guide-page .guide-foot{margin-top:14px}.guide-page table{break-inside:avoid}.guide-page a{color:#132a45;text-decoration:none}.guide-brand{padding-bottom:10px;margin-bottom:14px}.ot-print-equation{font-size:12px;padding:5px 10px;margin:5px 0}.ot-print-equation small{font-size:9px}}

@media print{body.guide-print{width:auto!important;min-height:0!important}.ot-print-equation{font-size:16px!important;line-height:1.25}}

/* Dashboard colors communicate the purpose of each widget at a glance. */
body[data-route="dashboard"] .content{background:radial-gradient(ellipse at 90% 0%,#e0ecfa80,transparent 52%),var(--bg)}
.dashboard-widget{--accent:#346fb6;--tint:#edf4ff;border-top:4px solid var(--accent);box-shadow:0 8px 28px #16395b09;transition:box-shadow .15s ease}
.dashboard-widget:hover{box-shadow:0 10px 30px #16395b12}
.dashboard-widget .widget-heading h2{display:flex;align-items:center;gap:10px}
.widget-icon{height:31px;width:31px;flex:none;display:inline-grid;place-items:center;border-radius:9px;color:var(--accent);background:var(--tint)}
.widget-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.dashboard-widget[data-widget-id="staffing"]{--accent:#bc7621;--tint:#fff3da}
.dashboard-widget[data-widget-id="overtime"]{--accent:#168369;--tint:#dff5ed;background:linear-gradient(145deg,var(--card) 30%,color-mix(in srgb,var(--card) 62%,#dff5ed))}
.dashboard-widget[data-widget-id="leave"]{--accent:#845cb8;--tint:#f0e8fb}
.dashboard-widget[data-widget-id="readiness"]{--accent:#197e96;--tint:#def2f6}
.dashboard-widget[data-widget-id="payperiod"]{--accent:#477bc2;--tint:#e5effc}
.dashboard-widget[data-widget-id="quick"]{--accent:#b88930;--tint:#fcf1d8}
.dashboard-widget[data-widget-id="sync"]{--accent:#698394;--tint:#eaf1f5}
.shift-widget{border-top-color:#d4b66d;background:linear-gradient(125deg,#102c4e,#1d5270);padding:29px}
.shift-widget .shift-date{margin:6px 0 14px}
.weather-widget{border-top-color:#56a4d0}.weather-widget .nopd-weather{background:linear-gradient(140deg,var(--card),color-mix(in srgb,var(--card) 66%,#ceeafa))}
.dashboard-widget[data-widget-id="actions"]{border:0;padding:0;background:transparent;box-shadow:none}
.dashboard-widget[data-widget-id="actions"] .widget-heading{margin:0 0 13px}
.action-metric{position:relative;border:0;min-height:140px;background:#e4eefc;color:#234f90;padding:19px;border-radius:15px;box-shadow:0 4px 16px #234f900a}
.action-metric:nth-child(2){background:#e9e5fa;color:#5a479c}
.action-metric:nth-child(3){background:#fcebcf;color:#94610f}
.action-metric:nth-child(4){background:#dcf1ef;color:#206d68}
.action-metric:nth-child(5){background:#def0fa;color:#256d91}
.action-metric span,.action-metric small{color:inherit}.action-metric b{font-size:37px}.action-metric:hover{filter:brightness(.98);background:color-mix(in srgb,var(--card) 30%,#c5dcf7)}
.staffing-day.adequate{background:color-mix(in srgb,var(--card) 75%,#e0f4ec)}.staffing-day.shortage{background:color-mix(in srgb,var(--card) 70%,#fff0d2)}
.dashboard-quick button{border:0;background:color-mix(in srgb,var(--card) 65%,#edf2f8);min-height:54px}.dashboard-quick button:hover{background:color-mix(in srgb,var(--card) 35%,#dde9f7)}
.dashboard-widget .widget-link{color:var(--accent)}.shift-widget .widget-link{color:#f1d28a}
.dashboard-widget .time-bank:nth-child(1){background:#ede8fa}.dashboard-widget .time-bank:nth-child(2){background:#e2eefb}.dashboard-widget .time-bank:nth-child(3){background:#fce6e6}.dashboard-widget .time-bank:nth-child(4){background:#e0f4ee}.dashboard-widget .time-bank:nth-child(5){background:#e8e4f4}.dashboard-widget .time-bank:nth-child(6){background:#fff0d8}
body.dark .action-metric{background:color-mix(in srgb,#162338 82%,#4e82d2);color:#c8ddff}body.dark .action-metric:nth-child(2){background:#30283e;color:#e2d2ff}body.dark .action-metric:nth-child(3){background:#3b3021;color:#f2d294}body.dark .action-metric:nth-child(4){background:#1b3638;color:#a2e3db}body.dark .action-metric:nth-child(5){background:#1e3347;color:#acdafa}
body.dark .widget-icon{background:color-mix(in srgb,var(--card) 75%,var(--accent));color:#dce9fa}body.dark .dashboard-widget .time-bank{background:#1c3046}body.dark .dashboard-widget .widget-link{color:#a7d1ff}
.live-update-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;padding:12px 16px;border:1px solid #d5a943;background:#fff7dc;color:#6f4c12;border-radius:10px;font-size:13px}
@media(prefers-reduced-motion:reduce){.dashboard-widget{transition:none}}

/* Phone navigation keeps the calendar and all secondary tools reachable. */
#mobileMenu{width:min(94vw,520px);max-height:86vh;max-height:86dvh;border:1px solid var(--line);border-radius:20px;padding:20px;background:var(--card);color:var(--text);box-shadow:0 20px 70px #00152b50}
#mobileMenu::backdrop{background:#071a34a6}
.mobile-menu-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.mobile-menu-header h2{margin:0;font-size:19px}
#mobileMenu nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#mobileMenu nav button{min-height:48px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--text);font:700 13px Arial,sans-serif;padding:10px;text-align:left}
#mobileMenu nav button.active{background:#1b507f;color:#fff;border-color:#1b507f}
.mobile-menu-settings{display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid var(--line);padding-top:15px;margin-top:15px}
.staffing-days{grid-template-columns:repeat(2,minmax(0,1fr));max-height:430px;overflow-y:auto;padding:2px;overscroll-behavior:contain}
button.staffing-day{font:inherit;text-align:left;color:var(--text);cursor:pointer;align-content:start;min-height:100px}
.staffing-day b{font-size:12px}.staffing-day small{font-size:11px}.staffing-day .staffing-absence{border-radius:5px;background:#eee4fb;color:#593681;padding:4px 6px;font-weight:700;overflow-wrap:anywhere}
body.dark .staffing-day .staffing-absence{background:#382946;color:#e0cafa}
.calendar-mobile-jump{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:14px 0}
.calendar-mobile-jump select{width:auto;flex:0 1 auto;min-height:44px;padding:8px;border:1px solid var(--line);border-radius:8px;background:var(--card);color:var(--text);font:700 14px Arial,sans-serif}
.calendar-month-view .payroll-calendar-year{grid-template-columns:1fr}
.calendar-month-view .cal-month{border-radius:12px;overflow:hidden;border-color:#bccce0}
.calendar-month-view .cal-month-title{background:#173b63;color:#fff;font:800 19px/1.4 Arial,sans-serif;padding:13px}
.calendar-month-view .cal-weekdays div{font:700 12px/1.4 Arial,sans-serif;padding:9px 2px;background:#edf3f9;border-color:#d0dbe8}
.calendar-month-view .cal-day{min-height:100px;padding:9px;border-color:#d0dbe8}
.calendar-month-view .cal-day-num{font:750 14px/1.4 Arial,sans-serif;margin-bottom:6px}
.calendar-month-view .cal-event{font:750 12px/1.4 Arial,sans-serif;padding:4px;border-radius:5px}
.cal-today{outline:3px solid #3278c1;outline-offset:-3px}.calendar-month-view .cal-day.blank{background:#f5f8fb}
.calendar-month-view .payroll-kpis{margin:16px 0}.calendar-month-view .payroll-kpi{padding:12px 6px}
.schedule-editor-shell>summary{cursor:pointer;list-style:none;padding:14px 17px;background:var(--card);border:1px solid #aac0d8;border-radius:11px;font-size:15px;font-weight:800;color:var(--text)}
.schedule-editor-shell>summary::after{content:'＋';float:right}.schedule-editor-shell[open]>summary::after{content:'−'}
.schedule-editor-shell[open]>summary{margin-bottom:8px}.schedule-editor-shell .edit-panel{scroll-margin-top:80px}
@media(max-width:1000px){
  .mobile-nav{grid-template-columns:repeat(5,minmax(0,1fr))!important;padding:4px 6px max(5px,env(safe-area-inset-bottom));background:var(--card);border-top:1px solid var(--line);box-shadow:0 -5px 24px #1434530b}
  .mobile-nav button{min-height:56px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--muted);font-size:10px;font-weight:750;padding:5px 2px;border:0;border-radius:9px;background:transparent}
  .mobile-nav button>span{font-size:22px;line-height:1.1}.mobile-nav [aria-current=page]{color:#1c5c95;background:#eaf2fc}
  body.dark .mobile-nav [aria-current=page]{background:#203c56;color:#c7e3ff}
  .content{padding-bottom:calc(90px + env(safe-area-inset-bottom))!important}
  .ops-banner{display:none}.ops-footer{font-size:10px;line-height:1.5}
  .ps-table .ps-person,.ps-table thead th:first-child{position:sticky;left:0;z-index:2;box-shadow:3px 0 6px #122f4a0c}
  .ps-scroll{overscroll-behavior-x:contain}.ps-cell-button{min-height:44px}.ps-records summary,.ps-note-link{min-height:30px;display:flex;align-items:center}
}
@media(max-width:700px){
  .field input,.field select,.field textarea,.coverage-form-grid input,.coverage-form-grid select,.coverage-form-grid textarea,.toolbar input,.toolbar select{font-size:16px!important;min-height:46px;max-width:100%}
  .btn,.widget-link,.widget-control-row .btn{min-height:44px}.widget-control-row input{width:22px;height:22px}
  .topbar{padding:10px 12px;min-height:62px}.topbar-title{font-size:11px;letter-spacing:.01em}.topbar-sub{font-size:9px}.topbar-status{gap:6px}.topbar-status .pill{display:none}.topbar-status b{font-size:11px}.role-badge{font-size:9px}
  .page-head{gap:12px;align-items:flex-start}.page-head h1{font-size:25px}.page-head>.toolbar{width:100%;gap:7px}.page-head .btn{flex:1 1 auto;white-space:normal;font-size:12px}
  .dashboard-widget{border-radius:16px}.shift-widget{padding:22px}.shift-date{font-size:28px}.shift-summary b{font-size:15px}
  .action-metric{min-height:112px;padding:15px}.action-metric b{font-size:32px}.action-metric:last-child{min-height:90px;display:grid;grid-template-columns:1fr auto}.action-metric:last-child small{grid-column:1/-1}
  .calendar-mobile-jump{gap:6px}.calendar-mobile-jump select{font-size:16px;min-width:0}.calendar-mobile-jump #calMonthJump{flex:1;max-width:180px}.calendar-mobile-jump #calView{flex:1 1 50%}
  .calendar-month-view .cal-day{padding:5px 3px;min-height:73px}.calendar-month-view .cal-event{font-size:9px;padding:3px 1px;overflow-wrap:anywhere}.calendar-month-view .cal-day-num{font-size:12px}.calendar-month-view .cal-weekdays div{font-size:10px}.calendar-month-view .cal-month-title{font-size:17px;padding:10px}
  .payroll-calendar-meta select{max-width:100%;font-size:16px}.payroll-calendar-title{flex-wrap:wrap}.payroll-calendar-title h2{font-family:Arial,sans-serif;font-size:14px}.payroll-calendar-title .btn{width:100%}
  .calendar-month-view .payroll-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.payroll-calendar-shell{min-width:0}.calendar-note{font-size:11px;line-height:1.5}
  .live-update-notice{align-items:flex-start;flex-direction:column}.table-wrap{max-width:100%;overscroll-behavior-x:contain}.admin-center-tabs{max-width:100%;overflow-x:auto;flex-wrap:nowrap}
}
@media print{#mobileMenu,.mobile-nav{display:none!important}.calendar-print-overlay-v111 .cal-month[hidden]{display:block!important}}

/* Broadcast controls retain separate touch targets within the narrow composer. */
.broadcast-options{grid-template-columns:1fr;max-height:none;overflow:visible;padding:0;margin:14px 0;gap:10px}
.recipient-check{min-width:0;min-height:48px;line-height:1.4;cursor:pointer}
.recipient-check input[type=checkbox]{flex:0 0 20px;width:20px;min-width:20px;height:20px;min-height:20px;margin:2px 0 0;padding:0;accent-color:var(--navy)}
.recipient-check>span{min-width:0;overflow-wrap:anywhere}
.broadcast-options .email-status{font-size:.875rem;margin-top:4px}
.queue-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.queue-controls button{min-height:44px}

/* Clear and archive controls remain separate touch targets on narrow screens. */
.queue-section-title{flex-wrap:wrap;gap:12px;align-items:flex-start}
.queue-section-title .queue-controls{max-width:100%}
.queue-section-title select{min-height:44px;max-width:100%;border:1px solid var(--line);border-radius:8px;background:var(--card);color:var(--text);padding:8px}
@media(max-width:650px){.queue-section-title{display:grid}.queue-section-title .queue-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.queue-section-title .queue-controls>.pill,.queue-section-title .queue-controls>label{grid-column:1/-1}.queue-section-title button{white-space:normal}}
.guide-navigation{padding:24px}.guide-navigation>label{display:block;font-size:14px;font-weight:700;margin:18px 0 8px}.guide-navigation input{width:100%;font:inherit;font-size:16px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--card);color:var(--text)}.guide-toc{display:grid;grid-template-columns:1fr 1fr;gap:8px}.guide-toc button{text-align:left;display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:8px;background:var(--card);color:var(--text);padding:12px;font:inherit;font-size:14px;cursor:pointer}.guide-toc button span{font-variant-numeric:tabular-nums;font-weight:800;color:#a17b34}.guide-page{scroll-margin-top:20px}.guide-page p,.guide-page li,.guide-page td{font-size:16px}.guide-page h3{font-size:18px}.guide-page th{font-size:14px}.guide-page .guide-audience{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:700}.guide-page .notice{font-size:16px;padding:14px}.guide-page .guide-endpoint{overflow-wrap:anywhere;font-size:13px}.guide-foot{font-size:12px}
@media(max-width:640px){.guide-toc{grid-template-columns:1fr}.guide-page{overflow-x:auto}.guide-page th,.guide-page td{font-size:14px}}
@media print{.guide-navigation{display:none!important}.guide-page{line-height:1.5!important}.guide-page p,.guide-page li,.guide-page td{font-size:11.5px!important}.guide-page h3{font-size:14px!important}.guide-page th{font-size:11px!important}.guide-page .notice{font-size:11.5px!important;padding:10px!important}.guide-page .guide-foot,.guide-page .guide-audience{font-size:9px!important}.guide-page .guide-endpoint{font-size:9px!important}.guide-page table{break-inside:auto}.guide-page tr{break-inside:avoid}}
