@import url("https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;600;700;800&display=swap");
*{box-sizing:border-box}body{margin:0;background:#f6f7f9;color:#243043;font-family:"M PLUS Rounded 1c","Hiragino Maru Gothic ProN","Hiragino Sans",Meiryo,sans-serif;font-size:14px}aside{position:fixed;width:238px;height:100vh;background:#142437;color:#fff;padding:32px 22px;display:flex;flex-direction:column}.brand{font-size:22px;letter-spacing:1px;color:#f5ad78;font-weight:700}.brand small{display:block;font-size:10px;letter-spacing:0;color:#b2c0d0;margin:12px 0 35px}nav button{display:block;background:none;border:0;color:#bac5d1;padding:14px 16px;text-align:left;width:100%;margin:5px 0;font-size:14px}nav button.active{background:#304051;color:white;border-left:3px solid #f59759;border-radius:7px}.asidefoot{margin-top:auto;font-size:11px;color:#9eafc1}main{margin-left:238px;padding:0 40px 24px;max-width:1600px}header{height:78px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e0e5eb;color:#697487}header label{font-size:12px}.notice{font-size:11px;background:#fff1de;color:#88612c;padding:11px 15px;border-radius:7px;margin:20px 0 27px}h1{font-size:29px;margin:8px 0;letter-spacing:-1px}h2{font-size:18px;margin:0 0 18px}h3{font-size:15px;margin:8px 0}.muted{color:#7b8593;font-size:13px}.eyebrow{font-size:11px;color:#ae6c39;font-weight:700;letter-spacing:2px}.top{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;gap:16px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:24px}.card,.panel{background:white;border:1px solid #e4e8ee;border-radius:13px;padding:23px}.card strong{display:block;font-size:31px;margin:12px 0 3px}.card small{color:#8a93a0}.columns{display:grid;grid-template-columns:1.6fr 1fr;gap:22px}.panel{margin-bottom:20px}.hero{background:#21394a;color:white;position:relative;overflow:hidden}.hero:after{content:'◉';font-size:210px;position:absolute;right:-15px;top:-37px;color:#ffffff09;pointer-events:none}.hero .muted{color:#bbcad3}.hero h2{font-size:25px;margin:13px 0}.pill{display:inline-block;background:#eaf3ef;color:#34836d;padding:5px 10px;border-radius:20px;font-size:11px}.orange{background:#fff0e4;color:#b5652f}.row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 0;border-bottom:1px solid #eff1f4}.row:last-child{border-bottom:0}.avatar{background:#edf0f5;width:38px;height:38px;border-radius:50%;display:inline-grid;place-items:center;margin-right:12px;font-weight:600;color:#667385}.identity{display:flex;align-items:center}button{cursor:pointer;border:0;border-radius:7px;padding:11px 17px;background:#e78545;color:white;font-weight:600;font-family:inherit}button:hover{filter:brightness(.96)}button.sub{background:#f0f3f6;color:#445469}button.danger{background:#fff0ec;color:#a94432}button.small{padding:7px 11px;font-size:12px}.choice{display:flex;gap:5px;flex-wrap:wrap}.choice button{background:#f0f3f6;color:#76818b;padding:8px 12px}.choice button.selected{background:#dcefe7;color:#227256;box-shadow:inset 0 0 0 1px #7cbca1}input,select,textarea{padding:10px;border:1px solid #d9dfe6;border-radius:6px;background:white;color:#344355;font:inherit;max-width:100%}label.field{display:block;margin-bottom:16px}label.field input,label.field select,label.field textarea{width:100%;margin-top:7px}table{width:100%;border-collapse:collapse;font-size:13px}th{text-align:left;color:#84909e;font-size:11px;font-weight:500;background:#f8f9fb}td,th{padding:15px 12px;border-bottom:1px solid #ebeff3}td small{display:block;color:#8a94a1;margin-top:4px}.scroll{overflow:auto}.tools{display:flex;gap:10px;margin-bottom:20px;flex-wrap:wrap}.empty{padding:30px;text-align:center;color:#8590a0}dialog{border:0;border-radius:15px;padding:27px;width:480px;max-width:92vw;box-shadow:0 30px 90px #0003}dialog::backdrop{background:#16263788}dialog .sub{margin-top:15px}footer{font-size:11px;color:#8a94a2;margin-top:30px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#243c4d;color:white;padding:14px 24px;border-radius:9px;display:none;z-index:10}.progress{background:#edf1f4;height:8px;border-radius:5px;overflow:hidden;margin:15px 0}.progress div{height:100%;background:#75ad98}.checkitem{display:flex;gap:12px;padding:12px 0;line-height:1.7}.checkitem input{accent-color:#478b70}@media(max-width:900px){aside{width:190px;padding:25px 14px}main{margin-left:190px;padding:0 20px}.columns{grid-template-columns:1fr}.cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){aside{position:static;width:100%;height:auto;padding:15px}.brand{font-size:18px}.brand small,.asidefoot{display:none}nav{display:flex;overflow:auto;margin-top:10px}nav button{white-space:nowrap;width:auto;padding:10px;flex-shrink:0;font-size:12px}nav button.active{border-left:0;border-bottom:2px solid #ef9960}main{margin:0;padding:0 16px}header{height:62px;font-size:12px}.notice{margin:15px 0;font-size:10px}.top{align-items:flex-start}h1{font-size:24px}.card,.panel{padding:18px}.card strong{font-size:26px}.row{flex-wrap:wrap}.cards{gap:10px}.top>button{white-space:nowrap;font-size:12px}td,th{padding:13px 8px}}
/* Distinct state colors, with text and marks as redundant cues. */
.pill.state-green{background:#dff2e7;color:#19613f}.pill.state-red{background:#ffe1e1;color:#a22632}.pill.state-amber{background:#fff0c6;color:#855c00}.pill.state-blue{background:#deedff;color:#235a99}.pill.state-gray{background:#edf0f4;color:#626c79}.choice button.state-green{background:#e7f5ec;color:#1c6944;border:1px solid #99cdb0}.choice button.state-red{background:#ffeded;color:#ad303b;border:1px solid #e9a5ae}.choice button.state-amber{background:#fff6da;color:#856100;border:1px solid #ddc87e}.choice button.state-blue{background:#e9f2ff;color:#28609f;border:1px solid #9bbfe7}.choice button.selected{box-shadow:none;outline:2px solid currentColor;outline-offset:2px;margin:0 3px}.choice button.state-green.selected{background:#20764d;color:#fff;outline-color:#20764d}.choice button.state-red.selected{background:#c03546;color:#fff;outline-color:#c03546}.choice button.state-amber.selected{background:#ad7900;color:#fff;outline-color:#ad7900}.choice button.state-blue.selected{background:#306db3;color:#fff;outline-color:#306db3}.choice{gap:9px}.choice button:disabled{opacity:.5;cursor:not-allowed}.face{object-fit:cover;flex-shrink:0}.avatar.large{width:84px;height:84px;font-size:20px;border-radius:16px}.clubtag{display:inline-block;color:#805623;background:#fff2dc;border-radius:5px;padding:3px 8px;font-size:12px;margin-top:4px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.photoedit{display:flex;gap:15px;align-items:flex-start;margin-bottom:22px}.photoedit input{width:100%;font-size:11px}.photoedit>div:last-child{min-width:0}.photoedit .field{margin-bottom:8px}.monthbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px;flex-wrap:wrap}.monthbar .tools{margin-bottom:0;align-items:center}.schedulelayout{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}.schedulelayout>.panel{margin-bottom:0}.schedule{min-width:690px}.schedule td{vertical-align:top}.timepair{display:flex;align-items:center;gap:4px}.timepair input{padding:7px 3px;font-size:12px;width:96px}.dutyslots{display:flex;flex-direction:column;gap:7px}.dutyselect{font-size:12px;min-width:175px;max-width:230px;padding:8px}.schedule td:last-child button{display:block;margin-bottom:8px}.dutywarning{color:#9b6a13!important}.cancelled{background:#faf7f7}.cancelled td:first-child b{text-decoration:line-through}.legacy{color:#a36b16}.countnumber{font-size:20px;color:#2b6a55}.dutycounts td small{max-width:250px}.dutylabels{display:flex;gap:6px;flex-wrap:wrap}.mine-duty{background:#e88540!important;color:white!important}.guardianoptions{max-height:230px;overflow:auto;border:1px solid #e5e8ee;border-radius:8px;padding:8px 13px;margin-bottom:20px}.guardianoptions small{display:block}.guardianoptions b{font-size:11px;color:#a3662f}.weekchoices{display:flex;gap:12px;margin:18px 0;flex-wrap:wrap}.weekchoices input{accent-color:#2e7855}.top>.tools{margin:0;justify-content:flex-end}.schedulelayout+.panel{margin-top:20px}button:disabled{cursor:wait;opacity:.5}@media(min-width:1450px){main{max-width:none}.schedulelayout{grid-template-columns:minmax(650px,1fr) 330px}}@media(max-width:620px){.top{flex-wrap:wrap}.monthbar{align-items:flex-start}.schedulelayout{gap:16px}.photoedit{flex-wrap:wrap}.schedule{min-width:640px}.schedulelayout .panel{padding:12px}.choice{gap:7px}.choice button{padding:9px 10px}.monthbar input{width:150px}}@media print{aside,header,.notice,footer,.noprint,.monthbar button,.top>.tools,.dutycounts button{display:none!important}main{margin:0;padding:0;max-width:none}.schedulelayout{display:block}.panel{border:0;box-shadow:none;padding:0}.schedulelayout .panel{margin-bottom:24px}body{background:white;font-size:11px}input,select{border:0;appearance:none;background:none;padding:0}table{font-size:10px}td,th{padding:9px 4px}tr{break-inside:avoid}.schedule{min-width:0}.dutyselect{min-width:0}.top{margin-bottom:10px}}
@media(min-width:1280px){.schedulelayout{grid-template-columns:minmax(620px,1fr) 290px;align-items:start}.schedulelayout>.panel{padding:16px}.schedule{min-width:600px}.schedule td,.schedule th{padding:13px 7px}.dutycounts{position:sticky;top:18px}.dutycounts td,.dutycounts th{padding:11px 5px}.dutycounts h2{font-size:16px}.dutycounts .muted{font-size:11px}.dutyselect{min-width:170px;max-width:200px}}
@media print{.schedulelayout{display:block}.dutycounts{position:static}}
/* Clubhouse identity and role-aware surfaces. */
body{--accent:#cf7334;--accent-soft:#fff0e2;--side:#152a40;--surface:#f5f7fa;--role-ink:#76502d;background:var(--surface)}body[data-theme="parent"]{--accent:#23846f;--accent-soft:#e1f4ed;--side:#123e38;--surface:#f0f8f4;--role-ink:#22654f}body[data-theme="duty"]{--accent:#7761b7;--accent-soft:#eee7fb;--side:#302548;--surface:#f7f3fb;--role-ink:#685091}aside{background:var(--side);transition:background .2s}.brand{color:white;letter-spacing:0;margin-bottom:25px}.brandline{display:flex;align-items:center;gap:9px;font-size:27px;font-weight:850;font-style:italic;line-height:1.05}.ballmark{font-size:36px;display:grid;place-items:center;width:50px;height:55px;flex-shrink:0;background:linear-gradient(145deg,#ffbc72,#d87436);border-radius:15px;box-shadow:0 5px 15px #0002}.brandjp{display:block;font-size:14px;letter-spacing:.5px;font-style:normal;margin-top:8px}.brand small{margin:14px 0 0;font-size:9px;white-space:nowrap;color:#d3dce5;letter-spacing:.1px}.headerlabel{display:flex;flex-direction:column;gap:6px}.headerlabel b{color:var(--role-ink);font-size:14px}.headerlabel .eyebrow{font-size:9px;color:#8d959e}header{height:94px;gap:15px}.rolecontrol{display:flex;align-items:center;gap:12px}.rolecontrol>span{font-size:12px;color:#6f7885}.roleswitch{display:flex;background:#fff;border:1px solid #dde3e9;border-radius:13px;padding:5px;box-shadow:0 3px 10px #23344d08;gap:4px}.roleswitch button{background:transparent;color:#647080;padding:12px 17px;font-size:14px;min-height:45px}.roleswitch button[aria-pressed="true"]{background:var(--accent);color:#fff;box-shadow:0 3px 7px #0001}nav button.active{background:#ffffff16;border-color:var(--accent)}button{background:var(--accent)}.eyebrow{color:var(--accent)}.hero{background:var(--side)}.profilegrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-bottom:24px}.profilecard{padding:25px;background:white;border:1px solid #dbe9e1;border-radius:17px;border-top:4px solid var(--accent);box-shadow:0 5px 18px #113c2805}.profiletop{display:flex;gap:14px;align-items:center}.profiletop h2{margin:8px 0;font-size:22px}.profiletop .avatar{margin-right:0}.jersey{margin-left:auto;font-size:28px;font-weight:800;color:#c6d7d1;font-style:italic}.profiledetails{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:24px 0}.profiledetails dt{color:#82928b;font-size:11px;margin-bottom:6px}.profiledetails dd{margin:0;font-weight:600}.profiledetails>div:last-child{grid-column:1/-1}.nextpractice{background:var(--accent-soft);padding:14px 16px;border-radius:9px;margin-bottom:18px}.nextpractice small{color:var(--role-ink)}.nextpractice p{margin:6px 0 0;line-height:1.7}.profilecard>.sub{width:100%;background:var(--accent-soft);color:var(--role-ink)}.autonote{display:flex;gap:12px;flex-direction:column;background:var(--accent-soft);border-left:4px solid var(--accent);padding:17px 20px;border-radius:8px;margin:18px 0;color:var(--role-ink)}.autonote span{font-size:12px;line-height:1.7}.monthlyresponses table{width:max-content;min-width:100%}.monthlyresponses td,.monthlyresponses th{min-width:205px}.monthlyresponses th{vertical-align:top}.monthlyresponses th small{display:block;margin-top:6px;font-size:10px}.monthlyresponses .datecolumn{min-width:160px;position:sticky;left:0;background:white;z-index:1}.monthlyresponses th.datecolumn{background:#f8f9fb}.monthlyresponses{padding:0;max-height:65vh}.monthlyresponses th{position:sticky;top:0;z-index:2}.monthlyresponses th.datecolumn{z-index:3}.answercell{display:flex;flex-direction:column;gap:8px}.answerselect{width:155px;font-weight:700}.answerselect.state-green{background:#e1f2e6;color:#196341;border-color:#88bea0}.answerselect.state-red{background:#ffeaed;color:#a63040;border-color:#e3a3ac}.answerselect.state-amber{background:#fff2cc;color:#8d650c;border-color:#d4bf7e}.autosource{color:#718277!important}.overridesource{color:#b26b2c!important}.noteligible{color:#8d949d;background:#fafafa}.noticecard{padding:17px 0;border-bottom:1px solid #e8edf0}.noticecard:last-child{border-bottom:0}.noticecard .row{border:0;padding:0 0 10px}.noticecard h3{font-size:18px;margin:8px 0 14px}.noticebody{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;font-size:14px}.noticecard.pinned{padding:17px;background:#fffaf0;border-radius:10px;margin:12px 0;border:1px solid #f0e4c8}.noticetags{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.noticeactions{display:flex;gap:8px;margin-top:18px}.noticehome>.row{border-bottom:1px solid #e7edeb}.noticehome{margin-top:6px}textarea{resize:vertical}.noticehome .noticebody{max-height:250px;overflow:auto}@media(max-width:1050px){.profilegrid{grid-template-columns:1fr}.rolecontrol{gap:6px}.roleswitch button{padding:12px}.rolecontrol>span{display:none}}@media(max-width:620px){.brand{margin-bottom:5px}.brandline{font-size:23px}.brandjp{display:inline;font-size:16px;margin-left:8px}.ballmark{width:40px;height:40px;font-size:27px;border-radius:11px}.brand small{display:block;font-size:10px;margin:8px 0 5px 49px}.headerlabel{display:none}header{height:auto;padding:14px 0;display:block}.rolecontrol{display:block}.rolecontrol>span{display:block;margin-bottom:7px;font-size:11px}.roleswitch{width:100%}.roleswitch button{flex:1;font-size:15px;padding:12px 8px}.profilecard{padding:20px}.profiletop h2{font-size:20px}.profiledetails{gap:14px}.profiletop .avatar.large{width:65px;height:65px}.jersey{font-size:22px}.monthlyresponses td,.monthlyresponses th{min-width:180px}.monthlyresponses .datecolumn{min-width:125px}.noticecard h3{font-size:16px}}@media print{.roleswitch,.rolecontrol,.autonote{display:none}.monthlyresponses{max-height:none}.monthlyresponses th,.monthlyresponses .datecolumn{position:static}}
.batch-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;text-align:center}.batch-calendar>span{padding:4px 0}.batch-calendar label{position:relative;cursor:pointer}.batch-calendar input{position:absolute;opacity:0;width:1px;height:1px}.batch-calendar label span{display:grid;place-items:center;min-height:39px;border:1px solid #dfe5eb;border-radius:7px;background:#f6f8fa}.batch-calendar input:checked+span{background:var(--accent,#bd5d29);border-color:transparent;color:white;font-weight:700}.batch-calendar input:focus-visible+span{outline:2px solid #243f59;outline-offset:2px}dialog{max-height:calc(100dvh - 28px);overflow:auto}
.compact-month{padding:0;overflow:hidden}.compact-month table{table-layout:fixed;width:100%}.compact-month th:first-child{width:26%}.compact-month th:nth-child(2){width:40%}.compact-month td,.compact-month th{padding:8px 10px;overflow-wrap:anywhere;vertical-align:top}.compact-month td small{margin-top:2px;font-size:11px}.compact-month .practice-date{padding:3px 6px;color:var(--role-ink);background:var(--accent-soft)}.compact-month .compact-cancel{margin-top:3px;padding:2px 5px;font-size:10px}.quick-duty{margin-top:3px;font-size:11px}.quick-duty summary,.compact-overview summary{cursor:pointer;color:var(--role-ink)}.quick-duty select{min-width:0;width:100%;margin-top:4px}.family-plan{display:flex;gap:4px 6px;align-items:center;flex-wrap:wrap;margin:0 0 3px}.family-plan .pill{white-space:nowrap;padding:2px 5px}.month-actions{margin:8px 0 12px}.unread-count,.unread-tag{display:inline-block;background:#bd2639;color:#fff;border-radius:20px;padding:2px 7px;font-size:11px;font-weight:750}.unread-count{margin-left:4px}.read-button{margin-top:10px}
@media(max-width:620px){.compact-month th:first-child{width:29%}.compact-month th:nth-child(2){width:37%}.compact-month th,.compact-month td{padding:7px 5px;font-size:11px}.compact-month td small{font-size:10px}.compact-month .practice-date{font-size:11px}.month-actions{gap:6px}}
@media(orientation:landscape) and (max-height:540px) and (max-width:1100px){aside{position:static;width:100%;height:auto;padding:8px 14px;display:flex;flex-direction:row;gap:14px;align-items:center}.brand{margin:0;flex:none}.brandline{font-size:16px;gap:5px}.brandjp{display:inline;font-size:11px;margin-left:4px}.ballmark{width:27px;height:27px;font-size:17px;border-radius:7px}.brand small,.asidefoot{display:none}nav{display:flex;overflow-x:auto;gap:3px;min-width:0;margin:0}nav button{white-space:nowrap;width:auto;padding:7px 9px;margin:0;font-size:11px;flex:none}main{margin-left:0;padding:0 14px 15px}header{height:auto;padding:5px 0;display:flex}.roleswitch{padding:2px}.roleswitch button{padding:5px 10px;min-height:34px;font-size:12px}.notice{margin:6px 0 9px;padding:5px 8px}.top{margin-bottom:9px}.top h1{font-size:20px;margin:3px 0}.monthbar{margin-bottom:5px}.compact-month td,.compact-month th{padding:5px 8px}.compact-month td small{display:inline-block;margin-right:5px}.compact-month td small:first-of-type{margin-left:5px}.profilegrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.unread-count{background:#b81735;font-size:15px;min-width:29px;line-height:1.3;text-align:center;padding:4px 8px}.unread-alert{display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin:0 0 18px;padding:14px 16px;border:1px solid #e6a5af;border-left:5px solid #b81735;border-radius:12px;background:#fff0f3;color:#801126}.unread-alert strong,.unread-alert small{display:block}.unread-alert strong{font-size:17px}.unread-bell{font-size:25px}.unread-number{font-size:18px;font-weight:800;background:#b81735;color:white;border-radius:22px;padding:4px 12px}.unread-alert button{margin-left:auto;background:#a81731}.unread-alert small{margin-top:3px}@media(max-width:620px){.unread-alert{gap:8px;padding:10px}.unread-alert small{display:none}.unread-alert button{padding:7px 10px;font-size:11px}.unread-alert strong{font-size:14px}}
.check-table{padding:0;overflow:hidden}.check-table table{table-layout:fixed;width:100%}.check-table th:first-child{width:46%}.check-table th:nth-child(2){width:22%}.check-table th,.check-table td{padding:9px 10px;overflow-wrap:anywhere}.check-table .avatar.large{width:54px;height:54px;border-radius:10px;margin-right:8px}.check-select{width:100%;max-width:180px;padding:8px 6px;font-weight:650}.check-select.state-green{background:#e3f3e9;color:#176040}.check-select.state-red{background:#ffe5e8;color:#a22632}.check-select.state-amber{background:#fff2cc;color:#855c00}.check-select.state-blue{background:#e5efff;color:#235a99}.parent-unread{border-left-width:8px}.parent-news{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:10px 14px;margin-bottom:15px;background:#fff;border:1px solid #cce0d7;border-radius:9px}.parent-news>span:first-child{font-weight:700}.parent-news button{margin-left:auto}@media(max-width:620px){.check-table th,.check-table td{padding:7px 5px;font-size:12px}.check-table .avatar.large{width:38px;height:38px;margin-right:5px}.check-select{font-size:11px}.check-table .pill{padding:3px 6px}}
.profilecard>.profile-open{margin-bottom:8px;background:#f3f7f6;border:1px solid #d7e4df}.child-profile-details{margin:20px 0 0}.child-profile-details>div{display:grid;grid-template-columns:1fr 1.2fr;gap:10px;padding:10px 0;border-top:1px solid #e6eeeb}.child-profile-details dt{color:#586c64}.child-profile-details dd{margin:0;font-weight:650}
.staff-line{line-height:1.45}.staff-line span{display:inline-block;max-width:100%;overflow-wrap:anywhere}.staff-line b{margin-right:2px}
.check-sample-note{margin:0 0 10px}.check-portrait{position:relative;display:block;flex:none;width:64px;height:64px;padding:0;margin-right:8px;border-radius:10px;overflow:hidden;background:#eef2f5}.check-portrait .avatar.large,.check-portrait .sample-portrait{display:block;width:100%;height:100%;margin:0;object-fit:cover}.check-portrait>span{position:absolute;right:2px;bottom:2px;background:#233b52;color:#fff;border-radius:4px;padding:1px 4px;font-size:9px;line-height:1.4}.check-portrait-large .sample-portrait,.check-portrait-large .avatar.large{display:block;width:min(220px,100%);height:auto;aspect-ratio:1;object-fit:cover;margin:auto}.check-table th:first-child{width:49%}.check-table th:nth-child(2){width:20%}@media(max-width:620px){.check-portrait{width:48px;height:48px;margin-right:5px}}
.coach-divisions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0 0 14px}.coach-divisions fieldset{min-width:0;margin:0;border:1px solid #dce5e9;border-radius:8px;padding:6px 9px}.coach-divisions legend{font-weight:700;font-size:13px}.coach-divisions .checkitem{padding:6px 0;overflow-wrap:anywhere;gap:6px}
/* Consistent, readable heading hierarchy across all roles. */
.brandline{font-size:29px}.brandjp{font-size:15px}.brand small{font-size:10px}nav button{font-size:15px}.headerlabel b{font-size:18px}.top .eyebrow{font-size:12px}.top h1{font-size:clamp(28px,3vw,40px);font-weight:850;line-height:1.2;color:var(--side)}.top .muted{font-size:14px}
@media(max-width:620px){.brandline{font-size:25px}.brandjp{font-size:17px}nav button{font-size:13px}.top .eyebrow{font-size:10px}.top .muted{font-size:12px}}
@media(orientation:landscape) and (max-height:540px) and (max-width:1100px){.brandline{font-size:19px}.brandjp{font-size:12px}nav button{font-size:12px}.headerlabel b{font-size:15px}.top h1{font-size:25px}.top .eyebrow{font-size:10px}.top .muted{font-size:12px}}
.weekday-coaches{border:1px solid #dce5e9;border-radius:8px;padding:10px 12px;margin-bottom:8px}.weekday-coaches summary{cursor:pointer}.weekday-coaches summary span{font-size:12px;color:#596877;display:inline-block;margin-left:8px}.weekday-coaches[open] summary{margin-bottom:10px}
.duty-batch{padding:15px}.duty-batch h2{margin:0}.duty-batch .tools{margin:0}.duty-batch [role=status]:empty{display:none}.monthly-duties th:first-child{width:31%}.monthly-duty-slots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.monthly-duty-slots select{width:100%;min-width:0;font-size:12px;padding:7px 4px}.duty-date{display:flex;align-items:flex-start;gap:5px;cursor:pointer}.duty-date input{margin-top:4px}.duty-save{position:sticky;bottom:0;background:var(--surface);padding:9px 0;z-index:2}@media(max-width:420px){.monthly-duty-slots{grid-template-columns:1fr}}
.notice-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}.notice-gallery img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}.notice-gallery button{background:none;padding:0}.notice-gallery .sub{padding:5px 8px;margin-top:4px}.notice-expanded{width:100%;max-height:70vh;object-fit:contain;border-radius:9px}.duty-reminder{display:flex;align-items:center;gap:10px 15px;flex-wrap:wrap;padding:14px;margin-bottom:13px;background:#e4f4eb;border-left:5px solid #23846f;border-radius:9px;color:#174c3f}.duty-reminder strong{font-size:16px}.duty-reminder button{margin-left:auto}
.practice-status-action{border-top:1px solid #e4e8ec;margin-top:22px;padding-top:12px}.practice-status-action button.sub{margin-top:0}

/* Legible text and compact profiles, including on narrow phones. */
body{font-size:16px;line-height:1.5}
.muted,td small,.monthlyresponses th small,.compact-month td small,.profiledetails dt{color:#536275}
.muted,td small,footer{font-size:14px}
h2{font-size:20px}h3{font-size:17px}
th{font-size:14px;font-weight:700;color:#465569}td{font-size:15px}
button,button.small,nav button{font-size:15px}
input,select,textarea{font-size:16px}
.pill{font-size:13px;font-weight:650}
.notice{font-size:13px}
.noticebody{font-size:16px;line-height:1.65}
.noticecard h3{font-size:20px}
.compact-month td,.compact-month th,.check-table td,.check-table th{font-size:15px}
.compact-month td small,.monthlyresponses th small{font-size:13px}
.compact-month .practice-date,.check-select,.monthly-duty-slots select{font-size:14px}
.profilegrid{gap:14px;margin-bottom:16px}
.profilecard{padding:15px}
.profiletop{gap:10px;align-items:center}
.profiletop>div{min-width:0}
.profiletop h2{font-size:27px;line-height:1.2;margin:0 0 5px;overflow-wrap:anywhere}
.profiletop .avatar.large{width:64px;height:64px;flex-shrink:0}
.profile-meta{display:flex;align-items:center;gap:5px 7px;flex-wrap:wrap}
.profile-meta .clubtag{font-size:15px;margin:0;font-weight:700}
.profile-meta .muted{font-size:13px}
.jersey{font-size:24px;color:#405c53;white-space:nowrap}
.profiledetails{margin:12px 0;gap:8px 12px}
.profiledetails>div:last-child{grid-column:auto}
.profiledetails dt{font-size:14px;margin:0 0 2px}
.profiledetails dd{font-size:17px;line-height:1.3;overflow-wrap:anywhere}
.nextpractice{padding:8px 11px;margin-bottom:10px}
.nextpractice small{font-size:14px;font-weight:700}
.nextpractice p{margin:2px 0 0;line-height:1.4}
.next-practice-when{display:flex;flex-wrap:wrap;gap:2px 12px;font-size:18px;color:#243043}
.nextpractice p>.muted{display:block;font-size:14px;margin-top:2px}
.profile-actions{display:grid;gap:6px}
.profile-actions button.sub{width:100%;min-height:44px;padding:7px 8px;font-size:15px;background:var(--accent-soft);color:var(--role-ink)}
.profile-actions button.profile-open{background:#f3f7f6}
@media(max-width:620px){
  main{padding-inline:12px}
  nav button{font-size:14px}
  .compact-month th,.compact-month td,.check-table th,.check-table td{font-size:14px;padding:7px 5px}
  .compact-month td small,.check-table td small{font-size:12px}
  .compact-month .practice-date,.check-select,.monthly-duty-slots select{font-size:13px}
  .compact-month .pill,.check-table .pill{font-size:12px}
  .month-actions button{font-size:13px}
  .top .muted{font-size:14px}
  .profilecard{padding:12px}
}
@media(orientation:landscape) and (max-height:540px) and (max-width:1100px){
  nav button{font-size:13px}
  .compact-month td,.compact-month th,.check-table td,.check-table th{padding-block:5px}
}
#nav [data-menu-key]{-webkit-touch-callout:none;user-select:none}.menu-tools{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-top:6px}.menu-reorder-toggle{background:#ffffff16;color:#edf3f7;font-size:12px;padding:5px 8px}.menu-reorder-toggle[aria-pressed=true]{background:#fff;color:#253b4d}.menu-tools [role=status]{color:#fff;font-size:12px}#nav.is-reordering [data-menu-key]{outline:1px dashed #ffffff72;outline-offset:-2px}#nav.is-reordering .reorder-source{background:#fff3d7;color:#253b4d;outline:2px solid #efad5e;outline-offset:-2px}@media(orientation:landscape) and (max-height:540px) and (max-width:1100px){.menu-tools{flex:none;margin:0}.menu-reorder-toggle{font-size:10px;padding:4px}.menu-tools [role=status]{display:none}}
.menu-drag-ghost{position:fixed;inset:0 auto auto 0;z-index:9999;pointer-events:none;white-space:nowrap;border-radius:8px;background:#fff3d7;color:#263b4d;box-shadow:0 4px 16px #0005;padding:8px 12px;font-size:14px;font-weight:750}.menu-drag-placeholder{opacity:.28}#nav.is-reordering [data-menu-key]:focus-visible{outline:2px solid #ffd894}#nav{min-height:0;overflow-y:auto}.menu-reorder-toggle{font-size:15px;line-height:1;padding:6px 9px}
@media(max-width:620px){aside{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1px 6px;padding:5px 9px 4px}.brand{margin:0;min-width:0}.brandline{font-size:18px;gap:5px;white-space:nowrap}.brandjp{font-size:13px;margin-left:5px}.ballmark{width:25px;height:25px;font-size:16px;border-radius:6px}.brand small{display:none}.menu-tools{grid-column:2;grid-row:1;margin:0;justify-content:flex-end}.menu-reorder-toggle{min-width:30px;min-height:28px}.menu-tools [role=status]{display:none}#nav{grid-column:1/-1;grid-row:2;margin:0;overflow-x:auto;overflow-y:hidden;gap:2px}#nav button{padding:6px 8px;margin:0;font-size:13px;line-height:1.35;min-height:33px}}
@media(orientation:landscape) and (max-height:540px) and (max-width:1100px){aside{padding:4px 9px;gap:7px}#nav button{padding:5px 8px}}

.prototype-info{margin:8px 0 12px;padding:0;background:transparent;color:#775b34}
.prototype-info summary{display:inline-block;cursor:pointer;padding:3px 8px;border-radius:5px;background:#fff1dc;font-size:12px;line-height:1.45}
.prototype-info summary::before{content:'＋';margin-right:4px}
.prototype-info[open] summary::before{content:'−'}
.prototype-info p{margin:5px 0 0;padding:8px 10px;background:#fff6e8;border-radius:6px;font-size:13px;line-height:1.55}
@media (min-width:621px) and (max-width:1100px),
       (min-width:621px) and (max-width:1366px) and (pointer:coarse) {
  aside{position:static;width:100%;height:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 9px;align-items:center;padding:6px 14px}
  aside .brand{margin:0;min-width:0}
  aside .brandline{font-size:20px;gap:6px}
  aside .brandjp{display:inline;margin:0 0 0 6px;font-size:15px}
  aside .ballmark{width:29px;height:29px;font-size:18px;border-radius:7px}
  aside .brand small,aside .asidefoot{display:none}
  aside .menu-tools{grid-area:1/2;margin:0;justify-content:flex-end}
  aside .menu-tools [role=status]{display:none}
  #nav{grid-area:2/1/auto/-1;display:flex;overflow:auto;gap:3px;margin:0;scrollbar-width:thin}
  #nav button{width:auto;min-height:37px;flex:none;white-space:nowrap;margin:0;padding:5px 9px;font-size:14px}
  #nav button.active{border-left:0;border-bottom:2px solid var(--accent)}
  main{margin-left:0;padding-inline:18px}
  main>header{height:auto;min-height:56px;padding-block:5px}
  .profilegrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .compact-month,.check-table,.monthlyresponses{max-width:100%}
}
@media (min-width:621px) and (max-width:700px){.profilegrid{grid-template-columns:1fr}}
@media (pointer:coarse){
  #nav button{min-height:36px}
  .check-select,.monthly-duty-slots select,.answerselect{font-size:16px;min-height:36px}
  .profile-actions button.sub{min-height:44px}
}
@media (orientation:landscape) and (max-height:540px){
  main>header{min-height:0}
  #nav button{min-height:31px}
}

/* Give the schedule and forms the first screen of usable space. */
main>header{height:auto;min-height:56px;padding-block:5px;margin-bottom:10px}
main .top{margin:0 0 11px;gap:6px 12px}
main .top .eyebrow{display:none}
main .top h1{margin:0 0 3px}
main .top .muted{line-height:1.35}
main .top .muted:empty{display:none}
main .monthbar{margin-bottom:8px;gap:6px 10px}
main .monthbar .tools{gap:6px}
main .monthbar input[type=month]{padding:5px 7px;min-height:36px}
main .month-actions{margin:4px 0 8px;gap:5px}
main .month-actions button{padding-block:5px;min-height:34px}
main .panel{margin-bottom:12px}
main .duty-batch{background:#fff;border:1px solid #dce5eb;border-radius:8px;padding:0 9px;margin:0 0 8px}
.duty-batch summary{padding:6px 0;cursor:pointer;font-weight:650;font-size:14px}
.duty-batch p{margin:4px 0}
.duty-batch[open]{padding-bottom:7px}
.duty-save{position:static;padding:0 0 8px}
.duty-save button{min-height:40px;padding:7px 11px}
footer .prototype-info{margin:0 0 5px}
@media(max-width:620px){
  main>header{min-height:0;padding:4px 0;margin-bottom:8px}
  .rolecontrol>span{display:none}
  .roleswitch{padding:2px}
  .roleswitch button{padding:5px 7px;min-height:37px}
  main .top h1{font-size:26px}
  main .top .muted{font-size:13px}
  .profilegrid{gap:9px;margin-bottom:9px}
  .duty-reminder,.unread-alert,.parent-news{margin-bottom:8px;padding-block:6px}
}
.overview-stats.cards{gap:5px;margin:0 0 9px}
.overview-stats .card{display:flex;align-items:baseline;justify-content:space-between;gap:5px;padding:4px 8px;border-radius:7px;min-width:0}
.overview-stats .card .muted{font-size:13px;line-height:1.25;font-weight:650}
.overview-stats .card strong{margin:0;font-size:21px;line-height:1.15;white-space:nowrap}
.overview-stats .card strong small{color:#536275}
@media(max-width:360px){.overview-stats .card{padding-inline:5px}.overview-stats .card .muted{font-size:12px}}
#nav.menu-below-roles{display:flex;background:var(--side);margin:0 0 8px;border-radius:7px;padding:2px 4px;overflow-x:auto;overflow-y:hidden}
#nav.menu-below-roles button{flex:none;width:auto;white-space:nowrap;margin:0}
main:has(> #nav.menu-below-roles)>header{margin-bottom:4px}
@media print{#nav.menu-below-roles{display:none}}
.notice-author{color:#465569;font-size:14px;font-weight:650;margin:7px 0 0;overflow-wrap:anywhere}

/* Small brightness lift on the original surfaces. */
body{--surface:#f8fafd;--header-surface:#1e3349}
body[data-theme="parent"]{--surface:#f3fbf7;--header-surface:#1b4741}
body[data-theme="duty"]{--surface:#faf6fe;--header-surface:#392e51}
aside,#nav.menu-below-roles,.hero{background-color:var(--header-surface)}
.parent-attendance-toolbar .tools{display:grid;grid-template-columns:34px minmax(109px,135px) 34px minmax(72px,1fr);gap:4px;width:min(100%,460px)}
.parent-attendance-toolbar input,.parent-attendance-toolbar select{min-width:0;width:100%;min-height:36px;padding:4px 5px}
.parent-attendance-toolbar button.sub{padding:4px;min-height:36px}
.parent-attendance-table{max-height:none;margin-bottom:7px}
.parent-attendance-table th,.parent-attendance-table td{padding:6px 7px;min-width:120px}
.parent-attendance-table .datecolumn{min-width:107px}
.parent-attendance-table th{position:static}
.parent-attendance-table th.datecolumn{position:sticky}
.parent-attendance-table .answercell{gap:3px}
.parent-attendance-table .answerselect{width:min(155px,100%);min-height:35px;padding:5px 6px}
.parent-attendance-table td small{margin-top:2px;font-size:12px}
.attendance-help summary{font-size:13px;color:#536275;cursor:pointer}
.attendance-help p{margin:4px 0 0}
.noticebody{position:relative}.notice-read-marker{position:absolute;inset:0 auto auto 0;width:1px;height:12px;pointer-events:none}
#live-status{margin:5px 0 9px;padding:5px 8px;color:#67471b;background:#fff0db;border-radius:6px;font-size:13px}

.roleswitch button[hidden]{display:none}

#install-app{margin:12px 0;color:#445469;font-size:1rem}
#install-app summary{cursor:pointer;font-weight:700;width:fit-content;padding:8px 0}
#install-app button[hidden]{display:none}

.school-class-field[hidden]{display:none}

.check-filters{gap:6px;margin:8px 0 10px}
.check-filters button.small{flex:1 1 auto;min-height:46px;padding:6px 8px;font-size:clamp(15px,2vw,20px);white-space:nowrap}
.check-filters .muted{font-size:16px}
.check-table th:first-child{width:45%}
.check-table th:nth-child(2){width:21%}
.check-table th,.check-table td{padding:6px clamp(5px,1vw,12px);font-size:clamp(13px,2vw,19px)}
.check-member{min-width:0;line-height:1.28}
.check-member b{display:block;font-size:clamp(17px,2.5vw,24px)}
.check-table .check-member small{margin:2px 0 0;font-size:clamp(13px,1.8vw,17px)}
.check-table .check-member .check-number{font-weight:750;font-size:clamp(15px,2.2vw,21px)}
.check-table .pill{font-size:clamp(13px,1.9vw,18px);white-space:nowrap}
.check-table .check-select{width:100%;max-width:none;min-height:46px;font-size:clamp(16px,2vw,20px)}
@media(max-width:480px){
  .check-filters .muted{flex-basis:100%}
  .check-table .check-portrait,.check-table .identity>.avatar.large{width:40px;height:40px;flex:none}
  .check-table .check-select{padding-inline:4px}
}

.family-duty{margin:0 0 10px;padding:10px 12px;border:1px solid #afd2c8;border-radius:12px;background:#e3f3ed;color:#163f36}
.family-duty-head,.family-duty-next,.family-duty li{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px}
.family-duty-head{justify-content:space-between;margin-bottom:6px}
.family-duty-head h2{margin:0;font-size:clamp(17px,3vw,23px)}
.family-duty-head button{min-height:36px}
.family-duty-next{padding:8px 10px;border-radius:8px;background:#155548;color:#fff;line-height:1.25}
.family-duty-next strong{font-size:clamp(22px,5vw,32px)}
.family-duty-next span:last-child{font-size:15px}
.family-duty-tag{padding:3px 6px;border-radius:4px;background:#e3f3ed;color:#155548;font-size:13px;font-weight:800}
.family-duty ul{list-style:none;margin:4px 0 0;padding:0}
.family-duty li{padding:5px 0;border-bottom:1px solid #bfdcd3;font-size:14px}
.family-duty li:last-child{border-bottom:0;padding-bottom:0}
.family-duty-empty{margin:0}
.family-notice.panel{padding:10px 12px}
.family-notice .row{padding-block:4px}
.family-notice .empty{padding:8px 0;text-align:left}

@media screen and (display-mode: standalone){
  body{
    padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  }
  body::before{
    content:"";
    position:fixed;
    inset:0 0 auto;
    z-index:20;
    height:env(safe-area-inset-top);
    background:var(--header-surface,#142437);
    pointer-events:none;
  }
}

.staff-line .own-duty-name{color:#8a3507;background:#ffdfab;font-weight:800;border-radius:4px;padding:1px 4px;box-decoration-break:clone;-webkit-box-decoration-break:clone}

/* Keep the monthly duty editor readable without adding height to each row. */
.monthly-duties th:first-child{width:34%}
.monthly-duties th,.monthly-duties td{padding:5px 6px;font-size:16px;line-height:1.3}
.monthly-duties td{vertical-align:middle}
.monthly-duties td:first-child b{font-size:17px}
.monthly-duties td:first-child small{font-size:15px;margin-top:2px}
.monthly-duties .monthly-duty-slots{gap:3px}
.monthly-duties .monthly-duty-slots select{font-size:17px;min-height:38px;padding:4px 5px}
@media(max-width:620px){
  main .top{margin-bottom:8px;gap:6px}
  main .top .muted{font-size:15px}
  main .panel:not(.compact-month):not(.check-table):not(.monthlyresponses){padding:10px}
  main .panel p{margin-block:5px}
  main .row{gap:6px;padding-block:6px}
  main .tools{gap:5px}
  main button.small{font-size:15px}
  main .compact-month td,main .compact-month th{font-size:15px}
  main .compact-month td small{font-size:13px}
  main .monthly-duties td:first-child small{font-size:14px}
}
