:root {
  color-scheme: light;
  --paper:#fffefa; --white:#ffffff; --rail:#f3f1eb; --ink:#272824; --muted:#60645d;
  --line:#e1e0d8; --line-dark:#c8c9bf; --tint:#f2f2eb; --hover:#f4f3ed;
  --rust:#963e2a; --rust-soft:#f2e5db; --forest:#376448; --focus:#356b52;
  --jacket:#f4eee4;
  --action:#873b29; --on-action:#ffffff; --action-hover:#70301f; --selection:#efc7b5;
  --sans:"Microsoft YaHei UI","微软雅黑 UI","Microsoft YaHei","PingFang SC",sans-serif;
  font:15px/1.6 var(--sans); color:var(--ink); background:var(--paper);
  -webkit-font-smoothing:antialiased; font-variant-numeric:tabular-nums;
}
:root[data-theme=dark] {
  color-scheme:dark;
  --paper:#1b1c1a; --white:#232522; --rail:#151714; --ink:#efeee6; --muted:#b4b7ac;
  --line:#373a34; --line-dark:#53584e; --tint:#292c26; --hover:#262923;
  --rust:#f3a58a; --rust-soft:#3c2b24; --forest:#a5c9a8; --focus:#c2dfc0;
  --jacket:#2c2924;
  --action:#df9a80; --on-action:#211a17; --action-hover:#f5ae95; --selection:#593a31;
}
* {box-sizing:border-box}
body {margin:0; min-width:280px}
.workspace {margin-inline-start:204px}
.wrap {width:min(1180px,calc(100% - 96px)); margin-inline:auto}
.sidebar {position:fixed;inset:0 auto 0 0;width:204px;background:var(--rail);border-right:1px solid var(--line);z-index:3}
.mast {height:100%;display:flex;flex-direction:column;padding:34px 18px 22px}
.appearance {display:flex;align-items:center;gap:2px;padding:3px;border-radius:8px;background:var(--tint);border:1px solid var(--line-dark);align-self:flex-start;margin: auto 10px 0}
.appearance button {border:0;min-height:30px;border-radius:5px;background:transparent;font-size:12px;padding:4px 9px;color:var(--muted);gap:5px}
.appearance svg {width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.appearance button[aria-pressed=true] {color:var(--ink);background:var(--white);box-shadow:0 1px 3px #11111118}
.mobile-search {display:none}

a {color:inherit; text-decoration:none; text-underline-offset:.23em}
a:hover {color:var(--rust)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible {outline:2px solid var(--focus);outline-offset:3px}
main:focus {outline:none}
button,select,input {font:inherit;color:inherit}
button,.button,select,input:not([type=checkbox]) {border:1px solid var(--line-dark);border-radius:7px;background:var(--white)}
button,.button {display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:6px 13px;line-height:1.35;cursor:pointer;font-size:13px}
button:hover:not(:disabled),.button:hover {border-color:var(--muted);background:var(--tint);color:var(--ink)}
button:disabled {opacity:.44;cursor:default}
input:not([type=checkbox]),select {min-height:36px;padding:5px 10px;font-size:14px;min-width:0;max-width:100%}
input,select {caret-color:var(--rust);accent-color:var(--rust)}
input::placeholder {color:var(--muted)}
input[type=checkbox] {width:15px;height:15px;margin:0;vertical-align:middle}
select {cursor:pointer}
::selection {background:var(--selection);color:var(--ink)}
[hidden] {display:none!important}
.brand {display:inline-flex;align-items:center;gap:10px;white-space:nowrap;font-size:20px;font-weight:700;letter-spacing:-.03em;align-self:flex-start;margin-inline:8px}
.seal {display:grid;place-items:center;width:32px;height:36px;font:600 21px/1 var(--sans);border-radius:6px 6px 11px 6px;background:var(--action);color:var(--on-action)}
nav {display:flex;flex-direction:column;gap:5px;margin-top:47px}
nav a {display:flex;align-items:center;gap:12px;padding:10px 14px;border-radius:6px;color:var(--muted);font-size:14px;white-space:nowrap}
nav a:hover {background:var(--hover);color:var(--ink)} nav a.active {color:var(--rust);background:var(--rust-soft);font-weight:650}
nav a[data-nav=library] {margin-top:24px}
nav a[data-nav=sources] {font-size:13px}

.icon {width:17px;height:17px;flex:none;vertical-align:-.18em}
.sr,.skip:not(:focus) {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus {position:fixed;top:5px;left:5px;background:var(--white);padding:10px;z-index:5}
main {min-height:calc(100vh - 72px);padding-bottom:44px}
h1,h2,h3,p {margin:0}
h1,h2,.work-title {overflow-wrap:anywhere}
h1,h2 {font-family:var(--sans);font-weight:700;text-wrap:balance}
h1 {font-size:clamp(29px,3vw,42px);line-height:1.2;letter-spacing:-.025em}
h2 {font-size:22px;line-height:1.45}
h3 {font-size:17px;line-height:1.5}
.hero {display:flex;justify-content:space-between;align-items:center;gap:30px;padding:45px 0 30px}
.hero p {margin-top:12px;color:var(--muted);font-size:15px;line-height:1.65}
.folio {display:flex;align-items:center;gap:9px;flex-shrink:0}
.folio a {display:block;border-radius:3px}
.folio .cover {width:53px;height:73px;box-shadow:0 3px 8px #16161120}
.folio a:focus-visible,.folio a:hover {transform:translateY(-3px)}

.query-rail {border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;gap:20px;align-items:center;justify-content:space-between;min-height:57px}
.state-tabs,.analysis-tabs {display:flex;gap:22px;align-items:stretch}
.state-tabs a,.analysis-tabs a {display:inline-flex;align-items:center;padding:12px 0;color:var(--muted);font-size:14px;position:relative;white-space:nowrap}
.state-tabs a.active,.analysis-tabs a.active {color:var(--rust);font-weight:650}
.state-tabs a.active:after,.analysis-tabs a.active:after {content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--rust)}
.state-tabs {align-self:stretch}
.date-controls {display:flex;align-items:center;gap:10px}
.date-controls .field {display:flex;align-items:center;flex-direction:row;gap:8px}
.date-controls input[type=date] {width:141px;min-height:32px;font-size:13px}
.date-controls select {font-size:12px;max-width:180px}
.date-controls>button {background:transparent;border:0;padding-inline:1px}
.field,.form-grid label {display:flex;flex-direction:column;gap:5px;min-width:0}
.field>span,.month label {font-size:12px;color:var(--muted);font-weight:550}
.toolbar {display:flex;align-items:center;gap:10px;margin:18px 0}
.search {display:flex;align-items:center;gap:9px;padding:0 4px 0 11px;flex:1;max-width:500px;min-width:180px;background:var(--white);border:1px solid var(--line-dark);border-radius:5px}
.search>.icon {color:var(--muted)}
.search input {min-width:0;width:100%;padding-inline:0;border:0;background:transparent;height:36px}
.search button {white-space:nowrap;min-height:26px;background:var(--tint);border:0;padding:4px 10px}
.compact-field select {min-height:38px}
.toolbar>button {min-height:38px}
.toolbar .save-filter {margin-left:auto}
.quiet,.icon-button {border-color:transparent;background:transparent}
.icon-button {width:34px;height:34px;min-height:34px;padding:7px;color:var(--muted);border-radius:4px}
.marked {color:var(--rust);background:var(--rust-soft)}
.marked .icon {fill:var(--rust-soft);stroke:var(--rust)}
.advanced,.calendar {padding:18px 20px;background:var(--tint);border:1px solid var(--line);border-radius:6px;margin:12px 0 18px}
.form-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px}
.advanced-foot,.inline,.book-actions,.date-links,.bottom-actions {display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.advanced-foot {margin-top:16px;font-size:13px}
.advanced-foot .primary {margin-left:auto}
button.primary,.button.primary {background:var(--action);border-color:var(--action);color:var(--on-action)}
button.primary:hover,.button.primary:hover {background:var(--action-hover);color:var(--on-action)}
.applied {font-size:13px;color:var(--muted);margin-bottom:14px}
.applied a,.text-button,.period-link,.back,.author-link,.bottom-actions>a,.day-links a {color:var(--forest);text-decoration:underline;text-decoration-thickness:1px}
.applied a {margin-left:15px}
.results-heading {display:flex;justify-content:space-between;align-items:center;gap:8px;margin:26px 0 13px}
.results-heading>div,.result-tools,.sort-label,.switch {display:flex;align-items:center;gap:12px}
.results-heading>.daily-results {display:block}
.daily-results>div {display:flex;align-items:baseline;gap:10px}
.daily-results p {font-size:12px;color:var(--muted);margin-top:3px}
.count {color:var(--muted);font-size:13px;white-space:nowrap}
.sort-label {gap:2px;color:var(--muted)}
.sort-label select {font-size:13px;padding-inline:2px;min-height:32px;background:transparent;border:0}
.switch {background:var(--tint);border:1px solid var(--line);border-radius:5px;gap:2px;padding:2px}
.switch a {display:flex;align-items:center;gap:6px;padding:5px 10px;color:var(--muted);font-size:13px;border-radius:3px;border:1px solid transparent}
.switch a.active {background:var(--white);color:var(--ink);border-color:var(--line-dark)}
table {border-collapse:collapse;width:100%;text-align:left;font-size:14px}
th,td {padding:11px 12px;border-bottom:1px solid var(--line);vertical-align:middle}
th {background:var(--tint);color:var(--muted);font-size:12px;white-space:nowrap;font-weight:600}
th a {display:inline-flex;gap:4px;align-items:center}
th .icon {height:13px;width:13px}
.rank-table {table-layout:fixed}
.matrix,.reading-list {border-top:1px solid var(--line-dark)}
.rank-table td {height:61px;padding-block:9px}
.rank-table tbody tr:hover,.peer-list article:hover,.reading-row:hover {background:var(--hover)}
.pick-col {width:33px;padding-left:10px;padding-right:3px;text-align:center}
.pos-col {width:65px}
.pos,.reading-pos>span {font-family:var(--sans);font-size:18px;color:var(--muted);letter-spacing:-.04em}
.origin-col {width:21%}
.origin-col small,.byline,.mobile-origin,.reading-text small,.peer-list small {color:var(--muted);font-size:12px}
.origin-col small,.peer-list small {display:block;margin-top:3px}
.numeric {width:12%;text-align:right;font-variant-numeric:tabular-nums}
td.numeric {font-family:var(--sans);font-size:15px}
.state-col {width:88px;text-align:center}
.fav-col {width:55px;text-align:center;padding-inline:5px}
.state {display:inline-block;color:var(--muted);font-size:12px;white-space:nowrap}
.state.done {color:var(--forest)}
.state.done::before {content:"";display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--forest);vertical-align:.15em;margin-right:6px}
.work-title {font-size:16px;line-height:1.5;font-weight:620}
.byline {line-height:1.45;margin-top:2px}
.match {color:var(--rust);margin-left:10px;font-size:12px}
.missing {color:var(--muted);font:12px var(--sans)}
.mobile-origin {display:none}
.reading-row {display:grid;grid-template-columns:39px 62px minmax(0,1fr) 127px 35px;gap:20px;padding:19px 10px;align-items:center;border-bottom:1px solid var(--line)}
.reading-pos {display:flex;align-items:center;gap:8px;flex-direction:column}
.reading-pos>span {font-size:16px}
.cover {display:block;object-fit:cover;width:62px;height:84px;background:var(--tint);border-radius:2px}
.cover.placeholder {display:grid;place-items:center;border:1px solid var(--line);color:var(--muted)}
.cover.placeholder .icon {width:50%;height:50%}
.reading-text .work-title {font:650 20px/1.5 var(--sans)}
.reading-text p {font-size:14px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:6px 0;max-width:70ch}
.reading-facts {display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.reading-facts strong {font-size:16px;font-weight:550}
.reading-facts small,.muted,.footnote,.bottom-actions>span {color:var(--muted);font-size:13px}
.pager {display:flex;align-items:center;justify-content:space-between;margin:16px 0;color:var(--muted);font-size:13px}
.pager>div {display:flex;align-items:center;gap:12px}
.pager button,.pager .button {min-height:31px;width:32px;padding:3px}
.bottom-actions {border-top:1px solid var(--line);padding-top:16px;margin-top:16px}
.bottom-actions>a {margin-left:auto;font-size:13px}
.footnote {display:flex;gap:8px;margin-top:15px;align-items:flex-start}
.footnote .icon {margin-top:2px}
.loading,.empty {padding:45px 16px;color:var(--muted);text-align:center}
.empty {background:var(--tint);border-radius:10px;margin-block:12px}
.empty>.icon {width:29px;height:29px;color:var(--forest)}
.empty h3 {color:var(--ink);margin:8px 0 5px}
.empty p {font-size:14px}
.empty .button {margin-top:15px}
footer {border-top:1px solid var(--line);padding:17px 0 30px;display:flex;justify-content:space-between;color:var(--muted);font-size:12px}
#notice {display:none;position:fixed;bottom:17px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--paper);padding:10px 16px;font-size:14px;border-radius:6px;max-width:90vw;z-index:10}
#notice.visible {display:block}
.series-controls,.period-form,.endpoints {display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;padding:14px 0 20px}
.series-controls {border-block:1px solid var(--line);padding:17px 0;gap:18px}
.series-toggle,.view-short {display:none}
@media(min-width:741px) {.single-market .byline:not(:has(.match)){display:none}}
.series-controls .field {min-width:145px}
.series-controls+.query-rail {border-top:0}
.context-title {display:inline-flex;gap:8px;align-items:center;font-weight:600}
.context-title i {border-left:1px solid var(--line-dark);height:14px}
.provenance,.source-strip {display:flex;align-items:center;flex-wrap:wrap;gap:6px 15px;font-size:12px;color:var(--muted)}
.source-strip {border-block:1px solid var(--line);padding:9px 0}
.source-strip details {margin-left:auto}
.source-strip details[open] {flex-basis:100%;margin:0}
details>summary {cursor:pointer;color:var(--forest)}
details>p {margin:8px 0}
.external {color:var(--forest);text-decoration:underline;text-underline-offset:.2em}
.external .icon {width:12px;height:12px;margin-left:3px}
.calendar {display:grid;grid-template-columns:minmax(240px,310px) 1fr;gap:30px}
.month-head label {display:flex;align-items:center;justify-content:space-between}
.month-grid {display:grid;grid-template-columns:repeat(7,1fr);gap:2px;margin:8px 0;text-align:center;font-size:13px}
.month-grid>* {padding:3px}
.month-grid small,.absent {color:var(--muted)}
.recorded {text-decoration:underline;color:var(--forest);font-weight:600}
.month-grid .selected {border-radius:4px;background:var(--forest);color:var(--white)}
.range-history h3 {margin-bottom:8px}
.range-history form {margin-block:10px;align-items:flex-end}
.day-links {display:flex;flex-wrap:wrap;max-height:125px;overflow-y:auto;gap:5px 12px;font-size:13px}
.analysis-tabs {border-bottom:1px solid var(--line-dark);margin-bottom:22px}
.endpoints {background:transparent;border:0;padding:18px 0 14px;align-items:flex-end;gap:16px;margin:0}
.endpoints>.icon {margin-bottom:10px;color:var(--muted)}
.endpoints>button,.endpoints>.inline {align-self:flex-end}
.period-link,.text-button {font-size:13px}
.analysis-summary {display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:10px;font-size:13px;color:var(--muted);padding:0 0 16px}
.analysis-summary strong {color:var(--ink);font-weight:620;font-size:16px}
.scroll-table {max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.scroll-table table {min-width:650px}
.scroll-table td small {display:block;color:var(--muted)}
.delta td:first-child {width:34%}
.delta td:not(:first-child) {white-space:nowrap}
.section-title {margin:28px 0 12px}
.prose {max-width:80ch}
.prose p {line-height:1.85;margin:9px 0 16px}
.prose h2 {margin:27px 0 12px}
.prose h3 {margin:17px 0 6px}
.prose a,.author-link,.peer-list article>a:not(.button) {text-decoration:underline}
.back {display:inline-flex;align-items:center;gap:4px;font-size:13px;margin:24px 0 12px}
.book-head {display:grid;grid-template-columns:minmax(0,1fr);align-content:center;row-gap:22px;padding:clamp(22px,3vw,42px);background:var(--jacket);border-radius:5px}
.book-head.illustrated {grid-template-columns:minmax(0,1fr) auto;column-gap:clamp(18px,4vw,56px);grid-template-rows:auto auto}
.book-head h1 {font-size:clamp(30px,3vw,44px);line-height:1.3;letter-spacing:-.02em}
.book-heading {align-self:end;min-width:0}
.book-byline {display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;margin-top:10px;color:var(--muted);font-size:14px}
.book-byline>*+* {padding-inline-start:12px;border-inline-start:1px solid var(--line-dark);line-height:1.12}
.book-byline .book-state {color:var(--forest)}
.book-head .cover.large {grid-column:2;grid-row:1 / 3;align-self:center;width:clamp(94px,8vw,124px);height:auto;aspect-ratio:3/4;box-shadow:2px 5px 12px #17120f26}
.book-actions {align-self:start;font-size:13px;gap:10px}
.book-actions .bookmark {background:var(--action);color:var(--on-action);border-color:var(--action)}
.book-actions .bookmark:hover {background:var(--action-hover);color:var(--on-action)}
.book-actions .bookmark[aria-pressed=true] .icon {fill:currentColor}
.book-tabs {margin:8px 0 25px}
.book-tabs a {min-height:42px}
.book-body {display:grid;grid-template-columns:minmax(0,1.65fr) minmax(250px,1fr);column-gap:clamp(24px,4vw,64px);align-items:start}
.book-body.one-column {grid-template-columns:minmax(0,72ch)}
.book-body h2 {font-size:20px;line-height:1.5}
.book-reading {min-width:0}
.book-reading>section+section {margin-top:25px}
.synopsis,blockquote {white-space:pre-line;line-height:1.85;margin:10px 0 0;font-size:16px;max-width:72ch;overflow-wrap:anywhere}
.intro-keywords {display:flex;align-items:center;flex-wrap:wrap;gap:4px 13px;margin-top:9px;font-size:13px}
.intro-keywords>span {color:var(--muted);font-size:12px}
.intro-keywords a {color:var(--forest);text-decoration:underline;text-decoration-color:var(--line-dark)}
.intro-keywords a:hover {text-decoration-color:currentColor}
.book-numbers {display:flex;gap:16px 24px;align-items:start;flex-wrap:wrap;margin:10px 0 0;padding-block:13px;border-block:1px solid var(--line)}
.book-numbers dd {font-size:clamp(16px,1.6vw,20px);font-weight:600;line-height:1.45}
.book-numbers dt {font-size:13px}
.chapter-update,.book-tags,.fact-date {color:var(--muted);font-size:13px}
.chapter-update {margin-top:10px}
.chapter-update .icon {width:14px;height:14px;margin-right:5px}
.chapter-update time {white-space:nowrap}
.book-tags {display:flex;gap:10px;flex-wrap:wrap;margin-top:6px;color:var(--ink)}
.book-tags>span,.book-section-title a,.record-history {color:var(--muted);font-size:13px}
.fact-date {display:block;margin-top:4px;font-weight:400}
.book-context {grid-column:2;grid-row:1 / span 2;min-width:0;border-inline-start:1px solid var(--line);padding-inline-start:clamp(20px,2.5vw,38px)}
.observation-name {margin-top:8px}
.observation-date,.length-comparison>p,.length-limits {font-size:12px;color:var(--muted)}
.observation-date {margin-top:2px}
.observation-facts,.length-key {margin:12px 0 0}
.observation-facts>div,.length-key>div {display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-block:5px}
.observation-facts dt {flex:none}
.observation-facts dd {margin:0;text-align:end}
.observation-facts dd small {display:inline;font-size:12px}
.record-history {display:inline-flex;align-items:center;min-height:36px}
.length-comparison {margin:18px 0 0;padding-top:16px;border-top:1px solid var(--line)}
.length-comparison figcaption {font-weight:650;font-size:16px}
.length-comparison>p {margin-top:4px}
.length-axis {position:relative;height:3px;margin:23px 5px 8px;background:var(--line-dark)}
.length-axis i {position:absolute;top:50%;transform:translate(-50%,-50%)}
.book-mark,.length-key>div:first-child dt::before {background:var(--rust);width:9px;height:9px;border-radius:50%}
.median-mark,.length-key>div:last-child dt::before {width:2px;height:14px;background:var(--ink)}
.length-limits {display:flex;justify-content:space-between;gap:10px}
.length-key dt {display:inline-flex;align-items:center;gap:7px;font-size:13px}
.length-key dt::before {content:"";display:inline-block}
.length-key dd {margin:0;font-size:14px}
.book-section-title {display:flex;justify-content:space-between;align-items:baseline;gap:14px}
.book-section-title a {color:var(--forest);white-space:nowrap}
.book-section-title .icon,.record-history .icon,.related-books li>a>.icon {width:14px;height:14px}
.related-books {grid-column:1;min-width:0;margin-top:25px}
.related-books ul,.book-sources ul {list-style:none;padding:0;margin:6px 0 0}
.related-books li+li {border-top:1px solid var(--line)}
.related-books li a {display:flex;align-items:center;gap:12px;padding:9px 0}
.related-books li a:hover strong {text-decoration:underline}
.related-books .cover {width:31px;height:43px;flex:none}
.related-books strong {font-size:15px;font-weight:550;overflow-wrap:anywhere}
.related-books small {display:block;color:var(--muted);font-size:12px}
.related-books li>a>.icon {margin-left:auto;color:var(--muted)}
.book-sources {margin-top:25px;border-block:1px solid var(--line-dark)}
.book-sources summary {display:flex;gap:10px;align-items:center;padding:13px 0;color:var(--ink);list-style:none}
.book-sources summary::-webkit-details-marker {display:none}
.book-sources summary>span {font-size:12px;color:var(--muted)}
.book-sources summary .icon {margin-inline-start:auto;width:15px;height:15px}
.book-sources[open] summary .icon {transform:rotate(90deg)}
.book-sources>p {font-size:13px;color:var(--muted);margin:0 0 8px}
.book-sources dl {margin:0 0 10px}
.book-sources dl>div {display:grid;grid-template-columns:minmax(125px,1fr) 2fr;gap:16px;border-top:1px solid var(--line);padding:10px 0}
.book-sources dt,.book-sources dd {font-size:13px;margin:0}
.book-sources ul {margin:0}
.book-sources li+li {margin-top:8px}
.book-sources li small {display:block;color:var(--muted);font-size:12px}
.facts {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;margin:8px 0}
.facts>div {border-bottom:1px solid var(--line);padding:9px 0 10px}
dt {font-size:12px;color:var(--muted)}
dd {margin:3px 0 0;overflow-wrap:anywhere;font-size:14px}
dd>small {display:block;color:var(--muted);font-size:12px}
.peer-list {border-top:1px solid var(--line-dark)}
.peer-list article {display:flex;gap:15px;align-items:center;justify-content:space-between;padding:14px 8px;border-bottom:1px solid var(--line)}
.peer-list .button {flex:none}
.chart {max-width:850px;margin:16px 0 0;background:var(--white);border:1px solid var(--line)}
.chart svg {display:block;width:100%}
.grid-line {stroke:var(--line);stroke-width:1}
.trend-line {stroke:var(--forest);stroke-width:2;pointer-events:none}
.trend-dot {fill:var(--rust);stroke:var(--white);stroke-width:1}
.chart text {fill:var(--muted);font:12px var(--sans)}
.evidence-summary {margin:18px 0 7px;color:var(--muted);font-size:13px}
tbody tr:target {background:var(--rust-soft)}
.compare-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,4vw,50px)}
.compare-grid article {border-top:2px solid var(--ink);padding:16px 0}
.compare-grid h2 {font-size:24px;margin-top:12px}
.single {grid-template-columns:1fr}
@media(min-width:1600px) {.wrap{width:min(1300px,calc(100% - 120px))}}
@media(max-width:1150px) and (min-width:901px) {
  .sidebar{width:172px}.workspace{margin-inline-start:172px}.mast{padding-inline:12px}
  .wrap{width:calc(100% - 48px)}.series-controls{gap:12px}.series-controls .field{min-width:110px}
}
@media(max-width:900px) {
  .sidebar{position:relative;inset:auto;width:100%;border:0;border-bottom:1px solid var(--line)}
  .workspace{margin:0}.wrap{width:calc(100% - 40px)}
  .mast{display:grid;grid-template-columns:1fr auto;align-items:center;padding:12px 20px 0;gap:8px 12px}
  .brand{margin:0}.appearance{grid-column:2;grid-row:1;margin:0}
  nav{grid-column:1/-1;grid-row:2;margin:0;flex-direction:row;gap:7px;flex-wrap:wrap}
  nav a,nav a[data-nav=sources]{font-size:13px;padding:8px 9px;border-radius:5px 5px 0 0}
  nav a[data-nav=library]{margin-top:0}nav a .icon{display:none}
  .query-rail{flex-wrap:wrap;gap:4px 20px}.date-controls{padding:6px 0}
  .origin-col{width:19%}.pos-col{width:51px}.state-col{width:77px}
  th,td{padding-inline:8px}.series-controls .field{min-width:115px}.date-controls select{max-width:161px}
}
@media(max-width:740px) {
  .wrap{width:calc(100% - 32px)}.mast{padding:11px 16px 0;gap:7px}
  .brand{font-size:18px}.seal{height:31px;width:28px;font-size:19px}
  nav{display:flex;gap:2px;justify-content:space-between;flex-wrap:nowrap}
  nav a{font-size:13px;padding:9px 6px}nav a[data-nav=sources],nav a[data-nav=library]{display:none}
  .appearance button{padding:4px 8px;min-height:28px}.appearance button span{display:none}
  .hero{padding:25px 0 20px;gap:12px}.hero p{font-size:13px;margin-top:7px}
  .folio{gap:4px}.folio .cover{width:30px;height:42px}.folio a:nth-child(n+3){display:none}

  .state-tabs{gap:17px}.state-tabs a{font-size:13px;padding:10px 0}
  .query-rail{align-items:flex-start;gap:0}.date-controls{flex:1 0 100%;border-top:1px solid var(--line);justify-content:space-between;flex-wrap:wrap;gap:5px}
  .date-controls .field>span{font-size:11px}.date-controls .field{gap:4px}.date-controls input[type=date]{width:132px}
  .toolbar{flex-wrap:wrap;gap:7px;margin:12px 0}.search{max-width:none;flex-basis:100%;min-width:0}
  .toolbar>button,.compact-field select{font-size:13px;min-height:34px}.toolbar .save-filter{padding-inline:3px}
  .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.advanced,.calendar{padding:13px 10px}
  .results-heading{margin:19px 0 9px;flex-wrap:wrap}.results-heading>div,.result-tools{gap:7px}
  h2{font-size:21px}.count{font-size:12px}.switch a{padding:5px 7px}.switch a span{display:none}
  .sort-label{gap:0}.sort-label>.icon{display:none}.sort-label select{font-size:12px;max-width:85px}
  .rank-table .origin-col,.rank-table .state-col,.rank-table .met,.rank-table .metric-head{display:none}
  .rank-table .pick-col{width:21px;padding-inline:2px}.rank-table .pos-col{width:34px;padding-inline:2px}
  .desktop-term{display:none}
  .rank-table .numeric{width:65px;padding:6px 4px}.rank-table .fav-col{width:31px;padding-inline:0}
  .rank-table td{padding:8px 4px;height:65px}.rank-table th{padding:7px 4px;font-size:11px}
  .rank-table td.numeric{font-size:13px}.pos{font-size:15px}.work-title{font-size:15px}
  .mobile-origin{display:block;font-size:11px;line-height:1.4;margin-top:1px}.byline{font-size:11px}
  .fav-col .icon-button{width:29px;padding:4px}
  .reading-row{grid-template-columns:46px minmax(0,1fr) 29px;gap:8px;padding:13px 1px;align-items:start}
  .reading-pos{grid-column:1;grid-row:2;flex-direction:row;justify-content:center}
  .reading-pos>span{font-size:13px}.reading-row>.art{grid-column:1;grid-row:1}
  .reading-row .cover{width:46px;height:63px}.reading-text{grid-column:2;grid-row:1 / 3}
  .reading-text .work-title{font-size:18px}.reading-text p{font-size:13px;margin:4px 0}.reading-text small{font-size:11px}
  .reading-facts{grid-column:2 / 4;grid-row:3;flex-direction:row;gap:10px;align-items:center}
  .reading-facts strong{font-size:13px}.reading-row>.bookmark{grid-column:3;grid-row:1;padding:5px;width:28px}
  .calendar{grid-template-columns:1fr}.calendar .month{max-width:340px}
  .series-toggle{display:flex;width:100%;justify-content:space-between;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;padding:9px 0}
  .series-toggle span{font-size:12px;color:var(--forest)}.series-toggle .icon{width:14px;height:14px}
  .series-controls{display:none}.series-controls.open{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:12px 0;border-top:1px solid var(--line)}
  .switch .view-short{display:inline;font-weight:500;font-size:12px}.switch a{gap:3px;min-height:31px;padding:4px 6px}.switch .icon{width:14px;height:14px}
  .series-controls .field{min-width:0}.series-controls select{width:100%}
  .analysis-tabs{gap:16px;overflow:auto}.analysis-tabs a{font-size:13px}
  .endpoints{gap:8px;padding:10px}.endpoints .field input{width:135px}.endpoints>div{min-width:0}
  .book-body,.book-body.one-column{grid-template-columns:minmax(0,1fr);gap:22px}
  .book-head{padding:19px;row-gap:16px}.book-head h1{font-size:clamp(25px,5.8vw,33px)}
  .book-head.illustrated{column-gap:12px}.book-head .cover.large{grid-row:1;width:65px;align-self:start}
  .book-actions{grid-column:1/-1;gap:7px}.book-actions button{min-height:36px}
  .book-byline{font-size:13px;gap:5px 7px;margin-top:8px}.book-byline>*+*{padding-inline-start:7px}
  .book-context{grid-column:1;grid-row:auto;border-inline-start:0;padding-inline-start:0;border-top:1px solid var(--line);padding-top:17px}
  .related-books{margin-top:0}.book-context+.related-books{border-top:1px solid var(--line);padding-top:17px}
  .book-numbers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .book-sources dl>div{grid-template-columns:1fr;gap:5px}.book-sources summary{flex-wrap:wrap}
  .compare-grid h2{font-size:19px}.peer-list article{padding-inline:0}.prose p{font-size:14px}
  main{padding-bottom:26px}.bottom-actions>a{font-size:12px}.bottom-actions{gap:7px}
}
@media(max-width:365px) {
  .wrap{width:calc(100% - 22px)}.folio{display:none}.hero:has(.folio){display:block}
  .state-tabs,.analysis-tabs{gap:12px}.rank-table .pos-col{width:30px}.rank-table .numeric{width:58px}
  .save-filter .icon{display:none}.date-controls select{max-width:130px}
}
@media(prefers-reduced-motion:no-preference) {
  .folio a{transition:transform .18s ease-out}
  .switch a,nav a,button{transition:background-color .13s ease-out,color .13s ease-out}
}
.period-link[aria-current=true] {color:var(--ink);font-weight:650}
.endpoints .period-link {display:inline-flex;align-items:center;min-height:36px}
.endpoints .field+.field {margin-top:5px}
.analysis-summary {align-items:center;padding:5px 0 15px}
.analysis-summary h2,.report-summary h2 {margin-bottom:5px;color:var(--ink)}
.analysis-summary details {max-width:50ch}
.analysis-summary summary {text-align:right}
.single-period {color:var(--muted);font-size:14px;margin-bottom:14px}
.rise {color:var(--forest)} .fall {color:var(--rust)}
.topic-table th:not(:first-child),.topic-table td:not(:first-child),
.report-table th:not(:first-child),.report-table td:not(:first-child),
.delta th:not(:first-child),.delta td:not(:first-child) {text-align:right}
.topic-table,.report-table {margin-block:12px 19px}
.bar-track {display:inline-block;vertical-align:middle;width:min(12vw,145px);margin-right:12px}
.bar-track i {display:block;height:5px;background:var(--forest);border-radius:3px}
.report-controls {display:flex;align-items:flex-end;gap:20px;border-block:1px solid var(--line);padding:18px 0;flex-wrap:wrap}
.report-controls .switch {align-self:flex-end}.report-controls .field select {min-width:138px}
.report-summary {padding:22px 0 8px}.report-summary>p {margin-top:7px}
.report-summary strong {font-weight:650}
.related-tags {display:flex;gap:7px 16px;flex-wrap:wrap;margin-bottom:25px}
.related-tags a {padding:4px 0;color:var(--forest);font-size:14px}.related-tags span{color:var(--muted);font-size:12px;margin-left:4px}
.report-lead {display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,36%);align-items:center;gap:22px;padding:18px 0 8px}
.report-lead .report-summary {padding:0}
.report-trend {margin:0;padding:9px 11px 5px;border-radius:8px;background:var(--tint)}
.report-trend figcaption {font-size:12px;color:var(--muted);margin-left:4px}
.report-trend svg {width:100%;max-height:116px;display:block}
.report-trend text {font:10px var(--sans);fill:var(--muted)}
.report-trend .trend-dot {fill:var(--forest);stroke:var(--tint);stroke-width:1.2px}
.report-trend a:hover .trend-dot,.report-trend a:focus-visible .trend-dot {fill:var(--rust);stroke:var(--ink)}
.analysis-summary .insight {margin-top:7px;color:var(--ink);font-size:14px}
.insight a {color:var(--forest);text-decoration:underline}
.source-notes>details {padding:12px 0;border-bottom:1px solid var(--line)}
.single-reading {margin:15px 0;padding:12px 16px;background:var(--tint);border-radius:6px}
.scroll-table td :is(.mobile-period,.mobile-values) {display:none}
.report-entry summary {color:var(--ink);overflow-wrap:anywhere}
.report-entry summary:hover,.report-entry[open] summary {color:var(--forest)}
.entry-proof {display:flex;align-items:center;flex-wrap:wrap;gap:5px 13px;margin:7px 0 3px;font-size:12px;color:var(--muted)}
.entry-proof span {flex-basis:100%;overflow-wrap:anywhere}
.topic-table table,.report-table table {min-width:0}
.scroll-table .delta {min-width:690px}
code {font-family:var(--sans);font-variant-numeric:tabular-nums}
@media(max-width:740px) {
  .endpoints {gap:7px;align-items:flex-end}.endpoints select {width:125px}.endpoints .field+.field select {width:132px}
  .mast {grid-template-columns:1fr auto auto}
  .mast .appearance{grid-column:3}.mobile-search{display:grid;place-items:center;grid-column:2;grid-row:1;width:35px;height:35px;color:var(--muted)}
  .mobile-search svg{width:19px;height:19px}
  .analysis-summary details{width:100%}.analysis-summary summary{text-align:left}
  .report-controls{gap:10px 14px}.report-controls .field select{min-width:115px}
  .report-table th,.topic-table th{white-space:normal}.topic-table th,.report-table th,.report-table td{padding:8px 5px}
  .report-table td:first-child{min-width:80px}.bar-track{display:none}
  .report-lead{grid-template-columns:1fr;gap:14px}
  .report-trend svg{max-height:108px}
  .scroll-table .delta{min-width:0;table-layout:fixed}
  .delta :is(.pos-range,.value-range,.growth-col,.move-col){display:none}
  .delta.growth .growth-col,.delta.move .move-col,.delta.arrivals .arrival-col{display:table-cell;width:27%;white-space:normal}
  .delta td:first-child {width:auto}
  .delta.growth .growth-col {width:34%}
  .scroll-table td .mobile-period,.scroll-table td .mobile-values {display:block;font-size:12px;line-height:1.45;margin-top:2px}
}
