/* Guided onboarding (OB1) — stripped chrome, native tokens. */
.pls-ob {
  background: rgb(var(--background));
  color: rgb(var(--foreground));
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  min-height: 100vh;
  min-height: 100dvh;
}
.pls-ob .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;
}
.pls-ob .web-footer,
.pls-ob .blog-nav,
.pls-ob .app-tab-bar,
.pls-ob #app-tab-bar {
  display: none !important;
}
.pls-ob-shell {
  max-width: 32rem;
  margin: 0 auto;
  padding: 0.75rem 1.25rem 3rem;
  padding-bottom: calc(3rem + env(safe-area-inset-bottom, 0px));
}
.pls-ob-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0 1rem;
}
.pls-ob-header-actions {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  flex-shrink: 0;
}
.pls-ob-header .blog-mode-btn {
  width: 2rem;
  height: 2rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.375rem;
  flex-shrink: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgb(var(--foreground));
  font-size: 0;
  line-height: 0;
  transition: opacity 0.2s, background-color 0.2s;
  border-radius: var(--radius, 0.5rem);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-appearance: none;
  appearance: none;
}
.pls-ob-header .blog-mode-btn:hover,
.pls-ob-header .blog-mode-btn:active {
  opacity: 0.85;
  background-color: rgb(var(--muted));
}
.pls-ob-header .blog-mode-btn:focus {
  outline: 2px solid rgb(var(--foreground) / 0.35);
  outline-offset: 2px;
}
.pls-ob-header #blog-theme-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.pls-ob-header #blog-theme-icon svg {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}
.pls-ob-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  font-weight: 800;
  font-size: 0.95rem;
}
.pls-ob-skip {
  background: none;
  border: none;
  color: rgb(var(--muted-foreground));
  font: inherit;
  font-size: 0.8125rem;
  cursor: pointer;
  min-height: 44px;
  padding: 0 0.25rem;
}
.pls-ob-skip:hover {
  color: rgb(var(--foreground));
}
.pls-ob-progress {
  display: flex;
  gap: 0.35rem;
  margin: 0 0 1.5rem;
  justify-content: center;
}
.pls-ob-progress span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: rgb(var(--muted));
}
.pls-ob-progress span.is-done {
  background: rgb(var(--muted-foreground));
}
.pls-ob-progress span.is-current {
  background: #e21e30;
  width: 1.15rem;
}
.pls-ob-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(var(--muted-foreground));
  margin: 0 0 0.35rem;
}
.pls-ob-title {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}
.pls-ob-lead {
  color: rgb(var(--muted-foreground));
  font-size: 0.95rem;
  line-height: 1.45;
  margin: 0 0 1.25rem;
}
.pls-ob-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}
.pls-ob-type {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgb(var(--border));
  border-radius: var(--radius, 0.5rem);
  background: rgb(var(--card));
  color: rgb(var(--foreground));
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: center;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.pls-ob-type:hover {
  background: rgb(var(--muted));
  border-color: rgb(var(--foreground) / 0.28);
}
.pls-ob-type[aria-pressed='true'] {
  border-color: #e21e30;
  box-shadow: 0 0 0 1px #e21e30;
  background: rgb(var(--card));
  color: rgb(var(--foreground));
}
.pls-ob-type[aria-pressed='true']:hover {
  border-color: #e21e30;
  background: rgb(var(--muted));
}
.pls-ob-choice {
  display: block;
  width: 100%;
  text-align: left;
  margin-bottom: 0.75rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgb(var(--border));
  border-radius: var(--radius, 0.5rem);
  background: rgb(var(--card));
  cursor: pointer;
  color: inherit;
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.pls-ob-choice:hover {
  border-color: rgb(var(--foreground) / 0.35);
  background: rgb(var(--muted));
  color: inherit;
}
.pls-ob-choice.is-primary {
  border-color: #e21e30;
}
.pls-ob-choice h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.pls-ob-choice p {
  margin: 0;
  font-size: 0.875rem;
  color: rgb(var(--muted-foreground));
}
.pls-ob-quiet {
  display: block;
  text-align: center;
  margin: 1rem 0 0;
  color: rgb(var(--muted-foreground));
  font-size: 0.875rem;
}
.pls-ob-input,
.pls-ob-textarea {
  width: 100%;
  border: 1px solid rgb(var(--border));
  border-radius: var(--radius, 0.5rem);
  background: rgb(var(--card));
  color: rgb(var(--foreground));
  font: inherit;
  padding: 0.85rem 0.95rem;
  min-height: 48px;
}
.pls-ob-textarea {
  min-height: 7.5rem;
  resize: vertical;
}
.pls-ob-followup {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: rgb(var(--foreground));
}
.pls-ob-status {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: rgb(var(--muted-foreground));
}
.pls-ob-status.is-error {
  color: rgb(var(--destructive, 239 68 68));
}
.pls-ob-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.pls-ob-dock .btn,
.pls-ob-actions .btn,
.pls-ob .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border-radius: var(--radius, 0.5rem);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  -webkit-appearance: none;
  appearance: none;
  transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.pls-ob .btn-primary,
.pls-ob-dock .btn-primary {
  background: rgb(var(--primary));
  color: rgb(var(--primary-foreground));
}
.pls-ob .btn-primary:hover:not(:disabled),
.pls-ob .btn-primary:focus-visible:not(:disabled),
.pls-ob-dock .btn-primary:hover:not(:disabled),
.pls-ob-dock .btn-primary:focus-visible:not(:disabled) {
  background: rgb(var(--primary));
  color: rgb(var(--primary-foreground));
  opacity: 0.92;
}
.pls-ob .btn-primary:active:not(:disabled),
.pls-ob-dock .btn-primary:active:not(:disabled) {
  background: rgb(var(--primary));
  color: rgb(var(--primary-foreground));
  opacity: 0.85;
}
.pls-ob .btn-secondary {
  background: rgb(var(--muted));
  color: rgb(var(--foreground));
}
.pls-ob .btn-secondary:hover:not(:disabled),
.pls-ob .btn-secondary:focus-visible:not(:disabled) {
  background: rgb(var(--muted));
  color: rgb(var(--foreground));
  opacity: 0.92;
}
.pls-ob .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.pls-ob-mic {
  align-self: flex-end;
}
.pls-ob-check {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.pls-ob-check li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgb(var(--border));
  font-size: 0.9rem;
}
.pls-ob-check input {
  margin-top: 0.2rem;
}
.pls-ob-tier {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgb(var(--muted-foreground));
  margin: 1rem 0 0.25rem;
}
.pls-ob-bar {
  height: 0.4rem;
  background: rgb(var(--muted));
  border-radius: 999px;
  overflow: hidden;
  margin: 0 0 1rem;
}
.pls-ob-bar > span {
  display: block;
  height: 100%;
  background: #e21e30;
  width: 0;
}
.pls-ob-wait {
  text-align: center;
  padding: 2rem 0;
}
.pls-ob-dock {
  position: sticky;
  bottom: 0;
  z-index: 40;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: rgb(var(--background) / 0.92);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgb(var(--border));
}
.pls-ob-dock .btn {
  width: 100%;
}
body.pls-ob-product .blog-nav,
body.pls-ob-product .app-tab-bar,
body.pls-ob-product #app-tab-bar {
  display: none !important;
}
#profile-onboarding-preview-card {
  display: none;
}
#profile-onboarding-preview-card.is-visible {
  display: block;
}
