:root{--ink:#252334;--muted:#746b78;--pink:#a62168;--paper:#fffdfa;--line:#e6dfe4;--red:#b42335}*{box-sizing:border-box}body{margin:0;background:#f4f0ed;color:var(--ink);font:16px/1.5 'Segoe UI',Arial,sans-serif}header{padding:22px 5%;display:flex;justify-content:space-between;align-items:center;background:var(--paper);border-bottom:1px solid var(--line)}.brand{color:var(--ink);font-weight:900;letter-spacing:2px;text-decoration:none}.brand small{display:block;letter-spacing:3px;color:var(--pink);font-size:11px}.header-right{display:flex;gap:16px;align-items:center}.pilot,.badge{font-size:12px;border-radius:30px;padding:6px 12px;background:#eee6ed;color:#70465e}.pilot{border:1px solid #d1bdca;background:transparent}main{max-width:1220px;margin:28px auto;padding:0 24px}h1{font-size:clamp(28px,4vw,42px);line-height:1.12;letter-spacing:-1px;margin:10px 0 16px}h2{font-size:21px;margin:0 0 14px}h3{font-size:17px;margin:0 0 10px}p{color:var(--muted);margin:8px 0 14px}.eyebrow{text-transform:uppercase;letter-spacing:2px;color:var(--pink);font-size:12px;font-weight:800}.row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.card{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:25px;margin-bottom:20px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:24px 0}.stat{padding:20px;background:var(--paper);border:1px solid var(--line);border-radius:16px}.stat strong{display:block;font-size:30px;color:var(--pink)}.stat span{font-size:13px;color:var(--muted)}nav{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0}button{font:inherit;border:0;padding:11px 17px;border-radius:10px;background:var(--pink);color:white;font-weight:650;cursor:pointer}button:hover{filter:brightness(.94)}button:disabled{opacity:.5;cursor:default}button.secondary,button.quiet{background:#eee7ed;color:var(--ink)}button.quiet{padding:8px 12px}nav button{background:transparent;color:var(--muted);border:1px solid var(--line)}nav button.active{background:var(--ink);color:white;border-color:var(--ink)}input,select,textarea{width:100%;font:inherit;border:1px solid #d0c5cf;border-radius:9px;background:white;color:var(--ink);padding:10px 12px}label{display:block;margin:13px 0 5px;font-size:14px;font-weight:650}input[type=checkbox]{width:auto;margin-right:8px}label.check{font-weight:400;display:flex;align-items:flex-start;gap:4px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.full{grid-column:1/-1}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.small{font-size:13px}.muted{color:var(--muted)}.empty{text-align:center;border:1px dashed #d7c8d1;border-radius:13px;padding:25px;color:var(--muted);margin:15px 0}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:14px;white-space:nowrap}th{text-align:left;font-size:12px;color:var(--muted);border-bottom:2px solid var(--line);padding:12px 10px}td{border-bottom:1px solid var(--line);padding:11px 10px;vertical-align:middle}td input{width:120px;padding:7px}td select{min-width:100px}.red{color:var(--red)}.green{color:#287052}.warning{border:1px solid #b42335;background:#fff7f7;padding:7px 9px;border-radius:8px;color:#b42335;text-align:center;font-size:16px;line-height:1.4;margin:0 auto;width:fit-content;max-width:100%}.warning p{color:inherit;font-size:inherit;line-height:inherit;margin:2px 0 0}.info{padding:13px 16px;background:#f0e9ef;border-radius:10px;font-size:13px;color:#684e60;margin:12px 0}.error{padding:14px 18px;color:var(--red);background:#fce8ea;border:1px solid #f0c2c7;border-radius:10px}#message{max-width:1170px;margin:15px auto}#message:empty{display:none}.login,.phone{max-width:470px;margin:40px auto}.login .card,.phone .card{padding:28px}.qr{display:block;width:230px;max-width:100%;height:auto;margin:18px auto}.meeting{padding:18px 0;border-top:1px solid var(--line)}.mascot-confirmation{position:relative;width:140px;height:140px;margin:0 auto 24px}.mascot-portrait{width:140px;height:140px;overflow:hidden;border-radius:50%;background:#f6f1e5;border:3px solid #d4eadd;box-shadow:0 5px 18px #25233412}.mascot-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top}.confirmation-badge{position:absolute;right:0;bottom:2px;width:37px;height:37px;display:grid;place-items:center;border-radius:50%;border:3px solid #fffdfa;background:#287052;color:white;font-size:23px;font-weight:800;line-height:1}.success{text-align:center;padding:25px 0 8px}.success h2{font-size:21px}.success>p{color:var(--ink);font-size:16px;margin-bottom:0}.history{border-top:1px solid var(--line);padding:12px 0}.mail{padding:18px 0;border-top:1px solid var(--line)}pre{white-space:pre-wrap;font:14px/1.6 'Segoe UI',sans-serif;color:var(--ink);margin:12px 0}dialog{max-width:580px;width:90%;border:1px solid var(--line);border-radius:18px;padding:27px}dialog::backdrop{background:#25233470}code{display:block;overflow-wrap:anywhere;background:#f0e9ef;padding:9px 12px;border-radius:8px;margin:7px 0 15px}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:13px 22px;border-radius:12px;z-index:20;max-width:90%}.hidden{display:none!important}.footer{color:var(--muted);font-size:12px;margin:25px 0}a{color:var(--pink)}@media(max-width:760px){header{padding:18px}.pilot{display:none}main{padding:0 16px;margin-top:22px}.grid{grid-template-columns:1fr}.fields{grid-template-columns:1fr}.stats{gap:8px}.stat{padding:13px}.stat strong{font-size:25px}.card{padding:20px}.login,.phone{margin:25px auto}.row>select{width:100%}nav{gap:6px}nav button{padding:9px 12px;font-size:14px}}

/* ALWAYS THERE — centered welcome and compact confirmation. */
header{display:grid;grid-template-columns:1fr auto 1fr;padding:23px 4%;gap:10px}.brand{grid-column:2;text-align:center;font-size:29px;line-height:1;font-weight:900;letter-spacing:1px}.brand small{font-size:12px;letter-spacing:3px;color:#746b78;font-weight:500;margin-top:10px}.header-right{grid-column:3;justify-self:end}.mascot-confirmation{width:230px;height:230px;margin:0 auto 25px}.mascot-portrait{width:230px;height:230px;background:#d3e5d5;border:0;box-shadow:none}.confirmation-badge{width:52px;height:52px;right:0;bottom:4px;border:0;font-size:34px}.success{padding:15px 0 10px}.success h2{font-size:clamp(23px,6vw,30px);line-height:1.2;letter-spacing:-.5px;margin:0 0 16px;overflow-wrap:anywhere}.success>p{font-size:16px}.warning{background:#f7dfe4;border:0;border-radius:12px;padding:10px 12px;margin:0 auto;color:#a5233e}.back-menu{background:#1f1f1f;color:white;display:block;width:100%;margin-top:22px;border-radius:24px;padding:15px}.phone .card{border:0}.phone{margin-top:24px}body:has(.phone) .pilot{display:none}body:has(.phone) .header-right button{font-size:12px;padding:7px 9px}body:has(.phone) header{background:transparent;border-bottom:0}@media(max-width:420px){.mascot-confirmation,.mascot-portrait{width:210px;height:210px}.brand{font-size:26px}.brand small{font-size:11px}header{padding:22px 12px}.phone .card{padding:22px}}

.preview-note{text-align:center;font-size:12px;color:var(--muted);margin:12px 0 0}

.success h2{font-size:16px;font-weight:650;line-height:1.45;letter-spacing:-.15px;white-space:nowrap;overflow-wrap:normal;margin:0 0 3px}.success>p{font-size:16px;line-height:1.45;margin:0}.success{padding-bottom:12px}

/* Compact return button, sized to its label. */
.back-menu{width:fit-content;max-width:100%;margin:18px auto 0;padding:8px 14px;font-size:14px;border-radius:12px}

.button-link{display:inline-block;padding:10px 14px;border-radius:10px;background:#eee7ed;color:var(--ink);text-decoration:none;font-size:14px}

/* Track cinematic confirmation: the rest of the page keeps its layout. */
.cinema-scene .mascot-confirmation{perspective:760px}
.cinema-scene .mascot-portrait{transform-style:preserve-3d;transform:rotateY(0deg);will-change:auto}
.cinema-copy p{color:var(--ink);font-size:16px;line-height:1.45;margin:0}
.cinema-sound{display:block;margin:12px auto 0;font-size:12px!important;padding:5px 9px!important;width:fit-content}
.cinema-running .mascot-portrait{animation:track-turn 1s cubic-bezier(.42,0,.22,1) both;will-change:transform}
.cinema-running .confirmation-badge{animation:track-badge .25s 1s cubic-bezier(.2,.9,.3,1.3) both}
.cinema-running .cinema-copy{animation:track-copy .18s 1.2s ease-out both}
@keyframes track-turn{from{transform:rotateY(0deg)}to{transform:rotateY(360deg)}}
@keyframes track-badge{0%{opacity:0;transform:scale(.75)}75%{opacity:1;transform:scale(1.06)}100%{opacity:1;transform:scale(1)}}
@keyframes track-copy{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.cinema-running .mascot-portrait,.cinema-running .confirmation-badge,.cinema-running .cinema-copy{animation:none!important;transform:none!important;opacity:1!important}}

.role-choices{display:grid;gap:14px;margin-top:24px}.role-choices button{width:100%;padding:20px;font-size:18px}#account-identity{font-weight:700;font-size:14px}#change-login-role{margin-top:14px;width:100%}.header-right{flex-wrap:wrap}

/* Phone confirmation: branding and artwork share a compact vertical composition. */
.saved-accounts{display:grid;gap:10px;margin-bottom:26px}.saved-accounts h2{font-size:17px}.saved-account{text-align:left}
body.confirmation-view header{padding:26px 12px 5px;grid-template-columns:1fr;gap:5px}
body.confirmation-view .brand{grid-column:1;font-size:25px}
body.confirmation-view .brand small{font-size:10px;margin-top:6px}
body.confirmation-view .header-right{grid-column:1;justify-self:center;gap:8px}
body.confirmation-view #account-identity{font-size:11px}
body.confirmation-view .header-right button{padding:3px 8px;font-size:11px}
body.confirmation-view main.phone{margin:0 auto;padding:0 12px;max-width:470px}
body.confirmation-view .phone .card{padding:4px 12px 12px;margin-bottom:0}
body.confirmation-view .success{padding:3px 0 8px}
body.confirmation-view .mascot-confirmation,body.confirmation-view .mascot-portrait{width:clamp(160px,29svh,210px);height:clamp(160px,29svh,210px)}
body.confirmation-view .mascot-confirmation{margin:0 auto 10px}
body.confirmation-view .confirmation-badge{width:42px;height:42px;font-size:28px;bottom:1px}
body.confirmation-view .cinema-copy h2{font-size:15px;margin:0 0 3px;line-height:1.3}
body.confirmation-view .cinema-copy p{font-size:15px;line-height:1.35}
body.confirmation-view .warning{margin:3px auto 0;padding:8px 10px;font-size:14px;line-height:1.35}
body.confirmation-view .warning strong{font-size:13px}
body.confirmation-view .warning p{margin:3px 0 0}
body.confirmation-view .cinema-sound{margin-top:7px}
body.confirmation-view .back-menu{margin-top:8px;padding:7px 13px}
body.confirmation-view .preview-note{margin:5px 0;font-size:11px}
@media(max-height:650px){body.confirmation-view .mascot-confirmation,body.confirmation-view .mascot-portrait{width:155px;height:155px}body.confirmation-view header{padding-top:21px}}

/* Shared tablet screen: no learner names or payment information. */
body.tablet-display{background:#fffdfa}body.tablet-display>header{display:none}
body.tablet-display main.tablet-stage{max-width:900px;margin:0 auto;padding:18px 20px 12px;text-align:center}
.tablet-poster{display:flex;flex-direction:column;align-items:center;gap:10px;min-height:calc(100svh - 75px);justify-content:center}
.tablet-brand{font-size:32px;font-weight:900;letter-spacing:1px;line-height:1}
.tablet-brand small{display:block;font-size:12px;letter-spacing:3px;font-weight:500;margin-top:8px;color:#746b78}
.tablet-portrait{width:clamp(115px,18svh,180px);height:clamp(115px,18svh,180px);border-radius:50%;background:#d3e5d5;overflow:hidden;margin-top:5px;flex-shrink:0}
.tablet-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top}
.tablet-poster h1{font-size:clamp(26px,4vw,36px);margin:0;line-height:1.15;letter-spacing:-.5px}
.tablet-qr{display:block;width:clamp(220px,36svh,340px);height:auto;max-width:75vw;background:white}
.tablet-instruction{font-size:clamp(16px,2.5vw,20px);font-weight:600;color:#252334;margin:0;line-height:1.35;max-width:550px}
.tablet-meta{font-size:13px;color:#746b78;margin:0}
.tablet-tools{display:flex;justify-content:center;align-items:center;gap:18px;margin:14px auto 0;font-size:12px}.tablet-tools button{font-size:12px;padding:4px 8px}.tablet-tools a{color:#746b78}
.tablet-qr-unavailable{display:grid;place-content:center;width:min(75vw,300px);min-height:220px;background:#f7dfe4;color:#a5233e;padding:15px;border-radius:12px}
@media(max-height:650px){.tablet-poster{gap:6px}.tablet-portrait{width:100px;height:100px}.tablet-brand{font-size:25px}.tablet-brand small{font-size:10px;margin-top:5px}.tablet-qr{width:220px}.tablet-poster h1{font-size:25px}}

/* Lesson state and accessible catalog. */
.lesson-state{display:inline-block;padding:9px 12px;border-radius:8px;font-size:13px;font-weight:800;letter-spacing:.02em}
.lesson-open{color:#14532d;background:#dcfce7}.lesson-closed{color:#991b1b;background:#fee2e2}
.catalog-stats{display:flex;gap:18px;flex-wrap:wrap;margin:18px 0;font-size:12px;font-weight:700}.catalog-stats strong{display:block;font-size:26px}
.present{color:#166534}.unvalidated{color:#b91c1c}.medical{color:#1d4ed8}
.catalog-filter{display:flex;align-items:center;gap:10px;margin:15px 0}.catalog-filter input{width:20px;height:20px;min-width:20px;margin:0}
.meeting details{margin-top:15px}.meeting summary{cursor:pointer;font-weight:700}.meeting td{font-weight:600}
#catalog-sync{min-height:24px}.tablet-stage .lesson-state{margin:6px 0 12px}

/* Administrator: approved two-page navigation. Learner and public-screen styles stay separate. */
.admin-original-logo{display:none}
body.admin-view{--ink:#f4f4f5;--muted:#b3b4bb;--pink:#ed1874;--paper:#17181b;--line:#34363c;--red:#fb7185;background:#08090b;color:var(--ink);color-scheme:dark}
body.admin-view>header{display:flex;justify-content:space-between;background:#08090b;border-color:#27292d;padding:14px max(20px,calc((100vw - 1080px)/2));gap:18px}
body.admin-view .brand{display:block;text-align:left;flex-shrink:0}
body.admin-view .brand-word{display:none}
body.admin-view .admin-original-logo{display:block;width:135px;height:65px;object-fit:contain;object-position:left center}
body.admin-view .brand small{color:#ed1874;font-size:11px;font-weight:800;letter-spacing:2px;margin-top:2px}
body.admin-view .header-right{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;font-size:12px}
body.admin-view .header-right button{color:#eee;border:1px solid #42434a;background:#202126;font-size:12px}
body.admin-view .pilot{color:#c4c4cd;border-color:#42434a}
body.admin-view main{max-width:1080px;margin:0 auto;padding:0 24px 24px}
body.admin-view .main-admin-nav{position:sticky;top:0;z-index:5;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px 0;background:#08090b;margin:0 0 22px;border:0}
body.admin-view button,body.admin-view .button-link{background:#ffcc17;color:#111;border:1px solid transparent;border-radius:12px;font-weight:800;min-height:44px;padding:12px 18px;cursor:pointer}
body.admin-view button:disabled{opacity:.55;cursor:wait}
body.admin-view .main-admin-nav button{background:#25262b;color:#f5f5f6;min-height:58px;font-size:14px;letter-spacing:.04em}
body.admin-view .main-admin-nav button.active{background:#ffcc17;color:#111}
body.admin-view .main-admin-nav button:focus-visible,body.admin-view button:focus-visible,body.admin-view input:focus-visible,body.admin-view select:focus-visible{outline:3px solid #ed1874;outline-offset:3px}
body.admin-view h1{font-size:clamp(30px,4vw,44px);margin:8px 0 24px}
body.admin-view .course-form{max-width:620px;display:grid;gap:14px;margin:0 auto}
body.admin-view #panel:has(>.course-form)>h1{max-width:620px;margin-left:auto;margin-right:auto}
body.admin-view .course-form select,body.admin-view .course-form input{font-size:18px;font-weight:600;min-height:66px;margin:0;padding:18px 20px;background:#1b1d21;border:1px solid #42444d;border-radius:12px;color:#f1f1f3;width:100%}
body.admin-view .date-field{position:relative}
body.admin-view .date-field:not(.has-value) input{color:transparent}
body.admin-view .date-field span{position:absolute;left:20px;top:20px;font-size:18px;font-weight:600;pointer-events:none;color:#f1f1f3}
body.admin-view .date-field input::-webkit-calendar-picker-indicator{cursor:pointer}
body.admin-view #generate-qr{min-height:64px;font-size:19px;letter-spacing:.02em}
body.admin-view #catalog-sync{max-width:620px;margin:12px auto 0;font-size:12px}
body.admin-view #meeting-list{margin-top:20px}
body.admin-view .course-form~#meeting-list{max-width:620px;margin-left:auto;margin-right:auto}
body.admin-view .meeting{background:#101114;border:1px solid #303239;border-radius:16px;margin:0 0 18px;padding:22px}
body.admin-view .lesson-meta{font-size:13px;color:#bebfc7;margin-bottom:16px}
body.admin-view .qr-presentation{text-align:center;margin:0 0 22px}
body.admin-view .qr{display:block;margin:0 auto 8px;width:220px;max-width:100%;background:white;border-radius:8px;padding:8px;height:auto}
body.admin-view .lesson-state{display:block;border:1px solid;font-size:17px;padding:18px;text-align:center;border-radius:12px;letter-spacing:.025em}
body.admin-view .lesson-open{background:#102b19;color:#b0f09b;border-color:#377c36}
body.admin-view .lesson-closed{background:#35151b;color:#ff8b9e;border-color:#ab3d53}
body.admin-view .attendance-heading{font-size:21px;margin:24px 0 14px}
body.admin-view .catalog-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 22px}
body.admin-view .catalog-stats>span{background:#202126;color:#eee;padding:16px 6px;text-align:center;border-radius:12px;font-size:11px;overflow-wrap:anywhere}
body.admin-view .catalog-stats strong{font-size:34px;line-height:1.2;margin-bottom:8px}
body.admin-view .catalog-stats>.present{background:#12291b;color:#adf29a}
body.admin-view .catalog-stats>.unvalidated{background:#32161c;color:#ff889c}
body.admin-view .present{color:#adf29a}body.admin-view .unvalidated{color:#ff889c}body.admin-view .medical{color:#90baff}
body.admin-view .meeting td{font-size:14px;border-color:#34363b}
body.admin-view .meeting summary{padding:12px 0;color:#f5f5f7}
body.admin-view .catalog-filter{color:#e1e2e7}
body.admin-view .secondary,body.admin-view .quiet,body.admin-view .admin-tools button{background:#26272d;color:#f1f1f3;border:1px solid #42444c}
body.admin-view .actions{gap:8px}
body.admin-view .actions button,body.admin-view .actions .button-link{font-size:12px;padding:10px 12px}
body.admin-view .medical-action{color:#a9caff;border-color:#456a9d;white-space:normal}
body.admin-view .admin-tools{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 24px;padding:0;border:0}
body.admin-view .admin-tools button.active{border-color:#ed1874;color:#fff;background:#49142c}
body.admin-view #group{max-width:340px;background:#1b1d21;border:1px solid #42444d;color:#eee}
body.admin-view .stat,body.admin-view .card,body.admin-view .history{border-color:#34363c}
body.admin-view .stat{background:#191a1f}
body.admin-view .badge{background:#35313e;color:#eee}
body.admin-view .info{background:#22232c;color:#e0e0ec;border-color:#525562}
body.admin-view .error{background:#37161e;color:#ffb2c0;border-color:#bd536b}
body.admin-view .red{color:#ff889c}body.admin-view .green{color:#adf29a}
body.admin-view dialog{background:#17181b;color:#f4f4f5;border-color:#555763;color-scheme:dark}
body.admin-view dialog label{color:#d8d9df}
body.admin-view input,body.admin-view select,body.admin-view textarea{background:#22242a;color:#f4f4f5;border-color:#555763}
body.admin-view .footer{color:#a5a6b0}
@media(max-width:600px){body.admin-view>header{padding:12px 16px}body.admin-view .admin-original-logo{width:105px;height:52px}body.admin-view #account-identity{max-width:150px}body.admin-view main{padding:0 16px 20px}body.admin-view .main-admin-nav{gap:6px}body.admin-view .main-admin-nav button{padding:14px 6px;font-size:12px;min-height:54px}body.admin-view .meeting{padding:16px}body.admin-view .lesson-state{font-size:15px;padding:15px 8px}body.admin-view .catalog-stats{gap:7px}body.admin-view .catalog-stats strong{font-size:29px}body.admin-view .meeting .table-wrap{margin-left:-4px;margin-right:-4px}body.admin-view .admin-tools button{font-size:12px;padding:10px 12px}}

body.admin-view .date-field input{color:transparent;caret-color:transparent}body.admin-view .date-field span{right:55px;overflow:hidden;white-space:nowrap}

body.admin-view .admin-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.admin-view .admin-tools button{display:flex;flex-direction:column;gap:4px;align-items:flex-start;text-align:left;padding:18px 20px;min-height:88px;background:#191b1f}
body.admin-view .admin-tools button strong{font-size:16px;color:#fff}
body.admin-view .admin-tools button small{font-size:12px;color:#bfc0c8;font-weight:400}
body.admin-view .admin-tools button.active{border-color:#ffcc17;background:#282414}
body.admin-view .admin-tools button.active strong{color:#ffdc52}
body.admin-view .admin-subnav{display:flex;gap:8px;margin:20px 0;border:0}
body.admin-view .admin-subnav button{background:#26272d;color:#eee;font-size:13px}
body.admin-view .admin-subnav button.active{border-color:#ed1874;background:#49142c}
@media(max-width:600px){body.admin-view .admin-tools{grid-template-columns:1fr}body.admin-view .admin-tools button{min-height:76px;padding:14px 16px}}

@media(max-width:600px){
 body.admin-view .meeting .table-wrap{overflow:visible;margin:0}
 body.admin-view .meeting table{display:block;min-width:0;width:100%}
 body.admin-view .meeting thead{display:none}
 body.admin-view .meeting tbody{display:grid;gap:10px}
 body.admin-view .meeting tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;padding:14px;background:#181a1f;border:1px solid #363841;border-radius:10px}
 body.admin-view .meeting td{display:block;padding:0;border:0;min-width:0;overflow-wrap:anywhere}
 body.admin-view .meeting td:nth-child(1){grid-column:1/-1;font-size:17px;font-weight:800}
 body.admin-view .meeting td:nth-child(2){grid-column:1/-1;margin-bottom:6px}
 body.admin-view .meeting td:nth-child(3){align-self:center;font-size:12px;font-weight:400}
 body.admin-view .meeting td:nth-child(3)::before{content:'Ora: '}
 body.admin-view .meeting td:nth-child(4){grid-column:2}
 body.admin-view .meeting .medical-action{padding:9px 10px;font-size:12px}
}

.admin-logo-frame{display:none}
body.admin-view .admin-logo-frame{display:block;position:relative;width:150px;height:59px;overflow:hidden}
body.admin-view .admin-logo-frame .admin-original-logo{position:absolute;width:244px;height:147px;max-width:none;left:-47px;top:-43px;object-fit:contain}
@media(max-width:600px){body.admin-view .admin-logo-frame{width:125px;height:49px}body.admin-view .admin-logo-frame .admin-original-logo{width:203px;height:122px;left:-39px;top:-36px}}

/* First visit and activation: original colour logo and existing account authentication. */
.color-logo-frame{display:none}
body.entry-view,body.cinematic-view{--ink:#f5f5f7;--muted:#bdbec7;--paper:#08090b;--line:#3b3d45;--pink:#e1186a;background:#08090b;color:#f5f5f7;color-scheme:dark}
body.entry-view>header{display:none}
body.entry-view main.entry-shell{margin:0 auto;width:100%;max-width:460px;min-height:100dvh;padding:calc(14px + env(safe-area-inset-top)) 24px calc(14px + env(safe-area-inset-bottom));display:flex;align-items:center}
.entry-card{width:100%;text-align:center}
.entry-brand{margin:0 auto 30px;display:flex;flex-direction:column;align-items:center}
.entry-brand .color-logo-frame{display:block;position:relative;width:180px;height:70px;overflow:hidden}
.entry-brand .color-logo-frame img{position:absolute;max-width:none;width:294px;height:178px;left:-57px;top:-52px}
.entry-subbrand{display:flex;align-items:center;justify-content:center;gap:10px;width:180px;margin-top:8px;white-space:nowrap}
.entry-subbrand span{font-size:13px;letter-spacing:2px;font-weight:700;color:white}
.entry-subbrand i{display:block;width:20px;height:3px;background:#febf22;flex-shrink:0}
.entry-subbrand i:last-child{background:#e1186a}
.entry-card h1{font-size:30px;letter-spacing:-.5px;margin:0 0 8px;color:#fff}
.entry-card .entry-subtitle{font-size:17px;color:#c9cad2;margin:0 0 24px}
.entry-card .role-choices{gap:14px;margin:0}
.entry-card .role-choices button,.entry-card .entry-submit{background:#febf22;color:#111;font-size:16px;font-weight:800;min-height:56px;width:100%;padding:16px;border:0;border-radius:12px;cursor:pointer;text-align:center}
.entry-card .entry-once{font-size:12px;color:#a9abb6;margin:26px 0 0}
.entry-card .saved-accounts{margin:15px 0 0;font-size:12px;text-align:left;color:#c9cad2}
.entry-card .saved-accounts summary{cursor:pointer;text-align:center}
.entry-card .saved-accounts button{display:block;width:100%;margin-top:8px;min-height:44px;font-size:13px}
.activation-form .entry-brand{margin-bottom:22px}
.entry-card .entry-explanation{font-size:13px;line-height:1.45;color:#bdbfc8;margin:0 auto 20px;max-width:330px}
.entry-card .entry-scan{font-size:12px;line-height:1.4;margin:0 0 12px;color:#ffdb78}
.entry-card #login{text-align:left}
.entry-card #login label{color:#e7e7ed;font-size:11px;letter-spacing:.12em;font-weight:700;margin:12px 0 6px}
.entry-card #login input{background:#1c1e23;border:1px solid #484b55;border-radius:10px;color:white;min-height:50px;width:100%;font-size:16px;padding:12px 14px;margin:0}
.entry-card .secret-field{position:relative}
.entry-card .secret-field input{padding-right:88px!important}
.entry-card .secret-toggle{position:absolute;right:3px;top:3px;bottom:3px;min-width:76px;padding:8px;border:0;background:transparent;color:#ffda72;font-size:12px;font-weight:700;cursor:pointer}
.entry-card .entry-submit{margin-top:20px;min-height:54px}
.entry-card #change-login-role{margin:14px 0 0;padding:8px;width:100%;min-height:40px;color:#bcbec9;background:transparent;border:0;font-size:12px;text-decoration:underline;cursor:pointer}
.entry-card button:focus-visible,.entry-card input:focus-visible{outline:3px solid #e1186a;outline-offset:3px}
.entry-card button:disabled{opacity:.55;cursor:wait}
body.entry-view #message:not(:empty){margin:0 auto;max-width:460px;padding:10px 20px}
body.entry-view #message .error{background:#3a1624;color:#ffbacf;border-color:#a74264}
@media(max-height:650px){body.entry-view main.entry-shell{padding-top:calc(10px + env(safe-area-inset-top));padding-bottom:calc(10px + env(safe-area-inset-bottom))}.entry-brand{margin-bottom:22px}.entry-brand .color-logo-frame{width:150px;height:59px}.entry-brand .color-logo-frame img{width:244px;height:147px;left:-47px;top:-43px}.entry-card h1{font-size:27px}.entry-card .entry-subtitle{margin-bottom:18px}.entry-card .role-choices{gap:12px}.entry-card .role-choices button{min-height:50px;padding:13px}.entry-card .entry-once{margin-top:20px}.activation-form .entry-brand{margin-bottom:14px}.activation-form .entry-subtitle{margin-bottom:10px}.entry-card .entry-explanation{margin-bottom:12px;font-size:12px}.entry-card .entry-submit{margin-top:16px}}
/* Existing Track rotation/timing retained; colour transition follows the end of the turn. */
body.cinematic-view>header{background:#08090b;border:0;padding-top:calc(18px + env(safe-area-inset-top));padding-bottom:12px}
body.cinematic-view .brand-word,body.cinematic-view .admin-logo-frame{display:none}
body.cinematic-view .brand .color-logo-frame{display:block;position:relative;width:125px;height:49px;overflow:hidden;margin:auto}
body.cinematic-view .brand .color-logo-frame img{position:absolute;max-width:none;width:203px;height:122px;left:-39px;top:-36px}
body.cinematic-view .brand small{font-size:10px;letter-spacing:1px;color:white;font-weight:700;margin-top:6px;white-space:nowrap}
body.cinematic-view .brand small::before,body.cinematic-view .brand small::after{content:'';display:inline-block;width:13px;height:2px;background:#febf22;vertical-align:middle;margin:0 6px}
body.cinematic-view .brand small::after{background:#e1186a}
body.cinematic-view .header-right{font-size:10px;gap:5px}
body.cinematic-view .header-right button{background:#25262c;color:#eee;border:1px solid #484a54;font-size:10px}
body.cinematic-view #account-identity{font-size:10px;max-width:100px;overflow-wrap:anywhere}
body.cinematic-view main.phone{margin:0 auto;max-width:460px;padding:8px 18px calc(12px + env(safe-area-inset-bottom))}
body.cinematic-view .phone .card{background:transparent;color:#f5f5f7;padding:12px 0;border:0}
body.cinematic-view .cinema-copy p{color:#f5f5f7}
body.cinematic-view .back-menu{background:#febf22;color:#111;text-decoration:none;font-weight:800}
body.cinematic-view .mascot-portrait{background:#d3e5d5}
body.cinematic-view .cinema-running[data-moment=attendance] .mascot-portrait{animation:track-turn 1s cubic-bezier(.42,0,.22,1) both,track-circle-confirm 1s steps(1,end) both}
@keyframes track-circle-confirm{from{background:#febf22}to{background:#d3e5d5}}
body.cinematic-view [data-moment=welcome] .mascot-portrait{background:#febf22}
body.cinematic-view [data-moment=welcome] .confirmation-badge{display:none}
body.cinematic-view [data-moment=welcome] h2{font-size:18px;line-height:1.4;white-space:normal;overflow-wrap:break-word}
body.cinematic-view [data-moment=welcome] .cinema-copy p{text-transform:uppercase;font-size:13px}
body.cinematic-view .activation-welcome .mascot-confirmation,body.cinematic-view .activation-welcome .mascot-portrait{width:clamp(155px,28svh,210px);height:clamp(155px,28svh,210px)}
.install-invitation{max-width:360px;margin:18px auto 0;color:inherit;font-size:12px;line-height:1.5;text-align:center}
.install-invitation summary{cursor:pointer;text-decoration:underline;color:inherit;min-height:30px;padding:5px}
.install-invitation p{font-size:12px;color:inherit}
@media(prefers-reduced-motion:reduce){body.cinematic-view .cinema-running[data-moment=attendance] .mascot-portrait{animation:none!important;background:#d3e5d5}}

body.cinematic-view [data-moment=welcome] h2{white-space:nowrap;font-size:14px;letter-spacing:-.15px;overflow-wrap:normal;line-height:1.4}

@media(max-height:650px){body.entry-view main.entry-shell{padding-top:calc(8px + env(safe-area-inset-top));padding-bottom:calc(8px + env(safe-area-inset-bottom))}}

/* Shared VIZURBAN identity on every application page. */
body,body.admin-view,body.entry-view,body.cinematic-view,body.tablet-display{--ink:#f5f5f7;--muted:#bdbec7;--paper:#111215;--line:#383a42;--pink:#febf22;--red:#fb7185;background:#08090b;color:var(--ink);color-scheme:dark}
body>header{background:#08090b;border-color:#292b31}
body .brand-word,body .admin-logo-frame,body.admin-view .admin-logo-frame{display:none}
body .brand .color-logo-frame{display:block;position:relative;width:125px;height:49px;overflow:hidden;margin:auto}
body .brand .color-logo-frame img{position:absolute;max-width:none;width:203px;height:122px;left:-39px;top:-36px}
body .brand small,body.admin-view .brand small{color:#febf22}
body .card,body .stat,body dialog{background:#111215;color:#f5f5f7;border-color:#383a42}
body button,body .button-link{background:#febf22;color:#111}
body button.secondary,body button.quiet{background:#24262c;color:#f5f5f7;border:1px solid #424550}
body input,body select,body textarea{background:#1b1d22;color:#f5f5f7;border-color:#484b55;accent-color:#febf22}
body nav button{background:#24262c;color:#eee;border-color:#424550}
body nav button.active{background:#febf22;color:#111;border-color:#febf22}
body .info,body code{background:#242219;color:#ffe09a}
body .badge,body .pilot{background:#242219;color:#ffe09a;border-color:#64572d}
body .error{background:#381722;color:#ffc0cd;border-color:#974258}
body .green,body .present{color:#81d9aa}body .unvalidated{color:#ff8799}body .medical{color:#8db9ff}
body #toast{background:#febf22;color:#111}
body dialog::backdrop{background:#000b}
body .back-menu{background:#febf22;color:#111}
body .tablet-instruction{color:#f5f5f7}body .tablet-meta,body .tablet-tools a{color:#bdbec7}
body .tablet-brand .entry-brand{margin:0 auto 8px}
body .tablet-brand .color-logo-frame{width:150px;height:59px}
body .tablet-brand .color-logo-frame img{width:244px;height:147px;left:-47px;top:-43px}
body .tablet-brand .entry-subbrand{margin-top:5px}
body .tablet-qr{background:white;color-scheme:light}
body.admin-view .admin-subnav button.active{border-color:#febf22;background:#332d17;color:#ffe09a}
body.admin-view .admin-tools button.active{border-color:#febf22}

/* Center the complete confirmation composition, including a payment alert, in the usable viewport. */
body.confirmation-view{display:flex;flex-direction:column;justify-content:center;min-height:100svh;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}
@supports(height:100dvh){body.confirmation-view{min-height:100dvh}}
body.confirmation-view>header{flex:none;width:100%;padding-top:16px}
body.confirmation-view>main.phone{flex:none;width:100%;margin:0 auto;padding-bottom:16px}
body.confirmation-view>#message:not(:empty){flex:none;width:calc(100% - 24px);margin:8px auto}

/* Etapa 3: prezentare și accesibilitate. Fără schimbări de date sau animație. */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
body :is(button,.button-link,summary){min-height:44px;min-width:44px}
body :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #febf22;outline-offset:3px}
body :is(input,select,textarea){min-width:0}
body :is(.card,.phone,.cinema-copy){min-width:0;max-width:100%}
body .install-invitation summary{min-height:44px;padding:10px}
body .catalog-filter{display:flex;align-items:center;min-height:44px;gap:8px}
body .catalog-filter input{flex:none;width:22px;height:22px;margin:0}
body dialog{max-height:calc(100dvh - 32px);overflow-y:auto;max-width:580px}
body dialog :is(select,textarea,input){font-size:16px}
body dialog textarea{min-height:96px;resize:vertical}
body.admin-view .admin-sections{margin:16px 0 20px;min-width:0}
body.admin-view .admin-sections>summary{display:none}
body.admin-view .admin-sections .admin-tools{margin:0}
body.admin-view .admin-tools button[aria-current=page]{border-color:#febf22}
body.admin-view .actions :is(button,.button-link),body.admin-view .meeting .medical-action{font-size:14px}
body.cinematic-view .header-right button,body.confirmation-view .header-right button,body:has(.phone) .header-right button{min-height:44px;font-size:14px;padding:8px 12px;line-height:1.3}
body.cinematic-view #account-identity,body.confirmation-view #account-identity{font-size:13px}
body.cinematic-view .back-menu,body.confirmation-view .back-menu{min-height:48px;font-size:16px;padding:12px 18px;line-height:1.35;white-space:normal;overflow-wrap:break-word;max-width:100%;width:fit-content}
body.cinematic-view .success .cinema-copy h2,body.confirmation-view .success .cinema-copy h2{font-size:clamp(18px,4.5vw,24px);line-height:1.3;white-space:normal;overflow-wrap:anywhere;letter-spacing:-.15px;margin:0 0 8px}
body.cinematic-view .success .cinema-copy p,body.confirmation-view .success .cinema-copy p{font-size:16px;line-height:1.4}
body.confirmation-view .warning{font-size:15px;line-height:1.4;padding:10px 12px}
body.confirmation-view .warning strong{font-size:14px}
body.cinematic-view main.phone{width:100%}
@media(max-width:760px){
 body.admin-view .admin-sections{border:1px solid #484b55;border-radius:12px;background:#191b1f;overflow:visible}
 body.admin-view .admin-sections>summary{display:list-item;cursor:pointer;padding:12px 16px;min-height:48px;font-weight:700;color:#ffdc52;list-style-position:inside}
 body.admin-view .admin-sections .admin-tools{display:grid;grid-template-columns:1fr;padding:8px;gap:6px}
 body.admin-view .admin-sections .admin-tools button{min-height:48px;padding:10px 12px}
 body.admin-view .admin-sections .admin-tools button strong{font-size:15px}
 body.admin-view .admin-sections .admin-tools button small{display:none}
 body.admin-view #management-frame>h1{font-size:28px}
 body.admin-view .main-admin-nav{margin-bottom:16px}
}
@media(max-width:360px){
 body.cinematic-view main.phone{padding-left:16px;padding-right:16px}
 body.cinematic-view .phone .card{padding-left:0;padding-right:0}
 body.cinematic-view:not(.confirmation-view)>header{grid-template-columns:1fr;padding-left:16px;padding-right:16px}
 body.cinematic-view:not(.confirmation-view) .brand,body.cinematic-view:not(.confirmation-view) .header-right{grid-column:1;justify-self:center}
 body.cinematic-view .back-menu{border-radius:14px}
}

body [tabindex="-1"]:focus{outline:3px solid #febf22;outline-offset:4px}

/* Etapa 4, copie izolată: explicație părinte și istoric identificabil. */
body .parent-scan-notice{margin:16px 0;padding:16px;text-align:left}
body .parent-scan-notice h2{font-size:20px;line-height:1.3;margin:0 0 10px}
body .parent-scan-notice button{min-height:48px;font-size:16px;max-width:100%;white-space:normal;margin:4px 0}
body .parent-scan-notice p{line-height:1.45}
body .history-reference,body .history-title{overflow-wrap:anywhere}
body .history-title{margin:6px 0}
