:root{font-family:system-ui,-apple-system,"Noto Sans JP",sans-serif;color:#172333;background:#f5f7fa;font-synthesis:none}*{box-sizing:border-box}body{margin:0;line-height:1.7}.wrap{max-width:820px;margin:auto;padding-left:22px;padding-right:22px}.sitehead{background:white;border-bottom:1px solid #e3e8ed}.sitehead .wrap{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{text-decoration:none;color:#142a46;font-weight:800;font-size:1.06rem}.headnote,.fine{font-size:.81rem;color:#677687}main{padding-top:44px;padding-bottom:50px}.panel{background:white;border:1px solid #e1e7ef;border-radius:20px;padding:clamp(22px,5vw,42px);box-shadow:0 10px 30px rgba(23,45,72,.035)}.intro{padding-top:56px;padding-bottom:56px}.eyebrow{font-size:.76rem;letter-spacing:.12em;color:#2563a4;font-weight:800}h1{font-size:clamp(1.45rem,4vw,2.05rem);line-height:1.4;margin:14px 0}h2{font-size:1.15rem}.intro p{max-width:650px;color:#526477}.muted{color:#647386}.hidden{display:none!important}button{font:inherit;cursor:pointer;border-radius:11px;border:1px solid #d5e0eb;padding:12px 18px;font-weight:700;transition:background .15s}button:focus-visible{outline:3px solid #70aaff;outline-offset:2px}.primary{background:#185a9d;color:white;border-color:#185a9d}.primary:hover{background:#114979}.secondary{background:white;color:#2b4b6c}.secondary:hover{background:#f1f6fb}button:disabled{opacity:.45;cursor:not-allowed}.progressline{display:flex;justify-content:space-between;color:#61748b;font-size:.85rem;font-weight:700}.track{height:7px;background:#eaf0f6;border-radius:10px;overflow:hidden;margin:12px 0 30px}#progressFill{background:#2874b9;height:100%;width:0;transition:width .2s}.choices{display:grid;gap:10px;margin-top:24px}.choice{width:100%;text-align:left;background:#fff;color:#233951;display:flex;align-items:center;gap:14px;padding:16px;border:1px solid #d9e2ed}.choice:hover{background:#f7fbff;border-color:#7eaccf}.choice[aria-pressed="true"]{background:#edf6ff;border:2px solid #2566a2;padding:15px}.marker{width:21px;height:21px;flex-shrink:0;border:2px solid #9aabba;border-radius:50%;display:grid;place-items:center;font-size:13px}.multi .marker{border-radius:5px}.choice[aria-pressed="true"] .marker{background:#2566a2;border-color:#2566a2;color:white}.actions{display:flex;justify-content:space-between;gap:12px;margin-top:25px}.error{color:#b42318;min-height:1em;font-size:.87rem}.resultgroup{border-top:1px solid #e6ebf0;margin-top:22px;padding-top:16px}.resultgroup h2{font-size:.92rem;color:#255a94}.model{padding:15px 0;border-bottom:1px solid #edf0f4}.modelname{font-size:1.06rem;font-weight:800}.reason{font-size:.9rem;color:#4d6174;margin:5px 0}.modelmeta{font-size:.82rem;color:#6b7885}.expand{margin-top:12px;background:#f0f5fa;color:#235889;border:0;width:100%}.notice{background:#f5f8fb;border-radius:12px;padding:16px;color:#4d6174}.footer{font-size:.78rem;color:#738295;padding-bottom:32px}a{color:#1b619f}@media(max-width:540px){main{padding-top:20px}.panel{border-radius:14px}.headnote{font-size:.73rem}.actions button{flex:1}.intro{padding-top:35px;padding-bottom:35px}}

.material-guide{margin-top:20px}.material-hint{margin:0 0 12px;padding:13px 15px;background:#edf6ff;border-left:3px solid #2874b9;border-radius:8px;color:#294e71;font-size:.9rem}.material-details{border:1px solid #dbe4ed;border-radius:12px;padding:12px 16px;background:#fafcff}.material-details summary{font-weight:750;color:#225987;cursor:pointer}.material-list{display:grid;grid-template-columns:minmax(100px,145px) 1fr;gap:10px 12px;font-size:.88rem;margin:14px 0}.material-list dt{font-weight:750;color:#243d56}.material-list dd{margin:0;color:#526477}@media(max-width:540px){.material-list{grid-template-columns:1fr;gap:2px}.material-list dd{margin-bottom:10px}}

.diagnostic{margin-top:22px;border-top:1px solid #e4eaf0;padding-top:16px;color:#526477;font-size:.86rem}.diagnostic summary{cursor:pointer;color:#255a94;font-weight:700}.diagnostic ul{padding-left:22px}.diagnostic-json{white-space:pre-wrap;overflow-wrap:anywhere;max-height:300px;overflow:auto;background:#f4f6f9;padding:12px;font-size:.75rem}

.material-advice{border:1px solid #cbd5e1;border-radius:14px;padding:16px;margin:18px 0 24px;background:#f8fafc;color:#1e293b}.material-advice h2{font-size:1.1rem;margin:0 0 8px}.material-recommendations{padding-left:22px}.material-recommendations li{margin:12px 0}.material-recommendations li p{margin:4px 0}.material-advice a{font-size:.85rem}

.evidence-details{margin:.65rem 0;padding:.65rem .8rem;border:1px solid #d9e0e5;border-radius:8px;font-size:.92rem}.evidence-details summary{cursor:pointer;font-weight:600}.evidence-details p{margin:.5rem 0}.evidence-details li{margin:.3rem 0;overflow-wrap:anywhere}

.coverage{margin:10px 0 12px}.coverage-label{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:.85rem}.coverage-label span{font-variant-numeric:tabular-nums;color:#40556d}.coverage-track{height:9px;background:#e5ebf1;border-radius:99px;overflow:hidden;margin:6px 0}.coverage-fill{height:100%;background:#367aaf;border-radius:99px}.coverage .fine{margin:4px 0;font-size:.74rem}.coverage-checks{padding-left:22px}

.currency-preference{margin:18px 0;padding:12px;border:1px solid #dbe4ef;border-radius:10px;background:#f8fafc}.currency-preference label{display:block;font-weight:600;margin-bottom:6px}.currency-preference select{max-width:100%;padding:8px;border:1px solid #c9d6e4;border-radius:6px;background:white}.currency-preference .fine{margin:7px 0 0}

.followup-history-line{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0;padding:10px;border:1px solid #64748b55;border-radius:8px;flex-wrap:wrap}.followup-history-line span{flex:1;min-width:180px}.followup-choice{margin-top:16px;padding-top:12px;border-top:1px solid #64748b55}

/* v1.19 — beginner-first visual layer; ranking/data untouched */
:root{--ink:#17324b;--blue:#2369d1;--line:#dce7f2;--soft:#f1f7ff;color:var(--ink);background:#f3f8fd}body{background:radial-gradient(circle at 85% 3%,#e1efff 0,transparent 32%),#f5f9fd}.wrap{max-width:920px}.sitehead{border-bottom:1px solid #e5edf6;box-shadow:0 2px 12px #294f7a08}.sitehead .wrap{min-height:72px}.brand{color:#1b4b83}.brand:before{content:'✦';display:inline-grid;place-items:center;width:34px;height:34px;margin-right:9px;background:#e7f2ff;border-radius:12px;color:#2369d1}.headnote{font-weight:600}.panel{border-color:#e3ebf5;box-shadow:0 16px 48px #2d5d9a0c;border-radius:24px}.intro{position:relative;min-height:390px;overflow:hidden;padding-right:270px;background:linear-gradient(125deg,#fff 35%,#f0f7ff 100%)}.intro h1{font-size:clamp(1.85rem,4vw,2.7rem);letter-spacing:-.035em;color:#173b65;line-height:1.4}.intro p{font-size:1.03rem}.eyebrow{color:#3479c9;letter-spacing:.07em}.primary{background:#246ad2;border-color:#246ad2;box-shadow:0 5px 14px #256bd12b}.primary:hover{background:#1758b4}.secondary{color:#285d94}.hero-art{position:absolute;right:28px;top:78px;width:220px;height:230px;border-radius:50%;background:#dcecff;display:grid;place-items:center}.printer-art{width:152px;height:162px;position:relative;filter:drop-shadow(0 12px 12px #164b7e2b)}.printer-gantry{position:absolute;inset:0 10px 32px;border:12px solid #244b78;border-bottom:0;border-radius:8px 8px 0 0}.printer-gantry:after{content:'';position:absolute;left:0;right:0;top:35px;height:9px;background:#6b95be}.printer-head{position:absolute;top:30px;left:42px;width:35px;height:40px;background:#3b83bf;border:5px solid #244b78;border-radius:5px;z-index:2}.printer-bed{position:absolute;left:0;right:0;bottom:25px;height:12px;background:#244b78;border-radius:3px}.printed-cube{position:absolute;width:46px;height:46px;bottom:11px;left:52px;background:linear-gradient(135deg,#8ac2ff,#4389d4);border:3px solid #2369b2;border-radius:5px;transform:skewY(-6deg)}.printer-base{position:absolute;bottom:0;left:0;right:0;height:25px;border-radius:5px;background:#244b78}.hero-spark{position:absolute;right:25px;top:30px;color:#f5a623;font-size:36px}.quiz-topline{font-weight:750;color:#3a7ab7;font-size:.87rem;margin-bottom:20px}.quiz-icon{background:#e6f1ff;padding:5px 9px;border-radius:8px}.quiz-panel h1{color:#173b65}.track{background:#e5eef9}.track #progressFill{background:linear-gradient(90deg,#46a3ee,#256bd1)}.choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.choice{min-height:91px;border:1.5px solid #d9e6f4;border-radius:17px;padding:18px;background:#fff;box-shadow:0 3px 10px #224c7608;line-height:1.45}.choice:hover{transform:translateY(-1px);background:#f3f9ff;border-color:#71a8e9;box-shadow:0 8px 20px #224c7612}.choice[aria-pressed=true]{background:#edf5ff;border-color:#286bd1;box-shadow:0 0 0 2px #286bd115;padding:17px}.marker{border-color:#a3b8cf}.choice-helper{color:#8493a5;font-size:.78rem;margin:12px 0 0}.resultgroup{background:#fff;border:1px solid #e2eaf5;border-radius:16px;padding:18px;margin:18px 0}.resultgroup h2{margin-top:0;color:#286bc4;font-size:1.04rem}.model{padding:16px 0}.modelname{color:#173c66;font-size:1.12rem}.evidence-details,.material-details{background:#f9fbfe;border-color:#e3eaf4}.material-advice{background:#f6faff;border-color:#dfebf8}.material-advice summary,.currency-preference summary{font-weight:750;cursor:pointer;color:#245e9e}.currency-preference{background:#f8fbff;border-color:#e3edf8}.currency-inner{padding-top:12px}.currency-preference label{margin-top:9px}.currency-preference select{min-height:40px}.followup-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.followup-choice h3,.followup-choice p{grid-column:1/-1}.followup-choice button{margin:0!important;min-height:56px;border-radius:13px}.followup-history-line{border-color:#e1eaf5;background:#fafcff;border-radius:12px}.footer .version{margin-left:8px;color:#8798a9}.fine{line-height:1.6}details>summary{padding:4px 0}@media(max-width:720px){.intro{padding-right:clamp(22px,5vw,42px);padding-bottom:205px}.hero-art{width:165px;height:165px;right:30px;top:auto;bottom:18px}.printer-art{transform:scale(.75)}.intro h1{font-size:1.9rem}.headnote{display:none}}@media(max-width:560px){.wrap{padding-left:14px;padding-right:14px}.choices{grid-template-columns:1fr}.choice{min-height:66px}.panel{padding:22px;border-radius:19px}.intro{padding-bottom:196px}.actions{flex-wrap:wrap}.followup-choice{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.return-followup{display:block;width:100%;margin:12px 0 18px}.followup-choice button:focus-visible{outline:3px solid #2369d1;outline-offset:3px}

/* v1.22 beginner help and result explanations */
.beginner-tip{margin:16px 0 0;border:1px solid #d8e7f7;border-radius:12px;background:#f7fbff;padding:10px 15px}.beginner-tip summary{cursor:pointer;color:#245e9e;font-weight:750}.beginner-tip p{font-size:.9rem;color:#405a73;margin:9px 0}.beginner-result{margin:20px 0;padding:19px 22px;border-radius:16px;background:#eff6ff;border:1px solid #d6e8fc}.beginner-result h2{margin:0 0 8px;color:#1d528c}.beginner-result p{margin:7px 0}

/* v1.23 trial guidance shown only for try_first results */
.try-first-guide{margin:20px 0 26px}.try-first-guide h2{font-size:1.25rem;margin:0 0 12px}.try-option{border:1px solid #dce6f3;border-radius:15px;background:#fff;padding:18px 20px;margin:12px 0;box-shadow:0 3px 14px rgba(20,55,90,.05)}.try-option:first-of-type{background:#f0f7ff;border-color:#accdf1}.try-option h3{margin:0 0 7px;font-size:1.08rem}.try-option p{margin:8px 0}.try-option .try-tag{color:#28619b;font-weight:700;font-size:.88rem}.try-option a{display:inline-block;margin-top:7px;font-weight:700;color:#135ba8;text-decoration:underline;text-underline-offset:3px}.try-option a:focus-visible{outline:3px solid #2278d4;outline-offset:4px}

/* v1.24: simple print examples for try-first results */
.trial-examples{margin:26px 0 4px;padding-top:14px;border-top:1px solid #dce6f3}.trial-example-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:15px 0}.trial-example-card{padding:16px;border:1px solid #dbe6f3;border-radius:14px;background:#f8fbff}.trial-example-icon{display:block;font-size:1.9rem;margin-bottom:8px}.trial-example-card h3{font-size:1rem;margin:0 0 6px}.trial-example-card p{margin:6px 0;font-size:.88rem}.trial-example-card .trial-example-level{font-weight:700;color:#28619b}.trial-example-card .fine{font-size:.78rem}@media(max-width:740px){.trial-example-grid{grid-template-columns:1fr}}

/* v1.29: no-match recovery */
.empty-recovery{margin:18px 0;padding:20px;border:1px solid #d7e6f5;border-radius:16px;background:#f7fbff}
.empty-recovery h2{margin-top:0;font-size:1.18rem}
.empty-recovery h3{font-size:1rem;margin:0 0 8px}
.empty-action{background:white;border:1px solid #dfebf7;border-radius:12px;padding:16px;margin:12px 0}
.empty-action p{margin:6px 0 12px;line-height:1.65}
.empty-action button{max-width:100%;white-space:normal;text-align:center}
