/* Drop 695: onboarding wizard and the set-up banner — colors from the portal theme's tokens. */
.ob { --ob-acc: var(--accent, #C98E1F); display: grid; gap: 1.25rem; }
.ob-hero { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.75rem 2rem; border-radius: 22px; border: 1px solid var(--border);
  background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--ob-acc) 14%, transparent), transparent 55%), var(--bg-card); }
.ob-kicker { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ob-acc); }
.ob-title { font-size: clamp(1.4rem, 2.4vw, 2rem); margin: .35rem 0 .5rem; line-height: 1.25; } .ob-lead { margin: 0; color: var(--fg-muted); max-width: 62ch; } .ob-switch { margin: .75rem 0 0; font-weight: 700; }
.ob-meter { position: relative; width: 132px; height: 132px; flex: none; } .ob-meter svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ob-meter-bg { fill: none; stroke: color-mix(in srgb, var(--fg) 10%, transparent); stroke-width: 10; } .ob-meter-fg { fill: none; stroke: var(--ob-acc); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 326.7; transition: stroke-dashoffset .6s ease; }
.ob-meter-v { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; } .ob-meter-v b { font-size: 1.6rem; } .ob-meter-v span { font-size: .72rem; color: var(--fg-muted); }
.ob-done { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-radius: 16px; background: color-mix(in srgb, #16a34a 12%, var(--bg-card)); border: 1px solid color-mix(in srgb, #16a34a 35%, transparent); flex-wrap: wrap; }
.ob-done > div { flex: 1; } .ob-done-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #16a34a; color: #fff; font-weight: 900; }
.ob-grid { display: grid; grid-template-columns: minmax(230px, 300px) 1fr; gap: 1.25rem; align-items: start; }
.ob-rail { position: sticky; top: 80px; padding: .75rem; border-radius: 18px; border: 1px solid var(--border); background: var(--bg-card); } .ob-rail ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.ob-rail-i a { display: flex; gap: .75rem; align-items: center; padding: .6rem .65rem; border-radius: 12px; text-decoration: none; color: inherit; } .ob-rail-i a:hover { background: color-mix(in srgb, var(--fg) 5%, transparent); }
.ob-rail-i.is-cur a { background: color-mix(in srgb, var(--ob-acc) 12%, transparent); }
.ob-rail-dot { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800; border: 2px solid var(--border); color: var(--fg-muted); background: var(--bg-card); }
.ob-rail-i.is-done .ob-rail-dot { background: #16a34a; border-color: #16a34a; color: #fff; } .ob-rail-i.is-cur .ob-rail-dot { border-color: var(--ob-acc); color: var(--ob-acc); } .ob-rail-i.is-skip .ob-rail-dot { opacity: .5; }
.ob-rail-t { display: grid; font-weight: 700; font-size: .88rem; } .ob-rail-t small { font-weight: 600; font-size: .7rem; color: var(--fg-muted); }
.ob-panel { padding: 1.75rem; border-radius: 22px; border: 1px solid var(--border); background: var(--bg-card); min-height: 360px; display: flex; flex-direction: column; gap: 1.25rem; }
.ob-step-head { display: flex; gap: 1rem; align-items: flex-start; } .ob-step-head > div { flex: 1; }
.ob-step-ico { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--ob-acc) 14%, transparent); color: var(--ob-acc); } .ob-step-ico svg { width: 26px; height: 26px; }
.ob-step-t { margin: 0 0 .3rem; font-size: 1.25rem; } .ob-step-d { margin: 0; color: var(--fg-muted); }
.ob-chip { font-size: .7rem; font-weight: 800; padding: .25rem .65rem; border-radius: 999px; border: 1px solid var(--border); white-space: nowrap; }
.ob-chip.is-done { background: #16a34a; border-color: #16a34a; color: #fff; } .ob-chip.is-req { color: var(--ob-acc); border-color: color-mix(in srgb, var(--ob-acc) 50%, transparent); }
.ob-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .9rem 1rem; } .ob-f { display: grid; gap: .3rem; } .ob-f--wide { grid-column: 1 / -1; }
.ob-hint { font-size: .72rem; color: var(--fg-muted); } .ob-actions { grid-column: 1 / -1; display: flex; gap: .5rem; }
.ob-link { display: grid; gap: .75rem; justify-items: start; } .ob-ok { color: #16a34a; font-weight: 700; margin: 0; }
.ob-tour { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; }
.ob-tour-c { display: grid; gap: .3rem; padding: 1rem; border-radius: 14px; border: 1px solid var(--border); text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
.ob-tour-c:hover { border-color: var(--ob-acc); transform: translateY(-2px); } .ob-tour-c span { font-size: .82rem; color: var(--fg-muted); }
.ob-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding-top: 1rem; border-top: 1px solid var(--border); } .ob-foot-r { display: flex; gap: .5rem; align-items: center; }
.ob-later { text-align: center; margin: 0; font-size: .85rem; }
.ob-banner { display: flex; align-items: center; gap: 1rem; padding: .8rem 1rem; margin-bottom: 1rem; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--accent, #C98E1F) 35%, transparent);
  background: color-mix(in srgb, var(--accent, #C98E1F) 8%, var(--bg-card)); }
.ob-banner-ring { --p: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; background: conic-gradient(var(--accent, #C98E1F) calc(var(--p) * 1%), color-mix(in srgb, var(--fg) 10%, transparent) 0); }
.ob-banner-ring span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-card); font-size: .7rem; font-weight: 800; }
.ob-banner-txt { flex: 1; display: grid; } .ob-banner-txt span { font-size: .8rem; color: var(--fg-muted); }
.ob-banner-x button { border: 0; background: transparent; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--fg-muted); padding: .2rem .4rem; }
@media (max-width: 860px) { .ob-grid { grid-template-columns: 1fr; } .ob-rail { position: static; } .ob-rail ol { grid-auto-flow: column; overflow-x: auto; } .ob-rail-t small { display: none; } .ob-hero { flex-direction: column; align-items: flex-start; padding: 1.25rem; } .ob-meter { width: 104px; height: 104px; } .ob-panel { padding: 1.1rem; } }
.ob-grid > * { min-width: 0; } .ob-hero-txt { min-width: 0; }
@media (max-width: 860px) { .ob-rail ol { grid-auto-columns: max-content; } .ob-foot { flex-wrap: wrap; } }
.ob section.ob-panel { padding: 1.75rem !important; margin: 0 !important; } .ob section.ob-done { margin: 0 !important; }
@media (max-width: 860px) { .ob section.ob-panel { padding: 1.1rem !important; } }
/* Drop 699: the staff set-up in the admin panel's theme. */
.ob--admin { --accent: var(--a-accent); --border: var(--a-border); --bg-card: var(--a-bg-card); --fg: var(--a-fg); --fg-muted: var(--a-fg-3); }
.ob--admin .ob-hero, .ob--admin .ob-panel, .ob--admin .ob-rail { background-color: var(--a-bg-card); }
.ob .ob-done-ico { flex: none !important; width: 40px; height: 40px; }   /* drop 699 */
/* drop 944: after the services agreement — next steps */
.ob-next { margin: 1rem 0; padding: 1.25rem 1.5rem; border-radius: var(--r-lg, 18px); border: 1px solid var(--border); background: var(--bg-card, var(--bg)); }
.ob-next-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.ob-next-head h2 { margin: 0; font-size: var(--fs-lg, 1.1rem); }
.ob-next-count { font-size: var(--fs-sm, .85rem); font-weight: 700; color: var(--accent-text, var(--accent)); white-space: nowrap; }
.ob-next-lead { margin: .35rem 0 .9rem; color: var(--fg-muted); font-size: var(--fs-sm, .9rem); }
.ob-next-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.ob-next-list li { display: flex; gap: .8rem; align-items: flex-start; }
.ob-next-list a { font-weight: 700; color: var(--fg); text-decoration: none; } .ob-next-list a:hover { color: var(--accent-text, var(--accent)); }
.ob-next-list p { margin: .15rem 0 0; color: var(--fg-muted); font-size: var(--fs-sm, .88rem); line-height: 1.6; }
.ob-next-n { flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .85rem; border: 1.5px solid var(--border-2, var(--border)); color: var(--fg-muted); }
.ob-next-list li.is-done .ob-next-n { background: var(--c-success, #1a7f4b); border-color: transparent; color: #fff; }
.ob-next-list li.is-done a { color: var(--fg-muted); text-decoration: line-through; text-decoration-thickness: 1px; }
/* drop 946: steps in order — locked steps on the rail */
.ob-rail-i.is-locked > span { display: flex; gap: .75rem; align-items: center; padding: .6rem .65rem; border-radius: 12px; cursor: not-allowed; opacity: .5; }
.ob-rail-i.is-locked .ob-rail-dot { background: transparent; }
.ob-lock { width: 15px; height: 15px; flex: none; margin-inline-start: auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn.is-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
/* drop 1015: on a phone the title and progress take the full row, with Continue and close beneath — instead of a
   one-word-per-line column squeezed between the ring and the button */
@media (max-width: 560px) {
  .ob-banner { flex-wrap: wrap; row-gap: .6rem; }
  .ob-banner-txt { flex: 1 1 calc(100% - 46px - 1rem); min-width: 0; }
  .ob-banner > .btn { flex: 1 1 auto; text-align: center; justify-content: center; }
}
