:root {
  --ink: #050505;
  --ink-soft: #2c373d;
  --navy: #2c3b7a;
  --navy-2: #202b60;
  --pink: #fcaed5;
  --pink-dark: #e58cba;
  --blue: #4851de;
  --cyan: #69e4f9;
  --lime: #81f787;
  --lavender: #caaeff;
  --yellow: #ffff00;
  --paper: #f7f7f5;
  --white: #fff;
  --line: #dedfe6;
  --line-strong: #c8cad5;
  --success: #16835e;
  --warning: #a75b00;
  --danger: #ba2142;
  --shadow: 0 20px 50px rgba(44, 55, 61, .14);
  --radius: 18px;
  --radius-small: 11px;
  --header-h: 86px;
  font-family: Aptos, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { margin: 0; min-width: 0; overflow-x: clip; background: var(--paper); color: var(--ink); }

button, input, select, textarea { font: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

button { cursor: pointer; }

a { color: inherit; }

.hidden { display: none !important; }

.skip-link { position: fixed; top: 8px; left: 8px; transform: translateY(-160%); z-index: 1000; padding: 10px 14px; color: #fff; background: var(--navy); border-radius: 6px; }
.skip-link:focus { transform: none; }

:focus-visible { outline: 3px solid rgba(72, 81, 222, .45); outline-offset: 2px; }

.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 clamp(20px, 4vw, 64px); color: var(--ink); background: rgba(255, 255, 255, .97); border-bottom: 1px solid #e7e7e2; box-shadow: 0 6px 22px rgba(44, 55, 61, .06); backdrop-filter: blur(14px); }

.brand { display: inline-flex; min-width: 0; align-items: center; gap: 16px; color: var(--ink); text-decoration: none; }
.brand-logo-wrap { display: inline-flex; min-width: 0; align-items: center; }
.brand-logo { display: block; width: clamp(230px, 25vw, 330px); height: auto; }
.brand-logo-en { display: none; }
html[lang="en"] .brand-logo-es,
html[lang="zh-CN"] .brand-logo-es,
html[lang="hi"] .brand-logo-es,
html[lang="ar"] .brand-logo-es { display: none; }
html[lang="en"] .brand-logo-en,
html[lang="zh-CN"] .brand-logo-en,
html[lang="hi"] .brand-logo-en,
html[lang="ar"] .brand-logo-en { display: block; }
.brand-school { max-width: 104px; padding-left: 16px; border-left: 1px solid #c9cac7; color: #4d5153; font-size: 10px; line-height: 1.25; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.text-button, .link-button { padding: 0; border: 0; color: inherit; background: none; text-decoration: none; font-weight: 700; }
.text-button { display: inline-flex; align-items: center; gap: 8px; color: #373b3d; font-size: 13px; }
.text-button:hover, .link-button:hover { color: var(--blue); }
.shield-mini { display: grid; place-items: center; width: 21px; height: 21px; color: var(--navy); background: var(--lime); border-radius: 7px 7px 10px 10px; font-size: 11px; font-weight: 900; }
.language-switch { display: inline-flex; padding: 3px; border: 1px solid #d6d7d4; border-radius: 999px; background: #f5f5f2; }
.language-switch button { width: auto; min-width: 35px; height: 29px; padding: 0 9px; border: 0; border-radius: 999px; color: #676b6d; background: transparent; font-size: 11px; font-weight: 800; white-space: nowrap; }
.language-switch button.active { color: #fff; background: var(--blue); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: 10px; text-decoration: none; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); }
.button:disabled { cursor: not-allowed; opacity: .52; transform: none; }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 9px 24px rgba(72, 81, 222, .24); }
.button-primary:hover { background: #353ebc; }
.button-outline { color: inherit; border-color: currentColor; background: transparent; }
.button-outline-light { color: #fff; border-color: rgba(255, 255, 255, .58); background: rgba(255, 255, 255, .08); }
.button-outline-light:hover { border-color: var(--cyan); background: rgba(105, 228, 249, .14); }
.site-header .button-outline { color: var(--blue); border-color: var(--blue); }
.button-ghost { color: var(--ink); border-color: var(--line-strong); background: #fff; }
.button-small { min-height: 36px; padding: 0 15px; border-radius: 8px; font-size: 13px; }
.button-large { min-height: 54px; padding: 0 26px; }
.button-full { width: 100%; min-height: 52px; }

.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, .72fr); gap: clamp(38px, 7vw, 100px); min-height: 630px; padding: clamp(68px, 9vw, 120px) clamp(24px, 7vw, 112px) 92px; overflow: hidden; color: #fff; background: linear-gradient(125deg, #000 0%, #171d43 48%, var(--navy) 100%); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0; height: 80px; background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .13)); }
.hero-glow { position: absolute; z-index: -2; border-radius: 50%; filter: blur(1px); opacity: .55; }
.hero-glow-one { right: 34%; top: 10%; width: 370px; height: 370px; background: radial-gradient(circle, rgba(105, 228, 249, .3), transparent 70%); }
.hero-glow-two { left: -140px; bottom: -200px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(202, 174, 255, .28), transparent 68%); }
.hero-copy { align-self: center; max-width: 770px; }
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 19px; color: var(--blue); font-size: 12px; line-height: 1.2; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { color: var(--cyan); }
.status-open { padding: 10px 15px; color: var(--lime); border: 1px solid rgba(129, 247, 135, .52); border-radius: 999px; background: rgba(129, 247, 135, .11); box-shadow: 0 0 28px rgba(129, 247, 135, .08); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(129, 247, 135, .15); }
.hero h1 { max-width: 750px; margin: 0; font-size: clamp(46px, 6.1vw, 82px); line-height: .98; letter-spacing: -.055em; }
.hero-period { display: block; margin-top: 20px; color: var(--lavender); font-size: .38em; line-height: 1.15; letter-spacing: -.015em; }
.hero-lead { max-width: 660px; margin: 28px 0 0; color: #cdd0df; font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .button-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .05); }
.hero-caption { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; color: #9fa4bd; font-size: 13px; }
.secretariat-entry { padding: 2px 0; border: 0; color: #73778a; background: transparent; font-size: 11px; font-weight: 700; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; }
.secretariat-entry:hover { color: var(--blue); text-decoration-color: currentColor; }
.hero-secretariat-entry { margin-top: 21px; color: #8d93aa; }
.hero-secretariat-entry:hover { color: #d7daea; }

.hero-panel { align-self: center; min-height: 440px; padding: 28px; border: 1px solid rgba(255, 255, 255, .17); border-radius: 24px; background: rgba(255, 255, 255, .065); box-shadow: 0 30px 80px rgba(0, 0, 0, .2); backdrop-filter: blur(10px); }
.panel-topline { display: flex; align-items: center; justify-content: space-between; color: #bfc2d2; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.period-pill { padding: 6px 9px; color: var(--lime); border: 1px solid rgba(129, 247, 135, .45); border-radius: 999px; }
.route-visual { position: relative; display: flex; justify-content: space-between; margin: 38px 7px 30px; }
.route-line { position: absolute; top: 13px; left: 15px; right: 15px; height: 1px; background: rgba(255, 255, 255, .18); }
.route-stop { z-index: 1; }
.route-stop span { display: grid; place-items: center; width: 27px; height: 27px; color: #737992; border: 1px solid #555b75; border-radius: 50%; background: var(--navy-2); font-size: 10px; font-weight: 900; }
.route-stop.done span { color: var(--navy); border-color: var(--lime); background: var(--lime); }
.route-stop.current span { color: var(--ink); border-color: var(--lavender); background: var(--lavender); box-shadow: 0 0 0 5px rgba(202, 174, 255, .16); }
.route-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.route-list li { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 17px 0; border-top: 1px solid rgba(255, 255, 255, .09); }
.route-list li > span { color: #69708c; font-size: 11px; font-weight: 900; }
.route-list li div { display: grid; gap: 5px; }
.route-list strong { font-size: 15px; }
.route-list small { color: #969bb4; }

.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0 clamp(24px, 6vw, 96px); border-bottom: 1px solid var(--line); background: #fff; }
.trust-strip > div { display: flex; align-items: center; gap: 14px; min-height: 112px; padding: 20px clamp(10px, 2vw, 28px); border-right: 1px solid var(--line); }
.trust-strip > div:first-child { border-left: 1px solid var(--line); }
.trust-icon { display: grid; flex: 0 0 auto; place-items: center; width: 38px; height: 38px; color: var(--blue); border: 1px solid var(--lavender); border-radius: 50%; background: #f5f0ff; font-weight: 900; }
.trust-strip p { display: grid; gap: 5px; margin: 0; }
.trust-strip strong { font-size: 14px; }
.trust-strip small { color: var(--ink-soft); line-height: 1.35; }

.tutorial-section { display: grid; grid-template-columns: minmax(320px, .75fr) minmax(480px, 1.25fr); align-items: center; gap: clamp(38px, 6vw, 90px); background: linear-gradient(135deg, #f7f7f5 0%, #f2edff 100%); }
.tutorial-copy h2 { max-width: 650px; margin: 0; font-size: clamp(36px, 4.5vw, 62px); line-height: 1.02; letter-spacing: -.05em; }
.tutorial-copy > p { max-width: 620px; margin: 24px 0 0; color: var(--ink-soft); font-size: 18px; line-height: 1.6; }
.tutorial-role-band { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.tutorial-role-band > span { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 10px 13px; border: 1px solid #d5d7eb; border-radius: 12px; color: var(--navy); background: rgba(255, 255, 255, .72); }
.tutorial-role-band b { display: grid; flex: 0 0 auto; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--navy); background: var(--cyan); font-size: 10px; }
.tutorial-role-band span:last-child b { background: var(--lavender); }
.tutorial-role-band strong { font-size: 12px; line-height: 1.25; }
.tutorial-promises { display: grid; gap: 13px; margin-top: 30px; }
.tutorial-promises > div { display: flex; align-items: center; gap: 13px; }
.tutorial-promises > div > span { display: grid; flex: 0 0 auto; place-items: center; width: 32px; height: 32px; color: #105c3d; border-radius: 50%; background: var(--lime); font-weight: 900; }
.tutorial-promises p { display: grid; gap: 3px; margin: 0; }
.tutorial-promises strong { font-size: 14px; }
.tutorial-promises small { color: var(--ink-soft); line-height: 1.35; }
.tutorial-transcript { margin-top: 28px; padding-top: 20px; border-top: 1px solid #d6d4df; }
.tutorial-transcript summary { cursor: pointer; color: var(--blue); font-weight: 800; }
.tutorial-transcript ol { margin: 16px 0 0; padding-left: 22px; color: var(--ink-soft); line-height: 1.55; }
.tutorial-transcript li + li { margin-top: 7px; }
.tutorial-player { min-width: 0; }
.tutorial-language-switch { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; margin: 0 0 12px; }
.tutorial-language-switch button { min-height: 34px; padding: 6px 11px; border: 1px solid #c8cad8; border-radius: 999px; color: #45495d; background: rgba(255,255,255,.8); font-size: 11px; font-weight: 850; }
.tutorial-language-switch button:hover { border-color: var(--blue); }
.tutorial-language-switch button.active { color: #fff; border-color: var(--navy); background: var(--navy); box-shadow: 0 5px 14px rgba(17,20,46,.16); }
.video-frame { position: relative; padding: 9px; border-radius: 22px; background: #000; box-shadow: 0 28px 70px rgba(44, 59, 122, .24); }
.video-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 15px; background: #000; }
.video-duration { position: absolute; z-index: 2; right: 21px; top: 21px; padding: 6px 9px; color: #fff; border-radius: 999px; background: rgba(0,0,0,.72); font-size: 11px; font-weight: 900; letter-spacing: .06em; }
.tutorial-play { position: absolute; z-index: 3; left: 50%; top: 50%; display: grid; place-items: center; gap: 10px; min-width: 150px; padding: 16px 20px; transform: translate(-50%,-50%); border: 1px solid rgba(255,255,255,.38); border-radius: 16px; color: #fff; background: rgba(0,0,0,.8); box-shadow: 0 14px 38px rgba(0,0,0,.3); backdrop-filter: blur(8px); }
.tutorial-play:hover { background: var(--blue); }
.tutorial-play > span { display: grid; place-items: center; width: 42px; height: 42px; padding-left: 3px; border-radius: 50%; color: var(--navy); background: var(--lime); font-size: 18px; }
.tutorial-play strong { font-size: 13px; }
.tutorial-note { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 15px 0 0; color: var(--ink-soft); font-size: 12px; text-align: center; }
.tutorial-note > span:first-child { padding: 3px 5px; color: var(--navy); border: 1px solid currentColor; border-radius: 4px; font-size: 9px; font-weight: 900; }

.landing-section { padding: clamp(70px, 9vw, 120px) clamp(24px, 7vw, 112px); }
.section-heading { max-width: 760px; }
.section-heading h2, .privacy-callout h2 { margin: 0; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -.045em; }
.section-heading p, .privacy-callout p { color: var(--ink-soft); font-size: 18px; line-height: 1.6; }
.evaluation-section { color: #fff; background: #000; }
.evaluation-section .section-heading p { color: #bfc3d6; }
.evaluation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.evaluation-grid article { min-height: 230px; padding: 30px; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); background: rgba(255,255,255,.055); }
.evaluation-grid article > span { display: block; margin-bottom: 36px; color: var(--lime); font-size: 42px; font-weight: 900; letter-spacing: -.05em; }
.evaluation-grid h3 { margin: 0 0 18px; font-size: 22px; line-height: 1.2; }
.evaluation-grid p { margin: 0; color: #bfc3d6; font-size: 14px; line-height: 1.5; }
.evaluation-note { margin: 24px 0 0; padding-left: 18px; color: #d8dbea; border-left: 3px solid var(--cyan); line-height: 1.5; }
.prepare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.feature-card { position: relative; min-height: 300px; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.feature-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--pink); }
.feature-card.accent-blue::before { background: var(--blue); }
.feature-card.accent-lime::before { background: var(--lime); }
.feature-number { display: inline-block; margin-bottom: 48px; color: #a7a9b7; font-size: 12px; font-weight: 900; }
.feature-card h3 { margin: 0 0 13px; font-size: 25px; letter-spacing: -.025em; }
.feature-card p { color: var(--ink-soft); line-height: 1.55; }
.feature-card .link-button { margin-top: 22px; color: var(--blue); }
.feature-card code { display: block; margin-top: 25px; padding: 12px; overflow-wrap: anywhere; color: #294fc6; border-radius: 8px; background: #edf2ff; font-size: 12px; }
.weight-demo { position: relative; height: 8px; margin-top: 34px; border-radius: 99px; background: #e9eadf; }
.weight-demo span { display: block; width: 64%; height: 100%; border-radius: inherit; background: var(--lime); }
.weight-demo small { position: absolute; right: 0; top: 14px; color: var(--ink-soft); }

.privacy-callout { display: grid; grid-template-columns: 90px minmax(0, 1.3fr) minmax(270px, .7fr); align-items: center; gap: 40px; margin: 0 clamp(24px, 5vw, 80px) 100px; padding: clamp(45px, 6vw, 76px); color: #fff; border-radius: 28px; background: linear-gradient(130deg, var(--navy), var(--blue)); }
.privacy-callout p { color: #bec2d5; }
.privacy-callout .link-button { margin-top: 12px; color: var(--cyan); }
.privacy-seal { display: grid; place-items: center; width: 78px; height: 88px; clip-path: polygon(50% 0, 94% 16%, 89% 70%, 50% 100%, 11% 70%, 6% 16%); background: var(--lime); }
.privacy-seal span { color: var(--navy); font-size: 30px; font-weight: 900; }
.privacy-facts { display: grid; gap: 22px; padding-left: 32px; border-left: 1px solid rgba(255, 255, 255, .18); }
.privacy-facts div { display: grid; gap: 8px; }
.privacy-facts small { color: #9298b2; text-transform: uppercase; letter-spacing: .1em; }
.privacy-facts strong { font-size: 14px; line-height: 1.45; }

.auth-view { display: grid; grid-template-columns: minmax(350px, 1fr) minmax(440px, .85fr); min-height: calc(100vh - var(--header-h)); background: #fff; }
.auth-art { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 45px clamp(34px, 6vw, 90px) 70px; overflow: hidden; color: #fff; background: var(--navy); }
.auth-art::before, .auth-art::after { content: ""; position: absolute; border-radius: 50%; }
.auth-art::before { right: -210px; top: -100px; width: 540px; height: 540px; border: 90px solid rgba(105, 228, 249, .13); }
.auth-art::after { left: -180px; bottom: -310px; width: 600px; height: 600px; border: 120px solid rgba(202, 174, 255, .12); }
.back-link { z-index: 1; color: #c4c7d8; text-decoration: none; font-weight: 700; }
.auth-quote { z-index: 1; max-width: 650px; }
.auth-quote blockquote { margin: 0 0 25px; font-size: clamp(36px, 4.2vw, 61px); line-height: 1.05; letter-spacing: -.045em; font-weight: 800; }
.auth-quote p { max-width: 520px; color: #aeb3ca; font-size: 18px; line-height: 1.55; }
.auth-card { align-self: center; width: min(560px, calc(100% - 48px)); margin: 48px auto; padding: 36px 46px; }
.portal-choice { margin-bottom: 30px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.portal-choice > .kicker { margin-bottom: 9px; }
.portal-choice > h1 { margin: 0; font-size: clamp(25px, 2.3vw, 34px); line-height: 1.05; letter-spacing: -.035em; }
.portal-choice > p { margin: 11px 0 18px; color: var(--ink-soft); font-size: 13px; line-height: 1.45; }
.portal-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.portal-choice-card { display: grid; grid-template-columns: 32px 1fr 18px; align-items: center; gap: 11px; min-height: 98px; padding: 15px; border: 1px solid #d7d9e5; border-radius: 14px; color: var(--ink); background: #fff; text-align: left; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.portal-choice-card:hover { transform: translateY(-1px); border-color: var(--blue); box-shadow: 0 10px 24px rgba(44, 59, 122, .1); }
.portal-choice-card.active { border-color: var(--blue); background: #f4f5ff; box-shadow: inset 0 0 0 1px var(--blue); }
.portal-choice-card.admin.active { border-color: var(--navy); background: #f1f3f9; box-shadow: inset 0 0 0 1px var(--navy); }
.portal-choice-card > span:nth-child(2) { display: grid; gap: 5px; }
.portal-choice-card strong { font-size: 14px; line-height: 1.2; }
.portal-choice-card small { color: #60657a; font-size: 11px; line-height: 1.35; }
.portal-choice-number { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; color: var(--navy); background: var(--cyan); font-size: 10px; font-weight: 900; }
.portal-choice-card.admin .portal-choice-number { background: var(--lavender); }
.portal-choice-arrow { color: var(--blue); font-weight: 900; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 46px; border-bottom: 1px solid var(--line); }
.auth-tabs.admin-mode { display: none; }
.auth-tabs button { padding: 14px 8px; border: 0; border-bottom: 3px solid transparent; color: #777b90; background: transparent; font-weight: 800; }
.auth-tabs button.active { color: var(--ink); border-bottom-color: var(--blue); }
.auth-panel h1 { margin: 0; font-size: 38px; letter-spacing: -.04em; }
.auth-panel > p { margin-bottom: 30px; color: var(--ink-soft); line-height: 1.5; }
.demo-access { margin: -8px 0 26px; padding: 18px; border: 1px solid #cfd3f7; border-radius: 14px; background: #f5f6ff; }
.demo-access-header { display: grid; gap: 4px; margin-bottom: 14px; }
.demo-access-header .kicker { color: var(--blue); }
.demo-access-header h2 { margin: 0; font-size: 19px; letter-spacing: -.02em; }
.demo-access-header p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.45; }
.demo-account-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.demo-account { display: grid; gap: 10px; padding: 13px; border: 1px solid #dde0f3; border-radius: 10px; background: #fff; }
.demo-account.admin { border-color: #d1d5e4; background: #fdfdff; }
.demo-account-role { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.demo-account-role strong { font-size: 13px; }
.demo-account-role span { padding: 4px 7px; border-radius: 99px; color: var(--navy); background: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.demo-account dl { display: grid; gap: 7px; margin: 0; }
.demo-account dl div { display: grid; gap: 2px; min-width: 0; }
.demo-account dt { color: var(--ink-soft); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.demo-account dd { margin: 0; }
.demo-account code { display: block; overflow-wrap: anywhere; color: var(--navy); font-family: "Cascadia Mono", Consolas, monospace; font-size: 11px; font-weight: 700; }
.demo-login-button { width: 100%; min-height: 38px; padding: 8px 10px; border: 0; border-radius: 8px; color: #fff; background: var(--blue); font-size: 11px; font-weight: 800; }
.demo-login-button:hover { background: var(--navy); }
.demo-local-note { display: block; margin-top: 11px; color: #626781; font-size: 10px; line-height: 1.4; }
form label { display: grid; gap: 8px; margin: 0 0 19px; color: #34374e; font-size: 13px; font-weight: 800; }
input, select, textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 9px; color: var(--ink); background: #fff; }
input, select { height: 48px; padding: 0 14px; }
textarea { min-height: 104px; padding: 13px 14px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: 3px solid rgba(72, 81, 222, .12); }
.password-wrap { position: relative; display: block; }
.password-wrap input { padding-right: 46px; }
.password-toggle { position: absolute; top: 0; right: 0; width: 45px; height: 48px; border: 0; color: #767a8f; background: transparent; }
.forgot-password-link { display: block; margin: -8px 0 18px auto; padding: 2px 0; border: 0; color: var(--blue); background: transparent; font-size: 13px; font-weight: 800; text-align: right; }
.forgot-password-link:hover { text-decoration: underline; }
.password-field { margin-bottom: 9px; }
.password-requirements { margin: 0 0 20px; padding: 13px 15px; border: 1px solid #dddfe7; border-radius: 9px; color: #4f5457; background: #f7f7f5; font-size: 12px; line-height: 1.35; }
.password-requirements strong { color: var(--ink); font-size: 12px; }
.password-requirements ul { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 14px; margin: 10px 0 0; padding: 0; list-style: none; }
.password-requirements li { position: relative; padding-left: 20px; }
.password-requirements li::before { content: "○"; position: absolute; left: 0; top: -1px; color: #777b7e; font-size: 15px; font-weight: 900; }
.password-requirements li.met { color: #116744; font-weight: 700; }
.password-requirements li.met::before { content: "✓"; color: var(--success); }
.anti-bot-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }
#register-password[aria-invalid="true"] { border-color: var(--danger); }
form label small { color: #85889a; font-weight: 500; line-height: 1.4; }
.email-hint { display: block; padding: 11px 13px; border-left: 3px solid var(--cyan); border-radius: 0 7px 7px 0; color: #374348; background: #effbfc; }
.check-row { grid-template-columns: 19px 1fr; align-items: start; font-weight: 500; line-height: 1.45; }
.check-row input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--blue); }
.form-error { min-height: 20px; margin: -6px 0 12px; color: var(--danger); font-size: 13px; font-weight: 700; }
.auth-security { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.auth-security > span { display: grid; place-items: center; width: 32px; height: 32px; color: var(--success); border-radius: 50%; background: #e8f6f0; }
.auth-security p { display: grid; gap: 3px; margin: 0; }
.auth-security small { color: var(--ink-soft); }
.auth-secretariat-entry { display: block; margin: 18px auto 0; }
.auth-secretariat-entry.admin-return { color: var(--blue); }

.portal-view { display: grid; grid-template-columns: 290px minmax(0, 1fr); min-height: calc(100vh - var(--header-h)); background: #f5f5f1; }
.portal-sidebar { position: sticky; top: var(--header-h); align-self: start; height: calc(100vh - var(--header-h)); padding: 29px 22px; overflow-y: auto; color: #fff; background: var(--navy); }
.progress-card { display: flex; align-items: center; gap: 14px; padding: 7px 7px 25px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.progress-ring { --progress: 0deg; display: grid; flex: 0 0 auto; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--lime) var(--progress), rgba(255,255,255,.12) 0); }
.progress-ring::before { content: ""; grid-area: 1/1; width: 50px; height: 50px; border-radius: 50%; background: var(--navy); }
.progress-ring strong { z-index: 1; grid-area: 1/1; font-size: 13px; }
.progress-card > div:last-child { display: grid; gap: 5px; }
.progress-card small { color: #8f95af; }
.step-navigation { display: grid; gap: 5px; margin-top: 24px; }
.step-button { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 11px; width: 100%; padding: 12px 10px; border: 0; border-radius: 10px; color: #979db6; text-align: left; background: transparent; }
.step-button span { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #4b506a; border-radius: 50%; font-size: 11px; font-weight: 900; }
.step-button strong { font-size: 13px; }
.step-button:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.step-button.active { color: #fff; background: rgba(255, 255, 255, .1); }
.step-button.active span { color: var(--navy); border-color: var(--pink); background: var(--pink); }
.step-button.complete span { color: var(--navy); border-color: var(--lime); background: var(--lime); }
.sidebar-help { display: grid; grid-template-columns: 34px 1fr; gap: 11px; margin-top: 28px; padding: 18px 10px; border-top: 1px solid rgba(255, 255, 255, .1); }
.sidebar-help > span { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid #676d87; border-radius: 50%; }
.sidebar-help p { display: grid; gap: 5px; margin: 0; }
.sidebar-help small { color: #9298b2; line-height: 1.4; }
.sidebar-help .link-button { grid-column: 2; justify-self: start; color: #f599b5; font-size: 12px; }
.portal-main { min-width: 0; }
.portal-toolbar { display: flex; align-items: center; justify-content: space-between; min-height: 74px; padding: 14px clamp(25px, 5vw, 70px); border-bottom: 1px solid var(--line); background: #fff; }
.portal-toolbar > div:first-child { display: grid; gap: 5px; }
.breadcrumb { color: #85889a; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.save-status { display: flex; align-items: center; gap: 8px; color: var(--success); font-size: 12px; font-weight: 800; }
.save-status span:first-child { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.save-status.saving { color: var(--warning); }
.save-status.error { color: var(--danger); }
.status-banner { margin: 24px clamp(25px, 5vw, 70px) 0; padding: 14px 18px; border-left: 4px solid var(--blue); border-radius: 8px; color: #23438f; background: #eaf0ff; line-height: 1.5; }
.status-banner.success { color: #116447; border-color: var(--success); background: #e9f6f0; }
.status-banner.warning { color: #7d4807; border-color: var(--warning); background: #fff4df; }
.step-content { max-width: 1060px; min-height: calc(100vh - 230px); padding: clamp(42px, 6vw, 74px) clamp(25px, 5vw, 70px) 40px; }
.step-heading { max-width: 820px; margin-bottom: 36px; }
.step-heading .step-eyebrow { display: inline-flex; margin-bottom: 12px; color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.step-heading h1 { margin: 0; font-size: clamp(34px, 4.2vw, 52px); line-height: 1.04; letter-spacing: -.045em; }
.step-heading p { max-width: 750px; color: var(--ink-soft); font-size: 17px; line-height: 1.55; }
.form-card, .review-card, .docs-block { padding: clamp(22px, 3.5vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.form-card + .form-card, .form-card + .docs-block, .docs-block + .form-card, .docs-block + .docs-block, .review-card + .review-card { margin-top: 18px; }
.form-card h2, .docs-block h2, .review-card h2 { margin: 0 0 6px; font-size: 22px; letter-spacing: -.025em; }
.form-card > p, .docs-block > p, .review-card > p { margin: 0 0 25px; color: var(--ink-soft); line-height: 1.5; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 20px; }
.register-name-grid { margin-bottom: 19px; }
.register-name-grid .field { margin-bottom: 0; }
.phone-fields { display: grid; grid-template-columns: minmax(170px,.65fr) minmax(220px,1.35fr); gap: 14px; grid-column: 1 / -1; }
.phone-fields .field { margin-bottom: 0; }
.industrial-agreement { margin-top: 22px; }
.form-grid .field { display: grid; gap: 8px; margin: 0; font-size: 13px; font-weight: 800; }
.field.full { grid-column: 1 / -1; }
.field .optional { color: #9295a4; font-size: 11px; font-weight: 600; }
.field small { color: #85889a; font-weight: 500; line-height: 1.4; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choice-card { position: relative; display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 11px; min-height: 84px; margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 12px; font-weight: 500; background: #fff; }
.choice-card:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(72,81,222,.1); }
.choice-card input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--blue); }
.choice-card span { display: grid; gap: 5px; }
.choice-card strong { font-size: 14px; }
.choice-card small { color: var(--ink-soft); line-height: 1.35; }
.info-note { display: flex; align-items: flex-start; gap: 13px; margin-top: 22px; padding: 16px 18px; border-radius: 10px; color: #27437f; background: #eef3ff; line-height: 1.5; }
.info-note.warning { color: #75460a; background: #fff4e0; }
.info-note.privacy { color: #514271; background: #f3edff; }
.info-note > span { display: grid; flex: 0 0 auto; place-items: center; width: 24px; height: 24px; border: 1px solid currentColor; border-radius: 50%; font-weight: 900; }
.step-heading .institutional-review-notice { max-width: 860px; margin-top: 16px; text-align: left; }

.docs-block-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.docs-block-header > div { max-width: 700px; }
.docs-block-header h2 { margin-bottom: 8px; }
.docs-block-header p { margin: 0; color: var(--ink-soft); line-height: 1.45; }
.doc-count { flex: 0 0 auto; padding: 8px 11px; border-radius: 99px; color: #3f4e1f; background: #edf6cf; font-size: 12px; font-weight: 900; }
.document-grid { display: grid; gap: 12px; }
.document-grid, .document-card, .doc-copy, .doc-action, .doc-note { min-width: 0; max-width: 100%; }
.document-card { display: grid; grid-template-columns: 42px minmax(0, 1fr) minmax(210px, .55fr); gap: 17px; align-items: start; padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: #fff; transition: border-color .18s ease, box-shadow .18s ease; }
.document-card:hover { border-color: #bfc3d1; box-shadow: 0 9px 25px rgba(17,20,46,.06); }
.document-card.uploaded { border-color: #b6decf; background: #fbfffd; }
.document-card.explained { border-color: #edc887; background: #fffdf8; }
.doc-icon { display: grid; place-items: center; width: 42px; height: 46px; border-radius: 8px 8px 12px 12px; color: var(--blue); background: #f2edff; font-size: 11px; font-weight: 900; }
.document-card.uploaded .doc-icon { color: var(--success); background: #e9f7f1; }
.requirement-badge { display: inline-flex; margin-left: 7px; padding: 3px 7px; border-radius: 999px; vertical-align: 2px; font-size: 9px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.requirement-badge.required { color: #713315; background: #fff0df; }
.requirement-badge.optional { color: #38547f; background: #eaf1ff; }
.doc-copy h3 { margin: 0 0 7px; font-size: 16px; }
.doc-copy p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.45; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 11px; }
.doc-meta span { padding: 5px 8px; border-radius: 6px; color: #686c7e; background: #f0f1f4; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.doc-tip { display: flex; align-items: flex-start; gap: 7px; min-width: 0; margin-top: 12px; color: #766545; font-size: 12px; line-height: 1.4; }
.doc-tip span { flex: 0 0 auto; }
.doc-tip div, .doc-copy h3, .doc-copy p, .doc-note, .file-preview strong { overflow-wrap: anywhere; word-break: break-word; }
.doc-action { min-width: 0; }
.upload-box { position: relative; display: grid; place-items: center; min-height: 116px; padding: 14px; border: 1px dashed #adb1c1; border-radius: 10px; text-align: center; background: #fafafa; }
.upload-box:hover { border-color: var(--blue); background: #f5f8ff; }
.upload-box input { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; opacity: 0; }
.upload-box strong { color: #3f60c3; font-size: 13px; }
.upload-box small { margin-top: 6px; color: #8a8d9e; line-height: 1.35; }
.doc-note { grid-column: 2 / -1; display: grid; gap: 7px; padding-top: 14px; border-top: 1px solid var(--line); }
.doc-note > span { color: var(--ink); font-size: 12px; font-weight: 850; }
.doc-note textarea { min-height: 78px; resize: vertical; padding: 11px 12px; border: 1px solid #cfd2dd; border-radius: 9px; color: var(--ink); background: #fff; font: inherit; font-size: 13px; line-height: 1.45; }
.doc-note textarea:focus { outline: 2px solid rgba(48,88,205,.18); border-color: var(--blue); }
.doc-note small { color: var(--ink-soft); font-size: 11px; line-height: 1.4; }
.official-form-block { padding: 22px; border: 2px solid #2f60cc; border-radius: 15px; background: linear-gradient(145deg,#f7faff,#fff); }
.official-form-block .docs-block-header { align-items: flex-start; }
.official-form-block .docs-block-header p { max-width: 760px; color: var(--ink-soft); line-height: 1.55; }
.identity-block { margin-top: 18px; border-color: #cbd4ee; background: #fbfcff; }
.contextual-upload { margin-top: 18px; padding: 18px; border: 1px solid #d9dce7; border-radius: 13px; background: #fafbfe; }
.contextual-upload > .document-grid { margin-top: 12px; }
.form-subheading { margin: 25px 0 12px; font-size: 14px; }
.file-preview { display: grid; gap: 10px; padding: 13px; border-radius: 10px; background: #edf7f3; }
.file-preview strong { overflow: hidden; text-overflow: ellipsis; color: #166c50; font-size: 13px; white-space: nowrap; }
.file-preview small { color: #4d7769; }
.file-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.file-actions a, .file-actions button { padding: 6px 8px; border: 0; border-radius: 6px; color: #305c4c; background: #dcefe7; text-decoration: none; font-size: 11px; font-weight: 800; }
.file-actions .remove-file { color: #91324a; background: #f9e4e9; }
.file-actions .remove-file:hover { color: #fff; background: #a52d4c; }
.video-document-card .doc-action { grid-column: 2 / -1; }
.video-upload-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.video-upload-options > * { min-width: 0; min-height: 116px; }
.document-card .video-safety-check { grid-column: 2 / -1; display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; gap: 10px; width: 100%; margin: 0; padding: 13px 15px; border: 1px solid #e2c77b; border-radius: 10px; color: #6f4b0b; background: #fff9e9; font-size: 12px; font-weight: 700; line-height: 1.5; }
.document-card .video-safety-check input { width: 18px; height: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--blue); }
.document-card .video-safety-check span { min-width: 0; text-align: justify; text-justify: inter-word; overflow-wrap: anywhere; hyphens: auto; }
.video-security-status { width: fit-content; padding: 5px 8px; border-radius: 999px; color: #79510b; background: #fff1c9; font-size: 10px; font-weight: 850; }
.record-video-button { display: grid; place-items: center; min-height: 70px; padding: 12px; border: 1px solid #abb7d8; border-radius: 10px; color: #264da8; background: #f4f7ff; font: inherit; font-size: 12px; font-weight: 850; text-align: center; }
.record-video-button:hover { border-color: var(--blue); background: #eaf0ff; }
.record-video-button small { display: block; margin-top: 5px; color: var(--ink-soft); font-weight: 550; line-height: 1.35; }
.motivation-upload-block { margin-top: 18px; padding: 18px; border: 1px solid #ccd5ed; border-radius: 13px; background: #f8faff; }
.motivation-upload-heading { margin: 0 0 13px; font-size: 15px; }
.download-model { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: #3157c0; font-size: 13px; font-weight: 800; text-decoration: none; }
.academic-policy { margin: 18px 0; padding: 25px 28px; border-left: 5px solid var(--blue); border-radius: 0 15px 15px 0; background: linear-gradient(125deg,#eef3ff,#f8f6ff); }
.academic-policy h2 { margin: 0 0 9px; font-size: 21px; }
.academic-policy > p { margin: 0; color: #4e5771; line-height: 1.55; }
.academic-policy > a { display: inline-flex; margin-top: 14px; color: #284fba; font-size: 13px; font-weight: 850; }
.academic-files-block { margin-top: 18px; }
.academic-document-group + .academic-document-group { margin-top: 18px; padding-top: 18px; border-top: 2px solid #ececf2; }
.companion-panel { margin: 10px 0 0 58px; padding: 16px; border-left: 3px solid #b8a2e8; border-radius: 0 12px 12px 0; background: #f8f5ff; }
.companion-heading { margin-bottom: 12px; }
.companion-heading h3 { margin: 0 0 5px; font-size: 14px; }
.companion-heading p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.45; }
.companion-panel .document-card { background: rgba(255,255,255,.82); }

.review-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.summary-stat { padding: 18px; border-radius: 12px; background: #f3f4f6; }
.summary-stat small { display: block; margin-bottom: 7px; color: #7e8191; }
.summary-stat strong { font-size: 25px; }
.checklist { display: grid; gap: 10px; margin-top: 18px; }
.check-item { display: flex; align-items: flex-start; gap: 11px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.check-item:last-child { border-bottom: 0; }
.check-item > span { display: grid; flex: 0 0 auto; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: var(--danger); background: #fbe9ed; font-size: 12px; font-weight: 900; }
.check-item.ok > span { color: var(--success); background: #e8f6f0; }
.check-item p { display: grid; gap: 4px; margin: 0; }
.check-item small { color: var(--ink-soft); }
.consent-box { margin-top: 22px; padding: 22px; border: 1px solid #b7bfd6; border-radius: 13px; background: #f7f9ff; }
.consent-box .check-row { display: grid; margin: 0; padding: 15px 0; border-bottom: 1px solid #dce0ed; }
.consent-box .check-row:last-child { border-bottom: 0; }
.review-process-note { margin-bottom: 24px; padding: 19px; border-radius: 12px; background: #f1f5ff; }
.review-process-note p { margin: 0; color: #33456e; line-height: 1.55; }
.review-process-note .risk-note { margin-top: 12px; padding-top: 12px; color: #75460a; border-top: 1px solid #d9dfea; }
.submit-block { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.submit-block p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.success-panel { padding: 45px; border: 1px solid #b5dfcf; border-radius: var(--radius); text-align: center; background: #f7fffb; }
.success-panel .success-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 20px; color: #fff; border-radius: 50%; background: var(--success); font-size: 32px; }
.success-panel h2 { margin: 0; font-size: 34px; }
.success-panel p { max-width: 660px; margin: 15px auto; color: var(--ink-soft); line-height: 1.55; }
.success-panel blockquote { max-width: 700px; margin: 25px auto; padding: 18px 22px; color: #244a3c; border-left: 4px solid var(--success); border-radius: 0 10px 10px 0; background: #e9f7f1; font-size: 17px; font-weight: 750; line-height: 1.55; text-align: left; }
.receipt-download { margin-top: 12px; }
.success-panel > small { display: block; margin-top: 11px; color: var(--ink-soft); line-height: 1.5; }

.step-footer { position: sticky; bottom: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; padding: 13px clamp(25px, 5vw, 70px); border-top: 1px solid var(--line); background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); }
.step-footer > span { color: #85889a; font-size: 12px; font-weight: 800; }

.admin-view { min-height: calc(100vh - var(--header-h)); padding: clamp(44px, 6vw, 75px) clamp(24px, 6vw, 90px); background: #f5f5f1; }
.admin-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.admin-heading h1 { margin: 0; font-size: clamp(38px, 5vw, 62px); letter-spacing: -.05em; }
.admin-heading p { color: var(--ink-soft); }
.admin-session-context { display: grid; justify-items: end; gap: 5px; padding: 13px 16px; border: 1px solid #cfd4ec; border-radius: 12px; color: #25305d; background: #f3f5ff; }
.admin-session-context small { color: var(--ink-soft); }
.admin-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 38px 0 22px; }
.review-requested-label { display: block; margin-top: 6px; color: #2d579a; font-size: 10px; font-weight: 850; }
.document-count-cell { display: grid; gap: 4px; }
.document-count-cell small { font-size: 10px; font-weight: 800; }
.document-count-cell .has-pending { color: #a05711; }
.document-count-cell .complete { color: var(--success); }
.review-alert { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 20px; padding: 13px 16px; border-radius: 10px; font-size: 13px; }
.review-alert.warning { color: #70410a; background: #fff2d9; }
.review-alert.success { color: #176345; background: #e8f7f0; }
.admin-doc.pending { border-color: #eed19d; background: #fffaf0; }
.admin-doc em { display: block; margin-top: 8px; color: #6a532d; font-size: 11px; font-style: normal; line-height: 1.45; }
.check-item.explained { border-color: #ead2a5; background: #fffaf1; }
.pending-ack { border: 1px solid #e1be78; border-radius: 9px; padding: 12px; background: #fff9ed; }
.admin-stat { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.admin-stat small { color: var(--ink-soft); }
.admin-stat strong { display: block; margin-top: 10px; font-size: 34px; }
.admin-stat span { display: inline-flex; margin-top: 8px; color: var(--success); font-size: 11px; font-weight: 800; }
.admin-analytics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.analytics-card { min-height: 142px; padding: 19px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.analytics-card h3 { margin: 0 0 13px; font-size: 13px; }
.analytics-card ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.analytics-card li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 7px; border-bottom: 1px solid #eceef4; font-size: 11px; }
.analytics-card li:last-child { padding-bottom: 0; border-bottom: 0; }
.analytics-card li span { overflow-wrap: anywhere; color: var(--ink-soft); }
.analytics-card p { color: var(--ink-soft); font-size: 12px; }
.analytics-card.period-card { display: grid; align-content: center; gap: 8px; color: #fff; border-color: var(--navy); background: var(--navy); }
.analytics-card.period-card h3, .analytics-card.period-card small { color: #cfd5ff; }
.analytics-card.period-card strong { font-size: 22px; line-height: 1.2; }
.admin-table-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 28px rgba(17,20,46,.05); }
.table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 18px; border-bottom: 1px solid var(--line); }
.table-filters, .table-export-actions { display: flex; align-items: center; gap: 10px; }
.table-export-actions { justify-content: flex-end; flex-wrap: wrap; }
.button-compact { min-height: 42px; padding: 0 14px; font-size: 11px; }
.search-box { position: relative; width: min(420px, 100%); }
.search-box span { position: absolute; left: 14px; top: 12px; color: #8c8f9e; }
.search-box input { padding-left: 39px; }
.table-toolbar select { width: 210px; }
.admin-filter-summary { padding: 10px 18px; color: #666b7c; background: #fafbff; font-size: 11px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
.applications-table { min-width: 1500px; }
th, td { padding: 16px 17px; border-bottom: 1px solid var(--line); text-align: left; font-size: 13px; vertical-align: middle; }
th { color: #767989; background: #fafafa; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
tbody tr:hover { background: #fcfcfe; }
.applicant-cell { display: grid; gap: 4px; }
.applicant-cell small { color: var(--ink-soft); }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 999px; color: #4f5365; background: #eceef2; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.status-pill.submitted, .status-pill.under_review { color: #274b9e; background: #e7edff; }
.status-pill.admitted { color: #116447; background: #e4f5ed; }
.status-pill.action_required { color: #84520d; background: #fff0d5; }
.status-pill.rejected { color: #9f2743; background: #f9e5ea; }
.mini-progress { display: flex; align-items: center; gap: 8px; }
.mini-progress span { width: 62px; height: 5px; overflow: hidden; border-radius: 99px; background: #e6e7ec; }
.mini-progress i { display: block; height: 100%; background: var(--blue); }
.table-action { padding: 7px 10px; border: 1px solid var(--line-strong); border-radius: 7px; color: var(--ink); background: #fff; font-size: 11px; font-weight: 800; }
.table-action[disabled] { opacity: .45; cursor: not-allowed; }
.delete-row-action { color: #922541; border-color: #e5b9c5; background: #fff7f9; }
.committee-cell, .updated-cell { display: grid; gap: 7px; min-width: 150px; }
.committee-state { color: #777b8b; font-size: 10px; font-weight: 800; line-height: 1.35; }
.committee-state.ready { color: #116447; }
.updated-cell > small { max-width: 190px; color: var(--ink-soft); font-size: 10px; line-height: 1.35; }
.updated-cell .retention-due_soon, .updated-cell .retention-expired { color: #9b3e20; font-weight: 800; }
.empty-table { padding: 42px; color: var(--ink-soft); text-align: center; }
.admin-support-card { margin-top: 26px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 28px rgba(17,20,46,.05); }
.admin-support-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px; border-bottom: 1px solid var(--line); }
.admin-support-heading .kicker { margin-bottom: 8px; }
.admin-support-heading h2 { margin: 0; font-size: clamp(25px, 3vw, 35px); letter-spacing: -.035em; }
.admin-support-heading p { max-width: 770px; margin: 8px 0 0; color: var(--ink-soft); line-height: 1.45; }
.support-state, .support-schedule { display: flex; align-items: center; gap: 9px; padding: 12px 14px; border: 1px solid #b8e0ce; border-radius: 10px; color: #116447; background: #edf9f3; font-size: 12px; font-weight: 800; line-height: 1.35; }
.support-state.closed, .support-schedule.closed { color: #84520d; border-color: #ebd2a7; background: #fff7e8; }
.support-state::before, .support-schedule::before { content: ""; flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(22,131,94,.12); }
.support-state.closed::before, .support-schedule.closed::before { background: var(--warning); box-shadow: 0 0 0 4px rgba(167,91,0,.12); }
.support-table { min-width: 1320px; }
.support-table td { vertical-align: top; }
.support-contact { display: grid; gap: 4px; }
.support-contact small { color: var(--ink-soft); }
.support-message-cell { max-width: 360px; white-space: normal; line-height: 1.45; }
.support-message-cell > p { margin: 0 0 12px; }
.support-reply-cell { min-width: 300px; vertical-align: top; }
.support-reply-editor { display: grid; gap: 5px; color: var(--ink); font-size: 11px; font-weight: 850; }
.support-reply-editor textarea { min-height: 82px; resize: vertical; padding: 9px; border: 1px solid #cfd2dd; border-radius: 8px; font: inherit; font-size: 12px; line-height: 1.4; }
.support-status-control { display: grid; gap: 7px; min-width: 150px; }
.support-status-control select { height: 38px; font-size: 12px; }
.support-status-control button { justify-self: start; }
.reply-delivery { display: block; margin-top: 8px; color: #80530b; font-size: 10px; line-height: 1.4; }
.reply-delivery.sent { color: #116447; }
.prototype-note { margin: 0; padding: 15px 20px; color: #666a78; border-top: 1px solid var(--line); background: #fafafa; font-size: 11px; line-height: 1.5; }

.support-fab { position: fixed; z-index: 45; right: 24px; bottom: 22px; display: flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 17px 0 9px; border: 0; border-radius: 999px; color: #fff; background: var(--navy); box-shadow: var(--shadow); font-weight: 800; }
body[data-view="applicant-view"] .support-fab { bottom: 92px; }
.support-fab > span:first-child { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--navy); background: var(--lime); }

.udit-legal-footer { position: relative; z-index: 4; color: #fff; background: #171717; }
.legal-footer-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.72); border-bottom: 1px solid rgba(255,255,255,.72); }
.legal-footer-links a { display: flex; align-items: center; justify-content: center; min-height: 70px; padding: 14px 18px; color: #fff; border-right: 1px solid rgba(255,255,255,.72); text-align: center; text-decoration: none; font-size: 12px; font-weight: 900; line-height: 1.3; letter-spacing: .015em; transition: color .18s ease, background .18s ease; }
.legal-footer-links a:last-child { border-right: 0; }
.legal-footer-links a:hover { color: var(--navy); background: var(--lime); }
.legal-footer-links a:focus-visible { outline: 3px solid var(--lime); outline-offset: -5px; }
.legal-footer-note { margin: 0; padding: 14px clamp(18px, 4vw, 70px) 0; color: #c8c8c8; font-size: 11px; line-height: 1.45; text-align: center; }
.legal-footer-copyright { margin: 0; padding: 13px clamp(18px, 4vw, 70px) 18px; color: #fff; font-size: 10px; font-weight: 800; line-height: 1.5; text-align: center; text-transform: uppercase; }

.modal { width: min(760px, calc(100vw - 30px)); max-height: calc(100vh - 40px); padding: clamp(28px, 5vw, 52px); overflow: auto; border: 0; border-radius: 22px; color: var(--ink); background: #fff; box-shadow: 0 30px 100px rgba(0,0,0,.3); }
.modal::backdrop { background: rgba(10, 12, 28, .72); backdrop-filter: blur(3px); }
.modal-close { position: absolute; right: 18px; top: 16px; width: 38px; height: 38px; border: 0; border-radius: 50%; color: #737688; background: #f0f1f4; font-size: 23px; }
.modal-icon { display: grid; place-items: center; width: 58px; height: 64px; margin-bottom: 25px; color: var(--navy); background: var(--lime); clip-path: polygon(50% 0, 94% 16%, 89% 70%, 50% 100%, 11% 70%, 6% 16%); font-size: 22px; font-weight: 900; }
.modal h2 { margin: 0; font-size: clamp(30px, 4.3vw, 44px); line-height: 1.05; letter-spacing: -.04em; }
.modal > p { color: var(--ink-soft); font-size: 16px; line-height: 1.55; }
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0; }
.privacy-grid div { display: grid; gap: 7px; padding: 17px; border-radius: 10px; background: #f4f5f7; }
.privacy-grid small { color: #7b7e90; text-transform: uppercase; letter-spacing: .08em; }
.privacy-grid strong { line-height: 1.4; }
.privacy-grid span { color: var(--ink-soft); font-size: 12px; line-height: 1.4; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button-danger { color: #fff; border-color: #9d2947; background: #9d2947; }
.button-danger:hover { background: #7f1f38; }
.delete-file-dialog { width: min(620px, calc(100vw - 30px)); }
.delete-modal-icon { color: #fff; background: #a52d4c; }
.delete-file-dialog > p strong { overflow-wrap: anywhere; color: var(--ink); }
.delete-warning { margin: 22px 0; padding: 15px 17px; border-left: 4px solid #a52d4c; border-radius: 0 10px 10px 0; color: #6f2538; background: #fff0f3; font-size: 13px; font-weight: 700; line-height: 1.5; }
.video-recorder-dialog { width: min(820px, calc(100vw - 30px)); }
.recorder-stage { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; margin: 24px 0 12px; overflow: hidden; border-radius: 16px; color: #fff; background: #111528; }
.recorder-stage video { display: none; width: 100%; height: 100%; object-fit: cover; background: #111528; }
.recorder-stage video.active { display: block; }
.recorder-placeholder { display: grid; place-items: center; gap: 10px; text-align: center; }
.recorder-placeholder > span { display: grid; place-items: center; width: 54px; height: 54px; border: 2px solid rgba(255,255,255,.55); border-radius: 50%; color: #f55a70; font-size: 22px; }
.recorder-placeholder strong { font-size: 14px; }
.recorder-timer { position: absolute; right: 14px; top: 14px; padding: 7px 10px; border-radius: 999px; background: rgba(8,10,23,.8); font-variant-numeric: tabular-nums; font-size: 12px; font-weight: 850; }
.recorder-status { min-height: 24px; margin: 0 0 14px !important; font-size: 13px !important; }
.recorder-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.recorder-privacy { display: block; margin-top: 17px; color: var(--ink-soft); line-height: 1.45; }
.recovery-dialog, .reset-dialog { width: min(620px, calc(100vw - 30px)); }
.recovery-form { display: grid; gap: 4px; margin-top: 27px; }
.recovery-form > label { margin-bottom: 12px; }
.recovery-form > .button { justify-self: start; margin-top: 4px; }
.recovery-security-note { display: block; margin: -3px 0 16px; padding: 12px 14px; border-left: 3px solid var(--cyan); border-radius: 0 8px 8px 0; color: var(--ink-soft); background: #effbfc; font-size: 12px; line-height: 1.5; }
.recovery-result { margin: 0 0 15px; padding: 15px 17px; border: 1px solid #b8e0ce; border-radius: 10px; color: #116447; background: #edf9f3; line-height: 1.5; }
.recovery-result strong, .recovery-result span { display: block; }
.recovery-result strong { margin-bottom: 5px; }
.recovery-result .recovery-preview-title { margin-top: 15px; padding-top: 13px; border-top: 1px solid #b8e0ce; }
.recovery-result .button { width: fit-content; margin-top: 12px; color: #fff; }
.recovery-form.completed > label,
.recovery-form.completed > .password-requirements,
.recovery-form.completed > .recovery-security-note,
.recovery-form.completed > .form-error,
.recovery-form.completed > button[type="submit"] { display: none; }
.guide-steps { display: grid; gap: 12px; margin-top: 30px; }
.guide-steps article { display: grid; grid-template-columns: 46px 1fr; gap: 15px; padding: 17px; border: 1px solid var(--line); border-radius: 12px; }
.guide-steps article > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: var(--navy); font-weight: 900; }
.guide-steps p { margin: 6px 0 0; color: var(--ink-soft); line-height: 1.45; }
.support-dialog > small { display: block; color: var(--ink-soft); line-height: 1.45; }
.support-dialog { width: min(780px, calc(100vw - 30px)); }
.support-schedule { margin: 22px 0; }
.support-form { display: grid; gap: 16px; }
.support-form label { display: grid; gap: 7px; color: var(--ink); font-size: 13px; font-weight: 800; }
.support-form label small { color: var(--ink-soft); font-weight: 500; line-height: 1.4; }
.support-form .check-row { display: grid; }
.support-form .honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.support-result { padding: 14px 16px; border: 1px solid #b8e0ce; border-radius: 10px; color: #116447; background: #edf9f3; font-weight: 700; line-height: 1.45; }
.support-fallback { margin-top: 18px; }
.support-fallback a { color: var(--blue); font-weight: 800; }
.support-dialog > .prototype-note { margin-top: 12px; border: 0; border-radius: 9px; }
.my-support-requests { margin: 24px 0 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.my-support-requests > h3 { margin: 0 0 6px; }
.my-support-requests > p { margin: 0 0 14px; color: var(--ink-soft); font-size: 13px; }
#my-support-list { display: grid; gap: 10px; }
.own-support-item { padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: #fafbff; }
.own-support-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.own-support-item > small { display: block; margin: 5px 0 12px; color: var(--ink-soft); }
.own-support-item h4 { margin: 10px 0 4px; font-size: 12px; }
.own-support-item p { margin: 0; font-size: 13px; line-height: 1.5; }
.support-reply { padding: 10px 12px; border-radius: 8px; }
.support-reply.answered { color: #116447; background: #edf9f3; }
.support-reply.pending { color: #79510b; background: #fff8e7; }
.support-empty { color: var(--ink-soft); }
.admin-detail-dialog { width: min(1000px, calc(100vw - 30px)); }
.admin-detail-header { display: flex; align-items: start; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.admin-detail-header h2 { font-size: 38px; }
.admin-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.detail-section { padding: 22px; border: 1px solid var(--line); border-radius: 13px; }
.detail-section.full { grid-column: 1 / -1; }
.detail-section h3 { margin: 0 0 17px; }
.detail-list { display: grid; gap: 12px; }
.detail-row { display: grid; grid-template-columns: minmax(130px, .4fr) 1fr; gap: 15px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.detail-row:last-child { padding-bottom: 0; border: 0; }
.detail-row small { color: var(--ink-soft); }
.admin-doc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.admin-doc { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; border-radius: 9px; background: #f5f6f8; }
.admin-doc span { min-width: 0; display: grid; gap: 3px; }
.admin-doc strong { overflow: hidden; text-overflow: ellipsis; font-size: 13px; white-space: nowrap; }
.admin-doc small { color: var(--ink-soft); }
.admin-doc a { flex: 0 0 auto; color: #3157c0; font-size: 12px; font-weight: 800; }
.admin-controls { display: grid; grid-template-columns: 220px 1fr auto; gap: 12px; align-items: end; margin-top: 18px; }
.admin-controls label { display: grid; gap: 7px; font-size: 12px; font-weight: 800; }
.detail-quick-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 14px; }
.retention-detail { color: #33405e; background: #f7f8fc; }
.retention-detail.due_soon, .retention-detail.expired { color: #7f341d; border-color: #e8b9a8; background: #fff5f1; }
.retention-detail p { margin: 0; line-height: 1.5; }
.activity-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.activity-list li { display: grid; grid-template-columns: 15px 1fr; gap: 12px; padding: 0 0 16px; }
.activity-list li > span { position: relative; width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px #e9ecff; }
.activity-list li > span::after { content: ""; position: absolute; left: 4px; top: 14px; width: 2px; height: calc(100% + 12px); background: #dfe2ee; }
.activity-list li:last-child > span::after { display: none; }
.activity-list li div { display: grid; gap: 4px; }
.activity-list small { color: var(--ink-soft); }
.activity-list p { margin: 0; color: #616679; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; line-height: 1.4; overflow-wrap: anywhere; }
.form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.toast-region { position: fixed; z-index: 100; right: 24px; top: calc(var(--header-h) + 18px); display: grid; gap: 9px; width: min(370px, calc(100vw - 48px)); }
.toast { padding: 14px 17px; border-left: 4px solid var(--success); border-radius: 9px; color: #fff; background: var(--navy); box-shadow: var(--shadow); line-height: 1.4; animation: toast-in .22s ease; }
.toast.error { border-left-color: var(--danger); }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } }

.tutorial-audio-privacy { margin: 11px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.45; }

html[dir="rtl"] body { direction: rtl; }
html[dir="rtl"] .skip-link { right: 8px; left: auto; }
html[dir="rtl"] .brand-school { padding-right: 16px; padding-left: 0; border-right: 1px solid #c9cac7; border-left: 0; }
html[dir="rtl"] .password-wrap input { padding-right: 14px; padding-left: 46px; }
html[dir="rtl"] .password-toggle { right: auto; left: 0; }
html[dir="rtl"] .forgot-password-link { margin-right: auto; margin-left: 0; text-align: left; }
html[dir="rtl"] .recovery-security-note { border-right: 3px solid var(--cyan); border-left: 0; border-radius: 8px 0 0 8px; }
html[dir="rtl"] .toast-region { right: auto; left: 24px; }
html[dir="rtl"] .toast { border-right: 4px solid var(--success); border-left: 0; }
html[dir="rtl"] .toast.error { border-right-color: var(--danger); }
html[dir="rtl"] .support-fab { right: auto; left: 24px; }
html[dir="rtl"] .tutorial-transcript ol { padding-right: 22px; padding-left: 0; }
html[dir="rtl"] .step-button,
html[dir="rtl"] .route-list li,
html[dir="rtl"] .form-card,
html[dir="rtl"] .document-card,
html[dir="rtl"] .privacy-callout,
html[dir="rtl"] .udit-legal-footer { text-align: right; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero-panel { width: min(680px, 100%); }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .prepare-grid { grid-template-columns: 1fr; }
  .tutorial-section { grid-template-columns: 1fr; }
  .tutorial-player { width: min(850px, 100%); }
  .feature-card { min-height: 240px; }
  .feature-number { margin-bottom: 24px; }
  .privacy-callout { grid-template-columns: 80px 1fr; }
  .privacy-facts { grid-column: 2; padding: 24px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .auth-view { grid-template-columns: .8fr 1fr; }
  .portal-view { grid-template-columns: 240px minmax(0, 1fr); }
  .document-card { grid-template-columns: 42px minmax(0, 1fr); }
  .doc-action { grid-column: 2; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-analytics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .table-toolbar, .table-filters { align-items: stretch; flex-direction: column; }
  .table-export-actions { justify-content: flex-start; }
}

@media (max-width: 800px) {
  :root { --header-h: 68px; }
  .site-header { padding: 0 16px; }
  .brand-school, .header-actions .text-button, .site-header .button { display: none; }
  .brand-logo { width: clamp(150px, 42vw, 235px); }
  .hero { min-height: auto; padding: 60px 22px 72px; }
  .hero h1 { font-size: clamp(43px, 13vw, 64px); }
  .hero-panel { min-height: auto; padding: 22px; }
  .trust-strip { grid-template-columns: 1fr; padding: 0 20px; }
  .trust-strip > div { border-right: 1px solid var(--line); border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .landing-section { padding: 70px 22px; }
  .evaluation-grid { grid-template-columns: 1fr; }
  .privacy-callout { grid-template-columns: 1fr; margin: 0 18px 70px; padding: 36px 26px; }
  .privacy-facts { grid-column: 1; }
  .auth-view { grid-template-columns: 1fr; }
  .auth-art { min-height: 280px; padding: 28px 24px; }
  .auth-quote blockquote { font-size: 34px; }
  .auth-quote p { display: none; }
  .auth-card { width: 100%; margin: 0; padding: 38px 24px 60px; }
  .portal-choice-grid { grid-template-columns: 1fr; }
  .tutorial-role-band { grid-template-columns: 1fr; }
  .demo-account-grid { grid-template-columns: 1fr; }
  .portal-view { display: block; }
  .portal-sidebar { position: static; height: auto; padding: 14px 18px; }
  .progress-card { padding-bottom: 13px; }
  .step-navigation { display: flex; gap: 7px; margin-top: 13px; overflow-x: auto; }
  .step-button { flex: 0 0 auto; width: auto; grid-template-columns: 30px 1fr; padding: 8px 12px 8px 8px; }
  .step-button span { width: 28px; height: 28px; }
  .sidebar-help { display: none; }
  .portal-toolbar { padding: 12px 20px; }
  .step-content { padding: 38px 20px 30px; }
  .form-grid, .choice-grid { grid-template-columns: 1fr; }
  .phone-fields { grid-template-columns: 1fr; grid-column: auto; }
  .field.full { grid-column: auto; }
  .document-card { grid-template-columns: 36px minmax(0, 1fr); padding: 16px; }
  .doc-note { grid-column: 1 / -1; }
  .doc-icon { width: 36px; height: 40px; }
  .companion-panel { margin-left: 0; }
  .review-summary { grid-template-columns: 1fr; }
  .step-footer { padding: 10px 18px; }
  .step-footer > span { display: none; }
  .admin-view { padding: 40px 18px; }
  .admin-heading { display: grid; }
  .admin-session-context { justify-items: start; }
  .admin-support-heading { display: grid; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .table-toolbar { display: grid; }
  .search-box, .table-toolbar select { width: 100%; }
  .form-grid.three { grid-template-columns: 1fr; }
  .privacy-grid, .admin-detail-grid, .admin-doc-list { grid-template-columns: 1fr; }
  .detail-section.full { grid-column: auto; }
  .admin-controls { grid-template-columns: 1fr; }
  .support-fab { right: 15px; bottom: 14px; }
  body[data-view="applicant-view"] .support-fab { bottom: 88px; }
  .legal-footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-footer-links a { min-height: 62px; border-bottom: 1px solid rgba(255,255,255,.72); }
  .legal-footer-links a:nth-child(2n) { border-right: 0; }
  .legal-footer-links a:last-child { border-bottom: 0; }
}

@media (max-width: 480px) {
  .site-header { gap: 10px; padding: 0 10px; }
  .brand-logo { width: clamp(112px, 32vw, 150px); }
  .header-actions { gap: 7px; }
  .language-switch button { min-width: 29px; height: 28px; padding: 0 6px; font-size: 10px; }
  .password-requirements ul { grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .trust-strip { padding: 0; }
  .portal-toolbar .save-status { display: none; }
  .docs-block-header { display: grid; }
  .doc-count { justify-self: start; }
  .document-card { grid-template-columns: 1fr; }
  .doc-note, .document-card .video-safety-check { grid-column: 1 / -1; }
  .doc-icon, .doc-action, .video-document-card .doc-action { grid-column: 1 / -1; }
  .video-upload-options { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: 1fr; }
  .admin-analytics { grid-template-columns: 1fr; }
  .table-export-actions { display: grid; grid-template-columns: 1fr; }
  .table-export-actions .button { width: 100%; }
  .submit-block { display: grid; }
  .submit-block .button { width: 100%; }
  .modal-actions .button { width: 100%; }
  .support-fab > span:last-child { display: none; }
  .support-fab { width: 48px; padding: 0 9px; }
  .legal-footer-links { grid-template-columns: 1fr; }
  .legal-footer-links a, .legal-footer-links a:nth-child(2n) { min-height: 56px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.72); }
  .legal-footer-note, .legal-footer-copyright { text-align: left; }
  html[dir="rtl"] .legal-footer-note, html[dir="rtl"] .legal-footer-copyright { text-align: right; }
}

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