
@font-face{font-family:DFAHead;src:local("Oswald"),local("Arial Narrow"),local("Impact");font-weight:700;font-display:swap}
:root{--navy:#060b1b;--panel:#101829;--panel2:#0b1222;--line:#2d394d;--red:#c10000;--red-hover:#df1313;--white:#f7f8fc;--muted:#b9c6da;--success:#b9efc7;--warning:#ffd595}
*{box-sizing:border-box}body{margin:0;background:#090f1c;color:var(--white);font:16px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ffd595;outline-offset:3px}button{touch-action:manipulation}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,.display,.btn{font-family:DFAHead,"Arial Narrow",sans-serif;font-weight:700;line-height:1.1}h1{font-size:2.25rem;margin:0 0 10px}h2{font-size:1.6rem;margin:0}h3{font-size:1.35rem;margin:0 0 8px}p{margin:0 0 16px}a{color:inherit}button{color:inherit}.muted{color:var(--muted)}.small{font-size:.875rem}.micro{font-size:.75rem}.eyebrow{font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:var(--muted)}.row{display:flex;align-items:center;gap:10px}.between{justify-content:space-between}.stack{display:grid;gap:12px}.spacer{margin-top:24px}.center{text-align:center}.full{width:100%}.hidden,[hidden]{display:none!important}.grow{flex:1}.zero{margin:0}.rule{border:0;border-top:1px solid var(--line);margin:24px 0}.outline{background:transparent;border:1px solid var(--line)}
.prototype-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:1200px;margin:auto;padding:22px 28px}.prototype-brand{font-weight:650;letter-spacing:-.025em}.prototype-brand span{font-weight:400;color:var(--muted);margin-left:10px}.tag{font-size:.75rem;border:1px solid #4b596f;padding:4px 9px;border-radius:5px;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}.shell{display:grid;grid-template-columns:minmax(210px,300px) 430px;justify-content:center;align-items:start;gap:64px;padding:20px 28px 40px}.guide{padding-top:46px}.guide h1{font-size:2.75rem;max-width:230px;margin-bottom:20px}.guide p{color:var(--muted)}.guide .guide-label{color:#ef9090;letter-spacing:.15em;font-size:.75rem;font-weight:650;margin-bottom:16px}.guide-actions{display:grid;gap:10px;margin:28px 0}.guide-button{background:var(--panel);border:1px solid var(--line);border-radius:8px;text-align:left;padding:14px 15px;display:flex;gap:12px;align-items:center;font-size:.875rem}.guide-button:hover{border-color:#8996a9}.guide-note{font-size:.875rem;border-left:2px solid var(--red);padding-left:16px;margin-top:28px}.guide .time{font-variant-numeric:tabular-nums}.mobile-controls{display:none}.quiet-button{background:none;border:0;padding:10px 8px;min-height:44px;color:var(--muted);font-size:.875rem;text-decoration:underline;text-underline-offset:4px}.chip-button{min-height:38px;background:var(--panel);border:1px solid var(--line);border-radius:6px;padding:5px 12px;font-size:.875rem}
.phone{width:430px;background:var(--navy);border:1px solid #3b4658;border-radius:32px;box-shadow:0 20px 70px #0008;overflow:hidden;position:relative;display:flex;flex-direction:column;height:850px;max-height:calc(100dvh - 118px);min-height:580px}.statusbar{padding:13px 25px 5px;display:flex;justify-content:space-between;align-items:center;gap:10px;flex-shrink:0;font-size:.8rem;font-weight:650}.statusbar svg{width:15px;height:15px}.screen{padding:20px 22px 24px;overflow-y:auto;overscroll-behavior:contain;flex:1;scrollbar-width:thin;scrollbar-color:#374154 transparent}.app-header{display:flex;align-items:center;justify-content:space-between;margin:0 0 20px;min-height:44px}.logo-small{display:block;width:58px;height:auto}.logo-large{display:block;width:139px;height:auto;margin:5px auto 15px}.avatar{width:38px;height:38px;border-radius:50%;border:1px solid #96a4b9;background:transparent;font-size:.875rem}.icon-button{display:grid;place-items:center;width:44px;height:44px;padding:0;background:transparent;border:0;border-radius:8px}.icon-button:hover{background:var(--panel)}.auth-head{padding-top:18px;text-align:center;margin-bottom:38px}.brand-name{font-size:.625rem;letter-spacing:.23em;margin-bottom:10px}.tagline{font-size:.875rem;letter-spacing:.06em;color:var(--muted)}.auth-heading{margin-bottom:26px}.auth-heading p{color:var(--muted)}.field{display:block;margin-bottom:20px}.field-label{display:block;font-size:.875rem;margin-bottom:7px}.input{background:var(--panel);border:1px solid #68768d;border-radius:7px;min-height:52px;padding:13px 14px;color:var(--white);width:100%;min-width:0}input::placeholder{color:#94a5bd}.password-field{position:relative}.password-field .input{padding-right:52px}.password-toggle{position:absolute;right:3px;top:4px;width:44px;height:44px;border:0;background:none;display:grid;place-items:center}.help{display:block;font-size:.8125rem;color:var(--muted);margin-top:7px}.form-actions{display:grid;gap:12px;margin-top:24px}.btn{min-height:50px;border:1px solid transparent;background:var(--red);border-radius:7px;padding:13px 16px;font-size:1.2rem;text-align:center;display:flex;align-items:center;justify-content:center;gap:9px;transition:background .15s}.btn:hover{background:var(--red-hover)}.btn.secondary{background:transparent;border-color:#b8c5d9}.btn.secondary:hover{background:var(--panel)}.btn.subtle{background:var(--panel);border-color:var(--line);font-family:inherit;font-size:.875rem}.links{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:24px;flex-wrap:wrap}.text-button{border:0;background:transparent;color:var(--muted);padding:5px 0;min-height:36px;text-decoration:underline;text-underline-offset:4px;font-size:.875rem}.demo-note{background:#141b2a;border:1px dashed #4b596e;padding:12px;border-radius:7px;font-size:.8125rem;color:var(--muted);margin:20px 0}.demo-note strong{color:var(--white);font-weight:600}.notice{background:var(--panel);border:1px solid var(--line);border-radius:7px;padding:13px 14px;font-size:.875rem;color:var(--muted)}.error{border:1px solid #c96262;background:#321519;color:#ffd7d7;padding:12px 14px;border-radius:7px;font-size:.875rem;margin-bottom:15px}.checkline{display:flex;gap:10px;align-items:flex-start;font-size:.875rem}.checkline input{accent-color:var(--red);width:20px;height:20px;flex-shrink:0;margin:2px 0}.radio-row{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid #627189;border-radius:7px;min-height:51px;font-size:.9375rem}.radio-row:has(input:checked){border-color:#f23838;background:#29131d}.radio-row input{accent-color:var(--red);width:19px;height:19px;margin:0}.radio-group{display:grid;gap:10px}.radio-group legend{margin-bottom:8px}.fieldset{border:0;padding:0;margin:0 0 18px}.status-icon{display:grid;place-items:center;width:72px;height:72px;margin:22px auto;color:var(--white)}.status-icon svg{width:64px;height:64px;stroke-width:1.3}.status-list{border:1px solid var(--line);border-radius:8px;overflow:hidden;margin:24px 0}.status-row{display:flex;align-items:center;gap:12px;padding:16px;background:var(--panel);font-size:.875rem}.status-row+.status-row{border-top:1px solid var(--line)}
.card{background:var(--panel2);border:1px solid #54637b;border-radius:9px;padding:17px}.card .btn{margin-top:12px}.next-class{margin-top:24px}.next-class h2{font-size:1.7rem;margin:14px 0 10px}.details-line{font-size:.9375rem;margin-bottom:4px}.badge{display:inline-flex;align-items:center;gap:5px;max-width:100%;border:1px solid #a6b6cd;border-radius:20px;padding:3px 9px;font-size:.75rem;line-height:1.5;white-space:nowrap;color:var(--white)}.badge.attended{border-color:#6faa81;color:var(--success)}.badge.absent{border-color:#cdaf76;color:var(--warning)}.badge.missed{border-color:#d38989;color:#ffd1d1}.badge.neutral{border-color:#68778e;color:var(--muted)}.badge svg{width:13px;height:13px}.summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.metric{background:var(--panel);color:var(--white);border:1px solid #55627b;border-radius:7px;text-align:left;padding:14px}.metric strong{font-family:DFAHead,sans-serif;font-size:2rem;display:block;line-height:1}.metric span{display:block;font-size:.8125rem;color:var(--muted);margin-top:8px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:26px 0 12px}.section-title .text-button{font-size:.8125rem;white-space:nowrap}.session-row{width:100%;display:grid;grid-template-columns:5.5rem minmax(0,1fr) 18px;align-items:center;gap:12px;border:1px solid #526079;border-radius:8px;background:var(--panel2);padding:14px;text-align:left;margin-bottom:10px}.session-row:hover{background:var(--panel)}.date-block{min-width:52px;padding-right:12px;border-right:1px solid var(--line);font-family:DFAHead,sans-serif;font-size:1.2rem;line-height:1.15}.date-block span{font-family:inherit;font-size:.8rem;display:block;color:var(--muted);margin-bottom:4px}.session-row .date-block{width:100%;min-width:0;overflow-wrap:anywhere}.session-main{min-width:0;align-self:start;overflow-wrap:anywhere}.session-main strong{display:block;font-family:DFAHead,sans-serif;font-size:1.25rem;line-height:1.2}.session-main .small{display:block;color:var(--muted);margin-top:4px}.session-state{display:block;margin-top:8px}.session-row .badge{white-space:normal;text-align:left;overflow-wrap:anywhere}.session-row>svg{width:18px;height:18px;justify-self:end}.bottom-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:#0a1120;border-top:1px solid var(--line);padding:9px 6px 13px;flex-shrink:0}.nav-button{min-width:0;min-height:49px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;background:transparent;border:0;border-bottom:2px solid transparent;color:var(--muted);padding:3px 0;font-size:.75rem}.nav-button.active{color:var(--white);border-bottom-color:#f32d2d}.nav-button.active svg{color:#ff4040}.nav-button svg{width:21px;height:21px}.segmented{display:flex;border:1px solid #738199;border-radius:7px;overflow:hidden;margin:20px 0 12px}.segmented button{flex:1;background:none;border:0;padding:10px 4px;min-height:44px;font-size:.9375rem}.segmented button[aria-pressed=true]{background:var(--red);color:white}.filters{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px}.filters button{flex:1;padding:8px 5px;min-height:40px;background:transparent;border:1px solid #586984;border-radius:6px;font-size:.8125rem}.filters button[aria-pressed=true]{border-color:#fff;background:var(--panel)}.calendar-title{font-family:DFAHead,sans-serif;font-size:1.22rem;text-align:center}.week-grid,.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.day-button{border:1px solid #42536d;background:var(--panel2);padding:7px 1px;border-radius:5px;display:flex;align-items:center;flex-direction:column;gap:4px;min-height:65px}.day-button.selected{background:var(--red);border-color:var(--red)}.day-button span{font-size:.7rem;color:var(--muted)}.day-button.selected span{color:#fff}.day-button strong{font-size:.95rem;font-weight:600}.day-button .dot{width:4px;height:4px;border-radius:50%;background:var(--white)}.day-button.today{border-color:#dbdfe9}.month-grid .day-button{min-height:45px;padding:7px 1px;gap:3px}.weekday{font-size:.75rem;color:var(--muted);text-align:center;padding:6px 0}.calendar-empty{text-align:center;padding:26px 14px;border:1px dashed #526079;border-radius:8px;color:var(--muted);font-size:.875rem}.day-actions{display:flex;justify-content:space-between;align-items:center;margin:15px 0 9px}.day-actions h2{font-size:1.3rem}.scan-box{min-height:214px;background:#0d1728;display:grid;place-items:center;position:relative;margin:22px 0;border:1px solid var(--line);border-radius:12px}.scan-target{width:130px;height:130px;border:2px dashed #879ab7;display:grid;place-items:center;border-radius:12px}.scan-target svg{width:55px;height:55px;color:var(--muted)}.progress-row{display:flex;gap:14px;justify-content:space-between;align-items:center;background:var(--panel2);border:1px solid var(--line);border-radius:7px;padding:15px;text-align:left;width:100%;margin:0 0 10px}.progress-count{text-align:center;min-width:48px}.progress-count strong{font-family:DFAHead,sans-serif;font-size:1.65rem;display:block}.progress-count span{font-size:.7rem;color:var(--muted)}.list-line{padding:14px 0;border-bottom:1px solid var(--line)}.toast{position:absolute;bottom:87px;left:14px;right:14px;background:#eef3fa;color:#101a2c;font-size:.875rem;box-shadow:0 4px 24px #0006;padding:12px 15px;border-radius:8px;z-index:10;pointer-events:none}.dialog{background:var(--navy);color:var(--white);border:1px solid #64738a;border-radius:15px;width:min(430px,calc(100% - 28px));padding:24px;max-height:90dvh;overflow:auto}.dialog::backdrop{background:#020711bd;backdrop-filter:blur(4px)}.dialog h2{margin:0 0 16px}.dialog p{color:var(--muted);font-size:.9375rem}.dialog .btn{margin-top:10px}
@media(max-width:800px){.shell{display:block;padding:0 16px 30px}.guide{display:none}.prototype-bar{max-width:462px;padding:15px 16px}.prototype-brand{font-size:.875rem}.prototype-brand span{display:none}.mobile-controls{display:block}.phone{margin:auto;max-height:none;height:calc(100dvh - 88px);min-height:540px;width:min(430px,100%)}.prototype-bar .tag{font-size:.625rem}.desktop-only{display:none}}
@media(max-width:480px){body{background:var(--navy)}.prototype-bar{border-bottom:1px solid var(--line);padding:8px 13px;height:57px}.shell{padding:0}.phone{width:100%;height:calc(100dvh - 57px);max-height:none;min-height:450px;border:0;border-radius:0;box-shadow:none}.statusbar{display:none}.screen{padding:20px 20px 24px}.bottom-nav{padding-bottom:max(10px,env(safe-area-inset-bottom))}.auth-head{padding-top:24px}.guide-button{min-height:46px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:800px){body{height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden}.prototype-bar{width:100%;flex-shrink:0;min-height:57px;height:auto;padding-top:max(8px,env(safe-area-inset-top));padding-left:max(13px,env(safe-area-inset-left));padding-right:max(13px,env(safe-area-inset-right))}.shell{flex:1;min-height:0;display:flex;justify-content:center;padding:0 12px 12px}.phone{height:100%;min-height:0;max-height:none}.screen{-webkit-overflow-scrolling:touch;min-height:0}.bottom-nav{padding-bottom:max(10px,env(safe-area-inset-bottom))}.dialog{max-height:calc(100dvh - 30px)}}
@media(max-width:480px){.shell{padding:0}.prototype-bar{max-width:none}.phone{max-width:none}.input{font-size:16px}.screen{padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right))}}
