/* Car Wash & Detailing (shared: sim3d.css + tycoon-kit.css) */
.pw-tools { position: absolute; left: 10px; bottom: 10px; display: flex; gap: 6px; flex-wrap: wrap; max-width: 62%; }
.pw-tools button, .pw-turn button { border: 2px solid rgba(255, 255, 255, .22); background: rgba(8, 16, 28, .82); color: #fff; border-radius: 12px; font: 800 20px system-ui, sans-serif; min-width: 52px; min-height: 52px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2px 6px; user-select: none; -webkit-user-select: none; touch-action: none; }
.pw-tools button small { font-size: 10px; font-weight: 700; }
.pw-tools button.is-on { border-color: #facc15; background: rgba(30, 64, 175, .92); }
.pw-tools button:focus-visible, .pw-turn button:focus-visible { outline: 3px solid #ffd54a; outline-offset: 1px; }
.pw-turn { position: absolute; right: 10px; bottom: 60px; display: grid; grid-template-columns: repeat(4, 44px); gap: 4px; }
.pw-turn button { min-width: 44px; min-height: 44px; font-size: 16px; }
.sim-stage canvas { cursor: crosshair; }

.cw-job { position: absolute; right: 10px; top: 10px; width: min(300px, calc(100% - 20px)); background: rgba(8, 16, 28, .88); border: 1px solid rgba(255, 255, 255, .2); border-radius: 14px; padding: 8px 10px; color: #fff; font: 700 13px/1.35 system-ui, sans-serif; z-index: 2; }
.cw-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.cw-pat { display: inline-block; width: 70px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .15); overflow: hidden; flex: 0 0 auto; }
.cw-pat i { display: block; height: 100%; }
.cw-bar { position: relative; height: 20px; border-radius: 10px; background: rgba(255, 255, 255, .12); overflow: hidden; margin-bottom: 4px; }
.cw-bar u { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, #0ea5e9, #38bdf8); }
.cw-wax u { background: linear-gradient(90deg, #ca8a04, #fde047); }
.cw-bar.is-ok { box-shadow: 0 0 0 2px #4ade80 inset; }
.cw-bar span { position: relative; display: block; text-align: center; font: 800 11px/20px system-ui, sans-serif; text-shadow: 0 1px 2px #000; }
.cw-tyres { font-size: 13px; margin: 2px 0 4px; letter-spacing: 1px; }
.cw-btns { display: flex; gap: 6px; margin-top: 4px; }
.cw-job button { border: 2px solid rgba(255, 255, 255, .22); background: rgba(30, 58, 95, .92); color: #fff; border-radius: 10px; padding: 6px 10px; font: 800 13px system-ui, sans-serif; cursor: pointer; min-height: 38px; }
.cw-job button:focus-visible { outline: 3px solid #ffd54a; outline-offset: 1px; }
.cw-done, .cw-next { flex: 1; background: rgba(22, 163, 74, .92) !important; }
.cw-next { width: 100%; font-size: 15px !important; min-height: 44px !important; animation: cw-glow .9s ease-in-out infinite alternate; }
.cw-next:disabled { animation: none; opacity: .45; }
@keyframes cw-glow { to { box-shadow: 0 0 14px #4ade80; } }
.tk-list > button { align-items: center; }
.tk-list > button span small { font-weight: 600; opacity: .75; }
.tk-list > button b { color: #fde047; flex: 0 0 auto; }
@container (max-width: 560px) {
  .pw-tools { left: 6px; bottom: 6px; max-width: 72%; gap: 4px; }
  .pw-tools button { min-width: 42px; min-height: 46px; font-size: 17px; }
  .pw-turn { right: 6px; bottom: 6px; grid-template-columns: repeat(2, 40px); }
  .pw-turn button { min-width: 40px; min-height: 40px; }
  .cw-job { top: auto; bottom: 108px; right: 6px; left: 6px; width: auto; padding: 6px 8px; }
}
@media (prefers-reduced-motion: reduce) { .cw-next { animation: none; } }
