:root {
    color-scheme: light;
    --bg: #f4f7fb;
    --surface: #ffffff;
    --surface2: #edf4fb;
    --line: #d8e3ee;
    --text: #17283a;
    --muted: #64788e;
    --cyan: #0f9f8f;
    --blue: #0284c7;
    --violet: #7c3aed;
    --orange: #ea580c;
    --danger: #dc2626;
}

body {
    background: radial-gradient(circle at 82% 0, #dff3ff 0, transparent 31%), #f4f7fb;
    color: var(--text);
}

.topbar {
    background: rgba(255, 255, 255, .94);
    border-bottom-color: #d7e3ee;
    box-shadow: 0 4px 18px rgba(36, 75, 112, .08);
}

.brand-dot {
    background: #14b8a6;
    box-shadow: 0 0 14px rgba(20, 184, 166, .5);
}

.top-actions {
    color: #63788e;
}

.top-actions a {
    background: #edf4fb;
    color: #294057;
    border-color: #d1dfec;
}

.login-card,
.metric-card,
.panel {
    background: #ffffff;
    border-color: #d9e4ee;
    box-shadow: 0 12px 30px rgba(37, 73, 105, .08);
}

.login-card {
    background: rgba(255, 255, 255, .97);
}

.brand-mark,
button {
    background: linear-gradient(135deg, #14b8a6, #38bdf8);
    color: #062033;
}

.eyebrow,
.view-link {
    color: #078b80;
}

.muted,
.hint,
.footnote,
.metric-card > span,
.metric-card small,
.legend {
    color: #687d92;
}

label {
    color: #344b61;
}

input {
    background: #f8fbfe;
    color: #17283a;
    border-color: #cbd9e6;
}

input:focus {
    border-color: #14a999;
    box-shadow: 0 0 0 3px rgba(20, 169, 153, .15);
}

.range-picker {
    background: #eaf1f8;
    border-color: #d4e0eb;
}

.range {
    color: #60778d;
}

.range.active {
    background: #ffffff;
    color: #16364f;
    box-shadow: inset 0 0 0 1px #a9bfd2, 0 2px 7px rgba(44, 78, 108, .08);
}

th,
td {
    border-bottom-color: #e1e9f1;
}

th {
    color: #60758a;
}

tbody tr:hover {
    background: #f0f7fd;
}

tbody tr.selected {
    background: #e3f2fb;
}

.domain {
    color: #19354d;
}

.subdomain-list {
    color: #71859a;
}

.mini-bar {
    background: #d9e6ef;
}

.mini-bar i {
    background: #14b8a6;
}

.chart-tooltip {
    background: rgba(255, 255, 255, .97);
    border-color: #bdd0e0;
    box-shadow: 0 14px 38px rgba(29, 56, 83, .2);
}

.tooltip-time {
    color: #19354d;
}

.tooltip-section-title {
    color: #6b7f93;
}

.tooltip-row span:first-child {
    color: #526b81;
}

.tooltip-row strong {
    color: #142b40;
}

.alert {
    background: #fff1f2;
    color: #b91c1c;
    border-color: #fecaca;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #edf3f8;
}

::-webkit-scrollbar-thumb {
    background: #b9cbd9;
    border: 2px solid #edf3f8;
    border-radius: 10px;
}
