/* Optional school identity. Base styles are intentionally preserved verbatim. */
.brand-original{display:contents}.brand-school{display:none}
.theme-choice{display:flex;flex-direction:column;align-items:stretch;gap:6px;font-size:11px;color:var(--muted);margin:0 0 18px}.theme-choice select{width:100%;min-height:38px;border:1px solid var(--line);border-radius:8px;padding:8px 10px;background:var(--white);color:var(--ink);font:12px 'Segoe UI',Arial,sans-serif}.theme-choice-login{max-width:250px;margin-top:24px}.theme-choice-footer{display:none}
html[data-portal-theme="school"]{--paper:#fffaf2;--ink:#382a40;--muted:#736478;--green:#68367b;--green-light:#f1e8f6;--gold:#ffde66;--line:#e9e0eb;--red:#b6384b;--shadow:0 8px 30px #68367b08}
html[data-portal-theme="school"] .brand-original{display:none}
html[data-portal-theme="school"] .brand-school{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 6px;background:#ffde66;border-radius:16px;width:100%}
html[data-portal-theme="school"] .brand-school img{display:block;width:148px;max-width:100%;height:auto}
html[data-portal-theme="school"] .brand-caption{font:9px 'Segoe UI',Arial,sans-serif;letter-spacing:1.3px;text-transform:uppercase;color:#51315e}
html[data-portal-theme="school"] .sidebar{background:#f4edf8;border-right-color:#e0d1e9}
html[data-portal-theme="school"] .sidebar::before{content:"";position:absolute;inset:0 0 auto;height:6px;background:linear-gradient(90deg,#ffde66 0 25%,#e85c50 25% 50%,#98c8c1 50% 75%,#a484ba 75%)}
html[data-portal-theme="school"] .sidebar .brand{margin:0 0 28px}
html[data-portal-theme="school"] .side-label{color:#765983}
html[data-portal-theme="school"] .nav button{color:#614d67}
html[data-portal-theme="school"] .nav button:hover{background:#eadef1}
html[data-portal-theme="school"] .nav button.active,html[data-portal-theme="school"] .nav .nav-group-toggle.active{background:#eee1f5;color:#68367b}
html[data-portal-theme="school"] .nav [data-nav-group="secretariat"]>.icon{color:#2f7775}
html[data-portal-theme="school"] .nav [data-nav-group="hr"]>.icon{color:#ba5149}
html[data-portal-theme="school"] .nav .nav-children{border-left-color:#d2b9df}
html[data-portal-theme="school"] .side-note{background:#fff0b9;color:#644c64;border-radius:12px}
html[data-portal-theme="school"] .avatar{background:#f5c2cc;color:#68367b}
html[data-portal-theme="school"] .topbar{background:#fffdf8}
html[data-portal-theme="school"] .demo-strip{background:#f2eaf6;color:#72557f}
html[data-portal-theme="school"] h1,html[data-portal-theme="school"] h2{color:#603270}
html[data-portal-theme="school"] .btn{border-color:#e0d1e7;border-radius:10px}
html[data-portal-theme="school"] .btn:hover{background:#f5edf8}
html[data-portal-theme="school"] .btn.primary{background:#68367b;border-color:#68367b;color:#fff}
html[data-portal-theme="school"] .btn.primary:hover{background:#4f245f;border-color:#4f245f}
html[data-portal-theme="school"] .btn.gold{background:#ffde66;border-color:#f1cc50;color:#4c3056}
html[data-portal-theme="school"] .panel,html[data-portal-theme="school"] .task-card,html[data-portal-theme="school"] .stat{border-color:#e9e0eb;border-radius:14px;box-shadow:var(--shadow)}
html[data-portal-theme="school"] .overview-enrollment,html[data-portal-theme="school"] .hero,html[data-portal-theme="school"] .login-story{background:#ffde66;color:#382a40}
html[data-portal-theme="school"] .overview-enrollment h2,html[data-portal-theme="school"] .overview-enrollment .eyebrow,html[data-portal-theme="school"] .overview-total,html[data-portal-theme="school"] .overview-enrollment-side>strong,html[data-portal-theme="school"] .hero h1,html[data-portal-theme="school"] .login-story h1{color:#603270}
html[data-portal-theme="school"] .overview-enrollment p,html[data-portal-theme="school"] .overview-enrollment-side>span,html[data-portal-theme="school"] .hero p,html[data-portal-theme="school"] .hero .eyebrow,html[data-portal-theme="school"] .login-story p,html[data-portal-theme="school"] .login-story .eyebrow{color:#594558}
html[data-portal-theme="school"] .overview-enrollment-side{border-color:#cfaf57}
html[data-portal-theme="school"] .overview-enrollment-side .btn{background:#68367b;color:#fff;border-color:#68367b}
html[data-portal-theme="school"] .overview-enrollment{background:#68367b;color:#fff}
html[data-portal-theme="school"] .overview-enrollment h2,html[data-portal-theme="school"] .overview-enrollment-side>strong{color:#fff}
html[data-portal-theme="school"] .overview-total,html[data-portal-theme="school"] .overview-enrollment .eyebrow{color:#ffde66}
html[data-portal-theme="school"] .overview-enrollment p,html[data-portal-theme="school"] .overview-enrollment-side>span{color:#f1e6f6}
html[data-portal-theme="school"] .overview-enrollment-side{border-color:#a77ab9}
html[data-portal-theme="school"] .overview-enrollment-side .btn{background:#ffde66;color:#4c3056;border-color:#ffde66}
html[data-portal-theme="school"] .overview-grid>.panel:nth-child(4n+1),html[data-portal-theme="school"] .stats>.stat:nth-child(4n+1),html[data-portal-theme="school"] .cards>.task-card:nth-child(4n+1){border-top:4px solid #a484ba}
html[data-portal-theme="school"] .overview-grid>.panel:nth-child(4n+2),html[data-portal-theme="school"] .stats>.stat:nth-child(4n+2),html[data-portal-theme="school"] .cards>.task-card:nth-child(4n+2){border-top:4px solid #e87368}
html[data-portal-theme="school"] .overview-grid>.panel:nth-child(4n+3),html[data-portal-theme="school"] .stats>.stat:nth-child(4n+3),html[data-portal-theme="school"] .cards>.task-card:nth-child(4n+3){border-top:4px solid #85bab4}
html[data-portal-theme="school"] .overview-grid>.panel:nth-child(4n+4),html[data-portal-theme="school"] .stats>.stat:nth-child(4n+4),html[data-portal-theme="school"] .cards>.task-card:nth-child(4n+4){border-top:4px solid #efc744}
html[data-portal-theme="school"] .hero-art .leaf{fill:#8bc4b7}html[data-portal-theme="school"] .hero-art .leaf2{fill:#b2d9c5}html[data-portal-theme="school"] .hero-art .gold{fill:#e87569}html[data-portal-theme="school"] .hero-art .ring{stroke:#a07ca7}
html[data-portal-theme="school"] .login-story .brand{max-width:220px}html[data-portal-theme="school"] .login-story .brand-school{background:transparent;padding:0;align-items:flex-start}html[data-portal-theme="school"] .login-story .brand-school img{width:205px}html[data-portal-theme="school"] .login-story .brand-caption{color:#68425f}
html[data-portal-theme="school"] .pill.completed{background:#e6f3e9;color:#2c6344}html[data-portal-theme="school"] .pill.draft{background:#fff0bc;color:#795114}
html[data-portal-theme="school"] .notice{background:#fff2d1;color:#78551b;border-color:#ebd6a1}html[data-portal-theme="school"] .notice.green{background:#e9f5ef;color:#315f49;border-color:#c5dfd0}
html[data-portal-theme="school"] table thead th{background:#f1e9f5;color:#684373}
html[data-portal-theme="school"] .search,html[data-portal-theme="school"] select,html[data-portal-theme="school"] .account-form input,html[data-portal-theme="school"] .school-dialog input:not([type="checkbox"]):not([type="radio"]),html[data-portal-theme="school"] .school-dialog textarea{border-color:#decee5;background:#fff;color:var(--ink)}
html[data-portal-theme="school"] .editor-label,html[data-portal-theme="school"] .select-field{color:#736478}
html[data-portal-theme="school"] button:focus-visible,html[data-portal-theme="school"] a:focus-visible,html[data-portal-theme="school"] input:focus-visible,html[data-portal-theme="school"] select:focus-visible,html[data-portal-theme="school"] textarea:focus-visible{outline-color:#68367b}
@media(max-width:800px){.footer{flex-wrap:wrap;gap:16px}.theme-choice-footer{display:flex;max-width:210px;min-width:160px;margin:0}html[data-portal-theme="school"] .mobile-brand .brand-school{background:transparent;padding:0}html[data-portal-theme="school"] .mobile-brand .brand-school img{width:105px}html[data-portal-theme="school"] .mobile-brand .brand-caption{display:none}html[data-portal-theme="school"] .topbar{background:#ffde66}html[data-portal-theme="school"] .mobile-nav{background:#fff8df}html[data-portal-theme="school"] .mobile-nav .nav-children{background:#fffaf2}html[data-portal-theme="school"] .mobile-nav .nav-children button.active{background:#eee1f5}}
