:root{font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:#19263e;background:#edf2fa;font-size:16px;--ink:#19263e;--muted:#53657f;--blue:#244fcf;--deep:#173da9;--line:#d6e0ee;--white:#fff;--wash:#f4f7fc;--shadow:0 10px 30px #2448750a}
*{box-sizing:border-box} [hidden]{display:none!important} body{margin:0} button,input,textarea{font:inherit} button,a{-webkit-tap-highlight-color:transparent} a{color:inherit;text-decoration:none} button{cursor:pointer} button:disabled{cursor:not-allowed;opacity:.55} :focus-visible{outline:3px solid #6484ef;outline-offset:3px} button svg,a svg,[data-icon] svg{width:18px;height:18px;display:block;flex:none}
.shell{max-width:1370px;width:calc(100% - 96px);margin-inline:auto}.topbar{background:#f9fbff;border-bottom:1px solid var(--line)}.bar-inner{min-height:69px;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:flex;align-items:center;gap:11px;font-size:22px;font-weight:800;white-space:nowrap;letter-spacing:.035em}.brand-icon{display:grid;place-items:center;width:34px;height:34px;background:var(--blue);color:white;border-radius:9px}.brand-caption{padding-left:13px;border-left:1px solid var(--line);font-size:13px;color:var(--muted);font-weight:500;letter-spacing:0}.bar-inner nav{display:flex;align-items:center;gap:12px}.bar-inner nav a{display:flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:0 14px;border-radius:8px;font-size:14px;font-weight:650;color:var(--muted);white-space:nowrap}.bar-inner nav a:hover,.bar-inner nav a[aria-current=page]{color:var(--deep);background:#e9efff}.counter{font-size:12px;background:#dce7ff;padding:2px 6px;border-radius:12px;color:var(--deep)}
.intro{display:flex;align-items:center;justify-content:space-between;overflow:hidden;min-height:222px;margin:29px 0 24px;padding:28px 36px;background:#e1ebff;border:1px solid #d2dfff;border-radius:17px;position:relative}.intro>div:first-child{position:relative;z-index:1}.date{display:flex;align-items:center;gap:8px;margin:0 0 12px;font-size:14px;font-weight:700;color:#3459af}.date svg{width:16px;height:16px}.intro h1{font-size:clamp(2.1rem,4.7vw,3.75rem);line-height:1.16;margin:0 0 12px;letter-spacing:-.055em;font-weight:800}.intro h1 span{color:var(--blue)}.intro p:last-child{margin:0;color:#405775;font-size:1rem;line-height:1.65}.paper-art{position:absolute;right:28px;top:0;width:360px;height:222px;overflow:hidden;pointer-events:none}.orbit{position:absolute;width:285px;height:285px;border:1px solid #b4c6f0;border-radius:50%;right:12px;top:-26px;box-shadow:inset 0 0 0 26px #dbe7fe,0 0 0 28px #dce8ff}.sheet{position:absolute;width:128px;height:155px;border:1px solid #a6bcf2;border-radius:9px;box-shadow:0 12px 22px #2d4f9e21}.sheet.back{right:106px;top:37px;transform:rotate(-18deg);background:#c4d6ff}.sheet.front{right:86px;top:32px;transform:rotate(12deg);background:#f9fbff;padding:35px 21px}.front b{height:3px;border-radius:3px;background:#9eb8f5;display:block;margin-bottom:13px}.front b:first-child{width:57%;background:#436ee2}.front b:nth-child(3){width:76%}.front em{color:#4d75dd;font:normal 36px/1 system-ui;position:absolute;bottom:13px;right:16px}.pencil{position:absolute;background:linear-gradient(180deg,#688cf0 0 25%,#254ecb 25% 78%,#163caa 78%);height:13px;width:108px;right:41px;top:140px;transform:rotate(-42deg);border-radius:2px 7px 7px 2px;box-shadow:0 4px 6px #1e44a238}.pencil:before{content:"";position:absolute;left:-16px;border:6.5px solid transparent;border-right:16px solid #7694d8;border-left:0}.spark{position:absolute;font:normal 31px system-ui;color:#4a70d2;top:29px;right:57px}
.work-layout{display:grid;grid-template-columns:202px minmax(0,1fr) minmax(0,1fr);gap:17px;align-items:start}.card,.mode-panel{background:var(--white);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.mode-panel{padding:15px 10px}.mode-panel h2{font-size:13px;font-weight:700;color:var(--muted);margin:3px 10px 8px}.mode-panel .advanced-label{margin:15px 10px 8px;padding-top:12px;border-top:1px solid var(--line)}.mode-btn{display:flex;width:100%;gap:10px;align-items:center;border:1px solid transparent;background:none;text-align:left;min-height:49px;padding:8px 10px;color:#3c506b;font-size:14px;font-weight:620;border-radius:8px;white-space:nowrap}.mode-btn:hover{background:#f3f6fc}.mode-btn[aria-pressed=true]{background:#eaf0ff;color:var(--deep);border-color:#dbe5ff}.mode-btn[aria-pressed=true] svg{color:var(--blue)}
.source-card,.output-card{padding:23px;min-height:475px}.card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:17px}.card-heading h2,.draft-list h2,dialog h2{margin:0;font-size:1.24rem;line-height:1.35}.card-heading p{margin:5px 0 0;color:var(--muted);font-size:14px;line-height:1.55}.heading-icon,.empty-icon{display:grid;place-items:center;background:#eaf0ff;border-radius:9px;color:var(--blue);width:36px;height:36px;flex:none}.input-wrap{position:relative}.input-wrap textarea,#result,input{width:100%;border:1px solid #cdd9ed;border-radius:9px;background:var(--wash);color:var(--ink);line-height:1.65;padding:12px;resize:vertical} .input-wrap textarea{display:block;min-height:154px;padding-bottom:29px}.input-wrap textarea::placeholder,input::placeholder{color:#5b6f8c}.input-count{position:absolute;right:12px;bottom:8px;pointer-events:none;color:var(--muted);font-size:12px;background:var(--wash)}.examples{display:flex;flex-wrap:wrap;align-items:center;gap:6px 9px;margin:11px 0 16px;color:var(--muted);font-size:13px}.examples div{display:flex;gap:6px;flex-wrap:wrap}.chip{background:#f0f4ff;border:1px solid #dbe5ff;border-radius:20px;color:#2f55a8;font-size:13px;min-height:31px;padding:3px 10px}.chip:hover,.secondary:hover{background:#e6eeff}
details{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:17px}summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:8px;min-height:42px;font-size:14px;font-weight:650;color:#3e5472}summary::-webkit-details-marker{display:none}summary:after{content:"";width:7px;height:7px;border:solid #627694;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin-left:auto;margin-right:5px}details[open] summary:after{transform:rotate(225deg)}.optional{font-size:12px;font-weight:500;color:var(--muted)}.context-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:0 0 13px}.context-fields label{font-size:13px;color:var(--muted);min-width:0}.context-fields input{display:block;margin-top:4px;padding:7px 8px;font-size:14px}.submit-line,.result-actions,.dialog-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;min-height:41px;border-radius:8px;padding:7px 13px;font-weight:650;font-size:14px}.primary{background:var(--blue);color:white}.primary:hover{background:var(--deep)}.secondary{background:#f3f6fc;color:#3a537a;border-color:var(--line)}.shortcut{color:var(--muted);font-size:12px}
.result-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:344px;border:1px dashed #c8d6ec;border-radius:10px;background:#f7f9fd;padding:18px;color:#3a506d}.empty-icon{width:53px;height:53px;margin-bottom:14px;border-radius:13px}.empty-icon svg{width:26px;height:26px}.result-empty p{margin:5px 0 0;font-size:14px;color:var(--muted)}#result-label{font-size:14px;font-weight:650;color:#435978;display:block;margin:11px 0 6px}#result{display:block;min-height:146px;margin-bottom:13px;white-space:pre-wrap;font-size:15px}.topics{display:grid;gap:6px}.topic-line{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border-radius:7px;background:var(--wash);font-size:14px}.topic-line div{display:flex;gap:4px;flex:none}.diagnosis{display:grid;grid-template-columns:1fr 1fr;gap:5px;background:var(--wash);border-radius:8px;padding:10px;font-size:13px}.diagnosis div{display:flex;flex-wrap:wrap;gap:3px 8px;justify-content:space-between;padding:4px}.diagnosis strong{color:#2350a7}.result-actions .primary{margin-left:auto}
footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:9px;margin:22px 0;padding:15px 1px;color:var(--muted);font-size:13px}footer span{display:inline-flex;align-items:center;gap:6px}footer svg{width:14px!important;height:14px!important}.drafts-intro{min-height:161px}.drafts-intro .primary{flex:none}.draft-list{padding:20px}.draft-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0}.draft-row+.draft-row{border-top:1px solid var(--line)}.draft-row h2{font-size:1rem;overflow-wrap:anywhere}.draft-row p{margin:4px 0 0;color:var(--muted);font-size:13px}.draft-row>div:last-child{display:flex;gap:7px;flex:none}.draft-list .result-empty{min-height:240px}
.notice{position:fixed;bottom:15px;right:15px;max-width:calc(100% - 30px);margin:0;background:#203654;color:white;padding:11px 17px;border-radius:9px;box-shadow:var(--shadow);z-index:4;font-size:14px}dialog{max-width:calc(100% - 34px);border:1px solid var(--line);border-radius:14px;padding:22px;width:390px;color:var(--ink)}dialog::backdrop{background:#19345d55}dialog p{color:var(--muted);line-height:1.6}.dialog-actions{justify-content:flex-end}.sr-only{position:absolute;clip-path:inset(50%);height:1px;width:1px;overflow:hidden;white-space:nowrap}
@media(max-width:1050px){.shell{width:calc(100% - 52px)}.work-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.mode-panel{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center}.mode-panel h2,.mode-panel .advanced-label{border:0;margin:0 3px;padding:0}.mode-panel>div{display:flex;flex-wrap:wrap;gap:3px}.mode-btn{min-height:40px;width:auto}.source-card,.output-card{padding:19px}}
@media(max-width:730px){.shell{width:calc(100% - 28px)}.brand-caption,.shortcut{display:none}.bar-inner{min-height:59px}.bar-inner nav{gap:2px}.bar-inner nav a{padding:0 8px}.intro{margin:16px 0;min-height:170px;padding:19px 14px}.intro h1{margin-bottom:6px}.intro p:last-child{font-size:14px;max-width:25ch}.paper-art{right:-92px;top:-16px;transform:scale(.62);transform-origin:center right;opacity:.42}.work-layout{grid-template-columns:minmax(0,1fr);gap:12px}.mode-panel{display:block;padding:9px}.mode-panel h2,.mode-panel .advanced-label{padding:0;margin:3px 4px}.mode-panel>div{margin:3px 0 6px}.mode-btn{padding:5px 6px;gap:5px;font-size:13px}.mode-btn svg{width:15px;height:15px}.source-card,.output-card{min-height:0;padding:14px}.card-heading{margin-bottom:13px}.result-empty{min-height:178px}.drafts-intro{gap:8px}.draft-row{align-items:flex-start}.draft-row>div:last-child{flex-direction:column}.topic-line{align-items:flex-start;flex-direction:column}}
