/* Welcome — frame 23:2508. */
.welcome { position: relative; min-height: calc(100svh - 2px); width: 100%; display: flex; align-items: center; justify-content: center; gap: 199px; padding: 100px 60px; }
.welcome > .brand { position: absolute; top: 40px; left: 48px; }
.welcome-story { width: 520px; flex-shrink: 0; display: flex; flex-direction: column; gap: 20px; }
.welcome-graph { width: 520px; height: 340px; position: relative; }
.welcome-graph > img { position: absolute; left: 0; top: 0; }
.welcome-graph .motif-image { position: absolute; width: 64px; height: 64px; }
.welcome-graph .forest { left: 90px; top: 80px; width: 60px; height: 60px; }
.welcome-graph .ocean { left: 270px; top: 40px; }
.welcome-graph .stranger { left: 400px; top: 170px; }
.welcome-graph .door { left: 220px; top: 270px; }
.welcome h1 { font-size: 54px; line-height: 58.32px; }
.welcome-lead { color: var(--body); font-size: 18px; line-height: 27px; white-space: nowrap; }
.auth { width: 400px; height: 474px; flex-shrink: 0; position: relative; padding: 36px; }
.auth h2 { margin-bottom: 10px; }
.auth label { display: block; color: var(--muted); font-size: 13px; margin: 5px 0 14px; }
.auth input { width: 100%; padding: 13px 16px; border-radius: 10px; height: 51px; color: #cfd3ef; }
.auth .password-label { margin-top: 14px; }
.auth .continue { margin-top: 18px; height: 45px; min-height: 45px; }
.auth .google { margin-top: 17.5px; height: 47px; }
.auth .auth-foot { text-align: center; font-size: 13px; line-height: 19.5px; color: var(--muted); margin-top: 9px; }
.auth .privacy { margin-top: 10px; }
.auth-foot button { text-decoration: underline; color: inherit; padding: 0; font-size: inherit; }
.auth-error { color: var(--rose); font-size: 12px; position: absolute; left: 36px; bottom: 9px; right: 36px; }
/* Home — frame 23:2562. */
.home-top { display: flex; gap: 20px; }
.record-card { width: 330px; height: 380px; padding: 22px; flex-shrink: 0; text-align: center; }
.record-card > p { color: var(--muted); margin-top: 11.5px; }
.mic-halo { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; border: 1px solid var(--accent); border-radius: 50%; box-shadow: 0 0 0 12px rgba(174,149,246,.1); margin: 26px auto 25.5px; }
.record-card .record-label { display: block; margin-bottom: 11.5px; }
.record-card .or { margin: 0 0 11.5px; font-size: 13px; line-height: 19.5px; }
.home-constellation { height: 380px; min-width: 0; flex: 1; position: relative; }
.home-constellation > h2 { padding: 22px 24px 0; }
.mini-network { position: absolute; top: 0; left: 0; width: 470px; height: 420px; }
.mini-network .connectors { position: absolute; top: 50px; left: 0; pointer-events: none; }
.mini-node { position: absolute; display: flex; flex-direction: column; align-items: center; font-size: 13px; line-height: 19.5px; padding: 0; }
.mini-node .motif-image { width: 56px; height: 56px; margin-bottom: 3px; }
.mini-node .node-name { font-weight: 500; }
.mini-node .node-count { color: var(--muted); }
.mini-node.selected .motif-image { border-color: var(--accent); box-shadow: 0 0 0 5px rgba(174,149,246,.18); }
.mini-node[data-motif="house"] .motif-image { width: 76px; height: 76px; }
.mini-node[data-motif="ocean"] { left: 275px; top: 100px; }
.mini-node[data-motif="stranger"] { left: 140px; top: 175px; }
.mini-node[data-motif="house"] { left: 218px; top: 213px; }
.mini-node[data-motif="forest"] { left: 170px; top: 315px; }
.mini-node[data-motif="door"] { left: 320px; top: 300px; }
.home-evidence { position: absolute; right: 20px; top: 20px; width: 290px; height: 342px; border: 1px solid var(--border-control); border-radius: 12px; background: var(--inset); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.home-evidence > p { font-size: 13px; color: var(--muted); line-height: 19.5px; margin: 0 0 0.5px; }
.home-evidence .source { height: 58px; flex-shrink: 0; }
.home-evidence .button { margin-top: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: center; }
.recent-grid { margin-top: 0; }
/* Journal — frame 23:2737. */
.journal-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.journal-tabs { display: flex; gap: 26px; height: 32.5px; align-self: center; }
.journal-tabs a,.journal-tabs button { padding: 0 0 10px; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.journal-tabs .active { border-color: var(--accent); color: #fff; }
.filters { display: flex; gap: 8px; align-items: center; }
.filters select { border-radius: 20px; padding: 9px 16px; font-size: 14px; line-height: 21px; background: transparent; color: #cfd3ef; cursor: pointer; }
.filters option { background: var(--inset); }
.journal-grid { flex: 1; grid-auto-rows: minmax(247px,1fr); }
.journal-grid .card-image { height: 90px; }
.journal-view { min-height: calc(100svh - 58px); }
.filter-summary { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
/* Dream detail — frame 23:3019. */
.detail-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 20px; }
.detail-hero { width: 100%; height: 260px; border-radius: 12px; object-fit: cover; }
.original { display: flex; flex-direction: column; gap: 10.89px; }
.original p { font: 400 17px/28.9px var(--heading); color: #dfe2f7; }
.reading { height: 160.5px; }
.reading > p { color: var(--muted); margin-top: 12px; margin-bottom: 14px; }
.connected { display: flex; flex-direction: column; gap: 12px; }
.connected .source { min-height: 58px; }
/* Storyline — frame 23:3422. */
.chapter-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; align-items: start; }
.chapter { padding-top: 26px; position: relative; }
.chapter::before { content: ''; position: absolute; top: 0; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(114,218,203,.17); }
.chapter-card { overflow: clip; }
.chapter-card .card-image { height: 150px; }
.chapter-copy { padding: 15px 20px; display: flex; flex-direction: column; gap: 6.5px; margin-top: 12px; }
.chapter-copy time { font-size: 13px; line-height: 19.5px; color: var(--muted); }
.chapter-copy p { color: var(--muted); }
.chapter-copy .tag { display: block; }
.chapter-copy .tags { display: block; }
.emotional-arc { padding: 22px; }
.arc-slot { height: 109px; margin-top: 12px; position: relative; overflow: hidden; }
.arc-slot img { position: absolute; top: 17.738px; left: 0; }
.arc-drawing { transform: scale(var(--arc-scale,1)); transform-origin: 0 50%; height: 109px; }
/* Later-phase route destinations provide navigation without claiming completed flows. */
.destination { max-width: 820px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.destination p { color: var(--body); }
.destination textarea { border-radius: 10px; padding: 16px; min-height: 180px; resize: vertical; }
.memory-note { max-width: 640px; }
