@font-face{font-family:Zixu Sans;src:url('/static/assets/noto-sans-sc-ui.woff2') format('woff2');font-style:normal;font-weight:400 900;font-display:swap}
:root{--acid:#d7ff1b;--ink:#090a08;--paper:#faf9f5;--muted:#6b6c65;--line:#cdcdc4;--error:#9a3027;--page-pad:clamp(24px,3.8vw,64px)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;color:var(--ink);background:var(--paper);font:400 15px/1.6 'Zixu Sans','Microsoft YaHei',sans-serif;-webkit-font-smoothing:antialiased}body.modal-open{overflow:hidden}button,input,textarea{font:inherit}button,a,input,summary,textarea{outline-offset:5px}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,textarea:focus-visible{outline:2px solid var(--ink)}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:inherit}button{color:inherit}button,img{-webkit-tap-highlight-color:transparent}[hidden]{display:none!important}p,h1,h2,h3,figure{margin:0}::selection{background:var(--ink);color:var(--acid)}
.skip-link{position:fixed;left:16px;top:-100px;z-index:20;background:var(--ink);color:white;padding:12px 20px}.skip-link:focus{top:16px}.hero{background:var(--acid);border-bottom:8px solid var(--ink)}.site-header{height:88px;padding:0 var(--page-pad);display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:1800px;margin:auto}.brand{display:flex;align-items:center;gap:24px;text-decoration:none;line-height:1;font-weight:900}.brand-cn{font-size:32px;letter-spacing:-1.5px}.brand-slash{font-size:35px;font-weight:500;transform:skew(-10deg)}.brand-en{font-family:Arial,sans-serif;font-size:25px;font-weight:900;letter-spacing:5px}.site-header nav{display:flex;align-items:center;gap:0}.site-header nav button{border:0;background:none;padding:0 0 0 36px;font-size:16px;font-weight:700;min-height:44px}.site-header nav button:first-child{padding:0 36px 0 0;border-right:1px solid #090a0880;line-height:20px;min-height:20px}.site-header nav button:hover{text-decoration:underline;text-underline-offset:6px}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.54fr) minmax(0,1fr);gap:44px;max-width:1800px;margin:auto;padding:10px var(--page-pad) 32px;min-height:498px;align-items:stretch}.hero-copy{padding-top:26px;display:flex;flex-direction:column;min-width:0}h1{font-size:clamp(100px,12.1vw,190px);font-weight:900;letter-spacing:-.035em;line-height:1.12;white-space:nowrap;margin-left:-.04em}.hero-subtitle{font-size:clamp(22px,3.4vw,54px);letter-spacing:-.03em;line-height:1.5;font-weight:900;margin-top:10px;white-space:nowrap}.hero-caption{display:flex;gap:26px;align-items:flex-end;margin-top:auto;padding-top:36px}.hero-caption>span{font-family:Arial,sans-serif;font-size:16px;font-weight:750;line-height:1.18}.caption-rule{height:1px;background:var(--ink);flex:1;margin-bottom:5px}.hero-note{font-size:16px;line-height:1.5;font-weight:600;margin-top:25px}.hero-figure{align-self:start;width:calc(100% + 42px);max-width:610px;justify-self:end;margin-top:-16px}.hero-figure img{display:block;width:100%;height:auto;object-fit:contain}
.workspace{display:grid;grid-template-columns:22.6% minmax(0,1fr);max-width:1800px;margin:auto;min-height:428px}.workspace-intro{border-right:1px solid var(--ink);padding:28px 22px 26px var(--page-pad);display:flex;flex-direction:column;justify-content:space-between;gap:40px}.workspace-intro h2{font-size:clamp(26px,2.65vw,42px);line-height:1.4;letter-spacing:-.055em;font-weight:900;white-space:nowrap}.workspace-intro>div>p{margin-top:10px;font-size:16px;white-space:nowrap}.side-note>span{display:block;width:55px;border-top:1px solid var(--ink);margin-bottom:14px}.side-note p{font-size:14px!important;line-height:1.5}.side-note small{display:block;color:var(--muted);font-size:11px;margin-top:10px}.editor{min-width:0;padding:23px var(--page-pad) 0 32px;display:flex;flex-direction:column}.editor-top{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:40px}.editor-top label{font-size:21px;font-weight:700}.editor-tools{display:flex;gap:22px;align-items:center}.text-button{border:0;background:none;padding:5px 0;font-size:15px;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}.text-button:hover{text-decoration-thickness:2px}.editor-tools .text-button{min-height:36px}textarea{display:block;width:100%;min-height:169px;max-height:650px;resize:vertical;padding:24px 22px 14px;border:0;border-top:1px solid #deded6;border-left:1px solid #deded6;border-radius:0;background:transparent;color:var(--ink);line-height:1.65;font-size:18px;font-family:'Zixu Sans','Microsoft YaHei',sans-serif;caret-color:var(--ink)}textarea::placeholder{color:#858690;opacity:1}textarea:focus{background:#fffefa}textarea:focus-visible{outline-offset:-1px}.editor-meta{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:11px;color:var(--muted);padding:9px 0 0}.editor-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:auto;padding:20px 0}.generate-group{display:flex;align-items:center;gap:22px;margin-left:auto}.button{border:1px solid var(--ink);border-radius:0;display:flex;justify-content:center;align-items:center;gap:14px;min-height:48px;padding:12px 20px;font-size:16px;font-weight:700;transition:background-color .15s,color .15s}.primary{background:var(--ink);color:var(--paper)}.primary:hover:enabled{background:#2c2f22}.primary:active:enabled{background:#424735}.primary:disabled{background:#35372e;color:#deded8;border-color:#35372e}.generate{min-height:72px;min-width:350px;font-size:25px;font-weight:800;padding:15px 35px}.generate img{filter:invert(1);flex-shrink:0}.generate[aria-busy=true] img{display:none}.no-signup{font-size:16px;border-left:1px solid var(--ink);padding-left:22px;white-space:nowrap}.editor-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--ink);padding:10px 0 18px;gap:20px}.editor-bottom p{font-size:14px}.editor-bottom .text-button{font-size:14px;text-decoration:none;white-space:nowrap}.editor-bottom .text-button:hover{text-decoration:underline}
.notes{display:grid;grid-template-columns:22.6% minmax(0,1fr);max-width:1800px;margin:0 auto;padding:52px var(--page-pad) 40px;border-top:1px solid var(--line)}.notes-heading{padding-right:22px}.notes-heading>span{font-size:14px;font-weight:700}.notes-heading p{font-size:12px;color:var(--muted);margin-top:8px}.notes-content{padding-left:18px}.notes details{border-bottom:1px solid var(--line)}.notes details:first-child{border-top:1px solid var(--line)}.notes summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;font-size:16px;font-weight:600}.notes summary::-webkit-details-marker{display:none}.notes summary img{transition:transform .15s}.notes details[open] summary img{transform:rotate(180deg)}.notes details>div{padding-bottom:20px;max-width:850px;color:#56584e;font-size:14px}.notes details p+p{margin-top:12px}footer{max-width:1800px;margin:auto;padding:26px var(--page-pad) 32px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px;color:var(--muted)}.footer-brand{font-size:15px;font-weight:800;text-decoration:none;color:var(--ink)}
dialog{width:min(560px,calc(100% - 32px));max-height:calc(100dvh - 48px);border:2px solid var(--ink);border-radius:0;padding:0;color:var(--ink);background:var(--paper);overflow:auto;overscroll-behavior:contain}dialog::backdrop{background:rgb(9 10 8 / 55%);backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;background:var(--acid);padding:22px 26px;border-bottom:2px solid var(--ink)}.dialog-eyebrow{font:700 10px/1.3 Arial,sans-serif;letter-spacing:2px}.dialog-heading h2{font-size:26px;font-weight:900;letter-spacing:-.04em;margin-top:5px}.icon-button{display:grid;place-items:center;width:44px;height:44px;padding:0;background:none;border:0;flex-shrink:0}.icon-button:hover{background:#00000012}.dialog-body{padding:24px 26px}.status-pill{display:inline-block;padding:3px 9px;border:1px solid var(--ink);font-size:11px;font-weight:600}.status-pill.active{background:var(--acid)}.empty-state{padding:30px 0 4px}.empty-state h3{font-size:22px;font-weight:800}.empty-state p{margin:12px 0 24px;color:var(--muted)}.dialog-body .button{width:100%}.message{margin:20px 0 14px;font-size:16px}.counts{padding:10px 0;border-top:1px solid var(--line);font-size:13px;margin-bottom:16px}.secondary{background:transparent;color:var(--ink)}.secondary:hover{background:#efefe6}.small{font-size:12px;line-height:1.75;margin:10px 0}.muted{color:var(--muted)}.unlock-box{border-top:1px solid var(--ink);margin-top:22px;padding-top:22px}.price-line{display:flex;justify-content:space-between;align-items:center;gap:18px}.price-line h3{font-size:19px;font-weight:800}.price-line>span{font-size:12px;white-space:nowrap}.price-line b{font-size:22px;font-weight:800;margin-left:5px}.unlock-box a{display:inline-block;font-size:13px;text-underline-offset:3px}.unlock-box label{display:block;font-size:13px;font-weight:600;margin:18px 0 8px}.unlock-box input{width:100%;border:1px solid var(--ink);border-radius:0;background:transparent;color:var(--ink);padding:12px 14px;font-family:Consolas,monospace;font-size:16px;min-height:48px;margin-bottom:12px}.unlock-box input::placeholder{color:#86877d}.success{background:var(--acid);padding:10px 12px;margin:20px 0 16px;font-size:14px;font-weight:600}.notice{background:#eeeedf;border-left:3px solid var(--ink);padding:12px;margin:12px 0;font-size:13px}.error{border-left:3px solid var(--error);background:#f8eae5;color:var(--error);padding:12px 14px;font-size:13px;overflow-wrap:anywhere;margin:14px 0}.job-id{font-size:10px;color:var(--muted);overflow-wrap:anywhere;margin-top:12px}.download-status{font-size:12px;color:#4a4d3b;border-top:1px solid var(--line);padding-top:12px;margin-top:14px}
@media(min-width:1600px){.hero-grid{min-height:560px}.hero-figure{max-width:570px}.workspace{min-height:460px}textarea{min-height:195px}}
@media(max-width:1150px){.hero-grid{gap:28px;min-height:425px}.hero-copy{padding-top:35px}h1{font-size:11.2vw}.hero-subtitle{font-size:2.9vw}.hero-caption{padding-top:30px}.workspace-intro>div>p{font-size:13px;white-space:normal}.workspace-intro h2{font-size:2.6vw}.editor{padding-left:26px}.generate{min-width:280px;font-size:21px;min-height:64px}.generate-group{gap:18px}.no-signup{font-size:14px;padding-left:18px}.editor-meta{font-size:10px}.meta-detail{display:none}.hero-note{font-size:14px}}
@media(max-width:760px){:root{--page-pad:22px}.site-header{height:78px;gap:18px}.brand{gap:13px}.brand-cn{font-size:26px}.brand-slash{font-size:28px}.brand-en{font-size:17px;letter-spacing:3px}.site-header nav button{font-size:13px;padding-left:18px}.site-header nav button:first-child{padding-right:18px}.hero{border-bottom-width:6px}.hero-grid{grid-template-columns:minmax(0,1fr);padding-top:18px;padding-bottom:24px;gap:20px;min-height:0}.hero-copy{padding-top:0}h1{font-size:clamp(74px,14.8vw,112px);line-height:1.12;letter-spacing:-.075em}.hero-subtitle{font-size:clamp(19px,3.8vw,28px);margin-top:12px;white-space:normal;letter-spacing:-.045em;line-height:1.5;max-width:95%}.hero-caption{margin-top:20px;padding-top:0;gap:24px}.hero-caption>span{font-size:11px}.hero-note{display:none}.hero-figure{max-width:370px;width:84%;justify-self:center;margin-top:0}.hero-figure img{max-height:300px}.workspace{display:block;min-height:0}.workspace-intro{border-right:0;border-bottom:1px solid var(--ink);padding:24px var(--page-pad) 20px;display:block}.workspace-intro h2{font-size:30px}.workspace-intro>div>p{font-size:14px;margin-top:4px}.side-note{display:none}.editor{padding:18px var(--page-pad) 0}.editor-top label{font-size:18px}.editor-tools{gap:18px}.text-button{font-size:14px}.editor-tools .text-button{min-height:40px}textarea{padding:20px 15px 12px;min-height:210px;font-size:16px}.editor-meta{font-size:10px;gap:10px;padding-top:12px}.editor-actions{flex-wrap:wrap;padding:22px 0 20px;gap:14px}.generate-group{width:100%;margin:0;gap:0}.generate{width:100%;min-width:0;min-height:64px;font-size:22px;padding:14px 16px;gap:12px}.generate img{width:24px;height:24px}.no-signup{display:none}.editor-bottom{gap:12px;padding:14px 0 22px;align-items:center}.editor-bottom p{font-size:11px;line-height:1.7}.editor-bottom .text-button{font-size:12px;min-height:36px}.notes{grid-template-columns:1fr;padding:30px var(--page-pad);gap:20px}.notes-heading{display:flex;align-items:center;gap:16px}.notes-heading p{margin:0}.notes-content{padding:0}.notes summary{font-size:14px;padding:18px 0}.notes details>div{font-size:13px}footer{padding:22px var(--page-pad);align-items:flex-start;gap:14px;flex-direction:column;font-size:11px}.dialog-heading{padding:18px 20px}.dialog-body{padding:20px}.dialog-heading h2{font-size:24px}.price-line h3{font-size:18px}}
@media(max-width:380px){:root{--page-pad:18px}.brand{gap:10px}.brand-en{font-size:15px;letter-spacing:2px}.site-header nav button{padding-left:12px;font-size:12px}.site-header nav button:first-child{padding-right:12px}h1{font-size:19vw}.hero-subtitle{font-size:18px}.hero-figure{width:94%}.editor-meta{font-size:9px}.editor-bottom p{font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}


.over-limit{color:var(--error);font-weight:700}@media(max-width:760px){.site-header nav button:first-child{min-height:40px}.site-header nav button{min-height:40px}}

.template-picker{border:0;padding:0;margin:0;min-width:0}.template-picker legend{padding:0 0 12px;font-size:14px;font-weight:700;width:100%;display:flex;justify-content:space-between}.template-picker legend>span{font:11px/1.8 Arial,sans-serif;letter-spacing:2px;color:var(--muted)}.template-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--ink)}.template-option{position:relative;cursor:pointer;min-width:0}.template-option+.template-option{border-left:1px solid var(--ink)}.template-option input{position:absolute;opacity:0;width:1px;height:1px}.template-content{display:grid;gap:7px;min-height:132px;padding:14px 15px 16px;transition:background .15s}.template-number{font:700 11px/1.4 Arial,sans-serif;letter-spacing:1px}.template-content strong{font-size:clamp(13px,1.2vw,18px);font-weight:750;line-height:1.5}.template-content small{font-size:11px;line-height:1.7;color:var(--muted)}.template-option input:checked+.template-content{background:var(--acid)}.template-option input:checked+.template-content small{color:#343a19}.template-option input:checked+.template-content .template-number::after{content:' / 已选';font-family:'Zixu Sans','Microsoft YaHei',sans-serif;letter-spacing:0}.template-option input:focus-visible+.template-content{outline:2px solid var(--ink);outline-offset:-5px}.template-option:hover .template-content{box-shadow:inset 0 -3px var(--ink)}.template-picker:disabled .template-option{cursor:wait}.template-note{font-size:11px;line-height:1.75;color:var(--muted);margin:10px 0 18px;min-height:20px}.result-template{font-size:12px;font-weight:650;padding:10px 0}.editor-meta #count{white-space:nowrap;flex-shrink:0}
.product-options{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--ink);margin-top:16px}.product-option{display:flex;flex-direction:column;gap:8px;padding:12px}.product-option+.product-option{border-left:1px solid var(--ink)}.product-option strong{font-size:13px;line-height:1.6}.product-option span{font-size:11px;color:var(--muted);line-height:1.7}.product-option.recommended{background:var(--acid)}.membership-note{font-size:12px;padding:10px 12px;background:var(--acid);margin:0 0 12px}.editor-tools{flex-wrap:wrap;justify-content:flex-end}.editor-top>label{white-space:nowrap}#length-plan{margin-bottom:8px}
@media(max-width:760px){.editor-tools{gap:12px}.editor-tools .text-button{font-size:12px}.product-options{grid-template-columns:1fr}.product-option+.product-option{border-left:0;border-top:1px solid var(--ink)}.editor-bottom p{max-width:230px}.template-note{min-height:0}}
@media(max-width:760px){.template-options{grid-template-columns:1fr}.template-option+.template-option{border-left:0;border-top:1px solid var(--ink)}.template-content{min-height:76px;padding:13px 15px;grid-template-columns:56px 1fr;gap:3px 12px;align-items:center}.template-number{grid-row:1/3;align-self:center;line-height:1.7}.template-option input:checked+.template-content .template-number::after{display:block}.template-content strong{font-size:15px}.template-content small{font-size:11px}.template-note{margin:10px 0 20px}.editor-meta{align-items:flex-start;flex-wrap:wrap;gap:4px}.editor-meta #count{margin-left:auto}}
.font-download-options{margin:20px 0;padding:0;border:0;min-width:0}.font-download-options legend{font-size:14px;font-weight:700;margin-bottom:10px}.font-download-options label{display:flex;align-items:flex-start;gap:12px;padding:12px 0;cursor:pointer}.font-download-options label+label{border-top:1px solid var(--line,#d6d6d0)}.font-download-options input{accent-color:var(--ink,#20201c);width:18px;height:18px;flex:0 0 18px;margin:3px 0 0}.font-download-options span{display:grid;gap:4px;min-width:0}.font-download-options strong{font-size:14px}.font-download-options small{font-size:12px;line-height:1.7;color:var(--muted)}.font-download-options label:has(input:disabled){cursor:default;opacity:.6}.font-download-options p{overflow-wrap:anywhere;margin:8px 0 12px}

#saved-card-note{margin:16px 0 8px}#switch-card{margin-bottom:12px}#card-entry[hidden]+button{margin-top:14px}

/* Request-only document options follow the existing quiet editor controls. */
.document-options{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line,#d9d9d3);padding-top:16px;margin-top:20px}
.toc-option{display:flex;align-items:center;gap:8px;font-size:14px;cursor:pointer}
.toc-option input{accent-color:#3c4b35;width:16px;height:16px}
.image-list{list-style:none;padding:0;margin:12px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.image-list[hidden]{display:none}
.image-list li{display:flex;align-items:center;gap:10px;min-width:0;padding:10px;border:1px solid #deded7;background:#f3f3ee}
.image-list img{width:48px;height:40px;object-fit:contain;background:white;flex-shrink:0}
.image-list span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;flex:1}
.image-list button{font-size:12px;flex-shrink:0}
.document-options button:focus-visible,.toc-option input:focus-visible,.image-list button:focus-visible{outline:2px solid #99a582;outline-offset:3px}
@media(max-width:600px){.image-list{grid-template-columns:1fr}.document-options{gap:8px;flex-wrap:wrap}}
