:root{--bg:#f5f7fb;--surface:#fff;--ink:#152b42;--muted:#657587;--line:#e3e9f0;--blue:#3158d9;--navy:#18384e;--mint:#d7f2e8;--green:#18674d;--orange:#c87b36;--danger:#aa3545;--shadow:0 8px 26px #18384e07}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP",sans-serif;font-size:14px;line-height:1.65;letter-spacing:.015em}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:29px;line-height:1.45;letter-spacing:-.035em}h2{font-size:20px;line-height:1.5}h3{font-size:16px}small{font-size:12px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #91acf4;outline-offset:3px}[hidden]{display:none!important}
.app-header{height:86px;display:flex;align-items:center;justify-content:space-between;padding:0 4%;background:#fff;border-bottom:1px solid var(--line);gap:16px}.brand{display:flex;align-items:center;gap:12px;font-size:21px;font-weight:760;letter-spacing:-.7px}.brand img{border-radius:11px}.brand small{display:block;font-size:8px;letter-spacing:2px;color:var(--muted);line-height:1.7}.header-right{display:flex;align-items:center;gap:18px}.wx-link{font-size:12px;font-weight:700;padding-right:18px;border-right:1px solid var(--line)}#identity{display:flex;align-items:center;gap:10px}.identity-name{font-size:12px}.app-layout{display:grid;grid-template-columns:205px minmax(0,1fr);max-width:1450px;margin:auto;min-height:80vh}.app-layout:has(nav[hidden]){grid-template-columns:1fr}#navigation{padding:36px 20px 20px;border-right:1px solid var(--line)}.nav-label{font-size:9px;letter-spacing:2px;color:#8694a5;margin:0 14px 16px}.nav-item{width:100%;border:0;background:none;border-radius:10px;display:flex;align-items:center;gap:13px;padding:13px 14px;color:var(--muted);font-size:13px;font-weight:650;text-align:left;margin-bottom:6px;white-space:nowrap}.nav-item>span:first-child{font-size:21px;min-width:24px}.nav-item:hover{background:#edf1f7}.nav-item.active{background:var(--navy);color:white;box-shadow:0 5px 12px #18384e17}.nav-note{font-size:10px;color:var(--muted);border-top:1px solid var(--line);margin:35px 12px 0;padding-top:18px}.nav-note small{display:block;font-size:10px;margin-top:7px}main{padding:36px 44px 60px;min-width:0}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:25px}.page-heading p:not(.eyebrow){color:var(--muted);font-size:12px;margin-top:8px}.eyebrow{font-size:9px;font-weight:800;letter-spacing:2px;color:var(--muted);margin-bottom:8px}.panel{background:white;border:1px solid var(--line);border-radius:15px;padding:25px;box-shadow:var(--shadow);margin-bottom:22px}.panel h2{margin-bottom:14px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:27px 0 15px}.section-title h2{margin:0}.panel>.section-title:first-child{margin-top:0}.section-title p{font-size:12px;color:var(--muted);margin-top:5px}.primary,.secondary,.danger-button,.quiet,.text-button,.hero-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:8px;border:1px solid transparent;font-size:12px;font-weight:700;padding:11px 17px;line-height:1.5;min-height:42px}.primary{background:var(--blue);color:white}.primary:hover{background:#2449c4}.secondary{background:white;border-color:var(--line);color:var(--ink)}.secondary:hover{background:#f3f6fa}.danger-button{background:#fff2f1;border-color:#f1d1d5;color:var(--danger)}.quiet,.text-button{background:transparent;color:var(--muted);padding:8px}.text-button{color:var(--blue)}.small{padding:8px 12px;font-size:11px;min-height:36px}.full{width:100%}.button-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.badge{display:inline-flex;align-items:center;white-space:normal;font-size:10px;font-weight:700;background:#edf1f7;color:#647386;border-radius:5px;padding:3px 8px;line-height:1.5;vertical-align:middle}.badge.ftd,.badge.machine{color:#2550b7;background:#e9efff}.badge.observe{color:#177260;background:#e1f4ed}.badge.helper{color:#9b621d;background:#fcf0dc}.badge.self{color:#778494;background:#eff2f6}.badge.green{color:#18674d;background:var(--mint)}.badge.warm{color:#935517;background:#fcf0dc}.badge.danger{color:#a53648;background:#fbe7eb}.notice{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid var(--line);background:#fff;border-radius:10px;padding:16px 20px;margin-bottom:19px;font-size:12px}.notice p{margin-top:3px;font-size:12px;color:var(--muted)}.notice.soft{background:#eaf0fb;border-color:#dce5f5;display:block}.notice.soft span{margin-left:14px;color:#526883}.notice.warm{background:#fff8ec;border-color:#f2e2c6}.notice.danger{display:block;background:#fff0f2;border-color:#f0c9d0;color:var(--danger)}.round-symbol{background:var(--mint);color:var(--green);padding:9px 15px;border-radius:50%;font-size:20px}.notice:has(.round-symbol){justify-content:flex-start}.hero-card{background:var(--navy);border-radius:17px;color:white;display:flex;justify-content:space-between;align-items:center;padding:31px 36px;margin:0 0 24px;overflow:hidden;position:relative;min-height:223px}.hero-card .eyebrow{color:#a6c8c8}.hero-card h2{font-size:34px;letter-spacing:-1px;font-weight:650;margin-bottom:8px}.hero-card p:not(.eyebrow){color:#c4d5e2;font-size:12px}.hero-button{background:var(--mint);color:#173e39;margin-top:23px;font-size:11px;min-width:150px;justify-content:space-between}.hero-mark{text-align:center;min-width:210px;border:1px solid #ffffff26;border-radius:50%;aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:-10px 0 -10px 20px}.hero-mark span{font-size:14px;letter-spacing:8px;padding-left:8px;color:#c1d8da}.hero-mark strong{font-weight:250;font-size:76px;line-height:1.08;letter-spacing:-4px;color:#d6ece6}.hero-mark small{font-size:6px;letter-spacing:1px;margin-top:9px;color:#a6c8c8}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:24px}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:18px 21px}.stat>span,.stat>small{display:block;color:var(--muted);font-size:10px}.stat strong{display:block;font-size:31px;line-height:1.8;letter-spacing:-1px}.stat strong small{font-size:11px;color:var(--muted);margin-left:7px;font-weight:400;letter-spacing:0}.session-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-bottom:20px}.session-card{background:white;border:1px solid var(--line);border-radius:12px;padding:22px;min-width:0}.session-top{display:flex;gap:10px;align-items:center;color:var(--muted);font-size:11px;margin-bottom:14px}.session-card h3{font-size:27px;letter-spacing:-1px}.session-card h3 small{font-size:11px;font-weight:500;color:var(--muted);letter-spacing:0;margin-left:10px}.names{font-size:12px;margin:7px 0 12px}.helper-line{font-size:11px;color:var(--green);margin:8px 0}.attention{font-size:11px;color:#9e612a;margin:9px 0}.observers{border-top:1px solid var(--line);padding-top:13px;margin-top:13px}.observers>span{font-size:9px;color:var(--muted);font-weight:700}.observers p{font-size:11px;line-height:1.9;margin-top:5px}.session-card .full{margin-top:15px}.cancelled{opacity:.65}.muted{color:var(--muted)}.small-text{font-size:11px;margin-top:16px}.empty{background:#fff;border:1px dashed #dbe3ec;border-radius:12px;padding:32px 22px;text-align:center;width:100%}.empty-icon{font-size:30px;color:#9caabe}.empty h3{margin:8px 0}.empty p{font-size:12px;color:var(--muted);max-width:500px;margin:auto}.session-grid>.empty{grid-column:1/-1}.schedule-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:25px}.calendar-panel{height:fit-content;position:sticky;top:20px;padding:18px}.calendar-title{display:flex;align-items:center;justify-content:space-between;font-size:13px;margin-bottom:9px}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;margin-bottom:20px}.weekday{font-size:9px;color:var(--muted);text-align:center;padding:8px 0}.calendar-day{background:transparent;border:1px solid transparent;border-radius:7px;font-size:11px;min-height:36px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--muted);padding:3px}.calendar-day small{font-size:5px;height:8px;color:var(--blue)}.calendar-day.has-class{color:var(--ink);font-weight:700}.calendar-day.today{border-color:#c6d4f3}.calendar-day.selected{background:var(--navy);color:white}.calendar-day.selected small{color:var(--mint)}.schedule-layout .section-title{margin-top:0}.schedule-layout .session-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.schedule-layout .session-card{padding:16px}.schedule-layout .session-card h3{font-size:22px}.lesson-block{margin:0 0 27px}.lesson-heading{display:flex;align-items:center;gap:12px;margin-bottom:12px;border-bottom:1px solid var(--line);padding-bottom:10px}.lesson-heading h3{font-size:15px}.assignment-list{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden}.assignment-row{padding:11px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);font-size:11px}.assignment-row:last-child{border-bottom:0}.assignment-row>span{flex-shrink:0}.assignment-row small{font-size:9px;color:var(--muted);margin-left:8px}.assignment-row>div{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}label{display:block;font-size:11px;font-weight:650;color:var(--muted)}input,select,textarea{display:block;width:100%;border:1px solid #dbe3eb;background:white;border-radius:7px;padding:10px 11px;color:var(--ink);margin:6px 0 12px;min-height:42px;font-size:13px}input::placeholder,textarea::placeholder{color:#96a2b0;font-size:11px}textarea{resize:vertical;min-height:95px}input[type=checkbox]{width:17px;min-height:17px;height:17px;margin:0;accent-color:var(--blue)}.check-label{display:flex;align-items:center;gap:9px;font-size:11px;margin:14px 0;line-height:1.6}.filters{display:flex;align-items:center;gap:18px;padding:18px 23px}.filters label{min-width:120px}.filters input,.filters select{margin-bottom:0}.section-title>select,.section-title>input{width:auto;margin:0;max-width:200px;font-size:12px}.attendance-list{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:white}.attendance-row{display:grid;grid-template-columns:230px minmax(0,1fr);gap:20px;padding:20px 23px;border-bottom:1px solid var(--line)}.attendance-row:last-child{border-bottom:0}.attendance-person{display:flex;gap:12px;align-items:flex-start}.avatar{display:flex;align-items:center;justify-content:center;background:#ebeff5;border-radius:10px;width:36px;height:36px;flex-shrink:0;color:#5f7390;font-size:13px;font-weight:750}.attendance-person strong{display:block;font-size:13px}.attendance-person small{font-size:9px;color:var(--muted);display:block;margin:2px 0 8px}.attendance-person .badge{font-size:9px}.attendance-inputs{display:grid;grid-template-columns:100px 1fr;gap:0 16px}.attendance-inputs .check-label{align-self:center;font-weight:500;font-size:10px}.note-label{grid-column:1/-1}.attendance-inputs input,.attendance-inputs select{margin-bottom:0;padding:8px;min-height:36px;font-size:12px}.attendance-inputs input[type=checkbox]{min-height:17px}.attendance-inputs .note-label{margin-top:8px;font-size:9px}.save-bar{position:sticky;bottom:15px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 23px;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:0 6px 20px #17384e15;margin-top:20px;z-index:2}.save-bar p{font-size:10px;color:var(--muted)}.save-bar button{flex-shrink:0}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 15px}.slot-row{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid var(--line);padding:14px 0}.slot-row strong{font-size:12px}.slot-row p,.slot-row small{font-size:10px;color:var(--muted)}.slot-row .button-row{margin:0;flex-shrink:0}.case-card .section-title{align-items:flex-start}.case-card .section-title h3{font-size:17px}.case-card .section-title p{font-size:10px}.makeup-options>div{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:13px 0}.makeup-options strong{font-size:13px;margin-left:10px}.makeup-options small{display:block;font-size:10px;color:var(--muted);margin-top:7px}.makeup-options button{flex-shrink:0}.confirmed-date{background:#eaf7f0;padding:12px;border-radius:7px;font-size:13px;color:var(--green)}.candidate{display:flex;gap:15px;align-items:flex-start;justify-content:space-between;border-top:1px solid var(--line);padding:19px 0}.candidate p{font-size:11px;color:var(--muted);margin-top:5px}.candidate small{font-size:10px;color:var(--muted)}.candidate button{margin-top:5px;flex-shrink:0}.candidate.blocked{opacity:.6}.mini-counts{display:flex;flex-wrap:wrap;gap:7px;margin:11px 0 6px}.mini-counts span{font-size:9px;background:#f2f5f9;border-radius:5px;padding:4px 7px;color:var(--muted)}.mini-counts b{font-size:12px;margin-left:5px;color:var(--ink)}.prewrap{white-space:pre-wrap;overflow-wrap:anywhere}.access-request{border-top:1px solid var(--line);padding:18px 0}.access-request>p{font-size:11px;color:var(--muted);overflow-wrap:anywhere;margin:4px 0 14px}.audit-entry{border-top:1px solid var(--line);padding:12px 0}.audit-entry summary{cursor:pointer;font-size:12px;display:flex;justify-content:space-between;gap:10px}.audit-entry summary small{color:var(--muted);font-size:10px}.audit-entry p{font-size:11px;margin-top:10px}.audit-entry pre{font-size:10px;white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f7fb;padding:12px;border-radius:7px;max-height:240px;overflow:auto}.auth-panel{max-width:490px;margin:20px auto;padding:37px 44px;text-align:center}.auth-panel h1{font-size:29px;margin:20px 0 12px;line-height:1.6}.auth-panel>p{font-size:12px;color:var(--muted);margin-bottom:22px}.auth-panel label{text-align:left}.auth-panel .full{margin:8px 0}.auth-panel .text-button.full{font-size:10px}.auth-panel code{font-size:9px;overflow-wrap:anywhere}.login-emblem{background:var(--navy);color:#d7eee7;border-radius:18px;width:70px;height:70px;margin:28px auto 0;display:flex;align-items:center;justify-content:center;font-size:33px;font-weight:300}.microsoft-button{font-size:11px;gap:10px;padding:14px 12px}.microsoft-mark{font-size:23px;line-height:1}.auth-note{text-align:left;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0;margin:23px 0;font-size:11px}.auth-note p{color:var(--muted);margin-top:6px;line-height:1.9}.email-login{text-align:left;font-size:11px;margin-top:15px}.email-login summary{cursor:pointer;margin-bottom:12px}.loading{text-align:center;max-width:550px;margin:40px auto}.loading h1{font-size:22px;margin:20px 0 10px}.loading p{color:var(--muted);font-size:12px}.spinner{display:inline-block;width:25px;height:25px;border:2px solid #dee7f4;border-top-color:var(--blue);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#connection{padding:12px 5%;background:#fff0d7;color:#8c5b1f;border-bottom:1px solid #efdabb;font-size:12px}#toast{position:fixed;left:50%;bottom:32px;transform:translateX(-50%);max-width:min(90vw,620px);background:var(--navy);color:white;border-radius:9px;box-shadow:0 7px 30px #11263d2e;padding:14px 20px;font-size:12px;z-index:100}#toast.error{background:#8f3043}dialog{border:1px solid var(--line);border-radius:16px;width:min(690px,calc(100vw - 30px));max-height:90dvh;padding:30px;color:var(--ink);box-shadow:0 20px 70px #14294230}dialog::backdrop{background:#14294273;backdrop-filter:blur(3px)}dialog h2{font-size:22px;margin:7px 0 12px}dialog p{font-size:12px;margin-bottom:12px}dialog label{margin-top:15px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;position:sticky;bottom:-30px;background:#fff;padding:20px 0 0;margin-top:18px;border-top:1px solid var(--line)}.impact-list{list-style:none;padding:0;margin:20px 0;max-height:48vh;overflow:auto}.impact-list li{padding:14px 0;border-top:1px solid var(--line);font-size:12px}.impact-list li p{font-size:11px;color:var(--muted);margin:5px 0 0}.danger-text{color:var(--danger)!important}.app-footer{max-width:1360px;margin:auto;padding:15px 4% 25px;font-size:9px;color:#8a97a6;display:flex;justify-content:space-between;gap:15px}#preview-strip{font-size:10px;background:#fff0cd;color:#775124;text-align:center;padding:5px 12px;display:flex;align-items:center;justify-content:center;gap:15px}#preview-strip select{display:inline-block;width:auto;font-size:10px;min-height:25px;padding:2px 6px;margin:0}.busy button[data-write]{opacity:.5}
@media(min-width:1500px){main{padding-left:55px;padding-right:55px}}
@media(max-width:1180px){main{padding:30px 26px}.app-layout{grid-template-columns:180px minmax(0,1fr)}#navigation{padding:30px 12px}.nav-item{font-size:12px;padding:11px 12px;gap:10px}.schedule-layout{grid-template-columns:235px minmax(0,1fr);gap:18px}.schedule-layout .session-grid{grid-template-columns:1fr}.attendance-row{grid-template-columns:190px minmax(0,1fr);padding:18px}.stat{padding:16px}.hero-mark{min-width:180px}.hero-mark strong{font-size:66px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.app-header{height:73px;padding:0 24px}.app-layout{grid-template-columns:1fr}#navigation{position:fixed;bottom:0;left:0;right:0;z-index:20;background:#fff;border-top:1px solid var(--line);border-right:0;display:flex;justify-content:space-around;padding:6px 7px calc(6px + env(safe-area-inset-bottom));box-shadow:0 -4px 18px #152b4206}.nav-label,.nav-note{display:none}.nav-item{flex:1;flex-direction:column;gap:0;margin:0;padding:4px 2px;border-radius:8px;text-align:center;font-size:9px;line-height:1.5}.nav-item>span:first-child{font-size:20px}.nav-item.active{background:#edf2fa;color:#254993;box-shadow:none}main{padding:28px 25px 85px;max-width:900px;width:100%;margin:auto}.app-layout:has(nav[hidden]) main{padding-bottom:20px}.page-heading h1{font-size:25px}.stats{gap:10px}.hero-card{padding:26px 30px;min-height:210px}.hero-card h2{font-size:30px}.hero-mark{min-width:170px}.schedule-layout{grid-template-columns:240px minmax(0,1fr)}.identity-name{display:none}.header-right{gap:10px}.wx-link{padding-right:10px}.app-footer{padding-bottom:100px}#toast{bottom:calc(85px + env(safe-area-inset-bottom))}.save-bar{bottom:calc(82px + env(safe-area-inset-bottom))}.app-footer{margin-top:-55px}.auth-panel{margin-top:20px}#identity .badge{font-size:9px}}
@media(max-width:620px){.app-header{height:67px;padding:0 17px;gap:10px}.brand{gap:8px;font-size:18px}.brand img{width:33px;height:33px;border-radius:9px}.brand small{font-size:6px;letter-spacing:1.4px}.header-right{gap:7px}.wx-link{font-size:10px;padding-right:7px}.header-right .quiet{font-size:9px;padding:7px 2px;min-height:32px}.identity-name{display:none}#identity .badge{font-size:8px;padding:3px 5px}main{padding:25px 17px 92px}.page-heading{margin-bottom:20px;gap:8px}.page-heading h1{font-size:23px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.6px}.page-heading p:not(.eyebrow){font-size:10px}.page-heading>.small{font-size:10px;min-height:33px;padding:7px 10px;flex-shrink:0}.notice{padding:14px 15px;font-size:11px;gap:10px}.notice.soft strong{display:block;font-size:11px}.notice.soft span{display:block;margin:5px 0 0;font-size:10px}.notice p{font-size:10px}.hero-card{border-radius:13px;padding:23px 21px;min-height:205px;gap:8px}.hero-card h2{font-size:24px;letter-spacing:-.6px}.hero-card p:not(.eyebrow){font-size:10px;max-width:185px}.hero-mark{min-width:111px;margin:0 -7px 0 3px}.hero-mark span{font-size:9px;letter-spacing:5px;padding-left:5px}.hero-mark strong{font-size:48px}.hero-mark small{font-size:4px;letter-spacing:.4px;margin-top:5px}.hero-button{min-width:125px;margin-top:19px;font-size:10px;padding:9px 13px;min-height:37px}.stats{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:21px}.stat{padding:15px 17px;border-radius:10px}.stat strong{font-size:29px;line-height:1.65}.stat>span,.stat>small{font-size:9px}.session-grid{gap:10px}.session-card{padding:15px;border-radius:10px}.session-top{gap:6px;font-size:9px;margin-bottom:10px;flex-wrap:wrap}.session-top .badge{font-size:9px}.session-card h3{font-size:23px}.session-card h3 small{font-size:9px;margin-left:5px}.names{font-size:11px;line-height:1.9}.helper-line,.attention{font-size:10px}.session-card .full{font-size:10px;padding:8px 10px;min-height:37px}.section-title h2{font-size:17px}.section-title .text-button{font-size:10px;white-space:nowrap;padding:5px 0}.schedule-layout{grid-template-columns:1fr}.calendar-panel{position:static;max-width:100%;padding:16px 20px;margin-bottom:2px}.calendar-title{margin-bottom:2px}.calendar-grid{margin-bottom:6px;gap:3px}.calendar-day{min-height:39px;font-size:12px}.calendar-panel>label{display:none}.calendar-panel>.small-text{margin-top:10px;font-size:9px}.schedule-layout .session-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-layout .session-card{padding:14px}.assignment-row{padding:11px 12px;font-size:11px}.assignment-row>span{max-width:50%;flex-shrink:1}.assignment-row small{display:block;margin-left:0}.assignment-row .badge{font-size:9px}.observers p{font-size:10px}.filters{padding:15px;display:grid;grid-template-columns:1.4fr .8fr;gap:0 12px}.filters label{min-width:0;font-size:10px}.filters label:last-child{grid-column:1/-1;margin-top:11px}.filters input,.filters select{font-size:13px;min-height:38px}.attendance-row{grid-template-columns:1fr;gap:15px;padding:18px 16px}.attendance-person{align-items:center}.attendance-person strong{font-size:14px}.attendance-person small{margin-bottom:4px;font-size:10px}.attendance-person .badge{font-size:9px}.avatar{width:38px;height:38px}.attendance-inputs{grid-template-columns:100px 1fr;gap:0 13px}.attendance-inputs .check-label{font-size:10px;margin-top:22px}.attendance-inputs label{font-size:10px}.attendance-inputs input,.attendance-inputs select{font-size:16px;min-height:40px;padding:8px}.attendance-inputs .note-label{font-size:9px}.attendance-inputs .note-label input{font-size:16px}.attendance-inputs .note-label input::placeholder{font-size:10px}.save-bar{padding:13px;gap:12px;bottom:calc(78px + env(safe-area-inset-bottom))}.save-bar p{font-size:9px;max-width:140px}.save-bar button{font-size:11px;padding:10px 12px}.panel{padding:20px 17px;border-radius:12px}.panel h2{font-size:18px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.form-grid label:nth-last-child(-n+2){grid-column:1/-1}input,select,textarea{font-size:16px}.slot-row{align-items:flex-start;gap:9px}.slot-row .button-row{gap:5px}.slot-row .button-row button{font-size:9px;padding:7px 9px;min-height:32px}.slot-row p{font-size:9px}.section-title>input{font-size:12px;max-width:148px}.case-card .section-title{gap:9px}.case-card .section-title h3{font-size:16px}.case-card .section-title p{font-size:9px}.makeup-options>div{gap:10px}.makeup-options strong{display:block;font-size:12px;margin:6px 0 0}.makeup-options small{font-size:9px;line-height:1.8}.makeup-options button{font-size:10px;padding:8px 10px;min-height:36px}.makeup-options .badge{font-size:9px}.confirmed-date{font-size:12px}.auth-panel{padding:28px 24px;max-width:430px;margin:10px auto}.auth-panel h1{font-size:27px;margin:19px 0 13px}.auth-panel>p{font-size:12px}.auth-panel .eyebrow{font-size:8px}.login-emblem{margin-top:22px}.microsoft-button{font-size:11px;padding:13px 9px;line-height:1.6}.auth-panel .auth-note{margin:18px 0;font-size:10px}.auth-panel .small-text{font-size:10px}.auth-panel code{font-size:8px}.auth-panel input,.auth-panel select{font-size:16px}.auth-panel label{font-size:11px}.app-footer{font-size:8px;padding-left:18px;padding-right:18px}.app-footer span{font-size:7px}dialog{padding:23px 19px;border-radius:13px;max-height:88dvh}dialog h2{font-size:20px}dialog p{font-size:11px}.dialog-actions{bottom:-23px;gap:8px;padding-top:16px}.dialog-actions button{font-size:11px;padding:10px 13px}.candidate{gap:9px}.candidate h3{font-size:14px}.candidate p{font-size:10px}.candidate .badge{font-size:9px}.candidate button{font-size:10px}.mini-counts{gap:4px}.mini-counts span{font-size:8px;padding:4px 6px}.mini-counts b{font-size:11px;margin-left:3px}.audit-entry summary{flex-direction:column;gap:4px}.audit-entry summary small{font-size:9px}.impact-list li{font-size:11px}.impact-list li p{font-size:10px}#preview-strip{font-size:8px;gap:10px;padding:4px 8px}#preview-strip select{font-size:9px;max-width:115px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Owner-only access history, readable on phone and desktop. */
.log-guidance{margin:0 0 18px;line-height:1.9}.log-results{margin-top:12px}.log-results:empty{display:none}.access-entry{padding:16px 0;border-bottom:1px solid var(--line)}.access-entry:last-child{border-bottom:0}.access-entry summary{display:flex;justify-content:space-between;gap:16px;cursor:pointer;font-size:12px}.access-entry summary>span{min-width:0;overflow-wrap:anywhere}.access-entry summary strong{display:block}.access-entry summary small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.access-entry-time{text-align:right;font-size:10px;flex-shrink:0}.access-entry>p{font-size:11px;margin:12px 0;overflow-wrap:anywhere}.access-entry pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f7fb;padding:14px;border-radius:8px;font-size:10px;max-height:350px;overflow:auto}.log-results+button{margin-bottom:25px}@media(max-width:600px){.access-entry summary{gap:8px}.access-entry-time{font-size:9px;max-width:42%}}

.app-footer{flex-wrap:wrap}.app-footer p{flex:0 0 100%;margin:14px 0 0;font-size:11px;line-height:1.8;text-align:left}
@media(max-width:600px){#log-search .form-grid{grid-template-columns:1fr}#log-search .form-grid label{grid-column:1/-1}}

/* v2.6.1: readable mobile controls and document-flow footer. */
.ui-icon{display:block;flex:0 0 auto;width:22px;height:22px}
.microsoft-mark{display:flex;align-items:center;justify-content:center;background:white;padding:5px;border-radius:4px}
.microsoft-mark .ui-icon{width:21px;height:21px}
.microsoft-button>span:last-child{min-width:0}
.header-right:has(#identity:empty) .wx-link{border-right:0;padding-right:0}
.page-heading>div{min-width:0}.page-heading h1>span{display:inline-block}
.section-title{flex-wrap:wrap}.section-title>div{min-width:0}
.hero-card h2{white-space:nowrap}.hero-card .eyebrow{letter-spacing:.12em}
.app-footer{margin-top:0;font-size:11px;line-height:1.8;padding-top:26px;color:#647486}
.app-footer>span{font-size:11px}.app-footer .footer-links{display:flex;flex-wrap:wrap;gap:10px 22px;flex:0 0 100%;padding:0;border:0;font-size:12px}
.footer-links a{text-decoration:underline;text-underline-offset:4px}
.app-footer p{margin:0;font-size:12px;line-height:1.85}
.auth-panel .remember-login{font-size:13px;justify-content:center;gap:10px;margin:26px 0 4px;min-height:36px}
.auth-panel .remember-help{font-size:11px;margin:0 0 12px}
.identity-help{text-align:left;margin-top:22px;font-size:12px;color:var(--muted)}
.identity-help summary{cursor:pointer;padding:10px 0}.identity-help p{margin:8px 0}.identity-help code{overflow-wrap:anywhere;font-size:12px}
.candidate>div{min-width:0}.candidate h3{line-height:1.7}.candidate .badge{display:inline-block}
.candidate-activity{padding:7px 10px;border-radius:6px;background:#f3f6fb}
.impact-summary{padding:12px 14px;background:#f3f6fb;border-radius:8px;font-size:12px;line-height:1.8}
@media(max-width:850px){
  .app-header{height:auto;min-height:76px;padding-top:10px;padding-bottom:10px;flex-wrap:wrap}
  .header-right{margin-left:auto}.wx-link,.header-right .quiet{min-height:44px;display:inline-flex;align-items:center;font-size:11px}
  #navigation{padding-top:8px;padding-bottom:calc(8px + env(safe-area-inset-bottom))}
  #navigation .nav-item{font-size:11px;gap:4px;min-height:52px;padding:4px 3px}
  #navigation .nav-item>span:first-child{display:flex;justify-content:center;align-items:center;min-height:22px}
  main{padding-bottom:30px}.app-layout:has(nav[hidden]) main{padding-bottom:24px}
  .app-footer{padding-bottom:calc(100px + env(safe-area-inset-bottom));margin-top:0}
  body:has(#navigation[hidden]) .app-footer{padding-bottom:calc(30px + env(safe-area-inset-bottom))}
  .save-bar{bottom:calc(86px + env(safe-area-inset-bottom))}
}
@media(max-width:620px){
  .page-heading h1{font-size:22px;line-height:1.6}.page-heading>.small{min-height:44px;padding:8px 10px;font-size:11px}
  .page-heading>.small .ui-icon{width:17px;height:17px}.page-heading p:not(.eyebrow){font-size:12px}
  input,select,textarea,.filters input,.filters select,.section-title>input,.section-title>select{font-size:16px;min-height:44px;max-width:100%}
  input[type=checkbox]{min-height:18px;width:18px;height:18px}
  .section-title>input,.section-title>select{width:min(100%,205px)}
  .primary,.secondary,.danger-button,.quiet,.text-button,.hero-button,.candidate button,.dialog-actions button{min-height:44px}
  .auth-panel{padding:28px 20px}.auth-panel h1{font-size:25px}.auth-panel .text-button.full{font-size:12px}
  .auth-panel .auth-note,.auth-panel .small-text{font-size:12px}.auth-panel>p{font-size:13px}
  .microsoft-button{font-size:13px;padding:12px 10px;gap:10px}.microsoft-button>span:last-child{text-align:left}
  .stat>span,.stat>small{font-size:12px}.candidate p,.candidate small,.impact-list li p{font-size:12px}
  .candidate button,.dialog-actions button{font-size:12px}.candidate h3{font-size:16px}
  .save-bar p{font-size:11px}.hero-card h2{font-size:clamp(21px,6vw,28px)}
  .hero-card p:not(.eyebrow){font-size:12px}.hero-button{font-size:12px}
}
@media(max-width:380px){.hero-mark{display:none}.hero-card>div:first-child{width:100%}.section-title{gap:10px}.candidate{flex-wrap:wrap}.candidate button{margin-left:auto}.save-bar{flex-wrap:wrap}.save-bar p{max-width:none}.save-bar button{margin-left:auto}.brand small{letter-spacing:1.3px}}

/* Give observation the same visual weight as the next training session. */
.next-sessions{display:grid;gap:18px;margin-bottom:25px}
.next-sessions .hero-card{margin-bottom:0}
.observe-card{background:#e2f0eb;color:#1b403b;border:1px solid #c5ddd4}
.observe-card .eyebrow,.observe-card p:not(.eyebrow){color:#466a62}
.observe-card .hero-button{background:#fff;color:#1b403b;border-color:#bad8cc}
.observe-card .hero-mark{border-color:#86b5a44d}
.observe-card .hero-mark span,.observe-card .hero-mark strong,.observe-card .hero-mark small{color:#527d70}
.observe-card .hero-mark span{font-size:10px;letter-spacing:3px;padding-left:3px}
.empty-observation h2{white-space:normal}
@media(min-width:1400px){.next-sessions{grid-template-columns:repeat(2,minmax(0,1fr))}.next-sessions .hero-card{padding:28px;min-height:245px}.next-sessions .hero-mark{display:none}.next-sessions .hero-card h2{font-size:32px}}
@media(max-width:620px){.next-sessions{gap:16px}.observe-card .hero-mark span{font-size:8px;letter-spacing:1.7px;padding-left:1.7px}}

/* v2.6.3: scoped attendance, advance notices, observer supplements and phone layout. */
.page-back{display:inline-flex;align-items:center;gap:8px;margin:0 0 16px;padding:8px 13px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--navy);font-weight:650;font-size:13px;min-height:42px}
.page-back:hover{background:#eaf0fa}.page-back .ui-icon{width:18px;height:18px}
.filters{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.7fr) minmax(0,1fr);align-items:end}
.filters label,.filters input,.filters select{min-width:0;max-width:100%;width:100%}
input[type=date]{min-inline-size:0;max-inline-size:100%;box-sizing:border-box}
.view-switch{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.view-switch>button{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:white;border-radius:10px;padding:10px 16px;color:var(--muted);font-weight:650;min-height:44px}.view-switch>button.active{border-color:#b2c4e2;background:#eaf0fb;color:#264fa3}.view-switch .badge{font-size:11px}
.notice-banner{padding:18px 22px;border:1px solid #d0ddeb;border-radius:12px;background:#edf3fa;margin:20px 0}.notice-banner>p{margin-top:5px;font-size:13px;color:var(--muted)}
.attendance-person,.attendance-person>div,.attendance-inputs,.attendance-inputs>label{min-width:0}.attendance-person strong{overflow-wrap:anywhere}
.attendance-inputs{grid-template-columns:minmax(0,140px) minmax(0,1fr)}.attendance-inputs input,.attendance-inputs select{min-width:0;max-width:100%}
.completion-check{align-self:center;gap:10px;line-height:1.5}.completion-check input{flex:0 0 auto}.prior-notice{grid-column:1/-1;display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:6px}.prior-notice button{font-size:12px}
.save-bar{position:static;margin-top:20px;gap:18px;box-shadow:none}.save-bar p{flex:1 1 220px}.save-bar button{margin-left:auto;white-space:normal}
.notice-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0;border-bottom:1px solid var(--line)}.notice-row:last-child{border-bottom:0}.notice-row>div{min-width:0}.notice-row>div>p{font-size:13px;color:var(--muted);margin:4px 0}.notice-row .badge{margin-top:4px}.notice-note{white-space:pre-wrap;overflow-wrap:anywhere}.notice-row button{flex-shrink:0}
.observer-name{overflow-wrap:anywhere}.observer-name .badge{font-size:10px;margin:0 3px;vertical-align:middle}.session-card>button.full{margin-top:10px;white-space:normal}.session-card .names{overflow-wrap:anywhere}.slot-check-link{padding:5px 0;text-decoration:underline;text-underline-offset:3px}
.observer-candidates{border:0;padding:0;margin:18px 0;min-width:0}.observer-candidates legend{font-size:12px;color:var(--muted);margin-bottom:8px}.observer-candidate{display:flex;align-items:flex-start;gap:12px;padding:15px 0;border-bottom:1px solid var(--line);cursor:pointer}.observer-candidate>input{width:20px;height:20px;min-height:20px;flex:0 0 auto;margin:4px 0}.observer-candidate>span{min-width:0;overflow-wrap:anywhere}.observer-candidate small{display:block;color:var(--muted);font-size:12px;margin-top:5px}.observer-candidate.unavailable{opacity:.6;cursor:default}.observer-candidate:has(input:checked){background:#f0f6fa}.recommendation-note,.slot-editing-note{padding:12px 15px;border-radius:9px;background:#edf3fa;color:var(--navy);margin:12px 0;font-size:13px}
@media(max-width:620px){
 .page-back{margin-bottom:18px;font-size:13px}
 .filters{grid-template-columns:minmax(0,1fr);gap:12px;padding:16px}.filters label{font-size:12px;margin:0}.filters label:last-child{grid-column:1;margin:0}.filters input,.filters select{display:block;width:100%;min-width:0;font-size:16px;min-height:44px}
 .form-grid{grid-template-columns:minmax(0,1fr)}
 .attendance-inputs{grid-template-columns:minmax(0,1fr);gap:12px}.attendance-inputs>label{font-size:12px}.attendance-inputs .completion-check{font-size:13px;min-height:40px}.attendance-inputs .note-label{grid-column:1}.attendance-row{gap:14px}
 .view-switch{gap:8px}.view-switch>button{font-size:12px;padding:9px 12px}.notice-banner{padding:15px}.notice-banner>p{font-size:12px}
 .save-bar{padding:16px;align-items:stretch;flex-direction:column}.save-bar p{font-size:12px;flex:auto;max-width:none}.save-bar button{width:100%;max-width:100%;margin:0;min-height:46px;font-size:14px}
 .notice-row{align-items:stretch;flex-direction:column;gap:12px}.notice-row button{align-self:flex-start}
 .observer-candidate small{font-size:12px}.observer-candidate strong{font-size:15px}.observer-candidate .badge{font-size:10px}
 .session-card>button.full{font-size:12px;padding:10px 8px}.slot-check-link{font-size:11px}.slot-editing-note{font-size:12px}
}

/* v2.7: visible read-only classmates and planning dialogs. */
fieldset.attendance-inputs{border:0;padding:0;margin:0;min-inline-size:0}
.attendance-row.read-only{background:#f8fafc}
.attendance-row.read-only fieldset{opacity:.8}
.readonly-note{grid-column:1/-1;color:var(--muted);font-size:12px;line-height:1.7;margin:0}
.attendance-row.read-only select:disabled,.attendance-row.read-only input:disabled{color:#58687d;-webkit-text-fill-color:#58687d;opacity:1;background:#f0f3f8}
.event-card{padding:22px;border:1px solid #cbded9;border-left:4px solid #6a9c8a;border-radius:14px;background:#fff;margin:16px 0;min-width:0}
.event-card h3{font-size:19px;margin:8px 0}.event-card p{font-size:13px;line-height:1.8;margin:5px 0}.event-description{white-space:pre-wrap;overflow-wrap:anywhere}
.event-groups{display:flex;gap:16px;flex-wrap:wrap;border:1px solid var(--line);border-radius:10px;padding:12px 16px;margin:16px 0;min-width:0}.event-groups legend{font-size:12px;color:var(--muted)}.event-groups .check-label{margin:0}
.observer-presets,.group-preset-buttons{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0}
.all-candidates{border:1px solid var(--line);border-radius:10px;padding:14px;margin:18px 0}.all-candidates>summary{cursor:pointer;font-weight:650;font-size:14px;color:var(--navy)}
.planning-actions{margin:0 0 20px}.upcoming-events{margin:24px 0}.upcoming-events>h2{font-size:21px}
#session-editor select,#event-editor input,#event-editor select,#convert-form select{max-width:100%;min-width:0}
#event-editor [hidden]{display:none!important}.observer-candidate input[type=checkbox]{accent-color:var(--blue)}
@media(max-width:620px){.event-card{padding:16px}.event-card h3{font-size:17px}.observer-presets>button{flex:1 1 150px}.slot-row .button-row{flex-wrap:wrap}.event-groups{gap:15px}.dialog-actions{flex-wrap:wrap}.dialog-actions>button{white-space:normal}.planning-actions>button{flex:1 1 140px}}

/* Multiple pilots retain individual training credits and fit narrow screens. */
.trainee-candidates{border:0;padding:0;margin:20px 0;min-inline-size:0}
.trainee-candidates legend{font-size:14px;font-weight:650;color:var(--navy);margin-bottom:8px}
.trainee-row{padding:14px 10px;border-bottom:1px solid var(--line);min-width:0;border-radius:8px}
.trainee-row:has(input:checked){background:#eef4fa}.trainee-row.unavailable{opacity:.65}
.trainee-choice{display:flex;gap:12px;align-items:flex-start;margin:0;cursor:pointer}
.trainee-choice>input{width:22px;height:22px;min-height:22px;flex:0 0 auto;margin:3px 0;accent-color:var(--blue)}
.trainee-choice>span{min-width:0;overflow-wrap:anywhere}.trainee-choice strong{font-size:15px}.trainee-choice small{display:block;font-size:12px;color:var(--muted);margin-top:5px;line-height:1.7}
.trainee-credit{margin:12px 0 0 34px;font-size:12px}.trainee-credit select,.conversion-credit select{font-size:14px;width:100%;text-overflow:ellipsis}
.conversion-credit{padding:15px 0;border-bottom:1px solid var(--line);min-width:0}.conversion-credit strong,.conversion-credit span{display:block}.conversion-credit span{font-size:12px;color:var(--muted);margin:6px 0}
.training-credit-list{list-style:none;padding:0;margin:10px 0}.training-credit-list li{font-size:12px;line-height:1.8;overflow-wrap:anywhere}.session-card h3{overflow-wrap:anywhere}
.badge.extra{background:#e4f3ed;color:#286554}
.trainee-credit[hidden]{display:none!important}.selected-training-detail{display:block;font-size:12px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere;margin-top:7px}
.planning-help{margin:14px 0;padding:10px 0}.planning-help>summary{font-size:12px;color:var(--muted);cursor:pointer}.planning-help p{margin-top:10px}
@media(max-width:620px){.trainee-credit{margin-left:0}.trainee-credit select,.conversion-credit select{font-size:16px}.trainee-other-groups{padding:10px}.trainee-row{padding:14px 6px}.training-credit-list li{font-size:12px}}
/* 2.8.1: notices, editable lesson assignments and stable narrow layouts. */
.hero-mark{flex:0 0 170px;width:170px;min-width:0;margin:0 0 0 12px;box-sizing:border-box}
.hero-mark strong{display:block;width:100%;text-align:center;letter-spacing:0;font-variant-numeric:tabular-nums}
.hero-mark small{max-width:95%;text-align:center}
.event-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px}
.event-card>h3{margin:0 0 12px;overflow-wrap:anywhere}.event-card>p:last-child{margin-bottom:0}
.calendar-panel,.schedule-layout>section{min-width:0}.calendar-panel>label{min-width:0;max-width:100%}
input[type="date"],input[type="time"]{min-width:0;max-width:100%;box-sizing:border-box;display:block}
input::-webkit-date-and-time-value{min-width:0;text-align:left}
.app-footer .footer-links{gap:8px 18px;align-items:center;justify-content:flex-start}.footer-links a{white-space:nowrap}
.home-notices{margin:0 0 20px;padding:18px;border:1px solid var(--line);border-radius:14px;background:#fff}
.home-notices .section-title{margin:0 0 10px}.home-notices h2{font-size:18px}
.action-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid var(--line)}
.action-notice>div{min-width:0}.action-notice strong{font-size:13px}.action-notice p{font-size:12px;color:var(--muted);margin-top:4px}
.action-notice button{flex-shrink:0}.home-tools{display:flex;justify-content:flex-end;margin:0 0 10px}
.home-notices summary{cursor:pointer;font-size:12px;padding:8px 0}
.period-end-settings{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 12px;border:1px solid var(--line);border-radius:10px;margin:18px 0;padding:12px}
.period-end-settings legend{font-size:12px;padding:0 6px}.period-end-settings label{margin:0}
.assignment-choices{border:0;padding:0;display:grid;gap:8px;margin:20px 0}.assignment-choices label{margin:0;padding:9px;border:1px solid var(--line);border-radius:8px}
.assignment-choices small{display:block;color:var(--muted);font-size:11px}.assignment-choices label:has(:disabled){opacity:.55}
.observer-order-setting{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-top:12px}.observer-order-setting label{flex:1 1 260px;margin:0}
.lesson-heading{flex-wrap:wrap}.lesson-heading>button{margin-left:auto}
.badge.pending{background:#fff1dd;color:#88580e}.badge.optional{background:#eaf5f2;color:#3f7368}.badge.exempt{background:#f0f2f6;color:#677383}
@media(max-width:620px){.hero-mark{flex-basis:105px;width:105px;margin:0 0 0 8px}.hero-mark strong{font-size:46px}.app-footer .footer-links{gap:8px 14px;font-size:12px}.period-end-settings{grid-template-columns:repeat(2,minmax(0,1fr))}.action-notice strong{font-size:12px}.action-notice p{font-size:11px}.lesson-heading>button{font-size:10px}.event-card .event-heading{margin-top:0}}

/* Maintenance keeps the recovery controls available at narrow widths. */
.maintenance-symbol{display:grid;place-items:center;width:64px;height:64px;border-radius:20px;margin:0 auto 20px;background:var(--mint);color:var(--navy)}.maintenance-symbol svg{width:30px;height:30px}.maintenance-screen h1{font-size:clamp(22px,4vw,30px);letter-spacing:-.025em}.maintenance-message{white-space:pre-wrap;overflow-wrap:anywhere}.maintenance-banner{margin-bottom:20px}#maintenance-form{display:grid;gap:18px;margin-top:24px}#maintenance-form select,#maintenance-form textarea{width:100%;min-width:0}#maintenance-allowed{font-size:13px}.maintenance-screen .notice{font-size:13px;text-align:left}.maintenance-settings .section-title p{margin-top:8px;overflow-wrap:anywhere}

/* 2.8.2: keep native date/time controls inside their cards and grid cells. */
form,fieldset,label{min-inline-size:0;max-inline-size:100%}
fieldset{margin-inline:0}
legend{max-inline-size:100%;overflow-wrap:anywhere}
.form-grid>label,.period-end-settings>label,.calendar-panel>label{min-width:0}
input[type="date"],input[type="time"]{-webkit-appearance:none;appearance:none;inline-size:100%;min-inline-size:0;max-inline-size:100%;line-height:1.5;text-align:left}
input::-webkit-date-and-time-value{min-inline-size:0;min-height:1.5em;text-align:left}
input::-webkit-datetime-edit{min-inline-size:0;padding:0}
.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr))}
.period-end-settings{min-inline-size:0;max-inline-size:100%;gap:12px 16px;padding:16px}
.period-end-settings input{margin-bottom:0}
.page-heading>div,.section-title>div{min-inline-size:0}
@media(max-width:1100px){.period-end-settings{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:380px){.period-end-settings{grid-template-columns:minmax(0,1fr)}}
@media(pointer:coarse){input,select,textarea{font-size:16px}}

/* Approval preview: contain controls on small phones and tablet split views. */
.notification-review{border:1px solid var(--line);border-radius:18px;padding:clamp(16px,3vw,24px);margin:24px 0;background:var(--bg)}
.notification-review h3{margin:0}
.notification-review .section-title{flex-wrap:wrap;gap:10px}
.notification-choice{display:flex;flex-wrap:wrap;gap:12px 24px;border:0;padding:0;margin:18px 0;min-inline-size:0}
.notification-choice label{display:flex;align-items:center;gap:8px;min-height:44px;margin:0}
.notification-choice input{width:20px;height:20px;flex:0 0 20px;accent-color:var(--blue)}
.notification-review-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;margin-top:20px;align-items:start}
.notification-review-grid>div{min-width:0}
.notification-review-grid input:not([type="checkbox"]),.notification-review-grid select,.notification-review-grid textarea{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.notification-preview{display:flex;align-items:flex-start;gap:12px;padding:18px;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:0 4px 20px #132f4610;min-width:0;overflow-wrap:anywhere}
.notification-preview img{flex:0 0 36px;border-radius:9px}
.notification-preview>div{min-width:0}
.notification-preview small{display:block;color:var(--muted);margin-bottom:6px}
.notification-preview strong{display:block;font-size:16px;line-height:1.5}
.notification-preview p{margin:6px 0 0;font-size:15px;line-height:1.65}
.notification-audience summary,.notification-detail summary{cursor:pointer;min-height:44px;padding:8px 0}
.notification-audience ul{max-height:200px;overflow:auto;padding-left:22px}
.notification-audience li{margin:8px 0;overflow-wrap:anywhere}
.notification-review [hidden]{display:none!important}
.notification-diff{list-style:none;margin:12px 0 0;padding:0}
.notification-diff li{padding:16px 0;border-top:1px solid var(--line);overflow-wrap:anywhere}
.notification-diff dl{display:grid;grid-template-columns:4em minmax(0,1fr);gap:8px;margin:10px 0}
.notification-diff dt{color:var(--muted)}
.notification-diff dd{margin:0;min-width:0}
.notification-detail .section-title{gap:12px;align-items:flex-start}
.notification-detail h2{font-size:22px;line-height:1.5;overflow-wrap:anywhere}
@media(max-width:700px){.notification-review-grid{grid-template-columns:minmax(0,1fr);gap:16px}.notification-review input,.notification-review select,.notification-review textarea{font-size:16px}.notification-detail h2{font-size:19px}}

.notification-choice .sr-only,.assignment-school .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.notification-review>.section-title:first-child{margin-top:0}
.event-heading{flex-wrap:wrap}
.event-heading>.badge{margin-right:auto}

.push-preview{margin:18px 0;padding:18px;border:1px solid var(--line);border-radius:16px;background:#f4f7fb;overflow-wrap:anywhere}
.push-preview>small{display:block;margin-bottom:9px;color:var(--muted);font-size:11px}
.push-preview>strong{display:block;font-size:16px;line-height:1.5}
.push-preview>p{margin:8px 0 0;line-height:1.7}

/* v2.9: personal dates and readable agendas; no input's intrinsic width may
   stretch a card on mobile Safari. Colors are always paired with text marks. */
.calendar-day.personal-ftd{background:#e3eaff;color:#213e87}
.calendar-day.personal-observe{background:#dff2e9;color:#22594d}
.calendar-day.personal-self{background:#e8edf2;color:#34465b}
.calendar-day.personal-events{background:#eee5fa;color:#553e79}
.calendar-day.personal-pending{background:#fff0d7;color:#77501b}
.calendar-day.personal-exempt{background:#f0f2f5;color:#596674}
.calendar-day.personal-ftd.personal-observe{background:linear-gradient(135deg,#e3eaff 50%,#dff2e9 50%);color:#203c4d}
.calendar-day.selected{outline:2px solid #203f52;outline-offset:-2px;box-shadow:inset 0 0 0 4px #fff}
.calendar-day.today:not(.selected){outline:2px dashed #7786ae;outline-offset:-2px}
.calendar-marks{display:flex;align-items:center;justify-content:center;gap:2px;flex-wrap:wrap;line-height:1.1;min-height:14px}
.calendar-mark{display:inline-flex;align-items:center;justify-content:center;font-style:normal;font-size:10px;line-height:1.25;border-radius:4px;padding:1px 3px;min-width:14px;background:#edf0f5;color:#34465b;font-weight:700}
.mark-ftd{background:#cfdbff;color:#203e8b}.mark-observe{background:#c7eadb;color:#21574c}.mark-self{background:#e1e5ec;color:#34465b}.mark-events{background:#e8d8fc;color:#553775}.mark-pending{background:#ffe4b4;color:#75501d}.mark-exempt{background:#ecedf0;color:#4c5863}
.calendar-legend{display:flex;flex-wrap:wrap;gap:8px 12px;margin:18px 0 8px;font-size:11px;line-height:1.6}
.calendar-legend>span{display:inline-flex;gap:5px;align-items:center}
.personal-agenda .section-title{flex-wrap:wrap}.agenda-filter{display:flex;align-items:center;gap:12px;max-width:370px;margin:20px 0}
.agenda-filter select{min-width:0;flex:1}.agenda-row{display:grid;grid-template-columns:108px minmax(0,1fr) auto;gap:14px;align-items:center;padding:18px 0;border-bottom:1px solid #e1e7ef;text-decoration:none;color:inherit}
.agenda-row>span{min-width:0;overflow-wrap:anywhere}.agenda-row strong{font-size:15px}.agenda-row small{display:block;color:#63768a;margin-top:5px;line-height:1.6;font-size:12px}.agenda-date{font-weight:700}.agenda-row .calendar-mark{padding:5px 8px;font-size:12px}.agenda-row:hover{background:#f3f6fa}
.calendar-provider{margin:22px 0;padding-top:18px;border-top:1px solid #e1e7ef}.calendar-provider h3{margin-top:0}.calendar-provider input{max-width:100%;min-width:0}.calendar-provider summary{cursor:pointer;font-weight:700;padding:6px 0}
.calendar-periods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.calendar-periods fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0;padding:12px;border:1px solid #dce4ef;border-radius:12px}.calendar-periods label,.calendar-periods input{min-width:0;max-width:100%;width:100%}.calendar-periods input{box-sizing:border-box;padding:9px 6px}
.announcement-card{padding:16px 0;border-top:1px solid #e1e7ef;overflow-wrap:anywhere}.announcement-card:first-child{border-top:0}.announcement-card summary{display:flex;gap:12px;justify-content:space-between;align-items:baseline;cursor:pointer;list-style-position:inside}.announcement-card summary strong{min-width:0}.announcement-card time{white-space:nowrap;color:#677a90;font-size:12px}.announcement-body{white-space:pre-wrap;overflow-wrap:anywhere}.announcement-recipients,#announcement-targets>div{max-height:220px;overflow:auto}#announcement-form textarea{width:100%;min-width:0}#announcement-targets{min-width:0;border:1px solid #dce4ef;border-radius:12px;padding:12px;margin:16px 0}#announcement-form .check-label{white-space:normal}
@media(max-width:620px){.agenda-row{grid-template-columns:77px minmax(0,1fr) auto;gap:9px;padding:15px 0}.agenda-row strong{font-size:14px}.agenda-row small{font-size:12px}.agenda-date{font-size:12px}.agenda-row .calendar-mark{padding:3px 5px;font-size:11px}.calendar-periods{grid-template-columns:minmax(0,1fr)}.announcement-card summary{flex-wrap:wrap;gap:3px}.calendar-legend{font-size:10px;gap:6px 10px}.personal-agenda .section-title>.secondary{font-size:11px}.agenda-filter{font-size:12px}.calendar-provider .button-row{flex-wrap:wrap}.calendar-provider .button-row>*{max-width:100%}}

.observer-companion-setting{margin-top:24px;padding-top:20px;border-top:1px solid var(--line);min-width:0}.observer-companion-setting>button{max-width:100%;white-space:normal;overflow-wrap:anywhere}.companion-skipped{margin:12px 0}.companion-skipped ul{padding-left:22px;overflow-wrap:anywhere}.companion-skipped li{margin:6px 0}

/* A persistent notice is in normal document flow and never covers controls. */
.service-notice{display:flex;align-items:flex-start;gap:10px;padding:13px 16px;margin:0 0 20px;border:1px solid #d9e3ed;border-radius:12px;background:#edf2f7;color:#354e63;min-width:0;font-size:13px;line-height:1.6}
.service-notice-symbol{display:grid;place-items:center;flex:0 0 20px;width:20px;height:20px;border:1px solid #9aaebf;border-radius:50%;font-family:Georgia,serif;font-size:14px;font-weight:700;margin-top:1px}
.service-notice-copy{min-width:0;overflow-wrap:anywhere}.service-notice-copy strong{display:block;font-size:13px;font-weight:650}.service-notice-copy p{margin:3px 0 0;white-space:pre-wrap;color:#4c6478;font-size:12px}
.service-notice-settings .section-title{align-items:flex-start}.service-notice-settings .section-title>div{min-width:0}.service-notice-settings p{overflow-wrap:anywhere}.service-notice-settings>button{margin-top:14px;max-width:100%;white-space:normal}
#service-notice-form{display:grid;gap:17px;margin-top:22px;min-width:0}#service-notice-form>label{display:grid;gap:7px;min-width:0}#service-notice-form>.check-label{display:flex;align-items:center}#service-notice-form input:not([type=checkbox]),#service-notice-form textarea{display:block;width:100%;min-width:0;max-width:100%}#service-notice-form small{font-weight:400;font-size:12px}#service-notice-form .dialog-actions{margin-top:0}
.service-notice-preview-wrap{min-width:0}.service-notice-preview-wrap h3{font-size:13px;margin-bottom:10px}.service-notice-preview-wrap .service-notice{margin:0}.service-notice-hidden-preview{padding:14px;border:1px dashed #d9e3ed;border-radius:12px}.service-notice-error{color:#a52d38;font-size:13px;overflow-wrap:anywhere}
@media(max-width:620px){.service-notice{padding:11px 12px;gap:9px;margin-bottom:18px}.service-notice-copy strong{font-size:12px}.service-notice-copy p{font-size:12px}#service-notice-form .check-label{font-size:13px}}
.error-details{margin-top:20px;text-align:left;min-width:0;font-size:13px;overflow-wrap:anywhere}.error-details p{margin:10px 0}.error-details code{display:block;font-size:12px;white-space:normal;overflow-wrap:anywhere}.error-details summary{cursor:pointer;font-weight:600}.error-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:18px}.error-actions button,.error-actions a{max-width:100%;white-space:normal}.connection-error h1{font-size:clamp(22px,4vw,30px)}.connection-error .error-actions{justify-content:center}.session-headcount{font-size:12px;color:var(--muted);line-height:1.8;overflow-wrap:anywhere}
#connection .error-details{margin-top:10px}#connection .error-details p{font-size:12px}#connection>button{margin-top:10px}
#save-status{margin:16px auto;padding:18px 24px;max-width:1100px;border:1px solid #dbc997;border-radius:14px;background:#fff8e9;color:#463c23;overflow-wrap:anywhere}#save-status[hidden]{display:none}#save-status p{font-size:13px;margin:7px 0}#save-status .error-actions{margin-top:10px}
@media(max-width:620px){#save-status{margin:12px 16px;padding:16px}.connection-error .error-actions{flex-direction:column;align-items:stretch}.connection-error .error-details code{font-size:12px}.session-headcount{font-size:11px}#save-status .error-actions button{width:100%}}
.save-status-inline{padding:16px;border:1px solid #d9b866;border-radius:12px;background:#fff8e7;margin-bottom:20px;overflow-wrap:anywhere}
.save-status-inline .error-actions{display:flex;gap:8px;flex-wrap:wrap}
.save-status-inline p{margin:8px 0}

/* v2.12: keep focused controls visible and give touch actions enough room. */
.dialog-actions{position:static;bottom:auto;flex-wrap:wrap;gap:10px;padding-top:18px}
.dialog-actions>button{min-height:44px;max-width:100%;font-size:13px;white-space:normal}
.dialog-actions>.danger-button{margin-right:auto}
dialog{overscroll-behavior:contain;scroll-padding-block:16px}
dialog :is(input,select,textarea,button,summary){scroll-margin-block:16px}
.calendar-title{font-size:15px;gap:8px}
.calendar-title .quiet{min-width:44px;min-height:44px;font-size:24px;padding:6px}
.calendar-grid{gap:2px}
.calendar-day{min-height:44px;font-size:13px}
.weekday{font-size:12px}
.calendar-panel>label{display:block;margin-top:14px;font-size:12px}
.schedule-layout{grid-template-columns:360px minmax(0,1fr);gap:22px;align-items:start}
.calendar-panel{padding:18px}
.calendar-panel>.text-button{min-height:44px;max-width:100%;white-space:normal}
.slot-row{flex-wrap:wrap;align-items:flex-start;gap:12px}
.slot-row>div:first-child{min-width:0;flex:1 1 150px;overflow-wrap:anywhere}
.slot-row .button-row{flex:0 1 auto;min-width:0;max-width:100%;gap:8px;flex-wrap:wrap}
.slot-row .button-row button{min-height:44px;font-size:12px;padding:10px 12px;white-space:normal}
.slot-row p,.slot-row small{font-size:12px}
.attendance-inputs .check-label{min-height:44px;font-size:13px;margin-top:0}
.attendance-inputs .note-label{font-size:12px}
.app-footer{margin-top:0;clear:both}
.app-footer .footer-links a{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:1180px){
 .schedule-layout{grid-template-columns:360px minmax(0,1fr);gap:18px}
 .schedule-layout .session-grid{grid-template-columns:minmax(0,1fr)}
 .attendance-inputs input:not([type=checkbox]),.attendance-inputs select,.filters input,.filters select,.section-title>input,.section-title>select{font-size:16px;min-height:44px}
 .attendance-inputs{grid-template-columns:minmax(130px,1fr) minmax(0,1fr);gap:10px 14px}
 .section-title{flex-wrap:wrap}
 .slot-row .button-row{flex:1 1 270px}
}
@media(max-width:850px){
 html{scroll-padding-bottom:calc(90px + env(safe-area-inset-bottom))}
 main :is(input,select,textarea,button,a,summary){scroll-margin-bottom:calc(90px + env(safe-area-inset-bottom))}
 .app-footer{padding-bottom:calc(100px + env(safe-area-inset-bottom))}
}
@media(max-width:740px){
 .schedule-layout{grid-template-columns:minmax(0,1fr)}
 .calendar-panel{position:static;width:100%;max-width:440px;margin:0 auto 4px;padding:16px}
 .attendance-inputs{grid-template-columns:minmax(0,1fr)}
 .attendance-inputs .note-label{grid-column:auto}
 .calendar-day{min-height:44px}
 .slot-row .button-row{flex-basis:100%}
}
/* A sticky calendar taller than the visible area hides its date/connection
   controls behind the bottom navigation in landscape and zoomed views. */
@media(max-height:900px){.calendar-panel{position:static}}
@media(pointer:coarse){
 .attendance-inputs input:not([type=checkbox]),.attendance-inputs select,.filters input,.filters select,.section-title>input,.section-title>select{font-size:16px;min-height:44px}
 .check-label{min-height:44px}
}

/* Daily information uses ordinary cards, leaving the next FTD and observation
   cards with equal visual weight. */
.daily-panel .section-title,.classroom-panel .section-title,.attention-panel .section-title{margin:0 0 16px;flex-wrap:wrap}
.daily-timeline,.attention-items{list-style:none;padding:0;margin:0}
.daily-item{display:grid;grid-template-columns:110px minmax(0,1fr);gap:16px;padding:17px 0;border-top:1px solid var(--line)}
.daily-item:first-child{border-top:0}
.daily-time{font-size:13px;font-weight:700;color:var(--navy);font-variant-numeric:tabular-nums}
.daily-detail,.daily-item>div{min-width:0;overflow-wrap:anywhere}
.daily-detail>strong{display:block;font-size:15px}
.daily-item small{display:block;margin-top:5px;color:var(--muted);font-size:12px}
.daily-detail .badge{margin:7px 6px 0 0}
.daily-detail button{margin-top:10px;min-height:44px;font-size:12px}
.daily-empty{font-size:13px;line-height:1.8}
.classroom-panel>.small-text{margin:0 0 18px}
.classroom-machines{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.classroom-machines>section{min-width:0;padding:17px;border:1px solid var(--line);border-radius:12px;background:var(--bg)}
.classroom-machines h3{font-size:17px;margin:0 0 12px}
.classroom-session{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:15px 0;border-top:1px solid var(--line)}
.classroom-session>div{flex:1 1 160px;min-width:0;overflow-wrap:anywhere}
.classroom-session strong{font-size:15px}
.classroom-session p,.classroom-session small{font-size:12px;color:var(--muted);line-height:1.8}
.classroom-session button{min-height:44px;flex:0 0 auto;font-size:13px}
.attention-item{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:17px 0;border-top:1px solid var(--line)}
.attention-item>div{min-width:0;overflow-wrap:anywhere}
.attention-item strong{font-size:15px}
.attention-item p{font-size:13px;line-height:1.8;margin-top:5px;color:var(--muted)}
.attention-item small{display:block;font-size:12px;margin-top:5px;color:var(--muted)}
.attention-item button{min-height:44px;flex-shrink:0;font-size:12px}
.attention-panel summary{display:list-item;list-style-position:inside;min-height:44px;padding:10px 0;cursor:pointer;font-size:13px;color:var(--navy)}
.attention-item details ul{padding-left:20px;margin:6px 0}
.attention-item details li{font-size:13px;margin:8px 0}
.attention-item details button{margin:4px 0 4px 8px}
.teacher-attendance-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 20px;padding:18px;border:1px solid var(--line);border-radius:12px;background:white}
.teacher-attendance-controls label{min-width:0;font-size:13px}
.teacher-attendance-controls select{font-size:16px;min-height:44px;margin-bottom:0}
.attendance-section-heading{grid-column:1/-1;margin:0;padding:14px 20px;border-bottom:1px solid var(--line);background:#edf2f7;font-size:16px;line-height:1.6}
.agenda-row:has(.agenda-main){grid-template-columns:minmax(0,1fr) auto;gap:14px}
.agenda-main{display:grid;grid-template-columns:108px minmax(0,1fr) auto;gap:14px;align-items:center;min-width:0;min-height:44px}
.agenda-main>span{min-width:0;overflow-wrap:anywhere}
.agenda-row:has(.agenda-main)>button{min-height:44px;max-width:100%;font-size:12px;white-space:normal}
@media(min-width:741px) and (max-width:1100px){
 .teacher-attendance-controls{grid-template-columns:repeat(2,minmax(0,1fr))}
 .teacher-attendance-controls>label:last-child{grid-column:1/-1}
}
@media(max-width:740px){
 .daily-item{grid-template-columns:85px minmax(0,1fr);gap:12px}
 .classroom-machines{grid-template-columns:minmax(0,1fr)}
 .teacher-attendance-controls{grid-template-columns:minmax(0,1fr);gap:12px;padding:16px}
 .attention-item{flex-wrap:wrap;gap:10px}
 .attention-item>button{margin-left:auto}
 .agenda-main{grid-template-columns:77px minmax(0,1fr) auto;gap:9px}
 .agenda-row:has(.agenda-main){grid-template-columns:minmax(0,1fr)}
 .agenda-row:has(.agenda-main)>button{justify-self:end}
}
.role-preview-settings>button{margin-top:14px;min-height:44px}
.role-preview-banner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;padding:16px;border:1px solid #cadbd8;border-radius:12px;background:#edf7f3;margin:18px 0}
.role-preview-banner>div{flex:1 1 240px;min-width:0;overflow-wrap:anywhere}
.role-preview-banner strong{display:block;font-size:15px;color:var(--green)}
.role-preview-banner p{margin:7px 0 0;line-height:1.8}
.role-preview-banner button{min-height:44px;flex:0 0 auto}
.role-preview-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px}
.role-preview-controls label{min-width:0;font-size:13px;margin-top:0}
.role-preview-controls select,#role-preview-lesson{font-size:16px;min-height:44px;max-width:100%}
.role-preview-nav{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}
.role-preview-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:17px 0}
.role-preview-summary .panel-inset{min-width:0;padding:16px;border:1px solid var(--line);border-radius:10px;background:var(--bg);overflow-wrap:anywhere}
.role-preview-summary h4{margin:0 0 10px;font-size:14px}
.role-preview-summary strong{font-size:19px}
.role-preview-summary p{margin:8px 0 0;line-height:1.8}
#role-preview-content>section{margin:22px 0;padding-top:18px;border-top:1px solid var(--line);min-width:0;overflow-wrap:anywhere}
#role-preview-content h3{font-size:18px;margin:0 0 14px}
#role-preview-content li{font-size:13px;line-height:1.8}
.role-preview-roster{list-style:none;padding:0;margin:16px 0}
.role-preview-person{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;padding:16px 0;border-top:1px solid var(--line)}
.role-preview-person>div{min-width:0;flex:1 1 220px;overflow-wrap:anywhere}
.role-preview-person strong{font-size:14px}
.role-preview-person p{margin:5px 0 0}
.role-preview-person .small-text{font-size:12px}
@media(max-width:620px){
 .role-preview-controls,.role-preview-summary{grid-template-columns:minmax(0,1fr)}
 .role-preview-banner{padding:14px}
 .role-preview-banner button{margin-left:auto}
}
.teacher-attendance-panel .teacher-attendance-controls{padding:0;border:0;background:transparent;margin:18px 0}
.preparation-entry{min-height:44px;font-size:13px;max-width:100%;white-space:normal}
.preparation-session{padding:14px 16px;margin:18px 0;border-radius:10px;background:#edf2f7;font-size:14px;line-height:1.8}
.preparation-items{display:grid;gap:12px;margin:18px 0}
.preparation-items .check-label{min-height:52px;margin:0;padding:13px;border:1px solid var(--line);border-radius:10px;font-size:14px;cursor:pointer}
.preparation-items .check-label:has(:checked){border-color:#b7d8cb;background:#edf7f2}
.preparation-items input[type=checkbox]{width:20px;height:20px;min-height:20px;flex:0 0 20px}
#preparation-form>.primary{min-height:44px;margin-top:12px}
#preparation-body .notice{flex-wrap:wrap;align-items:flex-start}
#preparation-body .notice p{flex:1 1 240px;min-width:0}
#preparation-body .notice button{min-height:44px;max-width:100%;white-space:normal}
#preparation-feedback{font-size:13px;line-height:1.8;margin-top:18px;overflow-wrap:anywhere}
.announcement-panel.announcement-empty{padding:16px 20px;background:#f9fbfd;box-shadow:none}
.announcement-empty .section-title{margin:0 0 6px}
.announcement-empty h2{font-size:16px;margin:0}
.announcement-empty #announcement-inbox>p{font-size:13px;line-height:1.8}

/* Pilot exchange: compare both dates without horizontal scrolling. */
.exchange-dialog{min-width:0}.exchange-dialog h3{font-size:15px;margin:16px 0 8px;overflow-wrap:anywhere}.exchange-mode{display:flex;flex-wrap:wrap}.exchange-mode button{flex:1 1 180px;white-space:normal}.exchange-source{background:#f4f7fb;border-radius:10px;padding:12px!important}.exchange-students,.exchange-activities{list-style:none;padding:0;margin:10px 0}.exchange-students li,.exchange-activities li{display:grid;gap:4px;margin:9px 0;font-size:12px;overflow-wrap:anywhere}.exchange-students span,.exchange-activities span{color:var(--muted);font-size:11px}.exchange-students .attention{margin:0;color:#935517}.exchange-candidate{border:1px solid var(--line);border-radius:10px;padding:16px;margin:12px 0;min-width:0}.exchange-candidate h3{margin:9px 0}.exchange-badges{display:flex;flex-wrap:wrap;gap:5px}.exchange-candidate .recommendation-note{font-size:11px}.exchange-candidate button{margin-top:8px}.exchange-blocked{background:#f6f7f9}.exchange-warnings{padding-left:18px;font-size:12px;overflow-wrap:anywhere}.exchange-options{padding:14px}.exchange-options summary{overflow-wrap:anywhere}.exchange-empty{padding:12px 0}.exchange-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.exchange-dates>section{background:#f4f7fb;border:1px solid var(--line);border-radius:10px;padding:14px;min-width:0}.exchange-dates h3{margin-top:0}.exchange-new-pilots{font-weight:700;color:var(--navy);overflow-wrap:anywhere}.exchange-queue-item{border-top:1px solid var(--line);padding:16px 0}.exchange-queue-item h3{font-size:15px;overflow-wrap:anywhere}.exchange-queue-item p{font-size:12px;margin:7px 0}.exchange-current h3{border-top:1px solid var(--line);padding-top:12px}.exchange-dialog .check-label{align-items:flex-start}.exchange-dialog input[type=checkbox]{flex-shrink:0;margin-top:2px}
@media(max-width:620px){.exchange-dates{grid-template-columns:1fr}.exchange-candidate,.exchange-options{padding:12px}.exchange-dialog .dialog-actions>button{flex:1 1 150px}.exchange-options>summary{font-size:13px}.exchange-dialog .exchange-students li{font-size:13px}}
.exchange-released{min-width:0;border:1px solid var(--line);border-radius:10px;padding:14px;margin:18px 0}.exchange-released legend{font-size:13px;font-weight:700;padding:0 5px;max-width:100%;white-space:normal}.exchange-released select{max-width:100%;min-width:0}

/* One agenda for today's completed items and the next personal activities. */
.personal-agenda{min-width:0}
.personal-agenda>.section-title{align-items:flex-start;flex-wrap:wrap}
.personal-agenda>.section-title>div{min-width:0;flex:1 1 190px}
.personal-agenda>.section-title>.secondary{min-height:44px;flex:0 0 auto}
.personal-agenda .eyebrow{margin:0 0 6px}
.agenda-next-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}
.agenda-next-card{min-width:0;background:#edf2fa;border:1px solid #dbe5f3;border-radius:12px;padding:16px}
.agenda-next-observe{background:#eef8f3;border-color:#d5e9e1}
.agenda-next-card .eyebrow{font-size:11px;letter-spacing:.08em;color:#395579}
.agenda-next-observe .eyebrow{color:#38695e}
.agenda-next-card>p.muted{font-size:13px;margin:10px 0}
.agenda-next-link{display:grid;grid-template-columns:minmax(0,1fr) 24px;gap:4px 10px;background:transparent;border:0;color:var(--ink);padding:6px 0;width:100%;min-height:64px;text-align:left}
.agenda-next-link>strong{font-size:22px;letter-spacing:-.4px;line-height:1.5;overflow-wrap:anywhere}
.agenda-next-link>span:not(.agenda-next-arrow){grid-column:1;font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.agenda-next-arrow{grid-column:2;grid-row:1/3;align-self:center;justify-self:end;font-size:22px}
.agenda-next-link:focus-visible{outline:3px solid #6688df;outline-offset:5px;border-radius:4px}
.personal-agenda .self-notice-entry{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;margin:18px 0;padding:0 0 18px;border-bottom:1px solid var(--line)}
.self-notice-main{min-height:48px;font-size:14px;padding:12px 18px;max-width:100%;white-space:normal}
.personal-agenda .self-notice-entry p{flex:1 1 200px;font-size:12px;margin:0;line-height:1.7}
.agenda-toolbar{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:10px 16px;margin:18px 0 12px}
.agenda-toolbar .agenda-filter{display:block;min-width:0;flex:0 1 240px;margin:0}
.agenda-toolbar .agenda-filter select{width:100%;margin:6px 0 0;font-size:16px;min-height:44px}
.agenda-toolbar>.text-button{min-height:44px;font-size:13px}
.personal-agenda .agenda-row{border-radius:10px;padding:15px 13px;margin:8px 0;min-width:0;gap:10px 16px}
.personal-agenda .agenda-row:has(.agenda-main){grid-template-columns:minmax(0,1fr)}
.personal-agenda .agenda-main{grid-template-columns:100px minmax(0,1fr) 26px;gap:14px;color:var(--ink)}
.personal-agenda .agenda-main:focus-visible{outline:3px solid #6688df;outline-offset:4px;border-radius:4px}
.personal-agenda .agenda-main strong{font-size:14px;line-height:1.7}
.personal-agenda .agenda-main small{font-size:12px;line-height:1.8}
.personal-agenda .agenda-date{font-size:13px;line-height:1.8;font-variant-numeric:tabular-nums}
.agenda-today{background:#edf5ff;border:1px solid #cfddf1!important;border-left:4px solid #315aca!important}
.agenda-today-label{display:block;width:fit-content;border-radius:5px;background:#294f9b;color:#fff;font-size:11px;font-weight:700;line-height:1.5;padding:2px 7px;margin-bottom:5px}
.agenda-state{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px}
.agenda-state:empty{display:none}
.agenda-row-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;padding-top:3px}
.agenda-row-actions button{min-height:44px;max-width:100%;white-space:normal;font-size:12px}
.personal-agenda #agenda-more{min-height:44px;margin-top:8px}
.home-board-entry{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:15px}
.home-board-entry>div{min-width:0;flex:1 1 210px}
.home-board-entry h2{font-size:18px;margin-bottom:5px}
.home-board-entry p{font-size:13px;color:var(--muted);margin:0}
.home-board-entry>button{min-height:44px}
@media(max-width:760px){.home-board-entry>div{flex:0 1 auto}}
.home-actions,.home-progress{padding:14px 22px}
.home-actions>summary,.home-progress>summary{min-height:44px;display:list-item;list-style-position:inside;cursor:pointer;font-size:14px;font-weight:700;padding:10px 0;overflow-wrap:anywhere}
.home-action-links{display:flex;flex-wrap:wrap;gap:10px;padding:14px 0 5px}
.home-action-links>*{min-height:44px;font-size:13px;max-width:100%;white-space:normal}
.home-progress .stats{margin:16px 0 5px;grid-template-columns:repeat(3,minmax(0,1fr))}
.home-sync{line-height:1.9}
.schedule-view-filters{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 18px}
.schedule-view-filters>label{flex:1 1 150px;min-width:0;font-size:12px}
.schedule-view-filters select{font-size:16px;margin:6px 0 0;min-height:44px}
.schedule-utilities{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.schedule-utilities>button{min-height:44px;max-width:100%;white-space:normal}
.session-teacher{font-size:12px;line-height:1.8;color:var(--muted);margin:0 0 10px}
.assignment-identity{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px}
.assignment-identity strong{min-width:0}
.assignment-meta{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px 6px}
.assignment-identity .assignment-meta small{margin:0;font-size:11px}
.assignment-identity .assignment-school{font-size:11px;line-height:1.5;padding:1px 6px}
.assignment-row.assignment-mine{background:#edf5ff;box-shadow:inset 3px 0 #315aca}
.assignment-row>span{min-width:0;flex-shrink:1;overflow-wrap:anywhere}
.assignment-row>div{min-width:0;flex-shrink:0;max-width:55%}
@media(max-width:620px){
 .personal-agenda{padding:18px 14px}
 .personal-agenda>.section-title>div{flex-basis:170px}
 .personal-agenda>.section-title h2{font-size:19px;line-height:1.7}
 .agenda-next-summary{gap:9px;margin:16px 0}
 .agenda-next-card{padding:12px}
 .agenda-next-link>strong{font-size:18px}
 .agenda-next-link{grid-template-columns:minmax(0,1fr);gap:4px;min-height:67px}
 .agenda-next-arrow{display:none}
 .agenda-next-card .eyebrow{font-size:10px;letter-spacing:0}
 .agenda-next-link>span:not(.agenda-next-arrow){font-size:11px}
 .personal-agenda .self-notice-entry{display:block}
 .personal-agenda .self-notice-main{width:100%;min-height:50px;font-size:15px}
 .personal-agenda .self-notice-entry p{margin-top:8px;text-align:center;font-size:11px}
 .agenda-toolbar .agenda-filter{flex:1 1 150px}
 .agenda-toolbar>.text-button{font-size:12px;padding:8px 2px}
 .personal-agenda .agenda-row{padding:13px 10px}
 .personal-agenda .agenda-main{grid-template-columns:72px minmax(0,1fr) 20px;gap:9px}
 .personal-agenda .agenda-main strong{font-size:13px}
 .personal-agenda .agenda-main small,.personal-agenda .agenda-date{font-size:11px}
 .agenda-row-actions{justify-content:stretch}
 .agenda-row-actions>button{flex:1 1 130px}
 .home-actions,.home-progress{padding:12px 16px}
 .home-progress .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .home-action-links>*{flex:1 1 170px}
 .schedule-view-filters{gap:10px}
 .schedule-view-filters>label{flex-basis:120px}
 .assignment-row{align-items:flex-start}
 .assignment-row small{display:block;margin:4px 0 0}
}
@media(max-width:359px){
 .agenda-next-summary{grid-template-columns:minmax(0,1fr)}
 .agenda-next-card{padding:12px 14px}
 .agenda-next-link{grid-template-columns:minmax(0,1fr) 24px;min-height:52px}
 .agenda-next-arrow{display:block}
 .personal-agenda .agenda-main{grid-template-columns:64px minmax(0,1fr);gap:9px}
 .personal-agenda .agenda-main>.calendar-mark{display:none}
}
.push-device-management{margin-top:22px;padding-top:14px;border-top:1px solid var(--line)}
.push-device-management>summary{min-height:44px;padding:10px 0;font-size:13px;cursor:pointer;list-style-position:inside;overflow-wrap:anywhere}
.push-device-management>summary:focus-visible{outline:3px solid #6688df;outline-offset:3px;border-radius:4px}
.push-device-management .button-row{margin:10px 0}

/* Whole training sessions can move together without a temporary empty slot. */
.slot-swap-dialog,.slot-swap-dialog form{min-width:0}
.slot-swap-dialog>p,.slot-swap-dialog label,.slot-swap-dialog small{overflow-wrap:anywhere}
.slot-swap-source{padding:15px 17px;margin:18px 0;border:1px solid var(--line);border-radius:12px;background:#f4f7fb;min-width:0;overflow-wrap:anywhere}
.slot-swap-source>strong{display:block;font-size:20px;margin:5px 0}
.slot-swap-source>strong>small{font-size:12px;font-weight:500}
.slot-swap-source>p{margin:6px 0 0;font-size:13px;line-height:1.8}
.slot-swap-filters{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.slot-swap-filters>label{margin:0;min-width:0;font-size:13px}
.slot-swap-filters select,.slot-swap-reason textarea{display:block;width:100%;min-width:0;max-width:100%;font-size:16px;min-height:44px;margin:7px 0 0}
.slot-swap-plan{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}
.slot-swap-plan:empty{display:none}
.slot-swap-move{min-width:0;padding:15px;border:1px solid #d6e5e0;border-radius:12px;background:#f6faf8;overflow-wrap:anywhere}
.slot-swap-move h3{font-size:19px;margin:0 0 13px}
.slot-swap-move h3 small{display:block;font-size:12px;font-weight:500;margin-top:4px;color:var(--muted)}
.slot-swap-move dl{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;margin:0}
.slot-swap-move dt{font-size:11px;color:var(--muted);margin-top:8px}
.slot-swap-move dt:first-child{margin-top:0}
.slot-swap-move dd{font-size:13px;margin:0;line-height:1.8;min-width:0}
.slot-swap-move dd small{display:block;color:var(--muted);font-size:11px;font-weight:400}
.slot-swap-move .slot-swap-destination{font-weight:700;color:var(--green)}
.slot-swap-move .slot-swap-pilots{font-size:12px;line-height:1.8;margin:14px 0 6px;padding-top:12px;border-top:1px solid #d6e5e0}
.slot-swap-credits{font-size:11px;line-height:1.8;padding-left:17px;margin:7px 0}
.slot-swap-reason{display:block;margin:18px 0;min-width:0;font-size:13px}
.slot-swap-reason>small{display:block;font-size:11px;line-height:1.8;margin-top:6px;font-weight:400}
.slot-swap-dialog .check-label{align-items:flex-start;min-height:44px;font-size:13px;line-height:1.8;gap:10px}
.slot-swap-dialog .check-label input{flex:0 0 20px;width:20px;height:20px;min-height:20px;margin-top:2px}
.slot-swap-dialog .check-label>span{min-width:0}
.slot-swap-dialog .check-label small{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:5px}
.slot-swap-dialog .dialog-actions>button{min-height:44px}
.slot-swap-review-reason{white-space:pre-wrap;overflow-wrap:anywhere;padding:12px 14px;background:#f4f7fb;border-radius:9px}
.session-card .slot-swap-entry{min-height:44px;white-space:normal}
.session-card .slot-swap-blocked{font-size:11px;line-height:1.8;margin:12px 0 4px;overflow-wrap:anywhere}
@media(max-width:620px){
 .slot-swap-plan{grid-template-columns:minmax(0,1fr)}
 .slot-swap-source,.slot-swap-move{padding:13px}
 .slot-swap-dialog>p{font-size:13px;line-height:1.8}
 .slot-swap-dialog .dialog-actions>button{flex:1 1 140px;font-size:13px}
}

/* Programmatic reading targets keep focus for screen readers without a browser
   outline. Interactive controls retain their keyboard focus-visible styles. */
#app[tabindex="-1"]:focus,
#app h1[tabindex="-1"]:focus,
#app h2[tabindex="-1"]:focus,
#confirmation #dialog-title[tabindex="-1"]:focus{outline:none}

/* Equipment notices and whole-session rescheduling share the existing type scale. */
.disruption-management{border-top:3px solid #799c91;background:linear-gradient(125deg,#f4f9f7,#fff 72%)}
.disruption-management .section-title p{max-width:52em;line-height:1.8}
.operation-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 12px}
.operation-actions>button{min-height:46px;white-space:normal}
.operation-actions .badge{margin-left:5px}
.operation-notices{display:grid;gap:12px;margin:16px 0 24px}
.operation-notice{min-width:0;overflow:hidden;border:1px solid #dce6e5;border-radius:15px;background:#fff;padding:0;overflow-wrap:anywhere;box-shadow:0 7px 24px #17343d06}
.operation-notice.operation-cancelled,.operation-notice.operation-resumed{border-color:#dce6e5;background:#fff}
.operation-notice-brand{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 21px;background:#102b35;color:#d4e7df;font-size:10px;letter-spacing:.14em;line-height:1.7}
.operation-notice-brand>span:last-child{font-size:18px;line-height:1}
.operation-notice-content{padding:21px}
.operation-notice-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.operation-status,.operation-transfer-status{display:inline-flex;align-items:center;gap:6px;padding:3px 9px;border-radius:5px;font-size:12px;font-weight:650;letter-spacing:.01em;line-height:1.7;color:#72551b;background:#f7eed8}
.operation-status::before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}
.operation-cancelled .operation-status{color:#954c45;background:#f8eeeb}.operation-resumed .operation-status,.operation-transfer-status{color:#315f51;background:#e1f0e8}
.operation-notice-date{margin-left:auto;font-size:12px;color:#5b707b;line-height:1.8}
.operation-notice .operation-notice-title{font-size:21px;font-weight:700;letter-spacing:-.02em;line-height:1.6;margin:17px 0 7px;color:#173143}
.operation-notice p{font-size:14px;line-height:1.85;margin:9px 0 0;white-space:pre-wrap}
.operation-notice .operation-reason{font-weight:400;font-size:13px;color:#5b707b;margin-top:0}
.operation-notice .operation-estimate{font-size:12px;color:#5b707b}
.operation-transfer-line{display:grid;grid-template-columns:1fr auto 1.6fr;align-items:center;gap:18px;background:#f2f7f5;border-radius:8px;padding:13px 17px;margin:17px 0 10px;color:#274b45}
.operation-transfer-line small{display:block;font-size:11px;color:#5b707b;line-height:1.7}.operation-transfer-line strong{display:block;font-size:17px;line-height:1.7}
.operation-notice-detail>summary{min-height:44px;align-content:center;font-size:13px;color:#42675f}
.operation-notice-detail .operation-instructions{padding-bottom:8px;font-size:13px}
.operation-instructions{font-size:13px}
.operation-notice-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:14px;padding-top:12px;border-top:1px solid #e0e9e6;color:#637780}
.operation-notice-footer>small{font-size:11px}.operation-notice-footer>button{min-height:40px;font-size:12px;padding:7px 0}
.operation-notice-footer>.text-button{color:#2d655b;font-weight:650}
.operation-notice-more>summary{padding:12px 2px;min-height:44px;cursor:pointer;font-size:13px}
.operation-notice-more>.operation-notice{margin-top:10px}
.operation-history{margin:18px 0 24px;min-width:0}.operation-history>.section-title>h3{font-size:15px}
.operation-history-card{padding:15px 17px;border:1px solid var(--line);border-radius:11px;background:#fafbfc;margin:10px 0;overflow-wrap:anywhere;min-width:0}
.operation-history-heading{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap}
.operation-history-card p{font-size:13px;line-height:1.8;margin:9px 0}.operation-history-card .small-text{font-size:12px}
.operation-history-card>.reschedule-entry{margin-top:10px;max-width:340px}
.operation-move-arrow{display:inline-block;margin:0 10px;color:var(--muted)}
.session-operation-status{display:flex;flex-direction:column;gap:5px;background:#f8f3e6;border:1px solid #e8d7ae;border-radius:8px;padding:11px 12px;font-size:12px;line-height:1.8;overflow-wrap:anywhere}
.session-operation-status.operation-cancelled{background:#fcf1ef;border-color:#ecd0cb}.session-operation-status strong{font-size:13px}
.hero-card .hero-operation-status{display:inline-block;font-size:12px;font-weight:600;line-height:1.7;border:1px solid #bad1c7;border-radius:7px;padding:6px 9px;margin:4px 0 8px;background:#fff9;color:#344c40}
.operation-held-note{line-height:1.8;color:#7c612b;background:#fbf6e9;border-radius:6px;padding:8px 10px}
.reschedule-entry{min-height:44px;white-space:normal}.reschedule-blocked{line-height:1.8;margin:12px 0;overflow-wrap:anywhere}
.disruption-dialog,.reschedule-dialog{min-width:0}.disruption-dialog p,.reschedule-dialog p{line-height:1.8;overflow-wrap:anywhere}
.disruption-dialog form,.reschedule-dialog form{min-width:0;margin-top:20px}
.disruption-dialog label,.reschedule-dialog label{display:block;font-size:13px;min-width:0;margin:15px 0}
.disruption-dialog label>small,.reschedule-dialog label>small{display:block;font-weight:400;color:var(--muted);font-size:11px;line-height:1.8;margin-top:6px}
.disruption-dialog input:not([type="checkbox"]),.disruption-dialog select,.disruption-dialog textarea,.reschedule-dialog select,.reschedule-dialog textarea{display:block;width:100%;max-width:100%;min-width:0;min-height:46px;margin-top:7px;font-size:16px}
.operation-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px;min-width:0}
.operation-form-grid>label{margin:8px 0}
.operation-help{font-size:12px;color:var(--muted);padding:10px 12px;border-radius:8px;background:#f5f7fa}
.operation-review-note{background:#f1f6f4;border:1px solid #d8e5df;padding:12px 14px;border-radius:9px;font-size:13px;line-height:1.9;overflow-wrap:anywhere}
.operation-slot-picker,.reschedule-source-picker,.reschedule-destination-picker,.reschedule-members{border:0;padding:0;margin:20px 0;min-width:0}
.operation-slot-picker>legend,.reschedule-dialog legend{font-size:14px;font-weight:700;padding:0;margin:0 0 10px}
.operation-step{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;margin-right:4px;border-radius:50%;background:#eaf1ee;color:#496b5e;font-size:12px}
#operation-slots,#reschedule-sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:310px;overflow-y:auto;overscroll-behavior:contain;padding:3px}
.disruption-dialog .operation-slot-option,.reschedule-dialog .operation-slot-option{display:flex;align-items:flex-start;gap:10px;margin:0;padding:12px;border:1px solid var(--line);border-radius:9px;background:#fff;min-width:0;cursor:pointer;min-height:66px}
.operation-slot-option:has(input:checked){border-color:#90b0a3;background:#f2f8f5}
.operation-slot-option>input{flex:0 0 18px;width:18px;height:18px;min-height:18px;margin:3px 0 0;accent-color:#476b5e}
.operation-slot-option>span{min-width:0;overflow-wrap:anywhere}.operation-slot-option strong{display:block;font-size:13px;line-height:1.7}.operation-slot-option small{display:block;font-size:11px;line-height:1.8;margin-top:3px;color:var(--muted)}
.reschedule-move{background:#f6f9f8;border:1px solid #d6e3dd;border-radius:12px;padding:16px;margin:12px 0;min-width:0;overflow-wrap:anywhere}
.reschedule-move-heading{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap}.reschedule-move-heading h3{font-size:19px;margin:0}.reschedule-move-heading h3>small{font-size:12px;font-weight:500;margin-left:5px}
.reschedule-members-preview{font-size:12px;color:var(--muted);max-height:110px;overflow-y:auto;overscroll-behavior:contain;margin:12px 0;padding-bottom:9px;border-bottom:1px solid #d6e3dd}
.reschedule-target-detail{font-size:12px;color:#3f6757;font-weight:600;margin:9px 0 0}
.reschedule-members .check-label{display:flex;align-items:flex-start;gap:10px;line-height:1.8;min-height:44px}
.reschedule-members .check-label input{flex:0 0 20px;width:20px;height:20px;min-height:20px;margin-top:2px;accent-color:#476b5e}
.reschedule-members .check-label span{min-width:0}.reschedule-members .check-label small{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:4px}
.disruption-dialog .dialog-actions,.reschedule-dialog .dialog-actions{gap:10px}.disruption-dialog .dialog-actions>button,.reschedule-dialog .dialog-actions>button{min-height:46px;white-space:normal}
@media(max-width:620px){
 .operation-actions>button{flex:1 1 200px}.operation-notice{padding:0}.operation-notice-content{padding:18px 16px}.operation-notice-brand{padding:11px 16px}.operation-notice-top{gap:7px}.operation-notice-date{flex-basis:100%;margin-left:0;margin-top:5px}.operation-notice .operation-notice-title{font-size:19px;margin-top:14px}.operation-transfer-line{gap:12px;padding:12px}.operation-transfer-line strong{font-size:16px}
 .operation-history-card{padding:13px}.operation-move-arrow{display:block;margin:3px 0;transform:rotate(90deg);width:20px;text-align:center}
 .operation-form-grid{grid-template-columns:minmax(0,1fr);gap:0}.disruption-dialog>p,.reschedule-dialog>p{font-size:13px}
 #operation-slots,#reschedule-sources{grid-template-columns:minmax(0,1fr);max-height:285px}
 .reschedule-move{padding:12px}.reschedule-move-heading h3{font-size:17px}
 .disruption-dialog .dialog-actions>button,.reschedule-dialog .dialog-actions>button{flex:1 1 145px;font-size:13px}
}
@media(prefers-reduced-motion:reduce){.operation-notice,.reschedule-move{scroll-behavior:auto}}
.disruption-dialog [hidden],.reschedule-dialog [hidden]{display:none!important}
.makeup-case .section-title{align-items:flex-start;gap:12px;margin-bottom:10px}.makeup-case .section-title>div{min-width:0}.makeup-case .makeup-case-kind{margin:0 0 6px;font-size:11px;font-weight:600;color:#58706e;line-height:1.8}.makeup-case .makeup-origin{font-size:12px;color:#607380;margin:0 0 14px;line-height:1.8}.makeup-case h3{font-size:18px;line-height:1.6;margin:0}.makeup-case-actions{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0 4px}.makeup-case-actions>button{white-space:normal}.makeup-candidate-note{font-size:12px;color:#4e6b63;margin:15px 0 6px}.makeup-options .makeup-option{display:flex;justify-content:space-between;align-items:center;gap:14px;border-top:1px solid #e5ebe9;padding:14px 0}.makeup-option>span{min-width:0}.makeup-option strong{display:block;font-size:14px;line-height:1.8;margin-top:5px}.makeup-option small{display:block;color:#657780;font-size:11px;line-height:1.8;margin-top:4px}.makeup-option button{flex:0 0 auto}.makeup-more>summary,.makeup-archive>summary{min-height:44px;padding:11px 0;font-size:13px;color:#3c625c;align-content:center}.makeup-empty{background:#f3f7f6;border-radius:9px;padding:15px;margin-top:13px}.makeup-empty>strong{font-size:14px;color:#244b47}.makeup-empty>p{font-size:13px;line-height:1.85;margin:7px 0 12px}.makeup-overview{font-size:13px;line-height:1.9;margin:0 0 7px;color:#355b55}.makeup-overview>span{color:#899b9d;margin:0 5px}.makeup-archive{margin:22px 0}.makeup-archive>.case-list{margin-top:12px}.makeup-diagnosis{list-style:none;padding:0;margin:16px 0}.makeup-diagnosis li{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #e0e8e6;font-size:13px;line-height:1.8}.makeup-diagnosis li>span{white-space:nowrap;color:#607580}.makeup-recovery-actions{display:flex;flex-direction:column;gap:10px;margin:22px 0}.makeup-recovery-actions>button{width:100%;white-space:normal}.makeup-recovery h3{font-size:16px;line-height:1.7;margin-top:22px}.makeup-recovery hr{border:0;border-top:1px solid #dfe8e5;margin:24px 0}
@media(max-width:480px){.makeup-options .makeup-option{align-items:flex-start;flex-wrap:wrap;gap:9px}.makeup-option>span{flex:1 1 100%}.makeup-option button{margin-left:auto;min-height:42px}.makeup-case-actions>button{flex:1 1 145px}.makeup-diagnosis li{font-size:12px}.makeup-case .section-title .badge{flex-shrink:0}.operation-transfer-line{grid-template-columns:1fr auto 1.65fr}}
.buddy-filter-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;margin:20px 0 10px}.buddy-filter-grid label,.today-observer-choice{display:flex;flex-direction:column;gap:7px;min-width:0}.buddy-filter-grid input,.buddy-filter-grid select,.today-observer-choice select{width:100%;min-width:0}.today-observer-choice{margin:18px 0}.today-observer-choice small{font-weight:400;color:var(--muted);line-height:1.65}.attendance-plan-note{margin:12px 0;padding:12px 14px;border-left:3px solid #819e99;background:#f3f7f6;border-radius:0 10px 10px 0;font-size:.88rem;line-height:1.7}.trainee-choice input:disabled+span,.trainee-credit select:disabled{opacity:.72}@media(max-width:560px){.buddy-filter-grid{grid-template-columns:minmax(0,1fr);gap:10px}}

/* Consolidation keeps the destination visible before individual HOP choices. */
.merge-dialog{max-width:100%;min-width:0}.merge-period{min-width:0;border:1px solid var(--line,#dce3eb);border-radius:16px;padding:18px;margin:20px 0}.merge-period legend{font-weight:700;padding:0 8px;color:var(--navy,#172d43)}.merge-current{background:var(--soft,#f4f7fb);border-radius:12px;padding:14px;margin-bottom:12px;overflow-wrap:anywhere}.merge-current strong{display:block;margin-top:8px}.merge-current p{margin:6px 0}.merge-choice{display:flex;align-items:flex-start;gap:12px;padding:14px 4px;border-top:1px solid var(--line,#dce3eb);cursor:pointer;overflow-wrap:anywhere}.merge-choice>input{flex:0 0 auto;margin-top:5px}.merge-choice>span{min-width:0}.merge-choice strong,.merge-choice small{display:block}.merge-choice small{margin-top:5px;color:var(--muted,#5f6f7f)}.merge-confirmations{display:grid;gap:16px}.merge-confirmations .check-label{align-items:flex-start}.merge-confirmations small{display:block;margin-top:5px;font-weight:400}.merge-choice.unavailable{cursor:default;opacity:.7}@media(max-width:420px){.merge-period{padding:12px}.merge-current{padding:12px}}

/* Keep every disclosure trigger in its own strip, above the selected panel. */
.schedule-action-group { min-width: 0; }
.session-actions { margin-top: 16px; }
.operation-toolbar { margin: 20px 0; }
.schedule-action-row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
.schedule-action-row > button {
  flex: 1 1 6.5em; min-width: 0; min-height: 46px; margin: 0; padding: 10px 12px;
  border: 1px solid var(--line, #dce5e3); border-radius: 10px;
  background: #f8fbfa; color: var(--ink, #17343d); font-size: 13px;
  font-weight: 650; line-height: 1.55; white-space: normal; overflow-wrap: anywhere;
}
.schedule-action-row .schedule-action-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left;
}
.schedule-action-toggle::after {
  content: ""; flex: none; width: 8px; height: 8px;
  margin: 0 2px 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.schedule-action-toggle[aria-expanded="true"] { border-color: #749b8e; background: #e3eee8; }
.schedule-action-toggle[aria-expanded="true"]::after { margin-block: 4px 0; transform: rotate(225deg); }
.schedule-action-group button:focus-visible { outline: 3px solid #376d63; outline-offset: 2px; }
.schedule-action-group .session-action-options {
  display: grid; gap: 8px; margin-top: 8px; padding: 12px; min-width: 0;
  border: 1px solid #adbfba; border-radius: 10px; background: #fff;
}
.schedule-action-group .session-action-options[hidden] { display: none; }
.session-action-options > button, .session-card .session-action-options button {
  width: 100%; min-height: 44px; margin: 0; padding: 9px 12px; white-space: normal;
  overflow-wrap: anywhere; font-size: 13px; line-height: 1.6;
}
.session-action-options > .schedule-action-close, .session-card .session-action-options > .schedule-action-close {
  justify-self: end; width: auto; border: 0; border-radius: 6px;
  background: transparent; color: var(--muted, #52656b); text-decoration: underline;
  text-underline-offset: 3px;
}
/* Adjacent cards share a content row and a trigger row. Opening the third row
   leaves the triggers aligned even when the observer lists differ in length. */
@supports (grid-template-rows: subgrid) {
  .schedule-layout .session-grid > .session-card {
    display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0;
  }
  .schedule-layout .session-card-content { grid-row: 1; min-width: 0; }
  .schedule-layout .session-card > .schedule-action-group {
    display: grid; grid-row: 2 / span 2; grid-template-rows: subgrid; row-gap: 0;
  }
  .schedule-layout .session-actions .schedule-action-row { grid-row: 1; }
  .schedule-layout .session-actions .session-action-options { grid-row: 2; }
}
.admin-section{border:1px solid var(--line,#dce5e3);border-radius:16px;margin:20px 0;background:#f8fbfa;overflow:visible}
.admin-section>summary{padding:18px 20px;min-height:54px;cursor:pointer;color:var(--ink,#17343d)}
.admin-section>summary>strong{font-size:15px;margin-right:10px}.admin-section>summary>span{font-size:12px;color:var(--muted);display:inline-block;line-height:1.8}
.admin-section>div{padding:0 12px 4px}.admin-section .panel{margin:10px 0}
.admin-section>section.panel{margin:0 12px 12px}.management-start .button-row{gap:10px}.management-start .button-row>button{min-height:46px;white-space:normal}
.review-conflict{margin-bottom:20px}.review-conflict>p{margin:0 0 12px;line-height:1.8}
@media(max-width:620px){.operation-toolbar .schedule-action-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.operation-toolbar .schedule-status-button{grid-column:1/-1}.admin-section>summary{padding:16px}.admin-section>summary>span{display:block;margin-top:5px}.management-start .button-row>button{width:100%}}

/* 2.37.6 local alignment repair: only the existing attendance date/period pair.
   Preserve columns, 14px gap, colors, labels and native picker/select behavior. */
.attendance-target{align-items:start}
.attendance-target :is(#attendance-date,#attendance-period){box-sizing:border-box;min-width:0;max-width:100%;width:100%;font-size:16px;line-height:1.5;min-height:56px;height:max(56px,calc(1.5em + 32px));margin-bottom:0}

/* 2.37.6 event editor only: align native date/time and selection controls. */
#event-editor .form-grid :is(input,select){box-sizing:border-box;font-size:16px;line-height:1.5;min-height:56px;height:max(56px,calc(1.5em + 32px))}

/* 2.37.6 attendance primary filters only: align group and person search. */
.attendance-tools>.attendance-tools-filters{align-items:start}
.attendance-tools>.attendance-tools-filters :is([data-attendance-group],[data-attendance-search]){box-sizing:border-box;font-size:16px;line-height:1.5;min-height:56px;height:max(56px,calc(1.5em + 32px))}

#session-editor .mixed-participants{margin:16px 0 22px;border:1px solid var(--line);border-radius:12px;padding:12px 16px}
.mixed-participants legend{padding:0 5px;font-size:14px;font-weight:700;color:var(--navy)}
.mixed-participants .small-text{margin:6px 0 14px}
#supplemental-members{padding:0;list-style:none}
#supplemental-members li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid var(--line)}
#supplemental-members li strong{overflow-wrap:anywhere}

/* A local, silent flypast inside the home greeting on the user's birthday. */
.page-heading.birthday-home {
  isolation:isolate; position:relative; overflow:hidden;
  display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-content:center;
  align-items:start; gap:0 6px; min-height:164px; padding:14px clamp(16px,3vw,30px) 26px;
  border-radius:18px; color:#192d47; background:#dceaf2;
}
.birthday-home .birthday-sky {
  position:absolute; inset:0; pointer-events:none; z-index:-1; overflow:hidden;
  background:
    radial-gradient(circle at 11% 86%,#fffae0 0 4px,#ffeac6 5px,transparent 13px),
    radial-gradient(ellipse at 10% 100%,#ffe9be 0%,transparent 39%),
    linear-gradient(172deg,#9ccbeb 0%,#d0e5f2 40%,#fae0d0 78%,#edbdad 100%);
}
.birthday-ridges { position:absolute; bottom:0; left:0; width:100%; height:24%; opacity:.72; }
.birthday-trail { position:absolute; right:12%; top:51%; width:34%; height:31%; opacity:.5; }
.birthday-plane {
  position:absolute; width:clamp(52px,12%,108px); height:auto; right:6%; top:41%;
  transform:rotate(-9deg); transform-origin:center;
}
.birthday-home.birthday-flying .birthday-plane { animation:mb-birthday-fly 2200ms ease-out both; animation-delay:var(--birthday-flight-delay,0ms); }
@keyframes mb-birthday-fly {
  0% { opacity:0; transform:translate(-90%,56%) scale(.65) rotate(-12deg); }
  18% { opacity:1; }
  100% { opacity:1; transform:translate(0,0) scale(1) rotate(-9deg); }
}
.birthday-home > div:first-child { grid-column:1 / -1; grid-row:2; width:78%; align-self:center; margin-top:3px; }
.birthday-home .eyebrow { display:none; }
.page-heading.birthday-home h1 { font-size:clamp(20px,3.1vw,34px); line-height:1.25; letter-spacing:.005em; color:#192d47; }
.page-heading.birthday-home h1 > span { display:block; overflow-wrap:anywhere; }
.page-heading.birthday-home p:not(.eyebrow) { font-size:12px; color:#364961; margin-top:6px; }
.page-heading.birthday-home > button.small {
  grid-row:1; min-height:38px; padding:6px 12px; border-radius:100px; justify-self:end;
  border:1px solid #7d94a7; background:#fff; color:#253d55;
}
.page-heading.birthday-home > [data-action="refresh"] { grid-column:3; }
.page-heading.birthday-home > .birthday-skip { grid-column:2; }
.birthday-home .birthday-skip[hidden] { display:none; }
@media(max-width:600px) {
  .page-heading.birthday-home { min-height:158px; padding:9px 14px 23px; }
  .page-heading.birthday-home > button.small { min-height:42px; }
  .birthday-home .birthday-plane { right:4%; top:49%; }
  .birthday-home .birthday-trail { top:57%; }
}
@media(prefers-reduced-motion:reduce) { .birthday-home.birthday-flying .birthday-plane { animation:none; } }

/* The home greeting keeps its original text and a single horoscope entry. */
.home-heading-meta {
  display:flex; align-items:center; flex-wrap:wrap; gap:0 16px;
  color:var(--muted); font-size:12px;
}
.page-heading .home-heading-meta > p:not(.eyebrow) { margin:0; }
.home-heading-meta #daily-horoscope { max-width:100%; }
.home-heading-meta [data-action="daily-horoscope"] {
  display:inline-flex; align-items:center; justify-content:flex-start; gap:6px;
  min-height:44px; max-width:100%; padding:4px 3px; border:0; border-radius:5px;
  background:transparent; color:var(--ink); font-size:13px; line-height:1.5; font-weight:650;
  text-align:left; overflow-wrap:anywhere;
}
.home-heading-meta [data-action="daily-horoscope"]:hover { text-decoration:underline; text-underline-offset:3px; }
.birthday-home .home-heading-meta, .birthday-home .home-heading-meta button { color:#30485a; }
@media(min-width:621px) and (pointer:fine) {
  .home-heading-meta [data-action="daily-horoscope"] { min-height:24px; padding-block:2px; }
}
@media(max-width:620px) {
  .home-heading-meta { flex-direction:column; align-items:flex-start; margin-top:5px; }
  .home-heading-meta [data-action="daily-horoscope"] { padding-inline-start:0; }
}

#horoscope-dialog {
  --horoscope-paper:#fffefb; --horoscope-ink:#19364b; --horoscope-sub:#526876;
  --horoscope-gold:#986526; --horoscope-wash:#edf3ef; --horoscope-field:#fffefd;
  --horoscope-edge:#b0c0c6;
  width:min(680px,calc(100% - 24px)); max-width:100%;
  max-height:88vh; max-height:88dvh; margin:auto; padding:0; border:0; border-radius:19px;
  background:linear-gradient(to bottom,#0a162a 50%,var(--horoscope-paper) 50%);
  color:var(--horoscope-ink); overflow:auto;
  scrollbar-width:none;
  box-shadow:0 18px 60px #0a1a3052; overscroll-behavior:none;
}
#horoscope-body { background:var(--horoscope-paper); }
.horoscope-flyby {
  position:relative; overflow:hidden; height:0; pointer-events:none; overflow-anchor:none;
  background:radial-gradient(ellipse at 66% 65%,#16354b,transparent 63%),#0a162a;
  transition:height 180ms ease-out;
}
.horoscope-flyby svg {
  position:absolute; bottom:0; left:50%; transform:translateX(-50%);
  width:min(100%,420px); height:76px;
}
.horoscope-flyby.is-pulling { transition:none; }
@media(prefers-reduced-motion:reduce) { .horoscope-flyby { transition:none; } }
#horoscope-dialog::-webkit-scrollbar { display:none; }
#horoscope-dialog::backdrop { background:#0715259c; }
#horoscope-dialog button:focus-visible, #horoscope-dialog summary:focus-visible, #horoscope-dialog select:focus-visible {
  outline:3px solid #619ce0; outline-offset:2px;
}
#horoscope-dialog .horoscope-sky {
  position:relative; isolation:isolate; overflow:hidden; color:#fcf7e7;
  background:radial-gradient(ellipse at 84% 108%,#b6957d 0%,#697d8a 16%,transparent 51%),
    radial-gradient(ellipse at 25% 120%,#3e7180,transparent 58%),
    linear-gradient(134deg,#0a162a,#132d48 67%,#26485d);
}
.horoscope-sky::before, .horoscope-sky::after, .horoscope-chart {
  position:absolute; pointer-events:none; z-index:-1;
}
.horoscope-sky::before {
  content:""; inset:0; opacity:.75;
  background-image:
    radial-gradient(1.25px 1.25px at 16px 21px,#fffae6 65%,transparent),
    radial-gradient(1px 1px at 42px 38px,#f6faf7 65%,transparent),
    radial-gradient(1px 1px at 74px 70px,#aebed1 65%,transparent),
    radial-gradient(1.6px 1.6px at 104px 11px,#f6ede0 65%,transparent);
  background-size:117px 71px,89px 103px,139px 83px,221px 137px;
}
.horoscope-sky::after {
  content:""; inset:auto 0 0; height:24px; background:#293f50; opacity:.72;
  clip-path:polygon(0 91%,8% 78%,15% 88%,29% 61%,37% 76%,52% 92%,61% 67%,72% 73%,83% 22%,90% 43%,96% 29%,100% 38%,100% 100%,0 100%);
}
.horoscope-chart { right:2%; top:22%; width:46%; height:59%; }
.horoscope-chart path { fill:none; stroke:#c2dae1; stroke-width:1.2; }
.horoscope-star { fill:#e8eeda; }
.horoscope-star-bright { fill:#ffd29b; }
.horoscope-star-glow { fill:#ffce8e; opacity:.22; }
.horoscope-streak {
  position:absolute; pointer-events:none; z-index:-1; top:8%; right:0;
  width:24%; height:2px; opacity:0; transform:rotate(-18deg);
  background:linear-gradient(90deg,transparent,#fff2cc);
}
.horoscope-streak::after {
  content:""; position:absolute; right:0; top:-1px; width:4px; height:4px;
  border-radius:50%; background:#fff8dc; box-shadow:0 0 8px #fff8dc;
}
.horoscope-sky-nav {
  display:flex; align-items:center; justify-content:space-between; gap:8px;
  padding:10px clamp(16px,4.5vw,36px) 0; color:#e1e9ec; font-size:12px;
}
.horoscope-sky-nav strong { color:#fffaf0; font-size:15px; letter-spacing:-.02em; }
#horoscope-dialog .horoscope-sky-nav button, #horoscope-dialog .horoscope-replay {
  min-height:44px; border:0; color:#fffaf0; font-weight:600;
}
#horoscope-dialog .horoscope-sky-nav button { padding:4px 3px; background:transparent; font-size:13px; }
.horoscope-mast { padding:10px clamp(20px,5.5vw,41px) 38px; }
#horoscope-dialog .horoscope-mast h2 {
  color:#fff8e7; font-family:Georgia,"Hiragino Mincho ProN","Yu Mincho",serif;
  font-size:clamp(31px,5.3vw,42px); line-height:1.35; margin:2px 0 0; letter-spacing:.025em;
}
#horoscope-dialog .horoscope-date, #horoscope-dialog .horoscope-relative {
  color:#dbe5eb; font-size:13px; margin:0;
}
#horoscope-dialog .horoscope-relative { margin:11px 0 -2px; }
#horoscope-dialog .horoscope-position { margin:0; color:#ffdd9f; line-height:1; transform-origin:bottom left; }
.horoscope-position b { font:normal clamp(72px,13vw,96px)/1 Georgia,serif; letter-spacing:-.045em; }
.horoscope-position span { font:bold 24px/1 "Hiragino Mincho ProN",serif; margin-left:6px; }
#horoscope-dialog .horoscope-replay {
  position:absolute; bottom:13px; right:clamp(15px,4vw,34px);
  padding:4px 13px; border-radius:24px; font-size:12px; background:#203649e8;
}
.horoscope-playing .horoscope-streak { animation:horoscope-streak 750ms ease-out both; }
.horoscope-playing .horoscope-chart path { stroke-dasharray:1; animation:horoscope-trace 850ms ease-out both; }
.horoscope-playing .horoscope-position { animation:horoscope-rank 550ms 450ms cubic-bezier(.17,.76,.24,1) both; }
@keyframes horoscope-streak {
  0% { transform:translate(-410%,6000%) rotate(-18deg); opacity:0; }
  24% { opacity:1; }
  100% { transform:translate(15%,0) rotate(-18deg); opacity:0; }
}
@keyframes horoscope-trace { from { stroke-dashoffset:1; } to { stroke-dashoffset:0; } }
@keyframes horoscope-rank { from { opacity:0; transform:translateY(8px) scale(.87); } to { opacity:1; transform:none; } }
@media(prefers-reduced-motion:reduce) {
  .horoscope-playing :is(.horoscope-streak,.horoscope-chart path,.horoscope-position) { animation:none; }
}
.horoscope-copy { padding:clamp(18px,4.5vw,31px) clamp(17px,5vw,38px) 12px; }
.horoscope-categories { display:grid; grid-template-columns:minmax(0,1fr); gap:23px 27px; }
.horoscope-category h3 {
  display:flex; align-items:center; flex-wrap:wrap; gap:6px 9px; margin:0;
  color:var(--horoscope-ink); font-size:17px; line-height:1.6;
}
.horoscope-stars { font-size:14px; color:var(--horoscope-gold); letter-spacing:.06em; white-space:nowrap; }
#horoscope-dialog .horoscope-category p { margin:7px 0 0; font-size:15px; line-height:1.87; line-break:strict; }
.horoscope-category h3 svg { width:18px; height:18px; color:var(--horoscope-sub); }
.horoscope-item {
  margin:22px 0 7px; padding:14px 17px; border-radius:12px;
  color:var(--horoscope-ink); background:var(--horoscope-wash);
}
.horoscope-item small { display:block; color:var(--horoscope-sub); font-size:12px; }
.horoscope-item strong { display:block; font-size:17px; }
#horoscope-dialog .horoscope-item p { margin:4px 0 0; font-size:14px; line-height:1.75; }
.horoscope-rankings summary {
  min-height:44px; padding:12px 0; font-size:14px; font-weight:650; cursor:pointer;
}
.horoscope-rankings ol {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px 8px;
  padding:0; margin:0 0 9px; list-style:none;
}
.horoscope-rankings li { padding:6px 8px; border-radius:6px; font-size:13px; }
.horoscope-rankings li :is(b,strong) { display:inline-block; min-width:2.75em; font-variant-numeric:tabular-nums; }
.horoscope-rankings [aria-current="true"] { font-weight:700; background:var(--horoscope-wash); }
.horoscope-choose { display:flex; align-items:center; flex-wrap:wrap; gap:4px 10px; padding:4px 0 10px; }
.horoscope-end { display:flex; justify-content:flex-end; margin-top:4px; }
#horoscope-dialog .horoscope-end button {
  min-height:44px; padding:6px 12px; color:var(--horoscope-ink);
  background:var(--horoscope-field); border-color:var(--horoscope-edge);
}
#horoscope-dialog .horoscope-announcement {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip-path:inset(50%); white-space:nowrap;
}
#horoscope-dialog .horoscope-choose label { margin:0; color:var(--horoscope-sub); font-size:13px; }
#horoscope-dialog #horoscope-sign {
  width:min(100%,15rem); min-width:0; max-width:100%; min-height:44px; margin:0;
  border:1px solid var(--horoscope-edge); border-radius:8px; padding:6px 10px;
  color:var(--horoscope-ink); background-color:var(--horoscope-field); font-size:16px;
}
.horoscope-empty {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:17px clamp(17px,5vw,38px) 0;
}
#horoscope-dialog .horoscope-empty h2 { margin:0; color:var(--horoscope-ink); }
#horoscope-dialog .horoscope-empty button {
  min-height:44px; background:var(--horoscope-field);
  color:var(--horoscope-ink); border-color:var(--horoscope-edge);
}
@media(min-width:630px) { .horoscope-categories { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(prefers-color-scheme:dark) {
  #horoscope-dialog {
    color-scheme:dark; --horoscope-paper:#192936; --horoscope-ink:#e8eff2; --horoscope-sub:#c4d0d5;
    --horoscope-gold:#edc785; --horoscope-wash:#273e42; --horoscope-field:#20323e; --horoscope-edge:#677e89;
  }
}
