@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&family=IBM+Plex+Mono:wght@400;500;600&display=swap");

/* ── styles.css ── */
/* ── tokens/fonts.css ── */

/* Type stack, Inter (400, 600; 900 for emphasis)
   for everything, from the Google Fonts CDN. IBM Plex Mono for identifiers only. */
:root {
  --font-body: var(--font-sans);
  --font-data: var(--font-sans);
}

/* ── styles.css ── */

/* ── tokens/colors.css ── */
:root {
}

/* ── styles.css ── */

/* ── tokens/typography.css ── */
:root {
  --numeric-tabular: "tnum" 1, "lnum" 1; /* @kind other */
}

/* Type roles — apply as classes when not using components. */
.gd-display-1 { font-family: var(--font-display); font-size: var(--text-display-1); line-height: var(--leading-tight); letter-spacing: var(--tracking-display); font-weight: var(--weight-semibold); color: var(--text-strong); }
.gd-display-2 { font-family: var(--font-display); font-size: var(--text-display-2); line-height: var(--leading-display); letter-spacing: var(--tracking-display); font-weight: var(--weight-semibold); color: var(--text-strong); }
.gd-h1 { font-family: var(--font-display); font-size: var(--text-h1); line-height: var(--leading-heading); letter-spacing: var(--tracking-heading); font-weight: var(--weight-semibold); color: var(--text-strong); }
.gd-h2 { font-family: var(--font-sans); font-size: var(--text-h2); line-height: var(--leading-heading); letter-spacing: var(--tracking-heading); font-weight: var(--weight-semibold); color: var(--text-strong); }
.gd-h3 { font-family: var(--font-sans); font-size: var(--text-h3); line-height: var(--leading-heading); font-weight: var(--weight-semibold); color: var(--text-strong); }
.gd-h4 { font-family: var(--font-sans); font-size: var(--text-h4); line-height: var(--leading-snug); font-weight: var(--weight-semibold); color: var(--text-strong); }
.gd-body-lg { font-size: var(--text-body-lg); line-height: var(--leading-body); color: var(--text-body); }
.gd-body { font-size: var(--text-body-md); line-height: var(--leading-body); color: var(--text-body); }
.gd-body-sm { font-size: var(--text-body-sm); line-height: var(--leading-snug); color: var(--text-body); }
.gd-caption { font-size: var(--text-caption); line-height: var(--leading-snug); color: var(--text-muted); }
.gd-eyebrow { font-size: var(--text-micro); line-height: 1.3; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; font-weight: var(--weight-semibold); color: var(--text-muted); }
.gd-data { font-variant-numeric: tabular-nums lining-nums; font-feature-settings: var(--numeric-tabular); letter-spacing: var(--tracking-data); }

/* ── styles.css ── */

/* ── tokens/spacing.css ── */
:root {
}

/* ── styles.css ── */

/* ── tokens/elevation.css ── */
:root { /* @kind other */
}

/* ── styles.css ── */

/* ── tokens/motion.css ── */
:root { /* @kind other */
}
@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-instant: 0ms; /* @kind other */
    --duration-fast: 0ms; /* @kind other */
    --duration-base: 0ms; /* @kind other */
    --duration-slow: 0ms; /* @kind other */
    --duration-reveal: 0ms; /* @kind other */
  }
}

/* ── styles.css ── */

/* ── tokens/base.css ── */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-body); font-size: var(--text-body-md); line-height: var(--leading-body); color: var(--text-body); background: var(--surface-page); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--text-strong); }
p { margin: 0; text-wrap: pretty; }
a { color: var(--text-link); text-decoration: none; border-bottom: 1px solid rgba(0, 102, 95, 0.32); transition: var(--transition-control); }
a:hover { color: var(--text-link-hover); border-bottom-color: currentColor; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--border-focus); outline-offset: 2px; }
table { border-collapse: collapse; }
th { text-align: left; }
td, th { font-variant-numeric: tabular-nums lining-nums; }
::selection { background: var(--blue-100); color: var(--blue-900); }

/* ── styles.css ── */

/* ── components/components.css ── */
/* ── components/core/core.css ── */
/* ── Button ────────────────────────────────────────────────── */
.gd-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-4); font-family: var(--font-sans); font-weight: var(--weight-semibold); line-height: 1; border: 2px solid transparent; border-radius: var(--radius-sm); cursor: pointer; white-space: nowrap; text-decoration: none; transition: var(--transition-control); }
.gd-btn:focus-visible { outline: 2px solid var(--border-focus); outline-offset: 2px; }
.gd-btn:active:not(:disabled) { transform: scale(var(--press-scale)); }
.gd-btn--sm { height: var(--control-h-sm); padding: 0 var(--control-pad-sm); font-size: var(--text-caption); }
.gd-btn--md { height: var(--control-h-md); padding: 0 var(--control-pad-md); font-size: var(--text-body-sm); }
.gd-btn--lg { height: var(--control-h-lg); padding: 0 var(--control-pad-lg); font-size: 15px; }
.gd-btn--block { width: 100%; }
.gd-btn--primary { background: transparent; color: var(--action-primary); border-color: var(--action-primary); }
.gd-btn--primary:hover:not(:disabled) { background: var(--action-primary); color: var(--text-inverse); }
.gd-btn--primary:active:not(:disabled) { background: var(--action-primary-active); border-color: var(--action-primary-active); color: var(--text-inverse); }
.gd-btn--accent { background: var(--action-accent); color: var(--text-inverse); }
.gd-btn--accent:hover:not(:disabled) { background: var(--action-accent-hover); }
.gd-btn--secondary { background: var(--white); color: var(--blue-900); border-color: var(--border-strong); }
.gd-btn--secondary:hover:not(:disabled) { background: var(--surface-hover); border-color: var(--slate-400); }
.gd-btn--ghost { background: transparent; color: var(--blue-800); }
.gd-btn--ghost:hover:not(:disabled) { background: var(--surface-active); }
.gd-btn--danger { background: var(--red-600); color: var(--text-inverse); }
.gd-btn--danger:hover:not(:disabled) { background: var(--red-700); }
.gd-btn--inverse { background: var(--white); color: var(--blue-900); }
.gd-btn--inverse:hover:not(:disabled) { background: var(--blue-50); }
.gd-btn--outline-inverse { background: transparent; color: var(--white); border-color: var(--white); }
.gd-btn--outline-inverse:hover:not(:disabled) { background: var(--white); color: var(--action-primary); border-color: var(--white); }
.gd-btn:disabled { background: var(--action-disabled-bg); color: var(--action-disabled-text); border-color: transparent; cursor: not-allowed; }
.gd-btn__icon { display: inline-flex; width: 1em; height: 1em; flex: none; }

/* ── IconButton ────────────────────────────────────────────── */
.gd-iconbtn { display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: var(--radius-sm); cursor: pointer; color: var(--text-muted); background: transparent; transition: var(--transition-control); }
.gd-iconbtn:hover:not(:disabled) { background: var(--surface-active); color: var(--text-strong); }
.gd-iconbtn:focus-visible { outline: 2px solid var(--border-focus); outline-offset: 2px; }
.gd-iconbtn--sm { width: var(--control-h-sm); height: var(--control-h-sm); }
.gd-iconbtn--md { width: var(--control-h-md); height: var(--control-h-md); }
.gd-iconbtn--lg { width: var(--control-h-lg); height: var(--control-h-lg); }
.gd-iconbtn--outline { border-color: var(--border-default); background: var(--white); }
.gd-iconbtn--outline:hover:not(:disabled) { border-color: var(--border-strong); background: var(--surface-hover); }
.gd-iconbtn--solid { background: var(--action-primary); color: var(--text-inverse); }
.gd-iconbtn--solid:hover:not(:disabled) { background: var(--action-primary-hover); color: var(--text-inverse); }
.gd-iconbtn:disabled { color: var(--action-disabled-text); cursor: not-allowed; background: transparent; }

/* ── Icon (inline Lucide SVG, inherits currentColor) ───────── */
.gd-icon { display: inline-block; flex: none; stroke: currentColor; fill: none; vertical-align: middle; }

/* ── Card ──────────────────────────────────────────────────── */
.gd-card { background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-md); padding: var(--card-pad); }
.gd-card--flush { padding: 0; }
.gd-card--tight { padding: var(--card-pad-sm); }
.gd-card--sunken { background: var(--surface-sunken); }
.gd-card--raised { box-shadow: var(--shadow-2); border-color: var(--border-hairline); }
.gd-card--ink { background: var(--surface-ink); border-color: transparent; color: var(--text-inverse-muted); }
.gd-card--ink .gd-card__title, .gd-card--ink .gd-card__eyebrow { color: var(--text-inverse); }
.gd-card--interactive { cursor: pointer; transition: var(--transition-surface); }
.gd-card--interactive:hover { box-shadow: var(--shadow-2); border-color: var(--border-strong); }
.gd-card--accent { border-top: var(--border-w-emphasis) solid var(--green-500); }
.gd-card__header { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-6); padding-bottom: var(--space-5); margin-bottom: var(--space-6); border-bottom: 1px solid var(--border-hairline); }
.gd-card__header--plain { border-bottom: 0; padding-bottom: 0; margin-bottom: var(--space-5); }
.gd-card__eyebrow { font-size: var(--text-micro); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; font-weight: var(--weight-semibold); color: var(--text-muted); margin-bottom: var(--space-2); }
.gd-card__title { font-size: var(--text-h4); font-weight: var(--weight-semibold); color: var(--text-strong); letter-spacing: var(--tracking-heading); }
.gd-card__footer { display: flex; align-items: center; gap: var(--space-5); padding-top: var(--space-5); margin-top: var(--space-6); border-top: 1px solid var(--border-hairline); }

/* ── Badge ─────────────────────────────────────────────────── */
.gd-badge { display: inline-flex; align-items: center; gap: var(--space-3); font-family: var(--font-sans); font-size: var(--text-micro); font-weight: var(--weight-semibold); letter-spacing: 0.06em; text-transform: uppercase; padding: 3px var(--space-3); border-radius: var(--radius-xs); border: 1px solid transparent; }
.gd-badge--neutral { background: var(--status-neutral-bg); color: var(--status-neutral); }
.gd-badge--positive { background: var(--status-positive-bg); color: var(--green-800); }
.gd-badge--caution { background: var(--status-caution-bg); color: var(--amber-700); }
.gd-badge--negative { background: var(--status-negative-bg); color: var(--red-700); }
.gd-badge--info { background: var(--status-info-bg); color: var(--blue-800); }
.gd-badge--brand { background: var(--surface-ink); color: var(--text-inverse); }
.gd-badge--outline { background: transparent; border-color: var(--border-strong); color: var(--text-muted); }
.gd-badge__dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* ── Tag ───────────────────────────────────────────────────── */
.gd-tag { display: inline-flex; align-items: center; gap: var(--space-4); font-size: var(--text-caption); font-weight: var(--weight-medium); color: var(--text-body); background: var(--white); border: 1px solid var(--border-default); border-radius: var(--radius-sm); padding: 4px var(--space-4); }
.gd-tag--muted { background: var(--surface-sunken); border-color: var(--border-hairline); }
.gd-tag__dot { width: 7px; height: 7px; border-radius: 2px; flex: none; }
.gd-tag__remove { display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px; margin-right: -2px; border: 0; padding: 0; background: transparent; color: var(--text-subtle); cursor: pointer; border-radius: var(--radius-xs); font-size: 13px; line-height: 1; }
.gd-tag__remove:hover { background: var(--surface-active); color: var(--text-strong); }

/* ── components/components.css ── */

/* ── components/forms/forms.css ── */
/* ── Field scaffolding ─────────────────────────────────────── */
.gd-field { display: flex; flex-direction: column; gap: var(--space-3); }
.gd-label { font-family: var(--font-sans); font-size: var(--text-caption); font-weight: var(--weight-semibold); color: var(--text-strong); display: flex; align-items: baseline; gap: var(--space-3); }
.gd-label__note { font-weight: var(--weight-regular); color: var(--text-subtle); }
.gd-hint { font-size: 12px; line-height: 1.4; color: var(--text-muted); }
.gd-error { font-size: 12px; line-height: 1.4; color: var(--status-negative); font-weight: var(--weight-medium); }

/* ── Input / textarea ──────────────────────────────────────── */
.gd-input { width: 100%; height: var(--control-h-md); padding: 0 var(--control-pad-sm); font-family: var(--font-sans); font-size: var(--text-body-sm); color: var(--text-strong); background: var(--white); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); box-shadow: var(--shadow-inset-field); transition: var(--transition-control); }
.gd-input::placeholder { color: var(--text-subtle); }
.gd-input:hover:not(:disabled):not(:focus) { border-color: var(--slate-400); }
.gd-input:focus { outline: none; border-color: var(--border-focus); box-shadow: var(--focus-ring); }
.gd-input:disabled { background: var(--surface-inset); color: var(--action-disabled-text); cursor: not-allowed; }
.gd-input--sm { height: var(--control-h-sm); font-size: var(--text-caption); padding: 0 var(--space-4); }
.gd-input--lg { height: var(--control-h-lg); font-size: var(--text-body-md); padding: 0 var(--space-5); }
.gd-input--invalid { border-color: var(--red-500); }
.gd-input--invalid:focus { border-color: var(--red-600); box-shadow: 0 0 0 3px rgba(187, 43, 33, 0.22); }
.gd-input--numeric { font-variant-numeric: tabular-nums lining-nums; text-align: right; }
.gd-input--area { height: auto; min-height: 88px; padding: var(--space-4) var(--control-pad-sm); line-height: var(--leading-body); resize: vertical; }
.gd-input-wrap { position: relative; display: flex; align-items: center; }
.gd-input-wrap .gd-input--with-icon { padding-left: 32px; }
.gd-input__icon { position: absolute; left: var(--space-5); color: var(--text-subtle); pointer-events: none; }
.gd-input__suffix { position: absolute; right: var(--control-pad-sm); font-size: var(--text-caption); color: var(--text-muted); pointer-events: none; }
.gd-input-wrap .gd-input--with-suffix, .gd-input-wrap .gd-input--numeric { padding-right: 38px; }

/* ── Select ────────────────────────────────────────────────── */
.gd-select-wrap { position: relative; display: flex; align-items: center; }
.gd-select { width: 100%; height: var(--control-h-md); padding: 0 32px 0 var(--control-pad-sm); font-family: var(--font-sans); font-size: var(--text-body-sm); color: var(--text-strong); background: var(--white); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); box-shadow: var(--shadow-inset-field); appearance: none; cursor: pointer; transition: var(--transition-control); }
.gd-select:hover:not(:disabled):not(:focus) { border-color: var(--slate-400); }
.gd-select:focus { outline: none; border-color: var(--border-focus); box-shadow: var(--focus-ring); }
.gd-select:disabled { background: var(--surface-inset); color: var(--action-disabled-text); cursor: not-allowed; }
.gd-select--sm { height: var(--control-h-sm); font-size: var(--text-caption); }
.gd-select__caret { position: absolute; right: var(--space-5); color: var(--text-muted); pointer-events: none; }

/* ── Checkbox / Radio ──────────────────────────────────────── */
.gd-choice { display: inline-flex; align-items: flex-start; gap: var(--space-4); font-size: var(--text-body-sm); color: var(--text-body); cursor: pointer; }
.gd-choice__box { appearance: none; margin: 0; flex: none; width: 16px; height: 16px; margin-top: 2px; background: var(--white); border: 1px solid var(--border-strong); border-radius: var(--radius-xs); box-shadow: var(--shadow-inset-field); cursor: pointer; transition: var(--transition-control); position: relative; }
.gd-choice__box--radio { border-radius: 50%; }
.gd-choice__box:hover:not(:disabled) { border-color: var(--slate-500); }
.gd-choice__box:checked { background: var(--action-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; border-color: var(--action-primary); }
.gd-choice__box--radio:checked { background: var(--action-primary); background-image: radial-gradient(circle at center, var(--white) 0 3px, transparent 3.5px); }
.gd-choice__box:focus-visible { outline: none; border-color: var(--border-focus); box-shadow: var(--focus-ring); }
.gd-choice__box:disabled { background-color: var(--surface-inset); border-color: var(--border-default); cursor: not-allowed; }
.gd-choice__box:disabled:checked { background-color: var(--slate-300); border-color: var(--slate-300); }
.gd-choice__text { display: flex; flex-direction: column; gap: 1px; }
.gd-choice__label { line-height: 1.4; }
.gd-choice__desc { font-size: 12px; color: var(--text-muted); }
.gd-choice--disabled { color: var(--action-disabled-text); cursor: not-allowed; }

/* ── Switch ────────────────────────────────────────────────── */
.gd-switch { display: inline-flex; align-items: center; gap: var(--space-5); font-size: var(--text-body-sm); color: var(--text-body); cursor: pointer; }
.gd-switch__wrap { display: inline-flex; flex: none; }
.gd-switch__knob { display: none; }
.gd-switch__track { appearance: none; margin: 0; flex: none; width: 34px; height: 20px; border-radius: var(--radius-pill); background-color: var(--slate-300); background-image: radial-gradient(circle at center, var(--white) 0 8px, transparent 8px); background-repeat: no-repeat; background-size: 16px 16px; background-position: 2px center; border: 0; cursor: pointer; transition: background-color var(--duration-fast) var(--ease-standard), background-position var(--duration-fast) var(--ease-standard); }
.gd-switch__track:checked { background-color: var(--action-primary); background-position: calc(100% - 2px) center; }
.gd-switch__track:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.gd-switch__track:disabled { background-color: var(--slate-200); cursor: not-allowed; }
.gd-switch--sm .gd-switch__track { width: 28px; height: 16px; background-size: 12px 12px; background-image: radial-gradient(circle at center, var(--white) 0 6px, transparent 6px); }

/* ── components/components.css ── */

/* ── components/navigation/navigation.css ── */
/* ── Tabs ──────────────────────────────────────────────────── */
.gd-tabs { display: flex; align-items: flex-end; gap: var(--space-8); border-bottom: 1px solid var(--border-default); }
.gd-tab { display: inline-flex; align-items: center; gap: var(--space-4); padding: 0 0 var(--space-5); margin-bottom: -1px; font-family: var(--font-sans); font-size: var(--text-body-sm); font-weight: var(--weight-medium); color: var(--text-muted); background: none; border: 0; border-bottom: var(--border-w-emphasis) solid transparent; cursor: pointer; transition: var(--transition-control); }
.gd-tab:hover:not(:disabled) { color: var(--text-strong); }
.gd-tab[aria-selected="true"] { color: var(--text-strong); border-bottom-color: var(--blue-900); }
.gd-tab:disabled { color: var(--action-disabled-text); cursor: not-allowed; }
.gd-tab:focus-visible { outline: 2px solid var(--border-focus); outline-offset: 3px; }
.gd-tab__count { font-size: var(--text-micro); font-weight: var(--weight-semibold); color: var(--text-muted); background: var(--surface-active); border-radius: var(--radius-xs); padding: 1px var(--space-3); font-variant-numeric: tabular-nums; }
.gd-tab[aria-selected="true"] .gd-tab__count { background: var(--surface-brand-soft); color: var(--blue-800); }

/* segmented variant — dense dashboard filters */
.gd-tabs--segmented { display: inline-flex; align-items: center; gap: var(--space-1); border-bottom: 0; background: var(--surface-sunken); border: 1px solid var(--border-hairline); border-radius: var(--radius-sm); padding: var(--space-1); }
.gd-tabs--segmented .gd-tab { padding: 0 var(--space-5); height: 28px; margin-bottom: 0; border-bottom: 0; border-radius: var(--radius-xs); font-size: var(--text-caption); }
.gd-tabs--segmented .gd-tab[aria-selected="true"] { background: var(--white); color: var(--text-strong); box-shadow: var(--shadow-1); }

/* inverse variant — on ink headers */
.gd-tabs--inverse { border-bottom-color: var(--border-inverse); }
.gd-tabs--inverse .gd-tab { color: var(--text-inverse-muted); }
.gd-tabs--inverse .gd-tab:hover:not(:disabled), .gd-tabs--inverse .gd-tab[aria-selected="true"] { color: var(--text-inverse); }
.gd-tabs--inverse .gd-tab[aria-selected="true"] { border-bottom-color: var(--green-400); }
.gd-tabpanel { padding-top: var(--space-7); }

/* ── components/components.css ── */

/* ── components/feedback/feedback.css ── */
/* ── Dialog ────────────────────────────────────────────────── */
.gd-overlay { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: var(--space-9); background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(2px); }
.gd-dialog { width: 100%; max-width: 520px; background: var(--surface-card); border-radius: var(--radius-md); box-shadow: var(--shadow-4); display: flex; flex-direction: column; overflow: hidden; }
.gd-dialog--sm { max-width: 420px; }
.gd-dialog--lg { max-width: 760px; }
.gd-dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-6); padding: var(--space-7) var(--space-8); border-bottom: 1px solid var(--border-hairline); }
.gd-dialog__title { font-family: var(--font-sans); font-size: var(--text-h3); font-weight: var(--weight-semibold); color: var(--text-strong); letter-spacing: var(--tracking-heading); }
.gd-dialog__sub { font-size: var(--text-caption); color: var(--text-muted); margin-top: var(--space-1); }
.gd-dialog__body { padding: var(--space-8); font-size: var(--text-body-sm); line-height: var(--leading-body); color: var(--text-body); }
.gd-dialog__foot { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-4); padding: var(--space-5) var(--space-8); border-top: 1px solid var(--border-hairline); background: var(--surface-sunken); }

/* ── Toast ─────────────────────────────────────────────────── */
.gd-toast { display: flex; align-items: flex-start; gap: var(--space-5); width: 360px; padding: var(--space-5) var(--space-5) var(--space-5) var(--space-6); background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-sm); box-shadow: var(--shadow-3); }
.gd-toast__icon { margin-top: 1px; flex: none; }
.gd-toast__icon--positive { color: var(--status-positive); }
.gd-toast__icon--caution { color: var(--status-caution); }
.gd-toast__icon--negative { color: var(--status-negative); }
.gd-toast__icon--info { color: var(--status-info); }
.gd-toast__body { flex: 1; min-width: 0; }
.gd-toast__title { font-size: var(--text-body-sm); font-weight: var(--weight-semibold); color: var(--text-strong); }
.gd-toast__msg { font-size: var(--text-caption); color: var(--text-muted); margin-top: var(--space-1); line-height: 1.45; }
.gd-toast__action { margin-top: var(--space-4); }
.gd-toast-stack { position: fixed; right: var(--space-8); bottom: var(--space-8); z-index: 70; display: flex; flex-direction: column; gap: var(--space-5); }

/* ── Tooltip ───────────────────────────────────────────────── */
.gd-tooltip-wrap { position: relative; display: inline-flex; }
.gd-tooltip { position: absolute; z-index: 80; padding: var(--space-3) var(--space-4); background: var(--blue-950); color: var(--white); font-family: var(--font-sans); font-size: 12px; line-height: 1.35; font-weight: var(--weight-medium); border-radius: var(--radius-xs); box-shadow: var(--shadow-3); white-space: nowrap; opacity: 0; transform: translateY(2px); pointer-events: none; transition: opacity var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard); }
.gd-tooltip--wrap-text { white-space: normal; width: 220px; }
.gd-tooltip--visible { opacity: 1; transform: translateY(0); }
.gd-tooltip--top { bottom: calc(100% + 6px); left: 50%; margin-left: -50%; transform-origin: bottom center; }
.gd-tooltip--top.gd-tooltip--visible { transform: translateY(0); }
.gd-tooltip--bottom { top: calc(100% + 6px); left: 50%; }
.gd-tooltip--right { left: calc(100% + 6px); top: 50%; }
.gd-tooltip--left { right: calc(100% + 6px); top: 50%; }
.gd-tooltip--top, .gd-tooltip--bottom { transform: translate(-50%, 2px); }
.gd-tooltip--top.gd-tooltip--visible, .gd-tooltip--bottom.gd-tooltip--visible { transform: translate(-50%, 0); }
.gd-tooltip--left, .gd-tooltip--right { transform: translateY(-50%); }

/* ── components/components.css ── */

/* ── components/data/data.css ── */
/* ── Stat ──────────────────────────────────────────────────── */
.gd-stat { display: flex; flex-direction: column; gap: var(--space-2); }
.gd-stat__label { font-size: var(--text-micro); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; font-weight: var(--weight-semibold); color: var(--text-muted); }
.gd-stat__row { display: flex; align-items: baseline; gap: var(--space-4); }
.gd-stat__value { font-family: var(--font-sans); font-size: var(--text-data-lg); font-weight: var(--weight-semibold); line-height: 1.08; color: var(--text-strong); font-variant-numeric: tabular-nums lining-nums; letter-spacing: var(--tracking-heading); }
.gd-stat--xl .gd-stat__value { font-size: var(--text-data-xl); }
.gd-stat--sm .gd-stat__value { font-size: var(--text-data-md); }
.gd-stat__unit { font-size: var(--text-body-sm); font-weight: var(--weight-medium); color: var(--text-muted); }
.gd-stat__delta { display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; font-size: 12px; font-weight: var(--weight-semibold); font-variant-numeric: tabular-nums; }
.gd-stat__delta--up { color: var(--status-positive); }
.gd-stat__delta--down { color: var(--status-negative); }
.gd-stat__delta--flat { color: var(--text-muted); }
.gd-stat__note { font-size: 12px; color: var(--text-muted); }
.gd-stat--ink .gd-stat__label { color: rgba(255, 255, 255, 0.6); }
.gd-stat--ink .gd-stat__value { color: var(--white); }
.gd-stat--ink .gd-stat__unit, .gd-stat--ink .gd-stat__note { color: var(--text-inverse-muted); }
.gd-stat--ink .gd-stat__delta--up { color: var(--green-400); }

/* ── DataTable ─────────────────────────────────────────────── */
.gd-table { width: 100%; font-family: var(--font-sans); font-size: var(--text-body-sm); border-collapse: collapse; }
.gd-table th { padding: var(--space-5) var(--space-6); font-size: var(--text-micro); letter-spacing: 0.08em; text-transform: uppercase; font-weight: var(--weight-semibold); color: var(--text-muted); background: var(--surface-sunken); border-bottom: 1px solid var(--border-default); white-space: nowrap; }
.gd-table td { padding: var(--space-5) var(--space-6); border-bottom: 1px solid var(--border-hairline); color: var(--text-body); vertical-align: middle; }
.gd-table tbody tr:last-child td { border-bottom: 0; }
.gd-table--hover tbody tr { transition: background-color var(--duration-fast) var(--ease-standard); }
.gd-table--hover tbody tr:hover { background: var(--surface-hover); cursor: pointer; }
.gd-table--zebra tbody tr:nth-child(even) { background: var(--slate-50); }
.gd-table--compact th, .gd-table--compact td { padding: var(--space-4) var(--space-5); }
.gd-table__num { text-align: right; font-variant-numeric: tabular-nums lining-nums; }
.gd-table__strong { color: var(--text-strong); font-weight: var(--weight-medium); }
.gd-table__sub { display: block; font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.gd-table__sortable { cursor: pointer; user-select: none; }
.gd-table__sortable:hover { color: var(--text-strong); }
.gd-table caption { caption-side: top; text-align: left; padding: 0 0 var(--space-5); font-size: var(--text-caption); color: var(--text-muted); }

/* ── Micro bar, for share-of-total inside table cells ──────── */
.gd-bar { height: 6px; border-radius: 1px; background: var(--slate-150); overflow: hidden; min-width: 60px; }
.gd-bar__fill { height: 100%; background: var(--chart-1); }

/* ── components/components.css ── */


/* ── styles.css ── */


/* ── tokens/fonts.css ── */

/* ── tokens/colors.css ── */

/* ── tokens/typography.css ── */

/* ── tokens/spacing.css ── */

/* ── tokens/elevation.css ── */

/* ── tokens/motion.css ── */

/* ── tokens/base.css ── */

/* ── components/core/core.css ── */

/* ── components/forms/forms.css ── */

/* ── components/navigation/navigation.css ── */

/* ── components/feedback/feedback.css ── */

/* ── components/data/data.css ── */

/* ── components/components.css ── */

