:root{--ink:#23352f;--muted:#7b827c;--green:#294d41;--paper:#f7f7f2;--line:#e6e9e0;--lime:#dfe9b9;--amber:#b26a3c;--red:#bc5347;--white:#fff;--heading-font:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font-family:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;font-size:16px;line-height:1.6}button,input,textarea,select{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}.topbar{height:82px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:20px}.brand{display:flex;align-items:center;gap:12px}.brand-icon{display:grid;place-items:center;width:39px;height:39px;background:var(--green);color:#fff;border-radius:11px;font-family:var(--heading-font);font-size:23px}.brand b{font-size:20px;letter-spacing:1px}.brand b span{font-weight:400;font-size:15px;letter-spacing:0;margin-left:14px;padding-left:16px;border-left:1px solid #d8ded6}.top-note{font-size:14px;color:#7a847b}.top-note i{display:inline-block;width:6px;height:6px;background:#8b9f60;border-radius:50%;margin-right:8px}.button{border:1px solid #dbe1d7;border-radius:7px;padding:10px 17px;display:inline-flex;align-items:center;justify-content:center;gap:18px;color:var(--ink);background:white;font-weight:500;font-size:14px;white-space:nowrap}.button:hover{background:#f0f3ea}.button.primary{background:var(--green);color:#fff;border-color:var(--green)}.button.primary:hover{background:#1d3a30}.button.lime{background:var(--lime);border-color:var(--lime)}.button.quiet{background:transparent;border:0;color:#758073}.app-layout{display:grid;grid-template-columns:222px minmax(0,1fr);min-height:calc(100vh - 82px)}.sidebar{padding:35px 20px 25px;background:#f1f3eb;border-right:1px solid var(--line);display:flex;flex-direction:column}.project-label{font-size:14px;font-weight:600;padding:0 12px;margin-bottom:24px}.project-label span{display:block;letter-spacing:1.5px;font-size:10px;margin-top:4px;color:#a4ad9d}.step{width:100%;background:none;border:0;display:flex;gap:12px;text-align:left;align-items:center;padding:16px 12px;color:#7d8679;border-radius:9px;margin-bottom:8px}.step.active{background:var(--green);color:white;box-shadow:0 4px 10px #284b4112}.step-num{border:1px solid #cfd7c9;border-radius:50%;width:27px;height:27px;display:grid;place-items:center;font-size:12px;flex:none}.step.active .step-num{background:#dfe9b9;color:#294d41;border:0}.step strong{display:block;font-size:15px;font-weight:500}.step small{font-size:12px;display:block;color:#929c8b}.step.active small{color:#b7c5b3}.step.done .step-num{border-color:#b8cda8;color:#577b43;background:#e3ecd9}.sidebar-bottom{border-top:1px solid #dfe5d7;margin-top:auto;padding:28px 12px 0}.tiny-label{font-size:12px;color:#939c8c;display:block}.sidebar-bottom strong{font-size:14px;display:block;margin-top:7px}.sidebar-bottom p{font-size:12px;color:#92998b;line-height:1.9}.text-button{color:var(--green);border:0;background:none;padding:0;font-size:14px}.sidebar-bottom .text-button{font-size:12px;margin-top:12px}main{min-width:0;padding:35px 38px 18px;max-width:1750px;width:100%;margin:0 auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-bottom:27px}.eyebrow{font-size:11px;letter-spacing:1.6px;color:#a4aa9c}.eyebrow span{margin-left:12px}h1{font-size:28px;letter-spacing:.5px;font-weight:600;line-height:1.4;margin:9px 0 7px}.page-heading p{font-size:14px;margin:0;color:#8b9186}.heading-actions{display:flex;align-items:center;gap:16px}.demo-badge,.tag{font-size:12px;border-radius:4px;background:#eef1e8;color:#7d8b70;padding:3px 8px}.overview{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);background:white;border-radius:10px;margin-bottom:23px}.metric{padding:17px 23px;display:flex;align-items:center;gap:15px;position:relative}.metric+.metric:before{content:"";width:1px;height:33px;position:absolute;left:0;background:var(--line)}.metric-icon{display:grid;place-items:center;width:37px;height:37px;background:#f2f4ec;border-radius:9px;color:#71866b}.metric-icon svg{width:19px;height:19px}.metric strong{font-size:14px;font-weight:500}.metric p{font-size:12px;color:#9b9f95;margin:2px 0}.metric .metric-count{margin-left:auto;font-family:Georgia,serif;font-size:25px;color:#667853}.metric .metric-count.warn{color:var(--amber)}.two-col{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(310px,.8fr);gap:23px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;min-width:0}.panel-head{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;border-bottom:1px solid #edf0e7;gap:12px}.panel-head h2{font-size:15px;margin:0;font-weight:600}.panel-head small{font-size:12px;color:#9b9f95}.panel-body{padding:25px}.panel-caption{font-size:12px;color:#969f8b}.tools{display:flex;align-items:center;gap:12px}.tools button{border:0;background:transparent;font-size:12px;color:#7e8b70;padding:0}.manuscript-title{font-size:23px;font-family:var(--heading-font);line-height:1.6;margin:0 0 14px;color:#23372c}.article-meta{font-size:12px;display:flex;gap:12px;color:#97a28f;padding-bottom:22px;border-bottom:1px solid #edf0e8;margin-bottom:24px}.article{font-size:16px;line-height:2;color:#4c584d}.article p{margin:0 0 18px}.article h2{font-size:19px;margin:30px 0 14px;color:#304e3b}.article h3{font-size:17px;margin:24px 0 10px}.article blockquote{border-left:3px solid #b5c792;background:#f3f6eb;padding:15px 18px;margin:20px 0;color:#647957}.article blockquote p{margin:0}.article strong{color:#35583c}.article mark{background:#fcf0dc;color:#935c2f;padding:1px 2px;border-bottom:1px dashed #d9a660}.article img{width:100%;height:auto;display:block;margin:18px 0 4px;border-radius:6px}.article figcaption{text-align:center;font-size:12px;color:#8f9989;margin-bottom:23px}.article pre{background:#f1f3ee;white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;border-radius:6px;font-size:14px;line-height:1.65}.article table{border-collapse:collapse;width:100%;font-size:14px}.article td,.article th{border:1px solid #d9dfd5;padding:6px}.article ul,.article ol{padding-left:24px}.article a{color:#446c57;text-decoration:underline}.article hr{border:0;border-top:1px solid #dfe5d6;margin:28px 0}.article code{background:#edf1e7;padding:1px 4px}.article pre code{padding:0;background:none}.intro-box{padding:23px 24px 20px;background:linear-gradient(125deg,#f1f5e7,#fcfcf8);border-bottom:1px solid var(--line)}.intro-box h3{font-size:17px;margin:0 0 7px}.intro-box p{font-size:14px;line-height:1.8;color:#7f8b71;margin:0}.check-list{padding:8px 24px}.check-row{display:flex;gap:13px;align-items:flex-start;padding:18px 0;border-bottom:1px solid #edf0e8}.check-row:last-child{border-bottom:0}.check-row .order{font-size:12px;color:#a1ae8d;font-family:Georgia,serif;padding-top:2px}.check-row strong{font-size:14px;font-weight:500}.check-row p{font-size:12px;color:#949d8b;margin:5px 0 0;line-height:1.8}.muted-note{font-size:12px;line-height:1.9;color:#969d8d;background:#f6f7f1;padding:15px 19px;border-radius:7px;margin:18px 24px 24px}.panel-tail{padding:16px 24px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf0e8;font-size:12px;color:#989f8f}.page-footer{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#adb4a3;margin-top:24px}.footer-slash{margin:0 10px}.editor-fields label{display:block;font-size:13px;color:#7c8a70;margin-bottom:7px}.field{width:100%;border:1px solid #dae1d2;background:#fafbf8;padding:11px 12px;border-radius:7px;color:#314634}.editor-fields textarea{min-height:470px;line-height:1.9;font-size:15px;resize:vertical}.editor-fields input{margin-bottom:18px}.file-input{display:none}.upload-target{border:1px dashed #bdcbae;background:#f5f8ed;text-align:center;border-radius:8px;padding:20px;color:#6b7f57;margin:16px 24px}.upload-target button{font-size:14px}.upload-target p{font-size:12px;margin:6px 0 0}.tabs{display:flex;gap:6px;background:#f0f3eb;border-radius:6px;padding:4px}.tabs button{background:none;border:0;border-radius:4px;color:#87957b;padding:5px 13px;font-size:12px}.tabs button.selected{background:white;color:#34583b;box-shadow:0 1px 3px #0000000a}.review-summary{padding:20px 24px;background:#fbf9f1;border-bottom:1px solid var(--line)}.review-summary strong{font-size:16px;color:#a7753d}.review-summary p{font-size:12px;color:#9c947e;margin:6px 0 0}.issue{padding:20px 24px;border-bottom:1px solid #edf0e8}.issue-header{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#9da38f;margin-bottom:10px}.issue-category{background:#f8ecda;color:#ad7941;padding:2px 7px;border-radius:3px}.issue-category.logic{background:#f6e9e2;color:#b16e50}.issue h3{font-size:14px;font-weight:500;margin:0 0 8px}.issue .quote{font-size:14px;padding:9px 12px;background:#f7f8f3;color:#647158;border-left:2px solid #c7d1b6;margin:9px 0}.issue p{font-size:13px;color:#929985;line-height:1.8;margin:8px 0}.issue-actions{display:flex;gap:14px;margin-top:14px}.issue-actions .button{padding:5px 12px;font-size:12px}.issue-actions .text-button{font-size:12px}.approval{padding:20px 24px;background:#fafbf6}.approval label,.image-checks label{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:#70825f;margin:8px 0}.approval input,.image-checks input{accent-color:#426044;margin-top:5px}.approval p{font-size:12px;color:#969f88;margin:10px 0 0}.empty-state{text-align:center;padding:35px 25px;color:#7e8f6e}.empty-state strong{display:block;margin-bottom:8px;color:#526d41}.empty-state p{font-size:13px;margin:0}.image-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,1fr);gap:23px}.image-card{padding:24px}.image-card img{display:block;width:100%;max-height:370px;object-fit:contain;background:#f4f5ed;border:1px solid #e5eadb;border-radius:6px}.image-info{display:flex;gap:10px;flex-wrap:wrap;color:#929d83;font-size:12px;margin:12px 0}.image-card label{display:block;font-size:13px;color:#758567;margin:18px 0 6px}.image-card textarea{min-height:85px;resize:vertical}.image-checks{padding:23px}.image-checks h3{font-size:15px;margin:0 0 14px}.image-checks label{padding:12px 0;border-bottom:1px solid #edf0e5}.context-text{background:#f4f6ed;padding:18px;border-radius:7px;font-size:14px;line-height:1.9;color:#7e8b71;margin:18px 0}.image-nav{display:flex;gap:9px;padding:15px 24px;flex-wrap:wrap}.image-nav button{font-size:12px;border:1px solid #dee5d3;background:#fff;border-radius:4px;padding:6px 12px;color:#82956b}.image-nav button.selected{background:#e7edd9;color:#4e6939}.template-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.template-card{background:white;border:1px solid #e0e6d9;border-radius:7px;text-align:left;overflow:hidden;padding:0}.template-card.selected{border:2px solid #4d7156}.template-art{height:128px;padding:20px 17px;background:#f5f6f0;display:flex;flex-direction:column;gap:9px}.template-art b{font-family:var(--heading-font);font-size:17px;color:var(--template-color)}.template-art i{display:block;height:4px;background:#dce2d1;width:90%;border-radius:1px}.template-art i:nth-child(3){width:75%}.template-art i:nth-child(4){height:23px;width:100%;background:var(--template-soft);border-left:2px solid var(--template-color)}.template-card .template-name{font-size:13px;padding:10px 12px;display:block}.template-card .template-name small{display:block;font-size:11px;color:#98a287}.recommendation{padding:21px 24px;background:#eff4e3;border-bottom:1px solid #e0e7d4}.recommendation .tiny-label{color:#8b9b72}.recommendation h3{margin:8px 0 6px;font-size:19px}.recommendation p{font-size:13px;line-height:1.9;margin:0;color:#83936c}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:18px 0;font-size:13px;color:#7f8d6d}.settings-row select{border:1px solid #dce3d2;background:white;padding:5px 9px;border-radius:5px;color:#657d4e;max-width:180px}.settings-row input{accent-color:#466746;max-width:150px}.phone-stage{padding:24px;background:#eaf0e2;display:flex;justify-content:center}.phone-paper{width:390px;max-width:100%;background:white;padding:29px 27px;box-shadow:0 6px 30px #33532508;min-height:600px}.phone-paper h1{font-size:23px;font-family:var(--heading-font);line-height:1.65}.phone-paper .article{font-size:16px;line-height:1.9}.phone-paper .article h2{border-left:3px solid var(--article-primary,#42644e);padding-left:10px;color:var(--article-primary,#42644e)}.phone-paper .article blockquote{background:var(--article-soft,#f2f5eb);border-color:var(--article-primary,#42644e);color:var(--article-primary,#42644e)}.phone-paper .article strong{color:var(--article-primary,#42644e)}.phone-paper .article img{border-radius:0}.release-note{font-size:12px;color:#869477;line-height:1.8;margin-top:15px}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);max-width:90vw;padding:13px 22px;border:1px solid #cbd9bc;border-radius:8px;background:#294d41;color:white;font-size:14px;z-index:100;box-shadow:0 5px 22px #0002}dialog{border:1px solid #dce4d3;border-radius:14px;padding:27px;max-width:560px;width:calc(100vw - 40px);color:#53644b;box-shadow:0 20px 80px #14281320}dialog::backdrop{background:#152a245c;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between}dialog h2{font-size:20px;margin:0}dialog p,dialog dd{font-size:14px;line-height:1.85}dialog dt{font-size:14px;font-weight:600;margin-top:15px}dialog dd{margin:3px 0 0;color:#8c987e}.icon-button{border:0;background:#eef2e6;border-radius:5px;font-size:24px;color:#76876a;width:32px;height:32px;line-height:1}.small-note{font-size:12px!important;padding:12px;background:#f2f5eb}.notice{padding:14px 19px;border:1px solid #e7dec9;background:#faf6eb;color:#9a8057;border-radius:7px;font-size:13px;margin-bottom:18px}.status-chip{font-size:12px;color:#8ba06f;background:#eef3e5;padding:3px 8px;border-radius:4px}.inline-link{color:#4a724b;text-decoration:underline}.backup-actions{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.segmented-control{display:flex;gap:8px}.segmented-control button{font-size:12px;padding:5px 10px;border:1px solid #dde5d3;background:#fff;border-radius:4px;color:#8b997a}.segmented-control button.selected{color:#426a39;background:#e9f0dd}.review-history{padding:13px 24px;border-top:1px solid #e8eddc;font-size:12px;color:#9ba58e}.review-history summary{cursor:pointer}.review-history li{margin:8px 0}.source-line{font-size:12px;color:#a5ac9a;margin-top:20px;text-align:center}
@media(min-width:1650px){main{padding:43px 55px}.two-col{grid-template-columns:minmax(0,1.45fr) minmax(380px,.8fr)}}@media(max-width:1200px){main{padding:27px 25px}.app-layout{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding:25px 13px}.two-col{grid-template-columns:minmax(0,1fr) minmax(300px,.8fr);gap:16px}.metric{padding:15px 12px;gap:9px}.metric-icon{display:none}.heading-actions .demo-badge{display:none}.template-grid{grid-template-columns:1fr}.template-card{display:flex}.template-art{width:100px;height:75px;padding:10px;flex-shrink:0}.template-art b{font-size:12px}.template-card .template-name{padding:14px}.template-art i{height:2px}.template-art i:nth-child(4){height:10px}}@media(max-width:960px){.app-layout{display:block}.sidebar{border-right:0;padding:16px 25px;border-bottom:1px solid var(--line)}.project-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;gap:8px}.step{margin:0;padding:10px;flex:1;justify-content:center}.step small{display:none}.step strong{font-size:13px}.step-num{width:23px;height:23px}.top-note{display:none}.two-col{grid-template-columns:minmax(0,1fr) minmax(300px,.8fr)}main{padding:27px 22px}.page-heading h1{font-size:25px}.page-heading p{font-size:13px}}@media(max-width:740px){.topbar{height:68px;padding:0 17px}.brand b{font-size:17px}.brand b span{font-size:12px;margin-left:9px;padding-left:9px}.brand-icon{width:33px;height:33px;font-size:20px}.topbar .button{padding:5px;font-size:12px}.sidebar{padding:12px 14px}.step{gap:6px;padding:9px 4px}.step strong{font-size:12px}.step-num{font-size:10px;width:20px;height:20px}.two-col,.image-grid{grid-template-columns:1fr}.overview{grid-template-columns:repeat(2,1fr)}.metric:nth-child(3){border-top:1px solid var(--line)}.metric:nth-child(4){border-top:1px solid var(--line)}.metric:nth-child(3):before{display:none}.metric{padding:12px 17px}.metric-icon{display:grid;width:30px;height:30px}.metric .metric-count{font-size:21px}.page-heading{align-items:flex-start;flex-direction:column;gap:17px;margin-bottom:20px}main{padding:24px 15px}.page-heading h1{font-size:25px}.heading-actions{justify-content:space-between;width:100%}.heading-actions .demo-badge{display:block}.page-footer{font-size:10px}.page-footer>span:last-child{display:none}.panel-body,.image-card{padding:21px}.template-grid{grid-template-columns:repeat(3,1fr)}.template-card{display:block}.template-art{width:100%;height:110px;padding:14px 10px}.template-art b{font-size:15px}.template-art i{height:3px}.template-art i:nth-child(4){height:21px}.template-card .template-name{padding:9px}.phone-stage{padding:18px 12px}.phone-paper{padding:24px 21px}.image-checks{padding:21px}.manuscript-title{font-size:22px}.panel-head{padding:15px 20px}.panel-head .tools{gap:8px}.overview .metric p{font-size:11px}dialog{max-height:90vh;overflow:auto}}

/* Template-specific hierarchy, with matching inline export styles. */
.template-insight h1{font-family:var(--heading-font);font-size:25px}.template-insight .article h2{border-left:0;border-bottom:1px solid #cdd7c5;padding:0 0 10px;font-family:var(--heading-font);font-size:20px}.template-insight .article blockquote{background:none;border-left:2px solid #9bad85;padding:10px 18px;font-family:var(--heading-font)}.template-guide h1{font-family:inherit;font-size:23px}.template-guide .article h2{background:#faf2e8;padding:10px 14px;border-left:0;border-radius:4px;font-size:18px}.template-guide .article li{margin-bottom:10px}.template-case .article h2{font-family:inherit;font-weight:600}.template-case .article table th{background:#edf3f8;color:#345875}.issue p,.approval label,.image-checks label,.settings-row,.panel-head .tools button,.issue-actions .button,.issue-actions .text-button,.template-card .template-name{font-size:14px}.top-note,.panel-caption,.article-meta,.panel-head small{color:#77816f}.muted-note,.check-row p{color:#78856b}.template-card .template-name small{font-size:12px}.article{overflow-wrap:anywhere}.article table{table-layout:fixed}.article td,.article th{overflow-wrap:anywhere}.phone-paper .article pre{font-size:13px}.phone-paper .article p{margin-bottom:20px}.brand{min-width:0}.brand b{white-space:nowrap}@media(max-width:740px){.review-grid>.panel:last-child{order:-1}.template-card .template-name{font-size:13px}.template-card .template-name small{font-size:11px}}

.brand-logo{display:block;width:210px;height:auto;max-height:64px;object-fit:contain}.brand-divider-text{font-size:15px;border-left:1px solid #d7ddd1;padding-left:18px;white-space:nowrap}.article-brand{margin-top:25px;border-top:1px solid #e9ede1;padding-top:5px}.article-brand img{display:block;object-fit:contain}.phone-paper .article .article-brand img{width:190px;margin:25px auto 8px;border-radius:0}@media(max-width:740px){.brand{gap:8px}.brand-logo{width:155px;max-height:50px}.brand-divider-text{font-size:12px;padding-left:10px}.topbar{gap:7px;padding:0 12px}.topbar .button{font-size:12px;gap:4px}}@media(max-width:370px){.brand-logo{width:135px}.brand-divider-text{font-size:11px}}

.manuscript-title,.phone-paper h1,.phone-paper .article h2,.phone-paper .article h3,.phone-paper .article h4,.template-art b{font-family:var(--heading-font);font-weight:600}.template-insight .article blockquote{font-family:inherit}

/* Match the three separate WeChat draft fields. */
.copy-panel{margin-bottom:23px}.copy-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.copy-field{padding:20px 24px;min-width:0;display:flex;flex-direction:column;align-items:flex-start}.copy-field+.copy-field{border-left:1px solid var(--line)}.copy-field h3{font-size:15px;margin:0 0 10px}.copy-field h3 span{font-size:12px;color:#8c9c7a;margin-right:9px;font-weight:400}.copy-field p{font-size:14px;line-height:1.8;margin:0 0 16px;overflow-wrap:anywhere;white-space:pre-wrap;color:#617255;flex:1}.copy-field small{font-size:12px;color:#7c876f;line-height:1.7;margin-top:10px}.copy-field .button{gap:8px}@media(max-width:740px){.copy-fields{grid-template-columns:1fr}.copy-field{padding:18px 20px}.copy-field+.copy-field{border-left:0;border-top:1px solid var(--line)}.copy-panel .panel-head{flex-wrap:wrap}.copy-field p{margin-bottom:12px}}

/* Reference-derived static templates. All headings use the brand sans-serif stack. */
.template-magazine .article h2{border:0;border-top:1px solid #d8c8bb;border-bottom:1px solid #d8c8bb;text-align:center;padding:16px 0;margin:38px 0 24px;font-size:19px;letter-spacing:1px}.template-magazine .article p{margin-bottom:26px}.template-magazine .article blockquote{border:0;background:#f7f1eb;text-align:center;padding:20px;color:#76533c}.template-magazine .article figcaption{font-size:12px;letter-spacing:.5px}.template-qa .article h2{border:0;border-left:4px solid #675484;background:#f3eff8;padding:12px 14px;border-radius:0 6px 6px 0;font-size:18px}.template-qa .article h3{color:#675484}.template-qa .article blockquote{border:1px solid #ddd4e8;background:#fcfaff;padding:16px;border-radius:6px}.template-qa .article li{margin-bottom:12px}.template-report .article h2{border-left:0;border-top:3px solid #314d6d;border-bottom:1px solid #d7e0e9;padding:12px 0;font-size:19px;margin-top:34px}.template-report .article blockquote{border:0;background:#eef3f8;padding:18px;color:#314d6d}.template-report .article table{font-size:14px;margin:22px 0}.template-report .article th{background:#314d6d;color:#fff;text-align:left}.template-report .article td{padding:10px 8px}.template-report .article tr:nth-child(even) td{background:#f3f6f9}.template-reference{padding:15px 0;border-bottom:1px solid var(--line);font-size:13px}.template-reference p{margin:7px 0;line-height:1.8}.template-reference a{color:#4f704a;text-decoration:underline}.template-reference .text-button{display:block;margin-top:10px;font-size:13px}.topbar-tools{display:flex;align-items:center;gap:10px}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.template-card{display:block}.template-art{width:100%;height:112px;padding:16px 12px}.template-art b{font-size:14px}.template-card .template-name{padding:10px;font-size:13px}.template-thumb-magazine .template-art b{text-align:center;border-block:1px solid #d8c8bb;padding:5px 0}.template-thumb-qa .template-art b{background:#f3eff8;border-left:3px solid #675484;padding:4px 6px}.template-thumb-report .template-art b{border-top:3px solid #314d6d;padding-top:5px}#templateLibraryDialog{max-width:1120px;width:calc(100vw - 40px);max-height:90vh;overflow:auto;background:#f8f9f5;padding:28px}#templateLibraryDialog .dialog-heading{gap:20px}.library-intro{color:#7c886e;font-size:13px!important;margin:16px 0 24px}.reference-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.reference-card{border:1px solid #dfe5d8;border-radius:10px;overflow:hidden;background:#fff;display:flex;flex-direction:column;min-width:0}.reference-card-heading{padding:19px 20px;border-bottom:1px solid #edf0e8}.reference-card h3{font-size:20px;margin:9px 0 4px}.reference-card-heading p{font-size:12px;margin:0;color:#849076}.reference-preview.phone-paper{width:100%;min-height:0;height:240px;padding:6px 20px 18px;overflow:hidden;box-shadow:none;border-bottom:1px solid #e7ebdf}.reference-preview .article{font-size:13px!important;line-height:1.8!important}.reference-preview.phone-paper .article h2{font-size:16px;margin-top:18px}.reference-preview .article p{margin-bottom:14px}.reference-preview .article blockquote{padding:10px 12px}.reference-preview .article table{font-size:12px}.reference-card-body{padding:18px 20px;display:flex;flex-direction:column;flex:1}.reference-card-body>small{font-size:11px;color:#8b977d}.reference-card-body p{font-size:13px!important;line-height:1.8;margin:10px 0}.reference-card-body strong{display:block;font-size:12px;color:#465e38;margin-bottom:4px}.reference-card-body details{font-size:12px;line-height:1.8;color:#7e8c70;margin:8px 0 16px}.reference-card-body summary{cursor:pointer;color:#406548}.reference-card-body a{display:block;text-decoration:underline;color:#406548;overflow-wrap:anywhere;margin-top:8px}.reference-card-body .button{margin-top:auto;align-self:flex-start}@media(max-width:1000px){.reference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:740px){.topbar{height:auto;min-height:68px;flex-wrap:wrap;padding:12px}.topbar-tools{margin-left:auto}.topbar-tools .button{padding:6px 8px}.reference-grid{grid-template-columns:1fr}#templateLibraryDialog{padding:20px;width:calc(100vw - 24px)}#templateLibraryDialog h2{font-size:19px}.reference-preview.phone-paper{height:auto;max-height:270px}.reference-card-body .button{width:100%}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Creation studio: a quiet brief alongside an editable writing desk. */
[hidden]{display:none!important}.creation-banner{display:flex;align-items:center;gap:16px;background:#eef2e6;border:1px solid #dce4ce;border-radius:9px;padding:15px 20px;margin-bottom:24px}.creation-banner p{font-size:13px;color:#67765c;margin:0;flex:1}.creation-banner .text-button{font-size:12px}.creation-grid{display:grid;grid-template-columns:minmax(270px,.68fr) minmax(0,1.6fr);gap:26px;align-items:start}.creation-brief .panel-body{padding:22px}.create-label{display:block;color:#586c4c;font-size:13px;font-weight:500;margin:20px 0 8px}.create-label:first-child{margin-top:0}.creation-grid .field,#creationDialog .field{width:100%;border:1px solid #dce3d3;border-radius:6px;padding:10px 12px;color:#354831;background:#fdfefb;font-size:14px;line-height:1.8;resize:vertical;min-width:0}.creation-grid .field:focus,#creationDialog .field:focus{outline:2px solid #9aaf7c;outline-offset:2px;background:white}.creation-grid .field::placeholder,#creationDialog .field::placeholder{color:#949e8b}.creation-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:20px}.creation-hint{font-size:12px;line-height:1.85;color:#7a8870;margin:17px 0 0}.creation-section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:12px}.creation-section-heading h2{font-size:20px;margin:4px 0 0;font-weight:600}.creation-section-heading .tiny-label{font-size:10px;letter-spacing:1.4px}.topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.topic-card{background:white;border:1px solid var(--line);border-radius:10px;padding:21px;display:flex;flex-direction:column;min-width:0}.topic-card-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#8b9a7b}.topic-card-top>span:first-child{font-size:21px;line-height:1;font-weight:300;color:#a5b194}.topic-card h3{font-size:17px;line-height:1.65;margin:18px 0 10px;overflow-wrap:anywhere}.topic-card p{font-size:13px;color:#78866d;line-height:1.9;margin:0 0 12px}.topic-card small{font-size:11px;color:#8c967f;border-top:1px solid #edf0e7;padding-top:12px;margin:0 0 20px}.topic-card .button{margin-top:auto;align-self:flex-start;font-size:12px;padding:8px 12px;background:#f5f7ef}.creation-empty{background:#f0f3e9;border:1px dashed #cbd5bf;border-radius:12px;padding:80px 25px;min-height:360px;text-align:center}.creation-empty>span{font-size:11px;letter-spacing:2px;color:#95a282}.creation-empty h3{font-size:23px;font-weight:500;margin:18px 0}.creation-empty p{font-size:14px;line-height:2;color:#859476}.seed-topics{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:30px}.seed-topics button{border:1px solid #d6dfca;background:#fff;color:#71885b;font-size:12px;padding:7px 11px;border-radius:20px}.creation-save{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:18px 2px;font-size:12px;color:#8b947f}.creation-save .text-button{font-size:12px}.creation-save span{margin-right:auto}.writing-grid{grid-template-columns:minmax(270px,.65fr) minmax(0,1.4fr)}.creation-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}.generation-modes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:4px;background:#f1f4e9;border-radius:7px;gap:4px}.generation-modes button{border:0;padding:10px 4px;background:transparent;color:#7e8c6c;font-size:13px;border-radius:5px;white-space:nowrap}.generation-modes button.selected{background:white;color:#35573c;box-shadow:0 2px 8px #33542b0e}.generation-control{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 0;border-bottom:1px solid var(--line);margin-bottom:23px}.generation-control strong{font-size:14px;font-weight:500}.generation-control p{font-size:12px;color:#89977a;line-height:1.8;margin:6px 0 0}.generation-control .button{font-size:13px;flex-shrink:0}.create-label-row{display:flex;align-items:center;justify-content:space-between;margin-top:22px;gap:10px}.create-label-row .create-label{margin:0 0 8px}.create-label-row .text-button{font-size:12px;margin-bottom:8px}.draft-editor{min-height:370px}.outline-editor{min-height:150px}.title-candidates{display:flex;flex-direction:column;margin-top:8px;gap:6px}.title-candidates button{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#f5f7ef;color:#587149;border:1px solid #e6ecdd;border-radius:5px;padding:10px 12px;text-align:left;font-size:13px;overflow-wrap:anywhere}.title-candidates span{font-size:11px;flex-shrink:0;color:#94a280}.draft-preview{margin-top:16px;background:#f6f8f1;border-radius:6px;padding:12px 16px}.draft-preview summary{font-size:13px;cursor:pointer;color:#718461}.draft-preview .article{padding:22px 0 0}#creationDialog{max-width:760px;max-height:90vh;overflow:auto}.creation-dialog-intro{color:#77876a;font-size:13px!important}.generation-error{background:#fff0e7;color:#9c5537;padding:10px 14px;border-radius:5px;font-size:13px!important}
@media(max-width:1200px){.creation-grid{grid-template-columns:minmax(250px,.8fr) minmax(0,1.3fr);gap:18px}.topic-grid{grid-template-columns:1fr}.generation-control{align-items:flex-start;flex-direction:column}.creation-banner{flex-wrap:wrap}.creation-banner p{min-width:220px}.creation-brief .panel-head{flex-wrap:wrap}.writing-desk .panel-head{flex-wrap:wrap}}
@media(max-width:960px){.sidebar nav{overflow-x:auto}.sidebar nav .step{width:auto;min-width:112px;flex:0 0 auto}.creation-grid{grid-template-columns:minmax(250px,.75fr) minmax(0,1.2fr)}}
@media(max-width:740px){.creation-grid{grid-template-columns:1fr;gap:24px}.creation-banner{padding:14px 16px;gap:10px}.creation-banner p{min-width:100%;line-height:1.9}.creation-section-heading h2{font-size:19px}.creation-section-heading .tag{font-size:11px;white-space:nowrap}.topic-grid{grid-template-columns:1fr}.creation-empty{padding:46px 20px;min-height:280px}.creation-empty h3{font-size:21px}.generation-modes button{font-size:12px}.generation-control .button{width:100%}.creation-actions .button{flex:1}.creation-save{gap:12px}.creation-save span{width:100%}#creationDialog{padding:20px;width:calc(100vw - 24px)}#creationDialog h2{font-size:19px}}

.model-panel{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-bottom:24px;background:white;border:1px solid #dce4d1;border-radius:9px;padding:18px 22px}.model-picker{min-width:230px}.model-picker label{display:block;font-size:12px;color:#7a896b;margin-bottom:7px}.model-picker .field{width:100%;min-height:40px;padding:7px 12px;border:1px solid #dce3d3;border-radius:6px;background:#fafcf6;color:#345036;font-size:14px}.model-connection{flex:1;min-width:190px}.model-connection strong{font-size:13px;font-weight:500}.model-connection p{font-size:12px;color:#7f8d71;line-height:1.8;margin:3px 0}.model-connection a{font-size:12px}.model-panel>.text-button{font-size:12px}.generation-progress,.last-generation{width:100%;font-size:12px;color:#768868;border-top:1px solid #ebf0e2;padding-top:12px}.generation-progress{display:flex;justify-content:space-between}.generation-progress .text-button{font-size:12px}.last-generation{padding-top:8px}.generation-result{max-height:55vh;overflow:auto;margin-top:18px;padding:18px;background:#f7f9f2;border:1px solid #e5ebdd;border-radius:6px;overflow-wrap:anywhere}.generation-result li{font-size:14px;line-height:1.9;margin:10px 0}.generation-result p{font-size:14px}#modelResultDialog{width:calc(100vw - 32px);max-width:760px;max-height:92vh;overflow:auto}@media(max-width:740px){.model-panel{padding:17px;gap:14px}.model-picker,.model-connection{width:100%}.generation-result{padding:15px}}

.topic-results{scroll-margin-top:24px;min-width:0}.topic-results:focus{outline:none}.topic-library-tools{margin-bottom:18px}.topic-tabs{display:flex;gap:8px;flex-wrap:wrap}.topic-tabs button{border:1px solid #dce4d1;border-radius:6px;padding:9px 14px;color:#67765c;background:white;font-size:13px}.topic-tabs button[aria-pressed=true]{color:white;background:#29473f;border-color:#29473f}.topic-library-tools .field{max-width:100%;font-size:13px}.topic-history-meta{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin-top:10px;font-size:11px;color:#7a896b}.topic-history-meta button{font-size:12px}.topic-results .creation-section-heading{align-items:flex-start}@media(max-width:740px){.topbar-tools{flex-wrap:wrap;gap:6px}.topbar-tools .button{padding:7px 9px;font-size:11px}.topic-history-meta{line-height:1.7}.topic-library-tools .field{font-size:12px}}

#workbenchLogin{width:calc(100vw - 32px);max-width:440px;max-height:90vh;overflow:auto}#workbenchLogin .field{width:100%;box-sizing:border-box;padding:12px;border:1px solid #dce3d3;border-radius:6px;font:inherit}#workbenchLogin .remember-device{display:flex;align-items:center;gap:8px;margin:18px 0;font-size:13px;color:#67765c}#workbenchLogin form>.button{width:100%;margin-top:8px}.model-connection>.button{margin-top:8px;font-size:13px}.model-connection>.text-button{padding:0;font-size:12px;margin-top:5px}
/* WeChat publishing workspace */
.wx-panel{padding:26px 28px;margin-bottom:24px;background:linear-gradient(120deg,#e9efdc,#f5f7ef)}
.wx-panel h2{margin:8px 0;font-size:22px}.wx-panel p{font-size:13px;color:#657460;line-height:1.8}
.wx-panel-intro{margin-bottom:20px}.wx-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.wx-panel-note{margin:16px 0 0!important}
#wechatDialog{width:min(760px,calc(100vw - 32px));max-height:90dvh;overflow:auto;padding:28px;color:#29473f}
#wechatDialog h2,#wechatDialog h3{font-family:"PingFang SC","Microsoft YaHei",sans-serif}
.wx-label,.wx-form-grid label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600;margin:18px 0}
.wx-label span{font-size:12px;color:#798374;font-weight:400}.wx-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.wx-form-grid label{min-width:0;margin-bottom:0}
.wx-connection{display:flex;gap:12px;align-items:center;padding:18px;background:#f4f6ee;border-radius:10px;margin:12px 0}.wx-connection p{font-size:12px;margin:5px 0 0;color:#788571}
.wx-dot{width:10px;height:10px;flex-shrink:0;border-radius:50%;background:#b4baa9}.wx-dot.connected{background:#65934f}
.wx-help{margin-top:25px;padding-top:18px;border-top:1px solid #dfe5d7;font-size:13px;line-height:1.9}.wx-help summary{cursor:pointer;font-weight:600}.wx-help ol{padding-left:22px}.wx-help a,#wechatDialog a{color:#426748}
.wx-feedback{margin:18px 0 0;padding:14px 16px;background:#eef3df;color:#375439;border-radius:8px;font-size:13px;line-height:1.8;overflow-wrap:anywhere}.wx-feedback.error,.wx-warning{background:#fff3df;color:#85572e}.wx-warning{padding:16px;border-radius:8px;margin:20px 0;font-size:13px;line-height:1.9}.wx-feedback[hidden]{display:none}
.wx-summary{padding:20px;background:#f4f6ee;border-radius:10px;margin:18px 0}.wx-summary span{font-size:12px;color:#77816c}.wx-summary h3{font-size:22px;line-height:1.5;margin:10px 0}.wx-summary p{font-size:12px;line-height:1.8;margin:0}
.wx-cover-preview{display:flex;gap:15px;align-items:center;font-size:12px;overflow-wrap:anywhere}.wx-cover-preview[hidden]{display:none}.wx-cover-preview img{width:150px;max-height:100px;object-fit:contain;border-radius:6px;background:#f0f1ec}
.wx-record-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}.wx-records{display:grid;gap:16px}.wx-record{border:1px solid #dce2d3;border-radius:12px;padding:20px}.wx-record.highlight{border-color:#7b965c;background:#fafcf4}.wx-record h3{font-size:18px;line-height:1.5;margin:15px 0}.wx-record-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.wx-record-top time{color:#87917f;font-size:12px}.wx-status{font-size:11px;background:#f8ecda;color:#8c623a;border-radius:5px;padding:5px 9px}.wx-status.success{background:#eaf0dc;color:#4e703d}.wx-error{color:#945d30;font-size:13px;line-height:1.8}.wx-empty{padding:35px 15px;text-align:center}.wx-empty p{font-size:13px;line-height:1.9;color:#7a8570}
.wx-snapshot{margin:18px 0;font-size:13px;line-height:1.8}.wx-snapshot p{font-size:11px;overflow-wrap:anywhere}.wx-snapshot iframe{width:100%;height:460px;border:1px solid #e1e5da;border-radius:8px;background:white}.wx-snapshot summary{cursor:pointer}
@media(max-width:650px){#wechatDialog{padding:20px}.wx-form-grid{grid-template-columns:1fr;gap:0}.wx-panel{padding:22px 20px}.wx-actions .button{flex:1;justify-content:center}.wx-summary h3{font-size:19px}.wx-record{padding:16px}.wx-record-top{align-items:flex-start}.topbar-tools{flex-wrap:wrap}}

.wx-label[hidden]{display:none}

/* Material collection and photo placement */
.materials-banner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 30px;background:#eaf0dd;border:1px solid #d8e2c8;border-radius:12px;margin-bottom:18px}.materials-banner h2{font-size:23px;font-weight:600;margin:14px 0 10px}.materials-banner p{color:#6d7e62;font-size:13px;line-height:1.8;margin:0}.materials-banner-actions{display:flex;gap:10px;flex-wrap:wrap;flex-shrink:0}.material-cloud{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-bottom:24px;font-size:12px;color:#6b7e60;line-height:1.8}.material-cloud>span{flex:1;min-width:180px}.materials-layout{display:grid;grid-template-columns:220px minmax(0,1fr);align-items:start;gap:24px}.material-detail{display:grid;gap:24px;min-width:0}.material-list .panel-head{padding:20px}.material-records{max-height:510px;overflow:auto;padding:8px}.material-records>button{display:flex;flex-direction:column;gap:9px;text-align:left;padding:15px 12px;width:100%;border:1px solid transparent;border-radius:7px;background:transparent;color:#456140;margin:4px 0}.material-records>button.selected{background:#eef3e2;border-color:#d0dfba}.material-records strong{font-size:13px;line-height:1.8;overflow-wrap:anywhere}.material-records small{font-size:11px;color:#7f8d73}.material-records>p,.material-scope{padding:12px;font-size:12px;color:#829075;line-height:1.9}.material-scope{margin:0 10px 10px;border-top:1px solid #e7ecdf}.material-extra{margin-top:18px;font-size:13px;color:#76866b}.material-extra summary{cursor:pointer}.material-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0}.material-photo{border:1px solid #e0e7d5;border-radius:9px;overflow:hidden;background:#fcfdf9;min-width:0}.material-photo>img{width:100%;height:190px;object-fit:contain;background:#edf1e6;display:block}.material-photo>div{padding:16px}.material-photo strong{font-size:13px}.material-photo small{display:block;color:#86917c;font-size:11px;margin-top:7px;overflow-wrap:anywhere}.material-photo .create-label{font-size:12px;margin-top:16px}.material-photo .field{font-size:13px}.material-photo-empty{grid-column:1/-1;min-height:210px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed #c5d4b4;border-radius:9px;color:#7c8d6b;text-align:center;padding:24px}.material-photo-empty>span{font-size:38px;font-weight:300}.material-photo-empty strong{font-size:15px;margin:15px 0 3px}.material-photo-empty p{font-size:12px}.writing-style-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.writing-style-grid button{background:#fafcf6;border:1px solid #dce5cf;padding:18px 14px;border-radius:8px;text-align:left;color:#5f7553;min-width:0}.writing-style-grid button.selected{background:#29473f;border-color:#29473f;color:white}.writing-style-grid strong{display:block;font-size:14px;margin-bottom:10px}.writing-style-grid span{font-size:11px;line-height:1.8;opacity:.8}.photo-placement-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:10px 0}.photo-placement-toolbar span{font-size:12px;color:#7c8d70}.photo-placement-toolbar .button{font-size:12px}#photoPlacementDialog{width:min(850px,calc(100vw - 28px));max-height:90dvh;overflow:auto;padding:26px}#photoPlacementDialog .field{width:100%}.photo-placement-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:22px}.photo-placement-grid article{border:1px solid #e0e6d7;border-radius:9px;overflow:hidden;min-width:0;padding-bottom:16px}.photo-placement-grid img{width:100%;height:145px;object-fit:contain;background:#f0f3e9}.photo-placement-grid strong,.photo-placement-grid small{display:block;margin:10px 12px;overflow-wrap:anywhere;font-size:13px}.photo-placement-grid small{font-size:11px;color:#86917c}.photo-placement-grid article>div{display:flex;flex-wrap:wrap;gap:8px;padding:0 12px}.photo-placement-grid .button{font-size:12px;padding:8px 11px}.photo-placement-grid .text-button{font-size:11px}
@media(max-width:1100px){.materials-banner{align-items:flex-start;flex-direction:column}.materials-layout{grid-template-columns:185px minmax(0,1fr);gap:18px}.writing-style-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:740px){.materials-layout{grid-template-columns:1fr}.material-records{display:flex;gap:8px;max-height:150px;overflow-x:auto}.material-records>button{min-width:170px;width:170px;flex-shrink:0}.material-scope{padding:8px 12px}.materials-banner{padding:22px 20px}.materials-banner h2{font-size:20px;line-height:1.6}.materials-banner-actions .button{font-size:12px}.material-photos{grid-template-columns:1fr}.material-photo>img{height:220px}.photo-placement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-placement-grid img{height:125px}#photoPlacementDialog{padding:18px}.material-cloud{gap:10px}.material-cloud>span{min-width:100%}}

.editorial-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:10px 0 14px}.editorial-toolbar span{font-size:12px;color:#7c8d70}.editorial-notes{background:#fff8e9;border:1px solid #ecddbc;border-radius:8px;padding:18px;margin:18px 0;color:#655334}.editorial-notes>strong{font-size:14px}.editorial-notes>p{font-size:12px;line-height:1.8;margin:8px 0;color:#86734e}.editorial-notes .article{font-size:13px;line-height:1.9}.editorial-notes .article h2{font-size:15px}#editorialDialog{width:min(800px,calc(100vw - 32px));max-height:90vh;overflow:auto}.editorial-preview{border:1px solid #dce4d3;border-radius:8px;padding:20px;max-height:35vh;overflow:auto}
/* A flexible desk: choose a starting point, keep adding along the way. */
.start-intro{max-width:760px;margin:4px 0 28px}.start-intro h2{font-size:28px;line-height:1.5;margin:12px 0;color:#29473f}.start-intro p{font-size:14px;line-height:1.9;color:#71816a}.start-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}.start-card{grid-column:span 2;display:flex;flex-direction:column;text-align:left;border:1px solid #dce4d1;border-radius:12px;background:#fff;padding:25px;color:#29473f;transition:transform .18s,border-color .18s,box-shadow .18s}.start-card:nth-child(-n+2){grid-column:span 3;background:#eef3e6}.start-card:hover{transform:translateY(-3px);border-color:#91a47e;box-shadow:0 8px 24px #29473f0c}.start-kicker{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#76886c;margin-bottom:20px}.start-kicker b{font-size:24px;font-weight:400}.start-card>strong{font-size:21px}.start-card p{font-size:13px;color:#708065;line-height:1.9;margin:12px 0 24px;flex:1}.start-link{font-size:12px;font-weight:600}.resume-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:18px;margin:36px 0;padding-top:28px;border-top:1px solid #dce4d1}.resume-grid h3{font-size:19px;margin:10px 0}.resume-grid p{font-size:12px;line-height:1.8;color:#7c886f}.resume-card{display:flex;flex-direction:column;gap:14px;text-align:left;padding:20px;background:#fff;border:1px solid #dce4d1;border-radius:10px;color:#29473f;min-width:0}.resume-card small{font-size:11px;color:#7c886f}.resume-card strong{font-size:15px;line-height:1.7;overflow-wrap:anywhere}.resume-card span{font-size:12px;margin-top:auto}.start-drop{display:flex;align-items:center;flex-direction:column;gap:12px;padding:30px 20px;border:1px dashed #b8c9a7;border-radius:12px;text-align:center;background:#f3f6ee}.start-drop strong{font-size:15px}.start-drop span,.start-drop p{font-size:12px;color:#798a6d;line-height:1.8;margin:0}.workflow-quickbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#f0f4e8;border:1px solid #dce4d1;border-radius:9px;padding:16px 20px;margin-bottom:24px}.workflow-quickbar>div{flex:1;min-width:200px;display:flex;flex-direction:column;gap:7px}.workflow-quickbar strong{font-size:13px}.workflow-quickbar span{font-size:11px;color:#7a896c}.workflow-quickbar .button,.workflow-quickbar .text-button{font-size:12px}.file-drop-overlay{position:fixed;inset:14px;z-index:10000;border:3px dashed #7f995d;background:#eef4e5f2;border-radius:18px;display:flex;align-items:center;justify-content:center;padding:28px;text-align:center;line-height:2;font-size:24px;font-weight:600;pointer-events:none;color:#29473f}#articleImportDialog{width:min(720px,calc(100vw - 28px));max-height:90dvh;overflow:auto}#articleImportDialog>p{font-size:13px;line-height:1.9;color:#748469}#articleImportDialog .field{width:100%;box-sizing:border-box;padding:10px;border:1px solid #dce4d1;border-radius:6px;background:#fff;font:inherit;font-size:14px;line-height:1.8}#importFileName{margin-left:12px;overflow-wrap:anywhere}#articleImportDialog textarea{resize:vertical}button:focus-visible{outline:2px solid #637f4b;outline-offset:3px}
@media(max-width:740px){.start-intro h2{font-size:23px}.start-grid{grid-template-columns:1fr}.start-card,.start-card:nth-child(-n+2){grid-column:auto;padding:22px}.start-kicker{margin-bottom:12px}.start-card p{margin-bottom:18px}.resume-grid{grid-template-columns:1fr}.workflow-quickbar{gap:10px;padding:15px}.workflow-quickbar>div{min-width:100%}.workflow-quickbar .button{flex:1}.file-drop-overlay{font-size:18px}#articleImportDialog{padding:20px}#articleImportDialog .creation-form-row{grid-template-columns:1fr;gap:10px}}
@media(prefers-reduced-motion:reduce){.start-card{transition:none}}
/* Exportable decoration: real elements and borders, with no pseudo-element dependency. */
.article-decoration{color:inherit}.article-opening-rule{border-top:1px solid var(--article-primary);padding-top:5px;margin:4px 0 30px}.rule-accent{display:block;width:44px;border-top:4px solid var(--article-primary);font-size:1px;line-height:1.5;color:transparent}.article-end-rule{border-top:1px solid #dfe4db;text-align:center;padding-top:16px;margin:32px 0 12px;color:var(--article-primary)}.article-end-rule span{display:inline-block;font-size:14px;letter-spacing:4px}.phone-paper .article-decoration h2{line-height:1.75;margin-top:34px;margin-bottom:20px}.chapter-marker{display:inline-block;font-family:var(--heading-font);font-size:13px;font-weight:600;line-height:1.6;padding:3px 8px;margin-right:5px;vertical-align:middle;color:var(--article-primary);background:var(--article-soft);border:1px solid var(--article-primary)}.phone-paper .article-decoration h3{border-bottom:1px dashed #d8ded1;padding-bottom:8px;color:var(--article-primary)}.phone-paper .article-decoration figcaption{border-bottom:1px solid #e2e6db;padding:8px 0 13px;font-size:12px;letter-spacing:.4px;color:#7a8275}.phone-paper .article-decoration hr{width:48%;margin:30px auto;border-top:1px solid var(--article-primary)}.phone-paper .article-decoration blockquote{margin:26px 0;padding:18px 20px;border-radius:0;line-height:1.9}.phone-paper .article-decoration blockquote p{margin:0}.phone-paper .article-decoration ul,.phone-paper .article-decoration ol{padding:16px 18px 16px 36px;background:var(--article-soft);border-top:1px solid #e3e7dd;border-bottom:1px solid #e3e7dd}.phone-paper .article-decoration li{margin-bottom:8px}.phone-paper .article-decoration li:last-child{margin-bottom:0}.phone-paper .article-decoration table{margin:24px 0;border-top:2px solid var(--article-primary)}.phone-paper .article-decoration th{background:var(--article-soft);color:var(--article-primary);padding:10px}.phone-paper .article-decoration td{padding:10px 8px}.phone-paper .decoration-insight h2{border-bottom:1px solid #bcccb3;border-top:0;border-left:0;padding:0 0 12px}.decoration-insight .chapter-marker{border:0;border-bottom:2px solid var(--article-primary);background:transparent;padding:2px 2px 5px;font-size:18px}.phone-paper .decoration-insight blockquote{border-left:2px solid var(--article-primary);border-top:1px solid #d9e2d1;border-bottom:1px solid #d9e2d1;background:#f7f9f2}.phone-paper .decoration-case h2{border-left:4px solid var(--article-primary);border-bottom:1px solid #d8e2eb;padding:8px 0 10px 12px}.decoration-case .chapter-marker{color:white;background:var(--article-primary);border:0}.phone-paper .decoration-case blockquote{border:1px solid #d8e2eb;border-top:3px solid var(--article-primary);background:var(--article-soft)}.phone-paper .decoration-guide h2{background:var(--article-soft);border-left:0;border-top:1px solid #ead9c5;border-bottom:2px solid var(--article-primary);padding:12px 14px;border-radius:0}.decoration-guide .chapter-marker{background:var(--article-primary);color:white;border-radius:4px;border:0}.phone-paper .decoration-guide blockquote{border:1px dashed #b68d68;background:#fffcf6}.phone-paper .decoration-magazine h2{text-align:center;border-top:1px solid #cbb5a4;border-bottom:1px solid #cbb5a4;padding:18px 2px;letter-spacing:1px}.decoration-magazine .chapter-marker{display:block;margin:0 auto 10px;width:30px;border:0;background:transparent;font-size:22px;padding:0}.decoration-magazine .article-opening-rule{border-top:3px double #b89c86}.decoration-magazine .rule-accent{border:0}.phone-paper .decoration-magazine blockquote{border-top:1px solid #d9c8b9;border-bottom:1px solid #d9c8b9;background:var(--article-soft);text-align:center;padding:24px 20px}.phone-paper .decoration-qa h2{border-left:0;border-bottom:2px solid #c3b3d4;background:var(--article-soft);border-radius:0;padding:12px}.decoration-qa .chapter-marker{background:var(--article-primary);color:#fff;border-radius:50%;width:29px;text-align:center;padding:3px 0;border:0}.phone-paper .decoration-qa blockquote{background:#fcfaff;border:1px solid #ded4e9;border-left:3px solid var(--article-primary);border-radius:6px}.phone-paper .decoration-report h2{border-top:3px solid var(--article-primary);border-bottom:1px solid #c6d4df;padding:13px 0;letter-spacing:.5px}.decoration-report .chapter-marker{background:transparent;border:0;border-right:1px solid #b8c9d6;border-radius:0;padding:2px 10px 2px 0}.phone-paper .decoration-report blockquote{border-left:3px solid var(--article-primary);border-top:1px solid #d6e1e9;border-bottom:1px solid #d6e1e9;background:var(--article-soft)}.decoration-settings{padding:20px 0;border-bottom:1px solid var(--line)}.decoration-settings .create-label{margin-top:0}.reference-preview.phone-paper{height:330px}.reference-preview .article-opening-rule{margin:12px 0 14px}.reference-preview.phone-paper .article-decoration h2{margin-top:14px;margin-bottom:14px;font-size:15px}.reference-preview .article-end-rule{margin-top:18px;padding-top:8px}.template-thumb-insight .template-art b{border-bottom:1px solid var(--template-color);padding-bottom:6px}.template-thumb-case .template-art b{border-left:3px solid var(--template-color);padding-left:8px}.template-thumb-guide .template-art b{background:var(--template-soft);border-bottom:2px solid var(--template-color);padding:4px 6px}.template-art i:nth-child(5){height:1px;width:38%;background:var(--template-color);margin-top:3px}
.brand-context{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:16px 20px;background:#fff;border:1px solid #dfe5d7;border-radius:9px;margin-bottom:20px}.brand-context>div{flex:1;min-width:220px}.brand-context strong{display:block;font-size:13px}.brand-context small{display:block;font-size:11px;color:#7c886f;margin-top:6px}.brand-context .field{width:auto;min-width:150px;max-width:230px;font-size:13px}.brand-context .button,.brand-context .text-button{font-size:12px}.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}.brand-logo-editor{display:flex;align-items:center;gap:24px;padding:20px;background:#f3f6ee;border:1px dashed #ccd9bd;border-radius:10px}.brand-logo-editor>img,.brand-logo-placeholder{width:120px;height:100px;object-fit:contain;background:white;border:1px solid #e2e8da;border-radius:7px;flex-shrink:0}.brand-logo-placeholder{display:grid;place-items:center;color:#a1ad94;font-size:22px}.brand-logo-editor strong{font-size:14px}.brand-logo-editor p{font-size:12px;line-height:1.8;color:#7d8b71}.brand-logo-editor .button{font-size:12px}.brand-logo-editor .text-button{display:block;margin-top:12px;font-size:12px}.brand-editor textarea{resize:vertical;line-height:1.9;font-size:14px}.brand-editor .create-label{margin-top:24px}.brand-editor .field{font-size:14px}@media(max-width:740px){.brand-context{padding:16px;gap:10px}.brand-context>div{min-width:100%}.brand-context .field{flex:1;max-width:none;min-width:0}.brand-context .text-button{width:100%;text-align:left}.brand-logo-editor{align-items:flex-start;flex-direction:column;padding:18px}.brand-logo-editor>img,.brand-logo-placeholder{height:85px;width:110px}}
.reference-seeds{display:flex;flex-wrap:wrap;gap:10px;margin:26px 0}.reference-seeds>strong{width:100%;font-size:13px;margin-bottom:5px}.reference-seeds .button{font-size:12px;padding:8px 10px}.reference-saved{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:12px;line-height:1.9;color:#65765b}.start-grid .start-card{grid-column:span 2}.start-grid .start-card:nth-child(-n+3){background:#eef3e6}@media(max-width:740px){.start-grid .start-card{grid-column:auto}}
/* Provider settings */
#modelSettingsDialog{max-width:820px;width:min(820px,calc(100vw - 28px));max-height:90dvh;overflow:auto;padding:28px;color:#29473f;animation:model-settings-in .18s ease-out}#modelSettingsDialog h2{font-family:"PingFang SC","Microsoft YaHei",sans-serif}.model-settings-intro{font-size:15px;margin:18px 0 8px}.model-settings-note{font-size:12px!important;line-height:1.8;color:#73826b}.model-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0}.model-provider{border:1px solid #dce4d3;background:#fafbf7;border-radius:10px;padding:20px;min-width:0}.model-provider-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.model-provider h3{font-size:20px;margin:0}.model-config-state{font-size:11px;background:#e9ecdf;border-radius:20px;padding:4px 9px;white-space:nowrap;color:#7b826f}.model-config-state.configured{background:#dcebd9;color:#315f3b}.model-settings-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.model-settings-actions .button{padding:10px 12px}.model-settings-result{font-size:12px!important;line-height:1.8;overflow-wrap:anywhere;color:#416448;min-height:22px}.model-settings-result.error{color:#a0473b}#modelSettingsDialog .field{width:100%;box-sizing:border-box}.topbar-tools{flex-wrap:wrap}.topbar{height:auto;min-height:82px}@keyframes model-settings-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:650px){#modelSettingsDialog{padding:20px}.model-settings-grid{grid-template-columns:1fr}.model-provider{padding:16px}.model-settings-actions .button{flex:1}}@media(prefers-reduced-motion:reduce){#modelSettingsDialog{animation:none}}

/* 文风检查：沿用工作台纸感与深绿，报告与修改分步呈现。 */
#toneDialog{width:min(980px,calc(100vw - 32px));max-height:90dvh;padding:30px;box-sizing:border-box;overflow:auto}#toneTitle small{font-size:16px;font-weight:400;color:#77796d}.tone-controls{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0 16px}.tone-controls label{font-size:13px;color:#666b60}.tone-controls select{margin-top:7px}.tone-source{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;padding:14px 16px;background:#f3f2e9;border-radius:8px;margin-bottom:14px}.tone-source span,.tone-density{color:#7b8075;font-size:12px}.tone-status{font-size:14px;line-height:1.8;color:#466653;min-height:25px}.tone-report{border-top:1px solid #dedfd3;padding-top:22px;margin-top:20px}.tone-report-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.tone-report h3{margin:8px 0 16px}.tone-metrics{display:grid;grid-template-columns:repeat(3,1fr);background:#eef1e6;border-radius:10px;margin:10px 0 16px}.tone-metrics div{padding:20px}.tone-metrics strong{display:block;font-size:26px;font-family:Georgia,serif;color:#29473f}.tone-metrics span{display:block;font-size:12px;margin-top:6px;color:#647467}.tone-table-wrap{overflow:auto;margin:18px 0}.tone-table{border-collapse:collapse;width:100%;font-size:13px;text-align:left;white-space:nowrap}.tone-table th{padding:11px;background:#f2f2ea;color:#647467}.tone-table td{padding:11px;border-bottom:1px solid #e8e8de}.tone-table small{color:#7b8075}.tone-density{display:block;margin-top:4px}.tone-details{padding:16px 0;border-bottom:1px solid #e2e3d8;font-size:13px;line-height:1.9;margin-bottom:14px}.tone-details summary{cursor:pointer;color:#375a49}.tone-details li{margin:6px 0}.tone-item{padding:18px;border:1px solid #dddeda;border-radius:8px;margin:12px 0;background:#fffef9;overflow-wrap:anywhere}.tone-item>div:first-child{display:flex;justify-content:space-between;gap:12px}.tone-item span{font-size:12px;color:#7a7d70}.tone-item blockquote{margin:12px 0;padding:10px 14px;border-left:2px solid #b9c899;background:#f7f7ef;white-space:pre-wrap;max-height:180px;overflow:auto;font-size:14px}.tone-item p{font-size:14px;line-height:1.9;margin:8px 0;white-space:pre-wrap}.tone-advice{color:#375a49}.tone-empty{padding:20px;background:#f1f5e9}.tone-preview{border-top:2px solid #839b71;margin-top:26px;padding-top:24px}.tone-comparison{display:grid!important;grid-template-columns:1fr 1fr;gap:20px;margin-top:12px}.tone-comparison>div{padding:12px;background:#f3f3ed}.tone-comparison>div:last-child{background:#edf3e7}.tone-credit{font-size:11px;line-height:1.9;color:#888c80;border-top:1px solid #e4e5dc;margin-top:28px;padding-top:14px}.tone-credit a{color:#657c60}#tonePaste{white-space:pre-wrap;margin-bottom:12px;min-height:140px}@media(max-width:600px){#toneDialog{padding:18px;width:calc(100vw - 16px)}.tone-controls,.tone-comparison{grid-template-columns:1fr}.tone-metrics div{padding:14px 10px}.tone-metrics strong{font-size:22px}.tone-item>div:first-child,.tone-report-head{align-items:flex-start;flex-direction:column}.tone-source{flex-direction:column}.tone-controls{gap:12px}.tone-table{font-size:12px}.tone-table td,.tone-table th{padding:9px 7px}}
