/* ix-glance-c.css: the coverage glance, direction C, one calm table (21 October 2026; owner: the glance-design workflow, designer C).
   Markup: ../../prototype/app/ix-glance-c.js. Only v8 tokens and parts: the gray band is the approved two-column table's head
   (insights.css .rcm-band: #F5F5F5, radius 8, 12 in, heads 16 Bold ink), rows on #DDDDDD hairlines, the mint check of
   insights.css .rca-ck at its table size (24), the package capsule as V8.meter draws it, the secondary pill, prices as <b>amount</b>
   a month. Type 16/24 at 400 and 700 only, set with !important (the system's pitfall: older rules win otherwise). No font-size in
   any media or container query: only the grid responds, from the chart area's own width (.v8-ix-b is the v8ixb container). */

#v8 #app .glc-wrap { --glc-cols: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.4fr) 200px; --glc-gap: var(--v8-5); --glc-x: var(--v8-4); }
#v8 #app .glc-wrap { display: grid; gap: var(--v8-group); }
#v8 #app .glc-t { display: block; }

/* The head: one gray band per group, the group's name in its first cell, the column heads beside it */
#v8 #app .glc-band, #v8 #app .glc-r { display: grid; grid-template-columns: var(--glc-cols); column-gap: var(--glc-gap); padding: 0 var(--glc-x); }
#v8 #app .glc-band { align-items: center; min-height: 48px; padding-top: var(--v8-3); padding-bottom: var(--v8-3); border-radius: var(--v8-r-sm); background: var(--v8-gray); }
#v8 #app .glc-band > .glc-c, #v8 #app .glc-gt { margin: 0; color: var(--v8-ink); font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 700 !important; letter-spacing: 0; }

/* A row: the insurance, her cover, what we found, the action. The first lines of the three reading cells sit level with the middle
   of the 44 button (10 down), so a row reads straight across */
#v8 #app .glc-r { align-items: start; padding-top: var(--v8-4); padding-bottom: var(--v8-4); box-shadow: inset 0 -1px 0 var(--v8-line); }
#v8 #app .glc-r:last-child { box-shadow: none; }
#v8 #app .glc-r > .glc-c1, #v8 #app .glc-r > .glc-c2, #v8 #app .glc-r > .glc-c3 { padding-top: 10px; }
#v8 #app .glc-k-ok > .glc-c, #v8 #app .glc-k-private > .glc-c { padding-top: 0; }
#v8 #app .glc-k-ok, #v8 #app .glc-k-private { padding-top: var(--v8-5); padding-bottom: var(--v8-5); }
#v8 #app .glc-c { min-width: 0; color: var(--v8-ink); font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; font-weight: 400 !important; }
#v8 #app .glc-c1 { display: flex; align-items: flex-start; gap: var(--v8-3); }
#v8 #app .glc-ic { flex: none; display: grid; place-items: center; width: 24px; height: 24px; color: var(--v8-ink); }
#v8 #app .glc-ic svg { width: 24px; height: 24px; fill: currentColor; }
#v8 #app .glc-nm { font-weight: 700 !important; }
#v8 #app span.glc-nm { color: var(--v8-ink); }
#v8 #app .glc-c2, #v8 #app .glc-c3 { display: flex; flex-direction: column; align-items: flex-start; gap: var(--v8-1); }
#v8 #app .glc-cv { display: flex; align-items: center; min-height: 24px; }
#v8 #app .glc-l { color: var(--v8-ink-2); max-width: 36ch; }
#v8 #app .glc-v { font-weight: 700 !important; color: var(--v8-ink); }
#v8 #app .glc-none .v8-mt-w { color: var(--v8-ink-2); }

/* Right as it is: the mint check (insights.css .rca-ck at 24, the table size), the word in ink, never link green */
#v8 #app .glc-ok { display: inline-flex; align-items: center; gap: var(--v8-2); color: var(--v8-ink); }
#v8 #app .glc-ck { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--v8-mint); box-shadow: inset 0 0 0 1.5px #8FD498; }
#v8 #app .glc-ck svg { width: 14px; height: 14px; fill: var(--v8-green-t); }
#v8 #app .glc-c3 > .glc-ok + .glc-l { padding-left: 32px; }

/* The action: the secondary pill, its price under it, then the reason's button; right-aligned, as prices are */
#v8 #app .glc-c4 { display: flex; flex-direction: column; align-items: flex-end; gap: var(--v8-1); text-align: right; }
#v8 #app .glc-btn { margin-bottom: var(--v8-1); white-space: nowrap; }
#v8 #app .glc-pr { color: var(--v8-ink-2); white-space: nowrap; }
#v8 #app .glc-pr b { color: var(--v8-ink); font-weight: 700 !important; }
#v8 #app .glc-why { font-weight: 400 !important; text-align: right; }

/* The foot: the basis, then the offers line, one under the other */
#v8 #app .glc-f { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: var(--v8-2); }
#v8 #app .glc-f > p { flex: none; margin: 0; }
#v8 #app .glc-off .v8-link { font-weight: 400 !important; }

/* "Why am I seeing this?": the dialog's words */
#v8 .v8-dlgw .glc-wd { display: grid; gap: var(--v8-3); max-width: var(--v8-measure); }
#v8 .v8-dlgw .glc-wd p { margin: 0; font-size: var(--v8-fs-16) !important; line-height: var(--v8-lh-16) !important; color: var(--v8-ink); }
#v8 .v8-dlgw .glc-wd .glc-wd-h { font-weight: 700 !important; }

/* Medium: the action column narrows */
@container v8ixb (max-width: 959px) {
  #v8 #app .glc-wrap { --glc-cols: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.2fr) 184px; --glc-gap: var(--v8-4); --glc-x: var(--v8-3); }
}
/* Narrow (phones, a 1024 window with the menu open): the name across the row, then her cover and what we found side by side,
   then the action. The band keeps its two heads over the two columns, so they still name what is under them */
@container v8ixb (max-width: 719px) {
  #v8 #app .glc-wrap { --glc-cols: minmax(0, 1fr) minmax(0, 1fr); --glc-gap: var(--v8-4); --glc-x: 0px; }
  #v8 #app .glc-band { padding-left: var(--v8-3); padding-right: var(--v8-3); row-gap: var(--v8-1); }
  #v8 #app .glc-band > .glc-c1 { grid-column: 1 / -1; }
  #v8 #app .glc-band > .glc-c2, #v8 #app .glc-band > .glc-c3 { font-weight: 400 !important; color: var(--v8-ink-2); }
  #v8 #app .glc-band > .glc-c4 { display: none; }
  #v8 #app .glc-r { row-gap: var(--v8-3); padding-top: var(--v8-5); padding-bottom: var(--v8-5); }
  #v8 #app .glc-r > .glc-c { padding-top: 0 !important; }
  #v8 #app .glc-r > .glc-c1 { grid-column: 1 / -1; }
  #v8 #app .glc-r > .glc-c4 { grid-column: 1 / -1; align-items: flex-start; text-align: left; }
  #v8 #app .glc-r > .glc-c4:empty { display: none; }
  #v8 #app .glc-why { text-align: left; }
  #v8 #app .glc-c3 > .glc-ok + .glc-l { padding-left: 0; }
}
@media (hover: none) { #v8 #app .glc-why, #v8 #app .glc-off .v8-link { min-height: 44px; display: inline-flex; align-items: center; } }

/* Round 3 (21 October 2026): with offers off, "See your policy" sits on the row's first line; a finding without a level above it
   starts on that line too; on a phone the price sits beside its button */
#v8 #app .glc-c4 > .glc-see { margin-top: 10px; }
#v8 #app .glc-c3 > .glc-l0:first-child { color: var(--v8-ink); }
@container v8ixb (max-width: 719px) {
  #v8 #app .glc-r > .glc-c4 { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: var(--v8-4); row-gap: 0; }
  #v8 #app .glc-r > .glc-c4 > .glc-btn { margin-bottom: 0; }
  #v8 #app .glc-r > .glc-c4 > .glc-why { flex-basis: 100%; }
  #v8 #app .glc-c4 > .glc-see { margin-top: 0; }
}
/* The smallest phones (a 288 card at 320): what we found takes a little more of the row, so "Right as it is" stays on one line */
@container v8ixb (max-width: 359px) {
  #v8 #app .glc-wrap { --glc-cols: minmax(0, .9fr) minmax(0, 1.1fr); --glc-gap: var(--v8-3); }
}
