/* Shop editing extends the existing white submission forms and icon-disc CTAs. */
#sellerEditorDialog { box-sizing: border-box; position: fixed; inset: 0; width: min(100% - 3rem,58rem); max-width: none; height: min(92dvh,64rem); max-height: none; margin: auto; padding: 0; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #ddd; border-radius: 1.25rem; background: #fff; color: #222; box-shadow: 0 16px 64px #0003; font: 1rem/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif; }
#sellerEditorDialog:not([open]) { display: none; }
#sellerEditorDialog[open] { display: block; }
#sellerEditorDialog::backdrop { background: #0006; }
#sellerEditorForm { display: flex; flex-direction: column; min-height: 100%; margin: 0; }
#sellerEditorDialog fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
#sellerEditorDialog .se-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1.5rem; position: sticky; top: 0; z-index: 3; background: #fff; border-bottom: 1px solid #ebebeb; }
#sellerEditorDialog .se-heading { padding: 1.5rem 1.5rem 0; }
#sellerEditorDialog h1 { margin: 0 0 .5rem; font-size: 1.75rem; line-height: 1.2; font-weight: 650; letter-spacing: -.025em; }
#sellerEditorDialog h1:focus,#sellerEditorDialog .se-success h2:focus { outline: none; }
#sellerEditorDialog h2 { margin: 0 0 1rem; font-size: 1.25rem; line-height: 1.3; letter-spacing: -.015em; }
#sellerEditorDialog h3 { margin: 0 0 .75rem; font-size: 1rem; }
#sellerEditorDialog p { margin: 0 0 1rem; }
#sellerEditorDialog .se-muted,#seIntro { color: #626262; font-size: .875rem; line-height: 1.5; }
#sellerEditorDialog .se-steps { display: flex; gap: 1.25rem; padding: 0 1.5rem; border-bottom: 1px solid #ebebeb; }
#sellerEditorDialog .se-steps button { display: inline-flex; min-height: 3rem; padding: .5rem 0; margin: 0; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; font-family: inherit; font-size: .875rem; font-weight: 600; line-height: 1.3; color: #626262; cursor: pointer; }
#sellerEditorDialog .se-steps [aria-current=step] { border-bottom-color: #222; color: #222; }
#sellerEditorDialog .se-error { margin: 1rem 1.5rem 0; padding: .75rem; border-radius: .75rem; color: #9c2f1f; background: #fff2ef; font-size: .875rem; }
#sellerEditorDialog #seContent { padding: 1.5rem; }
#sellerEditorDialog #seContent>section+section { border-top: 1px solid #ebebeb; margin-top: 1.5rem; padding-top: 1.5rem; }
#sellerEditorDialog .se-bottom { display: flex; justify-content: flex-end; align-items: center; gap: .75rem; position: sticky; bottom: 0; z-index: 3; padding: 1rem 1.5rem max(1rem,env(safe-area-inset-bottom)); margin-top: auto; background: #fff; border-top: 1px solid #ebebeb; }
#sellerEditorDialog .se-bottom [data-se-prev] { margin-right: auto; }
#sellerEditorDialog .se-primary,#sellerEditorDialog .se-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .625rem 1rem; border-radius: 999px; border: 1px solid #d2d2cf; background: #fff; color: #222; font: inherit; font-size: .875rem; font-weight: 600; line-height: 1.3; cursor: pointer; }
#sellerEditorDialog .se-primary { background: #222; border-color: #222; color: #fff; }
#sellerEditorDialog .se-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; flex: 0 0 2.75rem; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #222; cursor: pointer; }
#sellerEditorDialog .se-icon svg { display: block; width: 1.25rem; height: 1.25rem; }
#sellerEditorDialog .se-text { min-height: 2.75rem; border: 0; background: transparent; color: #626262; text-decoration: underline; text-underline-offset: .2em; font: inherit; font-size: .875rem; padding: .5rem; cursor: pointer; }
#sellerEditorDialog button:disabled { color: #aaa; cursor: default; box-shadow: none; transform: none; }
#sellerEditorDialog button[hidden],#sellerEditorDialog [hidden] { display: none !important; }
#sellerEditorDialog :is(button,input,select,textarea,a):focus-visible { outline: 2px solid #8b351c; outline-offset: 3px; }
#sellerEditorDialog .se-inventory-heading { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .5rem; }
#sellerEditorDialog .se-inventory-heading h2 { margin: 0; }
#sellerEditorDialog .se-add-item-bottom { display: flex; margin-top: 1.25rem; }
#sellerEditorDialog .category-action-button { margin: 0; align-self: center; }
#sellerEditorDialog .se-items { display: flex; flex-direction: column; gap: 1rem; }
#sellerEditorDialog .se-item { min-width: 0; border: 1px solid #e3e3e0; border-radius: 1rem; overflow: visible; }
#sellerEditorDialog .se-item-top { display: flex; align-items: center; gap: .75rem; padding: 1rem; }
#sellerEditorDialog .se-item-top>img { width: 3.5rem; height: 3.5rem; flex: 0 0 3.5rem; object-fit: cover; border-radius: .5rem; background: #f5f5f2; }
#sellerEditorDialog .se-item-top>div { flex: 1; min-width: 0; }
#sellerEditorDialog .se-item strong { display: block; font-size: .9375rem; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
#sellerEditorDialog .se-item small { display: block; color: #626262; font-size: .8125rem; margin-top: .25rem; }
#sellerEditorDialog .se-item-body { padding: 0 1rem 1rem; }
#sellerEditorDialog .se-item-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .25rem .75rem; border-top: 1px solid #ebebeb; }
#sellerEditorDialog .se-reorder { display: inline-flex; align-items: center; gap: .25rem; color: #626262; font-size: .8125rem; }
#sellerEditorDialog .se-item--removed { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; background: #f8f8f6; }
#sellerEditorDialog .se-photos { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .75rem; align-items: start; margin-bottom: .75rem; }
#sellerEditorDialog .se-photos figure { position: relative; min-width: 0; margin: 0; }
#sellerEditorDialog .se-photos img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: .75rem; background: #f5f5f2; }
#sellerEditorDialog .se-photo-remove { position: absolute; top: .25rem; right: .25rem; box-shadow: 0 1px 4px #0002; }
#sellerEditorDialog .se-photo-main { width: 100%; min-height: 2.75rem; margin-top: .25rem; padding: .25rem; border: 0; background: transparent; font: inherit; font-size: .8125rem; text-decoration: underline; text-underline-offset: .15em; cursor: pointer; }
#sellerEditorDialog .se-photo-main[aria-pressed=true] { text-decoration: none; font-weight: 650; }
#sellerEditorDialog .se-photo-add { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .5rem; min-height: 7rem; padding: .75rem; border: 1px dashed #bbb; border-radius: .75rem; font-size: .8125rem; font-weight: 500; text-align: center; cursor: pointer; }
#sellerEditorDialog .se-photo-add .category-action-icon::before,#sellerEditorDialog .se-photo-add .category-action-icon::after { content: ''; position: absolute; width: .75rem; height: 1.5px; top: 50%; left: 50%; background: #fff; transform: translate(-50%,-50%); }
#sellerEditorDialog .se-photo-add .category-action-icon::after { transform: translate(-50%,-50%) rotate(90deg); }
#sellerEditorDialog .se-photo-add input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
#sellerEditorDialog .se-photo-add:focus-within { outline: 2px solid #8b351c; outline-offset: 3px; }
#sellerEditorDialog .se-review-changes { margin: 0; padding-left: 1.25rem; line-height: 1.8; }
#sellerEditorDialog .se-review-list { margin: 0; padding-left: 1.25rem; }
#sellerEditorDialog .se-review-list li { padding: .75rem 0; border-bottom: 1px solid #ebebeb; }
#sellerEditorDialog .se-review-list strong,#sellerEditorDialog .se-review-list span { display: block; font-size: .9375rem; }
#sellerEditorDialog .se-review-list span { color: #626262; font-size: .8125rem; margin-top: .25rem; }
#sellerEditorDialog .owner-confirm { font-size: .875rem; }
#sellerEditorDialog .owner-confirm input { width: 1.75rem; height: 1.75rem; flex-basis: 1.75rem; }
#sellerEditorDialog .se-success { max-width: 32rem; margin: 2rem auto; text-align: center; }
.seller-page-footer .seller-manage { display: flex; justify-content: center; align-items: center; gap: .5rem; width: 100%; min-height: 2.75rem; border: 1px dashed #ddd; border-radius: .75rem; padding: .75rem; background: #fff; color: #626262; font: inherit; font-size: .875rem; cursor: pointer; }
.seller-manage svg { width: 1.125rem; height: 1.125rem; }
.seller-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
@media (hover:hover) { #sellerEditorDialog .se-icon:not(:disabled):hover,#sellerEditorDialog .se-secondary:not(:disabled):hover { background: #f4f4f2; } .seller-manage:hover { border-color: #858580; color: #222; } }
@media (max-width: 680px) {
 #sellerEditorDialog { width: 100%; height: 100dvh; border: 0; border-radius: 0; }
 #sellerEditorDialog .se-toolbar { padding: max(.5rem,env(safe-area-inset-top)) 1rem .5rem; }
 #sellerEditorDialog .se-heading,#sellerEditorDialog #seContent { padding: 1.25rem 1rem; }
 #sellerEditorDialog .se-heading { padding-bottom: 0; }
 #sellerEditorDialog h1 { font-size: 1.5rem; }
 #sellerEditorDialog .se-steps { padding-inline: 1rem; justify-content: space-between; gap: .5rem; }
 #sellerEditorDialog .se-bottom { padding-inline: 1rem; }
 #sellerEditorDialog .form-row { grid-template-columns: 1fr; gap: 0; }
 #sellerEditorDialog .se-photos { grid-template-columns: repeat(2,minmax(0,1fr)); }
 #sellerEditorDialog .se-item-top { padding: .75rem; gap: .5rem; }
 #sellerEditorDialog .se-item-top .se-secondary { padding-inline: .75rem; font-size: .8125rem; }
}
@media (prefers-reduced-motion:reduce) { #sellerEditorDialog * { animation: none !important; transition: none !important; scroll-behavior: auto !important; transform: none !important; } }
