/*
 * The account surface: Get started, Sign in and the launch invitation. Design section 04
 * ("Signup entry, on Able's account surface") and 05 ("Conference lead capture"). Each screen
 * is drawn on a 368 point phone; on a wider window it sits centred in the 560 single-decision
 * measure, and the one desktop drawing (4c, started on a computer) has its own two-column
 * layout. Colour only from theme.colors.css.
 */
.account {
  padding: 32px 20px 48px;
}
.acct-step {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 18px;
  line-height: 1.5;
}
/* On a phone the actions sit at the foot of the screen, as drawn. */
@media (max-width: 56.5em) {
  .acct-step {
    min-height: min(40rem, calc(100svh - 150px));
  }
}
.acct-step[data-gap="14"] {
  gap: 14px;
}
.acct-step[data-gap="16"] {
  gap: 16px;
}
.acct-step[data-gap="20"] {
  gap: 20px;
}
.acct-step > form {
  display: contents;
}
.acct-step p {
  margin: 0;
}

.acct-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.acct-back {
  flex: none;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  color: var(--textSecondary);
  text-decoration: none;
  cursor: pointer;
}
.acct-back:hover {
  color: var(--textAccent);
}
.acct-count {
  font-size: 16px;
  font-weight: 700;
  color: var(--textSecondary);
}
.acct-h1 {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-weight: 300;
  font-size: 34px;
  line-height: 1.1;
  text-wrap: balance;
}
.acct-h1:focus {
  outline: none;
}
.acct-h1:focus-visible {
  outline: 2px solid var(--focusRing);
  outline-offset: 2px;
}
.acct-h1-32 {
  font-size: 32px;
}
.acct-note {
  font-size: 16px;
  color: var(--textSecondary);
}
.acct-strong {
  font-weight: 600;
}

/* Audience cards: real radios in a fieldset; the selected card says "Selected" in words. */
.acct-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.acct-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.acct-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 18px;
  min-height: 48px;
  cursor: pointer;
  color: var(--textPrimary);
  background: var(--surface);
  border: var(--strong) solid var(--borderStrong);
}
.acct-card:has(input:checked) {
  background: var(--selectedTint);
  border-color: var(--positive);
}
.acct-card input {
  width: 24px;
  height: 24px;
  margin: 2px 0 0;
  accent-color: var(--positive);
  flex: none;
}
.acct-card strong {
  display: block;
  font-size: 20px;
}
.acct-card .acct-desc {
  color: var(--textSecondary);
}
.acct-card [data-selected-word] {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--textAccent);
  margin-top: 4px;
}
.acct-card [data-selected-word]:empty {
  display: none;
}

/* Chips: the conference form's "I'm interested for". */
.acct-chips-label {
  font-weight: 700;
  font-size: 16px;
  padding: 0;
  margin-bottom: 6px;
}
.acct-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.acct-chip {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  color: var(--textPrimary);
  background: var(--surface);
  border: var(--strong) solid var(--borderStrong);
}
.acct-chip:has(input:checked) {
  background: var(--selectedTint);
  border-color: var(--positive);
}
.acct-chip input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--positive);
  flex: none;
}
.acct-chip [data-selected-word] {
  font-weight: 600;
  color: var(--textAccent);
}
.acct-card:has(input:focus-visible),
.acct-chip:has(input:focus-visible) {
  outline: 2px solid var(--focusRing);
  outline-offset: 2px;
}

/* Fields */
.acct-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  font-size: 16px;
}
.acct-field-tight {
  gap: 4px;
}
.acct-field .acct-optional {
  font-weight: 400;
  color: var(--textSecondary);
}
.acct-input {
  flex: none;
  width: 100%;
  min-height: 56px;
  padding: 0 14px;
  border-radius: 12px;
  border: var(--strong) solid var(--borderStrong);
  background: var(--surface);
  color: var(--textPrimary);
  font: inherit;
  font-weight: 400;
  font-size: 18px;
}
.acct-input-52 {
  min-height: 52px;
}
.acct-check {
  flex: none;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
  min-height: 48px;
  cursor: pointer;
}
.acct-check input {
  flex: none;
  width: 28px;
  height: 28px;
  margin: 1px 0 0;
  accent-color: var(--positive);
}

/* The six-digit code */
.acct-code {
  display: flex;
  gap: 8px;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.acct-code input {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 60px;
  text-align: center;
  font: inherit;
  font-size: 26px;
  font-weight: 700;
  border-radius: 12px;
  border: var(--strong) solid var(--borderStrong);
  background: var(--surface);
  color: var(--textPrimary);
}
.acct-code.is-error input {
  border: 2px solid var(--error);
}

/* Links under a form: a stronger one and a quieter one. */
.acct-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}
.acct-textlink {
  flex: none;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--textSecondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.acct-textlink:hover {
  color: var(--textAccent);
}
.acct-textlink-strong {
  font-weight: 700;
  color: var(--textPrimary);
}

.acct-actions {
  flex: none;
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.acct-actions-8 {
  gap: 8px;
}
.acct-actions .btn {
  width: 100%;
}
.acct-actions .acct-textlink {
  align-self: center;
  text-align: center;
}
.acct-btn-52 {
  min-height: 52px;
  font-size: 17px;
}

/* Error, with an icon and words as well as colour. */
.acct-error {
  margin: 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--errorTint);
  color: var(--errorText);
  font-weight: 600;
  font-size: 16px;
  border: var(--strong) solid var(--error);
}
.acct-error svg {
  flex: none;
}

/* Panels */
.acct-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  background: var(--surface);
  border: var(--hair) solid var(--border);
}
.acct-kicker {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--textSecondary);
}
.acct-email {
  font-weight: 700;
  overflow-wrap: anywhere;
}
.acct-verified {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  color: var(--textAccent);
}
.acct-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.acct-steps > li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  background: var(--surface);
  border: var(--hair) solid var(--border);
}
.acct-steps-head {
  display: flex;
  gap: 12px;
  align-items: center;
}
.acct-steps-head strong {
  font-size: 20px;
  line-height: 1.35;
}
.acct-num {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background: var(--sand);
  color: var(--textPrimary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: var(--strong) solid var(--fillEdge);
}
.acct-steps .acct-note {
  margin: 0;
}
.acct-panel-sm {
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 16px;
  display: block;
}
.acct-mark {
  margin-top: 24px;
  color: var(--textPrimary);
}

/* 4c: started on a computer. Text in the 560 measure, the QR card beside it. */
.acct-step-wide {
  max-width: 1120px;
}
.acct-desk {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.acct-desk-text {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.acct-desk-list {
  margin: 0;
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.acct-qr-card {
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px;
  border-radius: 24px;
  background: var(--surface);
  border: var(--hair) solid var(--border);
}
/* The QR is black on white artwork and stays that way in every theme, so a camera can read it:
   the white quiet zone is part of the image. */
.acct-qr-img {
  display: block;
  width: 220px;
  height: 220px;
  border-radius: 8px;
  outline: var(--hair) solid var(--border);
}
.acct-qr-caption {
  font-size: 18px;
  font-weight: 600;
  max-width: 240px;
  text-align: center;
}

@media (min-width: 56.5625em) {
  .account {
    padding: 64px 40px 80px;
  }
  .acct-step-wide {
    font-size: 20px;
  }
  .acct-step-wide .acct-verified {
    font-size: 18px;
  }
  .acct-step-wide .acct-h1 {
    font-size: 48px;
    line-height: 1.08;
  }
  .acct-step-wide .acct-note {
    font-size: 18px;
  }
  .acct-desk {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 64px;
  }
  .acct-qr-card {
    align-self: center;
  }
}
.acct-center {
  text-align: center;
}
@media (min-width: 56.5625em) {
  .acct-step-wide .acct-h1 {
    text-wrap: wrap;
  }
}

/* Honeypot for bots: out of sight and out of the tab order, never announced. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* A choice the person made that was not saved: a sentence and an icon, in the warning tint with
   a strong edge, never colour alone (review R2-F3). */
.acct-notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--warningTint);
  color: var(--warningText);
  border: var(--strong) solid currentColor;
}
.acct-notice p {
  margin: 0 0 6px;
  color: var(--textPrimary);
}
.acct-notice svg {
  flex: none;
  margin-top: 2px;
}

/* The contact form's message box: room to write, and it grows only downwards. */
.contact-message {
  min-height: 160px;
  padding: 14px 16px;
  resize: vertical;
}

/* Sign in: which Able? (Clinton, 15 October 2026). Two large links, each named in words with a
   short line saying which platform it is; the marks are decoration. The card's border is its
   edge in every theme (the old A mark's purple tile is close to the dark page, so the border,
   not the artwork, separates it). 48px is far exceeded: each card is about 88px tall. */
.signin-choices {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.signin-choice {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 16px;
  border-radius: 18px;
  background: var(--surface);
  border: var(--strong) solid var(--borderStrong);
  color: var(--textPrimary);
  text-decoration: none;
}
.signin-choice:hover {
  border-color: var(--textPrimary);
}
.signin-choice:focus-visible {
  outline: 3px solid var(--focusRing);
  outline-offset: 2px;
}
.signin-choice-mark {
  flex: none;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  line-height: 0;
}
.signin-choice-mark-new {
  background: var(--recess);
  border: var(--hair) solid var(--border);
}
.signin-choice-img {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 14px;
}
.signin-choice-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.signin-choice-name {
  font-size: 19px;
  font-weight: 700;
}
.signin-choice-desc {
  font-size: 16px;
  line-height: 1.4;
  color: var(--textSecondary);
}
.signin-choice-go {
  flex: none;
}
