.discovery-gate { box-sizing:border-box; position:fixed; inset:0; margin:auto; width:min(490px,calc(100% - 36px)); max-height:85dvh; overflow:auto; padding:clamp(22px,4vw,35px); border:1px solid #e2dbea; border-radius:16px; color:#222126; background:#fff; font-family:inherit; box-shadow:0 16px 70px #29203933; }
.discovery-gate:not([open]) { display:none; }
.discovery-gate::backdrop { background:#22202b85; }
.discovery-gate h2 { margin:0 28px 12px 0; font-size:clamp(24px,4vw,32px); line-height:1.13; letter-spacing:-.045em; }
.discovery-gate .gate-summary { margin:0 0 24px; color:#595363; overflow-wrap:anywhere; }
.discovery-gate .gate-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.discovery-gate .gate-actions a { padding:10px 14px; display:inline-flex; align-items:center; min-height:44px; border-radius:8px; font-size:14px; font-weight:600; text-decoration:none; box-sizing:border-box; }
.discovery-gate .gate-create { color:#fff; background:#5847eb; }
.discovery-gate .gate-signin { color:#4736c9; border:1px solid #d9cfea; }
.discovery-gate button { font:inherit; cursor:pointer; border:0; background:transparent; }
.discovery-gate .gate-close { position:absolute; right:8px; top:6px; min-width:44px; min-height:44px; font-size:26px; color:#302b37; }
.discovery-gate .gate-edit { margin-top:8px; color:#4736c9; padding:8px 0; }
.discovery-gate .gate-status:empty { display:none; }
.discovery-gate [hidden] { display:none; }
.discovery-gate :is(a,button):focus-visible { outline:3px solid #5847eb; outline-offset:3px; }
