500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--green:#185849;--mint:#e8f1eb;--ink:#203b34;--muted:#728078;--line:#e2e7e1;--paper:#f7f8f4;--amber:#a46820}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',system-ui,sans-serif;font-size:14px}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer;border:0}aside{position:fixed;inset:0 auto 0 0;width:238px;background:#fff;border-right:1px solid var(--line);padding:34px 22px;display:flex;flex-direction:column}.brand{display:flex;gap:11px;align-items:center;font-family:Manrope,system-ui;font-weight:800;font-size:19px;line-height:1.15}.brand-icon{background:var(--green);color:white;display:grid;place-items:center;width:38px;height:42px;border-radius:12px;font-size:25px}.brand-second{display:block;font-weight:500;font-size:16px}.workspace-label{font-size:9px;letter-spacing:1.8px;color:var(--muted);margin:52px 12px 18px}nav a,.aside-bottom>a{display:flex;gap:13px;align-items:center;padding:13px 14px;margin:5px 0;border-radius:8px;color:#748078;font-size:18px}nav a span,.aside-bottom>a span{font-size:13px}nav a.active,.aside-bottom>a.active{background:var(--mint);color:var(--green);font-weight:700}.aside-bottom{margin-top:auto}.profile{border-top:1px solid var(--line);margin-top:23px;padding:24px 6px 0;display:flex;gap:11px;align-items:center;font-size:12px}.avatar{background:#ede7da;width:35px;height:35px;display:grid;place-items:center;border-radius:50%;font-size:11px;font-weight:700}.profile small{display:block;color:var(--muted);margin-top:4px;font-size:10px}main{margin-left:238px;max-width:1660px;padding:40px 48px 20px}header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:36px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.9px;color:#839087}h1,h2,h3{font-family:Manrope,system-ui;letter-spacing:-.7px}h1{font-size:28px;font-weight:700;margin:9px 0 0}h2{font-size:20px;margin:0 0 12px}h3{font-size:15px;margin:0 0 8px}.pill{font-size:10px;padding:9px 12px;border:1px solid var(--line);border-radius:20px;background:white;color:#6f7c72;white-space:nowrap}.hero{display:flex;justify-content:space-between;align-items:center;gap:25px;background:var(--green);color:#fff;padding:35px 38px;border-radius:14px;position:relative;overflow:hidden}.hero h2{font-size:29px;max-width:500px;margin:12px 0}.hero p{font-size:13px;line-height:1.8;color:#c7dacf;max-width:440px}.hero .eyebrow{color:#bdd2c4}.hero .btn{background:#edf3dc;color:#264d3c;margin-top:12px}.hero-art{width:145px;height:165px;border:1px solid #ffffff40;border-radius:9px;transform:rotate(9deg);padding:22px;background:#ffffff0b;flex-shrink:0;margin-right:30px}.hero-art .art-line{height:3px;background:#ffffff40;width:70%;margin-bottom:16px}.art-bubbles{display:grid;grid-template-columns:repeat(4,1fr);gap:12px 8px}.art-bubbles i{width:12px;height:12px;border:1px solid #b4cbbd;border-radius:50%}.art-bubbles i:nth-child(5n){background:#e4ecb0}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:24px 0 34px}.stat{background:white;border:1px solid var(--line);border-radius:11px;padding:21px 24px;display:flex;align-items:center;justify-content:space-between}.stat-label{color:var(--muted);font-size:11px}.stat-number{font-family:Manrope;font-size:29px;margin-top:8px;font-weight:700}.stat-icon{background:var(--paper);color:#6c8777;padding:12px;border-radius:11px;font-size:20px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.section-head h2{margin:0}.subtle{color:var(--muted);line-height:1.7;font-size:12px}.grid2{display:grid;grid-template-columns:1.4fr 1fr;gap:24px}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:25px;margin-bottom:22px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:var(--green);color:#fff;padding:12px 18px;border-radius:7px;font-weight:600;font-size:12px;min-height:40px}.btn.secondary{background:white;color:var(--ink);border:1px solid var(--line)}.btn.ghost{background:transparent;color:var(--green);padding:8px 0}.btn.danger{background:#faeeeb;color:#9b3e31}.btn:disabled{opacity:.45;cursor:not-allowed}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.empty{text-align:center;padding:35px 15px;color:var(--muted)}.empty-icon{font-size:29px;color:#97ac9a;display:block;margin-bottom:12px}.step{display:flex;gap:13px;padding:16px 0;border-bottom:1px solid #eef0eb}.step:last-child{border:0}.step-num{width:27px;height:27px;background:var(--mint);border-radius:50%;display:grid;place-items:center;font-size:10px;flex-shrink:0}.step p{margin:5px 0 0;font-size:11px;line-height:1.7;color:var(--muted)}.notice{background:#faf6eb;border:1px solid #e9dfc3;border-radius:8px;padding:14px 17px;color:#7c673b;font-size:12px;line-height:1.7;margin:16px 0}.notice.green{background:var(--mint);border-color:#d8e6da;color:var(--green)}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px}.course-card{background:white;border:1px solid var(--line);border-radius:12px;padding:24px}.course-icon{width:39px;height:39px;border-radius:9px;background:var(--mint);display:grid;place-items:center;margin-bottom:20px;font-size:20px}.course-card h3{font-size:19px}.card-meta{display:flex;gap:14px;margin-top:18px;color:var(--muted);font-size:11px}.badge{font-size:10px;padding:4px 8px;border-radius:4px;background:var(--mint);color:var(--green);display:inline-block}.badge.warn{background:#fcf0d8;color:#94621f}.row{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding:16px 0}.row:last-child{border:0}.row p{margin:6px 0 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}label{display:block;font-size:12px;font-weight:600;margin:0 0 7px}input,select,textarea{background:#fff;color:var(--ink);border:1px solid #d7dfd6;border-radius:6px;padding:11px;width:100%}textarea{min-height:130px;resize:vertical;line-height:1.6}small.help{display:block;font-size:11px;line-height:1.7;color:var(--muted);margin:7px 0 15px}.full{grid-column:1/-1}dialog{border:1px solid var(--line);border-radius:14px;width:min(670px,94vw);max-height:90vh;padding:30px;color:var(--ink)}dialog::backdrop{background:#15362e66;backdrop-filter:blur(3px)}.modal-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.close{background:var(--paper);border-radius:50%;width:30px;height:30px;font-size:20px}.key-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:12px;margin-top:22px}.key-item{display:flex;align-items:center;gap:8px}.key-item span{font-size:12px;min-width:22px}.key-item select{padding:8px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px}th{text-align:left;font-size:10px;color:var(--muted);font-weight:500;background:var(--paper)}th,td{padding:13px 15px;border-bottom:1px solid var(--line)}.scan-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px}.scan-box{position:relative;border:2px dashed #b8cbbd;border-radius:12px;background:#f4f7f1;padding:45px 25px;text-align:center;min-height:270px;display:flex;align-items:center;justify-content:center;flex-direction:column}.scan-box svg{width:58px;height:58px;margin-bottom:15px;color:var(--green)}.scan-box p{max-width:310px}.scan-box input{max-width:290px;border:0;background:transparent;font-size:11px}#corner-canvas{width:100%;height:auto;max-height:65vh;object-fit:contain;cursor:crosshair;border-radius:8px;touch-action:manipulation}video{max-width:100%;border-radius:9px}.answer-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:15px}.answer-cell{background:var(--paper);padding:8px;border-radius:6px}.answer-cell.uncertain{background:#fff0ce}.answer-cell label{font-size:10px;margin-bottom:4px}.answer-cell select{padding:5px;font-size:11px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:13px 22px;border-radius:8px;z-index:10;display:none;max-width:90vw;font-size:12px}footer{display:flex;justify-content:space-between;color:#8c968d;font-size:10px;border-top:1px solid var(--line);padding:22px 0;margin-top:50px}.mobile-head{display:none}#print-area{display:none}.setup-steps{padding-left:20px;line-height:1.9;font-size:12px}.inline-form{display:flex;gap:12px;align-items:end}.inline-form>div{flex:1}.code{font-family:monospace;background:var(--paper);padding:9px;overflow-wrap:anywhere;font-size:11px}.preview-sheet{width:100%;max-height:430px;object-fit:contain;background:#eceee8;border-radius:9px}.filterbar{display:flex;gap:14px;margin-bottom:20px}.filterbar>div{min-width:180px;flex:1}.check{display:flex;gap:10px;align-items:start;font-weight:400;line-height:1.7}.check input{width:auto;margin-top:5px}.risk{color:#a25d1d}.section-note{margin-top:0;margin-bottom:24px;color:var(--muted);font-size:13px;line-height:1.7}
@media(min-width:1500px){main{padding:45px 65px}}@media(max-width:1050px){main{padding:30px 25px}aside{width:200px;padding:30px 16px}main{margin-left:200px}.grid2,.scan-layout{grid-template-columns:1fr}.hero-art{margin-right:0;width:110px;height:150px}.hero{padding:28px}.stats{gap:10px}.stat{padding:18px}header{align-items:start;flex-direction:column}}@media(max-width:700px){aside{inset:auto 0 0;width:100%;height:64px;padding:0;z-index:5;border-top:1px solid var(--line)}aside .brand,.workspace-label,.aside-bottom{display:none}nav{display:flex;justify-content:space-around}nav a{flex-direction:column;gap:2px;margin:4px 0;padding:5px 8px;font-size:19px}nav a span{font-size:8px}main{margin-left:0;padding:24px 18px 70px}.mobile-head{display:flex;justify-content:space-between;padding:18px;background:white;border-bottom:1px solid var(--line);font-weight:700;color:var(--green)}h1{font-size:24px}header{margin-bottom:24px;gap:14px}.hero{padding:25px}.hero h2{font-size:24px}.hero-art{display:none}.stats{grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0 28px}.stat{padding:15px 12px}.stat-number{font-size:24px}.stat-label{font-size:9px}.stat-icon{display:none}.panel{padding:20px}.form-grid{grid-template-columns:1fr}.answer-grid{grid-template-columns:repeat(4,1fr)}footer span{display:none}.section-head{align-items:start}.filterbar,.inline-form{flex-direction:column;align-items:stretch}.filterbar>div{min-width:0}.hero p{font-size:12px}.section-head .btn{padding:10px;font-size:11px}}
@page{size:A4 portrait;margin:0}@media print{body>*{display:none!important}body>#print-area{display:block!important;width:210mm;height:297mm;padding:8mm 9mm;background:white}#print-area svg{width:100%;height:100%;display:block}body{background:white}}
/* Touch-friendly answer key: a single tap per answer, native radio semantics. */
.key-grid{grid-template-columns:1fr;gap:0;border:1px solid var(--line);border-radius:9px;overflow:hidden}.key-row{margin:0;border:0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:16px;padding:10px 14px;min-width:0}.key-row:last-child{border-bottom:0}.key-row:nth-child(even){background:#f8faf6}.key-row legend{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}.key-number{min-width:30px;font-weight:600;font-size:13px}.key-choices{display:flex;gap:12px;flex:1;justify-content:space-between;max-width:310px}.key-choice{position:relative;display:flex;align-items:center;justify-content:center;margin:0;min-width:44px;min-height:44px;cursor:pointer}.key-choice input{position:absolute;width:1px;height:1px;opacity:0;margin:0}.key-choice span{display:grid;place-items:center;border:1.5px solid #b8c8bb;border-radius:50%;width:36px;height:36px;font-size:13px;font-weight:600;background:white;color:#50695a;transition:background .1s,border-color .1s}.key-choice input:checked+span{background:var(--green);color:white;border-color:var(--green)}.key-choice input:focus-visible+span{outline:3px solid #b8d3ae;outline-offset:3px}.key-choice input:disabled+span{cursor:default}.key-choice:has(input:disabled){cursor:default}@media(max-width:700px){.key-row{gap:8px;padding:8px 10px}.key-number{min-width:24px}.key-choices{gap:3px}.key-choice{min-width:40px;min-height:44px}.key-choice span{width:34px;height:34px}#view>.section-head{flex-wrap:wrap}}
@media(max-width:360px){dialog{padding:16px}.key-row{padding:8px}.key-number{min-width:22px}.key-choices{gap:2px}}
body.camera-open{overflow:hidden}#camera-dialog{position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#0c1713;color:white;overflow:hidden;display:none}#camera-dialog[open]{display:flex;flex-direction:column}#camera-dialog::backdrop{background:#0c1713}.camera-top{display:flex;align-items:center;justify-content:space-between;padding:calc(14px + env(safe-area-inset-top)) 20px 12px;flex-shrink:0}.camera-top .eyebrow{font-size:9px;color:#adc6b4}.camera-top h2{font-size:19px;margin:6px 0 0;color:white}.camera-close{width:44px;height:44px;background:#ffffff15;color:white;border:1px solid #ffffff25;border-radius:50%;font-size:28px}.camera-stage{position:relative;flex:1;min-height:0;width:100%;background:#030907;overflow:hidden}.camera-stage video{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;border-radius:0}#camera-guide{position:absolute;display:none;pointer-events:none;z-index:1;border:1px solid #e1f3bf38;border-radius:5px;box-shadow:0 0 0 200vmax #00000030}#camera-guide i{position:absolute;width:30px;height:30px;border:4px solid #d4f19d;filter:drop-shadow(0 1px 3px #000);border-radius:3px}.guide-tl{left:-2px;top:-2px;border-right:0!important;border-bottom:0!important}.guide-tr{right:-2px;top:-2px;border-left:0!important;border-bottom:0!important}.guide-br{right:-2px;bottom:-2px;border-left:0!important;border-top:0!important}.guide-bl{left:-2px;bottom:-2px;border-right:0!important;border-top:0!important}#camera-loading{position:absolute;inset:0;display:grid;place-items:center;color:#d2decd;font-size:14px}#camera-loading[hidden]{display:none}.camera-bottom{flex-shrink:0;display:flex;align-items:center;flex-direction:column;padding:10px 16px calc(14px + env(safe-area-inset-bottom));background:#0c1713;gap:7px}.camera-bottom p{margin:0;color:#d0ddcf;text-align:center;font-size:11px;line-height:1.6}.camera-shutter{width:66px;height:66px;min-height:66px;border:3px solid #ecf4e9;border-radius:50%;background:transparent;display:grid;place-items:center;padding:4px}.camera-shutter span{width:50px;height:50px;border-radius:50%;background:#ecf4e9}.camera-shutter:disabled{opacity:.4}.camera-shutter:active:not(:disabled) span{background:#c9e994}.camera-hint{color:#a5bda9;font-size:10px}@media(orientation:landscape) and (max-height:550px){#camera-dialog[open]{display:grid;grid-template-columns:1fr 130px;grid-template-rows:58px 1fr}.camera-top{grid-column:1/-1;padding:5px 16px}.camera-top .eyebrow{display:none}.camera-top h2{margin:0;font-size:16px}.camera-stage{height:100%;grid-column:1}.camera-bottom{grid-column:2;grid-row:2;padding:10px 8px;justify-content:center}.camera-bottom p{font-size:10px}.camera-hint{font-size:9px}}
.camera-quality{background:#ffffff13;border:1px solid #ffffff24;border-radius:7px;padding:8px 12px;font-size:12px;line-height:1.4;color:#f0f3e8;text-align:center;max-width:500px}.camera-quality.ready{background:#d4f19d;color:#193d26;border-color:#d4f19d}.camera-quality.warning{background:#66451b;color:#ffe4a6;border-color:#bb8b37}.camera-sound{background:transparent;color:#b9cbbd;text-decoration:underline;font-size:10px;padding:3px 8px;min-height:28px}#camera-guide.capture-ready{border-color:#b3ff83}#camera-guide.capture-ready i{border-color:#8cfa5a;filter:drop-shadow(0 0 5px #65ff6080)}.camera-bottom p{font-size:10px}.capture-summary{border:1px solid #d9e5de;background:#f3f8f4;border-radius:10px;padding:16px;margin-bottom:18px}.summary-person{display:flex;flex-direction:column;gap:5px}.summary-person>strong{font-size:18px;line-height:1.4}.summary-person .subtle{font-size:11px}.summary-counts{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:17px}.summary-counts>div{display:flex;flex-direction:column;gap:5px;text-align:center;background:white;border-radius:6px;padding:10px 3px}.summary-counts strong{font-size:22px}.summary-counts span{font-size:9px;color:var(--muted)}.summary-good strong{color:#126de0}.summary-bad strong{color:#dc303d}.summary-pending strong{color:#956219}.summary-total{font-size:11px;margin:13px 0 0;line-height:1.6;color:#637166}.capture-photo{border:1px solid var(--line);background:#e9ece6;border-radius:9px;overflow:hidden}#review-photo{display:block;width:100%;height:auto}.photo-legend{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 2px;font-size:10px;color:var(--muted)}.photo-legend>span{display:flex;gap:6px;align-items:center}.photo-legend i{border:2px solid;width:12px;height:12px;border-radius:50%;display:inline-block}.legend-blue{color:#126de0}.legend-red{color:#dc303d}.expanded-review-photo{display:block;width:100%;height:auto}@media(orientation:landscape) and (max-height:550px){.camera-quality{font-size:10px;padding:6px}.camera-bottom{gap:4px}.camera-bottom p{display:none}.camera-shutter{width:56px;height:56px;min-height:56px}.camera-shutter span{width:42px;height:42px}.camera-hint{display:none}}
.sync-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.sync-controls .pill{white-space:normal}.sync-controls .btn{font-size:11px;padding:9px 13px;min-height:36px}.capture-progress{font-size:27px;font-weight:700;color:var(--green);padding:20px 0 16px}.capture-progress span{font-size:11px;font-weight:400;color:var(--muted);display:block;line-height:1.8}.session-badge{font-family:'DM Sans',sans-serif;background:#d4f19d;color:#244835;border-radius:16px;padding:4px 10px;font-size:14px;margin-left:8px}.conflict-value{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;max-height:240px;overflow:auto}#network-overlay{max-width:440px;width:90vw;background:#fff;padding:30px;border:1px solid var(--line);border-radius:14px;color:var(--ink)}#network-overlay::backdrop{background:#0b281cbb;backdrop-filter:blur(4px)}#conflict-notice[hidden]{display:none}@media(max-width:700px){.sync-controls{width:100%;justify-content:space-between;gap:6px}.sync-controls .pill{font-size:9px}.camera-top h2{font-size:16px}}
/* Neutral, undimmed full-viewport preview. Only controls have their own background. */
#camera-dialog[open]{display:block;position:fixed}.camera-stage{position:absolute;inset:0;width:100%;height:100%;min-height:0;flex:none}.camera-stage video{filter:none;opacity:1;mix-blend-mode:normal;object-fit:contain}#camera-guide,#camera-guide.capture-ready{box-shadow:none;border:0;background:transparent}#camera-guide i{border-color:#eaf3f8;filter:drop-shadow(0 1px 2px #0008)}#camera-guide.capture-ready i{border-color:#8cfa5a;filter:drop-shadow(0 1px 2px #0008)}.camera-top{position:absolute;z-index:3;top:0;left:0;right:0;padding:calc(8px + env(safe-area-inset-top)) 14px 8px;background:#111111b8}.camera-top .eyebrow{display:none}.camera-top h2{margin:0;font-size:16px}.camera-close{width:40px;height:40px;background:#333c;border-color:#8888}.camera-bottom{position:absolute;z-index:3;bottom:0;left:0;right:0;padding:8px 14px calc(10px + env(safe-area-inset-bottom));background:transparent;gap:7px;min-height:0}.camera-bottom p,.camera-hint{display:none}.camera-quality{background:#111d;color:#fff;border-color:#ffffff35;font-size:11px;padding:7px 11px;max-width:min(500px,94vw)}.camera-quality.ready{background:#d4f19d;color:#193d26}.camera-quality.warning{background:#473316;color:#ffe4a6}.camera-sound{position:absolute;left:12px;bottom:calc(23px + env(safe-area-inset-bottom));padding:8px;background:#111b;border-radius:15px;color:#fff;max-width:100px}.camera-shutter{background:#1119;box-shadow:0 1px 5px #0005}.camera-shutter span{background:#fff}@media(orientation:landscape) and (max-height:550px){#camera-dialog[open]{display:block}.camera-top{padding:5px 12px}.camera-stage{height:100%;grid-column:auto}.camera-bottom{grid-column:auto;grid-row:auto;min-height:0;flex-direction:column;justify-content:end;align-items:end;padding:8px 12px;top:52px;left:auto;width:145px}.camera-quality{font-size:10px;max-width:140px}.camera-sound{position:static;font-size:9px;min-height:26px;max-width:none}.camera-shutter{align-self:center}}
@media print{body>#print-area{width:210mm;height:297mm;padding:0}#print-area svg{width:210mm;height:297mm}}

/* Full viewport camera, stable guide; captured file retains full sensor image. */
#camera{object-fit:cover!important}#camera-dialog[open]{height:100dvh!important;max-height:100dvh!important;width:100vw!important;max-width:100vw!important;margin:0!important;padding:0!important}.camera-stage{height:100%!important}

#camera-guide i{transition:left .2s ease-out,top .2s ease-out,border-color .2s}#camera-guide{pointer-events:none}

.legend-yellow{background:#ffc400;border:1px solid #a87d00}

/* Simpler interface; these rules affect the app, never the printed SVG/PDF. */
:root{--green:#285b9b;--mint:#eaf1fc;--ink:#1d2e43;--muted:#52657c;--line:#dce3ed;--paper:#f5f7fb;--amber:#ab6b17}
body{font-size:16px}h1{font-size:29px}h2{font-size:23px}h3{font-size:18px}.btn{font-size:15px;min-height:45px}.subtle,.section-note,.notice,label,.setup-steps{font-size:15px}small.help,.pill,.badge,.stat-label{font-size:13px}th,td{font-size:14px}nav a span{font-size:15px}.key-row{padding:12px 14px}.key-number{font-size:17px}.key-choice span{font-size:16px}.eyebrow,.workspace-label,footer{display:none}.hero .btn{margin:0}.hero-art{display:none}.hero p{font-size:16px}
.review-open{overflow:hidden}#review-dialog[open]{position:fixed;inset:0;margin:0;border:0;border-radius:0;padding:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;display:flex;flex-direction:column;background:#111820;color:#fff;overflow:hidden}#review-dialog::backdrop{background:#111820}.review-top{display:flex;justify-content:space-between;gap:12px;padding:calc(12px + env(safe-area-inset-top)) 16px 12px;background:#1d2834;font-size:16px}.review-stage{flex:1;min-height:0;overflow:auto;display:flex;align-items:center;justify-content:center}.review-stage canvas{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.review-summary{background:#1d2834;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.review-summary p{margin:0}.review-summary .subtle{color:#c3ceda}.review-summary .summary-person{display:flex;flex-direction:column;gap:5px}.review-summary strong{font-size:19px}.review-summary .summary-person span{font-size:14px;color:#cbd6e2}.review-score{display:flex;gap:12px;font-size:15px}.review-score .summary-good{color:#8fc4ff}.review-score .summary-bad{color:#ffa5aa}.review-actions{display:flex;justify-content:center;gap:10px;padding:12px 14px calc(12px + env(safe-area-inset-bottom));background:#1d2834;flex-shrink:0}.review-actions .btn{flex:1;max-width:250px;padding:12px 8px}.review-legend{text-align:center;font-size:13px;padding:7px}.review-legend .legend-yellow{color:#ffc400;background:transparent;border:0}.review-legend .legend-blue{color:#5faaff}.review-legend .legend-red{color:#ff6777}#review-dialog #review-error:empty{display:none}#review-dialog #review-error{margin:0;padding:8px;color:#ffd49c}@media(max-width:700px){nav a span{font-size:11px}.subtle,.section-note,.notice,label{font-size:15px}.hero h2{font-size:27px}.btn{font-size:14px}.stat-label{font-size:12px}.review-summary strong{font-size:18px}.review-actions .btn{font-size:14px}.review-score{font-size:14px}}@media(orientation:landscape) and (max-height:550px){#review-dialog[open]{display:grid;grid-template-columns:1fr 240px;grid-template-rows:auto 1fr auto}.review-top{grid-column:1/-1}.review-stage{grid-column:1;grid-row:2/5;height:100%}.review-summary{grid-column:2;grid-row:2}.review-legend{grid-column:2}.review-actions{grid-column:2;flex-direction:column}.review-actions .btn{max-width:none}}

:root{--green:#ba007a;--mint:#fce8f4;--ink:#202124;--muted:#61646d;--line:#e4e5ea;--paper:#f5f5f7;--cyan:#00aeef;--fuchsia:#ed008c;--magenta:#ba007a}
body{font-family:Arial,sans-serif}h1,h2,h3,.brand,.stat-number{font-family:Arial,sans-serif}.brand{font-size:20px}.brand-icon{width:42px;height:46px;background:#141414;border-radius:11px;font-size:32px;font-weight:800;border-bottom:4px solid var(--fuchsia);box-shadow:3px 0 0 var(--cyan)}.brand-second{font-size:16px;color:#575760}.workspace-label{color:#6c6c73}nav a,.aside-bottom>a{color:#64646f}nav a.active{background:#e6f7fd;color:#171717;border-left:3px solid var(--cyan)}.hero{background:var(--cyan);color:#141414;padding:36px;border-radius:16px}.hero h2{font-size:34px;letter-spacing:-1px}.hero p{color:#173843;font-size:15px}.hero .btn,.btn{background:var(--magenta);color:#fff}.hero .btn.secondary,.btn.secondary{background:white;color:#202124;border-color:#dedfe4}.hero .eyebrow{color:#133343}.eyebrow{color:#686871}.hero-art{border-color:#14141438;background:#ffffff42;transform:rotate(7deg);height:144px}.hero-art .art-line{background:#14141466}.art-bubbles i{border-color:#28313b}.art-bubbles i:nth-child(5n){background:var(--fuchsia);border-color:var(--magenta)}.stat{border-top:3px solid #141414}.stat:nth-child(1){border-top-color:var(--cyan)}.stat:nth-child(2){border-top-color:var(--magenta)}.stat:nth-child(3){border-top-color:var(--fuchsia)}.stat-label{color:#555660}.stat-number{color:#151515}.stat-icon{color:var(--magenta);background:#fce8f4}.badge{background:#e6f7fd;color:#164b5e}.course-icon{background:#e6f7fd;color:#173843}.avatar{background:#fce8f4;color:var(--magenta)}.pill{color:#454851}.btn.ghost{color:var(--magenta)}.mobile-head{background:#141414;color:#fff}.bottom-nav a.active{color:var(--magenta)}footer{color:#666670}main{padding-top:24px}header{margin-bottom:25px}.preview-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:11px 15px;background:#fff;border:1px dashed #c5c7d0;border-radius:10px;margin-bottom:25px;font-size:12px;color:#565862}.preview-bar select{width:auto;padding:5px 8px;font-size:12px}.swatches{display:flex;gap:13px;flex-wrap:wrap;margin:18px 0 0;font-size:11px;color:#62646b}.swatches span{display:flex;gap:5px;align-items:center}.swatches i{height:12px;width:12px;border-radius:50%;background:var(--sw);border:1px solid #0002}.row h3{font-size:15px}.app-demo-note{font-size:11px;color:#71717b;margin-top:16px}body.dark-hero .hero{background:#161616;color:#fff}body.dark-hero .hero p,body.dark-hero .hero .eyebrow{color:#cdd0d6}body.dark-hero .hero h2{color:var(--cyan)}body.dark-hero .hero-art{background:#fff1;border-color:#fff4}body.dark-hero .hero-art .art-line{background:#fff8}body.dark-hero .art-bubbles i{border-color:#ccc}.course-card .btn{margin-top:18px}@media(max-width:800px){main{padding-top:18px}.preview-bar{margin-top:4px}.hero{padding:27px 23px}.hero h2{font-size:28px}.hero-art{display:none}.swatches{gap:9px}header{flex-wrap:wrap}.sync-controls{gap:6px}}

.brand-icon{background:linear-gradient(#fff,#fff) padding-box,conic-gradient(from 0deg,#82719c 0deg,#ff004e 90deg,#ff8400 145deg,#ffc400 180deg,#81be55 235deg,#00b8a3 270deg,#00b6d0 315deg,#82719c 360deg) border-box;color:#111;border:3px solid transparent;box-shadow:none;border-radius:12px;width:44px;height:46px}

:root{--ink:#252525;--muted:#737782;--paper:#f6f7fb;--line:#e5e7ec;--green:#007d9f;--mint:#e8f8fd;--violet:#79569a;--spectrum:linear-gradient(110deg,#00b6d0,#82719c 30%,#ed008c 55%,#ff8400 76%,#ffc400 88%,#81be55)}
body{background:var(--paper);color:var(--ink)}body:before{content:"";position:fixed;inset:0 0 auto;height:4px;background:var(--spectrum);z-index:20}aside{background:#fff;padding-top:37px}.brand{letter-spacing:-.6px}.brand-second{color:#45454d}.workspace-label{display:block!important;margin:18px 0 32px 0;letter-spacing:1.6px;font-size:9px;color:#88818f}.brand-family{font-size:11px;color:#77717e;margin-top:7px;letter-spacing:.2px}nav a{border:1px solid transparent;border-radius:12px}nav a.active{background:#e9f8fd;color:#007d9f;border-left:3px solid #00aeef}nav a:hover{background:#f4f4f8}.mobile-head{background:#fff;color:#252525;padding-top:22px}.mobile-head a:first-child{display:flex;align-items:center;gap:9px}.mobile-head .brand-icon{width:32px;height:34px;font-size:22px;border-width:2px;border-radius:9px}h1{color:#252525;font-weight:750;letter-spacing:-1px}h2{color:#79569a}.hero{background:linear-gradient(#fff,#fff) padding-box,var(--spectrum) border-box;border:2px solid transparent;color:#252525;border-radius:22px;padding:36px 38px;box-shadow:0 7px 28px #3b365006}.hero h2{color:#252525;font-size:36px;max-width:470px;line-height:1.15;margin:0 0 14px}.hero h2:after{content:"";display:block;width:58px;height:4px;border-radius:4px;background:var(--spectrum);margin-top:18px}.hero p{color:#737782;font-size:16px}.hero .btn,.btn{background:#b50079;border-radius:10px;box-shadow:none}.btn:hover{filter:brightness(.96)}.hero .btn.secondary,.btn.secondary{background:#f0faff;border:1px solid #cde5ed;color:#00758e}.hero-art{display:block;width:115px;height:145px;border:1px solid #d5e5ec;background:#f4fbfe;transform:rotate(7deg);box-shadow:8px 9px 0 #fce8f4;border-radius:12px;padding:20px;margin-right:12px}.hero-art .art-line{background:#c6dce7}.art-bubbles i{border-color:#9ac7d5}.art-bubbles i:nth-child(5n){background:#ed008c;border-color:#ed008c}.art-bubbles i:nth-child(3n){background:#00aeef;border-color:#00aeef}.stat{border:1px solid #e5e7ec;border-radius:18px;padding:22px 24px;position:relative;overflow:hidden}.stat:before{content:"";width:5px;position:absolute;left:0;top:22px;bottom:22px;border-radius:0 5px 5px 0;background:#00aeef}.stat:nth-child(2):before{background:#ed008c}.stat:nth-child(3):before{background:#82719c}.stat:nth-child(n){border-top-color:#e5e7ec}.stat-number{font-size:32px}.stat-label{font-size:13px}.panel,.course-card{border-radius:20px;border-color:#e5e7ec;box-shadow:0 3px 14px #35334e03}.section-head h2{color:#79569a}.row{padding:21px 0}.row h3{font-size:16px}.course-icon{background:#e6f8ff;color:#007d9f;border-radius:13px;font-weight:700;width:51px;height:51px}.course-card:nth-child(even) .course-icon{background:#fce8f5;color:#b50079}.badge{border-radius:6px}.course-card:nth-child(even) .badge{background:#fff0f8;color:#a10068}.pill{background:#f0faf7;color:#367161;border-color:#daeee6}.preview-bar{border:1px solid #e3e3ed;background:#f0eff5;color:#746a80;border-radius:10px}.preview-bar label{font-size:12px}.preview-bar select{border-color:#ddd8e6}.swatches{padding:8px 2px;font-size:11px;opacity:.8}.profile{border-color:#ecebf0}.avatar{background:#f9e9f3}.btn.ghost{color:#b50079}.brand-note{font-size:11px;color:#8a8591;margin:12px 0 0}body.dark-hero .hero{background:linear-gradient(#202024,#202024) padding-box,var(--spectrum) border-box}body.dark-hero .hero h2{color:white}body.dark-hero .hero p{color:#d1cdd7}footer{display:flex!important;color:#8b8593}footer:before{content:"";width:35px;height:3px;background:var(--spectrum);border-radius:3px;margin-right:9px}footer span{margin-left:auto}#toast.show{display:block}
@media(max-width:700px){.hero{padding:25px 23px;border-radius:19px}.hero h2{font-size:29px}.hero-art{display:none}.stat{padding:18px 15px}.stat-number{font-size:27px}.stat-label{font-size:12px}.panel{padding:22px 19px}.preview-bar{font-size:11px}.mobile-head{align-items:center}.mobile-head .brand-icon{display:inline-grid}nav a.active{border-left:0;border-top:3px solid #00aeef;border-radius:8px}.row{gap:12px}.row .btn{font-size:12px;padding:10px 12px}.row h3{font-size:15px}footer span{display:none}}

body,h1,h2,h3,.brand,.stat-number,button,input,select,textarea{font-family:Montserrat,Arial,sans-serif!important}.brand-icon{background:none!important;border:0!important;padding:0!important;box-shadow:none!important}.brand-icon img{width:100%;height:100%;display:block;object-fit:contain}
body,h1,h2,h3,.brand,.stat-number,button,input,select,textarea{font-family:Montserrat,Arial,sans-serif!important}.brand-icon{background:none!important;border:0!important;padding:0!important;box-shadow:none!important}.brand-icon img{width:100%;height:100%;object-fit:contain}.pilot-gate{background:#f6f7fb}.pilot-gate .panel{border-top:3px solid #ed008c}.hero .btn{margin-top:0}
/* Keep the mobile navigation inside its fixed bottom bar. */
@media(max-width:700px){
 aside{position:fixed;inset:auto 0 0;width:100%;height:calc(72px + env(safe-area-inset-bottom));padding:0 0 env(safe-area-inset-bottom)!important;display:block;background:#fff;z-index:50;border-top:1px solid #e5e7ec}
 aside .brand,aside .workspace-label,aside .aside-bottom{display:none!important}
 aside nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:100%;height:72px;gap:0;align-items:stretch}
 aside nav a{display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:0;gap:4px;margin:0;padding:6px 2px;border:0;border-top:3px solid transparent;border-radius:0;font-size:21px;color:#737782;text-align:center}
 aside nav a span{font-size:10px;line-height:1.2;white-space:normal;overflow-wrap:normal}
 aside nav a.active{border-left:0;border-top:3px solid #00aeef;background:#e9f8fd;color:#007d9f}
 main{padding-bottom:calc(100px + env(safe-area-inset-bottom))}
}

.mobile-bottom-nav{display:none}
@media(max-width:700px){
 body>aside{display:none!important}
 body>.mobile-bottom-nav{position:fixed!important;top:auto!important;bottom:0!important;left:0!important;right:0!important;width:100%;height:auto;min-height:72px;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:0;margin:0;padding:0 0 env(safe-area-inset-bottom,0px);background:#fff;border-top:1px solid #e5e7ec;box-shadow:0 -3px 15px #2525250a;z-index:1000}
 .mobile-bottom-nav a{display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:72px;margin:0;padding:8px 3px;gap:5px;border:0;border-top:3px solid transparent;border-radius:0;color:#737782;text-align:center;font-size:21px}
 .mobile-bottom-nav a span{font-size:10px;line-height:1.25;white-space:normal}
 .mobile-bottom-nav a.active{border:0;border-top:3px solid #00aeef;background:#e9f8fd;color:#007d9f}
 body>main{margin-left:0;padding-bottom:110px;padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))}
}
/* v1.4: soft magenta actions, matching Demenosamaths. */
.btn,.hero .btn{background:#fce8f5;color:#a90070;border:1px solid #edc8df;box-shadow:none}
.btn:hover,.hero .btn:hover{background:#f8d9ed;filter:none}
.btn.secondary,.hero .btn.secondary{background:#f0faff;color:#00758e;border:1px solid #cde5ed}
.btn.ghost{background:transparent;color:#a90070;border-color:transparent}
.btn.danger{background:#faeeeb;color:#9b3e31;border-color:#ecd5cf}

/* v1.8: subtle fuchsia for Google sign-in. */
#pilot-login{background:#fff3fa;color:#a83d79;border:1px solid #f3dce9;box-shadow:none}
#pilot-login:hover{background:#fceaf5;color:#97346c;filter:none}
#pilot-login:focus-visible{outline:2px solid #dc93bc;outline-offset:4px}
