.order-card{border:1px solid #e0e7db;border-radius:16px;padding:18px;background:#fff;margin:14px 0;overflow-wrap:anywhere}.order-card h3{font-size:17px;margin:0 0 8px}.order-top{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.order-status{background:#e8f2df;color:#17683b;padding:6px 10px;border-radius:9px;font-size:13px;font-weight:750}.order-meta{color:#68746b;font-size:13px;line-height:1.6}.order-items{margin:14px 0;padding:0;list-style:none}.order-items li{display:flex;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid #edf0e9;font-size:14px}.order-items img{width:45px;height:45px;object-fit:contain;flex-shrink:0}.order-items span{flex:1;min-width:0}.order-total{font-size:18px;font-weight:800;color:#17683b}.order-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.order-actions button,.order-actions a{font:700 14px system-ui;padding:11px 14px;border:1px solid #dbe5d2;background:#eff5e8;color:#17683b;border-radius:10px;cursor:pointer;text-decoration:none}.order-actions button:disabled{opacity:.5;cursor:wait}.order-timeline{padding-left:22px;line-height:1.8;font-size:14px}.order-contact{white-space:pre-wrap;font-size:14px;line-height:1.6}.order-filter{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:16px 0}.order-filter select{max-width:250px}#ordersPanel{scroll-margin-top:20px}.order-help{font-size:13px;line-height:1.6;color:#657066}

.order-progress{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:0;margin:20px 0}.order-progress li{display:flex;align-items:center;flex-direction:column;gap:10px;padding:16px 5px;border-radius:14px;text-align:center;background:#edf0ed;color:#68746b;font-size:14px;line-height:1.4;overflow-wrap:normal}.order-progress span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#fff;font-size:20px;font-weight:800}.order-progress .complete{background:#dbefdf;color:#17683b}.order-progress .current{outline:3px solid currentColor;outline-offset:-3px}.order-progress .step-0{background:#dcecff;color:#185999}.order-progress .step-1{background:#fff0c3;color:#835000}.order-progress .step-2{background:#eee0ff;color:#67349a}.order-progress .step-3{background:#c8edcf;color:#17683b}.order-cancelled{background:#ffe6e1;color:#9b352c;padding:20px;border-radius:14px;font-weight:800}.stock-warning{background:#fff4d7;border:1px solid #e9c779;border-radius:16px;padding:18px;margin:18px 0;scroll-margin-top:20px}.stock-warning li{margin:10px 0}.stock-warning h2{font-size:21px}@media(max-width:380px){.order-progress{gap:5px}.order-progress li{font-size:12px;padding:12px 3px}}

.order-note{margin:14px 0;padding:14px;background:#fff6dc;border:1px solid #eedaaa;border-radius:12px;font-size:14px;line-height:1.5}.order-note p{margin:6px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}

.admin-receipt{width:min(480px,calc(100% - 24px));max-height:90dvh;box-sizing:border-box;overflow:auto;border:0;border-radius:18px;padding:20px;color:#193d28;background:#fff}.admin-receipt::backdrop{background:#10251699}.receipt-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.receipt-head h2{margin:0}.admin-receipt button{min-height:44px;padding:10px 16px;border:0;border-radius:10px;background:#17683b;color:#fff;font-weight:700}.admin-receipt label{display:block;margin:12px 0 6px}.admin-receipt textarea{display:block;box-sizing:border-box;width:100%;height:48dvh;min-height:220px;resize:vertical;padding:12px;border:1px solid #d9e4d5;border-radius:10px;background:#f8faf6;color:#193d28;font:16px/1.6 system-ui;margin-bottom:12px}.admin-receipt #receiptCopy{width:100%}.admin-receipt small{color:#637465}.admin-receipt button:focus-visible{outline:3px solid #91b578;outline-offset:3px}
