/* B2B Phase A bridge — CRM chrome/fonts/buttons from crm-ui.css.
   This file holds B2B-only page wiring (auth shell, reg, invite, staff, shop account/cart). */

html, body {
  min-height: 100%;
  margin: 0;
}

/* Auth / invite / staff: CRM proto-auth shell centering */
body.b2b-auth {
  background: var(--bg, #000);
  color: var(--ink, #f5f5f7);
  font-family: var(--font);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body.b2b-auth .b2b-auth-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: calc(24px + env(safe-area-inset-top, 0px)) 16px calc(28px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  width: 100%;
}

body.b2b-auth .proto-auth {
  width: 100%;
}

body.b2b-auth .proto-auth-card .label {
  margin-top: 10px;
}

body.b2b-auth .proto-auth-card .field {
  margin-bottom: 2px;
}

body.b2b-auth .proto-auth-actions {
  margin-top: 12px;
}

body.b2b-auth .proto-auth-card > .btn {
  width: 100%;
  margin-top: 12px;
  min-height: var(--btn-h, 44px);
}

body.b2b-auth .b2b-auth-foot {
  margin-top: 18px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

body.b2b-auth .b2b-auth-foot a {
  color: var(--accent-press, #409cff);
}

/* Keep reg form on CRM dark canvas */
body.b2b-auth .page-reg,
body.b2b-auth .page-staff-invites {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

/* Auto-extracted B2B-only layout (reg / invite / staff). CRM tokens/fonts/buttons come from crm-ui.css. */

/* ---- styles.css L112-171 ---- */
/* —— Layout shells —— */
.page {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 20px 16px 48px;
}

.page-narrow {
  width: min(440px, 100%);
  margin: 0 auto;
  padding: 32px 16px 48px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  min-height: 100dvh;
  justify-content: center;
}

.logo-wrap {
  display: flex;
  justify-content: center;
  padding: 8px 8px 0;
}

.logo-hero {
  width: min(200px, 56vw);
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.22));
}

.home-choice-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.home-choice-stack .btn {
  width: 100%;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

.pin-reveal {
  margin: 18px auto 8px;
  max-width: 220px;
  padding: 16px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  background: rgba(10, 132, 255, 0.12);
  color: #fff;
  font-size: 2rem;
  font-weight: var(--fw-strong);
  letter-spacing: 0.28em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}


/* ---- styles.css L173-252 ---- */
.invite-success-badge {
  margin: 18px auto 8px;
  max-width: 100%;
  padding: 14px 16px;
  border-radius: var(--btn-radius-seg-item, 8px);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  background: rgba(10, 132, 255, 0.12);
  color: #fff;
  font-size: 1rem;
  font-weight: var(--fw-semi);
  letter-spacing: 0.01em;
  text-align: center;
  line-height: 1.4;
  word-break: break-word;
}

.invite-contact-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.invite-contact-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: var(--btn-radius-seg-item, 8px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.invite-contact-label {
  font-size: 0.72rem;
  font-weight: var(--fw-semi);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.invite-contact-list a {
  font-size: 0.95rem;
  font-weight: var(--fw-med);
  color: var(--accent-press);
  text-decoration: none;
}

.invite-contact-list a:hover {
  color: #fff;
}

.invite-wa-qr {
  margin: 16px auto 0;
  padding: 12px;
  max-width: 240px;
  text-align: center;
  border-radius: var(--btn-radius-seg-item, 8px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.invite-wa-qr img {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
  margin: 0 auto;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
}

.invite-wa-qr figcaption {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
}

/* ---- styles.css L276-281 ---- */
.muted {
  margin: 0;
  color: #d1d1d6;
  font-size: 0.92rem;
  line-height: 1.45;
}

/* ---- styles.css L453-1568 ---- */
/* —— New-customer sections (CRM .nc-*) —— */
.nc-section {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.nc-section:first-of-type {
  border-top: 0;
  padding-top: 8px;
}

.nc-section-title {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: var(--fw-semi);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}

.nc-section .label { margin-top: 10px; }
.nc-section .label:first-child,
.nc-section .nc-section-title + .label { margin-top: 0; }

.nc-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 560px) {
  .nc-row2 { grid-template-columns: 1fr; }
}

.nc-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 4px;
  font-size: 0.9rem;
  color: var(--ink-secondary);
  cursor: pointer;
  user-select: none;
}

input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  position: relative;
  transition: background 0.14s var(--ease), border-color 0.14s var(--ease);
}

input[type="checkbox"]:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.45);
}

input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}

input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: var(--btn-focus-ring);
}

.nc-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
}


.nc-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nc-section-title {
  margin: 8px 0 0;
  font-size: 0.72rem;
  font-weight: var(--fw-semi);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.label-row .label { margin-top: 0; }

.smart-chip {
  appearance: none;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  border-radius: var(--btn-radius-seg-item, 8px); /* compact squircle — not stadium pill */
  min-height: 28px;
  padding: 4px 10px;
  font: inherit;
  font-size: 0.72rem;
  font-weight: var(--fw-med);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    background var(--dur-micro) var(--ease-press),
    border-color var(--dur-micro) var(--ease-press),
    color var(--dur-micro) var(--ease-press),
    transform var(--dur-micro) var(--ease-press),
    box-shadow var(--dur-micro) var(--ease-press);
  white-space: nowrap;
}

.smart-chip:hover {
  color: var(--ink);
  border-color: rgba(10, 132, 255, 0.45);
  background: rgba(10, 132, 255, 0.1);
}

.smart-chip:active { transform: scale(0.97); }

.smart-chip.is-on {
  color: #fff;
  border-color: color-mix(in srgb, var(--accent) 72%, #000 28%);
  background: color-mix(in srgb, var(--accent) 88%, #000 12%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.smart-chip:focus-visible {
  outline: none;
  box-shadow: var(--btn-focus-ring);
}

.field.is-skipped,
.field:disabled {
  opacity: 0.42;
  filter: grayscale(0.35);
  cursor: not-allowed;
  background: rgba(58, 58, 60, 0.45);
  color: var(--btn-disabled-fg);
}

.is-skipped-block {
  opacity: 0.42;
  filter: grayscale(0.3);
  pointer-events: none;
}

#adminBlock.is-copied {
  opacity: 0.72;
}

.chip-hint {
  color: var(--accent-press);
  margin-top: 6px;
}

.req::after {
  content: " *";
  color: var(--danger);
}

/* Registration — phone card composition */
/* Registration — phone card composition (~460px) */
.page-reg {
  width: min(480px, 100%);
  padding: 16px 14px 48px;
  --dur-view: 0.28s;
  --ease-view: cubic-bezier(0.22, 1, 0.36, 1);
}

.page-reg.is-page-enter {
  opacity: 0;
  transform: translateY(10px);
}

.page-reg.is-page-enter.is-page-ready {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.34s var(--ease-view),
    transform 0.34s var(--ease-view);
}

.page-reg.is-page-leaving {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.22s var(--ease-view),
    transform 0.22s var(--ease-view);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .page-reg.is-page-enter,
  .page-reg.is-page-enter.is-page-ready,
  .page-reg.is-page-leaving {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

.reg-card {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 16px 14px 18px;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.reg-card h1 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: var(--fw-semi);
  letter-spacing: -0.02em;
  line-height: 1.25;
  flex: 1 1 auto;
  min-width: 0;
}

.reg-lead {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.reg-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  text-align: left;
}

.reg-logo-link {
  display: block;
  line-height: 0;
}

.reg-head .logo-hero {
  width: min(132px, 42vw);
}

.reg-head-main {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.reg-saved {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 0.78rem;
  font-weight: var(--fw-med);
  color: var(--ok);
  white-space: nowrap;
  flex: 0 0 auto;
}

.reg-saved[hidden] {
  display: none !important;
}

.reg-saved-check {
  width: 14px;
  height: 14px;
  border-radius: 4px; /* CRM squircle — never oval / 50% */
  background: var(--ok);
  position: relative;
  flex: 0 0 auto;
}

.reg-saved-check::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 2px;
  width: 4px;
  height: 7px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

/* —— Application progress card —— */
.reg-progress-summary {
  margin: 0 0 12px;
  padding: 14px 14px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.reg-progress-heading {
  margin-bottom: 12px;
}

.reg-progress-title {
  margin: 0 0 4px;
  font-size: 0.98rem;
  font-weight: var(--fw-semi);
  color: var(--ink);
  letter-spacing: -0.01em;
}

.reg-progress-count {
  margin: 0;
  font-size: 0.82rem;
  font-weight: var(--fw-med);
  color: var(--muted);
  letter-spacing: -0.01em;
}

.reg-progress-em {
  color: var(--accent-press);
  font-weight: var(--fw-semi);
}

.reg-step-dots {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

.reg-step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  min-width: 0;
}

.reg-step-dot-mark {
  width: 26px;
  height: 26px;
  border-radius: var(--btn-radius-seg-item, 8px); /* squircle, not circle */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: var(--fw-semi);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: var(--muted);
}

.reg-step-dot.is-current .reg-step-dot-mark {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.reg-step-dot.is-done .reg-step-dot-mark,
.reg-step-dot-mark.is-check {
  background: var(--ok);
  border-color: var(--ok);
  color: #fff;
}

.reg-step-dot-mark.is-check::before {
  content: "";
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 1.8px 1.8px 0;
  transform: rotate(45deg) translateY(-1px);
}

.reg-step-dot-label {
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.reg-step-dot.is-current .reg-step-dot-label {
  color: var(--accent-press);
}

.reg-step-dot.is-done .reg-step-dot-label {
  color: color-mix(in srgb, var(--ok) 80%, var(--muted));
}

.reg-progress-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.reg-progress {
  flex: 1 1 auto;
  height: 4px;
  border-radius: 2px; /* thin track — no 999px stadium token */
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.reg-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 0.28s var(--ease);
}

.reg-progress-pct {
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: var(--fw-semi);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  min-width: 2.4em;
  text-align: right;
}

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

.reg-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 10px 6px 9px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
  text-align: center;
  min-width: 0;
}

.reg-stat-icon {
  width: 18px;
  height: 18px;
  border-radius: var(--btn-icon-radius, 9px); /* squircle — not oval */
  position: relative;
  margin-bottom: 1px;
}

.reg-stat--done .reg-stat-icon {
  background: var(--ok);
}

.reg-stat--done .reg-stat-icon::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 1.8px 1.8px 0;
  transform: rotate(45deg);
}

.reg-stat--current .reg-stat-icon {
  background: var(--accent);
}

.reg-stat--current .reg-stat-icon::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1.5px solid #fff;
  border-radius: 2px;
  box-shadow: inset 0 -4px 0 rgba(255, 255, 255, 0.35);
}

.reg-stat--remain .reg-stat-icon {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
}

.reg-stat-n {
  font-size: 1.1rem;
  font-weight: var(--fw-strong);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.reg-stat-l {
  font-size: 0.68rem;
  font-weight: var(--fw-med);
  color: var(--muted);
  letter-spacing: 0.01em;
}

.reg-stat--done {
  border-color: color-mix(in srgb, var(--ok) 35%, var(--line) 65%);
  background: rgba(48, 209, 88, 0.08);
}

.reg-stat--done .reg-stat-n { color: var(--ok); }

.reg-stat--current {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line) 60%);
  background: rgba(10, 132, 255, 0.1);
}

.reg-stat--current .reg-stat-n { color: var(--accent-press); }

.reg-stat--remain .reg-stat-n { color: var(--muted); }

/* —— Application assistant —— */
.reg-assistant {
  margin: 0 0 12px;
  padding: 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.reg-assistant[hidden] {
  display: none !important;
}

.reg-assistant-head {
  appearance: none;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 12px 10px;
  cursor: pointer;
  text-align: left;
}

.reg-assistant-spark {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  background:
    radial-gradient(circle at 50% 50%, #ffd60a 0 2px, transparent 2.5px),
    conic-gradient(from 0deg, transparent 0 20%, #ffd60a 0 30%, transparent 0 70%, #ffd60a 0 80%, transparent 0);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  filter: drop-shadow(0 0 4px rgba(255, 214, 10, 0.35));
}

.reg-assistant-title {
  flex: 1 1 auto;
  font-size: 0.9rem;
  font-weight: var(--fw-semi);
  color: var(--ink);
  letter-spacing: -0.01em;
}

.reg-assistant-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: var(--btn-radius-seg-item, 8px); /* CRM: never stadium / oval badge */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: var(--fw-semi);
  color: #fff;
  background: var(--accent);
}

.reg-assistant-chevron {
  width: 10px;
  height: 10px;
  border-right: 1.8px solid var(--muted);
  border-bottom: 1.8px solid var(--muted);
  transform: rotate(-135deg);
  margin-left: 2px;
  transition: transform 0.18s var(--ease);
}

.reg-assistant.is-collapsed .reg-assistant-chevron {
  transform: rotate(45deg);
  margin-top: -4px;
}

.reg-assistant-body {
  padding: 0 12px 12px;
}

.reg-assistant-body[hidden] {
  display: none !important;
}

.reg-assistant-tips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reg-assistant-tip {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line);
}

.reg-tip-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.reg-tip-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--muted);
  margin-top: 1px;
}

.reg-tip-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.reg-tip-title {
  margin: 0 0 3px;
  font-size: 0.88rem;
  font-weight: var(--fw-semi);
  color: var(--ink);
  letter-spacing: -0.01em;
}

.reg-tip-detail {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
}

.reg-tip-action {
  appearance: none;
  width: 100%;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  background: rgba(10, 132, 255, 0.08);
  color: var(--accent-press);
  font: inherit;
  font-size: 0.84rem;
  font-weight: var(--fw-med);
  cursor: pointer;
  text-align: center;
}

.reg-tip-action:hover {
  background: rgba(10, 132, 255, 0.16);
}

.reg-assistant-viewall {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 10px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-press);
  font: inherit;
  font-size: 0.82rem;
  font-weight: var(--fw-med);
  cursor: pointer;
}

.reg-assistant-viewall:hover {
  color: #7ab8ff;
}

/* —— Step cards —— */
#regForm {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reg-acc {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  margin: 0;
  overflow: hidden;
  transition:
    border-color var(--dur-state) var(--ease),
    opacity var(--dur-state) var(--ease),
    background var(--dur-state) var(--ease);
}

.reg-acc.is-current {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  background: rgba(10, 132, 255, 0.05);
}

.reg-acc.is-done {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.reg-acc.is-locked {
  opacity: 0.72;
  border-color: rgba(255, 255, 255, 0.06);
}

.reg-acc-head {
  appearance: none;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  cursor: pointer;
  text-align: left;
}

.reg-acc-head:disabled {
  cursor: not-allowed;
}

.reg-acc-head:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(10, 132, 255, 0.35);
}

.reg-acc-mark {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: var(--btn-radius-seg-item, 8px); /* squircle step mark — not oval */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: var(--fw-semi);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.reg-acc.is-current .reg-acc-mark {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.reg-acc.is-locked .reg-acc-mark {
  color: #8e8e93;
  border-color: rgba(255, 255, 255, 0.12);
}

.reg-acc-mark.is-check {
  background: var(--ok);
  border-color: var(--ok);
  color: #fff;
}

.reg-acc-mark.is-check::before {
  content: "";
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-1px);
}

.reg-acc-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.reg-acc-title {
  font-size: 0.98rem;
  font-weight: var(--fw-semi);
  letter-spacing: -0.01em;
  color: var(--ink);
}

.reg-acc-status {
  font-size: 0.78rem;
  font-weight: var(--fw-med);
  color: var(--muted);
}

.reg-acc.is-current .reg-acc-status {
  color: var(--accent-press);
}

.reg-acc.is-done .reg-acc-status {
  color: var(--ok);
}

.reg-acc-status.is-missing {
  color: var(--danger) !important;
}

.reg-acc-status.is-missing::before {
  content: "! ";
  font-weight: var(--fw-strong);
}

.reg-acc-chevron {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-right: 1.8px solid var(--muted);
  border-bottom: 1.8px solid var(--muted);
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.18s var(--ease);
}

.reg-acc.is-current .reg-acc-chevron {
  transform: rotate(-135deg);
  margin-top: 4px;
  border-color: var(--accent-press);
}

.reg-acc-body {
  padding: 4px 14px 14px;
  border-top: 1px solid var(--line);
}

.reg-acc-body[hidden] {
  display: none;
}

.reg-acc-body .nc-section-title {
  margin: 4px 0 0;
}

.reg-acc-body .label-row {
  flex-wrap: nowrap;
  align-items: center;
  margin-top: 0;
  min-height: 28px;
}

.reg-acc-body .label-row .label {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.reg-acc-body .label-row .smart-chip {
  flex: 0 0 auto;
}

.reg-acc-body .label {
  margin: 0 0 7px;
}

/* Green check inside filled fields — squircle mark (CRM: no oval) */
.reg-acc-body .field.is-filled-ok:not([type="file"]):not([type="checkbox"]) {
  padding-right: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><rect x='0.5' y='0.5' width='15' height='15' rx='4' fill='%2330d158'/><path d='M4.6 8.2l2.1 2.1 4.7-4.7' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
}

.reg-acc-body textarea.field.is-filled-ok {
  background-position: right 12px top 14px;
}

.reg-step-actions {
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  align-items: stretch;
}

.reg-step-actions .btn {
  margin-top: 0;
  width: 100%;
}

.reg-step-actions .reg-btn-back {
  grid-column: 1;
}

.reg-step-actions .reg-btn-continue,
.reg-step-actions #submitBtn {
  grid-column: 2;
}

.reg-step-actions .reg-step-msg {
  grid-column: 1 / -1;
  order: -1;
  text-align: left;
  margin: 0 0 4px;
}

.reg-review {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 12px 0 18px;
}

.reg-review-block {
  padding: 12px 12px 10px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line);
}

.reg-review-block h3 {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: var(--fw-semi);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.reg-review-block dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reg-review-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}

.reg-review-row dt {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.reg-review-row dd {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-secondary);
  white-space: pre-wrap;
  word-break: break-word;
}

input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  position: relative;
  transition: background 0.14s var(--ease), border-color 0.14s var(--ease);
}

input[type="checkbox"]:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.45);
}

input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}

input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: var(--btn-focus-ring);
}

.nc-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
}

.msg {
  min-height: 1.2em;
  margin: 8px 0 0;
  font-size: 0.88rem;
  text-align: center;
}

.msg.ok { color: var(--ok); }
.msg.err { color: var(--danger); }

.success-panel {
  text-align: center;
  padding: 24px 8px 12px;
}

.success-panel h2 {
  margin: 12px 0 8px;
  font-size: 1.25rem;
  font-weight: var(--fw-semi);
  color: var(--ok);
}

.success-panel p {
  margin: 0;
  color: var(--muted);
}

.req::after {
  content: " *";
  color: var(--danger);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (min-width: 720px) {
  .page { padding: 28px 24px 64px; }
  .reg-card { padding: 24px 28px 28px; }
}

/* ---- styles.css L2520-2568 ---- */
.home-exist-help {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.home-exist-help-title {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: var(--fw-semi);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.home-exist-options {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-exist-options li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: var(--btn-radius-seg-item, 8px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.home-exist-options a {
  font-size: 0.9rem;
  font-weight: var(--fw-med);
  color: var(--accent-press);
  text-decoration: none;
}

.home-exist-options a:hover {
  color: #fff;
}

.home-exist-options span {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
}

/* ---- styles.css L2650-2924 ---- */
.invite-path-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.invite-path-card {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg, 14px);
  background: var(--bg-elevated-2, #2c2c2e);
  color: var(--ink, #f5f5f7);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.invite-path-card:hover,
.invite-path-card:focus-visible {
  border-color: var(--accent, #0a84ff);
  background: #3a3a3c;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent, #0a84ff) 35%, transparent);
  outline: none;
}

.invite-path-card--ghost {
  background: rgba(255, 255, 255, 0.04);
}

.invite-path-title {
  font-weight: var(--fw-sem, 600);
  font-size: 1rem;
  color: #ffffff;
}

.invite-path-desc {
  font-size: 0.88rem;
  color: #d1d1d6;
  line-height: 1.45;
}

.page-reg .reg-blocked {
  max-width: 520px;
  margin: 24px auto;
  padding: 24px 20px 28px;
}

/* Staff invite desk */
.page-staff-invites {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 16px 48px;
  color: var(--ink);
}

.staff-invites-header {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.staff-invites-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.staff-invites-logo {
  display: block;
  height: auto;
}

.staff-invites-badge {
  font-size: 0.72rem;
  font-weight: var(--fw-strong);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(10, 132, 255, 0.22);
  border: 1px solid rgba(10, 132, 255, 0.45);
  border-radius: var(--btn-radius-seg-item);
  padding: 4px 8px;
}

.staff-panel {
  margin-top: 8px;
}

.staff-btn-full {
  width: 100%;
  margin-top: 14px;
}

.staff-create-btn {
  margin-top: 10px;
}

.staff-desk-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.staff-desk-head .proto-auth-title {
  margin-bottom: 4px;
}

.staff-created {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.staff-url-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.staff-url-field {
  flex: 1;
  min-width: 0;
  font-size: 0.85rem;
}

.staff-list-wrap {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.staff-list-title {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: var(--fw-semi);
  color: var(--ink);
}

.staff-table-wrap {
  overflow-x: auto;
  border-radius: var(--btn-radius-seg-item);
  border: 1px solid var(--line-strong);
}

.staff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.staff-table th,
.staff-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.staff-table th {
  font-weight: var(--fw-med);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.staff-table tr:last-child td {
  border-bottom: none;
}

.staff-note-cell {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.staff-when-cell {
  white-space: nowrap;
  color: #d1d1d6;
  font-size: 0.82rem;
}

.staff-action-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  align-items: center;
  text-align: right;
  white-space: nowrap;
}

.staff-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--btn-radius-seg-item);
  font-size: 0.75rem;
  font-weight: var(--fw-med);
  letter-spacing: 0.02em;
}

.staff-badge-unused {
  color: #30d158;
  background: rgba(48, 209, 88, 0.12);
  border: 1px solid rgba(48, 209, 88, 0.28);
}

.staff-badge-used {
  color: #aeaeb2;
  background: rgba(174, 174, 178, 0.1);
  border: 1px solid rgba(174, 174, 178, 0.22);
}

.staff-badge-revoked {
  color: #ff9f0a;
  background: rgba(255, 159, 10, 0.14);
  border: 1px solid rgba(255, 159, 10, 0.32);
}

.staff-badge-other {
  color: var(--warn);
  background: rgba(255, 214, 10, 0.1);
  border: 1px solid rgba(255, 214, 10, 0.25);
}

.staff-empty {
  text-align: center;
  margin-top: 8px;
}

.staff-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(12px);
  z-index: 100;
  padding: 11px 18px;
  border-radius: var(--btn-radius);
  background: rgba(44, 44, 46, 0.96);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.staff-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 520px) {
  .staff-url-row {
    flex-direction: column;
  }

  .staff-desk-head {
    flex-direction: column;
    align-items: stretch;
  }
}

/* —— Shop shell bridge (account / cart / PL lock) —— */
html,
body.shell-phone {
  height: 100%;
  margin: 0;
  background: #000;
  color: #f5f5f7;
}

body.shell-phone .app-shell.has-bottom-nav.shop-screen {
  height: 100dvh;
  max-height: 100dvh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}

body.shell-phone .app-view {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

body.shell-phone .app-view[hidden] {
  display: none !important;
}

body.shell-phone .b2b-view-shop {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body.shell-phone .b2b-view-shop .shop-body-phone {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.b2b-account-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 16px 24px;
  max-width: 420px;
  margin: 0 auto;
}

.b2b-account-hub {
  max-width: 520px;
  padding-top: 12px;
}

.b2b-account-hub .ios-hub-stack {
  gap: 20px;
}

.b2b-account-hub .ios-hub-val.is-multi {
  white-space: normal;
  word-break: break-word;
  text-align: right;
}

.b2b-account-hub .ios-hub-action-row {
  color: #ff453a;
}

/* —— CRM-style Home (phone wave) —— */
body.shell-phone .b2b-view-home {
  padding: 0;
}
body.shell-phone .b2b-view-home .crm-home.is-phone.sky-dash {
  min-height: 100%;
  padding: 8px 12px 24px;
  box-sizing: border-box;
}
body.shell-phone .b2b-view-home .sky-dash-head {
  margin-bottom: 10px;
}
body.shell-phone .b2b-view-home .home-deals,
body.shell-phone .b2b-view-home .b2b-home-forms {
  margin: 10px 0 14px;
}
body.shell-phone .b2b-view-home .b2b-home-forms .sky-dash-sec-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
body.shell-phone .b2b-view-home .b2b-home-forms .home-sec-ico {
  display: inline-flex;
  opacity: 0.75;
}
body.shell-phone .b2b-view-home .sky-dash-empty {
  margin-top: 4px;
}

.b2b-account-kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #aeaeb2;
}

.b2b-account-name {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 540;
  color: #f5f5f7;
  line-height: 1.25;
}

.b2b-home-account,
.b2b-home-email {
  margin: 0;
  font-size: 0.9rem;
  color: #ebebf5;
}

.b2b-account-panel .btn {
  width: 100%;
}

/* Cart kit (CRM phone) — sticky dock clearance lives on .cart-kit-phone */
body.shell-phone .b2b-view-cart {
  padding-bottom: 0;
  position: relative;
}
body.shell-phone .b2b-view-cart .sky-cart.is-phone {
  min-height: 100%;
}
body.shell-phone .b2b-view-cart .cart-card.cart-kit-phone {
  padding: 8px 12px 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.b2b-view-cart .cart-kit-card .uom-row.cart-uom-row {
  margin-top: 8px;
}
.b2b-order-msg {
  position: relative;
  z-index: 190;
  margin: 8px 12px calc(var(--bottom-nav-h, 56px) + 12px);
}

.b2b-empty {
  text-align: center;
  margin: 16px 0;
  color: #aeaeb2;
  font-size: 0.88rem;
}

.b2b-load-more {
  display: flex;
  justify-content: center;
  margin: 12px 0 8px;
}

.b2b-order-msg {
  margin-top: 14px;
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cat-sheet[hidden] {
  display: none !important;
}

.cat-sheet.shop-filters-sheet:not([hidden]) {
  display: block;
}

/* Purchase history filter (Currently / Never Purchased) — wrap long labels */
.shop-filters-body .shop-purchase-seg {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 14px;
}
.shop-filters-body .shop-purchase-seg .acal-seg-btn {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  padding: 8px 6px;
  white-space: normal;
  line-height: 1.2;
}

.b2b-account-hub #accountInsightsHub {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.b2b-account-hub .hub-insight-block {
  margin: 0;
}

/* Reports Insights (CRM hub-insight-block) */
.b2b-reports-insights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 18px;
}
.b2b-reports-insights-title {
  margin: 4px 0 0;
}
.b2b-reports-insights .hub-insight-block {
  margin: 0;
  cursor: pointer;
}
.b2b-reports-orders-wrap {
  margin-top: 4px;
}
.b2b-reports-statements-soon {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.b2b-reports-statements-soon .b2b-reports-sub {
  margin: 0;
}

/* —— Fixed bottom nav (b2b-crmui5) — always viewport-pinned like classic CRM —— */
body.shell-phone .bottom-nav,
body.shell-phone .app-shell.has-bottom-nav .bottom-nav {
  display: grid !important;
  grid-template-columns: repeat(var(--bn-cols, 5), minmax(0, 1fr));
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 220;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  flex: none;
  visibility: visible;
  opacity: 1;
  transform: none;
  padding: 8px 4px calc(8px + var(--safe-bottom, 0px));
  min-height: var(--bottom-nav-h, 56px);
}

body.shell-phone .app-shell.has-bottom-nav {
  --bottom-nav-h: 56px;
}

body.shell-phone .b2b-view-shop .shop-body-phone,
body.shell-phone .b2b-view-catalogues,
body.shell-phone .b2b-view-reports,
body.shell-phone .b2b-view-home,
body.shell-phone .b2b-view-profile {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  /* Clear fixed bar so products / panels are not covered */
  padding-bottom: calc(var(--bottom-nav-h, 56px) + var(--safe-bottom, 0px) + 12px);
}

body.shell-phone .b2b-view-cart {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  /* Sticky cart-kit dock clears bottom nav via CRM .cart-kit-phone padding */
  padding-bottom: 0;
}

.b2b-catalogues-panel {
  padding-bottom: 28px;
}

.b2b-catalogues-panel .cat-hub-tab-seg {
  margin-bottom: 14px;
}

.b2b-linked-pl {
  margin: 0 0 14px;
}

.b2b-catalogues-panel .cat-hub-grid {
  margin-top: 4px;
}

body.shell-phone .bottom-nav-link[data-main-nav="catalogues"] .bottom-nav-lab,
body.shell-phone .bottom-nav-link#navCatalogues .bottom-nav-lab {
  font-size: 0.58rem;
  white-space: normal;
  line-height: 1.05;
  max-height: 2.2em;
  text-align: center;
}

/* —— Reports hub (CRM reports-hub-card + B2B order expand) —— */
.b2b-reports-hub {
  padding: 8px 12px 0;
}
.b2b-reports-hub .sky-hub-body,
.b2b-reports-hub .sky-page-main.sky-canvas {
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
}
.b2b-reports-panel .reports-hub-sec-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.b2b-reports-empty,
.b2b-reports-sub {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.35;
}
.b2b-orders-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.b2b-order-row {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--btn-radius, 12px);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.b2b-order-row-btn {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  text-align: left;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.b2b-order-row-title {
  display: block;
  font-size: 0.92rem;
}
.b2b-order-row-meta {
  display: block;
  margin-top: 2px;
  font-size: 0.75rem;
  color: var(--muted);
}
.b2b-order-row-tot {
  font-weight: var(--fw-semi, 600);
  font-size: 0.88rem;
  white-space: nowrap;
}
.b2b-order-row-chev {
  color: var(--muted);
  display: inline-flex;
}
.b2b-order-detail {
  padding: 0 12px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.b2b-order-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0 8px;
  font-size: 0.8rem;
  color: var(--muted);
}
.b2b-order-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 10px;
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
}
.b2b-order-line-desc {
  grid-column: 1 / -1;
  font-weight: var(--fw-semi, 600);
}
.b2b-order-line-meta {
  color: var(--muted);
}
.b2b-order-line-tot {
  text-align: right;
  white-space: nowrap;
}
.b2b-order-detail-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
}
.b2b-order-vat-note {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.72rem;
}
.b2b-pastel-docs {
  margin-top: 18px;
}
.b2b-pastel-docs-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.b2b-pastel-doc-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 10px;
  padding: 8px 10px;
  border-radius: var(--btn-radius, 12px);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
}
.b2b-pastel-doc-row strong {
  grid-column: 1 / -1;
}
.b2b-pastel-doc-row span:last-child {
  text-align: right;
  white-space: nowrap;
}



/* —— Home spotlight + deals (crmui13) —— */
.b2b-home-spotlight {
  margin: 0 0 14px;
}
.b2b-home-spot-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
}
.b2b-home-spot-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.b2b-home-spot-meta {
  font-size: 0.85rem;
  opacity: 0.75;
}
.b2b-home-spot-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}
body.shell-phone .b2b-view-home .home-deals.is-compact {
  margin-top: 4px;
}

/* —— Reports Accounts —— */
.b2b-reports-accounts {
  margin: 8px 0 18px;
}
.b2b-reports-accounts .hub-acct-toolbar {
  margin-bottom: 10px;
}
.b2b-reports-accounts .hub-out-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 8px;
  width: 100%;
  text-align: left;
}

/* —— Profile forms —— */
.b2b-profile-forms .b2b-form-blurb {
  display: block;
  font-size: 0.82rem;
  opacity: 0.7;
  font-weight: 400;
}
.b2b-form-sheet .b2b-form-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 16px 16px;
}
.b2b-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
}
.b2b-form-foot {
  padding: 8px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
