.wizard-ui { --wizard-ink: var(--ink, #f4eee6); --wizard-muted: var(--muted, #b6b0a7); --wizard-bg: var(--bg, #10141b); --wizard-surface: var(--surface, #19202a); --wizard-border: var(--border, #38404a); --wizard-accent: var(--accent, #d6aa86); color: var(--wizard-ink); font-family: var(--font-body, Arial, sans-serif); font-size: 15px; line-height: 1.65; }
.wizard-ui *, .wizard-ui *::before, .wizard-ui *::after { box-sizing: border-box; }
.wizard-ui [hidden] { display: none !important; }
.wizard-ui h2, .wizard-ui h3, .wizard-ui h4 { color: var(--wizard-ink); font-family: var(--font-display, Georgia, serif); font-weight: 400; line-height: 1.2; letter-spacing: -.025em; }
.wizard-ui h2 { margin: 0 0 18px; font-size: clamp(30px, 4vw, 50px); }
.wizard-ui h3 { margin: 0 0 12px; font-size: 24px; }
.wizard-ui h4 { margin: 16px 0 10px; font-size: 20px; }
.wizard-ui p { margin: 0 0 16px; }
.wizard-muted { color: var(--wizard-muted); font-size: 13px; }
.wizard-kicker { margin-bottom: 14px !important; color: var(--wizard-accent); font-size: 10px; letter-spacing: .16em; font-weight: 600; }
.wizard-commerce { max-width: 1240px; margin: 0 auto; padding: 88px 28px; scroll-margin-top: 120px; }
.wizard-commerce-heading { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.wizard-commerce-heading > div { max-width: 730px; }
.wizard-commerce-heading .wizard-button { flex: 0 0 auto; }
.wizard-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 28px 0; }
.wizard-product { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 26px 22px; border: 1px solid var(--wizard-border); border-top: 2px solid var(--wizard-accent); border-radius: var(--radius, 6px); background: var(--wizard-surface); }
.wizard-service-image { display: block; object-fit: cover; border: 1px solid var(--wizard-border); border-radius: var(--radius, 4px); background: var(--wizard-bg); }
.wizard-service-image-contain { object-fit: contain; background: var(--wizard-surface); }
.wizard-service-image-catalog { width: 100%; height: auto; aspect-ratio: 4 / 3; margin-bottom: 20px; }
.wizard-service-image-cart { flex: 0 0 72px; width: 72px; height: 72px; aspect-ratio: 1; }
.wizard-art-note { margin-top: -12px !important; color: var(--wizard-muted); font-size: 11px; }
.wizard-product h3 { font-size: 24px; min-height: 58px; }
.wizard-product-number { display: block; margin-bottom: 28px; color: var(--wizard-accent); font-size: 12px; letter-spacing: .12em; }
.wizard-icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }
.wizard-product-top { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 16px; margin-bottom: 24px; }
.wizard-product-top .wizard-product-number { margin-bottom: 0; }
.wizard-product-symbol { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--wizard-border); border-radius: 50%; color: var(--wizard-accent); background: var(--wizard-bg); }
.wizard-product-symbol .wizard-icon { width: 28px; height: 28px; }
.wizard-field-label { display: inline-flex; align-items: center; gap: 8px; }
.wizard-field-label .wizard-icon { color: var(--wizard-accent); }
.wizard-button > span, .wizard-account-button > span, .wizard-file-link > span { min-width: 0; }
.wizard-file-link, .wizard-link-button { gap: 8px; }
.wizard-policies summary > .wizard-icon { margin-right: 8px; }
.wizard-product-description { color: var(--wizard-muted); font-size: 13px; flex: 1; }
.wizard-price { font-family: var(--font-display, Georgia, serif); font-size: 28px; font-weight: 400; margin: 12px 0; }
.wizard-inclusion { font-size: 12px; color: var(--wizard-muted); }
.wizard-product > .wizard-button { width: 100%; margin-top: auto; }
.wizard-button, .wizard-account-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 18px; border: 1px solid var(--wizard-border); border-radius: var(--radius, 4px); background: var(--wizard-surface); color: var(--wizard-ink); font: 500 13px/1.35 var(--font-body, Arial, sans-serif); text-align: center; text-decoration: none; cursor: pointer; }
.wizard-account-button { font-size: 12px; min-height: 44px; white-space: nowrap; }
#nav-auth-root.wizard-ui { display: flex; flex-wrap: wrap; gap: 8px; }
.wizard-button:hover, .wizard-account-button:hover { border-color: var(--wizard-accent); }
.wizard-primary { background: var(--wizard-accent); border-color: var(--wizard-accent); color: var(--wizard-bg); }
.wizard-primary:hover { filter: brightness(1.08); }
.wizard-ui button:disabled { opacity: .5; cursor: not-allowed; filter: none; }
.wizard-ui :is(button, a, input, textarea, select, summary):focus-visible { outline: 2px solid var(--wizard-accent); outline-offset: 4px; }
.wizard-link-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 0; background: none; padding: 8px 0; color: var(--wizard-accent); font: 500 13px/1.4 var(--font-body, Arial, sans-serif); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.wizard-notice { font-size: 13px; padding: 14px 16px; border: 1px solid var(--wizard-border); background: var(--wizard-surface); border-radius: var(--radius, 4px); overflow-wrap: anywhere; }
.wizard-notice:empty { display: none; }
.wizard-notice-warning { border-color: var(--wizard-accent); }
.wizard-badge { display: inline-flex; padding: 5px 10px; margin: 0 0 16px; border: 1px solid var(--wizard-border); color: var(--wizard-accent); font-size: 11px; line-height: 1.4; }
.wizard-policies { margin: 18px 0; border-block: 1px solid var(--wizard-border); font-size: 13px; }
.wizard-policies summary { min-height: 48px; padding: 14px 0; color: var(--wizard-ink); cursor: pointer; }
.wizard-policies ul { margin: 0; padding: 0 0 16px 20px; color: var(--wizard-muted); }
.wizard-policies li { margin: 0 0 12px; }
.wizard-dialog { width: min(1080px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--wizard-border); border-radius: var(--radius, 8px); color: var(--wizard-ink); background: var(--wizard-bg); overflow: auto; overscroll-behavior: contain; }
.wizard-dialog::backdrop { background: #000b; backdrop-filter: blur(5px); }
.wizard-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; padding: 28px 30px 16px; border-bottom: 1px solid var(--wizard-border); }
.wizard-dialog-header h2 { font-size: clamp(28px, 4vw, 38px); margin: 0; }
.wizard-close { flex: 0 0 48px; height: 48px; border: 1px solid var(--wizard-border); border-radius: var(--radius, 4px); background: var(--wizard-surface); color: var(--wizard-ink); font: 28px/1 Arial, sans-serif; cursor: pointer; }
.wizard-dialog-body { padding: 26px 30px 32px; }
.wizard-checkout-steps { color: var(--wizard-accent); font-size: 11px; letter-spacing: .06em; }
.wizard-cart-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.wizard-cart-items { min-width: 0; }
.wizard-cart-summary { min-width: 0; padding: 24px; border: 1px solid var(--wizard-border); border-radius: var(--radius, 4px); background: var(--wizard-surface); }
.wizard-cart-summary > .wizard-button { width: 100%; }
.wizard-summary-row { display: flex; justify-content: space-between; gap: 18px; margin: 0 0 14px; font-size: 13px; }
.wizard-summary-row strong { white-space: nowrap; }
.wizard-summary-total { border-top: 1px solid var(--wizard-border); padding-top: 18px; margin-top: 22px; font-size: 20px; }
.wizard-account-gate { padding: 22px; margin-bottom: 24px; border: 1px solid var(--wizard-accent); border-radius: var(--radius, 4px); }
.wizard-item-editor { border: 1px solid var(--wizard-border); border-radius: var(--radius, 4px); margin: 0 0 16px; background: var(--wizard-surface); }
.wizard-item-editor > summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; min-height: 60px; padding: 16px 20px; }
.wizard-item-heading { display: grid; gap: 6px; flex: 1; min-width: 0; }
.wizard-item-name { font-family: var(--font-display, Georgia, serif); font-size: 21px; line-height: 1.3; overflow-wrap: anywhere; }
.wizard-item-heading > strong { white-space: nowrap; font-size: 13px; }
.wizard-item-body { padding: 0 20px 20px; }
.wizard-field { display: grid; gap: 6px; margin: 16px 0; min-width: 0; }
.wizard-field label { font-size: 13px; line-height: 1.5; color: var(--wizard-ink); }
.wizard-field input, .wizard-field textarea, .wizard-field select { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 11px 12px; border: 1px solid var(--wizard-border); border-radius: var(--radius, 4px); background: var(--wizard-bg); color: var(--wizard-ink); font: 16px/1.5 var(--font-body, Arial, sans-serif); }
.wizard-field textarea { resize: vertical; }
.wizard-field input[type=file] { font-size: 12px; padding: 10px; }
.wizard-field input[type=file]::file-selector-button { min-height: 32px; border: 1px solid var(--wizard-border); background: var(--wizard-surface); color: var(--wizard-ink); margin-right: 10px; padding: 5px 10px; cursor: pointer; }
.wizard-field-error { color: #efa69e; font-size: 12px; line-height: 1.4; }
.wizard-field-error:empty { display: none; }
.wizard-field [aria-invalid=true] { border-color: #efa69e; }
.wizard-checkbox { display: flex; align-items: flex-start; gap: 12px; margin: 16px 0; font-size: 12px; line-height: 1.55; min-height: 48px; cursor: pointer; }
.wizard-checkbox input { flex: 0 0 20px; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--wizard-accent); }
.wizard-people { border: 1px solid var(--wizard-border); padding: 8px 14px 14px; min-width: 0; margin: 20px 0; }
.wizard-people legend { font-size: 13px; padding: 0 6px; }
.wizard-person-row + .wizard-person-row { border-top: 1px solid var(--wizard-border); padding-top: 14px; margin-top: 14px; }
.wizard-photo-state { display: flex; align-items: center; gap: 14px; color: var(--wizard-accent); font-size: 12px; }
.wizard-empty { padding: 20px; border: 1px dashed var(--wizard-border); color: var(--wizard-muted); font-size: 14px; }
.wizard-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding-bottom: 16px; border-bottom: 1px solid var(--wizard-border); }
.wizard-tabs .wizard-button { flex: 1 0 auto; }
.wizard-tabs [aria-current=page] { border-color: var(--wizard-accent); color: var(--wizard-accent); }
.wizard-profile-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.wizard-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 1px solid var(--wizard-border); }
.wizard-profile-form { max-width: 650px; }
.wizard-profile-form > .wizard-button { margin: 12px 0 20px; }
.wizard-messages { max-height: 400px; min-height: 140px; overflow: auto; overscroll-behavior: contain; padding: 8px 4px; margin: 0 0 24px; }
.wizard-message { padding: 18px; border: 1px solid var(--wizard-border); border-radius: var(--radius, 6px); background: var(--wizard-surface); margin: 0 0 14px; overflow-wrap: anywhere; }
.wizard-message-admin { border-left: 3px solid var(--wizard-accent); }
.wizard-message > p { white-space: pre-wrap; margin: 10px 0; }
.wizard-message > strong { color: var(--wizard-accent); font-size: 12px; }
.wizard-compose { padding-top: 16px; border-top: 1px solid var(--wizard-border); }
.wizard-attachments { display: grid; gap: 8px; margin: 10px 0; }
.wizard-file { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.wizard-file audio { max-width: 100%; width: 100%; height: 42px; }
.wizard-file-link { color: var(--wizard-accent); min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.wizard-orders-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 24px; }
.wizard-order-list { display: grid; align-content: start; gap: 12px; }
.wizard-order-control { display: grid; gap: 7px; width: 100%; text-align: left; padding: 16px; border: 1px solid var(--wizard-border); border-radius: var(--radius, 4px); background: var(--wizard-surface); color: var(--wizard-ink); font: 13px/1.4 var(--font-body, Arial, sans-serif); cursor: pointer; }
.wizard-order-control:hover { border-color: var(--wizard-accent); }
.wizard-order-control span { color: var(--wizard-accent); }
.wizard-order-control small { color: var(--wizard-muted); }
.wizard-order-detail { min-width: 0; }
.wizard-order-total { font-family: var(--font-display, Georgia, serif); font-size: 30px; }
.wizard-order-item { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--wizard-border); font-size: 13px; }
.wizard-order-data { margin: 8px 0 18px; font-size: 13px; overflow-wrap: anywhere; }
.wizard-order-data dt { color: var(--wizard-muted); }
.wizard-order-data dd { margin: 3px 0 14px; white-space: pre-wrap; }
.wizard-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }
.wizard-actions .wizard-button { flex: 1; }
.wizard-leads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
body[data-brand=velo] .wizard-product { border-radius: 2px; }
@media (max-width: 1050px) { .wizard-products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .wizard-commerce { padding: 60px 20px; }
  .wizard-commerce-heading { flex-direction: column; align-items: stretch; gap: 10px; }
  .wizard-cart-layout, .wizard-orders-layout, .wizard-leads { grid-template-columns: minmax(0, 1fr); }
  .wizard-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); }
  .wizard-dialog-header { padding: 20px; gap: 12px; }
  .wizard-dialog-body { padding: 20px; }
  .wizard-cart-summary { padding: 20px; }
  .wizard-item-editor > summary { padding: 14px 16px; }
  .wizard-item-body { padding: 0 16px 16px; }
  .wizard-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wizard-tabs .wizard-button { font-size: 12px; padding: 10px; }
  .wizard-actions { flex-direction: column; }
  .wizard-order-list { max-height: 270px; overflow: auto; }
}
@media (max-width: 480px) {
  .wizard-products { grid-template-columns: minmax(0, 1fr); }
  .wizard-product { padding: 22px; }
  .wizard-product h3 { min-height: 0; }
  .wizard-product-number { margin-bottom: 20px; }
  .wizard-ui h2 { font-size: 30px; }
  .wizard-dialog-header h2 { font-size: 28px; }
  .wizard-item-editor > summary { align-items: center; gap: 12px; }
  .wizard-service-image-cart { flex-basis: 64px; width: 64px; height: 64px; }
  .wizard-item-name { font-size: 19px; }
  .wizard-summary-row { font-size: 12px; gap: 12px; }
  .wizard-summary-total { font-size: 20px; }
}
.wizard-ui .wizard-video-output { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
.wizard-ui .wizard-video-output[hidden] { display: none; }
