.machine-art{width:3.5rem;height:3rem;flex:0 0 auto;vertical-align:middle}.machine-intro h3,.machine-detail h3{margin:.25rem 0 .5rem}.machine-intro p{margin:.35rem 0 1rem}.machine-intro small,.equipment-card small{font-size:.76rem;letter-spacing:.03em;color:#746241}.machine-empty{text-align:center;padding:1.2rem;border:1px dashed #cbbb92;border-radius:1rem}.machine-empty .machine-art{width:7rem;height:6rem}.machine-shed-picker{display:grid;gap:.5rem;margin:1rem 0}.machine-shed-picker select{width:100%;min-width:0;background:#fff9e9;color:#513f26;border:1px solid #cbbb92;border-radius:.65rem;padding:.7rem;font:inherit}.equipment-catalog{display:grid;gap:1rem}.equipment-card,.machine-detail,.machine-home{border:1px solid #d7c6a0;border-radius:1rem;background:#fffcf3;padding:1rem}.equipment-card{display:grid;grid-template-columns:4rem minmax(0,1fr);gap:.6rem 1rem}.equipment-card h4{margin:.25rem 0 .4rem}.equipment-card p{margin:.4rem 0;font-size:.9rem;line-height:1.45}.equipment-price{display:block;font-size:1.15rem;margin:.5rem 0}.equipment-card>button{grid-column:1/-1}.machine-homes{display:grid;gap:.8rem}.machine-home header,.machine-detail header{display:flex;gap:.9rem;align-items:center}.machine-home h4{margin:0}.machine-home p{font-size:.9rem;line-height:1.4}.machine-home>button{width:100%;margin-top:.5rem}.machine-facts{display:grid;gap:.65rem}.machine-facts>div{display:grid;gap:.25rem;padding-bottom:.65rem;border-bottom:1px solid #e7dcc1}.machine-facts dt{color:#77674a;font-size:.85rem}.machine-facts dd{margin:0;font-weight:700;line-height:1.4}.machine-progress,.trailer-load{display:grid;gap:.5rem;margin:1rem 0;font-size:.9rem}.machine-detail progress{width:100%;height:.5rem}.executor-picker{border:1px solid #d7c6a0;border-radius:1rem;padding:.7rem;display:grid;gap:.5rem;margin:.8rem 0}.executor-picker legend{padding:0 .4rem;font-weight:800}.executor-picker button{display:flex!important;gap:.65rem;align-items:center;text-align:left!important;width:100%}.executor-picker button>span:last-child{min-width:0}.executor-picker strong{display:block;font-size:.93rem;line-height:1.35}.executor-picker small{display:block;font-weight:400;font-size:.78rem;line-height:1.4;margin-top:.2rem}.executor-picker [aria-pressed=true]{background:#e4edce!important;border-color:#82965a!important;box-shadow:inset 3px 0 #789149;color:#41572e!important}.executor-picker .machine-art{width:2.5rem}.executor-picker .task-note{margin:.3rem}.panel[data-theme=machines]{--accent:#637d40;--accent-soft:#e7edd8}.machine-detail .field-actions{flex-wrap:wrap}.machine-detail .field-actions>button{min-width:7rem;flex:1}.market-buy-tabs .machine-art{width:2rem;height:1.75rem}.machine-empty h4{margin:.6rem 0}
@media(min-width:850px){.machine-homes{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:460px){.equipment-card{grid-template-columns:3rem minmax(0,1fr);padding:.8rem;gap:.6rem}.equipment-card>.machine-art{width:3rem}.machine-home,.machine-detail{padding:.8rem}.machine-detail .field-nav{font-size:.8rem}}

#app .left-tools .machine-art{width:30px;height:30px;flex-shrink:0}.panel :is(.executor-picker,.equipment-card,.machine-detail,.machine-home) button{background:#f4e4c5;color:#553f26;border:1px solid #c9ab74;border-radius:.7rem;min-height:44px;padding:.6rem .7rem;font:inherit;font-weight:700;line-height:1.35}.panel .equipment-card button:not(:disabled){background:var(--accent);color:#fff9ed}.panel .executor-picker button small{color:inherit}

#app #gamePanel[data-theme=market] :is(.market-buy-tabs,.market-sell-tabs){grid-template-columns:repeat(2,minmax(0,1fr))}#app #gamePanel[data-theme=market] .market-buy-tabs [data-mode=machines]{grid-column:1/-1;flex-direction:row;min-height:44px}#app #gamePanel[data-theme=market] .market-tabs button span{white-space:nowrap;font-size:14px}@container game-panel (min-width:500px){#app #gamePanel[data-theme=market] .market-buy-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}}

#gamePanel .task-back{background:#f4e4c5;color:#553f26;border:1px solid #c9ab74;min-height:44px;padding:.5rem .8rem;border-radius:.7rem;font-weight:700}@container game-panel (max-width:360px){.equipment-card{display:block}.equipment-card>.machine-art{float:left;margin:0 .7rem .4rem 0}.equipment-card>button{width:100%;margin-top:.5rem}}

/* Inline destination choices remain in the panel, avoiding iOS native popovers. */
#gamePanel .machine-destination{margin:1rem 0 .4rem;border:2px solid #c4a16a;border-radius:1rem;background:linear-gradient(#fff9e9,#f3e2bf);box-shadow:0 3px 0 #a77f4d;overflow:hidden}
#gamePanel .machine-destination summary{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.75rem .9rem;min-height:52px;cursor:pointer;list-style:none;color:#513c24}
#gamePanel .machine-destination summary::-webkit-details-marker{display:none}
#gamePanel .machine-destination summary small{display:block;font-size:.875rem;font-weight:400;margin-bottom:.15rem}
#gamePanel .machine-destination summary strong{font-size:1rem}.destination-chevron{font-size:1.5rem;transition:transform .15s}.machine-destination[open] .destination-chevron{transform:rotate(180deg)}
#gamePanel .destination-options{display:grid;gap:.5rem;padding:0 .6rem .6rem}
#gamePanel .destination-options button{display:grid;gap:.25rem;text-align:left;min-height:54px;padding:.65rem .75rem;border:1px solid #cdb88e;border-radius:.75rem;background:#fff9eb;color:#563f27;line-height:1.35;box-shadow:none;white-space:normal}
#gamePanel .destination-options button strong{font-size:1rem}#gamePanel .destination-options button :is(span,small){font-size:.875rem;font-weight:400}
#gamePanel .destination-options button[aria-pressed=true]{background:linear-gradient(#72983e,#50772e);border-color:#456727;color:#fff9e8;box-shadow:inset 0 1px 0 #b0cc79}
#gamePanel .destination-options button:focus-visible,#gamePanel .machine-destination summary:focus-visible{outline:3px solid #6c893f;outline-offset:-3px}
#gamePanel .destination-note{font-size:.875rem;line-height:1.4;margin:.6rem 0 1rem}

.panel .machine-homes{grid-template-columns:minmax(0,1fr);gap:.65rem}.panel .machine-home-compact{padding:.85rem;min-width:0}.panel .machine-home-compact>h4{margin:0 0 .6rem}.shed-occupancy{display:grid;gap:.35rem;margin:0 0 .65rem}.shed-occupancy>div{display:flex;justify-content:space-between;gap:1rem}.shed-occupancy dd{margin:0;font-weight:800;white-space:nowrap}.machine-home-compact summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:#4d652f;font-weight:700}.machine-home-compact summary::before{content:'▸';margin-right:.5rem}.machine-home-compact details[open]>summary::before{content:'▾'}.shed-equipment{list-style:none;margin:0 0 .5rem;padding:0}.shed-equipment li{display:grid;gap:.15rem;padding:.5rem 0;border-top:1px solid #dfd1b3}.shed-equipment span{font-size:.875rem;color:#64583f}.machine-home-compact>button{width:100%;margin-top:.25rem}
