/* The telco comparisons' own sheet (docs/plans/telco-feeds-plan.md):
   /browse/mobile, /browse/nbn and /browse/mobile-nbn. styles.css is
   content-hashed into every page's URL, so these rules live here and load
   only on those pages. Tokens only (styles.css :root): no literal radius;
   figures stay square (data is square). */


/* THE PLAN CARD (13 Nov 2026; telcofeedpages.mjs planCard). Its own grid,
   not the family's four-track row, which restacks to one full-width column
   below 1220px and so stretched every tag and the button across the card.
   Wide: the plan with its tags | the price block | the actions, with the
   small print in a footer across the card. The price and action columns are
   FIXED widths, so the figures line up from card to card whatever a card's
   links are. Narrow: one column, the button at its own width. Tags are
   metadata (--r-pill); figures are square. */
.prod-card.tf-card {
  grid-template-columns: minmax(0, 1fr) 252px 190px;
  grid-template-areas: "main price act" "more more more";
  column-gap: 28px; row-gap: 12px; align-items: start; padding: 18px 22px;
}
.tf-c-main { grid-area: main; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
/* the plan's whole name: the family clamps names to two lines with an ellipsis */
.tf-card .prod-name { display: block; overflow: visible; -webkit-line-clamp: unset;
  font-weight: 600; font-size: 16px; line-height: 1.3; }
.tf-c-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tf-c-tags .pill { padding: 3px 10px; font-size: 11.5px; line-height: 1.5; }
.tf-c-price { grid-area: price; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tf-c-fig { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; }
.tf-c-fig strong { font-size: 28px; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums; color: var(--text); border-radius: var(--r-data); }
.tf-c-fig span { font-size: 13px; color: var(--muted); }
.tf-c-then { margin: 0; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.tf-c-stats { margin: 8px 0 0; padding: 9px 0 0; border-top: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
/* the figure above its label (the list is dt then dd for a reader), so two
   figures share a line however a label wraps */
.tf-c-stats div { min-width: 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 2px; }
.tf-c-stats dt { font-size: 11px; line-height: 1.3; color: var(--muted); }
.tf-c-stats dd { margin: 0; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums;
  color: var(--text); border-radius: var(--r-data); }
.tf-c-act { grid-area: act; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.tf-c-act .btn { width: auto; white-space: nowrap; }
.tf-c-act .prod-details { margin: 0; text-align: right; }
/* Compare: the family's quiet checkbox, a touch larger here (13px text, a
   16px box) so it is an easy tap */
.prod-card.tf-card .compare-label { font-size: 13px; gap: 7px; padding: 4px 0; color: var(--text); }
.prod-card.tf-card .compare-check { width: 16px; height: 16px; accent-color: var(--blue); }
/* the family's rule puts every card's .prod-under on row 2 at 1221px and up;
   here the footer is its own area, below the price block */
.prod-card.tf-card > .tf-c-more { grid-area: more; margin: 0; padding: 10px 0 0; border-top: 1px solid var(--border); }
.tf-c-more .feat-line { line-height: 1.45; }
.tf-c-more .feat-line:first-child { margin-top: 0; }
/* a narrower results column: the actions drop under the price block, in a row */
@media (max-width: 1160px) {
  .prod-card.tf-card { grid-template-columns: minmax(0, 1fr) 240px;
    grid-template-areas: "main price" "act act" "more more"; }
  .tf-c-act { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 8px 18px; }
  .tf-c-act .prod-details { text-align: left; }
}
/* a phone: one column, the price under the plan, the button at its own width */
@media (max-width: 640px) {
  .prod-card.tf-card { grid-template-columns: minmax(0, 1fr); padding: 16px;
    grid-template-areas: "main" "price" "act" "more"; row-gap: 12px; }
  .tf-c-fig strong { font-size: 26px; }
}

/* THE QUICK CHOICE above a list (quickChoice): the answer that changes the
   list most, as links. Selection controls, so the tabs' shape (the
   segmented strip's border and --radius-control), wrapping on a phone. */
.tf-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 14px; }
.tf-quick-h { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.tf-quick-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.tf-quick-opt { padding: 7px 12px; min-height: 34px; display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 600; line-height: 1; color: var(--text); text-decoration: none; white-space: nowrap;
  background: var(--card); border: 1px solid #C9D5E6; border-radius: var(--radius-control); }
.tf-quick-opt:hover { border-color: var(--navy); text-decoration: none; }
.tf-quick-opt.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.tf-quick-opt:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* side by side (telcoComparePage): the family's table; the plan's name in
   the head is text (a telco plan has no page of its own to link to) */
.tf-compare .cmp-name { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--text); }
.tf-compare .cmp-sub { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; color: var(--muted); }
.tf-compare .cmp-unit { font-size: 12.5px; color: var(--muted); }
.tf-compare td a { color: var(--blue); }
.tf-cmp-why { margin: 0 0 12px; }

.tf-offer { color: var(--text); }
.tf-gap .pill { margin-right: 6px; }
.tf-stale { margin: 0 0 14px; padding: 10px 14px; background: #FFF7E6; border: 1px solid #F3D9A4;
  border-radius: var(--radius-card); font-size: 14px; line-height: 1.5; }
.tf-more { display: flex; align-items: center; gap: 12px; margin: 16px 0; }
.tf-credit { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* Mobile + NBN: the form beside (wide) or above (phone) the answer */
.tf-pair { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 24px; align-items: start; }
.tf-form { display: flex; flex-direction: column; gap: 14px; padding: 16px; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius-card); }
.tf-group { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 10px; }
.tf-group legend { font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.tf-field { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; }
.tf-field span { color: var(--muted); }
.tf-field select, .tf-field input { padding: 8px 10px; font: inherit; color: var(--text); background: #fff;
  border: 1px solid #C9D5E6; border-radius: var(--radius-control); min-height: 40px; }
.tf-sims { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tf-check { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; line-height: 1.4; }
.tf-check input { margin-top: 3px; }

.tf-asked { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.tf-verdict { padding: 14px 16px; margin: 0 0 16px; background: var(--card); border: 1px solid var(--border);
  border-left: 4px solid var(--blue); border-radius: var(--radius-card); }
.tf-verdict.tf-changes { border-left-color: var(--cyan-mid); }
.tf-verdict p { margin: 4px 0; line-height: 1.5; }
.tf-verdict-h { font-size: 19px; font-weight: 700; }
.tf-combos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin: 0 0 14px;
  align-items: start; }
.tf-combo { padding: 14px 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); }
.tf-combo h3 { margin: 0 0 2px; font-size: 16px; }
.tf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.tf-providers { margin: 0 0 10px; font-weight: 600; }
.tf-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 10px; }
/* the cards' figure type (the family's .metric strong is monospace) */
.tf-figs .metric strong { font-family: inherit; font-size: 22px; font-weight: 700; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums; color: var(--text); }
.tf-figs .metric span { font-size: 12px; }
.tf-lines { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.45; }
.tf-li-h { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
/* each plan in an option: its name on a line of its own, the facts under it,
   the promotion and the link each on their own line, a hairline between plans */
.tf-lines li { padding: 10px 0 0; border-top: 1px solid var(--border); }
.tf-lines li > strong { display: block; font-weight: 600; }
.tf-lines li > .tf-li-facts { display: block; }
.tf-lines li > .fineprint { display: block; margin: 3px 0 0; font-size: 12.5px; line-height: 1.45; }
.tf-lines li > a { display: inline-block; margin: 4px 0 0; font-size: 13px; }
.tf-combo h3 { font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.tf-providers { font-size: 18px; }
/* two providers' logos side by side in an option's card */
.tf-chips .logo-chip { width: 112px; height: 54px; }
/* the reminder sign-up under a fold: a quiet summary line, the form inside */
.tf-fold { margin: 12px 0 0; padding: 10px 0 0; border-top: 1px solid var(--border); }
.tf-fold > summary { cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--blue); }
.tf-fold > summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.tf-fold .tf-remind { margin: 10px 0 0; padding: 0; border-top: 0; }
/* the answer first on a phone: the form's submit lands on the results */
#results { scroll-margin-top: 12px; }
.tf-bundle { color: var(--text); }
.tf-unverified { padding-left: 18px; }
.tf-more-same { margin: 0 0 12px; font-size: 14px; }

@media (max-width: 899px) {
  .tf-pair { grid-template-columns: minmax(0, 1fr); }
  .tf-sims { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .tf-sims { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tf-figs .metric strong { font-size: 18px; }
  .tf-verdict-h { font-size: 17px; }
}

/* The founder's telco drawings beside each heading (icons.mjs TELCO_SYMBOLS),
   larger than the shared 56 x 32 wide box: the phone is tall and the pair
   near square, so a box that tall drew them small beside the modem. 48px
   tall lets the phone and the pair read, and 60px wide keeps the modem
   (width-bound) about the same visual weight. */
.cat-title .cat-ic.ic-telco { width: 60px; height: 48px; }
@media (max-width: 640px) { .cat-title .cat-ic.ic-telco { width: 52px; height: 42px; } }

/* The competitor review's moves (13 Nov 2026): the reminder form under an
   option, the year once promotions end, the ranking line, the bundle and
   coverage pages. */
.tf-rank { color: var(--muted); }
.tf-after { color: var(--muted); }
.tf-figs .metric span + span { display: block; font-size: 12px; color: var(--muted); }
.tf-remind { margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--border); display: grid; gap: 8px; }
.tf-remind .tf-field span { font-size: 13px; line-height: 1.45; }
.tf-remind input[type="email"] { width: 100%; border-radius: var(--radius-control); }
.tf-remind .btn { justify-self: start; border-radius: var(--radius-control); }
.tf-remind .fineprint { margin: 0; }
.tf-bundles { margin: 18px 0; }
.tf-bundles h2 { font-size: 18px; margin: 0 0 8px; }
.tf-bundle-list { margin: 0 0 8px; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; line-height: 1.45; }
.tf-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 18px; margin: 12px 0 18px; }
.tf-facts div { padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--card); }
.tf-facts dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.tf-facts dd { margin: 2px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.tf-rule-ok, .tf-rule-not { padding: 10px 12px; border-radius: var(--radius-card); border: 1px solid var(--border); }
.tf-rule-ok { background: color-mix(in srgb, #16A34A 8%, transparent); }
.tf-rule-not { background: color-mix(in srgb, #D97706 8%, transparent); }
.tf-cov-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 6px 0 12px; }
.tf-cov-table th, .tf-cov-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--border); border-radius: var(--r-data); }
.tf-cov-table td + td, .tf-cov-table th + th { text-align: right; font-variant-numeric: tabular-nums; }
.cat-intro.tf-wrap { white-space: normal; overflow: visible; text-overflow: clip; }

/* THE TWO STEPS (handoff, 14 Nov 2026; telcofeedpages.mjs nbnStepOne and
   listShell). Step 1: the speed grid in the list's card style, four groups
   across at desktop width, each tier a link card; "Show all speeds" the
   pill. Step 2: the header with the count naming the order, the one line,
   the labelled sort; the lowest-cost card in navy; the notes as one row of
   closed disclosures.
   Tokens only; the muted text keeps --muted (4.5:1 and better). */
.tf-kicker { margin: 0 0 4px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tf-step { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06); padding: 20px 22px; margin: 0 0 20px; display: flex; flex-direction: column; gap: 16px; }
.tf-step-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 16px; }
.tf-step-head h2 { margin: 0; font-size: 22px; line-height: 1.25; }
.tf-step-intro { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); max-width: 64ch; }
.tier-all { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: var(--r-pill, 999px);
  border: 2px solid var(--navy); font-weight: 600; font-size: 14px; color: var(--navy); background: var(--card);
  text-decoration: none; white-space: nowrap; }
.tier-all.on { background: var(--navy); color: #fff; }
a.tier-all:hover { text-decoration: none; background: var(--bg); color: var(--navy); }
.tier-all:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
/* the groups: one line each, who it suits after the name, never wrapped,
   so every column's first card starts on the same line (the founder, 14
   Nov 2026: the uneven headers read as "a mess") */
.tier-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.tier-group { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tier-group h3 { margin: 0; font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tier-who { font-weight: 500; color: var(--muted); }
/* a tier: one line, its name and its speed (or, with no plan on the list,
   a greyed card that is not a link); the chosen one in navy */
.tier-card { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; min-height: 44px; box-sizing: border-box;
  padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-control); background: var(--card);
  color: var(--text); text-decoration: none; }
a.tier-card:hover { border-color: var(--navy); text-decoration: none; color: var(--text); }
.tier-card:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.tier-card.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.tier-card.on .tier-sub { color: #B9C6E0; }
.tier-card.tier-none { opacity: .6; }
.tier-name { font-size: 17px; font-weight: 600; white-space: nowrap; }
.tier-sub { font-size: 13px; color: var(--muted); line-height: 1.4; white-space: nowrap; }
.tier-empty { font-style: italic; }
.tf-address { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 12px 14px; background: #EAF2FF;
  border-radius: var(--radius-card); font-size: 14px; line-height: 1.5; color: var(--text); }
.tf-address svg { flex: none; margin-top: 2px; color: var(--blue); }
.tf-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 16px; margin: 0 0 14px; }
.tf-head-title { min-width: 0; }
.tf-count { margin: 0; font-size: 22px; line-height: 1.25; }
.tf-subline { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.sort-stack { display: flex; flex-direction: column; gap: 4px; }
.sort-stack label { font-size: 13px; font-weight: 600; color: var(--muted); }
.sort-stack select { min-height: 44px; min-width: 240px; padding: 8px 12px; border: 1px solid #C9D5E6;
  border-radius: var(--radius-control); background: var(--card); font: inherit; font-size: 14px; color: var(--text); }
.tf-lowest { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 20px;
  margin: 0 0 14px; padding: 18px 22px; background: var(--navy); color: #fff; border-radius: var(--radius-card); }
.tf-lowest-plan { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tf-lowest-label { color: #B9C6E0; margin: 0; }
.tf-lowest-plan strong { font-size: 20px; line-height: 1.25; }
.tf-lowest-figures { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.tf-lowest-fig { display: flex; flex-direction: column; }
.tf-lowest-fig strong { font-size: 22px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.tf-lowest-fig span { font-size: 13px; color: #B9C6E0; }
.tf-lowest .btn.tf-lowest-view { background: #fff; color: var(--navy) !important; border-radius: var(--r-pill, 999px); padding: 10px 18px; }
.tf-lowest .btn.tf-lowest-view:hover { background: var(--cyan); text-decoration: none; }
/* the notes as one row of closed disclosures (the founder, 14 Nov 2026:
   the three cards were "too much text"): the registered sentences are a
   tap away and nothing is said twice; the three flow as one line where
   they fit, and an open one takes a row of its own */
.tf-about { display: flex; flex-wrap: wrap; gap: 2px 26px; margin: 0 0 16px;
  padding: 8px 14px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); }
.tf-about-item { min-width: 0; }
.tf-about-item[open] { flex-basis: 100%; }
.tf-about-item summary { cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--text); padding: 4px 0; list-style-position: inside; }
.tf-about-item summary:hover, .tf-about-item[open] summary { color: var(--blue); }
.tf-about-item p { margin: 4px 0 6px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
/* the Provider filter: every provider in a scroll box of about nine rows,
   the search above it (styles.css .facet-scroll is seven) */
.facet[data-key="provider"] .facet-scroll { max-height: 270px; }
.tf-credits { margin: 18px 0 0; }
/* between a phone and a wide desktop the four groups go two by two, never
   three and a straggler */
@media (min-width: 601px) and (max-width: 1160px) { .tier-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .tf-step { padding: 16px 14px; }
  .tf-step-head { align-items: stretch; }
  .tier-all { justify-content: center; }
  .tier-groups { grid-template-columns: 1fr; }
  .tf-head { align-items: stretch; }
  .sort-stack, .sort-stack select { width: 100%; min-width: 0; }
  .tf-lowest { padding: 16px; }
  .tf-lowest-figures { width: 100%; }
}
