*{box-sizing:border-box} :root{--bg:#f5f5ee;--ink:#20392f;--muted:#68776d;--line:#dce1d6;--green:#315c47;--lime:#e5edb1;--orange:#a45c2d}body{margin:0;background:var(--bg);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.6}button,input,select,textarea{font:inherit}button,select{cursor:pointer}button{border:0;transition:background .16s,transform .16s;color:inherit}button:hover{filter:brightness(.96)}button:active{transform:translateY(1px)}button:disabled{opacity:.38;cursor:default;transform:none}button:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #91ab58;outline-offset:4px}.shell{max-width:1060px;padding:0 44px;margin:auto}header{height:104px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none;font-weight:700;font-size:16px;line-height:1.3}.brand small{display:block;font-size:9px;letter-spacing:2px;margin-top:5px;color:var(--muted);font-weight:400}.brand-icon{background:var(--green);color:var(--lime);width:43px;height:43px;border-radius:14px;display:grid;place-content:center;position:relative;font-size:27px;font-weight:400}.brand-icon span{font-size:12px;position:absolute;right:6px;bottom:4px}.subtle{background:transparent;border:1px solid var(--line);border-radius:12px;padding:11px 18px}.subtle span{margin-left:14px}.intro{display:flex;justify-content:space-between;align-items:center;padding:44px 0 32px}.eyebrow{letter-spacing:2px;font-size:10px;font-weight:bold;color:var(--muted)}h1{font-family:Georgia,'Times New Roman',serif;font-size:82px;letter-spacing:-4px;line-height:1.08;font-weight:400;margin:12px 0 16px}.dot{color:#8aa657}.intro p{font-size:17px;color:var(--muted);line-height:1.65;margin:0}.intro-note{display:flex;align-items:center;gap:20px;font-size:13px;color:var(--muted);margin-right:20px}.orbit{font-family:Georgia,serif;font-size:88px;line-height:1;width:110px;height:110px;display:grid;place-items:center;border:1px solid #cad4b8;border-radius:50%;color:#c0cc9c;transform:rotate(-20deg);position:relative}.orbit:after{content:'';position:absolute;top:11px;right:8px;width:13px;height:13px;border-radius:50%;background:#92a869;border:4px solid var(--bg)}.dashboard{padding:0 0 28px}.progress-caption{display:flex;justify-content:space-between;font-size:13px;color:var(--muted)}.progress-caption strong{color:var(--ink)}.progress-track{height:5px;background:#e1e5d8;border-radius:5px;margin:11px 0 12px;overflow:hidden}.progress-track>div{height:100%;background:var(--green);transition:width .3s}.stats{display:flex;gap:24px;font-size:12px;color:var(--muted)}.stats i{display:inline-block;width:6px;height:6px;border-radius:50%;margin:0 3px 2px 0}.green{background:var(--green)}.orange{background:#c38752}.save-note{margin-left:auto}.controls{padding:24px 0;display:flex;gap:24px;justify-content:space-between;align-items:flex-end;border-top:1px solid var(--line)}.tabs{display:flex;background:#e9eddf;padding:4px;border-radius:13px;gap:2px}.tabs button{background:none;padding:10px 13px;border-radius:10px;font-size:13px;white-space:nowrap}.tabs button.active{background:#fff;box-shadow:0 2px 6px #233e2910}.tabs span{font-size:10px;margin-left:3px;opacity:.7}.filters{display:flex;gap:16px}.filters label>span{display:block;font-size:10px;color:var(--muted);margin-bottom:4px}.filters select{background:transparent;border:0;border-bottom:1px solid #c5cebc;color:var(--ink);max-width:172px;padding:3px 22px 7px 0;font-size:13px;border-radius:0}.task-card{background:#fff;border:1px solid #e1e5da;border-radius:24px;box-shadow:0 10px 40px #243b2510;overflow:hidden;animation:appear .2s ease-out}.card-inner{padding:30px 34px}.card-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px;color:var(--muted)}.tags{display:flex;gap:7px;flex-wrap:wrap}.tag{border:1px solid #e1e6d9;border-radius:30px;padding:3px 9px}.tag.level{background:#f0f3e8;border-color:#f0f3e8}.task-card h2{font-size:24px;line-height:1.3;font-weight:500;letter-spacing:-.5px;margin:23px 0 7px}.instruction{font-size:13px;color:var(--muted);margin:0 0 22px}.equation{display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap;min-height:112px;background:#f7f8f2;border-radius:15px;padding:20px 14px}.species{display:inline-flex;align-items:center;gap:7px;max-width:100%}.species img{display:block;height:48px;width:auto;max-width:100%}.plus{font-family:Georgia,serif;font-size:25px;color:#71846a;flex-shrink:0}.arrow{display:flex;flex-direction:column;align-items:center;min-width:55px;font-size:32px;line-height:1.1}.unknown{font-family:Georgia,serif;font-size:40px;color:#92a871;padding:0 10px}.condition{font-size:11px;text-align:center;color:var(--muted);margin:10px 0 0}.condition strong{font-weight:400;color:var(--ink)}.draft{margin-top:23px}.draft summary{cursor:pointer;color:var(--muted);font-size:12px;min-height:30px}.draft textarea{display:block;width:100%;resize:vertical;min-height:90px;max-height:300px;background:#fbfcf7;border:1px solid var(--line);border-radius:10px;padding:12px;margin-top:8px;font-size:15px;color:var(--ink)}.actions{display:flex;gap:10px;margin-top:20px}.primary{background:var(--green);color:#fff;border-radius:11px;padding:12px 22px;font-weight:500}.hint-btn{background:#eef2df;border:1px solid #e2e8ce;border-radius:11px;padding:12px 20px}.actions .primary{flex:1}.actions .hint-btn{flex:1}.hint-box,.answer-box{margin-top:20px;border-radius:14px;padding:19px 21px;animation:appear .2s ease-out}.hint-box{background:#faf5e6;border:1px solid #eee4c6;color:#645732;font-size:14px}.box-label{font-size:10px;letter-spacing:1.7px;font-weight:bold;margin-bottom:9px}.hint-box p,.answer-box p{margin:0}.answer-box{border:1px solid #dae5cb;background:#f3f7ed}.answer-box .equation{padding:8px 0;background:transparent;min-height:70px;gap:6px}.answer-box .species{gap:4px}.answer-box .species img{height:43px}.answer-box p{font-size:14px;line-height:1.7;margin-top:14px}.self-label{font-size:11px;color:var(--muted);margin:19px 0 8px}.self-actions{display:flex;gap:10px}.self-actions button{flex:1;background:white;border:1px solid #d6dfc9;border-radius:10px;padding:11px 8px;font-size:13px}.self-actions .selected-good{background:#315c47;color:white;border-color:#315c47}.self-actions .selected-retry{background:#f1dfc7;color:#774a24;border-color:#d8b78b}.card-bottom{background:#fcfcf8;border-top:1px solid #e8ebdf;display:flex;align-items:center;justify-content:space-between;padding:16px 34px}.nav-button{background:none;padding:9px 0;font-size:13px}.nav-button:last-child{color:var(--green);font-weight:bold}.position{font-size:11px;color:var(--muted)}.help{display:flex;align-items:flex-start;gap:14px;padding:24px 20px;color:var(--muted);font-size:12px}.help p{margin:0;max-width:740px}.help strong{font-weight:500;color:var(--ink)}.help-symbol{font-size:28px;line-height:1.2;color:#8b9d74}footer{padding:20px 0 30px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;font-size:11px;color:var(--muted)}footer button{background:transparent;font-size:11px;padding:0;margin-left:20px;text-decoration:underline;text-underline-offset:3px}dialog{border:1px solid var(--line);border-radius:22px;padding:30px;max-width:630px;width:calc(100% - 30px);max-height:85vh;color:var(--ink);box-shadow:0 30px 100px #112b2630}dialog::backdrop{background:#132d254d;backdrop-filter:blur(4px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.dialog-head h2,dialog h2{margin:4px 0;font-size:26px;font-family:Georgia,serif;font-weight:400}.close{background:#f0f2e8;width:36px;height:36px;border-radius:50%;font-size:24px;line-height:1}.dialog-copy,dialog p,dialog li{font-size:14px;color:var(--muted)}dialog a{color:var(--green)}#mapGrid h3{font-size:13px;font-weight:500;margin:20px 0 10px}.number-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:7px}.number-grid button{position:relative;padding:9px 0;border-radius:9px;background:#f0f2e8;border:1px solid transparent;font-size:13px}.number-grid button.good{background:#dce8d5}.number-grid button.retry{background:#f1dfc7}.number-grid button.current{border-color:var(--green);font-weight:bold}.number-grid small{position:absolute;right:3px;top:0;font-size:9px}.map-legend{display:flex;gap:18px;font-size:11px;margin-top:20px;color:var(--muted)}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:25px}.empty{text-align:center;padding:50px 25px;background:#fff;border:1px solid var(--line);border-radius:24px}.empty h2{font-family:Georgia,serif;font-size:29px;font-weight:400}.empty p{color:var(--muted);font-size:14px}.empty .primary{margin-top:15px}#toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:var(--ink);color:white;border-radius:12px;padding:10px 20px;font-size:13px;opacity:0;pointer-events:none;transition:opacity .2s;z-index:5;max-width:90vw;text-align:center}#toast.visible{opacity:1}@keyframes appear{from{opacity:.3;transform:translateY(4px)}to{opacity:1;transform:none}}@media(max-width:760px){.shell{padding:0 22px}header{height:83px}.intro{padding:30px 0 25px}h1{font-size:67px}.intro-note{margin:0}.intro-note .orbit{width:80px;height:80px;font-size:65px}.intro-note>span:last-child{display:none}.controls{flex-direction:column;align-items:stretch;gap:16px;padding:20px 0}.tabs{width:100%}.tabs button{flex:1}.filters{gap:22px}.filters label{flex:1}.filters select{width:100%;max-width:none}.save-note{display:none}.card-inner{padding:25px 22px}.card-bottom{padding:14px 22px}.task-card h2{font-size:23px}.equation{gap:6px;padding:15px 9px}.species img{height:44px}.answer-box{padding:17px 13px}.answer-box .species img{height:39px}.stats{justify-content:space-between}.help{padding:22px 4px}footer{flex-direction:column;align-items:center;gap:12px}footer button{margin:0 10px}}@media(max-width:380px){.shell{padding:0 14px}.card-inner{padding:23px 16px}.card-meta{align-items:flex-start;flex-direction:column;gap:8px}.tabs button{padding:10px 8px}.intro p{font-size:15px}.species img{height:40px}.answer-box .species img{height:36px}.self-actions{flex-direction:column}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* Formula revision: fixed aspect ratio, no flex shrinking, readable indices. */
.species{flex:0 0 auto}.species img{height:58px;object-fit:contain;flex:0 0 auto}.answer-box .species img{height:54px}.equation{column-gap:10px;row-gap:8px}.answer-box .equation{column-gap:8px;row-gap:8px}.plus{color:#405747}.arrow{color:#20392f;flex-shrink:0}.unknown{color:#536e36}footer{margin-top:28px}@media(max-width:760px){.species img{height:52px}.answer-box .species img{height:50px}}@media(max-width:380px){.species img{height:48px}.answer-box .species img{height:46px}}

.filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-width:0}.filters label{min-width:0}.filters select{width:100%;min-width:0;max-width:170px}.controls{gap:18px}@media(max-width:760px){.filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}.filters label:last-child{grid-column:1/-1}.filters select{max-width:none}}

[hidden]{display:none!important}.brand{background:transparent;text-align:left;padding:0}.back-home{background:transparent;padding:20px 0 0;font-size:13px;color:var(--muted)}h1{font-size:clamp(40px,5.8vw,65px);letter-spacing:-2px;line-height:1.12;max-width:850px}.intro{padding:32px 0 28px}.section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.section-card{display:flex;flex-direction:column;text-align:left;background:white;border:1px solid var(--line);border-radius:20px;padding:26px;min-height:246px;transition:border-color .2s,box-shadow .2s,transform .2s}.section-card:hover{border-color:#9aaa7c;box-shadow:0 6px 24px #294a2f0a;transform:translateY(-2px);filter:none}.section-top,.section-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted)}.section-number{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#eef2df;color:var(--green);font-size:13px}.section-card h2{font-size:24px;line-height:1.25;font-weight:500;letter-spacing:-.6px;margin:18px 0 9px}.section-card p{font-size:13px;color:var(--muted);margin:0 0 24px;line-height:1.6}.section-progress{display:block;height:3px;background:#edf0e6;border-radius:3px;overflow:hidden;margin-top:auto;margin-bottom:12px}.section-progress i{display:block;background:var(--green);height:100%}.section-bottom strong{font-weight:500;color:var(--green);white-space:nowrap}.catalog-note{font-size:12px;color:var(--muted);margin:20px 4px 0;max-width:720px}.question-end{display:inline-flex;align-items:center;gap:10px;flex-shrink:0}.no-reaction{font-size:19px}.task-number{white-space:nowrap;font-size:11px}.task-sources{margin-top:18px;font-size:12px;color:var(--muted)}.task-sources summary{cursor:pointer}.task-sources ul{padding-left:18px}.task-sources a,.related button{color:var(--green)}.task-sources p{font-size:11px}.source-scope{display:block;color:var(--muted);font-size:11px;margin:4px 0 15px}.related{font-size:11px;color:var(--muted);margin-top:16px}.related button{padding:0;background:none;text-decoration:underline;font-size:11px}.related small{display:block;margin-top:4px}.species{min-width:0;max-width:100%;flex-shrink:1}.species img{width:auto;max-width:100%;min-width:0;flex-shrink:1;object-fit:contain}.card-meta{align-items:flex-start}.controls{flex-wrap:wrap}.filters{flex:1;min-width:330px}.tabs{flex-shrink:0}.section-bottom>span{line-height:1.4}#sourceList{padding-left:20px}#sourceList a{overflow-wrap:anywhere}@media(max-width:760px){.section-grid{grid-template-columns:1fr}.section-card{min-height:220px;padding:22px}.section-card h2{font-size:23px}.filters{min-width:0;flex:auto;width:100%}.intro p{font-size:15px}header .subtle{padding:10px;font-size:12px}.shell{padding:0 18px}.section-card p{margin-bottom:20px}.task-number{padding-top:4px}}@media(max-width:380px){.shell{padding:0 13px}.section-bottom{font-size:10px}.card-meta{flex-direction:column}.brand{font-size:13px}}
