:root {
  color-scheme: light;
  --paper: #faf8f3;
  --white: #fffefa;
  --ink: #242b26;
  --muted: #595e55;
  --line: #deded3;
  --accent: #a43e30;
  --accent-soft: #f8e8e0;
  --forest: #21463c;
  --sage: #edf2e8;
  --radius: 24px;
  --display: 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  font: 16px/1.55 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: var(--accent); text-underline-offset: .18em; }
p { margin: 0 0 .9em; }
small, .muted { color: var(--muted); font-size: .875rem; }
h1, h2, h3 { line-height: 1.12; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.045em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.55rem); margin: 0 0 .45em; }
h3 { margin: .4em 0; font-size: 1.1rem; }
button, input, select, textarea { font: inherit; max-width: 100%; }
button, input, select, textarea {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
}
button, summary { cursor: pointer; }
button { min-height: 44px; font-weight: 650; }
button:disabled { opacity: .5; cursor: default; }
input[type=number] { width: 8rem; }
input[type=checkbox] { accent-color: var(--forest); }
label { display: block; margin: .6em 0; }
label > select, label > input:not([type=checkbox]) { vertical-align: middle; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: 1rem; top: -200px; z-index: 2; padding: .7rem 1rem; background: white; }
.skip:focus { top: .6rem; }

body > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 12px clamp(16px, 4vw, 42px);
  max-width: 1248px;
  margin: auto;
}
body > header nav { display: flex; flex-wrap: wrap; gap: clamp(12px, 3vw, 34px); }
body > header nav a { color: var(--ink); text-decoration: none; font-weight: 650; font-size: .9rem; }
body > header nav a:hover { text-decoration: underline; }
body > header > small { white-space: nowrap; }
main { max-width: 1248px; margin: auto; padding: 0 clamp(16px, 4vw, 42px) 2rem; }
.beta-note { padding: .65rem .1rem; margin: 0 0 .7rem; color: var(--muted); font-size: .86rem; }
.hero {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: clamp(16px, 5vw, 68px);
  background: #f0ebe0;
  border-radius: clamp(22px, 3vw, 36px);
  overflow: hidden;
  padding: clamp(18px, 4vw, 52px);
}
.eyebrow { font-size: .73rem; letter-spacing: .18em; font-weight: 750; color: var(--accent); }
.hero h1 { font-size: clamp(2.35rem, 4.45vw, 4.1rem); margin: .24em 0; line-height: .98; }
.hero p { max-width: 38ch; color: var(--muted); }
.hero-art { min-width: 0; aspect-ratio: 1.55; background: #e9bea4; border-radius: 32% 32% 18px 18px / 22% 22% 18px 18px; overflow: hidden; }
.hero-art svg { display: block; width: 100%; height: 100%; }
.cta, .primary {
  display: inline-block;
  padding: .72rem 1rem;
  border-radius: 12px;
  color: white;
  background: var(--forest);
  border-color: var(--forest);
  font-weight: 700;
  text-decoration: none;
}
.cta:hover, .primary:hover { background: #16382e; }
.trust { display: flex; flex-wrap: wrap; gap: .25rem .8rem; margin-top: 1rem; color: var(--muted); font-size: .77rem; }

.summarybar {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: .7rem;
  margin: 1.6rem 0 1rem;
}
.summarybar > div { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.2rem; }
.summarybar > div:first-child { background: var(--forest); border-color: var(--forest); color: white; }
.summarybar > div:first-child small { color: #e0ebe1; }
.summarybar strong { display: block; font-size: clamp(1.3rem, 3vw, 2rem); letter-spacing: -.04em; line-height: 1.15; overflow-wrap: anywhere; }
summary { font-weight: 700; }
details { padding: .82rem 1rem; border: 1px solid var(--line); border-radius: 14px; margin: .65rem 0; }
details[open] > summary { margin-bottom: .75rem; }
#personal { background: var(--white); }
#personal > summary { font-size: 1.05rem; }
#personal > p { margin: .7rem 0 .4rem; }
#national { color: var(--muted); }
.row { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; }
.row > * { min-width: 0; }
.row button.active { background: var(--forest); color: white; border-color: var(--forest); }
.holiday-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .4rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }

.sectionhead { margin: clamp(44px, 7vw, 96px) 0 1.1rem; }
.sectionhead h2 { margin-bottom: .18em; }
.sectionhead p { color: var(--muted); max-width: 65ch; margin-bottom: 0; }
#planner, #discover, .feedback { padding: clamp(12px, 3vw, 28px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
#planner { scroll-margin-top: 1rem; }
#tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .3rem; padding: .32rem; margin: 0 0 1.15rem; background: #efeee7; border-radius: 14px; }
#tabs button { min-width: 0; padding: .55rem .35rem; line-height: 1.22; overflow-wrap: anywhere; border: 1px solid transparent; background: transparent; }
#tabs button.active { background: var(--white); color: var(--forest); border-color: var(--line); box-shadow: 0 2px 4px #242b2610; }
#capHelp { margin: -.15rem 0 1.4rem; }
#results { margin-top: 1.35rem; }
#results > h2 { font-size: clamp(1.35rem, 2.8vw, 1.8rem); }
#results > button { margin-bottom: .55rem; }

.grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.card { min-width: 0; border: 1px solid var(--line); border-radius: 17px; padding: 1rem; overflow-wrap: anywhere; }
.opportunity { display: flex; flex-direction: column; gap: .65rem; background: #fff; }
.opportunity.selected { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }
.period-top { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: space-between; align-items: center; }
.cost-pill { color: #843326; background: var(--accent-soft); padding: .25rem .55rem; border-radius: 8px; font-size: .78rem; font-weight: 800; }
.big { color: var(--forest); font-family: var(--display); font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.04; letter-spacing: -.035em; }
.big strong { font-family: system-ui, sans-serif; font-size: 2em; line-height: .9; letter-spacing: -.07em; margin-right: .08em; }
.days { display: flex; gap: 3px; margin-top: .1rem; }
.days span { flex: 1; height: 5px; border-radius: 3px; background: #a8c4a5; }
.days span.leave { background: var(--accent); }
.period-legend { display: flex; gap: .3rem .65rem; flex-wrap: wrap; font-size: .8rem; color: var(--muted); }
.leave-dates { margin: 0; font-size: .93rem; border-top: 1px solid var(--line); padding-top: .6rem; }
.opportunity .primary { margin-top: auto; width: 100%; background: var(--sage); color: var(--forest); border-color: #d4dfd1; }
.opportunity .primary:hover { background: #dce9d8; }

#whatif .row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
#whatif .card { padding: .7rem; }
#planner .advanced { margin-top: 1.5rem; background: var(--paper); }
.cal { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 4px; margin: .8rem 0; }
.cal span, .cal small { text-align: center; overflow-wrap: anywhere; }
.cal span { padding: .35rem .1rem; border-radius: 8px; background: #f2f0eb; }
.cal .free { background: #e2eddf; }
.cal .planned { color: #264967; background: #d9e8fa; }
.cal .leave { background: var(--accent); color: white; }

#discover { background: var(--sage); }
.discover-context { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; }
.discover-context p { margin: 0; color: var(--forest); font-weight: 700; }
.filterrow { display: flex; flex-wrap: wrap; gap: 0 .9rem; }
#ideas .card { background: var(--white); overflow: hidden; }
.idea-art { margin: -1rem -1rem .65rem; height: 108px; overflow: hidden; }
.idea-art svg { display: block; width: 100%; height: 100%; }
.idea-link { font-size: .92rem; font-weight: 650; }
#discover > .muted { margin: .9rem 0 0; }
.feedback { margin: 2.25rem 0 0; }
.feedback textarea { display: block; width: 100%; min-height: 85px; resize: vertical; }
.guides { margin: 2.25rem 0 1.5rem; padding: 0; }
.guides nav { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,220px),1fr)); gap: .5rem 1rem; margin-bottom: 1rem; }
footer { border-top: 1px solid var(--line); padding: 1rem 0 0; color: var(--muted); font-size: .85rem; }

.guide-page header, .guide-page main, .guide-page footer { max-width: 760px; margin: auto; padding: 1.3rem clamp(18px, 5vw, 36px); }
.guide-page header a { text-decoration: none; font-weight: 750; color: var(--forest); }
.guide-page h1 { font-size: clamp(2.25rem, 7vw, 4.5rem); margin: .3em 0; }
.guide-page h2 { font-size: 1.55rem; margin-top: 1.1em; }
.guide-page section { margin: 1.5rem 0; padding: 1.15rem; border-radius: 18px; background: var(--sage); }
.guide-page section h2 { margin-top: 0; }
.guide-page section p:last-child { margin-bottom: 0; }
.guide-page nav { display: grid; gap: .45rem; }

@media (max-width: 900px) { .grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 650px) {
  body > header { flex-wrap: wrap; gap: .35rem .65rem; }
  body > header nav { order: 3; width: 100%; }
  .hero { grid-template-columns: 1fr; }
  .hero-art { aspect-ratio: 2.6/1; border-radius: 15px; }
  .grid, .holiday-row { grid-template-columns: 1fr; }
  #tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .summarybar > div { padding: .6rem .4rem; }
  .summarybar small { font-size: .74rem; line-height: 1.25; display: block; margin-bottom: .28em; }
}
@media (max-width: 380px) {
  .cal small, .cal span { font-size: .74rem; }
  #whatif .row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* Warm glass surfaces and restrained highlights. */
:root {
  --paper: #faf8f2;
  --white: #fffefc;
  --ink: #202a24;
  --line: #dddcd1;
  --forest: #224b3d;
  --accent: #a33e30;
  --surface-shadow: 0 1px 2px #24352b09, 0 12px 32px -24px #3c4f3d57;
}
body {
  background: radial-gradient(ellipse at 65% 0, #f5eadc 0, transparent 610px), var(--paper);
}
body > header { padding-top: 16px; padding-bottom: 16px; }
body > header nav {
  gap: 2px;
  padding: 4px;
  border: 1px solid #fffaf3;
  border-radius: 16px;
  background: #fffdf8b8;
  box-shadow: inset 0 1px 0 #fff, 0 5px 16px #4532220c;
  backdrop-filter: blur(12px) saturate(130%);
}
body > header nav a { padding: 7px 13px; border-radius: 10px; transition: background .16s ease; }
body > header nav a:hover { text-decoration: none; background: #e8eee4; }
.hero {
  isolation: isolate;
  position: relative;
  grid-template-columns: minmax(0,1fr) minmax(0,.83fr);
  gap: clamp(18px, 4vw, 68px);
  min-height: 395px;
  background:
    radial-gradient(ellipse at 80% 24%, #f8e2d0 0, transparent 48%),
    radial-gradient(ellipse at 100% 100%, #cbd5bf 0, transparent 47%),
    linear-gradient(145deg, #fffbf2, #eee5d6);
  border: 1px solid #fffcf6;
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px #44332013, 0 22px 46px -33px #51423377;
}
.hero h1 {
  font-family: system-ui, sans-serif;
  font-size: clamp(2.05rem, 3.95vw, 3.55rem);
  font-weight: 760;
  letter-spacing: -.069em;
  line-height: 1.04;
  text-wrap: pretty;
}
.hero > div:first-child { z-index: 1; }
.hero .trust { margin-bottom: 0; }
.hero-art {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 0;
  aspect-ratio: 1.21;
  background: none;
  border-radius: 0;
  overflow: visible;
}
.hero-art span { position: absolute; display: block; }
.glass-disc {
  width: 61%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid #fff9;
}
.glass-disc-back {
  left: 8%;
  top: 13%;
  background:
    radial-gradient(circle at 33% 21%, #fff9 0%, #fff1 38%, transparent 57%),
    linear-gradient(155deg, #faf3d9, #dda891a8 73%, #b7826ea1);
  box-shadow: inset 2px 3px 8px #fff9, inset -12px -18px 40px #9b503b24, 4px 26px 40px -23px #86543d66;
}
.glass-disc-front {
  left: 31%;
  top: 22%;
  background:
    radial-gradient(circle at 23% 15%, #ffffffe0, #f8ffdd33 34%, transparent 56%),
    linear-gradient(151deg, #eff8dcb9 6%, #c3d2bfa1 46%, #7b9d8ea8 71%, #3a6a5eca 100%);
  backdrop-filter: blur(9px) saturate(115%);
  box-shadow: inset 1px 2px 6px #fff8, inset -11px -14px 24px #234a3c36, 2px 25px 34px -19px #36594770;
}
.glass-compass {
  z-index: 1;
  width: 18%;
  aspect-ratio: 1;
  left: 54%;
  top: 48%;
  transform: rotate(16deg);
  clip-path: polygon(91% 8%, 65% 65%, 8% 92%, 35% 35%);
  background: linear-gradient(135deg, #fff, #ecf4df 45%, #b1c6b4 70%, #fafff5);
}
.glass-orbit {
  width: 83%;
  height: 31%;
  top: 52%;
  left: 11%;
  transform: rotate(-28deg);
  border-radius: 50%;
  border: 1px solid #fff9;
  border-top-color: #fff4;
  box-shadow: 0 1px 0 #fff3;
}
.cta, .summarybar > div:first-child {
  background: radial-gradient(ellipse at 19% -28%, #719782ba, transparent 65%), linear-gradient(145deg, #423f30, #275446 44%, #1d4035);
  border: 1px solid #315346;
  box-shadow: inset 0 1px 0 #ffffff35, 0 3px 7px #1236291f;
}
.cta { transition: box-shadow .18s ease, filter .18s ease, transform .18s ease; }
.cta:hover {
  background: radial-gradient(ellipse at 19% -28%, #719782ba, transparent 65%), linear-gradient(145deg, #423f30, #275446 44%, #1d4035);
  filter: brightness(1.07);
  transform: translateY(-1px);
}
.cta:active, .primary:active { transform: translateY(1px); }
.summarybar { margin-top: 1.85rem; }
.summarybar > div:not(:first-child), #personal, #planner, .feedback {
  background: linear-gradient(155deg, #ffffff, #fdfbf5);
  box-shadow: inset 0 1px 0 #fff, var(--surface-shadow);
}
#tabs {
  background: linear-gradient(160deg, #e9e9df, #f0eee5);
  box-shadow: inset 0 1px 2px #403c2c15, 0 1px 0 #fff;
}
#tabs button { transition: background .16s ease, box-shadow .16s ease; }
#tabs button:hover { background: #ffffff92; }
#tabs button.active {
  background: linear-gradient(#fff, #f9faf2);
  border-color: #fff;
  box-shadow: 0 1px 4px #403c2c23;
}
.opportunity {
  background: linear-gradient(166deg, #fff, #fcfcf7 76%);
  box-shadow: inset 0 1px 0 #fff, 0 3px 9px -5px #34443929;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.opportunity:hover, .opportunity:focus-within {
  border-color: #b2c6af;
  box-shadow: inset 0 1px 0 #fff, 0 12px 22px -15px #294b3c65;
}
.opportunity.selected { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }
.big {
  font-family: system-ui, sans-serif;
  font-size: clamp(1.08rem, 1.65vw, 1.5rem);
  line-height: 1.11;
}
.big strong {
  display: inline-block;
  font-size: min(2.45em, 3.25rem);
  font-variant-numeric: tabular-nums;
  color: var(--forest);
  background: linear-gradient(#4e7b69, #173629);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (forced-colors: active) {
  .big strong { -webkit-text-fill-color: CanvasText; }
}
.cost-pill { box-shadow: inset 0 0 0 1px #efd6c9; }
.cost-free { color: #345544; background: #eaf2e8; box-shadow: inset 0 0 0 1px #d9e5d7; }
.opportunity .primary {
  background: linear-gradient(170deg, #f4f8ed, #e7efe2);
  box-shadow: inset 0 1px 0 #ffffffc0;
  transition: background .16s ease, transform .16s ease;
}
.opportunity .primary:hover { background: #e0ecd9; }
#discover {
  background: radial-gradient(ellipse at 100% 0, #e1ecd9, transparent 70%), #eff2e9;
  box-shadow: inset 0 1px 0 #fff, var(--surface-shadow);
}
@media (max-width: 650px) {
  body > header nav { padding: 3px; }
  body > header nav a { padding: 5px 9px; }
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-art { width: min(74%,260px); margin: .2rem auto 0; aspect-ratio: 1.52; }
  .glass-disc { width: 53%; }
  .glass-disc-back { left: 13%; }
  .glass-disc-front { left: 34%; top: 17%; }
  .glass-compass { top: 48%; left: 53%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* The core inputs form the first usable section of the planner. */
#personal {
  padding: clamp(16px, 3.4vw, 38px);
  margin: 1.2rem 0 0;
  border: 1px solid #cad7c9;
  border-radius: var(--radius);
  scroll-margin-top: 1rem;
  background: radial-gradient(ellipse at 100% 0, #e4eddf 0, transparent 77%), #fafcf7;
}
.personal-intro h2 { color: var(--forest); margin: 0 0 .2em; }
.personal-intro p { color: var(--muted); margin-bottom: 1rem; }
.personal-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: .85rem; }
.personal-field {
  min-width: 0;
  padding: .9rem;
  background: #fffefbeb;
  border: 1px solid #dbe4d8;
  border-radius: 15px;
}
.personal-field > label, .field-label { margin: 0 0 .45rem; font-weight: 720; }
.personal-field input#budget {
  display: block;
  margin-top: .38rem;
  font-size: 1.35rem;
  font-weight: 740;
  border-color: #b1c4ad;
  min-height: 46px;
}
.personal-field small { display: block; margin-top: .45rem; }
#work { gap: .32rem; }
#work button { flex: 1 1 32px; padding-inline: .25rem; min-width: 34px; }
#work button.active { color: #1e4939; background: #e2eee0; border-color: #a7c3a4; }
#personal > .advanced { margin-top: .9rem; }
.personal-cta { margin-top: .2rem; }
@media (min-width: 651px) {
  .hero { padding-block: clamp(24px, 3vw, 40px); min-height: 0; }
  .hero-art { max-width: 390px; justify-self: center; }
}
@media (max-width: 650px) {
  .personal-grid { grid-template-columns: 1fr; }
  .hero-art { width: min(35%, 128px); position: absolute; right: 13px; bottom: 7px; margin: 0; pointer-events: none; }
  .hero .trust { padding-right: 90px; }
}
@media (max-width: 360px) {
  .personal-field { padding: .65rem; }
  #work button { flex-basis: 28px; min-width: 28px; }
}

/* Show an actionable result next to the inputs. */
.hero { padding-block: clamp(16px, 2.5vw, 30px); }
.hero-art { max-width: 285px; }
#personal { padding: clamp(13px, 2.9vw, 30px); }
.personal-intro h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); }
.personal-intro p { margin-bottom: .7rem; }
.personal-field { padding: .7rem; }
.holiday-quick { display: flex; flex-wrap: wrap; gap: .35rem .65rem; align-items: baseline; margin-top: .5rem; }
.holiday-quick button {
  background: transparent;
  border: 0;
  padding: .35rem 0;
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: .17em;
}
.holiday-quick small { line-height: 1.3; }
.quick-result {
  margin-top: .65rem;
  padding: clamp(12px, 2.3vw, 22px);
  border: 1px solid #c4d6c1;
  border-radius: 17px;
  background: linear-gradient(155deg, #eef5eb, #fbfcf7 72%);
}
.quick-heading h3 { margin: 0; font-size: 1.17rem; color: var(--forest); }
.quick-heading p { margin: .2rem 0 .7rem; font-size: .85rem; color: var(--muted); }
.quick-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr)); gap: .55rem; }
.quick-option { display: grid; align-content: start; gap: .15rem; padding: .65rem .75rem; border: 1px solid #d3dfd1; border-radius: 12px; background: #fffefa; }
.quick-option strong { color: var(--forest); font-size: clamp(1rem, 2.2vw, 1.34rem); line-height: 1.13; }
.quick-option span, .quick-option p { font-size: .85rem; }
.quick-option p { margin: 0; }
.quick-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .85rem; margin-top: .6rem; }
.quick-actions a { font-weight: 650; }
.date-error { color: #843326; font-size: .9rem; margin: .3rem 0; }
input[aria-invalid="true"] { border-color: var(--accent); }
@media (max-width: 650px) {
  body > header { padding-block: 8px; }
  .beta-note { padding-block: .25rem; margin-bottom: .3rem; }
  .hero h1 { font-size: clamp(1.68rem, 6.2vw, 2.1rem); }
  .hero .trust { margin-top: .45rem; }
  .personal-field label:has(#budget) { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .3rem; }
  .personal-field input#budget { margin: 0; width: 5rem; padding: .25rem .5rem; min-height: 40px; }
  .personal-grid { gap: .45rem; }
  .personal-intro p, .personal-field small { font-size: .82rem; line-height: 1.35; }
  .quick-option small { font-size: .78rem; }
}

.quick-holiday {
  font-size: .84rem;
  color: #634024;
  background: #fbf0df;
  border-radius: 7px;
  margin-top: .26rem;
  padding: .28rem .42rem;
}
.quick-heading .date-error { color: #843326; }

.idea-controls {
  display: flex;
  justify-content: flex-end;
  gap: .35rem;
  margin: .2rem 0 .45rem;
}
.idea-controls button {
  min-width: 44px;
  padding: .25rem;
  color: var(--forest);
  font-size: 1.15rem;
}
.idea-controls button:disabled { opacity: .45; }
.idea-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(205px, 31%, 340px);
  gap: .75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 3px 3px .6rem;
  scroll-padding-inline: 3px;
  scrollbar-color: #7a9983 transparent;
  scrollbar-width: thin;
}
.idea-track .card { scroll-snap-align: start; }
.idea-track > p { grid-column: 1 / -1; }
.idea-track:focus-visible { outline-offset: -2px; }
@media (max-width: 650px) {
  .idea-track { grid-auto-columns: min(83%, 280px); }
}

#backToTop {
  position: fixed;
  z-index: 3;
  right: calc(14px + env(safe-area-inset-right, 0px));
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid #426653;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  box-shadow: 0 4px 14px #213b3440;
  font-size: 1.3rem;
  line-height: 1;
}
#backToTop:hover { background: #16382e; }
