
:root{--primary:#087f6b;--ink:#18332e;--muted:#70817b;--line:#e1e9e5;--canvas:#f5f8f6;--viewport-height:100dvh;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:14px;background:var(--canvas);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:9px;min-height:44px;padding:10px 15px;font-weight:600}button:hover{background:#f0f7f3}button:disabled{cursor:default;opacity:.6}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #5fbb98;outline-offset:3px}a{color:var(--primary);text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:29px;letter-spacing:-1px;line-height:1.25}h2{font-size:18px;letter-spacing:-.35px}h3{font-size:15px}small{font-size:12px}input,select,textarea{border:1px solid #dbe5de;border-radius:8px;background:#fff;color:var(--ink);padding:12px;min-height:44px;max-width:100%}textarea{min-height:100px;resize:vertical}label{display:flex;flex-direction:column;gap:8px;font-weight:600}input[type=checkbox]{width:20px;min-height:20px;accent-color:var(--primary)}.primary{background:var(--primary);color:#fff;border-color:var(--primary)}.primary:hover{background:#066b5a}.outline{color:var(--primary)}.muted{color:var(--muted);line-height:1.6}.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:750;color:var(--primary);display:block;margin-bottom:12px}.brand{font-size:34px;letter-spacing:-1.8px;font-weight:800;color:#173d32;display:inline-flex;align-items:center}.brand span{font-weight:400}.brand i{font-style:normal;color:#64bb8b;font-size:12px;margin-left:5px;margin-top:20px}.avatar{height:44px;width:44px;border-radius:50%;background:#d8ece2;color:#147052;display:flex;align-items:center;justify-content:center;font-weight:750;font-size:20px;flex-shrink:0;overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.avatar.small{width:36px;height:36px;font-size:14px}.dot{display:inline-block;background:#46b887;width:7px;height:7px;border-radius:50%;flex-shrink:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.login-page{min-height:100dvh;display:grid;place-items:center;background:radial-gradient(ellipse at 15% 20%,#e0eee5 0,transparent 55%),#f5f8f4}.login-card{width:min(430px,100%);padding:44px 35px}.login-card .brand{margin-bottom:60px}.login-card h1{font-size:40px;letter-spacing:-1.6px;margin-bottom:16px}.login-card form{margin:32px 0;display:grid;gap:20px}.login-card .primary{display:flex;justify-content:space-between;padding:15px 18px}.login-card small{color:var(--muted)}#error,#form-error{color:#ad3434;line-height:1.5}
.chat-page{background:#dce6df;min-height:100dvh;display:flex;justify-content:center}.chat-shell{width:100%;max-width:520px;height:var(--viewport-height);height:min(var(--viewport-height),100dvh);display:flex;flex-direction:column;background:#f4f1e9;box-shadow:0 10px 80px #15392b15;overflow:hidden}.chat-header{background:var(--primary);color:#fff;display:flex;gap:12px;align-items:center;padding:calc(13px + env(safe-area-inset-top)) 18px 13px;flex-shrink:0}.chat-header .avatar{background:#ffffff26;color:white}.chat-heading{flex:1;min-width:0}.chat-heading h1{font-size:17px;letter-spacing:-.2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-heading p{font-size:11px;margin-top:4px;line-height:1.4;opacity:.9}.header-help{background:transparent;color:inherit;border-color:#ffffff40;padding:7px 11px;font-size:12px}.header-help:hover{background:#ffffff20}.session-line{background:#eaf1e7;display:flex;align-items:center;gap:7px;font-size:10px;padding:7px 18px;color:#47644e}.session-line time{margin-left:auto;font-variant-numeric:tabular-nums}.messages{flex:1;overflow-y:auto;overscroll-behavior-y:contain;padding:18px 16px;display:flex;flex-direction:column;gap:12px;background-color:#f3f1e9;background-image:radial-gradient(#70856813 .8px,transparent .8px);background-size:15px 15px;min-height:0;scrollbar-width:thin}.day-label{align-self:center;background:#fff9;padding:5px 13px;border-radius:6px;font-size:11px;color:#69756c}.privacy-note{align-self:center;font-size:10px;max-width:85%;padding:7px 10px;background:#faf5da;border-radius:6px;text-align:center;color:#706d53;margin-bottom:10px}.bubble{padding:11px 12px 7px;max-width:91%;align-self:flex-start;background:white;border-radius:2px 13px 13px 13px;box-shadow:0 1px 1px #152b1a10;min-width:100px;overflow-wrap:anywhere;flex-shrink:0}.bubble p{font-size:14px;white-space:pre-wrap;line-height:1.55}.bubble.outgoing{background:#def2cd;align-self:flex-end;border-radius:13px 2px 13px 13px}.bubble.system-bubble{background:#ffffffb0;box-shadow:none;align-self:center;text-align:center;color:#758273;max-width:90%;border-radius:8px}.bubble.system-bubble p{font-size:11px}.bubble img,.bubble video{display:block;width:100%;max-height:300px;object-fit:contain;border-radius:8px;margin:10px 0}.message-time{font-size:9px;color:#7b897c;display:block;text-align:right;margin-top:5px}.sender-name{display:block;color:var(--primary);font-size:12px;margin-bottom:5px}.choice{width:100%;display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:5px;margin-top:10px;background:#f6faf6;border:1px solid #d4e4d8;padding:13px;color:var(--primary);min-height:49px}.choice:disabled{opacity:1;background:#f7f7f5;border-color:#e6e9e3;color:#8a938a}.choice strong{font-size:14px}.choice span,.choice small{font-size:12px;line-height:1.4;font-weight:400}.choice .price{font-size:19px;margin-top:3px}.choice del{font-size:11px}.tutorial-link{display:block;border:1px solid var(--line);padding:12px;margin:8px 0;border-radius:6px}.tutorial-notice{background:#fff7db;padding:10px;border-radius:6px;margin:8px 0}.tutorial-step{font-weight:750;color:var(--primary);margin-top:16px}.composer-wrap{background:#f4f6f1;padding:8px 10px calc(8px + env(safe-area-inset-bottom));flex-shrink:0}.composer{display:flex;gap:8px;align-items:center;padding:0}.composer input{flex:1;min-width:0;background:#fff;border:1px solid #e5e9e1;border-radius:24px;font-size:16px;min-height:46px;padding-left:17px}.send-button{border-radius:50%;height:46px;width:46px;background:var(--primary);color:#fff;border:0;flex-shrink:0;font-size:19px;padding:0}.send-button:hover{background:#0a6958}.composer-wrap small{display:block;text-align:center;font-size:9px;color:#94a08f;margin-top:8px}.back-button{border:0;min-height:36px;background:none;color:var(--primary);font-size:12px;padding:5px 8px}.feedback{font-size:12px;color:#8b602f;background:#fff9e7;padding:0 15px}.feedback:not(:empty){padding:10px 15px}.load-older{align-self:center;font-size:12px;background:#ffffffb0}.ios .chat-header{background:#f7f8f3;color:var(--ink);border-bottom:1px solid #e6eadd}.ios .chat-header .avatar{background:#d6e8da;color:var(--primary)}.ios .header-help{color:var(--primary);border:0}.ios .composer input{border-radius:21px}.ios .bubble{border-radius:15px 15px 15px 3px}.ios .bubble.outgoing{border-radius:15px 15px 3px 15px}
.panel-page{display:flex;min-height:100dvh;background:#f6f8f5}.sidebar{width:225px;flex-shrink:0;background:#fff;border-right:1px solid var(--line);padding:26px 20px;display:flex;flex-direction:column;height:100dvh;position:sticky;top:0}.sidebar .brand{margin:0 10px 40px}.workspace-label{font-size:9px;font-weight:750;letter-spacing:1.2px;color:#9ba79f;margin-bottom:10px}.sidebar select{font-size:13px;width:100%;font-weight:600;margin-bottom:26px;background:#fafcf9}.sidebar nav{display:flex;flex-direction:column;gap:7px}.sidebar nav a{padding:13px;border-radius:8px;font-weight:600;font-size:16px;color:#77897e;display:flex;gap:12px;align-items:center;min-height:46px}.sidebar nav a span{font-size:12px}.sidebar nav .selected{color:var(--primary);background:#eaf4ec}.sidebar-bottom{display:flex;align-items:center;gap:8px;margin-top:auto;border-top:1px solid var(--line);padding-top:20px}.sidebar-bottom strong{font-size:11px}.sidebar-bottom small{display:block;color:var(--muted);font-size:9px;margin-top:4px}.sidebar-bottom button{margin-left:auto;border:0;padding:0;min-width:25px}.panel-main{flex:1;min-width:0;padding:32px 30px 24px}.panel-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.panel-header .eyebrow{margin-bottom:9px;font-size:9px}.panel-header .muted{font-size:12px;margin-top:9px}.live-tag{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:30px;background:#fff;padding:10px 14px;font-size:10px;font-weight:650;letter-spacing:.5px}#notice:not(:empty){padding:12px 15px;background:#fff5d9;border-radius:8px;margin-bottom:15px;font-size:12px}.inbox{display:grid;grid-template-columns:285px minmax(290px,1fr) 235px;border:1px solid var(--line);border-radius:14px;overflow:hidden;height:calc(100dvh - 180px);min-height:500px;background:white}.conversation-list{border-right:1px solid var(--line);overflow:auto}.list-heading{display:flex;justify-content:space-between;align-items:center;padding:15px}.list-heading h2{font-size:15px}.list-heading button{border:0;padding:4px;min-width:30px}.conversation-list>input,.conversation-list>select{width:calc(100% - 30px);margin:0 15px 12px;font-size:11px;background:#f8faf7;min-height:38px}.conversation-item{display:flex;gap:11px;border:0;border-bottom:1px solid #edf1ea;border-radius:0;width:100%;padding:18px 14px;align-items:flex-start;text-align:left;background:#fff}.conversation-item.active{background:#edf6ed;border-left:3px solid var(--primary);padding-left:11px}.conversation-info{min-width:0;flex:1}.conversation-info strong{display:block;font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.conversation-info p{font-size:11px;color:#839183;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:5px 0 9px}.status-chip{font-size:9px;display:inline-block;border-radius:4px;padding:4px 7px;background:#edf3eb;color:#5d7d60;font-weight:500}.status-chip.queued{color:#ab7632;background:#fff0d3}.status-chip.human{color:#557a9c;background:#edf4fb}.operator-chat{display:flex;flex-direction:column;min-width:0;min-height:0}#operator-header{padding:19px 21px;background:#fff;border-bottom:1px solid var(--line);min-height:76px}#operator-header h2{font-size:14px}#operator-header small{color:var(--muted);display:block;margin-top:5px;font-size:10px}.operator-chat>.messages{padding:20px}.operator-chat .bubble{max-width:85%}.operator-chat .composer{padding:12px;background:#f7f9f5}.action-bar{display:flex;gap:5px;flex-wrap:wrap;padding:8px;border-top:1px solid var(--line)}.action-bar button,.action-bar select{font-size:10px;padding:8px;min-height:35px}.customer-details{padding:25px 20px;overflow:auto;border-left:1px solid var(--line)}.customer-details .eyebrow{font-size:9px;color:#8a998c}.detail{margin:22px 0;overflow-wrap:anywhere}.detail small{display:block;color:#91a08f;font-size:10px;margin-bottom:7px}.detail strong{font-size:12px;font-weight:550;line-height:1.5}.customer-details h3{font-size:11px;margin:24px 0 15px}.event{font-size:9px;line-height:1.8;color:#899784;overflow-wrap:anywhere}.total{font-size:24px;color:var(--primary);font-weight:750}.empty{margin:auto;text-align:center;padding:35px 20px;color:#899888;font-size:12px;line-height:1.7}.empty h2{color:#426646;margin-bottom:12px;font-size:19px}.empty-icon{font-size:32px;background:#e1edde;width:64px;height:64px;display:grid;place-items:center;border-radius:18px;margin:0 auto 24px;color:#4c8255}.admin-layout{display:grid;grid-template-columns:175px 1fr;gap:24px}.admin-tabs{display:flex;flex-direction:column;gap:4px}.admin-tabs button{text-align:left;font-size:12px;border:0;background:none;padding:11px 14px;font-weight:500}.admin-tabs .active{background:#e3eee3;color:var(--primary);font-weight:700}.admin-content{background:white;border:1px solid var(--line);border-radius:13px;padding:24px;min-height:500px}.section-heading{display:flex;gap:20px;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:24px;margin-bottom:8px}.section-heading p{font-size:11px;margin-top:7px}.section-heading button{white-space:nowrap;font-size:12px}.record{display:flex;align-items:center;gap:18px;padding:22px 2px;border-bottom:1px solid #edf0e9}.record>div{flex:1}.record p{font-size:12px;margin:5px 0}.record button{font-size:11px;min-height:36px}.record>div>strong{display:block;color:var(--primary);font-size:15px;margin-top:10px}dialog{border:0;border-radius:16px;box-shadow:0 24px 100px #16301e33;padding:25px;width:min(600px,calc(100% - 30px));max-height:90dvh;overflow:auto;color:var(--ink)}dialog::backdrop{background:#0c271d66;backdrop-filter:blur(3px)}dialog header,dialog footer{display:flex;justify-content:space-between;align-items:center;gap:12px}dialog header{margin-bottom:25px}dialog header button{border:0}dialog footer{margin-top:25px;justify-content:flex-end}#fields{display:grid;gap:18px}#fields label{font-size:12px}#fields input,#fields textarea,#fields select{font-size:14px}#form-error{margin-top:15px}.block-editor{border:1px solid var(--line);padding:15px;border-radius:8px}.block-editor h3{margin-bottom:15px}.block-row{display:flex;gap:6px;flex-wrap:wrap;background:#f5f8f3;padding:12px;margin-bottom:12px;border-radius:8px}.block-row select,.block-row textarea,.block-row input{width:100%}.block-row button{min-height:35px;font-size:11px}
@media(min-width:650px){.chat-page{padding:22px 0}.chat-shell{height:calc(100dvh - 44px);border-radius:17px}}@media(max-width:1250px){.inbox{grid-template-columns:260px 1fr}.customer-details{display:none}.panel-main{padding:25px 20px}.sidebar{width:195px;padding:25px 15px}}@media(max-width:850px){.sidebar{width:72px;padding:20px 10px}.sidebar .brand{font-size:0;margin:0 auto 25px}.sidebar .brand:before{content:'cp';font-size:25px;letter-spacing:-1px}.sidebar .brand i{display:none}.sidebar nav a{justify-content:center;padding:12px}.sidebar nav a span,.workspace-label,.sidebar-bottom>div:not(.avatar){display:none}.sidebar select{font-size:10px;padding:4px;width:52px}.sidebar-bottom{flex-direction:column}.sidebar-bottom button{margin:0}.panel-main{padding:25px 15px}.panel-header h1{font-size:24px}.admin-layout{grid-template-columns:1fr;gap:15px}.admin-tabs{flex-direction:row;overflow:auto}.admin-tabs button{white-space:nowrap}.live-tag{display:none}.inbox{grid-template-columns:220px 1fr}.action-bar{gap:3px}}@media(max-width:600px){.panel-page{display:block}.sidebar{position:relative;height:auto;width:100%;flex-direction:row;align-items:center;padding:8px 12px;gap:10px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{margin:0 5px 0 0}.sidebar select{margin:0;width:95px}.sidebar nav{flex-direction:row;margin-left:auto}.sidebar nav a{min-height:40px;padding:8px;font-size:18px}.sidebar-bottom{border:0;padding:0;margin:0}.sidebar-bottom .avatar{display:none}.sidebar-bottom button{min-height:40px}.panel-main{padding:22px 12px}.panel-header{margin-bottom:20px}.panel-header h1{font-size:24px}.panel-header .muted{font-size:11px}.inbox{grid-template-columns:1fr;height:auto;min-height:0}.conversation-list{max-height:260px;border-right:0;border-bottom:1px solid var(--line)}.conversation-item{padding:12px}.operator-chat{height:600px}.admin-content{padding:18px}.section-heading{gap:10px;align-items:flex-start}.section-heading h2{font-size:17px}.section-heading button{font-size:10px;padding:9px}.record{gap:9px}.record .status-chip{display:none}input,select,textarea,#fields input,#fields textarea,#fields select{font-size:16px}.conversation-list>input,.conversation-list>select{font-size:16px}}
[hidden]{display:none!important}
.payment-link{background:var(--primary);color:#fff;text-align:center;font-weight:700;min-height:48px}.payment-hint{display:block;margin-top:10px;line-height:1.5;color:var(--muted)}.copy-payment{width:100%;font-size:12px}

:root{--secondary:#d8ece2;--accent:#46b887;--header:#087f6b;--chat-background:#f3f1e9;--incoming-bubble:#fff;--outgoing-bubble:#def2cd;--system-message:#f4f6f1;--button:#087f6b;--disabled-button:#f7f7f5}
.chat-header,.ios .chat-header{background:var(--header);color:white}.ios .header-help{color:inherit}.messages{background-color:var(--chat-background)}.bubble{background:var(--incoming-bubble)}.bubble.outgoing{background:var(--outgoing-bubble)}.bubble.system-bubble{background:var(--system-message)}.choice,.tutorial-link{color:var(--button)}.choice:disabled{background:var(--disabled-button)}.payment-link,.send-button{background:var(--button);color:#fff}.connection-status{font-size:11px;text-align:center;padding:5px;background:var(--secondary);color:#254536}.chat-shell{position:relative}.bubble img.message-avatar{width:28px;height:28px;object-fit:cover;border-radius:50%;margin:0 0 6px}.choice img{width:54px;height:54px;object-fit:contain;margin:0}.bubble a{text-decoration:underline;text-underline-offset:3px}#new-message{position:absolute;right:16px;bottom:150px;background:var(--button);color:white;border-radius:24px;box-shadow:0 4px 20px #16301e30;z-index:3}#mobile-actions{display:flex;gap:5px;overflow:auto;padding:4px 10px;background:#f4f6f1;flex-shrink:0}#mobile-actions button{font-size:10px;min-height:32px;white-space:nowrap;padding:6px 9px;background:transparent}#recover,#new-conversation{margin:4px 10px;color:var(--primary)}#recovery-code{padding:10px;background:#fff}#recovery-code label{display:block}.unread-badge{float:right;background:var(--primary);color:#fff;border-radius:16px;min-width:22px;padding:4px;text-align:center;font-size:11px}.conversation-item.needs-help{border-left:3px solid #ce9a35}.conversation-info small{display:inline-block;font-size:10px;margin:5px}.block-row label{display:flex;align-items:center;gap:8px}.block-row label input{width:auto}.record{flex-wrap:wrap}.record>div{min-width:150px}#operator-image{max-width:125px;font-size:11px}button:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
@media(max-width:649px){.chat-page{height:var(--viewport-height,100dvh);overflow:hidden}.chat-shell{height:var(--viewport-height,100dvh);max-height:var(--viewport-height,100dvh);top:var(--viewport-top,0px)}.chat-header{padding-top:calc(12px + env(safe-area-inset-top))}.bubble{max-width:94%}.composer-wrap{padding-bottom:max(8px,env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.messages{-webkit-overflow-scrolling:touch}button{transition:opacity .15s,transform .12s,background-color .15s}button:active:not(:disabled){transform:scale(.98)}.message-enter{animation:message-appear .18s ease-out}.typing{font-size:12px;color:var(--muted);padding:6px 18px;background:var(--secondary)}.skeleton{width:70%;height:58px;border-radius:12px;background:linear-gradient(100deg,#ffffff80,#fff,#ffffff80);animation:loading-pulse 1s infinite alternate}.hours-row{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;gap:10px;margin:10px 0}.hours-row label{display:flex;align-items:center;gap:6px}.hours-row label input{width:auto}.hours-editor{border:1px solid var(--line);padding:15px;border-radius:8px}dialog form>label{display:block;margin:18px 0}.record code{overflow-wrap:anywhere;font-size:11px}#quick-replies{margin:6px 10px;max-width:calc(100% - 20px)}@keyframes message-appear{from{transform:translateY(5px);opacity:.4}to{transform:translateY(0);opacity:1}}@keyframes loading-pulse{from{opacity:.4}to{opacity:1}}@media(prefers-reduced-motion:reduce){.message-enter,.skeleton{animation:none}button{transition:none}}

@media(max-width:649px){.chat-page{position:fixed;inset:0}.chat-page .chat-shell{position:absolute;left:0;right:0;top:var(--viewport-top,0px)}}

.chat-wallpaper{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.15;pointer-events:none;z-index:0}.messages,.composer,.chat-header{position:relative;z-index:1}.platform-ios .chat-header{padding-top:max(12px,env(safe-area-inset-top));min-height:72px}.installer{max-width:1050px;margin:24px auto;padding:20px}.installer form,.installer article{padding:20px;margin:16px 0;border:1px solid #dce5e2;border-radius:12px}.installer label{display:block;margin:12px 0}.installer input{display:block;width:100%}.installer input[type=checkbox]{display:inline;width:auto}

body.platform-ios .bubble{border-radius:18px}body.platform-ios .composer{padding-bottom:max(14px,env(safe-area-inset-bottom));gap:10px}body.platform-ios .chat-header{border-radius:0;backdrop-filter:blur(18px)}body.platform-android .bubble{border-radius:12px}body.platform-android .composer{padding-bottom:max(10px,env(safe-area-inset-bottom))}body.platform-android .chat-header{min-height:64px}.chat-wallpaper~.messages{background:transparent}

.credential-card{padding:14px;border:1px solid #b9dacf;border-radius:14px;background:#f4faf7}.credential-card>div{display:grid;grid-template-columns:1fr auto;gap:6px;margin:12px 0}.credential-card label{grid-column:1/-1;font-size:.8rem}.credential-card input{min-width:0;width:100%}.credential-card button{font-size:.8rem}.admin-content details{padding:12px;border:1px solid #dde5e1;border-radius:10px}#fields details>label{display:block;margin-top:12px}

/* Shared choices: readable independently of the company's bubble/button colors. */
.choices{display:grid;gap:8px;margin-top:12px}.choices .choice{display:flex;align-items:flex-start;gap:10px;width:100%;min-height:48px;padding:12px 14px;margin:0;text-align:left;border:1px solid #cbd8d3;border-radius:14px;background:#fff;color:#172e26;box-shadow:0 2px 4px #14382c08;white-space:normal;opacity:1}.choice-content{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}.choice-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px}.choice-heading strong{font-size:14px;line-height:1.4;color:inherit}.choices .choice-description{display:block;font-size:12px;line-height:1.5;color:#52645e}.choice-features{display:flex;flex-direction:column;gap:2px}.choice-features small{font-size:11px;color:#52645e}.choice-pricing{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;margin-top:3px}.choice-pricing .price{font-size:18px;color:#154e3d}.choice-pricing del{font-size:12px;color:#68776f}.choice-discount,.choice-selected{font-size:11px;font-weight:700;color:#15543b;background:#e5f4eb;padding:3px 7px;border-radius:20px}.choices .choice.is-selected{border:2px solid #237953;background:#eff9f3;padding:11px 13px}.choices .choice:disabled{cursor:default;opacity:1}.choices .choice.is-consumed:not(.is-selected){background:#f5f7f6;border-color:#dfe5e2;color:#64736c;box-shadow:none}.choices .choice:disabled:not(.is-selected) .choice-description,.choices .choice:disabled:not(.is-selected) .price{color:#64736c}.choices .choice img.choice-image{flex:none;width:44px;height:44px;object-fit:contain;border-radius:8px;margin:0}.choice:focus-visible{outline:3px solid #218459;outline-offset:2px}@media(hover:hover){.choices .choice:hover:not(:disabled){background:#f1f8f4;border-color:#6b9c85}}#mobile-actions:empty{display:none}.notification-dialog{width:min(92vw,420px);padding:26px;border:0;border-radius:22px;color:#18372c;background:#fff;box-shadow:0 24px 100px #0004}.notification-dialog::backdrop{background:#132c2466;backdrop-filter:blur(3px)}.notification-dialog h2{font-size:23px;line-height:1.2;margin-bottom:14px}.notification-dialog p{font-size:14px;line-height:1.6}.notification-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.notification-actions button{min-height:44px;flex:1}.workspace-name{font-weight:600;padding:10px 0;overflow-wrap:anywhere}.journey-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.journey-toolbar input{flex:1;min-width:180px}.journey-cards{display:grid;gap:14px;margin-top:20px}.journey-card{border:1px solid #dce5e0;border-radius:16px;padding:18px;background:#fff}.journey-card h3{font-size:15px;line-height:1.6;margin-bottom:8px}.journey-card>p{font-size:12px;margin:12px 0;color:#52645e}.journey-card .status-chip{white-space:normal;line-height:1.5}.journey-editor{width:min(94vw,740px);max-height:90dvh;border:0;border-radius:18px;padding:24px}.journey-editor label{display:block;margin:12px 0}.journey-editor label select{display:block;width:100%;margin-top:7px}.journey-editor footer{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.admin-tabs details{margin-top:14px}.admin-tabs details>button{display:block;width:100%}.admin-tabs summary{padding:12px;cursor:pointer;font-size:12px;font-weight:700}@media(max-width:649px){.choices{gap:7px}.choices .choice{padding:11px 12px}.choices .choice.is-selected{padding:10px 11px}.choice-heading strong{font-size:14px}.journey-toolbar button{flex:1;min-width:130px}.journey-card{padding:14px}.journey-editor{padding:16px}.journey-editor .block-row{display:flex;flex-wrap:wrap}.journey-editor .block-row textarea,.journey-editor .block-row input:not([type=checkbox]){width:100%}}

.choices .choice{flex-direction:row}.choices .choice-selected,.choices .choice-discount{font-weight:700;font-size:11px}

/* CHATPIX v3 · tutorial legível + alerta forte de nova mensagem */
.tutorial-app-image{width:min(180px,62vw)!important;height:min(180px,62vw)!important;object-fit:contain!important;margin:14px auto 18px!important;border-radius:20px!important;background:#fff;padding:10px;box-shadow:0 8px 28px #15392b18}
.tutorial-heading{font-size:20px!important;line-height:1.25!important;font-weight:900!important;letter-spacing:.01em!important;color:#153e31!important;margin:18px 0 7px!important;text-transform:uppercase}
.tutorial-app-name{font-size:25px!important;line-height:1.12!important;font-weight:950!important;letter-spacing:.01em!important;color:var(--button)!important;margin:8px 0 16px!important;text-transform:uppercase}
.tutorial-step{font-size:16px!important;line-height:1.42!important;font-weight:800!important;margin-top:16px!important}
.tutorial-notice{font-size:15px!important;line-height:1.5!important;font-weight:700!important;padding:12px 13px!important}
@media(max-width:380px){.tutorial-heading{font-size:18px!important}.tutorial-app-name{font-size:22px!important}}

.chatpix-unread-alert{position:fixed;z-index:9998;top:calc(10px + env(safe-area-inset-top));left:50%;transform:translateX(-50%);display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:9px;min-width:min(90vw,360px);max-width:92vw;padding:10px 13px;border:0;border-radius:18px;background:#102e26;color:#fff;box-shadow:0 12px 36px #0005;text-align:left}
.chatpix-unread-alert strong{font-size:14px;line-height:1.2}.chatpix-unread-count{display:grid;place-items:center;min-width:27px;height:27px;padding:0 7px;border-radius:999px;background:#fff;color:#087f6b;font-weight:900;font-size:13px}.chatpix-unread-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#ffffff1c}.chatpix-unread-icon svg{width:25px;height:25px;fill:#fff}.chatpix-unread-alert.pulse{animation:chatpix-notice-pop .45s ease-out,chatpix-notice-glow 1.3s ease-out 2}.chatpix-unread-alert[hidden]{display:none!important}
@keyframes chatpix-notice-pop{0%{transform:translateX(-50%) translateY(-16px) scale(.94);opacity:0}100%{transform:translateX(-50%) translateY(0) scale(1);opacity:1}}
@keyframes chatpix-notice-glow{0%,100%{box-shadow:0 12px 36px #0005}50%{box-shadow:0 12px 42px #087f6baa,0 0 0 5px #46b88733}}

/* Meta in-app browser: não inicia o atendimento antes de tentar sair do preview. */
.external-browser-gate{position:fixed;z-index:10050;inset:0;display:grid;place-items:center;padding:22px;background:linear-gradient(160deg,#082f28,#0d6f5d);color:#fff}.external-browser-card{width:min(100%,440px);padding:28px 24px;border-radius:26px;background:#fff;color:#17392f;box-shadow:0 24px 90px #0007;text-align:center}.external-browser-badge{display:inline-block;margin-bottom:14px;padding:5px 10px;border-radius:999px;background:#e7f4ee;color:#087f6b;font-size:11px;font-weight:900;letter-spacing:.12em}.external-browser-card h1{font-size:25px;line-height:1.16;margin:0 0 13px}.external-browser-card p{font-size:15px;line-height:1.55;margin:0 0 12px}.external-browser-status{min-height:23px;color:#0c6e5c;font-weight:750}.external-browser-card small{display:block;margin:12px 0 18px;font-size:12px;line-height:1.5;color:#60736c}.external-browser-open{width:100%;min-height:54px;border:0;border-radius:15px;background:#087f6b;color:#fff;font-size:15px;font-weight:900;letter-spacing:.02em}.external-browser-continue{margin-top:10px;border:0;background:transparent;color:#6b7c76;text-decoration:underline;font-size:12px}.external-browser-blocked body{overflow:hidden}
@media(max-width:420px){.external-browser-card{padding:24px 18px}.external-browser-card h1{font-size:22px}}

/* CHATPIX V5 · tutorial ultra-legível para clientes pouco familiarizados com tecnologia */
.tutorial-app-image{width:min(230px,72vw)!important;height:min(230px,72vw)!important;object-fit:contain!important;margin:16px auto 20px!important;border-radius:22px!important;background:#fff!important;padding:12px!important;box-shadow:0 10px 30px #15392b20!important}
.tutorial-heading{font-size:23px!important;line-height:1.18!important;font-weight:950!important;letter-spacing:.012em!important;color:#123d30!important;margin:22px 0 9px!important;text-transform:uppercase!important}
.tutorial-app-name{font-size:30px!important;line-height:1.08!important;font-weight:950!important;letter-spacing:.015em!important;color:var(--button)!important;margin:10px 0 20px!important;text-transform:uppercase!important;overflow-wrap:anywhere}
.tutorial-step{font-size:18px!important;line-height:1.45!important;font-weight:850!important;margin:19px 0 8px!important;color:#183c30!important}
.tutorial-text{font-size:17px!important;line-height:1.58!important;margin:8px 0 13px!important;color:#293e36!important}
.tutorial-notice{font-size:16px!important;line-height:1.55!important;font-weight:750!important;padding:14px 15px!important;margin:13px 0!important;border-radius:13px!important;background:#fff7dc!important;color:#5d4818!important}
.bubble .tutorial-link{display:flex!important;align-items:center!important;justify-content:center!important;min-height:52px!important;padding:13px 15px!important;margin:12px 0!important;border-radius:14px!important;background:#eef7f2!important;font-size:16px!important;line-height:1.35!important;font-weight:850!important;text-align:center!important;text-decoration:none!important;overflow-wrap:anywhere}
.tutorial-code{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;margin:12px 0 17px;padding:15px;border:2px solid #bad7ca;border-radius:15px;background:#f4fbf7;color:#123d30}.tutorial-code strong{font-size:18px;line-height:1.35;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;overflow-wrap:anywhere;user-select:all}.tutorial-code button{min-height:42px;padding:9px 12px;border-radius:11px;background:var(--button);color:#fff;border:0;font-weight:800}
@media(max-width:380px){.tutorial-heading{font-size:21px!important}.tutorial-app-name{font-size:27px!important}.tutorial-step{font-size:17px!important}.tutorial-text{font-size:16px!important}.tutorial-code{grid-template-columns:1fr}.tutorial-code button{width:100%}}

/* CHATPIX V5.2 · acabamento de produção */
.company-header-icon{width:48px;height:48px;min-width:48px;aspect-ratio:1;border-radius:9999px!important;overflow:hidden;border:2px solid #ffffff55;box-shadow:0 4px 14px #042b2040;background:#fff!important;color:var(--primary)!important}
.company-header-icon img{display:block;width:100%!important;height:100%!important;margin:0!important;padding:0!important;border-radius:9999px!important;object-fit:cover!important;background:#fff}
.ios .company-header-icon{border-color:#087f6b33;box-shadow:0 3px 12px #173b2d1f}

#company-subtitle{position:relative;display:inline-flex;align-items:center;width:max-content;max-width:100%;min-height:24px;margin-top:5px!important;padding:4px 9px;border:1px solid #ffffff2b;border-radius:999px;background:#ffffff18;color:inherit;font-size:11.5px!important;line-height:1.25!important;font-weight:850;letter-spacing:.018em;opacity:1!important;overflow:hidden;box-shadow:inset 0 1px 0 #ffffff20;animation:chatpix-subtitle-breathe 2.8s ease-in-out infinite}
#company-subtitle::after{content:"";position:absolute;inset:-60% auto -60% -45%;width:28%;transform:rotate(18deg);background:linear-gradient(90deg,transparent,#ffffff55,transparent);animation:chatpix-subtitle-shine 4.2s ease-in-out infinite;pointer-events:none}
.ios #company-subtitle{color:#087f6b;background:#087f6b0e;border-color:#087f6b22;box-shadow:inset 0 1px 0 #fff}
.ios #company-subtitle::after{background:linear-gradient(90deg,transparent,#087f6b24,transparent)}
@keyframes chatpix-subtitle-breathe{0%,100%{transform:translateY(0);box-shadow:inset 0 1px 0 #ffffff20,0 0 0 0 #ffffff00}50%{transform:translateY(-1px);box-shadow:inset 0 1px 0 #ffffff28,0 3px 12px #001f171c}}
@keyframes chatpix-subtitle-shine{0%,58%{left:-45%;opacity:0}66%{opacity:1}84%{left:120%;opacity:.9}100%{left:120%;opacity:0}}

/* CTA de pagamento: contraste alto + movimento discreto + feedback real ao toque. */
.bubble .payment-link{position:relative!important;isolation:isolate;display:grid!important;grid-template-columns:44px minmax(0,1fr) 22px!important;align-items:center!important;gap:10px!important;width:100%!important;min-height:70px!important;margin:16px 0 10px!important;padding:11px 14px!important;border:0!important;border-radius:18px!important;color:#fff!important;background:linear-gradient(135deg,var(--button,var(--primary)) 0%,#0aa17e 52%,#056b5a 100%)!important;box-shadow:0 10px 28px #076d5850,0 0 0 1px #ffffff24 inset!important;text-decoration:none!important;overflow:hidden!important;transform:translateZ(0);transition:transform .16s ease,filter .16s ease,box-shadow .16s ease;animation:chatpix-pay-breathe 3.1s ease-in-out infinite}
.bubble .payment-link::before{content:"";position:absolute;z-index:-1;top:-70%;bottom:-70%;left:-38%;width:28%;transform:rotate(18deg);background:linear-gradient(90deg,transparent,#ffffff66,transparent);animation:chatpix-pay-shine 2.9s ease-in-out infinite}
.bubble .payment-link::after{content:"";position:absolute;inset:3px;border:1px solid #ffffff35;border-radius:15px;pointer-events:none}
.payment-link-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#ffffff20;border:1px solid #ffffff28;font-size:21px;box-shadow:inset 0 1px 0 #ffffff30}
.payment-link-copy{display:flex;min-width:0;flex-direction:column;gap:3px;text-align:left}.payment-link-copy strong{font-size:17px;line-height:1.05;letter-spacing:.025em;color:#fff;text-shadow:0 1px 2px #002e245e}.payment-link-copy small{font-size:11px;line-height:1.25;color:#effff9;font-weight:700;opacity:.96}.payment-link-arrow{font-size:31px;line-height:1;color:#fff;font-weight:300;transform:translateX(0);animation:chatpix-pay-arrow 1.5s ease-in-out infinite}
.payment-link.is-pressed{transform:scale(.975)!important;filter:brightness(.96);box-shadow:0 5px 16px #076d5840!important}.payment-link.payment-ready{will-change:transform,box-shadow}
.payment-ripple{position:absolute;z-index:3;width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;background:#fff8;pointer-events:none;animation:chatpix-pay-ripple .58s ease-out forwards}
.copy-payment{width:100%;min-height:38px;border-style:dashed;font-size:11px;color:#41675a;background:#f7fbf9}.payment-hint{display:block;margin:7px 2px 4px!important;line-height:1.45;color:#65776f!important}
@keyframes chatpix-pay-breathe{0%,100%{box-shadow:0 10px 28px #076d5850,0 0 0 1px #ffffff24 inset}50%{box-shadow:0 13px 34px #076d586b,0 0 0 4px #0aa17e1f,0 0 0 1px #ffffff35 inset}}
@keyframes chatpix-pay-shine{0%,52%{left:-38%;opacity:0}60%{opacity:1}82%{left:118%;opacity:.85}100%{left:118%;opacity:0}}
@keyframes chatpix-pay-arrow{0%,100%{transform:translateX(0)}50%{transform:translateX(4px)}}
@keyframes chatpix-pay-ripple{0%{transform:scale(1);opacity:.75}100%{transform:scale(18);opacity:0}}
@media(max-width:380px){.bubble .payment-link{grid-template-columns:40px minmax(0,1fr) 18px!important;padding:10px 11px!important}.payment-link-icon{width:38px;height:38px}.payment-link-copy strong{font-size:16px}.payment-link-copy small{font-size:10.5px}}
@media(prefers-reduced-motion:reduce){#company-subtitle,.bubble .payment-link,.payment-link-arrow,#company-subtitle::after,.bubble .payment-link::before{animation:none!important}}


/* CHATPIX V5.3 · contraste do destaque, avatar limpo e scroll mais previsível */
.chat-header .company-header-icon.has-image{
  width:50px!important;height:50px!important;min-width:50px!important;
  border:0!important;background:transparent!important;box-shadow:none!important;
  overflow:hidden!important;border-radius:9999px!important;padding:0!important;
}
.chat-header .company-header-icon.has-image img{
  width:100%!important;height:100%!important;display:block!important;
  border:0!important;border-radius:9999px!important;background:transparent!important;
  object-fit:cover!important;transform:scale(1.035);transform-origin:center;
}
.ios .chat-header .company-header-icon.has-image{border:0!important;background:transparent!important;box-shadow:none!important}

/* O destaque precisa continuar legível mesmo quando primary/header/accent forem parecidos. */
#company-subtitle,.ios #company-subtitle{
  color:#fff!important;
  background:rgba(8,24,20,.46)!important;
  border:1px solid rgba(255,255,255,.30)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 2px 8px rgba(0,0,0,.12)!important;
  text-shadow:0 1px 2px rgba(0,0,0,.28)!important;
}
#company-subtitle::before{
  content:"";width:5px;height:5px;border-radius:50%;flex:0 0 5px;
  margin-right:6px;background:#fff;box-shadow:0 0 0 3px rgba(255,255,255,.13);
}
#company-subtitle::after,.ios #company-subtitle::after{
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.42),transparent)!important;
}

/* Barra de rolagem propositalmente discreta: indica que há mais conteúdo sem poluir o chat. */
.messages{scrollbar-width:thin;scrollbar-color:rgba(31,83,68,.28) transparent}
.messages::-webkit-scrollbar{width:4px}
.messages::-webkit-scrollbar-track{background:transparent}
.messages::-webkit-scrollbar-thumb{background:rgba(31,83,68,.25);border-radius:999px}
.messages::-webkit-scrollbar-thumb:hover{background:rgba(31,83,68,.38)}

/* V5.4 · credenciais mais legíveis + CTA pós-pagamento WhatsApp */
.credential-card{position:relative;overflow:hidden}
.credential-card h3{margin-bottom:10px;font-size:17px;letter-spacing:-.01em}
.credential-card .credential-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;margin:12px 0}
.credential-card .credential-row label{grid-column:1/-1;font-size:11.5px;font-weight:800;color:#476157;text-transform:none;letter-spacing:.01em}
.credential-card .credential-row input{min-height:42px;border-radius:10px;background:#fff;font-size:15px;font-weight:750;color:#193f34}
.credential-card .credential-expiration input{font-size:17px;font-weight:900;letter-spacing:.01em}
.credential-copy-all{width:100%;min-height:48px;margin-top:14px;border:0!important;border-radius:13px!important;background:linear-gradient(135deg,var(--button,var(--primary)),#0a9273)!important;color:#fff!important;font-size:14px!important;font-weight:900!important;letter-spacing:.035em;box-shadow:0 8px 20px #08745d30}
.credential-copy-all:active{transform:scale(.985)}
.whatsapp-support-link{position:relative;display:grid!important;grid-template-columns:40px minmax(0,1fr) 20px!important;align-items:center!important;gap:10px!important;width:100%!important;min-height:62px!important;margin:14px 0 7px!important;padding:10px 13px!important;border:0!important;border-radius:17px!important;background:linear-gradient(135deg,#25d366 0%,#16a958 58%,#0d8847 100%)!important;color:#fff!important;text-decoration:none!important;box-shadow:0 9px 24px #128f493d,0 0 0 1px #ffffff24 inset!important;overflow:hidden!important}
.whatsapp-support-link::after{content:"";position:absolute;inset:3px;border:1px solid #ffffff2f;border-radius:14px;pointer-events:none}
.whatsapp-support-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#ffffff20;border:1px solid #ffffff28;font-size:20px}
.whatsapp-support-text{font-size:15px;font-weight:950;line-height:1.08;letter-spacing:.02em;text-align:left;color:#fff}
.whatsapp-support-arrow{font-size:29px;line-height:1;color:#fff;font-weight:300}
.whatsapp-support-link:active{transform:scale(.985)}

/* CHATPIX V5.5 · Agent inbox refinements */
.agent-panel .panel-main{padding:14px 18px 12px}
.agent-panel .panel-header{margin-bottom:10px;min-height:46px}
.agent-panel .panel-header .eyebrow{display:none}
.agent-panel .panel-header h1{font-size:19px;line-height:1.1}
.agent-panel .panel-header .muted{margin-top:4px;font-size:10.5px}
.agent-panel .live-tag{padding:7px 11px}
.agent-panel .inbox{height:calc(100dvh - 82px);min-height:560px}
.nav-unread{margin-left:auto;display:grid;place-items:center;min-width:23px;height:23px;padding:0 6px;border-radius:999px;background:#e53e3e;color:#fff;font-size:10px;line-height:1;font-weight:900;box-shadow:0 3px 10px #9f272735}
.list-heading>div{display:flex;align-items:center;gap:8px;min-width:0}.list-unread{display:inline-flex;align-items:center;min-height:22px;padding:3px 7px;border-radius:999px;background:#fff0f0;color:#b63333;font-size:9px;font-weight:850;white-space:nowrap}.status-chip.waiting-customer{background:#f1f0ff;color:#6356a6}

.operator-actions{position:relative;flex-shrink:0;border-top:1px solid var(--line);background:#f8faf7;padding:9px 10px 10px}
.agent-composer-row{display:grid;grid-template-columns:44px 44px minmax(0,1fr);align-items:center;gap:8px}
.agent-composer{padding:0!important;background:transparent!important;min-width:0;width:100%}
.agent-composer input{min-height:46px;background:#fff;border:1px solid #dfe7df;box-shadow:0 2px 8px #15392b0b}
.composer-tool-button{width:44px;height:44px;min-width:44px;padding:0;border:1px solid #dce6de;border-radius:14px;background:#fff;color:#4a6758;display:grid;place-items:center;box-shadow:0 2px 9px #15392b0d;transition:.16s ease}
.composer-tool-button svg{width:21px;height:21px;display:block}.composer-tool-button:hover:not(:disabled),.composer-tool-button.active{background:#e8f4ed;color:var(--primary);border-color:#c6ddce;box-shadow:0 5px 16px #1d60401a}.composer-tool-button:disabled{opacity:.38;cursor:not-allowed}.image-tool-button{color:#2f765d}.image-tool-button.loading{pointer-events:none;position:relative}.image-tool-button.loading svg{opacity:.18}.image-tool-button.loading:after{content:"";position:absolute;width:17px;height:17px;border:2px solid #c9ded2;border-top-color:var(--primary);border-radius:50%;animation:agent-spin .7s linear infinite}@keyframes agent-spin{to{transform:rotate(360deg)}}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

.agent-tools-menu{position:absolute;left:10px;bottom:68px;z-index:20;width:min(390px,calc(100% - 20px));max-height:min(560px,70dvh);overflow:auto;padding:9px;border:1px solid #dbe5dd;border-radius:17px;background:rgba(255,255,255,.98);box-shadow:0 20px 60px #173d2e2b,0 2px 8px #173d2e12;backdrop-filter:blur(14px);transform-origin:left bottom;animation:agent-menu-in .14s ease-out}
@keyframes agent-menu-in{from{opacity:0;transform:translateY(7px) scale(.98)}to{opacity:1;transform:none}}
.tool-menu-heading{padding:8px 9px 10px;border-bottom:1px solid #edf1ed;margin-bottom:7px}.tool-menu-heading strong{font-size:12px;color:#29483a}.tool-menu-heading small{display:block;margin-top:3px;color:#8a998f;font-size:9.5px}.tool-field{display:block;padding:7px 8px}.tool-field>span,.tool-resume label>span{display:block;margin:0 0 5px;color:#7f8f85;font-size:9px;font-weight:800;letter-spacing:.03em;text-transform:uppercase}.tool-field select,#quick-replies{width:100%;max-width:none!important;margin:0!important;min-height:39px;background:#f8faf8;font-size:11px}
.tool-action{width:100%;display:grid;grid-template-columns:34px 1fr;align-items:center;gap:9px;margin:2px 0;padding:9px 10px;border:0;border-radius:11px;background:transparent;text-align:left;color:#385648}.tool-action:hover:not(:disabled){background:#edf6ef}.tool-action .tool-icon{width:31px;height:31px;border-radius:9px;display:grid;place-items:center;background:#edf4ef;color:#47725c;font-size:15px;font-weight:850}.tool-action strong{display:block;font-size:11px}.tool-action small{display:block;margin-top:2px;color:#89968e;font-size:9px;line-height:1.35;font-weight:500}.tool-action.tool-primary .tool-icon{background:#dff1e5;color:#15734d}.tool-action.whatsapp-tool .tool-icon{background:#e3f7e9;color:#128448}.tool-action.tool-danger{color:#954343}.tool-action.tool-danger .tool-icon{background:#fff0f0;color:#bc4141}.tool-action:disabled{opacity:.4;cursor:not-allowed}
.tool-resume{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:end;margin:7px 3px;padding:9px;border:1px solid #e5ebe6;border-radius:12px;background:#fafcfa}.tool-resume label{min-width:0}.tool-resume select{width:100%;min-height:38px;font-size:10px}.tool-resume button{min-height:38px;padding:8px 10px;font-size:10px;white-space:nowrap}

.customer-details .event-history{margin-top:24px;padding-top:16px;border-top:1px solid #edf1ed}.event-history h3{margin:0 0 10px!important;font-size:11px!important;color:#4d6959}.event-card{display:grid;grid-template-columns:30px minmax(0,1fr);gap:8px;align-items:start;padding:8px 0;border-bottom:1px solid #f0f3ef}.event-icon{width:28px;height:28px;border-radius:9px;background:#edf5ef;color:#4a725c;display:grid;place-items:center;font-size:11px;font-weight:900}.event-copy{min-width:0}.event-copy strong{display:block;font-size:10px;line-height:1.3;color:#526b5c}.event-copy time{display:block;margin-top:2px;color:#9aa59e;font-size:8.5px}.event-copy small{display:block;margin-top:3px;color:#7e8c83;font-size:9px;line-height:1.35;overflow-wrap:anywhere}.customer-history-button{width:100%;margin-top:7px;font-size:10px}.customer-history-card{padding:10px;border-radius:10px;background:#f8faf8}.customer-history-card h3:first-child{margin-top:0}

@media(max-width:1250px){.agent-panel .panel-main{padding:12px}.agent-panel .inbox{height:calc(100dvh - 74px)}}
@media(max-width:850px){.agent-panel .panel-header .muted{display:none}.agent-panel .panel-header{min-height:34px}.agent-panel .inbox{height:calc(100dvh - 62px)}}
@media(max-width:600px){.agent-panel .panel-main{padding:8px}.agent-panel .panel-header{display:none}.agent-panel .inbox{height:auto;min-height:0}.agent-composer-row{grid-template-columns:42px 42px minmax(0,1fr)}.composer-tool-button{width:42px;height:42px;min-width:42px}.agent-tools-menu{position:fixed;left:10px;right:10px;bottom:76px;width:auto;max-height:62dvh}.operator-actions{padding-bottom:max(9px,env(safe-area-inset-bottom))}}

/* CHATPIX V5.6 · envio de imagem do cliente */
.customer-composer{display:grid;grid-template-columns:44px minmax(0,1fr) 46px;align-items:center;gap:8px}
.customer-composer>input#message{width:100%;min-width:0}
.customer-image-button{width:44px;height:44px;min-width:44px;padding:0;border:1px solid #dce6de;border-radius:50%;background:#fff;color:var(--primary);display:grid;place-items:center;box-shadow:0 2px 9px #15392b0d;transition:transform .15s ease,background .15s ease,border-color .15s ease,opacity .15s ease}
.customer-image-button svg{width:21px;height:21px;display:block}.customer-image-button:hover:not(:disabled){background:#eaf4ed;border-color:#c3dacb}.customer-image-button:active:not(:disabled){transform:scale(.94)}.customer-image-button:disabled{opacity:.32;cursor:not-allowed;filter:grayscale(.25)}
.customer-image-button.loading{position:relative;pointer-events:none}.customer-image-button.loading svg{opacity:.16}.customer-image-button.loading:after{content:"";position:absolute;width:18px;height:18px;border:2px solid #c9ded2;border-top-color:var(--primary);border-radius:50%;animation:agent-spin .7s linear infinite}
@media(max-width:649px){.customer-composer{grid-template-columns:42px minmax(0,1fr) 46px;gap:7px}.customer-image-button{width:42px;height:42px;min-width:42px}}


/* CHATPIX V5.6.2 · correção rápida de e-mail/telefone */
.contact-correction-button{
  display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:100%;
  margin:0 2px 5px;padding:4px 8px;min-height:34px;border:0;background:transparent;
  color:var(--primary);font-size:12px;font-weight:750;line-height:1.25;
  text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;
}
.contact-correction-button::before{content:"↶";font-size:15px;line-height:1;text-decoration:none}
.contact-correction-button:hover:not(:disabled){background:#eaf4ed;border-radius:10px}
.contact-correction-button:active:not(:disabled){transform:translateY(1px)}
.contact-correction-button[hidden]{display:none!important}

/* CHATPIX V5.8 — tutoriais extremamente visuais para instalação */
.tutorial-guide-image{
  display:block!important;
  width:100%!important;
  max-width:430px!important;
  max-height:none!important;
  height:auto!important;
  object-fit:contain!important;
  margin:16px auto 20px!important;
  border-radius:16px!important;
  background:#fff!important;
  padding:7px!important;
  border:1px solid #dce7e0!important;
  box-shadow:0 10px 28px #102f241c!important;
}
.tutorial-code{
  border-width:3px!important;
  background:#effaf5!important;
  padding:17px!important;
}
.tutorial-code strong{
  font-size:26px!important;
  line-height:1.2!important;
  font-weight:950!important;
  letter-spacing:.025em!important;
  text-align:center!important;
}
.tutorial-code button{font-size:14px!important}
@media(max-width:380px){
  .tutorial-code strong{font-size:23px!important}
  .tutorial-guide-image{border-radius:13px!important}
}

/* CHATPIX V5.9 — cards de plano orientados à promoção */
.plan-promo-pricing{display:flex;flex-direction:column;align-items:stretch;gap:7px;margin-top:7px;width:100%}.plan-original-row{display:flex;align-items:center;gap:7px;min-height:22px}.plan-original-label{font-size:9px!important;font-weight:750!important;letter-spacing:.07em;color:#8b9690!important}.plan-original-price{position:relative;display:inline-block;font-size:12px!important;line-height:1.1;font-weight:750!important;color:#6d7772!important;padding:1px 3px}.plan-original-price::before,.plan-original-price::after{content:"";position:absolute;left:-4px;top:50%;width:calc(100% + 8px);height:2.5px;border-radius:4px;background:#dc3434;box-shadow:0 1px 2px #7a0f0f2b;transform-origin:center}.plan-original-price::before{transform:translateY(-50%) rotate(10deg)}.plan-original-price::after{transform:translateY(-50%) rotate(-10deg)}.plan-direct-offer{position:relative;display:grid;grid-template-columns:1fr auto;grid-template-areas:"label badge" "price price";gap:2px 8px;align-items:center;padding:9px 11px;border:1px solid #7dc49e;border-radius:12px;background:linear-gradient(115deg,#eaf8ef,#f8fff9,#e8f8ef);box-shadow:0 5px 18px #19794b16;overflow:hidden}.plan-direct-offer::after{content:"";position:absolute;top:-70%;left:-35%;width:30%;height:240%;background:linear-gradient(90deg,transparent,#ffffffa8,transparent);transform:rotate(18deg);animation:planPromoShine 3.8s ease-in-out infinite;pointer-events:none}.plan-direct-label{grid-area:label;font-size:10px!important;font-weight:850!important;letter-spacing:.045em;color:#1a6547!important}.plan-direct-price{grid-area:price;font-size:20px!important;line-height:1.15;color:#0b5b3b!important;letter-spacing:-.02em}.plan-direct-badge{grid-area:badge;justify-self:end;font-size:10px!important;font-weight:900!important;color:#fff!important;background:#14794c;padding:4px 7px;border-radius:999px;box-shadow:0 3px 10px #14794c2d}.plan-trial-offer{display:flex;align-items:center;gap:6px;padding:4px 2px 1px;color:#37594b}.plan-trial-or{font-size:9px!important;font-weight:750!important;color:#8a958f!important}.plan-trial-label{font-size:13px!important;font-weight:850!important;color:#246846!important;letter-spacing:.01em}.choices .choice.is-consumed:not(.is-selected) .plan-direct-offer{box-shadow:none;background:#f0f4f1;border-color:#d8e0dc}.choices .choice.is-consumed:not(.is-selected) .plan-direct-offer::after{display:none}.choices .choice.is-consumed:not(.is-selected) .plan-direct-price,.choices .choice.is-consumed:not(.is-selected) .plan-direct-label,.choices .choice.is-consumed:not(.is-selected) .plan-trial-label{color:#64736c!important}.choices .choice.is-consumed:not(.is-selected) .plan-direct-badge{background:#87958e}.choices .choice.is-selected .plan-direct-offer{border-color:#4ba979;box-shadow:0 6px 20px #1c84501c}@keyframes planPromoShine{0%,62%{left:-35%;opacity:0}70%{opacity:.9}88%{left:120%;opacity:0}100%{left:120%;opacity:0}}@media(prefers-reduced-motion:reduce){.plan-direct-offer::after{animation:none}}@media(max-width:649px){.plan-direct-offer{padding:8px 10px}.plan-direct-price{font-size:19px!important}.plan-trial-label{font-size:12px!important}}


/* CHATPIX V6 · PIX por chave + confirmação manual */
.pix-choice-button{width:100%;min-height:48px;margin:4px 0 8px;padding:9px 13px;border:1px solid color-mix(in srgb,var(--button,var(--primary)) 48%,#d9e7df);border-radius:14px;background:#f9fcfa;color:#1d5e49;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px;text-align:left;box-shadow:0 3px 12px #173d2e0b;transition:.16s ease;cursor:pointer}.pix-choice-button:hover,.pix-choice-button.open{background:#f2faf6;border-color:var(--button,var(--primary));box-shadow:0 6px 18px #173d2e12}.pix-choice-button:active{transform:scale(.988)}.pix-choice-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#e7f6ee;color:var(--button,var(--primary));font-size:19px;font-weight:900}.pix-choice-copy{display:flex;flex-direction:column;gap:2px}.pix-choice-copy strong{font-size:13px;line-height:1.15;color:#205c49}.pix-choice-copy small{font-size:10px;line-height:1.35;color:#6c8178;font-weight:600}.pix-key-card{margin:3px 0 10px;padding:14px;border:1px solid #cfe5d8;border-radius:16px;background:linear-gradient(180deg,#fbfefc,#f4faf6);box-shadow:0 8px 24px #173d2e0d}.pix-key-card[hidden]{display:none!important}.pix-key-head{display:grid;grid-template-columns:36px 1fr;align-items:center;gap:10px;padding-bottom:11px;border-bottom:1px solid #dcebe2}.pix-key-shield{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#dbf3e5;color:#14794d;font-size:18px;font-weight:900}.pix-key-head-copy{display:flex;flex-direction:column;gap:2px}.pix-key-head-copy strong{font-size:13px;color:#234f40}.pix-key-head-copy small{font-size:9.5px;line-height:1.35;color:#74877f}.pix-key-detail{padding:10px 2px 0}.pix-key-detail small,.pix-key-label{display:block;font-size:9px;font-weight:800;letter-spacing:.07em;color:#768b82}.pix-key-detail strong{display:block;margin-top:2px;font-size:13px;color:#1f4135;overflow-wrap:anywhere}.pix-key-label{margin:11px 2px 5px}.pix-key-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}.pix-key-row input{min-width:0;height:42px;padding:0 10px;border:1px solid #cbded3;border-radius:11px;background:#fff;color:#223f35;font-size:12px;font-weight:700;outline:none}.pix-key-row input:focus{border-color:var(--button,var(--primary));box-shadow:0 0 0 3px color-mix(in srgb,var(--button,var(--primary)) 12%,transparent)}.pix-copy-key{min-height:42px;padding:0 12px;border:0;border-radius:11px;background:var(--button,var(--primary));color:#fff;font-size:10px;font-weight:900;letter-spacing:.025em;box-shadow:0 5px 14px #176a4a24}.pix-key-trust{margin:10px 2px 0!important;padding:8px 9px;border-radius:10px;background:#fff;color:#61766d!important;font-size:9.5px!important;line-height:1.45!important;border:1px solid #e0ece5}.pix-guide-open{overflow:hidden}.pix-guide-backdrop{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:18px;background:#0b2219a8;backdrop-filter:blur(6px);animation:pix-guide-fade .16s ease-out}.pix-guide-backdrop[hidden]{display:none!important}.pix-guide-modal{width:min(440px,100%);max-height:min(720px,90dvh);overflow:auto;padding:24px 22px 20px;border:1px solid #ffffff70;border-radius:23px;background:#fff;color:#203d33;box-shadow:0 28px 90px #06140e66;text-align:left;animation:pix-guide-up .2s ease-out}.pix-guide-seal{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 13px;border-radius:50%;background:#dcf7e8;color:#11804f;font-size:24px;font-weight:950;box-shadow:0 0 0 7px #eefaf3}.pix-guide-modal h2{margin:0;text-align:center;font-size:20px;line-height:1.2;color:#173d2f}.pix-guide-intro{margin:16px 0 8px!important;font-size:13px!important;font-weight:800;color:#45685a!important}.pix-guide-steps{margin:0;padding:0;list-style:none;counter-reset:pixstep;display:grid;gap:8px}.pix-guide-steps li{counter-increment:pixstep;position:relative;padding:10px 10px 10px 43px;border:1px solid #e0ebe4;border-radius:12px;background:#f8fbf9;font-size:12px;line-height:1.45;color:#365348}.pix-guide-steps li::before{content:counter(pixstep);position:absolute;left:10px;top:8px;width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:#e1f4e9;color:#13754c;font-weight:900}.pix-guide-proof{margin-top:13px;padding:12px 13px;border-radius:13px;background:#eef9f3;border:1px solid #cee7d9}.pix-guide-proof strong{display:block;color:#14754d;font-size:12px}.pix-guide-proof p{margin:4px 0 0!important;color:#47665a!important;font-size:11px!important;line-height:1.5!important}.pix-guide-close{width:100%;min-height:45px;margin-top:16px;border:0;border-radius:12px;background:var(--button,var(--primary));color:#fff;font-size:12px;font-weight:900;letter-spacing:.05em}.clipboard-helper{position:fixed!important;left:-9999px!important;top:-9999px!important;opacity:0!important}.payment-confirm-tool .tool-icon{background:#dcf5e6!important;color:#117846!important;font-size:10px!important;letter-spacing:-.02em}.payment-confirm-tool strong{color:#1f6549}.customer-image-button.proof-highlight{animation:proof-highlight 1s ease-in-out 4;box-shadow:0 0 0 4px color-mix(in srgb,var(--button,var(--primary)) 20%,transparent)}
@keyframes pix-guide-fade{from{opacity:0}to{opacity:1}}@keyframes pix-guide-up{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}@keyframes proof-highlight{0%,100%{transform:scale(1)}50%{transform:scale(1.1)}}
@media(max-width:420px){.pix-key-row{grid-template-columns:1fr}.pix-copy-key{width:100%}.pix-guide-modal{padding:22px 17px 18px}.pix-guide-modal h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){.pix-guide-backdrop,.pix-guide-modal,.customer-image-button.proof-highlight{animation:none!important}}

/* ============================================================
   CHATPIX V6.1 · WhatsApp obrigatório em popup
   ============================================================ */
body.phone-gate-open{overflow:hidden!important}.phone-gate-backdrop{position:fixed;inset:0;z-index:12000;display:grid;place-items:center;padding:18px;background:rgba(9,29,21,.72);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);animation:phone-gate-fade .16s ease-out}.phone-gate-backdrop[hidden]{display:none!important}.phone-gate-modal{width:min(430px,100%);padding:27px 24px 22px;border:1px solid rgba(255,255,255,.66);border-radius:25px;background:linear-gradient(180deg,#fff 0%,#fbfdfc 100%);box-shadow:0 30px 100px rgba(3,18,12,.38);color:#183d30;text-align:center;animation:phone-gate-up .2s ease-out}.phone-gate-badge{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 14px;border-radius:17px;background:color-mix(in srgb,var(--button,var(--primary)) 13%,#fff);color:var(--button,var(--primary));font-size:24px;font-weight:950;box-shadow:0 0 0 7px color-mix(in srgb,var(--button,var(--primary)) 6%,transparent)}.phone-gate-modal h2{margin:0;font-size:22px;line-height:1.15;letter-spacing:-.015em;color:#173c2e}.phone-gate-description{max-width:350px;margin:10px auto 20px!important;font-size:13px!important;line-height:1.55!important;color:#63776e!important}.phone-gate-form{text-align:left}.phone-gate-label{display:block;margin:0 0 7px 3px;font-size:11px;font-weight:900;letter-spacing:.035em;color:#35594b}.phone-gate-fields{display:grid;grid-template-columns:104px minmax(0,1fr);gap:8px}.phone-gate-ddi,.phone-gate-number{height:52px;border:1px solid #cbded3;border-radius:14px;background:#fff;color:#1d4134;outline:none;box-shadow:0 3px 12px rgba(18,61,44,.045);transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.phone-gate-ddi{padding:0 9px;font-size:14px;font-weight:800;appearance:auto}.phone-gate-number{width:100%;min-width:0;padding:0 14px;font-size:18px;font-weight:850;letter-spacing:.018em}.phone-gate-number::placeholder{font-size:14px;font-weight:650;color:#9aaca4}.phone-gate-ddi:focus,.phone-gate-number:focus{border-color:var(--button,var(--primary));box-shadow:0 0 0 4px color-mix(in srgb,var(--button,var(--primary)) 13%,transparent)}.phone-gate-help{display:block;margin:7px 3px 0;color:#80928a;font-size:10px;line-height:1.4}.phone-gate-error{margin:9px 2px 0!important;padding:9px 10px;border:1px solid #f0c9c9;border-radius:10px;background:#fff5f5;color:#a43737!important;font-size:10.5px!important;font-weight:750;line-height:1.4!important}.phone-gate-submit{width:100%;min-height:50px;margin-top:16px;border:0;border-radius:14px;background:var(--button,var(--primary));color:#fff;font-size:12px;font-weight:950;letter-spacing:.055em;box-shadow:0 10px 24px color-mix(in srgb,var(--button,var(--primary)) 25%,transparent);transition:transform .14s ease,filter .14s ease,box-shadow .14s ease}.phone-gate-submit:hover:not(:disabled){filter:brightness(1.035);box-shadow:0 13px 30px color-mix(in srgb,var(--button,var(--primary)) 30%,transparent)}.phone-gate-submit:active:not(:disabled){transform:scale(.988)}.phone-gate-submit:disabled{opacity:.7;cursor:wait}.phone-gate-trust{display:block;margin:14px auto 0;max-width:330px;color:#83958d;font-size:9.5px;line-height:1.45}@keyframes phone-gate-fade{from{opacity:0}to{opacity:1}}@keyframes phone-gate-up{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@media(max-width:420px){.phone-gate-backdrop{padding:12px;align-items:center}.phone-gate-modal{padding:24px 17px 20px;border-radius:22px}.phone-gate-modal h2{font-size:20px}.phone-gate-description{font-size:12px!important;margin-bottom:17px!important}.phone-gate-fields{grid-template-columns:96px minmax(0,1fr)}.phone-gate-ddi,.phone-gate-number{height:50px}.phone-gate-number{font-size:17px}}@media(prefers-reduced-motion:reduce){.phone-gate-backdrop,.phone-gate-modal{animation:none!important}}
