:root{--page:#101217;--panel:#191c22;--panel2:#20242c;--ink:#f3f2ed;--muted:#969ca7;--line:#30343c;--gold:#e7bd72;--danger:#ff9b94;--radius:20px;color-scheme:dark}
html[data-theme=light]{--page:#f4f3ef;--panel:#fff;--panel2:#eeede8;--ink:#1c2029;--muted:#626874;--line:#dadbd8;--gold:#966c28;--danger:#a83030;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--page);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.55}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:var(--gold);text-decoration:none}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(30px,4vw,46px);letter-spacing:-1.6px;line-height:1.12;font-weight:600}h2{font-size:22px;letter-spacing:-.5px}h3{font-size:17px}small,.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:2.3px;color:var(--gold);text-transform:uppercase;font-weight:700;margin-bottom:14px}.layout{display:grid;grid-template-columns:236px 1fr;min-height:100vh}.side{border-right:1px solid var(--line);padding:30px 20px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:26px;background:var(--page)}.brand{height:65px;width:190px;overflow:hidden;display:block;position:relative}.brand img{width:190px;height:auto;position:absolute;top:-37px}.side nav{display:grid;gap:6px}.nav-button{background:none;border:0;color:var(--muted);text-align:left;padding:13px 14px;border-radius:10px}.nav-button:hover,.nav-button[aria-current=page]{background:var(--panel2);color:var(--ink)}.nav-button[aria-current=page]{box-shadow:inset 3px 0 var(--gold)}.side-bottom{margin-top:auto;display:grid;gap:12px}.side-bottom small{padding:0 10px}.workspace{padding:0 42px 44px;min-width:0}.topbar{height:88px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:36px}.topbar span{font-size:12px;color:var(--muted)}.top-actions,.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.page-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px}.page-heading p{margin:12px 0 0;color:var(--muted);max-width:600px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:25px;margin-bottom:22px}.panel p:last-child{margin-bottom:0}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid .panel{margin:0}.primary,.secondary,.danger{border-radius:10px;padding:11px 18px;font-weight:600;border:1px solid var(--line);background:var(--panel2);color:var(--ink);display:inline-flex;justify-content:center;align-items:center;gap:8px}.primary{background:#e7bd72;color:#1b1c20;border-color:#e7bd72}.primary:hover{background:#f3d397}.danger{color:var(--danger)}.secondary:hover{border-color:var(--muted)}.pill{font-size:11px;border:1px solid var(--line);border-radius:30px;padding:5px 10px;color:var(--muted);display:inline-block}.pill.gold{color:var(--gold);background:transparent}.avatar{width:56px;height:56px;border-radius:17px;background:linear-gradient(135deg,#433a2b,#262c35);display:flex;align-items:center;justify-content:center;color:#edc681;font-size:24px;margin-bottom:20px}.child-card{position:relative;min-height:265px}.child-card .pill{position:absolute;right:22px;top:26px}.child-card .actions{margin-top:25px}.stats{display:flex;gap:30px;margin:18px 0}.stats strong{font-size:24px;font-weight:500;display:block}.stats small{font-size:11px}.empty{padding:42px 25px;text-align:center;border:1px dashed var(--line);border-radius:16px;color:var(--muted);margin:18px 0}.empty b{display:block;color:var(--ink);margin-bottom:7px}.hero-panel{min-height:270px;display:grid;grid-template-columns:1.15fr 1fr;align-items:center;overflow:hidden;position:relative;background:radial-gradient(ellipse at right,#333a3d,var(--panel) 65%)}.hero-panel img{width:100%;max-height:280px;object-fit:contain;mix-blend-mode:screen}.hero-panel h1{max-width:560px}.metric strong{display:block;font-size:36px;font-weight:500;margin:12px 0}.metric small{font-size:12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}label{display:grid;gap:7px;font-size:13px;color:var(--muted);margin-bottom:16px}input,textarea,select{width:100%;padding:12px;border-radius:9px;border:1px solid var(--line);background:var(--page);color:var(--ink);min-height:46px}textarea{min-height:110px;resize:vertical}label.check{display:flex;align-items:flex-start;gap:10px}label.check input{width:18px;min-height:18px;flex-shrink:0;margin-top:2px}form .actions{margin-top:12px}.form-error{color:var(--danger);min-height:24px;margin:10px 0}.auth{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.auth-art{padding:45px 60px;display:flex;flex-direction:column;justify-content:space-between;background:radial-gradient(ellipse at center,#283333,#13171e 70%);border-right:1px solid var(--line);overflow:hidden}.auth-art h1{max-width:500px;font-size:clamp(38px,4vw,60px)}.auth-art img.robot{width:100%;height:350px;object-fit:contain;mix-blend-mode:screen}.auth-form{max-width:520px;width:100%;margin:auto;padding:45px}.auth-form h1{font-size:32px}.tabs{display:flex;gap:5px;padding:5px;background:var(--panel);border:1px solid var(--line);border-radius:12px;margin-bottom:25px}.tabs button{flex:1;border:0;padding:10px;background:transparent;border-radius:8px;color:var(--muted)}.tabs button[aria-selected=true]{background:var(--panel2);color:var(--ink)}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th{text-align:left;font-size:11px;letter-spacing:.5px;font-weight:500;color:var(--muted)}th,td{padding:14px;border-bottom:1px solid var(--line);vertical-align:top}td{max-width:330px;overflow-wrap:anywhere}td button{padding:7px 10px!important;font-size:12px}.row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}.row:last-child{border:0}.row p{margin:4px 0}.row-body{min-width:0}.row-body b{overflow-wrap:anywhere}.progress{height:6px;background:var(--panel2);border-radius:10px;width:100%;accent-color:var(--gold)}.course-image{width:100%;height:140px;object-fit:cover;border-radius:12px;margin-bottom:18px}.lesson-text{white-space:pre-wrap;line-height:1.8;max-width:780px}.note{font-size:12px;color:var(--muted);border-left:2px solid var(--gold);padding:5px 14px;margin:18px 0}.loading{padding:70px}.skip{position:absolute;left:10px;top:-80px;z-index:10}.skip:focus{top:10px}#notice{position:fixed;bottom:24px;right:24px;z-index:20;max-width:440px;background:var(--panel2);color:var(--ink);padding:0;border-radius:12px;box-shadow:0 15px 60px #0005}#notice:not(:empty){padding:16px 22px;border:1px solid var(--line)}dialog{background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:20px;padding:30px;width:min(650px,92vw);max-height:90vh}dialog::backdrop{background:#000a;backdrop-filter:blur(5px)}.close{float:right;background:none;border:0;color:var(--muted);font-size:24px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}video{width:100%;max-height:450px}footer{margin-top:32px;font-size:11px;color:var(--muted)}
@media(max-width:1150px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace{padding:0 25px 30px}.layout{grid-template-columns:205px 1fr}.side{padding:22px 12px}.auth-art{padding:35px}.hero-panel{grid-template-columns:1.4fr 1fr}}
@media(max-width:760px){.layout{display:block}.side{position:static;height:auto;padding:14px;border-right:0;border-bottom:1px solid var(--line);gap:8px}.side .brand{height:44px}.side nav{display:flex;overflow:auto}.nav-button{white-space:nowrap;padding:9px 12px}.side-bottom{display:none}.workspace{padding:0 18px 30px}.topbar{height:62px;margin-bottom:25px}.topbar span{font-size:10px}.page-heading{align-items:start;flex-direction:column}.grid,.grid.two,.form-grid{grid-template-columns:1fr}.panel{padding:20px}.hero-panel{grid-template-columns:1fr}.hero-panel img{height:180px}.auth{display:block}.auth-art{display:none}.auth-form{padding:36px 24px}.top-actions button{padding:8px 10px;font-size:12px}.stats{gap:24px}#notice{left:16px;right:16px;bottom:16px}.row{align-items:start;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.side{overflow-y:auto}.brand{flex-shrink:0}.grid{margin-bottom:22px}.hero-panel img{border-radius:14px}
html[data-theme=light] .brand{background:#101217;border-radius:9px}html[data-theme=light] .hero-panel{background:linear-gradient(110deg,#fff 55%,#e8e9e5)}html[data-theme=light] .hero-panel img{mix-blend-mode:normal}

/* A compact registration form beside the original VAYN workshop illustration. */
.auth{min-height:100svh;grid-template-columns:minmax(0,1.15fr) minmax(420px,1fr)}
.auth-art{height:100svh;min-height:600px;position:sticky;top:0;padding:32px 42px;isolation:isolate;background:#101217;border:0}
.auth-scene{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 45%;z-index:-2}
.auth-art:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#080b10aa,transparent 30%,#080b1030 48%,#080b10ed 90%);z-index:-1}
.auth-art .brand{background:#101217c9;border-radius:10px}
.auth-story{max-width:460px;color:#f3f2ed}.auth-story h1{font-size:clamp(36px,3.6vw,54px);margin:0 0 14px;line-height:1.05}.auth-story p:not(.eyebrow){color:#c6c8cc;font-size:14px;margin-bottom:18px}.auth-story .eyebrow{color:#e7bd72;font-size:10px}.auth-story .pill{color:#e4c28c;border-color:#e4c28c55;background:#10121770}
.auth-form{max-width:490px;padding:24px 32px;margin:auto;width:100%}.auth-form>.eyebrow{margin-bottom:10px;font-size:10px}.auth-form h1{font-size:30px;letter-spacing:-1px;margin-bottom:10px}.auth-intro{font-size:13px;margin-bottom:20px;max-width:360px}
.auth-form label{font-size:12px;gap:5px;margin-bottom:12px}.auth-form input{padding:10px 12px;min-height:44px;font-size:16px}.auth-form input::placeholder{font-size:14px;color:var(--muted)}
.auth-passwords{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.auth-passwords label:only-child{grid-column:1/-1}.auth-passwords label{margin-bottom:4px;min-width:0}
.auth-password-tools{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}.auth-password-tools small{font-size:11px}.auth-password-tools button,.auth-login-options>button,.auth-switch button{padding:4px 0;min-height:30px;background:none;border:0;color:var(--gold);font-size:12px}
.auth-form .auth-consent{align-items:center;margin:8px 0 0;font-size:12px;line-height:1.4}.auth-form .check input{min-height:18px;width:18px;padding:0;accent-color:#e7bd72}.text-button{display:inline;background:none;border:0;color:var(--gold);padding:0;text-align:left;text-decoration:underline;text-underline-offset:3px;font:inherit;cursor:pointer}
.auth-legal-status{font-size:11px;color:var(--muted);margin:7px 0;line-height:1.4}.auth-legal-status:empty{display:none}.auth-form .form-error:empty{display:none}.auth-form .form-error{min-height:0;font-size:12px;line-height:1.4;margin:10px 0}.auth-form form>.primary{width:100%;margin-top:10px;min-height:46px}
.auth-switch{display:flex;justify-content:center;align-items:center;gap:9px;margin-top:16px;font-size:12px;color:var(--muted)}.auth-form footer{margin-top:14px;text-align:center;font-size:10px}.auth-login-options{display:flex;justify-content:space-between;gap:12px;align-items:center}.auth-login-options .check{margin:0}
.auth-mobile-brand{display:none}.auth-recipient{overflow-wrap:anywhere;font-size:14px;color:var(--gold)}.auth-verify-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.auth-verify-actions button{font-size:12px;padding:9px 12px}
@media(max-height:720px) and (min-width:761px){.auth-art{min-height:100svh}.auth-form{padding-top:16px;padding-bottom:16px}.auth-story h1{font-size:36px}.auth-story p:not(.eyebrow){margin-bottom:12px}}
@media(max-width:760px){.auth{display:flex;min-height:100svh}.auth-art{display:none}.auth-form{padding:16px 22px;max-width:440px;margin:auto}.auth-mobile-brand{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.auth-mobile-brand .brand{height:48px;width:158px;background:#101217;border-radius:8px}.auth-mobile-brand .brand img{width:158px;top:-31px}.auth-mobile-brand>img{width:74px;height:48px;object-fit:cover;border-radius:9px}.auth-form h1{font-size:28px}.auth-intro{margin-bottom:16px}.auth-form>.eyebrow{display:none}.auth-form label{margin-bottom:10px}.auth-passwords label{margin-bottom:3px}.auth-switch{margin-top:12px}.auth-form footer{margin-top:9px}}
@media(max-width:760px) and (max-height:680px){.auth-form{padding-top:10px;padding-bottom:10px}.auth-mobile-brand{margin-bottom:10px}.auth-intro{margin-bottom:12px}}

/* Local cinematic: its typography is composed into the 23.5-second film. */
.auth-film{max-height:none;object-position:center}.auth-art:has(.auth-film):after{background:linear-gradient(180deg,#080b1030,transparent 18%,transparent 90%,#080b1055)}

/* Registration contacts occupy their own row, keeping the form unobstructed. */
.auth-registration{grid-template-rows:minmax(0,1fr) auto}
.auth-registration .auth-art{grid-column:1;grid-row:1/3}
.auth-registration .auth-form{grid-column:2;grid-row:1}
.auth-contacts{grid-column:2;grid-row:2;margin:0;padding:6px 32px 18px;font-style:normal;text-align:right;min-width:0}
.auth-contacts a{display:flex;justify-content:flex-end;align-items:center;gap:8px;min-height:28px;font-size:12px;line-height:1.4}
.auth-contacts a>span:first-child{color:var(--muted);font-size:11px}
.auth-contacts b{font-weight:500;overflow-wrap:anywhere}
.auth-contacts a:hover b,.auth-contacts a:focus-visible b{text-decoration:underline;text-underline-offset:3px}
@media(max-width:760px){.auth-registration{flex-direction:column}.auth-contacts{flex-shrink:0;width:100%;padding:4px 22px 12px}.auth-contacts a{min-height:28px}}
@media(max-width:760px) and (max-height:680px){
  .auth-registration .auth-form>footer{display:none}
  .auth-registration .auth-mobile-brand{margin-bottom:6px}
  .auth-registration .auth-form h1{font-size:26px;margin-bottom:6px}
  .auth-registration .auth-intro{font-size:12px;line-height:1.4;margin-bottom:8px}
  .auth-registration .auth-form label{gap:3px;margin-bottom:6px}
  .auth-registration .auth-passwords label{margin-bottom:3px}
  .auth-registration .auth-password-tools{margin-bottom:6px}
  .auth-registration .auth-legal-status{font-size:10px;margin:4px 0}
  .auth-registration .auth-switch{margin-top:6px}
  .auth-registration .auth-contacts{padding-bottom:8px}
  .auth-registration .auth-contacts a{min-height:26px}
}

/* Registration review: quiet film behind lightly tinted glass. */
.auth-art:has(.auth-film):after{background:rgba(8,12,18,.24);pointer-events:none}
.auth-art .brand,html[data-theme=light] .auth-art .brand,.auth-mobile-brand .brand{background:transparent;border:0;border-radius:0;box-shadow:none}
.auth-art .brand{width:210px;height:65px}
.auth-art .brand img{width:210px;top:-41px}
.auth-details-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.auth-details-row label{min-width:0}
.auth-form select{min-height:44px;padding:9px 10px;font-size:14px}
.auth-form input[type=date]{min-width:0;max-width:100%;font-size:14px;color-scheme:dark}
html[data-theme=light] .auth-form input[type=date]{color-scheme:light}
.auth-private-note{color:var(--muted);font-size:11px;line-height:1.45;margin:0 0 12px}
.auth-private-note span{display:block;margin-top:3px}
.auth-registration .auth-intro{margin-bottom:14px}
@media(max-width:760px){
  .auth-registration .auth-mobile-brand{margin-bottom:8px}
  .auth-registration .auth-mobile-brand>img{display:none}
  .auth-registration .auth-form{padding-top:12px;padding-bottom:8px}
  .auth-registration .auth-intro{margin-bottom:12px}
  .auth-registration .auth-private-note{margin-bottom:9px;font-size:10px}
  .auth-details-row{gap:10px}
  .auth-registration .auth-form>footer{display:none}
  .auth-registration .auth-contacts{padding-bottom:8px}
}
.auth-private-note span:empty{display:none}
.auth-registration .auth-form>footer{display:none}
@media(min-width:761px) and (max-height:850px){
  .auth-registration .auth-form{padding-top:16px;padding-bottom:12px}
  .auth-registration .auth-form>.eyebrow{margin-bottom:6px}
  .auth-registration .auth-form h1{font-size:28px;margin-bottom:8px}
  .auth-registration .auth-intro{font-size:12px;margin-bottom:10px}
  .auth-registration .auth-form label{margin-bottom:8px}
  .auth-registration .auth-passwords label{margin-bottom:3px}
  .auth-registration .auth-password-tools{margin-bottom:6px}
  .auth-registration .auth-switch{margin-top:10px}
  .auth-registration .auth-private-note{margin-bottom:9px}
}
.auth-private-note span{display:inline;margin:0}
@media(min-width:761px) and (max-height:850px){
  .auth-registration .auth-form{padding-top:12px;padding-bottom:8px}
  .auth-registration .auth-form label{margin-bottom:6px}
  .auth-registration .auth-contacts{padding-bottom:10px}
}
@media(max-width:760px) and (max-height:680px){
  .auth-registration .auth-intro{display:none}
  .auth-registration .auth-mobile-brand .brand{height:36px;width:140px}
  .auth-registration .auth-mobile-brand .brand img{width:140px;top:-27px}
  .auth-registration .auth-contacts{display:flex;justify-content:space-between;gap:8px;padding-top:0}
  .auth-registration .auth-contacts a{font-size:11px;min-height:28px}
  .auth-registration .auth-contacts a>span{display:none}
}

/* Phones: edge-to-edge video fills the upper half; the form follows in document flow. */
@media(max-width:760px){
  .auth{display:flex;flex-direction:column}
  .auth-art{display:flex;position:relative;top:auto;width:100%;height:50svh;min-height:0;flex-shrink:0;padding:12px 18px;background:#080b10}
  .auth-art .auth-film{object-fit:cover}
  .auth-art .brand{width:158px;height:48px}
  .auth-art .brand img{width:158px;top:-31px}
  .auth-form{margin:0 auto;padding:22px 22px 16px}
  .auth-mobile-brand{display:none}
  .auth-contacts{max-width:440px;margin:0 auto;padding-bottom:max(16px,env(safe-area-inset-bottom))}
}
