/* Neutral workspace palette; status colours remain distinct from branding. */
:root {
  --ink: #1b2a3a;
  --muted: #536679;
  --line: #dce3eb;
  --green: #275776;
  --bg: #f3f5f8;
  --brand-red: #b42332;
  --brand-red-on-dark: #ff6262;
}

.sidebar { background: #17263a; color: #e1e9f1; }
.brand > span:last-child, .brand > div:last-child { color: var(--brand-red-on-dark); }
.brand small { color: #bccbd9; }
.brand-mark, .brand-symbol { border-color: #c2787e; color: #ffc4c6; }
.nav-label, .nav-heading { color: #9eb0c3; }
nav a, .nav-button { color: #d5e0ea; }
nav a:hover, nav a.active, .nav-button:hover { background: #2a415c; color: #fff; }
.nav-button.active { background: #314d69; border-color: #5c7690; color: #fff; }
.nav-button span, .app-link, .logout, .logout-link { color: #c4d2e0; }
.sidebar-note, .side-note, .side-footer { border-color: #465d74; }
.sidebar-note p, .side-note p, .account small, .account-name small { color: #bdcad8; }
.account-avatar { background: #35516e; color: #edf4fb; }

.brand-word, .login-card .brand-word { color: var(--brand-red); }
.login-body { background: #17263a; }
.login-card { background: #fff; }
.lead { color: #526679; }
.eyebrow, .metric-label, .role-label { color: #526d85; }
.button { border-color: #cbd7e2; }
.button:hover { background: #edf3f8; }
.primary, .button.primary { background: #275776; border-color: #275776; color: #fff; }
.primary:hover, .button.primary:hover { background: #1d425b; color: #fff; }
input:focus, textarea:focus, select:focus { border-color: #426e8d; box-shadow: 0 0 0 3px #27577624; }
:focus-visible { outline-color: #638aad; }

.progress-track { background: #e3eaf1; }
.progress-track > div { background: #477694; }
.step-button { border-color: #dce4ec; background: #fafbfd; }
.step-button:not(:disabled):hover { border-color: #96abc0; background: #f0f5f9; }
.step-button.active { border-color: #547c9b; background: #eaf1f7; box-shadow: inset 0 0 0 1px #547c9b; }
.step-button.active .step-number { background: #315e7d; border-color: #315e7d; color: #fff; }
.step-button small, .step-button.placeholder { color: #566a7d; }
.detail-card { border-top-color: #547c9b; }
.result-box, .empty-notice, .notice:not(.error):not(.success), .info-strip, .connection-description, .path-label {
  background: #eff4f8; border-color: #d6e1ea; color: #435d73;
}
.result-box > span, .result-box p, .empty-notice p, .path-label code, .field-help,
.card-footnote, .advanced-settings summary, .check-list li, .report-card li,
.legend > span, .footnote, .page-footer { color: #506579; }
th { background: #f5f7fa; color: #526579; }
.integration-icon { background: #edf3f8; border-color: #cbdbe7; color: #315e7d; }
.card-footnote, input[readonly] { background: #f7f9fb !important; }
