:root{--auth-surface-subtle: var(--surface-subtle, #eef3ff);--auth-error: var(--error, #dc2626);--auth-radius-control: var(--radius-control, 8px)}.gate-backdrop{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;background:#0f172a94;backdrop-filter:blur(5px)}.gate-dialog{width:min(400px,100%);padding:30px;border:1px solid var(--border);border-radius:22px;background:var(--card);box-shadow:0 28px 70px #0f172a47;text-align:center;animation:gate-in .18s ease-out}@keyframes gate-in{0%{transform:translateY(8px) scale(.98)}}.gate-lock{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 14px;border-radius:16px;background:var(--result-bg);font-size:1.4rem}.gate-dialog h2{margin:0 0 8px;font-size:1.35rem}.gate-dialog>p{margin:0 0 20px;color:var(--muted);line-height:1.6}.gate-field{display:block}.gate-field span{display:block;margin-bottom:12px;font-size:1.65rem;font-weight:800}.gate-field input{width:100%;padding:13px 16px;border:2px solid var(--border);border-radius:12px;color:var(--text);background:var(--card);font:inherit;font-size:1.25rem;font-weight:800;text-align:center;outline:none}.gate-field input:focus{border-color:var(--primary);box-shadow:0 0 0 4px #2563eb1f}.gate-feedback{min-height:22px;margin:8px 0 10px;color:var(--auth-error);font-size:.88rem;font-weight:700}.invite-expiry-hint{min-height:20px;margin:2px 0 8px;color:var(--muted);font-size:.82rem;text-align:left}.gate-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.gate-login-fields{display:grid;grid-template-columns:1fr;gap:12px;text-align:left}.gate-login-fields .gate-field span{margin-bottom:6px;color:var(--muted);font-size:.82rem;font-weight:700}.gate-login-fields .gate-field input{padding:11px 12px;font-size:1rem;font-weight:600;text-align:left}.gate-primary-action{width:100%}.site-auth-dialog{width:min(440px,100%);max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain}.auth-mode-switch{display:grid;grid-template-columns:1fr 1fr;margin:0 0 18px;padding:3px;border:1px solid var(--border);border-radius:var(--auth-radius-control);background:var(--auth-surface-subtle)}.auth-mode-switch button{min-height:38px;border:0;border-radius:6px;color:var(--muted);background:transparent;font:inherit;font-weight:700;cursor:pointer}.auth-mode-switch button[aria-selected=true]{color:var(--text);background:var(--card);box-shadow:0 1px 4px color-mix(in srgb,var(--text) 12%,transparent)}.site-auth-panel[hidden]{display:none}.site-auth-panel .gate-primary-action{margin-top:2px}html[data-theme=dark] .gate-dialog,html[data-theme=dark] .gate-field input{color:var(--text);background:var(--card)}.gate-backdrop{padding:24px;background:#0b181fc7;backdrop-filter:blur(10px)}.site-auth-dialog{display:grid;grid-template-columns:minmax(300px,.86fr) minmax(430px,1.14fr);width:min(920px,100%);max-height:min(680px,calc(100dvh - 48px));padding:0;overflow:hidden;border:0;border-radius:18px;background:#fff;box-shadow:0 32px 90px #04141b61;text-align:left}.auth-showcase{position:relative;display:flex;min-height:590px;flex-direction:column;padding:34px 36px 30px;overflow:hidden;color:#f4fbf8;background:#17434a}.auth-showcase:before,.auth-showcase:after{position:absolute;content:"";pointer-events:none;border:1px solid rgba(188,239,222,.18);transform:rotate(28deg)}.auth-showcase:before{width:300px;height:300px;right:-160px;top:-92px;border-radius:42px}.auth-showcase:after{width:210px;height:210px;left:-150px;bottom:88px;border-radius:32px}.auth-brand,.auth-brand:visited{position:relative;z-index:1;display:inline-flex;align-items:center;gap:11px;width:fit-content;color:inherit;text-decoration:none}.auth-brand-mark{display:grid;width:38px;height:38px;place-items:center;border:1px solid rgba(255,255,255,.26);border-radius:11px;color:#123b42;background:#f3b562;font-size:1.15rem;font-weight:900}.auth-brand strong,.auth-brand small{display:block}.auth-brand strong{font-size:.98rem;letter-spacing:.02em}.auth-brand small{margin-top:2px;color:#afd1c8;font-size:.7rem}.auth-showcase-copy{position:relative;z-index:1;margin:auto 0 28px}.auth-kicker,.auth-form-eyebrow{color:#f3b562;font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.auth-form-eyebrow{color:#8a5a12}.auth-showcase-copy h2{margin:13px 0 14px;color:#fff;font-size:clamp(2rem,3.5vw,3rem);line-height:1.12;letter-spacing:-.03em}.auth-showcase-copy h2 em{color:#a9e7d0;font-style:normal}.auth-showcase-copy p{max-width:280px;margin:0;color:#c4ddd7;line-height:1.7;font-size:.9rem}.auth-preview{position:relative;z-index:1;width:min(100%,296px);margin-left:auto;padding:17px 18px 15px;color:#163d43;background:#f8fcfa;border:1px solid rgba(255,255,255,.42);border-radius:12px;box-shadow:0 18px 38px #051a1f33;transform:rotate(-2deg)}.preview-topline,.preview-bottomline{display:flex;align-items:center;gap:8px;font-size:.72rem}.preview-topline{justify-content:space-between;color:#5b7570}.preview-topline strong{color:#188060;font-size:.7rem}.preview-question{margin:22px 0 16px;font-size:2rem;font-weight:850;letter-spacing:-.04em}.preview-question span{color:#e79b45}.preview-answer{display:flex;gap:5px;padding-bottom:14px;border-bottom:1px solid #dcebe5}.preview-answer span,.preview-answer i{display:block;height:5px;border-radius:99px;background:#d3e4de}.preview-answer span{width:70px;background:#70bea3}.preview-answer i{width:18px}.preview-bottomline{margin-top:13px;color:#5b7570}.preview-bottomline b{margin-left:auto;color:#188060;font-size:.78rem}.preview-check{display:grid;width:18px;height:18px;place-items:center;border-radius:50%;color:#fff;background:#188060;font-size:.7rem;font-weight:900}.auth-showcase-footer{position:relative;z-index:1;display:flex;align-items:center;gap:8px;margin-top:26px;color:#afd1c8;font-size:.72rem}.showcase-dot{width:7px;height:7px;border-radius:50%;background:#f3b562}.auth-form-side{min-width:0;padding:50px 58px 42px;overflow-y:auto;color:var(--text);background:#fff}.auth-form-heading{display:flex;align-items:center;gap:13px}.auth-form-heading .gate-lock{flex:0 0 auto;width:40px;height:40px;margin:0;border-radius:11px;color:#176b4d;background:#e4f4ed;font-size:1.45rem;font-weight:900;transform:rotate(-45deg)}.auth-form-heading .gate-lock:first-letter{display:inline-block;transform:rotate(45deg)}.auth-form-heading h2{margin:5px 0 0;font-size:1.7rem;line-height:1.15;letter-spacing:-.03em}.auth-form-description{margin:12px 0 25px;color:var(--muted);font-size:.86rem;line-height:1.6}.auth-mode-switch{margin:0 0 25px;padding:0;border:0;border-bottom:1px solid #dce7e2;border-radius:0;background:transparent}.auth-mode-switch button{position:relative;min-height:42px;color:#5f6d69;font-size:.88rem}.auth-mode-switch button[aria-selected=true]{color:#176b4d;background:transparent;box-shadow:none}.auth-mode-switch button[aria-selected=true]:after{position:absolute;right:18%;bottom:-1px;left:18%;height:3px;content:"";border-radius:3px 3px 0 0;background:#176b4d}.gate-login-fields{gap:16px}.gate-field span{margin-bottom:7px;color:#3f524c;font-size:.76rem;font-weight:800}.gate-field input{min-height:46px;padding:11px 13px;border:1px solid #cedbd5;border-radius:8px;color:#18352a;background:#fbfdfc;font-size:.9rem;font-weight:500;text-align:left;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}.gate-field input::placeholder{color:#a3b2ad}.gate-field input:focus{border-color:#188060;background:#fff;box-shadow:0 0 0 4px #1880601f}.auth-field-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.auth-field-pair .gate-field{min-width:0}.invite-field input{letter-spacing:.08em}.gate-feedback{min-height:22px;margin:8px 0 10px;font-size:.78rem}.site-auth-dialog .btn.primary.gate-primary-action{min-height:48px;border-radius:8px;background:#176b4d;box-shadow:0 9px 20px #176b4d2e}.site-auth-dialog .btn.primary.gate-primary-action:hover:not(:disabled){background:#10563d;box-shadow:0 11px 24px #176b4d40}.gate-primary-action span{margin-left:9px;font-size:1.15rem;line-height:0}.auth-form-note{display:flex;align-items:center;justify-content:center;gap:5px;margin:17px 0 0;color:#616f6a;font-size:.7rem;line-height:1.5;text-align:center}.auth-redeem-entry{margin:0 0 10px;text-align:center}.auth-redeem-entry .auth-support-copy{font-size:.82rem}.auth-form-note span{color:#188060;font-size:1rem}.invite-expiry-hint{margin:2px 0 0;font-size:.72rem}.auth-support-contact{margin:8px 0 0;text-align:left}.auth-support-copy{display:inline;padding:0;border:0;background:none;color:#176b4d;font:inherit;font-size:.78rem;font-weight:600;line-height:1.45;text-align:left;text-decoration:underline;text-underline-offset:2px;cursor:pointer}.auth-support-copy:disabled{color:#616f6a;font-weight:500;text-decoration:none;cursor:default}.support-contact-dialog{position:fixed;inset:0;z-index:400;display:grid;place-items:center;padding:20px;background:#0f172a9e;backdrop-filter:blur(6px)}.support-contact-card{width:min(340px,100%);padding:22px 18px 18px;border-radius:16px;background:#fff;color:#18352a;text-align:center;box-shadow:0 24px 60px #0f172a47}.support-contact-card h2{margin:0 0 6px;font-size:1.12rem}.support-contact-lead{margin:0 0 12px;color:#616f6a;font-size:.82rem;line-height:1.45}.support-contact-qr{display:block;width:min(240px,72vw);max-height:min(420px,56dvh);margin:0 auto 8px;object-fit:contain;background:#fff}.support-contact-name{margin:0 0 6px;font-size:.95rem;font-weight:700}.support-contact-id{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin:0 0 6px;font-size:.9rem}.support-contact-id code{font-family:ui-monospace,Cascadia Code,Segoe UI Mono,Consolas,monospace;font-weight:700;letter-spacing:.02em}.support-contact-copy{padding:4px 10px;border:1px solid #cedbd5;border-radius:8px;background:#fbfdfc;color:#176b4d;font:inherit;font-size:.78rem;font-weight:700;cursor:pointer}.support-contact-copy-status{min-height:1.2em;margin:0 0 12px;color:#176b4d;font-size:.78rem}.support-contact-card .btn{min-width:96px}html[data-theme=dark] .support-contact-card{color:#e5eee9;background:#15251f}html[data-theme=dark] .support-contact-lead{color:#93a9a0}html[data-theme=dark] .support-contact-copy{border-color:#3b5549;background:#1b3028;color:#a9e7d0}html[data-theme=dark] .support-contact-copy-status{color:#a9e7d0}html[data-theme=dark] .site-auth-dialog{background:#15251f}html[data-theme=dark] .auth-form-side{color:#e5eee9;background:#15251f}html[data-theme=dark] .auth-form-heading .gate-lock{color:#a9e7d0;background:#20493d}html[data-theme=dark] .auth-form-description,html[data-theme=dark] .auth-form-note,html[data-theme=dark] .auth-support-copy:disabled,html[data-theme=dark] .auth-mode-switch button{color:#93a9a0}html[data-theme=dark] .auth-support-copy{color:#a9e7d0}html[data-theme=dark] .auth-mode-switch{border-color:#30463d}html[data-theme=dark] .auth-mode-switch button[aria-selected=true]{color:#a9e7d0}html[data-theme=dark] .auth-mode-switch button[aria-selected=true]:after{background:#a9e7d0}html[data-theme=dark] .gate-field span{color:#b9cbc3}html[data-theme=dark] .gate-field input{color:#e5eee9;background:#1b3028;border-color:#3b5549}html[data-theme=dark] .gate-field input:focus{border-color:#6bc6a5;background:#20382e;box-shadow:0 0 0 4px #6bc6a524}.site-auth-dialog[data-context=after-logout] .auth-form-eyebrow,.site-auth-dialog[data-context=after-logout] .auth-showcase-copy h2 em{color:#d4a55e}.site-auth-dialog[data-context=expired] .auth-form-eyebrow,.site-auth-dialog[data-context=expired] .auth-showcase-copy h2 em{color:#e67e5c}html[data-theme=dark] .site-auth-dialog[data-context=after-logout] .auth-form-eyebrow,html[data-theme=dark] .site-auth-dialog[data-context=after-logout] .auth-showcase-copy h2 em{color:#f3b562}html[data-theme=dark] .site-auth-dialog[data-context=expired] .auth-form-eyebrow,html[data-theme=dark] .site-auth-dialog[data-context=expired] .auth-showcase-copy h2 em{color:#eb956f}@media(max-width:760px){.site-auth-dialog{grid-template-columns:1fr;max-height:calc(100dvh - 28px);overflow-y:auto}.auth-showcase{min-height:258px;padding:24px 24px 22px}.auth-showcase-copy{margin:34px 0 0}.auth-showcase-copy h2{margin:8px 0 0;font-size:1.65rem}.auth-showcase-copy p,.auth-preview,.auth-showcase-footer{display:none}.auth-form-side{padding:30px 24px 28px;overflow:visible}}@media(max-width:420px){.gate-backdrop{padding:14px}.site-auth-dialog{max-height:calc(100dvh - 28px);border-radius:14px}.auth-showcase{min-height:220px}.auth-form-side{padding:26px 18px 24px}.auth-form-heading h2{font-size:1.42rem}.auth-field-pair{grid-template-columns:1fr;gap:16px}}@media(max-width:480px){.gate-dialog{padding:24px 20px}}@media(forced-colors:active){.gate-dialog{border:1px solid ButtonText}}
