.jcw-workspace-page #jmchat-root{display:none!important;}
.jcw-app{box-sizing:border-box;max-width:1120px;margin:36px auto;padding:20px;font-family:inherit;color:#241b23;line-height:1.5;min-height:65vh;}
.jcw-app *, .jcw-app *:before, .jcw-app *:after{box-sizing:border-box;}
.jcw-bar{display:flex;align-items:center;gap:13px;margin-bottom:25px;}
.jcw-logo{display:grid;place-items:center;width:54px;height:54px;border-radius:15px;background:#66023c;color:#fff;font-size:27px;}
.jcw-bar h1{font-family:inherit;font-size:25px;line-height:1.15;color:#66023c;margin:0;}
.jcw-bar p{margin:2px 0 0;color:#645b66;font-size:14px;}
.jcw-signin{max-width:420px;background:#fff;padding:28px;border:1px solid #e2d9df;border-radius:18px;box-shadow:0 5px 30px #45002a12;}
.jcw-signin h2{font-size:21px;margin:0 0 5px;color:#66023c;}.jcw-signin p{font-size:14px;margin:0 0 20px;color:#6b6269;}
.jcw-signin label{display:block;font-weight:600;margin:14px 0 5px;}
.jcw-signin input{display:block;width:100%;padding:12px 11px;border-radius:9px;border:1px solid #cabcc7;font-size:16px;}
.jcw-primary,.jcw-secondary{display:inline-block;border:1px solid #66023c;border-radius:10px;padding:11px 16px;cursor:pointer;font-weight:650;font-size:14px;text-decoration:none!important;}
.jcw-primary{background:#66023c;color:#fff!important;}.jcw-secondary{background:white;color:#66023c!important;}
.jcw-primary:disabled{opacity:.55;cursor:not-allowed;}
.jcw-signin .jcw-primary{margin-top:20px;width:100%;}
.jcw-status{display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid #e6d9e2;background:#faf7f9;border-radius:13px;padding:14px 17px;margin-bottom:16px;}
.jcw-status div{display:flex;flex-direction:column;gap:3px}.jcw-status span{font-size:13px;color:#544957;}.jcw-pill{border-radius:100px;background:#f0dce7;padding:6px 11px;font-weight:700;white-space:nowrap;}
.jcw-notice{padding:14px;border-left:4px solid #66023c;background:#fff7fb;border-radius:8px;margin:14px 0;}
.jcw-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:15px 0 22px;}
#jcw-push-state{font-size:13px;color:#554759;min-width:140px;}
.jcw-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:14px;min-height:500px;}
.jcw-layout aside,.jcw-layout article{background:#fff;border:1px solid #e7dbe2;border-radius:14px;padding:15px;min-width:0;}
.jcw-layout h2{margin:0 0 14px;color:#66023c;font-size:19px;}
#jcw-list{max-height:540px;overflow:auto;display:flex;flex-direction:column;gap:6px;}
.jcw-convo{position:relative;width:100%;text-align:left;border:1px solid #e9dce4;border-radius:9px;background:#fcf9fb;padding:10px 75px 10px 11px;display:flex;flex-direction:column;gap:3px;cursor:pointer;min-height:65px;}
.jcw-convo.active{border-color:#66023c;background:#f5eaf0;}.jcw-convo small{font-size:12px;color:#5f5360;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;}.jcw-state{font-size:11px;position:absolute;right:9px;top:10px;text-transform:capitalize;color:#557355;}.jcw-state.closed{color:#786a72;}
#jcw-messages{height:340px;overflow:auto;display:flex;flex-direction:column;gap:8px;padding:12px;background:#fbf7f9;border-radius:10px;}
.jcw-msg{padding:9px 12px;max-width:84%;border-radius:12px;background:#fff;border:1px solid #ebdfe6;white-space:pre-wrap;overflow-wrap:anywhere;}.jcw-msg.sent{align-self:flex-end;background:#66023c;color:#fff;border-color:#66023c;}.jcw-msg.received{align-self:flex-start;}
#jcw-form textarea{width:100%;font:inherit;margin:12px 0 8px;padding:11px;border:1px solid #cfc4cc;border-radius:9px;min-height:65px;}
#jcw-form[hidden]{display:none;}
#jcw-form button{margin-right:5px;margin-bottom:5px;}#jcw-notice{font-size:13px;color:#ab1e31;}
.jcw-logout{text-align:right;margin-top:18px;}.jcw-logout button{border:0;background:transparent;color:#66023c;text-decoration:underline;cursor:pointer;}
@media(max-width:760px){.jcw-app{margin:0 auto;padding:14px;}.jcw-layout{grid-template-columns:1fr;}.jcw-layout aside{max-height:240px;overflow:auto;}.jcw-layout article{min-height:380px;}.jcw-bar h1{font-size:22px;}.jcw-actions button{flex:1;}.jcw-signin{padding:19px;}.jcw-status{align-items:flex-start;}}


.jcw-convo .jcw-date {
  white-space: normal;
  overflow: visible;
  line-height: 1.4;
}
/* Chat handover — minimal status styling, no layout changes. */
.jcw-convo{padding-right:110px;}
.jcw-convo .jcw-state{font-weight:700;white-space:normal;max-width:92px;text-align:right;line-height:1.15;}
.jcw-convo .jcw-state.open{color:#873b11;}
.jcw-draft-note{color:#873b11!important;font-weight:600;}
.jcw-draft-state{font-size:12px;color:#6b6269;margin:6px 0;}
