/* Shared by every User Manual page. Tokens mirror index.html. */
:root {
  --paper:#FBFDFC;
  --mist:#EDF6F3;
  --ink:#08241E;
  --ink-soft:#3D5D55;
  --muted:#4E6B63;
  --pine:#004D40;
  --leaf:#00B386;
  --rule:#D9EAE4;
  --card:#FFFFFF;
  --accent-bg:#004D40;
  --on-accent:#FFFFFF;
  --tint-fg:#00614B;

  --display:"Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:"Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono:"Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter:clamp(1.25rem, 5vw, 3.5rem);
  --maxw:72rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper:#07211C;
    --mist:#0C2B24;
    --ink:#E6F4F0;
    --ink-soft:#A8C7BF;
    --muted:#88ABA2;
    --pine:#7FD9C0;
    --leaf:#2FD3A5;
    --rule:#1B4038;
    --card:#0D2E27;
    --accent-bg:#2FD3A5;
    --on-accent:#04150F;
    --tint-fg:#5FE3BC;
  }
}

*, *::before, *::after { box-sizing:border-box; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } }

body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--sans);
  font-size:1.0625rem;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

h1, h2, h3, p, figure { margin:0; }
a { color:var(--tint-fg); }
a:hover { color:var(--pine); }
strong { font-weight:600; }
:focus-visible { outline:2px solid var(--leaf); outline-offset:3px; border-radius:4px; }

.wrap { max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter); }

.eyebrow {
  font-family:var(--mono);
  font-size:.75rem; font-weight:500;
  letter-spacing:.18em; text-transform:uppercase;
  color:var(--muted);
  text-decoration:none;
}

/* ---------- header and footer ---------- */
.masthead { border-bottom:1px solid var(--rule); }
.masthead__inner {
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between;
  gap:.75rem 1.5rem;
  min-height:4.25rem;
}
.masthead__home { display:flex; align-items:center; gap:.875rem; }
.brand {
  display:flex; align-items:center; gap:.6rem;
  color:var(--ink); text-decoration:none;
  font-family:var(--display);
  font-variation-settings:"opsz" 60, "SOFT" 40, "WONK" 1;
  font-size:1.4rem; letter-spacing:-.015em;
}
.brand:hover { color:var(--ink); }
.brand svg { width:1.85rem; height:1.85rem; flex:none; }
.masthead__divider { width:1px; height:1.4rem; background:var(--rule); }
.masthead__section, .masthead__nav a { font-size:.9rem; color:var(--ink-soft); text-decoration:none; }
.masthead__section { font-weight:500; }
.masthead__nav { display:flex; gap:1.5rem; }
.masthead__section:hover, .masthead__nav a:hover { color:var(--ink); }

.foot { border-top:1px solid var(--rule); background:var(--mist); }
.foot__inner {
  display:flex; flex-wrap:wrap; gap:1.25rem 2rem; align-items:center; justify-content:space-between;
  padding-block:2.25rem;
  font-size:.85rem; color:var(--muted);
}
.foot__links { display:flex; flex-wrap:wrap; gap:1.5rem; }
.foot__links a { color:inherit; text-decoration:none; }
.foot__links a:hover { color:var(--ink); text-decoration:underline; text-underline-offset:3px; }

/* ---------- page layout ---------- */
.manual {
  display:flex; flex-wrap:wrap; flex-direction:row-reverse; justify-content:flex-end; align-items:flex-start;
  gap:3.5rem;
  padding-block:3rem 6rem;
}
.guide { flex:999 1 35rem; min-width:0; max-width:46rem; }

.toc {
  flex:1 1 12.5rem; max-width:15rem;
  position:sticky; top:1.5rem;
  display:flex; flex-direction:column; gap:.875rem;
  font-size:.9375rem;
}
.toc nav { display:flex; flex-direction:column; gap:2px; }
.toc a { text-decoration:none; }
.toc a:hover { color:var(--ink); }
.toc__guide { padding:.4375rem .75rem; border-radius:10px; color:var(--ink-soft); }
.toc__guide[aria-current="page"] { background:var(--mist); color:var(--pine); font-weight:600; }
.toc__sections {
  display:flex; flex-direction:column;
  margin:.25rem 0 .5rem .75rem; padding-left:.75rem;
  border-left:1px solid var(--rule);
  font-size:.875rem;
}
.toc__sections a { padding:.3125rem .5rem; color:var(--muted); }

/* ---------- article ---------- */
.guide__head { display:flex; flex-direction:column; gap:1.25rem; }
.crumbs { display:flex; align-items:center; gap:.5rem; font-size:.875rem; color:var(--muted); }
.crumbs a { color:var(--muted); text-decoration:none; }
.crumbs a:hover { color:var(--ink); }
.crumbs [aria-current] { color:var(--ink); }
.title {
  font-family:var(--display);
  font-variation-settings:"opsz" 144, "SOFT" 40, "WONK" 1;
  font-weight:400;
  font-size:clamp(2.3rem, 5vw, 3.4rem); line-height:1.04; letter-spacing:-.025em;
  text-wrap:balance;
}
.lede { font-size:1.1875rem; line-height:1.55; color:var(--ink-soft); max-width:36rem; text-wrap:pretty; }
.meta { display:flex; flex-wrap:wrap; align-items:center; gap:.375rem 1.125rem; font-size:.875rem; color:var(--muted); }
.meta a { display:inline-flex; align-items:center; gap:.375rem; font-weight:500; }
.meta svg { width:1rem; height:1rem; }

.tldr {
  margin-top:2.25rem;
  display:flex; flex-direction:column; gap:.75rem;
  padding:1.75rem;
  background:var(--mist); border:1px solid var(--rule); border-radius:20px;
}
.tldr p { font-size:1.125rem; line-height:1.6; text-wrap:pretty; }

.part { display:flex; flex-direction:column; gap:1.125rem; padding-top:4.5rem; scroll-margin-top:1.5rem; }
.part h2 {
  font-family:var(--display);
  font-variation-settings:"opsz" 144, "SOFT" 40, "WONK" 1;
  font-weight:400;
  font-size:2.125rem; line-height:1.1; letter-spacing:-.02em;
  text-wrap:balance;
}
.part h3 { margin-top:.75rem; font-size:1.1875rem; font-weight:600; line-height:1.3; }
.part ul { margin:0; padding-left:1.375rem; display:flex; flex-direction:column; gap:.5rem; }

.steps { list-style:none; margin:.5rem 0 0; padding:0; display:flex; flex-direction:column; gap:1.125rem; counter-reset:step; }
.steps li { display:flex; align-items:flex-start; gap:1rem; counter-increment:step; }
.steps li::before {
  content:counter(step);
  flex:none; width:2rem; height:2rem; margin-top:1px;
  display:flex; align-items:center; justify-content:center;
  border-radius:999px;
  background:var(--accent-bg); color:var(--on-accent);
  font-family:var(--mono); font-size:.875rem;
}
.steps div { display:flex; flex-direction:column; gap:2px; }
.steps span { color:var(--ink-soft); }

.shot { margin-top:.75rem; display:flex; flex-direction:column; gap:.75rem; }
.shot__stage {
  display:flex; justify-content:center;
  padding:2rem 1.25rem;
  background:var(--mist); border:1px solid var(--rule); border-radius:20px;
}
.shot figcaption { font-size:.875rem; line-height:1.5; color:var(--muted); }

.table { margin-top:.375rem; overflow-x:auto; background:var(--card); border:1px solid var(--rule); border-radius:16px; }
.table table { width:100%; border-collapse:collapse; font-size:.9375rem; line-height:1.45; }
.table th, .table td { text-align:left; vertical-align:top; padding:.875rem 1rem; border-bottom:1px solid var(--rule); }
.table tbody tr:last-child > * { border-bottom:0; }
.table thead th {
  background:var(--mist);
  font-family:var(--mono); font-size:.6875rem; font-weight:500;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--muted);
}
.table tbody th { font-weight:600; }
.table .desc { color:var(--ink-soft); }
.table .no { color:var(--muted); }
.table--wide table { min-width:37.5rem; }
.table--narrow table { min-width:30rem; }

.faq { border-top:1px solid var(--rule); }
.faq details { border-bottom:1px solid var(--rule); }
.faq summary {
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding:1.125rem 0;
  font-weight:600;
  list-style:none; cursor:pointer;
}
.faq summary::-webkit-details-marker { display:none; }
.faq summary svg { flex:none; width:18px; height:18px; color:var(--muted); transition:transform .16s ease; }
.faq details[open] summary svg { transform:rotate(180deg); }
.faq details p { padding-bottom:1.125rem; color:var(--ink-soft); }

.help {
  margin-top:4.5rem;
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.75rem 1.5rem;
  padding:1.5rem 1.75rem;
  background:var(--card); border:1px solid var(--rule); border-radius:16px;
}

/* ---------- catalog ---------- */
.catalog { max-width:46rem; padding-block:3rem 6rem; }
.catalog__list { list-style:none; margin:2.5rem 0 0; padding:0; display:grid; gap:.75rem; }
.catalog__item {
  display:flex; flex-direction:column; gap:.375rem;
  padding:1.25rem 1.5rem;
  background:var(--card); border:1px solid var(--rule); border-radius:16px;
  color:var(--ink); text-decoration:none;
}
.catalog__item:hover { color:var(--ink); border-color:var(--leaf); }
.catalog__item strong { font-size:1.125rem; line-height:1.35; }
.catalog__item span { font-size:.9375rem; line-height:1.5; color:var(--ink-soft); }

/* ---------- app snippets: the app's light theme, like a screenshot ---------- */
.app { width:100%; max-width:23.75rem; font-family:var(--sans); color:#16201E; line-height:1.4; }
.app-list { display:flex; flex-direction:column; gap:10px; }
.app-day {
  display:flex; justify-content:space-between;
  padding:0 4px;
  font-size:13px; line-height:16px; font-weight:600; letter-spacing:.06em; text-transform:uppercase;
  color:var(--muted);
}
.app-day span:last-child { font-family:var(--mono); letter-spacing:0; text-transform:none; font-weight:500; }
.app-card {
  display:flex; flex-direction:column;
  background:#FFFFFF; border:1px solid #DCE4E2; border-radius:12px;
  box-shadow:0 1px 2px rgba(0,77,64,.06), 0 1px 3px rgba(0,77,64,.04);
}
.app-row { display:flex; align-items:center; gap:12px; padding:12px 16px; border-bottom:1px solid #EAEFED; }
.app-row:last-child { border-bottom:0; }
.app-avatar {
  flex:none; width:40px; height:40px;
  display:flex; align-items:center; justify-content:center;
  border-radius:999px; background:#F0F4F3; color:#5C6B67;
  font-size:15px; font-weight:600;
}
.app-avatar--in { background:#E6F8EF; color:#0E8F4F; }
.app-text { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:2px; }
.app-title { font-size:15px; line-height:22px; font-weight:500; }
.app-sub { display:flex; align-items:center; gap:6px; font-size:12px; line-height:16px; color:#5C6B67; }
.app-tag { padding:1px 6px; border-radius:4px; background:#FFF4E0; color:#8F5B00; font-weight:500; }
.app-money { font-family:var(--mono); font-variant-numeric:tabular-nums; font-size:15px; font-weight:500; }
.app-money--in { color:#0E8F4F; }

.app-review {
  display:flex; flex-direction:column; gap:14px;
  padding:16px;
  background:#FFFFFF; border-radius:16px;
  box-shadow:0 4px 12px rgba(0,77,64,.08), 0 1px 3px rgba(0,77,64,.04);
}
.app-review__head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.app-suggest { display:flex; flex-direction:column; gap:6px; padding:12px 14px; background:#F7FAF9; border-radius:12px; }
.app-suggest .app-cat { font-size:18px; line-height:24px; }
.app-reason { font-size:14px; line-height:20px; color:#5C6B67; }
.app-buttons { display:flex; gap:8px; }
.app-btn {
  flex:1 1 0; height:44px;
  display:flex; align-items:center; justify-content:center;
  border:1px solid #DCE4E2; border-radius:12px;
  font-size:15px; font-weight:500; color:#007A5C;
}
.app-btn--primary { background:#007A5C; border-color:#007A5C; color:#FFFFFF; }
.app-toggle {
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:8px 12px; border-radius:10px;
  background:#E6F8EF; color:#0E8F4F;
  font-size:13px; line-height:18px; font-weight:500;
}
.app-switch { flex:none; display:flex; justify-content:flex-end; width:44px; height:26px; padding:3px; border-radius:999px; background:#00B386; }
.app-switch::after {
  content:""; display:block; width:20px; height:20px;
  border-radius:999px; background:#FFFFFF; box-shadow:0 1px 3px rgba(0,77,64,.2);
}

.app-cat { display:flex; align-items:center; gap:8px; font-size:15px; line-height:22px; font-weight:600; }
.app-dot { flex:none; width:10px; height:10px; border-radius:999px; }
.app-envelope { display:flex; flex-direction:column; gap:6px; padding:14px 16px; border-bottom:1px solid #EAEFED; }
.app-envelope:last-child { border-bottom:0; }
.app-envelope__head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.app-pill {
  padding:2px 8px; border-radius:999px; background:#F0F4F3;
  font-family:var(--mono); font-variant-numeric:tabular-nums; font-size:13px; line-height:18px; font-weight:500;
}
.app-pill--covered { background:#FFF4E0; color:#8F5B00; }
.app-pill--short { background:#FDECEA; color:#C42317; }
.app-note { font-size:12px; line-height:16px; color:#5C6B67; }
.app-bar { height:8px; border-radius:999px; background:#EAEFED; overflow:hidden; }
.app-bar span { display:block; height:100%; border-radius:999px; background:#E3A92B; }
.app-bar--short { background:repeating-linear-gradient(135deg, #E23A2E 0 4px, #FDECEA 4px 8px); }

.app-row--plain { border-bottom:0; }
.app-tile {
  flex:none; width:40px; height:40px;
  display:flex; align-items:center; justify-content:center;
  border-radius:12px; background:#F0F4F3; color:#3A4744;
}
.app-tile svg { width:22px; height:22px; }
.app-tile--accent { background:#E6F6F1; color:#007A5C; }
.app-tile--small { width:32px; height:32px; border-radius:10px; }
.app-tile--small svg { width:18px; height:18px; }
.app-title--group { font-size:16px; font-weight:600; }
.app-money--total { font-weight:600; }
.app-grow { flex:1 1 auto; min-width:0; }
.app-chevron { flex:none; width:16px; height:16px; color:#5C6B67; }
.app-more { flex:none; width:22px; height:22px; color:#5C6B67; }
.app-mask { font-family:var(--mono); font-size:13px; color:#5C6B67; }
.app-heading { display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; }
.app-badge {
  display:inline-flex; align-items:center; gap:4px;
  padding:2px 8px; border-radius:999px; background:#FFF4E0; color:#7A4E0E;
  font-size:12px; line-height:16px; font-weight:600;
}
.app-badge svg { width:12px; height:12px; color:#8F5B00; }
.app-notice {
  display:flex; flex-direction:column; gap:10px;
  margin:0 16px 14px; padding:12px 14px;
  background:#FFF4E0; border:1px solid #F7E3BE; border-radius:12px;
  color:#7A4E0E; font-size:13px; line-height:18px;
}
.app-notice .app-btn {
  flex:none; align-self:flex-start; height:36px; padding:0 14px;
  background:#FFFFFF; border:1.5px solid #C98A12; border-radius:10px;
  color:#7A4E0E; font-size:14px; font-weight:600;
}
.app-ready { display:flex; flex-direction:column; gap:6px; padding:16px; border-bottom:1px solid #EAEFED; }
.app-ready__row { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.app-ready .app-btn { flex:none; height:40px; padding:0 18px; font-weight:600; }
.app-label { font-size:13px; line-height:18px; font-weight:600; color:#5C6B67; }
.app-big { font-family:var(--mono); font-variant-numeric:tabular-nums; font-size:28px; line-height:34px; font-weight:600; }
.app-hint { font-size:13px; line-height:18px; color:#5C6B67; }
.app-dots { flex:none; display:flex; }
.app-dots .app-dot { width:16px; height:16px; border:2px solid #FFFFFF; }
.app-dots .app-dot + .app-dot { margin-left:-6px; }
.app-pill--togo { background:#E8F0FB; color:#1F4E8C; }
.app-pill--funded { background:#E6F6F1; color:#00614B; }

/* ---------- transfers guide snippets ---------- */
.app-avatar svg { width:20px; height:20px; color:#3A4744; }
.app-review > .app-btn { flex:none; }
.app-cancel { font-size:14px; font-weight:500; color:#007A5C; }
.app-question { font-size:20px; line-height:26px; font-weight:600; }
.app-sides { display:flex; align-items:center; gap:8px; }
.app-sides__arrow { flex:none; color:#5C6B67; }
.app-side {
  flex:1 1 0; min-width:0;
  display:flex; flex-direction:column; gap:2px;
  padding:8px 10px; border:1px solid #DCE4E2; border-radius:12px;
  font-size:13px; line-height:18px; font-weight:500;
}
.app-side--picked { border-color:#00B386; background:#F2FBF8; }
.app-side__cap { font-size:10px; line-height:12px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:#5C6B67; }
.app-row--picked { background:#F2FBF8; }
.app-row--picked:first-child { border-radius:12px 12px 0 0; }
.app-match { flex:none; display:flex; flex-direction:column; align-items:flex-end; gap:2px; }
.app-match .app-money { font-size:14px; }
.app-match__label { font-size:10px; line-height:12px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:#007A5C; }
.app-chip {
  flex:none; display:inline-flex; align-items:center;
  padding:3px 12px; border:1px solid #007A5C; border-radius:999px;
  font-size:13px; line-height:18px; font-weight:500; color:#007A5C;
}
.app-wait { display:flex; color:#8F5B00; }
.app-wait svg { width:16px; height:16px; }

.app-cardpage {
  overflow:hidden; border-radius:20px; background:#F4FAF8;
  box-shadow:0 4px 12px rgba(0,77,64,.08), 0 1px 3px rgba(0,77,64,.04);
}
.app-hero { display:flex; flex-direction:column; gap:6px; padding:18px 18px 40px; background:#004D40; color:#FFFFFF; }
.app-hero__name { font-size:17px; line-height:22px; font-weight:600; }
.app-hero__sub, .app-hero__label { font-size:12px; line-height:16px; color:#A9D9C9; }
.app-hero__label { margin-top:10px; font-size:13px; line-height:18px; }
.app-hero__big { font-family:var(--mono); font-variant-numeric:tabular-nums; font-size:32px; line-height:36px; font-weight:600; }
.app-hero__row { margin-top:10px; display:flex; justify-content:space-between; gap:12px; font-size:13px; line-height:18px; font-weight:500; color:#A9D9C9; }
.app-hero__total { font-family:var(--mono); font-variant-numeric:tabular-nums; font-weight:600; color:#FFFFFF; }
.app-split { display:flex; gap:2px; height:10px; border-radius:5px; overflow:hidden; }
.app-split__set { background:#6FCCB0; }
.app-split__gap { min-width:8px; background:#FFFFFF; }
.app-panel {
  margin:12px; display:flex; flex-direction:column;
  background:#FFFFFF; border-radius:16px; box-shadow:0 1px 3px rgba(0,77,64,.08);
}
.app-panel--raised { margin-top:-24px; }
.app-panel .app-row { padding:12px 14px; }
.app-due { display:flex; align-items:center; gap:10px; padding:14px; border-bottom:1px solid #EAEFED; }
.app-due__right { flex:none; display:flex; flex-direction:column; align-items:flex-end; gap:4px; }
.app-tile--due { background:#FFF4E0; color:#8F5B00; }
.app-title--strong { font-weight:600; }
.app-stats { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:8px; padding:12px 14px 14px; }
.app-stat { display:flex; flex-direction:column; gap:2px; font-size:11px; line-height:15px; color:#5C6B67; }
.app-stat .app-money, .app-stat strong { font-size:13px; line-height:18px; color:#16201E; }
.app-ok { font-size:12px; line-height:16px; color:#0E8F4F; }
.app-short { font-size:12px; line-height:16px; color:#C42317; }

.tip {
  display:flex; flex-direction:column; gap:.375rem;
  padding:1.25rem 1.375rem;
  background:var(--card); border:1px solid var(--rule); border-radius:16px;
}
.tip span { color:var(--ink-soft); }
.table .num { font-family:var(--mono); font-variant-numeric:tabular-nums; }
