/* Admin A (.aa-): owner sign-in, dashboard, orders, customers.
   Tokens only (var(--...)), so light and dark both work. Shared classes (.page-head, .kpi, .panel, .table, .tl, .kv ...) come from styles.css. */

/* ---------- small shared pieces ---------- */
.aa-av { width: 38px; height: 38px; flex: none; border-radius: 50%; display: inline-grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .02em; background: var(--brand-soft); color: var(--brand-strong); }
.aa-av-sm { width: 32px; height: 32px; font-size: .72rem; }
.aa-av-lg { width: 60px; height: 60px; font-size: 1.15rem; }
.aa-av-info { background: var(--info-soft); color: var(--info); }
.aa-av-accent { background: var(--accent-soft); color: var(--accent); }
.aa-av-ok { background: var(--ok-soft); color: var(--ok); }
.aa-av-warn { background: var(--warn-soft); color: var(--warn); }
.aa-person { display: flex; align-items: center; gap: 10px; min-width: 0; }
.aa-person > span:last-child { display: grid; min-width: 0; line-height: 1.3; }
.aa-person b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aa-person small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aa-thumb { position: relative; width: 44px; height: 44px; flex: none; border-radius: 10px; background: var(--media-bg); overflow: hidden; display: inline-grid; place-items: center; color: var(--ink-3); }
.aa-thumb .pimg-art { padding: 3px; }
.aa-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 11px; background: var(--surface-2); }
.aa-seg button { min-height: 34px; padding: 0 14px; border: 0; border-radius: 8px; background: none; color: var(--ink-3); font-weight: 600; font-size: var(--fs-sm); white-space: nowrap; transition: background .15s, color .15s; }
.aa-seg button:hover { color: var(--ink); }
.aa-seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.aa-seg-sm button { min-height: 30px; padding: 0 12px; }
.aa-live { display: inline-flex; align-items: center; gap: 6px; margin-right: 6px; padding: 1px 9px 1px 8px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-size: 11.5px; font-weight: 700; letter-spacing: .02em; vertical-align: 1px; }
.aa-live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: aa-pulse 1.8s ease-in-out infinite; }
@keyframes aa-pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 45%, transparent); } 50% { box-shadow: 0 0 0 5px transparent; } }
.aa-d1 { display: block; font-weight: 600; }
.aa-table td small { display: block; }
.aa-table td .aa-itline small { display: inline; }
.aa-oid { font-family: var(--font-mono); font-weight: 500; font-size: .875rem; letter-spacing: -.01em; color: var(--ink); }
a.aa-oid:hover { color: var(--brand); }
.aa-mail { display: block; color: var(--brand); font-size: var(--fs-sm); word-break: break-all; }
.aa-mail:hover { text-decoration: underline; }
.aa-link-btn { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; cursor: pointer; }

/* ---------- sign in ---------- */
.aa-login { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); background: var(--bg); }
.aa-login-brand {
  --aa-pbg: var(--brand-strong); --aa-pfg: var(--brand-ink); --aa-pbg2: color-mix(in srgb, var(--brand-strong) 68%, var(--ink));
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 34px clamp(28px, 5vw, 76px) 30px; color: var(--aa-pfg); background: linear-gradient(160deg, var(--aa-pbg) 0%, var(--aa-pbg2) 100%);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .aa-login-brand { --aa-pbg: var(--brand-soft); --aa-pfg: var(--ink); --aa-pbg2: var(--surface); } }
:root[data-theme="dark"] .aa-login-brand { --aa-pbg: var(--brand-soft); --aa-pfg: var(--ink); --aa-pbg2: var(--surface); }
.aa-login-brand::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(circle at 92% 6%, color-mix(in srgb, var(--brand) 62%, transparent), transparent 46%),
  radial-gradient(circle at 4% 104%, color-mix(in srgb, var(--logo-dot) 20%, transparent), transparent 42%); }
.aa-login-brand::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .9;
  background-image: linear-gradient(color-mix(in srgb, var(--aa-pfg) 6%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--aa-pfg) 6%, transparent) 1px, transparent 1px);
  background-size: 46px 46px; -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 72%); mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 72%); }
.aa-lb-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.aa-lb-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--aa-pfg); font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -.03em; }
.aa-lb-logo:hover { color: var(--aa-pfg); }
.aa-mark { width: 36px; height: 36px; }
.aa-lb-tag { font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--aa-pfg) 14%, transparent); }
.aa-lb-mid { display: grid; gap: 22px; max-width: 540px; }
.aa-lb-mid h1 { font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.4rem); line-height: 1.04; letter-spacing: -.03em; color: var(--aa-pfg); }
.aa-lb-lead { font-size: var(--fs-lg); max-width: 44ch; color: color-mix(in srgb, var(--aa-pfg) 84%, transparent); }
.aa-lb-points { display: grid; gap: 16px; margin-top: 4px; }
.aa-lb-points li { display: flex; gap: 14px; align-items: flex-start; }
.aa-lb-ico { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--aa-pfg) 14%, transparent); border: 1px solid color-mix(in srgb, var(--aa-pfg) 14%, transparent); }
.aa-lb-points b { display: block; font-weight: 700; }
.aa-lb-points small { display: block; font-size: var(--fs-sm); line-height: 1.45; color: color-mix(in srgb, var(--aa-pfg) 74%, transparent); max-width: 46ch; }
.aa-lb-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; max-width: 440px; padding: 18px 20px; border-radius: 18px; background: color-mix(in srgb, var(--aa-pfg) 9%, transparent); border: 1px solid color-mix(in srgb, var(--aa-pfg) 18%, transparent); backdrop-filter: blur(8px); }
.aa-lb-card small { display: block; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: color-mix(in srgb, var(--aa-pfg) 70%, transparent); }
.aa-lb-card b { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; margin: 2px 0; }
.aa-lb-delta { font-size: var(--fs-sm); color: color-mix(in srgb, var(--aa-pfg) 80%, transparent); }
.aa-lb-card .spark { color: var(--aa-pfg); flex: none; }
.aa-lb-foot { font-size: var(--fs-xs); color: color-mix(in srgb, var(--aa-pfg) 62%, transparent); }
.aa-login-side { position: relative; display: grid; place-items: center; padding: 56px 24px 40px; }
.aa-login-theme { position: absolute; top: 14px; right: 14px; }
.aa-login-form { width: min(400px, 100%); display: grid; gap: 18px; }
.aa-lf-head { display: grid; gap: 6px; margin-bottom: 4px; }
.aa-lf-head h2 { font-size: var(--fs-3xl); letter-spacing: -.03em; font-weight: 800; }
.aa-lf-head p { color: var(--ink-3); }
.aa-lf-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-strong); margin-bottom: 8px; }
.aa-pass { position: relative; }
.aa-pass .input { padding-right: 70px; }
.aa-pass-btn { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); height: 34px; padding: 0 12px; border: 0; border-radius: 8px; background: none; color: var(--brand); font-weight: 700; font-size: var(--fs-sm); }
.aa-pass-btn:hover { background: var(--brand-soft); }
.aa-lf-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: var(--fs-sm); }
.aa-lf-err { padding: 10px 12px; border-radius: 10px; background: var(--bad-soft); font-size: var(--fs-sm); }
.aa-login-form .btn-lg { margin-top: 2px; }
.aa-lf-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--info-soft); color: var(--info); font-size: var(--fs-sm); line-height: 1.45; }
.aa-lf-note .ico { margin-top: 2px; }
.aa-lf-back { justify-self: center; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink-3); padding: 8px 12px; border-radius: 8px; }
.aa-lf-back:hover { color: var(--brand); background: var(--surface-2); }
@media (max-width: 900px) {
  .aa-login { grid-template-columns: 1fr; }
  .aa-login-brand { padding: 22px 20px 26px; gap: 16px; }
  .aa-lb-mid { gap: 10px; }
  .aa-lb-mid h1 { font-size: 1.9rem; }
  .aa-lb-lead { font-size: var(--fs); }
  .aa-lb-points, .aa-lb-card, .aa-lb-foot { display: none; }
  .aa-login-side { padding: 28px 18px 40px; align-items: start; }
  .aa-login-theme { top: 8px; right: 8px; }
  .aa-lf-ico { display: none; }
  .aa-lf-head h2 { font-size: 1.7rem; }
}

/* ---------- dashboard: header, attention strip, KPIs ---------- */
.aa-head { align-items: flex-end; }
.aa-head h1 { letter-spacing: -.025em; }
.aa-head .sub { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 0; }
.aa-attn { margin-bottom: 18px; }
.aa-attn-h { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.aa-attn-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.aa-attn-item { --t: var(--ok); --ts: var(--ok-soft); display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); transition: border-color .15s, box-shadow .15s, transform .15s; }
.aa-attn-item:hover { border-color: var(--line-strong); box-shadow: var(--shadow-1); transform: translateY(-1px); color: inherit; }
.aa-attn-item.is-warn { --t: var(--warn); --ts: var(--warn-soft); }
.aa-attn-item.is-info { --t: var(--info); --ts: var(--info-soft); }
.aa-attn-item.is-bad { --t: var(--bad); --ts: var(--bad-soft); }
.aa-attn-item.is-muted { --t: var(--ink-2); --ts: var(--surface-2); }
.aa-attn-ico { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--ts); color: var(--t); }
.aa-attn-t { display: grid; min-width: 0; line-height: 1.3; font-weight: 600; font-size: var(--fs-sm); }
.aa-attn-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aa-attn-t b { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; }
.aa-attn-t small { color: var(--ink-3); font-weight: 500; font-size: var(--fs-xs); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aa-attn-go { margin-left: auto; color: var(--ink-3); flex: none; }
.aa-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.aa-kpi { gap: 8px; padding: 18px 18px 16px; transition: box-shadow .2s, border-color .2s; min-width: 0; }
.aa-kpi:hover { box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.aa-kico { width: 28px; height: 28px; flex: none; border-radius: 8px; display: inline-grid; place-items: center; background: var(--brand-soft); color: var(--brand-strong); }
.aa-kpi .kpi-value { font-size: clamp(1.4rem, 1rem + 1vw, 1.7rem); white-space: nowrap; line-height: 1.15; }
.aa-kspark { margin: 2px 0 0; }
.aa-kspark .spark { width: 100%; height: auto; max-height: 44px; }
.aa-kpi.is-down .aa-kspark .spark { color: var(--bad); }
.aa-kfoot { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.aa-vs { color: var(--ink-3); font-size: var(--fs-xs); }
.aa-delta-na { font-size: var(--fs-xs); font-weight: 700; color: var(--ink-2); padding: 2px 9px; background: var(--surface-2); border-radius: 999px; }

/* ---------- dashboard: grid + panels ---------- */
.aa-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.aa-c-rev { grid-column: span 8; } .aa-c-status { grid-column: span 4; }
.aa-c-cat { grid-column: span 5; } .aa-c-top { grid-column: span 7; }
.aa-c-recent { grid-column: span 8; } .aa-c-low { grid-column: span 4; }
.aa-panel { min-width: 0; display: flex; flex-direction: column; }
.aa-panel .panel-head { align-items: flex-start; }
.aa-panel .panel-head h3 { font-size: var(--fs-lg); }
.aa-panel .panel-head .sub { margin-top: 2px; }
.aa-panel-flush { padding: 0; overflow: hidden; container-type: inline-size; container-name: aarecent; }
.aa-pad { padding: 20px 20px 0; }
.aa-panel-link { margin-top: auto; padding-top: 14px; }
.aa-chart { position: relative; min-width: 0; }
.aa-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: -4px 0 10px; font-size: var(--fs-sm); color: var(--ink-2); }
.aa-legend span { display: inline-flex; align-items: center; gap: 8px; }
.aa-key { display: inline-block; flex: none; width: 16px; height: 3px; border-radius: 2px; background: var(--brand); align-self: center; }
.aa-key-prev { height: 0; background: none; border-top: 2px dashed var(--ink-3); border-radius: 0; }

/* svg charts */
.aa-svg { display: block; max-width: none; overflow: visible; font-family: var(--font-body); }
.aa-gl { stroke: var(--line); stroke-width: 1; shape-rendering: crispEdges; }
.aa-gl-base { stroke: var(--line-strong); }
.aa-yt, .aa-xt { fill: var(--ink-3); font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; }
.aa-line { fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.aa-prev { fill: none; stroke: var(--ink-3); stroke-width: 1.4; stroke-dasharray: 3 4; stroke-linecap: round; opacity: .5; }
.aa-mk { fill: var(--brand); stroke: var(--surface); stroke-width: 2; }
.aa-peak text { fill: var(--ink-2); font-size: 11px; font-weight: 700; paint-order: stroke; stroke: var(--surface); stroke-width: 4px; stroke-linejoin: round; }
.aa-gl-tick { stroke: var(--line-strong); }
.aa-track { fill: var(--surface-2); }
.aa-cross { stroke: var(--line-strong); stroke-width: 1; }
.aa-hdot { fill: var(--brand); stroke: var(--surface); stroke-width: 2.5; }
.aa-hdot-prev { fill: var(--ink-3); }
.aa-hit { fill: transparent; cursor: crosshair; touch-action: pan-y; }
.aa-svg:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 6px; }
.aa-svg.is-anim .aa-line { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: aa-draw 1s cubic-bezier(.3, .6, .3, 1) .1s forwards; }
.aa-svg.is-anim .aa-area { animation: aa-fade .9s ease .25s both; }
.aa-svg.is-anim .aa-mk, .aa-svg.is-anim .aa-peak text { animation: aa-fade .5s ease .9s both; }
@keyframes aa-draw { to { stroke-dashoffset: 0; } }
@keyframes aa-fade { from { opacity: 0; } to { opacity: 1; } }
.aa-tip { position: absolute; z-index: 3; left: 0; top: 0; pointer-events: none; min-width: 176px; max-width: 280px; padding: 10px 12px 11px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: var(--shadow-2); font-size: var(--fs-sm); }
.aa-tip-date { color: var(--ink-3); font-size: var(--fs-xs); font-weight: 600; margin-bottom: 6px; }
.aa-tip-row { display: grid; grid-template-columns: 16px auto minmax(0, 1fr); gap: 0 8px; align-items: baseline; margin-top: 3px; }
.aa-tip-row b { font-family: var(--font-display); font-size: 1.02rem; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.aa-tip-row span { color: var(--ink-3); font-size: var(--fs-xs); }
.aa-tip-row .aa-key { align-self: center; }
.aa-tip-prev b { font-size: .92rem; font-weight: 700; color: var(--ink-2); }
.aa-bl { fill: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.aa-bvv { fill: var(--ink); font-family: var(--font-display); font-size: 13px; font-weight: 700; }
.aa-bvs { fill: var(--ink-3); font-size: 11.5px; font-weight: 500; }
.aa-bar { fill: color-mix(in srgb, var(--brand) 70%, var(--surface)); transition: fill .15s; }
.aa-bar.is-top, .aa-brow:hover .aa-bar, .aa-brow:focus .aa-bar { fill: var(--brand); }
.aa-brow { outline: none; }
.aa-brow-bg { fill: transparent; transition: fill .15s; }
.aa-brow:hover .aa-brow-bg, .aa-brow:focus-visible .aa-brow-bg { fill: var(--surface-2); }
.aa-seg-r { transition: opacity .15s; }
.aa-sbar.is-dim .aa-seg-r:not(.hot) { opacity: .28; }

/* status list, top products, low stock */
.aa-stlist { display: grid; gap: 2px; margin: 14px -8px 0; }
.aa-stlist li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto 44px; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; }
.aa-stlist li:hover { background: var(--surface-2); }
.aa-stlist li.is-zero { color: var(--ink-3); }
.aa-stlist li.is-zero .aa-dot { opacity: .45; }
.aa-stlist b { font-variant-numeric: tabular-nums; }
.aa-dot { width: 10px; height: 10px; border-radius: 3px; }
.aa-st-p { text-align: right; color: var(--ink-3); font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.aa-chart-sbar { margin-top: 2px; }
.aa-toplist { display: grid; gap: 2px; margin: -6px -8px 0; }
.aa-toprow { display: grid; grid-template-columns: 22px 44px minmax(0, 1fr) 96px; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; color: inherit; }
.aa-toprow:hover { background: var(--surface-2); color: inherit; }
.aa-rank { font-family: var(--font-display); font-weight: 800; color: var(--ink-3); text-align: center; font-size: var(--fs-sm); }
.aa-top-t { display: grid; min-width: 0; line-height: 1.3; }
.aa-top-t b { font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.aa-top-t small { color: var(--ink-3); font-size: var(--fs-xs); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aa-top-v { display: grid; gap: 6px; justify-items: end; }
.aa-top-v b { font-family: var(--font-display); font-weight: 800; font-variant-numeric: tabular-nums; }
.aa-meter { display: block; width: 100%; height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.aa-meter i { display: block; height: 100%; border-radius: 0 4px 4px 0; background: var(--brand); }
.aa-lowlist { display: grid; gap: 2px; margin: -6px -8px 0; }
.aa-lowrow { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; color: inherit; }
.aa-lowrow:hover { background: var(--surface-2); color: inherit; }
.aa-low-t { display: grid; min-width: 0; line-height: 1.3; }
.aa-low-t b { font-weight: 600; font-size: var(--fs-sm); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.aa-low-t small { color: var(--ink-3); font-family: var(--font-mono); font-size: 11px; }
.aa-more { font-size: var(--fs-sm); padding: 8px 0 0 4px; }
.aa-low-cta { margin-top: auto; }
.aa-lowlist + .aa-more + .aa-low-cta, .aa-lowlist + .aa-low-cta { margin-top: 14px; }
.aa-panel .empty { padding: 32px 12px; }
.aa-mini-table td, .aa-mini-table th { padding-inline: 14px; }
.aa-mini-table th:first-child, .aa-mini-table td:first-child { padding-left: 20px; }
.aa-mini-table th:last-child, .aa-mini-table td:last-child { padding-right: 20px; }
.aa-bare { border: 0; border-radius: 0; background: none; }
.aa-panel-flush .aa-bare { border-top: 1px solid var(--line); }

/* ---------- orders + customers: filters, tables ---------- */
.aa-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 14px; margin: 0 -2px; scrollbar-width: none; }
.aa-chips::-webkit-scrollbar { display: none; }
.aa-fchip { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 8px 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-weight: 600; font-size: var(--fs-sm); white-space: nowrap; transition: border-color .15s, background .15s, color .15s; }
.aa-fchip:hover { border-color: var(--line-strong); color: var(--ink); }
.aa-fchip b { min-width: 24px; height: 22px; padding: 0 7px; border-radius: 11px; display: inline-grid; place-items: center; background: var(--surface-2); color: var(--ink-2); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.aa-fchip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.aa-fchip[aria-pressed="true"] b { background: color-mix(in srgb, var(--brand-ink) 22%, transparent); color: var(--brand-ink); }
.aa-toolbar { align-items: center; }
.aa-toolbar .select { min-width: 168px; }
.aa-custom { display: inline-flex; align-items: center; gap: 8px; }
.aa-custom .input { width: 150px; min-width: 0; }
.aa-bulk { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; padding: 10px 14px; margin-bottom: 12px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-strong); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); animation: aa-fade .2s ease both; }
.aa-bulk-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.aa-bulk .btn-soft { background: var(--surface); }
.aa-bulk .btn-ghost { border-color: color-mix(in srgb, var(--brand) 35%, transparent); color: var(--brand-strong); }
.aa-tablecard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; container-type: inline-size; container-name: aatable; }
.aa-tablecard .table-wrap { border: 0; border-radius: 0; }
.aa-tfoot { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.aa-tfoot .pagination { margin: 0; }
.aa-table td { vertical-align: middle; }
.aa-clickrow { cursor: pointer; }
.aa-clickrow:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; border-radius: 0; }
.aa-table tbody tr.is-sel td { background: var(--brand-soft); }
.aa-c-cb { width: 44px; padding-right: 0 !important; }
.aa-cbl { display: grid; place-items: center; width: 40px; height: 40px; margin: -10px 0 -10px -10px; cursor: pointer; }
.aa-c-act { text-align: right; width: 1%; white-space: nowrap; }
.aa-pay { display: flex; align-items: center; gap: 9px; color: var(--ink-3); }
.aa-pay > span { display: grid; line-height: 1.25; }
.aa-pay-m { font-weight: 600; color: var(--ink); white-space: nowrap; }
.aa-pay-s { font-size: var(--fs-xs); font-weight: 700; color: var(--ink-3); }
.aa-pay-s.is-paid { color: var(--ok); } .aa-pay-s.is-awaiting { color: var(--warn); } .aa-pay-s.is-voided { color: var(--bad); }
.aa-pay-r { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.aa-itline { display: flex; align-items: baseline; gap: 6px; max-width: 210px; min-width: 0; }
.aa-itn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.aa-itline small { flex: none; }
.aa-table th, .aa-table td { padding-inline: 12px; }
.aa-table th:first-child, .aa-table td:first-child { padding-left: 16px; }
.aa-table th:last-child, .aa-table td:last-child { padding-right: 16px; }
.aa-c-id, .aa-c-date { white-space: nowrap; }
.aa-c-cust, .aa-c-name { min-width: 180px; }
.aa-th { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; font-weight: inherit; cursor: pointer; white-space: nowrap; }
.aa-th:hover, .aa-th.is-on { color: var(--ink); }
.aa-th-idle { opacity: .45; }
.aa-table th.num .aa-th { flex-direction: row-reverse; }
.aa-rep { margin-left: 6px; }
.aa-newtag { color: var(--info); font-weight: 700; }
.aa-mini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.aa-mini-tile { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); min-width: 0; }
.aa-mini-tile > div { display: grid; gap: 1px; min-width: 0; }
.aa-mini-tile small { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-3); }
.aa-mini-tile b { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.aa-mini-tile .muted { font-size: var(--fs-xs); }

/* ---------- drawers (order + customer) ---------- */
.aa-drawer .drawer { width: min(520px, 100%); }
.aa-od-title { font-family: var(--font-mono); font-weight: 500; letter-spacing: -.01em; }
.aa-od-title .muted { font-family: var(--font-display); font-weight: 600; margin-right: 4px; }
.aa-od-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.aa-od-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.aa-od-when { font-size: var(--fs-sm); margin-top: 8px; }
.aa-od-box { margin-top: 16px; padding: 16px; background: var(--surface-2); border-radius: 14px; display: grid; gap: 14px; }
.aa-od-box h3, .aa-od-sec h3 { font-size: var(--fs); }
.aa-od-box .input { background: var(--surface); }
.aa-od-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.aa-od-actions .btn-primary { flex: 1 1 auto; }
.aa-od-done { display: inline-flex; align-items: center; gap: 8px; color: var(--ok); font-weight: 600; }
.aa-od-hint { display: flex; align-items: center; gap: 8px; font-size: var(--fs-xs); }
.aa-od-sec { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.aa-od-sec h3 { margin-bottom: 12px; }
.aa-od-cust { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.aa-od-cust b { display: block; }
.aa-od-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.aa-od-note { padding: 12px 14px; border-radius: 10px; background: var(--warn-soft); color: var(--ink); }
.aa-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.aa-steps li { position: relative; display: grid; justify-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; color: var(--ink-3); text-align: center; }
.aa-steps li::before { content: ""; position: absolute; top: 10px; right: 50%; width: 100%; height: 2px; background: var(--line-strong); }
.aa-steps li:first-child::before { display: none; }
.aa-steps li.done::before, .aa-steps li.now::before { background: var(--brand); }
.aa-steps li.done, .aa-steps li.now { color: var(--ink); }
.aa-step-dot { position: relative; z-index: 1; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line-strong); color: var(--brand-ink); }
.aa-steps .done .aa-step-dot, .aa-steps .now .aa-step-dot { background: var(--brand); border-color: var(--brand); }
.aa-steps .now .aa-step-dot { box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent); }
.aa-cancelled { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bad-soft); color: var(--bad); }
.aa-cancelled .ico { margin-top: 2px; }
.aa-cancelled b { display: block; color: var(--ink); }
.aa-cancelled small { color: var(--ink-2); }
.aa-items-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.aa-items-list li:last-child { border-bottom: 0; }
.aa-it-t { flex: 1; display: grid; min-width: 0; line-height: 1.35; font-weight: 600; }
.aa-it-t a:hover { color: var(--brand); }
.aa-it-t small { font-weight: 500; }
.aa-items-list b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.aa-totals { margin: 8px 0 0; display: grid; gap: 7px; font-size: var(--fs); }
.aa-totals > div { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.aa-totals dt { color: var(--ink-3); } .aa-totals dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; }
.aa-totals .is-disc dd { color: var(--ok); }
.aa-totals .is-total { margin-top: 4px; padding-top: 12px; border-top: 1px dashed var(--line-strong); }
.aa-totals .is-total dt { color: var(--ink); font-weight: 700; }
.aa-totals .is-total dd { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; }
.aa-paybox { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--warn-soft); color: var(--warn); flex-wrap: wrap; }
.aa-paybox > div { flex: 1; min-width: 160px; display: grid; line-height: 1.35; }
.aa-paybox b { color: var(--ink); } .aa-paybox small { color: var(--ink-2); }
.aa-tl { padding-top: 2px; }
.aa-tl .tl-dot { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.aa-tl li.aa-tl-bad .tl-dot { background: var(--bad); border-color: var(--bad); }
.aa-tl .aa-tl-note { color: var(--ink-2); font-style: italic; }
.aa-cp-head { display: flex; align-items: center; gap: 16px; }
.aa-cp-head h3 { font-size: var(--fs-xl); margin-bottom: 2px; }
.aa-cp-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.aa-cp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0 14px; }
.aa-cp-stats > div { padding: 12px 14px; border-radius: 12px; background: var(--surface-2); display: grid; gap: 2px; }
.aa-cp-stats small { color: var(--ink-3); font-size: var(--fs-xs); font-weight: 600; }
.aa-cp-stats b { font-family: var(--font-display); font-size: 1.12rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.aa-hist { display: grid; gap: 8px; }
.aa-hist-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; color: inherit; transition: border-color .15s, background .15s; }
.aa-hist-row:hover { border-color: var(--line-strong); background: var(--surface-2); color: inherit; }
.aa-hist-t { display: grid; min-width: 0; line-height: 1.35; }
.aa-hist-t small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aa-hist-v { display: grid; justify-items: end; gap: 4px; flex: none; }
.aa-hist-v b { font-variant-numeric: tabular-nums; }

/* ---------- responsive ---------- */
@container aarecent (max-width: 820px) { .aa-hide-md { display: none; } }
@container aatable (max-width: 1060px) { .aa-otable .aa-c-items { display: none; } }
@container aarecent (max-width: 560px) { .aa-hide-sm { display: none; } }
@media (max-width: 1360px) {
  .aa-attn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
  .aa-c-rev, .aa-c-recent { grid-column: span 12; }
  .aa-c-status, .aa-c-cat, .aa-c-top, .aa-c-low { grid-column: span 6; }
  .aa-c-low { order: 5; } .aa-c-recent { order: 6; }
  .aa-kpis, .aa-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .aa-grid { gap: 14px; }
  .aa-c-status, .aa-c-cat, .aa-c-top, .aa-c-low { grid-column: span 12; }
  .aa-c-low { order: 0; } .aa-c-recent { order: 0; }
  .aa-head .actions { width: 100%; }
  .aa-head .aa-seg { width: 100%; } .aa-head .aa-seg button { flex: 1; }
}
@media (max-width: 560px) {
  .aa-attn-grid { grid-template-columns: 1fr; gap: 8px; }
  .aa-kpis, .aa-mini { grid-template-columns: 1fr; gap: 12px; }
  .aa-kpi { grid-template-columns: minmax(0, 1fr) 112px; grid-template-areas: "label spark" "value spark" "foot foot"; column-gap: 12px; row-gap: 6px; align-items: center; }
  .aa-kpi .kpi-label { grid-area: label; } .aa-kpi .kpi-value { grid-area: value; } .aa-kpi .aa-kspark { grid-area: spark; margin: 0; } .aa-kpi .aa-kfoot { grid-area: foot; }
  .aa-panel { padding: 16px; } .aa-pad { padding: 16px 16px 0; } .aa-panel-flush { padding: 0; }
  .aa-toprow { grid-template-columns: 18px 40px minmax(0, 1fr) 76px; gap: 10px; }
  .aa-toolbar .select { flex: 1 1 calc(50% - 6px); min-width: 0; width: auto; } .aa-toolbar #aa-o-pay { flex-basis: 100%; } .aa-custom { flex: 1 1 100%; width: 100%; }
  .aa-custom .input { flex: 1; width: auto; }
  .aa-bulk-actions { margin-left: 0; width: 100%; }
  .aa-od-actions .btn { flex: 1 1 100%; }
  .aa-pass-btn { height: 38px; }
}
@media (pointer: coarse) {
  .aa-fchip { height: 42px; } .aa-seg button { min-height: 40px; } .aa-cbl { width: 44px; height: 44px; margin-block: -12px; }
}

/* orders + customers tables turn into stacked cards on phones */
@media (max-width: 720px) {
  .aa-table thead { display: none; }
  .aa-table, .aa-table tbody { display: block; width: 100%; }
  .aa-table tr { display: grid; gap: 4px 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .aa-table tr:last-child { border-bottom: 0; }
  .aa-table td { display: block; padding: 0; border: 0; min-width: 0; }
  .aa-table tbody tr:hover td { background: none; }
  .aa-table tbody tr.is-sel { background: var(--brand-soft); }
  .aa-table tbody tr.is-sel td { background: none; }
  .aa-table .num { text-align: left; }
  .aa-otable tr { grid-template-columns: 28px auto minmax(0, 1fr) auto; grid-template-areas: "cb id date status" "cb cust cust total" "cb pay pay act"; align-items: center; }
  .aa-otable .aa-c-cb { grid-area: cb; padding: 0 !important; width: auto; align-self: start; }
  .aa-otable .aa-c-id { grid-area: id; } .aa-otable .aa-c-status { grid-area: status; justify-self: end; }
  .aa-otable .aa-c-cust { grid-area: cust; margin-top: 4px; } .aa-otable .aa-c-total { grid-area: total; justify-self: end; text-align: right; }
  .aa-otable .aa-c-date { grid-area: date; display: flex; gap: 6px; align-items: baseline; font-size: var(--fs-sm); color: var(--ink-3); } .aa-otable .aa-c-date .aa-d1 { font-weight: 500; display: inline; color: var(--ink-2); } .aa-otable .aa-c-date small { display: inline; }
  .aa-otable .aa-c-pay { grid-area: pay; } .aa-otable .aa-c-act { grid-area: act; width: auto; }
  .aa-otable .aa-c-items { display: none; }
  .aa-ctable tr { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name spent" "city placed" "last last"; align-items: center; }
  .aa-ctable .aa-c-name { grid-area: name; } .aa-ctable .aa-c-spent { grid-area: spent; text-align: right; }
  .aa-ctable .aa-c-city { grid-area: city; display: flex; gap: 8px; align-items: baseline; } .aa-ctable .aa-c-city small { display: inline; }
  .aa-ctable .aa-c-placed { grid-area: placed; text-align: right; } .aa-pn::after { content: " orders"; color: var(--ink-3); font-size: var(--fs-sm); }
  .aa-ctable .aa-c-lastOrder { grid-area: last; display: flex; gap: 8px; align-items: baseline; font-size: var(--fs-sm); color: var(--ink-3); } .aa-ctable .aa-c-lastOrder small { display: inline; }
  .aa-ctable .aa-c-lastOrder::before { content: "Last order"; }
  .aa-ctable .aa-c-joined { display: none; }
  .aa-tfoot { justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
  .aa-mini-table thead { display: none; }
  .aa-mini-table, .aa-mini-table tbody { display: block; width: 100%; }
  .aa-mini-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "id status" "cust total" "items items"; gap: 6px 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .aa-mini-table tr:last-child { border-bottom: 0; }
  .aa-mini-table td { display: block; padding: 0 !important; border: 0; min-width: 0; }
  .aa-mini-table td:nth-child(1) { grid-area: id; } .aa-mini-table td:nth-child(2) { grid-area: cust; }
  .aa-mini-table td.num { grid-area: total; text-align: right; } .aa-mini-table td:nth-child(5) { grid-area: status; justify-self: end; }
  .aa-mini-table td:nth-child(3) { grid-area: items; display: block; color: var(--ink-2); font-size: var(--fs-sm); }
  .aa-mini-table td:nth-child(6) { display: none; }
  .aa-mini-table tbody tr:hover td { background: none; }
}

/* the closed phone sidebar leaks its shadow onto the left edge of the page */
@media (max-width: 860px) { html:not(.adm-nav-open) .adm-side { box-shadow: none; } }

@media (max-width: 560px) {
  .aa-mini { grid-template-columns: 1fr 1fr; gap: 10px; }
  .aa-mini-tile { flex-direction: column; gap: 8px; padding: 12px 14px; }
  .aa-mini-tile b { font-size: 1.3rem; }
  .aa-mini-tile .muted { display: none; }
}

/* ---------- admin: calm neutral theme, centred nav (one quiet accent, no orange) ---------- */
.shell-admin {
  --bg: #FAFAFA; --surface: #FFFFFF; --surface-2: #F4F4F5; --surface-3: #E9E9EB;
  --line: #E7E7EA; --line-strong: #D1D1D6;
  --ink: #111113; --ink-2: #55555E; --ink-3: #82828C;
  --brand: #1D4ED8; --brand-strong: #1E40AF; --brand-ink: #FFFFFF; --brand-soft: #EEF2FD;
  --accent: #111113; --accent-ink: #FFFFFF; --accent-soft: #F4F4F5;
  --media-bg: #F4F4F5;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) :is(.shell-admin, .aa-login) {
    --bg: #0A0A0B; --surface: #111113; --surface-2: #18181B; --surface-3: #212125;
    --line: #232327; --line-strong: #34343A;
    --ink: #EDEDEF; --ink-2: #A8A8B0; --ink-3: #7A7A84;
    --brand: #5B8CFF; --brand-strong: #8FB0FF; --brand-ink: #06122E; --brand-soft: #16213D;
    --accent: #EDEDEF; --accent-ink: #0A0A0B; --accent-soft: #18181B;
    --media-bg: #18181B;
  }
}
:root[data-theme="dark"] :is(.shell-admin, .aa-login) {
  --bg: #0A0A0B; --surface: #111113; --surface-2: #18181B; --surface-3: #212125;
  --line: #232327; --line-strong: #34343A;
  --ink: #EDEDEF; --ink-2: #A8A8B0; --ink-3: #7A7A84;
  --brand: #5B8CFF; --brand-strong: #8FB0FF; --brand-ink: #06122E; --brand-soft: #16213D;
  --accent: #EDEDEF; --accent-ink: #0A0A0B; --accent-soft: #18181B;
  --media-bg: #18181B;
}
.shell-admin .adm-nav { margin-block: auto; gap: 4px; }
.shell-admin .adm-side-foot { margin-top: 0; }
.shell-admin .adm-link.active { background: var(--surface-2); color: var(--ink); }
.shell-admin .adm-badge { min-width: 0; height: auto; padding: 0; background: none; color: var(--ink-3); font-weight: 600; font-size: 12px; }

.aa-login { grid-template-columns: 1fr; }
.aa-login-side { padding-block: 40px; }
.aa-lf-head { text-align: center; justify-items: center; }

/* ---------- admin: quiet layout. No boxes round stats, no pills, row tools appear on hover ---------- */
/* stats: plain numbers on the page, one hairline under the row */
.shell-admin .kpi { background: none; border: 0; box-shadow: none; padding: 2px 0; border-radius: 0; }
.shell-admin .aa-kpi:hover { box-shadow: none; border: 0; }
.shell-admin .kpi-label { font-weight: 500; }
.shell-admin .ab-kpi-ico { display: none; }
.shell-admin .aa-kpis, .shell-admin .ab-kpis { gap: 28px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.shell-admin .ab-kpi.is-warn .kpi-value, .shell-admin .ab-kpi.is-bad .kpi-value { color: var(--ink); }
.shell-admin .ab-kpi.is-warn .kpi-label, .shell-admin .ab-kpi.is-bad .kpi-label { color: var(--ink-3); }

/* pills become a dot and a word */
.shell-admin .badge { height: auto; padding: 0; border-radius: 0; background: none; font-weight: 600; gap: 7px; }
.shell-admin .badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.shell-admin .badge-dot::before { content: ""; }
.shell-admin .badge-muted, .shell-admin .badge-brand { color: var(--ink-3); }
.shell-admin .ab-count, .shell-admin .tabs button.active .ab-count, .shell-admin .ab-count.is-warn { min-width: 0; height: auto; padding: 0; background: none; border-radius: 0; font-weight: 500; color: var(--ink-3); }
.shell-admin .tabs button.active { color: var(--ink); border-bottom-color: var(--ink); }
.shell-admin .aa-fchip { height: auto; padding: 4px 2px; border: 0; border-radius: 0; background: none; color: var(--ink-3); border-bottom: 2px solid transparent; }
.shell-admin .aa-fchip:hover { color: var(--ink); border-color: transparent; }
.shell-admin .aa-fchip[aria-pressed="true"] { background: none; color: var(--ink); border-bottom-color: var(--ink); }
.shell-admin .aa-fchip b, .shell-admin .aa-fchip[aria-pressed="true"] b { min-width: 0; height: auto; padding: 0; background: none; border-radius: 0; font-weight: 500; color: var(--ink-3); }
.shell-admin .aa-chips { gap: 22px; }
.shell-admin .ab-chip { height: auto; padding: 0; border: 0; border-radius: 0; background: none; color: var(--ink-3); }
.shell-admin .ab-chip:hover { background: none; color: var(--ink); }

/* tables: no outer box, no grey header bar, hairlines only */
.shell-admin .aa-tablecard, .shell-admin .table-wrap { background: none; border: 0; border-radius: 0; }
.shell-admin .table th { background: none; font-weight: 600; letter-spacing: .04em; border-bottom: 1px solid var(--line); }
.shell-admin .table td { padding-block: 16px; }
.shell-admin .table tbody tr:hover td { background: var(--surface-2); }
.shell-admin .ab-table th.ab-c-acts, .shell-admin .ab-table td.ab-c-acts { background: none; box-shadow: none; }

/* row tools: shown on hover or keyboard focus. Keeps layout steady by fading, not removing. */
@media (hover: hover) {
  .shell-admin .table tbody tr:not(:hover):not(:focus-within) :is(.ab-c-acts, .ab-c-adj, .aa-c-act) > * { opacity: 0; }
  .shell-admin .table tbody tr :is(.ab-c-acts, .ab-c-adj, .aa-c-act) > * { transition: opacity .12s; }
}
/* touch: tap a row to open its tools */
@media (hover: none) {
  .shell-admin .table tbody tr:not(.is-open) :is(.ab-c-acts, .ab-c-adj, .aa-c-act) > * { display: none; }
  .shell-admin .table tbody tr:not(.is-open) .ab-c-adj { display: none; }
}
.shell-admin .ab-kpi .kpi-value, .shell-admin .aa-kpi .kpi-value { white-space: nowrap; overflow-wrap: normal; font-size: clamp(1.15rem, .8rem + 1vw, 1.6rem); }
.shell-admin .aa-kpis, .shell-admin .ab-kpis { gap: 20px; }

/* ---------- admin home: plain text, hairlines instead of boxes ---------- */
.shell-admin .aa-attn-grid { gap: 4px 28px; }
.shell-admin .aa-attn-item { padding: 8px 0; border: 0; border-radius: 0; background: none; box-shadow: none; transform: none; gap: 10px; }
.shell-admin .aa-attn-item:hover { border: 0; box-shadow: none; transform: none; }
.shell-admin .aa-attn-item:hover .aa-attn-t b { text-decoration: underline; text-underline-offset: 3px; }
.shell-admin .aa-attn-ico { display: none; }
.shell-admin .aa-attn-item::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--t); flex: none; }
.shell-admin .aa-attn-go { display: none; }
.shell-admin .aa-kico, .shell-admin .aa-kspark { display: none; }
.shell-admin .aa-live { padding: 0; background: none; }
.shell-admin .aa-seg { background: none; padding: 0; gap: 18px; }
.shell-admin .aa-seg button { min-height: 0; padding: 4px 0; border-radius: 0; border-bottom: 2px solid transparent; }
.shell-admin .aa-seg button[aria-pressed="true"] { background: none; box-shadow: none; border-bottom-color: var(--ink); }
.shell-admin .panel, .shell-admin .card { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding-inline: 0; box-shadow: none; }
.shell-admin .aa-panel-flush { padding: 0; }
.shell-admin .aa-grid { gap: 32px 40px; margin-top: 24px; }
.shell-admin .adm-tag { display: none; }
.shell-admin .badge-new { color: var(--brand); }
.shell-admin .badge-dark { color: var(--ink); }
.shell-admin .badge-sale { color: var(--accent); }
.shell-admin .badge-used { color: var(--ink-2); box-shadow: none; }
.shell-admin .table-wrap, .shell-admin .aa-tablecard { position: relative; }
