:root{color-scheme:dark;font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;background:#091421;color:#f0f4fb}*{box-sizing:border-box}body{margin:0;background:#091421}input,select,button{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}[hidden]{display:none!important}.app{max-width:730px;margin:auto;min-height:100vh;padding:env(safe-area-inset-top) 13px max(30px,env(safe-area-inset-bottom))}.top{display:flex;align-items:center;gap:9px;padding:17px 0;border-bottom:1px solid #24374c}.logo{width:43px;height:43px;display:grid;place-items:center;background:linear-gradient(145deg,#ffdf98,#a77933);border-radius:12px;font-size:31px;color:#1d2430}.brand{flex:1;min-width:0;display:grid;gap:2px}.brand b{font-size:17px;letter-spacing:.9px}.brand span{font-size:9px;color:#f5c775;font-weight:800;letter-spacing:.45px}.online{font-size:9px;padding:7px;border-radius:50px;color:#96edc0;border:1px solid #425e58;white-space:nowrap}.search{padding:21px 0 10px}.field-label{display:block;font-size:11px;font-weight:850;letter-spacing:.9px;color:#f5ce80;margin-bottom:9px}.search-row{display:flex;gap:7px}.search-row input,.ads-row input,.custom-range input,.range-row select{min-width:0;outline:none;border:1px solid #37506c;border-radius:11px;background:#17283d;color:white}.search-row input{flex:1;width:20px;padding:12px;font-size:14px}.search-row button,.gold-btn{border:0;border-radius:11px;background:linear-gradient(135deg,#ffdf9a,#dfa448);color:#1c2532;font-weight:900;font-size:12px;padding:10px 12px;white-space:nowrap}.range-row{display:flex;align-items:center;gap:8px;margin:12px 0}.range-row label{font-size:12px;color:#b7c9dd}.range-row select{flex:1;padding:8px;font-size:12px}.outline{border:1px solid #39516c;border-radius:9px;color:#dbeafb;background:#17283d;padding:9px;font-size:11px;font-weight:700}.custom-range{display:flex;gap:8px;align-items:end;margin-bottom:11px;flex-wrap:wrap}.custom-range label{font-size:11px;color:#9eb1c9;flex:1;min-width:130px;display:grid;gap:5px}.custom-range input{padding:10px 6px;max-width:100%;font-size:12px}.sync{font-size:11px;background:#14263a;border:1px solid #2b425d;color:#a8c4db;border-radius:9px;line-height:1.45;padding:10px}.notice{margin:9px 0 12px;padding:12px;border-radius:10px;font-size:12px;line-height:1.5}.error{background:#4a2631;color:#ffd7df;border:1px solid #985263}.info{background:#172b41;color:#c5defa;border:1px solid #355676}.empty{text-align:center;padding:53px 24px;color:#9badc5}.empty h1{font-size:19px;color:#f6f1e8}.empty p{font-size:12px;line-height:1.6}.section-head{display:flex;align-items:end;justify-content:space-between;margin:19px 0 11px;gap:7px}.section-head small{font-size:10px;color:#f1be68;font-weight:900;letter-spacing:.8px}.section-head h1{margin:3px 0 0;font-size:19px;overflow-wrap:anywhere}.section-head h2{font-size:13px;color:#f5ca75;letter-spacing:.7px;margin:0}.section-head>span{font-size:11px;color:#9bafc8}.stats-2{display:grid;grid-template-columns:1fr 1.6fr;gap:8px}.metric,.status-tile{background:#16273b;border:1px solid #334962;border-radius:12px;padding:13px;text-align:left;min-width:0}.metric small,.status-tile small{font-size:9px;letter-spacing:.2px;color:#b4c7dd;font-weight:800}.metric strong{display:block;margin-top:10px;font-size:20px;overflow-wrap:anywhere;color:#f7d089}.status-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:9px}.status-tile strong{display:block;font-size:22px;color:#fff;margin:7px 0}.status-tile span{display:block;font-size:10px;color:#b6c8db;line-height:1.35;min-height:28px}.status-tile.active{border-color:#e7b55e;box-shadow:0 0 0 1px #e7b55e45}.hint{font-size:10px;color:#9eafc2;line-height:1.55;margin:11px 1px 17px}.finance{border:1px solid #34475b;background:#112236;padding:12px;border-radius:14px;margin-top:17px}.finance>.section-head{margin:0 0 14px}.ads-editor{padding:11px;border:1px solid #405370;border-radius:11px;background:#172b40}.ads-editor>label{font-size:11px;color:#f1ca78;font-weight:800}.ads-row{display:flex;gap:6px;margin:8px 0}.ads-row input{padding:10px;flex:1;width:60px;font-size:13px}.ads-editor small{font-size:10px;color:#91abc4}.finance-lines{margin:9px 0}.finance-lines>div{display:flex;justify-content:space-between;gap:11px;border-bottom:1px solid #263a51;padding:10px 1px;font-size:11px}.finance-lines>div span{color:#b4c2d6}.finance-lines>div b{white-space:nowrap;font-size:12px}.finance-lines>.subtotal{font-weight:800;color:#f2d18e}.profit{display:flex;justify-content:space-between;align-items:center;border:1px solid #9d7944;background:#2b2b32;border-radius:11px;padding:13px 10px;gap:8px}.profit span{font-size:11px;font-weight:800;color:#eed4a0}.profit strong{font-size:21px;color:#a1e8c4;overflow-wrap:anywhere;text-align:right}.profit strong.negative{color:#ff999f}.filters{display:flex;gap:6px;overflow:auto;padding-bottom:8px}.filter{border:1px solid #354b68;border-radius:50px;padding:8px 10px;background:#17283d;color:#b6c8dd;font-size:11px;font-weight:750;white-space:nowrap}.filter.selected{background:#e4b563;color:#1e2b3b;border-color:#e4b563}.orders{display:grid;gap:8px}.order{border:1px solid #304962;border-radius:11px;background:#14263a;padding:12px}.order-head,.order-bottom{display:flex;justify-content:space-between;align-items:start;gap:8px}.order-id{font-weight:800;font-size:13px;overflow-wrap:anywhere}.order-id span{display:block;font-size:10px;margin-top:4px;font-weight:400;color:#90a6c1}.money{font-size:17px;color:#ffda92;font-weight:900;text-align:right;white-space:nowrap}.money small{display:block;font-size:10px;color:#aec0d5;font-weight:400}.order-bottom{align-items:center;margin-top:12px;font-size:10px;color:#91a8c1}.chip{padding:6px 8px;border-radius:20px;background:#223d54;color:#e0eeff;font-weight:700}.chip.shipping{color:#a9d1ff}.chip.returning,.chip.returned,.chip.canceled{color:#ffbbb4}.chip.received,.chip.paid{color:#a5f3c4}.pagebar{display:flex;justify-content:space-between;align-items:center;padding:14px 0;gap:7px}.pagebar button{border:1px solid #385371;background:#1a314b;color:#e4edf9;border-radius:9px;padding:10px;font-size:12px}.pagebar span{font-size:11px;color:#afc1d5}footer{text-align:center;color:#6d869f;font-size:10px;margin:25px 0 16px}@media(max-width:380px){.brand b{font-size:15px}.online{font-size:8px}.metric strong{font-size:17px}.finance-lines>div{font-size:10px}.finance-lines>div b{font-size:11px}.profit strong{font-size:18px}.search-row button{padding:9px}.stats-2{grid-template-columns:1fr 1.25fr}}

/* V8 Poscake export uploader */
.ads-import{background:rgba(47,72,100,.35);border:1px solid #354d69;border-radius:13px;padding:13px;margin-bottom:14px;color:#e6edf8}.ads-import strong{color:#f4ca70;letter-spacing:.7px}.ads-import p{color:#bfd0e3;font-size:12px;line-height:1.6}.ads-import input[type="file"]{width:100%;font-size:12px;margin:9px 0;color:#dce7f3}.import-dates{display:grid;grid-template-columns:1fr 1fr;gap:9px}.import-dates label{display:block;font-size:11px;color:#cbd7e5}.import-dates input{box-sizing:border-box;display:block;width:100%;margin-top:6px;border:1px solid #405471;border-radius:8px;padding:9px 4px;background:#15263c;color:#eef5ff;min-width:0}.ads-import .ads-row{gap:8px}.ads-import button{min-width:0}.ads-import small{display:block;line-height:1.45;margin-top:8px;color:#cbd7e5}.ads-import small.error{color:#ffb6b6}.ads-editor{opacity:.88}.ads-editor label{font-size:12px}.ads-editor small{line-height:1.5}.ads-editor.hidden-manual{display:none}

.ads-auto{border:1px solid #405b77;background:#172b40;border-radius:11px;padding:12px;margin-bottom:14px}.ads-auto strong{color:#f3c976;letter-spacing:.6px;font-size:12px}.ads-auto p{color:#bfd0e5;font-size:11px;line-height:1.6;margin:8px 0 0}

/* V8.4 multi-identifier lookup */
#lookupType{width:100%;display:block;min-height:44px;margin:0 0 9px;padding:11px;border:1px solid #37506c;border-radius:11px;background:#17283d;color:#f9d586;font-weight:750;font-size:13px} .order-links{margin-top:10px;padding-top:9px;border-top:1px solid #2e435c;color:#b5cce1;line-height:1.6;font-size:10px;overflow-wrap:anywhere}
