/* Power Wash Cleanup (shared: sim3d.css + tycoon-kit.css) */
.pw-setup { display: grid; gap: 10px; }
.pw-h { margin: 4px 0 0; font-size: 18px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.pw-h small { font-size: 14px; opacity: .85; }
.pw-h3 { margin: 6px 0 0; font-size: 16px; }
.pw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.pw-job { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left; padding: 10px; border-radius: 12px; border: 2px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05); color: inherit; font: 800 14px system-ui, sans-serif; cursor: pointer; min-height: 60px; }
.pw-job i { grid-row: span 2; font-style: normal; font-size: 26px; text-align: center; }
.pw-job small { font-weight: 600; opacity: .8; font-size: 12px; }
.pw-job:hover:not(:disabled) { border-color: #38bdf8; }
.pw-job:focus-visible, .pw-buy:focus-visible { outline: 3px solid #ffd54a; outline-offset: 2px; }
.pw-job.is-locked { opacity: .45; cursor: not-allowed; }
.pw-shop { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.pw-buy { display: flex; justify-content: space-between; align-items: center; gap: 8px; text-align: left; padding: 8px 10px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(34, 197, 94, .14); color: inherit; font: 800 13px system-ui, sans-serif; cursor: pointer; }
.pw-buy span { display: flex; flex-direction: column; } .pw-buy small { font-weight: 600; opacity: .75; }
.pw-buy b { color: #fde047; flex: 0 0 auto; }
.pw-buy:disabled { opacity: .55; cursor: default; } .pw-buy.is-own { opacity: .8; background: rgba(255, 255, 255, .05); }

.pw-bar { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); width: min(260px, 40%); height: 12px; border-radius: 6px; background: rgba(8, 16, 28, .6); border: 1px solid rgba(255, 255, 255, .3); overflow: hidden; pointer-events: none; }
.pw-bar u { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #38bdf8, #4ade80); transition: width .2s; }
.pw-time.is-late { border-color: #fb7185 !important; }
.pw-tools { position: absolute; left: 10px; bottom: 10px; display: flex; gap: 6px; flex-wrap: wrap; max-width: 60%; }
.pw-tools button, .pw-turn button { border: 2px solid rgba(255, 255, 255, .22); background: rgba(8, 16, 28, .8); 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, .9); }
.pw-tools button:disabled { opacity: .35; cursor: not-allowed; }
.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; }
@container (max-width: 560px) {
  .pw-tools { left: 6px; bottom: 6px; max-width: 70%; gap: 4px; }
  .pw-tools button { min-width: 44px; 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; }
  .pw-bar { top: 50px; width: 60%; }
}
