/* Tema escuro (etapa 1: home, cabeçalho, menus, cards). Ativado por html[data-theme="dark"]. */
html[data-theme="dark"] {
  --ink: #e9ebef;
  --ink-soft: #b3b9c4;
  --muted: #8a919d;
  --line: #2c3039;
  --line-strong: #373c47;
  --paper: #15171c;
  --mist: #1b1e24;
  --brand-pale: rgba(1, 108, 251, .16);
  color-scheme: dark;
}
html[data-theme="dark"] body { background: #15171c; color: var(--ink); }

/* Cabeçalho */
html[data-theme="dark"] .site-header { background: rgba(21, 23, 28, .88); border-bottom-color: #2a2e37; }
html[data-theme="dark"] body.header-over-hero:not(.header-solid) .site-header { background: transparent; border-bottom-color: transparent; }
/* Logo: o símbolo azul continua igual; só as letras (lado direito da imagem) ficam claras */
html[data-theme="dark"] .brand .brand__logo { content: url("/assets/repo-store-logo-dark.webp?v=1"); }
html[data-theme="dark"] .icon-button, html[data-theme="dark"] .menu-button { background: #1f2229; border-color: #2e333d; color: #d5d9e0; }
html[data-theme="dark"] .icon-button:hover { background: rgba(1,108,251,.18); border-color: rgba(1,108,251,.5); color: #fff; }
html[data-theme="dark"] .menu-button[data-unread]::after { border-color: #15171c; }
html[data-theme="dark"] .header-auth-link { background: #1f2229; border-color: #2e333d; color: #e3e6eb; }
html[data-theme="dark"] .header-auth-link:hover { background: #262a33; color: #fff; }
html[data-theme="dark"] .category-trigger, html[data-theme="dark"] .nav-categories, html[data-theme="dark"] .main-nav a:not(.nav-announce), html[data-theme="dark"] #category-trigger { color: #d5d9e0; }
html[data-theme="dark"] .site-header .mode-switch { background: #1f2229; }
html[data-theme="dark"] .mode-switch a { color: #a3aab6; }
html[data-theme="dark"] .mode-switch a:hover, html[data-theme="dark"] .mode-switch a.is-on { color: #fff; }
html[data-theme="dark"] .site-header .mode-pill { background: #2d323d; box-shadow: 0 0 0 1px rgba(1,108,251,.4); }

/* Buscas */
html[data-theme="dark"] .global-search { background: #1d2027; color: #a3aab6; }
html[data-theme="dark"] .global-search input { color: #eceef2; }
html[data-theme="dark"] .global-search input::placeholder { color: #7f8793; }
html[data-theme="dark"] .global-search svg { color: #8a919d; }
html[data-theme="dark"] .global-search:focus-within { background: #20242c; }

/* Menus suspensos */
html[data-theme="dark"] .category-popover, html[data-theme="dark"] .account-menu, html[data-theme="dark"] .mobile-search { background: #1d2027; border-color: #2e333d; box-shadow: 0 18px 44px rgba(0,0,0,.45); }
html[data-theme="dark"] .category-popover a, html[data-theme="dark"] .category-popover button, html[data-theme="dark"] .account-menu a, html[data-theme="dark"] .account-menu button { color: #d5d9e0; }
html[data-theme="dark"] .category-popover a:hover, html[data-theme="dark"] .category-popover button:hover, html[data-theme="dark"] .account-menu a:hover, html[data-theme="dark"] .account-menu button:hover { background: #262a33; color: #fff; }
html[data-theme="dark"] .account-menu .account-menu__who b { color: #fff; }
html[data-theme="dark"] .account-menu button em { background: #2a2e37; color: #9aa1ad; }
html[data-theme="dark"] .account-menu .account-menu__out:hover { background: rgba(214,69,80,.14); }

/* Hero */
html[data-theme="dark"] .hero__headline, html[data-theme="dark"] .hero__headline strong { color: #f1f3f6; }
html[data-theme="dark"] .hero__description { color: #b3b9c4; }
html[data-theme="dark"] .hero__hint { color: #8a919d; }
html[data-theme="dark"] .hero__lights i { opacity: .16; }
html[data-theme="dark"] .hero-search { background: #1d2027; }

/* Seções e títulos */
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3 { color: #eef0f4; }
html[data-theme="dark"] .section-kicker { color: #4d9bff; }

/* Cards de produto e prateleiras */
html[data-theme="dark"] .product-card, html[data-theme="dark"] .category-card, html[data-theme="dark"] .trust-strip__grid, html[data-theme="dark"] .showcase-card { background: #1d2027; border-color: #2c3039; }
html[data-theme="dark"] .product-card__title, html[data-theme="dark"] .product-card h3 { color: #e6e9ee; }
html[data-theme="dark"] .product-card:hover { border-color: #3a404c; }
html[data-theme="dark"] .product-card__seller { color: #9aa1ad; }
html[data-theme="dark"] .product-card__seller-initial { background: #2a2e37; color: #cfd4dc; }
html[data-theme="dark"] .trust-strip h3 { color: #e2e5ea; }
html[data-theme="dark"] .trust-strip p { color: #9aa1ad; }
html[data-theme="dark"] .trust-strip article { border-left-color: #2c3039; }
html[data-theme="dark"] .how-it-works__shell { border-color: #2c3039; }
html[data-theme="dark"] .shelf-arrow { background: #016cfb; color: #fff; }

/* Rodapé já é escuro: apenas alinha ao novo tom */
html[data-theme="dark"] .site-footer { background: #101216; }

/* Detalhes dos cards */
html[data-theme="dark"] .product-price, html[data-theme="dark"] .product-card .product-price { color: #f4f6f9; }
html[data-theme="dark"] .product-card__footer { border-top-color: #2c3039; }
html[data-theme="dark"] .product-card__preview, html[data-theme="dark"] .product-cover { background: #252932; }
html[data-theme="dark"] .product-visual { background: #242831; }
html[data-theme="dark"] .visual-window { background: #2d323d; border-color: rgba(255,255,255,.08); }
html[data-theme="dark"] .product-open { background: #262a33; color: #9db4d6; }
html[data-theme="dark"] .product-badge { background: rgba(1,108,251,.18); color: #6fb0ff; }
html[data-theme="dark"] .product-type, html[data-theme="dark"] .product-description { color: #8f97a3; }
html[data-theme="dark"] .product-card__seller { border-top-color: #2c3039; }
html[data-theme="dark"] .product-card__seller span, html[data-theme="dark"] .product-card__seller-name { color: #aab1bc; }

/* Etapa 2: página de produto */
html[data-theme="dark"] .detail-shell__title, html[data-theme="dark"] .detail-section h2, html[data-theme="dark"] .detail-price, html[data-theme="dark"] .trust-card h2, html[data-theme="dark"] .trust-card h3, html[data-theme="dark"] .trust-card strong, html[data-theme="dark"] .seller-card__label + * { color: #f1f3f6; }
html[data-theme="dark"] .detail-shell__breadcrumbs, html[data-theme="dark"] .detail-shell__breadcrumbs a { color: #8a919d; }
html[data-theme="dark"] .detail-shell__breadcrumbs [aria-current], html[data-theme="dark"] .detail-shell__breadcrumbs span:last-child { color: #b3b9c4; }
html[data-theme="dark"] .detail-summary__description, html[data-theme="dark"] .detail-description, html[data-theme="dark"] .detail-description p, html[data-theme="dark"] .detail-price-note, html[data-theme="dark"] .detail-summary__facts dd { color: #b3b9c4; }
html[data-theme="dark"] .detail-summary__facts, html[data-theme="dark"] .detail-section, html[data-theme="dark"] .detail-top { border-color: #2c3039; }
html[data-theme="dark"] .detail-gallery__stage, html[data-theme="dark"] .gallery-thumb, html[data-theme="dark"] .detail-gallery__media-frame, html[data-theme="dark"] .gallery-thumb__media-frame { background: #1d2027; border-color: #2c3039; }
html[data-theme="dark"] .detail-gallery__fallback, html[data-theme="dark"] .gallery-thumb__fallback { color: #8a919d; }
html[data-theme="dark"] .detail-badge { background: #262a33; color: #d5d9e0; border-color: #2e333d; }
html[data-theme="dark"] .detail-badge--accent { background: rgba(1,108,251,.2); color: #6fb0ff; }
html[data-theme="dark"] .trust-card, html[data-theme="dark"] .detail-card, html[data-theme="dark"] .detail-description__meta, html[data-theme="dark"] .detail-questions, html[data-theme="dark"] .detail-demo, html[data-theme="dark"] .detail-empty { background: #1d2027; border-color: #2c3039; color: #b3b9c4; }
html[data-theme="dark"] .trust-card__icon { background: rgba(1,108,251,.18); color: #6fb0ff; }
html[data-theme="dark"] .trust-card p, html[data-theme="dark"] .trust-card small, html[data-theme="dark"] .trust-card__guarantee { color: #aab1bc; }
html[data-theme="dark"] .seller-card__online { background: #1f2a24; color: #5fd08a; border-color: #2a4535; }
html[data-theme="dark"] .seller-card__stat, html[data-theme="dark"] .seller-card__stats, html[data-theme="dark"] .seller-card__verifs, html[data-theme="dark"] .seller-card__verif { border-color: #2c3039; color: #b3b9c4; }
html[data-theme="dark"] .seller-card__label, html[data-theme="dark"] .seller-card__verifs-title, html[data-theme="dark"] .seller-card__notes { color: #8a919d; }
html[data-theme="dark"] .btn-secondary, html[data-theme="dark"] .button--ghost, html[data-theme="dark"] .detail-summary__purchase button:not(.button--primary) { background: transparent; border-color: #3a404c; color: #d5d9e0; }
html[data-theme="dark"] .gallery-control, html[data-theme="dark"] .gallery-zoom { background: rgba(29,32,39,.9); color: #e9ebef; }
html[data-theme="dark"] .detail-shell .detail-shell__title, html[data-theme="dark"] h1.detail-shell__title, html[data-theme="dark"] .detail-summary h1, html[data-theme="dark"] .detail-summary__title-row h1 { color: #f1f3f6 !important; }
html[data-theme="dark"] .detail-summary__facts dt, html[data-theme="dark"] .detail-summary__facts span { color: #8a919d; }
html[data-theme="dark"] .detail-summary__facts dd, html[data-theme="dark"] .detail-summary__facts strong { color: #e9ebef; }

/* Etapa 2: login, conta, compras, vendas, chat */
html[data-theme="dark"] .auth-page__backdrop { opacity: .35; }
html[data-theme="dark"] .auth-card, html[data-theme="dark"] .account-card, html[data-theme="dark"] .account-center__sidebar, html[data-theme="dark"] .account-center__hero, html[data-theme="dark"] .account-page__hero, html[data-theme="dark"] .account-overview, html[data-theme="dark"] .order-card, html[data-theme="dark"] .order-detail, html[data-theme="dark"] .order-review, html[data-theme="dark"] .purchase-card, html[data-theme="dark"] .purchase-detail, html[data-theme="dark"] .purchase-delivery-item, html[data-theme="dark"] .purchase-delivery-note, html[data-theme="dark"] .order-chat, html[data-theme="dark"] .order-detail__facts, html[data-theme="dark"] .purchase-detail__facts, html[data-theme="dark"] .pix-payment__body, html[data-theme="dark"] .purchase-inventory-list { background: #1d2027; border-color: #2c3039; color: #b3b9c4; box-shadow: 0 14px 38px rgba(0,0,0,.35); }
html[data-theme="dark"] .auth-card h1, html[data-theme="dark"] .account-card h2, html[data-theme="dark"] .account-card h3, html[data-theme="dark"] .order-card strong, html[data-theme="dark"] .purchase-card strong, html[data-theme="dark"] .purchase-card h2, html[data-theme="dark"] .purchase-card h3, html[data-theme="dark"] .order-detail h1, html[data-theme="dark"] .order-detail h2, html[data-theme="dark"] .purchase-detail h1, html[data-theme="dark"] .purchase-detail h2, html[data-theme="dark"] .account-page h1, html[data-theme="dark"] .account-center h1, html[data-theme="dark"] .account-center h2 { color: #f1f3f6 !important; }
html[data-theme="dark"] .auth-card__description, html[data-theme="dark"] .auth-text-link, html[data-theme="dark"] .purchase-card__meta, html[data-theme="dark"] .purchase-card__date, html[data-theme="dark"] .order-card__meta, html[data-theme="dark"] .purchase-card__eyebrow, html[data-theme="dark"] .account-center__sidebar-label { color: #9aa1ad; }
html[data-theme="dark"] .auth-divider { color: #8a919d; }
html[data-theme="dark"] .auth-divider::before, html[data-theme="dark"] .auth-divider::after { background: #2c3039; }
html[data-theme="dark"] .auth-provider, html[data-theme="dark"] .account-nav a, html[data-theme="dark"] .account-center__nav a { background: #232730; border-color: #2e333d; color: #e3e6eb; }
html[data-theme="dark"] .account-nav a:hover, html[data-theme="dark"] .account-center__nav a:hover, html[data-theme="dark"] .account-center__nav a[aria-current], html[data-theme="dark"] .account-center__nav a.is-active { background: rgba(1,108,251,.18); color: #fff; }
html[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]), html[data-theme="dark"] textarea, html[data-theme="dark"] select { background: #15171c; border-color: #343a45; color: #e9ebef; }
html[data-theme="dark"] input::placeholder, html[data-theme="dark"] textarea::placeholder { color: #737b88; }
html[data-theme="dark"] .global-search input { background: transparent; border-color: transparent; }
html[data-theme="dark"] .purchase-card__cover, html[data-theme="dark"] .purchase-detail__cover, html[data-theme="dark"] .purchase-card__cover-fallback { background: #252932; color: #8a919d; }
html[data-theme="dark"] .order-status { background: #262a33; color: #d5d9e0; }
html[data-theme="dark"] .order-chat__head, html[data-theme="dark"] .order-chat__form { background: #1d2027; border-color: #2c3039; }
html[data-theme="dark"] .order-chat__bubble--theirs { background: #2a2e37; color: #e3e6eb; }
html[data-theme="dark"] .order-chat__system, html[data-theme="dark"] .order-chat__notice, html[data-theme="dark"] .order-chat__state, html[data-theme="dark"] .order-chat__empty { background: #232730; color: #aab1bc; border-color: #2c3039; }
html[data-theme="dark"] .purchase-card__footer, html[data-theme="dark"] .order-card__top { border-color: #2c3039; }
html[data-theme="dark"] .button:not(.button--primary), html[data-theme="dark"] .btn-ghost { background: #232730; border-color: #343a45; color: #e3e6eb; }
html[data-theme="dark"] .toast { background: #262a33; color: #f1f3f6; }
html[data-theme="dark"] .auth-page, html[data-theme="dark"] .auth-page__backdrop, html[data-theme="dark"] main { background-color: #15171c; }
html[data-theme="dark"] .auth-page__backdrop { background-image: radial-gradient(circle at 20% 10%, rgba(1,108,251,.14), transparent 45%), radial-gradient(circle at 85% 90%, rgba(1,108,251,.08), transparent 45%); opacity: 1; }
html[data-theme="dark"] .auth-page__backdrop::before, html[data-theme="dark"] .auth-page__backdrop::after { display: none; }
html[data-theme="dark"] .auth-page::before, html[data-theme="dark"] .auth-page::after { display: none; }

/* Busca do hero: sem caixa escura dentro da barra */
html[data-theme="dark"] .hero-search input, html[data-theme="dark"] .hero .hero-search input[type] { background: transparent !important; border-color: transparent !important; box-shadow: none; }

/* Página de produto: cards chapados, sem borda branca (estilo GGMax) */
html[data-theme="dark"] .detail-shell__card, html[data-theme="dark"] .trust-card, html[data-theme="dark"] .detail-card, html[data-theme="dark"] .characteristics-table { background: #1b1d23; border: 1px solid rgba(255,255,255,.05); box-shadow: none; border-radius: 14px; }
html[data-theme="dark"] .trust-card--seller { background: #1b1d23; }
html[data-theme="dark"] .characteristics-table { overflow: hidden; }
html[data-theme="dark"] .characteristics-table dt { background: #23262d; color: #d5d9e0; border-color: rgba(255,255,255,.05); }
html[data-theme="dark"] .characteristics-table dd { color: #b3b9c4; border-color: rgba(255,255,255,.05); }
html[data-theme="dark"] .characteristics-table > * { border-color: rgba(255,255,255,.05); }
html[data-theme="dark"] .detail-card--included span, html[data-theme="dark"] .detail-card--included > div > span:first-child { background: #262a33; color: #6fb0ff; }
html[data-theme="dark"] .detail-gallery__stage, html[data-theme="dark"] .gallery-thumb { background: #1b1d23; border: 1px solid rgba(255,255,255,.05); }
html[data-theme="dark"] .detail-gallery__image, html[data-theme="dark"] .gallery-thumb__image { background: transparent; }
html[data-theme="dark"] .gallery-zoom { background: rgba(27,29,35,.92); border-color: rgba(255,255,255,.1); }
html[data-theme="dark"] .seller-card__avatar { border-color: rgba(255,255,255,.12); }
html[data-theme="dark"] .detail-description, html[data-theme="dark"] .detail-card.detail-description { background: #1b1d23; }
html[data-theme="dark"] .detail-card button { background: #23262d; border-color: rgba(255,255,255,.08); color: #d5d9e0; }
html[data-theme="dark"] .detail-shell__card, html[data-theme="dark"] .trust-card, html[data-theme="dark"] .detail-card, html[data-theme="dark"] .characteristics-table, html[data-theme="dark"] .detail-sidebar .trust-card { border: 1px solid rgba(255,255,255,.06) !important; }
html[data-theme="dark"] .detail-section.detail-questions, html[data-theme="dark"] .detail-questions, html[data-theme="dark"] .detail-empty, html[data-theme="dark"] .detail-demo { background: transparent !important; border: 0 !important; box-shadow: none; }
html[data-theme="dark"] .detail-empty > span { background: #262a33 !important; border-radius: 12px; }
html[data-theme="dark"] .detail-card .question-form input { border-radius: 10px; }
html[data-theme="dark"] .global-search input, html[data-theme="dark"] .global-search input[type], html[data-theme="dark"] .mobile-search input { background: transparent !important; border-color: transparent !important; box-shadow: none; }

/* Página /claude (REPO AI) */
html[data-theme="dark"] .ai-page { background: transparent; --ai-tint: rgba(217,92,58,.16); --ai-accent-dark: #ee7a58; }
html[data-theme="dark"] .ai-page h1, html[data-theme="dark"] .ai-page h2, html[data-theme="dark"] .ai-page h3 { color: #f1f3f6 !important; }
html[data-theme="dark"] .ai-lead, html[data-theme="dark"] .ai-hero p:not(.section-kicker), html[data-theme="dark"] .ai-package__unit, html[data-theme="dark"] .ai-package__per { color: #aab1bc; }
html[data-theme="dark"] .ai-card, html[data-theme="dark"] .ai-model, html[data-theme="dark"] .ai-package, html[data-theme="dark"] .ai-models li, html[data-theme="dark"] .ai-faq details, html[data-theme="dark"] .ai-steps li { background: #1b1d23; border: 1px solid rgba(255,255,255,.06); color: #cfd4dc; box-shadow: none; }
html[data-theme="dark"] .ai-model:hover, html[data-theme="dark"] .ai-package:hover { border-color: rgba(217,92,58,.5); box-shadow: 0 14px 30px rgba(0,0,0,.35); }
html[data-theme="dark"] .ai-chips li { background: transparent; border-color: rgba(255,255,255,.14); color: #aab1bc; }
html[data-theme="dark"] .ai-package__amount, html[data-theme="dark"] .ai-package__price, html[data-theme="dark"] .ai-package strong, html[data-theme="dark"] .ai-model strong { color: #f1f3f6; }
html[data-theme="dark"] .ai-model__tag { background: rgba(217,92,58,.18); color: #ff9a7e; }
html[data-theme="dark"] .ai-page .button:not(.button--primary) { background: #23262d; color: #e3e6eb; border-color: rgba(255,255,255,.1); }
html[data-theme="dark"] .account-feedback, html[data-theme="dark"] .account-loading, html[data-theme="dark"] .ai-mode__card, html[data-theme="dark"] .ai-notice { background: #1b1d23; border: 1px solid rgba(255,255,255,.06); color: #cfd4dc; box-shadow: none; }
html[data-theme="dark"] .account-feedback--error { background: rgba(214,69,80,.12); border-color: rgba(214,69,80,.35); color: #ff9aa2; }
html[data-theme="dark"] .ai-mode__card.is-on { border-color: #d95c3a; background: rgba(217,92,58,.12); }
html[data-theme="dark"] .ai-mode__card strong, html[data-theme="dark"] .ai-notice strong { color: #f1f3f6; }

/* Etapa 3: admin (variáveis do painel) */
html[data-theme="dark"] .admin-app {
  --a-bg: #15171c; --a-card: #1b1d23; --a-line: rgba(255,255,255,.07); --a-text: #e9ebef; --a-muted: #8a919d; --a-accent: #4d8dff; --a-accent-soft: rgba(77,141,255,.16);
  --a-good: #3ecf8e; --a-good-soft: rgba(62,207,142,.14); --a-bad: #ff7a70; --a-bad-soft: rgba(255,122,112,.14); --a-warn: #f0b04a; --a-warn-soft: rgba(240,176,74,.14);
}
html[data-theme="dark"] .dash-heat__row i, html[data-theme="dark"] .dash-bar__track, html[data-theme="dark"] .admin-thumb, html[data-theme="dark"] .admin-review-card__cover, html[data-theme="dark"] .admin-cover-preview { background: #2a2e37; }
html[data-theme="dark"] .dash-chart__dots circle, html[data-theme="dark"] .dash-focus { fill: #1b1d23; }
html[data-theme="dark"] .admin-app .admin-filter input, html[data-theme="dark"] .admin-app .admin-filter select, html[data-theme="dark"] .pselect__btn, html[data-theme="dark"] .range-btn, html[data-theme="dark"] .cla-field input, html[data-theme="dark"] .cla-search input, html[data-theme="dark"] .cla-form .cla-panel .cla-field input, html[data-theme="dark"] .apr-box .cla-field input { background: #15171c; color: var(--a-text); border-color: rgba(255,255,255,.1); }
html[data-theme="dark"] .admin-app .admin-table tbody tr:hover { background: rgba(255,255,255,.04); }
html[data-theme="dark"] .admin-chip, html[data-theme="dark"] .admin-chip--draft, html[data-theme="dark"] .cla-badge { background: #2a2e37; color: #b3b9c4; }
html[data-theme="dark"] .admin-chip--archived { background: #33282b; color: #d99aa2; }
html[data-theme="dark"] .admin-review-card, html[data-theme="dark"] .admin-app .admin-approval-detail, html[data-theme="dark"] .pselect__list, html[data-theme="dark"] .rangepop { background: #1b1d23; border-color: rgba(255,255,255,.08); box-shadow: 0 16px 40px rgba(0,0,0,.4); color: var(--a-text); }
html[data-theme="dark"] .rangepop__nav, html[data-theme="dark"] .rangepop__foot button, html[data-theme="dark"] .rangepop__day { color: #e3e6eb; background-color: transparent; border-color: rgba(255,255,255,.12); }
html[data-theme="dark"] .rangepop__nav { background: #2a2e37; }
html[data-theme="dark"] .cla-seg button.is-on, html[data-theme="dark"] .cla-quick button, html[data-theme="dark"] .cla-pager button, html[data-theme="dark"] .cla-key-actions button, html[data-theme="dark"] .cla-actions button, html[data-theme="dark"] .cla-chip span, html[data-theme="dark"] .apr-btns button, html[data-theme="dark"] .apr-btns a { background: #23262d; color: var(--a-text); border-color: rgba(255,255,255,.1); }
html[data-theme="dark"] .cla-form .cla-panel { background: rgba(77,141,255,.07); border-color: rgba(77,141,255,.35); }
html[data-theme="dark"] .cla-form .cla-quick button, html[data-theme="dark"] .cla-form .cla-chip span, html[data-theme="dark"] .cla-form .cla-panel .cla-field input { background: #15171c; border-color: rgba(77,141,255,.35); }
html[data-theme="dark"] .dash-skel-lines i { background: linear-gradient(90deg, #23262d 25%, #2d313a 45%, #23262d 65%); background-size: 220% 100%; }
@media (max-width: 900px) { html[data-theme="dark"] .admin-app .admin-table tr { background: #1b1d23; } }
html[data-theme="dark"] .admin-app .admin-table th, html[data-theme="dark"] .admin-app .admin-table td { color: #cfd4dc !important; border-color: rgba(255,255,255,.07) !important; }
html[data-theme="dark"] .admin-app .admin-table th { color: #8a919d !important; background: transparent !important; }
html[data-theme="dark"] .admin-app .admin-table, html[data-theme="dark"] .admin-app .admin-table thead, html[data-theme="dark"] .admin-app .admin-table tbody, html[data-theme="dark"] .admin-app .admin-table tr { background: transparent; border-color: rgba(255,255,255,.07); }
html[data-theme="dark"] .admin-app .admin-table td small, html[data-theme="dark"] .admin-app .admin-table td a { color: #8fb4ff; }
html[data-theme="dark"] .admin-app .admin-table-wrap, html[data-theme="dark"] .admin-app .admin-table-scroll { background: transparent; border-color: rgba(255,255,255,.07); }

/* Etapa 3: painel do vendedor */
html[data-theme="dark"] .seller-sales__row, html[data-theme="dark"] .seller-question, html[data-theme="dark"] .seller-profile-card, html[data-theme="dark"] .seller-sale-detail, html[data-theme="dark"] .seller-products__empty, html[data-theme="dark"] .seller-products__feedback, html[data-theme="dark"] .seller-product-card, html[data-theme="dark"] .seller-affiliate-card, html[data-theme="dark"] .seller-form-section, html[data-theme="dark"] .seller-preview-panel, html[data-theme="dark"] .seller-preview-panel__card, html[data-theme="dark"] .seller-live-preview__card, html[data-theme="dark"] .seller-delivery-panel, html[data-theme="dark"] .seller-delivery-block, html[data-theme="dark"] .seller-mode-card, html[data-theme="dark"] .seller-option, html[data-theme="dark"] .seller-model, html[data-theme="dark"] .seller-chart-card, html[data-theme="dark"] .seller-money { background: #1b1d23; border: 1px solid rgba(255,255,255,.07); color: #cfd4dc; box-shadow: none; }
html[data-theme="dark"] .seller-sales__row *, html[data-theme="dark"] .seller-question *, html[data-theme="dark"] .seller-product-card *, html[data-theme="dark"] .seller-products__empty *, html[data-theme="dark"] .seller-profile-card * { border-color: rgba(255,255,255,.08); }
html[data-theme="dark"] .seller-sales__row strong, html[data-theme="dark"] .seller-sales__row h3, html[data-theme="dark"] .seller-product-card h3, html[data-theme="dark"] .seller-products__empty h3, html[data-theme="dark"] .seller-products__empty strong, html[data-theme="dark"] .seller-question strong, html[data-theme="dark"] .seller-profile-card h2, html[data-theme="dark"] .seller-profile-card h3 { color: #f1f3f6; }
html[data-theme="dark"] .seller-sales__row small, html[data-theme="dark"] .seller-sales__row p, html[data-theme="dark"] .seller-products__empty p, html[data-theme="dark"] .seller-product-card p, html[data-theme="dark"] .seller-question p { color: #9aa1ad; }
html[data-theme="dark"] .seller-products__feedback--error { background: rgba(214,69,80,.12); border-color: rgba(214,69,80,.35); color: #ff9aa2; }
html[data-theme="dark"] .seller-product-card__cover, html[data-theme="dark"] .seller-cover-preview, html[data-theme="dark"] .seller-gallery-empty, html[data-theme="dark"] .seller-live-preview__media, html[data-theme="dark"] .seller-preview-panel__media { background: #2a2e37; }
html[data-theme="dark"] .seller-pill { background: #2a2e37; color: #cfd4dc; }
html[data-theme="dark"] .seller-moderation-note { background: rgba(240,176,74,.1); color: #f0b04a; }
html[data-theme="dark"] .seller-moderation-note--info { background: rgba(77,141,255,.12); color: #8fb4ff; }
html[data-theme="dark"] .seller-app .button--ghost, html[data-theme="dark"] .seller-app .button--secondary { background: #23262d; color: #e3e6eb; border-color: rgba(255,255,255,.1); }

/* Dúvidas e Afiliação (painel do vendedor) */
html[data-theme="dark"] .seller-questions, html[data-theme="dark"] .seller-questions__list { background: transparent; border-color: rgba(255,255,255,.07); box-shadow: none; }
html[data-theme="dark"] .seller-questions { background: #1b1d23; border: 1px solid rgba(255,255,255,.07); }
html[data-theme="dark"] .seller-questions h2, html[data-theme="dark"] .seller-questions h3 { color: #f1f3f6 !important; }
html[data-theme="dark"] .seller-questions p, html[data-theme="dark"] .seller-questions small { color: #9aa1ad; }
html[data-theme="dark"] .seller-question { background: #23262d; border: 1px solid rgba(255,255,255,.07); }
html[data-theme="dark"] .seller-question__text, html[data-theme="dark"] .seller-question strong, html[data-theme="dark"] .seller-question__answer { color: #e9ebef; }
html[data-theme="dark"] .seller-question textarea { background: #15171c; color: #e9ebef; border-color: rgba(255,255,255,.1); }
html[data-theme="dark"] .seller-question__badge { background: rgba(240,176,74,.16); color: #f0b04a; }
html[data-theme="dark"] .affiliate-tabs { background: #1b1d23; border: 1px solid rgba(255,255,255,.08); box-shadow: none; }
html[data-theme="dark"] .affiliate-tab { background: transparent; color: #b3b9c4; }
html[data-theme="dark"] .affiliate-tab.is-on, html[data-theme="dark"] .affiliate-tab.is-active, html[data-theme="dark"] .affiliate-tab[aria-selected="true"] { background: rgba(77,141,255,.18); color: #8fb4ff; }
html[data-theme="dark"] .affiliate-steps > *, html[data-theme="dark"] .affiliate-steps li, html[data-theme="dark"] .affiliate-card, html[data-theme="dark"] .affiliate-stat, html[data-theme="dark"] .affiliate-link, html[data-theme="dark"] .affiliate-empty, html[data-theme="dark"] .affiliate-notice, html[data-theme="dark"] .affiliate-totals, html[data-theme="dark"] .seller-affiliate-summary { background: #1b1d23 !important; border-color: rgba(255,255,255,.08) !important; color: #cfd4dc; box-shadow: none; }
html[data-theme="dark"] .affiliate-steps strong, html[data-theme="dark"] .affiliate-card h3, html[data-theme="dark"] .affiliate-card__body h3, html[data-theme="dark"] .affiliate-empty strong, html[data-theme="dark"] .affiliate-stat strong { color: #f1f3f6; }
html[data-theme="dark"] .affiliate-card h3, html[data-theme="dark"] .affiliate-card__body * { color: inherit; }
html[data-theme="dark"] .affiliate-card__title, html[data-theme="dark"] .affiliate-card__body h3, html[data-theme="dark"] .affiliate-card__body h2 { color: #f1f3f6 !important; }
html[data-theme="dark"] .affiliate-card__price, html[data-theme="dark"] .affiliate-card__earning { color: #aab1bc; }
html[data-theme="dark"] .affiliate-card__earning b, html[data-theme="dark"] .affiliate-card__earning strong { color: #3ecf8e; }
html[data-theme="dark"] .affiliate-card__cover { background: #2a2e37; }
html[data-theme="dark"] .affiliate-steps span, html[data-theme="dark"] .affiliate-steps b:first-child { background: rgba(77,141,255,.18); color: #8fb4ff; }
html[data-theme="dark"] .affiliate-empty, html[data-theme="dark"] .affiliate-card__empty { border-color: rgba(255,255,255,.14) !important; }
html[data-theme="dark"] .affiliate-empty .button, html[data-theme="dark"] .affiliate-empty button { background: #2a2e37; color: #f1f3f6; }
html[data-theme="dark"] .affiliate-steps span, html[data-theme="dark"] .affiliate-steps b { background: transparent !important; color: #cfd4dc; }
html[data-theme="dark"] .affiliate-steps b { color: #f1f3f6; }
html[data-theme="dark"] .affiliate-steps strong { background: rgba(77,141,255,.18); color: #8fb4ff; }
html[data-theme="dark"] .affiliate-card__cover, html[data-theme="dark"] .affiliate-card__cover img { background: #2a2e37; }

/* Mobile: o véu branco do hero vira escuro para o texto continuar legível */
html[data-theme="dark"] .hero__silks::after { background: radial-gradient(ellipse 66% 60% at 50% 50%, rgba(21,23,28,.92) 0%, rgba(21,23,28,.72) 55%, rgba(21,23,28,0) 100%); }

/* Mobile: linha clara embaixo do topo do produto fica discreta */
html[data-theme="dark"] .detail-shell__hero { border-bottom-color: rgba(255,255,255,.08) !important; }

/* Claude: preços e títulos que ficavam pretos no escuro */
html[data-theme="dark"] .ai-mode__from b, html[data-theme="dark"] .ai-plan h3, html[data-theme="dark"] .ai-plan__price, html[data-theme="dark"] .ai-plan__price *, html[data-theme="dark"] .ai-package__price, html[data-theme="dark"] .ai-package__price *, html[data-theme="dark"] .ai-package__unit { color: #f1f3f6; }
html[data-theme="dark"] .ai-mode__from { color: #9aa1ad; }
html[data-theme="dark"] .ai-plan__buy { background: #23262d; color: #f1f3f6; border-color: rgba(255,255,255,.12); }
html[data-theme="dark"] .ai-package__label { color: #c9ced6; }

/* Admin/vendedor: fundos brancos fixos viram escuros (gerado) */
html[data-theme="dark"] .admin-app .admin-filter input, html[data-theme="dark"] .admin-app .admin-filter select { background: #23262d; }
html[data-theme="dark"] .admin-app .admin-table tbody tr:hover { background: #1b1d23; }
html[data-theme="dark"] .admin-chip--archived { background: #1b1d23; }
html[data-theme="dark"] .admin-review-card { background: #1b1d23; }
html[data-theme="dark"] .admin-app .admin-approval-detail { background: #1b1d23; }
html[data-theme="dark"] .admin-app .admin-table tr { background: #1b1d23; }
html[data-theme="dark"] .pselect__btn, html[data-theme="dark"] .range-btn { background: #23262d; }
html[data-theme="dark"] .pselect__list { background: #23262d; }
html[data-theme="dark"] .rangepop { background: #1b1d23; }
html[data-theme="dark"] .rangepop__nav { background: #1b1d23; }
html[data-theme="dark"] .rangepop__foot button { background: #23262d; }
html[data-theme="dark"] .cla-form .cla-panel .cla-field input { background: #23262d; }
html[data-theme="dark"] .cla-field input, html[data-theme="dark"] .cla-search input { background: #23262d; }
html[data-theme="dark"] .cla-seg button.is-on { background: #2a2f3a; }
html[data-theme="dark"] .cla-quick button, html[data-theme="dark"] .cla-pager button, html[data-theme="dark"] .cla-key-actions button, html[data-theme="dark"] .cla-actions button { background: #23262d; }
html[data-theme="dark"] .cla-chip span { background: #1b1d23; }
html[data-theme="dark"] .cla-row { background: #1b1d23; }
html[data-theme="dark"] .cla-form .cla-panel { background: #1b1d23; }
html[data-theme="dark"] .cla-form .cla-quick button { background: #23262d; }
html[data-theme="dark"] .cla-form .cla-chip span { background: #1b1d23; }
html[data-theme="dark"] .apr-btns button, html[data-theme="dark"] .apr-btns a { background: #23262d; }
html[data-theme="dark"] .apr-box .cla-field input { background: #23262d; }
html[data-theme="dark"] .detail-description__more span { background: rgba(255,255,255,.2); } html[data-theme="dark"] .detail-description__more { color: rgba(255,255,255,.78); }
/* Detalhe da venda (painel do vendedor): caixas de dados, aviso e lista do chat estavam claras no escuro */
html[data-theme="dark"] .seller-sale-detail__facts > div { background: #23262d; border-color: #2c3039; }
html[data-theme="dark"] .seller-sale-detail__facts dt { color: #8b93a1; }
html[data-theme="dark"] .seller-sale-detail__facts dd { color: #e3e6eb; }
html[data-theme="dark"] .seller-sale-detail__head h2 { color: #f1f3f6; }
html[data-theme="dark"] .seller-sale-detail__note { background: #232730; color: #aab1bc; }
html[data-theme="dark"] .order-chat__list { background: #1b1d23; }
/* Janela "Como você prefere pagar?" (e etapas do Pix): painel, botões e textos ficavam claros no escuro */
html[data-theme="dark"] .payment-dialog__backdrop { background: rgba(5,6,9,.66); }
html[data-theme="dark"] .payment-dialog__panel { background: #1b1d23; border-color: #2c3039; box-shadow: 0 26px 80px rgba(0,0,0,.55); }
html[data-theme="dark"] .payment-dialog__panel h2 { color: #f1f3f6; }
html[data-theme="dark"] .payment-dialog__close { background: #23262d; border-color: #343944; color: #c9ced6; }
html[data-theme="dark"] .payment-dialog__description, html[data-theme="dark"] .payment-dialog__product, html[data-theme="dark"] .pix-payment__hint { color: #9aa2af; }
html[data-theme="dark"] .payment-method-option { background: #23262d; border-color: #343944; color: #f1f3f6; }
html[data-theme="dark"] .payment-method-option:hover, html[data-theme="dark"] .payment-method-option:focus-visible { background: #2a2e37; border-color: rgba(22,119,244,.6); }
html[data-theme="dark"] .payment-method-option strong { color: #f1f3f6; }
html[data-theme="dark"] .payment-method-option small { color: #9aa2af; }
html[data-theme="dark"] .payment-method-option__icon--pix { background: rgba(50,188,173,.16); }
html[data-theme="dark"] .payment-method-option--disabled, html[data-theme="dark"] .payment-method-option--disabled:hover { background: #20232a; border-color: #2c3039; }
html[data-theme="dark"] .payment-coupon__status { color: #aab1bc; }
html[data-theme="dark"] .payment-coupon__status.is-error { color: #ff8a8f; }
html[data-theme="dark"] .payment-coupon__status.is-ok, html[data-theme="dark"] .payment-coupon__status.is-success { color: #4cd08a; }
html[data-theme="dark"] .payment-dialog__form label, html[data-theme="dark"] .pix-payment__copy label { color: #c9ced6; }
html[data-theme="dark"] .payment-dialog__form input, html[data-theme="dark"] .payment-dialog__form textarea, html[data-theme="dark"] .pix-payment__copy textarea { background: #23262d; border-color: #343944; color: #f1f3f6; }
html[data-theme="dark"] .payment-dialog__error { background: rgba(202,73,73,.14); border-color: rgba(255,99,105,.3); color: #ff8a8f; }
html[data-theme="dark"] .pix-payment__qr { background: #fff; border-color: #343944; }
html[data-theme="dark"] .pix-payment__qr-fallback { background: #23262d; border-color: #343944; color: #9aa2af; }
html[data-theme="dark"] .pix-payment__status { background: rgba(22,119,244,.12); color: #8fb8f0; }

/* Minhas compras (tabela) */
html[data-theme="dark"] .orders-tabs, html[data-theme="dark"] .orders-filters, html[data-theme="dark"] .orders-table-wrap, html[data-theme="dark"] .orders-empty { background: #1b1d23; border-color: #2c3039; }
html[data-theme="dark"] .orders-tabs button { color: #aab1bc; }
html[data-theme="dark"] .orders-tabs button:hover { background: #23262d; color: #f1f3f6; }
html[data-theme="dark"] .orders-tabs button.is-active { background: var(--brand); color: #fff; }
html[data-theme="dark"] .orders-filters label > span, html[data-theme="dark"] .orders-range > span, html[data-theme="dark"] .orders-foot, html[data-theme="dark"] .orders-product small, html[data-theme="dark"] .orders-empty { color: #8b93a1; }
html[data-theme="dark"] .orders-filters input, html[data-theme="dark"] .orders-filters select, html[data-theme="dark"] .orders-per select { background: #23262d; border-color: #2c3039; color: #e3e6eb; }
html[data-theme="dark"] .orders-table th { color: #8b93a1; border-color: #2c3039; }
html[data-theme="dark"] .orders-table td { color: #e3e6eb; border-color: #262a33; }
html[data-theme="dark"] .orders-table tbody tr:hover td { background: #20232a; }
html[data-theme="dark"] .orders-id, html[data-theme="dark"] .orders-foot b { color: #f1f3f6; }
html[data-theme="dark"] .orders-product__thumb { background: #252932; color: #8a919d; }
html[data-theme="dark"] .orders-btn { background: #262a33; border-color: #343945; color: #e3e6eb; }
html[data-theme="dark"] .orders-btn:hover { background: #2e333e; }
html[data-theme="dark"] .orders-btn--chat { background: var(--brand); border-color: var(--brand); color: #fff; }
html[data-theme="dark"] .orders-btn--rate { background: #3a2c10; border-color: #6b4d12; color: #f5b13d; }
html[data-theme="dark"] .orders-pager button { background: #1b1d23; border-color: #2c3039; color: #e3e6eb; }
html[data-theme="dark"] .orders-table tr { border-color: #2c3039; }
html[data-theme="dark"] .order-status.is-success { background: #14301f; color: #4cd08a; }
html[data-theme="dark"] .order-status.is-pending { background: #1b2a44; color: #7fb2ff; }
html[data-theme="dark"] .order-status.is-danger { background: #3a1d1d; color: #ff8f86; }

/* Minhas compras: cartões */
html[data-theme="dark"] .ocard { background: #1f2025; border-color: #2c2e35; border-left-color: var(--tone); }
html[data-theme="dark"] .ocard__id, html[data-theme="dark"] .ocard__qty, html[data-theme="dark"] .ocard__unit, html[data-theme="dark"] .ocard__meta { color: #9aa1ad; }
html[data-theme="dark"] .ocard__item, html[data-theme="dark"] .ocard__meta b, html[data-theme="dark"] .ocard__pay b { color: #f1f3f6; }
html[data-theme="dark"] .ocard__div { background: #3a3d46; }
html[data-theme="dark"] .ocard__status { background: #123524; color: #3fd08a; }
html[data-theme="dark"] .ocard__status.is-wait { background: #1b2a44; color: #7fb2ff; }
html[data-theme="dark"] .ocard__status.is-bad { background: #3a1d1d; color: #ff8f86; }
html[data-theme="dark"] .ocard__payicon { background: #2a2c33; color: #aeb4bf; }
html[data-theme="dark"] .ocard__ok { color: #3fd08a; }
html[data-theme="dark"] .ocard__btn { background: #3a3c43; border-color: #3a3c43; color: #f1f3f6; }
html[data-theme="dark"] .ocard__btn:hover { background: #45474f; }
html[data-theme="dark"] .ocard__btn--chat { background: var(--brand); border-color: var(--brand); color: #fff; }
html[data-theme="dark"] .ocard-skel { background: #1f2025; border-color: #2c2e35; }
html[data-theme="dark"] .orders-skeleton__bar, html[data-theme="dark"] .ocard-skel b { background: linear-gradient(90deg, #2a2c33 25%, #34373f 50%, #2a2c33 75%); background-size: 200% 100%; }
html[data-theme="dark"] .odrop__btn { background: #23262d; border-color: #2c3039; color: #e3e6eb; }
html[data-theme="dark"] .odrop__btn:hover, html[data-theme="dark"] .odrop.is-open .odrop__btn { background: #1b1d23; border-color: #3a4150; }
html[data-theme="dark"] .odrop.is-open .odrop__btn { border-color: var(--brand); }
html[data-theme="dark"] .odrop__menu { background: #1f2128; border-color: #2c3039; box-shadow: 0 18px 40px rgba(0,0,0,.5); }
html[data-theme="dark"] .odrop__menu button { color: #d9dde4; }
html[data-theme="dark"] .odrop__menu button:hover { background: #2a2d36; }
html[data-theme="dark"] .odrop__menu button.is-on { background: #1b2a44; color: #7fb2ff; }
html[data-theme="dark"] .odrop__label, html[data-theme="dark"] .orders-range > span, html[data-theme="dark"] .orders-money em, html[data-theme="dark"] .orders-per > span { color: #8b93a1; }
html[data-theme="dark"] .odrop__btn svg { stroke: #8b93a1; }
html[data-theme="dark"] .affiliate-card { background: #1f2025; border-color: #2c2e35; }
html[data-theme="dark"] .affiliate-card__earning { background: #123524; color: #3fd08a; }
html[data-theme="dark"] .affiliate-card__earning strong { color: #5fe0a2; }
html[data-theme="dark"] .affiliate-card__earning small { color: #6fbf97; }
html[data-theme="dark"] .affiliate-card__badge { background: #123524; color: #3fd08a; }
html[data-theme="dark"] .seller-product-card { background: #1f2025; border-color: #2c2e35; }
html[data-theme="dark"] .seller-product-card h2 { color: #f1f3f6; }
html[data-theme="dark"] .seller-product-card__cat, html[data-theme="dark"] .seller-product-card small { color: #8b93a1; }
html[data-theme="dark"] .seller-product-card__cover { background: #2a2e37; }
html[data-theme="dark"] .seller-product-card__cover .seller-status { background: #2a2c33; color: #d9dde4; }
html[data-theme="dark"] .seller-product-card__cover .seller-status.is-success { background: #123524; color: #3fd08a; }
html[data-theme="dark"] .seller-product-card__cover .seller-status.is-pending { background: #1b2a44; color: #7fb2ff; }
html[data-theme="dark"] .seller-product-card__cover .seller-status.is-danger { background: #3a1d1d; color: #ff8f86; }
html[data-theme="dark"] .repo-dialog__panel { background: #1f2128; border: 1px solid #2c3039; box-shadow: 0 24px 60px rgba(0,0,0,.6); }
html[data-theme="dark"] .repo-dialog__panel h2 { color: #f1f3f6; }
html[data-theme="dark"] .repo-dialog__panel p { color: #aab1bc; }
html[data-theme="dark"] .repo-dialog__icon { background: #1b2a44; color: #7fb2ff; }
html[data-theme="dark"] .repo-dialog__icon.is-danger { background: #3a1d1d; color: #ff8f86; }

/* Perfil da loja (escuro) */
html[data-theme="dark"] .seller-profile-card { background: #1b1d23; border-color: #2c3039; }
html[data-theme="dark"] .seller-profile-card__photo, html[data-theme="dark"] .seller-profile-card__switch { background: #20232a; border-color: #2c3039; }
html[data-theme="dark"] .seller-profile-card__form input[type=text], html[data-theme="dark"] .seller-profile-card__form input:not([type]) { background: #23262d; border-color: #2c3039; color: #e3e6eb; }
html[data-theme="dark"] .seller-profile-card__avatar { border-color: #1b1d23; background: #252932; box-shadow: 0 0 0 2px #2f3a4d; }
html[data-theme="dark"] .seller-profile-card__preview { background: #17191e; border-color: #2c3039; }
html[data-theme="dark"] .seller-profile-card__seller { background: #20232a; border-color: #2c3039; box-shadow: none; }
html[data-theme="dark"] .seller-profile-card__switch i { background: #3a404c; }
html[data-theme="dark"] .seller-profile-card__switch input:checked ~ i { background: #1fae6b; }
html[data-theme="dark"] .seller-profile-card__mini { background: #252932; }
html[data-theme="dark"] .seller-profile-card__seller em { color: #4cd08a; }

/* Dúvidas do produto (escuro) */
html[data-theme="dark"] .pq-ask { background: #20232a; border-color: rgba(255,255,255,.07); }
html[data-theme="dark"] .pq-ask textarea { background: #1a1c21; border-color: #3a3f4a; color: #e3e6eb; }
html[data-theme="dark"] .pq-ask h3, html[data-theme="dark"] .pq-count, html[data-theme="dark"] .pq-item__who b, html[data-theme="dark"] .pq-answer__head { color: #e8ebf0; }
html[data-theme="dark"] .pq-warn { background: #3b2d1c; color: #f1c27a; }
html[data-theme="dark"] .pq-item { background: #20232a; border-color: rgba(255,255,255,.07); }
html[data-theme="dark"] .pq-item__question, html[data-theme="dark"] .pq-item .pq-answer__text { color: #cfd4dc; }
html[data-theme="dark"] .pq-answer { background: #1a1c21; border-color: rgba(255,255,255,.07); }
html[data-theme="dark"] .pq-avatar { background: #252f44; color: #7fb2ff; }
html[data-theme="dark"] .pq-avatar--seller { background: #16301f; color: #4cd08a; }
html[data-theme="dark"] .pskel { background: linear-gradient(100deg, #1f2229 30%, #2a2e37 50%, #1f2229 70%); background-size: 200% 100%; }

@media (max-width: 760px) { html[data-theme="dark"] .site-header { background: #15171c; } }

/* Assistente de anúncio em passos (/meus-produtos/novo e edição): o styles.css fixa #212529 e #666 nos títulos, rótulos e dicas, que somem sobre o cartão escuro */
html[data-theme="dark"] .seller-product-form--wizard .seller-form-section h2,
html[data-theme="dark"] .seller-product-form--wizard .seller-form-section label,
html[data-theme="dark"] .seller-product-form--wizard .seller-mode-card strong,
html[data-theme="dark"] .seller-product-form--wizard .seller-model strong,
html[data-theme="dark"] .seller-product-form--wizard .seller-switch__text strong,
html[data-theme="dark"] .seller-option__head strong { color: #f1f3f6; }
html[data-theme="dark"] .seller-product-form--wizard .seller-form-section label em,
html[data-theme="dark"] .seller-product-form--wizard .seller-form-section small,
html[data-theme="dark"] .seller-product-form--wizard .seller-stock__hint,
html[data-theme="dark"] .seller-product-form--wizard .seller-price-hint,
html[data-theme="dark"] .seller-product-form--wizard .seller-net,
html[data-theme="dark"] .seller-product-form--wizard .seller-mode-card small,
html[data-theme="dark"] .seller-product-form--wizard .seller-model small,
html[data-theme="dark"] .seller-form-section .seller-switch__text small,
html[data-theme="dark"] .seller-form-section .seller-mode-card small,
html[data-theme="dark"] .seller-option__stock,
html[data-theme="dark"] .seller-wizard__soon { color: #a9b0bb; }
html[data-theme="dark"] .seller-product-form--wizard .seller-form-section .seller-warn,
html[data-theme="dark"] .seller-form-section .seller-cover-hint { color: #f0b04a; }
html[data-theme="dark"] .seller-product-form--wizard .seller-form-section .seller-price-error,
html[data-theme="dark"] .seller-form-section small.seller-price-error { color: #ff8f86; }
html[data-theme="dark"] .seller-product-form--wizard .seller-net strong { color: #4cd08a; }
html[data-theme="dark"] .seller-product-form--wizard .seller-model.is-selected strong,
html[data-theme="dark"] .seller-product-form--wizard .seller-mode-card.is-selected strong { color: #6aa8ff; }
html[data-theme="dark"] .seller-model { background: #1b1d23; border-color: rgba(255,255,255,.14); color: #a9b0bb; }
html[data-theme="dark"] .seller-model.is-selected { background: rgba(1,108,251,.12); border-color: #4d8dff; }
html[data-theme="dark"] .seller-model em { background: #2a2e37; color: #cfd4dc; }
html[data-theme="dark"] .seller-form-section .seller-mode-card.is-selected { background: rgba(1,108,251,.12); border-color: #4d8dff; }
html[data-theme="dark"] .seller-product-form--wizard .seller-form-section input,
html[data-theme="dark"] .seller-product-form--wizard .seller-form-section select,
html[data-theme="dark"] .seller-product-form--wizard .seller-form-section textarea { background: #15171c; color: #f1f3f6; border-color: rgba(255,255,255,.14); }
html[data-theme="dark"] .seller-product-form--wizard .seller-form-section input::placeholder,
html[data-theme="dark"] .seller-product-form--wizard .seller-form-section textarea::placeholder { color: #7f8794; }
html[data-theme="dark"] .seller-product-form--wizard .seller-form-section input:disabled,
html[data-theme="dark"] .seller-product-form--wizard .seller-form-section select:disabled { color: #8a919d; background: #1b1d23; }
html[data-theme="dark"] .seller-product-form--wizard .seller-form-section input:focus,
html[data-theme="dark"] .seller-product-form--wizard .seller-form-section select:focus,
html[data-theme="dark"] .seller-product-form--wizard .seller-form-section textarea:focus { border-color: #4d8dff; outline-color: rgba(77,141,255,.35); }
html[data-theme="dark"] .seller-wizard__error { background: rgba(214,69,80,.14); color: #ff9aa2; }
html[data-theme="dark"] .seller-form-head a { color: #6aa8ff; }

/* Passos (1 Anúncio · 2 Imagens · 3 Entrega): as pílulas eram brancas */
html[data-theme="dark"] .seller-steps__item button { background: #1b1d23; border-color: rgba(255,255,255,.1); color: #a9b0bb; }
html[data-theme="dark"] .seller-steps__dot { background: #2a2e37; color: #cfd4dc; }
html[data-theme="dark"] .seller-steps__item.is-current button { background: rgba(1,108,251,.16); border-color: rgba(77,141,255,.6); color: #8fb4ff; }
html[data-theme="dark"] .seller-steps__item.is-current .seller-steps__dot { background: #1677f4; color: #fff; }
html[data-theme="dark"] .seller-steps__item.is-done .seller-steps__dot { background: #0b7a54; color: #fff; }

/* Prévia ao vivo (cartão ao lado do formulário) */
html[data-theme="dark"] .seller-live-preview { background: #1b1d23; border-color: rgba(255,255,255,.08); }
html[data-theme="dark"] .seller-live-preview .section-kicker { color: #6aa8ff; }
html[data-theme="dark"] .seller-live-preview__card h3 { color: #e9ebef; }
html[data-theme="dark"] .seller-live-preview__price { color: #6aa8ff; border-color: rgba(106,168,255,.55); }
html[data-theme="dark"] .seller-live-preview__seller { color: #a9b0bb; }
html[data-theme="dark"] .seller-live-preview__hint { color: #a9b0bb; }
html[data-theme="dark"] .seller-live-preview__net { background: rgba(76,208,138,.1); color: #4cd08a; }
html[data-theme="dark"] .seller-live-preview__net small { color: #8fd9b0; }
html[data-theme="dark"] .seller-cover-preview, html[data-theme="dark"] .seller-gallery-empty, html[data-theme="dark"] .seller-live-preview__media { color: #aab1bc; }

/* Selos de situação (Rascunho, Aprovado, Em análise, Recusado) fora do cartão do produto */
html[data-theme="dark"] .seller-status { background: #2a2c33; color: #d9dde4; }
html[data-theme="dark"] .seller-status.is-success { background: #123524; color: #3fd08a; }
html[data-theme="dark"] .seller-status.is-pending { background: #3a2f14; color: #f0b04a; }
html[data-theme="dark"] .seller-status.is-danger { background: #3a1d1d; color: #ff8f86; }

/* Cinzas e azuis fixos que ficavam fracos sobre o fundo escuro (login, Skills, caminho de navegação, Afiliação, Dúvidas, admin) */
html[data-theme="dark"] .auth-form label { color: #cfd4dc; }
html[data-theme="dark"] .auth-footer { color: #a9b0bb; }
html[data-theme="dark"] .breadcrumbs a, html[data-theme="dark"] .category-hero-breadcrumbs a { color: #a9b0bb; }
html[data-theme="dark"] .category-hero-breadcrumbs { color: #a9b0bb; }
html[data-theme="dark"] .breadcrumbs a:hover, html[data-theme="dark"] .category-hero-breadcrumbs a:hover { color: #6aa8ff; }
html[data-theme="dark"] .breadcrumbs span[aria-current="page"] { color: #dfe3e9; }
html[data-theme="dark"] .skills-hero > p:not(.section-kicker), html[data-theme="dark"] .skills-catalog__summary p, html[data-theme="dark"] .open-code-catalog__summary p, html[data-theme="dark"] .category-catalog__heading p { color: #a9b0bb; }
html[data-theme="dark"] .section-divider { color: #a9b0bb; }
html[data-theme="dark"] .section-divider:hover { color: #6aa8ff; }
/* O reset "color: inherit" dos cartões de afiliação deixava o texto dos botões azuis cinza */
html[data-theme="dark"] .affiliate-card__body .button--primary { color: #fff; }
html[data-theme="dark"] .seller-more summary, html[data-theme="dark"] .seller-question summary, html[data-theme="dark"] .seller-app details > summary { color: #6aa8ff; }
html[data-theme="dark"] .seller-anticipate small { color: #8fb4ff; }
html[data-theme="dark"] .seller-nav a.is-active span { color: #8fb4ff; }
html[data-theme="dark"] .admin-table code { color: #9fc0ff; }
html[data-theme="dark"] .admin-role-form { background: #20232a; border-color: rgba(255,255,255,.08); }
html[data-theme="dark"] .admin-role-form h3 { color: #f1f3f6; }
html[data-theme="dark"] .admin-role-form label { color: #cfd4dc; }
html[data-theme="dark"] .admin-role-form small { color: #a9b0bb; }
html[data-theme="dark"] .admin-side a.is-active span { color: #8fb4ff; }
html[data-theme="dark"] .auth-footer a { color: #6aa8ff; }
html[data-theme="dark"] .category-hero-breadcrumbs span:last-child, html[data-theme="dark"] .category-hero-breadcrumbs [aria-current="page"] { color: #6aa8ff; }
html[data-theme="dark"] .seller-questions__count { background: #d13a40; }
html[data-theme="dark"] .admin-user__avatar { background: #2f6fe4; }

/* Loja no estilo Shop (shop.css): cartões brancos de 28px e títulos #000 não tinham versão escura. Os seletores repetem o peso dos do shop.css para valer sobre eles */
/* Página de produto */
html[data-theme="dark"] body.is-product-page article.product-page .detail-gallery,
html[data-theme="dark"] body.is-product-page article.product-page .detail-summary__facts div,
html[data-theme="dark"] body.is-product-page article.product-page .detail-summary__facts div + div,
html[data-theme="dark"] body.is-product-page article.product-page .detail-section,
html[data-theme="dark"] body.is-product-page article.product-page .trust-card,
html[data-theme="dark"] .checkout-card,
html[data-theme="dark"] .checkout-sheet { background: #1b1d23; box-shadow: none; }
html[data-theme="dark"] .checkout-card__head { background: var(--brand, #1677f4); color: #fff; }
html[data-theme="dark"] .checkout-sheet { box-shadow: 0 -8px 30px rgba(0,0,0,.5); border-top: 1px solid rgba(255,255,255,.08); }
html[data-theme="dark"] body.is-product-page article.product-page .detail-summary h1,
html[data-theme="dark"] body.is-product-page article.product-page .detail-gallery__head h2,
html[data-theme="dark"] body.is-product-page article.product-page .detail-section h2,
html[data-theme="dark"] body.is-product-page article.product-page .trust-card h2,
html[data-theme="dark"] body.is-product-page article.product-page .detail-summary__facts dd,
html[data-theme="dark"] body.is-product-page article.product-page .characteristics-row dd,
html[data-theme="dark"] .checkout-card .detail-price,
html[data-theme="dark"] .checkout-sheet__info b { color: #f1f3f6; }
html[data-theme="dark"] body.is-product-page article.product-page .detail-summary__facts dt,
html[data-theme="dark"] body.is-product-page article.product-page .characteristics-row dt,
html[data-theme="dark"] .checkout-card__label,
html[data-theme="dark"] .checkout-card .detail-price-note { color: #a9b0bb; }
html[data-theme="dark"] body.is-product-page article.product-page .characteristics-row { border-top-color: rgba(255,255,255,.08); }
html[data-theme="dark"] body.is-product-page article.product-page .detail-gallery__stage { background: #15171c; }
html[data-theme="dark"] .checkout-card__secure { color: #4cd08a; }

/* Detalhe de Open Code, Skills, Landing Pages e Packs */
html[data-theme="dark"] article.detail-shell:not(.product-page) .detail-section,
html[data-theme="dark"] article.detail-shell:not(.product-page) .trust-card,
html[data-theme="dark"] article.detail-shell:not(.product-page) .open-code-expansion,
html[data-theme="dark"] article.detail-shell:not(.product-page) .skill-pack-offer { background: #1b1d23; }
html[data-theme="dark"] article.detail-shell:not(.product-page) .detail-shell__title { color: #f1f3f6 !important; }
html[data-theme="dark"] article.detail-shell:not(.product-page) .detail-section h2 { color: #f1f3f6; }
html[data-theme="dark"] article.detail-shell:not(.product-page) .breadcrumbs { color: #a9b0bb; }

/* Cartões e títulos das categorias, Packs, Open Code e Skills */
html[data-theme="dark"] .category-product-card { background: #1b1d23; box-shadow: none; border: 1px solid rgba(255,255,255,.06); }
html[data-theme="dark"] .category-product-card:hover { box-shadow: 0 14px 30px rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.12); }
html[data-theme="dark"] .category-product-card__meta strong, html[data-theme="dark"] .category-product-card h3 { color: #f1f3f6; }
html[data-theme="dark"] .category-product-card__meta, html[data-theme="dark"] .category-product-card p { color: #a9b0bb; }
html[data-theme="dark"] .category-catalog__heading h2,
html[data-theme="dark"] :is(.packs-catalog__heading, .open-code-catalog__heading) h2,
html[data-theme="dark"] .skills-hero h1,
html[data-theme="dark"] #global-search-results-title { color: #f1f3f6; }
html[data-theme="dark"] .category-catalog__heading .section-kicker, html[data-theme="dark"] .category-catalog__heading span,
html[data-theme="dark"] :is(.packs-catalog__heading, .open-code-catalog__heading) .section-kicker,
html[data-theme="dark"] .category-catalog__count { color: #a9b0bb; }
html[data-theme="dark"] :is(.packs-search, .open-code-search, .skills-search) { background: #1b1d23; border-color: rgba(255,255,255,.08); box-shadow: none; }
html[data-theme="dark"] :is(.packs-search, .open-code-search, .skills-search) input,
html[data-theme="dark"] .category-search input, html[data-theme="dark"] .category-search select { background: #23262d; color: #f1f3f6; box-shadow: none; }
html[data-theme="dark"] :is(.packs-filter, .open-code-filter), html[data-theme="dark"] .skills-pagination__page, html[data-theme="dark"] .search-back { background: #23262d; color: #e3e6eb; box-shadow: none; }
html[data-theme="dark"] :is(.packs-filter, .open-code-filter).is-active, html[data-theme="dark"] .skills-pagination__page.is-active { background: #e9ebef; color: #15171c; }
html[data-theme="dark"] .search-back.button--primary { background: var(--brand, #1677f4); color: #fff; }
html[data-theme="dark"] .category-skeleton__card .product-card__preview, html[data-theme="dark"] .category-skeleton__card .product-card__body i { background-color: #2a2e37; }
html[data-theme="dark"] .detail-shell__breadcrumbs a, html[data-theme="dark"] article.detail-shell .breadcrumbs a { color: #a9b0bb; }
html[data-theme="dark"] .detail-shell__breadcrumbs a:hover { color: #6aa8ff; }
html[data-theme="dark"] .trust-card__guarantee span, html[data-theme="dark"] .trust-card__guarantee { color: #a9b0bb; }

/* Open Code e Skills (página de detalhe): textos cinza-claros, emblemas e caixa do clone */
html[data-theme="dark"] .detail-shell:not([data-detail-type="promotion"]) :is(.detail-shell__summary > p:not(.section-kicker), .detail-summary__description, .open-code-detail__summary > p),
html[data-theme="dark"] .skill-detail__source-note p { color: #a9b0bb; }
html[data-theme="dark"] .skill-detail__source-note a { color: #6aa8ff; }
html[data-theme="dark"] .open-code-detail__badges span { border-color: rgba(77,141,255,.35); background: rgba(1,108,251,.16); color: #8fb4ff; }
html[data-theme="dark"] .open-code-detail__badges span:nth-child(2) { border-color: rgba(76,208,138,.35); background: rgba(76,208,138,.12); color: #4cd08a; }
html[data-theme="dark"] .open-code-detail__author { color: #a9b0bb; }
html[data-theme="dark"] .open-code-detail__author b { color: #dfe3e9; }
html[data-theme="dark"] .open-code-detail__author img, html[data-theme="dark"] .open-code-detail__author > span:first-child, html[data-theme="dark"] .open-code-detail__avatar-frame { background: #23262d; color: #8fb4ff; border-color: rgba(255,255,255,.12); }
html[data-theme="dark"] .open-code-clone { background: #15171c; border-color: rgba(255,255,255,.1); }
html[data-theme="dark"] .open-code-clone span { color: #a9b0bb; }
html[data-theme="dark"] .open-code-clone code { color: #cfd4dc; }
html[data-theme="dark"] .open-code-clone button { background: #23262d; border-color: rgba(255,255,255,.12); color: #8fb4ff; }
html[data-theme="dark"] .open-code-list { color: #cfd4dc; }
html[data-theme="dark"] :is(.open-code-detail__metrics, .detail-summary__facts, .order-detail__facts, .purchase-detail__facts, .seller-sale-detail__facts) dd,
html[data-theme="dark"] .characteristics-row dd { color: #dfe3e9; }
html[data-theme="dark"] .order-detail__facts div:first-child dd { color: #6aa8ff; }
html[data-theme="dark"] .detail-shell__card p a:not(.button) { color: #6aa8ff; }

/* Home (shop.css): o fundo da vitrine e o cartão do topo ficavam claros com título claro por cima (1,1:1). A faixa segue o fundo escuro da página; o cartão vira uma "ilha" clara com o vídeo de fundo branco, com texto escuro */
html[data-theme="dark"] .hero { background: #15171c; }
html[data-theme="dark"] .hero-banner { background: #fff; box-shadow: 0 24px 60px rgba(0,0,0,.55); }
html[data-theme="dark"] .hero-banner .hero-banner__title { color: #000; }
html[data-theme="dark"] .hero-banner .hero-banner__desc { color: #5f6368; }
html[data-theme="dark"] .hero-banner__card, html[data-theme="dark"] .hero-banner__card figcaption { background: #fff; color: #111; }

/* Atalhos da home (dock à esquerda / barra de baixo no celular): fundo branco com ícones cinza (2,6:1) passam a escuros */
html[data-theme="dark"] .dk-fundo i { background: #23262d; }
html[data-theme="dark"] .dk-fundo { filter: drop-shadow(0 4px 14px rgba(0,0,0,.5)); }
html[data-theme="dark"] .side-rail a { color: #a9b0bb; }
html[data-theme="dark"] .side-rail a:hover, html[data-theme="dark"] .side-rail a.is-perto, html[data-theme="dark"] .side-rail a.is-on { color: #fff; }
html[data-theme="dark"] .side-rail a.is-on, html[data-theme="dark"] .dk-bola { background: rgba(255,255,255,.08); }
html[data-theme="dark"] .dk-nome span { background: #f1f3f6; color: #111; }
html[data-theme="dark"] .side-rail a[href="/ias"] svg { color: #5aa2ff; }
html[data-theme="dark"] .side-rail a[href="/ias"]:hover svg, html[data-theme="dark"] .side-rail a[href="/ias"].is-perto svg, html[data-theme="dark"] .side-rail a[href="/ias"].is-on svg { color: #8fc0ff; }
html[data-theme="dark"] .side-rail a[href="/ias"] .dk-pulo::after { border-color: #1b1d23; }
@media (min-width: 1100px) { html[data-theme="dark"] .side-rail a.is-on { background: none; } }
@media (max-width: 1099px) {
  html[data-theme="dark"] body.header-over-hero .side-rail { background: #1b1d23; border-top: 1px solid rgba(255,255,255,.08); box-shadow: 0 -10px 30px rgba(0,0,0,.45); }
  html[data-theme="dark"] .side-rail a:active { background: rgba(255,255,255,.08); }
}

/* Entregáveis na lista do painel do vendedor */
html[data-theme="dark"] .seller-stock__title { color: #cfd4dc; }
html[data-theme="dark"] .seller-stock__title span { color: #a9b0bb; }
html[data-theme="dark"] .seller-stock-item { background: #23262d; border-color: rgba(255,255,255,.12); }
html[data-theme="dark"] .seller-stock-item code { color: #dfe3e9; }
html[data-theme="dark"] .seller-stock-state { background: rgba(255,255,255,.1); color: #cfd4dc; }
html[data-theme="dark"] .seller-stock-state.is-available { background: rgba(46,160,110,.2); color: #6fd6a6; }
html[data-theme="dark"] .seller-stock-state.is-reserved { background: rgba(224,160,40,.2); color: #f0c46a; }
html[data-theme="dark"] .seller-stock-state.is-consumed,
html[data-theme="dark"] .seller-stock-state.is-queued { background: rgba(106,168,255,.18); color: #8fb4ff; }

/* Admin: Economia do marketplace (cartões de totais e formulário da política) */
html[data-theme="dark"] .admin-metrics article,
html[data-theme="dark"] .admin-health-grid article { background: #20232a; border-color: rgba(255,255,255,.08); }
html[data-theme="dark"] .admin-metrics span,
html[data-theme="dark"] .admin-health-grid span { color: #a9b0bb; }
html[data-theme="dark"] .admin-metrics strong,
html[data-theme="dark"] .admin-health-grid strong { color: #f1f3f6; }
html[data-theme="dark"] .admin-role-form input,
html[data-theme="dark"] .admin-role-form select,
html[data-theme="dark"] .admin-role-form textarea { background: #15171c; border-color: rgba(255,255,255,.16); color: #f1f3f6; }
html[data-theme="dark"] .admin-role-form input::placeholder { color: #8b93a0; }
html[data-theme="dark"] .admin-form-grid label,
html[data-theme="dark"] .admin-form-grid label > span { color: #cfd4dc; }
/* faixas "Da ideia ao lançamento" e vantagens: cada item é um cartão próprio */
html[data-theme="dark"] .trust-strip__grid { background: transparent; border-color: transparent; }
html[data-theme="dark"] .trust-strip__grid article, html[data-theme="dark"] .steps li { background: #1d2027; box-shadow: none; border: 1px solid #2c3039; }
