:root {
  --seller-ink: #172033;
  --seller-muted: #667085;
  --seller-line: #dfe4ea;
  --seller-surface: #ffffff;
  --seller-canvas: #f3f5f7;
  --seller-primary: #1f5eff;
  --seller-primary-dark: #1646c7;
  --seller-success: #16845b;
  --seller-warning: #b76608;
  --seller-danger: #c43b45;
}

#user-products-view {
  background: var(--seller-canvas);
  min-height: calc(100vh - 126px);
  padding: 28px 0 48px;
}

.category-nav .seller-entry {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.category-nav .seller-entry svg {
  width: 15px;
  height: 15px;
}

.seller-page {
  min-width: 0;
}

.seller-center-status {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 150px;
  padding: 30px 34px;
  border: 1px solid var(--seller-line);
  background: var(--seller-surface);
  box-shadow: 0 16px 42px rgba(23, 32, 51, 0.08);
}

.seller-center-status[hidden] {
  display: none;
}

.seller-center-status-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: #eef4ff;
  color: var(--seller-primary);
}

.seller-center-status-icon svg {
  width: 22px;
  height: 22px;
}

.seller-center-status.is-loading .seller-center-status-icon svg {
  animation: seller-status-spin 0.9s linear infinite;
}

.seller-center-status.is-offline .seller-center-status-icon {
  background: #fff7ed;
  color: #c2410c;
}

.seller-center-status.is-disabled .seller-center-status-icon {
  background: #fef2f2;
  color: #b42318;
}

.seller-center-status strong {
  color: var(--seller-ink);
  font-size: 18px;
}

.seller-center-status p {
  margin: 5px 0 0;
  color: var(--seller-muted);
  font-size: 14px;
}

@keyframes seller-status-spin {
  to { transform: rotate(360deg); }
}

.seller-auth {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  min-height: 610px;
  border: 1px solid var(--seller-line);
  background: var(--seller-surface);
  box-shadow: 0 16px 42px rgba(23, 32, 51, 0.08);
}

.seller-auth[hidden] {
  display: none;
}

.seller-auth-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(23, 32, 51, 0.96), rgba(24, 61, 84, 0.94)),
    url("https://images.unsplash.com/photo-1604719312566-8912e9227c6a?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.seller-kicker {
  display: inline-flex;
  width: max-content;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  color: #cfe1ff;
  font-size: 13px;
  font-weight: 700;
}

.seller-auth-copy h1 {
  max-width: 620px;
  margin: 22px 0 14px;
  font-size: 42px;
  line-height: 1.22;
  letter-spacing: 0;
}

.seller-auth-copy > p {
  max-width: 590px;
  margin: 0;
  color: #d8e0ea;
  font-size: 16px;
  line-height: 1.75;
}

.seller-auth-copy ul {
  display: grid;
  gap: 13px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.seller-auth-copy li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f6f8fb;
}

.seller-auth-copy li svg {
  width: 18px;
  height: 18px;
  color: #80a8ff;
}

.seller-auth-forms {
  align-self: center;
  width: min(100% - 56px, 430px);
  margin: 0 auto;
}

.seller-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 44px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--seller-line);
}

.seller-auth-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--seller-muted);
  font-weight: 700;
  cursor: pointer;
}

.seller-auth-tabs button.active {
  border-bottom-color: var(--seller-primary);
  color: var(--seller-primary);
}

.seller-auth-forms form {
  display: grid;
  gap: 18px;
}

.seller-auth-forms form[hidden] {
  display: none;
}

.seller-auth-heading {
  display: grid;
  gap: 6px;
  margin-bottom: 4px;
}

.seller-auth-heading strong {
  color: var(--seller-ink);
  font-size: 24px;
}

.seller-auth-heading span {
  color: var(--seller-muted);
  font-size: 14px;
}

.seller-auth-forms label,
.seller-field,
.review-filters label,
.review-publish-grid label,
.review-decision-form > label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

.seller-auth-forms input,
.seller-field input,
.seller-field select,
.seller-field textarea,
.review-filters input,
.review-filters select,
.review-publish-grid input,
.review-decision-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #cfd6df;
  border-radius: 6px;
  background: #fff;
  color: var(--seller-ink);
  font: inherit;
  font-weight: 500;
}

.seller-auth-forms input,
.seller-field input,
.seller-field select,
.review-filters input,
.review-filters select,
.review-publish-grid input {
  height: 44px;
  padding: 0 12px;
}

.seller-field textarea,
.review-decision-form textarea {
  padding: 11px 12px;
  resize: vertical;
}

.seller-auth-forms input:focus,
.seller-field input:focus,
.seller-field select:focus,
.seller-field textarea:focus,
.review-filters input:focus,
.review-filters select:focus,
.review-publish-grid input:focus,
.review-decision-form textarea:focus {
  border-color: var(--seller-primary);
  outline: 3px solid rgba(31, 94, 255, 0.12);
}

.seller-workspace[hidden] {
  display: none;
}

.seller-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 680px;
  overflow: hidden;
  border: 1px solid var(--seller-line);
  background: var(--seller-surface);
  box-shadow: 0 16px 42px rgba(23, 32, 51, 0.08);
}

.seller-sidebar {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 14px;
  background: var(--seller-ink);
  color: #d7dde7;
}

.seller-profile {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 4px 6px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.seller-avatar {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 6px;
  background: #fff;
  color: var(--seller-ink);
  font-weight: 800;
}

.seller-profile div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.seller-profile strong,
.seller-profile small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seller-profile strong {
  color: #fff;
  font-size: 14px;
}

.seller-profile small {
  color: #9eabbc;
  font-size: 12px;
}

.seller-sidebar nav {
  display: grid;
  gap: 5px;
  margin-top: 22px;
}

.seller-sidebar nav button,
.seller-logout-button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #bdc7d5;
  font: inherit;
  cursor: pointer;
}

.seller-sidebar nav button:hover,
.seller-sidebar nav button.active {
  background: #2458d5;
  color: #fff;
}

.seller-sidebar nav svg,
.seller-logout-button svg {
  width: 17px;
  height: 17px;
}

.seller-logout-button {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  color: #aeb9c8;
}

.seller-main {
  min-width: 0;
  padding: 24px;
  background: var(--seller-canvas);
}

.seller-mobile-head,
.seller-mobile-tabs {
  display: none;
}

.seller-panel {
  display: none;
  min-width: 0;
}

.seller-panel.active {
  display: block;
}

.seller-page-head,
.seller-panel-head,
.review-workspace-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.seller-page-head {
  margin-bottom: 20px;
}

.seller-page-head > div:first-child,
.seller-panel-head > div:first-child {
  display: grid;
  gap: 4px;
}

.seller-page-head span,
.seller-panel-head span,
.review-workspace-head > div > span {
  color: var(--seller-primary);
  font-size: 12px;
  font-weight: 800;
}

.seller-page-head h1,
.seller-panel-head h2,
.review-workspace-head h2 {
  margin: 0;
  color: var(--seller-ink);
  letter-spacing: 0;
}

.seller-page-head h1 {
  font-size: 24px;
}

.seller-page-head p,
.review-workspace-head p {
  margin: 0;
  color: var(--seller-muted);
  font-size: 13px;
}

.seller-primary-action,
.seller-secondary-action,
.seller-panel-head button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 6px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.seller-primary-action {
  border: 1px solid var(--seller-primary);
  background: var(--seller-primary);
  color: #fff;
}

.seller-primary-action:hover {
  background: var(--seller-primary-dark);
}

.seller-secondary-action,
.seller-panel-head button {
  border: 1px solid #cfd6df;
  background: #fff;
  color: #344054;
}

.seller-primary-action svg,
.seller-secondary-action svg {
  width: 17px;
  height: 17px;
}

.seller-save-state {
  min-width: 150px;
  padding-top: 5px;
  color: var(--seller-muted);
  font-size: 13px;
  text-align: right;
}

.seller-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.seller-metrics article {
  display: grid;
  min-height: 122px;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--seller-line);
  border-radius: 7px;
  background: #fff;
}

.seller-metrics span,
.seller-metrics small {
  color: var(--seller-muted);
  font-size: 12px;
}

.seller-metrics strong {
  color: var(--seller-ink);
  font-size: 30px;
  line-height: 1;
}

.seller-content-panel,
.seller-product-form,
.seller-status-tabs,
.seller-settings-card {
  border: 1px solid var(--seller-line);
  border-radius: 7px;
  background: #fff;
}

.seller-content-panel {
  padding: 20px;
}

.seller-panel-head {
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf0f3;
}

.seller-panel-head h2 {
  font-size: 18px;
}

.seller-recent-list,
.seller-application-list {
  display: grid;
}

.seller-application-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 86px 150px;
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 16px 0;
  border-bottom: 1px solid #edf0f3;
}

.seller-application-row:last-child {
  border-bottom: 0;
}

.seller-application-row > img {
  width: 64px;
  height: 64px;
  border: 1px solid var(--seller-line);
  border-radius: 6px;
  object-fit: cover;
  background: #f4f6f8;
}

.seller-application-main {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.seller-application-main > div:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.seller-application-main strong {
  overflow: hidden;
  color: var(--seller-ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seller-application-main > span,
.seller-application-main > small,
.seller-application-price span,
.seller-application-time span {
  color: var(--seller-muted);
  font-size: 12px;
}

.seller-status-badge {
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: 4px;
  background: #edf1f5;
  color: #475467;
  font-size: 11px;
  font-weight: 800;
}

.seller-status-badge.pending {
  background: #fff3df;
  color: #9a5700;
}

.seller-status-badge.changes {
  background: #fff0e8;
  color: #b54708;
}

.seller-status-badge.approved {
  background: #e8f7f0;
  color: var(--seller-success);
}

.seller-status-badge.rejected {
  background: #fdecee;
  color: var(--seller-danger);
}

.seller-application-price,
.seller-application-time {
  display: grid;
  gap: 4px;
}

.seller-application-price strong,
.seller-application-time strong {
  color: var(--seller-ink);
  font-size: 12px;
  font-weight: 700;
}

.seller-application-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.seller-application-actions button,
.seller-empty-state button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #cfd6df;
  border-radius: 5px;
  background: #fff;
  color: #344054;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.seller-application-actions button:hover,
.seller-empty-state button:hover {
  border-color: var(--seller-primary);
  color: var(--seller-primary);
}

.seller-application-actions button.danger {
  color: var(--seller-danger);
}

.seller-review-note {
  margin: 2px 0 0;
  color: #9a3412;
  font-size: 12px;
  line-height: 1.5;
}

.seller-empty-state {
  display: grid;
  justify-items: start;
  gap: 6px;
  padding: 34px 8px;
  color: var(--seller-muted);
}

.seller-empty-state strong {
  color: var(--seller-ink);
}

.seller-save-state[data-tone="saved"] {
  color: var(--seller-success);
}

.seller-save-state[data-tone="error"] {
  color: var(--seller-danger);
}

.seller-product-form {
  overflow: hidden;
}

.seller-form-section {
  padding: 24px;
  border-bottom: 1px solid #edf0f3;
}

.seller-form-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.seller-form-section-head > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 6px;
  background: #eaf0ff;
  color: var(--seller-primary);
  font-size: 12px;
  font-weight: 800;
}

.seller-form-section-head div {
  display: grid;
  gap: 2px;
}

.seller-form-section-head strong {
  color: var(--seller-ink);
}

.seller-form-section-head small {
  color: var(--seller-muted);
}

.seller-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.seller-field-wide {
  grid-column: 1 / -1;
}

.seller-image-picker {
  display: grid;
  grid-template-columns: 180px minmax(220px, 320px);
  align-items: stretch;
  gap: 14px;
  margin-bottom: 18px;
}

.seller-image-picker .image-file-button,
.seller-image-picker .image-preview {
  min-height: 150px;
}

.seller-compliance-note {
  display: flex;
  gap: 12px;
  margin: 20px 24px 0;
  padding: 14px;
  border: 1px solid #f2d39e;
  border-radius: 6px;
  background: #fff9ed;
  color: #7a4b08;
}

.seller-compliance-note svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.seller-compliance-note div {
  display: grid;
  gap: 3px;
}

.seller-compliance-note span {
  font-size: 13px;
  line-height: 1.6;
}

.seller-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 20px 24px 24px;
}

.seller-status-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
  padding: 6px;
  overflow-x: auto;
}

.seller-status-tabs button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 13px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--seller-muted);
  font: inherit;
  cursor: pointer;
}

.seller-status-tabs button.active {
  background: var(--seller-ink);
  color: #fff;
}

.seller-security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.seller-settings-card {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 20px;
}

.seller-settings-card > div:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

.seller-settings-card > div:first-child > svg {
  width: 20px;
  height: 20px;
  color: var(--seller-primary);
}

.seller-settings-card > div:first-child > span {
  display: grid;
  gap: 2px;
}

.seller-settings-card small,
.seller-session-card p {
  color: var(--seller-muted);
  font-size: 12px;
}

.seller-session-card {
  grid-column: 1 / -1;
}

.seller-session-card p {
  margin: 0;
}

.review-workspace-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.review-workspace-head > div:first-child {
  display: grid;
  gap: 4px;
}

.review-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(86px, 1fr));
  gap: 8px;
}

.review-metrics article {
  display: grid;
  gap: 3px;
  min-width: 86px;
  padding: 10px;
  border: 1px solid var(--seller-line);
  border-radius: 6px;
  background: #f8fafc;
}

.review-metrics span {
  color: var(--seller-muted);
  font-size: 11px;
}

.review-metrics strong {
  color: var(--seller-ink);
  font-size: 20px;
}

.review-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 160px 160px auto;
  align-items: end;
  gap: 10px;
  margin: 18px 0;
  padding: 14px;
  border: 1px solid var(--seller-line);
  border-radius: 7px;
  background: #f8fafc;
}

.review-filters label,
.review-decision-form label {
  display: grid;
  gap: 6px;
  color: #475467;
  font-size: 12px;
  font-weight: 700;
}

.review-filters input,
.review-filters select,
.review-decision-form input,
.review-decision-form textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid #cfd6df;
  border-radius: 5px;
  background: #fff;
  padding: 0 11px;
  color: var(--seller-ink);
  font: inherit;
}

.review-decision-form textarea {
  min-height: 96px;
  padding-block: 10px;
  resize: vertical;
}

.user-product-review-list {
  display: grid;
  border: 1px solid var(--seller-line);
  border-radius: 7px;
  background: #fff;
  overflow: hidden;
}

.user-product-review-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 120px 100px;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 14px;
  border: 0;
  border-bottom: 1px solid #edf0f3;
  border-radius: 0;
  background: #fff;
}

.user-product-review-row:last-child {
  border-bottom: 0;
}

.user-product-review-row .review-thumb {
  width: 58px;
  height: 58px;
  border: 1px solid var(--seller-line);
  border-radius: 5px;
  object-fit: cover;
  background: #f3f5f7;
}

.review-main,
.review-row-meta {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.review-row-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.review-row-title strong {
  overflow: hidden;
  color: var(--seller-ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-main > span,
.review-main > small,
.review-row-meta span {
  overflow: hidden;
  color: var(--seller-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-row-meta strong {
  color: var(--seller-ink);
  font-size: 11px;
}

.status-pill.pending {
  background: #fff3df;
  color: #9a5700;
}

.status-pill.changes {
  background: #fff0e8;
  color: #b54708;
}

.review-empty-state {
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 180px;
  color: var(--seller-muted);
}

.review-empty-state strong {
  color: var(--seller-ink);
}

body.review-open {
  overflow: hidden;
}

.review-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr minmax(380px, 560px);
}

.review-drawer[hidden] {
  display: none;
}

.review-drawer-backdrop {
  grid-column: 1 / -1;
  grid-row: 1;
  border: 0;
  background: rgba(15, 23, 42, 0.54);
}

.review-drawer-panel {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: auto;
  background: #fff;
  box-shadow: -16px 0 38px rgba(15, 23, 42, 0.18);
}

.review-drawer-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--seller-line);
}

.review-drawer-panel > header div {
  display: grid;
  gap: 2px;
}

.review-drawer-panel > header span {
  color: var(--seller-primary);
  font-size: 12px;
  font-weight: 800;
}

.review-drawer-panel > header h2 {
  margin: 0;
  color: var(--seller-ink);
  font-size: 20px;
}

.review-drawer-content {
  flex: 1;
  padding: 20px;
}

.review-detail-product {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.review-detail-product img {
  width: 112px;
  aspect-ratio: 1;
  border: 1px solid var(--seller-line);
  border-radius: 6px;
  object-fit: cover;
}

.review-detail-product > div {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.review-detail-product h3 {
  margin: 0;
  color: var(--seller-ink);
  font-size: 20px;
}

.review-detail-product p {
  margin: 0;
  color: var(--seller-muted);
  font-size: 12px;
  line-height: 1.65;
}

.review-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 22px 0;
  border: 1px solid var(--seller-line);
  border-radius: 6px;
  overflow: hidden;
}

.review-detail-grid > div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-right: 1px solid #edf0f3;
  border-bottom: 1px solid #edf0f3;
}

.review-detail-grid > div:nth-child(2n) {
  border-right: 0;
}

.review-detail-grid dt {
  color: var(--seller-muted);
  font-size: 10px;
}

.review-detail-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--seller-ink);
  font-size: 12px;
}

.review-history h3 {
  color: var(--seller-ink);
  font-size: 15px;
}

.review-history ol {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.review-history li {
  display: grid;
  gap: 3px;
  padding-left: 12px;
  border-left: 2px solid #d6deea;
}

.review-history li strong {
  color: var(--seller-ink);
  font-size: 12px;
}

.review-history li span {
  color: var(--seller-muted);
  font-size: 11px;
  line-height: 1.5;
}

.review-decision-form {
  display: grid;
  gap: 14px;
  padding: 18px 20px;
  border-top: 1px solid var(--seller-line);
  background: #fff;
}

.review-publish-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.review-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  gap: 8px;
}

.seller-admin-title {
  margin-top: 28px;
}

.admin-seller-list {
  display: grid;
  gap: 10px;
}

.admin-seller-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 88px auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--seller-line);
  border-radius: 6px;
  background: #fff;
}

.admin-seller-row.is-disabled {
  background: #f8fafc;
  opacity: 0.78;
}

.admin-seller-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 5px;
  background: var(--seller-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.admin-seller-main,
.admin-seller-count {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.admin-seller-main strong,
.admin-seller-count strong {
  color: var(--seller-ink);
}

.admin-seller-main span,
.admin-seller-count span {
  overflow: hidden;
  color: var(--seller-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-seller-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

@media (max-width: 900px) {
  #user-products-view {
    padding: 16px 0 88px;
  }

  .seller-auth {
    grid-template-columns: 1fr;
  }

  .seller-auth-copy {
    min-height: 320px;
    padding: 38px;
  }

  .seller-auth-copy h1 {
    font-size: 34px;
  }

  .seller-auth-forms {
    width: min(100% - 40px, 520px);
    padding: 34px 0 42px;
  }

  .seller-shell {
    display: block;
    min-height: 0;
  }

  .seller-sidebar {
    display: none;
  }

  .seller-main {
    padding: 16px;
  }

  .seller-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    margin: -16px -16px 0;
    padding: 0 16px;
    border-bottom: 1px solid var(--seller-line);
    background: #fff;
  }

  .seller-mobile-head div {
    display: grid;
    gap: 1px;
  }

  .seller-mobile-head span {
    color: var(--seller-muted);
    font-size: 11px;
  }

  .seller-mobile-head strong {
    color: var(--seller-ink);
    font-size: 14px;
  }

  .seller-mobile-head button {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--seller-muted);
  }

  .seller-mobile-tabs {
    display: flex;
    gap: 4px;
    margin: 0 -16px 18px;
    padding: 8px 16px;
    overflow-x: auto;
    border-bottom: 1px solid var(--seller-line);
    background: #fff;
  }

  .seller-mobile-tabs button {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0 13px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--seller-muted);
    font: inherit;
  }

  .seller-mobile-tabs button.active {
    background: var(--seller-ink);
    color: #fff;
  }

  .seller-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-workspace-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-metrics {
    width: 100%;
  }

  .review-filters {
    grid-template-columns: 1fr 1fr;
  }

  .review-filters label:first-child {
    grid-column: 1 / -1;
  }

  .user-product-review-row {
    grid-template-columns: 54px minmax(0, 1fr) auto;
  }

  .review-row-meta {
    display: none;
  }

  .review-drawer {
    grid-template-columns: 1fr;
  }

  .review-drawer-panel {
    grid-column: 1;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .seller-center-status {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 132px;
    padding: 22px 18px;
  }

  .seller-center-status .seller-secondary-action {
    grid-column: 1 / -1;
    width: 100%;
  }

  .seller-auth-copy {
    min-height: 290px;
    padding: 26px 20px;
  }

  .seller-auth-copy h1 {
    margin-top: 16px;
    font-size: 28px;
  }

  .seller-auth-copy ul {
    margin-top: 22px;
  }

  .seller-auth-forms {
    width: calc(100% - 32px);
    padding: 28px 0 34px;
  }

  .seller-page-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .seller-page-head .seller-primary-action {
    width: 100%;
  }

  .seller-save-state {
    width: 100%;
    min-width: 0;
    padding-top: 0;
    text-align: left;
  }

  .seller-metrics {
    gap: 8px;
  }

  .seller-metrics article {
    min-height: 108px;
    padding: 14px;
  }

  .seller-form-section {
    padding: 18px 14px;
  }

  .seller-form-grid,
  .seller-security-grid {
    grid-template-columns: 1fr;
  }

  .seller-field-wide,
  .seller-session-card {
    grid-column: auto;
  }

  .seller-image-picker {
    grid-template-columns: 1fr;
  }

  .seller-image-picker .image-file-button,
  .seller-image-picker .image-preview {
    min-height: 132px;
  }

  .seller-application-row {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
  }

  .seller-application-row > img {
    width: 56px;
    height: 56px;
  }

  .seller-application-price,
  .seller-application-time {
    grid-column: 2;
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .seller-compliance-note {
    margin: 16px 14px 0;
  }

  .seller-form-actions {
    display: grid;
    grid-template-columns: 1fr;
    padding: 16px 14px 18px;
  }

  .seller-form-actions button {
    width: 100%;
  }

  .review-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-filters {
    grid-template-columns: 1fr;
  }

  .review-filters label:first-child {
    grid-column: auto;
  }

  .user-product-review-row {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
  }

  .user-product-review-row .review-thumb {
    width: 48px;
    height: 48px;
  }

  .user-product-review-row > button {
    grid-column: 2;
    width: 100%;
  }

  .review-detail-product {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .review-detail-product img {
    width: 84px;
  }

  .review-detail-grid {
    grid-template-columns: 1fr;
  }

  .review-detail-grid > div,
  .review-detail-grid > div:nth-child(2n) {
    border-right: 0;
  }

  .admin-seller-row {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .admin-seller-count,
  .admin-seller-actions {
    grid-column: 2;
  }

  .admin-seller-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .review-publish-grid,
  .review-actions {
    grid-template-columns: 1fr;
  }
}
