.customer-text-history{margin:0 0 25px}.cth-card{border:1px solid #dce3e9;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 2px 8px #17344203}.cth-card>summary{display:flex;align-items:center;gap:12px;padding:17px 18px;cursor:pointer;list-style:none}.cth-card>summary::-webkit-details-marker{display:none}.cth-card>summary:focus-visible{outline:2px solid #3d7798;outline-offset:-3px}.cth-symbol{display:grid;place-items:center;flex-shrink:0;width:35px;height:35px;border-radius:10px;background:#f0f3f6;color:#476377}.cth-symbol svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5}.cth-title{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}.cth-title>strong{font-size:13px;letter-spacing:-.1px;color:#213b4d}.cth-title>span{font-size:10px;line-height:1.6;color:#778692}.cth-chevron{font-size:18px;color:#7c8a94;transition:transform .15s}.cth-card[open] .cth-chevron{transform:rotate(180deg)}.cth-preview{display:flex;align-items:baseline;gap:8px;padding:0 18px 16px 65px;font-size:10px;color:#697d8b;pointer-events:none}.cth-preview>span{font-weight:600;color:#526777;flex-shrink:0}.cth-preview p{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0}.cth-preview time{font-size:9px;color:#8996a0;flex-shrink:0}.cth-card[open] .cth-preview{display:none}.cth-content{border-top:1px solid #e8edf1;padding:18px}.cth-source{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#8a96a0;font-size:8px;letter-spacing:1.2px}.cth-source>span:last-child{letter-spacing:0;font-size:9px;border-radius:4px;padding:4px 7px;background:#f3f5f7;color:#6d7e8c}.cth-phone{font-size:11px;line-height:1.6;color:#5e7281;margin:8px 0 18px}.cth-stream{max-height:460px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#ccd6de transparent;overscroll-behavior:contain;padding-right:3px}.cth-date{font-size:9px;color:#8b98a2;text-align:center;padding:12px 0 15px}.cth-message{border:1px solid #e7ecf0;background:#f8fafb;border-radius:9px;padding:12px 13px;margin:0 28px 12px 0;overflow-wrap:anywhere}.cth-message.cth-outgoing{margin:0 0 12px 28px;border-color:#dbe4ec;background:#edf2f7}.cth-message-meta{display:flex;align-items:baseline;gap:8px;font-size:9px;color:#8a98a4}.cth-message-meta strong{font-weight:600;color:#516a7e}.cth-message-meta time{margin-left:auto;white-space:nowrap}.cth-message p{font-size:11px;line-height:1.8;white-space:pre-wrap;color:#304c60;margin:6px 0 0}.cth-message small{display:block;font-size:9px;line-height:1.6;color:#7f909d;margin-top:8px}.cth-empty{padding:20px 3px;color:#778c9b;font-size:11px;line-height:1.8}.cth-empty p{margin:0 0 10px}.cth-empty small{font-size:10px;color:#8a99a3}.cth-empty .btn{margin-top:8px}.cth-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px;margin-top:12px;border-top:1px solid #e7ecf0;padding-top:12px;font-size:9px;line-height:1.6;color:#8896a1}.cth-privacy{font-size:9px;line-height:1.7;color:#91a0aa;margin:10px 0 0}@media(max-width:560px){.cth-card>summary{padding:14px;gap:10px}.cth-content{padding:14px}.cth-preview{padding-left:59px;padding-right:14px}.cth-preview time{display:none}.cth-message{margin-right:15px}.cth-message.cth-outgoing{margin-left:15px}.cth-stream{max-height:55dvh}}.cth-latest{display:block;font-size:10px;color:#6e8291;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.7}.cth-latest b{font-weight:600;color:#536a7c;margin-right:4px}.cth-card[open] .cth-latest{display:none}.cth-warning{font-size:10px;line-height:1.7;border:1px solid #eee2c8;background:#fffbf3;color:#8b7754;border-radius:6px;padding:9px 11px;margin:12px 0}.cth-book-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 2px 0}.cth-book-bar>span{font-size:10px;color:#8a9ca7}.cth-book-bar .btn{padding:9px 13px;font-size:11px;background:#edf5fa;color:#1c6b98;border-color:#cbdfe9}.cth-book-bar .btn:hover{background:#dcecf5}.cth-book-bar .btn:disabled{opacity:.5}@media(max-width:500px){.cth-book-bar>span{display:none}.cth-book-bar{justify-content:flex-end}}.cth-photos{display:grid;gap:10px;margin-top:10px;width:min(280px,100%)}.cth-photo{min-width:0}.cth-photo-preview{display:block;width:100%;padding:0;overflow:hidden;border:1px solid #dbe5eb;border-radius:10px;background:#fff;color:#476678;text-align:left;cursor:zoom-in}.cth-photo-preview img{display:block;width:100%;height:200px;object-fit:contain;background:#f7f9fb}.cth-photo-name{display:block;padding:8px 10px;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.cth-photo-preview:focus-visible,.cth-photo-close:focus-visible{outline:2px solid #2c769e;outline-offset:3px}.cth-photo-fallback{display:block;color:#246f9b;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.cth-photo-preview[hidden],.cth-photo-fallback[hidden]{display:none}.cth-photo-dialog{width:min(960px,calc(100vw - 32px));max-height:92dvh;padding:0;border:1px solid #dce5eb;border-radius:14px;background:#fff;color:#173442;box-shadow:0 24px 80px #102b3d40;overflow:auto;overscroll-behavior:contain}.cth-photo-dialog::backdrop{background:#102b3d99;backdrop-filter:blur(3px)}.cth-photo-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 20px;border-bottom:1px solid #e2eaf0}.cth-photo-dialog h2{margin:0;font-size:18px;line-height:1.4;overflow-wrap:anywhere}.cth-photo-close{display:grid;place-items:center;width:36px;height:36px;flex:none;padding:7px;border:1px solid #dce6ed;border-radius:8px;background:#f1f6fa;color:#52778c;cursor:pointer}.cth-photo-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}.cth-photo-large{padding:16px;background:#f7f9fb}.cth-photo-large img{display:block;width:100%;max-height:calc(92dvh - 105px);object-fit:contain}@media(max-width:560px){.cth-photo-dialog{width:calc(100vw - 20px)}.cth-photo-dialog>header{padding:12px 14px}.cth-photo-large{padding:10px}.cth-photo-dialog h2{font-size:16px}.cth-photo-preview img{height:180px}}.cth-message .cth-text-link{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;overflow-wrap:anywhere}.cth-message .cth-text-link:hover{opacity:.8}.cth-message .cth-text-link:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:2px}
