/* Homestead session lock + account PIN. Same Belles brand across GM and Owner. */
.bb-session-overlay{position:fixed;inset:0;z-index:100000;background:#f3e6d8;display:grid;place-items:center;padding:16px;color:#35231e;overflow:auto}
.bb-session-card{width:min(460px,100%);border:1px solid #d8baa9;border-radius:22px;background:#fff9f3;box-shadow:0 15px 65px #34161825;padding:clamp(22px,5vw,38px)}
.bb-session-brand{display:flex;align-items:center;gap:14px;margin-bottom:27px}
.bb-session-brand img{object-fit:contain}
.bb-session-brand div{display:grid;gap:4px}
.bb-session-brand small,.bb-session-settings header small{font-size:11px;letter-spacing:.16em;font-weight:800;color:#9f2448}
.bb-session-brand strong{font:800 clamp(24px,5vw,31px) Georgia,serif;color:#512034}
.bb-session-card h1{font:800 clamp(29px,6vw,38px) Georgia,serif;margin:0 0 9px;color:#321e21}
.bb-session-desc{font-size:15px;line-height:1.55;color:#715c57;margin:0 0 21px}
.bb-session-form,.bb-session-setup{display:grid;gap:11px}
.bb-session-form label,.bb-session-setup label{display:grid;gap:7px;font-size:14px;font-weight:750;color:inherit}
.bb-session-form input,.bb-session-setup input{width:100%;border:1px solid #cab6ae;border-radius:10px;padding:13px 14px;font-size:17px;color:#321e21;background:#fff}
.bb-session-form input:focus,.bb-session-setup input:focus{outline:2px solid #af2447;outline-offset:1px}
.bb-session-primary{border:0;border-radius:10px;background:#af2447;color:#fff;padding:14px 18px;font-weight:800;min-height:46px}
.bb-session-primary:disabled{opacity:.6}
.bb-session-link{display:block;background:transparent;border:0;padding:13px 6px;font-size:14px;color:#982542;text-decoration:underline;text-underline-offset:3px;margin:8px 0 0;text-align:left}
.bb-session-hint{font-size:12px;color:#73605a;line-height:1.4}
.bb-session-error:not([hidden]){border:1px solid #d37a87;border-radius:9px;padding:10px 13px;background:#fff0f1;color:#952039;font-size:14px;line-height:1.5}
.bb-session-settings{width:min(520px,calc(100% - 20px));max-height:calc(100dvh - 28px);overflow-y:auto;border:1px solid #d8baa9;border-radius:18px;padding:24px;background:#fff9f3;color:#34221f;box-shadow:0 20px 60px #0005}
.bb-session-settings::backdrop{background:#190b13ad}
.bb-session-settings header{display:flex;justify-content:space-between;align-items:center;gap:10px}
.bb-session-settings header h2{font:800 29px Georgia,serif;color:#321e21;margin:6px 0}
.bb-session-settings header [data-close]{border:0;background:transparent;font-size:24px;color:#512034;padding:8px}
.bb-session-settings>p{font-size:14px;line-height:1.55;color:#765f59}
.bb-session-settings .bb-session-current{font-weight:750;color:#982542}
.bb-session-setup{gap:14px}
html[data-theme="dark"] .bb-session-overlay{background:#160e12}
html[data-theme="dark"] .bb-session-card,html[data-theme="dark"] .bb-session-settings{background:#26171f;border-color:#6f4555;color:#f7e6eb}
html[data-theme="dark"] .bb-session-card h1,html[data-theme="dark"] .bb-session-brand strong,html[data-theme="dark"] .bb-session-settings header h2{color:#fff6ef}
html[data-theme="dark"] .bb-session-desc,html[data-theme="dark"] .bb-session-settings>p{color:#d1b4c0}
html[data-theme="dark"] .bb-session-hint{color:#e0c5c9}
html[data-theme="dark"] .bb-session-form input,html[data-theme="dark"] .bb-session-setup input{background:#1a1016;border-color:#8e6471;color:#fff}
html[data-theme="dark"] .bb-session-link,html[data-theme="dark"] .bb-session-brand small{color:#ffc2d3}
html[data-theme] #app .gm-auth-rules{display:grid;gap:7px;list-style:none;padding:0;margin:12px 0 4px}
html[data-theme] #app .gm-auth-rules li{font-size:13px;color:#8b6973;display:flex;gap:9px;align-items:center}
html[data-theme] #app .gm-auth-rules li::before{content:"○";width:18px;text-align:center;font-weight:800}
html[data-theme] #app .gm-auth-rules li.passed{color:#26855f;font-weight:700}
html[data-theme] #app .gm-auth-rules li.passed::before{content:"✓"}
html[data-theme="dark"] #app .gm-auth-rules li:not(.passed){color:#d5aeb9}
html[data-theme="dark"] #app .gm-auth-rules li.passed{color:#98d3b2}
html[data-theme] #app .gm-auth-screen #online-auth .gm-auth-show-password{border:0;background:transparent;color:#ad2449;justify-self:end;font-size:12px;font-weight:750;padding:4px}
html[data-theme="dark"] #app .gm-auth-screen #online-auth .gm-auth-show-password{color:#ffc2d3}
@media(max-width:550px){.bb-session-settings{padding:17px}.bb-session-card{padding:23px}}

/* Respect hidden UI state even when theme rules set display. */
#app [data-password-error][hidden],.bb-session-error[hidden]{display:none!important}

/* Shared lock screen branding. */
.bb-session-overlay,.bb-lock-preview{box-sizing:border-box;background:var(--bb-lock-bg,#F5EADC);color:#3D241D}
.bb-session-card,.bb-session-card *{box-sizing:border-box}
.bb-session-card{width:min(430px,100%);padding:28px;border-radius:20px;background:#FFF9F1;border-color:#D7C0AD;box-shadow:0 18px 48px #3d241d17}
.bb-session-brand{gap:12px;margin-bottom:26px}
.bb-session-brand img{flex:none;width:68px;height:68px;padding:8px;border-radius:50%;background:#AF2447;box-shadow:0 3px 10px #6a18301c}
.bb-session-brand small{font:800 10px/1.4 Inter,Arial,sans-serif;letter-spacing:.13em;color:#AF2447}
.bb-session-brand strong{font:700 clamp(22px,5vw,27px)/1.15 Georgia,serif;color:#3D241D}
.bb-session-card h1{font:700 32px/1.15 Georgia,serif;color:#3D241D;margin:0 0 5px}
.bb-session-subtitle{font:700 14px/1.4 Inter,Arial,sans-serif;color:#3D241D;margin:0 0 12px}
.bb-session-desc{font:400 14px/1.5 Inter,Arial,sans-serif;margin-bottom:20px}
.bb-session-form{gap:10px}
.bb-session-form label{font:700 13px/1.4 Inter,Arial,sans-serif}
.bb-session-form input{min-height:48px;padding:11px 12px}
.bb-session-primary{font:750 14px/1.4 Inter,Arial,sans-serif;cursor:pointer}
.bb-session-link{width:100%;min-height:44px;text-align:center;margin:6px 0 0;font:600 13px/1.4 Inter,Arial,sans-serif;cursor:pointer}
.bb-session-hint{text-align:center;margin:14px 0 0;font:400 12px/1.5 Inter,Arial,sans-serif}
.bb-session-hint summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.bb-session-hint p{margin:8px 0}
.bb-session-link[hidden]{display:none}
html[data-theme="dark"] .bb-session-subtitle{color:#FFF4F0}
.bb-session-card :is(button,summary):focus-visible{outline:2px solid #AF2447;outline-offset:3px}
@media(max-width:550px){.bb-session-card{padding:24px}.bb-session-brand{margin-bottom:22px}}
@media(max-height:620px){.bb-session-overlay{place-items:start center}.bb-session-card{padding:20px}.bb-session-brand{margin-bottom:16px}}
