:root { --led:#38bdf8; --led-2:#22d3ee; --line:#253049; color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; color: #eef3fb; background: #0b0f16; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: #0b0f16; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 860px; margin: 0 auto; padding: 48px 20px 96px; }
.eyebrow { margin: 0 0 8px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--led-2); font-weight: 800; }
h1 { margin: 0 0 22px; font-size: 34px; line-height: 1.12; font-weight: 800; letter-spacing: -0.01em; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 22px; flex-wrap: wrap; }
.tab { appearance: none; border: 0; background: transparent; padding: 11px 16px; font: inherit; font-weight: 700; color: #778499; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab:hover { color: #cfe0f5; }
.tab--active { color: #fff; border-bottom-color: var(--led); }

.panel { min-height: 60px; }
.state { color: #778499; font-size: 15px; padding: 8px 0; }
.list { display: flex; flex-direction: column; gap: 14px; }

.order { background: linear-gradient(180deg, rgba(18,24,38,.85), rgba(14,19,28,.96)); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: flex; gap: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.order__img { width: 66px; height: 66px; flex: none; border-radius: 12px; object-fit: cover; background: #0e1420; }
.order__body { flex: 1; min-width: 0; }
.order__title { margin: 0 0 4px; font-size: 16px; font-weight: 800; color: #fff; }
.order__title a { color: inherit; text-decoration: none; }
.order__title a:hover { color: var(--led-2); }
.order__meta { margin: 3px 0; color: #aeb9cc; font-size: 14px; }
.order__meta b { color: #eef3fb; font-weight: 700; }
.order__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.badge--new { background: rgba(56,189,248,.16); color: #7cc9f2; }
.badge--accepted { background: rgba(234,179,8,.16); color: #e6c260; }
.badge--shipped { background: rgba(56,132,255,.18); color: #7db0ff; }
.badge--delivered { background: rgba(52,211,153,.16); color: #56d39c; }
.badge--cancelled { background: rgba(240,113,113,.16); color: #f0a1a1; }

select.status-select { font: inherit; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; background: #0b0f16; color: #eef3fb; }
select.status-select:focus { outline: none; border-color: var(--led); }

.hint { color: #778499; font-size: 14px; line-height: 1.55; margin: 0 0 18px; }
.field-label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #778499; margin: 14px 0 6px; }
.field { width: 100%; background: #0b0f16; border: 1px solid var(--line); border-radius: 11px; color: #eef3fb; font: inherit; font-size: 15px; padding: 11px 13px; }
.field:focus { outline: none; border-color: var(--led); }

.entry { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.entry select, .entry input { font: inherit; }
.entry select { flex: none; width: 220px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 11px; background: #0b0f16; color: #eef3fb; }
.entry input { flex: 1; min-width: 0; }
.entry .entry-del { flex: none; border: 0; background: rgba(240,113,113,.16); color: #f0a1a1; border-radius: 9px; width: 40px; height: 42px; font-size: 18px; cursor: pointer; }
.entry .entry-del:hover { background: rgba(240,113,113,.28); }

.btn-ghost { margin-top: 14px; border: 1px dashed #34506f; background: transparent; color: var(--led-2); border-radius: 11px; padding: 11px 15px; font: inherit; font-weight: 700; cursor: pointer; }
.btn-ghost:hover { border-color: var(--led); color: #fff; }
.delivery-actions { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.btn-primary { border: 0; background: linear-gradient(135deg, var(--led), var(--led-2)); color: #04121c; border-radius: 11px; padding: 12px 24px; font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 8px 24px rgba(56,189,248,.35); }
.btn-primary:disabled { opacity: .6; cursor: wait; }
.save-status { color: #34d399; font-size: 14px; font-weight: 700; }
