/* Shared mobile-first content and administration components. */
[hidden]{display:none!important}button,input,select,textarea{font:inherit}textarea{resize:vertical;color:var(--ink)}button,a,input,select,textarea{touch-action:manipulation}p,h1,h2,h3,span,a{overflow-wrap:anywhere}input,select,textarea{min-width:0;max-width:100%}input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea{width:100%;padding:12px 14px;border:1px solid #cfc8c6;border-radius:8px;background:#fffefa;color:var(--ink);min-height:48px;font-size:1rem}textarea:focus-visible{outline:3px solid #bf5634;outline-offset:3px}label{font-weight:600;font-size:1rem}label input,label select,label textarea{display:block;margin-top:7px}input[type=checkbox]{width:20px;height:20px;accent-color:var(--ink);flex-shrink:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-grid>*{min-width:0}.form-grid .full{grid-column:1/-1}.form-card{background:#fffefa;border:1px solid var(--line);padding:32px;border-radius:16px}.small-note{font-size:0.875rem;color:#746871;line-height:1.7}.preserve-lines{white-space:pre-line}.inline-link,.text-button{padding:8px 0;min-height:44px;text-decoration:underline;text-underline-offset:4px;font-weight:600}.inline-link{font-size:inherit;display:inline}.check-label{display:flex;align-items:flex-start;gap:10px;line-height:1.7;margin:24px 0;font-size:0.875rem;font-weight:400}.check-label input{margin-top:4px}.honey{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.enquiry-section{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px;align-items:start}.enquiry-section>div>p:not(.eyebrow){max-width:350px;color:var(--muted)}.enquiry-note{padding:22px;background:var(--sage);border-radius:12px;max-width:340px;margin:26px 0}.enquiry-section .text-link{font-size:1rem}.success-message,.toast{padding:16px;border-radius:8px;background:#e7efdf;color:#285a37}.error-message,.error{padding:16px;border-radius:8px;background:#fff0e9;color:#9d3429}#enquiry-feedback:empty{display:none}.learning-controls{display:flex;flex-direction:column;gap:9px;margin-bottom:26px}.learning-controls input{max-width:470px}.learning-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.learning-tabs button{border:1px solid var(--line);padding:12px 18px;border-radius:30px;background:#fffefa;min-height:46px;font-size:1rem}.learning-tabs button[aria-selected=true]{background:var(--ink);color:var(--paper);border-color:var(--ink)}.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.learning-card{background:#fffefa;border:1px solid var(--line);border-radius:13px;padding:25px;display:flex;flex-direction:column;min-width:0}.learning-card.quiz-card:nth-child(3n+1){background:#f4ecdf}.learning-card.quiz-card:nth-child(3n+2){background:#efebf5}.learning-card.quiz-card:nth-child(3n){background:#eaf0e3}.card-kicker{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:24px}.resource-symbol{font-size:1.5625rem}.learning-card h3{font-size:1.375rem;line-height:1.35;letter-spacing:-.5px;margin-bottom:14px}.learning-card p{font-size:1rem;line-height:1.75}.learning-card .mini-label{font-size:0.875rem;color:var(--muted);margin-bottom:10px}.learning-card .small-note{font-size:0.875rem}.learning-card .card-link{margin-top:auto;min-height:50px;font-size:1rem}.empty-state{grid-column:1/-1;text-align:center;border:1px dashed #cfc5c7;border-radius:16px;padding:45px 24px;background:#fffdf7}.empty-state>span{font-size:2.6875rem;color:#b46145}.empty-state h3{font-size:1.5625rem}.empty-state p{max-width:520px;margin:0 auto 18px;color:var(--muted)}.empty-state .text-link{font-size:1rem}.class-time{padding:12px 0;border-top:1px solid var(--line);font-weight:600}.batch-cards{margin-bottom:40px}.batch-cards:empty{display:none}.class-details{padding-left:19px;font-size:1rem;line-height:1.9;margin-bottom:24px}.learning-card .availability{font-size:0.875rem;text-align:right}.teacher-visual>img{width:100%;height:100%;object-fit:cover;min-height:300px}.teacher-info p{white-space:pre-line}.subject-option small{display:block;font-size:0.875rem;color:var(--muted)}.subject-option{align-items:center;min-height:50px}.fee-base span{font-size:0.875rem}.quiz-meter{width:100%;height:7px;margin:18px 0 24px;appearance:none;border:none;background:var(--line);accent-color:var(--orange)}.quiz-meter::-webkit-progress-bar{background:var(--line);border-radius:8px}.quiz-meter::-webkit-progress-value{background:var(--orange);border-radius:8px}.quiz-options button{min-height:52px}.quiz-feedback p{margin:9px 0 0}.mobile-dock{display:none}.load-status{position:fixed;left:20px;right:20px;bottom:20px;padding:16px;z-index:50;background:#fff3dc;border:1px solid #d4a156;border-radius:10px;color:var(--ink)}.load-status button,.load-status a{text-decoration:underline;padding:6px}.admin-body{background:#f5f3ed}.admin-header{height:95px;display:flex;align-items:center;gap:22px;padding:0 35px;background:var(--paper);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}.admin-header>.button{margin-left:auto}.admin-badge{font-size:0.75rem;letter-spacing:2px;padding:8px 12px;border:1px solid var(--line);border-radius:5px}.gate-card{max-width:660px;margin:65px auto;padding:45px;background:var(--paper);border:1px solid var(--line);border-radius:18px}.gate-card h1{font-size:2.8125rem;letter-spacing:-2px;margin-bottom:25px}.gate-card h1 em{font-family:Georgia,serif;font-weight:400}.gate-card .small-note{margin-top:28px}.gate-card .text-link{margin-top:15px}.admin-layout{display:grid;grid-template-columns:235px minmax(0,1fr);max-width:1600px;margin:auto}.admin-sidebar{padding:30px 19px;position:sticky;top:95px;height:calc(100vh - 95px);overflow:auto;border-right:1px solid var(--line);background:var(--paper)}.admin-sidebar>.eyebrow{padding-left:12px;margin-bottom:15px;font-size:0.75rem}.admin-sidebar nav{display:flex;flex-direction:column;position:static;gap:4px;padding:0;background:none;box-shadow:none;width:auto;border:none}.admin-sidebar nav button{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:12px;border-radius:8px;font-size:1rem;min-height:46px}.admin-sidebar nav button>span{font-size:1.125rem;width:23px;text-align:center}.admin-sidebar nav button:hover{background:#eee9e1}.admin-sidebar nav button.active{background:var(--ink);color:var(--paper)}.sidebar-note{margin:27px 12px 22px;font-size:0.875rem;line-height:1.7;color:var(--muted)}.admin-sidebar>.text-link{padding:10px 12px}.admin-content{padding:25px 42px 65px;min-width:0}.admin-topline{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:24px}.admin-topline p{margin:0}.admin-topline button{font-size:0.875rem}.admin-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:30px}.admin-page-heading h1{font-size:2.375rem;letter-spacing:-1.8px;line-height:1.2;margin-bottom:12px}.admin-page-heading .eyebrow{margin-bottom:12px;font-size:0.75rem}.admin-page-heading p:not(.eyebrow){font-size:1rem;color:var(--muted);max-width:600px;margin:0}.admin-page-heading>.button{flex-shrink:0}.overview-welcome{padding:35px 38px;background:var(--ink);color:var(--paper);border-radius:18px;display:flex;justify-content:space-between;overflow:hidden;gap:20px}.overview-welcome h2{font-size:2.75rem;margin:22px 0 17px;letter-spacing:-1.8px}.overview-welcome p{max-width:450px;font-size:1rem;color:#e4d4da}.overview-symbol{font-size:14.375rem;line-height:1.3;color:var(--orange);align-self:center}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:23px 0 35px}.stat-grid>div{padding:24px;background:#fffefa;border:1px solid var(--line);border-radius:12px;display:flex;flex-direction:column}.stat-grid strong{font-family:var(--display);font-size:2.1875rem;font-weight:600}.stat-grid span{font-size:0.875rem;color:var(--muted)}.small-heading{font-size:1.375rem;letter-spacing:-.5px}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.quick-grid button{text-align:left;padding:22px;border:1px solid var(--line);border-radius:12px;background:#fffefa;font-size:1rem}.quick-grid button>span{display:block;font-size:1.625rem;margin-bottom:14px;color:#aa573b}.quick-grid button:hover{border-color:var(--ink)}.admin-help{padding:27px;margin-top:30px;background:#e9eddf;border-radius:12px}.admin-help h3{font-size:1.25rem;margin-bottom:10px}.admin-help p{font-size:1rem}.admin-help .text-button{font-size:0.875rem}.admin-filters{display:flex;gap:17px;align-items:end;margin-bottom:24px}.admin-filters label:first-child{flex:1}.admin-filters label:last-child{width:200px}.content-rows{display:flex;flex-direction:column;gap:13px}.content-row{display:flex;align-items:center;gap:20px;padding:23px;border:1px solid var(--line);border-radius:12px;background:#fffefa}.row-icon{width:52px;height:52px;flex-shrink:0;background:#eee8f3;border-radius:12px;display:grid;place-items:center;font-size:1.5625rem}.row-copy{flex:1;min-width:0}.row-copy h3{font-size:1.1875rem;margin:7px 0 5px}.row-copy p{font-size:1rem;margin:0 0 5px;color:var(--muted)}.row-copy small{font-size:0.75rem;color:var(--muted)}.row-copy>div{display:flex;gap:12px;align-items:center}.status-pill{display:inline-flex;padding:3px 9px;border-radius:5px;text-transform:capitalize;font-size:0.75rem;letter-spacing:.3px;background:#ece8e4;color:var(--ink)}.status-pill.published,.status-pill.enrolled{background:#e2edda;color:#3c6030}.status-pill.draft,.status-pill.new{background:#fbe9cd;color:#805a20}.status-pill.archived{background:#e7e4e4;color:#6a6066}.status-pill.contacted{background:#ebe5f3;color:#665180}.settings-summary{display:grid;grid-template-columns:130px 1fr;gap:15px;font-size:1rem;margin:25px 0}.settings-summary dd{margin:0;color:var(--muted)}#admin-toast{margin-bottom:24px;font-size:1rem}#editor{width:min(870px,calc(100% - 36px));max-width:none;padding:32px;max-height:90dvh;border-radius:16px}#editor .editor-heading{display:flex;justify-content:space-between;gap:18px;margin-bottom:24px}#editor .editor-heading h2{font-size:1.9375rem;letter-spacing:-1px;margin:0}#editor .eyebrow{font-size:0.75rem;margin-bottom:8px}.icon-button{font-size:1.875rem;min-height:44px;min-width:44px;align-self:start}.editor-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;padding:18px 0 0;margin-top:18px;border-top:1px solid var(--line);position:sticky;bottom:-32px;background:var(--paper);z-index:2;padding-bottom:16px}.editor-actions .button{font-size:1rem;min-height:48px}#editor-error{color:#aa3327;font-size:1rem;white-space:pre-line;margin-top:18px}.publication-field{display:block;margin-top:25px;max-width:410px}.upload-control{margin-top:10px;padding:13px;background:#efeee6;border-radius:8px}.upload-control label{font-size:0.875rem;font-weight:400}.upload-control input{font-size:0.875rem;width:100%;margin-top:8px}.upload-control span{font-size:0.875rem;display:block;margin-top:6px}.question-heading{margin-top:30px}.question-heading h3{margin-bottom:8px}.question-heading p{font-size:1rem}.question-editor{min-width:0;padding:20px;margin:0 0 20px;border:1px solid #cfc5c7;border-radius:10px;background:#fffefa}.question-editor legend{font-weight:700;padding:0 8px}.question-editor>label{display:block;margin-bottom:15px}.question-editor .form-grid{margin-bottom:15px}.question-actions{display:flex;justify-content:space-between;gap:20px;font-size:0.875rem}.question-actions button{padding:10px;text-decoration:underline}.question-actions button:disabled{opacity:.35}.preview-question{padding:18px 0;border-top:1px solid var(--line)}.preview-question h3{font-size:1.125rem}.enquiry-card{padding:25px;border:1px solid var(--line);border-radius:13px;background:#fffefa;margin-bottom:18px}.enquiry-card-head{display:flex;gap:15px;justify-content:space-between;margin-bottom:18px}.enquiry-card-head h3{margin:10px 0 0;font-size:1.4375rem}.enquiry-card-head small{font-size:0.875rem;color:var(--muted)}.enquiry-card>p{font-size:1rem}.enquiry-contact{display:flex;gap:20px;flex-wrap:wrap;font-size:1rem;margin-bottom:23px}.enquiry-contact a{text-decoration:underline}.enquiry-card form{border-top:1px solid var(--line);padding-top:20px}.enquiry-card .form-grid{grid-template-columns:180px 1fr}.enquiry-card .button{background:var(--lavender);margin:14px 0}.enquiry-card>small{font-size:0.75rem;color:var(--muted)}.followup-status{font-size:0.875rem;margin-left:12px}
@media(min-width:651px) and (max-width:1100px){.resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.enquiry-section{gap:30px;grid-template-columns:.7fr 1.3fr}.admin-layout{grid-template-columns:190px minmax(0,1fr)}.admin-content{padding:25px}.admin-page-heading{align-items:flex-start;flex-direction:column}.overview-symbol{font-size:8.125rem}.quick-grid{grid-template-columns:repeat(2,1fr)}.hero-description{font-size:1rem}.teacher-info>p:not(.eyebrow){font-size:1rem}.admin-header{padding-inline:22px}.admin-sidebar nav button{font-size:0.875rem}}
@media(max-width:650px){body{font-size:1rem}html{scroll-padding-top:92px}.announcement{font-size:0.75rem;gap:6px;line-height:1.5;padding:9px 15px}.announcement a{white-space:nowrap;font-size:0.75rem}.announcement #announcement-text{max-width:70%}.menu-toggle{min-height:44px;min-width:44px;justify-content:center;align-items:flex-end}.hero-description{font-size:1rem;line-height:1.75}.hero .eyebrow{font-size:0.75rem}.hero-actions{gap:12px;flex-wrap:wrap}.hero-actions .button{font-size:0.875rem;min-height:48px}.hero-actions .text-link{font-size:0.875rem}.hero-note{font-size:0.75rem;gap:7px;flex-wrap:wrap}.hero-art{margin-top:14px}.hero h1{font-size:clamp(44px,12vw,65px)}.section{padding-block:48px}.section-heading>p,.batch-intro>p{font-size:1rem;line-height:1.75}.program-card>p,.hub-card p{font-size:1rem}.pill{font-size:0.75rem}.subject-tags span{font-size:0.875rem}.card-link{font-size:1rem;min-height:48px}.program-card h3{font-size:1.5rem}.subjects-line{font-size:1rem;line-height:1.8}.teacher-info .eyebrow{font-size:0.75rem}.teacher-info>p:not(.eyebrow){font-size:1rem}.teacher-info .subject-tags span{font-size:0.75rem}.teacher-info .text-link{font-size:0.875rem;min-height:44px}.educator-card{grid-template-columns:1fr}.teacher-visual{min-height:180px;max-height:260px}.teacher-visual>img{min-height:180px;max-height:260px;object-position:center 30%}.teacher-pattern{font-size:4.6875rem;line-height:1}.teacher-info{padding:25px}.initial-circle{width:108px;height:108px;font-size:2.8125rem}.resource-grid{grid-template-columns:1fr;gap:17px}.learning-card{padding:24px}.learning-card h3{font-size:1.4375rem}.learning-card p{font-size:1rem}.learning-controls label{font-size:1rem}.learning-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.learning-tabs button{font-size:0.875rem;padding:11px 9px;min-height:48px;border-radius:8px}.card-kicker{margin-bottom:18px}.learning-card .small-note{font-size:1rem}.learning-card .card-link{font-size:1rem}.empty-state{padding:30px 20px}.empty-state h3{font-size:1.5rem}.empty-state p{font-size:1rem}.enquiry-section{grid-template-columns:1fr;gap:25px}.enquiry-section .eyebrow{font-size:0.75rem}.enquiry-section h2{font-size:2.4375rem}.enquiry-section>div>p:not(.eyebrow){font-size:1rem}.enquiry-note{font-size:1rem;padding:17px}.form-card{padding:23px 20px}.form-grid{grid-template-columns:1fr;gap:18px}.check-label{font-size:0.875rem}.check-label input{min-width:20px}.enquiry-section .button{width:100%;min-height:50px}.form-card label{font-size:1rem}.form-card input,.form-card select,.form-card textarea{font-size:1rem}.enquiry-section #enquiry-feedback{font-size:1rem}.batch-description p{font-size:1rem}.tabs button{min-height:46px;font-size:0.875rem;padding:10px 7px}.batch-intro .availability{font-size:0.875rem}.subject-option{font-size:1rem;min-height:52px}.subject-option small{font-size:0.875rem}.class-field label,.subject-select legend{font-size:1rem}.subject-help,.batch-detail-row{font-size:0.875rem}.fee-card>p{font-size:1rem}.fee-card .button{font-size:1rem;min-height:50px}.fee-note{font-size:0.875rem}summary{font-size:1rem;min-height:54px}details p{font-size:1rem}.faq-heading .eyebrow{font-size:0.75rem}.contact-section .eyebrow{font-size:0.75rem}.contact-section p:not(.eyebrow){font-size:1rem}.contact-buttons .button{font-size:0.875rem;min-height:48px}.phone-link{font-size:1rem;min-height:44px;display:inline-flex;align-items:center}.address-card address{font-size:1rem}.address-card a{font-size:1rem;min-height:44px;display:flex;align-items:center}.footer-bottom,.footer-bottom button{font-size:0.875rem}.footer-bottom>div{gap:16px}.footer-bottom a,.footer-bottom button{min-height:44px;display:inline-flex;align-items:center}.footer-top p{font-size:1rem}.back-top{font-size:0.875rem}footer{padding-bottom:95px}.mobile-dock{display:flex;position:fixed;bottom:0;left:0;right:0;border-top:1px solid var(--line);z-index:25;background:#fffefaed;backdrop-filter:blur(10px);padding:7px 10px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -5px 20px #44253509}.mobile-dock a{flex:1;text-align:center;min-height:44px;font-size:1.25rem;line-height:1.1}.mobile-dock span{display:block;font-size:0.75rem;line-height:1.8}.load-status{bottom:85px;font-size:0.875rem;left:12px;right:12px}dialog{width:calc(100% - 24px);max-height:90dvh;padding:30px 20px}dialog p{font-size:1rem}.quiz-question{font-size:1.375rem}.quiz-option{font-size:1rem;padding:14px}.quiz-meta{font-size:0.875rem}.quiz-feedback{font-size:1rem}.quiz-footer .button{width:100%;font-size:1rem}.result-actions{flex-direction:column}.result-actions .button{font-size:1rem}.review-item strong{font-size:1rem}.review-item p{font-size:1rem}.admin-header{height:78px;padding:0 16px;gap:10px}.admin-header .brand{font-size:1.5625rem}.admin-header .brand-symbol{width:33px;height:37px;font-size:2.25rem}.admin-header .brand-sub{font-size:0.75rem;letter-spacing:2px}.admin-badge{display:none}.admin-header>.button{font-size:0.875rem;padding:10px;min-height:44px;gap:4px}.admin-layout{display:block}.admin-sidebar{position:sticky;top:78px;height:auto;padding:10px 13px;z-index:9;border-right:0;border-bottom:1px solid var(--line);overflow:visible}.admin-sidebar>.eyebrow,.sidebar-note,.admin-sidebar>.text-link{display:none}.admin-sidebar nav{display:flex;flex-direction:row;overflow-x:auto;scrollbar-width:thin;gap:6px}.admin-sidebar nav button{width:auto;flex-shrink:0;white-space:nowrap;font-size:0.875rem;min-height:44px;padding:10px 13px;gap:7px}.admin-sidebar nav button span{width:16px;font-size:1.0625rem}.admin-content{padding:18px 18px 45px}.admin-topline{margin-bottom:23px}.admin-topline .small-note{font-size:0.75rem}.admin-page-heading{flex-direction:column;align-items:flex-start;gap:19px;margin-bottom:23px}.admin-page-heading h1{font-size:2rem;letter-spacing:-1.3px}.admin-page-heading p:not(.eyebrow){font-size:1rem}.admin-page-heading .eyebrow{font-size:0.75rem}.admin-page-heading .button{font-size:0.875rem;min-height:48px}.overview-welcome{padding:26px;position:relative}.overview-welcome>div:first-child{position:relative;z-index:1}.overview-welcome h2{font-size:2.3125rem}.overview-symbol{position:absolute;right:-30px;top:25px;font-size:10.625rem;opacity:.17}.overview-welcome p{font-size:1rem}.overview-welcome .pill{font-size:0.75rem}.overview-welcome .button{font-size:0.875rem;min-height:48px}.stat-grid{gap:8px;margin:16px 0 27px}.stat-grid>div{padding:16px 12px}.stat-grid strong{font-size:1.75rem}.stat-grid span{font-size:0.75rem}.quick-grid{grid-template-columns:1fr 1fr;gap:10px}.quick-grid button{font-size:0.875rem;padding:18px;line-height:1.6}.small-heading{font-size:1.25rem}.admin-help{padding:22px;margin-top:24px}.admin-help h3{font-size:1.125rem}.admin-help p{font-size:0.875rem}.admin-filters{gap:12px;align-items:start}.admin-filters label{font-size:0.875rem}.admin-filters label:last-child{width:140px}.admin-filters input,.admin-filters select{font-size:1rem!important;padding:10px!important}.content-row{padding:18px 15px;gap:12px;flex-wrap:wrap}.row-icon{display:none}.row-copy{min-width:70%}.row-copy h3{font-size:1.125rem}.row-copy p{font-size:1rem}.content-row>.button{font-size:0.875rem;padding:10px 13px;background:var(--lavender);min-height:44px}.row-copy .small-note{font-size:0.75rem}.settings-summary{grid-template-columns:1fr;gap:7px;font-size:1rem}.settings-summary dd{margin-bottom:12px}.admin-content .form-card h2{font-size:1.875rem}#editor{padding:23px 19px;width:calc(100% - 18px);max-height:94dvh;border-radius:12px}#editor .editor-heading h2{font-size:1.5625rem}#editor .form-grid{gap:16px}#editor label{font-size:0.875rem}.editor-actions{flex-wrap:wrap;bottom:-23px;padding:12px 0;background:var(--paper)}.editor-actions .button{font-size:0.875rem;flex:1;justify-content:center;padding:12px 8px;min-width:80px}.editor-actions #save-button{flex:2}.question-editor{padding:15px 13px}.question-editor legend{font-size:1rem}.question-heading h3{font-size:1.25rem}.question-heading p{font-size:0.875rem}.question-actions{font-size:0.875rem}.publication-field{max-width:none}.enquiry-card{padding:22px 17px}.enquiry-card-head{flex-direction:column;gap:8px}.enquiry-card .form-grid{grid-template-columns:1fr}.enquiry-card>p{font-size:1rem}.enquiry-contact{font-size:1rem;gap:10px;flex-direction:column}.enquiry-contact a{min-height:40px}.gate-card{margin:28px 16px;padding:30px 24px}.gate-card h1{font-size:2.3125rem}.gate-card p{font-size:1rem}.gate-card .eyebrow{font-size:0.75rem}.gate-card .button{font-size:1rem;min-height:48px}.admin-body .mobile-dock{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
