/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-outline-style:solid}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.relative{position:relative}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.block{display:block}.table{display:table}.outline{outline-style:var(--tw-outline-style);outline-width:1px}}:root{--ink:#1e2521;--muted:#6f7771;--paper:#fbfaf6;--canvas:#f3f1ea;--line:#dedfd8;--green:#1f684d;--green-dark:#174e3b;--green-soft:#e8f1ec;--gold:#a46d2d;--white:#fff}*{box-sizing:border-box}html,body{background:var(--canvas);height:100%;color:var(--ink);margin:0;font-family:PingFang SC,Microsoft YaHei,Noto Sans CJK SC,Arial,sans-serif;overflow:hidden}button,textarea{font:inherit}button{cursor:pointer}button:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #1f684d33}.app-shell{grid-template-rows:72px minmax(0,1fr);height:100dvh;display:grid;overflow:hidden}.topbar{border-bottom:1px solid var(--line);z-index:20;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fbfaf6f2;grid-template-columns:1fr auto;align-items:center;height:72px;padding:0 22px;display:grid;position:relative}.brand,.topbar-actions,.progress-label,.preview-toolbar,.composer-footer,.completion-card{align-items:center;display:flex}.brand{gap:11px}.brand-mark,.agent-avatar,.message-avatar{background:var(--green);color:#fff;flex:none;justify-content:center;align-items:center;display:inline-flex}.brand-mark{border-radius:11px 11px 11px 3px;width:39px;height:39px;font-family:STKaiti,KaiTi,serif;font-size:21px}.brand div{flex-direction:column;gap:1px;display:flex}.brand strong{letter-spacing:.12em;font-family:STSong,SimSun,serif;font-size:19px}.brand span{color:var(--muted);letter-spacing:.14em;font-size:10px}.topbar-actions{justify-content:flex-end;gap:9px}.ghost-button,.primary-button,.copy-button,.download-button{border-radius:9px;font-weight:650;transition:all .16s}.ghost-button{border:1px solid var(--line);color:#4f5852;background:0 0;padding:9px 13px}.primary-button{background:var(--green);border:1px solid var(--green);color:#fff;padding:11px 17px;box-shadow:0 6px 14px #1f684d24}.primary-button:hover,.send-button:hover:not(:disabled){background:var(--green-dark)}.primary-button.compact{padding:9px 13px}.workspace{grid-template-columns:248px minmax(420px,1fr) minmax(380px,.86fr);min-height:0;display:grid;overflow:hidden}.brief-sidebar{border-right:1px solid var(--line);overscroll-behavior:contain;scrollbar-gutter:stable;background:#eeece5;min-height:0;padding:24px 18px;overflow-y:auto}.agent-avatar{border-radius:10px;width:38px;height:38px;font-family:STKaiti,KaiTi,serif}.progress-block{border-bottom:1px solid #d8d7d0;margin:0 3px 19px;padding-bottom:18px}.progress-label{justify-content:space-between;font-size:12px}.progress-label strong{color:var(--green)}.progress-track{background:#d8d9d2;border-radius:99px;height:6px;margin:9px 0 8px;overflow:hidden}.progress-track span{background:var(--green);border-radius:inherit;height:100%;transition:width .32s;display:block}.progress-block p{color:var(--muted);margin:0;font-size:10px}.sidebar-heading{color:#8b908c;letter-spacing:.13em;text-transform:uppercase;margin:0 8px 8px;font-size:10px;font-weight:700}.outline{flex-direction:column;gap:3px;display:flex}.outline-item{color:#5f6661;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:9px;width:100%;padding:8px;font-size:12px;display:flex}.outline-item.active{color:var(--ink);background:#ffffffe0;box-shadow:0 3px 12px #353a360d}.outline-item em{color:var(--green);margin-left:auto;font-size:9px;font-style:normal}.check{color:#929791;border:1px solid #c8cac4;border-radius:999px;justify-content:center;align-items:center;width:19px;height:19px;font-size:9px;display:inline-flex}.check.done{background:var(--green);border-color:var(--green);color:#fff}.chat-panel{flex-direction:column;min-width:0;min-height:0;padding:32px clamp(25px,3vw,48px) 24px;display:flex;overflow:hidden}.chat-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;padding-bottom:22px;display:flex}.eyebrow{color:var(--gold);letter-spacing:.16em;margin-bottom:8px;font-size:9px;font-weight:800;display:block}.chat-heading h1{letter-spacing:.01em;margin:0;font-family:STSong,SimSun,serif;font-size:clamp(24px,2.1vw,33px);font-weight:600;line-height:1.32}.chat-heading p{color:var(--muted);margin:8px 0 0;font-size:12px;line-height:1.7}.model-alert{color:#72501f;background:#fff8ea;border:1px solid #ead7ae;border-radius:10px;align-items:center;gap:9px;margin-top:14px;padding:10px 12px;font-size:11px;display:flex}.model-alert span{color:#8b6b3b}.step-pill{background:var(--green-soft);color:var(--green);border:1px solid #d4e4da;border-radius:99px;flex:none;margin-left:16px;padding:7px 10px;font-size:10px;font-weight:700}.messages{overscroll-behavior:contain;scrollbar-gutter:stable;scroll-behavior:smooth;flex-direction:column;flex:1;gap:15px;min-height:0;padding:25px 3px;display:flex;overflow-y:auto}.messages-end{flex:0 0 1px;height:1px}.message-row{align-items:flex-start;gap:9px;max-width:88%;display:flex}.message-row.user{align-self:flex-end}.message-avatar{border-radius:9px 9px 9px 3px;width:29px;height:29px;margin-top:2px;font-family:STKaiti,KaiTi,serif;font-size:12px}.message-bubble{white-space:pre-wrap;background:#fff;border:1px solid #e4e3dc;border-radius:4px 13px 13px;padding:11px 14px;font-size:13px;line-height:1.72;box-shadow:0 5px 20px #212a250b}.user .message-bubble{background:var(--green);border-color:var(--green);color:#fff;border-radius:13px 4px 13px 13px}.thinking-panel{min-width:min(430px,72vw);padding:14px 15px}.processing-title{grid-template-columns:auto 1fr auto;align-items:center;gap:8px;margin-bottom:13px;display:grid}.processing-title strong{font-size:12px}.processing-title small{color:#8d9790;font-size:9px}.processing-pulse{background:var(--green);border-radius:999px;width:8px;height:8px;animation:1.4s ease-in-out infinite processingPulse;box-shadow:0 0 #1f684d40}.processing-stages{gap:7px;display:grid}.processing-stage{color:#a2a8a3;align-items:center;gap:9px;transition:color .18s,opacity .18s;display:flex}.processing-stage>span:last-child{flex-direction:column;display:flex}.processing-stage strong{font-size:10px;font-weight:650}.processing-stage small{margin-top:1px;font-size:8px}.processing-stage.active{color:var(--ink)}.processing-stage.done{color:var(--green)}.stage-marker{border:1px solid #d8dcd8;border-radius:999px;flex:none;justify-content:center;align-items:center;width:20px;height:20px;font-size:8px;display:flex}.processing-stage.active .stage-marker{background:var(--green-soft);color:var(--green);border-color:#bcd6c7;animation:1.2s ease-in-out infinite stageGlow}.processing-stage.done .stage-marker{background:var(--green);border-color:var(--green);color:#fff}.processing-track{background:#edf0ec;border-radius:999px;height:3px;margin-top:13px;overflow:hidden}.processing-track span{background:linear-gradient(90deg, var(--green), #70a589);border-radius:inherit;height:100%;transition:width .45s;display:block}.processing-actions{color:#939b95;justify-content:space-between;align-items:center;margin-top:10px;font-size:8px;display:flex}.processing-actions button{color:#8b574d;background:0 0;border:0;padding:4px 0 4px 10px;font-size:9px}.processing-actions button:hover{color:#b24433}.retry-card{background:#fffaf0;border:1px solid #eadbb9;border-radius:4px 13px 13px;align-items:center;gap:16px;padding:11px 13px;display:flex}.retry-card div{flex-direction:column;display:flex}.retry-card strong{color:#644d2f;font-size:10px}.retry-card span{color:#947d5c;margin-top:2px;font-size:8px}.retry-card button{color:#745c38;background:#fff;border:1px solid #d9c79f;border-radius:7px;flex:none;padding:7px 9px;font-size:9px}@keyframes processingPulse{70%{box-shadow:0 0 0 7px #1f684d00}}@keyframes stageGlow{50%{box-shadow:0 0 0 3px #1f684d14}}.composer-wrap{flex:none;margin-top:auto}.quick-options{flex-wrap:wrap;gap:7px;margin-bottom:9px;display:flex}.quick-options button{color:#526159;background:#ffffffbf;border:1px solid #d9dcd6;border-radius:99px;padding:7px 10px;font-size:10px}.quick-options button:hover{background:var(--green-soft);color:var(--green);border-color:#c8ded1}.composer{background:#fff;border:1px solid #d9dbd5;border-radius:14px;overflow:hidden;box-shadow:0 11px 35px #27302b14}.composer:focus-within{border-color:#7aa990;box-shadow:0 0 0 3px #1f684d14,0 11px 35px #27302b14}.file-input{display:none}.attachment-list{flex-wrap:wrap;gap:7px;padding:11px 12px 0;display:flex}.attachment-chip{background:#f5f7f3;border:1px solid #dce2dc;border-radius:9px;align-items:center;gap:7px;max-width:100%;padding:7px 8px;display:flex}.attachment-icon{background:var(--green-soft);color:var(--green);border-radius:6px;flex:none;justify-content:center;align-items:center;width:26px;height:26px;font-size:9px;font-weight:800;display:flex}.attachment-meta{flex-direction:column;min-width:0;display:flex}.attachment-meta strong{text-overflow:ellipsis;white-space:nowrap;max-width:160px;font-size:10px;overflow:hidden}.attachment-meta small{color:#929b95;font-size:8px}.attachment-chip>button{color:#879089;background:0 0;border:0;padding:3px;font-size:16px;line-height:1}.file-error{color:#a04d3d;padding:8px 15px 0;font-size:9px}.composer textarea{color:var(--ink);resize:none;background:0 0;border:0;outline:0;width:100%;min-height:68px;padding:13px 15px 3px;font-size:12px;line-height:1.6;display:block}.composer textarea::placeholder{color:#a4aaa5}.composer-footer{color:#a0a6a1;justify-content:space-between;padding:4px 8px 8px 15px;font-size:9px}.composer-actions{align-items:center;gap:7px;display:flex}.attach-button{color:var(--green);background:#f1f5f2;border:1px solid #d9e2dc;border-radius:8px;height:34px;padding:0 10px;font-size:10px;font-weight:650}.attach-button:hover:not(:disabled){background:var(--green-soft)}.attach-button:disabled{color:#a7afa9;cursor:not-allowed}.send-button{background:var(--green);color:#fff;border:0;border-radius:9px;width:34px;height:34px;font-size:17px}.send-button:disabled{cursor:not-allowed;background:#cdd2cf}.completion-card{background:var(--green-soft);border:1px solid #cfe0d6;border-radius:13px;gap:11px;padding:14px}.completion-card>span{background:var(--green);color:#fff;border-radius:99px;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.completion-card div{flex:1}.completion-card strong{font-size:12px}.completion-card p{color:var(--muted);margin:3px 0 0;font-size:10px}.completion-card button{color:var(--green);background:#fff;border:1px solid #c9d9d0;border-radius:8px;padding:8px 10px;font-size:10px}.preview-panel{border-left:1px solid var(--line);background:#e9e7df;flex-direction:column;min-width:0;min-height:0;padding:25px clamp(18px,2vw,30px) 20px;display:flex;overflow:hidden}.preview-toolbar{justify-content:space-between;margin-bottom:13px}.preview-toolbar div{flex-direction:column;display:flex}.preview-toolbar .eyebrow{margin-bottom:3px}.preview-toolbar strong{font-family:STSong,SimSun,serif;font-size:17px}.autosave{color:#65967e;font-size:9px}.document{background:var(--paper);overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid #d9d4c8;flex:1;min-height:0;padding:clamp(28px,3vw,48px);overflow-y:auto;box-shadow:0 12px 35px #38332a1a}.paper-kicker{color:var(--gold);letter-spacing:.18em;text-align:center;margin-bottom:15px;font-size:9px;font-weight:700}.document h2{text-align:center;margin:0;font-family:STSong,SimSun,serif;font-size:clamp(22px,2vw,31px);font-weight:600;line-height:1.45}.paper-rule{background:var(--ink);width:56px;height:2px;margin:22px auto 25px;position:relative}.paper-rule:after{background:var(--gold);content:"";width:12px;height:2px;position:absolute;right:-17px}.document section{border-bottom:1px solid #e8e4da;margin-bottom:15px;padding:0 0 14px}.document section:last-child{border-bottom:0}.document h3{margin:0 0 7px;font-family:STSong,SimSun,serif;font-size:13px}.document p{color:#505751;margin:0;font-family:STSong,SimSun,serif;font-size:11px;line-height:1.82}.document .preview-placeholder{color:#b3b2aa;font-style:italic}.preview-actions{grid-template-columns:1fr 1.25fr;gap:8px;margin-top:12px;display:grid}.copy-button,.download-button{padding:11px}.copy-button{color:#505952;background:#fff;border:1px solid #d3d4ce}.download-button{background:var(--ink);border:1px solid var(--ink);color:#fff}.copy-button:hover,.ghost-button:hover{background:#f7f8f5;border-color:#c6cbc6}.download-button:hover{background:#333c37}@media (width<=1180px){.topbar{grid-template-columns:1fr auto}.workspace{grid-template-columns:210px minmax(360px,1.08fr) minmax(320px,.92fr)}.brief-sidebar{padding:20px 14px}.preview-panel{padding-inline:18px}}@media (width<=980px){.topbar{grid-template-columns:1fr auto}.workspace{grid-template-columns:minmax(360px,1.05fr) minmax(320px,.95fr)}.brief-sidebar{display:none}}@media (width<=760px){html,body{height:auto;min-height:100%;overflow:auto}.app-shell{height:auto;min-height:100dvh;display:block;overflow:visible}.topbar{grid-template-columns:1fr auto;height:64px;padding:0 14px;position:sticky;top:0}.brand span,.ghost-button{display:none}.workspace{display:block;overflow:visible}.brief-sidebar{display:none}.chat-panel{height:calc(100dvh - 64px);min-height:560px;padding:25px 17px 20px;overflow:hidden}.chat-heading{padding-bottom:18px}.chat-heading h1{font-size:25px}.chat-heading p{max-width:88%}.message-row{max-width:96%}.thinking-panel{min-width:min(330px,80vw)}.processing-title{grid-template-columns:auto 1fr}.processing-title small{display:none}.preview-panel{min-height:100dvh;padding:20px 14px;overflow:visible}.document{min-height:600px;padding:30px 24px;overflow:visible}}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}
