
/* RainbowOS V4.2.85 — Authenticator Center visual refresh; no API or permission changes */
#app.auth-modern{background:linear-gradient(135deg,#f0f5ff 0%,#f7f9ff 45%,#f2f9fc 100%);min-height:100%;}
.auth-modern .tg-att-page{max-width:1580px;margin:auto;padding:26px clamp(14px,2.5vw,38px) 55px;color:#172746;font-family:inherit}
.auth-modern .welcome{border-radius:23px;padding:28px 32px!important;background:linear-gradient(112deg,#182b66,#335be5 64%,#597af6)!important;color:#fff!important;box-shadow:0 14px 36px rgba(45,82,179,.16);margin-bottom:22px!important;display:flex;align-items:center;justify-content:space-between;gap:18px}
.auth-modern .welcome .title{font-size:clamp(25px,3vw,37px)!important;letter-spacing:-.8px;color:white!important;margin:7px 0!important}
.auth-modern .welcome .eyebrow{color:#c5d8ff!important;font-size:11px;font-weight:800;letter-spacing:2px}
.auth-modern .welcome .muted{color:#e0e9ff!important;font-size:14px}
.auth-modern .auth-title-mark{color:#9cead8;font-size:24px}
.auth-modern .tg-att-pill{white-space:nowrap;background:rgba(255,255,255,.14)!important;border:1px solid rgba(255,255,255,.28)!important;color:#fff!important;padding:10px 16px;border-radius:30px;font-size:12px;font-weight:700}
.auth-modern #authCenterLiveRoot>div.auth-metrics{gap:15px!important;margin:0 0 18px!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
.auth-modern .auth-metrics>div{background:#fff!important;border:1px solid #e6ecf8!important;border-radius:19px!important;padding:21px!important;box-shadow:0 7px 22px rgba(37,65,118,.045);position:relative;overflow:hidden;font-size:13px;color:#71809c}
.auth-modern .auth-metrics>div:before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px;background:#5272ee}
.auth-modern .auth-metrics>div:nth-child(2):before{background:#18b7a2}.auth-modern .auth-metrics>div:nth-child(3):before{background:#f5a442}.auth-modern .auth-metrics>div:nth-child(4):before{background:#9574ef}
.auth-modern .auth-metrics>div>div:first-child{font-size:25px!important;font-weight:800!important;color:#172746;letter-spacing:-.5px;margin-bottom:7px}
.auth-modern .auth-metrics small{display:block;margin-top:7px;color:#7b8ca8}
.auth-modern .auth-overview{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
.auth-modern .auth-overview>section,.auth-modern .auth-history,.auth-modern .auth-inventory,.auth-modern .auth-pairing,.auth-modern .auth-vault{border:1px solid #e3eaf7!important;border-radius:20px!important;padding:25px!important;background:#fff!important;box-shadow:0 8px 26px rgba(30,57,105,.045);margin-top:18px!important}
.auth-modern .auth-overview>section{margin-top:0!important}
.auth-modern h3{font-size:18px!important;letter-spacing:-.35px;color:#1c2e4d!important;margin:0 0 17px!important;font-weight:800!important}
.auth-modern h4{font-size:15px!important;color:#203454!important}
.auth-modern p{line-height:1.6}
.auth-modern .auth-small-tag{font-size:11px;font-weight:700;color:#5271ce;background:#eef3ff;padding:6px 10px;border-radius:20px;margin-left:8px;vertical-align:middle;white-space:nowrap}
.auth-modern button:not(.tg-picker-trigger){border:1px solid #dbe4f4!important;border-radius:10px!important;padding:10px 15px!important;font-size:13px!important;font-weight:700!important;cursor:pointer;transition:background .16s,transform .16s,box-shadow .16s;background:#f5f7fc;color:#304365}
.auth-modern button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px rgba(51,85,160,.12)}
.auth-modern #authRefreshStatus,.auth-modern #aiImport,.auth-modern #vaultEnrollSubmit,.auth-modern #pairCreate{background:#4267ed!important;color:white!important;border-color:#4267ed!important;box-shadow:0 5px 12px rgba(66,103,237,.15)}
.auth-modern input:not([type=checkbox]),.auth-modern select,.auth-modern textarea{border:1px solid #dbe4f4!important;background:#f9fbff!important;border-radius:11px!important;padding:12px 13px!important;color:#223656!important;font:inherit;font-size:13px!important;min-height:43px;outline:none}
.auth-modern input:focus,.auth-modern select:focus,.auth-modern textarea:focus{border-color:#5b7af0!important;box-shadow:0 0 0 3px rgba(91,122,240,.12)}
.auth-modern .auth-enroll{background:linear-gradient(135deg,#f8faff,#f5f9ff)!important;border:1px solid #e1e9f9!important;border-radius:16px!important;padding:22px!important}
.auth-modern .auth-enroll label{display:block;color:#465c7d;font-size:13px;font-weight:650;margin:12px 0 4px}
.auth-modern .auth-enroll label:has(input[type=checkbox]){display:flex;align-items:center;gap:9px;font-weight:500}
.auth-modern .auth-enroll input[type=checkbox]{accent-color:#4169ed;width:16px;height:16px}
.auth-modern table{border-collapse:separate!important;border-spacing:0;width:100%;font-size:13px}
.auth-modern th{text-align:left!important;padding:13px 12px!important;background:#f4f7fd;color:#637493;font-size:11px;text-transform:uppercase;letter-spacing:.6px;border-bottom:1px solid #e7edf8}
.auth-modern td{padding:12px!important;border-bottom:1px solid #edf1f8;color:#2b3c5b}
.auth-modern tbody tr:hover{background:#f9fbff}
.auth-modern .auth-history{overflow:auto}
.auth-modern #vaultStatus{display:inline-block;background:#eaf8f3;color:#15795e;border:1px solid #caecdf;border-radius:10px;padding:9px 13px;font-size:12px;font-weight:700}
.auth-modern #vaultAccounts{overflow-x:auto}
.auth-modern #pairResult,.auth-modern #vaultEnrollMessage,.auth-modern #aiMessage{font-size:13px;overflow-wrap:anywhere}
@media(max-width:1050px){.auth-modern #authCenterLiveRoot>div.auth-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){.auth-modern .welcome{padding:22px!important;flex-direction:column;align-items:flex-start}.auth-modern .auth-overview{grid-template-columns:1fr!important}.auth-modern #authCenterLiveRoot>div.auth-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.auth-modern .auth-overview>section,.auth-modern .auth-history,.auth-modern .auth-inventory,.auth-modern .auth-pairing,.auth-modern .auth-vault{padding:17px!important}.auth-modern .tg-att-page{padding:14px 10px 35px}}

/* V4.2.87 direct enrollment */
.auth-modern .auth-enroll{background:linear-gradient(135deg,#f8fbff,#f1f6ff)!important;border:1px solid #dce7fa!important;border-radius:18px!important;padding:22px!important}
.auth-modern .auth-enroll-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px;margin:18px 0}
.auth-modern .auth-enroll-grid label{display:flex;flex-direction:column;gap:8px;font-weight:600;color:#344766}
.auth-modern .auth-enroll-grid input,.auth-modern .auth-enroll-grid select{padding:11px 12px;border:1px solid #d7e2f3;border-radius:10px;background:white;min-width:0}
@media(max-width:750px){.auth-modern .auth-enroll-grid{grid-template-columns:1fr}}

/* V4.2.96 compact admin tables */
.auth-section-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.auth-section-toolbar h3{margin:0}
.auth-toolbar-btn{border:1px solid #d6e2f4;background:#f5f8ff;color:#29466d;border-radius:10px;padding:9px 14px;font-weight:650;cursor:pointer}
.auth-toolbar-btn:hover{background:#eaf1ff}
.auth-toolbar-btn:disabled{opacity:.55;cursor:wait}
.auth-five-row-scroll{max-height:295px;overflow-y:auto;overflow-x:auto;scrollbar-gutter:stable}
.auth-five-row-scroll table{width:100%;border-collapse:collapse}
.auth-five-row-scroll thead th{position:sticky;top:0;background:#f2f6fc;z-index:1}
.auth-five-row-scroll tbody tr{height:49px}
