/* Point d'entrée de la charte Uptimay pour le back-office : tokens, polices et
   variables applicatives du BO (--bo-*), qui ne font que pointer vers les tokens. */
@import "tokens-72tBPEq.css";
@import "fonts--m28h7p.css";

:root {
    /* Cadre : sidebar de nuit, contenu sur papier, cartes blanches. */
    --bo-sidebar-bg: var(--up-night);
    --bo-sidebar-raised: var(--up-night-raised);
    --bo-sidebar-text: var(--up-night-text-secondary);
    --bo-sidebar-text-active: #F3F8F7;
    --bo-sidebar-accent: var(--up-accent);

    --bo-canvas: #E4EBE7;
    --bo-card: var(--up-paper-sheet);
    --bo-tile: var(--up-paper);
    --bo-text: var(--up-paper-ink);
    --bo-text-secondary: var(--up-paper-ink-secondary);
    --bo-text-muted: #5B6F74;
    --bo-rule: var(--up-paper-rule);
    --bo-rule-soft: #DCE5E1;
    --bo-input-border: #7A8F93;

    --bo-primary: var(--up-night);
    --bo-primary-hover: var(--up-night-raised);
    --bo-brand: var(--up-paper-accent);
    --bo-brand-subtle: #13755B1A;

    --bo-success: var(--up-paper-accent);
    --bo-success-subtle: #13755B14;
    --bo-warning: #8A5300;
    --bo-warning-subtle: #8A530014;
    --bo-danger: #B42318;
    --bo-danger-subtle: #B4231814;
    --bo-info: #1D5FA8;
    --bo-info-subtle: #1D5FA814;

    --bo-sidebar-width: 264px;
    /* Older stylesheets read these generic names, with a blue or grey fallback: pointing
       them at the charter recolours them all at once. */
    --primary-color: var(--bo-brand);
    --info-color: var(--bo-primary);
    --info-hover: var(--bo-primary-hover);
    --success-color: var(--bo-success);
    --error-color: var(--bo-danger);
    --border-color: var(--bo-rule-soft);
    --border-light: var(--bo-rule-soft);
    --hover-bg: var(--bo-tile);
    --code-bg: var(--bo-tile);
    --toolbar-bg: var(--bo-tile);
    --table-header-bg: var(--bo-tile);
    --text-color: var(--bo-text);
    --text-muted: var(--bo-text-muted);
    --tab-color: var(--bo-brand);
    --tooltip-bg: var(--up-night);

    --bo-radius-card: 16px;
    --bo-radius-control: 10px;
    --bo-shadow-card: 0 1px 2px rgba(14, 28, 31, 0.06), 0 0 0 1px rgba(14, 28, 31, 0.04);
}
