/* ix-glance-b.css: the coverage glance, direction B, "policy cards as the glance" (21 October 2026, the glance-design workflow).
   Markup: prototype/app/ix-glance-b.js. Everything here is the existing system: Policies' gray policy card (base.css 10.1, the
   small capsule from policies.css), the dashed could-add card (rest.css), the mint check (insights.css .rca-ck), the secondary
   button, the link, the insight's foot (.v8-ix-f) and the explainer drawer (.v8-xd). This file only places them: the grid's
   columns by the card's own width, the finding under each name, the foot that holds a price and one button. No new colour, no font
   size or weight outside the five sizes and two weights, none inside a query */

#v8 #app .igb-ins .igb-grid { margin: 0; padding: 0; list-style: none; }

/* Columns by the insight's own width (the chart is a container, v8ixb): three across from 880 (a card of about 300, a little wider
   than Policies' four), two from 480, one below. Her four, then the two she doesn't have, in one grid: Janne's order read left to
   right, the dashed edge telling the two kinds apart. Layout responds; type never does */
#v8 #app .igb-ins .v8-grid.igb-grid { --cols: 1; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
@container v8ixb (min-width: 480px) { #v8 #app .igb-ins .v8-grid.igb-grid { --cols: 2; } }
@container v8ixb (min-width: 880px) { #v8 #app .igb-ins .v8-grid.igb-grid { --cols: 3; } }

/* The card: Policies' card as it is. A card that isn't a link (a change, a gap) has the same gray or dashed surface and no hover:
   only its buttons hover (the hover rule: the whole card hovers only when the whole card is one link) */
#v8 #app .igb-ins .igb-pc .v8-pc-tx > .v8-cn { margin: 0; }
#v8 #app .igb-ins .igb-pc :is(p, h3) { margin: 0; }

/* The finding under the name: its first line 16 Bold ink (the mint check and "Right as it is", or the change in the portal's
   words), then one line 16 secondary, then Why am I seeing this? */
#v8 #app .igb-ins .igb-f { display: grid; gap: var(--v8-1); margin-top: var(--v8-2); }
#v8 #app .igb-ins .igb-ok { display: flex; align-items: center; gap: var(--v8-2); min-height: 28px; margin-bottom: var(--v8-1); }
#v8 #app .igb-ins .igb-ok .rca-ck { flex: none; margin: 0; }
#v8 #app .igb-ins :is(.igb-ok b, .igb-ch) { display: block; color: var(--v8-ink); font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 700 !important; font-variant-numeric: tabular-nums; }
#v8 #app .igb-ins .igb-ln { display: block; max-width: 34ch; color: var(--v8-ink-2); font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 400 !important; }
#v8 #app .igb-ins .igb-wy { margin-top: var(--v8-1); }
#v8 #app .igb-ins .igb-whyb { min-height: 44px; font-size: var(--v8-fs-16) !important; font-weight: 400 !important; text-align: left; }

/* The foot of a card with a button: the price change, then the button; side by side where they fit, the button under the price on
   a narrow card */
#v8 #app .igb-ins .igb-foot { flex-wrap: wrap; justify-content: space-between; gap: var(--v8-3) var(--v8-4); }
#v8 #app .igb-ins .igb-foot .v8-price { min-width: 0; }
#v8 #app .igb-ins .igb-foot .igb-go { flex: none; }

/* The optional line under the gaps (health insurance), 16 secondary with its link */
#v8 #app .igb-ins .igb-opt { max-width: var(--v8-measure); margin: var(--v8-4) 0 0; color: var(--v8-ink-2); }
#v8 #app .igb-ins .igb-opt .v8-link { font-weight: 400 !important; }

/* The insight's foot: the basis and the offers sentence, Turn off offers at its right */
#v8 #app .igb-ins .igb-f2 { margin-top: var(--v8-6); }
#v8 #app .igb-ins .igb-offb { flex: none; min-height: 44px; font-size: var(--v8-fs-16) !important; font-weight: 400 !important; }

/* Why am I seeing this? (the explainer drawer): each value with its source under it, 16 Regular secondary */
#v8 .igb-why .igb-src { display: block; margin-top: var(--v8-1); color: var(--v8-ink-2); font-weight: 400 !important; }
#v8 .igb-why .igb-wg p { margin: 0; color: var(--v8-ink); }
#v8 .igb-why .igb-wg h3 + p { margin-top: var(--v8-2); }
#v8 .igb-why .igb-w-a { margin-top: var(--v8-1) !important; }
#v8 .igb-why .igb-w-a .v8-link { min-height: 44px; font-size: var(--v8-fs-16) !important; font-weight: 400 !important; }

/* "Not insured" in the secondary gray, as Home's could-add cards say it; the deep green word stays for a package she has */
#v8 #app .igb-ins .igb-pc-gap .v8-meter .v8-mt-w { color: var(--v8-ink-2); }

/* One column (a phone): the art goes beside the name, at 48 as the offer's item card has it, so six cards don't each open with
   96 of art and air. Everything under the name keeps its order and spacing; the name needs no second line to align with */
@container v8ixb (max-width: 479px) {
  #v8 #app .igb-ins .igb-pc { display: grid !important; grid-template-columns: 48px minmax(0, 1fr); column-gap: var(--v8-4); align-items: center; align-content: start; min-height: 0; }
  #v8 #app .igb-ins .igb-pc > .v8-pc-art { width: 48px; height: 48px; }
  #v8 #app .igb-ins .igb-pc > .v8-pc-art :is(img, svg) { width: 48px !important; height: 48px !important; }
  #v8 #app .igb-ins .igb-pc > .v8-pc-tx { display: contents !important; }
  #v8 #app .igb-ins .igb-pc > .v8-pc-tx > .v8-cn { min-height: 0; }
  #v8 #app .igb-ins .igb-pc :is(.igb-f, .v8p-pc-lv, .v8-pc-foot) { grid-column: 1 / -1; }
  #v8 #app .igb-ins .igb-pc .igb-f { margin-top: var(--v8-4); }
  #v8 #app .igb-ins .igb-pc > .v8p-pc-lv { padding-top: var(--v8-4); }
}
/* What we used: each fact stacked, its name (secondary), the value (Bold), where it comes from (secondary), so a long value never
   splits the row; How we worked this out keeps the drawer's own label and figure on one line */
#v8 .igb-why .igb-used > div { display: grid; justify-content: stretch; gap: var(--v8-1); }
#v8 .igb-why .igb-used dd { text-align: left; }
/* The narrowest column (a 320 phone, under 280 for the cards): the name needs the card's whole width ("Entrepreneur's" must not
   break), so the art goes back above it, still 48 */
@container v8ixb (max-width: 279px) {
  #v8 #app .igb-ins .igb-pc > .v8-pc-tx > .v8-cn { grid-column: 1 / -1; margin-top: var(--v8-4); }
}
