/* Shared tokens, buttons, pills and result cards. Inlined into public report pages. */
:root {
        --navy: #121c2d;
        --navy-2: #1f304c;
        --navy-3: #2b3e5c;
        --blue: #0263e0;
        --blue-dark: #0150b8;
        --blue-soft: #ebf4ff;
        --red: #d61f1f;
        --red-soft: #feecec;
        --green: #0e7c3a;
        --green-soft: #e6f6ec;
        --amber: #a35c00;
        --amber-soft: #fff4e0;
        --purple: #6d2ed1;
        --purple-soft: #f2ebfe;
        --brand: #f22f46;
        --bg: #f4f4f6;
        --surface: #ffffff;
        --border: #e1e3ea;
        --border-strong: #cacdd8;
        --text: #121c2d;
        --muted: #606b85;
        --radius: 8px;
        --shadow: 0 1px 2px rgba(18, 28, 45, 0.06), 0 1px 1px rgba(18, 28, 45, 0.04);
        --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        --mono: "SFMono-Regular", Menlo, Consolas, monospace;
}

* {
        box-sizing: border-box;
}

body {
        margin: 0;
        font-family: var(--font);
        font-size: 14px;
        line-height: 1.5;
        color: var(--text);
        background: var(--bg);
        -webkit-font-smoothing: antialiased;
}

a {
        color: var(--blue);
        text-decoration: none;
}

a:hover {
        text-decoration: underline;
}

h1, h2, h3, h4 {
        margin: 0;
        line-height: 1.25;
}

.muted {
        color: var(--muted);
}

.eyebrow {
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: var(--muted);
        margin-bottom: 4px;
}

.brand-mark {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border-radius: 8px;
        background: var(--brand);
        color: #fff;
        font-weight: 700;
        font-size: 13px;
        letter-spacing: 0.02em;
        flex-shrink: 0;
}

/* Buttons */
.btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        height: 36px;
        padding: 0 16px;
        border-radius: 6px;
        border: 1px solid transparent;
        font: 600 14px/1 var(--font);
        cursor: pointer;
        white-space: nowrap;
        text-decoration: none !important;
        transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.btn-primary {
        background: var(--blue);
        color: #fff;
}

.btn-primary:hover {
        background: var(--blue-dark);
}

.btn-secondary {
        background: var(--surface);
        border-color: var(--border-strong);
        color: var(--text);
}

.btn-secondary:hover {
        border-color: var(--blue);
        color: var(--blue);
}

.btn-ghost {
        background: transparent;
        color: var(--blue);
}

.btn-ghost:hover {
        background: var(--blue-soft);
}

.btn-sm {
        height: 28px;
        padding: 0 10px;
        font-size: 13px;
}

.btn-block {
        width: 100%;
}

.btn:disabled {
        opacity: 0.6;
        cursor: progress;
}

/* Pills */
.pill {
        display: inline-flex;
        align-items: center;
        height: 22px;
        padding: 0 8px;
        border-radius: 11px;
        font-size: 12px;
        font-weight: 600;
        white-space: nowrap;
        background: var(--bg);
        color: var(--muted);
}

.pill-green { background: var(--green-soft); color: var(--green); }
.pill-red { background: var(--red-soft); color: var(--red); }
.pill-amber { background: var(--amber-soft); color: var(--amber); }
.pill-blue { background: var(--blue-soft); color: var(--blue); }
.pill-purple { background: var(--purple-soft); color: var(--purple); }
.pill-muted { background: var(--bg); color: var(--muted); }
