:root {
    /* Brand */
    --brand-primary: #0a443b;
    --brand-primary-hover: #06352e;
    --brand-secondary: #356c68;
    --brand-secondary-hover: #285a56;
    --brand-accent: #fc6450;
    --brand-highlight: #78c7c3;
    --brand-on-primary: #ffffff;
    --brand-soft: #e8f4f1;
    --brand-soft-hover: #dcede9;
    --brand-border: #9ecfc7;
    --brand-primary-rgb: 10 68 59;

    /* Surfaces and typography */
    --app-background: #f8f5ee;
    --surface: #fffdf9;
    --surface-rgb: 255 253 249;
    --surface-muted: #f0ece4;
    --surface-hover: #f4f1ea;
    --text-primary: #16322c;
    --text-primary-rgb: 22 50 44;
    --text-muted: #68756f;
    --border: #ded9d0;
    --border-soft: #ebe7df;

    /* Shared typography scale */
    --font-size-caption: 12px;
    --font-size-meta: 12px;
    --font-size-small: 12px;
    --font-size-control: 14px;
    --font-size-body: 16px;

    /* Common geometry: mirrored by the native Windows resources. */
    --ui-radius-control: 8px;
    --ui-radius-surface: 12px;
    --ui-radius-dialog: 16px;
    --ui-space-unit: 4px;
    --ui-shadow-surface: 0 2px 8px rgb(22 50 44 / .035);
    --ui-shadow-overlay: 0 18px 52px rgb(22 50 44 / .18);
    --ui-font-interface: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --ui-font-editorial: Georgia, "Times New Roman", serif;

    /* Feedback */
    --danger: #b4233b;
    --danger-soft: #fff0f3;
    --danger-border: #e6b8c1;
    --success: #356045;
    --success-soft: #edf6ef;
    --success-border: #bad3c0;

    /* Compatibility aliases used by existing UI */
    --ivory: var(--app-background);
    --paper: var(--surface);
    --parchment: var(--surface-muted);
    --ink: var(--text-primary);
    --muted: var(--text-muted);
    --line: var(--border);
    --wine: var(--brand-primary);
    --pale: var(--brand-soft);
}
