.io-capital>th {font-size:12px; line-height:1.2; text-align:left!important; padding:7px!important; color:#57432c}
.io-capital>th small {display:block; font-weight:400; margin-top:3px; font-size:11px}
.io-sector-staff {display:block; margin-top:3px; color:#e8cd96; font:12px/1 'PT Sans',sans-serif}
.io-table tbody .io-capital :is(th,td) {background:#e9e0ca; border-bottom:2px solid #a78a52}
.game-shell .capital-cell {display:grid; grid-template-columns:auto 1fr; align-items:center; gap:2px 3px; width:100%; min-height:63px; padding:6px 3px; margin:0; background:transparent; border:0; color:#5e4324; border-radius:0; text-transform:none; letter-spacing:0; line-height:1.1}
.capital-cell>.io-icon {width:23px; height:23px; grid-row:1/3}
.capital-cell b {font:700 21px/1 'Barlow Condensed',sans-serif; white-space:nowrap}
.capital-cell b small {font-size:15px; font-weight:400}
.capital-cell>span {font:12px/1.1 'PT Sans',sans-serif; overflow-wrap:anywhere}
.capital-cell:focus-visible,.production-panel button:focus-visible {outline:3px solid #34736a; outline-offset:1px}
.production-panel {margin:14px 0 6px; padding:12px; border:1px solid #b1a282; border-left:4px solid #9e4930; background:#f8f0db; color:#352e24; text-align:left; min-width:0}
.production-panel>header {display:flex; flex-wrap:wrap; gap:5px 16px; align-items:center; justify-content:space-between; margin-bottom:10px}
.production-panel h4 {margin:0; font:700 22px/1.1 'Barlow Condensed',sans-serif; letter-spacing:0; color:#4a3223}
.production-chain {display:grid; grid-template-columns:repeat(auto-fit,minmax(100px,1fr)); gap:6px}
.production-panel .production-factor {display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:4px; padding:9px 6px; border:1px solid #b6b29b; border-radius:0; background:#f6f8eb; color:#34533f; min-width:0; text-align:center; box-shadow:none; text-transform:none; letter-spacing:0}
.production-factor>.io-icon {width:26px; height:26px}
.production-factor>span {font:700 13px/1.15 'PT Sans',sans-serif; min-height:29px; display:grid; align-items:center}
.production-factor>strong {font:700 24px/1 'Barlow Condensed',sans-serif}
.production-factor strong b {font-weight:inherit}
.production-factor>small {font:12px/1.2 'PT Sans',sans-serif; overflow-wrap:anywhere}
.production-factor>small.production-kind {font:700 10px/1.1 'PT Sans',sans-serif; color:#75664b; min-height:22px; display:grid; align-items:center}
.production-factor[data-factor-kind=household] {border-top:3px solid #557449}
.production-factor[data-factor-kind=capital],.production-factor[data-factor-kind=labour] {border-top:3px solid #5b5444}
.production-factor[data-factor-kind=intermediate] {border-top:3px solid #ae793c}
.workforce-unit {font:13px/1.3 'PT Sans',sans-serif; color:#d6c5a5; margin:5px 0 0}
.production-panel .production-factor.is-waiting {background:#fbefd9; color:#6b4321; border-color:#b38448}
.production-panel button.production-factor:hover {background:#ede0c2; color:#533722; border-color:#794329}
.production-panel .production-result {background:#45604a; color:#fff7db; border-color:#38503d}
.capital-symbols {display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:2px; margin-top:3px}
.capital-symbols span {display:grid; place-items:center; padding:2px}
.capital-symbols .io-icon {width:22px; height:22px}
.capital-symbols .standing {color:#8b806e; border-bottom:1px dashed #8b806e}
.capital-symbols .in-use {background:#d8e4c8; color:#36593c}
.capital-symbols>small {font-size:11px}
.production-panel>footer {display:flex; flex-wrap:wrap; align-items:center; gap:6px 14px; border-top:1px solid #cdc0a4; margin-top:9px; padding-top:7px}
.production-panel footer>span {font:12px/1.3 'PT Sans',sans-serif; flex:1 1 140px}
.game-shell .production-panel footer>button {display:inline-flex; gap:5px; align-items:center; background:#eee2c9; color:#593a27; border:1px solid #a78a65; padding:6px; min-height:36px; font:700 13px/1.2 'PT Sans',sans-serif; border-radius:0}
.production-panel footer .io-icon {width:19px; height:19px}
@media(max-width:760px){
  .io-capital>th {font-size:13px}
  .game-shell .capital-cell {grid-template-columns:28px 1fr; padding:8px 4px; min-height:62px}
  .capital-cell b {font-size:25px}
  .capital-cell>span {font-size:13px}
  .production-panel {padding:9px; margin:10px 0}
  .production-chain {grid-template-columns:repeat(2,minmax(0,1fr))}
  .production-factor>span {min-height:0}
  .production-factor>small {font-size:12px}
  .production-panel .production-result {justify-content:center}
}
