/* Isolated Build Shop theme. Never overrides Trader/Click & Collect selectors. */
.bs-page{--bs-red:#dc3545;--bs-stroke:#364049;--bs-paper:#121920;color:#eaecef;width:100%;font-family:inherit;padding:0 0 28px}
.bs-page *{box-sizing:border-box}.bs-page button,.bs-page input,.bs-page select{font:inherit}.bs-page button{cursor:pointer}
.bs-header{min-height:230px;border-radius:14px;border:1px solid #4b272b;overflow:hidden;padding:40px clamp(20px,5vw,70px);background:linear-gradient(110deg,#080e14,#17212a 65%,#3a1c21);display:flex;flex-direction:column;justify-content:center;gap:6px}
.bs-header span{color:#df434d;font-size:12px;font-weight:800;letter-spacing:.2em}.bs-header h1{font-family:Oswald,'Arial Narrow',sans-serif;font-weight:900;font-size:clamp(34px,6vw,63px);letter-spacing:.045em;color:white;margin:0;line-height:1}
.bs-header p{color:#adb9be;margin:8px 0 0;font-size:15px}.bs-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.bs-tabs button{background:#17212b;color:#c9d1d9;border:1px solid #3a434a;border-radius:9px;padding:11px 18px}
.bs-tabs .active{background:#a32630;color:white;border-color:#cc3742}.bs-page .bs-primary{display:inline-flex;align-items:center;justify-content:center;background:#cf2f3b;border:1px solid #e3434e;border-radius:9px;padding:13px 20px;font-weight:800;color:#fff;width:auto}
.bs-page button:disabled{cursor:not-allowed;opacity:.48}.bs-muted,.bs-page small{color:#a8b0b9}.bs-warning{border:1px solid #936231;background:#312317;border-radius:8px;color:#ffdcab;padding:12px 15px;margin:10px 0}.bs-empty,.bs-side-empty{padding:27px;color:#b6c0c8;border:1px dashed #46515a;border-radius:12px}
.bs-store-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(300px,1fr);gap:18px}.bs-search{margin-bottom:14px}.bs-page input:not([type=checkbox]),.bs-page select{width:100%;min-width:0;background:#0a1017;border:1px solid #46505a;color:#f2f4f6;border-radius:7px;padding:10px 12px}
.bs-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px;max-height:850px;overflow:auto;align-content:start;padding:1px}.bs-card{background:#141e27;color:#f0f1f2;border:1px solid #39414c;border-radius:12px;padding:0;text-align:left;overflow:hidden;display:flex;flex-direction:column;transition:border-color .14s}.bs-card:hover,.bs-card.selected{border-color:#d63a45}
.bs-card-picture{height:162px;background:#0b0f13;display:flex;align-items:center;justify-content:center;overflow:hidden}.bs-image{width:100%;height:100%;object-fit:contain;display:block}.bs-card-copy{padding:12px;display:grid;gap:6px}.bs-card-copy strong{font-size:15px}.bs-card-copy small{font-size:12px;min-height:28px}.bs-card-copy b{color:#fff;font-size:17px}.bs-unavailable{color:#8c959c;font-size:12px;padding:12px;text-align:center}.bs-choice-panel{background:#111920;border:1px solid #3a454e;border-radius:13px;padding:17px;position:sticky;top:10px;align-self:start}.bs-detail-image{background:#080e13;border:1px solid #37434b;border-radius:9px;height:235px;display:flex;align-items:center;justify-content:center;overflow:hidden}.bs-choice-panel h3{font-size:23px;margin:16px 0 0}.bs-choice-panel p{font-size:13px;line-height:1.6}.bs-choice-panel label{font-size:12px;display:block;margin:12px 0 6px;color:#ccd3da}.bs-terms{display:grid;grid-template-columns:110px 1fr;gap:8px 12px;font-size:13px;padding:14px;background:#0a1119;border-radius:9px}.bs-terms span{color:#a7b1bc}.bs-choice{display:grid;gap:8px;margin:8px 0 14px}.bs-choice button,.bs-order button,.bs-admin-list button,.bs-map-toolbar button,.bs-page .bs-row button{padding:9px 12px;border-radius:7px;background:#192530;color:#e9eef2;border:1px solid #46515b}.bs-choice button.active{border-color:#e5454e;background:#3c2228}
.bs-section-head{display:flex;gap:15px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:15px}.bs-section-head h3{font-size:24px;margin:0}.bs-order{background:#111920;border:1px solid #36414b;padding:18px;border-radius:12px;margin:12px 0}.bs-order-head{display:flex;gap:8px;justify-content:space-between;align-items:center;font-size:17px}.bs-status{font-size:12px;border:1px solid #53606d;border-radius:20px;padding:5px 12px;text-transform:capitalize}.bs-order small{display:block;margin-top:7px}.bs-order .bs-action-form{margin-top:16px;background:#0a1119;padding:16px;border-radius:9px}.bs-action-form>label{display:block;margin:12px 0 5px}.bs-action-form>button{margin-top:12px}
.bs-map-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:14px 0 8px}.bs-map-toolbar strong{margin-right:auto}.bs-map-toolbar span{color:#c1d1d8;font-size:12px}.bs-map-toolbar button{min-width:33px}#build-shop-map{display:block;width:min(100%,870px);aspect-ratio:1/1;max-height:630px;background:#102125;touch-action:none;border:1px solid #4d5559;border-radius:10px;user-select:none;cursor:crosshair}
.bs-pin circle{stroke:#fff;stroke-width:8;fill:#dc2e39}.bs-pin path{stroke:#fff;stroke-width:14;stroke-linecap:round}.bs-xyz{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:13px 0}.bs-xyz label{font-size:12px;color:#bac4c7}.dbot-tile-place-labels{fill:#fff;stroke:#0b1218;stroke-width:2.2;paint-order:stroke;font-weight:700}
.bs-admin-settings,.bs-editor{display:flex;flex-wrap:wrap;gap:15px;background:#121b24;border:1px solid #354049;border-radius:10px;padding:18px;margin:14px 0 22px}.bs-admin-settings label{display:flex;gap:7px;align-items:center;font-size:13px}.bs-admin-settings label:has(input[type=number]){flex-direction:column;align-items:start}.bs-admin-settings label input[type=number]{max-width:125px}.bs-row{display:flex;gap:9px;align-items:center;margin:12px 0;flex-wrap:wrap}.bs-row>input{flex:1}.bs-library{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:9px;max-height:470px;overflow:auto}.bs-library-entry{min-width:0;display:flex;gap:10px;background:#111b23;border:1px solid #33404a;color:#fff;text-align:left;padding:8px;border-radius:9px}.bs-library-entry.unavailable{opacity:.58}.bs-lib-image{width:84px;height:75px;flex-shrink:0;background:#060b10}.bs-lib-image img{width:100%;height:100%;object-fit:contain}.bs-library-entry span:last-child{min-width:0;display:grid;gap:4px;align-content:center}.bs-library-entry small{font-size:10px;overflow-wrap:anywhere}.bs-editor{display:block}.bs-editor h4{margin:0 0 8px}.bs-editor-media{max-width:200px;height:120px;background:#071014;margin-bottom:12px}.bs-editor-media img{width:100%;height:100%;object-fit:contain}.bs-form-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.bs-form-grid label{font-size:12px}.bs-admin-list{display:grid;gap:5px}.bs-admin-list>button,.bs-admin-list>div{text-align:left;border:1px solid #384450;background:#111920;padding:10px;border-radius:7px;color:#e8edef}.bs-admin-list>div button{float:right;margin-left:7px}
@media(max-width:980px){.bs-store-grid{grid-template-columns:1fr}.bs-choice-panel{position:static}.bs-form-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.bs-xyz{grid-template-columns:repeat(2,1fr)}.bs-form-grid{grid-template-columns:1fr}.bs-products{grid-template-columns:repeat(2,minmax(0,1fr))}.bs-card-picture{height:120px}.bs-card-copy{padding:8px}.bs-header{min-height:170px;padding:24px}}

/* DBOT20: dashboard-consistent catalogue; no new standalone design system. */
.bs-page,.bs-page *{min-width:0;max-width:100%;overflow-wrap:anywhere}
.bs-page{overflow:visible;color:var(--text,#e9edf1)}
.bs-page .bs-library,.bs-page .bs-products{max-width:100%;overflow-x:hidden}
.bs-page .bs-library{grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:10px;max-height:560px}
.bs-page .bs-library-entry{min-width:0;max-width:100%;display:grid;grid-template-columns:minmax(64px,80px) minmax(0,1fr);overflow:hidden;align-items:center}
.bs-page .bs-library-entry span:last-child,.bs-page .bs-library-entry b,.bs-page .bs-library-entry small,.bs-page .bs-admin-list button,.bs-page .bs-card-copy strong{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:break-word;white-space:normal;line-height:1.35}
.bs-page .bs-library-entry b{display:block;font-size:13px}
.bs-page .bs-card{min-width:0}
.bs-page .bs-card-copy{min-width:0}
.bs-page .bs-primary{background:#242d39;border:1px solid #454d59;color:#f7f7f8}
.bs-page .bs-primary.bs-ready{background:#23713d;border-color:#3b9b5b;color:#fff}
.bs-page .bs-tabs .active{background:#292f38;border-color:#ac343c;color:#fff}
.bs-page .bs-choice button.active{background:#25313a;border-color:#d64b53}
.bs-page .bs-choice-panel,.bs-page .bs-admin-settings,.bs-page .bs-order,.bs-page .bs-library-entry{background:#11161e}
.bs-page .bs-store-grid{grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr)}
.bs-page .bs-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.bs-page .bs-editor-backdrop,.bs-page .bs-compass-overlay{position:fixed;inset:0;z-index:8000;background:rgba(0,0,0,.82);display:grid;place-items:center;padding:18px;max-width:none}
.bs-page .bs-editor{width:min(740px,100%);max-width:min(740px,100%);max-height:calc(100dvh - 36px);overflow:auto;display:block;background:#131920;border:1px solid #4a5360;box-shadow:0 22px 80px #0009;margin:0;border-radius:12px}
.bs-page .bs-modal-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.bs-page .bs-modal-top button{color:#fff;border:1px solid #4b5361;background:#202932;border-radius:8px;padding:8px 12px;flex-shrink:0}
.bs-page .bs-modal-top h4{margin:0;overflow-wrap:anywhere}
.bs-page .bs-compass-tip{display:grid;gap:8px;margin:14px 0;max-width:340px}
.bs-page .bs-compass-tip>span{font-size:13px;font-weight:700}
.bs-page .bs-compass-thumbnail{display:grid;gap:5px;padding:8px;border:1px solid #454e5a;background:#0a0e14;color:#f2f2f2;border-radius:9px;text-align:left}
.bs-page .bs-compass-thumbnail img{width:min(100%,344px);height:auto;display:block;aspect-ratio:344/169;object-fit:contain}
.bs-page .bs-compass-thumbnail small{font-size:12px;text-align:center}
.bs-page .bs-compass-modal{width:min(100%,1200px);max-width:min(100%,1200px);max-height:calc(100dvh - 36px);overflow:auto;background:#121821;border:1px solid #404956;border-radius:12px;padding:12px}
.bs-page .bs-compass-modal img{display:block;width:100%;max-height:72dvh;object-fit:contain;background:#05080a}
.bs-page .bs-compass-modal p{margin:12px 4px 2px}
.bs-page .bs-map-toolbar button{background:#262e3a;color:#fff}
#build-shop-map{background:#0e141b}
@media(max-width:950px){.bs-page .bs-store-grid{grid-template-columns:1fr}.bs-page .bs-choice-panel{position:static}}
@media(max-width:650px){.bs-page .bs-library{grid-template-columns:1fr}.bs-page .bs-library-entry{grid-template-columns:70px minmax(0,1fr)}.bs-page .bs-products{grid-template-columns:repeat(2,minmax(0,1fr))}.bs-page .bs-form-grid{grid-template-columns:1fr}.bs-page .bs-admin-settings{padding:12px}.bs-page .bs-admin-settings label{min-width:125px;max-width:100%}.bs-page .bs-xyz{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:390px){.bs-page .bs-products{grid-template-columns:1fr}}

/* Completed cancellations stay available without crowding current orders. */
.bs-page .bs-cancelled-builds{margin-top:18px;border:1px solid #36414b;border-radius:10px;background:#0c131b;padding:9px 14px}
.bs-page .bs-cancelled-builds>summary{cursor:pointer;font-weight:750;color:#b8c3cc;padding:8px 2px}
.bs-page .bs-cancelled-builds .bs-order{opacity:.8;margin:10px 0}

/* Existing Build Shop visual language; no replacement artwork. */
.bs-page .bs-owned-summary{display:flex;align-items:center;gap:14px;margin:12px 0;flex-wrap:wrap}
.bs-page .bs-owned-image{width:130px;height:96px;display:flex;align-items:center;justify-content:center;background:#080e13;border:1px solid #36414b;border-radius:8px;flex-shrink:0;overflow:hidden}
.bs-owned-summary p{margin:4px 0}.bs-owned-summary label{display:flex;gap:8px;align-items:center;margin-top:8px}
.bs-page .bs-manage summary{cursor:pointer;font-weight:750}.bs-page .bs-manage .bs-row{align-items:center}.bs-page .bs-manage .bs-row input{width:min(100%,250px)}
.bs-page .bs-bulk{border:1px solid #46515b;padding:14px;border-radius:10px;background:#11161e}.bs-page .bs-bulk button{padding:9px 12px;border-radius:7px}
.bs-page .bs-configured-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:10px;margin-bottom:24px}
.bs-page #bs-admin-list-filter{width:auto}.bs-page .bs-custom-import{display:grid;gap:8px;margin-bottom:15px}
.bs-page .bs-custom-import textarea{width:100%;resize:vertical;background:#0a1017;border:1px solid #46505a;color:#f2f4f6;border-radius:7px;padding:10px;font:inherit;min-height:120px}

/* V5 — shared header navigation, dedicated catalogue screens and sale choices. */
.dashboard-header-navigation [data-bs-tab][aria-pressed=true]{border-color:#a94148;box-shadow:inset 0 0 0 1px #a94148}
.bs-page .bs-admin-controls{border:1px solid #36414b;border-radius:10px;background:#11161e;margin:0 0 12px;padding:10px 14px}
.bs-page .bs-admin-controls>summary{cursor:pointer;font-weight:750;padding:6px 0}
.bs-page .bs-admin-controls .bs-admin-settings{margin:10px 0 0;padding:12px}
.bs-page .bs-add-items{margin:12px 0 18px}
.bs-page .bs-configured-card{position:relative;min-width:0;display:flex}
.bs-page .bs-configured-card>.bs-library-entry{width:100%;padding-right:38px}
.bs-page .bs-delete-listing{position:absolute;top:6px;right:6px;width:30px;height:30px;border:1px solid #59616a;border-radius:6px;background:#202630;color:#eee;cursor:pointer;display:grid;place-items:center;padding:0}
.bs-page .bs-delete-listing:hover{border-color:#ce575c;color:#fff;background:#42252a}
.bs-page .bs-sale-options{margin:16px 0;padding:12px;border:1px solid #36414b;border-radius:8px;background:#0b1118}
.bs-page .bs-sale-options h4{margin:0 0 6px}.bs-page .bs-offer-editor{border-top:1px solid #36414b;padding:10px 0}.bs-page .bs-offer-editor .bs-row{margin:0 0 8px;align-items:end}.bs-page .bs-offer-editor .bs-row label{flex:1;max-width:100%}.bs-page .bs-sale-options>button{padding:9px 12px;background:#202932;color:#eee;border:1px solid #46515b;border-radius:7px}.bs-page .bs-offer-editor label{display:block;font-size:12px}
@media(max-width:650px){.bs-page .bs-delete-listing{width:38px;height:38px}.bs-page .bs-configured-card>.bs-library-entry{padding-right:46px}.bs-page .bs-sale-options{padding:10px}}
/* V6: separate card selection from the disclosure control (no nested buttons). */
.bs-product{min-width:0;display:flex;flex-direction:column;align-self:start;border:1px solid #39414c;border-radius:12px;overflow:hidden;background:#141e27}.bs-product .bs-card{width:100%;border:0;border-radius:0;flex:1}.bs-product:has(.bs-card.selected){border-color:#d63a45}.bs-product .bs-card-picture{width:100%}.bs-product .bs-card-copy small{min-height:0}.bs-page .bs-more-offers{font-size:12px;text-align:left;padding:8px 12px;border:0;border-top:1px solid #364049;background:#11161e;color:#c6cdd5}.bs-extra-offers{padding:8px 12px;font-size:13px;display:grid;gap:6px}.bs-choice button small{display:block;margin-top:4px}.bs-admin-nav button[aria-pressed=true]{border-color:#c7525c}.bs-active-info{display:grid;gap:5px}.bs-active-builds .bs-row button{float:none;margin:0}.bs-active-builds .bs-row label{display:flex;gap:8px;align-items:center;font-size:12px;flex-wrap:wrap}.bs-active-builds .bs-row input{width:90px}
