:root{--ink:#193042;--muted:#657683;--navy:#122c3e;--navy2:#214459;--teal:#117d74;--mint:#e4f4f0;--bg:#f4f6f6;--line:#dbe3e5;--card:#fff;--gold:#dcab56;--bad:#b64848;--badbg:#fff0ee;--shadow:0 7px 25px rgba(19,45,61,.045)}
*{box-sizing:border-box}html{font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--ink);background:var(--bg);line-height:1.52}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #6cbcae;outline-offset:3px}a{color:var(--teal)}.shell{max-width:1100px;margin:0 auto;padding:22px 20px 40px}.brandbar{display:flex;align-items:center;gap:11px;margin-bottom:22px}.brandmark{height:43px;width:43px;border-radius:13px;background:var(--navy);color:#fff;display:grid;place-items:center;font-weight:800;font-size:21px;letter-spacing:-.07em}.brandmark span{color:#89d2c3}.brandtext{display:flex;flex-direction:column;line-height:1.25}.brandtext strong{font-size:16px}.brandtext small{font-size:11px;letter-spacing:.03em;color:var(--muted);margin-top:3px}.privacy-pill{margin-left:auto;display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:#fff;padding:6px 11px;border-radius:100px;color:#426d66;font-weight:650;font-size:11px;white-space:nowrap}.privacy-dot{width:7px;height:7px;border-radius:50%;background:#17a78b}.hero{display:flex;min-height:218px;gap:26px;align-items:center;justify-content:space-between;overflow:hidden;border-radius:24px;padding:30px 35px;background:linear-gradient(112deg,#142f43 0%,#1e485b 74%,#285466 100%);color:#fff;position:relative}.hero:before{content:"";position:absolute;width:290px;height:290px;border-radius:100%;border:1px solid rgba(255,255,255,.08);right:-150px;top:-120px}.eyebrow{font-size:10px;letter-spacing:.18em;font-weight:800;color:#aad4d0}.hero h1{margin:9px 0 12px;font-size:clamp(26px,3.3vw,39px);font-weight:750;line-height:1.13;letter-spacing:-.028em}.hero h1 em{font-style:normal;color:#94d8cb}.hero p{margin:0;max-width:545px;font-size:14px;color:#d7e5e7}.hero-art{flex:0 0 195px;height:155px;display:grid;grid-template-columns:repeat(2,67px);grid-template-rows:repeat(2,67px);gap:11px;justify-content:end;align-content:center;transform:rotate(-9deg)}.hero-art span{display:grid;place-items:center;border:1px solid rgba(197,231,224,.45);color:#b1e1da;background:#ffffff0d;border-radius:17px;font-size:25px;font-weight:750}.hero-art span:nth-child(2){transform:translateY(12px)}.hero-art span:nth-child(3){transform:translateX(-6px)}.tabnav{display:flex;flex-wrap:wrap;gap:7px;margin:20px 0}.tabnav button{border:1px solid var(--line);border-radius:11px;padding:9px 14px;background:white;color:#536a77;font-size:13px;font-weight:680;white-space:nowrap}.tabnav button span{margin-right:5px;font-size:15px}.tabnav button.selected{background:var(--navy);color:white;border-color:var(--navy)}.panel{border-radius:20px;background:var(--card);border:1px solid var(--line);padding:24px;box-shadow:var(--shadow);margin-bottom:15px}.panel h2{font-size:21px;letter-spacing:-.02em;margin:0 0 6px}.panel h3{font-size:16px;letter-spacing:-.01em;margin:0 0 6px}.panel p{margin:5px 0 12px}.panel-head{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:16px}.muted{color:var(--muted)}.small{font-size:13px}.tiny{font-size:11px}.eyebrow2{text-transform:uppercase;letter-spacing:.1em;color:var(--teal);font-size:10px;font-weight:800}.metric-row{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin-bottom:15px}.metric{background:#eef2f2;border-radius:13px;padding:16px 14px}.metric b{font-size:28px;display:block;line-height:1.18;font-variant-numeric:tabular-nums}.metric span{font-size:11px;color:#607481;font-weight:650}.action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.action-tile{border-radius:16px;border:1px solid var(--line);padding:20px;background:#fff;display:flex;flex-direction:column;gap:8px}.tile-symbol{font-size:24px;line-height:1.1;color:var(--teal)}.action-tile h3{margin:0;font-size:17px}.action-tile p{font-size:13px;color:var(--muted);margin:0;flex:1}.btn{border:1px solid var(--line);background:white;border-radius:11px;padding:10px 15px;font-weight:700;font-size:13px;color:var(--ink);min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-align:center}.btn.main{background:var(--teal);border-color:var(--teal);color:white}.btn.dark{background:var(--navy);border-color:var(--navy);color:white}.btn.soft{background:var(--mint);border-color:#c4e6df;color:#115f56}.btn.danger{color:var(--bad);border-color:#efd0ce}.btn:hover:not(:disabled){filter:brightness(.967)}.btn.wide{width:100%}.actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}.controls{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:17px 0}.control{display:grid;gap:5px;flex:1 1 180px}.control label{font-size:12px;font-weight:700;color:#546a74}.control select,.control input,.control textarea,.text-field{width:100%;border:1px solid #cbd8db;border-radius:10px;padding:10px 12px;background:white;color:var(--ink);min-height:42px}.control textarea{min-height:90px;resize:vertical}.tag{display:inline-block;border-radius:100px;padding:4px 9px;background:#eaf2f2;color:#386a6a;font-size:11px;font-weight:750}.tag.orange{background:#fff0d8;color:#8d6928}.tag.gray{background:#ecf0f2;color:#586b74}.status{padding:14px 16px;background:#eef7f4;border:1px solid #cae6dd;border-radius:12px;color:#225e54;font-size:13px;margin:12px 0}.notice{padding:14px 16px;background:#fff7e9;border:1px solid #f2dfb3;border-radius:12px;color:#755b2e;font-size:13px;margin:12px 0}.errorbox{padding:14px 16px;background:var(--badbg);border:1px solid #ebc1bf;border-radius:12px;color:#853d3b;font-size:13px;margin:12px 0}.qtitle{font-size:clamp(17px,2.1vw,22px);line-height:1.4;font-weight:740;margin:17px 0}.options{display:grid;gap:9px}.option{border-radius:12px;padding:13px;text-align:left;background:#f8faf9;border:1px solid #d9e3e2;display:flex;align-items:start;gap:11px;font-size:14px;color:var(--ink)}.letter{background:#e2ebeb;border-radius:7px;display:grid;place-items:center;height:28px;width:28px;flex:0 0 28px;font-size:11px;font-weight:800}.option.correct{background:#e4f6ee;border-color:#2a9a72}.option.wrong{background:#fff0ee;border-color:#d17474}.explain{background:#edf4f5;border-left:4px solid #5b9c9a;border-radius:0 9px 9px 0;padding:14px;margin-top:15px;font-size:13px}.progressbar{height:7px;background:#e9efee;border-radius:10px;overflow:hidden;margin:17px 0}.progressbar div{height:100%;background:var(--teal);border-radius:10px;transition:width .2s}.cardface{padding:30px 24px;min-height:230px;border:1px solid var(--line);border-radius:17px;background:linear-gradient(130deg,#f1f6f5,#fafcfc);display:flex;align-items:center;justify-content:center;text-align:center;flex-direction:column;gap:12px}.cardface p{font-size:18px;line-height:1.6;white-space:pre-line}.cardface .answer{font-size:15px;color:#30515d;text-align:left;align-self:stretch}.rating{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:14px}.rating button{padding:11px 5px;font-size:12px}.topiclist{display:grid;gap:10px;margin-top:15px}.topic{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:12px;padding:13px}.topicid{height:43px;width:48px;flex:0 0 48px;border-radius:9px;display:grid;place-items:center;background:#e9f3f1;font-weight:800;color:#226f67}.topicdesc{min-width:0;flex:1}.topicdesc b{font-size:14px}.topicdesc small{display:block;color:var(--muted);font-size:12px;margin-top:3px}.clock{font-size:clamp(44px,7vw,70px);letter-spacing:-.02em;font-weight:850;color:var(--navy);font-variant-numeric:tabular-nums;margin:14px 0}.empty{padding:20px;background:#f4f8f8;border:1px dashed #c9dada;border-radius:14px;color:#526b75;font-size:14px}.empty h3{color:var(--ink)}.history-item{border-bottom:1px solid var(--line);padding:12px 0;display:flex;justify-content:space-between;gap:10px;align-items:center}.history-item:last-child{border-bottom:0}.iconmini{font-size:22px;margin-bottom:10px}.footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#8b989c;font-size:11px;padding:10px 3px}.divider{height:1px;background:var(--line);margin:17px 0}.inline{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.textbold{font-weight:750}#toast{position:fixed;left:50%;bottom:24px;z-index:50;transform:translateX(-50%);background:var(--navy);color:white;border-radius:12px;padding:13px 18px;box-shadow:0 9px 30px #172e3e3f;font-size:13px;max-width:92vw;display:none}#toast.show{display:block}.file-button{cursor:pointer}button[aria-pressed="true"]{outline:2px solid var(--teal)}
@media(max-width:700px){.shell{padding:14px 12px 30px}.hero{padding:25px 21px;min-height:185px;border-radius:17px}.hero h1{font-size:27px}.hero-art{display:none}.tabnav{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:14px 0}.tabnav button{padding:9px 4px;font-size:11px}.tabnav button span{font-size:13px}.panel{padding:17px;border-radius:16px}.metric-row{gap:7px;grid-template-columns:repeat(2,1fr)}.metric{padding:13px}.metric b{font-size:24px}.action-grid{grid-template-columns:1fr;gap:10px}.action-tile{padding:17px}.rating{grid-template-columns:repeat(2,1fr)}.controls .control{flex:1 1 100%}.brandbar{margin-bottom:15px}.privacy-pill{font-size:10px;padding:5px 8px}.cardface{min-height:210px;padding:20px 17px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
