/* ===== Paleta semântica da área logada (derivada do azul da marca) =====
   Primário, sucesso, aviso, perigo e neutros, com tons suaves de fundo e borda. Substitui o amarelo/laranja e os vermelhos
   fortes que estavam soltos em styles.css, seller-area.css, refunds.css e dark.css. Carrega depois de seller-ds.css. */
:root {
  --rs-primary: #1677f4; --rs-primary-soft: #eaf2ff; --rs-primary-edge: #bcd6ff;
  --rs-ok: #11703f; --rs-ok-soft: #e6f6ec; --rs-ok-edge: #b9e3c9;
  --rs-warn: #8f5200; --rs-warn-soft: #fff3dc; --rs-warn-edge: #ecd49b;
  --rs-danger: #b42b33; --rs-danger-soft: #fbecee; --rs-danger-edge: #efc3c7; --rs-danger-ink: #7a1f26;
  --rs-badge: #d6333b;
  --rs-ink: #1c2430; --rs-text: #5b6676; --rs-muted: #8b94a3;
  --rs-surface: #ffffff; --rs-subtle: #f4f6f9; --rs-edge: #dde3ec;
}
html[data-theme="dark"] {
  --rs-primary: #3b8cff; --rs-primary-soft: rgba(59, 140, 255, .16); --rs-primary-edge: rgba(59, 140, 255, .4);
  --rs-ok: #6fdc9d; --rs-ok-soft: rgba(52, 199, 120, .16); --rs-ok-edge: rgba(52, 199, 120, .34);
  --rs-warn: #f4c06a; --rs-warn-soft: rgba(244, 192, 106, .15); --rs-warn-edge: rgba(244, 192, 106, .34);
  --rs-danger: #ff8a8f; --rs-danger-soft: rgba(255, 99, 105, .14); --rs-danger-edge: rgba(255, 99, 105, .34); --rs-danger-ink: #ffc9cc;
  --rs-badge: #e0484f;
  --rs-ink: #eef1f6; --rs-text: #b4bcc9; --rs-muted: #8791a1;
  --rs-surface: #1b1d23; --rs-subtle: #23262d; --rs-edge: #2f3541;
}
html .order-status.is-success,
html[data-theme] .order-status.is-success { background: var(--rs-ok-soft); color: var(--rs-ok); border-color: transparent; }
html .order-status.is-pending,
html[data-theme] .order-status.is-pending { background: var(--rs-warn-soft); color: var(--rs-warn); border-color: transparent; }
html .order-status.is-danger,
html[data-theme] .order-status.is-danger { background: var(--rs-danger-soft); color: var(--rs-danger); border-color: transparent; }
html .seller-status.is-success,
html[data-theme] .seller-status.is-success { background: var(--rs-ok-soft); color: var(--rs-ok); border-color: transparent; }
html .seller-status.is-pending,
html[data-theme] .seller-status.is-pending { background: var(--rs-warn-soft); color: var(--rs-warn); border-color: transparent; }
html .seller-status.is-danger,
html[data-theme] .seller-status.is-danger { background: var(--rs-danger-soft); color: var(--rs-danger); border-color: transparent; }
html .seller-product-card__cover .seller-status.is-success,
html[data-theme] .seller-product-card__cover .seller-status.is-success { background: var(--rs-ok-soft); color: var(--rs-ok); border-color: transparent; }
html .seller-product-card__cover .seller-status.is-pending,
html[data-theme] .seller-product-card__cover .seller-status.is-pending { background: var(--rs-warn-soft); color: var(--rs-warn); border-color: transparent; }
html .seller-product-card__cover .seller-status.is-danger,
html[data-theme] .seller-product-card__cover .seller-status.is-danger { background: var(--rs-danger-soft); color: var(--rs-danger); border-color: transparent; }
html .pd2-pill,
html[data-theme] .pd2-pill { background: var(--rs-warn-soft); color: var(--rs-warn); border-color: transparent; }
html .pd2-pill.is-success,
html[data-theme] .pd2-pill.is-success { background: var(--rs-ok-soft); color: var(--rs-ok); border-color: transparent; }
html .pd2-pill.is-danger,
html[data-theme] .pd2-pill.is-danger { background: var(--rs-danger-soft); color: var(--rs-danger); border-color: transparent; }
html .refund-pill,
html[data-theme] .refund-pill { background: var(--rs-warn-soft); color: var(--rs-warn); border-color: transparent; }
html .refund-pill.is-refunded,
html[data-theme] .refund-pill.is-refunded { background: var(--rs-ok-soft); color: var(--rs-ok); border-color: transparent; }
html .refund-pill.is-rejected,
html[data-theme] .refund-pill.is-rejected { background: var(--rs-danger-soft); color: var(--rs-danger); border-color: transparent; }
html .order-chat__badge--warn,
html[data-theme] .order-chat__badge--warn { background: var(--rs-warn-soft); color: var(--rs-warn); border-color: transparent; }
html .seller-question__badge,
html[data-theme] .seller-question__badge { background: var(--rs-ok-soft); color: var(--rs-ok); border-color: transparent; }
html .seller-question__badge.is-pending,
html[data-theme] .seller-question__badge.is-pending { background: var(--rs-warn-soft); color: var(--rs-warn); border-color: transparent; }
html .repo-dialog__icon.is-danger,
html[data-theme] .repo-dialog__icon.is-danger { background: var(--rs-danger-soft); color: var(--rs-danger); border-color: transparent; }
html .seller-sales__metric.is-success,
html[data-theme] .seller-sales__metric.is-success { border-color: var(--rs-ok-edge); background: var(--rs-ok-soft); }
html .seller-sales__metric.is-success strong,
html[data-theme] .seller-sales__metric.is-success strong { color: var(--rs-ok); }
html .seller-sales__metric.is-pending,
html[data-theme] .seller-sales__metric.is-pending { border-color: var(--rs-warn-edge); background: var(--rs-warn-soft); }
html .seller-sales__metric.is-pending strong,
html[data-theme] .seller-sales__metric.is-pending strong { color: var(--rs-warn); }
html .seller-questions,
html[data-theme] .seller-questions { border-color: var(--rs-edge); background: var(--rs-surface); }
html .seller-questions__count,
html[data-theme] .seller-questions__count { background: var(--rs-badge); color: #fff; }
html .seller-question.is-pending,
html[data-theme] .seller-question.is-pending { border-color: var(--rs-warn-edge); box-shadow: inset 3px 0 0 var(--rs-warn); }
html .order-chat__unread,
html[data-theme] .order-chat__unread,
html .seller-side a > .order-chat__unread,
html[data-theme] .seller-side a > .order-chat__unread,
html .seller-side a.is-active > .order-chat__unread,
html[data-theme] .seller-side a.is-active > .order-chat__unread,
html .account-center__nav a > .order-chat__unread,
html[data-theme] .account-center__nav a > .order-chat__unread { background: var(--rs-badge); color: #fff; box-shadow: none; }
html .auth-user-button[data-unread]::after,
html[data-theme] .auth-user-button[data-unread]::after,
html .menu-button[data-unread]::after,
html[data-theme] .menu-button[data-unread]::after { background: var(--rs-badge); }
html .refund-alert,
html[data-theme] .refund-alert { border-color: var(--rs-danger-edge); border-left: 4px solid var(--rs-danger); background: var(--rs-danger-soft); color: var(--rs-danger-ink); animation: none; }
html .refund-alert:hover,
html[data-theme] .refund-alert:hover { background: var(--rs-danger-soft); border-color: var(--rs-danger); filter: brightness(.98); }
html .refund-alert__icon,
html[data-theme] .refund-alert__icon { background: var(--rs-danger); color: #fff; }
html .refund-alert__txt small,
html[data-theme] .refund-alert__txt small { color: var(--rs-danger-ink); opacity: .85; }
html .refund-alert em,
html[data-theme] .refund-alert em { color: var(--rs-danger); }
html .seller-price-error,
html[data-theme] .seller-price-error,
html .seller-form-section small.seller-price-error,
html[data-theme] .seller-form-section small.seller-price-error,
html .seller-products .seller-form-section small.seller-price-error,
html[data-theme] .seller-products .seller-form-section small.seller-price-error,
html .seller-product-form--wizard .seller-form-section .seller-price-error,
html[data-theme] .seller-product-form--wizard .seller-form-section .seller-price-error,
html .order-review p.order-review__error,
html[data-theme] .order-review p.order-review__error,
html .seller-question__error,
html[data-theme] .seller-question__error,
html .refund-modal__error,
html[data-theme] .refund-modal__error { color: var(--rs-danger); }
html input[name="price_reais"][aria-invalid="true"],
html[data-theme] input[name="price_reais"][aria-invalid="true"] { border-color: var(--rs-danger); }
html .ocard.is-bad,
html[data-theme] .ocard.is-bad { --tone: var(--rs-danger); }
@media (prefers-reduced-motion: reduce) { .refund-alert { animation: none; } }
