:root {
  color-scheme: light;
  --navy-brand: #16275f;
  --navy-deep: #101b45;
  --navy-soft: #263a75;
  --green-brand: #006241;
  --green-accent: #00754a;
  --green-house: #1e3932;
  --green-uplift: #2b5148;
  --green-light: #d4e9e2;
  --gold: #cba258;
  --gold-lightest: #faf6ee;
  --cream: #f2f0eb;
  --ceramic: #edebe9;
  --neutral-cool: #f9f9f9;
  --white: #ffffff;
  --ink: rgba(0, 0, 0, 0.87);
  --soft-ink: rgba(0, 0, 0, 0.58);
  --faint-ink: rgba(0, 0, 0, 0.42);
  --white-soft: rgba(255, 255, 255, 0.70);
  --line: rgba(0, 0, 0, 0.12);
  --danger: #c82014;
  --info: #0b7285;
  --shadow-card: 0 0 .5px rgba(0, 0, 0, 0.14), 0 1px 1px rgba(0, 0, 0, 0.24);
  --shadow-float: 0 0 6px rgba(0, 0, 0, 0.24), 0 8px 12px rgba(0, 0, 0, 0.14);
  --shadow-lift: 0 0 .5px rgba(0, 0, 0, .14), 0 8px 18px rgba(0, 0, 0, .10);
  --radius-card: 12px;
  --radius-pill: 50px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

a {
  color: var(--green-accent);
}

img {
  max-width: 100%;
  display: block;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px clamp(16px, 4vw, 40px);
  background: var(--white);
  border-top: 4px solid var(--green-brand);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.10), 0 2px 2px rgba(0, 0, 0, 0.06), 0 0 2px rgba(0, 0, 0, 0.07);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(22, 39, 95, .12);
  border-radius: 14px;
  background: var(--white);
  color: var(--green-brand);
  font-weight: 800;
  box-shadow: 0 0 .5px rgba(0, 0, 0, .14), 0 3px 8px rgba(16, 27, 69, .12);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.standard-nav {
  color: var(--ink);
  padding-left: max(16px, calc((100vw - 1280px) / 2 + 16px));
  padding-right: max(16px, calc((100vw - 1280px) / 2 + 16px));
}

.standard-nav .brand-link {
  flex: 0 0 auto;
}

.standard-nav .brand-mark-wide {
  width: 176px;
  max-width: 38vw;
  height: 54px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.standard-nav .brand-mark-wide img {
  object-fit: contain;
}

.brand-title {
  display: block;
  color: var(--navy-brand);
  font-weight: 800;
  line-height: 1.1;
}

.brand-subtitle {
  display: block;
  color: var(--soft-ink);
  font-size: 13px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a,
.pill {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.nav-links a:hover {
  color: var(--green-accent);
  background: rgba(0, 117, 74, .08);
}

.pill:active,
.nav-links a:active {
  transform: scale(.95);
}

.primary-nav-links {
  gap: 6px;
}

.primary-nav-links a {
  min-height: 40px;
  padding: 8px 14px;
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

.primary-nav-links a[aria-current="page"] {
  color: var(--green-accent);
  background: rgba(0, 117, 74, .08);
}

.primary-nav-links .nav-action-muted {
  background: var(--ceramic);
  color: var(--ink);
}

.primary-nav-links .nav-action-primary {
  background: var(--green-accent);
  border-color: var(--green-accent);
  color: var(--white);
  box-shadow: 0 3px 10px rgba(0, 117, 74, .18);
}

.primary-nav-links .nav-action-primary:hover {
  background: var(--green-brand);
  color: var(--white);
}

.doc-subnav {
  position: sticky;
  top: 76px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px clamp(16px, 4vw, 40px);
  background: var(--green-house);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .10);
}

.doc-subnav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.doc-subnav a:hover {
  background: var(--white);
  color: var(--green-brand);
}

.doc-subnav a:active {
  transform: scale(.95);
}

.pill-primary {
  background: var(--green-accent);
  border-color: var(--green-accent);
  color: var(--white);
  box-shadow: 0 3px 10px rgba(0, 117, 74, .18);
}

.pill-outline {
  background: transparent;
  border-color: var(--green-accent);
  color: var(--green-accent);
}

.hero {
  padding: clamp(34px, 6vw, 76px) clamp(16px, 4vw, 40px);
  background: var(--cream);
}

.hero-inner,
.manual-main,
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--green-uplift);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--gold);
}

h1,
h2,
h3,
h4 {
  letter-spacing: -0.01em;
}

h1 {
  max-width: 760px;
  margin: 0;
  color: var(--green-brand);
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.hero p {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--soft-ink);
  font-size: 19px;
  line-height: 1.7;
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: var(--radius-card);
  background: var(--green-house);
  color: var(--white);
  box-shadow: var(--shadow-card);
}

.hero-inner > *,
.manual-main > * {
  min-width: 0;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--gold);
}

.hero-card strong {
  display: block;
  font-size: 24px;
  line-height: 1.2;
}

.hero-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--white-soft);
}

.manual-main {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
  padding: 0 clamp(16px, 4vw, 40px) 56px;
}

.toc {
  position: sticky;
  top: 94px;
  align-self: start;
  padding: 18px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-top: 5px solid var(--gold);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.toc strong {
  color: var(--green-brand);
}

.toc a {
  display: block;
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--soft-ink);
  text-decoration: none;
  font-size: 14px;
}

.toc a:hover {
  color: var(--green-accent);
  background: rgba(0, 117, 74, .08);
}

.content {
  display: grid;
  gap: 24px;
}

.manual-section {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.manual-section:not(.dark)::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--gold);
}

.manual-section.dark {
  background: var(--green-house);
  color: var(--white);
}

.manual-section.dark p,
.manual-section.dark li {
  color: var(--white-soft);
}

.manual-section.dark .mini-card,
.manual-section.dark .step-card,
.manual-section.dark .notice {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
}

.manual-section.dark .mini-card strong,
.manual-section.dark .step-card strong {
  color: var(--white);
}

.manual-section.dark .mini-card span,
.manual-section.dark .step-card span {
  color: var(--white-soft);
}

.manual-section h2 {
  margin: 0 0 14px;
  color: var(--green-brand);
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.manual-section.dark h2,
.manual-section.dark h3 {
  color: var(--white);
}

.manual-section h3 {
  margin: 24px 0 10px;
  color: var(--green-brand);
  font-size: 22px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.lead {
  max-width: 860px;
  color: var(--soft-ink);
  font-size: 18px;
}

.meta-grid,
.two-grid,
.three-grid,
.four-grid {
  display: grid;
  gap: 14px;
}

.meta-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.two-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.four-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mini-card,
.notice,
.step-card {
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: var(--radius-card);
  background: var(--cream);
}

.mini-card strong,
.step-card strong {
  display: block;
  color: var(--green-brand);
}

.mini-card span,
.step-card span {
  display: block;
  margin-top: 6px;
  color: var(--soft-ink);
  font-size: 14px;
}

.notice {
  border-left: 5px solid var(--gold);
  box-shadow: var(--shadow-card);
}

.notice.info {
  border-left-color: var(--info);
}

.notice.warning {
  border-left-color: var(--danger);
}

.figure-frame {
  margin: 22px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--ceramic);
  box-shadow: var(--shadow-lift);
}

.figure-frame img {
  width: 100%;
  background: var(--white);
}

.figure-frame figcaption {
  padding: 14px 16px;
  color: var(--soft-ink);
  font-size: 14px;
}

.callouts {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.callouts li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.callouts b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-accent);
  color: var(--white);
  font-size: 13px;
}

.process {
  counter-reset: process;
  display: grid;
  gap: 12px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.process li {
  counter-increment: process;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-left: 4px solid var(--green-accent);
  border-radius: var(--radius-card);
  background: #fbfaf7;
}

.process li::before {
  content: counter(process);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-accent);
  color: var(--white);
  font-weight: 900;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--green-brand);
  background: var(--green-light);
}

code {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--cream);
  color: var(--green-house);
  font-family: Consolas, "Liberation Mono", monospace;
  font-size: .95em;
}

.quick-guide-page .hero {
  padding-top: clamp(46px, 7vw, 88px);
  padding-bottom: clamp(40px, 6vw, 72px);
}

.quick-guide-page {
  overflow-x: hidden;
}

.quick-guide-page .hero-inner,
.quick-guide-page .manual-main,
.quick-guide-page .footer-inner {
  max-width: 1280px;
}

.quick-guide-page .hero-inner {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 420px);
  align-items: stretch;
}

.quick-guide-page .hero-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .16);
}

.quick-guide-page .hero-card p {
  margin: 14px 0 0;
  color: var(--white-soft);
  font-size: 16px;
  line-height: 1.6;
}

.quick-guide-page .hero p,
.quick-guide-page .hero-card li,
.quick-guide-page .manual-section p,
.quick-guide-page .manual-section li,
.quick-guide-page .mini-card span,
.quick-guide-page .step-card span {
  overflow-wrap: anywhere;
}

.quick-guide-page .manual-main {
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  padding-bottom: 72px;
}

.quick-guide-page .toc {
  padding: 20px;
  border: 1px solid rgba(22, 39, 95, .10);
  border-top: 5px solid var(--gold);
}

.quick-guide-page .toc a {
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 8px;
}

.quick-guide-page .toc a:hover {
  background: var(--green-light);
}

.quick-guide-page .content {
  gap: 28px;
}

.quick-guide-page .manual-section {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(22, 39, 95, .10);
  box-shadow: 0 0 .5px rgba(0, 0, 0, .14), 0 4px 14px rgba(16, 27, 69, .08);
}

.quick-guide-page .manual-section:not(.dark)::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--gold);
}

.quick-guide-page .manual-section h2 {
  max-width: 880px;
}

.quick-guide-page .guide-overview .three-grid,
.quick-guide-page #daily-checklist .three-grid {
  margin-top: 22px;
}

.quick-guide-page .mini-card,
.quick-guide-page .notice,
.quick-guide-page .step-card {
  border: 1px solid rgba(22, 39, 95, .10);
}

.quick-guide-page .mini-card {
  min-height: 142px;
}

.quick-guide-page .mini-card strong,
.quick-guide-page .step-card strong {
  color: var(--green-brand);
  font-size: 16px;
}

.quick-guide-page .mini-card span,
.quick-guide-page .step-card span {
  line-height: 1.55;
}

.quick-guide-page .manual-section.dark .step-card {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
}

.quick-guide-page .manual-section.dark .step-card strong {
  color: var(--white);
}

.quick-guide-page .manual-section.dark .step-card span {
  color: var(--white-soft);
}

.handover-strip {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius-card);
  background: var(--green-house);
  color: var(--white);
}

.handover-strip strong {
  font-size: 18px;
}

.handover-strip span {
  color: var(--white-soft);
  line-height: 1.55;
}

.screen-path {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 14px;
  padding: 8px 10px;
  border: 1px solid rgba(22, 39, 95, .10);
  border-radius: var(--radius-pill);
  background: var(--green-light);
  color: var(--green-brand);
  font-size: 14px;
  font-weight: 800;
}

.screen-path span {
  color: var(--green-uplift);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.screen-path code {
  background: var(--white);
}

.quick-guide-page .process {
  gap: 10px;
}

.quick-guide-page .process li {
  border: 1px solid rgba(22, 39, 95, .10);
  border-left: 4px solid var(--green-accent);
  background: #fbfaf7;
}

.quick-guide-page .process li::before {
  background: var(--green-accent);
}

.quick-guide-page .figure-frame {
  box-shadow: 0 0 .5px rgba(0, 0, 0, .14), 0 4px 12px rgba(16, 27, 69, .08);
}

.quick-guide-page .figure-frame figcaption {
  background: var(--white);
}

.quick-guide-page th {
  background: var(--green-light);
}

.footer {
  padding: 38px clamp(16px, 4vw, 40px);
  background: var(--green-house);
  color: var(--white);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer p {
  margin: 6px 0 0;
  color: var(--white-soft);
}

@media (max-width: 960px) {
  .hero-inner,
  .manual-main {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }

  .meta-grid,
  .three-grid,
  .four-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-guide-page .manual-main,
  .quick-guide-page .hero-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-nav {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .standard-nav .brand-mark-wide {
    width: 132px;
    max-width: 60vw;
    height: 46px;
  }

  .primary-nav-links {
    width: 100%;
    gap: 6px;
  }

  .primary-nav-links a {
    min-height: 42px;
    padding-inline: 12px;
  }

  .doc-subnav {
    position: static;
    justify-content: flex-start;
    overflow-x: auto;
  }

  h1 {
    font-size: clamp(32px, 9vw, 40px);
    line-height: 1.12;
  }

  .meta-grid,
  .two-grid,
  .three-grid,
  .four-grid {
    grid-template-columns: 1fr;
  }

  .handover-strip {
    grid-template-columns: 1fr;
  }
}

@media print {
  .site-nav,
  .doc-subnav,
  .toc,
  .footer {
    display: none;
  }

  body {
    background: var(--white);
  }

  .manual-main {
    display: block;
    max-width: none;
    padding: 0;
  }

  .manual-section {
    box-shadow: none;
    break-inside: avoid;
  }
}
