*{box-sizing:border-box}html{color-scheme:light}body{margin:0;background:#e8eeea;color:#203d30;font-family:"Microsoft YaHei",system-ui,sans-serif;font-size:16px}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #d49b35;outline-offset:2px}.app{max-width:850px;height:100dvh;margin:auto;display:flex;flex-direction:column;background:#f2f6f3;box-shadow:0 0 40px #173f2010}header{display:flex;align-items:center;gap:11px;padding:14px 20px;background:#fff;border-bottom:1px solid #e0e8e2;flex-shrink:0}.logo,.avatar{display:grid;place-items:center;background:#176443;color:#fff;text-decoration:none;font-weight:bold;flex-shrink:0}.logo{width:44px;height:44px;font-size:27px}.brand{flex:1}.brand strong{display:block;font-size:20px;line-height:1.35}.brand span{font-size:12px;color:#6b8174}.quiet{color:#4d6f5a;background:none;border:1px solid #cfddd2;padding:8px 11px;min-height:42px}.preview-note{text-align:center;background:#fff6df;color:#886426;font-size:12px;padding:6px;flex-shrink:0}main{flex:1;overflow:auto;overscroll-behavior:contain;padding:0 20px 24px}.intro{padding:23px 0 8px}.eyebrow{font-size:12px;letter-spacing:1px;color:#54826a;margin:0 0 5px}.intro h1{font-size:25px;line-height:1.4;margin:0}.intro>p:not(.eyebrow){font-size:14px;color:#6b8073;margin:7px 0 17px}.featured{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:10px}.mini{flex:0 0 208px;background:#fff;border:1px solid #dbe6dc;scroll-snap-align:start;overflow:hidden}.mini img{display:block;width:100%;height:108px;object-fit:cover}.mini-info{padding:10px 12px}.mini h2{font-size:15px;line-height:1.5;margin:0 0 6px}.mini-meta{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#687c6f}.mini-meta strong{color:#bb512d;font-size:20px}.mini button{border:0;background:none;color:#196747;padding:0;min-height:25px;font-size:12px}.today{text-align:center;color:#91a095;font-size:11px;margin:8px 0 20px}.turn{display:flex;gap:9px;align-items:flex-start;margin:0 0 18px}.avatar{width:32px;height:32px;font-size:18px;margin-top:3px}.content{max-width:85%;min-width:0}.name{font-size:11px;color:#7a8d7f;margin:0 0 4px 3px}.bubble{background:white;padding:13px 15px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid #e2eae3;font-size:16px}.turn.user{justify-content:flex-end}.turn.user .content{max-width:84%}.turn.user .bubble{background:#dceee2;border-color:#cae0d0}.turn.user .name{text-align:right}.options{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.options button{background:#edf6ef;border:1px solid #c6dccd;color:#216646;padding:9px 12px;min-height:42px}.answer-card{margin-top:10px;border:1px solid #d5e4d9;background:#fff}.answer-card img{width:100%;height:136px;object-fit:cover;display:block}.answer-card>div{padding:12px}.answer-card strong{font-size:16px}.answer-card p{font-size:13px;color:#728577;line-height:1.6;margin:6px 0 10px}.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.card-bottom em{font-style:normal;color:#bc502e;font-size:21px;font-weight:bold}.card-bottom a{border:1px solid #bcd5c5;color:#206548;font-size:13px;padding:8px 11px;text-decoration:none;min-height:40px}.thinking{display:flex;align-items:center;gap:8px;color:#789080;font-size:14px}.thinking i{width:5px;height:5px;background:#709e80;animation:blink 1s infinite}.thinking i:nth-of-type(2){animation-delay:.15s}.thinking i:nth-of-type(3){animation-delay:.3s}@keyframes blink{50%{opacity:.25;transform:translateY(-2px)}}footer{padding:11px 20px max(9px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #d8e5dc;flex-shrink:0}.contact-actions{display:flex;gap:7px;margin-bottom:10px}.contact-actions a,.contact-actions button{display:flex;align-items:center;justify-content:center;min-height:40px;flex:1;background:#fff;border:1px solid #d2dfd5;color:#41664f;font-size:13px;text-decoration:none;padding:7px 4px}.contact-actions button:last-child{background:#eff7f1;color:#176443;border-color:#b9d4c1}#form{display:flex;align-items:flex-end;gap:9px}#question{width:100%;resize:none;height:51px;max-height:96px;min-height:51px;border:2px solid #8db69a;padding:12px;background:#fbfdfb;font-size:17px;line-height:1.4;border-radius:0}#send{flex-shrink:0;min-height:51px;padding:10px 15px;border:0;background:#176443;color:white;font-size:17px;font-weight:bold}#send:disabled{opacity:.6}.footnote{font-size:10px;color:#8a9c8e;margin-top:7px;min-height:15px}dialog{border:1px solid #d3dfd6;max-width:470px;width:calc(100% - 28px);padding:22px;color:#203d30;background:#fff}dialog::backdrop{background:#15342166}.sheet-title{display:flex;justify-content:space-between}.sheet-title small{font-size:12px;color:#7f9485}.sheet-title h2{margin:4px 0 5px;font-size:23px}#close{border:0;background:none;font-size:28px;color:#708675;width:42px;height:42px}#lead-context{font-size:13px;color:#637f6b;line-height:1.6}#lead-form>label:not(.consent){display:block;font-size:14px;font-weight:bold;margin:14px 0 6px}#lead-form>label span{font-weight:normal;color:#8e9f92}#lead-form>input,#note{width:100%;padding:11px;border:1px solid #afc8b7;background:#fbfdfb;min-height:46px;font-size:16px;resize:none}.consent{display:flex;align-items:flex-start;gap:7px;font-size:12px;line-height:1.7;margin:14px 0 0}.consent input{width:18px;height:18px;flex-shrink:0;margin:2px 0}.demo-warning{font-size:11px;color:#aa7332}.submit{width:100%;border:0;padding:13px;min-height:49px;font-weight:bold;background:#176443;color:#fff}#lead-status{font-size:13px;color:#795b21}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:600px){header{padding:11px 14px;gap:9px}.logo{width:38px;height:38px;font-size:24px}.brand strong{font-size:18px}.brand span{font-size:11px}.quiet{font-size:12px;padding:7px 9px;min-height:40px}main{padding:0 13px 16px}.intro{padding-top:18px}.intro h1{font-size:23px}.intro>p:not(.eyebrow){font-size:13px}.mini{flex-basis:188px}.mini img{height:98px}.mini h2{font-size:14px}.bubble{font-size:16px;padding:12px 13px;line-height:1.7}.content{max-width:calc(100% - 42px)}.turn{gap:8px;margin-bottom:15px}.avatar{width:29px;height:29px;font-size:17px}.options button{font-size:13px;padding:8px 10px}.answer-card img{height:121px}.answer-card strong{font-size:15px}footer{padding:9px 12px max(8px,env(safe-area-inset-bottom))}.contact-actions{gap:6px;margin-bottom:8px}.contact-actions a,.contact-actions button{font-size:12px;min-height:38px}.footnote{font-size:9px}#send{padding:10px 13px;font-size:16px}.preview-note{font-size:10px;padding:5px}dialog{padding:18px}}@media(prefers-reduced-motion:reduce){.thinking i{animation:none}}

.model-consent{display:flex;align-items:flex-start;gap:5px;font-size:10px;color:#778b7d;line-height:1.5;margin-top:4px}.model-consent input{flex-shrink:0;margin:2px 0 0;width:14px;height:14px}.privacy{font-size:10px;color:#85978b;margin-top:3px}.privacy summary{cursor:pointer}.privacy p{line-height:1.6;margin:4px 0}.route-links{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}.route-links a{padding:8px;border:1px solid #c4d9cc;text-decoration:none;font-size:13px}.bubble .paragraph{margin:0 0 7px}.bubble .paragraph:last-child{margin-bottom:0}.freshness{font-size:10px;color:#92a295;margin-top:8px}.submit:disabled{opacity:.6}#lead-status{white-space:pre-wrap}

.quiet{text-decoration:none;display:flex;align-items:center}.slide-hint{font-size:10px;color:#819489;margin:0 0 7px}.use-note{font-size:11px;color:#819287;margin:11px 0 3px}.lead-privacy{font-size:11px;color:#738777}.lead-privacy p{font-size:12px;line-height:1.6}#copy-feedback{text-align:center;padding:25px 22px}#copy-feedback h2{font-size:20px;margin:12px 0}.copy-mark{margin:auto;display:grid;place-items:center;background:#e3f2e8;color:#21714c;width:46px;height:46px;font-size:29px}.copy-number{font-size:25px;color:#176443;font-weight:bold;letter-spacing:1px}#copy-feedback p{line-height:1.8}#copy-feedback .submit{margin-top:8px}
@media(max-width:600px){header{padding:5px 12px;gap:8px}.logo{width:30px;height:30px;font-size:21px}.brand strong{font-size:16px;line-height:1.25}.brand span{font-size:9px}.quiet{font-size:11px;min-height:40px;padding:6px 8px}.preview-note{font-size:9px;padding:3px}.intro{padding-top:11px}.eyebrow{font-size:10px;margin-bottom:3px}.intro h1{font-size:20px;line-height:1.35}.intro>p:not(.eyebrow){font-size:11px;margin:5px 0 10px}.featured{gap:8px;padding-bottom:5px}.mini{flex-basis:145px}.mini img{height:66px}.mini-info{padding:7px 8px}.mini h2{font-size:11.5px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-bottom:3px}.mini-meta strong{font-size:16px}.mini button{font-size:10px;min-height:25px}.today{font-size:10px;margin:6px 0 12px}.turn{gap:7px;margin-bottom:12px}.avatar{width:25px;height:25px;font-size:15px}.name{font-size:10px;margin-bottom:3px}.content{max-width:calc(100% - 33px)}.bubble{font-size:14px;line-height:1.6;padding:10px 11px}.options{gap:6px;margin-top:8px}.options button{font-size:12px;padding:7px 9px;min-height:36px}.answer-card img{height:98px}.answer-card>div{padding:10px}.answer-card strong{font-size:13px}.answer-card p{font-size:12px;line-height:1.55}.card-bottom em{font-size:18px}.card-bottom a{font-size:12px;padding:7px 10px;min-height:36px}footer{padding:7px 10px max(6px,env(safe-area-inset-bottom))}.contact-actions{margin-bottom:6px}.contact-actions a,.contact-actions button{font-size:11px;min-height:34px}.footnote{font-size:9px;margin-top:4px;min-height:12px}#question{font-size:15px;line-height:1.35;height:44px;min-height:44px;padding:10px}#send{min-height:44px;font-size:15px;padding:8px 12px}.privacy{font-size:9px;margin-top:1px}dialog{padding:16px}.sheet-title h2{font-size:20px}.sheet-title small{font-size:11px}#lead-context{font-size:12px;margin:7px 0}#lead-form>label:not(.consent){font-size:12px;margin:11px 0 5px}#lead-form>input,#note{font-size:14px;padding:10px;min-height:42px}.demo-warning{font-size:10px;margin:8px 0}.submit{font-size:14px;min-height:45px;padding:11px}}

.font-preview{display:flex;justify-content:center;align-items:center;gap:8px;padding:4px 8px;background:#fff9eb;flex-shrink:0;font-size:11px;color:#746346}.font-preview button{font-size:11px;border:1px solid #d6d5c7;background:white;padding:4px 9px;min-height:28px;color:#4f6656}.font-preview button[aria-pressed=true]{background:#176443;border-color:#176443;color:white}@media(max-width:600px){.bubble{font-size:var(--chat-size,14px)}.brand strong{font-size:15px}.brand{min-width:0}.brand strong{white-space:nowrap}.quiet{padding:6px;font-size:10px}.logo{width:27px;height:27px}.font-preview{gap:7px}}

/* Mobile preview v4 */
header{background:#176443;color:white}.logo{background:#fff;color:#176443}.brand span{color:#dceee3;display:block;line-height:1.25}.brand strong{line-height:1.2}.quiet{color:white;border-color:#ffffff65;background:#ffffff0b}.intro{padding-top:12px}.contact-actions a,.contact-actions button{font-size:14px}.question-wrap{position:relative;flex:1;min-width:0}#question{display:block}#suggestion{position:absolute;left:10px;right:8px;top:7px;height:30px;text-align:left;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;border:0;background:#fbfdfb;padding:0;color:#718378;font-size:14px}#suggestion[hidden]{display:none}#send{min-width:88px}.options button{min-height:30px;padding:5px 9px}.privacy{margin-top:5px}@media(max-width:600px){.brand strong{font-size:15px;line-height:1.2}.brand span{font-size:10px;line-height:1.2;margin-top:1px}.quiet{font-size:13px;min-height:38px;padding:6px}.contact-actions a,.contact-actions button{font-size:14px;min-height:37px}.bubble{font-size:14px}.options button{min-height:30px;padding:5px 9px}.intro{padding-top:9px}#send{min-width:85px}.brand{flex:1}.logo{width:25px;height:25px}header{gap:6px;padding:6px 10px}#header-phone{white-space:nowrap}#question{font-size:14px}}@media(max-width:375px){.brand strong{font-size:14px}.quiet{font-size:12px;padding:5px}.brand span{font-size:9px}}

/* Preview v5: service, receipt, typing */
.service-status{width:max-content;margin:0 auto 18px;background:#e5ebe7;color:#6f8176;padding:7px 14px;font-size:12px;line-height:1.4}.receipt{text-align:right;color:#8b998f;font-size:10px;margin-top:4px}.receipt.unread{color:#b47a2b}.contact-actions a,.contact-actions button,.contact-actions button:last-child{background:#176443;border-color:#176443;color:#fff}.contact-actions a:hover,.contact-actions button:hover{background:#105338}#question{cursor:text}.bubble{font-variant-ligatures:none}

/* Chat appearance v8: message order, avatars and minute separators */
.app,main{background:#ededed;color:#151515}.today{display:none}.intro{padding-top:12px}.service-status{background:#e3e3e3;color:#8c8c8c;border-radius:5px;padding:6px 14px;margin:12px auto 20px}.turn{display:flex;align-items:flex-start;gap:10px;margin-bottom:18px}.avatar{width:36px;height:36px;flex:0 0 36px;margin-top:0;background:transparent;border-radius:4px;overflow:hidden;padding:0}.avatar img{display:block;width:36px;height:36px;object-fit:cover;border-radius:4px}.content,.turn.user .content{width:fit-content;max-width:calc(100% - 46px);min-width:0}.name{display:none}.name.ai-name{display:block;color:#87908a;font-size:10px;margin:0 0 4px}.bubble{position:relative;display:block;width:fit-content;max-width:100%;background:#fff;color:#141414;border:0;border-radius:5px;padding:10px 12px;font-size:14px;line-height:1.65;box-shadow:none;white-space:pre-wrap;overflow-wrap:anywhere}.bubble::before{content:"";position:absolute;width:9px;height:9px;left:-4px;top:13px;background:#fff;transform:rotate(45deg)}.turn.user{flex-direction:row-reverse;justify-content:flex-start}.turn.user .content{display:flex;flex-direction:column;align-items:flex-end}.turn.user .bubble{background:#95ec69;color:#101910;border:0}.turn.user .bubble::before{left:auto;right:-4px;background:#95ec69}.receipt{font-size:10px;text-align:right;margin-top:4px;color:#929292}.receipt.unread{color:#b18038}.thinking{display:flex;color:#999;font-size:14px;min-height:43px;align-items:center}.thinking i{background:#9b9b9b;border-radius:50%}.message-time{display:block;text-align:center;margin:22px 0 18px;color:#999;font-size:12px;line-height:1.5;clear:both}.options button{background:#f3f7f3;border-color:#d8e5d9;color:#226044;border-radius:3px}.options button:disabled{opacity:.65}.answer-card{border-radius:4px;overflow:hidden}.logo{padding:0;overflow:hidden;border-radius:3px}.logo img{display:block;width:100%;height:100%;object-fit:cover}@media(max-width:600px){main{padding:0 12px 18px}.turn{gap:10px;margin-bottom:17px}.avatar,.avatar img{width:36px;height:36px}.content,.turn.user .content{max-width:calc(100% - 46px)}.bubble{font-size:14px;line-height:1.65;padding:10px 12px}.message-time{font-size:12px;margin:20px 0 17px}.intro{padding-top:10px}.service-status{font-size:12px}.answer-card img{height:105px}}

/* v9: mobile text controls use 16px to prevent iOS focus zoom. */
@media(max-width:600px){#question,#lead-form input:not([type=checkbox]):not([type=radio]),#lead-form textarea{font-size:16px}}

/* v10: requested WeChat-style green send and contact actions. */
#send{background:#07c160;border-color:#07c160;color:#fff;border-radius:6px;min-width:70px;padding:8px 14px;font-size:16px}#send:hover{background:#06ad56;border-color:#06ad56}.contact-actions a,.contact-actions button,.contact-actions button:last-child{background:#07c160;border-color:#07c160;color:#fff}.contact-actions a:hover,.contact-actions button:hover{background:#06ad56;border-color:#06ad56}

/* v11: restore deep green for the three contact actions only. */
.contact-actions a,.contact-actions button,.contact-actions button:last-child{background:#176443;border-color:#176443;color:#fff}.contact-actions a:hover,.contact-actions button:hover{background:#105338;border-color:#105338}

/* v14: contact links in the final reply share the compact option style. */
.options a{display:inline-flex;align-items:center;text-decoration:none;background:#f3f7f3;color:#226044;border:1px solid #d8e5d9;border-radius:3px;padding:5px 9px;min-height:30px;font-size:12px;line-height:1.4}.options a:focus-visible{outline:2px solid #176443;outline-offset:2px}#header-home{white-space:nowrap}

#header-home{background:#ffe6a3;color:#164f39;border:1px solid #f6cf65;font-weight:700;white-space:nowrap;padding:7px 9px;line-height:1.25;font-size:13px;min-height:34px}#header-home:hover{background:#ffda79}@media(max-width:375px){header .brand strong{font-size:13px}#header-home{font-size:12px;padding:6px}}

header .brand{display:flex;align-items:center;gap:8px;min-width:0}header .brand-name{font-size:15px;width:9em;flex-shrink:0}header .brand-name strong{font-size:inherit;line-height:1.25;white-space:nowrap;display:block}header .brand-name .brand-en{font-size:.49em;line-height:1.25;letter-spacing:0;white-space:nowrap;width:100%;text-align:justify;text-align-last:justify;margin-top:2px;color:#eef8f0}header .brand-motto{font-size:11px;line-height:1.35;margin:0;color:#e5f3e9;white-space:nowrap;flex-shrink:0}.mobile-home-break{display:none}@media(max-width:600px){header .brand-name{font-size:14px}header .brand{gap:6px}header .brand-motto{font-size:10px}#header-home{font-size:12px;padding:5px 8px}.mobile-home-break{display:block}}@media(max-width:375px){header{padding:6px 8px;gap:5px}header .brand-name{font-size:13px}header .brand-motto{font-size:9px}#header-home{padding:5px 6px}}


/* Restore the original solid service header and contact bar. */
header{background:#176443;color:#fff;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}
header .brand-name strong{color:#fff}header .brand-name .brand-en{color:#eef8f0}header .brand-motto{color:#e5f3e9}
footer{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}
.contact-actions a,.contact-actions button,.contact-actions button:last-child{background:#176443;border-color:#176443;color:#fff}

/* Equal-size recording notice to the right of the information toggle. */
.privacy>summary{display:flex;align-items:flex-start;gap:5px;list-style:none;line-height:1.5}
.privacy>summary::-webkit-details-marker{display:none}
.privacy>summary::before{content:'▸';flex:0 0 auto;color:inherit}
.privacy[open]>summary::before{content:'▾'}
.privacy .privacy-label{flex:0 0 auto;white-space:nowrap}
.privacy .recording-notice{flex:1;min-width:0;font-size:inherit;line-height:inherit;color:inherit;margin:0 0 0 5px}

/* Owner-selected compact honor row, 2026-10-26. */
header{flex-wrap:wrap;row-gap:5px}header>.honor-strip{flex:0 0 100%;display:flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap;padding-bottom:5px;border-bottom:1px solid rgba(255,255,255,.20);color:#eaf4e8;font-size:11px;line-height:1.5;font-weight:400;letter-spacing:-.1px}header>.honor-strip i{font-style:normal;color:rgba(255,255,255,.45)}@media(max-width:600px){header>.honor-strip{font-size:9.5px}}
