/* Motion Supply Brand OS · Collection Stress Tester */
.stressToolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px;padding:14px 15px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(135deg,rgba(200,255,66,.045),rgba(99,220,255,.025)),#0f1217}
.stressToolbar>div:first-child{display:flex;flex-direction:column;gap:4px}.stressToolbar b{color:#ecf1f4}.stressToolbar span{color:#74808a;font-size:11px;line-height:1.5}.stressToolbar .split{display:flex;gap:8px;flex-wrap:wrap}
.stressPanel{margin:0 0 12px;padding:16px;background:#0f1217;border:1px solid var(--line);border-radius:15px;box-shadow:var(--soft-shadow)}
.stressPanelHead{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.stressPanelHead h3{margin:5px 0 0;color:#eef2f5;font-size:18px;letter-spacing:-.02em}
.stressGrid{display:grid;gap:10px}.stressGrid.g4{grid-template-columns:repeat(4,minmax(0,1fr))}.stressGrid.g5{grid-template-columns:repeat(5,minmax(0,1fr))}
.stressField{display:flex;flex-direction:column;gap:7px}.stressField>span,.stressScenarioRow label>span,.stressSizeGrid label>span{font:700 8px/1.35 "SFMono-Regular",Consolas,monospace;letter-spacing:.075em;color:#707b86;text-transform:uppercase}
.stressField input,.stressVariant input,.stressScenarioRow input,.stressSizeGrid input{width:100%;box-sizing:border-box;padding:10px 11px;color:#f3f6f8;background:#090d11;border:1px solid rgba(255,255,255,.10);border-radius:8px;outline:none;font-variant-numeric:tabular-nums;transition:border-color .16s ease,box-shadow .16s ease}
.stressField input:focus,.stressVariant input:focus,.stressScenarioRow input:focus,.stressSizeGrid input:focus{border-color:rgba(99,220,255,.48);box-shadow:0 0 0 3px rgba(99,220,255,.07)}
.stressSubhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:17px 0 9px;padding-top:14px;border-top:1px solid rgba(255,255,255,.06)}.stressSubhead b{font:800 8px/1 "SFMono-Regular",Consolas,monospace;letter-spacing:.11em;color:#79838d}
.stressVariantRows{display:grid;gap:7px}.stressVariant{display:grid;grid-template-columns:minmax(150px,1fr) 150px 38px;gap:8px}.stressVariant .ghost{min-width:38px;padding:8px}
.stressScenarioStack{display:grid;gap:8px}.stressScenarioRow{display:grid;grid-template-columns:90px repeat(4,minmax(125px,1fr));gap:9px;align-items:end;padding:12px;border:1px solid rgba(255,255,255,.065);border-radius:11px;background:#0a0d11}.stressScenarioRow>b{align-self:center;color:#eef2f4;font:800 11px/1 "SFMono-Regular",Consolas,monospace;letter-spacing:.05em}.stressScenarioRow label,.stressSizeGrid label{display:flex;flex-direction:column;gap:6px}
.stressFoot{margin:10px 1px 0;color:#6d7883;font-size:10px;line-height:1.55}
.stressSizeGrid{display:grid;grid-template-columns:repeat(6,minmax(110px,1fr));gap:8px}.stressSizeGrid input{padding:9px 10px}
.stressEmpty{margin:14px 0;padding:25px;border:1px dashed rgba(255,255,255,.10);border-radius:14px;background:rgba(255,255,255,.015)}.stressEmpty h3{margin:6px 0;color:#edf1f4}.stressEmpty p{max-width:760px;margin:0;color:#74808b;line-height:1.6}
.stressDecision{display:grid;grid-template-columns:42px 1fr;gap:14px;margin:18px 0 12px;padding:16px;border-radius:15px;border:1px solid rgba(200,255,66,.15);background:linear-gradient(90deg,rgba(200,255,66,.055),rgba(99,220,255,.018) 50%,#0f1217)}.stressDecisionIcon{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;color:var(--signal);background:rgba(200,255,66,.08);border:1px solid rgba(200,255,66,.18);font-size:18px;font-weight:900}.stressDecision h3{margin:5px 0;color:#f1f4f6;font-size:19px}.stressDecision p{margin:0;color:#7b8690;line-height:1.6}
.stressKpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:12px}.stressKpis>div{padding:14px;background:#0d1115;border:1px solid var(--line);border-radius:13px}.stressKpis small{display:block;font:700 7.5px/1.35 "SFMono-Regular",Consolas,monospace;letter-spacing:.08em;color:#69747f}.stressKpis b{display:block;margin:10px 0 5px;color:#f2f5f7;font:700 23px/1 "SFMono-Regular",Consolas,monospace;letter-spacing:-.04em}.stressKpis span{color:#6c7781;font-size:10px}
.stressResultStack{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}.stressResult{padding:15px;border-radius:14px;background:#0f1217;border:1px solid var(--line);box-shadow:var(--soft-shadow)}.stressResult.best{border-color:rgba(121,223,161,.13)}.stressResult.base{border-color:rgba(99,220,255,.16)}.stressResult.downside{border-color:rgba(255,133,133,.15)}.stressResultHead{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.stressResultHead h3{margin:5px 0 0;color:#edf2f4;font-size:16px}.stressResultGrid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:13px}.stressResultGrid>div{padding:9px;border-radius:9px;background:#090d11;border:1px solid rgba(255,255,255,.055)}.stressResultGrid small{display:block;min-height:20px;color:#68737e;font:700 7px/1.4 "SFMono-Regular",Consolas,monospace;letter-spacing:.06em}.stressResultGrid b{display:block;margin-top:6px;color:#e9edf0;font:700 14px/1 "SFMono-Regular",Consolas,monospace}.stressResultGrid b.negative{color:#ff9999}
.stressInventoryTable{margin:12px 0;padding:15px;background:#0f1217;border:1px solid var(--line);border-radius:14px}.stressInventoryTable .stressPanelHead{margin-bottom:9px}.stressInventoryTable .table{overflow:auto;border-radius:9px}.stressInventoryTable table{min-width:720px;width:100%}.stressInventoryTable th{font:700 7.5px/1.3 "SFMono-Regular",Consolas,monospace;letter-spacing:.07em;color:#69747f}.stressInventoryTable td{font-variant-numeric:tabular-nums}
@media(max-width:1080px){.stressGrid.g4{grid-template-columns:repeat(2,1fr)}.stressGrid.g5{grid-template-columns:repeat(3,1fr)}.stressSizeGrid{grid-template-columns:repeat(4,1fr)}.stressScenarioRow{grid-template-columns:80px repeat(2,1fr)}.stressScenarioRow>b{grid-row:span 2}.stressResultStack{grid-template-columns:1fr}.stressKpis{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.stressToolbar{align-items:stretch;flex-direction:column}.stressToolbar .split{display:grid;grid-template-columns:1fr 1fr}.stressToolbar .split .primary{grid-column:1/-1}.stressPanel{padding:13px}.stressPanelHead{display:block}.stressPanelHead>.v2Badge{margin-top:9px}.stressGrid.g4,.stressGrid.g5{grid-template-columns:1fr 1fr}.stressVariant{grid-template-columns:1fr 110px 38px}.stressScenarioRow{grid-template-columns:1fr 1fr}.stressScenarioRow>b{grid-column:1/-1;grid-row:auto}.stressSizeGrid{grid-template-columns:repeat(2,1fr)}.stressDecision{grid-template-columns:36px 1fr;padding:13px}.stressDecisionIcon{width:34px;height:34px}.stressKpis{grid-template-columns:1fr 1fr}.stressResultGrid{grid-template-columns:1fr 1fr}}
@media(max-width:430px){.stressGrid.g4,.stressGrid.g5{grid-template-columns:1fr}.stressVariant{grid-template-columns:1fr 90px 36px}.stressScenarioRow{grid-template-columns:1fr}.stressSizeGrid{grid-template-columns:1fr 1fr}.stressKpis{grid-template-columns:1fr}.stressResultGrid{grid-template-columns:1fr 1fr}.stressToolbar .split{grid-template-columns:1fr}.stressToolbar .split .primary{grid-column:auto}}
@media(prefers-reduced-motion:reduce){.stressField input,.stressVariant input,.stressScenarioRow input,.stressSizeGrid input{transition:none}}
