/* Day one, round 4 (Conner, 2026-11-03). Loads last. One card shell for
   every onboarding card: the cloud and glow header with the mascot, Inter
   Tight 600 titles, the brand radius, padding and pill buttons, no purple.
   Let's set up Nimbus is 640 wide with one compact row a step; Take a quick
   look is 560 wide with its header and footer pinned and only the list
   scrolling. Brand tokens (brand-popups.css), light and dark. */

/* ---- The shared shell ---- */
:root body .ob-stage .pv-card .pv-h,
:root body .ob-stage .pv-card h2.pv-h {
  font: 600 26px/1.15 var(--bp-tight) !important; letter-spacing: -0.015em; color: var(--bp-ink) !important;
  -webkit-line-clamp: unset; display: block;
}
:root body .ob-stage .pv-card .pv-art { height: 96px; }
:root body .ob-stage .sc-btn, :root body .ob-stage .fp-btn, :root body .ob-stage .fp-ghost, :root body .ob-stage .sc-skip {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; min-height: 0; box-sizing: border-box;
  padding: 0 18px !important; border: 0 !important; border-radius: 999px !important; font: 600 14px/1 var(--bp-sans) !important; white-space: nowrap; cursor: pointer;
}
:root body .ob-stage .sc-btn, :root body .ob-stage .fp-btn { background: var(--bp-pill) !important; color: var(--bp-pilltx) !important; }
:root body .ob-stage .sc-btn.sc-skip, :root body .ob-stage .fp-ghost {
  background: var(--bp-card) !important; color: var(--bp-ink) !important; box-shadow: inset 0 0 0 1px var(--bp-line2) !important;
}
:root body .ob-stage .sc-btn.sc-skip:hover, :root body .ob-stage .fp-ghost:hover { background: var(--bp-hover) !important; }
:root body .ob-stage .sc-btn:disabled, :root body .ob-stage .fp-btn:disabled { opacity: 0.55; cursor: default; }

/* A small spinner, for buttons that are saving. */
@keyframes ob4-spin { to { transform: rotate(360deg); } }
.fp-spin-i, .ob-stage .fp-spin::after { content: ""; display: inline-block; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent; animation: ob4-spin 0.8s linear infinite; }

/* ---- Let's set up Nimbus ---- */
:root body .ob-stage > .ob-frame > .pv-card.sc-card4.ob-fixed { height: min(760px, calc(100vh - 64px)) !important; overflow-y: auto !important; overscroll-behavior: contain; }
.ob-stage .sc-card4 > .pv-pad { padding: 20px 28px 24px !important; }
.ob-stage .sc-card4 .sc-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ob-stage .sc-card4 .sc-count { flex: none; font: 600 13px var(--bp-sans); color: var(--bp-lab); }
.ob-stage .sc-card4 .sc-intro { margin: 4px 0 14px !important; font: 400 14px/1.45 var(--bp-sans) !important; color: var(--bp-soft) !important; }
.ob-stage .sc-card4 .sc-foot { display: flex; justify-content: flex-end; margin-top: 16px; }
.ob-stage .sc-card4 .sc-continue { min-width: 140px; }
.ob-stage .sc-steps4 { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bp-line); }
.ob-stage .sc-steps4 .sc-step { display: block !important; padding: 0 !important; margin: 0; border: 0 !important; border-bottom: 1px solid var(--bp-line) !important; }
.ob-stage .sc-steps4 .sc-step-h { all: unset; box-sizing: border-box; width: 100%; height: 56px; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto 16px; align-items: center; column-gap: 12px; padding: 0 6px; cursor: pointer; border-radius: 12px; }
.ob-stage .sc-steps4 .sc-step-h:hover { background: var(--bp-hover); }
.ob-stage .sc-steps4 .sc-step-h:focus-visible { box-shadow: var(--bp-ring); }
.ob-stage .sc-steps4 .sc-step.on .sc-step-h { cursor: default; background: none; }
.ob-stage .sc-steps4 .sc-mark { width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; font: 600 12px var(--bp-sans); color: var(--bp-lab); box-shadow: inset 0 0 0 1.5px var(--bp-line2); background: none; border: 0; }
.ob-stage .sc-steps4 .sc-step.on .sc-mark { background: var(--bp-pill); color: var(--bp-pilltx); box-shadow: none; }
.ob-stage .sc-steps4 .sc-step.done .sc-mark { background: var(--bp-green); color: #fff; box-shadow: none; }
.ob-stage .sc-steps4 .sc-text { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.ob-stage .sc-steps4 .sc-text b { font: 600 15px/1.2 var(--bp-sans); color: var(--bp-ink); }
.ob-stage .sc-steps4 .sc-line { font: 400 13px/1.3 var(--bp-sans); color: var(--bp-lab); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ob-stage .sc-steps4 .sc-state { max-width: 220px; font: 500 13px var(--bp-sans); color: var(--bp-lab); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }
.ob-stage .sc-steps4 .sc-state.ok { color: var(--bp-green); }
.ob-stage .sc-steps4 .sc-chev { color: var(--bp-lab); font-size: 13px; text-align: center; }
.ob-stage .sc-steps4 .sc-body { margin: 0 !important; padding: 2px 6px 18px 46px; }
.ob-stage .sc-steps4 .sc-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ob-stage .sc-steps4 .sc-input { width: 100%; height: 44px; box-sizing: border-box; padding: 0 14px; border: 0; border-radius: 12px; background: var(--bp-wash); color: var(--bp-ink); box-shadow: inset 0 0 0 1px var(--bp-line2); font: 500 15px var(--bp-sans); }
.ob-stage .sc-steps4 .sc-input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--bp-blue), var(--bp-ring); }
.ob-stage .sc-steps4 .sc-err { margin: 8px 0 0; font: 600 13px var(--bp-sans); color: var(--bp-red); }
.ob-stage .sc-steps4 .sc-wait { margin: 0; font: 600 14px var(--bp-sans); color: var(--bp-ink); }
.ob-stage .sc-steps4 .sc-fine { margin: 6px 0 0; font: 400 13px var(--bp-sans); color: var(--bp-lab); }

/* Provider tiles: two columns, all one height. */
.ob-stage .sc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ob-stage .sc-tile { height: 72px; box-sizing: border-box; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 0 12px 0 14px; border-radius: 14px; background: var(--bp-card); box-shadow: inset 0 0 0 1px var(--bp-line2); }
.ob-stage .sc-tile.on { box-shadow: inset 0 0 0 1.5px var(--bp-green); }
.ob-stage .sc-tile-logo { width: 32px; height: 32px; object-fit: contain; }
.ob-stage .sc-tile-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ob-stage .sc-tile-t b { font: 600 14px/1.2 var(--bp-sans); color: var(--bp-ink); }
.ob-stage .sc-tile-t span { font: 400 12px/1.3 var(--bp-sans); color: var(--bp-lab); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ob-stage .sc-tile-msg.err { color: var(--bp-red); }
.ob-stage .sc-tile-msg.info { color: var(--bp-soft); }
.ob-stage .sc-tile .sc-tile-go { height: 34px; padding: 0 14px !important; font-size: 13px !important; }
.ob-stage .sc-tile-ok { width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; background: var(--bp-green); color: #fff; font: 700 13px var(--bp-sans); }

/* Your AI: tabs, the steps, the address, Check connection. */
.ob-stage .sc-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--bp-wash); box-shadow: inset 0 0 0 1px var(--bp-line); }
.ob-stage .sc-tab { all: unset; flex: 1; height: 34px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 9px; font: 600 13px var(--bp-sans); color: var(--bp-soft); cursor: pointer; }
.ob-stage .sc-tab img { width: 16px; height: 16px; object-fit: contain; }
.ob-stage .sc-tab.on { background: var(--bp-card); color: var(--bp-ink); box-shadow: 0 1px 3px rgba(15, 17, 21, 0.1), inset 0 0 0 1px var(--bp-line); }
.ob-stage .sc-tab:focus-visible { box-shadow: var(--bp-ring); }
.ob-stage .sc-howto { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.ob-stage .sc-howto li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.ob-stage .sc-howto-n { width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; background: var(--bp-wash); box-shadow: inset 0 0 0 1px var(--bp-line2); font: 600 11px var(--bp-sans); color: var(--bp-soft); }
.ob-stage .sc-howto b { display: block; font: 600 14px/1.3 var(--bp-sans); color: var(--bp-ink); }
.ob-stage .sc-howto p { margin: 2px 0 0; font: 400 13px/1.45 var(--bp-sans); color: var(--bp-lab); }
.ob-stage .sc-open { display: inline-block; margin-top: 4px; font: 600 13px var(--bp-sans); color: var(--bp-ink); text-decoration: underline; text-underline-offset: 3px; }
.ob-stage .sc-url { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 4px 4px 4px 12px; border-radius: 10px; background: var(--bp-wash); box-shadow: inset 0 0 0 1px var(--bp-line2); }
.ob-stage .sc-url code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 12.5px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--bp-ink); }
.ob-stage .sc-url .sc-copy { height: 30px; padding: 0 12px !important; font-size: 12.5px !important; }
.ob-stage .sc-check { margin: 10px 0 0; font: 600 13px var(--bp-sans); }
.ob-stage .sc-check.ok { color: var(--bp-green); }
.ob-stage .sc-check.no { color: var(--bp-soft); }

/* The end card's line about facts still waiting. */
.ob-stage .sc-done .sc-left { color: var(--bp-ink) !important; font-weight: 600 !important; }

/* ---- Take a quick look ---- */
:root body .ob-stage > .ob-frame > .pv-card.fp-review { display: flex !important; flex-direction: column; overflow: hidden !important; padding: 0 !important; height: min(720px, calc(100vh - 64px)) !important; }
.ob-stage .fp-review > .pv-art { flex: none; }
.ob-stage .fp-review > .fp-pad { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; padding: 20px 28px 0 !important; }
.ob-stage .fp-review .fp-top { flex: none; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ob-stage .fp-review .fp-count { flex: none; font: 600 13px var(--bp-sans); color: var(--bp-lab); }
.ob-stage .fp-review .fp-sub { flex: none; margin: 4px 0 12px !important; font: 400 14px/1.45 var(--bp-sans) !important; color: var(--bp-soft) !important; }
.ob-stage .fp-review .fp-note { flex: none; margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; background: var(--bp-wash); box-shadow: inset 0 0 0 1px var(--bp-line2); font: 600 13px/1.4 var(--bp-sans); color: var(--bp-ink); }
/* Only the list scrolls, inside its own box: the scrollbar sits within the card. */
.ob-stage .fp-review .fp-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin: 0 !important; padding: 0 4px 8px 0 !important; border-top: 0 !important; scrollbar-width: thin; }
.ob-stage .fp-review .fp-gh { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; padding: 12px 0 6px !important; background: var(--bp-card); border: 0 !important; }
.ob-stage .fp-review .fp-gh b { font: 600 11px/1 var(--bp-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--bp-lab); }
.ob-stage .fp-review .fp-link { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; border: 0; background: none; padding: 4px 0; font: 600 13px var(--bp-sans); color: var(--bp-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ob-stage .fp-review .fp-link:disabled { opacity: 0.55; cursor: default; }
.ob-stage .fp-review .fp-row { display: flex; align-items: flex-start; gap: 12px; margin: 0 !important; padding: 11px 0 !important; border: 0 !important; border-bottom: 1px solid var(--bp-line) !important; border-radius: 0 !important; background: none !important; }
.ob-stage .fp-review .fp-list li:last-child { border-bottom: 0 !important; }
.ob-stage .fp-review .fp-row-why { display: block; margin-top: 4px; font: 600 12.5px var(--bp-sans); color: var(--bp-red); }
.ob-stage .fp-review .fp-btns { flex: none; display: flex; gap: 4px; align-items: center; }
.ob-stage .fp-review .fp-ib { width: 32px; height: 32px; min-height: 0; padding: 0; display: grid; place-items: center; border: 0; border-radius: 10px; background: none; color: var(--bp-lab); box-shadow: none; cursor: pointer; }
.ob-stage .fp-review .fp-ib-yes { box-shadow: inset 0 0 0 1px var(--bp-line2); color: var(--bp-soft); }
/* Green only once the server has said it saved (the fading row). */
.ob-stage .fp-review .fp-ib-yes:hover { background: var(--bp-hover); color: var(--bp-ink); }
.ob-stage .fp-review .fp-ib.on { background: var(--bp-green); color: #fff; box-shadow: none; }
.ob-stage .fp-review .fp-ib-more { opacity: 0.6; }
.ob-stage .fp-review .fp-row:hover .fp-ib-more, .ob-stage .fp-review .fp-ib-more.open, .ob-stage .fp-review .fp-ib-more:focus-visible { opacity: 1; }
.ob-stage .fp-review .fp-ib-more:hover, .ob-stage .fp-review .fp-ib-more.open { background: var(--bp-hover); color: var(--bp-ink); }
.ob-stage .fp-review .fp-spin { color: var(--bp-soft); cursor: default; }
.ob-stage .fp-review .fp-menu-wrap { position: relative; }
.ob-stage .fp-review .fp-menu { position: absolute; right: 0; top: 36px; z-index: 3; min-width: 120px; padding: 4px; border-radius: 12px; background: var(--bp-card); box-shadow: var(--bp-shadow), var(--bp-lift); display: flex; flex-direction: column; }
.ob-stage .fp-review .fp-menu button { all: unset; padding: 8px 10px; border-radius: 8px; font: 500 14px var(--bp-sans); color: var(--bp-ink); cursor: pointer; }
.ob-stage .fp-review .fp-menu button:hover, .ob-stage .fp-review .fp-menu button:focus-visible { background: var(--bp-hover); }
.ob-stage .fp-review .fp-review-foot { flex: none; display: flex !important; align-items: center; justify-content: space-between; gap: 12px; margin: 0 !important; padding: 14px 28px 20px !important; border-top: 1px solid var(--bp-line); background: var(--bp-card); }
.ob-stage .fp-flash { margin: 6px 0 0; font: 600 13px var(--bp-sans); color: var(--bp-green); }
.ob-stage .fp-first-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }

/* Phones: full width, the same parts. */
@media (max-width: 639px) {
  .ob-stage .sc-grid { grid-template-columns: 1fr; }
  .ob-stage .sc-steps4 .sc-body { padding-left: 6px; }
  .ob-stage .sc-steps4 .sc-state { max-width: 110px; }
  .ob-stage .sc-card4 > .pv-pad, .ob-stage .fp-review > .fp-pad { padding-left: 18px !important; padding-right: 18px !important; }
  .ob-stage .fp-review .fp-review-foot { padding-left: 18px !important; padding-right: 18px !important; }
}
/* Buttons in a step sit side by side at their own width. */
:root body .ob-stage .sc-steps4 .sc-row > .sc-btn { width: auto !important; flex: none; margin: 0 !important; }
/* The provider grid uses the row's full width. */
.ob-stage .sc-steps4 .sc-body { padding-left: 6px; padding-right: 6px; }
.ob-stage .sc-steps4 .sc-body .sc-indent { padding-left: 40px; }
/* A tile's message gets three lines, and the whole of it on hover. */
.ob-stage .sc-tile { height: 84px; }
.ob-stage .sc-tile-t span.sc-tile-msg { -webkit-line-clamp: 3; }
/* Older sheets box each row and squash the pill buttons; not here. */
.ob-stage .fp-review .fp-row { box-shadow: none !important; }
:root body .ob-stage .sc-btn, :root body .ob-stage .fp-btn, :root body .ob-stage .fp-ghost { height: 40px !important; min-height: 40px !important; line-height: 1 !important; }
:root body .ob-stage .sc-tile .sc-tile-go, :root body .ob-stage .sc-url .sc-copy { height: 34px !important; min-height: 34px !important; }
:root body .ob-stage .sc-url .sc-copy { height: 30px !important; min-height: 30px !important; }

/* Nine AIs now (Conner, 2026-11-04): the tabs wrap into three even rows. */
.ob-stage .sc-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ob-stage .sc-tab { min-width: 0; padding: 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Text to copy wraps inside its box, so the Copy button always shows. */
.ob-stage .sc-url { display: flex; align-items: center; gap: 8px; }
.ob-stage .sc-url code { flex: 1 1 auto; min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.ob-stage .sc-url .sc-copy { flex: none; }
/* Don't see yours? (2026-11-04): the last tile in each connect step, a
   question mark in a logo-sized box and an Email us pill like Connect. */
.ob-stage .sc-tile-q { display: grid; place-items: center; border-radius: 8px; background: var(--bp-wash); box-shadow: inset 0 0 0 1px var(--bp-line2); color: var(--bp-ink); font: 700 16px/1 var(--bp-sans); }
.ob-stage a.sc-tile-go { display: inline-flex; align-items: center; text-decoration: none; }
.ob-stage .sc-other-go { padding: 0; border: 0; background: none; font: inherit; color: var(--bp-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Your AI, once linked (Conner, 2026-11-08): Start setup in that AI, then
   the profile filling live. */
.ob-stage .sc-ai-linked { display: grid; gap: 12px; }
.ob-stage .sc-ai-linked .sc-row { margin-top: 0; }
.ob-stage .sc-linked { margin: 0; padding: 10px 12px; border-radius: 12px; background: rgba(18, 183, 106, 0.1); color: var(--bp-green); font: 600 14px var(--bp-sans); }
.ob-stage .sc-lead { margin: 0; font: 400 14px/1.5 var(--bp-sans); color: var(--bp-soft); }
.ob-stage .sc-lead b { color: var(--bp-ink); font-weight: 600; }
:root body .ob-stage .sc-start { height: 48px !important; min-height: 48px !important; padding: 0 22px !important; font-size: 15px !important; text-decoration: none; }
.ob-stage .sc-start-logo { width: 18px; height: 18px; object-fit: contain; border-radius: 4px; background: #fff; padding: 1px; }
.ob-stage .sc-ai-linked .sc-fine { margin: 0; }
.ob-stage .sc-ai-linked a.sc-btn { text-decoration: none; }
.ob-stage .sc-live { margin: 0; display: flex; align-items: center; gap: 8px; font: 600 14px var(--bp-sans); color: var(--bp-ink); }
.ob-stage .sc-pulse { width: 8px; height: 8px; border-radius: 999px; background: var(--bp-blue); animation: sc-pulse 1.4s ease-in-out infinite; }
@keyframes sc-pulse { 50% { opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) { .ob-stage .sc-pulse { animation: none; } }
.ob-stage .sc-counts { display: flex; gap: 24px; }
.ob-stage .sc-counts div { display: grid; }
.ob-stage .sc-counts b { font: 600 22px var(--bp-tight); font-variant-numeric: tabular-nums; color: var(--bp-ink); }
.ob-stage .sc-counts span { font: 400 12px var(--bp-sans); color: var(--bp-lab); }
.ob-stage .sc-feed { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bp-line); }
.ob-stage .sc-feed li { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 2px; border-bottom: 1px solid var(--bp-line); font: 400 13px/1.4 var(--bp-sans); color: var(--bp-ink); }
.ob-stage .sc-feed li::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--bp-blue); }
.ob-stage .sc-feed li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ob-stage .sc-feed em { font-style: normal; font-size: 12px; color: var(--bp-lab); }
