/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Rubik:wght@500;600;700&display=swap');

:root {
  --font-display: 'Rubik', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --bg-start: #fff4ea;
  --bg-end: #f8e6f2;
  --ink: #1b1b1f;
  --ink-muted: #575663;
  --accent: #ff7a5c;
  --accent-strong: #e8483f;
  --accent-soft: rgba(255, 122, 92, 0.12);
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --border: rgba(27, 27, 31, 0.08);
  --shadow: 0 24px 60px rgba(35, 24, 22, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background: radial-gradient(circle at top left, #fff1e1 0%, transparent 50%),
    radial-gradient(circle at 20% 40%, #ffe9ef 0%, transparent 50%),
    linear-gradient(140deg, var(--bg-start), var(--bg-end));
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.15;
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.05rem; }

p {
  margin: 0;
  line-height: 1.5;
}

.eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.description {
  margin: 0;
  color: var(--ink-muted);
  max-width: 640px;
  line-height: 1.5;
}

.muted {
  margin: 0;
  color: var(--ink-muted);
}

.ghost {
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.ghost:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: white;
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.primary:disabled {
  opacity: 0.6;
  cursor: default;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: var(--accent-soft);
  color: var(--accent-strong);
  width: -moz-fit-content;
  width: fit-content;
}

.panel {
  background: var(--surface-strong);
  border-radius: 1.5rem;
  padding: 1.4rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.empty {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px dashed var(--border);
  color: var(--ink-muted);
}

.alert {
  background: rgba(232, 72, 63, 0.12);
  color: #7a251f;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(232, 72, 63, 0.3);
  margin-bottom: 1.5rem;
}

/* Layout */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  -moz-column-gap: 2rem;
       column-gap: 2rem;
  padding: 1.5rem 4vw 1rem;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.topbar--hidden {
  display: none;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
}

.brand__link {
  display: inline-flex;
}

.brand__logo {
  width: clamp(140px, 14vw, 200px);
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(30, 22, 22, 0.18));
}

.brand__tag {
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.topbar__right {
  display: grid;
  gap: 0.4rem;
  justify-items: end;
}

.nav {
  display: flex;
  gap: 1rem;
  padding: 0.5rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }
}

.nav a {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 500;
  color: var(--ink-muted);
  transition: all 0.2s ease;
}

.nav a.active,
.nav a:hover {
  color: var(--ink);
  background: var(--surface-strong);
}

.user {
  display: flex;
  align-items: center;
  justify-self: end;
}

.user__solo,
.user__pair {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
}

.user__symbol {
  color: var(--accent-strong);
  font-size: 0.8rem;
  line-height: 1;
}

.content {
  flex: 1;
  padding: 0 4vw 4rem;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: 1fr;
    row-gap: 0.8rem;
    justify-items: start;
  }

  .topbar__right {
    width: 100%;
    justify-items: start;
    gap: 0.5rem;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .user {
    width: 100%;
    justify-content: space-between;
  }
}

/* Hero section */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 2rem;
  align-items: center;
  padding: 1.6rem 0 1.2rem;
}

.hero h1 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
}

.lede {
  max-width: 36rem;
  margin: 0;
  color: var(--ink-muted);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

/* Chat styles */
.chat-layout {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(220px, 280px) 1fr;
  padding: 1.6rem 0;
}

.sessions-panel {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sessions-panel h3 {
  font-size: 0.95rem;
  color: var(--ink-muted);
  padding: 0 0.4rem;
}

.sessions-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.session-row {
  position: relative;
}

.session-select {
  width: 100%;
  padding: 0.75rem 1rem;
  padding-right: 3rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  font-family: inherit;
  font-size: 0.9rem;
}

.session-select:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.85);
}

.session-row.active .session-select {
  border-color: var(--accent);
  background: rgba(115, 103, 240, 0.08);
}

.session-menu-button {
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.7);
  width: 2rem;
  height: 2rem;
  border-radius: 0.7rem;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--ink-muted);
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.2s ease, border-color 0.2s ease;
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
}

.session-row:hover .session-menu-button {
  opacity: 1;
  border-color: rgba(0, 0, 0, 0.08);
}

.chat-container {
  background: var(--surface-strong);
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 200px);
  min-height: 500px;
}

.chat-header {
  padding: 1rem 1.5rem 0.5rem;
  border-bottom: 1px solid var(--border);
}

.chat-header h2 {
  margin: 0;
  font-size: 1.1rem;
}

.messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 0;
}

.message {
  display: flex;
}

.message--user {
  justify-content: flex-end;
}

.message--assistant {
  justify-content: flex-start;
}

.message-bubble {
  max-width: 70%;
  padding: 0.8rem 1rem;
  border-radius: 1.2rem;
  display: grid;
  gap: 0.4rem;
}

.message--user .message-bubble {
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: white;
}

.message--assistant .message-bubble {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
}

.message-content {
  font-size: 0.95rem;
  line-height: 1.5;
  word-break: break-word;
}

.message--user .message-content {
  white-space: pre-wrap;
}

.message-time {
  font-size: 0.75rem;
  opacity: 0.7;
  text-align: right;
}

.input-form {
  padding: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
}

.input-form textarea {
  flex: 1;
  padding: 0.75rem;
  border-radius: 0.8rem;
  border: 1px solid var(--border);
  background: white;
  font-size: 0.95rem;
  font-family: inherit;
  resize: none;
}

.input-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.send-button {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.send-button:disabled {
  opacity: 0.5;
  cursor: default;
}

@media (max-width: 700px) {
  .chat-layout {
    grid-template-columns: 1fr;
  }

  .sessions-panel {
    min-height: auto;
  }

  .sessions-list {
    grid-auto-flow: column;
    grid-auto-columns: minmax(180px, 220px);
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.5rem;
  }

  .session-select {
    min-width: 180px;
  }

  .message-bubble {
    max-width: 85%;
  }

  .chat-container {
    height: calc(100vh - 420px);
  }
}

/* ==================== Scale Components ==================== */

/* EmojiScale & ImportanceScale */
.emoji-scale,
.importance-scale {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.emoji-option,
.importance-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.35rem 0.25rem;
  border: 2px solid var(--border);
  border-radius: 0.7rem;
  background: var(--surface-strong);
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 2.5rem;
  font-family: var(--font-body);
}

.emoji-option:hover:not(:disabled),
.importance-option:hover:not(:disabled) {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 122, 92, 0.2);
}

.emoji-option:disabled,
.importance-option:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.emoji-option.active,
.importance-option.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  font-weight: 600;
}

.emoji-option .level-image,
.importance-option .level-image {
  width: 2.2rem;
  height: 2.2rem;
  -o-object-fit: contain;
     object-fit: contain;
  transition: transform 0.2s ease;
}

.emoji-option:hover:not(:disabled) .level-image,
.importance-option:hover:not(:disabled) .level-image {
  transform: scale(1.1);
}

.emoji-option .label,
.importance-option .label {
  font-size: 0.65rem;
  color: var(--ink-muted);
  text-align: center;
  font-weight: 500;
  line-height: 1.1;
}

.emoji-option.active .label,
.importance-option.active .label {
  color: var(--accent-strong);
  font-weight: 600;
}

.emoji-scale.disabled,
.importance-scale.disabled {
  pointer-events: none;
}

@media (max-width: 640px) {
  .emoji-scale,
  .importance-scale {
    gap: 0.25rem;
  }

  .emoji-option,
  .importance-option {
    min-width: 3rem;
    padding: 0.5rem 0.3rem;
  }

  .emoji-option .level-image,
  .importance-option .level-image {
    width: 2.5rem;
    height: 2.5rem;
  }

  .emoji-option .label,
  .importance-option .label {
    font-size: 0.625rem;
  }
}

/* DualEmojiScale */
.dual-emoji-scale {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 1rem;
  background: var(--surface);
  border-radius: 1rem;
  border: 1px solid var(--border);
}

.scale-section {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.scale-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}

.scale-label .icon {
  font-size: 1.1rem;
}

.scale-description {
  font-size: 0.8rem;
  color: var(--ink-muted);
  line-height: 1.3;
  margin: 0;
  font-style: italic;
}

.give-label {
  color: var(--accent);
}

.receive-label {
  color: var(--accent-strong);
}

.dual-emoji-scale .divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--border) 20%,
    var(--border) 80%,
    transparent
  );
}

@media (max-width: 640px) {
  .dual-emoji-scale {
    padding: 0.75rem;
    gap: 1rem;
  }

  .scale-label {
    font-size: 0.85rem;
  }

  .scale-label .icon {
    font-size: 1rem;
  }

  .scale-description {
    font-size: 0.75rem;
  }
}

/* FrequencyScale */
.frequency-scale {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.frequency-question {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 0.5rem 0;
}

.frequency-option {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  border: 2px solid var(--border);
  border-radius: 1rem;
  background: var(--surface-strong);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

.frequency-option:hover:not(:disabled) {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 122, 92, 0.15);
}

.frequency-option:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.frequency-option.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.frequency-option .emoji {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
}

.frequency-option .content {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  flex: 1;
  align-items: flex-start;
  text-align: left;
}

.frequency-option .label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
  display: block;
  width: -moz-fit-content;
  width: fit-content;
}

.frequency-option .description {
  font-size: 0.7rem;
  color: var(--ink-muted);
  line-height: 1.2;
  display: block;
  width: -moz-fit-content;
  width: fit-content;
}

.frequency-option.active .label {
  color: var(--accent-strong);
}

.frequency-scale.disabled {
  pointer-events: none;
}

@media (max-width: 640px) {
  .frequency-option {
    padding: 0.7rem 0.8rem;
  }

  .frequency-option .emoji {
    font-size: 1.5rem;
  }

  .frequency-option .label {
    font-size: 0.85rem;
  }

  .frequency-option .description {
    font-size: 0.75rem;
  }
}

/* DriveTypeScale */
.drive-type-scale {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.drive-type-question {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 0.5rem 0;
}

.drive-type-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.drive-type-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: 1rem;
  background: var(--surface-strong);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
  text-align: center;
}

.drive-type-option:hover:not(:disabled) {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 122, 92, 0.15);
}

.drive-type-option:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.drive-type-option.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.drive-type-option .emoji {
  font-size: 2rem;
  line-height: 1;
}

.drive-type-option .content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.drive-type-option .label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}

.drive-type-option .description {
  font-size: 0.75rem;
  color: var(--ink-muted);
  line-height: 1.3;
}

.drive-type-option.active .label {
  color: var(--accent-strong);
}

.drive-type-scale.disabled {
  pointer-events: none;
}

@media (max-width: 640px) {
  .drive-type-options {
    grid-template-columns: 1fr;
  }

  .drive-type-option {
    flex-direction: row;
    text-align: left;
    padding: 0.8rem 1rem;
  }

  .drive-type-option .emoji {
    font-size: 1.5rem;
  }

  .drive-type-option .label {
    font-size: 0.85rem;
  }

  .drive-type-option .description {
    font-size: 0.7rem;
  }
}

/* InitiativeScale */
.initiative-scale {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.initiative-question {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 0.5rem 0;
}

.initiative-options {
  display: grid;
  gap: 0.6rem;
}

.initiative-option {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  border: 2px solid var(--border);
  border-radius: 1rem;
  background: var(--surface-strong);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
  text-align: left;
}

.initiative-option:hover:not(:disabled) {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 122, 92, 0.15);
}

.initiative-option:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.initiative-option.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.initiative-option .emoji {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
}

.initiative-option .content {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1;
}

.initiative-option .label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}

.initiative-option .description {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.initiative-option.active .label {
  color: var(--accent-strong);
}

.initiative-scale.disabled {
  pointer-events: none;
}

@media (max-width: 640px) {
  .initiative-option {
    padding: 0.7rem 0.8rem;
  }

  .initiative-option .emoji {
    font-size: 1.5rem;
  }

  .initiative-option .label {
    font-size: 0.85rem;
  }

  .initiative-option .description {
    font-size: 0.75rem;
  }
}

/* ==================== Onboarding ==================== */

.onboarding {
  min-height: 100vh;
  padding: 2.5rem 0 3.5rem;
}

.onboarding-shell {
  width: min(1100px, 94vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 1.6rem;
  align-items: start;
}

.onboarding-aside {
  display: grid;
  gap: 1.2rem;
  position: sticky;
  top: 2rem;
}

.onboarding-main {
  background: var(--surface-strong);
  border-radius: 1.8rem;
  padding: 2.2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.3rem;
  overflow: hidden;
}

.aside-card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 1.2rem;
  padding: 1.2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.45rem;
}

.main-header {
  display: grid;
  gap: 0.35rem;
}

.progress {
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
  width: 80%;
  padding-left: 0.7rem;
}

.progress-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
}

.stepper {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
  padding-left: 0.7rem;
}

.stepper li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: center;
  color: var(--ink-muted);
}

.stepper li.active {
  color: var(--ink);
  font-weight: 600;
}

.stepper-index {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: white;
  font-size: 0.85rem;
}

.step {
  display: grid;
  gap: 1.5rem;
  overflow-x: hidden;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.choice-grid button {
  padding: 1.2rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: white;
  font-weight: 600;
  transition: all 0.2s ease;
}

.choice-grid button.selected {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.group {
  display: grid;
  gap: 0.6rem;
}

.group h3 {
  font-size: 0.95rem;
  color: var(--ink);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chips button {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: white;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chips button.active {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.step label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}

.step input[type="text"],
.step input[type="number"],
.step input[type="date"],
.step textarea {
  padding: 0.75rem;
  border-radius: 0.8rem;
  border: 1px solid var(--border);
  background: white;
  font-size: 0.95rem;
  font-family: inherit;
}

.step input:focus,
.step textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field-invalid {
  border-color: #e8483f !important;
}

.field-error {
  font-size: 0.8rem;
  color: #e8483f;
  margin: 0.3rem 0 0 0;
}

.toggle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.toggle input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  cursor: pointer;
}

.criteria-intro {
  display: grid;
  gap: 1rem;
  padding: 1rem 0;
}

.criteria-intro p {
  font-size: 1rem;
  line-height: 1.5;
}

.criteria-legend {
  background: rgba(255, 122, 92, 0.08);
  border-radius: 1rem;
  padding: 1rem;
  font-size: 0.85rem;
}

.criteria-legend p {
  margin: 0;
}

.legend-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.criteria-legend ul {
  margin: 0;
  padding-left: 1.2rem;
}

.criteria-legend li {
  margin: 0.2rem 0;
  line-height: 1.4;
}

.criteria-list {
  display: grid;
  gap: 1rem;
}

.criterion-card {
  background: white;
  border-radius: 1rem;
  border: 1px solid var(--border);
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
  overflow: hidden;
}

.criterion-invalid {
  border-color: #e8483f;
  box-shadow: 0 0 0 2px rgba(232, 72, 63, 0.2);
}

.criterion-header {
  display: grid;
  gap: 0.2rem;
}

.criterion-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}

.criterion-desc {
  font-size: 0.8rem;
  color: var(--ink-muted);
  line-height: 1.3;
}

.actions {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
  .onboarding-shell {
    grid-template-columns: 1fr;
  }

  .onboarding-aside {
    position: static;
  }
}

