/* Dark fire brigade surfaces: neutral anthracite, signal red and reflective details. */
:root{color-scheme:dark;--ink:#f2f2f4;--muted:#a4a4a6;--line:#373739;--surface:#202324;--teal:#c5c5c7;--blue:#94bed0}
body,body[data-design]{--accent:#c5c5c7;--accent-ink:#19191b;--accent-soft:#2a2a2c;--red:var(--accent);--nav:#161819;background:#161819;color:#f2f2f4;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;line-height:1.5}
body[data-design=electric]{--accent:#74dfed;--accent-ink:#09282c;--accent-soft:#213033}body[data-design=aurora]{--accent:#c4abff;--accent-ink:#25173e;--accent-soft:#2d2738}
body[data-occasion=christmas]{--accent:#d9d49a;--accent-ink:#202022;--accent-soft:#2c2c2e}body[data-occasion=newyear]{--accent:#e8d19b;--accent-ink:#30240d;--accent-soft:#312c23}body[data-occasion=easter]{--accent:#c2c2c4;--accent-ink:#222224;--accent-soft:#2b2b2d}body[data-occasion=anniversary]{--accent:#e4bd85;--accent-ink:#30200c;--accent-soft:#332b22}
body aside,body[data-design] aside{background:#161819;color:#f2f2f4;border-right:1px solid #ffffff09;box-shadow:none;padding:30px 20px}body .brand,body .brand .brand-name,body[data-design] .brand .brand-name{color:#f3f3f5;font-size:23px;font-weight:750;letter-spacing:-1px}body .brand-mark{background:var(--accent);color:var(--accent-ink);height:35px;width:33px;border-radius:10px;transform:rotate(-5deg)}body aside small,body[data-design] aside small{color:#9a9a9c;letter-spacing:1px;font-size:9px}body aside footer,body[data-design] aside footer{border-color:#323234;color:#a9a9ab}body .profile b,body[data-design] .profile b{color:#e8e8ea}body .profile>div,body[data-design] .profile>div{color:#9a9a9c}.avatar{background:#333335;color:var(--accent);width:34px;height:34px}body #nav{margin-top:42px}body nav .nav-main,body nav .nav-child,body[data-design] nav .nav-main,body[data-design] nav .nav-child{color:#adadaf;background:transparent;font-weight:500;box-shadow:none;border-radius:8px}body nav .nav-main{padding:13px 14px;font-size:13px}body nav .nav-main svg{color:#909092;width:19px;height:19px}body nav .nav-main.active,body nav .nav-main.section-current,body nav .nav-child.active,body[data-design] nav .nav-main.active,body[data-design] nav .nav-main.section-current,body[data-design] nav .nav-child.active{background:#28282a;color:var(--accent);box-shadow:none}body nav .nav-main.active svg,body nav .nav-main.section-current svg{color:var(--accent)}body nav .nav-main:hover,body nav .nav-child:hover,body[data-design] nav .nav-main:hover,body[data-design] nav .nav-child:hover{background:#262628;color:#f4f4f6}.nav-chevron{font-size:15px;color:#8d8d8f}.nav-children,body[data-design] .own-pages-nav{border-color:#373739}.own-pages-nav>.eyebrow{color:#8a8a8c;font-size:9px}
body main{max-width:1660px;padding:32px 42px 52px}body header{gap:20px;margin-bottom:35px;padding:0 0 25px;border-bottom:1px solid #323234;align-items:center}body header h1{font-size:24px;font-weight:650;letter-spacing:-.7px;line-height:1.3;margin:5px 0;color:#efeff1}body header .eyebrow{font-size:9px;letter-spacing:1.5px;color:#a8a8aa}body header .muted{font-size:12px;color:#979799;line-height:1.5}body header .header-actions{gap:8px;margin-left:auto}.badge{background:#272729;color:#aeaeb0;border:1px solid #39393b;font-size:10px;border-radius:5px}.badge:before{background:#a4a4a6}.notice-header{background:#222224;color:#c9c9cb;border-color:#39393b;font-size:12px}.notice-header>span:first-child{color:#a6a6a8}.notice-count{background:var(--accent);color:var(--accent-ink)}
body button{background:#28282a;color:#e8e8ea;border:1px solid #3f3f41;border-radius:8px;box-shadow:none;font-size:12px;min-height:42px;font-weight:600;padding:10px 15px}body button:hover{background:#343436;color:#fff;border-color:#69696b;box-shadow:none}body button.primary,body .quick-add,body button.primary:hover{background:var(--accent);color:var(--accent-ink);border-color:var(--accent);box-shadow:none;filter:none}body button.primary:hover{filter:brightness(1.08)}body .quick-add{font-size:12px;white-space:nowrap}.text-button,body .text-button{background:none;border-color:transparent;color:var(--accent);font-size:12px;font-weight:500;padding:6px 0;min-height:34px}body .text-button:hover{background:none;color:#f3f3f5;border-color:transparent}body button:focus-visible,body input:focus-visible,body textarea:focus-visible,body select:focus-visible,body a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}body a{color:var(--accent)}
body h2,body h3,body .row b,body .grow b{color:#efeff1}body h2{font-size:19px;font-weight:650;letter-spacing:-.4px}body p,body .muted{color:#acacae}body .eyebrow{color:#acacae;font-size:9px;font-weight:650;letter-spacing:1.7px}body .card,body .stat,body .stats .stat:nth-child(n){background:#232325;color:#eaeaec;border:1px solid #373739;box-shadow:none;border-radius:12px}body .stat strong{color:#f2f2f4}.stat-icon{background:#2e2e30;color:var(--accent)}body .stat:nth-child(n) .stat-icon{background:#2e2e30;color:var(--accent)}body .stat span,body .stat>span:first-child{color:#b4b4b6}.row{border-color:#343839}body .date{background:#2e2e30;color:var(--accent);border:0}.date small{color:#bbbbbd}.tag{background:#343436;color:#c5c5c7}body .tag.Bronze{background:#44372e;color:#dfb796}body .tag.Silber{background:#353c40;color:#bfccd6}body .tag.Gold{background:#423f29;color:#e2d290}.phase{border-color:#343839}.phase:before{background:var(--accent)}body .phase b{color:#e3e3e5}body .phase .muted{color:#b0b0b2}body .note{background:#28282a;border-color:#404042;color:#b8b8ba}body .storage-note{color:#8f8f91;font-size:10px;margin-top:30px}.empty{color:#a8a8aa}body .welcome{background:#232325;border-color:#373739}body .welcome p{color:#b0b0b2}body .welcome .eyebrow{color:#acacae}
/* The overview is a single editorial layout, rather than a stack of repeated cards. */
.nocturne-home{max-width:1200px}.home-season{display:flex;align-items:center;flex-wrap:wrap;gap:10px;color:#a7a7a9;font-size:11px}.live-dot{height:6px;width:6px;border-radius:50%;background:var(--accent);box-shadow:0 0 12px #c2f32918}.home-season-divider{color:#666668;margin:0 3px}.home-intro{padding:4px 0 32px}.home-intro-line{display:flex;align-items:center;gap:30px;justify-content:space-between;padding-top:22px}.home-intro-line>div{max-width:670px}.home-intro h2{font-size:clamp(32px,3.2vw,51px);line-height:1.1;letter-spacing:-2px;margin:0 0 17px;font-weight:650;color:#f1f1f3;max-width:670px}.home-intro p{font-size:14px;line-height:1.8;color:#ababad;max-width:560px;margin:0}.home-add{background:transparent;border:1px solid #454547;border-radius:50px;display:flex;align-items:center;gap:11px;flex-shrink:0;font-size:11px;padding:12px 17px}.home-add svg{height:17px;width:17px;color:var(--accent)}.home-add>span:last-child{font-size:18px;color:var(--accent);margin-left:6px}.home-numbers{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #343839;border-bottom:1px solid #343839;margin:0 0 30px;padding:24px 0;gap:24px}.home-numbers>div{display:flex;align-items:center;gap:15px;border-right:1px solid #343839}.home-numbers>div:last-child{border:0}.home-numbers strong{font-size:35px;font-weight:500;letter-spacing:-1.5px;line-height:1;color:#eaeaec}.home-numbers>div>span{font-size:12px;color:#d6d6d8;line-height:1.7}.metric-detail{display:block;font-size:10px;color:#99999b}.home-board{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:24px;align-items:start}.home-board.without-next{grid-template-columns:1fr}.home-board.without-next .home-side{display:grid;grid-template-columns:1fr 1fr;gap:24px}.home-next{border:1px solid #3b4141;background:#222526;border-radius:15px;padding:23px 26px 0;overflow:hidden}.home-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.home-section-heading .eyebrow{color:#ababad}.home-section-heading h3{font-size:15px;font-weight:600;margin:0}.next-event-main{display:flex;gap:23px;align-items:flex-start;padding:27px 0 26px}.event-date-block{background:var(--accent);color:var(--accent-ink);width:75px;min-width:75px;min-height:91px;border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center}.event-date-block strong{font-size:36px;line-height:1;letter-spacing:-1.3px;font-weight:650}.event-date-block>span{font-size:11px;text-transform:uppercase;letter-spacing:1.5px;margin-top:6px;font-weight:650}.next-event-copy{min-width:0}.next-event-weekday{font-size:11px;color:#b1b1b3}.next-event-copy h3{font-size:26px;line-height:1.25;letter-spacing:-.7px;margin:11px 0 8px;font-weight:600;overflow-wrap:anywhere}.next-event-copy p{font-size:12px;color:#afafb1;margin:0 0 12px}.next-event-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 0 23px}.next-event-bottom>span{font-size:10px;color:#a0a0a2}.next-event-bottom button{font-size:11px;border-radius:7px;white-space:nowrap}.next-event-bottom button>span{margin-left:10px}.following-events{margin:0 -26px;background:#1d2021;border-top:1px solid #39393b;padding:20px 26px 7px}.following-events>.eyebrow{font-size:8px;color:#939395}.following-event{display:flex;align-items:center;width:100%;gap:15px;border:0;border-top:1px solid #343436;background:none;padding:16px 0;border-radius:0;min-height:55px;text-align:left}.following-event:first-of-type{border-top:0}.following-event:hover{background:none;color:var(--accent)}.following-event>span:first-child{color:#a3a3a5;font-size:11px;min-width:40px}.following-event>b{flex:1;font-size:12px;line-height:1.5;font-weight:500}.following-event>span:last-child{font-size:16px;color:#a8a8aa}.home-focus{background:var(--accent-soft);border:1px solid #414143;border-radius:14px;padding:23px 24px;position:relative;overflow:hidden}.home-focus .eyebrow{color:var(--accent)}.focus-symbol{color:var(--accent);font-size:24px;line-height:1}.home-focus h3{font-size:24px;font-weight:500;line-height:1.25;letter-spacing:-.6px;margin:20px 0 13px;max-width:290px}.home-focus p{font-size:12px;color:#bdbdbf;line-height:1.75}.focus-date{font-size:10px;color:#bcbcbe;display:block;margin:20px 0 12px}.home-focus button{display:flex;align-items:center;justify-content:space-between;width:100%;font-size:11px;background:transparent;border:0;border-top:1px solid #555557;padding:15px 0 0;border-radius:0;color:var(--accent)}.home-focus button:hover{color:#f6f6f8;background:none}.home-task-section{padding:24px 3px 0}.home-task-section h3>span{font-size:10px;background:#333335;border-radius:5px;padding:3px 6px;margin-left:7px;color:var(--accent)}.all-clear{font-size:11px;color:#a2a2a4;margin:18px 0}.all-clear span{margin-right:7px;color:var(--accent)}.home-task-section .task-row button{font-size:10px;padding:7px 9px;min-height:32px}.home-no-events{padding:35px 0}.home-no-events h3{font-size:26px;letter-spacing:-.8px}.home-shortcuts{margin-top:32px;padding-top:26px;border-top:1px solid #343839}.home-shortcuts .muted{font-size:10px;color:#a2a2a4}.home-shortcuts>div:last-child{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:20px}.home-shortcuts>div>button{position:relative;text-align:left;padding:18px;background:#202525;border:1px solid #3b3b3d;border-radius:10px}.home-shortcuts>div>button:hover{background:#2c2c2e;border-color:#6e6e70}.shortcut-icon{height:30px;width:30px;border-radius:8px;display:grid;place-items:center;background:#323234;color:var(--accent);margin-bottom:17px}.shortcut-icon svg{width:16px;height:16px}.home-shortcuts b{display:block;font-size:12px;font-weight:550;color:#e6e6e8}.home-shortcuts small{font-size:10px;display:block;color:#ababad;font-weight:400;margin-top:6px}.shortcut-arrow{position:absolute;right:15px;top:17px;color:#aaaaac;font-size:17px}.nocturne-home .dashboard-calendar{background:none;border:0;border-top:1px solid #343839;border-radius:0;padding:26px 0 0;margin-top:30px!important}.nocturne-home .dashboard-calendar h2{font-size:16px}.nocturne-home .agenda-item{border:0;border-bottom:1px solid #343839;background:none;padding:17px 0;border-radius:0}.agenda-date{color:#ccccce}.agenda-item small{color:#a1a1a3}.agenda-item b{color:#e8e8ea}.agenda-item>span:last-child{color:var(--accent)}
/* Editing and planning use the same dark surfaces as the start page. */
body input,body select,body textarea{background:#191d1e;color:#e7e7e9;border-color:#4a4a4c;border-radius:7px;min-width:0}body input::placeholder,body textarea::placeholder{color:#929294}body label{color:#c4c4c6}body input[type=checkbox],body input[type=radio]{accent-color:var(--accent)}body input:disabled,body select:disabled,body textarea:disabled{background:#272729;color:#bbbbbd;opacity:.7}body input[type=color]{padding:3px}body dialog{background:#272729;color:#e7e7e9;border:1px solid #505052;border-radius:14px;box-shadow:0 30px 100px #0009}dialog::backdrop{background:#070b07c9;backdrop-filter:blur(5px)}body dialog h2{color:#efeff1}body fieldset{border-color:#424244}.form-error,.cancellation-reason{color:#f2a78e}body .admin-intro h2{color:#eeeef0;font-size:30px}body .local-label{background:#2b2b2d;color:#bcbcbe;border:1px solid #434345}body .admin-tabs{background:none;border:0;border-bottom:1px solid #3f3f41;border-radius:0;padding:0 0 12px;gap:5px}body .admin-tabs button{background:none;color:#aaaaac;border-radius:6px}body .admin-tabs button[aria-selected=true]{background:#343436;color:var(--accent)}body .admin-action-grid>button{background:#28282a;border:1px solid #414143;border-radius:10px;border-top:1px solid #414143;min-height:140px}body .admin-action-grid>button:nth-child(n){border-top-color:#414143}body .admin-action-grid>button:hover{background:#2f2f31;border-color:#68686a}body .admin-action-grid b{color:#e8e8ea}body .admin-action-grid span{color:#b2b2b4}body .admin-action-grid small{color:var(--accent)}body .management-link,body .grouped-more button{background:transparent;border-color:#414143;color:#dedee0}body .home-toggle{border-color:#454547}body .home-toggle small{color:#afafb1}body .text-editor-section{border-color:#474749}body .text-editor-section legend{color:var(--accent)}body .text-editor-section label{color:#c1c1c3}body .editor-save,body .editable-notice{border-color:#474749}body #text-save-status{color:var(--accent)}body .editor-layout .eyebrow{color:var(--accent)}body .editable-notice p{color:#c3c3c5}body .quick-grid button,body .hub-grid button{background:#2c2c2e;border-color:#464648;color:#e5e5e7}body .category-chip{background:#2f2f31;color:#c7c7c9;border-color:#59595b}body .storage-counts>div{border-color:#48484a;color:#c5c5c7}body .cloud-status{background:#2a2a2c;border-color:#525254;color:#c8c8ca}body .cloud-status.cloud-problem{background:#38301f;border-color:#665535;color:#e3c895}body .cloud-loading{background:#1a1a1c;color:#dadadc}body .selectable{color:#d6d6d8}body .setup-steps{color:#c0c0c2}
body .season-banner,body[data-design] .season-banner{background:#2c2c2e;border:1px solid #4d4d4f;border-left:3px solid var(--accent)}body .season-banner h2{color:#eeeef0}body .season-banner p,body .season-banner small{color:#bcbcbe}body .season-banner .eyebrow{color:var(--accent)}body .season-banner>button{color:var(--accent);border-color:#5b5b5d;background:transparent}body .notice-card,body .notice-card.informational,body .notice-card.informational p{background:#23323a;border-color:#3c5d6c;color:#c3dbe6}body .notice-card.important{background:#342f20;border-color:#5c5033}body .notice-card.urgent{background:#392821;border-color:#6a4436}body .notice-card p{background:none!important;color:#d4c8aa}body .notice-card h3{color:#f2ead9}body .notice-priority{color:#d6c492}.informational .notice-priority{color:#a4d1e7}.urgent .notice-priority{color:#edb09a}body .notice-overview{background:#332f22;border-color:#635638;color:#e9d6a6}.notice-overview p{color:#d2bd91}.notice-label{color:#d7bd7e}.notice-overview h2{color:#f1e1be}body .cancellation-banner{background:#392b23;border-color:#745039;color:#efbf9e}.cancellation-banner p{color:#e1b79a}body .cancelled-badge{background:#422c24;color:#edb59e;border-color:#754c38}body .completed-badge{background:#313133;color:#c4c4c6}.status .selected,body .status button.selected{background:#3c3c3e;color:#d5d5d7;border-color:#7a7a7c}.status .selected.absent,body .status button.selected.absent{background:#493022;color:#edbe9d;border-color:#9d7049}.response-summary span{background:#2a2a2c;color:#c9c9cb;border-color:#4b4b4d}.staffing-gap,body .staffing-gap{background:#3b321f;border-color:#6e5c34;color:#e5d2a5}body .staff-row,body .response-row,body .learning-row{border-color:#474749}.staff-row select:disabled{background:#3b321f;color:#e2c99a}body .absence-label{background:#423820;color:#e4cea0}body .learning-status{background:#333335;color:#cbcbcd}body .phone-help{background:#272729;border-color:#48484a;color:#c0c0c2}body .youth-tabs{background:#262628;border:1px solid #3e3e40;border-radius:10px;padding:5px}.youth-tabs button{color:#bababc;background:none;border:0}body .youth-tabs button.primary{background:var(--accent);color:var(--accent-ink);border:0;box-shadow:none}body .youth-date{color:var(--accent)}body .youth-info{background:#2e2e30;color:#c9c9cb}body .youth-login{border-top:2px solid var(--accent)}body .custom-page-body{color:#d0d0d2}.own-pages-nav>.eyebrow{color:#a2a2a4}body .table-wrap,body .data-table th,body .data-table td{background:#28282a;color:#d3d3d5;border-color:#474749}.data-table th{color:#bababc}body .calendar-cell{background:#262628;border-color:#424244;color:#dcdcde}body .calendar-cell.other-month{background:#1e1e20;color:#878789}body .calendar-cell.chosen{border-color:var(--accent);background:#38383a}body .calendar-cell.today{box-shadow:inset 0 0 0 1px #c0c0c2}.calendar-chip{background:#3d3d3f;color:#d9d9db}.calendar-chip.probe-chip{background:#3f3f41;color:#e5e5e7}.calendar-legend,.weekday{color:#afafb1}.calendar-cell .day-number{color:#d8d8da}body .plan-section,body .station-summary{border-color:#48484a}body .station-summary,body .template-banner,body .template-preview,body .normal-step{background:#2c2c2e;color:#ceced0;border-color:#4e4e50}body .planner-actions{background:#272729;border-color:#4a4a4c}body #toast{background:var(--accent);color:var(--accent-ink);box-shadow:0 5px 30px #0005}body .danger-button{color:#edac91;border-color:#77513b}
/* Occasion greetings remain warm without switching back to pale surfaces. */
body .occasion-greeting{border:1px solid #545456;background:#2b2b2d;color:#dddddf;border-radius:12px}.occasion-greeting p{color:inherit}.occasion-symbol{color:#d8c285}body .occasion-newyear{background:#282b32;border-color:#675c43;color:#f0ddad}body .occasion-christmas{background:#313133;border-color:#636365;color:#d8d8da}body .occasion-easter{background:#313133;border-color:#646466;color:#d6d6d8}body .occasion-anniversary{background:#383022;border-color:#78643e;color:#ead7ad}
.design-option{background:#252527;border-color:#464648}.design-option.chosen{outline-color:var(--accent)}.design-option h3{color:#e6e6e8}.design-option p{color:#b8b8ba}.design-mini{background:#1e1e20;border-color:#48484a}.mini-sidebar{background:#18181a}.mini-sidebar i{background:#68686a}.mini-content>b{color:#d2d2d4}.mini-hero{background:#323234;color:#dfdfe1;border-color:#c5c5c7}.mini-cards i{background:#373739}.mini-electric .mini-hero{background:#343436;border-color:#74dfed;color:#bfebec}.mini-electric .mini-sidebar i{background:#4d777a}.mini-aurora .mini-hero{background:#3a2b49;border-color:#c4abff;color:#decaf0}.mini-aurora .mini-sidebar i{background:#765b92}.home-section-heading .muted{color:#aaaaac}
@media(min-width:1550px){body main{padding:36px 58px}}@media(max-width:1200px){body main{padding:28px 30px}.home-intro-line{gap:20px}.home-add{padding:11px 13px}.home-intro h2{font-size:41px}.home-board{grid-template-columns:minmax(0,1.4fr) minmax(250px,1fr)}.next-event-main{gap:18px}.next-event-copy h3{font-size:23px}.home-shortcuts>div:last-child{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:1000px){.home-board{grid-template-columns:1fr}.home-side{display:grid;grid-template-columns:1fr 1fr;gap:22px}.home-task-section{padding-top:15px}.home-focus h3{max-width:none}.home-intro-line{align-items:flex-start}.home-add>span:not(:last-child){display:none}.home-add{border-radius:10px;padding:13px}.home-intro h2{font-size:38px}.home-numbers{gap:15px}.home-numbers strong{font-size:29px}.home-numbers>div{gap:10px}.home-numbers>div>span{font-size:10px}.metric-detail{font-size:9px}}
@media(max-width:850px){body aside,body[data-design] aside{padding:20px 22px;border:0;border-bottom:1px solid #343436}.brand{font-size:22px}body main{margin-left:0;padding:25px 22px 110px}body #nav{background:#202022;border-top:1px solid #4b4b4d;margin-top:0;padding:6px 7px max(8px,env(safe-area-inset-bottom));grid-template-columns:repeat(5,minmax(0,1fr));box-shadow:0 -10px 40px #0b1309b3}body nav .mobile-nav>button{padding:8px 2px;font-size:10px;min-height:53px;color:#aeaeb0;border-radius:7px}body nav .mobile-nav>button.active{background:#373739;color:var(--accent);box-shadow:none}body nav .mobile-nav>button:hover{background:#313133;color:#ebebed}body header{margin-bottom:26px;padding-bottom:20px;flex-wrap:wrap;gap:12px}body header h1{font-size:23px}body header .header-actions{margin-left:auto}body header .muted{font-size:11px}.home-intro h2{font-size:43px}.home-add>span:not(:last-child){display:inline}.home-intro-line{align-items:center}.home-numbers>div>span{font-size:12px}.home-numbers strong{font-size:34px}.metric-detail{font-size:10px}.home-shortcuts>div:last-child{grid-template-columns:repeat(4,minmax(0,1fr))}.home-shortcuts>div>button{padding:15px}.home-shortcuts small{line-height:1.6}.home-intro p{font-size:13px}.home-next{padding:22px 22px 0}.following-events{margin:0 -22px;padding:18px 22px 5px}.home-focus{padding:22px}.card{padding:21px}.own-pages-nav{border-color:#4a4a4c}.own-pages-nav .nav-child{background:#303032;color:#d7d7d9}.editor-layout{grid-template-columns:1fr}.home-board.without-next .home-side{grid-template-columns:1fr 1fr}}
@media(max-width:600px){body main{padding:23px 18px 110px}body header{gap:10px}body header>div:first-child{flex:1;min-width:170px}body header .eyebrow{font-size:8px}body header .muted{display:none}body header .quick-add{padding:8px 11px;font-size:11px;min-height:36px}body header .header-actions{margin-left:0}.notice-header{padding:8px;font-size:10px;min-height:36px}.home-intro{padding:0 0 27px}.home-season{font-size:10px;gap:7px}.home-season-divider,.home-season>span:last-child{display:none}.home-intro-line{padding-top:18px;align-items:flex-start;gap:12px}.home-intro h2{font-size:36px;letter-spacing:-1.5px;line-height:1.1;margin-bottom:15px}.home-intro p{font-size:12px;line-height:1.8}.home-add{padding:10px;min-height:40px}.home-add>span{display:none!important}.home-add svg{height:17px;width:17px}.home-numbers{padding:19px 0;margin-bottom:24px;gap:12px}.home-numbers>div{flex-direction:column;align-items:flex-start;gap:8px;border:0}.home-numbers strong{font-size:30px}.home-numbers>div>span{font-size:10px;line-height:1.5}.metric-detail{display:none}.home-board{gap:20px}.home-side{grid-template-columns:1fr;gap:8px}.home-next{padding:19px 19px 0}.next-event-main{gap:16px;padding-top:22px}.event-date-block{min-width:60px;width:60px;min-height:78px}.event-date-block strong{font-size:30px}.event-date-block>span{font-size:10px}.next-event-copy h3{font-size:23px;line-height:1.2}.next-event-weekday{font-size:10px}.next-event-copy p{font-size:11px}.next-event-bottom{padding-bottom:20px}.next-event-bottom>span{font-size:9px;max-width:110px}.next-event-bottom button{font-size:10px;padding:10px 11px}.following-events{margin:0 -19px;padding:18px 19px 5px}.following-event>b{font-size:11px}.home-focus h3{font-size:23px}.home-shortcuts{margin-top:26px}.home-shortcuts>div:last-child{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.home-shortcuts .home-section-heading .muted{display:none}.home-shortcuts b{font-size:12px}.home-board.without-next .home-side{grid-template-columns:1fr}.home-focus button{font-size:11px}.youth-tabs button{font-size:11px}.occasion-greeting{padding:20px 17px}.occasion-greeting h2{font-size:22px}.nocturne-home .dashboard-calendar .agenda-item{gap:12px}.nocturne-home .agenda-date{min-width:75px;font-size:10px}.nocturne-home .agenda-item b{font-size:12px}.nocturne-home .agenda-item small{font-size:10px}.admin-intro h2{font-size:25px!important}.admin-tabs{gap:1px}.admin-tabs button{font-size:10px!important;padding:8px 10px}.home-section-heading h3{font-size:15px}.home-task-section{padding-top:19px}.row{flex-wrap:wrap}.row .grow{min-width:0}.status{width:100%;flex-wrap:wrap}.card{padding:19px}.response-row,.staff-row,.learning-row{grid-template-columns:1fr}.group-messages article{padding:12px}.calendar-cell{min-width:0}.youth-mode main{padding:22px 16px 40px}}

body nav .nav-main,body nav .nav-child,body[data-design] nav .nav-main,body[data-design] nav .nav-child{border:0}body .own-pages-nav .nav-child{border:0}body .nocturne-home .home-numbers{background:transparent}
@media(max-width:850px){body #nav{background:#202022;border-top-color:#3e3e40}body nav .mobile-nav>button{border:0;background:transparent;box-shadow:none;color:#b3b3b5}body nav .mobile-nav>button.active{background:#343436;color:var(--accent)}}
@media(prefers-reduced-motion:reduce){button{transition:none}}

/* Fire brigade identity: signal red, reflective markings and a flame shield. */
body,body[data-design=nocturne]{--accent:#ff8a7d;--accent-ink:#2e1110;--accent-soft:#302525;--action:#c93631;--action-ink:#fff}
body[data-design=electric],body[data-design=aurora]{--action:var(--accent);--action-ink:var(--accent-ink)}
body[data-occasion]:not([data-occasion=""]){--action:var(--accent);--action-ink:var(--accent-ink)}
body .brand-mark{background:var(--action);color:var(--action-ink);transform:none;border-radius:9px;box-shadow:inset 0 -3px #0002}
body button.primary,body .quick-add,body button.primary:hover{background:var(--action);border-color:var(--action);color:var(--action-ink)}
body .event-date-block{background:var(--action);color:var(--action-ink)}
body nav .nav-main.active,body nav .nav-main.section-current,body nav .nav-child.active,body[data-design] nav .nav-main.active,body[data-design] nav .nav-main.section-current,body[data-design] nav .nav-child.active{background:var(--accent-soft)}
body nav .nav-main.active{box-shadow:inset 3px 0 var(--action)}
body .avatar{background:#332728;color:var(--accent)}
body .home-focus{background:var(--accent-soft);border-color:#59413d}body .home-focus button{border-color:#684c45}body .home-focus h3{color:#f1e8e4}body .home-focus p,body .home-focus .focus-date{color:#c3b4ae}
body .home-add{border-color:#58433e}.home-next{position:relative;border-top:2px solid var(--action)}
.home-next:after{content:'';position:absolute;right:0;top:0;width:67px;height:5px;background:repeating-linear-gradient(125deg,#eee9e2 0 8px,transparent 8px 15px);opacity:.7;pointer-events:none}
body .shortcut-icon{background:var(--accent-soft);color:var(--accent)}body .home-shortcuts>div>button{border-color:#3e3b38}body .home-shortcuts>div>button:hover{background:#2e2726;border-color:#74564c}
body .live-dot{background:var(--action);box-shadow:none}.fire-identity{display:flex;align-items:center;gap:9px;margin-bottom:14px;color:var(--accent);font-size:9px;font-weight:700;letter-spacing:1.6px}.fire-identity svg{height:20px;width:20px;flex-shrink:0}.fire-identity-motto{color:#a2a2a4;font-size:10px;font-weight:400;letter-spacing:.1px;margin-left:6px;border-left:1px solid #4a3c38;padding-left:14px}
body .home-intro h2{max-width:660px}.home-next .home-section-heading{padding-top:2px}
body .mini-nocturne .mini-hero{background:#382724;color:#f1c4b9;border-color:#d33b35}body .mini-nocturne .mini-sidebar i{background:#9e534c}body .mini-nocturne .mini-sidebar{background:#1a1b1c}body .mini-nocturne .mini-cards i{background:#333435}body .mini-nocturne{background:#242627;border-color:#49403e}
body .home-task-section h3>span{background:var(--accent-soft);color:var(--accent)}body .youth-tabs button.primary{background:var(--action);color:var(--action-ink)}
body #toast{background:var(--action);color:var(--action-ink)}
@media(max-width:850px){body nav .mobile-nav>button.active{background:var(--accent-soft);color:var(--accent)}}
@media(max-width:600px){.fire-identity{font-size:8px;letter-spacing:1.3px;margin-bottom:12px}.fire-identity-motto{display:none}.fire-identity svg{width:18px;height:18px}.home-intro-line{padding-top:16px}}
body[data-occasion=christmas]{--accent:#d9d49a;--accent-ink:#202022;--accent-soft:#2c2c2e}body[data-occasion=newyear]{--accent:#e8d19b;--accent-ink:#30240d;--accent-soft:#312c23}body[data-occasion=easter]{--accent:#c2c2c4;--accent-ink:#222224;--accent-soft:#2b2b2d}body[data-occasion=anniversary]{--accent:#e4bd85;--accent-ink:#30200c;--accent-soft:#332b22}
body .admin-tabs button[aria-selected=true],body .stat:nth-child(n) .stat-icon,body .shortcut-icon{background:var(--accent-soft);color:var(--accent)}body .badge:before{background:var(--accent)}body .design-option.chosen{outline-color:var(--accent)}
/* Fire vehicle livery: neutral steel, strong red, reflective white. */
body,body[data-design=nocturne]{--accent:#ff8a7d;--accent-ink:#2e1110;--accent-soft:#342225;--action:#c93631;--action-ink:#fff;background:#171719;color:#f3f2f1;--teal:#ff8a7d}
body aside,body[data-design] aside{background:#171719;border-right-color:#353337}body main{border-top:4px solid var(--action)}body header{border-bottom-color:#3c383b}.home-intro{position:relative}.fire-identity{border-left:3px solid var(--action);padding-left:12px;min-height:25px;letter-spacing:2px}.fire-identity svg{height:22px;width:22px}.fire-identity-motto{color:#bcb7b7}.home-season{color:#b4b0b1}.home-intro-line{align-items:center;gap:24px;padding-top:16px}.home-intro-line>div:first-child{max-width:590px;flex:1}.home-intro h2{font-weight:720;font-size:clamp(34px,3.1vw,48px);letter-spacing:-1.7px}.fire-hero-visual{width:290px;flex:0 0 290px;display:flex;flex-direction:column;align-items:center;position:relative;padding-top:4px}.fire-engine-art{display:block;width:100%;height:auto;filter:drop-shadow(0 12px 12px #0004)}.fire-hero-visual .home-add{margin-top:5px;border-radius:6px;background:#2b2224;border-color:#64403f;color:#f2ddda;padding:9px 14px}.fire-hero-visual .home-add span{display:inline!important}.fire-hero-visual .home-add svg{width:15px;height:15px}.truck-snow{display:none}.home-numbers{border-top:3px solid #eee9e0;border-bottom-color:#464146;position:relative}.home-numbers:before{content:'';height:3px;width:90px;position:absolute;top:-3px;left:0;background:var(--action)}.home-numbers strong{font-weight:650;color:#f5f2ef}.home-next{border-top:4px solid var(--action);border-radius:8px}.home-next:after{height:8px;width:100px;background:repeating-linear-gradient(125deg,#f1eae2 0 9px,transparent 9px 18px);opacity:.9}.home-next .eyebrow{font-weight:750;letter-spacing:1.8px}.event-date-block{border-radius:5px;box-shadow:inset 0 -5px #9b2526}.event-date-block strong{font-weight:750}.next-event-bottom button{border-radius:5px}.home-focus{background:#302426;border-color:#644244;border-top:4px solid #c93631;border-radius:8px}.home-focus h3{color:#fff0ec}.home-focus p,.home-focus .focus-date{color:#d1bbba}.home-focus .eyebrow{color:#ff9f91}.home-focus button{border-top-color:#6c4b4a}.home-shortcuts>div>button{border-radius:6px;border-top:2px solid #725350}.home-shortcuts>div>button:hover{border-top-color:var(--action)}body nav .nav-main.active{box-shadow:inset 3px 0 var(--action)}body .notice-header{color:#d6d1d2;background:#28272a;border-color:#484246}body .notice-header>span:first-child{color:#ffaea1}body .badge{background:#28272a;border-color:#484246;color:#beb6b8}body .badge:before{background:#ff8a7d}body .home-task-section h3>span{background:#3a2628}body .stat:nth-child(n) .stat-icon{background:#3a2628}body .admin-action-grid>button{border-top:3px solid #98413e!important}body .admin-action-grid>button:hover{border-top-color:var(--action)!important}
/* Christmas is a full red-and-gold appearance, enabled by the Admin. */
body[data-occasion=christmas]{--accent:#f1d09a;--accent-ink:#35200c;--accent-soft:#442328;--action:#bb343b;--action-ink:#fff;background:#21191e;color:#f8eee4}
body[data-occasion=christmas] aside{background:#251a20;border-right:1px solid #614048}body[data-occasion=christmas] main{border-top:4px solid #d9b16f;background-image:radial-gradient(circle at 12px 18px,#e4c99524 1px,transparent 1.5px),radial-gradient(circle at 78px 71px,#f2e1c512 1px,transparent 2px);background-size:145px 145px,180px 180px}body[data-occasion=christmas] header{border-color:#65434a}body[data-occasion=christmas] .brand-mark{box-shadow:0 0 0 1px #cfa86955}body[data-occasion=christmas] .brand-name{color:#fff0dc}body[data-occasion=christmas] .fire-identity{border-color:#d7ac68;color:#e8c384}body[data-occasion=christmas] .home-season{color:#c8b4b2}body[data-occasion=christmas] .home-intro h2{color:#fff2df}body[data-occasion=christmas] .home-numbers{border-top-color:#ddc392;border-bottom-color:#6c474e}body[data-occasion=christmas] .home-numbers:before{background:#ba3941}body[data-occasion=christmas] .home-numbers strong{color:#f8e6c8}body[data-occasion=christmas] .home-next{background:#302126;border-color:#72434a;border-top-color:#d6b477}body[data-occasion=christmas] .following-events{background:#291e24;border-color:#67434a}body[data-occasion=christmas] .following-event{border-color:#614149}body[data-occasion=christmas] .home-focus{background:#41242c;border-color:#805454;border-top-color:#d6b477}body[data-occasion=christmas] .home-focus .eyebrow{color:#efd197}body[data-occasion=christmas] .home-focus button{border-color:#936c5c;color:#efd197}body[data-occasion=christmas] .event-date-block{background:#b93640;box-shadow:inset 0 -5px #812936;color:#fff5e8}body[data-occasion=christmas] .home-shortcuts>div>button{background:#30232b;border-color:#67434d;border-top-color:#caac7e}body[data-occasion=christmas] .shortcut-icon{background:#48323a;color:#f1d09a}body[data-occasion=christmas] .home-shortcuts b{color:#f6e7da}body[data-occasion=christmas] .card{background:#302329;border-color:#67444c}body[data-occasion=christmas] .occasion-christmas{background:linear-gradient(110deg,#691e2e,#3f2229);border:1px solid #b78f58;border-top:3px solid #e9c58d;color:#f4ddb6;padding:30px;box-shadow:0 8px 36px #10080c3b}body[data-occasion=christmas] .occasion-christmas h2{color:#fff3dd;font-family:Georgia,'Times New Roman',serif;font-weight:500;font-size:36px;letter-spacing:-.5px}body[data-occasion=christmas] .occasion-christmas p{color:#f0dcc4;max-width:700px}body[data-occasion=christmas] .occasion-christmas .eyebrow{color:#e3bd81}.christmas-tree{width:65px;height:83px;color:#e9bd76;display:block}.occasion-christmas .occasion-symbol{color:#e9bd76}.occasion-christmas .occasion-ornament{color:#f7db9c;opacity:.1;font-size:160px;right:20px;top:-16px}body[data-occasion=christmas] .truck-snow{display:block}body[data-occasion=christmas] .fire-hero-visual:before{content:'✦  ·  ✧';color:#eac488;font-size:23px;letter-spacing:20px;position:absolute;right:12px;top:-12px}body[data-occasion=christmas] .home-add{border-color:#86624e;background:#3d272c;color:#f1dcc6}body[data-occasion=christmas] .admin-tabs button[aria-selected=true]{background:#4a2e37;color:#f1d09a}
@media(max-width:1200px){.fire-hero-visual{width:230px;flex-basis:230px}.home-intro h2{font-size:39px}}@media(max-width:1000px){.fire-hero-visual{width:190px;flex-basis:190px}.home-intro h2{font-size:35px}.fire-hero-visual .home-add{font-size:10px;padding:8px 10px}.fire-hero-visual .home-add span:last-child{display:none!important}}@media(max-width:850px){.fire-hero-visual{width:250px;flex-basis:250px}.home-intro h2{font-size:40px}.home-intro-line{gap:18px}body[data-occasion=christmas] #nav{background:#302129;border-color:#78515b}}@media(max-width:600px){.home-intro-line{flex-direction:column;align-items:stretch;gap:0}.home-intro-line>div:first-child{max-width:none}.home-intro h2{font-size:36px}.fire-hero-visual{width:100%;flex-basis:auto;flex-direction:row;gap:8px;justify-content:space-between;padding-top:12px;margin-bottom:-3px}.fire-engine-art{width:190px;max-width:59%}.fire-hero-visual .home-add{margin-top:0;padding:10px;min-height:42px}.fire-hero-visual .home-add svg{display:none}.fire-hero-visual .home-add span{display:inline!important;font-size:10px}.fire-hero-visual .home-add span:last-child{display:none!important}.home-intro{padding-bottom:20px}.home-numbers{padding-top:17px}.fire-identity-motto{display:none}.fire-identity{margin-bottom:12px}body[data-occasion=christmas] .occasion-christmas{padding:23px 18px;gap:12px;align-items:flex-start}body[data-occasion=christmas] .occasion-christmas h2{font-size:29px}.christmas-tree{width:38px;height:56px}body[data-occasion=christmas] .occasion-christmas p{font-size:12px}.fire-hero-visual:before{display:none}}
.assigned-participants{padding:20px;margin:20px 0;border:1px solid #604144;border-left:3px solid var(--action);background:#292327;border-radius:8px}.assigned-participants h3{font-size:17px;margin-top:0}.assigned-participants p{font-size:12px;line-height:1.7}.assigned-participants label{font-size:13px}.assigned-status{padding:15px 17px;border:1px solid #67474a;background:#302427;border-radius:7px;margin-top:16px}.assigned-status b{color:#f1d3cd}.assigned-status p{font-size:12px;color:#ccb9b7;margin:7px 0 0;line-height:1.7}
/* Important notices are consistently red, including their entry point. */
body .notice-header{background:#492326;border:1px solid #bb514d;color:#ffe9e4}body .notice-header:hover{background:#65272c;border-color:#ef7b6b;color:#fff}body .notice-header>span:first-child{color:#ffb0a0}body .notice-count{background:#ed6256;color:#250c0a}body .notice-overview{background:#4a2227;border:1px solid #ad4b4e;border-left:4px solid #ef665b;color:#ffe5de}body .notice-overview h2{color:#fff0e9}body .notice-overview p,body .notice-label{color:#ffc1b3}body .notice-card.important,body .notice-card.urgent{background:#422227;border-color:#9f4449;border-left:4px solid #e95a50}body .notice-card.important h3,body .notice-card.urgent h3{color:#fff0e9}body .notice-card.important p,body .notice-card.urgent p{color:#f2c9c0}body .important .notice-priority,body .urgent .notice-priority{color:#ffaaa0}body .notice-overview button:not(.primary),body .notice-card.important button,body .notice-card.urgent button{background:#5c2d32;border-color:#a85b5e;color:#fff0e9}
/* Knowledge hub: learning paths and red-accented training controls. */
.knowledge-heading{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:25px}.knowledge-heading h2{font-size:34px;line-height:1.1;letter-spacing:-1px;margin:12px 0 15px}.knowledge-heading p{font-size:13px;max-width:580px}.knowledge-group-picker{display:flex;gap:8px;margin:20px 0}.knowledge-group-picker button{min-width:100px}.knowledge-tabs{display:flex;gap:4px;overflow:auto;border-bottom:1px solid #4d3e40;padding-bottom:13px;margin-bottom:23px}.knowledge-tabs button{background:none;border:0;white-space:nowrap;color:#c5b8ba}.knowledge-tabs button.primary{background:#4a262b;color:#ffb7a8}.knowledge-overview{display:grid;grid-template-columns:1.2fr 1fr;gap:20px}.knowledge-overview .eyebrow{color:var(--accent)}.knowledge-overview h2{font-size:23px;line-height:1.25;margin-top:16px}.knowledge-overview p{font-size:12px;line-height:1.8}.knowledge-overview progress{width:100%;height:8px;appearance:none;border:0;background:#49383b;border-radius:5px;margin:15px 0}.knowledge-overview progress::-webkit-progress-bar{background:#49383b;border-radius:5px}.knowledge-overview progress::-webkit-progress-value{background:var(--action);border-radius:5px}.knowledge-overview progress::-moz-progress-bar{background:var(--action);border-radius:5px}.knowledge-spaced{margin-top:20px}.knowledge-materials{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.knowledge-materials h2{font-size:23px;margin:18px 0}.knowledge-materials p{font-size:13px;line-height:1.9}.knowledge-image{max-width:100%;height:auto;max-height:350px;object-fit:contain;border-radius:7px;display:block;margin:15px 0}.learning-resource{display:block;padding:12px 0;border-top:1px solid #4b3c40;font-size:13px}.knowledge-feedback{padding:16px;background:#39272b;border:1px solid #70464a;border-left:3px solid var(--action);border-radius:6px;margin:18px 0}.knowledge-feedback b{font-size:13px;color:#ffe2d9}.knowledge-feedback p{font-size:12px;line-height:1.8;color:#e0c2bb;margin:8px 0 0}.knowledge-quiz-row{padding:22px 0;border-top:1px solid #493c40}.knowledge-quiz-row h3{font-size:20px;margin:0 0 10px}.knowledge-quiz-row p{font-size:12px}.knowledge-quiz-row label{max-width:400px}.knowledge-result{border-top:1px solid #514047;padding:17px 0}.knowledge-result summary{cursor:pointer;font-size:13px;line-height:1.7;color:#eddbd5}.knowledge-result summary small{display:block;color:#b5a5a8;font-size:10px}.knowledge-answer{border-top:1px solid #4a3c41;padding:17px 0}.knowledge-answer b{font-size:14px}.knowledge-answer p{font-size:12px;line-height:1.8;margin:7px 0}.knowledge-countdown{border:1px solid #a74b4b;background:#4a262c;color:#ffe5db;padding:8px 12px;border-radius:6px;font-size:16px;font-variant-numeric:tabular-nums}.knowledge-running legend{font-size:18px;color:#f5e7e2;line-height:1.6}.knowledge-running fieldset{margin:20px 0}.knowledge-running .quiz-option{padding:12px;background:#30272c;border:1px solid #554047;border-radius:5px}.knowledge-running .quiz-option:has(input:checked){border-color:#cd736a;background:#432b2f}.knowledge-running .quiz-option input{flex-shrink:0}.knowledge-running form>.primary{margin-top:10px}.knowledge-materials .learning-status{white-space:nowrap}#knowledge-topic textarea,#knowledge-dates textarea{width:100%}
@media(max-width:850px){.knowledge-heading{display:block}.knowledge-heading h2{font-size:30px}.knowledge-heading>.toolbar{margin-top:20px}.knowledge-overview{grid-template-columns:1fr}.knowledge-materials{grid-template-columns:1fr}.knowledge-tabs{margin-bottom:18px;gap:0}.knowledge-tabs button{font-size:11px;padding:10px 11px}.knowledge-group-picker button{flex:1;min-width:0}.knowledge-overview h2{font-size:22px}.knowledge-running legend{font-size:17px}.knowledge-result summary{font-size:12px}.knowledge-running .section-head{align-items:flex-start}.knowledge-quiz-row .toolbar button{flex:1}.knowledge-materials .section-head{flex-wrap:wrap}.knowledge-heading>.toolbar button{flex:1}.knowledge-tabs::-webkit-scrollbar{height:4px}.knowledge-tabs::-webkit-scrollbar-thumb{background:#8b494b}}

/* Compact surfaces, with comfortable touch targets on phones. */
body main{padding:24px 30px 36px}body header{margin-bottom:20px;padding-bottom:16px;gap:14px}body .card{padding:18px}body .section-head{gap:12px;margin-bottom:12px}body .row{padding-top:12px;padding-bottom:12px}body .toolbar{gap:8px}body button{min-height:36px;padding:8px 12px}body h2{font-size:21px}body .stats{gap:12px;margin-bottom:18px}body .stat{padding:16px}body .columns{gap:16px}body #nav{margin-top:25px}body nav .nav-main{padding:10px 12px}body dialog{padding:22px}body dialog h2{margin:0 0 16px}body dialog label{margin:10px 0}body dialog input:not([type=checkbox]):not([type=radio]):not([type=file]),body dialog select,body dialog textarea{padding:9px 11px;margin-top:5px}body .home-intro{padding-bottom:20px}body .home-intro-line{padding-top:14px}body .home-intro h2{font-size:clamp(29px,2.8vw,42px);margin-bottom:12px}body .home-numbers{padding:18px 0;margin-bottom:20px}body .home-board{gap:16px}body .home-focus{padding:18px}body .home-focus h3{font-size:21px;margin:12px 0}body .home-shortcuts{margin-top:22px;padding-top:18px}
.knowledge-heading{gap:16px;margin-bottom:12px}.knowledge-heading h2{font-size:25px;letter-spacing:-.5px;margin:7px 0}.knowledge-heading p{margin:7px 0;font-size:12px}.knowledge-heading .eyebrow{font-size:9px}.knowledge-group-picker{margin:12px 0;gap:6px}.knowledge-group-picker button{min-width:85px}.knowledge-tabs{padding-bottom:8px;margin-bottom:14px}.knowledge-tabs button{padding:8px 10px}.knowledge-overview,.knowledge-materials{gap:12px}.knowledge-overview h2{font-size:20px;margin-top:10px}.knowledge-overview p,.knowledge-materials p{line-height:1.65}.knowledge-spaced{margin-top:12px}.knowledge-materials h2{font-size:20px;margin:10px 0}.knowledge-feedback{margin:12px 0;padding:12px}.knowledge-quiz-row{padding:14px 0}.knowledge-quiz-row h3{font-size:17px;margin-bottom:6px}.knowledge-result,.knowledge-answer{padding:12px 0}.knowledge-running{max-width:800px;margin-inline:auto}.knowledge-running h2{font-size:20px}.knowledge-running fieldset{margin:12px 0;padding:0;border:0;min-width:0}.knowledge-running legend{font-size:17px;line-height:1.5;margin-bottom:12px}.knowledge-running .quiz-option{padding:10px;margin:8px 0}.knowledge-running .toolbar{margin-top:12px}.quiz-question-image{margin:0 0 14px;max-width:100%;background:#191c1e;border:1px solid #454144;border-radius:8px;overflow:hidden}.quiz-question-image img{display:block;width:100%;max-height:340px;object-fit:contain}.quiz-question-image figcaption{padding:12px;color:#c5b8ba;font-size:12px}
body .quiz-editor-dialog{width:min(850px,96vw);max-height:92dvh;overflow:auto}#quiz-editor{min-width:0}#quiz-editor h2{font-size:21px}.quiz-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.quiz-editor-grid>*{min-width:0}.quiz-settings{border:1px solid #494144;border-radius:8px;padding:10px 12px;margin:10px 0 16px}.quiz-settings summary{cursor:pointer;font-size:12px;color:#dfd4d2}.quiz-settings .plan-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.quiz-questions-heading{margin-top:14px}.quiz-questions-heading h3{font-size:15px;margin:0}.quiz-questions-heading>span{font-size:11px;color:#aa9fa2}body .quiz-question{border:1px solid #494144;border-radius:8px;margin:9px 0;background:#242326;overflow:hidden}body .quiz-question>summary{display:flex;align-items:center;gap:10px;cursor:pointer;padding:12px;list-style:none;color:#f0e7e4;font-size:13px}body .quiz-question>summary::-webkit-details-marker{display:none}.quiz-question-number{display:grid;place-items:center;background:#493035;color:#ffb6ac;border-radius:5px;min-width:25px;height:25px;font-size:11px}.quiz-question-title{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.quiz-question-chevron{font-size:18px}.quiz-question[open] .quiz-question-chevron{transform:rotate(180deg)}.quiz-question-body{padding:0 14px 14px;border-top:1px solid #423a3d}#quiz-editor .quiz-question-body label{font-size:12px}#quiz-editor .quiz-question-body textarea{min-height:64px;width:100%}.quiz-image-editor{padding:10px 12px;background:#1d2021;border:1px dashed #615054;border-radius:7px;margin:12px 0}.quiz-image-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px}body .quiz-upload-button{position:relative;display:inline-flex;align-items:center;min-height:36px;padding:8px 12px;background:#493035;border:1px solid #8a4d51;border-radius:6px;color:#ffe3dc;cursor:pointer;margin:0;font-size:12px}.quiz-upload-button input[type=file]{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.quiz-upload-button:focus-within{outline:2px solid var(--action);outline-offset:3px}.quiz-image-preview{display:block;max-width:100%;max-height:160px;object-fit:contain;border-radius:5px;margin:10px 0}.quiz-image-preview[hidden],.quiz-image-remove[hidden],.quiz-question-image img[hidden],.quiz-question-image figcaption[hidden]{display:none}.quiz-image-error{font-size:12px;color:#ffb6ac;margin:6px 0 0}.quiz-image-error:empty{display:none}.quiz-image-uploading .quiz-upload-button{opacity:.6}#quiz-editor>.toolbar{position:sticky;bottom:-22px;margin:14px -22px -22px;padding:12px 22px;background:#232326;border-top:1px solid #514044;z-index:2}#quiz-editor .quiz-option{margin:8px 0}#quiz-editor input,#quiz-editor select,#quiz-editor textarea{max-width:100%;box-sizing:border-box}#quiz-editor details:has(:user-invalid){border-color:#e9877a}
@media(max-width:850px){body main{padding:18px 15px 90px}body header{margin-bottom:16px;padding-bottom:12px}body .card{padding:15px}body button{min-height:42px}body .home-intro h2{font-size:30px}body .home-board,body .home-board.without-next .home-side{gap:12px}.knowledge-heading h2{font-size:22px}.knowledge-heading>.toolbar{margin-top:12px}.knowledge-tabs button{min-height:42px;padding:8px 10px}.knowledge-group-picker button{min-height:42px}.knowledge-overview h2{font-size:19px}body dialog{padding:16px}body .quiz-editor-dialog{width:calc(100vw - 20px);max-height:94dvh}.quiz-question-image img{max-height:260px}.quiz-editor-grid,.quiz-settings .plan-grid{grid-template-columns:1fr}.quiz-question-body{padding:0 12px 12px}#quiz-editor>.toolbar{bottom:-16px;margin:12px -16px -16px;padding:12px 16px}#quiz-editor>.toolbar button{flex:1}body .quiz-upload-button{min-height:42px}.quiz-image-preview{max-height:140px}}

.quiz-image-options{margin-top:8px}.quiz-image-options>summary{cursor:pointer;font-size:11px;color:#beb0b3;padding:5px 0}.quiz-image-options[open]>summary{margin-bottom:4px}

/* Source-backed 2025 knowledge materials. */
.wt-source-overview{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;margin-bottom:14px;border-top:2px solid #b95148}.wt-source-overview h3{font-size:18px;margin:7px 0}.wt-source-overview p{font-size:12px;line-height:1.65;margin:5px 0}.wt-source-overview>.toolbar{align-self:center}.wt-source-overview .wt-source-caption{grid-column:1/-1;color:#b9aeb1;border-top:1px solid #493c40;padding-top:9px;font-size:11px}.wt-source-link{display:inline-block;font-size:11px;line-height:1.5;color:#f4bbb0;margin:5px 0}.wt-learning-header{display:flex;gap:20px;align-items:end;justify-content:space-between;margin-bottom:14px}.wt-learning-header h2{margin:0 0 7px;font-size:21px}.wt-learning-header p{font-size:12px;line-height:1.65;max-width:620px;margin:0;color:#b5a9ac}.wt-search{min-width:220px;margin:0;font-size:11px}.wt-search input{width:100%;margin-top:6px}.wt-topic-list{display:grid;gap:9px}.wt-topic.card{padding:0;overflow:hidden}.wt-topic>summary{display:flex;align-items:center;gap:12px;padding:15px 16px;cursor:pointer;list-style:none}.wt-topic>summary::-webkit-details-marker{display:none}.wt-topic-title{flex:1;font-weight:650;font-size:14px;min-width:0;overflow-wrap:anywhere}.wt-topic-kind{font-size:9px;letter-spacing:.8px;color:#e4aaa1;min-width:66px}.wt-topic-body{padding:0 16px 16px;border-top:1px solid #493d40}.wt-topic-body>.wt-source-link{margin:12px 0}.wt-topic-body>p{font-size:13px;line-height:1.75}.wt-flashcard{border-top:1px solid #433b3e;padding:2px 0}.wt-flashcard>summary{display:flex;align-items:flex-start;gap:10px;cursor:pointer;font-size:13px;padding:12px 0;list-style:none}.wt-flashcard>summary::-webkit-details-marker{display:none}.wt-question-number{display:grid;place-items:center;border-radius:4px;background:#493035;color:#ffc6ba;min-width:25px;height:23px;font-size:10px}.wt-flashcard>summary>span:nth-child(2){flex:1;min-width:0}.wt-flashcard>summary>small{font-size:10px;color:#bea7a8;white-space:nowrap}.wt-flashcard[open]>summary>small{display:none}.wt-flashcard-answer{padding:4px 12px 12px 35px}.wt-flashcard-answer p{font-size:13px;line-height:1.75;margin:3px 0 8px}.wt-source-gap{border-left:3px solid #ad6b41;background:#342a26;padding:12px;margin:12px 0;color:#ead2bb}.wt-source-gap b{font-size:12px}.wt-source-gap p{font-size:12px;line-height:1.7;margin:6px 0 0}.wt-quiz-note{border-left:3px solid #ad5148;background:#2e2427;padding:12px;margin:12px 0}.wt-quiz-note b{font-size:13px}.wt-quiz-note p{font-size:12px;line-height:1.7;margin:6px 0 0}.wt-question-source{margin:0 0 9px}.quiz-question-image:has(img[src*="gold-symbol-"]){background:#fff;width:fit-content;min-width:160px}.quiz-question-image img[src*="gold-symbol-"]{width:160px;height:160px;object-fit:contain;padding:12px}.wt-topic[hidden],#wt-search-empty[hidden]{display:none}
@media(max-width:850px){.wt-source-overview{grid-template-columns:1fr}.wt-source-overview .wt-source-caption{grid-column:1}.wt-source-overview>.toolbar{flex-wrap:wrap}.wt-learning-header{display:block}.wt-search{display:block;margin-top:12px;min-width:0}.wt-topic>summary{padding:13px 12px;gap:8px;flex-wrap:wrap}.wt-topic-title{font-size:13px}.wt-topic-kind{font-size:8px;min-width:57px}.wt-topic>summary .learning-status{font-size:10px;padding:4px 6px}.wt-topic-body{padding:0 12px 12px}.wt-flashcard>summary{font-size:12px;gap:8px}.wt-flashcard>summary>small{font-size:9px;white-space:normal;max-width:50px}.wt-flashcard-answer{padding-left:0}.wt-source-overview h3{font-size:17px}}

/* Youth portal: clear dates, short actions and fire brigade accents. */
body.youth-mode main{max-width:1120px;margin:0 auto;padding:24px 28px 36px}.youth-header{margin-bottom:16px}.youth-header-brand{display:flex;align-items:center;gap:12px}.youth-brand-mark{display:grid;place-items:center;width:42px;height:46px;background:#482623;color:#ffb5a5;border:1px solid #8b4640;border-radius:10px}.youth-brand-mark svg{width:26px;height:31px}.youth-header .youth-header-brand h1{font-size:22px;margin:3px 0}.youth-header .youth-header-brand p{display:block;margin:0;font-size:11px;color:#aaa1a3}.youth-header .toolbar{margin-bottom:0}.youth-portal{min-width:0}.youth-portal .youth-tabs{display:flex;flex-wrap:nowrap;gap:4px;overflow-x:auto;background:#222122;border:1px solid #3c3436;border-radius:9px;padding:5px;margin:0 0 18px;scrollbar-width:thin;scrollbar-color:#81413b transparent}.youth-portal .youth-tabs button{flex:1 0 auto;min-width:90px;white-space:nowrap;padding:10px 14px;min-height:42px;color:#c1b7ba;border:0;background:transparent;border-radius:6px;font-size:12px}.youth-portal .youth-tabs button.primary{background:var(--action,#b84438);color:var(--action-ink,#fff4ed)}.youth-portal .youth-hero{display:flex;justify-content:space-between;align-items:center;gap:26px;position:relative;overflow:hidden;border:1px solid #59403f;border-top:3px solid var(--action,#b84438);border-radius:12px;background:radial-gradient(ellipse at 100% 0,#642b2a55,transparent 70%),#252223;padding:26px;margin-bottom:12px}.youth-hero:after{content:'';position:absolute;right:-15px;bottom:-23px;width:150px;height:40px;border-top:8px solid #bdb3a52b;border-bottom:8px solid #bdb3a52b;transform:rotate(-45deg);pointer-events:none}.youth-hero-label{display:flex;align-items:center;gap:8px;font-size:9px;letter-spacing:1.6px;color:#e5a294;font-weight:700}.youth-hero-label svg{width:16px;height:20px}.youth-hero h2{font-size:32px;line-height:1.2;letter-spacing:-1px;margin:13px 0 10px;font-weight:650}.youth-hero p{font-size:13px;color:#bdb2b3;line-height:1.7;max-width:570px;margin:0}.youth-hero-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:15px}.youth-hero-tags span{padding:5px 9px;border:1px solid #67413e;background:#442d2a77;border-radius:5px;font-size:10px;color:#edc3b8}.youth-hero-motto{font-size:16px;line-height:1.6;font-weight:750;letter-spacing:.6px;color:#9a7773;min-width:190px;position:relative;z-index:1}.youth-hero-motto span{color:#ecb5a5;font-size:13px}.youth-summary{display:flex;gap:10px;margin-bottom:20px}.youth-summary>button{display:flex;align-items:center;text-align:left;gap:14px;flex:1;min-width:0;padding:15px 18px;background:#222324;border:1px solid #3d3739;border-radius:9px}.youth-summary strong{font-size:28px;font-weight:600;line-height:1;color:#f1e5de;letter-spacing:-.8px}.youth-summary span{flex:1;font-size:12px;font-weight:500;line-height:1.5;color:#b9adaf}.youth-summary i{float:right;font-style:normal;color:#dc9c8d}.youth-summary-learning strong{font-size:22px}.youth-portal .youth-notices{display:grid;gap:10px;margin-bottom:22px}.youth-portal .notice-card{margin:0;border-radius:8px;padding:16px}.youth-portal .notice-card h3{margin:7px 0;font-size:16px}.youth-portal .notice-card p{font-size:12px;margin:6px 0;line-height:1.7}.youth-portal .notice-card.important,.youth-portal .notice-card.urgent{border-left:3px solid #e96a58;background:#3d2425;color:#ffe1d7}.youth-portal .notice-card.important .eyebrow,.youth-portal .notice-card.urgent .eyebrow{color:#ffaf9e}.youth-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:20px 0 12px}.youth-section-heading .eyebrow{font-size:9px;color:#ad9c9e}.youth-section-heading h2{font-size:21px;margin:6px 0 0;letter-spacing:-.4px}.youth-section-count{font-size:11px;color:#b5a4a8;white-space:nowrap}.youth-event-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}.youth-portal .youth-event{margin:0;padding:18px;border-radius:10px;border-color:#443b3d;min-width:0}.youth-event-top{display:flex;gap:13px;align-items:flex-start}.youth-date-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:52px;min-height:65px;border-radius:7px;background:#492b28;border:1px solid #7a423c;color:#ffd7c8}.youth-date-tile strong{font-size:27px;font-weight:650;line-height:1.1;letter-spacing:-.8px}.youth-date-tile span{font-size:9px;text-transform:uppercase;letter-spacing:1px;margin-top:4px}.youth-event-copy{min-width:0;flex:1}.youth-event-copy .eyebrow{font-size:9px;color:#c49387}.youth-portal .youth-event h2{font-size:18px;line-height:1.35;letter-spacing:-.3px;margin:6px 0 8px;overflow-wrap:anywhere}.youth-event .youth-event-meta,.youth-event .youth-event-place{font-size:11px;line-height:1.6;margin:4px 0;color:#c4b7b9}.youth-event .youth-event-place{color:#a99c9f}.youth-event .youth-info{margin:14px 0;font-size:12px;line-height:1.7;color:#bfb1b3}.youth-response-heading{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #45383c;margin-top:14px;padding-top:12px;font-size:10px;color:#a99b9e}.youth-response-heading b{color:#e4c7bd;font-weight:600}.youth-portal .youth-response{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.youth-portal .youth-response button{flex:1;min-height:42px;font-size:11px;padding:9px 10px}.youth-event>small{display:block;font-size:10px;margin-top:9px}.youth-portal .youth-cancelled .youth-date-tile{background:#29272a;color:#bcaeb1;border-color:#534349}.youth-portal .youth-cancelled h2{color:#c5acaa}.youth-event .cancellation-banner{padding:12px;margin:12px 0 0}.youth-event .cancellation-banner strong{font-size:13px}.youth-event .assigned-status{margin-top:12px}.youth-event .assigned-status p{font-size:11px;line-height:1.7}.youth-learning h2,.youth-attendance h2{font-size:23px;margin:9px 0}.youth-learning>p,.youth-attendance>p{font-size:12px;color:#b8aaad}.youth-progress-heading{display:flex;gap:12px;align-items:baseline;margin-top:18px}.youth-progress-heading strong{font-size:32px;color:#f4d5c9}.youth-progress-heading small{font-size:16px;color:#a58f92}.youth-progress-heading>span{font-size:11px;color:#b4a5a9}.youth-learning progress{display:block;width:100%;height:6px;margin:12px 0 18px;accent-color:var(--action,#b84438)}.youth-learning .row{gap:12px;min-width:0}.youth-learning .row b{font-size:13px;overflow-wrap:anywhere}.youth-attendance .row{gap:12px}.youth-attendance .row b{font-size:13px}.youth-attendance-status{font-size:11px;white-space:nowrap;color:#d5b6ac}.youth-portal .youth-empty{grid-column:1/-1;padding:22px}.youth-empty h2{font-size:20px;margin:10px 0}.youth-empty p{font-size:12px;color:#b5a7ac}.youth-login{max-width:520px;margin:28px auto;border-top:3px solid var(--action,#b84438)}.youth-login h2{font-size:24px;line-height:1.3}.youth-login>p{font-size:13px;line-height:1.7}.youth-login form label{font-size:12px}.youth-login form>.primary{width:100%;margin-top:12px}.youth-footer{font-size:10px;text-align:center;margin:22px 0 0}.phone-help{margin:24px 0 0;border-top:1px solid #40383a;padding-top:14px;font-size:11px;color:#a89b9e}.phone-help summary{cursor:pointer}.phone-help p{line-height:1.8;max-width:620px}
@media(max-width:850px){body.youth-mode main{padding:18px 15px 26px}.youth-portal .youth-hero{padding:20px;gap:14px}.youth-hero h2{font-size:27px}.youth-hero-motto{display:none}.youth-summary{gap:8px}.youth-summary>button{padding:13px 12px;gap:10px}.youth-summary strong{font-size:25px}.youth-summary span{font-size:11px}.youth-portal .youth-event{padding:15px}.youth-event-grid{grid-template-columns:1fr}.youth-header{flex-wrap:wrap}.youth-header>.toolbar{margin-left:auto}.youth-header .toolbar button{font-size:11px;padding:8px 10px}.youth-portal .youth-tabs{position:sticky;top:0;z-index:10;margin-bottom:14px;background:#222122f5;backdrop-filter:blur(8px)}.youth-portal .youth-tabs button{font-size:11px;min-width:76px;padding:10px 12px;min-height:44px}.youth-summary-learning{display:none!important}.youth-section-heading{margin-top:18px}.youth-section-heading h2{font-size:20px}.youth-learning .row b{font-size:12px}.youth-attendance .row{flex-wrap:wrap}.youth-header .youth-header-brand{gap:9px}.youth-header .youth-header-brand h1{font-size:20px}.youth-brand-mark{width:35px;height:40px}.youth-header .youth-header-brand p{font-size:10px}.youth-hero p{font-size:12px}.youth-hero-tags span{font-size:9px}.youth-response button{min-height:44px}.youth-portal .youth-response button{min-height:44px}.youth-portal .notice-card{padding:14px}.youth-login{margin:18px auto}.youth-preview .youth-tabs{position:static}}
/* Youth tabs are independent of the five-item adult mobile navigation. */
.youth-portal .youth-tabs>button:nth-child(n){display:block}

/* Fast first drafts and readable planning surfaces. */
.probe-planning-badge{display:inline-block;margin:7px 5px 3px 0;font-size:10px;padding:4px 7px;border:1px solid #876443;background:#3c3023;color:#f0d0a1;border-radius:5px;line-height:1.4}.probe-planning-badge.detailed{background:#292d31;border-color:#4e5962;color:#c7d3dc}.quick-probe-dialog{width:min(650px,96vw)!important}.quick-probe-dialog .planner-heading{gap:12px;margin-bottom:14px}.quick-probe-dialog h2{font-size:23px}.quick-probe-dialog .planner-heading p{font-size:12px;margin-bottom:0}.quick-probe-dialog label{font-size:12px}.quick-probe-dialog .plan-grid{gap:12px}.quick-probe-dialog textarea{width:100%;min-height:72px}.quick-probe-options{padding:12px;border:1px solid #494044;border-radius:7px;margin:14px 0}.quick-probe-options>summary{cursor:pointer;color:#d2bbba;font-size:12px}.quick-probe-options .plan-fieldset{margin:12px 0}.quick-probe-visibility{font-size:11px;line-height:1.7;color:var(--app-muted);margin:12px 0}.quick-probe-dialog .planner-actions{position:static;padding:12px 0 0;margin-top:12px;gap:8px}.quick-detail-link{margin-top:10px;min-height:36px}.quick-probe-summary{padding:18px 0;margin:14px 0;border-top:1px solid #4b3c40;border-bottom:1px solid #4b3c40}.quick-probe-summary h3{font-size:15px;margin:0 0 10px}.quick-probe-summary p{font-size:13px;line-height:1.8}.quick-probe-summary .muted{font-size:12px}body .planner-dialog .team-editor,body .planner-dialog .station-editor{background:#29282b;border-color:#514349;color:#eadcda}body .planner-dialog .team-editor summary{color:#c3adb1}body .planner-dialog .team-editor h4,body .planner-dialog .station-editor h4{color:#efe0db}body .planner-dialog .plan-fieldset legend{color:#d4bfc2}body .planner-dialog .plan-fieldset{border-color:#59464d}body .planner-dialog .plan-checks input,body .planner-dialog .inline-check input{accent-color:var(--action,#b84438)}body .planner-dialog .knowledge-team{--group-color:#e8ba91;--group-background:#382c27;border-top:3px solid var(--group-color);background:var(--group-background)}body .planner-dialog .knowledge-team[data-group=Silber]{--group-color:#d4dde7;--group-background:#292e35}body .planner-dialog .knowledge-team[data-group=Gold]{--group-color:#edd18b;--group-background:#363123}body .planner-dialog .knowledge-team h4{color:var(--group-color);font-size:15px;margin-bottom:12px}body .planner-dialog .knowledge-team label{color:#e2d3d3}body .planner-dialog .knowledge-team input,body .planner-dialog .knowledge-team textarea,body .planner-dialog .knowledge-team select{background:#1b1d20;color:#f1e8e4;border-color:#65565a}body .planner-dialog .time-budget{background:#302b28;color:#e2c7ad;border:1px solid #655043}body .planner-dialog .time-budget.over-budget{background:#442528;color:#ffc2b7;border-color:#a95656}body .planner-dialog .timeline-item{border-color:#463c41}body .planner-dialog .timeline-time{color:#eab2a4}body .planner-dialog .rotation-list{color:#deced0}.planner-dialog input[readonly]{opacity:1;color:#d2c3c7}
@media(max-width:600px){.quick-probe-dialog{width:calc(100vw - 20px)!important}.quick-probe-dialog h2{font-size:21px}.quick-probe-dialog .plan-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-probe-dialog .plan-grid.three>label:first-child{grid-column:1/-1}.quick-probe-dialog .planner-actions{display:flex;flex-wrap:wrap}.quick-probe-dialog .planner-actions button{flex:1;min-height:44px}.quick-probe-dialog .toolbar{flex-wrap:wrap}.quick-probe-dialog .toolbar button{min-height:44px}}

.privacy-open,.privacy-external-image{border-left:3px solid #ed4c54;background:#29212a;padding:16px;border-radius:10px}.privacy-request{border-bottom:1px solid #48505d;padding:14px 0}.privacy-notice h2{margin-top:28px}.privacy-external-image p{font-size:14px}.youth-footer a{color:#ffa3a3}

.privacy-request label{display:block;margin:12px 0}.privacy-request textarea{display:block;width:100%;min-height:90px}.privacy-request select{display:block;min-width:180px}.privacy-request h3{margin-top:10px}

.fire-identity .home-youth-logo{display:block;flex-shrink:0;width:220px;max-width:45%;margin-left:auto;background:#fff;padding:10px 12px;border-radius:10px;line-height:0}.home-youth-logo img{width:100%;height:auto}
@media(max-width:600px){.fire-identity:has(.home-youth-logo){flex-wrap:wrap}.fire-identity .home-youth-logo{width:190px;max-width:100%;margin-left:0}}
