.fingerprint-login-link { display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin: 11px auto 0; padding: 5px 8px; border: 0; color: var(--auth-blue, #2569a9); background: transparent; font: inherit; font-size: 12px; cursor: pointer; }
.fingerprint-login-link:hover { color: var(--auth-orange, #df7029); text-decoration: underline; }
.fingerprint-login-link svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fingerprint-login-dialog { width: 112px; height: 112px; max-width: calc(100vw - 24px); max-height: calc(100vh - 24px); padding: 12px; overflow: hidden; border: 1px solid #d5dce4; border-radius: 50%; color: #2569a9; background: #fff; box-shadow: 0 12px 40px #18324b30; }
.fingerprint-login-cancel { position: absolute; z-index: 2; top: 3px; right: 3px; display: grid; width: 23px; height: 23px; place-items: center; border: 0; border-radius: 50%; padding: 0; color: #576575; background: #edf1f6; font: 20px/1 Arial,sans-serif; cursor: pointer; }
.fingerprint-login-cancel:hover,.fingerprint-login-cancel:focus-visible { color: #fff; background: #df7029; outline: 2px solid #fff; }
.fingerprint-login-dialog::backdrop { background: #14243c60; }
.fingerprint-scan { position: relative; display: grid; width: 100%; height: 100%; place-items: center; color: #2569a9; }
.fingerprint-scan svg, .user-fingerprint-visual svg { width: 68px; height: 68px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: color .18s ease, stroke .18s ease; }
.fingerprint-scan span { position: absolute; right: 14px; left: 14px; height: 2px; opacity: 0; background: currentColor; box-shadow: 0 0 8px currentColor; }
.fingerprint-scan[data-state="working"] span { opacity: .85; animation: fingerprint-scan 1.3s ease-in-out infinite alternate; }
.fingerprint-scan[data-state="error"] { color: #d73434; }
.fingerprint-scan[data-state="success"] { color: #1e9a52; }
.fingerprint-scan[data-state="working"] { color: #df7029; }
@keyframes fingerprint-scan { from { transform: translateY(-24px); } to { transform: translateY(24px); } }
html[data-theme="dark"] .fingerprint-login-dialog { border-color: #344151; color: #91bff0; background: #172536; }
html[data-theme="dark"] .fingerprint-login-cancel { color: #d9e4f1; background: #2b394a; }
.user-fingerprint-dialog { width: min(390px, calc(100vw - 24px)); padding: 0; border: 1px solid #d2dbe6; border-radius: 7px; color: #263240; background: #fff; box-shadow: 0 16px 44px #172b4430; }
.user-fingerprint-dialog::backdrop { background: #16243a70; }
.user-fingerprint-card { display: grid; gap: 10px; padding: 12px; }
.user-fingerprint-card > header { display: flex; align-items: center; justify-content: space-between; }
.user-fingerprint-card > header h2 { margin: 0; color: #1d4c91; font-size: 14px; }
.user-fingerprint-card > header button { width: 25px; height: 25px; border: 0; color: #3c4a58; background: transparent; font-size: 21px; cursor: pointer; }
.user-fingerprint-card > p { min-height: 30px; margin: 0; color: #576574; font-size: 11px; line-height: 1.4; }
.user-fingerprint-visual { display: grid; min-height: 78px; place-items: center; color: #2569a9; }
.user-fingerprint-visual[data-state="working"] { color: #df7029; }
.user-fingerprint-visual[data-state="error"] { color: #d73434; }
.user-fingerprint-visual[data-state="success"] { color: #1e9a52; }
.user-fingerprint-card ul { display: grid; gap: 4px; max-height: 90px; overflow: auto; margin: 0; padding-left: 18px; color: #526071; font-size: 11px; }
.user-wbf-slot-label { color: #526071; font-size: 11px; }
.user-wbf-slot { min-height: 31px; border: 1px solid #c5d1df; border-radius: 4px; padding: 4px 8px; color: #263b55; background: #fff; font: inherit; font-size: 11px; }
.user-fingerprint-card > footer { display: flex; justify-content: flex-end; gap: 7px; border-top: 1px solid #e3e8ee; padding-top: 8px; }
.user-fingerprint-card > footer button { min-height: 30px; border: 1px solid #c5d1df; border-radius: 4px; padding: 4px 10px; color: #263b55; background: #fff; font: inherit; font-size: 11px; cursor: pointer; }
.user-fingerprint-card > footer .user-fingerprint-add { border-color: #bd5618; color: #fff; background: #df7029; }
.user-fingerprint-card > footer button:disabled { opacity: .55; cursor: wait; }
html[data-theme="dark"] .user-fingerprint-dialog { border-color: #394758; color: #e7eeea; background: #1e2630; }
html[data-theme="dark"] .user-fingerprint-card > header h2 { color: #a9c9f4; }
html[data-theme="dark"] .user-fingerprint-card > header button, html[data-theme="dark"] .user-fingerprint-card > p, html[data-theme="dark"] .user-fingerprint-card ul { color: #c4d1ca; }
html[data-theme="dark"] .user-wbf-slot-label { color: #c4d1ca; }
html[data-theme="dark"] .user-wbf-slot { border-color: #415165; color: #e5ede8; background: #232c38; }
html[data-theme="dark"] .user-fingerprint-card > footer { border-color: #394758; }
html[data-theme="dark"] .user-fingerprint-card > footer button:not(.user-fingerprint-add) { border-color: #415165; color: #e5ede8; background: #232c38; }
@media (prefers-reduced-motion: reduce) { .fingerprint-scan[data-state="working"] span { animation: none; opacity: .8; } }
