/* ==========================================================
   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}}/* TypingTutor.Online global footer v17.10.21 */.universal-site-footer{display:block;box-sizing:border-box;width:100%;margin-top:48px;padding:36px clamp(18px,4vw,56px) 24px;color:var(--text-light,#64748b);background:linear-gradient(180deg,#fbfdff 0%,#f6f9fd 100%);border-top:1px solid var(--border,#d9e2ef);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.universal-footer-inner{box-sizing:border-box;width:min(1500px,100%);margin:0 auto}.universal-footer-main{display:grid;grid-template-columns:minmax(240px,.85fr) minmax(0,2.15fr);gap:clamp(32px,5vw,72px);align-items:start}.universal-footer-brand{display:grid;gap:9px;max-width:340px;text-align:left}.universal-footer-home{width:max-content;color:var(--text,#0f172a) !important;font-size:18px;font-weight:850;line-height:1.25;text-decoration:none;letter-spacing:-.01em}.universal-footer-home:hover,.universal-footer-home:focus-visible{color:var(--primary,#1769ff) !important}.universal-footer-brand span{color:var(--text-light,#64748b);font-size:13px;font-weight:550;line-height:1.6}.universal-footer-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px clamp(22px,4vw,54px)}.universal-footer-group{min-width:0}.universal-footer-group>strong{display:block;margin:0 0 10px;color:var(--text,#0f172a);font-size:11px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.universal-footer-group-links{display:grid;gap:8px}.universal-footer-group-links a{width:max-content;max-width:100%;color:var(--text-light,#64748b);font-size:13px;font-weight:700;line-height:1.45;text-decoration:none;transition:color .16s ease,transform .16s ease}.universal-footer-group-links a:hover,.universal-footer-group-links a:focus-visible{color:var(--primary,#1769ff);text-decoration:underline;text-underline-offset:3px}.universal-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:28px;padding-top:18px;border-top:1px solid color-mix(in srgb,var(--border,#d9e2ef) 82%,transparent);color:var(--text-light,#64748b);font-size:11px;font-weight:600;line-height:1.5}html[data-theme="dark"] .universal-site-footer{color:#94a3b8;background:#0f172a;border-top-color:#334155}html[data-theme="dark"] .universal-footer-home,html[data-theme="dark"] .universal-footer-group>strong{color:#f8fafc!important}html[data-theme="dark"] .universal-footer-brand span,html[data-theme="dark"] .universal-footer-group-links a,html[data-theme="dark"] .universal-footer-bottom{color:#a8b5c7}html[data-theme="dark"] .universal-footer-bottom{border-top-color:#334155}html[data-theme="dark"] .universal-footer-home:hover,html[data-theme="dark"] .universal-footer-home:focus-visible,html[data-theme="dark"] .universal-footer-group-links a:hover,html[data-theme="dark"] .universal-footer-group-links a:focus-visible{color:#60a5fa!important}@media(prefers-color-scheme:dark){html[data-theme="system"] .universal-site-footer{color:#94a3b8;background:#0f172a;border-top-color:#334155}html[data-theme="system"] .universal-footer-home,html[data-theme="system"] .universal-footer-group>strong{color:#f8fafc!important}html[data-theme="system"] .universal-footer-brand span,html[data-theme="system"] .universal-footer-group-links a,html[data-theme="system"] .universal-footer-bottom{color:#a8b5c7}html[data-theme="system"] .universal-footer-bottom{border-top-color:#334155}html[data-theme="system"] .universal-footer-home:hover,html[data-theme="system"] .universal-footer-home:focus-visible,html[data-theme="system"] .universal-footer-group-links a:hover,html[data-theme="system"] .universal-footer-group-links a:focus-visible{color:#60a5fa!important}}@media(max-width:900px){.universal-site-footer{padding-top:30px}.universal-footer-main{grid-template-columns:1fr;gap:26px}.universal-footer-brand{max-width:620px}.universal-footer-nav{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:620px){.universal-site-footer{margin-top:32px;padding:28px 18px 20px}.universal-footer-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}.universal-footer-group:last-child{grid-column:1/-1}.universal-footer-group:last-child .universal-footer-group-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}.universal-footer-group-links a{width:auto;padding:2px 0}.universal-footer-bottom{align-items:flex-start;flex-direction:column;gap:5px;margin-top:24px}}@media(max-width:390px){.universal-footer-nav{grid-template-columns:1fr}.universal-footer-group:last-child{grid-column:auto}.universal-footer-group:last-child .universal-footer-group-links{grid-template-columns:1fr}}@media print{.universal-site-footer{display:none!important}}: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}}.school-certificate-shell{width:min(1500px,calc(100% - 32px));margin:30px auto 60px}.school-certificate-shell h1{font-size:clamp(26px,3.3vw,42px);line-height:1.2}.school-certificate-search{display:flex;gap:10px;align-items:center;margin:22px 0}.school-certificate-search input{flex:1;min-width:0}#schoolCertificateCanvas{width:100%;height:auto;background:#fff;display:block;border-radius:8px}#schoolCertificateDetails{display:grid;grid-template-columns:190px minmax(0,1fr);gap:10px 22px;overflow-wrap:anywhere}#schoolCertificateDetails dt{font-weight:700}#schoolCertificateDetails dd{margin:0}.school-certificate-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px}.school-certificate-consent{font-weight:500;max-width:900px}.school-certificate-form{margin:24px 0}.school-issued-certificate{margin:12px 0}.school-issued-certificate h4{font-size:18px;margin:0}.school-issued-certificate p{overflow-wrap:anywhere}.school-issued-certificate .class-note{font-size:13px}.school-certificates h3{margin-top:28px}@media(max-width:700px){.school-certificate-fields{grid-template-columns:1fr}.school-certificate-search{flex-direction:column;align-items:stretch}#schoolCertificateDetails{grid-template-columns:1fr;gap:4px}#schoolCertificateDetails dd{margin-bottom:12px}}@page school-certificate{size:A4 landscape;margin:0}@media print{body.school-certificate-page{page:school-certificate}html:has(body.school-certificate-page),body.school-certificate-page{margin:0!important;padding:0!important;background:#fff!important}body.school-certificate-page>*{display:none!important}body.school-certificate-page>main.school-certificate-shell{display:block!important;width:297mm!important;margin:0!important;padding:0!important}body.school-certificate-page main.school-certificate-shell>*{display:none!important}body.school-certificate-page main.school-certificate-shell>#schoolCertificateOutput{display:block!important;margin:0!important;padding:0!important;border:0!important}body.school-certificate-page #schoolCertificateOutput>*{display:none!important}body.school-certificate-page #schoolCertificateOutput>#schoolCertificateCanvas{display:block!important;width:297mm!important;height:210mm!important;border:0!important;border-radius:0!important}}.school-certificate-manual{border:1px solid var(--class-border);border-radius:12px;padding:12px 18px;margin:16px 0}.school-certificate-manual legend{font-size:14px;padding:0 6px}.education-catalogue .class-card{display:flex;flex-direction:column}.education-catalogue .class-actions{margin-top:auto}.school-certificate-form textarea{min-height:90px}
