/* ============================================================
   Goldman Facts — Auth (Sign in / Sign up)
   Editorial split-screen, matched to the landing aesthetic.
   All rules are scoped to .auth-screen so the dashboard
   styles in styles.css remain untouched.
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap");

.auth-screen {
  /* palette mirrored from landing.css */
  --ink:        #0d0d0d;
  --ink-80:     rgba(13,13,13,0.82);
  --ink-60:     rgba(13,13,13,0.6);
  --ink-40:     rgba(13,13,13,0.42);
  --ink-30:     rgba(13,13,13,0.3);
  --ink-12:     rgba(13,13,13,0.12);
  --ink-06:     rgba(13,13,13,0.06);
  --paper:      #f5f2eb;
  --paper-warm: #efe9dc;
  --gold:       #b8922a;
  --gold-light: #d4aa4a;
  --serif:  'Playfair Display', Georgia, serif;
  --sans:   'DM Sans', system-ui, -apple-system, sans-serif;
  --mono:   'DM Mono', 'Courier New', monospace;
  /* mobile tap / safe-area helpers */
  --auth-touch: 2.75rem;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);

  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  padding: 0;
  display: block;
  -webkit-tap-highlight-color: rgba(184, 146, 42, 0.12);
}

/* full-bleed grain so the cream feels like printed paper */
.auth-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(13,13,13,0.025) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.6;
  mix-blend-mode: multiply;
}

/* override existing card centering from styles.css */
.auth-screen .auth-card {
  width: 100%;
  max-width: none;
  text-align: left;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  position: relative;
}

/* shared hairline divider */
.auth-screen .auth-card::before {
  content: "";
  position: absolute;
  top: 6vh;
  bottom: 6vh;
  left: calc(1.05 / 2.05 * 100%);
  width: 1px;
  background: var(--ink-12);
  pointer-events: none;
}

/* ── LEFT — editorial panel ─────────────────────────── */
.auth-aside {
  position: relative;
  padding: clamp(2rem, 4vw, 4rem) clamp(2rem, 5vw, 5.5rem);
  padding-top: calc(clamp(2rem, 4vw, 4rem) + var(--safe-top));
  padding-left: max(clamp(2rem, 5vw, 5.5rem), var(--safe-left));
  padding-right: max(clamp(2rem, 5vw, 5.5rem), var(--safe-right));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
}

.auth-wordmark {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.05em;
  min-height: var(--auth-touch);
  padding: 0.25rem 0;
  margin: -0.25rem 0;
  align-self: flex-start;
}
.auth-wordmark span { color: var(--gold); }

.auth-aside-body {
  margin-top: clamp(2.5rem, 6vw, 5rem);
  max-width: 30ch;
}

.auth-eyebrow {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.auth-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.auth-aside h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.25rem, 4.4vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 1.25rem;
}
.auth-aside h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.auth-aside-lede {
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-60);
  max-width: 36ch;
  font-weight: 400;
  overflow-wrap: break-word;
}

.auth-quote {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding-left: 1.25rem;
  border-left: 1px solid var(--ink-12);
  max-width: 38ch;
}
.auth-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink-80);
  margin: 0 0 0.75rem;
}
.auth-quote cite {
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-40);
}

.auth-aside-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-40);
}
.auth-aside-footer a {
  color: var(--ink-60);
  text-decoration: none;
  transition: color 0.2s;
  min-height: var(--auth-touch);
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0;
  margin: -0.35rem 0;
}
.auth-aside-footer a:hover { color: var(--ink); }

/* ── RIGHT — form panel ─────────────────────────── */
.auth-panel {
  padding: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 5vw, 5.5rem);
  padding-top: calc(clamp(2rem, 4vw, 4rem) + var(--safe-top));
  padding-bottom: calc(clamp(2rem, 4vw, 4rem) + var(--safe-bottom));
  padding-left: max(clamp(1.5rem, 5vw, 5.5rem), var(--safe-left));
  padding-right: max(clamp(1.5rem, 5vw, 5.5rem), var(--safe-right));
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  position: relative;
}

.auth-panel-top {
  position: absolute;
  top: calc(clamp(2rem, 4vw, 4rem) + var(--safe-top));
  right: max(clamp(1.5rem, 5vw, 5.5rem), var(--safe-right));
  left: max(clamp(1.5rem, 5vw, 5.5rem), var(--safe-left));
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-40);
  text-align: right;
  row-gap: 0.35rem;
}

/* Swappable top row: sign in vs create account */
.auth-panel-top .auth-top-row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  text-align: right;
}
.auth-panel-top .auth-top-row > span {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-40);
}
.auth-panel-top .auth-top-row > a {
  color: var(--ink-60);
  text-decoration: none;
  transition: color 0.2s;
  min-height: var(--auth-touch);
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0.35rem 0;
  margin: -0.35rem 0;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.auth-panel-top .auth-top-row > a:hover { color: var(--ink); }
.auth-panel-top .auth-top-row > button.auth-link {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  min-height: var(--auth-touch);
  padding: 0.35rem 0.15rem;
  margin: -0.35rem -0.15rem;
  flex-shrink: 0;
}

.auth-form-wrap {
  width: 100%;
  max-width: 26rem;
  margin: 0 auto;
  /* leave room for absolutely positioned panel-top on desktop */
  padding-top: 3.25rem;
}

@media (min-width: 881px) {
  .auth-panel {
    /* keep form + headline clear of the fixed top row (notch-safe) */
    padding-top: calc(clamp(2rem, 4vw, 4rem) + var(--safe-top) + 2.75rem);
  }
  .auth-form-wrap {
    padding-top: 0;
  }
}

/* override card brand block (kept for backward compat in markup) */
.auth-screen .auth-brand { margin: 0 0 2.25rem; text-align: left; }
.auth-screen .auth-brand .brand-mark { display: none; }
.auth-screen .auth-brand h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.875rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.4rem;
}

.auth-screen .auth-sub {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.9rem;
}

.auth-form-headline {
  font-family: var(--serif);
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.45rem;
  line-height: 1.15;
}
.auth-form-sub {
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--ink-60);
  margin: 0 0 2rem;
  line-height: 1.55;
}

/* form layout */
.auth-screen #auth-form,
.auth-screen #signup-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
}

.auth-screen .auth-field { display: block; }
.auth-screen .auth-field label {
  display: block;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin: 0 0 0.55rem;
}

.auth-screen .auth-field input {
  width: 100%;
  padding: 0.75rem 0;
  min-height: var(--auth-touch);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink-30);
  border-radius: 0;
  color: var(--ink);
  font-family: var(--sans);
  /* 16px+ stops iOS zoom-on-focus */
  font-size: max(16px, 1rem);
  font-weight: 400;
  letter-spacing: 0.005em;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.auth-screen .auth-field input::placeholder {
  color: var(--ink-30);
  font-weight: 300;
}
.auth-screen .auth-field input:hover { border-bottom-color: var(--ink-60); }
.auth-screen .auth-field input:focus {
  border-bottom-color: var(--gold);
  box-shadow: 0 1px 0 0 var(--gold);
}

/* inline forgot inside password field row */
.auth-field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.55rem;
  min-height: var(--auth-touch);
}
.auth-field-row label {
  margin: 0 !important;
  flex: 1 1 auto;
  min-width: 0;
}
.auth-field-row .auth-forgot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-40);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  min-height: var(--auth-touch);
  padding: 0.35rem 0.5rem;
  margin: -0.35rem -0.5rem -0.35rem 0;
  flex-shrink: 0;
  transition: color 0.2s;
}
.auth-field-row .auth-forgot:hover { color: var(--gold); }

/* error */
.auth-screen .auth-error {
  background: transparent;
  border: none;
  border-left: 2px solid #b00020;
  border-radius: 0;
  color: #7a0014;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.35rem 0 0.35rem 0.85rem;
  text-align: left;
  line-height: 1.45;
  letter-spacing: 0.005em;
}

/* primary submit — gold */
.auth-screen .auth-submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.95rem 1.5rem;
  min-height: 3rem;
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: 2px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  touch-action: manipulation;
}
.auth-screen .auth-submit:hover {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 6px 22px rgba(184,146,42,0.28);
}
.auth-screen .auth-submit:active { transform: translateY(1px); }
.auth-screen .auth-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: var(--ink);
  color: var(--paper);
  box-shadow: none;
}

/* Secondary / outline — readable on cream (verify email, extra steps) */
.auth-screen .auth-btn-outline {
  width: 100%;
  margin-top: 0;
  padding: 0.9rem 1.35rem;
  min-height: 3rem;
  box-sizing: border-box;
  background: transparent;
  color: var(--ink-80);
  border: 1px solid var(--ink-30);
  border-radius: 2px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s;
  touch-action: manipulation;
}
.auth-screen .auth-btn-outline:hover {
  border-color: var(--gold);
  color: var(--ink);
  box-shadow: 0 4px 18px rgba(13, 13, 13, 0.06);
}
.auth-screen .auth-btn-outline:active {
  transform: translateY(1px);
}
.auth-screen .auth-btn-outline:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.auth-screen .auth-verify-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.auth-screen .auth-banner-success {
  background: rgba(29, 107, 58, 0.08);
  border: none;
  border-left: 2px solid #1d6b3a;
  border-radius: 0;
  color: #14532d;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.4rem 0 0.4rem 0.85rem;
  text-align: left;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.auth-screen .auth-form-sub strong {
  color: var(--ink);
  font-weight: 600;
}

/* toggle / footer line under form */
.auth-screen .auth-toggle {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink-12);
  font-family: var(--sans);
  font-size: 0.8125rem;
  color: var(--ink-60);
  text-align: left;
}
.auth-screen .auth-link {
  background: none;
  border: none;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding: 0.35rem 0.15rem 0.4rem;
  margin: -0.35rem -0.15rem;
  min-height: var(--auth-touch);
  display: inline-flex;
  align-items: center;
  transition: color 0.2s, border-color 0.2s;
  touch-action: manipulation;
}
.auth-screen .auth-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold-light);
}

/* tiny footnote / fineprint */
.auth-fineprint {
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-40);
  line-height: 1.6;
}
.auth-fineprint a {
  color: var(--ink-60);
  text-decoration: none;
  border-bottom: 1px solid var(--ink-12);
  transition: color 0.2s, border-color 0.2s;
  display: inline-block;
  padding: 0.2rem 0;
  margin: -0.2rem 0;
}
.auth-fineprint a:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* utility */
.auth-screen .hidden { display: none !important; }

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 880px) {
  .auth-screen { overflow-y: auto; }
  .auth-screen .auth-card {
    grid-template-columns: 1fr;
    min-height: min-content;
  }
  .auth-screen .auth-card::before { display: none; }

  .auth-aside {
    min-height: auto;
    padding-top: calc(1.25rem + var(--safe-top));
    padding-bottom: 1.75rem;
    padding-left: max(1.25rem, var(--safe-left));
    padding-right: max(1.25rem, var(--safe-right));
    border-bottom: 1px solid var(--ink-12);
  }
  .auth-aside-body { margin-top: 1.75rem; }
  .auth-aside h1 { font-size: clamp(2rem, 8vw, 2.75rem); }
  .auth-aside-lede { font-size: 0.9375rem; }
  .auth-quote { display: none; }
  .auth-aside-footer { margin-top: 1.75rem; }

  .auth-eyebrow {
    letter-spacing: 0.1em;
    line-height: 1.45;
    max-width: 100%;
  }

  .auth-panel {
    min-height: auto;
    padding-top: calc(1.25rem + var(--safe-top));
    padding-bottom: max(2.5rem, calc(1.5rem + var(--safe-bottom)));
    padding-left: max(1.25rem, var(--safe-left));
    padding-right: max(1.25rem, var(--safe-right));
    justify-content: flex-start;
  }
  .auth-panel-top {
    position: static;
    margin-bottom: 1.25rem;
    justify-content: space-between;
    align-items: center;
    left: auto;
    right: auto;
    text-align: inherit;
  }
  .auth-panel-top .auth-top-row > span { text-align: left; }
  .auth-form-wrap {
    max-width: 100%;
    padding-top: 0;
  }
}

@media (max-width: 460px) {
  .auth-aside {
    padding-left: max(1rem, var(--safe-left));
    padding-right: max(1rem, var(--safe-right));
  }
  .auth-panel {
    padding-left: max(1rem, var(--safe-left));
    padding-right: max(1rem, var(--safe-right));
  }
  .auth-form-headline { font-size: 1.625rem; }
  .auth-form-sub { font-size: 0.8125rem; margin-bottom: 1.5rem; }

  .auth-screen .auth-toggle {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }
  .auth-screen .auth-link {
    margin-left: 0;
    margin-right: 0;
  }
}

/* very narrow: keep panel-top from crowding */
@media (max-width: 340px) {
  .auth-panel-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .auth-panel-top .auth-top-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .auth-panel-top .auth-top-row > a,
  .auth-panel-top .auth-top-row > button.auth-link {
    align-self: flex-start;
  }
}

/* ── Onboarding (post-signup watchlist) ───────────────────────── */
.onb-loading {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.onb-loading-text {
  font-family: var(--mono, "DM Mono", monospace);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-40, rgba(13, 13, 13, 0.42));
}

.onb-suggested {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.9rem 1rem;
  background: var(--ink-06, rgba(13, 13, 13, 0.06));
  border: 1px solid var(--ink-12, rgba(13, 13, 13, 0.12));
  border-radius: 2px;
}
.onb-suggested-label {
  font-family: var(--mono, "DM Mono", monospace);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-40, rgba(13, 13, 13, 0.42));
}
.onb-suggested-tickers {
  font-family: var(--sans, "DM Sans", system-ui, sans-serif);
  font-size: 0.8125rem;
  color: var(--ink-60, rgba(13, 13, 13, 0.6));
  line-height: 1.4;
}
.onb-suggested-btn {
  margin-top: 0.15rem;
  background: none;
  border: none;
  padding: 0.35rem 0;
  font-family: var(--sans, "DM Sans", system-ui, sans-serif);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold, #b8922a);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 2.25rem;
  touch-action: manipulation;
}
.onb-suggested-btn:hover {
  color: var(--ink, #0d0d0d);
}

.onb-mono {
  font-family: var(--mono, "DM Mono", monospace);
  font-size: 0.9em;
  letter-spacing: 0.04em;
}

.onb-field-block {
  margin-bottom: 1.25rem;
  text-align: left;
}
.onb-positions-label {
  display: block;
  font-family: var(--mono, "DM Mono", monospace);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-60, rgba(13, 13, 13, 0.6));
  margin: 0 0 0.6rem;
}

.onb-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-height: 2.5rem;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0;
  align-content: flex-start;
}
.onb-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.1rem 0.35rem 0.6rem;
  background: var(--ink, #0d0d0d);
  color: var(--paper, #f5f2eb);
  font-family: var(--mono, "DM Mono", monospace);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 2px;
}
.onb-pill-text {
  padding: 0.1rem 0.15rem 0.1rem 0;
}
.onb-pill-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  min-height: 1.75rem;
  background: transparent;
  border: none;
  color: var(--paper-warm, #efe9dc);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 1px;
  margin-right: 0.15rem;
  opacity: 0.9;
  touch-action: manipulation;
}
.onb-pill-remove:hover {
  color: #e8c4c4;
}

.onb-add-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: stretch;
}
.onb-ticker-input {
  flex: 1 1 7rem;
  min-width: 0;
  padding: 0.75rem 0.5rem 0.75rem 0;
  min-height: 2.75rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink-30, rgba(13, 13, 13, 0.3));
  border-radius: 0;
  color: var(--ink, #0d0d0d);
  font-family: var(--sans, "DM Sans", system-ui, sans-serif);
  font-size: max(16px, 1rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  outline: none;
  text-transform: uppercase;
}
.onb-ticker-input::placeholder {
  color: var(--ink-30, rgba(13, 13, 13, 0.3));
  text-transform: none;
  font-weight: 400;
}
.onb-ticker-input:focus {
  border-bottom-color: var(--gold, #b8922a);
  box-shadow: 0 1px 0 0 var(--gold, #b8922a);
}
.onb-add-btn {
  padding: 0.5rem 1rem;
  min-height: 2.75rem;
  background: transparent;
  color: var(--ink, #0d0d0d);
  border: 1px solid var(--ink-30, rgba(13, 13, 13, 0.3));
  border-radius: 2px;
  font-family: var(--mono, "DM Mono", monospace);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  touch-action: manipulation;
  align-self: flex-end;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.onb-add-btn:hover {
  border-color: var(--gold, #b8922a);
  color: var(--gold, #b8922a);
}

#onb-main #onb-continue {
  margin-top: 0.25rem;
}

#onb-signout {
  color: var(--ink-60, rgba(13, 13, 13, 0.6));
  font-family: var(--mono, "DM Mono", monospace);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  min-height: 2.75rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  margin: -0.35rem 0;
  transition: color 0.2s;
  touch-action: manipulation;
}
#onb-signout:hover {
  color: var(--ink, #0d0d0d);
  border-bottom-color: var(--gold, #b8922a);
}
