/*
 * OE Fitments App UI pilot
 * Scope: index.html and products.html only, via body.oef-ui-pilot.
 */

body.oef-ui-pilot {
  --pilot-bg: #f5f7fa;
  --pilot-surface: #ffffff;
  --pilot-surface-muted: #f8fafc;
  --pilot-text: #172033;
  --pilot-text-strong: #101828;
  --pilot-muted: #667085;
  --pilot-border: #dfe3e8;
  --pilot-border-strong: #cbd2dc;
  --pilot-primary: #2457d6;
  --pilot-primary-hover: #1d48b8;
  --pilot-primary-soft: #eef4ff;
  --pilot-danger: #b42318;
  --pilot-danger-soft: #fff4f2;
  --pilot-success: #067647;
  --pilot-success-soft: #ecfdf3;
  --pilot-warning: #b54708;
  --pilot-warning-soft: #fffaeb;
  --pilot-radius: 8px;
  --pilot-control-radius: 6px;
  --pilot-shadow: 0 1px 2px rgba(16, 24, 40, .04);
  --pilot-space-1: 4px;
  --pilot-space-2: 8px;
  --pilot-space-3: 12px;
  --pilot-space-4: 16px;
  --pilot-space-5: 24px;
  --pilot-space-6: 32px;
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: var(--pilot-bg) !important;
  color: var(--pilot-text) !important;
  font-family: Arial, "Microsoft YaHei", sans-serif !important;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.oef-ui-pilot,
body.oef-ui-pilot * {
  box-sizing: border-box;
}

body.oef-ui-pilot h1,
body.oef-ui-pilot h2,
body.oef-ui-pilot h3,
body.oef-ui-pilot h4 {
  color: var(--pilot-text-strong) !important;
  letter-spacing: -.015em !important;
}

body.oef-ui-pilot h1 {
  font-size: 28px !important;
  line-height: 1.25 !important;
}

body.oef-ui-pilot h2 {
  font-size: 24px !important;
  line-height: 1.3 !important;
}

body.oef-ui-pilot h3 {
  font-size: 18px !important;
  line-height: 1.4 !important;
}

body.oef-ui-pilot p,
body.oef-ui-pilot .hint,
body.oef-ui-pilot .muted,
body.oef-ui-pilot .oef-note {
  color: var(--pilot-muted) !important;
}

body.oef-ui-pilot a {
  color: var(--pilot-primary);
  text-underline-offset: 3px;
}

body.oef-ui-pilot :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid rgba(36, 87, 214, .24) !important;
  outline-offset: 2px !important;
}

body.oef-ui-pilot :where(input, select, textarea):disabled {
  border-color: var(--pilot-border) !important;
  background: #eef1f5 !important;
  color: #475467 !important;
  cursor: not-allowed;
  opacity: 1 !important;
}

body.oef-ui-pilot :where(input, select, textarea)[aria-invalid="true"] {
  border-color: var(--pilot-danger) !important;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, .1) !important;
}

body.oef-ui-pilot .oef-global-header {
  border-bottom: 1px solid var(--pilot-border) !important;
  background: rgba(255, 255, 255, .98) !important;
  box-shadow: none !important;
  backdrop-filter: blur(12px);
}

body.oef-ui-pilot .oef-nav-inner {
  width: 100% !important;
  max-width: none !important;
  padding-inline: 24px 16px !important;
}

body.oef-ui-pilot .oef-logo {
  color: var(--pilot-text-strong) !important;
  letter-spacing: -.02em !important;
}

body.oef-ui-pilot .oef-nav-link {
  color: #475467 !important;
  font-weight: 700 !important;
}

body.oef-ui-pilot .oef-nav-link:hover,
body.oef-ui-pilot .oef-nav-link.active {
  color: var(--pilot-primary) !important;
  background: var(--pilot-primary-soft) !important;
}

body.oef-ui-pilot .oef-nav-link.active {
  border-bottom-color: var(--pilot-primary) !important;
}

body.oef-ui-pilot .oef-nav-user-trigger {
  border-color: var(--pilot-border) !important;
  border-radius: 6px !important;
  background: var(--pilot-surface) !important;
  color: var(--pilot-text) !important;
  box-shadow: none !important;
}

body.oef-ui-pilot .oef-nav-user-trigger:hover {
  border-color: var(--pilot-border-strong) !important;
  background: var(--pilot-surface-muted) !important;
  color: var(--pilot-primary) !important;
}

body.oef-ui-pilot-tools .oef-global-header .oef-nav-user {
  align-items: center !important;
}

body.oef-ui-pilot-tools .oef-global-header .oef-nav-user-trigger {
  margin: 0 !important;
  align-self: center !important;
}

body.oef-ui-pilot .oef-nav-menu-panel,
body.oef-ui-pilot .oef-nav-user-panel {
  border-color: var(--pilot-border) !important;
  border-radius: var(--pilot-radius) !important;
  box-shadow: 0 12px 28px rgba(16, 24, 40, .12) !important;
}

body.oef-ui-pilot :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  width: 100%;
  border: 1px solid var(--pilot-border-strong) !important;
  border-radius: var(--pilot-control-radius) !important;
  background: var(--pilot-surface) !important;
  color: var(--pilot-text-strong) !important;
  box-shadow: none !important;
  transition: border-color .14s ease, box-shadow .14s ease, background-color .14s ease;
}

body.oef-ui-pilot :where(input:not([type="checkbox"]):not([type="radio"]), select) {
  min-height: 42px !important;
  height: 42px !important;
  padding: 0 12px !important;
}

body.oef-ui-pilot textarea {
  padding: 11px 12px !important;
  line-height: 1.6 !important;
}

body.oef-ui-pilot :where(input, select, textarea):hover:not(:disabled) {
  border-color: #98a2b3 !important;
}

body.oef-ui-pilot :where(input, select, textarea):focus {
  border-color: var(--pilot-primary) !important;
  box-shadow: 0 0 0 3px rgba(36, 87, 214, .12) !important;
}

body.oef-ui-pilot input[type="file"] {
  min-height: 46px !important;
  height: auto !important;
  padding: 6px !important;
}

body.oef-ui-pilot input[type="file"]::file-selector-button {
  min-height: 32px;
  margin-right: 10px;
  padding: 0 12px;
  border: 1px solid var(--pilot-border-strong);
  border-radius: 5px;
  background: var(--pilot-surface-muted);
  color: var(--pilot-text);
  font-weight: 700;
  cursor: pointer;
}

body.oef-ui-pilot label {
  color: #344054 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

body.oef-ui-pilot button:not(.close):not(.oef-nav-user-trigger):not(.oef-nav-logout),
body.oef-ui-pilot .btn,
body.oef-ui-pilot .toolbar-link,
body.oef-ui-pilot .oef-advanced-link,
body.oef-ui-pilot .oef-download-btn {
  min-height: 40px !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 15px !important;
  border-radius: var(--pilot-control-radius) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
  transition: background-color .14s ease, border-color .14s ease, color .14s ease;
}

body.oef-ui-pilot :where(button, .btn, .toolbar-link, .oef-download-btn):active:not(:disabled) {
  filter: brightness(.96);
}

body.oef-ui-pilot :where(button, .btn, .toolbar-link, .oef-download-btn):disabled,
body.oef-ui-pilot :where(button, .btn, .toolbar-link, .oef-download-btn)[aria-disabled="true"] {
  border-color: #d0d5dd !important;
  background: #eaecf0 !important;
  color: #475467 !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
  filter: none !important;
}

body.oef-ui-pilot :where(button, .btn, .toolbar-link, .oef-download-btn)[aria-busy="true"] {
  cursor: progress !important;
}

body.oef-ui-pilot .close {
  width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid transparent !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: #667085 !important;
  font-size: 24px !important;
  line-height: 1 !important;
}

body.oef-ui-pilot .close:hover {
  border-color: var(--pilot-border) !important;
  background: var(--pilot-surface-muted) !important;
  color: var(--pilot-text-strong) !important;
}

body.oef-ui-pilot .note,
body.oef-ui-pilot .alert,
body.oef-ui-pilot .oef-note,
body.oef-ui-pilot .fitment-editor-note,
body.oef-ui-pilot .brand-info-line {
  border-radius: var(--pilot-control-radius) !important;
}

body.oef-ui-pilot .result,
body.oef-ui-pilot .oef-result-box,
body.oef-ui-pilot .selected-part-type,
body.oef-ui-pilot .part-results {
  border-radius: var(--pilot-control-radius) !important;
  box-shadow: none !important;
}

/* Tools pilot */
body.oef-ui-pilot-tools #oefStandaloneOneclick {
  width: calc(100% - 48px) !important;
  max-width: 1160px !important;
  margin: 32px auto 28px !important;
}

body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-standalone-wrap {
  max-width: 1160px !important;
}

body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-standalone-hero {
  margin: 0 0 20px !important;
  padding: 28px 30px !important;
  border: 1px solid var(--pilot-border) !important;
  border-left: 4px solid var(--pilot-primary) !important;
  border-radius: var(--pilot-radius) !important;
  background: var(--pilot-surface) !important;
  color: var(--pilot-text) !important;
  box-shadow: var(--pilot-shadow) !important;
}

body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-standalone-hero h2 {
  margin: 0 0 8px !important;
  color: var(--pilot-text-strong) !important;
  font-size: 26px !important;
}

body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-standalone-hero p {
  max-width: 900px;
  color: var(--pilot-muted) !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}

body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-main-card {
  margin: 0 0 18px !important;
  padding: 28px 30px !important;
  border: 1px solid var(--pilot-border) !important;
  border-radius: var(--pilot-radius) !important;
  background: var(--pilot-surface) !important;
  box-shadow: var(--pilot-shadow) !important;
}

body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-main-card h3 {
  margin: 0 0 8px !important;
  font-size: 20px !important;
}

body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-main-card > p {
  max-width: 920px;
  margin-bottom: 22px !important;
  line-height: 1.65 !important;
}

body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-badge {
  margin-bottom: 12px !important;
  padding: 4px 9px !important;
  border: 1px solid #b7e4c7 !important;
  border-radius: 5px !important;
  background: var(--pilot-success-soft) !important;
  color: var(--pilot-success) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-main-card .oef-badge[style] {
  border-color: #b2ccff !important;
  background: var(--pilot-primary-soft) !important;
  color: var(--pilot-primary) !important;
}

body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-oneclick-panel {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-oneclick-form {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-form-grid {
  gap: 18px 20px !important;
}

body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-field {
  min-width: 0;
  margin: 0 !important;
}

body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-field label {
  margin: 0 0 7px !important;
}

body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-field textarea {
  min-height: 132px !important;
  font-family: Arial, "Microsoft YaHei", sans-serif !important;
}

body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-search-row {
  grid-template-columns: minmax(0, 1fr) 124px !important;
  gap: 8px !important;
}

body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-small-btn,
body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-oneclick-btn {
  border: 1px solid var(--pilot-primary) !important;
  background: var(--pilot-primary) !important;
  color: #ffffff !important;
}

body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-small-btn:hover,
body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-oneclick-btn:hover {
  border-color: var(--pilot-primary-hover) !important;
  background: var(--pilot-primary-hover) !important;
}

body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-oneclick-btn,
body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-advanced-link {
  width: 100% !important;
  min-height: 44px !important;
  height: 44px !important;
}

body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-advanced-link {
  border: 1px solid var(--pilot-border-strong) !important;
  background: var(--pilot-surface) !important;
  color: var(--pilot-text) !important;
}

body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-advanced-link:hover {
  border-color: var(--pilot-primary) !important;
  background: var(--pilot-primary-soft) !important;
  color: var(--pilot-primary) !important;
}

body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-fitment-help {
  border-color: var(--pilot-border) !important;
  border-radius: var(--pilot-control-radius) !important;
  background: var(--pilot-surface-muted) !important;
}

body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-fitment-help summary {
  background: var(--pilot-surface-muted) !important;
  color: var(--pilot-primary) !important;
}

body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-fitment-help summary:hover {
  background: var(--pilot-primary-soft) !important;
}

body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-result-item {
  border-color: var(--pilot-border) !important;
  border-radius: var(--pilot-control-radius) !important;
  background: var(--pilot-surface) !important;
}

body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-result-item:hover {
  border-color: var(--pilot-primary) !important;
  background: var(--pilot-primary-soft) !important;
}

body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-guide-card {
  margin: 0 !important;
  padding: 24px 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--pilot-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-guide-card h3 {
  margin: 0 0 16px !important;
}

body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-guide-steps {
  gap: 0 !important;
  border: 1px solid var(--pilot-border);
  border-radius: var(--pilot-radius);
  background: var(--pilot-surface);
  overflow: hidden;
}

body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-guide-step {
  padding: 18px !important;
  border: 0 !important;
  border-right: 1px solid var(--pilot-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-guide-step:last-child {
  border-right: 0 !important;
}

body.oef-ui-pilot-tools > .container {
  width: 100% !important;
  max-width: 1160px !important;
  padding: 8px 0 64px !important;
}

body.oef-ui-pilot-tools .brand-header {
  margin: 0 0 22px !important;
  padding: 0 !important;
}

body.oef-ui-pilot-tools .brand-header img {
  width: 56px !important;
}

body.oef-ui-pilot-tools .app-workbench-strip {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 0 !important;
  margin: 0 0 24px !important;
  border: 1px solid var(--pilot-border);
  border-radius: var(--pilot-radius);
  background: var(--pilot-surface);
  overflow: hidden;
}

body.oef-ui-pilot-tools .app-workbench-strip a,
body.oef-ui-pilot-tools .app-workbench-strip div {
  min-width: 0;
  padding: 15px 14px !important;
  border: 0 !important;
  border-right: 1px solid var(--pilot-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.oef-ui-pilot-tools .app-workbench-strip a:last-child,
body.oef-ui-pilot-tools .app-workbench-strip div:last-child {
  border-right: 0 !important;
}

body.oef-ui-pilot-tools .app-workbench-strip a:hover {
  background: var(--pilot-primary-soft) !important;
}

body.oef-ui-pilot-tools .info-card,
body.oef-ui-pilot-tools .flow-card,
body.oef-ui-pilot-tools .card,
body.oef-ui-pilot-tools .faq-card {
  margin-bottom: 18px !important;
  padding: 24px 26px !important;
  border: 1px solid var(--pilot-border) !important;
  border-radius: var(--pilot-radius) !important;
  background: var(--pilot-surface) !important;
  box-shadow: var(--pilot-shadow) !important;
}

body.oef-ui-pilot-tools .limit-card {
  border-left: 3px solid var(--pilot-primary) !important;
}

body.oef-ui-pilot-tools .disclaimer-card {
  border-color: #fedf89 !important;
  border-left: 3px solid var(--pilot-warning) !important;
  background: var(--pilot-warning-soft) !important;
}

body.oef-ui-pilot-tools .faq-details summary {
  min-height: 44px;
  color: var(--pilot-text-strong) !important;
}

body.oef-ui-pilot-tools .faq-details summary::after {
  border-radius: 5px !important;
  background: var(--pilot-primary-soft) !important;
  color: var(--pilot-primary) !important;
}

/* Products pilot */
body.oef-ui-pilot-products .wrap {
  width: 100% !important;
  max-width: 1480px !important;
  padding: 30px 24px 64px !important;
}

body.oef-ui-pilot-products .toolbar {
  min-height: 72px !important;
  margin: 0 0 18px !important;
  padding: 14px 16px !important;
  border: 1px solid var(--pilot-border) !important;
  border-radius: var(--pilot-radius) !important;
  background: var(--pilot-surface) !important;
  box-shadow: var(--pilot-shadow) !important;
}

body.oef-ui-pilot-products .toolbar-left,
body.oef-ui-pilot-products .toolbar-actions {
  gap: 8px !important;
}

body.oef-ui-pilot-products .toolbar h1 {
  margin-right: 6px !important;
  font-size: 24px !important;
}

body.oef-ui-pilot-products .btn-blue {
  border: 1px solid var(--pilot-primary) !important;
  background: var(--pilot-primary) !important;
  color: #ffffff !important;
}

body.oef-ui-pilot-products .btn-blue:hover {
  border-color: var(--pilot-primary-hover) !important;
  background: var(--pilot-primary-hover) !important;
}

body.oef-ui-pilot-products .toolbar-link,
body.oef-ui-pilot-products .btn-light,
body.oef-ui-pilot-products .product-clear-btn {
  border: 1px solid var(--pilot-border-strong) !important;
  background: var(--pilot-surface) !important;
  color: #344054 !important;
}

body.oef-ui-pilot-products .toolbar-link:hover,
body.oef-ui-pilot-products .btn-light:hover,
body.oef-ui-pilot-products .product-clear-btn:hover {
  border-color: var(--pilot-primary) !important;
  background: var(--pilot-primary-soft) !important;
  color: var(--pilot-primary) !important;
}

body.oef-ui-pilot-products .product-search-area {
  min-width: 300px;
}

body.oef-ui-pilot-products .product-search-box {
  width: 400px !important;
  height: 42px !important;
  border-color: var(--pilot-border-strong) !important;
  border-radius: var(--pilot-control-radius) !important;
  box-shadow: none !important;
}

body.oef-ui-pilot-products .product-search-box:hover {
  border-color: #98a2b3 !important;
}

body.oef-ui-pilot-products .product-search-box:focus-within {
  outline: 0 !important;
  border-color: var(--pilot-primary) !important;
  box-shadow: 0 0 0 3px rgba(36, 87, 214, .12) !important;
}

body.oef-ui-pilot-products .product-search-input {
  height: 40px !important;
  min-height: 40px !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.oef-ui-pilot-products .product-search-input:focus {
  outline: 0 !important;
  box-shadow: none !important;
}

body.oef-ui-pilot-products .product-search-btn {
  width: 44px !important;
  min-width: 44px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
  border: 0 !important;
  border-left: 1px solid var(--pilot-border) !important;
  border-radius: 0 !important;
  background: var(--pilot-surface-muted) !important;
  color: #475467 !important;
}

body.oef-ui-pilot-products .product-search-btn:hover {
  background: var(--pilot-primary-soft) !important;
  color: var(--pilot-primary) !important;
}

body.oef-ui-pilot-products #productPanel {
  min-height: 360px;
  padding: 0 !important;
  border: 1px solid var(--pilot-border) !important;
  border-radius: var(--pilot-radius) !important;
  background: var(--pilot-surface) !important;
  box-shadow: var(--pilot-shadow) !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}

body.oef-ui-pilot-products #productPanel table.products-table {
  display: table !important;
  width: 100% !important;
  min-width: 1120px !important;
  table-layout: fixed !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--pilot-surface) !important;
  box-shadow: none !important;
}

body.oef-ui-pilot-products #productPanel table.products-table thead {
  display: table-header-group !important;
}

body.oef-ui-pilot-products #productPanel table.products-table tbody {
  display: table-row-group !important;
}

body.oef-ui-pilot-products #productPanel table.products-table tr {
  display: table-row !important;
  height: 76px !important;
  border: 0 !important;
  background: var(--pilot-surface) !important;
}

body.oef-ui-pilot-products #productPanel table.products-table th,
body.oef-ui-pilot-products #productPanel table.products-table td {
  display: table-cell !important;
  position: static !important;
  width: auto;
  min-width: 0 !important;
  padding: 11px 10px !important;
  border: 0 !important;
  border-bottom: 1px solid #eaecf0 !important;
  color: #344054 !important;
  text-align: left !important;
  vertical-align: middle !important;
}

body.oef-ui-pilot-products #productPanel table.products-table th {
  height: 48px !important;
  background: var(--pilot-surface-muted) !important;
  color: #475467 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .01em;
  white-space: nowrap;
}

body.oef-ui-pilot-products #productPanel table.products-table td::before {
  content: none !important;
  display: none !important;
}

body.oef-ui-pilot-products #productPanel table.products-table tbody tr:hover,
body.oef-ui-pilot-products #productPanel table.products-table tbody tr:hover td {
  background: #fafcff !important;
}

body.oef-ui-pilot-products #productPanel table.products-table tbody tr:last-child td {
  border-bottom: 0 !important;
}

body.oef-ui-pilot-products #productPanel .product-info-col {
  width: 18% !important;
}

body.oef-ui-pilot-products #productPanel .product-brand-code-col {
  width: 13% !important;
}

body.oef-ui-pilot-products #productPanel .product-part-type-col {
  width: 13% !important;
}

body.oef-ui-pilot-products #productPanel .product-fitment-col {
  width: 12% !important;
}

body.oef-ui-pilot-products #productPanel .xml-download-col {
  width: 96px !important;
  text-align: center !important;
}

body.oef-ui-pilot-products #productPanel .xml-change-col {
  width: 118px !important;
  text-align: center !important;
}

body.oef-ui-pilot-products #productPanel .product-edit-col {
  width: 98px !important;
  text-align: center !important;
}

body.oef-ui-pilot-products #productPanel .product-log-col {
  width: 86px !important;
  text-align: center !important;
}

body.oef-ui-pilot-products #productPanel .product-delete-col {
  width: 64px !important;
  text-align: center !important;
}

body.oef-ui-pilot-products .product-mpn,
body.oef-ui-pilot-products .product-part-type strong {
  color: var(--pilot-text-strong) !important;
  font-weight: 700 !important;
}

body.oef-ui-pilot-products .product-name,
body.oef-ui-pilot-products .product-part-type span,
body.oef-ui-pilot-products .product-note,
body.oef-ui-pilot-products .product-fitment-meta {
  color: var(--pilot-muted) !important;
}

body.oef-ui-pilot-products .tag {
  padding: 3px 7px !important;
  border: 1px solid #b2ccff !important;
  border-radius: 5px !important;
  background: var(--pilot-primary-soft) !important;
  color: var(--pilot-primary) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

body.oef-ui-pilot-products #productPanel .xml-action-stack {
  align-items: stretch !important;
}

body.oef-ui-pilot-products #productPanel .xml-download-btn,
body.oef-ui-pilot-products #productPanel .xml-change-btn,
body.oef-ui-pilot-products #productPanel .fitment-edit-link,
body.oef-ui-pilot-products #productPanel .product-log-btn,
body.oef-ui-pilot-products #productPanel .product-row-delete {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 34px !important;
  height: 34px !important;
  padding: 0 8px !important;
  border-radius: 5px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

body.oef-ui-pilot-products #productPanel .xml-download-btn {
  border: 1px solid var(--pilot-primary) !important;
  background: var(--pilot-primary) !important;
  color: #ffffff !important;
}

body.oef-ui-pilot-products #productPanel .xml-download-btn:hover {
  border-color: var(--pilot-primary-hover) !important;
  background: var(--pilot-primary-hover) !important;
}

body.oef-ui-pilot-products #productPanel .xml-change-btn,
body.oef-ui-pilot-products #productPanel .fitment-edit-link,
body.oef-ui-pilot-products #productPanel .product-log-btn {
  border: 1px solid var(--pilot-border-strong) !important;
  background: var(--pilot-surface) !important;
  color: #344054 !important;
}

body.oef-ui-pilot-products #productPanel .xml-change-btn:hover,
body.oef-ui-pilot-products #productPanel .fitment-edit-link:hover,
body.oef-ui-pilot-products #productPanel .product-log-btn:hover {
  border-color: var(--pilot-primary) !important;
  background: var(--pilot-primary-soft) !important;
  color: var(--pilot-primary) !important;
}

body.oef-ui-pilot-products #productPanel .product-row-delete {
  border: 1px solid #fecdca !important;
  background: var(--pilot-surface) !important;
  color: var(--pilot-danger) !important;
}

body.oef-ui-pilot-products #productPanel .product-row-delete:hover {
  border-color: var(--pilot-danger) !important;
  background: var(--pilot-danger-soft) !important;
  color: #912018 !important;
}

body.oef-ui-pilot-products .product-table-footer {
  min-height: 60px;
  margin: 0 !important;
  padding: 12px 16px !important;
  border-top: 1px solid var(--pilot-border);
  background: var(--pilot-surface);
}

body.oef-ui-pilot-products .product-page-size {
  width: auto !important;
  min-height: 34px !important;
  height: 34px !important;
  padding: 0 28px 0 9px !important;
  font-size: 12px !important;
}

body.oef-ui-pilot-products .product-pagination button {
  min-height: 34px !important;
  height: 34px !important;
  border: 1px solid var(--pilot-border-strong) !important;
  background: var(--pilot-surface) !important;
  color: #344054 !important;
}

body.oef-ui-pilot-products .product-pagination button:hover:not(:disabled) {
  border-color: var(--pilot-primary) !important;
  background: var(--pilot-primary-soft) !important;
  color: var(--pilot-primary) !important;
}

body.oef-ui-pilot-products .empty {
  min-width: 0;
  height: 340px !important;
  padding: 40px 24px;
  background: var(--pilot-surface) !important;
}

body.oef-ui-pilot-products .empty img {
  width: 72px !important;
  opacity: .65 !important;
}

body.oef-ui-pilot-products .modal-mask {
  align-items: center !important;
  padding: 24px !important;
  z-index: 1000000 !important;
  background: rgba(16, 24, 40, .55) !important;
  backdrop-filter: blur(2px);
  overflow: hidden !important;
}

body.oef-ui-pilot-products .modal {
  display: flex !important;
  width: 860px !important;
  max-width: min(860px, calc(100vw - 48px)) !important;
  max-height: calc(100dvh - 48px) !important;
  margin: 0 !important;
  flex-direction: column !important;
  border: 1px solid var(--pilot-border) !important;
  border-radius: var(--pilot-radius) !important;
  background: var(--pilot-surface) !important;
  box-shadow: 0 24px 48px rgba(16, 24, 40, .18) !important;
  overflow: hidden !important;
}

body.oef-ui-pilot-products .xml-result-modal {
  width: 600px !important;
  max-width: min(600px, calc(100vw - 48px)) !important;
}

body.oef-ui-pilot-products .modal-head {
  min-height: 64px !important;
  height: 64px !important;
  padding: 0 22px !important;
  flex: 0 0 auto;
  border-bottom: 1px solid var(--pilot-border) !important;
  background: var(--pilot-surface) !important;
}

body.oef-ui-pilot-products .modal-head h2 {
  font-size: 18px !important;
}

body.oef-ui-pilot-products .modal-body {
  min-height: 0;
  padding: 24px !important;
  flex: 1 1 auto;
  overflow-y: auto !important;
  overscroll-behavior: contain;
}

body.oef-ui-pilot-products .modal-foot {
  min-height: 68px;
  padding: 14px 22px !important;
  flex: 0 0 auto;
  align-items: center;
  border-top: 1px solid var(--pilot-border) !important;
  background: var(--pilot-surface-muted) !important;
}

body.oef-ui-pilot-products .modal-foot .btn {
  width: auto !important;
  min-width: 120px !important;
}

body.oef-ui-pilot-products .alert {
  padding: 14px 16px !important;
  border: 1px solid #fecdca !important;
  border-left: 3px solid var(--pilot-danger) !important;
  background: var(--pilot-danger-soft) !important;
  color: #7a271a !important;
}

body.oef-ui-pilot-products .field {
  margin-bottom: 18px !important;
}

body.oef-ui-pilot-products .field label {
  margin-bottom: 7px !important;
}

body.oef-ui-pilot-products .part-type-search-row {
  grid-template-columns: minmax(0, 1fr) 112px !important;
  gap: 8px !important;
}

body.oef-ui-pilot-products .part-type-search-row input,
body.oef-ui-pilot-products .part-type-search-row button {
  min-height: 42px !important;
  height: 42px !important;
  border-radius: var(--pilot-control-radius) !important;
}

body.oef-ui-pilot-products .part-type-search-row input {
  border-width: 1px !important;
}

body.oef-ui-pilot-products .part-type-search-row button,
body.oef-ui-pilot-products .fitment-add-row button {
  border: 1px solid var(--pilot-primary) !important;
  background: var(--pilot-primary) !important;
  color: #ffffff !important;
}

body.oef-ui-pilot-products .brand-bind-box,
body.oef-ui-pilot-products .fitment-editor {
  padding: 14px !important;
  border: 1px solid var(--pilot-border) !important;
  border-radius: var(--pilot-control-radius) !important;
  background: var(--pilot-surface-muted) !important;
}

body.oef-ui-pilot-products .fitment-row,
body.oef-ui-pilot-products .fitment-empty,
body.oef-ui-pilot-products .fitment-format-note {
  border-color: var(--pilot-border) !important;
  border-radius: var(--pilot-control-radius) !important;
  box-shadow: none !important;
}

body.oef-ui-pilot-products .fitment-delete-btn {
  border: 1px solid #fecdca !important;
  background: var(--pilot-danger-soft) !important;
  color: var(--pilot-danger) !important;
}

body.oef-ui-pilot-products .fitment-refresh-btn,
body.oef-ui-pilot-products .fitment-format-help summary {
  border-color: #b2ccff !important;
  background: var(--pilot-primary-soft) !important;
  color: var(--pilot-primary) !important;
}

body.oef-ui-pilot-products .product-log-table-wrap {
  max-width: 100%;
  overflow-x: auto !important;
}

body.oef-ui-pilot-products .product-log-table {
  min-width: 760px !important;
  border: 1px solid var(--pilot-border) !important;
  border-radius: var(--pilot-control-radius) !important;
  box-shadow: none !important;
}

body.oef-ui-pilot-products .product-log-status {
  border: 1px solid #abefc6 !important;
  border-radius: 5px !important;
  background: var(--pilot-success-soft) !important;
  color: var(--pilot-success) !important;
}

body.oef-ui-pilot-products .product-log-status.is-failed {
  border-color: #fecdca !important;
  background: var(--pilot-danger-soft) !important;
  color: var(--pilot-danger) !important;
}

body.oef-ui-pilot-products .xml-result-actions {
  gap: 8px !important;
}

body.oef-ui-pilot-products .xml-result-download {
  border: 1px solid var(--pilot-primary) !important;
  background: var(--pilot-primary) !important;
  color: #ffffff !important;
}

body.oef-ui-pilot-products .xml-result-download.secondary,
body.oef-ui-pilot-products .xml-result-download.warning {
  border-color: var(--pilot-border-strong) !important;
  background: var(--pilot-surface) !important;
  color: #344054 !important;
}

body.oef-ui-pilot-products .xml-result-warning {
  border-color: #fedf89 !important;
  background: var(--pilot-warning-soft) !important;
  color: var(--pilot-warning) !important;
}

body.oef-ui-pilot-products .oef-limit-modal-mask {
  background: rgba(16, 24, 40, .55) !important;
  backdrop-filter: blur(2px);
}

body.oef-ui-pilot-products .oef-limit-modal {
  border: 1px solid var(--pilot-border) !important;
  border-radius: var(--pilot-radius) !important;
  box-shadow: 0 24px 48px rgba(16, 24, 40, .18) !important;
}

body.oef-ui-pilot-products .oef-limit-modal-cancel {
  border: 1px solid var(--pilot-border-strong) !important;
  background: var(--pilot-surface) !important;
  color: #344054 !important;
}

body.oef-ui-pilot-products .oef-limit-modal-upgrade {
  border: 1px solid var(--pilot-primary) !important;
  background: var(--pilot-primary) !important;
  color: #ffffff !important;
}

/* Unified App backend */
body.oef-ui-pilot-app-page {
  --pilot-page-width: 1280px;
}

body.oef-ui-pilot-app-page main.wrap,
body.oef-ui-pilot-app-page .page > .wrap,
body.oef-ui-pilot-app-page > .container {
  width: 100%;
  max-width: var(--pilot-page-width);
  margin: 0 auto;
  padding: 30px 24px 64px;
}

body.oef-ui-pilot-app-page .page {
  min-width: 0;
}

body.oef-ui-pilot-app-page :where(.wrap, .page, .container, .layout, .panel, .card) {
  min-width: 0;
  max-width: 100%;
}

body.oef-ui-pilot-app-page :where(h1, .page-title) {
  margin: 0 0 var(--pilot-space-2) !important;
  color: var(--pilot-text-strong) !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

body.oef-ui-pilot-app-page :where(.page-desc, .desc, .intro, .page-subtitle) {
  max-width: 920px;
  margin: 0 0 var(--pilot-space-5);
  color: var(--pilot-muted) !important;
  font-size: 14px;
  line-height: 1.7;
}

body.oef-ui-pilot-app-page :where(.panel, .card, .form-card) {
  border: 1px solid var(--pilot-border);
  border-radius: var(--pilot-radius);
  background: var(--pilot-surface);
  box-shadow: var(--pilot-shadow);
}

body.oef-ui-pilot-app-page :where(.panel-title, .panel-head, .card-head, .modal-head) {
  border-bottom-color: var(--pilot-border) !important;
  background: var(--pilot-surface-muted) !important;
  color: var(--pilot-text-strong) !important;
}

body.oef-ui-pilot-app-page :where(.toolbar, .filters, .search-card) {
  border-color: var(--pilot-border) !important;
  border-radius: var(--pilot-radius) !important;
  background: var(--pilot-surface) !important;
  box-shadow: var(--pilot-shadow) !important;
}

body.oef-ui-pilot-app-page :where(.table-wrap, .oef-table-wrap, .pcdb-table-wrap, #filesBox, #recordsBox) {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

body.oef-ui-pilot-app-page table {
  width: 100%;
  border-collapse: collapse;
  background: var(--pilot-surface);
}

body.oef-ui-pilot-app-page :where(th, td) {
  padding: 12px 14px;
  border-color: var(--pilot-border) !important;
  font-size: 13px;
  line-height: 1.45;
  vertical-align: middle;
}

body.oef-ui-pilot-app-page th {
  background: var(--pilot-surface-muted) !important;
  color: #344054 !important;
  font-size: 12px;
  font-weight: 800 !important;
  letter-spacing: .01em;
}

body.oef-ui-pilot-app-page tbody tr:hover > td {
  background: #f8fbff !important;
}

body.oef-ui-pilot-app-page :where(.empty, .loading, .empty-box) {
  padding: 42px 24px;
  color: var(--pilot-muted) !important;
  text-align: center;
}

body.oef-ui-pilot-app-page :where(.pager, .footerbar, .pcdb-pager) {
  border-top-color: var(--pilot-border) !important;
  background: var(--pilot-surface);
  color: var(--pilot-muted) !important;
}

body.oef-ui-pilot-app-page :where(.primary-btn, .btn-blue, .btn-primary, .top-btn, .save-btn, .pcdb-search-btn) {
  border: 1px solid var(--pilot-primary) !important;
  background: var(--pilot-primary) !important;
  color: #ffffff !important;
}

body.oef-ui-pilot-app-page :where(.primary-btn, .btn-blue, .btn-primary, .top-btn, .save-btn, .pcdb-search-btn):hover:not(:disabled) {
  border-color: var(--pilot-primary-hover) !important;
  background: var(--pilot-primary-hover) !important;
}

body.oef-ui-pilot-app-page :where(.gray-btn, .btn-light, .btn-gray, .cancel-btn, .secondary, .small-btn) {
  border: 1px solid var(--pilot-border-strong) !important;
  background: var(--pilot-surface) !important;
  color: #344054 !important;
}

body.oef-ui-pilot-app-page :where(.gray-btn, .btn-light, .btn-gray, .cancel-btn, .secondary, .small-btn):hover:not(:disabled) {
  border-color: var(--pilot-primary) !important;
  background: var(--pilot-primary-soft) !important;
  color: var(--pilot-primary) !important;
}

body.oef-ui-pilot-app-page :where(.modal-mask, .modal-backdrop, .renew-modal-backdrop) {
  padding: 24px;
  background: rgba(16, 24, 40, .55) !important;
  backdrop-filter: blur(2px);
  overflow: hidden;
}

body.oef-ui-pilot-app-page :where(.modal, .renew-modal) {
  max-width: min(860px, calc(100vw - 48px));
  max-height: calc(100dvh - 48px);
  border: 1px solid var(--pilot-border) !important;
  border-radius: var(--pilot-radius) !important;
  background: var(--pilot-surface) !important;
  box-shadow: 0 24px 48px rgba(16, 24, 40, .18) !important;
  overflow: hidden;
}

body.oef-ui-pilot-app-page :where(.modal-body, .renew-modal-body) {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

body.oef-ui-pilot-app-page :where(.modal-foot, .modal-actions, .renew-modal-actions) {
  border-top-color: var(--pilot-border) !important;
  background: var(--pilot-surface-muted) !important;
}

/* Data query and file management */
body.oef-ui-pilot-vehicle-data .page {
  padding: 30px 24px 64px !important;
  background: var(--pilot-bg) !important;
}

body.oef-ui-pilot-vehicle-data .page > .wrap {
  max-width: 1280px !important;
  padding: 0 !important;
}

body.oef-ui-pilot-vehicle-data .page .card {
  margin-bottom: 18px !important;
  border-color: var(--pilot-border) !important;
  border-radius: var(--pilot-radius) !important;
  box-shadow: var(--pilot-shadow) !important;
}

body.oef-ui-pilot-vehicle-data .page .search-card {
  padding: 20px !important;
}

body.oef-ui-pilot-vehicle-data .page :where(select, input) {
  border-radius: var(--pilot-control-radius) !important;
}

body.oef-ui-pilot-vehicle-data .page .btn {
  border-radius: var(--pilot-control-radius) !important;
}

body.oef-ui-pilot-vehicle-data .page :where(.btn-blue, .btn-green) {
  border: 1px solid var(--pilot-primary) !important;
  background: var(--pilot-primary) !important;
}

body.oef-ui-pilot-vehicle-data .page :where(.btn-orange, .btn-gray) {
  border: 1px solid var(--pilot-border-strong) !important;
  background: var(--pilot-surface) !important;
  color: #344054 !important;
}

body.oef-ui-pilot-vehicle-data .page :where(.table-wrap, .option-list) {
  overscroll-behavior: contain;
}

body.oef-ui-pilot-vehicle-data .copyright {
  margin-top: 28px;
  color: var(--pilot-muted) !important;
  text-align: center;
}

body.oef-ui-pilot-vehicle-data #oefAcesSampleMask {
  background: rgba(16, 24, 40, .55);
  backdrop-filter: blur(2px);
}

body.oef-ui-pilot-vehicle-data #oefAcesSampleModal {
  width: 680px;
  max-width: calc(100vw - 48px);
  max-height: calc(100dvh - 48px);
  border: 1px solid var(--pilot-border);
  border-radius: var(--pilot-radius);
  background: var(--pilot-surface);
  box-shadow: 0 24px 48px rgba(16, 24, 40, .18);
  overflow: hidden;
}

body.oef-ui-pilot-vehicle-data .oef-aces-modal-head {
  min-height: 60px;
  height: 60px;
  border-bottom-color: var(--pilot-border);
  background: var(--pilot-surface-muted);
}

body.oef-ui-pilot-vehicle-data .oef-aces-modal-body {
  max-height: calc(100dvh - 108px);
  padding: 22px;
  overflow-y: auto;
}

body.oef-ui-pilot-vehicle-data :where(.oef-aces-btn, .oef-aces-close) {
  border-radius: var(--pilot-control-radius) !important;
}

body.oef-ui-pilot-part-type-data {
  --pilot-page-width: 1280px;
}

body.oef-ui-pilot-part-type-data .pcdb-card {
  padding: 26px;
  border-radius: var(--pilot-radius);
  box-shadow: var(--pilot-shadow);
}

body.oef-ui-pilot-part-type-data .pcdb-title-row {
  justify-content: space-between;
  margin-bottom: var(--pilot-space-5);
}

body.oef-ui-pilot-part-type-data .pcdb-download-btn {
  display: inline-flex;
  min-height: 40px;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pilot-border-strong);
  border-radius: var(--pilot-control-radius);
  background: var(--pilot-surface);
  color: #344054;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

body.oef-ui-pilot-part-type-data .pcdb-form {
  gap: 16px;
  margin-bottom: 18px;
}

body.oef-ui-pilot-part-type-data .pcdb-table-card {
  margin-top: 18px;
  border-color: var(--pilot-border);
  border-radius: var(--pilot-control-radius);
  overflow: hidden;
}

body.oef-ui-pilot-part-type-data .pcdb-table-toolbar {
  border-bottom-color: var(--pilot-border);
  background: var(--pilot-surface-muted);
}

body.oef-ui-pilot-part-type-data .pcdb-mini-search input {
  width: 180px;
}

body.oef-ui-pilot-part-type-data .pcdb-pager-buttons button {
  min-width: 40px !important;
}

body.oef-ui-pilot-my-files .toolbar {
  gap: 16px;
  padding: 18px;
}

body.oef-ui-pilot-my-files .panel {
  overflow: hidden;
}

body.oef-ui-pilot-my-files .file-table {
  min-width: 920px;
}

body.oef-ui-pilot-my-files .file-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

body.oef-ui-pilot-my-files .file-action-button {
  min-height: 34px !important;
  height: 34px !important;
  padding: 0 10px !important;
}

body.oef-ui-pilot-my-files .download-file {
  border: 1px solid var(--pilot-primary) !important;
  background: var(--pilot-primary) !important;
  color: #ffffff !important;
}

body.oef-ui-pilot-my-files .delete-file {
  border: 1px solid #fecdca !important;
  background: var(--pilot-surface) !important;
  color: var(--pilot-danger) !important;
}

/* Imports, exports, brands, usage, and advanced tool flow */
body:is(.oef-ui-pilot-import, .oef-ui-pilot-export) {
  --pilot-page-width: 1100px;
}

body:is(.oef-ui-pilot-import, .oef-ui-pilot-export) .card {
  margin-bottom: 18px;
  padding: 26px;
}

body:is(.oef-ui-pilot-import, .oef-ui-pilot-export) .card h2 {
  margin: 0 0 18px;
  font-size: 18px !important;
}

body:is(.oef-ui-pilot-import, .oef-ui-pilot-export) .note {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid #b2ccff !important;
  border-radius: var(--pilot-control-radius) !important;
  background: var(--pilot-primary-soft) !important;
  color: #344054 !important;
}

body:is(.oef-ui-pilot-import, .oef-ui-pilot-export) .result {
  margin-top: 16px;
  padding: 14px 16px;
  border-color: var(--pilot-border) !important;
  background: var(--pilot-surface-muted) !important;
}

body.oef-ui-pilot-import .btn-dark {
  border: 1px solid var(--pilot-primary) !important;
  background: var(--pilot-primary) !important;
  color: #ffffff !important;
}

body.oef-ui-pilot-import input[type="file"] {
  width: 100%;
  margin: 16px 0;
}

body.oef-ui-pilot-export .row {
  gap: 10px;
  margin-top: 16px;
}

body.oef-ui-pilot-export .row select {
  width: min(360px, 100%);
}

body.oef-ui-pilot-usage .summary-grid {
  gap: 14px;
  margin-bottom: 18px;
}

body.oef-ui-pilot-usage .summary-card {
  padding: 18px;
  border: 1px solid var(--pilot-border);
  border-radius: var(--pilot-radius);
  background: var(--pilot-surface);
  box-shadow: var(--pilot-shadow);
}

body.oef-ui-pilot-usage .summary-card span {
  margin-bottom: 8px;
  color: var(--pilot-muted) !important;
  font-size: 13px;
}

body.oef-ui-pilot-usage .summary-card strong {
  color: var(--pilot-text-strong) !important;
  font-size: 26px;
}

body.oef-ui-pilot-usage .toolbar {
  gap: 14px;
  padding: 18px;
}

body.oef-ui-pilot-usage .panel {
  overflow: hidden;
}

body.oef-ui-pilot-usage .usage-table {
  min-width: 820px;
}

body.oef-ui-pilot-usage :where(.status-ok, .status-bad) {
  font-weight: 800;
}

body.oef-ui-pilot-usage .status-ok {
  color: var(--pilot-success) !important;
}

body.oef-ui-pilot-usage .status-bad {
  color: var(--pilot-danger) !important;
}

body.oef-ui-pilot-brands .panel {
  overflow: hidden;
}

body.oef-ui-pilot-brands .panel-toolbar {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--pilot-border);
  background: var(--pilot-surface-muted);
}

body.oef-ui-pilot-brands #brandsBox:not(.empty-state) {
  max-width: 100%;
  overflow-x: auto;
}

body.oef-ui-pilot-brands .brand-table {
  min-width: 1280px;
}

body.oef-ui-pilot-brands .empty-state {
  min-height: 300px;
  padding: 40px 24px;
}

body.oef-ui-pilot-brands .empty-icon {
  width: 84px;
  height: 64px;
  margin-bottom: 18px;
  border: 1px solid #b2ccff;
  border-radius: var(--pilot-radius);
  background: var(--pilot-primary-soft);
}

body.oef-ui-pilot-brands .empty-icon::before {
  width: 42px;
  height: 26px;
  left: 20px;
  top: 18px;
  border-radius: 5px;
  background: var(--pilot-primary);
}

body.oef-ui-pilot-brands .row-actions {
  flex-wrap: nowrap;
}

body.oef-ui-pilot-brands .action-btn {
  min-height: 34px !important;
  height: 34px !important;
  padding: 0 9px !important;
  border: 1px solid var(--pilot-border-strong) !important;
  background: var(--pilot-surface) !important;
  color: #344054 !important;
}

body.oef-ui-pilot-brands .action-btn.primary {
  border-color: #b2ccff !important;
  background: var(--pilot-primary-soft) !important;
  color: var(--pilot-primary) !important;
}

body.oef-ui-pilot-brands .action-btn.danger {
  border-color: #fecdca !important;
  background: var(--pilot-surface) !important;
  color: var(--pilot-danger) !important;
}

body.oef-ui-pilot-brands .modal {
  display: flex;
  width: 700px;
  flex-direction: column;
}

body.oef-ui-pilot-brands .modal-head {
  min-height: 60px;
  height: 60px;
  padding: 0 20px;
  flex: 0 0 auto;
}

body.oef-ui-pilot-brands .modal-body {
  padding: 22px 20px;
  background: var(--pilot-surface) !important;
}

body.oef-ui-pilot-brands .modal-foot {
  margin: 20px -20px -22px;
  padding: 14px 20px;
  gap: 8px;
}

body.oef-ui-pilot-brands .modal-foot :where(.cancel-btn, .save-btn) {
  width: auto;
  min-width: 120px;
}

body.oef-ui-pilot-brands .contact-card {
  border-color: var(--pilot-border) !important;
  border-radius: var(--pilot-control-radius) !important;
  background: var(--pilot-surface-muted) !important;
}

body.oef-ui-pilot-brands .wechat-box img {
  max-width: 180px;
  height: auto;
}

body.oef-ui-pilot-flow {
  --pilot-page-width: 1160px;
}

body.oef-ui-pilot-flow > .container {
  padding-top: 30px;
}

body.oef-ui-pilot-flow .brand-header {
  margin-bottom: 8px;
}

body.oef-ui-pilot-flow .brand-header img {
  width: 52px;
  height: auto;
}

body.oef-ui-pilot-flow > .container > p {
  margin: 0 0 24px;
  color: var(--pilot-muted) !important;
}

body.oef-ui-pilot-flow :where(.flow-card, .info-card, .card, .faq-card) {
  margin-bottom: 18px;
  padding: 24px 26px;
  border: 1px solid var(--pilot-border) !important;
  border-radius: var(--pilot-radius) !important;
  background: var(--pilot-surface) !important;
  box-shadow: var(--pilot-shadow) !important;
}

body.oef-ui-pilot-flow :where(.flow-card, .info-card, .card, .faq-card) h2 {
  margin: 0 0 14px !important;
  font-size: 19px !important;
}

body.oef-ui-pilot-flow .flow-steps {
  gap: 0;
  border: 1px solid var(--pilot-border);
  border-radius: var(--pilot-control-radius);
  overflow: hidden;
}

body.oef-ui-pilot-flow .flow-step {
  padding: 18px;
  border: 0;
  border-right: 1px solid var(--pilot-border);
  border-radius: 0;
  background: transparent;
}

body.oef-ui-pilot-flow .flow-step:last-child {
  border-right: 0;
}

body.oef-ui-pilot-flow .flow-actions {
  gap: 8px;
  margin-top: 16px;
}

body.oef-ui-pilot-flow .flow-actions a,
body.oef-ui-pilot-flow .links a {
  display: inline-flex;
  min-height: 40px;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pilot-border-strong);
  border-radius: var(--pilot-control-radius);
  background: var(--pilot-surface);
  color: var(--pilot-primary);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

body.oef-ui-pilot-flow :where(#textForm, #generateForm) {
  margin-top: 20px;
}

body.oef-ui-pilot-flow :where(#textForm, #generateForm) > button[type="submit"],
body.oef-ui-pilot-flow #searchPartTypeBtn {
  border: 1px solid var(--pilot-primary) !important;
  background: var(--pilot-primary) !important;
  color: #ffffff !important;
}

body.oef-ui-pilot-flow .grid {
  gap: 16px;
}

body.oef-ui-pilot-flow .note {
  border-color: #b2ccff !important;
  background: var(--pilot-primary-soft) !important;
  color: #344054 !important;
}

body.oef-ui-pilot-flow .result {
  border-color: var(--pilot-border) !important;
  background: var(--pilot-surface-muted) !important;
}

/* Dashboard, account, plans, subscriptions, orders, and payment */
body.oef-ui-pilot-app-page .oef-global-header .oef-nav-user {
  align-items: center !important;
}

body.oef-ui-pilot-app-page .oef-global-header .oef-nav-user-trigger {
  margin: 0 !important;
  align-self: center !important;
}

body:is(.oef-ui-pilot-account, .oef-ui-pilot-change-password, .oef-ui-pilot-plans, .oef-ui-pilot-subscription, .oef-ui-pilot-orders, .oef-ui-pilot-invoices) {
  --pilot-page-width: 1180px;
}

body:is(.oef-ui-pilot-account, .oef-ui-pilot-change-password, .oef-ui-pilot-plans, .oef-ui-pilot-subscription, .oef-ui-pilot-orders, .oef-ui-pilot-invoices) .account-tabs {
  display: flex;
  min-height: 52px;
  margin: 0 0 20px;
  padding: 0 10px;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--pilot-border);
  border-radius: var(--pilot-radius);
  background: var(--pilot-surface);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}

body:is(.oef-ui-pilot-account, .oef-ui-pilot-change-password, .oef-ui-pilot-plans, .oef-ui-pilot-subscription, .oef-ui-pilot-orders, .oef-ui-pilot-invoices) .account-tabs a {
  display: inline-flex;
  min-width: max-content;
  height: 50px;
  padding: 0 14px;
  align-items: center;
  border-bottom: 2px solid transparent;
  color: #475467;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

body:is(.oef-ui-pilot-account, .oef-ui-pilot-change-password, .oef-ui-pilot-plans, .oef-ui-pilot-subscription, .oef-ui-pilot-orders, .oef-ui-pilot-invoices) .account-tabs a:hover,
body:is(.oef-ui-pilot-account, .oef-ui-pilot-change-password, .oef-ui-pilot-plans, .oef-ui-pilot-subscription, .oef-ui-pilot-orders, .oef-ui-pilot-invoices) .account-tabs a.active {
  border-bottom-color: var(--pilot-primary);
  background: var(--pilot-primary-soft);
  color: var(--pilot-primary);
}

body:is(.oef-ui-pilot-account, .oef-ui-pilot-change-password, .oef-ui-pilot-plans, .oef-ui-pilot-subscription, .oef-ui-pilot-orders, .oef-ui-pilot-invoices) .panel {
  margin-bottom: 20px;
}

body:is(.oef-ui-pilot-account, .oef-ui-pilot-change-password) .form-card {
  width: 100%;
  max-width: 760px;
}

body:is(.oef-ui-pilot-account, .oef-ui-pilot-change-password, .oef-ui-pilot-invoices) .panel-title {
  min-height: 58px;
  height: auto;
  padding: 10px 18px;
}

body:is(.oef-ui-pilot-account, .oef-ui-pilot-change-password, .oef-ui-pilot-invoices) .panel-body {
  padding: 22px;
}

body:is(.oef-ui-pilot-account, .oef-ui-pilot-change-password, .oef-ui-pilot-invoices) .panel-body > label {
  margin: 0 0 7px;
}

body:is(.oef-ui-pilot-account, .oef-ui-pilot-change-password) .panel-body > input,
body.oef-ui-pilot-change-password .password-box {
  margin-bottom: 16px;
}

body:is(.oef-ui-pilot-account, .oef-ui-pilot-change-password) .btn-row {
  display: flex;
  margin-top: 20px;
  justify-content: flex-end;
}

body.oef-ui-pilot-dashboard .page-head {
  margin-bottom: 22px;
  align-items: flex-start;
}

body.oef-ui-pilot-dashboard .page-status {
  border: 1px solid #b2ccff;
  border-radius: 5px;
  background: var(--pilot-primary-soft);
  color: var(--pilot-primary);
  font-size: 12px;
  font-weight: 800;
}

body.oef-ui-pilot-dashboard .quick-actions {
  gap: 14px;
  margin-bottom: 18px;
}

body.oef-ui-pilot-dashboard .action {
  min-height: 132px;
  padding: 20px;
  border: 1px solid var(--pilot-border);
  border-radius: var(--pilot-radius);
  background: var(--pilot-surface);
  box-shadow: var(--pilot-shadow);
}

body.oef-ui-pilot-dashboard .action:hover {
  border-color: #b2ccff;
  background: var(--pilot-primary-soft);
  transform: none;
}

body.oef-ui-pilot-dashboard .layout {
  gap: 18px;
}

body.oef-ui-pilot-dashboard .panel {
  overflow: hidden;
}

body.oef-ui-pilot-dashboard .stat-table {
  min-width: 0;
}

body.oef-ui-pilot-dashboard .panel-title {
  min-height: 54px;
  padding: 14px 18px;
}

body.oef-ui-pilot-dashboard .usage-grid {
  gap: 0;
  padding: 0;
}

body.oef-ui-pilot-dashboard .usage-card {
  padding: 18px;
  border: 0;
  border-right: 1px solid var(--pilot-border);
  border-radius: 0;
  background: transparent;
}

body.oef-ui-pilot-dashboard .usage-card:last-child {
  border-right: 0;
}

body.oef-ui-pilot-dashboard .guide-card {
  padding: 20px 22px;
  border: 1px solid var(--pilot-border);
  border-radius: var(--pilot-radius);
  background: var(--pilot-surface);
  box-shadow: var(--pilot-shadow);
}

body.oef-ui-pilot-dashboard .notice {
  border-color: #b2ccff !important;
  border-radius: var(--pilot-control-radius) !important;
  background: var(--pilot-primary-soft) !important;
  color: #344054 !important;
}

body.oef-ui-pilot-plans .panel {
  padding: 22px;
}

body.oef-ui-pilot-plans .plans {
  gap: 18px;
}

body.oef-ui-pilot-plans .plan-card {
  border: 1px solid var(--pilot-border);
  border-radius: var(--pilot-radius);
  background: var(--pilot-surface);
  box-shadow: none;
  overflow: hidden;
}

body.oef-ui-pilot-plans .plan-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--pilot-border);
  background: var(--pilot-surface-muted);
  color: #344054;
}

body.oef-ui-pilot-plans .plan-body {
  padding: 22px;
}

body.oef-ui-pilot-plans .price {
  color: var(--pilot-primary) !important;
}

body.oef-ui-pilot-plans .green-outline {
  max-width: 100%;
  border: 1px solid var(--pilot-primary) !important;
  background: var(--pilot-primary) !important;
  color: #ffffff !important;
}

body.oef-ui-pilot-plans .secondary-link {
  color: var(--pilot-primary);
  font-weight: 700;
}

body.oef-ui-pilot-plans .subscription-modal {
  width: min(600px, calc(100vw - 48px));
  max-height: calc(100dvh - 48px);
  border: 1px solid var(--pilot-border);
  border-radius: var(--pilot-radius);
  background: var(--pilot-surface);
  box-shadow: 0 24px 48px rgba(16, 24, 40, .18);
  overflow: hidden;
}

body.oef-ui-pilot-plans .subscription-modal h2 {
  margin: 0 !important;
  padding: 20px 22px;
  border-bottom: 1px solid var(--pilot-border);
  background: var(--pilot-surface-muted);
  font-size: 18px !important;
}

body.oef-ui-pilot-plans .subscription-modal-body {
  max-height: calc(100dvh - 120px);
  padding: 22px;
  overflow-y: auto;
}

body.oef-ui-pilot-plans .modal-actions {
  margin: 20px -22px -22px;
  padding: 14px 22px;
}

body.oef-ui-pilot-subscription .toolbar {
  min-height: 60px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--pilot-border);
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.oef-ui-pilot-subscription .add-btn {
  border: 1px solid var(--pilot-primary) !important;
  background: var(--pilot-primary) !important;
  color: #ffffff !important;
}

body:is(.oef-ui-pilot-subscription, .oef-ui-pilot-orders, .oef-ui-pilot-invoices) .panel {
  max-width: 100%;
  overflow-x: auto;
}

body.oef-ui-pilot-subscription .subscription-table {
  min-width: 820px;
}

body.oef-ui-pilot-subscription .renew-modal {
  display: flex;
  width: min(600px, calc(100vw - 48px));
  flex-direction: column;
}

body.oef-ui-pilot-subscription .renew-modal-head {
  min-height: 60px;
  padding: 0 20px;
  flex: 0 0 auto;
  border-bottom: 1px solid var(--pilot-border);
  background: var(--pilot-surface-muted);
}

body.oef-ui-pilot-subscription .renew-modal-head h2 {
  margin: 0 !important;
  font-size: 18px !important;
}

body.oef-ui-pilot-subscription .renew-modal-close {
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
}

body.oef-ui-pilot-subscription .renew-modal-body {
  padding: 22px;
}

body.oef-ui-pilot-subscription .renew-modal-actions {
  margin: 20px -22px -22px;
  padding: 14px 22px;
}

body.oef-ui-pilot-orders table {
  min-width: 1080px;
}

body.oef-ui-pilot-orders table td:last-child .primary-btn {
  border-color: #fecdca !important;
  background: var(--pilot-surface) !important;
  color: var(--pilot-danger) !important;
}

body.oef-ui-pilot-invoices table {
  min-width: 920px;
}

body.oef-ui-pilot-invoices .form-grid {
  gap: 16px;
}

body.oef-ui-pilot-invoices :where(.status-pending, .status-issued, .status-rejected) {
  font-weight: 800;
}

body.oef-ui-pilot-invoices .status-pending {
  color: var(--pilot-warning) !important;
}

body.oef-ui-pilot-invoices .status-issued {
  color: var(--pilot-success) !important;
}

body.oef-ui-pilot-invoices .status-rejected {
  color: var(--pilot-danger) !important;
}

body.oef-ui-pilot-payment {
  --pilot-page-width: 900px;
}

body.oef-ui-pilot-payment .topbar {
  height: 64px;
  padding: 0 24px;
  gap: 24px;
  border-bottom: 1px solid var(--pilot-border);
  background: var(--pilot-surface);
}

body.oef-ui-pilot-payment .brand {
  color: var(--pilot-text-strong);
  font-size: 22px;
  letter-spacing: -.02em;
}

body.oef-ui-pilot-payment .nav {
  min-width: 0;
  height: 64px;
  gap: 4px;
  overflow-x: auto;
}

body.oef-ui-pilot-payment .nav a {
  display: inline-flex;
  height: 64px;
  padding: 0 12px;
  align-items: center;
  color: #475467;
  font-weight: 700;
}

body.oef-ui-pilot-payment .panel-body {
  padding: 24px;
}

body.oef-ui-pilot-payment .pay-box {
  border-color: var(--pilot-border);
  border-radius: var(--pilot-radius);
  background: var(--pilot-surface-muted);
}

body.oef-ui-pilot-payment .pay-box.success {
  border-color: #abefc6;
  background: var(--pilot-success-soft);
}

body.oef-ui-pilot-payment .pay-box.error {
  border-color: #fecdca;
  background: var(--pilot-danger-soft);
}

body.oef-ui-pilot-payment .qr-wrap {
  border-color: var(--pilot-border);
  border-radius: var(--pilot-control-radius);
}

/* Amazon submission, feedback, and App guides */
body.oef-ui-pilot-amazon-submit {
  --pilot-page-width: 1040px;
}

body.oef-ui-pilot-amazon-submit main.wrap {
  padding-top: 30px;
}

body.oef-ui-pilot-amazon-submit > main > .card {
  padding: 30px 32px;
  border-radius: var(--pilot-radius);
  box-shadow: var(--pilot-shadow);
}

body.oef-ui-pilot-amazon-submit > main > .card > p,
body:is(.oef-ui-pilot-afm-access, .oef-ui-pilot-aces-upload) p {
  color: #344054 !important;
  font-size: 15px;
  line-height: 1.75;
}

body.oef-ui-pilot-amazon-submit .sample-box {
  margin: 24px 0;
  padding: 24px;
  border: 1px solid #b2ccff;
  border-radius: var(--pilot-radius);
  background: var(--pilot-primary-soft);
}

body.oef-ui-pilot-amazon-submit .sample-box h2 {
  color: var(--pilot-primary) !important;
  font-size: 19px !important;
}

body.oef-ui-pilot-amazon-submit :where(.sample-mini-button, .sample-link) {
  min-height: 40px;
  height: 40px;
  border-color: #b2ccff;
  border-radius: var(--pilot-control-radius);
  background: var(--pilot-surface);
  color: var(--pilot-primary);
}

body.oef-ui-pilot-amazon-submit .sample-search-row .sample-mini-button {
  min-height: 42px;
  height: 42px;
}

body.oef-ui-pilot-amazon-submit .btn.primary {
  border: 1px solid var(--pilot-primary) !important;
  background: var(--pilot-primary) !important;
  color: #ffffff !important;
}

body.oef-ui-pilot-amazon-submit .step,
body:is(.oef-ui-pilot-afm-access, .oef-ui-pilot-aces-upload) .step {
  margin-top: 24px;
  padding: 24px 0 0;
  border: 0;
  border-top: 1px solid var(--pilot-border);
  border-radius: 0;
  background: transparent;
}

body.oef-ui-pilot-amazon-submit .step h2,
body:is(.oef-ui-pilot-afm-access, .oef-ui-pilot-aces-upload) .step h2 {
  color: var(--pilot-text-strong) !important;
  font-size: 19px !important;
}

body.oef-ui-pilot-amazon-submit .notice {
  margin-top: 24px;
  padding: 16px 18px;
  border-color: #fedf89;
  border-radius: var(--pilot-control-radius);
  background: var(--pilot-warning-soft);
  color: #7a2e0e;
}

body:is(.oef-ui-pilot-afm-access, .oef-ui-pilot-aces-upload) {
  --pilot-page-width: 1080px;
}

body:is(.oef-ui-pilot-afm-access, .oef-ui-pilot-aces-upload) main.app-guide-page {
  padding-top: 30px;
}

body:is(.oef-ui-pilot-afm-access, .oef-ui-pilot-aces-upload) main.app-guide-page > .card {
  padding: 30px 32px;
  border-radius: var(--pilot-radius);
  box-shadow: var(--pilot-shadow);
}

body:is(.oef-ui-pilot-afm-access, .oef-ui-pilot-aces-upload) .imgbox {
  margin: 16px 0 4px;
  padding: 10px;
  border-color: var(--pilot-border);
  border-radius: var(--pilot-control-radius);
  background: var(--pilot-surface-muted);
}

body:is(.oef-ui-pilot-afm-access, .oef-ui-pilot-aces-upload) .imgbox img {
  border-color: var(--pilot-border);
  border-radius: 4px;
}

body:is(.oef-ui-pilot-afm-access, .oef-ui-pilot-aces-upload) .note {
  margin-top: 24px;
  padding: 16px 18px;
  border-color: #abefc6 !important;
  border-radius: var(--pilot-control-radius) !important;
  background: var(--pilot-success-soft) !important;
  color: var(--pilot-success) !important;
  font-size: 14px;
}

body.oef-ui-pilot-afm-access .oef-sample-xml-box {
  margin: 24px 0;
  padding: 22px;
  border-color: #b2ccff;
  border-radius: var(--pilot-radius);
  background: var(--pilot-primary-soft);
}

body.oef-ui-pilot-afm-access .oef-sample-btn,
body:is(.oef-ui-pilot-afm-access, .oef-ui-pilot-aces-upload) .btn {
  border: 1px solid var(--pilot-primary) !important;
  background: var(--pilot-primary) !important;
  color: #ffffff !important;
}

body.oef-ui-pilot-feedback {
  --pilot-page-width: 1160px;
}

body.oef-ui-pilot-feedback .page-head {
  margin-bottom: 20px;
}

body.oef-ui-pilot-feedback .page-head > .btn {
  border: 1px solid var(--pilot-primary) !important;
  background: var(--pilot-primary) !important;
  color: #ffffff !important;
}

body.oef-ui-pilot-feedback .stat-card {
  display: grid;
  margin-bottom: 18px;
  border: 1px solid var(--pilot-border);
  border-radius: var(--pilot-radius);
  background: var(--pilot-surface);
  box-shadow: var(--pilot-shadow);
  overflow: hidden;
}

body.oef-ui-pilot-feedback .stat-item {
  padding: 20px 12px;
  border-right: 1px solid var(--pilot-border);
}

body.oef-ui-pilot-feedback .stat-item:last-child {
  border-right: 0;
}

body.oef-ui-pilot-feedback .stat-num {
  color: var(--pilot-text-strong) !important;
  font-size: 28px;
}

body.oef-ui-pilot-feedback :where(.stat-num.orange, .stat-label.orange) {
  color: var(--pilot-warning) !important;
}

body.oef-ui-pilot-feedback .toolbar {
  margin-bottom: 16px;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--pilot-border) !important;
}

body.oef-ui-pilot-feedback .tabs {
  display: flex;
  min-width: max-content;
}

body.oef-ui-pilot-feedback .tab {
  min-height: 40px !important;
  height: 40px !important;
  border-color: var(--pilot-border-strong) !important;
  background: var(--pilot-surface) !important;
  color: #475467 !important;
}

body.oef-ui-pilot-feedback .tab.active {
  border-color: var(--pilot-primary) !important;
  background: var(--pilot-primary-soft) !important;
  color: var(--pilot-primary) !important;
}

body.oef-ui-pilot-feedback .filters {
  min-width: 0;
}

body.oef-ui-pilot-feedback .search-btn {
  min-width: 42px;
  border: 1px solid var(--pilot-primary) !important;
  background: var(--pilot-primary) !important;
  color: #ffffff !important;
}

body.oef-ui-pilot-feedback .table-card {
  max-width: 100%;
  border: 1px solid var(--pilot-border);
  border-radius: var(--pilot-radius);
  background: var(--pilot-surface);
  overflow-x: auto;
}

body.oef-ui-pilot-feedback .modal {
  top: 24px;
  right: 24px;
  bottom: 24px;
  width: min(660px, calc(100vw - 48px));
  height: auto;
  max-height: calc(100dvh - 48px);
  border: 1px solid var(--pilot-border) !important;
  border-radius: var(--pilot-radius) !important;
}

body.oef-ui-pilot-feedback .modal-head {
  min-height: 60px;
  height: 60px;
  flex: 0 0 auto;
}

body.oef-ui-pilot-feedback .modal-body {
  padding: 22px;
}

body.oef-ui-pilot-feedback .modal-foot {
  min-height: 68px;
  height: auto;
  padding: 12px 22px;
  flex: 0 0 auto;
}

body.oef-ui-pilot-feedback .editor-wrap {
  border-color: var(--pilot-border-strong);
  border-radius: var(--pilot-control-radius);
  overflow: hidden;
}

body.oef-ui-pilot-feedback .editor-toolbar {
  border-bottom-color: var(--pilot-border);
  background: var(--pilot-surface-muted);
}

body.oef-ui-pilot-feedback .detail-box {
  border-color: var(--pilot-border);
  border-radius: var(--pilot-control-radius);
  background: var(--pilot-surface-muted);
}

@media (max-width: 900px) {
  body.oef-ui-pilot-app-page main.wrap,
  body.oef-ui-pilot-app-page .page > .wrap,
  body.oef-ui-pilot-app-page > .container {
    padding: 24px 16px 48px;
  }

  body.oef-ui-pilot-part-type-data .pcdb-form,
  body.oef-ui-pilot-my-files .toolbar,
  body.oef-ui-pilot-usage .toolbar {
    grid-template-columns: 1fr !important;
  }

  body.oef-ui-pilot-usage .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.oef-ui-pilot-brands .panel-toolbar,
  body.oef-ui-pilot-flow .flow-steps {
    flex-direction: column;
  }

  body.oef-ui-pilot-brands .panel-toolbar .top-btn {
    width: 100%;
  }

  body.oef-ui-pilot-flow .flow-step {
    border-right: 0;
    border-bottom: 1px solid var(--pilot-border);
  }

  body.oef-ui-pilot-flow .flow-step:last-child {
    border-bottom: 0;
  }

  body.oef-ui-pilot-dashboard .layout,
  body.oef-ui-pilot-dashboard .quick-actions,
  body.oef-ui-pilot-plans .plans,
  body.oef-ui-pilot-invoices .form-grid {
    grid-template-columns: 1fr;
  }

  body.oef-ui-pilot-dashboard .usage-card {
    border-right: 0;
    border-bottom: 1px solid var(--pilot-border);
  }

  body.oef-ui-pilot-dashboard .usage-card:last-child {
    border-bottom: 0;
  }

  body.oef-ui-pilot-payment .topbar {
    padding-inline: 16px;
  }

  body.oef-ui-pilot-amazon-submit .sample-vehicle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.oef-ui-pilot-feedback .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  body.oef-ui-pilot-feedback .tabs {
    max-width: 100%;
    overflow-x: auto;
  }

  body.oef-ui-pilot-feedback .filters,
  body.oef-ui-pilot-feedback .filters :where(select, input) {
    width: 100%;
  }

  body.oef-ui-pilot-part-type-data .pcdb-title-row,
  body.oef-ui-pilot-part-type-data .pcdb-table-toolbar,
  body.oef-ui-pilot-part-type-data .pcdb-pager {
    align-items: stretch;
    flex-direction: column;
  }

  body.oef-ui-pilot-part-type-data .pcdb-mini-search,
  body.oef-ui-pilot-part-type-data .pcdb-mini-search input,
  body.oef-ui-pilot-part-type-data .pcdb-download-btn {
    width: 100%;
  }

  body.oef-ui-pilot-vehicle-data .page {
    padding: 24px 16px 48px !important;
  }

  body.oef-ui-pilot-vehicle-data .page .row,
  body.oef-ui-pilot-vehicle-data .page .field,
  body.oef-ui-pilot-vehicle-data .page :where(.make-select, .model-select) {
    width: 100% !important;
  }

  body.oef-ui-pilot-vehicle-data .page .year-range-box {
    width: 100%;
  }

  body.oef-ui-pilot-vehicle-data .page .year-select {
    min-width: 0;
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  body.oef-ui-pilot-app-page main.wrap,
  body.oef-ui-pilot-app-page .page > .wrap,
  body.oef-ui-pilot-app-page > .container {
    padding: 20px 12px 40px;
  }

  body.oef-ui-pilot-app-page :where(h1, .page-title) {
    font-size: 24px !important;
  }

  body.oef-ui-pilot-app-page :where(.modal-mask, .modal-backdrop, .renew-modal-backdrop) {
    padding: 12px;
  }

  body.oef-ui-pilot-app-page :where(.modal, .renew-modal) {
    width: 100%;
    max-width: 100%;
    max-height: calc(100dvh - 24px);
  }

  body.oef-ui-pilot-vehicle-data table,
  body.oef-ui-pilot-part-type-data table,
  body.oef-ui-pilot-my-files .file-table,
  body.oef-ui-pilot-usage .usage-table,
  body.oef-ui-pilot-brands .brand-table,
  body.oef-ui-pilot-subscription .subscription-table,
  body.oef-ui-pilot-orders table,
  body.oef-ui-pilot-invoices table {
    min-width: 720px;
  }

  body.oef-ui-pilot-vehicle-data .page {
    padding: 20px 12px 40px !important;
  }

  body.oef-ui-pilot-vehicle-data #oefAcesSampleModal {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
  }

  body.oef-ui-pilot-vehicle-data .oef-aces-modal-body {
    max-height: calc(100dvh - 84px);
    padding: 18px 16px;
  }

  body.oef-ui-pilot-vehicle-data .page .search-card,
  body.oef-ui-pilot-part-type-data .pcdb-card {
    padding: 18px 14px !important;
  }

  body.oef-ui-pilot-vehicle-data .page .btn,
  body.oef-ui-pilot-part-type-data .pcdb-search-btn,
  body.oef-ui-pilot-my-files .toolbar .btn {
    width: 100% !important;
    min-height: 44px !important;
    height: 44px !important;
  }

  body.oef-ui-pilot-my-files .file-action-button {
    min-height: 44px !important;
    height: 44px !important;
  }

  body:is(.oef-ui-pilot-import, .oef-ui-pilot-export) .card,
  body.oef-ui-pilot-flow :where(.flow-card, .info-card, .card, .faq-card) {
    padding: 20px 16px;
  }

  body.oef-ui-pilot-export .row,
  body.oef-ui-pilot-export .row :where(select, button, a),
  body.oef-ui-pilot-import .card :where(button, a) {
    width: 100%;
  }

  body.oef-ui-pilot-usage .summary-grid {
    grid-template-columns: 1fr;
  }

  body.oef-ui-pilot-brands .modal-body {
    padding: 18px 16px;
  }

  body.oef-ui-pilot-brands .modal-foot {
    margin: 18px -16px -18px;
    padding: 12px 16px;
    flex-direction: column-reverse;
  }

  body.oef-ui-pilot-brands .modal-foot :where(.cancel-btn, .save-btn),
  body.oef-ui-pilot-flow .flow-actions,
  body.oef-ui-pilot-flow .flow-actions a {
    width: 100%;
  }

  body.oef-ui-pilot-brands .action-btn {
    min-height: 44px !important;
    height: 44px !important;
  }

  body:is(.oef-ui-pilot-account, .oef-ui-pilot-change-password) .btn-row,
  body.oef-ui-pilot-payment .btn-row {
    align-items: stretch;
    flex-direction: column;
  }

  body:is(.oef-ui-pilot-account, .oef-ui-pilot-change-password) .btn-row button,
  body.oef-ui-pilot-payment .btn-row :where(button, a) {
    width: 100%;
    justify-content: center;
  }

  body.oef-ui-pilot-plans .subscription-modal,
  body.oef-ui-pilot-subscription .renew-modal {
    width: 100%;
    max-width: 100%;
  }

  body.oef-ui-pilot-plans .modal-actions,
  body.oef-ui-pilot-subscription .renew-modal-actions {
    flex-direction: column-reverse;
  }

  body.oef-ui-pilot-plans .modal-actions button,
  body.oef-ui-pilot-subscription .renew-modal-actions button {
    width: 100%;
  }

  body.oef-ui-pilot-payment .topbar {
    height: 112px;
    padding: 0 12px;
    flex-wrap: wrap;
    align-content: stretch;
    gap: 0;
  }

  body.oef-ui-pilot-payment .brand {
    width: 100%;
    height: 56px;
  }

  body.oef-ui-pilot-payment .nav {
    width: 100%;
    height: 56px;
    flex: 0 0 100%;
    border-top: 1px solid var(--pilot-border);
  }

  body.oef-ui-pilot-payment .nav a {
    height: 55px;
    flex: 0 0 auto;
  }

  body.oef-ui-pilot-payment .panel-body,
  body:is(.oef-ui-pilot-account, .oef-ui-pilot-change-password, .oef-ui-pilot-invoices) .panel-body,
  body.oef-ui-pilot-plans .subscription-modal-body,
  body.oef-ui-pilot-subscription .renew-modal-body {
    padding: 18px 16px;
  }

  body.oef-ui-pilot-amazon-submit > main > .card,
  body:is(.oef-ui-pilot-afm-access, .oef-ui-pilot-aces-upload) main.app-guide-page > .card {
    padding: 22px 18px;
  }

  body.oef-ui-pilot-amazon-submit .sample-box,
  body.oef-ui-pilot-afm-access .oef-sample-xml-box {
    padding: 18px 14px;
  }

  body.oef-ui-pilot-amazon-submit :where(.sample-brand-row, .sample-search-row, .sample-vehicle-grid) {
    grid-template-columns: 1fr;
  }

  body.oef-ui-pilot-amazon-submit .btn.primary,
  body.oef-ui-pilot-feedback .page-head > .btn,
  body.oef-ui-pilot-afm-access .oef-sample-btn {
    width: 100%;
  }

  body.oef-ui-pilot-feedback .page-head {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  body.oef-ui-pilot-feedback .stat-card {
    grid-template-columns: 1fr;
  }

  body.oef-ui-pilot-feedback .stat-item {
    border-right: 0;
    border-bottom: 1px solid var(--pilot-border);
  }

  body.oef-ui-pilot-feedback .stat-item:last-child {
    border-bottom: 0;
  }

  body.oef-ui-pilot-feedback table {
    min-width: 760px;
  }

  body.oef-ui-pilot-feedback .modal {
    inset: 12px;
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
  }

  body.oef-ui-pilot-feedback .modal-foot {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  body.oef-ui-pilot-feedback .modal-foot .btn {
    width: 100%;
    min-height: 44px !important;
    height: 44px !important;
  }
}

@media (max-width: 1200px) {
  body.oef-ui-pilot .oef-nav-inner {
    padding-inline: 16px !important;
    overflow-x: auto !important;
  }

  body.oef-ui-pilot-products .wrap {
    padding-inline: 18px !important;
  }

  body.oef-ui-pilot-products .toolbar {
    align-items: flex-start !important;
  }

  body.oef-ui-pilot-products .toolbar-left,
  body.oef-ui-pilot-products .product-search-area,
  body.oef-ui-pilot-products .product-search-row,
  body.oef-ui-pilot-products .product-search-box {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.oef-ui-pilot-products .product-search-area {
    min-width: 0;
    margin-left: 0 !important;
  }
}

@media (max-width: 900px) {
  body.oef-ui-pilot-tools #oefStandaloneOneclick {
    width: calc(100% - 32px) !important;
    margin: 24px auto 20px !important;
  }

  body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-form-grid,
  body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-guide-steps,
  body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-search-row {
    grid-template-columns: 1fr !important;
  }

  body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-guide-step {
    border-right: 0 !important;
    border-bottom: 1px solid var(--pilot-border) !important;
  }

  body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-guide-step:last-child {
    border-bottom: 0 !important;
  }

  body.oef-ui-pilot-tools > .container {
    padding-inline: 16px !important;
  }

  body.oef-ui-pilot-tools .app-workbench-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.oef-ui-pilot-tools .app-workbench-strip a,
  body.oef-ui-pilot-tools .app-workbench-strip div {
    border-bottom: 1px solid var(--pilot-border) !important;
  }

  body.oef-ui-pilot-tools .app-workbench-strip a:nth-child(2n),
  body.oef-ui-pilot-tools .app-workbench-strip div:nth-child(2n) {
    border-right: 0 !important;
  }

  body.oef-ui-pilot-products .grid2 {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  body.oef-ui-pilot h1 {
    font-size: 24px !important;
  }

  body.oef-ui-pilot h2 {
    font-size: 21px !important;
  }

  body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-standalone-hero,
  body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-main-card {
    padding: 22px 20px !important;
  }

  body.oef-ui-pilot-products .wrap {
    padding: 20px 12px 48px !important;
  }

  body.oef-ui-pilot-products .toolbar {
    padding: 14px !important;
  }

  body.oef-ui-pilot-products .toolbar-left,
  body.oef-ui-pilot-products .toolbar-actions {
    width: 100%;
  }

  body.oef-ui-pilot-products .toolbar-left {
    align-items: flex-start !important;
    flex-direction: column;
  }

  body.oef-ui-pilot-products .modal-mask {
    align-items: flex-end !important;
    padding: 12px !important;
  }

  body.oef-ui-pilot-products .modal,
  body.oef-ui-pilot-products .xml-result-modal {
    width: 100% !important;
    max-width: 100% !important;
    max-height: calc(100dvh - 24px) !important;
  }

  body.oef-ui-pilot-products .modal-head {
    padding: 0 16px !important;
  }

  body.oef-ui-pilot-products .modal-body {
    padding: 18px 16px !important;
  }

  body.oef-ui-pilot-products .modal-foot {
    padding: 12px 16px !important;
    flex-direction: column-reverse !important;
    gap: 8px !important;
  }

  body.oef-ui-pilot-products .modal-foot .btn {
    width: 100% !important;
    min-height: 44px !important;
    height: 44px !important;
  }

  body.oef-ui-pilot-products .part-type-search-row,
  body.oef-ui-pilot-products .xml-result-actions {
    grid-template-columns: 1fr !important;
  }

  body.oef-ui-pilot-products .fitment-add-row,
  body.oef-ui-pilot-products .fitment-row {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  body.oef-ui-pilot-products .fitment-add-row button,
  body.oef-ui-pilot-products .fitment-delete-btn {
    width: 100% !important;
    min-height: 42px !important;
  }
}

@media (max-width: 480px) {
  body.oef-ui-pilot .oef-global-header {
    height: 112px !important;
    min-height: 112px !important;
    max-height: 112px !important;
  }

  body.oef-ui-pilot .oef-nav-inner {
    height: 112px !important;
    min-height: 112px !important;
    flex-wrap: wrap !important;
    align-content: stretch !important;
    gap: 0 10px !important;
    padding-inline: 12px !important;
    overflow: visible !important;
  }

  body.oef-ui-pilot .oef-logo {
    height: 56px !important;
    order: 1;
  }

  body.oef-ui-pilot .oef-nav-user {
    height: 56px !important;
    margin-left: auto !important;
    order: 2;
  }

  body.oef-ui-pilot .oef-nav {
    width: 100% !important;
    height: 56px !important;
    flex: 0 0 100% !important;
    order: 3;
    border-top: 1px solid var(--pilot-border);
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }

  body.oef-ui-pilot .oef-nav-link,
  body.oef-ui-pilot .oef-nav-menu {
    height: 55px !important;
    min-height: 55px !important;
    max-height: 55px !important;
  }

  body.oef-ui-pilot .oef-nav-link {
    line-height: 55px !important;
  }

  body.oef-ui-pilot-tools #oefStandaloneOneclick {
    width: calc(100% - 24px) !important;
    margin-top: 18px !important;
  }

  body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-standalone-hero,
  body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-main-card {
    padding: 20px 16px !important;
  }

  body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-standalone-hero h2 {
    font-size: 22px !important;
  }

  body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-small-btn,
  body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-oneclick-btn,
  body.oef-ui-pilot-tools #oefStandaloneOneclick .oef-advanced-link {
    min-height: 44px !important;
    height: 44px !important;
  }

  body.oef-ui-pilot-tools > .container {
    padding-inline: 12px !important;
  }

  body.oef-ui-pilot-tools .app-workbench-strip {
    grid-template-columns: 1fr !important;
  }

  body.oef-ui-pilot-tools .app-workbench-strip a,
  body.oef-ui-pilot-tools .app-workbench-strip div {
    min-height: 58px;
    border-right: 0 !important;
  }

  body.oef-ui-pilot-tools .info-card,
  body.oef-ui-pilot-tools .flow-card,
  body.oef-ui-pilot-tools .card,
  body.oef-ui-pilot-tools .faq-card {
    padding: 20px 16px !important;
  }

  body.oef-ui-pilot-products .toolbar-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
  }

  body.oef-ui-pilot-products .toolbar-actions .btn-blue {
    grid-column: 1 / -1;
  }

  body.oef-ui-pilot-products .toolbar-actions .btn,
  body.oef-ui-pilot-products .toolbar-actions .toolbar-link,
  body.oef-ui-pilot-products .product-search-btn,
  body.oef-ui-pilot-products .product-clear-btn {
    min-height: 44px !important;
    height: 44px !important;
  }

  body.oef-ui-pilot-products #productPanel .xml-download-btn,
  body.oef-ui-pilot-products #productPanel .xml-change-btn,
  body.oef-ui-pilot-products #productPanel .fitment-edit-link,
  body.oef-ui-pilot-products #productPanel .product-log-btn,
  body.oef-ui-pilot-products #productPanel .product-row-delete {
    min-height: 44px !important;
    height: 44px !important;
  }

  body.oef-ui-pilot-products .close {
    width: 44px !important;
    min-height: 44px !important;
    height: 44px !important;
  }

  body.oef-ui-pilot-products .product-search-row {
    align-items: stretch !important;
    flex-wrap: wrap;
  }

  body.oef-ui-pilot-products .product-search-box {
    flex: 1 1 100%;
    height: 44px !important;
  }

  body.oef-ui-pilot-products .product-search-input,
  body.oef-ui-pilot-products .product-search-btn {
    height: 42px !important;
  }

  body.oef-ui-pilot-products .product-clear-btn {
    width: 100%;
  }

  body.oef-ui-pilot-products .product-table-footer {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  body.oef-ui-pilot-products .product-pagination {
    width: 100%;
    margin-left: 0 !important;
    justify-content: space-between !important;
  }

  body.oef-ui-pilot-products .product-pagination button {
    min-height: 40px !important;
    height: 40px !important;
  }
}

/* Brands: compact inline statuses and a no-scroll responsive record layout. */
body.oef-ui-pilot.oef-ui-pilot-brands #brandsBox:not(.empty-state) {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  overflow-y: visible;
}

body.oef-ui-pilot.oef-ui-pilot-brands .brand-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

body.oef-ui-pilot.oef-ui-pilot-brands .brand-table th,
body.oef-ui-pilot.oef-ui-pilot-brands .brand-table td {
  min-width: 0;
  padding: 11px 8px !important;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

body.oef-ui-pilot.oef-ui-pilot-brands .brand-table th {
  line-height: 1.35;
  vertical-align: bottom;
}

body.oef-ui-pilot.oef-ui-pilot-brands .brand-table th:nth-child(1),
body.oef-ui-pilot.oef-ui-pilot-brands .brand-table td:nth-child(1) { width: 10%; }

body.oef-ui-pilot.oef-ui-pilot-brands .brand-table th:nth-child(2),
body.oef-ui-pilot.oef-ui-pilot-brands .brand-table td:nth-child(2) { width: 11%; }

body.oef-ui-pilot.oef-ui-pilot-brands .brand-table th:nth-child(3),
body.oef-ui-pilot.oef-ui-pilot-brands .brand-table td:nth-child(3) { width: 9%; }

body.oef-ui-pilot.oef-ui-pilot-brands .brand-table th:nth-child(4),
body.oef-ui-pilot.oef-ui-pilot-brands .brand-table td:nth-child(4) { width: 10%; }

body.oef-ui-pilot.oef-ui-pilot-brands .brand-table th:nth-child(5),
body.oef-ui-pilot.oef-ui-pilot-brands .brand-table td:nth-child(5) { width: 8%; }

body.oef-ui-pilot.oef-ui-pilot-brands .brand-table th:nth-child(6),
body.oef-ui-pilot.oef-ui-pilot-brands .brand-table td:nth-child(6) { width: 8%; }

body.oef-ui-pilot.oef-ui-pilot-brands .brand-table th:nth-child(7),
body.oef-ui-pilot.oef-ui-pilot-brands .brand-table td:nth-child(7) { width: 14%; }

body.oef-ui-pilot.oef-ui-pilot-brands .brand-table th:nth-child(8),
body.oef-ui-pilot.oef-ui-pilot-brands .brand-table td:nth-child(8) { width: 9%; }

body.oef-ui-pilot.oef-ui-pilot-brands .brand-table th:nth-child(9),
body.oef-ui-pilot.oef-ui-pilot-brands .brand-table td:nth-child(9) { width: 10%; }

body.oef-ui-pilot.oef-ui-pilot-brands .brand-table th:nth-child(10),
body.oef-ui-pilot.oef-ui-pilot-brands .brand-table td:nth-child(10) { width: 11%; }

body.oef-ui-pilot.oef-ui-pilot-brands .brand-table .tag {
  --brands-status-color: #475467;
  display: inline-flex;
  max-width: 100%;
  padding: 0 !important;
  align-items: flex-start;
  gap: 7px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--brands-status-color) !important;
  font: 700 13px/1.5 Arial, "Microsoft YaHei", sans-serif !important;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  box-shadow: none;
}

body.oef-ui-pilot.oef-ui-pilot-brands .brand-table .tag::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin-top: .48em;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

body.oef-ui-pilot.oef-ui-pilot-brands .brand-table td:nth-child(6) .tag {
  --brands-status-color: #175cd3;
}

body.oef-ui-pilot.oef-ui-pilot-brands .brand-table td:nth-child(7) .tag {
  --brands-status-color: #475467;
}

body.oef-ui-pilot.oef-ui-pilot-brands .brand-table td:nth-child(7) .tag.beta {
  --brands-status-color: #175cd3;
}

body.oef-ui-pilot.oef-ui-pilot-brands .brand-table td:nth-child(7) .tag.pending {
  --brands-status-color: #9a5b13;
}

body.oef-ui-pilot.oef-ui-pilot-brands .brand-table .tag:is(a, button) {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.oef-ui-pilot.oef-ui-pilot-brands .brand-table .tag:is(a, button):hover {
  text-decoration-thickness: 2px;
}

body.oef-ui-pilot.oef-ui-pilot-brands .brand-table .tag:is(a, button):focus-visible {
  outline: 3px solid rgba(36, 87, 214, .25);
  outline-offset: 3px;
}

body.oef-ui-pilot.oef-ui-pilot-brands .brand-table .row-actions {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 6px;
}

body.oef-ui-pilot.oef-ui-pilot-brands .brand-table .action-btn {
  width: 100%;
  min-width: 0;
  line-height: 1.25;
  white-space: normal;
}

body.oef-ui-pilot.oef-ui-pilot-brands .modal-mask {
  z-index: 100000;
}

@media (max-width: 900px) {
  body.oef-ui-pilot.oef-ui-pilot-brands #brandsBox:not(.empty-state) {
    padding: 12px;
    background: var(--pilot-surface-muted);
  }

  body.oef-ui-pilot.oef-ui-pilot-brands .brand-table,
  body.oef-ui-pilot.oef-ui-pilot-brands .brand-table tbody,
  body.oef-ui-pilot.oef-ui-pilot-brands .brand-table tr,
  body.oef-ui-pilot.oef-ui-pilot-brands .brand-table td {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  body.oef-ui-pilot.oef-ui-pilot-brands .brand-table thead {
    width: 1px;
    height: 1px;
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  body.oef-ui-pilot.oef-ui-pilot-brands .brand-table tbody {
    display: grid;
    gap: 12px;
  }

  body.oef-ui-pilot.oef-ui-pilot-brands .brand-table tbody tr {
    border: 1px solid var(--pilot-border);
    border-radius: var(--pilot-radius);
    background: var(--pilot-surface);
    box-shadow: var(--pilot-shadow);
    overflow: hidden;
  }

  body.oef-ui-pilot.oef-ui-pilot-brands .brand-table tbody td {
    display: grid;
    grid-template-columns: minmax(108px, 32%) minmax(0, 1fr);
    gap: 12px;
    padding: 10px 12px !important;
    align-items: start;
    border-bottom: 1px solid #eaecf0 !important;
  }

  body.oef-ui-pilot.oef-ui-pilot-brands .brand-table tbody td:nth-child(n) {
    width: 100%;
  }

  body.oef-ui-pilot.oef-ui-pilot-brands .brand-table tbody td::before {
    color: #667085;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
  }

  body.oef-ui-pilot.oef-ui-pilot-brands .brand-table tbody td:nth-child(1)::before { content: "品牌名称"; }
  body.oef-ui-pilot.oef-ui-pilot-brands .brand-table tbody td:nth-child(2)::before { content: "公司名称"; }
  body.oef-ui-pilot.oef-ui-pilot-brands .brand-table tbody td:nth-child(3)::before { content: "Sender Name"; }
  body.oef-ui-pilot.oef-ui-pilot-brands .brand-table tbody td:nth-child(4)::before { content: "Sender Phone"; }
  body.oef-ui-pilot.oef-ui-pilot-brands .brand-table tbody td:nth-child(5)::before { content: "Autocare Brand Code"; }
  body.oef-ui-pilot.oef-ui-pilot-brands .brand-table tbody td:nth-child(6)::before { content: "绑定状态"; }
  body.oef-ui-pilot.oef-ui-pilot-brands .brand-table tbody td:nth-child(7)::before { content: "订阅状态"; }
  body.oef-ui-pilot.oef-ui-pilot-brands .brand-table tbody td:nth-child(8)::before { content: "订阅到期时间"; }
  body.oef-ui-pilot.oef-ui-pilot-brands .brand-table tbody td:nth-child(9)::before { content: "创建时间"; }
  body.oef-ui-pilot.oef-ui-pilot-brands .brand-table tbody td:nth-child(10)::before { content: "操作"; }

  body.oef-ui-pilot.oef-ui-pilot-brands .brand-table tbody td:last-child {
    border-bottom: 0 !important;
  }

  body.oef-ui-pilot.oef-ui-pilot-brands .brand-table .row-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  body.oef-ui-pilot.oef-ui-pilot-brands .brand-table .action-btn {
    min-height: 40px !important;
  }
}

@media (max-width: 520px) {
  body.oef-ui-pilot.oef-ui-pilot-brands #brandsBox:not(.empty-state) {
    padding: 10px;
  }

  body.oef-ui-pilot.oef-ui-pilot-brands .brand-table tbody td {
    grid-template-columns: minmax(96px, 34%) minmax(0, 1fr);
    gap: 10px;
    padding: 10px !important;
  }

  body.oef-ui-pilot.oef-ui-pilot-brands .brand-table .row-actions {
    grid-template-columns: 1fr;
  }

  body.oef-ui-pilot.oef-ui-pilot-brands .brand-table .action-btn {
    min-height: 44px !important;
  }
}

/* Change password: keep the email verification controls aligned as one row. */
body.oef-ui-pilot.oef-ui-pilot-change-password .input-group {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-items: stretch;
  flex-wrap: nowrap;
}

body.oef-ui-pilot.oef-ui-pilot-change-password .input-group .prefix {
  width: 58px;
  min-width: 58px;
  height: 42px;
  flex: 0 0 58px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pilot-border-strong);
  border-right: 0;
  border-radius: var(--pilot-control-radius) 0 0 var(--pilot-control-radius);
  line-height: 1;
  text-align: center;
}

body.oef-ui-pilot.oef-ui-pilot-change-password .input-group input {
  width: auto;
  min-width: 0;
  height: 42px;
  flex: 1 1 auto;
  margin: 0;
  border-radius: 0 !important;
}

body.oef-ui-pilot.oef-ui-pilot-change-password .panel-body .input-group button {
  width: auto;
  min-width: 116px;
  height: 42px !important;
  min-height: 42px !important;
  flex: 0 0 auto;
  padding: 0 14px !important;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pilot-border-strong) !important;
  border-left: 0 !important;
  border-radius: 0 var(--pilot-control-radius) var(--pilot-control-radius) 0 !important;
  background: var(--pilot-surface) !important;
  color: var(--pilot-text) !important;
  line-height: 1 !important;
  white-space: nowrap;
}

body.oef-ui-pilot.oef-ui-pilot-change-password .panel-body .input-group button:hover:not(:disabled) {
  border-color: var(--pilot-primary) !important;
  background: var(--pilot-primary-soft) !important;
  color: var(--pilot-primary) !important;
}

@media (prefers-reduced-motion: reduce) {
  body.oef-ui-pilot *,
  body.oef-ui-pilot *::before,
  body.oef-ui-pilot *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
