:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#03050b;--bg-2:#080c16;--surface:#0d1322e0;--surface-2:#11192beb;--surface-3:#182238c7;--input:#040811e6;--text:#f7fbff;--muted:#93a4bd;--muted-2:#65758e;--border:#94a3b829;--border-strong:#cbd5e142;--brand:#1d4ed8;--brand-2:#3b82f6;--brand-3:#22d3ee;--success:#34d399;--warning:#f59e0b;--danger:#fb7185;--early:#059669;--late:#d97706;--night:#4f46e5;--rest:#64748b;--training:#6b7280;--working:#3b82f6;--shadow:0 24px 80px #00000080;--shadow-soft:0 18px 50px #00000047;--glow:0 0 0 1px #ffffff0a, 0 24px 80px #2563eb24;--radius-lg:30px;--radius-md:20px;--radius-sm:14px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{background:var(--bg)}body{min-width:320px;min-height:100vh;color:var(--text);background:radial-gradient(circle at 10% 4%,#2563eb47,#0000 30rem),radial-gradient(circle at 86% 10%,#22d3ee26,#0000 28rem),radial-gradient(circle at 80% 92%,#4f46e529,#0000 34rem),linear-gradient(135deg,#02040a 0%,#070b14 48%,#02040a 100%);margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}code{color:#bfdbfe;background:#3b82f624;border-radius:.5rem;padding:.1rem .35rem}.app-shell{grid-template-columns:320px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--border);height:100vh;color:var(--text);background:linear-gradient(#070b15fa,#080d18f0),radial-gradient(circle at 35% 0,#3b82f629,#0000 18rem);padding:1.25rem;position:sticky;top:0;overflow-y:auto}.brand-block{align-items:center;gap:.9rem;margin-bottom:1.5rem;display:flex}.brand-mark{background:linear-gradient(145deg,#60a5fa,#1d4ed8 58%,#111827);border:1px solid #93c5fd47;border-radius:20px;flex:none;place-items:center;width:56px;height:56px;display:grid;overflow:hidden;box-shadow:0 18px 45px #2563eb59}.brand-logo{filter:drop-shadow(0 5px 14px #080f1e47);width:40px;height:40px;display:block}.brand-block h1,.topbar h2,.panel-card h3,.hero-card h3,.mini-card h3{margin:0}.brand-block h1{letter-spacing:-.02em;font-size:1.05rem}.eyebrow{color:var(--muted);letter-spacing:.14em;text-transform:uppercase;margin:0 0 .3rem;font-size:.72rem;font-weight:900}.sidebar .eyebrow,.sidebar-note span{color:#e2e8f0ad}.selector-card,.sidebar-note{border-radius:var(--radius-md);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffff0b;border:1px solid #94a3b829;margin-bottom:1rem;padding:1rem;box-shadow:inset 0 1px #ffffff0d}.selector-card label,.field-label{color:#e2e8f0e6;margin:.8rem 0 .35rem;font-size:.78rem;font-weight:850;display:block}.selector-card label:first-child{margin-top:0}select,input,textarea{border:1px solid var(--border-strong);background:var(--input);width:100%;min-height:44px;color:var(--text);border-radius:14px;outline:none;padding:.72rem .85rem;box-shadow:inset 0 1px #ffffff08}select option{color:var(--text);background:#0b1020}select:focus,input:focus,textarea:focus{border-color:#60a5fabf;box-shadow:0 0 0 4px #2563eb2e,inset 0 1px #ffffff0a}textarea{resize:vertical;min-height:132px}.settings-section{border-top:1px solid var(--border);gap:.85rem;padding:.95rem 0;display:grid}.settings-section:first-of-type{border-top:0;padding-top:0}.settings-help{color:var(--muted);margin:0;font-size:.86rem;line-height:1.45}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;display:grid}.settings-field{color:var(--muted);gap:.4rem;font-size:.78rem;font-weight:900;display:grid}.settings-field span{color:var(--muted)}.settings-field select{min-height:40px}.settings-toggles{gap:.55rem;display:grid}.settings-check{border:1px solid var(--border);color:var(--text);background:#ffffff0a;border-radius:14px;align-items:flex-start;gap:.65rem;padding:.65rem;font-size:.86rem;font-weight:850;display:flex}.settings-check input{width:auto;min-height:auto;margin-top:.18rem}.colour-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;display:grid}.colour-field{color:#e2e8f0e6;background:#0f172a80;border:1px solid #94a3b829;border-radius:14px;grid-template-columns:auto 1fr auto;align-items:center;gap:.45rem;min-height:40px;padding:.45rem .5rem;font-size:.78rem;font-weight:850;display:grid}.colour-swatch{border:1px solid #ffffff47;border-radius:50%;width:18px;height:18px;box-shadow:0 0 0 3px #ffffff0d}.colour-field input[type=color]{width:28px;height:28px;min-height:0;box-shadow:none;background:0 0;border:0;border-radius:50%;padding:0}.colour-field input[type=color]::-webkit-color-swatch-wrapper{padding:0}.colour-field input[type=color]::-webkit-color-swatch{border:1px solid #ffffff47;border-radius:50%}.colour-field input[type=color]::-moz-color-swatch{border:1px solid #ffffff47;border-radius:50%}.inline-heading,.panel-header,.calendar-toolbar,.occurrence-topline,.hero-topline{justify-content:space-between;align-items:center;gap:1rem;display:flex}.inline-heading{font-weight:950}.rota-grid{grid-template-columns:repeat(5,1fr);gap:.5rem;margin-top:.75rem;display:grid}.rota-chip{color:#dbeafe;background:#0f172ad1;border:1px solid #94a3b82e;border-radius:14px;justify-content:center;align-items:center;min-height:44px;font-weight:950;transition:transform .16s,border-color .16s,background .16s;display:inline-flex}.rota-chip:hover,.text-button:hover,.ghost-button:hover,.primary-button:hover{transform:translateY(-1px)}.rota-chip.selected{color:#fff;background:linear-gradient(135deg,#1d4ed8,#3b82f6);border-color:#60a5fad1;box-shadow:0 12px 32px #2563eb52}.sidebar-note{gap:.25rem;display:grid}.sidebar-note strong{font-size:1rem}.sidebar-note p{color:#e2e8f0d1;margin:0;font-size:.82rem;line-height:1.45}.support-card{gap:.9rem;display:grid}.support-card strong{color:var(--text);font-size:.95rem;display:block}.support-card .settings-help{margin-top:.35rem}.support-actions>*{flex:160px}.mobile-support-shell{margin-top:1.25rem}.support-button-bug:hover,.support-button-bug:focus-visible{color:#ffe4e6;background:#be185d33;border-color:#fb718585}.support-button-feature:hover,.support-button-feature:focus-visible{color:#dbeafe;background:#2563eb33;border-color:#60a5fa85}.disclaimer-card{margin-top:1rem}.mobile-only{display:none}.main-content{min-width:0;padding:1.5rem 1.5rem 5rem}.topbar{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.topbar h2{letter-spacing:-.06em;font-size:clamp(1.8rem,3vw,2.85rem);line-height:.95}.lookup-panel{border:1px solid var(--border);min-width:min(100%,620px);box-shadow:var(--shadow-soft);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#0c111fb8;border-radius:22px;grid-template-columns:auto minmax(220px,1fr) auto;align-items:center;gap:.6rem;padding:.45rem;display:grid}.lookup-panel input{background:#ffffff0a;border:0;min-height:40px}.segmented{border:1px solid var(--border);white-space:nowrap;background:#ffffff0b;border-radius:999px;padding:.25rem;display:inline-flex}.segmented button{min-height:36px;color:var(--muted);background:0 0;border:0;border-radius:999px;padding:0 .9rem;font-weight:900}.segmented button.active{color:#0f172a;background:#eff6ff}.segmented.small button{min-height:32px;padding:0 .75rem;font-size:.85rem}.primary-button,.ghost-button,.text-button{border-radius:999px;font-weight:950;transition:transform .16s,box-shadow .16s,background .16s}.primary-button{color:#fff;background:linear-gradient(135deg,#2563eb,#1d4ed8);border:0;min-height:42px;padding:0 1.1rem;box-shadow:0 14px 30px #2563eb47}.ghost-button{border:1px solid var(--border);min-height:38px;color:var(--text);background:#ffffff0e;padding:0 .95rem}.text-button{color:#dbeafe;background:#ffffff12;border:1px solid #94a3b82e;padding:.35rem .7rem}.text-button.selected{color:#0f172a;background:#eff6ff;border-color:#eff6ff}.button-row,.toolbar-actions{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.view-tabs{border:1px solid var(--border);width:fit-content;max-width:100%;box-shadow:var(--shadow-soft);background:#0c111fb8;border-radius:999px;gap:.5rem;margin-bottom:1rem;padding:.4rem;display:flex;overflow-x:auto}.view-tabs button,.mobile-nav button{color:var(--muted);background:0 0;border:0;border-radius:999px;font-weight:950}.view-tabs button{padding:.75rem 1rem}.view-tabs button.active,.mobile-nav button.active{color:#0f172a;background:#eff6ff}.dashboard-grid{grid-template-columns:minmax(0,1.35fr) minmax(285px,.8fr);gap:1rem;display:grid}.hero-card,.panel-card,.mini-card,.info-card{border:1px solid var(--border);box-shadow:var(--shadow), var(--glow);-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);background:linear-gradient(145deg,#0f172ae0,#080d18e6)}.hero-card{border-radius:var(--radius-lg);min-height:420px;padding:clamp(1.2rem,3vw,2rem);position:relative;overflow:hidden}.hero-card:before{content:"";pointer-events:none;background:radial-gradient(circle,#3b82f638,#0000 68%);border-radius:999px;height:320px;position:absolute;inset:-20% -10% auto 42%}.hero-card:after{content:"";pointer-events:none;background:radial-gradient(circle,#22d3ee14,#0000 66%);border-radius:999px;height:320px;position:absolute;inset:auto -14% -30% 18%}.hero-card>*{z-index:1;position:relative}.cached-warning{z-index:1;color:#fcd34d;background:#f59e0b1a;border:1px solid #f59e0b42;border-radius:16px;margin:-.55rem 0 1rem;padding:.75rem .9rem;font-weight:850;position:relative}.hero-topline{color:var(--muted);flex-wrap:wrap;justify-content:flex-start;margin-bottom:1.4rem;font-weight:950}.quick-view-team{color:#dbeafe;letter-spacing:.04em;background:#3b82f61f;border:1px solid #93c5fd2e;border-radius:999px;width:fit-content;margin:-.55rem 0 1rem;padding:.38rem .8rem;font-size:.8rem;font-weight:900;display:none}.status-dot{background:#22c55e;border-radius:50%;width:11px;height:11px;box-shadow:0 0 0 8px #22c55e24,0 0 34px #22c55e99}.status-dot.future{background:#38bdf8;box-shadow:0 0 0 8px #38bdf829,0 0 34px #38bdf885}.status-dot.past{background:#f59e0b;box-shadow:0 0 0 8px #f59e0b29,0 0 34px #f59e0b80}.hero-rota{align-items:center;gap:1.05rem;margin-bottom:1rem;display:flex}.hero-rota>span{color:#fff;letter-spacing:-.08em;background:linear-gradient(135deg,#172554,#1d4ed8 52%,#60a5fa);border:1px solid #93c5fd59;border-radius:38px;place-items:center;width:clamp(86px,13vw,148px);height:clamp(86px,13vw,148px);font-size:clamp(3.2rem,9vw,6.2rem);font-weight:1000;display:grid;box-shadow:0 22px 58px #2563eb57}.hero-rota strong{letter-spacing:-.08em;font-size:clamp(2.2rem,5vw,4.2rem);line-height:.95}.hero-times{color:#cbd5e1;margin:.85rem 0 1.25rem;font-size:1.25rem;font-weight:850}.hero-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;display:grid}.meta-item{border:1px solid var(--border);background:#ffffff0b;border-radius:16px;padding:.85rem;box-shadow:inset 0 1px #ffffff09}.meta-item span{color:var(--muted);text-transform:uppercase;letter-spacing:.09em;font-size:.72rem;font-weight:900;display:block}.meta-item strong{color:var(--text);margin-top:.28rem;font-size:.96rem;display:block}.stacked-cards{gap:1rem;display:grid}.mini-card,.info-card,.panel-card{border-radius:var(--radius-md);padding:1.1rem}.mini-card.previous{background:radial-gradient(circle at 100% 0,#3b82f61c,#0000 16rem),linear-gradient(145deg,#0f172aeb,#080d18e6)}.mini-card.next{background:radial-gradient(circle at 100% 0,#34d3991f,#0000 16rem),linear-gradient(145deg,#0f172aeb,#080d18e6)}.mini-card p,.info-card p{color:var(--muted)}.handover-widget{color:#fff;background:radial-gradient(circle at 95% 35%,#60a5fa38,#0000 10rem),linear-gradient(135deg,#050816,#0d1730);grid-template-columns:1fr auto;align-items:center;gap:1rem;display:grid}.handover-widget.future{background:radial-gradient(circle at 95% 35%,#38bdf83d,#0000 10rem),linear-gradient(135deg,#08111f,#0f2f55)}.handover-widget.past{background:radial-gradient(circle at 95% 35%,#f59e0b38,#0000 10rem),linear-gradient(135deg,#1a1104,#3f2307)}.handover-widget.soon{box-shadow:0 22px 60px #f59e0b24, var(--glow);border-color:#f59e0b75}.handover-widget.soon .handover-ring{border-color:#f59e0b6b}.handover-widget .eyebrow,.handover-widget p{color:#e2e8f0b8}.handover-widget h3{font-size:1.75rem}.handover-ring{background:#02061761;border:9px solid #60a5fa3d;border-radius:50%;outline:1px solid #ffffff1f;place-items:center;width:96px;height:96px;display:grid}.handover-widget.future .handover-ring{border-color:#38bdf847}.handover-widget.past .handover-ring{border-color:#f59e0b47}.handover-ring span{text-align:center;font-size:.88rem;font-weight:950}.span-two{grid-column:1/-1}.panel-header{margin-bottom:.9rem}.panel-header.compact{margin-bottom:.5rem}.soft-label{color:#bfdbfe;background:#3b82f61f;border:1px solid #93c5fd24;border-radius:999px;align-items:center;padding:.3rem .62rem;font-size:.76rem;font-weight:950;display:inline-flex}.soft-label.warning{color:#fcd34d;background:#f59e0b1f;border-color:#f59e0b33}.soft-label.success{color:#86efac;background:#34d3991f;border-color:#34d39933}.soft-label.future{color:#bae6fd;background:#38bdf81f;border-color:#38bdf842}.soft-label.past{color:#fde68a;background:#f59e0b1f;border-color:#f59e0b42}.active-grid{grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:.8rem;display:grid}.occurrence-card{border:1px solid var(--border);background:#ffffff0b;border-radius:18px;padding:1rem;box-shadow:inset 0 1px #ffffff09}.occurrence-card.primary{border-color:#60a5fa94;box-shadow:0 16px 34px #2563eb29,inset 0 1px #ffffff0f}.rota-badge{color:#fff;background:linear-gradient(135deg,#172554,#2563eb);border-radius:14px;place-items:center;width:42px;height:42px;font-weight:1000;display:grid}.occurrence-card h3{margin-top:.8rem}.shift-pill,.matrix-pill,.occurrence-mini{color:#fff;border-radius:999px;align-items:center;gap:.35rem;width:fit-content;padding:.35rem .65rem;font-size:.82rem;font-weight:950;display:inline-flex}.shift-pill.early,.calendar-shift.early,.matrix-pill.early,.occurrence-mini.early{background:var(--early)}.shift-pill.late,.calendar-shift.late,.matrix-pill.late,.occurrence-mini.late{background:var(--late)}.shift-pill.night,.calendar-shift.night,.matrix-pill.night,.occurrence-mini.night{background:var(--night)}.shift-pill.rest,.calendar-shift.rest,.matrix-pill.rest,.occurrence-mini.rest{background:var(--rest)}.shift-pill.training,.calendar-shift.training,.matrix-pill.training,.occurrence-mini.training{background:color-mix(in srgb, var(--training) 24%, var(--rest))}.shift-pill.working,.calendar-shift.working,.matrix-pill.working,.occurrence-mini.working{background:var(--working)}.muted{color:var(--muted)}.overlap-list,.timeline-occurrences{flex-wrap:wrap;gap:.5rem;margin-top:.8rem;display:flex}.occurrence-mini small,.matrix-pill small{opacity:.78}.time-stack{gap:.6rem;display:grid}.page-panel{min-height:60vh}.calendar-toolbar{align-items:flex-start;margin-bottom:1rem}.calendar-grid{gap:.75rem;display:grid}.calendar-grid.week,.calendar-grid.month{grid-template-columns:repeat(7,minmax(0,1fr))}.day-cell{border:1px solid var(--border);background:#ffffff0b;border-radius:18px;min-height:210px;padding:.8rem;transition:background .18s,border-color .18s,box-shadow .18s}.calendar-grid.compact{gap:.5rem}.calendar-grid.compact .day-cell{border-radius:14px;min-height:150px;padding:.58rem}.calendar-grid.compact .calendar-shift{border-radius:11px;grid-template-columns:1fr;gap:.1rem;padding:.42rem;font-size:.82rem}.calendar-grid.compact .calendar-shift small{display:none}.calendar-grid.detailed{gap:.9rem}.calendar-grid.detailed .day-cell{min-height:250px;padding:1rem}.calendar-grid.detailed .calendar-shift{padding:.72rem}.day-cell.today{background:radial-gradient(circle at 100% 0,#22d3ee38,#0000 12rem),linear-gradient(160deg,#0478576b,#0369a175);border-color:#38bdf885;box-shadow:0 18px 36px #06b6d429,inset 0 1px #ffffff14}.day-cell.outside-month{background:#94a3b814;border-style:dashed}.day-cell.outside-month header{color:#e2e8f0ad}.day-cell.outside-month .calendar-shift{opacity:.78}.day-cell header{color:#e2e8f0;justify-content:space-between;gap:.4rem;margin-bottom:.7rem;font-weight:950;display:flex}.day-cell header strong{color:#eff6ff;background:#ffffff24;border-radius:999px;padding:.22rem .55rem;font-size:.78rem}.day-shifts{gap:.45rem;display:grid}.calendar-shift{color:#fff;border-radius:14px;grid-template-columns:auto 1fr;gap:.15rem .45rem;padding:.58rem;display:grid}.calendar-shift small{opacity:.84;grid-column:1/-1;font-weight:750}.empty-day{color:var(--muted-2);font-size:.85rem}.checkbox-label{color:var(--muted);align-items:center;gap:.4rem;font-size:.9rem;font-weight:850;display:inline-flex}.checkbox-label input{width:auto;min-height:auto}.matrix-scroll{border:1px solid var(--border);background:#ffffff09;border-radius:18px;overflow-x:auto}.matrix-table{border-collapse:collapse;width:100%;min-width:860px}.matrix-table th,.matrix-table td{border-bottom:1px solid var(--border);border-right:1px solid var(--border);vertical-align:top;text-align:left;padding:.8rem}.matrix-table th{color:#e2e8f0;background:#ffffff0a;font-size:.86rem}.matrix-table tbody tr.outside-month>th,.matrix-table tbody tr.outside-month>td{background:#94a3b80d}.matrix-table tbody tr.outside-month>th{color:#e2e8f0bd}.matrix-table tbody tr.outside-month .matrix-pill{opacity:.8}.matrix-pill{white-space:nowrap;border-radius:12px;margin-bottom:.35rem;display:flex}.timeline{gap:.9rem;padding-left:1rem;display:grid;position:relative}.timeline:before{content:"";background:var(--border-strong);width:2px;position:absolute;top:0;bottom:0;left:.48rem}.timeline-event{border:1px solid var(--border);background:#ffffff0b;border-radius:18px;grid-template-columns:22px 1fr;gap:.8rem;padding:1rem;display:grid;position:relative}.timeline-marker{z-index:2;background:var(--brand-2);border-radius:50%;width:16px;height:16px;margin-top:.2rem;position:relative;box-shadow:0 0 0 8px #2563eb24}.timeline-marker.end{background:var(--warning);box-shadow:0 0 0 8px #f59e0b24}.empty-state,.error-state{border:1px dashed var(--border-strong);background:#ffffff0a;border-radius:18px;padding:1rem}.error-state{color:var(--danger);border-color:#fb718559}.error-state p,.empty-state p{color:var(--muted);margin-bottom:0}.mobile-nav{display:none}@media (width<=1180px){.app-shell{grid-template-columns:270px minmax(0,1fr)}.calendar-grid.week,.calendar-grid.month{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}}@media (width<=840px){.desktop-only{display:none}.mobile-only,.app-shell{display:block}.sidebar{border-right:0;border-bottom:1px solid var(--border);height:auto;position:static}.main-content{padding:1rem 1rem 5.25rem}.topbar{flex-direction:column;align-items:stretch}.lookup-panel{grid-template-columns:1fr}.mobile-lookup-panel{margin-top:1rem}.mobile-support-shell{margin-top:1.5rem;margin-bottom:.75rem}.view-tabs{display:none}.mobile-nav{z-index:30;left:.8rem;right:.8rem;bottom:max(.75rem, env(safe-area-inset-bottom));border:1px solid var(--border);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#080d18e6;border-radius:999px;grid-template-columns:repeat(4,1fr);gap:.25rem;padding:.35rem;display:grid;position:fixed;box-shadow:0 18px 50px #00000073}.mobile-nav button{min-height:42px;font-size:.78rem}.hero-card{min-height:auto}.hero-rota{flex-direction:column;align-items:flex-start}.hero-meta-grid{grid-template-columns:1fr}.mobile-hidden-meta{display:none}.calendar-toolbar,.panel-header{flex-direction:column;align-items:stretch}.toolbar-actions{width:100%}.toolbar-actions .ghost-button,.toolbar-actions .segmented{flex:auto}.calendar-grid.week,.calendar-grid.month{grid-template-columns:1fr}.day-cell{min-height:auto}.handover-widget,.settings-grid,.colour-grid{grid-template-columns:1fr}}@media (width<=840px) and (orientation:portrait){.quick-view-target{scroll-margin-top:0}.quick-view-team{align-items:center;display:inline-flex}}@media (width<=500px){.sidebar,.main-content{padding-inline:.75rem}.brand-mark{width:50px;height:50px}.brand-logo{width:36px;height:36px}.rota-grid{grid-template-columns:repeat(5,minmax(42px,1fr))}.hero-rota span{border-radius:26px;width:88px;height:88px}.hero-rota strong{font-size:2.35rem}.button-row>*,.toolbar-actions>*{flex:100%}.matrix-table{min-width:760px}}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.theme-card,.settings-card{border-radius:var(--radius-md);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffff0b;border:1px solid #94a3b829;justify-content:space-between;align-items:center;gap:.9rem;margin-bottom:1rem;padding:.9rem 1rem;display:flex;box-shadow:inset 0 1px #ffffff0d}.theme-card strong,.settings-card strong,.theme-card small,.theme-label{display:block}.theme-card strong,.settings-card strong{color:var(--text);font-size:.95rem}.theme-card small,.theme-label{color:#e2e8f0ad;font-size:.75rem;font-weight:850}.theme-label{letter-spacing:.12em;text-transform:uppercase;margin-bottom:.12rem}.settings-button{color:#dbeafe;background:#ffffff12;border:1px solid #94a3b838;border-radius:999px;min-height:36px;padding:0 .85rem;font-size:.82rem;font-weight:950;transition:transform .16s,background .16s,border-color .16s}.settings-button:hover{background:#3b82f629;border-color:#93c5fd5c;transform:translateY(-1px)}.settings-overlay{z-index:60;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#020617ad;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.settings-panel{border:1px solid var(--border-strong);border-radius:var(--radius-md);width:min(560px,100%);max-height:min(720px,100vh - 2rem);box-shadow:var(--shadow);background:radial-gradient(circle at 100% 0,#3b82f61f,#0000 16rem),linear-gradient(145deg,#0f172afa,#080d18fa);padding:1.1rem;overflow-y:auto}.feedback-panel{width:min(640px,100%)}.settings-panel-header{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem;display:flex}.settings-panel h2{color:var(--text);letter-spacing:0;margin:0;font-size:1.4rem}.theme-switch{background:0 0;border:0;border-radius:999px;flex:none;padding:0}.theme-switch-track{background:#020617b8;border:1px solid #94a3b83d;border-radius:999px;width:58px;height:34px;transition:background .18s,border-color .18s;display:block;position:relative;box-shadow:inset 0 1px 2px #00000052}.theme-switch-thumb{background:linear-gradient(135deg,#f8fafc,#bfdbfe);border-radius:50%;width:24px;height:24px;transition:transform .18s,background .18s;position:absolute;top:4px;left:4px;box-shadow:0 8px 18px #0000004d}.theme-switch[aria-checked=true] .theme-switch-track{background:#3b82f62e;border-color:#2563eb59}.theme-switch[aria-checked=true] .theme-switch-thumb{background:linear-gradient(135deg,#fff,#dbeafe);transform:translate(24px)}.feedback-form{display:grid}.feedback-context,.feedback-disclaimer,.feedback-status{border:1px solid var(--border);background:#ffffff09;border-radius:18px;padding:.95rem 1rem}.feedback-context-grid{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:.45rem .85rem;display:grid}.feedback-context-grid span{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:.78rem;font-weight:900}.feedback-context-grid strong{min-width:0;color:var(--text);word-break:break-word;font-size:.9rem}.feedback-disclaimer p{color:#e2e8f0d1;margin:0;line-height:1.55}.feedback-device-note{border-top:1px solid var(--border);margin-top:.7rem;padding-top:.7rem;font-size:.84rem;font-weight:850}.feedback-status{margin-top:1rem;font-size:.9rem;font-weight:850}.feedback-status.success{color:#bbf7d0;background:#05966924;border-color:#34d39952}.feedback-status.error{color:#fecdd3;background:#be185d24;border-color:#fb71854d}.feedback-actions{justify-content:flex-end;margin-top:1rem}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f5f7fb;--bg-2:#eef4ff;--surface:#ffffffeb;--surface-2:#fffffff5;--surface-3:#eff6ffe0;--input:#fffffff5;--text:#0a1325;--muted:#536177;--muted-2:#7a8798;--border:#0f172a1f;--border-strong:#0f172a38;--brand:#1d4ed8;--brand-2:#2563eb;--brand-3:#0891b2;--success:#059669;--warning:#d97706;--danger:#e11d48;--early:#047857;--late:#b45309;--night:#4338ca;--rest:#64748b;--training:#6b7280;--working:#2563eb;--shadow:0 26px 70px #0f172a1c;--shadow-soft:0 16px 42px #0f172a14;--glow:0 0 0 1px #ffffffb3, 0 28px 80px #2563eb14}:root[data-theme=light] html,:root[data-theme=light] body{background:var(--bg)}:root[data-theme=light] body{background:radial-gradient(circle at 12% 3%,#3b82f629,#0000 30rem),radial-gradient(circle at 86% 12%,#0ea5e924,#0000 28rem),radial-gradient(circle at 75% 95%,#6366f117,#0000 34rem),linear-gradient(135deg,#f8fbff 0%,#eef4ff 52%,#f8fafc 100%)}:root[data-theme=light] .sidebar{background:linear-gradient(#fffffff5,#eff6fff0),radial-gradient(circle at 35% 0,#3b82f62e,#0000 18rem)}:root[data-theme=light] .selector-card,:root[data-theme=light] .sidebar-note,:root[data-theme=light] .theme-card,:root[data-theme=light] .settings-card{background:#ffffffb8;border-color:#0f172a1a;box-shadow:inset 0 1px #ffffffd9,0 18px 48px #0f172a0f}:root[data-theme=light] .sidebar .eyebrow,:root[data-theme=light] .sidebar-note span,:root[data-theme=light] .theme-card small,:root[data-theme=light] .theme-label{color:#65758e}:root[data-theme=light] .sidebar-note p,:root[data-theme=light] .feedback-disclaimer p{color:#475569}:root[data-theme=light] .support-button-bug:hover,:root[data-theme=light] .support-button-bug:focus-visible{color:#9f1239}:root[data-theme=light] .support-button-feature:hover,:root[data-theme=light] .support-button-feature:focus-visible{color:#1d4ed8}:root[data-theme=light] .settings-button{color:#1e293b;background:#f1f5f9db;border-color:#0f172a1f}:root[data-theme=light] .settings-panel{background:radial-gradient(circle at 100% 0,#3b82f61f,#0000 16rem),linear-gradient(145deg,#fffffffa,#eff6fffa)}:root[data-theme=light] .feedback-context,:root[data-theme=light] .feedback-disclaimer,:root[data-theme=light] .feedback-status{background:#f8fafce0}:root[data-theme=light] .feedback-status.success{color:#166534}:root[data-theme=light] .feedback-status.error{color:#be123c}:root[data-theme=light] .colour-field{color:#334155;background:#f1f5f9c7}:root[data-theme=light] .settings-check{background:#f1f5f9b8}:root[data-theme=light] .selector-card label,:root[data-theme=light] .field-label{color:#334155}:root[data-theme=light] select,:root[data-theme=light] input,:root[data-theme=light] textarea{color:var(--text);background:#ffffffe6}:root[data-theme=light] select option{color:var(--text);background:#fff}:root[data-theme=light] .lookup-panel,:root[data-theme=light] .view-tabs,:root[data-theme=light] .mobile-nav{box-shadow:var(--shadow-soft);background:#ffffffc2}:root[data-theme=light] .lookup-panel input{background:#eff6ffbd}:root[data-theme=light] .segmented,:root[data-theme=light] .text-button,:root[data-theme=light] .ghost-button{background:#f1f5f9d1}:root[data-theme=light] .segmented button.active,:root[data-theme=light] .view-tabs button.active,:root[data-theme=light] .mobile-nav button.active,:root[data-theme=light] .text-button.selected{color:#fff;background:#0f172a}:root[data-theme=light] .view-tabs button,:root[data-theme=light] .mobile-nav button,:root[data-theme=light] .segmented button{color:#64748b}:root[data-theme=light] .hero-card,:root[data-theme=light] .panel-card,:root[data-theme=light] .mini-card,:root[data-theme=light] .info-card{background:linear-gradient(145deg,#fffffff0,#eff6ffdb)}:root[data-theme=light] .mini-card.previous{background:radial-gradient(circle at 100% 0,#3b82f61a,#0000 16rem),linear-gradient(145deg,#fffffff5,#eff6ffe0)}:root[data-theme=light] .mini-card.next{background:radial-gradient(circle at 100% 0,#0596691f,#0000 16rem),linear-gradient(145deg,#fffffff5,#ecfdf5c7)}:root[data-theme=light] .handover-widget{color:#fff;background:radial-gradient(circle at 95% 35%,#3b82f629,#0000 10rem),linear-gradient(135deg,#0f172a,#1e3a8a)}:root[data-theme=light] .handover-widget.future{background:radial-gradient(circle at 95% 35%,#38bdf833,#0000 10rem),linear-gradient(135deg,#0f172a,#0f4c81)}:root[data-theme=light] .handover-widget.past{background:radial-gradient(circle at 95% 35%,#f59e0b38,#0000 10rem),linear-gradient(135deg,#3f2507,#92400e)}:root[data-theme=light] .meta-item,:root[data-theme=light] .occurrence-card,:root[data-theme=light] .day-cell,:root[data-theme=light] .timeline-event,:root[data-theme=light] .empty-state{background:#ffffffad;box-shadow:inset 0 1px #ffffffe0}:root[data-theme=light] .day-cell header,:root[data-theme=light] .matrix-table th{color:#1e293b}:root[data-theme=light] .day-cell.today{background:radial-gradient(circle at 100% 0,#38bdf838,#0000 12rem),linear-gradient(160deg,#dcfce7f5,#e0f2feeb);border-color:#0ea5e980}:root[data-theme=light] .day-cell.today header,:root[data-theme=light] .day-cell.today .empty-day{color:#0f172a}:root[data-theme=light] .day-cell.today header strong{color:#0369a1;background:#0f172a14}:root[data-theme=light] .day-cell.outside-month{background:#e2e8f073}:root[data-theme=light] .matrix-scroll{background:#ffffffb3}:root[data-theme=light] .matrix-table th{background:#eff6ffe6}:root[data-theme=light] .matrix-table tbody tr.outside-month>th,:root[data-theme=light] .matrix-table tbody tr.outside-month>td{background:#e2e8f06b}:root[data-theme=light] .rota-chip{color:#1e293b;background:#ffffffd6}:root[data-theme=light] .rota-chip.selected{color:#fff;background:linear-gradient(135deg,#0f172a,#1d4ed8)}:root[data-theme=light] .hero-times{color:#475569}:root[data-theme=light] code{color:#1d4ed8;background:#2563eb1a}:root[data-theme=light] .theme-switch-track{background:#e2e8f0e0}:root[data-contrast=high]{--muted:#cbd5e1;--muted-2:#a8b3c4;--border:#e2e8f047;--border-strong:#f8fafc6b}:root[data-theme=light][data-contrast=high]{--muted:#334155;--muted-2:#475569;--border:#0f172a3d;--border-strong:#0f172a6b}:root[data-contrast=high] .shift-pill,:root[data-contrast=high] .calendar-shift,:root[data-contrast=high] .matrix-pill,:root[data-contrast=high] .occurrence-mini{outline-offset:1px;text-shadow:0 1px 2px #00000073;outline:2px solid #ffffffb8}:root[data-theme=light][data-contrast=high] .shift-pill,:root[data-theme=light][data-contrast=high] .calendar-shift,:root[data-theme=light][data-contrast=high] .matrix-pill,:root[data-theme=light][data-contrast=high] .occurrence-mini{outline-color:#0f172ab8}
