.operational-shell {
  --rail-base: color-mix(in srgb, var(--sidebar) 93%, #27190f);
  --rail-muted: var(--sidebar-muted);
  --row-hover: color-mix(in srgb, var(--feature) 48%, var(--surface));
  grid-template-columns: 226px minmax(0, 1fr);
}

.operational-body { min-width: 0; }
.operational-shell .sidebar {
  background: var(--rail-base);
  padding: 19px 13px 13px;
}
.operational-shell .sidebar-brand-stack {
  gap: 15px;
  margin-bottom: 13px;
  padding: 1px 1px 13px;
}
.operational-shell .sidebar-brand-stack .platform-home { margin-inline-start: 6px; }
.operational-shell .sidebar-brand-stack .store-identity {
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid var(--sidebar-border);
  border-radius: 9px;
  background: color-mix(in srgb, var(--sidebar-raised) 72%, var(--rail-base));
}
.operational-shell .sidebar-brand-stack .store-identity strong {
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 650;
}
.operational-shell .sidebar-brand-stack .store-identity small { margin-top: 0; }
.operational-shell .sidebar-nav { gap: 14px; }
.operational-shell .nav-section, .operational-shell .nav-section-links { display: grid; gap: 2px; }
.operational-shell .nav-section .eyebrow { margin: 0 10px 5px; font-size: 10px; }
.operational-shell .sidebar .nav-link {
  min-height: 39px;
  padding: 7px 10px;
  gap: 10px;
  border-radius: 8px;
  font-size: 13px;
}
.operational-shell .sidebar .nav-link[aria-current="page"] {
  border-color: color-mix(in srgb, var(--brand) 28%, var(--sidebar-border));
  background: color-mix(in srgb, var(--brand) 13%, var(--sidebar-raised));
  box-shadow: inset 2px 0 var(--brand);
}
.operational-shell .sidebar-foot {
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid var(--sidebar-border);
}
.operational-shell .sidebar-storefront span { flex: 1; }
.operational-shell .sidebar-storefront svg:last-child { width: 14px; height: 14px; }
.operational-shell .aside-user { background: color-mix(in srgb, var(--sidebar-raised) 62%, var(--rail-base)); }

.operational-shell .topbar {
  min-height: 61px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
}
.operational-shell .desktop-crumbs { font-size: 13px; gap: 9px; }
.operational-shell .desktop-crumbs > svg { width: 14px; height: 14px; color: var(--faint); }
.operational-shell .top-actions .search-trigger {
  background: var(--bg);
  border-color: var(--border);
  font-weight: 580;
}
.operational-shell .top-actions kbd {
  font-family: inherit;
  font-size: 10px;
  white-space: nowrap;
  color: var(--muted);
  background: var(--surface);
  padding: 3px 5px;
}
.operational-shell .top-actions .icon-button { border-color: var(--border); }

.dashboard-workspace { max-width: 1340px; padding-top: 22px; }
.dashboard-workspace > [data-demo-notice] { font-size: 12px; }
.dashboard-workspace .dashboard-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 18px;
  min-height: 0;
  margin: 0 0 26px;
  padding: 4px 0 18px;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: none;
}
.dashboard-intro-copy { min-width: 0; }
.dashboard-workspace .dashboard-intro h1 {
  font-size: clamp(30px, 3.1vw, 42px);
  line-height: 1.08;
  letter-spacing: -.051em;
}
.dashboard-context {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 11px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}
.dashboard-context > span { font-weight: 650; color: var(--text); overflow-wrap: anywhere; }
.dashboard-context time { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.dashboard-context time svg { width: 15px; height: 15px; }
.dashboard-workspace .dashboard-intro-actions { margin: 0; gap: 8px; }
.dashboard-workspace .dashboard-intro-actions .button { min-height: 44px; }
.dashboard-workspace .dashboard-intro-actions .secondary { border-color: var(--border); background: var(--surface); }
.dashboard-workspace .dashboard-summary .section-heading,
.dashboard-workspace .dashboard-actions .section-heading { margin-bottom: 10px; }
.dashboard-workspace .section-heading h2 { font-size: 17px; letter-spacing: -.024em; }
.dashboard-workspace .kpi-grid { grid-template-columns: repeat(var(--metric-count,4), minmax(0, 1fr)); gap: 11px; }
.dashboard-workspace .kpi {
  min-height: 130px;
  padding: 13px 14px 12px;
  gap: 5px;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--text) 4%, transparent);
}
.dashboard-workspace .kpi-top {
  justify-content: space-between;
  gap: 4px;
  min-width: 0;
  color: var(--muted);
}
.dashboard-workspace .kpi-top h3 {
  min-width: 0;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0;
}
.dashboard-workspace .kpi .symbol { width: 34px; height: 34px; }
.dashboard-workspace .kpi strong {
  margin-top: 4px;
  font-size: clamp(22px, 2.25vw, 31px);
  font-weight: 700;
  letter-spacing: -.046em;
}
.dashboard-workspace .kpi .caption { margin-top: auto; }
.dashboard-workspace .dashboard-actions { margin-top: 24px; }
.dashboard-workspace .quick-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.dashboard-workspace .quick-link {
  min-height: 67px;
  gap: 9px;
  padding: 10px 11px;
}
.dashboard-workspace .quick-link:hover { background: var(--row-hover); }
.dashboard-workspace .quick-link .symbol { width: 35px; height: 35px; border-radius: 8px; }
.dashboard-workspace .quick-link strong { font-weight: 670; text-wrap: pretty; }
.dashboard-workspace .quick-link .caption { line-height: 1.2; }
.dashboard-workspace .dashboard-activity { margin-top: 23px; }
.dashboard-workspace .dashboard-activity.split { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.dashboard-activity > div { min-width: 0; }
.dashboard-activity .panel { min-width: 0; padding: 14px; }
.dashboard-activity .panel-heading { align-items: center; min-height: 31px; margin-bottom: 11px; }
.dashboard-activity .panel-heading h2 { font-size: 17px; }
.dashboard-activity .panel-heading .button { min-height: 33px; white-space: nowrap; }
.dashboard-activity .empty { padding-block: 16px; }
.dashboard-activity .recent-sale-list .row { gap: 8px; padding-inline: 2px; }
.dashboard-activity .recent-sale-list .row-value { display: grid; gap: 4px; justify-items: end; white-space: nowrap; }
.dashboard-activity .recent-sale-list .row-value strong { font-variant-numeric: tabular-nums; }
.dashboard-activity .follow-list { display: grid; gap: 6px; }
.dashboard-activity .follow-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 51px;
  padding: 6px;
  border-radius: 8px;
}
.dashboard-activity a.follow-item:hover { background: var(--row-hover); }
.dashboard-activity .follow-item + .follow-item { border-top: 1px solid var(--border); }
.dashboard-activity .follow-copy { min-width: 0; line-height: 1.35; }
.dashboard-activity .follow-copy strong { display: block; font-size: 13px; overflow-wrap: anywhere; }
.dashboard-activity .follow-value { color: var(--text); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.dashboard-activity .follow-item > svg { color: var(--muted); width: 14px; height: 14px; }

@media (791px <= width <= 1060px) {
  .operational-shell { grid-template-columns: 192px minmax(0, 1fr); }
  .operational-shell .sidebar { padding-inline: 9px; }
  .dashboard-workspace { padding-inline: 15px; }
  .dashboard-workspace .kpi { padding-inline: 10px; }
  .dashboard-workspace .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (width <= 790px) {
  .operational-shell .topbar { gap: 11px; min-height: 59px; padding: 7px 13px; }
  .operational-shell .topbar .mobile-brand { gap: 4px; }
  .operational-shell .top-actions { gap: 6px; }
  .operational-shell .top-actions .mode-tag { padding-inline: 6px; font-size: 10px; }
  .operational-shell .top-actions .icon-button,
  .operational-shell .top-actions .search-trigger { width: 42px; min-width: 42px; min-height: 42px; }
  .operational-shell .mobile-nav {
    gap: 4px;
    padding: 5px 5px max(5px,env(safe-area-inset-bottom));
    background: var(--surface);
    box-shadow: 0 -5px 18px color-mix(in srgb, var(--text) 8%, transparent);
  }
  .operational-shell .mobile-nav .nav-link { gap: 4px; min-height: 48px; font-size: 10px; font-weight: 600; border-radius: 9px; }
  .operational-shell .mobile-nav .nav-link > svg { width: 18px; height: 18px; }
  .operational-shell .mobile-nav .nav-link[aria-current="page"],
  .operational-shell .mobile-nav .nav-link[data-current] {
    color: var(--accent);
    background: var(--feature);
    border-color: color-mix(in srgb, var(--feature-border) 65%, transparent);
    font-weight: 720;
  }
  .dashboard-workspace { padding: 15px 13px 84px; }
}
@media (width <= 620px) {
  .dashboard-workspace .dashboard-intro { gap: 12px; padding: 2px 0 13px; margin-bottom: 16px; }
  .dashboard-workspace .dashboard-intro h1 { font-size: 32px; }
  .dashboard-context { font-size: 12px; }
  .dashboard-workspace .dashboard-intro-actions { width: 100%; }
  .dashboard-workspace .dashboard-intro-actions .button { flex: 1; font-size: 13px; padding-inline: 9px; }
  .dashboard-workspace .dashboard-intro-actions .primary { order: -1; }
  .dashboard-workspace .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .dashboard-workspace .kpi:only-child { grid-column: 1 / -1; }
  .dashboard-workspace .kpi { min-height: 99px; padding: 8px 10px; }
  .dashboard-workspace .kpi-top h3 { font-size: 12px; }
  .dashboard-workspace .kpi .symbol { width: 28px; height: 28px; }
  .dashboard-workspace .kpi .symbol svg { width: 15px; height: 15px; }
  .dashboard-workspace .kpi strong { margin-top: 1px; font-size: 22px; }
  .dashboard-workspace .dashboard-actions, .dashboard-workspace .dashboard-activity { margin-top: 17px; }
  .dashboard-workspace .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .dashboard-workspace .quick-link { min-height: 53px; padding: 6px 8px; }
  .dashboard-workspace .quick-link .symbol { width: 30px; height: 30px; }
  .dashboard-workspace .quick-link > svg { width: 12px; height: 12px; }
  .dashboard-workspace .dashboard-activity.split { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .dashboard-activity .panel { padding: 11px; }
}

.search-result-list .search-result { display: block; border-radius: 8px; }
.search-result-list .search-result + .search-result { border-top: 1px solid var(--border); }
.search-result-list .search-result .row { border: 0; padding-inline: 7px; }
.search-result-list .search-result:hover { background: var(--surface-raised); }
.search-result-price { display: flex; align-items: center; gap: 7px; }
.search-result-price > svg { flex: 0 0 auto; width: 14px; height: 14px; color: var(--muted); }
