.seller-page {
  box-sizing: border-box;
  width: min(720px, calc(100% - 32px));
  margin: 30px auto 72px;
  color: #202622;
  font: 16px/1.5 Inter, "Segoe UI", Arial, sans-serif;
  overflow-wrap: anywhere;
}
.seller-page * { box-sizing: border-box; }
.seller-page h1 { margin: 18px 0 9px; font-size: clamp(27px, 4vw, 38px); line-height: 1.1; letter-spacing: -.04em; }
.seller-page h2 { margin: 24px 0 8px; font-size: 22px; }
.seller-page a { color: #943721; text-underline-offset: 3px; }
.seller-crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.seller-form { max-width: 600px; }
.seller-form label { display: block; font-weight: 600; margin-bottom: 5px; }
.seller-form input:not([type=hidden]):not([type=checkbox]), .seller-form select, .seller-form textarea {
  display: block; width: 100%; min-height: 46px; padding: 8px 11px; border: 1px solid #c6cfc7; border-radius: 8px; font: inherit; background: white; color: inherit;
}
.seller-form textarea { resize: vertical; }
.seller-form small, .seller-form .helptext { color: #526057; font-size: 14px; }
.seller-page .seller-primary, .seller-page .seller-secondary {
  display: inline-flex; justify-content: center; align-items: center; min-height: 43px; border-radius: 9px; padding: 8px 16px;
  font: 650 14px/1.35 Inter, "Segoe UI", Arial, sans-serif; text-decoration: none; cursor: pointer;
}
.seller-page .seller-primary { border: 1px solid #af351f; background: #b93620; color: #fff; }
.seller-page .seller-secondary { border: 1px solid #c9d1cb; background: white; color: #273429; }
.seller-buttons { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 16px 0; }
.seller-page :is(button,a,input,select,textarea):focus-visible { outline: 3px solid #aa472d; outline-offset: 3px; }
.seller-notice, .seller-state { padding: 10px 14px; border-radius: 8px; background: #edf3ee; }
.seller-page .errorlist { color: #992d1a; padding-left: 18px; }
.seller-list { padding: 0; list-style: none; }
.seller-list li { padding: 12px 0; border-bottom: 1px solid #e0e4df; }
.seller-list li a { display: block; font-weight: 650; }
.seller-list li span { color: #546358; font-size: 14px; }
.seller-images { display: grid; grid-template-columns: repeat(auto-fill,minmax(135px,1fr)); gap: 12px; margin: 10px 0; }
.seller-images figure { margin: 0; }
.seller-images img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
.seller-images figcaption { padding: 4px 0; }
.seller-images button { margin-top: 4px; }

.auth-panel {
  max-width: 490px; margin: 20px auto; padding: clamp(20px, 4vw, 38px);
  border: 1px solid var(--line); border-radius: 18px;
}
.auth-panel h1 { margin-top: 0; }
.auth-panel > p { color: var(--soft); }
.auth-field { margin: 17px 0; }
.auth-panel .seller-form :is(input, select)[aria-invalid="true"] { border-color: #992d1a; }
.auth-panel .errorlist { margin: 5px 0; padding: 0; list-style: none; font-size: 14px; }
.auth-errors { border-left: 3px solid #992d1a; padding-left: 10px; }
.auth-panel .helptext { display: block; margin-top: 4px; }
.auth-panel .seller-primary { width: 100%; margin-top: 4px; min-height: 46px; }
.auth-panel > p:last-child { padding-top: 16px; border-top: 1px solid var(--line); margin-bottom: 0; }
.auth-panel .seller-link { font-weight: 650; }
@media (max-width: 520px) {
  .auth-panel { border: 0; margin-top: 15px; padding: 0; }
}
