/* full-bleed guide page */
.wrap.sku-full,
.wrap.sku-wrap{
  max-width: none !important;
  width: calc(100% - 24px);
}
.sku-wrap{
  width: 100%;
  max-width: none;
}
/* AMCOZA SKU Finder — guide shell tokens (amcoza.css) */

.sku-hero{ min-height: auto; }
.sku-hero .hero-copy{ padding-bottom: 16px; }

.loading-banner{
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-900, #030312);
  color: var(--muted, #aaaadc);
  font-size: 15px;
  font-family: 'Baloo Chettan 2', Arial, sans-serif;
}
.loading-banner.hide{ display: none; }

.sku-app{
  border: 1px solid var(--line, #b7b7fb22);
  border-radius: var(--radius-3, 18px);
  background: var(--surface, #06062ae6);
  box-shadow: 0 16px 48px rgba(2,2,11,.45);
  overflow: hidden;
  margin-bottom: 18px;
}

.topbar{
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line, #b7b7fb22);
  background: var(--surface-raised, #09094ae8);
}
.search-wrap{ flex: 1; min-width: 220px; max-width: 640px; position: relative; }
.search-wrap input{
  width: 100%; padding: 10px 14px;
  border-radius: var(--radius-2, 12px);
  border: 1px solid var(--line-strong, #b7b7fb48);
  background: var(--blue-950, #02020b);
  color: var(--text, #f7f7ff);
  font: inherit; font-size: 14px; outline: none;
}
.search-wrap input:focus{
  border-color: var(--accent, #f6cd49);
  box-shadow: 0 0 0 3px rgba(246,205,73,.18);
}
#suggest{
  position: absolute; left: 0; right: 0; top: calc(100% + 4px);
  background: var(--surface-raised, #09094ae8);
  border: 1px solid var(--line-strong, #b7b7fb48);
  border-radius: var(--radius-2, 12px);
  max-height: 360px; overflow: auto; z-index: 40;
  box-shadow: 0 12px 40px rgba(2,2,11,.45);
}
#suggest .item{
  display: flex; gap: 12px; align-items: center;
  padding: 10px 12px; cursor: pointer;
  border-bottom: 1px solid var(--line, #b7b7fb22);
}
#suggest .item:hover, #suggest .item.active{
  background: rgba(15,15,237,.18);
}
#suggest .item .sku{
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px; color: var(--accent, #f6cd49); min-width: 140px;
}
#suggest .item .nm{
  font-size: 12px; color: var(--muted, #aaaadc);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#suggest .item img{
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover; background: var(--blue-800, #09094a); flex-shrink: 0;
  border: 2px solid var(--line-strong, #b7b7fb48);
}
.top-actions{ display: flex; align-items: center; gap: 10px; margin-left: auto; }
.exvat{
  font-size: 11px; font-weight: 700; color: var(--accent, #f6cd49);
  border: 1px solid var(--line-strong, #b7b7fb48);
  border-radius: 999px; padding: 4px 10px;
  background: rgba(246,205,73,.1);
}
.muted{ color: var(--muted, #aaaadc); font-size: 12px; }
code, .mono{
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .88em; color: var(--blue-200, #b7b7fb);
}

.layout{
  display: grid;
  grid-template-columns: 220px 1fr minmax(0, 320px);
  min-height: min(70vh, 820px);
}
.layout.sheet-closed{ grid-template-columns: 220px 1fr; }

.rail{
  border-right: 1px solid var(--line, #b7b7fb22);
  background: rgba(6,6,42,.55);
  overflow: auto; padding: 10px 8px;
}
.rail-head{
  font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted, #aaaadc); padding: 6px 8px 10px; font-weight: 700;
}

/* Dual left-rail Size | Range toggle — Eric 2026-09-22d */
.rail-mode-toggle{
  display:flex; gap:4px; padding:4px 6px 10px;
}
.rail-mode-btn{
  flex:1; font:inherit; font-size:11px; font-weight:700;
  text-transform:uppercase; letter-spacing:.06em;
  padding:7px 8px; border-radius:8px; cursor:pointer;
  color:var(--muted,#aaaadc);
  background:rgba(15,15,237,.10);
  border:1px solid var(--line,#b7b7fb22);
}
.rail-mode-btn:hover:not(:disabled){
  border-color:var(--line-strong,#b7b7fb48);
  color:var(--blue-50,#f7f7ff);
}
.rail-mode-btn.on{
  background:rgba(246,205,73,.16);
  border-color:rgba(246,205,73,.45);
  color:var(--accent,#f6cd49);
}
.rail-mode-btn:disabled{
  opacity:.4; cursor:not-allowed;
}
.rail-unit{
  margin-left:4px; font-size:10px; font-weight:600;
  color:var(--muted,#aaaadc); text-transform:none; letter-spacing:0;
}
.rail-outdated,
.sticker-outdated{
  display:inline-block;
  margin-left:6px;
  padding:1px 6px;
  border-radius:999px;
  font-size:10px; font-weight:700;
  letter-spacing:.04em;
  text-transform:lowercase;
  vertical-align:middle;
  background:rgba(255,90,106,.14);
  color:#ff8a96;
  border:1px solid rgba(255,90,106,.35);
}
.family-list .fam .rail-outdated{ margin-left:4px; }
.sticker-outdated{ margin-left:0; }
.linkish, #familyNote a[data-switch-rail], #familyNote [data-switch-rail]{
  color:var(--accent,#f6cd49); cursor:pointer; text-decoration:underline;
  background:none; border:0; font:inherit; padding:0;
}


.family-list .fam{
  display: block; width: 100%; text-align: left;
  background: transparent; border: 1px solid transparent;
  color: var(--text, #f7f7ff);
  padding: 8px 10px; border-radius: var(--radius-1, 8px);
  cursor: pointer; margin-bottom: 4px;
  font: inherit; font-size: 13px;
}
.family-list .fam:hover{ background: rgba(15,15,237,.14); border-color: var(--line, #b7b7fb22); }
.family-list .fam.on{
  background: rgba(246,205,73,.12);
  border-color: rgba(246,205,73,.4);
  color: var(--blue-50, #f7f7ff);
}
.family-list .fam .n{ color: var(--muted, #aaaadc); font-size: 11px; }

/* Large-format printer rail section headers — Eric 2026-09-20e */
.family-list .rail-group{ margin: 0 0 10px; }
.family-list .rail-group:last-child{ margin-bottom: 0; }
.family-list .rail-group-label{
  font-size: 10px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted, #aaaadc); opacity: .85;
  padding: 8px 10px 4px; font-weight: 650;
  border-top: 1px solid var(--line, #b7b7fb22);
  margin-top: 4px;
}
.family-list .rail-group:first-child .rail-group-label{
  border-top: none; margin-top: 0; padding-top: 2px;
}


.main{ overflow: auto; padding: 16px 18px 28px; min-width: 0; }
.family-head{
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; margin-bottom: 14px; flex-wrap: wrap;
}
.family-head h2{
  margin: 0; font-size: 1.25rem; font-weight: 600;
  color: var(--blue-50, #f7f7ff); letter-spacing: -.02em;
}
.barebone-chip{
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 8px; padding: 6px 12px;
  border-radius: var(--radius-pill, 999px);
  border: 1px solid var(--line-strong, #b7b7fb48);
  background: rgba(15,15,237,.14);
  font-size: 12px; color: var(--muted, #aaaadc);
}
.barebone-chip strong{
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  color: var(--accent, #f6cd49); font-weight: 700;
}
.barebone-chip .bb-price{ color: var(--blue-50, #f7f7ff); font-weight: 600; }
.legend-inline{
  display: flex; gap: 14px; font-size: 12px;
  color: var(--muted, #aaaadc); align-items: center;
}
.dot-on, .dot-off{
  display: inline-block; width: 12px; height: 12px; border-radius: 50%;
  margin-right: 6px; vertical-align: -2px;
}
.dot-on{ background: var(--accent, #f6cd49); box-shadow: 0 0 0 3px rgba(246,205,73,.22); }
.dot-off{ background: transparent; border: 2px solid var(--line-strong, #b7b7fb48); }

.dot-on.qty-leg{
  display: inline-flex; align-items: center; justify-content: center;
  font-family: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", system-ui, sans-serif;
  font-weight: 800; font-size: 11px; line-height: 1;
  color: var(--blue-950, #02020b);
  vertical-align: -2px;
}


.matrix-wrap{
  overflow: auto;
  border: 1px solid var(--line, #b7b7fb22);
  border-radius: var(--radius-2, 12px);
  background: rgba(2,2,11,.35);
}
.matrix{
  border-collapse: separate; border-spacing: 0;
  width: max-content; min-width: 100%; font-size: 13px;
}
.matrix th, .matrix td{
  padding: 12px 14px;
  border-bottom: 1px solid var(--line, #b7b7fb22);
  border-left: none;
  border-right: none;
  vertical-align: middle;
}
.matrix thead th{
  position: sticky; top: 0; z-index: 2;
  background: var(--surface-raised, #09094ae8);
  color: var(--muted, #aaaadc);
  font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: .04em;
  border-bottom: 1px solid var(--line-strong, #b7b7fb48);
  white-space: nowrap; vertical-align: bottom;
}
.matrix thead th .col-skus{
  display: block; margin-top: 4px;
  font-size: 10px; font-weight: 600; letter-spacing: 0;
  text-transform: none;
  color: var(--blue-200, #b7b7fb);
  max-width: 120px; white-space: normal; line-height: 1.35;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.matrix th.sticky-col, .matrix td.sticky-col{
  position: sticky; left: 0; z-index: 1;
  background: var(--blue-850, #06062a);
  min-width: 260px;
}
.matrix thead th.sticky-col{ z-index: 3; background: var(--surface-raised, #09094ae8); }
.matrix tbody tr{ cursor: pointer; }
.matrix tbody tr:hover td{ background: rgba(15,15,237,.12); }
.matrix tbody tr:hover td.sticky-col{ background: #0a0a3a; }
.matrix tbody tr.hl td{ background: rgba(246,205,73,.16); }
.matrix tbody tr.hl td.sticky-col{ background: #2a2410; }
/* Eric 2026-09-21b: selected package row = one continuous gold box — no vertical cell dividers */
.matrix tbody tr.sel td{
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(246,205,73,.55),
    inset 0 -1px 0 rgba(246,205,73,.55);
}
.matrix tbody tr.sel td:first-child{
  box-shadow:
    inset 1px 0 0 rgba(246,205,73,.55),
    inset 0 1px 0 rgba(246,205,73,.55),
    inset 0 -1px 0 rgba(246,205,73,.55);
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}
.matrix tbody tr.sel td:last-child{
  box-shadow:
    inset -1px 0 0 rgba(246,205,73,.55),
    inset 0 1px 0 rgba(246,205,73,.55),
    inset 0 -1px 0 rgba(246,205,73,.55);
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}
.matrix tbody tr.sel td:first-child{
  border-left: 1px solid rgba(246,205,73,.55);
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}
.matrix tbody tr.sel td:last-child{
  border-right: 1px solid rgba(246,205,73,.55);
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}
.matrix tbody tr.sel td.sticky-col{ background: #2a2410; }

.sku-cell{ display: flex; align-items: center; gap: 12px; }
.sku-cell img{
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  background: var(--blue-800, #09094a);
  border: 2px solid var(--line-strong, #b7b7fb48);
  flex-shrink: 0;
}
.sku-cell .codes{ min-width: 0; }
.sku-cell .sku{
  font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 1.2rem; font-weight: 700; color: var(--blue-50, #f7f7ff);
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
.sku-cell .meta{
  font-size: 12px; color: var(--muted, #aaaadc); margin-top: 3px;
  line-height: 1.35;
}
.sku-cell .meta.diff{ color: var(--accent-300, #fae284); font-weight: 600; }

.mark{ text-align: center; width: 100px; }
.mark .pip{
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  box-sizing: border-box;
  font-family: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", system-ui, sans-serif;
  font-weight: 800;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--blue-950, #02020b);
}
.mark .pip.on{
  background: var(--accent, #f6cd49); box-shadow: 0 0 0 4px rgba(246,205,73,.22);
}
/* qty=1: same solid center dot as before */
.mark .pip.on:not(.qty)::after{
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-950, #02020b);
}
/* qty>1: number replaces the center dot — same color/weight feel, fits the 22px pip */
.mark .pip.on.qty{
  font-size: 13px;
}
.mark .pip.off{
  border: 2px solid var(--line-strong, #b7b7fb48); background: transparent;
}
/* Waiting for Eric warning colour on /guide/style/ — design-tokens has no
   --warning/--warn yet (2026-09-20). Class + logic land now; colour resolves
   when --warning is defined on the guide theme. Do not invent a red here. */
.mark .pip.on.oos{
  background: var(--warning, var(--accent, #f6cd49));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--warning, var(--accent, #f6cd49)) 22%, transparent);
  border: 2px solid var(--warning, transparent);
}
.mark .pip.on.oos:not(.qty)::after{
  background: var(--warning-ink, var(--blue-950, #02020b));
}

/* SKU-in-pip (fiber Laser Power Source / Chiller): wider pill, monospace — Eric 2026-09-20d */
.mark .pip.on.sku{
  width: auto; min-width: 36px; height: auto; min-height: 34px; padding: 7px 11px;
  border-radius: 10px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
  color: var(--blue-950, #02020b);
}
.mark .pip.on.sku::after{ content: none; display: none; }
.mark .pip.on.sku.qty{ font-size: 13px; }
.mark{ min-width: 108px; }



.price{
  font-variant-numeric: tabular-nums; white-space: nowrap;
  font-size: 13px; font-weight: 600; color: var(--blue-50, #f7f7ff);
}
.stock-ok{ color: var(--accent, #f6cd49); }
.stock-low{ color: var(--accent, #f6cd49); }
.stock-out{ color: #ff7a8a; }
/* stock qty larger — Eric 2026-09-18 */
td.stock, .sheet .kv span.stock-ok, .sheet .kv span.stock-low, .sheet .kv span.stock-out,
td.stock .stock-ok, td.stock .stock-low, td.stock .stock-out {
  font-size: 1.35rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.hint{ margin-top: 14px; max-width: 900px; line-height: 1.45; }

.sheet{
  border-left: 1px solid var(--line, #b7b7fb22);
  background: var(--surface-raised, #09094ae8);
  overflow: auto; padding: 0;
}
.sheet[hidden]{ display: none !important; }
.sheet > header{
  display: flex; justify-content: space-between; gap: 8px;
  padding: 14px 14px 10px;
  border-bottom: 1px solid var(--line, #b7b7fb22);
  position: sticky; top: 0;
  background: var(--surface-raised, #09094ae8); z-index: 1;
}
.sheet .sku-title{
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-weight: 700; font-size: 14px; color: var(--accent, #f6cd49);
}
.sheet .name-title{
  font-size: 12px; color: var(--muted, #aaaadc); margin-top: 4px; line-height: 1.35;
}
#sheetClose{
  background: transparent; border: 0; color: var(--muted, #aaaadc);
  font-size: 22px; cursor: pointer; line-height: 1; padding: 0 4px;
}
#sheetBody{ padding: 14px; font-size: 13px; }
#sheetBody .sheet-hero{
  display: flex; gap: 12px; align-items: center; margin-bottom: 14px;
}
#sheetBody .sheet-hero img{
  width: 88px; height: 88px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--line-strong, #b7b7fb48);
  background: var(--blue-800, #09094a);
}
#sheetBody .kv{
  display: grid; grid-template-columns: 88px 1fr; gap: 6px 10px; margin: 10px 0;
}
#sheetBody .kv b{ color: var(--muted, #aaaadc); font-weight: 500; }
#sheetBody .incl{
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--line, #b7b7fb22);
}
#sheetBody .incl h3{
  margin: 0 0 8px; font-size: 12px; text-transform: uppercase;
  letter-spacing: .05em; color: var(--muted, #aaaadc);
}
#sheetBody .incl li{ margin: 5px 0; color: var(--blue-100, #e3e3fe); }
#sheetBody .nav-chip{
  display: inline-block; padding: 4px 7px;
  border: 1px solid var(--line-strong, #b7b7fb48);
  border-radius: 5px; background: rgba(15,15,237,.18);
  color: var(--accent, #f6cd49);
  font: 600 11px ui-monospace, SFMono-Regular, Consolas, monospace;
  cursor: pointer;
}
#sheetBody .nav-chip:hover{ border-color: var(--accent, #f6cd49); }
#sheetBody .chip-name{ margin-left: 6px; color: var(--muted, #aaaadc); font-size: 11px; }
#sheetBody .rel-kind{
  display: inline-block; width: 48px; margin-right: 4px;
  color: var(--muted, #aaaadc); font-size: 10px; text-transform: uppercase;
}
#sheetBody .pill{
  display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 999px;
  border: 1px solid var(--line-strong, #b7b7fb48);
  color: var(--muted, #aaaadc); margin-right: 4px;
}

@media (max-width: 700px){
  .bundle-product-row{
    grid-template-columns:52px minmax(0,1fr) 66px 62px;
    gap:8px; padding:9px 10px;
  }
  .bundle-row-picture img,.bundle-row-thumb{ width:46px; height:46px; }
  .bundle-row-stock{ grid-column:4; grid-row:1; }
  .bundle-row-price{ grid-column:3; grid-row:1; }
  .bundle-row-qty{ grid-column:3; grid-row:2; }
  .bundle-row-name{ font-size:13px; }
  .bundle-row-sku{ font-size:.95rem; }
}

@media (max-width: 960px){
  .layout, .layout.sheet-closed{ grid-template-columns: 1fr; min-height: 0; }
  .rail{ display: none; }
  .sheet{
    position: fixed; right: 0; top: 0; bottom: 0;
    width: min(100%, 360px); z-index: 50;
  }
  .sku-cell img, #suggest .item img{ width: 48px; height: 48px; }
}

/* --- category hub cards + category pages (scaffold) --- */
.cat-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin: 18px 0 28px;
}
.cat-card{
  display:flex; gap:12px; align-items:center;
  padding: 14px 16px;
  border: 1px solid var(--line, #b7b7fb22);
  border-radius: var(--radius-3, 18px);
  background: var(--surface, #06062ae6);
  text-decoration:none; color: inherit;
  transition: border-color .15s, transform .15s;
}
.cat-card:hover{ border-color: #7c7cff88; transform: translateY(-1px); }
.cat-icon{ width:56px; height:56px; object-fit:contain; flex:0 0 auto; }
.cat-hero .cat-icon, .sku-hero .cat-icon{ width:168px; height:168px; }
.cat-card-body h2{ margin:0 0 4px; font-size:1.05rem; }
.cat-card-body .muted{ margin:0; font-size:.85rem; }

.cat-group{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.cat-card.cat-child{
  margin-left: 22px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #050520cc;
  border-color: #b7b7fb18;
}
.cat-card.cat-child .cat-icon{ width:40px; height:40px; }
.cat-card.cat-child .cat-card-body h2{ font-size:.95rem; }
.cat-card.cat-child .cat-card-body .muted{ font-size:.8rem; }
.related-line{
  margin: 10px 0 0;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}
.related-chip{
  display:inline-flex;
  align-items:center;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid rgba(183,183,251,.35);
  background:rgba(99,102,241,.12);
  color:#e5e7eb;
  text-decoration:none;
  font-size:.9rem;
  font-weight:600;
}
.related-chip:hover{
  border-color:rgba(250,204,21,.55);
  background:rgba(250,204,21,.08);
  color:#fef08a;
}

.cat-hero{ display:flex; gap:20px; align-items:flex-start; margin-bottom: 12px; }
.cat-hero img{ width:168px; height:168px; object-fit:contain; }
.walkthrough, .ambiguous-note{
  padding: 12px 14px; margin: 12px 0;
  border-radius: 12px;
  border: 1px solid var(--line, #b7b7fb22);
  background: #0a0a2ecc;
}
.ambiguous-note{ border-color: #c9a22766; color: #f0d78c; }
.fam-list{ list-style:none; padding:0; margin:0; }
.fam-list li{ padding:8px 0; border-bottom:1px solid var(--line, #b7b7fb22); display:flex; flex-wrap:wrap; gap:8px 14px; align-items:baseline; }
.sku-table-wrap{ overflow:auto; border:1px solid var(--line, #b7b7fb22); border-radius:12px; }
.sku-table{ width:100%; border-collapse:collapse; font-size:.92rem; }
.sku-table th, .sku-table td{ padding:8px 10px; text-align:left; border-bottom:1px solid var(--line, #b7b7fb22); vertical-align:top; }
.sku-table th{ background:#09094ae8; position:sticky; top:0; }
.rules-pre{
  font-size:12px; overflow:auto; max-height:280px;
  padding:12px; border-radius:12px;
  background:#05051a; border:1px solid var(--line, #b7b7fb22);
}
.section-block{ margin: 22px 0; }
.section-block h2{ margin: 0 0 10px; font-size:1.15rem; }
.empty{ padding: 8px 0; }
.crumb a{ color: inherit; }


/* Network error + retry */
.sku-net-error{
  display:flex; flex-direction:column; align-items:flex-start; gap:12px;
  padding:16px 4px; max-width:520px;
}
.sku-net-error-msg{
  margin:0; color:var(--muted,#aaaadc); font-size:14px; line-height:1.45;
}
.sku-retry-btn{
  appearance:none; cursor:pointer;
  border:1px solid var(--accent,#f6cd49);
  background:var(--accent,#f6cd49);
  color:#1a1400;
  font:inherit; font-weight:700; font-size:14px;
  padding:8px 16px; border-radius:999px;
}
.sku-retry-btn:hover{ filter:brightness(1.05); }
.sku-retry-btn:disabled{ opacity:.6; cursor:wait; }
.loading-banner .sku-net-error{ align-items:center; text-align:center; }
.loading-banner .sku-net-error-msg{ color:#ddd; }

/* SKU codes: always equal-width (monospace) — Eric 2026-09-18 lock for all 8i */
.sku-cell .sku,
.sheet .sku-title,
#suggest .item .sku,
.matrix .sku,
td.sticky-col .sku,
.codes .sku,
.mark .pip.on.sku {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* Price + Stock: right-align numbers for easier compare — Eric 2026-09-18 */
.matrix th:last-child,
.matrix th:nth-last-child(2),
.matrix td.price,
.matrix td.stock {
  text-align: right;
}
.matrix td.price,
.matrix td.stock {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  white-space: nowrap;
}

/* Click-to-copy SKU — Eric 2026-09-18 */
.sku, #sheetSku, .col-skus {
  cursor: pointer;
}
.sku:hover, #sheetSku:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sku-copied {
  color: var(--accent, #f6cd49) !important;
  text-decoration: none !important;
}
/* Yellow SKU pills keep dark ink on Copied — yellow-on-yellow was unreadable (Eric 2026-09-22) */
.mark .pip.on.sku.sku-copied {
  color: var(--blue-950, #02020b) !important;
}
.sku-copy-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(12px);
  background: #0c0c78;
  color: #f7f7ff;
  border: 1px solid rgba(246,205,73,.55);
  padding: 10px 16px;
  border-radius: 10px;
  font: 650 14px ui-monospace, SFMono-Regular, Consolas, monospace;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 9999;
}
.sku-copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Common 8i site footer — Eric 2026-09-18 */
.ei-site-footer{
  margin-top: 2.5rem;
  border-top: 1px solid var(--line, #b7b7fb22);
  color: var(--muted, #aaaadc);
  font-size: .9rem;
  background: rgba(2,2,11,.45);
}
.ei-site-footer .ei-shell{ width: min(100% - 32px, 1180px); margin: 0 auto; }
.ei-footer-inner{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 16px;
}
.ei-site-footer a{ color: var(--blue-200, #b7b7fb); text-decoration: none; }
.ei-site-footer a:hover{ color: var(--blue-50, #f7f7ff); }
.ei-footer-nav{ display: flex; flex-wrap: wrap; gap: 10px 14px; }
.ei-footer-nav a{
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line, #b7b7fb22);
  background: rgba(15,15,237,.12);
  color: var(--blue-50, #f7f7ff);
}
.ei-footer-nav a:hover{ border-color: rgba(246,205,73,.45); color: var(--accent, #f6cd49); }
.ei-footer-credit{
  text-align: center;
  padding: 0 0 24px;
  color: var(--muted, #aaaadc);
  font-size: .84rem;
  font-weight: 600;
}
@media (max-width: 640px){
  .ei-footer-inner{ display: block; }
  .ei-footer-nav{ margin-top: 14px; }
}

/* Stickers + sales chart — Eric 2026-09-18 */
.sticker-row{ display:flex; flex-wrap:wrap; gap:4px; margin-top:5px; }
.sticker{
  display:inline-block;
  font-size:10px; font-weight:800; letter-spacing:.03em;
  text-transform:uppercase;
  padding:2px 7px; border-radius:999px;
  line-height:1.4;
}
.sticker-best{ background:#f6cd49; color:#1a1400; }
.sticker-hot{ background:#ff5a6a; color:#fff; }
.sticker-trend{ background:#4a4af2; color:#fff; }
.sticker-new{ background:#22c55e; color:#04210f; }
.sticker-stock{ background:rgba(246,205,73,.2); color:#fae284; border:1px solid rgba(246,205,73,.45); }
.sticker-slow{ background:rgba(183,183,251,.12); color:#aaaadc; border:1px solid #b7b7fb48; }
.sell-hint{ color:#fae284 !important; font-weight:650; }
.sell-tip{
  margin-top:8px; padding:8px 10px; border-radius:8px;
  background:rgba(246,205,73,.1); border:1px solid rgba(246,205,73,.35);
  color:#fae284; font-size:12px; font-weight:650; line-height:1.35;
}
.sold-caption{ margin: 4px 0 0; font-size: 11px; }
.sales-mini{
  display:inline-block; margin-top:4px;
  font-size:11px; font-weight:650; color:var(--blue-200,#b7b7fb);
  text-decoration:none;
}
.sales-mini:hover{ color:var(--accent,#f6cd49); text-decoration:underline; }
.sheet-sales .sales-chart-wrap{
  margin-top:8px;
  width:100%;
  max-width:420px;
  aspect-ratio: 375 / 262.5;
  border-radius:10px;
  background:#fff;
  border:1px solid var(--line,#b7b7fb22);
  overflow:hidden;
  position:relative;
  /* Fixed slot: branded Loading SVG until real chart paints — no layout jump */
}
.sheet-sales .sales-chart-wrap::before,
.sheet-sales .sales-chart-wrap::after{
  content:none !important;
  display:none !important;
}
.sheet-sales .sales-chart-ph,
.sheet-sales .sales-chart{
  display:block;
  width:100%;
  height:100%;
  object-fit:fill;
  border:0;
  border-radius:10px;
  background:#fff;
  position:absolute;
  inset:0;
}
.sheet-sales .sales-chart-ph{
  z-index:0;
  pointer-events:none;
}
.sheet-sales .sales-chart{
  z-index:1;
  opacity:0;
  transition:opacity .15s ease;
}
.sheet-sales .sales-chart-wrap.is-loaded .sales-chart{
  opacity:1;
}
.sheet-sales .sales-chart-wrap.is-loaded .sales-chart-ph{
  visibility:hidden;
}
.sheet-sales a{ color:var(--blue-200,#b7b7fb); }
tr.sells-best td.sticky-col{ box-shadow: inset 3px 0 0 #f6cd49; }

/* Printer Ink rail (data-ink-section=1) */
.rail-ink{
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--line, #b7b7fb22);
}
.ink-list .ink{
  display: block; width: 100%; text-align: left;
  background: transparent; border: 1px solid transparent;
  color: var(--text, #f7f7ff);
  padding: 8px 10px; border-radius: var(--radius-1, 8px);
  cursor: pointer; margin-bottom: 4px;
  font: inherit; font-size: 13px;
}
.ink-list .ink:hover{ background: rgba(15,15,237,.14); border-color: var(--line, #b7b7fb22); }
.ink-list .ink.on{
  background: rgba(103, 232, 249, .12);
  border-color: rgba(103, 232, 249, .45);
}
.ink-list .ink .n{
  color: var(--muted, #aaaadc); font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}


/* Shared feedback control — kept in the SKU top bar so AM.CO.ZA 3.js launchers stay clear. */
.sku-feedback-root{ position:relative; display:inline-flex; align-items:center; }
.sku-feedback-button{
  appearance:none; cursor:pointer; border:1px solid rgba(246,205,73,.55);
  background:rgba(246,205,73,.12); color:var(--accent,#f6cd49);
  font:700 12px/1 inherit; padding:7px 12px; border-radius:999px;
}
.sku-feedback-button:hover,.sku-feedback-button:focus-visible{ background:rgba(246,205,73,.22); border-color:var(--accent,#f6cd49); }
.sku-feedback-button:focus-visible,.sku-feedback-panel button:focus-visible,
.sku-feedback-panel input:focus-visible,.sku-feedback-panel textarea:focus-visible{
  outline:2px solid var(--accent,#f6cd49); outline-offset:2px;
}
.sku-feedback-panel{
  position:fixed; top:76px; right:16px; z-index:10001; width:min(360px,calc(100vw - 32px));
  padding:16px; border:1px solid var(--line-strong,#b7b7fb48); border-radius:14px;
  background:var(--surface-raised,#09094a); color:var(--text,#f7f7ff);
  box-shadow:0 18px 50px rgba(2,2,11,.65);
}
.sku-feedback-panel[hidden],.sku-feedback-toast[hidden]{ display:none !important; }
.sku-feedback-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.sku-feedback-head h2{ margin:0; color:var(--blue-50,#f7f7ff); font-size:1.15rem; }
.sku-feedback-x{ appearance:none; cursor:pointer; border:0; background:transparent; color:var(--muted,#aaaadc); font-size:24px; line-height:1; padding:0 3px; }
.sku-feedback-help{ margin:5px 0 13px; color:var(--muted,#aaaadc); font-size:12px; }
.sku-feedback-label{ display:block; margin:10px 0 5px; color:var(--blue-100,#e3e3fe); font-size:12px; font-weight:700; }
.sku-feedback-label span{ color:var(--muted,#aaaadc); font-weight:400; }
.sku-feedback-text,.sku-feedback-email{
  display:block; width:100%; box-sizing:border-box; border:1px solid var(--line-strong,#b7b7fb48);
  border-radius:8px; background:var(--blue-950,#02020b); color:var(--text,#f7f7ff);
  font:inherit; font-size:13px; padding:9px 10px; resize:vertical;
}
.sku-feedback-email{ resize:none; }
.sku-feedback-actions{ display:flex; justify-content:flex-end; gap:8px; margin-top:14px; }
.sku-feedback-actions button{ appearance:none; cursor:pointer; font:700 12px/1 inherit; padding:8px 13px; border-radius:999px; }
.sku-feedback-cancel{ border:1px solid var(--line-strong,#b7b7fb48); background:transparent; color:var(--muted,#aaaadc); }
.sku-feedback-send{ border:1px solid var(--accent,#f6cd49); background:var(--accent,#f6cd49); color:#1a1400; }
.sku-feedback-toast{
  position:fixed; top:76px; right:16px; z-index:10002; max-width:min(360px,calc(100vw - 32px));
  padding:11px 14px; border:1px solid rgba(246,205,73,.55); border-radius:10px;
  background:#0c0c78; color:#f7f7ff; font-size:13px; box-shadow:0 12px 34px rgba(2,2,11,.55);
}
@media (max-width:640px){
  .top-actions{ width:100%; justify-content:flex-end; }
  .sku-feedback-panel,.sku-feedback-toast{ top:68px; right:10px; }
}

/* Stock bundles on explain sheet */
#sheetBody .sheet-bundles .bundle-list{ list-style:none; padding:0; margin:0; }
#sheetBody .sheet-bundles .bundle-block{ margin:8px 0 10px; }
#sheetBody .sheet-bundles .bundle-head{ margin-bottom:4px; color:var(--blue-50,#f0f0ff); }
#sheetBody .sheet-bundles .bundle-page{ color:var(--blue-200,#b7b7fb); text-decoration:underline; }
#sheetBody .sheet-bundles .bundle-lines{ list-style:none; padding:0 0 0 2px; margin:4px 0 0; }
#sheetBody .sheet-bundles .nav-chip.mono,
#sheetBody .sheet-bundles .mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size:12px; }

/* Eric 2026-09-20e: SKU matrices must fit without horizontal scroll (esp. LFP F2 / fiber). */
body[data-page="large-format-printer"] .matrix-wrap,
body[data-page="fiber-cutters"] .matrix-wrap{
  overflow-x: auto; /* safety only — columns kept ≤5 so this should not engage */
}
body[data-page="large-format-printer"] .matrix,
body[data-page="fiber-cutters"] .matrix{
  min-width: 0;
  width: 100%;
}
body[data-page="large-format-printer"] .matrix th,
body[data-page="large-format-printer"] .matrix td,
body[data-page="fiber-cutters"] .matrix th,
body[data-page="fiber-cutters"] .matrix td{
  padding: 6px 8px;
  font-size: 12px;
}
body[data-page="large-format-printer"] .matrix th.opt,
body[data-page="fiber-cutters"] .matrix th.opt{
  max-width: 7.5rem;
  white-space: normal;
  line-height: 1.2;
  vertical-align: bottom;
}

/* Eric 2026-09-21h: bundle rail selections render in the middle scroll, product-like. */
.bundle-main-view .family-head{ margin-bottom: 12px; }
.bundle-list-view{ max-width: 1120px; }
.bundle-view-intro{
  display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 14px;
  margin:0 0 12px; padding:10px 12px;
  border:1px solid var(--line, #b7b7fb22); border-radius:10px;
  background:rgba(15,15,237,.08);
}
.bundle-view-intro strong{ color:var(--blue-50,#f7f7ff); font-size:1rem; }
.bundle-view-intro .mono{ color:var(--accent,#f6cd49); }
.bundle-view-intro strong + .mono{ margin-left: .5em; }
.bundle-view-intro .muted{ flex-basis:100%; }
.bundle-view-intro .bundle-page{ color:var(--blue-200,#b7b7fb); text-decoration:underline; font-size:12px; }
.bundle-product-list{
  border:1px solid var(--line, #b7b7fb22); border-radius:12px;
  overflow:visible; background:rgba(2,2,11,.25);
}
.bundle-list-heading{
  padding:10px 14px; border-top:1px solid var(--line, #b7b7fb22);
  border-bottom:1px solid var(--line, #b7b7fb22);
  color:var(--muted,#aaaadc); font-size:11px; font-weight:700;
  letter-spacing:.05em; text-transform:uppercase;
}
.bundle-list-heading span{ margin-left:5px; color:var(--blue-200,#b7b7fb); }
.bundle-product-row{
  display:grid; grid-template-columns:64px minmax(180px,1fr) minmax(86px,auto) minmax(64px,auto) minmax(76px,auto);
  gap:12px; align-items:center; min-height:78px; padding:10px 14px;
  border-bottom:1px solid var(--line,#b7b7fb22); background:rgba(6,6,42,.3);
}
.bundle-product-row:last-child{ border-bottom:0; }
.bundle-product-row--bundle{ background:rgba(246,205,73,.08); border-bottom-color:rgba(246,205,73,.35); }
.bundle-product-row--linked{ cursor:pointer; }
.bundle-product-row--linked:hover{ background:rgba(15,15,237,.16); }
.bundle-product-row--linked:focus-visible{ outline:2px solid var(--accent,#f6cd49); outline-offset:-2px; }
.bundle-row-picture{ display:flex; align-items:center; justify-content:center; }
.bundle-row-picture img,.bundle-row-thumb{
  display:block; width:56px; height:56px; border-radius:50%; object-fit:cover;
  background:var(--blue-800,#09094a); border:2px solid var(--line-strong,#b7b7fb48);
}
.bundle-row-copy{ min-width:0; }
.bundle-row-sku{ margin-bottom:3px; font-size:1.05rem; font-weight:750; color:var(--accent,#f6cd49); overflow-wrap:anywhere; }
.bundle-row-name{ color:var(--blue-50,#f7f7ff); font-size:14px; line-height:1.3; overflow-wrap:anywhere; }
.bundle-row-description{ color:var(--muted,#aaaadc); font-size:11px; line-height:1.35; margin-top:3px; }
.bundle-row-metric{ text-align:right; white-space:nowrap; font-variant-numeric:tabular-nums; }
.bundle-row-metric span{ display:block; color:var(--muted,#aaaadc); font-size:10px; text-transform:uppercase; letter-spacing:.05em; }
.bundle-row-metric strong{ display:block; margin-top:3px; color:var(--blue-50,#f7f7ff); font-size:13px; }
.bundle-row-stock strong{ font-size:1.25rem; }
.bundle-empty{ padding:14px; }

/* Eric 2026-09-21d: per-bundle left-rail items + product-like sheet */
.rail-bundles{ margin-top:14px; border-top:1px solid var(--line-strong,#b7b7fb48); padding-top:8px; }
.rail-bundles .bundle-fam{
  /* Match .family-list .fam — no UA gray button chrome (Eric 2026-09-21e) */
  display:flex; flex-direction:column; align-items:flex-start; gap:2px;
  text-align:left; width:100%;
  background: transparent; border: 1px solid transparent;
  color: var(--text, #f7f7ff);
  padding: 8px 10px; border-radius: var(--radius-1, 8px);
  cursor: pointer; margin-bottom: 4px;
  font: inherit; font-size: 13px;
}
.rail-bundles .bundle-fam:hover{
  background: rgba(15,15,237,.14); border-color: var(--line, #b7b7fb22);
}
.rail-bundles .bundle-fam .n{ opacity:.95; font-weight:600; }
.rail-bundles .bundle-fam .bundle-code,
.rail-bundles .bundle-fam .mono{
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
  font-size:11px; color:var(--accent,#f6cd49); opacity:.95;
}
.rail-bundles .bundle-fam.on{
  background: rgba(246,205,73,.12);
  border-color: rgba(246,205,73,.4);
}
#sheetSku, .sku, .col-skus, .bundle-code, #sheetBody .mono, #sheetBody .nav-chip.mono{
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
}


/* bundle-list-main-20260921h */
.bundle-list-wrap { margin-top: 4px; }
.bundle-list-table td.price, .bundle-list-table th:nth-child(2) { width: 7.5rem; text-align: right; }
.bundle-list-table td.stock, .bundle-list-table th:nth-child(3) { width: 5rem; text-align: right; }
.bundle-list-table tr.bundle-line-row { cursor: pointer; }
.bundle-list-table tr.bundle-line-row:hover { background: rgba(250, 204, 21, 0.06); }
.bundle-need { display:inline-block; margin-left:6px; font-size:.75rem; color:#fde047; font-weight:650; }
.bundle-head-img { width:28px; height:28px; object-fit:cover; border-radius:6px; vertical-align:middle; margin-right:8px; }
.bundle-code-chip { cursor:pointer; }
.barebone-chip .bundle-code-chip { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
