@font-face {
  font-family: Geist Pixel;
  src: url('/assets/GeistPixel-Square.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('/fonts/SpaceGrotesk-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('/fonts/SpaceGrotesk-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('/fonts/SpaceGrotesk-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('/fonts/SpaceGrotesk-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #050505;
  --text: #fafafa;
  --muted: #a1a1aa;
  --subtle: #71717a;
  --line: rgba(255, 255, 255, 0.1);
  --green: #41e1b0;
  --yellow: #ffff64;
  --red: #ff7a7a;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--bg);
  font-family:
    'Space Grotesk',
    -apple-system,
    sans-serif;
  color: var(--text);
}
body {
  margin: 0;
  min-height: 100vh;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
.wrap {
  max-width: 1020px;
  margin: auto;
  padding: 0 24px;
}
.nav {
  border-bottom: 1px solid var(--line);
  background: #090909;
}
.nav-inner {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.brand {
  font:
    700 20px 'Geist Pixel',
    monospace;
  color: var(--text);
  text-decoration: none;
}
.brand span,
.green,
h1 span {
  color: var(--green);
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
nav a,
.link {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  background: none;
  border: 0;
}
nav a:hover,
.link:hover {
  color: var(--green);
}
main.wrap {
  padding-top: 62px;
  padding-bottom: 72px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--green);
  display: flex;
  gap: 10px;
  align-items: center;
}
.dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
}
h1 {
  font:
    700 clamp(38px, 6vw, 62px) / 1.12 'Geist Pixel',
    monospace;
  letter-spacing: -0.03em;
  margin: 18px 0 20px;
}
.lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 760px;
  margin-bottom: 36px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  padding: 30px;
  margin: 18px 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
}
.section-head > div {
  min-width: 0;
}
.section-head > button {
  flex: none;
  white-space: nowrap;
}
.section-head h2 {
  font:
    700 24px 'Geist Pixel',
    monospace;
  margin: 0 0 8px;
}
.section-head p {
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.form-row {
  margin: 0;
}
.form-row label {
  font-size: 13px;
  font-weight: 700;
  display: block;
  margin-bottom: 9px;
}
.fields {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.fields input,
.fields select {
  min-height: 44px;
  min-width: 180px;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111;
  color: var(--text);
  padding: 10px 13px;
}
.fields input:focus,
.fields select:focus {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  transition:
    filter 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
.primary:focus-visible,
.secondary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.primary {
  background: var(--green);
  color: #050505;
  border: 1px solid var(--green);
}
.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid #52525b;
}
.primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 24px rgba(65, 225, 176, 0.3);
}
.secondary:hover {
  border-color: #a1a1aa;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
.hint {
  font-size: 13px;
  line-height: 1.55;
  color: var(--subtle);
  margin-top: 12px;
}
.hint a {
  color: var(--green);
}
.account-strip {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  margin: 0 0 18px;
}
.account-strip strong {
  color: var(--text);
}
.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  background: #0d0d0d;
}
.plan.best {
  border-color: rgba(65, 225, 176, 0.5);
  background: rgba(65, 225, 176, 0.05);
}
.save {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--green);
  color: #050505;
  font-size: 11px;
  font-weight: 700;
  vertical-align: 1px;
}
.plan-detail {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--subtle);
}
.plan h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 6px;
}
.price {
  font:
    700 26px 'Geist Pixel',
    monospace;
  margin: 0;
}
.price span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}
.plan button {
  flex: none;
}
.subcard {
  margin: 18px 0 0;
  padding: 18px;
  border: 1px solid rgba(65, 225, 176, 0.3);
  border-radius: 12px;
}
.subcard h3 {
  margin: 0 0 6px;
}
.subcard p {
  color: var(--muted);
  margin: 0 0 15px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 0;
}
.notice {
  border: 1px solid rgba(65, 225, 176, 0.4);
  background: rgba(65, 225, 176, 0.08);
  border-radius: 9px;
  padding: 14px 16px;
  margin: 20px 0;
  color: var(--text);
  line-height: 1.5;
}
.notice.error {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.08);
}
.key-box {
  margin: 0 0 18px;
  border: 1px solid rgba(65, 225, 176, 0.4);
  border-radius: 12px;
  padding: 18px;
}
.key-box p {
  margin: 0 0 12px;
}
.key-box code {
  display: block;
  flex: 1;
  min-width: 150px;
  overflow-wrap: anywhere;
  color: var(--green);
  font-size: 14px;
}
.key-list {
  margin: 0;
}
.key-item {
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.key-item p {
  margin: 4px 0 0;
  color: var(--subtle);
  font-size: 12px;
}
.key-item button {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: none;
  color: var(--muted);
  font-size: 13px;
  padding: 7px 12px;
}
.key-item button:hover {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.5);
}
[hidden] {
  display: none !important;
}
body.is-signed-in h1 {
  font-size: clamp(32px, 4.4vw, 46px);
  margin-bottom: 10px;
}
body.is-signed-in .lede {
  margin-bottom: 28px;
}
.overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 30px;
}
.tile {
  display: block;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.025);
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.tile:hover {
  border-color: rgba(65, 225, 176, 0.4);
  background: rgba(65, 225, 176, 0.04);
}
.tile-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--subtle);
}
.tile strong {
  display: block;
  font:
    700 22px 'Geist Pixel',
    monospace;
  margin: 9px 0 4px;
}
.tile-meta {
  font-size: 13px;
  color: var(--muted);
}
.tile.ok strong {
  color: var(--green);
}
.tile.warn strong {
  color: var(--text);
}
.next-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(65, 225, 176, 0.45);
  background: #0c1a15;
  border-radius: 14px;
  padding: 18px 20px;
  margin: 0 0 14px;
}
.next-step.done {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.next-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--green);
}
.next-step strong {
  display: block;
  font-size: 17px;
  margin: 5px 0 3px;
}
.next-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.next-step a.primary {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
  flex: none;
}
.pill {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  white-space: nowrap;
}
.pill.ok {
  color: var(--green);
  border-color: rgba(65, 225, 176, 0.4);
  background: rgba(65, 225, 176, 0.08);
}
.pill.warn {
  color: var(--red);
  border-color: rgba(255, 122, 122, 0.45);
  background: rgba(255, 122, 122, 0.08);
}
.key-item strong {
  font-size: 15px;
}
.key-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.key-meta span {
  color: var(--subtle);
  font-size: 12px;
}
.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: #0b0b0b;
  margin-bottom: 18px;
}
.panel h3 {
  margin: 0 0 18px;
  font-size: 16px;
}
.field {
  margin: 0 0 16px;
  border: 0;
  padding: 0;
  min-width: 0;
}
.field-label {
  font-size: 13px;
  font-weight: 700;
  display: block;
  margin: 0 0 8px;
  padding: 0;
}
.field .hint {
  margin-top: 8px;
}
.field input:not([type='radio']):not([type='checkbox']),
.field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111;
  color: var(--text);
  padding: 10px 13px;
}
.field input:focus,
.field select:focus {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.field-error {
  margin: 8px 0 0;
  color: #ff8b8b;
  font-size: 13px;
  line-height: 1.5;
}
.choice .field-error {
  grid-column: 1/-1;
}
.fields input[aria-invalid='true'],
.field input:not([type='radio']):not([type='checkbox'])[aria-invalid='true'],
.field select[aria-invalid='true'] {
  border-color: #ef4444;
}
.choice[aria-invalid='true'] label {
  border-color: rgba(239, 68, 68, 0.5);
}
.grid2 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
}
.choice label code {
  font-size: 10px;
  line-height: 1.5;
  color: var(--subtle);
  overflow-wrap: anywhere;
}
.choice label:has(input:disabled) {
  opacity: 0.5;
  cursor: not-allowed;
}
.choice {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.choice legend {
  grid-column: 1/-1;
}
.choice label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.choice label:has(input:checked) {
  border-color: var(--green);
  background: rgba(65, 225, 176, 0.06);
}
.choice input {
  flex: none;
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  margin: 2px 0 0;
}
.choice label > span {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.choice label > span > span {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.choice em {
  font-style: normal;
  color: var(--yellow);
}
.panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.panel-foot .hint {
  margin: 0;
  max-width: 440px;
}
.panel-foot .actions {
  margin: 0;
}
.empty {
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 20px;
}
.empty strong {
  display: block;
  margin-bottom: 6px;
}
.empty p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}
#tone {
  max-width: 140px;
  flex: none;
}
.number-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--muted);
}
.number-row strong {
  font:
    700 20px 'Geist Pixel',
    monospace;
  color: var(--text);
}
@media (max-width: 700px) {
  .overview {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .tile {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    padding: 12px 14px;
  }
  .tile strong {
    font-size: 17px;
    margin: 0;
  }
  .tile-label {
    min-width: 92px;
  }
  .next-step {
    flex-direction: column;
    align-items: stretch;
  }
  .next-step a.primary {
    justify-content: center;
  }
  .grid2,
  .choice {
    grid-template-columns: 1fr;
  }
  .section-head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0 12px;
  }
  .section-head > div {
    display: contents;
  }
  .section-head h2 {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
  }
  .section-head p {
    grid-column: 1/-1;
    grid-row: 2;
    margin-top: 10px;
  }
  .section-head > .pill,
  .section-head > button {
    grid-column: 2;
    grid-row: 1;
  }
  .panel {
    padding: 16px;
  }
  .plan {
    flex-direction: column;
    align-items: stretch;
  }
  .plan button {
    width: 100%;
  }
}
@media (max-width: 700px) {
  .wrap {
    padding-left: 18px;
    padding-right: 18px;
  }
  main.wrap {
    padding-top: 40px;
  }
  .card {
    padding: 20px;
  }
  .section-head {
    gap: 10px;
  }
  .section-head h2 {
    font-size: 20px;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  nav {
    gap: 12px;
  }
  nav a {
    font-size: 12px;
  }
  .fields input,
  .fields select,
  .fields button {
    width: 100%;
  }
  .lede {
    font-size: 16px;
  }
}
.setup-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  background: #0b0b0b;
  margin-top: 12px;
}
.setup-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.setup-card h3 {
  margin: 0;
  font-size: 16px;
}
.setup-card .desc {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.setup-card .field {
  margin: 16px 0 0;
}
.value-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 12px 14px 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}
.big-number {
  font:
    700 22px 'Geist Pixel',
    monospace;
  letter-spacing: 0.01em;
}
.inline-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}
.inline-actions .link {
  padding: 0;
  font-size: 13px;
}
.inline-actions [hidden] {
  display: none;
}
.tone-fields {
  flex-wrap: nowrap;
}
.tone-fields input {
  flex: 0 0 120px !important;
  min-width: 0 !important;
  width: 120px !important;
}
.tone-fields button {
  width: auto !important;
  flex: none;
}
@media (max-width: 700px) {
  .setup-card {
    padding: 16px;
  }
  .big-number {
    font-size: 19px;
  }
  .value-row {
    padding: 10px 12px;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.value-row {
  flex-wrap: nowrap;
}
.big-number {
  min-width: 0;
  overflow-wrap: anywhere;
}
.inline-status {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(65, 225, 176, 0.35);
  border-radius: 8px;
  background: rgba(65, 225, 176, 0.08);
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
  transition: opacity 0.4s;
}
.inline-status::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
}
.inline-status.error {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.08);
}
.inline-status.error::before {
  content: '!';
  color: #ff8b8b;
}
.inline-status.fading {
  opacity: 0;
}
.section-head p a {
  color: var(--green);
}
@keyframes spotlight {
  0%,
  55% {
    border-color: var(--green);
    box-shadow:
      0 0 0 3px rgba(65, 225, 176, 0.28),
      0 0 28px rgba(65, 225, 176, 0.18);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(65, 225, 176, 0);
  }
}
.spotlight {
  animation: spotlight 2.6s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .spotlight {
    animation-duration: 2.6s;
    animation-timing-function: steps(1, end);
  }
}
.card,
.setup-card,
.panel {
  scroll-margin-top: 16px;
}

.overview > .tile {
  min-width: 0;
}
.tile-body {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 9px;
  min-width: 0;
}
.tile .tile-body strong {
  margin: 0;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.overview {
  grid-template-columns: 1fr 1fr 1.35fr;
}
@media (max-width: 700px) {
  .overview {
    grid-template-columns: 1fr;
  }
  .overview > .tile {
    display: block;
    padding: 12px 14px;
  }
  .tile-body {
    margin-top: 6px;
  }
  .tile .tile-body strong {
    font-size: 18px;
  }
}
.tile-body .pill {
  align-self: center;
}
.panel-foot .actions {
  margin-left: auto;
}
/* Small secondary actions share the Revoke button size. */
#show-key-form,
.value-row button {
  min-height: 0;
  padding: 7px 12px;
  font-size: 13px;
  border-radius: 7px;
}
.big-number.placeholder {
  font:
    500 15px 'Space Grotesk',
    sans-serif;
  color: var(--muted);
  letter-spacing: 0;
}
/* Sign-in: the email field turns into the code field in place. */
#mode-copy {
  overflow-wrap: anywhere;
}
#mode-copy strong {
  color: var(--text);
  font-weight: 600;
}
#login-field[autocomplete='one-time-code'] {
  letter-spacing: 0.12em;
}
@keyframes morph-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.morph {
  animation: morph-in 0.24s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .morph {
    animation: none;
  }
}
#login-code-extra .hint {
  margin-bottom: 0;
}
/* Key list: every key type, with the type label beside the name. */
.key-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}
.key-head strong {
  overflow-wrap: anywhere;
}
.key-item > div {
  min-width: 0;
}
.key-item > button {
  flex: none;
}
.key-type {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.key-current .key-head strong {
  color: var(--green);
}
.key-prefix {
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.key-list-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}
.key-list-foot [hidden] {
  display: none;
}
.danger {
  min-height: 36px;
  padding: 7px 14px;
  border-radius: 7px;
  border: 1px solid rgba(239, 68, 68, 0.5);
  background: none;
  color: #ff8b8b;
  font-size: 13px;
  font-weight: 600;
}
.danger:hover {
  background: rgba(239, 68, 68, 0.08);
}
.danger:focus-visible {
  outline: 2px solid #ff8b8b;
  outline-offset: 2px;
}
@media (max-width: 700px) {
  .key-item {
    align-items: flex-start;
  }
  .key-list-foot {
    justify-content: stretch;
  }
  .key-list-foot .danger {
    width: 100%;
    min-height: 44px;
  }
}
.key-item p.key-dates {
  margin: 6px 0 0;
  line-height: 1.5;
}
/* Webhooks: endpoint rows reuse the key list, with two actions per row. */
#show-webhook-form {
  min-height: 0;
  padding: 7px 12px;
  font-size: 13px;
  border-radius: 7px;
}
#show-webhook-form:disabled {
  cursor: not-allowed;
}
.choice.choice-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.row-actions {
  display: flex;
  gap: 8px;
  flex: none;
}
.key-item button.test:hover {
  color: var(--green);
  border-color: rgba(65, 225, 176, 0.5);
}
.key-box .hint code {
  display: inline;
  color: var(--muted);
  font-size: 12px;
}
#webhook-loading {
  margin: 0;
}
@media (max-width: 700px) {
  .choice.choice-2 {
    grid-template-columns: 1fr;
  }
  .webhook-item {
    flex-direction: column;
    align-items: stretch;
  }
  .webhook-item .row-actions button {
    flex: 1;
    min-height: 40px;
  }
}
.account-foot {
  display: flex;
  justify-content: center;
  margin: 36px 0 0;
}
@media (max-width: 700px) {
  .account-foot .secondary {
    width: 100%;
  }
}

/* Invited members see building settings read-only. */
#greeting-form :is(input, select):disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Billing warning: an in-page dialog instead of the browser's confirm(). */
.modal {
  width: min(520px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  overflow: auto;
  padding: 0;
  border: 1px solid rgba(239, 68, 68, 0.5);
  border-radius: 16px;
  background: #0b0b0b;
  color: var(--text);
}
.modal::backdrop {
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(4px);
}
.modal-body {
  padding: 28px;
}
.modal h2 {
  font:
    700 22px / 1.25 'Geist Pixel',
    monospace;
  margin: 0 0 12px;
}
.modal p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 14px;
}
.modal-label strong {
  color: var(--text);
}
.modal-list {
  margin: 0;
  padding: 12px 16px 12px 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  line-height: 1.6;
}
.modal .actions {
  justify-content: flex-end;
  margin-top: 24px;
}
@media (max-width: 700px) {
  .modal-body {
    padding: 22px 18px;
  }
  .modal h2 {
    font-size: 20px;
  }
  .modal .actions button {
    flex: 1 1 100%;
  }
}
