/* Tire Shop Simulator Tycoon - stock apps (inventory, purchasing, equipment, waste). Classes are prefixed st-. */
.st-app .os-btn.small, .st-body .os-btn.small, .st-waste .os-btn.small { min-height: 40px; padding: 6px 12px; }
.st-tip { font-size: 13.5px; background: #eef5fb; border: 1px solid #cfe2f3; color: #1e4f78; border-radius: 8px; padding: 8px 11px; margin: 0 0 12px !important; line-height: 1.45; }
.st-note { background: #fff6dc; border-color: #f0d77d; color: #6b5200; }
.st-seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--os-line); border-radius: 9px; overflow: hidden; background: #fff; max-width: 100%; }
.st-seg button { min-height: 40px; padding: 6px 12px; border: 0; border-right: 1px solid var(--os-line); background: transparent; font-family: var(--bd); font-size: 14px; color: var(--os-text); }
.st-seg button:last-child { border-right: 0; } .st-seg button.on { background: var(--os-acc); color: #fff; font-weight: 600; }
.st-chips { margin: 0 0 10px; } .st-chips .st-seg button { font-size: 13.5px; padding: 6px 10px; }
.st-auto { border-left: 5px solid #1f9556; } .st-auto.off { border-left-color: #e0a800; } .st-auto h3 { margin: 0 0 4px !important; } .st-auto p { max-width: 70ch; }
.st-opts { margin-top: 6px; } .st-check { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-size: 14px; } .st-check input { width: 22px; height: 22px; }
.st-part { display: flex; flex-direction: column; line-height: 1.2; } .st-part b { font-weight: 600; } .st-part small { color: var(--os-muted); font-size: 12.5px; }
.st-step { display: inline-flex; align-items: center; gap: 4px; } .st-step button { width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--os-line); background: #fff; font-size: 19px; line-height: 1; }
.st-step output { min-width: 54px; text-align: center; font-family: var(--mono); font-size: 13.5px; }
.st-rims { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; align-items: start; }
.st-rim h3 { margin: 0 0 6px !important; }
.st-size { display: grid; grid-template-columns: 112px 1fr auto; grid-template-areas: 'sz bar btn' 'n n btn'; gap: 2px 8px; align-items: center; padding: 6px 0; border-top: 1px solid #edf1f5; }
.st-size:first-of-type { border-top: 0; } .st-size .st-sz { grid-area: sz; display: flex; flex-direction: column; line-height: 1.15; } .st-size .st-sz small { color: var(--os-muted); font-size: 12px; }
.st-size .os-meter { grid-area: bar; width: 100%; } .st-size .st-n { grid-area: n; font-size: 12.5px; color: var(--os-muted); } .st-size .os-btn { grid-area: btn; }
.st-size.hot .st-sz b { color: #a83f06; }
.st-caps { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.st-caps .os-card { display: flex; flex-direction: column; gap: 6px; margin: 0; } .st-caps small { font-size: 12.5px; line-height: 1.35; }
.st-sum { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; align-items: baseline; font-size: 14px; margin: 4px 0; } .st-sum b { font-family: var(--hd); font-size: 20px; }
.st-pick { align-items: end; } .st-pick select { max-width: 100%; }
.st-prefs { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; } .st-prefs label { display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: var(--os-muted); }
.st-prefs select, .st-sel select { min-height: 40px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--os-line); background: #fff; font-size: 14.5px; color: var(--os-text); max-width: 100%; }
.st-sel { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 8px; font-size: 14px; color: var(--os-muted); }
.st-sups { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; align-items: start; }
.st-sup h3 { margin: 0 !important; font-size: 18px; } .st-sup .os-pill { margin-left: 4px; }
.st-rel { display: flex; flex-direction: column; gap: 3px; margin: 6px 0; } .st-rel small { color: var(--os-muted); font-size: 12.5px; }
.st-dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 6px 0 8px; font-size: 13.5px; } .st-dl dt { color: var(--os-muted); } .st-dl dd { margin: 0; font-family: var(--mono); font-size: 13px; }
.st-nego summary { min-height: 40px; display: flex; align-items: center; cursor: pointer; color: var(--os-acc); font-weight: 600; font-size: 14px; }
.st-machs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; align-items: start; margin-bottom: 12px; }
.st-mach { margin: 0; display: flex; flex-direction: column; gap: 6px; } .st-mach.down { border-color: #f1b3b5; background: #fffafa; }
.st-mhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; } .st-mhead b { font-size: 16px; } .st-mhead span { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.st-bars { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 8px; align-items: center; font-size: 13px; } .st-bars span { color: var(--os-muted); } .st-bars .os-meter { width: 100%; } .st-bars b { font-size: 12.5px; font-weight: 600; min-width: 54px; text-align: right; }
.st-mline { font-size: 13px; margin: 0 !important; line-height: 1.4; }
.st-price { font-family: var(--hd); font-size: 21px; margin-right: auto; }
.st-waste { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; align-items: start; }
.st-wcard { margin: 0; display: flex; flex-direction: column; gap: 8px; } .st-wcard h3 { margin: 0 !important; } .st-wcard.over { border-color: #f1b3b5; background: #fffafa; } .st-wcard p { font-size: 13.5px; }
@media (max-height: 480px) { .st-app .os-grid { grid-template-columns: repeat(auto-fit, minmax(138px, 1fr)); gap: 8px; } .st-app .os-kpi { padding: 7px 10px; } .st-app .os-kpi small { font-size: 11px; } }
@media (max-width: 860px), (max-height: 480px) {
  .st-rims, .st-sups, .st-machs, .st-waste { grid-template-columns: 1fr; }
  .st-seg button { padding: 6px 9px; font-size: 13px; }
  .st-sum b { font-size: 18px; }
}
