/* ═══════════════════════════════════════════════════════════
   InvoiceKrlo — Invoice document styles (A4 live preview)
   Only the invoice "paper" lives here; the app UI is in okigs-app.css.
═══════════════════════════════════════════════════════════ */
/* ════════════════════════════════════════════════════════
   THE INVOICE (screen preview)
   Fixed 794×1123px A4 — same proportions as the PDF.
════════════════════════════════════════════════════════ */
.okigs-invoice-wrap {
  width: 794px; flex-shrink: 0;
  --inv-brand:    #004AAC;
  --inv-brand-d:  #003478;
  --inv-brand-t:  #EEF4FF;
  --inv-brand-w:  #F4F8FE;
  --inv-accent:   #E0141B;
  --inv-ink:      #0F172A;
  --inv-body:     #334155;
  --inv-soft:     #64748B;
  --inv-rule:     #E2E8F0;
  --inv-edit:     rgba(0,74,172,.42);
  --inv-empty:    rgba(0,74,172,.05);
  --inv-dash:     rgba(0,74,172,.28);
  --inv-ph:       rgba(0,74,172,.55);
  --inv-focus:    #004AAC;
  --inv-font:     "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}
.okigs-invoice {
  width: 794px; min-height: 1123px;
  background: #fff; display: flex; flex-direction: column;
  font: 400 12px/1.55 var(--inv-font);
  color: var(--inv-ink); position: relative;
  box-shadow: 0 2px 4px rgba(15,23,42,.06), 0 20px 60px rgba(15,23,42,.16);
  border-radius: 2px; overflow: hidden;
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased;
}
.inv-stripe { flex: none; height: 8px; background: var(--inv-brand); position: relative; }
.inv-stripe > span { position: absolute; left: 0; top: 0; bottom: 0; width: 24%; background: var(--inv-accent); }
.inv-body { flex: 1 0 auto; padding: 46px 58px 28px; }
.inv-foot {
  flex: none; height: 66px; padding: 0 58px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--inv-brand); color: #fff; position: relative;
  --inv-edit: rgba(255,255,255,.7); --inv-empty: rgba(255,255,255,.12);
  --inv-dash: rgba(255,255,255,.45); --inv-ph: rgba(255,255,255,.7); --inv-focus: #fff;
}
.inv-foot::after { content: ''; position: absolute; right: 0; bottom: 0; width: 24%; height: 4.5px; background: var(--inv-accent); }
.inv-foot-l { font-size: 13.5px; font-weight: 700; }
.inv-foot-r { font-size: 10.5px; opacity: .82; text-align: right; }

/* Labels */
.inv-lbl {
  font-size: 9.5px; font-weight: 700; letter-spacing: .11em;
  text-transform: uppercase; color: var(--inv-brand);
}
.inv-lbl-dot::before {
  content: ''; display: inline-block; width: 4px; height: 4px;
  background: var(--inv-accent); border-radius: 50%; margin-right: 6px; vertical-align: middle;
}

/* Header */
.inv-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.inv-brand { min-width: 0; position: relative; }
.inv-logo-wrap { position: relative; display: inline-block; vertical-align: middle; }
.inv-logo { display: block; max-width: 220px; max-height: 64px; width: auto; height: auto; }
.inv-brand-fallback { font-size: 22px; font-weight: 800; color: var(--inv-brand); letter-spacing: -.01em; }
.inv-title-area { text-align: right; flex: none; max-width: 48%; }
.inv-h1 { font-size: 38px; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--inv-brand); }
.inv-numline { margin-top: 10px; font-size: 11.5px; }
.inv-numlbl { color: var(--inv-soft); }

/* Hero band */
.inv-hero {
  margin-top: 26px; display: flex; border-radius: 13px; overflow: hidden;
  background: var(--inv-brand); color: #fff; min-height: 78px;
  --inv-edit: rgba(255,255,255,.7); --inv-empty: rgba(255,255,255,.12);
  --inv-dash: rgba(255,255,255,.4); --inv-ph: rgba(255,255,255,.68); --inv-focus: #fff;
}
.inv-hero-cell { flex: 1 1 0; padding: 0 22px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.inv-hero-cell + .inv-hero-cell::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 1px; background: rgba(255,255,255,.2); }
.inv-hero-main { flex: 0 0 36%; background: var(--inv-brand-d); padding-left: 26px; }
.inv-hl { font-size: 9.3px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .78; margin-bottom: 7px; }
.inv-hv { font-size: 14.5px; font-weight: 700; line-height: 1.2; }
.inv-hero-main .inv-hv { font-size: 26px; letter-spacing: -.015em; line-height: 1.05; }
.inv-hero-cell[data-total-hidden] { display: none; }

/* Parties */
.inv-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; margin-top: 32px; }
.inv-party > .inv-lbl { padding-bottom: 6px; margin-bottom: 12px; border-bottom: 1.5px solid var(--inv-brand); display: flex; align-items: center; }
.inv-nm { font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.inv-co { font-size: 12px; font-weight: 600; color: var(--inv-brand); line-height: 1.5; }
.inv-s  { font-size: 11.5px; color: var(--inv-soft); line-height: 1.6; }
.inv-ml { white-space: pre-wrap; }

/* Items */
.inv-items { margin-top: 28px; }
.inv-ihead, .inv-irow { display: grid; grid-template-columns: 26px minmax(0,1fr) 66px 100px 120px; column-gap: 10px; align-items: start; }
.inv-ihead { background: var(--inv-brand-t); padding: 10px 16px; border-radius: 8px; }
.inv-ihead .inv-lbl { color: var(--inv-brand); }
.inv-irow { padding: 13px 16px; border-bottom: 1px solid var(--inv-rule); font-size: 13px; position: relative; }
.inv-irow.zebra { background: var(--inv-brand-w); border-radius: 0; }
.inv-idx  { font-size: 10px; font-weight: 700; color: rgba(0,74,172,.35); padding-top: 2px; }
.inv-idesc { font-weight: 600; white-space: pre-wrap; color: var(--inv-ink); }
.inv-num { text-align: right; white-space: nowrap; }
.inv-amt { font-weight: 700; color: var(--inv-ink); }

/* Lower: schedule + totals */
.inv-lower { display: grid; grid-template-columns: minmax(0,1fr) 235px; column-gap: 32px; align-items: start; margin-top: 18px; }

/* Totals */
.inv-totals { padding-top: 4px; }
.inv-trow { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 26px; padding: 0 16px; }
.inv-trow[hidden] { display: none; }
.inv-tl { font-size: 12px; color: var(--inv-soft); }
.inv-tv { font-size: 13px; font-weight: 600; }
.inv-grand {
  height: 46px; margin-top: 8px; padding: 0 18px;
  background: var(--inv-brand); border-radius: 11px;
  display: flex; align-items: center; justify-content: space-between;
  color: #fff;
}
.inv-grand .inv-tl { color: #fff; font-weight: 700; font-size: 13px; }
.inv-grand .inv-tv { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }

/* Schedule */
.inv-sched { border: 1px solid var(--inv-rule); border-radius: 11px; overflow: hidden; }
.inv-sched[hidden] { display: none; }
.inv-sched-h { display: flex; align-items: center; height: 32px; padding: 0 16px; background: var(--inv-brand-t); border-bottom: 1px solid var(--inv-rule); }
.inv-srow { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 10px 12px; align-items: center; height: 38px; padding: 0 16px; }
.inv-srow + .inv-srow { box-shadow: inset 0 1px 0 var(--inv-rule); }
.inv-slabel { font-size: 11.5px; color: var(--inv-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inv-slabel > .inv-pct { color: var(--inv-ink); font-weight: 700; margin-right: 4px; }
.inv-samt { font-weight: 700; font-size: 13px; white-space: nowrap; text-align: right; }
.inv-tag { display: inline-flex; align-items: center; justify-content: center; height: 20px; padding: 0 10px; border-radius: 10px; font: 700 9.5px/1 var(--inv-font); white-space: nowrap; letter-spacing: .03em; }
.inv-tag-now { background: var(--inv-accent); color: #fff; --inv-edit: rgba(255,255,255,.8); --inv-empty: rgba(255,255,255,.15); --inv-dash: rgba(255,255,255,.55); --inv-ph: rgba(255,255,255,.8); --inv-focus: #fff; }
.inv-tag-later { background: var(--inv-brand-t); color: var(--inv-brand); }

/* Pay details */
.inv-pay { margin-top: 22px; padding: 18px 22px 20px 27px; background: var(--inv-brand-w); border-left: 4px solid var(--inv-brand); border-radius: 0 11px 11px 0; }
.inv-pay > .inv-lbl { margin-bottom: 14px; }
.inv-pgrid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px 22px; grid-auto-flow: row dense; }
.inv-pcell { position: relative; min-width: 0; }
.inv-pcell.wide { grid-column: span 2; }
.inv-pcell.code .inv-pv { font-size: 14px; font-weight: 700; color: var(--inv-brand); letter-spacing: .055em; }
.inv-pk { display: block; font-size: 9.5px; color: var(--inv-soft); margin-bottom: 4px; }
.inv-pv { display: block; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; line-height: 1.4; }

/* Notes */
.inv-notes { margin-top: 22px; }
.inv-notes > .inv-lbl { margin-bottom: 6px; }
.inv-notes-txt { display: block; white-space: pre-wrap; font-size: 11.5px; line-height: 1.65; color: var(--inv-soft); }

/* ════════════════════════════════════════════════════════
   EDIT AFFORDANCES (live preview mode only)
════════════════════════════════════════════════════════ */
.inv-live .inv-f {
  outline: 1.5px solid transparent; outline-offset: 3px;
  border-radius: 5px; cursor: text; min-width: 22px;
  caret-color: var(--inv-brand);
  transition: outline-color .15s, background-color .15s;
}
.inv-live span.inv-f { display: inline-block; }
.inv-live .inv-f:hover { outline-color: var(--inv-edit); }
.inv-live .inv-f.is-empty {
  background: var(--inv-empty);
  box-shadow: 0 0 0 3px var(--inv-empty);
  outline: 1.5px dashed var(--inv-dash);
}
.inv-live .inv-f.is-empty::before { content: attr(data-ph); color: var(--inv-ph); pointer-events: none; }
.inv-live .inv-f.is-empty:hover { outline-style: solid; outline-color: var(--inv-edit); }
.inv-live .inv-f:focus, .inv-live .inv-f.is-empty:focus { outline: 2px solid var(--inv-focus); background: var(--inv-empty); box-shadow: 0 0 0 3px var(--inv-empty); }
.inv-live .inv-f.is-empty:focus::before { opacity: .5; }
.inv-live .inv-party > .inv-f { display: block; width: fit-content; min-width: 160px; max-width: 100%; }
.inv-live .inv-party > .inv-f.is-empty { margin: 7px 0; }

.inv-ui { all: unset; box-sizing: border-box; cursor: pointer; font-family: var(--inv-font); }
.inv-add-row {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 9px; padding: 7px 13px;
  border: 1.5px dashed var(--inv-dash); border-radius: 7px;
  color: var(--inv-brand); font-size: 12px; font-weight: 600;
}
.inv-add-row:hover { background: var(--inv-brand-t); border-style: solid; }
.inv-x {
  position: absolute; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 1px solid var(--inv-rule); color: #6B7684;
  font-size: 14px; line-height: 20px; text-align: center; opacity: 0; transition: opacity .12s;
}
.inv-x:hover { color: var(--ok-red); border-color: var(--ok-red); }
.inv-irow:hover .inv-x, .inv-pcell:hover .inv-x { opacity: 1; }
.inv-irow .inv-x { right: -32px; top: 12px; }
.inv-pcell .inv-x { right: -8px; top: -8px; }
.inv-logo-add {
  display: flex; align-items: center; justify-content: center;
  width: 190px; height: 60px;
  border: 1.5px dashed var(--inv-dash); border-radius: 9px;
  color: var(--inv-brand); font-size: 13px; font-weight: 600;
}
.inv-logo-add:hover { background: var(--inv-brand-t); border-style: solid; }
.inv-logo { cursor: pointer; }
.inv-logo-wrap .inv-x { right: -10px; top: -10px; opacity: 0; }
.inv-logo-wrap:hover .inv-x { opacity: 1; }
.inv-live [hidden] { display: none !important; }
input[type="file"][hidden] { display: none !important; }

/* Export host */
.okigs-export-host { position: fixed; left: -30000px; top: 0; width: 794px; z-index: -9; pointer-events: none; background: #fff; }
.okigs-invoice.exporting { box-shadow: none; margin: 0; }
.okigs-invoice.exporting .inv-ui { display: none !important; }

/* Narrow layout */
.okigs-gen-stage.is-narrow .okigs-invoice-wrap,
.okigs-gen-stage.is-narrow .okigs-invoice { width: 100%; min-height: 0; }
.okigs-gen-stage.is-narrow .inv-body { padding: 22px 16px 16px; }
.okigs-gen-stage.is-narrow .inv-head { flex-direction: column-reverse; align-items: flex-start; gap: 14px; }
.okigs-gen-stage.is-narrow .inv-title-area { text-align: left; max-width: none; }
.okigs-gen-stage.is-narrow .inv-h1 { font-size: 30px; }
.okigs-gen-stage.is-narrow .inv-hero { flex-wrap: wrap; }
.okigs-gen-stage.is-narrow .inv-hero-cell { flex: 1 1 45%; padding: 12px 14px; }
.okigs-gen-stage.is-narrow .inv-hero-cell + .inv-hero-cell::before { display: none; }
.okigs-gen-stage.is-narrow .inv-hero-main { flex: 1 1 100%; }
.okigs-gen-stage.is-narrow .inv-hero-main .inv-hv { font-size: 24px; }
.okigs-gen-stage.is-narrow .inv-parties { grid-template-columns: 1fr; gap: 20px; }
.okigs-gen-stage.is-narrow .inv-ihead, .okigs-gen-stage.is-narrow .inv-irow { grid-template-columns: 1fr auto auto; font-size: 13px; padding: 11px 12px; }
.okigs-gen-stage.is-narrow .inv-idx { display: none; }
.okigs-gen-stage.is-narrow .inv-irow .inv-x { right: 6px; opacity: 1; }
.okigs-gen-stage.is-narrow .inv-lower { grid-template-columns: 1fr; row-gap: 16px; }
.okigs-gen-stage.is-narrow .inv-sched { grid-row: 2; }
.okigs-gen-stage.is-narrow .inv-srow { height: auto; padding: 9px 12px; }
.okigs-gen-stage.is-narrow .inv-pgrid { grid-template-columns: 1fr; }
.okigs-gen-stage.is-narrow .inv-pcell.wide { grid-column: auto; }
.okigs-gen-stage.is-narrow .inv-foot { height: auto; flex-direction: column; align-items: flex-start; padding: 16px; gap: 4px; }

@media (prefers-reduced-motion: reduce) {
  .okigs-spinner, .inv-live .inv-f { animation: none; transition: none; }
}

/* ═══ Template styles (mirror the PDF engine options) ═══ */
@font-face { font-family: "Playfair Display"; font-weight: 700; font-display: swap; src: url(../fonts/title/playfair-display-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Serif Display"; font-weight: 400 700; font-display: swap; src: url(../fonts/title/dm-serif-display-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url(../fonts/title/space-grotesk-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 700; font-display: swap; src: url(../fonts/title/outfit-latin-700-normal.woff2) format("woff2"); }
.okigs-invoice .inv-h1, .okigs-invoice .inv-hero-main .inv-hv { font-family: var(--inv-title-font, var(--inv-font)); }

/* Band: soft tint */
.okigs-invoice.t-band-soft .inv-hero { background: var(--inv-brand-w); color: var(--inv-ink); }
.okigs-invoice.t-band-soft .inv-hero-main { background: var(--inv-brand-t); }
.okigs-invoice.t-band-soft .inv-hero-main .inv-hv { color: var(--inv-brand); }
.okigs-invoice.t-band-soft .inv-hl { color: var(--inv-soft); opacity: 1; }
.okigs-invoice.t-band-soft .inv-hero-cell + .inv-hero-cell::before { background: var(--inv-rule); }
/* Band: outline */
.okigs-invoice.t-band-outline .inv-hero { background: #fff; color: var(--inv-ink); box-shadow: inset 0 0 0 1px var(--inv-rule); }
.okigs-invoice.t-band-outline .inv-hero-main { background: transparent; box-shadow: inset -1px 0 0 var(--inv-rule); }
.okigs-invoice.t-band-outline .inv-hero-main .inv-hv { color: var(--inv-brand); }
.okigs-invoice.t-band-outline .inv-hl { color: var(--inv-soft); opacity: 1; }
.okigs-invoice.t-band-outline .inv-hero-cell + .inv-hero-cell::before { background: var(--inv-rule); }
/* Band: lines only */
.okigs-invoice.t-band-none .inv-hero { background: transparent; color: var(--inv-ink); border-radius: 0; border-top: 1.5px solid var(--inv-brand); border-bottom: 1px solid var(--inv-rule); }
.okigs-invoice.t-band-none .inv-hero-main { background: transparent; padding-left: 0; }
.okigs-invoice.t-band-none .inv-hero-main .inv-hv { color: var(--inv-brand); }
.okigs-invoice.t-band-none .inv-hl { color: var(--inv-soft); opacity: 1; }
.okigs-invoice.t-band-none .inv-hero-cell + .inv-hero-cell::before { background: var(--inv-rule); }
/* Corners */
.okigs-invoice.t-corners-subtle .inv-hero, .okigs-invoice.t-corners-subtle .inv-grand, .okigs-invoice.t-corners-subtle .inv-sched, .okigs-invoice.t-corners-subtle .inv-ihead { border-radius: 5px; }
.okigs-invoice.t-corners-subtle .inv-pay { border-radius: 0 5px 5px 0; }
.okigs-invoice.t-corners-square .inv-hero, .okigs-invoice.t-corners-square .inv-grand, .okigs-invoice.t-corners-square .inv-sched, .okigs-invoice.t-corners-square .inv-ihead, .okigs-invoice.t-corners-square .inv-pay { border-radius: 0; }
/* Table */
.okigs-invoice.t-thead-line .inv-ihead { background: transparent; border-radius: 0; border-bottom: 1.5px solid var(--inv-brand); }
.okigs-invoice.t-nozebra .inv-irow.zebra { background: transparent; }
/* Chrome */
.okigs-invoice.t-nostripe .inv-stripe { background: transparent; }
.okigs-invoice.t-nostripe .inv-stripe > span { display: none; }
.okigs-invoice.t-foot-line .inv-foot { background: #fff; color: var(--inv-ink); box-shadow: inset 0 1px 0 var(--inv-rule); margin: 0 58px; padding-left: 0; padding-right: 0;
  --inv-edit: rgba(0,74,172,.42); --inv-empty: rgba(0,74,172,.05); --inv-dash: rgba(0,74,172,.28); --inv-ph: rgba(0,74,172,.55); --inv-focus: var(--inv-brand); }
.okigs-invoice.t-foot-line .inv-foot::after { left: 0; right: auto; top: -1px; bottom: auto; width: 40px; height: 2px; }
.okigs-invoice.t-foot-line .inv-foot-r, .okigs-invoice.t-foot-line .inv-foot small { color: var(--inv-soft); }
.okigs-invoice.t-band-soft .inv-hero, .okigs-invoice.t-band-outline .inv-hero, .okigs-invoice.t-band-none .inv-hero {
  --inv-edit: rgba(0,74,172,.42); --inv-empty: rgba(0,74,172,.05); --inv-dash: rgba(0,74,172,.28); --inv-ph: rgba(0,74,172,.55); --inv-focus: var(--inv-brand); }

/* Free-plan note: in normal flow right above the footer */
.inv-free-note { flex: none; padding: 0 58px 10px; font-size: 9.5px; line-height: 1.4; color: #94A3B8; position: relative; z-index: 2; }
.inv-mlbl { display: none; }

/* ═══ Phone layout of the live invoice ═══ */
.okigs-gen-stage.is-narrow .inv-free-note { padding: 4px 16px 12px; }
.okigs-gen-stage.is-narrow .inv-ihead { display: none; }
.okigs-gen-stage.is-narrow .inv-items::before { content: "Items"; display: block; margin: 0 0 10px; font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--inv-brand); }
.okigs-gen-stage.is-narrow .inv-irow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: "desc desc desc" "lq lp la" "qty price amt";
  column-gap: 10px; row-gap: 4px; padding: 12px; margin-bottom: 10px;
  border: 1px solid var(--inv-rule); border-radius: 12px; background: #fff; font-size: 14px;
}
.okigs-gen-stage.is-narrow .inv-irow.zebra { background: #fff; }
.okigs-gen-stage.is-narrow .inv-irow .inv-idesc { grid-area: desc; margin-right: 34px; margin-bottom: 8px; font-weight: 600; }
.okigs-gen-stage.is-narrow .inv-irow [data-if="qty"] { grid-area: qty; text-align: left; }
.okigs-gen-stage.is-narrow .inv-irow [data-if="price"] { grid-area: price; text-align: left; }
.okigs-gen-stage.is-narrow .inv-irow .inv-amt { grid-area: amt; text-align: right; align-self: center; font-size: 14.5px; }
.okigs-gen-stage.is-narrow .inv-mlbl { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--inv-soft); }
.okigs-gen-stage.is-narrow .inv-mlbl-q { grid-area: lq; } .okigs-gen-stage.is-narrow .inv-mlbl-p { grid-area: lp; }
.okigs-gen-stage.is-narrow .inv-mlbl-a { grid-area: la; text-align: right; }
.okigs-gen-stage.is-narrow .inv-irow .inv-x { top: 10px; right: 10px; width: 28px; height: 28px; opacity: 1; }
.okigs-gen-stage.is-narrow .inv-live .inv-f { min-height: 36px; padding-top: 7px; padding-bottom: 7px; }
.okigs-gen-stage.is-narrow .inv-foot { height: auto; min-height: 64px; padding: 14px 16px; flex-wrap: wrap; gap: 6px 16px; }
.okigs-gen-stage.is-narrow .okigs-invoice.t-foot-line .inv-foot { margin: 0 16px; padding-left: 0; padding-right: 0; }
.okigs-gen-stage.is-narrow .inv-party .inv-f { display: block; width: 100%; max-width: none; }
.okigs-gen-stage.is-narrow .inv-notes .inv-f { min-height: 56px; }

/* ═══ Industry details box (trip, rental, project…) ═══ */
.inv-details { margin: 22px 0 4px; }
.inv-details[hidden] { display: none; }
.inv-details .inv-dtitle { display: inline-block; min-width: 60px; }
.inv-dgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 14px; margin-top: 10px; padding: 12px 14px; border-radius: 9px; background: var(--inv-brand-w, #F4F7FC); }
.okigs-invoice.t-corners-square .inv-dgrid { border-radius: 0; }
.inv-dcell { min-width: 0; }
.inv-dlabel { font-size: 8.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--inv-soft, #64748B); min-height: 14px; }
.inv-dval { font-size: 12px; font-weight: 600; color: var(--inv-ink, #0F172A); min-height: 18px; }
.inv-colh { min-width: 24px; }
.okigs-gen-stage.is-narrow .inv-dgrid { grid-template-columns: 1fr 1fr; }
.okigs-gen-stage.is-narrow .inv-dval { font-size: 14px; }
