.nx321-variants{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0 0}.nx321-variants button{font:inherit;font-size:12px;line-height:1.5;padding:7px 11px;border:1px solid #d7d9dc;border-radius:18px;background:transparent;color:#52565b;cursor:pointer}.nx321-variants button[aria-pressed=true]{background:#262b30;border-color:#262b30;color:white}.nx321-variants button:focus-visible{outline:2px solid #6c8b9c;outline-offset:3px}#catSide [data-nx268-cat].nx321-in-view{background:#232824;color:#fff;border-radius:12px}#catSide [data-nx268-cat].nx321-in-view small{color:#c1c7c3}#wiz.nx321-ledger{grid-template-rows:64px auto minmax(0,1fr)!important}#wiz.nx321-ledger>.wzTop{grid-row:1!important}#nx321Selection{grid-row:2;grid-column:1/-1;background:#fff;border-bottom:1px solid #e5e7e8;padding:9px clamp(18px,4vw,60px) 10px;min-width:0;z-index:15}.nx321-total{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-bottom:7px;color:#4c5257;gap:16px}.nx321-total small{margin-left:7px;font-weight:400;color:#7c858b}.nx321-total strong{font-size:15px;color:#252a2e;font-weight:500;font-variant-numeric:tabular-nums}#nx321Selection nav{display:flex;gap:7px;overflow-x:auto;padding-bottom:3px;scrollbar-width:thin;scrollbar-color:#cfd5d9 transparent}#nx321Selection button{flex:1 0 124px;min-width:0;max-width:200px;border:1px solid #e3e7ea;border-radius:7px;padding:7px 9px;text-align:left;background:#fafbfc;cursor:pointer;color:#697177;font:inherit}#nx321Selection button>span{display:flex;gap:8px;justify-content:space-between;font-size:10px;white-space:nowrap;line-height:1.5}#nx321Selection button small{font-size:10px;color:#525a60}#nx321Selection button>b{display:block;max-width:175px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:400;margin-top:3px;line-height:1.5}#nx321Selection button.is-selected{color:#253c32;background:#f3f7f4}#nx321Selection button[aria-current=step]{border-color:#789181;box-shadow:inset 0 0 0 1px #78918133}#nx321Selection button:focus-visible{outline:2px solid #789181;outline-offset:-3px}#wiz.nx321-ledger #nx28Chapter{grid-row:3!important;min-height:0!important;padding-bottom:26px!important;scroll-padding-bottom:26px}#nx28Chapter #nx28Photo:not(.nx172-photo) img{object-fit:contain!important;transform:none!important}#nx28Chapter #nx29Deck{height:216px!important;min-height:216px!important;padding-bottom:10px!important;box-sizing:border-box}#nx28Chapter #nx29Rail{height:174px!important;min-height:174px!important;mask-image:none!important;-webkit-mask-image:none!important}#nx28Chapter #nx29Rail .nx29-card{height:158px!important;min-height:158px!important;max-height:158px!important;border:1px solid #e3e6e8!important;border-radius:10px;padding:7px 9px!important;box-shadow:none}#nx28Chapter #nx29Rail .nx29-card[aria-current=true]{border-color:#789181!important;background:#f5f8f6;box-shadow:inset 0 0 0 1px #78918155}#nx28Chapter #nx29Rail .nx29-card-image{height:82px!important;min-height:82px!important;max-height:82px!important;border-radius:6px}#nx28Chapter #nx29Rail .nx29-card-name{font-size:11px;line-height:14px!important;height:28px!important}#nx28Chapter #nx29Rail .nx29-card-price{margin-top:4px;font-size:11px;color:#50585f}#nx33Categories{display:flex;gap:6px;align-items:center}#nx33Categories button{border:0!important;border-radius:18px;padding:7px 12px!important;background:transparent;transition:background .18s,color .18s;box-shadow:none!important;outline:none!important}#nx33Categories button[aria-pressed=true]{background:#e5ece8!important;color:#263e31!important}#nx33Categories button:after{display:none!important}#nx33Categories button:focus-visible{outline:2px solid #789181!important;outline-offset:2px!important}@media(min-width:901px)and (min-height:640px){#wiz.nx321-ledger #nx28Chapter:not(.nx280-included-step){grid-template-rows:32px auto minmax(min-content,1fr) 216px!important;row-gap:10px!important;padding-top:10px!important}#nx28Chapter .nx30-sidebar{min-height:275px!important}#nx28Chapter .nx28-art{min-height:275px!important}#nx28Chapter #nx28Copy h2{min-height:0!important;font-size:clamp(25px,2vw,32px)!important;line-height:1.3!important;margin-bottom:8px!important}#nx28Chapter .nx28-price{font-size:29px!important;margin-top:12px!important}#nx28Chapter .nx239-fit-state{padding:9px 12px!important}#nx28Chapter .nx239-fit-state span{margin-top:4px!important}}@media(max-width:900px){#nx321Selection{padding:8px 16px}#nx321Selection button{flex-basis:138px}#nx28Chapter #nx29Deck{margin-bottom:18px!important}}#wiz.nx321-ledger.nx28-summary>.wzMain{grid-row:3!important;height:100%!important;min-height:0!important;max-height:100%!important;box-sizing:border-box}#wiz.nx321-ledger.nx28-summary #nx15Filters_wizard,#wiz.nx321-ledger.nx28-summary #nx5WizardFilters,#wiz.nx321-ledger.nx28-summary #nx6PCB_wizard{display:none!important}
/* Keyboard builder controls share the light gold used on the printable build sheet. */
#wiz {
  --build-paper: #fcfaf5;
  --build-gold-soft: #f8f2e5;
  --build-gold: #eeddb8;
  --build-edge: #ac874a;
  --build-ink: #382c1d;
  --build-caption: #66583f;
  --build-focus: #79571e;
}

/* Give contact its own place alongside the total, outside the list of selected parts. */
#wiz #nx321Selection {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 14px;
  padding-block: 8px;
  border-bottom-color: #e6ddcc;
}
#wiz #nx321Selection > .nx321-total {
  grid-column: 1;
  grid-row: 1;
  flex-wrap: wrap;
  gap: 2px 10px;
  margin: 0;
  min-width: 0;
}
#wiz #nx321Selection > nav {
  grid-column: 1 / -1;
  grid-row: 2;
  min-width: 0;
  padding-block: 2px 4px;
  scrollbar-color: #cbb994 transparent;
}
#wiz #nx321Selection > [data-keyboard-contact] {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-width: 0;
  max-width: 100%;
  min-height: 36px;
  height: auto;
  padding: 6px 14px;
  border: 1px solid #d5c4a2;
  border-radius: 8px;
  color: var(--build-ink);
  background: var(--build-paper);
  font-size: 13px;
  line-height: 1.5;
  white-space: normal;
  text-align: center;
}
#wiz #nx321Selection > nav button.is-selected {
  background: var(--build-paper);
  color: var(--build-ink);
  border-color: #e0d7c6;
}
#wiz #nx321Selection > nav button > span {
  flex-wrap: wrap;
  gap: 1px 6px;
  white-space: normal;
}
#wiz #nx321Selection > nav button > b {
  max-width: none;
  white-space: normal;
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
}
#wiz #nx321Selection > nav button[aria-current=step] {
  background: var(--build-gold);
  color: var(--build-ink);
  border-color: var(--build-edge);
  box-shadow: inset 3px 0 var(--build-edge);
}
#wiz #nx321Selection > nav button[aria-current=step] :is(b, small, span) {color: var(--build-ink)}

/* The search control is at least 42 px tall; size the row from its content. */
@media (min-width:901px) and (min-height:640px) {
  #wiz.nx321-ledger.nx28-immersive #nx28Chapter:not(.nx280-included-step) {
    grid-template-rows: max-content max-content minmax(min-content,1fr) 216px !important;
    row-gap: 10px !important;
  }
}
#wiz #nx28Chapter > .nx36-toolbar {
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding-block: 1px 5px;
}
#wiz #nx28Chapter > .nx36-toolbar .nx29-chips {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  align-items: center;
  max-width: 100%;
  gap: 4px 8px;
  margin: 0;
  padding: 3px;
  overflow: visible;
}
#wiz #nx28Chapter > .nx36-toolbar .nx29-chips:empty {display: none}
#wiz .nx29-chips [data-nx29=remove] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid #d7c49e;
  border-radius: 7px;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.5;
  color: var(--build-ink);
  background: var(--build-gold-soft);
}
#wiz .nx29-chips [data-nx29=remove] > span {padding: 0; color: var(--build-caption)}
#wiz .nx29-chips .nx29-clear {color: var(--build-caption)}
#wiz #nx28Chapter .nx239-fit-state.compatible {
  background: var(--build-gold-soft);
  color: var(--build-ink);
  border-inline-start: 3px solid var(--build-edge);
}
#wiz #nx28Chapter .nx239-fit-state.compatible span {color: var(--build-caption)}
#wiz #nx28Chapter #nx28Photo:is([aria-pressed=true],[data-nx172-selected=true])::before {
  border-color: var(--build-edge);
}
#wiz #nx28Chapter #nx28Photo:not(.nx35-loading):is([aria-pressed=true],[data-nx172-selected=true])::after {
  color: var(--build-ink);
  background: var(--build-gold);
  border-color: var(--build-edge);
  box-shadow: none;
}
/* Drop the previous selection badge immediately when browsing another photograph. */
#wiz #nx28Chapter #nx28Photo:not(.nx35-loading):not([aria-pressed=true]):not([data-nx172-selected=true])::after {
  content: none;
}
#wiz #nx33Categories button[aria-pressed=true],
#wiz .nx321-variants button[aria-pressed=true] {
  color: var(--build-ink) !important;
  background: var(--build-gold) !important;
  box-shadow: inset 0 0 0 1px var(--build-edge) !important;
}
#wiz #nx33Categories button[aria-pressed=true] small {color: var(--build-caption)}
#wiz #nx28Chapter #nx29Rail.nx455-native-rail {scrollbar-color: #cbb994 transparent}
#wiz #nx28Chapter #nx29Rail.nx455-native-rail .nx29-card:not(.is-chosen):not([aria-current=true]) {
  background-color: var(--build-paper);
}
#wiz #nx28Chapter #nx29Rail .nx29-card.is-chosen,
#wiz #nx28Chapter #nx29Rail .nx29-card[aria-current=true] {
  color: var(--build-ink) !important;
  background: var(--build-gold-soft) !important;
  border-color: var(--build-edge) !important;
  box-shadow: inset 0 0 0 1px var(--build-edge) !important;
}
#wiz #nx28Chapter input[type=checkbox] {accent-color: var(--build-focus)}
#wiz :is(#nx321Selection button,#nx33Categories button,.nx29-chips button,.nx29-card):focus-visible {
  outline: 2px solid var(--build-focus) !important;
  outline-offset: -3px !important;
}
@media (max-width:900px) {
  #wiz #nx321Selection > [data-keyboard-contact] {min-height: 44px}
  #wiz #nx28Chapter > .nx36-toolbar .nx29-chips {margin-top: 5px}
  #wiz #nx28Chapter > .nx36-toolbar .nx29-chips button {min-height: 44px}
}
