/* out reach identity for sign-in, signup and the customer workspace. The landing keeps its own theme files.
   Loaded by saas/templates/base.html on every non-landing page, after the shared stylesheets, so it only
   re-points design tokens and a few surfaces; the operator console never loads it.
   Same rule as the landing's light theme (outreach-brand.css .cs-neutral-landing): white/charcoal UI, and
   orange (#f97316) only for the mark, dots, the current step/menu bar, the selection tint and the one next
   action on a dark surface. Orange is never used for body text on white (2.8:1). */
:root {
  font-family: "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif;
  --brand: #f97316;
  --brand-hover: #fb8f47;
  --accent: #3f3f46;
  --accent-hover: #18181b;
  --accent-soft: #f4f4f3;
  --accent-border: #dededc;
  --pink: #52525b;
  --pink-soft: #f4f4f3;
  --primary: #18181b;
  --primary-hover: #3f3f46;
  --border: #e4e4e4;
  --canvas: #f7f7f6;
  --navy: #111113;
  --on-dark: #d4d4d8;
  --dark-muted: #a1a1aa;
  --dark-border: #2a2a2e;
  --dark-accent: #e4e4e7;
}

/* Brand mark: the same open-orbit symbol as the landing, in the header, sidebar, mobile bar and footer. */
.cs-orbit-symbol { display: block; flex-shrink: 0; object-fit: contain; }
.cs-wordmark { min-height: 44px; }
.cs-footer-orbit { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: var(--ink); text-decoration: none; }
.cs-footer-orbit:hover { color: var(--ink); }
.cs-topbar-brand { display: none; }

/* Section labels echo the landing eyebrow: dark text led by an orange dot. */
.cs-content .eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .07em; line-height: 1.6; }
.cs-content .eyebrow::before { content: ""; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* Dark surfaces share the landing's near-black; the current menu item carries the brand bar. */
.cs-sidebar .cs-nav-caption { margin: 40px 13px 10px; letter-spacing: .04em; }
.cs-workspace-avatar { background: #27272a; color: #fff; }
.cs-user-avatar { background: var(--accent-soft); color: var(--ink); }
.cs-nav a:hover { background: #1d1d21; color: #fff; }
.cs-nav a.is-active { position: relative; background: #27272a; color: #fff; font-weight: 600; }
.cs-nav a.is-active::before { content: ""; position: absolute; top: 11px; bottom: 11px; left: 0; width: 3px; border-radius: 2px; background: var(--brand); }
.cs-nav a.is-active svg { color: var(--brand); }
.cs-security-dot { background: var(--brand); }
.cs-auth-story .cs-pill { gap: .45rem; border-color: var(--dark-border); background: #1d1d21; color: var(--on-dark); }
.cs-auth-story .cs-pill::before { content: ""; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.cs-auth-steps li > span { border-color: var(--dark-border); color: var(--dark-muted); }

/* Status chips stay neutral; the brand dot marks what is still in progress. */
.badge.info { background: #f4f4f5; color: #27272a; border-color: #e4e4e7; }
.badge.info::before { content: ""; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.notice.info { background: var(--canvas); color: var(--ink); border-color: var(--border); }
.notice.info .hint { color: var(--muted); }

/* Customer journey: the current step, the in-progress card and the one next action carry the brand. */
.cs-authenticated .journey-steps [aria-current="step"] { border-color: var(--brand); }
.cs-authenticated .journey-inflight, .cs-authenticated .journey-status { border-left-color: var(--brand); }
.cs-authenticated .journey-focus { border-color: var(--navy); background: var(--navy); color: var(--on-dark); }
.cs-authenticated .journey-focus h2 { color: #fff; }
.cs-authenticated .journey-focus p:not(.eyebrow) { color: var(--on-dark); }
.cs-authenticated .journey-focus .eyebrow { color: var(--on-dark); }
.cs-authenticated .journey-focus .button.primary { border-color: var(--brand); background: var(--brand); color: #111113; }
.cs-authenticated .journey-focus .button.primary:hover { border-color: var(--brand-hover); background: var(--brand-hover); color: #111113; }
.cs-authenticated .journey-focus :focus-visible { outline-color: #fdba74; }
.cs-authenticated .targets-table tbody tr:has(input[name="target_ids"]:checked) { background: #fff7ed; }
.cs-authenticated .targets-table a.targets-profile-link { color: var(--ink); font-weight: 600; }

@media (max-width: 800px) {
  .cs-topbar-brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-right: auto; color: var(--ink); font-size: 17px; font-weight: 750; letter-spacing: -.5px; text-decoration: none; }
  .cs-topbar-brand:hover { color: var(--ink); }
  .cs-topbar { gap: 12px; }
}
@media (max-width: 480px) {
  .cs-topbar-brand span { display: none; }
}
