/* Onboarding modal — first-sign-in pager. Matches the .ci-confirm-*
   pattern in mission-control.css but at z-index 250 (above other
   confirms) and with a larger dialog for the multi-step content.
   No backdrop-filter (GPU hang on macOS Safari). */

.ob-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 250;
  padding: 16px;
  font-family: var(--font-sans, 'Geist Sans', system-ui, -apple-system, sans-serif);
}

.ob-dialog {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 12px;
  padding: 28px 28px 20px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  color: #e6edf3;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.ob-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  color: #8b949e;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ob-close:hover {
  background: #1c2128;
  color: #e6edf3;
}

.ob-eyebrow {
  font-family: var(--font-mono, 'Geist Mono', ui-monospace, monospace);
  font-size: 0.7rem;
  color: #4a5a6a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.ob-eyebrow-centered {
  text-align: center;
}

.ob-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 16px;
  color: #e6edf3;
}

.ob-title-centered {
  text-align: center;
}

.ob-logo {
  display: block;
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 10px;
}

.ob-body {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #c8d6e5;
}

/* ---- Hero (step 1) ---- */

.ob-hero {
  text-align: center;
  padding: 18px 0 22px;
}

.ob-hero-line {
  font-size: 1.15rem;
  font-weight: 500;
  color: #e6edf3;
  margin-bottom: 6px;
  line-height: 1.35;
}

.ob-hero-sub {
  font-family: var(--font-mono, 'Geist Mono', ui-monospace, monospace);
  font-size: 0.78rem;
  color: #4a5a6a;
  letter-spacing: 0.02em;
}

.ob-replaces {
  border-top: 1px solid #30363d;
  padding-top: 16px;
  text-align: center;
}

.ob-replaces-label {
  font-family: var(--font-mono, 'Geist Mono', ui-monospace, monospace);
  font-size: 0.7rem;
  color: #4a5a6a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.ob-replaces-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ob-replaces-chip {
  font-size: 0.8rem;
  color: #8b949e;
  padding: 4px 10px;
  border: 1px solid #30363d;
  border-radius: 12px;
  background: #0d1117;
  text-decoration: line-through;
  text-decoration-color: #4a5a6a;
}

/* ---- Inbox visualization (step 2) ---- */

.ob-inbox {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ob-inbox-section {
  border: 1px solid #30363d;
  border-left: 3px solid #4a5a6a;
  border-radius: 6px;
  padding: 10px 12px;
  background: #0d1117;
}
.ob-inbox-1 { border-left-color: #ef4444; }
.ob-inbox-2 { border-left-color: #3b82f6; }
.ob-inbox-3 { border-left-color: #4a5a6a; }

.ob-inbox-row-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.ob-inbox-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #e6edf3;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ob-inbox-verb {
  font-family: var(--font-mono, 'Geist Mono', ui-monospace, monospace);
  font-size: 0.78rem;
  font-weight: 600;
  color: #8b949e;
}
.ob-inbox-1 .ob-inbox-verb { color: #fca5a5; }
.ob-inbox-2 .ob-inbox-verb { color: #93c5fd; }
.ob-inbox-3 .ob-inbox-verb { color: #6b7280; }

/* Caption sits between the label/verb row and the example issue row. Bridges
   the live-app vocabulary ("Needs Your Action") with the mental model
   teams use day-to-day ("my assignments" vs "work requests"). */
.ob-inbox-caption {
  font-size: 0.75rem;
  color: #8b949e;
  line-height: 1.4;
  margin-bottom: 6px;
}
.ob-inbox-caption strong {
  color: #c8d6e5;
  font-weight: 600;
}

/* Footer block under the 3 inbox sections: covers the bell + cross-dept
   feed (the broader "work requests" surfaces beyond the inbox itself). */
.ob-inbox-extras {
  margin-top: 12px;
  padding: 10px 12px;
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ob-inbox-extra {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  color: #8b949e;
  line-height: 1.4;
}
.ob-inbox-extra strong { color: #c8d6e5; font-weight: 600; }
.ob-inbox-extra code {
  font-family: var(--font-mono, 'Geist Mono', ui-monospace, monospace);
  font-size: 0.72rem;
  color: #93c5fd;
  background: #161b22;
  padding: 1px 4px;
  border-radius: 3px;
}
.ob-inbox-extra-icon {
  flex-shrink: 0;
  font-size: 0.95rem;
  line-height: 1.2;
  margin-top: -1px;
}

.ob-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #c8d6e5;
  padding: 2px 0;
  gap: 8px;
}

.ob-row-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ob-pri {
  font-family: var(--font-mono, 'Geist Mono', ui-monospace, monospace);
  font-size: 0.7rem;
  color: #8b949e;
  flex-shrink: 0;
}
.ob-pri-crit { color: #fca5a5; }
.ob-pri-high { color: #fdba74; }
.ob-pri-med  { color: #fde047; }

/* ---- Mock form (step 3) ---- */

.ob-mockform {
  border: 1px solid #30363d;
  border-radius: 8px;
  background: #0d1117;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ob-mockform-header {
  font-size: 0.82rem;
  font-weight: 600;
  color: #3b82f6;
  border-bottom: 1px solid #30363d;
  padding-bottom: 8px;
  margin-bottom: 2px;
}

.ob-mockform-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ob-mockform-label {
  font-family: var(--font-mono, 'Geist Mono', ui-monospace, monospace);
  font-size: 0.68rem;
  color: #4a5a6a;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ob-mockform-input {
  display: block;
  font-size: 0.82rem;
  color: #c8d6e5;
  padding: 6px 10px;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 4px;
}

.ob-mockform-input-multi {
  min-height: 32px;
  line-height: 1.4;
}

.ob-mockform-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.ob-mockform-chip {
  font-size: 0.74rem;
  color: #8b949e;
  padding: 3px 9px;
  border: 1px solid #30363d;
  border-radius: 4px;
  background: #161b22;
}

.ob-mockform-chip-active {
  background: #1e3a8a;
  border-color: #3b82f6;
  color: #e0e7ff;
}

/* Animated chip selection during step 3 mock-form playthrough. */
.ob-mockform-chip {
  transition: background-color 180ms ease-out, border-color 180ms ease-out, color 180ms ease-out;
}
@keyframes ob-chip-pop {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}
.ob-chip-pop {
  animation: ob-chip-pop 280ms ease-out;
}

/* Typewriter cursor for the title + description fields on step 3. */
.ob-typing::after {
  content: "\258D"; /* ▍ — left half block, looks like a caret */
  display: inline-block;
  margin-left: 1px;
  color: #3b82f6;
  font-weight: 400;
  animation: ob-cursor-blink 0.85s steps(2, end) infinite;
}
@keyframes ob-cursor-blink {
  0%, 49%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ob-chip-pop { animation: none; }
  .ob-typing::after { animation: none; opacity: 0; }
}

.ob-route-line {
  margin-top: 14px;
  text-align: center;
  font-size: 0.85rem;
  color: #c8d6e5;
}

.ob-route-line strong {
  color: #e6edf3;
  font-weight: 600;
}

.ob-route-arrow {
  color: #3b82f6;
  font-weight: 600;
  margin-right: 4px;
}

/* ---- Daily flow + rules (step 4) ---- */

.ob-day {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.ob-day-col {
  border: 1px solid #30363d;
  border-radius: 6px;
  padding: 10px 12px;
  background: #0d1117;
  text-align: center;
}

.ob-day-time {
  font-family: var(--font-mono, 'Geist Mono', ui-monospace, monospace);
  font-size: 0.72rem;
  color: #3b82f6;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.ob-day-action {
  font-size: 0.8rem;
  color: #c8d6e5;
  line-height: 1.4;
}
.ob-day-action strong { color: #e6edf3; }

/* Escalation callout — between daily flow and rules. Amber accent
   matches the .notif-item-cat-escalate / .btn-warning visual language. */
.ob-escalate-block {
  margin-top: 16px;
  padding: 12px 14px;
  background: #1a1410;
  border: 1px solid #30363d;
  border-left: 3px solid #f59e0b;
  border-radius: 6px;
}

.ob-escalate-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #fbbf24;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ob-escalate-flow {
  font-size: 0.85rem;
  color: #e6edf3;
  line-height: 1.45;
  margin-bottom: 6px;
}

.ob-escalate-btn {
  display: inline-block;
  padding: 2px 8px;
  background: #f59e0b;
  color: #1a1410;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-sans, 'Geist Sans', system-ui, sans-serif);
  margin: 0 2px;
}

.ob-escalate-hint {
  font-size: 0.75rem;
  color: #8b949e;
  line-height: 1.4;
}

/* ---- Roles + resolution protocol (step 4) ----
   Reuses .ob-day grid layout for the three role columns; role-specific
   accents on the time/label and a left border distinguish primary
   (blue, brand-primary), secondary (amber, coordinates), and watcher
   (muted gray, aware-only). The resolution flow callout is green-accented
   (success / completion) to distinguish from step 5's amber escalation
   callout. */
.ob-role-col-primary    { border-left: 3px solid #3b82f6; }
.ob-role-col-secondary  { border-left: 3px solid #f59e0b; }
.ob-role-col-watcher    { border-left: 3px solid #4a5a6a; }

.ob-role-label-primary    { color: #60a5fa; }
.ob-role-label-secondary  { color: #fbbf24; }
.ob-role-label-watcher    { color: #8b949e; }

.ob-resolve-block {
  margin-top: 16px;
  padding: 12px 14px;
  background: #0f1a14;
  border: 1px solid #30363d;
  border-left: 3px solid #22c55e;
  border-radius: 6px;
}

.ob-resolve-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #4ade80;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ob-resolve-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #e6edf3;
  margin-bottom: 8px;
}

.ob-status-pill {
  display: inline-block;
  padding: 2px 8px;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 4px;
  font-size: 0.78rem;
  color: #c8d6e5;
  font-family: var(--font-sans, 'Geist Sans', system-ui, sans-serif);
}

.ob-status-pill-closed {
  background: #0f1a14;
  border-color: #22c55e;
  color: #4ade80;
}

.ob-resolve-arrow,
.ob-resolve-plus {
  color: #8b949e;
  font-size: 0.82rem;
  font-weight: 500;
}

.ob-resolve-hint {
  font-size: 0.75rem;
  color: #8b949e;
  line-height: 1.4;
}

/* ---- Resolution animation card (step 4) ----
   Mock issue card that plays out the full resolve flow:
   primary comment + mark resolved -> secondary comment + mark resolved
   -> status flips Open -> Resolved + card tints green. Logic in
   animateResolutionFlow() (js/onboarding.js). All transitions are
   disabled under prefers-reduced-motion (the JS path also skips the
   typewriter and snaps states). */

.ob-ranim {
  margin-top: 14px;
  padding: 12px 14px;
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 6px;
  transition: background-color 320ms ease, border-color 320ms ease;
}
.ob-ranim-card-resolved {
  background: #0f1a14;
  border-color: #22c55e;
}

.ob-ranim-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}

.ob-ranim-id {
  font-family: var(--font-mono, 'Geist Mono', ui-monospace, monospace);
  font-size: 0.72rem;
  color: #8b949e;
  letter-spacing: 0.04em;
}

.ob-ranim-title {
  flex: 1;
  font-size: 0.88rem;
  font-weight: 500;
  color: #e6edf3;
}

.ob-ranim-status {
  padding: 2px 8px;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 4px;
  font-size: 0.72rem;
  color: #c8d6e5;
  font-family: var(--font-sans, 'Geist Sans', system-ui, sans-serif);
  transition: background-color 240ms ease, border-color 240ms ease, color 240ms ease;
}
.ob-ranim-status-resolved {
  background: #0f1a14;
  border-color: #22c55e;
  color: #4ade80;
}

.ob-ranim-roles {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.ob-ranim-role-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 4px;
}

.ob-ranim-role-tag {
  padding: 1px 7px;
  border-radius: 3px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ob-ranim-role-tag-primary {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.ob-ranim-role-tag-secondary {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.ob-ranim-role-name {
  flex: 1;
  font-size: 0.78rem;
  color: #c8d6e5;
}

.ob-ranim-state {
  padding: 1px 7px;
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 3px;
  font-size: 0.7rem;
  color: #8b949e;
  font-family: var(--font-sans, 'Geist Sans', system-ui, sans-serif);
  transition: background-color 240ms ease, border-color 240ms ease, color 240ms ease;
}
.ob-ranim-state-resolved {
  background: #0f1a14;
  border-color: #22c55e;
  color: #4ade80;
}

.ob-ranim-thread {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ob-ranim-comment {
  display: flex;
  gap: 8px;
  padding: 6px 8px;
  background: #0a0e13;
  border: 1px solid #30363d;
  border-left: 2px solid #4a5a6a;
  border-radius: 4px;
  font-size: 0.78rem;
  line-height: 1.4;
  animation: ob-ranim-comment-in 220ms ease both;
}
.ob-ranim-hidden { display: none; }

.ob-ranim-comment-author {
  flex-shrink: 0;
  color: #60a5fa;
  font-weight: 500;
}

.ob-ranim-comment-text {
  color: #e6edf3;
  white-space: pre-wrap;
}

.ob-ranim-caption {
  margin-top: 10px;
  text-align: center;
  font-size: 0.78rem;
  color: #8b949e;
  font-family: var(--font-mono, 'Geist Mono', ui-monospace, monospace);
  letter-spacing: 0.02em;
  min-height: 1.2em; /* reserve space so layout doesn't shift on caption swap */
  transition: color 240ms ease;
}

/* "Pop" animation for state-pill flips. Used on primary/secondary
   state changes + the final Open -> Resolved status flip. Brief and
   restrained -- 1.0 -> 1.08 -> 1.0 over 280ms -- so it draws the eye
   without feeling cartoonish. */
.ob-ranim-pop { animation: ob-ranim-pop 280ms ease; }

@keyframes ob-ranim-pop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes ob-ranim-comment-in {
  0%   { opacity: 0; transform: translateY(-3px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .ob-ranim,
  .ob-ranim-status,
  .ob-ranim-state,
  .ob-ranim-caption {
    transition: none;
  }
  .ob-ranim-comment,
  .ob-ranim-pop {
    animation: none;
  }
}

/* ---- Escalation animation (step 5) ----
   Reuses .ob-ranim-* (card, header, status pill, comment, caption)
   from step 4. Adds: priority pill, stale tag, escalate button,
   recipient row + avatars, and a system-comment variant. Animation
   logic in animateEscalationFlow() (js/onboarding.js). */

.ob-eanim-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.ob-eanim-priority {
  padding: 1px 7px;
  border-radius: 3px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
  transition: background-color 240ms ease, border-color 240ms ease, color 240ms ease;
}
.ob-eanim-priority-critical {
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.45);
}

.ob-eanim-stale {
  font-size: 0.7rem;
  color: #8b949e;
  font-family: var(--font-mono, 'Geist Mono', ui-monospace, monospace);
  letter-spacing: 0.02em;
}

.ob-eanim-button {
  margin-left: auto;
  padding: 3px 9px;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 4px;
  color: #c8d6e5;
  font-family: var(--font-sans, 'Geist Sans', system-ui, sans-serif);
  font-size: 0.72rem;
  font-weight: 500;
  cursor: default;
  transition: background-color 240ms ease, border-color 240ms ease, color 240ms ease;
}
/* Active state -- reporter "tapped" the button. Amber border so the
   action reads as "in progress" / "elevated", before the priority
   pill finishes flipping to red. */
.ob-eanim-button-active {
  background: rgba(245, 158, 11, 0.2);
  border-color: #fbbf24;
  color: #fbbf24;
}

/* Recipients row -- fans in after the auto-comment lands. The whole
   row pulses in via fade+slide; the individual avatars get staggered
   pop animations via nth-child delays. */
.ob-eanim-recipients {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  margin-top: 8px;
  background: rgba(96, 165, 250, 0.06);
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 4px;
  animation: ob-ranim-comment-in 260ms ease both;
}
.ob-eanim-hidden { display: none; }

.ob-eanim-recip-label {
  font-size: 0.7rem;
  color: #8b949e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-right: 4px;
}

.ob-eanim-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  font-family: var(--font-sans, 'Geist Sans', system-ui, sans-serif);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  animation: ob-eanim-avatar-pop 360ms ease both;
}
/* Staggered pop-in -- avatars enter one at a time so the fan-out
   reads as a sequence, not a single block. */
.ob-eanim-recipients .ob-eanim-avatar:nth-child(2) { animation-delay: 0ms; }
.ob-eanim-recipients .ob-eanim-avatar:nth-child(3) { animation-delay: 120ms; }
.ob-eanim-recipients .ob-eanim-avatar:nth-child(4) { animation-delay: 240ms; }

.ob-eanim-avatar-primary {
  background: rgba(59, 130, 246, 0.18);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.4);
}
.ob-eanim-avatar-secondary {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}
.ob-eanim-avatar-exec {
  background: rgba(168, 85, 247, 0.18);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.4);
}

@keyframes ob-eanim-avatar-pop {
  0%   { opacity: 0; transform: scale(0.6); }
  60%  { opacity: 1; transform: scale(1.12); }
  100% { opacity: 1; transform: scale(1); }
}

/* System-generated comment variant -- visually distinct from a user
   comment so the auto-escalation note reads as machine output, not
   something a human wrote. Lighter, italicized, neutral border. */
.ob-ranim-comment-system {
  background: rgba(139, 148, 158, 0.06);
  border-left-color: #8b949e;
}
.ob-ranim-comment-system .ob-ranim-comment-author {
  color: #8b949e;
  font-style: italic;
}
.ob-ranim-comment-system .ob-ranim-comment-text {
  color: #c8d6e5;
  font-style: italic;
}

@media (prefers-reduced-motion: reduce) {
  .ob-eanim-priority,
  .ob-eanim-button {
    transition: none;
  }
  .ob-eanim-recipients,
  .ob-eanim-avatar {
    animation: none;
  }
}

/* ---- Footer (pager dots + actions) ---- */

.ob-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #30363d;
  gap: 12px;
}

.ob-progress {
  display: flex;
  gap: 6px;
}

.ob-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #30363d;
}
.ob-dot-past { background: #4a5a6a; }
.ob-dot-active { background: #3b82f6; }

.ob-actions {
  display: flex;
  gap: 8px;
}

.ob-btn {
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid #30363d;
  font-family: var(--font-sans, 'Geist Sans', system-ui, sans-serif);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 50ms ease-out, border-color 50ms ease-out;
}

.ob-btn-ghost {
  background: transparent;
  color: #c8d6e5;
}
.ob-btn-ghost:hover {
  background: #1c2128;
  border-color: #4a5a6a;
}

.ob-btn-primary {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #fff;
}
.ob-btn-primary:hover {
  background: #2563eb;
  border-color: #2563eb;
}

/* ---- Help (?) button in topbar ---- */

.btn-help {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid #30363d;
  color: #8b949e;
  font-family: var(--font-sans, 'Geist Sans', system-ui, sans-serif);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.btn-help:hover {
  background: #1c2128;
  color: #e6edf3;
  border-color: #4a5a6a;
}

/* ---- Mobile (single-column adjustments) ---- */

@media (max-width: 600px) {
  .ob-dialog {
    padding: 22px 18px 16px;
    max-height: 95vh;
  }
  .ob-title {
    font-size: 1.1rem;
  }
  .ob-day {
    grid-template-columns: 1fr;
  }
  .ob-mockform-chips {
    gap: 6px;
  }
  .ob-footer {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 14px;
  }
  .ob-actions {
    width: 100%;
  }
  .ob-actions .ob-btn {
    flex: 1;
  }
  .ob-progress {
    justify-content: center;
  }
}
