/* ═══════════════════════════════════════════════════════
   SAFO — ui2-seller: Professional Seller Dashboard
   Namespaced: .ui2-seller-*
   ═══════════════════════════════════════════════════════ */

/* ── Design Tokens ───────────────────────────────────── */
.ui2-seller {
  --ui2-primary: #059669;
  --ui2-primary-light: #D1FAE5;
  --ui2-bg: #F8F9FA;
  --ui2-surface: #FFFFFF;
  --ui2-text: #111827;
  --ui2-text-secondary: #6B7280;
  --ui2-border: #E5E7EB;
  --ui2-radius: 16px;
  --ui2-radius-sm: 12px;
  --ui2-shadow: 0 2px 12px rgba(0,0,0,0.06);
  --ui2-shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
}

/* ═══ Store Header ═════════════════════════════════════ */
.ui2-header {
  background: var(--ui2-surface);
  border-radius: var(--ui2-radius);
  overflow: hidden;
  box-shadow: var(--ui2-shadow);
  margin-bottom: 20px;
}
.ui2-cover {
  position: relative;
  height: 160px;
  background: linear-gradient(135deg, #0d9488, #059669, #047857);
  overflow: hidden;
}
.ui2-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ui2-cover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}
.ui2-cover-edit {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.2s;
}
.ui2-cover-edit:hover {
  background: #fff;
  transform: scale(1.1);
}
.ui2-header-body {
  padding: 0 20px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.ui2-avatar-wrap {
  margin-top: -40px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.ui2-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid #fff;
  background: var(--ui2-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ui2-primary);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.ui2-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ui2-header-info {
  flex: 1;
  padding-top: 8px;
  min-width: 0;
}
.ui2-store-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--ui2-text);
  margin: 0 0 4px;
  line-height: 1.3;
}
.ui2-store-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ui2-text-secondary);
}
/* .ui2-badge-verified removed — replaced by .safo-verified-badge */
/* Alibaba-style verified supplier badge */
.safo-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
  color: white;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 1px 3px rgba(30, 64, 175, 0.3);
  white-space: nowrap;
}
.safo-verified-badge svg {
  width: 14px;
  height: 14px;
  stroke: white;
  stroke-width: 2.5;
  fill: none;
  flex-shrink: 0;
}
.safo-verified-badge--sm {
  padding: 2px 7px;
  font-size: 10px;
  gap: 3px;
}
.safo-verified-badge--sm svg {
  width: 12px;
  height: 12px;
}
/* Gold supplier badge (Alibaba style) */
.safo-gold-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  background: linear-gradient(135deg, #92400E 0%, #D97706 50%, #F59E0B 100%);
  color: white;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 1px 3px rgba(146, 64, 14, 0.3);
}
.safo-gold-badge svg {
  width: 14px;
  height: 14px;
  stroke: white;
  stroke-width: 2.5;
  fill: none;
}
.ui2-header-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.ui2-header-actions .btn {
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 10px;
}

/* ═══ Profile Completion ══════════════════════════════ */
.ui2-completion {
  background: linear-gradient(135deg, #FEF3C7, #FDE68A);
  border: 1px solid #F59E0B;
  border-radius: var(--ui2-radius);
  padding: 16px 20px;
  margin-bottom: 20px;
}
.ui2-completion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.ui2-completion-title {
  font-size: 14px;
  font-weight: 700;
  color: #92400E;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ui2-completion-pct {
  font-size: 13px;
  font-weight: 600;
  color: #B45309;
}
.ui2-completion-bar {
  height: 8px;
  background: rgba(255,255,255,0.6);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}
.ui2-completion-fill {
  height: 100%;
  background: linear-gradient(90deg, #F59E0B, #059669);
  border-radius: 8px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.ui2-completion-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ui2-completion-step {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(255,255,255,0.7);
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.ui2-completion-step:hover {
  background: rgba(255,255,255,0.9);
}
.ui2-completion-step.done {
  color: #059669;
}
.ui2-completion-step.pending {
  color: #B45309;
}

/* ═══ KPI Cards ═══════════════════════════════════════ */
.ui2-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
@media (max-width: 480px) {
  .ui2-kpis { grid-template-columns: repeat(2, 1fr); }
}
.ui2-kpi {
  background: var(--ui2-surface);
  border-radius: var(--ui2-radius-sm);
  padding: 16px 12px;
  text-align: center;
  box-shadow: var(--ui2-shadow);
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.ui2-kpi:hover {
  transform: translateY(-2px);
  box-shadow: var(--ui2-shadow-lg);
}
.ui2-kpi-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
}
.ui2-kpi-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--ui2-text);
  line-height: 1.2;
}
.ui2-kpi-value.empty {
  color: #D1D5DB;
}
.ui2-kpi-label {
  font-size: 12px;
  color: var(--ui2-text-secondary);
  margin-top: 2px;
}
.ui2-kpi-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  background: #EF4444;
  color: #fff;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  animation: ui2-badgePop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes ui2-badgePop {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* ═══ Quick Actions ═══════════════════════════════════ */
.ui2-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  .ui2-actions { grid-template-columns: repeat(6, 1fr); }
}
.ui2-action {
  background: var(--ui2-surface);
  border-radius: var(--ui2-radius-sm);
  padding: 18px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid var(--ui2-border);
  -webkit-tap-highlight-color: transparent;
}
.ui2-action:active {
  transform: scale(0.96);
}
.ui2-action:hover {
  border-color: var(--ui2-primary);
  box-shadow: 0 4px 16px rgba(5,150,105,0.1);
}
.ui2-action-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}
.ui2-action-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ui2-text);
}
.ui2-action.cta {
  background: var(--ui2-primary);
  border-color: var(--ui2-primary);
}
.ui2-action.cta .ui2-action-label {
  color: #fff;
  font-weight: 600;
}

/* ═══ Today's Tasks ═══════════════════════════════════ */
.ui2-tasks {
  background: var(--ui2-surface);
  border-radius: var(--ui2-radius);
  padding: 20px;
  box-shadow: var(--ui2-shadow);
  margin-bottom: 20px;
}
.ui2-tasks-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.ui2-tasks-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ui2-text);
  display: flex;
  align-items: center;
  gap: 6px;
}
.ui2-task-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: var(--ui2-bg);
  border-radius: var(--ui2-radius-sm);
  margin-bottom: 8px;
  transition: all 0.2s;
}
.ui2-task-item:hover {
  background: #F0FDF4;
}
.ui2-task-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.ui2-task-body {
  flex: 1;
  min-width: 0;
}
.ui2-task-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--ui2-text);
  line-height: 1.4;
}
.ui2-task-time {
  font-size: 11px;
  color: var(--ui2-text-secondary);
  margin-top: 2px;
}
.ui2-task-action {
  flex-shrink: 0;
}
.ui2-tasks-empty {
  text-align: center;
  padding: 24px;
  color: var(--ui2-text-secondary);
  font-size: 14px;
}

/* ═══ Product Tabs ════════════════════════════════════ */
.ui2-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--ui2-border);
  margin-bottom: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.ui2-tab {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ui2-text-secondary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all 0.2s;
}
.ui2-tab:hover {
  color: var(--ui2-text);
}
.ui2-tab.active {
  color: var(--ui2-primary);
  border-bottom-color: var(--ui2-primary);
  font-weight: 600;
}
.ui2-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  background: var(--ui2-bg);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ui2-text-secondary);
  margin-right: 6px;
  padding: 0 5px;
}
.ui2-tab.active .ui2-tab-count {
  background: var(--ui2-primary-light);
  color: var(--ui2-primary);
}

/* ═══ Empty State (Products) ══════════════════════════ */
.ui2-empty-products {
  text-align: center;
  padding: 48px 24px;
  background: var(--ui2-surface);
  border-radius: var(--ui2-radius);
  border: 2px dashed var(--ui2-border);
}
.ui2-empty-products-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--ui2-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.ui2-empty-products h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ui2-text);
  margin: 0 0 6px;
}
.ui2-empty-products p {
  font-size: 13px;
  color: var(--ui2-text-secondary);
  margin: 0 0 16px;
}

/* ═══ FAB (Floating Action Button) ════════════════════ */
.ui2-fab {
  position: fixed;
  bottom: 80px;
  left: 20px;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--ui2-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(5,150,105,0.35);
  z-index: 100;
  transition: all 0.2s;
}
.ui2-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(5,150,105,0.45);
}
.ui2-fab:active {
  transform: scale(0.95);
}
@media (min-width: 769px) {
  .ui2-fab { display: none; }
}

/* ═══ Skeleton Loading ════════════════════════════════ */
.ui2-skeleton {
  background: linear-gradient(90deg, #F3F4F6 25%, #E5E7EB 50%, #F3F4F6 75%);
  background-size: 200% 100%;
  animation: ui2-shimmer 1.5s infinite;
  border-radius: 8px;
}
@keyframes ui2-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ═══ Responsive ══════════════════════════════════════ */
@media (max-width: 480px) {
  .ui2-header-body {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .ui2-header-info {
    text-align: center;
  }
  .ui2-store-meta {
    justify-content: center;
  }
  .ui2-header-actions {
    justify-content: center;
  }
  .ui2-kpi-value { font-size: 18px; }
  .ui2-cover { height: 120px; }
  .ui2-avatar { width: 64px; height: 64px; font-size: 1.5rem; }
  .ui2-avatar-wrap { margin-top: -32px; }
}

/* ═══ Dark Mode ═══════════════════════════════════════ */
.dark-mode .ui2-header,
.dark-mode .ui2-tasks {
  background: #1F2937;
}
.dark-mode .ui2-kpi {
  background: #1F2937;
}
.dark-mode .ui2-action {
  background: #1F2937;
  border-color: #374151;
}
.dark-mode .ui2-action:hover {
  border-color: #059669;
}
.dark-mode .ui2-store-name { color: #F9FAFB; }
.dark-mode .ui2-kpi-value { color: #F9FAFB; }
.dark-mode .ui2-action-label { color: #F9FAFB; }
.dark-mode .ui2-task-item { background: #374151; }
.dark-mode .ui2-task-item:hover { background: #064E3B; }
.dark-mode .ui2-empty-products { background: #1F2937; border-color: #374151; }
.dark-mode .ui2-empty-products h4 { color: #F9FAFB; }
.dark-mode .ui2-tabs { border-color: #374151; }
.dark-mode .ui2-completion { background: linear-gradient(135deg, #451A03, #78350F); border-color: #92400E; }
.dark-mode .ui2-completion-title { color: #FDE68A; }
.dark-mode .ui2-completion-pct { color: #FCD34D; }


/* ═══ SAFO Store Command Center — visible hierarchy, no sidebar ═══ */
.seller-layout--command {
  --seller-command-ink: #065F46;
  --seller-command-muted: #64748b;
  --seller-command-line: #e2e8f0;
  --seller-command-primary: #047857;
  --seller-command-primary-soft: #ecfdf5;
  display: block !important;
  min-height: 100vh;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}
.seller-layout--command .seller-main {
  width: 100% !important;
  min-height: 100vh;
  margin: 0 !important;
  background: transparent !important;
}
.seller-topbar--command {
  position: sticky !important;
  top: 0;
  z-index: 40;
  min-height: 76px;
  padding: 14px clamp(16px, 4vw, 48px) !important;
  gap: 20px;
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.seller-command-identity,
.seller-command-header-actions,
.seller-command-utility,
.seller-command-status,
.seller-command-group-title {
  display: flex;
  align-items: center;
}
.seller-command-identity { gap: 11px; min-width: 0; }
.seller-command-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 15px;
  object-fit: cover;
  border: 1px solid #d1fae5;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  box-shadow: 0 5px 14px rgba(5, 150, 105, 0.14);
}
.seller-command-avatar--initial {
  display: grid;
  place-items: center;
  color: #047857;
  font-size: 18px;
  font-weight: 800;
}
.seller-command-identity-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.seller-command-identity-copy strong {
  overflow: hidden;
  color: var(--seller-command-ink);
  font-size: 15px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.seller-command-eyebrow {
  color: var(--seller-command-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.seller-command-status {
  width: fit-content;
  gap: 4px;
  color: #a16207;
  font-size: 10px;
  font-weight: 700;
}
.seller-command-status svg { stroke: currentColor; }
.seller-command-status.is-verified { color: #047857; }
.seller-command-header-actions { gap: 8px; margin-inline-start: auto; }
.seller-command-page-title {
  margin-inline-end: 8px;
  color: var(--seller-command-ink);
  font-size: 16px;
  font-weight: 800;
}
.seller-command-utility {
  min-height: 38px;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid var(--seller-command-line);
  border-radius: 11px;
  background: #fff;
  color: #334155;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}
.seller-command-utility svg { stroke: currentColor; }
.seller-command-utility:hover { border-color: #86efac; background: #f0fdf4; color: #047857; transform: translateY(-1px); }
.seller-command-utility--danger:hover { border-color: #fecaca; background: #fff1f2; color: #be123c; }
.seller-command-nav {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(170px, 1fr) minmax(250px, 1.35fr) minmax(170px, 1fr);
  gap: 12px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 16px clamp(16px, 4vw, 48px) 4px;
}
.seller-command-group {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 16px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 4px 16px rgba(15, 23, 42, .035);
}
.seller-command-group-title {
  gap: 6px;
  margin: 0 2px 9px;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.seller-command-group-title svg { stroke: #059669; }
.seller-command-grid { display: grid; gap: 7px; }
.seller-command-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seller-command-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seller-command-item {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 58px;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #f8fafc;
  color: #334155;
  cursor: pointer;
  font: inherit;
  text-align: start;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.seller-command-item:hover { border-color: #a7f3d0; background: #f0fdf4; box-shadow: 0 4px 12px rgba(5, 150, 105, .08); transform: translateY(-1px); }
.seller-command-item.active { border-color: #6ee7b7; background: var(--seller-command-primary-soft); color: #047857; box-shadow: inset 0 0 0 1px rgba(16, 185, 129, .08); }
.seller-command-item.is-primary { background: linear-gradient(135deg, #047857, #059669); color: #fff; }
.seller-command-item.is-primary:hover { background: linear-gradient(135deg, #065f46, #047857); }
.seller-command-item-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 10px;
  background: #fff;
  color: #059669;
  box-shadow: 0 2px 6px rgba(15, 23, 42, .06);
}
.seller-command-item-icon svg { stroke: currentColor; }
.seller-command-item.is-primary .seller-command-item-icon { background: rgba(255,255,255,.17); color: #fff; }
.seller-command-item-label { overflow: hidden; font-size: 11px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.seller-command-item-check { display: grid; margin-inline-start: auto; place-items: center; }
.seller-command-item-check svg { stroke: currentColor; }
.seller-command-item .seller-nav-badge {
  position: absolute;
  top: 4px;
  inset-inline-end: 4px;
  display: none;
  min-width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}
.seller-content {
  max-width: 1500px;
  margin: 0 auto;
  padding: 16px clamp(16px, 4vw, 48px) 48px !important;
}

/* Profile → one entry point to all seller tools */
.profile-store-entry {
  margin: 0 16px 16px;
  padding: 14px;
  border: 1px solid #d1fae5;
  border-radius: 18px;
  background: linear-gradient(135deg, #f0fdf4, #ecfeff);
}
.profile-section-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 9px;
  color: #047857;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.profile-section-kicker svg { stroke: currentColor; }
.profile-store-entry-card {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 11px;
  padding: 11px;
  border: 1px solid rgba(16, 185, 129, .18);
  border-radius: 13px;
  background: rgba(255,255,255,.9);
  color: #065F46;
  cursor: pointer;
  font: inherit;
  text-align: start;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.profile-store-entry-card:hover { border-color: #6ee7b7; box-shadow: 0 7px 18px rgba(5, 150, 105, .1); transform: translateY(-1px); }
.profile-store-entry-icon { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 13px; background: #d1fae5; color: #047857; }
.profile-store-entry-icon svg, .profile-store-entry-arrow svg { stroke: currentColor; }
.profile-store-entry-copy { display: grid; min-width: 0; gap: 3px; }
.profile-store-entry-copy strong { font-size: 14px; font-weight: 800; }
.profile-store-entry-copy small { color: #64748b; font-size: 11px; line-height: 1.5; }
.profile-store-entry-arrow { margin-inline-start: auto; color: #059669; }

@media (max-width: 1120px) {
  .seller-command-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .seller-topbar--command { align-items: flex-start; flex-direction: column; gap: 12px; }
  .seller-command-header-actions { width: 100%; margin-inline-start: 0; overflow-x: auto; padding-bottom: 2px; }
  .seller-command-page-title { display: none; }
  .seller-command-utility { flex: 0 0 auto; }
  .seller-command-nav { grid-template-columns: 1fr; padding-top: 10px; }
  .seller-command-group { padding: 10px; }
  .seller-command-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seller-command-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seller-command-item { min-height: 54px; }
  .seller-content { padding-inline: 12px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .seller-command-utility, .seller-command-item, .profile-store-entry-card { transition: none; }
}


/* ═══ Mobile-first store identity hierarchy ═════════════════════════════ */
.seller-command-hero {
  position: relative;
  flex: 1 1 360px;
  min-width: 280px;
  overflow: hidden;
  border-radius: 17px;
  isolation: isolate;
}
.seller-command-cover {
  position: relative;
  min-height: 96px;
  overflow: hidden;
  border-radius: 17px;
  background: linear-gradient(135deg, #064e3b 0%, #047857 54%, #0f766e 100%);
}
.seller-command-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2,44,34,.88) 0%, rgba(4,120,87,.42) 52%, rgba(15,118,110,.12) 100%);
  pointer-events: none;
}
.seller-command-cover img {
  width: 100%;
  height: 100%;
  min-height: 96px;
  display: block;
  object-fit: cover;
  opacity: .82;
}
.seller-command-cover-edit {
  position: absolute;
  top: 9px;
  inset-inline-start: 9px;
  z-index: 2;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 9px;
  background: rgba(255,255,255,.18);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.seller-command-cover-edit svg { stroke: currentColor; }
.seller-command-hero .seller-command-identity {
  position: absolute;
  inset-inline: 12px;
  bottom: 10px;
  z-index: 2;
  color: #fff;
}
.seller-command-hero .seller-command-avatar {
  border: 2px solid rgba(255,255,255,.96);
  background: rgba(255,255,255,.18);
  box-shadow: 0 5px 16px rgba(2,44,34,.24);
}
.seller-command-hero .seller-command-avatar--initial { color: #fff; }
.seller-command-hero .seller-command-identity-copy strong,
.seller-command-hero .seller-command-eyebrow,
.seller-command-hero .seller-command-status { color: #fff; }
.seller-command-hero .seller-command-eyebrow { opacity: .78; }
.seller-command-hero .seller-command-status.is-verified { color: #bbf7d0; }
.seller-command-header-actions { flex-wrap: nowrap; }
.seller-command-utility { white-space: nowrap; }
.seller-content > .ui2-kpis { margin-top: 0; }
.seller-content > .ui2-completion { margin-top: 2px; }

@media (max-width: 700px) {
  .seller-topbar--command {
    gap: 9px;
    padding: 10px 12px 9px !important;
  }
  .seller-command-hero {
    width: 100%;
    min-width: 0;
    flex-basis: auto;
  }
  .seller-command-cover,
  .seller-command-cover img { min-height: 88px; }
  .seller-command-identity { gap: 9px; }
  .seller-command-avatar {
    width: 39px;
    height: 39px;
    flex-basis: 39px;
    border-radius: 12px;
  }
  .seller-command-identity-copy strong { font-size: 14px; }
  .seller-command-header-actions {
    gap: 6px;
    width: 100%;
    margin-inline-start: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .seller-command-header-actions::-webkit-scrollbar { display: none; }
  .seller-command-utility {
    min-height: 34px;
    padding: 0 9px;
    border-radius: 10px;
    font-size: 10px;
  }
  .seller-command-nav { padding: 8px 12px 2px; }
  .seller-command-group { padding: 9px; border-radius: 14px; }
  .seller-command-group-title { margin-bottom: 7px; }
  .seller-command-item { min-height: 50px; padding: 7px; }
  .seller-command-item-icon { width: 31px; height: 31px; flex-basis: 31px; border-radius: 9px; }
  .seller-command-item-label { font-size: 10px; }
  .seller-content { padding: 10px 12px 36px !important; }
  .ui2-kpis { gap: 8px; margin-bottom: 12px; }
  .ui2-kpi { padding: 11px 8px; border-radius: 13px; }
  .ui2-kpi-icon { width: 34px; height: 34px; margin-bottom: 5px; }
  .ui2-kpi-value { font-size: 18px; }
  .ui2-completion { padding: 13px; margin-bottom: 12px; border-radius: 14px; }
  .ui2-tasks { padding: 13px; margin-bottom: 12px; border-radius: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .seller-command-cover-edit { transition: none; }
}
