.maintenance-page{min-height:100dvh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 18% 12%,rgba(56,189,248,.19),transparent 32%),radial-gradient(circle at 86% 78%,rgba(14,165,233,.11),transparent 30%),#f2f8fc}.maintenance-shell{width:min(590px,100%)}.maintenance-card{padding:38px 42px 34px;border:1px solid rgba(186,211,226,.8);border-radius:24px;background:rgba(255,255,255,.96);box-shadow:0 28px 80px rgba(15,48,76,.14);text-align:center}.maintenance-brand{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:28px}.maintenance-brand img{object-fit:contain}.maintenance-brand span,.maintenance-brand strong,.maintenance-brand small{display:block;text-align:left}.maintenance-brand strong{letter-spacing:.04em}.maintenance-brand small{color:#718397;font-size:.7rem}.maintenance-symbol{display:grid;width:76px;height:76px;place-items:center;margin:0 auto 22px;border-radius:24px;background:linear-gradient(145deg,#e1f5fc,#d6eef8);color:#087eaa;box-shadow:inset 0 0 0 1px #c8e5f1}.maintenance-symbol svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.maintenance-card h1{margin-bottom:12px;font-size:1.9rem}.maintenance-message{max-width:470px;margin:0 auto 22px;color:#526577;font-size:.98rem;line-height:1.7}.maintenance-eta{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 auto 17px;padding:11px 14px;border:1px solid #d9e9f1;border-radius:12px;background:#f7fbfd;color:#38576a;font-size:.78rem}.maintenance-eta i{width:9px;height:9px;border-radius:50%;background:#16a3d6;box-shadow:0 0 0 4px #d9f3fc}.maintenance-support{margin:0 0 19px;color:#607383;font-size:.76rem}.maintenance-retry{min-height:44px;min-width:150px}.maintenance-footer{display:flex;align-items:center;justify-content:center;gap:9px;padding-top:18px;color:#8b9baa;font-size:.68rem}.maintenance-admin-entry{display:grid;width:24px;height:24px;place-items:center;border-radius:7px;color:#9dafbc;opacity:.42;transition:.15s}.maintenance-admin-entry:hover,.maintenance-admin-entry:focus-visible{background:#dcecf4;color:#245a75;opacity:1}.maintenance-admin-entry svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8}.auth-back-link{display:block;margin-top:16px;text-align:center;color:#718194;font-size:.75rem}.mfa-challenge-card{text-align:center}.mfa-challenge-card .auth-brand{justify-content:center}.mfa-challenge-card .form-stack{text-align:left}.mfa-shield{display:grid;width:54px;height:54px;place-items:center;margin:0 auto 13px;border-radius:18px;background:#e7f8ed;color:#14813c;font-size:1.35rem;font-weight:900}.mfa-code-input{font-variant-numeric:tabular-nums;letter-spacing:.2em;text-align:center;font-size:1.15rem}.profile-security-grid{margin-bottom:20px}.mfa-settings-card{max-width:980px}.mfa-settings-head,.mfa-settings-head>div{display:flex;align-items:center;justify-content:space-between;gap:13px}.mfa-settings-head>div{justify-content:flex-start}.mfa-settings-head h2,.mfa-settings-head p{margin:0}.mfa-settings-head p{color:var(--muted);font-size:.75rem}.mfa-status-icon{display:grid;width:42px;height:42px;flex:0 0 42px;place-items:center;border-radius:12px;background:#fff2d8;color:#a96208;font-weight:900}.mfa-status-icon.is-on{background:#e7f8ed;color:#16803c}.mfa-start-form{max-width:520px;margin-top:20px}.mfa-setup-panel{display:grid;gap:15px;margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}.mfa-secret-box{display:grid;gap:5px;padding:14px;border:1px solid #b9ddeb;border-radius:12px;background:#f1f9fc}.mfa-secret-box span,.mfa-secret-box small{color:var(--muted);font-size:.68rem}.mfa-secret-box code{overflow-wrap:anywhere;background:transparent;padding:0;color:#0a6287;font-size:1.02rem;font-weight:800;letter-spacing:.08em}.mfa-advanced summary,.danger-zone summary{cursor:pointer;font-size:.78rem;font-weight:750}.mfa-advanced code{display:block;margin-top:10px;padding:10px;overflow-wrap:anywhere;font-size:.68rem}.mfa-enabled-summary{margin-top:18px;padding:14px;border:1px solid #bee7cf;border-radius:12px;background:#f1fbf5}.mfa-enabled-summary p,.mfa-enabled-summary strong,.mfa-enabled-summary span{display:block;margin:0}.mfa-enabled-summary span{margin-top:3px;color:#557064;font-size:.75rem}.danger-zone{margin-top:16px;border-top:1px solid var(--line);padding-top:13px;color:#8e2830}.danger-zone form{max-width:520px;margin-top:14px;padding:15px;border-radius:11px;background:#fff5f5}.recovery-codes-panel{border-color:#f2cf78;background:#fffdf5}.recovery-codes-panel header{display:flex;align-items:flex-start;gap:12px}.recovery-codes-panel header>span{display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center;border-radius:10px;background:#ffe8aa;color:#8b5705;font-weight:900}.recovery-codes-panel h2,.recovery-codes-panel p{margin:0}.recovery-code-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0}.recovery-code-grid code{padding:9px;border:1px dashed #d9ae42;background:#fff;text-align:center;font-weight:800}.maintenance-settings-card{scroll-margin-top:82px}.maintenance-explainer{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:16px 0}.maintenance-explainer article{display:flex;gap:9px;padding:11px;border:1px solid var(--line);border-radius:11px;background:#f8fafc}.maintenance-explainer article>b{display:grid;width:26px;height:26px;flex:0 0 26px;place-items:center;border-radius:8px;background:#e3f3fa;color:#087aa6}.maintenance-explainer article span,.maintenance-explainer article strong,.maintenance-explainer article small{display:block}.maintenance-explainer article strong{font-size:.75rem}.maintenance-explainer article small{margin-top:2px;color:var(--muted);font-size:.63rem;line-height:1.45}.maintenance-health{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:0 0 16px}.maintenance-health p{display:flex;align-items:flex-start;gap:7px;margin:0;padding:9px;border:1px solid #dfe7ec;border-radius:10px}.maintenance-health p>i{display:grid;width:20px;height:20px;flex:0 0 20px;place-items:center;border-radius:50%;font-style:normal;font-size:.68rem;font-weight:900}.maintenance-health .is-ok>i{background:#e3f6ea;color:#147c39}.maintenance-health .is-error>i{background:#fee8e8;color:#b42323}.maintenance-health span,.maintenance-health strong,.maintenance-health small{display:block}.maintenance-health strong{font-size:.66rem}.maintenance-health small{margin-top:2px;color:var(--muted);font-size:.58rem;line-height:1.35}.maintenance-repair-form{display:grid;grid-template-columns:minmax(0,1fr) 180px 170px auto;align-items:end;gap:9px;margin-bottom:16px;padding:12px;border:1px solid #f1ca6e;border-radius:11px;background:#fff9e9}.maintenance-repair-form p{margin:0;font-size:.68rem}.maintenance-step-up{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:13px;border:1px solid #dfe6ec;border-radius:11px;background:#f8fafc}.maintenance-state-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.maintenance-state-actions>span{max-width:310px;color:var(--muted);font-size:.68rem}.maintenance-state-actions>div{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.admin-maintenance-banner{display:flex;align-items:center;gap:10px;padding:9px 28px;border-bottom:1px solid}.admin-maintenance-banner>span{display:grid;width:26px;height:26px;flex:0 0 26px;place-items:center;border-radius:8px;font-weight:900}.admin-maintenance-banner p,.admin-maintenance-banner strong,.admin-maintenance-banner small{display:block;margin:0}.admin-maintenance-banner strong{font-size:.75rem}.admin-maintenance-banner small{font-size:.66rem}.admin-maintenance-banner>a{margin-left:auto;font-size:.72rem;font-weight:800;white-space:nowrap}.admin-maintenance-banner.is-public{border-color:#bde1ef;background:#e9f7fc;color:#195b74}.admin-maintenance-banner.is-public>span{background:#c8ecf8}.admin-maintenance-banner.is-locked{border-color:#f0c3c3;background:#fff0f0;color:#8c2424}.admin-maintenance-banner.is-locked>span{background:#fbd8d8}
@media(max-width:1050px){.maintenance-health{grid-template-columns:repeat(2,minmax(0,1fr))}.maintenance-repair-form{grid-template-columns:1fr 1fr}.maintenance-repair-form p{grid-column:1/-1}.recovery-code-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.maintenance-explainer{grid-template-columns:1fr}.maintenance-state-actions{align-items:stretch;flex-direction:column}.maintenance-state-actions>span{max-width:none}.maintenance-state-actions>div{display:grid;grid-template-columns:1fr;width:100%}.maintenance-state-actions .button{min-height:44px;white-space:normal}.admin-maintenance-banner{padding:9px 14px}.admin-maintenance-banner small{display:none}.profile-security-grid{grid-template-columns:1fr!important}.mfa-settings-head{align-items:flex-start}.maintenance-step-up{grid-template-columns:1fr}}
@media(max-width:520px){.maintenance-page{padding:14px}.maintenance-card{padding:28px 18px 24px;border-radius:19px}.maintenance-card h1{font-size:1.55rem}.maintenance-message{font-size:.9rem}.maintenance-symbol{width:66px;height:66px;border-radius:20px}.maintenance-eta{align-items:flex-start;text-align:left}.maintenance-repair-form{grid-template-columns:1fr}.maintenance-repair-form p{grid-column:auto}.maintenance-health{grid-template-columns:1fr}.recovery-code-grid{grid-template-columns:1fr}.mfa-settings-head{display:grid;grid-template-columns:1fr auto}.mfa-settings-head>div{align-items:flex-start}.mfa-settings-head>.badge{align-self:start}.admin-maintenance-banner>a{font-size:0}.admin-maintenance-banner>a::after{content:'Mở';font-size:.72rem}.auth-card{padding:26px 20px}.mfa-code-input{font-size:16px}.maintenance-state-form input,.maintenance-state-form textarea,.maintenance-repair-form input{font-size:16px}}
.maintenance-state-actions .button:disabled,.maintenance-repair-form .button:disabled{cursor:not-allowed;filter:grayscale(.35);opacity:.48;transform:none}
.is-write-locked{position:relative;filter:saturate(.7);opacity:.64}.is-write-locked::after{content:'Đang khóa ghi';position:absolute;right:10px;top:10px;padding:3px 7px;border-radius:999px;background:#fee2e2;color:#991b1b;font-size:.6rem;font-weight:800}
.auth-divider{display:flex;align-items:center;gap:10px;margin:18px 0 14px;color:var(--muted);font-size:.68rem}.auth-divider::before,.auth-divider::after{content:'';flex:1;height:1px;background:var(--line)}.auth-google-form small{display:block;margin-top:9px;color:var(--muted);font-size:.66rem;line-height:1.5;text-align:center}.auth-google-button{display:flex;align-items:center;justify-content:center;gap:9px}.auth-google-button svg{width:17px;height:17px;flex:0 0 17px}.google-link-card{max-width:980px;margin-top:20px}.google-link-detail{margin-top:18px}.google-link-card .alert{margin-top:16px}
.maintenance-auto-summary{display:flex;align-items:center;gap:10px;margin:14px 0;padding:10px 12px;border:1px solid #cce3ed;border-radius:10px;background:#f4fafc}.maintenance-auto-summary>span{display:grid;width:28px;height:28px;flex:0 0 28px;place-items:center;border-radius:8px;background:#dff1f8;color:#087aa6;font-size:1rem;font-weight:900}.maintenance-auto-summary p,.maintenance-auto-summary strong,.maintenance-auto-summary small{display:block;margin:0}.maintenance-auto-summary strong{font-size:.76rem}.maintenance-auto-summary small{margin-top:2px;color:var(--muted);font-size:.66rem;line-height:1.45}.maintenance-health{grid-template-columns:repeat(6,minmax(0,1fr));margin-bottom:12px}.maintenance-repair-form,.maintenance-quick-action{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;padding:10px 12px;border:1px solid #f1ca6e;border-radius:10px;background:#fff9e9}.maintenance-repair-form p,.maintenance-repair-form strong,.maintenance-repair-form small,.maintenance-quick-action span,.maintenance-quick-action strong,.maintenance-quick-action small{display:block;margin:0}.maintenance-repair-form p,.maintenance-quick-action strong{font-size:.72rem}.maintenance-repair-form small,.maintenance-quick-action small{margin-top:2px;color:var(--muted);font-size:.64rem}.maintenance-quick-action{margin-bottom:0;border-color:#dfe7ec;background:#f8fafc}.maintenance-quick-action .button,.maintenance-repair-form .button{min-width:132px}
@media(max-width:1050px){.maintenance-health{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.maintenance-health{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.maintenance-health{grid-template-columns:1fr}.maintenance-repair-form,.maintenance-quick-action{align-items:stretch;flex-direction:column}.maintenance-repair-form .button,.maintenance-quick-action .button{min-height:44px;width:100%}}

/* v1.54.1 · Trung tâm bảo mật rõ trạng thái và phản hồi mật khẩu tức thời. */
.page-profile .profile-security-grid{grid-template-columns:minmax(280px,.82fr) minmax(0,1.18fr);align-items:stretch;gap:18px;margin-bottom:18px}.profile-page-heading{align-items:center}.profile-page-heading>.badge{padding:6px 10px}.profile-identity-card,.profile-password-card{padding:22px 24px}.profile-identity-card>header{display:flex;align-items:center;gap:13px;padding-bottom:17px;border-bottom:1px solid var(--line)}.profile-identity-mark{display:grid;width:48px;height:48px;flex:0 0 48px;place-items:center;border-radius:14px;background:linear-gradient(145deg,#dff5fd,#e8f7f4);color:#08769f;font-size:1rem;font-weight:850}.profile-identity-card>header div>span{color:#7a8997;font-size:.64rem;font-weight:800;letter-spacing:.08em}.profile-identity-card h2,.profile-identity-card p{margin:0}.profile-identity-card h2{margin-top:2px;font-size:1rem}.profile-identity-card p{margin-top:2px;color:#477083;font-size:.75rem;overflow-wrap:anywhere}.profile-session-details{display:grid;gap:0;margin:13px 0 0}.profile-session-details>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #edf1f4}.profile-session-details>div:last-child{border-bottom:0}.profile-session-details dt{color:var(--muted);font-size:.72rem}.profile-session-details dd{margin:0;text-align:right;font-size:.73rem;font-weight:700}.profile-password-card>.card-header{padding:0 0 15px}.profile-password-card>.card-header h2{margin-top:1px}.profile-password-card>.card-header p{font-size:.74rem;line-height:1.5}.profile-password-card form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.profile-password-card form>*{margin:0}.profile-password-card form>label:first-of-type{grid-column:1/-1}.profile-password-card form>button{grid-column:2;justify-self:end;min-width:145px}.profile-password-card .password-field{display:block}.profile-password-card .password-field>button{top:8px;min-width:48px;color:#526574}.password-policy{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:1px 0 0;padding:0;list-style:none}.password-policy li{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:999px;background:#f1f3f5;color:#778490;font-size:.65rem}.password-policy li::before{content:'○';font-weight:900}.password-policy li.is-valid{background:#e8f7ed;color:#17733d}.password-policy li.is-valid::before{content:'✓'}.page-profile .mfa-settings-card,.page-profile .google-link-card{max-width:none;margin-top:18px;padding:22px 24px}.page-profile .mfa-settings-head p{font-size:.77rem;line-height:1.45}
@media(max-width:760px){.page-profile .profile-security-grid{grid-template-columns:1fr}.profile-page-heading{display:grid;gap:10px}.profile-page-heading>.badge{justify-self:start}.profile-password-card form{grid-template-columns:1fr}.profile-password-card form>label:first-of-type,.profile-password-card form>button{grid-column:auto}.profile-password-card form>button{justify-self:stretch;width:100%}}
@media(max-width:520px){.profile-identity-card,.profile-password-card,.page-profile .mfa-settings-card,.page-profile .google-link-card{padding:17px 14px}.profile-session-details>div{display:grid;gap:3px}.profile-session-details dd{text-align:left}.password-policy{display:grid}.password-policy li{width:fit-content}}
.profile-password-card form>button{align-self:end;min-height:42px}

/* v1.67.0 · Face ID/Passkey: hành động chính gọn, quản lý thiết bị rõ và an toàn. */
.auth-passkey{margin-top:16px}.auth-passkey-button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px}.auth-passkey-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.passkey-status{margin:8px 0 0;padding:7px 9px;border-radius:8px;background:#eef8fc;color:#225f78;font-size:.68rem;line-height:1.45;text-align:center}.passkey-status.is-error{background:#fff0f0;color:#9b2c2c}.passkey-status.is-success{background:#eaf8ef;color:#176f3a}.page-profile .passkey-settings-card{max-width:none;margin:18px 0 0;padding:22px 24px}.passkey-face-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.passkey-register-form{display:grid;grid-template-columns:minmax(180px,1fr) minmax(210px,1fr) auto;align-items:end;gap:10px;margin-top:16px}.passkey-register-form label{margin:0}.passkey-register-form .button{min-height:42px;white-space:nowrap}.passkey-register-form .passkey-status{grid-column:1/-1;margin:0}.passkey-explainer{margin:9px 0 0}.passkey-readiness{margin:16px 0 0}.passkey-device-list{display:grid;gap:7px;margin-top:14px;padding-top:13px;border-top:1px solid var(--line)}.passkey-device-list>article{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:46px;padding:7px 9px;border:1px solid #dfe9ee;border-radius:10px;background:#f9fbfc}.passkey-device-mark{display:grid;width:28px;height:28px;place-items:center;border-radius:8px;background:#e5f7ec;color:#187640;font-weight:900}.passkey-device-list strong,.passkey-device-list small{display:block}.passkey-device-list strong{font-size:.75rem}.passkey-device-list small{margin-top:2px;color:var(--muted);font-size:.63rem}.passkey-remove{position:relative}.passkey-remove>summary{cursor:pointer;color:#a12b32;font-size:.68rem;font-weight:800;list-style:none}.passkey-remove>summary::-webkit-details-marker{display:none}.passkey-remove[open]>form{display:grid;position:absolute;right:0;z-index:3;width:260px;margin-top:7px;padding:11px;border:1px solid #efc5c7;border-radius:10px;background:#fff;box-shadow:0 14px 35px rgba(38,55,74,.16)}.passkey-remove form label{font-size:.68rem}.passkey-remove form .button{min-height:38px}
@media(max-width:760px){.passkey-register-form{grid-template-columns:1fr 1fr}.passkey-register-form .button{grid-column:1/-1}.page-profile .passkey-settings-card{padding:17px 14px}}
@media(max-width:520px){.passkey-register-form{grid-template-columns:1fr}.passkey-register-form .button{grid-column:auto;min-height:44px}.passkey-device-list>article{grid-template-columns:30px minmax(0,1fr) auto;min-height:52px}.passkey-remove>summary{display:grid;min-width:42px;min-height:42px;place-items:center}.passkey-remove[open]>form{position:fixed;right:14px;bottom:14px;left:14px;width:auto;padding:15px;z-index:20}.passkey-remove form input,.passkey-register-form input{font-size:16px}.passkey-remove form .button{min-height:44px}}

/* v1.68.3 · Tài khoản & bảo mật: trạng thái trước, chỉ mở biểu mẫu khi cần. */
.page-profile .profile-page-heading,.page-profile .profile-account-summary,.page-profile .profile-focus-card,.page-profile .profile-methods-card,.page-profile .recovery-codes-panel{width:min(900px,100%);margin-inline:auto}.page-profile .profile-page-heading{align-items:flex-end;margin-bottom:12px}.page-profile .profile-page-heading h1{margin:0}.page-profile .profile-page-heading>.badge{padding:5px 9px}.page-profile .profile-account-summary{display:grid;grid-template-columns:minmax(300px,1.35fr) minmax(0,1fr);margin-bottom:11px;padding:0;overflow:hidden}.profile-account-person{display:flex;align-items:center;gap:11px;min-width:0;padding:13px 15px}.profile-account-person>section{min-width:0}.profile-account-person>section>span{display:block;color:#778798;font-size:.61rem;font-weight:800;letter-spacing:.07em}.profile-account-person h2,.profile-account-person p{margin:0}.profile-account-person h2{margin-top:2px;font-size:.92rem}.profile-account-person p{margin-top:2px;overflow:hidden;color:#477083;font-size:.7rem;text-overflow:ellipsis;white-space:nowrap}.profile-identity-mark{display:grid;width:39px;height:39px;flex:0 0 39px;place-items:center;border-radius:11px;background:linear-gradient(145deg,#dff5fd,#e8f7f4);color:#08769f;font-size:.9rem;font-weight:850}.profile-account-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;border-left:1px solid var(--line)}.profile-account-stats>div{display:grid;align-content:center;gap:3px;min-width:0;padding:10px 12px;border-left:1px solid var(--line)}.profile-account-stats>div:first-child{border-left:0}.profile-account-stats dt{color:var(--muted);font-size:.62rem}.profile-account-stats dd{margin:0;overflow:hidden;font-size:.7rem;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.page-profile .profile-focus-card{max-width:none;margin-top:0;margin-bottom:11px;padding:15px}.profile-focus-head{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px}.profile-focus-head .mfa-status-icon{width:38px;height:38px;flex-basis:38px;border-radius:10px}.profile-focus-head h2,.profile-focus-head p{margin:0}.profile-focus-head h2{font-size:.92rem}.profile-focus-head p{margin-top:2px;color:var(--muted);font-size:.7rem;line-height:1.4}.profile-focus-head .card-eyebrow{margin-bottom:2px;font-size:.59rem}.profile-focus-action{display:grid;grid-template-columns:minmax(230px,430px) auto minmax(130px,1fr);align-items:end;gap:9px;margin-top:12px;padding:11px;border-radius:9px;background:#f8fafc}.profile-focus-action label,.profile-focus-action p{margin:0}.profile-focus-action p{align-self:center;color:var(--muted);font-size:.64rem}.profile-focus-action .button{min-height:40px}.page-profile .mfa-setup-panel{margin-top:14px;padding-top:14px}.page-profile .mfa-setup-panel>.form-stack{max-width:520px}.page-profile .danger-zone{margin-top:12px;padding-top:10px}.page-profile .profile-methods-card{max-width:none;margin-top:0;margin-bottom:0;padding:0;overflow:visible}.profile-methods-head{padding:13px 15px;border-bottom:1px solid var(--line)}.profile-methods-head h2,.profile-methods-head p{margin:0}.profile-methods-head h2{font-size:.92rem}.profile-methods-head p{margin-top:2px;color:var(--muted);font-size:.68rem}.page-profile .profile-method{max-width:none;margin:0;padding:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:#fff}.page-profile .profile-method:last-child{border-bottom:0;border-radius:0 0 11px 11px}.profile-method>summary{display:grid;grid-template-columns:34px minmax(0,1fr) auto 74px;align-items:center;gap:10px;min-height:58px;padding:9px 15px;cursor:pointer;list-style:none}.profile-method>summary::-webkit-details-marker{display:none}.profile-method>summary:hover{background:#f7fbfc}.profile-method[open]>summary{background:#f7fbfc}.profile-method-summary>section{min-width:0}.profile-method-summary h3,.profile-method-summary p{margin:0}.profile-method-summary h3{font-size:.78rem}.profile-method-summary p{margin-top:2px;overflow:hidden;color:var(--muted);font-size:.65rem;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.profile-method-icon{display:grid;width:32px;height:32px;place-items:center;border-radius:9px;background:#e8f5fb;color:#087ba6;font-size:.7rem;font-weight:900}.profile-method-status{display:inline-flex;align-items:center;gap:5px;color:#738291;font-size:.64rem;font-weight:750;white-space:nowrap}.profile-method-status::before{width:6px;height:6px;border-radius:50%;background:currentColor;content:''}.profile-method-status.is-on{color:#167548}.profile-method-status.is-warning{color:#a76309}.profile-method-action{display:flex;align-items:center;justify-content:flex-end;gap:6px;color:#087ba6;font-size:.66rem;font-weight:800;white-space:nowrap}.profile-method-action::after{color:#7b8b98;content:'⌄';font-size:.85rem}.profile-method[open] .profile-method-action::after{content:'⌃'}.profile-method-body{padding:13px 15px 15px;border-top:1px solid var(--line);background:#fbfcfd}.page-profile .profile-password-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:10px}.page-profile .profile-password-form>*{margin:0}.page-profile .profile-password-form>label:first-of-type{grid-column:auto}.page-profile .profile-password-form .password-field{display:block}.page-profile .profile-password-form .password-field>button{top:8px;min-width:48px;color:#526574}.page-profile .profile-password-form .password-policy{grid-column:1/-1}.page-profile .profile-password-form>button{grid-column:3;justify-self:end;min-width:145px;min-height:40px}.password-policy{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:1px 0 0;padding:0;list-style:none}.password-policy li{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:999px;background:#f1f3f5;color:#778490;font-size:.65rem}.password-policy li::before{content:'○';font-weight:900}.password-policy li.is-valid{background:#e8f7ed;color:#17733d}.password-policy li.is-valid::before{content:'✓'}.page-profile .profile-method .passkey-register-form{margin-top:0}.page-profile .profile-method .passkey-device-list{margin-top:12px}.page-profile .google-link-detail{margin-top:0}.page-profile .google-link-card .alert{margin-top:12px;margin-bottom:0}.page-profile .google-link-card .settings-inline-note+.settings-inline-note{margin-top:6px}
.page-profile.ui-v2 .main-content>.profile-account-summary.card,.page-profile.ui-v2 .main-content>.profile-focus-card.card,.page-profile.ui-v2 .main-content>.profile-methods-card.card{padding:0}.page-profile.ui-v2 .main-content>.profile-focus-card.card{padding:15px}
@media(max-width:760px){.page-profile .profile-page-heading{align-items:flex-start}.page-profile .profile-account-summary{grid-template-columns:1fr}.profile-account-person{border-bottom:1px solid var(--line)}.profile-account-stats{border-left:0}.profile-focus-action{grid-template-columns:minmax(0,1fr) auto}.profile-focus-action p{grid-column:1/-1}.profile-method>summary{grid-template-columns:34px minmax(0,1fr) auto}.profile-method-status{grid-column:2}.profile-method-action{grid-column:3;grid-row:1/3}.page-profile .profile-password-form{grid-template-columns:1fr}.page-profile .profile-password-form .password-policy,.page-profile .profile-password-form>button{grid-column:auto}.page-profile .profile-password-form>button{justify-self:stretch;width:100%}}
@media(max-width:520px){.page-profile .profile-page-heading{display:grid;gap:8px}.page-profile .profile-page-heading>.badge{justify-self:start}.profile-account-stats{grid-template-columns:1fr}.profile-account-stats>div{display:flex;justify-content:space-between;gap:10px;padding:8px 13px;border-top:1px solid var(--line);border-left:0}.profile-account-stats>div:first-child{border-top:0}.profile-account-stats dd{text-align:right}.page-profile .profile-focus-card{padding:13px}.profile-focus-head{grid-template-columns:38px minmax(0,1fr)}.profile-focus-head>.badge{grid-column:2;justify-self:start}.profile-focus-action{grid-template-columns:1fr;padding:10px}.profile-focus-action p{grid-column:auto}.profile-focus-action input{font-size:16px}.profile-focus-action .button{min-height:44px}.profile-methods-head{padding:12px}.profile-method>summary{min-height:64px;padding:9px 12px}.profile-method-summary p{white-space:normal}.profile-method-body{padding:12px}.profile-method-action{min-width:44px;min-height:44px}.page-profile .profile-password-form input{font-size:16px}.page-profile .profile-password-form>button{min-height:44px}}
.profile-method-copy{display:block;min-width:0}.profile-method-copy strong,.profile-method-copy small{display:block}.profile-method-copy strong{font-size:.78rem}.profile-method-copy small{margin-top:2px;overflow:hidden;color:var(--muted);font-size:.65rem;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}@media(max-width:520px){.profile-method-copy small{white-space:normal}}

/* Google OAuth: công tắc vận hành tại chỗ, bật lại mới yêu cầu TOTP. */
.google-oauth-toggle-form{display:grid;gap:10px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.google-oauth-toggle-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}.google-oauth-toggle-row>span>strong,.google-oauth-toggle-row>span>small{display:block}.google-oauth-toggle-row>span>strong{font-size:.75rem}.google-oauth-toggle-row>span>small{margin-top:2px;color:var(--muted);font-size:.65rem;line-height:1.4}.google-oauth-switch{display:inline-flex;min-width:92px;min-height:40px;align-items:center;justify-content:center;gap:7px;padding:7px 10px;border:1px solid #d5dee5;border-radius:999px;background:#fff;color:#6b7885;font:inherit;font-size:.68rem;cursor:pointer}.google-oauth-switch:hover{border-color:#9fb4c1;background:#f7fafb}.google-oauth-switch:focus-visible{outline:2px solid #20a5dc;outline-offset:2px}.google-oauth-switch:disabled{cursor:not-allowed;filter:grayscale(.25);opacity:.5}.google-oauth-switch-track{position:relative;width:34px;height:19px;flex:0 0 34px;border-radius:999px;background:#a9b4bd;transition:background .15s ease}.google-oauth-switch-track::after{position:absolute;top:3px;left:3px;width:13px;height:13px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(15,23,42,.28);content:'';transition:transform .15s ease}.google-oauth-switch.is-on{border-color:#b8e4cd;background:#effaf4;color:#167548}.google-oauth-switch.is-on .google-oauth-switch-track{background:#21a665}.google-oauth-switch.is-on .google-oauth-switch-track::after{transform:translateX(15px)}.google-oauth-code-field{max-width:360px;margin:0}.google-oauth-code-field small{display:block;margin-top:4px;color:var(--muted);font-size:.63rem;line-height:1.4}.google-oauth-toggle-form>.alert{margin:0!important}
@media(max-width:520px){.google-oauth-toggle-row{grid-template-columns:minmax(0,1fr) auto}.google-oauth-switch{min-width:88px;min-height:44px}.google-oauth-code-field{max-width:none}.google-oauth-code-field input{font-size:16px}}
