/* One quiet entry point; the existing work tools appear only when requested. */
:root{--chat-ink:#42272a;--chat-muted:#8b6366;--chat-blue:#a62230;--chat-line:#ece2df;--chat-red:#a93834}
.conversation-page{color:var(--chat-ink);background:#fffaf6;background-image:radial-gradient(ellipse at 74% 28%,#f3eae7aa,transparent 48%);min-height:100dvh;margin:0;font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif}
.simple-header{height:92px;max-width:1456px;margin:auto;padding:0 56px;display:flex;align-items:center;gap:35px;border-bottom:1px solid var(--chat-line)}
.simple-brand{display:flex;align-items:center;gap:16px;color:var(--chat-ink);text-decoration:none;flex-shrink:0}.simple-brand>img{width:62px;height:50px;object-fit:contain}.brand-divider{height:32px;width:1px;background:#dccfca}.simple-brand b{font-size:20px;letter-spacing:2px}.simple-brand small{display:block;font-size:10px;letter-spacing:1px;margin-top:4px;color:var(--chat-muted)}
.simple-header nav{display:flex;gap:12px;margin-left:auto}.simple-header nav button{border:0;background:none;padding:12px 17px;color:var(--chat-muted);border-radius:9px;font-size:14px;cursor:pointer}.simple-header nav button.active,.simple-header nav button:hover{background:#f2ebe8;color:#6c171e}.preview-label{color:#967d7f;font-size:11px;border-left:1px solid var(--chat-line);padding-left:25px}
.conversation-main{width:min(100% - 48px,840px);margin:0 auto;padding:58px 0 32px}.welcome{display:flex;align-items:center;justify-content:center;gap:46px;margin-bottom:30px}.assistant-portrait{width:167px;height:203px;position:relative;flex-shrink:0}.assistant-portrait span{position:absolute;width:170px;height:170px;background:#f0e7e4;border-radius:50%;bottom:0;left:-4px}.assistant-portrait img{width:150px;height:200px;object-fit:contain;position:relative;display:block;margin:auto;filter:drop-shadow(0 12px 12px #49202320)}.welcome-kicker{font-size:11px;letter-spacing:3px;color:var(--chat-blue);margin:0 0 12px}.welcome h1{font-size:37px;line-height:1.3;font-weight:600;letter-spacing:-1px;margin:0 0 14px;color:var(--chat-ink)}.welcome-copy>p:last-child{color:var(--chat-muted);font-size:15px;line-height:1.85;margin:0}
.conversation-area{max-width:744px;margin:auto}.conversation-log{max-height:340px;overflow-y:auto;overscroll-behavior:contain;scroll-behavior:smooth;scrollbar-width:thin}.conversation-log:empty{display:none}.conversation-message{margin:0 0 16px;padding:16px 20px;background:#fff;border:1px solid var(--chat-line);border-radius:14px;color:var(--chat-ink)}.conversation-message.user{margin-left:15%;background:#f4edea;border:0}.message-speaker{font-size:11px;color:var(--chat-muted)}.conversation-message p{font-size:14px;line-height:1.85;margin:5px 0;white-space:pre-wrap;overflow-wrap:anywhere}.conversation-composer{background:#fff;border:1px solid #e3d1cb;border-radius:18px;box-shadow:0 10px 40px #60282d20;padding:19px 20px 14px;transition:border-color .15s}.conversation-composer:focus-within{border-color:var(--chat-blue);box-shadow:0 10px 40px #60282d28}.conversation-composer textarea{display:block;background:none;border:0;box-shadow:none!important;padding:0;resize:none;font-size:16px;line-height:1.8;min-height:67px;color:var(--chat-ink);width:100%;outline:none}.conversation-composer textarea::placeholder{color:#aa9496}.composer-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:5px}.composer-bottom>span{font-size:11px;color:#a48a8c}.composer-bottom button{border:0;background:#6e171e;color:white;border-radius:9px;padding:10px 20px;cursor:pointer;font-size:13px}.composer-bottom button span{margin-left:14px}
.conversation-shortcuts{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:19px 0 14px}.conversation-shortcuts button,.conversation-actions button{border:1px solid #e8deda;color:#6f4e51;background:#fff;border-radius:24px;padding:9px 17px;cursor:pointer;font-size:12px}.conversation-shortcuts button:hover,.conversation-actions button:hover{background:#f4edea;border-color:#bf9397;color:#6c171e}.conversation-hint{text-align:center;font-size:11px;color:#9e8385;line-height:1.8;margin:0}.resume-tool{display:block;margin:16px auto 0;border:0;background:none;color:var(--chat-blue);font-size:13px;cursor:pointer}.resume-tool[hidden]{display:none}.conversation-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.assistant-catalog{border-top:1px solid var(--chat-line);padding:10px 0}.assistant-catalog summary{cursor:pointer;font-size:13px;color:#6a3438;list-style:none}.assistant-catalog summary:before{content:'＋';margin-right:10px}.assistant-catalog[open] summary:before{content:'−'}.assistant-catalog summary span{float:right;color:#a18184;font-size:11px}.assistant-catalog:first-of-type{margin-top:14px}.simple-footer{display:flex;justify-content:center;gap:25px;font-size:10px;color:#a48c8e;padding:20px 140px 24px;line-height:1.8}.simple-footer button{background:none;border:0;color:#997578;font-size:inherit;padding:0;cursor:pointer}.brand-qr{position:fixed;right:30px;bottom:23px;text-align:center;color:#9b7b7e;font-size:9px;display:flex;flex-direction:column;align-items:center;gap:5px;text-decoration:none}.brand-qr img{width:59px;height:59px;border:5px solid white;box-sizing:content-box;border-radius:5px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.work-dialog{width:min(1180px,calc(100vw - 64px));max-width:none;height:min(900px,calc(100dvh - 64px));max-height:none;padding:0;border:1px solid #e6d8d3;border-radius:18px;color:var(--chat-ink);background:#faf7f6;box-shadow:0 30px 100px #44141840;overflow:hidden}.work-dialog::backdrop{background:#44181c59;backdrop-filter:blur(5px)}.work-dialog-header{height:75px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 26px;background:#fff;border-bottom:1px solid var(--chat-line)}.work-dialog-header>div{display:flex;align-items:center;gap:13px}.work-dialog-header img{width:35px;height:46px;object-fit:contain}.work-dialog-header b{display:block;font-size:16px}.work-dialog-header small{font-size:10px;color:#a18285;display:block;margin-bottom:4px}.work-dialog-header>button{border:1px solid #ebe0dc;background:#fffaf6;border-radius:8px;color:#6a4c4e;padding:9px 14px;font-size:12px;cursor:pointer}.tool-context{padding:9px 26px;display:flex;justify-content:space-between;gap:16px;font-size:10px;color:#9f8183}.tool-context>span:first-child{color:#6e4e51}.tool-view{height:calc(100% - 112px);overflow:auto;overscroll-behavior:contain;padding:20px 28px 40px;scrollbar-width:thin}.tool-view .section-title{margin-bottom:22px}.tool-view .section-title h1{font-size:25px}.tool-view .section-title p{font-size:13px}.tool-view .split-editor{grid-template-columns:minmax(0,1fr) minmax(235px,.65fr)}.tool-view .panel{min-width:0}.tool-view .office-heading{min-height:175px}.tool-view .office-heading h1{font-size:28px}.tool-frame{width:100%;height:100%;border:0;background:#fff;border-radius:8px;display:block}.tool-view:has(.tool-frame){padding:0 10px 10px}.material-entries{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:24px}.material-entry{background:#fff;border:1px solid var(--chat-line);border-radius:12px;padding:24px 20px;text-align:left;cursor:pointer;color:var(--chat-ink)}.material-entry b{display:block;font-size:16px;margin-bottom:8px}.material-entry span{font-size:12px;color:var(--chat-muted)}.material-more{margin-top:20px;font-size:13px;color:var(--chat-muted);padding:15px 0}.material-more summary{cursor:pointer}.work-dialog .form-note{font-size:12px}.work-dialog #error:empty{display:none}.work-dialog:has(#error:not(:empty)) .tool-view{height:calc(100% - 168px)}
button:focus-visible,a:focus-visible{outline:2px solid #931f29;outline-offset:4px}
@media(min-width:1500px){.conversation-main{padding-top:92px}.welcome{margin-bottom:42px}}
@media(max-width:850px){.simple-header{padding:0 25px;height:79px;gap:12px}.simple-brand{gap:10px}.simple-brand>img{width:46px;height:39px}.simple-brand b{font-size:17px}.simple-brand small{font-size:9px}.simple-header nav{gap:0}.simple-header nav button{padding:10px 13px;font-size:12px}.preview-label{display:none}.conversation-main{padding-top:45px}.welcome{gap:27px}.welcome h1{font-size:31px}.brand-qr{position:static;margin:0 auto 20px}.brand-qr img{width:47px;height:47px}.simple-footer{padding:10px 20px 12px}.work-dialog{width:calc(100vw - 24px);height:calc(100dvh - 24px);border-radius:13px}.tool-view{padding:18px 18px 30px}.tool-view .split-editor{grid-template-columns:1fr}.tool-view .office-guide{display:none}}
@media(max-width:520px){.simple-header{height:74px;padding:0 16px;flex-wrap:wrap;gap:0}.simple-brand>img{width:37px;height:35px}.simple-brand{gap:9px}.simple-brand b{font-size:15px;letter-spacing:1px}.simple-brand small{display:none}.brand-divider{height:24px}.simple-header nav button{font-size:11px;padding:9px 9px}.conversation-main{width:calc(100% - 32px);padding-top:36px;padding-bottom:22px}.welcome{gap:15px;margin-bottom:28px;align-items:center}.assistant-portrait{width:92px;height:132px}.assistant-portrait img{width:92px;height:130px}.assistant-portrait span{width:100px;height:100px;left:-4px}.welcome h1{font-size:24px;letter-spacing:-.5px;margin-bottom:9px}.welcome-kicker{font-size:9px;letter-spacing:1px;margin-bottom:9px}.welcome-copy>p:last-child{font-size:11px;line-height:1.8}.conversation-composer{padding:15px 15px 12px;border-radius:14px}.conversation-composer textarea{font-size:14px;min-height:75px}.composer-bottom>span{font-size:9px}.composer-bottom button{padding:9px 15px}.conversation-shortcuts{gap:6px;margin-top:17px}.conversation-shortcuts button{font-size:11px;padding:8px 12px}.conversation-hint{font-size:9px}.conversation-log{max-height:38dvh}.conversation-message{padding:13px 15px}.conversation-message p{font-size:12px}.simple-footer{display:block;text-align:center;font-size:9px}.simple-footer span{display:block}.brand-qr{margin-bottom:14px}.work-dialog-header{padding:10px 16px;height:69px}.tool-context{padding:9px 16px;font-size:9px}.tool-context>span:first-child{display:none}.tool-view{height:calc(100% - 105px);padding:15px 12px 25px}.tool-view .section-title{gap:12px;flex-wrap:wrap}.tool-view .section-title h1{font-size:22px}.tool-view .panel{padding:18px}.tool-view .tool-grid,.tool-view .material-entries{grid-template-columns:1fr}.material-entry{padding:18px}.material-entry b{font-size:14px}.tool-view .office-heading{padding:22px}.tool-view .office-heading img{opacity:.25}.tool-view .form-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.work-dialog #wechat-workbench>.section-title .eyebrow,.work-dialog .wc-steps{display:none}.work-dialog #wechat-workbench>.section-title{margin-bottom:14px}.work-dialog .wc-boundary{padding:10px 15px;margin-bottom:10px;font-size:12px;background:#f3efe8}.work-dialog .wc-boundary summary{cursor:pointer;font-size:12px}.work-dialog .wc-boundary p{font-size:12px}.work-dialog .wc-connections{padding:12px 15px;margin-bottom:12px;font-size:12px}.work-dialog .wc-layout{display:block}.work-dialog .wc-list-panel{position:static;padding:12px 15px;margin-bottom:14px}.work-dialog .wc-list-panel>summary{cursor:pointer;font-size:13px;font-weight:600}.work-dialog .wc-list-panel>.panel-header{margin-top:18px}.work-dialog #wc-list{max-height:240px;overflow:auto}.work-dialog #wc-editor>.panel{padding:24px}.work-dialog .optional-fields{margin:15px 0;color:#8b6366;font-size:13px}.work-dialog .optional-fields summary{cursor:pointer}.work-dialog .optional-fields>.form-grid{margin-top:15px}.work-dialog .ai-service{padding:14px;margin-top:14px}.work-dialog .trial-feedback{margin-top:0}.work-dialog .trial-feedback>.panel-header h2{display:none}.work-dialog .trial-feedback>.panel-header{justify-content:flex-end;margin:0}.work-dialog .trial-guide{margin-top:20px;color:#8b6366;font-size:13px}.work-dialog .trial-guide>summary{cursor:pointer;margin-bottom:18px}.work-dialog .tool-view .eyebrow{font-size:10px}
.switch-confirm{max-width:440px;width:calc(100% - 40px);border:1px solid #e8dad5;border-radius:16px;padding:26px;background:#fff;color:#42272a;box-shadow:0 20px 80px #44141830}.switch-confirm::backdrop{background:#44181c59;backdrop-filter:blur(3px)}.switch-confirm h2{font-size:19px;margin:0 0 12px}.switch-confirm p{font-size:13px;line-height:1.9;color:#8b6366}.switch-confirm>div{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.switch-confirm button{padding:10px 14px;font-size:12px;border-radius:8px;border:1px solid #e9ddd9;background:#fff;color:#6a4c4e;cursor:pointer}.switch-confirm button[data-switch]{background:#70181f;border-color:#70181f;color:#fff}
