:root {
  color-scheme: light;
  --paper: #f7f7f1;
  --ink: #192a26;
  --muted: #50635a;
  --line: #cdd4c8;
  --green: #155c48;
  --tint: #e8eee3;
  font-family:
    "Source Sans 3",
    Segoe UI,
    Arial,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--green);
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration: underline;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #b56b00;
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 0.5rem;
  top: -5rem;
  padding: 0.6rem;
  background: white;
}
.skip:focus {
  top: 0.5rem;
}
header {
  border-bottom: 1px solid var(--line);
}
.bar,
main {
  max-width: 74rem;
  margin: auto;
  padding: 0 clamp(1rem, 5vw, 4.5rem);
}
.bar {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  gap: 2.3rem;
}
.brand {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  color: var(--ink);
  font:
    600 1.5rem Georgia,
    serif;
  text-decoration: none;
}
.emblem {
  font: 2rem Georgia;
  color: var(--green);
}
nav,
.tabs,
.toolbar,
.meta,
.searchline,
.mark,
form[role="search"] {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.bar nav {
  align-self: stretch;
  gap: 1.3rem;
}
.bar nav a {
  display: flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  padding-top: 3px;
}
.bar nav [aria-current="page"] {
  color: var(--ink);
  border-color: var(--green);
  font-weight: 650;
}
.exit {
  margin-left: auto;
}
.exit button {
  background: transparent;
}
.kicker,
.meta,
small,
.back {
  color: var(--muted);
  font-size: 0.9rem;
}
.kicker {
  margin: 0 0 0.65rem;
  font-weight: 650;
}
.back {
  display: inline-block;
  margin-bottom: 2rem;
}
main {
  padding-top: clamp(2.2rem, 6vw, 4.5rem);
  padding-bottom: 5rem;
}
h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}
h1,
h2,
h3 {
  font-family: "PT Serif", Georgia, serif;
  font-weight: 500;
  line-height: 1.13;
}
h1 {
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  letter-spacing: -0.045em;
  margin: 0 0 2rem;
}
.long {
  font-size: clamp(2.3rem, 4.5vw, 4.4rem);
  max-width: 24ch;
}
h2 {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  margin: 0.6rem 0;
}
h3 {
  font-size: 1.45rem;
}
p,
dd,
.readable,
blockquote {
  line-height: 1.6;
  max-width: 78ch;
}
input,
select,
button {
  font: inherit;
  color: var(--ink);
  padding: 0.6rem 0.8rem;
  min-height: 2.65rem;
  background: #fff;
  border: 1px solid #9daaa0;
  border-radius: 4px;
}
button {
  cursor: pointer;
  font-weight: 600;
}
button:hover {
  background: var(--tint);
}
input[type="search"] {
  min-width: 0;
}
.primary {
  color: white;
  background: var(--green);
  border-color: var(--green);
}
.primary:hover {
  background: #104434;
}
.stats {
  display: flex;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 1.3rem 0;
  margin-bottom: 2rem;
  gap: clamp(1rem, 8vw, 7rem);
}
.stats div {
  display: grid;
  gap: 0.1rem;
}
.stats b {
  font:
    2.5rem Georgia,
    serif;
}
.stats span {
  color: var(--muted);
  font-size: 0.9rem;
}
.toolbar,
.mark,
.meta,
.tabs,
.searchline {
  flex-wrap: wrap;
}
.toolbar {
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.tabs {
  gap: 0.1rem;
}
.tabs a {
  font-size: 0.92rem;
  padding: 0.55rem 0.75rem;
  text-decoration: none;
  color: var(--muted);
}
.tabs [aria-current="true"] {
  border-radius: 3px;
  background: var(--tint);
  color: var(--ink);
  font-weight: 650;
}
.entry,
.empty,
details {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0;
}
.entry h2 a {
  color: var(--ink);
  text-decoration: none;
}
.entry h2 a:hover {
  text-decoration: underline;
}
.entry p {
  margin: 0.5rem 0;
}
.meta {
  gap: 1.3rem;
  margin: 0.3rem 0 0.6rem;
}
.empty {
  background: var(--tint);
  border-left: 3px solid var(--green);
  padding: clamp(1.25rem, 4vw, 2.5rem);
}
.empty p,
.note {
  color: var(--muted);
}
.searchline,
.mark {
  margin-bottom: 1.5rem;
}
.searchline input {
  width: min(32rem, 65vw);
}
.pages {
  justify-content: center;
  padding: 1.5rem 0;
}
.rows {
  list-style: none;
  padding: 0;
}
.rows li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.alert {
  border-left: 3px solid #99611a;
  padding: 1rem 1.25rem;
  background: #f4ead7;
}
.alert p {
  margin: 0.3rem 0;
}
.stack {
  display: grid;
  gap: 0.6rem;
  max-width: 28rem;
}
.stack button {
  margin-top: 0.7rem;
}
.login {
  max-width: 27rem;
  margin: 2rem auto;
}
.login h1 {
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--ink);
}
blockquote {
  margin: 1rem 0;
  padding: 0.2rem 1.3rem;
  border-left: 3px solid #92a89a;
  color: #40564b;
}
details summary {
  cursor: pointer;
  font-weight: 600;
}
details[open] summary {
  margin-bottom: 1rem;
}
dt {
  color: var(--green);
  font-weight: 650;
  margin-top: 1.1rem;
}
dd {
  margin: 0.2rem 0 0;
}
.citation {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.reason {
  font-size: 1.08rem;
}
.version {
  scroll-margin: 1rem;
}
.proposal-tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: .6rem; }
.proposal-filters { margin: 1.25rem 0; }
.filter-line, .filter-fields { display: grid; gap: .75rem 1rem; align-items: end; }
.filter-line { grid-template-columns: minmax(12rem, 1.4fr) minmax(12rem, 1fr) auto; }
.filter-fields { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.filter-line label, .filter-fields label { display: grid; gap: .3rem; color: var(--muted); font-size: .93rem; }
.filter-line input, .filter-line select, .filter-fields select { min-width: 0; width: 100%; }
.filter-options, .score-breakdown { padding: .8rem 0; }
.filter-options { border: 0; }
.filter-options summary, .score-breakdown summary { color: var(--green); }
.geography-filter { margin: 1rem 0; padding: .7rem 1rem; border: 1px solid var(--line); min-width: 0; }
.geography-filter legend { font-weight: 650; }
.geography-filter input[type=checkbox] { min-height: auto; width: 1rem; height: 1rem; accent-color: var(--green); }
.geography-filter > label { display: block; margin: .5rem 0; }
.geography-filter input[type=search] { width: min(100%, 26rem); }
.territory-list { max-height: 10rem; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: .4rem 1rem; margin: .65rem 0; padding: .5rem 0; border-block: 1px solid var(--line); }
.filter-actions { display: flex; align-items: center; gap: 1rem; }
.proposal-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: .5rem 1.5rem;
}
.proposal-heading h2 { max-width: 36ch; margin: 0; text-wrap: pretty; }
.proposal-heading .proposal-rating { margin: 0; align-self: start; }
.proposal-heading .proposal-rating[open] { grid-column: 1 / -1; }
.proposal-rating summary { color: var(--green); font-size: .88rem; }
.proposal-rating summary b { display: block; font: 500 1.95rem/1.2 Georgia, serif; font-variant-numeric: tabular-nums; }
.proposal-rating summary small { font: .85rem "Source Sans 3", "Segoe UI", sans-serif; color: var(--muted); }
.economic-effect { margin: .8rem 0; padding: .65rem 1rem; border-inline-start: 3px solid var(--green); background: var(--tint); }
.economic-heading, .economic-evidence { display: block; font-size: .84rem; color: var(--muted); }
.economic-effect p { margin: .15rem 0; }
.economic-effect .economic-detail { font-size: .94rem; margin-top: .35rem; }
.idea-marks { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: .75rem 0 0; }
.idea-marks button { font: inherit; font-size: .91rem; min-height: 2.25rem; padding: .35rem .7rem; }
.idea-marks button[aria-pressed=true] { color: var(--paper); background: var(--green); border-color: var(--green); }
.idea-marks .clear-mark { background: transparent; border-color: transparent; text-decoration: underline; }
.proposal-entry .proposal-lead { max-width: 72ch; font-size: 1.07rem; line-height: 1.55; }
.proposal-entry .meta { margin-top: .8rem; font-size: .9rem; }
.paper-finding details, .proposal-version details:not(.proposal-version) { padding: .6rem 0; }
.filter-basis { font-size: .9rem; }
.proposal-draft { max-width: 72ch; padding: .8rem 1rem; background: var(--tint); }
.proposal-title { margin-bottom: .6rem; text-wrap: pretty; }
.proposal-intro { max-width: 64ch; font-size: clamp(1.12rem, 2.4vw, 1.35rem); line-height: 1.55; }
.proposal-version { max-width: 80ch; overflow-wrap: anywhere; }
.proposal-result, .proposal-limit { max-width: 72ch; line-height: 1.55; }
.proposal-result strong { color: var(--green); }
.proposal-limit { color: var(--muted); }
.proposal-tools { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 2rem; margin: 1.2rem 0; }
.proposal-tools .mark { margin: 0; }
.proposal-tools .proposal-rating { margin: 0; }
.proposal-rating[open] { flex-basis: 100%; }
.proposal-provenance, .proposal-places { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; }
.proposal-provenance { margin: .8rem 0; }
.proposal-places span { border: 1px solid var(--line); border-radius: .25rem; padding: .12rem .45rem; }
.proposal-disclosure { border-top: 1px solid var(--line); margin-top: .65rem; }
.score-evidence:not(:target) { display: none; }
.proposal-provenance .evidence-work { border: 0; padding: 0; }
@media (max-width: 660px) {
  main:has(.proposal-title) { padding-top: 1.25rem; }
  .back:has(+ .proposal-title) { margin-bottom: 1rem; }
  .proposal-title.long { font-size: 1.95rem; max-width: none; }
  .proposal-intro { margin-top: .65rem; }
  .proposal-tools { gap: .35rem 1rem; }
}
.proposal-section { margin: 1.6rem 0; }
.proposal-section h2 { margin: 0 0 .7rem; }
.proposal-section h3 { margin: 1rem 0 .35rem; }
.proposal-section p { margin: .45rem 0 .75rem; }
.trial-panel { padding: 1.15rem clamp(1rem, 3vw, 1.65rem); background: var(--tint); border-left: 3px solid var(--green); }
.evidence-work { padding: .15rem 0 1rem; border-top: 1px solid var(--line); }
.paper-finding { margin: .8rem 0; }
.paper-finding details, .evidence-work details { border: 0; }
.proposal-version .score-ref { white-space: normal; }
.version-history { margin-top: 2rem; }
.version-history summary, .proposal-version details summary { color: var(--green); }
@media (max-width: 660px) {
  .proposal-heading { grid-template-columns: minmax(0, 1fr); }
  .proposal-heading .proposal-rating { width: fit-content; }
  .proposal-rating summary b { display: inline; font-size: 1.25rem; }
  .idea-marks button { min-height: 44px; }
  .proposal-entry .meta { gap: .25rem .8rem; }
}
.score-line { color: var(--green); }
.score-line strong { font: 600 1.6rem Georgia, serif; }
.score-breakdown { margin-top: .65rem; }
.score-breakdown dt:first-child { margin-top: .4rem; }
.score-ref { white-space: nowrap; font-size: .9em; margin-inline-start: .3rem; }
.pilot-rating { border-left: 3px solid var(--green); padding: .35rem 1.2rem; margin: 1rem 0 1.6rem; background: var(--tint); }
.with-collection { grid-template-columns: 1fr 1.35fr 1.1fr auto; }
#territory-options { margin-top: .7rem; border: 0; padding: 0; }
#territory-options label { display: block; margin: .45rem 0; }
#territory-options:disabled { color: var(--muted); }
@media(max-width: 760px) { .filter-line { grid-template-columns: 1fr; } }
.readable {
  overflow-wrap: anywhere;
}
.library-tabs, .reading-links {
  display: flex;
  gap: .65rem 1.2rem;
  align-items: baseline;
  flex-wrap: wrap;
  margin: 1rem 0;
}
.reading-links {
  font-size: .94rem;
}
.readable p {
  margin: 1em 0;
}
.rows,
code {
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .bar {
    flex-wrap: wrap;
    gap: 0 1rem;
    padding-top: 0.65rem;
  }
  .bar nav {
    order: 3;
    width: 100%;
    gap: 1rem;
    overflow-x: auto;
  }
  .bar nav a {
    padding: 0.7rem 0;
  }
  .bar .exit {
    margin-left: auto;
  }
  .toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .stats {
    gap: 1.1rem;
    justify-content: space-between;
  }
  .stats b {
    font-size: 2rem;
  }
  .stats span {
    font-size: 0.78rem;
  }
  .tabs a {
    padding: 0.55rem 0.45rem;
  }
  .rows li {
    flex-wrap: wrap;
  }
  .brand {
    font-size: 1.3rem;
  }
}
.formatted-article { overflow-wrap: anywhere; }
.formatted-article h2, .formatted-article h3, .formatted-article h4 { margin: 1.65em 0 .55em; line-height: 1.25; }
.formatted-article figure { margin: 1.7em 0; }
.formatted-article figure img, .formatted-article img { display: block; max-width: 100%; height: auto; margin: .65rem auto; }
.formatted-article figcaption { font-size: .94em; line-height: 1.55; }
.formatted-article figcaption p { margin: .35em 0; }
.formatted-article .article-table { overflow-x: auto; margin: 1rem 0; }
.formatted-article table { border-collapse: collapse; font-size: .93em; }
.formatted-article td, .formatted-article th { border: 1px solid #bec7c5; padding: .35em .6em; vertical-align: top; }
.formatted-article math { overflow-x: auto; max-width: 100%; }
.searchline select { min-width: 0; max-width: 100%; }

.system-overview { font-variant-numeric: tabular-nums; }
.system-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem 2rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.system-heading h1 { margin: 0; font-size: clamp(2.65rem, 6vw, 4.5rem); }
.snapshot, .section-note, .journal-list span { font-size: .94rem; color: var(--muted); }
.snapshot time { white-space: nowrap; }
.library-totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.library-totals a { color: var(--ink); text-decoration: none; padding: 1.3rem .6rem 1.3rem 0; display: grid; gap: .3rem; align-content: start; }
.library-totals a + a { padding-left: clamp(.65rem, 2vw, 2rem); border-left: 1px solid var(--line); }
.library-totals strong { font: 500 clamp(2.4rem, 4vw, 3.5rem)/1 Georgia, serif; }
.library-totals span { color: var(--green); text-decoration: underline; text-underline-offset: .2em; }
.current-work { margin: 1.35rem 0 2rem; padding: 1.1rem 1.35rem; background: var(--tint); border-left: 3px solid var(--green); }
.current-work h2, .status-panel h3 { margin: 0 0 .4rem; font-family: inherit; font-size: .96rem; font-weight: 650; line-height: 1.4; }
.current-work h2 { color: var(--green); }
.current-work p, .status-panel p { margin: .45rem 0; }
.current-work p + p { margin-top: .75rem; }
.worker-activity + .worker-activity { border-top: 1px solid #becdbd; margin-top: 1rem; padding-top: .75rem; }
.current-work .notice { border-top: 1px solid #becdbd; padding-top: .55rem; }
.status-columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 5vw, 4rem); }
.status-panel, .status-section { min-width: 0; }
.status-panel h2, .status-section h2 { font-size: clamp(1.65rem, 3vw, 2.15rem); margin: 0 0 .65rem; }
.status-panel h3 { margin-top: .9rem; }
.material-progress { margin-top: .95rem; }
.material-progress > div { display: flex; justify-content: space-between; gap: .55rem; align-items: baseline; }
.material-progress > div span:last-child { white-space: nowrap; color: var(--muted); font-size: .93rem; }
.material-progress b { color: var(--ink); }
.material-progress progress { display: block; width: 100%; height: 6px; margin-top: .45rem; border: 0; border-radius: 3px; overflow: hidden; background-color: var(--line); accent-color: var(--green); }
.material-progress progress::-webkit-progress-bar { background: var(--line); }
.material-progress progress::-webkit-progress-value { background: var(--green); }
.material-progress progress::-moz-progress-bar { background: var(--green); }
.decision-source, .status-guide, .inline-details { font-size: .94rem; }
.decision-source, .retry-list, .inline-details li { overflow-wrap: anywhere; }
.status-guide { display: inline-block; margin-top: .6rem; }
.inline-details, .queue-details { padding: .65rem 0; }
.inline-details { border: 0; }
.inline-details ul, .retry-list { margin: .3rem 0; padding-left: 1.25rem; }
.inline-details li, .retry-list li { margin-bottom: .65rem; line-height: 1.5; }
.status-section { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.4rem; }
.status-section > p { margin: 0 0 .9rem; }
.queue-details summary, .inline-details summary { color: var(--green); }
.queue-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.queue-table th, .queue-table td { border-bottom: 1px solid var(--line); padding: .65rem .45rem; text-align: right; }
.queue-table th:first-child { text-align: left; padding-left: 0; }
.queue-table thead { color: var(--muted); }
.queue-table td span { display: none; }
.retry-list p { margin: .1rem 0; }
.journal-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; padding: 0; list-style: none; }
.journal-list span { display: block; margin-top: .2rem; }
@media (max-width: 660px) {
  .status-columns { grid-template-columns: 1fr; gap: 1.8rem; }
  .library-totals span { font-size: .86rem; line-height: 1.4; overflow-wrap: anywhere; }
  .library-totals a { padding-top: .95rem; padding-bottom: .95rem; }
  .journal-list { grid-template-columns: 1fr; }
  .queue-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .queue-table table, .queue-table tbody { display: block; }
  .queue-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem 1rem; border-bottom: 1px solid var(--line); padding: .7rem 0; }
  .queue-table td, .queue-table th { border: 0; padding: 0; }
  .queue-table th { grid-column: 1 / -1; }
  .queue-table td { display: flex; justify-content: space-between; align-items: baseline; gap: .25rem; }
  .queue-table td span { display: inline; font-size: .84rem; color: var(--muted); }
}
