body.has-mobile-fab-dock .mobile-app-fab-dock-btn--authenticator {
    background: linear-gradient(135deg, #34d399 0%, #059669 100%);
    color: #052e16;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.45);
}

.authenticator-dialog {
    width: min(720px, calc(100vw - 24px));
    max-width: min(720px, calc(100vw - 24px));
    max-height: min(90vh, calc(100dvh - 24px));
}

.authenticator-subtitle {
    margin: 4px 0 0;
    color: #94a3b8;
    font-size: 0.82rem;
}

.authenticator-dialog .modal-body.authenticator-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: auto;
}

.authenticator-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.authenticator-empty {
    margin: 0;
    padding: 16px 10px;
    color: #94a3b8;
    font-size: 0.88rem;
    text-align: center;
    line-height: 1.45;
}

.authenticator-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    text-align: left;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 12px;
    background: rgba(2, 6, 23, 0.45);
    color: #e2e8f0;
    padding: 10px 12px;
    cursor: pointer;
}

.authenticator-card:hover {
    border-color: rgba(52, 211, 153, 0.4);
}

.authenticator-card-title {
    font-weight: 600;
    font-size: 0.92rem;
}

.authenticator-card-meta {
    color: #94a3b8;
    font-size: 0.78rem;
    overflow-wrap: anywhere;
}

.authenticator-card-action {
    margin-top: 2px;
    color: #34d399;
    font-size: 0.75rem;
    font-weight: 600;
}

.authenticator-form-wrap {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.45);
    padding: 12px;
}

.authenticator-form-wrap.hidden {
    display: none;
}

.authenticator-form-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.authenticator-form-head h3 {
    margin: 0;
    font-size: 0.95rem;
    color: #e2e8f0;
}

.authenticator-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.authenticator-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #cbd5e1;
    font-size: 0.84rem;
}

.authenticator-form input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.authenticator-form-hint {
    margin: 0;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.4;
}

.authenticator-form-hint code {
    color: #94a3b8;
    font-size: 0.76rem;
}

.authenticator-secret-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.authenticator-secret-block > label {
    color: #cbd5e1;
    font-size: 0.84rem;
}

.authenticator-secret-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    align-items: center;
}

.authenticator-secret-row input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.authenticator-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

@media (max-width: 640px) {
    .authenticator-secret-row {
        grid-template-columns: 1fr 1fr;
    }

    .authenticator-secret-row input {
        grid-column: 1 / -1;
    }
}

.authenticator-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.authenticator-form-actions .authenticator-danger {
    margin-left: auto;
    color: #fda4af;
}

.authenticator-form-actions .hidden {
    display: none;
}
