/* Generate: your session, made */
.ge { display: grid; gap: 18px; padding-top: 16px; padding-bottom: 48px; }
.ge-head { display: grid; gap: 6px; }
.ge-title { font: var(--display, 400) 38px/1.04 var(--serif); letter-spacing: var(--title-track, -0.01em); text-wrap: balance; }
/* the items and their separators are .dots */
.ge-meta { gap: 4px 0; font: 12px/1.4 var(--mono); color: var(--muted); }

.ge-steps { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; gap: 6px; }
.ge-steps li { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.ge-steps li + li::before { content: ""; width: 14px; height: 1px; background: var(--line); margin-right: 1px; }
.ge-steps-dot { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); font: 11px/1 var(--mono); color: var(--muted); background: var(--sheet); }
.ge-steps-dot svg { width: 13px; height: 13px; }
.ge-steps li.is-done { color: var(--soft); }
.ge-steps li.is-done .ge-steps-dot { border-color: var(--deep); background: var(--deep); color: var(--paper); }
.ge-steps li.is-now { color: var(--ink); font-weight: 500; }
.ge-steps li.is-now .ge-steps-dot { border-color: var(--ai); color: var(--ai-ink); background: var(--ai-soft); box-shadow: 0 0 0 3px var(--ai-soft); }

.ge-progress { display: grid; gap: 10px; }
.ge-progress-top { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; font-size: 14px; color: var(--soft); }
.ge-progress-top b { font-weight: 500; color: var(--ink); }
.ge-left { flex: none; font: 12px var(--mono); color: var(--muted); }
.ge-bar { height: 4px; border-radius: 2px; background: var(--ai-soft); overflow: hidden; }
.ge-bar i { display: block; height: 100%; background: var(--ai); }

.ge-writing { position: relative; display: grid; align-content: end; gap: 10px; min-height: 280px; padding: 18px 18px 16px; border: 1px solid var(--line); border-radius: calc(20px * var(--round, 1)); background: var(--sheet); overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%); mask-image: linear-gradient(to bottom, transparent 0, #000 30%); }
.ge-line { display: grid; gap: 3px; font: 400 19px/1.3 var(--serif); color: var(--ink); }
.ge-line.is-yours { padding: 8px 12px; margin: 0 -6px; border-radius: calc(12px * var(--round, 1)); background: var(--free-soft); color: var(--free-ink); font-style: italic; box-shadow: inset 3px 0 0 var(--free); }
.ge-yours-tag { font: normal 500 10px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--free-ink); }
.ge-line-next { min-height: 20px; }
.ge-caret { display: block; width: 46%; height: 10px; margin-top: 6px; border-radius: 5px; background: var(--wash); }

.ge-curve { position: relative; }
.ge-curve-base, .ge-curve-fill { position: absolute; inset: 0; }
.ge-curve-base .curve-area { fill: rgb(31 58 48 / 0.04); }
.ge-curve-base .curve-line { stroke: var(--line); }
.ge-curve-fill .curve-area { fill: rgb(31 58 48 / 0.14); }

.ge-phases { margin: 0; padding: 0; list-style: none; display: grid; border-top: 1px solid var(--line); }
.ge-phases li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 4px 10px; padding: 9px 2px; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.ge-ph-mark { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line); }
.ge-ph-mark { font: 500 10px/1 var(--mono); font-variant-numeric: tabular-nums; }
.ge-ph-mark svg { width: 12px; height: 12px; }
.ge-ph-min { font: 11.5px var(--mono); }
.ge-phases li.is-done { color: var(--soft); }
.ge-phases li.is-done .ge-ph-mark { border-color: var(--deep); background: var(--deep); color: var(--paper); }
.ge-phases li.is-now { color: var(--ink); font-weight: 500; }
.ge-phases li.is-now .ge-ph-mark { border-color: var(--deep); box-shadow: inset 0 0 0 4px var(--sheet); background: var(--deep); }
.ge-ph-bar { grid-column: 2 / -1; height: 2px; background: var(--ai-soft); border-radius: 1px; overflow: hidden; }
.ge-ph-bar i { display: block; height: 100%; background: var(--ai); }

.ge-yours { display: grid; gap: 10px; padding: 16px 18px; border-radius: calc(20px * var(--round, 1)); background: var(--free-soft); }
.ge-yours-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; }
.ge-yours-head .label { color: var(--free-ink); }
.ge-yours-where { font-size: 12.5px; color: var(--muted); }
.ge-yours-line { display: grid; gap: 2px; font: italic 400 19px/1.3 var(--serif); color: var(--free-ink); }
.ge-yours-line span { font: normal 11px/1.3 var(--mono); color: var(--muted); }

.ge-ready { display: grid; gap: 14px; }
.ge-ready .player { border-color: var(--deep); box-shadow: 0 12px 34px rgb(31 58 48 / 0.12); }
.ge-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ge-actions .btn { padding-inline: 12px; font-size: 15px; }
.ge-next { display: grid; gap: 14px; }
.ge-free { display: grid; gap: 8px; padding: 18px; border-radius: calc(20px * var(--round, 1)); background: var(--free-soft); }
.ge-free .label { color: var(--free-ink); }
.ge-edit-lead { font: 400 21px/1.25 var(--serif); color: var(--free-ink); text-wrap: pretty; }
.ge-free .btn { justify-self: start; margin-top: 4px; border-color: transparent; color: var(--free-ink); }
.ge-ai { display: grid; gap: 6px; padding: 14px 18px; border: 1px solid var(--ai-soft); border-radius: calc(20px * var(--round, 1)); background: var(--sheet); }
.ge-ai .label { color: var(--ai-ink); }
.ge-ai-note { font-size: 14px; line-height: 1.45; color: var(--soft); }
.ge-ai-note b { font: 500 13.5px var(--mono); color: var(--ai-ink); }
.ge-tag-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ge-from { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--muted); }
.ge-from svg { width: 16px; height: 16px; flex: none; color: var(--deep); }
/* the parent's name is a 44 px tap target, like the same link on the version page */
.ge-link { display: inline-flex; align-items: center; min-height: 44px; border: 0; background: none; padding: 0; color: var(--deep); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; font: inherit; }
.ge-offer .pd-passkey { background: transparent; }

@container app (min-width: 700px) {
  .ge-desk { grid-template-columns: minmax(0, 1fr) 440px; gap: 56px; align-items: start; padding-top: 44px; padding-bottom: 80px; }
  .ge-main { display: grid; gap: 22px; min-width: 0; }
  .ge-side { position: sticky; top: 96px; display: grid; gap: 16px; }
  .ge-side-head { display: flex; justify-content: space-between; align-items: baseline; }
  .ge-count { font: 12px var(--mono); color: var(--muted); }
  .ge-title { font-size: 60px; }
  .ge-steps li { font-size: 14px; }
  .ge-writing { min-height: 420px; }
  .ge-actions { grid-template-columns: auto auto; justify-content: start; }
  .ge-actions .btn { padding-inline: 22px; }
}
.ge-plan { display: grid; gap: 8px; }
.ge-plan .curve-labels { padding: 0 7px; }
.ge-listen { font: var(--display, 400) 28px/1.1 var(--serif); letter-spacing: var(--title-track, normal); }
.ge-asked { display: grid; gap: 8px; padding: 18px 20px; border: 1px solid var(--line); border-radius: calc(20px * var(--round, 1)); background: var(--sheet); }
.ge-asked-wish { font: italic 400 24px/1.25 var(--serif); color: var(--deep); }
.ge-asked-state { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.ge-asked-state b { font-weight: 500; color: var(--ink); }
.ge-asked-state svg { width: 16px; height: 16px; color: var(--deep); flex: none; }
.ge-asked-dot { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--deep); flex: none; }
.ge-asked.is-woven { border-color: var(--free); background: var(--free-soft); }
.ge-asked.is-woven .ge-asked-wish, .ge-asked.is-woven .ge-asked-state svg { color: var(--free-ink); }
@container app (min-width: 700px) { .ge-listen { font-size: 34px; } }

/* the voice service gave up: said plainly, the credits back, one step to try again */
.ge-failed { display: grid; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: calc(20px * var(--round, 1)); background: var(--sheet); }
.ge-failed-why { margin: 0; font-size: 17px; color: var(--ink); }
.ge-failed-back { display: flex; gap: 8px; align-items: flex-start; margin: 0; color: var(--free-ink); }
.ge-failed-back svg { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.ge-failed .ge-actions { grid-template-columns: 1fr; }
@container app (min-width: 700px) {
  .ge-failed .ge-actions { grid-template-columns: auto auto; justify-content: start; }
}
