/* ============================================================
   MISESO  —  THEME
   Color rule (per proposal):
     • Black  — menus, surface boxes, text
     • Golden — bars, icons, dashboard accents
     • White  — space and where text is needed
   ============================================================ */

:root {
    /* ----------  CORE PALETTE  ---------- */
    --c-black:        #0d0d0f;
    --c-black-2:      #15151a;
    --c-black-3:      #1c1c22;
    --c-black-4:      #26262e;
    --c-surface:      #ffffff;
    --c-surface-2:    #fafafa;
    --c-surface-3:    #f3f3f4;
    --c-line:         #e6e6ea;
    --c-line-2:       #d6d6dc;

    /* Gold — luxury, used for accent bars, icons, KPI tiles, badges */
    --c-gold:         #c8a253;          /* primary golden */
    --c-gold-2:       #b18a3a;          /* deeper gold (hover) */
    --c-gold-3:       #8a6b29;          /* deepest gold */
    --c-gold-soft:    #f6ecd6;          /* very light tint */
    --c-gold-line:    #e6d3a8;
    --c-gold-glow:    rgba(200, 162, 83, 0.35);

    /* Text */
    --c-text:         #15151a;
    --c-text-2:       #4a4a52;
    --c-text-3:       #7a7a82;
    --c-text-inv:     #ffffff;
    --c-text-muted:   #9a9aa2;

    /* Status */
    --c-success:      #2f9e58;
    --c-warning:      #d99518;
    --c-danger:       #c0392b;
    --c-info:         #2e6db4;

    /* ----------  TYPOGRAPHY  ---------- */
    --ff-sans: "Inter", "Noto Sans Ethiopic", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --ff-display: "Playfair Display", "Cormorant Garamond", "Georgia", serif;
    --ff-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

    --fs-xs: 11px;
    --fs-sm: 12px;
    --fs-md: 13px;
    --fs-lg: 15px;
    --fs-xl: 18px;
    --fs-2xl: 22px;
    --fs-3xl: 28px;
    --fs-4xl: 36px;

    /* ----------  SHAPE & MOTION  ---------- */
    --r-sm: 4px;
    --r-md: 8px;
    --r-lg: 12px;
    --r-xl: 18px;
    --r-pill: 999px;

    --sh-1: 0 1px 2px rgba(0,0,0,.04);
    --sh-2: 0 2px 6px rgba(0,0,0,.06);
    --sh-3: 0 8px 24px rgba(0,0,0,.08);
    --sh-gold: 0 6px 20px var(--c-gold-glow);

    --ease: cubic-bezier(.2,.7,.2,1);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: var(--ff-sans);
    font-size: var(--fs-md);
    color: var(--c-text);
    background: var(--c-surface-2);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--c-gold-2); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--c-gold-3); }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
hr { border: 0; border-top: 1px solid var(--c-line); margin: 16px 0; }

/* ============================================================
   UTILITIES
   ============================================================ */
.miseso-gold     { color: var(--c-gold-2); }
.miseso-gold-bg  { background: var(--c-gold); color: #fff; }
.miseso-black-bg { background: var(--c-black); color: #fff; }
.miseso-muted    { color: var(--c-text-3); }
.miseso-mono     { font-family: var(--ff-mono); }

.miseso-row  { display: flex; align-items: center; gap: 8px; }
.miseso-col  { display: flex; flex-direction: column; gap: 8px; }
.miseso-grow { flex: 1; }
.miseso-spacer { flex: 1; }

.miseso-h1, .miseso-h2, .miseso-h3, .miseso-h4 {
    font-family: var(--ff-display);
    color: var(--c-black);
    margin: 0 0 8px 0;
    font-weight: 600;
    letter-spacing: -.01em;
}
.miseso-h1 { font-size: var(--fs-3xl); }
.miseso-h2 { font-size: var(--fs-2xl); }
.miseso-h3 { font-size: var(--fs-xl); }
.miseso-h4 { font-size: var(--fs-lg); }

.miseso-eyebrow {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--c-gold-2);
    font-weight: 600;
    margin-bottom: 4px;
}

/* gold divider line, used in card headers */
.miseso-gold-rule {
    width: 36px; height: 3px; background: var(--c-gold);
    border-radius: 2px; margin: 4px 0 12px 0;
}

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--c-surface-3); }
::-webkit-scrollbar-thumb { background: #c8c8d0; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-gold); }