/* Stock, pricing and receipts share the outpost's existing visual language. */
.store-front{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:30px;background:#14232c;border-top:2px solid #789b83}
.store-front h2{font-size:25px;line-height:1.5;font-weight:500;letter-spacing:1px;margin:12px 0}
.store-front p{font-size:12px;color:#aec2c7;line-height:1.9;max-width:640px}
.store-open-status{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:11px;color:var(--mint);margin-top:20px}
.store-open-status small{font-size:10px;color:var(--muted);margin-left:8px}
.store-sign{flex:0 0 185px;text-align:center;padding:0 12px;border-left:1px solid #354d56}
.store-sign svg{width:160px;max-width:100%;height:110px;image-rendering:pixelated}
.store-sign>span{display:block;font-size:10px;letter-spacing:5px;color:#b6caba}
.store-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}
.store-kpis>div{padding:20px;border:1px solid var(--border);border-radius:6px;background:#121d26;min-width:0}
.store-kpis span,.store-kpis small{display:block;color:var(--muted);font-size:11px;line-height:1.8}
.store-kpis strong{display:block;font:27px var(--mono);font-weight:500;letter-spacing:-.8px;color:#c9e5d8;margin:10px 0 6px;overflow-wrap:anywhere}
.store-kpis>div:nth-child(2) strong{color:var(--mint)}
.store-kpis>div:nth-child(3) strong{color:var(--amber)}
.store-kpis small{font-size:9px;color:var(--subtle)}
.store-workspace{padding:24px}
.store-navigation{display:flex;justify-content:space-between;align-items:center;gap:18px;padding-bottom:22px;border-bottom:1px solid var(--border);margin-bottom:24px}
.store-tabs button{padding:10px 16px;font-size:12px}
.store-speed{flex-shrink:0}
.store-pane[hidden]{display:none}
.store-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.store-product{display:flex;flex-direction:column;min-width:0;border:1px solid #3b535c;border-radius:6px;padding:20px;background:#13212a}
.store-product-art{height:110px;display:flex;align-items:center;justify-content:center;background:#192c34;border-bottom:1px solid #355049;margin:-20px -20px 20px;position:relative;overflow:hidden;border-radius:6px 6px 0 0}
.supply-pixel{width:112px;height:65px;image-rendering:pixelated;flex-shrink:0}
.store-product-art .supply-pixel{width:130px;height:78px}
.stock-badge{position:absolute;top:11px;right:11px;padding:4px 7px;background:#263e33;border:1px solid #4b6c50;color:#b7d7b9;border-radius:3px;font-size:9px}
.stock-badge.sold-out{background:#3d3025;color:#ddbb94;border-color:#705539}
.store-product h3{font-size:18px;font-weight:500;margin:5px 0 10px}
.store-effect{font-size:11px;line-height:1.9;color:var(--muted);min-height:64px}
.sku-stock{display:flex;align-items:center;gap:16px;flex-wrap:wrap;border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:13px 0;margin:15px 0;color:var(--muted);font-size:11px}
.sku-stock b{font:16px var(--mono);color:var(--text);margin-left:6px}
.sku-stock small{display:block;width:100%;font-size:9px;color:#a4beb8;line-height:1.8}
.price-editor{margin-top:auto}
.price-editor>label{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--text);margin-bottom:9px}
.price-editor>label>span{font-size:9px;color:var(--subtle)}
.price-editor>div{display:flex;gap:8px;align-items:stretch}
.store-pane input[type=number]{font:15px var(--mono);color:var(--text);background:#0d1922;border:1px solid #46606d;border-radius:4px;padding:10px 12px;min-width:0;width:90px;outline-offset:3px}
.store-pane input:focus-visible{outline:2px solid var(--mint)}
.price-editor input[type=number]{flex:1;width:70px}
.price-editor .secondary-button{font-size:11px;min-height:41px;white-space:nowrap}
.price-editor>small{display:block;font-size:9px;color:var(--muted);margin-top:8px;min-height:18px;line-height:1.8}
.price-presets{display:flex;gap:6px;margin-top:12px}
.price-presets button{flex:1;padding:8px 4px;font-size:10px;color:var(--muted);border:1px solid #3b4f58;border-radius:4px;min-height:33px;background:#182732}
.price-presets button.active{color:var(--mint);background:#203c33;border-color:#537563}
.sku-cost{margin-top:17px;font-size:10px;color:var(--muted);line-height:1.9}
.sku-cost>span{display:flex;justify-content:space-between;gap:10px}
.sku-cost b{font:11px var(--mono);font-weight:400;color:#cae2d5}
.sku-results{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;color:var(--muted);border-top:1px solid var(--border);margin-top:14px;padding-top:12px}
.sku-results b{font:11px var(--mono);font-weight:400;color:var(--text)}
.store-product .store-replenish-link{margin:15px 0 0 auto;font-size:10px;color:var(--mint)}
.store-note{display:flex;gap:12px;background:#192a26;border:1px solid #365347;border-radius:5px;padding:16px 18px;margin-top:22px}
.store-note>span svg{width:18px;height:18px;color:var(--mint)}
.store-note p{font-size:10px;line-height:1.9;color:#b1c8b8}
.store-inventory-strip{display:flex;align-items:center;gap:30px;background:#13252c;border:1px solid #36555c;padding:20px;border-radius:5px;margin-bottom:20px}
.store-inventory-strip>div{min-width:0}
.store-inventory-strip>div>span{font-size:11px;color:var(--muted);display:block;line-height:1.8}
.store-inventory-strip strong{display:block;font:23px var(--mono);color:var(--mint);margin:5px 0}
.store-inventory-strip small{display:block;font-size:9px;color:var(--subtle);line-height:1.9}
.store-capacity-meter{flex:1}
.store-capacity-meter>div{height:6px;background:#203e45;overflow:hidden;border-radius:3px}
.store-capacity-meter>div>span{height:100%;display:block;background:#83b8a0;max-width:100%}
.store-capacity-meter p{font-size:10px;color:var(--muted);margin-top:10px}
.store-capacity-meter b{font:11px var(--mono);color:var(--text)}
.store-reserve-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border:1px solid var(--border);padding:18px;border-radius:5px;margin-bottom:22px;background:#111d26}
.store-reserve-row>div{flex:1;min-width:250px}
.store-reserve-row h3{font-size:13px;font-weight:500}
.store-reserve-row p{font-size:10px;color:var(--muted);line-height:1.8;margin-top:6px}
.store-reserve-row input[type=number]{width:120px}
.store-reserve-row>.secondary-button{font-size:11px;min-height:40px}
.store-reserve-row>small{display:block;width:100%;font-size:10px;color:#a9beae;line-height:1.8}
.store-reserve-row>.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.store-restock-products{display:grid;gap:14px;margin-bottom:26px}
.restock-card{border:1px solid #3a4e5b;border-radius:6px;background:#13202a;padding:20px}
.restock-product{display:flex;align-items:center;gap:16px;border-bottom:1px solid var(--border);padding-bottom:14px;margin-bottom:16px}
.restock-product .supply-pixel{width:85px;height:50px;background:#1d2d33;border-radius:3px}
.restock-product h3{font-size:14px;font-weight:500}
.restock-product p{font-size:10px;color:var(--muted);margin-top:7px}
.restock-product p b{font:11px var(--mono);color:var(--text)}
.order-entry{display:flex;align-items:center;gap:16px}
.order-entry>label{font-size:11px;color:var(--text)}
.order-entry>div{margin-left:auto;min-width:130px}
.order-entry strong{font:15px var(--mono);font-weight:400;color:var(--amber);display:block}
.order-entry small{font-size:9px;color:var(--muted);line-height:1.8;display:block;margin-top:5px}
.order-entry>.secondary-button{min-height:40px;font-size:11px;gap:12px}
.order-entry>.secondary-button svg{height:14px;width:14px}
.auto-entry{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding-top:16px;margin-top:16px;border-top:1px solid var(--border)}
.auto-entry label{display:flex;align-items:center;gap:9px;font-size:10px;color:var(--muted)}
.auto-entry input[type=number]{width:70px;padding:7px 8px;font-size:12px}
.auto-toggle{margin-right:auto}
.auto-toggle input{width:15px;height:15px;accent-color:#93c6ab}
.auto-toggle>span{color:var(--text);font-size:11px}
.auto-entry>.text-button{font-size:10px;color:var(--mint);min-height:32px}
.auto-entry>p{width:100%;font-size:10px;color:#acbcb5;margin-top:0;line-height:1.8}
.store-orders{display:grid;gap:10px}
.store-order{display:flex;align-items:center;gap:14px;border:1px solid #3a5564;background:#162832;border-radius:5px;padding:16px}
.store-order>span svg{height:26px;width:26px;color:var(--blue)}
.store-order>div{flex:1;min-width:0}
.store-order strong{font-size:12px;font-weight:500}
.store-order p{font-size:9px;color:var(--muted);line-height:1.8;margin:6px 0 10px}
.store-order>b{font:20px var(--mono);color:var(--blue);font-weight:400}
.delivery-progress{height:3px;background:#254653;overflow:hidden;border-radius:2px}
.delivery-progress>span{height:100%;display:block;background:#92c0d1}
.store-empty-note{font-size:11px;line-height:1.9;padding:20px;border:1px dashed #3a4c59;border-radius:5px;color:var(--muted)}
.store-footnote{font-size:10px;line-height:1.9;color:var(--muted);margin-top:16px}
.store-profit-bridge{display:flex;align-items:center;gap:20px;border:1px solid #3c5b50;background:#182d25;padding:24px;border-radius:5px}
.store-profit-bridge>div{flex:1;min-width:0}
.store-profit-bridge span{font-size:11px;color:#b3cabc;display:block}
.store-profit-bridge strong{font:27px var(--mono);font-weight:400;color:#d2e8da;display:block;margin-top:12px;overflow-wrap:anywhere}
.store-profit-bridge i{font-size:23px;font-style:normal;color:#6f8e7a}
.store-operations{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}
.store-operations>div{padding:15px;background:#0f1b24;border:1px solid var(--border);border-radius:4px;min-width:0}
.store-operations span{font-size:10px;color:var(--muted);display:block;line-height:1.8}
.store-operations b{font:20px var(--mono);color:var(--text);font-weight:400;display:block;margin-top:8px;overflow-wrap:anywhere}
.store-misses{display:flex;gap:12px 24px;flex-wrap:wrap;font-size:11px;color:var(--muted);padding:16px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin-bottom:20px}
.store-misses b{font:12px var(--mono);color:#d8b593;margin-left:5px}
.store-table-wrap{max-width:100%;overflow:auto;border:1px solid var(--border);border-radius:5px;margin-bottom:24px}
.store-table{border-collapse:collapse;width:100%;min-width:640px;font-size:11px;text-align:right}
.store-table th{font-weight:400;color:var(--muted)}
.store-table th:first-child{text-align:left;min-width:120px}
.store-table th,.store-table td{padding:14px 16px;border-bottom:1px solid var(--border);white-space:nowrap}
.store-table td{font-family:var(--mono);color:var(--text)}
.store-table tbody tr:last-child>*{border-bottom:0}
.store-table thead{background:#182b34}
.store-ledger-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.store-ledger-heading h3{font-size:13px;font-weight:500}
.store-ledger-row{display:flex;align-items:center;gap:14px;padding:17px 0;border-bottom:1px solid var(--border)}
.receipt-icon{width:34px;height:36px;display:grid;place-items:center;flex-shrink:0;border:1px solid #3e5b50;background:#1c3129;color:var(--mint);border-radius:4px}
.receipt-icon svg{height:18px;width:18px}
.store-ledger-row.miss .receipt-icon{border-color:#5e4f3c;background:#2d281e;color:var(--amber)}
.store-ledger-row.order .receipt-icon,.store-ledger-row.delivery .receipt-icon{border-color:#3d586a;background:#1c2c3b;color:var(--blue)}
.store-ledger-row>div:nth-child(2){min-width:0;flex:1}
.store-ledger-row strong{font-size:11px;font-weight:500;color:var(--text);line-height:1.8}
.store-ledger-row p{font-size:10px;line-height:1.9;color:var(--muted);margin-top:5px}
.receipt-amount{text-align:right;flex-shrink:0}
.receipt-amount b{font:13px var(--mono);color:var(--mint);font-weight:400;display:block;line-height:1.8}
.receipt-amount time{display:block;font:9px var(--mono);color:var(--subtle);margin-top:6px}
.store-ledger-row.order .receipt-amount b,.store-ledger-row.miss .receipt-amount b{color:#d8b493;font-size:11px}
.store-loss{color:#ecab9c!important}
@media(max-width:1190px){.store-products{gap:12px}.store-product{padding:16px}.store-product-art{margin:-16px -16px 16px}.store-tabs button{font-size:11px;padding:10px 12px}.store-front h2{font-size:23px}.auto-entry{gap:12px}.order-entry{gap:12px}}
@media(max-width:900px){.store-navigation{align-items:flex-start;flex-wrap:wrap}.store-speed{margin-left:auto}.store-products{grid-template-columns:1fr}.store-product{display:grid;grid-template-columns:140px minmax(0,1fr) minmax(0,1fr);gap:0 20px;padding:20px}.store-product-art{grid-column:1;grid-row:1/7;margin:0;height:100%;min-height:180px;border:1px solid #355049;border-radius:4px}.store-product-title,.store-effect,.sku-stock{grid-column:2}.price-editor,.price-presets,.sku-cost{grid-column:3}.price-editor{grid-row:1/3}.price-presets{grid-row:3;align-self:start}.sku-cost{grid-row:4}.sku-stock{margin:10px 0}.sku-results{grid-column:2}.store-replenish-link{grid-column:3}.store-effect{min-height:0}.store-product-art .supply-pixel{width:108px}.store-front{padding:24px}.store-sign{flex-basis:160px}}
@media(max-width:650px){.store-front{padding:20px;gap:12px;align-items:flex-start}.store-front h2{font-size:21px;line-height:1.7;margin:9px 0}.store-front p{font-size:11px}.store-sign{display:none}.store-open-status{font-size:10px;margin-top:16px;gap:6px}.store-open-status small{width:100%;margin:3px 0 0;font-size:9px}.store-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.store-kpis>div{padding:15px}.store-kpis strong{font-size:23px;margin:7px 0}.store-kpis span{font-size:10px}.store-kpis small{font-size:8px}.store-workspace{padding:16px}.store-navigation{padding-bottom:16px;margin-bottom:20px;gap:12px}.store-tabs{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.store-tabs button{font-size:11px;padding:9px 6px}.store-speed{padding:3px}.store-speed button{height:28px;min-width:32px;font-size:11px}.store-products{gap:16px}.store-product{display:flex;padding:18px;gap:0}.store-product-art{height:100px;min-height:100px;margin:-18px -18px 18px;border:0;border-bottom:1px solid #355049;border-radius:5px 5px 0 0}.store-product-art .supply-pixel{width:120px;height:70px}.store-product h3{font-size:18px}.store-product .equipment-kind{font-size:9px}.store-effect{font-size:11px;min-height:0}.sku-stock{margin:14px 0;padding:12px 0;font-size:11px}.sku-stock small{font-size:10px}.price-editor>label{font-size:12px}.price-editor .secondary-button{font-size:11px;min-height:43px}.price-editor input[type=number]{font-size:17px}.price-editor>small{font-size:10px;margin-top:10px}.price-presets button{font-size:11px;min-height:38px}.sku-cost{font-size:11px;line-height:2}.sku-cost b{font-size:12px}.sku-results{font-size:11px}.sku-results b{font-size:12px}.store-product .store-replenish-link{font-size:11px;min-height:32px}.store-note{padding:14px;gap:9px}.store-note p{font-size:10px}.store-inventory-strip{flex-wrap:wrap;padding:16px;gap:16px}.store-inventory-strip>div:first-child{flex:1}.store-capacity-meter{min-width:90px;max-width:150px}.store-inventory-strip>div:last-child{width:100%}.store-inventory-strip strong{font-size:23px}.store-inventory-strip>div>span{font-size:10px}.store-reserve-row{padding:15px;gap:10px}.store-reserve-row>div{min-width:0;flex-basis:100%}.store-reserve-row h3{font-size:12px}.store-reserve-row input[type=number]{flex:1;max-width:none;width:110px}.store-reserve-row>.secondary-button{padding:10px 16px}.store-reserve-row>small{font-size:9px}.restock-card{padding:15px}.restock-product{gap:10px;align-items:center}.restock-product .supply-pixel{width:62px;height:48px}.restock-product h3{font-size:14px}.restock-product p{font-size:9px;line-height:1.9}.order-entry{flex-wrap:wrap;gap:10px}.order-entry>label{font-size:11px;flex:1}.order-entry input[type=number]{width:70px;padding:9px;font-size:14px}.order-entry>div{margin-left:0;flex:1;min-width:100px}.order-entry strong{font-size:14px}.order-entry small{font-size:9px}.order-entry>.secondary-button{font-size:10px;padding:9px 12px;min-height:42px}.auto-entry{gap:12px 10px}.auto-toggle{width:100%;margin-right:0}.auto-entry label{font-size:10px;gap:6px}.auto-entry input[type=number]{width:57px;font-size:12px;padding:8px 6px}.auto-entry>.text-button{margin-left:auto;font-size:10px}.auto-entry>p{font-size:9px}.store-order{padding:13px;gap:10px}.store-order strong{font-size:11px}.store-order p{font-size:8px}.store-order>b{font-size:18px}.store-profit-bridge{padding:16px;gap:10px}.store-profit-bridge span{font-size:9px;line-height:1.8}.store-profit-bridge strong{font-size:19px;margin-top:8px}.store-profit-bridge i{font-size:15px}.store-operations{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.store-operations>div{padding:13px}.store-operations span{font-size:9px}.store-operations b{font-size:20px}.store-misses{gap:10px 16px;font-size:10px;line-height:1.8}.store-misses>span:first-child{width:100%}.store-table{font-size:10px}.store-table th,.store-table td{padding:12px}.store-ledger-heading{flex-wrap:wrap;gap:10px}.store-ledger-heading h3{font-size:12px}.store-ledger-heading .gear-filters{width:100%;justify-content:space-between}.store-ledger-heading .gear-filters button{font-size:10px;padding:7px 8px}.store-ledger-row{gap:10px;align-items:flex-start;flex-wrap:wrap;padding:15px 0}.receipt-icon{width:28px;height:31px}.receipt-icon svg{width:15px;height:15px}.store-ledger-row strong{font-size:11px}.store-ledger-row p{font-size:9px}.receipt-amount{width:100%;display:flex;align-items:center;justify-content:space-between;padding-left:38px}.receipt-amount time{margin:0;font-size:8px}.receipt-amount b{font-size:12px}.store-footnote{font-size:9px}}
@media(max-width:370px){.store-kpis>div{padding:12px}.store-kpis strong{font-size:21px}.store-workspace{padding:13px}.store-product{padding:15px}.store-product-art{margin:-15px -15px 15px}.auto-entry>label:not(.auto-toggle){flex:1;justify-content:space-between}.auto-entry>.text-button{width:100%;text-align:right}.store-profit-bridge{padding:12px;gap:7px}.store-profit-bridge strong{font-size:17px}}
@media(max-width:650px){.order-entry{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.order-entry input[type=number]{justify-self:end}.order-entry>div{min-width:0;margin:0}.order-entry>.secondary-button{justify-content:center;padding:9px 8px;gap:8px}}
