@import "https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;500;600;700&display=swap";:root{color:#0f172a;font-synthesis:none;--bg-dark:#f8fafc;--bg-surface:#fff;--bg-card:#fff;--accent-cyan:#0284c7;--accent-green:#059669;--text-main:#0f172a;--text-muted:#64748b;--border-subtle:#e2e8f0;--green:#10b981;--lime:#0284c7;--muted:#64748b;--line:#e2e8f0;background:#f8fafc;font-family:Noto Sans Thai,system-ui,sans-serif}*{box-sizing:border-box}body{background:var(--bg-dark);color:var(--text-main);margin:0;overflow-x:hidden}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,.button{cursor:pointer;transition:background .18s,transform .18s}button:disabled,.disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent-cyan);outline-offset:2px}a{color:inherit}h1,h2,p{margin:0}h1{letter-spacing:-.7px;font-size:clamp(26px,3.2vw,37px);line-height:1.4}h2{font-size:19px;line-height:1.5}p{line-height:1.7}small{font-size:12px}.muted,.hint{color:var(--muted)}.small{font-size:12px}.hint{margin-top:16px;font-size:12px;line-height:1.8}.center{text-align:center}.eyebrow{letter-spacing:1.2px;color:var(--accent-cyan);margin-bottom:9px;font-size:11px;font-weight:700;display:block}.eyebrow.light{color:#0284c7}.brand{letter-spacing:-.5px;white-space:nowrap;color:#0f172a;align-items:center;gap:11px;font-size:21px;font-weight:700;display:flex}.brand small{letter-spacing:.3px;opacity:.85;color:var(--accent-cyan);font-size:10px;font-weight:400;display:block}.brand-icon{background:linear-gradient(135deg, var(--accent-cyan) 0%, #0369a1 100%);color:#fff;border-radius:14px;flex-shrink:0;place-items:center;width:44px;height:44px;display:grid}.primary,.secondary,.button{border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;gap:9px;min-height:46px;padding:11px 19px;font-size:14px;font-weight:600;line-height:1.5;text-decoration:none;display:inline-flex}.primary{color:#fff;background:#10b981;font-weight:700}.primary:hover:not(:disabled){background:#059669}.secondary{color:#0f172a;border:1px solid var(--border-subtle);background:#fff}.secondary:hover:not(:disabled){background:#f1f5f9}.text-button{color:var(--accent-cyan);background:0 0;border:0;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:12px;font-size:13px;font-weight:600;display:inline-flex}.icon-button{color:#64748b;background:0 0;border:0;border-radius:10px;place-items:center;min-width:42px;min-height:42px;display:grid}.icon-button:hover{color:#0f172a;background:#f1f5f9}.full{width:100%}.actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.actions>*{flex:1}.pill{color:var(--accent-cyan);white-space:nowrap;background:#38bdf81f;border:1px solid #38bdf840;border-radius:30px;align-items:center;gap:8px;padding:7px 12px;font-size:11px;display:inline-flex}.card{background:var(--bg-card);border:1px solid var(--border-subtle);border-radius:21px;padding:24px;box-shadow:0 2px 12px #0f172a0f}.notice{overflow-wrap:anywhere;border:1px solid #0000;border-radius:12px;margin:14px 0;padding:13px 16px;font-size:13px;line-height:1.7}.notice.error{color:#ef4444;background:#ef44441a;border-color:#ef444440}.notice.success{color:#059669;background:#10b9811a;border-color:#10b98140;align-items:center;gap:10px;display:flex}.notice.info{color:#0284c7;background:#0284c71a;border-color:#0284c740}.notice p{margin-top:4px}.loading{background:var(--bg-dark);min-height:100dvh;color:var(--text-main);place-content:center;gap:20px;display:grid}label{color:#334155;flex-direction:column;gap:8px;font-size:13px;font-weight:600;display:flex}input:not([type=checkbox]),select{border:1px solid var(--border-subtle);color:#0f172a;background:#fff;border-radius:11px;width:100%;min-height:47px;padding:10px 13px;font-size:16px}input::placeholder{color:#94a3b8;font-size:13px}input[type=checkbox]{width:18px;height:18px;accent-color:var(--accent-green)}form>label,form>.form-grid{margin:19px 0}.form-grid{grid-template-columns:1fr 1fr;gap:18px;display:grid}.inline-check{color:#94a3b8;flex-direction:row;align-items:center;font-size:12px}.auth-layout{background:var(--bg-dark);grid-template-columns:1fr 1fr;min-height:100dvh;display:grid}.auth-story{color:#0f172a;border-right:1px solid var(--line);background:#f1f5f9;flex-direction:column;justify-content:space-between;min-height:100vh;padding:50px 65px;display:flex;position:relative;overflow:hidden}.auth-story:after{content:"";pointer-events:none;border:1px solid #0284c726;border-radius:50%;width:400px;height:400px;position:absolute;bottom:50px;right:-160px;box-shadow:0 0 0 50px #0284c70a,0 0 0 100px #0284c705}.auth-story h1{letter-spacing:-2px;color:#0f172a;margin:20px 0 25px;font-size:clamp(42px,5vw,76px);line-height:1.3}.auth-story em{color:var(--accent-cyan);font-style:normal}.auth-story p{color:#64748b;font-size:15px}.auth-story>.pill{align-self:flex-start}.auth-panel{background:#fff;justify-content:center;align-items:center;padding:50px 35px;display:flex}.auth-form{width:100%;max-width:370px}.auth-form h1{color:#0f172a;margin-bottom:8px}.auth-form form{margin-top:25px}.auth-form .primary{margin-top:8px}.auth-form>.text-button{margin-top:10px}.mobile-brand{display:none}.app-shell{background:var(--bg-dark);min-height:100vh;display:flex}.sidebar{color:#0f172a;border-right:1px solid var(--line);background:#fff;flex-direction:column;width:244px;padding:30px 22px;display:flex;position:fixed;inset:0 auto 0 0}.sidebar .brand{font-size:19px}.nav-caption{letter-spacing:1px;color:#64748b;margin:50px 13px 15px;font-size:10px}.sidebar nav{gap:7px;display:grid}.sidebar nav button{color:#64748b;text-align:left;background:0 0;border:0;border-radius:13px;align-items:center;gap:12px;padding:15px 14px;font-size:14px;transition:all .15s;display:flex}.sidebar nav button:hover{color:#0f172a;background:#f1f5f9}.sidebar nav button.active{color:var(--accent-cyan);background:#0284c714;border:1px solid #0284c733;font-weight:600}.sidebar-note{border:1px solid var(--line);color:#64748b;background:#f8fafc;border-radius:17px;margin-top:auto;padding:19px;font-size:12px}.sidebar-note>svg{color:var(--accent-cyan);margin-bottom:12px;display:block}.sidebar-note strong{color:#0f172a;margin-bottom:5px;display:block}.sidebar-note p{font-size:11px}.workspace{width:calc(100% - 244px);min-height:100vh;margin-left:244px}.topbar{border-bottom:1px solid var(--line);background:#ffffffe6;justify-content:space-between;align-items:center;height:81px;padding:0 38px;display:flex}.topbar>.muted{font-size:12px}.account{align-items:center;gap:11px;display:flex}.avatar{width:34px;height:34px;color:var(--accent-cyan);border:1px solid var(--border-subtle);background:#f1f5f9;border-radius:50%;place-items:center;font-weight:600;display:grid}.account-name{color:#0f172a;font-size:12px;font-weight:600}.account-name small{color:var(--muted);font-size:10px;font-weight:400;display:block}.content{max-width:1250px;margin:0 auto;padding:34px 38px 45px}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px;display:flex}.page-heading p{margin-top:8px;font-size:13px}.hero-card{border:1px solid var(--border-subtle);background:linear-gradient(135deg,#fff 0%,#f1f5f9 100%);border-radius:23px;justify-content:space-between;height:251px;margin-bottom:32px;padding:30px 34px;display:flex;position:relative;overflow:hidden;box-shadow:0 4px 20px #0f172a0f}.hero-card h2{letter-spacing:-.5px;color:#0f172a;margin:11px 0;font-size:30px;line-height:1.35}.hero-card p{color:#64748b;font-size:12px}.hero-card>div{z-index:1;position:relative}.hero-card>img{object-fit:contain;border:4px solid #fff;border-radius:6px;align-self:flex-start;width:200px;height:auto;margin-top:0;margin-right:10%;transform:rotate(9deg);box-shadow:0 12px 30px #0f172a26}.hero-link{text-underline-offset:4px;color:var(--accent-cyan);align-items:center;gap:8px;margin-top:14px;font-size:12px;font-weight:600;display:inline-flex}.section-title{justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px;display:flex}.section-title h2{font-size:17px}.count{min-width:25px;height:25px;color:var(--accent-cyan);background:#f1f5f9;border-radius:20px;place-items:center;margin-left:8px;padding:0 5px;font-size:12px;display:inline-grid}.quiz-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.quiz-card h2{overflow-wrap:anywhere;font-size:19px}.quiz-card>p{color:var(--muted);margin:10px 0 23px;font-size:12px}.version{min-width:47px;height:35px;color:var(--accent-cyan);letter-spacing:1px;background:#0284c714;border:1px solid #0284c733;border-radius:9px;justify-content:center;align-items:center;font-size:16px;font-weight:700;display:inline-flex}.empty{text-align:center;color:#64748b;flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:45px 20px;display:flex}.empty h2{color:#0f172a}.empty p{font-size:13px}.empty .primary{margin-top:5px}.app-footer{text-align:center;color:#64748b;padding:15px 20px 25px;font-size:10px}.bottom-nav{display:none}.back{margin-top:-18px;margin-bottom:10px;padding-left:0}.steps{align-items:center;gap:15px;max-width:580px;margin-bottom:25px;display:flex}.steps>span{color:#64748b;white-space:nowrap;align-items:center;gap:8px;font-size:12px;display:flex}.steps b{color:#64748b;background:#e2e8f0;border-radius:50%;place-items:center;width:27px;height:27px;display:grid}.steps .current{color:var(--accent-cyan);font-weight:700}.steps .current b,.steps .done b{background:var(--accent-cyan);color:#fff}.steps>div{background:var(--line);flex:1;height:1px}.editor-form{max-width:760px}.paper-choice{border-bottom:1px solid var(--line);align-items:center;gap:16px;margin-bottom:20px;padding-bottom:22px;display:flex}.paper-choice>img{object-fit:contain;border:1px solid var(--line);border-radius:4px;width:57px;height:75px}.paper-choice>div{flex:1}.paper-choice h2{margin-top:8px;font-size:16px}.paper-choice p{font-size:11px}.answer-editor{max-width:820px}.progress{background:#e2e8f0;border-radius:6px;height:6px;margin:15px 0 22px;overflow:hidden}.progress>span{background:var(--accent-cyan);height:100%;transition:width .2s;display:block}.answer-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:25px 0;display:grid}.answer-list fieldset{border:1px solid var(--line);background:#0f172a66;border-radius:14px;min-width:0;margin:0;padding:10px 12px 14px}.answer-list legend{color:#94a3b8;padding:0 5px;font-size:12px;font-weight:600}.answer-list fieldset>div{justify-content:space-between;gap:6px;display:flex}.answer-list button{border:1px solid var(--line);color:#334155;background:#fff;border-radius:10px;flex:1;width:42px;max-width:56px;height:44px;font-weight:600}.answer-list button.chosen{background:var(--accent-green);border-color:var(--accent-green);color:#fff}.quiz-select{max-width:700px;margin-bottom:15px}.selected-summary{color:#94a3b8;align-items:center;gap:12px;margin-bottom:23px;font-size:12px;display:flex}.scanner{max-width:740px}.scanner .section-title{margin-bottom:18px}.viewfinder{aspect-ratio:3/4;color:#fff;border:1px solid var(--line);background:#05080f;border-radius:15px;max-height:570px;margin-bottom:17px;position:relative;overflow:hidden}.viewfinder video{object-fit:cover;opacity:0;width:100%;height:100%;display:block}.viewfinder.live video{opacity:1}.viewfinder.full-viewport{z-index:10;background:#000;border:0;border-radius:0;width:100vw;height:100dvh;max-height:none;margin:0;position:fixed;inset:0;overflow:hidden}.viewfinder.full-viewport video{object-fit:cover;opacity:0;width:100%;height:100%;display:block}.viewfinder.full-viewport.live video{opacity:1}.camera-guide{text-align:center;pointer-events:none;z-index:12;place-items:center;display:grid;position:absolute;inset:12% 8% 22%}.camera-guide i{border:3px solid var(--accent-cyan);width:32px;height:32px;transition:border-color .2s,filter .2s;position:absolute}.camera-guide i:first-child{border-bottom:0;border-right:0;border-radius:8px 0 0;top:0;left:0}.camera-guide i:nth-child(2){border-bottom:0;border-left:0;border-radius:0 8px 0 0;top:0;right:0}.camera-guide i:nth-child(3){border-top:0;border-right:0;border-radius:0 0 0 8px;bottom:0;left:0}.camera-guide i:nth-child(4){border-top:0;border-left:0;border-radius:0 0 8px;bottom:0;right:0}.camera-guide.locked i{border-color:var(--accent-green)}.camera-guide>div>svg{color:var(--accent-cyan);filter:drop-shadow(0 0 10px #38bdf880);margin-bottom:18px}.camera-guide p{color:#f8fafc;font-size:14px;font-weight:600}.camera-guide small{color:#94a3b8;font-size:11px}.camera-status{text-align:center;color:#e2e8f0;z-index:15;pointer-events:none;background:#080c14e0;border:1px solid #38bdf833;border-radius:12px;padding:10px 14px;font-size:13px;position:absolute;bottom:125px;left:16px;right:16px}.hud-top-bar{height:calc(52px + env(safe-area-inset-top,0px));padding-top:env(safe-area-inset-top,0px);z-index:25;pointer-events:auto;background:#fffffff0;border-bottom:1px solid #00000014;justify-content:space-between;align-items:center;gap:10px;padding-left:16px;padding-right:16px;display:flex;position:fixed;top:0;left:0;right:0;box-shadow:0 2px 10px #0000000d}.hud-top-bar .hud-actions{align-items:center;gap:8px;display:flex}.hud-top-bar .hud-btn{color:#0f172a;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:12px;justify-content:center;align-items:center;min-width:40px;height:40px;padding:0 10px;font-size:12px;font-weight:600;text-decoration:none;transition:background .15s,transform .15s;display:inline-flex}.hud-top-bar .hud-btn:active{transform:scale(.92)}.hud-top-bar .hud-btn.active{background:var(--accent-green);color:#fff;border-color:var(--accent-green)}.hud-title-badge{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:20px;align-items:center;gap:6px;max-width:48vw;padding:6px 14px;font-size:13px;font-weight:600;display:inline-flex;overflow:hidden}.live-scan-pill{z-index:30;color:#0f172a;letter-spacing:-.2px;pointer-events:none;white-space:nowrap;background:#fffffff7;border:2px solid #10b981;border-radius:9999px;align-items:center;gap:10px;padding:12px 22px;font-size:15px;font-weight:700;animation:.28s cubic-bezier(.175,.885,.32,1.275) scanPillPop;display:inline-flex;position:fixed;top:48%;left:50%;transform:translate(-50%,-50%);box-shadow:0 8px 24px #10b98140}@keyframes scanPillPop{0%{opacity:0;transform:translate(-50%,-40%)scale(.85)}to{opacity:1;transform:translate(-50%,-50%)scale(1)}}.hud-thumb-bar{bottom:calc(58px + env(safe-area-inset-bottom,0px));z-index:22;background:#fffffff5;border:1px solid #00000014;border-radius:20px;justify-content:space-around;align-items:center;height:60px;padding:0 10px;display:flex;position:fixed;left:16px;right:16px;box-shadow:0 8px 30px #0f172a1f}.hud-thumb-bar .thumb-item{color:#334155;cursor:pointer;background:0 0;border:0;border-radius:14px;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:3px;height:100%;font-size:11px;font-weight:600;transition:color .15s,background .15s;display:flex}.hud-thumb-bar .thumb-item.active{color:#0284c7;background:#0284c714}.hud-thumb-bar .thumb-item.scan-main{color:#059669;font-weight:700}.hud-thumb-bar .thumb-item.scan-main.active{color:#059669;background:#0596691f}.swipe-sheet{z-index:24;background:#fff;border-top:1px solid #e2e8f0;border-radius:20px 20px 0 0;flex-direction:column;transition:height .28s cubic-bezier(.4,0,.2,1);display:flex;position:fixed;bottom:0;left:0;right:0;overflow:hidden;box-shadow:0 -8px 30px #0f172a1f}.swipe-sheet.is-peek{height:calc(54px + env(safe-area-inset-bottom,0px))}.swipe-sheet.is-expanded{height:72dvh}.swipe-sheet-header{cursor:pointer;background:#fff;border-top:1px solid #e2e8f0;flex-shrink:0;justify-content:space-between;align-items:center;min-height:54px;padding:0 16px;display:flex;position:relative}.swipe-sheet-header:before{content:"";background:#cbd5e1;border-radius:2px;width:36px;height:4px;position:absolute;top:8px;left:50%;transform:translate(-50%)}.swipe-sheet-summary{color:#0f172a;align-items:center;gap:8px;font-size:13px;font-weight:600;display:flex}.swipe-sheet-summary span{color:#0f172a}.swipe-sheet-summary .badge{color:#059669;background:#10b98126;border:1px solid #10b9814d;border-radius:12px;padding:2px 8px;font-size:11px}.swipe-sheet-toggle-btn{color:#0284c7;background:0 0;border:0;align-items:center;gap:4px;font-size:12px;font-weight:600;display:inline-flex}.swipe-sheet-body{padding:16px;padding-bottom:max(20px, env(safe-area-inset-bottom,0px));background:#f8fafc;flex-direction:column;flex:1;gap:14px;display:flex;overflow-y:auto}.sheet-scan-row,.swipe-sheet-body .scan-row{color:#0f172a;background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 2px 8px #0000000a}.sync-action-btn{color:#fff;cursor:pointer;background:#10b981;border:0;border-radius:14px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:48px;font-size:15px;font-weight:700;transition:transform .15s,opacity .15s;display:flex;box-shadow:0 4px 15px #10b98140}.sync-action-btn:active{transform:scale(.98)}.sync-action-btn:disabled{opacity:.5;cursor:not-allowed}.answer-editor .scanner{margin-top:15px;padding:15px}.stats{grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:25px;display:grid}.stats .card{padding:18px}.stats span{color:var(--muted);font-size:11px}.stats strong{color:#0f172a;margin-top:9px;font-size:30px;line-height:1.5;display:block}.stats small{color:var(--accent-cyan);font-size:12px;font-weight:400}.scan-list{gap:12px;margin-top:20px;display:grid}.scan-row{text-align:left;color:#0f172a;border:1px solid var(--border-subtle);background:#fff;border-radius:16px;align-items:center;gap:16px;width:100%;display:flex;box-shadow:0 2px 8px #0f172a0a}.scan-row:hover{background:#f1f5f9}.result-icon{color:#059669;background:#10b9811f;border-radius:12px;flex-shrink:0;place-items:center;width:44px;height:48px;display:grid}.result-icon.unknown{color:#d97706;background:#f59e0b1f}.scan-name{flex:1;min-width:0}.scan-name strong{color:#0f172a;font-size:15px;display:block}.scan-name small{color:var(--muted);margin-top:6px;font-size:10px;display:block}.score{white-space:nowrap;color:var(--accent-green);font-size:22px;font-weight:700}.score small{color:var(--muted);font-size:11px;font-weight:400}.modal{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:40;background:#0f172a99;padding:20px;position:fixed;inset:0;overflow-y:auto}.review{border:1px solid var(--border-subtle);color:#0f172a;background:#fff;border-radius:20px;max-width:850px;margin:0 auto;padding:24px;box-shadow:0 10px 40px #0f172a26}.review-top{justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px;font-size:13px;display:flex}.review canvas,.review .original{border-radius:6px;max-width:100%;height:auto;margin:15px auto;display:block}.review canvas[hidden]{display:none}.review .actions{margin-top:8px}.review .actions>*{min-width:100px;padding:10px;font-size:12px}.crops{grid-template-columns:1fr 1fr;gap:12px;display:grid}.crops>div{border:1px solid var(--line);background:#fff;border-radius:10px;min-width:0;padding:12px}.crops strong{color:#94a3b8;font-size:12px}.crops img{border-radius:4px;width:100%;margin-top:8px;display:block}.answer-summary{grid-template-columns:1fr 1fr;gap:6px;margin-top:20px;font-size:11px;display:grid}.answer-summary span{border-radius:6px;padding:8px}.correct{color:#34d399;background:#10b98126}.incorrect{color:#f87171;background:#ef444426}.user-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;display:flex}.user-row .muted{font-size:12px}.user-row>form{width:100%}.user-row>form>button{margin-top:10px}@media (width>=1300px){.content{padding-top:42px}.hero-card>img{margin-right:15%}.hero-card{height:265px}}@media (width<=1050px){.sidebar{width:210px;padding:26px 16px}.sidebar .brand{font-size:17px}.workspace{width:calc(100% - 210px);margin-left:210px}.content{padding:28px 23px}.topbar{padding:0 23px}.hero-card>img{width:170px;margin-right:0}.quiz-card{padding:20px}.quiz-card .actions{flex-direction:column;align-items:stretch}.auth-story{padding:40px}.auth-story h1{font-size:48px}}@media (width<=760px){.sidebar{display:none}.workspace{width:100%;margin:0}.topbar{background:#080c14f2;height:70px;padding:0 18px}.mobile-brand{display:block}.desktop-only{display:none}.brand{gap:8px;font-size:18px}.brand-icon{border-radius:11px;width:36px;height:36px}.brand small{font-size:8px}.account-name{display:none}.account{gap:5px}.avatar{width:28px;height:28px;font-size:12px}.icon-button{min-width:38px}.content{padding:25px 18px}.page-heading{align-items:flex-start;margin-bottom:22px}.page-heading>.primary{flex-shrink:0;min-height:42px;padding:10px 12px;font-size:12px}.page-heading h1{font-size:26px}.page-heading p{max-width:235px;font-size:12px}.eyebrow{letter-spacing:.6px;font-size:10px}.hero-card{height:236px;margin-bottom:27px;padding:23px}.hero-card h2{font-size:28px}.hero-card>img{width:146px;position:absolute;top:30px;right:-20px;transform:rotate(10deg)}.hero-card p{font-size:11px}.hero-card>div{max-width:70%}.hero-card .pill{padding:6px 9px;font-size:9px}.hero-link{font-size:11px}.quiz-grid{gap:13px}.quiz-card h2{font-size:16px}.quiz-card>p{font-size:11px}.quiz-card{padding:17px}.quiz-card .actions .primary,.quiz-card .actions .secondary{font-size:12px}.section-title>.small{display:none}.bottom-nav{padding:7px 10px max(7px, env(safe-area-inset-bottom));border-top:1px solid var(--line);z-index:20;background:#080c14f2;display:flex;position:fixed;bottom:0;left:0;right:0}.bottom-nav button{color:#94a3b8;background:0 0;border:0;flex-direction:column;flex:1;align-items:center;gap:4px;min-height:48px;font-size:10px;display:flex}.bottom-nav button.active{color:var(--accent-cyan);font-weight:700}.bottom-nav button.active svg{background:#38bdf826;border-radius:7px;box-shadow:0 0 0 5px #38bdf826}.app-footer{padding-bottom:95px}.card{border-radius:17px}.scanner{padding:16px}.viewfinder{max-height:none}.stats{gap:8px}.stats .card{padding:13px 10px}.stats strong{font-size:24px}.stats span,.stats small{font-size:10px}.scan-row{gap:10px;padding:15px 12px}.scan-row>svg{display:none}.scan-name strong{font-size:13px}.scan-name small{font-size:9px}.score{font-size:21px}.result-icon{width:33px;height:40px}.editor-form,.answer-editor{padding:19px}.form-grid{gap:14px}.paper-choice{gap:10px}.paper-choice h2{font-size:14px}.paper-choice .pill{font-size:10px}.paper-choice>svg{display:none}.answer-list{gap:9px}.answer-list fieldset{padding:8px 7px 11px}.answer-list fieldset>div{gap:4px}.answer-list button{border-radius:8px;width:auto;min-width:0;height:40px;font-size:13px}.modal{padding:8px}.review{border-radius:14px;padding:13px}.review-top strong{font-size:11px}.crops{gap:8px}.crops>div{padding:8px}.auth-layout{background:var(--bg-dark);display:block}.auth-story{display:none}.auth-panel{background:#fff;flex-direction:column;justify-content:flex-start;align-items:stretch;min-height:100dvh;padding:30px 24px;display:flex}.auth-panel>.mobile-brand{margin-bottom:55px}.auth-form{margin:0 auto}.auth-form h1{color:#0f172a;font-size:32px}.auth-form>.muted{color:#64748b;font-size:13px}.auth-form form{margin-top:28px}}@media (width<=390px){.content{padding:23px 13px}.page-heading{gap:8px}.page-heading>.primary{padding:10px;font-size:11px}.quiz-grid{grid-template-columns:1fr}.quiz-card .actions{flex-direction:row}.hero-card>img{right:-40px}.answer-list{grid-template-columns:1fr}.answer-list button{max-width:none;height:45px}.hero-card h2{font-size:25px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
