:root {
  --bg: #0f0f10; --card: #17171a; --line: #2a2a2f; --text: #f3f1ea; --muted: #9a9a9f;
  --gold: #c9a227; --gold-2: #e2c15b; --gold-t: #c9a227; --ok: #4ccf7a; --bad: #ff6b6b; --radius: 14px;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #f7f5f0; --card: #ffffff; --line: #e6e2d8; --text: #1a1a1a; --muted: #6b6b70; --gold-2: #7a5a00; --gold-t: #7a5a00; }
  h2, .linkbtn { color: #7a5a00; }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 -apple-system, "SF Pro Text", Inter, Segoe UI, Roboto, sans-serif; }
.wrap { max-width: 640px; margin: 0 auto; padding: 24px 16px 48px; }
.brand { display: flex; align-items: center; gap: 14px; margin: 8px 0 20px; }
.bwm { margin: 0 0 3px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); }   /* the same gold wordmark the emails open with */
.brand h1.wh { font-family: 'Playfair Display', 'Didot', 'Bodoni 72', Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 600; font-size: 31px; line-height: 1.05; letter-spacing: .01em; margin: 0; text-transform: none;
  background: linear-gradient(100deg, #8a6d1d 0%, #c9a227 22%, #f6e3a1 40%, #c9a227 58%, #8a6d1d 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: whshine 6s ease-in-out infinite; }
@keyframes whshine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
@media (prefers-color-scheme: light) { .brand h1.wh { background-image: linear-gradient(100deg, #6b5210 0%, #9c7b17 25%, #c9a227 45%, #9c7b17 62%, #6b5210 100%); background-size: 220% 100%; } }
@media (prefers-reduced-motion: reduce) { .brand h1.wh { animation: none; } }
@media (max-width: 400px) { .brand h1.wh { font-size: 27px; } }
.secure { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--line); background: color-mix(in srgb, var(--text) 5%, var(--card)); font-size: 15px; line-height: 1.4; color: var(--text); } .secure svg { flex: none; margin-top: 1px; color: var(--gold-2); } .secure b { display: block; }
.pby { display: flex; align-items: center; gap: 6px; margin: 5px 0 0; font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); opacity: .9; }
.pby a { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; padding: 4px 0; min-height: 24px }
.pby a:hover, .pby a:focus-visible { text-decoration: underline }
.pby i, .builtfor i { flex: none; width: 14px; height: 14px; background: currentColor; -webkit-mask: url(/wheelhouse.svg) center / contain no-repeat; mask: url(/wheelhouse.svg) center / contain no-repeat; }
.builtfor { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 26px 0 0; font-size: 15px; color: color-mix(in srgb, var(--text) 75%, transparent); text-align: center; } .builtfor i { width: 18px; height: 18px; color: var(--gold-2); }
.shield { width: 43px; height: 48px; flex: none; background: url(/shield.svg) center / contain no-repeat; font-size: 0; color: transparent; }
h1 { font-size: 22px; margin: 0; letter-spacing: .2px; }
h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-t); margin: 0 0 14px; }
.sub { margin: 0; color: var(--muted); font-size: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.stats dt { color: var(--muted); font-size: 13px; }
.stats dd { margin: 0; font-size: 22px; font-weight: 600; }
.ok { color: var(--ok); } .bad { color: var(--bad); }
.muted { color: var(--muted); } .small { font-size: 13px; }
.links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
a { color: var(--gold-2); text-decoration: none; } a:hover { text-decoration: underline; }

/* forms */
label { display: block; font-size: 15px; color: color-mix(in srgb, var(--text) 78%, transparent); margin: 12px 0 6px; }
input[type=radio], input[type=checkbox] { accent-color: var(--gold); }
input, select { width: 100%; padding: 12px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; }
input:focus, select:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seg { display: grid; grid-auto-flow: column; gap: 6px; background: var(--bg); padding: 4px; border-radius: 12px; border: 1px solid var(--line); }
.seg button { border: 0; background: transparent; color: var(--muted); padding: 10px 6px; border-radius: 9px; font: inherit; font-size: 14px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--gold); color: #111; font-weight: 600; }
.price { display: flex; align-items: baseline; justify-content: space-between; margin-top: 18px; }
.price .amt { font-size: 40px; font-weight: 700; letter-spacing: -.5px; }
.price .amt small { font-size: 14px; color: var(--muted); font-weight: 400; margin-left: 6px; }
.lines { margin: 12px 0 0; padding: 0; list-style: none; font-size: 14px; }
.lines li { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px dashed var(--line); }
.lines li span:last-child { font-variant-numeric: tabular-nums; }
.btn { display: block; width: 100%; margin-top: 16px; padding: 14px; border-radius: 12px; border: 0; background: var(--gold); color: #111; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; }
.btn.secondary { background: transparent; color: var(--gold-2); border: 1px solid var(--line); }
.note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.warn { color: var(--bad); font-size: 13px; margin-top: 8px; }
.grat-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 10px; } .grat-row select { width: auto; }
.linkbtn { border: 0; background: none; padding: 0; font: inherit; color: var(--gold-t); text-decoration: underline; cursor: pointer; }

/* header = Home button; refresh icon in the top right (public/brand-nav.js) */
.brand .brand-refresh { margin-left: auto; align-self: flex-start; flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--gold-2); cursor: pointer; padding: 0; }
.brand .brand-refresh:active { transform: scale(.94); }
.brand .brand-refresh.spin svg { animation: brspin .6s linear infinite; }
.brand .brand-refresh ~ .acct-wrap { margin-left: 8px; }
.brand .acct-wrap { align-self: flex-start; display: flex; align-items: flex-start; }
.brand .acct-wrap .acct-btn { height: 40px; min-height: 40px; box-sizing: border-box; line-height: 1; }
@keyframes brspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .brand .brand-refresh.spin svg { animation: none; } }

.builtfor.gold{flex-direction:column;gap:6px;margin:30px 0 8px;padding-top:16px;border-top:1px solid rgba(201,162,39,.45);font-family:'Playfair Display','Didot',Georgia,serif;font-style:italic;font-size:17px;line-height:1.35;color:#8a6a10}.builtfor.gold i{width:22px;height:22px;color:#c9a227}.builtfor.gold b{font-weight:700}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .builtfor.gold{color:#e2c15b}}
:root[data-theme="dark"] .builtfor.gold{color:#e2c15b}

/* Bigger tap areas without changing how things look (overnight pass, Nov 3): small round/inline controls get an invisible 44px hit zone. */
.qmark, #installX { position: relative; }
.qmark::after, #installX::after { content: ''; position: absolute; inset: -10px; }
#acctBtn { padding-top: 10px; padding-bottom: 10px; min-height: 40px; }

/* narrow phones with Menu + refresh beside the title: keep the two small lines on one line each */
@media (max-width: 430px) { .brand .bwm { letter-spacing: .07em; font-size: 10.5px; white-space: nowrap; } .brand .pby { letter-spacing: .03em; font-size: 10px; white-space: nowrap; gap: 4px; } header.brand { gap: 8px; } .brand .brand-refresh ~ .acct-wrap { margin-left: 0; } }
@media (max-width: 430px) { .brand .acct-wrap .acct-btn { padding-left: 12px; padding-right: 12px; } header.brand { gap: 6px; } }

/* Business / Personal (AJ, Nov 4): a quiet tag on every trip, and a two-way switch on the Manage page */
.ptag{display:inline-flex;align-items:center;font-size:13px;font-weight:700;letter-spacing:.02em;border-radius:999px;padding:3px 10px;border:1px solid var(--line)}
.ptag.business{background:#1f2a44;color:#dfe8ff;border-color:#1f2a44}
.ptag.personal{background:#eadff5;color:#3d2461;border-color:#eadff5}
.purp{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:4px 0 12px}
.purp .seg{display:inline-flex;border:1px solid var(--line);border-radius:999px;overflow:hidden}
.purp .seg button{font:inherit;font-size:15px;padding:9px 16px;min-height:40px;border:0;background:var(--bg);color:var(--text);cursor:pointer}
.purp .seg button.on{background:#1a1a1a;color:#e2c15b;font-weight:700}
.purp .seg button:disabled{opacity:.6}

/* confirmation code: small gold label over the code in large gold italic serif, centred, the same as every email (AJ, Nov 5) */
.codechip { text-align: center; margin: 16px 0 6px; } .codechip .cc-l { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-t); font-weight: 700; } .codechip .cc-c { font-family: 'Playfair Display', 'Didot', Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 700; font-size: 34px; line-height: 1.15; letter-spacing: .14em; color: var(--gold-t); margin-top: 2px; }

/* Concierge header stays put while the page scrolls (AJ, Nov 5): logo, Powered by Wheelhouse and the menu button. */
header.brand.stick { position: sticky; top: 0; z-index: 60; margin: 0 -16px 16px; padding: calc(8px + env(safe-area-inset-top, 0px)) 16px 10px; background: var(--bg); border-bottom: 1px solid var(--line, rgba(128,128,128,.18)); }
.pbyfoot { margin: 6px 0 22px; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); }
.pbyfoot a { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; padding: 10px 14px; min-height: 44px; }
.pbyfoot a:hover, .pbyfoot a:focus-visible { text-decoration: underline }
.pbyfoot i { flex: none; width: 14px; height: 14px; background: currentColor; -webkit-mask: url(/wheelhouse.svg) center / contain no-repeat; mask: url(/wheelhouse.svg) center / contain no-repeat; }
