:root{--ink:#2c2a26;--muted:#858178;--blue:#494641;--blue-light:#f0eadc;--line:#e8e5de;--gold:#ae9455;--bg:#f7f6f2;--shadow:0 22px 60px #403b2a08;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-size:16px;line-height:1.7;color:var(--ink)}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,textarea,select{font:inherit;color:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #b6a372;outline-offset:4px}a{color:#756135;text-underline-offset:4px}h1,h2,h3,h4,p{margin-top:0}h1{line-height:1.45;letter-spacing:-.03em}h2,h3,h4{line-height:1.5}p{margin-bottom:12px}.shell{min-height:100vh;background:radial-gradient(ellipse at 50% 0,#ede8dc66,transparent 580px)}.workspace{width:100%;min-width:0}.main{max-width:1020px;margin:auto;padding:12px 32px 32px}.card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:32px;box-shadow:var(--shadow)}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 23px;border-radius:15px;background:var(--blue);color:#fff;font-size:15px;font-weight:600;text-decoration:none}.button.secondary{background:#fff;border:1px solid var(--line);color:var(--ink)}.button.small{padding:8px 16px;min-height:38px}.button.danger{background:#965d4f}.text-button{padding:0;background:none;font-size:13px;color:var(--muted);text-decoration:underline;text-underline-offset:4px}.small-muted,.optional{color:var(--muted);font-size:13px}.optional{font-weight:400;margin-left:7px}.lead{font-size:16px;line-height:1.8;color:#817b70}.flow-header{max-width:840px;margin:0 auto;padding:31px 32px 10px}.flow-progress{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#8a857a}.flow-progress b{font-weight:500;color:#5e574a;margin:0 3px}.progress-track{height:4px;background:#e7e3d8;overflow:hidden;border-radius:10px;margin-top:13px}.progress-fill{height:100%;background:#b9a372;transition:width .25s}.flow-tools{display:flex;justify-content:space-between;color:#9b968b;font-size:12px;margin-top:12px;gap:12px}.quiet-footer{max-width:840px;margin:0 auto;padding:20px 32px 35px;display:flex;justify-content:space-between;gap:18px;font-size:12px;color:#a19b90}.quiet-footer .text-button{font-size:12px;color:#a19b90}.mode-intro{max-width:840px;text-align:center;margin:28px auto 0}.intro-visual{position:relative;width:160px;height:144px;margin:0 auto 13px;display:grid;place-items:center}.intro-visual img{width:107px;height:115px;position:relative;z-index:1}.orbit{position:absolute;border:1px solid #ded6c3;border-radius:50%;width:152px;height:83px;transform:rotate(-28deg)}.orbit-two{width:128px;height:110px;transform:rotate(35deg);border-color:#e9e1d3}.little-spark{position:absolute;right:0;top:6px;font-size:33px;color:#af985e}.intro-kicker{font-size:13px;color:#a28a50;letter-spacing:2px}.mode-intro h1{font-size:clamp(34px,4.5vw,55px);font-weight:650;letter-spacing:-.04em;line-height:1.28;margin:20px 0}.mode-intro em{font-style:normal;color:#ad9456}.mode-intro .lead{margin:0 auto;max-width:520px}.nickname-start{max-width:300px;margin:24px auto 26px;text-align:left}.mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px;margin-top:29px}.mode-card{padding:26px 27px;text-align:left;position:relative;background:#fffefb;border:1px solid var(--line);border-radius:23px;transition:transform .15s,border-color .15s,box-shadow .15s;box-shadow:var(--shadow)}.mode-card:hover{transform:translateY(-3px);border-color:#c9b786;box-shadow:0 16px 45px #b4a17414}.mode-card strong{display:block;font-size:22px;line-height:1.5;margin:15px 0 4px}.mode-tag{display:block;font-size:13px;color:#938671}.mode-card p{font-size:14px;color:#8b857b;margin:12px 0 24px;max-width:270px}.mode-action{display:flex;justify-content:space-between;align-items:center;font-size:14px;color:#4f4a40;font-weight:600}.mode-action span{font-size:22px;font-weight:400}.scene-icon{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#efe9d9;color:#a58a4d;flex-shrink:0}.scene-icon svg{width:25px;height:25px}.mode-scene{width:55px;height:55px;border-radius:18px}.mode-scene svg{width:29px;height:29px}.mode-card:nth-child(2) .mode-scene{background:#e6ece4;color:#81977c}.field{display:block;margin-bottom:18px}.field>span{font-size:14px;font-weight:600;display:block;margin-bottom:8px}.field input,.field textarea,.field select{display:block;width:100%;border:1px solid #e2ded5;background:#fff;border-radius:12px;padding:12px 14px;font-size:15px;min-height:46px}.field input:focus,.field textarea:focus,.field select:focus{outline:3px solid #d1be9138;border-color:#b7a06a}.field textarea{resize:vertical;line-height:1.8;min-height:100px}.field-row,.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.question-card{max-width:800px;margin:auto;padding:35px 36px 27px}.question-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#9c9588;font-size:12px;margin-bottom:21px}.question-heading{display:flex;gap:16px;align-items:flex-start}.question-heading .topic-scene{margin-top:4px;width:47px;height:47px}.question-card h1{font-size:27px;font-weight:600;margin:0;max-width:620px}.question-hint{font-size:14px;color:#8c867b;line-height:1.85;margin:13px 0 24px}.choice-set{border:0;padding:0;margin:24px 0 17px;min-width:0}.choice-set legend{font-size:14px;color:#797367;margin:0 0 13px;padding:0}.choice-set legend small{font-size:12px;color:#a29b8e;font-weight:400;margin-left:10px}.story-options{display:grid;grid-template-columns:1fr 1fr;gap:11px}.choice-row{display:flex;gap:12px;align-items:center;position:relative;cursor:pointer;min-height:96px;padding:17px 16px;border:1px solid #e7e3da;border-radius:16px;background:#fdfcf9;color:#514c43;font-size:15px;line-height:1.65;transition:background .15s,border-color .15s,transform .15s}.choice-row:hover{background:#f6f2e8;transform:translateY(-1px)}.choice-row>input{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px}.choice-row .scene-icon{width:35px;height:39px;border-radius:11px;background:#eee7d4;color:#a89053}.choice-row .scene-icon svg{width:22px;height:22px}.option-tone-1 .scene-icon{background:#e8ece2;color:#84966c}.option-tone-2 .scene-icon{background:#eee7e3;color:#b28d77}.option-tone-3 .scene-icon{background:#e7e9ef;color:#8793ac}.choice-row>span:not(.scene-icon):not(.choice-tick){padding-right:7px}.choice-tick{display:none;position:absolute;right:10px;top:8px;font-size:12px;color:#917a43}.choice-row:has(input:checked){border-color:#b9a16b;background:#f3edde;box-shadow:inset 0 0 0 1px #b9a16b}.choice-row:has(input:checked) .choice-tick{display:block}.choice-row:has(input:focus-visible){outline:3px solid #ccb783;outline-offset:3px}.fallback-options{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.fallback-option{padding:8px 12px;border:1px solid #e6e2d9;border-radius:20px;background:#fff;color:#948b7b;font-size:12px;line-height:1.6}.fallback-option.selected{background:#eee8da;border-color:#bda877;color:#746038}#status-note:empty{display:none}.memory-guide{background:#f7f5ee;border:1px solid #eeeadf;border-radius:18px;padding:20px;margin:22px 0}.memory-heading{display:flex;gap:11px;align-items:center;margin-bottom:15px}.memory-heading img{width:39px;height:42px}.memory-heading h2{font-size:15px;margin:0 0 1px;color:#766644}.memory-heading p{font-size:12px;margin:0;color:#a09379}.memory-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.memory-cards .memory-scene{width:38px;height:38px;background:#eae3d2;border-radius:12px;margin-bottom:8px}.memory-scene svg{width:22px;height:22px}.memory-cards strong{display:block;font-size:13px;font-weight:600;color:#7e7057}.memory-cards p{font-size:12px;line-height:1.75;margin:5px 0 0;color:#999080}.pattern-details{margin:22px 0;padding-top:19px;border-top:1px solid #eeeae2}.pattern-details .chip-options{display:grid;grid-template-columns:1fr 1fr}.pattern-details .chip-group{margin-bottom:8px}.pattern-details .small-muted{font-size:11px}.context-fields{border-top:1px solid #eeeae2;padding-top:23px;margin-top:26px}.context-fields h3{font-size:15px;font-weight:600;margin-bottom:22px}.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.chip-group{border:0;padding:0;margin:0 0 23px;min-width:0}.chip-group legend{font-size:13px;font-weight:600;margin-bottom:10px;padding:0;color:#746c5e}.chip-group legend small{font-size:11px;color:#a69d8d;font-weight:400;margin-left:6px}.chip-options{display:flex;flex-wrap:wrap;gap:7px}.answer-chip{position:relative;display:flex;align-items:center;max-width:100%;cursor:pointer;min-width:0}.answer-chip input{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px}.answer-chip span{display:block;padding:8px 11px;min-height:37px;border:1px solid #e7e2d7;border-radius:10px;background:#fdfcf9;font-size:12px;line-height:1.6;color:#83796a;overflow-wrap:anywhere}.answer-chip input:checked+span{background:#ede6d5;color:#756036;border-color:#bca66d;box-shadow:inset 0 0 0 1px #bca66d}.answer-chip input:checked+span:before{content:'✓ ';font-weight:700}.answer-chip input:focus-visible+span{outline:3px solid #c6b17c;outline-offset:3px}.pattern-details .answer-chip span{width:100%;padding:10px 12px;font-size:13px;background:#fff}.own-story-toggle{font-size:13px;color:#9a8246;margin:1px 0 15px}.question-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:27px;padding-top:23px;border-top:1px solid #eeeae2}.question-footer .secondary{background:none;border:0;color:#948876;padding-left:3px;font-weight:400;font-size:13px}.question-footer .button:not(.secondary){min-width:150px}.page-heading{display:flex;justify-content:space-between;gap:22px;align-items:flex-start;max-width:940px;margin:18px auto 23px}.page-heading h1{font-size:29px;font-weight:600;margin:0 0 10px}.page-heading .button{flex-shrink:0}.profile-card{max-width:940px;margin:0 auto 20px}.profile-card h2{font-size:18px;margin-bottom:18px}.profile-card .field:last-child{margin-bottom:0}.ai-panel{max-width:940px;margin:0 auto 22px;display:flex;align-items:center;justify-content:space-between;gap:25px;background:#f3efe5}.ai-panel h2{font-size:18px;margin-bottom:8px}.ai-panel p{font-size:13px;color:#928570;line-height:1.85}.ai-panel .button{flex-shrink:0}.report-toc{display:flex;flex-wrap:wrap;gap:9px;max-width:940px;margin:20px auto}.report-toc a{font-size:13px;padding:8px 14px;border:1px solid var(--line);border-radius:20px;background:#fff;text-decoration:none;color:#8a7853}.report-preview{max-width:940px;margin:auto;padding:38px;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);overflow-wrap:anywhere}.report-title{margin-bottom:28px}.report-label{font-size:12px;color:#a9956b}.report-title h2{font-size:29px;font-weight:600;line-height:1.5;margin:9px 0}.report-title p,.report-counts{font-size:13px;color:#9a9286}.report-block{margin-bottom:37px;scroll-margin-top:20px}.report-block-title{display:flex;gap:11px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:20px}.report-block-title>span{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#ede5d0;color:#9a7f40;font-size:13px}.report-block-title h2{font-size:20px;margin:0;font-weight:600}.report-entry{margin:19px 0}.report-entry h3{font-size:17px;margin:0 0 9px}.report-entry p{font-size:15px;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.portrait-hero{display:flex;gap:24px;padding:25px;border:1px solid #e7dfcc;background:linear-gradient(130deg,#f4eedf,#f9f7f1);border-radius:19px;margin:23px 0 29px}.portrait-hero img{width:86px;height:92px;flex-shrink:0}.portrait-hero span{font-size:12px;color:#9c8754}.portrait-hero h3{font-size:24px;font-weight:600;margin:7px 0 12px}.portrait-hero p{font-size:15px;line-height:1.95;white-space:pre-wrap}.resonance-entry{margin:30px 0}.resonance-entry blockquote{margin:15px 0;padding:15px 18px;border-left:3px solid #c5b17a;background:#faf8f2;border-radius:0 12px 12px 0}.resonance-entry blockquote span{font-size:12px;color:#a6946e}.resonance-entry blockquote p{margin-top:7px}.report-highlight{padding:18px 20px;border-left:3px solid #bda66a;background:#f6f2e8;border-radius:0 12px 12px 0}.matching-links{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:10px;font-size:12px}.history-stage{margin-bottom:24px}.history-stage>h3,.history-stage>h2{font-size:21px;border-radius:12px;padding:12px 16px;background:#f7f5ef;margin:0 0 16px;display:flex;gap:12px;align-items:center}.history-stage>h3 span,.history-stage>h2 span{font-size:13px;font-weight:400;color:#aaa08b}.history-event{padding:8px 0 19px;border-bottom:1px solid #ece8df;margin-bottom:14px;scroll-margin-top:20px}.history-event h4{font-size:17px;margin:0 0 8px}.event-meta{font-size:12px;color:#a59678;margin-bottom:9px}.fact-list{padding-left:21px;font-size:15px;margin:8px 0 13px}.fact-list li{margin:4px 0;line-height:1.85}.event-written{white-space:pre-wrap;font-size:15px;line-height:1.95;overflow-wrap:anywhere;margin-bottom:12px}.event-detail{font-size:14px;line-height:1.8;margin-bottom:8px}.event-detail strong{margin-right:11px;color:#8a7855}.steady-notes{font-size:14px;padding:14px 16px;background:#faf8f2;border-radius:12px}.steady-notes ul{margin:5px 0;padding-left:20px}.export-panel{display:grid;grid-template-columns:1fr 240px;gap:25px;max-width:940px;margin:23px auto}.export-panel h2{font-size:20px}.check-row{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.8;margin:14px 0}.check-row input{margin-top:5px;width:17px;height:17px;accent-color:#a78d4d;flex-shrink:0}.export-actions{display:flex;flex-direction:column;gap:10px}.export-actions p{font-size:12px;margin:0;color:#a59b8a}.timeline-readable{max-width:940px;margin:auto}.timeline-readable .card{margin:20px 0}.timeline-edit{color:#9c8446;margin-bottom:8px}.knowledge-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.knowledge-grid h2{font-size:20px}.knowledge-grid p{color:var(--muted);font-size:14px}#toast{position:fixed;left:50%;bottom:27px;transform:translate(-50%,15px);max-width:min(85vw,600px);padding:13px 22px;background:#49453e;color:#fff;border-radius:14px;opacity:0;pointer-events:none;transition:.2s;font-size:14px;z-index:20}#toast.show{opacity:1;transform:translate(-50%,0)}dialog{max-width:430px;border:1px solid var(--line);border-radius:22px;padding:27px;background:#fff}dialog::backdrop{background:#342d2344}dialog h2{font-size:21px}dialog p{font-size:14px;color:var(--muted)}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}[hidden]{display:none!important}
@media(max-width:720px){.main{padding:8px 15px 24px}.flow-header{padding:20px 24px 6px}.flow-progress{font-size:11px;gap:8px}.flow-progress>span:last-child{font-size:10px}.flow-tools{font-size:11px}.quiet-footer{padding:16px 24px 26px;font-size:10px}.quiet-footer .text-button{font-size:10px}.mode-intro{margin:16px auto 0}.intro-visual{height:119px;width:137px;margin-bottom:9px}.intro-visual img{width:88px;height:95px}.orbit{width:135px;height:77px}.orbit-two{width:113px;height:99px}.little-spark{font-size:26px}.mode-intro h1{font-size:36px;margin:17px 0}.mode-intro .lead{font-size:14px}.intro-kicker{font-size:12px}.nickname-start{margin:20px auto 18px;max-width:280px}.mode-grid{grid-template-columns:1fr;gap:12px;margin-top:22px}.mode-card{padding:20px 22px}.mode-card .mode-scene{float:right;margin:2px 0 0 12px}.mode-card strong{font-size:20px;margin-top:0}.mode-tag{font-size:12px}.mode-card p{font-size:13px;max-width:none;margin:10px 0 15px}.mode-action{font-size:13px}.mode-action span{font-size:19px}.card{padding:23px 18px;border-radius:21px}.question-card{padding:23px 18px}.question-meta{font-size:11px;margin-bottom:19px}.question-heading{gap:11px}.question-heading .topic-scene{width:37px;height:40px;margin-top:3px;border-radius:12px}.topic-scene svg{width:22px;height:22px}.question-card h1{font-size:21px;line-height:1.6;font-weight:600}.question-hint{font-size:13px;margin:12px 0 19px}.memory-guide{padding:16px;margin:17px 0}.memory-cards{grid-template-columns:1fr;gap:11px}.memory-cards>div{padding-left:46px;position:relative;min-height:37px}.memory-cards .memory-scene{position:absolute;left:0;top:1px;width:32px;height:34px;border-radius:10px}.memory-cards strong{font-size:12px}.memory-cards p{font-size:12px;margin-top:3px}.memory-heading img{width:32px;height:35px}.memory-heading h2{font-size:14px}.memory-heading p{font-size:11px}.choice-set legend{font-size:13px}.choice-set legend small{font-size:11px}.story-options{gap:9px}.choice-row{min-height:132px;display:block;padding:13px 12px;font-size:13px;line-height:1.8;border-radius:15px}.choice-row .scene-icon{display:grid;width:31px;height:32px;border-radius:10px;margin-bottom:8px}.choice-row .scene-icon svg{width:20px;height:20px}.fallback-options{gap:6px}.fallback-option{font-size:11px;padding:7px 10px}.pattern-details .chip-options{grid-template-columns:1fr}.pattern-details .answer-chip span{font-size:12px}.details-grid{grid-template-columns:1fr;gap:0}.context-fields h3{font-size:14px}.optional{font-size:11px}.chip-group legend{font-size:13px}.answer-chip span{font-size:12px;min-height:39px;padding:9px 11px}.field input,.field textarea,.field select{font-size:16px}.field>span{font-size:13px}.profile-grid{grid-template-columns:1fr}.question-footer .button{min-height:45px;font-size:13px;padding:11px 18px}.question-footer .button:not(.secondary){min-width:135px}.question-footer .secondary{font-size:12px;padding-left:0}.page-heading{display:block;margin:12px 0 20px}.page-heading h1{font-size:24px}.page-heading .button{margin-top:14px;font-size:13px}.lead{font-size:14px}.profile-card h2{font-size:17px}.ai-panel{display:block}.ai-panel .button{width:100%;margin-top:7px}.ai-panel h2{font-size:17px}.report-toc{gap:6px;margin:17px 0}.report-toc a{font-size:12px;padding:7px 11px}.report-preview{padding:24px 19px;border-radius:21px}.report-title h2{font-size:24px}.report-title p,.report-counts{font-size:12px}.report-block-title h2{font-size:18px}.portrait-hero{display:block;padding:19px}.portrait-hero img{width:67px;height:72px;float:right;margin-left:9px}.portrait-hero h3{font-size:22px}.portrait-hero p{clear:both;padding-top:4px;font-size:14px}.report-entry p,.fact-list,.event-written{font-size:14px}.history-stage>h3,.history-stage>h2{display:block;font-size:19px}.history-stage>h3 span,.history-stage>h2 span{display:block;margin-top:4px;font-size:12px}.resonance-entry blockquote{padding:13px 14px}.export-panel{display:block}.export-actions{margin-top:20px}.check-row{font-size:13px}.knowledge-grid{grid-template-columns:1fr}.button{font-size:14px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{body,.shell{background:white}.flow-header,.quiet-footer,.no-print{display:none!important}.main{max-width:none;margin:0;padding:0}.report-preview{border:0;border-radius:0;padding:0;box-shadow:none}.report-block-title h2{font-size:16pt}.report-entry p,.fact-list,.event-written{font-size:11pt}.history-event,.report-entry{break-inside:avoid}.history-stage>h3,.history-stage>h2{break-after:avoid}.portrait-hero{background:none;border:1px solid #ddd}.portrait-hero img{width:60px;height:65px}.resonance-entry blockquote{background:none}.report-block{margin-bottom:20px}}

/* Legible supporting text and choice labels. */
.hospital-directory{max-width:940px;margin:28px auto}.directory-heading{display:flex;gap:17px;align-items:center}.directory-heading h2{font-size:23px;margin:7px 0 0}.directory-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:18px;background:#ece6d6;color:#987f40;font-size:32px;flex-shrink:0}.hospital-notice{margin:22px 0;padding:16px 19px;border-radius:14px;background:#f5f0e3;color:#776649;font-size:14px;line-height:1.9}.hospital-tools label{display:block;font-size:13px;color:#817563}.hospital-tools input{display:block;width:100%;font-size:15px;padding:13px 15px;margin:9px 0 16px;border:1px solid var(--line);border-radius:13px;background:#faf9f6;color:var(--ink)}.city-filters{display:flex;flex-wrap:wrap;gap:8px}.city-filters button{font-size:13px;padding:9px 15px;border:1px solid #e8e2d5;background:#fff;color:#827563;border-radius:22px;cursor:pointer}.city-filters button[aria-pressed=true]{background:#82704b;color:#fff;border-color:#82704b}.hospital-map-scroll{overflow:auto;margin:23px 0;border-radius:18px;background:#f7f5ef;border:1px solid #eee9de}.hospital-city-map{position:relative;width:640px;height:465px;margin:0 auto;overflow:hidden}.map-grid{position:absolute;inset:28px 30px 45px;background-image:linear-gradient(#dcd5c844 1px,transparent 1px),linear-gradient(90deg,#dcd5c844 1px,transparent 1px);background-size:50px 50px;border-radius:50%}.map-north,.map-east,.map-west{position:absolute;color:#a89a7d;font-size:12px}.map-north{right:25px;top:21px}.map-west{left:22px;top:220px}.map-east{right:22px;top:220px}.city-marker{position:absolute}.city-dot{position:absolute;width:10px;height:10px;left:-5px;top:-5px;border-radius:50%;background:#b3a071;box-shadow:0 0 0 5px #e8dfc7}.city-dot.active{background:#6e806e;box-shadow:0 0 0 8px #dce7d6}.city-marker button{position:absolute;white-space:nowrap;font-size:14px;padding:5px 11px;line-height:1.5;background:#fff9;border:1px solid #e1d8c3;border-radius:18px;color:#766646;cursor:pointer}.city-marker button[aria-pressed=true]{background:#6e806e;color:white;border-color:#6e806e}.map-caption{position:absolute;bottom:10px;left:20px;right:20px;text-align:center;font-size:11px;color:#9c8d71;line-height:1.6}.hospital-result-label{font-size:17px;font-weight:600;margin:21px 0 16px}.hospital-result-label span{font-size:12px;font-weight:400;color:#9a8e76;margin-left:9px}.hospital-cards{display:grid;grid-template-columns:1fr 1fr;gap:13px}.hospital-card{padding:20px;border:1px solid #e9e3d8;border-radius:17px;background:#fcfbf8}.hospital-city{font-size:12px;color:#a08b5a}.hospital-card h3{font-size:17px;font-weight:600;line-height:1.6;margin:8px 0}.hospital-status{font-size:12px;color:#91836a;margin:8px 0 13px}.hospital-phone{font-size:15px;color:#615743;text-decoration:none}.phone-caption{display:block;font-size:11px;color:#9a907b;margin:5px 0 12px}.hospital-links{display:flex;flex-wrap:wrap;gap:9px 14px;margin-top:14px}.hospital-links a{font-size:12px;color:#8a7442;text-decoration:none}.phone-source{display:block;font-size:10px;color:#9e9279;margin-top:11px}.hospital-sources{margin-top:22px;font-size:12px;color:#94856a;line-height:1.85}.hospital-sources summary{cursor:pointer}.hospital-sources p{margin:9px 0}.hospital-sources a{color:#7b683b;margin:0 4px}.hospital-empty{padding:21px;background:#f7f5ee;border-radius:15px;color:#867961;font-size:14px;line-height:1.8}
@media(max-width:720px){.directory-heading{gap:12px}.directory-heading h2{font-size:18px}.directory-heading .intro-kicker{font-size:11px}.directory-icon{width:43px;height:43px;font-size:25px}.hospital-notice{font-size:13px;padding:13px 15px}.hospital-cards{grid-template-columns:1fr}.hospital-card h3{font-size:16px}.city-filters{gap:7px}.city-filters button{padding:7px 13px;font-size:12px}.hospital-tools input{font-size:16px}.hospital-map-scroll{margin:17px 0}.hospital-sources{font-size:12px}.hospital-city-map{margin:0;transform-origin:left top}.hospital-links a{font-size:13px}}
.memory-cards p{font-size:13px;color:#807665}.memory-cards strong{font-size:14px;color:#776a53}.question-hint{color:#817969}.answer-chip span{font-size:13px;color:#7a6e5e}.pattern-details .answer-chip span{font-size:14px}.fallback-option{color:#837665}.flow-progress{color:#81796b}.memory-heading p{color:#8b7c61}.mode-tag{color:#837354}
@media(max-width:720px){.choice-row{font-size:14px;min-height:137px}.answer-chip span{font-size:13px}.pattern-details .answer-chip span{font-size:13px}.memory-cards p{font-size:13px}.memory-cards strong{font-size:13px}.fallback-option{font-size:12px}}

.hospital-city-map{width:760px;height:655px}.hospital-basemap{position:absolute;inset:0;width:760px;height:655px;opacity:.85}.city-leaders{position:absolute;inset:0;width:760px;height:655px;pointer-events:none;fill:none;stroke:#b2a071;stroke-width:1.1;stroke-dasharray:3 3}.map-east,.map-west{display:none}.city-marker button{background:#fffdf6}.city-dot{background:#ae9260;box-shadow:0 0 0 5px #e9e0c6aa}.map-north{right:27px;top:24px}.map-caption{bottom:12px;color:#8e846e}.question-companion{width:45px;height:45px;vertical-align:middle;margin-left:10px}.question-meta>span:last-child{display:flex;align-items:center}.mode-card .mode-companion{width:67px;height:67px;margin-bottom:16px}.memory-heading img{width:43px;height:43px}@media(max-width:720px){.question-companion{width:33px;height:33px;margin-left:6px}.mode-card .mode-companion{float:right;width:53px;height:53px;margin:0 0 0 12px}}
.story-invitation{margin-top:28px;padding-top:24px;border-top:1px solid var(--line,#e5e1d6)}
.story-invitation h3{font-size:19px;line-height:1.5;margin:0 0 16px}
.story-recall-options,.story-draft-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:20px}
@media(max-width:600px){.story-recall-options{gap:8px}.story-recall-options .button{font-size:14px;padding:12px 16px}}

.hospital-dialog{width:min(960px,calc(100vw - 36px));max-width:none;max-height:calc(100dvh - 36px);padding:0;overflow:auto;border-radius:24px;box-shadow:0 25px 100px #30271933}.hospital-dialog-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 26px;position:sticky;top:0;background:#fffefb;border-bottom:1px solid var(--line);z-index:5;font-size:13px;color:var(--muted)}.hospital-dialog .hospital-directory{margin:0;border:0;border-radius:0;box-shadow:none}.hospital-dialog::backdrop{background:#342d2366}@media(max-width:600px){.hospital-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:18px}.hospital-dialog .hospital-directory{padding:20px 16px}.hospital-dialog-bar{padding:15px 18px}}

/* The portrait is a small visual notebook; factual details open on demand. */
.visual-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.visual-heading>div>span{font-size:12px;color:#a3926d}.visual-heading h3,.current-visual h3{font-size:20px;margin:4px 0 0;font-weight:600}.visual-heading img{width:54px;height:58px}.rhythm-visual{margin:24px 0 30px}.rhythm-grid{position:relative;display:grid;grid-template-columns:140px repeat(4,minmax(0,1fr));gap:7px;align-items:stretch}.rhythm-corner{font-size:12px;align-self:center;color:#a09684}.rhythm-column{text-align:center;padding:10px 2px 14px;border-bottom:2px solid #e9e2d0}.rhythm-column strong{display:block;font-size:14px;font-weight:600;color:#726447}.rhythm-column small{display:block;font-size:10px;margin-top:4px;color:#a09580}.rhythm-column:last-of-type{border-color:#c5d0b9}.rhythm-topic{display:flex;gap:9px;align-items:center;font-size:13px;color:#6c665b;min-height:64px}.rhythm-icon{width:31px;height:31px;border-radius:10px}.rhythm-icon svg{width:18px;height:18px}.rhythm-cell{position:relative;min-width:0;border:1px solid #ece8df;border-radius:12px;background:#faf9f5}.rhythm-cell>summary{list-style:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:64px;padding:8px 3px;cursor:pointer}.rhythm-cell>summary::-webkit-details-marker{display:none}.rhythm-cell>summary:hover{background:#f3efe5;border-radius:12px}.rhythm-cell[open]{border-color:#baa774;box-shadow:0 0 0 2px #baa77422}.rhythm-cell[open]>summary{background:#f0ebdd;border-radius:12px}.rhythm-mark{display:inline-flex;align-items:center;gap:5px;font-size:11px;line-height:1.5;white-space:nowrap;color:#807663}.rhythm-mark i{display:block;width:8px;height:8px;flex-shrink:0;background:#c1947d;border-radius:50%}.mark-support i{background:#b7a15e;border-radius:2px;transform:rotate(45deg);width:7px;height:7px}.mark-steady i{background:#91a484;border-radius:2px}.mark-story i{border:1px solid #99a8bd;background:transparent}.rhythm-empty{display:grid;place-items:center;min-height:64px;color:#d3cbbc;border:1px dashed #eeebe4;border-radius:12px;font-size:13px}.rhythm-detail{position:absolute;z-index:5;top:calc(100% + 6px);left:0;background:#fffefb;border:1px solid #ddd3bd;border-radius:16px;padding:20px;width:min(450px,70vw);max-height:390px;overflow:auto;box-shadow:0 12px 32px #50483023}.rhythm-col-2 .rhythm-detail,.rhythm-col-3 .rhythm-detail{left:auto;right:0}.rhythm-detail>strong{color:#98814d;font-size:13px}.rhythm-detail .history-event{border-bottom:1px solid #eee8dc;padding-bottom:12px;margin:15px 0}.rhythm-detail .history-event:last-child{border-bottom:0}.rhythm-detail .fact-list,.rhythm-detail .event-written,.rhythm-detail .event-detail{font-size:13px}.rhythm-legend{display:flex;flex-wrap:wrap;gap:16px;margin:19px 0 9px}.visual-note{font-size:11px;line-height:1.8;color:#a39a87}.current-visual{margin:30px 0}.state-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:17px}.state-card{min-width:0;background:#f7f5ef;border:1px solid #eae5da;border-radius:17px;overflow:hidden}.state-card>summary{position:relative;padding:18px;list-style:none;cursor:pointer}.state-card>summary::-webkit-details-marker{display:none}.state-card-icon{width:34px;height:34px;margin-bottom:10px;border-radius:11px}.state-card-icon svg{width:20px;height:20px}.state-card strong{display:block;font-size:14px;font-weight:600;margin:0 0 6px}.state-card small{display:block;color:#a39a87;font-size:10px;min-height:14px}.state-phrases{display:block;margin-top:13px}.state-phrases>span{display:block;padding-left:12px;position:relative;font-size:12px;color:#847b68;line-height:1.7;margin:6px 0}.state-phrases>span:before{content:'';position:absolute;width:4px;height:4px;left:0;top:8px;border-radius:50%;background:#b29c6a}.state-card em{font-size:10px;color:#a59162;font-style:normal;display:block;margin-top:12px}.state-card[open]{border-color:#c2ad79}.state-card-detail{background:#fffefb;padding:17px;border-top:1px solid #e9e0ce}.state-card-detail .fact-list,.state-card-detail .event-written,.state-card-detail .event-detail,.state-card-detail>p{font-size:12px}.timeline-fold{margin:21px 0;padding:15px 0;border-top:1px solid #eee8dc;border-bottom:1px solid #eee8dc}.timeline-fold>summary,.quote-more>summary{font-size:12px;color:#a18c5a;cursor:pointer}.timeline-fold[open]>summary{margin-bottom:25px}.quote-more{margin-top:8px}.quote-more p{margin-top:14px}.resonance-entry p{max-width:65ch}#arrange-status:empty{display:none}
@media(max-width:650px){.rhythm-grid{grid-template-columns:78px repeat(4,minmax(0,1fr));gap:4px}.rhythm-corner{font-size:10px}.rhythm-column strong{font-size:11px}.rhythm-column small{font-size:8px;letter-spacing:-.03em}.rhythm-topic{display:block;font-size:10px;line-height:1.7;padding:5px 0}.rhythm-icon{width:24px;height:24px;display:grid;margin-bottom:3px}.rhythm-icon svg{width:14px;height:14px}.rhythm-cell>summary{padding:7px 1px;min-height:67px;gap:7px}.rhythm-mark{font-size:9px;gap:3px}.rhythm-mark i{width:5px;height:5px}.mark-support i{width:5px;height:5px}.rhythm-detail{padding:15px;width:min(275px,78vw)}.rhythm-col-1 .rhythm-detail{left:-50px}.rhythm-legend{gap:13px}.rhythm-legend .rhythm-mark{font-size:10px}.visual-note{font-size:10px}.state-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.state-card>summary{padding:14px}.state-card strong{font-size:13px}.state-phrases>span{font-size:11px}.visual-heading h3,.current-visual h3{font-size:18px}}

.memory-sliders{display:grid;gap:15px;padding:5px 0 12px}.slider-intro{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.slider-intro h3{margin:0;font-size:14px}.slider-intro>span{font-size:11px;color:#ada391}.memory-slider{display:block;background:#f8f6f0;border:1px solid #ece6d8;border-radius:16px;padding:17px 20px}.slider-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.slider-top strong{font-size:13px;font-weight:500;color:#776d59}.slider-top output{font-size:11px;color:#9b8652;background:#f0e8d4;border-radius:9px;padding:4px 9px;line-height:1.5}.memory-slider input[type=range]{appearance:none;-webkit-appearance:none;display:block;width:100%;height:6px;border-radius:5px;background:linear-gradient(to right,#b7a06c 0 var(--range-fill),#e5dfd0 var(--range-fill) 100%);cursor:pointer;margin:0;padding:0}.memory-slider input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:21px;height:21px;border-radius:50%;background:#fffef9;border:2px solid #b49b64;box-shadow:0 2px 7px #a38a4425}.memory-slider input[type=range]::-moz-range-thumb{width:17px;height:17px;border-radius:50%;background:#fffef9;border:2px solid #b49b64}.memory-slider input:focus-visible{outline:2px solid #ccb783;outline-offset:7px}.slider-ends{display:flex;justify-content:space-between;margin-top:13px;color:#b0a58f;font-size:10px}.saved-fragments{margin:18px 0;color:#a1947a;font-size:11px}.saved-fragments summary{cursor:pointer}.saved-fragments .chip-group{margin:14px 0}.story-invitation{margin-top:24px;padding-top:22px}.story-invitation h3{font-size:15px;line-height:1.7;margin-bottom:14px}.story-recall-options .button{min-height:39px;font-size:12px;padding:9px 14px}.context-fields[hidden]{display:none}.fallback-options{justify-content:flex-start}.question-hint{margin-bottom:18px}@media(max-width:650px){.memory-slider{padding:16px}.slider-intro h3{font-size:13px}.slider-intro>span{font-size:10px}.slider-top strong{font-size:12px}.story-invitation h3{font-size:14px}.story-recall-options{gap:8px}.story-recall-options .button{font-size:11px;padding:9px 11px}}

/* Compact rhythm controls: three small instruments, one quiet panel. */
.memory-sliders{grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;padding:23px 25px 20px;border-radius:19px;background:linear-gradient(110deg,#f3f5f0,#faf7f2 50%,#f4f1f8);border:1px solid #f0eee8}.memory-slider{--slider-tone:#819780;display:block;padding:0;border:0;border-radius:0;background:transparent;min-width:0}.slider-duration{--slider-tone:#c09379}.slider-impactLevel{--slider-tone:#9a8fae}.slider-top{justify-content:flex-start;gap:8px;margin-bottom:7px}.slider-top strong{font-size:12px;font-weight:500;color:#8b8479}.slider-symbol{width:27px;height:27px;border-radius:9px;background:#e7ede1;color:#819780}.slider-symbol svg{width:16px;height:16px}.slider-duration .slider-symbol{background:#f1e6df;color:#bb927b}.slider-impactLevel .slider-symbol{background:#ebe5f1;color:#9a8eaa}.memory-slider>output{display:block;min-height:25px;margin:9px 0 16px;font-size:15px;font-weight:500;color:#5d594f;white-space:nowrap}.memory-slider>output.range-unset{font-size:12px;font-weight:400;color:#a8a194;padding-top:3px}.slider-track-wrap{display:block;position:relative}.memory-slider input[type=range]{position:relative;z-index:2;height:3px;background:linear-gradient(to right,var(--slider-tone) 0 var(--range-fill),#e4e0d7 var(--range-fill) 100%)}.memory-slider input[type=range]::-webkit-slider-thumb{width:16px;height:16px;background:var(--slider-tone);border:3px solid #fffefc;box-shadow:0 1px 4px #6a615423}.memory-slider input[type=range]::-moz-range-thumb{width:11px;height:11px;background:var(--slider-tone);border:3px solid #fffefc}.slider-dots{position:absolute;inset:0 1px;display:flex;justify-content:space-between;pointer-events:none}.slider-dots i{width:3px;height:3px;border-radius:50%;background:#b7b3a8}.slider-ends{font-size:9px;margin-top:12px;color:#aca497}.slider-intro h3{font-size:14px;font-weight:500}.story-invitation{border-top:0;margin-top:17px;padding-top:13px}.story-invitation h3{font-size:14px;font-weight:500}.story-recall-options .button{background:#777466;border-radius:12px;font-weight:500;font-size:12px}.story-recall-options .button.secondary{background:transparent;border-color:#e7e2d7;color:#9c9382}.context-fields{padding-top:20px;margin-top:21px}
@media(max-width:650px){.memory-sliders{grid-template-columns:1fr;gap:23px;padding:20px}.memory-slider{display:grid;grid-template-columns:1fr auto;column-gap:18px}.slider-top{margin:0;align-self:center}.memory-slider>output{margin:0;min-height:0;font-size:13px;text-align:right;align-self:center}.memory-slider>output.range-unset{font-size:11px;padding:0}.slider-track-wrap,.slider-ends{grid-column:1/-1}.slider-track-wrap{margin-top:16px}.slider-ends{margin-top:11px}.slider-top strong{font-size:12px}.slider-intro{margin-bottom:13px}.story-recall-options .button{font-size:11px}}

.download-option{display:grid;gap:8px}.download-option .button{width:100%}.download-option>span{font-size:12px;line-height:1.6;color:var(--muted);padding:0 4px}.download-option+.download-option{padding-top:16px;border-top:1px solid var(--line)}

/* Both reports download directly; the full portrait remains visually prominent. */
.export-panel{grid-template-columns:1fr 330px;align-items:start}.export-actions{gap:15px}.download-option>.button{background:#fff;border:1px solid var(--line);color:var(--ink);font-size:14px}.download-option>span{font-size:11px}
@media(max-width:720px){.export-panel{grid-template-columns:1fr}.export-actions{max-width:none}}
/* Web and PDF share the complete portrait data. */
.portrait-cover{position:relative;background:linear-gradient(120deg,#f3f5ee,#faf5e8);border:1px solid #e6e5d8;border-radius:20px;padding:28px;margin-bottom:32px}.portrait-cover>img{float:right;width:78px;height:84px;margin:0 0 15px 18px}.portrait-cover>span{font-size:12px;color:#8c825f}.portrait-cover h2{font-size:28px;line-height:1.5;margin:12px 0}.portrait-cover>p{font-size:15px;line-height:1.9;max-width:65ch}.portrait-cover>small{font-size:12px;color:var(--muted)}.cover-path{display:flex;justify-content:space-between;position:relative;clear:both;padding-top:26px;margin-top:8px}.cover-path:before{content:'';height:1px;background:#cad4c2;position:absolute;left:8px;right:8px;top:30px}.cover-path span{position:relative;font-size:12px;color:#7e876f;padding-top:15px}.cover-path span:before{content:'';position:absolute;top:0;left:50%;width:9px;height:9px;border-radius:50%;background:#92a088;box-shadow:0 0 0 4px #f5f6ec}.life-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.life-card{background:#f8f9f3;border:1px solid #e4e8dc;border-radius:17px;padding:22px;min-width:0}.life-icon{float:right;width:34px;height:34px;border-radius:11px}.life-card>span{font-size:11px;color:#9b9281}.life-card h3{font-size:19px;margin:8px 0 13px}.life-card p,.pattern-card>p,.discussion-cards p{font-size:14px;line-height:1.9;white-space:pre-wrap}.life-card blockquote,.pattern-card blockquote,.route-facts blockquote{font-size:13px;line-height:1.85;color:#817966;margin:16px 0 0;padding:12px 15px;background:#eeefe5;border-left:2px solid #b0bc9c;border-radius:0 9px 9px 0}.life-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:17px}.life-tags span{font-size:10px;color:#899377;padding:4px 8px;border:1px solid #dfe6d6;border-radius:12px}.support-board{margin:24px 0}.support-board>h3{font-size:17px}.support-board>div{display:grid;grid-template-columns:1fr 1fr;gap:12px}.support-board article{padding:18px;border-radius:14px;background:#eef2e7}.support-board article>span{font-size:11px;color:#959b84}.support-board p{font-size:14px;line-height:1.85;margin:9px 0 0}.support-icon{float:right;width:28px;height:28px}.pattern-card{padding:23px;border-radius:16px;background:#f7f5eb;margin:18px 0}.pattern-card h3{font-size:19px;margin:2px 0 14px}.pattern-icon{float:right;width:32px;height:32px;margin-left:15px}.pattern-card blockquote span,.route-facts blockquote span{font-size:11px;color:#9a917b}.pattern-card blockquote p{font-size:13px;margin:7px 0 0;line-height:1.9}.action-route{--route-color:#788f7e}.route-tasks{--route-color:#7b8fa1}.route-support{--route-color:#aa8d67}.route-intro{display:flex;gap:16px;align-items:flex-start;margin-bottom:20px}.route-icon{flex-shrink:0;width:40px;height:40px}.route-intro p,.route-steps p,.route-observe p{font-size:15px;line-height:1.9;margin:0}.route-goal{background:var(--route-color);color:white;border-radius:16px;padding:22px 24px;margin:22px 0}.route-goal>span{font-size:11px;opacity:.85}.route-goal h3{font-size:20px;line-height:1.65;font-weight:500;margin:9px 0 0}.route-facts{margin:20px 0}.route-facts summary{font-size:13px;color:#918064;cursor:pointer}.route-steps{list-style:none;counter-reset:steps;padding:0;display:grid;gap:12px;margin:24px 0}.route-steps li{position:relative;counter-increment:steps;border:1px solid #e6e9df;background:#f7f9f3;border-radius:14px;padding:19px 20px 19px 60px}.route-steps li:before{content:counter(steps);position:absolute;left:19px;top:20px;background:var(--route-color);color:#fff;width:26px;height:26px;display:grid;place-items:center;border-radius:50%;font-size:13px}.route-observe{padding:20px 23px;border-left:3px solid var(--route-color);background:#fafaf6;margin:21px 0}.route-observe h4{font-size:15px;margin:0 0 10px}.discussion-cards{display:grid;gap:16px}.discussion-cards>section{padding:23px;border-radius:16px;border:1px solid #e1e6da;background:#f8faf5}.discussion-cards h3{font-size:18px;margin:0 0 12px}.discussion-icon{float:right;width:33px;height:33px}.discussion-cards .discussion-facts{font-size:12px;color:#938b7c}.discussion-cards section>div{padding:14px 17px;background:#edf1e7;border-radius:11px;margin-top:16px}.discussion-cards section>div>strong{font-size:12px;color:#78846b}.discussion-cards section>div>p{margin:7px 0 0}.reference-list{padding-left:24px}.reference-list li{padding:10px 0;scroll-margin-top:24px;font-size:13px;line-height:1.8;overflow-wrap:anywhere}.reference-list p{font-size:12px;color:var(--muted);margin:7px 0}.report-table{overflow-x:auto}.report-table table{border-collapse:collapse;font-size:13px;line-height:1.8}.report-table th,.report-table td{border:1px solid var(--line);padding:12px;text-align:left}.report-table thead{background:#f3f5ef}#export-status{line-height:1.9}
@media(max-width:650px){.portrait-cover{padding:20px;margin-bottom:25px}.portrait-cover h2{font-size:23px;clear:both}.portrait-cover>img{width:59px;height:63px}.portrait-cover>p{font-size:14px}.life-card-grid{grid-template-columns:1fr;gap:12px}.life-card{padding:19px}.life-card h3,.pattern-card h3{font-size:18px}.cover-path span{font-size:10px}.pattern-card,.discussion-cards>section{padding:19px}.support-board>div{grid-template-columns:1fr}.route-intro{gap:11px}.route-intro p,.route-steps p,.route-observe p{font-size:14px}.route-goal{padding:19px}.route-goal h3{font-size:18px}.route-steps li{padding:16px 15px 16px 50px}.route-steps li:before{left:14px;top:18px;width:23px;height:23px}.route-observe{padding:17px}.report-block-title h2{font-size:17px}.report-block{scroll-margin-top:20px}}
.invite-shell{max-width:620px;margin:auto;padding:35px 22px 50px}.invite-brand{display:block;margin:0 0 28px;color:#95815b;text-decoration:none;font-size:14px}.invite-card{padding:37px}.invite-card>img{display:block;width:74px;height:80px;margin:0 0 24px}.invite-card h1{font-size:29px;margin:17px 0}.invite-card .lead{font-size:14px}.invite-card form{margin-top:27px}.invite-card form>.button{width:100%}.invite-card input{font-size:15px;letter-spacing:1px}.invite-card form>p{font-size:12px;line-height:1.8;color:#9a7058;margin:13px 0;min-height:20px}.invite-facts{padding:19px 0 0 17px;border-top:1px solid var(--line);font-size:12px;line-height:1.9;color:var(--muted);margin-bottom:0}.invite-facts li{margin:8px 0}.invite-public{text-align:center;font-size:12px;margin:25px 0}.member-toolbar{max-width:940px;margin:0 auto;padding:17px 32px 4px;display:flex;align-items:center;justify-content:space-between;gap:15px;color:#8c846f;font-size:12px}.member-toolbar>div{display:flex;gap:12px;flex-wrap:wrap}.member-toolbar strong{font-weight:500;color:#8d784c}.member-toolbar button{font-size:12px;white-space:nowrap}.member-return{font-size:12px;color:#928873;margin:23px 0 0}.member-return a{color:inherit}.invite-note{font-size:12px;line-height:1.9;color:#968b75;margin:14px 0}.member-toolbar+header{padding-top:5px}
@media(max-width:650px){.invite-shell{padding:24px 15px}.invite-card{padding:25px 22px}.invite-card h1{font-size:24px}.invite-card>img{width:61px;height:66px}.invite-card input{font-size:16px;letter-spacing:.4px}.member-toolbar{padding:15px 21px 5px;font-size:10px;align-items:flex-start}.member-toolbar>div{display:grid;gap:5px}.member-toolbar button{font-size:11px}}

/* A quiet, single-task interview. */
.mode-length{margin:18px 0 0;color:#867b68;font-size:14px}.mode-precision{display:block;margin-top:12px;line-height:1.65;color:#8d704e;font-size:13px}.gentle-question{max-width:840px;margin:auto;padding:38px 44px}.gentle-question .question-heading h1{font-size:clamp(24px,3vw,31px);line-height:1.55}.gentle-question .question-hint{max-width:640px;margin-bottom:30px}.compact-choice{padding:25px 0 18px}.compact-choice select{width:100%;min-height:64px;background:#faf8f1;border:1px solid #d7c8a8;border-radius:16px;padding:14px 18px;font:inherit;color:#514a3e;white-space:normal}.picked-fragments{border-left:3px solid #b5bf9e;margin:24px 0;padding:4px 0 4px 20px;color:#615c51}.picked-fragments p{display:flex;gap:12px;margin:12px 0;line-height:1.8}.picked-fragments span{color:#8b9e78}.step-eyebrow{display:block;color:#9b8358;font-size:13px;letter-spacing:.15em;margin:10px 0 20px}.chat-opening textarea,.followup textarea{min-height:180px;background:#fcfbf7;border-radius:18px;line-height:1.9;resize:vertical}.chat-opening>.button{margin-top:12px}.quiet-options{font-size:14px;color:#928775;margin:24px 0}.quiet-options summary,.story-fold summary{cursor:pointer;padding:10px 0;width:fit-content}.quiet-options>div{display:flex;flex-wrap:wrap;gap:18px;margin-top:12px}.gentle-question .question-footer{align-items:center;gap:20px;margin-top:34px}.conversation{margin-top:28px}.story-fold{background:#f7f5ee;padding:10px 20px;border-radius:16px;color:#827967;font-size:14px}.chat-original,.chat-turn p{white-space:pre-wrap;overflow-wrap:anywhere;color:#5e584d;line-height:1.9}.chat-turn{border-top:1px solid #e5ded0;padding:16px 0}.chat-turn small{color:#8c816d}.followup{padding:30px 0 0}.followup blockquote{margin:0 0 22px;border-left:2px solid #cbb88b;padding:4px 0 4px 16px;color:#8b806b;overflow-wrap:anywhere}.followup h2{font-size:23px;font-weight:550;line-height:1.65;margin:0 0 26px}.chat-actions{display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin-top:24px}.puzzle-complete{text-align:center;padding:38px 10px 14px}.puzzle-complete>span{color:#b79b5b;font-size:40px}.puzzle-complete h2{font-size:24px;margin:14px 0}.puzzle-complete p{color:#8c826f;line-height:1.8}.chat-thinking{color:#978668;min-height:90px;padding:24px 0}.answer-saved{font-size:14px;color:#859471;background:#f4f6ee;padding:14px 18px;border-radius:12px}.interaction-heart{position:fixed;z-index:99;pointer-events:none;color:#cb9b8f;font-size:21px;animation:heart-rise 850ms ease-out forwards}@keyframes heart-rise{to{transform:translateY(-45px) scale(.65);opacity:0}}@media(prefers-reduced-motion:reduce){.interaction-heart{display:none}}@media(max-width:640px){.gentle-question{padding:24px 20px}.gentle-question .question-heading{gap:12px}.gentle-question .question-heading h1{font-size:24px}.gentle-question .question-footer{gap:12px}.chat-actions{gap:16px}.compact-choice select{font-size:15px}.chat-opening>.button{width:100%}.followup h2{font-size:21px}.star-header .flow-tools{font-size:12px}}

/* Direct, readable selections; no hidden choice menu. */
.checklist-choice{margin:26px 0 0;padding:0;border:0}.checklist-choice legend{padding:0;margin-bottom:15px;font-size:16px;font-weight:600}.checklist-choice legend small{font-weight:400;font-size:12px;color:#9c907b;margin-left:10px}.fragment-list{display:flex;flex-direction:column;border-top:1px solid #eae4d7}.fragment-line{display:flex;align-items:center;gap:15px;padding:17px 12px;min-height:60px;border-bottom:1px solid #eae4d7;cursor:pointer;color:#625b4e;line-height:1.7;transition:background .15s}.fragment-line:hover{background:#faf8ef}.fragment-line:has(input:checked){background:#f2efdf;color:#574c32}.fragment-line input{width:21px;height:21px;flex:0 0 21px;margin:0;accent-color:#a78e53;cursor:pointer}.fragment-line span{font-size:16px}.choice-status-list{display:flex;flex-direction:column;margin-top:19px}.choice-status-list .fragment-line{min-height:43px;padding:9px 12px;border:0}.choice-status-list .fragment-line span{font-size:13px;color:#948773}.choice-status-list input{width:17px;height:17px;flex-basis:17px}.memory-swap{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:66px;padding:16px 20px;margin:12px 0 25px;background:#f2eddf;border:1px solid #d8c8a5;border-radius:17px;color:#827045;font-weight:600;font-size:18px;text-align:center}.memory-swap>span:first-child{font-size:26px;line-height:1}.memory-swap:hover{background:#eae1c9}.memory-swap:active{transform:scale(.99)}.chat-opening textarea{min-height:210px}.gentle-question .question-heading h1{font-size:clamp(23px,2.6vw,29px)}@media(max-width:640px){.fragment-line{padding:15px 8px;gap:12px}.fragment-line span{font-size:15px}.memory-swap{font-size:17px;min-height:64px}.chat-opening textarea{min-height:200px}}

.supplement-section{margin-top:15px;border-top:1px solid #ece6d9;padding-top:5px}.supplement-toggle{border:0}.supplement-toggle small{font-size:11px;color:#a99266;margin-left:8px;font-weight:400}.supplement-section .field{margin:12px 0 0}.supplement-section textarea{min-height:128px;background:#fcfbf7;border-radius:14px}.supplement-section [hidden]{display:none}.supplement-dialog{width:min(470px,calc(100vw - 36px));border:1px solid #e5dbc3;border-radius:24px;padding:30px;background:#fffdf8;color:#665d4a;box-shadow:0 25px 90px #34270f2b}.supplement-dialog::backdrop{background:#3f372642;backdrop-filter:blur(3px)}.supplement-dialog h2{font-size:24px;margin:14px 0}.supplement-dialog p{line-height:1.9;font-size:15px}.dialog-stars{font-size:27px;color:#c7a24b;letter-spacing:8px}.supplement-dialog .dialog-actions{flex-wrap:wrap;gap:12px;margin-top:24px}.guided-save-invite{margin:15px 0 24px;padding:20px;border:1px solid #e2d8c1;border-radius:16px;background:#faf7ed;max-width:600px}.guided-save-invite p{font-size:14px;line-height:1.85;color:#8b7d62}.guided-save-invite .button{font-size:13px}.chat-opening>.button{margin-top:20px}@media(max-width:640px){.supplement-toggle small{display:block;margin-left:0}.guided-save-invite{padding:16px}.guided-save-invite .button{width:100%}.supplement-dialog .dialog-actions .button{width:100%}}

/* Guided turns keep writing primary and choices secondary. */
.guided-written textarea{min-height:170px}.guided-written .guided-auxiliary{margin:28px 0}.guided-written .memory-swap{margin-bottom:24px}.previous-answer{margin:0 0 24px;padding:14px 18px;border-left:3px solid var(--gold,#b49a60);background:#faf8f1;color:#756e61;line-height:1.8}.clinical-review{margin:28px 0}.clinical-review summary{cursor:pointer;font-weight:600;margin-top:18px}.clinical-review article{line-height:1.9;max-width:760px;margin:24px auto}.clinical-review article h3{margin-top:28px}.clinical-review article p{white-space:pre-wrap}.guided-auxiliary legend small{font-weight:400}.guided-written textarea:disabled{opacity:.75}

/* Entry page: one clear introduction and two equally weighted paths. */
.mode-intro{max-width:880px;margin:10px auto 0;padding:0 0 20px}
.mode-intro .intro-visual{height:118px;margin-bottom:4px}
.mode-intro .intro-visual img{width:94px;height:102px}
.mode-intro h1{margin:8px 0 14px;font-size:clamp(35px,4.4vw,50px)}
.mode-intro .lead{line-height:1.75}
.mode-intro .nickname-start{max-width:360px;margin:22px auto 18px}
.mode-intro .nickname-start .field{margin:0}
.mode-intro .mode-length{margin:12px 0 0;font-size:13px;letter-spacing:.08em}
.mode-intro .mode-grid{margin-top:15px;gap:16px;align-items:stretch}
.mode-intro .mode-card{display:flex;flex-direction:column;min-height:252px;padding:22px 25px}
.mode-intro .mode-card .mode-companion{width:54px;height:54px;margin:0 0 8px}
.mode-intro .mode-card strong{margin:0 0 3px;font-size:21px}
.mode-intro .mode-card p{max-width:none;line-height:1.7;margin:12px 0 18px}
.mode-intro .mode-card .mode-action{margin-top:auto;padding-top:11px;border-top:1px solid #eee9df}
.mode-intro .member-return{margin-top:16px}
.guided-selections .step-eyebrow{margin-bottom:16px}
.guided-selections .checklist-choice{margin-top:20px}
.guided-selections>.button{margin-top:24px}
.previous-answer{margin:0 0 16px;padding:10px 15px;border-left:3px solid #c9b584;background:#faf8f1;color:#817354;line-height:1.8;overflow-wrap:anywhere}
@media(max-width:720px){.mode-intro{margin:0 auto;padding-bottom:8px}.mode-intro .intro-visual{height:102px}.mode-intro .intro-visual img{width:81px;height:88px}.mode-intro h1{font-size:35px;margin:7px 0 12px}.mode-intro .nickname-start{margin:18px auto 14px}.mode-intro .mode-grid{gap:12px;margin-top:13px}.mode-intro .mode-card{min-height:0;padding:19px 21px}.mode-intro .mode-card .mode-companion{float:none;width:48px;height:48px;margin:0 0 5px}.mode-intro .mode-card p{margin:10px 0 13px}.guided-selections>.button{width:100%}}

.guide-detail-heading{font-size:22px;line-height:1.7;margin:22px 0 12px}.guided-selections>.text-button{display:block;margin-top:20px}.guided-selections .story-fold{margin-bottom:20px}.guided-selections .answer-saved{margin-top:20px}
@media(max-width:650px){.rhythm-cell{position:static}.rhythm-detail,.rhythm-col-3 .rhythm-detail{left:0;right:0;top:auto;width:auto;margin-top:6px}.rhythm-mark{flex-wrap:wrap;justify-content:center;text-align:center;word-break:break-all}}
.frequency-row,.setting-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px 14px 47px;border-bottom:1px solid #eae4d7;font-size:13px;color:#8a8170}.frequency-row[hidden],.setting-row[hidden]{display:none}.setting-row{padding-left:12px;border-bottom:0;margin-top:6px}.setting-row>span{width:100%;color:#6f6656}.setting-row small{margin-left:6px;color:#aaa192}.setting-row>div{display:flex;flex-wrap:wrap;gap:8px}.mini-chip{position:relative;display:inline-flex}.mini-chip input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}.mini-chip span{display:inline-block;padding:7px 14px;border:1px solid #ddd3bd;border-radius:999px;background:#fffefb;color:#6f6656;font-size:13px;line-height:1.3}.mini-chip input:checked+span{background:#efe6cf;border-color:#b6a372;color:#5b4b25;font-weight:600}.mini-chip input:focus-visible+span{outline:3px solid #b6a372;outline-offset:2px}
.consent-row{display:flex;gap:12px;align-items:flex-start;text-align:left;max-width:560px;margin:18px auto 6px;padding:14px 16px;border:1px solid #e3dac6;border-radius:16px;background:#fffdf8;color:#5f5848;font-size:14px;line-height:1.7;cursor:pointer}.consent-row input{margin-top:5px;width:18px;height:18px;flex:none;accent-color:#9a8048}.consent-row small{display:block;color:#8a8170;font-size:12px;margin-top:3px}.consent-later{padding:20px 22px}.consent-later h2{font-size:16px;margin-bottom:4px}.consent-later .consent-row{margin:8px 0 0}
.inapp-notice{max-width:560px;margin:14px auto 0;padding:14px 18px;border-radius:16px;background:#fff4dc;border:1px solid #e6cf98;color:#5d4a1f;font-size:13px;line-height:1.7;text-align:left}.inapp-notice strong{display:block;font-size:14px}.inapp-notice p{margin:4px 0 6px}.inapp-notice .text-button{font-weight:600;color:#7a5c17}
.mode-promise{margin:12px auto 0;font-size:13px;color:#8d7a4b;font-weight:600;letter-spacing:.02em}.output-preview{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:520px;margin:14px auto 0;text-align:left}.output-preview>div{padding:12px 14px;border:1px solid #e8e1d0;border-radius:14px;background:#fffefb}.output-preview strong{display:block;font-size:14px;color:#4d463a}.output-preview span{font-size:12px;color:#8a8170;line-height:1.6}.not-diagnosis{margin:10px auto 0;font-size:12px;color:#a09684}
.quick-summary{padding:22px 24px;margin-bottom:18px}.quick-summary h2{font-size:17px;margin-bottom:8px}.quick-summary ul{margin:0;padding-left:20px;color:#5f5848;line-height:1.9;font-size:15px}
.report-fold{margin:20px 0}.report-fold>summary{list-style:none;cursor:pointer;padding:18px 22px;border:1px solid var(--line);border-radius:20px;background:#fff;font-weight:600;color:#5b4b25;display:flex;flex-direction:column;gap:3px}.report-fold>summary::-webkit-details-marker{display:none}.report-fold>summary::after{content:'展开 ↓';font-size:12px;color:#a28b5b;font-weight:500}.report-fold[open]>summary::after{content:'收起 ↑'}.report-fold>summary small{font-weight:400;color:#8a8170;font-size:12px}
.quiet-stars #star-flight-layer,.quiet-stars .star-global-dock{display:none!important}.quiet-stars .star-header .star-scene,.quiet-stars .star-header .jar-shelf,.quiet-stars .star-header .fusion-hint{display:none}.quiet-stars .star-header .star-progress{min-height:0;grid-template-columns:1fr}
@media(max-width:650px){.output-preview>div{padding:10px 12px}.output-preview span{font-size:11px}.frequency-row{padding-left:12px}.consent-row{font-size:13px}}
@media print{.report-fold>summary{display:none}.report-fold:not([open])>*{display:block}}
