body.auth-gated #stage{display:none!important}#auth-root[hidden]{display:none!important}#auth-root{position:fixed;inset:0;z-index:10000;background:white;color:#173b9c;overflow:auto;font-family:var(--font-ui);font-size:var(--text-body);line-height:1.6}.auth-shell{display:grid;grid-template-columns:54% 46%;min-height:100dvh}.auth-blueprint{position:relative;min-height:100dvh;overflow:hidden;color:#fff;background-color:#2347dc;background-image:linear-gradient(30deg,transparent 49.5%,#ffffff12 49.7%,#ffffff12 50.3%,transparent 50.5%),linear-gradient(-30deg,transparent 49.5%,#ffffff12 49.7%,#ffffff12 50.3%,transparent 50.5%);background-size:76px 44px;padding:48px 64px;display:flex;flex-direction:column}.auth-brand{display:flex;align-items:center;gap:14px;color:inherit;text-decoration:none;font-weight:700;letter-spacing:.03em;font-size:1.0625rem;position:relative;z-index:1}.auth-brand svg{width:30px;stroke:currentColor;fill:none;stroke-width:1.5}.auth-brand small{display:block;font-size:var(--text-meta);font-weight:400;margin-top:7px;letter-spacing:.04em;color:#dbe4ff}.auth-cube{width:clamp(210px,26vw,380px);align-self:center;margin:auto;transform:translateY(15px)}.auth-cube svg{width:100%;display:block}.auth-statement{position:relative;z-index:1;margin:20px 0 58px}.auth-statement>span{font:var(--text-meta) var(--font-mono);letter-spacing:.18em;opacity:.65}.auth-statement h1{font-size:clamp(1.6875rem,2.5vw,2.625rem);line-height:1.5;letter-spacing:.01em;margin:17px 0 12px;font-weight:600}.auth-statement p{font-size:var(--text-body);line-height:1.8;color:#dbe4ff}.auth-blueprint-foot{display:flex;justify-content:space-between;gap:10px;font:var(--text-meta) var(--font-mono);letter-spacing:.12em;color:#cfdaff}.auth-form-side{display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;padding:64px 36px 90px;min-width:0}.auth-form-wrap{width:100%;max-width:420px}.auth-kicker{font:var(--text-meta) var(--font-mono);color:var(--muted);letter-spacing:.16em;margin:0 0 18px}.auth-form-wrap h2{color:#193b9c;font-size:1.875rem;line-height:1.3;letter-spacing:-.02em;margin:0 0 14px;font-weight:600}.auth-subtitle{font-size:var(--text-body);line-height:1.8;color:var(--muted);margin:0 0 34px}.auth-form-wrap label{display:block;font-size:var(--text-body);font-weight:500;margin-bottom:20px;color:#4262a8}.auth-form-wrap input{display:block;width:100%;height:48px;margin-top:10px;border:1px solid #dce5ff;border-radius:5px;color:#183b9c;background:#fff;padding:0 14px;font-size:var(--text-body);font-family:inherit;box-sizing:border-box;outline:none}.auth-form-wrap input:focus{border-color:#2347dc;box-shadow:0 0 0 3px #2347dc0b}.auth-form-wrap input::placeholder{color:#64749a}.auth-primary{width:100%;height:48px;border:1px solid #2347dc;background:#2347dc;color:white;border-radius:5px;font-size:var(--text-body);font-family:inherit;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:14px}.auth-primary:hover{background:#193cc9}.auth-primary:disabled{opacity:.65;cursor:wait}.auth-error{font-size:var(--text-ui);line-height:1.7;color:#ad334d;margin:10px 0 16px;min-height:20px}.auth-help{font-size:var(--text-meta);line-height:1.8;color:var(--muted);text-align:center;margin:20px 0 0}.auth-secure{position:absolute;bottom:34px;color:var(--muted);font-size:var(--text-meta);letter-spacing:.03em}.auth-signout{display:block;border:0;background:none;color:var(--muted);margin:20px auto 0;font-size:var(--text-ui);cursor:pointer}.auth-loading{color:var(--muted);font-size:var(--text-body);padding:20px 0}.auth-loading span{display:inline-block;width:9px;height:9px;background:#2347dc;border-radius:50%;margin-right:9px;animation:auth-pulse 1.5s ease-in-out infinite}.sync-indicator{font-size:var(--text-meta);color:var(--muted);white-space:nowrap}.ui-button:disabled{cursor:wait;opacity:.55}.auth-gated{overflow:hidden}.settings-export{display:block;margin-top:10px}@keyframes auth-pulse{50%{opacity:.3}}@media(max-width:800px){.auth-shell{grid-template-columns:1fr}.auth-blueprint{min-height:190px;padding:26px 28px}.auth-cube{display:none}.auth-statement{margin:28px 0 0}.auth-statement>span,.auth-statement p,.auth-blueprint-foot{display:none}.auth-statement h1{font-size:1.375rem;margin:0}.auth-statement br{display:none}.auth-form-side{padding:40px 28px 80px;min-height:calc(100dvh - 190px)}.auth-form-wrap h2{font-size:1.625rem}.auth-secure{bottom:26px}}@media(prefers-reduced-motion:reduce){.auth-loading span{animation:none}}

.auth-tabs{display:flex;border-bottom:1px solid #dbe3ff;margin:24px 0}.auth-tabs button{flex:1;background:none;border:0;padding:13px 10px;color:var(--muted);font:inherit;cursor:pointer;border-bottom:2px solid transparent}.auth-tabs button[aria-selected=true]{color:#254ce4;border-bottom-color:#254ce4;font-weight:600}.auth-service-note{padding:13px 16px;background:#f0f4ff;color:#506ba9;font-size:var(--text-body);line-height:1.7;border-left:2px solid #a9baff;margin:18px 0}.auth-phone-input,.auth-code-input{display:flex;align-items:center;border:1px solid #dbe3ff;border-radius:6px;overflow:hidden;min-width:0;background:white}.auth-phone-input>span{padding:0 12px;color:#5f76ad;font-size:var(--text-body);border-right:1px solid #dbe3ff}.auth-phone-input input,.auth-code-input input{border:0!important;border-radius:0!important;min-width:0;flex:1;width:100%}.auth-code-input button{border:0;border-left:1px solid #dbe3ff;background:white;color:#254ce4;padding:0 12px;white-space:nowrap;align-self:stretch;cursor:pointer;font:inherit;font-size:var(--text-ui)}.auth-code-input button:disabled{color:#a9b7d9;cursor:not-allowed}.auth-primary:disabled{opacity:.45;cursor:not-allowed}.auth-state-mark{font-size:4.5rem;font-weight:200;color:#4467e9;margin:18px 0 8px}.auth-invite-info{display:flex;flex-wrap:wrap;gap:9px 16px;padding:16px;background:#f3f6ff;margin:24px 0;color:#254ce4}.auth-invite-info small{flex-basis:100%;font-size:var(--text-ui);color:var(--muted);line-height:1.6}.auth-form-wrap label small{font-weight:400;color:var(--muted)}.access-box{border:1px solid #dde5ff;border-radius:8px;padding:22px;margin-bottom:20px;color:#2447a7}.access-heading,.access-inline-meta,.access-form-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.access-heading{margin-bottom:20px}.access-heading h2{font-size:var(--text-body);font-weight:600;margin:0}.access-heading span,.access-heading small,.access-form-footer>span{font-size:var(--text-ui);color:var(--muted);font-weight:400}.access-inline-meta{justify-content:flex-start;gap:24px}.access-inline-meta span{font-size:var(--text-ui);color:var(--muted)}.access-inline-meta b{font-size:var(--text-body);color:#2447a7;margin-left:8px;font-weight:500}.access-description{font-size:var(--text-body);line-height:1.8;color:var(--muted);margin:16px 0}.access-invite-form,.access-phone-form{display:grid;grid-template-columns:1fr 1.1fr .8fr 1.5fr auto;gap:14px;align-items:end}.access-phone-form{grid-template-columns:1fr 1.1fr 1fr;max-width:1080px}.access-box label:not(.access-preference){display:flex;flex-direction:column;gap:9px;font-size:var(--text-ui);color:var(--muted);min-width:0}.access-box label small{color:var(--muted);font-size:var(--text-meta)}.access-box input:not([type=checkbox]),.access-box select{width:100%;height:42px;padding:10px 12px;color:#2447a7;background:white;border:1px solid #dbe3ff;border-radius:6px;font:inherit;font-size:var(--text-body);box-sizing:border-box;min-width:0}.access-box input:disabled{background:#f9fbff;color:#9babca}.access-box .form-error,.access-phone-form .access-form-footer{grid-column:1/-1}.access-invite-form>.ui-button{height:42px}.access-created{background:#f3f6ff;border-left:2px solid #6888ff;padding:20px;margin-top:20px}.access-created strong{font-size:var(--text-body)}.access-created p{font-size:var(--text-ui);color:var(--muted);line-height:1.7}.access-created>div{display:flex;gap:10px}.access-created .ui-button{flex-shrink:0}.access-table{width:100%;border-collapse:collapse;text-align:left;font-size:var(--text-body)}.access-table th{font-weight:400;color:var(--muted);background:#f8faff}.access-table td,.access-table th{padding:14px 12px;border-bottom:1px solid #e4eaff;white-space:nowrap}.access-table td:last-child{text-align:right}.access-preference{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0;border-bottom:1px solid #e4eaff}.access-preference>span{display:flex;flex-direction:column;gap:7px}.access-preference strong{font-size:var(--text-body);font-weight:500}.access-preference small{font-size:var(--text-ui);color:var(--muted)}.access-preference input{width:18px;height:18px;accent-color:#254ce4}.access-form-footer{padding-top:20px}.access-loading{padding:30px;border:1px solid #dbe3ff;border-radius:6px;color:var(--muted);display:flex;gap:20px;align-items:center}
@media(max-width:1100px){.access-invite-form{grid-template-columns:repeat(3,minmax(0,1fr))}.access-note-field{grid-column:span 2}.access-phone-form{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.access-box{padding:16px}.access-invite-form,.access-phone-form{grid-template-columns:1fr}.access-note-field{grid-column:auto}.access-created>div{flex-direction:column}.access-inline-meta{gap:12px}.access-preference{padding:16px 0}.auth-invite-info{margin:16px 0}}
.auth-form-wrap .auth-phone-input,.auth-form-wrap .auth-code-input{margin-top:10px}.auth-form-wrap .auth-phone-input input,.auth-form-wrap .auth-code-input input{margin-top:0}.access-box .ui-button:disabled{cursor:not-allowed}.auth-tabs button:focus-visible,.auth-code-input button:focus-visible{outline:2px solid #4467e9;outline-offset:-3px}

.gai-identity-row{display:flex;align-items:center;gap:16px;margin-bottom:24px}.gai-mark{display:grid;place-items:center;width:54px;height:54px;border:1px solid #cbd7ff;background:#f2f5ff;font-size:2.625rem;color:#254ce4;line-height:1}.gai-name h2{font-size:1.375rem;margin:0 0 6px;letter-spacing:.03em}.gai-name>span{font-size:var(--text-ui);color:var(--muted)}.gai-state{margin-left:auto;font-size:var(--text-body);color:#4e6bb3}.gai-permissions{display:flex;flex-wrap:wrap;gap:10px}.gai-permissions>span{border:1px solid #dce5ff;background:#f7f9ff;padding:9px 12px;border-radius:4px;font-size:var(--text-body)}.gai-actions td:nth-child(2){white-space:normal;min-width:220px;line-height:1.7}.gai-actions td:last-child,.gai-actions th:last-child{text-align:left}.gai-identity .access-description{margin-bottom:0}@media(max-width:600px){.gai-identity-row{flex-wrap:wrap;gap:12px}.gai-state{margin-left:0}.gai-identity-row>.ui-button{margin-left:auto}.gai-mark{width:44px;height:44px;font-size:2.125rem}.gai-name h2{font-size:1.25rem}}
.member-floor-access form{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.member-floor-access form label{display:flex;align-items:center;gap:8px}
.member-floor-access select{padding:7px 12px;min-width:122px;border:1px solid #bdcef6;border-radius:5px;color:#2043aa;background:#fff;font:inherit}
.member-floor-access .floor-grant-hint,.member-floor-access [role=status]{font-size:.875rem;line-height:1.5}
.member-floor-access [role=status]:empty{display:none}
