/* ============================================================================
   Siddharth Studio — Admin Dashboard design system
   Aesthetic: Linear / Vercel / Stripe / Framer — black, white, orange accent.
   Poppins first, graceful system fallback (self-host woff2 in /assets/fonts to
   fully honour the brand type; CSP already allows font-src 'self' data:).
   ============================================================================ */

/* ---- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html, body { height: 100%; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

/* ---- Tokens --------------------------------------------------------------- */
:root {
  --accent: #ff6a1a;
  --accent-600: #f25a08;
  --accent-soft: rgba(255, 106, 26, 0.12);
  --accent-ring: rgba(255, 106, 26, 0.35);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --font: 'Poppins', ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.10);
  --shadow-md: 0 8px 24px rgba(0,0,0,.12);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.22);
  --dur: .18s;
  --ease: cubic-bezier(.4, 0, .2, 1);

  /* iOS safe-area insets (Dynamic Island/notch + Home Indicator). Resolve to
     0px wherever the platform has no inset — Android, desktop, older iPhones
     — so every rule below that adds these is automatically a no-op there. */
  --sat: env(safe-area-inset-top, 0px);
  --sar: env(safe-area-inset-right, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);

  /* Mobile tab bar sizing, named so .content's bottom clearance (below)
     can never drift out of sync with the bar's actual rendered height. */
  --tabbar-pad-y: 6px;
  --tabbar-item-h: 52px;
}

/* Dark theme (default) */
:root, [data-theme="dark"] {
  --bg: #0a0a0b;
  --bg-elev: #121214;
  --panel: #151518;
  --panel-2: #1a1a1e;
  --card: #141417;
  --line: rgba(255,255,255,.08);
  --line-strong: rgba(255,255,255,.14);
  --text: #f4f4f5;
  --text-dim: #a1a1aa;
  --text-faint: #71717a;
  --hover: rgba(255,255,255,.05);
  --active: rgba(255,255,255,.08);
  color-scheme: dark;
}

/* Light theme */
[data-theme="light"] {
  --bg: #f6f6f7;
  --bg-elev: #ffffff;
  --panel: #ffffff;
  --panel-2: #fafafa;
  --card: #ffffff;
  --line: rgba(0,0,0,.08);
  --line-strong: rgba(0,0,0,.12);
  --text: #101012;
  --text-dim: #52525b;
  --text-faint: #8a8a93;
  --hover: rgba(0,0,0,.035);
  --active: rgba(0,0,0,.06);
  color-scheme: light;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 14px;
  line-height: 1.5;
}

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--panel-2); color: var(--text);
  font-weight: 500; cursor: pointer;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:hover { background: var(--hover); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn--primary {
  background: var(--accent); border-color: transparent; color: #fff;
  box-shadow: 0 6px 18px rgba(255,106,26,.28);
}
.btn--primary:hover { background: var(--accent-600); }
.btn--primary:disabled { box-shadow: none; }
.btn--block { width: 100%; justify-content: center; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--line); background: transparent; color: var(--text-dim);
  cursor: pointer; transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.icon-btn:hover { background: var(--hover); color: var(--text); }

/* ---- Badges / tags / chips ------------------------------------------------ */
.badge {
  font-size: 10.5px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; line-height: 1;
}
.badge--soon { background: var(--accent-soft); color: var(--accent); }
.badge--live, .badge--scaffold { background: rgba(120,120,130,.14); color: var(--text-dim); }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; padding: 4px 10px; border-radius: 999px;
  background: var(--panel-2); border: 1px solid var(--line); color: var(--text-dim);
}
.tag--ok { color: #34d399; border-color: rgba(52,211,153,.3); }
.tag--warn { color: var(--accent); border-color: var(--accent-ring); }

.chip {
  font-size: 12.5px; padding: 6px 12px; border-radius: 999px;
  background: var(--panel-2); border: 1px solid var(--line); color: var(--text-dim);
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.muted { color: var(--text-faint); font-size: 12.5px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: var(--panel-2); padding: 1px 6px; border-radius: 6px; border: 1px solid var(--line); }

/* ============================================================================
   App shell
   ============================================================================ */
.app { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }
.app__main { min-width: 0; display: flex; flex-direction: column; }

/* ---- Sidebar -------------------------------------------------------------- */
.sidebar {
  position: sticky; top: 0; align-self: start; height: 100vh;
  display: flex; flex-direction: column;
  background: var(--bg-elev); border-right: 1px solid var(--line);
  /* Becomes a fixed full-height drawer on mobile (below) — top/bottom
     padding must clear the status bar and Home Indicator there too. */
  padding: calc(18px + var(--sat)) 14px calc(18px + var(--sab));
}
.sidebar__brand { display: flex; align-items: center; gap: 12px; padding: 8px 8px 18px; }
.brand__mark { color: var(--text); }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong { font-size: 14.5px; font-weight: 600; }
.brand__text small { color: var(--text-faint); font-size: 11px; }

.sidebar__nav { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.nav-group { padding: 6px 0; }
.nav-group__label { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint); padding: 8px 10px 6px; font-weight: 600; }

.nav-item {
  position: relative; display: flex; align-items: center; gap: 11px;
  padding: 9px 11px; border-radius: 10px; color: var(--text-dim);
  font-weight: 500; font-size: 13.5px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-item:hover { background: var(--hover); color: var(--text); }
.nav-item__icon { display: inline-grid; place-items: center; color: currentColor; opacity: .9; }
.nav-item__label { flex: 1; }
.nav-item.is-active { background: var(--active); color: var(--text); }
.nav-item.is-active::before {
  content: ""; position: absolute; left: -14px; top: 50%; transform: translateY(-50%);
  width: 3px; height: 20px; border-radius: 0 3px 3px 0; background: var(--accent);
}
.nav-item.is-active .nav-item__icon { color: var(--accent); }
.nav-item.is-soon { opacity: .8; }

.sidebar__foot { padding-top: 12px; border-top: 1px solid var(--line); margin-top: 8px; }
.db-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-dim); padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line); width: 100%; }
.db-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-faint); }
.db-pill.is-on .dot { background: #34d399; box-shadow: 0 0 0 3px rgba(52,211,153,.15); }
.db-pill.is-off .dot { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

/* ---- Topnav --------------------------------------------------------------- */
.topnav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 16px;
  /* The blurred background still sticks flush to the true top edge (so it
     extends behind the status bar/Dynamic Island like a native nav bar);
     only the padding-top grows, pushing the title/icons row below it. */
  padding: calc(16px + var(--sat)) 28px 16px; min-height: 74px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topnav__menu { display: none; }
.topnav__title { flex: 1; min-width: 0; }
.topnav__title h1 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.topnav__title p { color: var(--text-faint); font-size: 12.5px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topnav__actions { display: flex; align-items: center; gap: 10px; }

.ico-sun { display: none; }
[data-theme="light"] .ico-moon { display: none; }
[data-theme="light"] .ico-sun { display: block; }

/* User menu */
.user-menu { position: relative; }
.user-menu__btn {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 10px 6px 6px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; cursor: pointer;
  transition: background var(--dur) var(--ease);
}
.user-menu__btn:hover { background: var(--hover); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 13px;
}
.user-menu__meta { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.user-menu__meta strong { font-size: 13px; font-weight: 600; }
.user-menu__meta small { font-size: 11px; color: var(--text-faint); text-transform: capitalize; }
.user-menu__pop {
  position: absolute; right: 0; top: calc(100% + 8px); width: 230px;
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(-6px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.user-menu.is-open .user-menu__pop { opacity: 1; visibility: visible; transform: translateY(0); }
.user-menu__head { padding: 8px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.user-menu__head strong { display: block; font-size: 13px; }
.user-menu__head small { color: var(--text-faint); font-size: 11.5px; }
.user-menu__link, .user-menu__logout button {
  display: block; width: 100%; text-align: left; padding: 9px 10px; border-radius: 8px;
  font-size: 13px; color: var(--text-dim); background: transparent; border: 0; cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.user-menu__link:hover, .user-menu__logout button:hover { background: var(--hover); color: var(--text); }
.user-menu__logout button { color: #f87171; }

.topnav__menu { display: none; }

/* ---- Content -------------------------------------------------------------- */
.content { padding: 28px; max-width: 1200px; width: 100%; margin: 0 auto; }

.flash-stack { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.flash { padding: 12px 14px; border-radius: var(--radius-sm); font-size: 13px; border: 1px solid var(--line); background: var(--panel); }
.flash--error { border-color: rgba(248,113,113,.35); background: rgba(248,113,113,.08); color: #fca5a5; }
.flash--success { border-color: rgba(52,211,153,.35); background: rgba(52,211,153,.08); color: #6ee7b7; }

.notice {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; margin-bottom: 24px;
  border: 1px solid var(--accent-ring); background: var(--accent-soft); border-radius: var(--radius);
  color: var(--text);
}
.notice svg { color: var(--accent); margin-top: 1px; flex: none; }
.notice strong { display: block; font-size: 13.5px; }
.notice span { color: var(--text-dim); font-size: 12.5px; }

/* ---- Stat grid ------------------------------------------------------------ */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card {
  position: relative; overflow: hidden;
  padding: 18px; border-radius: var(--radius-lg); background: var(--card);
  border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.stat-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.stat-card::after {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: transparent;
  transition: background var(--dur) var(--ease);
}
.stat-card:hover::after { background: var(--accent); }
.stat-card__label { color: var(--text-faint); font-size: 12.5px; font-weight: 500; }
.stat-card__value { font-size: 34px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.stat-card__foot { color: var(--text-faint); font-size: 12px; opacity: 0; transform: translateY(4px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.stat-card:hover .stat-card__foot { opacity: 1; transform: translateY(0); color: var(--accent); }

/* ---- Panels --------------------------------------------------------------- */
.panel-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.panel__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.panel__head h2 { font-size: 15px; font-weight: 600; }

.module-list li + li { border-top: 1px solid var(--line); }
.module-list a { display: flex; align-items: center; gap: 13px; padding: 12px 8px; border-radius: 10px; transition: background var(--dur) var(--ease); }
.module-list a:hover { background: var(--hover); }
.module-list__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line); color: var(--text-dim); flex: none; }
.module-list a:hover .module-list__icon { color: var(--accent); }
.module-list__text { flex: 1; min-width: 0; }
.module-list__text strong { display: block; font-size: 13.5px; font-weight: 550; }
.module-list__text small { color: var(--text-faint); font-size: 12px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.kv { display: flex; flex-direction: column; gap: 2px; }
.kv > div { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.kv > div:last-child { border-bottom: 0; }
.kv dt { color: var(--text-faint); font-size: 12.5px; }
.kv dd { font-size: 13px; }
.panel__cta { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }

/* ---- Module page ---------------------------------------------------------- */
.module-page { display: flex; flex-direction: column; gap: 24px; }
.module-hero { display: flex; align-items: flex-start; gap: 16px; padding: 22px; border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line); }
.module-hero__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); flex: none; }
.module-hero__title { display: flex; align-items: center; gap: 12px; }
.module-hero__title h2 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.module-hero__text p { color: var(--text-dim); font-size: 13.5px; margin-top: 5px; max-width: 62ch; }

.module-toolbar { display: flex; align-items: center; gap: 12px; }
.search { display: flex; align-items: center; gap: 9px; flex: 1; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--text-faint); }
.search input { flex: 1; border: 0; background: transparent; padding: 11px 0; outline: none; }
.search input::placeholder { color: var(--text-faint); }

.cap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.cap-card { display: flex; align-items: center; gap: 11px; padding: 14px 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); font-size: 13.5px; transition: border-color var(--dur) var(--ease); }
.cap-card:hover { border-color: var(--line-strong); }
.cap-card__check { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--accent-soft); color: var(--accent); flex: none; }
.cap-card span:nth-child(2) { flex: 1; }
.cap-card__tag { font-size: 10.5px; color: var(--text-faint); text-transform: uppercase; letter-spacing: .04em; }

.empty-state { text-align: center; padding: 48px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--panel-2); }
.empty-state__ring { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; background: var(--panel); border: 1px solid var(--line); color: var(--text-dim); }
.empty-state h3 { font-size: 16px; font-weight: 600; }
.empty-state p { color: var(--text-dim); font-size: 13px; max-width: 52ch; margin: 8px auto 0; }
.empty-state__meta { display: flex; gap: 8px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }

.soon-block { text-align: center; padding: 64px 24px; border-radius: var(--radius-lg); background: radial-gradient(120% 120% at 50% 0%, var(--accent-soft), transparent 60%), var(--panel); border: 1px solid var(--line); }
.soon-block__art { width: 78px; height: 78px; margin: 0 auto 18px; border-radius: 22px; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line); color: var(--accent); }
.soon-block h3 { font-size: 20px; font-weight: 600; }
.soon-block p { color: var(--text-dim); font-size: 13.5px; max-width: 48ch; margin: 8px auto 0; }
.soon-block .chip-row { justify-content: center; }

/* ============================================================================
   Phase 2 — data tables, forms, detail pages
   ============================================================================ */

/* ---- Toolbar (search + filters + primary action) --------------------------- */
.module-toolbar { flex-wrap: wrap; }
.select {
  padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--panel); color: var(--text); outline: none; cursor: pointer;
}
.select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.toolbar-group { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ---- Tabs (sub-navigation within a module, e.g. Store: Products/Categories) */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 4px; flex-wrap: wrap; }
.tabs a { padding: 10px 14px; font-size: 13.5px; font-weight: 500; color: var(--text-dim); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--text); }
.tabs a.is-active { color: var(--accent); border-bottom-color: var(--accent); }

/* ---- Data table ------------------------------------------------------------ */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); }
.data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 640px; }
.data-table th {
  text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--text-faint); font-weight: 600; padding: 12px 16px; border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.data-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: var(--hover); }
.data-table td.is-num { text-align: right; font-variant-numeric: tabular-nums; }
.data-table .cell-title { font-weight: 550; }
.data-table .cell-sub { color: var(--text-faint); font-size: 12px; margin-top: 2px; }
.data-table .row-actions { display: flex; gap: 6px; justify-content: flex-end; white-space: nowrap; }

.table-empty { text-align: center; padding: 48px 24px; color: var(--text-faint); font-size: 13.5px; }

/* ---- Pills (status / lifecycle) -------------------------------------------- */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; text-transform: capitalize; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--gray { background: rgba(120,120,130,.14); color: var(--text-dim); }
.pill--info { background: rgba(96,165,250,.14); color: #60a5fa; }
.pill--ok, .pill--success { background: rgba(52,211,153,.14); color: #34d399; }
.pill--warn { background: var(--accent-soft); color: var(--accent); }
.pill--danger { background: rgba(248,113,113,.14); color: #f87171; }

/* ---- Pagination ------------------------------------------------------------- */
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 2px; }
.pagination__pages { display: flex; align-items: center; gap: 6px; }
.pagination a, .pagination span.is-current {
  display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding: 0 8px;
  border-radius: 8px; font-size: 13px; color: var(--text-dim); border: 1px solid transparent;
}
.pagination a:hover { background: var(--hover); color: var(--text); }
.pagination span.is-current { background: var(--active); color: var(--text); border-color: var(--line); font-weight: 600; }
.pagination .is-disabled { opacity: .4; pointer-events: none; }

/* ---- Forms ------------------------------------------------------------------ */
.form-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 20px; }
.form-grid .field--full { grid-column: 1 / -1; }
.form-section + .form-section { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.form-section__title { font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--text-faint); margin-bottom: 14px; }
textarea.field__input { resize: vertical; min-height: 90px; font-family: inherit; }
select.field__input { cursor: pointer; }
select[multiple].field__input { min-height: 120px; }
.field__hint { display: block; margin-top: 6px; color: var(--text-faint); font-size: 11.5px; }
.field__error { display: block; margin-top: 6px; color: #f87171; font-size: 11.5px; }
.form-actions { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.form-actions .spacer { flex: 1; }

.inline-form { display: inline; }
.confirm-form { display: inline; }

/* ---- Detail layout (order / customer detail) -------------------------------- */
.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 980px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 4px; }
.detail-head h2 { font-size: 19px; font-weight: 600; }
.detail-head .muted { display: block; margin-top: 3px; }

.line-items { width: 100%; border-collapse: collapse; font-size: 13px; }
.line-items th { text-align: left; font-size: 10.5px; text-transform: uppercase; color: var(--text-faint); padding: 8px 0; border-bottom: 1px solid var(--line); }
.line-items td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.line-items tr:last-child td { border-bottom: 0; }
.line-items td.is-num { text-align: right; font-variant-numeric: tabular-nums; }
.line-items tfoot td { border-top: 1px solid var(--line-strong); border-bottom: 0; font-weight: 600; padding-top: 12px; }

/* ---- Timeline ---------------------------------------------------------------- */
.timeline { position: relative; display: flex; flex-direction: column; gap: 18px; padding-left: 22px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 4px; bottom: 4px; width: 1px; background: var(--line-strong); }
.timeline__item { position: relative; }
.timeline__item::before { content: ""; position: absolute; left: -22px; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.timeline__item strong { display: block; font-size: 13px; }
.timeline__item p { color: var(--text-dim); font-size: 12.5px; margin-top: 2px; }
.timeline__item time { color: var(--text-faint); font-size: 11px; }

/* ---- Thumbnails / media pickers ---------------------------------------------- */
.thumb { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: var(--panel-2); border: 1px solid var(--line); flex: none; }
.thumb-row { display: flex; align-items: center; gap: 10px; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.media-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.media-card__thumb { aspect-ratio: 1; background: var(--panel-2); display: grid; place-items: center; color: var(--text-faint); overflow: hidden; }
.media-card__thumb img, .media-card__thumb video { width: 100%; height: 100%; object-fit: cover; }
.media-card__body { padding: 10px; }
.media-card__body strong { display: block; font-size: 12px; font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media-card__body small { color: var(--text-faint); font-size: 11px; }
.media-card__actions { display: flex; gap: 6px; padding: 0 10px 10px; }

.folder-rail { display: flex; flex-wrap: wrap; gap: 8px; }
.folder-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); font-size: 12.5px; color: var(--text-dim); }
.folder-pill.is-active { background: var(--active); color: var(--text); border-color: var(--line-strong); }
.folder-pill:hover { color: var(--text); }
.folder-pill__count { color: var(--text-faint); }

.avatar-sm { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line); color: var(--text-dim); font-weight: 600; font-size: 12px; flex: none; }

/* ============================================================================
   Auth page
   ============================================================================ */
.auth { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; }
.auth__aside {
  position: relative; overflow: hidden; display: grid; align-items: center; padding: 56px;
  background:
    radial-gradient(90% 80% at 15% 10%, rgba(255,106,26,.18), transparent 55%),
    radial-gradient(70% 70% at 90% 90%, rgba(255,106,26,.10), transparent 60%),
    #060607;
  color: #fff;
}
.auth__aside::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent);
}
.auth__aside-inner { position: relative; z-index: 1; max-width: 380px; }
.auth__aside-inner h2 { font-size: 26px; font-weight: 600; margin-top: 22px; letter-spacing: -.01em; }
.auth__aside-inner > p { color: rgba(255,255,255,.6); margin-top: 8px; font-size: 14px; }
.auth__points { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.auth__points li { position: relative; padding-left: 22px; color: rgba(255,255,255,.78); font-size: 13.5px; }
.auth__points li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.auth__points em { color: var(--accent); font-style: normal; }
.auth__phase { display: inline-block; margin-top: 34px; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.14); padding: 5px 11px; border-radius: 999px; }

.auth__panel { display: grid; place-items: center; padding: 40px; background: var(--bg); }
.auth__form { width: 100%; max-width: 380px; }
.auth__form h1 { font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.auth__sub { color: var(--text-faint); font-size: 13.5px; margin-top: 6px; margin-bottom: 24px; }
.auth__form .flash { margin-bottom: 18px; }
.auth__note { margin-top: 18px; text-align: center; color: var(--text-faint); font-size: 12px; }

.field { display: block; margin-bottom: 16px; }
.field__label { display: block; font-size: 12.5px; color: var(--text-dim); margin-bottom: 7px; font-weight: 500; }
.field__wrap { position: relative; display: flex; }
.field__input {
  width: 100%; padding: 12px 14px; border-radius: 10px; background: var(--panel);
  border: 1px solid var(--line-strong); color: var(--text); outline: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field__input::placeholder { color: var(--text-faint); }
.field__input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field__reveal { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; display: grid; place-items: center; border: 0; background: transparent; color: var(--text-faint); cursor: pointer; border-radius: 8px; }
.field__reveal:hover { color: var(--text); background: var(--hover); }

.checkbox { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--text-dim); margin-bottom: 22px; cursor: pointer; }
.checkbox input { width: 16px; height: 16px; accent-color: var(--accent); }

/* ---- Error page ----------------------------------------------------------- */
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.error-page__card { text-align: center; max-width: 420px; }
.error-page__code { font-size: 68px; font-weight: 700; color: var(--accent); letter-spacing: -.03em; }
.error-page__card h1 { font-size: 22px; font-weight: 600; margin-top: 4px; }
.error-page__card p { color: var(--text-dim); margin: 10px 0 24px; }

/* ---- Scrim (mobile) ------------------------------------------------------- */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 30; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }

/* ============================================================================
   Phase 1 — Dashboard: infographics, quick actions, activity, mobile shell
   Mobile-first. Desktop is the wider variant (see media queries below).
   ============================================================================ */

/* ---- Page rhythm / entrance ------------------------------------------------ */
.dash { display: flex; flex-direction: column; gap: 18px; }
.dash > section { animation: rise .5s var(--ease) both; }
.dash > section:nth-child(2) { animation-delay: .04s; }
.dash > section:nth-child(3) { animation-delay: .08s; }
.dash > section:nth-child(4) { animation-delay: .12s; }
.dash > section:nth-child(5) { animation-delay: .16s; }
.dash > section:nth-child(6) { animation-delay: .20s; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.dash-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.dash-section__head h2 { font-size: 13px; font-weight: 600; letter-spacing: .01em; text-transform: uppercase; color: var(--text-faint); }
.dash-section__head a { font-size: 12.5px; color: var(--text-dim); }
.dash-section__head a:hover { color: var(--accent); }

/* ---- KPI row --------------------------------------------------------------- */
.kpi-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kpi-row .kpi--feature { grid-column: 1 / -1; }
.kpi {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px;
  padding: 16px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  min-height: 108px;
}
.kpi:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.kpi:active { transform: translateY(0); }
.kpi__top { display: flex; align-items: center; gap: 9px; }
.kpi__ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); flex: none; }
.kpi__label { color: var(--text-faint); font-size: 12px; font-weight: 500; }
.kpi__value { font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.kpi--feature .kpi__value { font-size: 34px; }
.kpi__foot { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.kpi__sub { color: var(--text-faint); font-size: 12px; }

/* Trend / delta pill */
.delta { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; line-height: 1; }
.delta svg { width: 12px; height: 12px; }
.delta--up { background: rgba(52,211,153,.14); color: #34d399; }
.delta--down { background: rgba(248,113,113,.14); color: #f87171; }
.delta--flat { background: rgba(120,120,130,.14); color: var(--text-dim); }

/* Sparkline — overflow:hidden clips the SVG's own paint to its box, so a
   WebKit/iOS mis-scaled stroke can never escape and cover the dashboard. */
.spark { display: block; width: 100%; height: 44px; overflow: hidden; }
.spark__area { fill: url(#sparkFill); }
/* No vector-effect:non-scaling-stroke — under preserveAspectRatio="none" WebKit
   paints that stroke in an unscaled space that escapes ancestor clips (the
   iOS "giant arrow" bug). A normal stroke scales with the geometry and stays
   inside the viewBox. stroke-width is in user units (viewBox 100x40). */
.spark__line { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.spark__dot { fill: var(--accent); }

/* Mini bar-glyph (orders "📦📦📦") */
.glyph-bars { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.glyph-bars i { width: 5px; border-radius: 2px; background: var(--accent); opacity: .85; }

/* ---- Quick actions --------------------------------------------------------- */
.qa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.qa {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 14px; min-height: 88px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.qa:hover { transform: translateY(-2px); border-color: var(--accent-ring); background: var(--panel-2); }
.qa:active { transform: translateY(0); }
.qa__ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); flex: none; }
.qa__label { font-size: 13px; font-weight: 550; }
.qa__meta { color: var(--text-faint); font-size: 11.5px; }
.qa--primary { background: linear-gradient(135deg, var(--accent), var(--accent-600)); border-color: transparent; color: #fff; box-shadow: 0 8px 22px rgba(255,106,26,.28); }
.qa--primary .qa__ico { background: rgba(255,255,255,.18); color: #fff; }
.qa--primary .qa__meta { color: rgba(255,255,255,.82); }
.qa--primary:hover { background: linear-gradient(135deg, var(--accent-600), var(--accent-600)); border-color: transparent; }

/* ---- Cards (dashboard building block) -------------------------------------- */
.dash-cols { display: grid; grid-template-columns: 1fr; gap: 12px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; }
.card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card__head h3 { font-size: 14px; font-weight: 600; }
.card__head .muted, .card__head a { font-size: 12px; }
.card__head a:hover { color: var(--accent); }

/* ---- Fulfilment funnel ----------------------------------------------------- */
.funnel { display: flex; flex-direction: column; gap: 12px; }
.funnel__row { display: grid; grid-template-columns: 78px 1fr auto; align-items: center; gap: 12px; }
.funnel__name { font-size: 12.5px; color: var(--text-dim); }
.funnel__track { position: relative; height: 10px; border-radius: 999px; background: var(--panel-2); overflow: hidden; }
.funnel__fill { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-600)); transition: width .6s var(--ease); }
.funnel__row:nth-child(1) .funnel__fill { opacity: 1; }
.funnel__row:nth-child(2) .funnel__fill { opacity: .88; }
.funnel__row:nth-child(3) .funnel__fill { opacity: .76; }
.funnel__row:nth-child(4) .funnel__fill { opacity: .64; }
.funnel__row:nth-child(5) .funnel__fill { opacity: .52; }
.funnel__n { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; min-width: 22px; text-align: right; }

/* ---- Stock health ---------------------------------------------------------- */
.stock { display: flex; flex-direction: column; gap: 14px; }
.stock__dots { display: flex; flex-wrap: wrap; gap: 5px; }
.stock__dots i { width: 12px; height: 12px; border-radius: 50%; }
.stock__dots i.g { background: #34d399; }
.stock__dots i.y { background: var(--accent); }
.stock__dots i.r { background: #f87171; }
.stock__legend { display: flex; gap: 16px; flex-wrap: wrap; }
.stock__leg { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--text-dim); }
.stock__leg b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.stock__leg .swatch { width: 9px; height: 9px; border-radius: 50%; }

/* ---- Horizontal bar list (best sellers) ------------------------------------ */
.barlist { display: flex; flex-direction: column; gap: 12px; }
.barlist__row { display: flex; flex-direction: column; gap: 6px; }
.barlist__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.barlist__name { font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.barlist__name span { color: var(--text-faint); font-weight: 400; }
.barlist__n { font-size: 12.5px; color: var(--text-dim); font-variant-numeric: tabular-nums; flex: none; }
.barlist__track { height: 8px; border-radius: 999px; background: var(--panel-2); overflow: hidden; }
.barlist__fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-600)); transition: width .6s var(--ease); }

/* ---- Activity feed --------------------------------------------------------- */
.feed { display: flex; flex-direction: column; }
.feed__row { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.feed__row:last-child { border-bottom: 0; padding-bottom: 0; }
.feed__row:first-child { padding-top: 0; }
.feed__ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; flex: none; overflow: hidden; }
.feed__ico svg { width: 15px; height: 15px; }
.feed__ico--ok { background: rgba(52,211,153,.14); color: #34d399; }
.feed__ico--info { background: rgba(96,165,250,.14); color: #60a5fa; }
.feed__ico--accent { background: var(--accent-soft); color: var(--accent); }
.feed__ico--danger { background: rgba(248,113,113,.14); color: #f87171; }
.feed__ico--gray { background: rgba(120,120,130,.14); color: var(--text-dim); }
.feed__body { flex: 1; min-width: 0; }
.feed__title { font-size: 13px; font-weight: 500; }
.feed__title span { color: var(--text-faint); font-weight: 400; }
.feed__time { color: var(--text-faint); font-size: 11.5px; margin-top: 1px; }

/* ---- Order/payment mini-list (card-friendly) ------------------------------- */
.minilist { display: flex; flex-direction: column; }
.minilist__row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.minilist__row:last-child { border-bottom: 0; padding-bottom: 0; }
.minilist__row:first-child { padding-top: 0; }
.minilist__main { flex: 1; min-width: 0; }
.minilist__main strong { font-size: 13px; font-weight: 550; display: block; }
.minilist__main small { color: var(--text-faint); font-size: 11.5px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.minilist__amt { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; flex: none; }

/* ---- Compact catalogue strip ---------------------------------------------- */
.cat-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.cat-chip { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.cat-chip:hover { border-color: var(--line-strong); background: var(--panel-2); }
.cat-chip__label { font-size: 12.5px; color: var(--text-dim); }
.cat-chip__n { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---- Slim system line ------------------------------------------------------ */
.sysline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 4px 4px; color: var(--text-faint); font-size: 12px; }
.sysline .dot-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--text-faint); opacity: .5; }

/* ---- Skeleton loaders ------------------------------------------------------ */
.sk { position: relative; overflow: hidden; background: var(--panel-2); border-radius: 8px; }
.sk::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, var(--hover), transparent); animation: shimmer 1.3s infinite; }
@keyframes shimmer { 100% { transform: translateX(100%); } }
.sk--line { height: 12px; }
.sk--kpi { height: 108px; border-radius: var(--radius-lg); }

/* ---- Top navigation progress bar ------------------------------------------ */
#navbar { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 100; background: linear-gradient(90deg, var(--accent), var(--accent-600)); box-shadow: 0 0 10px var(--accent-ring); opacity: 0; transition: width .2s var(--ease), opacity .3s var(--ease); pointer-events: none; }
#navbar.is-active { opacity: 1; }

/* ---- Mobile bottom tab bar (native-app feel) ------------------------------- */
.tabbar { display: none; }
@media (max-width: 860px) {
  .tabbar {
    position: fixed; z-index: 35; left: 0; right: 0; bottom: 0;
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
    /* max(), not +: on devices with a real Home Indicator inset, that inset
       IS the bottom clearance — stacking a flat 6px on top of it is what
       used to leave unnecessary empty space below the bar. The 6px only
       kicks in as a minimum on platforms with no inset at all. */
    padding: var(--tabbar-pad-y) 6px max(var(--tabbar-pad-y), var(--sab));
    background: color-mix(in srgb, var(--bg-elev) 92%, transparent);
    -webkit-backdrop-filter: saturate(150%) blur(16px); backdrop-filter: saturate(150%) blur(16px);
    border-top: 1px solid var(--line);
  }
  .tabbar__item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    padding: 8px 0 6px; border-radius: 12px; color: var(--text-faint); font-size: 10.5px; font-weight: 500;
    min-height: var(--tabbar-item-h); background: none; border: 0; cursor: pointer; font-family: inherit;
    transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
  }
  .tabbar__item svg { width: 22px; height: 22px; }
  .tabbar__item:active { background: var(--hover); }
  .tabbar__item.is-active { color: var(--accent); }
  /* Tied to the same variables as the bar itself, so this can never drift
     out of sync with its actual rendered height. */
  .content { padding-bottom: calc(var(--tabbar-item-h) + var(--tabbar-pad-y) + max(var(--tabbar-pad-y), var(--sab))); }
}

/* ---- View transitions (instant-feeling SSR navigation) --------------------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .18s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .22s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ============================================================================
   Responsive — mobile-first base above; these are the wider upgrades.
   ============================================================================ */

/* ---- Tablet+ : open up the dashboard grids -------------------------------- */
@media (min-width: 640px) {
  .kpi-row { grid-template-columns: repeat(4, 1fr); }
  .kpi-row .kpi--feature { grid-column: span 1; }
  .kpi--feature .kpi__value { font-size: 28px; }
  .qa-grid { grid-template-columns: repeat(6, 1fr); }
  .cat-strip { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
  .dash-cols { grid-template-columns: 1.5fr 1fr; }
  .dash-cols--even { grid-template-columns: 1fr 1fr; }
  .card { padding: 20px; }
}

@media (max-width: 980px) {
  .panel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed; z-index: 40; left: 0; top: 0; width: 264px;
    transform: translateX(-100%); transition: transform var(--dur) var(--ease);
  }
  .app.nav-open .sidebar { transform: translateX(0); box-shadow: var(--shadow-lg); }
  .topnav__menu { display: inline-grid; }
  .topnav { padding: calc(12px + var(--sat)) 16px 12px; min-height: 62px; }
  .topnav__title h1 { font-size: 17px; }
  /* Longhand, not the `padding` shorthand: padding-bottom is deliberately
     left untouched here so the tabbar block's clearance value (below) always
     wins, regardless of which of these two same-specificity rules the
     cascade would otherwise prefer. */
  .content { padding-top: 16px; padding-left: 14px; padding-right: 14px; }
  /* bigger, thumb-friendly controls on phones */
  .icon-btn { width: 42px; height: 42px; }
  .btn { padding: 12px 18px; }
  .row-actions .icon-btn { width: 40px; height: 40px; }
}
@media (max-width: 720px) {
  .auth { grid-template-columns: 1fr; }
  .auth__aside { display: none; }
  .user-menu__meta { display: none; }
}
@media (max-width: 420px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-card__value { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
