.te-event-button { display:inline-flex; align-items:center; justify-content:center; padding:14px 24px; border:1px solid transparent; border-radius:6px; background:var(--te-event-accent,#3b9eff); color:var(--te-event-button-text,#06101a); font-family:inherit; font-size:14px; font-weight:600; line-height:1.4; cursor:pointer; text-decoration:none; }
.te-event-button:hover { filter:brightness(1.08); }
.te-event-button--brand { --te-event-accent:var(--color-brand-primary,#3b9eff); --te-event-button-text:var(--color-primary-fg,#fff); }
.te-event-button--white { --te-event-accent:#fff; --te-event-button-text:#0a0b0f; }
.te-event-button--dark { --te-event-accent:#0a0b0f; --te-event-button-text:#fff; }
.te-event-button--outline { background:transparent; border-color:var(--te-event-accent,#3b9eff); color:var(--te-event-accent,#3b9eff); }
.te-event-button--outline:hover { filter:none; background:color-mix(in srgb,var(--te-event-accent,#3b9eff) 12%,transparent); }
.te-event-button:disabled { opacity:.6; cursor:wait; }
.te-event-button:focus-visible, .te-event-modal :focus-visible { outline:3px solid #93c5fd; outline-offset:3px; }
html.te-event-modal-open { overflow:hidden; }
dialog.te-event-modal { box-sizing:border-box; width:min(680px,calc(100vw - 32px)); max-height:calc(100dvh - 32px); margin:auto; padding:0; overflow:auto; border:1px solid #344453; border-radius:12px; background:var(--te-event-background,#0b141f); color:#f3f5f7; font-family:inherit; font-size:16px; line-height:1.6; text-align:left; }
dialog.te-event-modal:not([open]) { display:none; }
.te-event-modal::backdrop { background:rgba(4,8,12,.8); backdrop-filter:blur(6px); }
/* Open/close transitions. Browsers without @starting-style just snap open and shut. */
dialog.te-event-modal { opacity:0; transform:translateY(12px) scale(.98); transition:opacity .22s ease, transform .22s ease, overlay .22s allow-discrete, display .22s allow-discrete; }
dialog.te-event-modal[open] { opacity:1; transform:none; }
@starting-style { dialog.te-event-modal[open] { opacity:0; transform:translateY(12px) scale(.98); } }
.te-event-modal::backdrop { opacity:0; transition:opacity .22s ease, overlay .22s allow-discrete, display .22s allow-discrete; }
.te-event-modal[open]::backdrop { opacity:1; }
@starting-style { .te-event-modal[open]::backdrop { opacity:0; } }
@media (prefers-reduced-motion:reduce) { dialog.te-event-modal, .te-event-modal::backdrop { transition:none; } }
.te-event-modal *, .te-event-modal *::before, .te-event-modal *::after { box-sizing:border-box; }
.te-event-modal [hidden] { display:none!important; }
.te-event-modal__panel { position:relative; padding:36px; }
.te-event-modal h2 { margin:0 32px 16px 0; color:inherit; font-size:32px; line-height:1.2; }
.te-event-modal h3 { color:inherit; font-size:24px; line-height:1.3; margin:0 32px 12px 0; }
.te-event-modal p { margin:0 0 20px; }
.te-event-modal a { color:#86c3ff; text-decoration:underline; }
.te-event-modal a.te-event-button { color:var(--te-event-button-text,#06101a); text-decoration:none; }
.te-event-modal__eyebrow { color:#86c3ff; font-size:12px; letter-spacing:.1em; text-transform:uppercase; }
.te-event-modal__close { position:absolute; right:12px; top:8px; width:44px; height:44px; padding:0; border:0; background:transparent; color:inherit; font-size:30px; line-height:1; cursor:pointer; }
.te-event-modal__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin:24px 0; }
.te-event-modal__field { display:grid; gap:6px; font-size:14px; }
.te-event-modal__field input { width:100%; min-width:0; padding:11px 12px; border:1px solid #526170; border-radius:6px; background:#101f2c; color:#fff; font:inherit; font-size:16px; }
.te-event-modal__check { display:flex; align-items:flex-start; gap:12px; margin:18px 0; font-size:13px; line-height:1.6; }
.te-event-modal__check input { flex:0 0 auto; width:18px; height:18px; margin:3px 0 0; accent-color:#3b9eff; }
.te-event-modal .te-event-modal__error { padding:12px; color:#ffd3d3; background:#4c2027; border-radius:6px; }
.te-event-modal .te-event-modal__status { margin:8px 0 0; font-size:14px; }
.te-event-modal .te-event-modal__contact { margin:24px 0 0; font-size:13px; overflow-wrap:anywhere; }
.te-event-modal__success { margin-top:0; }
@media(max-width:540px) { .te-event-modal__grid { grid-template-columns:1fr; } .te-event-modal__panel { padding:28px 20px; } .te-event-modal h2 { font-size:27px; } }
.te-event-modal__gate { margin:24px 0 0; padding:0; border:0; min-width:0; }
.te-event-modal__gate legend { padding:0; margin:0 0 4px; font-size:16px; font-weight:600; }
.te-event-modal__gate .te-event-modal__check { margin:10px 0; font-size:15px; }
.te-event-modal__gate-no { margin-top:20px; }
.te-event-modal .te-event-modal__note { margin:0 0 16px; font-size:13px; line-height:1.5; color:#a8b3bf; }
