/* ============================================================================
   studio_app_w5.css — WEB BAND W5, 2026-09-23: TODAY'S LIVE LOOKUP + THE
   CONSTELLATION CARD. Markup: studio_app_b1.js (the field, the card);
   behaviour: studio_app_w5.js. Linked LAST, after studio_app_w4.css.

   ⛔ SCOPE: every rule under body.hts-studio (the preview gate).
   ⛔ COLOUR: `--app-*` tokens only (plus band B1's own derived roles on
      .b1-today) — no hex. The night bed is fixed in both themes (§A.6), so the
      card's inks are fixed too.

   MEASURED CONTRAST on the night bed (WCAG, from the tokens' own values):
     --app-on-night #EFF6FF      on --app-night #102E50  12.62:1
                                 on --app-night-lift #244869  8.75:1
     --app-on-night-muted #A9C4DD on --app-night        7.61:1
                                 on --app-night-lift   5.27:1
   Every ink on the card is one of those two at full opacity, so the worst
   case anywhere under the glow is 5.27:1 (AA for the 10px overline).
   ============================================================================ */

/* ------------------------------------------------------------ the lookup ---
   B1's bridging shell, unchanged in look, now holding a real field. The
   wrapper takes the shell's placement (the -29px bridge, the inset width) so
   the anchored panel (.b3-panel, band B3's) hangs from the field's own box. */
body.hts-studio.hts-studio.hts-studio .b1-find{
  position:relative;
  z-index:3;
  width:calc(100% - (var(--app-gap-l) * 2));
  margin:-29px auto 0;
}
body.hts-studio.hts-studio.hts-studio .b1-find > .b1-lookup{
  width:100%;
  margin:0;
  cursor:text;
}
/* focus is a state on the shell that is already there — its edge, not a ring
   added around it */
body.hts-studio.hts-studio.hts-studio .b1-find > .b1-lookup:focus-within{
  border-color:var(--app-brand);
}
/* the field's type is B3's (.b3-field input: title-m, 17px — at or above the
   16px iOS Safari needs to not zoom on focus); only its box is settled here */
body.hts-studio.hts-studio.hts-studio .b1-find input{
  align-self:stretch;
  padding:0;
  -webkit-appearance:none;
  appearance:none;
}

/* ------------------------------------------------- the Constellation card ---
   The same `_Portal` grammar as its three siblings (overline + arrow on the
   top line, the drawing in the upper-right interior, title and line pinned to
   the foot, one size by the grid) on the app's NIGHT surface, with the
   restrained lift glow toward the corner the drawing sits in — the header's
   own treatment, so the two night surfaces on Today read as one family. */
body.hts-studio.hts-studio.hts-studio .b1-card--cst{
  color:var(--app-on-night);
  border-color:var(--b1-rule-strong);
  background-color:var(--app-night);
  background-image:radial-gradient(ellipse 90% 75% at 100% 0%,var(--app-night-lift),transparent 72%);
}
body.hts-studio.hts-studio.hts-studio .b1-card--cst .b1-over{color:var(--app-on-night-muted)}
body.hts-studio.hts-studio.hts-studio .b1-card--cst .b1-card__go{color:var(--app-on-night-muted)}
body.hts-studio.hts-studio.hts-studio .b1-card--cst .b1-card__foot small{
  color:var(--app-on-night-muted);
  opacity:1;                         /* the measured ratio, not a faded one */
}
body.hts-studio.hts-studio.hts-studio .b1-card--cst .b1-card__body{
  align-items:flex-start;
  justify-content:flex-end;
}
/* the Explore emblem: ONE file (nav/light — the cream-ink drawing made for a
   dark bed), because this bed is night in both themes. Never tinted: the
   .st-appart img rule already pins filter/opacity. */
body.hts-studio.hts-studio.hts-studio .st-appart--w5cst img{display:block}
