/* Owner setup wizard v2 — full-bleed restaurant photo, ivory glass card, gold glass buttons. */
body.onb {
  --o-ink: #2B1C0F;
  --o-brown: #3A2410;
  --o-muted: #6A5642;
  --o-gold: #9A6B22;
  --o-gold-hi: #F3D896;
  --o-gold-top: #E7B968;
  --o-gold-mid: #D6A95A;
  --o-gold-deep: #BF9249;
  --o-line: rgba(150, 110, 50, 0.18);
  --o-serif: "Noto Serif Display", Georgia, "Times New Roman", serif;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: #EFE5D4;
  color: var(--o-ink);
  font-family: "Manrope", system-ui, -apple-system, sans-serif; font-synthesis: style;
  -webkit-font-smoothing: antialiased;
}
body.onb { position: relative; }
.onb-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-color: #EADFCB;
  background-image: url(/static/img/onb/onb-bg-1600.webp?v=2);
  background-image: image-set(url(/static/img/onb/onb-bg-1600.avif?v=2) type("image/avif"), url(/static/img/onb/onb-bg-1600.webp?v=2) type("image/webp"));
  background-size: cover; background-position: 30% 60%;
}
@media (min-width: 1700px), (min-width: 900px) and (min-resolution: 1.5dppx) {
  .onb-bg {
    background-image: url(/static/img/onb/onb-bg-2560.webp?v=2);
    background-image: image-set(url(/static/img/onb/onb-bg-2560.avif?v=2) type("image/avif"), url(/static/img/onb/onb-bg-2560.webp?v=2) type("image/webp"));
  }
}
.onb-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 55% 45%, rgba(250, 244, 233, 0.38), transparent 70%),
    linear-gradient(180deg, rgba(246, 238, 224, 0.25) 0%, rgba(246, 238, 224, 0) 30%, rgba(120, 85, 40, 0.10) 100%);
}

/* top bar */
.onb-top {
  position: relative; z-index: 2;
  max-width: 1240px; margin: 0 auto;
  padding: 22px 32px 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.onb-brand {
  display: inline-flex; line-height: 0; padding: 8px 16px 7px; border-radius: 999px;
  background: rgba(255, 252, 246, 0.74); border: 1px solid rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 4px 14px rgba(90, 60, 20, 0.10);
}
.onb-brand img { width: 150px; height: auto; display: block; filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.5)); }
.onb-topnav { display: flex; align-items: center; gap: 10px; }
body.onb .onb-lang {
  height: 40px; min-height: 40px; width: auto; min-width: 0;
  padding: 0 30px 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background-color: rgba(255, 252, 246, 0.72);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: var(--o-brown); font-weight: 600; font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(90, 60, 20, 0.10);
}
.onb-login {
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px;
  border-radius: 999px; text-decoration: none;
  color: var(--o-brown); font-weight: 600; font-size: 0.92rem;
  background: rgba(255, 252, 246, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 4px 14px rgba(90, 60, 20, 0.10);
}
.onb-login:hover { background: rgba(255, 255, 255, 0.92); }

/* main card */
body.onb .onb-main { position: relative; z-index: 1; max-width: 1180px; margin: 8px auto 0; padding: 0 28px 28px; }
.onb-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  border-radius: 32px;
  background: rgba(253, 249, 242, 0.66);
  -webkit-backdrop-filter: blur(24px) saturate(1.12); backdrop-filter: blur(24px) saturate(1.12);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 40px 90px -20px rgba(70, 45, 15, 0.30), 0 8px 24px rgba(70, 45, 15, 0.08);
  overflow: hidden;
}
.onb-aside {
  padding: 58px 46px 50px 52px;
  display: flex; flex-direction: column;
  background: linear-gradient(165deg, rgba(255, 249, 238, 0.55) 0%, rgba(247, 234, 210, 0.32) 100%);
  border-right: 1px solid var(--o-line);
}
.onb-eyebrow {
  margin: 0 0 18px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--o-gold);
}
.onb-slogan {
  margin: 0;
  font-family: var(--o-serif); font-weight: 600;
  font-size: clamp(2.3rem, 3.4vw, 3.05rem); line-height: 1.04; letter-spacing: -0.01em;
  color: var(--o-ink);
  text-wrap: balance;
}
.onb-slogan em { font-style: normal; color: var(--o-gold); }
.onb-rule { display: block; width: 52px; height: 2px; margin: 24px 0 18px; border-radius: 2px; background: linear-gradient(90deg, var(--o-gold-top), var(--o-gold-deep)); }
.onb-lead { margin: 0 0 30px; color: var(--o-muted); font-size: 1.02rem; line-height: 1.55; max-width: 34ch; }
.onb-benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.onb-benefits li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; }
.onb-ico {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #FFF9EC, #F1E2C3);
  border: 1px solid rgba(190, 145, 70, 0.28);
  box-shadow: 0 6px 14px rgba(120, 85, 30, 0.10), 0 1px 0 #fff inset;
  color: var(--o-gold);
}
.onb-ico svg, .onb-act-ico svg, .onb-seal svg, .onb-act-go {
  width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.onb-benefits strong { display: block; font-size: 0.98rem; font-weight: 650; color: var(--o-ink); letter-spacing: -0.01em; }
.onb-benefits small { display: block; margin-top: 3px; font-size: 0.86rem; line-height: 1.45; color: var(--o-muted); }

/* form side (reuses .wiz-shell from admin.css) */
body.onb .onb-form {
  background: rgba(255, 253, 249, 0.80);
  border: 0; border-radius: 0; box-shadow: none;
  padding: 40px 54px 40px;
  min-width: 0;
}
body.onb .wiz .banner {
  background: rgba(251, 243, 224, 0.85); border: 1px solid rgba(214, 169, 90, 0.35); color: #5C4318;
  border-radius: 14px; font-size: 0.86rem; margin-bottom: 20px;
}
body.onb .wiz-progress { text-align: right; margin: 0 0 14px; font-size: 0.8rem; font-weight: 600; color: var(--o-muted); letter-spacing: 0.02em; }

/* stepper */
body.onb .wiz-steps { margin: 0 0 34px; counter-reset: none; }
body.onb .wiz-steps li {
  padding-top: 0; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; color: #8A7660;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
body.onb .wiz-steps li::before { content: none; display: none; }
body.onb .wiz-steps li:not(:last-child)::after { top: 17px; left: calc(50% + 21px); right: calc(-50% + 21px); height: 2px; background: rgba(150, 115, 60, 0.20); border-radius: 2px; }
body.onb .wiz-steps .wn {
  position: relative; z-index: 1;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.86rem; font-weight: 700; letter-spacing: 0;
  background: rgba(255, 255, 255, 0.9); color: #7A6650;
  border: 1.5px solid rgba(160, 125, 70, 0.30);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
body.onb .wiz-steps li.on { color: var(--o-brown); }
body.onb .wiz-steps li.on .wn {
  color: var(--o-brown); border-color: rgba(122, 86, 30, 0.45);
  background: linear-gradient(180deg, var(--o-gold-hi) 0%, var(--o-gold-top) 40%, var(--o-gold-mid) 72%, var(--o-gold-deep) 100%);
  box-shadow: 0 0 0 5px rgba(214, 169, 90, 0.18), 0 6px 14px rgba(160, 110, 40, 0.30), 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}
body.onb .wiz-steps li.done { color: var(--o-gold); }
body.onb .wiz-steps li.done .wn { color: transparent; background: #F6E9CC; border-color: rgba(190, 145, 70, 0.45); }
body.onb .wiz-steps li.done .wn::after {
  content: ""; position: absolute; width: 12px; height: 7px; left: 50%; top: 50%;
  border-left: 2px solid var(--o-gold); border-bottom: 2px solid var(--o-gold);
  transform: translate(-50%, -70%) rotate(-45deg);
}
body.onb .wiz-steps li.done:not(:last-child)::after { background: linear-gradient(90deg, var(--o-gold-top), var(--o-gold-mid)); }

/* panel typography */
body.onb .wiz h2 {
  font-family: var(--o-serif); font-weight: 600;
  font-size: clamp(2rem, 2.6vw, 2.45rem); line-height: 1.08; letter-spacing: -0.005em;
  color: var(--o-ink); margin: 0 0 10px;
}
body.onb #panel > h2::before {
  content: ""; display: block; width: 36px; height: 2px; margin: 0 0 18px; border-radius: 2px;
  background: linear-gradient(90deg, var(--o-gold-top), var(--o-gold-deep));
}
body.onb .wiz .lead { color: var(--o-muted); font-size: 1rem; line-height: 1.55; max-width: 46ch; margin: 0 0 24px; }
body.onb .wiz .muted { color: var(--o-muted); }
body.onb #panel label { display: block; margin: 16px 0 8px; font-size: 0.82rem; font-weight: 650; color: var(--o-brown); letter-spacing: 0.01em; }
body.onb #panel input:not([type=checkbox]):not([type=radio]) {
  width: 100%; box-sizing: border-box;
  height: 46px; padding: 0 16px;
  border-radius: 12px; border: 1.5px solid #E4D5BA;
  background: rgba(255, 253, 248, 0.95);
  font: inherit; font-size: 1rem; color: var(--o-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 2px 6px rgba(120, 85, 30, 0.04);
  transition: border-color 0.15s, box-shadow 0.15s;
}
body.onb #panel input::placeholder { color: #A8977F; }
body.onb #panel input:focus { outline: 0; border-color: var(--o-gold-mid); box-shadow: 0 0 0 4px rgba(214, 169, 90, 0.22); }
body.onb #panel input[readonly] { background: #F6EFE2; }
body.onb #panel code { font-family: var(--mono, ui-monospace, monospace); font-size: 0.88em; color: var(--o-brown); word-break: break-all; }
body.onb .link-preview { background: rgba(251, 245, 233, 0.9) !important; border: 1px solid #E8DAC0 !important; border-radius: 14px !important; }
body.onb .alts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
body.onb .linkish { color: var(--o-gold); font-weight: 600; opacity: 1; }
body.onb .setup-accept a, body.onb #panel a { color: var(--o-gold); }
body.onb #msg { color: #8A3B22; font-weight: 500; }

/* buttons: gold glass, dark brown label */
body.onb .wiz-nav { margin-top: 28px; gap: 12px; flex-wrap: nowrap; }
body.onb .wiz button.primary, body.onb .onb-act.is-primary {
  position: relative; overflow: hidden;
  color: var(--o-brown);
  background: linear-gradient(180deg, var(--o-gold-hi) 0%, var(--o-gold-top) 34%, var(--o-gold-mid) 66%, var(--o-gold-deep) 100%);
  border: 1px solid rgba(122, 86, 30, 0.42);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset, 0 -1px 0 rgba(120, 80, 20, 0.18) inset, 0 10px 24px -6px rgba(160, 110, 40, 0.45);
}
body.onb .wiz button.primary { flex: 1 1 auto; height: 48px; border-radius: 13px; font-size: 0.95rem; font-weight: 650; letter-spacing: 0; }
body.onb .wiz button.primary::before, body.onb .onb-act.is-primary::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
  pointer-events: none;
}
body.onb .wiz button.primary#next::after { content: "→"; margin-left: 10px; font-weight: 500; }
body.onb .wiz button.primary:hover { color: var(--o-brown); background: linear-gradient(180deg, #F6DFA6 0%, #EBC173 34%, #DBB062 66%, #C49850 100%); border-color: rgba(122, 86, 30, 0.5); filter: none; }
body.onb .wiz button.primary:disabled { opacity: 0.6; cursor: progress; transform: none; }
body.onb .wiz button.ghost {
  height: 48px; border-radius: 13px; min-width: 100px;
  color: var(--o-brown); font-weight: 600;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(160, 125, 70, 0.32);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 #fff inset;
}
body.onb .wiz button.ghost:hover { background: rgba(255, 255, 255, 0.9); color: var(--o-brown); border-color: rgba(160, 125, 70, 0.5); }
body.onb .wiz button.ghost.tap:not(#back) { height: 46px; border-radius: 14px; }
body.onb .wiz button:focus-visible { outline: 0; box-shadow: 0 0 0 4px rgba(214, 169, 90, 0.35); }

/* footer */
.onb-foot { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 22px 0 6px; font-size: 0.82rem; }
.onb-foot a { color: #4A3520; text-decoration: none; font-weight: 500; padding: 4px 2px; }
.onb-foot a:hover { text-decoration: underline; }
.onb-foot span { color: rgba(74, 53, 32, 0.5); }

/* welcome screen */
.onb-done { text-align: left; }
.onb-seal {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; margin: 4px 0 20px;
  color: var(--o-brown);
  background: linear-gradient(180deg, var(--o-gold-hi), var(--o-gold-mid) 70%, var(--o-gold-deep));
  border: 1px solid rgba(122, 86, 30, 0.4);
  box-shadow: 0 0 0 8px rgba(214, 169, 90, 0.16), 0 12px 26px -6px rgba(160, 110, 40, 0.5), 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}
.onb-seal svg { width: 30px; height: 30px; stroke-width: 2.2; }
.onb-done .onb-eyebrow { margin-bottom: 8px; }
body.onb .onb-done h2 { font-size: clamp(2.3rem, 3.2vw, 2.9rem); }
body.onb .onb-done .lead { font-size: 1.06rem; max-width: 44ch; color: #57432F; }
.onb-summary { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; }
.onb-summary li {
  font-size: 0.84rem; color: var(--o-brown); padding: 7px 12px; border-radius: 999px;
  background: rgba(247, 236, 214, 0.8); border: 1px solid rgba(190, 145, 70, 0.25);
  max-width: 100%; overflow-wrap: anywhere;
}
.onb-summary code { font-size: 0.82rem !important; }
.onb-next-h { margin: 0 0 12px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--o-gold); }
.onb-actions { display: grid; gap: 12px; }
.onb-act {
  display: grid; grid-template-columns: 46px 1fr 22px; align-items: center; gap: 16px;
  padding: 16px 18px; border-radius: 18px; text-decoration: none;
  color: var(--o-ink);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(160, 125, 70, 0.22);
  box-shadow: 0 1px 0 #fff inset, 0 6px 16px -8px rgba(90, 60, 20, 0.18);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.onb-act:hover { transform: translateY(-1px); background: rgba(255, 255, 255, 0.92); box-shadow: 0 1px 0 #fff inset, 0 12px 24px -10px rgba(90, 60, 20, 0.28); }
.onb-act:focus-visible { outline: 0; box-shadow: 0 0 0 4px rgba(214, 169, 90, 0.35); }
.onb-act-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--o-gold); background: #F7ECD6; border: 1px solid rgba(190, 145, 70, 0.25); }
.onb-act-txt strong { display: block; font-size: 1.02rem; font-weight: 650; letter-spacing: -0.01em; }
.onb-act-txt small { display: block; margin-top: 2px; font-size: 0.86rem; line-height: 1.4; color: var(--o-muted); }
.onb-act-go { color: var(--o-gold); }
body.onb .onb-act.is-primary { color: var(--o-brown); padding: 18px 20px; }
.onb-act.is-primary .onb-act-ico { background: rgba(255, 250, 238, 0.55); border-color: rgba(122, 86, 30, 0.25); color: var(--o-brown); }
.onb-act.is-primary .onb-act-txt strong { font-size: 1.1rem; }
.onb-act.is-primary .onb-act-txt small { color: #4E3417; }
.onb-act.is-primary .onb-act-go { color: var(--o-brown); }
.onb-act > * { position: relative; }
body.onb .onb-panel-link { margin-top: 18px; font-size: 0.92rem; text-decoration: none; }
body.onb .onb-panel-link:hover { text-decoration: underline; }

/* tablet */
@media (max-width: 1080px) {
  .onb-card { grid-template-columns: minmax(270px, 0.8fr) minmax(0, 1.2fr); }
  .onb-aside { padding: 44px 32px 40px 36px; }
  body.onb .onb-form { padding: 34px 36px; }
}
@media (max-width: 900px) and (min-width: 761px) {
  .onb-card { grid-template-columns: 1fr; }
  .onb-aside { border-right: 0; border-bottom: 1px solid var(--o-line); padding: 36px 40px 30px; }
  .onb-benefits { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .onb-benefits li { grid-template-columns: 1fr; align-items: start; gap: 10px; }
  body.onb[data-step]:not([data-step="0"]) .onb-benefits { display: none; }
  body.onb[data-step]:not([data-step="0"]) .onb-lead { margin-bottom: 0; }
}

/* phones: photo becomes a soft header that melts into ivory */
@media (max-width: 760px) {
  body.onb { background: #F5EDDF; }
  .onb-bg {
    position: absolute; left: 0; right: 0; top: 0; bottom: auto; height: 300px;
    background-image: url(/static/img/onb/onb-hd-800.webp?v=2);
    background-image: image-set(url(/static/img/onb/onb-hd-800.avif?v=2) type("image/avif"), url(/static/img/onb/onb-hd-800.webp?v=2) type("image/webp"));
    background-size: 100% auto; background-repeat: no-repeat; background-position: 0 calc(112px - 43.3vw);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 66%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 66%, transparent 100%);
  }
  .onb-bg::after { background: linear-gradient(180deg, rgba(245, 237, 223, 0.15) 0%, rgba(245, 237, 223, 0) 40%); }
  @media (min-resolution: 2.5dppx) {
    .onb-bg {
      background-image: url(/static/img/onb/onb-hd-1200.webp?v=2);
      background-image: image-set(url(/static/img/onb/onb-hd-1200.avif?v=2) type("image/avif"), url(/static/img/onb/onb-hd-1200.webp?v=2) type("image/webp"));
    }
  }
  .onb-top { padding: 14px 16px 0; }
  .onb-brand { padding: 6px 12px 5px; }
  .onb-brand img { width: 116px; }
  body.onb .onb-lang, .onb-login { height: 38px; min-height: 38px; font-size: 0.86rem; }
  .onb-login { padding: 0 14px; }
  body.onb .onb-main { padding: 0 12px 20px; margin-top: 150px; }
  body.onb[data-step]:not([data-step="0"]) .onb-main { margin-top: 118px; }
  .onb-card { grid-template-columns: 1fr; border-radius: 26px; background: rgba(253, 249, 242, 0.80); }
  .onb-aside { border-right: 0; border-bottom: 1px solid var(--o-line); padding: 28px 22px 22px; }
  .onb-eyebrow { font-size: 0.68rem; margin-bottom: 12px; letter-spacing: 0.14em; }
  .onb-slogan { font-size: 2.05rem; }
  .onb-rule { margin: 16px 0 12px; }
  .onb-lead { font-size: 0.95rem; margin-bottom: 20px; }
  .onb-benefits { gap: 14px; }
  .onb-benefits li { grid-template-columns: 40px 1fr; gap: 12px; }
  .onb-ico { width: 40px; height: 40px; }
  .onb-ico svg { width: 19px; height: 19px; }
  .onb-benefits strong { font-size: 0.92rem; }
  .onb-benefits small { font-size: 0.82rem; }
  body.onb[data-step]:not([data-step="0"]) .onb-aside { display: none; }
  body.onb .onb-form { padding: 22px 20px 26px; background: rgba(255, 253, 249, 0.86); }
  body.onb .wiz-progress { text-align: left; font-size: 0.78rem; margin-bottom: 12px; }
  body.onb .wiz-steps { margin-bottom: 26px; }
  body.onb .wiz-steps li { font-size: 0; gap: 0; }
  body.onb .wiz-steps .wn { width: 30px; height: 30px; font-size: 0.8rem; }
  body.onb .wiz-steps li:not(:last-child)::after { top: 14px; left: calc(50% + 18px); right: calc(-50% + 18px); }
  body.onb .wiz h2 { font-size: 1.9rem; }
  body.onb #panel > h2::before { margin-bottom: 14px; }
  body.onb .wiz .lead { font-size: 0.95rem; margin-bottom: 18px; }
  body.onb .wiz-nav { flex-direction: row; }
  body.onb .wiz-nav .ghost { width: auto; min-width: 92px; flex: 0 0 auto; }
  body.onb .wiz-nav .primary { width: auto; flex: 1 1 auto; min-width: 0; }
  body.onb .onb-done h2 { font-size: 2.15rem; }
  .onb-seal { width: 56px; height: 56px; margin-bottom: 16px; }
  .onb-act { grid-template-columns: 40px 1fr 18px; gap: 12px; padding: 14px; }
  .onb-act-ico { width: 40px; height: 40px; border-radius: 12px; }
  .onb-act-go { width: 18px; height: 18px; }
  .onb-act-txt small { font-size: 0.82rem; }
  .onb-foot { margin-top: 16px; }
}
@media (max-width: 360px) {
  .onb-brand { padding: 6px 10px 5px; }
  .onb-brand img { width: 100px; }
  body.onb .onb-lang { padding: 0 24px 0 10px; }
  .onb-login { padding: 0 11px; font-size: 0.82rem; }
  body.onb .onb-main { padding: 0 8px 16px; }
  .onb-aside { padding: 24px 18px 18px; }
  .onb-slogan { font-size: 1.8rem; }
  body.onb .onb-form { padding: 20px 16px 22px; }
  body.onb .wiz-steps .wn { width: 27px; height: 27px; font-size: 0.74rem; }
  body.onb .wiz-steps li:not(:last-child)::after { top: 12.5px; left: calc(50% + 16px); right: calc(-50% + 16px); }
  body.onb .wiz h2 { font-size: 1.7rem; }
  body.onb .onb-done h2 { font-size: 1.95rem; }
  body.onb .wiz-nav .ghost { min-width: 80px; padding: 0 14px; }
  .onb-act { padding: 12px; gap: 10px; grid-template-columns: 36px 1fr 16px; }
  .onb-act-ico { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) { .onb-act, body.onb .wiz-steps .wn { transition: none; } }

/* link-style buttons and action cards keep their own colors inside #panel */
body.onb button.linkish {
  background: none; border: 0; box-shadow: none; height: auto; min-height: 0; min-width: 0;
  padding: 2px 0; border-radius: 4px; color: var(--o-gold); font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}
body.onb button.linkish:hover { transform: none; color: var(--o-brown); }
body.onb #panel a.onb-act { color: var(--o-ink); }
body.onb #panel a.onb-act.is-primary { color: var(--o-brown); }
body.onb .onb-panel-link { text-decoration: none !important; }
body.onb .wiz button.primary, body.onb .wiz button.ghost { white-space: normal; line-height: 1.2; height: auto; min-height: 48px; padding: 9px 16px; text-align: center; }
body.onb .wiz button.ghost.tap:not(#back) { min-height: 46px; height: auto; }
@media (max-width: 360px) { body.onb .wiz button.primary { padding: 10px 12px; font-size: 0.96rem; } body.onb .wiz button.primary#next::after { margin-left: 6px; } }
@media (max-width: 360px) {
  .onb-top { padding: 12px 10px 0; gap: 8px; }
  .onb-brand { padding: 5px 8px 4px; }
  .onb-brand img { width: 88px; }
  .onb-topnav { gap: 6px; }
  body.onb .onb-lang { padding: 0 22px 0 9px; font-size: 0.8rem; height: 36px; min-height: 36px; }
  .onb-login { padding: 0 10px; font-size: 0.8rem; height: 36px; white-space: nowrap; }
}

/* v4 type: lighter display serif with italic gold accent */
.onb-slogan, body.onb .wiz h2 { font-weight: 400; letter-spacing: -0.02em; }
.onb-slogan em { font-style: italic; }
body.onb #panel input, body.onb .wiz button, body.onb .onb-lang { font-family: "Manrope", system-ui, sans-serif; }
/* inline errors: the field that needs fixing is marked, the message sits under the form */
body.onb #msg.is-err { color: #9A2F1E; font-weight: 600; }
body.onb #panel input[aria-invalid="true"] { border-color: #C0503A; box-shadow: 0 0 0 3px rgba(192, 80, 58, 0.16); }
body.onb .onb-msg-acts { display: inline-flex; gap: 14px; margin-left: 8px; flex-wrap: wrap; }
body.onb .onb-msg-link { color: inherit; font-weight: 700; }
body.onb .onb-note { margin: 4px 0 10px; padding: 10px 12px; border-radius: 12px; background: rgba(214, 170, 92, 0.14); color: #5A4320; font-size: 0.92rem; }
body.onb .onb-sms-help { margin-top: 6px; }
body.onb .onb-sms-help a { color: inherit; font-weight: 600; }
/* no shouty labels: italic serif label with a thin gold line (same voice as the landing), sentence-case steps */
.onb-eyebrow, .onb-next-h {
  display: inline-flex; align-items: center; gap: 10px;
  font: italic 400 1.02rem/1.3 "Noto Serif Display", Georgia, serif; letter-spacing: 0; text-transform: none; color: var(--o-gold);
}
.onb-eyebrow::before, .onb-next-h::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; flex: none; }
@media (max-width: 760px) { .onb-eyebrow { font-size: 0.95rem; letter-spacing: 0; } }
body.onb .wiz-steps li { font-size: 0.72rem; letter-spacing: 0; text-transform: none; font-weight: 650; }
body.onb .wiz-steps .wl { text-transform: none; }
/* compact language switch (was ~86px wide for two letters) */
body.onb select.onb-lang { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235A4320' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; width: 70px; min-width: 0; max-width: 70px; padding: 0 24px 0 14px; background-position: right 9px center; text-align-last: left; }
@media (max-width: 760px) { body.onb select.onb-lang { width: 64px; max-width: 64px; height: 36px; min-height: 36px; padding: 0 20px 0 12px; background-position: right 7px center; font-size: 0.8rem; } }
/* narrow phones: long step names (RU «Электронная почта») collide; only the current one is spelled out */
@media (max-width: 520px) {
  body.onb .wiz-steps { padding-bottom: 22px; }
  body.onb .wiz-steps li { position: relative; }
  body.onb .wiz-steps li .wl { display: none; }
  body.onb .wiz-steps li.on .wl { display: block; position: absolute; top: calc(100% + 2px); left: 50%; transform: translateX(-50%); white-space: nowrap; }
}

/* Wave 7 age gate */
.setup-age { display: flex; align-items: flex-start; gap: .65rem; margin: 1rem 0 0; font-size: .95rem; line-height: 1.4; cursor: pointer; }
.setup-age input { margin-top: .2rem; flex: 0 0 auto; width: 1.1rem; height: 1.1rem; }
