/* Twinrope — charte Twinrope : marine #082948, bleu #014491, bleus clairs tirés de lui, ardoise #51566a. */
:root, [data-theme="light"] {
  --surface-0: #ffffff;
  --surface-1: #f4f5f7;
  --surface-2: #ebeef1;
  --header-bg: #ffffff;
  --nav-bg: #082948;
  --nav-active: #123b66;
  --nav-active-ink: #ffffff;
  --nav-hover: #0e3359;
  --nav-ink: #c9d6e6;
  --nav-ink-muted: #93a9c4;
  --nav-line: #1d4470;
  --nav-mark: #8fb3e3;
  --ink: #1f2328;
  --ink-muted: #51566a;
  --ink-subtle: #5a5f73;
  --line: #e1e4e8;
  --line-soft: #eef0f3;
  --line-strong: #848d97;
  --accent: #014491;
  --accent-hover: #013570;
  --row-selected: #f0f5fb;
  --accent-tint: #e5edf8;
  --on-accent: #ffffff;
  --focus: #014491;
  --brand: #014491;
  --on-brand: #ffffff;
  --prod: #c62828;
  --prod-tint: #fdecec;
  --on-prod: #ffffff;
  --qual: #6e40c9;
  --qual-tint: #f1ebfc;
  --on-qual: #ffffff;
  --success: #17732f;
  --success-tint: #e6f4ea;
  --on-success: #ffffff;
  --warning: #8a5a00;
  --warning-tint: #fff4d6;
  --danger: var(--prod);
  --danger-tint: var(--prod-tint);
  --on-danger: #ffffff;
  --info: var(--accent);
  --diff-prod: #fad4d4;
  --diff-qual: #e3d8fa;
  --scrim: #1f232859;
  --shadow-dialog: 0 12px 32px rgba(16,24,40,0.16);
  --shadow-menu: 0 4px 12px rgba(16,24,40,0.12);
}
[data-theme="dark"] {
  --surface-0: #1e2228;
  --surface-1: #16191d;
  --surface-2: #2a2f36;
  --header-bg: #1e2228;
  --nav-bg: #061f38;
  --nav-active: #133b64;
  --nav-active-ink: #ffffff;
  --nav-hover: #0c2d50;
  --nav-ink: #d3deeb;
  --nav-ink-muted: #9fb3cb;
  --nav-line: #1b406a;
  --nav-mark: #8fb3e3;
  --ink: #e6e8eb;
  --ink-muted: #b8c0ca;
  --ink-subtle: #9ea7b2;
  --line: #30363d;
  --line-soft: #262b31;
  --line-strong: #6e7781;
  --accent: #8db6ec;
  --accent-hover: #b0cdf3;
  --row-selected: #1a2a40;
  --accent-tint: #1b2f4d;
  --on-accent: #0d1117;
  --focus: #8db6ec;
  --brand: #8fb3e3;
  --on-brand: #0d1117;
  --prod: #ff7b72;
  --prod-tint: #3a1d1d;
  --on-prod: #0d1117;
  --qual: #b794f6;
  --qual-tint: #2a2140;
  --on-qual: #0d1117;
  --success: #4ac26b;
  --success-tint: #15301f;
  --on-success: #0d1117;
  --warning: #e3b341;
  --warning-tint: #322812;
  --danger: var(--prod);
  --danger-tint: var(--prod-tint);
  --on-danger: #0d1117;
  --info: var(--accent);
  --diff-prod: #5c2424;
  --diff-qual: #3f2e66;
  --scrim: #000000a6;
  --shadow-dialog: 0 12px 32px rgba(0,0,0,0.5);
  --shadow-menu: 0 4px 12px rgba(0,0,0,0.45);
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 28px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 11px;
  --row: 40px;
  --row-compact: 32px;
  --control-height: 32px;
  --control-height-lg: 36px;
  --header-height: 52px;
  --env-rule: 3px;
  --rail-width: 224px;
  --nav-item: 40px;
  --tree-width: 244px;
  --detail-width: 340px;
  --icon: 16px;
  --dialog-width: 560px;
  --font-sans: "Noto Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Noto Sans Mono", "Cascadia Mono", Consolas, monospace;
}
.display { font-family: var(--font-sans); font-size: 32px; line-height: 40px; font-weight: 600; }
.title { font-family: var(--font-sans); font-size: 24px; line-height: 30px; font-weight: 600; }
.dialog-title { font-family: var(--font-sans); font-size: 16px; line-height: 22px; font-weight: 600; }
.heading { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 600; }
.body { font-family: var(--font-sans); font-size: 13px; line-height: 20px; font-weight: 400; }
.body-strong { font-family: var(--font-sans); font-size: 13px; line-height: 20px; font-weight: 600; }
.small { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 400; }
.label { font-family: var(--font-sans); font-size: 11px; line-height: 14px; font-weight: 600; }
.mono { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 400; }
.mono-strong { font-family: var(--font-mono); font-size: 15px; line-height: 20px; font-weight: 500; }
