:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1d3530;background:#f5f6f2;font-synthesis:none;line-height:1.55;--bg:#f5f6f2;--surface:#fff;--ink:#1d3530;--muted:#6e7a75;--border:#dfe5dd;--green:#176b55;--soft:#e8f0e8;--shadow:0 4px 20px #173c2110;color-scheme:light}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.48}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #d5a744;outline-offset:4px}button{color:inherit}a{color:var(--green)}h1,h2,h3,p{margin:0}h1{font-size:clamp(32px,4.3vw,50px);line-height:1.18;letter-spacing:-1.7px;font-weight:750;margin:12px 0 18px}h1 span{color:var(--green)}h2{font-size:25px;letter-spacing:-.65px;line-height:1.3}h3{font-size:18px;line-height:1.4;letter-spacing:-.2px}p{margin:10px 0}button{border:0}small{font-size:12px}.topbar{max-width:1120px;padding:26px 36px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border)}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--ink);font-size:20px;font-weight:750;letter-spacing:-.6px}.brand small{display:block;font-size:9px;font-weight:650;letter-spacing:2.5px;color:var(--muted);margin-top:0}.logo{width:42px;height:45px;background:var(--green);border-radius:13px;color:#fff;display:grid;place-content:center;font-size:39px;line-height:1;transform:rotate(-4deg)}.top-actions{display:flex;align-items:center;gap:23px}.network{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:7px}.dot{width:6px;height:6px;background:#4a9573;border-radius:50%}.dot.muted{background:#a6a486}.icon-button{background:var(--surface);border:1px solid var(--border);border-radius:50%;width:42px;height:42px;font-size:23px}main{max-width:1048px;margin:0 auto;padding:44px 0 110px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.9px;color:var(--muted)}.lead{color:var(--muted);font-size:16px;margin-bottom:30px}.hero{position:relative;overflow:hidden;background:#176b55;color:#fff;border-radius:22px;padding:35px 40px;display:flex;min-height:310px;justify-content:space-between}.hero>div:first-child{z-index:1}.pill{font-size:11px;color:#e2f1da;display:inline-block;padding:6px 11px;border-radius:6px;background:#ffffff14;border:1px solid #ffffff1c}.hero h2{font-size:33px;line-height:1.25;letter-spacing:-1px;margin:19px 0 12px}.hero p{font-size:13px;color:#d0e5da;margin:10px 0 21px;line-height:1.75}.white-button,.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:24px;min-height:48px;border-radius:10px;padding:12px 20px;font-size:14px;font-weight:650}.white-button{background:#fff;color:#175640}.primary{background:var(--green);color:#fff}.secondary{background:var(--soft);color:var(--ink)}.white-button span{font-size:21px}.resume-label{display:block;margin-top:12px;color:#d5eadf}.database-art{position:relative;width:300px;min-width:230px;align-self:stretch;margin-right:20px}.db-layer{position:absolute;left:45px;width:165px;height:85px;background:linear-gradient(90deg,#9fd0a7,#4d9e84);border:2px solid #bbdfbb;border-radius:50%/28%;box-shadow:0 18px 30px #063c3e40}.db-layer:before{content:"";position:absolute;left:-2px;right:-2px;top:-2px;height:45px;border-radius:50%;background:linear-gradient(140deg,#d0e8b5,#98d1a4);border:2px solid #c5e7be}.db-layer:after{content:"• •";position:absolute;left:22px;bottom:4px;color:#d4edce;font-size:16px}.l1{top:140px;transform:rotate(-9deg)}.l2{top:93px;transform:rotate(-9deg)}.l3{top:46px;transform:rotate(-9deg)}.art-check{position:absolute;left:185px;top:35px;background:#f0f1cb;color:#3b7656;width:53px;height:53px;display:grid;place-content:center;border-radius:16px;transform:rotate(9deg);font-size:29px;box-shadow:0 8px 15px #084f4840}.art-code{position:absolute;left:2px;top:201px;font-size:15px;font-family:monospace;color:#e4f6da;background:#ffffff18;border:1px solid #ffffff30;border-radius:8px;padding:7px 16px;transform:rotate(-12deg)}.spark{position:absolute;color:#9fd3a4;font-size:24px;font-style:normal}.s1{top:10px;left:32px}.s2{top:210px;right:2px}.stats-strip{display:grid;grid-template-columns:repeat(3,1fr);background:var(--surface);border:1px solid var(--border);border-radius:15px;padding:24px 15px;margin:20px 0 43px}.stats-strip>div{padding:0 18px;border-right:1px solid var(--border)}.stats-strip>div:last-child{border:0}.stats-strip strong{font-size:28px;letter-spacing:-1px;display:block;line-height:1.3}.stats-strip small{font-size:17px;color:var(--muted);font-weight:450;letter-spacing:0}.stats-strip span{font-size:12px;color:var(--muted)}.section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:27px 0 20px}.section-title h2{margin-top:7px}.subtle{color:var(--muted);font-size:12px;font-weight:450}.topic-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.topic-card{padding:19px 18px 17px;border:1px solid var(--border);border-radius:14px;background:var(--surface);text-align:left;transition:transform .15s,box-shadow .15s}.topic-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#9ec4af}.topic-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.topic-number{background:var(--soft);color:var(--green);padding:6px 9px;border-radius:7px;font-size:12px;font-family:monospace;font-weight:750}.arrow{color:var(--muted);font-size:20px}.topic-card h3{min-height:51px;font-size:16px;max-width:180px}.topic-card p{font-size:10px;color:var(--muted);margin:14px 0}.topic-card p span{margin:0 3px}.mini-progress{height:3px;border-radius:5px;background:var(--soft);overflow:hidden}.mini-progress i{display:block;background:var(--green);height:100%}.mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.mode-card{text-align:left;padding:23px;background:var(--surface);border:1px solid var(--border);border-radius:14px;display:grid;grid-template-columns:48px 1fr;gap:0 15px}.mode-icon{grid-row:span 3;display:grid;place-content:center;width:44px;height:44px;border-radius:12px;font-size:25px}.coral{background:#faeee2;color:#a66542}.lavender{background:#efecf8;color:#756c9c}.mode-card h3{font-size:17px}.mode-card p{font-size:12px;line-height:1.7;color:var(--muted);margin:7px 0 13px}.mode-card strong{color:var(--green);font-size:12px}.note,.hint,.block-note{font-size:12px;color:var(--muted)}footer{display:flex;justify-content:space-between;gap:20px;padding:28px 0 12px;border-top:1px solid var(--border);margin-top:34px;font-size:11px;color:var(--muted)}.text-button{background:transparent;padding:8px 0;min-height:44px;color:var(--green);font-size:13px;font-weight:600}.bottom-nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;background:var(--surface);border-top:1px solid var(--border);z-index:10;padding:5px 10px max(6px,env(safe-area-inset-bottom))}.bottom-nav button{background:transparent;color:var(--muted);padding:5px 35px;font-size:10px;min-width:100px;display:flex;align-items:center;gap:9px;min-height:48px}.bottom-nav button span{font-size:23px;font-weight:400}.bottom-nav button.active{color:var(--green);font-weight:750}.notice{padding:18px;border:1px solid #ccb46d;background:#fff4d8;color:#664e20;border-radius:12px;margin-bottom:24px;display:flex;align-items:center;gap:15px;flex-wrap:wrap}.notice>button:first-of-type{margin-left:auto}.notice>button{background:transparent;min-width:44px;min-height:44px}.practice-top{display:flex;align-items:center;justify-content:space-between}.timer{font-size:15px;color:var(--green);font-variant-numeric:tabular-nums}.question-card{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:30px;margin-top:23px}.question-card>h2{font-size:23px;line-height:1.5;margin:21px 0}.question-meta{display:flex;gap:12px;align-items:center;justify-content:space-between;color:var(--muted);font-size:11px}.tag{padding:5px 10px;background:var(--soft);color:var(--green);border-radius:6px}.context{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;background:var(--bg);border:1px solid var(--border);border-radius:10px;padding:17px;line-height:1.8;margin:18px 0}.diagram{display:block;background:#e6f2f7;border-radius:12px;overflow:hidden;margin:18px 0;text-align:center;text-decoration:none}.diagram img{max-width:100%;display:block;margin:auto}.diagram span{font-size:11px;padding:7px;display:block;color:#236459}.choices{padding:0;margin:25px 0 0;border:0;min-width:0}.choices legend{font-size:12px;color:var(--muted);margin-bottom:13px}.choice{position:relative;border:1px solid var(--border);border-radius:11px;display:flex;align-items:center;gap:13px;padding:15px;margin-bottom:11px;cursor:pointer;min-height:64px}.choice input{position:absolute;width:1px;height:1px;opacity:0}.choice:has(input:focus-visible){outline:3px solid #d5a744;outline-offset:3px}.choice.selected{border-color:var(--green);background:var(--soft);box-shadow:inset 0 0 0 1px var(--green)}.choice-letter{display:grid;place-content:center;min-width:30px;height:30px;background:var(--bg);border:1px solid var(--border);border-radius:7px;font-size:12px;color:var(--muted)}.selected .choice-letter{background:var(--green);color:#fff;border-color:var(--green)}.next{width:100%;margin-top:22px}.matching{display:flex;flex-direction:column;gap:15px;margin-top:22px}.matching label{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,1fr);align-items:center;gap:20px;border-bottom:1px solid var(--border);padding-bottom:16px}.matching label>span{font-size:14px}select,input{background:var(--bg);border:1px solid var(--border);border-radius:9px;color:var(--ink);width:100%;min-height:50px;padding:10px 13px;font-size:16px}select{max-width:100%;text-overflow:ellipsis}.input-label{display:block;font-size:13px;margin-top:23px}.input-label input{margin-top:9px}.feedback{padding:21px;border-radius:12px;margin-top:25px;font-size:14px;overflow-wrap:anywhere}.feedback h3{margin-bottom:13px}.feedback strong{font-size:12px}.feedback.correct{background:#e9f4e8;color:#255d3d}.feedback.incorrect{background:#fbefdf;color:#815524}.feedback ul{padding-left:20px}.feedback li{margin:7px 0}.solution{white-space:pre-wrap;font-family:ui-monospace,Consolas,monospace}.source{font-size:12px;color:var(--muted);margin-top:18px}.source a{display:block;margin:9px 0;overflow-wrap:anywhere}summary{cursor:pointer;min-height:44px;padding:10px 0}progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:block;width:100%;height:6px;border:0;border-radius:10px;overflow:hidden;background:var(--border)}progress::-webkit-progress-bar{background:var(--border)}progress::-webkit-progress-value{background:var(--green);border-radius:10px}progress::-moz-progress-bar{background:var(--green)}.practice-bottom{display:flex;align-items:center;justify-content:space-between;padding:15px 2px;font-size:12px;color:var(--muted)}.token-bank{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0}.token-bank button{background:var(--bg);border:1px solid var(--border);border-radius:9px;min-height:48px;padding:12px 15px;font-family:ui-monospace,Consolas,monospace;font-size:13px;text-align:left;overflow-wrap:anywhere;max-width:100%}.order-slots{padding-left:24px;min-height:60px}.order-slots li{margin:12px 0;border:1px solid var(--border);padding:10px;border-radius:10px;overflow-wrap:anywhere}.order-slots li>div{display:flex;justify-content:flex-end;gap:5px;margin-top:5px}.order-slots code{font-size:13px}.order-slots button{background:var(--soft);border-radius:6px;min-width:44px;min-height:44px}.panel{padding:26px;background:var(--surface);border:1px solid var(--border);border-radius:15px;margin:20px 0}.panel p{color:var(--muted);font-size:14px;line-height:1.8}.panel h2{margin-bottom:20px}.stat-topic{margin:23px 0}.stat-topic>div{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:14px}.stat-topic span{font-size:12px;color:var(--muted)}.history-row{display:flex;width:100%;justify-content:space-between;align-items:center;text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:12px;margin:10px 0;padding:17px;gap:15px}.history-row small{display:block;color:var(--muted);margin-top:4px}.history-row b{white-space:nowrap;color:var(--green)}.empty{padding:40px;text-align:center;color:var(--muted);background:var(--surface);border-radius:12px}.result-card{text-align:center;padding:40px 20px;background:var(--surface);border:1px solid var(--border);border-radius:22px;margin:20px 0 35px}.result-score{font-size:85px;line-height:1.5;letter-spacing:-5px;font-weight:750;color:var(--green)}.result-score small{font-size:35px}.result-card h1{font-size:30px;letter-spacing:-1px}.result-card p{color:var(--muted)}.result-numbers{display:flex;justify-content:center;margin:30px 0;gap:45px}.result-numbers strong{display:block;font-size:26px;color:var(--ink)}.result-numbers span{font-size:11px;color:var(--muted)}.review-results details{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:13px 19px;margin:10px 0;font-size:14px}.review-results p{overflow-wrap:anywhere}.success{color:#388251}.error{color:#bd5d35}[data-theme=dark]{--bg:#13241f;--surface:#1b3029;--ink:#edf1e9;--muted:#a0b5a9;--border:#324a3e;--green:#95d3ac;--soft:#2c4437;color:var(--ink);background:var(--bg);color-scheme:dark}[data-theme=dark] .primary{background:#9bd9b4;color:#143b29}[data-theme=dark] .hero{background:#215c48}[data-theme=dark] .feedback.correct{background:#234333;color:#c1e5cc}[data-theme=dark] .feedback.incorrect{background:#493925;color:#f3d7af}[data-theme=dark] .notice{background:#493f26;color:#f5e0af}[data-theme=dark] .coral{background:#4a3930;color:#e5b696}[data-theme=dark] .lavender{background:#3a3650;color:#c6bee6}@media(min-width:1400px){main{padding-top:55px}}@media(max-width:1120px){main{margin:0 36px}.topbar{margin:0 18px;padding-left:18px;padding-right:18px}.topic-grid{grid-template-columns:repeat(2,1fr)}.topic-card h3{max-width:none;min-height:0}.topic-card p{font-size:12px}}@media(max-width:640px){.topbar{padding:18px 0;margin:0 22px}.brand{font-size:18px;gap:10px}.brand small{font-size:8px}.logo{width:37px;height:40px;font-size:33px}.top-actions{gap:12px}.network{font-size:0;gap:0}.dot{width:7px;height:7px}.icon-button{width:39px;height:39px}.eyebrow{font-size:9px;letter-spacing:1.5px}main{margin:0;padding:29px 20px 110px}h1{font-size:34px;letter-spacing:-1.2px;margin:12px 0 14px}h2{font-size:22px}.lead{font-size:14px;line-height:1.75;margin-bottom:23px}.hero{padding:26px 23px;border-radius:17px;min-height:0}.hero h2{font-size:26px;margin-top:20px}.hero p{max-width:225px;font-size:12px}.hero p br{display:none}.hero .pill{font-size:10px}.hero>div:first-child{width:100%}.database-art{position:absolute;right:-51px;top:54px;transform:scale(.57);transform-origin:right top;width:235px;height:240px;min-width:0;opacity:.65;pointer-events:none}.hero h2,.hero p{position:relative;z-index:2}.hero .white-button{font-size:12px;padding:11px 15px;gap:14px;margin-top:5px;position:relative;z-index:3}.hero .resume-label{font-size:10px}.stats-strip{padding:20px 6px;margin:16px 0 30px}.stats-strip>div{padding:0 10px}.stats-strip strong{font-size:23px}.stats-strip small{font-size:12px}.stats-strip span{display:block;font-size:10px;line-height:1.55;margin-top:5px}.section-title{margin:24px 0 16px}.section-title h2{font-size:22px;max-width:285px}.topic-grid{gap:11px}.topic-card{padding:15px 13px}.topic-top{margin-bottom:15px}.topic-number{padding:4px 7px;font-size:11px}.topic-card h3{font-size:15px;min-height:43px;line-height:1.4}.topic-card p{font-size:10px;line-height:1.7;margin:11px 0}.topic-card p span{margin:0 2px}.mode-grid{grid-template-columns:1fr;gap:12px}.mode-card{padding:20px}.mode-card p{font-size:12px}footer{display:block;font-size:10px;padding-top:21px;margin-top:25px}footer .text-button{display:block;font-size:11px}.bottom-nav{justify-content:space-around}.bottom-nav button{padding:4px 10px;min-width:0;flex:1;flex-direction:column;gap:0;font-size:9px}.bottom-nav button span{font-size:22px;line-height:1.4}.question-card{padding:21px 17px;border-radius:14px}.question-card>h2{font-size:20px;line-height:1.5}.question-meta{font-size:9px;gap:8px;align-items:flex-start}.tag{font-size:10px;white-space:nowrap}.question-meta>span:last-child{text-align:right}.matching label{grid-template-columns:1fr;gap:8px}.context{font-size:12px;padding:13px}.choice{font-size:14px;padding:13px;gap:11px}.practice-bottom{align-items:flex-start;gap:15px;font-size:11px}.practice-bottom>span{padding-top:13px}.result-numbers{gap:22px}.result-card h1{font-size:26px}.result-numbers strong{font-size:23px}.panel{padding:21px 18px}.stat-topic>div{flex-direction:column;gap:5px}.notice{font-size:13px}.order-slots{padding-left:20px}.section-title>strong{white-space:nowrap}.result-card{padding:28px 16px}.history-row{font-size:13px}.note{font-size:11px}.feedback{padding:16px;font-size:13px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
