/* ============================================================================
   PREMICS · landing page stylesheet  (CSS only — the page ships ZERO JavaScript)
   ============================================================================
   The public front door: first impressions, the five service categories, and a
   log-in link. Interaction is deliberately limited to what CSS alone provides —
   the themed glow on hover/focus IS the whole behaviour. Anything that needs
   state (the assigned/verified visitor id, forms, routing) belongs to the web
   app behind this page, never here: adding a <script> to this file's page is a
   decision, not a fix (see docs/12-premics-charter.md §3).

   Design lineage: the Aurora → Sunny calm system — same palette tokens, cream
   canvas, lowercase voice, soft cards, gentle motion. Each category carries one
   family colour; the glow takes the tile's own `--c`, so adding/renaming a
   category is an HTML-only edit (set `--c` inline on the tile, nothing here).

   Layout strategy (the Aurora rule): one centered column; FIXED-size tiles that
   WRAP — tiles never shrink, so touch targets stay full-size on phones.
   LIGHT ONLY, deliberately: the app behind this door is light by construction
   (app/globals.css pins color-scheme:light), so a dark front door would flash
   to cream on the first click into the app. The device-preference variant is
   gone and index.html's meta says `light` — bringing one back is a decision,
   not a fix. Honours prefers-reduced-motion.
   ========================================================================== */

/* ── tokens — the family palette, verbatim from the Sunny deck ── */
:root {
  --lavender:#AEA1CF;   /* the house's lavender (NeuroP wears --svc1 since PAL-1) */
  --sky:#9DBBD2;        /* the house's sky (NeuroIMG wears --svc2)               */
  --sage:#8FB3A6;       /* the house's sage (NeuroFis wears --svc3)              */
  --sun:#E7B873;        /* the house's amber: the focus ring (four wears --svc4) */
  --blush:#DDA39D;      /* the house's blush (five wears --svc5)                 */
  --wood:#CBB7A2;
  --gold:#9A7430;
  --teal:#9DD2CF;       /* the "agendar" button at rest (LL-1); the hive's colour until PAL-1 made the hive mint */
  /* the services' own colours (PAL-1, the owner 2026-10-08: "dont have to be the same colours just look
     nice together"): soft pastels, each beside its logo's hue, one chroma for all. The tiles and the
     glow after a pick wear these; the colour-named tokens above stay the house's. */
  --svc1:#E2A4B0;       /* NeuroP   · pink, from its logo's frame         */
  --svc2:#8DAFDE;       /* NeuroIMG · periwinkle, beside its logo's blue  */
  --svc3:#CCBAEC;       /* NeuroFis · lilac, beside its logo's purple     */
  --svc4:#9CDBBE;       /* LIIAAN   · teal-green, from its logo (BL-695)  */
  --svc5:#94DDEC;       /* category five (tbd) · aqua                     */
  /* the "agendar" button's colour (LL-1, the owner 2026-10-08): teal at rest; once a service is
     picked, that service's own colour — set by the :has() rules under .cats */
  --go:var(--teal);

  --ink:#3A3442;
  --muted:#6F6878;
  --card:#FCFBFE;
  --panel:#F3EEE4;
  --hair:#E7DECB;

  --ease-calm:cubic-bezier(.4,0,.2,1);
  /* the canvas (LL-1, the owner's pick 2026-10-08: "cool mist"): white to a pale grey-blue, the
     tints the family's cool ones — teal above, sky at the right, lavender at the foot; the cream
     with its warm sun and blush washes is what left */
  --page: radial-gradient(1100px 500px at 50% -10%, rgba(157,210,207,.20), transparent 62%),
          radial-gradient(900px 520px at 100% 0%,  rgba(157,187,210,.16), transparent 58%),
          radial-gradient(1100px 600px at 0% 100%, rgba(174,161,207,.14), transparent 60%),
          linear-gradient(180deg,#FCFBFE,#F6F7FA 55%,#F1F4F7);
}

* { box-sizing:border-box; margin:0; padding:0; }
[hidden] { display:none !important; }   /* the Sunny lesson: the attribute must win */

html { overflow-x:hidden; }
body {
  font-family:"Avenir Next","Nunito","Quicksand","Segoe UI",system-ui,sans-serif;
  color:var(--ink); background:var(--page); background-attachment:fixed;
  min-height:100vh; display:flex; flex-direction:column; align-items:center;
  padding:clamp(14px,2.5vw,24px) clamp(14px,4vw,28px) clamp(30px,5vw,52px);
}
.mono { font-family:"SF Mono",ui-monospace,Menlo,monospace; }

/* ── header: brand + log in ── */
.top {
  width:100%; max-width:1020px; display:flex; align-items:center;
  justify-content:space-between; gap:14px; flex-wrap:wrap;
}
.brand { display:flex; align-items:center; gap:10px; }
/* the company's lockup: the file has no empty border, so its height IS the
   hexagon's height (30px, the old mark's size); the width follows the file */
.brand .lockup { display:block; height:30px; width:auto; }
.login {
  font-size:clamp(12.5px,2.2vw,13.5px); color:var(--ink); text-decoration:none;
  background:var(--card); border:1px solid var(--hair); border-radius:999px;
  padding:8px 18px; box-shadow:0 2px 10px -6px rgba(120,100,60,.35);
  transition:box-shadow .3s var(--ease-calm), transform .3s var(--ease-calm);
}
.login:focus-visible {
  outline:none; transform:translateY(-1px);
  box-shadow:0 0 0 3px color-mix(in srgb, var(--sun) 40%, transparent),
             0 10px 24px -12px color-mix(in srgb, var(--sun) 60%, transparent);
}
/* MOBILE-1 A2 (2026-10-19): the press — a thumb's only feedback on a zero-JS page while GET /start works */
.login:active { transform:translateY(1px); box-shadow:0 1px 4px -3px rgba(120,100,60,.35); }

/* the account nav (the login pill). ES-V1 (2026-10-15, BL-33): the page is
   Spanish only, so the two-language rules (PLAN-logos.md §9) and the switch
   link are gone. */
.top nav { display:flex; align-items:center; gap:6px; }

/* ── hero — owner copy slots ── */
.hero { text-align:center; margin-top:clamp(34px,7vw,66px); max-width:660px; }
.hero h1 { font-size:clamp(23px,4.6vw,33px); font-weight:600; letter-spacing:-.01em; line-height:1.25; }
.hero .lead { margin-top:12px; color:var(--muted); font-size:clamp(13px,2.4vw,15px); line-height:1.65; }

/* ── the five categories — the page's centrepiece ──
   Fixed-size tiles that wrap; each <a> carries its own --c inline. */
.cats {
  list-style:none; display:flex; flex-wrap:wrap; justify-content:center;
  gap:clamp(14px,2.6vw,22px); margin-top:clamp(30px,6vw,54px);
  width:100%; max-width:1020px;
}
.cat {
  --c:var(--wood);
  display:flex; flex-direction:column; align-items:center; text-align:center;
  width:178px; min-height:196px; padding:20px 14px 16px;
  background:linear-gradient(180deg, rgba(255,255,255,.55), transparent 46%), var(--card);
  border:1px solid var(--hair); border-radius:22px; text-decoration:none; color:inherit;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6), 0 10px 26px -18px rgba(120,100,60,.35);
  transition:box-shadow .32s var(--ease-calm), transform .32s var(--ease-calm), border-color .32s var(--ease-calm);
}
/* SERVICE-SWITCH-1 (W-fe470b9a-2) — two cards or more. The server writes data-cards, --k and --slot on the list (lib/landing-cards, the
   one rule; no number of it is restated here); the lone page carries none of them, so none of this applies there and its card keeps
   its own inline sizes, which is why these beat them with !important. Each card is the smaller of its size and half the list, so two
   stand side by side down to a 320 px phone, and its height follows by the lone card's own ratio. The words stop shrinking at 10.5 px
   and wrap instead. Across a row the logos share one line and the words another, so the cards read as aligned. */
.cats[data-cards] {
  --gap:clamp(14px,2.6vw,22px);
  --cw:min(calc(236px * var(--k)), calc((100% - var(--gap)) / 2));
  display:grid; grid-template-columns:repeat(2, var(--cw)); grid-auto-rows:1fr; justify-content:center; gap:var(--gap);
}
.cats[data-cards="3"] > li:nth-child(3) { grid-column:1 / -1; justify-self:center; width:var(--cw); }
.cats[data-cards] > li { min-width:0; display:flex; }
.cats[data-cards] .cat {
  width:100% !important; min-height:auto !important; aspect-ratio:236 / 304;
  padding:calc(28px * var(--k)) !important; border-radius:calc(22px * var(--k));
}
.cats[data-cards] .name { display:flex; align-items:center; justify-content:center; width:100%; height:calc(var(--slot) * var(--k)); flex:none; }
.cats[data-cards] .name img { height:calc(var(--lh, 58px) * var(--k)) !important; max-width:100%; object-fit:contain; }
.cats[data-cards] .desc {
  display:flex; align-items:center; justify-content:center; width:100%; flex:none;
  margin-top:calc(28px * var(--k)) !important; padding:calc(10px * var(--k)) max(4px, calc(20px * var(--k) - 6px)) !important;
  min-height:calc(2 * 1.3em + 2 * 10px * var(--k) + 2px);
  border-radius:calc(10px * var(--k)) !important; font-size:max(10.5px, calc(13.5px * var(--k))) !important;
  line-height:1.3; text-wrap:balance;
}
/* the hint (LL-1, the owner: "a very gentle glow to the service cards after 2 second … hinting
   to choose"): 2 s after the page opens every tile breathes slowly in ITS OWN colour, on a glow
   layer under the tile — never the tile's own box-shadow, so hover, focus and the pick keep
   theirs — and it stops the moment anything is picked (the :has() rule under .cats) */
.cat { isolation:isolate; }
.cat::before {
  content:""; position:absolute; inset:0; border-radius:inherit; z-index:-1; pointer-events:none; opacity:0;
  box-shadow:0 0 0 3px color-mix(in srgb, var(--c) 32%, transparent),
             0 16px 38px -14px color-mix(in srgb, var(--c) 66%, transparent);
  animation:hint 4s var(--ease-calm) 2s infinite;
}
@keyframes hint { 0%, 100% { opacity:0; } 50% { opacity:.9; } }

/* the gentle themed glow — hover and keyboard focus are the SAME state, so the
   glow doubles as the focus ring (never remove it without replacing it).
   MOBILE-1 A2 (2026-10-19): the HOVER half lives behind (hover:hover) and (pointer:fine) — a phone has no hover, and a tile
   tapped stayed lifted and glowing after a back-forward-cache return; the FOCUS half stays for every keyboard. */
.cat:focus-visible {
  outline:none; transform:translateY(-3px); border-color:color-mix(in srgb, var(--c) 45%, var(--hair));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6),
             0 0 0 3px color-mix(in srgb, var(--c) 30%, transparent),
             0 16px 38px -16px color-mix(in srgb, var(--c) 62%, transparent);
}
.cat:active { transform:translateY(1px); }
.cat .disc {
  width:64px; height:64px; border-radius:50%; display:grid; place-items:center;
  color:var(--ink); background:color-mix(in srgb, var(--c) 26%, var(--card));
  border:1px solid color-mix(in srgb, var(--c) 40%, var(--hair));
  transition:background .32s var(--ease-calm);
}
.cat:focus-visible .disc { background:color-mix(in srgb, var(--c) 40%, var(--card)); }
@media (hover:hover) and (pointer:fine) {
  .login:hover {
    outline:none; transform:translateY(-1px);
    box-shadow:0 0 0 3px color-mix(in srgb, var(--sun) 40%, transparent),
               0 10px 24px -12px color-mix(in srgb, var(--sun) 60%, transparent);
  }
  .cat:hover {
    outline:none; transform:translateY(-3px); border-color:color-mix(in srgb, var(--c) 45%, var(--hair));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.6),
               0 0 0 3px color-mix(in srgb, var(--c) 30%, transparent),
               0 16px 38px -16px color-mix(in srgb, var(--c) 62%, transparent);
  }
  .cat:hover .disc { background:color-mix(in srgb, var(--c) 40%, var(--card)); }
}
.cat .disc svg { width:32px; height:32px; }
.cat .name { margin-top:12px; font-weight:600; font-size:15px; letter-spacing:.02em; }
/* the one-sentence scope, just below the icon + name */
.cat .desc { margin-top:6px; color:var(--muted); font-size:11.8px; line-height:1.5; }

/* categories four & five are unnamed placeholders until the owner names them —
   the dashed treatment is deliberate: it must LOOK undecided, not broken */
.cat.tbd { border-style:dashed; }
.cat.tbd .disc { border-style:dashed; background:color-mix(in srgb, var(--c) 14%, var(--card)); }
.cat.tbd .name { color:var(--muted); font-style:italic; font-weight:500; }

/* ── round 3: the tiles are SELECTORS (charter §12 R4) — still zero JS ──
   The checkbox is visually hidden but real: :has(:checked) draws the picked
   state, keyboard reaches it (:focus-visible inside lights the tile), and the
   plain GET form posts every picked value to /start. When lib/landing.ts
   serves the inert variants it strips the inputs — a label with no input is
   just a display card, so these rules simply stop matching. */
.pick { display:flex; flex-direction:column; align-items:center; width:100%; }
.pickbox {
  position:absolute; width:1px; height:1px; margin:-1px; padding:0;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}
.cat { cursor:pointer; position:relative; }
.cat:has(.pickbox:checked) {
  border-color:color-mix(in srgb, var(--c) 70%, var(--hair));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6),
             0 0 0 3px color-mix(in srgb, var(--c) 45%, transparent),
             0 16px 38px -16px color-mix(in srgb, var(--c) 70%, transparent);
}
.cat:has(.pickbox:checked) .disc { background:color-mix(in srgb, var(--c) 52%, var(--card)); }
.cat:has(.pickbox:checked)::after {
  content:"✓"; position:absolute; top:10px; right:12px;
  font-size:13px; font-weight:700; color:color-mix(in srgb, var(--c) 80%, var(--ink));
}
.cat:has(.pickbox:focus-visible) {
  transform:translateY(-3px); border-color:color-mix(in srgb, var(--c) 45%, var(--hair));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6),
             0 0 0 3px color-mix(in srgb, var(--c) 30%, transparent),
             0 16px 38px -16px color-mix(in srgb, var(--c) 62%, transparent);
}

/* a pick (LL-1): the hint stops, and the picked service's colour reaches the button — one rule per
   tile in the HTML's order, the last picked in that order wins when several are picked */
.pick:has(.pickbox:checked) .cat::before { animation:none; }
.pick:has(.cats > li:nth-child(1) .pickbox:checked) .continue { --go:var(--svc1); }
.pick:has(.cats > li:nth-child(2) .pickbox:checked) .continue { --go:var(--svc2); }
.pick:has(.cats > li:nth-child(3) .pickbox:checked) .continue { --go:var(--svc3); }
.pick:has(.cats > li:nth-child(4) .pickbox:checked) .continue { --go:var(--svc4); }
.pick:has(.cats > li:nth-child(5) .pickbox:checked) .continue { --go:var(--svc5); }

/* the continue bar under the tiles */
.go { margin-top:clamp(18px,3vw,26px); display:flex; align-items:center; gap:14px; flex-wrap:wrap; justify-content:center; }
/* the "agendar" button (LL-1): a soft pill in --go — teal at rest, the picked service's colour after
   a pick — with ink text; the gold left (the palette's rule: never brown). The glow after a pick
   lives on a layer under the button, so the hover ring stays what it was */
.continue {
  font:inherit; font-weight:650; font-size:14.5px; letter-spacing:.02em; position:relative; isolation:isolate;
  color:var(--ink); background:linear-gradient(180deg, rgba(255,255,255,.55), transparent 60%), color-mix(in srgb, var(--go) 38%, var(--card));
  border:1px solid color-mix(in srgb, var(--go) 70%, var(--hair));
  border-radius:999px; padding:11px 30px; cursor:pointer; text-decoration:none;
  box-shadow:0 10px 24px -14px color-mix(in srgb, var(--go) 70%, transparent);
  transition:transform .32s var(--ease-calm), box-shadow .32s var(--ease-calm), background .32s var(--ease-calm), border-color .32s var(--ease-calm);
}
.continue:hover, .continue:focus-visible {
  outline:none; transform:translateY(-2px);
  box-shadow:0 0 0 3px color-mix(in srgb, var(--go) 35%, transparent),
             0 14px 30px -14px color-mix(in srgb, var(--go) 80%, transparent);
}
.continue::after {
  content:""; position:absolute; inset:-2px; border-radius:inherit; z-index:-1; pointer-events:none; opacity:0;
  box-shadow:0 0 0 4px color-mix(in srgb, var(--go) 40%, transparent),
             0 14px 34px -10px color-mix(in srgb, var(--go) 85%, transparent);
}
.pick:has(.pickbox:checked) .continue::after { animation:glow 2.6s var(--ease-calm) infinite; }
@keyframes glow { 0%, 100% { opacity:.25; } 50% { opacity:1; } }
.gohint { color:var(--muted); font-size:12px; }

/* the logged pill: the home-styled dashboard button (server-substituted) */
.login.home::before { content:"⌂ "; }

/* ── owner information band — replace freely, structure is disposable ── */
.info {
  margin-top:clamp(40px,7vw,72px); width:100%; max-width:1020px;
  display:flex; flex-wrap:wrap; justify-content:center; gap:clamp(12px,2.2vw,18px);
}
.info .card {
  flex:1 1 280px; max-width:326px; background:var(--panel); border:1px solid var(--hair);
  border-radius:18px; padding:16px 18px;
}
.info h2 { font-size:14.5px; font-weight:600; }
.info p { margin-top:7px; color:var(--muted); font-size:12.5px; line-height:1.6; }
.info .k { font-family:"SF Mono",ui-monospace,Menlo,monospace; font-size:11.5px; letter-spacing:.12em; color:var(--gold); text-transform:uppercase; }   /* MOBILE-1 A1: 9.5 → 11.5 px */

/* ── footer ── */
footer {
  margin-top:clamp(40px,7vw,70px); width:100%; max-width:1020px; text-align:center;
  color:var(--muted); font-size:12.5px; line-height:1.7;   /* MOBILE-1 A1: 11.5 → 12.5 px */
  border-top:1px solid var(--hair); padding-top:18px;
}
/* MOBILE-1 A1 (2026-10-19, the owner's BL-175): under a coarse pointer the returning patient's only door and the footer's
   three links are 44 px targets; a mouse keeps the drawn sizes */
@media (pointer:coarse) {
  .login { min-height:44px; display:inline-flex; align-items:center; }
  footer a { display:inline-block; padding:12px 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .cat, .login, .cat .disc, .continue { transition:none; }
  .cat:focus-visible, .cat:active, .login:focus-visible, .login:active { transform:none; }
  .cat::before, .continue::after { animation:none; }
  .pick:has(.pickbox:checked) .continue::after { opacity:1; }   /* the picked state still shows, still */
}

/* sala:start */
/* ── la sala (decor) ─────────────────────────────────────────────────────────────────────────
   One room with depth behind the page: walls, a floor in perspective, a few things standing where they stand for a reason
   (the lab's door, shelves of children's books, the brain on its table, the parents' bench, the children's corner). The page's content
   (header, headline, lead, tiles, agendar row, information cards, footer) is a layer on top of it. There is ONE picture and a CUT per width
   class (the owner's "different picture frames": a phone shows the part of the room that fits it, never a rebuilt room): the picture is
   positioned in pixels and a narrower window crops its walls and everything they carry like a photograph; pieces keep the computer's size.
   Decoration only: under everything (z-index -2), clipped to the page (no sideways scroll), aria-hidden, no pointer events, no words,
   no motion. Generated by scripts/landing-decor/art.py (edit there, not here).
   The layer ships with an inline display:none that only this sheet lifts, so a browser still holding the previous
   premics.css (cached 300 s) shows the page without it; [hidden] on it still wins. The lift and everything that goes
   with it live in one @supports block: a browser that cannot answer :has() or container queries gets the page as it was,
   never half a room.
   Every width in this block (the five classes, the pool groups, the frame offsets) is the LAYER's own width, read through a size
   container (container-type:inline-size on the layer, which is as wide as the page's body), never the viewport's: a classic 15-17 px
   scrollbar makes the viewport wider than the page. No rule of this block is about the page's own elements: the layer, its cuts and its pools only. */
body { position:relative; }
@supports selector(body:has(> .cuarto)) and (container-type:inline-size) {
.cuarto { display:block !important; position:absolute; inset:0; overflow:hidden; z-index:-2; pointer-events:none; user-select:none; container-type:inline-size; }
.cuarto .sa-defs { position:absolute; width:0; height:0; }
/* the foot of the page fades into the mist (the footer's small grey text keeps its contrast) */
.cuarto::after { content:""; position:absolute; left:0; right:0; bottom:0; height:240px; background:linear-gradient(to top, rgba(252,251,254,.9), rgba(252,251,254,.6) 45%, rgba(252,251,254,0)); }
.cuarto .sv { position:absolute; display:block; top:-50px; left:100%; width:5600px; height:3200px; margin-left:-3358px; overflow:visible; }
/* the light-pool groups (the pools behind the small grey texts, one group per stack threshold; the title is centred on the page at every width): the narrowest is the default */
.cuarto .pD, .cuarto .pT0, .cuarto .pT, .cuarto .pM0, .cuarto .pMa, .cuarto .pMb, .cuarto .pLb { display:none; }
/* the picture's cut per width class: the room's x behind the page's centre, and the picture's top, at each class's reference width; from the very wide class on the picture's two ends fade into the mist */
@container (min-width:403px) { .cuarto .sv { left:100%; margin-left:-3358px; top:-50px; } .cuarto .pP { display:none; } .cuarto .pD { display:inline; } }
@container (min-width:616px) { .cuarto .sv { left:100%; margin-left:-3358px; top:-60px; } .cuarto .pD { display:none; } .cuarto .pT0 { display:inline; } }
@container (min-width:618px) { .cuarto .pT0 { display:none; } .cuarto .pT { display:inline; } }
@container (min-width:833px) { .cuarto .sv { left:100%; margin-left:-3358px; top:0px; } .cuarto .pT { display:none; } .cuarto .pM0 { display:inline; } }
@container (min-width:835px) { .cuarto .pM0 { display:none; } .cuarto .pMa { display:inline; } }
@container (min-width:1044px) { .cuarto .pMa { display:none; } .cuarto .pMb { display:inline; } }
@container (min-width:1116px) { .cuarto .sv { left:50%; margin-left:-2800px; top:0px; } .cuarto .pMb { display:none; } .cuarto .pLb { display:inline; } }
@container (min-width:2200px) { .cuarto .sv { left:50%; margin-left:-2800px; top:0px; -webkit-mask-image:linear-gradient(90deg, transparent, #000 280px, #000 calc(100% - 280px), transparent); mask-image:linear-gradient(90deg, transparent, #000 280px, #000 calc(100% - 280px), transparent); } }
/* MOBILE-1 A7 (2026-10-19, the owner's BL-175: "sometimes the frame of the left corner, sometimes right, other times middle"): the server puts ONE
   frame class on the layer per visit (lib/landing.ts landingFrame — the visitor cookie's hash, else the minute; no script, no new cookie).
   The right frame is the room as it was (the default crop above); the middle frame centres the room as the wide classes do; the left
   frame mirrors the right one around the room's centre. Only the crop's x moves: the tops below and the pools' classes stay. */
.cuarto.frame-middle .sv { left:50%; margin-left:-2800px; }
/* REFINE-1 (2026-10-22, the owner's BL-339: "focus it the main stories to be the eye candy the we built. Specially in mobile editions"): the left
   and right frames are no longer cuts of the back wall but the room's two corners, each centred on the owner's own capture of it (taken in a wide
   window at 0.89 scale and matched to the picture pixel by pixel): the left frame the children's side — the books, the corner table with the
   teddy, the train, the plant — room x −789 … −344, centre −566; the right frame the lab's side — the archive, the alphabet chart, the MRI frame,
   the bench, the brain at its edge — room x 446 … 851, centre 648 (room x = sheet x − 2800). A narrower phone loses the same from both sides of
   the capture, a wider one gains on both. The middle frame stays the back wall (BL-175's three). Only the crop's x moves, as in A7. */
.cuarto.frame-left .sv { left:50%; margin-left:-2234px; }
.cuarto.frame-right .sv { left:50%; margin-left:-3448px; }
/* LANDING-FRAMES (2026-10-19, the owner's BL-205: "the different location frame capture is more for mobile devices … a big screen would always
   get the standard version centered perspective"): the captures are for the widths that cannot hold the frame. The frame is the drawing's
   own back wall (x 2257–3343, 1086 wide, centred on 2800) plus the 15 px above on each side: 1116 px, the centred class's boundary. From it
   on every visit's class takes the centred standard; below it the three captures stay as A7 put them. Nothing moves; nothing is redrawn. */
@container (min-width:1116px) { .cuarto.frame-left .sv, .cuarto.frame-middle .sv, .cuarto.frame-right .sv { left:50%; margin-left:-2800px; } }
/* the frame follows the content: the first tile's top moves with the headline's lines and the type size; every class's rules are bounded to its own widths (one picture, five classes) */
@container (max-width:329px) { .cuarto .sv { top:-31px; } }
@container (min-width:403px) and (max-width:429px) { .cuarto .sv { top:-19px; } }
@container (min-width:429px) and (max-width:523px) { .cuarto .sv { top:calc(-50px + (100cqw - 429px) * 0.022); } }
@container (min-width:523px) and (max-width:560px) { .cuarto .sv { top:calc(-47px + (100cqw - 523px) * 0.111); } }
@container (min-width:560px) and (max-width:583px) { .cuarto .sv { top:calc(-41px + (100cqw - 560px) * 0.227); } }
@container (min-width:583px) and (max-width:607px) { .cuarto .sv { top:calc(-34px + (100cqw - 583px) * 0.217); } }
@container (min-width:607px) and (max-width:615.99px) { .cuarto .sv { top:calc(-27px + (100cqw - 607px) * 0.250); } }
@container (min-width:616px) and (max-width:746px) { .cuarto .sv { top:calc(-87px + (100cqw - 616px) * 0.188); } }
@container (min-width:746px) and (max-width:832.99px) { .cuarto .sv { top:calc(-63px + (100cqw - 746px) * 0.105); } }
@container (min-width:833px) and (max-width:972px) { .cuarto .sv { top:calc(-11px + (100cqw - 833px) * 0.080); } }
/* LEAD-FRAME-1 (2026-10-22, the owner's BL-344/345: "to be tiny bit less height and to be excatly framing «Completa tu información y agenda
   tu consulta.» in its new position"): the white band behind the lead. Its tops were set for the old two-line lead, so with the one-line
   lead it sat behind «SELECCIONA CON UN CLIC» and the card. Measured, not guessed: the real page rendered at every 4 px from 300 to 1120 and
   at 1116–2560, the lead's line box read back as pixels; each top below puts the band's middle on the line's middle within 1 px. 56 px tall
   around one line (its solid part 32 px between the 12 px fades), 64 where the lead still wraps (below 327 px). The headline goes to one line
   from 429 px, hence the jump there. A phone's pointer gives the login pill its 44 px floor, the header grows and the lead sits lower: the
   coarse offsets below (7.9 px while the pill's type is 12.5 px, 7 px once it reaches 13.5). test/lead-frame-1.test.ts holds the measures:
   a change above the lead moves it, so measure again and change these tops with the fixture. */
.cuarto .kb { position:absolute; left:50%; transform:translateX(-50%); width:min(420px, calc(100cqw - 30px)); height:56px; top:0; background:linear-gradient(90deg, transparent, #F9F9FC 24px, #F9F9FC calc(100% - 24px), transparent); -webkit-mask-image:linear-gradient(transparent, #000 12px, #000 calc(100% - 12px), transparent); mask-image:linear-gradient(transparent, #000 12px, #000 calc(100% - 12px), transparent); }
@container (max-width:326.99px) { .cuarto .kb { height:64px; top:151.1px; } }
@container (min-width:327px) and (max-width:428.99px) { .cuarto .kb { top:143.6px; } }
@container (min-width:429px) and (max-width:519.99px) { .cuarto .kb { top:calc(112.2px + (100cqw - 429px) * 0.0188); } }
@container (min-width:520px) and (max-width:583.99px) { .cuarto .kb { top:calc(114.4px + (100cqw - 520px) * 0.1458); } }
@container (min-width:584px) and (max-width:647.99px) { .cuarto .kb { top:calc(124.5px + (100cqw - 584px) * 0.1855); } }
@container (min-width:648px) and (max-width:759.99px) { .cuarto .kb { top:calc(136.4px + (100cqw - 648px) * 0.142); } }
@container (min-width:760px) and (max-width:959.99px) { .cuarto .kb { top:calc(151.3px + (100cqw - 760px) * 0.0934); } }
@container (min-width:960px) { .cuarto .kb { top:169.2px; } }
@container (min-width:616px) { .cuarto .kb { --kb-coarse-drop:7px; } }
@media (pointer:coarse) { .cuarto .kb { margin-top:var(--kb-coarse-drop, 7.9px); } }
}
.cuarto[hidden] { display:none !important; }
@media print, (forced-colors: active) {
  .cuarto { display:none !important; }
}
/* sala:end */
