:root {
  --gw-canvas: #f4f1eb;
  --gw-panel: #fffdf9;
  --gw-panel-strong: #ffffff;
  --gw-ink: #122033;
  --gw-muted: #667085;
  --gw-line: #d9d6cf;
  --gw-nav: #101b2d;
  --gw-nav-muted: #a8b4c7;
  --gw-primary: #2563eb;
  --gw-primary-dark: #1849a9;
  --gw-accent: #f2644b;
  --gw-success: #0f8a70;
  --gw-warning: #b76a00;
  --gw-danger: #b42318;
  --gw-focus: #2e90fa;
  --gw-shadow: 0 14px 34px rgba(18, 32, 51, 0.08);
  --gw-radius: 14px;
  color: var(--gw-ink);
  background: var(--gw-canvas);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { overflow-wrap: anywhere; margin: 0; min-width: 320px; background: var(--gw-canvas); line-height: 1.55; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--gw-focus); outline-offset: 3px; }
.gw-skip { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 10px 14px; color: #fff; background: var(--gw-nav); transform: translateY(-160%); }
.gw-skip:focus { transform: translateY(0); }
.gw-app { min-height: 100vh; }
.gw-nav { display: flex; align-items: center; padding: 14px 18px; color: #fff; background: var(--gw-nav); }
.gw-nav > nav, .gw-nav-meta { display: none; }
.gw-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 0; color: #fff; text-decoration: none; }
.gw-mark { display: grid; width: 38px; height: 38px; place-items: center; border: 2px solid var(--gw-accent); border-radius: 12px; color: #fff; font-weight: 900; }
.gw-brand-copy strong, .gw-brand-copy span { display: block; }
.gw-brand-copy span { color: var(--gw-nav-muted); font-size: .78rem; }
.gw-nav-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.gw-nav-list a { display: flex; min-height: 44px; align-items: center; padding: 10px 12px; border-radius: 10px; color: #dce4ef; font-weight: 750; text-decoration: none; }
.gw-nav-list a:hover { background: rgba(255,255,255,.08); }
.gw-nav-list a[aria-current="page"] { color: #fff; background: var(--gw-primary); box-shadow: inset 4px 0 var(--gw-accent); }
.gw-nav-meta { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: var(--gw-nav-muted); font-size: .8rem; }
.gw-nav-meta a { color: inherit; font-size: inherit; }
.gw-nav-meta a:hover { color: #fff; }
.gw-main { min-width: 0; }
.gw-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 96px; }
.gw-header { display: grid; gap: 18px; margin-bottom: 26px; padding: 28px; border: 1px solid var(--gw-line); border-radius: var(--gw-radius); background: var(--gw-panel-strong); box-shadow: var(--gw-shadow); }
.gw-eyebrow { margin: 0 0 8px; color: var(--gw-accent); font-size: .76rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
h1 { max-width: 850px; margin: 0; font-size: clamp(2.15rem, 5vw, 4.25rem); line-height: 1; letter-spacing: -.055em; }
.gw-summary { max-width: 72ch; margin: 15px 0 0; color: var(--gw-muted); font-size: 1.04rem; }
.gw-status { display: inline-flex; width: fit-content; min-height: 30px; align-items: center; gap: 8px; padding: 5px 10px; border: 1px solid #cfd4dc; border-radius: 999px; color: #475467; background: #f2f4f7; font-size: .78rem; font-weight: 850; }
.gw-status::before { width: 8px; height: 8px; border-radius: 50%; background: #98a2b3; content: ""; }
.gw-status-success { border-color: #b8dcca; color: #0b664f; background: #e9f8f1; }
.gw-status-success::before { background: var(--gw-success); }
.gw-status-info { border-color: #b7c8ef; color: var(--gw-primary-dark); background: #f1f5ff; }
.gw-status-info::before { background: var(--gw-primary); }
.gw-status-neutral { border-color: #cfd4dc; color: #475467; background: #f2f4f7; }
.gw-status-neutral::before { background: #98a2b3; }
.gw-status-danger { border-color: #f0b7b2; color: #8f1f17; background: #fff0ef; }
.gw-status-danger::before { background: var(--gw-danger); }
.gw-trust-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; margin: -10px 0 26px; border: 1px solid var(--gw-line); border-radius: 12px; background: var(--gw-line); }
.gw-trust-strip div { min-width: 0; padding: 13px 15px; background: var(--gw-panel); }
.gw-trust-strip span, .gw-trust-strip strong { display: block; }
.gw-trust-strip span { color: var(--gw-muted); font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.gw-trust-strip strong { overflow: hidden; margin-top: 2px; font-size: .92rem; text-overflow: ellipsis; white-space: nowrap; }
.gw-trust-strip strong.gw-trust-warning { color: var(--gw-warning); }
.gw-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.gw-metric { padding: 18px; border: 1px solid var(--gw-line); border-radius: 12px; background: var(--gw-panel); }
.gw-metric span, .gw-metric strong { display: block; }
.gw-metric span { color: var(--gw-muted); font-size: .78rem; font-weight: 750; }
.gw-metric strong { margin-top: 4px; font-size: 1.35rem; }
.gw-grid { display: grid; gap: 18px; }
.gw-card { display: flex; min-height: 100%; flex-direction: column; overflow: hidden; border: 1px solid var(--gw-line); border-radius: var(--gw-radius); background: var(--gw-panel); box-shadow: var(--gw-shadow); }
.gw-card[data-kind="metric"] { border-top: 3px solid var(--gw-primary); }
.gw-card[data-kind="risk"], .gw-card[data-kind="decision"] { border-top: 3px solid var(--gw-accent); }
.gw-card[data-kind="initiative"], .gw-card[data-kind="business-line"] { border-top: 3px solid var(--gw-success); }
.gw-card[data-status-tone="danger"] { border-color: #e6a8a2; }
.gw-card-body { flex: 1; padding: 22px; }
.gw-card h2, .gw-card h3 { margin: 0; font-size: 1.22rem; letter-spacing: -.02em; }
.gw-card p { margin: 10px 0 0; color: var(--gw-muted); }
.gw-card-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; margin: 18px 0 0; }
.gw-card-meta div { min-width: 0; padding-top: 9px; border-top: 1px solid var(--gw-line); }
.gw-card-meta dt { color: var(--gw-muted); font-size: .7rem; font-weight: 850; letter-spacing: .045em; text-transform: uppercase; }
.gw-card-meta dd { overflow-wrap: anywhere; margin: 2px 0 0; font-size: .88rem; font-weight: 750; }
.gw-card-footer { padding: 15px 22px; border-top: 1px solid var(--gw-line); background: #faf8f3; }
.gw-link { display: inline-block; margin-top: 16px; color: var(--gw-primary-dark); font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.gw-filter { margin: 0 0 28px; padding: 18px; border: 1px solid var(--gw-line); border-radius: 12px; background: var(--gw-panel); }
.gw-filter label { display: block; margin-bottom: 8px; font-size: .86rem; font-weight: 850; }
.gw-filter-row { display: flex; flex-wrap: wrap; gap: 10px; }
.gw-filter input { min-width: 0; min-height: 44px; flex: 1 1 280px; padding: 9px 12px; border: 1px solid #aeb6c2; border-radius: 9px; color: var(--gw-ink); background: #fff; font: inherit; }
.gw-filter button { min-height: 44px; padding: 9px 14px; border: 1px solid var(--gw-primary); border-radius: 9px; color: var(--gw-primary-dark); background: #fff; font: inherit; font-weight: 850; cursor: pointer; }
.gw-filter button:hover { color: #fff; background: var(--gw-primary); }
.gw-filter-count, .gw-filter-empty { margin: 9px 0 0; color: var(--gw-muted); font-size: .8rem; }
.gw-filter-empty { padding: 18px; border: 1px dashed var(--gw-line); border-radius: 12px; text-align: center; }
.gw-section-hidden { display: none; }
.gw-prompt { margin-top: 24px; padding: 22px; border: 1px solid #b7c8ef; border-left: 5px solid var(--gw-primary); border-radius: var(--gw-radius); background: #f1f5ff; }
.gw-prompt > span, .gw-card-request > span { display: block; color: var(--gw-primary-dark); font-size: .73rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.gw-prompt > p { max-width: 75ch; margin: 8px 0 0; color: var(--gw-ink); font-size: 1rem; font-weight: 750; }
.gw-card-request { margin-top: 18px; padding: 14px 0 0; border-top: 1px solid var(--gw-line); }
.gw-card-request > p { margin: 7px 0 0; color: var(--gw-ink); font-weight: 750; }
.gw-breadcrumbs { margin: 0 0 24px; }
.gw-breadcrumb-list { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; list-style: none; }
.gw-breadcrumb-list li { display: inline-flex; align-items: center; gap: 8px; color: var(--gw-muted); font-size: .88rem; font-weight: 750; }
.gw-breadcrumb-list a { display: inline-flex; min-height: 40px; align-items: center; color: var(--gw-primary-dark); font-weight: 850; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.gw-breadcrumb-list [aria-current="page"] { color: var(--gw-ink); }
.gw-breadcrumb-separator { width: 14px; height: 14px; flex: 0 0 14px; color: var(--gw-muted); }
.gw-page-section + .gw-page-section { margin-top: 64px; }
.gw-focus-section { padding: 22px; border: 1px solid var(--gw-line); border-left: 5px solid var(--gw-accent); border-radius: var(--gw-radius); background: var(--gw-panel-strong); box-shadow: var(--gw-shadow); }
.gw-focus-section .gw-section-heading { border-bottom-color: var(--gw-accent); }
.gw-focus-section .gw-card { box-shadow: none; }
.gw-home-links { display: flex; min-height: 44px; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 18px; padding: 10px 2px 0; border-top: 1px solid var(--gw-line); }
.gw-home-links span { color: var(--gw-muted); font-size: .76rem; font-weight: 850; letter-spacing: .045em; text-transform: uppercase; }
.gw-home-links a { display: inline-flex; min-height: 40px; align-items: center; color: var(--gw-primary-dark); font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.gw-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--gw-line); }
.gw-section-heading h2 { margin: 0; font-size: clamp(1.35rem, 3vw, 1.8rem); letter-spacing: -.03em; }
.gw-disclosure { border: 1px solid var(--gw-line); border-radius: var(--gw-radius); background: rgba(255,255,255,.35); }
.gw-disclosure > summary { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; color: var(--gw-ink); font-weight: 900; cursor: pointer; }
.gw-disclosure > summary span { font-size: clamp(1.15rem, 2.5vw, 1.45rem); letter-spacing: -.02em; }
.gw-disclosure > summary small { color: var(--gw-muted); font-size: .76rem; }
.gw-disclosure[open] > summary { border-bottom: 1px solid var(--gw-line); }
.gw-disclosure > .gw-grid { padding: 18px; }
.gw-footer { margin-top: 38px; padding-top: 18px; border-top: 1px solid var(--gw-line); color: var(--gw-muted); font-size: .82rem; }
.gw-footer-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.gw-footer-actions p { margin: 0; }
.gw-footer button { min-height: 44px; padding: 8px 14px; border: 1px solid var(--gw-line); border-radius: 10px; color: var(--gw-primary-dark); background: var(--gw-panel); font: inherit; font-weight: 800; cursor: pointer; }
.gw-footer button:hover { border-color: var(--gw-primary); }
.gw-status-warning { border-color: #efcf92; color: #7a4700; background: #fff6df; }
.gw-status-warning::before { background: var(--gw-warning); }
.gw-mobile-menu { margin-bottom: 18px; border: 1px solid var(--gw-line); border-radius: 12px; background: var(--gw-panel); }
.gw-mobile-menu summary { min-height: 44px; padding: 10px 14px; font-weight: 850; cursor: pointer; }
.gw-mobile-menu nav { padding: 0 10px 10px; }
.gw-mobile-menu .gw-nav-list a { color: var(--gw-ink); }
.gw-mobile-menu .gw-nav-list a[aria-current="page"] { color: #fff; }

@media (min-width: 561px) {
  .gw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gw-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gw-header { align-items: end; }
}

@media (min-width: 861px) {
  .gw-app { display: grid; grid-template-columns: 248px minmax(0, 1fr); }
  .gw-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gw-trust-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .gw-nav { position: sticky; top: 0; display: block; height: 100vh; padding: 24px 18px; }
  .gw-nav > nav, .gw-nav-meta { display: block; }
  .gw-brand { margin-bottom: 26px; }
  .gw-mobile-menu { display: none; }
}

@media (min-width: 1080px) {
  .gw-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .gw-footer-actions { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .gw-container { width: calc(100% - 24px); padding-top: 40px; }
  .gw-grid, .gw-metrics, .gw-trust-strip, .gw-header { grid-template-columns: 1fr; }
  .gw-card-meta { grid-template-columns: 1fr; }
  .gw-header, .gw-card-body, .gw-prompt { padding: 20px; }
  .gw-section-heading { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media print {
  .gw-nav, .gw-mobile-menu, .gw-breadcrumbs, .gw-home-links, .gw-prompt, .gw-card-request, .gw-filter, .gw-footer { display: none; }
  .gw-app { display: block; }
  body { background: #fff; }
  .gw-container { width: 100%; padding: 0; }
  .gw-card, .gw-header { break-inside: avoid; box-shadow: none; }
}
