:root{--paper:#fffefa;--canvas:#f7f5ef;--ink:#223d32;--muted:#56685b;--green:#265441;--pale:#e9efe4;--line:#d8ded1;--gold:#ece3cf;--danger:#8c382d;--radius:12px;color-scheme:light;background:var(--canvas);color:var(--ink);font-family:system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:16px;line-height:1.65}button,textarea,input{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.45}button,summary{-webkit-tap-highlight-color:transparent}a{color:inherit;text-underline-offset:4px}::selection{background:#c8d9c0;color:#173729}:focus-visible{outline:3px solid #8d6b26;outline-offset:4px}button:focus:not(:focus-visible){outline:none}textarea{caret-color:var(--green)}[hidden]{display:none!important}.skip-link{position:fixed;top:-100px;left:15px;background:var(--paper);z-index:20;padding:10px}.skip-link:focus{top:8px}.app{min-height:100svh;display:flex;flex-direction:column}.topbar{width:min(100%,1080px);margin:auto;display:flex;align-items:center;gap:30px;padding:22px 36px 16px}.brand{border:0;background:none;display:flex;align-items:center;gap:10px;padding:0;font-weight:750;font-size:22px;min-height:44px}.brand svg{width:31px;height:31px;padding:6px;border-radius:9px;background:var(--green);fill:none;stroke:var(--paper);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.top-status{display:flex;gap:15px;align-items:baseline;font-size:12px;color:var(--muted);flex:1}.top-status #save-status{font-size:11px}.top-actions{display:flex;align-items:center;gap:12px}.quiet-button{background:none;border:0;padding:8px 10px;font-size:13px;min-height:44px;text-decoration:underline;text-underline-offset:4px}.icon-button{display:grid;place-items:center;min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:10px;background:none}.icon-button svg{width:22px;height:22px;fill:var(--ink);stroke:none}.progress-track{height:3px;background:var(--line);width:100%}#progress-fill{height:100%;background:var(--green);width:0;transition:width .2s ease-out}#warning-host{width:min(100%,720px);padding:0 28px;margin:0 auto}.warning{margin:18px 0 0;padding:13px 16px;background:#f1e1d1;border-radius:10px;color:#663e26;font-size:13px}.warning button{color:inherit}main{width:min(100%,688px);margin:0 auto;padding:40px 28px 25px;outline:none;flex:1}.welcome{padding:35px 0 15px}.welcome h1{font-size:43px;line-height:1.3;font-weight:650;letter-spacing:-.035em;margin:0 0 21px;text-wrap:balance;max-width:12em}.welcome h1 span{display:block;color:var(--green)}.welcome-lead{font-size:16px;color:var(--muted);max-width:33em;margin:0 0 30px;line-height:1.85}.start-button{font-size:16px!important;min-height:52px!important;padding:13px 25px!important}.welcome-proof{display:flex;gap:20px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin:18px 0 0}.welcome-proof span{display:flex;align-items:center;gap:7px}.welcome-proof svg{width:15px;height:15px;stroke:var(--green);stroke-width:1.7;fill:none}.welcome-bottom{margin-top:52px;border-top:1px solid var(--line);padding:22px 0}.welcome-bottom p{font-size:13px;color:var(--muted);margin:0 0 8px}.legacy-nudge{padding:17px 20px;background:var(--gold);border-radius:12px;margin:25px 0;font-size:13px}.legacy-nudge p{margin:0 0 4px}.legacy-nudge button{padding-left:0}.resume-overview{margin-top:25px;display:flex;gap:14px;align-items:center;color:var(--muted);font-size:13px}.flow-chapter{font-size:12px;color:var(--muted);margin:0 0 18px;display:flex;gap:8px;align-items:center}.flow-chapter button{background:none;border:0;padding:3px 0;color:var(--muted);font:inherit;min-height:30px;text-align:left}.question h1{font-size:29px;line-height:1.5;font-weight:650;letter-spacing:-.02em;margin:0 0 12px;text-wrap:balance}.instruction{font-size:14px;line-height:1.8;color:var(--muted);margin:0 0 21px;white-space:pre-line}.choice-instruction{font-size:12px;color:var(--muted);margin:0 0 12px}.options{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:9px;min-width:0}.choice{display:flex;gap:13px;align-items:flex-start;border:1px solid #bec8b6;border-radius:12px;padding:14px 16px;background:var(--paper);cursor:pointer;min-height:56px;transition:background .15s ease-out,border-color .15s ease-out}.choice:hover{background:#f0f3e9;border-color:#778b6e}.choice:has(input:checked){background:var(--pale);border-color:var(--green)}.choice input{appearance:none;width:20px;height:20px;border:1.5px solid #87987d;border-radius:6px;margin:3px 0 0;flex-shrink:0;background:var(--paper)}.choice input:checked{background:var(--green);border-color:var(--green)}.choice input:checked:after{content:'';display:block;width:5px;height:10px;border:solid var(--paper);border-width:0 2px 2px 0;transform:rotate(45deg);margin:1px 0 0 6px}.choice span{font-size:16px;line-height:1.65}.choice small{font-size:12px;color:var(--muted);display:block;line-height:1.65;margin-top:3px}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.help{font-size:13px;color:var(--muted);margin:3px 0 20px}.help summary,.annotation summary,.memory summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px;list-style:none}.help summary::-webkit-details-marker,.annotation summary::-webkit-details-marker,.memory summary::-webkit-details-marker{display:none}.help summary:before,.annotation summary:before,.memory summary:before{content:'+';font-size:19px;font-weight:300;line-height:1;width:15px}.help[open] summary:before,.annotation[open] summary:before,.memory[open] summary:before{content:'−'}.help p{padding:10px 14px;background:#efeee3;border-radius:10px;white-space:pre-line;margin:0 0 10px;font-size:13px;line-height:1.85}.annotation{margin-top:16px;border-top:1px solid var(--line);padding-top:5px}.annotation summary{font-size:13px;color:var(--muted)}.annotation p{font-size:12px;color:var(--muted);margin:0 0 8px}.annotation textarea{min-height:100px}.textarea-label{display:block;font-size:13px;color:var(--muted);margin:0 0 9px}textarea{display:block;width:100%;min-height:148px;border:1px solid #aab8a0;border-radius:12px;background:var(--paper);padding:15px 16px;resize:vertical;font-size:16px;line-height:1.75;color:var(--ink);scroll-margin-block:120px}textarea::placeholder{color:#6c7866;opacity:1}textarea:focus{outline:2px solid #6f8865;outline-offset:3px}.text-hint{font-size:12px;color:var(--muted);margin:10px 0 0}.memory{font-size:12px;border-bottom:1px solid var(--line);margin:0 0 22px;color:var(--muted)}.memory p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 15px;padding:0 0 0 23px;font-size:13px;max-height:180px;overflow:auto}.skip-block{margin-top:20px;padding:14px 16px;background:var(--gold);border-radius:12px;font-size:13px}.skip-block p{margin:0 0 8px}.skip-block .button{font-size:13px}.flow-footer{position:sticky;bottom:0;z-index:4;background:var(--canvas);border-top:1px solid var(--line);padding:16px 28px max(16px,env(safe-area-inset-bottom));margin-top:8px}.footer-inner{max-width:632px;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:auto}.footer-actions{display:flex;gap:12px;align-items:center}.button{background:var(--green);color:var(--paper);border:1px solid transparent;border-radius:11px;padding:11px 22px;min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:650;font-size:14px;line-height:1.5;text-decoration:none}.button svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}.button:hover{background:#1c4433}.button.secondary{background:none;border-color:#adbaa4;color:var(--ink);font-weight:500}.button.secondary:hover{background:var(--pale)}.button.danger{background:var(--danger)}.back-button{min-width:44px;min-height:48px;display:flex;gap:7px;align-items:center;background:none;border:0;padding:10px 0;color:var(--muted);font-size:13px}.back-button svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.7;fill:none}.skip-button{padding:9px 10px;border:0;background:none;color:var(--muted);text-decoration:underline;text-underline-offset:4px;min-height:48px;font-size:13px}.footer-note{font-size:11px;color:var(--muted)}.footer-primary{min-width:128px}.pause{padding:36px 0 20px}.pause-mark{width:50px;height:50px;border-radius:50%;background:var(--pale);display:grid;place-items:center;margin-bottom:26px}.pause-mark svg{width:24px;height:24px;stroke:var(--green);fill:none;stroke-width:1.7}.pause h1{font-size:31px;line-height:1.4;margin:0 0 16px;letter-spacing:-.02em}.pause p{color:var(--muted);font-size:15px;line-height:1.9;margin:0 0 25px}.pause .button{margin-right:8px}.pause-data{margin:30px 0;border-top:1px solid var(--line);padding-top:20px;font-size:13px;color:var(--muted)}.pause-data p{font-size:13px;margin:0 0 8px}.review h1,.feedback h1{font-size:31px;line-height:1.45;letter-spacing:-.02em;margin:0 0 15px}.review-lead,.feedback-lead{font-size:14px;color:var(--muted);line-height:1.85;margin:0 0 25px}.review-actions{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.review-actions .button{flex-shrink:0}.review-summary{font-size:12px;color:var(--muted);margin:23px 0}.review-group{border-top:1px solid var(--line);padding:0}.review-group>summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:15px;min-height:70px;padding:15px 0;font-size:17px;font-weight:600}.review-group>summary::-webkit-details-marker{display:none}.review-group>summary small{font-size:12px;font-weight:400;color:var(--muted)}.review-group>summary:after{content:'+';font-size:21px;font-weight:300;color:var(--muted)}.review-group[open]>summary:after{content:'−'}.review-answer{padding:17px 0;border-top:1px solid #e2e5dc}.review-answer h3{font-size:14px;font-weight:600;margin:0 0 8px}.review-answer p{font-size:14px;margin:6px 0;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}.review-answer ul{padding-left:20px;font-size:14px;line-height:1.85;margin:5px 0}.review-answer .answer-note{font-size:12px;color:var(--muted);margin-top:12px}.review-answer .empty{font-size:12px;color:var(--muted)}.review-answer button{padding-left:0}.review-feedback{margin:28px 0;padding:22px;background:#eeeade;border-radius:12px}.review-feedback h2{font-size:17px;margin:0 0 12px}.review-feedback p{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.review-feedback button{padding-left:0}.deepen{margin-top:30px;border-top:1px solid var(--line);padding-top:25px}.deepen h2{font-size:18px;margin:0 0 10px}.deepen p{font-size:13px;color:var(--muted);margin:0 0 14px}.deepen-link{display:flex;justify-content:space-between;align-items:center;gap:15px;width:100%;background:none;border:0;border-bottom:1px solid var(--line);text-align:left;min-height:66px;padding:14px 0;font-size:14px}.deepen-link span:last-child{font-size:12px;color:var(--muted)}.privacy-foot{font-size:11px;color:var(--muted);margin-top:28px;line-height:1.9}.legacy-title{font-size:22px;margin:0 0 12px}.legacy-intro{font-size:13px;color:var(--muted);margin:0 0 22px}.legacy-text{font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;border-top:1px solid var(--line);padding-top:20px}.feedback textarea{min-height:210px}.feedback .feedback-lead{margin-bottom:23px}.feedback-note{font-size:12px;color:var(--muted);margin-top:13px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--paper);border-radius:10px;padding:13px 20px;font-size:13px;max-width:calc(100vw - 28px);width:max-content;box-shadow:0 10px 36px #203c3325;z-index:10}dialog{width:calc(100% - 32px);max-width:560px;max-height:85dvh;border:0;border-radius:16px;padding:25px;background:var(--paper);color:var(--ink);box-shadow:0 18px 70px #17372933}dialog::backdrop{background:#203c3355}dialog h2{font-size:24px;margin:0 0 15px;line-height:1.5}dialog p,dialog li{font-size:14px;line-height:1.85}dialog ul{padding-left:20px}.dialog-close{text-align:right;margin-top:20px}.dialog-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 0}.tool-list{display:flex;flex-direction:column;gap:9px}.tool-list .button{justify-content:flex-start;text-align:left}.danger-text{color:var(--danger)}.copy-manual{height:240px;font-size:14px}.chapters-menu{display:flex;flex-direction:column;gap:4px}.chapters-menu button{display:flex;justify-content:space-between;gap:15px;text-align:left;background:none;border:0;border-bottom:1px solid var(--line);padding:14px 0;min-height:54px;font-size:14px}.chapters-menu small{color:var(--muted);font-size:11px}.app:has(textarea:focus) .flow-footer,body.keyboard-open .flow-footer{position:static}.app:has(textarea:focus) #toast{bottom:12px}
@media(max-width:700px){.topbar{padding:14px 20px 11px;gap:14px}.brand{font-size:19px;gap:8px}.brand svg{width:28px;height:28px}.top-status{display:block;line-height:1.4;font-size:11px;text-align:right}.top-status #save-status{display:block;font-size:10px;margin-top:3px}.top-actions{gap:2px}.top-actions .quiet-button{font-size:12px;padding:7px;min-width:42px}.icon-button{border:0;min-width:36px}.progress-track{height:3px}main{padding:27px 22px 22px;max-width:620px}#warning-host{padding:0 22px}.welcome{padding:26px 0 0}.welcome h1{font-size:34px;line-height:1.35;max-width:11em;margin-bottom:20px}.welcome-lead{font-size:15px;line-height:1.85;margin-bottom:26px}.start-button{width:100%;min-height:52px!important}.welcome-proof{justify-content:space-between;gap:8px;font-size:11px;margin-top:16px}.welcome-bottom{margin-top:37px;padding-top:20px}.welcome-bottom p{font-size:12px}.legacy-nudge{margin:21px 0;padding:15px}.flow-chapter{font-size:11px;margin-bottom:14px;min-height:30px}.flow-chapter button{min-height:44px}.question h1{font-size:25px;line-height:1.5;margin-bottom:11px;letter-spacing:-.02em}.instruction{font-size:13px;margin-bottom:16px}.choice-instruction{font-size:12px;margin-bottom:12px}.choice{padding:13px 14px;min-height:54px;gap:12px}.choice span{font-size:16px;line-height:1.6}.choice small{font-size:12px}.options{gap:8px}.choice input{margin-top:3px}.annotation{margin-top:13px;padding-top:3px}.annotation summary{min-height:46px}.help{margin-bottom:13px}.help summary{min-height:44px}textarea{font-size:16px;min-height:137px;padding:13px 14px}.text-hint{font-size:11px}.memory{margin-bottom:18px}.flow-footer{padding:12px 22px max(12px,env(safe-area-inset-bottom));margin-top:8px}.footer-note{display:none}.footer-inner{gap:12px}.footer-actions{gap:5px;flex:1;justify-content:flex-end}.footer-primary{min-width:122px;padding:11px 19px}.skip-button{font-size:12px;padding:10px;min-height:48px}.back-button{font-size:12px;min-width:60px}.pause{padding:30px 0 10px}.pause h1{font-size:27px}.pause p{font-size:14px}.pause .button{width:100%;margin:0 0 11px}.pause-data p{font-size:12px}.review h1,.feedback h1{font-size:27px;margin-bottom:13px}.review-lead,.feedback-lead{font-size:13px;line-height:1.9}.review-actions{display:grid;grid-template-columns:1fr;gap:6px}.review-actions .button{min-height:52px}.review-actions .quiet-button{justify-self:center}.review-group>summary{font-size:16px;min-height:65px}.review-feedback{padding:19px;margin-top:23px}.feedback textarea{min-height:205px}.privacy-foot{font-size:10px}.icon-button:focus-visible{outline-offset:1px}#toast{bottom:14px;font-size:12px}dialog{padding:22px}.dialog-actions{flex-direction:column}.dialog-actions .button{width:100%}}
@media(max-width:360px){.topbar{padding-left:16px;padding-right:16px;gap:7px}main{padding-left:18px;padding-right:18px}.brand{font-size:17px}.brand svg{display:none}.top-status{font-size:10px}.flow-footer{padding-left:18px;padding-right:18px}.skip-button{padding-left:7px;padding-right:7px}.footer-primary{min-width:110px}.welcome h1{font-size:31px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media print{.topbar,.progress-track,#flow-footer,#toast,button,summary:after,.privacy-foot,.deepen,.review-actions{display:none!important}.app{display:block}body{background:white;font-size:12px}main{max-width:none;padding:0}.review-answer{break-inside:avoid}.review-answer p{font-size:12px}}

#flow-footer:not(:empty){position:fixed;bottom:0;left:0;right:0;z-index:4}.flow-footer{position:static;margin-top:0}.app:has(#flow-footer:not(:empty)) main{padding-bottom:118px}.app:has(textarea:focus) #flow-footer,body.keyboard-open #flow-footer{position:static}.app:has(textarea:focus) main,body.keyboard-open main{padding-bottom:25px}

.recall-prompts{padding-left:1.3em;margin:0 0 23px;font-size:14px;line-height:1.85;color:var(--muted)}.recall-prompts li+li{margin-top:7px}.question textarea.deep-answer{min-height:230px}.structured-fields{display:flex;flex-direction:column;gap:24px}.structured-fields textarea{min-height:130px}.structured-fields .textarea-label{font-size:15px;font-weight:600;color:var(--ink)}.skip-module{margin-top:20px;padding-left:0;color:var(--muted)}.review-prompt{color:var(--muted)}@media(max-width:700px){.question h1{font-size:23px;line-height:1.55}.recall-prompts{font-size:13px;margin-bottom:20px}.question textarea.deep-answer{min-height:220px}.top-actions .icon-button{min-width:44px}}
