/* Signal Blue: retain the existing dashboard layout and controls. */
:root {
  --ink: #0F172A;
  --line: #DCE6F2;
  --paper: #F2F6FB;
  --green: #1B4F8A;
  --green-2: #1B4F8A;
  --lime: #DCE6F2;
  --cream: #F2F6FB;
}

.sidebar { background: #1B4F8A; }
.brand { padding-left: 0; padding-right: 0; }
.brand img { display: block; width: auto; height: 42px; max-width: 100%; background: #FFFFFF; border-radius: 6px; }
.nav-item { color: #DCE6F2; }
.nav-item.active { box-shadow: inset 3px 0 #FFFFFF; }
.sidebar-note small { color: #DCE6F2; }
.status-dot { box-shadow: 0 0 0 4px rgba(220,230,242,.18); }
.topbar { background: rgba(242,246,251,.92); }
.metrics .accent-card span, .metrics .accent-card small,
.ai-explainer .eyebrow, .ai-explainer li p, .privacy-note p { color: #DCE6F2; }
.metrics .accent-card:after { border-color: rgba(220,230,242,.15); }
.ai-explainer:after { border-color: rgba(220,230,242,.12); }
.button.primary:hover:not(:disabled) { background: #163F6E; border-color: #163F6E; transform: none; }
.score-ring { background: conic-gradient(#F59E0B var(--score), #e9ede9 0); }
.activity-panel, .drawer-head { background: #F2F6FB; }
.form-callout, .evidence-item, .company-facts div, .ai-summary { background: #F2F6FB; }
.evidence-item.gap { background: #fff8ec; }
input:focus, select:focus, textarea:focus { border-color: #1B4F8A; box-shadow: 0 0 0 3px rgba(27,79,138,.12); }
.search-box:focus-within { border-color: #1B4F8A; box-shadow: 0 0 0 3px rgba(27,79,138,.12); }
:focus-visible { outline: 2px solid #F59E0B; outline-offset: 2px; }
.search-box input:focus-visible { outline: 2px solid #F59E0B; outline-offset: 2px; }

@media (max-width: 760px) {
  .brand img { height: 24px; }
  .nav-item { min-width: 44px; min-height: 44px; justify-content: center; }
}

/* Bound the drawer's intrinsic content and its closed offscreen transform. */
.job-drawer { visibility: hidden; max-width: 100vw; overflow-x: hidden; overflow-y: auto; overflow-wrap: anywhere; }
.job-drawer:not(.open) { transform: none; pointer-events: none; }
.job-drawer.open { visibility: visible; }
#drawerContent, .drawer-body, .drawer-section, .job-main > div { min-width: 0; max-width: 100%; }
.drawer-section pre, .description { white-space: pre-wrap; overflow-wrap: anywhere; }
.drawer-section table { display: block; max-width: 100%; overflow-x: auto; }
.drawer-section img { max-width: 100%; height: auto; }
.drawer-section details, .company-overview, .company-facts dd { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .topbar, .header-actions { flex-wrap: wrap; gap: 10px; }
  .job-drawer { width: 100%; }
  .drawer-body { font-size: 14px; }
  .drawer-head h2 { font-size: 22px; }
  .job-evaluation-actions { display: flex; flex-wrap: wrap; gap: 8px; }
  .job-evaluation-actions .button { white-space: normal; }
}
