/* My Prime Cover: Compare (release 5.11, and the table of releases 5.12 and 5.12.1 at the end). The page's own styles, loaded after the site's.

   The site's stylesheet gives the colours, the two faces and the header and footer. Every class here begins pf-, so
   none meets a class of the site's, and the few rules on bare elements are kept inside .pf at no extra weight.

   The plan. Ink on white; peacock blue is what you can tap; iris violet marks what you pay and jade green what you
   get, as everywhere on the site; marigold is kept for Buy alone. One column on a phone. Your details are one
   sentence, and each word in a box is a list to pick from, so every input a kind of plan needs fits in three or four
   lines. The list starts straight under it: short rows on hairlines, not cards, on one scale, so every plan can be
   read against the others at a glance. A row opens for more. Figures are set in Anek Latin, words in Mukta. Nothing
   moves unless you tapped something. Sizes are in rem, so the site's text-size buttons grow all of it together. */
.pf { font-size: 1rem; line-height: 1.35; padding-bottom: 8px; }
/* scripts run here (the site's textsize.js marks the page .js): the page keeps a screen's room from the start, so the
   footer doesn't move down when the list is drawn */
.js .pf { min-height: 100vh; min-height: 100svh; }
@media print { .js .pf { min-height: 0; } }
:where(.pf) h1, :where(.pf) h2 { letter-spacing: normal; }
:where(.pf) button, :where(.pf) input, :where(.pf) select { font: inherit; color: inherit; }
:where(.pf) button { -webkit-tap-highlight-color: transparent; }
:where(.pf) a { color: var(--brand-2); text-underline-offset: 2px; }
.pf h1:focus { outline: none; }
.pf-wrap { max-width: 680px; margin: 0 auto; padding: 0 16px; }
.pf-ico { flex: none; width: 1.125em; height: 1.125em; }
.pf-vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
/* before the page's script has run, or where it can't */
.pf-wait { max-width: 680px; margin: 0 auto; padding: 24px 16px 48px; color: var(--ink-2); }

/* ---- the three steps, under the site's header */
.pf-steps { list-style: none; margin: 0; padding: 12px 0 2px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.pf-step > * { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 34px; padding: 0 10px; border: 0; border-radius: 10px; background: var(--mist); color: var(--ink-2); font-weight: 600; font-size: 0.9375rem; text-align: left; }
.pf-step button { cursor: pointer; }
.pf-step.pf-done > * { background: var(--brand-tint); color: var(--brand-2); }
.pf-step.pf-on > * { background: var(--ink); color: #FFFFFF; }
.pf-step-n .pf-ico { width: 14px; height: 14px; }
.pf-step-n { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid currentColor; display: inline-grid; place-items: center; font-family: var(--figures); font-size: 0.875rem; line-height: 1; }

/* ---- the kinds of plan */
.pf-kinds { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(46px, 1fr); gap: 2px; overflow-x: auto; margin: 0 -10px; padding: 8px 10px 0; scrollbar-width: none; }
.pf-kinds::-webkit-scrollbar { display: none; }
.pf-kind { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 50px; padding: 4px 0 3px; border: 1.5px solid transparent; border-radius: 12px;
  background: transparent; color: var(--ink); font-size: 0.8125rem; font-weight: 600; line-height: 1.2; white-space: nowrap; cursor: pointer; }
.pf-kind .pf-ico { width: 20px; height: 20px; }
.pf-kind.pf-dim { color: var(--ink-2); }
.pf-kind[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.pf-kind { position: relative; }
.pf-kind .pf-wide { display: none; }
.pf-kind-s { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }    /* said, not shown, where there is no room */

/* ---- your details: one sentence, in a band edge to edge on a phone */
.pf-you { margin: 10px -16px 0; padding: 6px 16px 10px; background: var(--mist); }
.pf-say { margin: 0; font-size: 1.0625rem; line-height: 2.25; }
.pf-nb { white-space: nowrap; }
select.pf-pick { -webkit-appearance: none; appearance: none; max-width: 100%; height: 32px; margin: 0 1px; padding: 0 23px 0 8px; border: 1.5px solid var(--line-2); border-radius: 9px;
  font: inherit; font-weight: 700; line-height: 1.2; color: var(--ink); text-overflow: ellipsis; cursor: pointer;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5 L10 12.5 L15 7.5' fill='none' stroke='%230A6C9E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 5px center / 13px 13px; }
.pf-promise { margin: 2px 0 0; color: var(--get-2); font-weight: 600; font-size: 0.875rem; line-height: 1.3; display: flex; align-items: flex-start; gap: 6px; }
.pf-promise .pf-ico { margin-top: 1px; }
/* the few places that still step a number or offer chips (Build) */
.pf-field { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pf-label { font-size: 0.875rem; font-weight: 600; color: var(--ink-2); line-height: 1.25; white-space: nowrap; }
.pf-stepper { display: inline-flex; align-items: stretch; height: 40px; width: max-content; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--bg); overflow: hidden; }
.pf-stepper button { width: 32px; padding: 0; border: 0; background: transparent; font-size: 1.375rem; line-height: 1; color: var(--brand-2); cursor: pointer; }
.pf-stepper button:disabled { color: var(--line-2); cursor: default; }
.pf-stepper input { width: 38px; border: 0; padding: 0; text-align: center; font-family: var(--figures); font-weight: 600; font-size: 1.125rem; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.pf-stepper input::-webkit-outer-spin-button, .pf-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pf-chip { position: relative; min-height: 40px; padding: 0 9px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--bg); font-weight: 600; font-size: 0.9375rem; cursor: pointer; white-space: nowrap; }
.pf-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.pf-chip:disabled { border-style: dashed; color: #8C96A8; cursor: default; }
.pf-chip.pf-small { min-height: 36px; padding: 0 11px; border-radius: 999px; }

/* ---- must-haves, and the list's heading: the answer in a line */
.pf-must { display: flex; align-items: center; gap: 10px; margin: 10px -16px 0; padding: 0 16px; }
.pf-must-l { flex: none; font-size: 0.875rem; font-weight: 600; color: var(--ink-2); }
.pf-must-c { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 16px 2px 0; margin-right: -16px; }
.pf-must-c::-webkit-scrollbar { display: none; }
.pf-must-c .pf-chip { flex: none; }
.pf-must-c .pf-must-l { align-self: center; margin: 0 2px 0 6px; }
.pf-title { margin: 10px 0 0; font-family: var(--figures); font-weight: 600; font-size: 1.375rem; line-height: 1.15; text-wrap: balance; }
.pf-title + .pf-hero-sub { margin-top: 2px; font-size: 0.9375rem; }
.pf-hero-sub { margin: 0; color: var(--ink-2); }
/* what the comparison comes to, in a sentence */
.pf-insight { margin: 6px 0 0; padding: 1px 0 1px 10px; border-left: 3px solid var(--need); font-size: 0.9375rem; font-weight: 500; line-height: 1.3; }
.pf-insight.pf-get { border-left-color: var(--get); }
.pf-hero-sub a { display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; }
/* the head of the list: the order, yours to choose, and the two ends of the scale the rows are drawn on */
.pf-order { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; }
.pf-order-l { flex: none; font-size: 0.875rem; font-weight: 600; color: var(--ink-2); }
.pf-order .pf-seg { flex: 1 1 auto; min-width: 0; display: flex; }
.pf-order .pf-seg button { flex: 1 1 auto; min-width: 0; min-height: 32px; padding: 0 6px; font-size: 0.9375rem; white-space: nowrap; }
.pf-scale { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 6px 0 0; padding-bottom: 2px; border-bottom: 2px solid var(--ink); }
.pf-scale-n { font-family: var(--figures); font-weight: 600; font-size: 0.875rem; }
.pf-scale-t { min-width: 0; font-size: 0.875rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- the compact comparison: a short row a plan, all on one scale; a row opens for more */
.pf-plans { list-style: none; margin: 0; padding: 0; }
.pf-plan { padding: 5px 0 9px; border-bottom: 1px solid var(--line); }
.pf-plan-line { display: flex; align-items: stretch; }
.pf-tickbox { flex: none; display: flex; align-items: flex-start; width: 32px; padding-top: 7px; cursor: pointer; }
.pf-tickbox input, .pf-pick-l input, .pf-tog input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }
.pf-plan-b { flex: 1 1 auto; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto 18px; column-gap: 8px; align-items: start; padding: 4px 0 0; border: 0; background: transparent; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.pf-plan-name { display: flex; flex-direction: column; min-width: 0; }
.pf-plan-name strong { font-size: 1rem; font-weight: 700; line-height: 1.25; }
.pf-plan-name span { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-plan-fig { text-align: right; line-height: 1.15; }
.pf-plan-fig strong { display: block; font-family: var(--figures); font-size: 1.25rem; font-weight: 600; }
.pf-plan-fig small { font-size: 0.875rem; color: var(--ink-2); }
.pf-plans.pf-need .pf-plan-fig strong { color: var(--need); }
.pf-plans.pf-get .pf-plan-fig strong { color: var(--get-2); }
.pf-chev { width: 18px; height: 18px; margin-top: 3px; color: var(--brand-2); }
.pf-plan-tiny { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0 12px; margin-top: 2px; font-size: 0.875rem; line-height: 1.35; color: var(--ink-2); }
.pf-plan-tiny .pf-ico { width: 15px; height: 15px; }
.pf-plan-tiny b { font-weight: 700; color: var(--ink); }
.pf-strip { position: relative; height: 6px; margin: 7px 6px 0 38px; border-radius: 3px; background: var(--mist-2); }
.pf-strip i { position: absolute; top: 0; bottom: 0; border-radius: 3px; opacity: 0.38; }
.pf-strip b { position: absolute; top: -3px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; border: 2px solid var(--bg); }
.pf-strip.pf-need i, .pf-strip.pf-need b { background: var(--need); }
.pf-strip.pf-get i, .pf-strip.pf-get b { background: var(--get); }
.pf-plan-more { margin: 9px 0 0 32px; }
.pf-plan-tags { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pf-tag { font-size: 0.875rem; color: var(--sun-ink); background: var(--sun-tint); border-radius: 6px; padding: 1px 8px; }
/* an open row: a few more facts, each beside its name */
.pf-facts { margin: 0; padding: 1px 10px; border-radius: 10px; background: var(--mist); }
.pf-facts div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 5px 0; }
.pf-facts div + div { border-top: 1px solid var(--bg); }
.pf-facts dt { font-size: 0.9375rem; line-height: 1.3; color: var(--ink-2); }
.pf-facts dd { flex: none; max-width: 62%; margin: 0; text-align: right; font-size: 0.9375rem; font-weight: 600; line-height: 1.3; }
.pf-yes, .pf-no { display: inline-flex; align-items: center; gap: 3px; }
.pf-yes { color: var(--get-2); }
.pf-yes .pf-ico { color: var(--get); }
.pf-no { color: var(--ink-2); }
.pf-no .pf-ico { color: #8C96A8; }
.pf-unk { color: var(--ink-2); font-size: 0.875rem; font-weight: 400; }
.pf-plan-acts { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; margin-top: 6px; }
.pf-plan-acts .pf-go { margin-left: auto; }
.pf-pick-l { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; font-size: 0.9375rem; color: var(--ink-2); cursor: pointer; }
.pf-more { min-height: 40px; padding: 0 6px; border: 0; background: transparent; color: var(--brand-2); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.pf-plan-acts .pf-more { margin-left: -6px; }
.pf-go { display: inline-flex; align-items: center; gap: 2px; min-height: 38px; padding: 0 6px 0 12px; border: 0; border-radius: 10px; background: var(--brand-tint); color: var(--brand-2); font-weight: 700; cursor: pointer; white-space: nowrap; }
.pf-hint { margin: 10px 0 0; font-size: 0.9375rem; color: var(--ink-2); }
.pf-hint .pf-link { display: inline; min-height: 0; padding: 0; font: inherit; font-weight: 600; }

.pf-unpriced, .pf-how { margin: 12px 0 0; border: 1px solid var(--line); border-radius: 12px; }
.pf-unpriced summary, .pf-how summary { min-height: 44px; display: flex; align-items: center; padding: 0 12px; font-weight: 600; cursor: pointer; }
.pf-unpriced ul { list-style: none; margin: 0; padding: 0 12px 4px; }
.pf-unpriced li { padding: 8px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; font-size: 0.9375rem; }
.pf-unpriced li span { color: var(--ink-2); }
.pf-unpriced li a { display: inline-flex; align-items: center; gap: 2px; align-self: flex-start; min-height: 28px; }
.pf-how p { margin: 0; padding: 0 12px 12px; color: var(--ink-2); font-size: 0.9375rem; }
.pf-doors { margin: 14px 0 20px; color: var(--ink-2); font-size: 0.9375rem; }

/* ---- a kind of plan with no prices held yet: what the site has for it */
.pf-soon { list-style: none; margin: 14px 0 28px; padding: 0; border-top: 1px solid var(--line); }
.pf-soon li { border-bottom: 1px solid var(--line); }
.pf-soon a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 9px 0; color: var(--ink); text-decoration: none; }
.pf-soon-t { display: flex; flex-direction: column; min-width: 0; }
.pf-soon-t strong { font-size: 1rem; font-weight: 700; line-height: 1.25; color: var(--brand-2); }
.pf-soon-t span { font-size: 0.9375rem; line-height: 1.3; color: var(--ink-2); }
.pf-soon a .pf-ico { color: var(--brand-2); }
.pf-soon a:hover strong { text-decoration: underline; text-underline-offset: 2px; }

/* ---- the bar that stays in reach */
.pf-bar { position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px -16px 0; padding: 10px 16px; background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -10px 18px -16px rgba(20, 33, 61, 0.45); }
.pf-bar-t { margin: 0; font-size: 0.9375rem; color: var(--ink-2); }
.pf-bar-a { flex: none; display: flex; align-items: center; gap: 8px; }
.pf-link { min-height: 44px; padding: 0 8px; border: 0; background: transparent; color: var(--brand-2); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.pf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 0 20px; border: 1.5px solid var(--brand); border-radius: 12px; background: var(--brand); color: #FFFFFF; font-weight: 700; text-decoration: none; cursor: pointer; }
.pf-btn:disabled { background: var(--mist-2); border-color: var(--mist-2); color: #6B7588; cursor: default; }
.pf-btn.pf-small { min-height: 40px; padding: 0 10px; font-size: 0.9375rem; width: 100%; }
.pf-btn.pf-wide { width: 100%; }
.pf-btn.pf-buy { min-width: 108px; background: var(--sun); border-color: var(--sun); color: var(--ink); font-family: var(--figures); font-size: 1.125rem; }
.pf-btn.pf-buy:disabled { background: var(--mist-2); border-color: var(--mist-2); color: #6B7588; }
.pf-bar-p { min-width: 0; }
.pf-bar-big { margin: 0; line-height: 1.15; }
.pf-bar-big strong { font-family: var(--figures); font-size: 1.5rem; font-weight: 600; display: inline-block; }
.pf-plus { color: var(--ink-2); font-size: 0.9375rem; white-space: nowrap; }
.pf-bar-sub { margin: 0; font-size: 0.875rem; color: var(--ink-2); }

/* ---- the other views open with a plain heading */
.pf-hero { font-family: var(--figures); font-weight: 600; font-size: 1.625rem; line-height: 1.15; letter-spacing: -0.01em; margin: 14px 0 4px; text-wrap: balance; }
.pf-hero.pf-small { font-size: 1.5rem; margin-top: 2px; }
.pf-plan-line2 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pf-plan-line2 .pf-more { flex: none; min-height: 32px; }
.pf-backlink { display: flex; width: max-content; align-items: center; gap: 2px; min-height: 44px; margin: 4px 0 0 -6px; padding: 0 8px 0 2px; border: 0; background: transparent; color: var(--brand-2); font-weight: 600; cursor: pointer; }

/* ---- side by side */
.pf-sbs { margin: 12px 0 24px; }
.pf-sbs-row { display: grid; gap: 10px; padding: 0 0 8px; border-bottom: 1px solid var(--line); }
.pf-sbs.pf-n2 .pf-sbs-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pf-sbs.pf-n3 .pf-sbs-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pf-sbs-row.pf-head { position: sticky; top: var(--pf-top, 0px); z-index: 1; background: var(--bg); padding: 8px 0; border-bottom: 2px solid var(--ink); }
.pf-sbs-row.pf-head .pf-sbs-c { display: flex; flex-direction: column; }
.pf-sbs-row.pf-head strong { line-height: 1.2; }
.pf-sbs-row.pf-head span { font-size: 0.875rem; color: var(--ink-2); line-height: 1.25; }
.pf-sbs-l { margin: 7px 0 1px; font-size: 0.875rem; font-weight: 600; color: var(--ink-2); }
.pf-sbs-c { min-width: 0; font-size: 0.9375rem; overflow-wrap: anywhere; }
.pf-sbs-row.pf-big .pf-sbs-c { font-family: var(--figures); font-size: 1.25rem; font-weight: 600; }
.pf-sbs-c a { display: inline-flex; align-items: center; gap: 2px; }
.pf-sbs-row.pf-acts { border-bottom: 0; padding-top: 12px; }
.pf-sbs.pf-n1 .pf-sbs-row { grid-template-columns: minmax(0, 1fr); }
.pf-sbs-fig { margin-top: 2px; font-family: var(--figures); font-size: 1.125rem; font-weight: 600; line-height: 1.2; }
.pf-sbs-fig small { font-family: var(--text); font-size: 0.875rem; font-weight: 400; color: var(--ink-2); }
.pf-sbs-fig.pf-need, .pf-sbs-row.pf-big.pf-need .pf-sbs-c { color: var(--need); }
.pf-sbs-fig.pf-get, .pf-sbs-row.pf-big.pf-get .pf-sbs-c { color: var(--get-2); }
.pf-sbs-row .pf-ico { width: 20px; height: 20px; }
.pf-sbs-row a .pf-ico { width: 1.125em; height: 1.125em; }
.pf-sbs-stack { padding: 0 0 4px; border-bottom: 1px solid var(--line); }
.pf-sbs-stack p { margin: 0 0 6px; font-size: 0.9375rem; }
.pf-sbs-none { margin: 16px 0; color: var(--ink-2); }
/* one plan: a short answer sits beside its question */
.pf-sbs-line.pf-one { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.pf-sbs-line.pf-one .pf-sbs-l { margin: 0; font-size: 0.9375rem; font-weight: 400; }
.pf-sbs-line.pf-one .pf-sbs-row { display: block; flex: none; max-width: 60%; padding: 0; border: 0; text-align: right; }
.pf-sbs-line.pf-one .pf-sbs-c { font-weight: 600; }
.pf-sec-t { margin: 20px 0 0; padding-top: 10px; border-top: 2px solid var(--ink); font-family: var(--figures); font-size: 1.125rem; font-weight: 600; }
/* short or full, and only what differs */
.pf-cmp-ctl { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin: 12px 0 0; }
.pf-seg { display: inline-flex; padding: 3px; background: var(--mist-2); border-radius: 12px; }
.pf-seg button { min-height: 36px; min-width: 76px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-2); font-weight: 600; cursor: pointer; }
.pf-seg button[aria-pressed="true"] { background: var(--bg); color: var(--ink); box-shadow: 0 1px 2px rgba(20, 33, 61, 0.2); }

/* ---- build: add-ons to tick, and every other choice shows its price */
.pf-lever { margin: 16px 0 0; }
.pf-lever-l { margin: 0 0 6px; font-size: 1rem; font-weight: 700; display: flex; flex-direction: column; }
.pf-lever-t { font-size: 0.875rem; font-weight: 400; color: var(--ink-2); }
.pf-lever-l.pf-has-u { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 12px; }
.pf-lever-u { font-size: 0.875rem; font-weight: 400; color: var(--ink-2); }
.pf-lever-n { margin: 6px 0 0; font-size: 0.9375rem; color: var(--ink-2); }
.pf-lever-only { margin: 0; font-size: 0.9375rem; color: var(--ink-2); }
.pf-lever-only strong { color: var(--ink); }
.pf-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.pf-opts.pf-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pf-opt { min-height: 52px; padding: 6px 10px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--bg); text-align: left; cursor: pointer; display: flex; flex-direction: column; justify-content: center; line-height: 1.2; }
.pf-opt-l { font-weight: 700; font-size: 0.9375rem; }
.pf-opt-s { font-family: var(--figures); font-size: 0.9375rem; color: var(--ink-2); }
.pf-opt[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.pf-opt[aria-pressed="true"] .pf-opt-s { color: #FFFFFF; }
.pf-opt:disabled { border-style: dashed; cursor: default; color: #8C96A8; }
.pf-opt:disabled .pf-opt-s { color: #8C96A8; }
.pf-lever .pf-field .pf-label { display: none; }
.pf-togs { border-top: 1px solid var(--line); }
.pf-tog { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.pf-tog-t { display: flex; flex-direction: column; line-height: 1.25; }
.pf-tog-t span { font-size: 0.9375rem; color: var(--ink-2); }
.pf-ticks { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 4px; }
.pf-ticks li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.9375rem; }
.pf-ticks .pf-ico { margin-top: 2px; color: var(--get); }

/* ---- buy: not open yet */
.pf-wip-tag { display: inline-block; margin: 14px 0 0; font-size: 0.875rem; font-weight: 600; color: var(--sun-ink); background: var(--sun-tint); border-radius: 999px; padding: 2px 10px; }
#v-buy .pf-wip-tag { margin-top: 2px; }
.pf-ticket { margin: 14px 0 0; padding: 14px; border: 1.5px dashed var(--line-2); border-radius: 16px; background: var(--mist); }
.pf-ticket-n { margin: 0 0 8px; display: flex; flex-direction: column; }
.pf-ticket-n strong { font-family: var(--figures); font-size: 1.1875rem; }
.pf-ticket-n span { color: var(--ink-2); }
.pf-ticket dl { margin: 0; }
.pf-ticket dl div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; padding: 6px 0; border-top: 1px solid var(--line-2); }
.pf-ticket dt { font-size: 0.875rem; font-weight: 600; color: var(--ink-2); }
.pf-ticket dd { margin: 0; font-size: 0.9375rem; }
.pf-buy-acts { margin: 14px 0 0; display: grid; gap: 8px; }
.pf-copied { margin: 0; min-height: 1.35em; font-size: 0.9375rem; color: var(--get-2); font-weight: 600; }
.pf-src { margin: 0; font-size: 0.9375rem; color: var(--ink-2); }
.pf-src a { display: inline-flex; align-items: center; gap: 2px; min-height: 24px; }
.pf-plantext { margin: 0; padding: 10px; white-space: pre-wrap; font: inherit; font-size: 0.9375rem; background: var(--mist); border-radius: 10px; }
.pf-fine { margin: 4px 0 24px; font-size: 0.9375rem; color: var(--ink-2); }

/* a figure you just changed settles into place */
@media (prefers-reduced-motion: no-preference) {
  .pf-bump { animation: settle 0.22s ease-out; }
}
@keyframes settle { from { opacity: 0.25; transform: translateY(5px); } to { opacity: 1; transform: none; } }

/* ---- the narrowest phones */
@media (max-width: 340px) {
  .pf-step > * { gap: 5px; padding: 0 6px; font-size: 0.875rem; }
  .pf-step-n { width: 20px; height: 20px; }
  .pf-say { font-size: 1rem; }
  .pf-facts dt { font-size: 0.8125rem; }
}

/* ---- a wider screen: your details stay beside the list */
@media (min-width: 900px) {
  .pf-wrap { max-width: calc(var(--page) + 2 * var(--gutter)); padding: 0 var(--gutter); }
  #v-compare > .pf-kinds, #v-soon > .pf-kinds { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 14px 0 2px; overflow: visible; }
  .pf-kind { flex-direction: row; gap: 6px; min-height: 40px; padding: 0 14px; border-color: var(--line-2); border-radius: 999px; background: var(--bg); color: var(--ink); font-size: 1rem; }
  .pf-kind .pf-ico { width: 18px; height: 18px; }
  .pf-kind.pf-dim { border-style: dashed; color: var(--ink-2); }
  .pf-kind[aria-pressed="true"] { border-style: solid; background: var(--ink); color: #FFFFFF; }
  .pf-kind .pf-wide { display: inline; }
  .pf-kind-s { position: static; width: auto; height: auto; overflow: visible; clip-path: none; font-size: 0.875rem; font-weight: 500; }
  #v-compare > .pf-you { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 24px; margin: 12px 0 0; padding: 5px 14px 7px; border-radius: 14px; }
  #v-compare > .pf-you .pf-promise { margin: 0; }
  #v-compare > .pf-must { padding: 0; }
  .pf-order .pf-seg { flex: 0 1 auto; }
  .pf-order .pf-seg button { padding: 0 16px; }
  #v-compare > .pf-must .pf-must-c { margin-right: 0; padding-right: 0; flex-wrap: wrap; }
  #v-compare > .pf-bar, #v-build .pf-bar { margin: 16px 0 0; padding: 10px 0; }
  .pf-title { font-size: 1.5rem; }
  #v-buy, #v-sheet, #v-soon { max-width: 680px; }
  #v-build { max-width: 760px; }
  #v-soon > .pf-kinds { width: max-content; max-width: calc(100vw - 2 * var(--gutter)); }
}

/* ================================================================ releases 5.12 and 5.12.1: choose and compare, as a table
   The owner, 1 December 2026: "The page has information in the right side..left side unutilised... We can add more
   columns for..product name.. add ons ..premium break...clsims settlement ratio...etc can be place into column..in
   that way we can have one rows for each company.. it can be more informative and compact and full page can be
   utilised. Similarly order filter we can bring ..choosing price range...claim settlement ratio".
   And the same evening, of release 5.12 seen on her phone's desktop view (980 wide, where 5.12 still drew its phone
   cards): "We need just one ratio which is claim settlement ratio. Which is by numbers... I requested for preferably
   one row..use columns..look at the empty space between columns. The short comparison remove some columns..in
   comprehensive comparison higher no. Of columns..it should compact but very informative."

   Your details run the page's width in one band. Under them: filters, each a small panel that opens under its name;
   then the plans as a table: one row a company, one line a row, and a column for each thing compared.
   From 700 wide it is a true table: the company, the plan, the leading figure, then the kind's columns, each as wide
   as its words need (the script measures the names), the whole table as wide as the page. The short form has the
   columns that fit; the full form has every column, and moves sideways in its own box where the screen is narrower,
   the names staying put.
   On a phone the short form is the same table with three columns: the name, one figure and the leading figure, two
   lines a company. The full form sets each row out as a short card: every other column as a small labelled figure
   under the name, and a tick for each thing the plan has. The table keeps its roles either way, so a screen reader
   reads it as rows and columns. */
.pf-top { padding-top: 10px; }
.pf-page-t { margin: 0; font-family: var(--figures); font-weight: 600; font-size: 1.125rem; line-height: 1.2; }
.pf-top .pf-steps { padding-top: 6px; }
.pf-step .pf-wide { display: none; }
.pf-step .pf-cap { text-transform: capitalize; }
@media (min-width: 520px) {
  .pf-step .pf-wide { display: inline; }
  .pf-step .pf-cap { text-transform: none; }
}

/* ---- filters */
.pf-filters { position: relative; display: flex; align-items: center; gap: 10px; margin: 8px -16px 0; padding: 0 0 0 16px; }
.pf-f-lab { display: none; }
.pf-f-c { display: flex; align-items: center; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 2px 16px 2px 0; }
.pf-f-c::-webkit-scrollbar { display: none; }
.pf-f-c > * { flex: none; }
.pf-f-brk { display: none; }
.pf-must-in { margin: 0 0 0 6px; }
.pf-f > summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 7px 0 12px; border: 1.5px solid var(--line-2); border-radius: 999px;
  background: var(--bg); font-weight: 600; font-size: 0.9375rem; white-space: nowrap; cursor: pointer; }
.pf-f > summary::-webkit-details-marker { display: none; }
.pf-f > summary .pf-ico { width: 16px; height: 16px; color: var(--brand-2); }
.pf-f[open] > summary { border-color: var(--ink); }
.pf-f[open] > summary .pf-ico { transform: rotate(180deg); }
.pf-f.pf-has > summary { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.pf-f.pf-has > summary .pf-ico { color: #FFFFFF; }
.pf-f-n { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #FFFFFF; color: var(--ink); font-family: var(--figures); font-size: 0.8125rem; line-height: 1; }
/* an open panel has room of its own under the filters (--pf-ph is its height, set by the script while it is open) */
.pf-filters { margin-bottom: var(--pf-ph, 0px); }
.pf-f-back { position: fixed; z-index: 5; top: 0; right: 0; bottom: 0; left: 0; }
.pf-f[open] > summary { position: relative; z-index: 6; }
.pf-f-p { position: absolute; z-index: 6; top: calc(100% + 4px); left: 16px; right: 16px; padding: 6px 12px 10px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg); box-shadow: 0 14px 30px -14px rgba(20, 33, 61, 0.45); }
.pf-f-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; font-size: 0.9375rem; color: var(--ink-2); }
.pf-f-row + .pf-f-row { border-top: 1px solid var(--line); }
select.pf-f-s { -webkit-appearance: none; appearance: none; height: 36px; min-width: 150px; padding: 0 26px 0 10px; border: 1.5px solid var(--line-2); border-radius: 10px; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5 L10 12.5 L15 7.5' fill='none' stroke='%230A6C9E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 7px center / 13px 13px; }
.pf-f-note { margin: 4px 0 0; font-size: 0.875rem; color: var(--ink-2); }
.pf-f-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; max-height: 46vh; overflow-y: auto; }
.pf-f-check { display: flex; align-items: center; gap: 8px; min-height: 38px; font-size: 0.9375rem; cursor: pointer; }
.pf-f-one { min-height: 44px; border-bottom: 1px solid var(--line); margin-bottom: 2px; }
.pf-f-check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }
.pf-f-p > .pf-link { min-height: 36px; padding: 0; }
.pf-applied { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0 0; }
.pf-applied-b { display: inline-flex; align-items: center; gap: 3px; min-height: 30px; padding: 0 6px 0 10px; border: 0; border-radius: 999px; background: var(--brand-tint); color: var(--brand-2); font-weight: 600; font-size: 0.875rem; cursor: pointer; }
.pf-applied-b .pf-ico { width: 14px; height: 14px; }
.pf-applied .pf-link { min-height: 30px; font-size: 0.875rem; }

/* ---- the bar that stays at the foot of the screen (two ticked to compare; a phone's price on the Add on step) lies
   over whatever is under it: the keyboard's place is kept clear of it */
html:has(#plans .pf-bar) { scroll-padding-bottom: 5rem; }

/* ---- the head of the table: its order, short or full, a row a company */
.pf-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 8px 0 0; }
.pf-ctl .pf-order { margin: 0; flex: 0 1 auto; min-width: 0; }
.pf-ctl select.pf-f-s { min-width: 0; max-width: 200px; height: 34px; text-overflow: ellipsis; }
.pf-ctl .pf-order { display: flex; align-items: center; gap: 8px; }
.pf-ctl .pf-seg button { min-width: 0; min-height: 30px; padding: 0 12px; font-size: 0.9375rem; white-space: nowrap; }
.pf-co-n { font-size: 0.875rem; color: var(--ink-2); }
/* said only while the table is wider than its box */
.pf-swipe { display: none; font-size: 0.875rem; font-weight: 600; color: var(--brand-2); }
.pf-wider .pf-swipe { display: inline; }
.pf-ans .pf-title { margin-top: 10px; }

/* ---- the table: what every width shares */
.pf-tbl-w { position: relative; margin: 6px 0 0; }
.pf-tbl { width: 100%; border-collapse: separate; border-spacing: 0; }
.pf-tbl caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pf-tbl th, .pf-tbl td { padding: 0; font-weight: 400; text-align: left; }
.pf-th-b { display: inline-flex; align-items: flex-end; gap: 2px; min-height: 24px; margin: 0; padding: 0; border: 0; background: transparent; font: inherit; color: inherit; text-align: inherit; cursor: pointer; }
.pf-th-l, .pf-th-s { display: block; }
.pf-th-l { font-size: 0.75rem; font-weight: 700; line-height: 1.2; color: var(--ink); }
.pf-th-s { font-size: 0.75rem; line-height: 1.2; }
.pf-th-i { flex: none; width: 14px; height: 14px; margin-bottom: 1px; color: var(--brand-2); }
.pf-tbl th[aria-sort="ascending"] .pf-th-l, .pf-tbl th[aria-sort="descending"] .pf-th-l { color: var(--brand-2); }
/* the company's name opens the row; the plan's name follows it; and a company's other plans open from the last */
.pf-plan-b { display: flex; align-items: center; gap: 2px; width: auto; min-height: 28px; padding: 0; border: 0; background: transparent; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.pf-plan-b strong { font-size: 0.9375rem; font-weight: 700; line-height: 1.25; }
.pf-chev { flex: none; width: 16px; height: 16px; margin: 0; color: var(--brand-2); }
.pf-pn { min-width: 0; font-size: 0.875rem; line-height: 1.25; color: var(--ink); }
.pf-co-b { flex: none; display: inline-flex; align-items: center; min-height: 24px; padding: 0 7px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg); color: var(--brand-2); font-family: var(--figures); font-weight: 600; font-size: 0.8125rem; line-height: 1; white-space: nowrap; cursor: pointer; }
.pf-co-b[aria-expanded="true"] { background: var(--brand-2); border-color: var(--brand-2); color: #FFFFFF; }
.pf-row.pf-sub .pf-plan-b strong { font-weight: 400; color: var(--ink-2); }
.pf-tickbox { display: flex; align-items: center; width: 26px; min-height: 28px; padding: 0; cursor: pointer; }
.pf-c-fig .pf-plan-fig { display: block; text-align: inherit; line-height: 1.2; }
.pf-c-fig .pf-plan-fig strong { font-family: var(--figures); font-weight: 600; font-size: 1rem; line-height: 1.2; }
.pf-tbl.pf-need .pf-plan-fig strong { color: var(--need); }
.pf-tbl.pf-get .pf-plan-fig strong { color: var(--get-2); }
.pf-row .pf-plan-fig small { font-size: 0.8125rem; line-height: 1.1; color: var(--ink-2); }
.pf-c-fig .pf-strip { margin: 3px 4px 0; height: 3px; border-radius: 2px; }      /* its dot, at either end, stays inside the cell */
.pf-c-fig .pf-strip i { border-radius: 2px; }
.pf-c-fig .pf-strip b { top: -2px; width: 7px; height: 7px; margin-left: -3.5px; border: 0; }
.pf-fig { font-family: var(--figures); font-weight: 600; font-size: 0.9375rem; }
.pf-row td .pf-yes .pf-ico, .pf-row td .pf-no .pf-ico { width: 18px; height: 18px; }
.pf-dash { color: var(--ink-2); }
.pf-row .pf-unk { font-size: 0.8125rem; }
.pf-c-act .pf-go { min-height: 30px; padding: 0 3px 0 9px; border-radius: 9px; font-size: 0.875rem; }
.pf-c-act .pf-go .pf-ico { width: 16px; height: 16px; }
.pf-row-more .pf-plan-more { margin: 2px 0 10px; }
.pf-more-g { display: grid; gap: 8px; }
.pf-facts-h dt { font-weight: 700; color: var(--ink); }

/* ---- The table's two layouts. The script chooses one and marks the table's box with it: "phone" on a screen under
   700 wide, and on a wider one whose text is too large for a line a row; "table" everywhere else. */

/* ---- a phone. The short form: the name, one figure and the leading figure, under their headings */
.pf-lay-phone .pf-tbl, .pf-lay-phone .pf-tbl thead, .pf-lay-phone .pf-tbl tbody { display: block; }
.pf-lay-phone .pf-tbl tr { display: grid; grid-template-columns: 28px minmax(0, 1fr) 5.375rem; column-gap: 8px; }
.pf-lay-phone .pf-tbl.pf-ph1 tr { grid-template-columns: 28px minmax(0, 1fr) 4.25rem 5.375rem; }
.pf-lay-phone .pf-tbl thead { position: sticky; top: var(--pf-top, 0px); z-index: 2; background: var(--bg); border-bottom: 2px solid var(--ink); }
.pf-lay-phone .pf-tbl thead th { display: none; grid-row: 1; align-self: end; padding: 4px 0 3px; color: var(--ink-2); }
.pf-lay-phone .pf-d { display: none; }
.pf-lay-phone .pf-tbl thead .pf-c-name { display: block; grid-column: 2; }
.pf-lay-phone .pf-tbl thead .pf-c-fig { display: block; grid-column: -2 / -1; text-align: right; }
.pf-lay-phone .pf-tbl thead .pf-ph { display: block; grid-column: 3; text-align: right; }
.pf-lay-phone .pf-tbl thead .pf-c-fig .pf-th-b, .pf-lay-phone .pf-tbl thead .pf-ph .pf-th-b { flex-direction: row-reverse; }
.pf-lay-phone .pf-tbl thead .pf-ph .pf-th-i { display: none; }      /* its three short lines fill its column: the list above the table orders by it too */
.pf-lay-phone .pf-row { align-items: start; padding: 4px 0 6px; border-top: 1px solid var(--line); }
.pf-lay-phone .pf-tbl tbody > .pf-row:first-child { border-top: 0; }
.pf-lay-phone .pf-row > .pf-c-pick { grid-column: 1; grid-row: 1 / span 12; }
.pf-lay-phone .pf-row > .pf-c-name { grid-column: 2; grid-row: 1; min-width: 0; }
.pf-lay-phone .pf-row > .pf-c-fig { grid-column: -2 / -1; grid-row: 1; padding-top: 4px; text-align: right; }
.pf-lay-phone .pf-row > td.pf-ph { grid-column: 3; grid-row: 1; padding-top: 5px; text-align: right; }
.pf-lay-phone .pf-row > .pf-c-fig .pf-plan-fig small { display: none; }      /* the heading says "a year" */
.pf-lay-phone .pf-nm { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; }
.pf-lay-phone .pf-nm .pf-plan-b { flex: 1 0 100%; min-height: 26px; }
.pf-lay-phone .pf-nm .pf-pn { flex: 0 1 auto; }
.pf-lay-phone .pf-nm .pf-co-b { margin: 1px 0; }
.pf-lay-phone .pf-row > .pf-c-act { grid-column: 2 / -1; grid-row: auto; order: 9; display: none; align-items: center; justify-content: flex-end; margin-top: 6px; }
.pf-lay-phone .pf-row.pf-open > .pf-c-act { display: flex; }
.pf-lay-phone .pf-c-act .pf-go { min-height: 36px; font-size: 0.9375rem; }
.pf-lay-phone .pf-row.pf-sub { border-top-style: dashed; }
.pf-lay-phone .pf-row.pf-sub > .pf-c-name { padding-left: 8px; box-shadow: inset 3px 0 0 var(--line-2); }
.pf-lay-phone .pf-row-more > td { display: block; grid-column: 1 / -1; padding-left: 28px; }

/* the full form: a short card a row. Each other column is a small labelled figure under the name, three across; then
   a tick for each thing the plan has */
.pf-lay-phone.pf-all .pf-tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.pf-lay-phone.pf-all .pf-tbl tr.pf-row { grid-template-columns: 28px repeat(6, minmax(0, 1fr)); }
.pf-lay-phone.pf-all .pf-row > .pf-c-name { grid-column: 2 / span 4; }
.pf-lay-phone.pf-all .pf-row > .pf-c-fig { grid-column: 6 / span 2; }
.pf-lay-phone.pf-all .pf-row > .pf-c-fig .pf-plan-fig small { display: block; }
.pf-lay-phone.pf-all .pf-row > td[data-l] { grid-column: span 2; grid-row: auto; order: 1; min-width: 0; margin-top: 6px; padding: 0; text-align: left; font-size: 0.9375rem; line-height: 1.25; overflow-wrap: anywhere; }
.pf-lay-phone.pf-all .pf-row > td[data-l]::before { content: attr(data-l); display: block; margin-bottom: 1px; font-size: 0.75rem; line-height: 1.2; color: var(--ink-2); }
.pf-lay-phone.pf-all .pf-row > td.pf-long { grid-column: 2 / -1; }
.pf-lay-phone.pf-all .pf-row > td.pf-t-tick { order: 2; grid-column: 2 / span 2; display: flex; align-items: flex-start; gap: 3px; font-size: 0.8125rem; line-height: 1.25; }      /* the first tick starts a line of its own */
.pf-lay-phone.pf-all .pf-row > td.pf-t-tick:not(.pf-off) ~ td.pf-t-tick:not(.pf-off) { grid-column: span 2; }
.pf-lay-phone.pf-all .pf-row > td.pf-t-tick::before { content: none; }
.pf-lay-phone.pf-all .pf-row > td.pf-t-tick.pf-off { display: none; }
.pf-lay-phone.pf-all .pf-row > td.pf-t-tick .pf-ico { width: 16px; height: 16px; }
/* where the screen can't hold three columns (the narrowest phones, the larger text sizes), the short form's one
   figure goes under the name, with its label */
@media (max-width: 339px) {
  .pf-lay-phone:not(.pf-all) .pf-tbl.pf-ph1 tr { grid-template-columns: 28px minmax(0, 1fr) 5.375rem; }
  .pf-lay-phone:not(.pf-all) .pf-tbl thead .pf-ph { display: none; }
  .pf-lay-phone:not(.pf-all) .pf-row > td.pf-ph { grid-column: 2 / -1; grid-row: 2; padding-top: 2px; text-align: left; }
  .pf-lay-phone:not(.pf-all) .pf-row > td.pf-ph::before { content: attr(data-l) ': '; font-size: 0.8125rem; color: var(--ink-2); }
}
@media (max-width: 419px) {
  html[data-text="1"] .pf-lay-phone:not(.pf-all) .pf-tbl.pf-ph1 tr { grid-template-columns: 28px minmax(0, 1fr) 5.375rem; }
  html[data-text="1"] .pf-lay-phone:not(.pf-all) .pf-tbl thead .pf-ph { display: none; }
  html[data-text="1"] .pf-lay-phone:not(.pf-all) .pf-row > td.pf-ph { grid-column: 2 / -1; grid-row: 2; padding-top: 2px; text-align: left; }
  html[data-text="1"] .pf-lay-phone:not(.pf-all) .pf-row > td.pf-ph::before { content: attr(data-l) ': '; font-size: 0.8125rem; color: var(--ink-2); }
}
@media (max-width: 519px) {
  html[data-text="2"] .pf-lay-phone:not(.pf-all) .pf-tbl.pf-ph1 tr { grid-template-columns: 28px minmax(0, 1fr) 5.375rem; }
  html[data-text="2"] .pf-lay-phone:not(.pf-all) .pf-tbl thead .pf-ph { display: none; }
  html[data-text="2"] .pf-lay-phone:not(.pf-all) .pf-row > td.pf-ph { grid-column: 2 / -1; grid-row: 2; padding-top: 2px; text-align: left; }
  html[data-text="2"] .pf-lay-phone:not(.pf-all) .pf-row > td.pf-ph::before { content: attr(data-l) ': '; font-size: 0.8125rem; color: var(--ink-2); }
}

/* ---- every word whole, at the larger text sizes on the narrowest phones too: a kind is as wide as its word (the row
   moves sideways where the screen can't hold all seven), and a step is as wide as its word, without its number where
   room is short */
@media (max-width: 899px) {
  .pf-kinds { grid-auto-columns: minmax(max-content, 1fr); }
  .pf-kind { min-width: 46px; padding-left: 3px; padding-right: 3px; }
}
.pf-steps { grid-template-columns: repeat(3, minmax(min-content, 1fr)); }
.pf-step > * { white-space: nowrap; }
@media (max-width: 480px) {
  html[data-text="1"] .pf-step-n, html[data-text="2"] .pf-step-n { display: none; }
  html[data-text="2"] .pf-step > * { padding: 0 8px; justify-content: center; }
}

/* ---- the Add on step. On a phone its parts follow one another and the price stays at the foot of the screen; on a
   wide screen what you choose is on the left, and the plan with its price stays beside it, so the page's width is used */
.pf-b-grid, .pf-b-main, .pf-b-side { display: contents; }
@media (min-width: 900px) {
  #v-build { max-width: none; }
  .pf-b-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); column-gap: clamp(32px, 4vw, 56px); align-items: start; }
  .pf-b-main { display: block; min-width: 0; }
  .pf-b-side { display: flex; flex-direction: column; position: sticky; top: calc(var(--pf-top, 0px) + 12px); }
  #v-build .pf-b-side .pf-bar { order: -1; position: static; margin: 16px 0 0; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: none; }
  .pf-b-side .pf-inplan { margin-top: 14px; }
}
/* ---- side by side uses the page's width when three plans are set out */
@media (min-width: 900px) { #v-table { max-width: 1040px; } }

/* ---- motor: the four parts of a price, and the insurers with IRDAI's figure for each */
.pf-mgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 40px; margin-top: 8px; }
.pf-mgrid .pf-sec-t { margin-top: 12px; }
.pf-mgrid .pf-soon { margin: 4px 0 8px; }
.pf-parts div { align-items: flex-start; }
.pf-parts dd { flex: 0 1 auto; max-width: 58%; font-weight: 500; }
#v-compare > .pf-sec-t { margin-top: 16px; }
@media (min-width: 840px) { .pf-mgrid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.pf-cos { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 28px; }
.pf-cos li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding: 3px 0; border-bottom: 1px solid var(--line); }
.pf-cos-n { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.pf-cos-n small { font-size: 0.8125rem; color: var(--ink-2); }
@media (min-width: 560px) { .pf-cos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 840px) { .pf-cos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---- the page's head on a wide screen: its title beside its three steps */
@media (min-width: 900px) {
  .pf-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; }
  .pf-page-t { font-size: 1.375rem; }
  .pf-top .pf-steps { flex: 0 1 600px; padding: 0; grid-template-columns: 1.7fr 1fr 1fr; }
  .pf-ans { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px 32px; flex-wrap: wrap; }
  .pf-ans .pf-insight { margin: 0 0 3px; max-width: 520px; }
}

/* ---- from 700 wide: the filters in two lines, each under its own word */
@media (min-width: 700px) and (max-width: 899px) { .pf-wrap { max-width: calc(var(--page) + 2 * var(--gutter)); } }
@media (min-width: 700px) {
  .pf-filters { margin: 10px 0 0; padding: 0; }
  .pf-f-c { flex-wrap: wrap; overflow: visible; padding: 0; }
  .pf-f-lab, .pf-must-in { display: block; flex: none; width: 70px; margin: 0; }
  .pf-f-brk { display: block; flex: 0 0 100%; height: var(--pf-ph, 0px); }      /* on a wide screen the room is between the filters and the must-haves */
  .pf-filters:not(:has(.pf-f-brk)) { margin-bottom: var(--pf-ph, 0px); }      /* or under the filters, where a kind has no must-haves */
  .pf-f { position: relative; }
  .pf-f-p { left: 0; right: auto; min-width: 300px; }
  .pf-f-p:has(.pf-f-list) { min-width: 420px; }
}

/* ---- a true table, one line a row */
.pf-lay-table { margin-top: 10px; }
.pf-lay-table .pf-d { display: block; }
.pf-lay-table span.pf-d { display: inline; }
.pf-lay-table .pf-th-nm > span.pf-d { display: block; }
.pf-lay-table .pf-m { display: none; }
.pf-lay-table .pf-tbl { display: table; table-layout: fixed; min-width: var(--pf-w, 0px); }
.pf-lay-table .pf-tbl thead th { width: var(--w); position: sticky; top: var(--pf-top, 0px); z-index: 2; padding: 6px 6px 5px; vertical-align: bottom; background: var(--bg); box-shadow: inset 0 -2px 0 var(--ink); line-height: 1.2; color: var(--ink-2); }
.pf-lay-table .pf-tbl thead .pf-c-pick { padding: 0; }
.pf-lay-table .pf-tbl thead .pf-c-name { padding-left: 2px; }
.pf-lay-table .pf-th-nm { display: flex; align-items: flex-end; }
.pf-lay-table .pf-th-nm > :first-child { flex: none; width: var(--pf-co, 8.75rem); }
.pf-lay-table .pf-tbl thead .pf-c-fig, .pf-lay-table .pf-tbl thead .pf-t-num { text-align: right; }
.pf-lay-table .pf-tbl thead .pf-c-fig .pf-th-b, .pf-lay-table .pf-tbl thead .pf-t-num .pf-th-b { flex-direction: row-reverse; }
.pf-lay-table .pf-tbl thead .pf-t-tick { text-align: center; padding-left: 1px; padding-right: 1px; }
.pf-lay-table .pf-row > th, .pf-lay-table .pf-row > td { padding: 4px 6px; vertical-align: middle; border-top: 1px solid var(--line); }
.pf-lay-table .pf-tbl tbody > .pf-row:first-child > * { border-top: 0; }
.pf-lay-table .pf-row > .pf-c-pick { padding: 4px 0; }
.pf-lay-table .pf-row > .pf-c-name { padding-left: 2px; }
.pf-lay-table .pf-nm { display: flex; align-items: center; gap: 6px; }
.pf-lay-table .pf-nm .pf-plan-b { flex: none; width: var(--pf-co, 8.75rem); justify-content: space-between; padding-right: 8px; }
.pf-lay-table .pf-nm .pf-pn { flex: 0 1 auto; }
.pf-lay-table .pf-row > .pf-c-fig, .pf-lay-table .pf-row > .pf-t-num { text-align: right; }
.pf-lay-table .pf-row > .pf-t-tick { text-align: center; padding-left: 1px; padding-right: 1px; }
.pf-lay-table .pf-row > .pf-t-tick > span { justify-content: center; }
.pf-lay-table .pf-row > .pf-t-text { font-size: 0.875rem; line-height: 1.25; }
.pf-lay-table .pf-row > .pf-c-fig .pf-plan-fig small { display: none; }      /* the heading says "a year" */
.pf-lay-table .pf-row > .pf-c-act { padding: 4px 0 4px 6px; text-align: right; }
.pf-lay-table .pf-row:hover > * { background: var(--mist); }
.pf-lay-table .pf-row.pf-open > * { background: var(--mist); }
.pf-lay-table .pf-row.pf-sub > .pf-c-name { box-shadow: inset 3px 0 0 var(--line-2); padding-left: 8px; }
.pf-lay-table .pf-row-more > td { padding: 0 8px 0 36px; background: var(--mist); }
.pf-lay-table .pf-row-more .pf-plan-more { margin: 0 0 12px; max-width: 900px; }
.pf-lay-table .pf-row-more .pf-facts { background: var(--bg); }
.pf-lay-table .pf-more-g { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
/* wider than its box (the full form on a screen that can't hold every column): the table moves sideways in its own
   box, and the names stay where they are */
.pf-lay-table.pf-over { overflow-x: auto; }
.pf-lay-table.pf-over .pf-tbl thead th { position: static; top: auto; }
.pf-lay-table.pf-over .pf-tbl thead .pf-c-name, .pf-lay-table.pf-over .pf-row > .pf-c-name { position: sticky; left: 0; z-index: 1; background: var(--bg); box-shadow: 8px 0 8px -8px rgba(20, 33, 61, 0.35); }
.pf-lay-table.pf-over .pf-tbl thead .pf-c-name { box-shadow: inset 0 -2px 0 var(--ink), 8px 0 8px -8px rgba(20, 33, 61, 0.35); }
.pf-lay-table.pf-over .pf-row:hover > .pf-c-name, .pf-lay-table.pf-over .pf-row.pf-open > .pf-c-name { background: var(--mist); }
.pf-lay-table.pf-over .pf-row-more .pf-plan-more { position: sticky; left: 36px; max-width: min(900px, 100vw - 120px); }
/* the full form uses the screen's width where the page's can't hold every column */
@media (min-width: 1000px) {
  .pf-lay-table.pf-all { width: min(100vw - 36px, 1640px); margin-left: calc((100% - min(100vw - 36px, 1640px)) / 2); }
}
@media print {
  .pf-filters, .pf-must, .pf-ctl, .pf-applied, .pf-c-pick, .pf-c-act { display: none !important; }
}
