:root {
  --ink: #221e1a;
  --ink-soft: #3a3631;
  --paper: #f4eee4;
  --paper-deep: #e9e0d0;
  --card: #fffdf9;
  --green: #221e1a;
  --green-pale: #e9e0d0;
  --orange: #d2683f;
  --navy: #2e3a52;
  --slate: #9aa7b8;
  --taupe: #a8907c;
  --line: #e2d9ca;
  --shadow: 0 24px 70px rgba(34, 30, 26, 0.09);
  --serif: "Songti SC", "STSong", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); min-width: 320px; }
button, textarea, input { font: inherit; }
button { color: inherit; }
button:focus-visible, textarea:focus-visible, input:focus-visible { outline: 3px solid rgba(216, 121, 74, .28); outline-offset: 2px; }

.site-header { position: fixed; z-index: 20; inset: 0 0 auto 0; height: 76px; padding: 0 clamp(24px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; background: linear-gradient(var(--paper) 68%, transparent); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-size: 17px; letter-spacing: .02em; font-weight: 600; }
.brand i { color: var(--orange); font-style: normal; }
.brand small { margin-left: 4px; color: var(--taupe); font-size: 8px; letter-spacing: .28em; }
.ring-mark { width: 31px; height: 31px; flex: none; }
.ring-mark circle:not(.ring-center):not(.ring-signal) { stroke: var(--slate); stroke-width: 27; }
.ring-center { fill: var(--navy); }
.ring-signal { fill: var(--orange); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.font-size-toggle { min-width: 52px; min-height: 38px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,253,249,.7); color: var(--ink-soft); cursor: pointer; font-size: 12px; }
.font-size-toggle[aria-pressed="true"] { border-color: var(--orange); color: var(--orange); background: var(--card); }
.coach-avatar { display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-family: var(--serif); }
.screen { display: none; }
.screen.active { display: block; animation: screenIn .55s ease both; }
@keyframes screenIn { from { opacity: 0; transform: translateY(8px); } }

.hero { min-height: calc(100vh - 58px); padding: 150px 24px 90px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; left: 50%; top: 48%; width: min(900px, 85vw); height: min(520px, 60vw); transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(233, 224, 208, .86), transparent 68%); pointer-events: none; }
.eyebrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); font-weight: 600; }
.hero-q-symbol { position: relative; margin: 0 auto 20px; color: var(--ink); font-family: var(--serif); font-size: clamp(31px, 3.4vw, 46px); line-height: 1; letter-spacing: .02em; }
.hero h1, .results-header h2 { position: relative; margin: 25px auto; font-family: var(--serif); line-height: 1.28; letter-spacing: -.04em; font-weight: 600; }
.hero h1 { margin: 20px auto 34px; font-size: clamp(30px, 3.6vw, 49px); }
.results-header h2 { font-size: clamp(38px, 5.2vw, 72px); }
h1 em, .results-header em { color: var(--orange); font-style: normal; }
.hero-value { position: relative; max-width: 560px; margin: 22px auto 0; color: var(--taupe); font-family: var(--serif); font-size: 12px; line-height: 1.85; }
.primary-button, .secondary-button, .copy-button { border: 0; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 22px; transition: transform .2s, box-shadow .2s, background .2s; }
.primary-button { background: var(--green); color: #fff; min-height: 52px; padding: 0 25px; box-shadow: 0 12px 26px rgba(39, 76, 67, .18); }
.primary-button:hover, .copy-button:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(39, 76, 67, .24); }
.hero-button { position: relative; min-height: 58px; padding: 0 28px; }
.hero-orbit { position: absolute; width: min(900px, 88vw); height: min(520px, 58vw); border: 1px solid rgba(154, 167, 184, .35); border-radius: 50%; left: 50%; top: 48%; transform: translate(-50%, -50%); }
.hero-orbit::before, .hero-orbit::after { content: ""; position: absolute; border: 1px solid rgba(154, 167, 184, .28); border-radius: 50%; inset: 16%; }
.hero-orbit::after { inset: 32%; }
.hero-orbit i { position: absolute; border-radius: 50%; background: var(--orange); width: 5px; height: 5px; }
.hero-orbit i:nth-child(1) { left: 8%; top: 28%; }
.hero-orbit i:nth-child(2) { right: 12%; bottom: 22%; background: var(--navy); }
.hero-orbit i:nth-child(3) { left: 45%; bottom: -2px; width: 8px; height: 8px; background: var(--slate); }

.workspace { max-width: 1440px; margin: auto; padding: 118px clamp(22px, 5vw, 72px) 90px; min-height: 100vh; }
.workspace.active { display: grid; grid-template-columns: 245px minmax(0, 840px); justify-content: center; gap: clamp(45px, 7vw, 105px); }
.workspace.active.choosing { grid-template-columns: minmax(0, 840px); }
.workspace.choosing .journey { display: none; }
.journey { position: sticky; top: 110px; height: fit-content; }
.journey-list { list-style: none; padding: 12px 0 0; margin: 0; }
.journey-list li { display: flex; gap: 16px; align-items: flex-start; padding: 15px 0; opacity: .4; transition: opacity .3s; position: relative; }
.journey-list li::before { content: ""; position: absolute; left: 12px; top: 43px; width: 1px; height: 29px; background: var(--line); }
.journey-list li:last-child::before { display: none; }
.journey-list li.current, .journey-list li.done { opacity: 1; }
.journey-list li > span { width: 25px; height: 25px; display: grid; place-items: center; flex: none; border: 1px solid var(--line); border-radius: 50%; font-size: 9px; }
.journey-list li.current > span { background: var(--orange); color: white; border-color: var(--orange); }
.journey-list li.done > span { background: var(--green-pale); border-color: transparent; }
.journey-list b, .journey-list small { display: block; }
.journey-list b { font-family: var(--serif); font-size: 15px; margin-bottom: 4px; }
.journey-list small { font-size: 11px; color: var(--ink-soft); }
.journey blockquote { margin: 30px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 12px; color: var(--ink-soft); line-height: 1.8; }
.coach-panel { min-width: 0; }
.step-head { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 34px; }
.step-count { color: var(--orange); letter-spacing: .13em; font-size: 10px; font-weight: 600; }
.step-head h2, .awareness-intro h2 { margin: 8px 0 0; font-family: var(--serif); font-size: clamp(27px, 3.5vw, 40px); }
.save-status { color: #89928f; font-size: 10px; }
.coach-intro { font-family: var(--serif); color: var(--ink-soft); line-height: 1.85; max-width: 650px; }
.field-label { display: block; font-size: 12px; font-weight: 600; margin: 30px 0 10px; }
textarea, input { width: 100%; border: 1px solid var(--line); background: rgba(255, 253, 248, .64); border-radius: 12px; color: var(--ink); resize: vertical; transition: border-color .2s, background .2s; }
textarea { padding: 20px; line-height: 1.75; min-height: 132px; }
textarea::placeholder, input::placeholder { color: #9aa39f; }
textarea:focus, input:focus { border-color: rgba(216, 121, 74, .65); background: var(--card); }
.input-meta { display: flex; justify-content: space-between; padding: 8px 3px; font-size: 10px; color: #8a9490; }
.writing-prompts { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding: 5px 2px 15px; }
.writing-prompts span { color: var(--taupe); font-size: 10px; margin-right: 3px; }
.writing-prompts button { padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; color: #756d64; background: rgba(255,253,249,.45); font-size: 9px; cursor: pointer; transition: .2s; }
.writing-prompts button:hover { color: var(--orange); border-color: var(--orange); background: var(--card); }
.voice-keyboard-button { width: 100%; min-height: 58px; margin: 3px 0 10px; padding: 10px 14px; display: flex; align-items: center; gap: 12px; border: 1px solid rgba(210,104,63,.28); border-radius: 12px; background: rgba(255,253,249,.66); color: var(--ink); text-align: left; cursor: pointer; }
.voice-keyboard-button > span:last-child { display: grid; gap: 3px; }
.voice-keyboard-button b { font-family: var(--serif); font-size: 13px; }
.voice-keyboard-button small { color: var(--taupe); font-size: 11px; line-height: 1.5; }
.voice-keyboard-button.compact { margin-top: 16px; }
.voice-icon { width: 32px; height: 32px; display: grid; place-items: center; flex: none; border-radius: 50%; background: var(--orange); color: #fff; font-size: 8px; box-shadow: 0 0 0 5px rgba(210,104,63,.1); }
.optional-row { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.optional-row label { font-size: 12px; font-weight: 600; }
.optional-row small { color: #929b97; font-weight: 400; }
.optional-row input { padding: 12px 14px; }
.goal-shortcuts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.goal-shortcuts button { min-height: 34px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink-soft); cursor: pointer; font-size: 10px; }
.goal-shortcuts button:hover, .goal-shortcuts button.selected { border-color: var(--orange); color: var(--orange); }
.templates { margin-top: 32px; }
.starter-templates { margin-bottom: 25px; }
.template-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 15px; }
.template-head h3 { font-family: var(--serif); font-size: 16px; margin: 0; }
.template-head span { font-size: 10px; color: #8a9490; }
.template-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.template-grid button { min-height: 126px; padding: 17px 12px; text-align: left; border: 1px solid var(--line); background: rgba(255, 253, 248, .5); border-radius: 10px; cursor: pointer; transition: .2s; }
.template-grid button:hover, .template-grid button.selected { background: var(--card); border-color: rgba(216, 121, 74, .55); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(32, 57, 50, .07); }
.template-grid button > span { display: block; color: var(--orange); font-size: 17px; margin-bottom: 20px; }
.template-grid b, .template-grid small { display: block; }
.template-grid b { font-family: var(--serif); font-size: 12px; margin-bottom: 6px; }
.template-grid small { color: #7f8b86; line-height: 1.45; font-size: 9px; }
.scene-guide { margin-top: 12px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.scene-guide-kicker { margin: 0 0 4px; color: var(--orange); font-size: 9px; letter-spacing: .1em; }
.scene-guide h4 { margin: 0; font-family: var(--serif); font-size: 15px; }
.scene-guide > div > p:last-child { margin: 6px 0 0; color: var(--taupe); font-size: 10px; }
.scene-guide ul { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 22px; margin: 15px 0 18px; padding: 14px 0 14px 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.scene-guide li { color: var(--ink-soft); font-size: 10px; line-height: 1.55; }
.scene-guide .secondary-button { min-height: 38px; padding: 0 15px; font-size: 10px; }
.response-preferences { margin-top: 18px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,253,249,.5); overflow: hidden; }
.response-preferences summary { padding: 16px 18px; cursor: pointer; font-family: var(--serif); font-size: 13px; list-style-position: inside; }
.response-preferences summary small { margin-left: 8px; color: var(--taupe); font-family: var(--sans); font-size: 9px; }
.response-preferences[open] summary { border-bottom: 1px solid var(--line); }
.preference-content { display: grid; gap: 18px; padding: 20px; }
.preference-group { margin: 0; padding: 0; border: 0; }
.preference-group legend { margin-bottom: 9px; font-size: 10px; font-weight: 600; }
.preference-options { display: flex; flex-wrap: wrap; gap: 7px; }
.preference-options label { position: relative; cursor: pointer; }
.preference-options input { position: absolute; opacity: 0; pointer-events: none; }
.preference-options span { display: block; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: #706860; font-size: 9px; transition: .2s; }
.preference-options input:checked + span { color: #fff; background: var(--ink); border-color: var(--ink); }
.preference-options input[value=""]:checked + span { color: var(--ink-soft); background: var(--paper-deep); border-color: var(--line); }
.preference-options input:focus-visible + span { outline: 3px solid rgba(210,104,63,.28); outline-offset: 2px; }
.action-row { margin-top: 34px; padding-top: 23px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.action-row p { color: #75817d; font-size: 10px; }
.action-row p span { color: var(--orange); margin-right: 5px; }
.path-section { margin-top: 34px; padding-top: 25px; border-top: 1px solid var(--line); }
.path-section-first { margin-top: 24px; padding-top: 0; border-top: 0; }
.path-heading { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.path-heading h3 { margin: 0; font-family: var(--serif); font-size: 16px; }
.path-heading span { color: var(--taupe); font-size: 10px; }
.path-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.path-button { min-height: 92px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 13px; background: var(--card); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; text-align: left; transition: transform .2s, box-shadow .2s, border-color .2s; }
.path-button:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(34,30,26,.08); border-color: var(--orange); }
.path-button.selected { background: var(--ink); color: #fffaf3; border-color: var(--ink); box-shadow: 0 12px 26px rgba(34,30,26,.12); }
.path-button b, .path-button small { display: block; }
.path-badge { display: inline-block; margin-bottom: 7px; color: var(--orange); font-size: 8px; font-style: normal; letter-spacing: .08em; }
.path-button b { font-family: var(--serif); font-size: 14px; margin-bottom: 7px; }
.path-button small { color: inherit; opacity: .66; font-size: 9px; line-height: 1.5; }
.path-button em { color: var(--orange); font-size: 18px; font-style: normal; }
.initial-action { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.initial-action p { margin: 0; color: var(--taupe); font-size: 11px; line-height: 1.6; }

.coach-message { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 30px; }
.coach-avatar { flex: none; width: 38px; height: 38px; color: var(--orange); border-color: var(--orange); }
.coach-message p { margin: 0 0 7px; color: var(--ink-soft); line-height: 1.7; }
.coach-message p:first-child { color: var(--ink); font-family: var(--serif); }
.question-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 5vw, 48px); box-shadow: var(--shadow); }
.question-kicker { color: var(--orange); font-size: 10px; letter-spacing: .14em; }
.question-card h3 { font-family: var(--serif); font-size: clamp(22px, 3vw, 31px); line-height: 1.55; margin: 15px 0 12px; }
.question-card > p:not(.question-kicker) { color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.question-card textarea { margin-top: 20px; background: var(--paper); }
.question-actions { display: flex; justify-content: flex-end; gap: 20px; align-items: center; margin-top: 20px; }
.quick-message { margin-bottom: 20px; }
.quick-quality-card h3 { margin-bottom: 8px; }
.quick-fields { display: grid; gap: 16px; margin-top: 26px; }
.quick-field-group { display: grid; gap: 8px; }
.quick-field { display: block; }
.quick-field span { display: block; font-family: var(--serif); font-size: 14px; line-height: 1.55; }
.quick-field small { display: block; color: var(--taupe); font-size: 10px; margin-top: 5px; }
.quick-field textarea { min-height: 105px; margin-top: 10px; }
.quick-field textarea[aria-invalid="true"] { border-color: var(--orange); }
.quick-shortcuts { display: flex; flex-wrap: wrap; gap: 6px; }
.quick-shortcuts button { padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--taupe); font-size: 9px; cursor: pointer; }
.quick-shortcuts button:hover { color: var(--orange); border-color: var(--orange); }
.quick-voice { justify-self: start; min-height: 38px; padding: 0 12px; border: 1px solid rgba(210,104,63,.28); border-radius: 999px; background: transparent; color: var(--orange); cursor: pointer; font-size: 11px; }
.quick-quality-actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.text-button { border: 0; background: transparent; cursor: pointer; color: var(--ink-soft); text-decoration: underline; text-decoration-color: rgba(24,50,45,.25); text-underline-offset: 4px; font-size: 12px; }

.awareness-intro { max-width: 690px; margin-bottom: 34px; }
.awareness-intro > p:last-child { color: var(--ink-soft); line-height: 1.8; }
.structure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.structure-card { padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.structure-toggle { width: 100%; min-height: 76px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 0; background: transparent; text-align: left; cursor: pointer; }
.structure-toggle span, .structure-toggle b, .structure-toggle small { display: block; }
.structure-toggle b { font-family: var(--serif); font-size: 15px; font-weight: 500; }
.structure-toggle small { margin-top: 5px; color: #88928e; font-size: 10px; }
.structure-toggle em { color: var(--orange); font-size: 18px; font-style: normal; }
.structure-body { padding: 0 20px 20px; }
.structure-card textarea { min-height: 130px; padding: 14px; background: var(--paper); font-size: 13px; }
.structure-card.fact { border-top: 3px solid var(--slate); grid-column: 1 / -1; }
.structure-card.interpretation { border-top: 3px solid var(--taupe); }
.structure-card.emotion { border-top: 3px solid #bf8877; }
.structure-card.unknown { border-top: 3px solid var(--navy); }
.structure-card.core { border-top: 3px solid var(--orange); }
.structure-next { display: none; }
.voice-inline { min-height: 38px; margin-top: 9px; padding: 0 12px; border: 1px solid rgba(210,104,63,.28); border-radius: 999px; background: transparent; color: var(--orange); cursor: pointer; font-size: 11px; }
.guided-assists { margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: rgba(255,253,249,.45); }
.guided-assists > summary, .angle-details > summary { min-height: 54px; padding: 0 18px; display: flex; align-items: center; gap: 8px; font-family: var(--serif); cursor: pointer; list-style: none; }
.guided-assists > summary::-webkit-details-marker, .angle-details > summary::-webkit-details-marker { display: none; }
.guided-assists > summary::after, .angle-details > summary::after { content: "＋"; margin-left: auto; color: var(--orange); }
.guided-assists[open] > summary::after, .angle-details[open] > summary::after { content: "−"; }
.guided-assists > summary small, .angle-details > summary small { color: var(--taupe); font-family: var(--sans); font-size: 10px; }
.guided-assists-content { border-top: 1px solid var(--line); }
.assist-row { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.assist-row:last-child { border-bottom: 0; }
.assist-row > div:first-child { margin-bottom: 11px; }
.assist-row b, .assist-row small { display: block; }
.assist-row > div:first-child b { font-family: var(--serif); font-size: 12px; }
.assist-row small { margin-top: 4px; color: var(--taupe); font-size: 9px; }
.assist-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.assist-chips button { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink-soft); cursor: pointer; font-size: 9px; }
.assist-chips button:hover, .assist-chips button.selected { color: var(--orange); border-color: var(--orange); }
.core-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.core-options button { padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); text-align: left; cursor: pointer; transition: .2s; }
.core-options button:hover, .core-options button.selected { border-color: var(--orange); transform: translateY(-1px); }
.core-options button b { color: var(--ink); font-family: var(--serif); font-size: 11px; }
.core-options button span { display: block; margin-top: 5px; color: var(--taupe); font-size: 8px; line-height: 1.45; }
.angle-selector { margin: 18px 0 0; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,253,249,.55); }
.angle-details { margin-top: 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,253,249,.45); overflow: hidden; }
.angle-details .angle-selector { margin: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.angle-selector legend { padding: 0 8px; font-family: var(--serif); font-size: 15px; }
.angle-selector > p { margin: 0 0 15px; color: var(--taupe); font-size: 10px; }
.angle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.angle-grid label { position: relative; cursor: pointer; }
.angle-grid input { position: absolute; opacity: 0; pointer-events: none; }
.angle-grid span { display: block; padding: 10px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); text-align: center; font-size: 10px; transition: .2s; }
.angle-grid input:checked + span { color: #fff; background: var(--ink); border-color: var(--ink); }
.angle-grid input:focus-visible + span { outline: 3px solid rgba(210,104,63,.28); outline-offset: 2px; }
.ownership-confirm { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; padding: 13px 16px; color: var(--ink-soft); font-size: 11px; line-height: 1.65; cursor: pointer; }
.ownership-confirm input { width: 16px; height: 16px; margin-top: 1px; accent-color: var(--orange); flex: none; }

.results { padding: 125px clamp(22px, 6vw, 90px) 100px; max-width: 1250px; margin: auto; }
.results-header { text-align: center; }
.results-header h2 { font-size: clamp(32px, 4.6vw, 58px); }
.results-header > p:last-child { color: var(--ink-soft); font-family: var(--serif); }
.affirmation-card { max-width: 930px; margin: 38px auto 0; padding: clamp(22px, 4vw, 34px); display: grid; grid-template-columns: 76px 1fr; gap: clamp(18px, 3vw, 30px); align-items: center; border: 1px solid rgba(210, 104, 63, .25); border-radius: 20px; background: linear-gradient(135deg, rgba(255, 253, 249, .92), rgba(233, 224, 208, .72)); box-shadow: 0 16px 45px rgba(34, 30, 26, .06); }
.affirmation-mark { width: 76px; height: 76px; display: grid; place-items: center; border: 1px solid rgba(210, 104, 63, .4); border-radius: 50%; color: var(--orange); font-family: var(--serif); font-size: 20px; }
.affirmation-card p { margin: 0 0 7px; color: var(--orange); font-size: 9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.affirmation-card h3 { margin: 0 0 9px; font-family: var(--serif); font-size: clamp(19px, 2.5vw, 25px); font-weight: 600; }
.affirmation-card div div { color: var(--ink-soft); font-family: var(--serif); font-size: 13px; line-height: 1.9; }
.result-tabs { display: flex; justify-content: center; gap: 5px; margin: 48px auto 22px; }
.result-tabs button { padding: 12px 20px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-soft); cursor: pointer; }
.result-tabs button.active { background: var(--green); color: #fff; }
.result-storage-note { max-width: 930px; margin: 0 auto 14px; color: var(--taupe); font-size: 10px; text-align: right; }
.result-storage-note span { color: var(--orange); margin-right: 5px; }
.result-card { border-radius: 20px; background: var(--card); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); max-width: 930px; margin: auto; }
.result-card-head { padding: 25px 30px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.result-card-head > div { display: flex; align-items: center; gap: 18px; }
.result-number { width: 42px; height: 42px; display: grid; place-items: center; background: var(--green-pale); border-radius: 50%; font-size: 10px; }
.result-card h3 { margin: 0 0 5px; font-family: var(--serif); font-size: 17px; }
.result-card-head p { margin: 0; color: #7c8883; font-size: 10px; }
.copy-button { background: var(--green); color: #fff; min-height: 42px; padding: 0 18px; gap: 9px; font-size: 11px; }
.copy-button b { font-weight: 500; }
.copy-button.copied { background: #607c72; }
.result-card-buttons { display: flex; align-items: center; gap: 8px; }
.share-button { min-height: 42px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink-soft); cursor: pointer; font-size: 11px; }
#resultContent { margin: 0; padding: clamp(26px, 5vw, 48px); white-space: pre-wrap; word-break: break-word; font-family: var(--serif); font-size: 13px; line-height: 2; color: #314b45; max-height: 580px; overflow: auto; }
.results-footer { max-width: 930px; margin: 35px auto 0; display: flex; align-items: center; justify-content: space-between; }
.results-footer p { font-family: var(--serif); font-size: 12px; line-height: 1.8; color: var(--ink-soft); }
.results-actions { display: flex; gap: 9px; }
.refine-button { border-color: var(--orange); color: var(--orange); }
.secondary-button { border: 1px solid var(--line); background: transparent; min-height: 46px; padding: 0 20px; }
.secondary-button:hover { background: var(--card); }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 35px; transform: translate(-50%, 20px); background: var(--ink); color: white; padding: 11px 20px; border-radius: 999px; font-size: 12px; opacity: 0; pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
footer { border-top: 1px solid var(--line); min-height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(24px, 5vw, 76px); font-size: 9px; letter-spacing: .12em; color: #8d9793; }

@media (max-width: 900px) {
  .workspace.active { grid-template-columns: 1fr; }
  .journey { position: static; }
  .journey > .eyebrow, .journey blockquote, .journey-list li div { display: none; }
  .journey-list { display: flex; padding: 0; justify-content: space-between; }
  .journey-list li { flex: 1; padding: 0; }
  .journey-list li::before { left: 25px; right: 0; top: 12px; width: auto; height: 1px; }
  .template-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .site-header { height: 62px; padding-inline: 18px; }
  .brand { gap: 9px; }
  .ring-mark { width: 29px; height: 29px; }
  .font-size-toggle { min-width: 54px; min-height: 40px; }
  .header-reset { min-height: 40px; padding: 0 4px; }
  .hero { padding-top: 125px; }
  .hero-q-symbol { font-size: 34px; }
  .hero h1 { font-size: 31px; }
  .desktop-break { display: none; }
  .workspace { padding: 82px 16px 72px; }
  .step-head { align-items: flex-start; }
  .save-status { display: none; }
  .step-count { font-size: 12px; }
  .step-head h2, .awareness-intro h2 { font-size: 28px; }
  .coach-intro { font-size: 16px; }
  .optional-row { grid-template-columns: 1fr; gap: 9px; padding: 15px 0; }
  .optional-row label, .field-label { font-size: 14px; }
  .optional-row input, textarea { font-size: 16px; }
  .template-head { display: block; }
  .template-head h3 { font-size: 17px; }
  .template-head span { display: block; margin-top: 6px; font-size: 13px; }
  .starter-templates { margin-top: 24px; }
  .template-grid { margin-inline: -16px; padding: 0 16px 8px; display: grid; grid-auto-flow: column; grid-auto-columns: 132px; grid-template-columns: none; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline proximity; scrollbar-width: none; }
  .template-grid::-webkit-scrollbar { display: none; }
  .template-grid button { min-height: 78px; padding: 12px; scroll-snap-align: start; }
  .template-grid button > span { display: inline; margin: 0 6px 0 0; font-size: 15px; }
  .template-grid b { display: inline; font-size: 14px; }
  .template-grid small { margin-top: 7px; font-size: 12px; }
  .scene-guide { display: none !important; }
  .writing-prompts { margin-inline: -16px; padding: 5px 16px 12px; flex-wrap: nowrap; gap: 8px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; }
  .writing-prompts::-webkit-scrollbar { display: none; }
  .writing-prompts span { width: auto; flex: none; font-size: 13px; }
  .writing-prompts button { min-height: 42px; padding: 8px 12px; flex: none; font-size: 13px; }
  .voice-keyboard-button { min-height: 64px; }
  .voice-keyboard-button b { font-size: 15px; }
  .voice-keyboard-button small { font-size: 13px; }
  .input-meta { font-size: 12px; }
  .goal-shortcuts button { min-height: 42px; font-size: 13px; }
  .response-preferences summary { min-height: 54px; padding: 0 15px; font-size: 15px; }
  .preference-group legend { font-size: 14px; }
  .preference-options span { min-height: 42px; display: flex; align-items: center; font-size: 13px; }
  .action-row, .results-footer { flex-direction: column; align-items: stretch; }
  .path-heading { display: block; }
  .path-heading h3 { font-size: 18px; }
  .path-heading span { display: block; margin-top: 6px; font-size: 13px; }
  .path-options { grid-template-columns: 1fr 1fr; }
  .path-button { min-height: 112px; padding: 15px; align-items: flex-start; }
  .path-button b { font-size: 16px; }
  .path-button small { font-size: 13px; }
  .path-button em { display: none; }
  .path-badge { font-size: 11px; }
  .initial-action { position: sticky; z-index: 8; bottom: 10px; margin: 24px -4px 0; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: rgba(244,238,228,.96); box-shadow: 0 12px 32px rgba(34,30,26,.14); backdrop-filter: blur(10px); }
  .initial-action p { display: none; }
  .initial-action .primary-button { width: 100%; min-height: 54px; }
  .coach-message { margin-bottom: 18px; }
  .coach-message p { font-size: 15px; }
  .question-card { padding: 22px 18px; }
  .question-card h3 { font-size: 24px; }
  .question-card > p:not(.question-kicker) { font-size: 15px; }
  .question-kicker, .quick-field small { font-size: 13px; }
  .quick-field span { font-size: 16px; }
  .quick-shortcuts button, .quick-voice { min-height: 42px; font-size: 13px; }
  .quick-quality-actions { flex-direction: column-reverse; align-items: stretch; }
  .quick-quality-actions .primary-button { width: 100%; }
  .action-row .primary-button { width: 100%; }
  .structure-grid { grid-template-columns: 1fr; }
  .structure-card.fact { grid-column: auto; }
  .structure-card:not(.expanded) .structure-body { display: none; }
  .structure-card:not(.expanded) .structure-toggle { min-height: 76px; }
  .structure-toggle b { font-size: 16px; }
  .structure-toggle small { font-size: 13px; }
  .structure-card textarea { font-size: 16px; }
  .structure-next { width: 100%; min-height: 46px; margin-top: 10px; display: block; border: 0; border-radius: 999px; background: var(--ink); color: #fff; cursor: pointer; font-size: 14px; }
  .voice-inline { min-height: 42px; font-size: 13px; }
  .guided-assists > summary, .angle-details > summary { min-height: 58px; font-size: 15px; }
  .assist-row > div:first-child b { font-size: 15px; }
  .assist-row small { font-size: 13px; }
  .assist-chips button { min-height: 42px; font-size: 13px; }
  .angle-grid { grid-template-columns: 1fr 1fr; }
  .angle-selector legend { font-size: 16px; }
  .angle-selector > p { font-size: 13px; }
  .angle-grid span { min-height: 44px; display: grid; place-items: center; font-size: 13px; }
  .core-options { grid-template-columns: 1fr; }
  .core-options button { min-height: 64px; }
  .core-options button b { font-size: 15px; }
  .core-options button span { font-size: 13px; }
  .ownership-confirm { padding: 15px 10px; font-size: 14px; }
  .ownership-confirm input { width: 20px; height: 20px; }
  .results { padding: 92px 16px 72px; }
  .results-header h2 { font-size: 34px; }
  .results-header > p:last-child { font-size: 15px; line-height: 1.7; }
  .result-tabs { overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; }
  .affirmation-card { grid-template-columns: 48px 1fr; margin-top: 22px; padding: 18px; }
  .affirmation-mark { width: 48px; height: 48px; font-size: 14px; }
  .affirmation-card p { font-size: 11px; }
  .affirmation-card h3 { font-size: 19px; }
  .affirmation-card div div { font-size: 15px; line-height: 1.75; }
  .result-tabs button { min-height: 44px; white-space: nowrap; font-size: 14px; }
  .result-storage-note { text-align: left; line-height: 1.6; font-size: 12px; }
  .result-card-head { align-items: stretch; flex-direction: column; gap: 16px; padding: 20px; }
  .result-card-head > div { align-items: flex-start; }
  .result-number { display: none; }
  .result-card-head p { font-size: 13px; line-height: 1.5; }
  .result-card-buttons { width: 100%; }
  .copy-button { flex: 1; min-height: 50px; font-size: 14px; }
  .share-button { min-height: 50px; font-size: 14px; }
  #resultContent { padding: 24px 20px; max-height: none; overflow: visible; font-size: 15px; line-height: 1.9; }
  .results-actions { flex-direction: column; }
  footer { display: none; }
}

body.large-text .coach-intro,
body.large-text .coach-message p,
body.large-text .question-card > p,
body.large-text .awareness-intro > p:last-child,
body.large-text .affirmation-card div div,
body.large-text .results-footer p { font-size: 18px !important; }
body.large-text textarea,
body.large-text input,
body.large-text #resultContent { font-size: 18px !important; }
body.large-text .path-button b,
body.large-text .structure-toggle b,
body.large-text .quick-field span { font-size: 18px !important; }
body.large-text .path-button small,
body.large-text .template-grid small,
body.large-text .writing-prompts button,
body.large-text .goal-shortcuts button,
body.large-text .assist-chips button,
body.large-text .angle-grid span,
body.large-text .structure-toggle small,
body.large-text .input-meta { font-size: 15px !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
