/* OR True Solutions — dark (default) and light themes */
:root, [data-theme="dark"] {
  --bg: #0B1020;
  --card: rgba(17, 24, 39, .86);
  --surface: #111827;
  --surface-2: #1A2235;
  --border: #243049;
  --text: #E2E8F0;
  --muted: #94A3B8;
  --primary: #22D3EE;
  --primary-ink: #04202A;
  --secondary: #8B5CF6;
  --success: #10B981;
  --danger: #F43F5E;
  --warn: #F59E0B;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --bg-alpha: .2;
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #F8FAFC;
  --card: rgba(255, 255, 255, .9);
  --surface: #FFFFFF;
  --surface-2: #F1F5F9;
  --border: #E2E8F0;
  --text: #0F172A;
  --muted: #475569;
  --primary: #0891B2;
  --primary-ink: #FFFFFF;
  --secondary: #7C3AED;
  --success: #059669;
  --danger: #E11D48;
  --warn: #D97706;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --bg-alpha: .14;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text); line-height: 1.7;
  font-family: "IBM Plex Sans Arabic", system-ui, sans-serif;
}
html[lang="en"] body { font-family: Inter, system-ui, sans-serif; line-height: 1.6; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { font-family: "Space Grotesk", Inter, sans-serif; letter-spacing: -.01em; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .5em; }
a { color: var(--primary); }
#bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
main { flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.pre { white-space: pre-line; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1.4em; border: 0; border-radius: 12px; cursor: pointer;
  background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff;
  font: inherit; font-weight: 700; text-decoration: none; transition: transform .15s, box-shadow .15s, opacity .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px color-mix(in srgb, var(--primary) 35%, transparent); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn-lg { padding: .9em 1.8em; font-size: 1.05rem; }
.btn-sm { padding: .35em .9em; font-size: .85rem; border-radius: 9px; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); box-shadow: none; }
.btn-danger { background: var(--danger); }
.btn svg, .icon-btn svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; }
.icon-btn {
  display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px;
  border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text);
  font: inherit; font-weight: 700; cursor: pointer;
}
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }
.theme-icon::before { content: "☀"; }
[data-theme="light"] .theme-icon::before { content: "☾"; }
.lang-label { font-family: "JetBrains Mono", monospace; font-size: .85rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px;
  padding: 10px 24px; background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; }
.brand-logo svg { height: 40px; width: auto; display: block; }
/* Logo 3 uses light neon colors; darken them on the light theme for contrast. */
[data-theme="light"] .brand-logo [stroke="#22D3EE"] { stroke: #0891B2; }
[data-theme="light"] .brand-logo [fill="#22D3EE"] { fill: #0891B2; }
[data-theme="light"] .brand-logo [fill="#10B981"] { fill: #047857; }
[data-theme="light"] .brand-logo [stroke="#10B981"] { stroke: #047857; }
.brand-name { font-family: "Space Grotesk", "IBM Plex Sans Arabic", sans-serif; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav-links > a:not(.btn) { color: var(--text); text-decoration: none; padding: 8px 12px; border-radius: 8px; }
.nav-links > a:not(.btn):hover { color: var(--primary); background: var(--surface-2); }
.nav-tools { display: flex; gap: 6px; margin-inline-start: 8px; }
.nav-burger { display: none; margin-inline-start: auto; }
@media (max-width: 900px) {
  .nav-burger { display: inline-grid; }
  .nav-links {
    display: none; position: absolute; inset-inline: 12px; top: 100%; flex-direction: column; align-items: stretch;
    padding: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-tools { margin: 8px 0 0; justify-content: center; }
  .brand-name { display: none; }
}

/* ---------- Sections ---------- */
.hero { text-align: center; padding: 96px 0 72px; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  background: linear-gradient(135deg, var(--text) 30%, var(--primary)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; margin: 0 auto 32px; }
.section { padding: 40px 0; }
.section > h2 { text-align: center; font-size: 1.8rem; margin-bottom: 24px; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 28px;
  box-shadow: var(--shadow); backdrop-filter: blur(6px);
}
.cards-3 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.svc svg { width: 44px; height: 44px; fill: none; stroke: var(--primary); stroke-width: 1.6; margin-bottom: 8px; }
.svc p { color: var(--muted); margin: 0; }
.notice { text-align: center; border-color: var(--warn); }
.notice h1, .notice h2 { color: var(--warn); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.contact-list li { display: flex; flex-direction: column; padding: 14px; background: var(--surface-2); border-radius: 12px; }
.contact-list b { color: var(--muted); font-size: .85rem; font-weight: 500; }
.contact-list a { text-decoration: none; font-weight: 700; unicode-bidi: plaintext; }
.footer { text-align: center; padding: 28px 16px; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--border); margin-top: 40px; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 18px; }
.form h2 { margin: 0; }
.note { margin: 0; font-size: .85rem; color: var(--muted); }
.grid-2 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field > label, .field legend { font-weight: 500; padding: 0; }
.field[hidden] { display: none; }
input, select, textarea {
  width: 100%; padding: .7em .9em; border: 1px solid var(--border); border-radius: 10px;
  background: var(--surface); color: var(--text); font: inherit;
}
textarea { resize: vertical; min-height: 3.2em; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 25%, transparent); }
.hint { color: var(--muted); font-size: .82rem; }
.form-error { margin: 0; padding: 10px 14px; border-radius: 10px; background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); }
.form-error[hidden] { display: none; }
.choices { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.choices.small { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice-box {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 10px; height: 100%;
  border: 2px solid var(--border); border-radius: 14px; background: var(--surface); text-align: center; transition: border-color .15s, background .15s;
}
.choices.small .choice-box { padding: 10px; }
.choice-box svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.choice input:checked + .choice-box { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 12%, var(--surface)); color: var(--primary); }
.choice input:focus-visible + .choice-box { outline: 2px solid var(--primary); outline-offset: 2px; }
.counter { display: flex; gap: 8px; max-width: 260px; }
.counter input { text-align: center; font-family: "JetBrains Mono", monospace; font-weight: 700; }
.optional { border: 1px dashed var(--border); border-radius: 14px; padding: 12px 16px; }
.optional summary { cursor: pointer; font-weight: 700; color: var(--primary); }
.optional[open] summary { margin-bottom: 14px; }
.form > .btn { align-self: flex-start; }

/* ---------- Dialogs ---------- */
.dialog {
  width: min(520px, calc(100% - 32px)); border: 1px solid var(--border); border-radius: 18px;
  padding: 26px; background: var(--surface); color: var(--text); box-shadow: var(--shadow);
}
.dialog::backdrop { background: rgba(2, 6, 23, .6); backdrop-filter: blur(3px); }
.summary { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 16px 0; max-height: 50vh; overflow: auto; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.summary .price { font-size: 1.6rem; font-weight: 700; color: var(--success); font-family: "JetBrains Mono", monospace; }
.dialog-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.sent-mark { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 10px; border-radius: 50%; background: var(--success); color: #fff; font-size: 2rem; }
#sent-dlg { text-align: center; }
#sent-dlg .dialog-actions { justify-content: center; }

/* ---------- Order page ---------- */
.order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.order-head h1 { font-size: 1.7rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 10px 0 0; }
.chips li { padding: 4px 12px; border-radius: 999px; background: var(--surface-2); font-size: .85rem; }
.order-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; }
.emu-panel { position: sticky; top: 76px; padding: 20px; }
@media (max-width: 1000px) { .order-grid { grid-template-columns: 1fr; } .emu-panel { position: static; order: -1; } }
.q-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.emu-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.emu-head h2 { font-size: 1.2rem; margin: 0; }
.emu-status { font-size: .8rem; }

/* ---------- Emulator ---------- */
.emu { position: relative; display: flex; justify-content: center; min-height: 440px; padding: 12px 4px; overflow-x: auto; }
.emu.busy::after {
  content: ""; position: absolute; inset: 0; border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 55%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Ccircle cx='25' cy='25' r='20' fill='none' stroke='%2322D3EE' stroke-width='4' stroke-dasharray='80 50'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 25 25' to='360 25 25' dur='.9s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E") center / 48px no-repeat;
}
.emu button[data-screen] { all: unset; cursor: pointer; padding: 4px 8px; border-radius: 6px; font-size: 11px; white-space: nowrap; }
.emu button[data-screen].on { font-weight: 700; }
.phones { display: flex; gap: 14px; margin: 0 auto; }
.phone { flex: 0 0 auto; width: 205px; padding: 8px; border-radius: 34px; background: #0a0a0a; box-shadow: 0 0 0 2px #3a3a3a, 0 18px 40px rgba(0, 0, 0, .35); }
.phone-screen { position: relative; height: 420px; border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; font-size: 11px; line-height: 1.4; }
.phone.ios .phone-screen::before { content: ""; position: absolute; top: 6px; left: 50%; translate: -50% 0; width: 64px; height: 18px; border-radius: 10px; background: #000; z-index: 2; }
.phone.android { border-radius: 24px; }
.phone.android .phone-screen { border-radius: 16px; }
.phone.android .phone-screen::before { content: ""; position: absolute; top: 7px; left: 50%; translate: -50% 0; width: 10px; height: 10px; border-radius: 50%; background: #000; z-index: 2; }
.m-status { display: flex; justify-content: space-between; padding: 6px 16px 2px; font-size: 10px; font-weight: 700; }
.m-appbar { padding: 9px 12px; font-size: 13px; }
.m-body { flex: 1; min-height: 0; overflow: hidden; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.m-body.wide { padding: 16px; gap: 10px; }
.m-body h4 { margin: 2px 0 0; font-size: 11px; opacity: .75; }
.m-tabs { display: flex; justify-content: space-around; padding: 8px 4px 12px; }
.m-tabs button[data-screen] { cursor: default; font-size: 9.5px; padding: 2px; }
.m-hero { border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.m-hero b { font-size: 15px; }
.m-btn { font-style: normal; display: inline-block; align-self: flex-start; padding: 6px 12px; border-radius: 8px; font-weight: 700; font-size: 10.5px; }
.m-btn.wide { align-self: stretch; text-align: center; padding: 9px; }
.m-search { border-radius: 10px; padding: 8px 10px; opacity: .85; }
.m-banner { border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.m-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m-body.wide .m-cards { grid-template-columns: repeat(3, 1fr); }
.m-card { border-radius: 10px; overflow: hidden; }
.m-card i { display: block; height: 54px; }
.m-card span { display: block; padding: 5px 7px; }
.m-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.m-list li { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; }
.m-list i { flex: none; width: 16px; height: 16px; border-radius: 50%; opacity: .8; }
.m-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; }
.m-grid i { display: grid; place-items: center; width: 32px; height: 32px; margin: 0 auto 3px; border-radius: 10px; font-style: normal; font-weight: 700; }
.m-grid span { display: block; font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-chart { display: flex; align-items: flex-end; gap: 6px; height: 110px; padding: 8px; border-radius: 10px; }
.m-chart div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 3px; }
.m-chart i { width: 100%; border-radius: 4px 4px 0 0; }
.m-chart span { font-size: 8.5px; }
.m-form { display: flex; flex-direction: column; gap: 7px; }
.m-form label { display: flex; flex-direction: column; gap: 3px; font-size: 10px; }
.m-form label i { display: block; height: 24px; border-radius: 7px; }
.m-chat { display: flex; flex-direction: column; gap: 6px; }
.m-chat p { margin: 0; max-width: 78%; padding: 7px 10px; border-radius: 12px; align-self: flex-start; }
.m-chat p.me { align-self: flex-end; }
.browser, .window { width: 100%; max-width: 660px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 18px 40px rgba(0, 0, 0, .3); }
.b-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: #1f2430; }
.b-bar > i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.b-bar > i:nth-child(2) { background: #febc2e; }
.b-bar > i:nth-child(3) { background: #28c840; }
.b-url { flex: 1; margin-inline-start: 10px; padding: 3px 10px; border-radius: 6px; background: #0f131b; color: #9aa4b2; font: 11px "JetBrains Mono", monospace; }
.b-page { height: 410px; display: flex; flex-direction: column; font-size: 12px; line-height: 1.45; }
.b-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; }
.b-nav nav { display: flex; gap: 2px; overflow: hidden; }
.w-bar { display: flex; align-items: center; gap: 10px; padding: 7px 12px; background: #e5e7eb; color: #111827; font-size: 11px; }
.w-title { flex: 1; text-align: center; font-weight: 600; }
.window.windows .w-title { order: -1; text-align: start; }
.window.linux .w-bar { background: #2d2d2d; color: #eee; }
.w-ctrl { letter-spacing: 10px; }
.w-dots { display: flex; gap: 6px; }
.w-dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.w-dots i:nth-child(2) { background: #febc2e; }
.w-dots i:nth-child(3) { background: #28c840; }
.w-body { display: flex; height: 410px; font-size: 12px; line-height: 1.45; }
.w-body aside { flex: 0 0 140px; display: flex; flex-direction: column; gap: 2px; padding: 12px 8px; }
.w-body aside b { padding: 4px 8px 10px; }
.w-body .m-body { flex: 1; }

/* ---------- Admin ---------- */
.admin-wrap { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 20px; width: 100%; max-width: 1280px; margin: 0 auto; padding: 20px; flex: 1; }
.side { position: sticky; top: 20px; align-self: start; display: flex; flex-direction: column; gap: 4px; padding: 16px; }
.side .brand { margin-bottom: 12px; }
.side a.nav-item, .side button.nav-item {
  all: unset; display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 10px; cursor: pointer; color: var(--text);
}
.side .nav-item:hover, .side .nav-item.on { background: var(--surface-2); color: var(--primary); }
.side .nav-item:focus-visible { outline: 2px solid var(--primary); }
.side .tools { display: flex; gap: 6px; margin-top: 12px; }
.badge { display: inline-block; min-width: 22px; padding: 0 7px; border-radius: 999px; background: var(--danger); color: #fff; font-size: .75rem; font-weight: 700; text-align: center; line-height: 20px; }
.badge:empty { display: none; }
.admin-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.admin-main h1 { font-size: 1.5rem; margin: 0; }
.alert { padding: 12px 16px; border-radius: 12px; border: 1px solid var(--warn); background: color-mix(in srgb, var(--warn) 14%, transparent); }
.alert.ok { border-color: var(--success); background: color-mix(in srgb, var(--success) 14%, transparent); }
.alert[hidden] { display: none; }
.stats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.stat { padding: 18px; }
.stat b { display: block; font-size: 1.7rem; font-family: "JetBrains Mono", monospace; color: var(--primary); }
.stat span { color: var(--muted); font-size: .9rem; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 160px; padding-top: 10px; }
.bars div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 4px; font-size: .7rem; color: var(--muted); }
.bars i { width: 100%; max-width: 26px; border-radius: 6px 6px 0 0; background: linear-gradient(var(--primary), var(--secondary)); min-height: 2px; }
.bars i.o { background: var(--success); }
.legend { display: flex; gap: 16px; font-size: .85rem; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: 6px; background: var(--primary); }
.legend i.o { background: var(--success); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 12px; text-align: start; border-bottom: 1px solid var(--border); white-space: nowrap; }
th { color: var(--muted); font-weight: 500; font-size: .85rem; }
tr.unseen td { font-weight: 700; }
tr.unseen td:first-child { box-shadow: inset -3px 0 var(--primary); }
html[dir="ltr"] tr.unseen td:first-child { box-shadow: inset 3px 0 var(--primary); }
.status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8rem; background: var(--surface-2); }
.status.new { background: color-mix(in srgb, var(--primary) 20%, transparent); color: var(--primary); }
.status.in_progress { background: color-mix(in srgb, var(--secondary) 20%, transparent); color: var(--secondary); }
.status.postponed { background: color-mix(in srgb, var(--warn) 20%, transparent); color: var(--warn); }
.status.done { background: color-mix(in srgb, var(--success) 20%, transparent); color: var(--success); }
.status.cancelled { background: color-mix(in srgb, var(--danger) 18%, transparent); color: var(--danger); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters a { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--border); text-decoration: none; color: var(--text); font-size: .9rem; }
.filters a.on { border-color: var(--primary); color: var(--primary); }
.order-view { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
.brief { min-height: 560px; font-family: "IBM Plex Sans Arabic", "JetBrains Mono", monospace; line-height: 1.8; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 12px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.kv .key { color: var(--primary); font-weight: 700; }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.login { max-width: 400px; margin: 10vh auto; }
.login .brand-logo svg { height: 56px; }
.toast-box { position: fixed; bottom: 20px; inset-inline-start: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 50; }
.toast { padding: 14px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--primary); box-shadow: var(--shadow); animation: pop .25s ease-out; }
.toast a { font-weight: 700; }
@keyframes pop { from { transform: translateY(10px); opacity: 0; } }
fieldset.box { border: 1px solid var(--border); border-radius: 14px; padding: 16px; display: grid; gap: 14px; }
fieldset.box legend { padding: 0 6px; font-weight: 700; color: var(--primary); }
@media (max-width: 900px) {
  .admin-wrap { grid-template-columns: 1fr; }
  .side { position: static; }
  .order-view { grid-template-columns: 1fr; }
}
