.customer-assistant{margin:12px 0 10px;padding:11px 0 0;border-top:1px solid rgba(25,60,52,.12)}
.assistant-fab-toggle{width:54px;height:54px;border:0;border-radius:50%;background:var(--accent,#b74b2b);color:#fff;display:grid;place-items:center;box-shadow:0 10px 24px rgba(28,58,45,.24);cursor:pointer;transition:transform .2s ease,background .2s ease}
.contact-fab{display:block;width:54px;height:118px}
.contact-fab{z-index:200!important}
.contact-standalone-toggle{position:fixed!important;right:22px;bottom:86px;z-index:100!important;width:54px;height:54px;border:0;border-radius:50%;background:var(--brand,#193c34);color:#fff;display:grid!important;place-items:center;box-shadow:0 10px 24px rgba(28,58,45,.24);cursor:pointer}
.contact-standalone-toggle:hover{background:var(--accent,#b74b2b);transform:translateY(-2px)}
.contact-standalone-toggle svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.accessibility-standalone-toggle{position:fixed!important;right:22px;bottom:150px!important;z-index:110!important;width:54px;height:54px;border:0;border-radius:50%;background:#595953;color:#fff;display:grid!important;place-items:center;box-shadow:0 10px 24px rgba(30,38,33,.22);cursor:pointer}
.accessibility-standalone-toggle:hover{background:var(--brand,#193c34)}
.accessibility-standalone-toggle svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.contact-fab > .contact-fab-toggle{display:none!important}
.contact-fab > .contact-fab-toggle,.contact-fab > .assistant-fab-toggle{position:fixed!important;right:22px;z-index:100!important;display:grid!important;visibility:visible!important;opacity:1!important}
.contact-fab > .contact-fab-toggle{bottom:86px}
.contact-fab > .assistant-fab-toggle{bottom:22px}
.contact-fab > .contact-fab-panel,.contact-fab > .contact-panel{position:fixed!important;right:22px;bottom:150px;z-index:101}
.contact-fab > .customer-assistant-panel{position:fixed!important;right:22px;bottom:86px;z-index:101}
.assistant-fab-toggle:hover{transform:translateY(-2px);background:var(--brand,#193c34)}
.assistant-fab-toggle:focus-visible,.assistant-panel-close:focus-visible{outline:3px solid rgba(189,101,55,.35);outline-offset:3px}
.assistant-fab-toggle svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.contact-fab > .contact-fab-panel,.contact-fab > .contact-panel{width:min(350px,calc(100vw - 28px));padding:18px;border-radius:16px;background:#fffdf8;box-shadow:0 18px 46px rgba(35,58,45,.22)}
.contact-details{display:grid;gap:7px;margin:12px 0 6px}
.contact-detail-row,.contact-wechat{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid #e0e7de;border-radius:10px;background:#f7faf5;color:var(--brand-dark,#193c34);text-decoration:none}
.contact-detail-row:hover{border-color:#a9c2aa;background:#eef5ec}
.contact-detail-row[data-copy]{cursor:copy}
.contact-detail-icon{width:28px;height:28px;border-radius:8px;background:#e3eee1;display:grid;place-items:center;font-size:15px;color:var(--brand,#193c34);flex:0 0 auto}
.contact-details small{display:block;color:var(--muted,#647068);font-size:9px;line-height:1.2}
.contact-details strong{display:block;margin-top:2px;font-size:11px;line-height:1.25}
.contact-wechat{align-items:flex-start;background:#fffaf2}
.contact-qr-placeholder{width:72px;height:72px;border:5px solid #fff;border-radius:7px;flex:0 0 auto;display:grid;place-items:center;background-color:#f7f2e7;background-image:repeating-conic-gradient(#193c34 0 25%,transparent 0 50%);background-size:14px 14px;box-shadow:0 0 0 1px #dbe2d8;position:relative;overflow:hidden}
.contact-qr-placeholder::after{content:"";position:absolute;inset:16px;background:#fff}
.contact-qr-placeholder span{position:relative;z-index:1;background:#fff;color:#193c34;border-radius:4px;padding:3px;font:800 10px var(--sans,Arial,sans-serif)}
.contact-wechat em{display:block;margin-top:3px;color:var(--muted,#647068);font-size:8px;line-height:1.25;font-style:normal}
.contact-panel-project{display:flex;justify-content:center;margin-top:10px;padding:11px;border-radius:9px;background:var(--accent,#b74b2b);color:#fff;font-size:11px;font-weight:800;text-decoration:none}
.contact-copy-toast{position:absolute;right:18px;bottom:18px;padding:7px 10px;border-radius:8px;background:#193c34;color:#fff;font-size:10px;font-weight:800;box-shadow:0 8px 20px rgba(20,48,38,.2)}
.contact-copy-toast[hidden]{display:none}
.customer-assistant-panel{position:absolute;right:0;bottom:64px;width:min(360px,calc(100vw - 28px));max-height:min(600px,calc(100vh - 100px));overflow:auto;padding:18px;background:#fffdf8;border:1px solid var(--line,#d7ddd2);border-radius:18px;box-shadow:0 18px 48px rgba(35,58,45,.24);color:var(--brand-dark,#193c34);z-index:220!important}
.customer-assistant-panel[hidden]{display:none}
.assistant-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.assistant-panel-close{border:0;background:transparent;color:var(--muted,#647068);font-size:22px;line-height:1;cursor:pointer;padding:0 2px}
.assistant-intro{display:flex;align-items:center;gap:8px;margin-bottom:8px;color:var(--brand-dark,#193c34)}
.assistant-intro strong{display:block;font-size:12px;line-height:1.1}
.assistant-intro small{display:block;margin-top:3px;color:var(--muted,#647068);font-size:9px;line-height:1.2}
.assistant-status{width:8px;height:8px;border-radius:50%;background:#6b9b75;box-shadow:0 0 0 3px rgba(107,155,117,.16);flex:0 0 auto}
.assistant-messages{display:grid;gap:8px;max-height:220px;overflow:auto;padding:2px 2px 2px 0;scrollbar-width:thin}
.assistant-message{max-width:96%;padding:8px 9px;border-radius:9px;font-size:10px;line-height:1.4}
.assistant-message-agent{justify-self:start;background:#eef3ec;color:var(--brand-dark,#193c34);border-top-left-radius:3px}
.assistant-message-user{justify-self:end;background:var(--accent,#b74b2b);color:#fff;border-top-right-radius:3px}
.assistant-links{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}
.assistant-links a{display:inline-flex;padding:4px 6px;border-radius:5px;background:rgba(255,255,255,.68);color:var(--brand-dark,#193c34);font-size:9px;font-weight:800;text-decoration:none}
.assistant-message-user .assistant-links a{background:rgba(255,255,255,.9)}
.assistant-suggestions{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0}
.assistant-suggestions button{border:1px solid #cad8ca;border-radius:999px;background:#fff;color:var(--brand-dark,#193c34);padding:5px 7px;font:700 9px/1.15 var(--sans,Arial,sans-serif);cursor:pointer}
.assistant-suggestions button:hover{background:#e7efe5;border-color:#9db8a1}
.assistant-form{display:flex;align-items:center;gap:5px;margin-top:12px;padding:4px 4px 4px 12px;border:1px solid #d5e0d5;border-radius:14px;background:#f3f7f1;box-shadow:inset 0 1px 2px rgba(25,60,52,.04)}
.assistant-form:focus-within{border-color:#9db9a1;box-shadow:0 0 0 3px rgba(157,185,161,.2)}
.assistant-form input{min-width:0;flex:1;border:0;outline:0;background:transparent;padding:8px 0;font:12px/1.25 var(--sans,Arial,sans-serif);color:var(--brand-dark,#193c34)}
.assistant-form input::placeholder{color:#8a958d}
.assistant-form button{width:34px;height:34px;border:0;border-radius:10px;background:var(--brand,#193c34);color:#fff;display:grid;place-items:center;cursor:pointer}
.assistant-form button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.assistant-form button:hover{background:var(--accent,#b74b2b)}
.assistant-note{font-size:9px!important;line-height:1.35!important;color:var(--muted,#647068)!important;margin:8px 0 0!important}
@media(max-width:720px){.contact-fab{width:50px;height:110px}.contact-standalone-toggle{right:14px;bottom:74px;width:50px;height:50px}.accessibility-standalone-toggle{right:14px;bottom:134px!important;width:50px;height:50px}.contact-fab > .assistant-fab-toggle{right:14px;bottom:14px}.contact-fab > .contact-fab-panel,.contact-fab > .contact-panel{right:14px;bottom:134px}.contact-fab > .customer-assistant-panel{right:14px;bottom:74px}.assistant-fab-toggle{width:50px;height:50px}.assistant-messages{max-height:165px}.assistant-suggestions{gap:4px}.assistant-suggestions button{font-size:8px;padding:5px 6px}}

/* Refined customer service surfaces */
.customer-assistant-panel{width:min(380px,calc(100vw - 28px));padding:0;overflow:hidden;background:#fffdf8;border:1px solid #d6e1d6;border-radius:20px;box-shadow:0 22px 58px rgba(20,48,38,.28)}
.customer-assistant-panel .assistant-panel-head{padding:17px 18px 16px;background:linear-gradient(135deg,#153b31 0%,#2d604d 100%);color:#fff}
.customer-assistant-panel .assistant-intro{margin:0;color:#fff}
.customer-assistant-panel .assistant-intro strong{font-size:14px;letter-spacing:-.01em}
.customer-assistant-panel .assistant-intro small{color:#dce9df;font-size:10px}
.customer-assistant-panel .assistant-status{background:#d7f2d9;box-shadow:0 0 0 4px rgba(215,242,217,.14)}
.customer-assistant-panel .assistant-panel-close{color:#fff;font-size:25px;opacity:.88}
.customer-assistant-panel .assistant-panel-close:hover{opacity:1}
.customer-assistant-panel .assistant-messages{max-height:235px;padding:15px 16px 7px;background:#fffdf8}
.customer-assistant-panel .assistant-message{max-width:94%;padding:10px 12px;border-radius:13px;font-size:11px;line-height:1.48;box-shadow:0 2px 8px rgba(30,58,43,.05)}
.customer-assistant-panel .assistant-message-agent{background:#eef5ed;border:1px solid #dce9db;border-top-left-radius:5px}
.customer-assistant-panel .assistant-message-user{background:#b74b2b;border-top-right-radius:5px}
.customer-assistant-panel .assistant-links a{background:#fff;border:1px solid #d6e4d5;padding:6px 8px;border-radius:8px}
.customer-assistant-panel .assistant-suggestions{padding:7px 16px 12px;margin:0;background:#fffdf8;border-top:1px solid #edf1eb}
.customer-assistant-panel .assistant-suggestions button{padding:7px 9px;border-color:#c9d9c8;background:#f7faf5;border-radius:10px;font-size:10px;font-weight:800}
.customer-assistant-panel .assistant-suggestions button:hover{background:#e6f0e3;border-color:#96b69a}
.customer-assistant-panel .assistant-form{margin:0;padding:11px 14px;background:#f1f5ef;border:0;border-top:1px solid #e1e9df;border-radius:0;box-shadow:none}
.customer-assistant-panel .assistant-form{display:grid;gap:8px}
.customer-assistant-panel .assistant-form input{font-size:12px;background:#fff;border:1px solid #d5e0d5;border-radius:11px;padding:10px 11px}
.customer-assistant-panel .assistant-form button{width:38px;height:38px;border-radius:11px;background:#b74b2b}
.customer-assistant-panel .assistant-form button:hover{background:#193c34}
.customer-assistant-panel .assistant-note{padding:0 16px 13px;margin:0!important;background:#f1f5ef;color:#728078!important;font-size:9px!important}
.contact-wechat{position:relative;z-index:1}
.contact-wechat-qr{width:76px;height:76px;object-fit:cover;border-radius:8px;flex:0 0 auto;background:#fff;border:1px solid #e2e8df;cursor:zoom-in;position:relative;z-index:2;transform-origin:center;transition:transform .22s ease,box-shadow .22s ease}
.contact-wechat-qr:hover,.contact-wechat-qr:focus{transform:scale(2.2);box-shadow:0 16px 32px rgba(20,48,38,.28);outline:3px solid rgba(183,75,43,.2);outline-offset:2px}
.contact-wechat strong{font-size:12px}
.customer-assistant-panel .assistant-panel-body{background:#fffdf8}
.customer-assistant-panel .assistant-welcome{padding:16px 16px 8px}
.customer-assistant-panel .assistant-welcome strong{display:block;font:700 16px/1.2 var(--serif,Georgia,serif);color:var(--brand-dark,#193c34)}
.customer-assistant-panel .assistant-welcome span{display:block;margin-top:5px;color:#6e7b72;font-size:10px;line-height:1.35}
.assistant-avatar{width:28px;height:28px;border-radius:9px;background:rgba(255,255,255,.16);display:grid;place-items:center;color:#f7d5bd;font-size:17px;flex:0 0 auto}
.customer-assistant-panel .assistant-suggestions{display:grid;gap:7px;padding:8px 16px 16px;border-top:0}
.customer-assistant-panel .assistant-suggestions button{display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:9px;align-items:center;text-align:left;padding:9px 10px;border-radius:11px;background:#f7faf5;border:1px solid #dbe7d9}
.customer-assistant-panel .assistant-suggestions button>span{grid-row:1/3;display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:#e2eee0;color:#4e7556;font-size:9px;font-weight:900}
.customer-assistant-panel .assistant-suggestions button strong{font-size:11px;line-height:1.1;color:var(--brand-dark,#193c34)}
.customer-assistant-panel .assistant-suggestions button small{margin-top:3px;color:#748078;font-size:9px;line-height:1.1}
.assistant-input-row{display:flex;align-items:flex-end;gap:7px}
.assistant-input-row textarea{display:block;min-width:0;flex:1;resize:none;min-height:40px;max-height:92px;overflow:auto;font:12px/1.3 var(--sans,Arial,sans-serif);color:var(--brand-dark,#193c34);background:#fff;border:1px solid #d5e0d5;border-radius:11px;padding:11px 12px;outline:0}
.assistant-input-row textarea:focus{border-color:#9db9a1;box-shadow:0 0 0 3px rgba(157,185,161,.2)}
.assistant-attach-row{display:flex;align-items:center;gap:8px;min-height:24px;margin-top:3px}
.assistant-attach-button{display:inline-flex;align-items:center;gap:5px;color:#587360;font-size:9px;font-weight:800;cursor:pointer}
.assistant-attach-button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.assistant-attach-button input{display:none}
.assistant-file-list{display:flex;flex-wrap:wrap;gap:4px;min-width:0}
.assistant-file-chip{display:inline-flex;max-width:160px;padding:4px 6px;border-radius:6px;background:#e8f0e5;color:#52705b;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.assistant-message-files{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}
.assistant-message-files span{display:inline-flex;padding:5px 6px;border-radius:7px;background:rgba(255,255,255,.75);font-size:9px;line-height:1.2}
@media(max-width:720px){.customer-assistant-panel{border-radius:18px}.customer-assistant-panel .assistant-messages{max-height:190px}.customer-assistant-panel .assistant-suggestions{padding-inline:12px}.customer-assistant-panel .assistant-form{padding-inline:11px}.contact-wechat-qr{width:70px;height:70px}.contact-wechat-qr:hover,.contact-wechat-qr:focus{transform:scale(1.8)}}
