@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Libre+Caslon+Display&display=swap");
:root {
  --ink: #192b27;
  --muted: #65726d;
  --green: #164c3e;
  --acid: #e0f780;
  --line: #dce2de;
  --paper: #fafbf8;
  --panel: #fff;
  --tint: #edf2ea;
  --serif: "Libre Caslon Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--green);
  background: var(--green);
  color: #fff;
  border-radius: 5px;
  padding: 11px 18px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
}
button:hover,
.button:hover {
  background: #23634f;
  text-decoration: none;
}
button[aria-busy="true"] {
  opacity: 0.65;
}
button.secondary,
.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: #b9c9c1;
}
button.secondary:hover,
.button.secondary:hover {
  background: var(--tint);
}
.small {
  font-size: 13px;
  padding: 6px 12px;
}
.text-button {
  background: none;
  border: 0;
  color: var(--green);
  padding: 8px 0;
}
.text-button:hover {
  background: none;
  text-decoration: underline;
}
.danger,
.error {
  color: #a72e33;
}
.muted,
small {
  color: var(--muted);
}
small {
  font-size: 13px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.13em;
  font-weight: 650;
  color: var(--green);
}
.accent {
  color: var(--green);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  line-height: 1.12;
  font-weight: 400;
}
h1 {
  font-family: var(--serif);
  font-size: 56px;
  letter-spacing: -0.02em;
}
h2 {
  font-family: var(--serif);
  font-size: 32px;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 28px 0;
}
.wordmark {
  font-size: 49px;
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 1.1;
}
.wordmark:hover {
  text-decoration: none;
}
.wordmark span {
  color: var(--green);
}
.publication {
  padding: 0 5vw;
}
.topline {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.masthead {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 32px 0;
}
.masthead .wordmark {
  font-size: 65px;
  letter-spacing: -4px;
}
.masthead p {
  margin: 0;
  padding-left: 30px;
  border-left: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.5;
}
.newsroom-link {
  margin-left: auto;
  font-size: 13px;
}
.sections {
  display: flex;
  align-items: center;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  gap: 28px;
  min-height: 59px;
  font-size: 14px;
  flex-wrap: wrap;
}
.sections > a {
  padding: 17px 0;
  white-space: nowrap;
}
.sections .selected {
  color: var(--green);
  box-shadow: 0 2px var(--green);
  font-weight: 700;
}
.search {
  margin-left: auto;
  display: flex;
  width: 175px;
  align-items: center;
}
.search input {
  border: 0;
  background: transparent;
  min-width: 0;
  width: 140px;
  padding: 8px;
  font-size: 13px;
}
.search button {
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 24px;
  padding: 0 5px;
}
.edition-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 45px 0 34px;
}
.edition-heading h2 {
  font-size: 47px;
  margin: 8px 0 0;
}
.edition-number {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--muted);
  padding-bottom: 8px;
}
.front-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 28px;
}
.story-card {
  border-bottom: 1px solid var(--line);
  padding: 0 0 26px;
}
.story-kicker {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.story-kicker > span:first-child {
  color: var(--green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.story-card h2 {
  font-size: 31px;
  margin-bottom: 20px;
}
.story-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #57635d;
}
.story-card.lead {
  grid-row: span 2;
  padding-right: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 0;
}
.lead h1 {
  font-size: 59px;
  line-height: 1.06;
  margin-bottom: 25px;
}
.lead p {
  font-size: 18px;
}
.byline {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.byline > a {
  margin-left: auto;
  font-size: 22px;
}
.editor-note {
  background: var(--green);
  color: white;
  padding: 28px;
  grid-column: 2/4;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 30px;
}
.editor-note .eyebrow {
  color: var(--acid);
  grid-column: 1/-1;
}
.editor-note h2 {
  margin: 12px 0;
  font-size: 36px;
}
.editor-note p {
  font-size: 14px;
  color: #d0dfd6;
  margin-top: 14px;
}
.editor-note > a {
  font-size: 12px;
  grid-column: 1/-1;
  color: var(--acid);
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 2px solid var(--ink);
  margin: 44px 0 28px;
  padding-top: 18px;
}
.section-title h2 {
  margin: 0;
  font-size: 32px;
}
.section-title span {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin: 32px 0;
  font-size: 14px;
}
.principles {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 28px 0;
  margin: 40px 0 0;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--green);
}
.principles b {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  margin-left: 18px;
}
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  border-top: 2px solid var(--ink);
  padding: 36px 0 25px;
}
footer .wordmark {
  font-size: 35px;
  letter-spacing: -2px;
}
footer p {
  font-size: 13px;
  margin-top: 10px;
}
footer nav {
  display: flex;
  gap: 22px;
  font-size: 13px;
  align-items: center;
}
footer small {
  flex-basis: 100%;
  font-size: 11px;
}
.article-page,
.info-page {
  max-width: 790px;
  margin: 50px auto 80px;
}
.article-page h1 {
  font-size: 64px;
  margin-bottom: 24px;
}
.back {
  display: inline-block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 35px;
}
.standfirst {
  font-size: 22px;
  color: #58675f;
  line-height: 1.6;
}
.article-meta {
  font-size: 13px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}
.article-meta span {
  padding: 0 10px;
}
.article-body p,
.info-page p {
  font-size: 18px;
  line-height: 1.9;
}
.source-box {
  background: var(--tint);
  padding: 30px;
  margin-top: 40px;
  border-left: 3px solid var(--green);
}
.source-box h2 {
  margin: 10px 0;
}
.source-box p {
  color: var(--muted);
  font-size: 15px;
}
.info-page h1 {
  margin-top: 20px;
}
.empty {
  padding: 65px 24px;
  text-align: center;
  border: 1px solid var(--line);
  background: white;
}
.empty-mark {
  font-family: var(--serif);
  font-size: 64px;
  color: var(--green);
  line-height: 1;
}
.empty h2 {
  margin: 20px 0 12px;
}
.empty p {
  max-width: 460px;
  margin: 0 auto;
  color: var(--muted);
}
.skip {
  position: absolute;
  left: -10000px;
}
.skip:focus {
  left: 20px;
  top: 5px;
  background: white;
  z-index: 100;
  padding: 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
:focus-visible {
  outline: 3px solid #638a40;
  outline-offset: 4px;
}
.sidebar {
  width: 240px;
  position: fixed;
  inset: 0 auto 0 0;
  background: #f2f5ee;
  border-right: 1px solid var(--line);
  padding: 34px 22px;
  display: flex;
  flex-direction: column;
}
.sidebar .wordmark {
  font-size: 34px;
  letter-spacing: -2px;
  margin-bottom: 15px;
}
.sidebar > .eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  margin: 0 10px 30px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sidebar nav a {
  padding: 12px 14px;
  border-radius: 5px;
  font-size: 14px;
  color: #58665e;
}
.sidebar nav a.selected {
  background: var(--green);
  color: white;
}
.sidebar-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 13px;
  padding: 20px 10px 0;
}
.admin-content {
  margin-left: 240px;
}
.admin-top {
  height: 76px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  font-size: 13px;
  color: var(--muted);
}
.pill {
  font-size: 10px;
  letter-spacing: 0.12em;
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 25px;
}
.admin main {
  padding: 40px;
  max-width: 1500px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 34px;
}
.page-heading h1 {
  font-size: 46px;
  margin: 10px 0;
}
.page-heading p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  margin-bottom: 30px;
}
.stats > div {
  padding: 22px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.stats > div:last-child {
  border: 0;
}
.stats span {
  font-size: 13px;
  color: var(--muted);
}
.stats strong {
  font-weight: 500;
  font-size: 40px;
  line-height: 1.6;
}
.stats small {
  font-size: 11px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 25px;
}
.panel {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  min-width: 0;
}
.panel h2 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 22px;
}
.panel p {
  font-size: 14px;
}
.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.panel-title h2 {
  margin: 0;
}
.panel-title a {
  font-size: 12px;
  color: var(--green);
}
.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 27px;
}
.pipeline > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.pipeline span {
  background: var(--tint);
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 12px;
  margin-bottom: 15px;
}
.pipeline b {
  font-size: 14px;
  font-weight: 550;
}
.pipeline small {
  font-size: 10px;
  margin-top: 5px;
}
.dark-panel {
  background: var(--green);
  color: white;
  border: 0;
}
.dark-panel .eyebrow {
  color: var(--acid);
  font-size: 10px;
}
.dark-panel h2 {
  font-family: var(--serif);
  font-size: 39px;
  line-height: 1.1;
  font-weight: 400;
  margin: 26px 0 20px;
}
.dark-panel p {
  color: #d0dfd6;
}
.dark-panel a {
  display: block;
  color: var(--acid);
  font-size: 13px;
  margin-top: 28px;
}
.status-line {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  gap: 10px;
  border-top: 1px solid #ffffff35;
  padding: 14px 0;
}
.status-line b {
  font-weight: 500;
}
.activity > div {
  display: flex;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.activity time {
  font-size: 11px;
  color: var(--muted);
  width: 92px;
  flex-shrink: 0;
}
.activity p {
  margin: 0;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.activity b {
  font-weight: 550;
  display: block;
}
.activity span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}
.notice {
  background: var(--tint);
  border-left: 3px solid var(--green);
  padding: 16px 20px;
  font-size: 14px;
  margin-bottom: 25px;
}
.table-wrap {
  overflow-x: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  margin-bottom: 30px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
th {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 15px 20px;
  background: var(--tint);
}
td {
  padding: 20px;
  border-top: 1px solid var(--line);
  vertical-align: top;
}
td b {
  font-weight: 600;
}
td small {
  display: block;
  font-size: 11px;
  margin-top: 5px;
}
.url {
  max-width: 300px;
  overflow-wrap: anywhere;
}
.badge {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-radius: 4px;
  background: #eef0ec;
  padding: 5px 8px;
  display: inline-block;
}
.badge.review,
.badge.enabled,
.badge.published {
  background: #e9f2df;
  color: #376124;
}
.badge.failed {
  background: #ffe9e5;
  color: #a72e33;
}
.form-panel {
  max-width: 860px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 550;
  margin-bottom: 20px;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  border: 1px solid #cbd5cd;
  border-radius: 4px;
  background: white;
  padding: 11px 12px;
  color: var(--ink);
  font-size: 14px;
  margin-top: 7px;
  max-width: 100%;
}
textarea {
  resize: vertical;
  line-height: 1.65;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 450;
}
.check input {
  width: 17px;
  height: 17px;
  margin: 3px 0 0;
  accent-color: var(--green);
  flex-shrink: 0;
}
.check small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  margin-top: 3px;
}
.settings-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 25px;
  align-items: start;
}
.tint {
  background: var(--tint);
}
.tint h2 {
  font-family: var(--serif);
  font-size: 35px;
  font-weight: 400;
  margin-top: 24px;
}
.tint p {
  color: var(--muted);
}
.tint b {
  font-size: 14px;
}
.tabs {
  display: flex;
  gap: 25px;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  text-transform: capitalize;
  overflow: auto;
}
.tabs a {
  padding: 12px 0;
}
.tabs .selected {
  border-bottom: 2px solid var(--green);
  font-weight: 600;
}
.queue > article {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  background: white;
  border: 1px solid var(--line);
  padding: 25px;
  margin-bottom: 15px;
  border-radius: 7px;
}
.queue h2 {
  font-size: 27px;
  margin: 10px 0;
}
.queue p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}
.queue article > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
  min-width: 120px;
}
.queue .eyebrow {
  font-size: 10px;
}
.review-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 25px;
  align-items: start;
}
.source-preview p {
  font-size: 14px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.source-preview h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  margin-top: 20px;
}
.source-preview a {
  font-size: 13px;
  color: var(--green);
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.security-list {
  padding-left: 20px;
  font-size: 14px;
}
.security-list li {
  padding: 7px 0;
}
.login {
  max-width: 460px;
  margin: 70px auto;
  background: white;
  padding: 35px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.login h1 {
  font-size: 46px;
  margin: 14px 0;
}
.login > p {
  font-size: 14px;
  color: var(--muted);
}
.login form {
  margin-top: 30px;
}
.login button {
  width: 100%;
}
code {
  overflow-wrap: anywhere;
}
@media (min-width: 1600px) {
  .publication {
    padding: 0 max(5vw, calc((100vw - 1440px) / 2));
  }
}
@media (max-width: 1150px) {
  .sections {
    gap: 18px;
  }
  .search {
    width: 150px;
  }
  .front-grid {
    grid-template-columns: 1.2fr 1fr;
  }
  .story-card.lead {
    grid-row: span 2;
  }
  .editor-note {
    grid-column: 1/-1;
  }
  .sidebar {
    width: 205px;
    padding: 30px 15px;
  }
  .admin-content {
    margin-left: 205px;
  }
  .admin main {
    padding: 28px;
  }
  .admin-top {
    padding: 0 28px;
  }
  .dashboard-grid,
  .settings-layout {
    grid-template-columns: 1fr;
  }
  .dark-panel {
    max-width: none;
  }
  .review-grid {
    grid-template-columns: 1fr;
  }
  .source-preview {
    order: -1;
  }
  .source-preview p {
    max-height: 220px;
    overflow: auto;
  }
}
@media (max-width: 760px) {
  .publication {
    padding: 0 5vw;
  }
  .topline {
    font-size: 10px;
  }
  .topline a {
    display: none;
  }
  .masthead {
    padding: 25px 0;
    gap: 15px;
  }
  .masthead .wordmark {
    font-size: 45px;
    letter-spacing: -3px;
  }
  .masthead p {
    display: none;
  }
  .newsroom-link {
    font-size: 12px;
  }
  .sections {
    gap: 0 20px;
    justify-content: flex-start;
  }
  .sections > a {
    padding: 12px 0;
    font-size: 12px;
  }
  .search {
    margin-left: 0;
    width: 100%;
    border-top: 1px solid var(--line);
  }
  .search input {
    width: 100%;
    padding-left: 0;
  }
  .edition-heading {
    margin: 30px 0;
  }
  .edition-heading h2 {
    font-size: 38px;
  }
  .edition-heading .eyebrow {
    font-size: 9px;
  }
  .edition-number {
    display: none;
  }
  .front-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }
  .story-card.lead {
    grid-row: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
  }
  .lead h1 {
    font-size: 46px;
  }
  .story-card h2 {
    font-size: 32px;
  }
  .editor-note {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
  .editor-note p {
    margin-top: 0;
  }
  .section-title span {
    display: none;
  }
  .principles {
    flex-direction: column;
    font-size: 23px;
    gap: 10px;
  }
  footer nav {
    flex-wrap: wrap;
    gap: 18px;
    font-size: 12px;
  }
  .article-page h1 {
    font-size: 45px;
  }
  .standfirst {
    font-size: 19px;
  }
  .article-page,
  .info-page {
    margin-top: 30px;
  }
  .info-page h1 {
    font-size: 46px;
  }
  .sidebar {
    position: static;
    width: auto;
    padding: 20px;
    border-bottom: 1px solid var(--line);
  }
  .sidebar .wordmark {
    font-size: 30px;
    margin: 0 0 18px;
  }
  .sidebar > .eyebrow {
    display: none;
  }
  .sidebar nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 5px;
  }
  .sidebar nav a {
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 12px;
  }
  .sidebar-bottom {
    margin-top: 16px;
    padding: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .sidebar-bottom .text-button {
    padding: 0;
    font-size: 12px;
  }
  .admin-content {
    margin-left: 0;
  }
  .admin-top {
    height: 54px;
    padding: 0 20px;
    font-size: 12px;
  }
  .pill {
    font-size: 8px;
  }
  .admin main {
    padding: 25px 20px;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 25px;
  }
  .page-heading h1 {
    font-size: 38px;
  }
  .page-heading p {
    font-size: 13px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stats > div {
    padding: 17px;
    border-bottom: 1px solid var(--line);
  }
  .stats strong {
    font-size: 32px;
  }
  .stats > div:nth-child(2) {
    border-right: 0;
  }
  .panel {
    padding: 22px;
  }
  .pipeline {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .queue > article {
    flex-direction: column;
    padding: 20px;
  }
  .queue article > div:last-child {
    flex-direction: row;
    align-items: center;
  }
  .tabs {
    gap: 20px;
    font-size: 13px;
  }
  .activity > div {
    gap: 15px;
  }
  .activity time {
    width: 70px;
  }
  .login {
    margin: 35px auto;
    padding: 25px;
  }
  .empty {
    padding: 45px 20px;
  }
}
.settings-stack {
  display: grid;
  gap: 24px;
}
