/* biome-ignore-all lint/style/noDescendingSpecificity: Component and responsive selectors intentionally target different elements. */
/* biome-ignore-all lint/complexity/noImportantStyles: Hidden content and reduced-motion preferences must override component styles. */
:root {
  color-scheme: light;
  --ink: #252e29;
  --muted: #526159;
  --blue: #215d64;
  --line: #d9d3c7;
  --paper: #faf7f0;
  --white: #fffdf7;
  --nav: #20382f;
  font-family: Figtree, "Segoe UI", sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 14px;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #77a4f5;
  outline-offset: 3px;
}
.auth-gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(90deg, #f7ecdc 0%, #f7ecdcbf 40%, transparent 72%),
    url("/ops/brand/horizon-arrival.webp") 72% center / cover no-repeat,
    var(--paper);
}
.auth-card {
  width: min(100%, 470px);
  padding: clamp(28px, 6vw, 48px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  justify-self: start;
  margin-inline-start: clamp(0px, 7vw, 100px);
  box-shadow: 0 24px 70px #132b4910;
}
.auth-card .auth-wordmark {
  font:
    400 34px / 1 Georgia,
    serif;
  letter-spacing: -0.065em;
  margin-bottom: 32px;
  color: var(--ink);
}
@media (max-width: 650px) {
  .auth-card {
    margin-inline: 0;
    justify-self: center;
  }
  .auth-gate {
    align-content: start;
    padding-top: clamp(2rem, 12vh, 7rem);
    background-position: 66% bottom;
  }
}
.auth-card h1 {
  font-family: Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -1px;
  margin: 12px 0;
}
.auth-card > p:not(.auth-wordmark) {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.auth-card .field-help {
  margin: 14px 0 0;
}
.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.saved-card {
  margin-top: 22px;
  padding: 25px;
}
.saved-card h3 {
  margin: 8px 0;
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 400;
}
.saved-caption {
  color: var(--muted);
}
.saved-card .field-help {
  margin: 8px 0 0;
}
.saved-invitations li > div {
  flex: 1;
  min-width: 0;
}
.saved-invitations {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.saved-invitations li {
  border-top: 1px solid var(--line);
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.invitation-status {
  display: table;
  margin-top: 5px;
  padding: 3px 9px;
  border-radius: 5px;
  background: #eaf0f8;
  color: var(--ink);
  font-weight: 600;
}
.saved-invitations small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.shell {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--nav);
  color: #d4dfeb;
  padding: 30px 18px 24px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 5px 46px;
}
.brand img {
  width: 37px;
  height: 37px;
  object-fit: contain;
}
.brand strong {
  display: block;
  color: #fff;
  font:
    400 32px / 1 Georgia,
    serif;
  letter-spacing: -0.065em;
}
.brand strong span {
  color: #83a9f3;
  font-weight: 500;
}
.brand small {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  letter-spacing: 2.2px;
  color: #92a6ba;
  font-weight: 700;
}
.rail-label {
  font-size: 9px;
  letter-spacing: 1.7px;
  font-weight: 700;
  color: #7e95ac;
  padding: 0 13px 12px;
}
.sidebar nav {
  display: grid;
  gap: 5px;
}
.sidebar nav a {
  display: flex;
  gap: 13px;
  align-items: center;
  text-decoration: none;
  padding: 13px 14px;
  border-radius: 9px;
  color: #aabdd0;
  font-size: 13px;
}
.sidebar nav a span {
  width: 18px;
  font-size: 17px;
  text-align: center;
  color: #8da6c0;
}
.sidebar nav a:hover,
.sidebar nav a.active {
  background: #ffffff12;
  color: white;
}
.sidebar nav a.active {
  box-shadow: inset 2px 0 #7faaff;
}
.sidebar-bottom {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  border-top: 1px solid #ffffff1c;
  padding: 22px 5px 0;
}
.side-mark {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 11px;
  background: #ffffff14;
  color: #a9c7ff;
  font-size: 18px;
}
.sidebar-bottom strong {
  font-size: 12px;
  color: #edf4fc;
}
.sidebar-bottom p {
  font-size: 10px;
  color: #94a8bb;
  margin-top: 5px;
}
.main {
  min-width: 0;
  padding: 0 clamp(24px, 4vw, 64px) 35px;
}
.topbar {
  height: 79px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 15px;
}
.crumb {
  font-size: 11px;
  color: var(--muted);
}
.crumb span {
  padding: 0 9px;
  color: #c2cbd1;
}
.top-status,
.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: #456a5d;
  font-size: 11px;
  font-weight: 650;
}
.dot,
.status-tag span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #70a58c;
}
.preview-banner {
  margin-top: 18px;
  background: #eaf0e9;
  color: #355645;
  border: 1px solid #c5d4c8;
  padding: 11px 14px;
  border-radius: 9px;
  font-size: 11px;
  line-height: 1.5;
}
.preview-banner strong {
  color: #274a80;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  padding: 41px 0 27px;
}
.eyebrow,
.card-overline {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.65px;
  color: #4b6658;
}
.page-heading h1,
.section-heading h2,
.section-heading h1,
.hero h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -1.35px;
}
.page-heading h1 {
  font-size: 40px;
  margin: 10px 0 9px;
  line-height: 1.1;
}
.page-heading p,
.section-heading p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.date-pill {
  border: 1px solid #dfe5e9;
  background: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  color: #66798a;
  font-size: 11px;
  white-space: nowrap;
}
.date-pill span {
  color: #7395cc;
  margin-left: 9px;
}
.hero {
  position: relative;
  isolation: isolate;
  min-height: 234px;
  border-radius: 19px;
  background: #183554;
  overflow: hidden;
  color: #fff;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 34px 39px 31px;
  max-width: 600px;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  letter-spacing: 1.7px;
  font-weight: 700;
  color: #bfd2eb;
}
.hero-kicker span {
  width: 6px;
  height: 6px;
  background: #a0d0bc;
  border-radius: 50%;
}
.hero h2 {
  font-size: 34px;
  line-height: 1.2;
  margin: 14px 0 11px;
}
.hero h2 em {
  font-weight: 400;
  color: #d1e0f5;
}
.hero p {
  font-size: 12px;
  color: #c1d1df;
  line-height: 1.7;
}
.hero-link {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  margin-top: 19px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 650;
  color: #fff;
  border-bottom: 1px solid #b9d2f5;
  padding-bottom: 5px;
}
.hero-art {
  position: absolute;
  inset: 0 0 0 42%;
  z-index: 0;
  background:
    linear-gradient(90deg, #183554 0%, #18355473 48%, #18355412),
    url("/ops/brand/blue-hour-ribbon.png") center 55% / cover no-repeat;
  opacity: 0.8;
}
.section {
  padding-top: 46px;
  scroll-margin-top: 20px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.section-heading h2,
.section-heading h1 {
  font-size: 28px;
  line-height: 1.2;
  margin-top: 8px;
}
.section-heading p {
  margin-top: 7px;
}
.section-caption {
  font-size: 11px;
  color: #8a98a3;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.metric,
.card,
.measure-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 4px 18px #1d375008;
}
.metric {
  padding: 19px 19px 17px;
  min-height: 174px;
}
.metric-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 10px;
  font-size: 16px;
  margin-bottom: 16px;
}
.metric-icon.blue {
  color: #3c6fc4;
  background: #edf3fd;
}
.metric-icon.sand {
  color: #a17d4a;
  background: #f8f1e5;
}
.metric-icon.green {
  color: #578775;
  background: #eaf3ed;
}
.metric-icon.violet {
  color: #8271a9;
  background: #f0eef8;
}
.metric-label {
  font-size: 11px;
  font-weight: 650;
  color: #5a6c7a;
}
.metric strong {
  display: block;
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 27px;
  margin: 5px 0;
  color: #a4b0b9;
}
.metric p {
  font-size: 12px;
  color: #84939d;
  line-height: 1.55;
  min-height: 30px;
}
.source-status {
  display: inline-block;
  margin-top: 10px;
  color: #9a8051;
  font-size: 11px;
}
.status-tag {
  font-size: 9px;
  letter-spacing: 1px;
  background: #edf5ef;
  border: 1px solid #dcebe0;
  border-radius: 20px;
  padding: 9px 11px;
}
.invite-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.75fr);
  gap: 16px;
  align-items: start;
}
.invite-card {
  padding: 26px 28px;
}
.card-heading,
.review-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: start;
  margin-bottom: 24px;
}
.card-heading h3,
.review-heading h3,
.journey-card h3 {
  font-size: 17px;
  letter-spacing: -0.35px;
  margin-top: 7px;
}
.card-heading p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
}
.card-number,
.card-overline {
  font-size: 10px;
  letter-spacing: 1.3px;
  font-weight: 700;
  color: #8498b2;
}
.card-symbol {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: #eef4ff;
  color: #4b75be;
  border-radius: 12px;
  font-size: 18px;
}
form label,
fieldset legend {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #42566a;
  margin: 0 0 8px;
}
form > input {
  width: 100%;
  height: 47px;
  border: 1px solid #dce3e8;
  border-radius: 9px;
  background: #fefefe;
  color: var(--ink);
  padding: 0 13px;
  margin-bottom: 20px;
}
form > input::placeholder {
  color: #a5b1bb;
}
form > input:focus {
  border-color: #7fa4e8;
  outline: 3px solid #e7effd;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 20px;
  min-width: 0;
}
fieldset legend {
  margin-bottom: 10px;
}
.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.channel {
  margin: 0;
  position: relative;
  cursor: pointer;
}
.channel input {
  position: absolute;
  opacity: 0;
}
.channel-card {
  display: flex;
  flex-direction: column;
  min-height: 92px;
  padding: 12px;
  border: 1px solid #e3e8ec;
  border-radius: 10px;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.channel-card b {
  font-size: 17px;
  font-weight: 400;
  color: #8294a3;
}
.channel-card strong {
  font-size: 11px;
  margin-top: 9px;
}
.channel-card small {
  font-size: 11px;
  color: #8c9aa5;
  margin-top: 4px;
}
.channel input:checked + .channel-card {
  border-color: #88a9e8;
  background: #f4f8ff;
  box-shadow: 0 0 0 1px #b6cdf4;
}
.channel input:focus-visible + .channel-card {
  outline: 3px solid #77a4f5;
  outline-offset: 3px;
}
.field-help {
  font-size: 11px;
  color: #8998a5;
  line-height: 1.6;
  margin: -11px 0 18px;
}
.form-error {
  color: #a33c32;
  font-size: 12px;
  margin: 0 0 15px;
  line-height: 1.5;
}
.primary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 46px;
  padding: 0 19px;
  border: 0;
  border-radius: 9px;
  background: #243a30;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.primary-button:hover {
  background: #172b23;
}
.primary-button:disabled {
  opacity: 0.5;
  cursor: default;
}
.primary-button span {
  font-size: 17px;
}
.review {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.review-heading {
  align-items: center;
  margin-bottom: 16px;
}
.text-action {
  border: 0;
  background: none;
  color: var(--blue);
  font-size: 11px;
  text-decoration: underline;
}
.text-action:disabled {
  color: #8998a5;
  text-decoration: none;
  cursor: not-allowed;
}
.review dl {
  margin: 0;
}
.review dl div {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #eef0f2;
}
.review dt {
  font-size: 9px;
  letter-spacing: 1px;
  color: #8797a5;
}
.review dd {
  margin: 0;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.review-note {
  font-size: 11px;
  color: #6d7e8b;
  line-height: 1.6;
  margin: 15px 0;
}
.result {
  padding: 14px 16px;
  border-radius: 10px;
  background: #edf6f0;
  color: #3c7159;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 16px;
}
.invite-aside {
  display: grid;
  gap: 15px;
}
.journey-card {
  padding: 26px;
}
.journey-card h3 {
  font-family: Georgia, serif;
  font-size: 23px;
  font-weight: 400;
  margin: 10px 0 22px;
}
.journey-card ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}
.journey-card li {
  display: flex;
  gap: 12px;
}
.journey-card li > span {
  display: grid;
  place-items: center;
  flex: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #eef3fb;
  color: #557ab5;
  font-size: 10px;
  font-weight: 700;
}
.journey-card li strong {
  font-size: 11px;
}
.journey-card li p {
  font-size: 11px;
  color: #8796a2;
  line-height: 1.6;
  margin-top: 4px;
}
.quiet-note {
  display: flex;
  gap: 13px;
  padding: 15px 17px;
  color: #718293;
  font-size: 11px;
  line-height: 1.6;
}
.quiet-note > span {
  font-size: 20px;
  color: #83a2c7;
}
.quiet-note strong {
  color: #526c83;
}
.measure-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.measure-grid article {
  padding: 20px;
}
.measure-grid article > span {
  font-size: 10px;
  color: #8da2b7;
  letter-spacing: 1px;
}
.measure-grid h3 {
  font-size: 12px;
  margin: 13px 0 8px;
}
.measure-grid p {
  font-size: 11px;
  color: #8695a1;
  line-height: 1.7;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #91a0ac;
}
footer span {
  font-weight: 400;
  letter-spacing: 0;
}
.next-invitation {
  display: block;
  margin-top: 15px;
  padding: 5px 0;
}
@media (max-width: 1050px) {
  .metric-grid,
  .measure-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .invite-layout {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.8fr);
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: static;
    height: auto;
    padding: 15px 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
  .brand {
    padding: 0;
    margin-right: auto;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .brand strong {
    font-size: 17px;
  }
  .brand small {
    font-size: 8px;
  }
  .rail-label,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    display: flex;
    gap: 3px;
  }
  .sidebar nav a {
    padding: 8px;
    font-size: 11px;
  }
  .sidebar nav a span {
    display: none;
  }
  .main {
    padding: 0 20px 30px;
  }
  .topbar {
    height: 60px;
  }
  .page-heading {
    padding: 29px 0 22px;
  }
  .page-heading h1 {
    font-size: 34px;
  }
  .date-pill {
    display: none;
  }
  .hero {
    min-height: 220px;
  }
  .hero-copy {
    padding: 29px;
  }
  .hero h2 {
    font-size: 30px;
  }
  .hero-art {
    inset: 0 0 0 25%;
    opacity: 0.55;
  }
  .section {
    padding-top: 35px;
  }
  .section-heading {
    align-items: start;
  }
  .section-heading h2,
  .section-heading h1 {
    font-size: 25px;
  }
  .section-caption {
    display: none;
  }
  .invite-layout {
    grid-template-columns: 1fr;
  }
  .invite-card {
    padding: 22px;
  }
  .journey-card {
    padding: 22px;
  }
  .journey-card ol {
    grid-template-columns: 1fr 1fr;
    display: grid;
  }
  .quiet-note {
    padding: 3px 5px;
  }
  .measure-grid article {
    padding: 17px;
  }
}
@media (max-width: 420px) {
  .sidebar {
    flex-wrap: wrap;
    gap: 8px;
  }
  .sidebar nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .sidebar nav a {
    min-height: 44px;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
  }

  .sidebar nav a {
    font-size: 10px;
    padding: 7px;
  }
  .brand strong {
    font-size: 15px;
  }
  .brand img {
    width: 26px;
    height: 26px;
  }
  .sidebar {
    padding: 13px 14px;
    gap: 8px;
  }
  .main {
    padding-left: 15px;
    padding-right: 15px;
  }
  .crumb {
    font-size: 10px;
  }
  .top-status {
    font-size: 10px;
  }
  .page-heading h1 {
    font-size: 31px;
  }
  .hero-copy {
    padding: 26px 23px;
  }
  .hero h2 {
    font-size: 27px;
  }
  .metric-grid,
  .measure-grid {
    gap: 9px;
  }
  .metric {
    padding: 15px;
    min-height: 165px;
  }
  .channel-grid {
    gap: 6px;
  }
  .channel-card {
    padding: 10px;
    min-height: 88px;
  }
  .channel-card small {
    font-size: 10px;
  }
  .journey-card ol {
    grid-template-columns: 1fr;
  }
  .review dl div {
    grid-template-columns: 90px 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
/* Pulse details use native dialog focus handling and Escape dismissal. */
.pulse-open {
  margin-top: 14px;
}
#pulse-details {
  width: min(600px, calc(100vw - 32px));
  max-height: 85vh;
  overflow: auto;
  box-sizing: border-box;
  border: 1px solid #d7dce2;
  border-radius: 20px;
  padding: 28px;
  color: #203145;
  background: #fff;
}
#pulse-details::backdrop {
  background: #17233580;
}
#pulse-detail-source,
#pulse-detail-period,
#pulse-detail-status {
  overflow-wrap: anywhere;
  font-size: 14px;
}
#bulk-invitations summary {
  cursor: pointer;
  font-weight: 650;
}
#bulk-invitations label,
#bulk-people,
#bulk-file {
  display: block;
  margin-block: 0.75rem 0.25rem;
}
#bulk-people {
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
  font: inherit;
  padding: 0.7rem;
}
#bulk-invitations .field-help {
  margin: 0.35rem 0 0.8rem;
  color: var(--muted);
  font-size: 0.8rem;
}
#bulk-invitations .field-help:empty,
#bulk-rows:empty {
  display: none;
}
#bulk-status {
  white-space: pre-line;
}
#bulk-rows small {
  overflow-wrap: anywhere;
}

.invitation-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.invitation-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--white);
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}
.invitation-nav a:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.invitation-section [id] {
  scroll-margin-top: 20px;
}
.test-card {
  padding: clamp(1rem, 3vw, 1.75rem);
}
.test-card summary {
  cursor: pointer;
  font-weight: 650;
}
.test-body {
  margin-top: 1rem;
}
.test-card ol {
  padding-inline-start: 1.4rem;
}
.test-card li + li {
  margin-top: 0.6rem;
}
.test-card fieldset {
  margin-top: 1.25rem;
}
.test-check {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin: 0.65rem 0;
}
.test-check input {
  width: auto;
  flex: 0 0 auto;
}
.account-controls {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 16px;
  margin: 20px 0;
}
.account-controls label {
  display: grid;
  gap: 7px;
  flex: 1;
  min-width: 200px;
  font-size: 14px;
}
.account-controls input,
.account-controls select {
  min-height: 46px;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  font: inherit;
}
.account-table-wrap {
  overflow: auto;
  margin: 18px 0;
}
.account-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.account-table th,
.account-table td {
  padding: 15px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 14px;
}
.account-table th {
  font-weight: 600;
  color: var(--muted);
}
.account-table td:last-child {
  min-width: 140px;
}
.account-table .text-action {
  display: block;
  margin-bottom: 8px;
}
#account-waitlist {
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}
#account-revoke {
  max-width: 520px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
  color: var(--ink);
}
#account-revoke::backdrop {
  background: #132b4980;
}
#revoke-error {
  color: #a42d28;
}
@font-face {
  font-family: Figtree;
  src: url("/ops/brand/figtree.ttf") format("truetype");
  font-weight: 400 800;
  font-display: swap;
}
#invitation-cohorts,
#invitations {
  --surface: #fffefa;
  --rule: #d8dbd2;
  --sea: #165a68;
  font-family: Figtree, "Avenir Next", "Segoe UI", sans-serif;
}
.invitation-banner {
  margin-bottom: 16px;
  padding: clamp(26px, 4vw, 48px);
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 20px;
  color: #fffefa;
  background:
    linear-gradient(90deg, #031431 12%, #031431d9 45%, #03143100 82%),
    url("/ops/brand/blue-hour-ribbon.png") right 55% / cover no-repeat,
    #031431;
}
.invitation-banner h1,
.invitation-banner h2 {
  font:
    400 clamp(34px, 4vw, 52px) / 1.05 Georgia,
    "Times New Roman",
    serif;
  letter-spacing: -0.035em;
}
.invitation-banner p {
  max-width: 36ch;
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: #e2ebf6;
}
#invitations .invite-card,
.cohort-breakdown {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 18px;
  box-shadow: 0 5px 20px #152e3c07;
}
#invitations #invite-source,
#invitations #invite-member,
#cohort-week,
#cohort-source {
  font:
    600 14px / 1.35 Figtree,
    "Segoe UI",
    sans-serif;
  min-height: 44px;
  padding: 10px 14px;
  max-width: 100%;
  background: #fff;
  color: var(--ink);
  border: 1px solid #c8d1df;
  border-radius: 12px;
}
#invitations #invite-source,
#invitations #invite-member {
  width: 100%;
  margin-bottom: 16px;
}
#referrer-field label {
  display: block;
  font-weight: 650;
  margin-bottom: 8px;
}
#referrer-field p:not(:empty) {
  color: #8c4b24;
  margin: 0 0 12px;
}
#invitations .primary-button {
  border-radius: 999px;
}
.cohort-updated {
  color: #586775;
  font-size: 12px;
  margin-bottom: 22px;
}
.cohort-period,
.cohort-breakdown-heading {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.cohort-period h3,
.cohort-breakdown-heading h3 {
  font:
    400 24px / 1.15 Georgia,
    "Times New Roman",
    serif;
  letter-spacing: -0.025em;
}
.cohort-period p {
  color: #586775;
  font-size: 13px;
  margin-top: 5px;
}
.cohort-period label,
.cohort-source-filter {
  font-size: 12px;
  font-weight: 650;
  color: #46586a;
}
.cohort-period select,
.cohort-source-filter select {
  margin-left: 8px;
}
.cohort-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 22px;
}
.cohort-summary div {
  padding: 16px 20px;
  border: 1px solid var(--rule);
  border-radius: 15px;
  background: var(--surface);
}
.cohort-summary div:last-child {
  background: #edf4f3;
  border-color: #c7ddda;
}
.cohort-summary dt {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: #435563;
}
.cohort-summary dd {
  margin: 8px 0 0;
  font:
    400 32px / 1.05 Georgia,
    serif;
  color: var(--ink);
}
.cohort-summary div:last-child dd {
  color: var(--sea);
}
.cohort-breakdown {
  overflow: hidden;
}
.cohort-breakdown-heading {
  padding: 18px 20px;
}
.cohort-definitions {
  border-top: 1px solid var(--rule);
  padding: 12px 20px;
  font-size: 13px;
  line-height: 1.6;
}
.cohort-definitions summary {
  cursor: pointer;
  color: var(--sea);
  font-weight: 650;
}
.cohort-definitions p {
  color: #46586a;
  max-width: 82ch;
  margin-top: 8px;
}
.cohort-source-filter {
  display: none;
}
@media (max-width: 600px) {
  .cohort-source-filter {
    display: block;
    margin: 8px 0;
  }
  .cohort-table tr > :nth-child(n + 2) {
    display: none;
  }
  .cohort-table[data-focus="founder"] tr > :nth-child(2),
  .cohort-table[data-focus="member"] tr > :nth-child(3),
  .cohort-table[data-focus="direct"] tr > :nth-child(4),
  .cohort-table[data-focus="unknown"] tr > :nth-child(5) {
    display: table-cell;
  }
}
.cohort-scroll {
  max-width: 100%;
  overflow-x: auto;
}
.cohort-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.cohort-table th,
.cohort-table td {
  padding: 9px 12px;
  text-align: right;
  border-bottom: 1px solid var(--rule);
}
.cohort-table thead th {
  background: #eff2ee;
  color: #435563;
  font-size: 12px;
}
.cohort-table tbody th {
  font-weight: 500;
}
.cohort-table tr:last-child > * {
  border-bottom: 0;
}
.cohort-table tr[data-count="returned"] {
  background: #edf4f3;
  color: var(--sea);
}
.cohort-table tr[data-count="returned"] > * {
  font-weight: 700;
}
.cohort-table th:first-child {
  text-align: left;
  padding-left: 20px;
}
.cohort-table tr > :last-child {
  padding-right: 20px;
}
@media (max-width: 600px) {
  .invitation-banner {
    min-height: 140px;
    padding: 24px 20px;
    background-position:
      center,
      right center;
  }
  .invitation-banner p {
    max-width: 25ch;
    font-size: 14px;
  }
  .cohort-period {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .cohort-summary {
    gap: 6px;
  }
  .cohort-summary div {
    padding: 12px 9px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .cohort-summary dt {
    font-size: 12px;
  }
  .cohort-summary dd {
    font-size: 25px;
  }
  .cohort-breakdown-heading {
    padding: 14px;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .cohort-table th:first-child {
    padding-left: 14px;
  }
  .cohort-definitions {
    padding: 12px 14px;
  }
}
@media (max-width: 600px) {
  .account-controls {
    align-items: stretch;
  }
  .account-controls label,
  .account-controls > button {
    flex-basis: 100%;
  }
  .account-table th,
  .account-table td {
    padding: 12px 8px;
  }
}

.invite-dashboard {
  margin-block: 1.25rem;
  padding: clamp(1rem, 3vw, 2rem);
}
.dashboard-head,
.dashboard-tools,
.chart-axis {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.dashboard-head h2,
.dashboard-panels h3,
.dashboard-activity h3 {
  margin: 0;
}
.dashboard-tools select {
  width: auto;
}
.dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
  gap: 1rem;
  margin: 1.2rem 0;
}
.dashboard-kpis > div {
  padding: 0.8rem;
  background: #f0f5f7;
  border-radius: 0.5rem;
}
.dashboard-kpis strong,
.dashboard-kpis span {
  display: block;
}
.dashboard-kpis span,
.chart-axis,
.dashboard-panels dt,
.invite-timeline dt {
  font-size: 0.85rem;
}
.dashboard-kpis strong {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-variant-numeric: tabular-nums;
  color: #173d51;
}
.dashboard-chart {
  margin: 0.8rem 0;
}
.dashboard-chart svg {
  width: 100%;
  height: 7rem;
  display: block;
  border-bottom: 1px solid #8ba0a9;
}
.dashboard-chart .issued {
  fill: #a0b9d1;
}
.dashboard-chart .activated {
  fill: #167460;
}
.chart-key {
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  background: #a0b9d1;
  border-radius: 2px;
}
.chart-key.activated {
  background: #167460;
}
.chart-axis {
  margin-top: 0.35rem;
}
.dashboard-activity details {
  max-height: 18rem;
  overflow: auto;
}
.dashboard-activity table {
  width: 100%;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.dashboard-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 1.5rem;
  margin-top: 1.4rem;
}
.dashboard-panels dl,
.invite-timeline dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 0.8rem;
  margin: 0.6rem 0;
}
.dashboard-panels dd,
.invite-timeline dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.invite-timeline {
  margin-top: 0.5rem;
}
.invite-timeline summary,
.dashboard-activity summary {
  cursor: pointer;
  font-size: 0.88rem;
}
.invite-timeline dd {
  overflow-wrap: anywhere;
}
@media (max-width: 540px) {
  .invite-timeline dl {
    grid-template-columns: 1fr;
  }
  .invite-timeline dd {
    margin-bottom: 0.35rem;
  }
}

#connector-history-dialog {
  width: min(38rem, 90vw);
  max-height: 80vh;
  padding: 1.5rem;
  border: 1px solid #9eafb7;
  border-radius: 0.7rem;
  color: #173d51;
}
#connector-history-dialog::backdrop {
  background: rgb(16 37 51 / 45%);
}
#connector-history-dialog form {
  float: right;
}
#history-events {
  padding-inline-start: 1.5rem;
}
#history-events li {
  padding-block: 0.4rem;
  font-variant-numeric: tabular-nums;
}
