/* The Paper Route Puzzles site stylesheet. Light only, no dark-mode rules, no remote requests: the
   five faces are local files under /fonts. Every colour is a docs/tokens.json value. Values come
   from the Site-* boards in docs/mockups/prototypes/project (Site-Privacy-Text for the reading
   style, Site-Support-Text for the contact card, Site-Header, Site-Footer, the page boards for
   the Draft banner, links and main padding). */

@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/LibreBaskerville_700Bold.ttf) format('truetype');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/PlusJakartaSans_400Regular.ttf) format('truetype');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/PlusJakartaSans_500Medium.ttf) format('truetype');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/PlusJakartaSans_600SemiBold.ttf) format('truetype');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/PlusJakartaSans_700Bold.ttf) format('truetype');
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  color: #1B1D22;
  font-family: 'Plus Jakarta Sans', -apple-system, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #23262E;
}
a:hover {
  color: #15171C;
  text-decoration-color: #23262E;
}
a:focus-visible {
  outline: 2px solid #23262E;
  outline-offset: 3px;
  border-radius: 4px;
}

/* The Draft banner: full-width band above the header, its text on the page's 612px column. */
.draft-banner {
  background: rgba(194, 125, 58, 0.10);
  border-bottom: 1px solid rgba(194, 125, 58, 0.25);
}
.draft-banner__inner {
  max-width: 652px;
  min-height: 44px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.draft-banner__pill {
  flex-shrink: 0;
  padding: 3px 10px;
  border: 1px solid #C27D3A;
  border-radius: 100px;
  color: #8A5220;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.draft-banner p {
  margin: 0;
  color: #8A5220;
  font-size: 14px;
  line-height: 1.45;
}

/* Header: the wordmark, linking home, on the reading column. */
.site-header {
  background: #FFFFFF;
  border-bottom: 1px solid #F0F1F4;
}
.site-header__inner {
  max-width: 652px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
}
.site-header__home {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.site-header__home img {
  display: block;
  width: 198px;
  max-width: 100%;
  height: 32px;
}

/* Footer: Privacy and Support as underlined text links, then the publisher. */
.site-footer {
  background: #F5F6F8;
  border-top: 1px solid #E5E7EB;
}
.site-footer__inner {
  max-width: 652px;
  margin: 0 auto;
  padding: 16px 20px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 24px;
  row-gap: 2px;
}
.site-footer nav {
  display: flex;
  gap: 24px;
}
.site-footer nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-color: #B3B8C2;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
.site-footer p {
  margin: 0;
  color: #626773;
  font-size: 14px;
  line-height: 1.5;
}

/* Main: the 612px reading column (652px less 20px each side). */
.page {
  flex: 1;
  width: 100%;
  max-width: 652px;
  margin: 0 auto;
  padding: 36px 20px 72px;
}
@media (min-width: 640px) {
  .page {
    padding: 64px 20px 96px;
  }
}

.page > :last-child {
  margin-bottom: 0;
}

.page h1,
.page h2 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-weight: 700;
  color: #23262E;
}
.page h1 {
  margin: 0 0 20px;
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.page h2 {
  margin: 44px 0 12px;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
/* Support sets its headings 14px above their text; Privacy 12px. */
.page:has(.contact-card) h2 {
  margin-bottom: 14px;
}

.page p {
  margin: 0 0 18px;
}
/* A lead-in line sits closer to the list it introduces. */
.page p:has(+ ul) {
  margin-bottom: 12px;
}
.page strong {
  font-weight: 700;
}

.page ul {
  margin: 0 0 22px;
  padding-left: 22px;
}
.page li {
  margin: 0 0 10px;
  padding-left: 4px;
}

.page a {
  text-decoration: underline;
  text-decoration-color: #B3B8C2;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.page a:not([href^='mailto:']) {
  font-weight: 600;
}

/* The line under the h1 (the Effective date): muted, and 16px under the heading. */
.page .meta {
  margin: -4px 0 28px;
  color: #626773;
  font-size: 15px;
  line-height: 1.6;
}
.page .meta strong {
  color: #1B1D22;
  font-weight: 600;
}

/* The support address on its own line: a 64px tap target with a mail glyph. */
.page .contact-card strong {
  display: block;
}
.page .contact-card a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 14px 20px;
  background: #F3F4F6;
  border: 1px solid #E3E5EA;
  border-radius: 16px;
  color: #23262E;
  text-decoration: none;
}
.page .contact-card svg {
  flex-shrink: 0;
}
.page .contact-card a span {
  min-width: 0;
  font-size: 18px;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-color: #B3B8C2;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

/* Home: the app tile, the headline, one line, then the status pill or Apple's badge, centred on the
   reading column. Padding 56px/72px on a phone, 88px/104px from 640px up (Site-Home-* boards). */
.page.home,
.page.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 56px 20px 72px;
}
@media (min-width: 640px) {
  .page.home,
  .page.not-found {
    padding: 88px 20px 104px;
  }
}
.page .home__tile {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 27px;
  box-shadow: 0 4px 16px rgba(21, 23, 28, 0.08);
}
.page .home__tile img {
  display: block;
  width: 100px;
  height: 100px;
}
.page.home h1 {
  max-width: 14em;
  margin: 32px 0 0;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.18;
}
.page .home__line {
  max-width: 30em;
  margin: 16px 0 0;
  color: #626773;
  font-size: 17px;
  line-height: 1.6;
  text-wrap: pretty;
}
.page .home__soon {
  margin: 32px 0 0;
  padding: 10px 18px;
  background: #F3F4F6;
  border: 1px solid #E3E5EA;
  border-radius: 100px;
  color: #23262E;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.page .home__badge {
  display: inline-flex;
  margin-top: 32px;
  border-radius: 10px;
  text-decoration: none;
}
.page .home__badge img {
  display: block;
  width: auto;
  height: 54px;
}

/* 404: the same centred stack as Home (Site-404-* boards): a quiet "404" eyebrow, the heading, one
   line and a charcoal pill back to Home. The eyebrow and the pill set line-height: normal because
   the boards leave it unset. */
.page .not-found__eyebrow {
  margin: 0;
  color: #626773;
  font-size: 12px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.page.not-found h1 {
  margin: 12px 0 0;
}
.page .not-found__line {
  max-width: 26em;
  margin: 14px 0 0;
  color: #626773;
  font-size: 17px;
  line-height: 1.6;
  text-wrap: pretty;
}
.page a.not-found__home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 28px;
  padding: 14px 26px;
  border-radius: 100px;
  background: #23262E;
  box-shadow: 0 4px 14px rgba(21, 23, 28, 0.25);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  line-height: normal;
  text-decoration: none;
}

/* Diagnostics (/ops/<token>, Site-Ops-Report): a well-set report on the 612px column, not a dashboard.
   Read-only, so nothing here is a control. Honey marks everything that needs attention; red marks only
   a failed run. Figures use tabular numerals, and a game keeps its ink on its name and its live cells.
   Every selector starts `.page.ops` so it outranks the reading style's p, ul, li and h2 rules. */
.page.ops {
  padding: 40px 20px 72px;
  font-size: 15px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
/* The ops boards set the column 8px higher than Support's (56px, not 64px, above the rung at 640px
   and up; 40px, not 36px, below it) and the same 96px / 72px below. */
@media (min-width: 640px) {
  .page.ops {
    padding: 56px 20px 96px;
  }
}
.page .ops__rung {
  margin: 0;
  color: #626773;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.page.ops h1 {
  margin: 10px 0 0;
}
.page.ops .ops__read {
  margin: 8px 0 0;
  color: #626773;
  font-size: 14px;
}

/* The tab bar (`Site-Ops-Tabs`): 20px under "Read ...", tabs 48px tall and 28px apart, a 1px rule under the bar
   and a 2px charcoal rule under the current tab. */
.page.ops .ops__tabs {
  margin-top: 20px;
  display: flex;
  gap: 28px;
  border-bottom: 1px solid #E5E7EB;
}
.page.ops .ops__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  box-sizing: border-box;
  margin-bottom: -1px;
  font-size: 15px;
  font-weight: 600;
  color: #626773;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.page.ops .ops__tab--current {
  font-weight: 700;
  color: #23262E;
  border-bottom-color: #23262E;
}
.page.ops .ops__tab:focus-visible {
  outline: 2px solid #23262E;
  outline-offset: 2px;
  border-radius: 6px;
}
.page.ops .ops__tab-count {
  min-width: 20px;
  box-sizing: border-box;
  padding: 1px 7px;
  border-radius: 100px;
  background: rgba(194, 125, 58, 0.10);
  border: 1px solid rgba(194, 125, 58, 0.25);
  color: #8A5220;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* The health summary and an unreadable section's notice share the notice shape. */
.page.ops .ops__summary,
.page.ops .ops__notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
}
.page.ops .ops__summary {
  margin-top: 24px;
}
.page.ops .ops__notice {
  margin-top: 14px;
}
.page.ops .ops__summary--clear {
  background: #F3F4F6;
  border: 1px solid #E3E5EA;
}
.page.ops .ops__summary--attention,
.page.ops .ops__notice {
  background: rgba(194, 125, 58, 0.10);
  border: 1px solid rgba(194, 125, 58, 0.25);
}
.page.ops .ops__icon {
  flex-shrink: 0;
  margin-top: 1px;
}
.page.ops .ops__notice .ops__icon {
  margin-top: 2px;
}
.page.ops .ops__summary-text {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: #23262E;
}
.page.ops .ops__summary--attention .ops__summary-text,
.page.ops .ops__notice-title,
.page.ops .ops__notice-detail {
  color: #8A5220;
}
.page.ops .ops__notice-title {
  margin: 0;
  font-weight: 600;
}
.page.ops .ops__notice-detail {
  margin: 2px 0 0;
  font-size: 14px;
}

/* A section: the h2 sits 44px below what precedes it, with its explainer 4px under. */
.page.ops h2 {
  margin: 44px 0 4px;
}
.page.ops .ops__explain {
  margin: 0;
  color: #626773;
  font-size: 14px;
}
.page.ops .ops__totals {
  margin: 12px 0 0;
  color: #1B1D22;
}

/* The quote bank table. */
.page.ops .ops__table {
  width: 100%;
  margin-top: 12px;
  border-collapse: collapse;
  font-size: 15px;
}
.page.ops .ops__table th,
.page.ops .ops__table td {
  text-align: left;
  border-bottom: 1px solid #F0F1F4;
}
.page.ops .ops__table thead th {
  padding: 8px 0;
  color: #626773;
  font-size: 12px;
  font-weight: 600;
  border-bottom-color: #E5E7EB;
}
.page.ops .ops__table tbody th {
  padding: 10px 0;
  color: #23262E;
  font-weight: 600;
}
.page.ops .ops__table td {
  padding: 10px 0;
}
.page.ops .ops__table .ops__letters {
  color: #626773;
}
.page.ops .ops__table .ops__unused {
  text-align: right;
}
.page.ops .ops__count {
  color: #1B1D22;
  font-weight: 600;
}
.page.ops .ops__low {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
/* The Low pill is 9px either side, a pixel tighter than Overdue and Failed. */
.page.ops .ops__low .ops__pill {
  padding: 2px 9px;
}
.page.ops .ops__count--low {
  color: #8A5220;
  font-weight: 700;
}

/* Pills: honey for Low and Overdue, red for Failed. */
.page.ops .ops__pill {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 100px;
  background: rgba(194, 125, 58, 0.10);
  border: 1px solid rgba(194, 125, 58, 0.25);
  color: #8A5220;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.page.ops .ops__pill--failed {
  background: rgba(179, 38, 30, 0.08);
  border-color: #B3261E;
  color: #B3261E;
}
.page.ops .ops__pills {
  display: inline-flex;
  gap: 6px;
}

/* One game per row, in Published ahead and Last run. */
.page.ops .ops__games {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.page.ops .ops__game {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid #F0F1F4;
}
.page.ops .ops__game-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.page.ops .ops__game-name {
  font-weight: 700;
}
.page.ops .ops__game--spellstone .ops__game-name {
  color: #5E4C6E;
}
.page.ops .ops__game--crossword .ops__game-name {
  color: #3E5676;
}
.page.ops .ops__game--cryptogram .ops__game-name {
  color: #2E5F53;
}
.page.ops .ops__ahead {
  color: #1B1D22;
  font-weight: 600;
}
.page.ops .ops__pills {
  align-items: center;
}
/* A Last run row centres its name on its pills; a Published ahead row sets the figure on the name's baseline. */
.page.ops .ops__game-head--run {
  align-items: center;
}

/* Published ahead: one 38x44 cell per date. */
.page.ops .ops__cells {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}
.page.ops .ops__cell {
  width: 38px;
  height: 44px;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border-radius: 8px;
}
.page.ops .ops__dow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-transform: uppercase;
  opacity: 0.85;
}
.page.ops .ops__day {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
}
.page.ops .ops__cell--live.ops__cell--spellstone {
  background: #F5F1F8;
  border: 1px solid #AF9DBF;
  color: #5E4C6E;
}
.page.ops .ops__cell--live.ops__cell--crossword {
  background: #EFF4FA;
  border: 1px solid #90A7C6;
  color: #3E5676;
}
.page.ops .ops__cell--live.ops__cell--cryptogram {
  background: #EEF6F3;
  border: 1px solid #85B0A3;
  color: #2E5F53;
}
.page.ops .ops__cell--blank {
  background: rgba(194, 125, 58, 0.10);
  border: 1.5px solid #C27D3A;
  color: #8A5220;
}
.page.ops .ops__cell--due {
  background: #FFFFFF;
  border: 1px dashed #8E939E;
  color: #626773;
}
.page.ops .ops__note {
  margin: 8px 0 0;
  color: #626773;
  font-size: 14px;
}
.page.ops .ops__note--warn {
  color: #8A5220;
  font-weight: 600;
}
.page.ops .ops__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 12px;
  color: #626773;
  font-size: 12px;
}
.page.ops .ops__legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.page.ops .ops__key {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
}
.page.ops .ops__key--live {
  background: #F3F4F6;
  border: 1px solid #8E939E;
}
.page.ops .ops__key--blank {
  background: rgba(194, 125, 58, 0.10);
  border: 1.5px solid #C27D3A;
}
.page.ops .ops__key--due {
  background: #FFFFFF;
  border: 1px dashed #8E939E;
}

/* Last run: when, what it did, and a failed run's error verbatim in a monospace box. */
.page.ops .ops__when {
  margin: 4px 0 0;
  color: #1B1D22;
}
.page.ops .ops__when--warn {
  color: #8A5220;
  font-weight: 600;
}
.page.ops .ops__detail {
  margin: 2px 0 0;
  color: #626773;
  font-size: 14px;
}
.page.ops .ops__none {
  margin: 4px 0 0;
  color: #8A5220;
  font-weight: 600;
}
.page.ops .ops__error {
  margin: 8px 0 0;
  padding: 8px 12px;
  background: #F5F6F8;
  border-radius: 8px;
  color: #1B1D22;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

/* The Spellstone words page (/ops/<token>/words, Site-Ops-Words): the same 612px column, but forms. Every form
   is a plain post and every disclosure a native <details>. Honey marks a judge's flag, charcoal a word that is
   in the open review PR, heather a puzzle or bonus word's kind. Controls are 44px tall. */
.page.ops .ops__tabs + h2 {
  margin-top: 36px;
}
.page.ops .ops__notice--page {
  margin-top: 24px;
}
.page.ops h2 .ops__h2-count {
  font-family: 'Plus Jakarta Sans', -apple-system, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  color: #626773;
}
.page.ops button,
.page.ops input {
  font-family: inherit;
}
.page.ops button:focus-visible,
.page.ops input:focus-visible,
.page.ops summary:focus-visible,
.page.ops .ops__show:focus-visible {
  outline: 2px solid #23262E;
  outline-offset: 2px;
  border-radius: 6px;
}
.page.ops summary {
  list-style: none;
  cursor: pointer;
}
.page.ops summary::-webkit-details-marker {
  display: none;
}
.page.ops details[open] > summary .ops__chev {
  transform: rotate(180deg);
}
.page.ops .ops__chev {
  flex-shrink: 0;
}
.page.ops .ops__grow {
  flex: 1;
}

/* Nothing to review. */
.page.ops .ops__empty {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #F3F4F6;
  border: 1px solid #E3E5EA;
  border-radius: 14px;
}
.page.ops .ops__empty p {
  margin: 0;
  font-weight: 600;
  color: #23262E;
}
.page.ops .ops__empty .ops__icon {
  margin-top: 0;
}

/* A word row, in To review and Added words. */
.page.ops .ops__wlist {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.page.ops .ops__wlist > li {
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid #F0F1F4;
}
.page.ops .ops__wlist > .ops__word--added {
  padding: 12px 0;
}
.page.ops .ops__word-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.page.ops .ops__word-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #23262E;
}
.page.ops .ops__pts {
  font-size: 12px;
  font-weight: 600;
  color: #626773;
}
.page.ops .ops__def {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #626773;
}
.page.ops .ops__meta {
  margin: 2px 0 0;
  font-size: 14px;
  color: #626773;
}
.page.ops .ops__status {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: #1B1D22;
}
.page.ops .ops__status--quiet {
  line-height: 1.5;
  color: #626773;
}

/* The small pills: grey by default, honey for a flag, charcoal outline for Pending PR, heather for a word's kind. */
.page.ops .ops__chip {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 100px;
  background: #F3F4F6;
  border: 1px solid #E3E5EA;
  font-size: 12px;
  font-weight: 600;
  color: #626773;
}
.page.ops .ops__status .ops__chip {
  margin-right: 6px;
  line-height: 1.4;
}
.page.ops .ops__chip--flag {
  background: rgba(194, 125, 58, 0.10);
  border-color: rgba(194, 125, 58, 0.25);
  color: #8A5220;
}
.page.ops .ops__chip--mark {
  background: #FFFFFF;
  border-color: #23262E;
  color: #23262E;
}
.page.ops .ops__chip--kind {
  background: #F5F1F8;
  border-color: #AF9DBF;
  color: #5E4C6E;
}
.page.ops .ops__chip--accepted {
  background: rgba(61, 122, 58, 0.10);
  border-color: rgba(61, 122, 58, 0.25);
  color: #3D7A3A;
}

/* Verdict buttons: a grid of 44px buttons, the chosen one filled. */
.page.ops .ops__vform {
  margin: 12px 0 0;
}
.page.ops .ops__btns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 8px;
}
.page.ops .ops__btn {
  min-height: 44px;
  box-sizing: border-box;
  padding: 0 12px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  border: 1px solid #D5D8DE;
  background: #F3F4F6;
  color: #23262E;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
}
.page.ops .ops__btn--on {
  border-color: #23262E;
  background: #23262E;
  color: #FFFFFF;
}
.page.ops .ops__input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #8E939E;
  border-radius: 10px;
  background: #FFFFFF;
  color: #1B1D22;
  font-size: 16px;
}
.page.ops .ops__input--note {
  margin-top: 8px;
}
.page.ops .ops__note-toggle {
  margin-top: 4px;
}
.page.ops .ops__note-toggle summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #23262E;
  text-decoration: underline;
  text-decoration-color: #B3B8C2;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
.page.ops .ops__note-toggle .ops__input--note {
  margin-top: 0;
}

/* The add form. */
.page.ops .ops__aform {
  margin: 12px 0 0;
}
/* A write that did not save, rendered in place (`M55.13`): the honey box under an add (the notice shape, 12px
   below the fields) and the smaller one under a word's buttons. */
.page.ops .ops__notice--add {
  margin-top: 12px;
}
.page.ops .ops__fail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
  padding: 10px 14px;
  background: rgba(194, 125, 58, 0.10);
  border: 1px solid rgba(194, 125, 58, 0.25);
  border-radius: 12px;
}
.page.ops .ops__fail .ops__icon {
  margin-top: 2px;
}
.page.ops .ops__fail p {
  margin: 0;
  font-size: 14px;
  color: #8A5220;
}
.page.ops .ops__fail strong {
  font-weight: 600;
}
.page.ops .ops__afields {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
}
.page.ops .ops__field {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #626773;
}
.page.ops .ops__field--word {
  flex: 1 1 150px;
}
.page.ops .ops__field--note {
  flex: 2 1 220px;
}
.page.ops .ops__field .ops__input {
  margin-top: 4px;
}
.page.ops .ops__input--word {
  font-weight: 600;
}
.page.ops .ops__add {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid #23262E;
  background: #23262E;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.page.ops .ops__none-added {
  margin: 14px 0 0;
  font-size: 14px;
  color: #626773;
}

/* Days: one collapsed row per day, a group of words inside it, a word opening to its verdict. */
.page.ops .ops__none-days {
  margin: 14px 0 0;
  font-weight: 600;
  color: #626773;
}
.page.ops .ops__days {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  border-top: 1px solid #F0F1F4;
}
.page.ops .ops__days > li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #F0F1F4;
}
.page.ops .ops__days > .ops__day-hidden {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 6px 0;
}
.page.ops .ops__day-hidden-name {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
.page.ops .ops__day-hidden-name strong,
.page.ops .ops__day-title strong {
  font-weight: 700;
  color: #23262E;
}
.page.ops .ops__show {
  min-height: 44px;
  box-sizing: border-box;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  border: 1px solid #D5D8DE;
  background: #F3F4F6;
  font-size: 14px;
  font-weight: 600;
  color: #23262E;
  text-decoration: none;
}
.page.ops .ops__day-sum {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  /* The board sets no box-sizing here, so its 56px is the content and the row is 68px with the padding. */
  box-sizing: content-box;
  padding: 6px 0;
}
.page.ops .ops__day-title {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
}
.page.ops .ops__day-letters {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #626773;
}
.page.ops .ops__day-counts {
  font-size: 13px;
  color: #626773;
  text-align: right;
}
.page.ops .ops__day-body {
  padding: 0 0 8px;
}
.page.ops .ops__group {
  margin-top: 4px;
}
.page.ops .ops__group-sum {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  /* The board sets no box-sizing here either: 44px of content and its 1px rule below, 45px in all. */
  box-sizing: content-box;
  font-size: 12px;
  font-weight: 600;
  color: #626773;
  border-bottom: 1px solid #E5E7EB;
}
.page.ops .ops__group-count {
  font-weight: 500;
}
.page.ops .ops__dwords {
  list-style: none;
  margin: 0;
  padding: 0;
}
.page.ops .ops__dwords > li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #F0F1F4;
}
.page.ops .ops__dword-sum,
.page.ops .ops__dword-plain {
  display: block;
  min-height: 44px;
  box-sizing: border-box;
  padding: 10px 0;
}
.page.ops .ops__dword-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.page.ops .ops__dword-head .ops__word-name {
  font-size: 16px;
}
.page.ops .ops__word-name--gone {
  color: #626773;
  text-decoration: line-through;
}
.page.ops .ops__def--line {
  display: block;
  margin: 1px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page.ops .ops__dpanel {
  margin: 0 0 12px;
  padding: 12px;
  background: #F5F6F8;
  border-radius: 12px;
}
.page.ops .ops__def--full {
  margin: 0 0 10px;
  font-size: 14px;
  color: #1B1D22;
}
.page.ops .ops__dpanel .ops__vform {
  margin: 0;
}
