.onecrm-feature-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:start;width:100%;box-sizing:border-box}
.onecrm-feature-main{min-width:0}
.onecrm-feature-chat{width:100%;box-sizing:border-box;background:#f5f8fc;border:1px solid #dbe4ef;padding:22px 20px;position:relative;align-self:start}
.onecrm-feature-chat h3{margin:0 0 18px;font-size:28px;line-height:1.2;font-weight:700;color:#111}
.onecrm-feature-chat-list{max-height:520px;overflow-y:auto;margin:0 0 18px;padding:0}
.onecrm-chat-entry{padding:14px 0;border-bottom:1px solid #dbe4ef}
.onecrm-chat-entry:first-child{padding-top:0}
.onecrm-chat-entry:last-child{border-bottom:0}
.onecrm-chat-meta{font-size:13px;line-height:1.35;color:#667085;margin-bottom:6px}
.onecrm-chat-email{font-weight:700;color:#56657a}
.onecrm-chat-message{font-size:15px;line-height:1.5;color:#1f2937;white-space:pre-wrap;word-break:break-word}
.onecrm-feature-chat-form{margin-top:6px}
.onecrm-chat-form textarea,.onecrm-feature-chat-form textarea{width:100%;min-height:112px;resize:vertical;box-sizing:border-box;background:#fff;border:1px solid #cfd8e3;padding:12px 14px;font:inherit;color:#1f2937}
.onecrm-feature-chat-form textarea::placeholder{color:#8a94a3}
.onecrm-feature-chat-form .button{margin-top:10px;min-width:110px}
.onecrm-chat-error{display:none;margin:0 0 10px;color:#b32d2e;font-size:13px}
.onecrm-notes-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.onecrm-notes-heading .onecrm-p-create{margin-left:0}
@media (max-width:900px){.onecrm-feature-layout{grid-template-columns:1fr}.onecrm-feature-chat{margin-top:20px}}
@media (min-width:901px){.onecrm-feature-chat{margin-top:0}}
.onecrm-chat-modified{margin-left:12px;color:#7a8494;font-weight:400;}
@media (max-width:600px){.onecrm-chat-modified{display:block;margin:3px 0 0}}
/* Material-inspired visual refresh: presentation only */
.onecrm-feature-layout{grid-template-columns:minmax(0,1fr) minmax(320px,380px);gap:24px;align-items:start;font-family:Roboto,"Segoe UI",Arial,sans-serif;color:#263348}
.onecrm-feature-chat{background:#fff;border:1px solid #dfe5ee;border-radius:16px;box-shadow:0 3px 16px rgba(23,43,77,.07);padding:24px;overflow:hidden}
.onecrm-feature-chat h3{font-size:23px;font-weight:650;letter-spacing:-.025em;color:#1e293b;margin:0 0 20px}
.onecrm-feature-chat-list{max-height:490px;margin-bottom:20px}
.onecrm-chat-entry{background:#f6f8fc;border:1px solid #e9eef6;border-radius:12px;padding:14px 15px;margin-bottom:12px}
.onecrm-chat-entry:first-child{padding-top:14px}
.onecrm-chat-entry:last-child{border-bottom:1px solid #e9eef6}
.onecrm-chat-meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px 10px;font-size:12px;margin-bottom:9px}
.onecrm-chat-email{color:#3756a6;font-weight:650;overflow-wrap:anywhere}
.onecrm-chat-modified{margin-left:0;color:#77849a;font-size:12px}
.onecrm-chat-message{font-size:14px;line-height:1.6;color:#263348}
.onecrm-feature-chat-form textarea{border:1px solid #cbd5e1;border-radius:10px;min-height:110px;padding:14px 16px;background:#fff;box-shadow:none;font-size:14px}
.onecrm-feature-chat-form textarea:focus{border-color:#4364e8;outline:none;box-shadow:0 0 0 3px rgba(67,100,232,.13)}
.onecrm-feature-chat-form .button,.onecrm-feature-chat-form button[type=submit]{border:0;border-radius:9px;background:#4364e8;color:#fff;font-weight:650;padding:11px 24px;min-height:42px;cursor:pointer}
.onecrm-feature-chat-form .button:hover,.onecrm-feature-chat-form button[type=submit]:hover{background:#3151cc;color:#fff}
.onecrm-feature-main .onecrm-notes-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0 14px}
.onecrm-feature-main .onecrm-p-create.button{background:#4364e8;border:0;color:#fff;border-radius:9px;padding:10px 18px}
.onecrm-feature-main .onecrm-p-notes-table-wrap{border:1px solid #dfe5ee;border-radius:12px;overflow-x:auto;background:#fff;box-shadow:0 2px 10px rgba(23,43,77,.05)}
.onecrm-feature-main .onecrm-p-notes-table{border:0;background:#fff}
.onecrm-feature-main .onecrm-p-notes-table th{background:#f5f7fb;color:#526175;font-size:13px;padding:15px 17px;border-bottom:1px solid #dfe5ee}
.onecrm-feature-main .onecrm-p-notes-table td{padding:15px 17px;color:#263348;font-size:14px;border-top:1px solid #edf0f5;overflow-wrap:anywhere}
.onecrm-feature-main .onecrm-p-notes-table tbody tr:hover{background:#f7f9fd}
.onecrm-feature-main .onecrm-p-notes-table a{color:#4263df;text-decoration:none}
@media(max-width:900px){.onecrm-feature-layout{grid-template-columns:minmax(0,1fr);gap:18px}.onecrm-feature-chat{margin-top:0}}
@media(max-width:600px){.onecrm-feature-chat{padding:18px}.onecrm-feature-main .onecrm-notes-heading{align-items:flex-start}}
/* Keep the chat level with the details panel, below its title. */
@media(min-width:901px){.onecrm-feature-layout>.onecrm-feature-chat{margin-top:46px!important}}
@media(max-width:900px){.onecrm-feature-layout>.onecrm-feature-chat{margin-top:0!important}}
