/* SENOA v2.6.0 — Reliability & Security Center */
.security-auth-icon{width:54px;height:54px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,#0b2d50,#0c9294);color:#fff;box-shadow:0 14px 32px rgba(11,45,80,.18)}
.security-auth-icon .senoa-icon{width:26px;height:26px}.security-code-input{font-size:1.35rem!important;font-weight:800;letter-spacing:.18em;text-align:center}.security-card-head{display:flex;align-items:flex-start;gap:1rem}.security-kicker{display:block;font-size:.69rem;font-weight:800;text-transform:uppercase;letter-spacing:.13em;opacity:.78;margin-bottom:.4rem}.security-status-box{padding:1rem 1.05rem;border-radius:18px;display:grid;gap:.25rem;border:1px solid}.security-status-box strong{font-size:.94rem}.security-status-box span{font-size:.82rem;line-height:1.5}.security-status-box.warning{background:#fff9eb;border-color:#f3d995;color:#714d08}.security-status-box.success{background:#edf9f4;border-color:#bfe8d5;color:#126749}.security-setup-box{padding:1rem;border-radius:20px;background:#f7fbff;border:1px solid #dceafa}.secret-key-box{display:flex;align-items:center;justify-content:space-between;gap:.7rem;background:#0b2d50;color:#fff;padding:.85rem 1rem;border-radius:16px}.secret-key-box code{color:#fff;word-break:break-all;font-size:.86rem;letter-spacing:.08em}.security-action-details{border:1px solid var(--border);border-radius:16px;background:var(--surface);overflow:hidden}.security-action-details summary{cursor:pointer;padding:.85rem 1rem;font-weight:700;list-style:none}.security-action-details summary::-webkit-details-marker{display:none}.security-action-details form{padding:0 1rem 1rem}.security-action-details.danger summary{color:#b42318}.security-recovery-panel{padding:1.35rem;border-radius:24px;background:linear-gradient(135deg,#0b2d50,#0b7f86);color:#fff;box-shadow:0 20px 48px rgba(11,45,80,.16)}.security-recovery-panel p{color:rgba(255,255,255,.8)}.recovery-code-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.55rem}.recovery-code-grid code{display:block;text-align:center;padding:.65rem .5rem;border-radius:12px;background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.12);font-size:.82rem}.session-list{display:grid;gap:.7rem}.session-row{display:flex;align-items:center;gap:.8rem;padding:.85rem .9rem;border:1px solid var(--border);border-radius:16px;background:color-mix(in srgb,var(--surface) 94%,#e9f5ff)}.session-device-icon{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:#eef7ff;color:#0c7590;flex:0 0 auto}.session-device-icon .senoa-icon{width:19px;height:19px}
.system-health-hero{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:1.6rem 1.75rem;border-radius:26px;background:linear-gradient(135deg,#0b2d50 0%,#0b5668 68%,#0c9294 100%);color:#fff;box-shadow:0 22px 56px rgba(11,45,80,.15)}.system-health-hero h3{font-weight:800;margin:.1rem 0 .45rem}.system-health-hero p{margin:0;color:rgba(255,255,255,.78);max-width:760px}.health-score{width:104px;height:104px;border-radius:28px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.15);display:grid;place-content:center;text-align:center;flex:0 0 auto}.health-score strong{font-size:2.2rem;line-height:1}.health-score span{font-size:.75rem;opacity:.75;margin-top:.25rem}.health-check-card{height:100%;display:flex;align-items:flex-start;gap:.75rem;padding:1rem;border-radius:18px;border:1px solid var(--border);background:var(--surface);box-shadow:0 8px 24px rgba(11,45,80,.04)}.health-check-card .health-dot{width:11px;height:11px;border-radius:50%;margin-top:.3rem;flex:0 0 auto;box-shadow:0 0 0 5px rgba(20,160,115,.08)}.health-check-card.ok .health-dot{background:#15a373}.health-check-card.warn .health-dot{background:#e8a11f;box-shadow:0 0 0 5px rgba(232,161,31,.10)}.health-check-card strong{display:block;font-size:.9rem}.health-check-card span{display:block;color:var(--muted);font-size:.76rem;line-height:1.5;margin-top:.2rem}.security-main-card{min-height:100%}
@media(max-width:991px){.recovery-code-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.system-health-hero{align-items:flex-start}.health-score{width:88px;height:88px;border-radius:22px}.health-score strong{font-size:1.8rem}}
@media(max-width:575px){.security-card-head{flex-direction:column}.recovery-code-grid{grid-template-columns:1fr 1fr}.session-row{align-items:flex-start}.system-health-hero{flex-direction:column;padding:1.2rem;border-radius:22px}.health-score{width:100%;height:auto;display:flex;justify-content:center;gap:.35rem;padding:.75rem;border-radius:16px}.health-score strong{font-size:1.4rem}.security-recovery-panel{padding:1.1rem;border-radius:20px}}

/* 2FA enrollment QR */
.twofa-enroll-grid{display:grid;grid-template-columns:180px 1fr;gap:1.15rem;align-items:center;margin-top:1rem}
.twofa-qr-wrap{display:flex;flex-direction:column;align-items:center;gap:.55rem;padding:1rem;border:1px solid #dce9f7;background:#fff;border-radius:20px;box-shadow:0 12px 32px rgba(12,47,83,.07)}
.twofa-qr{width:150px;height:150px;display:grid;place-items:center;background:#fff}
.twofa-qr img,.twofa-qr canvas{display:block;max-width:100%;height:auto!important}
.twofa-qr-wrap>span{font-size:.72rem;line-height:1.35;text-align:center;color:var(--muted)}
@media(max-width:575.98px){.twofa-enroll-grid{grid-template-columns:1fr}.twofa-qr-wrap{max-width:190px;margin-inline:auto}}
