/* Shared components for every local site. Each site sets its identity (colours, fonts, radii,
   motif) as CSS variables in /<site>/site.css; nothing here hard-codes a brand colour. */

:root {
  --ink: #1d1b1a; --muted: #5f5a55; --body-strong: #3a3633; --paper: #fff; --card: #fff;
  --line: #e7e2dc; --line-strong: #d6cfc7; --chip-border: #e1dad2;
  --brand: #333; --brand-deep: #222; --brand-tint: #eee; --brand-wash: #f4f4f4; --table-head: #f7f7f7;
  --accent: #ffd25e; --accent-tint: #fff4d9; --accent-wash: #fff9e8; --accent-wash-border: #f6e3a8; --price-mark: #ffe08a;
  --mint-text: #0b6b55; --mint-tint: #ddf4ec; --mint: #36c5a0;
  --sun-text: #7a5a00; --red-text: #b4231a; --red-tint: #fde8e4; --grey-tint: #f3f1f7;
  --foot-bg: #1d1b1a; --foot-text: #d9d4ea; --foot-line: #3a3658; --foot-accent: #ffd25e;
  --font-display: system-ui, sans-serif; --font-body: system-ui, sans-serif;
  --r-badge: 8px; --r-input: 12px; --r-stepper: 14px; --r-card: 18px; --r-panel: 24px; --r-pill: 999px;
  --shadow-card: 0 1px 0 rgba(0,0,0,.06), 0 8px 24px -12px rgba(0,0,0,.22);
  --shadow-sheet: 0 24px 48px -16px rgba(0,0,0,.22);
  --max: 1200px; --gutter: 20px; --section: 56px;
  --notch: var(--paper);
}
@media (min-width: 900px) { :root { --gutter: 32px; --section: 88px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--font-body); overflow-x: hidden; }
@media (min-width: 900px) { body { font-size: 17px; } }
img { max-width: 100%; }
a { color: var(--brand-deep); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); }
h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.h2, h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.1; font-weight: 700; letter-spacing: -0.015em; margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: var(--section); }
.section-last { padding-bottom: var(--section); }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.45; }
.fw4 { font-weight: 400; }
.center { text-align: center; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.eyebrow { margin: 0; font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.eyebrow-grape { color: var(--brand); }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.row-c { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 6px; }
.link-strong { font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
.js .js-hide { display: none; }
html:not(.js) .js-only { display: none !important; }
[hidden] { display: none !important; }

/* ---- header ---- */
.top { background: var(--paper); border-bottom: 1px solid var(--line); position: relative; z-index: 40; }
.top-row { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
@media (min-width: 900px) { .top-row { height: 80px; } }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand .mark { flex: none; width: 36px; height: 36px; }
@media (min-width: 900px) { .brand .mark { width: 40px; height: 40px; } }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wm-top { font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: .24em; color: var(--brand); }
.wm-name { font-family: var(--font-display); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
@media (min-width: 900px) { .wm-name { font-size: 23px; } }
.top-nav { display: none; align-items: center; gap: 8px; }
.top-nav a, .menu-panel a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; border-radius: var(--r-pill); }
.top-nav a:hover { background: var(--brand-wash); }
.top-nav a.nav-pill { font-weight: 700; padding: 0 18px; border: 1.5px solid var(--line-strong); }
.menu { position: static; }
.menu summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 15px; min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; border-radius: var(--r-pill); border: 1.5px solid var(--line-strong); background: var(--card); color: var(--ink); }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sheet); display: flex; flex-direction: column; padding: 8px var(--gutter) 16px; }
.menu-panel a { border-radius: 12px; padding: 0 12px; }
@media (min-width: 900px) { .top-nav { display: flex; } .menu { display: none; } }

/* ---- footer ---- */
.foot { background: var(--foot-bg); color: #fff; }
.foot .wrap { padding-top: 56px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 40px; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h2 { font-size: 18px; color: #fff; letter-spacing: 0; }
.foot-col p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--foot-text); }
.brand-rev { color: #fff; }
.brand-rev .wm-top { color: var(--foot-accent); }
.brand-rev .mark { width: 34px; height: 34px; }
.foot-bottom { border-top: 1px solid var(--foot-line); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--foot-text); }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot a { color: #fff; }
.foot a:hover { color: var(--foot-accent); }
.foot-bottom nav a { min-height: 44px; display: inline-flex; align-items: center; }
.foot :focus-visible { outline-color: var(--foot-accent); }

/* ---- buttons ---- */
.btn { font: inherit; font-weight: 700; font-size: 16px; min-height: 48px; padding: 0 20px; border-radius: var(--r-pill); border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; cursor: pointer; text-align: center; }
.btn-big { min-height: 54px; font-size: 17px; padding: 0 24px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { color: #fff; opacity: .92; }
.btn-sun { background: var(--accent); color: var(--ink); }
.btn-line { background: var(--card); color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn-pill { min-height: 46px; padding: 0 16px; font-size: 15px; }
.btn:disabled { opacity: .6; cursor: default; }

/* ---- form controls ---- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.label { font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--ink); padding: 0; }
.input { font: inherit; font-weight: 600; font-size: 16px; min-height: 48px; padding: 0 14px; border-radius: var(--r-input); border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); width: 100%; font-variant-numeric: tabular-nums; }
textarea.input { padding: 12px 14px; font-weight: 400; resize: vertical; min-height: 96px; }
.select { position: relative; display: flex; }
.select select { font: inherit; font-weight: 500; font-size: 16px; min-height: 48px; padding: 0 46px 0 14px; border-radius: var(--r-input); border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); appearance: none; -webkit-appearance: none; width: 100%; cursor: pointer; text-overflow: ellipsis; }
.select svg { position: absolute; right: 16px; top: 50%; margin-top: -8px; pointer-events: none; color: var(--muted); }
.money { position: relative; display: flex; }
.money > span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-weight: 600; font-size: 16px; color: var(--muted); pointer-events: none; }
.money .input { padding-left: 28px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15px; font-weight: 600; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--brand); margin: 0; flex: none; }
.check-rule { border-top: 1px solid var(--line); padding-top: 8px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stepper { display: flex; align-items: center; justify-content: space-between; border: 1.5px solid var(--line-strong); border-radius: var(--r-stepper); padding: 3px; background: #fff; }
.step { flex: none; width: 44px; height: 44px; border-radius: 10px; border: 0; background: var(--brand-wash); color: var(--ink); font: inherit; font-size: 22px; font-weight: 700; cursor: pointer; line-height: 1; }
.step:hover { background: var(--brand-tint); }
.step-val { min-width: 0; width: 100%; border: 0; background: transparent; text-align: center; font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; padding: 0; height: 44px; }

/* ---- chips, badges, tiles ---- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: var(--r-pill); background: var(--card); border: 1.5px solid var(--chip-border); color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.chip:hover { border-color: var(--brand); color: var(--ink); }
.chip[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-n { color: var(--muted); font-weight: 500; font-size: 13px; }
.chip-icon { padding-left: 8px; gap: 8px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badges:empty { display: none; }
.badge { display: inline-block; font-size: 12.5px; font-weight: 700; line-height: 1.4; padding: 4px 9px; border-radius: var(--r-badge); }
.badge-mint { background: var(--mint-tint); color: var(--mint-text); }
.badge-grape { background: var(--brand-tint); color: var(--brand-deep); }
.badge-sun { background: var(--accent-tint); color: var(--sun-text); }
.badge-grey { background: var(--grey-tint); color: var(--muted); }
.badge-featured { background: var(--accent); color: var(--ink); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 800; padding: 5px 10px; }
.tile { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--tile, var(--brand-tint)); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.tile-sm { width: 30px; height: 30px; border-radius: 50%; }
.tile-xl { width: 64px; height: 64px; border-radius: 18px; }
@media (min-width: 900px) { .tile-xl { width: 84px; height: 84px; } .tile-xl svg { width: 50px; height: 50px; } }
.caveat { display: inline-block; align-self: flex-start; font-size: 12.5px; font-weight: 700; line-height: 1.35; padding: 3px 8px; border-radius: var(--r-badge); background: var(--accent-tint); color: var(--sun-text); }
.caveat-red { background: var(--red-tint); color: var(--red-text); }
.fresh { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.fresh .dot, .pill-note .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.fresh.stale .dot { background: var(--red-text); }
.fresh.stale { color: var(--red-text); }

/* ---- the ticket card ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 20px; }
.ticket { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-card); min-width: 0; }
.t-top { padding: 18px 20px 16px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.t-head { display: flex; gap: 14px; align-items: flex-start; }
.t-name { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.t-kind, .v-kind { font-size: 13px; font-weight: 600; color: var(--muted); }
.ticket h3 { margin: 0; font-size: 20px; line-height: 1.2; font-weight: 700; }
@media (min-width: 900px) { .ticket h3 { font-size: 21px; } }
.ticket h3 a { color: var(--ink); text-decoration: none; }
.ticket h3 a:hover { text-decoration: underline; }
.t-facts { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.tear { position: relative; height: 18px; flex: none; --dash: var(--chip-border); --notch-border: var(--line);
  background: repeating-linear-gradient(90deg, var(--dash) 0 6px, transparent 6px 11px) center / calc(100% - 36px) 2px no-repeat; }
.tear::before, .tear::after { content: ""; position: absolute; top: 0; width: 10px; height: 18px; background: var(--notch); border: 1px solid var(--notch-border); }
.tear::before { left: -1px; border-left: 0; border-radius: 0 9px 9px 0; }
.tear::after { right: -1px; border-right: 0; border-radius: 9px 0 0 9px; }
.t-bottom { padding: 12px 20px 18px; display: flex; flex-direction: column; gap: 6px; }
.t-for { font-size: 13px; font-weight: 600; color: var(--muted); }
.t-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price { font-family: var(--font-display); font-size: 40px; line-height: 1; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; padding: 0 2px; background: linear-gradient(transparent 66%, var(--price-mark) 66%, var(--price-mark) 90%, transparent 90%); }
.price-xl { font-size: clamp(44px, 5vw, 56px); }
.price-ask { font-size: 28px; background: none; padding: 0; }
.per { font-size: 14px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.t-break { font-size: 13px; line-height: 1.5; color: var(--muted); }
.t-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.t-more { min-height: 44px; display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 15px; text-decoration: none; }
.ticket-featured { background: #fffdf5; border: 2px solid var(--accent); }
.ticket-featured .tear { --dash: #f2d88a; --notch-border: var(--accent); }
.ticket-featured .tear::before, .ticket-featured .tear::after { border-width: 2px; }
.ticket-featured .tear::before { border-left: 0; left: -2px; } .ticket-featured .tear::after { border-right: 0; right: -2px; }
.t-feat { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 20px 0; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.js .cards .ticket.more { display: none; }
.js .cards.show-all .ticket.more { display: flex; }

/* ---- results ---- */
.page-results { padding-top: 20px; padding-bottom: var(--section); display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 900px) { .page-results { padding-top: 40px; gap: 32px; } }
.res-head { display: flex; flex-direction: column; gap: 10px; }
.res-sum { margin: 0; font-size: 17px; }
.res-sum strong { color: var(--ink); }
.lede { margin: 0; font-size: 17px; color: var(--muted); max-width: 46rem; }
.results-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
.results-main { min-width: 0; position: relative; z-index: 0; display: flex; flex-direction: column; gap: 28px; }
.filters { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.f-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.f-head h2 { font-size: 22px; letter-spacing: 0; }
.f-reset { font-size: 14px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.f-close { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-wash); color: var(--ink); display: none; align-items: center; justify-content: center; }
.budget { border: 0; margin: 0; padding: 0; min-width: 0; }
.budget legend { margin-bottom: 6px; }
.seg { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: var(--r-stepper); background: var(--brand-wash); }
.seg label { position: relative; display: flex; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 10px; font-weight: 700; font-size: 14.5px; font-variant-numeric: tabular-nums; color: var(--ink); }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.own { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.own > span:first-child { flex: none; }
.own .money { flex: 1; }
.f-submit { padding-top: 2px; }
.f-submit .btn { width: 100%; }
.js .f-col .f-submit { display: none; }
.fbar { display: none; }
@media (min-width: 900px) {
  .results-grid { grid-template-columns: 320px minmax(0, 1fr); }
  .f-col { position: sticky; top: 24px; z-index: 2; }
}
@media (max-width: 899px) {
  .fbar { display: flex; position: sticky; top: 0; z-index: 20; margin: 0 calc(-1 * var(--gutter)); padding: 10px var(--gutter); background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 8px 16px -12px rgba(30,27,58,.25); align-items: center; gap: 12px; }
  .fbar-sum { font-size: 14px; line-height: 1.3; color: var(--muted); flex: 1; }
  .f-col { display: none; }
  .f-col:target, .f-col.open { display: block; position: fixed; z-index: 50; top: 72px; left: 10px; right: 10px; max-height: calc(100dvh - 84px); overflow-y: auto; border-radius: var(--r-panel); background: var(--card); box-shadow: 0 0 0 100vmax rgba(22,19,48,.5), 0 24px 48px -16px rgba(22,19,48,.4); }
  .f-col .filters { border: 0; padding: 20px 20px 0; }
  .f-col .f-close { display: inline-flex; }
  .f-col .f-reset { margin-left: auto; }
  .js .f-col .f-submit { display: block; }
  .f-submit { position: sticky; bottom: 0; margin: 0 -20px; padding: 12px 20px 20px; background: var(--card); border-top: 1px solid var(--line); }
}
.feat-row { background: var(--accent-wash); border: 1px solid var(--accent-wash-border); border-radius: var(--r-panel); padding: 12px; display: flex; flex-direction: column; gap: 14px; --notch: var(--accent-wash); }
@media (min-width: 900px) { .feat-row { padding: 20px; } }
.feat-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.feat-head h2 { font-family: var(--font-body); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sun-text); }
.feat-head span { font-size: 13.5px; color: var(--muted); }
.list-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.list-head h2 { font-size: 26px; letter-spacing: 0; }
.toggle { display: inline-flex; padding: 4px; border-radius: var(--r-pill); background: var(--brand-wash); }
.toggle a { font-weight: 700; font-size: 14px; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; }
.toggle a[aria-pressed="true"] { background: var(--card); box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.show-more { align-self: center; }
.compare { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.cmp-table, .pk-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.cmp-table thead tr, .pk-table thead tr { background: var(--table-head); text-align: left; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cmp-table th, .cmp-table td, .pk-table th, .pk-table td { padding: 14px 18px; text-align: left; vertical-align: top; }
.cmp-table thead th, .pk-table thead th { padding: 12px 18px; font-weight: 700; }
.cmp-table tbody tr, .pk-table tbody tr { border-top: 1px solid var(--line); }
.cmp-table tbody th { font-weight: 400; }
.cmp-table tbody th a { font-weight: 700; color: var(--ink); text-decoration: none; }
.cmp-table .num, .pk-table .num { text-align: right; }
.sub { font-size: 13px; color: var(--muted); }
.cmp-total, .pk-total { font-family: var(--font-display); font-weight: 800; font-size: 22px; font-variant-numeric: tabular-nums; }
.cmp-list { list-style: none; margin: 0; padding: 0; display: none; }
.cmp-list li { border-top: 1px solid var(--line); padding: 14px 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: baseline; }
.cmp-list li:first-child { border-top: 0; }
.cmp-list a { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 16px; }
.cmp-list .cmp-total { text-align: right; }
.cmp-list .num { text-align: right; }
.cmp-cav { grid-column: 1 / -1; }
@media (max-width: 899px) { .cmp-table { display: none; } .cmp-list { display: block; } }
.fresh-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 14px 20px; border-radius: var(--r-card); border: 1px dashed var(--line-strong); }
.fresh-strip .fresh { font-size: 14px; flex: 1 1 260px; }
.empty { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 40px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.empty h2 { font-size: 26px; letter-spacing: 0; }
.empty p { margin: 0; color: var(--muted); max-width: 420px; }

/* ---- venue page ---- */
.venue-grid { padding-top: 20px; padding-bottom: var(--section); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "calc" "pkgs" "book" "fix" "near"; gap: 28px; align-items: start; }
@media (min-width: 900px) { .venue-grid { padding-top: 40px; grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "intro calc" "pkgs calc" "book calc" "fix calc" "near calc"; gap: 48px; } }
.v-intro { grid-area: intro; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.back { align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; text-decoration: none; }
.v-title { display: flex; gap: 16px; align-items: center; }
.v-title > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.v-kind { font-size: 15px; }
.v-title h1 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.02; overflow-wrap: anywhere; }
.v-summary { margin: 0; font-size: 17px; line-height: 1.65; color: var(--body-strong); max-width: 680px; }
.v-calc { grid-area: calc; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--shadow-sheet); display: flex; flex-direction: column; min-width: 0; }
@media (min-width: 900px) { .v-calc { position: sticky; top: 24px; } }
.calc-top { padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 14px; }
.calc-top h2 { font-size: 22px; letter-spacing: 0; }
.calc-body { padding: 14px 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.calc-body [data-calc-result] { display: flex; flex-direction: column; gap: 8px; }
.calc-big { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.calc-pkg { font-size: 15px; font-weight: 600; color: var(--muted); }
.calc-list { list-style: none; margin: 6px 0 0; padding: 0; border-top: 1px solid var(--line); }
.calc-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.calc-list strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-none { margin: 0; color: var(--muted); }
.calc-body .btn { margin-top: 6px; }
.v-pkgs, .v-book, .v-near { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.v-pkgs { grid-area: pkgs; } .v-book { grid-area: book; } .v-near { grid-area: near; gap: 12px; }
.v-pkgs > h2, .v-book > h2 { font-size: clamp(26px, 2.6vw, 32px); }
.v-pkgs > p { margin: 0; line-height: 1.55; }
.panel-table { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.pk-table tbody th { font-weight: 400; }
.pk-table tr.is-cheapest { background: #fffbec; }
.pk-table td { color: var(--body-strong); line-height: 1.5; }
.pk-table .pk-total { font-size: 26px; }
.pk-ask { font-size: 20px; }
.nowrap { white-space: nowrap; }
.pk-cards { display: none; flex-direction: column; gap: 12px; }
.pk-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.pk-card.is-cheapest { border: 2px solid var(--accent); }
.pk-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pk-card h3 { margin: 0; font-family: var(--font-body); font-size: 17px; font-weight: 700; }
.pk-card .pk-total { font-size: 26px; white-space: nowrap; }
.pk-inc { font-size: 14.5px; line-height: 1.5; color: var(--body-strong); }
.pk-card .sub { font-size: 14px; }
@media (max-width: 899px) { .panel-table { display: none; } .pk-cards { display: flex; } }
.notes { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px 18px; }
.notes h3 { margin: 0 0 6px; font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.notes ul { margin: 0; padding-left: 18px; font-size: 15px; line-height: 1.55; color: var(--body-strong); }
.notes li + li { margin-top: 6px; }
.info-cards { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.info-cards > div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.info-cards dt { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.info-cards dd { margin: 6px 0 0; font-size: 15.5px; line-height: 1.5; overflow-wrap: anywhere; }
.fix { grid-area: fix; background: var(--card); border: 1px dashed #c9bfe0; border-radius: var(--r-panel); padding: 20px; display: flex; flex-direction: column; gap: 16px; min-width: 0; scroll-margin-top: 16px; }
@media (min-width: 900px) { .fix { padding: 28px; } }
.fix h2 { font-size: 24px; letter-spacing: 0; }
.fix p { margin: 6px 0 0; font-size: 15.5px; line-height: 1.55; }
.fix-form, .biz-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.span-all { grid-column: 1 / -1; }
.status-ok { display: flex; gap: 12px; align-items: center; background: var(--mint-tint); color: var(--mint-text); border-radius: 14px; padding: 16px; font-weight: 600; margin: 0; }
.status-err { color: var(--red-text); font-weight: 600; margin: 0; }

/* ---- prose pages ---- */
.prose { max-width: 46rem; }
.prose h1 { margin-bottom: 16px; }
.prose p { line-height: 1.7; color: var(--body-strong); }

/* ---- guides ---- */
.related { margin: 8px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.g-index { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; max-width: 46rem; }
.g-index a { display: grid; gap: 4px; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card, 18px); text-decoration: none; color: var(--ink); }
.g-index a:hover { border-color: var(--brand); }
.g-title { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.25; }
.guide h1 { max-width: 22ch; margin: 12px 0 14px; }
.guide .lede { margin-bottom: 8px; }
.g-body { max-width: none; margin-top: 24px; }
.g-body > p, .g-body > ul, .g-body > ol, .g-body > h2, .g-body > .table-wrap { max-width: 46rem; }
.g-body h2 { margin: 44px 0 14px; font-size: clamp(24px, 2.6vw, 30px); }
.g-body ul, .g-body ol { padding-left: 1.2em; line-height: 1.65; color: var(--body-strong); }
.g-body li { margin: 0 0 10px; }
.g-body .cards { margin: 8px 0 12px; }
.table-wrap { overflow-x: auto; }
.g-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.g-table th, .g-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.g-table th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--table-head, transparent); }
.g-kinds { columns: 2; }
.g-more { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 46rem; }
.g-more ul { padding-left: 1.2em; line-height: 1.8; }
.guide, .g-body, .g-body > * { min-width: 0; }
.table-wrap { width: 100%; max-width: 46rem; }
@media (max-width: 600px) { .g-table th, .g-table td { padding: 10px 6px; font-size: 15px; } .g-table th { font-size: 11px; } }
