/* /contrast89.css?v=91 */
/* EPT V89: light surfaces for account/settings controls; retain colored icon tiles. */
html:root:is([data-theme="light"],.ept-light-active) #profileModal .dialog .profile-identity,
html:root:is([data-theme="light"],.ept-light-active) #peerProfileModal .dialog .peer-profile-info-row,
html:root:is([data-theme="light"],.ept-light-active) #settingsPage :is(.ept-r44-search,.ept-r44-info,.ept-r44-storage,.ept-r44-option-group,.ept-r44-group-body,.ept-r44-unavailable-list,.settings-section){
 background:#edf7ff!important;background-image:none!important;color:#173b57!important;border-color:#a8cde7!important;text-shadow:none!important
}
html:root:is([data-theme="light"],.ept-light-active) #profileModal .dialog .profile-identity :is(span,strong,#profileEptId),
html:root:is([data-theme="light"],.ept-light-active) #settingsPage :is(.ept-r44-option-copy,.ept-r44-option-copy b,.ept-r44-option-copy strong,.ept-r44-info b,.ept-r44-storage strong,.settings-row label,.ept-r44-select-row,.ept-r44-toggle-row){
 color:#173b57!important;-webkit-text-fill-color:#173b57!important;opacity:1!important;text-shadow:none!important
}
html:root:is([data-theme="light"],.ept-light-active) #settingsPage :is(.ept-r44-option-copy small,.ept-r44-info p,.ept-r44-info small,.ept-r44-storage small,.ept-r44-footnote,.settings-help){color:#405c70!important;-webkit-text-fill-color:#405c70!important;opacity:1!important;text-shadow:none!important}
html:root:is([data-theme="light"],.ept-light-active) :is(#profileModal,#peerProfileModal,#settingsPage,#devicesModal) :is(button.secondary,button.small-action,label.small-action,.ept-r44-secondary,.ept-r44-select-row select){
 background:#e0f0fc!important;background-image:none!important;color:#164769!important;-webkit-text-fill-color:#164769!important;border-color:#99c5e4!important;text-shadow:none!important
}
html:root:is([data-theme="light"],.ept-light-active) :is(#profileModal,#peerProfileModal,#settingsPage,#devicesModal) :is(button.secondary,button.small-action,label.small-action,.ept-r44-secondary) :is(span,strong,small){color:#164769!important;-webkit-text-fill-color:#164769!important;text-shadow:none!important}
html:root:is([data-theme="light"],.ept-light-active) #settingsPage :is(.ept-r44-chevron,.ept-r44-search>span){color:#185f89!important;-webkit-text-fill-color:#185f89!important}
/* Icons use currentColor; do not replace multicolor artwork or hard-coded SVG fills. */
html:root:is([data-theme="light"],.ept-light-active) #settingsPage .ept-r44-icon{color:#175a83!important;-webkit-text-fill-color:#175a83!important;text-shadow:none!important}
html:root:is([data-theme="light"],.ept-light-active) #settingsPage .ept-r44-icon svg{color:#175a83!important}
html:root:is([data-theme="light"],.ept-light-active) #settingsPage .ept70-icon,
html:root:is([data-theme="light"],.ept-light-active) #settingsPage .ept70-icon svg{color:#fff!important;-webkit-text-fill-color:#fff!important}
/* A dark call-to-action must keep its label light, including nested text. */
html:root:is([data-theme="light"],.ept-light-active) :is(#profileModal,#peerProfileModal,#settingsPage,#devicesModal) button.primary,
html:root:is([data-theme="light"],.ept-light-active) :is(#profileModal,#peerProfileModal,#settingsPage,#devicesModal) button.primary :is(span,strong,small){background-color:#096fa8!important;color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:none!important}
/* The editor follows the selected theme too. */
html:root:is([data-theme="light"],.ept-light-active) #ept-avatar88 .avatar88-panel{background:#f3f9ff!important;color:#173b57!important;border-color:#a8cde7!important}
html:root:is([data-theme="light"],.ept-light-active) #ept-avatar88 :is(h2,p,label,output){color:#173b57!important;-webkit-text-fill-color:#173b57!important}
html:root:is([data-theme="light"],.ept-light-active) #ept-avatar88 button{background:#deeffb!important;color:#164769!important;-webkit-text-fill-color:#164769!important;border-color:#99c5e4!important}
html:root:is([data-theme="light"],.ept-light-active) #ept-avatar88 .avatar88-save{background:#096fa8!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
#profileModal .profile-preview{flex-wrap:wrap;gap:12px}
#profileModal #avatarEditCurrent90{min-height:44px;max-width:100%;white-space:normal}
#profileModal #avatarEditCurrent90[hidden]{display:none!important}

