/* CLOSE2WE 0.31.8.1 — scoped contrast correction for Market / H14YOU / YEYVOZ.
   Import AFTER theme-system.css. No layout, data, media or workflow changes.
   Original is light, Black is dark; Circadiano inherits its computed choice. */

/* Accessible keyboard recognition in all three product headers. */
:is(.market-topbar-actions,.meet-top-actions,.yeyvoz-product-nav,
    .market-mobile-product-switch,.meet-desktop-nav,.market-main-nav)
:is(a,button):focus-visible{
  outline:3px solid #d69a39!important;outline-offset:3px!important;
}

/* ORIGINAL — labels always have an opaque, legible background. */
.meet-top-actions>a:not(.yeyvoz-product-link):not(.meet-top-login):not(.meet-top-h14){
  color:#15365b!important;background:#f1f5fc!important;
  border:1px solid #cbd7e7!important;
}
.meet-top-actions>.meet-top-h14{
  color:#9f163d!important;background:#ffedf2!important;
  border:1px solid #e8a4b8!important;
}
.meet-top-actions>.meet-top-login{
  color:#fff!important;background:#15365b!important;border:1px solid #15365b!important;
}
.meet-top-actions .yeyvoz-product-link{
  background:#e8fbf7!important;border:1px solid #73cfc3!important;
}
.meet-top-actions .yeyvoz-product-link .yeyvoz-voz,
.meet-top-actions .yeyvoz-product-link .yeyvoz-audio-mark{color:#006d64!important}
.meet-top-actions a:hover{filter:brightness(.96)}
.meet-desktop-nav button:not(.active){
  background:#f4f7fc!important;color:#143354!important;
  border:1px solid #cfdae8!important;
}
.meet-desktop-nav button:not(.active) :is(span,small){color:#27435f!important}
.meet-desktop-nav button.active{
  background:#fde6ed!important;color:#98153a!important;
  border:1px solid #d17a98!important;
}
.meet-desktop-nav button.active :is(span,small){color:#98153a!important}
.meet-public-primary{background:#aa173f!important;color:#fff!important}
.meet-public-secondary{color:#92163c!important;background:#fff!important;border-color:#cb9aab!important}

/* Market Original: product links and navigation actions keep independent contrast. */
.market-topbar-actions>a:not(.market-meet-primary){
  color:#14375e!important;background:#f3f6fa!important;
  border:1px solid #c6d6e7!important;
}
.market-topbar-actions .market-account-primary{
  color:#fff!important;background:#123d70!important;border-color:#123d70!important;
}
.market-topbar-actions .c2w-account-entry{color:#14375e!important;background:#eef3fa!important}
.market-meet-primary .h14you-word,
.market-mobile-h14 .h14you-word{color:#98153a!important}
.market-mobile-yeyvoz :is(.yeyvoz-voz,.yeyvoz-audio-mark){color:#006e65!important}
.market-main-nav button:not(.active) :is(span,small){color:#29465f}
.market-main-nav button.active :is(span,small){color:#fff}

/* YEYVOZ Original — turquoise brand is not used as pale body text. */
.yeyvoz-product-nav>a:not(.yeyvoz-nav-active){
  color:#14395c!important;background:#eef9f8!important;
  border:1px solid #bcdfdc!important;
}
.yeyvoz-product-nav>.yeyvoz-h14-link{
  color:#a51942!important;background:#fff0f4!important;border-color:#e6afbf!important;
}
.yeyvoz-product-nav>.yeyvoz-nav-active{
  background:#cdf8f0!important;border:1px solid #73bdb2!important;
}
.yeyvoz-product-nav>.yeyvoz-nav-active :is(span,strong,i){
  color:#064f4d!important;-webkit-text-fill-color:#064f4d!important;
}
.yeyvoz-product-nav>.c2w-account-entry{
  color:#0f5554!important;background:#ddf9f3!important;border-color:#8bc8bf!important;
}
.yeyvoz-product-nav>a:hover{filter:brightness(.96)}

/* BLACK — set coherent foreground and backgrounds together, not text alone. */
:root[data-c2w-theme="black"] .meet-desktop-nav{
  background:#171e2c!important;border:1px solid #705069!important;
}
:root[data-c2w-theme="black"] .meet-desktop-nav button:not(.active){
  background:#273040!important;border:1px solid #697186!important;
  color:#fff0f5!important;
}
:root[data-c2w-theme="black"] .meet-desktop-nav button:not(.active) :is(span,small){
  color:#fff0f5!important;
}
:root[data-c2w-theme="black"] .meet-desktop-nav button.active{
  background:#692b48!important;border:1px solid #f2a4ba!important;
  color:#fff7f9!important;
}
:root[data-c2w-theme="black"] .meet-desktop-nav button.active :is(span,small){
  color:#fff7f9!important;
}
:root[data-c2w-theme="black"] .meet-desktop-nav button:not(.active) img{
  filter:brightness(0) invert(1)!important;opacity:.94;
}
:root[data-c2w-theme="black"] .meet-desktop-nav button.active img{
  filter:brightness(0) invert(1)!important;
}
:root[data-c2w-theme="black"] .meet-topbar{background:#171e2b!important;border-bottom-color:#75475a!important}
:root[data-c2w-theme="black"] .meet-top-actions>a:not(.yeyvoz-product-link):not(.meet-top-h14):not(.meet-top-login){
  color:#f4eefa!important;background:#252d3c!important;
  border:1px solid #737188!important;
}
:root[data-c2w-theme="black"] .meet-top-actions>.meet-top-h14{
  color:#fff3f7!important;background:#692b48!important;border-color:#eca0bc!important;
}
:root[data-c2w-theme="black"] .meet-top-actions>.meet-top-login{
  color:#fff!important;background:#612c4c!important;border-color:#dc9bb4!important;
}
:root[data-c2w-theme="black"] .meet-top-actions>.yeyvoz-product-link{
  color:#b9fff3!important;background:#123c41!important;border-color:#67e5d6!important;
}
:root[data-c2w-theme="black"] .meet-top-actions>.yeyvoz-product-link :is(.yeyvoz-yey,.yeyvoz-voz,.yeyvoz-audio-mark){
  color:#b9fff3!important;-webkit-text-fill-color:#b9fff3!important;
}
:root[data-c2w-theme="black"] .meet-public-primary{
  background:#bd2454!important;color:#fff!important;
}
:root[data-c2w-theme="black"] .meet-public-primary:hover{background:#d52f62!important}

/* Market Black: previous gold-on-white cases were caused by competing themes. */
:root[data-c2w-theme="black"] .market-topbar-actions>a:not(.market-meet-primary){
  color:#fff0cf!important;background:#1c385a!important;border:1px solid #c69c57!important;
}
:root[data-c2w-theme="black"] .market-topbar-actions>.market-account-primary{
  color:#11294b!important;background:#ffda83!important;border-color:#ffda83!important;
}
:root[data-c2w-theme="black"] .market-topbar-actions>.c2w-account-entry{
  color:#ffe2a9!important;background:#1c385a!important;border:1px solid #d4ab67!important;
}
:root[data-c2w-theme="black"] .market-mobile-product-switch>a{
  background:#142f50!important;border:1px solid #a58a65!important;color:#f6f8ff!important;
}
:root[data-c2w-theme="black"] .market-mobile-h14 .h14you-word{
  color:#ffc4d5!important;-webkit-text-fill-color:#ffc4d5!important;
}
:root[data-c2w-theme="black"] .market-mobile-yeyvoz :is(.yeyvoz-yey,.yeyvoz-voz,.yeyvoz-audio-mark){
  color:#b5fff0!important;-webkit-text-fill-color:#b5fff0!important;
}
:root[data-c2w-theme="black"] .market-main-nav button:not(.active) :is(span,small){
  color:#f3f7ff!important;
}
:root[data-c2w-theme="black"] .market-main-nav button.active :is(span,small){
  color:#fff7e8!important;
}
:root[data-c2w-theme="black"] .market-main-nav button[data-main-view="publish"] :is(span,small){
  color:#fff0ca!important;
}

/* YEYVOZ Black: preserve bright turquoise for accents, not illegible foregrounds. */
:root[data-c2w-theme="black"] .yeyvoz-topbar{background:#151d27!important;border-bottom-color:#4aaba5!important}
:root[data-c2w-theme="black"] .yeyvoz-product-nav>a:not(.yeyvoz-nav-active){
  color:#effffc!important;-webkit-text-fill-color:#effffc!important;
  background:#213642!important;border:1px solid #64868e!important;
}
:root[data-c2w-theme="black"] .yeyvoz-product-nav>.yeyvoz-h14-link{
  color:#ffe1e9!important;-webkit-text-fill-color:#ffe1e9!important;
  background:#552a41!important;border-color:#d582a3!important;
}
:root[data-c2w-theme="black"] .yeyvoz-product-nav>.yeyvoz-nav-active{
  background:#8af2e0!important;border-color:#a4fff1!important;
  color:#102d36!important;-webkit-text-fill-color:#102d36!important;
}
:root[data-c2w-theme="black"] .yeyvoz-product-nav>.yeyvoz-nav-active :is(span,strong,i){
  color:#102d36!important;-webkit-text-fill-color:#102d36!important;
}
:root[data-c2w-theme="black"] .yeyvoz-product-nav>.c2w-account-entry{
  color:#d0fff4!important;-webkit-text-fill-color:#d0fff4!important;
  background:#19464b!important;border-color:#7cead9!important;
}
:root[data-c2w-theme="black"] #yeyvoz-top-login{
  color:#effffc!important;-webkit-text-fill-color:#effffc!important;
}
:root[data-c2w-theme="black"] #yeyvoz-top-register{
  color:#112d36!important;-webkit-text-fill-color:#112d36!important;
  background:#acf9eb!important;border-color:#d4fff7!important;
}
:root[data-c2w-theme="black"] .yeyvoz-product-nav>a:hover{filter:brightness(1.12)}

@media(max-width:560px){
  .meet-top-actions a,.yeyvoz-product-nav a{line-height:1.25}
  .market-mobile-product-switch a{font-weight:850}
}


/* v0.31.8.2 — restore product identity: contrast must not erase brands. */

/* H14YOU: the discover hero is a dark ruby island in Black, not white type
   on the light pink surface inherited from Original. */
#meet-discover-app-head{
  background:linear-gradient(105deg,#fffafa 0%,#fff0f5 58%,#fde2ed 100%)!important;
  border:1px solid #d5a1b4!important;
}
#meet-discover-app-head :is(h1,h1 strong){color:#5d1f3b!important}
#meet-discover-app-head >div:first-child>p:not(.eyebrow),
#meet-discover-app-head >div:first-child>p strong,
#meet-discover-app-head >div:first-child>small{
  color:#59354a!important;opacity:1!important;
}
#meet-discover-app-head .eyebrow{color:#9c1744!important}
#meet-discover-app-head .meet-tool-preferences{
  background:#fff!important;color:#5a223c!important;
  border:1.5px solid #b46d87!important;opacity:1!important;
}
#meet-discover-app-head .meet-tool-second-chance{
  background:#742b4a!important;color:#fff5fa!important;
  border:1px solid #923c61!important;opacity:1!important;
}
:root[data-c2w-theme="black"] #meet-discover-app-head {
  background:linear-gradient(112deg,#48243a 0%,#2b1d32 52%,#1a202d 100%)!important;
  border-color:#b46a89!important;
}
:root[data-c2w-theme="black"] #meet-discover-app-head :is(h1,h1 strong){
  color:#fff4f8!important;text-shadow:none!important;opacity:1!important;
}
:root[data-c2w-theme="black"] #meet-discover-app-head >div:first-child>p:not(.eyebrow),
:root[data-c2w-theme="black"] #meet-discover-app-head >div:first-child>p strong,
:root[data-c2w-theme="black"] #meet-discover-app-head >div:first-child>small{
  color:#f3d9e6!important;opacity:1!important;
}
:root[data-c2w-theme="black"] #meet-discover-app-head .eyebrow{
  color:#ffb3c9!important;
}
:root[data-c2w-theme="black"] #meet-discover-app-head .meet-tool-preferences{
  background:#f7dce8!important;color:#5d2441!important;
  border-color:#f7dce8!important;opacity:1!important;
}
:root[data-c2w-theme="black"] #meet-discover-app-head .meet-tool-second-chance{
  background:#803254!important;color:#fff4f8!important;
  border-color:#eba0be!important;opacity:1!important;
}
:root[data-c2w-theme="black"] #meet-discover-app-head .meet-tool-music{
  background:#4d2947!important;color:#ffdee9!important;
  border:1px solid #eb9dbb!important;opacity:1!important;
}
/* Brand spelling stays a two-tone mark in all headers and color themes.
   Do not paint inner spans with inherited generic action foreground. */
.yeyvoz-product-link .yeyvoz-yey{
  color:#12375c!important;-webkit-text-fill-color:#12375c!important;
}
.yeyvoz-product-link .yeyvoz-voz{
  color:#006e67!important;-webkit-text-fill-color:#006e67!important;
}
.yeyvoz-product-link .yeyvoz-audio-mark{
  color:#006e67!important;-webkit-text-fill-color:#006e67!important;
}
.yeyvoz-product-nav>.yeyvoz-nav-active {
  background:#dcfaf5!important;border:1px solid #68c8b8!important;
}
.yeyvoz-product-nav>.yeyvoz-nav-active .yeyvoz-yey{
  color:#12375c!important;-webkit-text-fill-color:#12375c!important;
}
.yeyvoz-product-nav>.yeyvoz-nav-active :is(.yeyvoz-voz,.yeyvoz-audio-mark){
  color:#006e67!important;-webkit-text-fill-color:#006e67!important;
}
:root[data-c2w-theme="black"] .meet-top-actions>.meet-top-h14,
:root[data-c2w-theme="black"] .market-mobile-h14,
:root[data-c2w-theme="black"] .yeyvoz-topbar>.yeyvoz-product-nav>.yeyvoz-h14-link{
  color:#ffc2d2!important;-webkit-text-fill-color:#ffc2d2!important;
  background:#4b243c!important;border-color:#e88aa9!important;
}
:root[data-c2w-theme="black"] .meet-top-actions .yeyvoz-product-link .yeyvoz-yey,
:root[data-c2w-theme="black"] .market-topbar-actions .yeyvoz-product-link .yeyvoz-yey,
:root[data-c2w-theme="black"] .market-mobile-yeyvoz .yeyvoz-yey{
  color:#edf6ff!important;-webkit-text-fill-color:#edf6ff!important;
}
:root[data-c2w-theme="black"] .meet-top-actions .yeyvoz-product-link :is(.yeyvoz-voz,.yeyvoz-audio-mark),
:root[data-c2w-theme="black"] .market-topbar-actions .yeyvoz-product-link :is(.yeyvoz-voz,.yeyvoz-audio-mark),
:root[data-c2w-theme="black"] .market-mobile-yeyvoz :is(.yeyvoz-voz,.yeyvoz-audio-mark){
  color:#69f4db!important;-webkit-text-fill-color:#69f4db!important;
}
/* YEYVOZ active brand: navy plaque, white-blue YEY + turquoise VOZ. */
:root[data-c2w-theme="black"] .yeyvoz-product-nav>.yeyvoz-nav-active{
  background:#173b49!important;border:1px solid #5de5d5!important;
  box-shadow:inset 0 -2px 0 #3ccab7!important;
}
:root[data-c2w-theme="black"] .yeyvoz-product-nav>.yeyvoz-nav-active .yeyvoz-yey{
  color:#edf6ff!important;-webkit-text-fill-color:#edf6ff!important;
}
:root[data-c2w-theme="black"] .yeyvoz-product-nav>.yeyvoz-nav-active :is(.yeyvoz-voz,.yeyvoz-audio-mark){
  color:#69f4db!important;-webkit-text-fill-color:#69f4db!important;
}
/* Keep the separate H14YOU coral spelling visually distinct in Market. */
:root[data-c2w-theme="black"] .market-topbar-actions .h14you-word,
:root[data-c2w-theme="black"] .market-mobile-h14 .h14you-word{
  color:#ffb8cc!important;-webkit-text-fill-color:#ffb8cc!important;
}
:root[data-c2w-theme="black"] .meet-top-actions>.meet-top-h14{
  color:#ffb7cd!important;-webkit-text-fill-color:#ffb7cd!important;
}


/* v0.31.8.4 — Market account preferences: readable without text selection.
   Explicitly pair foreground and background: Black previously inherited white
   text over the toggle's hard-coded white panel. */
#account-market .account-preference-toggle{
  background:#ffffff!important;border:1px solid #c5d3e1!important;
  color:#143354!important;-webkit-text-fill-color:#143354!important;
}
#account-market .account-preference-toggle :is(strong,small,span){
  color:#143354!important;-webkit-text-fill-color:#143354!important;
  opacity:1!important;
}
#account-market .account-preference-toggle strong{font-weight:850}
#account-market .account-preference-toggle small{color:#314d66!important;-webkit-text-fill-color:#314d66!important}
#account-market .account-preference-toggle input{accent-color:#08776f}
#account-market :is(#account-notification-form,#account-market-presence-form)>button[type="submit"]{
  background:#1b477c!important;color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;border:1px solid #1b477c!important;
}
:root[data-c2w-theme="black"] #account-market .account-preference-toggle{
  background:#233447!important;border:1px solid #68829a!important;
  color:#f8fbff!important;-webkit-text-fill-color:#f8fbff!important;
}
:root[data-c2w-theme="black"] #account-market .account-preference-toggle :is(strong,small,span){
  color:#f8fbff!important;-webkit-text-fill-color:#f8fbff!important;
}
:root[data-c2w-theme="black"] #account-market .account-preference-toggle small{
  color:#dbe8f5!important;-webkit-text-fill-color:#dbe8f5!important;
}
:root[data-c2w-theme="black"] #account-market :is(#account-notification-form,#account-market-presence-form)>button[type="submit"]{
  background:#91bfff!important;border-color:#91bfff!important;
  color:#112942!important;-webkit-text-fill-color:#112942!important;
}
