:root {
  --paper:#f5f3ec;
  --ink:#20322d;
  --muted:#65726a;
  --line:#d6dbd1;
  --green:#153b35;
  --accent:#b4773c;
  --white:#fffef9;
  --serif:"Songti SC","STSong","Noto Serif CJK SC",serif
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  font-size:15px;
  line-height:1.7
}
button,input,textarea {
  font:inherit
}
button,a,input,textarea {
  touch-action:manipulation
}
button {
  cursor:pointer;
  color:inherit;
  border:1px solid var(--line);
  background:transparent;
  border-radius:5px;
  min-height:44px;
  padding:8px 16px
}
button:hover {
  background:#e7ece3
}
button:disabled {
  opacity:.5;
  cursor:wait
}
a {
  color:var(--green);
  text-underline-offset:4px;
  overflow-wrap:anywhere
}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible {
  outline:3px solid #b4773c;
  outline-offset:3px
}
input,textarea {
  border:1px solid var(--line);
  background:var(--white);
  color:var(--ink);
  border-radius:5px;
  padding:10px 12px;
  min-width:0
}
textarea {
  resize:vertical;
  width:100%
}
h1,h2,h3,p {
  margin-top:0
}
h1,h2,h3 {
  font-family:var(--serif);
  font-weight:600
}
h2 {
  font-size:28px;
  line-height:1.4
}
h3 {
  font-size:22px;
  line-height:1.55
}
.wrap {
  max-width:1256px;
  padding:0 44px;
  margin:auto
}
.masthead {
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--ink);
  min-height:112px;
  gap:20px
}
.brand {
  display:flex;
  gap:15px;
  align-items:center;
  text-decoration:none;
  font-family:var(--serif);
  font-size:26px;
  font-weight:700;
  letter-spacing:3px
}
.brand small {
  display:block;
  font:10px/1.5 sans-serif;
  letter-spacing:4px;
  color:var(--muted);
  margin-top:2px
}
.seal {
  background:var(--green);
  color:var(--paper);
  font-size:27px;
  display:grid;
  place-items:center;
  width:46px;
  height:51px;
  border-radius:3px
}
.head-actions {
  display:flex;
  align-items:center;
  gap:14px;
  font-size:12px;
  color:var(--muted)
}
.quiet {
  font-size:13px;
  padding:6px 12px;
  background:transparent
}
.intro {
  display:grid;
  grid-template-columns:1fr 260px;
  gap:40px;
  align-items:end;
  padding:52px 0 44px
}
.eyebrow {
  font-family:inherit;
  font-size:10px;
  font-weight:600;
  letter-spacing:2px;
  color:var(--muted);
  margin-bottom:16px
}
.eyebrow span {
  margin-left:12px;
  letter-spacing:1px
}
.intro h1 {
  font-size:54px;
  line-height:1.22;
  letter-spacing:1px;
  margin-bottom:21px
}
.intro-copy {
  color:var(--muted);
  font-size:14px;
  line-height:1.9;
  margin:0
}
.edition {
  border-left:1px solid var(--line);
  padding:0 0 0 32px;
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:4px
}
.edition-line {
  color:var(--muted);
  font-size:13px
}
.edition strong {
  font:24px var(--serif);
  margin-bottom:13px
}
.primary {
  background:var(--green);
  color:#fff;
  border-color:var(--green)
}
.primary:hover {
  background:#28594d
}
.edition .primary {
  display:flex;
  justify-content:space-between;
  align-items:center
}
.edition small {
  font-size:10px;
  line-height:1.7;
  color:var(--muted);
  margin-top:4px
}
.channels {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line)
}
.channels button {
  text-align:left;
  padding:22px 20px;
  border:0;
  border-left:1px solid var(--line);
  border-radius:0;
  position:relative
}
.channels button:first-child {
  border-left:0
}
.channels span {
  display:block;
  font-size:9px;
  letter-spacing:1.5px;
  color:var(--muted)
}
.channels strong {
  font-family:var(--serif);
  font-size:22px;
  display:block;
  margin:6px 0 2px
}
.channels small {
  color:var(--muted);
  font-size:11px
}
.channels .active {
  background:var(--green);
  color:#fff
}
.channels .active span,.channels .active small {
  color:#c6d6ce
}
.reading-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 265px;
  gap:48px;
  padding:45px 0 60px
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:10px;
  margin-bottom:21px
}
.section-heading h2 {
  margin-bottom:0
}
.section-heading .eyebrow {
  margin-bottom:8px
}
.muted {
  color:var(--muted);
  font-size:12px
}
.filters {
  display:flex;
  align-items:center;
  gap:9px;
  flex-wrap:wrap
}
.filters input[type=search] {
  flex:1;
  min-width:120px;
  font-size:13px
}
.filters label {
  font-size:12px;
  white-space:nowrap;
  display:flex;
  align-items:center;
  gap:5px;
  min-height:44px
}
.context-note {
  font-size:12px;
  color:var(--muted);
  line-height:1.8;
  margin:18px 0;
  padding:0 0 0 12px;
  border-left:2px solid var(--accent)
}
.article {
  border-top:1px solid var(--line);
  padding:25px 0 22px
}
.article h3 {
  margin:8px 0 10px
}
.title-button {
  font:inherit;
  line-height:inherit;
  text-align:left;
  border:0;
  padding:0;
  min-height:0;
  background:transparent
}
.title-button:hover {
  background:transparent;
  color:#59784f
}
.article-summary {
  font-size:13px;
  line-height:1.9;
  color:var(--muted);
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden
}
.article-meta {
  display:flex;
  gap:7px;
  align-items:center;
  flex-wrap:wrap;
  font-size:10px;
  letter-spacing:.3px;
  color:var(--muted)
}
.tag {
  padding:2px 7px;
  background:#e6eadf;
  border-radius:2px;
  color:#395546
}
.tag.warn {
  background:#f2e5ce;
  color:#80582b
}
.article-actions {
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap
}
.article-actions a {
  font-size:12px
}
.article-actions .quiet {
  margin-left:auto
}
.read-marker {
  font-size:11px;
  color:var(--muted)
}
.empty {
  padding:45px 20px;
  text-align:center;
  border:1px dashed var(--line);
  margin:24px 0;
  background:#f9f8f1
}
.empty h3 {
  font-size:23px;
  margin-bottom:10px
}
.empty p {
  font-size:13px;
  color:var(--muted);
  max-width:420px;
  margin:0 auto 20px
}
.empty button {
  margin-top:5px
}
.note-card {
  background:#e9ede3;
  padding:25px 22px;
  border-top:3px solid var(--green)
}
.note-card h3 {
  font-size:23px
}
.note-card ol {
  padding-left:23px;
  margin:0
}
.note-card li {
  padding:0 0 18px 5px;
  font-size:12px
}
.note-card li:last-child {
  padding-bottom:0
}
.note-card strong,.note-card span {
  display:block
}
.note-card span {
  color:var(--muted);
  margin-top:4px
}
.budget-card {
  padding:28px 0;
  border-bottom:1px solid var(--line)
}
.budget-number {
  margin-bottom:10px
}
.budget-number strong {
  font-size:29px;
  font-weight:500;
  font-variant-numeric:tabular-nums
}
.budget-number span {
  font-size:12px;
  color:var(--muted)
}
meter {
  width:100%;
  height:8px;
  display:block;
  accent-color:var(--green);
  margin-bottom:14px
}
.budget-card small {
  font-size:11px;
  color:var(--muted);
  display:block
}
.worker-card {
  padding:22px 0;
  font-size:12px
}
.dot {
  display:inline-block;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--accent);
  margin-right:7px
}
.dot.ok {
  background:#49825e
}
.worker-card p {
  margin-top:9px
}
.footnote {
  border-top:1px solid var(--line);
  padding-top:15px;
  font-size:10px
}
footer {
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:21px 0 32px;
  color:var(--muted);
  font-size:10px;
  letter-spacing:1px
}
dialog {
  border:0;
  background:var(--white);
  color:var(--ink);
  border-radius:9px;
  width:min(840px,calc(100vw - 32px));
  max-height:90dvh;
  padding:28px 38px;
  box-shadow:0 20px 100px #0003;
  overflow-wrap:anywhere
}
dialog::backdrop {
  background:#112a2477;
  backdrop-filter:blur(3px)
}
.dialog-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  border-bottom:1px solid var(--line);
  margin-bottom:22px;
  padding-bottom:14px
}
.dialog-top h2 {
  font-size:24px;
  margin:0
}
.dialog-top .eyebrow {
  margin:0
}
.detail-title {
  font-size:30px;
  margin:14px 0
}
.detail-tools {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:20px 0
}
.report {
  border-top:1px solid var(--line);
  margin-top:28px;
  padding-top:24px
}
.report h3 {
  font-size:23px;
  margin-top:30px;
  margin-bottom:14px
}
.report p {
  font-size:15px;
  line-height:2
}
.paragraph-label {
  display:inline-block;
  font-size:10px;
  line-height:1.6;
  color:var(--muted);
  border:1px solid var(--line);
  border-radius:3px;
  padding:1px 4px;
  margin-right:7px
}
.citation {
  font-size:12px;
  padding-left:6px;
  white-space:nowrap
}
.evidence-form {
  margin-top:20px;
  border-top:1px solid var(--line);
  padding-top:18px
}
.evidence-form summary {
  cursor:pointer;
  min-height:44px;
  font-size:14px
}
.evidence-form label {
  display:block;
  font-size:12px;
  margin:12px 0 5px
}
.evidence-form input {
  width:100%
}
.evidence-form textarea {
  min-height:170px
}
.evidence-form button {
  margin-top:15px
}
.source-row,.job-row {
  border-bottom:1px solid var(--line);
  padding:14px 0;
  font-size:12px
}
.source-row strong {
  font-size:14px
}
.source-row p,.job-row p {
  margin:4px 0
}
.source-row a {
  font-size:11px
}
.board {
  margin:25px 0
}
.board h3 {
  font-size:21px;
  margin-bottom:4px
}
.board ol {
  list-style:none;
  padding:0
}
.board li {
  display:grid;
  grid-template-columns:25px minmax(0,1fr) 55px;
  gap:8px;
  align-items:start;
  padding:12px 0;
  border-bottom:1px solid var(--line);
  font-size:13px
}
.rank {
  font-family:var(--serif);
  color:var(--accent);
  font-size:17px
}
.delta {
  color:var(--muted);
  font-size:11px;
  text-align:right
}
.board .title-button {
  font-size:14px;
  min-height:36px
}
.overlap {
  background:#e9ede3;
  padding:17px;
  font-size:12px
}
.login {
  max-width:440px;
  margin:70px auto 140px
}
.login h1 {
  font-size:42px
}
.login label,.login input {
  display:block;
  width:100%;
  margin-bottom:12px
}
.login .primary {
  width:100%
}
#toast {
  position:fixed;
  bottom:25px;
  left:50%;
  transform:translateX(-50%);
  background:var(--green);
  color:#fff;
  border-radius:5px;
  padding:12px 20px;
  z-index:10;
  max-width:90vw;
  width:max-content;
  font-size:13px;
  box-shadow:0 5px 30px #0002
}
[hidden] {
  display:none!important
}
@media(min-width:1400px) {
  .intro {
    padding-top:65px;
    padding-bottom:55px
  }
}
@media(max-width:900px) {
  .wrap {
    padding:0 26px
  }
  .reading-layout {
    gap:27px;
    grid-template-columns:minmax(0,1fr) 220px
  }
  .channels button {
    padding:18px 13px
  }
  .channels strong {
    font-size:20px
  }
  .channels small {
    font-size:10px
  }
  .intro {
    grid-template-columns:1fr 220px
  }
  .intro h1 {
    font-size:46px
  }
  .note-card {
    padding:22px 17px
  }
}
@media(max-width:680px) {
  .wrap {
    padding:0 20px
  }
  .masthead {
    min-height:88px
  }
  .brand {
    font-size:23px;
    gap:10px
  }
  .seal {
    width:37px;
    height:42px;
    font-size:23px
  }
  .brand small {
    font-size:8px;
    letter-spacing:2px
  }
  .head-actions {
    gap:4px
  }
  #today {
    display:none
  }
  .head-actions .quiet {
    font-size:11px;
    padding:7px 8px
  }
  .intro {
    display:block;
    padding:31px 0 26px
  }
  .intro .eyebrow {
    font-size:8px;
    letter-spacing:1.5px
  }
  .intro .eyebrow span {
    margin-left:4px
  }
  .intro h1 {
    font-size:42px;
    margin-bottom:17px
  }
  .intro-copy {
    font-size:12px
  }
  .desktop {
    display:none
  }
  .edition {
    border-left:0;
    padding:0;
    margin:23px 0 0;
    display:grid;
    grid-template-columns:1fr auto;
    gap:0 12px
  }
  .edition-line {
    font-size:10px
  }
  .edition strong {
    font-size:20px;
    margin:4px 0
  }
  .edition .primary {
    grid-column:2;
    grid-row:1/3;
    align-self:center;
    font-size:12px;
    gap:15px
  }
  .edition small {
    grid-column:1/3;
    font-size:9px;
    margin-top:8px
  }
  .channels {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .channels button {
    padding:15px 12px;
    border-bottom:1px solid var(--line)
  }
  .channels button:nth-child(3) {
    border-left:0;
    border-bottom:0
  }
  .channels button:nth-child(4) {
    border-bottom:0
  }
  .channels strong {
    font-size:20px;
    margin:4px 0
  }
  .channels span {
    font-size:8px
  }
  .channels small {
    font-size:10px
  }
  .reading-layout {
    display:flex;
    flex-direction:column;
    padding:28px 0;
    gap:28px
  }
  .section-heading {
    margin-bottom:15px
  }
  .section-heading h2 {
    font-size:26px
  }
  .filters {
    gap:7px
  }
  .filters input[type=search] {
    width:calc(100% - 70px);
    flex-basis:calc(100% - 70px)
  }
  .filters label {
    min-height:32px;
    margin-right:9px
  }
  .article {
    padding:20px 0
  }
  .article h3 {
    font-size:21px;
    line-height:1.55
  }
  .context-note {
    margin:13px 0;
    font-size:11px
  }
  .sidebar {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px
  }
  .note-card {
    grid-column:1/3
  }
  .note-card ol {
    display:flex;
    gap:22px;
    padding-left:15px
  }
  .note-card li {
    flex:1;
    font-size:11px;
    padding:0
  }
  .note-card h3 {
    font-size:21px
  }
  .budget-card {
    padding:0;
    border:0
  }
  .budget-card .eyebrow {
    font-size:9px;
    margin-bottom:10px
  }
  .budget-number strong {
    font-size:25px
  }
  .budget-number span {
    font-size:10px
  }
  .worker-card {
    padding:0;
    font-size:11px
  }
  .worker-card p,.budget-card small {
    font-size:10px
  }
  .budget-card .muted {
    font-size:10px
  }
  dialog {
    width:calc(100vw - 16px);
    max-height:94dvh;
    padding:19px 20px;
    border-radius:8px
  }
  .detail-title {
    font-size:25px
  }
  .detail-tools {
    gap:6px
  }
  .detail-tools button {
    padding:8px 11px;
    font-size:12px
  }
  .report p {
    font-size:14px
  }
  .report h3 {
    font-size:21px
  }
  .dialog-top h2 {
    font-size:21px
  }
  footer {
    font-size:9px;
    letter-spacing:0
  }
  #toast {
    bottom:max(16px,env(safe-area-inset-bottom));
    font-size:12px
  }
  .empty {
    padding:33px 16px
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior:auto!important
  }
}
/* Reading editions, evidence types and quiet administration. */
.channels {
  grid-template-columns:repeat(6,minmax(0,1fr))
}
.channels button {
  padding:20px 12px
}
.channels strong {
  font-size:20px
}
.channels small {
  font-size:10px
}
.channels span {
  font-size:8px
}
select {
  font:inherit;
  color:var(--ink);
  background:var(--white);
  border:1px solid var(--line);
  border-radius:5px;
  padding:8px;
  max-width:100%;
  min-height:40px
}
.filters select {
  font-size:12px
}
.follow-card {
  padding:28px 0
}
.follow-card h3 {
  font-size:22px
}
.topic-choice {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  font-size:11px;
  padding:7px 0;
  border-bottom:1px solid var(--line)
}
.topic-choice select {
  font-size:11px;
  min-height:36px;
  padding:5px
}
.follow-card button {
  margin-top:15px
}
.selection-reasons {
  font-size:11px;
  color:var(--muted);
  margin:10px 0
}
.selection-reasons summary {
  cursor:pointer;
  min-height:30px
}
.selection-reasons ul {
  padding-left:18px;
  margin:5px 0
}
.selection-reasons pre {
  font:10px/1.8 monospace;
  white-space:pre-wrap;
  overflow-wrap:anywhere
}
.reading-status {
  font-size:11px;
  color:var(--accent)
}
.timeline {
  padding:15px 0;
  border-top:1px solid var(--line)
}
.timeline summary {
  cursor:pointer;
  min-height:40px;
  font-size:15px
}
.timeline-row {
  border-left:2px solid var(--line);
  padding:8px 0 10px 16px;
  margin:4px 0 4px 5px
}
.timeline-row p {
  margin:4px 0;
  font-size:12px
}
.timeline-row .title-button {
  font-size:14px
}
.edition-meta {
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
  font-size:11px;
  color:var(--muted);
  padding-bottom:12px
}
.reading-complete {
  border-top:1px solid var(--line);
  margin-top:25px;
  padding-top:20px;
  display:flex;
  flex-wrap:wrap;
  gap:8px
}
.report-version {
  background:#f2e5ce;
  color:#80582b;
  padding:10px;
  font-size:12px
}
.source-row .warn {
  color:#80582b
}
#searchMetrics {
  font-size:12px
}
.intro .edition strong {
  font-size:22px
}
@media(max-width:1000px) {
  .channels {
    grid-template-columns:repeat(3,minmax(0,1fr))
  }
  .channels button:nth-child(4) {
    border-left:0
  }
  .channels button:nth-child(-n+3) {
    border-bottom:1px solid var(--line)
  }
}
@media(max-width:680px) {
  .channels {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .channels button {
    padding:13px 12px
  }
  .channels button:nth-child(odd) {
    border-left:0
  }
  .channels button:nth-child(even) {
    border-left:1px solid var(--line)
  }
  .channels button:nth-child(-n+4) {
    border-bottom:1px solid var(--line)
  }
  .channels button:nth-child(n+5) {
    border-bottom:0
  }
  .sidebar {
    display:block
  }
  .follow-card {
    margin-top:10px
  }
  .topic-choice {
    font-size:13px
  }
  .topic-choice select {
    font-size:12px
  }
  .intro .edition strong {
    font-size:18px
  }
  .filters select {
    font-size:11px
  }
  .edition-meta {
    font-size:10px
  }
  .timeline-row .title-button {
    font-size:13px
  }
}
