/* Source: /css/universal-site-header-v17.7.2.css */
/* ==========================================================
   TypingTutor.Online — Universal Site Header v17.7.2
   One complete header for tutor, tests, games, kids, blog,
   certificates, information pages, sitemap, and 404.
========================================================== */

#header,
.test-site-header {
    box-sizing: border-box !important;
    position: relative;
    z-index: 1000;
    width: 100%;
    min-height: 80px;
    padding: max(9px, env(safe-area-inset-top)) 0 9px;
    background: var(--surface, #ffffff);
    border-bottom: 1px solid var(--border, #dbe4f0);
    box-shadow: 0 2px 10px rgba(15, 23, 42, .06);
}

#header .header-inner,
.test-header-inner {
    box-sizing: border-box;
    width: min(1660px, calc(100% - 34px));
    min-height: 60px;
    margin-inline: auto;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(235px, 300px) minmax(0, 1fr) auto;
    gap: clamp(10px, 1.4vw, 24px);
    align-items: center;
}

#header .logo,
.test-logo {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-self: start;
    color: inherit;
    text-decoration: none;
}

#header .site-logo-picture,
.test-logo-stack {
    position: relative;
    display: grid;
    width: min(280px, 100%);
    min-width: 0;
}

#header .site-logo-picture,
#header .site-logo-picture-light,
#header .site-logo-picture-dark,
.test-logo-stack > img {
    grid-area: 1 / 1;
}

#header .site-logo-image,
.test-logo img {
    display: block;
    width: min(280px, 100%);
    height: auto;
    max-height: 60px;
    object-fit: contain;
    object-position: left center;
}

#header .site-logo-picture-dark,
.test-logo-dark {
    display: none !important;
}

html[data-theme="dark"] #header .site-logo-picture-light,
html[data-theme="dark"] .test-logo-light {
    display: none !important;
}

html[data-theme="dark"] #header .site-logo-picture-dark,
html[data-theme="dark"] .test-logo-dark {
    display: block !important;
}

#header .primary-mode-navigation,
.test-nav {
    min-width: 0;
    width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(2px, .72vw, 12px);
    overflow: visible;
}

#header #modeSwitcher,
#header .mode-switcher-inner,
#header .mode-navigation {
    min-width: 0;
    width: auto;
}

#header .mode-navigation {
    display: flex;
    align-items: center;
    gap: clamp(2px, .72vw, 12px);
}

#header .mode-switcher-heading {
    display: none !important;
}

#header .lesson-home-nav-button,
#header .mode-navigation > .mode-button,
#header .mode-more > summary.mode-button,
.test-nav > a,
.test-nav-more > summary {
    box-sizing: border-box;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 10px clamp(9px, .78vw, 15px);
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text, #172235);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    font: inherit;
    font-size: clamp(12px, .84vw, 15px);
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color .16s ease, background-color .16s ease,
        border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

#header .mode-button-icon,
#header .lesson-home-nav-icon,
.test-nav .mode-button-icon,
.test-nav-more-menu .mode-button-icon {
    display: inline-flex;
    flex: 0 0 22px;
    width: 22px;
    min-width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 22px;
    text-align: center;
}

#header .mode-button-text,
#header .lesson-home-nav-label,
.test-nav .mode-button-text {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

#header .lesson-home-nav-button:hover,
#header .mode-navigation > .mode-button:hover,
#header .mode-more > summary.mode-button:hover,
.test-nav > a:hover,
.test-nav-more > summary:hover,
.test-nav-more[open] > summary {
    color: var(--primary, #1769ff);
    background: var(--surface-alt, #f2f7ff);
    border-color: #dbe8fa;
}

#header .lesson-home-nav-button-active,
#header .mode-navigation > .mode-button-active,
#header .mode-more.mode-more-active > summary,
.test-nav > a[aria-current="page"],
.test-nav > a.mode-button-active,
.test-nav-more.mode-more-active > summary {
    color: #ffffff !important;
    background: linear-gradient(135deg, #246df0, #285ee5) !important;
    border-color: rgba(31, 92, 222, .58) !important;
    box-shadow: 0 10px 24px rgba(47, 103, 246, .24) !important;
}

#header .header-tools,
.test-header-inner > #themeButton {
    justify-self: end;
}

#header #themeButton,
.test-header-inner > #themeButton {
    box-sizing: border-box;
    min-width: 116px;
    min-height: 48px;
    margin: 0;
    padding: 10px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    background: linear-gradient(135deg, #246df0, #285ee5);
    border: 0;
    border-radius: 12px;
    font: inherit;
    font-size: clamp(12px, .84vw, 15px);
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(47, 103, 246, .20);
}

#header #themeButton > span:first-child,
.test-header-inner > #themeButton > span:first-child {
    display: inline-flex;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    font-size: 19px;
    line-height: 22px;
}

.theme-button-arrow,
.mode-more-chevron {
    font-size: 10px;
    opacity: .8;
}

#header .mode-more,
.test-nav-more {
    position: relative;
    flex: 0 0 auto;
}

#header .mode-more > summary,
.test-nav-more > summary {
    list-style: none;
}

#header .mode-more > summary::-webkit-details-marker,
.test-nav-more > summary::-webkit-details-marker {
    display: none;
}

#header .mode-more-menu,
.test-nav-more-menu {
    box-sizing: border-box;
    position: absolute;
    z-index: 1200;
    top: calc(100% + 10px);
    right: 0;
    width: 244px;
    padding: 8px;
    display: none;
    gap: 4px;
    background: var(--surface-elevated, #ffffff);
    border: 1px solid var(--border, #dbe4f0);
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .18);
}

#header .mode-more[open] .mode-more-menu,
.test-nav-more[open] .test-nav-more-menu {
    display: grid;
}

#header .mode-more-menu .mode-button,
.test-nav-more-menu a,
.test-nav-more-menu button {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    color: var(--text, #172235);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

#header .mode-more-menu .mode-button:hover,
.test-nav-more-menu a:hover,
.test-nav-more-menu button:hover,
.test-nav-more-menu a[aria-current="page"] {
    color: var(--primary, #1769ff);
    background: var(--surface-alt, #f2f7ff);
    border-color: var(--border, #dbe4f0);
}

/* Theme chooser: included here so simple information pages match the app. */
.theme-menu {
    position: fixed;
    z-index: 10050;
    width: 250px;
    padding: 8px;
    background: var(--surface-elevated, #ffffff);
    border: 1px solid var(--border, #dbe4f0);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .22);
}
.theme-menu.hidden { display: none !important; }
.theme-option {
    display: grid;
    grid-template-columns: 36px 1fr 22px;
    gap: 10px;
    align-items: center;
    width: 100%;
    padding: 10px;
    color: var(--text, #172235);
    text-align: left;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
}
.theme-option:hover,
.theme-option:focus-visible {
    background: var(--surface-alt, #f2f7ff);
    border-color: var(--border, #dbe4f0);
    outline: none;
}
.theme-option-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    background: var(--surface-alt, #f2f7ff);
    border-radius: 9px;
    font-size: 18px;
}
.theme-option-copy { display: grid; gap: 2px; }
.theme-option-copy strong { color: var(--text, #172235); font-size: 13px; }
.theme-option-copy small { color: var(--text-light, #718096); font-size: 10px; }
.theme-option-check { color: var(--primary, #1769ff); font-weight: 900; opacity: 0; }
.theme-option-selected { background: var(--primary-light, #edf4ff); border-color: var(--border, #dbe4f0); }
.theme-option-selected .theme-option-check { opacity: 1; }

html[data-theme="dark"] #header,
html[data-theme="dark"] .test-site-header {
    background: #101b2e;
    border-color: #40516a;
}
html[data-theme="dark"] #header .lesson-home-nav-button,
html[data-theme="dark"] #header .mode-navigation > .mode-button,
html[data-theme="dark"] #header .mode-more > summary.mode-button,
html[data-theme="dark"] .test-nav > a,
html[data-theme="dark"] .test-nav-more > summary,
html[data-theme="dark"] #header .mode-more-menu .mode-button,
html[data-theme="dark"] .test-nav-more-menu a,
html[data-theme="dark"] .test-nav-more-menu button {
    color: #dce7f7;
}
html[data-theme="dark"] #header .mode-more-menu,
html[data-theme="dark"] .test-nav-more-menu,
html[data-theme="dark"] .theme-menu {
    background: #101b2e;
    border-color: #40516a;
}
html[data-theme="dark"] .theme-option,
html[data-theme="dark"] .theme-option-copy strong { color: #e7eef9; }
html[data-theme="dark"] .theme-option-copy small { color: #9aabc2; }
html[data-theme="dark"] .theme-option-icon,
html[data-theme="dark"] .theme-option:hover,
html[data-theme="dark"] .theme-option:focus-visible,
html[data-theme="dark"] #header .mode-more-menu .mode-button:hover,
html[data-theme="dark"] .test-nav-more-menu a:hover,
html[data-theme="dark"] .test-nav-more-menu button:hover {
    background: #17263c;
    border-color: #304662;
}

@media (prefers-color-scheme: dark) {
    html[data-theme="system"] #header,
    html[data-theme="system"] .test-site-header {
        background: #101b2e;
        border-color: #40516a;
    }
    html[data-theme="system"] #header .site-logo-picture-light,
    html[data-theme="system"] .test-logo-light { display: none !important; }
    html[data-theme="system"] #header .site-logo-picture-dark,
    html[data-theme="system"] .test-logo-dark { display: block !important; }
    html[data-theme="system"] #header .lesson-home-nav-button,
    html[data-theme="system"] #header .mode-navigation > .mode-button,
    html[data-theme="system"] #header .mode-more > summary.mode-button,
    html[data-theme="system"] .test-nav > a,
    html[data-theme="system"] .test-nav-more > summary,
    html[data-theme="system"] #header .mode-more-menu .mode-button,
    html[data-theme="system"] .test-nav-more-menu a,
    html[data-theme="system"] .test-nav-more-menu button { color: #dce7f7; }
    html[data-theme="system"] #header .mode-more-menu,
    html[data-theme="system"] .test-nav-more-menu,
    html[data-theme="system"] .theme-menu {
        background: #101b2e;
        border-color: #40516a;
    }
}

@media (max-width: 1360px) {
    #header .header-inner,
    .test-header-inner {
        grid-template-columns: minmax(205px, 235px) minmax(0, 1fr) auto;
        gap: 8px;
    }
    #header .site-logo-picture,
    #header .site-logo-image,
    .test-logo-stack,
    .test-logo img { width: min(235px, 100%); }
    #header .lesson-home-nav-button,
    #header .mode-navigation > .mode-button,
    #header .mode-more > summary.mode-button,
    .test-nav > a,
    .test-nav-more > summary {
        min-height: 44px;
        padding-inline: 8px;
        gap: 6px;
        font-size: 12px;
    }
    #header #themeButton,
    .test-header-inner > #themeButton {
        min-width: 104px;
        min-height: 44px;
        padding-inline: 11px;
        font-size: 12px;
    }
}

@media (max-width: 1040px) {
    #header,
    .test-site-header {
        min-height: 0;
        padding-top: max(7px, env(safe-area-inset-top));
        padding-bottom: 7px;
    }
    #header .header-inner,
    .test-header-inner {
        width: min(100% - 22px, 1660px);
        min-height: 0;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 12px;
    }
    #header .primary-mode-navigation,
    .test-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: visible;
        padding: 2px 0 3px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    #header .primary-mode-navigation::-webkit-scrollbar,
    .test-nav::-webkit-scrollbar { display: none; }
    #header .header-tools,
    .test-header-inner > #themeButton { grid-column: 2; grid-row: 1; }
    .test-logo { grid-column: 1; grid-row: 1; }
}

@media (max-width: 590px) {
    #header .header-inner,
    .test-header-inner { width: min(100% - 14px, 1660px); }
    #header .site-logo-picture,
    #header .site-logo-image,
    .test-logo-stack,
    .test-logo img { width: min(190px, 100%); }
    #header .lesson-home-nav-button,
    #header .mode-navigation > .mode-button,
    #header .mode-more > summary.mode-button,
    .test-nav > a,
    .test-nav-more > summary {
        min-width: 68px;
        min-height: 44px;
        padding: 7px 8px;
        flex-direction: column;
        gap: 3px;
        font-size: 9px;
    }
    #header .mode-more-chevron,
    .test-nav-more .mode-more-chevron { display: none; }
    #header #themeButton,
    .test-header-inner > #themeButton {
        min-width: 48px;
        min-height: 42px;
        padding: 8px 10px;
    }
    #header #themeButton > span:nth-child(2),
    #header #themeButton > span:last-child,
    .test-header-inner > #themeButton > span:nth-child(2),
    .test-header-inner > #themeButton > span:last-child { display: none; }
}

/* ==========================================================
   v17.10.182 — Reliable mobile More menu
   Explicit JS toggling + fixed viewport panel prevents the menu from
   opening outside the horizontally scrolling navigation in Chrome mobile.
========================================================== */
@media (max-width: 1040px), (pointer: coarse) {
    #header .mode-more-menu,
    .test-nav-more-menu {
        position: fixed !important;
        z-index: 10050 !important;
        top: var(--site-more-top, 118px) !important;
        right: 12px !important;
        bottom: auto !important;
        left: 12px !important;
        width: auto !important;
        max-width: none !important;
        max-height: min(var(--site-more-max-height, 70vh), 480px) !important;
        margin: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        border-radius: 16px;
        box-shadow: 0 20px 52px rgba(15, 23, 42, .24);
    }

    #header .mode-more[open] > summary.mode-button,
    .test-nav-more[open] > summary {
        color: var(--primary, #1769ff);
        background: var(--surface-alt, #f2f7ff);
        border-color: var(--border, #dbe4f0);
    }
}

/* v17.10.327: readable hover, open and keyboard-focus states in both dark modes. */
html[data-theme="dark"] #header .lesson-home-nav-button:is(:hover,:focus-visible),
html[data-theme="dark"] #header .mode-navigation > .mode-button:is(:hover,:focus-visible),
html[data-theme="dark"] #header .mode-more > summary.mode-button:is(:hover,:focus-visible),
html[data-theme="dark"] #header .mode-more[open] > summary.mode-button,
html[data-theme="dark"] .test-nav > a:is(:hover,:focus-visible),
html[data-theme="dark"] .test-nav-more > summary:is(:hover,:focus-visible),
html[data-theme="dark"] .test-nav-more[open] > summary,
html[data-theme="dark"] #header .mode-more-menu .mode-button:is(:hover,:focus-visible),
html[data-theme="dark"] .test-nav-more-menu a:is(:hover,:focus-visible),
html[data-theme="dark"] .test-nav-more-menu button:is(:hover,:focus-visible) {
    color: #e7eef9;
    background: #213a5f;
    border-color: #526d91;
    text-decoration: none;
}
@media (prefers-color-scheme: dark) {
html[data-theme="system"] #header .lesson-home-nav-button:is(:hover,:focus-visible),
html[data-theme="system"] #header .mode-navigation > .mode-button:is(:hover,:focus-visible),
html[data-theme="system"] #header .mode-more > summary.mode-button:is(:hover,:focus-visible),
html[data-theme="system"] #header .mode-more[open] > summary.mode-button,
html[data-theme="system"] .test-nav > a:is(:hover,:focus-visible),
html[data-theme="system"] .test-nav-more > summary:is(:hover,:focus-visible),
html[data-theme="system"] .test-nav-more[open] > summary,
html[data-theme="system"] #header .mode-more-menu .mode-button:is(:hover,:focus-visible),
html[data-theme="system"] .test-nav-more-menu a:is(:hover,:focus-visible),
html[data-theme="system"] .test-nav-more-menu button:is(:hover,:focus-visible) {
    color: #e7eef9;
    background: #213a5f;
    border-color: #526d91;
    text-decoration: none;
}
}

/* Source: /account/site-header.css */
/* The shared header owns navigation; neutralize account disclosure defaults. */
.test-header-inner { width: min(1500px, calc(100% - 48px)); }
.test-nav-more { border: 0; padding: 0; margin: 0; }
.test-nav-more[open] > summary { margin-bottom: 0; }
.test-nav a:hover { text-decoration: none; }
.test-site-header button, .theme-menu button { font-family: inherit; }
@media (max-width: 700px) {
  .test-header-inner { width: calc(100% - 28px); }
}

/* Source: /classroom/classroom.css */
:root{--bg:#f5f7fc;--text:#15223b;--text-light:#64748b;--surface:#fff;--surface-alt:#eff4fc;--surface-elevated:#fff;--border-soft:#dbe4f0;color-scheme:light}html[data-theme="dark"]{--bg:#0b1222;--text:#e5edff;--text-light:#a9bad6;--surface:#131f34;--surface-alt:#1c2b45;--surface-elevated:#1c2b45;--border-soft:#344762;color-scheme:dark}
:root{--class-accent:#2563eb;--class-text:var(--text,#15223b);--class-surface:var(--surface,#fff);--class-border:var(--border-soft,#dbe4f0)}body{margin:0;background:var(--bg,#f5f7fc);color:var(--class-text);font:16px/1.55 system-ui,sans-serif}*{box-sizing:border-box}.class-shell{width:min(1500px,calc(100% - 32px));margin:24px auto 60px}.class-hero{padding:28px;border-radius:22px;background:linear-gradient(120deg,#173fc9,#6645d9);color:#fff}.class-hero h1{font-size:clamp(30px,4vw,46px);margin:8px 0}.class-hero p{max-width:850px;margin:8px 0}.class-actions,.class-tabs{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.class-tabs{margin:20px 0}.class-panel,.class-card{background:var(--class-surface);border:1px solid var(--class-border);border-radius:18px;padding:24px;margin:16px 0}.class-panel h2,.class-card h3{margin:0 0 12px}.class-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.class-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.class-card{margin:0}.class-card.featured{border:2px solid #2563eb}.class-card .price{font-size:35px;font-weight:800;color:var(--class-accent)}.class-card ul{padding-left:20px}.class-card li{margin:9px 0}label{display:block;font-weight:650;margin:10px 0 5px}input,select{width:100%;min-height:44px;border:1px solid var(--class-border);border-radius:10px;padding:10px;background:var(--class-surface);color:var(--class-text);font:inherit}input[type=checkbox]{width:18px;min-height:18px;vertical-align:middle}button,.class-button{border:1px solid var(--class-border);border-radius:11px;background:#2563eb;color:white;padding:11px 16px;font:650 15px system-ui;cursor:pointer;text-decoration:none;display:inline-block}button.secondary,.class-button.secondary{background:var(--class-surface);color:var(--class-text)}button.danger{background:#fff1f2;color:#b91c1c}button:disabled{opacity:.5;cursor:wait}.class-note{color:var(--text-light,#64748b);font-size:14px}.class-alert{padding:14px;border-radius:12px;background:var(--surface-alt,#eff6ff);border:1px solid var(--class-border);margin:16px 0}.class-alert.error{border-color:#f87171}.class-table-wrap{overflow:auto}.class-table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}.class-table th,.class-table td{padding:12px;border-bottom:1px solid var(--class-border);white-space:nowrap}.class-table th{font-size:12px;text-transform:uppercase;color:var(--text-light,#64748b)}.class-tag{display:inline-block;border-radius:20px;background:#e7efff;color:#2147a1;padding:4px 10px;font-size:12px;font-weight:700}.class-tag.met{background:#dcfce7;color:#166534}.class-tag.pending{background:#fff1db;color:#854d0e}.class-code{font:800 22px ui-monospace,monospace;letter-spacing:2px}.class-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.class-metrics strong{display:block;font-size:30px;color:var(--class-accent)}.class-metrics span{font-size:14px}.class-dialog{border:1px solid var(--class-border);border-radius:20px;width:min(680px,calc(100% - 24px));max-height:90vh;overflow:auto;background:var(--class-surface);color:var(--class-text);padding:24px}.class-dialog::backdrop{background:#0f172a99}a{color:#2563eb}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #f59e0b;outline-offset:3px}[hidden]{display:none!important}@media(max-width:750px){.class-grid,.class-plans{grid-template-columns:1fr}.class-metrics{grid-template-columns:repeat(2,1fr)}.class-shell{width:calc(100% - 20px)}.class-hero,.class-panel,.class-card{padding:18px}}footer{padding:24px;display:flex;justify-content:center;gap:20px;flex-wrap:wrap}

textarea{width:100%;font:inherit;padding:12px;background:var(--class-surface);color:var(--class-text);border:1px solid var(--class-border);border-radius:12px}textarea:focus-visible{outline:3px solid #f59e0b;outline-offset:3px}.cards-dialog{width:min(1100px,calc(100% - 24px))}.login-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.student-login-card{border:1px dashed var(--class-border);border-radius:12px;padding:20px;overflow-wrap:anywhere}.student-login-card p{margin:8px 0;font-size:14px}.student-login-card strong{font-size:20px}.student-shell{max-width:1500px}
#studentLoginForm{width:100%;max-width:760px}.student-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.student-summary strong{display:block;font-size:25px}.student-summary div{border:1px solid var(--class-border);padding:14px;border-radius:12px}.student-summary span{font-size:13px;color:var(--text-light)}@media(max-width:750px){.login-cards{grid-template-columns:1fr}.student-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media print{body:has(#cardsDialog[open])>*{display:none!important}body:has(#cardsDialog[open])>#cardsDialog{display:block!important;position:static;width:100%;max-width:none;max-height:none;overflow:visible;border:0;background:white;color:black;padding:0}#cardsDialog::backdrop{display:none}#cardsDialog>.class-actions{display:none!important}#cardsDialog .login-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#cardsDialog .student-login-card{break-inside:avoid;color:black;border-color:#888}#cardsDialog .class-note{color:#444}}

.class-plans{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:1100px){.class-plans{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:750px){.class-plans{grid-template-columns:1fr}}

.school-profile-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:900px}.school-profile-form label{display:grid;gap:8px}.school-profile-form input,.school-profile-form textarea{width:100%;box-sizing:border-box}.school-profile-form button{justify-self:start}.school-overview strong{overflow-wrap:anywhere}@media(max-width:650px){.school-profile-form{grid-template-columns:1fr}}

.school-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center;gap:36px}.school-hero-copy{min-width:0}.school-hero-copy h1{font-size:clamp(30px,3.1vw,48px);line-height:1.16;margin:20px 0}.school-hero-copy>p{max-width:660px}.school-hero-visual{margin:0;min-width:0;border-radius:24px;overflow:hidden;border:1px solid rgba(255,255,255,.3);box-shadow:0 16px 40px rgba(15,23,42,.2);aspect-ratio:3/2}.school-hero-visual picture,.school-hero-visual img{display:block;width:100%;height:100%}.school-hero-visual img{object-fit:cover}.school-hero-copy .class-actions{gap:10px}.school-hero-copy .class-button{white-space:normal;text-align:center;max-width:100%;box-sizing:border-box}#classSession{overflow-wrap:anywhere}@media(max-width:900px){.school-hero{grid-template-columns:1fr;gap:22px}.school-hero-visual{max-width:680px;width:100%;justify-self:center}.school-hero-copy>p{max-width:none}}@media(max-width:480px){.school-hero-copy h1{font-size:30px}.school-hero-copy>span{font-size:12px}.school-hero-visual{border-radius:16px}.school-hero-copy .class-actions{display:grid;grid-template-columns:1fr}.school-hero-copy .class-button{width:100%}}

/* v17.10.230: printable school booklet */
.school-booklet{display:grid;grid-template-columns:130px minmax(0,1fr);gap:24px;align-items:center}.school-booklet>img{width:100%;height:auto;border-radius:10px;border:1px solid var(--class-border,#dbe4f0)}.school-booklet h2{margin-top:0}@media(max-width:600px){.school-booklet{grid-template-columns:1fr;gap:16px}.school-booklet>img{width:110px}.school-booklet .class-actions{align-items:stretch}.school-booklet .class-button{text-align:center}}

