/* Tire Shop Simulator Tycoon - base: tokens, type, buttons, cards. Shop-floor dark (asphalt + impact orange); the office
   computer has its own light "shop management software" look in office.css. */
:root {
  --bg: #12151a; --panel: #1b2027; --panel2: #242b34; --raise: #2d3641; --line: #38424f;
  --text: #eef1f4; --muted: #97a3af; --dim: #6c7783;
  --acc: #ff6b1a; --acc2: #d9530a; --go: #2fbf71; --go2: #1f9556; --warn: #f6c21c; --bad: #e5484d; --info: #4aa3ff;
  --a-plus: #2fbf71; --a: #54c98a; --b: #a6c84a; --c: #f6c21c; --d: #f08a2c; --f: #e5484d;
  --os-bg: #eef1f5; --os-card: #ffffff; --os-text: #18222d; --os-muted: #5b6b7b; --os-line: #d8dfe7; --os-side: #1c2733; --os-acc: #d9530a;
  --r: 12px; --hd: 'Barlow Condensed', 'Arial Narrow', sans-serif; --bd: 'Barlow', system-ui, sans-serif; --mono: 'JetBrains Mono', ui-monospace, monospace;
  --safe-l: env(safe-area-inset-left, 0px); --safe-r: env(safe-area-inset-right, 0px); --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font-family: var(--bd); overflow: hidden; overscroll-behavior: none; -webkit-user-select: none; user-select: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
[hidden] { display: none !important; }
#app { position: fixed; inset: 0; }
.muted { color: var(--muted); } .small { font-size: 13px; } .mono { font-family: var(--mono); }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; } .col { display: flex; flex-direction: column; gap: 10px; }
.center { justify-content: center; text-align: center; align-items: center; }
.good { color: var(--go); } .bad { color: var(--bad); } .warn { color: var(--warn); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px; min-height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel2); color: var(--text); font-family: var(--hd); font-weight: 700; font-size: 17px; letter-spacing: .03em; text-decoration: none; text-transform: uppercase; transition: transform .06s, background .12s; }
.btn:hover { background: var(--raise); } .btn:active { transform: translateY(1px) scale(.98); }
.btn.go { background: linear-gradient(var(--go), var(--go2)); border-color: #167544; color: #fff; text-shadow: 0 1px 0 rgba(0,0,0,.25); }
.btn.acc { background: linear-gradient(var(--acc), var(--acc2)); border-color: #a83f06; color: #fff; text-shadow: 0 1px 0 rgba(0,0,0,.25); }
.btn.bad { background: linear-gradient(#ef5a5f, #c4353a); border-color: #94262a; color: #fff; }
.btn.big { padding: 14px 30px; font-size: 22px; min-width: 200px; } .btn.small { padding: 6px 12px; font-size: 14px; min-height: 34px; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.tag { display: inline-block; font-family: var(--hd); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 2px 9px; border-radius: 99px; background: var(--raise); color: var(--muted); }
.tag.red { background: #5a1f22; color: #ffb3b5; } .tag.yellow { background: #55440c; color: #ffe08a; } .tag.green { background: #14472c; color: #9be7bd; } .tag.blue { background: #173a5c; color: #a9d4ff; } .tag.acc { background: #5a2a0c; color: #ffc39c; }
h1, h2, h3, h4 { font-family: var(--hd); letter-spacing: .02em; margin: 0; }
