/* ==========================================================================
   TsaraPay merchant panel theme — Phase 0/1 (design tokens + shell + dashboard)
   Tokens copied verbatim from the tsarapay.com landing page :root block.
   Loaded after cryptency/css/style.css and fo/css/platform.css: it only
   overrides colour/typography/surface rules on existing selectors, it does
   not touch layout mechanics (position, flex, grid, widths, transitions)
   those selectors already carry, since JS (mobile menu, popups) depends on them.
   ========================================================================== */

:root {
  /* Contrast between page background and panel surfaces is deliberately
     wider than the landing page's own verbatim values (see below). A
     marketing page is viewed briefly, at full brightness, surrounded by
     imagery/motion that gives the eye extra depth cues. A back-office app
     is used for long sessions at whatever brightness the merchant's screen
     happens to be at - and two near-black grays that read as "distinct
     enough" at full brightness compress toward indistinguishable once
     luminosity drops, because both are heading toward the same 0. Fixed by
     widening the actual gap (not just a few points) AND leaning on the
     gold border as a hue/chroma cue instead of a luminance-only one - a
     colored line stays visible under dimming far better than gray-on-gray
     ever does. */
  --tsp-obsidian: #06060A;
  --tsp-obsidian-2: #08090E;
  --tsp-panel: #1C1E29;
  --tsp-panel-2: #262838;
  --tsp-gold: #C9A24B;
  --tsp-gold-bright: #E4C87E;
  --tsp-gold-deep: #A6813A;
  --tsp-grad-gold: linear-gradient(135deg, #E9CE87 0%, #C9A24B 55%, #A6813A 100%);
  --tsp-platinum: #F1EFE9;
  --tsp-silver: #AEB0BE;
  --tsp-silver-dim: #6B6E7D;
  --tsp-line: rgba(201, 162, 75, .40);
  --tsp-line-soft: rgba(255, 255, 255, .14);
  --tsp-up: #59C08A;
  --tsp-down: #E2685C;
  --tsp-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(233, 206, 135, .10);
  /* the landing page never fills a card with flat --tsp-panel - it always
     uses this top-lit gradient (panel-2 -> panel). That gradient, not a
     stronger border, is what actually separates a card from the near-black
     page background there. Our flat-fill cards were missing this and read
     as nearly invisible against the background - same root cause on every
     page, not a login-page-only bug. */
  --tsp-panel-grad: linear-gradient(180deg, var(--tsp-panel-2), var(--tsp-panel));
  /* dedicated input-field surface, one token used everywhere on the site.
     Reusing --tsp-panel-2 for fields was the bug: --tsp-panel-2 is also the
     lighter end of --tsp-panel-grad, so a field near the top of a card's
     gradient was nearly the same colour as the card itself. This is fixed,
     flat, and clearly lighter than both --tsp-panel and --tsp-panel-2 no
     matter where on a card it sits. */
  --tsp-input-bg: #333650;
  --tsp-radius: 16px;
  --tsp-radius-sm: 10px;
  /* shifted up by the same delta as --tsp-panel-2 so zebra-striped table
     rows stay visibly distinct from the new, lighter panel surfaces */
  --tsp-row-alt: #313443;
  /* Public Sans: Binance's own publicly-documented, openly-licensed UI
     typeface (their wordmark font, BinancePlex, is proprietary/unlicensed
     for third-party use). Used for both body and display - dropped the
     decorative serif entirely, since Binance's own UI is all-sans. */
  --tsp-f-serif: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --tsp-f-sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --tsp-f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---- base / page shell ---------------------------------------------- */

body {
  background-color: var(--tsp-obsidian);
  font-family: var(--tsp-f-sans);
}

#content {
  background: var(--tsp-obsidian);
}

/* cryptency/style.css sets html{background:#fff} and nothing ever
   overrode the <html> element itself (only body/#content were covered).
   On pages where #contenu loses its flex context (see body#invoice
   #contenu below) a child's margin-top can collapse straight through
   every ancestor up to <html> - that hardcoded white is what was exposed
   as a band at the top of the Accounts/Operators tabs. Root-caused here
   instead of chasing every page that could trigger the collapse. */
html {
  background: var(--tsp-obsidian);
}

p, h1, h2, h3, h4, h5, h6, ul, li, ol, dl, strong, em, b, i, a, quote {
  font-family: var(--tsp-f-sans);
  color: var(--tsp-platinum);
}

.num {
  font-family: var(--tsp-f-mono);
}

.title, .title2, .title3, .title4, .title5, .title6, .subtitle {
  color: var(--tsp-gold-bright);
  font-family: var(--tsp-f-serif);
}

/* ---- sidebar (#menu) -------------------------------------------------- */

#menu {
  background: var(--tsp-panel);
  border-right: 1px solid var(--tsp-line-soft);
}

#menu #logo {
  color: var(--tsp-gold);
}

#menu ul li a {
  color: var(--tsp-silver);
}

#menu ul li a.open, #menu ul li a:hover, #menu ul li a:focus {
  color: var(--tsp-platinum);
  background: var(--tsp-panel-2);
}

#menu ul li a.open::before {
  background: var(--tsp-grad-gold);
  filter: none;
}

#menu ul li a.btn {
  color: var(--tsp-obsidian);
}

#menu .link {
  color: var(--tsp-silver-dim);
}

#menu .link:hover {
  color: var(--tsp-gold-bright);
}

#closemenu {
  color: var(--tsp-silver);
}

/* ---- content wrapper / cards ------------------------------------------ */

#contenu {
  background: var(--tsp-obsidian-2);
}

#contenu .bloc {
  background: var(--tsp-panel-grad);
  border: 1px solid var(--tsp-line-soft);
  box-shadow: var(--tsp-shadow);
}

#contenu hr {
  border-bottom-color: var(--tsp-line-soft);
}

.btxt {
  color: var(--tsp-silver);
}

.little {
  color: var(--tsp-silver-dim);
  opacity: 1;
}

/* stat tiles (moduletriple): unify the old flat purple/violet/blue blocs
   into consistent dark surfaces with a gold accent, instead of three
   different solid colours */
#contenu .moduletriple .bloc,
#contenu .moduletriple .bloc:first-child,
#contenu .moduletriple .bloc:last-child {
  background: var(--tsp-panel-grad);
  border: 1px solid var(--tsp-line);
  border-top: 2px solid var(--tsp-gold);
}

#contenu .moduletriple .bloc p {
  color: var(--tsp-silver);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

#contenu .moduletriple .bloc h5 {
  color: var(--tsp-platinum);
  font-family: var(--tsp-f-mono);
}

#contenu .moduletriple .bloc .exp-count {
  color: var(--tsp-silver-dim);
}

.contenttable table th, .contenttable table td {
  color: var(--tsp-silver);
  border-color: var(--tsp-line-soft);
}

/* zebra-stripe was a light lavender (#f7f6fb) leftover from the light
   theme - stood out as a stark white row against the dark background.
   --tsp-row-alt is a deliberately more noticeable lightening than the
   panel surface tokens, since the first attempt (--tsp-panel-2) was too
   close in value to read as alternating rows at all. */
.contenttable table tr:nth-child(2n+1) {
  background: var(--tsp-row-alt);
}

.contenttable table td a {
  color: var(--tsp-gold-bright);
}

.contenttable table td a:hover {
  color: var(--tsp-gold);
}

/* "Balance payout" widget: separate white card, not a .bloc, with its own
   hardcoded background + purple-tinted shadow */
.etiquette-elt {
  background: var(--tsp-panel-2);
  box-shadow: none;
  border: 1px solid var(--tsp-line);
}

.title-etiquette {
  color: var(--tsp-silver);
}

.value-etiquette {
  color: var(--tsp-platinum);
  font-family: var(--tsp-f-mono);
}

/* hover/click popover ("bulle") used on several stat blocs, e.g. the net
   revenue per-currency breakdown - still hardcoded white in the original */
.dashboard-bulle {
  background: var(--tsp-panel-2);
  border: 1px solid var(--tsp-line);
  box-shadow: var(--tsp-shadow);
}

.dashboard-bulle .bulle-elt {
  color: var(--tsp-platinum);
}

.dashboard-bulle label.underline {
  color: var(--tsp-silver);
}

/* ---- buttons ------------------------------------------------------------ */

/* base .btn (design/cryptency/css/style.css) ships border-radius:35px on a
   40px-tall button - a near-full pill/capsule. Same story for .btn-small
   (design/bo/css/platform.css, also 35px). Softened sitewide to the same
   subtle corner radius already used on input fields, rather than the
   pronounced pill shape - !important since several BO/FO pages carry their
   own inline <style> blocks later in the document that could otherwise
   win on this property. */
.btn, .btn-small {
  border-radius: var(--tsp-radius-sm) !important;
}

.btn {
  color: var(--tsp-obsidian);
  background: var(--tsp-grad-gold);
  font-weight: 700;
}

.btn:hover, .btn:focus {
  background: var(--tsp-gold-bright);
}

.fake-link.btn, a.fake-link {
  color: var(--tsp-gold-bright);
}

/* .fake-link uses a background-clip:text gradient trick, not `color` -
   overriding `color` alone (above) has no visible effect in webkit/blink */
.fake-link {
  background-image: var(--tsp-grad-gold);
  text-decoration-color: var(--tsp-gold);
}

/* secondary action button (e.g. "receive a code by email") - was a solid
   flat purple square button, now an outline variant of .btn */
.btn-simple {
  color: var(--tsp-gold-bright);
  background: transparent;
  border: 1px solid var(--tsp-gold-deep);
  border-radius: var(--tsp-radius-sm);
}

.btn-simple:hover, .btn-simple:focus {
  background: var(--tsp-panel-2);
}

/* ---- form fields ---------------------------------------------------- */

/* bare <select> (no .select class) falls through this rule just as often
   as the classed version - e.g. clientEditBo.zone.tpl's wallet-connect
   dropdown has no .select class at all, so it kept its native light-gray
   chrome. Covering the element type directly, not just the class. */
/* form controls never inherit font-family from the page by default in any
   browser (a classic CSS gotcha - <input>/<select>/<button> use the OS UI
   font unless told otherwise), and cryptency/style.css additionally
   hardcodes font-family:"raleway" directly on inputs/selects. Neither was
   ever pointed at Public Sans, sitewide, FO and BO both - only text
   elements (p/h1-h6/etc) were covered. */
input, select, .select, textarea, button, label, optgroup, option {
  font-family: var(--tsp-f-sans);
}

input, select, .select, textarea {
  background: var(--tsp-input-bg);
  color: var(--tsp-platinum);
  border: 1px solid var(--tsp-line-soft);
}

/* <fieldset>/<legend> are never styled anywhere in any stylesheet in this
   app - purely native browser-default rendering, which is why the border
   showed up plain white with the content touching it on every side (no
   author padding at all, just whatever the UA default happens to be). */
fieldset {
  border: 1px solid var(--tsp-line-soft);
  border-radius: var(--tsp-radius-sm);
  padding: 16px;
  margin: 0 0 16px;
}

legend {
  padding: 0 6px;
  color: var(--tsp-silver);
}

/* bo/css/platform.css's `.champ textarea` and `.code-input` (OTP-style
   code entry boxes) both set their own light-gray background, which beats
   the generic input/textarea rule above on specificity. */
.champ textarea {
  background: var(--tsp-input-bg);
  color: var(--tsp-platinum);
}

.code-input {
  background: var(--tsp-input-bg);
  color: var(--tsp-platinum);
}

.code-input:hover, .code-input:active {
  border-color: var(--tsp-gold);
}

/* cryptency/style.css ships input:hover/:focus borders in the old
   Nonstopay purple (#c745ff / #5c19fe) - only the login card's own inputs
   had a gold focus override, every other field (incl. every BO popup form)
   was still showing that purple. Overriding globally here instead of
   per-page so it can't be missed again. */
input:hover, select:hover, .select:hover {
  border-color: var(--tsp-gold-deep);
}

input:focus, select:focus, .select:focus, textarea:focus {
  outline: none;
  border-color: var(--tsp-gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 75, .15);
}

/* Browsers force their own white/yellow autofill background via an
   internal UA style no author CSS can override directly (this is why a
   remembered email/password looked white regardless of the rule above) -
   the only way to beat it is this specific combination: an absurdly long
   transition delay so the swap to the real colours happens instantly
   instead of the browser's flash, plus -webkit-text-fill-color since
   `color` alone is also ignored on autofilled fields. */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--tsp-platinum);
  -webkit-box-shadow: 0 0 0px 1000px var(--tsp-input-bg) inset;
  box-shadow: 0 0 0px 1000px var(--tsp-input-bg) inset;
  transition: background-color 9999s ease-in-out 0s;
}

input::placeholder {
  color: var(--tsp-silver-dim);
}

.champ label {
  color: var(--tsp-silver);
}

/* ---- #menuEmail: legacy BO tab bar (e.g. Accounts: Admin/Marketing/BDM/
   Head of BDM/Operators/Campaign) - base bo/css/platform.css renders each
   tab as a white rounded-top pill with a purple gradient active-underline,
   completely untouched by the dark theme (the "big white band + ugly
   purple tabs" look). Reskinned flat, in line with the .tsp-tabs pattern
   used on Analytics, without touching the absolute positioning platform.css
   relies on to lay it out above #contentEmail. */
/* base rule pairs min-width:100% with padding-left:25px and NO right
   padding/margin, while its sibling #contentEmail below it has a matching
   25px margin on BOTH sides - the tab bar's own right edge (and its bottom
   border) ran further right than the panel underneath, reading as
   misaligned/overlapping edges. box-sizing:border-box so the added
   right padding doesn't push the box past 100% width on top of that. */
#menuEmail {
  box-sizing: border-box;
  padding-right: 25px;
}

#menuEmail ul {
  border-bottom: 1px solid var(--tsp-line-soft);
}

#menuEmail ul li {
  background: transparent;
  border: none;
  border-radius: 0;
}

#menuEmail ul li a {
  color: var(--tsp-silver-dim);
  font-weight: 600;
  text-align: center;
  padding: 10px 18px;
}

#menuEmail ul li a:hover {
  color: var(--tsp-silver);
}

#menuEmail ul li a.open {
  color: var(--tsp-gold-bright);
}

#menuEmail li a.open:before {
  height: 2px;
  background: var(--tsp-grad-gold);
  filter: none;
}

/* ---- .menuTab / .menuSousTab: a third copy of the same white-pill-tab +
   purple-underline pattern as #menuEmail above, under a different selector
   (payment-settlement pages). Same treatment. */
.menuTab ul li, .menuSousTab ul li {
  background: transparent;
  border: none;
  border-radius: 0;
}

.menuTab ul li a, .menuSousTab ul li a {
  color: var(--tsp-silver-dim);
}

.menuTab li a.open:before, .menuSousTab li a.open:before {
  background: var(--tsp-grad-gold);
  filter: none;
}

/* ---- .pagination: page-number chips - cryptency/bo/fo each set a
   different, conflicting purple/blue/gray treatment for the same class;
   !important needed to beat bo's own !important rule. */
.pagination a {
  color: var(--tsp-silver) !important;
  background: transparent !important;
}

.pagination a:hover,
.pagination .active a {
  color: var(--tsp-obsidian) !important;
  background: var(--tsp-grad-gold) !important;
}

/* ---- .btn-small: same purple gradient as the old .btn, but only ever
   got the border-radius fix (below) sitewide - one BO page got its own
   gold background as a one-off, every other use of this class didn't. */
.btn-small {
  background: var(--tsp-grad-gold);
  color: var(--tsp-obsidian);
}

.btn-small:hover, .btn-small:focus {
  background: var(--tsp-gold-bright);
}

/* ---- misc leftover purple/white accents across popups and small widgets */

.refresh-icon-container {
  background: var(--tsp-panel-2);
  border: 1px solid var(--tsp-line);
}

.refresh-icon:before {
  border-color: transparent var(--tsp-gold-bright) transparent transparent;
}

.refresh-icon:after {
  border-color: transparent transparent transparent var(--tsp-gold-bright);
}

.popup-link {
  color: var(--tsp-gold-bright);
}

#popup-payment-info,
#popup-payment-info .details {
  color: var(--tsp-silver);
}

#popup-payment-info .title {
  color: var(--tsp-gold-bright) !important;
}

.icon-copy {
  background: var(--tsp-panel-2);
  box-shadow: none;
}

.icon-copy:active {
  background: var(--tsp-line-soft);
  box-shadow: none;
}

.title1-etiquette {
  color: var(--tsp-gold-bright);
}

.link-primary-14 {
  color: var(--tsp-gold-bright);
}

.panel_title:active {
  box-shadow: none;
}

/* ---- .tab-nav / .tab: amber/white toggle widget (Add Fund Bonus) ------ */

.tab-nav a {
  border-color: var(--tsp-line-soft);
  background-color: var(--tsp-panel-2);
  color: var(--tsp-silver);
}

.tab-nav a:hover {
  background-color: var(--tsp-panel);
}

.tab-nav .tab-nav-active {
  background-color: var(--tsp-panel);
}

.tab-nav a.tab-nav-active {
  color: var(--tsp-gold-bright);
}

.tab-nav a.tab-nav-active:hover {
  background-color: var(--tsp-panel);
}

.tab {
  border-color: var(--tsp-line-soft);
  background-color: var(--tsp-panel);
  color: var(--tsp-platinum);
}

/* ---- .panel_title / .panel_body: a second, separate tab-pill pattern
   used inside AJAX-loaded popup content (Docs, Edit document, merchant
   revenue/paid-invoice lists) - the outer popup shell is already dark
   (#blocpopup #popup below), but the injected content had its own
   hardcoded white pill tabs + purple underline, same story as #menuEmail. */
.panel_title {
  background: transparent;
  border: none;
  border-radius: 0;
  color: var(--tsp-silver-dim);
}

.panel_title:hover {
  color: var(--tsp-silver);
}

.panel_title.open {
  color: var(--tsp-gold-bright);
}

.title.panel_title.open::before {
  height: 2px;
  background: var(--tsp-grad-gold);
  filter: none;
}

.panel_header {
  border-bottom: 1px solid var(--tsp-line-soft);
}

.panel_body {
  background: transparent;
  border: none;
}

/* ---- popups / modals -------------------------------------------------- */

#blocpopup {
  background: rgba(6, 7, 12, .85);
}

#blocpopup #popup {
  background: var(--tsp-panel-grad);
  border: 1px solid var(--tsp-line);
  box-shadow: var(--tsp-shadow);
}

#blocpopup .close {
  color: var(--tsp-silver);
}

#blocpopup .close:hover, #blocpopup .close:focus {
  color: var(--tsp-gold-bright);
  opacity: 1;
}

/* ---- #secondPopup / .popup-info: a second, nested popup layer separate
   from #blocpopup #popup above - hardcoded into mainFo.tpl/mainBo.tpl/
   mainNotConnected.tpl so it's present on every page, FO and BO, used for
   invoice email, payout/deposit details, customer info, chargebacks, and
   documents. Never themed at all: white shell, forced black text via
   `#secondPopup * {color:black}`, purple links/titles. Several of the
   base rules use !important, matched here so this actually wins. */
.popup-info {
  background: var(--tsp-panel-grad);
  border: 1px solid var(--tsp-line);
  box-shadow: var(--tsp-shadow);
}

#secondPopup {
  color: var(--tsp-platinum) !important;
}

#secondPopup * {
  color: var(--tsp-platinum);
}

#secondPopup a {
  color: var(--tsp-gold-bright);
}

#secondPopup.smallPopup {
  box-shadow: var(--tsp-shadow);
}

.popup-info .close-popup, .popup-info .close-info {
  color: var(--tsp-silver) !important;
}

#contentSecondPopup .title,
.popup-info .title {
  color: var(--tsp-gold-bright) !important;
}

#contentSecondPopup .sub-title {
  color: var(--tsp-silver);
}

.popup-info label {
  color: var(--tsp-silver) !important;
}

.popup-info input, .popup-info .select {
  color: var(--tsp-platinum) !important;
}

.popup-info .btn {
  color: var(--tsp-obsidian) !important;
}

#secondPopup .contenttable table th, #secondPopup .contenttable table td {
  color: var(--tsp-silver);
}

#contentSecondPopup .contenttable::-webkit-scrollbar,
#contentSecondPopup::-webkit-scrollbar {
  background-color: var(--tsp-panel-2);
}

#contentSecondPopup .contenttable::-webkit-scrollbar-thumb,
#contentSecondPopup::-webkit-scrollbar-thumb {
  background-color: var(--tsp-line-soft);
}

#contentSecondPopup .contenttable::-webkit-scrollbar-track,
#contentSecondPopup::-webkit-scrollbar-track {
  background: var(--tsp-panel);
}

/* ---- semantic status colours (retuned for contrast on dark) ---------- */

.check {
  color: var(--tsp-up) !important;
}

.refuse, .red, .delete {
  color: var(--tsp-down) !important;
}

.green {
  color: var(--tsp-up) !important;
}

/* ---- native checkboxes/radios: bright default-blue browser chrome,
   never themed anywhere in the app (e.g. the "Create/Edit merchant"
   popup's Payin/Rolling Reserve toggles) - accent-color recolors native
   controls without needing to rebuild them as custom markup. */
input[type="checkbox"], input[type="radio"] {
  accent-color: var(--tsp-gold);
}

/* ---- Create/Edit merchant popup (clientEditBo.zone.tpl): a light-gray
   "Providers" list box and a light blue-gray "Rolling Reserve" card, both
   untouched by the dark theme. .bloc-in-popup needs !important to match
   the base rule it's overriding. */
#selectesProviders, #selectesProvidersPayout {
  background: var(--tsp-panel-2);
  border: 1px solid var(--tsp-line-soft);
  color: var(--tsp-silver);
}

#selectesProviders label, #selectesProvidersPayout label {
  border-bottom: 1px solid var(--tsp-line-soft);
}

#selectesProviders .title-provider-list, #selectesProvidersPayout .title-provider-list {
  color: var(--tsp-silver-dim);
}

.bloc-in-popup {
  background-color: var(--tsp-panel-2) !important;
  border: 1px solid var(--tsp-line-soft);
}

/* ---- Chosen.js (design/common/css/chosen.css): a jQuery plugin that
   hides the real <select> and replaces it with its own div/ul markup, so
   none of the earlier select/.select rules ever reached it. Used via the
   `chosen-select` class on 33 different templates (BO dashboard/rolling
   reserve/payout "Merchants" filters, settlement lists, invoice popups,
   etc.) - every single one was showing this library's default white/light
   gradient chrome. Select2 (a different, separate plugin) was already
   covered in tsp-bo-dashboard.css; this is the other one. */
.chosen-container-single .chosen-single {
  background: var(--tsp-input-bg);
  border: 1px solid var(--tsp-line-soft);
  color: var(--tsp-platinum);
  box-shadow: none;
}

.chosen-container-single .chosen-default {
  color: var(--tsp-silver-dim);
}

.chosen-container-active.chosen-with-drop .chosen-single,
.chosen-container-active .chosen-single {
  border-color: var(--tsp-gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 75, .15);
}

.chosen-container-single .chosen-single div b {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23C9A24B' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat center;
}

.chosen-container-single .chosen-search input[type="text"] {
  background: var(--tsp-input-bg) !important;
  border: 1px solid var(--tsp-line-soft);
  color: var(--tsp-platinum);
}

.chosen-container-single .chosen-drop,
.chosen-container .chosen-drop {
  background: var(--tsp-panel-grad);
  border: 1px solid var(--tsp-line);
  box-shadow: var(--tsp-shadow);
}

.chosen-container .chosen-results {
  color: var(--tsp-platinum);
}

.chosen-container .chosen-results li {
  color: var(--tsp-silver);
}

.chosen-container .chosen-results li.disabled-result {
  color: var(--tsp-silver-dim);
}

.chosen-container .chosen-results li.highlighted {
  background: var(--tsp-grad-gold);
  color: var(--tsp-obsidian);
}

.chosen-container .chosen-results li.no-results {
  background: var(--tsp-panel-2);
  color: var(--tsp-silver-dim);
}

.chosen-container .chosen-results li em {
  color: var(--tsp-gold-bright);
}

.chosen-container-multi .chosen-choices {
  background: var(--tsp-input-bg);
  border: 1px solid var(--tsp-line-soft);
}

.chosen-container-multi .chosen-choices li.search-field input[type="text"] {
  color: var(--tsp-platinum);
}

.chosen-container-multi .chosen-choices li.search-choice {
  background: var(--tsp-panel-2);
  border: 1px solid var(--tsp-line-soft);
  box-shadow: none;
  color: var(--tsp-platinum);
}

/* ---- multi.min.css: a third, separate dropdown/list widget (dual
   listbox picker), used on the Super-Affiliate settlement pages -
   same white-box problem, different library again. */
.multi-wrapper {
  border: 1px solid var(--tsp-line-soft);
}

.multi-wrapper .non-selected-wrapper {
  background: var(--tsp-panel);
  border-right: 1px solid var(--tsp-line-soft);
}

.multi-wrapper .selected-wrapper {
  background: var(--tsp-panel-2);
}

.multi-wrapper .header {
  color: var(--tsp-silver);
}

.multi-wrapper .item {
  color: var(--tsp-platinum);
}

.multi-wrapper .item:hover {
  background: var(--tsp-line-soft);
}

.multi-wrapper .search-input {
  background: var(--tsp-input-bg);
  border-bottom: 1px solid var(--tsp-line-soft);
  color: var(--tsp-platinum);
}
