:root{color-scheme:light;--ink:#294237;--muted:#7e8e7e;--line:#dfe6da;--green:#32755d;--paper:#fffefa}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:#f3f5f0;color:var(--ink);font:15px/1.85 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei","Noto Sans CJK SC",sans-serif}button,input,select{font:inherit;color:inherit}button{border:0;background:none;cursor:pointer}button:disabled{opacity:.4;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,.secondary:focus-within{outline:3px solid #94b49d;outline-offset:3px}button:hover:not(:disabled){filter:brightness(.97)}.page-header{height:78px;border-bottom:1px solid var(--line);background:#fafbf7;display:flex;justify-content:space-between;align-items:center;padding:0 max(24px,calc((100vw - 1220px)/2))}.page-header strong{font-size:18px;font-weight:650}.page-header span{font-size:12px;color:var(--muted);margin-left:20px}.header-actions{display:flex;align-items:center}.quiet{font-size:13px;color:#6b806d;padding:7px 11px;border-radius:8px;white-space:nowrap}.quiet:hover,.quiet[aria-pressed=true]{background:#e6eee1}.layout{max-width:1270px;margin:auto;display:grid;grid-template-columns:226px minmax(0,1fr);gap:35px;padding:28px 25px 45px}aside{position:sticky;top:24px;max-height:calc(100vh - 135px);display:flex;flex-direction:column;min-height:0}.directory-title{font-size:12px;color:#798e75;display:flex;align-items:center;justify-content:space-between;margin:4px 0 16px}input[type=search]{width:100%;border:1px solid var(--line);border-radius:9px;padding:9px 11px;background:#fafbf7;font-size:13px;min-width:0}.filters{display:grid;grid-template-columns:1fr 1.1fr;gap:7px;margin:11px 0 14px}select{width:100%;min-width:0;background:transparent;border:1px solid var(--line);border-radius:7px;padding:7px 3px;font-size:11px}#list{overflow-y:auto;scrollbar-width:thin;min-height:0;padding-bottom:10px}#list button{width:100%;text-align:left;display:flex;align-items:baseline;gap:8px;border-radius:8px;padding:10px 9px;font-size:12px;line-height:1.65;color:#6b7e67}#list button:hover{background:#e9efe4}#list button[aria-current=true]{background:var(--paper);color:#294b36}#list .num{color:#9eaa97;font:11px monospace;padding-top:4px}#list .name{flex:1}#list .state{width:5px;height:5px;border-radius:50%;background:#c2ccbb;flex:none;align-self:center}#list .known{background:#619173}#list .uncertain{background:#bea36c}#list .forgot{background:#b97d6c}main{min-width:0}.top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:20px}.tabs{display:flex;gap:3px;background:#e7ede3;border-radius:10px;padding:4px}.tabs button{padding:7px 15px;border-radius:7px;font-size:13px}.tabs button[aria-pressed=true]{background:var(--paper);box-shadow:0 2px 6px #294d2d0a;font-weight:600}.progress{display:flex;justify-content:space-between;color:#8b9982;font-size:12px;margin:0 0 10px}.card{background:var(--paper);border:1px solid #e0e6d9;border-radius:20px;padding:23px 30px;box-shadow:0 12px 40px #28482a04}.meta{display:flex;justify-content:space-between;align-items:center}#frequencyLabel{font-size:11px;color:#9b8158;background:#f4efe4;border-radius:5px;padding:2px 8px}#frequencyLabel[data-freq=低频]{color:#87977f;background:#edf2e9}#frequencyLabel[data-freq=高频]{color:#5c816a;background:#e8f0e3}.star{font-size:25px;width:36px;height:36px;color:#95a58b}.star[aria-pressed=true]{color:#b4934c}h1{font-size:27px;line-height:1.5;margin:20px 0 4px;font-weight:600;letter-spacing:.2px}.scope{font-size:12px;color:#85937e;margin:0}.front{min-height:182px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.primary{border:0;background:var(--green);color:#fff;border-radius:9px;padding:11px 24px;font-size:14px}.hint{padding:0;color:#7b916e;font-size:12px;margin:0 0 15px}.hint-text{color:#6e825f;font-size:14px;margin:0 0 18px}.expanded .front{min-height:0;display:block;padding:16px 0 23px}.expanded .primary{background:#ecf2e6;color:#6c825d;font-size:12px;padding:5px 12px}#answer{border-top:1px solid var(--line);padding-top:22px}#answerLayout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);align-items:center;gap:23px}#answerLayout.no-simple{display:block}#text{min-width:0}#text>p:first-child{margin-top:0}.definition{font-size:18px;line-height:1.95;margin:0 0 18px}.traits{font-size:13px;color:#6e7e66;margin:0}.traits span{display:block;color:#8b9981;font-size:11px;margin-bottom:5px}.simple-image{padding:0;background:transparent;border:0;width:100%;max-width:330px;margin:auto;cursor:zoom-in}.simple-image svg{width:100%;height:auto;max-height:220px;display:block}.simple-image:hover{background:#f5f8ef;border-radius:10px}strong{color:#35735a;font-weight:650}ol{margin:0;padding-left:22px}li{margin:0 0 13px;padding-left:4px}li::marker{font-size:12px;color:#8da080}.cell-principles{list-style:none;padding:0;counter-reset:rule}.cell-principles li{counter-increment:rule;display:grid;grid-template-columns:20px minmax(0,1fr) 65px;gap:11px;align-items:center;border-bottom:1px solid #edf0e9;padding:8px 0;margin:0}.cell-principles li:last-child{border:0}.cell-principles li:before{content:counter(rule,decimal-leading-zero);font-size:12px;color:#9aa893}.cell-principles svg{width:65px;height:68px}.formula{background:#f1f5eb;border-radius:10px;padding:18px 9px;font-size:21px;overflow-x:auto;margin:0 0 18px}.inline-formula{white-space:normal;font-family:"Cambria Math",serif}.note{font-size:12px;color:#899177;line-height:1.85}.table-scroll{overflow-x:auto;margin:12px 0;scrollbar-width:thin}table{border-collapse:collapse;width:100%;min-width:450px;font-size:12px}th,td{text-align:left;vertical-align:top;padding:11px 10px;border-bottom:1px solid var(--line);line-height:1.75}th{background:#eef3e6;white-space:nowrap;color:#547044}td:first-child{min-width:83px}details{margin-top:16px;font-size:13px;color:#6b7f65}summary{color:#537e64;cursor:pointer}details p{margin:12px 0}details .table-scroll{margin-top:14px}.image-section{margin-top:16px}.disclosure{padding:0;font-size:13px;color:#537e64;display:flex;align-items:center;gap:6px;line-height:1.85}.disclosure:before{content:'▸';font-size:12px;width:10px}.disclosure[aria-expanded=true]:before{content:'▾'}#imageContent{padding-top:15px}.original-image{display:block;width:100%;max-width:500px;margin:0 auto 15px;padding:0;cursor:zoom-in}.original-image img{width:100%;height:auto;display:block;border-radius:9px}.ratings{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:17px 0 7px}.ratings button{border:1px solid #dce5d3;background:#fafbf6;border-radius:10px;padding:13px 6px;font-size:13px}.ratings button:hover:not(:disabled){background:#e7efe0}.ratings i{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:9px}.red{background:#bb7d6c}.amber{background:#bba066}.green{background:#6d9679}.navigation{display:flex;justify-content:space-between;align-items:center}.navigation span{font-size:11px;color:#90a084}.empty{text-align:center;padding:90px 20px;border:1px dashed #ccd8bf;border-radius:16px;color:#839175}.mobile{display:none}dialog{color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:15px;padding:18px;width:min(1050px,calc(100% - 20px));max-height:92vh;overflow:hidden}dialog::backdrop{background:#21433380}.dialog-header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.dialog-header h2{font-size:17px;margin:0}.dialog-header>div{display:flex;align-items:center}#zoomImage{overflow:auto;max-height:calc(88vh - 85px);touch-action:pan-x pan-y pinch-zoom}#zoomImage img,#zoomImage svg{display:block;width:100%;height:auto}#zoomImage svg{max-height:72vh}#zoomImage.enlarged img,#zoomImage.enlarged svg{width:150%;min-width:900px;max-height:none}#settings{max-width:470px}.record-actions{display:flex;gap:12px;margin:22px 0}.secondary{display:inline-block;border:1px solid var(--line);border-radius:8px;padding:8px 14px;cursor:pointer;font-size:13px}.secondary input{display:none}#storageWarning{font-size:12px;color:#a66e54}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#2b5945;color:white;padding:8px 18px;border-radius:9px;z-index:50;font-size:12px;max-width:90vw;text-align:center;pointer-events:none}
@media(max-width:1050px){.layout{grid-template-columns:190px minmax(0,1fr);gap:22px;padding:24px 20px}#answerLayout{grid-template-columns:minmax(0,1fr)}.simple-image{max-width:320px}.tabs button{padding:7px 11px}.formula{font-size:20px}}
@media(max-width:720px){.page-header{height:72px;padding:0 17px}.page-header strong{font-size:16px;display:block}.page-header span{margin:0;display:block;font-size:10px}.mobile{display:inline-block}.layout{display:block;padding:21px 16px 35px}aside{position:fixed;top:0;left:0;bottom:0;max-height:none;width:285px;padding:24px 19px;background:#f3f5ee;transform:translateX(-102%);transition:transform .18s;z-index:30}aside.open{transform:translateX(0)}#list{flex:1}.directory-title{margin-bottom:15px;font-size:13px}#shade{position:fixed;inset:0;background:#21432d65;z-index:29}.top{margin-bottom:16px;gap:7px}.tabs{gap:0}.tabs button{font-size:12px;padding:7px 10px}#random{font-size:11px;padding:7px 6px}.card{padding:18px 21px;border-radius:16px}h1{font-size:23px;margin-top:17px}.front{min-height:165px}.definition{font-size:17px}.simple-image{max-width:295px}.simple-image svg{max-height:180px}.formula{font-size:19px;padding:16px 5px}li{font-size:14px}.cell-principles li{grid-template-columns:18px minmax(0,1fr) 49px;gap:8px}.cell-principles svg{width:49px;height:60px}.progress{font-size:11px}.ratings{gap:7px}.ratings button{font-size:12px}dialog{padding:12px}.dialog-header h2{font-size:15px;line-height:1.5}#zoomImage{max-height:calc(87vh - 80px)}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

#answerLayout.wide-answer{grid-template-columns:minmax(0,1fr)}
/* Refined reading surface: quiet hierarchy, consistent disclosure chips. */
:root{--ink:#263f37;--muted:#71867c;--green:#2c715a;--paper:#fffefa;--line:#dfe7df}
body{background:radial-gradient(ellipse at 86% 0%,#e6eee5 0,transparent 48%),#f3f5f0;line-height:1.85}
.page-header{background:#fafbf7e8;height:82px}.page-header strong{color:#284c3d;font-size:18px;letter-spacing:.6px}.page-header span{color:#788a80;padding-left:20px;border-left:1px solid #d8e1d7}.page-header .quiet{font-size:20px}
.layout{gap:38px;padding-top:30px}.directory-title{font-weight:650;letter-spacing:1.3px;color:#7a8e80}input[type=search]{background:#fffefa;border-color:#dbe4da;border-radius:12px;padding:11px 13px;box-shadow:0 2px 3px #24463303}.filters{gap:8px;margin:12px 0 20px}select{background:#f8faf5;border-radius:9px;padding:8px 5px;font-size:12px}
#list button{border:1px solid transparent;padding:10px 10px;border-radius:10px;margin-bottom:3px;font-size:12px;color:#738379}#list button[aria-current=true]{background:#e8f0e6;border-color:#d8e5d5;color:#275a43;font-weight:600;box-shadow:inset 3px 0 #65967a}#list button[aria-current=true] .num{color:#4e8063}
.tabs{background:#e7ede4;padding:4px;border:1px solid #dfe7db;border-radius:12px}.tabs button{padding:7px 18px;border-radius:8px;color:#7c8b7c}.tabs button[aria-pressed=true]{color:#315c43;box-shadow:0 2px 5px #28412f0d}.progress{margin-bottom:13px}.top{margin-bottom:23px}
.card{border-radius:22px;border-color:#dce5d8;box-shadow:0 16px 50px -25px #31543a28;padding:24px 32px 28px;overflow:hidden}.card-labels{display:flex;gap:7px;align-items:center}.type-label,#frequencyLabel{font-size:11px;line-height:1.75;border-radius:6px;padding:3px 9px;font-weight:500}.type-label{color:#78877c;background:#f1f3ed;border:1px solid #e5e9e0}#frequencyLabel{color:#9b7946;background:#f7f0e3;border:1px solid #eee2ca}#frequencyLabel[data-freq=高频]{color:#477151;background:#eaf2e5;border-color:#dce8d3}#frequencyLabel[data-freq=低频]{color:#889186;background:#f1f3ed;border-color:#e5e9e0}
h1{font-size:28px;font-weight:650;letter-spacing:.2px;margin-top:23px;max-width:95%;color:#294536}.scope{margin-top:7px}.star{border-radius:10px}.star:hover{background:#f2f5ec}.front{min-height:173px}.primary{padding:11px 25px;border-radius:11px;box-shadow:0 4px 9px #32694d17}.expanded .front{padding:17px 0 23px}.expanded .primary{border:1px solid #dfe9d8;box-shadow:none;border-radius:7px;color:#6a8360;background:#f0f5e9}
#answer{padding-top:25px}#answerLayout{gap:27px;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}#answerLayout.wide-answer{grid-template-columns:minmax(0,1fr)}.definition{font-size:17px;line-height:2;margin-bottom:18px}#text strong,#extras strong{font-weight:720;color:#2a684e}.traits{border-left:2px solid #dae7d2;padding-left:13px;line-height:1.9}.traits span{font-size:11px;letter-spacing:1px}.simple-image{border-radius:15px;padding:7px;background:#f7f9f2;border:1px solid #e9eee3;max-width:330px}.simple-image svg{max-height:224px}.simple-image:hover{background:#f2f6ea;border-radius:15px}
.formula{border:1px solid #e2ead8;background:#f3f7ed;border-radius:13px;padding:21px 12px;font-size:21px}th{background:#f1f5e9;font-weight:600}th:first-child{border-radius:8px 0 0 0}th:last-child{border-radius:0 8px 0 0}td{padding-top:13px;padding-bottom:13px}tbody tr:last-child td{border-bottom:0}.table-scroll{border:1px solid #e7ecdf;border-radius:10px}li{margin-bottom:15px}li::marker{font-weight:600}.cell-principles li{padding:12px 0}
#extras{display:contents}details{margin-top:13px;color:#617869}summary,.disclosure{list-style:none;display:inline-flex;align-items:center;gap:8px;padding:5px 11px;border:1px solid #dfe8d9;border-radius:8px;background:#f5f8ef;font-size:12px;color:#5c7e60;line-height:1.85;user-select:none}summary::-webkit-details-marker{display:none}summary:before,.disclosure:before{content:'';width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);margin-right:3px;transition:transform .15s}details[open]>summary:before,.disclosure[aria-expanded=true]:before{content:'';transform:rotate(45deg);margin-top:-3px}details[open]>summary,.disclosure[aria-expanded=true]{background:#eaf2e2;border-color:#d2e2c7;color:#426c49}details>p,details>ol,details>.table-scroll{margin-top:12px}details>p,details>ol{padding-left:13px;border-left:2px solid #e2eada}summary:hover,.disclosure:hover{background:#edf4e5}.image-section{margin-top:13px}#imageContent{padding:17px 0 2px}.image-note{font-size:12px;color:#7b8a76;margin:0 auto 15px;max-width:520px;line-height:1.9}.original-image{max-width:520px;border:1px solid #e2e8dc;border-radius:12px;overflow:hidden;background:white}.original-image img{border-radius:0}
.ratings{margin-top:18px;gap:11px}.ratings button{border-radius:12px;padding:13px 6px;background:#fbfcf8;border-color:#dce5d7}.ratings button[data-rate=known]:not(:disabled){background:#e9f1e3;border-color:#d4e3ca;color:#436e4b}.ratings button:disabled{opacity:.42}.navigation{margin-top:10px}.quiet{border-radius:9px}
@media(max-width:1050px){.layout{gap:23px}.tabs button{padding:7px 13px}#answerLayout{grid-template-columns:minmax(0,1fr)}.simple-image{max-width:305px;margin:3px auto 4px}}
@media(max-width:720px){.page-header{height:74px}.page-header strong{font-size:16px}.page-header span{padding:0;border:0;letter-spacing:.4px}.page-header .quiet{font-size:13px}.layout{padding:21px 15px 30px}.top{margin-bottom:19px}.tabs button{padding:6px 10px}.card{padding:19px 21px 24px;border-radius:18px}h1{font-size:24px;line-height:1.55;margin-top:21px}.definition{font-size:17px;line-height:1.95}.simple-image{max-width:295px;padding:4px}.simple-image svg{max-height:208px}.front{min-height:160px}.formula{padding:19px 7px;font-size:18px}.card-labels{gap:6px}.type-label,#frequencyLabel{font-size:10px;padding:3px 8px}.ratings{gap:7px}.ratings button{padding:12px 3px}.image-note{font-size:11px}.filters{margin-bottom:16px}}
.review-access{display:flex;align-items:center;gap:11px;margin:0 0 18px}.weak-review{display:inline-flex;align-items:center;gap:11px;padding:8px 13px;border:1px solid #dae5d3;border-radius:9px;background:#fafcf6;color:#597552;font-size:13px}.weak-review span{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:6px;background:#e9efdf;font-size:11px;font-variant-numeric:tabular-nums}.weak-review[aria-pressed=true]{background:#e5eedc;border-color:#bdd0ae;color:#365d35}.empty-detail{font-size:13px;margin:0 0 22px;color:#74856a}.empty .primary{margin:5px}#card[data-kind=ch1-structures] .simple-image{max-width:650px}#card[data-kind=ch1-structures] .simple-image svg{max-height:320px}@media(max-width:720px){.review-access{margin-bottom:16px}.weak-review{font-size:12px;padding:7px 11px}#card[data-kind=ch1-structures] .simple-image svg{max-height:240px}}
