/* Layout: Keep Me Posted look. Navy top bar with the kmp logo, a navy framed cover like their hero, cream paper, postage-stamp date tiles, then tabs. */
:root {
  --paper: #ffffff;
  --card: #fdf8ee;       /* KMP cream for day and list cards */
  --ink: #1f3347;        /* KMP navy */
  --muted: #5d6c7c;
  --line: #e6dfd0;
  --navy: #1f3347;
  --navy-ink: #fdf8ee;
  --pink: #d9558f;       /* "posted" pink, deepened for text contrast */
  --pink-bright: #e868a0;
  --pink-soft: #fbe3ee;
  --sky: #9ec7f0;        /* KMP sky blue */
  --sky-soft: #e4f0fb;
  --mint: #cce8bb;       /* KMP mint star */
  --display: "Unbounded", "Arial Black", Arial, sans-serif;
  --body: "Lato", "Helvetica Neue", Arial, sans-serif;
  --label: "Comfortaa", "Trebuchet MS", sans-serif;
  --script: "Caveat", "Segoe Print", "Bradley Hand", cursive;
}
/* Single light look on purpose: white page in every theme. */
:root { color-scheme: light; }
* { box-sizing: border-box; }
body { background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; }
.topbar { background: var(--navy); color: var(--navy-ink); padding-inline: 16px; padding-block: 12px; }
.topbar-in { max-width: 720px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.logos { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; min-width: 0; }
.topbar img { height: 40px; width: auto; max-width: 100%; display: block; }
.cohost { display: inline-flex; align-items: center; gap: 14px; min-width: 0; }
.cohost .x { font-family: var(--label); font-size: 18px; opacity: .7; }
.cohost img { height: 36px; }
.topbar .sub { font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.wrap { max-width: 720px; margin: 0 auto; padding-inline: 16px; padding-block: 20px 56px; display: flex; flex-direction: column; gap: 20px; }

/* retreat switcher */
.switcher { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.switcher label { font-family: var(--label); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.switcher select { font: inherit; font-weight: 500; color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; min-width: 0; max-width: 100%; }
.switcher select:focus-visible, .tab:focus-visible, .check input:focus-visible + span, a:focus-visible, .linkbtn:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }

/* cover: navy panel with a thin cream frame, like the KMP hero */
.cover { background: var(--navy); color: var(--navy-ink); border-radius: 6px; padding: 14px; position: relative; overflow: hidden; }
.cover-in { border: 1.5px solid color-mix(in srgb, var(--navy-ink) 80%, transparent); padding: 26px 20px 20px; position: relative; }
.cover .deco { position: absolute; pointer-events: none; }
.cover .star { right: 18px; top: 14px; width: 46px; color: var(--mint); }
.cover .ast { right: 70px; bottom: 18px; width: 38px; color: var(--sky); }
.eyebrow { font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.cover h1 { margin: 10px 0 16px; line-height: 1; display: flex; flex-direction: column; padding-right: 56px; }
.cover h1 .big { font-family: var(--display); font-weight: 500; font-size: clamp(32px, 8.5vw, 54px); letter-spacing: -.01em; text-wrap: balance; }
.cover h1 .script { font-family: var(--script); font-weight: 500; color: var(--pink-bright); font-size: clamp(38px, 9vw, 60px); line-height: .8; margin-left: 1.2em; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; }
.facts span { display: inline-flex; gap: 6px; }
.facts b { font-family: var(--label); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; align-self: center; opacity: .8; }
.note { margin-top: 16px; font-size: 14px; border-top: 1px solid color-mix(in srgb, var(--navy-ink) 25%, transparent); padding-top: 12px; padding-right: 90px; }

/* tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1.5px solid var(--line); overflow-x: auto; scrollbar-width: none; position: sticky; top: env(safe-area-inset-top, 0px); background: var(--paper); z-index: 2; }
.tab { font: inherit; font-family: var(--label); font-weight: 600; font-size: 15px; color: var(--muted); background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 12px 10px; cursor: pointer; white-space: nowrap; }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--pink-bright); }
.tab:hover { color: var(--ink); }

h2 { font-family: var(--display); font-weight: 500; font-size: 24px; line-height: 1.2; margin: 0; text-wrap: balance; }
.lede { color: var(--muted); margin: 6px 0 0; max-width: 62ch; }
section.panel { display: flex; flex-direction: column; gap: 18px; }

/* itinerary */
.days { display: flex; flex-direction: column; gap: 14px; }
.day { background: var(--sky-soft); border: 1.5px solid #c9def3; border-radius: 10px; padding: 18px 18px 14px; display: grid; grid-template-columns: 74px 1fr; gap: 4px 16px; }
/* postage-stamp date tile */
.date { grid-row: span 2; align-self: start; text-align: center; background: #ffffff; color: var(--ink); padding: 10px 4px 8px; border: 2.5px dotted var(--sky); border-radius: 4px; }
.date .dow { font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); }
.date .num { font-family: var(--display); font-weight: 500; font-size: 30px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.date .mon { font-size: 13px; color: var(--muted); }
.day h3 { margin: 0; font-family: var(--script); font-weight: 500; font-size: 30px; line-height: 1; color: var(--pink); }
.day ol { list-style: none; margin: 4px 0 0; padding: 0; min-width: 0; }
.day li { display: flex; gap: 12px; align-items: baseline; padding: 8px 0; border-top: 1px dashed #bcd5ee; }
.day li:first-child { border-top: 0; }
.time { font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--muted); min-width: 56px; font-variant-numeric: tabular-nums; }
.tag { font-family: var(--label); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--mint); border-radius: 99px; padding: 2px 9px; margin-left: 6px; white-space: nowrap; }

/* placeholder notice */
.pending { background: var(--pink-soft); border: 1.5px dashed var(--pink); border-radius: 10px; padding: 14px 16px; font-size: 15px; }

/* packing */
.pack-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.pack { background: var(--sky-soft); border: 1.5px solid #c9def3; border-radius: 10px; padding: 16px; min-width: 0; }
.pack h3 { font-family: var(--label); margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--pink); }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box { flex: none; width: 18px; height: 18px; margin-top: 3px; border: 1.5px solid var(--muted); border-radius: 50%; display: grid; place-items: center; }
.check input:checked + .box { background: var(--pink-bright); border-color: var(--pink-bright); }
.check input:checked + .box::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.check input:checked ~ .lbl { color: var(--muted); text-decoration: line-through; }
.why { display: block; font-size: 13px; color: var(--muted); text-decoration: none; }
.progress { font-family: var(--label); font-size: 13px; font-weight: 600; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.linkbtn { font: inherit; font-size: 13px; color: var(--pink); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }

/* rooms, travel, cars */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.unit { background: var(--sky-soft); border: 1.5px solid #c9def3; border-radius: 10px; padding: 16px; min-width: 0; }
.unit h3 { margin: 0 0 8px; font-family: var(--display); font-weight: 500; font-size: 18px; }
.unit .sub { font-size: 13px; color: var(--muted); margin: -4px 0 8px; }
.unit ul { list-style: none; margin: 0; padding: 0; }
.unit li { padding: 6px 0; border-top: 1px solid #c9def3; }
.unit li:first-child { border-top: 0; }
.guest-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); column-gap: 18px; }
.guest-list li, .guest-list li:first-child { border-top: 1px solid #c9def3; }
.info-block p { margin: 0; }
.info-block .sub { margin: -4px 0 10px; }
.book-title { font-family: var(--display); font-weight: 500; font-size: 22px; line-height: 1.2; }
.book-author { color: var(--muted); margin-top: 2px !important; }
.soon { font-family: var(--body); font-size: 16px; color: var(--pink); font-style: italic; }
.k-head { font-family: var(--label); font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 14px 0 4px !important; }
.steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.steps li { border: 0; padding: 0; }
.about-p + .about-p { margin-top: 10px !important; }
.btn { display: inline-block; margin-top: 14px; background: var(--pink-bright); color: #fff; font-family: var(--label); font-weight: 600; font-size: 14px; text-decoration: none; padding: 11px 20px; border-radius: 999px; }
.link-note { margin-top: 10px !important; font-size: 14px; font-weight: 700; color: var(--ink); }
.bring-note { color: var(--muted); font-size: 14px; margin-top: 4px; }
.btn:hover { background: var(--pink); }
.btn:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.unit li.tbd { color: var(--muted); font-style: italic; }
.unit li.kv { display: flex; flex-direction: column; gap: 1px; }
.unit li.kv .k { font-family: var(--label); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.unit li.kv .tbd { color: var(--pink); font-style: italic; }
.tipline { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.role { font-family: var(--label); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--pink); margin-left: 6px; }

footer { padding-top: 6px; }
.ask { background: var(--navy); color: var(--navy-ink); border-radius: 10px; padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; }
.ask-q { font-family: var(--script); font-weight: 500; font-size: 32px; line-height: 1; color: var(--pink-bright); }
.ask-a { font-size: 16px; }
.ask-d { user-select: all; font-weight: 700; }
a { color: var(--pink); }
@media (max-width: 420px) {
  .day { grid-template-columns: 1fr; }
  .date { grid-row: auto; justify-self: start; display: flex; gap: 8px; align-items: baseline; padding: 8px 14px; }
  .date .num { font-size: 22px; }
  .time { display: none; }
  .cover .ast { display: none; }
  .note { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------------------------------------------------------------- app additions */
.topbar-link { font: inherit; font-family: var(--label); font-weight: 600; font-size: 13px; color: var(--navy-ink); background: none; border: 1.5px solid color-mix(in srgb, var(--navy-ink) 45%, transparent); border-radius: 999px; padding: 6px 14px; cursor: pointer; text-decoration: none; }
.topbar-link:hover { background: color-mix(in srgb, var(--navy-ink) 12%, transparent); }
.topbar-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.loading { color: var(--muted); padding-block: 40px; text-align: center; }

.signin { max-width: 440px; margin: 24px auto 0; width: 100%; display: flex; flex-direction: column; gap: 12px; }
.signin h1 { font-family: var(--display); font-weight: 500; font-size: 26px; line-height: 1.2; margin: 0; text-wrap: balance; }
.signin .lede { margin: 0; }
.form { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.form label, .field > span { font-family: var(--label); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
input[type=email], input[type=text], input:not([type]), input[inputmode], select, textarea {
  font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #c9d3dd; border-radius: 10px; padding: 11px 13px; width: 100%; min-width: 0;
}
textarea { resize: vertical; min-height: 70px; line-height: 1.45; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--pink); outline-offset: 1px; border-color: transparent; }
button.btn { border: 0; cursor: pointer; font-size: 15px; margin-top: 4px; }
button.btn:disabled { opacity: .6; cursor: default; }
.form-msg { min-height: 1.4em; margin: 0; color: var(--pink); font-weight: 700; font-size: 14px; }
.small { font-size: 14px; color: var(--muted); margin: 0; }
.demo-note { font-size: 13px; color: var(--muted); background: var(--sky-soft); border-radius: 8px; padding: 8px 12px; margin: 0; }
.picker { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.picker a { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 10px; background: var(--sky-soft); border: 1.5px solid #c9def3; color: var(--ink); text-decoration: none; }
.picker a span { color: var(--muted); font-size: 14px; }

.mine { background: var(--pink-soft); border-radius: 10px; padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; }
.mine-hi { font-family: var(--script); font-size: 30px; line-height: 1; color: var(--pink); }
.mine-notes { margin-top: 6px; font-size: 15px; white-space: pre-line; }
.unit.mine-room { border-color: var(--pink-bright); box-shadow: 0 0 0 1.5px var(--pink-bright) inset; }
#mine:empty { display: none; }

/* ---------------------------------------------------------------- dashboard */
.wide-wrap { max-width: 980px; }
.topbar-in:has(.ad-badge) { max-width: 980px; }
.ad-badge { font-family: var(--label); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.ad-head { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.ad-title { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 5vw, 32px); margin: 0; line-height: 1.15; }
.ad-flash { background: var(--mint); border-radius: 8px; padding: 8px 12px; margin: 0; font-weight: 700; }
.ad-row { display: flex; gap: 8px; flex-wrap: wrap; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px #c9d3dd; }
.btn.ghost:hover { background: var(--sky-soft); }
a.btn.ghost, a.btn { margin-top: 0; }
.ad-list { display: flex; flex-direction: column; gap: 12px; }
.ad-card { display: flex; gap: 14px 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--sky-soft); border: 1.5px solid #c9def3; border-radius: 10px; padding: 16px 18px; }
.ad-card-main { min-width: 0; flex: 1 1 280px; }
.ad-card h2 { font-family: var(--display); font-weight: 500; font-size: 20px; margin: 0; }
.ad-card .sub { margin: 2px 0 6px; color: var(--muted); font-size: 14px; }
.ad-link { margin: 0; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; user-select: all; }
.ad-card-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ad-card-actions .btn { margin-top: 0; }
.pill { display: inline-block; font-family: var(--label); font-weight: 600; font-size: 11px; letter-spacing: .06em; background: var(--mint); color: #1f3347; border-radius: 999px; padding: 2px 9px; vertical-align: middle; }
.pill.off { background: var(--pink-soft); color: var(--pink); }
.ad-new h2, .ad-sec-head h2 { font-family: var(--display); font-weight: 500; font-size: 20px; margin: 0 0 4px; }
.ad-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 16px; align-items: start; }
.ad-grid .wide { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.check-field { display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 10px; font-weight: 700; cursor: pointer; }
.check-field input { width: 18px; height: 18px; accent-color: var(--pink-bright); }
.ad-sec { display: flex; flex-direction: column; gap: 14px; }
.ad-sec .unit h3 { font-family: var(--display); font-weight: 500; font-size: 17px; margin: 0 0 10px; }
.ad-day-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.ad-mini { display: flex; gap: 6px; }
.ad-items { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.ad-item { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.ad-item input, .ad-day-head input, .ad-item textarea { width: auto; }
.grow { flex: 1 1 200px; }
.w-s { width: 70px !important; flex: 0 0 70px; }
.w-m { width: 120px !important; flex: 0 0 120px; }
.w-l { width: 180px !important; flex: 0 1 180px; }
.row-tools { display: inline-flex; gap: 4px; margin-left: auto; }
.icon { font: inherit; font-size: 14px; width: 34px; height: 34px; border-radius: 8px; border: 1.5px solid #c9d3dd; background: #fff; color: var(--ink); cursor: pointer; }
.icon:hover { background: var(--sky-soft); }
.icon.del:hover { background: var(--pink-soft); color: var(--pink); border-color: var(--pink); }
.small-btn { font-size: 13px; padding: 8px 14px; margin-top: 0; }
.ad-table-wrap { overflow-x: auto; margin-bottom: 10px; }
.ad-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.ad-table th { text-align: left; font-family: var(--label); font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 4px 6px; }
.ad-table td { padding: 4px 6px; vertical-align: middle; }
.ad-table td:nth-child(1) { width: 20%; } .ad-table td:nth-child(2) { width: 28%; } .ad-table td:nth-child(3) { width: 16%; }
.ad-table input, .ad-table select { padding: 8px 10px; }
.bulk { margin-top: 12px; }
.bulk summary { cursor: pointer; font-weight: 700; color: var(--pink); }
.bulk textarea { margin: 8px 0; }
.danger { background: #fff !important; border-color: var(--pink-soft) !important; }
.savebar { position: sticky; bottom: 0; bottom: env(safe-area-inset-bottom, 0px); display: flex; align-items: center; justify-content: flex-end; gap: 14px; flex-wrap: wrap; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(6px); border-top: 1.5px solid var(--line); padding: 12px 0; z-index: 3; }
.savebar .btn { margin-top: 0; }
code { background: var(--sky-soft); border-radius: 4px; padding: 1px 5px; font-size: 13px; }
