:root {
  /* Core palette */
  --apt-navy-950: #07132f;
  --apt-navy-900: #0d1b3e;
  --apt-navy-800: #17264a;
  --apt-blue-700: #064fd8;
  --apt-blue-500: #3b7bff;
  --apt-blue-100: #e9f1ff;

  /* Domain accents */
  --apt-domain-se:  #064fd8; /* Service Experience — blue */
  --apt-domain-ti:  #047857; /* Transaction Intelligence — green */
  --apt-domain-ha:  #6d28d9; /* Health Analysis — purple */
  --apt-domain-se-bg: #e9f1ff;
  --apt-domain-ti-bg: #d1fae5;
  --apt-domain-ha-bg: #ede9fe;

  /* Semantic */
  --apt-canvas: #f5f7fb;
  --apt-surface: #ffffff;
  --apt-border: #dbe2ed;
  --apt-muted: #60708f;
  --apt-success: #087a55;
  --apt-warning: #a35a00;
  --apt-danger: #b42335;

  /* Shape */
  --apt-radius: 8px;
  --apt-radius-lg: 12px;
  --apt-shadow: 0 2px 8px rgba(16, 32, 64, 0.06);
  --apt-shadow-md: 0 4px 16px rgba(16, 32, 64, 0.10);

  /* Layout */
  --apt-content: 1440px;
  --apt-space-1: 0.375rem;
  --apt-space-2: 0.75rem;
  --apt-space-3: 1rem;
  --apt-space-4: 1.5rem;
  --apt-space-5: 2rem;
  --apt-space-6: 3rem;
}
/* ── Cards ─────────────────────────────────────────────────────── */
.card { background: var(--apt-surface); border: 1px solid var(--apt-border); border-radius: var(--apt-radius); box-shadow: var(--apt-shadow); }
.card--interactive { transition: box-shadow .15s, border-color .15s; }
.card--interactive:hover { box-shadow: var(--apt-shadow-md); border-color: #c3cfdf; }

/* ── Metrics ────────────────────────────────────────────────────── */
.metric { padding: var(--apt-space-4); min-height: 128px; }
.metric__label { color: var(--apt-navy-800); font-size: .82rem; font-weight: 700; }
.metric__value { color: var(--apt-navy-950); font-size: 2rem; font-weight: 750; letter-spacing: -.04em; margin: .65rem 0 .25rem; }
.metric__value--status { color: var(--apt-success); }
.metric__note, .muted { color: var(--apt-muted); font-size: .8rem; }
.metric__delta { display: inline-flex; align-items: center; gap: .2rem; font-size: .75rem; font-weight: 700; }
.metric__delta--up { color: var(--apt-success); }
.metric__delta--down { color: var(--apt-danger); }
.metric__delta--flat { color: var(--apt-muted); }

/* ── Badges ─────────────────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: .25rem; border: 1px solid currentColor; border-radius: 999px; padding: .2rem .55rem; font-size: .7rem; font-weight: 700; }
.badge--high { color: var(--apt-danger); background: #fff5f6; }
.badge--medium { color: var(--apt-warning); background: #fff9ef; }
.badge--low { color: var(--apt-success); background: #f0fbf7; }
.badge--new { color: var(--apt-blue-700); background: var(--apt-blue-100); border-color: #b8d0ff; letter-spacing: .04em; }

/* ── Sections ───────────────────────────────────────────────────── */
.section { padding: var(--apt-space-4); }
.section__header { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; margin-bottom: 1rem; }
.section__header h2 { margin: 0; font-size: 1.05rem; }

/* ── Tables ─────────────────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.data-table th { color: var(--apt-muted); font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; text-align: left; }
.data-table th, .data-table td { padding: .8rem .7rem; border-bottom: 1px solid var(--apt-border); vertical-align: top; }
.data-table tbody tr:hover { background: #f8faff; }

/* ── Opportunities ──────────────────────────────────────────────── */
.opportunity { display: grid; grid-template-columns: 2rem 1fr auto; gap: .75rem; padding: .85rem 0; border-bottom: 1px solid var(--apt-border); }
.opportunity .badge { align-self: start; }
.opportunity:last-child { border-bottom: 0; }
.rank { color: var(--apt-blue-700); font-weight: 800; font-size: 1.1rem; }

/* ── Buttons ────────────────────────────────────────────────────── */
.button { display: inline-flex; align-items: center; gap: .35rem; padding: .65rem 1.1rem; border-radius: 6px; background: var(--apt-blue-700); color: white; font-size: .82rem; font-weight: 700; text-decoration: none; transition: background .15s; }
.button:hover { background: #0540b5; color: white; }
.button--secondary { color: var(--apt-blue-700); background: white; border: 1px solid var(--apt-blue-700); }
.button--secondary:hover { background: var(--apt-blue-100); }
.button--ghost { color: white; background: transparent; border: 1px solid rgba(255,255,255,.35); }
.button--ghost:hover { background: rgba(255,255,255,.1); color: white; }
.text-link { color: var(--apt-blue-700); font-size: .78rem; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.arrow-link { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; font-weight: 700; text-decoration: none; }

/* ── Charts ─────────────────────────────────────────────────────── */
.chart { min-height: 210px; display: grid; align-items: end; padding: 1rem; background: white; }
.bars { height: 150px; display: flex; align-items: end; gap: 9%; border-bottom: 1px solid var(--apt-border); }
.bar { flex: 1; min-width: 18px; background: var(--apt-blue-700); border-radius: 3px 3px 0 0; position: relative; }
.bar span { position: absolute; top: -1.35rem; width: 100%; text-align: center; font-size: .65rem; color: var(--apt-muted); }

/* ── Sparklines ──────────────────────────────────────────────────── */
.sparkline { display: block; overflow: visible; }
.sparkline polyline { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sparkline circle { fill: currentColor; }

/* ── Priority indicators ─────────────────────────────────────────── */
.priority { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 700; border-radius: 4px; padding: .2rem .5rem; }
.priority--high { color: var(--apt-danger); background: #fff5f6; }
.priority--medium { color: var(--apt-warning); background: #fff9ef; }
.priority--low { color: var(--apt-success); background: #f0fbf7; }

/* ── Domain icon circles ─────────────────────────────────────────── */
.domain-icon { display: grid; place-items: center; border-radius: 50%; }
.domain-icon svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.domain-icon--se { color: var(--apt-domain-se); background: var(--apt-domain-se-bg); }
.domain-icon--ti { color: var(--apt-domain-ti); background: var(--apt-domain-ti-bg); }
.domain-icon--ha { color: var(--apt-domain-ha); background: var(--apt-domain-ha-bg); }


* { box-sizing: border-box; }
html { color: var(--apt-navy-950); background: var(--apt-canvas); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; }
body { margin: 0; }
a { color: var(--apt-blue-700); }
.topbar { background: var(--apt-navy-950); border-bottom: 1px solid #21345f; position: sticky; top: 0; z-index: 5; }
.topbar__inner { max-width: var(--apt-content); min-width: 0; margin: auto; min-height: 58px; padding: 0 1rem; display: flex; align-items: center; gap: 1.25rem; }
.brand { color: white; display: flex; align-items: center; gap: .9rem; text-decoration: none; white-space: nowrap; }
.brand__mark { font-size: 1.35rem; font-weight: 900; font-style: italic; letter-spacing: -.06em; }
.brand__product { display: block; font-size: .77rem; font-weight: 700; }
.brand__tagline { display: block; font-size: .58rem; font-weight: 500; color: #8daaf5; letter-spacing: .01em; line-height: 1; margin-top: .15rem; }
.nav { display: flex; width: 100%; max-width: 100%; min-width: 0; gap: 1.3rem; overflow-x: auto; }
.nav { scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: #dbe5fb; font-size: .7rem; text-decoration: none; padding: 1.25rem 0 1.05rem; border-bottom: 3px solid transparent; white-space: nowrap; }
.nav a[aria-current="page"], .nav a:hover { color: white; border-color: #75a4ff; }
.topbar__period { color: white; font-size: .69rem; font-weight: 650; white-space: nowrap; }
.period-select { display: grid; gap: .1rem; color: #dbe5fb; font-size: .58rem; white-space: nowrap; }
.period-select select { max-width: 185px; color: white; background: #102b72; border: 1px solid #5575bb; border-radius: 5px; padding: .28rem 1.8rem .28rem .45rem; font: inherit; font-size: .68rem; font-weight: 700; }
.period-select select:focus-visible { outline: 3px solid #ffd45c; outline-offset: 2px; }
.shell { max-width: var(--apt-content); margin: auto; padding: 1.1rem 1rem 4rem; }
.page-head { display: flex; justify-content: space-between; gap: 1.5rem; align-items: end; margin-bottom: 1.5rem; }
.page-head h1 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.65rem); letter-spacing: -.045em; line-height: 1.08; }
.period { color: var(--apt-muted); margin: .55rem 0 0; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin-bottom: 1.25rem; }
.report-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(300px, .9fr); gap: 1.25rem; align-items: start; }
.report-grid > *, .stack > * { min-width: 0; }
.stack { display: grid; gap: 1.25rem; }
.prose { max-width: 78ch; }
.prose h2 { margin-top: 2rem; }
.footer { max-width: var(--apt-content); margin: auto; padding: 2rem 1.5rem; color: var(--apt-muted); font-size: .75rem; border-top: 1px solid var(--apt-border); }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; }
.filters input, .filters select { font: inherit; font-size: .8rem; padding: .55rem .7rem; border: 1px solid var(--apt-border); border-radius: 6px; background: white; }
.table-scroll { width: 100%; overflow: auto; }
.portal-layout { display: grid; grid-template-columns: 235px minmax(0, 1fr) 315px; gap: 1rem; align-items: start; }
.portal-intro { padding: .65rem 1rem .5rem .35rem; border-right: 1px solid var(--apt-border); min-height: 670px; position: sticky; top: 74px; }
.portal-intro h2 { margin: 0 0 1rem; font-size: 1.7rem; line-height: 1.12; letter-spacing: -.04em; }
.portal-intro p { color: var(--apt-muted); font-size: .75rem; line-height: 1.65; }
.portal-intro dl { margin: 2.2rem 0 1rem; }
.portal-intro dl div { border-top: 1px solid var(--apt-border); padding: .8rem 0; }
.portal-intro dt { color: var(--apt-muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.portal-intro dd { margin: .2rem 0 0; font-size: .85rem; font-weight: 750; }
.portal-main, .portal-rail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; min-width: 0; }
.section-kicker { color: var(--apt-navy-800); font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.snapshot-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .65rem; }
.snapshot-card { min-height: 148px; padding: .85rem; }
.snapshot-card__head { display: grid; grid-template-columns: 1.8rem 1fr; align-items: center; gap: .45rem; min-height: 2.3rem; color: var(--apt-navy-800); font-size: .65rem; font-weight: 750; line-height: 1.25; }
.snapshot-icon { width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%; }
.snapshot-icon svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.snapshot-icon--violet, .snapshot-icon--purple { color: #6236d9; background: #f1edff; }
.snapshot-icon--green { color: #087a55; background: #e9f8f2; }
.snapshot-icon--blue { color: #087cab; background: #e9f7fb; }
.snapshot-icon--red { color: var(--apt-danger); background: #fff0f1; }
.snapshot-card__value { margin: .8rem 0 .45rem; color: var(--apt-navy-950); font-size: 1.25rem; font-weight: 820; line-height: 1.08; overflow-wrap: anywhere; }
.snapshot-card__note { color: var(--apt-muted); font-size: .63rem; line-height: 1.35; }
.snapshot-card:last-child .snapshot-card__value { color: var(--apt-danger); }
.portal-insight-row { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(250px, .8fr); gap: 1rem; }
.portal-insight-row > * { min-width: 0; }
.portal-insight-row .chart { min-height: 160px; padding: .5rem; }
.portal-insight-row .bars { height: 100px; }
.change-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.change-grid > div { padding: .25rem 1.2rem; border-right: 1px solid var(--apt-border); }
.change-grid > div:first-child { padding-left: 0; }
.change-grid > div:last-child { border: 0; }
.change-grid p { margin: .5rem 0 0; font-size: .79rem; }
.change-grid ul { margin: .55rem 0 0; padding-left: 1rem; color: var(--apt-navy-800); font-size: .64rem; line-height: 1.45; }
.change-grid li + li { margin-top: .3rem; }
.signal { font-size: .75rem; }.signal--up { color: var(--apt-danger); }.signal--good { color: var(--apt-success); }.signal--watch { color: var(--apt-warning); }
.line-chart { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem; align-items: center; min-height: 152px; }
.line-chart svg { width: 100%; height: 132px; overflow: visible; }
.line-chart polyline { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.line-chart circle { fill: currentColor; }
.line-chart text { fill: var(--apt-muted); font: 9px ui-sans-serif, system-ui, sans-serif; }
.chart-legend { display: grid; gap: .55rem; font-size: .61rem; color: var(--apt-navy-800); }
.chart-legend span { display: flex; align-items: center; gap: .35rem; white-space: nowrap; }
.chart-legend i { width: .45rem; height: .45rem; border-radius: 50%; }
.recent-reports { display: grid; gap: .75rem; }
.recent-reports h2 { margin: 0 0 .25rem; font-size: 1rem; }
.recent-reports a { display: flex; justify-content: space-between; gap: 1rem; font-size: .72rem; text-decoration: none; }
.recent-reports small { color: var(--apt-muted); white-space: nowrap; }
.confidence-inline { color: var(--apt-success); }
.executive-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr) 330px; gap: 1.25rem; align-items: start; }
.report-side { display: grid; padding: .5rem; position: sticky; top: 84px; }
.report-side a { color: var(--apt-navy-800); padding: .7rem .8rem; border-radius: 6px; font-size: .76rem; font-weight: 650; text-decoration: none; }
.report-side a:first-child, .report-side a:hover { color: white; background: var(--apt-blue-700); }
.executive-main, .executive-rail { display: grid; gap: 1.25rem; min-width: 0; }
.executive-summary p { max-width: 90ch; margin-bottom: 0; color: var(--apt-navy-800); }
.metric-grid--compact { gap: .75rem; }
.metric-grid--compact .metric { min-height: 112px; padding: 1rem; }
.metric-grid--compact .metric__value { font-size: 1.6rem; }
.insight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.insight-card { display: grid; grid-template-columns: 2rem 1fr; gap: .65rem; border: 1px solid var(--apt-border); border-radius: 7px; padding: .9rem; }
.insight-card > span { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; color: var(--apt-blue-700); background: var(--apt-blue-100); font-weight: 800; }
.insight-card strong { display: block; font-size: .8rem; line-height: 1.3; }
.insight-card p { color: var(--apt-muted); font-size: .72rem; margin: .4rem 0; }
.insight-card small { color: var(--apt-blue-700); font-size: .67rem; }
.confidence-value { margin: .75rem 0 .45rem; color: var(--apt-success); font-size: 1.8rem; font-weight: 800; }
.confidence-track { height: 6px; overflow: hidden; background: var(--apt-border); border-radius: 999px; }
.confidence-track span { display: block; height: 100%; background: var(--apt-success); }
.data-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin-bottom: 1.25rem; }
.data-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, .65fr); gap: 1.25rem; margin-bottom: 1.25rem; align-items: start; }
.dataset-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--apt-border); }
.dataset-row:last-child { border-bottom: 0; }
.dataset-row strong { font-size: .86rem; }
.dataset-row p { margin: .2rem 0 0; color: var(--apt-muted); font-size: .76rem; }
.data-note h2 { margin-top: 0; font-size: 1rem; }
.data-note dl { margin: 0; }
.data-note dl div { padding: .7rem 0; border-bottom: 1px solid var(--apt-border); }
.data-note dt { color: var(--apt-muted); font-size: .68rem; text-transform: uppercase; }
.data-note dd { margin: .2rem 0 0; font-size: .78rem; font-weight: 700; }
.data-note p { color: var(--apt-muted); font-size: .75rem; margin-bottom: 0; }
.data-preview { min-width: 0; }
.evidence-insight-list { display: grid; gap: .75rem; }
.evidence-insight { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .8rem; padding: 1rem; }
.evidence-insight__rank { display: grid; place-items: center; align-self: start; width: 2rem; height: 2rem; border-radius: 50%; color: var(--apt-blue-700); background: var(--apt-blue-100); font-weight: 800; }
.evidence-insight__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; color: var(--apt-muted); font-size: .65rem; text-transform: uppercase; letter-spacing: .04em; }
.evidence-insight__meta > span:not(.badge) + span:not(.badge)::before { content: "·"; margin-right: .45rem; }
.evidence-insight h3 { margin: .45rem 0 .25rem; font-size: .9rem; line-height: 1.3; }
.evidence-insight p { margin: 0 0 .65rem; color: var(--apt-muted); font-size: .74rem; }
.evidence-insight details { border-top: 1px solid var(--apt-border); padding-top: .6rem; }
.evidence-insight summary { width: fit-content; color: var(--apt-blue-700); cursor: pointer; font-size: .71rem; font-weight: 750; }
.evidence-insight summary:focus-visible { outline: 3px solid #ffd45c; outline-offset: 3px; border-radius: 2px; }
.evidence-table { margin-top: .75rem; min-width: 780px; font-size: .68rem; }
.evidence-table td:last-child { min-width: 260px; }
.archive-list { display: grid; gap: .7rem; }
.archive-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--apt-border); }
.archive-row:last-child { border-bottom: 0; }

/* ════════════════════════════════════════════════════════════════════
   HUB — Unified cross-domain landing page (Mock 2 pattern)
   ════════════════════════════════════════════════════════════════════ */

/* Hero */
.hub-hero { background: linear-gradient(135deg, var(--apt-navy-950) 0%, #0e2060 100%); color: white; border-bottom: 1px solid #1e3570; }
.hub-hero__inner { max-width: var(--apt-content); margin: auto; padding: var(--apt-space-6) var(--apt-space-4); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--apt-space-5); align-items: center; }
.hub-hero__copy { max-width: 520px; }
.hub-hero__headline { margin: 0 0 var(--apt-space-3); font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 820; letter-spacing: -.045em; line-height: 1.1; color: white; }
.hub-hero__sub { margin: 0 0 var(--apt-space-4); color: #afc4f5; font-size: .9rem; line-height: 1.65; }
.hub-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Platform Snapshot (inside hero) */
.hub-snapshot__label { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8daaf5; margin-bottom: .85rem; }
.hub-snapshot__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.snap-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: var(--apt-radius-lg); padding: 1.1rem 1.15rem; }
.snap-card__header { display: flex; align-items: center; gap: .5rem; margin-bottom: .65rem; }
.snap-card__icon { width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.snap-card__icon svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.snap-card__icon--blue { background: rgba(59,123,255,.25); color: #75a4ff; }
.snap-card__icon--green { background: rgba(4,120,87,.3); color: #34d399; }
.snap-card__icon--amber { background: rgba(217,119,6,.25); color: #fbbf24; }
.snap-card__icon--purple { background: rgba(109,40,217,.3); color: #a78bfa; }
.snap-card__label { font-size: .68rem; font-weight: 650; color: #afc4f5; }
.snap-card__value { font-size: 1.75rem; font-weight: 820; letter-spacing: -.04em; color: white; line-height: 1; margin-bottom: .3rem; }
.snap-card__delta { font-size: .72rem; font-weight: 700; color: #6ee7b7; }
.snap-card__delta--flat { color: #94a3b8; }
.snap-card__delta--down { color: #fca5a5; }
.snap-card__chart { margin-top: .6rem; }
.snap-card__chart svg { width: 100%; height: 32px; overflow: visible; display: block; }
.snap-card__chart polyline { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }

/* Announcement bar */
.announce-bar { background: var(--apt-blue-100); border-bottom: 1px solid #c5d8ff; }
.announce-bar__inner { max-width: var(--apt-content); margin: auto; padding: .65rem var(--apt-space-4); display: flex; align-items: center; gap: .75rem; font-size: .8rem; color: var(--apt-navy-800); }
.announce-bar a { font-weight: 700; color: var(--apt-blue-700); text-decoration: none; margin-left: auto; white-space: nowrap; }
.announce-bar a:hover { text-decoration: underline; }

/* Hub body grid */
.hub-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--apt-space-5); margin-bottom: var(--apt-space-5); align-items: start; }
.hub-section-title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.hub-section-title h2 { margin: 0; font-size: .95rem; font-weight: 750; }

/* Domain cards */
.domain-cards { display: grid; gap: 1rem; }
.domain-card { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: .85rem; align-items: start; padding: 1.15rem; border-radius: var(--apt-radius-lg); border: 1px solid var(--apt-border); background: white; box-shadow: var(--apt-shadow); transition: box-shadow .15s, border-color .15s; text-decoration: none; color: inherit; }
.domain-card:hover { box-shadow: var(--apt-shadow-md); border-color: #c3cfdf; }
.domain-card__icon { width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; }
.domain-card__icon svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.domain-card__title { margin: 0 0 .3rem; font-size: .92rem; font-weight: 750; color: var(--apt-navy-950); }
.domain-card__desc { margin: 0 0 .65rem; font-size: .76rem; color: var(--apt-muted); line-height: 1.5; }
.domain-card__link { font-size: .75rem; font-weight: 700; display: inline-flex; align-items: center; gap: .25rem; }
.domain-card--se .domain-card__icon { color: var(--apt-domain-se); background: var(--apt-domain-se-bg); }
.domain-card--se .domain-card__link { color: var(--apt-domain-se); }
.domain-card--ti .domain-card__icon { color: var(--apt-domain-ti); background: var(--apt-domain-ti-bg); }
.domain-card--ti .domain-card__link { color: var(--apt-domain-ti); }
.domain-card--ha .domain-card__icon { color: var(--apt-domain-ha); background: var(--apt-domain-ha-bg); }
.domain-card--ha .domain-card__link { color: var(--apt-domain-ha); }

/* Reports & Views grid */
.reports-type-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.report-type-card { display: flex; flex-direction: column; gap: .2rem; padding: .9rem 1rem; border: 1px solid var(--apt-border); border-radius: var(--apt-radius); background: white; text-decoration: none; color: inherit; transition: box-shadow .15s, border-color .15s; }
.report-type-card:hover { box-shadow: var(--apt-shadow); border-color: #c3cfdf; }
.report-type-card__name { font-size: .82rem; font-weight: 750; color: var(--apt-navy-950); }
.report-type-card__desc { font-size: .7rem; color: var(--apt-muted); line-height: 1.4; }

/* Hub bottom 3-col */
.hub-bottom { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--apt-space-4); margin-bottom: var(--apt-space-5); align-items: start; }

/* Strategic insights */
.strategic-insight-list { display: grid; }
.strategic-insight { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr) auto; gap: .6rem; align-items: start; padding: .7rem 0; border-bottom: 1px solid var(--apt-border); text-decoration: none; color: inherit; }
.strategic-insight:last-child { border-bottom: 0; }
.strategic-insight:hover .strategic-insight__text { color: var(--apt-blue-700); }
.strategic-insight__num { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--apt-blue-100); color: var(--apt-blue-700); font-size: .68rem; font-weight: 800; flex-shrink: 0; }
.strategic-insight__text { font-size: .8rem; line-height: 1.4; color: var(--apt-navy-800); }
.strategic-insight__arrow { color: var(--apt-muted); font-size: .8rem; align-self: center; }

/* Opportunities hub */
.opp-list { display: grid; }
.opp-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .65rem; align-items: start; padding: .7rem 0; border-bottom: 1px solid var(--apt-border); text-decoration: none; color: inherit; }
.opp-item:last-child { border-bottom: 0; }
.opp-item:hover .opp-item__text { color: var(--apt-blue-700); }
.opp-item__text { display: block; font-size: .8rem; line-height: 1.4; color: var(--apt-navy-800); }
.opp-item__impact { display: block; font-size: .68rem; color: var(--apt-muted); margin-top: .1rem; }
.opp-item__arrow { color: var(--apt-muted); font-size: .8rem; align-self: center; }

/* Trend snapshot */
.hub-trend-chart { width: 100%; }
.hub-trend-chart svg { width: 100%; overflow: visible; display: block; }
.hub-trend-chart polyline { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hub-trend-chart circle { fill: currentColor; }
.hub-trend-chart text { fill: var(--apt-muted); font: 9px ui-sans-serif, system-ui, sans-serif; }
.hub-trend-legend { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .75rem; font-size: .68rem; color: var(--apt-navy-800); }
.hub-trend-legend span { display: flex; align-items: center; gap: .3rem; }
.hub-trend-legend i { width: .5rem; height: .5rem; border-radius: 50%; flex-shrink: 0; }

/* Priority tags */
.priority { display: inline-flex; align-items: center; font-size: .67rem; font-weight: 700; border-radius: 4px; padding: .2rem .45rem; white-space: nowrap; }
.priority--high { color: var(--apt-danger); background: #fff5f6; }
.priority--medium { color: var(--apt-warning); background: #fff9ef; }
.priority--low { color: var(--apt-success); background: #f0fbf7; }

/* Feature strip */
.feature-strip { background: var(--apt-navy-900); border-top: 1px solid #1e3570; }
.feature-strip__inner { max-width: var(--apt-content); margin: auto; padding: var(--apt-space-4); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--apt-space-3); }
.feature-item { display: flex; align-items: center; gap: .75rem; color: #afc4f5; }
.feature-item__icon { width: 2.2rem; height: 2.2rem; flex-shrink: 0; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.feature-item__icon svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-item__title { font-size: .78rem; font-weight: 700; color: white; }
.feature-item__sub { font-size: .67rem; color: #8daaf5; }

/* Site footer */
.site-footer { background: var(--apt-navy-950); border-top: 1px solid #1a2e60; }
.site-footer__inner { max-width: var(--apt-content); margin: auto; padding: 1rem var(--apt-space-4); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.site-footer__brand { color: white; font-size: .82rem; font-weight: 800; font-style: italic; letter-spacing: -.04em; text-decoration: none; }
.site-footer__links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-footer__links a { color: #8daaf5; font-size: .72rem; text-decoration: none; }
.site-footer__links a:hover { color: white; }
.site-footer__status { display: flex; align-items: center; gap: .4rem; font-size: .72rem; color: #6ee7b7; }
.site-footer__status::before { content: ''; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1180px) { .portal-layout { grid-template-columns: 190px minmax(0, 1fr); } .portal-rail { grid-column: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); } .executive-layout { grid-template-columns: 160px minmax(0, 1fr); } .executive-rail { grid-column: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); } .topbar__period { display: none; } .period-select span { display: none; } }
@media (max-width: 980px) { .metric-grid, .data-summary { grid-template-columns: repeat(2, 1fr); } .snapshot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .report-grid, .data-layout { grid-template-columns: minmax(0, 1fr); } .topbar__inner { align-items: flex-start; flex-direction: column; gap: 0; padding-top: .75rem; } .portal-layout, .executive-layout { grid-template-columns: minmax(0, 1fr); } .portal-intro, .report-side { position: static; min-height: 0; border-right: 0; } .portal-rail, .executive-rail { grid-column: auto; } .report-side { display: flex; overflow-x: auto; } }
@media (max-width: 700px) { .portal-insight-row { grid-template-columns: 1fr; } .snapshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .line-chart { grid-template-columns: 1fr; } .chart-legend { grid-template-columns: repeat(3, auto); justify-content: start; } }
@media (max-width: 560px) { .shell { padding: 1.25rem 1rem 3rem; } .brand__product { display: none; } .metric-grid, .data-summary, .insight-grid, .executive-rail { grid-template-columns: 1fr; } .snapshot-grid { grid-template-columns: 1fr; } .page-head { align-items: start; flex-direction: column; } .data-table { min-width: 760px; } .change-grid { grid-template-columns: 1fr; } .change-grid > div { padding: .8rem 0; border-right: 0; border-bottom: 1px solid var(--apt-border); } .dataset-row { grid-template-columns: 1fr; } .period-select { width: 100%; padding-bottom: .65rem; } .period-select select { width: 100%; max-width: none; } }
@media print { .topbar, .button, .filters { display: none; } .shell { max-width: none; padding: 0; } .card { box-shadow: none; break-inside: avoid; } }

/* Hub responsive */
@media (max-width: 1100px) { .hub-hero__inner { grid-template-columns: minmax(0, 1fr); } .hub-snapshot__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .hub-hero__copy { max-width: none; } .feature-strip__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .hub-body { grid-template-columns: minmax(0, 1fr); } .hub-bottom { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hub-snapshot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hub-bottom { grid-template-columns: minmax(0, 1fr); } .reports-type-grid { grid-template-columns: minmax(0, 1fr); } .feature-strip__inner { grid-template-columns: minmax(0, 1fr); } .hub-hero__inner { padding: var(--apt-space-4) var(--apt-space-3); } .hub-hero__headline { font-size: 1.6rem; } }
