/* GLB AI Suite – visual polish layer (Oct 2026). Loaded last. Presentation only: spacing, type, colour, weight.
   One set of tokens; sections are separated by space and hairlines, cards only for figures and self-contained tasks. */
:root {
  --app-bg: #f4f7f6;
  --ink: #203438;
  --ink-soft: #4d5f69;
  --line: #dfe7e3;
  --calm-border: #dfe7e3;
  --petrol: #116c63;
  --teal-dark: #116c63;
  --soft-teal: #e8f2ef;
  --amber-bg: #fbf3e2;
  --amber-line: #e6cf9f;
  --amber-ink: #6b4a12;
  --radius: 12px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(32, 52, 56, 0.05);
  --paper: var(--app-bg);
}
body {
  background: var(--app-bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

/* numbers: equal-width digits everywhere figures are shown */
.v6-stat b,
.kpi-value,
.v4-kpi strong,
.data-table td,
.num,
.align-right,
.v6-hbar,
.v12-onboard-count {
  font-variant-numeric: tabular-nums;
}

/* small labels: readable, not shouting */
.v6-overline,
.v5-eyebrow,
.v6-stat small,
.v6-filter-ribbon label,
.data-table th,
.v6-action-mark,
.glb08-nav-title {
  letter-spacing: 0.03em;
}

/* ---------------- surfaces: one radius, light borders, almost no shadow */
.panel,
.v5-panel,
.v6-panel,
.v12-onboard,
.v6-stat,
.kpi-card,
.v4-kpi,
.v11-card,
.notice,
.v6-terms {
  border-radius: var(--radius);
  box-shadow: none;
  border-color: var(--line);
}
.panel,
.v5-panel,
.v6-panel {
  box-shadow: var(--shadow-sm);
}
/* a box inside a box loses its own frame */
.panel .panel,
.panel .v5-panel,
.v5-panel .panel,
.v5-panel .v5-panel,
.v6-panel .v6-panel,
.v12-phase2 .v5-panel {
  border: 0;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
  background: transparent;
}

/* ---------------- dashboard head: compact, no extra card */
.v6-executive {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 4px 0 6px;
  margin-bottom: 10px;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 28px;
  align-items: end;
}
.v6-executive .v6-overline {
  font-size: 11px;
}
.v6-executive .v6-exec-title {
  font-size: 26px;
  line-height: 1.2;
  margin: 2px 0 4px;
}
.v6-executive p {
  font-size: 14px;
  margin: 0;
  max-width: 68ch;
}
.v6-executive p.v6-exec-scope {
  margin-top: 2px;
  font-size: 13px;
}
.v6-hero-links {
  margin-top: 10px;
  gap: 8px;
}
.v6-hero-btn,
.v6-hero-ghost {
  min-height: 38px;
  padding: 0 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}
.v6-hero-btn {
  background: var(--petrol);
}
.v6-hero-card {
  background: transparent;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: 2px 0 2px 20px;
  min-height: 0;
  width: 240px;
}
.v6-hero-card > span,
.v6-hero-card > small {
  font-size: 12px;
  letter-spacing: 0;
}
.v6-hero-mini {
  height: 44px;
  margin: 6px 0;
}
.v6-hero-mini i {
  background: #9cc7bd;
}

/* report filter: one quiet row */
.v6-filter-ribbon {
  padding: 10px 14px;
  margin: 0 0 14px;
  gap: 8px 12px;
  border-radius: var(--radius);
  box-shadow: none;
  border-color: var(--line);
  align-items: end;
}
.v6-filter-info {
  margin: 0 8px 10px 0;
  font-size: 12px;
}
.v6-filter-ribbon label {
  font-size: 11px;
  text-transform: none;
  font-weight: 700;
  color: var(--ink-soft);
}
.v6-filter-ribbon label .select {
  height: 36px;
  font-size: 13px;
  background: #fff;
}
.v6-filter-ribbon .v6-text-button {
  min-height: 36px;
  align-self: end;
}
.v6-filter-ribbon > p,
.v6-filter-note {
  flex: 1 1 100%;
  margin: 0;
  font-size: 12px;
  color: var(--ink-soft);
}

/* figures: value first, meaning next, period/basis quietly below */
.v6-kpis {
  gap: 12px;
  margin-bottom: 14px;
}
.v6-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  min-height: 0;
  background: #fff;
  border: 1px solid var(--line);
}
.v6-stat b {
  order: -1;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 750;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.v6-stat small {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: none;
  color: var(--ink);
}
.v6-stat > span {
  font-size: 12px;
  color: var(--ink-soft);
}
/* a highlighted card is marked by a line, not by a tint or a green number (no judgement by colour) */
.v6-stat.mint {
  background: #fff;
  box-shadow: inset 3px 0 0 var(--petrol);
}
.v6-stat.mint b {
  color: var(--ink);
}

/* ---------------- action hints: article, figure line, basis, action on the right */
.v6-actions {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.v6-action {
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  border-left-width: 4px;
}
.v6-action.warn {
  border-left-color: #b7791f;
}
.v6-action-mark {
  align-self: start;
  padding-top: 3px;
  font-size: 11px;
}
.v6-action-head {
  display: block;
  font-size: 15px;
  font-weight: 750;
  color: var(--ink);
}
.v6-action-line {
  display: block;
  margin-top: 1px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.v6-action-body p {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--ink-soft);
}
.v6-action .btn {
  white-space: nowrap;
}
@media (max-width: 760px) {
  .v6-action {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  .v6-action .btn {
    justify-self: stretch;
    justify-content: center;
  }
}

/* ---------------- tables: even rows, hairlines, right-aligned figures */
.data-table th {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: none;
  color: var(--ink-soft);
  background: #f8faf9;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
}
.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.data-table tbody tr:hover td {
  background: #f7faf9;
}
.data-table tbody tr:focus-visible {
  outline: 2px solid var(--petrol);
  outline-offset: -2px;
}
.data-table .align-right,
.data-table th.align-right {
  text-align: right;
}

/* ---------------- buttons, focus, notices */
.btn {
  border-radius: var(--radius-sm);
}
.btn-primary {
  background: var(--petrol);
  border-color: var(--petrol);
}
:focus-visible {
  outline: 2px solid var(--petrol);
  outline-offset: 2px;
}
.notice {
  background: #fff;
  border: 1px solid var(--line);
}
.tag-warn,
.v6-action.warn .v6-action-mark {
  color: var(--amber-ink);
}
.tag-warn {
  background: var(--amber-bg);
  border-color: var(--amber-line);
}

/* ---------------- headings and sections */
.page-header h1,
.v5-page-title h1 {
  letter-spacing: -0.01em;
}

/* ---------------- motion: short, and none when the system asks for it */
.btn,
.nav-item,
.glb08-nav-link,
.v6-action,
.data-table td {
  transition-duration: 0.12s;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------- phone: short head, figures in two columns, nothing wasted */
@media (max-width: 760px) {
  .v6-executive {
    grid-template-columns: minmax(0, 1fr);
    padding: 0;
    margin-bottom: 8px;
  }
  .v6-executive .v6-exec-title {
    font-size: 22px;
  }
  .v6-executive p:not(.v6-exec-scope) {
    font-size: 13.5px;
  }
  .v6-hero-card {
    width: auto;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 8px 0 0;
  }
  .v6-hero-mini {
    height: 32px;
  }
  .v6-hero-links {
    margin-top: 8px;
  }
  .v6-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .v6-stat {
    padding: 12px;
  }
  .v6-stat b {
    font-size: 22px;
  }
  .v6-stat small {
    font-size: 12px;
  }
  .panel,
  .v5-panel {
    padding-left: 14px;
    padding-right: 14px;
  }
}
@media (max-width: 340px) {
  .v6-kpis {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* desktop: filter fields, reset and label share one row */
@media (min-width: 761px) {
  .v6-filter-ribbon {
    flex-wrap: wrap;
  }
  .v6-filter-ribbon label {
    flex: 1 1 150px;
    min-width: 0;
  }
  .v6-filter-ribbon label .select {
    max-width: none;
    min-width: 0;
  }
  .v6-filter-ribbon .v6-text-button {
    flex: 0 0 auto;
  }
  .v6-filter-info {
    flex: 0 0 auto;
    align-self: center;
    margin: 14px 4px 0 0;
  }
}
.v6-actions .v6-panel-head h2,
.v6-actions h2 {
  font-size: 17px;
}
.v6-actions .v6-panel-head p {
  font-size: 12.5px;
}
.v6-terms {
  padding: 8px 14px;
  margin-bottom: 14px;
}

/* page headers: one size for every module, quieter overline */
.page-hero {
  margin-bottom: 18px;
  gap: 12px 24px;
  align-items: flex-end;
}
.page-hero .eyebrow {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--petrol);
}
.page-hero .page-title {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 4px 0 6px;
}
.page-hero .page-desc {
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 72ch;
  margin: 0;
}
.page-hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.v4-kpi strong {
  font-size: 30px;
}
.v4-kpi,
.kpi-card {
  border: 1px solid var(--line);
  box-shadow: none;
}
@media (max-width: 760px) {
  .page-hero .page-title {
    font-size: 22px;
  }
  .page-hero {
    margin-bottom: 12px;
  }
  .v4-kpi strong {
    font-size: 24px;
  }
}

/* price calculator result: light card with a petrol edge instead of a dark block */
.calc-result {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: inset 4px 0 0 var(--petrol);
  border-radius: var(--radius);
}
.calc-result .calc-caption {
  color: var(--petrol);
  letter-spacing: 0.04em;
}
.calc-result .calc-hero {
  color: var(--ink);
  font-size: 34px;
  font-variant-numeric: tabular-nums;
}
.calc-result .calc-sub,
.calc-stat-list > div {
  color: var(--ink-soft);
  border-color: var(--line);
}
.calc-stat-list strong,
.calc-stat-list strong.highlight {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 760px) {
  .notice {
    gap: 6px 10px;
    padding: 10px 12px;
  }
  .notice .notice-action {
    margin-left: 0;
  }
}
.row-focus .micro,
.data-table .micro {
  color: var(--ink-soft);
}
.v6-action-line,
.v6-action-head {
  text-wrap: pretty;
}
