body.has-seller-editor { overflow: hidden; }
.seller-charge-dialog { border: 0; border-radius: 6px; padding: 24px; width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); color: #292d33; background: white; box-shadow: 0 16px 64px #0003; font: 14px/1.65 Arial, "Microsoft YaHei", sans-serif; }
.seller-charge-dialog::backdrop { background: #11171d80; }
.seller-charge-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.seller-charge-heading h2 { margin: 0; font-size: 18px; }
.seller-charge-heading button { display: grid; place-items: center; background: transparent; border: 0; padding: 5px; cursor: pointer; }
.seller-charge-heading svg { width: 18px; height: 18px; }
.seller-charge-dialog p { margin: 20px 0 24px; color: #676f79; }
.seller-charge-actions { display: flex; justify-content: flex-end; gap: 10px; }
.seller-charge-actions button { border: 0; border-radius: 4px; background: #eef0f2; color: #343a42; padding: 9px 16px; font: inherit; cursor: pointer; }
.seller-charge-actions button.is-primary { background: #009d98; color: #fff; }
.seller-editor {
  --seller-accent: #009d98;
  --seller-border: #dedfe2;
  --seller-muted: #74777c;
  position: fixed;
  inset: 0;
  z-index: 120;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #f5f5f5;
  color: #18191c;
  font: 14px/1.5 Arial, "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}
.seller-editor *, .seller-editor *::before, .seller-editor *::after { box-sizing: border-box; letter-spacing: 0; }
.seller-editor [hidden] { display: none !important; }
.seller-editor button, .seller-editor input, .seller-editor textarea, .seller-editor select { font: inherit; letter-spacing: 0; }
.seller-editor button, .seller-editor label.seller-upload { cursor: pointer; }
.seller-editor button:disabled { cursor: default; opacity: .45; }
.seller-editor svg { width: 17px; height: 17px; flex: 0 0 auto; }
.seller-editor i[data-lucide] { display: inline-block; width: 17px; height: 17px; }
.seller-editor h1, .seller-editor h2, .seller-editor h3, .seller-editor p { margin: 0; }
.seller-brandbar { height: 48px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; background: #111214; color: #d8dade; }
.seller-brandbar > div { display: flex; align-items: center; gap: 16px; }
.seller-brandbar strong { color: #fff; font-size: 22px; padding-right: 17px; border-right: 1px solid #555; }
.seller-brandbar > span { color: #a9adb2; font-size: 12px; }
.seller-editor-header { position: sticky; top: 0; z-index: 12; background: #f5f5f5; border-bottom: 1px solid #e4e5e7; }
.seller-header-inner, .seller-section-nav, .seller-product-form { width: min(1280px, calc(100% - 48px)); margin: 0 auto; }
.seller-header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.seller-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.seller-title h1 { font-size: 26px; font-weight: 700; color: #15171b; white-space: nowrap; line-height: 1.25; }
.seller-saved-indicator { color: #878a8f; font-size: 12px; }
.seller-header-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.seller-editor .primary-btn, .seller-editor .text-btn { min-height: 36px; border-radius: 4px; padding: 8px 14px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: 13px; line-height: 1.2; white-space: nowrap; box-shadow: none; font-weight: 600; }
.seller-editor .primary-btn { background: var(--seller-accent); color: #fff; }
.seller-editor .primary-btn:hover:not(:disabled) { background: #008b87; transform: none; }
.seller-editor .text-btn { background: #eaeaec; color: #242629; }
.seller-editor .text-btn:hover:not(:disabled) { background: #e0e1e4; transform: none; }
.seller-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 5px; color: #45484c; background: transparent; border: 0; border-radius: 3px; flex: 0 0 auto; }
.seller-icon-btn:hover:not(:disabled) { background: #e9ebed; }
.seller-title > .seller-icon-btn { width: 32px; height: 32px; background: #e9eaec; }
.seller-section-nav { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.seller-section-nav button { flex: 0 0 auto; padding: 9px 0 11px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #656970; font-size: 13px; }
.seller-section-nav button.is-active { border-color: var(--seller-accent); color: #007b77; font-weight: 600; }
.seller-product-form { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px 0 50px; }
.seller-sidebar { position: sticky; top: 136px; display: flex; flex-direction: column; gap: 16px; min-width: 0; max-height: calc(100dvh - 150px); overflow-y: auto; scrollbar-width: thin; }
.seller-validation, .seller-preview { background: #fff; padding: 22px; border-radius: 6px; }
.seller-validation-head { display: flex; align-items: center; gap: 8px; color: #d9484c; margin-bottom: 14px; }
.seller-validation-head h2, .seller-validation-head h3 { font-size: 17px; font-weight: 600; }
.seller-validation-head > b { margin-left: auto; border-radius: 12px; font-size: 11px; font-weight: 500; line-height: 20px; min-width: 20px; text-align: center; background: #ffe7e8; color: #d63f44; }
.seller-validation-head.is-advice { color: #34373c; }
.seller-validation-head.is-advice > b { color: #5b5f65; background: #eff0f2; }
.seller-validation hr { border: 0; border-top: 1px dashed #d8d9dc; margin: 18px 0; }
.seller-validation-item { display: block; text-align: left; border: 0; background: transparent; width: 100%; padding: 4px 0 4px 12px; position: relative; color: #55595f; font-size: 12px !important; overflow-wrap: anywhere; }
.seller-validation-item::before { content: ""; position: absolute; left: 0; top: 12px; width: 3px; height: 3px; background: #de666a; border-radius: 50%; }
.seller-validation-item:hover { color: #008a85; }
[data-seller-advice] { max-height: 132px; overflow-y: auto; scrollbar-width: thin; }
[data-seller-advice] .seller-validation-item::before { background: #969ba1; }
.seller-valid { color: #168b70; font-size: 12px; }
.seller-validation-head.is-ready { color: #168b70; }
.seller-validation-head.is-ready > b { color: #168b70; background: #e7f5ef; }
.seller-variant-group { padding: 16px 0; border-top: 1px solid #e7e8eb; }
.seller-variant-group .seller-subhead { margin: 0 0 10px; }
.seller-variant-group > label { display: grid; gap: 7px; }
.seller-variant-options { display: grid; gap: 8px; margin: 12px 0 5px; }
.seller-variant-options > div { display: flex; gap: 8px; align-items: center; }
.seller-variant-bulk { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 20px 0 12px; }
.seller-variant-bulk > strong { flex: 1 0 100%; font-size: 13px; }
.seller-variant-bulk > input { max-width: 150px; }
.seller-variant-table { min-width: 620px; }
.seller-simple-specs:not(.show-translations) th:nth-child(2), .seller-simple-specs:not(.show-translations) td:nth-child(2), .seller-simple-specs:not(.show-translations) th:nth-child(4), .seller-simple-specs:not(.show-translations) td:nth-child(4) { display: none; }
.seller-simple-specs:not(.show-translations) .seller-data-table { min-width: 0; }
.seller-simple-specs .seller-subhead h3 { margin-right: auto; }
.seller-simple-specs [aria-pressed="true"] { color: #008d86; background: #e7f5ef; }
.seller-variant-table td:first-child > span { vertical-align: middle; }
.seller-variant-photo { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; margin-right: 7px; vertical-align: middle; border: 1px dashed #d5d7db; cursor: pointer; }
.seller-variant-photo img { width: 100%; height: 100%; object-fit: cover; }
.seller-reference-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.seller-reference-heading h3 { font-size: 13px; }
.seller-reference-heading small { color: #77818a; font-weight: 400; }
.seller-reference-grid { display: flex; gap: 10px; flex-wrap: wrap; }
.seller-reference-grid figure { width: 82px; height: 82px; position: relative; margin: 0 0 10px; }
.seller-reference-grid img { width: 100%; height: 100%; object-fit: contain; border: 1px solid #e1e4e8; }
.seller-reference-grid button { position: absolute; top: 0; right: 0; background: #fff; width: 24px; height: 24px; }
.seller-more-settings > .seller-disclosure { border: 0; margin-top: 0; }
.seller-more-settings > .seller-disclosure > summary { padding-top: 0; }
.seller-more-settings [data-seller-section] > h3 { border-bottom: 1px solid #e7e8eb; padding-bottom: 14px; margin: 25px 0 18px; font-size: 15px; }
.shop-variant-select { display: grid; gap: 7px; flex: 1 0 100%; min-width: 0; font-size: 13px; }
.shop-variant-select select { width: 100%; min-width: 0; padding: 9px; border: 1px solid #ced8de; border-radius: 4px; font-size: 13px; background: #fff; color: #1a252c; }
.seller-preview > .seller-subhead { margin: 0 0 18px; }
.seller-preview h2 { font-size: 17px; font-weight: 600; }
.seller-preview > .seller-subhead svg { color: #8b8f94; }
.seller-preview-frame { border: 1px solid #eeeef0; border-radius: 4px; overflow: hidden; background: #fff; }
.seller-preview-photo { aspect-ratio: 1; width: 100%; background: #f5f5f6; display: grid; place-items: center; }
.seller-preview-photo > img { width: 100%; height: 100%; object-fit: cover; }
.seller-preview-photo > span { display: grid; justify-items: center; gap: 7px; color: #a0a4a9; font-size: 11px; }
.seller-preview-photo svg { width: 27px; height: 27px; }
.seller-preview-copy { padding: 13px 11px; font-size: 11px; overflow-wrap: anywhere; }
.seller-preview-copy > b { display: block; color: #24262b; font-size: 13px; line-height: 1.5; }
.seller-preview-copy > strong { display: block; color: #e65161; font-size: 17px; margin: 7px 0; }
.seller-preview-copy > p { color: #73777e; font-size: 11px; line-height: 1.6; }
.seller-preview-thumbs { display: flex; gap: 4px; padding: 6px; }
.seller-preview-thumbs img { width: calc((100% - 16px) / 5); aspect-ratio: 1; object-fit: cover; border: 1px solid #eee; }
.seller-preview-specs { margin-top: 12px; border-top: 1px solid #eee; padding-top: 9px; }
.seller-preview-specs > span { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 5px; color: #757a82; }
.seller-preview-specs b { color: #3e4248; text-align: right; }
.seller-preview-video { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 10px 0; background: #f2f4f4; min-height: 50px; color: #008b85; }
.seller-preview-detail { width: 100%; display: block; margin-top: 10px; }
.seller-draft-tools { color: #8c9097; font-size: 11px; padding: 0 8px; }
.seller-draft-tools > span { display: block; }
.seller-draft-tools .seller-link { font-size: 11px; margin: 5px 0; }
.seller-sections { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.seller-section { background: #fff; padding: 26px; border-radius: 6px; scroll-margin-top: 136px; min-width: 0; }
.seller-section > h2 { font-size: 20px; line-height: 1.3; font-weight: 600; margin: 0 0 26px; }
.seller-subhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 12px; }
.seller-subhead h3 { font-size: 14px; font-weight: 600; }
.seller-section > .seller-subhead:first-of-type { margin-top: 0; }
.seller-label, .seller-field > label { color: #303239; font-weight: 500; font-size: 13px; }
.seller-label em, .seller-field em { color: #e84b53; font-style: normal; }
.seller-muted { color: var(--seller-muted); font-size: 12px; line-height: 1.6; }
.seller-section > p.seller-muted { margin: -3px 0 9px; }
.seller-field { min-width: 0; display: flex; flex-direction: column; gap: 8px; margin-bottom: 19px; }
.seller-control { position: relative; min-width: 0; }
.seller-editor input:not([type="checkbox"]):not([type="file"]), .seller-editor textarea:not(.ql-clipboard), .seller-editor select { width: 100%; min-width: 0; padding: 8px 11px; border: 1px solid #d5d7db; border-radius: 3px; color: #30343a; background: #fff; outline: none; font-size: 13px; line-height: 20px; box-shadow: none; }
.seller-editor input:not([type="checkbox"]):not([type="file"]), .seller-editor select { height: 36px; }
.seller-editor textarea { resize: vertical; }
.seller-editor input:focus, .seller-editor textarea:focus, .seller-editor select:focus { border-color: #00a19b !important; box-shadow: 0 0 0 2px #009d9814 !important; }
.seller-counter { position: absolute; right: 8px; bottom: 8px; color: #8a8d93; background: #f3f3f4; padding: 0 3px; font-size: 11px; line-height: 18px; pointer-events: none; }
.seller-control:has(.seller-counter) input { padding-right: 64px !important; }
.seller-control:has(.seller-counter) textarea { padding-bottom: 28px !important; }
.seller-two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.seller-three-col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; }
.seller-field.is-wide { grid-column: 1 / -1; }
.seller-image-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: auto; gap: 10px; margin-bottom: 18px; }
.seller-image-tile { position: relative; aspect-ratio: 1; min-width: 0; background: #f5f5f6; border: 1px solid #f0f0f1; border-radius: 4px; overflow: hidden; }
.seller-image-tile.is-main { grid-column: span 2; grid-row: span 2; }
.seller-image-tile > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.seller-image-number { position: absolute; top: 5px; left: 5px; padding: 2px 6px; border-radius: 3px; color: #fff; background: #202326bf; font-size: 11px; }
.seller-image-tools { position: absolute; bottom: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: center; background: #ffffffed; opacity: 0; transition: opacity .12s; }
.seller-image-tile:hover .seller-image-tools, .seller-image-tile:focus-within .seller-image-tools { opacity: 1; }
.seller-image-tools .seller-icon-btn { width: 25px; height: 28px; padding: 4px; }
.seller-upload { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; border: 1px dashed #cfd2d7; background: #fff; min-width: 104px; min-height: 104px; color: #585d65; padding: 16px; font-size: 12px; border-radius: 4px; text-align: center; }
.seller-upload svg { width: 20px; height: 20px; }
.seller-upload:hover { border-color: var(--seller-accent); color: #008c87; background: #fbfefe; }
.seller-upload.seller-image-tile { min-width: 0; min-height: 0; font-size: 11px; padding: 6px; }
.seller-upload.seller-image-tile:not(.is-main) { color: #b1b4b9; border-color: #f0f0f1; background: #f6f6f7; }
.seller-upload.seller-image-tile:not(.is-main) svg { width: 25px; height: 25px; stroke-width: 1; }
.seller-upload.seller-image-tile.is-main { font-size: 13px; }
.seller-upload-inline { flex-direction: row; min-height: 32px; min-width: 0; border-style: solid; padding: 5px 10px; border-radius: 3px; }
.seller-upload-inline svg { width: 15px; height: 15px; }
.seller-segment { display: inline-flex; align-items: center; gap: 3px; padding: 3px; background: #f1f2f3; border-radius: 4px; flex: 0 0 auto; }
.seller-segment button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; background: transparent; color: #656a71; border: 0; border-radius: 3px; font-size: 12px; padding: 5px 9px; line-height: 20px; }
.seller-segment button.is-active { background: #fff; color: #008981; box-shadow: 0 1px 3px #0000000a; }
.seller-segment svg { width: 14px; height: 14px; }
.seller-provider { border-bottom: 1px solid #eee; margin: 14px 0 22px; }
.seller-market-settings { border-top: 1px solid #e8eaec; padding: 18px 0 0; margin-top: 18px; }
.seller-market-settings h3 { font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.seller-market-group { margin-bottom: 16px; }
.seller-market-tabs { display: flex; flex-wrap: wrap; column-gap: 16px; row-gap: 4px; border-bottom: 1px solid #e9ebed; margin-top: 7px; }
.seller-market-tabs button { border: 0; border-bottom: 2px solid transparent; padding: 7px 0; color: #72777e; background: transparent; font-size: 12px; }
.seller-market-tabs button.is-active { color: #008b84; border-bottom-color: #009d98; font-weight: 600; }
.seller-template-source { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: 11px; color: #7b838b; padding: 0 0 12px; }
.seller-template-source > span:last-child { margin-left: auto; color: #00857e; }
.seller-provider > summary { display: flex; align-items: center; gap: 8px; padding: 10px 0; cursor: pointer; font-size: 12px; color: #757981; list-style: none; }
.seller-provider > summary > b { margin-left: auto; font-size: 11px; color: #008e86; font-weight: 500; }
.seller-provider-body { display: flex; align-items: flex-end; gap: 12px; padding: 6px 0 16px; }
.seller-provider-body .seller-field { flex: 1; margin: 0; }
.seller-provider-body .text-btn { flex: 0 0 auto; }
.seller-ai-panel { margin: 14px 0 18px; padding: 18px 0; border-top: 1px solid #dcece9; border-bottom: 1px solid #dcece9; }
.seller-ai-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: #007f79; margin-bottom: 16px; }
.seller-ai-heading > strong { font-size: 14px; }
.seller-ai-heading > span { margin-left: auto; color: #757c83; font-size: 11px; }
.seller-ai-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 14px; margin-bottom: 18px; }
.seller-ai-shots > span { font-size: 12px; color: #555e67; }
.seller-ai-shots b { color: #008d83; font-size: 10px; margin-right: 7px; }
.seller-ai-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.seller-check { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #50565d; }
.seller-editor input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--seller-accent); flex: 0 0 auto; margin: 0; }
.seller-switch-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0 15px; font-size: 13px; }
.seller-editor input[role="switch"] { appearance: none; width: 34px; height: 19px; background: #cfd2d5; border-radius: 10px; border: 0; cursor: pointer; position: relative; transition: background .15s; }
.seller-editor input[role="switch"]::after { content: ""; position: absolute; width: 15px; height: 15px; left: 2px; top: 2px; background: #fff; border-radius: 50%; transition: transform .15s; }
.seller-editor input[role="switch"]:checked { background: #009d98; }
.seller-editor input[role="switch"]:checked::after { transform: translateX(15px); }
.seller-retail-table { margin: 0 0 17px; padding: 17px 0 0; border-bottom: 1px solid #eee; }
.seller-description-tabs { display: flex; gap: 18px; margin: 10px 0 0; border-bottom: 1px solid #e3e4e7; }
.seller-description-tabs button { border: 0; border-bottom: 2px solid transparent; background: transparent; padding: 9px 2px; color: #757a81; font-size: 12px; }
.seller-description-tabs button.is-active { color: #008e87; border-color: #009d98; }
.seller-rich-panel { margin-top: 12px; }
.seller-rich-editor { display: none; }
.seller-rich-panel.is-rich-ready .seller-rich-editor { display: block; }
.seller-editor .ql-toolbar.ql-snow { border-color: #d5d7db; border-radius: 3px 3px 0 0; background: #f7f7f8; padding: 7px; }
.seller-editor .ql-container.ql-snow { border-color: #d5d7db; border-radius: 0 0 3px 3px; min-height: 250px; height: auto; font: 14px/1.7 Arial, "Microsoft YaHei", sans-serif; }
.seller-editor .ql-editor { min-height: 250px; max-height: 600px; overflow-y: auto; padding: 16px; }
.seller-editor .ql-toolbar .ql-formats { margin-right: 10px; }
.seller-editor .ql-toolbar select { height: auto; }
.seller-editor .ql-toolbar button { min-height: 24px; padding: 3px 5px; }
.seller-editor .ql-editor.ql-blank::before { font-size: 13px; font-style: normal; color: #a2a5ab; }
.seller-video-heading { padding-top: 20px; border-top: 1px solid #eee; margin-top: 24px; }
.seller-video-upload { display: flex; flex-wrap: wrap; align-items: start; gap: 12px; position: relative; }
.seller-video-upload video { width: min(100%, 330px); max-height: 220px; background: #151719; border-radius: 4px; }
[data-seller-video-upload] > .seller-field { margin-top: 14px; }
.seller-detail-images { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; }
.seller-detail-images > figure { margin: 0; width: 125px; flex: 0 0 125px; border: 1px solid #e1e3e6; border-radius: 4px; overflow: hidden; }
.seller-detail-images img { width: 100%; height: 140px; object-fit: cover; object-position: top; display: block; }
.seller-detail-images figcaption { display: flex; align-items: center; padding-left: 7px; font-size: 11px; }
.seller-detail-images .seller-icon-btn { width: 28px; height: 30px; margin-left: auto; }
.seller-disclosure { border-top: 1px solid #eee; margin-top: 20px; }
.seller-disclosure > summary { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0 0; list-style: none; font-size: 13px; color: #555b63; cursor: pointer; }
.seller-disclosure[open] > summary svg { transform: rotate(180deg); }
.seller-disclosure-body { padding-top: 20px; min-width: 0; }
.seller-disclosure:not([open]) > .seller-disclosure-body { display: none; }
.seller-table-block { margin-top: 20px; min-width: 0; }
.seller-table-scroll { overflow-x: auto; max-width: 100%; }
.seller-data-table { border-collapse: collapse; width: 100%; table-layout: fixed; }
.seller-data-table th { background: #f5f5f6; font-size: 12px; color: #585f67; text-align: left; padding: 10px; font-weight: 500; border: 1px solid #e7e8eb; }
.seller-data-table td { border: 1px solid #e7e8eb; padding: 9px; vertical-align: top; }
.seller-data-table .seller-action-cell { width: 45px; text-align: center; padding: 8px 4px; }
.seller-data-table input { padding: 7px !important; font-size: 12px !important; }
.seller-empty-row { height: 64px; text-align: center; vertical-align: middle !important; color: #a0a4aa; font-size: 12px; }
.seller-link { display: inline-flex; gap: 6px; align-items: center; color: #008d86; border: 0; background: transparent; padding: 4px 0; font-size: 12px; }
.seller-editor .product-content-builder { border: 0; border-radius: 0; padding: 0; margin-top: 20px; background: transparent; }
.seller-editor .setting-section-head { border: 0; padding: 0 0 12px; }
.seller-editor .setting-section-head h4 { font-size: 14px; margin: 0; }
.seller-editor .setting-section-head span { display: none; }
.seller-editor .product-content-items { display: grid; gap: 12px; }
.seller-editor .product-content-item:not(tr) { border: 0; border-top: 1px solid #e8eaec; background: #fff; border-radius: 0; padding: 14px 0 0; }
.seller-editor .setting-item-head { margin: 0 0 12px; }
.seller-editor .setting-item-head b { font-size: 12px; color: #737a82; }
.seller-editor .setting-item-head .danger-btn { min-height: 28px; padding: 4px 9px; border: 0; border-radius: 3px; color: #c8545c; background: #fff4f4; font-size: 11px; }
.seller-editor .editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.seller-editor .editor-grid .field { min-width: 0; }
.seller-editor .editor-grid .field label { font-size: 12px; margin-bottom: 6px; color: #646b73; }
.seller-editor .editor-grid .field.is-wide { grid-column: 1 / -1; }
.seller-editor .empty-state { padding: 12px 0; text-align: left; min-height: 0; font-size: 12px; color: #9da3aa; background: none; border: 0; }
.seller-form-end { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 12px; color: #818990; }
.seller-editor [data-ai-media-status] { font-size: 12px; color: #4c786f; margin-top: 12px; overflow-wrap: anywhere; }
.seller-editor .ai-media-output-grid { margin-top: 12px; max-height: 330px; overflow-y: auto; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: start; }
.seller-editor .ai-media-output-grid img, .seller-editor .ai-media-output-grid figure:last-child img { aspect-ratio: 1; }
.seller-editor .ai-media-output-grid figure { border-radius: 4px; }
.seller-editor .ai-media-output-grid figcaption { min-height: 30px; padding: 5px; font-size: 10px; font-weight: 500; }
.seller-editor .ai-video-job { margin-top: 14px; }
.seller-editor .ai-video-job video { max-width: 100%; max-height: 260px; }
.seller-editor .ai-video-job-empty { color: #8b9399; font-size: 12px; }
.seller-editor .product-asset-picker { border: 0; padding: 0; background: transparent; }
.seller-editor .asset-picker-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seller-editor .related-product-picker { border: 0; padding: 0; }
.product-rich-description { line-height: 1.75; overflow-wrap: anywhere; }
.product-rich-description p { margin: 0 0 12px; white-space: pre-wrap; }
.product-rich-description h2 { font-size: 23px; margin: 22px 0 12px; }
.product-rich-description h3 { font-size: 19px; margin: 18px 0 10px; }
.product-rich-description img { display: block; width: auto; max-width: 100%; height: auto; margin: 12px auto; }
.product-rich-description ul, .product-rich-description ol { padding-left: 24px; }
.product-rich-description blockquote { border-left: 3px solid #009d98; padding: 3px 16px; margin: 14px 0; }
.product-longform > .product-rich-description { max-width: 900px; margin: 0 auto 32px; }
.seller-preview .product-rich-description { font-size: 11px; margin-top: 12px; }
.seller-preview .product-rich-description h2, .seller-preview .product-rich-description h3 { font-size: 13px; margin-top: 12px; }
.seller-preview .product-rich-description p { font-size: 11px; }
@media (max-width: 1100px) {
  .seller-product-form { grid-template-columns: 245px minmax(0, 1fr); }
  .seller-header-inner, .seller-section-nav, .seller-product-form { width: calc(100% - 32px); }
  .seller-section { padding: 22px; }
  .seller-validation, .seller-preview { padding: 18px; }
  .seller-saved-indicator { display: none; }
  .seller-image-grid { gap: 6px; }
  .seller-upload.seller-image-tile:not(.is-main) { font-size: 0; }
  .seller-segment button { font-size: 11px; padding: 5px 7px; }
}
@media (max-width: 820px) {
  .seller-product-form { grid-template-columns: minmax(0, 1fr); }
  .seller-sidebar { position: static; max-height: none; overflow: visible; }
  .seller-preview, .seller-draft-tools { display: none; }
  .seller-validation { padding: 16px; }
  .seller-validation-head { margin-bottom: 8px; }
  .seller-validation-head h2, .seller-validation-head h3 { font-size: 14px; }
  .seller-validation hr { margin: 10px 0; }
  [data-seller-errors], [data-seller-advice] { max-height: 80px; overflow-y: auto; }
  .seller-section-nav { gap: 18px; }
  .seller-brandbar { padding: 0 17px; height: 42px; }
  .seller-title h1 { font-size: 21px; }
  .seller-header-inner { min-height: 68px; }
  .seller-header-actions { gap: 7px; }
  .seller-editor .primary-btn, .seller-editor .text-btn { font-size: 12px; padding: 8px 10px; }
  .seller-editor .header-actions svg { display: none; }
  .seller-ai-heading > span { width: 100%; margin: 0; }
}
@media (max-width: 520px) {
  .seller-header-inner, .seller-section-nav, .seller-product-form { width: calc(100% - 24px); }
  .seller-title { gap: 7px; }
  .seller-title h1 { font-size: 18px; }
  .seller-header-inner { gap: 6px; min-height: 62px; }
  .seller-title > .seller-icon-btn { width: 26px; height: 28px; padding: 4px; }
  .seller-header-actions .primary-btn, .seller-header-actions .text-btn { font-size: 11px; min-height: 32px; padding: 7px; }
  .seller-header-actions svg { display: none; }
  .seller-section-nav { gap: 18px; }
  .seller-section-nav button { font-size: 12px; padding: 8px 0 10px; }
  .seller-product-form { padding-top: 12px; gap: 12px; }
  .seller-sections { gap: 12px; }
  .seller-section { padding: 20px 16px; scroll-margin-top: 110px; border-radius: 4px; }
  .seller-section > h2 { font-size: 18px; margin-bottom: 23px; }
  .seller-subhead { flex-wrap: wrap; gap: 8px; }
  .seller-two-col, .seller-three-col, .seller-editor .editor-grid { grid-template-columns: minmax(0, 1fr); }
  .seller-field.is-wide, .seller-editor .editor-grid .field.is-wide { grid-column: auto; }
  .seller-field { margin-bottom: 17px; }
  .seller-image-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .seller-upload.seller-image-tile:not(.is-main) { font-size: 0; }
  .seller-image-tools { opacity: 1; }
  .seller-image-tools .seller-icon-btn { width: 22px; height: 24px; padding: 3px; }
  .seller-ai-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seller-editor .ai-media-output-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seller-ai-footer { align-items: flex-start; flex-direction: column; }
  .seller-ai-footer > .primary-btn { width: 100%; }
  .seller-provider-body { align-items: stretch; flex-direction: column; }
  .seller-segment button { font-size: 11px; padding: 4px 7px; }
  .seller-data-table { min-width: 600px; }
  .seller-editor .ql-toolbar .ql-formats { margin-right: 4px; }
  .seller-editor .ql-editor { min-height: 210px; }
  .seller-editor .asset-picker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.seller-autofill { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid #e5e7eb; min-width: 0; }
.seller-control textarea + .seller-counter { position: static; display: block; text-align: right; margin-top: 3px; background: transparent; }
.seller-autofill-actions { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; margin: 12px 0; }
.seller-autofill-actions label { display: grid; gap: 6px; font-size: 12px; min-width: 0; flex: 1 1 180px; }
.seller-autofill-actions input { width: 100%; min-width: 0; }
.seller-autofill [role="status"], .seller-autofill li { font-size: 13px; overflow-wrap: anywhere; line-height: 1.6; }
.seller-autofill ul:empty { display: none; }
.seller-autofill ul { padding-left: 20px; color: #8a5700; max-height: 160px; overflow: auto; }
@media (max-width: 520px) { .seller-autofill-actions > button { width: 100%; } }
.seller-legacy-variant { display: grid; grid-template-columns: minmax(80px, 140px) minmax(0, 1fr); gap: 8px 12px; margin: 12px 0; border-bottom: 1px solid #e5e7eb; padding-bottom: 12px; font-size: 12px; }
.seller-legacy-variant dt { color: #687078; }
.seller-legacy-variant dd { margin: 0; overflow-wrap: anywhere; }
