:root{color-scheme:light;font-family:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",system-ui,sans-serif;background:#f8f6f2;color:#26253a;font-synthesis:none}
*{box-sizing:border-box}
body{margin:0;min-width:320px;background:radial-gradient(circle at 80% 3%,#eee7f9 0,transparent 30%),#f8f6f2}
button,textarea,input{font:inherit}
button{cursor:pointer}
button:disabled{cursor:wait;opacity:.65}
button:focus-visible,a:focus-visible,textarea:focus-visible,input:focus-visible+span{outline:3px solid #9b78d2;outline-offset:3px}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.app-shell{max-width:1180px;min-height:100vh;margin:auto;padding:0 30px;display:flex;flex-direction:column}
.site-header{height:85px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e8e1e6;gap:20px}
.brand{display:flex;align-items:center;gap:11px;white-space:nowrap}.brand-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:#e9dcfa;font-size:26px}.brand strong{display:block;font-size:24px;line-height:1.1;letter-spacing:.05em}.brand small{display:block;margin-top:3px;color:#7a7787;font-size:11px;letter-spacing:.08em}
.header-right{display:flex;align-items:center;gap:16px}.mode-badge{padding:7px 10px;border-radius:999px;background:#fff2d8;color:#85632d;font-size:12px;font-weight:700}.library-label{color:#888391;font-size:13px}
main{flex:1}.workspace-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:38px 0 25px}.eyebrow{margin:0 0 9px;color:#795ba8;font-size:13px;font-weight:700;letter-spacing:.06em}h1{font-size:32px;line-height:1.25;letter-spacing:.02em;margin:0 0 12px}h2{font-size:21px;line-height:1.4;margin:0 0 10px}p{line-height:1.7}.page-subtitle,.section-hint{color:#797585;margin:0;font-size:14px}.ghost-display{position:relative;min-width:105px;text-align:center}.ghost-display>span:first-child{font-size:65px;filter:drop-shadow(0 9px 10px #6d518133)}.ghost-spark{position:absolute;color:#a78bcc}.spark-one{top:4px;right:1px;font-size:20px}.spark-two{bottom:3px;left:2px;font-size:16px}
.journey{display:flex;gap:8px;list-style:none;margin:0 0 22px;padding:0;counter-reset:none}.journey li{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;min-height:42px;border-radius:12px;background:#ece8e9;color:#89838d;font-size:13px;font-weight:700}.journey li span{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#d8d0d5;color:#706b75;font-size:11px}.journey li.active{background:#e6dafa;color:#633d99}.journey li.active span{background:#7a58aa;color:#fff}.journey li.done{background:#e7ece7;color:#607967}.journey li.done span{background:#6c9778;color:#fff}
.view{padding-bottom:45px}.setup-grid,.content-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(255px,.85fr);gap:20px;align-items:start}.main-panel,.companion-panel,.source-panel,.tip-panel,.complete-panel{background:#fff;border:1px solid #e9e3e8;border-radius:22px;box-shadow:0 8px 28px #32244809}.main-panel{padding:31px 34px}.companion-panel{padding:29px 26px;min-height:384px;background:linear-gradient(160deg,#f7f0ff 0,#fff 68%)}.panel-label{display:block;color:#9376b2;font-size:12px;font-weight:700;margin-bottom:9px}.companion-panel p{font-size:13px;color:#777183;margin:0 0 20px}.book-choices,.duration-choices{border:0;margin:0;padding:0}.book-choices{display:grid;gap:12px;margin:21px 0 26px}.book-choice{display:flex;align-items:center;gap:14px;min-height:76px;border:1.5px solid #e6e0e7;border-radius:15px;padding:12px 17px;background:#fff;position:relative;cursor:pointer}.book-choice:has(input:checked){border-color:#9773c5;background:#fbf8ff;box-shadow:0 0 0 3px #e9ddf8}.book-choice input{position:absolute;opacity:0;width:100%;height:100%;inset:0;cursor:pointer}.book-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:12px;flex:none;background:#e5ede7;color:#567763;font-size:22px;font-weight:700}.book-icon-coral{background:#f8e7e4;color:#ae6f63}.book-choice strong,.book-choice small{display:block}.book-choice strong{font-size:15px}.book-choice small{margin-top:4px;color:#928b96;font-size:12px}.choice-check{margin-left:auto;color:#7955aa;opacity:0;font-weight:700}.book-choice:has(input:checked) .choice-check{opacity:1}.duration-choices legend{padding:0 0 10px;font-size:14px;font-weight:700}.duration-row{display:flex;flex-wrap:wrap;gap:10px}.duration-row label{position:relative;cursor:pointer}.duration-row input{position:absolute;opacity:0;inset:0;width:100%;height:100%;cursor:pointer}.duration-row span{display:block;border:1px solid #e3dde5;border-radius:10px;padding:9px 15px;color:#797383;font-size:13px;font-weight:700}.duration-row input:checked+span{background:#7956a6;border-color:#7956a6;color:#fff}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;border-radius:12px;padding:11px 18px;border:1px solid transparent;font-size:13px;font-weight:700;white-space:normal;text-align:center;transition:transform .16s,background-color .16s,box-shadow .16s}.button:hover:not(:disabled){transform:translateY(-1px)}.button-primary{background:#7754a5;color:#fff;box-shadow:0 6px 13px #7652a028}.button-primary:hover:not(:disabled){background:#674491}.button-secondary{border-color:#d6c6e9;background:#efe7f8;color:#654393}.button-quiet{background:transparent;color:#817589;padding-left:8px;padding-right:8px}.start-button{margin-top:29px;min-width:210px}.small-note{margin:12px 0 0;color:#aaa2aa;font-size:12px}.error-message{margin:12px 0 0;color:#b3434b;font-size:13px;font-weight:700}
.avatar-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.avatar-option{display:flex;align-items:center;flex-direction:column;gap:7px;padding:13px 8px 11px;border:1px solid #e9dff0;background:#fff;border-radius:13px;color:#695e76;font-size:12px;font-weight:700;min-height:98px}.avatar-option.selected{border-color:#9975c5;background:#f6eefd;box-shadow:0 0 0 2px #e8d8f9}.avatar-face{display:grid;place-items:center;width:45px;height:45px;border-radius:50%;font-size:29px}.avatar-boy{background:#e1eafa}.avatar-girl{background:#f8e5ef}.companion-quote{margin-top:31px;padding:15px;border-top:1px solid #eadff2;color:#795e9a;font-size:13px;line-height:1.8}
.section-topline{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.pill{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:7px 12px;background:#eee4f9;color:#694697;font-weight:700;font-size:12px}.muted-text{color:#958e9a;font-size:12px}.task-panel h2{font-size:24px}.task-scope{margin:0 0 23px;color:#87818d}.field-label{display:block;color:#6d6474;font-size:13px;font-weight:700;margin-bottom:7px}.task-goal{padding:16px 20px;border-radius:13px;background:#f6f2fa;margin-bottom:23px}.task-goal p,.thought-question p{margin:0;font-size:15px}.focus-list{padding-left:23px;margin:0 0 23px}.focus-list li{padding:4px 0;line-height:1.65}.thought-question{border-left:3px solid #a884ce;padding-left:15px;margin-bottom:25px}.actions{display:flex;align-items:center;gap:11px;flex-wrap:wrap;margin-top:22px}.side-stack{display:grid;gap:15px}.source-panel{padding:22px}.source-panel strong{display:block;font-size:15px;line-height:1.5}.source-panel p{margin:8px 0 13px;color:#817a89;font-size:13px}.source-link{display:inline-block;color:#7250a4;font-weight:700;font-size:13px;text-decoration:none}.source-link:hover{text-decoration:underline}.source-missing{display:block;color:#9a7a56;font-size:12px;line-height:1.5}.tip-panel{display:flex;gap:12px;align-items:start;padding:18px;background:#f7f3fb}.tip-panel>span{font-size:24px}.tip-panel p{margin:0;color:#736782;font-size:13px}.text-button{border:0;background:transparent;color:#7655a4;font-size:12px;font-weight:700}.reading-panel h2{margin-bottom:8px}.chat-list{display:flex;flex-direction:column;gap:14px;margin:22px 0;min-height:170px;max-height:360px;overflow:auto;padding-right:5px}.chat-message{max-width:83%;padding:13px 16px;border-radius:16px;line-height:1.7;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.chat-message.agent{align-self:flex-start;background:#f4eff9;color:#4d3e61;border-bottom-left-radius:5px}.chat-message.user{align-self:flex-end;background:#7957a8;color:#fff;border-bottom-right-radius:5px}.chat-message small{display:block;font-size:11px;font-weight:700;margin-bottom:5px;opacity:.78}.chat-message p{margin:0}.message-form{display:flex;align-items:end;gap:10px}.message-form textarea,.reflection-panel textarea{width:100%;resize:vertical;border:1px solid #dcd4df;border-radius:13px;background:#fff;padding:12px 14px;color:#2f2936;font-size:14px;line-height:1.6}.message-form textarea{min-height:70px}.message-form button{flex:none}.reading-actions{border-top:1px solid #ece6ed;padding-top:16px}.reflection-panel h2{margin-top:15px}.reflection-panel .section-hint{margin:5px 0 23px}.reflection-panel textarea{min-height:200px}.form-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px}.tip-panel-large{min-height:150px}.complete-panel{max-width:850px;margin:0 auto;padding:34px;text-align:center}.complete-icon{font-size:64px;line-height:1}.complete-panel .eyebrow{margin-top:14px}.complete-panel h2{font-size:26px}.complete-panel>.section-hint{max-width:560px;margin:0 auto}.feedback-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:26px;text-align:left}.feedback-item{padding:17px;border:1px solid #e9e2eb;border-radius:13px;background:#fcfafd}.feedback-item span{display:block;color:#7c5e9a;font-size:12px;font-weight:700}.feedback-item p{margin:9px 0 0;font-size:13px;overflow-wrap:anywhere}.experience-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px auto 0;padding:14px 18px;border-radius:12px;background:#eef5ef;color:#5f7c68;font-size:13px}.experience-row strong{font-size:17px;margin-left:6px}.complete-actions{justify-content:center}.site-footer{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:21px 0 25px;border-top:1px solid #e8e1e6;color:#99929d;font-size:12px}
@media(max-width:800px){.app-shell{padding:0 19px}.setup-grid,.content-grid{grid-template-columns:1fr}.companion-panel{min-height:0}.side-stack{grid-template-columns:1fr 1fr}.workspace-head{padding-top:28px}.main-panel{padding:26px}.companion-panel{padding:24px}}
@media(max-width:580px){.app-shell{padding:0 14px}.site-header{height:72px}.brand strong{font-size:20px}.brand-mark{width:36px;height:36px;font-size:22px}.library-label{display:none}.mode-badge{font-size:10px;text-align:center}.workspace-head{padding:24px 2px 20px}.workspace-head h1{font-size:26px}.ghost-display{min-width:54px}.ghost-display>span:first-child{font-size:42px}.ghost-spark{display:none}.journey{gap:4px;margin-bottom:16px}.journey li{font-size:10px;gap:4px;min-height:37px;border-radius:8px;padding:3px}.journey li span{width:16px;height:16px;font-size:9px}.main-panel,.companion-panel,.source-panel,.tip-panel,.complete-panel{border-radius:16px}.main-panel{padding:21px}.book-choice{padding:10px}.duration-row{gap:7px}.duration-row span{padding:8px 10px}.side-stack{grid-template-columns:1fr}.message-form{align-items:stretch;flex-direction:column}.message-form button{align-self:flex-end}.feedback-grid{grid-template-columns:1fr}.form-bottom{align-items:end}.form-bottom .button{max-width:220px}.complete-panel{padding:24px 19px}.experience-row{flex-direction:column;align-items:flex-start;text-align:left}.site-footer{padding:17px 0 22px}}
@media(prefers-reduced-motion:reduce){.button{transition:none}}
.ghost-display #hero-ghost{display:block;width:112px;height:112px;object-fit:contain;filter:drop-shadow(0 8px 9px #6d518133)}
.avatar-option .avatar-face{display:block;width:66px;height:66px;object-fit:contain;background:transparent}
.avatar-option{min-height:116px}
.complete-panel .complete-icon{display:block;width:118px;height:118px;object-fit:contain;margin:0 auto}
@media(max-width:580px){.ghost-display #hero-ghost{width:65px;height:65px}.avatar-option .avatar-face{width:58px;height:58px}}
