:root{color:#171718;background:#f7f6f3;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;--ink: #171718;--muted: #74716d;--subtle: #aaa6a0;--canvas: #f7f6f3;--surface: #ffffff;--surface-soft: #fbfaf8;--line: #e9e6e1;--line-strong: #ddd8d1;--orange: #ec4b00;--orange-dark: #c83f00;--orange-soft: #fff0e8;--pink-soft: #fff1fa;--violet: #3c235f;--green: #28865d;--green-soft: #ebf7f1;--red: #c23c36;--red-soft: #fff0ef;--shadow: 0 18px 55px rgba(34, 27, 20, .07)}*{box-sizing:border-box}html{min-width:320px;background:var(--canvas)}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}button{color:inherit}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(236,75,0,.2);outline-offset:2px}h1,h2,p{margin-top: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}.eyebrow{margin-bottom:8px;color:var(--orange);font-size:11px;font-weight:750;letter-spacing:.13em;text-transform:uppercase}.brand-logo{display:flex;width:min(100%,238px);height:92px;align-items:center;justify-content:center;overflow:hidden}.brand-logo img{display:block;width:100%;height:100%;object-fit:contain}.brand-logo--compact{width:154px;height:62px}.button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:11px;padding:10px 17px;font-size:14px;font-weight:700;cursor:pointer;transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}.button:not(:disabled):active{transform:translateY(1px)}.button:disabled{opacity:.6;cursor:wait}.button--primary{color:#fff;background:var(--ink)}.button--primary:not(:disabled):hover{background:var(--orange)}.button--secondary{border-color:var(--line-strong);background:#fff}.button--secondary:hover{border-color:#c9c3bb;background:var(--surface-soft)}.button--danger{color:#fff;background:var(--red)}.button--danger:hover{background:#a62f2a}.button--full{width:100%}.icon-button{width:40px;height:40px;flex:0 0 40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:10px;background:transparent;cursor:pointer;transition:background-color .18s ease,color .18s ease,border-color .18s ease}.icon-button:hover{border-color:var(--line);background:var(--surface-soft)}.icon-button--danger:hover{color:var(--red);background:var(--red-soft);border-color:transparent}.icon-button:disabled{color:#c8c4be;cursor:not-allowed}.icon-button:disabled:hover{background:transparent;border-color:transparent}.login-page{position:relative;min-height:100vh;display:grid;place-items:center;padding:52px 24px 72px;overflow:hidden;background:radial-gradient(circle at 50% 48%,#fffffffa 0,#ffffffbf 26%,#f7f6f300 60%),var(--canvas)}.login-page:before,.login-page:after{content:"";position:absolute;width:260px;height:260px;border:1px solid rgba(236,75,0,.08);border-radius:50%;pointer-events:none}.login-page:before{top:-170px;left:-105px}.login-page:after{right:-105px;bottom:-170px}.login-card{position:relative;z-index:1;width:min(100%,464px);display:flex;flex-direction:column;align-items:center;padding:40px 44px 38px;border:1px solid rgba(221,216,209,.8);border-radius:20px;background:#fffffff0;box-shadow:var(--shadow)}.login-card>.brand-logo{margin-bottom:32px}.login-heading{width:100%;text-align:center}.login-heading h1{margin-bottom:10px;font-size:clamp(26px,5vw,32px);line-height:1.15;letter-spacing:-.035em}.login-heading>p:last-child{margin-bottom:28px;color:var(--muted);font-size:14px;line-height:1.6}.login-form{width:100%}.login-form>label,.user-form label{display:flex;flex-direction:column;gap:8px;margin-bottom:17px}.login-form label>span,.user-form label>span{font-size:12px;font-weight:700;letter-spacing:.015em}.login-form input,.user-form input,.user-form select,.search-field input{width:100%;height:46px;border:1px solid var(--line-strong);border-radius:10px;padding:0 13px;color:var(--ink);background:#fff;transition:border-color .18s ease,box-shadow .18s ease}.login-form input:hover,.user-form input:hover,.user-form select:hover{border-color:#c5bfb7}.login-form input:focus,.user-form input:focus,.user-form select:focus,.search-field input:focus{border-color:var(--orange);outline:none;box-shadow:0 0 0 3px #ec4b001a}.password-field{position:relative}.password-field input{padding-right:48px}.password-field button{position:absolute;top:3px;right:3px;width:40px;height:40px;display:grid;place-items:center;color:var(--muted);border:0;border-radius:8px;background:transparent;cursor:pointer}.form-error{margin:0 0 16px;padding:10px 12px;color:#9e2f2a;border-radius:9px;background:var(--red-soft);font-size:13px;line-height:1.45}.login-footer{position:absolute;bottom:24px;left:50%;z-index:1;margin:0;color:#aaa6a0;font-size:11px;letter-spacing:.05em;transform:translate(-50%);white-space:nowrap}.app-shell{min-height:100vh;display:grid;grid-template-columns:248px minmax(0,1fr);background:var(--canvas)}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:28px 20px 20px;border-right:1px solid var(--line);background:#ffffffeb}.sidebar-brand{min-height:73px;display:flex;align-items:flex-start;padding-left:5px;border-bottom:1px solid var(--line)}.sidebar-nav{display:flex;flex-direction:column;gap:6px;padding-top:26px}.nav-link{min-height:44px;display:flex;align-items:center;gap:12px;padding:10px 12px;color:#66625e;border-radius:10px;font-size:13px;font-weight:650;text-decoration:none;transition:color .18s ease,background-color .18s ease}.nav-link:hover{color:var(--ink);background:var(--surface-soft)}.nav-link.is-active{color:var(--orange);background:var(--orange-soft)}.sidebar-user{display:flex;align-items:center;gap:10px;margin-top:auto;padding-top:18px;border-top:1px solid var(--line)}.avatar{width:38px;height:38px;flex:0 0 38px;display:inline-flex;align-items:center;justify-content:center;color:#fff;border-radius:50%;background:var(--violet);font-size:11px;font-weight:750;letter-spacing:.04em}.sidebar-user-copy{min-width:0;display:flex;flex:1;flex-direction:column;gap:3px}.sidebar-user-copy strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.sidebar-user-copy span{color:var(--muted);font-size:10px}.main-area{min-width:0;padding:0 clamp(28px,4.5vw,72px) 64px}.page-header{max-width:1160px;min-height:180px;display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 auto;border-bottom:1px solid var(--line)}.page-header h1{margin-bottom:7px;font-size:clamp(28px,3vw,38px);line-height:1.1;letter-spacing:-.04em}.page-header>div>p:last-child{margin-bottom:0;color:var(--muted);font-size:14px}.header-user{display:flex;align-items:center;gap:9px;padding:9px 12px;color:#615c57;border:1px solid var(--line);border-radius:99px;background:#ffffffa6;font-size:12px;font-weight:650}.mobile-logout{display:none;background:#fff;border-color:var(--line)}.status-dot{width:7px;height:7px;border-radius:50%;background:#33a66f;box-shadow:0 0 0 3px #33a66f1f}.page-content{max-width:1160px;margin:0 auto;padding-top:36px}.app-loading{min-height:100vh;display:grid;place-items:center;background:var(--canvas)}.loading-mark{color:var(--orange);font-size:30px;font-weight:850;animation:breathe 1.3s ease-in-out infinite}.empty-card{min-height:min(520px,calc(100vh - 260px));display:flex;flex-direction:column;align-items:center;justify-content:center;padding:70px 24px;border:1px solid var(--line);border-radius:18px;background:#ffffffb8;text-align:center}.empty-illustration{position:relative;width:128px;height:128px;display:grid;place-items:center;margin-bottom:28px}.empty-illustration>span{position:relative;z-index:2;width:58px;height:58px;display:grid;place-items:center;color:var(--orange);border:1px solid #ffd4bf;border-radius:50%;background:#fff;box-shadow:0 8px 24px #ec4b001a}.orbit{position:absolute;border:1px solid var(--line);border-radius:50%}.orbit--one{top:10px;right:10px;bottom:10px;left:10px}.orbit--two{top:25px;right:-5px;bottom:25px;left:-5px;transform:rotate(45deg);border-color:#f3d8ca}.empty-card h2{margin-bottom:10px;font-size:24px;letter-spacing:-.025em}.empty-card>p:not(.eyebrow){max-width:430px;margin-bottom:24px;color:var(--muted);font-size:14px;line-height:1.65}.empty-status{display:inline-flex;align-items:center;gap:8px;padding:8px 11px;color:#89847f;border-radius:99px;background:var(--surface-soft);font-size:11px}.empty-status i{width:5px;height:5px;border-radius:50%;background:#c3beb7}.whatsapp-view{display:flex;flex-direction:column;gap:22px}.whatsapp-tabs{width:fit-content;display:flex;align-items:center;gap:4px;padding:4px;border:1px solid var(--line);border-radius:12px;background:#ffffffb8}.whatsapp-tabs button{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 15px;color:var(--muted);border:0;border-radius:8px;background:transparent;font-size:12px;font-weight:700;cursor:pointer;transition:color .18s ease,background-color .18s ease,box-shadow .18s ease}.whatsapp-tabs button:hover{color:var(--ink)}.whatsapp-tabs button.is-active{color:var(--ink);background:#fff;box-shadow:0 2px 10px #221b1412}.whatsapp-tabs button.is-active svg{color:var(--orange)}.whatsapp-empty{min-height:min(470px,calc(100vh - 330px))}.integration-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.8fr);gap:20px;align-items:start}.integration-main,.integration-checklist{border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:0 8px 32px #221b1409}.integration-main{min-height:520px;padding:30px}.integration-checklist{padding:25px}.section-heading{display:flex;align-items:center;gap:13px}.section-heading .eyebrow{margin-bottom:4px}.section-heading h2,.section-heading h3{margin-bottom:0;letter-spacing:-.025em}.section-heading h2{font-size:22px}.section-heading h3{font-size:16px}.section-heading>div>p:not(.eyebrow){margin:4px 0 0;color:var(--muted);font-size:11px}.section-icon{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;color:#fff;border-radius:12px;background:var(--ink)}.section-icon--soft{color:var(--orange);background:var(--orange-soft)}.meta-config-form{margin-top:20px;padding:22px;border:1px solid var(--line);border-radius:14px;background:#fff}.meta-config-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.meta-config-heading h3{margin:0 0 5px;font-size:15px;letter-spacing:-.015em}.meta-config-heading p{margin:0;color:var(--muted);font-size:11px;line-height:1.5}.meta-config-heading>span{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;color:#8b572f;border-radius:99px;background:#fff5ec;font-size:9px;font-weight:750;text-transform:uppercase;white-space:nowrap}.meta-config-heading>span.is-ready{color:#287755;background:var(--green-soft)}.meta-config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.meta-config-grid>label,.meta-version-fields label{min-width:0;display:flex;flex-direction:column;gap:8px}.meta-config-grid label>span{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:11px;font-weight:700}.meta-config-grid label>span code{color:var(--subtle);font-size:8px;font-weight:600}.meta-config-grid input{width:100%;height:44px;border:1px solid var(--line-strong);border-radius:10px;padding:0 12px;color:var(--ink);background:#fff;font-size:12px;transition:border-color .18s ease,box-shadow .18s ease}.meta-config-grid input:hover{border-color:#c5bfb7}.meta-config-grid input:focus{border-color:var(--orange);outline:none;box-shadow:0 0 0 3px #ec4b001a}.meta-config-secret,.meta-version-fields{grid-column:1 / -1}.meta-version-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.meta-config-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:19px;padding-top:18px;border-top:1px solid var(--line)}.meta-config-actions p{margin:0;color:var(--muted);font-size:10px;line-height:1.45}.meta-config-actions .button{min-height:40px;flex:0 0 auto;padding:8px 13px;font-size:11px}.configuration-warning,.integration-error{display:flex;align-items:flex-start;gap:11px;margin-top:18px;padding:14px 15px;border-radius:11px;font-size:12px;line-height:1.5}.configuration-warning{color:#7f4a2f;border:1px solid #f1d9cb;background:#fff8f4}.configuration-warning>svg,.integration-error>svg{flex:0 0 auto;margin-top:1px}.configuration-warning strong{display:block;margin-bottom:3px;color:#63341e}.configuration-warning p{margin-bottom:9px}.configuration-warning code{font-size:10px}.env-list{display:flex;flex-wrap:wrap;gap:6px}.env-list code{padding:4px 6px;color:#623b28;border:1px solid #edd8cd;border-radius:5px;background:#fff}.integration-error{color:#9e2f2a;background:var(--red-soft)}.connect-button{min-width:220px;margin-top:22px}.security-note{display:flex;align-items:flex-start;gap:9px;margin-top:24px;padding-top:18px;color:#85807a;border-top:1px solid var(--line);font-size:10px;line-height:1.55}.security-note svg{flex:0 0 auto;color:var(--violet)}.integration-checklist .section-heading{padding-bottom:21px;border-bottom:1px solid var(--line)}.integration-checklist ol{display:flex;flex-direction:column;gap:22px;margin:24px 0;padding:0;list-style:none}.integration-checklist li{display:grid;grid-template-columns:26px 1fr;gap:11px;align-items:start}.integration-checklist li>span{width:26px;height:26px;display:grid;place-items:center;color:var(--orange);border:1px solid #f4d6c6;border-radius:50%;background:var(--orange-soft);font-size:10px;font-weight:800}.integration-checklist li strong{display:block;margin:2px 0 5px;font-size:11px}.integration-checklist li p{margin-bottom:0;color:var(--muted);font-size:10px;line-height:1.55}.config-indicator{display:flex;align-items:center;gap:8px;padding:11px 12px;color:#8b572f;border-radius:9px;background:#fff5ec;font-size:10px;font-weight:700}.config-indicator.is-ready{color:#287755;background:var(--green-soft)}.integration-loading{min-height:420px;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--muted);border:1px solid var(--line);border-radius:17px;background:#fff;font-size:12px}.spin{animation:spin .9s linear infinite}.connected-account{margin-top:30px;overflow:hidden;border:1px solid #dcebe3;border-radius:14px;background:#fbfefc}.connected-heading{display:flex;align-items:center;gap:15px;padding:24px}.connection-success{width:47px;height:47px;flex:0 0 47px;display:grid;place-items:center;color:#fff;border-radius:50%;background:var(--green);box-shadow:0 0 0 7px #28865d17}.connection-label{display:flex;align-items:center;gap:7px;margin-bottom:6px;color:var(--green);font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.connection-label i{width:5px;height:5px;border-radius:50%;background:currentColor}.connected-heading h3{margin-bottom:4px;font-size:18px}.connected-heading p{margin-bottom:0;color:var(--muted);font-size:11px}.connection-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid #e1ede6;border-bottom:1px solid #e1ede6}.connection-details>div{min-width:0;display:grid;grid-template-columns:20px 1fr;gap:2px 9px;padding:17px 20px;border-right:1px solid #e1ede6;border-bottom:1px solid #e1ede6}.connection-details>div:nth-child(2n){border-right:0}.connection-details>div:nth-last-child(-n+2){border-bottom:0}.connection-details svg{grid-row:1 / 3;margin-top:3px;color:var(--green)}.connection-details span{color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.06em}.connection-details strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.connected-footer{display:flex;align-items:center;gap:25px;padding:17px 20px;background:#fff}.connected-footer>div{display:flex;flex-direction:column;gap:4px}.connected-footer span{color:var(--muted);font-size:9px;text-transform:uppercase}.connected-footer strong{font-size:10px}.connected-footer .button{min-height:40px;margin-left:auto;padding:8px 12px;font-size:11px}.connected-footer>.connected-actions{display:flex;flex-direction:row;align-items:center;gap:8px;margin-left:auto}.connected-actions .button{margin-left:0;white-space:nowrap}.whatsapp-panel-loading{min-height:360px;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--muted);border:1px solid var(--line);border-radius:17px;background:#fff;font-size:12px}.conversation-toolbar,.templates-toolbar{min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:16px}.conversation-search{position:relative;width:min(100%,340px);color:var(--muted)}.conversation-search>svg{position:absolute;top:14px;left:14px;pointer-events:none}.conversation-search input{width:100%;height:44px;padding:0 42px;color:var(--ink);border:1px solid var(--line-strong);border-radius:11px;background:#ffffffdb;font-size:12px;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}.conversation-search input:focus{border-color:var(--orange);outline:none;background:#fff;box-shadow:0 0 0 3px #ec4b0017}.conversation-search>button{position:absolute;top:2px;right:2px;width:40px;height:40px;padding:0;color:var(--muted);border:0;border-radius:8px;background:transparent;cursor:pointer;font-size:20px}.conversation-search>button:hover{color:var(--ink);background:var(--surface-soft)}.conversation-toolbar-actions,.templates-toolbar-actions{display:flex;align-items:center;gap:9px}.conversation-workspace{height:clamp(560px,calc(100vh - 310px),760px);min-height:560px;display:grid;grid-template-columns:minmax(280px,340px) minmax(0,1fr);overflow:hidden;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:0 10px 36px #221b140b}.conversation-list-pane{min-width:0;min-height:0;display:flex;flex-direction:column;border-right:1px solid var(--line);background:#fdfcfb}.conversation-list-heading{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 18px;border-bottom:1px solid var(--line);background:#fff}.conversation-list-heading h2{margin:0 0 4px;font-size:15px;letter-spacing:-.01em}.conversation-list-heading p{margin:0;color:var(--muted);font-size:10px}.connection-mini-status,.conversation-window-state{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:9px;font-weight:750;white-space:nowrap}.connection-mini-status i,.conversation-window-state i{width:6px;height:6px;border-radius:50%;background:#b8b3ad}.connection-mini-status.is-connected{color:var(--green)}.connection-mini-status.is-connected i,.conversation-window-state i{background:var(--green);box-shadow:0 0 0 3px #28865d1a}.conversation-window-state.is-closed{color:#9b633d}.conversation-window-state.is-closed i{background:#d28a56;box-shadow:0 0 0 3px #d28a561a}.conversation-list{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain}.conversation-row{width:100%;min-height:76px;display:flex;align-items:center;gap:11px;padding:13px 15px;color:inherit;border:0;border-bottom:1px solid #f0ede9;background:transparent;text-align:left;cursor:pointer;transition:background-color .17s ease,box-shadow .17s ease}.conversation-row:hover{background:#fff}.conversation-row.is-active{background:#fff7f2;box-shadow:inset 3px 0 var(--orange)}.conversation-avatar{width:42px;height:42px;flex:0 0 42px;display:inline-flex;align-items:center;justify-content:center;color:var(--violet);border-radius:50%;background:#f0eaf5;font-size:10px;font-weight:800;letter-spacing:.03em}.conversation-row-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:6px}.conversation-row-top,.conversation-row-bottom{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:9px}.conversation-row-top strong{min-width:0;overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.conversation-row-top time{flex:0 0 auto;color:var(--subtle);font-size:9px}.conversation-preview{min-width:0;display:flex;align-items:center;gap:4px;overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.conversation-preview .message-status{flex:0 0 auto}.unread-count{min-width:19px;height:19px;flex:0 0 auto;display:grid;place-items:center;padding:0 5px;color:#fff;border-radius:99px;background:var(--orange);font-size:8px;font-weight:800}.conversation-list-empty{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px 20px;color:var(--subtle);text-align:center}.conversation-list-empty p{margin:10px 0 0;color:var(--muted);font-size:11px;line-height:1.5}.conversation-list-empty span{margin-top:5px;font-size:9px}.conversation-detail-pane{min-width:0;min-height:0;display:flex;flex-direction:column;background:var(--surface-soft)}.conversation-detail-header{min-height:76px;display:flex;align-items:center;gap:11px;padding:13px 19px;border-bottom:1px solid var(--line);background:#fff}.conversation-detail-header .conversation-avatar{width:40px;height:40px;flex-basis:40px}.conversation-detail-header>div{min-width:0}.conversation-detail-header h2{margin:0 0 4px;overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.conversation-detail-header p{margin:0;color:var(--muted);font-size:10px}.conversation-window-state{margin-left:auto}.conversation-back{display:none}.message-history{min-height:0;flex:1;overflow-y:auto;padding:22px clamp(18px,3.2vw,36px);overscroll-behavior:contain;scroll-behavior:smooth}.load-older-button{display:block;min-height:40px;margin:0 auto 18px;padding:7px 11px;color:var(--muted);border:1px solid var(--line);border-radius:99px;background:#fff;font-size:9px;cursor:pointer}.message-day{display:flex;align-items:center;justify-content:center;margin:8px 0 14px}.message-day span{padding:5px 9px;color:#8a857f;border:1px solid #ebe7e2;border-radius:99px;background:#ffffffe6;font-size:8px;font-weight:700;text-transform:capitalize}.message-row{display:flex;margin:5px 0}.message-row--outbound{justify-content:flex-end}.message-bubble{max-width:min(74%,570px);padding:10px 12px 7px;border:1px solid var(--line);border-radius:13px 13px 13px 4px;background:#fff;box-shadow:0 3px 12px #221b1409}.message-bubble--outbound{border-color:#f2d8ca;border-radius:13px 13px 4px;background:#fff4ed}.message-bubble.is-failed{border-color:#efcbc8;background:var(--red-soft)}.message-bubble p{margin:0;overflow-wrap:anywhere;font-size:11px;line-height:1.55;white-space:pre-wrap}.message-kind{display:flex;align-items:center;gap:5px;margin-bottom:6px;color:#9d4a22;font-size:8px;font-weight:800;letter-spacing:.03em;text-transform:uppercase}.message-kind svg{flex:0 0 auto}.message-attachment-state{min-height:40px;display:flex;align-items:center;gap:8px;margin:2px 0 7px;padding:8px 10px;color:var(--muted);border:1px solid var(--line);border-radius:9px;background:var(--surface-soft);font-size:10px}.message-attachment-state.is-failed{color:#9e2f2a;border-color:#efcbc8;background:var(--red-soft)}.message-media-preview{display:block;width:min(320px,62vw);margin:2px 0 7px;overflow:hidden;border-radius:9px;background:var(--surface-soft)}.message-media-preview img{display:block;width:100%;max-height:320px;object-fit:contain}.message-media-preview.is-sticker{width:min(160px,42vw);background:transparent}.message-media-player{display:block;width:min(320px,62vw);max-height:320px;margin:2px 0 7px;border-radius:9px;background:#171718}.message-audio-player{display:block;width:min(300px,62vw);max-width:100%;height:40px;margin:2px 0 7px}.message-document-link{min-height:48px;display:flex;align-items:center;gap:9px;margin:2px 0 7px;padding:8px 10px;color:var(--ink);border:1px solid var(--line);border-radius:9px;background:var(--surface-soft);text-decoration:none}.message-document-link:hover{border-color:#d4cbc2;background:#fff}.message-document-link>span{min-width:0;flex:1}.message-document-link strong,.message-document-link small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-document-link strong{font-size:10px}.message-document-link small{margin-top:2px;color:var(--muted);font-size:8px}.message-error{display:block;margin-top:6px;color:var(--red);font-size:8px;line-height:1.4}.message-bubble footer{display:flex;align-items:center;justify-content:flex-end;gap:4px;margin-top:3px;color:#9a958f}.message-bubble time{font-size:8px}.message-status{display:inline-flex;align-items:center;color:#96918a}.message-status.is-read{color:#3277a8}.message-status.is-failed{color:var(--red)}.message-state,.conversation-placeholder{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--subtle);text-align:center}.message-state{gap:9px;font-size:11px}.message-state p{margin:0;color:var(--muted)}.message-state.is-error{color:var(--red)}.inline-history-error{width:fit-content;margin:16px auto 0;padding:7px 10px;color:var(--red);border-radius:8px;background:var(--red-soft);font-size:9px}.conversation-placeholder span{width:52px;height:52px;display:grid;place-items:center;margin-bottom:16px;color:var(--orange);border-radius:50%;background:var(--orange-soft)}.conversation-placeholder h2{margin-bottom:6px;font-size:16px}.conversation-placeholder p{margin:0;color:var(--muted);font-size:10px}.message-composer{flex:0 0 auto;padding:10px 15px 14px;border-top:1px solid var(--line);background:#fff}.composer-tabs{min-height:27px;display:flex;align-items:center;gap:4px;margin-bottom:8px}.composer-tabs button{min-height:40px;padding:4px 9px;color:var(--muted);border:0;border-radius:7px;background:transparent;font-size:9px;font-weight:750;cursor:pointer}.composer-tabs button:hover:not(:disabled){color:var(--ink);background:var(--surface-soft)}.composer-tabs button.is-active{color:var(--orange);background:var(--orange-soft)}.composer-tabs button:disabled{opacity:.45;cursor:not-allowed}.session-window{margin-left:auto;color:var(--muted);font-size:8px}.session-closed-note{display:flex;align-items:flex-start;gap:7px;margin-bottom:9px;padding:8px 10px;color:#8b572f;border-radius:8px;background:#fff5ec;font-size:9px;line-height:1.45}.session-closed-note svg{flex:0 0 auto}.text-composer{display:flex;align-items:flex-end;gap:8px}.text-composer textarea{width:100%;min-height:42px;max-height:112px;resize:vertical;padding:11px 13px;color:var(--ink);border:1px solid var(--line-strong);border-radius:11px;background:var(--surface-soft);font-size:11px;line-height:1.5}.text-composer textarea:focus{border-color:var(--orange);outline:none;background:#fff;box-shadow:0 0 0 3px #ec4b0014}.text-composer textarea:disabled{color:var(--subtle);background:#f3f1ee}.composer-send{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;color:#fff;border:0;border-radius:11px;background:var(--ink);cursor:pointer;transition:background-color .18s ease}.composer-send:hover:not(:disabled){background:var(--orange)}.composer-send:disabled{color:#aaa59f;background:#ece9e5;cursor:not-allowed}.template-composer{max-height:300px;overflow-y:auto;padding:3px 2px 1px}.composer-field{display:flex;flex-direction:column;gap:6px}.composer-field>span,.template-variable-grid label>span{color:#57524d;font-size:9px;font-weight:750}.composer-field select,.composer-field input,.template-variable-grid input,.new-conversation-form input{width:100%;height:40px;padding:0 11px;color:var(--ink);border:1px solid var(--line-strong);border-radius:9px;background:#fff;font-size:10px}.composer-field select:focus,.composer-field input:focus,.template-variable-grid input:focus,.new-conversation-form input:focus{border-color:var(--orange);outline:none;box-shadow:0 0 0 3px #ec4b0014}.composer-field small{color:var(--muted);font-size:9px}.template-variable-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:9px}.template-variable-grid label{min-width:0;display:flex;flex-direction:column;gap:5px}.send-template-preview{margin-top:9px;padding:10px 11px;border:1px solid #eee5df;border-radius:10px;background:#fff8f4}.send-template-preview strong{display:block;margin-bottom:4px;font-size:10px}.send-template-preview p{margin:0;overflow-wrap:anywhere;color:#514d49;font-size:10px;line-height:1.45;white-space:pre-wrap}.send-template-preview small{display:block;margin-top:5px;color:var(--muted);font-size:8px}.template-send-button{min-height:40px;width:100%;margin-top:9px;font-size:10px}.no-approved-templates{display:flex;align-items:center;gap:7px;padding:10px;color:var(--muted);border-radius:9px;background:var(--surface-soft);font-size:9px}.no-approved-templates button{min-height:40px;margin:-8px 0 -8px auto;padding:6px;color:var(--orange);border:0;background:transparent;font-size:inherit;font-weight:750;cursor:pointer}.composer-error{display:flex;align-items:flex-start;gap:6px;margin:8px 0 0;color:var(--red);font-size:9px;line-height:1.45}.composer-error svg{flex:0 0 auto}.new-conversation-form{display:flex;flex-direction:column;gap:15px}.new-conversation-form .template-variable-grid{margin-top:-6px}.new-conversation-form .send-template-preview{margin-top:-5px}.template-required-state{display:flex;flex-direction:column;align-items:center;padding:8px 4px 0;text-align:center}.template-required-state>span{width:48px;height:48px;display:grid;place-items:center;margin-bottom:14px;color:var(--orange);border-radius:50%;background:var(--orange-soft)}.template-required-state h3{margin:0 0 7px;font-size:15px}.template-required-state p{margin:0 0 20px;color:var(--muted);font-size:11px;line-height:1.55}.templates-workspace{display:flex;flex-direction:column;gap:16px}.templates-toolbar .conversation-search{flex:1}.readonly-note{display:flex;align-items:flex-start;gap:8px;padding:11px 13px;color:#655d55;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:10px;line-height:1.5}.readonly-note svg{flex:0 0 auto;color:var(--violet)}.template-summary-card{min-height:94px;display:grid;grid-template-columns:repeat(3,minmax(135px,1fr)) minmax(180px,1.25fr);overflow:hidden;border:1px solid var(--line);border-radius:15px;background:#fff}.template-summary-card>div{min-width:0;display:flex;align-items:center;gap:11px;padding:18px 20px;border-right:1px solid var(--line)}.template-summary-card>div:last-child{border-right:0}.summary-icon{width:37px;height:37px;flex:0 0 37px;display:grid;place-items:center;color:var(--violet);border-radius:10px;background:#f1ebf6}.summary-icon.is-approved{color:var(--green);background:var(--green-soft)}.summary-icon.is-pending{color:#a45b2e;background:#fff3e9}.template-summary-card p{display:flex;flex-direction:column;gap:2px;margin:0}.template-summary-card p strong{font-size:18px;letter-spacing:-.03em}.template-summary-card p span,.template-sync-copy span{color:var(--muted);font-size:9px}.template-sync-copy{flex-direction:column;align-items:flex-start!important;justify-content:center;gap:5px!important}.template-sync-copy strong{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.template-filter-row{display:flex;align-items:center;gap:5px;padding-bottom:1px;overflow-x:auto}.template-filter-row button{min-height:40px;flex:0 0 auto;padding:7px 11px;color:var(--muted);border:1px solid transparent;border-radius:9px;background:transparent;font-size:10px;font-weight:700;cursor:pointer}.template-filter-row button:hover{color:var(--ink);background:#fff}.template-filter-row button.is-active{color:var(--ink);border-color:var(--line);background:#fff;box-shadow:0 3px 10px #221b1409}.template-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.template-card{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 7px 25px #221b1408}.template-card>header{min-height:72px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 17px;border-bottom:1px solid var(--line)}.template-card-title{min-width:0;display:flex;align-items:center;gap:10px}.template-card-title>span{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;color:var(--orange);border-radius:9px;background:var(--orange-soft)}.template-card-title>div{min-width:0}.template-card-title h3{margin:0 0 4px;overflow:hidden;font-size:12px;letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap}.template-card-title p{margin:0;color:var(--muted);font-size:9px;text-transform:capitalize}.template-status{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;padding:6px 8px;color:#756f69;border-radius:99px;background:#f1efed;font-size:8px;font-weight:800}.template-status i{width:5px;height:5px;border-radius:50%;background:currentColor}.template-status--approved{color:#287755;background:var(--green-soft)}.template-status--pending,.template-status--in_appeal{color:#95603a;background:#fff3e9}.template-status--rejected,.template-status--disabled,.template-status--flagged{color:#a23631;background:var(--red-soft)}.template-card-preview{min-height:126px;margin:15px 17px;padding:14px;border:1px solid #eee8e2;border-radius:11px;background:var(--surface-soft)}.template-card-preview strong{display:block;margin-bottom:6px;font-size:10px}.template-card-preview p{margin:0;overflow-wrap:anywhere;color:#4e4a46;font-size:10px;line-height:1.55;white-space:pre-wrap}.template-card-preview small{display:block;margin-top:7px;color:var(--muted);font-size:8px}.template-preview-button{display:block;margin-top:9px;padding-top:8px;color:var(--orange);border-top:1px solid var(--line);font-size:9px;font-weight:700;text-align:center}.template-rejection{display:flex;align-items:flex-start;gap:6px;margin:-5px 17px 12px;padding:8px 9px;color:var(--red);border-radius:8px;background:var(--red-soft);font-size:8px;line-height:1.45}.template-rejection svg{flex:0 0 auto}.template-card>footer{display:flex;align-items:center;gap:18px;padding:13px 17px;border-top:1px solid var(--line)}.template-card>footer>div{min-width:0;display:flex;flex-direction:column;gap:3px}.template-card>footer span{color:var(--muted);font-size:8px}.template-card>footer strong{max-width:120px;overflow:hidden;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.template-card>footer .button{min-height:40px;margin-left:auto;padding:6px 9px;font-size:9px}.templates-empty{min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:42px 20px;border:1px solid var(--line);border-radius:15px;background:#ffffffb8;text-align:center}.templates-empty>span{width:50px;height:50px;display:grid;place-items:center;margin-bottom:14px;color:var(--orange);border-radius:50%;background:var(--orange-soft)}.templates-empty h2{margin-bottom:6px;font-size:17px}.templates-empty p{margin-bottom:18px;color:var(--muted);font-size:11px}.modal.modal--wide{width:min(100%,990px);padding:31px}.modal--wide .modal-header{margin-bottom:29px}.template-editor-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(250px,.75fr);gap:24px;align-items:start}.template-editor-form{min-width:0;display:flex;flex-direction:column;gap:19px}.template-basic-grid{display:grid;grid-template-columns:minmax(0,1.3fr) repeat(2,minmax(110px,.75fr));gap:10px}.template-basic-grid label,.template-copy-field{min-width:0;display:flex;flex-direction:column;gap:7px}.template-basic-grid label>span,.template-copy-field>span{font-size:10px;font-weight:750}.template-basic-grid label>small{color:var(--muted);font-size:8px;line-height:1.4}.template-basic-grid input,.template-basic-grid select,.template-copy-field>input,.template-copy-field>textarea,.template-input-with-action input,.template-examples input{width:100%;min-height:42px;padding:9px 11px;color:var(--ink);border:1px solid var(--line-strong);border-radius:9px;background:#fff;font-size:10px}.template-copy-field>textarea{min-height:125px;resize:vertical;line-height:1.55}.template-basic-grid input:focus,.template-basic-grid select:focus,.template-copy-field>input:focus,.template-copy-field>textarea:focus,.template-input-with-action input:focus,.template-examples input:focus{border-color:var(--orange);outline:none;box-shadow:0 0 0 3px #ec4b0014}.template-copy-field>span{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.template-copy-field>span em{color:var(--muted);font-size:8px;font-style:normal;font-weight:500}.template-input-with-action{display:flex;align-items:center;gap:7px}.template-input-with-action button,.insert-variable-button{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:7px 9px;color:#8e451f;border:1px solid #f2d8ca;border-radius:8px;background:var(--orange-soft);font-size:8px;font-weight:750;cursor:pointer;white-space:nowrap}.template-input-with-action button:disabled{opacity:.45;cursor:not-allowed}.insert-variable-button{width:fit-content;margin-top:-1px}.template-examples{margin:0;padding:14px;border:1px solid #eee2db;border-radius:11px;background:#fffaf7}.template-examples legend{padding:0 5px;color:#5e4b40;font-size:10px;font-weight:800}.template-examples>p{margin:0 0 11px;color:var(--muted);font-size:8px;line-height:1.45}.template-examples>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.template-example-field{min-width:0;display:flex;flex-direction:column;gap:5px}.template-example-heading{min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:8px}.template-example-heading label{color:#655c55;font-size:8px;font-weight:700}.template-example-heading button{width:40px;height:40px;display:grid;place-items:center;flex:0 0 40px;color:#8e451f;border:1px solid #f2d8ca;border-radius:8px;background:var(--orange-soft);cursor:pointer}.template-example-heading button:hover{background:#fbe4d8}.template-example-heading button:focus-visible{outline:2px solid var(--orange);outline-offset:2px}.template-editor-aside{position:sticky;top:0;display:flex;flex-direction:column;gap:11px}.template-mockup{overflow:hidden;border:1px solid var(--line);border-radius:13px;background:#ece9e4}.template-mockup-bar{height:38px;display:flex;align-items:center;justify-content:space-between;padding:0 13px;color:#67625d;border-bottom:1px solid var(--line);background:#fff;font-size:8px;font-weight:750;text-transform:uppercase}.template-mockup-bar i{width:6px;height:6px;border-radius:50%;background:var(--green)}.template-phone-preview{min-height:286px;display:flex;align-items:flex-end;padding:20px 13px}.template-phone-preview article{position:relative;width:90%;margin-left:auto;padding:12px 12px 18px;border-radius:12px 12px 3px;background:#fff7f0;box-shadow:0 4px 15px #221b1414}.template-phone-preview article strong{display:block;margin-bottom:6px;font-size:10px}.template-phone-preview article p{margin:0;overflow-wrap:anywhere;font-size:10px;line-height:1.5;white-space:pre-wrap}.template-phone-preview article small{display:block;margin-top:7px;color:var(--muted);font-size:8px}.template-phone-preview article time{position:absolute;right:9px;bottom:5px;color:#98928c;font-size:7px}.template-review-info{display:flex;align-items:flex-start;gap:8px;padding:11px;color:var(--muted);border-radius:9px;background:var(--surface-soft)}.template-review-info svg{flex:0 0 auto;color:var(--violet)}.template-review-info p{margin:0;font-size:8px;line-height:1.5}.template-check-result{display:flex;align-items:flex-start;gap:9px;margin-top:19px;padding:12px 13px;border-radius:10px}.template-check-result>svg{flex:0 0 auto}.template-check-result strong{display:block;margin:1px 0 4px;font-size:10px}.template-check-result p{margin:0;font-size:9px;line-height:1.45}.template-check-result ul{margin:4px 0 0;padding-left:16px;font-size:9px;line-height:1.5}.template-check-result.is-valid{color:#246f50;background:var(--green-soft)}.template-check-result.is-invalid{color:#9e2f2a;background:var(--red-soft)}.template-editor-actions{padding-top:18px;border-top:1px solid var(--line)}.template-inspection-state{min-height:270px;display:flex;align-items:center;justify-content:center;gap:9px;color:var(--muted);font-size:10px}.connection-method-card,.embedded-method,.webhook-config-card{margin-top:20px;border:1px solid var(--line);border-radius:14px;background:#fff}.connection-method-card.is-open{border-color:#eadbd1}.connection-method-toggle{width:100%;min-height:69px;display:grid;grid-template-columns:34px minmax(0,1fr) auto 20px;align-items:center;gap:10px;padding:13px 16px;color:var(--ink);border:0;border-radius:inherit;background:transparent;text-align:left;cursor:pointer}.connection-method-toggle:hover{background:var(--surface-soft)}.method-number{width:30px;height:30px;display:grid;place-items:center;color:var(--orange);border-radius:9px;background:var(--orange-soft);font-size:9px;font-weight:850}.connection-method-toggle>span:nth-child(2),.connection-method-label>div{min-width:0;display:flex;flex-direction:column;gap:4px}.connection-method-toggle strong,.connection-method-label strong{font-size:11px}.connection-method-toggle small,.connection-method-label small{color:var(--muted);font-size:9px;line-height:1.4}.method-recommended{padding:5px 7px;color:#8f461f;border-radius:99px;background:var(--orange-soft);font-size:8px;font-weight:800;text-transform:uppercase}.manual-connection-form{padding:18px;border-top:1px solid var(--line)}.manual-connection-note{display:flex;align-items:flex-start;gap:7px;margin-bottom:16px;padding:9px 10px;color:#66564c;border-radius:8px;background:var(--surface-soft);font-size:9px;line-height:1.5}.manual-connection-note svg{flex:0 0 auto;color:var(--violet)}.meta-config-grid label>span small{color:var(--muted);font-size:8px;font-weight:500}.embedded-method{padding:18px}.connection-method-label{display:flex;align-items:center;gap:10px;margin-bottom:14px}.embedded-method .meta-config-form{margin-top:0;padding:18px;background:var(--surface-soft)}.embedded-method .connect-button{margin-bottom:0}.webhook-config-card{padding:19px;background:var(--surface-soft)}.webhook-heading{display:flex;align-items:center;gap:11px;margin-bottom:16px}.webhook-heading>span{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;color:var(--violet);border-radius:10px;background:#f0eaf5}.webhook-heading h3{margin:0 0 4px;font-size:13px}.webhook-heading p{margin:0;color:var(--muted);font-size:9px;line-height:1.4}.webhook-fields{display:flex;flex-direction:column;gap:12px}.webhook-fields>label{display:flex;flex-direction:column;gap:6px}.webhook-fields>label>span{color:#5d5853;font-size:9px;font-weight:750}.webhook-fields>label>div{display:flex;align-items:stretch;min-width:0}.webhook-fields input{min-width:0;height:40px;flex:1;padding:0 10px;color:#4d4945;border:1px solid var(--line-strong);border-radius:8px 0 0 8px;background:#fff;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:8px}.webhook-fields label button{min-width:40px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 9px;color:#5d5853;border:1px solid var(--line-strong);border-left:0;background:#fff;font-size:8px;font-weight:700;cursor:pointer}.webhook-fields label button:last-child{border-radius:0 8px 8px 0}.webhook-fields label button:hover{color:var(--orange);background:var(--orange-soft)}.webhook-fields label button:disabled{color:#b9b4ae;background:#f4f2ef;cursor:not-allowed}.webhook-public-warning{display:flex;align-items:flex-start;gap:7px;padding:9px 10px;color:#835034;border:1px solid #f0d9cc;border-radius:8px;background:#fff7f2;font-size:8px;line-height:1.5}.webhook-public-warning svg{flex:0 0 auto}.webhook-public-warning code{font-size:inherit;font-weight:750}.webhook-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:3px}.webhook-footer p{margin:0;color:var(--muted);font-size:8px;line-height:1.5}.webhook-footer code{color:#745243;font-size:inherit}.webhook-footer .button{min-height:40px;flex:0 0 auto;padding:6px 9px;font-size:9px}.webhook-loading{min-height:66px;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--muted);font-size:9px}.connection-offline-banner{display:flex;align-items:center;gap:8px;padding:10px 13px;color:#814c2f;border:1px solid #f0d9cc;border-radius:10px;background:#fff7f2;font-size:10px}.connection-offline-banner svg{flex:0 0 auto}.connection-offline-banner button,.disconnected-composer button{min-height:40px;margin:-9px 0 -9px auto;padding:6px;color:#8d3d18;border:0;background:transparent;font-size:inherit;font-weight:800;cursor:pointer;white-space:nowrap}.disconnected-composer{min-height:62px;display:flex;align-items:center;gap:8px;padding:12px 16px;color:#815239;border-top:1px solid var(--line);background:#fff8f4;font-size:9px}.template-compatibility-note{display:flex;align-items:flex-start;gap:6px;margin:-5px 17px 12px;padding:8px 9px;color:#855439;border-radius:8px;background:#fff5ec;font-size:8px;line-height:1.45}.template-compatibility-note svg{flex:0 0 auto}.users-view{display:flex;flex-direction:column;gap:18px}.users-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px}.search-field{position:relative;width:min(100%,360px);color:var(--muted)}.search-field svg{position:absolute;top:14px;left:14px;pointer-events:none}.search-field input{height:46px;padding-left:42px;background:#fffc}.notice,.error-banner{display:flex;align-items:center;gap:9px;padding:12px 15px;border-radius:10px;font-size:13px}.notice{color:#246f50;background:var(--green-soft)}.error-banner{color:#9e2f2a;background:var(--red-soft)}.table-card{overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 8px 32px #221b1409}.table-summary{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;border-bottom:1px solid var(--line)}.table-summary h2{margin-bottom:5px;font-size:17px;letter-spacing:-.01em}.table-summary p{margin-bottom:0;color:var(--muted);font-size:12px}.table-summary>span{color:var(--muted);font-size:11px}.table-scroll{position:relative;max-width:100%;overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:760px}th{padding:12px 24px;color:#8a857f;background:var(--surface-soft);font-size:10px;font-weight:750;letter-spacing:.08em;text-align:left;text-transform:uppercase}th:last-child,td:last-child{text-align:right}td{height:72px;padding:12px 24px;border-top:1px solid #f0ede9;font-size:12px}tbody tr:first-child td{border-top:0}tbody tr{transition:background-color .15s ease}tbody tr:hover{background:#fdfcfb}.user-cell{min-width:240px;display:flex;align-items:center;gap:12px}.avatar--table{width:36px;height:36px;flex-basis:36px;color:var(--violet);background:#f0e9f6}.user-cell>div{min-width:0;display:flex;flex-direction:column;gap:4px}.user-cell strong{font-size:12px}.user-cell span:not(.avatar){color:var(--muted);font-size:11px}.role-pill,.state-pill{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border-radius:99px;font-size:10px;font-weight:700}.role-pill--admin{color:#9e3b0f;background:var(--orange-soft)}.role-pill--user{color:#55504b;background:#f1efec}.state-pill--active{color:#287755;background:var(--green-soft)}.state-pill--inactive{color:#77726d;background:#f1efed}.state-pill i{width:5px;height:5px;border-radius:50%;background:currentColor}.muted-cell{color:var(--muted)}.row-actions{display:inline-flex;gap:2px}.table-state{min-height:250px;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--muted);font-size:13px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding:24px;background:#17171852;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:fade-in .16s ease-out}.modal{width:min(100%,520px);max-height:calc(100vh - 48px);overflow-y:auto;padding:28px;border:1px solid rgba(255,255,255,.7);border-radius:17px;background:#fff;box-shadow:0 28px 80px #17171833;animation:modal-in .18s ease-out}.modal--small{width:min(100%,430px)}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:26px}.modal-header h2{margin-bottom:7px;font-size:21px;letter-spacing:-.025em}.modal-header p{margin-bottom:0;color:var(--muted);font-size:12px;line-height:1.5}.modal-header .icon-button{margin:-8px -8px 0 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid label{min-width:0}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:10px}.confirm-copy{display:flex;align-items:flex-start;gap:13px;margin-bottom:25px}.confirm-copy p{margin:3px 0 0;color:var(--muted);font-size:13px;line-height:1.6}.danger-icon{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;color:var(--red);border-radius:50%;background:var(--red-soft)}@keyframes fade-in{0%{opacity:0}}@keyframes modal-in{0%{opacity:0;transform:translateY(8px) scale(.985)}}@keyframes breathe{50%{opacity:.35;transform:scale(.94)}}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:820px){.app-shell{display:block;padding-bottom:76px}.sidebar{position:fixed;inset:auto 0 0;z-index:20;width:auto;height:70px;display:block;padding:8px 16px;border-top:1px solid var(--line);border-right:0;background:#fffffff5;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.sidebar-brand,.sidebar-user{display:none}.sidebar-nav{height:100%;flex-direction:row;justify-content:center;gap:8px;padding:0}.nav-link{width:min(31%,130px);min-height:54px;flex-direction:column;justify-content:center;gap:4px;padding:4px;font-size:10px}.nav-link svg{width:17px;height:17px}.main-area{padding:0 22px 36px}.page-header{min-height:156px}.header-user{display:none}.mobile-logout{display:inline-flex}.page-content{padding-top:26px}.empty-card{min-height:calc(100vh - 250px)}.integration-grid{grid-template-columns:1fr}.integration-main{min-height:0}.conversation-workspace{grid-template-columns:minmax(260px,310px) minmax(0,1fr)}.template-summary-card{grid-template-columns:repeat(2,minmax(0,1fr))}.template-summary-card>div:nth-child(2){border-right:0}.template-summary-card>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.template-summary-card>div:nth-child(3){border-right:1px solid var(--line)}.template-editor-grid{grid-template-columns:minmax(0,1.15fr) minmax(220px,.85fr);gap:18px}.template-basic-grid{grid-template-columns:1fr 1fr}.template-basic-grid label:first-child{grid-column:1 / -1}}@media(max-width:700px){.conversation-workspace{min-height:540px;display:block;height:min(680px,calc(100vh - 285px))}.conversation-list-pane{height:100%;border-right:0}.conversation-detail-pane{display:none;height:100%}.conversation-workspace.is-mobile-detail .conversation-list-pane{display:none}.conversation-workspace.is-mobile-detail .conversation-detail-pane{display:flex}.conversation-back{display:inline-flex}.template-editor-grid{grid-template-columns:1fr}.template-editor-aside{position:static}.template-phone-preview{min-height:210px}}@media(max-width:560px){.login-page{display:block;padding:18px 0 56px;background:#fff}.login-page:before,.login-page:after{display:none}.login-card{width:100%;min-height:calc(100vh - 74px);justify-content:center;padding:30px 24px;border:0;border-radius:0;box-shadow:none}.login-card>.brand-logo{margin-bottom:24px}.main-area{padding-inline:16px}.page-header{min-height:145px}.page-header h1{font-size:29px}.page-header>div>p:last-child{font-size:12px}.users-toolbar{align-items:stretch;flex-direction:column}.search-field,.users-toolbar .button{width:100%}.table-summary{padding:18px}th,td{padding-inline:18px}.modal-backdrop{align-items:end;padding:0}.modal,.modal--small{width:100%;max-height:92vh;padding:24px 20px;border-radius:18px 18px 0 0}.form-grid{grid-template-columns:1fr;gap:0}.modal-actions{flex-direction:column-reverse}.modal-actions .button{width:100%}.whatsapp-view{gap:16px}.whatsapp-tabs{width:100%;overflow-x:auto}.whatsapp-tabs button{min-width:0;flex:1;gap:5px;padding-inline:7px;font-size:10px;white-space:nowrap}.whatsapp-tabs button svg{width:15px;height:15px}.whatsapp-empty{min-height:calc(100vh - 310px)}.integration-main,.integration-checklist{padding:21px 18px}.section-heading h2{font-size:19px}.meta-config-form{padding:19px 16px}.meta-config-grid{grid-template-columns:1fr}.meta-config-secret,.meta-version-fields{grid-column:auto}.meta-config-actions{align-items:stretch;flex-direction:column}.meta-config-actions .button,.connect-button{width:100%}.connection-details{grid-template-columns:1fr}.connection-details>div{border-right:0}.connection-details>div:nth-last-child(2){border-bottom:1px solid #e1ede6}.connected-footer{flex-wrap:wrap;gap:15px 22px}.connected-footer .button{margin-left:0}.connected-footer>.connected-actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-left:0}.connected-actions .button:only-child{grid-column:1 / -1}.conversation-toolbar,.templates-toolbar{align-items:stretch;flex-direction:column}.conversation-search,.conversation-toolbar-actions,.templates-toolbar-actions{width:100%}.conversation-toolbar-actions .button,.templates-toolbar-actions .button{min-width:0;flex:1;padding-inline:10px;font-size:11px}.conversation-toolbar-actions .icon-button{flex:0 0 44px;width:44px;height:44px}.conversation-workspace{height:610px;min-height:520px}.conversation-list-heading,.conversation-detail-header{min-height:70px;padding-inline:13px}.conversation-row{min-height:72px}.conversation-window-state{font-size:8px}.message-history{padding:18px 13px}.message-bubble{max-width:86%}.message-composer{padding-inline:11px}.template-variable-grid{grid-template-columns:1fr}.session-window{display:none}.connection-offline-banner{align-items:flex-start;flex-wrap:wrap}.connection-offline-banner button{margin-left:25px}.template-summary-card{min-height:0;grid-template-columns:repeat(2,minmax(0,1fr))}.template-summary-card>div{min-height:76px;padding:13px}.template-card-grid{grid-template-columns:1fr}.template-card>footer{gap:10px}.template-card>footer>div:nth-child(2){display:none}.template-basic-grid{grid-template-columns:1fr}.template-basic-grid label:first-child{grid-column:auto}.template-examples>div{grid-template-columns:1fr}.template-editor-actions .button{width:100%}.connection-method-toggle{grid-template-columns:32px minmax(0,1fr) 18px;padding-inline:13px}.connection-method-toggle .method-recommended{display:none}.manual-connection-form,.embedded-method{padding:15px 13px}.webhook-config-card{padding:16px 13px}.webhook-fields>label>div{flex-wrap:wrap}.webhook-fields input{flex-basis:calc(100% - 82px)}.webhook-fields label button{min-height:40px}.webhook-footer{align-items:stretch;flex-direction:column}.webhook-footer .button{width:100%}}@media(max-width:370px){.whatsapp-tabs button{padding-inline:5px;font-size:9px}.whatsapp-tabs button svg{display:none}.conversation-detail-header .conversation-avatar{display:none}.conversation-window-state{margin-left:auto}.template-summary-card{grid-template-columns:1fr}.template-summary-card>div{border-right:0!important;border-bottom:1px solid var(--line)}.template-summary-card>div:last-child{border-bottom:0}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
