:root{--bg:#191a17;--panel:#22231f;--line:#3a3b35;--text:#f3f1e9;--muted:#aaa99f;--orange:#ff6838;--orange2:#ffb46b;--shadow:0 26px 70px rgba(0,0,0,.34);font-family:"Microsoft YaHei UI","PingFang SC","Noto Sans CJK SC",sans-serif;color:var(--text);background:var(--bg)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 72% -20%,#473126 0,transparent 35%),var(--bg);min-height:100vh}.topbar{height:76px;padding:0 clamp(24px,6vw,92px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff0c}.brand{display:flex;align-items:center;gap:11px;color:var(--text);text-decoration:none;font-weight:800}.brand-dot{width:30px;height:30px;border:1px solid var(--orange);color:var(--orange);display:grid;place-items:center;border-radius:50%;font-family:Georgia,serif}.brand em{font-size:11px;color:var(--orange);letter-spacing:2px;font-style:normal;margin-left:4px}.demo-pill{font-size:12px;color:#bdb9ac;border:1px solid #ffffff1a;border-radius:999px;padding:8px 13px}main{width:min(1500px,100%);margin:auto;padding:0 clamp(24px,6vw,92px) 100px}.hero{min-height:420px;display:grid;grid-template-columns:1.45fr .55fr;align-items:center;gap:60px;transition:.35s}.hero.compact{min-height:155px}.hero.compact h1{font-size:34px}.hero.compact .hero-lead,.hero.compact .promise-row,.hero.compact .hero-orbit{display:none}.eyebrow,.stage-kicker{color:var(--orange);font-size:12px;font-weight:800;letter-spacing:3px;margin:0 0 18px}.hero h1{font-size:clamp(45px,5.2vw,82px);line-height:1.04;letter-spacing:-4px;margin:0;font-weight:900}.hero h1 span{color:var(--orange)}.hero-lead{font-size:18px;line-height:1.9;color:#c9c6bc;max-width:760px;margin:27px 0 21px}.promise-row{display:flex;flex-wrap:wrap;gap:24px;color:#ddd9cf;font-size:14px}.hero-orbit{height:250px;position:relative;display:grid;place-items:center;border:1px solid #ffffff12;border-radius:50%;transform:rotate(-8deg)}.hero-orbit:before,.hero-orbit:after{content:"";position:absolute;inset:25px;border:1px dashed #ff68383b;border-radius:50%}.hero-orbit:after{inset:67px;border-style:solid}.hero-orbit strong{color:var(--orange);font-size:32px;transform:rotate(8deg)}.hero-orbit span{position:absolute;color:#b8b5ab;font-size:13px;background:var(--bg);padding:6px}.hero-orbit span:nth-child(1){top:8px;left:38%}.hero-orbit span:nth-child(2){right:-5px;top:48%}.hero-orbit span:nth-child(3){bottom:5px;left:30%}.stepper{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:34px}.step{border:0;border-right:1px solid var(--line);background:transparent;color:#6e6f68;padding:21px 22px;text-align:left;display:flex;gap:17px;align-items:flex-start;cursor:pointer}.step:last-child{border-right:0}.step b{font-size:12px;color:#705141;padding-top:3px}.step span{font-weight:800;font-size:15px}.step small{display:block;font-size:11px;color:#70716b;font-weight:400;margin-top:7px}.step.active{background:linear-gradient(100deg,#ff683817,transparent);box-shadow:inset 3px 0 var(--orange);color:var(--text)}.step.active b,.step.done b{color:var(--orange)}.step.done{color:#c8c6bd}.workspace{position:relative;min-height:500px}.stage{display:none;background:linear-gradient(145deg,#242520,#20211d);border:1px solid var(--line);border-radius:24px;padding:clamp(24px,3.5vw,52px);box-shadow:var(--shadow)}.stage.active{display:block;animation:rise .38s ease}.stage-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:30px;margin-bottom:32px}.stage-heading h2{font-size:clamp(24px,2.3vw,36px);margin:0;letter-spacing:-1px}.stage-kicker{margin-bottom:10px;letter-spacing:2px}.stage-note{border:1px solid #ff683842;color:var(--orange2);padding:8px 13px;border-radius:999px;font-size:12px}.brief-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field{position:relative;display:flex;flex-direction:column;gap:9px}.field.wide{grid-column:1/-1}.field>span{font-size:13px;color:#d6d3ca}.field i{font-style:normal;color:var(--orange);font-size:10px;margin-left:6px}.field input,.field textarea,.thesis-box textarea,.draft-title input{width:100%;background:#191a17;border:1px solid #41423b;color:var(--text);border-radius:12px;padding:15px 17px;font:inherit;outline:none;resize:vertical}.field input:focus,.field textarea:focus,.thesis-box textarea:focus,.draft-title input:focus{border-color:var(--orange);box-shadow:0 0 0 3px #ff683812}.field.optional{border-top:1px solid var(--line);padding-top:22px}.voice{position:absolute;right:10px;bottom:10px;border:0;border-radius:8px;padding:7px 10px;background:#34352f;color:#d0cdc4;font-size:11px;cursor:pointer}.field textarea{padding-right:85px}.form-footer,.stage-actions,.final-actions{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:22px;border-top:1px solid var(--line);padding-top:24px;margin-top:7px}.form-footer p,.stage-actions p{color:var(--muted);font-size:13px}.primary,.secondary,.text-button{border:0;font:inherit;cursor:pointer}.primary{background:linear-gradient(120deg,var(--orange),#ff8d4b);color:#191612;border-radius:12px;padding:14px 21px;font-weight:900;box-shadow:0 12px 25px #ff683827}.primary:disabled{filter:grayscale(1);opacity:.35;cursor:not-allowed;box-shadow:none}.primary span{margin-left:15px}.secondary{background:#30312c;border:1px solid #474840;color:var(--text);border-radius:10px;padding:11px 15px}.text-button{background:transparent;color:#c6c2b8;padding:8px}.context-strip{border-left:3px solid var(--orange);background:#191a17;padding:14px 18px;margin-bottom:22px;display:flex;gap:18px;align-items:center}.context-strip span{color:var(--orange);font-size:11px}.context-strip em{font-style:normal;color:var(--muted);font-size:12px}.direction-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.direction-card{position:relative;text-align:left;background:#1d1e1a;border:1px solid #3b3c36;border-radius:18px;padding:23px;color:var(--text);cursor:pointer;transition:.25s}.direction-card:hover{transform:translateY(-4px);border-color:#ff68386b}.direction-card.selected{border-color:var(--orange);box-shadow:0 18px 35px #0005,inset 0 0 0 1px var(--orange)}.card-top{display:flex;justify-content:space-between;color:#888a81;font-size:10px;letter-spacing:1px}.card-top b{color:var(--orange)}.direction-card h3{font-size:25px;margin:24px 0 10px}.tagline{color:#e4e0d5;line-height:1.65;min-height:78px}.why{color:#94958c;font-size:12px;line-height:1.7;border-top:1px solid #34352f;padding-top:13px}.direction-card ol{list-style:none;padding:0;margin:17px 0;counter-reset:steps}.direction-card li{counter-increment:steps;color:#b8b6ad;font-size:12px;padding:7px 0;border-bottom:1px dashed #34352f}.direction-card li:before{content:counter(steps,decimal-leading-zero);color:var(--orange);margin-right:10px}.opening{background:#272823;border-radius:10px;padding:11px;color:#c9c6bc;font-size:11px;line-height:1.6}.opening span{display:block;color:#777970;margin-bottom:3px}.select-mark{display:block;color:var(--orange);font-style:normal;font-size:12px;margin-top:17px}.thesis-box{background:#1a1b18;border:1px solid #3f403a;border-left:3px solid var(--orange);border-radius:14px;padding:18px;margin-bottom:23px}.thesis-box span{display:block;color:var(--orange);font-size:11px;font-weight:800;margin-bottom:9px}.outline-toolbar{display:flex;justify-content:space-between;align-items:center;margin:15px 0}.outline-toolbar p{color:var(--muted);font-size:12px}.outline-toolbar b{color:var(--orange);font-size:18px}.outline-list{display:flex;flex-direction:column;gap:14px}.outline-card{display:grid;grid-template-columns:64px 1fr;background:#1b1c19;border:1px solid #383933;border-radius:16px;overflow:hidden}.outline-number{display:flex;justify-content:center;padding-top:25px;color:var(--orange);font-family:Georgia,serif;border-right:1px solid #383933}.outline-content{padding:21px}.outline-head{display:flex;justify-content:space-between;gap:20px}.outline-head span{font-size:10px;color:#818279}.outline-head h3{font-size:19px;margin:5px 0 17px;outline:none}.card-tools{display:flex;gap:5px}.card-tools button{width:29px;height:29px;background:#2b2c27;color:#aaa89f;border:1px solid #41423c;border-radius:7px;cursor:pointer}.answer-label{position:relative;display:block}.answer-label>span{display:block;color:#d8d5cc;font-size:14px;line-height:1.6;margin-bottom:8px}.answer-label textarea{width:100%;background:#242520;border:1px solid #41423b;border-radius:10px;color:var(--text);padding:13px 90px 13px 14px;font:inherit;line-height:1.7;resize:vertical;outline:none}.answer-label textarea:focus{border-color:var(--orange)}.card-voice{bottom:10px}.evidence{display:flex;gap:10px;margin-top:11px;font-size:11px;color:#8f9087}.evidence b{color:var(--orange2);white-space:nowrap}.sticky-actions{position:sticky;bottom:12px;background:#262722;padding:16px 18px;margin-top:22px;border:1px solid #44453e;border-radius:13px;z-index:2}.missing-box{background:#34271f;border:1px solid #7b492e;border-left:4px solid var(--orange);border-radius:14px;padding:18px 20px;margin-bottom:20px;display:grid;grid-template-columns:.7fr 1.3fr;gap:25px}.missing-box span{color:var(--orange);font-size:11px}.missing-box h3{margin:5px 0;font-size:17px}.missing-box ul{margin:0;padding-left:18px;color:#d2c9bd;font-size:12px;line-height:1.8}.draft-title{margin-bottom:14px}.draft-title label{font-size:11px;color:var(--orange)}.draft-title input{display:block;margin-top:7px;font-size:25px;font-weight:900}.draft-editor{display:flex;flex-direction:column;gap:14px}.draft-block{display:grid;grid-template-columns:55px 1fr;background:#1b1c19;border:1px solid #3b3c36;border-radius:15px;padding:19px}.draft-index{color:var(--orange);font-family:Georgia,serif}.draft-heading{width:100%;background:transparent;color:var(--text);border:0;border-bottom:1px solid #3a3b35;padding:0 0 10px;font:800 17px inherit;outline:none}.draft-content{width:100%;background:transparent;color:#d2d0c8;border:0;padding:14px 0 0;resize:vertical;font:14px/1.9 inherit;outline:none}.final-actions{margin-top:24px}.final-actions>div{display:flex;gap:10px}.loading{position:fixed;inset:0;background:#11120fcf;backdrop-filter:blur(8px);z-index:20;display:grid;place-items:center;padding:20px}.loading[hidden]{display:none}.loading-card{width:min(620px,100%);background:#242520;border:1px solid #4a4b44;border-radius:22px;padding:42px;box-shadow:var(--shadow)}.loading-label{color:var(--orange);font-size:11px;font-weight:800;letter-spacing:2px}.loading-card h3{font-size:26px;margin:12px 0 25px}.loading-card>p:last-child{color:#a6a49a;font-size:12px}.pulse{display:flex;gap:5px;height:22px;align-items:end}.pulse i{display:block;width:5px;background:var(--orange);border-radius:5px;animation:pulse 1s infinite}.pulse i:nth-child(1){height:9px}.pulse i:nth-child(2){height:19px;animation-delay:.15s}.pulse i:nth-child(3){height:14px;animation-delay:.3s}.loading-track{height:5px;background:#55564f;border-radius:5px;overflow:hidden}.loading-track span{display:block;width:38%;height:100%;background:linear-gradient(90deg,var(--orange),var(--orange2));animation:track 2.2s ease-in-out infinite}.toast{position:fixed;left:50%;bottom:30px;transform:translate(-50%,20px);background:#eee9dd;color:#25241f;padding:12px 18px;border-radius:9px;opacity:0;pointer-events:none;z-index:30;transition:.25s;box-shadow:var(--shadow);font-size:13px}.toast.show{opacity:1;transform:translate(-50%,0)}.toast.error{background:#7d3025;color:#fff}.toast.success{background:#2b5f45;color:#fff}@keyframes pulse{50%{height:4px;opacity:.5}}@keyframes track{0%{transform:translateX(-110%)}100%{transform:translateX(300%)}}@keyframes rise{from{opacity:0;transform:translateY(14px)}}
@media(max-width:900px){.hero{grid-template-columns:1fr;min-height:390px}.hero-orbit{display:none}.stepper{grid-template-columns:1fr 1fr}.step:nth-child(2){border-right:0}.step:nth-child(-n+2){border-bottom:1px solid var(--line)}.direction-grid{grid-template-columns:1fr}.tagline{min-height:auto}.brief-grid{grid-template-columns:1fr}.field{grid-column:1/-1}.missing-box{grid-template-columns:1fr}}
@media(max-width:600px){.topbar{height:64px;padding:0 18px}.brand em{display:none}.demo-pill{font-size:9px;padding:6px 8px}main{padding:0 14px 70px}.hero{min-height:360px}.hero h1{font-size:42px;letter-spacing:-2px}.hero-lead{font-size:15px}.promise-row{gap:9px 15px;font-size:11px}.hero.compact{min-height:110px}.hero.compact h1{font-size:25px}.step{padding:15px 10px;gap:8px}.step span{font-size:12px}.step small{font-size:9px}.stage{padding:21px 16px;border-radius:17px}.stage-heading{display:block}.stage-heading .text-button{margin-top:12px}.stage-heading h2{font-size:24px}.form-footer,.stage-actions,.final-actions{align-items:stretch;flex-direction:column}.form-footer .primary,.stage-actions .primary{width:100%}.context-strip{align-items:flex-start;flex-direction:column;gap:5px}.outline-card{grid-template-columns:38px 1fr}.outline-content{padding:16px 12px}.outline-number{padding-top:21px}.outline-head{gap:6px}.card-tools{flex-direction:column}.outline-toolbar{align-items:flex-start;gap:10px;flex-direction:column}.sticky-actions{bottom:6px}.draft-block{grid-template-columns:34px 1fr;padding:15px 10px}.final-actions>div{display:grid;grid-template-columns:1fr 1fr;width:100%}.loading-card{padding:28px 22px}.loading-card h3{font-size:21px}}

/* 第二轮体验优化：先给思路，再让用户确认或补充。 */
.form-section-heading{grid-column:1/-1;display:flex;align-items:center;gap:13px;border-top:1px solid var(--line);padding-top:24px;margin-top:5px}.form-section-heading:first-child{border-top:0;padding-top:0}.form-section-heading>b{width:32px;height:32px;display:grid;place-items:center;border:1px solid #ff68385c;border-radius:50%;color:var(--orange);font:700 12px Georgia,serif}.form-section-heading strong{display:block;font-size:17px}.form-section-heading span{display:block;color:var(--muted);font-size:11px;margin-top:4px}.field>small{color:#7f8178;font-size:11px;line-height:1.5}.context-strip small{margin-left:auto;color:#85877f;font-size:11px;max-width:360px;text-align:right}
.outline-card{transition:.2s}.outline-card.accepted{border-color:#b9653d}.outline-card.skipped{opacity:.58}.outline-card.skipped .ai-suggestion,.outline-card.skipped .easy-question,.outline-card.skipped .answer-label,.outline-card.skipped .evidence{display:none}.ai-suggestion{display:grid;grid-template-columns:120px 1fr auto;align-items:center;gap:14px;background:linear-gradient(100deg,#ff683812,#2a2b26);border:1px solid #51372b;border-radius:12px;padding:14px;margin-bottom:16px}.ai-suggestion>span{font-size:11px;color:var(--orange);font-weight:800}.ai-suggestion p{margin:0;color:#ddd8cc;font-size:13px;line-height:1.65}.ai-suggestion button,.starter-row button,.card-bottom>button{border:1px solid #595a52;background:#30312c;color:#d7d4cb;border-radius:8px;padding:8px 11px;cursor:pointer;font-size:11px}.accepted .ai-suggestion button{border-color:var(--orange);color:var(--orange2)}.easy-question{margin-bottom:14px}.easy-question>span{display:block;font-weight:800;font-size:14px;margin-bottom:10px}.starter-row{display:flex;flex-wrap:wrap;gap:8px}.starter-row button{background:#262722;text-align:left}.starter-row button:hover{border-color:var(--orange);color:var(--orange2)}.answer-label>span{color:#aaa99f;font-size:12px}.answer-label em{font-style:normal;color:#777970;margin-left:6px}.card-bottom{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:11px}.card-bottom .evidence{margin-top:0}.card-bottom>button{flex:none;background:transparent;color:#898a82}

@media(max-width:600px){.context-strip small{margin-left:0;max-width:none;text-align:left}.form-section-heading span{line-height:1.5}}

/* 第三轮体验优化：先选具体框架，再逐题补充关键细节。 */
.interview-progress{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:22px;background:#1a1b18;border:1px solid #3f403a;border-radius:13px;padding:15px 17px;margin-bottom:16px}.interview-progress>div:first-child{display:flex;flex-direction:column;gap:5px}.interview-progress span{color:var(--orange);font-weight:800;font-size:13px}.interview-progress em{color:#85877f;font-style:normal;font-size:11px}.interview-track{height:5px;background:#44453f;border-radius:999px;overflow:hidden}.interview-track i{display:block;width:20%;height:100%;background:linear-gradient(90deg,var(--orange),var(--orange2));border-radius:999px;transition:width .3s ease}.interview-card{min-height:390px}.interview-card .outline-head h3{font-size:22px}.interview-card .easy-question>span{font-size:18px;line-height:1.65}.interview-actions{display:grid;grid-template-columns:auto 1fr auto}.interview-actions>p{text-align:center}.interview-actions>div{display:flex;gap:9px}.interview-actions .secondary:disabled{opacity:.3;cursor:not-allowed}
@media(max-width:600px){.interview-progress{grid-template-columns:1fr;gap:12px}.interview-card{min-height:0}.interview-card .ai-suggestion{grid-template-columns:1fr}.interview-actions{display:flex;flex-direction:column}.interview-actions>div{display:grid;grid-template-columns:1fr 1.5fr;width:100%}.interview-actions>button,.interview-actions>div button{width:100%}}
@media(max-width:900px){.ai-suggestion{grid-template-columns:1fr}.ai-suggestion button{justify-self:start}}
@media(max-width:600px){.card-bottom{align-items:flex-start;flex-direction:column}.evidence{align-items:flex-start;flex-direction:column;gap:3px}}

/* 备用框架必须明确告知用户，不能冒充个性化结果。 */
.context-strip{flex-wrap:wrap}.fallback-notice{flex-basis:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;background:#302820;border:1px solid #77452f;border-radius:10px;padding:11px 13px}.fallback-notice span{color:var(--orange2);font-weight:800}.fallback-notice p{margin:0;color:#c9c1b6;font-size:11px;line-height:1.6}.fallback-notice button{border:1px solid #9a5b3c;background:#3b2a22;color:#ffb08a;border-radius:8px;padding:8px 10px;cursor:pointer;font-size:11px}
@media(max-width:600px){.fallback-notice{grid-template-columns:1fr}.fallback-notice button{width:100%}}

/* 共创结果只呈现逻辑框架，不生成完整话术。 */
.framework-map{display:flex;flex-direction:column;gap:18px}.framework-summary{display:grid;grid-template-columns:.7fr 1.3fr;gap:14px}.framework-summary label{display:block;background:#1a1b18;border:1px solid #42433c;border-radius:14px;padding:15px}.framework-summary span,.focus-node span{display:block;color:var(--orange);font-size:11px;font-weight:800;margin-bottom:8px}.framework-summary input,.framework-summary textarea,.logic-node input,.logic-node textarea{width:100%;border:0;outline:0;background:transparent;color:var(--text);font:inherit;resize:vertical}.framework-summary input{font-weight:800}.core-claim{border-color:#7a452f!important;background:linear-gradient(110deg,#34251e,#1a1b18)!important}.core-claim textarea{font-size:18px;font-weight:800;line-height:1.65}.logic-flow{position:relative;display:flex;flex-direction:column;gap:13px}.logic-flow:before{content:"";position:absolute;left:29px;top:26px;bottom:26px;width:1px;background:linear-gradient(var(--orange),#70432e,var(--orange))}.logic-node{position:relative;display:grid;grid-template-columns:60px 1fr;gap:14px;align-items:stretch}.node-mark{position:relative;z-index:1;width:40px;height:40px;margin:18px auto 0;display:grid;place-items:center;border-radius:50%;background:#242520;border:1px solid #8a4d32;color:var(--orange);font:700 12px Georgia,serif}.logic-node>div:last-child,.node-body{background:#1b1c19;border:1px solid #3c3d37;border-radius:15px;padding:17px 19px}.focus-node>div:last-child{background:#23241f}.focus-node textarea{line-height:1.65}.framework-heading{font-size:19px!important;font-weight:900!important;border-bottom:1px solid #383932!important;padding-bottom:10px!important}.framework-purpose{color:#8f9188!important;font-size:11px!important;padding:9px 0 4px!important}.section-node ul{list-style:none;padding:0;margin:8px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:8px}.section-node li{position:relative;background:#252621;border:1px solid #393a34;border-radius:10px;padding:10px 12px 10px 28px}.section-node li:before{content:"";position:absolute;left:13px;top:18px;width:6px;height:6px;border-radius:50%;background:var(--orange)}.section-node li textarea{font-size:13px;line-height:1.6;min-height:42px}.section-node:hover .node-body{border-color:#6d4836}
@media(max-width:700px){.framework-summary{grid-template-columns:1fr}.logic-node{grid-template-columns:42px 1fr;gap:8px}.logic-flow:before{left:20px}.node-mark{width:34px;height:34px;margin-top:17px}.logic-node>div:last-child,.node-body{padding:14px 12px}.section-node ul{grid-template-columns:1fr}.core-claim textarea{font-size:16px}}

/* 第四轮体验优化：完整逻辑图先呈现，问题直接挂在对应节点。 */
.stepper.three-steps{grid-template-columns:repeat(3,1fr)}
.status-legend{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#191a17;border:1px solid #353630;border-radius:12px;padding:11px 14px}
.status-legend em{font-style:normal;color:#85877f;font-size:11px;margin-left:auto}
.node-top{display:grid;grid-template-columns:1fr auto;align-items:start;gap:12px}
.node-status{border-radius:999px;padding:6px 10px;font-size:10px;font-weight:800;white-space:nowrap}
button.node-status{cursor:pointer}
.node-status.confirmed{color:#bfe6c7;background:#21382a;border:1px solid #3e6b4b}
.node-status.suggested{color:#c4c1b8;background:#2c2d28;border:1px solid #4b4c45}
.node-status.pending{color:#ffb18c;background:#43291f;border:1px solid #a85834;box-shadow:0 0 0 3px #ff68380d}
.section-node.pending .node-body{border-color:#8a4b31;background:linear-gradient(120deg,#2d211c,#1b1c19 60%)}
.section-node.pending .node-mark{background:#41271e;border-color:var(--orange);color:#fff;box-shadow:0 0 0 5px #ff683814}
.section-node.confirmed .node-mark{border-color:#4f865e;color:#bfe6c7}
.confirmed-point{border-color:#3f6f4c!important;background:#213128!important}
.confirmed-point:before{background:#74bb83!important}
.node-question-panel{margin-top:16px;background:#151613;border:1px solid #75442f;border-radius:13px;padding:16px;animation:rise .25s ease}
.question-kicker{margin:0 0 5px;color:var(--orange);font-size:10px;font-weight:800;letter-spacing:.5px}
.node-question-panel h4{font-size:16px;line-height:1.6;margin:0 0 12px}
.node-answer{position:relative;display:block;margin-top:12px}
.node-answer textarea{width:100%;box-sizing:border-box;background:#242520;border:1px solid #45463f;border-radius:10px;color:var(--text);padding:12px 86px 12px 12px;font:13px/1.7 inherit;resize:vertical;outline:0}
.node-answer textarea:focus{border-color:var(--orange)}
.node-voice{right:9px;bottom:9px}
.node-evidence{color:#85877f;font-size:10px;line-height:1.6;margin:9px 0 0}
.node-question-actions{display:flex;justify-content:flex-end;align-items:center;gap:9px;margin-top:12px}
.node-question-actions .primary{padding:10px 15px;border-radius:9px;font-size:12px}
.materials-entry{position:relative}
.materials-entry .voice{bottom:10px}
.material-upload-row{display:flex;align-items:center;gap:14px;margin-top:2px}
.material-upload-row small{color:#85877f;font-size:11px;line-height:1.55}
.material-pick{flex:none;border:1px solid #ff683866;background:#2d2924;color:var(--orange2);border-radius:10px;padding:10px 15px;font:700 12px inherit;cursor:pointer;transition:.2s}
.material-pick:hover{border-color:var(--orange);background:#382b24;color:#fff}
.material-pick:disabled{cursor:wait;opacity:.65}
.material-pick b{font-size:17px;margin-right:5px;vertical-align:-1px}
.material-file-list{display:flex;flex-wrap:wrap;gap:9px}
.material-file{min-width:210px;max-width:100%;display:grid;grid-template-columns:30px minmax(0,1fr) 28px;align-items:center;gap:9px;padding:9px 10px;background:#1b1c19;border:1px solid #3c3d37;border-radius:11px}
.material-file.loading{border-color:#ff68385c}
.material-file.error{border-color:#7d3025}
.material-file-icon{width:30px;height:30px;border-radius:8px;background:#ff683818;color:var(--orange);display:grid;place-items:center;font:800 10px Georgia,serif;text-transform:uppercase}
.material-file-copy{min-width:0}
.material-file-copy strong,.material-file-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.material-file-copy strong{font-size:12px;color:#dedbd1}
.material-file-copy small{font-size:10px;color:#85877f;margin-top:3px}
.material-file.loading .material-file-copy small{color:var(--orange2)}
.material-file.error .material-file-copy small{color:#e9a092}
.material-file-remove{width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:#8f9087;cursor:pointer;font-size:17px}
.material-file-remove:hover{background:#ffffff0a;color:var(--orange)}
.material-consent{display:flex;align-items:flex-start;gap:9px;padding:10px 12px;background:#1b1c19;border:1px solid #3c3d37;border-radius:10px;color:#aaa99f;font-size:11px;line-height:1.55;cursor:pointer}
.material-consent[hidden]{display:none}
.material-consent input{width:16px;height:16px;margin:1px 0 0;accent-color:var(--orange);flex:none}
@media(max-width:900px){.stepper.three-steps{grid-template-columns:repeat(3,1fr)}.stepper.three-steps .step{border-bottom:0}.stepper.three-steps .step:nth-child(2){border-right:1px solid var(--line)}}
@media(max-width:700px){.stepper.three-steps{grid-template-columns:1fr}.stepper.three-steps .step{border-right:0!important;border-bottom:1px solid var(--line)!important}.stepper.three-steps .step:last-child{border-bottom:0!important}.status-legend{align-items:flex-start}.status-legend em{flex-basis:100%;margin-left:0;line-height:1.5}.node-top{grid-template-columns:1fr}.node-top .node-status{justify-self:start}.node-question-actions{display:grid;grid-template-columns:1fr 1.5fr}.node-question-actions button{width:100%}}
@media(max-width:600px){.material-upload-row{align-items:flex-start;flex-direction:column;gap:8px}.material-pick{width:100%;min-height:44px}.material-file-list{display:grid;grid-template-columns:1fr;width:100%}.material-file{width:100%;min-width:0}}

/* 结果页阅读优先：先看懂框架，再按需展开补充。 */
#stage3{max-width:1060px;margin-left:auto;margin-right:auto}
#stage3 .draft-title{max-width:760px;margin:0 auto 12px}
#stage3 .draft-title label{display:flex;align-items:center;gap:12px;color:#85877f}
#stage3 .draft-title input{margin:0;background:transparent;border:0;border-bottom:1px solid transparent;border-radius:0;padding:6px 0;font-size:23px}
#stage3 .draft-title input:focus{border-bottom-color:var(--orange)}
#stage3 .missing-box{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#22231f;border:1px solid #3c3d36;border-left:3px solid var(--orange);padding:12px 15px;margin:0 auto 18px;max-width:760px}
#stage3 .missing-box[hidden]{display:none}
.pending-summary-copy{display:flex;align-items:center;gap:12px}
.pending-summary-copy span{color:var(--orange);font-size:12px;font-weight:900;white-space:nowrap}
.pending-summary-copy p{margin:0;color:#92938b;font-size:11px;line-height:1.5}
#stage3 .missing-box .secondary{padding:8px 11px;font-size:11px;white-space:nowrap}
.framework-map{max-width:760px;margin:0 auto;gap:12px}
.simple-summary{display:flex;flex-direction:column;gap:8px}
.simple-summary label{padding:14px 16px;border-radius:12px}
.simple-summary .core-claim{order:1}
.simple-summary .core-claim textarea{font-size:18px;line-height:1.55;overflow:hidden;padding:0}
.claim-note{display:inline!important;margin-left:8px!important;color:#a5a59d!important;font:400 10px/1.4 inherit!important;letter-spacing:0!important}
.claim-note.confirmed{color:#82c28f!important}
.simple-summary .logic-path{order:2;display:grid;grid-template-columns:90px 1fr;align-items:center;background:#1d1e1a}
.simple-summary .logic-path span{margin:0;color:#8f9087}
.simple-summary .logic-path input{color:#d5d1c8;font-size:13px}
.simple-map{gap:9px}
.simple-map:before{display:none}
.focus-strip{display:grid;grid-template-columns:56px 1fr;align-items:center;gap:12px;background:#20211d;border:1px solid #393a34;border-radius:11px;padding:11px 15px}
.focus-strip b{color:var(--orange);font-size:12px;border-right:1px solid #44453e;padding-right:12px}
.focus-strip textarea{background:transparent;border:0;color:#cfccc3;font:13px/1.6 inherit;resize:none;outline:0;overflow:hidden;padding:0}
.simple-section{display:block;background:#1b1c19;border:1px solid #393a34;border-radius:13px;overflow:hidden;transition:.2s}
.simple-section .node-body{background:transparent;border:0;border-radius:0;padding:16px 18px}
.simple-section input{background:transparent;border:0;color:var(--text);outline:0}
.simple-section .node-top{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px}
.section-number{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:#292a25;color:var(--orange);font:800 10px Georgia,serif}
.simple-section .framework-heading{font-size:17px!important;padding:0!important;border:0!important;min-width:0}
.simple-section .framework-purpose{display:block;width:calc(100% - 44px);margin:5px 0 8px 44px;padding:0!important;border:0!important;color:#80827a!important;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.simple-section .node-status{background:transparent;box-shadow:none;padding:5px 8px}
.simple-section .node-status.suggested{border-color:#42433d;color:#8f9087}
.simple-section .node-status.confirmed{background:#213128;color:#a8d9b3}
.simple-section.pending{border-color:#70432f}
.simple-section.pending .node-body{background:linear-gradient(100deg,#2b211c 0,#1b1c19 34%)}
.simple-section.pending .section-number{background:#44281e;color:#ffb08a}
.simple-section.pending .node-status{background:#43291f;color:#ffb18c;border-color:#9c5435}
.point-list{list-style:none;padding:0;margin:8px 0 0 44px;display:flex;flex-direction:column;gap:0}
.point-list li{display:grid;grid-template-columns:20px 1fr;align-items:start;gap:6px;border:0;border-top:1px solid #30312c;border-radius:0;padding:9px 0;background:transparent!important}
.point-list li:before{display:none!important}
.point-list li>span{color:#777970;font:700 10px Georgia,serif;padding-top:4px}
.point-list li textarea{width:100%;box-sizing:border-box;background:transparent;border:0;color:#d7d4cb;font:13px/1.55 inherit;resize:none;outline:0;overflow:hidden;padding:0}
.point-list li textarea:focus{color:#fff}
.point-list .confirmed-point{border-color:#36543e!important}
.point-list .confirmed-point>span{color:#76b985}
.point-list .point-pending>span{color:var(--orange)}
.point-list .point-pending textarea{color:#e2b59f}
.detail-block{margin:14px 0 0 44px;padding-top:12px;border-top:1px solid #383933}
.detail-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.detail-heading b{font-size:12px;color:#f0ede5}.detail-heading span{color:#777970;font-size:10px}.page-heading{margin-top:16px}
.content-item-list,.page-plan-list{display:grid;gap:9px}.content-item,.page-plan{padding:12px 13px;background:#20211d;border:1px solid #363731;border-radius:11px}.content-item-title,.content-item-body,.page-plan input,.page-plan textarea{width:100%;box-sizing:border-box;color:#ddd9d0;background:transparent;border:0;outline:0;font:inherit}.content-item-title{font-size:13px;font-weight:800}.content-item-body{margin-top:6px;color:#aaa99f;font-size:12px;line-height:1.65;resize:none}.content-item p{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0 0}.content-item p span{padding:3px 7px;color:#a9aaa1;background:#292a25;border-radius:999px;font-size:9px}
.page-plan{display:grid;gap:9px;border-color:#594031;background:linear-gradient(120deg,#28201b,#20211d 48%)}.page-plan>div{display:grid;grid-template-columns:54px 1fr;align-items:center;gap:8px}.page-plan em{color:var(--orange);font-size:10px;font-style:normal;font-weight:800}.page-plan-title{font-weight:800!important}.page-plan label{display:grid;grid-template-columns:64px 1fr;align-items:start;gap:8px;color:#7f8178;font-size:10px}.page-plan label input,.page-plan label textarea{color:#bbb8af;font-size:11px;line-height:1.55;resize:none}.content-item input:focus,.content-item textarea:focus,.page-plan input:focus,.page-plan textarea:focus{color:#fff}
.simple-section .node-question-panel{margin:12px 0 0 44px}
.simple-section.open{border-color:var(--orange)}

/* 全站统一功能导航；后续功能继续添加在同一导航中。 */
.product-nav{display:flex;align-items:center;gap:5px;padding:4px;background:#11120fa8;border:1px solid #ffffff12;border-radius:12px}
.product-nav a{padding:9px 14px;color:#9e9e97;border-radius:8px;font-size:12px;font-weight:800;text-decoration:none;transition:.2s}
.product-nav a:hover{color:var(--text);background:#ffffff0b}
.product-nav a.active{color:#181815;background:var(--orange);box-shadow:0 7px 18px #ff68382e}
.nav-mobile{display:none}
@media(max-width:700px){.topbar{gap:8px}.topbar .brand{gap:7px;font-size:13px}.topbar .brand-dot{width:28px;height:28px}.product-nav{margin-left:auto}.product-nav a{padding:8px 10px;font-size:11px}.nav-desktop{display:none}.nav-mobile{display:inline}.demo-pill{display:none}}

/* 选择框架后可在进入逻辑图前做轻量调整。 */
.direction-editor{margin-top:22px;background:linear-gradient(135deg,#24221e,#1b1c19);border:1px solid #74452f;border-radius:18px;padding:24px;box-shadow:0 20px 45px #0004}
.direction-editor[hidden]{display:none}
.direction-editor-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;border-bottom:1px solid #3b3b35;padding-bottom:18px;margin-bottom:19px}
.direction-editor-head span{color:var(--orange);font-size:10px;font-weight:800;letter-spacing:1.5px}
.direction-editor-head h3{font-size:22px;margin:7px 0}
.direction-editor-head p{color:#92938a;font-size:12px;margin:0}
.direction-edit-grid{display:grid;grid-template-columns:.7fr 1.3fr;gap:14px}
.direction-edit-grid label{display:flex;flex-direction:column;gap:7px}
.direction-edit-grid label.wide{grid-column:1/-1}
.direction-edit-grid label>span,.structure-editor-title span{font-size:11px;color:#aaa99f}
.direction-edit-grid input,.direction-edit-grid textarea,.structure-editor input{width:100%;background:#181916;color:var(--text);border:1px solid #41423b;border-radius:10px;padding:12px 13px;font:inherit;outline:0;resize:vertical}
.direction-edit-grid input:focus,.direction-edit-grid textarea:focus,.structure-editor input:focus{border-color:var(--orange);box-shadow:0 0 0 3px #ff683810}
.structure-editor{margin-top:19px}
.structure-editor-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:10px}
.structure-editor-title span{display:block;color:#ddd9cf;font-weight:800;font-size:13px}
.structure-editor-title small{display:block;color:#777970;font-size:10px;margin-top:4px}
.structure-editor-title .secondary{flex:none;padding:6px 0;background:transparent;border:0;color:var(--orange);box-shadow:none;font-size:12px;white-space:nowrap}
.structure-editor-title .secondary:disabled,.structure-editor li button:disabled{opacity:.2;cursor:not-allowed}
.structure-editor ol{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:0;border-top:1px solid #353630}
.structure-editor li{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:9px;align-items:center;padding:9px 0;border-bottom:1px solid #353630}
.structure-editor li>b{color:var(--orange);font:700 11px Georgia,serif}
.structure-editor li>div{display:flex;gap:4px}
.structure-editor input{background:transparent;border:0;border-radius:0;padding:10px 4px;box-shadow:none}
.structure-editor input:focus{border:0;border-bottom:1px solid var(--orange);box-shadow:none}
.structure-editor li button{width:27px;height:27px;border:0;background:transparent;color:#9a9b93;border-radius:6px;cursor:pointer}
.structure-editor li button:hover{background:#ffffff0b;color:var(--text)}
.structure-editor li button[data-remove]{color:#d68a6f}
@media(max-width:700px){.direction-editor{padding:18px 14px}.direction-editor-head{display:block}.direction-editor-head .text-button{margin-top:10px}.direction-edit-grid{grid-template-columns:1fr}.direction-edit-grid label.wide{grid-column:auto}.structure-editor-title{align-items:flex-start;flex-direction:row}.structure-editor-title .secondary{width:auto}.structure-editor li{grid-template-columns:26px minmax(0,1fr) auto;gap:5px}.structure-editor li>div{grid-column:auto;gap:0}.structure-editor li button{width:25px;height:28px}.structure-editor input{font-size:14px;padding-inline:2px}}
@media(max-width:700px){body[data-step="3"] .stepper.three-steps{grid-template-columns:repeat(3,1fr)}body[data-step="3"] .stepper.three-steps .step{border-right:1px solid var(--line)!important;border-bottom:0!important;padding:10px 6px}body[data-step="3"] .stepper.three-steps .step:last-child{border-right:0!important}body[data-step="3"] .stepper .step{display:block;text-align:center}body[data-step="3"] .stepper .step b{display:block;margin-bottom:3px}body[data-step="3"] .stepper .step span{font-size:10px}body[data-step="3"] .stepper .step small{display:none}#stage3 .stage-heading h2{font-size:22px}#stage3 .missing-box{align-items:flex-start;flex-direction:column}.pending-summary-copy{align-items:flex-start;flex-direction:column;gap:3px}.simple-summary .logic-path{grid-template-columns:1fr;gap:4px}.focus-strip{grid-template-columns:44px 1fr;padding:10px 12px}.simple-section .node-body{padding:14px 12px}.simple-section .node-top{grid-template-columns:30px 1fr}.simple-section .node-status{grid-column:2;justify-self:start}.simple-section .framework-purpose{width:calc(100% - 40px);margin-left:40px;white-space:normal;line-height:1.5}.point-list{margin-left:40px}.simple-section .node-question-panel{margin-left:0}.framework-map{max-width:none}}
@media(max-width:700px){.detail-block{margin-left:40px}.page-plan label{grid-template-columns:1fr;gap:3px}}

/* 跨设备体验：顶栏始终可返回，手机填写时保留一个明确的下一步入口。 */
.topbar{position:sticky;top:0;z-index:60;background:linear-gradient(180deg,#191a17f7 72%,#191a17dc);backdrop-filter:blur(14px)}
.stage-status{display:flex;align-items:center;justify-content:space-between;gap:16px}
.draft-save-status{color:#7f8178;font-size:11px;white-space:nowrap}
.mobile-brief-bar{display:none}
.loading-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:12px 0 16px}
.loading-heading h3{margin:0}
.loading-heading strong{flex:none;color:var(--orange);font-size:25px;font-variant-numeric:tabular-nums}
.loading-progress-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 9px;color:#9d9e96;font-size:11px}
.loading-progress-row span:first-child{color:var(--orange2);font-weight:800}
.loading-track span{width:6%;transform:none;animation:none;transition:width .32s linear}
@media(max-width:600px){.loading-heading{align-items:flex-start}.loading-heading strong{font-size:21px}.loading-progress-row{align-items:flex-start;flex-direction:column;gap:3px}.loading-card>p:last-child{line-height:1.7}}
@media(max-width:700px){
  body[data-step="1"]{padding-bottom:0}
  .topbar{padding-top:env(safe-area-inset-top);height:calc(62px + env(safe-area-inset-top))}
  .hero{min-height:auto;padding-top:36px;padding-bottom:26px}
  .hero h1{font-size:34px;line-height:1.08}
  .hero p{font-size:13px;line-height:1.75}
  .stage-status{align-items:flex-start;flex-direction:column;gap:4px}
  .draft-save-status{white-space:normal}
  .mobile-brief-bar{display:none!important}
  body:not([data-step="1"]) .mobile-brief-bar{display:none}
  .mobile-brief-progress{display:flex;flex-direction:column;gap:3px;min-width:0}
  .mobile-brief-progress strong{font-size:13px;color:var(--text)}
  .mobile-brief-progress span{font-size:10px;color:#96978e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mobile-brief-bar button{border:0;border-radius:11px;background:var(--orange);color:#171713;font-weight:900;padding:12px 16px;white-space:nowrap}
  .brief-form input,.brief-form textarea,.brief-form select{font-size:16px}
}

.restart-action{min-width:104px;font:800 13px/1 inherit;color:#171713;background:linear-gradient(135deg,#ff6838,#ff8a4c);border:1px solid #ff8a5c;border-radius:10px;padding:11px 15px;cursor:pointer;white-space:nowrap;box-shadow:0 8px 24px #ff683829;transition:.18s ease}
.restart-action span{font-size:16px;vertical-align:-1px}
.restart-action:hover{color:#111;background:linear-gradient(135deg,#ff7a49,#ffa066);box-shadow:0 10px 30px #ff683842;transform:translateY(-1px)}
.restart-secondary{color:#ffb18e!important;border-color:#ff683866!important;background:#ff68380b!important}
.restart-secondary:hover{color:#fff!important;border-color:#ff6838!important;background:#ff683818!important}
@media(max-width:700px){.topbar{gap:7px;padding-left:14px;padding-right:14px}.restart-action{font-size:12px;padding:10px 11px}.restart-action span{font-size:15px}.topbar .brand{gap:7px;font-size:13px}.topbar .brand-dot{width:28px;height:28px}}

/* 生成等待页：圆环总进度 + 清晰的逐步状态。 */
.loading-card{width:min(540px,100%);max-height:calc(100dvh - 34px);overflow:auto;padding:32px;background:linear-gradient(145deg,#242520,#1f201d)}
.loading-label{text-align:center;margin:0 0 18px;color:var(--orange);font-size:11px;font-weight:800;letter-spacing:2px}
.loading-overview{display:grid;justify-items:center;text-align:center;gap:15px;margin-bottom:22px}
.loading-ring{--loading-progress:21.6deg;width:126px;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;position:relative;background:conic-gradient(var(--orange) 0deg,var(--orange2) var(--loading-progress),#4a4b44 var(--loading-progress),#4a4b44 360deg);box-shadow:0 0 32px #ff683817;transition:background .3s linear}
.loading-ring:before{content:"";position:absolute;inset:9px;border-radius:50%;background:#20211d;border:1px solid #ffffff0b}
.loading-ring-value{position:relative;z-index:1;display:flex;align-items:baseline;justify-content:center;color:var(--text);font-variant-numeric:tabular-nums}
.loading-ring-value strong{font-size:39px;line-height:1;font-weight:900}
.loading-ring-value span{font-size:14px;margin-left:3px;color:var(--orange2)}
.loading-copy>span{display:block;color:var(--orange2);font-size:11px;font-weight:800;margin-bottom:6px}
.loading-copy h3{margin:0!important;font-size:22px!important;line-height:1.35}
.loading-copy p{margin:7px 0 0;color:#96978e;font-size:12px}
.loading-steps{list-style:none;padding:0;margin:0;display:grid;gap:9px}
.loading-steps li{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;position:relative;min-height:64px;padding:11px 13px;background:#1b1c19;border:1px solid #34352f;border-radius:12px;overflow:hidden}
.loading-steps li.active{border-color:#ff683873;background:linear-gradient(100deg,#ff683812,#1b1c19 58%)}
.loading-steps li.completed{border-color:#4a5c47}
.loading-step-icon{width:28px;height:28px;border:1px solid #55564f;border-radius:50%;display:grid;place-items:center;color:#92938b;font:700 10px Georgia,serif}
.loading-steps li.completed .loading-step-icon{border-color:#7fa06f;color:#b7d49f}
.loading-steps li.active .loading-step-icon{border-color:var(--orange);color:var(--orange);box-shadow:0 0 14px #ff683828}
.loading-step-text{min-width:0}
.loading-step-text strong{display:block;color:#e8e5dc;font-size:13px;line-height:1.35}
.loading-step-text small{display:block;color:#85877f;font-size:10px;line-height:1.45;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.loading-steps li em{font-style:normal;color:#71736c;font-size:10px;white-space:nowrap}
.loading-steps li.completed em{color:#9fbd8d}
.loading-steps li.active em{color:var(--orange2)}
.loading-step-meter{grid-column:2/4;height:3px;background:#3c3d37;border-radius:999px;overflow:hidden;margin-top:-3px}
.loading-step-meter i{display:block;height:100%;background:linear-gradient(90deg,var(--orange),var(--orange2));border-radius:inherit;transition:width .32s linear}
.loading-steps li.pending .loading-step-meter{visibility:hidden}
.loading-hint{margin:17px 2px 0!important;padding-top:14px;border-top:1px solid #34352f;color:#92938b!important;font-size:11px!important;line-height:1.65;text-align:center}
@media(max-width:600px){.loading{padding:14px;place-items:center}.loading-card{width:min(380px,100%);padding:24px 18px;border-radius:20px}.loading-ring{width:112px}.loading-ring-value strong{font-size:34px}.loading-label{margin-bottom:15px}.loading-copy h3{font-size:20px!important}.loading-overview{gap:12px;margin-bottom:18px}.loading-steps{gap:8px}.loading-steps li{grid-template-columns:33px minmax(0,1fr) auto;min-height:60px;padding:10px}.loading-step-text strong{font-size:12px}.loading-step-text small{font-size:9px}.loading-hint{margin-top:14px!important}}

/* 三个功能入口在手机端使用同一标题尺度，避免标题拥挤或折成三行。 */
@media(max-width:600px){
  .hero:not(.compact) h1{font-size:clamp(27px,7.9vw,31px);line-height:1.12;letter-spacing:-.055em}
  .hero:not(.compact) h1,.hero:not(.compact) h1 span{white-space:nowrap}
}

/* 逻辑图层级重构：一个画布，用字号、编号、缩进和留白表达一二三级。 */
#stage3 .draft-title{max-width:1040px;margin:0 auto 12px;padding:0 2px;background:transparent;border:0}
#stage3 .draft-title label{display:grid;grid-template-columns:88px 1fr;align-items:center;gap:12px;color:#777970;font-size:10px;letter-spacing:.08em}
#stage3 .draft-title input{padding:7px 0;color:#a8a79f;background:transparent;border:0;border-bottom:1px solid #363731;border-radius:0;font-size:13px}
.framework-map{max-width:1040px;gap:0}
.hierarchy-summary{display:grid;grid-template-columns:190px minmax(0,1fr);gap:18px 28px;padding:30px 34px 26px;background:linear-gradient(105deg,#201d19 0,#1a1b18 68%);border:1px solid #4a4038;border-radius:18px 18px 0 0}
.level-one-title{grid-row:1/3;align-self:stretch;padding-right:24px;border-right:1px solid #4b3a31}.level-one-title span{display:block;margin-bottom:13px;color:var(--orange);font-size:10px;font-weight:900;letter-spacing:.18em}.level-one-title strong{display:block;color:#f2eee5;font-size:23px;line-height:1.38;letter-spacing:-.025em}
.hierarchy-summary label{padding:0!important;background:transparent!important;border:0!important;border-radius:0!important}.hierarchy-summary label>span{margin-bottom:7px;color:#8e8f87;font-size:10px;letter-spacing:.06em}.hierarchy-summary .core-claim textarea{min-height:0;color:#f1eee5;font-size:18px;font-weight:800;line-height:1.55}.hierarchy-summary .logic-path{display:grid;grid-template-columns:92px 1fr;align-items:center;gap:10px;padding-top:13px!important;border-top:1px solid #34352f!important}.hierarchy-summary .logic-path span{margin:0}.hierarchy-summary .logic-path input{color:#9d9d95;font-size:12px;font-weight:600}
.hierarchy-flow{gap:0;padding:0 34px 0 94px;background:#1a1b18;border:1px solid #393a34;border-top:0;border-radius:0 0 18px 18px}.hierarchy-flow:before{left:51px;top:42px;bottom:42px;background:linear-gradient(#ff6838,#6a4635 20%,#55564f 80%,#ff6838)}
.story-beat{position:relative;display:grid;grid-template-columns:40px 1fr;gap:18px;align-items:start;margin-left:-62px;padding:25px 0;border:0;border-bottom:1px solid #30312c;border-radius:0;background:transparent!important}.story-beat>b{position:relative;z-index:1;display:grid;place-items:center;width:38px;height:38px;margin:0;color:#171713;background:var(--orange);border-radius:50%;font-size:13px}.story-beat>div{padding-top:1px}.story-beat>div>span{display:block;margin-bottom:5px;color:#777970;font-size:9px;font-weight:800;letter-spacing:.15em}.story-beat textarea{width:100%;padding:0;color:#c7c4bb;background:transparent;border:0;outline:0;font:13px/1.65 inherit;resize:none}
.hierarchy-section{position:relative;margin:0;padding:32px 0;border:0;border-bottom:1px solid #393a34;background:transparent}.hierarchy-section .node-body,.hierarchy-section.pending .node-body,.hierarchy-section:hover .node-body{padding:0;background:transparent!important;border:0!important;border-radius:0}.hierarchy-section .node-top{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:start;gap:14px}.hierarchy-section .section-number{position:relative;color:var(--orange);font:700 25px/1 Georgia,serif;letter-spacing:-.04em}.hierarchy-section .section-number:before{content:"";position:absolute;left:-52px;top:8px;width:9px;height:9px;background:#1a1b18;border:2px solid var(--orange);border-radius:50%;box-shadow:0 0 0 5px #ff683812}.secondary-heading small{display:block;margin-bottom:4px;color:#74766e;font-size:9px;font-weight:800;letter-spacing:.16em}.hierarchy-section .framework-heading{width:100%;padding:0!important;color:#f0ede4;background:transparent;border:0!important;font-size:20px!important;font-weight:900!important;line-height:1.35}.hierarchy-section .node-status{align-self:start;margin-top:3px;padding:4px 0;background:transparent!important;border:0!important;border-bottom:1px solid #55564f!important;border-radius:0!important;color:#898a82;font-size:10px;box-shadow:none}.hierarchy-section .node-status.pending{color:#ef9b75;border-color:#9b593c!important}.hierarchy-section .framework-purpose{display:block;width:calc(100% - 60px);margin:8px 0 0 60px;padding:0!important;color:#85867e!important;background:transparent;border:0!important;font-size:11px!important;line-height:1.55}
.tertiary-level{margin:21px 0 0 60px;padding:18px 0 0;border-top:1px solid #30312c}.detail-heading{margin-bottom:3px}.detail-heading b{color:#aeadA5;font-size:10px;letter-spacing:.16em}.detail-heading span{color:#686a63;font-size:9px}.tertiary-list{gap:0}.tertiary-item{display:grid;grid-template-columns:38px 1fr;gap:10px;padding:17px 0;background:transparent!important;border:0;border-bottom:1px solid #2d2e29;border-radius:0}.tertiary-number{padding-top:2px;color:#6f7169;font:700 11px Georgia,serif}.tertiary-item>div{min-width:0}.tertiary-item .content-item-title{padding:0;color:#dad7ce;font-size:14px;font-weight:850}.tertiary-item .content-item-body{margin-top:7px;padding:0;color:#9c9d95;font-size:12px;line-height:1.75}.tertiary-keypoints{display:flex!important;gap:0!important;margin:7px 0 0!important;color:#74766e;font-size:10px}.tertiary-keypoints span{padding:0!important;background:transparent!important;border-radius:0!important;font-size:10px!important}.tertiary-keypoints span+span:before{content:" · ";padding:0 6px;color:#555750}
.page-plan-disclosure{margin-top:16px;border-top:1px solid #393a34}.page-plan-disclosure summary{display:flex;align-items:center;gap:9px;padding:14px 0;color:#9d9d95;cursor:pointer;list-style:none;font-size:11px}.page-plan-disclosure summary::-webkit-details-marker{display:none}.page-plan-disclosure summary:before{content:"＋";color:var(--orange);font-size:13px}.page-plan-disclosure[open] summary:before{content:"－"}.page-plan-disclosure summary b{color:#d1cec5;font-size:10px}.page-plan-disclosure summary em{margin-left:auto;color:#676962;font-size:9px;font-style:normal}.page-plan-list{gap:0;padding:0 0 4px 48px}.page-plan{padding:15px 0;background:transparent;border:0;border-top:1px solid #2e2f2a;border-radius:0}.page-plan>div{grid-template-columns:34px 1fr}.page-plan>div>em{font-size:9px}.page-plan label{grid-template-columns:58px 1fr}.page-plan label input,.page-plan label textarea{font-size:11px}
.hierarchy-section .node-question-panel{margin:18px 0 0 60px}
@media(max-width:700px){#stage3 .draft-title label{grid-template-columns:1fr;gap:3px}.hierarchy-summary{grid-template-columns:1fr;padding:23px 18px;gap:18px}.level-one-title{grid-row:auto;padding:0 0 17px;border-right:0;border-bottom:1px solid #4b3a31}.level-one-title strong{font-size:20px}.hierarchy-summary .logic-path{grid-template-columns:1fr;gap:4px}.hierarchy-flow{padding:0 15px 0 53px}.hierarchy-flow:before{left:27px}.story-beat{grid-template-columns:32px 1fr;gap:12px;margin-left:-40px}.story-beat>b{width:31px;height:31px}.hierarchy-section{padding:25px 0}.hierarchy-section .node-top{grid-template-columns:35px minmax(0,1fr)}.hierarchy-section .node-status{grid-column:2;justify-self:start;margin-top:8px}.hierarchy-section .section-number{font-size:20px}.hierarchy-section .section-number:before{left:-31px;top:5px}.hierarchy-section .framework-heading{font-size:17px!important}.hierarchy-section .framework-purpose{width:calc(100% - 45px);margin-left:45px;white-space:normal}.tertiary-level{margin-left:45px}.tertiary-item{grid-template-columns:32px 1fr}.detail-heading{align-items:flex-start;flex-direction:column;gap:3px}.page-plan-list{padding-left:0}.hierarchy-section .node-question-panel{margin-left:0}}

.hierarchy-section .framework-heading,.tertiary-item .content-item-title{display:block;min-height:0;overflow:hidden;resize:none}

/* 基本情况可逆编辑：保留现有框架，确认保存后才重新生成。 */
.stage-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.edit-brief-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:0 17px;color:#f6eee8;background:#3a261f;border:1px solid #a95334;border-radius:999px;font:800 12px/1 inherit;cursor:pointer;box-shadow:0 8px 24px #00000025;transition:.18s ease}
.edit-brief-action span{color:var(--orange);font-size:16px}.edit-brief-action:hover{transform:translateY(-1px);background:#4a2b20;border-color:var(--orange)}
.edit-brief-action:focus-visible{outline:3px solid #ffffffcc;outline-offset:3px}
.brief-edit-notice{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:0 0 22px;padding:17px 20px;background:linear-gradient(110deg,#35251f,#24231f 66%);border:1px solid #78503e;border-left:4px solid var(--orange);border-radius:14px}
.brief-edit-notice[hidden]{display:none}.brief-edit-notice div{display:grid;gap:5px}.brief-edit-notice strong{color:#f4eee6;font-size:15px}.brief-edit-notice span{color:#aaa69e;font-size:12px;line-height:1.6}
.brief-edit-notice button{flex:0 0 auto;min-height:40px;padding:0 15px;color:#e9e5dc;background:#1d1e1b;border:1px solid #55564f;border-radius:999px;font:750 11px/1 inherit;cursor:pointer}.brief-edit-notice button:hover{border-color:#9d765f;color:#fff}
@media(max-width:700px){.stage-heading-actions{width:100%;justify-content:flex-start}.stage-heading-actions .edit-brief-action,.stage-heading-actions .text-button{flex:1 1 auto;min-height:44px}.brief-edit-notice{align-items:stretch;flex-direction:column;gap:14px;padding:16px}.brief-edit-notice button{width:100%;min-height:46px}.edit-brief-action{min-height:46px;padding-inline:15px}}
