/* fees.v1.css — additive layer for the card-fees cluster.
   Extends bookmyvenue.v2.css. Defines nothing that file already owns:
   .wrap .narrow .btn .cmp .checks .faq .cta-band .field are all inherited. */

/* ---------------------------------------------------------- page furniture */
.hero-page,
.hero-tool { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.75rem, 4vw, 3rem); }
.hero-tool h1 { max-width: 18ch; }

/* Emphasis blocks follow the site's own vocabulary: card ground, hairline,
   radius, shadow, and a 2px top rule for accent (the .trio-card idiom in
   bookmyvenue.v2.css). No side-tab borders anywhere in this design system. */
.rates-stamp {
  border: 1px solid var(--line);
  border-top: 2px solid var(--line-strong);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: .95rem 1.15rem;
  margin-bottom: 2rem;
  font-size: .93rem;
  line-height: 1.6;
  color: var(--text-2);
}
.rates-stamp strong { color: var(--text); }

.callout {
  border: 1px solid var(--line);
  border-top: 2px solid var(--line-strong);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.3rem;
  margin: 1.75rem 0;
}
.callout h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.callout p:last-child { margin-bottom: 0; }
/* The warning carries its signal on the same top rule the rest of the system
   uses, and in the heading, rather than by bolting a coloured tab to the side. */
.callout-warn { border-top-color: var(--red); background: var(--bg-2); }
.callout-warn > h3 { color: var(--red); }
/* The site's .btn-sm lands at 41px; inside a callout it is a real navigation
   control, so it carries the 44px touch floor. */
.callout .btn { min-height: 44px; display: inline-flex; align-items: center; }

.sources {
  border-top: 1px solid var(--line);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
}
.sources h3 { font-size: 1.05rem; margin: 0 0 .6rem; }
.sources ul { margin: 0 0 .75rem; padding-left: 1.1rem; }
.sources li { margin-bottom: .35rem; font-size: .93rem; color: var(--text-2); }

.gst-badge {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: .22rem .55rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
}
.gst-inc { background: var(--accent-soft); color: var(--accent-text); }
.gst-unk { background: var(--bg-2); color: var(--text-3); }
.gst-line { margin: 0 0 .9rem; }

table.cmp td.rate { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
table.cmp td.rate-note { font-size: .88rem; color: var(--text-2); font-weight: 400; }

.method { margin: 0 0 1.5rem; padding-left: 1.25rem; }
.method li { margin-bottom: .6rem; color: var(--text-2); }
.method li strong { color: var(--text); }

/* --------------------------------------------------------------- cluster nav */
.cluster-nav {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  margin-bottom: 2.5rem;
}
.cluster-nav ul {
  display: flex;
  gap: .35rem;
  list-style: none;
  margin: 0 auto;
  padding: .55rem 1.25rem;
  max-width: var(--wrap);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

/* On narrow screens WRAP instead of scrolling. A horizontal scroller with no
   visual affordance hides half the cluster behind a gesture nobody is told
   about; wrapping shows every destination at once. Costs two rows of height. */
@media (max-width: 700px) {
  .cluster-nav ul {
    flex-wrap: wrap;
    overflow-x: visible;
    justify-content: center;
    padding-inline: .75rem;
    row-gap: .2rem;
  }
}
.cluster-nav a {
  display: flex;
  align-items: center;
  /* 44px floor: this is the primary way people move around the cluster on a phone */
  min-height: 44px;
  white-space: nowrap;
  padding: .45rem .8rem;
  border-radius: 999px;
  font-size: .9rem;
  text-decoration: none;
  color: var(--text-2);
}
.cluster-nav a:hover { background: var(--card); color: var(--text); }
.cluster-nav a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent-text);
  font-weight: 600;
}

/* ---------------------------------------------------------------- calculator */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }

.calc-h {
  font-size: 1.15rem;
  margin: 0 0 1.1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--line);
}

.calc-form,
.calc-out {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 2.5vw, 1.75rem);
  box-shadow: var(--shadow);
}
.calc-out { position: sticky; top: 1rem; }
@media (max-width: 900px) { .calc-out { position: static; } }

.calc .field { margin-bottom: 1.35rem; }
.calc .field > label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .75rem;
  font-weight: 600;
  margin-bottom: .4rem;
}
.calc .field .opt {
  font-weight: 400;
  font-size: .82rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .03em;
}
.calc .hint { font-size: .86rem; color: var(--text-3); margin: .4rem 0 0; line-height: 1.55; }
.hint-block { margin-top: .75rem !important; }

.input-prefix,
.input-suffix { display: flex; align-items: stretch; }
.input-prefix span,
.input-suffix span {
  display: flex;
  align-items: center;
  padding: 0 .75rem;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  color: var(--text-3);
  font-weight: 600;
}
.input-prefix span { border-right: 0; border-radius: var(--radius) 0 0 var(--radius); }
.input-suffix span { border-left: 0; border-radius: 0 var(--radius) var(--radius) 0; }
.input-prefix input { border-radius: 0 var(--radius) var(--radius) 0; }
.input-suffix input { border-radius: var(--radius) 0 0 var(--radius); }
.input-prefix input,
.input-suffix input { flex: 1; min-width: 0; }

.calc output {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--accent-text);
  background: var(--accent-soft);
  padding: .1rem .5rem;
  border-radius: 999px;
  font-size: .88rem;
}

.calc input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
  /* 44px pointer target without a 44px visual bar */
  height: 44px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}

.calc-adv { margin-bottom: 1.35rem; }
.calc-adv summary {
  cursor: pointer;
  font-weight: 600;
  padding: .7rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.calc-adv[open] summary { border-bottom-color: transparent; }
.calc-adv > .field,
.calc-adv > .hint { padding-top: 1rem; }

.calc-reset { margin: 0; }

/* ------------------------------------------------------------------ results */
.res-head {
  text-align: center;
  padding: 1.25rem 1rem 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.25rem;
}
.res-head .res-label { font-size: .9rem; color: var(--text-3); margin: 0 0 .3rem; }
.res-head .res-figure {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  margin: 0;
}
.res-head .res-sub { font-size: .92rem; color: var(--text-2); margin: .55rem 0 0; }
.res-head .res-sub strong { color: var(--accent-text); }

.res-list { list-style: none; margin: 0; padding: 0; }
.res-row {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr) auto;
  gap: .65rem;
  align-items: baseline;
  padding: .7rem .25rem;
  border-bottom: 1px solid var(--line);
}
.res-row:last-child { border-bottom: 0; }
.res-rank { color: var(--text-3); font-size: .85rem; font-variant-numeric: tabular-nums; }
.res-name { font-weight: 600; min-width: 0; }
.res-name a { text-decoration: none; }
.res-name a:hover { text-decoration: underline; }
.res-name small { display: block; font-weight: 400; font-size: .82rem; color: var(--text-3); }
.res-amt { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.res-amt small { display: block; font-weight: 400; font-size: .78rem; color: var(--text-3); text-align: right; }
.res-row.best { background: var(--accent-soft); border-radius: var(--radius); }
.res-row.best .res-amt { color: var(--accent-text); }
.res-row.unpriced .res-amt { color: var(--text-3); font-weight: 400; font-size: .85rem; }

.res-delta {
  margin-top: 1.25rem;
  padding: .9rem 1rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: .93rem;
  line-height: 1.6;
  color: var(--text-2);
}
.res-delta strong { color: var(--text); }
.res-foot { font-size: .84rem; color: var(--text-3); margin: 1rem 0 0; line-height: 1.55; }

@media (prefers-reduced-motion: no-preference) {
  .res-amt, .res-head .res-figure { transition: color .2s ease; }
}

/* ---------------------------------------------------------- touch pointers
   Sized by POINTER, not by width: a touch tablet at 1024 is above every mobile
   breakpoint and still has no cursor. A width-scoped rule always misses it. */
@media (pointer: coarse) {
  .cluster-nav a { min-height: 44px; }
  .cluster-nav ul { padding-block: .5rem; }

  /* Source links live in table cells and are the whole point of the sourcing
     promise — they have to be tappable, not just present. */
  table.cmp td a,
  .sources li a {
    display: inline-block;
    min-height: 44px;
    line-height: 44px;
  }
  .sources li { margin-bottom: .1rem; }

  .res-name a { display: inline-block; min-height: 44px; line-height: 44px; }
  details.faq summary { min-height: 44px; }
}
