*{box-sizing:border-box}body{margin:0;font-family:Arial,sans-serif;background:#f5f6f8;color:#222}header{background:#1f2937;color:#fff;padding:18px}header h1{margin:0 0 6px;font-size:24px}header p{margin:0}nav{display:flex;flex-wrap:wrap;gap:7px;padding:10px;background:#fff;border-bottom:1px solid #ddd;position:sticky;top:0;z-index:3}button{padding:10px 12px;border:0;background:#2563eb;color:#fff;border-radius:6px;cursor:pointer;font-weight:600}button.secondary{background:#4b5563}button.danger{background:#dc2626}main{max-width:1280px;margin:0 auto;padding:16px}.tab{display:none}.tab.active{display:block}form,.card,.soldForm,.infoBox{background:#fff;padding:14px;border-radius:8px;border:1px solid #ddd;margin-bottom:14px}.infoBox{background:#eff6ff;border-color:#bfdbfe;line-height:1.35}label{display:block;margin-bottom:12px;font-weight:bold}.inlineCheck{display:flex;gap:7px;align-items:center;margin:0;background:#fff;padding:8px 10px;border:1px solid #ccc;border-radius:6px}.inlineCheck input{width:auto;margin:0}input,select{width:100%;padding:12px;margin-top:4px;border-radius:6px;border:1px solid #bbb;font-size:16px}.toolbar,.scanLine{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px;align-items:center}.toolbar input{max-width:360px}.toolbar select{width:auto;min-width:130px}.scanLine input{max-width:460px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.grid3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}table{width:100%;border-collapse:collapse;background:#fff;font-size:14px}th,td{border:1px solid #ddd;padding:8px;vertical-align:top}th{background:#e5e7eb}.smallInput{width:100%;min-width:80px;padding:7px;font-size:14px}.tinyInput{width:72px;padding:7px;font-size:14px}.hidden{display:none}.pager{display:flex;gap:8px;align-items:center;justify-content:flex-end;margin:8px 0;flex-wrap:wrap}.pager button{background:#4b5563;padding:8px 10px}.pager span{font-weight:bold}.labelCount{font-weight:bold;margin:8px 0}.resultGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.metric{background:#fff;border:1px solid #ddd;border-radius:8px;padding:12px}.metric strong{display:block;font-size:13px;color:#555;margin-bottom:4px}.transactionHeader{background:#dbeafe!important;font-weight:bold}.marginGood{color:#047857;font-weight:bold}.marginBad{color:#b91c1c;font-weight:bold}.checkboxCell{text-align:center}.printBox{display:inline-block;width:13px;height:13px;border:1.5px solid #111;margin-right:4px;vertical-align:middle}
#labelSheet{display:grid;grid-template-columns:repeat(4,1.75in);grid-auto-rows:.6667in;column-gap:.30in;row-gap:0;align-items:start;justify-content:start;margin:0}.labelCard{width:1.75in;height:.6667in;overflow:hidden;break-inside:avoid;page-break-inside:avoid;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;padding:.035in .07in .03in .07in}.labelCard.debugBorder{border:1px dashed #777}.barcodeSvg{width:1.55in;height:.39in;display:block;flex:0 0 auto}.labelSku{font-size:6.4pt;font-weight:bold;line-height:1;white-space:nowrap;max-width:1.62in;overflow:hidden;text-overflow:ellipsis;text-align:center;margin-top:.025in}
@media(max-width:800px){header{padding:14px}header h1{font-size:21px}nav button{flex:1 1 30%;padding:11px 8px}main{padding:12px}table{font-size:12px}th,td{padding:6px}.toolbar input,.toolbar select,.scanLine input,.scanLine button{max-width:none;width:100%}.grid2,.grid3,.resultGrid{grid-template-columns:1fr}.pager{justify-content:center}}
@media print{body{background:#fff}header,nav,footer,.noPrint,button,.toolbar,.infoBox,.pager{display:none!important}main{max-width:none;padding:0;margin:0}.tab{display:none!important}#skupool.active,#report.active{display:block!important}#skupool h2,#skupool h3,#report h2,#report label{display:none!important}#labelSheet{display:grid!important;grid-template-columns:repeat(4,1.75in);grid-auto-rows:.6667in;column-gap:.30in;row-gap:0;margin:0!important;padding:0!important}.labelCard{border:0;margin:0}.labelCard.debugBorder{border:1px dashed #777}.barcodeSvg{display:block!important;visibility:visible!important}@page{size:letter;margin:.55in .30in .45in .30in}#reportTable table{font-size:10pt}#reportTable th,#reportTable td{border:1px solid #111;padding:5px}}

/* v16 forced split label tabs */
.inlineCheck{display:flex;gap:7px;align-items:center;margin:0;background:#fff;padding:8px 10px;border:1px solid #ccc;border-radius:6px}
.inlineCheck input{width:auto;margin:0}

.v16LabelSheet {
  display: grid;
  grid-template-columns: repeat(4, 1.75in);
  grid-auto-rows: .6667in;
  column-gap: .30in;
  row-gap: 0;
  align-items: start;
  justify-content: start;
  margin: 0;
  padding: 0;
}

.v16LabelSheet .labelCard {
  width: 1.75in;
  height: .6667in;
  overflow: hidden;
  break-inside: avoid;
  page-break-inside: avoid;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: white;
  padding: .035in .07in .03in .07in;
}

.v16LabelSheet .labelCard.debugBorder {
  border: 1px dashed #777;
}

.v16LabelSheet .barcodeSvg {
  width: 1.55in;
  height: .39in;
  display: block;
  flex: 0 0 auto;
}

.v16LabelSheet .labelSku {
  font-size: 6.4pt;
  font-weight: bold;
  line-height: 1;
  white-space: nowrap;
  max-width: 1.62in;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  margin-top: .025in;
}

#printOnlyLabelsV16 { display:none; }

@media print {
  body.printing-labels-v16 {
    margin: 0 !important;
    padding: 0 !important;
    background: white !important;
  }

  body.printing-labels-v16 > *:not(#printOnlyLabelsV16) {
    display: none !important;
  }

  body.printing-labels-v16 #printOnlyLabelsV16 {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: white !important;
  }

  body.printing-labels-v16 #printOnlyLabelsV16 .printLabelSheet {
    display: grid !important;
    grid-template-columns: repeat(4, 1.75in) !important;
    grid-auto-rows: .6667in !important;
    column-gap: .30in !important;
    row-gap: 0 !important;
    align-items: start !important;
    justify-content: start !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.printing-labels-v16 #printOnlyLabelsV16 .labelCard {
    width: 1.75in !important;
    height: .6667in !important;
    overflow: hidden !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: white !important;
    padding: .035in .07in .03in .07in !important;
    border: 0 !important;
    margin: 0 !important;
  }

  body.printing-labels-v16 #printOnlyLabelsV16 .labelCard.debugBorder {
    border: 1px dashed #777 !important;
  }

  body.printing-labels-v16 #printOnlyLabelsV16 .barcodeSvg {
    width: 1.55in !important;
    height: .39in !important;
    display: block !important;
    flex: 0 0 auto !important;
  }

  body.printing-labels-v16 #printOnlyLabelsV16 .labelSku {
    font-size: 6.4pt !important;
    font-weight: bold !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    max-width: 1.62in !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-align: center !important;
    margin-top: .025in !important;
  }

  @page {
    size: letter;
    margin: .55in .30in .45in .30in;
  }
}


/* v17 label tab visibility fallback */
#inventoryLabels.tab.active,
#unusedSkuLabels.tab.active {
  display: block !important;
}


/* v19 Research Comps */
.researchGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.researchCard {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 14px;
}

.researchCard h3 {
  margin-top: 0;
}

.compPhotoPreviewWrap {
  border: 1px solid #ddd;
  background: #f9fafb;
  padding: 8px;
  border-radius: 8px;
  margin-top: 8px;
  text-align: center;
}

.compPhotoPreviewWrap img {
  max-width: 100%;
  max-height: 320px;
  border-radius: 6px;
}

.smallNote {
  font-size: 13px;
  color: #555;
}

.marginResult {
  background: #f3f4f6;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  font-weight: bold;
  line-height: 1.4;
}


/* v20 225 Collectibles Branding */
:root {
  --brand-navy: #06172f;
  --brand-navy-2: #0a2244;
  --brand-blue: #0b5cff;
  --brand-blue-2: #1d4ed8;
  --brand-silver: #9aa3ad;
  --brand-light: #f6f8fb;
  --brand-white: #ffffff;
  --brand-charcoal: #111827;
}

body {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%) !important;
  color: var(--brand-charcoal);
}

.brandHeader {
  background: var(--brand-white) !important;
  border-bottom: 4px solid var(--brand-blue);
  padding: 12px 18px !important;
  box-shadow: 0 6px 24px rgba(6, 23, 47, 0.10);
}

.brandWrap {
  max-width: 1250px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brandLogo {
  width: min(460px, 62vw);
  height: auto;
  display: block;
}

.brandHeaderText {
  border-left: 1px solid #d9dee7;
  padding-left: 18px;
}

.brandHeaderText h1 {
  color: var(--brand-navy);
  margin: 0 0 4px 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .3px;
}

.brandHeaderText p {
  color: var(--brand-silver);
  margin: 0;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  font-size: 12px;
}

nav {
  background: linear-gradient(90deg, var(--brand-navy) 0%, var(--brand-navy-2) 100%) !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  box-shadow: 0 2px 12px rgba(6,23,47,.18);
}

nav button {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  color: var(--brand-white) !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
}

nav button:hover {
  background: var(--brand-blue) !important;
  border-color: var(--brand-blue) !important;
  opacity: 1 !important;
}

button {
  background: var(--brand-blue-2) !important;
  color: white !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(29,78,216,.18);
}

button:hover {
  background: var(--brand-blue) !important;
  opacity: 1 !important;
}

.infoBox {
  background: #eef5ff !important;
  border-color: #bfdbfe !important;
  border-left: 5px solid var(--brand-blue) !important;
}

h2 {
  color: var(--brand-navy);
  border-bottom: 2px solid rgba(11,92,255,.14);
  padding-bottom: 8px;
}

table th {
  background: var(--brand-navy) !important;
  color: white !important;
}

input:focus, select:focus {
  outline: 2px solid rgba(11,92,255,.30);
  border-color: var(--brand-blue) !important;
}

footer {
  background: var(--brand-navy);
  color: #cbd5e1;
  padding: 14px;
  margin-top: 20px;
}

@media (max-width: 800px) {
  .brandWrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .brandLogo {
    width: 100%;
    max-width: 520px;
  }

  .brandHeaderText {
    border-left: 0;
    padding-left: 0;
  }

  .brandHeaderText h1 {
    font-size: 20px;
  }
}

@media print {
  .brandHeader {
    display: none !important;
  }
}


/* v24 Find Card Photos Only */
.photoModalV24{position:fixed;inset:0;background:rgba(0,0,0,.78);display:flex;align-items:center;justify-content:center;z-index:9999;padding:18px}
.photoModalV24.hidden{display:none!important}
.photoModalContentV24{position:relative;max-width:min(92vw,900px);max-height:90vh;background:#fff;border-radius:14px;padding:12px;box-shadow:0 20px 60px rgba(0,0,0,.4)}
.photoModalContentV24 img{max-width:100%;max-height:82vh;object-fit:contain;display:block;border-radius:10px}
.photoModalCloseV24{position:absolute;top:-14px;right:-14px;width:38px;height:38px;border-radius:999px!important;font-size:24px!important;line-height:1!important;padding:0!important}
.findPhotoBlockV24Card{display:grid;grid-template-columns:minmax(220px,360px) 1fr;gap:18px;background:#fff;border:1px solid #dbe3ef;border-radius:12px;padding:16px;margin-top:14px;box-shadow:0 8px 24px rgba(6,23,47,.08)}
.findPhotoImageWrapV24{display:flex;flex-direction:column;gap:10px;align-items:center}
.findPhotoImageWrapV24 img{width:100%;max-width:340px;aspect-ratio:1/1;object-fit:contain;border-radius:14px;border:1px solid #d1d5db;background:#f8fafc;cursor:pointer}
.findPhotoDetailsV24 h3{margin-top:0;color:var(--brand-navy,#071426)}
@media(max-width:760px){.findPhotoBlockV24Card{grid-template-columns:1fr}}
@media print{.photoModalV24,#photoInputV24{display:none!important}}


/* v25 Explicit Photo Manager */
.photoManagerV25 {
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  padding: 16px;
  margin: 0 0 16px 0;
  box-shadow: 0 8px 24px rgba(6,23,47,.06);
}

.photoManagerV25 h3 {
  margin-top: 0;
  color: var(--brand-navy, #071426);
}

.photoManagerSearchV25 {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.photoManagerSearchV25 input {
  flex: 1 1 280px;
}

.photoManagerCardV25 {
  display: grid;
  grid-template-columns: minmax(220px,360px) 1fr;
  gap: 18px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: #f8fafc;
}

.photoManagerImageWrapV25 {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.photoManagerImageWrapV25 img {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1/1;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid #d1d5db;
  background: #fff;
  cursor: pointer;
}

.photoManagerDetailsV25 h3 {
  margin-top: 0;
}

.photoModalV25 {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.78);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 18px;
}

.photoModalV25.hidden {
  display: none !important;
}

.photoModalContentV25 {
  position: relative;
  max-width: min(92vw,900px);
  max-height: 90vh;
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}

.photoModalContentV25 img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}

.photoModalCloseV25 {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 38px;
  height: 38px;
  border-radius: 999px !important;
  font-size: 24px !important;
  line-height: 1 !important;
  padding: 0 !important;
}

@media(max-width:760px) {
  .photoManagerCardV25 {
    grid-template-columns: 1fr;
  }
}



/* v28 Dashboard */
.dashboardFiltersV28 {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.dashboardGridV28 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.dashboardCardV28 {
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(6,23,47,.06);
}

.dashboardCardV28 h3 {
  margin-top: 0;
  font-size: 15px;
  color: var(--brand-navy,#071426);
}

.dashboardValueV28 {
  font-size: 28px;
  font-weight: 800;
  color: var(--brand-blue,#1d4ed8);
}

.dashboardTablesV28 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.dashboardTableCardV28 {
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(6,23,47,.06);
}

@media(max-width:900px) {
  .dashboardTablesV28 {
    grid-template-columns: 1fr;
  }
}


/* v30 Dashboard Enhancements - Safe */
.dashboardNoteV30 {
  background: #f8fafc;
  border: 1px solid #dbe3ef;
  border-left: 5px solid var(--brand-blue, #1d4ed8);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 16px;
  color: #334155;
}

.feeSettingsV30 {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 10px;
  flex: 1 1 620px;
}

.warningCardV30 .dashboardValueV28 {
  color: #dc2626;
}

.missingCogsBlockV30 {
  margin-top: 18px;
}

.smallNoteV30 {
  color: #64748b;
  font-size: 13px;
}

@media(max-width:900px) {
  .feeSettingsV30 {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }
}

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



/* v31 Comp Check */
.compCheckSearchV31 {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.compCheckSearchV31 input {
  flex: 1 1 300px;
}

.compCardV31 {
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(6,23,47,.06);
}

.compHeaderV31 {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}

.compValueBoxV31 {
  background: #f8fafc;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  padding: 14px;
}

.compValueBoxV31 textarea {
  width: 100%;
  min-height: 90px;
  padding: 10px;
  border: 1px solid #bbb;
  border-radius: 6px;
  font-size: 14px;
  resize: vertical;
}

.compStatsV31 {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.compStatsV31 div {
  background: #eef5ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 12px;
}

.compActionGridV31 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.compBtnV31 {
  background: #0f766e !important;
}

@media(max-width:850px) {
  .compHeaderV31 {
    grid-template-columns: 1fr;
  }

  .compStatsV31 {
    grid-template-columns: 1fr;
  }
}



/* v32 Backup & Export */
.backupStatusGridV32 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.backupStatusCardV32,
.backupPanelV32 {
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(6,23,47,.06);
}

.backupStatusCardV32 h3 {
  margin: 0 0 8px 0;
  color: var(--brand-navy, #071426);
  font-size: 15px;
}

.backupValueV32 {
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-blue, #1d4ed8);
}

.backupGridV32 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.exportButtonGridV32 {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.restoreLabelV32 {
  display: block;
  margin-top: 14px;
}

.restoreLabelV32 input {
  margin-top: 8px;
}

.restorePreviewV32 {
  margin-top: 12px;
}

.restoreConfirmBoxV32 {
  background: #f8fafc;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  padding: 12px;
}

.warningTextV32 {
  color: #b91c1c;
  font-weight: 700;
}

@media(max-width:850px) {
  .backupGridV32 {
    grid-template-columns: 1fr;
  }
}


/* v33 Location Tracking */
.locationGridV33{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}
.locationPanelV33{background:#fff;border:1px solid #dbe3ef;border-radius:14px;padding:16px;box-shadow:0 8px 24px rgba(6,23,47,.06);margin-bottom:18px}
.locationPickerV33{display:grid;grid-template-columns:repeat(3,minmax(140px,1fr));gap:10px}
.locationBadgeV33{display:inline-block;background:#dbeafe;color:#1d4ed8;border:1px solid #93c5fd;border-radius:999px;padding:4px 10px;font-weight:800}
.locationItemCardV33,.locationSummaryV33{background:#f8fafc;border:1px solid #dbe3ef;border-radius:12px;padding:14px;margin-top:12px}
.warningTextV33{color:#b91c1c;font-weight:700}
.locationSummaryGridV33{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));gap:10px;margin:12px 0}
.locationSummaryGridV33 div{background:#eef5ff;border:1px solid #bfdbfe;border-radius:10px;padding:12px}
.locationLabelSheetV33,#printOnlyLabelsV33 .printLabelSheet{display:grid;grid-template-columns:repeat(4,1.75in);grid-auto-rows:.6667in;column-gap:.30in;row-gap:0;align-items:start;justify-content:start;margin:0;padding:0}
.locationLabelSheetV33 .labelCard,#printOnlyLabelsV33 .labelCard{width:1.75in;height:.6667in;overflow:hidden;break-inside:avoid;page-break-inside:avoid;display:flex;flex-direction:column;align-items:center;justify-content:center;background:white;padding:.035in .07in .03in .07in}
.locationLabelSheetV33 .barcodeSvg,#printOnlyLabelsV33 .barcodeSvg{width:1.55in;height:.39in;display:block;flex:0 0 auto}
.locationLabelSheetV33 .labelSku,#printOnlyLabelsV33 .labelSku{font-size:6.4pt;font-weight:bold;line-height:1;white-space:nowrap;max-width:1.62in;overflow:hidden;text-overflow:ellipsis;text-align:center;margin-top:.025in}
.locationLabelSheetV33 .debugBorder,#printOnlyLabelsV33 .debugBorder{border:1px dashed #777}
#printOnlyLabelsV33{display:none}
@media print{
  body.printing-location-labels-v33{margin:0!important;padding:0!important;background:white!important}
  body.printing-location-labels-v33>*:not(#printOnlyLabelsV33){display:none!important}
  body.printing-location-labels-v33 #printOnlyLabelsV33{display:block!important;margin:0!important;padding:0!important;background:white!important}
  body.printing-location-labels-v33 #printOnlyLabelsV33 .printLabelSheet{display:grid!important;grid-template-columns:repeat(4,1.75in)!important;grid-auto-rows:.6667in!important;column-gap:.30in!important;row-gap:0!important;margin:0!important;padding:0!important}
  body.printing-location-labels-v33 #printOnlyLabelsV33 .labelCard{width:1.75in!important;height:.6667in!important;border:0!important;margin:0!important}
  body.printing-location-labels-v33 #printOnlyLabelsV33 .debugBorder{border:1px dashed #777!important}
  @page{size:letter;margin:.55in .30in .45in .30in}
}
@media(max-width:900px){.locationGridV33,.locationSummaryGridV33{grid-template-columns:1fr}.locationPickerV33{grid-template-columns:1fr}}

/* v35 Inventory Aging Alerts */
.agingSummaryGridV35{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin-bottom:18px}
.agingCardV35{background:#fff;border:1px solid #dbe3ef;border-radius:14px;padding:16px;box-shadow:0 8px 24px rgba(6,23,47,.06)}
.agingCardV35 h3{margin:0 0 8px 0;color:var(--brand-navy,#071426);font-size:15px}
.agingValueV35{font-size:26px;font-weight:800;color:var(--brand-blue,#1d4ed8)}
.agingControlsV35{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:16px;align-items:end}
.agingControlsV35 label{flex:1 1 220px}.agingTableWrapV35{margin-top:14px}.dateInputV35{min-width:132px}
.ageBadgeV35{display:inline-block;font-size:11px;font-weight:800;border-radius:999px;padding:4px 8px;white-space:nowrap}
.age-new{background:#dcfce7;color:#166534;border:1px solid #86efac}
.age-normal{background:#e0f2fe;color:#075985;border:1px solid #7dd3fc}
.age-watch{background:#fef9c3;color:#854d0e;border:1px solid #fde047}
.age-aging{background:#ffedd5;color:#9a3412;border:1px solid #fdba74}
.age-stale{background:#fee2e2;color:#991b1b;border:1px solid #fca5a5}
.warningCardV35 .dashboardValueV28,.warningCardV35 .agingValueV35{color:#dc2626}

/* v36 Quick Price Update Mode */
.quickPriceControlsV36{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(180px,.8fr) minmax(260px,1.4fr);gap:12px;margin-bottom:16px}
.quickPriceBulkPanelV36,.quickPriceHistoryPanelV36{background:#fff;border:1px solid #dbe3ef;border-radius:14px;padding:16px;margin-bottom:16px;box-shadow:0 8px 24px rgba(6,23,47,.06)}
.quickPriceBulkPanelV36 h3{margin-top:0}.customAdjustV36{display:flex;gap:10px;flex-wrap:wrap;align-items:end;margin-top:12px}.customAdjustV36 label{width:130px}.smallNoteV36{color:#64748b;font-size:13px}
.quickPriceSummaryV36{background:#eef5ff;border:1px solid #bfdbfe;border-left:5px solid var(--brand-blue,#1d4ed8);border-radius:10px;padding:10px 12px;margin-bottom:12px}
#quickPriceTableV36 table input[type="checkbox"]{transform:scale(1.2)}#quickPriceTableV36 .tinyInput{width:86px}
@media(max-width:850px){.quickPriceControlsV36{grid-template-columns:1fr}.customAdjustV36 label{width:100%}}

/* v37 Card Details + Filters */
.cardDetailsGridV37{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}
.cardDetailsPanelV37,.detailEditorCardV37{background:#fff;border:1px solid #dbe3ef;border-radius:14px;padding:16px;box-shadow:0 8px 24px rgba(6,23,47,.06)}
.filterGridV37{display:grid;grid-template-columns:repeat(2,minmax(150px,1fr));gap:10px}
.detailCheckGridV37{display:grid;grid-template-columns:repeat(2,minmax(130px,1fr));gap:8px;margin:12px 0}
.conditionalFieldsV37{display:grid;grid-template-columns:1fr 1fr;gap:10px;background:#f8fafc;border:1px solid #dbe3ef;border-radius:10px;padding:10px;margin:10px 0}
.filterCountV37{background:#eef5ff;border:1px solid #bfdbfe;border-left:5px solid var(--brand-blue,#1d4ed8);border-radius:10px;padding:10px;margin-top:12px}
.cardBadgeV37{display:inline-block;background:#dbeafe;color:#1d4ed8;border:1px solid #93c5fd;border-radius:999px;padding:3px 7px;font-size:11px;font-weight:800;margin:1px}
.warningTextV37{color:#b91c1c;font-weight:700}
.detailsBtnV37{background:#4f46e5!important}
@media(max-width:900px){.cardDetailsGridV37{grid-template-columns:1fr}.filterGridV37,.conditionalFieldsV37{grid-template-columns:1fr}}

/* v38 Transaction History */
.transactionGridV38{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}
.transactionPanelV38{background:#fff;border:1px solid #dbe3ef;border-radius:14px;padding:16px;box-shadow:0 8px 24px rgba(6,23,47,.06);margin-bottom:18px}
.transactionMoneyGridV38,.txFilterGridV38{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:10px}
.transactionPanelV38 textarea{width:100%;min-height:70px;padding:10px;border:1px solid #bbb;border-radius:6px}
.transactionPreviewV38{background:#eef5ff;border:1px solid #bfdbfe;border-left:5px solid var(--brand-blue,#1d4ed8);border-radius:10px;padding:10px;margin:12px 0}
.txSummaryGridV38{display:grid;grid-template-columns:repeat(2,minmax(140px,1fr));gap:10px}
.txSummaryGridV38 div{background:#f8fafc;border:1px solid #dbe3ef;border-radius:10px;padding:12px}
.txSummaryGridV38 span{font-size:22px;font-weight:800;color:var(--brand-blue,#1d4ed8)}
.txDetailRowV38.hidden{display:none}
.txDetailBoxV38{background:#f8fafc;border:1px solid #dbe3ef;border-radius:10px;padding:12px}
@media(max-width:900px){.transactionGridV38{grid-template-columns:1fr}.transactionMoneyGridV38,.txFilterGridV38{grid-template-columns:1fr}}

/* v39 Scan-to-Find */
.scanFindSearchV39{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.scanFindInputV39{flex:1 1 320px;font-size:22px;padding:14px}
.scanFindCardV39{background:#fff;border:1px solid #dbe3ef;border-radius:16px;padding:18px;box-shadow:0 10px 28px rgba(6,23,47,.08)}
.scanLocationBannerV39{background:linear-gradient(135deg,#071426,#1d4ed8);color:white;border-radius:16px;padding:18px;margin-bottom:18px;text-align:center}
.scanLocationLabelV39{font-size:13px;letter-spacing:.14em;opacity:.85;font-weight:800}
.scanLocationValueV39{font-size:clamp(30px,6vw,56px);font-weight:900;line-height:1.05;margin-top:6px}
.scanFindMainV39{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.scanFindInfoV39,.scanFindPricingV39{background:#f8fafc;border:1px solid #dbe3ef;border-radius:14px;padding:16px}
.scanFindInfoV39 h3{margin-top:0;font-size:24px}
.scanFindPricingV39{display:grid;grid-template-columns:repeat(2,minmax(130px,1fr));gap:10px}
.scanFindPricingV39 div{background:white;border:1px solid #dbe3ef;border-radius:10px;padding:12px}
.scanBadgesV39{margin-top:10px}.scanFindActionsV39{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.scanFindActionsV39 button{font-size:15px;padding:10px 14px}.scanFindBtnV39{background:#2563eb!important}
@media(max-width:850px){.scanFindMainV39{grid-template-columns:1fr}.scanFindPricingV39{grid-template-columns:1fr 1fr}.scanFindActionsV39 button{flex:1 1 145px}}
@media(max-width:520px){.scanFindPricingV39{grid-template-columns:1fr}}


/* v40 Inventory Quick Find */
.legacyHiddenV40 {
  display: none !important;
}

.inventoryQuickFindV40 {
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(6,23,47,.06);
}

.inventoryQuickFindV40 h3 {
  margin-top: 0;
}

.inventoryQuickFindSearchV40 {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.inventoryQuickFindSearchV40 input {
  flex: 1 1 320px;
  font-size: 20px;
  padding: 12px;
}

.inventoryQuickFindCardV40 {
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  padding: 16px;
  margin-top: 16px;
}

.inventoryQuickLocationV40 {
  background: linear-gradient(135deg, #071426, #1d4ed8);
  color: white;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
  text-align: center;
}

.inventoryQuickLocationLabelV40 {
  font-size: 12px;
  letter-spacing: .14em;
  opacity: .85;
  font-weight: 800;
}

.inventoryQuickLocationValueV40 {
  font-size: clamp(26px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.05;
  margin-top: 6px;
}

.inventoryQuickGridV40 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.inventoryQuickInfoV40,
.inventoryQuickPricingV40 {
  background: #f8fafc;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  padding: 14px;
}

.inventoryQuickInfoV40 h3 {
  margin-top: 0;
}

.inventoryQuickPricingV40 {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 10px;
}

.inventoryQuickPricingV40 div {
  background: white;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  padding: 10px;
}

.inventoryQuickActionsV40 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.inventoryHighlightV40 {
  outline: 3px solid #2563eb !important;
  outline-offset: -3px;
  background: #eff6ff !important;
}

@media(max-width:850px) {
  .inventoryQuickGridV40 {
    grid-template-columns: 1fr;
  }
  .inventoryQuickPricingV40 {
    grid-template-columns: 1fr 1fr;
  }
  .inventoryQuickActionsV40 button {
    flex: 1 1 145px;
  }
}

@media(max-width:520px) {
  .inventoryQuickPricingV40 {
    grid-template-columns: 1fr;
  }
}

/* v41 Mobile Card Show Mode */
.showModeTopV41,.cardShowGridV41{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}
.showPanelV41{background:#fff;border:1px solid #dbe3ef;border-radius:16px;padding:16px;box-shadow:0 8px 24px rgba(6,23,47,.06);margin-bottom:18px}
.showSessionFormV41{display:grid;grid-template-columns:repeat(2,minmax(160px,1fr));gap:10px}.showSessionFormV41 textarea{min-height:62px}
.showMetricGridV41,.showPriceGridV41,.showCartTotalsV41{display:grid;grid-template-columns:repeat(3,minmax(110px,1fr));gap:10px}
.showMetricGridV41 div,.showPriceGridV41 div,.showCartTotalsV41 div{background:#f8fafc;border:1px solid #dbe3ef;border-radius:12px;padding:12px}
.showMetricGridV41 span,.showCartTotalsV41 strong{font-size:22px;font-weight:900;color:var(--brand-blue,#1d4ed8)}
.showScanInputV41{width:100%;font-size:22px;padding:14px;margin-bottom:10px}
.showStatusBadgeV41{display:inline-block;background:#dcfce7;color:#166534;border:1px solid #86efac;border-radius:999px;padding:6px 12px;font-weight:900;margin-bottom:10px}
.showStatusBadgeV41.inactive{background:#fee2e2;color:#991b1b;border-color:#fca5a5}
.showResultCardV41{background:#f8fafc;border:1px solid #dbe3ef;border-radius:14px;padding:14px;margin-top:12px}
.showLocationBannerV41{background:linear-gradient(135deg,#071426,#1d4ed8);color:#fff;border-radius:14px;padding:16px;font-size:28px;font-weight:900;text-align:center;margin-bottom:12px}
.cartCreateV41{display:flex;gap:8px;flex-wrap:wrap}.cartCreateV41 input{flex:1 1 200px}
.showCartChipV41{border:1px solid #dbe3ef;background:#f8fafc;border-radius:12px;padding:12px;margin-bottom:8px;cursor:pointer}
.showCartChipV41.active{outline:3px solid #2563eb;background:#eff6ff}
.holdBadgeV41{display:inline-block;background:#fef9c3;color:#854d0e;border:1px solid #fde047;border-radius:999px;padding:2px 7px;font-size:11px;font-weight:800}
.showBigButtonsV41 button{font-size:15px;padding:10px 14px}.showBoxListV41{max-height:280px;overflow:auto;background:#fff;border:1px solid #dbe3ef;border-radius:10px;padding:10px;margin-top:10px}
@media(max-width:900px){.showModeTopV41,.cardShowGridV41{grid-template-columns:1fr}.showSessionFormV41,.showMetricGridV41,.showPriceGridV41,.showCartTotalsV41{grid-template-columns:1fr 1fr}.showBigButtonsV41 button{flex:1 1 135px}}
@media(max-width:520px){.showSessionFormV41,.showMetricGridV41,.showPriceGridV41,.showCartTotalsV41{grid-template-columns:1fr}.showLocationBannerV41{font-size:22px}}

/* v42 Inventory Photos */
.photoGridV42{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}
.photoPanelV42,.photoEditorCardV42{background:#fff;border:1px solid #dbe3ef;border-radius:16px;padding:16px;box-shadow:0 8px 24px rgba(6,23,47,.06);margin-bottom:18px}
.photoEditorCardV42{display:grid;grid-template-columns:260px 1fr;gap:18px}
.photoPreviewBoxV42{text-align:center}.photoLargeV42{width:240px;max-height:340px;object-fit:contain;border-radius:14px;border:1px solid #dbe3ef;background:#f8fafc}
.photoMediumV42{width:160px;max-height:220px;object-fit:contain;border-radius:12px;border:1px solid #dbe3ef;background:#f8fafc}
.photoThumbV42{width:70px;height:96px;object-fit:cover;border-radius:8px;border:1px solid #dbe3ef;background:#f8fafc}
.photoTinyV42{width:44px;height:60px;object-fit:cover;border-radius:6px;border:1px solid #dbe3ef;background:#f8fafc;display:block;margin-bottom:4px}
.pasteDropV42{border:2px dashed #93c5fd;background:#eff6ff;border-radius:14px;padding:18px;text-align:center;margin:12px 0;cursor:pointer;font-weight:800;color:#1d4ed8}.pasteDropV42:focus{outline:3px solid #2563eb}
.fileUploadV42{display:block;background:#f8fafc;border:1px solid #dbe3ef;border-radius:10px;padding:10px;margin-bottom:10px}
.inventoryMiniPhotoV42{display:block;margin-bottom:4px}.photoBtnV42{background:#7c3aed!important}.quickFindPhotoV42,.showPhotoV42,.detailsPhotoBlockV42{text-align:center;margin-bottom:12px}.warningTextV42{color:#b91c1c;font-weight:800}
@media(max-width:900px){.photoGridV42{grid-template-columns:1fr}.photoEditorCardV42{grid-template-columns:1fr}.photoLargeV42{width:100%;max-width:280px}}

/* v43 IndexedDB photo storage */
.photoMigrationBoxV43{margin-bottom:16px}
#photoMigrationStatusV43{font-weight:800;margin-top:8px;color:#1d4ed8}

/* v44 Photo Backup / Restore */
.photoBackupBoxV44{margin-bottom:16px}
#photoBackupStatusV44{font-weight:800;margin-top:8px;color:#1d4ed8}
.restorePhotoLabelV44{display:inline-block;background:#f8fafc;border:1px solid #dbe3ef;border-radius:8px;padding:8px 10px}
.restorePhotoLabelV44 input{display:block;margin-top:6px;max-width:260px}

/* v45 eBay API Foundation */
.ebayApiGridV45{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}
.ebayApiPanelV45{background:#fff;border:1px solid #dbe3ef;border-radius:16px;padding:16px;box-shadow:0 8px 24px rgba(6,23,47,.06);margin-bottom:18px}
.ebayStatusV45{border-radius:10px;padding:12px;margin-bottom:12px;font-weight:800}
.ebayStatusV45.ok{background:#dcfce7;color:#166534;border:1px solid #86efac}
.ebayStatusV45.warn{background:#fef9c3;color:#854d0e;border:1px solid #fde047}
.apiChecklistV45{background:#f8fafc;border:1px solid #dbe3ef;border-radius:12px;padding:12px;margin-top:14px}
.apiChecklistV45 label{display:block;margin:7px 0}.ebayImportSummaryV45{background:#eef5ff;border:1px solid #bfdbfe;border-left:5px solid var(--brand-blue,#1d4ed8);border-radius:10px;padding:10px;margin-top:12px;font-weight:800}
.ebayThumbV45{width:54px;height:72px;object-fit:cover;border-radius:6px;border:1px solid #dbe3ef}
@media(max-width:900px){.ebayApiGridV45{grid-template-columns:1fr}}

/* v49 Merge Recovery */
.recoveryGridV49{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}
.recoveryPanelV49{background:#fff;border:1px solid #dbe3ef;border-radius:16px;padding:16px;box-shadow:0 8px 24px rgba(6,23,47,.06);margin-bottom:18px}
.mergeSummaryV49{background:#f8fafc;border:1px solid #dbe3ef;border-radius:12px;padding:12px;line-height:1.7}
.checkRowV49{display:block;margin:8px 0;font-weight:800}
.warningBoxV49{margin-top:12px;background:#fef9c3;border:1px solid #fde047;color:#854d0e;border-radius:10px;padding:10px}
.fieldPillV49{display:inline-block;background:#e0f2fe;color:#075985;border:1px solid #7dd3fc;border-radius:999px;padding:3px 8px;margin:2px;font-size:12px;font-weight:900}
.dangerSoftV49{background:#fff7ed!important;color:#9a3412!important;border:1px solid #fdba74!important}
@media(max-width:900px){.recoveryGridV49{grid-template-columns:1fr}}

/* v50 Cloud Sync Foundation */
.cloudGridV50{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}
.cloudPanelV50{background:#fff;border:1px solid #dbe3ef;border-radius:16px;padding:16px;box-shadow:0 8px 24px rgba(6,23,47,.06);margin-bottom:18px}
.cloudStatusV50{background:#f8fafc;border:1px solid #dbe3ef;border-radius:12px;padding:12px;line-height:1.7;font-weight:800}
.cloudStatusV50.ok{background:#ecfdf5;border-color:#86efac;color:#166534}
.cloudStatusV50.bad{background:#fef2f2;border-color:#fecaca;color:#991b1b}
.cloudProgressV50{background:#f8fafc;border:1px solid #dbe3ef;border-radius:12px;padding:12px;min-height:42px;font-weight:800}
.cloudLogV50{background:#0f172a;color:#e2e8f0;border-radius:12px;padding:12px;min-height:120px;max-height:280px;overflow:auto;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}
.cloudLogLineV50{padding:6px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.cloudLogLineV50.ok{color:#86efac}.cloudLogLineV50.bad{color:#fca5a5}
.smallTextV50{font-size:13px;color:#64748b}.checkRowV50{display:block;margin:8px 0;font-weight:800}
.dangerSoftV50{background:#fff7ed!important;color:#9a3412!important;border:1px solid #fdba74!important}
@media(max-width:900px){.cloudGridV50{grid-template-columns:1fr}}

/* v52 Auto Cloud Sync */
#autoCloudSyncPanelV52{border-left:5px solid #2563eb}

/* v53 Cloud Restore */
.snapshotListV53{display:grid;gap:12px}
.snapshotCardV53{background:#f8fafc;border:1px solid #dbe3ef;border-radius:12px;padding:12px}
#cloudRestoreV53 .cloudPanelV50{border-left:4px solid #0ea5e9}

/* v54 True Snapshot System */
.snapshotSelectableV54{cursor:pointer;transition:transform .08s ease, border-color .08s ease}
.snapshotSelectableV54:hover{transform:translateY(-1px);border-color:#2563eb}
#snapshotRestorePanelV54{border-left:4px solid #f97316}

/* v54.5 Location Cloud Sync */
#locationCloudSyncPanelV545{border-left:4px solid #22c55e}


/* v55A Authentication + Branding */
:root{--cfos-navy:#07113D;--cfos-blue:#4767B6;--cfos-bg:#F5F7FB}
.authGateV55A{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 30% 15%,rgba(71,103,182,.18),transparent 30%),linear-gradient(135deg,#f6f8fc 0%,#eaf0fb 100%);padding:24px}
.authCardV55A{width:min(460px,100%);background:white;border:1px solid rgba(7,17,61,.12);border-radius:28px;box-shadow:0 30px 80px rgba(7,17,61,.18);padding:34px}
.authLogoV55A{display:block;width:min(330px,90%);height:auto;margin:0 auto 8px}
.authSubtitleV55A{text-align:center;color:#64748b;font-weight:800;margin:0 0 18px;letter-spacing:.08em;text-transform:uppercase;font-size:12px}
.authCardV55A label{display:block;margin:12px 0 6px;color:var(--cfos-navy);font-weight:900}
.authCardV55A input{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:14px;padding:14px;font-size:16px;outline:none}
.authCardV55A input:focus{border-color:var(--cfos-blue);box-shadow:0 0 0 4px rgba(71,103,182,.14)}
.authButtonV55A{width:100%;margin-top:18px;background:var(--cfos-blue)!important;color:white!important;border:none!important;border-radius:14px!important;padding:14px!important;font-weight:900!important;font-size:16px!important;cursor:pointer}
.authSecondaryV55A{width:100%;margin-top:10px;background:#eef3ff!important;color:var(--cfos-navy)!important;border:1px solid #c7d2fe!important;border-radius:14px!important;padding:12px!important;font-weight:800!important;cursor:pointer}
.authStatusV55A{background:#f8fafc;color:#0f172a;border:1px solid #dbe3ef;border-radius:14px;padding:12px;font-weight:800;margin:12px 0}
.authStatusV55A.ok{background:#ecfdf5;border-color:#86efac;color:#166534}.authStatusV55A.bad{background:#fef2f2;border-color:#fecaca;color:#991b1b}
.authHelpV55A{text-align:center;color:#64748b;font-size:13px;margin:14px 0 0}
.appBrandHeaderV55A{display:none;align-items:center;justify-content:space-between;gap:18px;padding:14px 24px;background:#fff;border-bottom:1px solid #dbe3ef}
.appLogoV55A{display:block;height:58px;width:auto;max-width:min(520px,60vw);object-fit:contain}
.brandRightV55A{display:flex;align-items:center;gap:12px;color:var(--cfos-navy);font-weight:900}
.currentUserV55A{background:#f1f5f9;border:1px solid #dbe3ef;border-radius:999px;padding:9px 13px;font-size:13px}
#logoutButtonV55A{display:none;background:var(--cfos-navy)!important;color:white!important;border:0!important;border-radius:999px!important;padding:10px 14px!important;font-weight:900!important;cursor:pointer}
body.authSignedOutV55A nav,body.authSignedOutV55A main,body.authSignedOutV55A .tab,body.authSignedOutV55A header:not(.appBrandHeaderV55A){filter:blur(3px);pointer-events:none;user-select:none}
body.authSignedInV55A{background:var(--cfos-bg)}
@media(max-width:760px){.appBrandHeaderV55A{flex-direction:column;align-items:flex-start;padding:12px}.appLogoV55A{height:auto;max-width:95vw}.brandRightV55A{width:100%;justify-content:space-between}}

/* v55B Branding Cleanup + Plan Badge */
.planBadgeV55B{
  background:#dbeafe;
  color:#07113D;
  border:1px solid #bfdbfe;
  border-radius:999px;
  padding:9px 13px;
  font-weight:900;
  font-size:13px;
}

/* Hide legacy 225Collectibles/old inventory tracker header if it remains in the document */
.v55bBrandingCleanup > header:first-of-type,
.v55bBrandingCleanup .legacyHeader,
.v55bBrandingCleanup .brandHeader,
.v55bBrandingCleanup .topHeader{
  display:none!important;
}

/* Keep the new CardFlowOS V55A header visible */
.v55bBrandingCleanup #appBrandHeaderV55A{
  display:flex;
}
#ownerFrameworkPanelV55B{border-left:4px solid #7c3aed}

/* v55C User Isolation */
#userIsolationPanelV55C{border-left:4px solid #14b8a6}

/* v55D Roles & Permissions */
#rolesPanelV55D{border-left:4px solid #f59e0b}
.permissionPreviewBlockedV55D{
  opacity:.48!important;
  filter:grayscale(.35);
}

/* v55E Auth Cleanup */
#authCleanupPanelV55E{border-left:4px solid #0ea5e9}

/* v56A Organization Framework */
#organizationPanelV56A{border-left:4px solid #2563eb}

/* v56B User Invites */
#userInvitesPanelV56B{border-left:4px solid #9333ea}
.inviteGridV56B{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:14px;
  margin:12px 0;
}
.inputV56B{
  width:100%;
  padding:12px 14px;
  border:1px solid #cbd5e1;
  border-radius:12px;
  font-weight:800;
  font-size:15px;
}
.inviteListV56B{
  margin-top:12px;
  display:grid;
  gap:8px;
}
.inviteRowV56B{
  display:grid;
  grid-template-columns:2fr .7fr .7fr 1.5fr;
  gap:8px;
  align-items:center;
  background:#f8fafc;
  border:1px solid #dbe3ef;
  border-radius:14px;
  padding:10px 12px;
}
@media(max-width:760px){
  .inviteGridV56B,.inviteRowV56B{grid-template-columns:1fr}
}

/* v56C User Management */
.subtleTextV56C{color:#64748b;font-weight:700}
.teamGridV56C{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0}
.teamCardV56C{background:white;border:1px solid #dbe3ef;border-left:4px solid #2563eb;border-radius:18px;padding:20px;box-shadow:0 10px 28px rgba(15,23,42,.06);margin-bottom:18px}
.teamCardV56C label{display:block;margin:12px 0 6px;font-weight:900}
.teamListV56C{margin-top:10px}
.teamTableV56C{display:grid;gap:8px}
.teamHeaderV56C,.teamRowV56C{display:grid;grid-template-columns:2fr .8fr .8fr 1fr;gap:10px;align-items:center;padding:10px 12px}
.teamHeaderV56C{background:#07113D;color:white;border-radius:12px;font-weight:900}
.teamRowV56C{background:#f8fafc;border:1px solid #dbe3ef;border-radius:12px}
.teamRowV56C small{display:block;color:#64748b;font-size:11px;word-break:break-all}
.teamRowV56C select{width:100%;padding:8px;border:1px solid #cbd5e1;border-radius:10px;font-weight:800}
.teamRowV56C button{padding:8px 10px!important;border-radius:10px!important}
@media(max-width:900px){.teamGridV56C{grid-template-columns:1fr}.teamHeaderV56C,.teamRowV56C{grid-template-columns:1fr}}

/* v56D User Testing */
.v56dCard{border-left-color:#22c55e}
.testStepsV56D{font-weight:800;color:#334155;line-height:1.8}
.permissionMatrixV56D{display:grid;gap:6px;overflow:auto}
.matrixHeaderV56D,.matrixRowV56D{display:grid;grid-template-columns:2fr repeat(3,.8fr);gap:8px;align-items:center;padding:9px 10px;border-radius:10px}
.matrixHeaderV56D{background:#07113D;color:white;font-weight:900}
.matrixRowV56D{background:#f8fafc;border:1px solid #dbe3ef;font-weight:800}
.allowedV56D{color:#166534;background:#dcfce7;border-radius:999px;padding:4px 8px;text-align:center}
.blockedV56D{color:#991b1b;background:#fee2e2;border-radius:999px;padding:4px 8px;text-align:center}
@media(max-width:850px){.matrixHeaderV56D,.matrixRowV56D{grid-template-columns:1fr}}


/* v56D.5 Pending Invite Controls */
.inviteActionsV56D5{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.inviteActionsV56D5 button{
  padding:8px 10px!important;
  border-radius:10px!important;
}
.dangerBtnV56D5{
  background:#991b1b!important;
  color:white!important;
}
.inviteControlsTableV56D5 .teamRowV56C{
  align-items:center;
}


/* v56E Real Invite Email Delivery */
.v56eCard{border-left-color:#0ea5e9}
#inviteEmailPanelV56E{margin-top:18px}


/* v56F Invite Onboarding */
.hiddenV56F{display:none!important}
.inviteOnboardingV56F{position:fixed;inset:0;z-index:99999;background:rgba(7,17,61,.72);backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center;padding:24px}
.inviteOnboardingCardV56F{width:min(760px,96vw);background:white;border-radius:28px;border:1px solid #dbe3ef;box-shadow:0 30px 100px rgba(0,0,0,.35);padding:30px}
.inviteBrandV56F{text-align:center;margin-bottom:20px}
.inviteBrandV56F img{max-width:360px;width:80%;height:auto;margin:0 auto 10px;display:block}
.inviteBrandV56F h1{margin:0;color:#07113D;font-size:34px;line-height:1.05}
.inviteBrandV56F p{color:#64748b;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.inviteOnboardingDetailsV56F{background:#f8fafc;border:1px solid #dbe3ef;border-radius:18px;padding:14px 18px;margin:16px 0;font-weight:800}
.passwordBoxV56F label{display:block;font-weight:950;color:#07113D;margin:12px 0 8px}
.passwordBoxV56F input{width:100%;padding:14px 16px;border:1px solid #cbd5e1;border-radius:14px;font-size:16px;font-weight:800;margin-bottom:10px}


/* v56F.1 Team Member Enable + Reconcile */
.disabledMemberRowV56F1{
  background:#fff7ed!important;
  border-color:#fed7aa!important;
}
.enableBtnV56F1{
  background:#16a34a!important;
  color:white!important;
}


/* v56F.2 Forced Password Setup Gate */
.forcedPasswordNoticeV56F2{
  margin:12px 0;
  padding:14px 16px;
  border-radius:14px;
  background:#fff7ed;
  border:1px solid #fb923c;
  color:#9a3412;
  font-weight:950;
}
.passwordGateActiveV56F2 main,
.passwordGateActiveV56F2 header,
.passwordGateActiveV56F2 nav{
  pointer-events:none;
}
.passwordGateActiveV56F2 #inviteOnboardingV56F{
  pointer-events:auto;
}


/* v56F.3 First Login Password Setup Required */
.passwordGateActiveV56F3 main,
.passwordGateActiveV56F3 header,
.passwordGateActiveV56F3 nav,
.passwordGateActiveV56F3 .tabs,
.passwordGateActiveV56F3 .tab-nav{
  pointer-events:none!important;
  filter:blur(2px);
}
.passwordGateActiveV56F3 #inviteOnboardingV56F,
.passwordGateActiveV56F3 #inviteOnboardingV56F *{
  pointer-events:auto!important;
  filter:none!important;
}
.passwordGateActiveV56F3 #inviteOnboardingV56F{
  display:flex!important;
}


/* v57 Cloud Backup & Restore Hardening */
.readinessGridV57{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  margin:18px 0;
}
.readinessCardV57{
  background:white;
  border:1px solid #dbe3ef;
  border-left:4px solid #0284c7;
  border-radius:18px;
  padding:20px;
  box-shadow:0 10px 28px rgba(15,23,42,.06);
  margin-bottom:18px;
}
.summaryGridV57{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.summaryGridV57 div{
  background:#f8fafc;
  border:1px solid #dbe3ef;
  border-radius:14px;
  padding:14px;
}
.summaryGridV57 strong{
  display:block;
  color:#07113D;
  font-size:13px;
}
.summaryGridV57 span{
  display:block;
  font-size:24px;
  font-weight:950;
  margin-top:4px;
}
.readyBannerV57,.warningBannerV57{
  margin-top:16px;
  border-radius:14px;
  padding:14px 16px;
  font-weight:950;
}
.readyBannerV57{
  background:#dcfce7;
  border:1px solid #86efac;
  color:#166534;
}
.warningBannerV57{
  background:#fff7ed;
  border:1px solid #fdba74;
  color:#9a3412;
}
@media(max-width:900px){
  .readinessGridV57,.summaryGridV57{grid-template-columns:1fr}
}


/* v58A eBay API Foundation */
.ebayGridV58A{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  margin:18px 0;
}
.ebayCardV58A{
  background:white;
  border:1px solid #dbe3ef;
  border-left:4px solid #2563eb;
  border-radius:18px;
  padding:20px;
  box-shadow:0 10px 28px rgba(15,23,42,.06);
  margin-bottom:18px;
}
.roadmapV58A{
  display:grid;
  gap:10px;
}
.roadmapV58A div{
  display:grid;
  grid-template-columns:90px 1fr;
  gap:10px;
  align-items:center;
  background:#f8fafc;
  border:1px solid #dbe3ef;
  border-radius:14px;
  padding:12px;
}
.roadmapV58A strong{
  color:#07113D;
}
.roadmapV58A span{
  color:#475569;
  font-weight:800;
}
.safetyListV58A{
  color:#334155;
  font-weight:800;
  line-height:1.8;
}
@media(max-width:900px){
  .ebayGridV58A{grid-template-columns:1fr}
}


/* v58B Active eBay Listing Import */
.v58bCard{border-left-color:#16a34a}
.activeListingsPreviewV58B{
  margin-top:14px;
  background:#f8fafc;
  border:1px solid #dbe3ef;
  border-radius:16px;
  padding:14px;
  max-height:520px;
  overflow:auto;
}
.activeListingsSummaryV58B{
  font-weight:950;
  color:#166534;
  margin-bottom:12px;
}
.activeListingsTableWrapV58B{
  overflow:auto;
}
.activeListingsTableV58B{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
}
.activeListingsTableV58B th{
  background:#07113D;
  color:white;
  text-align:left;
  padding:10px;
  position:sticky;
  top:0;
  z-index:1;
}
.activeListingsTableV58B td{
  border-bottom:1px solid #dbe3ef;
  padding:9px 10px;
  vertical-align:top;
}
.activeListingsTableV58B tbody tr:hover{
  background:#eef6ff;
}


/* V58F Smart Label Queue / Partial Sheet Printing */
.smartLabelControlsV58F,.smartLabelStartBoxV58F,.smartLabelPreviewActionsV58F{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:12px 0;}
.smartLabelControlsV58F input,.smartLabelStartBoxV58F input{padding:10px;border:1px solid #cbd5e1;border-radius:8px;font-size:16px;}
.smartLabelControlsV58F input:first-child{min-width:280px;flex:1;}
.smartLabelPagePreviewV58F{margin:16px 0;border:1px solid #dbe3ef;border-radius:10px;padding:10px;background:#fff;}
.smartLabelPageTitleV58F{font-weight:700;margin-bottom:8px;}
.smartLabelSheetV58F{width:8.5in;min-height:11in;display:grid;grid-template-columns:repeat(4,1.75in);grid-template-rows:repeat(15,0.666in);gap:0;background:white;color:black;}
.smartLabelCellV58F,.smartLabelBlankV58F{width:1.75in;height:0.666in;overflow:hidden;box-sizing:border-box;}
.smartLabelCellV58F{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:0.035in 0.045in;text-align:center;}
.smartLabelBarcodeV58F{width:1.55in;height:0.28in;display:block;}
.smartLabelBarcodeFallbackV58F{font-family:monospace;font-size:8pt;}
.smartLabelSkuV58F{font-size:7.5pt;font-weight:700;line-height:1;margin-top:0.02in;}
@media print{
  body *{visibility:hidden!important;}
  #smartLabelPrintPreviewV58F,#smartLabelPrintPreviewV58F *{visibility:visible!important;}
  #smartLabelPrintPreviewV58F{position:absolute;left:0;top:0;width:8.5in;margin:0!important;padding:0!important;}
  #smartLabelPrintPreviewV58F h3,#smartLabelPrintPreviewV58F p,.smartLabelPreviewActionsV58F,.smartLabelPageTitleV58F{display:none!important;}
  .smartLabelPagePreviewV58F{border:none!important;padding:0!important;margin:0!important;page-break-after:always;}
  .smartLabelSheetV58F{width:8.5in!important;min-height:11in!important;margin:0!important;padding:0!important;display:grid!important;grid-template-columns:repeat(4,1.75in)!important;grid-template-rows:repeat(15,0.666in)!important;gap:0!important;}
}

/* V59 Backup & Sync Safety Center */
.safetyControlsV59{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:14px 0}.safetyControlsV59 input{padding:10px;border:1px solid #cbd5e1;border-radius:8px;min-width:240px}.buttonLikeV59{display:inline-block;padding:10px 14px;border-radius:8px;background:#0f172a;color:white;cursor:pointer;font-weight:700}

/* V59.2.1 Safety Center Hotfix */
.safetyStatusBannerV5921 {
  border-radius: 12px;
  padding: 16px;
  margin: 14px 0;
  border: 1px solid #dbe3ef;
}
.safetyStatusBannerV5921 h3 { margin: 0 0 6px 0; }
.safetyStatusBannerV5921 p { margin: 0; }
.safetyStatusBannerV5921.healthy {
  background: #ecfdf5;
  border-color: #86efac;
  color: #166534;
}
.safetyStatusBannerV5921.warning {
  background: #fffbeb;
  border-color: #fcd34d;
  color: #92400e;
}
.safetyStatusBannerV5921.action {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #991b1b;
}
.safetyEbayCardV5921 { margin-top: 14px; }


/* V59.3 Quota-Safe Safety Center */
[data-v593-hidden-legacy="true"] {
  display: none !important;
}


/* V59.4 Visible Quota-Safe Safety Center */
button[data-v594-safety-nav="true"] {
  border: 1px solid rgba(255,255,255,.25);
}
#v594SafetyCenter .card {
  margin-top: 18px;
}


/* V59.4.1 Smart Label Queue Barcode Fix */
.smartLabelBarcodeV58F,
svg[data-barcode-v58f],
svg[data-v5941-barcode] {
  display: block !important;
  width: 1.55in !important;
  height: 0.30in !important;
  min-height: 0.25in !important;
}
@media print {
  .smartLabelBarcodeV58F,
  svg[data-barcode-v58f],
  svg[data-v5941-barcode] {
    display: block !important;
    width: 1.55in !important;
    height: 0.30in !important;
  }
}


/* V59.5.1 Unified Inventory Hotfix */
.v5951Panel { margin: 18px auto; max-width: 95%; }
.v5951Filters { margin: 14px 0; }
.v5951FilterRow,.v5951FilterChecks{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:10px 0}
.v5951FilterRow input,.v5951FilterRow select{padding:10px;border:1px solid #cbd5e1;border-radius:8px;font-size:15px}
.v5951FilterRow input{min-width:260px;flex:1}
.v5951TableWrap{overflow-x:auto}
.v5951Table{min-width:1200px}
.v5951SkuCell{min-width:125px}
.v5951Thumb{display:block;width:56px;height:70px;object-fit:cover;border-radius:6px;border:1px solid #dbe3ef;background:#f8fafc;margin-bottom:4px}
.v5951NoPhoto{font-size:10px;color:#64748b;display:flex;align-items:center;justify-content:center;text-align:center}
.v5951Input{width:100%;min-width:130px;padding:8px;border:1px solid #cbd5e1;border-radius:6px}
.v5951Title{min-width:250px}
.v5951Small{width:85px;padding:8px;border:1px solid #cbd5e1;border-radius:6px}
.v5951Channels{min-width:280px}
.v5951Channel{display:inline-flex;align-items:center;gap:4px;margin:2px 8px 2px 0;white-space:nowrap;font-size:13px}


/* V59.5.2 Unified Inventory Sold Out + Action Buttons */
.v5952Actions { min-width: 260px; }
.v5952Actions button { margin: 2px; }
.v5952CompBtn { background: #0f766e !important; }
.v5952HideSoldOut { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }


/* V60 Grading Pipeline Manager Phase 1 */
.v60PanelRoot{margin:18px auto;max-width:96%}.v60Panel{margin:14px 0}.v60RowControls{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:10px 0}.v60RowControls input,.v60RowControls select,.v60BatchGrid input,.v60BatchGrid select{padding:10px;border:1px solid #cbd5e1;border-radius:8px;font-size:15px}.v60RowControls input{min-width:260px;flex:1}.v60BatchGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin:10px 0}.v60TableWrap{overflow-x:auto}.v60Table{min-width:1700px}.v60Thumb{display:block;width:52px;height:68px;object-fit:cover;border-radius:6px;border:1px solid #dbe3ef;background:#f8fafc;margin-bottom:4px}.v60NoPhoto{font-size:10px;color:#64748b;display:flex;align-items:center;justify-content:center;text-align:center}.v60Title{min-width:260px;width:100%;padding:8px;border:1px solid #cbd5e1;border-radius:6px}.v60Small{width:95px;padding:8px;border:1px solid #cbd5e1;border-radius:6px}.v60Actions{min-width:150px}.v60Actions button{margin:2px}


/* V61.1 Navigation Cleanup / UI Shell */
#v611NavShell {
  position: sticky;
  top: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 14px;
  background: #0f172a;
  color: #fff;
  box-shadow: 0 2px 12px rgba(15,23,42,.25);
}
#v611NavShell .v611Brand {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  margin-right: 8px;
  min-width: 120px;
}
#v611NavShell .v611Brand strong {
  font-size: 17px;
}
#v611NavShell .v611Brand span {
  font-size: 11px;
  color: #cbd5e1;
}
.v611NavItems {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
#v611NavShell button {
  background: #1e293b;
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
#v611NavShell button:hover {
  background: #334155;
}
.v611Dropdown {
  position: relative;
  display: inline-block;
}
.v611DropdownMenu {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  min-width: 210px;
  max-height: 70vh;
  overflow-y: auto;
  background: #fff;
  color: #0f172a;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  box-shadow: 0 12px 35px rgba(15,23,42,.22);
  padding: 8px;
  z-index: 10000;
}
.v611Dropdown:hover .v611DropdownMenu,
.v611Dropdown:focus-within .v611DropdownMenu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.v611DropdownMenu button {
  width: 100%;
  text-align: left;
  background: #fff !important;
  color: #0f172a !important;
  border: 1px solid transparent !important;
  border-radius: 8px;
}
.v611DropdownMenu button:hover {
  background: #f1f5f9 !important;
  border-color: #dbe3ef !important;
}
.v611SettingsMenu {
  right: 0;
  left: auto;
}
.v611PlaceholderPanel {
  margin: 16px auto;
  max-width: 96%;
}
body.v611HideLegacyMenu > button:not([data-v611-exempt]),
body.v611HideLegacyMenu > header button,
body.v611HideLegacyMenu nav button,
body.v611HideLegacyMenu .tabs > button,
body.v611HideLegacyMenu .tabButtons > button,
body.v611HideLegacyMenu .toolbar > button {
  display: none !important;
}
body.v611HideLegacyMenu #v611NavShell,
body.v611HideLegacyMenu #v611NavShell * {
  display: flex;
}
body.v611HideLegacyMenu #v611NavShell button,
body.v611HideLegacyMenu #v611NavShell .v611DropdownMenu button {
  display: inline-block !important;
}
@media (max-width: 900px) {
  #v611NavShell {
    align-items: flex-start;
  }
  .v611NavItems {
    width: 100%;
  }
  #v611NavShell button {
    font-size: 13px;
    padding: 7px 8px;
  }
  .v611DropdownMenu {
    position: fixed;
    left: 10px;
    right: 10px;
    top: 82px;
    max-height: 70vh;
  }
}


/* V61.1.1 Navigation Dropdown Fix
   Corrects dropdown stacking when legacy menu is hidden.
   Prevents the broad legacy-hide display rules from forcing dropdown items into one horizontal row.
*/
#v611NavShell {
  isolation: isolate;
}
#v611NavShell .v611Dropdown {
  position: relative !important;
  display: inline-block !important;
}
#v611NavShell .v611DropdownMenu {
  display: none !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 4px !important;
  position: absolute !important;
  top: calc(100% + 6px) !important;
  left: 0 !important;
  right: auto !important;
  min-width: 230px !important;
  width: max-content !important;
  max-width: 320px !important;
  max-height: 70vh !important;
  overflow-y: auto !important;
  background: #ffffff !important;
  border: 1px solid #dbe3ef !important;
  border-radius: 10px !important;
  box-shadow: 0 18px 45px rgba(15,23,42,.28) !important;
  padding: 8px !important;
  z-index: 2147483647 !important;
}
#v611NavShell .v611Dropdown:hover > .v611DropdownMenu,
#v611NavShell .v611Dropdown:focus-within > .v611DropdownMenu {
  display: flex !important;
}
#v611NavShell .v611DropdownMenu button {
  display: block !important;
  width: 100% !important;
  min-width: 210px !important;
  text-align: left !important;
  white-space: nowrap !important;
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  padding: 9px 12px !important;
  box-shadow: none !important;
}
#v611NavShell .v611DropdownMenu button:hover {
  background: #f1f5f9 !important;
  border-color: #dbe3ef !important;
}
#v611NavShell .v611SettingsMenu {
  left: auto !important;
  right: 0 !important;
}
body.v611HideLegacyMenu #v611NavShell .v611DropdownMenu {
  display: none !important;
}
body.v611HideLegacyMenu #v611NavShell .v611Dropdown:hover > .v611DropdownMenu,
body.v611HideLegacyMenu #v611NavShell .v611Dropdown:focus-within > .v611DropdownMenu {
  display: flex !important;
  flex-direction: column !important;
}
body.v611HideLegacyMenu #v611NavShell .v611DropdownMenu button {
  display: block !important;
}
@media (max-width: 900px) {
  #v611NavShell .v611DropdownMenu {
    position: fixed !important;
    top: 64px !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    max-width: none !important;
  }
}


/* V61.1.2 Navigation Performance Fix */
#v5951Panel:empty,
#v60GradingPanel:empty,
#v611PlaceholderPanel:empty {
  display: none !important;
}


/* V61.2 Cloud Location Sync Fix */
.v612LocationCloudPanel {
  margin-bottom: 18px;
}
.v612Controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
}
.v612Status {
  margin: 12px 0;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  font-weight: 700;
}
.v612Status.ok {
  background: #dcfce7;
  border-color: #86efac;
  color: #166534;
}
.v612Status.bad {
  background: #fee2e2;
  border-color: #fecaca;
  color: #991b1b;
}
.v612Log {
  max-height: 220px;
  overflow: auto;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  padding: 10px;
  background: #f8fafc;
}
.v612LogLine {
  padding: 4px 0;
  border-bottom: 1px solid #e5e7eb;
}
.v612LogLine.ok { color: #166534; }
.v612LogLine.bad { color: #991b1b; }


/* V61.3 eBay Active Listings Import / New Listing Backfill */
.v613Panel { margin: 16px auto; max-width: 96%; }
.v613Status {
  margin: 12px 0;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  font-weight: 700;
}
.v613Status.ok { background:#dcfce7; border-color:#86efac; color:#166534; }
.v613Status.bad { background:#fee2e2; border-color:#fecaca; color:#991b1b; }
.v613Controls { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin:12px 0; }
.v613Controls input { width:90px; padding:8px; border:1px solid #cbd5e1; border-radius:8px; }
.v613TableWrap { overflow-x:auto; max-height:65vh; border:1px solid #dbe3ef; border-radius:10px; }
.v613Table { min-width:1250px; }
.v613Thumb { width:44px; height:58px; object-fit:cover; border-radius:5px; border:1px solid #dbe3ef; }
.v613Badge { display:inline-block; padding:4px 8px; border-radius:999px; font-weight:700; font-size:12px; background:#e0f2fe; color:#075985; white-space:nowrap; }
.v613Badge.create_new { background:#dcfce7; color:#166534; }
.v613Badge.matched_existing { background:#dbeafe; color:#1d4ed8; }
.v613Badge.skipped { background:#fee2e2; color:#991b1b; }


/* V61.3.1 eBay Active Listings 5,000 Listing Fix */
.v613TableWrap {
  max-height: 72vh;
}


/* V61.3.3 Unified Inventory Pagination + Performance Fix */
.v6133Pager { display:flex; flex-wrap:wrap; gap:6px; align-items:center; margin:12px 0; }
.v6133Pager button { min-width:38px; padding:8px 10px; }
.v6133Pager button.active { background:#0f172a !important; color:#fff !important; }
.v6133Pager button:disabled { opacity:.45; cursor:not-allowed; }
.v6133Ellipsis { padding:0 4px; font-weight:700; }
.v6133PageSummary, .v6133InventorySummary { font-weight:700; color:#334155; }
#v6133RowsPerPage { padding:8px; border:1px solid #cbd5e1; border-radius:8px; margin-left:6px; }


/* V62 Dealer Acquisition Platform Phase 1 */
.v62PanelRoot{margin:18px auto;max-width:96%}.v62Panel{margin:14px 0}.v62FormGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin:10px 0}.v62FormGrid input,.v62FormGrid select,.v62FilterRow input,.v62FilterRow select,.v62Input,.v62Money,.v62Table select,.v62Table input[type="date"]{padding:9px;border:1px solid #cbd5e1;border-radius:8px;font-size:14px}.v62FilterRow{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.v62FilterRow input{min-width:280px;flex:1}.v62TableWrap{overflow-x:auto;border:1px solid #dbe3ef;border-radius:10px}.v62Table{min-width:1700px}.v62Input{width:100%;min-width:140px;margin:2px 0}.v62Money{width:95px}.v62Actions{min-width:170px}.v62Actions button{margin:2px}.v62Due{background:#fffbeb!important}.v62Due td:first-child::before{content:"Follow-up due";display:block;font-size:11px;color:#92400e;font-weight:700}


/* V62.1 Dealer Acquisition Seller Intake Portal */
.v621SellerSubmissionsWrap{margin:18px 0;padding:14px;border:1px solid #dbe3ef;border-radius:12px;background:#f8fafc}
.v621IntakeLink input{width:100%;padding:10px;border:1px solid #cbd5e1;border-radius:8px;font-size:14px}
.v621Status{margin:12px 0;padding:12px;border-radius:10px;background:#eff6ff;border:1px solid #bfdbfe;font-weight:700}
.v621SubCard{margin:12px 0}
.v621SubHead{display:flex;justify-content:space-between;gap:12px;align-items:center}
.v621SubHead span{background:#dbeafe;color:#1d4ed8;border-radius:999px;padding:5px 10px;font-weight:800;font-size:12px}
.v621Photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(95px,1fr));gap:8px;margin:10px 0}
.v621Photos img{width:100%;height:105px;object-fit:cover;border:1px solid #dbe3ef;border-radius:8px;background:#fff}
.v621Actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:10px 0}
.v621Actions select{padding:9px;border:1px solid #cbd5e1;border-radius:8px}


/* V62.2 Seller Intake Polish + QR Code */
.v622IntakeHero{display:grid;grid-template-columns:minmax(260px,1fr) 300px;gap:18px;align-items:center;background:linear-gradient(135deg,#ffffff,#eff6ff)}
.v622HeroLeft input{width:100%;padding:11px;border:1px solid #cbd5e1;border-radius:9px;font-weight:700}
.v622SlugRow{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.v622QrBox{text-align:center;background:white;border:1px solid #dbe3ef;border-radius:14px;padding:14px}
.v622QrBox img{width:220px;height:220px;max-width:100%}
.v622QrBox p{font-weight:800;margin:8px 0 0}
.v622SubSummary{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:14px 0}
.v622SubCard{margin:16px 0;border-left:6px solid #2563eb}
.v622SubTop{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;border-bottom:1px solid #e5e7eb;padding-bottom:10px;margin-bottom:12px}
.v622SubTop h3{margin:0}
.v622Meta{color:#64748b;margin:4px 0 0}
.v622Status{display:inline-block;border-radius:999px;padding:6px 11px;font-weight:900;font-size:12px;background:#dbeafe;color:#1d4ed8;white-space:nowrap}
.v622Status.new-submission{background:#dcfce7;color:#166534}
.v622Status.need-more-photos{background:#ffedd5;color:#9a3412}
.v622Status.converted-to-lead{background:#ede9fe;color:#5b21b6}
.v622InfoGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:10px 0}
.v622Description{background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;padding:12px;margin:10px 0;white-space:pre-wrap}
.v622Photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin:12px 0}
.v622PhotoBtn{background:white!important;border:1px solid #dbe3ef!important;padding:4px!important;border-radius:10px!important;box-shadow:none!important}
.v622PhotoBtn img{width:100%;height:170px;object-fit:cover;border-radius:8px}
.v622NoPhotos{padding:12px;border:1px dashed #cbd5e1;border-radius:10px;color:#64748b;margin:10px 0}
.v622ActionBar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px}
.v622ActionBar select{padding:10px;border:1px solid #cbd5e1;border-radius:8px}
@media(max-width:850px){.v622IntakeHero{grid-template-columns:1fr}.v622QrBox img{width:180px;height:180px}}


/* V63 Consignment Module Phase 1 */
.v63PanelRoot{margin:18px auto;max-width:96%}
.v63Panel{margin:14px 0}
.v63FormGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin:10px 0}
.v63FormGrid input,.v63FormGrid select,.v63FilterRow input,.v63FilterRow select,.v63Input,.v63Money,.v63Small,.v63Table select{padding:9px;border:1px solid #cbd5e1;border-radius:8px;font-size:14px}
.v63FilterRow{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.v63FilterRow input{min-width:280px;flex:1}
.v63TableWrap{overflow-x:auto;border:1px solid #dbe3ef;border-radius:10px}
.v63Table{min-width:2100px}
.v63Input{width:100%;min-width:135px;margin:2px 0}
.v63TitleInput{min-width:220px}
.v63Money{width:95px}
.v63Small{width:70px}
.v63Actions{min-width:205px}
.v63Actions button{margin:2px}
.v63Muted{color:#64748b;font-size:13px}
.v63PendingPayout{background:#fffbeb!important}
.v63PendingPayout td:first-child::before{content:"Payout pending";display:block;font-size:11px;color:#92400e;font-weight:800}


/* V63.1 Multi-SKU Consignment Intake */
.v631MultiSkuBox{border:2px solid #bfdbfe;background:#eff6ff;border-radius:14px;padding:14px;margin:14px 0}
.v631LineTableWrap{overflow-x:auto;border:1px solid #dbe3ef;border-radius:10px;background:#fff}
.v631LineTable{min-width:1450px;width:100%;border-collapse:collapse}
.v631LineTable th{background:#0f172a;color:#fff;padding:9px}
.v631LineTable td{border:1px solid #e5e7eb;padding:6px;vertical-align:top}
.v631LineTable input,.v631LineTable select{width:100%;padding:8px;border:1px solid #cbd5e1;border-radius:7px}
.v631DraftControls{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.v631DraftTotals{padding:10px;border:1px solid #bfdbfe;border-radius:10px;background:#fff;font-weight:700;color:#0f172a}
.v631SaveBatch{background:#0f172a!important;margin-top:10px}


/* V64 Inventory Batch Intake + Profit Tracker */
.v64PanelRoot{margin:18px auto;max-width:96%}
.v64Panel{margin:14px 0}
.v64FormGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:10px;margin:10px 0}
.v64FormGrid input,.v64LineTable input{padding:9px;border:1px solid #cbd5e1;border-radius:8px;font-size:14px}
.v64LineTableWrap{overflow-x:auto;border:1px solid #dbe3ef;border-radius:10px;background:#fff;margin-top:12px}
.v64LineTable{min-width:1280px;width:100%;border-collapse:collapse}
.v64LineTable th{background:#0f172a;color:#fff;padding:9px}
.v64LineTable td{border:1px solid #e5e7eb;padding:6px;vertical-align:top}
.v64LineTable input{width:100%}
.v64DraftControls{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.v64DraftTotals{padding:10px;border:1px solid #bfdbfe;border-radius:10px;background:#eff6ff;font-weight:700;color:#0f172a;margin:10px 0}
.v64CreateBtn{background:#0f172a!important}
.v64BatchCard{margin:14px 0;border-left:6px solid #2563eb}
.v64BatchHeader{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.v64BatchHeader h3{margin:0}
.v64BatchHeader p{margin:4px 0;color:#64748b}
.v64BatchStats{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin:12px 0}
.v64BatchStats div{background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;padding:10px}
.v64ProgressCard{background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:12px;margin:12px 0}
.v64BarRow{display:grid;grid-template-columns:55px minmax(150px,1fr) 110px;gap:8px;align-items:center;margin:8px 0}
.v64BarTrack{height:18px;background:#e5e7eb;border-radius:999px;overflow:hidden}
.v64CostBar{height:100%;background:#94a3b8}
.v64SalesBar{height:100%;background:#2563eb}
.v64Recovery{font-size:14px;color:#334155}
.v64Profit{color:#166534;font-weight:800;margin-left:8px}
.v64Remaining{color:#92400e;font-weight:800;margin-left:8px}
.v64BatchLines{margin-top:10px}
.v64BatchLine{padding:8px;border-bottom:1px solid #e5e7eb}
.v64BatchLine span{color:#64748b;font-size:13px}


/* V64.1 Page-Based UI Shell */
body.v641ShellInstalled{margin:0;background:#f3f6fb}
#v641Shell{display:flex;min-height:100vh;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:#0f172a}
#v641Sidebar{width:280px;background:#0f172a;color:white;display:flex;flex-direction:column;position:fixed;left:0;top:0;bottom:0;z-index:20000;box-shadow:6px 0 24px rgba(15,23,42,.18)}
.v641Brand{display:flex;gap:12px;align-items:center;padding:18px;border-bottom:1px solid rgba(255,255,255,.10)}
.v641Logo{width:42px;height:42px;border-radius:12px;background:#2563eb;display:flex;align-items:center;justify-content:center;font-weight:900}
.v641Brand strong{display:block;font-size:18px}.v641Brand span{display:block;color:#cbd5e1;font-size:12px;margin-top:2px}
#v641Nav{flex:1;overflow:auto;padding:12px}
.v641Group{margin-bottom:14px}.v641GroupTitle{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#94a3b8;margin:10px 8px 6px}
#v641Nav button{width:100%;display:flex;gap:10px;align-items:center;text-align:left;background:transparent;color:#e2e8f0;border:0;border-radius:10px;padding:10px 11px;font-weight:750;cursor:pointer}
#v641Nav button span{width:24px;text-align:center;color:#93c5fd}
#v641Nav button:hover{background:#1e293b}
#v641Nav button.active{background:#2563eb;color:white}
#v641Nav button.active span{color:white}
.v641SidebarFoot{padding:12px;border-top:1px solid rgba(255,255,255,.10)}
.v641SidebarFoot button{width:100%;background:#1e293b;color:white;border:1px solid rgba(255,255,255,.12);border-radius:10px;padding:10px;font-weight:800}
#v641Main{margin-left:280px;min-height:100vh;width:calc(100% - 280px)}
#v641Header{position:sticky;top:0;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);z-index:1000;border-bottom:1px solid #dbe3ef;padding:18px 24px;display:flex;align-items:center;gap:14px}
#v641Header h1{margin:0;font-size:28px;color:#0f172a}
#v641Header p{margin:4px 0 0;color:#64748b}
#v641MobileMenu{display:none;background:#0f172a;color:white;border:0;border-radius:10px;padding:10px}
#v641PageContent{padding:22px;max-width:1600px;margin:0 auto}
.v641Hero{background:linear-gradient(135deg,#ffffff,#eff6ff);border:1px solid #dbeafe}
.v641Hero h2{margin-top:0}
.v641DashGrid,.v641SettingsGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-top:16px}
.v641DashGrid button,.v641SettingsGrid button{text-align:left;border:1px solid #dbe3ef;background:white;border-radius:14px;padding:18px;box-shadow:0 8px 22px rgba(15,23,42,.06);cursor:pointer}
.v641DashGrid strong{display:block;font-size:18px}.v641DashGrid span{display:block;color:#64748b;margin-top:6px}
.v641Placeholder{max-width:850px}
body.v641HideLegacyUi > button:not(#v641MobileMenu),
body.v641HideLegacyUi > nav,
body.v641HideLegacyUi > header:not(#v641Header),
body.v641HideLegacyUi #v611NavShell,
body.v641HideLegacyUi [data-v62-acquisition],
body.v641HideLegacyUi [data-v63-consignment],
body.v641HideLegacyUi [data-v64-inventory-batches]{display:none!important}
body.v641HideLegacyUi #v641Shell,
body.v641HideLegacyUi #v641Shell *{box-sizing:border-box}
#v641PageMount > .card,#v641PageMount .card{max-width:none}
@media(max-width:900px){
  #v641Sidebar{transform:translateX(-100%);transition:.2s ease;width:280px}
  body.v641SidebarOpen #v641Sidebar{transform:translateX(0)}
  #v641Main{margin-left:0;width:100%}
  #v641MobileMenu{display:block}
  #v641Header{padding:14px}
  #v641Header h1{font-size:22px}
  #v641PageContent{padding:14px}
}


/* V64.1.1 UI Shell Layout Fix */
body.v6411LayoutFixed{overflow-x:hidden;background:#f3f6fb!important}
body.v6411LayoutFixed .v641LegacyContainerHidden{display:none!important}
#v641DetachedFeatureHost{display:none!important}
#v641Shell{position:relative!important;z-index:50000!important;background:#f3f6fb!important}
#v641Main.v6411MainFixed{background:#f3f6fb!important;min-height:100vh!important}
#v641PageContent.v6411ContentFixed{padding:28px!important}
#v641PageMount.v641CleanCanvas{width:100%;min-height:calc(100vh - 140px)}
#v641PageMount > .v641MountedPanel,
#v641PageMount > .card,
#v641PageMount .v641ClonedLegacyPage{width:100%!important;max-width:none!important;margin:0!important}
.v641MountedPanel{box-shadow:none!important;border:0!important;background:transparent!important;padding:0!important}
.v641ClonedLegacyPage{background:#fff!important;border:1px solid #dbe3ef!important;border-radius:16px!important;padding:22px!important;box-shadow:0 10px 28px rgba(15,23,42,.06)!important}
.v641LoadingCard{max-width:760px!important}
body.v6411LayoutFixed > *:not(#v641Shell):not(#v641DetachedFeatureHost):not(script):not(style){display:none!important}
body.v6411LayoutFixed.v641ShowLegacyOverride > *:not(#v641Shell):not(script):not(style){display:block!important}
#v641Header{left:280px!important;right:0!important}
#v641Sidebar{z-index:60000!important}
@media(max-width:900px){
  #v641Header{left:0!important}
  #v641PageContent.v6411ContentFixed{padding:16px!important}
}


/* V64.1.2 Legacy Page Route Mapping Fix */
#v641PageMount .v6412LegacyPageSection{background:white!important;border:1px solid #dbe3ef!important;border-radius:16px!important;padding:22px!important;box-shadow:0 10px 28px rgba(15,23,42,.06)!important;min-height:200px}
#v641PageMount .v6412LegacyPageSection > h2:first-child{margin-top:0!important;color:#0f172a!important;font-size:26px!important}
#v641PageMount .tab{display:block}
#v641PageMount .toolbar,#v641PageMount .scanLine{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
#v641PageMount input,#v641PageMount select,#v641PageMount textarea{max-width:100%}
#v641PageMount table{max-width:100%}
#v641PageMount .labelSheet{background:white}
#v641DetachedFeatureHost section.tab{display:none!important}


/* V64.1.3 eBay Active Listing Import Route Fix */
.v6413EbayImportPage{min-height:400px}
.v6413ImportButtonPulse{outline:4px solid #93c5fd!important;box-shadow:0 0 0 8px rgba(37,99,235,.15)!important}


/* V64.1.4 Standalone eBay Listing Import Page */
.v6414Standalone{padding:22px!important;border-radius:18px!important;background:#fff!important}
.v6414Header{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;border-bottom:1px solid #dbe3ef;padding-bottom:14px;margin-bottom:14px}
.v6414Header h2{margin:0;color:#0f172a}
.v6414Header p{margin:6px 0 0;color:#64748b}
.v6414Badge{background:#dbeafe;color:#1d4ed8;border-radius:999px;padding:8px 12px;font-weight:900;white-space:nowrap}
.v6414Controls,.v6414Filters,.v6414Pager{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:12px 0}
.v6414Controls label{font-weight:800;color:#0f172a}
.v6414Controls input,.v6414Filters input,.v6414Filters select{padding:10px;border:1px solid #cbd5e1;border-radius:9px}
.v6414Controls button,.v6414Pager button{background:#2563eb;color:white;border:0;border-radius:10px;padding:10px 14px;font-weight:900;cursor:pointer}
.v6414Controls button.v6414Primary{background:#0f172a}
.v6414Pager button.active{background:#0f172a}
.v6414Pager button:disabled{opacity:.45;cursor:not-allowed}
.v6414Counts{background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px;padding:12px;margin:12px 0;color:#0f172a}
.v6414Filters input{min-width:300px;flex:1}
.v6414TableWrap{overflow:auto;border:1px solid #dbe3ef;border-radius:12px;margin-top:12px}
.v6414Table{width:100%;border-collapse:collapse;min-width:1050px}
.v6414Table th{background:#0f172a;color:#fff;padding:10px;text-align:left}
.v6414Table td{border-bottom:1px solid #e5e7eb;padding:8px;vertical-align:middle}
.v6414Table img{width:54px;height:54px;object-fit:cover;border-radius:6px;border:1px solid #dbe3ef}
.v6414Note{color:#64748b;margin-top:12px}


/* V64.1.9 UI Shell Final Cleanup / Stability Pass */
.v6419ComingSoon{max-width:780px!important;text-align:left;background:linear-gradient(135deg,#fff,#eff6ff)!important;border:1px solid #bfdbfe!important}
.v6419ComingIcon{width:54px;height:54px;border-radius:16px;background:#2563eb;color:white;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:900;margin-bottom:12px}
.v6419Planned{margin-top:14px;background:#f8fafc;border:1px solid #dbe3ef;border-radius:12px;padding:12px}
.v6419Planned span{display:inline-block;background:white;border:1px solid #dbe3ef;border-radius:999px;padding:7px 10px;margin:6px 6px 0 0;font-weight:700;color:#334155}
.v6419ImportResult{background:#f8fafc;border:1px solid #dbe3ef;border-radius:14px;padding:14px;margin:12px 0}
.v6419ImportResult h3,.v6419SystemStatus h3{margin-top:0}
.v6419ResultGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.v6419ResultGrid div{background:white;border:1px solid #e5e7eb;border-radius:10px;padding:10px}
.v6419SystemStatus{margin-top:14px}


/* V64.2 Cloud-First Core Data Foundation */
.v642PanelRoot{width:100%;max-width:none!important;margin:0!important}
.v642StatusHero{background:linear-gradient(135deg,#ffffff,#eff6ff)!important;border:1px solid #bfdbfe!important}
.v642StatusHero h2{margin-top:0}
.v642CloudBanner{margin-top:12px;padding:12px;border:1px solid #bfdbfe;background:#dbeafe;color:#1d4ed8;border-radius:12px;font-weight:900}
.v642Grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:14px 0}
.v642Grid .card{min-height:84px}
.v642Actions{margin:14px 0}
.v642Actions button,.v642SettingsCallout button{margin:4px 6px 4px 0;background:#2563eb;color:white;border:0;border-radius:10px;padding:11px 14px;font-weight:900;cursor:pointer}
.v642Actions button:nth-of-type(2){background:#0f172a}
.v642Note{background:#f8fafc!important}
.v642SettingsCallout{margin-bottom:14px;background:linear-gradient(135deg,#ffffff,#ecfdf5)!important;border:1px solid #bbf7d0!important}


/* V64.2.1 Cloud Migration + Account Identity Fix */
.v6421Warning{margin-top:8px;padding:8px;border-radius:8px;background:#fef3c7;color:#92400e;font-weight:800;font-size:12px}
#v6421DiagnosticsBtn{background:#0891b2!important}

/* V64.2.8 Stable Cloud Owner */
#v6428RecoverBtn{background:#7c3aed!important}

/* V64.2.9 Paginated Cloud Load */
#v6429ConsolidateBtn{background:#ea580c!important}

/* V64.2.10 Consolidation ID Reset */
#v6429ConsolidateBtn{background:#c2410c!important}

/* V64.2.11 Force Cloud Reload */
button[data-v64211-force-reload='true']{outline:2px solid rgba(14,165,233,.25)}

/* V64.2.12 Inventory Cache Refresh + Logout */
.v64212LogoutBtn{
  margin:16px;
  width:calc(100% - 32px);
  border:1px solid rgba(148,163,184,.35);
  background:#0f172a;
  color:#fff;
  border-radius:14px;
  padding:12px 16px;
  font-weight:800;
  cursor:pointer;
}
.v64212LogoutBtn:hover{background:#1e293b}
button[data-v64212-force-reload='true']{outline:2px solid rgba(14,165,233,.3)}

/* V64.2.13 Full Inventory Renderer */
.v64213Page{padding:24px;max-width:1400px;margin:0 auto}.v64213Page h1{font-size:32px;margin:0 0 4px;color:#0f172a}.v64213Sub{margin:0 0 22px;color:#64748b;font-size:18px}.v64213Notice{background:#dbeafe;border:1px solid #93c5fd;color:#1d4ed8;border-radius:12px;padding:14px 16px;font-weight:800;margin-bottom:18px}.v64213StatsGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-bottom:16px}.v64213StatsGrid>div{background:#fff;border:1px solid #dbe3ef;border-radius:12px;padding:14px 16px;color:#0f172a}.v64213Controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.v64213Controls input{flex:1;min-width:260px;border:1px solid #cbd5e1;border-radius:10px;padding:12px;font-size:16px}.v64213Controls select{border:1px solid #cbd5e1;border-radius:10px;padding:12px;font-size:16px;background:#fff}.v64213Controls label{font-weight:700;color:#0f172a}.v64213Pager{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.v64213Pager button,.v64213PageBtn{background:#2563eb;color:#fff;border:0;border-radius:8px;padding:10px 13px;font-weight:800;cursor:pointer}.v64213Pager button:disabled{opacity:.45;cursor:not-allowed}.v64213PageBtn.active{background:#0f172a}.v64213Pager span{color:#475569;font-weight:700;margin-left:8px}.v64213TableWrap{overflow:auto;background:#fff;border:1px solid #dbe3ef;border-radius:12px}.v64213Table{width:100%;border-collapse:collapse;font-size:14px}.v64213Table th{background:#07162d;color:#fff;padding:12px;text-align:left;white-space:nowrap}.v64213Table td{border-top:1px solid #e2e8f0;padding:10px;vertical-align:top;color:#0f172a}.v64213Thumb{width:46px;height:60px;object-fit:cover;border-radius:6px;display:block;margin-bottom:4px;border:1px solid #e2e8f0}.v64213Flags span{display:inline-block;background:#e0f2fe;color:#075985;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:800;margin:2px}

/* V64.2.14 Inventory UI Restore + Performance Fix */
.v64214InventoryPage{padding:24px;max-width:1500px;margin:0 auto}
.v64214InventoryPage h1{font-size:32px;margin:0 0 4px;color:#0f172a}
.v64214Sub{margin:0 0 20px;color:#64748b;font-size:18px}
.v64214Notice{background:#dbeafe;border:1px solid #93c5fd;color:#1d4ed8;border-radius:12px;padding:14px 16px;font-weight:800;margin-bottom:16px}
.v64214StatsGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:10px;margin-bottom:16px}
.v64214StatsGrid>div{background:#fff;border:1px solid #dbe3ef;border-radius:12px;padding:12px 14px;color:#0f172a}
.v64214Controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:14px}
.v64214Controls input{flex:1;min-width:260px;border:1px solid #cbd5e1;border-radius:10px;padding:12px;font-size:16px}
.v64214Controls select{border:1px solid #cbd5e1;border-radius:10px;padding:12px;font-size:16px;background:#fff}
.v64214Controls label{font-weight:700;color:#0f172a}
.v64214Pager{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:14px}
.v64214Pager button,.v64214PageBtn{background:#2563eb;color:#fff;border:0;border-radius:8px;padding:10px 13px;font-weight:800;cursor:pointer}
.v64214Pager button:disabled{opacity:.45;cursor:not-allowed}
.v64214PageBtn.active{background:#0f172a}
.v64214Pager span{color:#475569;font-weight:700;margin-left:8px}
.v64214TableWrap{overflow:auto;background:#fff;border:1px solid #dbe3ef;border-radius:12px}
.v64214Table{width:100%;border-collapse:collapse;font-size:14px}
.v64214Table th{background:#07162d;color:#fff;padding:12px;text-align:left;white-space:nowrap;position:sticky;top:0}
.v64214Table td{border-top:1px solid #e2e8f0;padding:10px;vertical-align:top;color:#0f172a}
.v64214SkuCell{min-width:120px}
.v64214TitleCell{min-width:330px;max-width:560px}
.v64214Thumb{width:52px;height:64px;object-fit:cover;border-radius:6px;display:block;margin-bottom:4px;border:1px solid #e2e8f0}
.v64214FlagsCell{min-width:210px}
.v64214FlagsCell label{display:inline-block;margin:2px 8px 2px 0;white-space:nowrap;font-size:12px;font-weight:700;color:#334155}
.v64214ActionCell{min-width:285px}
.v64214Btn{border:0;border-radius:10px;padding:9px 12px;font-weight:900;color:#fff;margin:3px;cursor:pointer;box-shadow:0 5px 12px rgba(15,23,42,.15)}
.v64214Btn.blue{background:#2563eb}
.v64214Btn.green{background:#059669}
.v64214Btn.purple{background:#4f46e5}
.v64214Btn:hover{filter:brightness(.95)}

/* V64.2.15 Scoped Inventory Page + Full Cloud Source Fix */
#v64215InventoryMount{width:100%}
.v64215InventoryPage{padding:24px;max-width:1500px;margin:0 auto}
.v64215InventoryPage h1{font-size:32px;margin:0 0 4px;color:#0f172a}
.v64215Sub{margin:0 0 20px;color:#64748b;font-size:18px}
.v64215Notice{background:#dbeafe;border:1px solid #93c5fd;color:#1d4ed8;border-radius:12px;padding:14px 16px;font-weight:800;margin-bottom:16px}
.v64215StatsGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:10px;margin-bottom:16px}
.v64215StatsGrid>div{background:#fff;border:1px solid #dbe3ef;border-radius:12px;padding:12px 14px;color:#0f172a}
.v64215Controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:14px}
.v64215Controls input{flex:1;min-width:260px;border:1px solid #cbd5e1;border-radius:10px;padding:12px;font-size:16px}
.v64215Controls select{border:1px solid #cbd5e1;border-radius:10px;padding:12px;font-size:16px;background:#fff}
.v64215Controls label{font-weight:700;color:#0f172a}
.v64215Pager{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:14px}
.v64215Pager button,.v64215PageBtn{background:#2563eb;color:#fff;border:0;border-radius:8px;padding:10px 13px;font-weight:800;cursor:pointer}
.v64215Pager button:disabled{opacity:.45;cursor:not-allowed}
.v64215PageBtn.active{background:#0f172a}
.v64215Pager span{color:#475569;font-weight:700;margin-left:8px}
.v64215TableWrap{overflow:auto;background:#fff;border:1px solid #dbe3ef;border-radius:12px}
.v64215Table{width:100%;border-collapse:collapse;font-size:14px}
.v64215Table th{background:#07162d;color:#fff;padding:12px;text-align:left;white-space:nowrap;position:sticky;top:0}
.v64215Table td{border-top:1px solid #e2e8f0;padding:10px;vertical-align:top;color:#0f172a}
.v64215SkuCell{min-width:120px}
.v64215TitleCell{min-width:330px;max-width:560px}
.v64215Thumb{width:52px;height:64px;object-fit:cover;border-radius:6px;display:block;margin-bottom:4px;border:1px solid #e2e8f0}
.v64215FlagsCell{min-width:210px}
.v64215FlagsCell label{display:inline-block;margin:2px 8px 2px 0;white-space:nowrap;font-size:12px;font-weight:700;color:#334155}
.v64215ActionCell{min-width:285px}
.v64215Btn{border:0;border-radius:10px;padding:9px 12px;font-weight:900;color:#fff;margin:3px;cursor:pointer;box-shadow:0 5px 12px rgba(15,23,42,.15)}
.v64215Btn.blue{background:#2563eb}
.v64215Btn.green{background:#059669}
.v64215Btn.purple{background:#4f46e5}
.v64215Btn:hover{filter:brightness(.95)}

/* V64.3 Locations Cloud Fix */
.v643LocationCloudBox{background:#fff;border:1px solid #bfdbfe;border-radius:16px;padding:18px;margin:18px 0;box-shadow:0 10px 24px rgba(15,23,42,.06)}
.v643LocationCloudBox h2{margin:0 0 6px;color:#0f172a}.v643LocationCloudBox p{margin:0 0 14px;color:#64748b}
.v643LocationActions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.v643LocationActions button,#v643LocDiagBtn{background:#0ea5e9!important;color:#fff!important;border:0!important;border-radius:10px!important;padding:10px 14px!important;font-weight:800!important;cursor:pointer!important}
.v643LocationMiniStats{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.v643LocationMiniStats>div{border:1px solid #e2e8f0;border-radius:12px;padding:12px;color:#0f172a;background:#f8fafc}

/* V64.3.1 Location Diagnostics Recursion Fix */
#v643LocDiagBtn{background:#0284c7!important}

/* V64.3.2 Location Diagnostics Schema-Safe Fix */
#v643LocDiagBtn{background:#0369a1!important}

/* V64.3.3 Location Recovery + Storage Quota Fix */
.v6433RecoveryNote{
  background:#fef3c7;
  color:#92400e;
  border:1px solid #fbbf24;
  border-radius:12px;
  padding:12px 14px;
  margin:0 0 14px 0;
  font-weight:800;
}

/* V64.3.4 Clean Force Cloud Reload + Quota Bypass */
#v6434CleanReloadBtn{
  background:#0891b2!important;
  color:#fff!important;
  border:0!important;
  border-radius:10px!important;
  padding:10px 14px!important;
  font-weight:900!important;
  cursor:pointer!important;
}

/* V64.3.5 Beta UI Stabilization + Cloud-Only New Locations */
.v6433RecoveryNote{display:none!important}
.v6435Page{padding:24px;max-width:1500px;margin:0 auto;color:#0f172a}
.v6435Header h1{font-size:32px;margin:0 0 4px;color:#0f172a}
.v6435Header p{margin:0 0 18px;color:#64748b;font-size:18px}
.v6435Notice{background:#dbeafe;border:1px solid #93c5fd;color:#1d4ed8;border-radius:12px;padding:13px 15px;font-weight:800;margin-bottom:16px}
.v6435Stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:16px}
.v6435Stats>div{background:#fff;border:1px solid #dbe3ef;border-radius:12px;padding:12px 14px}
.v6435Controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:14px}
.v6435Controls input{flex:1;min-width:260px;border:1px solid #cbd5e1;border-radius:10px;padding:12px;font-size:16px}
.v6435Controls select{border:1px solid #cbd5e1;border-radius:10px;padding:12px;font-size:16px;background:#fff}
.v6435Controls label{font-weight:800}
.v6435Pager{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:14px}
.v6435Pager button,.v6435PageBtn{background:#2563eb;color:#fff;border:0;border-radius:8px;padding:10px 13px;font-weight:800;cursor:pointer}
.v6435Pager button:disabled{opacity:.45;cursor:not-allowed}
.v6435PageBtn.active{background:#0f172a}
.v6435Pager span{font-weight:800;color:#475569}
.v6435TableWrap{overflow:auto;background:#fff;border:1px solid #dbe3ef;border-radius:12px}
.v6435Table{width:100%;border-collapse:collapse;font-size:14px}
.v6435Table th{background:#07162d;color:#fff;padding:12px;text-align:left;white-space:nowrap}
.v6435Table td{border-top:1px solid #e2e8f0;padding:10px;vertical-align:top}
.v6435TitleCell{min-width:360px}
.v6435Flags span{display:inline-block;background:#eef2ff;color:#3730a3;border-radius:999px;padding:3px 7px;margin:2px;font-size:12px;font-weight:800}
.v6435Actions{white-space:nowrap;min-width:260px}
.v6435Actions button,.v6435Form button{background:#2563eb;color:#fff;border:0;border-radius:9px;padding:9px 12px;font-weight:900;margin:3px;cursor:pointer}
.v6435Card{background:#fff;border:1px solid #dbe3ef;border-radius:16px;padding:18px;margin:0 0 16px;box-shadow:0 10px 24px rgba(15,23,42,.05)}
.v6435Card h2{margin:0 0 8px}
.v6435Card p{color:#475569;margin:0 0 14px}
.v6435Form{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
.v6435Form input{border:1px solid #cbd5e1;border-radius:10px;padding:12px;font-size:16px}
.v6435DashboardGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}
.v6435DashboardGrid button{border:0;border-radius:12px;background:#2563eb;color:#fff;text-align:left;padding:20px;cursor:pointer;box-shadow:0 10px 22px rgba(37,99,235,.2)}
.v6435DashboardGrid strong{display:block;font-size:20px;margin-bottom:6px}
.v6435DashboardGrid span{color:#dbeafe;font-weight:800}

/* V64.3.6 Beta Workflow Flexibility Update */
.v6436Page .v6435Card h2{font-size:24px}
.v6436FormGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;align-items:end}
.v6436FormGrid input,.v6436FormGrid select,.v6436LocationCombo input,.v6436LocationCombo select{
  width:100%;border:1px solid #cbd5e1;border-radius:10px;padding:12px;font-size:16px;background:#fff;box-sizing:border-box
}
.v6436LocationCombo{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.v6436FormGrid button,.v6436Pills button,.v6436SaleSearch button,.v6436CartTotal+button,.v6436CartTotal+button+button,.v6435Table button{
  background:#2563eb;color:#fff;border:0;border-radius:10px;padding:11px 14px;font-weight:900;cursor:pointer;box-shadow:0 8px 18px rgba(37,99,235,.18)
}
.v6436Pills{display:flex;gap:8px;flex-wrap:wrap}
.v6436Pills button{background:#e0f2fe;color:#075985;box-shadow:none;border:1px solid #7dd3fc}
.v6436SaleSearch{display:grid;grid-template-columns:1fr auto;gap:10px}
.v6436SaleSearch input{border:1px solid #cbd5e1;border-radius:10px;padding:13px;font-size:17px}
.v6436SaleResults{display:grid;gap:8px;margin-top:12px}
.v6436SearchResult{border:1px solid #cbd5e1;background:#fff;border-radius:12px;padding:12px;text-align:left;cursor:pointer}
.v6436SearchResult:hover{border-color:#2563eb;background:#eff6ff}
.v6436SearchResult strong{display:block;color:#0f172a;margin-bottom:4px}
.v6436SearchResult span{color:#64748b;font-weight:700}
.v6436NoResults{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:14px;color:#64748b}
.v6436CartRow{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #e2e8f0;padding:10px 0}
.v6436CartTotal{font-size:20px;font-weight:900;margin:14px 0;color:#0f172a}
@media(max-width:800px){
  .v6436LocationCombo,.v6436SaleSearch{grid-template-columns:1fr}
}


/* V64.3.7 Location Labels + Beta Workflow Cleanup */
.v6437Combo{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.v6437Combo input,.v6437Combo select,.v6437BatchTable input{width:100%;border:1px solid #cbd5e1;border-radius:9px;padding:10px;font-size:14px;box-sizing:border-box;background:#fff}
.v6437Controls{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}
.v6437Controls button,.v6437Controls label,.v6435Table button{background:#2563eb;color:#fff;border:0;border-radius:10px;padding:10px 13px;font-weight:900;cursor:pointer}
.v6437Controls label{background:#eff6ff;color:#1d4ed8;border:1px solid #93c5fd}
.v6437Stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:12px 0}
.v6437Stats>div{background:#f8fafc;border:1px solid #dbe3ef;border-radius:12px;padding:12px}
.v6437Sheet{display:grid;grid-template-columns:repeat(4,1.75in);grid-auto-rows:.666in;gap:0;width:7in;background:#fff}
.v6437Label{width:1.75in;height:.666in;border:1px dashed #cbd5e1;box-sizing:border-box;text-align:center;padding:.035in .055in;overflow:hidden;color:#000;background:#fff;display:flex;flex-direction:column;justify-content:center}
.v6437Label strong{font-size:11px;line-height:1;font-weight:900}
.v6437Label small{font-size:7px;line-height:1}
.v6437Bar{width:100%;height:.34in;fill:#000}
@media print{
  body *{visibility:hidden!important}
  .v6437Sheet,.v6437Sheet *{visibility:visible!important}
  .v6437Sheet{position:absolute;left:0;top:0;width:7in!important;display:grid!important;grid-template-columns:repeat(4,1.75in)!important;grid-auto-rows:.666in!important;gap:0!important}
  .v6437Label{border:0!important;width:1.75in!important;height:.666in!important}
  .no-print{display:none!important}
  @page{size:8.5in 11in;margin:.5in .75in}
}
@media(max-width:800px){.v6437Combo{grid-template-columns:1fr}}


/* V64.3.8 Hard Route Fix */
#v6438BetaQuickTools button{background:#0ea5e9!important;color:#fff!important}


/* V64.3.9 Card Show Restore + Label System Repair */
.v6439Combo{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.v6439Combo input,.v6439Combo select,.v6439LabelControls input,.v6439LabelControls select{
  width:100%;border:1px solid #cbd5e1;border-radius:10px;padding:10px;font-size:15px;box-sizing:border-box;background:#fff
}
.v6439LabelControls{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:12px 0}
.v6439LabelControls button,.v6439LabelControls label,.v6435Table button{
  background:#2563eb;color:#fff;border:0;border-radius:10px;padding:10px 13px;font-weight:900;cursor:pointer;box-shadow:0 8px 18px rgba(37,99,235,.16)
}
.v6439LabelControls label{background:#eff6ff;color:#1d4ed8;border:1px solid #93c5fd;box-shadow:none}
.v6439Stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px;margin:12px 0}
.v6439Stats>div{background:#f8fafc;border:1px solid #dbe3ef;border-radius:12px;padding:12px}
.v6439AverySheet{display:grid;grid-template-columns:repeat(4,1.75in);grid-auto-rows:.666in;gap:0;width:7in;background:#fff;margin-top:14px}
.v6439AveryLabel{width:1.75in;height:.666in;box-sizing:border-box;text-align:center;padding:.035in .055in;overflow:hidden;color:#000;background:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center}
.v6439ShowBorders .v6439AveryLabel{border:1px dashed #cbd5e1}
.v6439AveryLabel strong{font-size:11px;line-height:1;font-weight:900;display:block;letter-spacing:.2px}
.v6439AveryLabel small{font-size:7px;line-height:1;display:block}
.v6439Barcode{width:92%;height:.32in;fill:#000;margin:1px 0}
.v6439SkuLabel .v6439Barcode{height:.38in;margin:0}
.v6439SkuLabel strong{font-size:8px;margin-top:0}
@media print{
  body *{visibility:hidden!important}
  .v6439AverySheet,.v6439AverySheet *{visibility:visible!important}
  .v6439AverySheet{position:absolute;left:0;top:0;width:7in!important;display:grid!important;grid-template-columns:repeat(4,1.75in)!important;grid-auto-rows:.666in!important;gap:0!important;margin:0!important}
  .v6439AveryLabel{border:0!important;width:1.75in!important;height:.666in!important;page-break-inside:avoid!important}
  .no-print{display:none!important}
  @page{size:8.5in 11in;margin:.5in .75in}
}
@media(max-width:800px){.v6439Combo{grid-template-columns:1fr}.v6439LabelControls{display:grid}}


/* V64.4.0 Inventory Details Workflow Cleanup */
.v6440DetailCard{display:grid;grid-template-columns:310px 1fr;gap:24px;align-items:start}.v6440PhotoCol{display:flex;flex-direction:column;gap:12px;align-items:center}.v6440PhotoBox{width:260px;min-height:330px;border:2px solid #dbe3ef;border-radius:18px;background:#f8fafc;display:flex;align-items:center;justify-content:center;overflow:hidden}.v6440PhotoBox.hasPhoto{background:#fff}.v6440PhotoBox img{width:100%;height:100%;object-fit:contain;display:block}.v6440NoPhoto{display:flex;flex-direction:column;align-items:center;gap:18px;color:#64748b;font-weight:900}.v6440NoPhoto div{width:88px;height:88px;border-radius:50%;background:#dbeafe}.v6440UploadBtn,.v6440PhotoCol button,.v6440Actions button{background:#2563eb;color:#fff;border:0;border-radius:12px;padding:12px 16px;font-weight:900;cursor:pointer;box-shadow:0 8px 18px rgba(37,99,235,.18);text-align:center}.v6440UploadBtn input{display:none}.v6440FormCol h2{font-size:28px;margin:0 0 14px}.v6440Grid{display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:12px;margin-bottom:12px}.v6440Grid label,.v6440Full{font-weight:900;color:#0f172a;display:flex;flex-direction:column;gap:6px}.v6440Grid input,.v6440Grid select,.v6440Full textarea{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:10px;padding:11px 12px;font-size:15px;background:#fff}.v6440Checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin:14px 0}.v6440Checks label{background:#f8fafc;border:1px solid #dbe3ef;border-radius:12px;padding:10px;font-weight:900}.v6440Actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.v6440Actions button:nth-child(5){background:#0f172a}@media(max-width:900px){.v6440DetailCard{grid-template-columns:1fr}.v6440PhotoBox{width:100%;max-width:320px}.v6440Grid{grid-template-columns:1fr}}


/* V64.4.1 Inventory Flags + Transaction Dashboard Restore */
.v6441Flags{display:grid;grid-template-columns:repeat(2,minmax(90px,1fr));gap:6px 10px;align-items:center;font-size:12px}.v6441Flag{display:flex!important;align-items:center;gap:5px;font-weight:800;color:#0f172a;white-space:nowrap}.v6441Flag input{width:14px!important;height:14px!important;pointer-events:auto!important;opacity:1!important;position:static!important;appearance:auto!important}.v6441Metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:16px 0}.v6441Metrics>div{background:#fff;border:1px solid #dbe3ef;border-radius:14px;padding:14px;box-shadow:0 10px 26px rgba(15,23,42,.06)}.v6441Metrics strong{color:#0f172a}


/* V64.4.2 eBay Sales Transaction Bridge */
.v6442Page .v6441Metrics{grid-template-columns:repeat(auto-fit,minmax(155px,1fr))}
#v6442EbaySelectStatus{margin-top:12px}


/* V64.5.1 — eBay ID + Inventory Stability Repair */
.v6451Page{padding:24px;max-width:1280px;margin:0 auto}.v6451Head h1{margin:0;font-size:32px}.v6451Head p{margin:4px 0 18px;color:#64748b}.v6451Notice{background:#dbeafe;border:1px solid #93c5fd;color:#1d4ed8;border-radius:10px;padding:12px 14px;font-weight:900;margin:12px 0}.v6451Stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:14px 0}.v6451Stats>div{background:#fff;border:1px solid #dbe3ef;border-radius:12px;padding:13px;box-shadow:0 8px 24px rgba(15,23,42,.05)}.v6451Tools{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:14px 0}.v6451Tools input{flex:1;min-width:260px;border:1px solid #cbd5e1;border-radius:10px;padding:12px}.v6451Tools select{border:1px solid #cbd5e1;border-radius:10px;padding:12px;background:#fff}.v6451Tools button,.v6451Pager button,.v6451Actions button{background:#2563eb;color:#fff;border:0;border-radius:9px;padding:9px 12px;font-weight:900;cursor:pointer;box-shadow:0 8px 18px rgba(37,99,235,.16);margin:3px}.v6451Pager{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin:12px 0}.v6451Pager button.active{background:#0f172a}.v6451Pager button:disabled{opacity:.45;cursor:not-allowed}.v6451TableWrap{overflow:auto;background:#fff;border:1px solid #dbe3ef;border-radius:12px}.v6451Table{width:100%;border-collapse:collapse;font-size:14px}.v6451Table th{background:#06152c;color:#fff;text-align:left;padding:11px;position:sticky;top:0}.v6451Table td{border-top:1px solid #e5e7eb;padding:10px;vertical-align:top}.v6451Table td:nth-child(3){min-width:320px}.v6451Flags{min-width:190px}.v6451Flag{display:inline-flex;gap:5px;align-items:center;min-width:86px;margin:2px 4px 2px 0;font-weight:800}.v6451EbayId{font-weight:900;color:#0f172a}.v6451OpenEbay{background:#0f766e!important}.v6451Actions{min-width:220px}.v6451Toast{position:fixed;z-index:999999;right:20px;bottom:20px;background:#0f172a;color:#fff;border-radius:14px;padding:14px 16px;box-shadow:0 20px 50px rgba(2,6,23,.35);font-weight:900;display:none;max-width:520px}


/* V64.5.2 */
.v6452Page{padding:24px;max-width:1280px;margin:0 auto}
.v6452Page h1{font-size:34px;margin:0 0 4px;color:#0f172a}
.v6452Page p{color:#53637c;font-size:16px}
.v6452Flags{display:grid;grid-template-columns:repeat(2,minmax(110px,1fr));gap:6px 12px;font-size:13px;font-weight:800}
.v6452Flags label{display:flex;align-items:center;gap:6px}
.v6452Actions{display:flex;gap:8px;flex-wrap:wrap}
.v6452Actions button,.v645ButtonRow button{background:#2558df;color:#fff;border:0;border-radius:9px;padding:9px 12px;font-weight:900;cursor:pointer;box-shadow:0 6px 16px rgba(37,88,223,.18)}
.v645Search{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:10px;padding:12px;font-size:15px;margin:8px 0 12px;background:#fff}
.v645ButtonRow{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0}

/* V64.5.3 */
.v6452Page .v6435Card{background:#fff;border:1px solid #d7e0ee;border-radius:14px;padding:18px;margin-top:18px}.v6452Page .v613Status.ok{background:#dcfce7;border-color:#86efac;color:#166534}

/* V64.5.4 */
.v6452Page .v613Status.ok{background:#dcfce7;border-color:#86efac;color:#166534}.v6452Page .v6435Card{background:#fff;border:1px solid #d7e0ee;border-radius:14px;padding:18px;margin-top:18px}.v645ButtonRow{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0}

/* V64.5.5 transaction mapper */
.v6455Page{max-width:1280px;margin:0 auto;padding:28px}.v6455Page h1{font-size:34px;margin:0 0 6px}.v6455Page p{color:#5b6b83;margin:0 0 18px}.v6455Status{background:#dcfce7;border:1px solid #86efac;color:#166534;border-radius:12px;padding:13px 16px;font-weight:800;margin:12px 0 18px}.v6455Metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;margin:14px 0 20px}.v6455Metrics>div{background:white;border:1px solid #d7e0ee;border-radius:14px;padding:14px 16px;box-shadow:0 10px 24px rgba(15,23,42,.04)}.v6455Card{background:white;border:1px solid #d7e0ee;border-radius:16px;padding:18px;box-shadow:0 12px 28px rgba(15,23,42,.04)}.v6455Card h2{margin:0 0 12px;border-bottom:2px solid #dbeafe;padding-bottom:10px}.v6455Search{width:100%;box-sizing:border-box;border:1px solid #ccd6e4;border-radius:12px;padding:13px 14px;font-size:16px;margin-bottom:12px}.v6455ButtonRow{display:flex;gap:10px;flex-wrap:wrap;margin:8px 0 12px}.v6455ButtonRow button{background:#1d4ed8;color:white;border:0;border-radius:9px;padding:10px 14px;font-weight:800;box-shadow:0 8px 18px rgba(29,78,216,.18)}.v6455TableWrap{overflow:auto;border:1px solid #d7e0ee;border-radius:12px}.v6455Table{width:100%;border-collapse:collapse;font-size:14px}.v6455Table th{background:#061833;color:white;padding:10px;border-right:1px solid #d7e0ee;white-space:nowrap}.v6455Table td{padding:10px;border-top:1px solid #d7e0ee;border-right:1px solid #d7e0ee;vertical-align:top}.v6455Table a{color:#1d4ed8;font-weight:800}


/* V64.5.6 transaction foundation */
.v6456Page{max-width:1280px;margin:0 auto;padding:28px}
.v6456Page h1{font-size:34px;margin:0 0 6px;color:#0f172a}
.v6456Page p{color:#5b6b83;margin:0 0 18px}
.v6456Status{background:#dcfce7;border:1px solid #86efac;color:#166534;border-radius:12px;padding:13px 16px;font-weight:800;margin:12px 0 18px}
.v6456Metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;margin:14px 0 20px}
.v6456Metrics>div{background:#fff;border:1px solid #d7e0ee;border-radius:14px;padding:14px 16px;box-shadow:0 10px 24px rgba(15,23,42,.04)}
.v6456Card{background:#fff;border:1px solid #d7e0ee;border-radius:16px;padding:18px;box-shadow:0 12px 28px rgba(15,23,42,.04)}
.v6456Card h2{margin:0 0 12px;border-bottom:2px solid #dbeafe;padding-bottom:10px;color:#0f172a}
.v6456Search{width:100%;box-sizing:border-box;border:1px solid #ccd6e4;border-radius:12px;padding:13px 14px;font-size:16px;margin-bottom:12px}
.v6456ButtonRow{display:flex;gap:10px;flex-wrap:wrap;margin:8px 0 12px}
.v6456ButtonRow button{background:#1d4ed8;color:#fff;border:0;border-radius:9px;padding:10px 14px;font-weight:800;box-shadow:0 8px 18px rgba(29,78,216,.18);cursor:pointer}
.v6456TableWrap{overflow:auto;border:1px solid #d7e0ee;border-radius:12px;max-height:620px}
.v6456Table{width:100%;border-collapse:collapse;font-size:14px}
.v6456Table th{position:sticky;top:0;background:#061833;color:#fff;padding:10px;border-right:1px solid #d7e0ee;white-space:nowrap;z-index:2}
.v6456Table td{padding:10px;border-top:1px solid #d7e0ee;border-right:1px solid #d7e0ee;vertical-align:top}
.v6456Table a{color:#1d4ed8;font-weight:800}

/* V65.0 Clean Cloud Baseline */
:root{--v65-navy:#071833;--v65-navy2:#092246;--v65-blue:#2455dc;--v65-sky:#dbeafe;--v65-bg:#f4f7fb;--v65-border:#d7e1ef;--v65-text:#0f172a;--v65-muted:#64748b;}
*{box-sizing:border-box} body{margin:0;background:var(--v65-bg);color:var(--v65-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.v65App{display:flex;min-height:100vh}.v65Side{width:315px;min-width:315px;background:linear-gradient(180deg,#081a35,#09284f);color:white;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;overflow-y:auto}.v65Brand{display:flex;align-items:center;gap:12px;padding:22px 18px;border-bottom:1px solid rgba(255,255,255,.12)}.v65Icon{width:46px;height:46px;border-radius:12px;background:#2563eb;display:grid;place-items:center;font-weight:800}.v65Brand h1{font-size:21px;line-height:1;margin:0}.v65Brand p{margin:4px 0 0;color:#cbd5e1;font-size:13px}.v65NavGroup{padding:12px 14px 0}.v65GroupTitle{font-size:12px;color:#93a4bb;letter-spacing:.12em;margin:8px 6px}.v65NavGroup button,.v65SideFoot button{width:100%;border:1px solid rgba(125,170,255,.28);background:rgba(7,28,61,.55);color:#fff;text-align:left;border-radius:999px;padding:11px 14px;font-weight:700;margin:4px 0;cursor:pointer;display:flex;gap:10px;align-items:center}.v65NavGroup button.active,.v65NavGroup button:hover{background:#2455dc;border-color:#6eb5ff}.v65SideFoot{margin-top:auto;padding:14px 14px 18px;border-top:1px solid rgba(255,255,255,.12)}.v65SideFoot button{background:#2455dc;text-align:center;justify-content:center;border-radius:9px}.v65Main{margin-left:315px;width:calc(100% - 315px);min-height:100vh}.v65Header{background:white;padding:26px 32px 20px;border-bottom:1px solid var(--v65-border)}.v65Header h1{font-size:31px;margin:0 0 4px}.v65Header p{margin:0;color:#5b6f91;font-size:18px}.v65Content{position:relative;padding:28px 32px;max-width:1280px}.v65Card{background:white;border:1px solid var(--v65-border);border-radius:16px;padding:20px;margin:18px 0;box-shadow:0 10px 25px rgba(2,6,23,.04)}.v65Card h2{margin:0 0 12px;font-size:25px;border-bottom:2px solid #dbeafe;padding-bottom:8px}.v65Status{background:#dbeafe;border:1px solid #93c5fd;color:#1d4ed8;border-radius:12px;padding:14px 16px;font-weight:800;margin:14px 0}.v65Status.warn{background:#fef3c7;border-color:#f59e0b;color:#92400e}.v65Stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:14px 0}.v65Stat{background:white;border:1px solid var(--v65-border);border-radius:12px;padding:16px;font-size:17px}.v65Stat strong{font-size:16px}.v65Toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0}.v65Toolbar input,.v65Toolbar select{height:46px;border:1px solid #cbd5e1;border-radius:10px;padding:0 14px;font-size:16px;min-width:220px;flex:1}.v65Toolbar select{flex:0 0 140px}.v65ButtonRow{display:flex;gap:10px;flex-wrap:wrap}.v65ButtonRow button,.v65Toolbar button,.v65Pager button,.v65Table button{background:#2455dc;color:white;border:none;border-radius:8px;font-weight:800;padding:11px 15px;box-shadow:0 6px 14px rgba(37,85,220,.18);cursor:pointer}.v65Pager{display:flex;align-items:center;gap:8px;margin:14px 0;flex-wrap:wrap}.v65Pager button:disabled{opacity:.45;cursor:not-allowed}.v65TableWrap{overflow:auto;border:1px solid var(--v65-border);border-radius:10px}.v65Table{border-collapse:collapse;width:100%;background:white}.v65Table th{background:#061832;color:white;padding:12px;text-align:left;font-size:14px}.v65Table td{border-top:1px solid #e2e8f0;padding:12px;vertical-align:top}.v65Table a{color:#1d4ed8;font-weight:800}.v65Overlay{position:fixed;z-index:50;inset:0;background:rgba(15,23,42,.45);display:grid;place-items:center;color:white;text-align:center}.v65Spinner{width:44px;height:44px;border-radius:50%;border:5px solid rgba(255,255,255,.35);border-top-color:white;animation:v65spin .8s linear infinite;margin:auto}@keyframes v65spin{to{transform:rotate(360deg)}}
@media(max-width:900px){.v65Side{position:relative;width:100%;min-width:0;max-height:none}.v65App{display:block}.v65Main{margin-left:0;width:100%}.v65Content{padding:18px}.v65Header{padding:20px}.v65Stats{grid-template-columns:1fr}.v65Toolbar input,.v65Toolbar select{width:100%;flex-basis:100%}}

/* V65.3 Inventory Photo Display + Table Polish */
.v653InventoryTable{min-width:1040px}
.v653InventoryTable th:first-child,.v653InventoryTable td:first-child{width:72px;text-align:center}
.v653PhotoButton{background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;border-radius:10px!important;cursor:pointer!important;display:inline-block!important}
.v653PhotoButton:hover .v653Thumb{transform:scale(1.04);box-shadow:0 8px 18px rgba(15,23,42,.18)}
.v653Thumb{width:48px;height:64px;object-fit:cover;border-radius:8px;border:1px solid #dbe3ef;background:#f8fafc;display:block;transition:transform .12s ease, box-shadow .12s ease}
.v653DetailTop{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.v653DetailGrid{display:grid;grid-template-columns:minmax(180px,280px) 1fr;gap:22px;align-items:start}
.v653DetailPhotoWrap{background:#f8fafc;border:1px solid #dbe3ef;border-radius:16px;padding:14px;text-align:center}
.v653DetailPhoto{max-width:100%;max-height:420px;object-fit:contain;border-radius:12px;background:white}
.v653DetailRows{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin-top:12px}
.v653DetailRows div{background:#f8fafc;border:1px solid #dbe3ef;border-radius:12px;padding:12px}
.v653DetailRows strong{display:block;color:#475569;font-size:12px;text-transform:uppercase;letter-spacing:.05em;margin-bottom:5px}
.v653DetailRows span{font-weight:800;color:#0f172a;overflow-wrap:anywhere}
.v653DetailNote{color:#64748b;margin-top:14px}
@media(max-width:900px){.v653DetailGrid{grid-template-columns:1fr}.v653DetailPhoto{max-height:320px}.v653InventoryTable{min-width:980px}}

/* V65.4 Card Details editable page */
.v654DetailCard{max-width:1180px}
.v654ReadOnlyRows{margin-bottom:16px}
.v654FormGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin-top:16px}
.v654FormGrid label,.v654NotesLabel{display:flex;flex-direction:column;gap:6px;font-weight:800;color:#334155}
.v654FormGrid input,.v654NotesLabel textarea{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:10px;padding:11px 12px;font:inherit;background:#fff;color:#0f172a;outline:none}
.v654FormGrid input:focus,.v654NotesLabel textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12)}
.v654Flags{margin-top:16px;background:#f8fafc;border:1px solid #dbe3ef;border-radius:14px;padding:12px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.v654Flags strong{width:100%;color:#475569;font-size:12px;text-transform:uppercase;letter-spacing:.05em}
.v654Flags label{display:inline-flex;align-items:center;gap:7px;font-weight:800;color:#0f172a;background:#fff;border:1px solid #dbe3ef;border-radius:999px;padding:8px 11px}
.v654NotesLabel{margin-top:16px}
.v654SaveHint{color:#64748b;margin-top:10px;font-size:13px}
@media(max-width:700px){.v654FormGrid{grid-template-columns:1fr}.v654Flags label{width:100%;border-radius:10px}}

/* V65.5 sale engine polish */
.v65SmallInput{width:90px;max-width:100%;padding:8px 10px;border:1px solid rgba(148,163,184,.35);border-radius:10px;background:rgba(15,23,42,.55);color:inherit}
.v65SaleTotals{display:flex;gap:16px;align-items:center;justify-content:flex-end;margin-top:12px;padding:12px 14px;border:1px solid rgba(148,163,184,.18);border-radius:14px;background:rgba(15,23,42,.35)}
.v65Muted{color:rgba(226,232,240,.72);font-size:.95rem}
@media(max-width:720px){.v65SaleTotals{justify-content:flex-start;flex-wrap:wrap}.v65SmallInput{width:76px}}

/* V65.6 Transactions Dashboard + Sale History */
.v656FilterBar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0 8px}
.v656FilterBar button{background:#eef4ff;color:#15356f;border:1px solid #c7d9ff;border-radius:999px;font-weight:800;padding:9px 13px;cursor:pointer}
.v656FilterBar button.active,.v656FilterBar button:hover{background:#2455dc;color:white;border-color:#2455dc;box-shadow:0 6px 14px rgba(37,85,220,.18)}
.v656HelpText{color:#64748b;margin:6px 0 12px;font-size:14px}
.v656TransactionsTable{min-width:1280px}
.v656TransactionsTable td:nth-child(6){min-width:260px}
.v656TransactionsTable td:nth-child(13){min-width:220px;max-width:360px;overflow-wrap:anywhere}

/* V65.9 Part 1 Transaction Review Queue Polish */
.v659ReviewTable{min-width:1380px}
.v659ReviewTable th:nth-child(1){width:150px}.v659ReviewTable th:nth-child(2){width:210px}.v659ReviewTable th:nth-child(3){width:330px}.v659ReviewTable th:nth-child(4){width:230px}.v659ReviewTable th:nth-child(5){width:260px}.v659ReviewTable th:nth-child(6){width:230px}
.v659ReviewTable small{color:#64748b;line-height:1.35}.v659ReviewTable label{display:block;font-weight:800;color:#334155;font-size:12px;margin:0 0 7px}.v659ReviewTable input,.v659ReviewTable select{width:100%;border:1px solid #cbd5e1;border-radius:9px;padding:8px 9px;font:inherit;background:#fff;color:#0f172a;margin-top:4px}.v659ReviewTable input:focus,.v659ReviewTable select:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12)}.v659ReviewTable button:disabled{opacity:.45;cursor:not-allowed}.v659MiniGrid{display:grid;grid-template-columns:1.3fr .55fr .8fr;gap:8px;margin-top:8px}.v659Badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;background:#eef2ff;border:1px solid #c7d2fe;color:#1d4ed8;font-weight:900;font-size:12px;margin:3px 0}.v659Badge.ready{background:#dcfce7;border-color:#86efac;color:#166534}.v659Badge.needs{background:#fef3c7;border-color:#f59e0b;color:#92400e}.v659Badge.final{background:#e0f2fe;border-color:#38bdf8;color:#075985}.v659Badge.archived{background:#f1f5f9;border-color:#cbd5e1;color:#475569}
@media(max-width:900px){.v659MiniGrid{grid-template-columns:1fr}.v659ReviewTable{min-width:1180px}}

/* V66.0 Inventory Labels / SKU Labels Rebuild */
.v660ActionStack{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.v660LabelSearchTable{min-width:980px}
.v660LabelQueueTable{min-width:900px}
.v660LabelQueueTable select{width:100%;border:1px solid #cbd5e1;border-radius:9px;padding:8px 9px;background:white;color:#0f172a;font:inherit}
.v660PreviewGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin-top:12px}
.v660PreviewGrid.thermal{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
.v660LabelPreview{background:#fff;border:1px dashed #94a3b8;border-radius:10px;min-height:92px;padding:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;overflow:hidden}
.v660PreviewGrid.thermal .v660LabelPreview{aspect-ratio:2/1;min-height:110px}
.v660BarcodeWrap{width:100%;height:42px;margin-bottom:4px}.v660Barcode{width:100%;height:100%;display:block}.v660Barcode rect{fill:#000}.v660LabelPreview strong{font-size:13px;line-height:1.1}.v660LabelPreview span{font-size:10px;line-height:1.1;color:#475569;max-width:100%;display:block;overflow:hidden;text-overflow:ellipsis}
.v65Toolbar label{font-weight:800;color:#334155;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
@media(max-width:900px){.v660PreviewGrid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}.v660PreviewGrid.thermal{grid-template-columns:1fr}.v660ActionStack{flex-direction:column;align-items:stretch}}

/* V66.1 Location System Foundation */
.v661LocationTable{min-width:960px}
.v661LocationTable td:first-child{white-space:nowrap}
.v661LocationTable td:nth-child(4),.v661LocationTable td:nth-child(5){font-weight:800;text-align:center}

/* V66.2 Location Labels */
.v662LocationLabelsTable{min-width:920px}
.v662LocationQueueTable{min-width:760px}
.v662LocationLabelsTable td:nth-child(2),.v662LocationQueueTable td:nth-child(1){white-space:nowrap}

/* V66.3 Scan-to-Move Location Workflow */
.v663MoveGrid{display:grid;grid-template-columns:minmax(160px,240px) 1fr;gap:18px;align-items:start}.v663MoveCard .v653DetailPhoto{max-height:300px}.v663MoveCard .v653DetailRows{margin-top:0}
@media(max-width:900px){.v663MoveGrid{grid-template-columns:1fr}}

/* V66.4 Inventory Aging Dashboard */
.v664AgingTable{min-width:1320px}.v664AgingTable td:nth-child(3){min-width:260px}.v664AgingTable td:nth-child(8){min-width:140px}.v664AgingTable td:nth-child(11){min-width:140px}.v664AgingTable small{color:#64748b}

/* V66.5 Quick Price Update Mode */
.v665QuickPriceTable{min-width:1500px}.v665QuickPriceTable td:nth-child(3){min-width:260px}.v665QuickPriceTable small{color:#64748b}.v665PriceInput{width:110px!important;background:#fff!important;color:#0f172a!important}.v665DateInput{width:140px!important;background:#fff!important;color:#0f172a!important}

/* V66.6.3 Graded Card Details Stable Load Recovery */
.v6661CheckLabel span{display:flex;align-items:center;gap:8px;font-weight:700;color:#0f172a}.v6661CheckLabel input[type="checkbox"]{width:auto}.v6661GradedField select{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:10px;padding:11px 12px;font:inherit;background:#fff;color:#0f172a;outline:none}.v6661GradedField select:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12)}

/* V66.7 Grading Pipeline Foundation */
.v667AddTable{min-width:900px}.v667PipelineTable{min-width:1320px}.v667PipelineTable td:nth-child(3){min-width:260px}.v667PipelineTable td:nth-child(11){font-weight:900}.v667PipelineTable small{color:#64748b}

/* V66.8 Grading Submission / Order Manager */
.v668SubmissionTable{min-width:1320px}.v668SubmissionTable td:nth-child(1){font-weight:800}.v65ButtonRow button.danger,.v653DetailTop button.danger{background:#dc2626!important;box-shadow:0 6px 14px rgba(220,38,38,.18)!important}.v667PipelineTable button.v653PhotoButton{background:transparent!important;box-shadow:none!important;padding:0!important}

/* V82 — Manual Inventory Photo Upload Foundation */
.v82PhotoPanel{display:flex;flex-direction:column;gap:12px;align-items:center;}
.v82PhotoTools{display:flex;flex-direction:column;gap:8px;width:100%;max-width:360px;}
.v82PhotoSource{font-size:12px;font-weight:700;color:#1f3b66;background:#eef5ff;border:1px solid #cfe0f8;border-radius:999px;padding:6px 10px;text-align:center;}
.v82UploadButton{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #0f3d75;background:#0f3d75;color:#fff;border-radius:10px;padding:9px 12px;font-weight:700;cursor:pointer;text-align:center;}
.v82UploadButton input{display:none;}
.v82PhotoTools small{color:#5b6472;line-height:1.35;text-align:center;}

/* V89.1 AI Grade Assistant polish */
.v891AiUploadGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;align-items:start;margin-top:12px}
.v891AiUploadCard{border:1px solid #d7e1f0;border-radius:12px;padding:12px;background:#f8fbff}
.v891AiUploadCard h3{margin:0 0 8px 0;font-size:15px;color:#0f172a}
.v891AiPreview{max-width:180px;max-height:240px;width:auto;height:auto;object-fit:contain;border:1px solid #cbd5e1;border-radius:10px;background:#fff;display:block;margin:10px 0}
.v891AiEmptyPreview{height:120px;display:flex;align-items:center;justify-content:center;border:1px dashed #cbd5e1;border-radius:10px;background:#fff;color:#64748b;margin:10px 0;font-weight:700}
.v891AiReviewGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-top:12px}
.v891AiReviewCard{border:1px solid #d7e1f0;border-radius:12px;background:#ffffff;padding:14px;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.v891AiReviewHead{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:8px}
.v891AiReviewLabel{font-size:13px;font-weight:800;color:#475569;text-transform:uppercase;letter-spacing:.03em}
.v891AiReviewScore{font-size:24px;font-weight:900;color:#0f172a;line-height:1}
.v891AiReviewNotes{font-size:14px;line-height:1.4;color:#334155;margin-top:6px;white-space:normal}
.v891AiHeroReview{border:1px solid #bfdbfe;background:#eff6ff;border-radius:12px;padding:14px;margin-bottom:12px}
.v891AiHeroReview h3{margin:0 0 4px 0;color:#0f172a}
.v891AiHeroReview p{margin:3px 0;color:#334155}

/* V91 AI Grade Assistant + Grading Pipeline polish */
.v91AiHero .v91TipGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-top:12px}
.v91TipGrid>div{border:1px solid #dbeafe;background:#f8fbff;border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:6px}
.v91TipGrid strong{color:#0f172a;font-size:14px;letter-spacing:.02em}
.v91TipGrid span{color:#475569;font-size:13px;line-height:1.35}
.v91SectionHead{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #dbeafe;margin-bottom:12px;padding-bottom:8px}
.v91SectionHead h2{margin:0;border:0;padding:0}
.v91AiSummary{border:1px solid #bfdbfe;background:linear-gradient(180deg,#eff6ff,#ffffff)}

/* V92 Correct Branding + Screenshot Polish */
.v92Brand{align-items:center;padding:20px 18px 18px}
.v92BrandMark{width:48px;height:48px;object-fit:contain;border-radius:13px;background:rgba(255,255,255,.96);padding:5px;box-shadow:0 10px 24px rgba(0,0,0,.16)}
.v92Brand h1{font-size:22px;letter-spacing:-.02em}
.v92Brand p{font-size:11px;letter-spacing:.02em;line-height:1.25;color:#dbeafe;max-width:180px}
.v92DashboardHero{position:relative;overflow:hidden;background:linear-gradient(135deg,#ffffff 0%,#eef5ff 100%);border-color:#bfdbfe}
.v92DashboardHero:after{content:"";position:absolute;right:-80px;top:-80px;width:220px;height:220px;border-radius:50%;background:rgba(37,85,220,.12)}
.v92HeroText{position:relative;z-index:1;display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.v92HeroLogo{max-width:360px;width:min(100%,360px);height:auto;margin-bottom:4px}
.v92DashboardHero h2{border:0;margin:0;padding:0;font-size:28px}
.v92DashboardHero p{font-weight:800;color:#3b4f7c;margin:0 0 8px;letter-spacing:.02em}
.v92BetaBadge{position:absolute;right:20px;top:20px;background:#2455dc;color:white;border-radius:999px;padding:8px 14px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;font-size:12px;box-shadow:0 8px 20px rgba(37,85,220,.22)}
.v92QuickGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin:12px 0}
.v92QuickGrid button{background:#2455dc;color:white;border:0;border-radius:10px;padding:13px 14px;font-weight:900;box-shadow:0 6px 14px rgba(37,85,220,.16);cursor:pointer;text-align:left}
.v92AuthBrand{text-align:center;margin-bottom:16px}
.v92AuthBrand img{max-width:330px;width:86%;height:auto;display:block;margin:0 auto 8px}
.v92AuthBrand p{margin:0;color:#3b4f7c;font-weight:900;letter-spacing:.03em}
.v92OnboardBrand{display:flex;align-items:center;gap:14px;margin-bottom:12px;flex-wrap:wrap}
.v92OnboardBrand img{max-width:260px;width:min(100%,260px);height:auto}
.v92OnboardBrand span{font-weight:900;color:#3b4f7c;letter-spacing:.03em}
@media(max-width:900px){.v92HeroLogo{max-width:280px}.v92BetaBadge{position:static;display:inline-flex;margin-top:10px}.v92DashboardHero{display:block}}

/* V94 Beta / Subscriber Launch Safety Pass */
.v94AudienceText {
  max-width: 760px;
  line-height: 1.45;
}
.v94Checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.v94Checklist button {
  text-align: left;
  justify-content: flex-start;
  align-items: flex-start;
  min-height: 86px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  white-space: normal;
}
.v94Checklist button strong {
  font-size: 1rem;
}
.v94Checklist button span {
  font-size: .86rem;
  line-height: 1.35;
  opacity: .92;
}
.v94BetaCard {
  border-color: #bfdbfe !important;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%) !important;
}

/* V95 AI Grade Assistant Not-Owned / Candidate Mode */
.v95Toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 12px;
  background: #f8fafc;
  font-weight: 800;
  margin-bottom: 10px;
}
.v95Toggle input {
  width: 18px;
  height: 18px;
}
.v95CandidatePanel {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(37, 99, 235, .18);
  border-radius: 14px;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
}
.v95PhotoInput {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(37, 99, 235, .25);
  background: #2563eb;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  margin-bottom: 10px;
}
.v95PhotoInput input {
  display: none;
}

/* V96 AI eBay Comp Engine Foundation */
.v96CompPanel {
  border-color: rgba(37, 99, 235, .16) !important;
}
.v96CompSummary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin: 12px 0;
}
.v96CompSummary div {
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 12px;
  padding: 10px 12px;
  background: #f8fafc;
}
.v96CompSummary strong {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #64748b;
  margin-bottom: 4px;
}
.v96CompSummary span {
  font-weight: 800;
  color: #0f172a;
}
.v96CompChart {
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
  margin: 14px 0;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 14px;
  padding: 8px;
}
.v96CompChart line {
  stroke: #cbd5e1;
  stroke-width: 1.5;
}
.v96CompChart polyline {
  fill: none;
  stroke: #2563eb;
  stroke-width: 3;
}
.v96CompChart circle {
  fill: #2563eb;
}
.v96CompChart text {
  fill: #475569;
  font-size: 12px;
  font-weight: 700;
}
.v96ChartEmpty {
  padding: 14px;
  border: 1px dashed rgba(15, 23, 42, .22);
  border-radius: 12px;
  color: #64748b;
  background: #f8fafc;
  margin: 12px 0;
}

/* V96.1 AI Comp Engine Search + Grade Matrix Polish */
.v96SearchTerms {
  margin: 12px 0;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 12px;
  padding: 10px 12px;
  background: #f8fafc;
}
.v96SearchTerms summary {
  cursor: pointer;
  font-weight: 800;
}
.v96SearchTerms div {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}
.v96SearchTerms code {
  display: block;
  white-space: normal;
  word-break: break-word;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 8px;
  padding: 7px 9px;
}

/* V97 Beta Feedback + Launch Readiness Pass */
.v97SupportCard {
  border-color: rgba(37, 85, 220, .20);
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}
.v97ActionLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 800;
  padding: 11px 15px;
  border: 1px solid transparent;
  box-shadow: 0 6px 14px rgba(37,85,220,.16);
}
.v97ActionLink.primary,
.v97ActionLink.beta {
  background: #2455dc;
  color: #ffffff;
}
.v97ActionLink.secondary {
  background: #ffffff;
  color: #2455dc;
  border-color: #cbd5e1;
}
.v97Disclaimer {
  margin: 12px 0;
  padding: 12px 14px;
  border: 1px solid rgba(146, 64, 14, .25);
  background: #fffbeb;
  color: #7c2d12;
  border-radius: 12px;
  font-weight: 700;
  line-height: 1.45;
}
.v97EmptyState {
  display: block;
  padding: 16px;
  border: 1px dashed rgba(37, 85, 220, .35);
  border-radius: 14px;
  background: #f8fafc;
  color: #334155;
}
.v97EmptyState strong {
  display: block;
  font-size: 18px;
  color: #0f172a;
  margin-bottom: 4px;
}
.v97EmptyState p {
  margin: 0 0 12px;
  color: #475569;
}
.v97EmptyState .v65ButtonRow button {
  box-shadow: none;
}

/* V98 Plan-Based Feature Limits Foundation */
.v98PlanCard {
  border-color: rgba(37, 85, 220, .22);
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
}
.v98PlanGrid,
.v98PlanCompare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin: 12px 0;
}
.v98PlanGrid > div,
.v98PlanCompare > div {
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 12px;
  padding: 13px 14px;
  background: #ffffff;
}
.v98PlanGrid strong,
.v98PlanCompare strong {
  display: block;
  color: #0f172a;
  margin-bottom: 5px;
}
.v98PlanGrid span,
.v98PlanCompare span {
  color: #475569;
  font-weight: 700;
}
.v98LockedFeature {
  text-align: left;
  border-color: rgba(245, 158, 11, .35);
  background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%);
}
.v98LockIcon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #fef3c7;
  border: 1px solid #f59e0b;
  font-size: 26px;
  margin: 8px 0 12px;
}

/* V99 AI Usage Limits Foundation */
.v99AiUsageCard {
  border-color: rgba(124, 58, 237, .18);
  background: linear-gradient(135deg, #ffffff 0%, #faf7ff 100%);
}
.v99AiUsageCard small {
  color: #64748b;
  font-weight: 700;
}

/* V100 Billing / Live Mode Checklist Polish */
.v100BillingCard,
.v100ChecklistCard {
  border-color: rgba(37, 85, 220, .20);
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}
.v100ChecklistCard .v65Table td:first-child {
  font-weight: 800;
  color: #0f172a;
  width: 240px;
}

/* V102 Advanced Analytics Dashboard Foundation */
.v102AnalyticsHero{background:linear-gradient(135deg,#ffffff,#eff6ff);border-color:#bfdbfe}
.v102AnalyticsSection h3{margin:18px 0 10px;color:#0f172a;font-size:18px}
.v102TwoCol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.v102SectionHead{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.v102SectionHead h2{margin-bottom:0;flex:1}
.v102BarList{display:grid;gap:10px;margin:10px 0 16px}
.v102BarRow{display:grid;grid-template-columns:minmax(180px,.9fr) 1.4fr;gap:12px;align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:10px 12px}
.v102BarRow strong{display:block;color:#0f172a;font-size:14px}
.v102BarRow span{display:block;color:#64748b;font-weight:700;font-size:12px;margin-top:3px}
.v102BarTrack{height:13px;background:#e2e8f0;border-radius:999px;overflow:hidden}
.v102BarTrack i{display:block;height:100%;background:linear-gradient(90deg,#2455dc,#60a5fa);border-radius:999px}
.v102MiniTable td,.v102MiniTable th{font-size:13px}
@media(max-width:900px){.v102TwoCol{grid-template-columns:1fr}.v102BarRow{grid-template-columns:1fr}.v102SectionHead{align-items:flex-start}.v102SectionHead button{width:100%}}

/* V103 — Mobile Optimization Foundation */
html, body { max-width: 100%; overflow-x: hidden; }
img, svg, video, canvas { max-width: 100%; height: auto; }
.v103MenuButton { display: none !important; }
.v103MobileBackdrop { display: none; }
.v65Content, .v65Main, .v65Card, .card, .infoBox, form { min-width: 0; }
.v65Content { width: 100%; }
.v65Card, .card, .soldForm, .infoBox, form { overflow-x: auto; }
.v65Stats, .v101StatementStats, .v102AnalyticsStats, .resultGrid, .grid2, .grid3, .v654FormGrid, .v65FormGrid, .v65Grid, .v95CandidateGrid, .v99AiUsageGrid { min-width: 0; }
.v65Stats > *, .v101StatementStats > *, .v102AnalyticsStats > *, .resultGrid > *, .grid2 > *, .grid3 > *, .v654FormGrid > *, .v65FormGrid > *, .v65Grid > * { min-width: 0; }
.v65ButtonRow, .toolbar, .scanLine, .pager, .v101StatementToolbar, .v102AnalyticsToolbar { align-items: stretch; }
button, input, select, textarea { max-width: 100%; }
table { max-width: 100%; }

@media (max-width: 900px) {
  body.v103NavLocked { overflow: hidden; }
  .v103MobileShell { display: block !important; min-height: 100vh; }
  .v65Main { width: 100% !important; margin-left: 0 !important; min-width: 0 !important; }
  .v65Content { padding: 12px !important; max-width: 100% !important; overflow-x: hidden; }
  .v65Header.v103MobileHeader {
    position: sticky;
    top: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px !important;
    min-height: 66px;
    box-shadow: 0 2px 12px rgba(15,23,42,.12);
  }
  .v103HeaderText { min-width: 0; flex: 1; }
  .v103HeaderText h1, .v65Header h1 { font-size: 20px !important; line-height: 1.15; margin: 0 0 3px !important; overflow-wrap: anywhere; }
  .v103HeaderText p, .v65Header p { font-size: 12px !important; line-height: 1.25; margin: 0 !important; }
  .v103MenuButton {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    flex: 0 0 auto;
    padding: 10px 12px !important;
    min-height: 42px;
    border-radius: 999px !important;
    font-size: 14px !important;
    white-space: nowrap;
  }
  .v65Side.v103MobileSide {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: min(86vw, 330px) !important;
    max-width: 330px !important;
    height: 100vh !important;
    z-index: 80 !important;
    transform: translateX(-105%);
    transition: transform .22s ease;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    box-shadow: 18px 0 35px rgba(2,6,23,.32);
  }
  .v65Side.v103MobileSide.open { transform: translateX(0); }
  .v103MobileShell.open .v103MobileBackdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 70;
    width: 100vw;
    height: 100vh;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: rgba(15,23,42,.48) !important;
    box-shadow: none !important;
  }
  .v65Brand.v92Brand { padding: 14px 12px !important; }
  .v92BrandMark { width: 42px !important; height: 42px !important; }
  .v65NavGroup { padding-left: 10px !important; padding-right: 10px !important; }
  .v65Side button, .v65NavGroup button { min-height: 44px; text-align: left; white-space: normal; }
  .v65SideFoot { padding: 12px !important; }

  .v65Stats, .v101StatementStats, .v102AnalyticsStats, .resultGrid, .grid2, .grid3, .v654FormGrid, .v65FormGrid, .v65Grid, .v95CandidateGrid, .v99AiUsageGrid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .v65Stat, .metric, .v65Card, .card, .soldForm, .infoBox, form {
    border-radius: 12px !important;
  }
  .toolbar, .scanLine, .v65ButtonRow, .pager, .v101StatementToolbar, .v102AnalyticsToolbar {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
  .toolbar input, .toolbar select, .toolbar button,
  .scanLine input, .scanLine select, .scanLine button,
  .v65ButtonRow button, .pager button,
  .v101StatementToolbar input, .v101StatementToolbar select, .v101StatementToolbar button,
  .v102AnalyticsToolbar input, .v102AnalyticsToolbar select, .v102AnalyticsToolbar button {
    width: 100% !important;
    max-width: none !important;
    min-height: 44px;
  }
  label { margin-bottom: 10px !important; }
  input, select, textarea { font-size: 16px !important; min-height: 44px; }
  button { min-height: 42px; }

  .v65Card table, .card table, form table, .infoBox table {
    min-width: 760px;
  }
  .v65Card:has(table), .card:has(table), form:has(table), .infoBox:has(table) {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  th, td { padding: 8px 7px !important; }
  .smallInput, .tinyInput { min-width: 90px !important; }
  .v65Overlay { position: fixed !important; inset: 0 !important; z-index: 120 !important; }
}

@media (max-width: 520px) {
  .v65Content { padding: 10px !important; }
  .v65Header.v103MobileHeader { padding: 10px !important; }
  .v103HeaderText h1, .v65Header h1 { font-size: 18px !important; }
  .v103HeaderText p, .v65Header p { display: none; }
  .v103MenuButton { padding: 9px 11px !important; font-size: 13px !important; }
  .v65Card, .card, .soldForm, .infoBox, form { padding: 12px !important; margin-bottom: 10px !important; }
  h2 { font-size: 19px !important; }
  h3 { font-size: 16px !important; }
  .v65Status { font-size: 13px !important; line-height: 1.35; }
  .v65Card table, .card table, form table, .infoBox table { min-width: 680px; }
}

/* V103.1 — Mobile Platform Flags Layout Fix */
.v654Flags{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(135px,1fr));
  align-items:stretch;
  gap:10px;
  overflow-x:hidden;
}
.v654Flags strong{
  grid-column:1 / -1;
  display:block;
  margin:0 0 2px;
}
.v654Flags label{
  width:auto;
  min-width:0;
  max-width:100%;
  margin:0 !important;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  min-height:44px;
  line-height:1.2;
  white-space:normal;
  overflow-wrap:anywhere;
  cursor:pointer;
}
.v654Flags input[type="checkbox"]{
  width:22px !important;
  height:22px !important;
  min-width:22px !important;
  min-height:22px !important;
  max-width:22px !important;
  flex:0 0 22px !important;
  margin:0 !important;
  padding:0 !important;
  accent-color:#168cf8;
}
@media(max-width:700px){
  .v654Flags{
    grid-template-columns:1fr !important;
    padding:10px !important;
    gap:8px !important;
  }
  .v654Flags label{
    width:100% !important;
    border-radius:12px !important;
    padding:12px 14px !important;
  }
}

/* V104 — Grading Pipeline Analytics Expansion */
.v104AnalyticsHero .v65Toolbar{
  align-items:center;
}
.v104ChartGrid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:16px;
}
.v104MiniChart{
  display:grid;
  gap:10px;
  margin-top:10px;
}
.v104BarRow{
  display:grid;
  grid-template-columns:minmax(110px,1fr) minmax(120px,2fr) minmax(42px,auto);
  align-items:center;
  gap:10px;
  font-size:13px;
}
.v104BarRow span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.v104BarTrack{
  height:12px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(148,163,184,.18);
  border:1px solid rgba(148,163,184,.25);
}
.v104BarTrack i{
  display:block;
  min-width:3px;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(22,140,248,.75), rgba(43,210,145,.85));
}
.v104CompactTable th,
.v104CompactTable td{
  white-space:nowrap;
}
@media(max-width:700px){
  .v104BarRow{
    grid-template-columns:1fr;
    gap:5px;
    padding:10px;
    border:1px solid rgba(148,163,184,.18);
    border-radius:12px;
  }
  .v104BarRow span{white-space:normal;}
}

/* V108 — Graded Slab Photo / Cert Scan Attachments */
.v108SlabGrid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:16px;
  margin:14px 0;
}
.v108SlabPreview{
  border:1px solid rgba(148,163,184,.28);
  border-radius:16px;
  padding:12px;
  background:rgba(15,23,42,.04);
  display:grid;
  gap:8px;
}
.v108SlabPreview img{
  width:100%;
  max-height:340px;
  object-fit:contain;
  border-radius:12px;
  background:#0f172a;
}
.v108SlabPreview.empty{
  min-height:140px;
  place-content:center;
  text-align:center;
  color:#64748b;
  border-style:dashed;
}
.v108SlabCard .v82UploadButton input{
  display:none;
}
@media(max-width:700px){
  .v108SlabGrid{grid-template-columns:1fr;}
  .v108SlabPreview img{max-height:300px;}
}

/* V110 — AI Comp Accuracy + Match Quality Polish */
.v110CompPanel .v110CompAccuracyCard{
  border:1px solid rgba(37,99,235,.18);
  background:rgba(37,99,235,.06);
  border-radius:16px;
  padding:12px 14px;
  margin:12px 0;
  display:grid;
  gap:4px;
}
.v110CompAccuracyCard strong{font-size:14px;color:#0f172a;}
.v110CompAccuracyCard span{font-weight:700;color:#1e40af;}
.v110CompAccuracyCard small{color:#64748b;}
.v110MatchBadge{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:4px 8px;
  font-size:12px;
  font-weight:700;
  border:1px solid rgba(100,116,139,.22);
  white-space:nowrap;
}
.v110MatchStrong{background:rgba(22,163,74,.10);color:#166534;border-color:rgba(22,163,74,.22);}
.v110MatchPossible{background:rgba(234,179,8,.12);color:#854d0e;border-color:rgba(234,179,8,.25);}
.v110MatchWeak{background:rgba(100,116,139,.10);color:#334155;border-color:rgba(100,116,139,.22);}
.v110MatchExcluded{background:rgba(220,38,38,.10);color:#991b1b;border-color:rgba(220,38,38,.22);}
.v110CompResultDetails{
  border:1px solid rgba(148,163,184,.24);
  border-radius:14px;
  padding:10px 12px;
  margin:12px 0;
  background:rgba(248,250,252,.9);
}
.v110CompResultDetails summary{cursor:pointer;font-weight:800;color:#0f172a;}
.v110CompReviewTable td{vertical-align:top;}
.v110ExcludedRow{opacity:.68;background:rgba(148,163,184,.08);}
.v110IncludeToggle{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-weight:700;}
.v110IncludeToggle input{width:16px;height:16px;}
@media(max-width:700px){
  .v110CompResultDetails{padding:10px 8px;}
  .v110CompAccuracyCard{margin:10px 0;}
}

/* V111.1 — AI Tools Foundation */
.v111AiToolsHero { border-color:#bfdbfe; background:linear-gradient(180deg,#ffffff,#f8fbff); }
.v111AiToolPhoto .v891AiPreview { max-height:260px; object-fit:contain; }
.v111QuickResult .v96CompSummary { margin-top:10px; }
@media (max-width: 720px){
  .v111AiToolsHero h2 { font-size:1.35rem; }
  .v111AiToolPhoto .v95PhotoInput span { min-height:48px; display:flex; align-items:center; justify-content:center; }
  .v111QuickResult .v96CompSummary { grid-template-columns:1fr; }
}

/* V111.1.2 — Sidebar Compact Layout Polish
   Desktop-only compact sidebar to give inventory/analytics tables more horizontal space.
   Mobile drawer behavior from V103 remains unchanged. */
@media (min-width: 901px) {
  .v65Side {
    width: 248px !important;
    min-width: 248px !important;
  }

  .v65Main {
    margin-left: 248px !important;
    width: calc(100% - 248px) !important;
  }

  .v65Brand.v92Brand {
    padding: 14px 12px 13px !important;
    gap: 9px !important;
  }

  .v92BrandMark {
    width: 40px !important;
    height: 40px !important;
    border-radius: 11px !important;
    padding: 4px !important;
  }

  .v92Brand h1,
  .v65Brand h1 {
    font-size: 18px !important;
    line-height: 1.05 !important;
  }

  .v92Brand p,
  .v65Brand p {
    font-size: 10px !important;
    line-height: 1.18 !important;
    margin-top: 3px !important;
    max-width: 170px !important;
  }

  .v65NavGroup {
    padding: 8px 10px 0 !important;
  }

  .v65GroupTitle {
    font-size: 10px !important;
    letter-spacing: .16em !important;
    margin: 7px 6px 5px !important;
  }

  .v65NavGroup button,
  .v65SideFoot button {
    min-height: 36px !important;
    padding: 8px 10px !important;
    margin: 3px 0 !important;
    border-radius: 9px !important;
    gap: 8px !important;
    font-size: 14px !important;
    line-height: 1.15 !important;
  }

  .v65SideFoot {
    padding: 10px 10px 12px !important;
  }

  .v65Header {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .v65Content {
    padding-left: 24px !important;
    padding-right: 24px !important;
    max-width: none !important;
  }
}
