/* Entry is a separate shell so the audience workspaces retain their own styles. */
@font-face {
  font-family: "Geist";
  src: url("/static/fonts/geist-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.entry {
  --entry-ink: #24272D;
  --entry-muted: #59616D;
  --entry-focus: #2455AD;
  margin: 0;
  color: var(--entry-ink);
  background: #D4EAF5;
  font: 400 14px/1.5 "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
.entry *, .entry *::before, .entry *::after { box-sizing: border-box; }
.entry h1, .entry p, .entry ul { margin: 0; }
.entry button, .entry input, .entry select { font: inherit; }
.entry button { -webkit-tap-highlight-color: transparent; }
.entry a { color: inherit; text-decoration: none; }
.entry :focus-visible { outline: 3px solid var(--entry-focus); outline-offset: 4px; }

.entry-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background-image: linear-gradient(180deg, #DBEEF273, #EEF6FA59 56%, #FAFCFCEB 100%), url("/static/images/entry-sky.png");
  background-size: cover;
  background-position: center;
}
.entry-backdrop::after {
  content: "";
  position: absolute;
  inset: -8%;
  background: radial-gradient(ellipse at 32% 38%, #C8F4FF38, transparent 45%), radial-gradient(ellipse at 73% 62%, #FFE6C52B, transparent 40%);
  animation: entry-light 38s ease-in-out infinite alternate;
}
@keyframes entry-light {
  from { transform: translate(-1.5%, -.5%); }
  to { transform: translate(1.5%, 1%); }
}
.entry-brand-bar { position: absolute; z-index: 2; top: 31px; left: 42px; }
.entry .brand { display: inline-flex; align-items: center; gap: 8px; }
.entry .brand span { font-size: 15px; font-weight: 600; letter-spacing: -.035em; }
.entry-mark { flex: none; transform-origin: center; animation: entry-pulse 9.6s ease-in-out infinite; }
@keyframes entry-pulse {
  0%, 16%, 100% { transform: scale(1); }
  4% { transform: scale(1.08); }
  7% { transform: scale(1); }
  10% { transform: scale(1.04); }
}
.entry:has(.entry-form:focus-within) .entry-mark { animation: none; }
.entry-access { position: relative; z-index: 1; min-height: 100svh; display: grid; place-items: center; padding: 112px 24px 88px; }
.entry-panel {
  position: relative;
  width: min(100%, 420px);
  padding: 36px;
  border: 1px solid #FFFFFFC7;
  border-radius: 24px;
  background: linear-gradient(155deg, #F3FDFF9C, #FFFFFFE0 82%);
  box-shadow: 0 24px 70px #36557526, 0 3px 8px #4A6E8C1A, 0 0 0 1px #668CA21F, inset 0 1px 0 #FFFFFFE6, inset 0 -1px 0 #9BBAD733;
  -webkit-backdrop-filter: blur(24px) saturate(1.12);
  backdrop-filter: blur(24px) saturate(1.12);
}
.entry-panel::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(120deg, #FFFFFF30, transparent 38%); }
.entry-panel > * { position: relative; }
.entry-heading { margin-bottom: 28px; text-align: center; }
.entry-heading h1 { font-size: 25px; font-weight: 570; line-height: 1.2; letter-spacing: -.04em; }

.entry-form { display: grid; gap: 18px; }
.entry-field { display: grid; gap: 9px; font-size: 12px; font-weight: 500; }
.entry-input {
  width: 100%;
  min-height: 49px;
  padding: 12px 14px;
  border: 1px solid #7F919F;
  border-radius: 10px;
  color: var(--entry-ink);
  background: #EAF0F4B8;
  box-shadow: inset 0 1px 2px #48677D05, 0 1px 0 #FFFFFF80;
  caret-color: var(--entry-focus);
  transition: border-color 140ms ease, background-color 140ms ease;
}
.entry-input:hover { border-color: #90A6B8; background: #F6FAFC; }
.entry-input:focus { border-color: var(--entry-focus); outline: 3px solid var(--entry-focus); outline-offset: 2px; background: #F9FCFE; }
.entry-input[aria-invalid="true"] { border-color: #A3322C; }
.entry-submit {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 17px;
  border: 1px solid #1F242C;
  border-radius: 10px;
  color: #FFFFFF;
  background: linear-gradient(#393D46, #1E2129);
  box-shadow: inset 0 1px 0 #FFFFFF33, 0 2px 3px #18283E1F;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: box-shadow 140ms ease, background-color 140ms ease;
}
.entry-submit:hover { background: linear-gradient(#454B56, #252A34); box-shadow: inset 0 1px 0 #FFFFFF40, 0 3px 7px #18283E26; }
.entry-submit .entry-arrow { width: 17px; height: 17px; }
.entry-arrow { flex: 0 0 auto; }

.entry-alert { margin: 0 0 22px; padding: 11px 0 11px 13px; border-left: 2px solid #A3322C; color: #8D2C27; font-size: 12px; line-height: 1.6; }
.entry-alert p { margin: 0; }

.entry [hidden] { display: none !important; }
.person-field { position: relative; }
.person-select { display: flex; align-items: center; justify-content: space-between; gap: 14px; text-align: left; cursor: pointer; font-size: 14px; font-weight: 400; }
.person-select[aria-expanded="true"] { background: #F9FCFE; border-color: var(--entry-focus); }
.person-options { position: absolute; z-index: 3; top: calc(100% + 8px); left: 0; right: 0; padding: 6px; list-style: none; border: 1px solid #C8D3DD; border-radius: 13px; background: #FAFCFE; box-shadow: 0 14px 36px #28415C24, 0 2px 6px #28415C10; }
.person-options [role="option"] { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 8px; cursor: pointer; }
.person-options [role="option"]:hover, .person-options .active { background: #E8EFF5; }
.person-options [aria-selected="true"]::after { content: "✓"; margin-left: auto; color: var(--entry-focus); }
.person-avatar { display: block; width: 34px; height: 34px; flex: none; object-fit: cover; border: 1px solid #CBD6DF; border-radius: 50%; background: #F2F5F8; }
.person-name, .person-role { display: block; }
.person-name { font-size: 13px; font-weight: 500; }
.person-role { margin-top: 2px; color: var(--entry-muted); font-size: 11px; font-weight: 400; }
.person-error { color: #8D2C27; font-size: 12px; }

@media (max-width: 600px) {
  .entry-brand-bar { top: 24px; left: 24px; }
  .entry-access { padding: 100px 20px 64px; }
  .entry-panel { padding: 30px 25px; border-radius: 22px; }
  .entry-heading h1 { font-size: 24px; }
  .entry-input { font-size: 16px; }
}
@media (max-width: 360px) {
  .entry-brand-bar { left: 20px; }
  .entry-access { padding: 90px 16px 44px; }
  .entry-panel { padding: 27px 21px; }
  .entry-heading h1 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .entry *, .entry *::before, .entry *::after { animation: none !important; transition: none !important; }
}
