body { --bg:#101216;--panel:#191c23;--line:#2b303b;--muted:#a5afc0;background:var(--bg); }
body,body .admin-page,body :is(button,input,a,h1,h2,h3,summary,select,textarea) { font-family:'Inter',system-ui,sans-serif;font-style:normal;letter-spacing:0; }
body .admin-page,body .admin-topbar { width:min(1320px,calc(100% - 48px)); }
body .admin-queue-layout { display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px; }
body .admin-queue-content { display:contents; }
body .admin-queue-content > * { grid-column:1/-1; }
body .admin-queue-content > .admin-toolbar { grid-column:2;grid-row:1;margin:0;align-self:center; }
body .admin-queue-nav { position:static;margin:0;grid-column:1;grid-row:1;align-self:center; }
body .admin-queue-nav .status-tabs { flex-direction:row;flex-wrap:wrap;gap:4px;width:fit-content;max-width:100%;padding:4px;border:1px solid var(--line);border-radius:8px;background:var(--panel); }
body .admin-queue-nav button { width:auto;min-height:40px;padding:0 14px;font-size:13px;font-weight:500;gap:8px; }
body .admin-queue-nav button.is-active { background:#2563eb;color:#fff; }
body .admin-queue-nav button span { margin:0;min-width:18px; }
body .admin-queue-nav .lucide { display:none; }
body .admin-toolbar { margin:0 0 20px;justify-content:flex-end; }
body .search-field { max-width:380px; }
body .search-field input { background:var(--panel);font-size:13px; }
.admin-order-detail { min-width:0; }
body #adminDashboard .order-card { background:var(--panel);border-color:var(--line); }
body #adminDashboard .order-card .order-card-head { padding:20px 24px; }
body .order-card-identity { gap:12px; }
body .order-card .order-code { font-size:15px;font-weight:700; }
body .order-card .order-total { font-size:24px;font-weight:700;font-variant-numeric:tabular-nums; }
body .order-card-body { grid-template-columns:minmax(0,1fr) 270px; }
body .order-dispatch { padding:22px 24px; }
body .dispatch-columns { display:none; }
body .dispatch-group { display:flex;flex-direction:column;gap:20px;padding:22px 0;min-height:0; }
body .dispatch-group:first-of-type { padding-top:0; }
body .dispatch-products { order:-1; }
body .dispatch-product { grid-template-columns:64px minmax(0,1fr) 36px 65px;gap:16px;min-height:72px; }
body .dispatch-art { width:64px;height:72px;background:#242936;border-radius:8px; }
body .dispatch-art img { max-width:100%;max-height:100%;object-fit:contain; }
body .dispatch-product > strong { font-size:18px;font-weight:700;line-height:1.4; }
body .dispatch-quantity,body .dispatch-vbucks { font-size:13px;font-variant-numeric:tabular-nums; }
body .dispatch-recipient { display:block; }
body .dispatch-recipient > .lucide { display:none; }
body .dispatch-recipient > div { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px; }
body .dispatch-account { padding:10px 0;border-bottom:1px solid var(--line);min-width:0; }
body .dispatch-account small { display:block;margin-bottom:5px;font-size:12px;color:var(--muted); }
body .order-facts { gap:22px;padding:24px;border-color:var(--line); }
body .order-fact > span { font-size:12px;color:var(--muted); }
body .order-fact > strong { font-size:15px;font-weight:600; }
body .order-actions { padding:16px 24px;gap:16px; }
body .order-actions :is(.complete-order,.order-send-bot) { min-height:44px;font-size:13px;font-weight:600;padding:0 18px;border-radius:8px; }
body .order-actions .order-send-bot { background:#2563eb;border-color:#2563eb; }
body .order-bot-status { padding:18px 24px;background:transparent; }
body .order-bot-status.is-review,body .order-bot-status.is-partial,body .order-bot-status.is-uncertain { background:#252219; }
body .order-bot-reasons { grid-template-columns:repeat(2,minmax(0,1fr)); }
body .order-bot-reasons li { grid-template-columns:70px minmax(0,1fr);font-size:13px; }
body .order-unit-outcomes > li > .order-bot-reasons { grid-column:1/-1;min-width:0; }
body .order-unit-outcomes > li > .order-bot-reasons > li { display:grid; }
body .dispatch-account:only-child { grid-column:1/-1;border-bottom:0;padding-bottom:0; }
body .dispatch-group { border-top:0;gap:12px; }
@media(max-width:800px) {
 body .admin-queue-layout { display:block; }
 body .admin-queue-content { display:block; }
 body .admin-queue-nav { margin-bottom:16px; }
 body .admin-queue-content > .admin-toolbar { margin-bottom:16px; }
 body .admin-page,body .admin-topbar { width:calc(100% - 28px); }
 body .admin-queue-nav button { padding:0 10px; }
 body .search-field { max-width:none; }
 body .order-card-body { grid-template-columns:minmax(0,1fr); }
 body .order-facts { grid-template-columns:repeat(3,minmax(0,1fr));border-left:0;border-top:1px solid var(--line);padding:18px;gap:14px; }
 body .order-fact:first-child { grid-column:auto; }
 body .order-bot-reasons { grid-template-columns:minmax(0,1fr); }
 body .order-dispatch,body #adminDashboard .order-card .order-card-head,body .order-actions { padding:18px; }
}
@media(max-width:480px) {
 body .dispatch-product { grid-template-columns:48px minmax(0,1fr) 24px 48px;gap:8px; }
 body .dispatch-art { width:48px;height:60px; }
 body .dispatch-product > strong { font-size:16px; }
 body .dispatch-quantity,body .dispatch-vbucks { font-size:11px; }
 body .dispatch-recipient > div { grid-template-columns:minmax(0,1fr);gap:4px; }
 body .order-facts { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
 body .order-fact:first-child { grid-column:1/-1; }
 body .order-actions :is(.complete-order,.order-send-bot) { padding:8px;font-size:12px; }
}
