:root{--bg:#061126;--panel:#0b1933;--panel2:#0e2143;--line:#213b67;--text:#f5f8ff;--muted:#8fa5c9;--blue:#2878ff;--cyan:#36cdf5;--green:#28cb8b;--red:#ff6577;--yellow:#f4c45f;--purple:#7f67ff}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:radial-gradient(circle at 75% 0,#102b61 0,#061126 42%);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}button,input,select,textarea{font:inherit}.boot{min-height:100vh;display:grid;place-items:center;color:var(--muted)}.login-body{overflow:auto}.login-wrap{min-height:100vh;display:grid;grid-template-columns:1.2fr .8fr;align-items:stretch}.login-hero{padding:9vw;display:flex;flex-direction:column;justify-content:center;background:radial-gradient(circle at 20% 20%,#123c84,#07152e 58%)}.login-hero h1{font-size:46px;margin:18px 0 6px}.login-hero p{font-size:18px;color:#a8bce1;max-width:620px;line-height:1.6}.hero-logo{width:74px;height:74px;border-radius:22px;display:grid;place-items:center;background:linear-gradient(135deg,var(--blue),var(--cyan));font-size:35px;box-shadow:0 24px 70px #1d73ff55}.hero-pills{display:flex;gap:10px;flex-wrap:wrap;margin-top:25px}.hero-pills span{padding:8px 12px;border:1px solid #30558d;border-radius:999px;color:#b9cdf0;background:#0a1d3eaa}.login-card{align-self:center;justify-self:center;width:min(430px,88%);padding:34px;border:1px solid var(--line);border-radius:24px;background:#0a1831;box-shadow:0 35px 100px #0008}.mini-brand{font-weight:850;color:#dceaff}.login-card h2{font-size:27px;margin:28px 0 4px}.center{text-align:center;display:block;margin-top:18px}.form-msg{min-height:22px;text-align:center;margin-top:12px;color:#8fb6ff}.form-msg.bad{color:#ff9eaa}.shell{display:grid;grid-template-columns:245px 1fr;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:#07142b;border-right:1px solid var(--line);padding:18px 13px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;padding:3px 8px 18px;border-bottom:1px solid #1a3056}.brand-icon{width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,var(--blue),var(--cyan));display:grid;place-items:center}.brand b{display:block;font-size:19px}.brand small{color:var(--muted)}nav{margin-top:15px;display:grid;gap:4px;overflow:auto}nav button{border:0;background:transparent;color:#94a8ca;text-align:left;padding:10px 11px;border-radius:10px;cursor:pointer;display:flex;gap:10px;align-items:center;font-weight:700}nav button i{width:22px;text-align:center;font-style:normal;color:#6c91c8}nav button:hover,nav button.active{background:#142a50;color:#fff}.profile{margin-top:auto;border:1px solid #24406d;border-radius:14px;background:#0c1e3b;padding:12px}.profile b,.profile span,.profile small{display:block}.profile span{font-size:11px;margin-top:3px}.profile small{color:var(--muted);margin:4px 0 10px}.profile button{width:100%;border:1px solid #315181;background:#10264a;color:white;border-radius:9px;padding:8px;cursor:pointer}.content{padding:25px 28px;min-width:0}.top{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:22px}.top h1{margin:0;font-size:27px}.top p{color:var(--muted);margin:5px 0}.top-actions{display:flex;gap:8px}.btn{border:0;border-radius:10px;padding:11px 15px;background:linear-gradient(135deg,var(--blue),#675cff);color:#fff;font-weight:800;cursor:pointer}.btn:hover{filter:brightness(1.08)}.btn:disabled{opacity:.45;cursor:not-allowed}.btn.full{width:100%;margin-top:22px}.btn.ghost{background:#13294d;border:1px solid #31517e}.btn.danger,.small.danger{background:#54293a;color:#ffb8c1}.field{margin-top:15px}.field label{display:block;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#a9badd;margin-bottom:6px}.field small{color:var(--muted);display:block;margin-top:5px}.field.check label{text-transform:none;letter-spacing:0;font-size:13px}.field.check input{width:auto;margin-right:7px}input,select,textarea{width:100%;background:#07152d;border:1px solid #29456f;color:var(--text);border-radius:9px;padding:11px 12px;outline:none}input:focus,select:focus,textarea:focus{border-color:#3f82ff;box-shadow:0 0 0 3px #2d78ff22}textarea{min-height:120px;resize:vertical}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.card{background:linear-gradient(145deg,#0b1933,#08162e);border:1px solid var(--line);border-radius:15px;padding:16px;box-shadow:0 15px 35px #0002}.kpi span{font-size:12px;color:#9eb3d6;font-weight:750}.kpi strong{font-size:25px;display:block;margin-top:8px}.kpi small{display:block;color:var(--muted);margin-top:5px}.section{margin-top:17px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px}.row{display:flex;align-items:center}.between{justify-content:space-between}.gap{gap:12px}.grow{flex:1}.muted{color:var(--muted)}h2,h3{margin:0 0 8px}.quick,.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.actions{justify-content:flex-end}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:14px;background:#08162c}table{width:100%;border-collapse:collapse}th,td{padding:12px;border-bottom:1px solid #1d345a;text-align:left;font-size:13px;vertical-align:middle;white-space:nowrap}th{font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:#8da3c7;background:#0c1c38}td small{display:block;color:var(--muted);margin-top:4px}.table-actions{display:flex;gap:6px}.small{border:1px solid #31517e;background:#13294d;color:#dce8ff;border-radius:8px;padding:6px 9px;cursor:pointer}.small.ok{background:#123a32;color:#72e7b5}.small.warn{background:#483820;color:#ffd889}.badge{display:inline-flex;padding:4px 8px;border-radius:999px;background:#243a5d;color:#b7cae9;font-size:10px;font-weight:850}.badge.active,.badge.paid,.badge.open{background:#153d34;color:#73e8b7}.badge.inactive,.badge.suspended,.badge.closed{background:#472937;color:#ffb4bf}.badge.pending,.badge.trial{background:#4b3a20;color:#ffd98e}.plan-grid,.integration-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.plan-card ul{padding-left:18px;color:#b8c7df;line-height:1.9}.plan-price{font-size:27px;font-weight:900;margin:15px 0}.plan-price span{font-size:12px;color:var(--muted);margin-left:4px}.integration-card{display:flex;flex-direction:column;gap:8px}.integration-card .actions{margin-top:auto}.integration-logo,.channel-icon{width:46px;height:46px;border-radius:12px;background:#142f5d;display:grid;place-items:center;font-weight:900;color:#6ad7ff}.channel-head{display:flex;gap:12px;align-items:center}.channel-head p{margin:2px 0;color:var(--muted);font-size:12px}.channel-info{margin:8px 0;color:#b8c9e6;font-size:12px}.usage-line{border:1px solid #294a7b;border-radius:10px;padding:10px 12px;background:#0b2041;color:#bcd1f2}.cards-list,.flow-list{display:grid;gap:10px}.code,code,pre{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.copy-row{display:flex;align-items:center;gap:8px}.copy-row code{flex:1;background:#061020;border:1px solid #203b63;padding:10px;border-radius:8px;overflow:auto}.notice{border:1px solid #2f568b;background:#0d2448;padding:12px;border-radius:10px;color:#c7d8f2}.notice.bad{border-color:#753446;background:#361a25;color:#ffc0c8}.notice.ok{border-color:#1c6a52;background:#10382f;color:#9bf1ce}.notice.warn{border-color:#6b5722;background:#332b14;color:#ffe09a}.empty{padding:28px;text-align:center;color:var(--muted)}.loading{padding:50px;text-align:center;color:var(--muted)}.modal{position:fixed;inset:0;background:#000a;z-index:50;display:grid;place-items:center;padding:20px}.modal-card{width:min(650px,96vw);max-height:90vh;overflow:auto;background:#0a1932;border:1px solid #2b4a78;border-radius:18px;padding:20px;box-shadow:0 30px 100px #000a}.modal-card.wide{width:min(1050px,97vw)}.modal-head{display:flex;justify-content:space-between;align-items:center}.icon-btn{border:0;background:transparent;color:#fff;font-size:25px;cursor:pointer}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.span2{grid-column:1/-1}.toast{display:none;position:fixed;right:18px;bottom:18px;background:#15493b;color:#fff;padding:12px 16px;border-radius:10px;z-index:100;box-shadow:0 10px 35px #0008}.toast.show{display:block}.toast.bad{background:#7b3042}.inbox{display:grid;grid-template-columns:310px 1fr;height:70vh;border:1px solid var(--line);border-radius:14px;overflow:hidden}.convs{background:#07152b;border-right:1px solid var(--line);overflow:auto}.inbox-search{padding:10px;border-bottom:1px solid var(--line)}.conv{width:100%;text-align:left;border:0;border-bottom:1px solid #193153;background:transparent;color:#eaf1ff;padding:12px;cursor:pointer}.conv:hover{background:#10264a}.conv b,.conv span,.conv small{display:block}.conv span,.conv small{color:var(--muted);font-size:11px;margin-top:4px}.chat{display:grid;grid-template-rows:auto 1fr auto;background:#0a1830;min-width:0}.chat-head{padding:12px 15px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between}.chat-head small{display:block;color:var(--muted)}.messages{overflow:auto;padding:16px}.bubble{max-width:72%;background:#142b50;border-radius:12px;padding:10px 12px;margin:8px 0}.bubble.out{margin-left:auto;background:#2454a7}.bubble small{display:block;font-size:9px;color:#9fb3d2;margin-top:5px}.composer{padding:10px;border-top:1px solid var(--line);display:flex;gap:8px}.composer input{margin:0}.qr-box{text-align:center}.qr-box img{max-width:320px;background:white;padding:10px;border-radius:12px}.builder{display:grid;grid-template-columns:190px 1fr;gap:12px;margin-top:14px;min-height:430px}.node-palette{display:grid;align-content:start;gap:7px;background:#07152b;border:1px solid var(--line);border-radius:12px;padding:10px}.node-palette button{border:1px solid #2b4a78;background:#102646;color:#cfe0fa;border-radius:8px;padding:9px;text-align:left;cursor:pointer}.canvas{position:relative;background-image:radial-gradient(#28446c 1px,transparent 1px);background-size:20px 20px;background-color:#08162d;border:1px solid var(--line);border-radius:12px;padding:28px;display:flex;flex-direction:column;align-items:center;gap:26px;overflow:auto}.flow-node{min-width:180px;background:#102c58;border:1px solid #3973be;border-radius:10px;padding:12px 35px 12px 14px;text-align:center;position:relative;box-shadow:0 8px 24px #0005}.flow-node.start{background:#124b3b;border-color:#2fc391}.flow-node .node-remove{position:absolute;right:6px;top:4px;border:0;background:transparent;color:#ff9fa9;font-size:18px;cursor:pointer}.connector{position:absolute;left:50%;bottom:-25px;color:#6ea9ff}.check input{accent-color:#377cff}details{margin-top:15px;background:#07152b;border:1px solid var(--line);border-radius:10px;padding:10px}summary{cursor:pointer;color:#bfd0eb}.build-note{font-size:10px;color:#61789e}
@media(max-width:1200px){.kpi-grid,.plan-grid,.integration-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:850px){.login-wrap{grid-template-columns:1fr}.login-hero{display:none}.shell{grid-template-columns:1fr}.sidebar{position:relative;height:auto}.profile{display:none}nav{grid-template-columns:repeat(3,1fr)}nav button{justify-content:center}.content{padding:17px}.two-col{grid-template-columns:1fr}.inbox{grid-template-columns:1fr;height:auto}.convs{max-height:300px;border-right:0;border-bottom:1px solid var(--line)}.chat{min-height:520px}.builder{grid-template-columns:1fr}.node-palette{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.kpi-grid,.plan-grid,.integration-grid,.form-grid{grid-template-columns:1fr}.span2{grid-column:auto}.top{flex-direction:column}.top-actions{width:100%}.top-actions .btn{width:100%}nav{grid-template-columns:repeat(2,1fr)}.content{padding:12px}}

/* Atendimento Pro v1.3.0 */
.inbox-pro{grid-template-columns:280px minmax(380px,1fr) 280px}
.customer-panel{background:#08162d;border-left:1px solid var(--line);padding:14px;overflow:auto}
.customer-title{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid var(--line);padding-bottom:12px}
.customer-title h3{margin:0}.customer-data{display:grid;gap:8px;padding:13px 0;font-size:12px;color:#b8c9e6}.customer-data span{display:block}
.panel-actions{display:grid;gap:7px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0}.panel-actions .small{width:100%;text-align:left}
.notes-box{padding-top:12px}.notes-box h4{margin:0 0 9px}.note{padding:9px;background:#0c1f3d;border:1px solid #213e69;border-radius:9px;margin-bottom:7px}.note b,.note small{display:block}.note small{color:var(--muted);font-size:9px}.note p{margin:6px 0 0;font-size:12px;white-space:pre-wrap}
.composer-pro{border-top:1px solid var(--line)}.composer-tools{display:flex;gap:6px;padding:8px 10px;background:#08172f;overflow:auto}.composer-tools select{width:220px;padding:7px 9px}.composer textarea{min-height:46px;max-height:130px;margin:0;resize:vertical}.chat-head-actions{display:flex;gap:6px}.bubble-sender{font-size:10px;font-weight:800;color:#84adf1;margin-bottom:5px}.bubble.out .bubble-sender{color:#c6d9ff}.conv.active{background:#17315b}.shortcut-list{display:grid;gap:9px}.shortcut-row{display:flex;justify-content:space-between;gap:14px}.shortcut-row p{white-space:pre-wrap;margin:5px 0 0}.erp-quick-result textarea{min-height:150px}
@media(max-width:1150px){.inbox-pro{grid-template-columns:260px 1fr}.customer-panel{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:12px}.panel-actions,.notes-box{border:0;padding:0}}
@media(max-width:760px){.inbox-pro{grid-template-columns:1fr}.customer-panel{display:block}.composer-tools{flex-wrap:wrap}.composer-tools select{width:100%}.shortcut-row{display:block}}

/* ISPCHAT_SYNC_V131_START */
.inbox.inbox-pro{
  height:calc(100vh - 165px);
  min-height:480px;
  max-height:none;
  overflow:hidden;
}
.inbox-pro .convs{
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  min-height:0;
  overflow:hidden;
}
.inbox-pro #conv-list{
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}
.inbox-pro .chat{
  grid-template-rows:auto minmax(0,1fr) auto;
  min-height:0;
  overflow:hidden;
}
.inbox-pro .messages{
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}
.inbox-pro .customer-panel{
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  scrollbar-gutter:stable;
}
.inbox-search{
  position:sticky;
  top:0;
  z-index:3;
  background:#07152b;
}
.inbox-search small{
  display:block;
  color:var(--muted);
  font-size:10px;
  padding:6px 2px 0;
}
.conv-title-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.live-dot{
  width:9px;
  height:9px;
  border-radius:999px;
  background:#35d08b;
  box-shadow:0 0 0 4px #35d08b22;
  flex:0 0 auto;
}
.conv-updated{
  border-left:3px solid #35d08b;
  background:#102a4b;
}
.inbox-sync-status,.sync-chip{
  display:inline-flex;
  align-items:center;
  white-space:nowrap;
  border:1px solid #28507f;
  background:#0b2345;
  color:#75ddb0;
  border-radius:999px;
  padding:7px 10px;
  font-size:11px;
  font-weight:800;
}
.inbox-sync-status.bad{color:#ff9fa9;border-color:#6f3242;background:#321a24}
.chat-head-actions{align-items:center}
.composer-pro{min-height:0;background:#08162e}
.inbox-pro .composer{align-items:flex-end}
.inbox-pro .composer textarea{overflow-y:auto}
.inbox-pro #conv-list::-webkit-scrollbar,
.inbox-pro .messages::-webkit-scrollbar,
.inbox-pro .customer-panel::-webkit-scrollbar{width:9px}
.inbox-pro #conv-list::-webkit-scrollbar-thumb,
.inbox-pro .messages::-webkit-scrollbar-thumb,
.inbox-pro .customer-panel::-webkit-scrollbar-thumb{background:#294a75;border-radius:999px}
.inbox-pro #conv-list::-webkit-scrollbar-track,
.inbox-pro .messages::-webkit-scrollbar-track,
.inbox-pro .customer-panel::-webkit-scrollbar-track{background:#07152b}
@media(max-height:650px){
  .inbox.inbox-pro{height:calc(100vh - 130px);min-height:420px}
}
@media(max-width:1150px){
  .inbox.inbox-pro{height:auto;min-height:650px;max-height:none}
  .inbox-pro .convs{min-height:420px;max-height:70vh}
  .inbox-pro #conv-list{max-height:calc(70vh - 75px)}
  .inbox-pro .chat{min-height:600px}
  .inbox-pro .customer-panel{max-height:420px}
}
@media(max-width:760px){
  .inbox.inbox-pro{min-height:0}
  .inbox-pro .convs{min-height:360px;max-height:55vh}
  .inbox-pro #conv-list{max-height:calc(55vh - 75px)}
  .inbox-pro .chat{min-height:560px}
}
/* ISPCHAT_SYNC_V131_END */

/* ISPCHAT_UI_V133_START */

/* Sidebar estilo barra compacta */
.shell{transition:grid-template-columns .18s ease}
.shell.sidebar-collapsed{grid-template-columns:72px minmax(0,1fr)}
.sidebar{transition:width .18s ease,padding .18s ease}
.brand{position:relative}
.sidebar-toggle{
  margin-left:auto;width:30px;height:30px;border:1px solid #315181;border-radius:9px;
  background:#10264a;color:#dce8ff;cursor:pointer;font-size:20px;line-height:1
}
.sidebar-actions{display:flex;gap:6px}
.sidebar-actions button{
  flex:1;border:1px solid #315181;background:#10264a;color:white;border-radius:9px;
  padding:8px;cursor:pointer
}
.sidebar-collapsed .sidebar{padding-left:9px;padding-right:9px}
.sidebar-collapsed .brand{justify-content:center;padding-left:0;padding-right:0}
.sidebar-collapsed .brand-copy,
.sidebar-collapsed nav button span,
.sidebar-collapsed .profile-copy,
.sidebar-collapsed .logout-label{display:none}
.sidebar-collapsed .brand-icon{width:38px;height:38px}
.sidebar-collapsed .sidebar-toggle{
  position:absolute;right:-22px;top:8px;z-index:8;width:24px;height:34px;border-radius:0 8px 8px 0
}
.sidebar-collapsed nav button{justify-content:center;padding:11px 7px}
.sidebar-collapsed nav button i{width:auto;font-size:17px}
.sidebar-collapsed .profile{padding:7px}
.sidebar-collapsed .sidebar-actions{display:grid}
.sidebar-collapsed .sidebar-actions button{width:100%;padding:8px 4px}

/* Atendimento ocupa praticamente a tela inteira */
.inbox-mode .content{padding:12px 14px 10px}
.inbox-mode .top{margin-bottom:10px;align-items:center}
.inbox-mode .top h1{font-size:25px}
.inbox-mode .top p{margin-top:2px}
.inbox-mode .inbox.inbox-pro{
  height:calc(100vh - 104px);
  min-height:540px;
  grid-template-columns:250px minmax(520px,1fr) 260px;
}
.inbox-mode .messages{padding:12px}
.inbox-mode .bubble{max-width:82%}
.inbox-mode .composer-tools{padding:6px 8px}
.inbox-mode .composer{padding:7px 8px}
.inbox-mode .composer-input-wrap{flex:1;min-width:0}
.inbox-mode .composer textarea{min-height:42px;max-height:100px}
.send-hint{display:block;color:var(--muted);font-size:9px;margin:4px 3px 0}
.chat-person{min-width:0}
.chat-person b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.agent-lock{
  display:inline-flex;align-items:center;white-space:nowrap;border:1px solid #2a5d4e;
  background:#10362f;color:#73ddb1;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:800
}
.assume-btn{background:#174735!important;color:#91edc2!important;border-color:#2a7458!important}

/* Modo claro global */
body.theme-light{
  --bg:#eef3f9;--panel:#ffffff;--panel2:#f5f8fc;--line:#cfdae9;
  --text:#172238;--muted:#61718b;
  background:#eef3f9;color:var(--text)
}
body.theme-light .sidebar{background:#ffffff;border-color:#d6e0ec}
body.theme-light .brand{border-color:#d6e0ec}
body.theme-light .brand small,
body.theme-light .top p,
body.theme-light .muted{color:#667791}
body.theme-light nav button{color:#41546f}
body.theme-light nav button i{color:#4778b6}
body.theme-light nav button:hover,
body.theme-light nav button.active{background:#e7effb;color:#173a69}
body.theme-light .profile{background:#f6f9fd;border-color:#cfdae9}
body.theme-light .profile button,
body.theme-light .sidebar-actions button,
body.theme-light .sidebar-toggle{background:#eef4fc;color:#24466f;border-color:#c4d2e4}
body.theme-light .content{background:#eef3f9}
body.theme-light .card,
body.theme-light .modal-card{background:#ffffff;border-color:#cfdae9;box-shadow:0 12px 30px #24364d10}
body.theme-light input,
body.theme-light select,
body.theme-light textarea{background:#ffffff;color:#172238;border-color:#bdcce0}
body.theme-light input::placeholder,
body.theme-light textarea::placeholder{color:#8795aa}
body.theme-light .btn.ghost,
body.theme-light .small{background:#edf3fb;color:#28496f;border-color:#bfd0e5}
body.theme-light .inbox{border-color:#cbd8e8}
body.theme-light .convs,
body.theme-light .inbox-search{background:#f7faff;border-color:#d2deec}
body.theme-light .conv{color:#1f3049;border-color:#d9e3ef}
body.theme-light .conv:hover{background:#edf4fd}
body.theme-light .conv.active{background:#dfeeff;color:#163d70}
body.theme-light .conv-updated{background:#e6f7ef;border-left-color:#27a970}
body.theme-light .chat{background:#f5f8fd}
body.theme-light .chat-head{background:#ffffff;border-color:#d3deeb}
body.theme-light .messages{background:#f2f6fb}
body.theme-light .bubble{background:#ffffff;color:#1b2b44;border:1px solid #d5e0ed;box-shadow:0 4px 12px #1c38530a}
body.theme-light .bubble.out{background:#dceaff;color:#123762;border-color:#bfd5f5}
body.theme-light .bubble small{color:#71839a}
body.theme-light .bubble-sender{color:#356aa9}
body.theme-light .composer-pro,
body.theme-light .composer-tools{background:#ffffff;border-color:#d3deeb}
body.theme-light .customer-panel{background:#ffffff;border-color:#d3deeb}
body.theme-light .customer-title,
body.theme-light .panel-actions{border-color:#d8e2ee}
body.theme-light .customer-data{color:#526680}
body.theme-light .note{background:#f5f8fd;border-color:#d3dfed}
body.theme-light .table-wrap,
body.theme-light .table td,
body.theme-light .table th{border-color:#d4deea}
body.theme-light .table{background:#ffffff}
body.theme-light .table th{background:#f2f6fb;color:#556983}
body.theme-light details{background:#f5f8fd;border-color:#d3deeb}
body.theme-light summary{color:#3d5574}
body.theme-light .notice{background:#eef5ff;color:#284764;border-color:#c8d9ed}
body.theme-light .inbox-sync-status,
body.theme-light .sync-chip{background:#eaf8f1;color:#247a58;border-color:#afdac7}
body.theme-light .agent-lock{background:#e9f8f1;color:#247957;border-color:#b3dbc9}

/* Mais espaço em telas médias/pequenas */
@media(max-width:1250px){
  .inbox-mode .inbox.inbox-pro{grid-template-columns:225px minmax(430px,1fr) 235px}
}
@media(max-width:1050px){
  .inbox-mode .inbox.inbox-pro{grid-template-columns:220px 1fr;height:auto;min-height:720px}
  .inbox-mode .customer-panel{grid-column:1/-1;max-height:330px}
}
@media(max-width:760px){
  .shell,.shell.sidebar-collapsed{grid-template-columns:1fr}
  .sidebar{position:relative;height:auto}
  .sidebar-collapsed .brand-copy,
  .sidebar-collapsed nav button span,
  .sidebar-collapsed .profile-copy,
  .sidebar-collapsed .logout-label{display:initial}
  .sidebar-collapsed nav button{justify-content:flex-start}
  .sidebar-toggle{display:none}
  .inbox-mode .content{padding:10px}
  .inbox-mode .inbox.inbox-pro{grid-template-columns:1fr;min-height:0}
}

/* ISPCHAT_UI_V133_END */

/* ISPCHAT_FINANCE_V134_START */
.finance-preview{display:grid;gap:8px;margin:12px 0}
.finance-msg{background:#0a1931;border:1px solid #29466f;border-radius:11px;padding:10px}
.finance-msg small{display:block;color:var(--muted);font-size:10px;margin-bottom:5px}
.finance-msg pre{margin:0;white-space:pre-wrap;word-break:break-word;background:transparent;border:0;padding:0}
.finance-msg.finance-code{background:#071428;border-color:#3b638f}
.finance-msg.finance-code pre{font-size:13px;user-select:all}
body.theme-light .finance-msg{background:#f5f8fd;border-color:#cbd9e9}
body.theme-light .finance-msg.finance-code{background:#eef5ff;border-color:#aac5e6}
/* ISPCHAT_FINANCE_V134_END */

/* ISPCHAT_CLOSE_UI_V135_START */

/* Sidebar com rolagem mais discreta */
.sidebar{overflow:hidden}
.sidebar nav{
  overflow-y:auto;
  overflow-x:hidden;
  padding-right:2px;
  scrollbar-width:thin;
  scrollbar-color:#2e5e97 transparent;
}
.sidebar nav::-webkit-scrollbar{width:6px}
.sidebar nav::-webkit-scrollbar-track{background:transparent}
.sidebar nav::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg,#2f5c95,#1f416c);
  border-radius:999px;
}
.sidebar nav::-webkit-scrollbar-thumb:hover{
  background:linear-gradient(180deg,#3b72b8,#285283);
}
.sidebar-collapsed nav{
  scrollbar-width:none;
  padding-right:0;
}
.sidebar-collapsed nav::-webkit-scrollbar{width:0;height:0}
.sidebar-collapsed nav button{
  margin:4px 0;
  border-radius:12px;
}
.sidebar-collapsed .sidebar-actions button{
  border-radius:12px;
}
body.theme-light .sidebar nav{
  scrollbar-color:#93b0d4 transparent;
}
body.theme-light .sidebar nav::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg,#9eb8d9,#7d9cc7);
}
.chat-head .small.danger{border-color:#793846}
.chat-head .small.ok{border-color:#30755e}

/* ISPCHAT_CLOSE_UI_V135_END */

/* ISPCHAT_SMARTBOT_LIGHT_V136_START */

/* Corrige componentes que ainda herdavam o fundo escuro no modo claro */
body.theme-light .table-wrap{
  background:#ffffff!important;
  border-color:#cbd8e7!important;
  box-shadow:0 8px 24px rgba(35,58,88,.06);
}
body.theme-light .table-wrap table,
body.theme-light table{
  background:#ffffff!important;
  color:#1d2c43!important;
}
body.theme-light table thead,
body.theme-light table thead tr{
  background:#eaf1fa!important;
}
body.theme-light table th{
  background:#eaf1fa!important;
  color:#315077!important;
  border-color:#cbd8e7!important;
}
body.theme-light table tbody,
body.theme-light table tbody tr,
body.theme-light table td{
  background:#ffffff!important;
  color:#23344d!important;
  border-color:#d9e2ed!important;
}
body.theme-light table tbody tr:nth-child(even) td{
  background:#f8fafd!important;
}
body.theme-light table tbody tr:hover td{
  background:#eef5fd!important;
}
body.theme-light .cards-list .card,
body.theme-light .row.card{
  background:#ffffff!important;
  color:#1d2c43!important;
}
body.theme-light .code,
body.theme-light pre{
  background:#f4f7fb;
  color:#21324b;
  border-color:#ccd9e8;
}
body.theme-light .tabs button{
  background:#eef4fb;
  color:#315077;
  border-color:#c5d5e7;
}
body.theme-light .tabs button.active{
  background:#dceaff;
  color:#173e70;
}
body.theme-light .modal{
  background:rgba(25,39,57,.28);
}
body.theme-light .modal-card{
  background:#ffffff!important;
  color:#1d2c43!important;
}
body.theme-light .shortcut-row,
body.theme-light .finance-msg{
  color:#1d2c43;
}
body.theme-light .badge{
  background:#e5edf7;
  color:#3d536f;
}
body.theme-light .badge.active,
body.theme-light .badge.paid{
  background:#dff5e9;
  color:#14704a;
}
body.theme-light .badge.pending,
body.theme-light .badge.suspended{
  background:#fff0df;
  color:#8b581a;
}

/* Campo e botões de ações das tabelas */
body.theme-light table .small{
  background:#eef4fb!important;
  color:#234a76!important;
  border-color:#bdd0e6!important;
}
body.theme-light table .small:hover{
  background:#dfeafb!important;
}

/* scrollbar clara */
body.theme-light *{
  scrollbar-color:#9db5d2 #edf3f9;
}
body.theme-light *::-webkit-scrollbar-track{
  background:#edf3f9;
}
body.theme-light *::-webkit-scrollbar-thumb{
  background:#9db5d2;
  border-radius:999px;
}

/* ISPCHAT_SMARTBOT_LIGHT_V136_END */

/* ISPCHAT_VOICE_V140_START */
.voice-grid{display:grid;grid-template-columns:1fr;gap:14px}
.voice-hero{display:flex;align-items:center;gap:14px}
.voice-hero .badge{margin-left:auto}
.voice-icon{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;font-size:26px;background:#12315d;border:1px solid #29528a}
.span-voice{width:100%}
.voice-recorder{padding:8px}
.record-state{display:flex;align-items:center;gap:8px;font-size:17px;padding:18px;border:1px solid var(--line);border-radius:12px;margin-bottom:12px}
.record-dot{width:12px;height:12px;border-radius:50%;background:#ff4b5f;box-shadow:0 0 0 5px #ff4b5f22;animation:voicePulse 1s infinite}
@keyframes voicePulse{50%{opacity:.35}}
.voice-recorder audio,#voice-preview-box audio{width:100%;margin:12px 0}
.audio-bubble{border-left:3px solid #39a6ff}
.audio-bubble .bubble-sender{color:#73c5ff}
body.theme-light .voice-icon{background:#e8f2ff;border-color:#bdd3ee}
body.theme-light .record-state{background:#f7faff;border-color:#cbd9e9}
body.theme-light .audio-bubble{border-left-color:#347cc6}
@media(min-width:1000px){.voice-grid{grid-template-columns:minmax(0,1fr)}}
/* ISPCHAT_VOICE_V140_END */

/* ISPCHAT_MANAGEMENT_V150_START */
.support-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:14px}.support-chat{height:420px;overflow:auto;background:#07162d;border:1px solid var(--line);border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:9px}.support-bot,.support-user{max-width:85%;padding:10px 12px;border-radius:12px;white-space:normal}.support-bot{background:#132849;border:1px solid #26446f}.support-user{margin-left:auto;background:#2453a7}.ticket-list{display:grid;gap:8px;max-height:500px;overflow:auto}.ticket-card{display:grid;text-align:left;gap:3px;background:#0a1830;color:var(--text);border:1px solid var(--line);padding:11px;border-radius:10px;cursor:pointer}.ticket-card:hover{background:#122746}.ticket-card small{color:var(--muted)}.ticket-thread{display:grid;gap:10px;max-height:55vh;overflow:auto;margin-bottom:12px}.ticket-msg{background:#0a1830;border:1px solid var(--line);border-radius:11px;padding:10px}.ticket-msg.master{background:#123528;border-color:#285d4b}.ticket-msg p{white-space:pre-wrap}.big-stat{font-size:34px;font-weight:800;margin-top:15px}.big-stat small{font-size:12px;color:var(--muted)}.policy-form{display:grid;gap:7px}.policy-form h2{margin:0 0 6px}.customer-data span:nth-child(2){color:#8fc3ff}.customer-data span:nth-child(2) b{color:#dceaff}.badge.high,.badge.priority{background:#493766;color:#e6d3ff}.badge.open{background:#153a31;color:#84e1bc}.badge.closed{background:#273044;color:#9fb0cb}.badge.pending{background:#4a321c;color:#ffd18e}
body.theme-light .support-chat{background:#f4f8fd}.theme-light .support-bot{background:#fff;border-color:#cbd9e9}.theme-light .support-user{background:#dceaff;color:#173a69}.theme-light .ticket-card,.theme-light .ticket-msg{background:#fff;color:#20324a;border-color:#cbd9e9}.theme-light .ticket-msg.master{background:#e9f8f0;border-color:#bddfce}.theme-light .customer-data span:nth-child(2){color:#315b89}.theme-light .customer-data span:nth-child(2) b{color:#173a69}
@media(max-width:980px){.support-layout{grid-template-columns:1fr}.support-chat{height:340px}}
/* ISPCHAT_MANAGEMENT_V150_END */

/* ISPCHAT_OPERATION_V160_START */
.schedule-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.schedule-state span,.schedule-state small{display:block;color:var(--muted)}
.schedule-state strong{display:block;margin-top:7px}
.schedule-state.open strong{color:#56dba1}
.schedule-state.closed strong{color:#ff9b77}
.schedule-table{margin-top:14px}
.schedule-table input[type=time]{min-width:112px}
.switch-line{display:inline-flex!important;align-items:center;gap:7px;text-transform:none!important;letter-spacing:0!important}
.switch-line input{width:auto}
.operator-body{overflow:hidden}
.operator-shell{min-height:100vh;height:100vh;display:grid;grid-template-rows:68px 1fr;background:var(--bg)}
.operator-topbar{display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid var(--line);background:#07142b;z-index:10}
.operator-brand{display:flex;align-items:center;gap:10px}
.operator-brand b,.operator-brand small{display:block}
.operator-brand small{color:var(--muted);font-size:11px}
.operator-toolbar{display:flex;align-items:center;gap:10px}
.operator-expedient{font-size:12px;color:var(--muted);padding:7px 10px;border:1px solid var(--line);border-radius:999px}
.operator-presence{width:auto;min-width:145px;padding:8px 10px}
.operator-presence.available{border-color:#248f68}
.operator-presence.pause{border-color:#9c7b25}
.operator-presence.offline{border-color:#77404c}
.operator-user{text-align:right}
.operator-user b,.operator-user small{display:block}
.operator-user small{color:var(--muted);font-size:10px}
.icon-btn-lite{border:1px solid var(--line);background:var(--panel2);color:var(--text);border-radius:9px;padding:8px 10px;cursor:pointer}
.operator-content{padding:14px 16px;min-height:0;overflow:hidden}
.operator-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
.operator-kpi{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);background:var(--panel);color:var(--text);border-radius:12px;padding:11px 13px;cursor:pointer;text-align:left}
.operator-kpi span{color:var(--muted);font-size:12px}
.operator-kpi strong{font-size:22px}
.operator-kpi.active{border-color:#367ff0;background:#102a53}
.operator-inbox{height:calc(100vh - 162px);grid-template-columns:300px minmax(420px,1fr) 260px}
.operator-queue-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:3px;padding:8px;border-bottom:1px solid var(--line)}
.operator-queue-tabs button{border:0;border-radius:7px;padding:7px 4px;background:transparent;color:var(--muted);font-size:11px;cursor:pointer}
.operator-queue-tabs button.active{background:#173768;color:#fff}
.operator-customer{min-width:0}
.operator-composer .composer-tools{overflow-x:auto}
body.theme-light .operator-topbar{background:#fff;border-color:#d3deea}
body.theme-light .operator-kpi{background:#fff;color:#26364d;border-color:#cedae7}
body.theme-light .operator-kpi.active{background:#e8f2ff;border-color:#8fb6e6}
body.theme-light .operator-queue-tabs button.active{background:#dcecff;color:#1f4d82}
@media(max-width:1150px){
 .operator-inbox{grid-template-columns:280px 1fr}
 .operator-customer{display:none}
 .schedule-columns{grid-template-columns:1fr}
}
@media(max-width:780px){
 .operator-topbar{padding:0 10px}.operator-expedient,.operator-user{display:none}
 .operator-content{padding:8px}
 .operator-kpis{grid-template-columns:repeat(2,1fr)}
 .operator-inbox{height:calc(100vh - 206px);grid-template-columns:1fr}
 .operator-inbox .convs{max-height:34vh}
 .operator-inbox .chat{min-height:48vh}
 .schedule-summary{grid-template-columns:1fr}
}
/* ISPCHAT_OPERATION_V160_END */

/* ISPCHAT_OPERATOR_HOTFIX_V161_START */
.operator-content,.operator-inbox,.operator-inbox .convs,.operator-inbox .chat,.operator-inbox .messages{min-height:0}
.operator-inbox{overflow:hidden}
.operator-inbox .convs{display:flex;flex-direction:column;overflow:hidden}
.operator-inbox #conv-list{flex:1;min-height:0;overflow:auto}
.operator-inbox .chat{display:grid;grid-template-rows:auto 1fr auto;overflow:hidden}
.operator-inbox .messages{overflow:auto}
.operator-customer{overflow:auto}
.operator-composer{background:var(--panel)}
.operator-inbox .conv{cursor:pointer}
.operator-inbox .conv small{display:block}
/* ISPCHAT_OPERATOR_HOTFIX_V161_END */

/* ISPCHAT_COMPOSER_UI_HOTFIX_V162_START */
.operator-composer{display:grid;grid-template-rows:auto auto;gap:0;border-top:1px solid var(--line)}
.operator-composer .composer-tools{display:flex;flex-wrap:wrap;gap:8px;padding:12px;background:var(--panel2);border-bottom:1px solid var(--line)}
.operator-composer .composer-tools .small,
.operator-composer .composer-tools select{height:40px}
.operator-composer .composer{display:flex;align-items:stretch;gap:10px;padding:12px;background:var(--panel)}
.operator-composer .composer-input-wrap{flex:1;min-width:0;display:flex;flex-direction:column}
.operator-composer #msg-text{width:100%;min-height:88px;resize:vertical;padding:14px 16px;font-size:16px;line-height:1.4}
.operator-composer .send-hint{margin-top:6px;color:var(--muted);font-size:11px}
.operator-composer #msg-send{min-width:130px;padding:0 18px;font-size:18px;align-self:stretch}
.operator-composer .composer-tools #quick-select{min-width:220px;flex:1 1 220px;max-width:320px}
.operator-composer .composer-tools .small{padding:0 14px}
@media(max-width:900px){
  .operator-composer .composer{flex-direction:column}
  .operator-composer #msg-send{width:100%;min-height:48px}
}
body.theme-light .operator-composer .composer-tools{background:#f5f8fc;border-bottom-color:#dbe6f0}
body.theme-light .operator-composer .composer{background:#fff}
/* ISPCHAT_COMPOSER_UI_HOTFIX_V162_END */

/* ISPCHAT_MOBILE_UNLOCK_V163_START */
.contract-picks{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:9px;margin-top:12px}
.contract-pick,.direct-unlock-pick{display:flex!important;flex-direction:column;align-items:flex-start!important;gap:3px;min-height:64px;text-align:left!important}
.contract-pick span,.direct-unlock-pick span{font-size:12px;color:var(--muted)}
.contract-pick small,.direct-unlock-pick small{font-size:10px;color:var(--muted)}

@media(max-width:820px){
 html,body{max-width:100%;overflow-x:hidden}
 body:not(.operator-body){background:var(--bg)}
 .shell,.shell.sidebar-collapsed{display:block!important;min-width:0!important}
 .sidebar{position:sticky!important;top:0!important;z-index:80!important;height:64px!important;min-height:64px!important;width:100%!important;padding:8px 12px!important;border-right:0!important;border-bottom:1px solid var(--line)!important;background:#07142bf5!important;overflow:visible!important}
 .sidebar .brand{height:48px!important;padding:0!important;border:0!important;display:flex!important;align-items:center!important;gap:10px!important}
 .sidebar .brand-icon{width:40px!important;height:40px!important;min-width:40px!important;border-radius:12px!important}
 .sidebar .brand-copy{display:block!important;min-width:0!important}
 .sidebar .brand-copy b{font-size:16px!important}.sidebar .brand-copy small{font-size:10px!important}
 .sidebar-toggle{display:grid!important;place-items:center!important;margin-left:auto!important;width:42px!important;height:42px!important;min-width:42px!important;border-radius:11px!important;font-size:24px!important;position:static!important}
 .sidebar nav{display:none!important;position:fixed!important;z-index:79!important;left:0!important;right:0!important;top:64px!important;bottom:0!important;width:100%!important;height:auto!important;padding:12px 12px 150px!important;background:#07142bf8!important;overflow-y:auto!important;overflow-x:hidden!important;grid-template-columns:1fr!important;gap:5px!important}
 .shell.mobile-nav-open .sidebar nav{display:grid!important}
 .sidebar nav button{display:flex!important;align-items:center!important;gap:12px!important;width:100%!important;min-height:48px!important;padding:11px 13px!important;border-radius:10px!important;text-align:left!important}
 .sidebar nav button i{width:26px!important;text-align:center!important;font-size:18px!important}.sidebar nav button span{display:block!important;font-size:15px!important}
 .profile{display:none!important}
 .shell.mobile-nav-open .profile{display:block!important;position:fixed!important;z-index:81!important;left:12px!important;right:12px!important;bottom:12px!important;width:auto!important;background:#0e1d39!important;border:1px solid var(--line)!important;border-radius:14px!important;padding:12px!important}
 .profile-copy{display:block!important}.sidebar-actions{display:flex!important;margin-top:8px!important;gap:8px!important}.sidebar-actions button{flex:1!important}
 .content{width:100%!important;max-width:100%!important;min-width:0!important;padding:14px 12px 24px!important;overflow-x:hidden!important}
 .top{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;margin-bottom:16px!important}
 .top h1{font-size:25px!important}.top p{font-size:13px!important}
 .top-actions,.top>.btn,.top>button{width:100%!important}.top-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}.top-actions .btn,.top>.btn{width:100%!important}
 .grid,.form-grid,.two-col,.schedule-summary,.schedule-columns{grid-template-columns:1fr!important}
 .span2{grid-column:auto!important}
 .card{border-radius:13px!important;padding:14px!important}
 .table-wrap{width:100%!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
 .table-wrap table{min-width:680px!important}
 .modal{padding:0!important;align-items:end!important}.modal-card{width:100%!important;max-width:100%!important;max-height:92dvh!important;border-radius:18px 18px 0 0!important;padding:18px 14px!important}
 .modal-card .form-grid{grid-template-columns:1fr!important}
 .actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}.actions .btn,.actions .small{width:100%!important}
 input,select,textarea{font-size:16px!important}
 .cards-list{display:grid!important;grid-template-columns:1fr!important}
 .contract-picks{grid-template-columns:1fr!important}
 .inbox:not(.operator-inbox){grid-template-columns:1fr!important;height:auto!important}.inbox:not(.operator-inbox) .convs{max-height:34vh!important}.inbox:not(.operator-inbox) .chat{min-height:58vh!important}
}
body.theme-light .sidebar{background:#fff!important}
body.theme-light .shell.mobile-nav-open .sidebar nav{background:#f7faff!important}
body.theme-light .shell.mobile-nav-open .profile{background:#fff!important}
/* ISPCHAT_MOBILE_UNLOCK_V163_END */

/* ISPCHAT_MEDIA_CHAT_V166_START */
.media-bubble{max-width:min(78%,620px)}
.chat-media{margin:6px 0 8px;max-width:100%}
.chat-media audio{width:min(100%,440px);height:42px;display:block}
.chat-image{display:block;max-width:min(100%,420px);max-height:420px;border-radius:12px;object-fit:contain;background:#07111f;cursor:zoom-in}
.chat-video{display:block;width:min(100%,480px);max-height:420px;border-radius:12px;background:#000}
.media-loading,.media-error{padding:10px 12px;border:1px dashed var(--line);border-radius:10px;color:var(--muted);font-size:12px}
.media-download{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text);padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--panel2)}
.media-download small{margin-left:auto;color:var(--muted)}
.bubble-body{margin-top:5px}
body.theme-light .chat-image{background:#eef3f9}
body.theme-light .media-download{background:#f6f9fd}
@media(max-width:700px){
 .media-bubble{max-width:92%}
 .chat-image,.chat-video{max-width:100%;width:100%;max-height:320px}
 .chat-media audio{width:100%}
}
/* ISPCHAT_MEDIA_CHAT_V166_END */

/* ISPCHAT_AUDIO_COMPLETE_V167_START */
.chat-media audio{display:block;width:min(100%,480px);min-width:260px}
.audio-media{padding:4px 0}
@media(max-width:700px){.chat-media audio{min-width:0;width:100%}}
/* ISPCHAT_AUDIO_COMPLETE_V167_END */

/* ISPCHAT_AUDIO_STABLE_V168_START */
.voice-diag{padding:10px 12px;border:1px solid var(--line);border-radius:10px;margin:7px 0}
.voice-diag.ok{border-color:#2f8064;background:#16352c}
.voice-diag.bad{border-color:#984958;background:#3a1d25}
body.theme-light .voice-diag.ok{background:#eefaf5;color:#215e4b}
body.theme-light .voice-diag.bad{background:#fff1f3;color:#843745}
.chat-media audio:focus,.chat-media video:focus{outline:2px solid #4d8cf7;outline-offset:2px}
/* ISPCHAT_AUDIO_STABLE_V168_END */

/* ISPCHAT_HANDOFF_VOICE_V169_START */
.bot-live{display:inline-flex;align-items:center;gap:5px;padding:7px 10px;border-radius:999px;border:1px solid #2a8f6b;background:#14372d;color:#72e1b3;font-size:12px;font-weight:700}
.bot-return-btn{border-color:#426fc4!important;background:#153664!important;color:#dceaff!important}
.bot-return-btn:hover{background:#1c4783!important}
body.theme-light .bot-live{background:#effaf5;color:#237052;border-color:#8bc9ad}
body.theme-light .bot-return-btn{background:#e8f2ff!important;color:#1f558f!important;border-color:#9dbce2!important}
/* ISPCHAT_HANDOFF_VOICE_V169_END */

/* ISPCHAT_VOICE_INBOUND_TIME_V170_START */
.media-bubble .bubble-body{margin-top:8px;padding-top:7px;border-top:1px dashed var(--line)}
body.theme-light .media-bubble .bubble-body{border-top-color:#d8e2ee}
/* ISPCHAT_VOICE_INBOUND_TIME_V170_END */
