.assembly-guided { color:#172033; font-size:14px; letter-spacing:0; }
.assembly-guided * { box-sizing:border-box; min-width:0; letter-spacing:0; }
.assembly-guided h2 { font-size:26px; margin:0 0 6px; }
.assembly-guided h3 { font-size:17px; margin:0 0 18px; }
.assembly-guided small { display:block; color:#637189; margin-top:6px; font-size:12px; }
.assembly-guided svg { width:18px; height:18px; flex-shrink:0; vertical-align:middle; }
.aw-heading,.aw-heading>div:last-child,.aw-history>header,.aw-submit-row { display:flex; align-items:center; gap:14px; justify-content:space-between; flex-wrap:wrap; }
.aw-heading { margin-bottom:24px; }
.aw-heading>div:first-child { margin-right:auto; }
.aw-heading span { color:#637189; }
.aw-tool-slot { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.aw-tool-slot .mc-context-link,.aw-tool-slot .phase2-module-actions { margin:0; padding:0; border:0; }
.aw-btn { border:1px solid #cbd5e1; border-radius:5px; min-height:40px; padding:9px 14px; display:inline-flex; align-items:center; justify-content:center; gap:8px; background:#fff; color:#24354c; font:inherit; font-weight:600; }
.aw-icon { width:40px; padding:8px; }
.aw-primary { color:#fff; background:#078454; border-color:#078454; }
.assembly-guided button:disabled { opacity:.5; cursor:not-allowed; }
.aw-tabs { display:flex; gap:24px; border-bottom:1px solid #dce3ed; margin-bottom:24px; flex-wrap:wrap; }
.aw-tabs button { padding:12px 0; border:0; border-bottom:3px solid transparent; background:none; color:#586882; font:inherit; }
.aw-tabs [aria-current] { color:#215bf3; border-bottom-color:#215bf3; font-weight:600; }
.aw-tabs button span { font-size:12px; padding:2px 6px; background:#edf1f6; border-radius:4px; }
.aw-guide { display:grid; grid-template-columns:265px minmax(0,1fr); gap:32px; align-items:start; }
.aw-selection { background:#f4f6f9; padding:20px; border-radius:6px; }
.aw-selection h3 { margin:16px 0 8px; overflow-wrap:anywhere; }
.aw-code { font-family:ui-monospace,SFMono-Regular,Consolas,monospace; overflow-wrap:anywhere; }
.aw-selection>.aw-code { color:#637189; font-size:12px; }
.aw-photo { min-height:140px; display:flex; flex-direction:column; gap:8px; align-items:center; justify-content:center; color:#637189; }
.aw-photo img { width:100%; height:165px; object-fit:contain; background:#fff; border-radius:4px; }
.aw-photo span { font-size:12px; }
.aw-available { display:inline-block; margin-top:14px; color:#078454; font-weight:600; }
.aw-steps { display:grid; margin-top:24px; gap:8px; }
.aw-steps button { display:flex; align-items:center; gap:12px; text-align:left; background:transparent; color:#586882; border:0; border-bottom:1px solid #dce3ed; padding:14px 0; font:inherit; }
.aw-steps button>span,.aw-step-number { display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; flex:0 0 26px; border-radius:4px; color:#215bf3; background:#eaf0ff; margin-right:7px; }
.aw-steps [aria-current] { color:#215bf3; font-weight:600; }
.aw-step-content { padding:6px 0 20px; }
.aw-products { display:grid; gap:10px; }
.aw-product { border:1px solid #dce3ed; border-radius:6px; padding:12px; display:flex; gap:14px; align-items:center; text-align:left; font:inherit; background:#fff; color:#172033; width:100%; }
.aw-product>span { flex:1; overflow-wrap:anywhere; }
.aw-product:hover,.aw-product[aria-pressed=true],.aw-capacity:hover,.aw-capacity[aria-pressed=true] { background:#f2f6ff; border-color:#215bf3; }
.aw-thumb { min-height:60px; width:70px; flex:0 0 70px; }
.aw-thumb img { width:70px; height:64px; }
.aw-thumb span { font-size:11px; }
.aw-capacities { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:14px; }
.aw-capacity { padding:18px; border:1px solid #dce3ed; border-radius:6px; text-align:left; background:#fff; color:#172033; font:inherit; }
.aw-capacity strong { font-size:22px; }
.aw-target { display:flex; align-items:center; gap:14px; margin-bottom:24px; flex-wrap:wrap; }
.aw-target strong { font-size:20px; }.aw-target span { color:#637189; }
#assembly-build-form { display:grid; gap:10px; }
#assembly-build-form label { font-weight:600; margin-top:12px; }
.aw-scan-row { display:flex; gap:12px; align-items:center; }
.aw-scan-row input { flex:1; width:100%; font-family:ui-monospace,SFMono-Regular,Consolas,monospace; }
.assembly-guided input,.assembly-guided select { min-height:44px; padding:10px 12px; border:1px solid #cbd5e1; border-radius:5px; background:#fff; color:#172033; font-size:14px; width:100%; }
.aw-validation { min-height:52px; padding:14px 0; display:flex; gap:8px; align-items:center; flex-wrap:wrap; color:#087f52; }
.aw-invalid { color:#b42318; }
.aw-submit-row { border-top:1px solid #dce3ed; padding-top:18px; margin-top:8px; }
.aw-cost { display:flex; flex-wrap:wrap; gap:20px; }
.aw-cost span { color:#637189; font-size:12px; }.aw-cost strong { display:block; margin-top:6px; font-size:15px; color:#172033; }
.aw-cost span:last-child strong { color:#087f52; }
.aw-notice { padding:12px 0; overflow-wrap:anywhere; }
.aw-stock-summary { display:flex; gap:28px; flex-wrap:wrap; padding:20px 0; margin:16px 0; border-top:1px solid #dce3ed; border-bottom:1px solid #dce3ed; color:#637189; }
.aw-stock-summary strong { color:#172033; margin-left:8px; }
.aw-history { margin-top:24px; }.aw-history>header { margin-bottom:12px; }.aw-history h3 { margin:0; }
.aw-table-wrap { width:100%; overflow-x:auto; border:1px solid #dce3ed; border-radius:5px; }
.aw-table { width:100%; border-collapse:collapse; font-size:13px; }
.aw-table th { text-align:left; background:#f4f6f9; color:#586882; font-weight:600; }
.aw-table th,.aw-table td { padding:12px; border-bottom:1px solid #e3e8ef; vertical-align:middle; }
.aw-table td { min-width:105px; }.aw-table td:nth-child(2) { min-width:180px; }
.aw-number { text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
.aw-filter { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:24px; }
.aw-filter input { flex:1 1 240px; width:auto; }
.aw-filter select { flex:0 1 180px; width:auto; }
.aw-list { margin:24px 0; }
.aw-list>header { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:14px; }
.aw-list h3 { margin:0; }
.aw-list>header>span { font-size:13px; color:#637189; }
.aw-row-actions { display:flex; gap:6px; }
.aw-empty { padding:28px!important; color:#637189; }
.aw-status { display:inline-block; background:#edf6f0; color:#116a46; border-radius:4px; padding:4px 7px; }
.aw-tabs button { cursor:pointer; }
.assembly-guided button:focus-visible { outline:2px solid #215bf3; outline-offset:3px; }
.aw-mode { display:flex; margin-bottom:18px; gap:0; flex-wrap:wrap; }
.aw-mode button { display:flex; align-items:center; gap:8px; padding:10px 14px; background:#fff; border:1px solid #cbd5e1; color:#24354c; font:inherit; }
.aw-mode button[aria-pressed=true] { background:#eaf0ff; color:#215bf3; border-color:#215bf3; }
.aw-bulk { display:grid; gap:12px; }
.aw-bulk>label { font-weight:600; }
.aw-bulk textarea { width:100%; resize:vertical; min-height:160px; border:1px solid #cbd5e1; border-radius:5px; padding:12px; font:14px ui-monospace,SFMono-Regular,Consolas,monospace; color:#172033; background:#fff; }
.aw-bulk-toolbar { display:flex; flex-wrap:wrap; gap:8px; }
.aw-bulk-toolbar [hidden] { display:none; }
.aw-bulk [data-bulk-summary] { line-height:1.8; }
.aw-bulk [data-bulk-error] { color:#b42318; overflow-wrap:anywhere; }
.aw-bulk-results .aw-table-wrap { max-height:430px; overflow:auto; }
.aw-bulk-results th { position:sticky; top:0; }
@media(max-width:1000px) { .aw-guide { grid-template-columns:215px minmax(0,1fr); gap:20px; }.aw-selection { padding:16px; }.aw-submit-row>.aw-primary { width:100%; } }
@media(max-width:700px) { .aw-guide { grid-template-columns:1fr; }.aw-selection>.aw-photo { float:left; width:80px; min-height:80px; margin-right:16px; }.aw-selection>.aw-photo img { height:85px; }.aw-selection h3 { margin-top:0; }.aw-steps { clear:both; grid-template-columns:repeat(3,minmax(0,1fr)); padding-top:18px; }.aw-steps button { flex-direction:column; align-items:flex-start; gap:8px; font-size:13px; }.aw-steps button svg { display:none; }.aw-tabs { gap:16px; }.aw-stock-summary { gap:12px; flex-direction:column; }.aw-cost { gap:14px; }.assembly-guided input,.assembly-guided select { font-size:16px; }.aw-capacities { grid-template-columns:repeat(2,minmax(0,1fr)); }.aw-capacity { padding:12px; }.aw-capacity small { overflow-wrap:anywhere; }.assembly-guided h2 { font-size:24px; } }
