[hidden]{display:none!important} .muted{color:var(--muted)} .side-detail{font-size:12px;line-height:1.65;margin:10px 0 22px;color:#c1c2d1;overflow-wrap:anywhere} .document{white-space:pre-wrap;margin:0;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;line-height:1.9;overflow-wrap:anywhere}audio{width:100%;max-width:640px;min-width:160px;height:42px}.page-shell{width:min(1120px,calc(100% - 40px));margin:0 auto;padding:125px 0 70px}.simple-nav{position:relative;top:20px;transform:none;left:auto;margin:auto}.form-card{max-width:540px;margin:30px auto;padding:36px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(135deg,#191a23,#111216)}.page-title{font-size:clamp(38px,6vw,66px);line-height:1.05;letter-spacing:-.06em;font-weight:550;margin:0 0 22px}.form-card h1{font-size:38px;letter-spacing:-.05em;margin:0 0 20px}.intro{color:var(--muted);line-height:1.8;font-size:15px}.field{display:block;font-size:13px;color:#d5d5e2;margin:22px 0 8px}input,textarea,select{font:inherit;color:var(--ink);background:#0e0f14;border:1px solid #353744;border-radius:10px;padding:13px 14px;max-width:100%}input:not([type=checkbox]),textarea,select{width:100%}textarea{resize:vertical;line-height:1.7}input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--soft);outline-offset:3px}.check{display:flex;gap:12px;align-items:flex-start;margin:19px 0;font-size:13px;line-height:1.7;color:#bcbeca}.check input{margin-top:5px;flex:none}.check a,.intro a,.policy a,.text-link{text-decoration:underline;text-underline-offset:3px}.form-card .pill{width:100%;margin:12px 0}#auth-form .check{margin-bottom:0}#auth-form .pill{margin-top:22px}button:disabled{opacity:.5;cursor:wait;transform:none}.notice{color:#c8cbe8;line-height:1.7;font-size:13px;border-left:2px solid var(--soft);padding:10px 15px;background:#b8bce008}.error{color:#f0b8b8;white-space:pre-wrap}.notice:empty,.error:empty{display:none}.app-shell{width:min(1250px,calc(100% - 48px));margin:65px auto 60px}.app-heading{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:28px}.app-heading h1{margin:8px 0 0;font-size:clamp(36px,5vw,58px);letter-spacing:-.055em;font-weight:550}.app-heading p{margin:12px 0 0}.app-heading .tiny{color:var(--soft)}.program-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:24px 0}.program-row select{width:auto;max-width:480px}.secondary{background:#191b24;border:1px solid #383b4c;color:#d7d9e9;border-radius:10px;padding:11px 16px;font-size:12px}.secondary:hover{background:#252837}.workspace{max-width:none;margin:25px 0}.workspace .editor-main{grid-template-columns:minmax(220px,30%) minmax(0,1fr);min-height:580px}.workspace .editor-content{min-width:0;position:relative}.workspace .editor-side{padding:26px 22px}.workspace .side-head{margin:16px 0 12px}.workspace .editor-meta{gap:15px;flex-wrap:wrap}.pane{min-height:490px;max-height:650px;overflow-y:auto;padding:24px}.message{padding:15px 18px;margin:0 0 17px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;font-size:14px;border:1px solid var(--line);border-radius:12px;background:#181922}.message.user{margin-left:35px;background:#222431}.message small{display:block;color:var(--soft);font-size:10px;text-transform:uppercase;letter-spacing:1.5px;margin-bottom:8px}.composer{padding:20px;border-top:1px solid var(--line)}.composer textarea{min-height:92px;max-height:220px;background:#101116}.composer-actions{display:flex;gap:12px;justify-content:space-between;margin-top:14px;flex-wrap:wrap}.composer .pill{padding:11px 20px;font-size:12px}.editor-text{border:0;border-radius:0;background:transparent;min-height:520px;width:100%;font:13px/1.9 ui-monospace,SFMono-Regular,Consolas,monospace;padding:0;resize:vertical}.editor-text:focus-visible{outline-offset:5px}.locked-preview{position:relative;max-height:520px;overflow:hidden}.placeholder-lines{font:13px/2 ui-monospace,monospace;color:#5d6075;user-select:none;opacity:.4;filter:blur(2px)}.lock-panel{padding:25px;border:1px solid #4b4d62;border-radius:14px;background:#20222e;margin:20px 0}.lock-panel h3{font-size:23px;font-weight:500;letter-spacing:-.6px;margin:0 0 10px}.lock-panel p{font-size:13px;line-height:1.8;color:#bfc1d0}.lock-panel .pill{font-size:13px;padding:13px 18px}.workspace .audio-bar{flex-wrap:wrap}.actions-row{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.policy{max-width:760px;line-height:1.8}.policy h2{font-size:23px;letter-spacing:-.5px;margin:35px 0 10px}.policy p,.policy li{color:#b4b6c3}.small-footer{border-top:1px solid var(--line);padding:24px 20px;text-align:center;color:var(--muted);font-size:12px}.small-footer a{margin:0 8px}.new-program{max-width:640px;padding:30px;border:1px solid var(--line);border-radius:16px;margin:30px 0;background:var(--panel)}.new-program h2{letter-spacing:-1px;font-size:27px;margin-top:0}.new-program .pill{margin-top:18px}.account-panel{margin-top:35px;border-top:1px solid var(--line);padding-top:25px}.account-panel summary{cursor:pointer}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:20px}.danger{color:#f0b8b8;border-color:#68474f}.tabs{display:flex;gap:8px}.tabs button[aria-pressed=true]{background:#36394b;color:#fff}.fade-end{height:55px;background:linear-gradient(transparent,#14151d);margin-top:-55px;position:relative;pointer-events:none}.status-copy{font-size:12px;color:var(--soft)}.empty-state{padding:65px 30px;color:var(--muted);line-height:1.8}.no-motion .reveal{opacity:1}
@media(max-width:800px){.page-shell{padding:70px 0 40px}.simple-nav .navlinks{display:flex;gap:15px}.simple-nav{width:calc(100% - 24px)}.form-card{padding:25px 23px}.app-shell{width:calc(100% - 28px);margin-top:55px}.app-heading{display:block}.app-heading>div+div{margin-top:20px}.workspace .editor-main{display:flex;flex-direction:column}.workspace .editor-side{display:block;border-right:0;border-bottom:1px solid var(--line);padding:15px 20px}.workspace .editor-side .side-detail{margin-bottom:12px}.workspace .pane{max-height:560px;min-height:350px;padding:20px}.account-grid{grid-template-columns:1fr}.audio-bar{padding:17px}.message.user{margin-left:15px}.editor-main .document{height:400px}.hero .lead{max-width:600px}.nav>.pill.small{white-space:normal;max-width:120px;line-height:1.3;text-align:center}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.editor-main{grid-template-columns:32% minmax(0,1fr)}
@media(max-width:800px){.editor-main{display:flex;flex-direction:column}.editor-side{display:block;border-right:0;border-bottom:1px solid var(--line);padding:20px}.editor-side .side-head{margin-top:12px}.editor-side .side-detail{margin-bottom:15px}}


/* Original homepage FAQ: only the section columns use a grid. */
#homepage-faq {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(24px, 4vw, 56px);
  min-height: 0;
  padding: 120px 0;
  scroll-margin-top: 132px;
}

#homepage-faq .faq-items {
  min-width: 0;
}

#homepage-faq details {
  border-bottom: 1px solid var(--line);
}

#homepage-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}

#homepage-faq summary::-webkit-details-marker {
  display: none;
}

#homepage-faq summary::after {
  content: '+';
  flex: none;
  font-size: 22px;
  line-height: 1;
}

#homepage-faq details[open] > summary::after {
  content: '−';
}

#homepage-faq summary:focus-visible {
  outline: 2px solid var(--soft);
  outline-offset: 4px;
}

#homepage-faq p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

#homepage-faq .faq-examples {
  margin: 0 0 22px;
  padding-left: 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

#homepage-faq .faq-examples li + li {
  margin-top: 8px;
}

#homepage-faq p a {
  color: var(--soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 800px) {
  #homepage-faq {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 85px 0;
  }

  #homepage-faq summary {
    font-size: 17px;
  }
}


#demo .editor-side .side-head {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  margin: 24px 0 12px;
}

#demo .editor-side .side-head:first-child {
  margin-top: 0;
}

/* Private pages reuse the homepage editor's glass gradient and surface colors. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
body[data-page="app"] .simple-nav,
body[data-page="settings"] .simple-nav,
.app-footer .wrap { width: min(1200px, calc(100% - 64px)); }
.workspace-shell { width: calc(100% - clamp(40px, 4vw, 64px)); max-width: none; }
body[data-page="app"] .simple-nav,
body[data-page="settings"] .simple-nav { position: relative; top: 0; left: auto; transform: none; margin: 22px auto 0; height: auto; min-height: 62px; gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
body[data-page="app"] .navlinks,
body[data-page="settings"] .navlinks { gap: 20px; flex-wrap: wrap; }
.navlinks a[aria-current="page"] { color: white; }
.nav-menu-toggle { display: none; }
.logout-link { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.logout-link svg { flex: none; }
.logout-link:hover { color: var(--soft); }
.app-footer { border-top: 0; }
body[data-page="app"] { height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
body[data-page="app"] .workspace-shell { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
.workspace-shell { margin: 20px auto 12px; font-size: 1.0625rem; line-height: 1.6; }
.workspace-shell .workspace { margin: 0; max-width: none; border-radius: 23px; overflow: hidden; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
body[data-page="app"] .app-footer { flex: none; padding: 8px 0 16px; }
.workspace-shell .workspace-header { height: auto; min-height: 57px; padding: 13px 20px; gap: 18px; background: #ffffff03; border-radius: 22px 22px 0 0; }
.workspace-heading { display: flex; align-items: center; justify-content: center; gap: 14px; flex: 1; min-width: 0; }
.workspace-heading h1 { color: #aaaab9; font-size: 1rem; font-weight: 400; line-height: 1.5; letter-spacing: 0; margin: 0; overflow-wrap: anywhere; text-align: center; }
.conversation-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex: none; padding: 11px 22px; border: 1px solid #ffffff26; border-radius: 999px; background: transparent; color: #bfc1d0; font: inherit; font-size: 14px; line-height: 1.5; cursor: pointer; transition: background-color 150ms ease, color 150ms ease; }
.conversation-toggle:hover { background: #ffffff0a; color: var(--ink); }
.conversation-toggle[aria-pressed="true"] { background: #64628799; color: #fff; border-color: #ffffff12; }
.conversation-toggle:focus-visible { outline: 2px solid var(--soft); outline-offset: 3px; }
.program-name { display: flex; align-items: center; min-width: 0; }
.rename-program { cursor: pointer; display: flex; align-items: center; min-width: 0; max-width: 100%; padding: 0; border: 0; border-radius: 6px; color: inherit; background: transparent; font: inherit; text-align: inherit; }
.rename-icon { flex: none; width: 32px; height: 32px; padding: 8px; color: var(--soft); opacity: 0; transition: opacity 180ms ease; }
.program-name:hover .rename-icon, .program-name:focus-within .rename-icon { opacity: 1; }
.rename-program:focus-visible { outline: 2px solid var(--soft); }
.rename-dialog { width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 28px; color: var(--ink); background: #171821; border: 1px solid #454858; border-radius: 16px; }
.rename-dialog::backdrop { background: #0009; }
.rename-dialog h2 { margin: 0 0 12px; font-size: 20px; font-weight: 500; }
.rename-dialog p { font-size: 15px; line-height: 1.6; color: #bfc1d0; }
.rename-dialog .error { color: #f0b8b8; }
.recording-dialog .recording-alert { width: 32px; height: 32px; margin-bottom: 16px; color: #e1bf8b; }
.recording-dialog .pill { width: 100%; justify-content: center; margin-top: 20px; }
.rename-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.rename-actions .pill,
.rename-actions .secondary { border-radius: 999px; font-size: 14px; padding: 11px 20px; }
.calendar-menu { display: flex; align-items: center; gap: 15px; width: 100%; border: 0; padding: 0; color: inherit; background: transparent; font: inherit; text-align: left; cursor: pointer; }
.calendar-menu:hover, .calendar-menu[aria-current="true"] { color: var(--soft); }
.calendar-menu:focus-visible { outline: 2px solid var(--soft); outline-offset: 4px; }
#calendar-section { flex: 1 1 auto; min-height: 0; width: 100%; max-width: 850px; align-self: center; padding: 32px clamp(20px, 4vw, 48px); overflow-y: auto; overscroll-behavior: contain; container-type: inline-size; }
.workspace-calendar h2 { margin: 0; font-size: 26px; font-weight: 500; letter-spacing: -.03em; }
.workspace-calendar .calendar-description { margin: 12px 0 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.workspace-calendar .daygrid { grid-template-columns: repeat(11, minmax(0, 1fr)); margin: 24px 0 0; }
.workspace-calendar .listening-day { position: relative; width: 100%; min-width: 0; padding: 0; border-radius: 6px; font-size: 14px; cursor: pointer; }
.workspace-calendar .listening-day.done { font-size: 25px; }
@container (max-width: 540px) { .workspace-calendar .daygrid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.workspace-calendar .listening-day:hover { border-color: var(--soft); color: var(--ink); }
.workspace-calendar .listening-day.done:hover { color: #222436; }
.workspace-calendar .listening-day:focus-visible { outline: 2px solid var(--soft); outline-offset: 2px; }
.workspace-calendar .listening-day:disabled { cursor: default; opacity: .5; }
.workspace-calendar .day-note { position: absolute; top: -8px; right: -1px; width: 23px; height: 23px; stroke: #090a0c; stroke-width: .8px; fill: white; }
.workspace-calendar .status-copy { margin: 10px 0 0; }
.listening-dialog-heading { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.close-listening { display: grid; place-items: center; flex: none; width: 28px; height: 28px; padding: 4px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; }
.close-listening:hover { color: var(--ink); }
.listening-dialog label { display: block; margin: 20px 0 8px; font-size: 14px; }
.listening-dialog textarea { display: block; min-height: 112px; resize: vertical; font-size: 16px; line-height: 1.5; }
.listening-dialog .listening-note-count { margin: 6px 0 0; text-align: right; font-size: 12px; color: var(--muted); }
.listening-dialog .rename-actions { align-items: center; }
.listening-dialog .rename-actions button { min-width: 80px; min-height: 44px; line-height: 1.4; }
@media (hover: none) { .rename-icon { opacity: 1; } }
.workspace-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px; min-width: 0; }
.workspace-actions select { width: 180px; font-size: .875rem; padding: 7px 10px; }
.workspace-drawer-toggle,
.workspace-mobile-title,
.workspace-mobile-drawer { display: none; }
.workspace-shell .workspace-header,
.workspace-shell .workspace-player { flex: none; }
.workspace-shell .editor-main { grid-template-columns: var(--sidebar-width, 280px) 1px minmax(0, 1fr); flex: 1 1 auto; min-height: 0; }
.workspace-shell .editor-side { display: block; padding: 23px 17px; border-right: 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.workspace-shell .side-head { display: flex; align-items: center; gap: 15px; font-size: 20px; font-weight: 600; line-height: 1.4; letter-spacing: 0; color: var(--ink); margin: 0 0 12px; }
.side-icon { flex: none; width: 20px; height: 20px; }
.sidebar-section > summary { display: block; list-style: none; cursor: pointer; border-radius: 4px; }
.sidebar-section > summary::-webkit-details-marker { display: none; }
.sidebar-section > summary:focus-visible { outline: 2px solid var(--soft); outline-offset: 4px; }
.sidebar-section > summary:hover .side-head { color: var(--soft); }
.sidebar-section .section-chevron,
.calendar-menu .section-chevron { flex: none; margin-left: auto; color: var(--muted); transform: rotate(-90deg); transition: transform 220ms ease; }
.sidebar-section[open] .section-chevron { transform: rotate(0); }
.sidebar-section.is-collapsing .section-chevron { transform: rotate(-90deg); }
.workspace-shell .sidebar-section .side-head { margin-bottom: 0; }
.sidebar-section > div { display: flow-root; padding-top: 12px; }
.workspace-shell .editor-side section + section { border-top: 0; padding-top: 24px; margin-top: 0px; }
.workspace-shell .side-item { display: block; width: 100%; margin: 3px 0; text-align: left; font-size: 16px; line-height: 1.6; font-weight: 400; background: transparent; border: 0; padding: .8em; overflow-wrap: anywhere; }
.workspace-shell .side-item:hover { background: #ffffff05; }
.workspace-shell .side-item.on { background: #292b3b; color: #e0e2f4; }
.workspace-shell .side-item .finding-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: inherit; margin: 0; }
.finding-status { display: block; font-size: 14px; line-height: 1.5; margin-top: 3px; color: #a9adc3; opacity: .5; }
.workspace-shell .side-detail { font-size: 1em; margin: 0; line-height: 1.6; color: #a9adc3; }
.workspace-shell .sidebar-placeholder { opacity: .5; padding-left: 1em; }
.sidebar-divider { position: relative; z-index: 1; background: var(--line); cursor: col-resize; touch-action: none; }
.sidebar-divider::after { content: ''; position: absolute; inset: 0 -5px; }
.sidebar-divider:hover, .sidebar-divider:focus-visible, .is-resizing .sidebar-divider { background: var(--soft); outline: none; }
.workspace-shell .is-resizing, .workspace-shell .is-resizing * { cursor: col-resize !important; user-select: none; }
.workspace-shell .editor-content { padding: 0; display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; min-height: 0; background: transparent; overflow: hidden; }
.workspace-notices { flex: none; padding: 0 32px; }
.workspace-notices:has(p:not(:empty)) { padding-top: 20px; }
#chat-section, #script-section, #finding-section { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.workspace-shell .conversation-scroll { flex: 1 1 auto; height: auto; min-height: 0; max-height: none; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 28px 32px 12px; overflow-wrap: anywhere; }
.conversation-content { width: 100%; max-width: 820px; margin-inline: auto; }
.workspace-shell .message { border: 0; background: transparent; padding: 8px 0; margin: 0 0 28px; font-size: 18px; line-height: 1.6; color: #e0e1ec; }
.workspace-shell .message.user { width: fit-content; max-width: 88%; margin-left: auto; background: #ffffff08; border-radius: 16px; padding: 13px 17px; }
.message-body { white-space: pre-wrap; }
.workspace-shell .message > small { letter-spacing: 0; text-transform: none; font-size: 14px; color: #a9adc3; margin-bottom: 8px; }
.context-summary { border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 24px; font-size: 1.0625rem; line-height: 1.6; }
.context-summary h2 { font-size: 1.125rem; line-height: 1.5; font-weight: 550; margin: 0 0 10px; }
.context-summary p { margin: 8px 0; color: #bfc1d0; }
.context-summary blockquote { border-left: 2px solid #55596e; margin: 12px 0; padding-left: 12px; color: var(--muted); white-space: pre-wrap; }
#finding-section .conversation-scroll { padding: 40px 40px 32px; }
.goal-detail { border-bottom: 0; margin: 0; padding: 0; }
.goal-kicker, .goal-detail-row h3, .goal-evidence h3 { margin: 0; color: #9a9eaf; font-size: 13px; font-weight: 600; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; }
.goal-summary h2 { margin: 12px 0 0; color: #f4f3ff; font-size: 26px; font-weight: 600; line-height: 1.35; letter-spacing: -.02em; overflow-wrap: anywhere; }
.goal-status { display: inline-block; margin: 16px 0 0; padding: 3px 10px; border: 1px solid #ffffff1c; border-radius: 999px; color: #b4b7cd; font-size: 13px; line-height: 1.4; }
.goal-details { margin-top: 32px; }
.goal-detail-row + .goal-detail-row { margin-top: 22px; padding-top: 22px; border-top: 1px solid #ffffff12; }
.goal-detail-row h3 { margin-bottom: 8px; }
.goal-detail .goal-detail-row p { margin: 0; color: #e0e1ec; font-size: 18px; line-height: 1.5; }
.goal-evidence { margin-top: 36px; }
.goal-evidence h3 { margin-bottom: 16px; }
.goal-detail .goal-evidence blockquote { margin: 0; padding: 14px 16px; border: 0; border-left: 2px solid #55596e; border-radius: 0 12px 12px 0; background: #ffffff08; color: #c5c7d6; font-size: 16px; line-height: 1.5; white-space: pre-wrap; }
.goal-detail .goal-evidence blockquote + blockquote { margin-top: 12px; }
.obstacle-classifications { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.obstacle-classification { padding: 3px 10px; border: 1px solid #ffffff16; border-radius: 999px; background: #ffffff05; color: #b4b7cd; font-size: 13px; line-height: 1.4; }
.obstacle-entry + .obstacle-entry { margin-top: 16px; }
.obstacle-context, .obstacle-provisional { display: block; margin-bottom: 6px; color: #a9adc3; font-size: 14px; line-height: 1.5; }
.obstacle-detail .obstacle-desired { border-left: 2px solid var(--soft); padding-left: 16px; }
.obstacle-detail .obstacle-desired p { color: #ededff; font-weight: 500; }
.goal-detail .obstacle-description { margin-top: 24px; font-size: 18px; line-height: 1.5; }
.obstacle-shield { position: relative; display: flex; flex-direction: column; flex: 0 1 auto; max-height: 100%; padding-bottom: 108px; overflow: clip; }
.obstacle-preview { flex: 0 1 auto; min-height: 0; overflow: clip; -webkit-mask-image: linear-gradient(to bottom, #000, transparent); mask-image: linear-gradient(to bottom, #000, transparent); }
#finding-section .conversation-scroll:has(.obstacle-shield) { display: flex; flex-direction: column; overflow: clip; }
#finding-section .conversation-scroll:has(.obstacle-shield) > .conversation-content { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.obstacle-detail:has(.obstacle-shield) { display: flex; flex-direction: column; flex: 0 1 auto; max-height: 100%; min-height: 0; margin-bottom: 0; overflow: hidden; }
.goal-detail .obstacle-preview-description { margin: 32px 0 0; max-height: 4.5em; overflow: hidden; color: #e0e1ec; font-size: 18px; line-height: 1.5; }
.obstacle-shield-action { position: absolute; inset: auto 0 0; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.goal-detail .obstacle-shield-action p { margin: 0; color: #c5c7d6; font-size: 16px; line-height: 1.5; }
.obstacle-shield-action .pill { min-height: 44px; padding: 12px 24px; font-size: 15px; cursor: pointer; }
.workspace-shell .composer { width: 100%; max-width: 884px; margin: 0 auto; padding: 8px 32px 16px; background: transparent; border-top: 0; flex: none; }
.workspace-shell .composer .intro { font-size: .9375rem; margin-top: 0; }
.message-input { display: flex; align-items: flex-end; gap: 8px; background: #1a1b26; border: 1px solid #3a3d4c; border-radius: 26px; padding: 6px 6px 6px 16px; box-shadow: 0 3px 16px #0006; }
.message-input:focus-within { border-color: #b8bce055; }
.workspace-shell #chat-input { display: block; flex: 1 1 auto; width: auto; min-width: 0; height: 36px; min-height: 36px; max-height: 204px; overflow-x: hidden; overflow-y: hidden; padding: 6px 4px; margin: 0; background: transparent; border: 0; border-radius: 0; resize: none; font-size: 16px; line-height: 24px; outline: none; box-shadow: none; }
.workspace-shell #chat-input::placeholder { color: #888b9d; }
.workspace-shell #chat-input:placeholder-shown { white-space: nowrap; text-overflow: ellipsis; }
.workspace-shell .composer-actions { display: flex; align-items: center; justify-content: flex-end; flex: none; gap: 8px; margin: 0; }
.workspace-shell #review { margin-right: auto; font-size: .875rem; padding: 7px 10px; background: transparent; border-color: #ffffff14; }
.send-message { position: relative; width: 36px; height: 36px; display: grid; place-items: center; flex: none; padding: 0; border: 0; border-radius: 50%; background: #e1e3f2; color: #161822; font-size: 0; line-height: 0; overflow: hidden; }
.send-message::before { content: '↑'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; font-weight: 600; line-height: 1; }
.send-message:hover { background: #fff; }
.send-message:disabled { cursor: default; opacity: .35; }
.workspace-guidance { width: 100%; max-width: 884px; padding: 0 32px 12px; margin: 0 auto; flex: none; color: #b4b7cd; font-size: .875rem; line-height: 1.6; }
.workspace-shell .secondary[data-primary="true"], .workspace-shell .ghost[data-primary="true"] { background: #e1e3f2; color: #161822; border-color: transparent; }
.workspace-shell .send-message[data-primary="false"] { background: #ffffff1c; color: #d5d6e4; }
.workspace-shell .pill { font-size: .9375rem; line-height: 1.5; }
.workspace-shell .ghost, .workspace-shell .secondary { font-size: .875rem; }
.workspace-shell .status-copy { font-size: 14px; }
.workspace-shell .notice, .workspace-shell .error { font-size: .875rem; line-height: 1.6; }
.workspace-shell .welcome { font-size: 16px; line-height: 1.6; color: #e0e1ec; }
.welcome h2 { margin: 0 0 10px; font-size: 36px; line-height: 1.15; font-weight: 600; letter-spacing: -.7px; }
.welcome p { margin: 0 0 16px; }
.welcome .welcome-intro { margin-bottom: 28px; }
.welcome .welcome-stages-heading { margin-bottom: 16px; }
.welcome .welcome-stages { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.welcome-stages li { display: flex; align-items: flex-start; gap: 16px; margin: 0; }
.welcome li p { margin: 4px 0 0; line-height: 1.5; color: #bfc1d0; }
.generating-indicator { width: fit-content; max-width: 100%; margin: 8px 0 28px; font-size: 16px; line-height: 1.6; font-weight: 500; color: #9a9eaf; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .generating-indicator,
  .workspace-player[data-audio-state="generating"] #audio-status {
    background-image: linear-gradient(90deg, #8b8fa3 0%, #8b8fa3 36%, #f7f8ff 50%, #8b8fa3 64%, #8b8fa3 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: thinking-shine 2s linear infinite;
  }
}
@keyframes thinking-shine { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.script-toolbar { position: relative; flex: none; margin: 16px 32px 0; padding: 13px 15px 11px; border: 1px solid #343543; border-radius: 11px; background: #171820; color: #eeedf6; font-size: 14px; line-height: 1.45; }
.script-toolbar svg { display: block; flex-shrink: 0; }
.toolbar-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.toolbar-title { display: flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: -.01em; }
.toolbar-title svg { color: #c7c6d6; }
.toolbar-status { display: flex; align-items: center; gap: 6px; margin-top: 3px; color: #a6a8b8; font-size: 12px; }
.toolbar-status svg { color: #77bea1; }
.toolbar-actions { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 11px; }
.history-button { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border: 0; border-radius: 7px; background: transparent; color: #c2c3d1; line-height: 1.45; }
.history-button:hover, .history-button[aria-expanded="true"] { background: #272934; color: #eeedf6; }
.toolbar-primary { display: inline-flex; align-items: center; gap: 8px; min-height: 37px; padding: 9px 13px; border: 1px solid #504b68; border-radius: 7px; background: #343248; color: #f0eefa; font-size: 13px; font-weight: 600; line-height: 1.45; white-space: nowrap; }
.toolbar-primary:hover:not(:disabled) { background: #44405d; }
.script-toolbar button:disabled { opacity: .5; cursor: not-allowed; }
.script-toolbar button:focus-visible, .script-toolbar a:focus-visible, .revision-preview:focus-visible { outline: 2px solid #9893d0; outline-offset: 3px; }
.toolbar-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; padding-top: 11px; border-top: 1px solid #343543; color: #b4b5c6; font-size: 12px; }
.toolbar-note svg { margin-top: 1px; color: #a9aac1; }
.history-panel { position: absolute; z-index: 10; top: calc(100% + 10px); right: 0; width: min(385px, calc(100vw - 76px)); padding: 14px; border: 1px solid #494b5d; border-radius: 11px; background: #20212c; box-shadow: 0 18px 55px #0009; }
.history-panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 13px; }
.history-close { padding: 4px; border: 0; border-radius: 6px; background: transparent; color: #b9bacb; }
.history-close:hover { background: #333545; }
.history-list { display: flex; flex-direction: column; gap: 7px; max-height: min(50vh, 420px); overflow-y: auto; }
.revision { padding: 11px; border: 1px solid #3c3e4e; border-radius: 8px; background: #1b1c25; }
.revision.active { border-color: #686485; background: #2a2939; }
.revision-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.revision-title { font-size: 13px; font-weight: 600; }
.revision-meta { color: #9e9faf; font-size: 11px; }
.revision-tag { color: #9fd7c2; font-size: 11px; }
.revision-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.revision-button { padding: 6px 9px; border: 1px solid #55576b; border-radius: 6px; background: transparent; color: #e3e3ed; font-size: 12px; line-height: 1.45; }
.revision-button:hover:not(:disabled) { background: #333545; }
.revision-button.danger { border-color: #776671; }
.revision-confirm { margin: 9px 0 0; color: #d5d6e2; font-size: 12px; }
.revision-preview { max-height: 220px; overflow: auto; margin: 9px 0 0; padding: 10px; border: 1px solid #3c3e4e; border-radius: 6px; background: #16171f; color: #cfd0dc; font: 12px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.history-status, .history-panel .error { margin: 0 0 8px; font-size: 12px; }
.history-status { color: #a5a6b8; }
.history-status:empty, .history-panel .error:empty { display: none; }
.history-tip { margin: 11px 1px 0; color: #a5a6b8; font-size: 11px; }
.workspace-shell .script-scroll { flex: 1 1 auto; height: auto; min-height: 0; max-height: none; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 18px 32px 24px; }
.workspace-shell .script-scroll .document { height: auto; max-height: none; overflow: visible; padding: 0; font-size: 1.0625rem; line-height: 1.6; }
.workspace-shell .locked-preview { max-height: none; overflow: visible; }
.workspace-shell .script-scroll.script-is-locked { display: flex; flex-direction: column; overflow: hidden; }
.workspace-shell .locked-preview.script-shield { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.script-shield-content { flex: 1 1 auto; min-height: 0; overflow: clip; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 75%); mask-image: linear-gradient(to bottom, #000, transparent 75%); }
.script-shield-action { bottom: 0; padding-inline: 8px; }
.script-shield-action p { margin: 0; color: #c5c7d6; font-size: 16px; line-height: 1.5; }
.workspace-shell .editor-text { display: block; min-height: 360px; height: auto; max-height: none; overflow: hidden; resize: none; font: 1.0625rem/1.6 ui-monospace,SFMono-Regular,Consolas,monospace; white-space: pre-wrap; overflow-wrap: anywhere; color: #c6c8d8; }
.workspace-shell .script-scroll .intro { font-size: .9375rem; line-height: 1.6; }
.workspace-shell .workspace-player { padding: 18px 23px; border-radius: 0 0 22px 22px; gap: 10px; margin-top: 0; flex-wrap: wrap; }
.player-main { display: flex; align-items: center; width: 100%; min-height: 48px; gap: 18px; }
.workspace-player[data-available="false"] .play,
.workspace-player[data-available="false"] .waveplay { opacity: .5; }
.workspace-player .time { text-align: right; font-size: .875rem; }
.workspace-player .voice { font-size: .875rem; min-width: 165px; }
.workspace-player .voice small { display: block; margin-left: 0; font-size: 14px; }
.workspace-player .waveplay { position: relative; border-radius: 4px; height: 39px; }
.workspace-player .wave-bars { position: absolute; inset: 0; display: flex; align-items: center; gap: min(2px, .3%); }
.workspace-player .waveplay i { min-width: 0; }
.workspace-player #audio-seek { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.workspace-player #audio-seek:disabled { cursor: default; }
.workspace-player .waveplay:focus-within { outline: 2px solid var(--soft); outline-offset: -2px; }
.workspace-player .play:disabled { cursor: default; }
.workspace-shell #audio-status { margin: 0; flex: none; line-height: 1.6; font-size: .875rem; color: #bfc1d0; white-space: nowrap; }
.settings-shell { padding-top: 80px; max-width: 1100px; min-height: 85vh; }
.settings-account { max-width: 480px; margin-top: 32px; }
.settings-account .field { margin: 0 0 8px; }
.settings-account input { display: block; }
.settings-account input[readonly] { background: #16171b; border-color: #353640; border-style: dashed; color: var(--muted); cursor: default; }
.readonly-label { display: inline-block; margin-left: 8px; padding: 2px 6px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font-size: 10px; font-weight: 400; vertical-align: middle; }
.field-help { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.field-help a { color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }
.field-help a:hover { color: white; }
.settings-account #password-form { margin-top: 45px; }
.settings-account #password-form h3 { margin: 0 0 24px; }
.settings-account #password-form input + .field { margin-top: 24px; }
.settings-account #change-password { margin-top: 24px; }
.settings-purchases { max-width: 720px; margin-top: 48px; }
.settings-purchases h3 { margin: 0 0 24px; }
.settings-purchases #purchases-status { color: var(--muted); font-size: 14px; }
.purchases-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; line-height: 1.6; }
.purchases-table th, .purchases-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.purchases-table th { color: var(--muted); font-weight: 500; }
.purchases-table th:first-child, .purchases-table td:first-child { width: 114px; padding-left: 0; }
.purchases-table th:last-child, .purchases-table td:last-child { width: 110px; padding-right: 0; text-align: right; white-space: nowrap; }
@media(max-width: 800px) {
  body[data-page="app"] .simple-nav,
  body[data-page="settings"] .simple-nav,
  .workspace-shell,
  .app-footer .wrap { width: calc(100% - 24px); }
  body[data-page="app"] .simple-nav,
  body[data-page="settings"] .simple-nav {
    position: relative;
    z-index: 20;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex: none;
    height: auto;
    min-height: 0;
    min-width: 0;
    margin-top: 12px;
    padding: 10px 12px 10px 16px;
  }
  body[data-page="app"] .simple-nav .brand,
  body[data-page="settings"] .simple-nav .brand {
    min-width: 0;
    overflow: hidden;
    font-size: 15px;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  body[data-page="app"] .nav-menu-toggle,
  body[data-page="settings"] .nav-menu-toggle {
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 1px solid #525069;
    border-radius: 12px;
    background: #303043;
    color: #ededf6;
  }
  body[data-page="app"] .nav-menu-toggle:hover,
  body[data-page="settings"] .nav-menu-toggle:hover { background: #3a3a52; }
  body[data-page="app"] .nav-menu-toggle[aria-expanded="false"] .nav-menu-icon-close,
  body[data-page="app"] .nav-menu-toggle[aria-expanded="true"] .nav-menu-icon-open,
  body[data-page="settings"] .nav-menu-toggle[aria-expanded="false"] .nav-menu-icon-close,
  body[data-page="settings"] .nav-menu-toggle[aria-expanded="true"] .nav-menu-icon-open { display: none; }
  body[data-page="app"] .navlinks,
  body[data-page="settings"] .navlinks {
    position: absolute;
    z-index: 21;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 8px;
    border: 1px solid #3a3b4a;
    border-radius: 16px;
    background: #171821;
    box-shadow: 0 18px 40px #0008;
    font-size: 16px;
    line-height: 1.4;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease, visibility 220ms;
  }
  body[data-page="app"] .simple-nav.is-menu-open .navlinks,
  body[data-page="settings"] .simple-nav.is-menu-open .navlinks {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  body[data-page="app"] .navlinks a,
  body[data-page="app"] .navlinks .logout-link,
  body[data-page="settings"] .navlinks a,
  body[data-page="settings"] .navlinks .logout-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 16px;
  }
  body[data-page="app"] .navlinks a:hover,
  body[data-page="app"] .navlinks .logout-link:hover,
  body[data-page="settings"] .navlinks a:hover,
  body[data-page="settings"] .navlinks .logout-link:hover { background: #ffffff0d; }
  .workspace-shell { margin-top: 24px; }
  .workspace-shell .conversation-scroll { padding: 24px 20px 12px; }
  #finding-section .conversation-scroll { padding: 24px 20px 20px; }
  .goal-summary h2 { font-size: 24px; }
  .goal-detail .goal-detail-row p { font-size: 17px; }
  .obstacle-shield { padding-bottom: 84px; }
  .goal-detail .obstacle-preview-description { margin-top: 24px; }
  .obstacle-shield-action { gap: 10px; }
  .workspace-shell .composer { padding: 10px 14px 16px; }
  .workspace-shell #chat-input { font-size: 18px; }
  .workspace-shell .message, .workspace-shell .welcome { font-size: 18px; }
  .workspace-shell .composer .pill { max-width: 100%; white-space: normal; line-height: 1.5; }
  .script-toolbar { margin: 12px 20px 0; }
  .toolbar-head { align-items: flex-start; }
  .toolbar-actions { width: 100%; justify-content: space-between; gap: 4px; }
  .history-button { padding-left: 0; }
  .history-panel { width: 100%; }
  .workspace-shell .script-scroll { padding: 16px 20px 20px; }
  .workspace-shell .editor-text { font-size: 1.0625rem; line-height: 1.6; }
  .workspace-shell .workspace-notices { padding: 0 20px; }
  .workspace-shell .workspace-player { padding: 16px; padding-bottom: max(16px, env(safe-area-inset-bottom)); }
  .player-main { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; }
  .workspace-player .play { width: 40px; height: 40px; grid-column: 1; grid-row: 2; }
  .workspace-player .waveplay { grid-column: 2; grid-row: 2; }
  .workspace-player #audio-time { grid-column: 3; grid-row: 2; }
  .workspace-player #audio-status { grid-column: 1 / 3; grid-row: 1; }
  .workspace-player .voice { grid-column: 3; grid-row: 1; padding-left: 0; width: auto; min-width: 0; text-align: right; }
  .workspace-guidance { padding: 0 20px 16px; }
  .app-footer .footrow { flex-direction: column; align-items: flex-start; gap: 12px; }
  .settings-shell { padding-top: 64px; }
}
@media (min-width: 768px) {
  .workspace-shell .workspace .editor-main { display: grid; grid-template-columns: var(--sidebar-width, 280px) 1px minmax(0, 1fr); }
  .workspace-shell .editor-side { display: block; border-bottom: 0; max-height: none; overflow-y: auto; }
  .workspace-shell .sidebar-divider { display: block; }
  .workspace-mobile-drawer, .workspace-drawer-backdrop { display: none !important; }
}

@media (max-width: 767px) {
  .workspace-shell .workspace-header {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 66px;
    padding: 10px 14px;
    border-bottom: 1px solid #353542;
    background: #1c1c26;
  }
  .workspace-header > .lights { display: none; }
  .workspace-heading { display: contents; }
  .workspace-drawer-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #525069;
    border-radius: 12px;
    background: #303043;
    color: #ededf6;
    cursor: pointer;
  }
  .workspace-drawer-toggle:hover { background: #3a3a52; }
  .workspace-heading h1,
  .workspace-mobile-title {
    min-width: 0;
    overflow: hidden;
    color: #dedde9;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
  }
  .workspace-mobile-title {
    display: block;
    flex: 1 1 auto;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .workspace-shell .conversation-toggle {
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    white-space: nowrap;
  }
  .workspace-shell .workspace .editor-main { display: flex; flex-direction: column; min-height: 0; }
  .workspace-shell .sidebar-divider { display: none; }
  .workspace-shell .editor-main > .editor-side { display: none; }
  .workspace-drawer-backdrop:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1090;
    background: rgba(0, 0, 0, .66);
    touch-action: none;
  }
  .workspace-mobile-drawer {
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1100;
    width: min(85vw, 320px);
    height: 100dvh;
    box-sizing: border-box;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 24px 16px;
    background: #1b1b25;
    border-right: 1px solid #49465d;
    border-radius: 0 22px 22px 0;
    box-shadow: 16px 0 48px rgba(0, 0, 0, .35);
    transform: translateX(-105%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 220ms ease, visibility 220ms;
  }
  .workspace-mobile-drawer.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .workspace-drawer-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 12px;
    row-gap: 4px;
    padding-bottom: 24px;
    margin-bottom: 20px;
    border-bottom: 1px solid #393845;
  }
  .workspace-drawer-identity { display: contents; }
  .workspace-drawer-title-row {
    display: flex;
    align-items: center;
    grid-column: 1;
    grid-row: 1;
    gap: 2px;
    min-width: 0;
  }
  .workspace-drawer-title-row strong { min-width: 0; color: #f1eff9; font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
  .workspace-drawer-subtitle { grid-column: 1; grid-row: 2; color: #a5a4b8; font-size: 13px; }
  .program-name > .rename-program { display: none; }
  .workspace-drawer-identity .rename-program { position: relative; flex: none; align-self: center; width: 40px; height: 40px; padding: 0; justify-content: center; }
  .workspace-drawer-identity .rename-icon { opacity: 1; }
  .workspace-drawer-identity #view-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
  .workspace-drawer-close {
    display: grid;
    place-items: center;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    flex: none;
    width: 40px;
    height: 40px;
    padding: 0;
    background: #292938;
    border: 1px solid #48475d;
    border-radius: 11px;
    color: #e8e6f4;
    cursor: pointer;
  }
  .workspace-drawer-close:hover { background: #34344a; }
  .workspace-mobile-drawer .editor-side {
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: visible;
    max-height: none;
  }
  body.workspace-drawer-open { overflow: hidden; }
}

@media (max-width: 380px) {
  .workspace-shell .conversation-toggle { position: relative; width: 42px; min-width: 42px; padding: 0; gap: 0; }
  .workspace-shell .conversation-toggle span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
}

@media(prefers-reduced-motion: reduce) {
  .conversation-toggle { transition: none; }
  .rename-icon { transition: none; }
  .sidebar-section .section-chevron { transition: none; }
  .workspace-mobile-drawer,
  body[data-page="app"] .navlinks,
  body[data-page="settings"] .navlinks { transition: none; }
  .generating-indicator,
  .workspace-player[data-audio-state="generating"] #audio-status { animation: none; background-image: none; }
  .generating-indicator { color: #9a9eaf; }
  .workspace-player[data-audio-state="generating"] #audio-status { color: #bfc1d0; }
}

/* Keep welcome stages in the conversation, without adding onboarding screens. */
.stage-number { display: grid; place-items: center; flex: none; width: 44px; min-height: 38px; border-radius: 10px; background: #64628766; font-weight: 500; }
.guide-identity { display: flex; align-items: center; gap: 14px; margin-bottom: 25px; }
.guide-identity img { width: 42px; height: 42px; padding: 8px; background: #665cc0; border-radius: 50%; }
.guide-identity span { display: block; font-size: 14px; color: #b4b7cd; }
.welcome .first-question { margin-top: 28px; }
.welcome .welcome-question { margin: 0 0 10px; font-size: 22px; font-weight: 600; line-height: 1.4; }
.welcome .welcome-question-support { margin: 0; font-size: 17px; line-height: 1.6; color: #bfc1d0; }
.workspace-shell .message.assistant.latest { color: #f4f3ff; }
@media(max-width: 800px) {
  .welcome h2 { font-size: 34px; }
}
