:host{all:initial;font-family:Arial,Helvetica,sans-serif;color:#071f3d;font-size:14px;line-height:1.5}#tcc-shell,#tcc-shell *{box-sizing:border-box}#tcc-shell [hidden]{display:none!important}#tcc-shell button,#tcc-shell input,#tcc-shell textarea{font:inherit}#tcc-shell button{cursor:pointer}#tcc-shell button:disabled{cursor:wait;opacity:.55}#tcc-shell button:focus-visible,#tcc-shell a:focus-visible,#tcc-shell input:focus-visible,#tcc-shell textarea:focus-visible{outline:3px solid #ff8500;outline-offset:3px}#tcc-shell svg{width:22px;height:22px;flex:none}#tcc-shell a{color:#0d416a}#tcc-shell .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.tcc-launch{position:fixed;bottom:26px;right:28px;z-index:2147483000;display:flex;align-items:center;gap:10px;background:#071f3d;color:#fff;border:1px solid #ffffff36;border-radius:40px;padding:15px 22px;box-shadow:0 8px 25px #071f3d26;font-weight:600!important}.tcc-launch i{width:7px;height:7px;border-radius:50%;background:#ff8500;margin-left:3px}.tcc-panel{position:fixed;right:26px;bottom:24px;z-index:2147483001;width:420px;height:min(720px,calc(var(--tcc-vh,100vh) - 48px));background:#f7f8fa;border:1px solid #dce4eb;border-radius:22px;box-shadow:0 18px 70px #071f3d26;display:flex;flex-direction:column;overflow:hidden;animation:tcc-enter .2s ease-out}.tcc-header{display:flex;align-items:center;gap:12px;padding:20px 18px;background:#fff;border-bottom:1px solid #e6ebf0;flex:none}.tcc-header img{width:64px;height:43px;object-fit:contain}.tcc-header div{flex:1}.tcc-header strong{font-size:14px;display:block}.tcc-header span{display:block;font-size:10px;color:#6b7c8e;margin-top:4px}.tcc-header button{border:0;background:#f3f5f7;color:#5c6b7c;width:30px;height:30px;border-radius:50%;display:grid;place-items:center}.tcc-header button svg{width:16px!important;height:16px!important}.tcc-notice{padding:5px 15px;background:#fff0d9;color:#754300;font-size:11px;text-align:center}.tcc-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:20px}.tcc-welcome-copy{background:#071f3d;color:#fff;border-radius:15px;padding:25px 23px 30px;position:relative;overflow:hidden}.tcc-welcome-copy:after{content:'';height:4px;width:66px;background:#ff8500;position:absolute;bottom:0;left:23px}.tcc-welcome-copy>span{font-size:9px;letter-spacing:.16em;color:#b8c9db;font-weight:700}.tcc-welcome h2{font-size:28px;line-height:1.14;letter-spacing:-1px;font-weight:600;margin:15px 0 12px}.tcc-welcome-copy p{margin:0;color:#bdccdb;line-height:1.7;font-size:12px}.tcc-actions{margin:17px 0 0;border:1px solid #e2e7ee;border-radius:13px;background:white;overflow:hidden}.tcc-actions button{display:flex;align-items:center;text-align:left;gap:13px;width:100%;padding:16px;border:0;border-bottom:1px solid #eef1f4;background:#fff;color:#0d416a}.tcc-actions button:last-child{border-bottom:0}.tcc-actions button:hover{background:#fff8f0}.tcc-actions button>svg:first-child{color:#df7400}.tcc-actions button>svg:last-child{width:16px!important;margin-left:auto;color:#7d8fa0}.tcc-actions b{font-size:13px;font-weight:600;display:block;color:#071f3d}.tcc-actions small{display:block;font-size:11px;color:#778698;margin-top:4px}.tcc-welcome-foot{font-size:11px;color:#78899b;text-align:center;margin:16px 0 0}.tcc-bottom{padding:12px 16px 14px;background:#fff;border-top:1px solid #e6ebf0;flex:none}.tcc-tools{display:flex;justify-content:space-between;margin-bottom:11px;gap:10px}.tcc-tools button{font-size:10px!important;border:0;background:none;color:#52667b;display:flex;align-items:center;gap:5px;padding:3px 0}.tcc-tools svg{width:13px!important;height:13px!important}.tcc-compose{border:1px solid #dfe6ed;border-radius:12px;padding:7px;display:flex;align-items:center;gap:8px;background:#fafbfc}.tcc-compose textarea{border:0;outline:none!important;resize:none;background:none;width:100%;padding:6px;color:#071f3d;max-height:90px;font-size:12px!important;line-height:1.5}.tcc-compose:focus-within{border-color:#0d416a}.tcc-compose button{background:#ff8500;border:0;border-radius:8px;color:#071f3d;height:36px;width:36px;display:grid;place-items:center;flex:none}.tcc-compose button svg{width:18px!important;height:18px!important}.tcc-bottom>p{font-size:9px;color:#8995a4;text-align:center;margin:9px 0 0}.tcc-bottom>p a{color:#708396!important;text-decoration:none}.tcc-message{max-width:94%;margin-bottom:20px}.tcc-message.visitor{margin-left:auto}.tcc-message-label{font-size:9px;color:#788b9b;margin-bottom:5px;display:flex;gap:10px;align-items:center}.tcc-message-label time{font-size:9px;color:#8d9baa}.tcc-message.visitor .tcc-message-label{justify-content:flex-end}.tcc-bubble{background:#fff;border:1px solid #e6ebf0;border-radius:0 12px 12px 12px;padding:12px 14px;font-size:12px;line-height:1.75;color:#244059;white-space:pre-wrap;overflow-wrap:anywhere}.tcc-message.visitor .tcc-bubble{background:#0d416a;border:0;color:#fff;border-radius:12px 0 12px 12px}.tcc-message.agent .tcc-bubble{border-left:3px solid #ff8500}.tcc-track-title{display:flex;gap:10px;align-items:center;padding:14px;background:#071f3d;color:white;border-radius:10px 10px 0 0;font-size:12px}.tcc-track-title svg{color:#ff8500}.tcc-track-title small{display:block;color:#b5c8d9;font-size:10px;margin-top:3px}.tcc-tracking{margin-top:10px;border:1px solid #dce5ee;border-radius:11px;overflow:hidden;background:white}.tcc-tracking article{padding:14px;border-bottom:1px solid #e3eaf0}.tcc-track-top strong{display:block;font-size:13px;overflow-wrap:anywhere}.tcc-track-top>span{display:inline-block;background:#eaf2f8;color:#0d416a;font-size:10px;padding:3px 7px;border-radius:4px;margin:8px 0}.tcc-tracking dl{margin:7px 0;display:grid;gap:9px}.tcc-tracking dt{font-size:9px;color:#7a8a99}.tcc-tracking dd{margin:2px 0 0;font-size:11px;color:#243e54}.tcc-tracking article>small{font-size:9px;color:#718497;overflow-wrap:anywhere;display:block}.tcc-tracking>p{font-size:9px;line-height:1.6;color:#7a8b9c;margin:0;padding:11px 14px;background:#fafbfc}.tcc-handoff{background:#fff1de;color:#86501a;font-size:11px;border-radius:8px;padding:10px 12px;margin-bottom:17px}.tcc-pending{color:#6b7e90;font-size:11px;padding:12px}.tcc-error{padding:9px 18px;background:#fff0eb;color:#934128;font-size:11px;flex:none}.tcc-consent,.tcc-contact{background:#fff;padding:23px;border:1px solid #e4e9ee;border-radius:12px}.tcc-consent>svg{color:#ff8500}.tcc-consent h2,.tcc-contact h2{font-size:23px;line-height:1.2;letter-spacing:-.6px;margin:16px 0}.tcc-consent p,.tcc-contact p{font-size:12px;line-height:1.8;color:#62778a}.tcc-consent label{display:flex;align-items:flex-start;font-size:12px;gap:8px;margin:20px 0}.tcc-consent input{margin-top:4px}.tcc-consent a{font-size:11px}.tcc-primary{background:#071f3d;color:#fff;border:0;border-radius:8px;padding:13px 16px;display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:20px;font-size:12px!important}.tcc-contact label{display:block;font-size:11px;margin:14px 0;color:#53697e}.tcc-contact input{width:100%;padding:10px;background:#fff;border:1px solid #d7e1e9;border-radius:6px;color:#071f3d;margin-top:5px;font-size:16px!important}.tcc-contact small{display:block;font-size:10px;color:#778a9d;margin-top:12px}.tcc-text-button{display:flex;align-items:center;gap:7px;border:0;padding:0;background:none;color:#526b80;font-size:11px!important}.tcc-text-button svg{width:15px!important}.tcc-spinner{width:15px;height:15px;border:2px solid #071f3d44;border-top-color:#071f3d;border-radius:50%;animation:tcc-spin .8s linear infinite}@keyframes tcc-spin{to{transform:rotate(360deg)}}@keyframes tcc-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media(max-width:520px){.tcc-launch{right:16px;bottom:calc(82px + env(safe-area-inset-bottom));padding:13px 17px}.tcc-panel{width:calc(100% - 16px);right:8px;bottom:calc(8px + env(safe-area-inset-bottom));height:calc(var(--tcc-vh,100dvh) - 16px - env(safe-area-inset-bottom));border-radius:17px}.tcc-body{padding:16px}.tcc-header{padding:16px}.tcc-header img{width:57px}.tcc-compose textarea{font-size:16px!important}.tcc-compose textarea::placeholder{font-size:12px}.tcc-welcome h2{font-size:29px}.tcc-tools button{min-height:28px}.tcc-header button{width:34px;height:34px}}@media(prefers-reduced-motion:reduce){.tcc-panel,.tcc-spinner{animation:none}}

/* v0.1.3 — botón visible y ventana usable en móviles */
.tcc-launch{background:linear-gradient(120deg,#092845,#164c71);border:1px solid #ffffff30;border-radius:16px 16px 7px 16px;padding:14px 17px;box-shadow:0 8px 28px #061f3550;font-family:system-ui,sans-serif;font-size:13px;transition:transform .15s ease,box-shadow .15s ease}
.tcc-launch:hover{transform:translateY(-3px);box-shadow:0 12px 34px #061f3560}
.tcc-launch svg{color:#ffa13f}.tcc-launch i{box-shadow:0 0 0 4px #ff85002d}
.tcc-panel{border-radius:18px;box-shadow:0 24px 70px #061f3540}
@media(max-width:520px){.tcc-launch{right:12px;bottom:calc(85px + env(safe-area-inset-bottom));padding:12px 15px;font-size:12px}.tcc-panel{width:100%;right:0;bottom:0;height:var(--tcc-vh,100dvh);max-height:100dvh;border-radius:0}.tcc-header{padding:13px 15px}.tcc-body{padding:14px}.tcc-bottom{padding-bottom:calc(12px + env(safe-area-inset-bottom))}}

/* 0.1.4 attachment controls, easy mobile access */
.tcc-attach{display:grid!important;place-items:center!important;flex:0 0 36px!important;width:36px!important;height:36px!important;border:1px solid #d9e4ec!important;border-radius:10px!important;background:#fff!important;color:#183b56!important;font-size:22px!important;cursor:pointer!important}
.tcc-image-wrap{margin-top:9px;max-width:100%;}.tcc-image-wrap img{display:block;max-width:100%;max-height:280px;object-fit:contain;border-radius:10px;}
.tcc-tools [data-new]{font-weight:600!important;}
@media(max-width:600px){.tcc-attach{min-width:40px!important;min-height:40px!important;}.tcc-tools{flex-wrap:wrap;}.tcc-image-wrap img{max-height:210px;}}

/* v0.1.5: proper attachment/send distinction and clear human/AI status */
.tcc-compose .tcc-attach{background:#edf2f6!important;color:#264764!important;border:1px solid #dbe4ec!important;font-size:22px!important;box-shadow:none!important}
.tcc-compose .tcc-send{background:#ff8500!important;color:#08223b!important;min-width:38px!important}
.tcc-compose button svg{width:18px!important;height:18px!important}
.tcc-handoff{background:#fff6e9;border:1px solid #f1dcbd;color:#7b501b;border-radius:12px;padding:14px;margin:0 0 16px}
.tcc-handoff strong{display:block;font-size:12px;margin-bottom:5px}
.tcc-handoff p{font-size:11px;line-height:1.5;margin:0 0 10px}
.tcc-handoff button{background:#0d416a;border:0;border-radius:8px;color:white;padding:9px 13px;font-size:11px;font-weight:600}
@media(max-width:520px){.tcc-panel{max-width:100vw}.tcc-bottom{min-width:0}.tcc-compose{min-width:0}.tcc-compose textarea{min-width:0}}
