/* Getting to know you: one question at a time, split from Things to add. */

.app[data-view="questions"] {
  background: #0F1B2D;
  color: #F1F5F9;
}

.app[data-view="questions"] .sidebar,
.app[data-view="questions"] .desk-legacy,
.app[data-view="questions"] .item-nav,
.app[data-view="questions"] #partnerDock,
.app[data-view="questions"] #askFab,
.app[data-view="questions"] #partnerSheet,
.app[data-view="questions"] #partnerFloat {
  display: none !important;
}

.app[data-view="questions"] .shell {
  display: block !important;
  max-width: none;
  grid-template-columns: none;
}

.app[data-view="questions"] .main {
  padding: 0;
  background: #0F1B2D;
}

.view-questions {
  color: #F1F5F9;
  font-size: 18px;
  line-height: 1.55;
}

.view-questions .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.q-status-strip {
  margin: 0;
  padding: 10px 16px;
  background: #16263D;
  color: #F1F5F9;
  text-align: center;
}

.q-layout {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 0 16px 96px;
}

@media (min-width: 1024px) {
  .q-layout {
    display: grid;
    grid-template-columns: minmax(0, 640px) 360px;
    gap: 24px;
    width: min(1048px, 100%);
    padding: 0 24px 48px;
    align-items: start;
  }

  .q-phone-partner {
    display: none !important;
  }

  .q-partner-dock {
    display: block !important;
    position: sticky;
    top: 12px;
    width: 360px;
  }
}

.q-progress-wrap {
  margin: 0 0 16px;
}

.q-progress-label {
  margin: 0 0 6px;
  color: #F1F5F9;
  font-size: 16px;
  font-weight: 600;
}

.q-progress {
  height: 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.28);
  overflow: hidden;
}

.q-progress-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: #14B8A6;
  transition: width 400ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .q-progress-fill {
    transition: none;
  }
}

.q-card {
  max-width: 640px;
  background: #16263D;
  border-radius: 16px;
  padding: 28px;
  color: #F1F5F9;
}

.q-group {
  margin: 0 0 8px;
  color: #94A3B8;
  font-size: 16px;
}

.q-card h1,
.q-screen h1 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
}

.q-why,
.q-page-for {
  margin: 0 0 16px;
  font-size: 18px;
  color: #94A3B8;
}

.q-page-for {
  color: #F1F5F9;
  font-size: 20px;
}

.q-pick-hint {
  margin: 0 0 8px;
  color: #94A3B8;
  font-size: 16px;
}

.q-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.q-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 12px 16px;
  border: 2px solid #14B8A6;
  border-radius: 12px;
  background: transparent;
  color: #F1F5F9;
  font-family: inherit;
  font-size: 20px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.q-option[aria-checked="true"],
.q-option.is-on {
  background: #14B8A6;
  color: #0F1B2D;
}

.q-check {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 2px solid currentColor;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.q-option[aria-checked="true"] .q-check::after,
.q-option.is-on .q-check::after {
  content: "✓";
  font-size: 16px;
  line-height: 1;
}

.q-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.q-say-box {
  margin-top: 12px;
}

.q-say-box textarea {
  width: 100%;
  min-height: 4.5em;
  padding: 12px;
  border: 2px solid #14B8A6;
  border-radius: 12px;
  background: #0F1B2D;
  color: #F1F5F9;
  font-family: inherit;
  font-size: 18px;
}

.q-say-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.q-mic {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border: 2px solid #14B8A6;
  border-radius: 50%;
  background: transparent;
  color: #5EEAD4;
  cursor: pointer;
}

.q-mic.is-listening {
  background: #14B8A6;
  color: #0F1B2D;
}

.q-chips-wrap {
  margin-top: 16px;
}

.q-chips-wrap p {
  margin: 0 0 8px;
  color: #94A3B8;
  font-size: 16px;
}

.q-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.q-chip {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #14B8A6;
  border-radius: 999px;
  background: transparent;
  color: #5EEAD4;
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
}

.q-phone-partner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 16px;
}

.q-phone-avatar,
.q-dock-avatar,
.q-still-avatar {
  display: block;
  border-radius: 50%;
  background: #16263D;
  object-fit: contain;
}

.q-phone-avatar {
  width: 56px;
  height: 56px;
}

.q-phone-bubble {
  flex: 1;
  max-height: 4.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: #16263D;
  color: #F1F5F9;
  font: inherit;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
}

.q-partner-dock {
  display: none;
  background: #16263D;
  border-radius: 16px;
  padding: 16px;
}

.q-dock-avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 12px;
}

.q-partner-bubble {
  min-height: 3em;
  margin: 0 0 12px;
  color: #F1F5F9;
}

.q-partner-box {
  width: 100%;
  min-height: 3em;
  margin-top: 8px;
  padding: 10px;
  border: 2px solid #14B8A6;
  border-radius: 12px;
  background: #0F1B2D;
  color: #F1F5F9;
  font: inherit;
  font-size: 18px;
}

.q-welcome-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 16px;
  border-radius: 16px;
  overflow: hidden;
  background: #16263D;
}

.q-welcome-still {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(15, 27, 45, 0.15), rgba(15, 27, 45, 0.88)),
    #16263D;
  text-align: center;
}

.q-welcome-still img {
  width: 160px;
  height: 160px;
  margin-bottom: 12px;
}

.q-welcome-still p {
  margin: 0;
  font-size: 18px;
}

.q-play {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.92);
  color: #0F1B2D;
  font-size: 28px;
  cursor: pointer;
}

.q-welcome-chip {
  min-height: 40px;
}

.q-voice-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
}

.q-voice-choice .btn-teal-outline {
  min-height: 48px;
}

.q-welcome-script {
  margin: 0 0 12px;
  font-size: 18px;
  color: #F1F5F9;
}

.q-greeting p {
  margin: 0 0 8px;
}

.q-screen {
  max-width: 640px;
}

.q-confirm {
  margin-top: 16px;
  padding: 16px;
  background: #16263D;
  border-radius: 16px;
}

.q-summary-card {
  margin: 0 0 16px;
  padding: 20px 24px;
  background: #16263D;
  border-radius: 16px;
}

.q-summary-card ul {
  margin: 0;
  padding-left: 20px;
}

.q-summary-card li {
  margin: 0 0 8px;
}

.q-fit-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.q-fit-chips span {
  padding: 6px 10px;
  border: 1px solid #14B8A6;
  border-radius: 999px;
  color: #5EEAD4;
  font-size: 16px;
}

.q-change-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.q-change-row p {
  margin: 0;
}

.q-change-row .slate {
  color: #94A3B8;
}

.q-skeleton .q-bar {
  height: 56px;
  margin: 0 0 12px;
  border-radius: 12px;
  background: #334155;
}

.q-partner-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  max-height: 85vh;
  padding: 16px;
  background: #16263D;
  border-radius: 20px 20px 0 0;
}

.q-from-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 6px;
  background: #14B8A6;
  color: #0F1B2D;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1023px) {
  .q-partner-dock {
    display: none;
  }
}
