.hm-security-bell{position:relative;display:flex;align-items:center;justify-content:center}
.hm-security-bell .hm-security-count{position:absolute;top:-5px;right:-5px;min-width:18px;height:18px;border-radius:10px;background:#bf263c;color:#fff;font:700 10px/18px var(--hm-facebook-font);padding:0 4px;text-align:center}
.hm-security-bell .hm-security-count[hidden]{display:none}
.hm-device-security-page{padding-top:12px;padding-bottom:24px;display:flex;flex-direction:column;gap:14px}
.hm-device-security-panel{border:1px solid #dde8f7;background:#fff;border-radius:13px;box-shadow:0 7px 16px #103e7710;overflow:hidden;padding:20px 24px}
.hm-device-security-heading{display:flex;gap:12px;align-items:center;border-bottom:1px solid #e5edf6;margin:-8px -8px 20px;padding:0 0 15px}
.hm-device-security-heading h1{font:700 18px/1.3 var(--hm-facebook-font);color:#0b4d9e;margin:0 0 4px;text-transform:uppercase}
.hm-device-security-heading small,.hm-security-muted{font:400 13px/1.55 var(--hm-facebook-font);color:#617592}
.hm-device-security-icon{display:grid;place-items:center;border-radius:10px;background:#e6f2ff;width:40px;height:40px;color:#0771d7;flex-shrink:0}
.hm-device-security-icon svg{width:21px;height:21px}
.hm-device-security-panel h2{font:700 16px/1.4 var(--hm-facebook-font);color:#0b4d9e;margin:15px 0 10px}
.hm-security-status{padding:12px 15px;border-radius:8px;background:#eaf6ff;color:#135489;font:400 14px/1.5 var(--hm-facebook-font)}
.hm-security-error{padding:13px 16px;border-radius:9px;border:1px solid #ffd5dc;background:#fff0f2;color:#98152f}
.hm-security-error a{color:inherit;font-weight:700}
.hm-security-request{border:1px solid #dce7f4;border-radius:10px;padding:17px 16px;margin:10px 0;background:#f8fbff}
.hm-security-request-content{display:flex;flex-direction:column;gap:6px}
.hm-security-request-content strong{color:#123b72}
.hm-security-request-content small{font:400 12px/1.4 var(--hm-facebook-font);color:#526988;word-break:break-word}
.hm-security-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.hm-security-decision,.hm-security-enroll{display:flex;flex-direction:column;gap:9px;min-width:0}
.hm-security-decision label,.hm-security-enroll label{display:flex;flex-direction:column;gap:6px;font:600 12px var(--hm-facebook-font);color:#234875}
.hm-security-decision input,.hm-security-enroll input{width:100%;box-sizing:border-box;border:1px solid #d6e3f1;border-radius:8px;padding:10px;min-height:40px}
.hm-security-allow,.hm-security-deny{display:flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:8px;min-height:41px;cursor:pointer;color:#fff;font:700 13px var(--hm-facebook-font);background:#0878e4;padding:9px 12px}
.hm-security-deny{background:#a53143}
.hm-security-enroll{width:100%;max-width:none;box-sizing:border-box;align-self:stretch}
.hm-security-enroll>label,.hm-security-enroll>.hm-security-allow{width:100%;max-width:none;box-sizing:border-box}
.hm-site-announcement p{white-space:normal;line-height:1.6;color:#33577c}
.trusted-device-remember{display:flex;align-items:center;gap:8px;margin:11px 0;color:#315177;font:500 13px var(--hm-facebook-font)}
.trusted-device-remember input{width:17px;height:17px;flex:none}
.device-pending-state{display:flex;flex-direction:column;gap:12px;line-height:1.6;color:#2c4c73}
.device-pending-state .hm-auth-submit{text-align:center;text-decoration:none;justify-content:center}
@media(max-width:680px){.hm-security-actions{grid-template-columns:1fr}.hm-device-security-panel{padding:16px}.hm-device-security-heading{margin:0 0 16px}.hm-device-security-heading h1{font-size:16px}}

/* History opens as a separate, full-width page, not a second panel/column. */
.hm-device-security-heading>.hm-security-history-link{margin-left:auto;flex-shrink:0}
.hm-security-history-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;border:1px solid #cfe1f5;border-radius:8px;background:#edf6ff;color:#0b4d9e;padding:9px 13px;font:700 12px/1.4 var(--hm-facebook-font);white-space:nowrap;min-height:38px;box-sizing:border-box}
.hm-security-history-link svg{width:17px;height:17px;flex:none}
.hm-security-history-link:hover{background:#e0efff}
.hm-device-security-heading>span:nth-child(2){min-width:0}
.hm-security-request-details>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:14px;justify-content:space-between}
.hm-security-request-details>summary::-webkit-details-marker{display:none}
.hm-security-alert-title{font:700 14px/1.45 var(--hm-facebook-font);color:#123b72}
.hm-security-expand{font:700 12px/1.4 var(--hm-facebook-font);color:#006ccc;white-space:nowrap}
.hm-security-request-details[open] .hm-security-expand{color:#5d7390}
.hm-security-request-content{margin-top:13px}
.hm-security-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin:14px 0}
.hm-security-meta>div{min-width:0;padding:10px 12px;border:1px solid #e4edf8;border-radius:8px;background:#fff}
.hm-security-meta dt{font:500 11px/1.4 var(--hm-facebook-font);color:#667b96;margin-bottom:5px}
.hm-security-meta dd{font:600 12px/1.5 var(--hm-facebook-font);color:#1e446c;margin:0;overflow-wrap:anywhere}
.hm-login-history-list{display:flex;flex-direction:column;gap:11px}
.hm-login-history-entry{padding:14px 16px;border:1px solid #dce7f4;border-radius:10px;background:#f8fbff}
.hm-login-history-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.hm-login-history-top strong{color:#123b72;font:700 14px/1.5 var(--hm-facebook-font)}
.hm-login-history-pill{border-radius:100px;padding:5px 9px;font:700 11px/1.3 var(--hm-facebook-font);white-space:nowrap}
.hm-login-history-ok{color:#17744a;background:#dcf7eb}
.hm-login-history-pending{color:#8b5b07;background:#fff1cf}
.hm-login-history-danger{color:#9d263d;background:#ffe1e7}
.hm-login-history-neutral{color:#375573;background:#e4eff8}
.hm-login-history-note{margin-top:18px}
@media(max-width:780px){.hm-device-security-heading{flex-wrap:wrap}.hm-device-security-heading>.hm-security-history-link{margin-left:0}.hm-security-meta{grid-template-columns:1fr}}
@media(max-width:490px){.hm-device-security-heading>.hm-security-history-link{width:100%}.hm-security-request-details>summary{align-items:flex-start;flex-direction:column;gap:5px}.hm-login-history-top{flex-wrap:wrap}}

/* Primary trusted device: same two-column metadata layout as Login History. */
.hm-trusted-device-card{background:#f7fbff;border:1px solid #dbe7f6;border-radius:11px;padding:14px 15px;margin-bottom:18px;min-width:0}
.hm-trusted-device-card .hm-security-meta{margin:12px 0 0}
.hm-trusted-device-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;flex-wrap:wrap}
.hm-trusted-device-remove{min-width:210px;max-width:100%}
.hm-trusted-device-remove>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #efbac2;border-radius:8px;background:#fff0f2;color:#9c2939;min-height:36px;padding:8px 11px;font:700 12px/1.35 var(--hm-facebook-font)}
.hm-trusted-device-remove>summary::-webkit-details-marker{display:none}
.hm-trusted-device-remove>summary .site-icon{width:15px;height:15px}
.hm-trusted-device-remove[open]{width:min(100%,400px)}
.hm-trusted-device-remove-form{display:flex;flex-direction:column;gap:10px;border:1px solid #f0d9df;border-radius:9px;padding:13px;background:#fff;margin-top:10px}
.hm-trusted-device-remove-form p{margin:0;color:#93405a;font:400 12px/1.5 var(--hm-facebook-font)}
.hm-trusted-device-remove-form label{display:flex;flex-direction:column;gap:6px;font:600 12px var(--hm-facebook-font);color:#234875}
.hm-trusted-device-remove-form input{width:100%;box-sizing:border-box;min-height:39px;padding:9px 10px;border:1px solid #d6e3f1;border-radius:8px}
.hm-trusted-device-remove-form .hm-security-deny{min-height:40px}
/* Preserve the category-style header dimensions on the Account tab. */
.hm-body .hm-shell-main>main.hm-unified-page.account-v2 .account-main-heading{padding-bottom:11px;margin-bottom:13px}
@media(max-width:650px){.hm-trusted-device-footer{align-items:stretch;flex-direction:column}.hm-trusted-device-remove,.hm-trusted-device-remove[open]{width:100%}}
