:root{--ink:#173f46;--soft:#677779;--paper:#f8f5eb;--line:#dddcd0;--peach:#f5d9c8;--orange:#8c502e;--blue:#31616b;--green:#366c54;font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit;background:#fffdf6;border:1px solid var(--line);border-radius:9px;padding:11px 14px;touch-action:manipulation;min-height:44px}button:hover{border-color:var(--ink);background:#fff}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #d89165;outline-offset:3px}button:disabled{opacity:.4;cursor:default}.mast{padding:24px max(24px,calc((100vw - 1120px)/2));display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);gap:20px}.brand{text-decoration:none;color:var(--ink);font-size:13px;letter-spacing:.17em;display:flex;align-items:center;gap:12px;font-weight:750}.brand-sub{letter-spacing:.08em;font-size:10px;font-weight:400;color:var(--soft);border-left:1px solid var(--line);padding-left:12px}.mark{font-family:Georgia,serif;font-style:italic;font-size:36px;letter-spacing:-.1em}.quiet{font-family:Georgia,serif;font-style:italic;color:var(--soft);font-size:14px}main{max-width:1120px;padding:0 24px;margin:auto}.hero{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;padding:46px 0 36px;gap:30px}.eyebrow{font-size:10px;letter-spacing:.18em;font-weight:750;margin:0 0 12px;color:var(--soft);display:block}h1,h2,h3{font-family:Georgia,"Times New Roman",serif;font-weight:400;margin:0;letter-spacing:-.025em}h1{font-size:clamp(37px,4.6vw,57px);line-height:1.06}h2{font-size:30px}h3{font-size:25px}.intro{font-size:16px;line-height:1.65;max-width:450px;color:#4f686a;margin:22px 0}.hero-note{display:flex;gap:12px;align-items:center;font-size:12px;line-height:1.7}.hero-note .sprite{width:48px;height:48px}.sprite{display:inline-block;background-image:url("specimens.webp");background-size:200% 200%;background-repeat:no-repeat;flex-shrink:0;aspect-ratio:1;width:60px}.moth{background-position:0 0}.beetle{background-position:100% 0}.card-art{background-position:0 100%}.lens{background-position:100% 100%}.hero-art{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:320px;background:radial-gradient(ellipse,#e8ebdc70 0%,transparent 65%)}.hero-art .sprite{width:min(100%,330px);filter:drop-shadow(0 12px 8px #173f4610)}.art-caption{font-size:9px;letter-spacing:.22em;color:#86908b;margin-top:12px}#studies{display:grid;grid-template-columns:repeat(8,1fr);gap:7px;padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}#studies button{padding:10px 5px;font-size:12px;color:var(--soft);min-width:0}#studies button.current{background:var(--ink);color:#fffdf5;border-color:var(--ink)}#studies button.done:after{content:" ✓";font-size:11px}#studies button.current.done:after{color:#f2d6a4}.study-title{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:30px 0 20px}.study-title .eyebrow{margin-bottom:7px}.progress-pill{border:1px solid var(--line);border-radius:30px;font-size:11px;padding:9px 14px;white-space:nowrap}.guide{background:#edeee3;border-radius:12px;padding:17px 20px;margin-bottom:22px}.guide summary{cursor:pointer;font-weight:650;font-size:13px}.guide summary span{float:right;color:var(--soft);font-weight:400;font-size:11px}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.guide-grid p{font-size:12px;line-height:1.65;margin:18px 0 6px}.guide-grid b{display:block;font-size:11px;color:var(--ink);margin-bottom:4px}.bin-note{font-size:11px;line-height:1.6;border-top:1px solid #d8ddcc;padding-top:12px;color:#57706a;margin-bottom:0}.workspace{display:grid;grid-template-columns:320px 1fr;gap:20px;align-items:start}.panel{border:1px solid var(--line);background:#fffdf7;border-radius:16px;padding:22px;box-shadow:0 5px 15px #35443b04}.panel-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}.panel-heading .eyebrow{font-size:9px;letter-spacing:.14em;margin-bottom:8px}.panel-heading .sprite{width:54px}.small{font-size:12px;line-height:1.65;color:var(--soft);margin:8px 0 16px}.view-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:17px 0}.view-button{padding:9px 4px;font-size:11px;position:relative;background:#f5f5ed}.view-button .band{display:block;font-weight:750;font-size:14px;margin-bottom:3px}.view-button.probing{outline:2px solid var(--blue);outline-offset:1px}.view-button.pinned{background:#e3eedf;border-color:#adc3aa}.view-button.pinned:after{content:"•";position:absolute;right:6px;top:3px;font-size:13px}.view-button.R .band{color:#9a5b45}.view-button.G .band{color:#4f7354}.view-button.B .band{color:#536b99}.probe-card{border-top:1px solid var(--line);padding:18px 0;display:flex;gap:14px;align-items:center}.probe-card .sprite{width:58px}.probe-card .eyebrow{font-size:8px;margin-bottom:5px}.probe-card strong,.probe-card .small{display:block}.probe-card strong{font-family:Georgia,serif;font-size:19px;font-weight:400}.probe-card .small{font-size:10px;margin:6px 0 0}.primary{background:var(--ink);border-color:var(--ink);color:#fffdf5;font-weight:600;font-size:13px;padding:13px 16px}.primary:hover{background:#24535b;color:#fff}#pin{width:100%}.budget{text-align:center;font-size:11px;color:var(--soft);margin:12px 0 17px}.tools{display:grid;grid-template-columns:1fr 1fr;gap:6px}.tools button{font-size:11px;padding:9px 5px}.tools #hint{grid-column:1/-1}.keys{font-size:9px;line-height:1.8;color:#81918e;text-align:center;margin:18px 0 0}.pair-count{font-size:11px;background:#f7e9dc;border-radius:30px;padding:9px 11px;white-space:nowrap;color:var(--orange)}.pair-count.clear{background:#e4eee2;color:var(--green)}.key-strip{min-height:54px;display:flex;gap:6px;align-items:center;flex-wrap:wrap;padding-bottom:12px;border-bottom:1px solid var(--line)}.key-strip p{font-size:11px;line-height:1.7;margin:4px 0;color:var(--soft)}.key-token{font-size:10px;background:#edf1e7;padding:8px;border-radius:7px;min-height:36px}.key-token b{margin-right:5px}.ledger-legend{display:grid;grid-template-columns:1.1fr 1fr 80px;gap:5px;font-size:8px;font-weight:650;letter-spacing:.09em;color:var(--soft);margin:18px 0 7px}.ledger-legend span:last-child{text-align:center}.sample-row{display:grid;grid-template-columns:1.1fr 1fr 80px;gap:5px;align-items:center;border-bottom:1px solid #e9e9dd;padding:9px 0;min-height:72px}.sample{display:flex;gap:8px;align-items:center;min-width:0}.sample .sprite{width:48px}.sample b{font-family:Georgia,serif;font-size:21px;font-weight:400}.sample small{display:block;font-size:8px;color:var(--soft);margin-top:3px}.passport{min-width:0}.digits{display:flex;gap:5px;align-items:center;min-height:27px}.digit{display:inline-flex;border:1px solid #c8d5c5;border-radius:5px;align-items:center;justify-content:center;min-width:25px;height:28px;font-size:14px;background:#f3f5e9;font-family:ui-monospace,monospace}.digit.blank{border-style:dashed;color:#a0aaa1;background:transparent}.share-note{display:block;font-size:9px;color:var(--orange);margin-top:5px;line-height:1.3}.share-note.unique{color:var(--green)}.preview-reading{display:flex;align-items:center;justify-content:center;gap:5px;border:1px dashed #7e9a9b;border-radius:8px;padding:7px 4px;background:#eff5f1;min-height:48px}.preview-reading b{font-family:Georgia,serif;font-size:23px;font-weight:400}.preview-reading small{display:block;font-size:8px;color:var(--soft)}.signal{height:4px;width:32px;background:#d6e2dd;display:block;margin-top:5px;border-radius:4px;overflow:hidden}.signal i{height:100%;display:block;background:#608b83}.feedback{min-height:58px;margin-top:14px;font-size:12px;line-height:1.65;color:#785336;background:#faf1e5;border-radius:8px;padding:12px}.feedback.good{background:#edf3e8;color:var(--green)}.seal{width:100%;display:flex;justify-content:space-between;margin-top:15px;align-items:center}.seal span{font-size:22px;line-height:1}.victory{display:flex;gap:24px;align-items:center;margin-top:24px;padding:28px;background:#e5ebdf;border:1px solid #ccd7c3;border-radius:16px}.victory[hidden]{display:none}.victory>.sprite{width:115px}.victory p:not(.eyebrow){font-size:13px;line-height:1.7;color:#52665c}.victory-actions{display:flex;gap:8px;flex-wrap:wrap}.victory-actions button{font-size:12px}.journal{margin:45px 0 35px;padding-top:30px;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center}.journal h2{font-size:25px}#journal{display:grid;grid-template-columns:repeat(8,1fr);gap:3px}.journal-seal{text-align:center;border:1px solid var(--line);border-radius:8px;padding:5px 0;background:#fffdf5;opacity:.35;font-size:9px}.journal-seal.earned{opacity:1;background:#ecf0df;border-color:#c4d3b9}.journal-seal .sprite{width:35px;display:block;margin:auto}footer{border-top:1px solid var(--line);padding:22px 0 30px;color:#7b8985;font-size:10px;line-height:1.8}footer p{max-width:680px;margin:0 0 8px}footer a{color:var(--ink);margin-right:20px}footer span{white-space:nowrap}.notes{max-width:700px;padding-top:45px;padding-bottom:45px;line-height:1.8}.notes h1{font-size:42px}.notes h2{margin-top:30px;font-size:25px}.notes p,.notes li{font-size:14px}.notes a{color:var(--blue)}@media(max-width:800px){.mast{padding:18px 20px}.quiet{display:none}.hero{gap:15px;padding-top:32px}.hero-art{min-height:250px}.hero-art .sprite{width:240px}.hero-note{font-size:10px}.workspace{grid-template-columns:265px 1fr;gap:12px}.panel{padding:17px}.ledger-legend,.sample-row{grid-template-columns:1fr 1fr 68px}.sample .sprite{width:38px}.digit{min-width:20px;font-size:12px}.sample small{font-size:7px}.pair-count{font-size:10px;padding:7px}.journal{grid-template-columns:1fr}.guide-grid{gap:13px}}@media(max-width:620px){main{padding:0 16px}.mast{padding:15px 16px}.brand{font-size:10px;gap:10px}.brand-sub{font-size:8px;letter-spacing:.03em}.mark{font-size:30px}.hero{grid-template-columns:1fr;position:relative;gap:0;padding:30px 0 25px}.hero h1{font-size:36px;padding-right:42px}.hero .intro{max-width:290px;font-size:13px;padding-right:35px;margin:17px 0}.hero-art{position:absolute;right:-7px;bottom:22px;min-height:0;opacity:.85;pointer-events:none}.hero-art .sprite{width:112px}.art-caption{display:none}.hero-note{padding-right:90px}.hero-note .sprite{width:38px;height:38px}#studies{gap:4px;padding:15px 0}#studies button{font-size:10px;padding:8px 3px;min-height:38px}.study-title{padding:23px 0 17px;gap:9px}.study-title h2{font-size:25px}.study-title .eyebrow{font-size:8px}.progress-pill{font-size:9px;padding:8px}.guide{padding:15px;margin-bottom:15px}.guide summary{font-size:12px}.guide summary span{font-size:9px}.guide-grid{display:block}.guide-grid p{font-size:11px;margin-top:12px}.bin-note{font-size:10px}.workspace{grid-template-columns:1fr;gap:15px}.bench{padding:17px}.panel-heading{margin-bottom:8px}.panel-heading h3{font-size:23px}.bench .small{font-size:11px}.view-grid{grid-template-columns:repeat(6,1fr);gap:5px;margin:13px 0}.view-button{font-size:9px;padding:7px 3px;min-height:49px}.view-button .band{font-size:12px}.probe-card{padding:12px 0}.probe-card .sprite{width:42px}.probe-card strong{font-size:17px}.tools{grid-template-columns:1fr 1fr 1.4fr}.tools #hint{grid-column:auto}.keys{margin-top:12px;font-size:9px}.budget{margin-bottom:11px}.ledger{padding:17px}.ledger-legend,.sample-row{grid-template-columns:1.05fr 1fr 71px}.ledger-legend{font-size:7px;letter-spacing:.03em}.sample .sprite{width:40px}.sample{gap:5px}.sample small{max-width:70px;line-height:1.5;font-size:7px}.digit{min-width:22px;height:26px;font-size:13px}.digits{gap:3px}.preview-reading{padding:6px 3px}.share-note{font-size:8px}.pair-count{font-size:9px}.feedback{font-size:11px;min-height:56px}.victory{padding:19px;gap:10px;align-items:flex-start}.victory>.sprite{width:65px}.victory h2{font-size:25px}.victory .eyebrow{font-size:8px}.victory-actions{flex-direction:column}.victory p:not(.eyebrow){font-size:11px}.journal{margin-top:30px;gap:14px}.journal h2{font-size:23px}#journal .sprite{width:31px}footer{font-size:9px}.notes{padding:28px 16px}.notes h1{font-size:34px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
