@charset "UTF-8";

:root {
  --ink: #142640;
  --ink-soft: #344862;
  --muted: #728096;
  --blue: #2463eb;
  --blue-hover: #1954d3;
  --blue-pale: #edf3ff;
  --line: #e4eaf3;
  --surface: #fff;
  --background: #f5f7fb;
  --success: #13856a;
  --danger: #bd3946;
  --radius: 20px;
  --shadow: 0 6px 26px rgba(24, 48, 86, .045);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--background);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; font-size: 15px; line-height: 1.6; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
button { color: inherit; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: none; }
button, a { touch-action: manipulation; }
svg { display: block; flex-shrink: 0; }
svg:not([width]) { width: 20px; height: 20px; }
button svg, a svg { pointer-events: none; }
img { max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.035em; }
h1 { font-size: clamp(36px, 4.9vw, 62px); font-weight: 750; }
h2 { font-size: 30px; font-weight: 700; }
h3 { font-size: 19px; font-weight: 650; }
h4 { font-size: 16px; }
p + p { margin-top: 14px; }
ul, ol { padding-left: 22px; }
dl, dd { margin: 0; }
small { font-size: 12px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
:focus-visible { outline: 3px solid #8cb3ff; outline-offset: 4px; }
[hidden] { display: none !important; }
button:disabled, input:disabled, select:disabled { opacity: .55; cursor: not-allowed; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.page-width { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.subtle { color: var(--muted); }
.text-blue { color: var(--blue); }
.text-small { font-size: 13px; }

/* Shared controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 11px 20px; border: 1px solid transparent; border-radius: 10px; font-size: 14px; font-weight: 600; line-height: 1.4; text-align: center; text-decoration: none; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: white; box-shadow: 0 4px 10px rgba(36, 99, 235, .1); }
.btn-primary:hover { background: var(--blue-hover); box-shadow: 0 5px 14px rgba(36, 99, 235, .17); }
.btn-secondary { background: white; border-color: var(--line); color: var(--ink); }
.btn-secondary:hover { border-color: #becde3; background: #fafdff; }
.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { background: var(--blue-pale); color: var(--blue); }
.btn-sm { min-height: 36px; padding: 8px 13px; font-size: 12px; border-radius: 8px; }
.btn-danger { background: #fff0f1; color: var(--danger); border-color: #f6d5d9; }
.btn-danger:hover { background: #ffe5e8; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--ink-soft); flex-shrink: 0; }
.icon-btn:hover { background: var(--background); color: var(--blue); }
.input, .field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; color: var(--ink); border: 1px solid #dae2ee; border-radius: 9px; background: #fff; line-height: 1.45; transition: border-color .15s, box-shadow .15s; }
.input::placeholder, .field input::placeholder, .field textarea::placeholder { color: #98a3b2; opacity: 1; }
.input:hover, .field input:not([type="checkbox"]):hover, .field select:hover, .field textarea:hover { border-color: #b8c7dd; }
.input:focus, .field input:not([type="checkbox"]):focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36, 99, 235, .10); }
.field textarea { min-height: 130px; resize: vertical; }
.field { min-width: 0; }
.field > label, .field > .field-label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 550; color: var(--ink-soft); }
.field .required, label .required { color: var(--blue); }
.input-row { display: flex; gap: 10px; align-items: start; }
.input-row .input { flex: 1; }
.input-row .btn { flex-shrink: 0; min-height: 48px; }
.hint { margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.field-error { color: var(--danger); font-size: 12px; margin-top: 7px; }
.invalid, .field .input.invalid, .field input.invalid { border-color: var(--danger); }
.field:has(.invalid) label { color: var(--danger); }
.search-field { position: relative; }
.search-field > svg { position: absolute; left: 15px; bottom: 14px; color: #94a1b6; pointer-events: none; }
.search-field .input { padding-left: 44px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.tag { display: inline-flex; align-items: center; justify-content: center; gap: 5px; background: #f2f5f9; color: var(--ink-soft); font-size: 11px; font-weight: 600; line-height: 1.5; padding: 4px 8px; border-radius: 5px; white-space: nowrap; }
.tag-blue { background: var(--blue-pale); color: var(--blue); }
.count-badge { display: inline-flex; justify-content: center; align-items: center; min-width: 25px; height: 24px; padding-inline: 7px; border-radius: 6px; font-size: 11px; font-weight: 600; background: var(--blue-pale); color: var(--blue); }

/* Public header and home */
.topbar { min-height: 88px; display: flex; align-items: center; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(16px); }
.topbar > .page-width { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); min-width: 0; }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--blue); color: white; flex-shrink: 0; box-shadow: 0 4px 8px rgba(36, 99, 235, .12); font-size: 23px; font-weight: 750; }
.brand-mark svg { width: 25px; height: 25px; }
.brand-copy { display: flex; flex-direction: column; min-width: 0; max-width: 330px; }
.brand-copy strong { font-size: 18px; font-weight: 760; letter-spacing: -.025em; line-height: 1.3; overflow-wrap: anywhere; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.language-toggle { display: inline-flex; background: #f2f5fa; padding: 3px; border-radius: 8px; gap: 2px; flex-shrink: 0; }
.language-toggle button { min-width: 37px; min-height: 30px; padding: 5px 8px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 650; line-height: 1.3; }
.language-toggle button.active { background: white; color: var(--blue); box-shadow: 0 1px 4px rgba(24, 48, 86, .08); }
.demo-strip { background: #fff9e8; border-bottom: 1px solid #f1e9d0; color: #8b7546; padding: 8px 20px; text-align: center; font-size: 11px; line-height: 1.5; }
.demo-strip strong { font-weight: 650; }
.demo-strip a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.hero { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 62px; padding-block: 68px 60px; }
.hero > * { min-width: 0; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 11px; font-weight: 650; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow { margin-bottom: 23px; padding: 6px 10px; background: #eaf1ff; border: 1px solid #dce8ff; border-radius: 6px; }
.eyebrow svg { width: 14px; height: 14px; }
.hero h1 { max-width: 620px; line-height: 1.08; }
.hero h1 span, .hero h1 em { color: var(--blue); font-style: normal; }
.hero-description { font-size: 16px; color: var(--muted); line-height: 1.75; max-width: 470px; margin-top: 23px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.hero-actions .btn { min-height: 50px; padding-inline: 22px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 37px; padding-top: 27px; border-top: 1px solid var(--line); max-width: 475px; }
.hero-stat + .hero-stat { border-left: 1px solid #dfe6f1; padding-left: 22px; }
.hero-stat strong { display: block; font-size: 21px; line-height: 1.2; font-weight: 700; letter-spacing: -.025em; }
.hero-stat span, .hero-stat small { display: block; color: var(--muted); margin-top: 5px; font-size: 11px; line-height: 1.45; }
.hero-visual { height: 374px; position: relative; background: linear-gradient(145deg, #ecf3ff 0%, #e3ecfc 65%, #eef3fc 100%); border: 1px solid #e0e9f7; border-radius: 28px; overflow: hidden; isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; inset: 0; opacity: .45; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 36px 36px; mask-image: linear-gradient(130deg, transparent, #000); }
.hero-visual::after { content: ""; position: absolute; width: 230px; height: 230px; border-radius: 50%; background: #dce8ff; left: -75px; bottom: -130px; z-index: -1; }
.visual-ring { position: absolute; border: 1px solid rgba(91, 137, 213, .18); border-radius: 50%; width: 305px; height: 305px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.visual-ring::before, .visual-ring::after { content: ""; position: absolute; border: 1px solid rgba(91, 137, 213, .14); border-radius: 50%; inset: 25px; }
.visual-ring::after { inset: -36px; }
.visual-road { position: absolute; width: 330px; height: 92px; background: #d0ddf2; border: 7px solid #eaf1fc; border-radius: 50%; transform: rotate(-27deg); left: 14%; top: 51%; box-shadow: 0 6px 0 #c0d0e9; }
.visual-road::before { content: ""; position: absolute; inset: 16px -2px; border: 2px dashed #f8fbff; border-radius: 50%; }
.visual-school { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 183px; height: 146px; left: 50%; top: 47%; transform: translate(-50%, -50%) rotate(-4deg); border-radius: 20px; background: white; color: var(--blue); box-shadow: 0 22px 34px rgba(32, 72, 144, .13), 0 1px 0 #fff inset; border: 1px solid #d4e3fc; }
.visual-school > svg { width: 58px; height: 58px; stroke-width: 1.4; }
.visual-school strong { font-size: 16px; margin-top: 12px; letter-spacing: .04em; color: var(--ink); }
.visual-school small { font-size: 9px; color: var(--muted); margin-top: 2px; }
.visual-pill { position: absolute; display: flex; align-items: center; gap: 9px; border: 1px solid #e1e9f5; border-radius: 10px; background: rgba(255,255,255,.97); padding: 10px 13px; font-size: 11px; color: var(--ink-soft); box-shadow: 0 8px 18px rgba(29, 68, 135, .06); z-index: 2; }
.visual-pill svg { width: 18px; height: 18px; color: var(--blue); }
.visual-pill strong { display: block; color: var(--ink); font-weight: 650; }
.visual-pill small { display: block; font-size: 9px; color: var(--muted); }
.visual-pill:nth-of-type(4), .visual-pill.top { top: 33px; left: 24px; }
.visual-pill:nth-of-type(5), .visual-pill.right { top: 119px; right: 20px; }
.visual-pill:nth-of-type(6), .visual-pill.bottom { bottom: 31px; left: 38px; }
.visual-dot { position: absolute; width: 10px; height: 10px; border: 3px solid white; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 6px rgba(36, 99, 235, .07); }
.visual-dot:nth-last-child(1) { right: 56px; bottom: 71px; }
.visual-dot:nth-last-child(2) { left: 69px; top: 154px; }
.section-header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-header .section-kicker { margin-bottom: 9px; }
.section-header h2 { font-size: 29px; }
.section-header p { color: var(--muted); font-size: 13px; max-width: 390px; }
.finder { padding: 27px; margin-bottom: 44px; scroll-margin-top: 110px; }
.finder-controls { display: grid; grid-template-columns: 1fr 1.5fr; gap: 20px; }
.finder-controls + .school-list { margin-top: 23px; }
.finder .section-header { margin-bottom: 22px; }
.school-list { display: grid; gap: 0; }
.school-row { display: flex; align-items: center; gap: 15px; padding: 20px 4px; border-top: 1px solid var(--line); min-width: 0; }
.school-row:first-child { margin-top: 22px; }
.school-symbol { display: flex; align-items: center; justify-content: center; width: 47px; height: 47px; border: 1px solid #e4ecfa; border-radius: 12px; background: #f0f5ff; color: var(--blue); font-size: 14px; font-weight: 650; flex-shrink: 0; }
.school-symbol svg { width: 23px; height: 23px; }
.school-info { flex: 1; min-width: 0; }
.school-info h3, .school-info strong { font-size: 15px; letter-spacing: -.01em; line-height: 1.4; }
.school-info p { margin-top: 3px; font-size: 12px; color: var(--muted); }
.school-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-left: auto; }
.school-row > .btn { margin-left: 16px; }
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 38px 20px; color: var(--muted); text-align: center; font-size: 13px; }
.empty-state > svg { width: 36px; height: 36px; color: #a8b7cf; margin-bottom: 2px; }
.empty-state h3, .empty-state strong { color: var(--ink-soft); font-size: 15px; }
.empty-state p { max-width: 380px; }
.footer { border-top: 1px solid var(--line); padding-block: 25px; color: var(--muted); font-size: 11px; }
.footer > .page-width, .footer.page-width { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--blue); }

/* Public inner pages and registration */
.content-page { padding-block: 34px 64px; }
.breadcrumbs { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 7px; margin-bottom: 23px; }
.breadcrumbs svg { width: 13px; height: 13px; }
.back-link { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); margin-bottom: 22px; }
.back-link:hover { color: var(--blue); }
.back-link svg { width: 15px; height: 15px; }
.page-heading { margin-bottom: 30px; }
.page-heading h1 { font-size: 36px; }
.page-heading .section-kicker { margin-bottom: 11px; }
.page-heading p { margin-top: 10px; font-size: 14px; color: var(--muted); max-width: 670px; }
.registration-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; align-items: start; }
.registration-layout > * { min-width: 0; }
.registration-layout aside { position: sticky; top: 113px; display: grid; gap: 20px; }
.form-card { padding: 28px; margin-bottom: 22px; }
.card-head { display: flex; align-items: center; gap: 13px; margin-bottom: 25px; padding-bottom: 21px; border-bottom: 1px solid var(--line); }
.card-head h2 { font-size: 19px; }
.card-head p { font-size: 12px; color: var(--muted); margin-top: 4px; }
.step-number { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 36px; height: 36px; background: var(--blue-pale); color: var(--blue); font-size: 13px; font-weight: 650; border-radius: 10px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
.span-2 { grid-column: 1 / -1; }
.category-options { display: flex; flex-wrap: wrap; gap: 8px; }
.category-option { display: inline-flex; align-items: center; gap: 7px; min-height: 39px; border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; background: #fff; color: var(--ink-soft); font-size: 12px; cursor: pointer; }
.category-option input { width: 14px; height: 14px; margin: 0; accent-color: var(--blue); cursor: pointer; }
.category-option:has(input:checked) { color: var(--blue); border-color: #adc7fb; background: #f0f5ff; }
.category-option:hover { border-color: #b8c9e5; }
.form-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 25px; }
.form-actions p { margin-right: auto; font-size: 11px; color: var(--muted); max-width: 340px; }
.form-summary { padding: 15px 18px; background: #fff2f3; border: 1px solid #f4d5d9; color: var(--danger); border-radius: 10px; font-size: 13px; margin-bottom: 18px; }
.side-note { padding: 24px; }
.side-note h3 { font-size: 16px; }
.side-note p { font-size: 12px; color: var(--muted); margin-top: 11px; line-height: 1.7; }
.side-note > svg { width: 26px; height: 26px; color: var(--blue); margin-bottom: 17px; }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 16px; }
.check-item { display: flex; align-items: start; gap: 10px; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }
.check-item svg { color: var(--blue); width: 17px; height: 17px; margin-top: 1px; }
.notice { display: flex; align-items: start; gap: 10px; padding: 14px 16px; border: 1px solid #dce7fb; border-radius: 10px; font-size: 12px; line-height: 1.65; color: #45618e; background: #f3f7ff; }
.notice svg { width: 18px; height: 18px; margin-top: 1px; }
.notice p { min-width: 0; }
.notice strong { font-weight: 650; }
.notice-info { color: #45618e; background: #f3f7ff; border-color: #dce7fb; }
.notice-success { color: #207860; background: #effaf5; border-color: #d2ebdf; }
.notice-error { color: #a83c48; background: #fff2f3; border-color: #f1d5d9; }
.notice-warning { color: #8d6f32; background: #fff9ec; border-color: #f0e3bf; }
.form-card .notice, .modal-body .notice { margin-top: 18px; }
.demo-panel { padding: 16px 18px; border: 1px dashed #c4d1e7; border-radius: 12px; background: #f3f6fc; color: var(--ink-soft); margin-top: 22px; font-size: 12px; }
.demo-panel summary { font-weight: 600; cursor: pointer; list-style-position: inside; }
.demo-panel summary::marker { color: var(--muted); }
.demo-panel p { margin-top: 9px; color: var(--muted); font-size: 11px; }
.demo-panel .form-grid, .demo-panel .demo-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.demo-panel .input, .demo-panel select { min-height: 39px; font-size: 11px; padding: 9px; }
.demo-panel .field label { font-size: 10px; }
.demo-panel .btn { font-size: 11px; }
.demo-panel .action-row { margin-top: 12px; }
.step-list { display: grid; gap: 0; list-style: none; padding: 0; margin: 23px 0 0; counter-reset: step; }
.step { position: relative; padding: 0 0 27px 35px; color: var(--muted); font-size: 12px; counter-increment: step; }
.step:last-child { padding-bottom: 0; }
.step::before { content: counter(step); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid #d6dfed; border-radius: 50%; color: #8392a8; background: white; font-size: 10px; z-index: 1; }
.step:not(:last-child)::after { content: ""; position: absolute; width: 1px; top: 23px; bottom: 5px; left: 11px; background: var(--line); }
.step.active { color: var(--ink); font-weight: 600; }
.step.active::before { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 0 4px var(--blue-pale); }
.step.done::before { background: #e6f7ef; border-color: #e6f7ef; color: var(--success); content: "✓"; }

/* QR authorization */
.login-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; align-items: center; max-width: 990px; margin: 24px auto; }
.login-layout > * { min-width: 0; }
.login-layout h1 { font-size: 43px; line-height: 1.12; }
.login-layout .hero-description { font-size: 14px; margin-top: 19px; }
.login-layout .check-list { margin-top: 29px; gap: 18px; }
.qr-card { padding: 29px; text-align: center; }
.qr-card h2 { font-size: 23px; }
.qr-card > p { font-size: 13px; color: var(--muted); margin-top: 10px; }
.qr-frame { width: fit-content; max-width: 100%; padding: 18px; margin: 24px auto 17px; border: 1px solid var(--line); border-radius: 17px; background: white; position: relative; }
.qr-frame::after { content: ""; position: absolute; inset: -1px; border: 2px solid #93b3f5; border-radius: 17px; clip-path: polygon(0 0, 22% 0, 22% 2%, 2% 2%, 2% 22%, 0 22%, 0 0, 100% 0, 100% 22%, 98% 22%, 98% 2%, 78% 2%, 78% 0, 100% 0, 100% 100%, 78% 100%, 78% 98%, 98% 98%, 98% 78%, 100% 78%, 100% 100%, 0 100%, 0 78%, 2% 78%, 2% 98%, 22% 98%, 22% 100%, 0 100%); pointer-events: none; }
.qr-grid { display: grid; grid-template-columns: repeat(25, 1fr); aspect-ratio: 1; width: min(230px, 54vw); padding: 5px; background: white; }
.qr-grid > span { background: white; aspect-ratio: 1; }
.qr-grid > .dark { background: #101c2c; }
.status-pill { display: inline-flex; justify-content: center; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 6px; background: #f1f5fb; color: #647791; font-size: 11px; font-weight: 500; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #7c9cd1; flex-shrink: 0; }
.status-pill.success { background: #eaf7f0; color: var(--success); }
.status-pill.success .status-dot { background: var(--success); }
.status-banner { padding: 12px 14px; border-radius: 9px; background: #edf3ff; color: #3e609c; font-size: 12px; margin-top: 18px; }
.qr-card .demo-panel { text-align: left; }
.qr-card .demo-panel .form-grid, .qr-card .demo-panel .demo-controls { grid-template-columns: 1fr; }
.qr-card .btn { margin-top: 14px; }
.qr-card .action-row .btn { margin-top: 0; }

/* Application shell */
.app-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: white; padding: 30px 19px 20px; z-index: 35; overflow-y: auto; }
.sidebar-brand { margin: 0 13px 32px; }
.sidebar .brand-mark { width: 35px; height: 35px; border-radius: 10px; }
.sidebar .brand-mark svg { width: 21px; height: 21px; }
.sidebar .brand-copy strong { font-size: 13px; }
.school-switch { display: flex; align-items: center; gap: 10px; width: 100%; padding: 13px 11px; border: 1px solid #dfe8f7; border-radius: 11px; background: #f6f9ff; color: var(--ink); text-align: left; margin-bottom: 30px; }
.school-switch > svg { color: var(--blue); width: 20px; height: 20px; }
.school-switch > div, .school-switch > span { flex: 1; min-width: 0; }
.school-switch strong { display: block; font-size: 12px; line-height: 1.4; font-weight: 600; overflow-wrap: anywhere; }
.school-switch small { display: block; color: var(--muted); font-size: 10px; margin-bottom: 3px; }
.nav-section-label { font-size: 9px; color: #98a3b3; letter-spacing: .11em; text-transform: uppercase; margin: 0 12px 12px; font-weight: 600; }
.nav-item { position: relative; display: flex; align-items: center; gap: 11px; width: 100%; min-height: 45px; margin-bottom: 6px; padding: 11px 13px; border: 0; border-radius: 9px; background: transparent; color: #66758a; font-size: 12px; text-align: left; }
.nav-item svg { width: 19px; height: 19px; }
.nav-item:hover { background: #f5f8fd; color: var(--ink); }
.nav-item.active { background: #eaf1ff; color: var(--blue); font-weight: 600; }
.nav-item .count-badge { margin-left: auto; font-size: 9px; height: 20px; min-width: 20px; }
.sidebar-bottom { margin-top: auto; padding-top: 28px; }
.sidebar-bottom .notice { padding: 11px 12px; font-size: 10px; margin-bottom: 20px; }
.user-mini { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding: 18px 7px 0; }
.user-mini strong { display: block; font-size: 12px; line-height: 1.3; }
.user-mini small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.user-mini > div:not(.avatar) { min-width: 0; }
.avatar { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 54px; height: 54px; border: 1px solid #dce8fe; border-radius: 50%; background: #edf3ff; color: var(--blue); font-size: 17px; font-weight: 650; }
.avatar-sm { width: 35px; height: 35px; font-size: 11px; }
.workspace { min-width: 0; }
.workspace-header { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 87px; padding: 19px 38px; background: white; border-bottom: 1px solid var(--line); }
.workspace-header h1 { font-size: 21px; letter-spacing: -.025em; }
.workspace-header .breadcrumbs { font-size: 10px; margin: 0 0 5px; }
.workspace-header .header-actions { gap: 15px; }
.workspace-header .header-actions > .btn { min-height: 34px; font-size: 11px; padding-inline: 10px; }
.workspace-body { padding: 34px 38px 48px; max-width: 1440px; margin-inline: auto; }
.workspace-body > .demo-strip { margin: -34px -38px 30px; }
.welcome-line { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; }
.welcome-line h1, .welcome-line h2 { font-size: 29px; }
.welcome-line p { font-size: 12px; color: var(--muted); margin-top: 7px; }
.welcome-line > .subtle { font-size: 11px; white-space: nowrap; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.dashboard-grid > *, .stats-grid > *, .quick-grid > *, .detail-grid > *, .support-grid > * { min-width: 0; }
.profile-card { padding: 24px; }
.profile-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 25px; }
.profile-heading > div:not(.avatar) { min-width: 0; }
.profile-heading h2, .profile-heading h3 { font-size: 17px; line-height: 1.3; letter-spacing: -.02em; }
.profile-heading p { font-size: 11px; color: var(--muted); margin-top: 4px; }
.profile-heading > .icon-btn, .profile-heading > .btn { margin-left: auto; }
.profile-heading .icon-btn { border-color: transparent; color: var(--blue); }
.profile-data { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 17px 15px; }
.profile-data dt { font-size: 10px; color: #94a0b0; margin-bottom: 4px; }
.profile-data dd { font-size: 12px; font-weight: 500; color: var(--ink-soft); overflow-wrap: anywhere; }
.profile-card > .notice, .profile-card > .status-pill { margin-top: 21px; }
.profile-card > .action-row { padding-top: 18px; border-top: 1px solid var(--line); margin-top: 22px; }
.organization-card { position: relative; padding: 25px; min-height: 250px; color: white; background: linear-gradient(130deg, #306dea 0%, #245dda 100%); border-radius: var(--radius); overflow: hidden; border: 1px solid #306eea; display: flex; flex-direction: column; align-items: start; box-shadow: 0 7px 17px rgba(34, 92, 216, .08); }
.organization-card > *:not(.org-art) { z-index: 1; }
.org-badge { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,.25); padding: 4px 9px; border-radius: 6px; font-size: 10px; color: #e4edff; background: rgba(255,255,255,.09); }
.organization-card > p, .organization-card > small { margin-top: auto; padding-top: 34px; color: #bdcff8; font-size: 11px; }
.organization-card h2 { font-size: 28px; margin-top: 8px; letter-spacing: -.025em; }
.organization-card .subtle { color: #cbdbff; font-size: 11px; margin-top: 7px; }
.organization-card .btn { color: white; background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.2); margin-top: 21px; min-height: 32px; padding: 6px 11px; font-size: 10px; }
.organization-card .btn:hover { background: rgba(255,255,255,.22); }
.org-art { position: absolute; width: 220px; height: 220px; right: -48px; top: -44px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; opacity: .85; }
.org-art::before, .org-art::after { content: ""; position: absolute; inset: 28px; border: 22px solid rgba(255,255,255,.065); border-radius: 50%; }
.org-art::after { inset: 68px; border-width: 1px; background: rgba(255,255,255,.025); }
.org-art svg { width: 86px; height: 86px; position: absolute; right: 62px; top: 64px; color: rgba(255,255,255,.14); stroke-width: 1; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; margin-top: 20px; }
.stat-card { padding: 20px; position: relative; min-height: 142px; }
.stat-card h3, .stat-card > p { color: var(--muted); font-size: 11px; font-weight: 450; letter-spacing: 0; line-height: 1.45; padding-right: 29px; }
.stat-icon { position: absolute; right: 17px; top: 19px; color: #7196df; }
.stat-icon svg { width: 21px; height: 21px; }
.stat-value { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; font-size: 29px; font-weight: 650; line-height: 1.25; letter-spacing: -.035em; margin-top: 23px; }
.stat-value small { font-size: 10px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.stat-value.categories { font-size: 17px; letter-spacing: -.01em; gap: 4px; }
.stat-card .school-tags { margin-top: 23px; }
.stat-card .subtle { font-size: 10px; margin-top: 5px; }
.stat-card .active-count { margin-left: 8px; font-size: 19px; color: var(--blue); }
.dashboard-note { margin-top: 25px; padding: 25px; display: flex; gap: 18px; align-items: start; background: #f0f5ff; border-color: #dbe6fb; }
.dashboard-note > svg { color: var(--blue); width: 23px; height: 23px; margin-top: 2px; }
.dashboard-note h3 { font-size: 16px; }
.dashboard-note p { margin-top: 8px; color: #6d7f99; font-size: 12px; line-height: 1.7; }
.action-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.dashboard-section { margin-top: 31px; }
.dashboard-section .section-header { margin-bottom: 17px; }
.dashboard-section h2 { font-size: 19px; }
.dashboard-section .section-header p { font-size: 11px; }
.quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.quick-card { display: flex; align-items: center; gap: 12px; padding: 21px; color: var(--ink); text-align: left; }
.quick-card > svg:first-child { width: 35px; height: 35px; padding: 8px; border-radius: 9px; background: #eff4fd; color: var(--blue); }
.quick-card > svg:last-child { margin-left: auto; width: 15px; height: 15px; color: #99a6b9; }
.quick-card strong { display: block; font-size: 12px; }
.quick-card small { display: block; margin-top: 3px; font-size: 10px; color: var(--muted); }
.quick-card:hover { border-color: #b8cdf2; box-shadow: 0 6px 20px rgba(36,99,235,.055); }
.mobile-menu { display: none; }
.sidebar-overlay { display: none; }

/* Secondary cabinet pages */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.detail-grid .card { padding: 26px; }
.detail-grid .card h2 { font-size: 19px; margin-bottom: 23px; }
.detail-grid .profile-data { gap: 22px 18px; }
.detail-grid .profile-data dd { font-size: 13px; }
.detail-grid .profile-data dt { font-size: 11px; }
.detail-grid .organization-card { grid-column: 1 / -1; min-height: 215px; }
.support-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.support-grid > .card { padding: 27px; }
.support-grid h2 { font-size: 20px; margin-bottom: 20px; }
.support-grid .form-grid { grid-template-columns: 1fr; }
.support-grid p { font-size: 13px; color: var(--muted); }
.agreement-content { padding: 34px; max-width: 950px; }
.agreement-content h2 { font-size: 23px; margin-bottom: 16px; }
.agreement-content h3 { font-size: 16px; margin-top: 28px; margin-bottom: 12px; }
.agreement-content p, .agreement-content li { color: #687991; font-size: 13px; line-height: 1.8; }
.agreement-content .notice { margin-bottom: 25px; }
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; white-space: nowrap; }
th { font-size: 10px; font-weight: 600; letter-spacing: .02em; color: #8190a6; background: #fafbfd; border-bottom: 1px solid var(--line); padding: 16px 20px; }
td { padding: 18px 20px; color: var(--ink-soft); border-bottom: 1px solid #edf0f6; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbfcfe; }
td small { color: var(--muted); font-size: 10px; }
.status-completed, .status-pending { display: inline-flex; align-items: center; gap: 5px; border-radius: 5px; padding: 4px 8px; font-size: 10px; font-weight: 500; line-height: 1.4; }
.status-completed { background: #eaf7f0; color: #24816a; }
.status-pending { background: #fff6df; color: #9c7d31; }
.timeline-list { list-style: none; padding: 0; margin: 0; }
.activity-row { display: flex; align-items: start; gap: 13px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.activity-row:last-child { border: 0; }
.activity-row > svg { color: var(--blue); width: 18px; height: 18px; margin-top: 3px; }
.activity-row strong { font-size: 12px; }
.activity-row p { color: var(--muted); margin-top: 4px; font-size: 11px; }
.activity-row time { margin-left: auto; font-size: 10px; color: var(--muted); white-space: nowrap; }

/* Dialogs and feedback */
dialog.modal { width: min(620px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0; margin: auto; border: 1px solid var(--line); border-radius: 19px; box-shadow: 0 28px 95px rgba(13, 31, 61, .22); color: var(--ink); background: #fff; overflow-y: auto; }
dialog.modal::backdrop { background: rgba(13, 28, 51, .42); backdrop-filter: blur(4px); }
.modal-head { display: flex; align-items: center; gap: 16px; justify-content: space-between; padding: 23px 27px; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-size: 22px; }
.modal-head p { margin-top: 5px; font-size: 12px; color: var(--muted); }
.modal-body { padding: 26px; }
.modal-body > p { font-size: 13px; color: var(--muted); }
.modal-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding: 19px 26px; border-top: 1px solid var(--line); background: #fbfcfe; }
.modal-body .qr-card { padding: 0; border: 0; box-shadow: none; }
#toast, .toast { position: fixed; bottom: 25px; left: 50%; transform: translate(-50%, 18px); padding: 13px 19px; max-width: min(520px, calc(100vw - 32px)); border: 1px solid #315073; border-radius: 11px; background: #18334f; color: white; font-size: 13px; line-height: 1.55; box-shadow: 0 10px 40px rgba(17,38,70,.2); opacity: 0; pointer-events: none; z-index: 100; transition: opacity .2s, transform .2s; }
#toast.toast-show, .toast.toast-show, #toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Content composition */
.brand-dot { color: var(--blue); }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 110; padding: 10px 16px; border-radius: 8px; background: var(--ink); color: white; font-size: 13px; }
.skip-link:focus { top: 12px; }
.demo-strip { display: flex; align-items: center; justify-content: center; gap: 24px; }
.demo-strip > span { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.demo-strip svg { width: 13px; height: 13px; }
.demo-strip > button { padding: 0; border: 0; background: transparent; font-size: inherit; color: #8b7546; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.hero-stat { display: flex; align-items: center; gap: 10px; }
.hero-stat > svg { width: 20px; height: 20px; color: #7293ca; }
.hero-stat > span { margin-top: 0; }
.hero-stat strong { font-size: 11px; color: var(--ink-soft); font-weight: 600; letter-spacing: 0; line-height: 1.6; }
.visual-school { width: 234px; height: 242px; padding: 20px; align-items: start; top: 48%; transform: translate(-50%, -50%) rotate(-5deg); }
.visual-school > * { flex-shrink: 0; }
.visual-school-icon { display: flex; justify-content: center; align-items: center; width: 32px; height: 32px; border-radius: 10px; background: #eaf2ff; color: var(--blue); margin-bottom: 10px; }
.visual-school-icon svg { width: 23px; height: 23px; }
.visual-school > .subtle { font-size: 9px; }
.visual-school strong { margin-top: 3px; font-size: 20px; letter-spacing: -.025em; }
.visual-school-tags { display: flex; gap: 5px; margin-top: 9px; }
.visual-school-tags .tag { font-size: 8px; padding: 3px 7px; }
.visual-divider { width: 100%; height: 1px; background: var(--line); margin: 10px 0 8px; }
.visual-school-bottom { display: flex; align-items: center; justify-content: space-between; width: 100%; font-size: 9px; color: var(--muted); }
.visual-school-bottom > span:first-child { display: flex; align-items: center; gap: 6px; }
.visual-school-bottom svg { width: 13px; height: 13px; }
.visual-school-bottom .status-dot { background: #45b792; }
.visual-pill.visual-pill-top { top: 25px; left: 21px; right: auto; bottom: auto; transform: rotate(-3deg); }
.visual-pill.visual-pill-bottom { bottom: 26px; right: 21px; left: auto; top: auto; transform: rotate(3deg); }
.visual-pill .visual-dot { position: static; width: 27px; height: 27px; display: flex; align-items: center; justify-content: center; background: #e4f7ed; border: 0; border-radius: 50%; box-shadow: none; }
.visual-pill .visual-dot svg { width: 16px; height: 16px; color: #269a71; }
.visual-label { position: absolute; left: 24px; bottom: 16px; font-size: 8px; letter-spacing: .16em; color: #8fa7cd; }
.finder-section { scroll-margin-top: 110px; }
.section-header > .subtle { font-size: 11px; }
.finder-help { display: flex; align-items: center; gap: 12px; align-self: end; min-height: 48px; color: #8c99ae; font-size: 12px; padding-left: 12px; }
.finder-help svg { width: 22px; height: 22px; color: #99b0d4; }
.results-heading { display: flex; align-items: center; gap: 9px; margin-top: 25px; padding-top: 21px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.results-heading + .school-list .school-row:first-child { margin-top: 9px; border-top: 0; }
.school-row { color: var(--ink); border-radius: 8px; }
.school-row:hover { background: #f8faff; }
.school-row > svg:last-child { color: #a3b1c5; width: 17px; height: 17px; margin-left: 17px; }
.school-info > small { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
.join-banner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 30px 0 42px; }
.join-banner .section-kicker { font-size: 9px; margin-bottom: 12px; }
.join-banner h2 { font-size: 25px; }
.join-banner p { font-size: 12px; color: var(--muted); margin-top: 11px; max-width: 650px; }
.join-banner > .btn { flex-shrink: 0; }
.autofill-row { display: flex; align-items: end; gap: 12px; }
.autofill-row > .field { flex: 1; }
.autofill-row > .btn { flex-shrink: 0; min-height: 48px; }
.form-card .demo-panel { margin-bottom: 24px; }
.form-card .demo-panel .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-card .notice + .form-grid { margin-top: 23px; }
.form-divider { height: 1px; background: var(--line); margin: 4px 0; }
.category-field { padding: 0; border: 0; margin: 0; }
.category-field legend { margin-bottom: 11px; font-size: 13px; color: var(--ink-soft); }
.note-icon { display: flex; align-items: center; justify-content: center; width: 39px; height: 39px; border-radius: 10px; color: var(--blue); background: var(--blue-pale); margin-bottom: 17px; }
.note-icon svg { width: 21px; height: 21px; }
.side-note > .tag { white-space: normal; margin-top: 20px; font-weight: 400; }
.step > span { display: none; }
.step strong { font-size: 12px; color: var(--ink-soft); }
.step p { font-size: 11px; margin-top: 5px; line-height: 1.6; }
.login-copy h1 span { color: var(--blue); }
.login-register { margin-top: 30px; color: var(--muted); font-size: 12px; }
.login-register a { display: inline-flex; align-items: center; gap: 7px; margin-top: 7px; font-weight: 500; }
.login-register svg { width: 14px; height: 14px; }
.qr-card > .status-pill { margin-bottom: 18px; }
.qr-demo-label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 5px solid white; border-radius: 8px; background: var(--blue); padding: 6px; font-size: 10px; letter-spacing: .05em; font-weight: 650; color: white; }
.status-banner { display: flex; align-items: center; justify-content: center; gap: 8px; }
.status-banner #qr-countdown { margin-left: auto; font-variant-numeric: tabular-nums; }
.status-warning { background: #fff5df; color: #947335; }
.status-warning .status-dot { background: #c6a25e; }
.qr-card .demo-panel > .field { margin-top: 14px; }
.qr-actions { display: flex; flex-direction: column; gap: 5px; }
.qr-actions .btn-primary { width: 100%; }
.qr-actions .btn + .btn { margin-top: 0; }
.workspace-title { display: flex; align-items: center; gap: 12px; }
.workspace-title h2 { font-size: 20px; }
.workspace-footer { display: flex; justify-content: space-between; padding: 18px 38px; border-top: 1px solid var(--line); font-size: 10px; color: #94a0b1; }
.sidebar-brand { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sidebar .school-switch > .school-symbol { width: 32px; height: 32px; flex: 0 0 32px; border: 0; border-radius: 7px; background: #e8f0ff; }
.sidebar .school-switch > .school-symbol svg { width: 18px; height: 18px; }
.school-switch > svg:last-child { width: 13px; height: 13px; color: #8fa3c3; }
.school-switch small { margin: 3px 0 0; }
.nav-active-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); margin-left: auto; }
.sidebar-help { padding: 18px 14px; border-radius: 12px; background: #f7f9fd; margin-bottom: 20px; }
.sidebar-help > svg { color: #7893bd; width: 21px; height: 21px; margin-bottom: 10px; }
.sidebar-help strong { font-size: 12px; }
.sidebar-help p { font-size: 10px; line-height: 1.65; color: #8c99ad; margin-top: 4px; }
.sidebar-help a { display: inline-flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 500; margin-top: 12px; }
.sidebar-help a svg { width: 12px; height: 12px; }
.user-mini > span:not(.avatar) { min-width: 0; flex: 1; }
.user-mini > .icon-btn { border: 0; width: 24px; height: 29px; color: #91a0b5; }
.user-mini > .icon-btn svg { width: 17px; height: 17px; }
.user-mini strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.welcome-line .section-kicker { font-size: 9px; margin-bottom: 10px; }
.welcome-line > .status-pill { flex-shrink: 0; }
.welcome-line > .status-pill svg { width: 14px; height: 14px; }
.profile-heading .tag { margin-top: 5px; font-size: 9px; background: #f0f4fa; font-weight: 400; }
.profile-card-footer { display: flex; gap: 7px; align-items: start; margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); font-size: 9px; color: #91a0b6; }
.profile-card-footer svg { width: 13px; height: 13px; margin-top: 1px; }
.org-badge svg { width: 13px; height: 13px; }
.organization-card-bottom { margin-top: auto; padding-top: 29px; width: 100%; }
.organization-card-bottom > span { color: #bcd0fc; font-size: 11px; }
.organization-card-bottom p { display: flex; align-items: center; gap: 6px; color: #d0dffd; font-size: 11px; margin-top: 11px; }
.organization-card-bottom p > svg { width: 13px; height: 13px; }
.org-link { margin-left: auto; border: 1px solid #6490ed; border-radius: 50%; padding: 6px; }
.org-link svg { width: 14px; height: 14px; }
.organization-card:hover .org-link { background: rgba(255,255,255,.12); }
.stat-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 23px; }
.stat-tags .tag { font-size: 10px; }
.active-count { display: inline-flex; gap: 4px; align-items: baseline; }
.quick-card { display: block; }
.quick-card > svg:first-child { margin-bottom: 15px; width: 37px; height: 37px; }
.quick-card > strong { font-size: 13px; }
.quick-card > p { color: var(--muted); font-size: 10px; line-height: 1.6; margin-top: 6px; }
.quick-card > span { display: inline-flex; align-items: center; gap: 7px; margin-top: 19px; color: var(--blue); font-size: 10px; font-weight: 500; }
.quick-card > span svg { width: 13px; height: 13px; }
.dashboard-note { border: 1px solid #dbe6fb; border-radius: 15px; }
.dashboard-note strong { font-size: 13px; }
.school-detail-head { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
.school-detail-head .school-symbol.large { width: 73px; height: 73px; border-radius: 18px; }
.school-detail-head .school-symbol.large svg { width: 34px; height: 34px; }
.school-detail-head h1 { font-size: 32px; margin-top: 7px; }
.school-detail-head p { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-top: 7px; }
.school-detail-head p svg { width: 14px; height: 14px; }
.school-detail-head > .tag { margin-left: auto; }
.detail-grid h3 { margin-top: 25px; font-size: 14px; }
.detail-grid .stat-tags { margin-top: 13px; }
.detail-grid .form-card { margin-bottom: 0; }
.support-grid .form-card > .field + .field { margin-top: 20px; }
.support-grid .form-card > .btn { margin-top: 22px; }
.activity-row small { display: block; margin-top: 3px; font-size: 10px; color: var(--muted); }
.activity-row > span:first-child svg { width: 17px; height: 17px; color: #7d98c2; margin-top: 3px; }
.agreement-content h2:not(:first-child) { margin-top: 27px; font-size: 18px; }
.table-id { display: block; margin-top: 3px; }
td > svg { display: inline-block; vertical-align: middle; width: 15px; height: 15px; color: #7997c5; margin-right: 5px; }
.notice + .table-wrap { margin-top: 22px; }

@media (min-width: 1450px) {
  .workspace-body { padding-top: 42px; }
  .dashboard-grid { gap: 24px; }
  .profile-card, .organization-card { padding: 30px; }
  .organization-card { min-height: 280px; }
}

@media (max-width: 1100px) {
  .page-width { width: calc(100% - 56px); }
  .hero { gap: 36px; }
  .hero h1 { font-size: 50px; }
  .hero-visual { height: 350px; }
  .visual-pill { font-size: 10px; padding: 9px 10px; }
  .visual-pill:nth-of-type(4), .visual-pill.top { left: 15px; }
  .visual-pill:nth-of-type(5), .visual-pill.right { right: 12px; top: 107px; }
  .visual-pill:nth-of-type(6), .visual-pill.bottom { left: 23px; }
  .visual-road { left: 2%; }
  .app-layout { grid-template-columns: 221px minmax(0, 1fr); }
  .sidebar { padding-inline: 13px; }
  .sidebar-brand { margin-inline: 8px; }
  .workspace-header { padding-inline: 26px; }
  .workspace-body { padding: 28px 26px 40px; }
  .workspace-body > .demo-strip { margin: -28px -26px 26px; }
  .profile-card, .organization-card { padding: 21px; }
  .profile-heading { gap: 10px; }
  .profile-heading h2, .profile-heading h3 { font-size: 15px; }
  .profile-heading .avatar { width: 43px; height: 43px; font-size: 14px; }
  .stats-grid { gap: 13px; }
  .stat-card { padding: 17px; }
  .stat-icon { right: 13px; top: 17px; }
  .stat-value { font-size: 25px; }
  .quick-card { padding: 17px; gap: 9px; }
  .quick-card > svg:last-child { display: none; }
}

@media (max-width: 1000px) {
  .registration-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; }
  .form-card { padding: 24px; }
  .side-note { padding: 21px; }
  .login-layout { gap: 36px; }
  .login-layout h1 { font-size: 38px; }
  .hero-stats { gap: 10px; }
  .hero-stat + .hero-stat { padding-left: 14px; }
  .dashboard-grid { grid-template-columns: minmax(0, 1fr); }
  .organization-card { min-height: 222px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-card { min-height: 130px; }
  .quick-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .quick-card > svg:last-child { display: block; }
  .detail-grid, .support-grid { grid-template-columns: minmax(0, 1fr); }
  .welcome-line > .subtle { display: none; }
}

@media (max-width: 760px) {
  .page-width { width: calc(100% - 36px); }
  .topbar { min-height: 74px; }
  .topbar > .page-width { gap: 12px; }
  .brand { gap: 9px; }
  .brand-mark { width: 35px; height: 35px; border-radius: 10px; }
  .brand-mark svg { width: 21px; height: 21px; }
  .brand-copy strong { font-size: 16px; }
  .header-actions { gap: 7px; }
  .header-actions .btn { min-height: 38px; padding: 8px 12px; font-size: 12px; }
  .language-toggle button { min-width: 30px; min-height: 28px; padding: 4px 6px; font-size: 10px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 35px; padding-block: 40px 42px; }
  .hero-copy { max-width: 570px; }
  .hero h1 { font-size: clamp(38px, 8vw, 56px); max-width: 600px; }
  .eyebrow { margin-bottom: 19px; font-size: 9px; }
  .hero-description { max-width: 560px; font-size: 15px; margin-top: 19px; }
  .hero-actions { margin-top: 24px; }
  .hero-stats { margin-top: 28px; padding-top: 24px; max-width: none; }
  .hero-visual { height: 300px; max-width: 620px; }
  .visual-school { width: 170px; height: 136px; }
  .visual-road { left: calc(50% - 165px); top: 47%; }
  .visual-pill:nth-of-type(4), .visual-pill.top { top: 27px; left: 8%; }
  .visual-pill:nth-of-type(5), .visual-pill.right { top: 98px; right: 6%; }
  .visual-pill:nth-of-type(6), .visual-pill.bottom { bottom: 24px; left: 12%; }
  .section-header { align-items: start; margin-bottom: 20px; }
  .section-header h2 { font-size: 25px; }
  .section-header > p { max-width: 250px; font-size: 11px; }
  .section-kicker { font-size: 9px; }
  .finder { padding: 22px; margin-bottom: 34px; }
  .finder-controls { gap: 17px; }
  .school-row { flex-wrap: wrap; gap: 12px; padding-block: 18px; }
  .school-tags { margin-left: 59px; }
  .school-info { flex-basis: calc(100% - 65px); }
  .school-row > .btn { margin-left: auto; }
  .footer { padding-block: 21px; }
  .footer > .page-width, .footer.page-width { align-items: start; flex-direction: column; gap: 13px; }
  .footer-links { gap: 17px; }
  .content-page { padding-block: 26px 44px; }
  .page-heading { margin-bottom: 24px; }
  .page-heading h1 { font-size: 30px; }
  .page-heading p { font-size: 13px; }
  .registration-layout { grid-template-columns: minmax(0, 1fr); }
  .registration-layout aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .registration-layout aside .notice { grid-column: 1 / -1; }
  .form-card { padding: 22px; }
  .form-grid { gap: 18px 15px; }
  .card-head { margin-bottom: 22px; padding-bottom: 19px; }
  .card-head h2 { font-size: 18px; }
  .login-layout { grid-template-columns: minmax(0, 1fr); gap: 29px; max-width: 510px; margin-top: 10px; }
  .login-layout h1 { font-size: 37px; }
  .login-layout .check-list { margin-top: 22px; }
  .qr-card { padding: 28px; }
  .app-layout { display: block; }
  .sidebar { position: fixed; top: 0; left: 0; width: 250px; transform: translateX(-100%); transition: transform .22s ease; box-shadow: 16px 0 50px rgba(20, 38, 64, .10); padding-top: 25px; height: 100dvh; }
  .sidebar.is-open { transform: translateX(0); }
  .sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(17, 35, 61, .35); border: 0; z-index: 30; backdrop-filter: blur(2px); }
  .sidebar.is-open + .sidebar-overlay, .sidebar-overlay.is-open, .sidebar-overlay.active { display: block; }
  .mobile-menu { display: inline-flex; width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: white; color: var(--ink-soft); align-items: center; justify-content: center; flex-shrink: 0; }
  .workspace-header { min-height: 74px; gap: 13px; padding: 15px 20px; }
  .workspace-header > .mobile-menu + div { margin-right: auto; }
  .workspace-header h1 { font-size: 17px; }
  .workspace-header .header-actions { gap: 7px; }
  .workspace-header .breadcrumbs { font-size: 9px; }
  .workspace-body { padding: 25px 20px 40px; }
  .workspace-body > .demo-strip { margin: -25px -20px 24px; }
  .welcome-line { margin-bottom: 22px; }
  .welcome-line h1, .welcome-line h2 { font-size: 26px; }
  .dashboard-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
  .profile-card { padding: 20px; }
  .profile-heading { flex-wrap: wrap; margin-bottom: 21px; }
  .profile-data { grid-template-columns: 1fr; gap: 13px; }
  .profile-data .span-2 { grid-column: auto; }
  .profile-heading > .icon-btn { margin-left: auto; }
  .organization-card { padding: 22px; min-height: 247px; }
  .organization-card h2 { font-size: 24px; }
  .organization-card > p, .organization-card > small { padding-top: 25px; }
  .stats-grid { gap: 14px; margin-top: 16px; }
  .stat-card { padding: 19px; }
  .stat-value { font-size: 28px; }
  .dashboard-note { padding: 21px; gap: 13px; }
  .dashboard-note h3 { font-size: 15px; }
  .dashboard-note p { font-size: 11px; }
  .detail-grid .profile-data { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-grid .profile-data .span-2 { grid-column: 1 / -1; }
  .agreement-content { padding: 25px; }
}

@media (max-width: 480px) {
  body { font-size: 14px; }
  .topbar { min-height: 69px; }
  .page-width { width: calc(100% - 32px); }
  .topbar > .page-width { gap: 8px; flex-wrap: wrap; padding-block: 10px; }
  .topbar .header-actions { margin-left: auto; }
  .brand-mark { width: 31px; height: 31px; border-radius: 9px; }
  .brand-mark svg { width: 19px; height: 19px; }
  .brand-copy { max-width: 240px; }
  .brand-copy strong { font-size: 14px; }
  .header-actions { gap: 5px; }
  .header-actions .btn { min-height: 34px; padding: 7px 9px; font-size: 10px; border-radius: 7px; }
  .header-actions .btn svg { display: none; }
  .language-toggle { padding: 2px; }
  .language-toggle button { min-width: 25px; min-height: 27px; font-size: 9px; padding: 4px; }
  .demo-strip { font-size: 9px; padding-inline: 15px; }
  .hero { padding-block: 32px; gap: 27px; }
  .hero h1 { font-size: 39px; }
  .hero-description { font-size: 13px; line-height: 1.75; margin-top: 18px; }
  .hero-actions { gap: 9px; }
  .hero-actions .btn { min-height: 45px; font-size: 12px; padding: 10px 15px; }
  .hero-stats { margin-top: 25px; padding-top: 21px; gap: 8px; }
  .hero-stat strong { font-size: 18px; }
  .hero-stat span, .hero-stat small { font-size: 9px; }
  .hero-stat + .hero-stat { padding-left: 11px; }
  .hero-visual { height: 271px; border-radius: 19px; }
  .visual-school { width: 150px; height: 127px; }
  .visual-school > svg { width: 49px; height: 49px; }
  .visual-school strong { font-size: 14px; margin-top: 9px; }
  .visual-school small { font-size: 8px; }
  .visual-pill { gap: 6px; padding: 8px 9px; font-size: 9px; border-radius: 8px; }
  .visual-pill svg { width: 16px; height: 16px; }
  .visual-pill small { font-size: 8px; }
  .visual-pill:nth-of-type(4), .visual-pill.top { top: 21px; left: 17px; }
  .visual-pill:nth-of-type(5), .visual-pill.right { top: 92px; right: 11px; }
  .visual-pill:nth-of-type(6), .visual-pill.bottom { bottom: 21px; left: 24px; }
  .section-header { display: block; }
  .section-header h2 { font-size: 23px; }
  .section-header > p { max-width: none; margin-top: 9px; }
  .section-header .count-badge { margin-top: 10px; }
  .finder { padding: 19px; border-radius: 15px; }
  .finder-controls { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .field > label { font-size: 12px; }
  .input, .field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea { font-size: 16px; min-height: 46px; padding: 11px 12px; }
  .search-field .input { padding-left: 42px; }
  .school-row { gap: 10px; }
  .school-symbol { width: 41px; height: 41px; border-radius: 10px; }
  .school-info { flex-basis: calc(100% - 55px); }
  .school-info h3, .school-info strong { font-size: 13px; }
  .school-info p { font-size: 10px; }
  .school-tags { margin-left: 51px; gap: 4px; }
  .school-tags .tag { font-size: 9px; padding: 3px 6px; }
  .school-row > .btn { min-height: 32px; padding: 6px 9px; font-size: 10px; }
  .school-row > .btn svg { width: 13px; height: 13px; }
  .footer { font-size: 10px; }
  .footer-links { gap: 12px; }
  .content-page { padding-top: 22px; }
  .page-heading h1 { font-size: 28px; }
  .page-heading p { font-size: 12px; }
  .form-card { padding: 19px; border-radius: 15px; margin-bottom: 17px; }
  .card-head { gap: 10px; padding-bottom: 17px; }
  .card-head h2 { font-size: 16px; }
  .card-head p { font-size: 10px; }
  .step-number { width: 31px; height: 31px; border-radius: 8px; font-size: 12px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .input-row { flex-wrap: wrap; gap: 8px; }
  .input-row .input { flex-basis: 100%; }
  .input-row .btn { min-height: 40px; font-size: 12px; }
  .form-actions { flex-wrap: wrap; justify-content: stretch; gap: 10px; }
  .form-actions > .btn { flex: 1; min-width: 110px; font-size: 12px; }
  .form-actions p { flex-basis: 100%; max-width: none; }
  .registration-layout aside { grid-template-columns: minmax(0, 1fr); }
  .category-option { font-size: 11px; }
  .demo-panel { padding: 14px; }
  .demo-panel .form-grid, .demo-panel .demo-controls { grid-template-columns: minmax(0, 1fr); }
  .demo-panel .input, .demo-panel select { font-size: 16px; }
  .login-layout h1 { font-size: 33px; }
  .login-layout .hero-description { font-size: 13px; }
  .qr-card { padding: 23px; }
  .qr-card h2 { font-size: 21px; }
  .qr-card > p { font-size: 12px; }
  .qr-frame { padding: 15px; margin-top: 20px; }
  .workspace-header { padding: 13px 16px; gap: 9px; min-height: 69px; }
  .workspace-header h1 { font-size: 14px; }
  .workspace-header .breadcrumbs { display: none; }
  .workspace-header .header-actions { gap: 6px; }
  .workspace-header .header-actions > .btn { font-size: 10px; padding-inline: 5px; }
  .workspace-body { padding: 23px 16px 35px; }
  .workspace-body > .demo-strip { margin: -23px -16px 23px; }
  .welcome-line h1, .welcome-line h2 { font-size: 24px; }
  .welcome-line p { font-size: 11px; }
  .dashboard-grid { grid-template-columns: minmax(0, 1fr); }
  .profile-card { padding: 22px; }
  .profile-heading { flex-wrap: nowrap; }
  .profile-heading h2, .profile-heading h3 { font-size: 16px; }
  .profile-data { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .profile-data .span-2 { grid-column: 1 / -1; }
  .organization-card { min-height: 220px; }
  .organization-card h2 { font-size: 26px; }
  .stats-grid { gap: 12px; }
  .stat-card { padding: 17px; min-height: 127px; border-radius: 14px; }
  .stat-card h3, .stat-card > p { font-size: 10px; }
  .stat-icon { right: 13px; top: 16px; }
  .stat-icon svg { width: 17px; height: 17px; }
  .stat-value { font-size: 26px; margin-top: 19px; gap: 5px; }
  .stat-value.categories { font-size: 15px; }
  .stat-value small { font-size: 9px; }
  .stat-card .active-count { margin-left: 0; font-size: 18px; }
  .dashboard-note { padding: 18px; border-radius: 14px; }
  .dashboard-note > svg { width: 19px; height: 19px; }
  .dashboard-note h3 { font-size: 14px; }
  .dashboard-note p { line-height: 1.75; }
  .dashboard-section { margin-top: 25px; }
  .dashboard-section .section-header { display: flex; }
  .dashboard-section h2 { font-size: 18px; }
  .quick-card { padding: 18px; border-radius: 13px; }
  .detail-grid .card, .support-grid > .card { padding: 21px; }
  .detail-grid .profile-data { grid-template-columns: minmax(0, 1fr); }
  .detail-grid .profile-data .span-2 { grid-column: auto; }
  .agreement-content { padding: 22px; }
  .agreement-content h2 { font-size: 20px; }
  .agreement-content p, .agreement-content li { font-size: 12px; }
  th, td { padding: 14px 16px; }
  .activity-row { flex-wrap: wrap; gap: 9px; }
  .activity-row time { margin-left: 27px; }
  dialog.modal { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border-radius: 15px; }
  .modal-head { padding: 19px; }
  .modal-head h2 { font-size: 20px; }
  .modal-body { padding: 20px; }
  .modal-actions { padding: 16px 20px; }
  .modal-actions .btn { font-size: 12px; padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 1000px) {
  .quick-card { display: grid; grid-template-columns: 39px minmax(0, 1fr) auto; column-gap: 14px; }
  .quick-card > svg:first-child { grid-column: 1; grid-row: 1 / 3; margin: 0; }
  .quick-card > strong { grid-column: 2; }
  .quick-card > p { grid-column: 2; margin-top: 2px; }
  .quick-card > span { grid-column: 3; grid-row: 1 / 3; margin: 0; align-self: center; }
  .welcome-line > .status-pill { display: none; }
}

@media (max-width: 760px) {
  .demo-strip { gap: 13px; font-size: 9px; padding-block: 7px; }
  .demo-strip > span { text-align: left; }
  .visual-school { width: 234px; height: 242px; transform: translate(-50%, -50%) rotate(-5deg) scale(.87); }
  .visual-pill.visual-pill-top { left: 8%; top: 22px; }
  .visual-pill.visual-pill-bottom { right: 7%; bottom: 22px; }
  .join-banner { padding-block: 12px 34px; gap: 22px; }
  .join-banner h2 { font-size: 22px; }
  .join-banner p { font-size: 11px; }
  .join-banner > .btn { font-size: 12px; padding-inline: 14px; }
  .workspace-title h2 { font-size: 17px; }
  .workspace-title { gap: 11px; }
  .workspace-footer { padding-inline: 20px; }
  .sidebar-overlay { display: block; }
  .sidebar-brand .mobile-menu { width: 27px; height: 27px; border: 0; }
  .sidebar-brand .mobile-menu svg { width: 16px; height: 16px; }
  .school-detail-head { gap: 15px; flex-wrap: wrap; }
  .school-detail-head h1 { font-size: 28px; }
  .school-detail-head > .tag { margin-left: 87px; margin-top: -4px; }
  .school-detail-head .school-symbol.large { width: 64px; height: 64px; }
}

@media (max-width: 480px) {
  .demo-strip { gap: 10px; font-size: 8px; align-items: start; }
  .demo-strip > span { gap: 5px; }
  .demo-strip svg { width: 11px; height: 11px; margin-top: 1px; }
  .demo-strip > button { white-space: normal; flex: 0 0 48px; text-align: right; }
  .hero-stat { gap: 6px; }
  .hero-stat > svg { width: 15px; height: 15px; }
  .hero-stat strong { font-size: 9px; line-height: 1.5; }
  .visual-school { width: 234px; height: 242px; transform: translate(-50%, -50%) rotate(-5deg) scale(.76); }
  .visual-school strong { font-size: 20px; }
  .visual-pill.visual-pill-top { top: 19px; left: 12px; }
  .visual-pill.visual-pill-bottom { bottom: 18px; right: 13px; }
  .visual-label { left: 16px; bottom: 10px; font-size: 7px; }
  .finder-help { font-size: 11px; padding-left: 0; min-height: 38px; }
  .school-info > small { font-size: 10px; }
  .school-row > svg:last-child { margin-left: auto; }
  .join-banner { display: block; padding-block: 4px 30px; }
  .join-banner h2 { font-size: 21px; }
  .join-banner .section-kicker { font-size: 8px; }
  .join-banner > .btn { margin-top: 17px; }
  .autofill-row { flex-direction: column; align-items: stretch; gap: 9px; }
  .autofill-row > .btn { align-self: start; min-height: 40px; font-size: 12px; }
  .form-card .demo-panel .form-grid { grid-template-columns: minmax(0, 1fr); }
  .category-field legend { font-size: 12px; }
  .workspace-title { gap: 8px; }
  .workspace-title h2 { font-size: 14px; }
  .workspace-header .header-actions > .avatar { display: none; }
  .workspace-header .header-actions .btn { padding-inline: 4px; }
  .workspace-footer { padding-inline: 16px; font-size: 9px; }
  .dashboard-section .section-header > .subtle { display: none; }
  .quick-card > span { font-size: 9px; gap: 4px; }
  .quick-card > p { font-size: 9px; }
  .quick-card > strong { font-size: 12px; }
  .school-detail-head h1 { font-size: 24px; }
  .school-detail-head .section-kicker { font-size: 8px; }
  .school-detail-head .school-symbol.large { width: 51px; height: 51px; border-radius: 13px; }
  .school-detail-head .school-symbol.large svg { width: 26px; height: 26px; }
  .school-detail-head > .tag { margin-left: 66px; }
}
/* Keep the collapsed mobile navigation out of the keyboard focus order. */
@media (max-width: 760px) {
  .sidebar:not(.is-open) { visibility: hidden; }
  .sidebar.is-open { visibility: visible; }
}
