@charset "UTF-8";

:root {
  --ink: #172b28;
  --ink-deep: #101c1a;
  --ink-soft: #2a4540;
  --paper: #f4efe2;
  --paper-2: #ebe3d1;
  --paper-3: #e2d7c2;
  --sheet: #fbf7ee;
  --text: #1a2321;
  --muted: #53605c;
  --amber: #c48a3a;
  --amber-bright: #edc580;
  --cyan: #2f9a94;
  --cyan-soft: #76b9b1;
  --line: #d5cbb6;
  --max: 1120px;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Palatino Linotype", Palatino, "Iowan Old Style", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1.25rem;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(900px 280px at 0% 0%, #dfe8df 0%, transparent 55%),
    var(--paper);
  font: 16.5px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

main,
.canvas,
.guide-grid,
.guide,
.supplied,
.supplied section,
article,
.mast,
.comparison,
.task-figure,
.flow-diagram {
  min-width: 0;
  max-width: 100%;
}

[hidden] { display: none !important; }

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ink-soft);
  text-underline-offset: 3px;
}

a:hover { color: var(--cyan); }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.masthead :focus-visible,
.colophon :focus-visible {
  outline-color: var(--amber-bright);
}

button,
input,
summary {
  font: inherit;
  touch-action: manipulation;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.7em;
}

h1 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.05rem; line-height: 1.35; }

p { margin: 0 0 1em; }

.canvas {
  width: min(calc(100% - 2.75rem), var(--max));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.55rem 0.8rem;
  background: var(--sheet);
  color: var(--ink);
}

.skip:focus { top: 0.7rem; }

.kicker {
  margin: 0 0 0.55rem;
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.masthead {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 3px solid var(--amber-bright);
}

.header-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.55rem;
  min-height: 3.4rem;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  flex: 1 1 auto;
  color: var(--paper);
  text-decoration: none;
}

.brand:hover { color: var(--amber-bright); }

.brand-mark { flex: none; }

.brand-name {
  font-family: var(--serif);
  font-size: 1.22rem;
  letter-spacing: -0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-name em {
  font-style: normal;
  color: var(--amber-bright);
}

.brand-short { display: none; }
.action-short { display: none; }

.desk-nav {
  display: flex;
  gap: 1.15rem;
  margin-left: auto;
  font-size: 0.84rem;
}

.desk-nav a,
.finder summary,
.tray summary {
  color: #e8dfd0;
  text-decoration: none;
  padding: 0.85rem 0;
}

.desk-nav a:hover,
.finder summary:hover,
.tray summary:hover { color: var(--amber-bright); }

.desk-nav a[aria-current="true"] {
  color: var(--amber-bright);
  box-shadow: inset 0 -3px 0 var(--cyan-soft);
}

.finder,
.tray {
  position: relative;
  flex: none;
}

.finder summary,
.tray summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.8rem;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0.35rem 0.55rem;
  white-space: nowrap;
}

.finder summary::-webkit-details-marker,
.tray summary::-webkit-details-marker,
.toc-mobile summary::-webkit-details-marker { display: none; }

.finder summary::after,
.tray summary::after { content: " +"; color: var(--amber-bright); }

.finder[open] summary::after,
.tray[open] summary::after { content: " −"; }

.finder-panel,
.tray nav {
  position: absolute;
  right: 0;
  top: calc(100% - 1px);
  z-index: 8;
  width: min(22rem, calc(100vw - 1.5rem));
  max-height: min(70vh, 28rem);
  overflow: auto;
  background: var(--ink-deep);
  border: 1px solid #3c5852;
  border-top: 2px solid var(--amber-bright);
  padding: 1rem 1.05rem 1.15rem;
  box-shadow: 0 16px 32px #101c1a66;
}

.tray { display: none; }

.tray nav {
  width: 16.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tray nav a {
  color: var(--paper);
  text-decoration: none;
  padding: 0.65rem 0;
  border-bottom: 1px solid #2f4743;
  font-size: 0.9rem;
}

.finder-form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 650;
  margin-bottom: 0.4rem;
  color: var(--amber-bright);
}

.finder-controls {
  display: flex;
  gap: 0.4rem;
}

.finder-controls input {
  flex: 1;
  min-width: 0;
  min-height: 2.75rem;
  border: 1px solid #4b6a64;
  background: #132421;
  color: var(--paper);
  padding: 0.55rem 0.7rem;
}

.finder-controls button {
  min-height: 2.75rem;
  padding: 0 0.85rem;
  border: 1px solid var(--amber-bright);
  background: var(--amber-bright);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
}

.finder-controls [type="reset"] {
  background: transparent;
  color: #c9c0b0;
  border-color: transparent;
  text-decoration: underline;
}

.finder-status,
.finder-empty {
  color: #b7c4bf;
  font-size: 0.75rem;
  margin: 0.55rem 0 0.7rem;
}

.finder-heading {
  margin: 0.7rem 0 0.25rem;
  color: var(--cyan-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.finder-index ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.finder-index a {
  display: block;
  color: #f3ece0;
  text-decoration: none;
  padding: 0.38rem 0;
  font-size: 0.86rem;
  border-bottom: 1px solid #2a403c;
}

.finder-index a[aria-current="page"] { color: var(--amber-bright); }

.mast {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 16.5rem);
  gap: 1.4rem;
  align-items: center;
  padding: 1.45rem 0 1.2rem;
}

.mast-copy { min-width: 0; }

.mast .direct-answer {
  font-size: 1.08rem;
  line-height: 1.55;
}

.mast-photo {
  margin: 0;
  max-width: 16.5rem;
  justify-self: end;
}

.mast-photo img {
  width: 100%;
  height: auto;
  max-height: 11.5rem;
  object-fit: contain;
  background: var(--ink-deep);
}

.mast-photo figcaption {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.mast-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.7rem;
  margin: 0.2rem 0 0;
}

.mast-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.3rem 0.8rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
}

.mast-actions a:hover { color: var(--amber-bright); }

.direct-answer {
  border-left: 4px solid var(--amber);
  padding: 0.2rem 0 0.2rem 1rem;
  margin: 0 0 1rem;
  max-width: 44em;
}

.page-meta {
  color: var(--muted);
  font-size: 0.78rem;
}

.supplied section {
  margin: 1.7rem 0 0;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  scroll-margin-top: 1rem;
}

.supplied section:first-child {
  border-top: 0;
  padding-top: 0;
}

.supplied h2 { max-width: 22em; }
.supplied p,
.supplied li { max-width: 46em; }

.supplied ul,
.supplied ol { padding-left: 1.2rem; }

.supplied li + li { margin-top: 0.55rem; }

.comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.1rem 0 0.4rem;
  align-items: start;
  width: 100%;
}

.comparison > article {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  padding: 1rem 1rem 1.1rem;
  min-width: 0;
}

.comparison > article:nth-child(2n) { border-top-color: var(--cyan); }
.comparison > article:nth-child(3n) { border-top-color: var(--amber); }

.comparison > article h3 { margin-bottom: 0.4rem; }

.comparison > article p {
  color: var(--muted);
  font-size: 0.92rem;
}

.comparison > article a {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--cyan-soft);
}

.comparison:has(> .task-figure) {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  background: transparent;
}

.comparison:has(> table) {
  display: block;
  overflow-x: auto;
  background: var(--sheet);
  border: 1px solid var(--line);
  padding: 0.2rem;
}

.task-figure,
.flow-diagram {
  margin: 1.15rem 0 1.3rem;
  min-width: 0;
}

.task-figure > a {
  display: block;
  background: var(--ink-deep);
  outline-offset: 4px;
}

.task-figure,
.comparison > .task-figure {
  overflow: visible;
}

.task-figure > a,
.task-figure img,
.flow-diagram svg,
.process-svg {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.task-figure img {
  object-fit: contain;
  object-position: top center;
  background: #101c1a;
}

.comparison > .task-figure img {
  max-width: 100%;
  margin-inline: auto;
}

.process-svg {
  display: block;
}

.process-svg.stacked-process {
  max-width: 420px;
  margin-inline: auto;
}

.task-figure figcaption,
.flow-diagram figcaption {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
  max-width: 46em;
}

.flow-diagram {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 1rem 1rem 0.85rem;
  overflow-x: auto;
  max-width: 100%;
}

.flow-diagram > .steps,
.supplied .flow-diagram ol.steps {
  list-style: decimal;
  margin: 0.75rem 0 0;
  padding: 0 0 0 1.35em;
  display: block;
  counter-reset: none;
}

.flow-diagram > .steps > li,
.supplied .flow-diagram ol.steps > li {
  background: transparent;
  border: 0;
  padding: 0 0 0.55rem;
  margin: 0;
  max-width: 46em;
}

.flow-diagram > .steps > li::before,
.supplied .flow-diagram ol.steps > li::before {
  content: none;
  display: none;
}

.flow-diagram .flow-step { display: none; }

.flow-diagram strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.25rem;
}

.flow-diagram p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.supplied ol.steps {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  counter-reset: shop-step;
}

.supplied ol.steps > li {
  counter-increment: shop-step;
  position: relative;
  margin: 0 0 0.85rem;
  padding: 0.15rem 0 0.15rem 3rem;
  max-width: 46em;
}

.supplied ol.steps > li::before {
  content: counter(shop-step);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--amber-bright);
  font-size: 0.78rem;
  font-weight: 800;
}

.table-wrap,
.supplied *:has(> table) {
  overflow-x: auto;
  max-width: 100%;
  margin: 1.15rem 0;
  border-top: 2px solid var(--ink);
  -webkit-overflow-scrolling: touch;
}

.table-wrap:focus,
.supplied *:has(> table):focus {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

table {
  width: 100%;
  max-width: none;
  border-collapse: collapse;
  font-size: 0.9rem;
}

table:has(:is(th, td):nth-child(3)) {
  min-width: 30rem;
}

table:has(:is(th, td):nth-child(4)) {
  min-width: 36rem;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.8rem 0.7rem;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}

th {
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  overflow-wrap: break-word;
}

.callout {
  background: #f3e6c8;
  border-left: 4px solid var(--amber);
  padding: 0.9rem 1rem;
  max-width: 46em;
}

kbd {
  font: 0.85em ui-monospace, SFMono-Regular, Consolas, monospace;
  border: 1px solid var(--line);
  background: var(--sheet);
  padding: 0.05em 0.35em;
}

.ledger {
  margin: 2.4rem 0 3rem;
  padding-top: 1.4rem;
  border-top: 2px solid var(--ink);
}

.ledger-head p {
  color: var(--muted);
  max-width: 40em;
}

.ledger-group + .ledger-group { margin-top: 1.4rem; }

.ledger-group h3 {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.4rem;
}

.ledger-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ledger-group a {
  display: grid;
  gap: 0.2rem;
  text-decoration: none;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.ledger-group a span {
  color: var(--muted);
  font-size: 0.86rem;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  padding: 1.15rem 0 0.4rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.crumbs > * + *::before {
  content: "/";
  margin-right: 0.55rem;
  opacity: 0.65;
}

.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 12.6rem) minmax(0, 46rem);
  gap: 2.6rem;
  align-items: start;
  padding: 0.4rem 0 3.4rem;
  width: 100%;
}

.guide { width: 100%; }

.toc-rail {
  position: sticky;
  top: 1rem;
  padding-top: 0.4rem;
}

.toc-title {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.7rem;
}

.toc-desk,
.toc-mobile nav {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  padding-left: 0.85rem;
}

.toc-desk a,
.toc-mobile a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.38rem 0;
  font-size: 0.84rem;
}

.toc-desk a:hover,
.toc-mobile a:hover { color: var(--ink); }

.toc-mobile { display: none; }

.guide-head {
  padding-bottom: 1.15rem;
  margin-bottom: 0.3rem;
  border-bottom: 2px solid var(--ink);
}

.related-jobs {
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 2px solid var(--ink);
}

.related-jobs ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.related-jobs a {
  display: grid;
  gap: 0.25rem;
  text-decoration: none;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.related-jobs a span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 400;
}

.simple {
  max-width: 44rem;
  padding: 0.5rem 0 3.4rem;
}

.hub-head { padding: 0.6rem 0 1rem; max-width: 44rem; }

.colophon {
  background: var(--ink-deep);
  color: #c9c2b4;
  padding: 1.5rem 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-name {
  margin: 0 0 0.3rem;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.colophon p { font-size: 0.78rem; max-width: 38em; }

.colophon nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
}

.colophon a {
  color: var(--amber-bright);
  font-size: 0.8rem;
}

.analytics-consent {
  width: min(calc(100% - 2.75rem), var(--max));
  margin: 0 auto;
  padding: 1.25rem 0 2rem;
  border-top: 1px solid var(--line);
}

.analytics-consent h2 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.analytics-consent p {
  color: var(--muted);
  font-size: 0.84rem;
  max-width: 42em;
}

.analytics-consent button {
  min-height: 2.75rem;
  margin: 0.25rem 0.4rem 0.25rem 0;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.analytics-consent [data-analytics-reject] {
  background: transparent;
  color: var(--ink);
}

.analytics-consent [data-analytics-reset] {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
  text-decoration: underline;
  font-weight: 600;
}

.analytics-consent button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

::selection {
  background: #e1c995;
  color: var(--ink);
}

@media (max-width: 900px) {
  .guide-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .toc-rail {
    position: static;
    border-block: 1px solid var(--line);
    padding: 0;
  }

  .toc-title,
  .toc-desk { display: none; }

  .toc-mobile { display: block; }

  .toc-mobile summary {
    cursor: pointer;
    font-weight: 700;
    padding: 0.75rem 0;
    color: var(--ink);
  }
}

@media (max-width: 760px) {
  .canvas { width: calc(100% - 1.5rem); }

  .desk-nav { display: none; }

  .finder { margin-left: auto; }

  .tray { display: block; }

  .finder,
  .tray {
    position: static;
  }

  .finder-panel,
  .tray nav {
    left: 0;
    right: 0;
    width: auto;
    max-width: 100%;
  }

  .header-row { min-height: 3.25rem; gap: 0.35rem; }

  .brand-long { display: none; }
  .brand-short { display: inline; }
  .action-long { display: none; }
  .action-short { display: inline; }
  .brand-name { font-size: 1.05rem; }

  .comparison,
  .comparison:has(> .task-figure) { grid-template-columns: 1fr; }

  .mast {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    padding-top: 1.15rem;
  }

  .mast-photo {
    max-width: 100%;
    justify-self: start;
  }

  .mast-photo img { max-height: 9.5rem; }

  .footer-row { flex-direction: column; }
}

@media (max-width: 360px) {
  .canvas { width: calc(100% - 1.15rem); }

  h1 { font-size: 1.7rem; }

  .supplied ol.steps > li { padding-left: 2.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
