/* ── the plans page. Round 345 (1 October 2026). Sergio, on the published page: "esta pagina tiene un diseño horrible, creo que puede
   ser mucho mas cool no?". Rewritten as one calm system on the app's tokens (guided.css), beside the account panel and the sign-in:
   a centred head on a quiet accent wash with a dim dot field that fades out before the cards, nothing moving; the Monthly and Annual
   switch as one pill; five white cards in one row on a laptop, equal height, their rows shared so the names, the prices and the calls
   to action sit on one line across the row, and the deck's "Included:" lines inside each card with a check; Managed Presence lifted by
   an accent border, a soft tint at its top and the badge over its edge; the plan in use as one slim bar with an icon tile; Billing as a
   card; Doctorpedia for Health Systems on the dark violet ground of the sign-in's panel, with a still dot field; the questions in two
   columns of soft cards. Stacked cards on a phone. Both looks. The words are the Copy Deck's, unchanged; every id, class and behaviour
   the code and the checks use is kept; the panel with the lines under the row (#plIncluded) is still painted by plans.js and hidden
   here. Hover: round 329's one tint, 180 ms, no movement. ── */
body.plans-page { position:relative; overflow:auto; min-height:100%; --pl-w:1280px; --pl-gutter:var(--sp-6); }

/* the ground under the head: a soft accent wash and a dim dot field, both fading out before the cards. On the body, edge to edge, so
   nothing is wider than the page */
body.plans-page::before { content:""; position:absolute; left:0; right:0; top:0; z-index:0; height:640px; pointer-events:none;
  background:
    radial-gradient(ellipse 46% 60% at 50% 0%, rgba(var(--op-accent-rgb), .14), transparent 72%),
    radial-gradient(circle, rgba(var(--op-accent-rgb), .22) 1px, transparent 1.5px) 0 0 / 22px 22px;
  -webkit-mask-image:radial-gradient(ellipse 62% 78% at 50% 0%, #000 8%, transparent 72%); mask-image:radial-gradient(ellipse 62% 78% at 50% 0%, #000 8%, transparent 72%); }
html.op-dark body.plans-page::before { background:
    radial-gradient(ellipse 46% 60% at 50% 0%, rgba(var(--op-accent-rgb), .12), transparent 72%),
    radial-gradient(circle, rgba(var(--op-accent-rgb), .16) 1px, transparent 1.5px) 0 0 / 22px 22px; }

/* the bar: the mark and the way back, translucent over the wash */
.pl-top { position:sticky; top:0; z-index:5; display:flex; align-items:center; justify-content:space-between; height:65px; padding:0 max(var(--pl-gutter), calc((100% - var(--pl-w)) / 2 + var(--pl-gutter))); background:color-mix(in srgb, var(--s-0) 88%, transparent); -webkit-backdrop-filter:blur(18px); backdrop-filter:blur(18px); border-bottom:1px solid var(--line); }
.pl-top .tb-brand { text-decoration:none; }
.pl-back { display:inline-flex; align-items:center; gap:8px; min-height:44px; min-width:44px; padding:0 14px; border-radius:var(--r-2); color:var(--t-300); font-size:15px; font-weight:500; text-decoration:none; }
.pl-back i { font-size:18px; }

/* the page */
.pl-main { width:min(var(--pl-w), 100%); margin:0 auto; padding:var(--sp-12) var(--pl-gutter) var(--sp-12); text-align:center; }
.pl-main > * { position:relative; z-index:1; }

/* the head: the label, the deck's headline and line */
.pl-hero { display:flex; flex-direction:column; align-items:center; }
.pl-kicker { display:inline-flex; align-items:center; gap:8px; margin:0 0 var(--sp-4); height:30px; padding:0 14px 0 12px; border-radius:999px; font-size:13px; font-weight:600; letter-spacing:.01em; text-transform:none; color:var(--t-300); background:var(--s-1); border:1px solid var(--line); }
.pl-kicker i { width:7px; height:7px; border-radius:50%; background:var(--accent); }
.pl-main .q { margin:0; max-width:18ch; font-size:clamp(34px, 2.2vw + 14px, 46px); font-weight:700; letter-spacing:-.03em; line-height:1.06; text-wrap:balance; color:var(--t-100); }
.pl-main .sub { margin:var(--sp-4) auto 0; max-width:40ch; font-size:18px; line-height:1.5; color:var(--t-300); text-wrap:balance; }

/* the blocks rise in, one after the other; a block shown later (the plan, Billing, a banner) rises when it appears */
.pl-main > * { animation:rise var(--dur-base) var(--ease-out) both; }
.pl-main > :nth-child(n+2) { animation-delay:40ms; }
.pl-main > :nth-child(n+4) { animation-delay:80ms; }
.pl-main > :nth-child(n+8) { animation-delay:120ms; }
.pl-main > :nth-child(n+10) { animation-delay:160ms; }

/* the plan in use: one slim bar, an icon tile, the name, the two meters, the renewal and the test-mode note under them */
.pl-now { display:flex; flex-wrap:wrap; align-items:center; gap:var(--sp-2) var(--sp-6); margin:var(--sp-8) auto 0; padding:14px 22px 14px 16px; max-width:960px; text-align:left; background:var(--s-1); border:1px solid var(--line); border-radius:var(--r-3); box-shadow:none; }
.pl-now-ic { flex:none; display:grid; place-items:center; width:40px; height:40px; border-radius:12px; font-size:21px; color:var(--accent); background:rgba(var(--op-accent-rgb), .10); }
html.op-dark .pl-now-ic { background:rgba(var(--op-accent-rgb), .18); }
.pl-now-t { display:flex; align-items:baseline; gap:var(--sp-2); }
.pl-now-t small { display:inline; font-size:13px; font-weight:600; letter-spacing:.01em; text-transform:none; color:var(--t-500); }
.pl-now-t strong { font-size:16px; font-weight:600; letter-spacing:-.01em; color:var(--t-100); }
.pl-meter { display:flex; align-items:center; gap:var(--sp-3); min-width:220px; max-width:460px; flex:1 1 220px; }
.pl-meter-t { display:block; margin:0; white-space:nowrap; font-size:14px; color:var(--t-400); }
.pl-meter-t b { font-size:14px; color:var(--t-100); }
.pl-bar { flex:1; display:block; min-width:80px; height:6px; border-radius:999px; background:var(--s-3); overflow:hidden; }
.pl-bar i { display:block; height:100%; width:0; border-radius:999px; background:var(--accent); transition:width var(--dur-base) var(--ease-out); }
.pl-renew { flex:0 0 100%; margin:0; padding-left:56px; font-size:13px; line-height:1.4; color:var(--t-500); }
.pl-now:has(#plRenew:empty) .pl-renew { display:none; }
.pl-now .pl-mode { flex:0 0 100%; display:flex; align-items:flex-start; gap:8px; margin:0; padding:0 0 0 56px; border:0; background:transparent; font-size:13px; line-height:1.45; text-align:left; color:var(--t-500); }
.pl-now .pl-mode i { flex:none; margin-top:2px; font-size:15px; color:var(--t-500); }

/* the switch: Monthly and Annual as one pill, "2 months free" as a small accent badge */
.pl-cycle { display:inline-flex; gap:2px; margin:var(--sp-8) auto 0; padding:4px; border-radius:999px; background:var(--s-3); border:0; }
.pl-cycle button { display:inline-flex; align-items:center; gap:8px; height:44px; min-height:44px; padding:0 20px; border-radius:999px; font-size:15px; font-weight:500; color:var(--t-400); background:transparent; box-shadow:none; }
.pl-cycle button[aria-checked="true"] { background:var(--s-1); color:var(--t-100); font-weight:600; box-shadow:0 1px 2px rgba(27,25,38,.08), 0 0 0 1px var(--line); }
html.op-dark .pl-cycle button[aria-checked="true"] { background:var(--s-2); box-shadow:0 0 0 1px var(--line-strong); }
/* "2 months free": a small accent badge, its ground solid so the words read AA on the track and on the thumb alike */
.pl-cycle button small { display:inline-flex; align-items:center; height:22px; margin:0; padding:0 9px; border-radius:999px; font-size:12px; font-weight:600; color:var(--accent); background:color-mix(in srgb, var(--accent) 9%, var(--s-1)); }
html.op-dark .pl-cycle button small { background:color-mix(in srgb, var(--accent) 14%, var(--s-1)); }
/* while the plans are read, the switch and everything after the cards wait unseen, so nothing is painted and then pushed down;
   when the plans could not be read, the switch has nothing to switch and stays away */
.pl-main:has(#plGrid:empty) > .pl-cycle, .pl-main:has(#plGrid:empty) > #plGrid ~ * { visibility:hidden; }
.pl-main:has(.pl-empty) > .pl-cycle { display:none; }
.pl-empty { grid-column:1 / -1; margin:0; text-align:center; color:var(--t-400); }

/* the row of five: white cards, one hairline, 20 px corners; the top of the grid leaves room for the badge over the highlighted card */
.pl-grid { display:grid; grid-template-columns:repeat(5, minmax(0, 1fr)); grid-auto-rows:auto; gap:0 var(--sp-4); margin-top:var(--sp-8); padding-top:14px; text-align:left; }
#plGrid { scroll-margin-top:152px; }
.pl-card { position:relative; display:flex; flex-direction:column; align-content:start; padding:var(--sp-6) 20px 22px; background:var(--s-1); border:1px solid var(--line); border-radius:20px; box-shadow:none; cursor:default; overflow:visible; transition:border-color var(--hover-dur) var(--ease-out), box-shadow 220ms var(--ease-out); }
.pl-card.pl-in { animation:rise var(--dur-base) var(--ease-out) both; }
.pl-head { display:flex; flex-direction:column; min-height:0; padding:0; background:transparent; }
.pl-card h2 { margin:0; font-size:17px; font-weight:600; letter-spacing:-.01em; line-height:1.3; color:var(--t-100); }
.pl-price { display:flex; align-items:baseline; flex-wrap:wrap; gap:5px; margin:14px 0 0; }
.pl-price b { font-size:38px; font-weight:700; line-height:1; letter-spacing:-.035em; color:var(--t-100); }
.pl-price small { font-size:15px; font-weight:500; color:var(--t-400); }
.pl-per { margin:8px 0 0; font-size:13px; line-height:1.3; color:var(--t-500); }
.pl-allow { margin:12px 0 0; font-size:15px; line-height:1.45; color:var(--t-300); }
.pl-body { flex:1; display:flex; flex-direction:column; justify-content:flex-start; gap:10px; margin-top:22px; padding:0; }
.pl-body .pl-btn { padding:0 8px; }   /* "Start Managed Presence" on one line in a card of the row of five */
/* on a laptop the five cards share their rows: name, price, "billed today", allowance, then the rest; every call to action on one line */
@media (min-width:1101px) {
  @supports (grid-template-rows: subgrid) {
    .pl-card { display:grid; grid-template-rows:subgrid; grid-row:span 5; row-gap:0; }
    .pl-head { display:contents; }
    .pl-card h2 { grid-row:1; } .pl-price { grid-row:2; } .pl-per { grid-row:3; } .pl-allow { grid-row:4; } .pl-body { grid-row:5; }
  }
}
/* the highlighted plan: an accent border, a soft tint at its top, a lift, the badge over its edge */
.pl-card.pick { border-color:color-mix(in srgb, var(--accent) 55%, transparent); background:linear-gradient(180deg, rgba(var(--op-accent-rgb), .10), transparent 44%), var(--s-1); box-shadow:0 24px 48px -28px rgba(var(--op-accent-rgb), .55); }
html.op-dark .pl-card.pick { box-shadow:0 24px 48px -24px rgba(0,0,0,.7); }
.pl-tag { position:absolute; top:-14px; left:50%; z-index:2; translate:-50% 0; display:inline-flex; align-items:center; height:28px; padding:0 14px; border-radius:999px; font-size:12.5px; font-weight:600; letter-spacing:.01em; white-space:nowrap; color:var(--color-primary-foreground); background:var(--accent); box-shadow:0 6px 16px -8px rgba(var(--op-accent-rgb), .7); }
/* the doctor's own plan: a green hairline and the disabled button with its check */
/* the chosen card (a click or the arrow keys): a stronger hairline; the keyboard's focus ring on top */
.pl-card.on:not(.pick) { border-color:var(--line-strong); }
.pl-card.mine, .pl-card.mine.on { border-color:color-mix(in srgb, var(--sem-green) 40%, transparent); }
.pl-card:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }

/* the calls to action */
.pl-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; width:100%; min-height:48px; margin:0; padding:0 12px; border-radius:var(--r-2); font:inherit; font-size:15px; font-weight:600; line-height:1.2; cursor:pointer; border:1px solid var(--line-strong); background:var(--s-1); color:var(--t-100); text-decoration:none; box-shadow:none; }
.pl-btn i { font-size:18px; }
.pl-btn.primary-ish { border-color:transparent; background:var(--accent); color:var(--color-primary-foreground); }
.pl-btn:disabled { cursor:default; color:var(--sem-green); background:color-mix(in srgb, var(--sem-green) 8%, transparent); border-color:color-mix(in srgb, var(--sem-green) 28%, transparent); }
html:not(.op-dark) .pl-btn:disabled { color:color-mix(in srgb, var(--sem-green) 85%, #000); }   /* AA on the tinted ground */
.pl-btn.busy { opacity:.6; pointer-events:none; }
.pl-btn:active { transform:scale(.96); }
.pl-btn:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.pl-alt { align-self:center; display:inline-flex; align-items:center; min-height:44px; margin:-8px 0 -6px; padding:0 6px; font-size:14px; font-weight:500; color:var(--accent); text-decoration:underline; text-underline-offset:3px; text-decoration-color:rgba(var(--op-accent-rgb), .35); }

/* the lines: a reset, and a check in a tinted circle */
.pl-lines { margin:0; padding:0; list-style:none; display:flex; flex-direction:column; gap:10px; }
.pl-lines li { position:relative; margin:0; padding-left:30px; font-size:14.5px; line-height:1.45; color:var(--t-200); }
.pl-lines li::before { content:""; position:absolute; left:0; top:0; width:20px; height:20px; border-radius:50%; background:rgba(var(--op-accent-rgb), .12); }
html.op-dark .pl-lines li::before { background:rgba(var(--op-accent-rgb), .2); }
.pl-lines li::after { content:""; position:absolute; left:6px; top:5.5px; width:8px; height:4.5px; border-left:2px solid var(--accent); border-bottom:2px solid var(--accent); transform:rotate(-45deg); }
/* inside a card: under a hairline, the first "Everything in ..." line marked; Clinic's line about seats and the one for a plan whose
   lines wait on unbuilt rows carry no check */
.pl-card-lines { margin-top:8px; padding-top:18px; border-top:1px solid var(--line); }
.pl-card-lines li.pl-all { font-weight:600; color:var(--t-100); }
.pl-lines .pl-sub, .pl-lines .pl-inc-none { padding-left:0; font-size:14px; line-height:1.45; color:var(--t-400); }
.pl-lines .pl-sub::before, .pl-lines .pl-sub::after, .pl-lines .pl-inc-none::before, .pl-lines .pl-inc-none::after { display:none; }
/* the panel under the row (round 318) is still painted for the checks; the lines live in the cards now */
#plIncluded { display:none; }

/* Doctorpedia for Health Systems: the dark violet ground of the sign-in's panel, a still dot field at its right, no checkout */
.pl-health { position:relative; display:grid; grid-template-columns:minmax(0, 1fr) auto; align-items:center; gap:var(--sp-6) var(--sp-8); margin-top:var(--sp-8); padding:36px 40px; text-align:left; border-radius:24px; overflow:hidden; background:#0C0818; color:#fff; border:1px solid rgba(167,139,250,.14); --color-brand:#A78BFA; --accent:#A78BFA; --op-accent-rgb:167,139,250; }
.pl-health::before { content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(ellipse 44% 120% at 88% 50%, rgba(109,58,232,.5), transparent 70%),
    radial-gradient(circle, rgba(167,139,250,.55) 1px, transparent 1.5px) 0 0 / 14px 14px;
  -webkit-mask-image:radial-gradient(ellipse 48% 130% at 90% 50%, #000 18%, transparent 70%); mask-image:radial-gradient(ellipse 48% 130% at 90% 50%, #000 18%, transparent 70%); }
.pl-health > * { position:relative; z-index:1; }
html.op-dark .pl-health { background:#15102B; border-color:rgba(167,139,250,.22); }
.pl-health-t strong { display:block; font-size:22px; font-weight:600; letter-spacing:-.015em; line-height:1.25; color:#fff; }
.pl-health-t small { display:block; margin:4px 0 0; font-size:15px; line-height:1.4; color:rgba(255,255,255,.68); }
.pl-health .pl-lines.inline { display:grid; grid-template-columns:repeat(2, minmax(0, max-content)); gap:10px 36px; margin:20px 0 0; }
.pl-health .pl-lines.inline li { padding-left:34px; font-size:15px; line-height:1.5; color:rgba(255,255,255,.92); }
.pl-health .pl-lines.inline li::before { top:0; width:22px; height:22px; background:rgba(255,255,255,.14); }
.pl-health .pl-lines.inline li::after { left:7px; top:6px; width:8px; height:4.5px; border-color:#fff; }
.pl-health .pl-talk { width:auto; min-height:48px; padding:0 22px; background:#fff; color:#1B1926; border-color:transparent; }

/* the small print, and the toast */
.pl-foot { margin:var(--sp-6) auto 0; max-width:72ch; font-size:14px; line-height:1.55; color:var(--t-500); }
.pl-toast { position:fixed; left:50%; bottom:24px; z-index:20; transform:translateX(-50%); padding:12px 18px; border-radius:var(--r-2); font-size:15px; color:var(--t-100); background:var(--s-1); border:1px solid var(--line); box-shadow:var(--shadow); }

/* the eight questions: two columns of soft cards, the answer sliding open */
.pl-faq { max-width:none; margin:var(--sp-16) auto 0; text-align:left; }
.pl-faq h2 { margin:0 0 var(--sp-6); font-size:28px; font-weight:700; letter-spacing:-.02em; text-align:center; }
.pl-faq-grid { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:var(--sp-3); align-items:start; }
.pl-faq details, .pl-faq details:last-child { background:var(--s-1); border:1px solid var(--line); border-radius:var(--r-3); overflow:hidden; transition:border-color var(--hover-dur) var(--ease-out); }
.pl-faq details[open] { border-color:var(--hover-line); }
.pl-faq summary { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:60px; margin:0; padding:14px 16px 14px 20px; border-radius:0; font-size:16px; font-weight:600; line-height:1.35; color:var(--t-100); cursor:pointer; list-style:none; }
.pl-faq summary::-webkit-details-marker { display:none; }
.pl-faq summary::after { content:""; flex:none; width:28px; height:28px; border-radius:50%; background:linear-gradient(var(--t-300), var(--t-300)) center / 12px 1.5px no-repeat, linear-gradient(var(--t-300), var(--t-300)) center / 1.5px 12px no-repeat, var(--s-3); transform:none; transition:rotate var(--dur-base) var(--ease-out), background-color var(--hover-dur) var(--ease-out); }
.pl-faq details[open] summary::after { rotate:45deg; transform:none; }
.pl-faq details p { margin:0; padding:0 56px 18px 20px; font-size:15.5px; line-height:1.55; color:var(--t-300); }
.pl-faq summary:focus-visible { outline:2px solid var(--accent); outline-offset:-2px; border-radius:var(--r-3); }
@supports (interpolate-size: allow-keywords) {
  .pl-faq details { interpolate-size:allow-keywords; }
  .pl-faq details::details-content { block-size:0; overflow:clip; transition:block-size var(--dur-base) var(--ease-out), content-visibility var(--dur-base) allow-discrete; }
  .pl-faq details[open]::details-content { block-size:auto; }
}

/* ── payments (round 290): the two banners, the success page, Billing, and the sheet for the framing, a change and the cancel ── */
.pl-banner { display:flex; align-items:center; gap:12px; margin:var(--sp-6) auto 0; padding:14px 18px; max-width:960px; border-radius:var(--r-3); font-size:15px; line-height:1.45; text-align:left; color:var(--t-100); background:color-mix(in srgb, var(--sem-amber) 11%, var(--s-1)); border:1px solid color-mix(in srgb, var(--sem-amber) 32%, transparent); box-shadow:none; }
.pl-banner[data-kind="paused"] { background:color-mix(in srgb, var(--sem-red) 8%, var(--s-1)); border-color:color-mix(in srgb, var(--sem-red) 28%, transparent); }
.pl-banner i { flex:none; font-size:22px; color:var(--sem-amber); }
.pl-banner[data-kind="paused"] i { color:var(--sem-red); }
.pl-banner span { flex:1; }
.pl-banner .pl-btn { flex:none; width:auto; margin:0; min-height:44px; padding:0 16px; font-size:15px; }
.pl-done { margin:var(--sp-8) auto 0; padding:40px 32px; max-width:620px; text-align:center; background:var(--s-1); border:1px solid var(--line); border-radius:24px; box-shadow:none; }
.pl-done > i { display:grid; place-items:center; width:56px; height:56px; margin:0 auto; border-radius:18px; font-size:30px; color:var(--sem-green); background:color-mix(in srgb, var(--sem-green) 10%, transparent); }
.pl-done h2 { margin:18px 0 0; font-size:26px; font-weight:700; letter-spacing:-.02em; }
.pl-done p { margin:12px auto 0; max-width:52ch; font-size:16px; line-height:1.55; color:var(--t-300); }
.pl-done-moves a { display:inline-flex; align-items:center; min-height:44px; color:var(--accent); font-weight:600; text-decoration:underline; text-underline-offset:3px; }
.pl-done .pl-btn { width:auto; margin-top:22px; padding:0 28px; }
/* the success page is the page: everything else steps aside while it shows */
body.pl-welcome .pl-hero, body.pl-welcome .pl-now, body.pl-welcome .pl-mode, body.pl-welcome .pl-cycle, body.pl-welcome .pl-grid, body.pl-welcome .pl-included, body.pl-welcome .pl-health, body.pl-welcome .pl-foot, body.pl-welcome .pl-faq, body.pl-welcome .pl-billing, body.pl-welcome .pl-banner { display:none; }
.pl-billing { margin:var(--sp-4) auto 0; padding:var(--sp-6) 28px; max-width:960px; text-align:left; background:var(--s-1); border:1px solid var(--line); border-radius:20px; box-shadow:none; }
#plBilling { scroll-margin-top:calc(65px + var(--sp-4)); }
.pl-billing h2 { margin:0 0 6px; font-size:20px; font-weight:600; letter-spacing:-.01em; }
.pl-bill-intro { margin:0; font-size:16px; line-height:1.5; color:var(--t-200); }
.pl-bill-note { margin:8px 0 0; font-size:15px; line-height:1.5; color:var(--t-300); }
.pl-bill-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.pl-bill-actions .pl-btn { width:auto; margin:0; min-height:44px; padding:0 16px; font-size:15px; font-weight:500; }
.pl-bill-actions [data-bill="cancel"] { color:var(--sem-red); }
.pl-bill-actions [data-bill="cancel"].pl-restart { color:var(--t-100); }
.pl-lm { width:min(100%, 460px); text-align:left; align-items:stretch; border-radius:var(--r-4); }
.pl-lm h3 { text-align:left; }
.pl-sheet-body { display:flex; flex-direction:column; gap:10px; margin-top:4px; }
.pl-sheet-line { margin:0; font-size:16px; line-height:1.5; color:var(--t-200); }
.pl-sheet-fine { margin:0; font-size:13.5px; line-height:1.5; color:var(--t-500); }
.pl-lm .lm-actions button.danger { background:var(--sem-red); color:#fff; }
html.op-dark .pl-lm .lm-actions button.danger { color:var(--color-primary-foreground); }

/* ── the pointer's answer: round 329's one tint, one duration, no movement; only for a pointer that can hover ── */
.pl-btn, .pl-alt, .pl-back, .pl-cycle button, .tb-brand, .pl-faq summary, .pl-done-moves a { transition:background-color var(--hover-dur) var(--ease-out), color var(--hover-dur) var(--ease-out), border-color var(--hover-dur) var(--ease-out), box-shadow 220ms var(--ease-out), text-decoration-color var(--hover-dur) var(--ease-out); }
@media (hover:hover) and (pointer:fine) {
  .pl-btn:not(.primary-ish):not(:disabled):hover, .pl-back:hover, .tb-brand:hover { background:var(--hover-tint); color:var(--t-100); border-color:var(--hover-line); }
  .pl-btn.primary-ish:hover { background:color-mix(in srgb, var(--accent) 86%, #000); box-shadow:0 8px 20px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
  html.op-dark .pl-btn.primary-ish:hover { background:color-mix(in srgb, var(--accent) 86%, #fff); }
  .pl-cycle button[aria-checked="false"]:hover { background:var(--hover-tint); color:var(--t-100); }
  .pl-cycle button[aria-checked="true"]:hover { box-shadow:0 1px 2px rgba(27,25,38,.08), 0 0 0 1px var(--hover-line); }
  .pl-alt:hover { color:var(--t-100); text-decoration-color:currentColor; text-decoration-thickness:2px; }
  .pl-done-moves a:hover { color:var(--t-100); }
  .pl-faq summary:hover { background:var(--hover-tint); }
  .pl-health .pl-talk:hover { background:#EDE9FE; color:#1B1926; border-color:transparent; }
}

/* ── narrower windows and phones ── */
@media (max-width:1100px) {
  .pl-grid { grid-template-columns:repeat(3, minmax(0, 1fr)); gap:var(--sp-6) var(--sp-4); }
}
@media (max-width:820px) {
  .pl-grid { grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .pl-faq-grid { grid-template-columns:1fr; }
  .pl-health { grid-template-columns:1fr; padding:32px; }
  .pl-health .pl-talk { justify-self:start; }
  .pl-health::before { -webkit-mask-image:radial-gradient(ellipse 60% 70% at 92% 0%, #000 10%, transparent 70%); mask-image:radial-gradient(ellipse 60% 70% at 92% 0%, #000 10%, transparent 70%); }
}
@media (max-width:560px) {
  body.plans-page { --pl-gutter:var(--sp-4); }
  body.plans-page::before { height:520px; }
  .pl-top { padding:0 var(--sp-4); }
  .pl-back { padding:0; justify-content:center; } .pl-back span { display:none; }
  .pl-main { padding:var(--sp-8) var(--pl-gutter) var(--sp-12); }
  .pl-main .q { font-size:clamp(30px, 9vw, 36px); }
  .pl-main .sub { font-size:17px; }
  .pl-now { margin-top:var(--sp-6); padding:14px 16px; }
  .pl-renew, .pl-now .pl-mode { padding-left:0; }
  .pl-meter { min-width:0; }
  .pl-cycle { margin-top:var(--sp-6); }
  .pl-cycle button { padding:0 16px; }
  .pl-grid { grid-template-columns:1fr; gap:var(--sp-4); margin-top:var(--sp-6); padding-top:0; }
  .pl-card { padding:22px 20px; }
  /* the badge inside the card on a phone, where the cards stack */
  .pl-tag { top:20px; left:auto; right:18px; translate:none; }
  .pl-card.pick h2 { padding-right:112px; }
  .pl-health { margin-top:var(--sp-6); padding:28px 22px; border-radius:20px; }
  .pl-health .pl-lines.inline { grid-template-columns:1fr; }
  .pl-health .pl-talk { width:100%; }
  .pl-foot { margin-top:var(--sp-6); }
  .pl-faq { margin-top:var(--sp-12); }
  .pl-faq h2 { font-size:24px; }
  .pl-banner { flex-wrap:wrap; } .pl-banner .pl-btn { width:100%; }
  .pl-billing { padding:var(--sp-6) 20px; }
  .pl-bill-actions .pl-btn { width:100%; }
  .pl-lm { width:100%; }
  /* the sheet's two actions one above the other, so "Cancel at period end" never breaks inside its button */
  .pl-lm .lm-actions { flex-direction:column; }
  .pl-done { padding:32px 22px; }
  .pl-done-moves { display:flex; flex-direction:column; align-items:center; }
  .pl-done-moves > [aria-hidden="true"] { display:none; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-main > *, .pl-card.pl-in { animation:none; }
  .pl-bar i, .pl-btn, .pl-card, .pl-faq summary::after, .pl-faq details { transition:none; }
  .pl-faq details::details-content { transition:none; }
}

/* ── round 345b (Sergio, 1 October, on the frames): "esto puede ser más cool, ¿no?" on the plan bar, and "rediseña por completo esta
   sección y hazla más inmersiva y más cool" on the questions ── */
/* the plan in use as a membership card: a soft accent wash across the left, the seal in a tile of accent, the name large, the meters as
   rows with a gradient fill, the renewal and the test-mode note as quiet lines under them */
.pl-now { position:relative; display:grid; grid-template-columns:auto minmax(0, 1fr); grid-template-areas:"head meters" "notes notes"; align-items:center; gap:var(--sp-4) var(--sp-8); margin:var(--sp-8) auto 0; padding:22px 26px 20px 22px; max-width:960px; overflow:hidden; border-radius:24px; background:var(--s-1); border:1px solid var(--line); box-shadow:0 1px 2px rgba(27,25,38,.04), 0 24px 50px -36px rgba(var(--op-accent-rgb), .5); }
.pl-now::before { content:""; position:absolute; left:-80px; top:-120px; width:420px; height:320px; border-radius:50%; background:radial-gradient(closest-side, rgba(var(--op-accent-rgb), .16), transparent); pointer-events:none; }
.pl-now > * { position:relative; }
.pl-now-head { grid-area:head; display:flex; align-items:center; gap:16px; }
.pl-now-ic { width:56px; height:56px; border-radius:18px; font-size:26px; color:var(--color-primary-foreground); background:linear-gradient(140deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #fff)); box-shadow:0 10px 24px -12px rgba(var(--op-accent-rgb), .7); }
html.op-dark .pl-now-ic { background:linear-gradient(140deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #fff)); }
.pl-now-t { display:flex; flex-direction:column; align-items:flex-start; gap:2px; }
.pl-now-t small { font-size:13px; font-weight:600; letter-spacing:.02em; color:var(--t-500); }
.pl-now-t strong { font-size:24px; font-weight:700; letter-spacing:-.02em; line-height:1.15; color:var(--t-100); }
.pl-now-meters { grid-area:meters; display:flex; flex-direction:column; gap:12px; min-width:0; }
.pl-meter { display:grid; grid-template-columns:minmax(0, 1fr); gap:6px; min-width:0; max-width:none; flex:none; }
.pl-meter-t { font-size:14px; color:var(--t-400); white-space:normal; }
.pl-meter-t b { font-size:15px; font-weight:700; color:var(--t-100); }
.pl-bar { height:8px; border-radius:999px; background:var(--s-3); min-width:0; }
.pl-bar i { background:linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #fff)); box-shadow:inset 0 1px 0 rgba(255,255,255,.35); }
.pl-now-notes { grid-area:notes; display:flex; flex-wrap:wrap; align-items:center; gap:8px 18px; padding-top:14px; border-top:1px solid var(--line); }
.pl-now-notes:has(#plRenew:empty):has(#plMode[hidden]) { display:none; }
.pl-renew { flex:1 1 auto; padding:0; font-size:14px; color:var(--t-400); }
.pl-now .pl-mode { flex:0 0 auto; display:inline-flex; align-items:center; gap:8px; padding:7px 12px 7px 10px; border-radius:999px; background:var(--s-3); font-size:13px; color:var(--t-400); }
.pl-now .pl-mode i { margin:0; font-size:15px; }
.pl-now .pl-mode b { color:var(--t-200); }
@media (max-width:820px) {
  .pl-now { grid-template-columns:1fr; grid-template-areas:"head" "meters" "notes"; gap:var(--sp-4); padding:20px 18px 18px; border-radius:20px; }
  .pl-now-t strong { font-size:22px; }
}
/* the questions as a dark band at the foot of the page, edge to edge: the heading at the left, the eight questions as a list on hairlines of
   light, each answer opening under its question; the legal line sits inside the band */
body.plans-page { overflow-x:hidden; }   /* the band's 100vw ground never widens the page */
.pl-faq { position:relative; margin:var(--sp-16) 0 0; padding:88px 0 0; text-align:left; color:#fff; }
.pl-faq::before { content:""; position:absolute; top:0; bottom:0; left:calc(50% - 50vw); width:100vw; z-index:-1; pointer-events:none; background:#0C0818;
  background-image:radial-gradient(ellipse 50% 40% at 85% 10%, rgba(var(--op-accent-rgb), .32), transparent 70%), radial-gradient(ellipse 40% 50% at 10% 90%, rgba(var(--op-accent-rgb), .18), transparent 70%), radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1.4px); background-size:auto, auto, 22px 22px; }
html.op-dark .pl-faq::before { background-color:#0B0714; }
.pl-faq-in { display:grid; grid-template-columns:minmax(220px, 1fr) minmax(0, 1.7fr); gap:var(--sp-8) var(--sp-16); align-items:start; }
.pl-faq h2 { grid-column:1; margin:0; font-size:44px; font-weight:700; letter-spacing:-.03em; line-height:1.05; text-align:left; color:#fff; position:sticky; top:96px; }
.pl-faq-grid { grid-column:2; display:block; }
.pl-faq details, .pl-faq details:last-child { background:transparent; border:0; border-top:1px solid rgba(255,255,255,.14); border-radius:0; overflow:visible; transition:background-color var(--hover-dur) var(--ease-out); }
.pl-faq details:last-child { border-bottom:1px solid rgba(255,255,255,.14); }
.pl-faq details[open] { border-color:rgba(255,255,255,.14); }
.pl-faq summary { min-height:72px; padding:22px 8px 22px 0; border-radius:0; font-size:19px; font-weight:600; line-height:1.35; color:#fff; }
.pl-faq summary::after { width:34px; height:34px; background:linear-gradient(#fff, #fff) center / 14px 1.5px no-repeat, linear-gradient(#fff, #fff) center / 1.5px 14px no-repeat, rgba(255,255,255,.1); box-shadow:inset 0 0 0 1px rgba(255,255,255,.14); transition:rotate var(--dur-base) var(--ease-out), background-color var(--hover-dur) var(--ease-out); }
.pl-faq details[open] summary { color:#DDD6FE; }
.pl-faq details[open] summary::after { background-color:rgba(var(--op-accent-rgb), .45); }
.pl-faq details p { padding:0 72px 24px 0; font-size:16.5px; line-height:1.6; color:rgba(255,255,255,.76); }
.pl-faq summary:focus-visible { outline:2px solid #C4B5FD; outline-offset:-2px; }
@media (hover:hover) and (pointer:fine) {
  .pl-faq summary:hover { background:transparent; color:#DDD6FE; }
  .pl-faq summary:hover::after { background-color:rgba(255,255,255,.2); }
}
.pl-faq .legal-foot { position:relative; margin-top:64px; padding:28px 20px calc(36px + env(safe-area-inset-bottom)); border-top:1px solid rgba(255,255,255,.1); color:rgba(255,255,255,.55); }
.pl-faq .legal-foot a { color:rgba(255,255,255,.7); }
.pl-faq .legal-foot a:hover { color:#fff; background:rgba(255,255,255,.1); }
.pl-main { padding-bottom:0; }
@media (max-width:900px) {
  .pl-faq { margin-top:var(--sp-12); padding:56px 0 0; }
  .pl-faq .legal-foot { margin-top:40px; }
  .pl-faq-in { grid-template-columns:1fr; gap:var(--sp-6); }
  .pl-faq h2 { position:static; font-size:34px; grid-column:auto; }
  .pl-faq-grid { grid-column:auto; }
  .pl-faq summary { min-height:64px; padding:18px 4px 18px 0; font-size:17px; }
  .pl-faq details p { padding:0 48px 20px 0; font-size:15.5px; }
}

/* ── audit of 2 October ── */
/* C16: the test-mode note wraps inside the card instead of running past its edge: it may shrink to the room it has, and its corners are
   16 px, which reads as the same pill on one line and holds two or three lines without crowding the words */
.pl-now .pl-mode { flex:0 1 auto; min-width:0; align-items:flex-start; border-radius:var(--r-3); }
.pl-now .pl-mode i { margin-top:2px; }   /* beside the first line when the note wraps; the same place as before on one line */
/* C9: the app's text size (Display and sound: Larger, Largest) on this page. plans.html and plans.js write the app's attribute on the root
   and v3.css turns it into --zoom (1.12, 1.25); the bar, the page, the sheet and the toast are zoomed by it, as the app zooms its stage.
   The questions' band measures the window in the page's own zoomed pixels, and a tall sheet scrolls inside the window. The legal page
   shares this stylesheet and the bar; its own text does not scale yet, so its bar is left as it is */
body.plans-page:not(.legal-page) > .pl-top, .pl-main, .pl-lm, .pl-toast { zoom:var(--zoom); }
.pl-faq::before { left:calc(50% - 50vw / var(--zoom)); width:calc(100vw / var(--zoom)); }
.pl-lm { max-height:calc((100dvh - 2 * var(--sp-4)) / var(--zoom)); overflow-y:auto; }
