/* Early access is a page in the extension, with the panel's own type and controls. */
.invite-gate { position: fixed; inset: 0; z-index: calc(var(--z-sheet) + 2); background: var(--ink); color: var(--bone); display: flex; flex-direction: column; overflow: hidden; }
.invite-gate[hidden], .invite-gate [hidden] { display: none; }
.invite-top { display: flex; align-items: center; justify-content: space-between; padding: 25px 28px 18px; flex-shrink: 0; }
.invite-brand { display: flex; align-items: center; gap: 10px; font: 400 var(--fs-body)/1 var(--sans); letter-spacing: -.02em; }
.invite-brand img { width: 25px; height: 25px; object-fit: contain; }
:root[data-theme="light"] .invite-brand img { filter: invert(1) brightness(.16); }
.invite-edition { font: 400 var(--fs-2xs)/1.4 var(--mono); letter-spacing: .13em; text-transform: uppercase; color: var(--t-meta); }
.invite-scroll { flex: 1; padding: 22px 28px 28px; }
.invite-content { width: 100%; max-width: 350px; margin: auto; }
.invite-kicker { font: 400 var(--fs-2xs)/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--t-meta); margin-bottom: 15px; }
.invite-heading { margin: 0; font: 300 var(--fs-4xl)/1.06 var(--serif); letter-spacing: -.035em; text-wrap: balance; }
.invite-intro { margin: 15px 0 0; font: 400 var(--fs-body)/1.65 var(--sans); color: var(--t-secondary); max-width: 32em; }
.invite-form { display: flex; flex-direction: column; gap: 19px; margin-top: 29px; }
.invite-field { display: flex; flex-direction: column; gap: 8px; font: 400 var(--fs-base)/1.4 var(--sans); color: var(--bone); }
.invite-field .auth-input { height: var(--ctl-h-lg); }
.invite-field textarea.auth-input { height: auto; min-height: 102px; padding: 12px 14px; resize: vertical; }
.invite-field small { color: var(--t-meta); font: 400 var(--fs-xs)/1.4 var(--sans); }
.invite-submit { width: 100%; min-height: var(--ctl-h-lg); justify-content: space-between; padding-inline: 15px; }
.invite-submit svg { width: 16px; height: 16px; }
.invite-note { margin: 0; font: 400 var(--fs-xs)/1.6 var(--sans); color: var(--t-meta); }
.invite-message { font: 400 var(--fs-base)/1.55 var(--sans); color: var(--bone); margin: 0; }
.invite-message:empty { display: none; }
.invite-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--hair); font: 400 var(--fs-xs)/1.5 var(--sans); color: var(--t-meta); }
.invite-email { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.invite-text-btn { border: none; background: none; color: var(--t-secondary); padding: 4px 0; cursor: pointer; font: inherit; flex-shrink: 0; }
.invite-text-btn:hover { color: var(--bone); }
.invite-pending { padding-top: 42px; }
.invite-seal { width: 62px; height: 62px; display: grid; place-items: center; border: 1px solid var(--hair); border-radius: var(--r-ctl); background: var(--s-card); box-shadow: var(--lit-card); margin-bottom: 30px; color: var(--bone); }
.invite-seal svg { width: 26px; height: 26px; stroke-width: 1.25; }
.invite-progress { list-style: none; padding: 0; margin: 33px 0; }
.invite-progress li { display: flex; gap: 14px; position: relative; padding-bottom: 26px; }
.invite-progress li:last-child { padding-bottom: 0; color: var(--t-meta); }
.invite-progress li:not(:last-child)::after { content: ''; position: absolute; left: 7px; top: 20px; height: calc(100% - 25px); border-left: 1px solid var(--hair); }
.invite-step { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; border: 1px solid var(--hair); border-radius: 50%; display: grid; place-items: center; }
.invite-step svg { width: 10px; height: 10px; }
.invite-step.is-current::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--bone); }
.invite-progress strong { display: block; font: 400 var(--fs-body)/1.5 var(--sans); }
.invite-progress p { margin: 3px 0 0; font: 400 var(--fs-xs)/1.5 var(--sans); color: var(--t-meta); }
.invite-pending-actions { display: flex; flex-direction: column; gap: 13px; }
@media (max-width: 370px) { .invite-top { padding-inline: 22px; } .invite-scroll { padding-inline: 22px; } }
@media (max-height: 700px) { .invite-scroll { padding-top: 10px; } .invite-pending { padding-top: 12px; } .invite-form { margin-top: 22px; gap: 15px; } }
/* Focus announces the new page to assistive technology; its heading is not a control. */
.invite-heading:focus { outline: none; }
@media (max-height: 780px) {
  .invite-pending { padding-top: 12px; }
  .invite-seal { margin-bottom: 24px; }
  .invite-progress { margin-block: 26px; }
  .invite-progress li { padding-bottom: 20px; }
}
