:root{font-family:Inter,"Microsoft YaHei",sans-serif;font-size:14px;color:#2a2138;background:#f7f4fc;--accent:#6b2ec7;--navy:#291548;--muted:#746887;--line:#e4deee;--soft:#f6f0fe}
*{box-sizing:border-box}body{margin:0}header{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,5vw)}
.brand{font-size:21px;font-weight:750;text-decoration:none;color:var(--accent);letter-spacing:.2px}.badge{display:inline-block;background:#f5effd;color:#5b3b8b;padding:8px 12px;font-size:11px;border:1px solid #e9dff8;border-radius:6px;letter-spacing:.3px}
main{max-width:1290px;padding:32px 28px 36px;margin:auto}.intro{display:flex;justify-content:space-between;align-items:center;gap:28px;margin-bottom:25px}.eyebrow{font-size:12px;letter-spacing:1.4px;color:#74599d;font-weight:650}h1{font-size:32px;line-height:1.4;letter-spacing:-.7px;color:var(--navy);margin:10px 0}h1 span{color:var(--accent)}p{color:#645679;line-height:1.85}.intro p{margin:0;font-size:14px}.workspace-tools{display:flex;flex-direction:column;align-items:flex-end;gap:12px;flex-shrink:0}.intro .badge{font-size:11px}
.workflow-strip{display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:22px;overflow:hidden}.workflow-strip>div{display:grid;grid-template-columns:32px auto;column-gap:12px;align-items:center;padding:15px 22px;border-right:1px solid var(--line)}.workflow-strip>div:last-child{border:0}.workflow-strip>div>span{grid-row:span 2;width:32px;height:32px;background:#f2eafd;border-radius:8px;color:var(--accent);display:grid;place-items:center;font-size:12px;font-weight:750}.workflow-strip strong{color:#432b68;font-size:14px}.workflow-strip small{color:var(--muted);font-size:11px;margin-top:4px}
.card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:25px;box-shadow:0 3px 14px #3b1d6904}.cardtop{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}h2{font-size:18px;color:var(--navy);margin:0;font-weight:750;display:flex;align-items:center;gap:10px}h3{font-size:15px;color:#381d60;margin:16px 0 9px}.section-number{background:#f3ecfd;color:var(--accent);font-size:11px;min-width:26px;height:26px;display:inline-grid;place-items:center;border-radius:6px}.step{font-size:11px;color:var(--muted)}.result-tag{color:var(--accent);background:#f2ebfd;border-radius:5px;padding:6px 9px;font-weight:600}
button{cursor:pointer;font:inherit;font-weight:550;color:#533b77;border:1px solid #d8cfe6;border-radius:7px;padding:10px 14px;background:#fff;transition:background .15s,border-color .15s}button:hover{background:#f6f1fe;border-color:#b296db}button:focus-visible,.attach-file:focus-within{outline:3px solid #ccb0f7;outline-offset:2px}button:disabled{opacity:.55;cursor:wait}.primary{background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:0 3px 7px #6b2ec715}.primary:hover{background:#5925a6;border-color:#5925a6}.quiet{background:transparent;border:0;color:var(--muted)}
input,textarea,select{font:inherit;color:#382851;background:#fff;width:100%;border:1px solid #d9d0e6;border-radius:7px;padding:12px;outline:none}input:focus,textarea:focus,select:focus{border-color:#8f5bdd;box-shadow:0 0 0 3px #7837d912}textarea{min-height:160px;resize:vertical;line-height:1.9}textarea::placeholder,input::placeholder{color:#9084a3}select{display:block;margin-top:8px;padding:11px}.hint,.source{font-size:12px;color:var(--muted);line-height:1.75}
.customer-card{margin-bottom:17px;border-top:3px solid #c6aee9}.customer-controls{display:grid;grid-template-columns:2fr 1.1fr auto;gap:20px;align-items:start}.customer-controls label{font-size:12px;font-weight:650;color:#5e4b7a}.customer-controls>button{margin-top:26px;min-height:43px}.customer-lookup>label{display:block}.customer-lookup input{margin:8px 0 10px}.customer-lookup select{margin-top:5px}.customer-lookup p{margin:8px 0 0}.customer-lookup #createFromName{padding:7px 10px;margin-top:8px;font-size:12px}.customer-search-results{display:grid;gap:7px;margin-top:10px}.customer-search-results:empty{display:none}.customer-search-results .customer-result{background:#f5effd;border:1px solid #d6c4f2;border-left:3px solid var(--accent);color:#4f2987;text-align:left;font-size:12px;line-height:1.8;padding:11px 12px}.customer-card>p{margin-bottom:0;font-size:11px}.customer-card .cardtop button{font-size:12px}.customer-lookup .hint{font-size:11px;font-weight:400}
#customerForm,#improveForm{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:20px}#customerForm label,#improveForm label{display:block;font-size:12px;line-height:1.8;color:#5f4d79}#customerForm input{margin-top:7px}#improveForm textarea{min-height:120px;display:block;margin-top:7px}#conversationFields{grid-column:1/-1}.consent{font-size:12px!important;font-weight:400!important;color:#645678!important;line-height:1.8}.consent input{width:auto;margin-right:5px;accent-color:var(--accent)}#improveForm .consent{grid-column:1/-1}.historytitle{margin-top:28px}#feedbackList button{margin:0 10px 8px 0}#customerMatches button{margin:6px 8px 0 0;font-size:12px}
#customerHistoryPanel{margin-top:18px;scroll-margin-top:20px;background:#faf8fe;border:1px solid #e7dcf7;border-radius:8px;padding:13px 16px}#customerHistoryTitle{font-weight:700;color:#4a2680}#customerHistory>details[open]{background:#fff;border-radius:8px;padding:13px;margin-top:10px;border:1px solid #e4dbf2}#customerHistory pre{max-height:350px;overflow:auto}#projectInfo{font-size:11px;color:#7c6d92;margin:0 0 18px;padding-left:2px}
.grid{display:grid;grid-template-columns:1.04fr 1fr;gap:22px;align-items:start}.compose{border-top:3px solid #b99fe1}.result{border:1px solid #c5ade8;border-top:4px solid var(--accent);background:linear-gradient(180deg,#f9f6fe 0,#fff 145px);box-shadow:0 6px 24px #6b2ec709;display:flex;flex-direction:column;min-height:520px;position:sticky;top:18px}.message-composer{border:1px solid #d5c9e6;border-radius:9px;overflow:hidden;background:#fdfbff}.message-composer:focus-within{border-color:#8e5dd8;box-shadow:0 0 0 3px #7837d910}.message-composer #question{min-height:215px;border:0;background:transparent;box-shadow:none;display:block;padding:15px}.composer-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:6px 12px 11px}.composer-footer .hint{font-size:10px}.attach-file{cursor:pointer;position:relative;white-space:nowrap;font-size:11px;color:#684f8d;padding:5px 6px;border-radius:5px}.attach-file:hover{background:#f2ebfd}.attach-file input{position:absolute;width:1px;height:1px;opacity:0;padding:0;overflow:hidden}.composer-note{font-size:10px;margin:8px 0;color:#807196}.image-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 12px}.image-gallery:empty{display:none}.image-tile{position:relative;border:1px solid #e1d7ef;border-radius:7px;padding:5px;background:#fff;text-align:center}.image-tile img{width:100%;height:85px;object-fit:contain;background:#f7f4fb}.image-tile p{font-size:10px;margin:4px 0}.image-tile .remove-image{position:absolute;right:2px;top:2px;width:22px;height:22px;border:0;border-radius:50%;background:#fff;box-shadow:0 1px 5px #0002;padding:0;font-size:16px;color:#614986}
.examples{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:14px 0 22px}.examples span{font-size:10px;color:var(--muted)}.examples button{font-size:11px;padding:5px 9px;background:#faf8fe;border-color:#e6def3}.generation-heading{margin-top:18px}.generation-heading strong{color:#4c228c;font-size:14px}.generation-heading p{margin:7px 0 12px}.actions{display:flex;gap:10px;justify-content:space-between}.actions .primary{flex:1;padding:12px;font-weight:700}.actions #search{background:#fbf9fe;font-size:12px}.guided-block{margin-top:23px;padding:15px;background:#f9f6fe;border:1px solid #e7dbf8;border-radius:9px}.guided-block h3{margin:0 0 7px;color:#4c2883}.guided-block>p{font-size:11px;margin:0 0 12px}.guided-block label{display:block;font-size:11px;font-weight:600;color:#563d7b;margin-bottom:7px}.guided-block textarea{min-height:130px;font-size:12px}.guided-block button{width:100%;margin-top:10px;padding:11px}.compose>p:last-child{font-size:10px;margin:15px 0 0}
#empty{margin:auto;text-align:center;padding:40px 0}.spark{color:#b899e7;font-size:48px}#empty h3{font-size:16px;color:#543b79}#empty p{font-size:12px;color:#7e6e97}.draft{display:inline-block;font-size:11px;font-weight:650;background:#f1e9fd;color:#592f99;border:1px solid #dfd0f5;border-radius:5px;padding:6px 9px;margin-bottom:15px}#answerPanel{margin-bottom:18px}.reply-highlights{border:1px solid #cfbbee;border-left:4px solid var(--accent);background:#f5effd;border-radius:7px;padding:14px 15px;margin-bottom:18px}.highlight-heading{font-size:13px;font-weight:750;color:#482281;display:flex;justify-content:space-between;gap:8px;margin-bottom:11px}.highlight-heading>span{font-size:10px;font-weight:400;color:#745e96}.highlight-row{display:grid;grid-template-columns:54px 1fr;gap:10px;margin-top:10px;align-items:start}.highlight-row>span{font-size:10px;color:#592f97;background:#ebdffc;border-radius:4px;padding:3px 5px;text-align:center}.highlight-row strong{font-size:13px;font-weight:650;color:#3d2168;line-height:1.85;overflow-wrap:anywhere}.editor-label{display:block;font-size:11px;font-weight:650;color:#6a5787;margin:0 0 8px}#answer{min-height:240px;background:#fff;border-color:#cbbbe4;line-height:1.95;margin-bottom:12px;font-size:14px}#answerPanel>#copy{padding:10px 18px}#answerPanel>#saveEdited{font-size:12px}#notice{font-size:10px;color:#796992;margin-bottom:0}.rules{border-top:1px solid #e6def1;margin-top:auto;padding-top:15px;display:flex;justify-content:space-between;gap:8px;font-size:10px;color:#807098}.revision-block{margin-top:20px;padding-top:4px;border-top:1px dashed #daceed}.revision-block h3{font-size:14px}.revision-block>p{font-size:11px}.revision-block label{font-size:11px;color:#665284}.revision-block textarea{display:block;margin-top:8px;min-height:100px;background:#fcfafe;font-size:12px}.revision-block button{width:100%;margin-top:10px}.revision-block pre{max-height:260px;overflow:auto}#previousVersions{margin-top:13px}
.references{margin-top:22px}.references .cardtop h2{font-size:16px}.references .cardtop .hint{font-size:11px}.save-controls{display:flex;gap:20px;align-items:center}.save-controls>label:first-child{min-width:190px;font-size:12px;color:#5f4c7c}.save-controls .consent{flex:1}.save-controls>button{border-color:#bca4e0;color:#572b98;background:#f5effd;white-space:nowrap}.references>p{font-size:11px;margin-bottom:0}details{border-top:1px solid #e8e3f0;padding:14px 0}summary{cursor:pointer;color:#543c78;line-height:1.8;font-size:13px}summary:hover{color:var(--accent)}pre{font:inherit;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;color:#605079;background:#f9f7fc;padding:15px;border-radius:7px;font-size:12px}.source{font-size:10px}footer{font-size:10px;color:#817395;text-align:center;margin-top:26px}.login{max-width:460px;margin:30px auto}.login label{display:block;margin:18px 0}.login input{margin-top:7px}.login .primary{width:100%;margin-top:8px}#status{position:sticky;bottom:18px;background:#3d1b6f;color:#fff;box-shadow:0 4px 15px #2d155120;padding:12px 18px;border-radius:8px;display:none;font-size:13px;z-index:5}#status.visible{display:block}[hidden]{display:none!important}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:950px){.customer-controls{grid-template-columns:1.6fr 1fr}.customer-controls>button{grid-column:1/-1;margin-top:0;justify-self:start}.highlight-heading{flex-wrap:wrap}.save-controls{flex-wrap:wrap}}
@media(max-width:800px){header{height:64px;padding:0 18px}.brand{font-size:18px}main{padding:24px 16px}.intro{display:block}.intro h1{font-size:27px}.intro p{font-size:12px}.workspace-tools{align-items:flex-start;flex-direction:row;flex-wrap:wrap;margin-top:16px}.workspace-tools button{font-size:11px}.workflow-strip>div{grid-template-columns:1fr;padding:12px 11px;gap:6px}.workflow-strip>div>span{grid-row:auto;width:25px;height:25px;font-size:10px}.workflow-strip strong{font-size:12px}.workflow-strip small{font-size:10px;line-height:1.6}.grid{grid-template-columns:1fr;gap:18px}.card{padding:20px}.cardtop{flex-wrap:wrap}.result{position:static;min-height:400px}.customer-controls,#customerForm,#improveForm{grid-template-columns:1fr}.customer-controls>button{grid-column:auto}.save-controls{display:flex;flex-direction:column;align-items:stretch;gap:14px}.save-controls>label:first-child{min-width:0}.save-controls>button{width:100%}.rules{flex-wrap:wrap}#projectInfo{font-size:10px}.highlight-row{grid-template-columns:48px 1fr;gap:8px}}
@media(max-width:450px){.image-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.actions{flex-wrap:wrap}.actions .primary{min-width:170px}.highlight-heading>span{display:block}.result #saveEdited{margin-top:7px}.composer-footer{gap:6px}}

:root{--accent:#7046ce;--navy:#29213f;background:#f7f5fb;color:#302941}header{height:66px}.brand{color:#6940be}main{padding-top:22px}.workspace-caption{display:flex;align-items:center;justify-content:space-between;gap:14px;color:#7a708a;font-size:12px;margin-bottom:19px}.caption-tools{display:flex;gap:10px;align-items:center}.caption-tools button{font-size:11px;padding:8px 10px;background:transparent;border-color:transparent;color:#756883}.caption-tools .badge{font-size:10px;padding:6px 9px;background:#f0eaf9;border-color:#e7ddf5;color:#7b65a0}.grid{grid-template-columns:1.18fr 1fr;gap:24px}.compose{border:1px solid #e4dcf0;border-top:4px solid #8153d6;box-shadow:0 5px 24px #5c358908;padding:28px}.compose .cardtop{margin-bottom:20px}.compose-title{font-size:30px;font-weight:780;letter-spacing:-.6px;color:#30223f;margin:0;line-height:1.3}.input-tag{font-size:11px;color:#8056b1;background:#f3edfc;border-radius:5px;padding:6px 9px;white-space:nowrap}.message-composer{border:1px solid #cdbde7;background:#fefcff;border-radius:12px}.message-composer #question{min-height:270px;font-size:15px;padding:18px;line-height:1.95}.message-composer:focus-within{border-color:#966ade;box-shadow:0 0 0 3px #9465dc10}.composer-footer{padding-bottom:12px}.compose .examples{margin-bottom:16px}.result{border-top:2px solid #cbb6e8;box-shadow:none;background:#fff;top:18px}.result .cardtop h2{font-size:18px;color:#514262}.result-tag{background:#f5f1fa;color:#8d769f;font-weight:400}.primary{background:#7046ce;border-color:#7046ce;box-shadow:0 3px 8px #7046ce13}.primary:hover{background:#5f37b6;border-color:#5f37b6}.compact-customer{background:#faf8fd;border:1px solid #ebe4f3;border-radius:9px;padding:14px;margin:16px 0 13px;box-shadow:none}.compact-customer-title{font-size:12px;font-weight:650;color:#675576;display:flex;justify-content:space-between;gap:8px;margin-bottom:10px}.compact-customer-title span{font-size:10px;font-weight:400;color:#93859f}.quick-customer-row{display:grid;grid-template-columns:1.2fr 1fr auto;gap:9px;align-items:end}.quick-customer-row label{font-size:11px;color:#81718e;font-weight:400}.quick-customer-row input{display:block;margin-top:6px;padding:10px;font-size:12px;height:39px;background:white;border-color:#e0d5ed;min-width:0}.quick-customer-row button{height:39px;padding:8px 13px;background:#eee6fa;border-color:#dcccf1;color:#6a40aa;font-size:12px}.quick-customer-row button:hover{background:#e6d8f8}.compact-customer #customerSearchHint{font-size:10px;margin:7px 0 0}.compact-customer #createFromName{display:none!important}.compact-customer .customer-sharing-note{font-size:10px;color:#9787a1;margin:6px 0 0}.customer-extras{border:0;padding:6px 0 0}.customer-extras>summary{font-size:10px;color:#8b789c}.customer-extras>select{font-size:12px}.customer-extras>button{font-size:11px;padding:6px 0}.compact-customer #customerMatches p{font-size:10px;margin:6px 0}.compact-customer #customerHistoryPanel{background:white}.compact-customer .customer-search-results{margin-top:7px}.compact-customer .customer-result{font-size:11px;padding:8px 10px}.channel-inline{display:flex;align-items:center;gap:12px;font-size:11px;color:#79688c;padding:0 1px}.channel-inline select{margin:0;flex:1;font-size:12px;padding:9px;background:#fff}.generation-heading{margin-top:20px}.guided-block{background:#f8f5fd;border-color:#e7ddf2}.reply-highlights{background:#f5f0fc;border-color:#dfd0f1;border-left-color:#8a5cd3}.highlight-heading{color:#71479d}.highlight-row strong{color:#52356d}.highlight-row>span{background:#eae0f8;color:#8053af}.draft{background:#f2ecfb;border-color:#e5d9f5;color:#8561af}#answer{border-color:#ddd1ec}#empty .spark{color:#cfbce9}#empty h3{color:#796587}#empty p{color:#9a8da5}#projectInfo{margin-top:22px}.references{background:#fefdff;border-color:#e9e3ef}.result #copy{background:#f0e9fb;border-color:#decdf5;color:#7145b0;box-shadow:none}.result #copy:hover{background:#e8ddf7}
@media(max-width:1000px){.workspace-caption>span{display:none}.workspace-caption{justify-content:flex-end}.compose{padding:23px}.compose-title{font-size:27px}.quick-customer-row{grid-template-columns:1fr 1fr auto}.quick-customer-row button{padding:8px 10px}.compact-customer-title{flex-wrap:wrap}}
@media(max-width:800px){.grid{grid-template-columns:1fr}.workspace-caption{margin-bottom:14px}.caption-tools{flex-wrap:wrap;justify-content:space-between;width:100%}.caption-tools .badge{font-size:9px}.compose{padding:21px;border-top-width:3px}.compose-title{font-size:28px}.message-composer #question{min-height:240px}.result{position:static}.compact-customer-title span{font-size:10px}.quick-customer-row{grid-template-columns:1fr 1fr auto}}
@media(max-width:420px){.quick-customer-row{grid-template-columns:1fr auto}.quick-customer-row>label:first-child{grid-column:1/-1}.quick-customer-row>label:nth-child(2){grid-column:1}.quick-customer-row>button{grid-column:2}.compose-title{font-size:25px}.channel-inline{gap:8px}}
