:root{--g900: #1f3a24;--g800: #2f5d37;--g700: #3b6d43;--g100: #e3eedf;--g50: #f4f6f1;--j800: #1f3d7a;--j700: #2a4f97;--j100: #e1e8f6;--ink: #1d2a20;--muted: #5d6b60;--line: #dfe6dc;--red: #b3261e;--amber: #b26a00;--r: 18px}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body,#root{height:100%;margin:0}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--ink);background:var(--g50)}button{font:inherit;cursor:pointer}button:disabled{opacity:.55;cursor:default}.home{min-height:100%;padding:28px 18px 24px;max-width:520px;margin:0 auto;display:flex;flex-direction:column;gap:14px}.hero{padding:18px 4px 8px}.brand{font-size:13px;font-weight:700;letter-spacing:.06em;color:var(--g700);text-transform:uppercase}.hero h1{margin:6px 0 4px;font-size:28px}.hero p{margin:0;color:var(--muted)}.agent-card{display:flex;align-items:center;gap:14px;text-align:left;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:18px 16px;box-shadow:0 6px 18px #1f3a2412}.agent-card b{display:block;font-size:18px;margin-bottom:4px}.agent-card span{color:var(--muted);font-size:14px;line-height:1.35}.agent-card i{margin-left:auto;font-style:normal;font-size:28px;color:var(--muted)}.ac-ic{flex:0 0 52px;height:52px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:22px;color:#fff}.agent-card.kippi .ac-ic{background:var(--g800)}.agent-card.julian .ac-ic{background:var(--j800)}.foot{margin-top:auto;text-align:center;font-size:12px;color:var(--muted)}.fail{margin:auto;background:#fff;border-radius:var(--r);padding:24px;text-align:center}.chat{height:100%;display:flex;flex-direction:column;max-width:560px;margin:0 auto;background:var(--g50)}.ch-head{display:flex;align-items:center;gap:10px;padding:calc(10px + env(safe-area-inset-top)) 12px 12px;color:#fff;background:var(--g800);position:sticky;top:0;z-index:2}.theme-julian .ch-head{background:var(--j800)}.back{background:none;border:0;color:#fff;font-size:30px;line-height:1;padding:0 4px}.avatar{width:40px;height:40px;border-radius:50%;background:#fff;color:var(--g800);display:grid;place-items:center;font-weight:800;font-size:18px;flex:0 0 40px}.theme-julian .avatar{color:var(--j800)}.ch-id{display:flex;flex-direction:column;min-width:0}.ch-id b{font-size:17px}.ch-id small{opacity:.85;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dot{margin-left:auto;font-size:11px;padding:4px 9px;border-radius:99px;background:#ffffff2e;white-space:nowrap}.dot.on:before{content:"●";color:#7ee08a;margin-right:4px}.dot.wait:before{content:"●";color:#ffd36b;margin-right:4px}.assisted{font-size:12px;text-align:center;background:#fff4d6;color:#6d4c00;padding:6px}.ch-body{flex:1;overflow-y:auto;padding:14px 12px 8px;display:flex;flex-direction:column;gap:10px;-webkit-overflow-scrolling:touch}.msg{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end}.msg.me{justify-content:flex-end}.bot-ic{width:28px;height:28px;border-radius:50%;background:var(--g100);color:var(--g800);font-weight:800;font-size:13px;display:grid;place-items:center;flex:0 0 28px}.theme-julian .bot-ic{background:var(--j100);color:var(--j800)}.bubble{max-width:84%;padding:11px 14px;border-radius:16px;line-height:1.42;font-size:15.5px;background:#fff;box-shadow:0 1px 2px #0000000d}.bubble p{margin:0;min-height:1px}.bubble p+p{margin-top:4px}.msg.me .bubble{background:var(--g100);color:var(--ink);border-bottom-right-radius:5px}.theme-julian .msg.me .bubble{background:var(--j100)}.msg.bot .bubble{border-bottom-left-radius:5px}.rich-wrap{flex-basis:100%;padding-left:36px;display:flex;flex-direction:column;gap:8px}.typing{color:var(--muted);font-size:13px;padding:4px 36px;display:flex;align-items:center;gap:4px}.typing span{width:6px;height:6px;border-radius:50%;background:var(--muted);animation:blink 1.2s infinite}.typing span:nth-child(2){animation-delay:.2s}.typing span:nth-child(3){animation-delay:.4s}@keyframes blink{0%,80%,to{opacity:.2}40%{opacity:1}}.ch-input{display:flex;gap:8px;padding:10px 10px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);position:sticky;bottom:0}.ch-input input{flex:1;border:1px solid var(--line);border-radius:24px;padding:12px 16px;font-size:16px;background:var(--g50);outline:none;min-width:0}.ch-input button{width:46px;height:46px;border-radius:50%;border:0;background:var(--g800);color:#fff;font-size:18px;flex:0 0 46px}.theme-julian .ch-input button{background:var(--j800)}.rich{width:100%}.card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{border:1px solid var(--g700);color:var(--g800);background:#fff;border-radius:99px;padding:9px 13px;font-size:14px}.theme-julian .chip{border-color:var(--j700);color:var(--j800)}.chip.promo{background:#fff6e5;border-color:#e0a300;color:#6d4c00}.chips-col{display:flex;flex-direction:column;gap:8px}.chip-row{text-align:left;background:#fff;border:1px solid var(--line);border-radius:12px;padding:13px 14px;color:var(--g800);font-size:15px}.checks{display:grid;gap:6px;margin-bottom:10px}.checks label{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:10px;border:1px solid var(--line);font-size:15px}.checks label.on{border-color:var(--g700);background:var(--g100)}.checks input{width:18px;height:18px;accent-color:var(--g800)}.primary{width:100%;padding:13px;border:0;border-radius:12px;background:var(--g800);color:#fff;font-weight:700;font-size:15px}.ghost{width:100%;padding:12px;border:0;background:none;color:var(--g800);font-weight:600;margin-top:4px}.assortment{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px}.as-title{font-weight:800;font-size:17px;color:var(--g800)}.as-sub{font-size:12px;color:var(--muted);margin-bottom:8px}.as-group{border-top:1px solid var(--line);padding-top:10px;margin-top:10px}.as-gh{display:flex;justify-content:space-between;font-weight:700}.as-reason{font-size:12.5px;color:var(--muted);margin:2px 0 6px}.as-line{display:flex;align-items:center;gap:10px;padding:6px 0}.as-line img,.rec img{width:48px;height:48px;object-fit:cover;border-radius:10px;background:var(--g50);flex:0 0 48px}.as-info{flex:1;min-width:0}.as-name{font-size:14px;font-weight:600;line-height:1.25}.as-meta{font-size:12.5px;color:var(--muted)}.as-sub2{font-weight:700;font-size:14px}.badge{display:inline-block;margin-left:6px;font-size:11px;font-weight:700;padding:2px 7px;border-radius:99px;background:#fff0c2;color:#6d4c00}.as-budget{margin:12px 0 10px;padding:12px;border-radius:12px;background:var(--g100);display:grid;gap:6px}.as-budget>div{display:flex;justify-content:space-between;font-size:14px}.as-budget .big b{font-size:20px;color:var(--g800)}.as-budget.over{background:#fdecea}.as-budget.over .big b{color:var(--red)}.as-budget .save{color:var(--amber)}.summary .sum-title,.reg .sum-title{font-weight:800;margin-bottom:8px}.sum-row{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px solid var(--g50);font-size:14px}.sum-row b{text-align:right}.summary .primary{margin-top:12px}.green{color:var(--g800)}.red{color:var(--red)}.created .ok{font-weight:800;color:var(--g800);font-size:17px}.created .welcome{margin:4px 0 10px}.created .box{background:var(--g100);border-radius:12px;padding:12px;display:grid;gap:8px}.created .box>div{display:flex;justify-content:space-between}.created .src{font-size:12px;color:var(--muted);margin-top:8px}.jc-title{font-weight:800;color:var(--j800);margin-bottom:8px}.jc-sec{font-weight:700;font-size:13px;color:var(--muted);margin:12px 0 6px;text-transform:uppercase;letter-spacing:.03em}.kpis{display:grid;grid-template-columns:1fr 1fr;gap:8px}.kpis>div{background:var(--g50);border-radius:10px;padding:9px 10px}.kpis span{display:block;font-size:11.5px;color:var(--muted)}.kpis b{font-size:15px}.st-activo{color:var(--g800)}.st-enriesgo{color:var(--amber)}.st-dormido{color:var(--red)}.prio{padding:8px 0;border-bottom:1px solid var(--g50)}.prio b{display:block}.prio span{font-size:13px;color:var(--muted)}.quote{margin-top:10px;padding:10px 12px;background:var(--j100);border-radius:12px;font-style:italic;font-size:14px}.carousel{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scroll-snap-type:x mandatory}.promo-tile{flex:0 0 132px;scroll-snap-align:start;background:var(--g50);border-radius:12px;padding:8px;display:flex;flex-direction:column;gap:3px}.promo-tile img{width:100%;height:80px;object-fit:cover;border-radius:8px}.promo-tile .badge{margin:0;align-self:flex-start}.promo-tile small{color:var(--muted);font-size:12px}.li{display:flex;justify-content:space-between;gap:10px;padding:6px 0;font-size:14px;border-bottom:1px solid var(--g50)}.rec{display:flex;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--g50)}.rec>div:nth-child(2){flex:1;min-width:0}.rec b{display:block;font-size:14px}.rec small{color:var(--muted);font-size:12.5px}.rec-q{text-align:right;font-weight:700;font-size:13px}.rec-q span{color:var(--muted);font-weight:600}.bars{display:flex;align-items:flex-end;gap:6px;height:80px;margin-top:12px}.bar{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px}.bar>div{width:100%;border-radius:4px 4px 0 0}.bar .pos{background:var(--g700)}.bar .neg{background:#e8b4ae}.bar small{font-size:10px;color:var(--muted)}.assume{display:block;margin-top:8px;color:var(--muted);font-size:11.5px}.report{white-space:pre-wrap;font-size:13.5px;line-height:1.45;background:var(--g50);border-radius:10px;padding:10px}
