/* Complete public surface tokens: foreground and background must change together. */
:is(body.round2-public,body.shop-nav,body.auth-customer){
  color-scheme:dark;
  --page:#080808;--canvas:#080808;--paper:#141414;--paper-soft:#1d1d1d;
  --panel:#141414;--surface:#141414;--surface-soft:#1d1d1d;--surface-alt:#242116;
  --ink:#f5f5f5;--text:#f5f5f5;--muted:#bdbdbd;--line:#454545;
  --gold:#ffd400;--gold-soft:#2c260f;--accent:#ffd400;--accent-strong:#ffe36b;
  --accent-ink:#ffe36b;--yellow:#ffd400;--yellow-bright:#ffe36b;
  --street-accent:#ffd400;--street-accent-ink:#ffe36b;--street-on-accent:#080808;
  --mp-paper:#141414;--mp-ink:#f5f5f5;--mp-muted:#bdbdbd;--mp-line:#454545;
  background-color:#080808;color:#f5f5f5;
}
:is(body.round2-public,body.shop-nav,body.auth-customer) :is(input,select,textarea){color-scheme:dark}
:is(body.round2-public,body.shop-nav,body.auth-customer) :is(input,textarea)::placeholder{color:#aaa;opacity:1}
:is(body.round2-public,body.shop-nav,body.auth-customer) :is(select option,select optgroup){background:#202020;color:#f5f5f5}
/* Research forms, results and helper panels share the same dark surface system. */
body.auth-customer .r2-account-workspace{--canvas:#080808;--paper-soft:#1d1d1d;--surface:#141414;--surface-soft:#1d1d1d;--muted:#bdbdbd}
body.auth-customer :is(.vinted-research-panel,.r2-pick-card,.vinted-research-card,.vinted-top-movers-fold,.member-market-evidence){background:#141414;color:#f5f5f5;border-color:#454545}
body.auth-customer :is(.vinted-research-finder,.r2-pick-price-grid>div,.vinted-research-metrics>div,.vinted-sales-detail,.vinted-sales-facts>div,.vinted-research-empty,.vinted-research-error,.r2-picks-pager,.r2-picks-building,.member-evidence-finder){background:#1d1d1d;color:#f5f5f5;border-color:#454545}
body.auth-customer .r2-pick-price-grid>div:last-child{background:#26220f}
body.auth-customer :is(.vinted-research-finder,.member-evidence-finder) label{color:#f5f5f5}
body.auth-customer :is(.vinted-research-finder,.member-evidence-finder) :is(input,select){background:#242424;color:#fff;border-color:#626262}
body.auth-customer .r2-pick-price-grid b{color:#fff}
body.auth-customer :is(.r2-pick-price-grid small,.r2-pick-price-grid span,.r2-pick-category,.r2-pick-note,.r2-pick-updated,.vinted-research-attribution,.vinted-methodology,.vinted-research-caveat){color:#bdbdbd}
body.auth-customer :is(.r2-pick-profit,.member-margin-banner){background:#080808;color:#f5f5f5;border:1px solid #454545}
body.auth-customer .r2-pick-profit :is(span,small){color:#ddd;opacity:1}
body.auth-customer .r2-pick-profit .is-positive{color:#ffe36b}
body.auth-customer .r2-pick-profit .is-negative{color:#ffb69e}
body.auth-customer .r2-pick-number{background:#ffd400;color:#080808}
body.auth-customer .r2-pick-verdict.is-yes{background:#173923;color:#bff4cf;border:1px solid #467f56}
body.auth-customer .r2-pick-verdict:is(.is-potential,.is-no){background:#392c13;color:#ffe0a0;border:1px solid #8c6a2e}
body.auth-customer .r2-picks-page-previous{background:#242424;color:#fff;border-color:#777}
body.auth-customer .r2-picks-page-next{background:#ffd400;color:#080808;border-color:#ffd400}
:is(body.round2-public,body.shop-nav,body.auth-customer) :is(.op-kicker,.page-eyebrow,.profile-kicker,.plan-kicker,.plan-index,.duration-label,.payment-term,.r2-account-eyebrow){color:#e0cc7e!important}
/* Customer listing pages have their own locally defined light marketplace variables. */
body.auth-customer .marketplace-shell{--mp-paper:#141414;--mp-ink:#f5f5f5;--mp-line:#454545;--mp-muted:#bdbdbd;color:#f5f5f5;background:#080808}
:is(body.shop-nav,body.auth-customer) :is(.market-request,.marketplace-submit-panel,.marketplace-card,.market-community,.supplier-listed-card){color:#f5f5f5;background-color:#141414;border-color:#454545}
:is(body.shop-nav,body.auth-customer) .marketplace-form :is(input:not([type=file]),select,textarea){background:#242424;color:#f5f5f5;border-color:#626262}
:is(body.shop-nav,body.auth-customer) :is(.marketplace-form label,.marketplace-price,.trusted-supplier-form label){color:#eee}
:is(body.shop-nav,body.auth-customer) :is(.marketplace-remove,.marketplace-review-actions .button-danger){color:#ffb4aa!important}
:is(body.shop-nav,body.auth-customer) .trusted-supplier-form input{background:#242424;color:#fff;border-color:#626262}
:is(body.shop-nav,body.auth-customer) .marketplace-open{background:#ffd400;color:#080808}
:is(body.shop-nav,body.auth-customer) .market-upload-fab{color:#080808}
/* Profile labels and readonly fields need explicit contrast, too. */
body.round2-public :is(.profile-form label,.profile-member-tag,.private-mark){color:#d4d4d4}
body.round2-public :is(.profile-optional,.profile-field-foot,.profile-privacy-note,.profile-shortcut small,.shortcut-arrow){color:#bdbdbd}
body.round2-public :is(.shortcut-icon,.safety-mark){background:#242424;color:#ffe36b;border-color:#535353}
body.round2-public .profile-form :is(input,textarea){background:#242424;color:#fff;border-color:#626262}
body.round2-public .profile-form input[readonly]{background:#1d1d1d;color:#c6c6c6}
body.round2-public :is(.profile-notice[data-state=error],.profile-save-message[data-state=error],.form-error){color:#ffb4aa}
body.round2-public :is(.profile-save-message[data-state=success],.form-error.success-message){color:#bff4cf}
/* Membership and payment summaries are dark; accent controls carry dark text. */
body.round2-public .intro-spray{color:#080808}
body.round2-public .plan-badge{background:#272727;color:#eee}
body.round2-public .plan-plus .plan-badge{background:#ffd400;color:#080808}
body.round2-public .button-outline{background:#242424;color:#fff;border-color:#626262}
body.round2-public .button-outline:hover{background:#353535;color:#fff}
body.round2-public :is(.plan-state,.legal-status,.payment-note){background:#242116!important;color:#f5f5f5!important}
body.round2-public :is(.payment-note,.legal-status) :is(p,small,b,strong,a){color:#eee!important}
body.round2-public .price-card.is-featured{background:#1b190f!important;color:#f5f5f5}
body.round2-public .price-card.is-featured .plan-state{background:#ffd400!important;color:#080808!important}
body.round2-public .copy-row button{background:#242424;color:#fff;border-color:#626262}
body.round2-public :is(.status-tag,.warning-box){background:#352d12;color:#ffe9a5}
body.round2-public .status-approved{background:#173923;color:#bff4cf}
body.round2-public :is(.status-rejected,.status-expired){background:#401e25;color:#ffc3ca}
/* QR pixels stay untouched. The deliberately white QR island gets dark captions. */
body.round2-public :is(.bank-transfer-qr,.crypto-qr){--ink:#171717;--text:#171717;--muted:#454545;--paper:#fff;background:#fff;color:#171717;color-scheme:light}
body.round2-public :is(.bank-transfer-qr,.crypto-qr) :is(p,span,small,b,strong,a,figcaption){color:#333}
body.round2-public .qr-retry{background:#fff;color:#171717;border-color:#777}
/* Account and support overlays also have hardcoded light legacy sub-panels. */
body.auth-guest .auth-card :is(.customer-profile-form,.auth-note){background:#242116;color:#eee;border-color:#62572f}
body.auth-guest .auth-card .customer-profile-form :is(label,p,small){color:#ddd}
body.auth-guest .auth-card .auth-provider:is(:hover,[aria-busy=true]){background:#303030;color:#fff}
body.auth-guest .auth-card .auth-note :is(p,a,b,small){color:#eee}
:is(body.shop-nav,body.auth-customer) .modal{background:#171717;color:#f5f5f5;--ink:#f5f5f5;--muted:#bdbdbd;--surface:#171717;--surface-soft:#242424}
:is(body.shop-nav,body.auth-customer) .modal :is(input:not([type=checkbox]),select,textarea){background:#242424;color:#fff;border-color:#626262}
/* Accent controls are exceptions to the dark surface rule, including inherited labels. */
:is(body.round2-public,body.shop-nav,body.auth-customer) :is(.button-primary,.action-yellow,.access-action,.marketplace-submit,.marketplace-open){color:#080808!important;background-color:#ffd400!important}
:is(body.round2-public,body.shop-nav,body.auth-customer) :is(.button-primary,.action-yellow,.access-action) :is(span,small,b,strong){color:#080808!important}
/* Older palette rules force white footers and dark text on featured pricing. */
html body.round2-public :is(.legal-header,.legal-footer){background:#080808!important;color:#eee!important}
html body.round2-public .legal-footer :is(a,span){color:#bdbdbd}
html body.round2-public .legal-footer .legal-brand{color:#fff}
html body.round2-public .legal-footer .legal-brand span{color:#ffd400}
html body.round2-public .legal-main .payment-note{background:#242116!important;color:#eee!important}
html body.round2-public .price-card.is-featured{color:#f5f5f5!important;background:#1b190f!important}
html body.round2-public .price-card.is-featured h2{color:#f5f5f5!important}
html body.round2-public .price-card :is(.plan-label,.price-note){color:#e0cc7e}
body.round2-public .calculator-entry{background:#141414;color:#fff;border-color:#454545}
body.round2-public .calculator-entry :is(label,summary){color:#ddd}
body.round2-public .calculator-extra[open] summary{color:#ffe36b}
body.round2-public .calculator-extra input{background:#242424;color:#fff;border-color:#626262}
body.auth-customer :is(.vinted-research-panel,.r2-pick-card){border-top-color:#ffd400}
html body.auth-customer .app-shell .topbar{background:#080808!important;color:#fff!important;border-color:#454545!important}
html body.auth-customer .topbar :is(.public-brand,.customer-sign-in){color:#fff!important}
html body.auth-customer .public-shop-actions button{background:#242424!important;color:#fff!important}
body.round2-public .calc-kicker,body.auth-guest .auth-card .auth-eyebrow{color:#e0cc7e}
