:root {
    --paper: #FAF9F6;
    --ink: #1C1C1C;
    --sea: #6FB3BE;
    --sea-ink: #3E7D89;
    --stone: rgba(28,28,28,0.55);
    --soft: rgba(28,28,28,0.36);
    --hairline: rgba(28,28,28,0.11);
    --border: rgba(28,28,28,0.18);
    --faint: rgba(28,28,28,0.36);
    --ghost: rgba(28,28,28,0.26);
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    background: var(--paper); color: var(--ink);
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased; min-height: 100vh;
  }
  a { color: inherit; text-decoration: none; }
  .wrap { max-width: 680px; margin: 0 auto; padding: 0 24px 90px; }
  .eyebrow { font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--soft); }
  .hairline, .hr { height: 1px; width: 100%; background: var(--hairline); }
  .label { font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--soft); }

  nav { display: flex; justify-content: center; gap: 24px; padding: 26px 24px 0; flex-wrap: wrap;
        max-width: 680px; margin: 0 auto; }
  nav .brand { display: none; }
  nav .links { display: flex; gap: 24px; flex-wrap: wrap; }
  nav .links a { font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--soft);
                 padding-bottom: 4px; border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease; }
  nav .links a:hover, nav .links a.on { color: var(--ink); border-bottom-color: var(--ink); }

  header.hero { padding: 60px 0 52px; text-align: left; }
  .hero h1 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: clamp(28px, 5.5vw, 40px);
             line-height: 0.95; letter-spacing: -0.022em; }
  .hero h1 em { font-style: normal; }
  .hero p { font-size: 13px; font-weight: 300; color: var(--stone); margin-top: 18px; line-height: 1.85; max-width: 480px; }
  .hero .meta { display: flex; gap: 24px; margin-top: 24px; }
  .hero .meta span { font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--soft); }

  .card { padding: 0; background: transparent; border: none; box-shadow: none; margin: 0; }
  .card.dim { opacity: 0.3; pointer-events: none; }
  section.card { padding-bottom: 52px; }
  .step-h { border-top: 1px solid var(--hairline); padding-top: 22px; display: flex; align-items: baseline; gap: 14px; }
  .step-h .n { font-size: 9px; letter-spacing: 0.2em; color: var(--soft); order: -1; }
  .step-h .t { font-size: 13px; font-weight: 500; letter-spacing: 0.02em; }
  .step-h .t.idle { color: var(--ghost); }
  .step-body { }
  .hint { font-size: 12px; font-weight: 300; color: var(--stone); margin-top: 14px; line-height: 1.75; }
  .hint-sm { font-size: 11px; font-weight: 300; color: var(--stone); margin-top: 8px; line-height: 1.7; }
  .hint-sm.center { text-align: center; }

  .chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
  .chip { font-size: 11.5px; padding: 9px 15px; background: transparent; border: 1px solid var(--border);
          color: var(--ink); cursor: pointer; transition: all 0.2s ease; font-family: inherit;
          border-radius: 0; font-weight: 300; }
  .chip:hover { border-color: var(--ink); }
  .chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); font-weight: 400; }

  .thumbs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
  .thumb { position: relative; width: 80px; height: 80px; }
  .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .thumb button { position: absolute; top: -8px; right: -8px; width: 20px; height: 20px; background: var(--ink);
                  color: var(--paper); border: none; border-radius: 50%; font-size: 10px; cursor: pointer; line-height: 1;
                  display: flex; align-items: center; justify-content: center; }
  .add-tile { width: 80px; height: 80px; border: 1px dashed var(--border); background: transparent; border-radius: 0;
              display: flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .2s ease; }
  .add-tile:hover { border-color: var(--ink); background: transparent; }
  .add-tile span { font-family: 'Space Grotesk', sans-serif; font-weight: 300; font-size: 22px; color: var(--soft); }

  input[type="text"], textarea { width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--border);
                       padding: 8px 0; font-size: 13px; color: var(--ink); outline: none; font-family: inherit;
                       border-radius: 0; font-weight: 300; resize: none; }
  input[type="text"]:focus, textarea:focus { border-bottom-color: var(--ink); box-shadow: none; }
  input[type="text"]::placeholder, textarea::placeholder { color: var(--ghost); }
  input.city-input { font-family: 'Space Grotesk', sans-serif; font-weight: 300; font-size: 20px;
                     padding: 10px 0; letter-spacing: 0; }
  input.city-input::placeholder { color: var(--ghost); }

  .btn { font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; padding: 11px 26px; background: transparent;
         color: var(--ink); border: 1px solid var(--ink); cursor: pointer; transition: all 0.2s ease;
         font-family: 'Space Grotesk', sans-serif; border-radius: 0; }
  .btn:hover:not(:disabled) { background: var(--ink); color: var(--paper); transform: none; box-shadow: none; }
  .btn:disabled { border-color: var(--hairline); color: var(--ghost); cursor: not-allowed; background: transparent; }
  .btn.solid, .btn.quiet { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
  .btn.solid:hover, .btn.quiet:hover { background: var(--ink); color: var(--paper); }
  .btn-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: inherit; }
  .btn-row.center { justify-content: center; }

  .day-btns { display: flex; gap: 9px; margin-top: 16px; flex-wrap: wrap; }
  .day-btn { width: 40px; height: 40px; font-size: 12px; background: transparent; border: 1px solid var(--border);
             color: var(--ink); cursor: pointer; transition: all 0.2s ease; font-family: inherit; border-radius: 0; font-weight: 300; }
  .day-btn:hover { border-color: var(--ink); color: var(--ink); }
  .day-btn.on { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: none; }
  .label.sub-label { margin-top: 28px; }
  .ask { margin-top: 32px; }
  .examples { margin-top: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
  .ex { background: transparent; border: 1px solid var(--hairline); padding: 6px 12px; cursor: pointer;
        font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 300; color: var(--stone);
        text-align: left; transition: all .2s ease; border-radius: 0; }
  .ex:hover { border-color: var(--ink); color: var(--ink); }

  .prog { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: transparent; z-index: 60; }
  .prog i { display: block; height: 100%; width: 0; background: var(--sea-ink); transition: width .4s ease; }

  #screen-loading .loading-screen { min-height: 70vh; display: flex; flex-direction: column; align-items: center;
                    justify-content: center; text-align: center; padding: 0 24px; }
  .spinner { width: 1px; height: 44px; background: var(--ink); animation: sway 1.8s ease-in-out infinite; transform-origin: top; }
  @keyframes sway { 0%,100% { transform: rotate(-14deg);} 50% { transform: rotate(14deg);} }
  .loading-line { margin-top: 30px; font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300;
                  font-size: clamp(26px, 5vw, 36px); color: var(--ink);
                  animation: slowfade 2.6s ease-in-out infinite; }
  @keyframes slowfade { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
  .fadein { animation: fi .9s ease both; }
  @keyframes fi { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) { .loading-line, .fadein, .spinner { animation: none; } }

  .edit-box { margin-top: 36px; padding: 0; background: transparent; border: none; border-radius: 0; box-shadow: none; }
  .edit-row { display: flex; gap: 10px; margin-top: 12px; align-items: flex-end; flex-wrap: wrap; }
  .edit-row input { flex: 1 1 240px; }
  .edit-note { font-size: 11px; font-weight: 300; color: var(--stone); margin-top: 10px; line-height: 1.7; }
  .letter { margin-top: 72px; padding: 28px 0 0; border-top: 1px solid var(--hairline); }
  .letter h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
  .letter p { font-size: 12px; font-weight: 300; color: var(--stone); line-height: 1.75; margin-top: 10px; max-width: 460px; }
  .letter-row { display: flex; gap: 10px; margin-top: 14px; align-items: flex-end; flex-wrap: wrap; }
  .letter-row input { flex: 1 1 240px; }
  .letter-done { font-size: 13px; font-weight: 300; color: var(--stone); margin-top: 14px; }

  footer { padding: 40px 24px 32px; text-align: center; max-width: 680px; margin: 0 auto; display: block; border: none; }
  footer span { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--soft); display: block; }
  footer span + span { margin-top: 8px; }

  .error-screen { min-height: 60vh; display: flex; flex-direction: column; align-items: center;
                  justify-content: center; text-align: center; padding: 0 24px; }
  .error-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
  .error-sub { font-size: 12.5px; font-weight: 300; color: var(--stone); margin-top: 12px; line-height: 1.7; max-width: 380px; }
  .hidden { display: none !important; }
  .g-verify { font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--soft); margin-top: 10px; }
  .g-hours { font-size: 11px; color: var(--soft); margin-top: 5px; letter-spacing: .01em; }

  /* ─────────────────────────────────────────────
     THE GUIDE — sections/veir-feeling.liquid, exact.
     Syne 700 city names, Space Grotesk everything
     else, at the liquid's own px values. Accent
     #0A6E7E replaces #E8416F; labels + warnings only.
     ───────────────────────────────────────────── */
  :root {
    --sea: #6FB3BE;
    --sea-ink: #3E7D89;
    --vf-ink: #1C1C1C;
    --vf-paper: #FAF9F6;
  }

  #screen-guide { font-family: 'Space Grotesk', -apple-system, sans-serif;
    background: var(--vf-paper); color: var(--vf-ink); }
  body:has(#screen-guide:not(.hidden)) { background: var(--vf-paper); }
  #screen-guide .wrap { max-width: 680px; padding: 0 24px 90px; }

  /* ── head — .vf-c-lbl / .vf-c-name / .vf-c-sub / .vf-c-int ── */
  #screen-guide .g-head { padding-top: 44px; text-align: left; }
  #screen-guide .g-head .eyebrow { color: var(--sea-ink); font-family: 'Space Grotesk', sans-serif;
    font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 400; }
  #screen-guide .g-city { font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: clamp(42px, 6vw, 74px); letter-spacing: -0.022em; line-height: 0.92;
    margin-top: 14px; color: var(--vf-ink); }
  #screen-guide .g-local { font-family: 'Space Grotesk', sans-serif; font-size: 15px;
    font-weight: 300; color: rgba(28,28,28,0.26); margin-top: 6px; letter-spacing: 0.04em; }
  #screen-guide .g-arealine { display: none; }
  #screen-guide .g-meta { display: none; }
  #screen-guide .g-subtitle { font-family: 'Space Grotesk', sans-serif; font-style: normal;
    font-weight: 300; font-size: 13.5px; line-height: 1.85; color: rgba(28,28,28,0.6);
    margin: 20px 0 0; max-width: 100%; }
  #screen-guide .g-intro, #screen-guide .g-destnote { text-align: left; margin: 12px 0 0;
    max-width: 100%; color: rgba(28,28,28,0.6); font-family: 'Space Grotesk', sans-serif;
    font-size: 13.5px; line-height: 1.85; font-weight: 300; }

  /* ── the taste line — .vf-c-know skeleton ── */
  #screen-guide .g-taste { margin: 24px 0 0; padding: 16px 0 0;
    border-top: 1px solid rgba(28,28,28,0.12); }
  #screen-guide .g-taste .lbl { display: block; font-family: 'Space Grotesk', sans-serif;
    font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase;
    color: rgba(28,28,28,0.32); margin-bottom: 8px; font-weight: 400; }
  #screen-guide .g-taste p { font-family: 'Space Grotesk', sans-serif; font-size: 13px;
    font-weight: 300; line-height: 1.8; color: var(--vf-ink); }

  /* ── good to know — .vf-c-know exact ── */
  #screen-guide .gtk { margin: 24px 0 0; padding: 16px 0 0;
    border-top: 1px solid rgba(28,28,28,0.12); border-bottom: none; background: transparent; }
  #screen-guide .gtk .eyebrow { color: rgba(28,28,28,0.32); font-size: 9px;
    letter-spacing: 0.28em; font-weight: 400; }
  #screen-guide .gtk .hairline { display: none; }
  #screen-guide .gtk p { font-family: 'Space Grotesk', sans-serif; font-size: 12.5px;
    line-height: 1.8; color: rgba(28,28,28,0.55); font-weight: 300; margin-top: 8px; }

  /* ── day marker: quiet, multi-day only ── */
  #screen-guide .g-day { margin: 0; padding-top: 46px; }
  #screen-guide .g-day-head { display: block; margin-bottom: -16px; }
  #screen-guide .g-day-title { font-family: 'Space Grotesk', sans-serif; font-size: 9px;
    letter-spacing: 0.3em; font-weight: 500; text-transform: uppercase; color: var(--vf-ink); }
  #screen-guide .g-day-area { display: inline; margin-left: 12px; color: rgba(28,28,28,0.36);
    font-size: 9px; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 400; }
  #screen-guide .g-day.solo { padding-top: 0; }
  #screen-guide .g-day.solo .g-day-head { display: none; }

  /* ── section label — .vf-mom exact (sp = 30px) ── */
  #screen-guide .g-part { margin-top: 30px; }
  #screen-guide .g-part:first-of-type { margin-top: 40px; }
  #screen-guide .g-part-head { display: block; border-bottom: 1px solid rgba(28,28,28,0.11);
    padding-bottom: 7px; }
  #screen-guide .g-part-head .step-num { display: none; }
  #screen-guide .g-part-title { font-family: 'Space Grotesk', sans-serif; font-size: 9px;
    font-weight: 400; letter-spacing: 0.26em; text-transform: uppercase; color: var(--sea-ink); }
  #screen-guide .g-places { padding-left: 0; margin-top: 14px; gap: 16px; }

  /* ── places — .vf-s / .vf-s-n / .vf-s-a / .vf-s-d exact ── */
  #screen-guide .g-place-top { display: block; }
  #screen-guide .g-place-name { font-family: 'Space Grotesk', sans-serif; font-size: 13px;
    font-weight: 400; letter-spacing: 0; display: block; line-height: 1.3; color: var(--vf-ink); }
  #screen-guide .g-place-name a { border-bottom: none; }
  #screen-guide .g-place-name a:hover { color: var(--sea-ink); }
  #screen-guide .g-place-area { display: block; margin-top: 2px; font-family: 'Space Grotesk', sans-serif;
    font-size: 9px; font-weight: 300; letter-spacing: 0.09em; text-transform: uppercase;
    color: rgba(28,28,28,0.36); }
  #screen-guide .g-place-note { font-family: 'Space Grotesk', sans-serif; font-style: normal;
    font-weight: 300; font-size: 12px; line-height: 1.55; color: rgba(28,28,28,0.52);
    margin-top: 4px; }
  #screen-guide .warn { color: var(--sea-ink); }

  /* ── stay — a fourth .vf-mom section ── */
  #screen-guide .g-stay { margin: 0; padding-top: 30px; }
  #screen-guide .g-stay-head { display: block; border-top: none;
    border-bottom: 1px solid rgba(28,28,28,0.11); padding: 0 0 7px; }
  #screen-guide .g-stay .g-day-title { color: var(--sea-ink); font-family: 'Space Grotesk', sans-serif;
    font-size: 9px; letter-spacing: 0.26em; font-weight: 400; }
  #screen-guide .g-stay .g-day-area { color: rgba(28,28,28,0.36); font-size: 9px; }
  #screen-guide .g-stay-list { gap: 16px; margin-top: 14px; }

  #screen-guide .edit-box { padding-top: 44px; }
  #screen-guide .btn, #screen-guide .hint-sm { font-family: 'Space Grotesk', sans-serif; }

/* day closing line — the sentence a friend would add */
#screen-guide .g-day-close {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; font-weight: 300; line-height: 1.65;
  color: rgba(28,28,28,0.68);
  margin: 22px 0 0; padding-top: 18px;
  border-top: 1px solid rgba(28,28,28,0.10);
  max-width: 46ch;
}

/* ── Saving to PDF should give you the guide, not a screenshot of an app. ────── */
@media print {
  nav, .resume, .genbar, .btn, .btn-row, .cta-row, .revise, #reviseBox, #reviseBar,
  .saveline, .g-actions, .toolbar, .footer-note, .tail, .chips, .tasteread,
  button, .fab, .share, .print-hide { display: none !important; }
  body { background: #fff !important; }
  a { text-decoration: none !important; color: inherit !important; }
  a[href^="http"]::after { content: "" !important; }
  .wrap, #screen-guide { max-width: 100% !important; padding: 0 !important; }
  .g-day, .g-place, .g-stay { page-break-inside: avoid; }
  .g-day-title { page-break-after: avoid; }
}
