.seller-cabinet-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -8px 0 28px;
  padding: 0;
}
.seller-cabinet-navigation a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid #d3d8df;
  border-radius: 10px;
  background: #fff;
  color: #1f2937;
  font: 650 .85rem/1.3 "Inter", "Segoe UI", system-ui, sans-serif;
  text-align: center;
  text-decoration: none;
}
.seller-cabinet-navigation .seller-cabinet-navigation__home {
  border-color: #1f2937;
  background: #1f2937;
  color: #fff;
}
.seller-cabinet-navigation a[aria-current] {
  border-color: #f26522;
  box-shadow: inset 0 -3px #f26522;
}
.seller-cabinet-navigation a:hover { border-color: #f26522; }
.seller-cabinet-navigation a:focus-visible { outline: 3px solid #f26522; outline-offset: 2px; }
/* Keep shared cabinet navigation usable with cached page styles. */
.marketplace-utility-bar nav { min-width: 0; flex-wrap: wrap; gap: 10px 22px; }
.cabinet-action-filters { flex-wrap: wrap; }
.stock-matrix-scroll { position: relative; }

.seller-cabinet-page .header-inner.seller-header {
  display: grid;
  grid-template-columns: auto minmax(160px, 1fr) minmax(0, 2fr);
  gap: 12px 20px;
  padding: 10px 0;
}
.seller-header-identity { min-width: 0; display: grid; gap: 3px; text-align: left; }
.seller-header-identity strong { font-size: .85rem; line-height: 1.3; overflow-wrap: anywhere; }
.seller-header-identity span { color: #6b7280; font-size: .74rem; line-height: 1.4; overflow-wrap: anywhere; }
.seller-header .header-actions { min-width: 0; }
.seller-header .header-actions a { padding: 5px 0; }

.seller-dashboard-summary,
.seller-analytics-kpis,
.cabinet-action-summary,
.team-workload-kpis { max-width: 960px; gap: 10px; border: 0; }
.seller-dashboard-summary article,
.seller-analytics-kpis article,
.cabinet-action-summary article,
.team-workload-kpis > * {
  min-width: 0;
  min-height: 0;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  border: 1px solid #d3d8df;
  border-radius: 10px;
}
.seller-dashboard-summary article > strong,
.seller-analytics-kpis strong,
.cabinet-action-summary strong,
.team-workload-kpis strong { margin: 0; font-size: 1.7rem; line-height: 1.15; letter-spacing: -.025em; }
.seller-dashboard-summary article > a,
.seller-dashboard-summary article > small,
.seller-analytics-kpis small,
.cabinet-action-summary small,
.team-workload-kpis small { margin-top: 0; line-height: 1.35; }
.seller-dashboard-summary article > span,
.seller-analytics-kpis span,
.cabinet-action-summary span,
.team-workload-kpis span { line-height: 1.35; }

@media (max-width: 1040px) {
  .seller-cabinet-page .header-inner.seller-header { grid-template-columns: auto minmax(0, 1fr); }
  .seller-header .header-actions { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 720px) {
  .seller-cabinet-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seller-cabinet-navigation a { min-width: 0; padding: 10px 8px; }
  .seller-cabinet-navigation .seller-cabinet-navigation__home { grid-column: 1 / -1; }
  .seller-header .brand img { width: 140px; height: auto; }
  .seller-dashboard-summary article,
  .seller-analytics-kpis article,
  .cabinet-action-summary article,
  .team-workload-kpis > * { padding: 10px 12px; }
}

.seller-section-help { margin: -4px 0 22px; padding: 12px 16px; border-left: 3px solid #d98c35; background: #fffaf2; overflow-wrap: anywhere; }
.seller-section-help a { color: #6b4213; font-size: 14px; line-height: 1.55; }

.seller-cabinet-navigation .seller-cabinet-navigation__help { border-color: #c77638; background: #fff6ec; color: #75390b; font-weight: 750; }
