:root {
  --bc-page-max: 1680px;
  --bc-shell-gap: 18px;
  --bc-panel-radius: 20px;
  --bc-card-padding: 18px;
  --bc-input-height: 50px;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(1200px 520px at -12% -10%, rgba(168, 85, 247, 0.12), transparent 48%),
    radial-gradient(1080px 420px at 108% -8%, rgba(216, 180, 254, 0.16), transparent 44%),
    linear-gradient(180deg, color-mix(in oklab, var(--bg-primary) 94%, #020817 6%) 0%, var(--bg-primary) 100%);
}

.wrap,
.workspace-shell,
.content-wrapper {
  width: min(var(--bc-page-max), 100%);
}

.content-wrapper {
  gap: clamp(16px, 2vw, 24px);
}

.manual-studio-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.manual-studio-toolbar-main {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.manual-studio-toolbar-more {
  flex: 0 0 auto;
  margin-left: auto;
}

.manual-studio-statusbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.manual-studio-statusbar .status.compact {
  flex: 0 1 auto;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.3;
  box-shadow: none;
}

.card,
.dashboard-surface,
.group-panel,
.status,
.company-groups-card,
.auth-faq-card,
.payment-summary-card {
  border-radius: var(--bc-panel-radius);
  box-shadow: 0 18px 36px rgba(3, 10, 26, 0.18);
}

.card {
  padding: clamp(16px, 2vw, 22px);
}

.section-title,
.company-section-title,
.billing-subsection-title {
  letter-spacing: -0.02em;
}

.inline-grid,
.company-grid {
  display: grid;
  gap: 16px 18px;
  align-items: start;
}

.inline-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.company-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.inline-grid > *,
.company-grid > * {
  min-width: 0;
}

.inline-grid .full,
.company-grid .full {
  grid-column: 1 / -1;
}

.company-grid .span-2 {
  grid-column: span 2;
}

.segments-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.segments-grid label,
.checkline {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--bc-line);
  background: color-mix(in oklab, var(--bc-soft) 78%, transparent);
}

label {
  font-weight: 700;
}

input,
select,
textarea,
button {
  font: inherit;
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  width: 100%;
  min-width: 0;
  min-height: var(--bc-input-height);
  border-radius: 14px;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

button,
.panel-btn,
.secondary,
.auth-primary-btn,
.auth-secondary-btn,
.user-plan-btn,
.user-dropdown-item {
  min-height: 46px;
  border-radius: 14px;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease, background 120ms ease;
}

button:hover,
.panel-btn:hover,
.secondary:hover,
.auth-primary-btn:hover,
.auth-secondary-btn:hover,
.user-plan-btn:hover,
.user-dropdown-item:hover {
  transform: translateY(-1px);
}

.faq-stack {
  display: grid;
  gap: 12px;
}

.faq-stack details {
  border: 1px solid var(--bc-line);
  border-radius: 16px;
  background: color-mix(in oklab, var(--bc-card) 88%, var(--bc-soft) 12%);
  padding: 14px 16px;
}

.faq-stack summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq-stack summary::-webkit-details-marker {
  display: none;
}

.faq-stack details p {
  margin: 10px 0 0;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.dashboard-sidebar,
.dashboard-main,
.dashboard-home-grid,
.dashboard-focus-grid,
.dashboard-actions,
.dashboard-quick-grid {
  display: grid;
  gap: 16px;
}

.dashboard-avatar,
.user-avatar {
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.dashboard-avatar {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 800;
}

body:not(.authenticated) .auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 480px);
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
}

body:not(.authenticated) .auth-showcase,
body:not(.authenticated) .auth-card {
  min-height: 100%;
}

body:not(.authenticated) .auth-showcase {
  padding: clamp(12px, 1vw, 18px) 0;
}

body:not(.authenticated) .auth-showcase-copy {
  max-width: 640px;
}

body:not(.authenticated) .auth-card {
  width: 100%;
  max-width: 480px;
  justify-self: end;
  padding: clamp(22px, 2.4vw, 32px);
}

body:not(.authenticated) .auth-inline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body:not(.authenticated) .auth-inline-grid .full {
  grid-column: 1 / -1;
}

body:not(.authenticated) .auth-card input,
body:not(.authenticated) .auth-card select,
body:not(.authenticated) .auth-card textarea {
  width: 100%;
  min-height: 52px;
}

body:not(.authenticated) .auth-primary-btn,
body:not(.authenticated) .auth-secondary-btn {
  width: 100%;
  justify-content: center;
}

body:not(.authenticated) .auth-switch-row,
body:not(.authenticated) .auth-footer-links,
body:not(.authenticated) .auth-footer-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

body:not(.authenticated) .auth-footer-links {
  justify-content: center;
  row-gap: 8px;
}

body:not(.authenticated) .auth-footer-links a,
body:not(.authenticated) .auth-footer-links button {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body:not(.authenticated) .auth-status-wrap .status {
  min-height: 42px;
  display: flex;
  align-items: center;
}

.company-groups-card,
.billing-payment-card,
.billing-proof-card {
  padding: 16px 18px;
  border: 1px solid var(--bc-line);
  background: color-mix(in oklab, var(--bc-card) 92%, var(--bc-soft) 8%);
}

.company-section-title {
  margin: 10px 0 2px;
}

.row,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.row > *,
.inline-actions > * {
  min-width: 0;
}

@media (max-width: 1180px) {
  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  body:not(.authenticated) .auth-shell {
    grid-template-columns: 1fr;
  }

  body:not(.authenticated) .auth-card {
    max-width: 100%;
    justify-self: stretch;
  }

  .company-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .segments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .inline-grid,
  .company-grid,
  body:not(.authenticated) .auth-inline-grid,
  .segments-grid {
    grid-template-columns: 1fr;
  }

  .company-grid .span-2 {
    grid-column: auto;
  }

  body:not(.authenticated) .auth-card,
  .card {
    padding: 16px;
  }

  body:not(.authenticated) .auth-footer-links {
    justify-content: flex-start;
  }
}

/* Unified shell/theme refresh */

:root,
[data-theme="light"] {
  --bc-ui-shell-bg:
    radial-gradient(1040px 420px at 4% -8%, rgba(168, 85, 247, 0.1), transparent 44%),
    radial-gradient(920px 340px at 100% -12%, rgba(216, 180, 254, 0.14), transparent 42%),
    linear-gradient(180deg, #f5f0fb 0%, #faf7fe 52%, #f1ebf8 100%);
  --bc-ui-header-bg: rgba(255, 251, 255, 0.9);
  --bc-ui-panel-bg: rgba(254, 250, 255, 0.95);
  --bc-ui-panel-muted: rgba(246, 237, 255, 0.94);
  --bc-ui-panel-border: rgba(62, 41, 92, 0.1);
  --bc-ui-text: #20162b;
  --bc-ui-muted: #67587a;
  --bc-ui-soft: #9485aa;
  --bc-ui-field-bg: #fcf9ff;
  --bc-ui-field-border: rgba(62, 41, 92, 0.12);
  --bc-ui-field-text: #20162b;
  --bc-ui-shadow: 0 18px 42px rgba(35, 22, 53, 0.09);
  --bc-ui-accent: #a855f7;
  --bc-ui-accent-strong: #7c3aed;
  --bc-ui-accent-soft: rgba(168, 85, 247, 0.12);
  --bc-ui-danger-soft: rgba(219, 39, 119, 0.12);
  --bc-ui-warn-soft: rgba(192, 132, 252, 0.18);
}

[data-theme="dark"] {
  --bc-ui-shell-bg:
    radial-gradient(1120px 460px at 0% -10%, rgba(168, 85, 247, 0.09), transparent 46%),
    radial-gradient(980px 380px at 100% -12%, rgba(216, 180, 254, 0.08), transparent 44%),
    linear-gradient(180deg, #0b0910 0%, #100c16 52%, #140f1b 100%);
  --bc-ui-header-bg: rgba(18, 13, 24, 0.92);
  --bc-ui-panel-bg: rgba(22, 17, 29, 0.95);
  --bc-ui-panel-muted: rgba(28, 21, 37, 0.96);
  --bc-ui-panel-border: rgba(246, 239, 255, 0.08);
  --bc-ui-text: #f6f2ff;
  --bc-ui-muted: #b8abcc;
  --bc-ui-soft: #8d7fa2;
  --bc-ui-field-bg: #171120;
  --bc-ui-field-border: rgba(245, 239, 230, 0.08);
  --bc-ui-field-text: #f6f2ff;
  --bc-ui-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  --bc-ui-accent: #c084fc;
  --bc-ui-accent-strong: #8b5cf6;
  --bc-ui-accent-soft: rgba(192, 132, 252, 0.14);
  --bc-ui-danger-soft: rgba(219, 39, 119, 0.14);
  --bc-ui-warn-soft: rgba(168, 85, 247, 0.18);
}

body,
[data-theme] body {
  background: var(--bc-ui-shell-bg) !important;
  color: var(--bc-ui-text);
}

.main-content,
.dashboard {
  background: transparent;
}

.sidebar,
.header,
.card,
.dashboard-surface,
.group-panel,
.company-groups-card,
.auth-faq-card,
.payment-summary-card,
.billing-page-section,
.billing-section-card,
.billing-composer,
.billing-list-toolbar,
.billing-empty-state,
.billing-payment-card,
.billing-proof-card,
.billing-pane-shell,
.billing-kpi-card,
.billing-hero-card,
.workspace-menu-panel,
.auction-subnav-card,
.dashboard-summary-card,
.dashboard-panel,
.billing-customer-mainlist,
.billing-customer-sidebar,
.payment-flow-surface,
.logo-preview-wrap,
.template-preview-wrap,
.billing-table,
.billing-payment-request-list,
#billingOrderItems,
#billingOrderList,
#billingCustomerList {
  background: var(--bc-ui-panel-bg) !important;
  border-color: var(--bc-ui-panel-border) !important;
  box-shadow: var(--bc-ui-shadow) !important;
}

.header {
  background: var(--bc-ui-header-bg) !important;
  border-color: var(--bc-ui-panel-border) !important;
  backdrop-filter: blur(18px);
}

.header-center {
  border-top-color: var(--bc-ui-panel-border) !important;
}

.header-business,
.header-search,
.header-utility-btn,
.user-menu,
.workspace-trigger,
.workspace-menu-link,
.workspace-menu-note,
.dashboard-chip,
.metric-pill,
.status-badge,
.dashboard-inline-metric,
.status-mini-card,
.auction-metric,
.metric-card,
.checklist-item,
.activity-item,
.billing-context-link,
.billing-hero-chip,
.command-catalog li,
.org-list li,
.group-list li,
.manual-group-list li,
.schedule-list li,
.substitute-item,
.faq-stack details,
.status,
.segments-grid label,
.checkline,
.dashboard-mini-list li,
.billing-keypoints li,
.payment-proof-item {
  background: var(--bc-ui-panel-muted) !important;
  border-color: var(--bc-ui-panel-border) !important;
  color: var(--bc-ui-text) !important;
}

.workspace-trigger,
.header-search,
.content-wrapper input,
.content-wrapper select,
.content-wrapper textarea,
.content-wrapper .filter-input,
body:not(.authenticated) .auth-card input,
body:not(.authenticated) .auth-card select,
body:not(.authenticated) .auth-card textarea {
  background: var(--bc-ui-field-bg) !important;
  border-color: var(--bc-ui-field-border) !important;
  color: var(--bc-ui-field-text) !important;
}

.header-search::placeholder,
.content-wrapper input::placeholder,
.content-wrapper textarea::placeholder,
.content-wrapper .filter-input::placeholder,
body:not(.authenticated) .auth-card input::placeholder,
body:not(.authenticated) .auth-card textarea::placeholder {
  color: var(--bc-ui-soft) !important;
}

.content-wrapper h2,
.content-wrapper h3,
.content-wrapper .section-title,
.content-wrapper .company-section-title,
.dashboard-section-header h2,
.dashboard-board-header h3,
.dashboard-card-head h3,
.dashboard-card-head-simple h3,
.dashboard-identity-copy h3,
body:not(.authenticated) .auth-showcase h1,
body:not(.authenticated) .auth-card h2,
.auth-faq-head h2 {
  color: var(--bc-ui-text) !important;
}

.content-wrapper label,
.content-wrapper .muted,
.content-wrapper .subhead,
.content-wrapper .quick-caption,
.dashboard-section-header p,
.dashboard-board-header p,
.dashboard-identity-copy p,
.admin-panel-phase-compact p,
.dashboard-card-subtitle,
.status-mini-meta,
.metric-card p,
.auction-metric small,
.checklist-copy p,
.activity-copy p,
.billing-page-toolbar-copy span,
.billing-page-section-head p,
.billing-section-head p,
.billing-composer-head span,
.billing-inline-note,
.billing-empty-state p,
.payment-flow-surface .muted,
.company-groups-card .muted,
body:not(.authenticated) .auth-card .subhead,
body:not(.authenticated) .auth-brand-subtitle,
body:not(.authenticated) .auth-showcase p,
body:not(.authenticated) .auth-benefit-copy span,
body:not(.authenticated) .auth-showcase-footer,
body:not(.authenticated) .auth-footer-cta,
body:not(.authenticated) .auth-social-note,
body:not(.authenticated) .auth-footer-links,
body:not(.authenticated) .auth-footer-links a,
body:not(.authenticated) .auth-footer-links button,
.auth-faq-head p,
.faq-stack details p {
  color: var(--bc-ui-muted) !important;
}

.dashboard-note-card-inline,
.status.ok,
.status-badge.success,
.billing-context-link.active {
  background: var(--bc-ui-accent-soft) !important;
  border-color: color-mix(in oklab, var(--bc-ui-accent) 28%, var(--bc-ui-panel-border)) !important;
  color: var(--bc-ui-accent-strong) !important;
}

.status.warn,
.status-badge.warn {
  background: var(--bc-ui-warn-soft) !important;
  border-color: color-mix(in oklab, #f59e0b 28%, var(--bc-ui-panel-border)) !important;
}

.status-badge.danger {
  background: var(--bc-ui-danger-soft) !important;
  border-color: color-mix(in oklab, #ef4444 28%, var(--bc-ui-panel-border)) !important;
}

.content-wrapper button,
.dashboard-action-btn.primary,
body:not(.authenticated) .auth-primary-btn,
.content-wrapper .auction-subbtn.active,
.content-wrapper .billing-subbtn.active,
.content-wrapper .billing-module-btn.active,
.content-wrapper .options-nav .options-btn.active {
  background: linear-gradient(180deg, var(--bc-ui-accent), var(--bc-ui-accent-strong)) !important;
  color: #07130b !important;
  border-color: transparent !important;
  box-shadow: 0 12px 24px color-mix(in oklab, var(--bc-ui-accent) 24%, transparent);
}

.content-wrapper button.secondary,
.content-wrapper button.options-btn,
.content-wrapper button.ghost,
.content-wrapper button.danger,
.content-wrapper .auction-subbtn,
.content-wrapper .billing-subbtn,
.content-wrapper .billing-module-btn,
body:not(.authenticated) .auth-secondary-btn {
  background: var(--bc-ui-panel-muted) !important;
  color: var(--bc-ui-text) !important;
  border-color: var(--bc-ui-panel-border) !important;
  box-shadow: none !important;
}

body:not(.authenticated) .auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, 520px);
  gap: clamp(32px, 4vw, 64px);
  align-items: stretch;
}

body:not(.authenticated) .auth-showcase,
body:not(.authenticated) .auth-card {
  min-height: 100%;
}

body:not(.authenticated) .auth-showcase {
  display: grid;
  gap: 24px;
  align-content: center;
  padding: clamp(20px, 2.2vw, 32px) 0;
}

body:not(.authenticated) .auth-showcase-copy {
  max-width: 640px;
}

body:not(.authenticated) .auth-benefits {
  gap: 14px;
  max-width: 560px;
}

body:not(.authenticated) .auth-benefits li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
}

body:not(.authenticated) .auth-benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
}

body:not(.authenticated) .auth-card {
  width: 100%;
  max-width: 520px;
  justify-self: end;
  padding: clamp(26px, 2.4vw, 34px) !important;
  border-radius: 28px;
}

body:not(.authenticated) .auth-inline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

body:not(.authenticated) .auth-inline-grid > * {
  min-width: 0;
}

body:not(.authenticated) .auth-inline-grid .full {
  grid-column: 1 / -1;
}

body:not(.authenticated) .auth-card input,
body:not(.authenticated) .auth-card select,
body:not(.authenticated) .auth-card textarea {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 54px !important;
  padding: 14px 16px !important;
  border-radius: 16px !important;
}

body:not(.authenticated) .auth-primary-btn,
body:not(.authenticated) .auth-secondary-btn {
  width: 100%;
  justify-content: center;
}

body:not(.authenticated) .auth-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

body:not(.authenticated) .auth-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

body:not(.authenticated) .auth-footer-links a,
body:not(.authenticated) .auth-footer-links button,
body:not(.authenticated) .auth-link-btn {
  color: var(--bc-ui-accent-strong) !important;
}

#options-orgs .card,
#panel-billing .card,
#panel-auction .card {
  border-radius: 24px;
}

#options-orgs .company-grid {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px 18px;
  align-items: start;
}

#options-orgs .company-grid > * {
  grid-column: span 4;
  min-width: 0;
}

#options-orgs .company-grid .span-2 {
  grid-column: span 8;
}

#options-orgs .company-grid .full {
  grid-column: 1 / -1;
}

#options-orgs .company-grid input,
#options-orgs .company-grid select,
#options-orgs .company-grid textarea {
  width: 100%;
}

#options-orgs .segments-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

#options-orgs .segments-grid label,
#options-orgs .checkline {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 50px;
  padding: 0 14px;
  margin: 0;
}

#options-orgs input[type="checkbox"],
#panel-billing input[type="checkbox"],
#panel-auction input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  accent-color: var(--bc-ui-accent-strong);
}

#options-orgs .company-section-title {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#panel-billing .billing-page-toolbar,
#panel-billing .billing-pane-grid,
#panel-billing .billing-customer-shell,
#panel-billing .billing-hero-grid,
#panel-billing .billing-kpi-grid,
#panel-auction .groups-grid,
#panel-auction .mini-grid {
  gap: 18px;
}

#panel-billing .billing-payment-card,
#panel-billing .billing-proof-card {
  display: grid;
  gap: 14px;
  padding: 18px 20px;
}

#panel-billing .billing-payment-card-header,
#panel-billing .billing-proof-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

#panel-billing .billing-proof-list {
  display: grid;
  gap: 10px;
}

#panel-billing .billing-proof-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--bc-ui-panel-border);
  border-radius: 14px;
}

@media (max-width: 1180px) {
  body:not(.authenticated) .auth-shell,
  #panel-billing .billing-page-toolbar,
  #panel-billing .billing-customer-shell,
  #panel-billing .billing-pane-grid,
  #panel-billing .billing-hero-grid,
  #panel-auction .groups-grid,
  #panel-auction .mini-grid {
    grid-template-columns: 1fr;
  }

  body:not(.authenticated) .auth-card {
    max-width: 100%;
    justify-self: stretch;
  }

  #options-orgs .company-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #options-orgs .company-grid > *,
  #options-orgs .company-grid .span-2 {
    grid-column: auto;
  }

  #options-orgs .segments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body:not(.authenticated) .auth-shell,
  body:not(.authenticated) .auth-inline-grid,
  #options-orgs .company-grid,
  #options-orgs .segments-grid,
  .inline-grid,
  .company-grid {
    grid-template-columns: 1fr !important;
  }

  body:not(.authenticated) .auth-card,
  .card,
  .dashboard-surface {
    padding: 18px !important;
  }

  body:not(.authenticated) .auth-footer-links {
    justify-content: flex-start;
  }
}

/* Stretch content and internal page balance */

.content-wrapper,
.content-wrapper.bidcenter-content {
  width: min(var(--bc-page-max), 100%);
  max-width: var(--bc-page-max);
}

#billing-pane-cadastros .billing-customer-shell {
  grid-template-columns: 1fr !important;
}

#billing-pane-cadastros .billing-customer-mainlist {
  min-width: 0;
  width: 100%;
}

/* Cleaner auth */

body:not(.authenticated) .auth-shell {
  grid-template-columns: minmax(0, 1.12fr) minmax(430px, 500px);
  gap: clamp(40px, 4.2vw, 72px);
}

body:not(.authenticated) .auth-showcase {
  max-width: 760px;
}

body:not(.authenticated) .auth-showcase h1 {
  font-size: clamp(44px, 5.6vw, 78px);
  line-height: 0.98;
  max-width: 720px;
}

body:not(.authenticated) .auth-card {
  max-width: 500px;
  padding: clamp(28px, 2.6vw, 38px) !important;
}

body:not(.authenticated) .auth-primary-btn {
  min-height: 56px !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 22px color-mix(in oklab, var(--bc-ui-accent) 20%, transparent) !important;
}

body:not(.authenticated) .auth-link-btn,
body:not(.authenticated) .auth-footer-links button,
body:not(.authenticated) .auth-footer-links a {
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-decoration: none;
}

body:not(.authenticated) .auth-link-btn:hover,
body:not(.authenticated) .auth-footer-links button:hover,
body:not(.authenticated) .auth-footer-links a:hover {
  background: transparent !important;
}

body:not(.authenticated) .auth-switch-row {
  align-items: center;
}

body:not(.authenticated) .auth-switch-row .auth-social-note {
  margin-left: auto;
}

body:not(.authenticated) .auth-footer-cta {
  justify-content: center;
}

/* Dashboard commerce */

.dashboard-panel-span-2 {
  grid-column: 1 / -1;
}

.dashboard-commerce-panel {
  display: grid;
  gap: 22px;
}

.dashboard-commerce-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-commerce-kpi-card,
.dashboard-commerce-chart-card {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid var(--bc-ui-panel-border);
  background: var(--bc-ui-panel-muted);
}

.dashboard-commerce-kpi-card strong {
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--bc-ui-text);
}

.dashboard-commerce-kpi-card p {
  margin: 0;
  color: var(--bc-ui-muted);
  font-size: 13px;
  line-height: 1.55;
}

.dashboard-commerce-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(360px, 1.12fr);
  gap: 18px;
}

.dashboard-pie-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.dashboard-pie-shell {
  display: grid;
  place-items: center;
}

.dashboard-pie-chart {
  width: 220px;
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  background: conic-gradient(rgba(148, 163, 184, 0.24) 0 100%);
  box-shadow: inset 0 0 0 1px var(--bc-ui-panel-border);
}

.dashboard-pie-chart::after {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  background: var(--bc-ui-panel-bg);
  box-shadow: inset 0 0 0 1px var(--bc-ui-panel-border);
}

.dashboard-pie-chart.is-empty {
  opacity: 0.8;
}

.dashboard-pie-center {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 2px;
}

.dashboard-pie-center strong {
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--bc-ui-text);
}

.dashboard-pie-center span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bc-ui-muted);
}

.dashboard-pie-legend {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dashboard-pie-legend li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.dashboard-pie-legend strong {
  display: block;
  font-size: 16px;
  color: var(--bc-ui-text);
}

.dashboard-pie-legend small {
  color: var(--bc-ui-muted);
  font-size: 12px;
}

.dashboard-pie-swatch {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.dashboard-pie-swatch.pending { background: #d8b4fe; }
.dashboard-pie-swatch.paid { background: #a855f7; }
.dashboard-pie-swatch.delivery { background: #8b5cf6; }
.dashboard-pie-swatch.delivered { background: #ec4899; }

.dashboard-ranking-list {
  display: grid;
  gap: 12px;
}

.dashboard-ranking-item {
  display: grid;
  gap: 10px;
  padding: 14px 0 0;
  border-top: 1px solid var(--bc-ui-panel-border);
}

.dashboard-ranking-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.dashboard-ranking-copy {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.dashboard-ranking-index {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--bc-ui-accent-soft);
  color: var(--bc-ui-accent-strong);
  font-weight: 800;
}

.dashboard-ranking-copy strong {
  display: block;
  color: var(--bc-ui-text);
}

.dashboard-ranking-copy small {
  color: var(--bc-ui-muted);
}

.dashboard-ranking-bar {
  height: 9px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--bc-ui-panel-border) 60%, transparent);
  overflow: hidden;
}

.dashboard-ranking-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--bc-ui-accent), color-mix(in oklab, var(--bc-ui-accent) 62%, #d8b4fe 38%));
}

.dashboard-empty-compact {
  min-height: 180px;
  align-content: center;
}

@media (max-width: 1180px) {
  .dashboard-commerce-kpi-grid,
  .dashboard-commerce-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-pie-layout {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

@media (max-width: 860px) {
  .dashboard-commerce-kpi-grid,
  .dashboard-commerce-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-pie-chart {
    width: 190px;
  }
}

/* Final polish: softer copy, lilac shell, vendas filters and dropdown cleanup */

:root {
  --bc-page-max: 1680px;
}

:root,
[data-theme="light"] {
  --bc-ui-shell-bg:
    radial-gradient(1240px 540px at -8% -10%, rgba(168, 85, 247, 0.22), transparent 48%),
    radial-gradient(1080px 420px at 108% -6%, rgba(216, 180, 254, 0.28), transparent 42%),
    linear-gradient(180deg, #f2e8ff 0%, #faf5ff 52%, #f3ebff 100%);
}

[data-theme="dark"] {
  --bc-ui-shell-bg:
    radial-gradient(1240px 540px at -8% -10%, rgba(168, 85, 247, 0.22), transparent 48%),
    radial-gradient(1080px 420px at 108% -6%, rgba(216, 180, 254, 0.26), transparent 42%),
    linear-gradient(180deg, #eadbff 0%, #f7f0ff 52%, #efe3ff 100%);
}

body,
[data-theme] body {
  background: var(--bc-ui-shell-bg) !important;
}

.content-wrapper,
.content-wrapper.bidcenter-content {
  width: min(var(--bc-page-max), 100%);
  max-width: var(--bc-page-max);
}

body:not(.authenticated) .auth-showcase {
  color: #2a1738;
}

body:not(.authenticated) .auth-brand-subtitle,
body:not(.authenticated) .auth-showcase p,
body:not(.authenticated) .auth-benefit-copy span,
body:not(.authenticated) .auth-showcase-footer {
  color: #65527a !important;
}

body:not(.authenticated) .auth-showcase h1,
body:not(.authenticated) .auth-benefit-copy strong {
  color: #241433 !important;
}

body:not(.authenticated) .auth-showcase-kicker,
body:not(.authenticated) .auth-portal-kicker,
body:not(.authenticated) .auth-benefit-icon {
  background: rgba(255, 255, 255, 0.54) !important;
  color: #7c3aed !important;
  border-color: rgba(124, 58, 237, 0.18) !important;
}

body:not(.authenticated) .auth-benefits li {
  background: rgba(255, 255, 255, 0.46) !important;
  border-color: rgba(124, 58, 237, 0.12) !important;
  box-shadow: 0 18px 34px rgba(75, 35, 118, 0.08) !important;
}

body:not(.authenticated) .auth-card {
  background: rgba(22, 17, 29, 0.94) !important;
}

body:not(.authenticated) .auth-primary-btn,
.content-wrapper button,
.dashboard-action-btn.primary,
.content-wrapper .auction-subbtn.active,
.content-wrapper .billing-subbtn.active,
.content-wrapper .billing-module-btn.active,
.content-wrapper .options-nav .options-btn.active {
  color: #faf5ff !important;
}

.user-dropdown {
  background: rgba(20, 15, 28, 0.96) !important;
  border-color: rgba(192, 132, 252, 0.18) !important;
  box-shadow: 0 24px 44px rgba(18, 10, 32, 0.32) !important;
}

.user-dropdown-header,
.user-dropdown-plan,
.user-dropdown-item,
.user-plan-btn {
  background: rgba(38, 28, 50, 0.86) !important;
  border-color: rgba(192, 132, 252, 0.14) !important;
  color: #f6f2ff !important;
}

.user-dropdown-role,
.user-plan-name {
  color: #c7b8dc !important;
}

.user-dropdown-item:hover,
.user-plan-btn:hover {
  background: rgba(71, 46, 96, 0.86) !important;
  border-color: rgba(216, 180, 254, 0.22) !important;
}

.user-dropdown-menu {
  border-bottom-color: rgba(192, 132, 252, 0.1) !important;
}

.billing-table-head {
  background: linear-gradient(180deg, rgba(92, 52, 138, 0.94), rgba(71, 39, 112, 0.96)) !important;
  color: #efe7fb !important;
}

.billing-stat-chip,
.billing-module-hero,
.billing-page-toolbar,
.billing-page-section,
.billing-payment-request-card,
.billing-payment-request-proof-summary,
.billing-proof-item {
  background: linear-gradient(180deg, rgba(34, 24, 46, 0.96), rgba(24, 18, 33, 0.98)) !important;
  border-color: rgba(192, 132, 252, 0.12) !important;
}

.billing-payment-request-card {
  display: grid;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 20px;
}

.billing-payment-request-head,
.billing-payment-request-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.billing-payment-request-meta {
  display: grid;
  gap: 8px;
  color: var(--bc-ui-muted);
}

.billing-payment-request-meta strong,
.billing-payment-request-proof-summary strong {
  color: var(--bc-ui-text);
}

.checklist-item {
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.checklist-copy {
  min-width: 0;
}

.checklist-action {
  justify-self: end;
  min-width: 116px;
}

#billing-pane-cadastros .billing-customer-shell,
#billing-pane-cadastros .billing-customer-mainlist,
#billing-pane-cadastros .billing-section-card {
  width: 100%;
  max-width: none;
}

#billing-pane-vendas .billing-customer-shell {
  grid-template-columns: minmax(0, 1.92fr) minmax(300px, 0.58fr) !important;
  align-items: start;
}

#billing-pane-vendas .billing-customer-sidebar {
  width: min(100%, 360px);
  justify-self: end;
}

#billing-pane-vendas .billing-list-toolbar-filters-orders {
  display: grid;
  grid-template-columns: auto minmax(260px, 1.35fr) 190px 160px 160px auto auto;
  gap: 12px;
  align-items: center;
}

#billing-pane-vendas .billing-list-toolbar-filters-orders .filter-input {
  min-width: 0;
}

#billing-pane-vendas .billing-table.orders .billing-table-head,
#billing-pane-vendas .billing-table.orders .billing-table-row {
  grid-template-columns: 140px minmax(220px, 1.35fr) 120px minmax(150px, 1fr) 110px 164px 118px;
}

.dashboard-commerce-kpi-card,
.dashboard-commerce-chart-card {
  background: rgba(31, 23, 42, 0.92) !important;
  border-color: rgba(192, 132, 252, 0.12) !important;
}

.dashboard-home .dashboard-shell-overview > .dashboard-board-header {
  padding: 6px 10px 0;
}

.dashboard-home .dashboard-shell-overview > .dashboard-board-header .dashboard-section-kicker {
  color: #8b5cf6 !important;
}

.dashboard-home .dashboard-shell-overview > .dashboard-board-header h3 {
  color: #251239 !important;
}

.dashboard-home .dashboard-shell-overview > .dashboard-board-header p {
  color: #6f5e86 !important;
}

.dashboard-ranking-index {
  background: rgba(192, 132, 252, 0.16) !important;
}

@media (max-width: 1460px) {
  #billing-pane-vendas .billing-customer-shell {
    grid-template-columns: minmax(0, 1fr) 330px !important;
  }

  #billing-pane-vendas .billing-list-toolbar-filters-orders {
    grid-template-columns: auto minmax(220px, 1fr) 180px 1fr 1fr auto auto;
  }
}

@media (max-width: 1180px) {
  .checklist-item {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .checklist-action {
    grid-column: 2;
    justify-self: start;
  }

  #billing-pane-vendas .billing-customer-shell,
  #billing-pane-vendas .billing-list-toolbar-filters-orders {
    grid-template-columns: 1fr !important;
  }

  #billing-pane-vendas .billing-customer-sidebar {
    width: 100%;
    justify-self: stretch;
  }
}

/* Final layer 2026-03-18: purple shell, sales drawer, editorial customers, login cleanup */

:root {
  --bc-page-max: 1780px;
  --bc-rail-width: 364px;
}

[data-theme="light"] {
  --bc-ui-shell-bg:
    radial-gradient(1300px 560px at -10% -12%, rgba(168, 85, 247, 0.22), transparent 48%),
    radial-gradient(1180px 480px at 108% -8%, rgba(216, 180, 254, 0.24), transparent 44%),
    linear-gradient(180deg, #f4eafe 0%, #fbf7ff 54%, #f3e9ff 100%);
  --bc-ui-surface: rgba(255, 255, 255, 0.72);
  --bc-ui-panel: rgba(255, 255, 255, 0.78);
  --bc-ui-panel-strong: rgba(255, 255, 255, 0.9);
  --bc-ui-border: rgba(124, 58, 237, 0.12);
  --bc-ui-heading: #26153b;
  --bc-ui-copy: #6f5d88;
  --bc-ui-muted-copy: #88759f;
  --bc-ui-accent: #8b5cf6;
  --bc-ui-accent-strong: #6d28d9;
  --bc-ui-accent-soft: rgba(139, 92, 246, 0.12);
  --bc-ui-shadow: 0 22px 56px rgba(89, 49, 145, 0.12);
}

[data-theme="dark"] {
  --bc-ui-shell-bg:
    radial-gradient(1280px 520px at -14% -14%, rgba(168, 85, 247, 0.16), transparent 48%),
    radial-gradient(980px 420px at 112% -8%, rgba(192, 132, 252, 0.12), transparent 42%),
    linear-gradient(180deg, #0f0a16 0%, #15101f 52%, #1b1326 100%);
  --bc-ui-surface: rgba(29, 21, 39, 0.9);
  --bc-ui-panel: rgba(22, 17, 31, 0.94);
  --bc-ui-panel-strong: rgba(18, 14, 26, 0.98);
  --bc-ui-border: rgba(216, 180, 254, 0.12);
  --bc-ui-heading: #f6f0ff;
  --bc-ui-copy: #b9aed0;
  --bc-ui-muted-copy: #988db1;
  --bc-ui-accent: #a855f7;
  --bc-ui-accent-strong: #c084fc;
  --bc-ui-accent-soft: rgba(168, 85, 247, 0.18);
  --bc-ui-shadow: 0 26px 64px rgba(0, 0, 0, 0.36);
}

body,
[data-theme] body {
  background: var(--bc-ui-shell-bg) !important;
  color: var(--bc-ui-heading) !important;
}

.content-wrapper,
.content-wrapper.bidcenter-content {
  width: min(var(--bc-page-max), calc(100% - 8px));
  max-width: var(--bc-page-max);
}

.header {
  width: min(var(--bc-page-max), calc(100% - 8px)) !important;
  max-width: var(--bc-page-max) !important;
}

#panel-billing > main.stack,
#panel-auction > main.stack,
#panel-options > main.stack,
#panel-core > main.stack {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

#panel-billing .billing-shell,
#panel-billing .billing-page-toolbar,
#panel-billing .billing-section-card,
#panel-billing .billing-page-section,
#panel-billing .billing-pane-shell,
#panel-billing .billing-pane-grid,
#panel-billing .billing-finance-shell {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.main-content,
.dashboard,
.content-wrapper.bidcenter-content,
.stack,
.billing-shell {
  min-width: 0;
}

.sidebar,
.header,
.workspace-menu-panel,
.user-menu,
.user-dropdown,
.dashboard-surface,
.dashboard-summary-card,
.dashboard-panel,
.card,
.billing-page-toolbar,
.billing-section-card,
.billing-page-section,
.billing-composer,
.billing-form-shell .billing-page-section,
.billing-payment-request-card,
.billing-payment-request-proof-summary,
.billing-payment-request-proof,
.billing-proof-item,
.billing-list-toolbar,
.group-panel,
.modal-card,
.sheet-card {
  background: var(--bc-ui-panel) !important;
  border-color: var(--bc-ui-border) !important;
  box-shadow: var(--bc-ui-shadow) !important;
}

.header,
.sidebar {
  background: color-mix(in oklab, var(--bc-ui-panel-strong) 92%, transparent) !important;
  backdrop-filter: blur(16px);
}

.header-business,
.workspace-title,
.dashboard-card-subtitle,
.dashboard-panel p,
.subhead,
.billing-page-toolbar-copy span,
.billing-page-section-head p,
.billing-list-toolbar-head span,
.billing-list-meta,
.user-role,
.user-dropdown-role,
.auth-social-note,
.auth-showcase-footer,
.auth-brand-subtitle {
  color: var(--bc-ui-copy) !important;
}

.dashboard-section-kicker,
.dashboard-panel-label,
.dashboard-phase-label,
.status-mini-label,
.metric-card label,
.billing-page-toolbar-copy strong,
.billing-section-head h3,
.billing-sales-rail-head strong,
.auth-showcase-kicker,
.auth-portal-kicker {
  color: var(--bc-ui-accent-strong) !important;
}

.header,
.sidebar,
.workspace-menu-panel,
.user-menu,
.user-dropdown,
.dashboard-summary-card,
.dashboard-panel,
.billing-section-card,
.billing-page-section,
.billing-list-toolbar,
.billing-composer,
.billing-payment-request-card,
.billing-payment-request-proof-summary,
.billing-payment-request-proof {
  border-width: 1px !important;
  border-style: solid !important;
}

.header-search,
.header-utility-btn,
.workspace-trigger,
.workspace-link,
.user-menu,
.user-dropdown-item,
.user-plan-btn,
.filter-input,
.content-wrapper input,
.content-wrapper select,
.content-wrapper textarea,
.billing-search-shell,
.billing-icon-btn,
.dashboard-link-btn.secondary,
.dashboard-action-btn.secondary,
.content-wrapper .secondary,
.checklist-action {
  border-color: var(--bc-ui-border) !important;
}

.header-search,
.header-utility-btn,
.workspace-trigger,
.workspace-link,
.user-menu,
.user-dropdown-item,
.user-plan-btn,
.filter-input,
.content-wrapper input,
.content-wrapper select,
.content-wrapper textarea,
.billing-search-shell,
.billing-icon-btn,
.dashboard-link-btn.secondary,
.dashboard-action-btn.secondary,
.content-wrapper .secondary,
.checklist-action {
  background: color-mix(in oklab, var(--bc-ui-panel-strong) 92%, transparent) !important;
  color: var(--bc-ui-heading) !important;
}

.workspace-trigger.active,
.workspace-link.active,
.nav-item.active,
.panel-btn.active {
  background: transparent !important;
  color: var(--bc-ui-heading) !important;
  border-color: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.sidebar .nav-item.panel-btn.active,
.workspace-menu > .panel-btn.workspace-trigger.active {
  background: transparent !important;
  color: var(--bc-ui-heading) !important;
  border: none !important;
  border-bottom: 2px solid var(--bc-ui-accent) !important;
  border-bottom-color: var(--bc-ui-accent) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.dashboard-action-btn.primary,
.content-wrapper .auction-subbtn.active,
.content-wrapper .billing-subbtn.active,
.content-wrapper .billing-module-btn.active,
.content-wrapper .options-nav .options-btn.active,
.auth-primary-btn,
.billing-page-toolbar button:not(.secondary),
.billing-composer-actions button:not(.secondary),
.billing-actions-row button:not(.secondary),
.billing-filter-actions button:not(.secondary),
.billing-list-toolbar-actions button:not(.secondary),
.checklist-action,
#btnBillingNewOrder,
#btnBillingOpenCustomerComposer,
#btnBillingSaveOrder,
#btnBillingSaveCustomer,
#btnLogin,
#btnRegister,
#btnForgotPassword,
#btnResetPassword,
#btnDashboardAuctionCta,
#btnGoAuction {
  background: linear-gradient(135deg, var(--bc-ui-accent), var(--bc-ui-accent-strong)) !important;
  color: #faf5ff !important;
  border-color: transparent !important;
  box-shadow: 0 18px 36px rgba(124, 58, 237, 0.22) !important;
}

.workspace-trigger:hover,
.workspace-link:hover,
.nav-item:hover,
.header-utility-btn:hover,
.user-menu:hover,
.user-dropdown-item:hover,
.user-plan-btn:hover,
.dashboard-action-btn.secondary:hover,
.dashboard-link-btn.secondary:hover,
.content-wrapper .secondary:hover,
.billing-icon-btn:hover {
  background: color-mix(in oklab, var(--bc-ui-panel) 72%, var(--bc-ui-accent-soft) 28%) !important;
  border-color: color-mix(in oklab, var(--bc-ui-border) 60%, var(--bc-ui-accent) 40%) !important;
}

.user-menu {
  min-width: 190px;
  gap: 12px;
}

.user-avatar,
.dashboard-avatar {
  background: color-mix(in oklab, var(--bc-ui-panel-strong) 92%, transparent) !important;
  color: var(--bc-ui-heading) !important;
  border: 1px solid color-mix(in oklab, var(--bc-ui-border) 64%, var(--bc-ui-accent) 36%) !important;
  box-shadow: none !important;
}

.avatar-logo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 16px;
  background: #fff;
}

.user-avatar:not(.has-logo),
.dashboard-avatar:not(.has-logo) {
  text-indent: 0 !important;
  color: var(--bc-ui-heading) !important;
  background-image: none !important;
}

.user-dropdown {
  background: color-mix(in oklab, var(--bc-ui-panel-strong) 96%, transparent) !important;
  border-color: color-mix(in oklab, var(--bc-ui-border) 76%, var(--bc-ui-accent) 24%) !important;
  box-shadow: 0 28px 60px rgba(17, 10, 28, 0.32) !important;
}

.user-dropdown-header,
.user-dropdown-plan,
.user-dropdown-item,
.user-plan-btn {
  background: color-mix(in oklab, var(--bc-ui-panel) 94%, transparent) !important;
  color: var(--bc-ui-heading) !important;
}

.billing-table-head,
.billing-table.orders .billing-table-head,
.billing-table.customers .billing-table-head {
  background: linear-gradient(180deg, rgba(89, 54, 136, 0.94), rgba(60, 37, 96, 0.98)) !important;
  color: #f6efff !important;
}

.billing-table-row,
.billing-order-item-row,
.billing-proof-item,
.dashboard-empty,
.status-mini-card,
.metric-card,
.auction-metric,
.billing-keypoints li,
.billing-payment-request-proof-summary,
.billing-payment-request-proof,
.billing-order-list-card,
.billing-order-summary-card {
  background: color-mix(in oklab, var(--bc-ui-panel) 96%, transparent) !important;
  border-color: var(--bc-ui-border) !important;
}

.dashboard-summary-meta,
.dashboard-inline-metrics,
.dashboard-note-card,
.dashboard-pie-shell,
.dashboard-ranking-item,
.dashboard-commerce-kpi-card,
.dashboard-commerce-chart-card {
  background: color-mix(in oklab, var(--bc-ui-panel) 96%, transparent) !important;
  border-color: var(--bc-ui-border) !important;
}

.dashboard-shell-overview,
.dashboard-board-grid,
.dashboard-commerce-grid,
.dashboard-summary-grid {
  min-width: 0;
}

.dashboard-summary-grid {
  grid-template-columns: minmax(340px, 0.92fr) minmax(520px, 1.08fr);
  gap: 20px;
}

.dashboard-control-card {
  grid-column: 1 / -1;
}

.dashboard-identity-card,
.dashboard-state-card {
  align-content: start;
}

.dashboard-identity-card {
  grid-template-rows: auto auto 1fr;
}

.dashboard-control-card .checklist-compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-board-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 22px;
}

.dashboard-commerce-kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.dashboard-commerce-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 18px;
}

.dashboard-commerce-chart-card-wide {
  grid-column: 1 / -1;
}

.dashboard-timeline-wrap {
  display: grid;
  gap: 16px;
}

.dashboard-timeline-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--bc-ui-copy);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dashboard-timeline-legend i:first-child {
  color: var(--bc-ui-accent);
}

.dashboard-timeline-legend span:last-child i {
  color: #d8b4fe;
}

.dashboard-timeline-chart {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
  gap: 14px;
  align-items: end;
  min-height: 236px;
}

.dashboard-timeline-group {
  display: grid;
  gap: 10px;
}

.dashboard-timeline-bars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: end;
  gap: 8px;
  min-height: 170px;
  padding: 16px 12px 14px;
  border-radius: 20px;
  border: 1px solid var(--bc-ui-border);
  background: color-mix(in oklab, var(--bc-ui-panel-strong) 92%, transparent);
}

.dashboard-timeline-bar {
  display: block;
  width: 100%;
  min-height: 10px;
  border-radius: 999px 999px 10px 10px;
}

.dashboard-timeline-bar.orders {
  background: linear-gradient(180deg, var(--bc-ui-accent), color-mix(in oklab, var(--bc-ui-accent) 64%, #ffffff 36%));
}

.dashboard-timeline-bar.revenue {
  background: linear-gradient(180deg, #d8b4fe, #8b5cf6);
}

.dashboard-timeline-meta {
  display: grid;
  gap: 4px;
  text-align: center;
}

.dashboard-timeline-meta strong {
  color: var(--bc-ui-heading);
  font-size: 13px;
}

.dashboard-timeline-meta span {
  color: var(--bc-ui-copy);
  font-size: 12px;
}

.checklist-item {
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  background: color-mix(in oklab, var(--bc-ui-panel) 96%, transparent) !important;
  border: 1px solid var(--bc-ui-border) !important;
}

.checklist-copy {
  text-align: left;
}

.checklist-indicator {
  background: color-mix(in oklab, var(--bc-ui-panel-strong) 88%, var(--bc-ui-accent-soft) 12%) !important;
}

.checklist-action {
  min-width: 124px;
  justify-self: end;
}

.dashboard-control-card .checklist-item {
  min-height: 100%;
}

.dashboard-control-card .checklist-action {
  min-width: 112px;
}

#billing-pane-cadastros .billing-customer-shell,
#billing-pane-cadastros .billing-customer-mainlist,
#billing-pane-cadastros .billing-section-card,
#billing-pane-vendas .billing-customer-shell,
#billing-pane-vendas .billing-customer-mainlist,
#panel-billing .billing-pane-shell,
#panel-billing .billing-section-card,
#panel-billing .billing-page-section,
#panel-billing .billing-pane-grid,
#panel-billing .billing-finance-shell {
  width: 100%;
  max-width: none;
}

#billing-pane-cadastros .billing-customer-shell,
#billing-pane-vendas .billing-customer-shell {
  grid-template-columns: minmax(0, 1fr) !important;
}

#billing-pane-vendas .billing-customer-mainlist {
  min-width: 0;
}

.billing-finance-shell {
  display: grid;
  gap: 18px;
}

.billing-finance-subnav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.billing-finance-summary-grid {
  margin-top: 14px;
}

.billing-expense-list {
  display: grid;
  gap: 12px;
}

.billing-expense-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid var(--bc-ui-border);
  background: color-mix(in oklab, var(--bc-ui-panel) 96%, transparent);
}

.billing-expense-row-copy {
  display: grid;
  gap: 6px;
}

.billing-expense-row-copy strong {
  color: var(--bc-ui-heading);
  font-size: 15px;
}

.billing-expense-row-copy span,
.billing-expense-row-copy small {
  color: var(--bc-ui-copy);
}

.billing-expense-row-value {
  display: grid;
  gap: 4px;
  justify-items: end;
  min-width: 96px;
}

.billing-expense-row-value strong {
  color: var(--bc-ui-heading);
  font-size: 18px;
  line-height: 1;
}

.billing-expense-row-value span {
  color: var(--bc-ui-copy);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.billing-expense-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.billing-date-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.billing-date-field .filter-input[type="date"] {
  min-width: 0;
  padding-right: 14px;
}

.billing-payment-request-list-compact {
  display: grid;
  gap: 12px;
}

.billing-payment-request-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid var(--bc-ui-border);
  background: color-mix(in oklab, var(--bc-ui-panel) 96%, transparent);
  cursor: pointer;
}

.billing-payment-request-row-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.billing-payment-request-row-head,
.billing-payment-request-row-meta {
  display: flex;
  align-items: center;
  gap: 10px 14px;
  flex-wrap: wrap;
  min-width: 0;
}

.billing-payment-request-row-head strong {
  color: var(--bc-ui-heading);
  font-size: 15px;
}

.billing-payment-request-row-meta span {
  color: var(--bc-ui-copy);
  font-size: 13px;
}

.billing-payment-request-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.billing-payment-request-row-value {
  display: grid;
  gap: 4px;
  justify-items: end;
  min-width: 92px;
}

.billing-payment-request-row-value strong {
  color: var(--bc-ui-heading);
  font-size: 18px;
  line-height: 1;
}

.billing-payment-request-row-value span {
  color: var(--bc-ui-copy);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.billing-finance-keypoints {
  margin-bottom: 8px;
}

#billing-pane-vendas .billing-list-toolbar-filters-orders {
  display: grid;
  grid-template-columns: auto minmax(280px, 1.45fr) 220px 164px 164px auto auto;
  gap: 12px;
  align-items: center;
}

#billing-pane-vendas .billing-table.orders .billing-table-head,
#billing-pane-vendas .billing-table.orders .billing-table-row {
  grid-template-columns: 140px minmax(240px, 1.45fr) 126px minmax(170px, 1fr) 108px 170px 110px;
}

.billing-customer-card-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 6px;
  margin-bottom: 14px;
  color: var(--bc-ui-copy);
  font-size: 13px;
}

.billing-customer-row-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid var(--bc-ui-border);
  background: color-mix(in oklab, var(--bc-ui-panel) 96%, transparent);
  box-shadow: 0 14px 34px rgba(22, 12, 40, 0.12);
}

.billing-customer-card-select {
  display: flex;
  align-items: flex-start;
  padding-top: 8px;
}

.billing-customer-card-body {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.billing-customer-card-headline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.billing-customer-card-title {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.billing-customer-card-title strong {
  display: block;
  color: var(--bc-ui-heading);
  font-size: 17px;
  line-height: 1.2;
}

.billing-customer-card-title span,
.billing-customer-card-grid span,
.billing-customer-card-grid small {
  color: var(--bc-ui-copy);
}

.billing-customer-card-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.billing-inline-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid var(--bc-ui-border);
  background: color-mix(in oklab, var(--bc-ui-panel-strong) 94%, transparent);
  color: var(--bc-ui-heading);
  font-size: 12px;
  font-weight: 700;
}

.billing-inline-chip.subtle {
  color: var(--bc-ui-copy);
}

.billing-inline-chip.success {
  background: color-mix(in oklab, var(--bc-ui-accent-soft) 74%, transparent);
  color: var(--bc-ui-accent-strong);
}

.billing-inline-chip.warn {
  background: rgba(251, 191, 36, 0.14);
  color: #d97706;
}

.billing-inline-chip.muted {
  background: color-mix(in oklab, var(--bc-ui-panel) 96%, transparent);
  color: var(--bc-ui-copy);
}

.billing-customer-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 16px;
}

.billing-customer-card-grid > div {
  display: grid;
  gap: 4px;
}

.billing-customer-card-actions {
  display: flex;
  align-items: flex-start;
}

.dashboard-home .dashboard-board-header {
  padding: 6px 6px 0;
}

.dashboard-home .dashboard-board-header .dashboard-section-kicker {
  color: var(--bc-ui-accent-strong) !important;
}

[data-theme="light"] .dashboard-home .dashboard-board-header h3,
[data-theme="light"] .dashboard-home .dashboard-board-header p,
[data-theme="light"] .dashboard-home .dashboard-surface h2,
[data-theme="light"] .dashboard-home .dashboard-surface h3,
[data-theme="light"] .dashboard-home .dashboard-summary-card h3,
[data-theme="light"] .dashboard-home .status-mini-value,
[data-theme="light"] .dashboard-home .metric-card strong,
[data-theme="light"] .dashboard-home .dashboard-inline-metric strong,
[data-theme="light"] .dashboard-home .dashboard-note-card strong,
[data-theme="light"] .dashboard-home .dashboard-empty strong,
[data-theme="light"] .dashboard-home .auction-metric strong {
  color: var(--bc-ui-heading) !important;
}

[data-theme="light"] .dashboard-home .dashboard-board-header p,
[data-theme="light"] .dashboard-home .dashboard-card-subtitle,
[data-theme="light"] .dashboard-home .dashboard-empty p,
[data-theme="light"] .dashboard-home .dashboard-note-card span,
[data-theme="light"] .dashboard-home .status-mini-meta,
[data-theme="light"] .dashboard-home .metric-card p,
[data-theme="light"] .dashboard-home .auction-metric small {
  color: var(--bc-ui-copy) !important;
}

body:not(.authenticated) .auth-shell {
  grid-template-columns: minmax(420px, 1.04fr) minmax(360px, 0.86fr);
  gap: 44px;
  align-items: center;
}

body:not(.authenticated) .auth-showcase {
  color: var(--bc-ui-heading);
}

body:not(.authenticated) .auth-showcase h1,
body:not(.authenticated) .auth-benefit-copy strong,
body:not(.authenticated) .auth-card h2 {
  color: #faf5ff !important;
}

body:not(.authenticated) .auth-brand-subtitle,
body:not(.authenticated) .auth-showcase p,
body:not(.authenticated) .auth-benefit-copy span,
body:not(.authenticated) .auth-showcase-footer {
  color: #cbbce3 !important;
}

body:not(.authenticated) .auth-benefits li {
  background: rgba(30, 22, 40, 0.76) !important;
  border: 1px solid rgba(216, 180, 254, 0.1) !important;
  box-shadow: 0 18px 34px rgba(12, 9, 18, 0.22) !important;
}

body:not(.authenticated) .auth-benefit-icon,
body:not(.authenticated) .auth-showcase-kicker,
body:not(.authenticated) .auth-portal-kicker {
  background: rgba(168, 85, 247, 0.16) !important;
  border-color: rgba(216, 180, 254, 0.18) !important;
  color: #d8b4fe !important;
}

body:not(.authenticated) .auth-card {
  background: rgba(18, 14, 26, 0.94) !important;
  border: 1px solid rgba(216, 180, 254, 0.12) !important;
  border-radius: 32px !important;
  padding: 40px 40px 28px !important;
}

body:not(.authenticated) .auth-card label,
body:not(.authenticated) .auth-card .subhead,
body:not(.authenticated) .auth-social-note {
  color: #bcaed2 !important;
}

body:not(.authenticated) .auth-card input,
body:not(.authenticated) .auth-card select,
body:not(.authenticated) .auth-card textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(216, 180, 254, 0.12) !important;
  color: #faf5ff !important;
  min-height: 54px;
}

body:not(.authenticated) .auth-card input::placeholder,
body:not(.authenticated) .auth-card textarea::placeholder {
  color: rgba(240, 230, 255, 0.38) !important;
}

body:not(.authenticated) .auth-card input:focus,
body:not(.authenticated) .auth-card select:focus,
body:not(.authenticated) .auth-card textarea:focus {
  border-color: rgba(192, 132, 252, 0.34) !important;
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.12) !important;
}

body:not(.authenticated) .auth-primary-btn {
  width: 100%;
  min-height: 54px;
}

body:not(.authenticated) .auth-link-btn,
body:not(.authenticated) .auth-footer-links button,
body:not(.authenticated) .auth-footer-links a {
  width: auto !important;
  min-height: auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #d8b4fe !important;
}

body:not(.authenticated) .auth-link-btn:hover,
body:not(.authenticated) .auth-footer-links button:hover,
body:not(.authenticated) .auth-footer-links a:hover {
  color: #f5d0fe !important;
  text-decoration: underline;
}

body:not(.authenticated) .auth-secondary-btn {
  background: color-mix(in oklab, var(--bc-ui-panel) 90%, rgba(168, 85, 247, 0.12) 10%) !important;
  color: #f6efff !important;
  border-color: rgba(216, 180, 254, 0.12) !important;
}

body:not(.authenticated) .auth-divider {
  color: #a696c0 !important;
}

body:not(.authenticated) .auth-status-wrap .status {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(216, 180, 254, 0.1) !important;
  color: #d2c6e6 !important;
}

body:not(.authenticated) .auth-password-hint {
  margin-top: 8px;
  color: #b8aacd;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 1580px) {
  .dashboard-summary-grid {
    grid-template-columns: minmax(320px, 0.94fr) minmax(420px, 1.06fr);
  }

  #billing-pane-vendas .billing-list-toolbar-filters-orders {
    grid-template-columns: auto minmax(220px, 1fr) 200px 1fr 1fr auto auto;
  }
}

@media (max-width: 1360px) {
  .dashboard-summary-grid,
  .dashboard-board-grid,
  .dashboard-commerce-kpi-grid,
  .dashboard-commerce-grid,
  .billing-customer-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-control-card {
    grid-column: 1 / -1;
  }

  .dashboard-control-card .checklist-compact {
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-commerce-chart-card-wide {
    grid-column: auto;
  }

  body:not(.authenticated) .auth-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .dashboard-summary-grid,
  .dashboard-board-grid,
  .dashboard-commerce-kpi-grid,
  .dashboard-commerce-grid,
  .billing-customer-card-grid {
    grid-template-columns: 1fr;
  }

  #billing-pane-vendas .billing-list-toolbar-filters-orders {
    grid-template-columns: 1fr !important;
  }

  .checklist-item {
    grid-template-columns: 46px minmax(0, 1fr) !important;
  }

  .checklist-action {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 860px) {
  .content-wrapper,
  .content-wrapper.bidcenter-content {
    width: min(var(--bc-page-max), calc(100% - 18px));
  }

  .billing-customer-row-card {
    grid-template-columns: 1fr;
  }

  .billing-customer-card-actions,
  .billing-customer-card-select {
    justify-content: flex-start;
    padding-top: 0;
  }

  #billing-pane-vendas .billing-sales-rail {
    top: 86px;
    right: 12px;
    width: calc(100vw - 24px);
    max-height: calc(100vh - 100px);
  }
}

@media (max-width: 640px) {
  .header {
    width: calc(100% - 16px) !important;
  }

  .content-wrapper,
  .content-wrapper.bidcenter-content {
    width: calc(100% - 16px);
    max-width: none;
  }

  body:not(.authenticated) .main-content {
    padding: 16px 10px;
  }

  body:not(.authenticated) .content-wrapper {
    width: 100%;
    max-width: none;
  }

  body:not(.authenticated) .auth-shell {
    gap: 14px;
    min-height: auto;
    align-items: stretch;
  }

  body:not(.authenticated) .auth-showcase {
    padding: 0;
    gap: 16px;
  }

  body:not(.authenticated) .auth-showcase h1 {
    font-size: clamp(30px, 11vw, 42px);
    line-height: 1.04;
    max-width: none;
  }

  body:not(.authenticated) .auth-showcase p,
  body:not(.authenticated) .auth-brand-subtitle,
  body:not(.authenticated) .auth-benefit-copy span,
  body:not(.authenticated) .auth-showcase-footer {
    font-size: 14px;
    line-height: 1.55;
    max-width: none;
  }

  body:not(.authenticated) .auth-card {
    padding: 22px 16px 18px !important;
    border-radius: 24px !important;
  }

  .onboarding-modal {
    padding: 8px !important;
    align-items: flex-start !important;
  }

  .onboarding-card,
  .auth-faq-card,
  .billing-delete-card,
  .billing-payment-request-detail-card {
    width: 100% !important;
    max-width: none !important;
    max-height: calc(100dvh - 16px) !important;
    border-radius: 18px !important;
    padding: 16px !important;
    overflow: auto !important;
  }

  .onboarding-grid,
  .onboarding-action-buttons,
  .auth-inline-grid,
  .auth-form-grid {
    grid-template-columns: 1fr !important;
  }

  .onboarding-head {
    grid-template-columns: 1fr !important;
    align-items: flex-start !important;
  }

  .onboarding-head h2 {
    font-size: clamp(22px, 7vw, 28px) !important;
    line-height: 1.08 !important;
  }

  .onboarding-head p,
  .onboarding-note,
  .faq-stack details p {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  body:not(.authenticated) .auth-benefits li {
    padding: 14px;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }

  body:not(.authenticated) .auth-benefit-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  body:not(.authenticated) .auth-brand-logo,
  body:not(.authenticated) .auth-portal-logo {
    width: min(260px, 72vw);
  }

  body:not(.authenticated) .auth-inline-grid,
  body:not(.authenticated) .auth-form-grid {
    grid-template-columns: 1fr !important;
  }
}

/* 2026-03-23: FAQ panel + vendas bulk selection + mobile polish */

#panel-faq .card {
  width: 100%;
}

#panel-faq .row {
  flex-wrap: wrap;
}

#panel-faq .faq-stack {
  display: grid;
  gap: 12px;
}

.billing-select-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
}

.billing-select-cell-head {
  justify-content: flex-start;
}

#billing-pane-vendas .billing-table.orders .billing-table-head,
#billing-pane-vendas .billing-table.orders .billing-table-row {
  grid-template-columns: 42px 140px minmax(220px, 1.35fr) 120px minmax(150px, 1fr) 110px 164px 118px !important;
}

#billing-pane-vendas .billing-table.orders .billing-table-head > div,
#billing-pane-vendas .billing-table.orders .billing-table-row > div {
  min-width: 0;
}

#billing-pane-vendas .billing-table.orders {
  overflow: auto;
}

@media (max-width: 1180px) {
  .header {
    width: calc(100% - 16px) !important;
  }

  .header-subtitle {
    display: none;
  }

  .workspace-nav {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .workspace-menu {
    flex: 0 0 auto;
  }

  .workspace-menu > .panel-btn.workspace-trigger {
    white-space: nowrap;
  }

  #billing-pane-vendas .billing-list-toolbar-head {
    flex-direction: column;
    align-items: stretch;
  }

  #billing-pane-vendas .billing-list-toolbar-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #billing-pane-vendas .billing-list-head-actions {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}

@media (max-width: 860px) {
  #billing-pane-vendas .billing-list-toolbar-filters-orders {
    grid-template-columns: 1fr !important;
  }

  #billing-pane-vendas .billing-date-field {
    width: 100%;
  }

  #billing-pane-vendas .billing-table.orders .billing-table-head,
  #billing-pane-vendas .billing-table.orders .billing-table-row {
    min-width: 1010px;
  }

  #panel-faq .card {
    padding: 16px;
  }
}

@media (max-width: 640px) {
  .main-content {
    padding: 16px 8px 20px;
  }

  .header {
    padding: 12px;
    border-radius: 16px;
  }

  .header-right {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .header-search {
    width: 100%;
    min-width: 0;
    order: 1;
  }

  .header-utility-row {
    order: 2;
  }

  .user-menu {
    order: 3;
    width: 100%;
  }

  #billing-pane-vendas .billing-list-toolbar-actions {
    grid-template-columns: 1fr;
  }

  #billing-pane-vendas .billing-table.orders .billing-table-head,
  #billing-pane-vendas .billing-table.orders .billing-table-row {
    min-width: 980px;
  }
}
