:root{--brand-cyan:#4fc5de;--brand-blue:#0088ff;--action:#08798f;--action-ink:#263b43;--heading:#343740;--pale-blue:#edf6ff;--success:#2b6b47;--ink:#4e4e55;--muted:#65717a;--paper:#f5f7f7;--white:#ffffff;--line:#dce5e8;--green:var(--action);--pale:#eaf8fc;--yellow:#f4cd66;--peach:#f3d6c1;--red:#a23d32;--shadow:0 12px 35px #32475410;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.52}button,a{ -webkit-tap-highlight-color:transparent}a{color:var(--action);text-underline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--action);outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,.serif{font-family:Georgia,"Times New Roman",serif;font-weight:400}h1{font-size:clamp(2.35rem,4.1vw,3.65rem);line-height:1.07;letter-spacing:-.04em}h2{font-size:2rem;line-height:1.16;letter-spacing:-.025em}h3{font-size:1.03rem;line-height:1.35}p{line-height:1.7}small,.small{font-size:.8rem;line-height:1.55}.muted{color:var(--muted)}.eyebrow{font-size:.69rem;font-weight:750;letter-spacing:.15em;text-transform:uppercase;margin-bottom:15px}.stack>*+*{margin-top:16px}.stack-sm>*+*{margin-top:9px}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.grow{flex:1}.gap-lg{gap:26px}.icon{width:19px;height:19px;flex-shrink:0;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--action);background:var(--brand-cyan);color:var(--action-ink);border-radius:9px;font-size:.84rem;font-weight:650;padding:12px 18px;text-decoration:none;line-height:1.4;min-height:44px}.button:hover{background:#75d1e5}.button.secondary{background:transparent;border-color:#81959b;color:var(--action)}.button.secondary:hover{background:var(--pale)}.button.light{background:var(--white);color:var(--action)}.button.small{padding:8px 12px;min-height:36px;font-size:.77rem}.button.warn{color:var(--red);border-color:#dab1a4;background:#fff8f0}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;background:transparent;border:1px solid var(--line);border-radius:50%;color:var(--ink)}.icon-button:hover{background:var(--pale)}.text-button{border:0;background:transparent;color:var(--green);font-weight:650;text-decoration:underline;text-underline-offset:4px;padding:8px 0;font-size:.84rem}.tag{display:inline-flex;align-items:center;gap:6px;background:var(--pale);border-radius:20px;font-size:.68rem;font-weight:650;padding:5px 10px;line-height:1.4;white-space:nowrap}.tag.gold{background:#f7e6af}.tag.peach{background:var(--peach)}.tag.quiet{background:#eef2f4;color:var(--muted)}.dot{width:6px;height:6px;border-radius:50%;background:currentColor;display:inline-block}.divider{border:0;border-top:1px solid var(--line);margin:24px 0}.hidden,[hidden]{display:none!important}.skip-link{position:fixed;top:-100px;left:16px;z-index:100;background:var(--yellow);padding:14px}.skip-link:focus{top:10px}
.preview-bar{background:#eaf1f5;color:#536671;font-size:.66rem;letter-spacing:.04em;padding:7px 28px;display:flex;justify-content:center;gap:16px;align-items:center}.preview-bar a{font-weight:650}.shell-head{max-width:1256px;margin:auto;min-height:99px;display:flex;align-items:center;justify-content:space-between;padding:20px 28px}.brand{text-decoration:none;display:flex;gap:12px;align-items:center}.brand-mark{width:49px;height:48px}.brand-name{font:700 2rem Georgia,serif;letter-spacing:-.08em;line-height:1}.brand-sub{font-size:.5rem;letter-spacing:.19em;font-weight:650;margin-top:8px}.account{font-size:.8rem;display:flex;gap:14px;align-items:center}.avatar{display:flex;align-items:center;justify-content:center;width:37px;height:37px;border-radius:50%;background:#eaf8fc;font-size:.73rem;font-weight:700}.account-name{font-weight:600}.account-role{font-size:.65rem;margin-top:3px;color:var(--muted)}.main-nav{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--white);position:sticky;top:0;z-index:10}.nav-inner{max-width:1256px;margin:auto;display:flex;align-items:center;gap:5px;padding:10px 28px;overflow-x:auto;scrollbar-width:thin}.nav-item{border:0;background:none;display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:.77rem;color:var(--muted);padding:11px 14px;border-radius:24px;text-decoration:none;min-height:42px}.nav-item:hover{color:var(--ink);background:#eaf8fc}.nav-item.active{background:var(--brand-cyan);color:var(--action-ink)}.nav-item .icon{width:16px;height:16px}.admin-nav-link{margin-left:auto;border:1px solid var(--line)}main{max-width:1256px;padding:38px 28px 65px;margin:auto;min-height:0}.page-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:30px}.page-heading p:not(.eyebrow){max-width:550px;color:var(--muted);margin-top:17px;font-size:.91rem}.footer{border-top:1px solid var(--line);max-width:1200px;margin:auto;padding:24px 0 30px;display:flex;justify-content:space-between;font-size:.72rem;color:var(--muted)}.footer span:first-child{font-weight:650;color:var(--ink)}
.calendar-hero{display:grid;grid-template-columns:1.25fr 1fr;gap:55px;align-items:center;margin:0 0 30px;padding:5px 0 18px}.calendar-hero h1{font-size:clamp(2.7rem,4.2vw,3.6rem)}.calendar-hero .lead{color:var(--muted);font-size:.91rem;max-width:440px;margin-top:19px}.next-card{border-radius:16px;background:var(--pale);padding:25px 28px;position:relative;overflow:hidden}.next-card .eyebrow{margin-bottom:16px}.next-row{display:flex;gap:16px;align-items:center;padding:11px 0;position:relative}.next-row+.next-row{border-top:1px solid #c5e5ed}.next-row .initial{background:var(--white);width:37px;height:37px;border-radius:50%;display:grid;place-items:center;font:20px Georgia}.next-row p{font-size:.8rem;color:#65717a;margin-top:4px}.next-row h3{font-size:.91rem}.next-card .decor-ring{position:absolute;border:1px solid #c5e5ed;border-radius:50%;width:210px;height:210px;right:-120px;top:-100px}.calendar-workspace{background:var(--white);border:1px solid var(--line);border-radius:16px;overflow:hidden}.calendar-top{padding:21px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.segmented{display:flex;background:#edf1f3;border-radius:8px;padding:4px;gap:2px;overflow:auto}.segmented button{background:transparent;border:0;border-radius:6px;padding:9px 12px;color:var(--muted);font-size:.76rem;white-space:nowrap}.segmented button.active{background:var(--brand-cyan);box-shadow:0 2px 4px #32475410;color:var(--action-ink);font-weight:650}.calendar-period{padding:20px 24px;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.calendar-period h2{font:500 1.07rem system-ui,sans-serif;letter-spacing:-.015em}.calendar-period .icon-button{width:33px;height:33px}.period-controls{display:flex;align-items:center;gap:9px}.date-jump{max-width:150px}.class-list{padding:0 24px 8px}.class-card{display:grid;grid-template-columns:62px minmax(0,1fr) auto;gap:22px;align-items:center;padding:22px 0;border-top:1px solid var(--line)}.date-tile{background:#edf1f3;min-height:72px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px}.date-tile span:first-child{font-size:.59rem;letter-spacing:.12em;font-weight:750;color:var(--muted)}.date-tile strong{font:30px Georgia}.class-main h3{font-size:.95rem}.class-main p{font-size:.77rem;color:var(--muted);margin-top:4px}.class-main .tag{margin-top:8px}.class-actions{display:flex;flex-direction:column;align-items:end;gap:8px;max-width:260px}.child-action{display:flex;align-items:center;justify-content:end;gap:9px;flex-wrap:wrap}.child-action .small{font-size:.73rem}.availability{font-size:.75rem;color:var(--success);font-weight:600}.calendar-note{border-top:1px solid var(--line);padding:14px 24px;color:var(--muted);font-size:.72rem;display:flex;align-items:center;gap:8px;background:#f5f7f7}.below-calendar{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:25px}.soft-card{border:1px solid var(--line);border-radius:14px;padding:24px}.soft-card p{font-size:.84rem;color:var(--muted);margin-top:9px}.soft-card h3{font-size:.94rem}.checkline{display:flex;align-items:flex-start;gap:11px;font-size:.85rem;line-height:1.5}.checkline input{accent-color:var(--green);width:18px;height:18px;flex:0 0 auto;margin:2px 0 0}.checkline small{display:block;color:var(--muted);margin-top:5px}.rules summary{font-weight:650;cursor:pointer;font-size:.87rem}.rules ul{padding-left:18px;font-size:.82rem;line-height:1.7;color:var(--muted);margin-bottom:0}.year-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:0 24px 25px}.month{border:1px solid var(--line);border-radius:10px;padding:15px}.month h3{font-size:.85rem;margin-bottom:14px}.month-days{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;text-align:center}.month-days>span{font-size:.59rem;color:var(--muted);padding-bottom:7px}.month-days button{background:none;border:0;min-height:29px;font-size:.69rem;border-radius:5px;color:var(--ink);position:relative}.month-days button.lesson{background:var(--pale);font-weight:650}.month-days button.holiday{background:#f8e9bf}.month-days button.today{outline:1px solid var(--ink)}.month-days button:hover{background:var(--yellow)}
.card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.group-card{background:var(--white);border:1px solid var(--line);border-radius:15px;overflow:hidden}.group-top{padding:25px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:start;gap:12px}.group-top h2{font-size:1.65rem}.group-top p{font-size:.79rem;color:var(--muted);margin-top:9px}.group-symbol{height:42px;width:42px;border-radius:12px;background:var(--pale);display:grid;place-items:center}.group-symbol.tue{background:#f7e6af}.group-symbol.thu{background:#eddbcf}.group-symbol.sat{background:#e0e5f0}.roster{padding:22px 25px;display:flex;flex-wrap:wrap;gap:9px}.person{padding:9px 12px;border:1px solid var(--line);border-radius:7px;font-size:.77rem}.person.mine{background:var(--pale);border-color:#73b5c4;font-weight:650}.group-foot{padding:0 25px 21px;display:flex;justify-content:space-between;align-items:center;font-size:.7rem;color:var(--muted)}.album-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}.album{background:var(--white);border:1px solid var(--line);border-radius:14px;overflow:hidden}.album-art{height:205px;background:#eaf8fc;display:grid;place-items:center;position:relative;overflow:hidden}.album:nth-child(even) .album-art{background:#edf6ff}.album-art:before,.album-art:after{content:"";position:absolute;width:150px;height:150px;border:1px solid #08798f28;border-radius:50%;right:-20px;bottom:-55px}.album-art:after{width:190px;height:190px;right:-40px;bottom:-75px}.album-art svg{width:150px;height:128px;transform:rotate(-6deg);z-index:1}.album-info{padding:24px}.album-info h2{font-size:1.5rem;margin:8px 0 10px}.album-info p{font-size:.81rem;color:var(--muted);min-height:55px}.album-info .button{margin-top:18px}.photo-note{max-width:740px;margin-top:28px}.empty{padding:45px 20px;text-align:center;color:var(--muted)}.empty h2{color:var(--ink);font-size:1.75rem;margin:0 0 13px}.empty p{font-size:.85rem;max-width:470px;margin:auto}.empty .button{margin-top:18px}
.board-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:32px}.compose,.post{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:25px}.compose textarea{margin-top:14px}.compose .row{margin-top:12px}.post+.post{margin-top:19px}.post.official{border-left:4px solid var(--brand-cyan)}.post-header{display:flex;gap:11px;align-items:center;margin-bottom:18px}.post-header h3{font-size:.82rem}.post-header small{color:var(--muted);font-size:.67rem}.post-body{font-size:.88rem;line-height:1.85;overflow-wrap:anywhere;white-space:pre-wrap}.replies{border-top:1px solid var(--line);margin-top:19px;padding-top:15px}.reply{display:flex;gap:10px;padding:13px 0}.reply .avatar{width:29px;height:29px;font-size:.57rem;flex-shrink:0}.reply p{font-size:.81rem;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.reply strong{font-size:.74rem}.reply-form{margin-top:12px;display:flex;align-items:end;gap:10px}.reply-form label{flex:1}.reply-form textarea{min-height:65px}.board-policy{position:sticky;top:90px}.board-policy h2{font-size:1.6rem}.board-policy p{font-size:.8rem;color:var(--muted);margin-top:14px}.board-policy .symbol{font:54px Georgia;line-height:1;margin-bottom:22px;color:#08798f}.document-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:65px}.doc-toc{position:sticky;top:90px;align-self:start}.doc-toc a{display:block;border-left:1px solid var(--line);font-size:.76rem;text-decoration:none;padding:9px 14px;color:var(--muted);line-height:1.55}.doc-toc a:hover{border-color:var(--ink);color:var(--ink)}.document{max-width:810px}.doc-section{padding:5px 0 37px;margin-bottom:31px;border-bottom:1px solid var(--line);scroll-margin-top:95px}.doc-section h2{margin-bottom:21px;font-size:2rem}.prose p{font-size:.91rem;line-height:1.9;color:#4e4e55;margin-top:17px;overflow-wrap:anywhere}.prose p:first-child{margin-top:0}.values-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:22px}.value-cell{padding:20px;background:var(--pale);border-radius:10px}.value-cell:nth-child(2n){background:#f1e9d0}.value-cell .number{font:17px Georgia;color:#08798f;display:block;margin-bottom:20px}.value-cell h3{font:22px Georgia}.value-cell p{font-size:.71rem;margin:8px 0;color:#65717a}.value-cell strong{font-size:.78rem}.progression{padding:18px;margin-top:10px;text-align:center;border-radius:10px;background:var(--brand-cyan);color:var(--action-ink);font-size:.85rem}.pair-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0 0}.pair-card{border-radius:12px;padding:25px;background:var(--pale)}.pair-card:nth-child(2){background:#f4e4bb}.pair-card h3{font:26px Georgia;margin:8px 0 16px}.pair-card p{font-size:.82rem;line-height:1.8}.condition{border:1px solid var(--line);border-radius:10px;margin-top:10px;background:var(--white)}.condition>summary{padding:19px;cursor:pointer;display:flex;align-items:center;gap:16px;list-style:none;font-size:.87rem;font-weight:650}.condition>summary::-webkit-details-marker{display:none}.condition>summary:after{content:"+";margin-left:auto;font-size:22px;font-weight:400}.condition[open]>summary:after{content:"−"}.condition .condition-no{font:20px Georgia;color:#08798f;min-width:27px}.condition .prose{padding:0 23px 24px 62px}.published-note{font-size:.7rem;color:var(--muted);margin-bottom:24px}
label{display:block;font-size:.78rem;font-weight:600}input:not([type=checkbox]),select,textarea{display:block;width:100%;border:1px solid #81959b;border-radius:7px;background:var(--white);color:var(--ink);padding:11px 12px;font-size:.84rem;margin-top:7px;min-height:43px}input::placeholder,textarea::placeholder{color:#65717a}textarea{resize:vertical;min-height:110px;line-height:1.7}select{padding-right:30px}.compact-select{min-width:140px;max-width:230px}.compact-select select{margin:0;padding-top:9px;padding-bottom:9px;min-height:39px;font-size:.75rem}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid .full{grid-column:1/-1}.field-help{font-weight:400;color:var(--muted);font-size:.73rem;margin-top:6px;line-height:1.6}.form-stack>*+*{margin-top:18px}.notice{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:16px 20px;border-radius:12px;box-shadow:var(--shadow);max-width:min(630px,calc(100vw - 30px));width:max-content;z-index:50;font-size:.84rem;line-height:1.6;display:flex;align-items:center;gap:17px}.notice.error{background:#803a30}.notice button{border:0;background:transparent;color:white;font-size:24px;padding:0 3px}.error-text{color:var(--red);font-size:.82rem;margin-top:13px}.signin{max-width:1110px;margin:40px auto 60px;display:grid;grid-template-columns:1.2fr 1fr;gap:100px;align-items:center}.signin h1{font-size:clamp(2.8rem,5vw,4.5rem)}.signin .lead{font-size:.94rem;color:var(--muted);margin-top:24px;max-width:420px}.signin-art{height:225px;max-width:380px;margin-top:30px}.signin-card{background:var(--white);border:1px solid var(--line);padding:35px;border-radius:17px;box-shadow:var(--shadow)}.signin-card h2{font-size:1.9rem;margin-bottom:13px}.signin-card>p{font-size:.85rem;color:var(--muted);margin-bottom:23px}.signin-card .button{width:100%;margin-top:23px}.test-hint{margin-top:22px;font-size:.72rem;color:var(--muted);line-height:1.7;border-top:1px solid var(--line);padding-top:18px}.code-input{letter-spacing:.3em;font-size:1.3rem!important}.pending-card{max-width:680px;margin:30px auto;background:var(--white);border:1px solid var(--line);padding:35px;border-radius:15px}.pending-card h1{font-size:2.6rem;margin-bottom:18px}.pending-card .form-stack{margin-top:25px}
dialog{border:1px solid var(--line);border-radius:16px;padding:28px;max-width:min(650px,calc(100vw - 32px));width:100%;max-height:88vh;background:var(--white);color:var(--ink);box-shadow:0 30px 100px #142a3340}dialog::backdrop{background:#263b4377;backdrop-filter:blur(3px)}dialog .modal-head{display:flex;justify-content:space-between;align-items:start;gap:18px;margin-bottom:24px}dialog h2{font-size:1.8rem}dialog .icon-button{width:33px;height:33px;flex-shrink:0}.modal-footer{display:flex;justify-content:end;gap:10px;margin-top:24px}dialog .document{max-width:none}dialog.wide{max-width:min(930px,calc(100vw - 32px))}.admin-layout{display:grid;grid-template-columns:180px minmax(0,1fr);gap:35px}.admin-menu{position:sticky;top:91px;align-self:start;display:flex;flex-direction:column;gap:5px}.admin-menu button{border:0;background:none;text-align:left;padding:12px 15px;border-radius:8px;font-size:.81rem;color:var(--muted)}.admin-menu button.active{background:var(--brand-cyan);color:var(--action-ink);font-weight:650}.admin-content{min-width:0}.admin-section+.admin-section{margin-top:35px}.admin-section>.row{margin-bottom:20px}.admin-section h2{font-size:1.8rem}.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:var(--white)}table{width:100%;border-collapse:collapse;font-size:.79rem;text-align:left}th,td{padding:14px 16px;border-bottom:1px solid var(--line);white-space:nowrap}th{font-size:.66rem;letter-spacing:.03em;color:var(--muted);background:#edf1f3;font-weight:650}tbody tr:last-child td{border:0}td.total{font-weight:700;font-size:.89rem}tr.excess{background:#fff2d2}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:0 0 26px}.metric{border:1px solid var(--line);border-radius:11px;background:var(--white);padding:20px}.metric strong{display:block;font:35px Georgia;margin:9px 0}.metric p{font-size:.72rem;color:var(--muted)}.admin-card{background:var(--white);border:1px solid var(--line);border-radius:12px;padding:23px}.admin-card+.admin-card{margin-top:13px}.admin-card p{font-size:.8rem;color:var(--muted)}.id-label{font-size:.63rem;overflow-wrap:anywhere;color:var(--muted);margin-top:6px}.document-editor{border:1px solid var(--line);border-radius:12px;background:var(--white);padding:25px}.editor-toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:23px}.editor-section{border:1px solid var(--line);border-radius:9px;padding:20px;margin:20px 0}.editor-section legend{font-size:.73rem;font-weight:650;padding:0 7px}.editor-section>label+label{margin-top:15px}.editor-section textarea{min-height:160px}.editor-item{padding:16px 0;border-top:1px solid var(--line);margin-top:15px}.editor-item textarea{min-height:100px}.editor-footer{position:sticky;bottom:0;background:var(--white);border-top:1px solid var(--line);padding:15px 0 0;display:flex;justify-content:space-between;gap:12px;align-items:center}.sample-note{border-left:3px solid #d4ae55;padding:12px 17px;background:#faf0d5;font-size:.79rem;line-height:1.7;margin-bottom:24px}.account-list{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.testdesk{max-width:960px}.testdesk h1{font-size:2.8rem}.testdesk code{font-size:1.15rem;letter-spacing:.14em}.testdesk .mail{border:1px solid var(--line);background:var(--white);border-radius:10px;padding:18px;margin-top:12px}.testdesk .mail p{font-size:.83rem;white-space:pre-wrap;overflow-wrap:anywhere}
@media(min-width:1450px){main{padding-top:46px}.calendar-hero{margin-bottom:38px}.class-card{padding-top:24px;padding-bottom:24px}}
@media(max-width:1050px){.nav-item{padding:10px 11px;font-size:.71rem}.nav-item .icon{display:none}.calendar-hero{gap:25px}.board-layout{grid-template-columns:minmax(0,1fr) 230px;gap:23px}.document-layout{grid-template-columns:180px 1fr;gap:35px}.signin{gap:45px}.admin-layout{grid-template-columns:150px 1fr;gap:22px}.album-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.preview-bar{padding:6px 12px;font-size:.56rem;gap:9px;letter-spacing:0}.shell-head{min-height:80px;padding:16px 18px}.brand-name{font-size:1.65rem}.brand-mark{width:39px;height:38px}.brand-sub{font-size:.41rem}.account{gap:8px}.account-role{display:none}.account-name{font-size:.71rem;max-width:88px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account .text-button{font-size:.65rem}.avatar{width:30px;height:30px;font-size:.61rem}.nav-inner{padding:8px 15px;gap:1px}.nav-item{font-size:.72rem;padding:10px 12px}.admin-nav-link{margin-left:7px}.main-nav{z-index:10}main{padding:27px 18px 45px}.calendar-hero{grid-template-columns:1fr;gap:24px;margin-bottom:25px;padding-bottom:0}.calendar-hero h1{font-size:2.75rem}.calendar-hero .lead{font-size:.84rem;margin-top:16px}.next-card{padding:19px 22px}.next-card .eyebrow{margin-bottom:7px}.next-row{padding:10px 0}.next-row p{font-size:.73rem}.next-row h3{font-size:.84rem}.calendar-top{padding:14px;gap:14px}.calendar-top>.row{width:100%}.calendar-top .compact-select{flex:1;max-width:none;min-width:0}.segmented{width:100%;justify-content:space-between}.segmented button{padding:8px 10px;font-size:.7rem}.calendar-period{padding:17px 14px;gap:14px}.calendar-period h2{font-size:.88rem}.calendar-period .date-jump{display:none}.period-controls{gap:7px}.calendar-period .icon-button{width:30px;height:30px}.class-list{padding:0 14px 6px}.class-card{grid-template-columns:49px minmax(0,1fr);gap:12px;padding:20px 0}.date-tile{min-height:63px;align-self:start}.date-tile strong{font-size:26px}.date-tile span:first-child{font-size:.54rem}.class-actions{grid-column:2;align-items:start;max-width:none;margin-top:0}.child-action{justify-content:start}.class-main h3{font-size:.9rem}.class-main p{font-size:.72rem}.calendar-note{padding:14px;font-size:.67rem;align-items:start}.calendar-note .icon{width:15px;height:15px;margin-top:3px}.below-calendar{grid-template-columns:1fr;gap:16px;margin-top:19px}.soft-card{padding:21px}.year-grid{grid-template-columns:1fr 1fr;gap:10px;padding:0 14px 16px}.month{padding:10px}.month-days{gap:1px}.month-days button{min-height:26px;font-size:.62rem}.month h3{font-size:.75rem}.page-heading{align-items:start;flex-direction:column;gap:16px;margin-bottom:24px}.page-heading h1{font-size:2.7rem}.page-heading p:not(.eyebrow){font-size:.84rem}.card-grid,.album-grid{grid-template-columns:1fr}.group-top{padding:21px}.roster{padding:20px}.group-foot{padding:0 20px 20px}.album-art{height:190px}.board-layout{grid-template-columns:1fr}.board-policy{position:static}.compose,.post{padding:20px}.reply-form{align-items:stretch;flex-direction:column}.reply-form .button{align-self:end}.document-layout{display:block}.doc-toc{position:static;display:flex;overflow:auto;gap:8px;padding:0 0 24px}.doc-toc a{border:1px solid var(--line);border-radius:20px;white-space:nowrap;padding:8px 12px;font-size:.7rem}.document{max-width:none}.doc-section h2{font-size:1.8rem}.doc-section{padding-bottom:29px;margin-bottom:25px}.prose p{font-size:.87rem;line-height:1.9}.values-grid{grid-template-columns:repeat(2,1fr);gap:9px}.value-cell{padding:19px}.value-cell h3{font-size:21px}.pair-grid{grid-template-columns:1fr}.pair-card{padding:22px}.condition>summary{padding:16px;font-size:.8rem;gap:12px}.condition .prose{padding:0 18px 20px}.condition .condition-no{min-width:25px}.signin{display:flex;flex-direction:column;gap:30px;margin:0 auto;align-items:stretch}.signin h1{font-size:2.9rem}.signin .lead{margin-top:17px;font-size:.84rem}.signin-art{display:none}.signin-card{padding:25px}.signin-card h2{font-size:1.8rem}.footer{margin:0 18px;gap:14px;flex-direction:column;font-size:.67rem;padding:23px 0}.form-grid{grid-template-columns:1fr}.pending-card{padding:24px}.pending-card h1{font-size:2.3rem}dialog{padding:22px;max-height:90vh}.admin-layout{display:block}.admin-menu{position:static;display:flex;flex-direction:row;overflow:auto;margin-bottom:24px}.admin-menu button{white-space:nowrap;font-size:.74rem;padding:10px 12px}.metric-grid{gap:9px}.metric{padding:14px}.metric strong{font-size:28px}.metric p{font-size:.66rem}.admin-card{padding:19px}.admin-section>.row{gap:14px;flex-wrap:wrap}.admin-section h2{font-size:1.65rem}.document-editor{padding:18px}.editor-section{padding:14px}.editor-footer{align-items:start;flex-wrap:wrap}.editor-toolbar{gap:15px}.account-list{grid-template-columns:1fr}.notice{font-size:.77rem;padding:14px 17px;bottom:14px}}
@media(prefers-reduced-motion:no-preference){button,a{transition:background .15s,color .15s}dialog[open]{animation:appear .16s ease-out}@keyframes appear{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}}



/* Complete calendar: date, time, availability and family actions together. */
.shell-head{min-height:72px;padding-top:14px;padding-bottom:14px;gap:18px}
.portal-home{font-size:1rem;font-weight:650;text-decoration:none;white-space:nowrap}
.preview-bar{flex-wrap:wrap}
.calendar-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin:0 0 22px}
.calendar-heading h1{font-size:2.5rem;margin:7px 0 9px}
.calendar-heading p:not(.eyebrow){color:var(--muted);font-size:.84rem}
.course-period{text-align:right;line-height:1.7;flex-shrink:0}
.calendar-v2{overflow:visible;border-radius:12px;overflow-anchor:none}
.calendar-view-row{display:flex;align-items:center;gap:16px;margin-bottom:10px}
.calendar-views{width:auto;flex-shrink:0}.calendar-views button{min-width:90px;font-size:.82rem}
.year-instruction{font-size:.78rem;color:var(--muted)}
.year-legend{display:flex;align-items:center;gap:10px 18px;font-size:.75rem;flex-wrap:wrap}
.year-legend span{display:flex;gap:7px;align-items:center}.year-legend i{width:14px;height:14px;border-radius:3px}
.session-key{background:var(--pale-blue);border-bottom:3px solid var(--brand-blue)}.closure-key{background:#f7e6af;border-top:2px solid #ac781d}
.year-overview{padding:20px}.overview-year+.overview-year{margin-top:24px}
.overview-year>h2{font-size:1.65rem;margin:0 0 14px}
.overview-months{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start}
.overview-month{border:1px solid var(--line);border-radius:10px;padding:16px;min-width:0}
.overview-month h3{margin-bottom:12px;font-size:1rem}
.overview-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.overview-days>span{font-size:.66rem;color:var(--muted);padding-bottom:6px}
.calendar-v2 .overview-days button{min-height:36px;padding:4px 0;border:1px solid transparent;border-radius:5px;background:transparent;color:var(--ink);font-size:.8rem;position:relative}
.overview-days button.has-sessions{background:var(--pale-blue);font-weight:650;border-bottom:3px solid var(--brand-blue)}
.overview-days button.is-closure{background:#f7e6af;border-top:2px solid #ac781d}
.overview-days button.is-cancelled{text-decoration:line-through;color:var(--muted)}
.overview-days button[aria-current=date]{outline:2px solid var(--action);outline-offset:-2px}
.overview-days button:hover:not(:disabled){background:#d9eefb;border-color:var(--ink)}
.overview-days button.is-closure:hover{background:#eed592}
.overview-days button:disabled{opacity:.3}
.month-closures{list-style:none;padding:12px 0 0;margin:12px 0 0;border-top:1px solid var(--line)}
.month-closures li+li{margin-top:6px}
.month-closures button{width:100%;padding:5px 7px;border:0;border-left:3px solid #bd9347;background:#fcf7e9;border-radius:3px;text-align:left;color:var(--ink)}
.month-closures button:hover{background:#f7e6af}
.month-closures strong{display:block;font-size:.76rem;line-height:1.4;font-weight:600}
.month-closures span{display:block;font-size:.72rem;color:#716447;line-height:1.5;margin-top:2px}
.calendar-empty-day{padding:16px;background:#f1f4f6;border-radius:8px;margin:10px 0;font-size:.85rem}
.calendar-empty-day p{color:var(--muted);font-size:.8rem;margin-top:4px}
.calendar-tools{position:sticky;top:65px;z-index:8;background:var(--white);padding:10px 20px;border-bottom:1px solid var(--line);border-radius:12px 12px 0 0;box-shadow:0 4px 9px #32475408}
.calendar-shortcuts{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.calendar-shortcuts label{display:flex;align-items:center;gap:8px;font-size:.74rem}
.calendar-shortcuts input{width:148px;padding:8px;margin:0;min-height:40px}
.calendar-count{font-size:.73rem;color:var(--muted);margin-left:auto}
.calendar-timeline{padding:0 20px 24px}
.calendar-month{font-size:1.65rem;padding:22px 0 5px;margin:0}
.calendar-week{display:grid;grid-template-columns:56px minmax(0,1fr);gap:16px;margin-top:16px;padding-top:8px;border-top:2px solid #dce5e8}
.calendar-week-number{display:flex;flex-direction:column;align-items:center;align-self:stretch;gap:3px;margin:0;padding:14px 4px;border-radius:6px;background:#eaf8fc;color:var(--ink)}
.calendar-week-number span{font-size:.63rem;font-weight:600}
.calendar-week-number strong{font-size:1.6rem;line-height:1.2;font-weight:600;font-variant-numeric:tabular-nums}
.calendar-week-entries{min-width:0}
.calendar-week-entries>.class-card:first-child{border-top:0}
.calendar-break{margin-left:72px}
.calendar-v2 .class-card{grid-template-columns:48px 112px minmax(210px,1fr) minmax(280px,1.2fr);padding:10px 0;gap:10px 16px;scroll-margin-top:145px;outline-offset:4px}
.calendar-v2 .date-tile{min-height:62px;gap:0;align-self:center;border-radius:8px}
.calendar-v2 .date-tile strong{font-size:25px}
.calendar-v2 .date-tile>span:last-child{font-size:.65rem}
.calendar-v2 .class-main h3{font-size:.9rem;white-space:nowrap}
.past-class{font-size:.68rem;color:var(--muted);display:block;margin-top:5px}
.place-summary{display:flex;align-items:center;gap:7px 10px;flex-wrap:wrap}
.class-availability .tag{font-size:.69rem;white-space:nowrap}
.capacity-label,.class-summary{font-size:.7rem;color:var(--muted)}
.class-summary{display:block;margin-top:6px;line-height:1.5}
.calendar-v2 .class-actions{max-width:none;gap:7px}
.calendar-v2 .child-action{gap:5px 10px}
.child-status{font-size:.77rem;line-height:1.5}
.child-status.is-absent{color:#286e96}
.child-status.is-catchup{color:#846512}
.locked-note{display:block;width:100%;font-size:.7rem;color:var(--muted);text-align:right}
.class-cancelled{background:#f2f4f5}
.inline-booking{grid-column:2/-1;display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:14px;background:#eaf8fc;border-radius:9px}
.inline-booking label{display:flex;flex-direction:column;gap:6px;flex:1;min-width:140px;font-size:.78rem}
.booking-child-select{display:block;position:relative}
.inline-booking select{width:100%;background:var(--white);appearance:none;-webkit-appearance:none;min-height:46px;margin-top:0;padding-right:48px;border-color:#08798f;cursor:pointer}
.booking-child-select>.icon{position:absolute;right:14px;top:50%;width:20px;height:20px;transform:translateY(-50%) rotate(90deg);color:var(--ink);stroke-width:2.3;pointer-events:none}
.inline-booking select:hover{border-color:var(--ink)}
.inline-booking>.text-button{min-height:40px}
.inline-hint{flex-basis:100%;font-size:.75rem}
.entry-feedback{grid-column:2/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.78rem;line-height:1.5;padding:10px 14px;border-left:3px solid #397760;background:#edf5ee;border-radius:4px}
.entry-feedback.error{border-color:#b0412d;background:#fcf0e9;color:#813322}
.entry-feedback .text-button{font-size:.72rem}
.calendar-holiday{display:flex;gap:15px;align-items:center;background:#f7eed4;border-radius:8px;padding:14px 18px;margin:10px 0;scroll-margin-top:145px}
.calendar-holiday strong{font-size:.87rem}
.calendar-holiday p{font-size:.73rem;margin:4px 0 0;color:#716447}
.calendar-v2 button:focus-visible,.calendar-v2 select:focus-visible,.calendar-v2 input:focus-visible,.official-brand:focus-visible{outline:3px solid var(--action);outline-offset:3px}
.calendar-v2 button{min-height:40px}
.calendar-v2 [aria-busy=true]{cursor:progress}
/* Same two linked brand cards as the parent-share report footer. */
.footer{display:grid;grid-template-columns:minmax(0,1fr);justify-content:stretch;justify-items:center;gap:18px;max-width:1200px;margin:0 auto 24px;padding:24px;border:1px solid var(--line);border-radius:18px;background:var(--white);text-align:center}
.footer p{margin:0}
.portal-brands{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;width:100%;max-width:680px}
.official-brand{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:20px;border:1px solid #dce5e8;border-radius:14px;background:#ffffff;color:#4e4e55;text-decoration:none}
.official-brand:hover{border-color:#08798f;background:#eaf8fc}
.official-brand img{width:118px;height:67px;object-fit:contain;display:block}
.official-brand.quantum-brand img{width:168px;height:67px}
.official-brand span{font-size:.62rem;letter-spacing:.13em;font-weight:750;white-space:nowrap}
.official-brand strong{font-size:.8rem;color:var(--action)}
@media(max-width:1255px){.footer{margin-left:28px;margin-right:28px}}
@media(max-width:1000px){
  .overview-months{grid-template-columns:repeat(2,minmax(0,1fr))}
  .calendar-heading{align-items:start;flex-direction:column;gap:10px}.course-period{text-align:left}
  .calendar-v2 .class-card{grid-template-columns:48px minmax(220px,1fr) minmax(245px,1.1fr);gap:5px 14px}
  .calendar-v2 .date-tile{grid-row:1/3}
  .calendar-v2 .class-main{grid-column:2;align-self:end}
  .class-availability{grid-column:2;grid-row:2;align-self:start}
  .calendar-v2 .class-actions{grid-column:3;grid-row:1/3}
  .class-summary{margin-top:4px}
}
@media(max-width:760px){
  .calendar-view-row{gap:8px;flex-wrap:wrap}.calendar-views{justify-content:start;width:auto}.calendar-views button{min-width:90px}
  .year-instruction{font-size:.72rem}.year-legend{font-size:.7rem;gap:8px 12px}
  .year-overview{padding:16px 12px}.overview-months{gap:12px}.overview-month{padding:12px}
  .shell-head{padding:12px 18px;min-height:60px;gap:12px}.portal-home{font-size:.9rem;white-space:normal;line-height:1.3}.account{margin-left:auto}
  .calendar-heading h1{font-size:2rem}.calendar-heading p:not(.eyebrow){font-size:.79rem}
  .calendar-tools{top:62px;padding:10px 12px}.calendar-shortcuts{gap:7px}
  .calendar-shortcuts label{font-size:0;gap:0}.calendar-shortcuts input{width:133px;font-size:.76rem}
  .calendar-shortcuts>.button{padding:8px 10px;font-size:.74rem}.calendar-shortcuts>.icon-button{width:40px}
  .calendar-count{width:100%;margin:0;font-size:.68rem}
  .calendar-timeline{padding:0 12px 18px}.calendar-month{font-size:1.45rem;padding-top:20px}
  .calendar-week{grid-template-columns:32px minmax(0,1fr);gap:8px;margin-top:12px}
  .calendar-week-number{padding:12px 2px}.calendar-week-number span{font-size:.54rem}.calendar-week-number strong{font-size:1.2rem}
  .calendar-break{margin-left:40px}
  .calendar-v2 .class-card{grid-template-columns:42px minmax(0,1fr);gap:6px 11px;scroll-margin-top:175px;padding:12px 0}
  .calendar-v2 .date-tile{min-height:62px;align-self:start}.calendar-v2 .class-main h3{font-size:.92rem}
  .place-summary{gap:5px 8px}.capacity-label,.class-summary{font-size:.68rem}
  .calendar-v2 .class-actions{grid-column:1/-1;grid-row:auto;align-items:stretch;gap:6px;margin-top:3px}
  .calendar-v2 .class-actions:empty{display:none}
  .calendar-v2 .child-action{justify-content:space-between}.child-status{font-size:.76rem}
  .calendar-v2 .class-actions>.button{align-self:end}
  .calendar-v2 .class-actions .button{font-size:.75rem;padding:8px 10px;min-height:44px}
  .locked-note{text-align:left}
  .inline-booking{grid-column:1/-1;padding:12px;gap:10px}.inline-booking label{flex-basis:100%}
  .entry-feedback{grid-column:1/-1;font-size:.75rem;align-items:start;padding:10px}
  .calendar-holiday{padding:12px;align-items:start;gap:10px;scroll-margin-top:175px}.calendar-holiday .tag{font-size:.65rem;white-space:nowrap}.calendar-holiday strong{font-size:.8rem}.calendar-holiday p{font-size:.72rem}
  .footer{margin:0 18px 20px;padding:16px;gap:16px}.portal-brands{grid-template-columns:1fr;gap:12px;max-width:340px}
  .official-brand{padding:18px}.official-brand span{font-size:.64rem}.official-brand strong{font-size:.82rem}
}

/* Functional page introductions and calendar help at the point of use. */
.page-heading{margin-bottom:24px}.page-heading h1,.calendar-heading h1{font-size:1.85rem;line-height:1.3;margin:0}
.calendar-heading{align-items:center;margin-bottom:20px}.calendar-heading .course-period{margin:0}
.calendar-support{display:flex;align-items:start;justify-content:space-between;gap:12px 24px;padding:5px 0 12px;margin-bottom:10px;border-bottom:1px solid var(--line)}
.calendar-support .checkline{font-size:.78rem;line-height:1.5;align-items:start;flex:1}
.calendar-support .checkline input{margin-top:2px;flex-shrink:0}
.calendar-support .checkline small{font-size:.68rem;font-weight:400;margin-top:2px}
.calendar-rules{max-width:540px;flex:1;font-size:.78rem;line-height:1.55}
.calendar-rules summary{cursor:pointer;font-weight:600;min-height:32px;padding:1px 0;text-align:right}
.calendar-rule-text{margin-top:9px;font-size:.78rem;color:var(--muted);line-height:1.5}
.calendar-rule-text p{line-height:inherit;margin-bottom:10px}
.calendar-rules ol{margin:0;padding-left:21px}
.calendar-rules li strong{color:var(--ink)}
.calendar-rule-text:focus-visible{outline:3px solid var(--action);outline-offset:2px}
.calendar-rules li+li{margin-top:7px}
@media(max-width:760px){
  .page-heading h1,.calendar-heading h1{font-size:1.5rem}.calendar-heading{align-items:start;gap:8px}
  .calendar-support{flex-direction:column;gap:7px;padding:0 0 8px;margin-bottom:8px}
  .calendar-support .checkline{font-size:.75rem}.calendar-support .checkline small{font-size:.66rem}
  .calendar-rules{font-size:.75rem;width:100%;max-width:none}.calendar-rules summary{text-align:left;min-height:34px;padding:5px 0}
  .calendar-rule-text{font-size:.78rem;line-height:1.5;margin-top:5px;max-height:34vh;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:2px 5px 3px 2px}.calendar-rules li+li{margin-top:9px}
  .calendar-v2 .class-actions>.button{max-width:100%;white-space:normal;text-align:left}
}
@media(max-width:640px){
  .overview-months{grid-template-columns:minmax(0,1fr)}
  .calendar-v2 .overview-days button{min-height:40px}
}

/* Weekly groups share one day/time grid; headers stay with the comparison. */
#app[data-page="groups"] main{min-height:0;padding-bottom:32px}
.groups-timetable-scroll{overflow:auto;max-height:min(80vh,calc(100dvh - 100px));scroll-margin-top:80px;border:1px solid var(--line);border-radius:12px;background:var(--white);overscroll-behavior:contain;scrollbar-width:thin}
.groups-timetable{--minute:.065rem;--time-width:52px;--lane-width:180px;--column-gap:12px;display:grid;grid-template-columns:var(--time-width) repeat(var(--lanes),minmax(var(--lane-width),1fr));column-gap:var(--column-gap);padding:0 12px 20px;isolation:isolate;min-width:calc(var(--time-width) + var(--lanes)*(var(--lane-width) + var(--column-gap)) + 24px);width:100%}
.timetable-corner,.timetable-day{grid-row:1;position:sticky;top:0;z-index:4;margin:0;background:var(--white);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:center}
.timetable-corner{grid-column:1;left:0;z-index:6;font-size:.68rem;color:var(--muted);justify-content:start}
.timetable-day{font:650 .92rem/1.3 Inter,ui-sans-serif,system-ui,sans-serif;letter-spacing:0}
.timetable-day .day-short{display:none;text-decoration:none}
.timetable-day-column{background:#f2f5f7;border-left:1px solid var(--line);border-right:1px solid var(--line);z-index:-1}
.timetable-time{grid-column:1;height:0;min-height:0;position:sticky;left:0;z-index:3;color:var(--muted);font-size:.69rem;font-variant-numeric:tabular-nums}
.timetable-time>span{display:block;background:var(--white);transform:translateY(-50%);padding:3px 0;line-height:1.3}
.timetable-rule{grid-column:2/-1;height:0;min-height:0;border-top:1px solid #dce5e8;pointer-events:none;z-index:0}
.timetable-group{z-index:1;border:1px solid #dce5e8;border-radius:8px;background:var(--white);margin:2px 4px;min-width:0;min-height:max-content;display:flex;flex-direction:column;overflow:visible}
.timetable-group.has-family{border-color:#08798f;box-shadow:inset 3px 0 #08798f}
.timetable-group .group-top{padding:10px 10px 8px;display:block}
.timetable-group .group-top h2{display:flex;flex-wrap:wrap;font:650 .85rem/1.4 Inter,ui-sans-serif,system-ui,sans-serif;letter-spacing:0}
.timetable-group .group-top h2>span{white-space:nowrap}
.timetable-group .roster{padding:8px 10px;gap:5px;align-content:start}
.timetable-group .person{font-size:.74rem;line-height:1.4;padding:4px 6px;max-width:100%;overflow-wrap:anywhere}
.timetable-group .group-foot{padding:3px 10px 8px;margin-top:auto;gap:3px;align-items:start;flex-direction:column;font-size:.68rem;line-height:1.4}
.timetable-group .group-foot .text-button{font-size:.75rem;min-height:36px;text-align:left;padding:5px 0}
@media(max-width:760px){
  .groups-timetable{--minute:.105rem;--time-width:36px;--lane-width:90px;--column-gap:6px;padding:0 8px 18px}
  .timetable-day{font-size:.78rem}.timetable-day .day-long{display:none}.timetable-day .day-short{display:block}
  .timetable-time{font-size:.64rem}.timetable-corner{font-size:.63rem}
  .timetable-group{margin:2px 1px;border-radius:6px}
  .timetable-group .group-top{padding:8px 5px 6px}.timetable-group .group-top h2{font-size:.75rem}
  .timetable-group .roster{padding:6px 5px;gap:4px}
  .timetable-group .person{font-size:.75rem;padding:3px 4px;width:100%}
  .timetable-group .group-foot{padding:2px 5px 6px;font-size:.67rem}
  .timetable-group .group-foot .text-button{min-height:44px;line-height:1.4;font-size:.73rem}
}

/* The message wall keeps previews visible and opens discussions in place. */
#app[data-page="board"] main{min-height:0;padding-bottom:32px}
.wall-tools{display:flex;align-items:end;gap:18px;margin-bottom:24px;flex-wrap:wrap}
.wall-search{width:min(100%,390px);font-size:.78rem;font-weight:600}.wall-search input{margin-top:6px}
#wall-count{padding-bottom:12px}.wall-guidelines{margin-left:auto;max-width:380px;font-size:.78rem;color:var(--muted);padding-bottom:12px}.wall-guidelines summary{cursor:pointer;font-weight:600}.wall-guidelines p{margin-top:10px}
.notice-wall{columns:3;column-gap:20px}
.wall-note{break-inside:avoid;margin:0 0 20px;border:1px solid #cde2e8;border-radius:14px;overflow:hidden;background:#eaf8fc;transition:box-shadow .15s,transform .15s}
.wall-note:hover{box-shadow:0 5px 18px #32475412;transform:translateY(-2px)}.wall-note:focus-within{outline:3px solid var(--action);outline-offset:3px}
.tone-sage{background:#eaf8fc}.tone-sand{background:#f5f8fa;border-color:var(--line)}.tone-sky{background:#edf6ff;border-color:#ccdeef}.tone-rose{background:#f3fbfd;border-color:#cde2e8}.wall-note.removed{background:#edf1f3}
.wall-open{display:block;text-align:left;width:100%;padding:22px;border:0;background:none;color:var(--ink);border-radius:inherit}.wall-open:focus-visible{outline:none}
.wall-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:.7rem;font-weight:600;color:#596770;min-height:25px;margin-bottom:10px}.sample-label{font-size:.7rem;font-weight:600;color:#65717a}
.wall-title{display:block;font:500 1.5rem/1.2 Georgia,serif;letter-spacing:-.02em;margin:0 0 15px;overflow-wrap:anywhere}
.wall-preview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden;white-space:normal;font-size:.88rem;line-height:1.75;color:#4e4e55}
.wall-byline{display:block;font-size:.71rem;color:#65717a;margin-top:20px}.wall-open-label{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:.78rem;font-weight:650;margin-top:12px}.wall-open-label .icon{width:18px;height:18px}
.wall-picture{width:calc(100% + 44px);max-width:none;display:block;margin:0 -22px 18px;aspect-ratio:8/5;object-fit:cover}.notice-wall>.empty{column-span:all}
body:has(.board-dialog[open]){overflow:hidden}.board-dialog{width:min(760px,calc(100vw - 32px));padding:28px;max-height:calc(100dvh - 40px);border-radius:16px}.board-dialog .modal-head{align-items:start;gap:20px}.board-dialog .modal-head h2{font-size:1.8rem;line-height:1.2;overflow-wrap:anywhere}.board-dialog .modal-head .icon-button{flex-shrink:0}
.notice-byline{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;font-size:.75rem;color:var(--muted);margin-bottom:10px}.detail-sample{margin:0 0 16px}.notice-copy{font-size:.93rem;line-height:1.8}.notice-copy a,.reply a{color:var(--green);font-weight:600;overflow-wrap:anywhere}.notice-picture{margin:0 0 20px}.notice-picture img{width:100%;display:block;border-radius:10px}.notice-picture figcaption{font-size:.72rem;color:var(--muted);margin-top:6px}
.notice-conversation{margin-top:24px;border-top:1px solid var(--line);padding-top:20px}.notice-conversation h3{margin-bottom:12px}.notice-conversation .reply{border-bottom:1px solid #dce5e8}.notice-conversation .reply-form{margin-top:18px}
.wall-compose{padding:0;border:0;border-radius:0}.wall-compose>label{display:block;margin-bottom:18px;font-size:.85rem;font-weight:600}.wall-compose textarea{min-height:170px;margin-top:8px}.wall-result{font-size:.8rem;color:var(--success);margin-top:12px}.wall-result:empty{display:none}.wall-result.error{color:var(--red)}
@media(max-width:1050px){.notice-wall{columns:2}}
@media(max-width:600px){.notice-wall{columns:1}.wall-tools{gap:8px 16px}.wall-search{width:100%}.wall-guidelines{margin-left:0;max-width:none}.wall-open{padding:20px}.wall-picture{width:calc(100% + 40px);margin-left:-20px;margin-right:-20px}.board-dialog{padding:20px;max-height:calc(100dvh - 24px)}.board-dialog .modal-head h2{font-size:1.55rem}.notice-conversation .reply-form{display:flex;flex-direction:column;align-items:stretch}.notice-copy{font-size:.9rem}}
.condition{scroll-margin-top:95px}

.wall-picture svg{display:block;width:100%;height:auto}.sample-gallery{margin:0 0 28px;max-width:800px;padding:24px;border:1px solid var(--line);border-radius:14px;background:var(--white);scroll-margin-top:90px}.sample-gallery h2{font-size:1.7rem;margin-top:10px}.sample-gallery p{font-size:.85rem;color:var(--muted);margin-top:12px}.sample-gallery svg{width:100%;height:auto;display:block;margin-top:18px;border-radius:10px}
.wall-photo{object-fit:cover}.notice-photo{display:block;width:auto;max-width:100%;height:auto;max-height:60vh;object-fit:contain;margin:20px auto;border-radius:8px}
.photo-fields{margin:16px 0}.photo-fields>label{display:block;font-size:.85rem;font-weight:600;margin:12px 0 6px}.photo-fields input{display:block;width:100%;margin-top:8px}.photo-fields input[type=file]{padding:10px;font-size:.8rem;background:var(--white);cursor:pointer}.photo-fields input[type=file]::file-selector-button{padding:7px 12px;margin-right:12px;border:1px solid var(--line);border-radius:6px;background:var(--pale);color:var(--ink);cursor:pointer}.photo-preview img{display:block;max-width:100%;max-height:240px;margin:12px 0;border-radius:8px;object-fit:contain}.photo-feedback.error{color:var(--red)}.notice-photo-editor{border-block:1px solid var(--line);padding:12px 0;margin:18px 0}.notice-photo-editor summary{cursor:pointer;font-size:.85rem;font-weight:600}.photo-fields [hidden]{display:none}

.photo-picker{position:relative;display:table;margin-top:8px;overflow:hidden;border-radius:7px}.photo-picker input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;padding:0;margin:0;cursor:pointer}.photo-picker:focus-within{outline:2px solid var(--action);outline-offset:3px}

/* Cyan-primary palette: colours only; preserve existing content and geometry. */
h1,h2,.portal-home{color:var(--heading)}
.shell-head{background:var(--white)}
.icon-button,.calendar-rules summary{color:var(--action)}
.calendar-shortcuts [data-action=today]{background:var(--brand-cyan);color:var(--action-ink);border-color:var(--action)}
.calendar-shortcuts [data-action=today]:hover{background:#75d1e5}
input[type=checkbox],input[type=radio]{accent-color:var(--action)}
.signin-art circle:first-child{fill:var(--pale)}
.signin-art circle:nth-child(2){fill:var(--pale-blue)}
.signin-art path[stroke]{stroke:var(--action)}
.signin-art path[fill]{fill:var(--brand-cyan)}
.signin-art circle:last-child{fill:var(--brand-blue)}
.album-art svg rect:first-child{fill:var(--pale-blue)}
.album-art svg rect:nth-child(2){fill:var(--white);stroke:var(--action)}
.album-art svg path[fill="#ccd7bd"]{fill:var(--pale)}
.album-art svg path[fill="#819777"]{fill:var(--brand-cyan)}
.album-art svg circle{fill:var(--brand-blue)}
.album-art svg path[stroke]{stroke:var(--line)}

/* One required February answer stays with each named child. */
.registration-children{display:grid;gap:20px}
form[data-registration-form]>.button{display:flex;width:fit-content}
.registration-child{margin:0;min-width:0;padding:18px;border:1px solid var(--line);border-radius:10px}
.registration-child>legend{padding:0 6px;font-size:.95rem;font-weight:650;color:var(--heading)}
.registration-shift{margin:18px 0 0;padding:0;border:0;min-width:0}
.registration-shift>legend{padding:0;font-size:.84rem;font-weight:650;line-height:1.5}
.shift-options{display:flex;flex-wrap:wrap;gap:12px;margin-top:10px}
.shift-options label{display:flex;align-items:center;gap:9px;min-height:44px;margin:0;padding:8px 16px;border:1px solid var(--line);border-radius:8px;cursor:pointer}
.shift-options label:has(input:checked){background:var(--pale);border-color:var(--action)}
.shift-options input[type=radio]{width:18px;height:18px;min-height:0;margin:0;padding:0;accent-color:var(--action);flex-shrink:0}
.registration-child>.text-button{margin-top:10px;min-height:44px}
.registration-legacy{white-space:pre-wrap;overflow-wrap:anywhere}
.registration-summary{padding-left:20px;margin:16px 0}
.registration-summary li+li{margin-top:12px}
.registration-summary strong,.registration-summary span{display:block;overflow-wrap:anywhere}
.registration-summary span{font-size:.85rem;line-height:1.7;color:var(--muted)}

.invitation-actions{margin-top:22px}.invitation-admin{margin-bottom:32px}.invitation-admin h2{margin-bottom:14px}.invitation-admin form{margin:20px 0}.invitation-entry{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.invitation-entry label{margin:12px 0}.invitation-entry input{font-size:.8rem}.invitation-entry h3{overflow-wrap:anywhere}

/* Entry feedback follows the accepted portal palette and preserves footer layout. */
.entry-error{color:var(--danger,#8d342b);border-left:3px solid currentColor;padding:8px 12px;font-size:14px;background:#fff6f2}
.entry-error[hidden]{display:none}
[data-registration-waiting] h1{margin-top:20px}
.invitation-admin>label{display:block;margin-bottom:12px}
.invitation-admin>label input{display:block;width:100%;margin-top:6px}

/* Approved entry simplification; the footer follows content without extra space. */
.signin{display:block;max-width:480px;margin:30px auto 40px}
.signin-card{width:100%}
.auth-links{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-top:20px}
.testdesk .desk-filter{max-width:520px;margin:20px 0}
.testdesk #accounts{margin-top:18px}

/* Password helpers stay within the existing entry cards. */
.password-tools{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:8px}
.password-tools .button{padding:8px 12px}
.password-feedback:empty{display:none}
.password-feedback{margin-top:8px}
form[data-form="signup-verify"]~button.text-button{display:block;margin-top:12px}



/* Agreed programme overlay: informational events never create bookable places. */
.programme-summary {color:var(--muted);font-size:.9rem;margin:0 0 1.25rem;}
.overview-days button.has-event {background:#e4f2ed;color:#145749;box-shadow:inset 0 0 0 2px #279784;}
.overview-days button.has-planned {background:#edf3f9;color:#244a70;border:1px dashed #7392ad;}
.year-legend .event-key {background:#e4f2ed;border:1px solid #279784;}
.calendar-holiday.programme-entry {background:#edf3f9;}
.calendar-holiday.programme-event {background:#e4f2ed;border-left:3px solid #279784;}
.programme-entry p {margin:.3rem 0;}
