/* Conversations use the familiar two-panel messaging layout, with actual channel states. */
#view-atencion .section-intro{margin-bottom:16px}#view-atencion .section-intro h2{font-size:26px}#view-atencion .section-intro p{margin-bottom:0}.chat-channel-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}.chat-channel-controls .panel{padding:16px;margin:0}.chat-channel-controls .section-heading{gap:12px;align-items:center;margin:0}.chat-channel-controls h3{font-size:13px;line-height:1.5;margin:0 0 6px}.chat-channel-controls p{font-size:11px;line-height:1.5;margin:0}.chat-channel-controls .button{font-size:11px;padding:8px 10px;min-width:104px;flex-shrink:0}.chat-channel-controls #comments-delivery-state{margin-top:6px;color:#527369}.chat-workspace{max-width:none}.chat-client{display:grid;grid-template-columns:minmax(270px,34%) minmax(0,1fr);height:min(720px,76vh);min-height:470px;border:1px solid #dce4df;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 10px 35px #16352b08}.chat-contact-panel{display:flex;flex-direction:column;min-width:0;min-height:0;border-right:1px solid #dce4df;background:white}.chat-contact-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 16px 12px;background:#f5f8f7}.chat-contact-heading h3{font-size:22px;margin:0 0 4px;color:#183f36}.chat-contact-heading .small{font-size:11px}.chat-contact-heading .button{font-size:11px;min-height:36px;padding:7px 10px}.chat-contact-panel #chat-search{margin:12px 12px 10px;width:calc(100% - 24px);background:#f1f5f3;border:1px solid transparent;border-radius:10px;padding:12px;font-size:13px;min-height:44px;flex-shrink:0}.chat-contact-list{overflow:auto;min-height:0;overscroll-behavior:contain}.chat-contact{display:flex;align-items:center;gap:11px;width:100%;border:0;border-radius:0;padding:15px 13px;text-align:left;background:#fff;cursor:pointer;color:#1d332c;border-bottom:1px solid #eff3f1;min-height:100px}.chat-contact:hover{background:#f5f8f6}.chat-contact.selected{background:#e7f2ed;border-left:3px solid #168361;padding-left:10px}.chat-avatar{display:grid;place-items:center;flex-shrink:0;width:43px;height:43px;border-radius:50%;background:#dcece5;color:#267454;font-size:18px;font-weight:700}.chat-contact-copy{display:block;min-width:0;flex:1}.chat-contact-title{display:flex;justify-content:space-between;gap:8px;align-items:center}.chat-contact-title strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-contact-title time{font-size:10px;color:#7b8d84;white-space:nowrap}.chat-channel-badge{display:inline-block;font-size:9px;line-height:1.5;font-weight:600;color:#306b92;background:#eef4fb;padding:2px 6px;border-radius:5px;margin:5px 0}.chat-channel-badge.public-comment{color:#785d24;background:#fbf3de}.chat-last-message{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#718078}.chat-thread{display:flex;flex-direction:column;min-width:0;min-height:0;background:#edf2ed}.chat-no-selection{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;height:100%;max-width:380px;margin:auto;padding:30px;color:#73867c}.chat-no-selection>span{display:grid;place-items:center;width:90px;height:90px;font-size:44px;background:#deebe3;color:#3d866a;border-radius:50%;margin-bottom:22px}.chat-no-selection h3{color:#244a3c;font-size:22px;margin:0 0 12px}.chat-no-selection p{font-size:13px;line-height:1.8;margin:0}.chat-thread-heading{display:flex;align-items:center;gap:12px;padding:14px 20px;background:#f5f8f7;border-bottom:1px solid #dce4df;flex-shrink:0}.chat-thread-heading h3{font-size:15px;margin:0 0 4px;color:#1e3c30}.chat-thread-heading h3:focus{outline:none}.chat-thread-heading>div>span{font-size:11px;color:#6c8177}.chat-list-back{display:none;border:0;background:transparent;font-size:24px;color:#267454;min-height:44px;min-width:40px;padding:0;cursor:pointer}.chat-contact-reference{background:#f5f8f7;font-size:10px;color:#6d8075;padding:0 20px 9px;flex-shrink:0}.chat-contact-reference summary{cursor:pointer;min-height:20px}.chat-contact-reference p{overflow-wrap:anywhere;font-size:10px;line-height:1.6;margin:6px 0}.chat-message-stream{overflow:auto;overscroll-behavior:contain;flex:1;min-height:0;padding:24px 22px;background-color:#edf2ed;background-image:radial-gradient(#a8bdad26 .8px,transparent .8px);background-size:17px 17px}.chat-entry{display:flex;flex-direction:column;gap:9px;margin:0 0 22px}.chat-bubble{max-width:86%;padding:11px 13px 8px;border-radius:12px;box-shadow:0 1px 2px #203e2c13;overflow-wrap:anywhere;min-width:100px}.chat-bubble p{white-space:pre-wrap;font-size:13px;line-height:1.65;margin:0 0 7px;color:#253b31}.chat-incoming{align-self:flex-start;background:white;border-top-left-radius:3px}.chat-outgoing{align-self:flex-end;background:#d8f6c9;border-top-right-radius:3px}.chat-bubble-meta{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;font-size:9px;color:#6a8071;line-height:1.5}.chat-bubble-meta a{color:#326f66;text-decoration:underline}.chat-public-label,.chat-reply-label{display:block;font-size:10px;font-weight:700;color:#567346;margin:0 0 5px}.chat-public-label{color:#7c5c20}.chat-message-reference{font-size:9px;color:#7a887f;padding-top:5px}.chat-message-reference summary{cursor:pointer;min-height:22px}.chat-message-reference p{font-size:9px;line-height:1.5;color:#7a887f;margin:4px 0}.chat-draft{align-self:flex-end;max-width:90%;border:1px dashed #b8c7be;background:#f8faf6;border-radius:9px;padding:10px 12px;color:#5f7467}.chat-draft summary{display:list-item;cursor:pointer;font-size:11px;font-weight:600}.chat-draft summary span{display:block;margin-top:5px;font-weight:400;font-size:10px}.chat-draft>p{font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0}.chat-draft .text-button{min-height:36px;font-size:11px;color:#27674e}.chat-copy-feedback{display:block;font-size:10px;line-height:1.5}.chat-thread-footer{flex-shrink:0;padding:13px 20px;background:#f5f8f7;font-size:10px;color:#75867c;line-height:1.6;border-top:1px solid #dce4df}.chat-empty-list{padding:25px 18px;text-align:center;font-size:12px;color:#7b8b81;line-height:1.7}.chat-empty-list h4{font-size:14px;color:#416250;margin:0 0 8px}.chat-preview-panel{margin-top:16px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){.chat-channel-controls{grid-template-columns:1fr}.chat-channel-controls .section-heading>div{flex:1}.chat-channel-controls .small.muted{display:none}.chat-client{grid-template-columns:minmax(245px,37%) minmax(0,1fr)}}
@media(max-width:760px){#view-atencion .section-intro h2{font-size:22px}#view-atencion .section-intro p{font-size:11px}.chat-channel-controls{gap:7px;margin-bottom:12px}.chat-channel-controls .panel{padding:11px 12px;border-radius:11px}.chat-channel-controls h3{font-size:11px;margin:0}.chat-channel-controls .button{font-size:10px;min-height:38px;min-width:91px;padding:7px 8px}.chat-channel-controls #comments-delivery-state{font-size:9px;margin-top:4px}.chat-client{display:block;height:66svh;min-height:410px;border-radius:13px}.chat-contact-panel,.chat-thread{height:100%}.chat-thread{display:none}.chat-client.show-thread .chat-contact-panel{display:none}.chat-client.show-thread .chat-thread{display:flex}.chat-list-back{display:inline-block}.chat-thread-heading{padding:10px 12px;gap:8px}.chat-thread-heading .chat-avatar{width:35px;height:35px;font-size:15px}.chat-thread-heading h3{font-size:13px}.chat-thread-heading>div>span{font-size:10px}.chat-contact-reference{padding:0 15px 8px}.chat-message-stream{padding:18px 12px}.chat-bubble{max-width:91%;padding:10px 11px 7px}.chat-bubble p{font-size:13px}.chat-bubble-meta{font-size:9px}.chat-draft{max-width:94%}.chat-thread-footer{padding:10px 13px;font-size:9px}.chat-contact-heading{padding:14px}.chat-contact-title strong{font-size:14px}.chat-contact{padding:15px 14px}.chat-channel-controls .section-heading{margin-bottom:0}.chat-contact-panel{border-right:0}.chat-no-selection{display:none}}
.chat-personal-controls{margin-left:auto;display:flex;align-items:flex-end;flex-direction:column;gap:5px}.chat-personal-controls>span{font-size:10px;color:#5c7767}.chat-personal-controls .button{font-size:10px;padding:6px 9px;min-height:34px}.chat-composer{flex-shrink:0;padding:12px 16px 8px;background:#f5f8f7;border-top:1px solid #dce4df}.chat-composer>label{display:block;font-size:11px;font-weight:650;color:#436454;margin:0 0 7px}.chat-compose-row{display:flex;align-items:flex-end;gap:9px}.chat-compose-row textarea{resize:vertical;flex:1;min-width:0;max-height:110px;min-height:52px;background:white;border:1px solid #d9e5dd;border-radius:12px;padding:10px 12px;font:inherit;font-size:13px;line-height:1.5}.chat-compose-row .button{background:#188861;border-color:#188861;color:white;font-size:12px;min-height:44px;flex-shrink:0}.chat-compose-row .button:disabled{background:#d9e3dc;border-color:#d9e3dc;color:#7c9080;cursor:not-allowed}.chat-composer>p{font-size:10px;line-height:1.5;margin:7px 0 0;color:#708376}.chat-composer .chat-compose-feedback:empty{display:none}.chat-composer .chat-compose-feedback{color:#305f45}.chat-composer select{width:100%;font-size:11px;margin-bottom:9px;padding:8px;border:1px solid #d9e5dd;border-radius:8px;background:white;min-height:38px}.chat-composer .chat-target-label{font-weight:400;font-size:10px}.chat-outgoing-pending{align-self:flex-end;background:#f5f5e9;border:1px dashed #b9bba2;border-top-right-radius:3px}.chat-settings{margin-top:16px}.chat-settings>summary{cursor:pointer;color:#365e4c;font-size:13px;font-weight:650;min-height:32px}.chat-settings[open]>.chat-channel-controls{margin-top:15px;margin-bottom:0}.chat-thread-footer{font-size:9px;padding-block:8px}.chat-client{min-height:550px}
@media(max-width:760px){.chat-client{height:74svh;min-height:480px}.chat-personal-controls{max-width:128px}.chat-personal-controls>span{font-size:8px;text-align:right}.chat-personal-controls .button{font-size:9px;min-height:34px;padding:5px 7px}.chat-thread-heading{gap:7px}.chat-thread-heading h3{font-size:11px}.chat-thread-heading>div>span{font-size:9px}.chat-composer{padding:10px 11px 7px}.chat-compose-row{gap:7px}.chat-compose-row textarea{font-size:16px;min-height:49px;max-height:90px;padding:8px 10px}.chat-compose-row .button{padding:8px 11px;font-size:11px}.chat-composer>p{font-size:9px}.chat-composer>label{font-size:10px}.chat-thread-footer{font-size:8px;line-height:1.5;padding:6px 12px}.chat-thread-heading .chat-avatar{display:none}.chat-settings{padding:14px}.chat-contact-reference{padding-bottom:5px}.chat-message-stream{padding-block:14px}}
.chat-avatar{position:relative;overflow:hidden}.chat-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%;background:#dcece5}.chat-avatar img[hidden]{display:none}.chat-thread-heading>div:not(.chat-personal-controls){min-width:0;flex:1}.chat-thread-heading h3{max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-contact-reference .text-button{font-size:10px;min-height:30px;padding:4px 8px 4px 0;margin-right:10px}.chat-profile-dialog{width:min(460px,calc(100% - 32px));max-height:85svh;overflow:auto;border:1px solid #d8e5de;border-radius:16px;padding:24px;color:#244c39;box-shadow:0 20px 70px #173b2a30}.chat-profile-dialog::backdrop{background:#12312580;backdrop-filter:blur(2px)}.chat-profile-dialog h2{font-size:21px;margin:0 0 13px}.chat-profile-dialog p{font-size:13px;line-height:1.7;color:#688170}.chat-profile-dialog label{font-size:12px;font-weight:650;margin:15px 0 8px;display:block}.chat-profile-dialog input{width:100%;padding:12px;border:1px solid #cfdfd5;border-radius:9px;font:inherit;min-height:45px}.chat-profile-dialog .form-actions{justify-content:flex-end;margin-top:20px}.chat-profile-dialog .button{font-size:12px}.chat-profile-dialog .feedback:empty{display:none}
@media(max-width:760px){.chat-thread-heading .chat-avatar{display:grid;width:33px;height:33px;font-size:12px}.chat-thread-heading h3{max-width:150px}.chat-personal-controls{max-width:119px}.chat-profile-dialog{padding:20px}.chat-profile-dialog input{font-size:16px}.chat-list-back{min-width:29px}}
.chat-preview-row{display:flex;align-items:center;gap:8px;min-width:0}.chat-preview-row .chat-last-message{flex:1;min-width:0}.chat-unread-badge{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;padding:0 6px;border-radius:20px;background:#15875f;color:white;font-size:10px;font-weight:750}.chat-contact.has-unread .chat-contact-title strong{font-weight:800;color:#173e2c}.chat-contact.has-unread .chat-contact-title time{color:#16855c;font-weight:700}.chat-contact.has-unread .chat-last-message{font-weight:650;color:#3f594a}.chat-receipt{display:inline-flex;align-items:center;justify-content:center;color:#718579;min-width:23px;vertical-align:middle}.chat-receipt svg{display:block;width:23px;height:17px}.chat-receipt.is-read{color:#178cce}.chat-bubble-meta .chat-receipt{cursor:help}

.carpi-identity{display:flex;align-items:center;gap:14px;margin:0 0 20px;padding:14px 18px;background:#fff;border:1px solid #e4e7ec;border-radius:18px}.carpi-identity img{width:68px;height:68px;object-fit:cover;border-radius:50%;flex:none}.carpi-identity h3{margin:0 0 3px;color:#203563}.carpi-identity p{margin:0;color:#657080;font-size:.9rem}.carpi-reply-identity{display:flex;align-items:center;gap:7px}.carpi-reply-identity img{width:28px;height:28px;object-fit:cover;border-radius:50%}

.chat-product-table{max-width:100%;overflow-x:auto;margin:8px 0}.chat-product-table table{border-collapse:collapse;width:100%;font-size:12px;line-height:1.5;background:#fff9}.chat-product-table th,.chat-product-table td{padding:8px;text-align:left;vertical-align:top;border:1px solid #adcbb7;overflow-wrap:anywhere}.chat-product-table th{background:#e7f0e9}.chat-product-table td:first-child{font-weight:600;min-width:90px}

.chat-spec-card{display:block;max-width:100%;width:280px;height:auto;border-radius:10px;margin:8px 0}.chat-bubble details{font-size:11px;margin-top:10px}.chat-bubble details summary{cursor:pointer}
