@font-face{font-family:WenKai;src:url('/exhibit-wenkai.ttf') format('truetype');font-weight:700;font-display:swap}
.suite .suite-header{max-width:none;width:100%;padding:0;margin:0;background:#143e36;border-bottom:2px solid #b49356}
.suite .suite-header .suite-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;min-height:68px}
.suite .suite-header nav{display:flex;gap:4px;flex-wrap:wrap}
.suite .suite-header nav a{white-space:nowrap}
.suite .suite-header .seal{background:#ad4938;color:white;border-radius:6px}
.review .review-title{max-width:1440px;margin:auto;padding:32px 4vw 16px;border-bottom:1px solid #c5cfc6}
.review .review-title h1{margin:0;font-size:2.5rem;color:#143e36}
.review .review-title p,.review .meta{color:#505951}
.review #detail h4{border-bottom:1px solid #bcc9bd;padding-bottom:8px;font-family:var(--serif);font-size:1.3rem;color:#244e41}
.review .tools a{align-self:center;color:#23594c}
.review #queue button[aria-current=true],.review #status{background:#214e41;color:white}
.review .current,.review .card img,.review .reference{background:#f0efe6}
.review .card{border-radius:6px;overflow-wrap:anywhere}
@media(max-width:760px){.suite .suite-header .suite-bar{padding:9px 16px;gap:6px}.suite .suite-header .suite-bar nav{width:100%;display:flex;flex-wrap:nowrap;overflow-x:auto;min-width:0}.suite .suite-header nav a{flex:none;padding-inline:8px}}
@font-face{font-family:NotoSC;src:url('/exhibit-noto.ttf') format('truetype');font-weight:100 900;font-display:swap}
body.suite{--serif:WenKai,"Kaiti SC",KaiTi,serif;--sans:NotoSC,"PingFang SC",sans-serif;font-family:var(--sans);margin:0}
.suite-header{background:#10152c;color:#fcf6e9;border-bottom:1px solid #ffffff26}.suite-bar{max-width:1440px;margin:auto;padding:13px clamp(16px,4vw,58px);display:flex;align-items:center;justify-content:space-between;gap:18px}.suite-header a{color:inherit;text-decoration:none}.suite-brand{display:inline-flex;gap:10px;align-items:center;font:700 1.75rem/1 var(--serif);white-space:nowrap}.suite-brand small{display:block;margin-top:4px;font:600 .62rem/1 var(--sans);letter-spacing:.16em;color:#ffc56f}.suite-brand .seal{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#e5725f;color:#161628}.suite-header nav{display:flex;gap:clamp(4px,1.8vw,26px);align-items:center;flex-wrap:wrap}.suite-header nav a,.suite-header .switch{font:600 .86rem/1.25 var(--sans);padding:10px 7px;min-height:44px;display:inline-flex;align-items:center}.suite-header [aria-current=page]{color:#ffc56f;box-shadow:inset 0 -2px #ffc56f}.suite-header .switch{color:#8ae4cc;white-space:nowrap}.suite-header a:focus-visible{outline:2px solid #ffc56f;outline-offset:2px}
.suite-private{background:#e7e6f7;color:#262044;text-align:center;padding:6px;font:500 .8rem/1.5 var(--sans)}body.suite:not(.suite-public){--ink:#191c32;--green:#255f58;--paper:#fbf6ec;--soft:#f2eee6;--line:#d9d2c9;--red:#8c413a;--accent:#9ce1c9;--chapter:#123b3d;background:var(--paper)}body.suite.amber{--accent:#ffc581;--chapter:#432d3f}body.suite.purple{--accent:#cbb4ff;--chapter:#322752}body.suite.coral{--accent:#ffb9a8;--chapter:#512b3f}.suite:not(.suite-public) h1,.suite:not(.suite-public) h2,.suite:not(.suite-public) h3{font-family:var(--serif);font-weight:700}.suite .pageintro{background:var(--chapter);color:#fff8ea;border:0;border-radius:22px;padding:clamp(22px,4vw,48px);margin:0 0 20px}.suite .pageintro h1{font-size:clamp(2rem,4vw,3.5rem);line-height:1.18}.suite .pageintro .eyebrow{color:var(--accent)}.suite .pageintro p{color:inherit}.suite .panel,.suite .filters,.suite .result-card,.suite dialog{border-radius:14px}.suite:not(.suite-public) button.primary,.suite:not(.suite-public) .tabs .active{background:#255f58;color:white}.suite:not(.suite-public) dialog .dialoghead{background:#202641;color:#fff8ea}.suite:not(.suite-public) dialog .dialoghead button{color:#fff8ea}.suite .similarrow{border-left:3px solid #9778d4;padding:12px;margin:10px 0;background:#f7f0fe}.suite .dosecompare{overflow:auto;margin:.5rem 0}.suite .dosecompare table{min-width:320px;width:100%}.suite .dosecompare caption{text-align:left;font-weight:700}
.suite-public-page section{min-height:65vh}.suite-public .card:nth-child(3){background:#ffc0b2}.suite-public .scene{border-radius:36px 130px 36px 36px}.suite-public .scene img{aspect-ratio:706/472}
@media(max-width:760px){.suite-bar{flex-wrap:wrap;gap:6px}.suite-header nav{order:3;width:100%;justify-content:flex-start;gap:4px 10px}.suite-header nav a{padding-inline:3px;font-size:.8rem}.suite .pageintro{border-radius:14px}.suite:not(.suite-public) #main{min-width:0}.suite .tablewrap,.suite .tablepanel{max-width:100%;overflow-x:auto}}
.suite .applied{display:flex;gap:6px;flex-wrap:wrap}.suite .applied:not(:empty){padding:8px 0}.suite .applied button{border-radius:999px;color:#205850;background:#e5f6ec;border-color:#a7d6c1}.suite.jade #cards .card{border-radius:15px;border-left:4px solid #6cb9a2}.suite .homehero h1{font-size:clamp(2.8rem,7vw,6rem)}.suite .homehero figure img{border-radius:22px}

/* 方阅数据中心：排行榜与按月趋势分开显示。 */
body.suite.data-center{--paper:#111829;--ink:#f5f2e7;--green:#9debd2;--line:#34445b;--soft:#26364c;--muted:#b9c9dc;--chapter:#153138;--accent:#ffcc78;color-scheme:dark}
.data-center .suite-header{height:auto;padding:0;display:block}.data-center .suite-private{background:#1e2940;color:#c4d4e5}.data-center .dataintro{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:clamp(18px,3vw,36px);background:linear-gradient(112deg,#193e3c,#152639 70%);border:1px solid #476a68}.data-center .dataintro h1{margin:4px 0}.data-center .dataintro p{margin:5px 0}.data-metrics{display:flex;flex-wrap:wrap;gap:10px;margin:0}.data-metrics div{padding:10px 14px;border:1px solid #56736e;border-radius:10px;background:#111f34}.data-metrics dt{color:#c4d4e5}.data-metrics dd{margin:1px 0 0;color:#ffd38b;font-size:clamp(1rem,2vw,1.55rem);font-weight:700;font-variant-numeric:tabular-nums}
.data-center .controls,.data-center .panel{background:#182438;color:#f5f2e7;border-color:#34445b}.data-center .controls input,.data-center .controls select{background:#111b2d;color:#f5f2e7}.data-center .dimensions button,.data-center .pagination button{background:#1e2d43;color:#e2ecf4}.data-center .dimensions .active{background:#a4edce;color:#122725;border-color:#a4edce}.data-center .insights{display:grid;grid-template-columns:minmax(0,1fr)}.data-overview{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);gap:14px}.data-panel{min-width:0;padding:16px}.data-kicker{color:#8ee1c7;font-size:.72rem;letter-spacing:.15em;margin:0}.data-note,.full-ranking p,.trendrange,.data-center #definition,.data-center #summary,.data-center .sitefooter{color:#b9c9dc}.podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 0}.data-center .podium-card{display:flex;flex-direction:column;gap:7px;text-align:left;min-width:0;padding:10px;background:#222c3d;border:1px solid currentColor;border-radius:12px;color:#ffce79}.data-center .place-2{color:#d5e6f7}.data-center .place-3{color:#ffab92}.podium-card strong{font:700 1.15rem/1.4 var(--serif);overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.podium-card b,.data-center .share{font-variant-numeric:tabular-nums}.podium-card b{font-size:clamp(1rem,2.1vw,1.7rem);overflow-wrap:anywhere}.podium-card small{color:#d2dcec}.trend svg{display:block;width:100%;max-height:155px}.trend polyline{fill:none;stroke:#8ee1c7;stroke-width:2.5}.trend circle{fill:#ffce79}.trend .gridline{fill:none;stroke:#34445b}.trendrange{display:flex;justify-content:space-between;margin:0}.trend details{margin-top:8px}.full-ranking{padding:14px 16px}.full-ranking p{margin:.25em 0}.data-center table th{background:#22324a;color:#e6edf5}.data-center table td{border-color:#34445b}.data-center .namebutton,.data-center .recordlink{color:#a4edce}.data-center .namebutton:hover,.data-center tbody tr:hover{background:#243a4c}.data-center dialog{background:#182438;color:#f5f2e7}.data-center .sitefooter{background:transparent}
@media(max-width:800px){.data-center .dataintro{display:block}.data-metrics{margin-top:12px}.data-overview{grid-template-columns:minmax(0,1fr)}.data-center .sectionheading{align-items:start}.data-center .dataintro h1{font-size:clamp(1.7rem,7vw,2.5rem)}}@media(max-width:440px){.data-metrics{gap:5px}.data-metrics div{padding:7px}.data-panel{padding:11px}.data-center .podium-card{padding:6px}.podium-card small{font-size:.65rem}}

/* Typography roles shared by the exhibition and the research area. */
.suite h1,.suite h2,.suite h3,.suite dialog h2,.suite .wordmark{font-family:var(--serif);font-weight:700;text-wrap:balance}
.suite .suite-brand,.suite .pageintro h1,.suite .homehero h1{line-height:1.13}
.suite p,.suite figcaption{text-wrap:pretty}
.suite button,.suite input,.suite select,.suite textarea{font-family:var(--sans)}
.suite table,.suite .data-metrics,.suite .frequency,.suite .stats,.suite .homestats,.suite .ranknum,.suite .podium-card b{font-variant-numeric:tabular-nums}
.suite .sectionheading h2,.suite .data-panel h3,.suite .full-ranking h3{font-size:clamp(1.35rem,2.2vw,1.8rem);line-height:1.25}
.suite .data-kicker,.suite .eyebrow,.suite .label{font-family:var(--sans)}
.suite-public .suite-bar{width:min(1400px,calc(100% - 96px));padding-inline:0}
@media(max-width:720px){.suite-public .suite-bar{width:calc(100% - 32px)}.suite-public:not(:has(.suite-public-page)) #gallery .specimens>.card:last-child:nth-child(odd){grid-column:1/-1}}
.herb-photo{margin:0;max-width:100%}.herb-photo img{display:block;aspect-ratio:4/3;object-fit:contain;background:#eee9de;border-radius:7px;width:100%}.herb-photo figcaption{font:inherit;font-size:.75rem;line-height:1.45;letter-spacing:normal;margin-top:.25rem}.herb-photo a{text-decoration:underline}.specimens .herb-photo{width:100%}.specimens .herb-photo figcaption{font-size:.7rem}.detailsection .herb-photo{margin-top:.45rem;width:160px;max-width:100%}#specimen-body .herb-photo{max-width:440px}

.image-pending{display:block;min-height:118px;padding:46px 12px 12px;color:#716b5f;background:#eee9de;border:1px dashed #b9b0a0;border-radius:7px;text-align:center;font-size:.75rem}.data-center .image-pending{background:#182438;color:#b9c9dc;border-color:#56736e}
.portal-query{max-width:32rem;margin:1.2rem 0}
.portal-query label{display:block;margin-bottom:8px;font-weight:600}
.portal-query div{display:flex;border:1px solid #48685c;background:#fff;border-radius:6px;overflow:hidden}
.portal-query input{min-width:0;width:100%;padding:12px;border:0;color:#133d34;font:inherit;background:white}
.portal-query button{flex:none;border:0;padding:0 16px;background:#194f40;color:white;font:inherit;cursor:pointer}
.suite header.suite-header{display:block;box-sizing:border-box}
.suite .suite-header .suite-bar{width:100%;min-width:0;box-sizing:border-box}


/* 2026-11-23 visual refresh: warm archive paper, pine ink, restrained botanical photography. */
body.suite {
  --ink:#183b2b; --green:#1b3b2b; --paper:#fcf9f2; --soft:#f2efe7;
  --line:#ded8c9; --muted:#68756c; --red:#b53528; --accent:#a99262; --chapter:#ece7da;
  background:var(--paper); color:var(--ink); color-scheme:light;
}
body.suite.amber, body.suite.purple, body.suite.coral { --accent:#a99262; --chapter:#ece7da; }
.suite .suite-header { background:#1b3b2b; color:#fcf9f2; border-bottom:1px solid #102b1e; }
.suite .suite-header .suite-brand small { color:#d8c69a; }
.suite .suite-header [aria-current=page] { color:#ead9aa; box-shadow:inset 0 -2px #d8c69a; }
.suite .suite-private { background:#ebe7dc; color:#4a5c4e; border-bottom:1px solid #ded8c9; }
.suite .pageintro {
  background-color:#f0ecdf;
  background-image:linear-gradient(90deg,rgba(252,249,242,.96),rgba(252,249,242,.84)),url('/fangyue-botanical-wash.webp');
  background-position:center,right center; background-size:cover; color:#183b2b;
  border:1px solid #e4ddce; border-radius:8px;
}
.suite .pageintro h1,.suite .pageintro h2,.suite .pageintro h3 { color:#183b2b; }
.suite .pageintro .eyebrow { color:#65725e; }
.suite:not(.suite-public) button.primary,.suite:not(.suite-public) .tabs .active { background:#1b3b2b; color:#fcf9f2; }
.suite:not(.suite-public) dialog .dialoghead { background:#1b3b2b; color:#fcf9f2; }
.suite:not(.suite-public) dialog .dialoghead button { color:#fcf9f2; }
.suite .similarrow { border-left:3px solid #b53528; background:#f7f1e8; }
body.suite.data-center { --paper:#fcf9f2; --ink:#183b2b; --green:#1b3b2b; --line:#ded8c9; --soft:#f2efe7; --muted:#68756c; --chapter:#1b3b2b; --accent:#d8c69a; color-scheme:light; background:#fcf9f2; }
.suite.data-center .pageintro.dataintro {
  background-color:#1b3b2b;
  background-image:linear-gradient(90deg,rgba(20,53,38,.97) 0%,rgba(20,53,38,.88) 52%,rgba(20,53,38,.35) 100%),url('/fangyue-rankings-cover.webp');
  background-position:center,right center; background-size:cover; border:0; color:#fcf9f2;
}
.suite.data-center .dataintro h1,.suite.data-center .dataintro h2,.suite.data-center .dataintro h3,
.suite.data-center .dataintro dd { color:#fcf9f2; }
.suite.data-center .dataintro .eyebrow,.suite.data-center .dataintro dt { color:#ead9aa; }
.suite.data-center .controls,.suite.data-center .panel,.suite.data-center .tablepanel { background:#fffdf8; border-color:#ded8c9; box-shadow:0 8px 28px #183b2b0a; }
body.suite-public { --ink:#183b2b; --green:#1b3b2b; --paper:#fcf9f2; --muted:#68756c; --line:#ded8c9; --gold:#a99262; --jade:#758c71; color-scheme:light; background:#fcf9f2; color:#183b2b; }
.suite-public .suite-header { background:#1b3b2b; color:#fcf9f2; }
.suite-public .hero { min-height:0; padding:clamp(38px,6vw,80px) 0; }
.suite-public .hero .intro { min-height:0; margin:0; padding:0; border:0; background:transparent; color:#183b2b; }
.suite-public .hero .intro h1,.suite-public .hero .intro h2 { color:#183b2b; }
.suite-public .hero .intro .label,.suite-public .label { color:#68756c; }
.suite-public .scene { background:#f0ecdf; border:1px solid #e4ddce; border-radius:8px; box-shadow:none; animation:arrive .45s ease both; }
.suite-public .scene img { aspect-ratio:16/9; object-fit:cover; }
.suite-public .scene figcaption { display:none; }
.suite-public .gallery { background:#f4f0e7 url('/fangyue-botanical-wash.webp') right center/cover no-repeat; color:#183b2b; }
.suite-public .gallery .card { background:rgba(255,253,248,.9); border:1px solid #ded8c9; color:#183b2b; box-shadow:none; }
.suite-public .comparison {
  color:#183b2b; background-color:#f0ecdf;
  background-image:linear-gradient(90deg,rgba(252,249,242,.94),rgba(252,249,242,.78)),url('/fangyue-comparison-hero.webp');
  background-position:center; background-size:cover; border-block:1px solid #e4ddce;
}
.suite-public .comparison h1,.suite-public .comparison h2,.suite-public .comparison p { color:#183b2b; }
.suite-public .about { background:#fcf9f2 url('/fangyue-botanical-wash.webp') right center/auto 100% no-repeat; }
.suite-public .pill,.suite-public button { background:#1b3b2b; color:#fcf9f2; border:1px solid #1b3b2b; border-radius:6px; }
.suite-public .pill.secondary { background:#fcf9f2; color:#1b3b2b; border-color:#a9b2a1; }
.suite-public .footer { color:#68756c; border-color:#ded8c9; }
.suite.review .review-title {
  background-color:#f0ecdf;
  background-image:linear-gradient(90deg,rgba(252,249,242,.96),rgba(252,249,242,.84)),url('/fangyue-botanical-wash.webp');
  background-position:center,right center; background-size:cover; border-color:#ded8c9; border-radius:8px;
}
.suite.review .review-title h1 { color:#183b2b; }
@media(max-width:720px) {
  .suite-public .hero { padding:30px 0 40px; gap:22px; }
  .suite-public .scene { border-radius:6px; }
  .suite-public .comparison { background-position:60% center; }
  .suite-public .about { background-position:right bottom; background-size:auto 55%; }
  .suite.data-center .pageintro.dataintro { background-position:68% center; }
}

/* Keep the public archive title together without letting the last character wrap alone. */
.suite-public .hero .intro h1 { font-size:clamp(3rem,6vw,5.25rem); letter-spacing:-.035em; }
.suite-public .hero .intro h1 em { white-space:nowrap; color:#8f7a4a; }
/* Keep data-center content readable on the warm light panels. */
.suite.data-center .controls,.suite.data-center .panel,.suite.data-center .tablepanel { color:#183b2b; }
.suite.data-center .data-note,.suite.data-center .full-ranking p,.suite.data-center .trendrange,
.suite.data-center #definition,.suite.data-center #summary,.suite.data-center .sitefooter { color:#536356; }
.suite.data-center .namebutton,.suite.data-center .recordlink { color:#1b5d46; }
/* Visible keyboard focus across light editorial surfaces and the dark navigation. */
.suite :is(a,button,input,select,textarea):focus-visible {
  outline:3px solid #b53528; outline-offset:3px; box-shadow:0 0 0 2px #fcf9f2;
}

body.suite .suite-header .suite-bar{width:100%;max-width:none;margin:0;padding:12px 48px;min-height:68px;align-items:flex-start}
body.suite .suite-header .suite-brand{height:44px;align-items:center;margin:0;padding:0}
.suite-header .suite-icon{display:block;width:44px;height:44px;max-width:none}
#featured-herbs{margin-bottom:24px}
.specimen-print{display:grid;gap:4px;background:#faf6ed;color:#183b2b;border:1px solid #bbb5a4;border-radius:8px;overflow:hidden;padding-bottom:14px}
.specimen-print img{width:100%;aspect-ratio:3/2;object-fit:contain;background:#f5f3eb}
.specimen-print strong,.specimen-print small{margin-inline:16px}.specimen-print strong{font:700 1.6rem var(--serif)}
@media(max-width:760px){body.suite .suite-header .suite-bar{padding:12px 16px;gap:6px}#featured-herbs{grid-template-columns:1fr}.specimen-print{grid-template-columns:100px 1fr;align-items:end;padding:0}.specimen-print img{grid-row:span 2;height:90px}.specimen-print small{align-self:start}}
.research-notice{font:14px/1.6 system-ui;color:#45574b;background:#eef2eb;padding:9px max(5vw,16px);margin:0}.formula-lead{display:flex;align-items:end;justify-content:space-between;gap:24px;padding-block:32px 20px}.formula-lead h1{font-size:clamp(34px,5vw,64px);margin:0}.formula-lead p{margin:6px 0}.formula-board{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:clamp(20px,5vw,64px);padding-bottom:40px}.formula-board h2{font-size:28px;margin:0 0 8px}.formula-board details{margin:12px 0}.formula-board summary,.rank-shell summary{cursor:pointer}.formula-row{display:grid;grid-template-columns:2em 1fr auto;align-items:center;gap:8px;min-height:50px;border-bottom:1px solid #cad3cb;color:#27392d;text-decoration:none;font-size:16px}.formula-row strong{color:#865032;font-variant-numeric:tabular-nums}.formula-row:hover,.formula-row:focus-visible{background:#eff3ed}.classic>summary{padding:12px 0;border-bottom:1px solid #cad3cb;font-size:20px}.formula-board p{line-height:1.65}.formula-actions{display:flex;gap:16px;align-items:center}.rank-shell #formula-top{max-height:50vh;overflow:auto}.formula-lead .portal-query{max-width:460px}.formula-board details details{overflow-wrap:anywhere}@media(max-width:740px){.formula-lead{align-items:stretch;display:grid;gap:8px;padding-block:20px 10px}.formula-board{display:block}.formula-board aside{margin-top:26px}.formula-row{font-size:14px}.research-notice{font-size:13px}}

.archive-photo img{display:block;width:100%;height:clamp(140px,18vw,240px);object-fit:cover;border-radius:10px;margin-bottom:20px}

.formula-head{display:flex;justify-content:space-between;color:#526657;font-size:14px;border-bottom:1px solid #aab9aa;padding:6px 0}
.read-gate{max-width:27rem;margin:10vh auto;padding:24px;font:16px/1.6 system-ui;color:#253d32}.read-gate form{display:grid;gap:12px;margin:20px 0}.read-gate input,.read-gate button{min-height:44px;font:inherit}.read-gate button{background:#294c3a;color:white;border:0;border-radius:5px}.rx-core h3{margin:20px 0 5px}.rx-core .meds{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(170px,100%),1fr));gap:6px}.rx-core .med{display:flex;justify-content:space-between;gap:8px}.rx-references{margin-top:18px}.rx-references>details{border-top:1px solid #d4dbd5;padding:10px 0}.rx-references summary{cursor:pointer}dialog .research-notice{font-size:13px;padding:6px 12px;background:transparent;color:#526057}

#detailbody .formula-actions{display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px 16px;border-radius:12px;background:#183e35;color:#fff7db;padding:20px 24px;margin:8px 0 18px}#detailbody .formula-actions>strong{grid-column:1;font:700 clamp(64px,10vw,96px)/1 system-ui;letter-spacing:-.05em;font-variant-numeric:tabular-nums}#detailbody .formula-actions>small{grid-column:1;color:#d5e4d8}#detailbody .formula-actions>button{grid-column:2;grid-row:2;background:#f4edd8;color:#163e33}.rx-labels{border-left:3px solid #84967c;padding:8px 12px;margin:12px 0}.rx-labels summary,.classic-library summary{cursor:pointer}.classic-library .classic{padding-inline:12px}
.classic-source{border-left:2px solid #879982;padding:8px 14px;margin:14px 0;background:#f7f7f1}.classic-source pre{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.9 system-ui,sans-serif;color:#34473b}.classic-source .source-note{font-size:13px;color:#536257}.classic-source p{overflow-wrap:anywhere}
.weekly-board{padding:26px 0 34px;border-bottom:1px solid #cbd4cb}.weekly-heading{display:flex;justify-content:space-between;align-items:end;gap:16px}.weekly-heading h2{font-size:28px;margin:4px 0}.weekly-heading p{margin:4px 0;color:#536257}.weekly-heading select{min-height:44px;padding:8px 12px;border:1px solid #9ca99f;background:white;color:#26372c}.weekly-board ol{list-style:none;padding:0;margin:14px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.weekly-board li{border-top:1px solid #d6ddd5}.weekly-board li a{display:grid;grid-template-columns:2.5em 1fr auto;align-items:center;gap:10px;min-height:52px;color:#27392d;text-decoration:none}.weekly-board li a span{font-variant-numeric:tabular-nums;color:#976239}.weekly-board li a b{font-size:14px;color:#59665c}.weekly-board li a:hover{background:#f1f4ef}@media(max-width:680px){.weekly-board ol{grid-template-columns:1fr}.weekly-heading{align-items:start;flex-direction:column}}
.similar-shell{max-width:1000px;margin:40px auto;padding:0 20px}.similar-intro{border-bottom:1px solid #ccd5cd;padding-bottom:18px}.similar-intro h1{font-size:36px;margin:0 0 8px}.similar-intro p{max-width:760px;color:#536257}.similar-form{display:grid;gap:12px;padding:22px 0;max-width:720px}.similar-form textarea{width:100%;padding:12px;border:1px solid #9ca99f;font:inherit;resize:vertical}.similar-form input[type=range]{width:100%;accent-color:#436b53}.similar-form button{justify-self:start;min-height:44px;padding:8px 20px}.similar-row{border-top:1px solid #d1d8d1;padding:14px 0}.similar-row>a{display:block;color:#25382b;font-size:20px}.similar-row span,.similar-row p{color:#59665c;font-size:14px}

#open-classics {margin-block:12px;min-height:44px;padding:8px 16px;border:1px solid #9eafa5;border-radius:6px;background:#faf9f3;color:#224739;font:inherit;cursor:pointer}
#classic-catalogue {position:fixed;inset:0;margin:auto;box-sizing:border-box;width:min(38rem,calc(100% - 24px));height:min(40rem,84dvh);max-height:90dvh;padding:clamp(16px,3vw,28px);border:1px solid #b8c6bb;border-radius:12px;background:#fcfbf6;color:#203b30;overflow:hidden}
#classic-catalogue[open] {display:flex;flex-direction:column}
#classic-catalogue::backdrop {background:rgb(19 37 30 / 45%)}
html:has(#classic-catalogue[open]) {overflow:hidden}
.catalogue-heading {display:flex;align-items:center;justify-content:space-between;gap:1rem}
.catalogue-heading h2 {margin:0}.catalogue-heading button {min-height:44px;cursor:pointer}
#classic-filter {width:100%;box-sizing:border-box;min-height:44px;font:inherit}
#classic-count {margin:8px 0;color:#53685d}
.catalogue-list {min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.catalogue-list summary {padding-block:12px}.catalogue-list details {border-bottom:1px solid #d2dbd2}
/* R2 · shared reading and navigation rhythm */
body.suite{--r2-gutter:48px;background-color:#fcf9f2;font-size:16px;font-variant-numeric:tabular-nums}
.suite .suite-header .suite-bar{box-sizing:border-box;padding:12px var(--r2-gutter);align-items:center}
.suite .suite-header{background:#032517}.suite :is(h1,h2){font-family:var(--serif)}
.suite :is(button,input,select):focus-visible,.suite a:focus-visible{outline:2px solid #b53528;outline-offset:2px}
.suite .weekly-board #weekly-rows{list-style:none;padding:0;margin:8px 0 24px;display:block}.suite #weekly-rows a{display:grid;grid-template-columns:2.4em minmax(0,1fr) auto;align-items:center;gap:8px;min-height:44px;padding:6px 8px;color:#032517;text-decoration:none;border-bottom:1px solid #d5dacf}.suite #weekly-rows b{text-align:right;white-space:nowrap}.suite #weekly-rows li:nth-child(-n+3) span{color:#963f2e}
.suite .weekly-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.suite .weekly-heading p{margin:4px 0}.suite .weekly-heading h2{margin:0}.suite .weekly-heading label{flex:none}.suite .weekly-heading select{min-height:44px}
@media(max-width:760px){body.suite{--r2-gutter:16px}.suite .suite-header .suite-bar{padding:12px 16px 0;gap:4px}.suite .suite-header nav a{display:inline-flex;align-items:center;min-height:44px}.suite .formula-lead{display:block;padding-block:16px}.suite .formula-lead h1{font-size:32px}.suite .formula-lead .portal-query{margin:8px 0;width:100%}.suite .weekly-heading{align-items:flex-start}.suite #weekly-source{font-size:14px}.suite :is(input:not([type=checkbox]):not([type=radio]),select,button){min-height:44px}}
@media(max-width:760px){.ranking-page .rank-shell,.ranking-page .rank-toolbar,.ranking-page .rank-tabs{min-width:0;max-width:100%;box-sizing:border-box}.ranking-page .rank-toolbar{flex-wrap:wrap}.ranking-page .rank-tabs{overflow-x:auto}.ranking-page .tablepanel{min-width:0;overflow-x:auto}}

/* review-workbench */

.review-shell{max-width:1040px;margin:32px auto;padding:0 20px}.review-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px}.review-main{border-top:3px solid #356247;padding-top:18px}.review-login{max-width:440px;margin:60px auto}.review-login form{display:grid;gap:14px}.review-login label,.review-main label{display:grid;gap:6px}.review-login input,.review-main input,.review-main textarea{width:100%;min-height:44px;padding:10px;border:1px solid #abb7ac;border-radius:4px;font:inherit}.review-main textarea{min-height:80px}.symptom-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}.symptom-list label{display:flex;align-items:center;min-height:44px;padding:8px;border-bottom:1px solid #d9dfd8}.rx-meds{line-height:1.8}.review-aside{border-left:1px solid #d4dbd3;padding-left:20px}.review-shell .status{min-height:28px;color:#536257}.review-actions{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.review-actions button{min-height:44px;padding:8px 16px}.review-actions .primary{background:#315d47;color:white}.review-note{font-size:14px;color:#536257}@media(max-width:760px){.review-layout{display:block}.review-aside{border:0;border-top:1px solid #d4dbd3;padding:18px 0;margin-top:28px}.symptom-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
.review-shell .consensus{padding:14px 0;border-bottom:1px solid #d9dfd8}.review-shell .consensus h3{margin:8px 0}.review-shell .consensus p{margin:6px 0}


.r2-reading{max-width:44rem;margin:32px auto;padding:0 16px;color:#032517;background:#fcf9f2;font:17px/1.8 NotoSC,sans-serif;overflow-wrap:anywhere}.r2-reading h1,.r2-reading h2{font-family:WenKai,serif}.r2-reading a{color:#275a47}.r2-reading pre{white-space:pre-wrap;font:inherit}
.member-tools{display:flex;align-items:center;gap:8px;margin-left:auto;font-size:13px}.member-tools button{min-height:36px;padding:6px 10px}.member-tools .member-balance{color:#e9d7a8}.member-dialog{width:min(420px,calc(100% - 24px));padding:24px;border:1px solid #b8c6bb;border-radius:12px;background:#fcfbf6;color:#203b30}.member-dialog form{display:grid;gap:12px}.member-dialog input{min-height:42px;padding:8px;font:inherit}.member-dialog .member-actions{display:flex;gap:8px;flex-wrap:wrap}.member-status{color:#536257;font-size:14px}
.task-panel{border:1px solid #c9d4c9;background:#f3f5ec;padding:16px;margin:18px 0}.task-panel h3{margin-top:0}.task-symptoms{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.task-symptoms label{padding:7px;border-bottom:1px solid #d5ddd3}.task-panel button{margin-top:12px;min-height:42px;padding:8px 16px}@media(max-width:680px){.member-tools{width:100%;margin:0}.task-symptoms{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Staff review uses the existing workbench type and colour system. */
.staff-review table{width:100%;border-collapse:collapse;margin:1rem 0}.staff-review th,.staff-review td{text-align:left;padding:.7rem;border-bottom:1px solid #d8d4c9;vertical-align:top}.staff-review td:first-child{font-weight:700;font-variant-numeric:tabular-nums}.staff-review td:last-child,.staff-review th{white-space:nowrap}.staff-review fieldset{display:grid;gap:.75rem;border:0;padding:0}.staff-review textarea{display:block;width:100%;box-sizing:border-box}.staff-review #basis{white-space:pre-line}.staff-review #form[hidden]{display:none}.staff-review button{cursor:pointer}

.staff-review .quick-tags{display:flex;flex-wrap:wrap;gap:.4rem}.staff-review .quick-tags button[aria-pressed="true"]{background:#214b3d;color:white}

#detailbody .rx-core .med span:last-child{font-weight:700;font-variant-numeric:tabular-nums}#detailbody .task-panel summary{cursor:pointer;font-weight:600}

.rx-links article{padding:.75rem 0;border-bottom:1px solid #dad5cb}.rx-links article p{margin:.35rem 0}.rx-difference{color:#a12a26;font-weight:700;display:inline-block;margin-inline-end:.65rem}.rx-links details{margin-top:.7rem}

/* 方阅处方详情：处方事实、文献线索和参与任务分开阅读。 */
#detailbody {
  --rx-border: #cfdbcf;
  overflow-wrap: anywhere;
}
#detailbody .formula-actions {
  margin: 12px 0 16px;
  border: 1px solid #234b39;
  background: linear-gradient(90deg, #183e35 38%, #183e35de 74%, #183e35b8),
    #183e35 url('/fangyue-rankings-cover.webp') right center / auto 180% no-repeat;
}
#detailbody .rx-core {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}
#detailbody :is(.rx-panel, .rx-links, .task-panel, .rx-references) {
  min-width: 0;
  border: 1px solid var(--rx-border);
  border-radius: 8px;
  padding: clamp(14px, 2.5vw, 24px);
}
#detailbody :is(.rx-panel, .rx-links, .rx-references) h3 {
  font-size: clamp(17px, 2.1vw, 21px);
  margin: 0;
  color: #1b3b2b;
}
#detailbody .rx-ingredients {
  grid-column: 1 / -1;
  border-block-start: 3px solid #41684e;
  background: #fffdf7;
}
#detailbody .rx-panel-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
#detailbody .rx-panel-heading > span {
  flex: none;
  color: #365640;
  font-size: 14px;
  font-weight: 700;
}
#detailbody .rx-caption {
  margin: 6px 0 0;
  color: #515b4b;
  font-size: 13px;
  line-height: 1.6;
}
#detailbody .rx-ingredients .meds {
  grid-template-columns: repeat(auto-fit, minmax(min(185px, 100%), 1fr));
  align-items: stretch;
  margin-top: 14px;
  border: 0;
  gap: 8px;
}
#detailbody .rx-ingredients .med {
  align-items: baseline;
  padding: 10px 12px;
  border: 1px solid #dfe6d9;
  border-radius: 5px;
  background: #f3f6ed;
  font-size: 15px;
}
#detailbody .rx-ingredients .med > :last-child {
  flex: none;
  color: #204c38;
}
#detailbody .rx-symptoms {
  background: linear-gradient(90deg, #edf3e8 44%, #edf3e8db),
    #edf3e8 url('/fangyue-botanical-wash.webp') right top / auto 160px no-repeat;
}
#detailbody .rx-symptom-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 0;
  margin: 10px 0 0;
  list-style: none;
}
#detailbody .rx-symptom-list li {
  padding: 3px 9px;
  border: 1px solid #bfceba;
  border-radius: 5px;
  background: #fafbf5;
  color: #264a37;
  font-size: 14px;
}
#detailbody .rx-preparation {
  background: #f5eee1;
  border-color: #ddd0b6;
}
#detailbody .rx-preparation dl { margin: 8px 0 0; }
#detailbody .rx-preparation dl > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid #e2d6be;
  font-size: 14px;
}
#detailbody .rx-preparation dd { margin: 0; text-align: end; }
#detailbody .rx-links { margin-top: 14px; background: #faf6ed; border-color: #ddd3c0; }
#detailbody .rx-links article:last-child { padding-bottom: 0; border: 0; }
#detailbody .rx-links > p { margin-bottom: 0; }
#detailbody .task-panel { margin: 14px 0 0; padding-block: 12px; background: #edf1ed; }
#detailbody .rx-references { margin-top: 14px; background: #f8f7f2; border-color: #dcdad0; }
#detailbody .rx-references > h3 { margin-bottom: 8px; }
#detailbody :is(.task-panel, .rx-references, .rx-labels, .rx-links) summary { padding-block: 6px; }
#detailbody :is(.rx-references, .rx-labels) summary:focus-visible { outline: 2px solid #41684e; outline-offset: 3px; }
@media (max-width: 660px) {
  #detailbody .rx-core { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  #detailbody .formula-actions { padding: 14px; gap: 2px 8px; }
  #detailbody .formula-actions > strong { font-size: 55px; }
  #detailbody .formula-actions > button { font-size: 13px; padding-inline: 8px; }
  #detailbody .rx-ingredients .meds { grid-template-columns: repeat(auto-fit, minmax(min(126px, 100%), 1fr)); }
  #detailbody .rx-ingredients .med { padding: 8px; font-size: 14px; }
}

/* The search header must grow with the account row on narrow screens. */
.rx-search header.suite-header { height: auto; }
