/* Corte limpio assistant: presentation only. The production agent owns all state. */
.jl-agent-launcher,.jl-agent-dialog{--agent-ink:#172333;--agent-muted:#637186;--agent-blue:#2459ef;--agent-line:#e4e9f1;--agent-canvas:#f7f9fc;font-family:Manrope,Arial,sans-serif}
.jl-agent-launcher{right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));gap:13px;min-height:62px;padding:10px 20px 10px 12px;border:1px solid #526382;border-radius:20px;background:linear-gradient(125deg,#203659,#0d1727 70%);color:#fff;font-size:14px;box-shadow:0 12px 35px #03112838,inset 0 1px #ffffff16;transition:transform .2s,box-shadow .2s}
.jl-agent-launcher:hover{background:linear-gradient(125deg,#294772,#111e33 70%);border-color:#8daaf7;box-shadow:0 14px 40px #0311284d;transform:translateY(-2px)}
.jl-agent-launcher::after{content:"";width:7px;height:7px;margin-left:2px;border-radius:50%;background:#94b4ff;box-shadow:0 0 0 4px #719aff12;flex:none}
.jl-agent-launcher .jl-agent-logo{width:37px;height:30px}
dialog.jl-agent-dialog{inset:auto max(24px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) auto;width:438px;max-width:calc(100vw - 32px);height:min(752px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);border:1px solid #cdd6e3;border-radius:24px;background:var(--agent-canvas);color:var(--agent-ink);box-shadow:0 28px 100px #020b2152,0 4px 18px #071e381a}
dialog.jl-agent-dialog[open]{animation:jl-agent-arrive .24s ease-out}
dialog.jl-agent-dialog::backdrop{background:#08152820;backdrop-filter:blur(2px)}
.jl-agent-dialog :focus-visible,.jl-agent-launcher:focus-visible{outline:3px solid #5684ff;outline-offset:3px}
.jl-agent-header{position:relative;gap:13px;padding:21px 20px;border:0;background:radial-gradient(ellipse at 9% -30%,#35619766,transparent 75%),#0e1a2c;color:#fff}
.jl-agent-header::after{content:"";position:absolute;bottom:0;left:21px;right:21px;height:1px;background:linear-gradient(90deg,#5a85ee88,#a7b6d025,transparent)}
.jl-agent-header .jl-agent-logo{width:43px;height:34px;filter:drop-shadow(0 3px 8px #0002)}
.jl-agent-identity h2{font-size:18px;line-height:1.35;font-weight:750;letter-spacing:-.035em;color:#fff}
.jl-agent-identity p{font-size:11px;line-height:1.6;letter-spacing:0;color:#bdcbe0;margin-top:2px}
.jl-agent-dialog .jl-agent-close{width:44px;height:44px;border:1px solid #60708a60;border-radius:13px;background:#ffffff07;color:#d4ddeb;font-size:27px;transition:background .15s}
.jl-agent-dialog .jl-agent-close:hover{background:#ffffff16}
.jl-agent-toolbar{min-height:49px;padding:5px 22px;gap:12px;background:#fff;border-bottom:1px solid var(--agent-line)}
.jl-agent-dialog .jl-agent-human{display:flex;align-items:center;gap:7px;font-size:11px;line-height:1.5;font-weight:650;color:#345075;min-height:38px}
.jl-agent-human::before{content:"";width:15px;height:15px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Cpath d='M20 11.5a8 8 0 0 1-8 8H4v-8a8 8 0 1 1 16 0Z'/%3E%3Cpath d='M8 9h8M8 13h5'/%3E%3C/svg%3E") center/contain no-repeat}
.jl-agent-dialog .jl-agent-reset{min-height:38px;font-size:11px;text-decoration:none;color:#68778d}
.jl-agent-dialog .jl-agent-reset:enabled:hover{text-decoration:underline;text-underline-offset:4px}
.jl-agent-scroll{padding:25px 23px 22px;min-height:80px;scrollbar-color:#bac7d9 transparent;scrollbar-width:thin}
.jl-agent-welcome::before{content:"IDEAS CLARAS. EL SIGUIENTE PASO.";display:block;margin-bottom:12px;color:#5275b8;font-size:9px;letter-spacing:.115em;font-weight:800;line-height:1.6}
.jl-agent-welcome h3{max-width:335px;font-size:27px;line-height:1.2;letter-spacing:-.05em;font-weight:700;color:#172333}
.jl-agent-welcome p{margin-top:13px;font-size:13px;line-height:1.75;color:var(--agent-muted)}
.jl-agent-starters{gap:8px;margin-top:21px}
.jl-agent-dialog .jl-agent-starter{position:relative;display:flex;align-items:center;gap:12px;min-height:52px;padding:10px 14px;background:#fff;border:1px solid #dde5f0;border-radius:12px;color:#2c405e;font-size:12px;line-height:1.5;font-weight:600;box-shadow:0 2px 5px #152b4803;transition:background .18s,border-color .18s,transform .18s}
.jl-agent-starter::before{content:"";flex:none;width:19px;height:19px;background:#4a74cb;mask:var(--starter-icon) center/contain no-repeat}
.jl-agent-starter::after{content:"\2197";font-size:17px;color:#8196b5;margin-left:auto;padding-left:4px}
.jl-agent-starter:nth-child(1){--starter-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M4 20V5M4 20h16M8 15l4-5 4 2 5-7M17 5h4v4'/%3E%3C/svg%3E")}
.jl-agent-starter:nth-child(2){--starter-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M13 3 5 14h6l-1 7 9-12h-6z'/%3E%3C/svg%3E")}
.jl-agent-starter:nth-child(3){--starter-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M3 9h18M8 13l-2 2 2 2M16 13l2 2-2 2M13 12l-2 6'/%3E%3C/svg%3E")}
.jl-agent-dialog .jl-agent-starter:enabled:hover{transform:translateX(2px);background:#f1f5ff;border-color:#91adeb}
.jl-agent-dialog button:disabled{opacity:.5}
.jl-agent-transcript{gap:20px}
.jl-agent-message{padding:16px 17px;border:1px solid var(--agent-line);border-radius:17px;background:#fff;box-shadow:0 2px 6px #10294b03}
.jl-agent-message-user{margin-left:36px;border:0;border-radius:17px 17px 5px 17px;background:#2459df;color:#fff;box-shadow:0 4px 11px #2459df16}
.jl-agent-message-assistant{margin-right:12px;border-radius:5px 17px 17px 17px}
.jl-agent-message-label{margin-bottom:8px;color:#627797;font-size:10px;font-weight:750;line-height:1.5}
.jl-agent-message-user .jl-agent-message-label{color:#d0dfff}
.jl-agent-message-copy{font-size:14px;line-height:1.8;letter-spacing:-.01em}
.jl-agent-recommendations{border-color:var(--agent-line);gap:8px;margin-top:14px;padding-top:12px}
.jl-agent-recommendations a{font-size:12px;line-height:1.6;color:#2b58bd;text-decoration:none;background:#f0f4ff;padding:10px 12px;border-radius:9px}
.jl-agent-recommendations a:hover{background:#e5edff;text-decoration:underline;text-underline-offset:3px}
.jl-agent-unsent{color:#ffebe3;font-size:11px}
.jl-agent-status-area{padding:0 23px 12px}
.jl-agent-status{color:#63738c;font-size:11px;line-height:1.6}
.jl-agent-status-area:not(.jl-agent-status-error) .jl-agent-status::before{content:"";display:inline-block;width:6px;height:6px;margin:0 8px 1px 0;border-radius:50%;background:#5482ee}
.jl-agent-status-error{margin:0 18px 12px;padding:10px 12px;border:1px solid #e9c5bd;border-radius:10px;background:#fff4f0}
.jl-agent-status-error .jl-agent-status{color:#8f4638}
.jl-agent-dialog .jl-agent-retry{font-size:12px;color:#9e4537}
.jl-agent-footer{padding:14px 20px 12px;border-top:1px solid var(--agent-line);background:#fff;max-height:48%;overflow-y:auto;scrollbar-width:thin}
.jl-agent-form{position:relative;grid-template-columns:minmax(0,1fr) 44px;align-items:end;gap:7px;padding:10px;border:1px solid #ccd8e9;border-radius:15px;background:#f7f9fd;box-shadow:0 2px 5px #112b4603;transition:border-color .2s,box-shadow .2s}
.jl-agent-form:focus-within{border-color:#5d83e5;box-shadow:0 0 0 3px #2459ef0c}
.jl-agent-dialog .jl-agent-input{height:57px;min-height:57px;padding:6px 4px;max-height:100px;border:0;border-radius:0;font-size:14px;line-height:1.55;background:transparent;color:var(--agent-ink);box-shadow:none}
.jl-agent-dialog .jl-agent-input:focus-visible{outline:none}
.jl-agent-input::placeholder{color:#7c8a9e}
.jl-agent-dialog .jl-agent-send{position:relative;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #2459ef;border-radius:12px;background:#2459ef;font-size:0;box-shadow:0 3px 8px #2459ef22}
.jl-agent-send::before{content:"";display:block;margin:auto;width:20px;height:20px;background:#fff;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M12 19V5M6 11l6-6 6 6'/%3E%3C/svg%3E") center/contain no-repeat}
.jl-agent-dialog .jl-agent-send:enabled:hover{background:#1747cd}
.jl-agent-counter{position:absolute;right:64px;bottom:6px;color:#657795;font-size:9px;pointer-events:none}
.jl-agent-dialog .jl-agent-privacy-short{font-size:10px;line-height:1.6;margin:10px 3px 0;color:#748197}
.jl-agent-privacy{margin:2px 3px 0;color:#64738a}
.jl-agent-privacy summary{font-size:11px;line-height:1.6;min-height:30px;padding:7px 0 2px}
.jl-agent-privacy p{font-size:11px;line-height:1.7;padding:6px 0;max-height:104px}
.jl-agent-dialog .jl-agent-prepare{border:1px solid #c9d8f4;border-radius:10px;font-size:12px;font-weight:650;padding:10px 12px;color:#2457b9;background:#f6f9ff;min-height:42px}
.jl-agent-dialog .jl-agent-prepare:enabled:hover{background:#eaf1ff}
.jl-agent-summary{border:1px solid #cbdaef;border-radius:16px;padding:17px;background:#eff4fd;margin-top:20px}
.jl-agent-summary label{color:#234879;font-size:15px;line-height:1.5;letter-spacing:-.02em}
.jl-agent-summary p{font-size:12px;color:#5c7191}
.jl-agent-dialog .jl-agent-brief{border-color:#cad7ea;border-radius:10px;font-size:14px;line-height:1.7;padding:12px;background:#fff}
.jl-agent-dialog .jl-agent-whatsapp{border-radius:10px;padding:13px;font-size:12px;background:#2459df}
.jl-agent-summary .jl-agent-prepare{margin:12px 0 0}
.jl-agent-dialog [hidden],.jl-agent-launcher[hidden]{display:none!important}
@keyframes jl-agent-arrive{from{opacity:0;transform:translateY(12px) scale(.99)}to{opacity:1;transform:none}}
@media(max-width:600px){
 .jl-agent-launcher{right:max(14px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom));min-height:56px;padding:8px 15px 8px 11px;gap:10px;border-radius:18px;font-size:13px}
 .jl-agent-launcher .jl-agent-logo{width:31px;height:26px}
 dialog.jl-agent-dialog{inset:auto 8px max(8px,env(safe-area-inset-bottom)) 8px;width:auto;max-width:calc(100vw - 16px);height:calc(100dvh - max(8px,env(safe-area-inset-top)) - max(8px,env(safe-area-inset-bottom)));max-height:calc(100dvh - max(8px,env(safe-area-inset-top)) - max(8px,env(safe-area-inset-bottom)));border-radius:22px}
 .jl-agent-header{padding:17px 17px;gap:12px}
 .jl-agent-header .jl-agent-logo{width:36px;height:30px}
 .jl-agent-identity h2{font-size:17px}
 .jl-agent-identity p{font-size:10px}
 .jl-agent-toolbar{padding-inline:18px}
 .jl-agent-scroll{padding:24px 19px 20px}
 .jl-agent-welcome h3{font-size:28px}
 .jl-agent-welcome p{font-size:13px}
 .jl-agent-dialog .jl-agent-starter{min-height:54px;font-size:12px;padding:10px 12px}
 .jl-agent-message-user{margin-left:24px}
 .jl-agent-message-assistant{margin-right:4px}
 .jl-agent-message{padding:14px}
 .jl-agent-footer{padding:12px 15px 10px}
 .jl-agent-dialog .jl-agent-input,.jl-agent-dialog .jl-agent-brief{font-size:16px}
 .jl-agent-dialog .jl-agent-input{height:64px;min-height:64px}
 .jl-agent-privacy-short{max-width:320px}
 .jl-agent-status-area{padding-inline:19px}
}
@media(max-width:360px){
 .jl-agent-header{padding:13px 12px;gap:9px}
 .jl-agent-identity p{max-width:163px;font-size:9px}
 .jl-agent-scroll{padding:20px 15px}
 .jl-agent-welcome h3{font-size:25px}
 .jl-agent-welcome::before{font-size:8px}
 .jl-agent-dialog .jl-agent-starter{gap:8px;font-size:11px}
 .jl-agent-toolbar{padding-inline:15px}
 .jl-agent-dialog .jl-agent-reset,.jl-agent-dialog .jl-agent-human{font-size:10px}
}
@media(max-height:620px){
 dialog.jl-agent-dialog{inset:8px 8px 8px auto;height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:18px}
 .jl-agent-header{padding:8px 16px}
 .jl-agent-toolbar{min-height:35px;padding-block:0}
 .jl-agent-scroll{padding-top:17px;min-height:60px}
 .jl-agent-welcome h3{font-size:24px}
 .jl-agent-footer{padding:8px 15px;max-height:45%}
 .jl-agent-dialog .jl-agent-input{height:47px;min-height:47px}
 .jl-agent-dialog .jl-agent-privacy-short{margin-top:6px;font-size:9px}
 .jl-agent-privacy p{max-height:70px}
 .jl-agent-status-area{padding-bottom:8px}
}
@media(prefers-reduced-motion:reduce){.jl-agent-launcher,.jl-agent-starter{transition:none}dialog.jl-agent-dialog[open]{animation:none}}
