.lc-root{container-type:inline-size}
.lc-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0 20px}.lc-heading h1{margin:4px 0 0;font-size:26px;letter-spacing:-.7px}.lc-eyebrow{margin:0;color:#8490a3;font-size:10px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase}
.lc-workspace{display:grid;grid-template-columns:280px minmax(0,1fr);height:clamp(650px,calc(100dvh - 210px),1000px);min-width:0;border:1px solid #e1e5ed;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 10px 32px #1b283b08}
.lc-list{background:#252d3a;color:#f4f6fa;min-width:0;display:flex;flex-direction:column;overflow:hidden;padding:24px 0 0}.lc-inbox-title{padding:0 20px 20px;display:flex;align-items:center;justify-content:space-between;gap:10px}.lc-inbox-title h2{font-size:20px;margin:0;color:#fff}.lc-source-label{color:#a8b4c5;font-size:10px;border:1px solid #485366;padding:5px 8px;border-radius:6px}.lc-list>.field{margin:0 18px}.lc-list .field>span,.lc-list .field>label{color:#bdc6d4;font-size:11px}.lc-list input{width:100%;box-sizing:border-box;background:#343e4d;color:#fff;border:1px solid #465163;border-radius:9px;padding:11px 12px}.lc-list input::placeholder{color:#b9c2d0;font-size:12px}.lc-filters{display:flex;gap:5px;margin:16px 18px 10px;flex-wrap:wrap}.lc-filters button{font-size:11px;padding:7px 10px;background:transparent;color:#c6cfdd;border:1px solid #455063;border-radius:7px}.lc-filters button[aria-pressed=true]{background:#f9dce9;color:#862648;border-color:#f9dce9}.lc-summary{font-size:10px;color:#a9b5c7;margin:0;padding:0 20px 15px;line-height:1.5}.lc-inbox{min-height:0;flex:1;overflow:auto;border-top:1px solid #394352}.lc-contact{display:flex;gap:12px;width:100%;text-align:left;padding:19px 18px;background:transparent;color:#f4f6fa;border:0;border-bottom:1px solid #ffffff0a;border-radius:0;align-items:flex-start}.lc-contact:hover{background:#303b4b}.lc-contact[aria-pressed=true]{background:#354050;box-shadow:inset 3px 0 #f18ab7}.lc-contact-copy{min-width:0;flex:1}.lc-contact-heading{display:flex;align-items:center;gap:8px;justify-content:space-between}.lc-contact-heading strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lc-contact p{font-size:11px;line-height:1.5;color:#b7c2d1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:6px 0}.lc-contact small{font-size:9px;color:#9baabe}.lc-badge{min-width:18px;padding:2px 5px;text-align:center;font-size:10px;border-radius:10px;background:#ed82ae;color:#251b29}.lc-avatar{display:inline-flex;flex-shrink:0;width:36px;height:36px;border-radius:50%;align-items:center;justify-content:center;background:#f3dce8;color:#8b3a62;font-size:12px;font-weight:700;letter-spacing:.4px}.lc-contact:nth-child(3n+2) .lc-avatar{background:#dbe6f8;color:#42608d}.lc-contact:nth-child(3n) .lc-avatar{background:#e3e5da;color:#5a6747}
.lc-panel{min-width:0;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 220px;grid-template-rows:auto minmax(0,1fr) auto;background:#f1f4f8}.lc-context{grid-column:1;grid-row:1;display:flex;align-items:center;gap:12px;padding:20px 24px;border-bottom:1px solid #e4e8ef;background:#fff;min-width:0}.lc-context-title{min-width:0;flex:1}.lc-context h2{margin:0;font-size:15px;overflow-wrap:anywhere;line-height:1.4}.lc-context p{margin:4px 0 0;color:#8b96a7;font-size:10px}.lc-status{font-size:10px;white-space:nowrap;border-radius:20px;padding:5px 10px;background:#e5f4ed;color:#327456}.lc-status-closed{background:#e9edf2;color:#647187}.lc-history{grid-column:1;grid-row:2;min-height:0;overflow:auto;padding:28px 24px;display:flex;flex-direction:column;gap:18px;scrollbar-width:thin}.lc-message{flex-shrink:0;min-width:0;max-width:88%;padding:13px 16px;border-radius:4px 14px 14px 14px;border:1px solid #e6eaf0;background:#fff;align-self:flex-start;box-shadow:0 2px 4px #26364b04}.lc-message.lc-staff{align-self:flex-end;background:#bd4279;border-color:#bd4279;border-radius:14px 4px 14px 14px;color:#fff}.lc-message-meta{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap}.lc-message-meta strong{font-size:10px;color:#69758a}.lc-message-meta small{font-size:9px;color:#8e98a8}.lc-staff .lc-message-meta strong,.lc-staff .lc-message-meta small{color:#ffe0ed}.lc-message p{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0 0;line-height:1.65}.lc-message p:empty{display:none}
.lc-composer{grid-column:1;grid-row:3;min-width:0;background:#fff;padding:16px 22px;border-top:1px solid #e4e8ef;max-height:330px;overflow:auto}.lc-composer .field{margin:0}.lc-composer .field>span{font-size:10px;color:#8c96a6}.lc-composer textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:60px;max-height:140px;padding:10px 0;border:0;border-radius:0;background:#fff;box-shadow:none;font-size:13px;line-height:1.5}.lc-composer textarea:focus{outline:0;box-shadow:0 2px #ce6693}.lc-composer-footer{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap}.lc-compose-tools,.lc-actions{display:flex;align-items:center;gap:10px}.lc-compose-tools small{font-size:9px;color:#8c96a6}.lc-actions button,.lc-attach-button{font-size:11px;padding:9px 11px;border-radius:8px;white-space:nowrap}.lc-actions .primary{background:#bd4279;border-color:#bd4279;color:#fff}.lc-file-input{display:none}.lc-composer .message{font-size:12px;margin:0 0 10px}.lc-composer>div:empty{display:none}
.lc-details{grid-column:2;grid-row:1/4;background:#fff;border-left:1px solid #e4e8ef;padding:24px 20px;overflow:auto;min-width:0}.lc-profile{text-align:center;padding:30px 0 24px;border-bottom:1px solid #edf0f4}.lc-avatar-large{width:70px;height:70px;font-size:23px;margin-bottom:15px;background:linear-gradient(135deg,#fae8ef,#f1c9de)}.lc-profile h3{margin:0 0 8px;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.lc-profile-source{font-size:10px;color:#8b96a7}.lc-detail-list{margin:0}.lc-detail-item{padding:16px 0;border-bottom:1px solid #edf0f4}.lc-detail-item dt{font-size:10px;color:#8b96a7;margin-bottom:7px}.lc-detail-item dd{margin:0;font-size:11px;color:#43516a;overflow-wrap:anywhere;line-height:1.5}.lc-order-context{margin-top:24px;padding:14px;background:#f7f8fb;border-radius:10px}.lc-order-context h4{margin:0;font-size:11px}.lc-order-context p{font-size:12px;margin:8px 0;color:#6f7d92;overflow-wrap:anywhere}.lc-order-context small,.lc-detail-note{font-size:10px;line-height:1.6;color:#8993a3}.lc-empty{grid-column:1/-1;grid-row:1/-1;align-self:center;justify-self:center;padding:30px;text-align:center;color:#8a95a6;font-size:13px;line-height:1.7}.lc-empty h2{color:#4c5870;font-size:20px}.lc-list .lc-empty{font-size:12px;color:#b9c4d4}.lc-contact:focus-visible,.lc-filters button:focus-visible{outline:2px solid #f18ab7;outline-offset:-3px}
.lc-photo{display:block;max-width:100%;width:240px;max-height:240px;object-fit:contain;border-radius:9px}.lc-attachment-preview{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 10px}.lc-attachment-preview:empty{display:none}.lc-attachment-preview .lc-photo{width:64px;max-height:64px}.lc-attachment-preview button{font-size:11px}.lc-photo-button{padding:0;border:0;background:transparent}.lc-image-view{margin-top:10px}.lc-image-view>.secondary{font-size:11px}.lc-image-dialog{max-width:90vw;max-height:90vh;border:0;border-radius:16px;padding:16px}.lc-image-dialog img{display:block;max-width:80vw;max-height:75vh;object-fit:contain;margin-top:12px}.lc-image-dialog::backdrop{background:#0009}
@container(max-width:1000px){.lc-workspace{grid-template-columns:240px minmax(0,1fr)}.lc-panel{grid-template-columns:minmax(0,1fr) 180px}.lc-details{padding:20px 14px}.lc-context,.lc-history{padding:20px 16px}.lc-composer{padding:14px 16px}.lc-context .lc-avatar{display:none}}
@container(max-width:850px){.lc-panel{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto auto}.lc-details{grid-column:1;grid-row:4;border-left:0;border-top:1px solid #e4e8ef;max-height:140px;padding:14px 18px}.lc-profile{display:none}.lc-detail-list{display:flex;flex-wrap:wrap;gap:10px 24px}.lc-detail-item{border:0;padding:10px 0}.lc-order-context{margin-top:0;padding:8px 12px}.lc-order-context h4,.lc-order-context p{display:inline;margin-right:8px}.lc-order-context small{display:block}.lc-details>.lc-eyebrow{font-size:9px}}
@container(max-width:620px){.lc-workspace{display:flex;flex-direction:column;height:auto;min-height:0}.lc-list{max-height:330px;flex:none;padding-top:18px}.lc-inbox-title{padding-bottom:14px}.lc-inbox{max-height:160px}.lc-contact{padding:13px 18px}.lc-contact small{display:none}.lc-filters{margin:10px 18px 8px}.lc-summary{padding-bottom:10px}.lc-panel{min-height:660px;grid-template-rows:auto 340px auto auto}.lc-panel>.lc-empty{min-height:300px}.lc-context .lc-avatar{display:inline-flex}.lc-heading{margin:20px 0 16px}.lc-history{padding:20px 14px}.lc-message{max-width:94%}.lc-composer-footer{align-items:flex-start}.lc-actions{margin-left:auto}.lc-actions button{font-size:10px;padding:9px}.lc-details{max-height:none}.lc-message-meta{gap:8px}}

.lc-root .lc-workspace .lc-list input[type=search]{background:#343e4d;color:#fff;border-color:#465163}.lc-workspace .lc-filters button.secondary{background:transparent;color:#c6cfdd;border-color:#455063;font-size:11px;padding:7px 10px}.lc-workspace .lc-filters button[aria-pressed=true]{background:#f9dce9;color:#862648;border-color:#f9dce9}.lc-workspace .lc-actions button,.lc-workspace .lc-attach-button{font-size:11px;padding:9px 11px}.lc-workspace .lc-actions .primary{background:#bd4279;border-color:#bd4279;color:white}

.lc-detail-item dd{white-space:pre-line}

.lc-tool-buttons{display:flex;gap:7px;flex-wrap:wrap}.lc-workspace button.lc-tool-button{width:38px;height:38px;min-height:38px;padding:0;border-radius:50%;display:grid;place-items:center;font-size:20px;background:white;border:1px solid #e1e5ed;color:#738092}.lc-tool-popover{padding:12px;display:flex;gap:8px;flex-wrap:wrap;border-top:1px solid #eee}.lc-tool-popover[hidden]{display:none}.lc-tool-popover input{min-width:0;max-width:100%}.lc-emoji{font-size:20px}.lc-camera-dialog{max-width:min(90vw,600px);border:0;border-radius:16px;padding:20px}.lc-camera-dialog video{width:100%;max-height:60vh;object-fit:contain}.lc-camera-dialog::backdrop{background:#0009}

.lc-voice-message audio,.lc-attachment-preview audio{max-width:100%;width:260px}.lc-compose-tools{flex-wrap:wrap}

.lc-message a{color:inherit;text-decoration:underline}

.lc-workspace button.lc-send-icon{background:#bd4279;color:white;border-color:#bd4279;width:44px;height:44px;padding:10px;min-height:44px}

/* Keep the desktop chat inside the dashboard viewport; each pane scrolls itself. */
@media(min-width:1000px){
 .hoc-workspace main:has(>.lc-root){height:100dvh;min-height:0;overflow:hidden}
 .hoc-workspace main>.lc-root{display:flex;flex-direction:column;flex:1;min-height:0}
 .lc-root>.lc-heading{flex:none;margin:16px 0}
 .lc-root>.lc-workspace{flex:1;height:auto;min-height:0}
 .lc-root .lc-list,.lc-root .lc-details{min-height:0}
 .lc-root .lc-composer{max-height:min(330px,45dvh)}
 .lc-root .lc-history,.lc-root .lc-inbox,.lc-root .lc-details{overscroll-behavior:contain}
}
