/* Sistema de design da ÁREA DO VENDEDOR (só dentro de .seller-app: Meus produtos, Anunciar em 3 passos, painel de redes sociais).
   Não toca a vitrine nem o checkout do comprador. Carrega por último (depois do dark.css) e só usa as variáveis --sd-*. */
@font-face { font-family: "Inter Seller"; font-style: normal; font-weight: 500 800; font-display: swap; src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter Seller"; font-style: normal; font-weight: 500 800; font-display: swap; src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---- 1) variáveis ---------------------------------------------------------------------------------------------------------------- */
.seller-app {
  --sd-font: "Inter Seller", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sd-brand: #1677f4; --sd-brand-dark: #0e5fd1; --sd-brand-soft: #eaf2ff; --sd-brand-ring: rgba(22, 119, 244, .28);
  --sd-ink: #111827; --sd-ink-soft: #374151; --sd-muted: #566072;
  --sd-surface: #ffffff; --sd-subtle: #f5f7fa; --sd-page: #f2f4f5;
  --sd-line: #cdd5e0; --sd-line-hover: #a9b5c6; --sd-line-soft: #e3e8ef;
  --sd-ok: #11703f; --sd-ok-soft: #e6f6ec; --sd-warn: #8f5200; --sd-warn-soft: #fff3dc; --sd-danger: #c52a33; --sd-danger-soft: #fdeceb;
  --sd-r-ctl: 10px; --sd-r-card: 14px; --sd-r-modal: 16px;
  --sd-shadow-1: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .07);
  --sd-shadow-2: 0 4px 12px rgba(16, 24, 40, .08), 0 2px 4px rgba(16, 24, 40, .05);
  --sd-shadow-3: 0 18px 48px rgba(16, 24, 40, .22);
  --sd-s1: 4px; --sd-s2: 8px; --sd-s3: 12px; --sd-s4: 16px; --sd-s5: 20px; --sd-s6: 24px; --sd-s8: 32px;
  --sd-control-h: 44px;
}
html[data-theme="dark"] .seller-app {
  --sd-brand: #3b8cff; --sd-brand-dark: #6aa8ff; --sd-brand-soft: rgba(59, 140, 255, .16); --sd-brand-ring: rgba(59, 140, 255, .4);
  --sd-ink: #eef1f6; --sd-ink-soft: #cdd3de; --sd-muted: #a0a9b8;
  --sd-surface: #181b21; --sd-subtle: #1f232b; --sd-page: #121418;
  --sd-line: #3a4150; --sd-line-hover: #566075; --sd-line-soft: #2a303b;
  --sd-ok: #6fdc9d; --sd-ok-soft: rgba(52, 199, 120, .16); --sd-warn: #f4c06a; --sd-warn-soft: rgba(244, 192, 106, .15); --sd-danger: #ff8a8f; --sd-danger-soft: rgba(255, 99, 105, .15);
  --sd-shadow-1: 0 1px 2px rgba(0, 0, 0, .35); --sd-shadow-2: 0 6px 16px rgba(0, 0, 0, .4); --sd-shadow-3: 0 18px 48px rgba(0, 0, 0, .6);
}

/* ---- 2) tipografia: corpo 500, rótulos e botões 600/700, títulos 700/800 (nada abaixo de 500) ----------------------------------- */
html .seller-app { font-family: var(--sd-font); font-weight: 500; color: var(--sd-ink); font-size: 15px; }
html .seller-app :is(input, select, textarea, button) { font-family: var(--sd-font); letter-spacing: 0; }
html .seller-app :is(h1, h2, h3, h4) { font-family: var(--sd-font); letter-spacing: -.02em; color: var(--sd-ink); }
html .seller-app h1 { font-weight: 800; }
html .seller-app :is(h2, h3, h4) { font-weight: 700; }
html .seller-app .admin-topbar__title h1 { font-weight: 800; font-size: 1.7rem; }
html .seller-app .admin-topbar__title p { font-weight: 500; color: var(--sd-muted); font-size: .95rem; }
html .seller-app :is(p, small, span, li, em, label, a, dd, dt, td, th, summary, code) { font-weight: inherit; }
html .seller-app :is(p, small, li, td, dd) { font-weight: 500; }
html .seller-app :is(small, em) { font-style: normal; }
html .seller-app .section-kicker { font-family: var(--sd-font); color: var(--sd-muted); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 var(--sd-s2); }
html .seller-app :is(strong, b) { font-weight: 700; }
html .seller-app .admin-side a { font-weight: 600; }

/* ---- 3) ícones ------------------------------------------------------------------------------------------------------------------ */
.sd-icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
html .seller-app .button .sd-icon, html .seller-app .sd-btn .sd-icon { width: 18px; height: 18px; }

/* ---- 4) botões: primário, secundário (contorno) e perigoso; mesma altura, peso 700, 10px de raio ------------------------------- */
html .seller-app :is(.button, .sd-btn) {
  min-height: var(--sd-control-h); padding: 0 var(--sd-s5); gap: var(--sd-s2); border-radius: var(--sd-r-ctl); border: 1.5px solid transparent;
  font-family: var(--sd-font); font-size: .875rem; font-weight: 700; letter-spacing: 0; text-transform: none; line-height: 1.1; cursor: pointer; text-decoration: none;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s; transform: none; box-shadow: none;
}
html .seller-app :is(.button, .sd-btn):hover { transform: none; }
html .seller-app :is(.button--primary, .sd-btn--primary) { background: var(--sd-brand); border-color: var(--sd-brand); color: #fff; box-shadow: 0 1px 2px rgba(14, 95, 209, .35); }
html .seller-app :is(.button--primary, .sd-btn--primary):hover { background: var(--sd-brand-dark); border-color: var(--sd-brand-dark); color: #fff; box-shadow: 0 2px 6px rgba(14, 95, 209, .35); }
html[data-theme="dark"] .seller-app :is(.button--primary, .sd-btn--primary) { color: #fff; background: #2a7ff0; border-color: #2a7ff0; }
html[data-theme="dark"] .seller-app :is(.button--primary, .sd-btn--primary):hover { background: #4b95ff; border-color: #4b95ff; }
html .seller-app :is(.button--ghost, .sd-btn--secondary) { background: var(--sd-surface); border-color: var(--sd-line); color: var(--sd-ink); box-shadow: var(--sd-shadow-1); }
html .seller-app :is(.button--ghost, .sd-btn--secondary):hover { background: var(--sd-subtle); border-color: var(--sd-brand); color: var(--sd-brand); }
html .seller-app :is(.button--danger, .sd-btn--danger) { background: var(--sd-surface); border-color: var(--sd-danger); color: var(--sd-danger); }
html .seller-app :is(.button--danger, .sd-btn--danger):hover { background: var(--sd-danger); border-color: var(--sd-danger); color: #fff; }
html .seller-app :is(.button, .sd-btn):focus-visible, html .seller-app :is(a, button, summary):focus-visible { outline: 3px solid var(--sd-brand-ring); outline-offset: 2px; }
html .seller-app :is(.button, .sd-btn)[disabled], html .seller-app :is(.button, .sd-btn)[aria-disabled="true"] { opacity: .55; cursor: not-allowed; box-shadow: none; pointer-events: none; }
html .seller-app :is(.button, .sd-btn).is-loading { position: relative; color: transparent !important; pointer-events: none; }
html .seller-app :is(.button, .sd-btn).is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: sd-spin .7s linear infinite; }
html .seller-app :is(.button--ghost, .sd-btn--secondary).is-loading::after { border-color: var(--sd-line); border-top-color: var(--sd-brand); }
html .seller-app .button--sm { min-height: 36px; padding: 0 var(--sd-s4); font-size: .8rem; }
@keyframes sd-spin { to { transform: rotate(360deg); } }

/* links de voltar (texto com ícone) */
html .seller-app .seller-form-head a, html .seller-app .sd-backlink { display: inline-flex; align-items: center; gap: 6px; color: var(--sd-brand); font-size: .9rem; font-weight: 700; text-decoration: none; border-radius: 8px; padding: 6px 8px 6px 2px; margin-left: -2px; }
html .seller-app .seller-form-head a:hover, html .seller-app .sd-backlink:hover { color: var(--sd-brand-dark); text-decoration: underline; text-underline-offset: 3px; }
html .seller-app .seller-form-head a .sd-icon { width: 18px; height: 18px; }

/* ---- 5) campos --------------------------------------------------------------------------------------------------------------- */
html .seller-app :is(input:not([type="checkbox"], [type="radio"], [type="file"], [type="range"], [type="hidden"]), select, textarea) {
  min-height: var(--sd-control-h); padding: 10px 14px; border: 1.5px solid var(--sd-line); border-radius: var(--sd-r-ctl); background: var(--sd-surface); color: var(--sd-ink);
  font-family: var(--sd-font); font-size: .94rem; font-weight: 500; box-shadow: none; transition: border-color .15s, box-shadow .15s;
}
html .seller-app textarea { padding: 12px 14px; line-height: 1.5; }
html .seller-app :is(input, select, textarea)::placeholder { color: #7a8494; font-weight: 500; opacity: 1; }
html[data-theme="dark"] .seller-app :is(input, select, textarea)::placeholder { color: #7f8896; }
html .seller-app :is(input:not([type="checkbox"], [type="radio"], [type="file"]), select, textarea):hover:not(:focus, :disabled) { border-color: var(--sd-line-hover); }
html .seller-app :is(input:not([type="checkbox"], [type="radio"], [type="file"]), select, textarea):focus { outline: none; border-color: var(--sd-brand); box-shadow: 0 0 0 3px var(--sd-brand-ring); }
html .seller-app :is(input, select, textarea)[aria-invalid="true"], html .seller-app .is-invalid :is(input, select, textarea) { border-color: var(--sd-danger); }
html .seller-app :is(input, select, textarea):disabled { background: var(--sd-subtle); color: var(--sd-muted); cursor: not-allowed; }
html .seller-app select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23566072' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
html[data-theme="dark"] .seller-app select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a0a9b8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>"); }
html .seller-app :is(.seller-form-section label, .sm2-field > span, .seller-delivery-panel label) { color: var(--sd-ink); font-weight: 600; font-size: .92rem; }
html .seller-app .seller-product-form--wizard .seller-form-section label { color: var(--sd-ink); font-size: .94rem; font-weight: 600; }
html .seller-app :is(.seller-form-section small, .seller-product-form--wizard .seller-form-section small, .seller-product-form--wizard .seller-price-hint, .seller-product-form--wizard .seller-stock__hint, .seller-product-form--wizard .seller-net, .seller-stock__hint, .seller-price-hint) { color: var(--sd-muted); font-size: .8rem; font-weight: 500; line-height: 1.5; }
html .seller-app .seller-product-form--wizard .seller-form-section label em, html .seller-app .seller-delivery-panel label em { color: var(--sd-muted); font-size: .8rem; font-weight: 500; }
html .seller-app .seller-product-form--wizard .seller-form-section input, html .seller-app .seller-product-form--wizard .seller-form-section select, html .seller-app .seller-product-form--wizard .seller-form-section textarea { padding: 10px 14px; font-size: .94rem; font-weight: 500; color: var(--sd-ink); }
html .seller-app .seller-product-form--wizard .seller-form-section textarea { padding: 12px 14px; }
html .seller-app .seller-product-form--wizard .seller-form-section h2, html .seller-app .seller-form-section h2 { color: var(--sd-ink); font-size: 1.45rem; font-weight: 800; }
html .seller-app :is(.seller-price-error, .seller-product-form--wizard .seller-form-section .seller-price-error) { color: var(--sd-danger); font-size: .82rem; font-weight: 700; }
html .seller-app :is(.seller-warn, .seller-product-form--wizard .seller-form-section .seller-warn) { color: var(--sd-warn); font-size: .82rem; font-weight: 600; }
html .seller-app .seller-wizard__error { border: 1.5px solid var(--sd-danger); border-radius: var(--sd-r-ctl); background: var(--sd-danger-soft); color: var(--sd-danger); font-weight: 700; font-size: .88rem; }

/* ---- 6) cartões e seções: 14px, borda 1.5px, sombra suave ------------------------------------------------------------------------- */
html .seller-app :is(.seller-form-section, .seller-product-card, .seller-live-preview, .seller-products__empty, .sm2-card, .seller-stock-card, .seller-bank, .seller-delivery-panel--message) {
  border: 1.5px solid var(--sd-line-soft); border-radius: var(--sd-r-card); background: var(--sd-surface); box-shadow: var(--sd-shadow-1);
}
html .seller-app .seller-form-section { padding: var(--sd-s6); gap: var(--sd-s4); }
html .seller-app .seller-live-preview__card { border: 1.5px solid var(--sd-line-soft); border-radius: 12px; background: var(--sd-surface); }
html .seller-app .seller-live-preview__media { border-radius: 8px; background: var(--sd-subtle); color: var(--sd-muted); font-weight: 600; }
html .seller-app .seller-live-preview__card h3 { color: var(--sd-ink); font-weight: 700; font-size: .85rem; }
html .seller-app .seller-live-preview__price { border: 1.5px solid var(--sd-brand); border-radius: var(--sd-r-ctl); color: var(--sd-brand); font-weight: 800; background: transparent; }
html .seller-app .seller-live-preview__seller, html .seller-app .seller-live-preview__hint { color: var(--sd-muted); font-weight: 500; font-size: .78rem; }
html .seller-app .seller-live-preview__net { border-radius: var(--sd-r-ctl); background: var(--sd-ok-soft); color: var(--sd-ok); font-weight: 600; }
html .seller-app .seller-live-preview__net small { color: var(--sd-ok); }
html .seller-app :is(.seller-stock-item, .seller-gallery-list li, .seller-stock-empty, .seller-model, .seller-mode-card) { border-radius: var(--sd-r-ctl); }
html .seller-app .seller-stock-empty { border: 1.5px dashed var(--sd-line); background: var(--sd-subtle); color: var(--sd-muted); font-weight: 500; }
html .seller-app .seller-stock-empty strong { color: var(--sd-ink-soft); }
html .seller-app .seller-stock-item { border: 1.5px solid var(--sd-line-soft); background: var(--sd-surface); }
html .seller-app .seller-stock-item code { color: var(--sd-ink); font-weight: 600; }
html .seller-app .seller-stock__title { color: var(--sd-ink); font-weight: 700; font-size: .88rem; }
html .seller-app .seller-stock__title span { color: var(--sd-muted); font-weight: 500; }
html .seller-app :is(.seller-stock__hint--error) { color: var(--sd-danger); }
html .seller-app .seller-stock__notice { color: var(--sd-brand); font-weight: 700; }
html .seller-app .seller-stock-card strong { color: var(--sd-ink); font-weight: 800; }
html .seller-app .seller-stock-card span { color: var(--sd-muted); font-weight: 600; }
html .seller-app .seller-delivery-block { border-top: 1.5px solid var(--sd-line-soft); }
html .seller-app .seller-more { border-top: 1.5px solid var(--sd-line-soft); }
html .seller-app .seller-more summary { display: flex; align-items: center; gap: 6px; list-style: none; color: var(--sd-brand); font-size: .9rem; font-weight: 700; cursor: pointer; }
html .seller-app .seller-more summary::-webkit-details-marker { display: none; }
html .seller-app .seller-more summary::before, html .seller-app details > summary.sd-summary::before { content: ""; width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: var(--sd-chev) center / contain no-repeat; mask: var(--sd-chev) center / contain no-repeat; transition: transform .15s; }
html .seller-app :is(.seller-more, details) { --sd-chev: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='m9 18 6-6-6-6'/></svg>"); }
html .seller-app .seller-more[open] > summary::before { transform: rotate(90deg); }

/* escolhas em cartão (Normal/Dinâmico, Automática/Chat/Outra) e pílulas de opção: 10px, borda 1.5px */
html .seller-app .seller-model { border: 1.5px dashed var(--sd-line); background: var(--sd-subtle); }
html .seller-app .seller-model.is-selected { border: 1.5px solid var(--sd-brand); background: var(--sd-surface); box-shadow: 0 0 0 3px var(--sd-brand-ring); }
html .seller-app .seller-product-form--wizard .seller-model strong, html .seller-app .seller-product-form--wizard .seller-mode-card strong { color: var(--sd-ink); font-size: .98rem; font-weight: 700; }
html .seller-app .seller-model.is-selected strong, html .seller-app .seller-mode-card:has(input:checked) strong { color: var(--sd-brand); }
html .seller-app .seller-product-form--wizard .seller-mode-card small, html .seller-app .seller-product-form--wizard .seller-model small { color: var(--sd-muted); font-size: .82rem; font-weight: 500; }
html .seller-app .seller-model em { border-radius: 6px; background: var(--sd-line-soft); color: var(--sd-ink-soft); font-weight: 700; }
html .seller-app .seller-form-section .seller-mode-card { border: 1.5px solid var(--sd-line); background: var(--sd-surface); }
html .seller-app .seller-form-section .seller-mode-card:hover { border-color: var(--sd-line-hover); }
html .seller-app .seller-form-section .seller-mode-card:has(input:checked), html .seller-app .seller-form-section .seller-mode-card.is-selected { border-color: var(--sd-brand); background: var(--sd-brand-soft); box-shadow: 0 0 0 3px var(--sd-brand-ring); }
html .seller-app .seller-form-section .seller-mode-card small { color: var(--sd-muted); }
html .seller-app .seller-pill { border: 1.5px solid var(--sd-line); border-radius: var(--sd-r-ctl); background: var(--sd-surface); color: var(--sd-ink-soft); font-size: .9rem; font-weight: 600; min-height: 40px; padding: 0 var(--sd-s4); transition: border-color .15s, background-color .15s; }
html .seller-app .seller-pill:hover { border-color: var(--sd-line-hover); }
html .seller-app .seller-pill.is-selected { border-color: var(--sd-brand); background: var(--sd-brand-soft); color: var(--sd-brand); }

/* ---- 7) passos (Anúncio · Imagens · Entrega) ------------------------------------------------------------------------------------ */
html .seller-app .seller-steps { gap: var(--sd-s3); }
html .seller-app .seller-steps__item button { min-height: 52px; padding: 0 var(--sd-s4); gap: var(--sd-s3); border: 1.5px solid var(--sd-line-soft); border-radius: var(--sd-r-card); background: var(--sd-surface); color: var(--sd-ink-soft); font-size: .95rem; font-weight: 700; box-shadow: var(--sd-shadow-1); transition: border-color .15s, background-color .15s; }
html .seller-app .seller-steps__item button:hover { border-color: var(--sd-line-hover); }
html .seller-app .seller-steps__dot { background: var(--sd-line-soft); color: var(--sd-ink-soft); font-size: .8rem; font-weight: 800; width: 28px; height: 28px; flex-basis: 28px; }
html .seller-app .seller-steps__item.is-current button { border-color: var(--sd-brand); background: var(--sd-brand-soft); color: var(--sd-brand); box-shadow: 0 0 0 3px var(--sd-brand-ring); }
html .seller-app .seller-steps__item.is-current .seller-steps__dot { background: var(--sd-brand); color: #fff; }
html .seller-app .seller-steps__item.is-done .seller-steps__dot { background: var(--sd-ok); color: #fff; }
html[data-theme="dark"] .seller-app .seller-steps__item.is-done .seller-steps__dot { color: #0b2417; }
html .seller-app .seller-steps__dot .sd-icon { width: 16px; height: 16px; stroke-width: 3; }
html .seller-app .seller-step__nav { gap: var(--sd-s3); margin-top: var(--sd-s5); }

/* ---- 8) chips de estado (Rascunho, Em análise, Publicado…): 8px de raio, bolinha de status redonda ------------------------------ */
html .seller-app .seller-status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; border: 1.5px solid var(--sd-line); background: var(--sd-subtle); color: var(--sd-ink-soft); font-size: .74rem; font-weight: 700; letter-spacing: 0; }
html .seller-app .seller-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
html .seller-app .seller-status.is-success { border-color: transparent; background: var(--sd-ok-soft); color: var(--sd-ok); }
html .seller-app .seller-status.is-pending { border-color: transparent; background: var(--sd-warn-soft); color: var(--sd-warn); }
html .seller-app .seller-status.is-danger { border-color: transparent; background: var(--sd-danger-soft); color: var(--sd-danger); }

/* ---- 9) Meus produtos: botões do topo, filtros, cartões, estado vazio ---------------------------------------------------------- */
html .seller-app .seller-products__toolbar { align-items: end; gap: var(--sd-s4); margin: var(--sd-s2) 0 var(--sd-s5); }
html .seller-app .seller-products__toolbar h2 { font-size: 1.25rem; font-weight: 800; color: var(--sd-ink); }
html .seller-app .seller-products__toolbar span { color: var(--sd-muted); font-size: .86rem; font-weight: 600; }
html .seller-app .seller-products__filters { gap: var(--sd-s2); }
html .seller-app .seller-products__filters :is(input, select) { min-height: 42px; font-size: .88rem; padding: 8px 12px; }
html .seller-app .seller-products__filters select { padding-right: 38px; }
html .seller-app .sd-search { position: relative; display: inline-flex; align-items: center; }
html .seller-app .sd-search .sd-icon { position: absolute; left: 12px; width: 18px; height: 18px; color: var(--sd-muted); pointer-events: none; }
html .seller-app .sd-search input { padding-left: 38px; }
html .seller-app .seller-product-card { overflow: hidden; transition: border-color .15s, box-shadow .15s; }
html .seller-app .seller-product-card:hover { border-color: var(--sd-line-hover); box-shadow: var(--sd-shadow-2); }
html .seller-app .seller-product-card__cover { background: var(--sd-subtle); color: var(--sd-muted); font-weight: 700; }
html .seller-app .seller-product-card__cover .seller-status { position: absolute; margin: 10px 0 0 10px; align-self: start; justify-self: start; background: var(--sd-surface); }
html .seller-app .seller-product-card__cover { position: relative; }
html .seller-app .seller-product-card__cat { color: var(--sd-muted); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
html .seller-app .seller-product-card h2 { color: var(--sd-ink); font-size: 1rem; font-weight: 700; }
html .seller-app .seller-product-card p { color: var(--sd-brand); font-weight: 800; font-size: 1.05rem; }
html .seller-app .seller-product-card small { color: var(--sd-muted); font-size: .78rem; font-weight: 500; }
html .seller-app .seller-product-card__actions { gap: var(--sd-s2); margin-top: var(--sd-s2); }
html .seller-app .seller-product-card__actions .button { min-height: 40px; padding-inline: var(--sd-s4); font-size: .82rem; flex: 1 1 0; }
html .seller-app .seller-products__empty { padding: var(--sd-s8); border: 1.5px dashed var(--sd-line); background: var(--sd-surface); box-shadow: none; justify-items: center; text-align: center; }
html .seller-app .seller-products__empty h2 { font-size: 1.3rem; font-weight: 800; color: var(--sd-ink); }
html .seller-app .seller-products__empty p { color: var(--sd-muted); font-size: .94rem; font-weight: 500; }
html .seller-app .sd-empty-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: var(--sd-s2); border-radius: 14px; background: var(--sd-brand-soft); color: var(--sd-brand); }
html .seller-app .sd-empty-icon .sd-icon { width: 28px; height: 28px; }
html .seller-app .seller-products__feedback { border: 1.5px solid var(--sd-ok); border-radius: var(--sd-r-ctl); background: var(--sd-ok-soft); color: var(--sd-ok); font-size: .9rem; font-weight: 600; }
html .seller-app .seller-products__feedback--error { border-color: var(--sd-danger); background: var(--sd-danger-soft); color: var(--sd-danger); }
html .seller-app .seller-products__archived { margin-top: var(--sd-s5); }
html .seller-app .account-loading { border: 1.5px dashed var(--sd-line); border-radius: var(--sd-r-card); background: var(--sd-surface); color: var(--sd-muted); font-size: .9rem; font-weight: 600; }

/* topo: botões "+ ANUNCIAR PRODUTO / + REDES SOCIAIS" lado a lado, mesma altura */
html .seller-app .sd-actions { display: flex; flex-wrap: wrap; gap: var(--sd-s3); align-items: center; }

/* ---- 10) envio de capa (arrastar e soltar, miniatura, trocar e remover) -------------------------------------------------------------- */
.sd-drop { display: grid; gap: var(--sd-s3); }
.sd-drop__zone { display: grid; justify-items: center; gap: var(--sd-s2); padding: var(--sd-s6) var(--sd-s4); border: 2px dashed var(--sd-line); border-radius: var(--sd-r-card); background: var(--sd-subtle); color: var(--sd-ink-soft); text-align: center; cursor: pointer; transition: border-color .15s, background-color .15s; }
.sd-drop__zone:hover, .sd-drop.is-over .sd-drop__zone { border-color: var(--sd-brand); background: var(--sd-brand-soft); }
.sd-drop__zone:focus-within { border-color: var(--sd-brand); box-shadow: 0 0 0 3px var(--sd-brand-ring); }
.sd-drop__zone .sd-icon { width: 34px; height: 34px; color: var(--sd-brand); }
.sd-drop__title { margin: 0; color: var(--sd-ink); font-size: .98rem; font-weight: 700; }
.sd-drop__title u { color: var(--sd-brand); text-decoration: underline; text-underline-offset: 3px; }
.sd-drop__help { margin: 0; color: var(--sd-muted); font-size: .82rem; font-weight: 500; line-height: 1.5; }
.sd-drop { position: relative; }
html .seller-app .sd-drop .sd-drop__input { position: absolute; left: 0; top: 0; width: 1px !important; height: 1px !important; min-height: 0; padding: 0; margin: 0; border: 0; opacity: 0; pointer-events: none; clip-path: inset(50%); }
.sd-drop__file { display: flex; align-items: center; gap: var(--sd-s4); padding: var(--sd-s3); border: 1.5px solid var(--sd-line-soft); border-radius: var(--sd-r-card); background: var(--sd-surface); }
.sd-drop__thumb { width: 128px; aspect-ratio: 16 / 10; flex: none; overflow: hidden; border-radius: 8px; background: var(--sd-subtle); border: 1.5px solid var(--sd-line-soft); }
.sd-drop__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sd-drop__meta { min-width: 0; flex: 1; display: grid; gap: 2px; }
.sd-drop__name { margin: 0; color: var(--sd-ink); font-size: .92rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sd-drop__info { margin: 0; color: var(--sd-muted); font-size: .8rem; font-weight: 500; }
.sd-drop__btns { display: flex; flex-wrap: wrap; gap: var(--sd-s2); margin-top: var(--sd-s2); }
.sd-drop__err { margin: 0; padding: 10px 12px; border-radius: var(--sd-r-ctl); border: 1.5px solid var(--sd-danger); background: var(--sd-danger-soft); color: var(--sd-danger); font-size: .86rem; font-weight: 700; }
.sd-drop__err[hidden] { display: none; }
@media (max-width: 520px) { .sd-drop__file { flex-direction: column; align-items: stretch; } .sd-drop__thumb { width: 100%; } }

/* ---- 11) modal (publicar, pop-up de serviços): 16px, centralizado ---------------------------------------------------------------- */
.sd-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: var(--sd-s4); font-family: var(--sd-font, inherit); }
.sd-modal__backdrop { position: absolute; inset: 0; background: rgba(10, 14, 22, .55); }
.sd-modal__panel { position: relative; width: min(440px, 100%); display: grid; justify-items: center; gap: var(--sd-s3); padding: var(--sd-s8) var(--sd-s6) var(--sd-s6); border: 1.5px solid var(--sd-line-soft); border-radius: var(--sd-r-modal); background: var(--sd-surface); color: var(--sd-ink); box-shadow: var(--sd-shadow-3); text-align: center; }
.sd-modal__panel h2 { margin: 0; font-size: 1.3rem; font-weight: 800; color: var(--sd-ink); }
.sd-modal__panel p { margin: 0; color: var(--sd-muted); font-size: .94rem; font-weight: 500; line-height: 1.5; }
.sd-modal__spinner { width: 44px; height: 44px; border: 4px solid var(--sd-line-soft); border-top-color: var(--sd-brand); border-radius: 50%; animation: sd-spin .8s linear infinite; }
.sd-modal__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--sd-ok-soft); color: var(--sd-ok); }
.sd-modal__icon .sd-icon { width: 30px; height: 30px; stroke-width: 2.4; }
.sd-modal__icon--err { background: var(--sd-danger-soft); color: var(--sd-danger); }
.sd-modal__btns { display: grid; gap: var(--sd-s2); width: 100%; margin-top: var(--sd-s3); }
.sd-modal__btns .sd-btn { width: 100%; }
.sd-btn { display: inline-flex; align-items: center; justify-content: center; }
.sd-modal .sd-btn, .sd-modal .button { min-height: 46px; }
.sd-modal .sd-btn { padding: 0 var(--sd-s5); border-radius: var(--sd-r-ctl); border: 1.5px solid transparent; font-family: var(--sd-font); font-size: .9rem; font-weight: 700; cursor: pointer; gap: 8px; }
.sd-modal .sd-btn--primary { background: var(--sd-brand); border-color: var(--sd-brand); color: #fff; }
.sd-modal .sd-btn--primary:hover { background: var(--sd-brand-dark); border-color: var(--sd-brand-dark); }
.sd-modal .sd-btn--secondary { background: var(--sd-surface); border-color: var(--sd-line); color: var(--sd-ink); }
.sd-modal .sd-btn--secondary:hover { border-color: var(--sd-brand); color: var(--sd-brand); }
.sd-modal .sd-btn:focus-visible { outline: 3px solid var(--sd-brand-ring); outline-offset: 2px; }
.sd-modal .sd-btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---- 12) carregamento de página inteira (painel de redes) ------------------------------------------------------------------------ */
.sd-pageload { display: grid; place-items: center; align-content: center; gap: var(--sd-s4); min-height: 56vh; padding: var(--sd-s8) var(--sd-s4); text-align: center; }
.sd-pageload__logo { height: 34px; width: auto; display: block; }
.sd-pageload__spinner { width: 40px; height: 40px; border: 4px solid var(--sd-line-soft); border-top-color: var(--sd-brand); border-radius: 50%; animation: sd-spin .8s linear infinite; }
.sd-pageload p { margin: 0; color: var(--sd-muted); font-size: .94rem; font-weight: 600; }
.sd-skel { display: grid; gap: var(--sd-s4); width: min(960px, 100%); }
.sd-skel__bar { height: 18px; border-radius: 8px; background: linear-gradient(90deg, var(--sd-line-soft), var(--sd-subtle), var(--sd-line-soft)); background-size: 200% 100%; animation: sd-shimmer 1.2s linear infinite; }
@keyframes sd-shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .sd-pageload__spinner, .sd-modal__spinner, .sd-skel__bar, html .seller-app .is-loading::after { animation-duration: 2.4s; } }

/* ---- 13) celular ------------------------------------------------------------------------------------------------------------------- */
@media (max-width: 640px) {
  html .seller-app { font-size: 15px; }
  html .seller-app .seller-form-section { padding: var(--sd-s4); }
  html .seller-app .seller-steps { gap: var(--sd-s2); }
  html .seller-app .seller-steps__item button { min-height: 48px; padding: 0 var(--sd-s2); gap: var(--sd-s2); font-size: .8rem; justify-content: center; }
  html .seller-app .seller-steps__dot { width: 24px; height: 24px; flex-basis: 24px; }
  html .seller-app .seller-products__toolbar { flex-direction: column; align-items: stretch; }
  html .seller-app .seller-products__filters { justify-content: stretch; }
  html .seller-app .seller-products__filters > * { flex: 1 1 100%; }
  html .seller-app .sd-search { flex: 1 1 100%; }
  html .seller-app .sd-actions .button { flex: 1 1 100%; }
  html .seller-app .seller-step__nav .button { flex: 1; }
}

/* ---- 14) painel de redes sociais (.sm2-*) ------------------------------------------------------------------------------------------ */
html .seller-app .sm2 { color: var(--sd-ink); font-weight: 500; }
html .seller-app .sm2-card, html .seller-app .sm2-summary { border: 1.5px solid var(--sd-line-soft); border-radius: var(--sd-r-card); background: var(--sd-surface); box-shadow: var(--sd-shadow-1); padding: var(--sd-s6); }
html .seller-app .sm2-card h2 { font-size: 1.3rem; font-weight: 800; margin: 2px 0 var(--sd-s4); color: var(--sd-ink); }
html .seller-app .sm2-summary h3 { font-weight: 800; font-size: 1.05rem; }
html .seller-app .sm2-muted { color: var(--sd-muted); font-size: .86rem; font-weight: 500; }
html .seller-app .sm2-badge { border-radius: 8px; background: var(--sd-brand-soft); color: var(--sd-brand); font-size: .72rem; font-weight: 700; padding: 3px 9px; margin-left: 0; }
html .seller-app .sm2-link { display: inline-flex; align-items: center; gap: 5px; color: var(--sd-brand); font-weight: 700; font-size: .84rem; text-decoration: none; padding: 4px 0; }
html .seller-app .sm2-link:hover { text-decoration: underline; text-underline-offset: 3px; }
html .seller-app .sm2-link .sd-icon { width: 15px; height: 15px; }
html .seller-app .sm2-row__head .sm2-link[data-sm2-remove] { color: var(--sd-danger); }
html .seller-app .sm2-net { border: 1.5px solid var(--sd-line); border-radius: var(--sd-r-card); background: var(--sd-surface); box-shadow: var(--sd-shadow-1); font-weight: 700; padding: var(--sd-s4) var(--sd-s2); }
html .seller-app .sm2-net:hover:not(:disabled) { border-color: var(--sd-line-hover); box-shadow: var(--sd-shadow-2); }
html .seller-app .sm2-net.is-on { border-color: var(--sd-brand); background: var(--sd-brand-soft); box-shadow: 0 0 0 3px var(--sd-brand-ring); }
html .seller-app .sm2-net b { font-weight: 700; font-size: .95rem; }
html .seller-app .sm2-net__icon { border-radius: var(--sd-r-ctl); width: 46px; height: 46px; }

/* categorias: cartão com ícone, nome em destaque e contagem discreta */
html .seller-app .sm2-cats { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--sd-s3); }
html .seller-app .sm2-cat { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: var(--sd-s3); min-height: 72px; padding: var(--sd-s3) var(--sd-s4); border: 1.5px solid var(--sd-line); border-radius: var(--sd-r-card); background: var(--sd-surface); color: var(--sd-ink); text-align: left; box-shadow: var(--sd-shadow-1); transition: border-color .15s, box-shadow .15s, background-color .15s; }
html .seller-app .sm2-cat:hover { border-color: var(--sd-brand); background: var(--sd-brand-soft); box-shadow: var(--sd-shadow-2); }
html .seller-app .sm2-cat span { font-weight: inherit; font-size: inherit; }
html .seller-app .sm2-cat__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--sd-r-ctl); background: var(--sd-brand-soft); color: var(--sd-brand); flex: none; }
html .seller-app .sm2-cat__icon .sd-icon { width: 22px; height: 22px; }
html .seller-app .sm2-cat__txt { display: grid; gap: 2px; min-width: 0; }
html .seller-app .sm2-cat .sm2-cat__name { font-size: .98rem; font-weight: 700; color: var(--sd-ink); line-height: 1.25; }
html .seller-app .sm2-cat small { color: var(--sd-muted); font-size: .78rem; font-weight: 500; white-space: normal; }
html .seller-app .sm2-cat__badge { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--sd-subtle); color: var(--sd-ink-soft); border: 1.5px solid var(--sd-line-soft); }
html .seller-app .sm2-cat__badge .sd-icon { width: 15px; height: 15px; }
html .seller-app .sm2-cat__go { color: var(--sd-muted); display: grid; }
html .seller-app .sm2-cat__go .sd-icon { width: 18px; height: 18px; }
html .seller-app .sm2-cat:hover .sm2-cat__go { color: var(--sd-brand); }

/* pacotes */
html .seller-app .sm2-row { border: 1.5px solid var(--sd-line-soft); border-radius: var(--sd-r-card); background: var(--sd-subtle); padding: var(--sd-s5); margin: var(--sd-s3) 0; }
html .seller-app .sm2-row__head strong { font-size: .98rem; font-weight: 800; }
html .seller-app .sm2-row__service { font-weight: 700; font-size: .98rem; }
html .seller-app .sm2-limits { display: flex; flex-wrap: wrap; gap: var(--sd-s2); margin: var(--sd-s2) 0 0; }
html .seller-app .sm2-limit { display: inline-flex; gap: 5px; align-items: baseline; padding: 3px 10px; border-radius: 8px; border: 1.5px solid var(--sd-line); background: var(--sd-surface); color: var(--sd-muted); font-size: .78rem; font-weight: 600; }
html .seller-app .sm2-limit b { color: var(--sd-ink); font-weight: 800; }
html .seller-app .sm2-row__fields { gap: var(--sd-s4); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
html .seller-app .sm2-field { gap: 6px; font-weight: 600; color: var(--sd-ink); font-size: .9rem; }
html .seller-app .sm2-field input, html .seller-app .sm2-field textarea { padding: 10px 14px; }
html .seller-app .sm2-field small, html .seller-app .sm2-help { color: var(--sd-muted); font-size: .78rem; font-weight: 500; min-height: 0; line-height: 1.45; }
html .seller-app .sm2-help b { color: var(--sd-brand); font-weight: 800; margin-left: 4px; }
html .seller-app .sm2-hint { color: var(--sd-ink-soft); font-size: .84rem; font-weight: 600; }
html .seller-app .sm2-hint.is-bad { display: flex; gap: 8px; padding: 10px 12px; border: 1.5px solid var(--sd-danger); border-radius: var(--sd-r-ctl); background: var(--sd-danger-soft); color: var(--sd-danger); font-weight: 700; }
html .seller-app .sm2-add { margin-top: var(--sd-s2); min-height: 48px; font-weight: 800; border-style: solid; }
html .seller-app .sm2-search input { margin-bottom: var(--sd-s3); }

/* capa */
html .seller-app .sm2-cover { grid-template-columns: 180px minmax(0, 1fr); gap: var(--sd-s5); align-items: start; }
html .seller-app .sm2-cover__img, html .seller-app .sm2-preview__img { border: 1.5px solid var(--sd-line-soft); border-radius: 12px; background: var(--sd-subtle); font-weight: 600; }
html .seller-app .sd-drop__label { color: var(--sd-ink); font-size: .92rem; font-weight: 600; }
html .seller-app .sm2-upload { cursor: pointer; }

/* resumo, revisão, tabela */
html .seller-app .sm2-sum dt { color: var(--sd-muted); font-weight: 600; }
html .seller-app .sm2-sum dd { font-weight: 700; }
html .seller-app .sm2-sumlist li { border-radius: var(--sd-r-ctl); background: var(--sd-subtle); border: 1.5px solid var(--sd-line-soft); }
html .seller-app .sm2-sumlist li b { font-weight: 700; }
html .seller-app .sm2-sumlist li small { color: var(--sd-muted); font-weight: 500; }
html .seller-app .sm2-table th { color: var(--sd-muted); font-weight: 700; }
html .seller-app .sm2-table th, html .seller-app .sm2-table td { border-bottom: 1.5px solid var(--sd-line-soft); }
html .seller-app .sm2-rules { color: var(--sd-ink-soft); font-weight: 500; }
html .seller-app .sm2-nav { gap: var(--sd-s3); }

/* pop-up de serviços */
html .seller-app .sm2-modal__panel { border: 1.5px solid var(--sd-line-soft); border-radius: var(--sd-r-modal); background: var(--sd-surface); box-shadow: var(--sd-shadow-3); padding: var(--sd-s6); }
html .seller-app .sm2-modal__head { align-items: center; gap: var(--sd-s3); }
html .seller-app .sm2-modal__head > div { flex: 1; min-width: 0; }
html .seller-app .sm2-modal__head h2 { margin: 0; font-size: 1.3rem; font-weight: 800; }
html .seller-app .sm2-modal__logos { display: inline-flex; gap: var(--sd-s2); flex: none; }
html .seller-app .sm2-modal__logos .sm2-net__icon { width: 44px; height: 44px; }
html .seller-app .sm2-x { display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--sd-line); border-radius: var(--sd-r-ctl); background: var(--sd-surface); color: var(--sd-ink); cursor: pointer; flex: none; }
html .seller-app .sm2-x:hover { border-color: var(--sd-brand); color: var(--sd-brand); }
html .seller-app .sm2-x .sd-icon { width: 20px; height: 20px; }
html .seller-app .sm2-svcs { gap: var(--sd-s3); }
html .seller-app .sm2-svc { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--sd-s4); padding: var(--sd-s4); border: 1.5px solid var(--sd-line-soft); border-radius: var(--sd-r-card); background: var(--sd-surface); box-shadow: var(--sd-shadow-1); transition: border-color .15s; }
html .seller-app .sm2-svc:hover { border-color: var(--sd-line-hover); }
html .seller-app .sm2-svc__top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sd-s2); }
html .seller-app .sm2-svc__top b { font-size: .98rem; font-weight: 700; line-height: 1.3; }
html .seller-app .sm2-svc__price { margin: 4px 0 0; color: var(--sd-brand); font-size: 1.05rem; font-weight: 800; }
html .seller-app .sm2-svc .button { min-height: 40px; padding: 0 var(--sd-s4); font-size: .8rem; letter-spacing: .02em; }
@media (max-width: 640px) {
  html .seller-app .sm2-card, html .seller-app .sm2-summary { padding: var(--sd-s4); }
  html .seller-app .sm2-cats { grid-template-columns: 1fr; }
  html .seller-app .sm2-cover { grid-template-columns: 1fr; }
  html .seller-app .sm2-svc { grid-template-columns: 1fr; }
  html .seller-app .sm2-svc .button { width: 100%; }
  html .seller-app .sm2-modal__panel { padding: var(--sd-s4); }
}

/* busca dentro dos painéis: ocupa a linha toda; cabeçalho do pop-up com respiro */
html .seller-app .sm2-search { display: block; }
html .seller-app .sm2-search .sd-search { display: flex; width: 100%; }
html .seller-app .sm2-search .sd-search input { width: 100%; margin-bottom: 0; }
html .seller-app .sm2-search { margin: var(--sd-s4) 0 var(--sd-s3); }
html .seller-app .sm2-modal__head { margin-bottom: var(--sd-s1); }
html .seller-app .sm2-cats { margin-top: var(--sd-s2); }

/* topo da página: título à esquerda, botões à direita, quebram para baixo no aperto (sem espremer o título) */
html .seller-app .admin-topbar { flex-wrap: wrap; align-items: flex-start; gap: var(--sd-s4); }
html .seller-app .admin-topbar__title { flex: 1 1 320px; min-width: 0; }
html .seller-app .seller-topbar__action { display: flex; flex-wrap: wrap; gap: var(--sd-s3); align-items: center; }
html .seller-app .seller-topbar__action .button { margin: 0 !important; white-space: nowrap; }
/* cartões de produto: Editar/Arquivar nunca cortam */
html .seller-app .seller-product-card__actions { display: flex; flex-wrap: wrap; }
html .seller-app .seller-product-card__actions .button { flex: 1 1 110px; min-width: 0; padding-inline: var(--sd-s3); white-space: nowrap; }
@media (max-width: 640px) { html .seller-app .seller-topbar__action { width: 100%; } html .seller-app .seller-topbar__action .button { flex: 1 1 100%; justify-content: center; } }

/* Radios escondidos dos cartões de modo de entrega: ficavam com a largura da tela e criavam rolagem horizontal */
html .seller-app :is(.seller-mode-card, .seller-pill, .seller-model) { position: relative; }
html .seller-app :is(.seller-mode-card, .seller-pill, .seller-model) > input[type="radio"] { position: absolute; left: 0; top: 0; width: 1px !important; height: 1px !important; min-height: 0; padding: 0; margin: 0; border: 0; opacity: 0; pointer-events: none; }

/* ---- Painel de redes: cartão do pacote alinhado (05/11) ---- */
html .seller-app .sm2-row__head { display: flex; align-items: center; gap: var(--sd-s2); min-height: 28px; }
html .seller-app .sm2-row__info { display: grid; gap: 6px; margin: var(--sd-s3) 0 var(--sd-s4); padding-bottom: var(--sd-s4); border-bottom: 1.5px solid var(--sd-line-soft); }
html .seller-app .sm2-row__info .sm2-row__service { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--sd-s2) var(--sd-s4); }
html .seller-app .sm2-row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sd-s2) var(--sd-s3); margin: 0; }
html .seller-app .sm2-row__meta .sm2-muted { margin: 0; font-weight: 600; }
html .seller-app .sm2-row__meta .sm2-limits { margin: 0; }
html .seller-app .sm2-row__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sd-s4); align-items: start; margin-top: 0; }
html .seller-app .sm2-row__fields.is-single { grid-template-columns: minmax(0, 1fr); max-width: 50%; }
html .seller-app .sm2-field { display: grid; grid-template-rows: auto auto minmax(2.9em, auto); align-content: start; gap: 6px; min-width: 0; }
html .seller-app .sm2-field > label { color: var(--sd-ink); font-weight: 600; font-size: .92rem; line-height: 1.3; }
html .seller-app .sm2-field input { height: 46px; box-sizing: border-box; }
html .seller-app .sm2-field .sm2-help { margin: 0; }
html .seller-app .sm2-row .sm2-hint:empty { display: none; }
html .seller-app .sm2-row .sm2-hint { margin: var(--sd-s3) 0 0; }
@media (max-width: 640px) {
  html .seller-app .sm2-row__fields, html .seller-app .sm2-row__fields.is-single { grid-template-columns: minmax(0, 1fr); max-width: none; }
  html .seller-app .sm2-field { grid-template-rows: auto auto auto; }
}

/* ---- Carregando: tela cheia centrada, sem caixa tracejada (vale para todas as páginas do vendedor) ---- */
@keyframes sd-fade { from { opacity: 0; } to { opacity: 1; } }
html .seller-app .account-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sd-s3); max-width: none; width: 100%; min-height: 14rem; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--sd-muted); font-size: .86rem; font-weight: 600; animation: sd-fade .18s ease both; }
html .seller-app .account-loading > span { width: 40px; height: 40px; border-width: 4px; border-color: var(--sd-line-soft); border-top-color: var(--sd-brand); }
html .seller-app .seller-products > .account-loading, html .seller-app .sm2 > .sd-pageload { min-height: max(24rem, calc(100svh - 18rem)); }
html .seller-app .sd-pageload { animation: sd-fade .18s ease both; }
html .seller-app .sd-pageload p { font-size: .84rem; }
html .seller-app .sm2.is-enter { animation: sd-fade .22s ease both; }
@media (prefers-reduced-motion: reduce) { html .seller-app .account-loading, html .seller-app .sd-pageload, html .seller-app .sm2.is-enter { animation: none; } }
html[data-theme="dark"] .seller-app .sd-pageload__logo { content: url("/assets/repo-store-logo-dark.webp?v=1"); }

/* Bolinhas de não lidas: entram com fade + leve escala (só opacidade/transform, nenhum pulo de layout). */
@keyframes sd-badge-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
.order-chat__unread.is-in { animation: sd-badge-in .24s ease-out both; }
@media (prefers-reduced-motion: reduce) { .order-chat__unread.is-in { animation: none; } }

/* ===== Carregando (componente único: repo-loader.js) =====
   Esqueleto no formato da página + spinner da marca que só entra depois de 0,7 s (esperas curtas não piscam). */
:root { --rl-base: #e9eef5; --rl-shine: #f6f9fc; --rl-panel: #ffffff; --rl-edge: #e3e8ef; --rl-brand: #1677f4; --rl-muted: #566072; }
html[data-theme="dark"] { --rl-base: #262c37; --rl-shine: #323a48; --rl-panel: #1b1f27; --rl-edge: #2a303b; --rl-brand: #3b8cff; --rl-muted: #a0a9b8; }
@keyframes rl-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes rl-spin { to { transform: rotate(360deg); } }
@keyframes rl-late { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes rl-fade { from { opacity: 0; } to { opacity: 1; } }
.rs-load { position: relative; display: grid; gap: 16px; width: 100%; max-width: 980px; min-height: max(22rem, calc(100svh - 18rem)); align-content: start; padding: 4px 0 24px; animation: rl-fade .18s ease both; }
.rs-load__shape { display: grid; gap: 14px; }
.rs-load b, .rs-load i, .rs-load__bar, .rs-load__panel, .rs-load__facts > div { display: block; border-radius: 8px; background: linear-gradient(100deg, var(--rl-base) 30%, var(--rl-shine) 50%, var(--rl-base) 70%); background-size: 200% 100%; animation: rl-shimmer 1.4s linear infinite; }
.rs-load b { height: 12px; width: 100%; }
.rs-load b.rs-load__short { width: 55%; }
.rs-load b.rs-load__title { height: 16px; width: 38%; }
.rs-load__bar { height: 34px; width: 46%; }
.rs-load__bar--wide { width: min(360px, 70%); }
.rs-load__chips { display: flex; gap: 8px; }
.rs-load__chips i { width: 84px; height: 30px; border-radius: 999px; }
.rs-load__row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--rl-edge); border-radius: 14px; background: var(--rl-panel); }
.rs-load__thumb { width: 64px; height: 64px; border-radius: 12px; }
.rs-load__thumb--lg { width: 96px; height: 96px; }
.rs-load__lines { display: grid; gap: 9px; }
.rs-load__lines b:first-child { width: 62%; height: 14px; }
.rs-load__end { width: 72px; height: 28px; border-radius: 999px; }
.rs-load__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.rs-load__card { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--rl-edge); border-radius: 14px; background: var(--rl-panel); }
.rs-load__cover { height: 120px; border-radius: 10px; }
.rs-load__panel { display: grid; gap: 12px; padding: 18px; border: 1px solid var(--rl-edge); border-radius: 14px; background: var(--rl-panel); animation: none; }
.rs-load__panel b { opacity: .9; }
.rs-load__panel--tall { min-height: 170px; background: linear-gradient(100deg, var(--rl-base) 30%, var(--rl-shine) 50%, var(--rl-base) 70%); background-size: 200% 100%; animation: rl-shimmer 1.4s linear infinite; }
.rs-load__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.rs-load__facts > div { display: grid; gap: 9px; padding: 14px; height: auto; background: var(--rl-panel); border: 1px solid var(--rl-edge); animation: none; }
.rs-load__spinner { position: absolute; z-index: 2; top: 28vh; left: 0; right: 0; width: fit-content; margin: 0 auto; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border: 1px solid var(--rl-edge); border-radius: 999px; background: var(--rl-panel); box-shadow: 0 6px 24px rgba(15, 23, 42, .1); color: var(--rl-muted); font-size: .84rem; font-weight: 600; font-style: normal; opacity: 0; animation: rl-late .3s ease var(--rl-delay, 700ms) forwards; }
.rs-load__spinner em { font-style: normal; }
.rs-load__spinner span, .rs-load-inline__spin { width: 18px; height: 18px; flex: none; box-sizing: border-box; border: 3px solid var(--rl-edge); border-top-color: var(--rl-brand); border-radius: 50%; animation: rl-spin .8s linear infinite; }
.rs-load-inline { display: inline-flex; align-items: center; gap: 8px; color: var(--rl-muted); font-size: .86rem; font-weight: 600; }
.rs-load-inline__spin { width: 14px; height: 14px; border-width: 2px; }
@media (max-width: 640px) { .rs-load__row { grid-template-columns: auto 1fr; } .rs-load__end { display: none; } .rs-load__thumb { width: 52px; height: 52px; } .rs-load__spinner { top: 20vh; } }
@media (prefers-reduced-motion: reduce) { .rs-load, .rs-load__spinner { animation: none; opacity: 1; } .rs-load b, .rs-load i, .rs-load__bar, .rs-load__panel--tall, .rs-load__facts > div, .rs-load__spinner span, .rs-load-inline__spin { animation-duration: 3s; } }
.rs-load--again { animation: none; }
.rs-load--shown .rs-load__spinner { animation: none; opacity: 1; }

/* ---- Parte 4: menu agrupado e recolhível, Vendas em linhas organizadas, Dúvidas com abas (só tokens do sistema) -------------------- */
html .seller-app .seller-group__toggle { display: flex; align-items: center; justify-content: space-between; gap: var(--sd-s2); width: 100%; margin: 0; padding: var(--sd-s2) var(--sd-s3); background: none; border: 0; border-radius: var(--sd-r-ctl); color: var(--sd-muted); font: inherit; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-align: left; cursor: pointer; }
html .seller-app .seller-group__toggle:hover { color: var(--sd-ink); background: var(--sd-subtle); }
html .seller-app .seller-group__toggle:focus-visible { outline: 2px solid var(--sd-brand); outline-offset: 1px; }
html .seller-app .seller-group__toggle svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease; }
html .seller-app .seller-group.is-collapsed .seller-group__toggle svg { transform: rotate(-90deg); }
html .seller-app .seller-group.is-collapsed:has(.order-chat__unread) .seller-group__toggle::after { content: ""; width: 8px; height: 8px; margin-left: auto; margin-right: var(--sd-s2); border-radius: 50%; background: var(--rs-badge, #d6333b); order: 1; }
html .seller-app .seller-group.is-collapsed:has(.order-chat__unread) .seller-group__toggle svg { order: 2; }
html .seller-app .seller-nav[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { html .seller-app .seller-group__toggle svg { transition: none; } }

html .seller-app .seller-sales__tabs { display: flex; flex-wrap: wrap; gap: var(--sd-s2); margin: 0 0 var(--sd-s4); }
html .seller-app .seller-sales__tab { min-height: 36px; padding: 0 var(--sd-s4); border: 1px solid var(--sd-line); border-radius: 999px; background: var(--sd-surface); color: var(--sd-ink-soft); font: inherit; font-size: .84rem; font-weight: 600; cursor: pointer; }
html .seller-app .seller-sales__tab:hover { border-color: var(--sd-line-hover); }
html .seller-app .seller-sales__tab.is-active { background: var(--sd-brand-soft); border-color: var(--sd-brand); color: var(--sd-brand-dark); font-weight: 700; }
html .seller-app .seller-sales__tab:focus-visible { outline: 2px solid var(--sd-brand); outline-offset: 2px; }

html .seller-app .seller-sales__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--sd-s4); align-items: center; padding: var(--sd-s4) var(--sd-s5); border: 1px solid var(--sd-line-soft); border-radius: var(--sd-r-card); background: var(--sd-surface); box-shadow: var(--sd-shadow-1); }
html .seller-app .seller-sales__row + .seller-sales__row { margin-top: var(--sd-s3); }
html .seller-app .seller-sales__row-main { min-width: 0; display: grid; gap: var(--sd-s1); }
html .seller-app .seller-sales__order { margin: 0; color: var(--sd-muted); font-size: .72rem; font-weight: 700; letter-spacing: .05em; }
html .seller-app .seller-sales__row h3 { margin: 0; font-size: 1rem; font-weight: 700; color: var(--sd-ink); overflow-wrap: anywhere; }
html .seller-app .seller-sales__buyer { margin: 0; color: var(--sd-ink-soft); font-size: .88rem; }
html .seller-app .seller-sales__chips { display: flex; flex-wrap: wrap; gap: var(--sd-s2); margin-top: var(--sd-s2); }
html .seller-app .seller-sales__delivery { display: inline-flex; align-items: center; min-height: 26px; padding: 0 var(--sd-s3); border-radius: 999px; background: var(--sd-subtle); color: var(--sd-ink-soft); font-size: .76rem; font-weight: 600; }
html .seller-app .seller-sales__delivery.is-success { background: var(--sd-ok-soft); color: var(--sd-ok); }
html .seller-app .seller-sales__delivery.is-pending { background: var(--sd-warn-soft); color: var(--sd-warn); }
html .seller-app .seller-sales__delivery.is-danger { background: var(--sd-danger-soft); color: var(--sd-danger); }
html .seller-app .seller-sales__row-meta { display: grid; justify-items: end; gap: var(--sd-s3); }
html .seller-app .seller-sales__row-meta strong { font-size: 1.1rem; font-weight: 800; color: var(--sd-ink); }
html .seller-app .seller-sales__row-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--sd-s2); }
html .seller-app .seller-sales__row-actions .button { min-height: 40px; font-size: .82rem; }
@media (max-width: 640px) {
  html .seller-app .seller-sales__row { grid-template-columns: 1fr; padding: var(--sd-s4); }
  html .seller-app .seller-sales__row-meta { grid-auto-flow: row; justify-items: stretch; grid-template-columns: 1fr; }
  html .seller-app .seller-sales__row-actions { justify-content: stretch; }
  html .seller-app .seller-sales__row-actions .button { flex: 1 1 0; }
  html .seller-app .seller-sales__tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: var(--sd-s1); scrollbar-width: none; }
  html .seller-app .seller-sales__tab { flex: none; }
}
html .seller-app .seller-questions__none { margin: 0; padding: var(--sd-s6) var(--sd-s4); text-align: center; color: var(--sd-muted); border: 1px dashed var(--sd-line); border-radius: var(--sd-r-card); }
html .seller-app .seller-sales__chips .order-status { min-height: 26px; display: inline-flex; align-items: center; padding: 0 var(--sd-s3); font-size: .76rem; font-weight: 600; }

/* ---- Parte 6: telas internas no padrão do sistema (fontes mínimas 12/14 px, cantos 14/10 px, bordas 1.5 px, chips sem pílula) ------- */
/* Rótulos e etiquetas: mínimo 12 px, peso 600 */
html .seller-app :is(.section-kicker, .seller-sale-detail__facts dt, .seller-sales__order, .seller-question__badge, .seller-questions__count, .award-tier__tag, .ocard__status, .odrop__label, .purchase-access-state, .seller-product-card__cat, .seller-status, .order-status, .seller-sales__delivery, .pd2-pill, .ocard__ok, .refund-pill, .payout-chip, .admin-filter > span, .seller-money__all) { font-size: 12px; font-weight: 600; letter-spacing: .04em; line-height: 1.3; }
html .seller-app :is(.seller-status, .order-status, .seller-sales__delivery, .seller-question__badge, .seller-questions__count, .award-tier__tag, .ocard__status, .purchase-access-state, .pd2-pill, .ocard__ok, .refund-pill, .payout-chip) { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border-radius: 8px; letter-spacing: .01em; text-transform: none; font-size: 12px; font-weight: 600; }
html .seller-app :is(.seller-sales__tab, .orders-tabs button, .orders-tabs) { border-radius: 10px; }
html .seller-app .seller-sales__tab { font-size: 14px; border-width: 1.5px; }
/* Textos de apoio (legendas): 13 px; texto de corpo: 14 px */
html .seller-app :is(small, .achv__text small, .award-card__top small, .award-hero__text small, .award-tier small, .pd2-chat__txt small, .pd2-prod__txt small, .seller-question small, .seller-recent small, .wallet-row small, .seller-profile-card__form small, .seller-profile-card__photo small, .seller-profile-card__address small, .seller-profile-card__banner-actions small, .seller-profile-card__switch-text em) { font-size: 13px; line-height: 1.45; }
html .seller-app :is(.seller-content p, .seller-content dd, .seller-content li, .seller-question__text, .seller-sale-detail__note, .seller-anticipate-note, .seller-bank__current, .seller-withdraw-summary, .wallet-main__note, .award-note, .achv__text p, .seller-overview-bar p, .seller-profile-card__head p, .seller-questions__head p, .dash-card p, .award-tier p, .affiliate-steps strong) { font-size: max(14px, .875rem); }
html .seller-app :is(.seller-content a.button, .seller-content button.button, .ocard__btn, .dash-link, .seller-recent__link, .orders-foot b, .orders-foot span, .orders-per span, .orders-range span, .ocard__meta span, .ocard__meta b, .odrop__btn span, .seller-withdraw-form span, .admin-filter select, .admin-filter input) { font-size: 14px; }
html .seller-app :is(.seller-sales__pagination span, .seller-products__toolbar > div span, .orders-range i, .seller-money i, .orders-money em) { font-size: 13px; }
html .seller-app .seller-sales__order, html .seller-app .section-kicker { color: var(--sd-muted); }
/* Cartões 14 px, campos e botões 10 px, bordas 1.5 px com contraste */
html .seller-app :is(.dash-card, .seller-sale-detail, .seller-questions, .seller-question, .seller-profile-card, .store-tools__block, .wallet-row, .award-tier, .achv, .ocard, .orders-filters, .affiliate-empty, .seller-sales__row, .seller-sales__filters, .purchase-card, .purchase-detail, .pd2-card, .seller-deliver-form, .seller-profile-card__banner, .seller-profile-card__photo, .seller-profile-card__address, .award-hero, .award-card) { border-width: 1.5px; border-radius: var(--sd-r-card); }
html .seller-app :is(input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea, .pselect__btn, .range-btn, button.button, a.button, .ocard__btn, .odrop__btn, .seller-sale-detail__facts > div, .seller-profile-card__switch) { border-width: 1.5px; border-radius: var(--sd-r-ctl); }
html .seller-app :is(input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea, .pselect__btn, .range-btn) { border-color: var(--sd-line); font-size: 16px; }
@media (min-width: 761px) { html .seller-app :is(input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea, .pselect__btn, .range-btn) { font-size: 15px; } }
html .seller-app :is(button.button--ghost, a.button--ghost) { border-color: var(--sd-line); }
/* Detalhe da venda: cabeçalho, grade, faixas e botões */
html .seller-app .seller-sale-detail { gap: var(--sd-s5); padding: var(--sd-s6); background: var(--sd-surface); box-shadow: var(--sd-shadow-1); }
html .seller-app .seller-sale-detail__head h2 { color: var(--sd-ink); font-size: 1.5rem; font-weight: 800; }
html .seller-app .seller-sale-detail__head p:not(.section-kicker) { margin: var(--sd-s1) 0 0; color: var(--sd-muted); font-size: 14px; }
html .seller-app .seller-sale-detail__facts { gap: var(--sd-s3); }
html .seller-app .seller-sale-detail__facts > div { padding: var(--sd-s3) var(--sd-s4); border-style: solid; border-color: var(--sd-line-soft); background: var(--sd-subtle); }
html .seller-app .seller-sale-detail__facts dt { color: var(--sd-muted); text-transform: uppercase; letter-spacing: .05em; }
html .seller-app .seller-sale-detail__facts dd { margin: var(--sd-s1) 0 0; color: var(--sd-ink); font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
html .seller-app .seller-sale-detail__note { padding: var(--sd-s3) var(--sd-s4); border: 1.5px solid var(--sd-line-soft); border-radius: var(--sd-r-ctl); background: var(--sd-subtle); color: var(--sd-ink-soft); line-height: 1.5; }
html .seller-app .seller-deliver-form__notice { margin: 0; padding: var(--sd-s3) var(--sd-s4); border: 1.5px solid var(--rs-ok-edge, var(--sd-ok)); border-radius: var(--sd-r-ctl); background: var(--sd-ok-soft); color: var(--sd-ok); font-size: 14px; font-weight: 600; }
html .seller-app .seller-deliver-form__error { padding: var(--sd-s3) var(--sd-s4); border: 1.5px solid var(--rs-danger-edge, var(--sd-danger)); border-radius: var(--sd-r-ctl); background: var(--sd-danger-soft); color: var(--sd-danger); font-size: 14px; font-weight: 600; }
html .seller-app .seller-deliver-form { background: var(--sd-subtle); }
html .seller-app .seller-deliver-form label { color: var(--sd-ink); font-size: 14px; font-weight: 600; }
html .seller-app .seller-sale-detail > .button { display: inline-flex; align-items: center; justify-content: center; gap: var(--sd-s2); min-height: var(--sd-control-h); }
html .seller-app .seller-sale-detail > .button svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html .seller-app .seller-sales__feedback { border: 1.5px solid var(--rs-danger-edge, var(--sd-danger)); border-radius: var(--sd-r-card); background: var(--sd-danger-soft); color: var(--sd-danger); }
html .seller-app .seller-sales__feedback h2 { font-size: 1.05rem; }
html .seller-app .seller-sales__feedback p { font-size: 14px; }
@media (max-width: 760px) { html .seller-app .seller-sale-detail { padding: var(--sd-s4); } html .seller-app .seller-sale-detail__facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { html .seller-app .seller-sale-detail__facts { grid-template-columns: 1fr; } }
/* Parte 6 (ajuste fino): mínimos nos últimos casos da varredura */
html .seller-app .achv-group h3 { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--sd-muted); }
html .seller-app :is(.seller-product-card__cover > span, .purchase-card__cover-fallback, .pd2-cover .purchase-card__cover-fallback, .pd2-chat__av .purchase-card__cover-fallback) { font-size: 12px; font-weight: 600; }
html .seller-app :is(.dash-card > b, .button small, .seller-question > b) { border-radius: 8px; }
html .seller-app :is(.orders-tabs button, .seller-products__tabs button, .seller-sales__tab, .ocard__id, .award-hero__total > span, .seller-profile-card__banner > span) { font-size: 14px; }
html .seller-app :is(.dash-card > b, .award-card__foot > span, .seller-profile-card__address > span) { font-size: 13px; }
html .seller-app :is(.achv-section > header b, .achv__tag, .payout-chip, .seller-bank-history .order-status, .award-tier__tag, .pd2-pill, .seller-withdraw small, .seller-anticipate small) { border-radius: 8px; }
html .seller-app :is(.achv-section > header b, .achv__tag) { font-size: 12px; font-weight: 600; }
