/* Assembled PC builder rows (public/js/pc-build.js): the website's Build your PC page and the staff quotation dialog. */
.pc-slots { display: grid; gap: 6px; }
.pc-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) 56px 90px 28px; gap: 8px; align-items: center; }
.pc-l { font-size: 13px; font-weight: 600; }
.pc-l em { display: block; font-style: normal; font-weight: 500; font-size: 11px; color: #5b6575; }
.pc-find { position: relative; min-width: 0; }
.pc-find .input { width: 100%; text-overflow: ellipsis; }
.pc-row.picked .pc-find .input { border-color: #17784A; background: #F2FAF5; padding-left: 46px; }
.pc-row.oos .pc-find .input { border-color: #B54708; background: #FFF8EC; }
.pc-chosen { position: absolute; left: 6px; top: 50%; transform: translateY(-50%); pointer-events: none; line-height: 0; }
.pc-chosen:empty { display: none; }
.pc-ci { width: 32px; height: 32px; object-fit: contain; border-radius: 4px; background: #fff; }
.pc-qty { width: 56px; text-align: center; }
.pc-price { text-align: right; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pc-x { width: 28px; height: 28px; border: 1px solid #D3D9E3; border-radius: 6px; background: #fff; color: #5b6575; font-size: 18px; line-height: 1; cursor: pointer; }
.pc-x:hover { color: #B42318; border-color: #F3C0BC; }
.pc-res { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 3px); max-height: 340px; overflow: auto; margin: 0; padding: 4px; list-style: none; background: #fff; border: 1px solid #D3D9E3; border-radius: 8px; box-shadow: 0 12px 28px rgba(10, 35, 66, .16); }
.pc-res li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; column-gap: 10px; align-items: center; padding: 5px 8px; border-radius: 6px; font-size: 13px; line-height: 1.3; cursor: pointer; }
.pc-res li:hover, .pc-res li.on { background: #EEF3FB; }
.pc-res li b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pc-th { width: 44px; height: 44px; object-fit: contain; border-radius: 4px; background: #fff; }
.pc-noimg { display: block; background: #F1F4F8; }
.pc-res .pc-oos { grid-column: 2 / -1; color: #B54708; font-weight: 600; font-size: 11px; }
.pc-res .pc-none { display: block; cursor: default; color: #5b6575; }
.pc-res .pc-more { display: block; text-align: center; font-weight: 600; color: #305CA4; }
.pc-checks { display: grid; gap: 6px; }
.pc-checks p { margin: 0; padding: 7px 10px 7px 30px; border-radius: 6px; font-size: 12.5px; line-height: 1.4; position: relative; }
.pc-checks p::before { position: absolute; left: 10px; top: 7px; font-weight: 800; }
.pc-checks .pc-err { background: #FDECEA; color: #8A1C12; }
.pc-checks .pc-err::before { content: "\2715"; }
.pc-checks .pc-warn { background: #FFF4E0; color: #7A4100; }
.pc-checks .pc-warn::before { content: "!"; left: 13px; }
.pc-checks .pc-ok { background: #ECF7F0; color: #14532D; }
.pc-checks .pc-ok::before { content: "\2713"; }
.pc-checks .pc-todo { background: #F3F5F9; color: #33415C; }
.pc-checks .pc-todo::before { content: "\2026"; }
.pc-slots > .pc-err { margin: 0; padding: 8px 10px; border-radius: 6px; background: #FDECEA; color: #8A1C12; }
.pc-total { display: flex; align-items: baseline; gap: 8px; padding: 12px 14px; border: 1px solid #D3D9E3; border-radius: 8px; background: #F7F9FC; }
.pc-total:empty { display: none; }
.pc-total b { margin-left: auto; font-size: 20px; }
.pc-total small { color: #5b6575; }
@media (max-width: 860px) {
  .pc-row { grid-template-columns: minmax(0, 1fr) 56px 84px 28px; }
  .pc-l { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .pc-row { grid-template-columns: minmax(0, 1fr) 48px 28px; }
  .pc-find { grid-column: 1 / -1; }
  .pc-price { text-align: left; }
}
.pc-res .pc-fit { display: block; cursor: default; margin: -4px -4px 4px; padding: 7px 12px; border-radius: 8px 8px 0 0; background: #ECF7F0; color: #14532D; font-size: 12px; font-weight: 600; }
.pc-res .pc-fit button { border: 0; background: none; padding: 0; margin-left: 4px; color: #305CA4; font: inherit; text-decoration: underline; cursor: pointer; }
