/* Talk Admin: theme-scoped high contrast. Loaded after Fleet styles. */
:root[data-theme="dark"] .talk-admin-page .talk-admin-summary,
:root[data-theme="dark"] .talk-admin-page .talk-admin-summary>div{
 background:#1a2a3a!important;color:#f8fafc!important;border-color:#526779!important;
}
:root[data-theme="dark"] .talk-admin-page .talk-admin-summary small{color:#c4d6e9!important;font-size:14px!important;font-weight:800!important}
:root[data-theme="dark"] .talk-admin-page .talk-admin-summary strong{color:#fff!important;font-size:29px!important;font-weight:850!important}
:root[data-theme="light"] .talk-admin-page .talk-admin-summary,
:root[data-theme="light"] .talk-admin-page .talk-admin-summary>div{
 background:#f4f8fc!important;color:#14283a!important;border-color:#c1d0df!important;
}
:root[data-theme="light"] .talk-admin-page .talk-admin-summary small{color:#40576d!important;font-size:14px!important;font-weight:800!important}
:root[data-theme="light"] .talk-admin-page .talk-admin-summary strong{color:#102337!important;font-size:29px!important;font-weight:850!important}
:root[data-theme="light"] .talk-admin-page :is(.talk-admin-code-card,.talk-admin-users-card,.talk-admin-user){
 background:#fff!important;color:#162b3f!important;border-color:#c4d3e1!important;
}
:root[data-theme="light"] .talk-admin-page :is(.talk-admin-code-card,.talk-admin-users-card,.talk-admin-user) :is(h2,h3,p,small,b,strong,label){color:#22384d!important}
:root[data-theme="light"] .talk-admin-page .talk-admin-code-row input{background:#fff!important;color:#12283b!important;border-color:#839bad!important}
:root[data-theme="light"] .talk-admin-page .talk-admin-code-row input::placeholder{color:#596f82!important}
:root[data-theme="light"] .talk-admin-page .talk-admin-code-result{color:#304961!important}
:root[data-theme="dark"] .talk-admin-page .talk-admin-code-result{color:#dce9f5!important}
.talk-admin-page .talk-admin-code-result{margin-top:14px;line-height:1.65;font-size:15px}
.talk-admin-page .talk-admin-new-code{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 0}
.talk-admin-page .talk-admin-new-code code{font-size:20px!important;user-select:all}

/* The device chips are inside white user cards in light mode. Earlier Fleet
   styles hard-coded them dark navy even with a light theme, making their
   inherited dark text illegible. Scope these overrides to the Talk page. */
:root[data-theme="light"] .talk-admin-page .talk-admin-devices .talk-admin-device{
 background:#eef4fa!important;color:#183148!important;border:1px solid #b8cddd!important;
 box-shadow:none!important;
}
:root[data-theme="light"] .talk-admin-page .talk-admin-devices .talk-admin-device.active{
 background:#e8f5ed!important;border-color:#83b898!important;
}
:root[data-theme="light"] .talk-admin-page .talk-admin-devices .talk-admin-device b{
 color:#183148!important;font-size:13px!important;
}
:root[data-theme="light"] .talk-admin-page .talk-admin-devices .talk-admin-device small{
 color:#436176!important;font-size:12px!important;
}
:root[data-theme="dark"] .talk-admin-page .talk-admin-devices .talk-admin-device{
 background:#273d52!important;color:#f1f6fc!important;border:1px solid #5f7890!important;
}
:root[data-theme="dark"] .talk-admin-page .talk-admin-devices .talk-admin-device.active{
 border-color:#68ab83!important;
}
:root[data-theme="dark"] .talk-admin-page .talk-admin-devices .talk-admin-device b{
 color:#fff!important;font-size:13px!important;
}
:root[data-theme="dark"] .talk-admin-page .talk-admin-devices .talk-admin-device small{
 color:#d0e1f0!important;font-size:12px!important;
}
