:root{--bg:#F7F7F5;--panel:#FFFFFF;--soft:#F4F4F2;--soft2:#F1F1EE;--line:#EBEBE8;--line2:#E4E4E0;--text:#18181B;--text2:#3F3F46;--muted:#71717A;--muted2:#52525B;--faint:#A1A1AA;--accent:var(--ink);--accent2:var(--ink);--accentBg:#E6EEF3;--accentLine:#CBDCE6;--orange:var(--hot);--sky:#C6D8E3;--danger:#B91C1C;--dangerBg:#FEF2F2;--warn:#CA8A04;--hot:#EA580C;--warm:#CA8A04;--cold:#2563EB;--r:14px;--shadow:0 12px 32px -12px rgba(0,0,0,.25);--font:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden;background:var(--bg);color:var(--text);font:14px/1.45 var(--font);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit;color:inherit}svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}a{color:var(--accent)}.hidden{display:none!important}.muted{color:var(--muted)}.error{color:var(--danger);min-height:1.2em;margin:.4rem 0 0}.spacer{flex:1}.sub{font-size:13px;color:var(--muted)}.link{border:0;background:none;color:var(--accent);font-weight:600;font-size:13px;cursor:pointer;text-decoration:none;padding:0}.link:hover{color:var(--accent2)}.brand{display:flex;align-items:center;gap:10px;font-weight:700;letter-spacing:-.01em;font-size:16px;white-space:nowrap}.brand.big{font-size:22px;margin-bottom:4px}.brand-mark{width:26px;height:26px;border-radius:8px;background:var(--accent);flex:none}.btn{border:1px solid var(--line2);background:var(--panel);padding:8px 12px;border-radius:10px;cursor:pointer;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:13px;font-weight:500;transition:background .12s,border-color .12s;text-decoration:none;color:var(--text)}.btn svg{width:16px;height:16px}.btn:hover{background:var(--soft)}.btn.primary{background:var(--text);color:#fff;border-color:var(--text);font-weight:600}.btn.primary:hover{background:#000}.btn.ghost{background:transparent;border-color:transparent;color:var(--muted2)}.btn.ghost:hover{background:var(--soft)}.btn.danger{color:var(--danger)}.btn.danger:hover{background:var(--dangerBg)}.btn.icon{padding:7px;min-width:32px;justify-content:center}.btn.wide{width:100%;justify-content:center;padding:11px}.btn:disabled{opacity:.4;cursor:default}.btn .cnt{background:var(--text);color:#fff;border-radius:99px;font-size:11px;padding:0 6px;font-weight:600}.badge{background:var(--accent);color:#fff;font-size:11px;font-weight:700;border-radius:99px;padding:1px 7px}.split{display:flex}.split .btn.primary:first-child{border-radius:10px 0 0 10px}.split .btn.sq{border-radius:0 10px 10px 0;border-left:1px solid #3F3F46;padding:7px 9px}label{display:flex;flex-direction:column;gap:6px;color:var(--muted2);font-size:12px;font-weight:600}input,select,textarea{background:var(--panel);border:1px solid var(--line2);border-radius:10px;padding:9px 11px;outline:none;color:var(--text);font-size:14px;font-weight:400}input:focus,select:focus,textarea:focus{border-color:var(--text)}textarea{resize:vertical}input[type=checkbox]{accent-color:var(--text);width:16px;height:16px}.switch{flex-direction:row;align-items:center;gap:8px;color:var(--muted2);font-size:13px;font-weight:500;cursor:pointer;white-space:nowrap}.switch input{display:none}.switch span{width:32px;height:18px;border-radius:99px;background:#d4d4d0;position:relative;transition:.2s;flex:none}.switch span:after{content:"";position:absolute;width:14px;height:14px;border-radius:50%;background:#fff;top:2px;left:2px;transition:.2s;box-shadow:0 1px 2px #0003}.switch input:checked+span{background:var(--accent)}.switch input:checked+span:after{left:16px}.field-row{display:flex;gap:8px;flex-wrap:wrap}.field-row>*{flex:1;min-width:120px}.auth{min-height:100%;display:grid;place-items:center;padding:24px;background:var(--bg)}.auth-card{width:min(380px,100%);background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:28px;box-shadow:0 1px 2px #0000000a;display:flex;flex-direction:column;gap:12px}.shell{height:100vh;height:100dvh;display:flex}.side{flex:0 0 216px;background:var(--panel);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:18px 12px;gap:2px;min-height:0;overflow-y:auto}.side .brand{padding:4px 10px 18px}.nav{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:6px;color:var(--muted2);text-decoration:none;font-weight:500;cursor:pointer}.nav:hover{background:var(--soft)}.nav.on{background:var(--soft2);color:var(--text);font-weight:600}.nav em{margin-left:auto;font-style:normal;font-size:12px;color:var(--muted);font-weight:500}.nav em.b{color:#fff;background:var(--accent);border-radius:99px;padding:1px 7px;font-weight:700;font-size:11px}.nav-sep{height:1px;background:var(--line);margin:12px 6px}.side-foot{margin-top:auto;display:flex;flex-direction:column;gap:8px;padding-top:12px}.wa-pill,.queue-pill{display:flex;align-items:center;gap:8px;border:0;background:transparent;border-radius:6px;padding:6px 10px;cursor:pointer;font-size:12px;color:var(--muted2);text-align:left}.wa-pill:hover,.queue-pill:hover{background:var(--soft)}.wa-pill .dot{width:8px;height:8px;border-radius:50%;background:var(--warn);flex:none}.wa-pill.ok .dot{background:#16a34a}.wa-pill.bad .dot{background:#dc2626;animation:pulse 1.4s infinite}.queue-pill{color:var(--accent);font-weight:600}@keyframes pulse{50%{opacity:.35}}.me-row{display:flex;align-items:center;gap:10px;border:0;background:transparent;border-radius:10px;padding:6px 8px;cursor:pointer;text-align:left}.me-row:hover{background:var(--soft)}.me-txt{display:flex;flex-direction:column;min-width:0}.me-txt b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.me-txt small{font-size:12px;color:var(--muted)}.avatar{width:30px;height:30px;border-radius:50%;display:inline-grid;place-items:center;font-weight:700;font-size:12px;color:#fff;border:0;flex:none;overflow:hidden;background:#a1a1aa;background-size:cover;background-position:center}.avatar.sm{width:22px;height:22px;font-size:11px}.avatar.lg{width:40px;height:40px;font-size:14px}.avatar.xl{width:96px;height:96px;font-size:34px}.avatar.soft{background:var(--soft2);color:var(--muted2)}.avatar.lead{background:var(--accentBg);color:var(--accent)}.content{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column}.sec{flex:1;min-height:0;display:flex;flex-direction:column;padding:22px 26px 18px;gap:14px}.sec-flush{padding:0}.sec-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.sec-head .ttl{display:flex;flex-direction:column;gap:1px}h1{margin:0;font-size:22px;font-weight:700;letter-spacing:-.02em}h2{margin:0;font-size:18px;font-weight:700;letter-spacing:-.01em}.navbtns{display:flex;gap:4px;margin-left:6px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:10px}.seg{display:inline-flex;background:#ededea;border-radius:10px;padding:3px}.seg-b{border:0;background:transparent;padding:6px 12px;border-radius:8px;cursor:pointer;font-size:13px;color:var(--muted2)}.seg-b.on{background:var(--panel);color:var(--text);font-weight:600;box-shadow:0 1px 2px #00000014}.search{flex-direction:row;align-items:center;gap:8px;background:var(--panel);border:1px solid var(--line2);border-radius:10px;padding:0 12px;width:280px;color:var(--muted);font-weight:400}.search svg{width:16px;height:16px}.search input{border:0;padding:8px 0;width:100%;background:transparent;font-size:13px}.search:focus-within{border-color:var(--text)}.pop-wrap{position:relative}.pop{position:absolute;right:0;top:calc(100% + 6px);z-index:40;width:420px;max-width:92vw;background:var(--panel);border:1px solid var(--line2);border-radius:10px;box-shadow:var(--shadow);padding:14px;display:flex;flex-direction:column;gap:14px}.pop.up{top:auto;bottom:calc(100% + 6px);width:290px;padding:8px;gap:2px}.pop-sec{display:flex;flex-direction:column;gap:8px}.pop-sec>b{font-size:12px;color:var(--muted)}.pop-foot{display:flex;gap:6px;align-items:center;border-top:1px solid var(--line);padding-top:12px;flex-wrap:wrap}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:8px}.grid2 select,.grid2 input{font-size:13px;padding:7px 9px}.mi{display:flex;justify-content:space-between;align-items:center;gap:10px;border:0;background:transparent;border-radius:6px;padding:8px 10px;font-size:13px;text-align:left;cursor:pointer}.mi:hover{background:var(--soft)}.mi small{color:var(--muted);font-size:12px}.mi-h{font-size:11px;font-weight:600;color:var(--muted);padding:6px 10px 4px}.mi-sep{height:1px;background:var(--line);margin:4px 6px}.mi-custom{display:flex;gap:6px;padding:4px 6px}.mi-custom input,.mi-custom select{padding:5px 6px;font-size:12px;border-radius:8px}.mi-custom input[type=date]{flex:1;min-width:0}.opts{display:flex;flex-wrap:wrap;gap:6px}.opt{border:1px solid var(--line2);background:var(--panel);border-radius:99px;padding:5px 11px;cursor:pointer;font-size:12px;display:inline-flex;align-items:center;gap:6px}.opt:hover{background:var(--soft)}.opt.on{background:var(--text);color:#fff;border-color:var(--text);font-weight:600}.opt.on b{color:#fff}.opt b{color:var(--muted);font-weight:600}.opt.add{border-style:dashed;color:var(--muted)}.opt .sw{width:10px;height:10px;border-radius:3px;flex:none}.chips{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12px}.chips:empty{display:none}.fchip{display:inline-flex;align-items:center;gap:6px;background:var(--panel);border:1px solid var(--line2);border-radius:99px;padding:4px 6px 4px 10px}.fchip button{border:0;background:var(--soft2);border-radius:50%;width:18px;height:18px;font-size:11px;line-height:1;cursor:pointer;padding:0}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.kpi{text-align:left;border:1px solid var(--line2);background:var(--panel);border-radius:10px;padding:12px 16px;display:flex;flex-direction:column;gap:2px;cursor:pointer}.kpi:hover{border-color:#c9c9c4}.kpi.on{border-color:var(--text);box-shadow:0 0 0 1px var(--text) inset}.kpi span{font-size:12px;color:var(--muted2);display:flex;align-items:center;gap:6px}.kpi b{font-size:22px;font-weight:700;letter-spacing:-.02em}.kpi b.red{color:var(--danger)}.dot{width:8px;height:8px;border-radius:50%;display:inline-block;flex:none}.main-row{flex:1;min-height:0;display:flex;gap:16px}.board{flex:1;min-width:0;min-height:0;display:flex;gap:14px;overflow-x:auto;overflow-y:hidden;align-items:stretch;padding-bottom:6px;cursor:grab}.board.panning{cursor:grabbing;user-select:none}.col{cursor:default;width:264px;flex:none;display:flex;flex-direction:column;max-height:100%;gap:8px}.col-head{padding:2px 4px;display:flex;align-items:center;gap:8px}.col-head h3{margin:0;font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.col-head .count{color:var(--muted);font-size:12px}.col-head .auto{margin-left:auto;font-size:11px;color:var(--faint)}.col-head .auto.on{color:var(--accent);font-weight:600}.col-list{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:8px;min-height:80px;padding:2px 2px 12px}.col-list::-webkit-scrollbar{width:6px}.col-list::-webkit-scrollbar-thumb{background:var(--line2);border-radius:6px}.col-empty{color:var(--faint);font-size:12px;text-align:center;padding:18px 6px;border:1px dashed var(--line2);border-radius:10px}.card{flex:none;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:11px 13px;display:flex;flex-direction:column;gap:7px;cursor:grab;box-shadow:0 1px 2px #0000000a;transition:border-color .12s,box-shadow .12s}.card:hover{border-color:#d4d4d0;box-shadow:0 4px 12px -6px #00000026}.card.sel{border-color:var(--text)}.card.sortable-ghost{opacity:.35}.card.sortable-chosen{cursor:grabbing}.card.queued{border-style:dashed;border-color:var(--accent)}.card .row{display:flex;align-items:center;gap:8px}.card .name{font-weight:600;font-size:14px;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card .sc{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:700}.card .last{font-size:12px;color:var(--muted2);line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card .last .me{color:var(--faint)}.card .foot{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted)}.card .foot .ago{margin-left:auto}.card .foot .fu{background:var(--soft);border-radius:6px;padding:1px 6px}.card .foot .fu.late{background:var(--dangerBg);color:var(--danger);font-weight:600}.udot{width:7px;height:7px;border-radius:50%;background:var(--accent);flex:none}.prof{display:flex;align-items:center;gap:4px}.pi{display:inline-flex;align-items:center;gap:3px;height:24px;padding:0 6px;border-radius:6px;background:var(--soft);font-size:12px;color:var(--text2);font-weight:600;white-space:nowrap}.pi svg{width:13px;height:13px;stroke-width:2}.pi.sq{width:24px;padding:0;justify-content:center}.card .pi{height:20px;font-size:11px;padding:0 5px;border-radius:6px}.card .pi.sq{width:20px;padding:0}.card .pi svg{width:11px;height:11px}.listview{flex:1;min-width:0;display:flex;flex-direction:column;min-height:0;gap:10px}.lv-wrap{flex:1;min-height:0;overflow:auto;background:var(--panel);border:1px solid var(--line);border-radius:10px}table.lv{width:100%;border-collapse:separate;border-spacing:0;font-size:13px}.lv th{position:sticky;top:0;z-index:1;background:var(--panel);text-align:left;font-size:12px;font-weight:500;color:var(--muted);padding:11px 12px;border-bottom:1px solid var(--line);white-space:nowrap;cursor:pointer;user-select:none}.lv th.sorted{color:var(--text)}.lv td{padding:9px 12px;border-bottom:1px solid #F1F1EE;vertical-align:middle;white-space:nowrap}.lv tr:hover td{background:#fafaf9;cursor:pointer}.lv tr.sel td{background:#eef3f7}.lv .who{display:flex;align-items:center;gap:10px}.lv .nm{font-weight:600;font-size:14px;max-width:190px;overflow:hidden;text-overflow:ellipsis}.lv .ph{color:var(--muted);font-size:12px}.lv .ai{display:flex;flex-direction:column;gap:2px;max-width:260px}.lv .stg{max-width:150px;overflow:hidden;text-overflow:ellipsis}.lv .ai b{font-size:12px}.lv .ai span{color:var(--muted2);font-size:12px;overflow:hidden;text-overflow:ellipsis}.lv .act{color:var(--muted2);font-size:12px}.stg{display:inline-flex;align-items:center;gap:6px;font-size:13px}.stg i{width:7px;height:7px;border-radius:50%}.score{display:inline-flex;align-items:center;gap:6px;font-weight:700}.lv-bulk{display:flex;gap:8px;align-items:center;background:var(--panel);border:1px solid var(--line2);border-radius:10px;padding:8px 10px;flex-wrap:wrap}.lv-bulk select,.lv-bulk input{padding:6px 9px;font-size:13px}.dock-slot{display:flex;min-height:0}#dockSlotPipe{flex:0 0 340px}#dockSlotPipe:empty{display:none}.dock{flex:1;min-width:0;background:var(--panel);border:1px solid var(--line);border-radius:10px;display:flex;flex-direction:column;min-height:0;overflow:hidden}.dock.collapsed{flex:0 0 44px}#dockSlotPipe:has(.dock.collapsed){flex-basis:44px}.dock.collapsed>:not(.dock-head),.dock.collapsed .dock-head>:not(#feedCollapse){display:none!important}.dock.collapsed #feedCollapse{transform:rotate(180deg)}.dock-head{display:flex;align-items:center;gap:8px;padding:12px 14px 8px}.dock-title{font-size:14px;white-space:nowrap}.dock-tabs{display:flex;gap:6px;overflow-x:auto;padding:0 14px 10px;border-bottom:1px solid var(--line);flex:none}.fg{flex:none;max-width:200px;border:1px solid var(--line2);background:var(--panel);padding:5px 11px;border-radius:99px;cursor:pointer;display:flex;align-items:center;gap:6px;font-size:12px}.fg.on{background:var(--text);color:#fff;border-color:var(--text);font-weight:600}.fg b{font-weight:inherit;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fg .badge{padding:0 6px}.messages{flex:1;overflow-y:auto;padding:16px 18px 8px;display:flex;flex-direction:column;gap:8px;background:#fbfbfa}.dock .messages{background:var(--panel);padding:12px 14px}.day{align-self:center;font-size:11px;color:var(--muted);background:var(--soft2);padding:3px 10px;border-radius:99px;margin:6px 0}.gm{max-width:88%;align-self:flex-start;display:flex;flex-direction:column;gap:5px;font-size:13px}.gm .au{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;font-size:12px;font-weight:600}.gm .au .ph{font-weight:400;color:var(--muted)}.gm .au .inpipe{font-weight:600;font-size:11px;color:var(--muted)}.gm .au .addlead{border:0;background:none;color:var(--accent);font-size:11px;font-weight:600;cursor:pointer;padding:0}.gm .bub{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:9px 12px;white-space:pre-wrap;word-wrap:break-word;line-height:1.5;color:var(--text2)}.gm.me{align-self:flex-end}.gm.me .bub{background:var(--accentBg);border-color:var(--accentLine)}.gm .meta{display:flex;align-items:center;gap:10px;font-size:11px;color:var(--faint)}.gm.me .meta{justify-content:flex-end}.gm .rx{font-size:12px;color:var(--muted2);cursor:pointer;border:0;background:none;padding:0}.gm .rx b{color:var(--accent);font-weight:600;margin-left:4px}.sched-strip{border-top:1px solid var(--line);padding:8px 12px;display:flex;gap:8px;overflow-x:auto;flex:none}.sch{flex:none;width:220px;border:1px solid var(--line);border-left:3px solid var(--c,#52525B);background:var(--panel);border-radius:10px;padding:8px 10px;font-size:12px;cursor:pointer;text-align:left;display:flex;flex-direction:column;gap:3px}.sch:hover{border-color:#d4d4d0;border-left-color:var(--c,#52525B)}.sch b{font-size:12px}.sch .w{color:var(--muted)}.sch .tx{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--text2);line-height:1.4}.sch .cat{font-size:11px;font-weight:600;color:var(--c,#52525B)}.sch.failed{border-color:#fca5a5;border-left-color:var(--danger)}.feed-composer{border-top:1px solid var(--line);padding:10px 12px 12px;display:flex;flex-direction:column;gap:6px;flex:none;background:var(--panel)}.composer-box{border:1px solid var(--line2);border-radius:10px;padding:6px 6px 6px 12px;display:flex;flex-direction:column;gap:4px;background:var(--panel)}.composer-box:focus-within{border-color:#a1a1aa}.composer-box textarea{border:0;padding:6px 0 2px;resize:none;max-height:180px;min-height:24px;font-size:13px;border-radius:0}.feed-actions{display:flex;gap:4px;align-items:center}.emoji-bar{display:none;flex-wrap:wrap;gap:2px;max-height:110px;overflow-y:auto;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:6px}.emoji-bar.open{display:flex}.emoji-bar button{border:0;background:none;font-size:20px;cursor:pointer;padding:3px 5px;border-radius:8px}.emoji-bar button:hover{background:var(--soft)}.img-preview{display:flex;align-items:center;gap:10px}.img-preview img,.img-preview video{height:64px;border-radius:10px;max-width:120px;object-fit:cover}.img-preview audio,.media-box audio{height:40px;max-width:260px}.grp{flex:1;min-height:0;display:flex}.grp-list{flex:0 0 260px;background:var(--panel);border-right:1px solid var(--line);padding:22px 14px;display:flex;flex-direction:column;gap:6px;min-height:0}.grp-head{display:flex;align-items:center;gap:8px;padding:0 8px 10px}.grp-head .link{margin-left:auto}.grp-items{display:flex;flex-direction:column;gap:4px;overflow-y:auto;min-height:0}.grp-item{text-align:left;border:0;background:transparent;border-radius:10px;padding:11px 12px;display:flex;flex-direction:column;gap:3px;cursor:pointer}.grp-item:hover{background:var(--soft)}.grp-item.on{background:var(--soft2)}.grp-item b{font-size:14px;display:flex;align-items:center;gap:8px}.grp-item small{font-size:12px;color:var(--muted)}.grp-actions{margin-top:auto;display:flex;flex-direction:column;gap:8px;padding:8px}.grp-actions .btn{justify-content:center}.grp-center{flex:1;min-width:0;padding:16px}.grp-center .dock{border-radius:10px}.grp-center .dock .dock-tabs,.grp-center #feedCollapse,.grp-center .sched-strip{display:none!important}.grp-center .dock .messages{padding:18px 22px}.grp-center .gm{max-width:620px}.grp-sched{flex:0 0 300px;background:var(--panel);border-left:1px solid var(--line);padding:22px 16px;display:flex;flex-direction:column;gap:12px;min-height:0}.grp-sched .grp-head{padding:0}.grp-sched-list{display:flex;flex-direction:column;gap:10px;overflow-y:auto;min-height:0}.grp-sched-list .sch{width:auto}.ch-list{flex:1;min-height:0;overflow-y:auto}.ch-row{display:flex;align-items:center;gap:12px;padding:11px 16px;border-bottom:1px solid #F1F1EE;cursor:pointer}.ch-row:hover{background:#fafaf9}.ch-row .who{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.ch-row .who b{font-size:14px;display:flex;align-items:center;gap:8px}.ch-row .who small{color:var(--muted2);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ch-row .r{display:flex;flex-direction:column;align-items:flex-end;gap:4px;font-size:12px;color:var(--muted)}.ch-row input{flex:none}.ch-bulk{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.ch-bulk select{padding:6px 9px;font-size:13px}.empty{padding:40px 20px;text-align:center;color:var(--muted)}.drawer{position:fixed;inset:0;z-index:20;display:flex;justify-content:flex-end}.drawer-scrim,.modal-scrim{position:absolute;inset:0;background:#18181b2e}.drawer-panel{position:relative;width:min(560px,100vw);height:100%;background:var(--panel);border-left:1px solid var(--line);box-shadow:-12px 0 32px -24px #00000059;display:flex;flex-direction:column;animation:slide .18s ease-out}@keyframes slide{0%{transform:translate(30px);opacity:.5}}.d-head{padding:18px 22px 12px;display:flex;flex-direction:column;gap:12px}.d-top{display:flex;align-items:flex-start;gap:12px}.d-top .nm{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.d-top .nm b{font-size:18px;font-weight:700;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.d-top .nm small{font-size:13px;color:var(--muted)}.d-meta{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.d-meta select{padding:6px 10px;font-size:13px;border-radius:6px}.d-meta .tag{font-size:12px;color:var(--muted2);background:var(--soft);border-radius:6px;padding:4px 8px}.aibox{background:#f3f7fa;border:1px solid var(--accentLine);border-radius:10px;padding:11px 13px;display:flex;flex-direction:column;gap:5px}.aibox.off{background:var(--soft);border-color:var(--line)}.aihead{display:flex;align-items:center;gap:8px}.aihead b{font-size:12px;font-weight:700}.aisum{margin:0;font-size:13px;line-height:1.45}.ainext{margin:0;font-size:13px;color:var(--accent);font-weight:600}.drawer-tabs{display:flex;gap:18px;padding:0 22px;border-bottom:1px solid var(--line)}.tab{border:0;background:transparent;padding:0 0 9px;cursor:pointer;color:var(--muted);font-size:13px;border-bottom:2px solid transparent;margin-bottom:-1px}.tab.active{color:var(--text);font-weight:600;border-bottom-color:var(--text)}.drawer-body{flex:1;display:flex;flex-direction:column;min-height:0}.drawer-body .info{display:none}.drawer-body:not([data-tab=chat]) .chat{display:none}.drawer-body[data-tab=info] #dInfo,.drawer-body[data-tab=notes] #dNotes,.drawer-body[data-tab=tasks] #dTasks{display:flex}.chat{flex:1;display:flex;flex-direction:column;min-width:0;min-height:0}.msg{max-width:78%;padding:9px 12px;border-radius:10px;white-space:pre-wrap;word-wrap:break-word;line-height:1.45;font-size:13px}.msg.in{background:var(--panel);border:1px solid var(--line);align-self:flex-start;border-bottom-left-radius:4px}.msg.out{background:var(--accentBg);align-self:flex-end;border-bottom-right-radius:4px}.msg time{display:block;font-size:11px;color:var(--faint);margin-top:3px;text-align:right}.later{align-self:flex-end;max-width:78%;border:1.5px dashed #AFC8D7;background:var(--panel);border-radius:10px 14px 4px;padding:9px 12px;display:flex;flex-direction:column;gap:6px;font-size:13px}.later .h{font-size:11px;font-weight:700;color:var(--accent);display:inline-flex;align-items:center;gap:5px}.later .h svg{width:12px;height:12px;stroke-width:2}.later .t{line-height:1.45;color:var(--text2);white-space:pre-wrap}.later .a{display:flex;gap:12px;font-size:12px}.later .a button{border:0;background:none;padding:0;color:var(--accent);font-weight:600;cursor:pointer}.later .a button.x{color:var(--danger);font-weight:500}.later.auto{border-color:#e4d3a0}.later.auto .h{color:#a16207}.quickbar{display:flex;gap:6px;overflow-x:auto;padding:8px 22px 0;scrollbar-width:none}.qchip{flex:none;border:1px solid var(--line2);background:var(--panel);border-radius:99px;padding:5px 10px;cursor:pointer;font-size:12px;max-width:220px;display:flex;align-items:center;gap:6px}.qchip:hover{background:var(--soft)}.qchip kbd{font:700 12px var(--font);color:var(--text)}.qchip span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted2)}.qchip .fire{border:0;background:none;cursor:pointer;padding:0 0 0 2px;color:var(--faint);font-size:11px}.qchip .fire:hover{color:var(--accent)}.composer{position:relative;padding:8px 22px 16px}.palette{position:absolute;bottom:calc(100% + 2px);left:22px;right:22px;background:var(--panel);border:1px solid var(--line2);border-radius:10px;box-shadow:var(--shadow);max-height:300px;overflow-y:auto;padding:6px;z-index:5}.pitem{display:flex;gap:10px;padding:8px 10px;border-radius:10px;cursor:pointer;align-items:flex-start}.pitem.active,.pitem:hover{background:var(--soft)}.pitem kbd{font:700 11px var(--font);background:var(--text);color:#fff;border-radius:6px;padding:2px 6px;flex:none}.pitem b{display:block;font-size:13px}.pitem small{color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.info{flex:1;overflow-y:auto;padding:18px 22px;display:flex;flex-direction:column;gap:16px}.info h4{margin:0 0 8px;font-size:12px;font-weight:600;color:var(--muted2)}.info input,.info select,.info textarea{width:100%;min-width:0}.note{background:var(--soft);border-radius:10px;padding:10px 12px;font-size:13px;white-space:pre-wrap}.note .meta{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:11px;margin-bottom:4px}.note .meta button{margin-left:auto;background:none;border:0;color:var(--faint);cursor:pointer}.hint{font-size:12px;color:var(--muted);line-height:1.5;margin:0}.hint code{background:var(--soft);border:1px solid var(--line);padding:0 5px;border-radius:6px;color:var(--text)}.modal{position:fixed;inset:0;z-index:30;display:flex;align-items:center;justify-content:center;padding:2vh 2vw}.modal-card{position:relative;width:min(760px,100%);max-height:94vh;max-height:94dvh;background:var(--panel);border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);display:flex;flex-direction:column;animation:pop .16s ease-out}.modal-card.narrow{width:min(480px,100%)}@keyframes pop{0%{transform:scale(.98);opacity:.5}}.modal-card header{display:flex;align-items:center;padding:16px 20px;border-bottom:1px solid var(--line)}.modal-card h2{margin:0;font-size:16px;flex:1}.modal-body{padding:18px 20px;overflow-y:auto;min-height:0;flex:1 1 auto;display:flex;flex-direction:column;gap:14px}.modal-card footer{padding:14px 20px;border-top:1px solid var(--line);display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}.modal-card footer:empty{display:none}.section-title{font-size:12px;font-weight:600;color:var(--muted2);margin:6px 0 -6px}.inbox-row{display:flex;flex-direction:row;color:var(--text);font-size:14px;font-weight:400;cursor:pointer;align-items:center;gap:10px;padding:9px 11px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}.inbox-row:hover{background:#fafaf9}.inbox-row .who{flex:1;min-width:0}.inbox-row .who b{display:block;font-weight:600}.inbox-row .who small{color:var(--muted);display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stage-ed{border:1px solid var(--line);border-radius:10px;padding:12px;background:var(--panel);display:flex;flex-direction:column;gap:10px}.stage-ed .head{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.stage-ed .grip{cursor:grab;color:var(--faint);padding:0 4px;font-size:16px}.stage-ed input[type=color]{width:36px;height:36px;padding:3px;border-radius:6px}.stage-ed .name{flex:1;font-weight:600;min-width:140px}.variant{display:flex;gap:6px;align-items:flex-start}.variant textarea{flex:1;min-height:58px}.previews{display:flex;flex-direction:column;gap:6px}.previews div{background:var(--accentBg);border-radius:10px;padding:8px 10px;font-size:13px}.combo{font-size:11px;color:var(--muted)}.qr-box{display:grid;place-items:center;gap:14px;text-align:center}.qr-box img{width:280px;height:280px;border-radius:10px;background:#fff;padding:8px;border:1px solid var(--line)}.qr-steps{text-align:left;color:var(--muted2);line-height:1.7;margin:0;padding-left:18px}.qrow{display:grid;grid-template-columns:90px 1fr auto;gap:8px;align-items:start;border:1px solid var(--line);border-radius:10px;padding:10px}.qrow textarea{grid-column:1/-1;min-height:64px}.queue-list .qi{display:flex;gap:10px;align-items:flex-start;padding:10px;border:1px solid var(--line);border-radius:10px}.queue-list .qi div{flex:1}.queue-list .qi small{color:var(--muted)}.sc-grid{display:grid;grid-template-columns:1fr 110px;gap:8px 12px;align-items:center}.sc-grid input,.sc-grid select{padding:7px 9px}.media-box{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.media-box img,.media-box video{max-height:140px;max-width:240px;border-radius:10px}.tgt{display:flex;flex-wrap:wrap;gap:6px}.tgt .opt.on{background:var(--soft2);color:var(--text);border-color:var(--line2)}.tgt .opt button{border:0;background:none;padding:0;cursor:pointer;color:var(--muted)}.when-row{display:flex;gap:6px;align-items:flex-end}.when-row label:first-child{flex:1}.cal-wrap{flex:1;min-height:0;overflow:auto}.cal{display:grid;grid-template-columns:52px repeat(7,minmax(104px,1fr));position:relative}.cal .hd{position:sticky;top:0;z-index:2;background:var(--panel);border-bottom:1px solid var(--line);border-left:1px solid #F1F1EE;padding:11px 10px;font-size:12px;font-weight:600;color:var(--muted2)}.cal .hd:first-child{border-left:0}.cal .hd.today{color:var(--accent)}.cal .hr{font-size:11px;color:var(--faint);text-align:right;padding:5px 8px 0 0;border-top:1px solid #F4F4F2}.cal .cell{border-top:1px solid #F4F4F2;border-left:1px solid #F1F1EE;min-height:58px;padding:3px;display:flex;flex-direction:column;gap:3px;cursor:copy}.cal .cell:hover{background:#fafaf9}.cal .cell.past{background:#fafaf9;cursor:default}.cal .cell.drop{background:var(--accentBg)}.ev{border-radius:6px;padding:4px 7px;font-size:11px;line-height:1.3;cursor:pointer;background:var(--t,#F4F4F2);border-left:3px solid var(--c,#52525B);overflow:hidden;color:var(--text)}.ev[draggable=true]{cursor:grab}.ev b{display:flex;align-items:center;gap:4px;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ev b span{font-weight:500;color:var(--muted2);overflow:hidden;text-overflow:ellipsis}.ev b svg{width:11px;height:11px;stroke:var(--accent);stroke-width:3}.ev .tx{color:var(--text2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ev .ct{font-size:11px;font-weight:600;color:var(--c,#52525B)}.ev.sent{opacity:.6}.ev.failed{outline:1.5px solid var(--danger)}.ev.hide{display:none}.set{flex:1;min-height:0;display:flex}.set-menu{flex:0 0 230px;background:var(--panel);border-right:1px solid var(--line);padding:22px 12px;display:flex;flex-direction:column;gap:2px;overflow-y:auto}.set-menu h1{margin:0 0 14px 10px;font-size:20px}.set-menu a{display:flex;align-items:center;padding:9px 10px;border-radius:6px;color:var(--muted2);text-decoration:none;font-weight:500;cursor:pointer}.set-menu a:hover{background:var(--soft)}.set-menu a.on{background:var(--soft2);color:var(--text);font-weight:600}.set-menu a small{margin-left:auto;color:var(--muted);font-size:12px}.set-menu .grp-t{font-size:11px;font-weight:600;color:var(--faint);padding:14px 10px 4px}.set-body{flex:1;min-width:0;overflow-y:auto}.set-inner{max-width:880px;padding:26px 30px 40px;display:flex;flex-direction:column;gap:16px}.set-content{display:flex;flex-direction:column;gap:14px}.set-foot{display:flex;gap:8px;justify-content:flex-end;position:sticky;bottom:0;background:linear-gradient(transparent,var(--bg) 30%);padding-top:18px}.set-foot:empty{display:none}.users-grid{display:flex;gap:18px;align-items:flex-start;flex-wrap:wrap}.users-list{flex:none;background:var(--panel);border:1px solid var(--line);border-radius:10px;overflow:hidden}.urow{display:flex;align-items:center;gap:14px;padding:13px 16px;border-bottom:1px solid #F1F1EE;cursor:pointer}.urow:last-child{border-bottom:0}.urow:hover,.urow.on{background:#fafaf9}.urow .av{position:relative;flex:none}.urow .av i{position:absolute;right:-1px;bottom:-1px;width:11px;height:11px;border-radius:50%;background:#d4d4d0;border:2px solid #fff}.urow .av i.on{background:#16a34a}.urow .who{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.urow .who b{font-weight:600}.urow .who small{font-size:12px;color:var(--muted)}.role{font-size:12px;font-weight:600;border-radius:6px;padding:3px 8px;background:var(--soft);color:var(--text2)}.role.admin{background:var(--text);color:#fff}.uedit{flex:0 1 340px;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:20px;display:flex;flex-direction:column;gap:14px}.uedit .avbox{display:flex;flex-direction:column;align-items:center;gap:10px}.uedit .avwrap{position:relative}.uedit .avwrap label{position:absolute;right:0;bottom:0;width:32px;height:32px;border-radius:50%;border:2px solid #fff;background:var(--text);color:#fff;display:grid;place-items:center;cursor:pointer}.uedit .avwrap label svg{width:15px;height:15px;stroke-width:2}.swatches{display:flex;gap:8px}.swatches button{width:22px;height:22px;border-radius:50%;border:0;cursor:pointer;padding:0}.swatches button.on{outline:2px solid var(--text);outline-offset:2px}.catrow{display:flex;gap:8px;align-items:center}.catrow input[type=color]{width:36px;height:36px;padding:3px;border-radius:6px;flex:none}.catrow input[type=text]{flex:1}.toasts{position:fixed;top:18px;left:50%;transform:translate(-50%);z-index:50;display:flex;flex-direction:column;gap:8px;align-items:center}.toast{background:var(--text);color:#fff;padding:10px 14px;border-radius:10px;font-weight:500;font-size:13px;box-shadow:var(--shadow);display:flex;gap:12px;align-items:center;animation:pop .2s}.toast button{background:#fff;color:var(--text);border:0;border-radius:8px;padding:4px 10px;cursor:pointer;font-weight:600}.toast.err{background:var(--danger)}.recbar{position:fixed;left:50%;bottom:22px;transform:translate(-50%);z-index:60;display:flex;align-items:center;gap:12px;background:var(--panel);border:1px solid var(--line2);border-radius:10px;padding:10px 14px;box-shadow:var(--shadow)}.recdot{width:12px;height:12px;border-radius:50%;background:#dc2626;animation:pulse 1s infinite}.msg audio.voice,.gm audio.voice{display:block;width:250px;max-width:100%;height:38px;margin:2px 0 4px}.msg img.pic,.gm img.pic{display:block;max-width:240px;max-height:260px;border-radius:10px;margin:2px 0 6px}.tx-label{font-size:12px;text-transform:none;letter-spacing:0;color:var(--faint);margin-bottom:2px}@media (max-width:1600px){.main-row:has(#dockSlotPipe .dock:not(.collapsed)) .lv .c-act{display:none}}@media (max-width:1480px){#dockSlotPipe{flex-basis:300px}.main-row:has(#dockSlotPipe .dock:not(.collapsed)) .lv .c-last{display:none}}@media (max-width:1280px){#dockSlotPipe{flex-basis:300px}.grp-sched{flex-basis:260px}.search{width:220px}}@media (max-width:1100px){.side{flex-basis:64px;padding:18px 10px;align-items:center}.side .brand-name,.nav span,.nav em:not(.b),.me-txt,.wa-pill #waText,.wa-pill .lp-t,.queue-pill{display:none}.nav{position:relative;justify-content:center;padding:10px}.nav em.b{position:absolute;top:2px;right:0}.side .brand{padding:4px 0 18px}.wa-pill{justify-content:center}#dockSlotPipe,.grp-sched{display:none}}@media (max-width:760px){.shell{flex-direction:column-reverse}.side{flex:none;flex-direction:row;padding:6px;border-right:0;border-top:1px solid var(--line);overflow-x:auto;justify-content:space-around}.side .brand,.nav-sep,.side-foot{display:none}.sec{padding:16px 14px 12px}.kpis{grid-template-columns:repeat(2,1fr)}.search{width:100%;order:9}.grp-list{display:none}.set{flex-direction:column}.set-menu{flex:none;flex-direction:row;overflow-x:auto;padding:10px}.set-menu h1,.set-menu .grp-t{display:none}.set-inner{padding:18px 16px}.drawer-panel{width:100vw}}.tk-list{flex:1;min-height:0;overflow-y:auto}.tk-grp{padding:14px 18px 6px;font-size:12px;font-weight:600;color:var(--muted);display:flex;gap:6px;align-items:center}.tk-grp.late{color:var(--danger)}.tk{display:flex;align-items:flex-start;gap:12px;padding:11px 18px;border-bottom:1px solid #F1F1EE}.tk:hover{background:#fafaf9}.tk-check{flex:none;width:20px;height:20px;border-radius:6px;border:1.5px solid #C9C9C4;background:var(--panel);cursor:pointer;display:grid;place-items:center;margin-top:1px;padding:0;color:#fff}.tk-check:hover{border-color:var(--accent)}.tk-check.on{background:var(--accent);border-color:var(--accent)}.tk-check svg{width:13px;height:13px;stroke-width:3}.tk-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.tk-title{font-size:14px;font-weight:500;cursor:pointer}.tk.done .tk-title{color:var(--faint);text-decoration:line-through}.tk-meta{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:12px;color:var(--muted2)}.tk-meta .lead{border:0;background:none;padding:0;color:var(--text);font-weight:600;cursor:pointer;font-size:12px}.tk-meta .lead:hover{color:var(--accent)}.tk-due{border-radius:6px;padding:1px 7px;background:var(--soft)}.tk-due.late{background:var(--dangerBg);color:var(--danger);font-weight:600}.tk-due.today{background:#fffbeb;color:#a16207;font-weight:600}.tk-ia{font-size:11px;font-weight:600;color:var(--accent);background:var(--accentBg);border-radius:6px;padding:1px 6px}.tk-quote{font-size:12px;color:var(--muted);font-style:italic}.tk-act{display:flex;gap:2px;opacity:0;transition:opacity .1s}.tk:hover .tk-act{opacity:1}.tk-add{display:flex;gap:8px}.tk-add input{flex:1}#dTasks .tk{padding:10px 0}.ch-row.sel{background:#eef3f7}.ch-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:3px}.ch-tag{display:inline-flex;align-items:center;gap:3px;font-size:11px;background:var(--soft);border-radius:6px;padding:1px 4px 1px 7px;color:var(--text2)}.ch-tag button{border:0;background:none;padding:0 2px;cursor:pointer;color:var(--faint);font-size:12px;line-height:1;visibility:hidden}.ch-row:hover .ch-tag button{visibility:visible}.ch-hover{display:flex;gap:6px;align-items:center;opacity:0;transition:opacity .1s}.ch-row:hover .ch-hover,.ch-hover:focus-within{opacity:1}.ch-hover select,.ch-hover .btn{font-size:12px;padding:5px 8px;border-radius:8px}.ch-tagin{font-size:12px;padding:5px 8px;border-radius:8px;width:160px}.ch-bulk{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:8px 12px;min-height:46px}.ch-bulk input{padding:6px 9px;font-size:13px}@media (hover:none){.ch-hover{opacity:1}}.ch-side{gap:2px;overflow-y:auto}.ch-lh{margin-top:16px;padding-bottom:6px}.ch-filt{display:flex;flex-direction:column;gap:2px}.cf{display:flex;align-items:center;gap:9px;border:0;background:transparent;border-radius:6px;padding:8px 10px;font-size:13px;color:var(--muted2);cursor:pointer;text-align:left;width:100%}.cf:hover{background:var(--soft)}.cf.on{background:var(--soft2);color:var(--text);font-weight:600}.cf i{width:9px;height:9px;border-radius:3px;flex:none}.cf em{margin-left:auto;font-style:normal;font-size:12px;color:var(--muted);font-weight:500}.cf .ed{visibility:hidden;border:0;background:none;color:var(--faint);cursor:pointer;padding:0 2px;font-size:12px}.cf:hover .ed{visibility:visible}.ch-main{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;gap:12px;padding:22px 26px 18px}.ch-tag{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:500;border-radius:6px;padding:1px 4px 1px 6px;background:var(--soft);color:var(--text2)}.ch-tag i{width:7px;height:7px;border-radius:50%;flex:none}.lead-av{position:relative;overflow:hidden}.lead-av img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%}.card .row .lead-av{width:22px;height:22px;font-size:9px}.bc-prev{display:flex;flex-direction:column;gap:6px}.bc-prev div{background:var(--accentBg);border-radius:10px;padding:8px 10px;font-size:13px;white-space:pre-wrap}.bc-prev small{display:block;color:var(--muted);font-size:11px;margin-bottom:2px}@media (max-width:1100px){.ch-side{display:none}}.feed-bulk{display:flex;gap:6px;align-items:center;flex-wrap:wrap;padding:8px 14px;border-bottom:1px solid var(--line);background:#fafaf9;font-size:12px;flex:none}.feed-bulk select,.feed-bulk .btn{font-size:12px;padding:5px 8px;border-radius:8px}.feed-bulk .link{font-size:12px}.gm .au{align-items:center}.gm-sel{width:15px;height:15px;margin:0 2px 0 0}.gm-name{border:0;background:none;padding:0;font:inherit;font-weight:600;color:var(--text);cursor:pointer}.gm-name:hover{color:var(--accent);text-decoration:underline}.gm-stage{font-size:11px;font-weight:600;padding:2px 6px;border-radius:6px;border:1px dashed #C9C9C4;background:var(--panel);color:var(--accent);cursor:pointer;max-width:200px}.gm-stage.in{border-style:solid;border-color:var(--line2);color:var(--muted2)}.gm-stage:hover{border-color:var(--text)}.gm.sel .bub{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent) inset}.gm-score{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:700;color:var(--text2)}.col-sel{width:15px;height:15px;margin:0;flex:none;opacity:.55}.col-head:hover .col-sel,.col-sel:checked,.col-sel:indeterminate{opacity:1}.card-sel{display:none;width:16px;height:16px;margin:0;flex:none}.card:hover .card-sel,.board.selecting .card-sel{display:inline-block}.board.selecting .card .lead-av{display:none}.card.picked{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent) inset;background:#f3f7fa}.pipe-bulk{position:sticky;bottom:0;z-index:10;background:var(--text);color:#fff;border-radius:10px;padding:10px 12px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:8px}.pipe-bulk .pb-main,.pipe-bulk .pb-sub{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.pipe-bulk .pb-sub{border-top:1px solid #3F3F46;padding-top:8px}.pipe-bulk .btn{background:#27272a;border-color:#3f3f46;color:#fff;font-size:12px;padding:6px 10px}.pipe-bulk .btn:hover,.pipe-bulk .btn.on{background:#3f3f46}.pipe-bulk .btn.primary{background:#fff;color:var(--text);border-color:#fff}.pipe-bulk .btn.ghost{background:transparent;border-color:transparent;color:#d4d4d8}.pipe-bulk select,.pipe-bulk input{background:#27272a;border-color:#3f3f46;color:#fff;font-size:12px;padding:6px 9px;border-radius:8px}.pipe-bulk input::placeholder{color:#a1a1aa}.pipe-bulk .pb-sep{width:1px;height:20px;background:#3f3f46;margin:0 4px}.pipe-bulk .pop{color:var(--text)}.pf-side{flex-basis:240px;padding-bottom:12px}.pf-sec{display:flex;flex-direction:column;gap:2px;margin-bottom:6px}.pf-h{display:flex;align-items:center;gap:6px;border:0;background:none;padding:8px 10px 4px;font-size:12px;font-weight:600;color:var(--muted);cursor:pointer;text-align:left}.pf-h:hover{color:var(--text)}.pf-car{margin-left:auto;font-size:13px;color:var(--faint)}.pf-dot{width:6px;height:6px;border-radius:50%;background:var(--accent)}.pf-l{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pf-min{display:flex;align-items:center;gap:8px;padding:6px 10px;font-size:13px;color:var(--muted2)}.pf-min input{width:70px;padding:5px 8px;font-size:13px}.pf-foot{margin-top:auto;display:flex;flex-direction:column;gap:8px;padding:12px 8px 0;border-top:1px solid var(--line)}.pf-foot .btn{justify-content:center}#sec-pipeline .ch-main{gap:14px}.ch-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none;margin:-6px 0 0}.ch-tab{border:0;background:none;padding:10px 12px;font-size:13px;color:var(--muted2);cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap;display:inline-flex;gap:6px;align-items:center}.ch-tab:hover{color:var(--text)}.ch-tab.on{color:var(--text);font-weight:600;border-bottom-color:var(--text)}.ch-tab em{font-style:normal;font-size:11px;color:var(--muted);background:var(--soft2);border-radius:99px;padding:0 7px;font-weight:500}.ch-search{width:360px}.ch-head,.ch-row{display:grid;grid-template-columns:28px minmax(260px,1fr) minmax(160px,260px) 210px 8px;gap:12px;align-items:center}.ch-head{position:sticky;top:0;z-index:2;background:var(--panel);padding:10px 16px;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}.ch-row{padding:10px 16px}.ch-row.unread .who b{font-weight:700}.ch-row.unread .who small{color:var(--text)}.ch-who{display:flex;align-items:center;gap:12px;min-width:0}.ch-who .who{display:flex;flex-direction:column;gap:1px;min-width:0}.ch-who .ago{font-size:11px;color:var(--faint)}.ch-tagcol{display:flex;flex-wrap:wrap;gap:4px;align-items:center;min-width:0}.ch-tagcol .ch-tag{max-width:150px}.ch-tagcol .ch-tag button{visibility:hidden;border:0;background:none;padding:0 2px;cursor:pointer;color:var(--faint)}.ch-row:hover .ch-tagcol .ch-tag button{visibility:visible}.ch-plus{width:22px;height:22px;border-radius:6px;border:1px dashed #C9C9C4;background:var(--panel);color:var(--muted);cursor:pointer;font-size:14px;line-height:1;padding:0;opacity:0}.ch-row:hover .ch-plus{opacity:1}.ch-stagecol{display:flex;align-items:center;gap:8px}.stg-dot{width:8px;height:8px;border-radius:50%;flex:none}.ch-stage{font-size:12px;padding:6px 8px;border-radius:8px;width:100%;color:var(--muted)}.ch-stage.in{color:var(--text)}#sec-chats .ch-main{gap:12px}#sec-chats .pipe-bulk{flex:none}@media (max-width:1280px){.ch-head,.ch-row{grid-template-columns:28px minmax(220px,1fr) 150px 170px 0}}.cop{padding:6px 22px 0}.cop:empty{display:none}.cop-card{border:1px solid var(--accentLine);background:#f3f7fa;border-radius:10px;padding:9px 11px;display:flex;flex-direction:column;gap:7px}.cop-h{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:12px}.cop-h b{font-size:12px}.cop-ico{color:var(--accent);font-size:12px}.cop-pill{font-size:11px;font-weight:600;background:#fff;border:1px solid var(--accentLine);border-radius:99px;padding:1px 8px;color:var(--text2)}.cop-pill.ok{background:var(--accent);color:#fff;border-color:var(--accent)}.cop-mode{font-size:11px;padding:3px 6px;border-radius:6px;max-width:170px;background:#fff}.cop-goal{font-size:13px;font-weight:600;color:var(--text)}.cop-goal span{color:var(--accent);font-weight:600}.cop-adv{font-size:12px;color:var(--muted2);line-height:1.45}.cop-replies{display:flex;gap:6px;overflow-x:auto;scrollbar-width:thin;padding-bottom:2px}.cop-r{flex:0 0 240px;text-align:left;border:1px solid var(--line2);background:#fff;border-radius:10px;padding:7px 9px;font-size:13px;line-height:1.4;cursor:pointer;color:var(--text2);display:flex;flex-direction:column;gap:3px;max-height:110px;overflow:hidden}.cop-r:hover{border-color:var(--accent)}.cop-r small{font-size:12px;font-weight:700;color:var(--accent);text-transform:none;letter-spacing:0}.cop-stale{font-size:12px;color:#a16207}.cop-empty{display:flex;justify-content:flex-start}.cop-off{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.cop-card{gap:5px;padding:8px 10px}.cop-mode{max-width:140px}.cop-goal{font-size:13px}.cop-adv{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.cop-adv:hover{-webkit-line-clamp:unset}.cop-r{flex-basis:220px;max-height:none}.cop-r span.t{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.d-marks{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mark{display:flex;align-items:center;gap:10px;border:1.5px dashed var(--line2);background:var(--panel);border-radius:10px;padding:8px 12px;cursor:pointer;text-align:left;transition:all .12s}.mark .e{font-size:22px;line-height:1;filter:grayscale(1);opacity:.45;transition:all .12s}.mark b{display:block;font-size:13px}.mark small{display:block;font-size:11px;color:var(--muted)}.mark:hover{border-color:#a1a1aa}.mark:hover .e{opacity:.8}.mark.on .e{filter:none;opacity:1}.mark.call.on{border:1.5px solid #93C5FD;background:#eff6ff}.mark.call.on small{color:#1d4ed8;font-weight:600}.mark.won.on{border:1.5px solid #FCD34D;background:linear-gradient(135deg,#fffbeb,#fef3c7)}.mark.won.on small{color:#a16207;font-weight:600}.mk{font-size:13px;line-height:1;margin-left:4px;flex:none}.card .mk{font-size:14px}.cf .grip{cursor:grab;color:var(--faint);font-size:12px;margin-right:-4px;visibility:hidden}.cf:hover .grip{visibility:visible}#chLabelSort{display:flex;flex-direction:column;gap:2px}#chLabelSort .sortable-ghost{opacity:.4}.fu-sec{overflow-y:auto}.fu-body{display:flex;flex-direction:column;gap:16px;padding-bottom:20px}.fu-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.fu-kpi{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:14px 16px;display:flex;flex-direction:column;gap:3px}.fu-kpi span{font-size:12px;color:var(--muted2)}.fu-kpi b{font-size:24px;font-weight:700;letter-spacing:-.02em}.fu-kpi small{font-size:12px;color:var(--muted)}.fu-kpi.hero{background:var(--text);border-color:var(--text)}.fu-kpi.hero span,.fu-kpi.hero small{color:#a1a1aa}.fu-kpi.hero b{color:#fff}.fu-kpi.accent{background:var(--accentBg);border-color:var(--accentLine)}.fu-kpi.accent b{color:var(--accent);font-size:22px}.fu-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:16px}.fu-card{padding:18px 20px;display:flex;flex-direction:column;gap:10px}.fu-h{display:flex;flex-direction:column;gap:2px;margin-bottom:4px}.fu-h b{font-size:16px}.fu-cols,.fu-row{display:grid;grid-template-columns:170px minmax(0,1fr) 92px 120px;gap:12px;align-items:center}.fu-cols span{font-size:11px;color:var(--muted)}.fu-row{padding:4px 0}.fu-name{display:flex;align-items:center;gap:8px;font-size:13px;min-width:0}.fu-name i{width:8px;height:8px;border-radius:50%;flex:none}.fu-name span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fu-track{height:30px;background:var(--soft);border-radius:8px;overflow:hidden}.fu-bar{height:100%;background:#afc8d7;border-radius:0 6px 6px 0;display:flex;align-items:center;justify-content:flex-end;padding:0 8px;min-width:30px;transition:width .3s}.fu-row:nth-child(n+4) .fu-bar{background:#7fa3b8}.fu-row:nth-child(n+6) .fu-bar{background:#46708a}.fu-bar.won{background:var(--accent)!important}.fu-bar b{font-size:12px;color:#fff}.fu-conv,.fu-now{display:flex;flex-direction:column;gap:0}.fu-conv b,.fu-now b{font-size:16px}.fu-conv b.good{color:var(--accent)}.fu-conv b.bad{color:var(--danger)}.fu-conv small,.fu-now small{font-size:11px;color:var(--muted)}.fu-now .late{color:var(--danger);font-weight:600}.fu-lost{margin-top:6px;font-size:13px;color:var(--muted2);background:var(--dangerBg);border-radius:10px;padding:8px 12px}.fu-lost b{color:var(--danger)}.fu-stuck{display:flex;flex-direction:column;gap:2px}.fu-st{display:flex;align-items:center;gap:10px;border:0;background:none;border-radius:10px;padding:7px 8px;cursor:pointer;text-align:left}.fu-st:hover{background:var(--soft)}.fu-st .who{flex:1;min-width:0;display:flex;flex-direction:column}.fu-st .who b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fu-st .who small{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:5px}.fu-st .who small i{width:6px;height:6px;border-radius:50%}.fu-st .amt{font-size:13px;font-weight:600}.fu-sim{display:flex;gap:8px;align-items:flex-end;flex-wrap:wrap}.fu-sim label{font-size:12px}.fu-sim input{width:110px;font-size:16px;font-weight:600;padding:8px 10px}.fu-sim .arr{color:var(--faint);padding-bottom:10px}.fu-steps{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:var(--soft);border-radius:10px;padding:14px 16px;margin-top:4px}.fu-steps>div{display:flex;flex-direction:column;align-items:center}.fu-steps b{font-size:22px;font-weight:700}.fu-steps small{font-size:11px;color:var(--muted)}.fu-steps .pc{font-size:12px;color:var(--accent);font-weight:700;padding:0 4px}.fu-steps .money{margin-left:auto;align-items:flex-end}.fu-steps .money b{color:var(--accent)}.fu-real{display:flex;flex-direction:column;gap:8px;border-top:1px solid var(--line);padding-top:10px}.fu-real>div{display:flex;flex-direction:column;gap:2px}.fu-real span{font-size:12px;color:var(--muted)}.fu-real b{font-size:14px}.fu-prog{position:relative;height:8px;background:var(--soft2);border-radius:99px;margin-top:6px}.fu-prog i{position:absolute;left:0;top:0;bottom:0;background:var(--accent);border-radius:99px}.fu-prog em{position:absolute;top:-3px;bottom:-3px;width:2px;background:var(--text);border-radius:2px}.fu-tab{width:100%;border-collapse:collapse;font-size:13px}.fu-tab th{text-align:left;font-size:12px;font-weight:500;color:var(--muted);padding:6px 4px;border-bottom:1px solid var(--line)}.fu-tab td{padding:8px 4px;border-bottom:1px solid #F1F1EE}.d-ticket{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted2)}.d-ticket span:first-child{font-weight:600}.d-ticket select{flex:1;font-size:13px;padding:6px 8px;border-radius:6px;min-width:0}.d-ticket input{width:100px;font-size:13px;padding:6px 8px;border-radius:6px}@media (max-width:1400px){.fu-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:1100px){.fu-grid{grid-template-columns:1fr}.fu-cols,.fu-row{grid-template-columns:120px minmax(0,1fr) 70px 90px}}.side .brand{position:relative}.side-toggle{margin-left:auto;border:0;background:transparent;color:var(--faint);width:26px;height:26px;border-radius:6px;display:grid;place-items:center;cursor:pointer;padding:0}.side-toggle:hover{background:var(--soft);color:var(--text)}.side-toggle svg{width:16px;height:16px}.shell.mini .side{flex-basis:64px;padding:18px 10px;align-items:center}.shell.mini .side .brand-name,.shell.mini .nav span,.shell.mini .nav em:not(.b),.shell.mini .me-txt,.shell.mini .wa-pill #waText,.shell.mini .wa-pill .lp-t,.shell.mini .queue-pill{display:none}.shell.mini .nav{position:relative;justify-content:center;padding:10px}.shell.mini .nav em.b{position:absolute;top:2px;right:0}.shell.mini .side .brand{padding:4px 0 18px;flex-direction:column;gap:10px}.shell.mini .side-toggle{margin:0;transform:rotate(180deg)}.shell.mini .wa-pill{justify-content:center}.shell.mini .me-row{justify-content:center;padding:6px 0}.fu-tab td:last-child,.fu-tab td:nth-child(2){white-space:nowrap}.fu-now small{white-space:nowrap}.shell.mini .nav em.b{top:-3px;right:-4px;font-size:11px;padding:0 5px;line-height:16px}.nav-parent{color:var(--text);font-weight:600}.nav-parent.in{color:var(--text)}.nav-group{display:flex;flex-direction:column;gap:2px;margin:0 0 2px 14px;padding-left:8px;border-left:1px solid var(--line)}.nav.sub{padding:7px 10px;font-size:14px}.nav.sub svg{width:16px;height:16px}.nav-parent .b{display:none}.shell.mini .nav-parent .b,.shell.mini .nav-parent em.b:not(.hidden){display:inline}.shell.mini .nav-group{margin:0;padding:0;border-left:0;align-items:center}.shell.mini .nav-parent{display:none}.shell.mini .nav-group:before{content:"";display:block;width:24px;height:1px;background:var(--line);margin:6px 0}@media (max-width:1100px){.nav-group{margin:0;padding:0;border-left:0}.nav-parent{display:none}}.zx-logo{display:inline-flex;align-items:center}.zx-word{height:24px;width:auto;overflow:visible}.zx-t{font:600 30px Poppins,Inter,sans-serif;fill:var(--ink);letter-spacing:-.3px}.zx-acc{stroke:var(--hot);stroke-width:3.6;stroke-linecap:round;fill:none}.brand.big .zx-word{height:40px}.zx-mark{width:28px;height:28px;flex:none}.side .brand .zx-word{height:22px}.shell.mini .zx-mark{width:30px;height:30px}.badge,.nav em.b{background:var(--orange)!important}.udot{background:var(--orange)}.auth{background:linear-gradient(160deg,#c6d8e3,#e9f0f4 55%,#f7f7f5)}.fu-bar.won{background:var(--orange)!important}.mark.won.on{border-color:#f9b48f;background:linear-gradient(135deg,#fff4ee,#fde3d6)}.mark.won.on small{color:#c2410c}.cop-ico,.tk-spark{color:var(--orange)}.d-call{display:flex;align-items:center;gap:8px;font-size:13px;background:#eff6ff;border:1px solid #BFDBFE;border-radius:10px;padding:7px 10px;color:#1e3a8a}.d-call .btn{margin-left:auto;font-size:12px;padding:4px 10px}.side .brand .zx-mark{display:none}.shell.mini .side .brand .zx-mark{display:block}.side .brand-name{display:flex;align-items:center;padding-left:6px}.d-head{gap:9px;padding:16px 20px 10px}.mk-btn{width:34px;height:34px;border-radius:10px;border:1px dashed var(--line2);background:var(--panel);font-size:16px;cursor:pointer;display:grid;place-items:center;filter:grayscale(1);opacity:.55;flex:none;padding:0}.mk-btn:hover{opacity:.9}.mk-btn.on{filter:none;opacity:1;border-style:solid}.mk-btn.call.on{background:#eff6ff;border-color:#93c5fd}.mk-btn.won.on{background:#fff4ee;border-color:#f9b48f}.d-strip{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.d-stage{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line2);border-radius:99px;padding:0 4px 0 10px;background:var(--panel)}.d-stage i{width:8px;height:8px;border-radius:50%;flex:none}.d-stage select{border:0;padding:5px 4px;font-size:13px;font-weight:600;background:transparent;max-width:190px}.d-pill{display:inline-flex;align-items:center;gap:5px;font-size:13px;font-weight:600;border:1px solid var(--line2);border-radius:99px;padding:4px 10px;background:var(--panel);white-space:nowrap;color:var(--text)}.d-pill.muted{font-weight:500;color:var(--muted2);background:var(--soft);border-color:transparent;max-width:240px;overflow:hidden;text-overflow:ellipsis}.d-pill.call{background:#eff6ff;border-color:#bfdbfe;color:#1e3a8a}.d-pill.call a{color:#1d4ed8;font-weight:700;text-decoration:none}.d-pill em{font-style:normal;font-weight:500;color:var(--muted);font-size:11px}.btnlike{cursor:pointer}.btnlike:hover{border-color:#a1a1aa}.d-tkpop{left:0;right:auto;width:300px;top:calc(100% + 6px);gap:8px}.d-tkpop b{font-size:13px}.d-ai{display:flex;align-items:center;gap:8px;width:100%;text-align:left;border:1px solid var(--accentLine);background:#f3f7fa;border-radius:10px;padding:7px 10px;cursor:pointer;font-size:13px;color:var(--text2)}.d-ai .lvl{font-weight:700;white-space:nowrap}.d-ai .txt{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.d-ai.open .txt{white-space:normal}.d-ai .car{color:var(--muted);font-size:11px}.d-ai.off{cursor:default;background:var(--soft);border-color:transparent;justify-content:space-between}.d-aimore{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:0 4px}.d-aimore .ainext{flex-basis:100%;margin:0}.cop{padding:6px 20px 0}.cop-card{padding:0;gap:0;overflow:hidden}.cop-bar{display:flex;align-items:center;gap:6px;width:100%;border:0;background:transparent;padding:7px 11px;cursor:pointer;font-size:12px;text-align:left;flex-wrap:nowrap;overflow:hidden}.cop-bar b{font-size:12px}.cop-bar .hint{white-space:nowrap}.cop-car{font-size:12px;color:var(--accent);font-weight:600;white-space:nowrap}.cop-new{font-size:11px;font-weight:700;color:var(--orange);white-space:nowrap}.cop-body{display:flex;flex-direction:column;gap:6px;padding:8px 11px 9px;border-top:1px solid var(--accentLine);max-height:46vh;overflow-y:auto}.cop-foot{display:flex;align-items:center;gap:8px;padding-top:4px}.cop-card.col{background:#f3f7fa}.cop-card.col{width:100%}.d-tkpop{left:auto;right:-60px}.cop-foot select{max-width:none;width:auto;font-size:12px}.ln-tag{display:inline-flex;align-items:center;gap:3px;font-size:11px;font-weight:700;color:#1e3a8a;background:#eff6ff;border:1px solid #BFDBFE;border-radius:99px;padding:0 6px;margin-right:5px;line-height:16px;white-space:nowrap;vertical-align:1px}.ln-tag.in-msg{display:flex;width:max-content;margin:0 0 4px}.ln-tag.main{color:var(--muted2);background:var(--soft);border-color:transparent}.msg.out .ln-tag.in-msg{margin-left:auto}.d-stage.ln{padding-left:6px}.lines-box{display:flex;flex-direction:column;gap:10px;margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}.line-card{border:1px solid var(--line2);border-radius:10px;padding:10px 12px;display:flex;flex-direction:column;gap:8px;background:var(--panel)}.lc-h{display:flex;align-items:center;gap:8px}.lc-st{margin-left:auto;font-size:12px;font-weight:700;border-radius:99px;padding:2px 8px;background:var(--soft);color:var(--muted2)}.lc-st.ok{background:#ecfdf3;color:#15803d}.lc-st.warn{background:#fff7ed;color:#c2410c}.lc-st.bad{background:#fef2f2;color:#b91c1c}.lc-a{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}.lc-mode{flex:1;min-width:240px;font-size:12px}.line-card .qr-box img{width:240px;height:240px}.link.danger{color:#b91c1c}#lnAdd{align-self:flex-start}.ln-sep{display:flex;align-items:center;gap:10px;margin:10px 0 6px;font-size:12px;font-weight:700;color:var(--muted2)}.ln-sep:before,.ln-sep:after{content:"";flex:1;height:1px;background:var(--line2)}.ln-sep span{background:var(--soft);border-radius:99px;padding:3px 10px;white-space:nowrap}.ln-sep.alt span{background:#eff6ff;color:#1e3a8a}.msg.via-alt{box-shadow:inset 3px 0 #93c5fd}.msg.out.via-alt{box-shadow:inset -3px 0 #93c5fd}.msg time .via{font-weight:700;margin-right:6px;color:var(--muted2)}.msg time .via.alt{color:#1d4ed8}#linePills{display:flex;flex-direction:column}.wa-pill .lp-t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#asst{position:fixed;right:22px;bottom:22px;z-index:40;display:flex;flex-direction:column;align-items:flex-end;gap:12px;pointer-events:none}#asst>*{pointer-events:auto}.drawer:not(.hidden)~#asst{right:min(582px,calc(100vw - 80px))}.asst-fab{order:2;width:52px;height:52px;border-radius:50%;border:0;background:var(--accent);color:#fff;box-shadow:0 10px 28px -8px #1f3b4d8c;cursor:pointer;display:grid;place-items:center;transition:transform .15s}.asst-fab:hover{transform:scale(1.06)}.asst-fab .asst-spark{font-size:22px;color:#fff}#asst.on .asst-fab{background:var(--accent2)}.asst-spark{color:var(--orange);font-weight:700}.asst-panel{order:1;width:min(400px,calc(100vw - 32px));height:min(600px,calc(100vh - 110px));background:var(--panel);border:1px solid var(--line);border-radius:10px;box-shadow:0 24px 60px -20px #00000059;display:flex;flex-direction:column;overflow:hidden;animation:slide .16s ease-out}.asst-h{display:flex;align-items:center;gap:8px;padding:12px 12px 12px 16px;border-bottom:1px solid var(--line)}.asst-h small{color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:170px}.asst-body{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:10px;background:var(--bg)}.asst-hello{display:flex;flex-direction:column;gap:4px;padding:6px 2px 4px;font-size:13px;color:var(--muted2)}.asst-hello b{font-size:16px;color:var(--text)}.asst-m{max-width:88%;font-size:14px;line-height:1.5;padding:9px 12px;border-radius:10px;word-wrap:break-word}.asst-m.user{align-self:flex-end;background:var(--accent);color:#fff;border-bottom-right-radius:4px;white-space:pre-wrap}.asst-m.model{align-self:flex-start;background:var(--panel);border:1px solid var(--line);border-bottom-left-radius:4px}.asst-m p{margin:0 0 6px}.asst-m p:last-child{margin:0}.asst-m ul{margin:2px 0 6px;padding-left:18px}.asst-m li{margin:2px 0}.asst-lead{color:var(--accent);font-weight:700;text-decoration:none;border-bottom:1px dashed var(--accentLine)}.asst-lead:hover{border-bottom-style:solid}.asst-m.typing{display:flex;gap:4px;padding:12px 14px}.asst-m.typing i{width:6px;height:6px;border-radius:50%;background:var(--muted);animation:asstDot 1s infinite}.asst-m.typing i:nth-child(2){animation-delay:.15s}.asst-m.typing i:nth-child(3){animation-delay:.3s}@keyframes asstDot{0%,80%,to{opacity:.25}40%{opacity:1}}.asst-ideas{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px}.asst-ideas button{border:1px solid var(--line2);background:var(--panel);border-radius:99px;padding:5px 10px;font-size:12px;cursor:pointer;color:var(--text2)}.asst-ideas button:hover{border-color:var(--accent);color:var(--accent)}.asst-in{display:flex;gap:8px;align-items:flex-end;padding:10px;border-top:1px solid var(--line)}.asst-in textarea{flex:1;resize:none;border:1px solid var(--line2);border-radius:10px;padding:9px 11px;font:inherit;font-size:14px;max-height:120px}.asst-in .btn{height:38px;width:42px;padding:0;justify-content:center}@media (max-width:700px){.drawer:not(.hidden)~#asst{right:16px;bottom:96px}}.ch-tabsrow{display:flex;align-items:flex-end;gap:10px}.ch-tabsrow .ch-tabs{flex:1;min-width:0}.ch-readall{flex:none;font-size:13px;margin-bottom:4px;white-space:nowrap}#dUnread{color:var(--orange);font-size:13px}body:has(.pipe-bulk:not(.hidden)) #asst{bottom:104px}.int-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}.int-card{display:flex;align-items:flex-start;gap:12px;text-align:left;border:1px solid var(--line2);background:var(--panel);border-radius:10px;padding:14px;cursor:pointer;font:inherit;color:inherit}.int-card:hover{border-color:var(--accent);box-shadow:0 6px 18px -12px #1f3b4d66}.int-ico{font-size:24px;line-height:1}.int-txt{flex:1;display:flex;flex-direction:column;gap:3px;min-width:0}.int-txt small{color:var(--muted2);font-size:13px;line-height:1.4}.int-pend{font-style:normal;font-size:12px;font-weight:700;color:var(--orange)}.int-card .lc-st{margin-left:0;flex:none}.tc-types{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:6px}.tc-types .chk{display:inline-flex;align-items:center;gap:6px;font-size:13px}.set-back{color:var(--muted2);text-decoration:none}.set-crumb{color:var(--muted);margin:0 8px}.set-back:hover{text-decoration:underline}.tc-types label.chk{display:inline-flex;flex-direction:row;align-items:center;gap:6px;font-weight:500;width:auto}.tc-types label.chk input{width:auto;margin:0}#setMenu a small.alert,#setMenu a[href="#ajustes/integraciones"] small{background:var(--orange);color:#fff;border-radius:99px;padding:0 7px;font-weight:700}.drawer-body[data-tab=sale] #dSale{display:flex}.paychip{font-size:12px;margin-left:3px;border-radius:6px;padding:0 3px}.paychip.ok{background:#ecfdf3}.paychip.part{background:#fff7ed}.paychip.bad{background:#fef2f2}.paychip.sent{background:#eff6ff}.sale-card{border:1px solid var(--line2);border-radius:10px;padding:14px;display:flex;flex-direction:column;gap:8px;background:var(--panel)}.sale-h{display:flex;align-items:center;justify-content:space-between}.paystate{font-size:12px;font-weight:700;border-radius:99px;padding:3px 10px;background:var(--soft);color:var(--muted2)}.paystate.ok{background:#ecfdf3;color:#15803d}.paystate.part{background:#fff7ed;color:#c2410c}.paystate.bad{background:#fef2f2;color:#b91c1c}.paystate.sent{background:#eff6ff;color:#1d4ed8}.sale-bar{height:8px;border-radius:99px;background:var(--soft);overflow:hidden}.sale-bar i{display:block;height:100%;background:#16a34a}.sale-nums{display:flex;justify-content:space-between;font-size:13px;color:var(--muted2)}.sale-nums b{color:var(--text);font-size:16px}.sale-links{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sale-link{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;border:1px solid var(--line2);background:var(--panel);border-radius:10px;padding:10px 12px;cursor:pointer;font:inherit;font-weight:600;font-size:14px;color:var(--text)}.sale-link small{font-weight:500;font-size:12px;color:var(--muted2)}.sale-link:hover{border-color:var(--accent);background:#f3f7fa}.sale-link.sm{width:100%;padding:8px 10px}.sale-manual{display:grid;grid-template-columns:110px 1fr;gap:8px}.sale-manual #smNote,.sale-manual .btn{grid-column:1/-1}.sale-list{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:10px;overflow:hidden}.sale-list>div{display:flex;gap:10px;align-items:baseline;padding:8px 12px;border-bottom:1px solid var(--line);font-size:13px}.sale-list>div:last-child{border-bottom:0}.sale-list span{color:var(--muted2);font-size:12px}.pay-pop{width:300px;max-height:360px;overflow-y:auto;gap:6px;bottom:calc(100% + 8px);left:0;right:auto}.pl-list{display:flex;flex-direction:column;gap:10px}.pl-row{border:1px solid var(--line2);border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:8px;background:var(--panel)}.pl-top{display:grid;grid-template-columns:1fr 140px 130px 34px;gap:8px;align-items:center}.pl-bot{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}.pl-bot label{font-size:12px;width:130px}.pl-bot label.chk{display:inline-flex;flex-direction:row;align-items:center;gap:6px;width:auto;font-size:13px}.pl-bot label.chk input{width:auto}.pl-row details summary{font-size:13px;color:var(--muted2);cursor:pointer}.pl-row textarea{width:100%}#dSale>*{flex-shrink:0}.drawer-body[data-tab=calls] #dCalls{display:flex}#dCalls>*{flex-shrink:0}.call-card{border:1px solid var(--line2);border-radius:10px;padding:14px;display:flex;flex-direction:column;gap:8px;background:var(--panel)}.call-card p{margin:0;font-size:14px;line-height:1.5}.call-h{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.call-h b{flex:1;min-width:140px}.call-score{font-weight:800;font-size:12px;background:var(--soft);border-radius:99px;padding:3px 9px}.call-next{font-size:13px;background:#f3f7fa;border:1px solid var(--accentLine);border-radius:10px;padding:8px 10px}.call-cols{display:grid;grid-template-columns:1fr 1fr;gap:10px}.call-cols small,.call-coach small{display:block;font-weight:700;font-size:12px;color:var(--muted2);text-transform:none;letter-spacing:0;margin-top:4px}.call-card ul{margin:4px 0 0;padding-left:18px;font-size:13px;line-height:1.45}.call-coach{background:#fff7ed;border:1px solid #FED7AA;border-radius:10px;padding:8px 12px}.call-card details summary{cursor:pointer;font-size:13px;font-weight:600;color:var(--accent)}.call-sum,.call-tr{font-size:13px;line-height:1.5;color:var(--text2);max-height:320px;overflow-y:auto;margin-top:6px;padding:8px 10px;background:var(--soft);border-radius:8px}.gm-camp{border:0;background:transparent;font-size:12px;font-weight:700;color:var(--orange);cursor:pointer;padding:0 4px}.gm-camp:hover{text-decoration:underline}.camp-src{background:var(--soft);border-radius:10px;padding:10px 12px;font-size:13px;display:flex;flex-direction:column;gap:4px}.camp-src small{color:var(--muted2)}.chk-line{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;font-size:13px}.chk-line input{width:auto}.camp-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.camp-t{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}.camp-t small{color:var(--muted2);font-size:12px;overflow:hidden;text-overflow:ellipsis}.pf-box{padding:14px;display:flex;flex-direction:column;gap:10px;margin-bottom:14px}.ch-tabs{display:grid;grid-template-columns:repeat(auto-fill,minmax(122px,1fr));gap:8px;border-bottom:0;overflow:visible;margin:0 0 12px}.ch-tab{display:flex;flex-direction:column;align-items:flex-start;gap:4px;border:1px solid var(--line2);border-radius:10px;background:var(--panel);padding:10px 12px 9px;margin:0;cursor:pointer;text-align:left;white-space:normal;position:relative;overflow:hidden;color:var(--text);font-weight:500;transition:border-color .12s,box-shadow .12s}.ch-tab:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--c)}.ch-tab:hover{border-color:var(--c);box-shadow:0 4px 14px -10px var(--c)}.ch-tab.on{border-color:var(--c);background:color-mix(in srgb,var(--c) 9%,var(--panel));box-shadow:inset 0 0 0 1px var(--c)}.cst-top{display:flex;align-items:center;gap:8px;width:100%}.cst-ico{width:24px;height:24px;border-radius:6px;display:grid;place-items:center;font-size:13px;color:var(--c);background:color-mix(in srgb,var(--c) 12%,transparent);flex:none}.cst-top b{font-size:20px;font-weight:700;line-height:1;color:var(--text)}.cst-lb{font-size:13px;color:var(--muted2);line-height:1.25}.ch-tab.on .cst-lb{color:var(--text);font-weight:600}.ch-tab.sortable-ghost{opacity:.35}.ch-tab.sortable-chosen{cursor:grabbing}.sec-head .ch-readall{margin-left:auto;margin-right:8px;font-size:13px}:root{--b-struct:var(--ink);--b-sky:var(--sky);--b-neutral:#E6E6E6;--b-accent:var(--hot);--b-font:"Space Grotesk";--font:var(--b-font),Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--accent:var(--b-struct);--accent2:color-mix(in srgb,var(--b-struct) 80%,#000);--accentBg:color-mix(in srgb,var(--b-sky) 35%,#fff);--accentLine:var(--b-sky);--sky:var(--b-sky);--orange:var(--b-accent);--text:color-mix(in srgb,var(--b-struct) 92%,#000);--text2:color-mix(in srgb,var(--b-struct) 85%,#334);--muted2:color-mix(in srgb,var(--b-struct) 68%,#7a8a92);--muted:color-mix(in srgb,var(--b-struct) 52%,#9aa6ac);--bg:color-mix(in srgb,var(--b-sky) 14%,#fafbfc);--soft:color-mix(in srgb,var(--b-sky) 18%,#fff);--soft2:color-mix(in srgb,var(--b-sky) 26%,#fff);--line:color-mix(in srgb,var(--b-neutral) 70%,var(--b-sky));--line2:color-mix(in srgb,var(--b-neutral) 55%,var(--b-sky));--cut:12px}body.shape-round,body.shape-square{--cut:0px}body.shape-square .btn,body.shape-square .card,body.shape-square .panel{border-radius:4px}.side{background:var(--b-struct);border-right:0;color:color-mix(in srgb,var(--b-sky) 85%,#fff)}.side .nav{color:color-mix(in srgb,var(--b-sky) 80%,var(--b-struct))}.side .nav svg{color:inherit}.side .nav:hover{background:#ffffff12;color:#fff}.side .nav.on{background:var(--b-sky);color:var(--b-struct);font-weight:600}.side .nav em{color:color-mix(in srgb,var(--b-sky) 70%,var(--b-struct))}.side .nav.on em{color:var(--b-struct)}.side .nav em.b,.badge{background:var(--b-accent)!important;color:var(--on-accent,var(--b-struct))!important}.side .nav-group{border-left-color:#ffffff24}.side .nav-sep,.shell.mini .nav-group:before{background:#ffffff24}.side .wa-pill,.side .queue-pill{color:color-mix(in srgb,var(--b-sky) 80%,var(--b-struct))}.side .wa-pill:hover,.side .queue-pill:hover,.side .me-row:hover{background:#ffffff12}.side .me-row{color:#fff}.side .me-txt small,.side-toggle{color:color-mix(in srgb,var(--b-sky) 70%,var(--b-struct))}.side-toggle:hover{background:#ffffff1a;color:#fff}.zx-word{height:24px;width:auto}.zx-t{font:600 28px var(--b-font),Poppins,sans-serif;letter-spacing:-.3px;fill:var(--b-struct)}.zx-z{fill:var(--b-struct)}.zx-dot{fill:var(--b-accent)}.side .zx-t,.side .zx-z{fill:var(--b-sky)}.brand.big .zx-word{height:42px}.zx-mark{width:30px;height:26px}.side .brand .zx-markwrap{display:none}.shell.mini .side .brand .zx-markwrap{display:block}.zx-logo img,.zx-markwrap img{display:block;max-height:30px;max-width:150px;object-fit:contain}.brand.big .zx-logo img{max-height:52px;max-width:240px}.zx-markwrap img{max-height:30px;max-width:34px}.zx-name{font:600 20px var(--b-font),sans-serif;color:var(--b-struct)}.side .zx-name{color:var(--b-sky)}.btn.primary{background:var(--b-struct);border-color:var(--b-struct);color:#fff}.btn.primary:hover{background:var(--accent2)}.btn.cta,#dSend,#authBtn{background:var(--b-accent)!important;border-color:var(--b-accent)!important;color:var(--on-accent,var(--b-struct))!important;font-weight:700}.btn.cta:hover,#dSend:hover,#authBtn:hover{filter:brightness(.96)}body:not(.shape-round):not(.shape-square) .btn.cta,body:not(.shape-round):not(.shape-square) #authBtn{clip-path:polygon(0 0,100% 0,100% calc(100% - var(--cut)),calc(100% - var(--cut)) 100%,0 100%);border-radius:10px 10px 0}body:not(.shape-round):not(.shape-square) #dSend{clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.ch-tab.on{background:var(--b-struct)!important;border-color:var(--b-struct)!important;box-shadow:none}.ch-tab.on .cst-lb{color:var(--b-sky)!important}.ch-tab.on .cst-top b{color:#fff}.ch-tab.on .cst-ico{background:#ffffff1f;color:var(--b-sky)}body:not(.shape-round):not(.shape-square) .ch-tab.on{clip-path:polygon(0 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%);border-radius:10px 12px 0}.auth{background:var(--b-struct)!important;position:relative;overflow:hidden}.auth:before{content:"";position:absolute;inset:-30% auto auto -20%;width:120vmax;height:120vmax;border-radius:50%;background:repeating-radial-gradient(circle,transparent 0 78px,color-mix(in srgb,var(--b-sky) 22%,transparent) 79px 80px);pointer-events:none}.auth-card{position:relative;z-index:1}.mk-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mk-slot{border:1px dashed var(--line2);border-radius:10px;height:96px;display:grid;place-items:center;background:var(--soft);position:relative;cursor:pointer}.mk-slot.dark{background:var(--b-struct);border-style:solid;border-color:var(--b-struct)}.mk-slot img{max-width:80%;max-height:60px;object-fit:contain}.mk-slot small{position:absolute;bottom:-20px;left:0;font-size:12px;color:var(--muted)}.mk-colors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mk-color{display:flex;align-items:center;gap:10px;border:1px solid var(--line2);border-radius:10px;padding:10px 12px}.mk-color input[type=color]{width:40px;height:36px;border:0;padding:0;background:none;cursor:pointer}.mk-color b{display:block;font-size:14px}.mk-color span{font-size:12px;color:var(--muted)}.mk-color input[type=text]{width:96px;margin-left:auto}.mk-shapes{display:flex;gap:8px;flex-wrap:wrap}.mk-shapes label{display:flex;align-items:center;gap:6px;border:1px solid var(--line2);border-radius:10px;padding:9px 12px;font-size:13px;cursor:pointer;flex-direction:row}.mk-shapes label input{width:auto}.mk-prev{border:1px solid var(--line2);border-radius:10px;overflow:hidden;display:flex;height:260px;background:var(--bg)}.mk-prev .pv-side{width:84px;background:var(--b-struct);padding:12px 8px;display:flex;flex-direction:column;gap:7px}.mk-prev .pv-side i{height:20px;border-radius:6px;background:#ffffff1f}.mk-prev .pv-side i.on{background:var(--b-sky)}.mk-prev .pv-main{flex:1;padding:14px;display:flex;flex-direction:column;gap:9px;font-size:13px}.mk-prev .pv-hot{background:var(--b-struct);color:#fff;padding:10px;border-radius:10px 10px 0;clip-path:polygon(0 0,100% 0,100% calc(100% - var(--cut)),calc(100% - var(--cut)) 100%,0 100%)}.mk-prev .pv-card{background:#fff;border:1px solid var(--line2);border-radius:10px;padding:10px}.mk-warn{font-size:13px;color:#9a3412}.auth:not(.hidden)~#asst{display:none}.mk-color{flex-direction:row!important;text-align:left}.mk-color>span{flex:1;display:block}body.mode-light .side{background:#fff;border-right:1px solid var(--line);color:var(--text)}body.mode-light .side .nav{color:var(--muted2)}body.mode-light .side .nav:hover{background:var(--soft);color:var(--text)}body.mode-light .side .nav.on{background:var(--b-sky);color:var(--b-struct)}body.mode-light .side .nav em{color:var(--muted)}body.mode-light .side .nav-group{border-left-color:var(--line)}body.mode-light .side .nav-sep,body.mode-light .shell.mini .nav-group:before{background:var(--line)}body.mode-light .side .wa-pill,body.mode-light .side .queue-pill{color:var(--muted2)}body.mode-light .side .wa-pill:hover,body.mode-light .side .queue-pill:hover,body.mode-light .side .me-row:hover{background:var(--soft)}body.mode-light .side .me-row{color:var(--text)}body.mode-light .side .me-txt small{color:var(--muted)}body.mode-light .side-toggle{color:var(--faint)}body.mode-light .side-toggle:hover{background:var(--soft);color:var(--text)}body.mode-light .side .zx-t,body.mode-light .side .zx-z{fill:var(--b-struct)}body.mode-light .side .zx-name{color:var(--b-struct)}body.mode-light .ch-tab.on{background:color-mix(in srgb,var(--b-sky) 55%,#fff)!important;border-color:var(--b-struct)!important}body.mode-light .ch-tab.on .cst-lb{color:var(--b-struct)!important}body.mode-light .ch-tab.on .cst-top b{color:var(--b-struct)}body.mode-light .ch-tab.on .cst-ico{background:#fff;color:var(--b-struct)}body.mode-light .auth{background:color-mix(in srgb,var(--b-sky) 55%,#fff)!important}body.mode-light .auth:before{background:repeating-radial-gradient(circle,transparent 0 78px,color-mix(in srgb,var(--b-struct) 14%,transparent) 79px 80px)}.mk-modes{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mk-mode{display:flex!important;flex-direction:row!important;align-items:center;gap:12px;border:1px solid var(--line2);border-radius:10px;padding:12px;cursor:pointer}.mk-mode.on{border-color:var(--b-struct);box-shadow:inset 0 0 0 1px var(--b-struct)}.mk-mode input{width:auto}.mk-mode b{display:block;font-size:14px}.mk-mode small{font-size:12px;color:var(--muted)}.mm-pv{width:58px;height:42px;border-radius:8px;display:flex;flex-direction:column;gap:4px;padding:6px;box-sizing:border-box;flex:none;border:1px solid var(--line2)}.mm-pv.dark{background:var(--b-struct)}.mm-pv.light{background:#fff}.mm-pv i{height:6px;border-radius:3px;background:#7f7f7f4d}.mm-pv i:first-child{background:var(--b-sky)}.mk-prev.light .pv-side{background:#fff;border-right:1px solid var(--line2)}.mk-prev.light .pv-side i{background:var(--soft2)}.mk-prev.light .pv-side i.on{background:var(--b-sky)}.fu-hero{background:var(--b-struct);color:#fff;border-radius:10px 18px 0;padding:22px 26px;display:flex;flex-direction:column;gap:16px;margin-bottom:16px;position:relative;overflow:hidden}body:not(.shape-round):not(.shape-square) .fu-hero{clip-path:polygon(0 0,100% 0,100% calc(100% - 28px),calc(100% - 28px) 100%,0 100%)}body.mode-light .fu-hero{background:color-mix(in srgb,var(--b-sky) 45%,#fff);color:var(--b-struct)}.fh-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}.fh-k{font-size:13px;letter-spacing:0;text-transform:none;opacity:.75}.fh-big{font-size:46px;font-weight:500;letter-spacing:-1.2px;line-height:1.1;margin-top:4px}.fh-sub{font-size:14px;opacity:.85;margin-top:2px}.fh-sub b.pos,.pos{color:#7fe0ae}.fh-sub b.neg,.neg{color:#ffb4a0}body.mode-light .pos{color:#15803d}body.mode-light .neg{color:#b91c1c}.fh-seg{display:inline-flex;background:#ffffff1f;border-radius:10px;padding:3px}body.mode-light .fh-seg{background:#ffffffb3}.fh-seg button{border:0;background:transparent;color:inherit;font:inherit;font-size:13px;font-weight:600;padding:7px 14px;border-radius:8px;cursor:pointer;opacity:.8}.fh-seg button.on{background:var(--b-accent);color:var(--on-accent,var(--b-struct));opacity:1}.fh-prog{display:flex;flex-direction:column;gap:6px;font-size:13px}.fh-bar{height:10px;border-radius:99px;background:#ffffff26;overflow:hidden}body.mode-light .fh-bar{background:#083b511f}.fh-bar i{display:block;height:100%;background:var(--b-accent);border-radius:99px}.fh-row{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}.fh-row label{display:flex;flex-direction:column;gap:4px;font-size:12px;opacity:.95;color:inherit}.fh-row input{width:120px;background:#ffffff1a;border:1px solid rgba(255,255,255,.25);color:inherit;border-radius:6px;padding:8px 10px;font-size:16px;font-weight:600}body.mode-light .fh-row input{background:#fff;border-color:var(--line2)}.fh-row.sim{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}.fh-row.sim input{width:100%}.fh-row .arr,.fh-flow .arr{opacity:.5;padding-bottom:8px}.fh-flow{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.fh-flow div{display:flex;flex-direction:column}.fh-flow b{font-size:20px;font-weight:600}.fh-flow small{font-size:12px;opacity:.75}.fh-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px}.fh-card{background:#ffffff14;border:1px solid rgba(255,255,255,.14);border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:2px}body.mode-light .fh-card,body.mode-light .fh-scen>div{background:#fff;border-color:var(--line2)}.fh-card span{font-size:12px;opacity:.75}.fh-card b{font-size:22px;font-weight:600}.fh-card small{font-size:12px;opacity:.75}.fh-scen{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.fh-scen>div{border:1px solid rgba(255,255,255,.14);border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:2px;background:#ffffff0a}.fh-scen>div.on{border-color:var(--b-accent)}.fh-scen span{font-size:12px;opacity:.75}.fh-scen b{font-size:20px}.fh-scen small{font-size:12px;opacity:.85}.fh-scen i{font-style:normal}.fh-real{font-size:13px;opacity:.9}.fh-use{color:var(--b-accent)!important}body.mode-light .fh-use{color:var(--b-struct)!important;text-decoration:underline}.pipe-sw{display:flex;flex-direction:row;align-items:center;gap:6px;height:38px;font-size:14px;padding:0 4px 0 10px;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--text);cursor:pointer}.pipe-sw svg{width:16px;height:16px;fill:none;stroke:var(--b-struct);stroke-width:2;stroke-linecap:round;flex:none}.pipe-sw select{border:0;background:transparent;font:inherit;font-weight:600;font-size:14px;color:var(--text);padding:4px 6px 4px 2px;cursor:pointer;flex:1;min-width:0;width:auto;max-width:none;border-radius:6px}.pipe-sw select:focus{outline:none}.pipe-sw:focus-within{border-color:var(--b-struct);box-shadow:0 0 0 3px color-mix(in srgb,var(--b-sky) 60%,transparent)}#fuPipeSlot{display:inline-flex}#fuPipeSlot .pipe-sw{min-width:220px}.pipe-slot{padding:0 12px 10px}.pipe-slot .pipe-sw{width:100%;box-sizing:border-box;background:var(--b-struct);border-color:var(--b-struct)}.pipe-slot .pipe-sw select{color:#fff;background:transparent}.pipe-slot .pipe-sw select option,.pipe-slot .pipe-sw select optgroup{color:var(--text);background:var(--panel)}.pipe-slot .pipe-sw svg{stroke:var(--b-sky)}.pl-bar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.pl-tab{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--panel);color:var(--text);border-radius:10px;padding:8px 14px;font:inherit;font-size:14px;cursor:pointer}.pl-tab small{font-size:12px;color:var(--muted)}.pl-tab.on{background:var(--b-struct);border-color:var(--b-struct);color:#fff;font-weight:600}.pl-tab.on small{color:var(--b-sky)}.pl-tab.add{border-style:dashed;color:var(--muted2)}.pl-edit{display:flex;gap:8px;align-items:flex-end;flex-wrap:wrap;margin-bottom:6px}.pl-edit label{flex:1;min-width:200px}.cap-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:4px 0 14px}.cap-steps>div{display:flex;align-items:center;gap:10px;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:12px}.cap-steps b{flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--b-sky);color:var(--b-struct);font-weight:700}.cap-steps span{display:flex;flex-direction:column;font-size:14px;font-weight:500;line-height:1.25}.cap-steps em{font-style:normal;font-size:12px;color:var(--muted);font-weight:400}.cap-steps .ok{background:var(--b-struct);border-color:var(--b-struct);color:#fff;clip-path:polygon(0 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%)}.cap-steps .ok b{background:var(--b-accent);color:var(--on-accent,var(--b-struct))}.cap-steps .ok em{color:var(--b-sky)}.cap-on{display:flex;align-items:center;gap:12px}.cap-on>div{flex:1;display:flex;flex-direction:column;gap:2px}.cap-on small{color:var(--muted);font-size:13px}.ok-dot{width:10px;height:10px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px #22c55e2e;flex:none}.sico{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.set-menu{flex:0 0 250px;gap:0;padding:22px 12px 30px}.set-menu h1{margin:0 0 12px 10px}.set-menu a{gap:10px;padding:8px 10px;font-size:14px;position:relative}.set-menu a .sico{color:var(--muted);width:17px;height:17px}.set-menu a:hover .sico{color:var(--text)}.set-menu a.on{background:var(--b-struct);color:#fff}.set-menu a.on .sico{color:var(--b-sky)}.set-menu a span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sm-home{margin-bottom:6px}.sm-search{flex-direction:row;align-items:center;gap:8px;margin:0 2px 10px;padding:0 10px;border:1px solid var(--line2);border-radius:10px;background:var(--bg);color:var(--muted)}.sm-search input{border:0;background:transparent;padding:9px 0;flex:1;min-width:0;font-size:14px}.sm-search:focus-within{border-color:var(--b-struct)}.sm-grp{display:flex;flex-direction:column;gap:1px;padding:6px 0;border-top:1px solid var(--line)}.sm-gt{font-size:12px;font-weight:600;letter-spacing:0;text-transform:none;color:var(--faint);padding:8px 10px 4px}.sm-dot{width:8px;height:8px;border-radius:50%;flex:none;background:var(--b-accent)}.sm-dot.bad{background:var(--danger)}.set-inner.home{max-width:1120px}.set-crumbs{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);flex-wrap:wrap}.set-crumbs a{color:var(--muted2);text-decoration:none}.set-crumbs a:hover{color:var(--text);text-decoration:underline}.set-crumbs i{font-style:normal;color:var(--faint)}.set-crumbs span:last-child{color:var(--text);font-weight:500}.set-h{display:flex;align-items:center;gap:14px;margin-top:12px}.set-h b{display:block;font-size:26px;font-weight:500;letter-spacing:-.6px;line-height:1.15}.set-h small{display:block;font-size:14px;color:var(--muted2);font-weight:400;margin-top:3px}.set-hico{width:46px;height:46px;border-radius:10px;background:var(--b-struct);color:var(--b-sky);display:grid;place-items:center;flex:none;clip-path:polygon(0 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%)}.set-hico .sico{width:22px;height:22px}#setTitle{font-size:inherit;font-weight:inherit;margin:0}#setTitle:empty{display:none}.sh-hero{position:relative;overflow:hidden;background:var(--b-struct);color:#fff;border-radius:10px;padding:30px 30px 26px;display:flex;flex-direction:column;gap:18px;clip-path:polygon(0 0,100% 0,100% calc(100% - 26px),calc(100% - 26px) 100%,0 100%)}.sh-hero:after{content:"";position:absolute;right:-40px;top:-50px;width:260px;height:260px;background:var(--b-sky);opacity:.08;clip-path:polygon(6% 19%,68% 19%,37% 50%,53% 50%,53% 81%,0 81%,31% 50%,6% 50%)}.sh-kick{font-size:12px;letter-spacing:0;text-transform:none;color:var(--b-sky)}.sh-hero h1{margin:6px 0 4px;font-size:34px;font-weight:400;letter-spacing:-1px;color:#fff}.sh-hero p{margin:0;color:var(--b-sky);font-size:16px}.sh-search{position:relative;z-index:1;flex-direction:row;align-items:center;gap:10px;background:#fff;border-radius:10px;padding:0 14px;color:#5b7a88;max-width:620px}.sh-search input{border:0;background:transparent;flex:1;min-width:0;padding:14px 0;font-size:16px;color:var(--ink)}.sh-search .sico{width:20px;height:20px}.sh-att{display:flex;flex-direction:column;gap:6px;background:var(--panel);border:1px solid var(--line);border-left:4px solid var(--b-accent);border-radius:10px;padding:14px 16px}.sh-att>b{display:flex;align-items:center;gap:8px;font-size:14px;margin-bottom:4px}.sh-att>b .sico{color:var(--b-accent)}.sh-al{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;text-decoration:none;color:var(--text);font-size:14px}.sh-al:hover{background:var(--soft)}.sh-al i{width:8px;height:8px;border-radius:50%;background:var(--b-accent);flex:none}.sh-al.bad i{background:var(--danger)}.sh-al span{flex:1}.sh-al em{font-style:normal;font-size:13px;color:var(--muted2);font-weight:500}.sh-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:16px;align-items:start}.sh-card{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:8px;display:flex;flex-direction:column}.sh-ch{display:flex;align-items:center;gap:12px;padding:12px 12px 10px}.sh-ch b{display:block;font-size:16px;font-weight:600;letter-spacing:-.2px}.sh-ch small{display:block;font-size:13px;color:var(--muted);margin-top:2px}.sh-gico{width:40px;height:40px;border-radius:8px;display:grid;place-items:center;background:var(--b-sky);color:var(--b-struct);flex:none}.sh-gico .sico{width:20px;height:20px}.sh-list{display:flex;flex-direction:column}.sh-row{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:10px;text-decoration:none;color:var(--text);transition:background .12s}.sh-row:hover{background:var(--soft)}.sh-row:hover .sh-go{transform:translate(3px);color:var(--text)}.sh-ri{width:32px;height:32px;border-radius:6px;background:var(--soft);color:var(--muted2);display:grid;place-items:center;flex:none}.sh-row:hover .sh-ri{background:var(--b-struct);color:var(--b-sky)}.sh-rt{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.sh-rt b{font-weight:500;font-size:14px}.sh-rt small{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sh-st{font-size:12px;font-weight:500;color:var(--muted2);background:var(--soft);border-radius:99px;padding:3px 9px;white-space:nowrap;flex:none}.sh-st.ok{background:#22c55e1f;color:#15803d}.sh-st.warn{background:color-mix(in srgb,var(--b-accent) 16%,transparent);color:#9a3412}.sh-st.bad{background:#dc26261f;color:#b91c1c}.sh-go{color:var(--faint);font-size:18px;transition:transform .15s;flex:none}body.mode-dark .sh-st.ok{color:#4ade80}body.mode-dark .sh-st.warn{color:#fda88e}body.mode-dark .sh-st.bad{color:#fca5a5}@media (max-width:760px){.set-menu .sm-search,.set-menu .sm-gt{display:none}.sm-grp{flex-direction:row;border:0;padding:0}.sh-hero{padding:22px 18px}.sh-hero h1{font-size:26px}.sh-grid{grid-template-columns:1fr}}.ct-box{display:flex;flex-direction:column;gap:10px;margin-bottom:6px}.ct-new{display:flex;gap:8px;flex-wrap:wrap}.ct-new select{flex:1;min-width:150px;padding:8px 10px;font-size:13px}.ct-new .btn{flex:1 1 100%}.ct-list{display:flex;flex-direction:column;gap:8px}.ct-item{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px;border:1px solid var(--line);border-radius:10px;padding:11px 12px;background:var(--panel)}.ct-item.signed{border-color:#22c55e73;background:color-mix(in srgb,#22C55E 6%,var(--panel))}.ct-item.void{opacity:.55}.ct-l{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.ct-l b{font-weight:600;font-size:14px}.ct-l small{font-size:12px;color:var(--muted)}.ct-st{align-self:flex-start;font-size:12px;font-weight:600;border-radius:99px;padding:3px 9px;background:var(--soft);color:var(--muted2);margin-top:3px}.ct-st.seen{background:color-mix(in srgb,var(--b-sky) 55%,transparent);color:var(--b-struct)}.ct-st.signed{background:#22c55e24;color:#15803d}.ct-a{display:flex;gap:4px}.btn.sm{padding:5px 9px;font-size:13px;border-radius:8px}.ct-views{flex:1 1 100%;display:flex;flex-direction:column;gap:3px;font-size:12px;color:var(--muted2);border-top:1px dashed var(--line);padding-top:8px}.d-pill.ct{font-weight:600}.d-pill.ct.signed{background:#22c55e24;color:#15803d}.d-pill.ct.sent{background:color-mix(in srgb,var(--b-sky) 55%,transparent);color:var(--b-struct)}.ct-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:4px}.ct-ed{display:grid;grid-template-columns:220px minmax(0,1fr);gap:16px;align-items:start}.ct-tl{display:flex;flex-direction:column;gap:4px;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:8px}.ct-tl button{display:flex;align-items:center;gap:8px;border:0;background:transparent;text-align:left;padding:9px 10px;border-radius:6px;font:inherit;font-size:14px;color:var(--text);cursor:pointer}.ct-tl button:hover{background:var(--soft)}.ct-tl button.on{background:var(--b-struct);color:#fff}.ct-tl button.on .sico{color:var(--b-sky)}.ct-tl button span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ct-tl .add{color:var(--muted2);border:1px dashed var(--line2)!important;justify-content:center}.ct-main{display:flex;flex-direction:column;gap:12px;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:16px}.ct-main textarea{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;line-height:1.6;min-height:420px}.ct-vars{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.chipb{border:1px solid var(--line2);background:var(--soft);color:var(--text2);border-radius:99px;padding:4px 10px;font:inherit;font-size:12px;cursor:pointer}.chipb:hover{background:var(--b-struct);color:#fff;border-color:var(--b-struct)}.ct-dz{display:flex;flex-direction:column;gap:14px}.ct-heads{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}.ct-head{flex-direction:column;gap:6px;border:1.5px solid var(--line);border-radius:10px;padding:10px;cursor:pointer;color:var(--text);font-size:14px}.ct-head.on{border-color:var(--b-struct);box-shadow:0 0 0 3px color-mix(in srgb,var(--b-sky) 60%,transparent)}.ct-head input{display:none}.ct-head b{font-weight:600}.ct-head small{font-weight:400;color:var(--muted);font-size:12px}.ct-hp{display:flex;flex-direction:column;gap:5px;height:84px;border-radius:6px;background:#f3f6f8;overflow:hidden;padding:0 0 8px}.ct-hp i{height:34px;display:block}.ct-hp em{height:6px;margin:0 12px;border-radius:3px;background:#dce5ea}.ct-hp em:last-child{width:60%}.ct-hp.navy i{background:var(--b-struct);clip-path:polygon(0 0,100% 0,100% calc(100% - 9px),calc(100% - 9px) 100%,0 100%)}.ct-hp.light i{background:var(--b-sky)}.ct-hp.minimal i{background:#fff;border-bottom:1px solid #DCE5EA}@media (max-width:900px){.ct-ed{grid-template-columns:1fr}}.ctc{font-size:12px;line-height:1;border-radius:99px;padding:3px 6px;background:var(--soft);display:inline-flex;align-items:center}.ctc.opened{background:color-mix(in srgb,var(--b-sky) 60%,transparent)}.ctc.signed{background:#22c55e24}.ctc.paid{background:#22c55e47}.ctc.late{background:color-mix(in srgb,var(--b-accent) 22%,transparent);box-shadow:0 0 0 1px var(--b-accent) inset}.d-pill.ct.opened,.d-pill.ct.unopened{background:color-mix(in srgb,var(--b-sky) 55%,transparent);color:var(--b-struct)}.d-pill.ct.paid{background:#22c55e38;color:#15803d}.d-pill.ct.late{background:color-mix(in srgb,var(--b-accent) 18%,transparent);color:#9a3412;box-shadow:0 0 0 1px var(--b-accent) inset}.ct-steps{display:flex;gap:0;margin:8px 0 4px;flex-wrap:wrap}.ct-steps span{position:relative;display:flex;align-items:center;gap:5px;font-size:12px;color:var(--muted);padding-right:14px}.ct-steps span:after{content:"";position:absolute;right:3px;top:50%;width:8px;height:1px;background:var(--line2)}.ct-steps span:last-child:after{display:none}.ct-steps i{width:9px;height:9px;border-radius:50%;border:1.5px solid var(--line2);background:var(--panel)}.ct-steps span.on{color:var(--text);font-weight:600}.ct-steps span.on i{background:var(--b-struct);border-color:var(--b-struct)}.ct-rem{color:#9a3412!important}.ct-remind{display:flex;flex-direction:column;gap:10px;border-top:1px dashed var(--line);padding-top:14px}.call-audio{display:flex;flex-direction:column;gap:6px;margin:8px 0}.call-audio>div{display:flex;align-items:center;gap:8px}.call-audio audio{flex:1;height:36px;min-width:0}.call-audio a{text-decoration:none;font-size:16px;color:var(--muted2);padding:4px 8px;border:1px solid var(--line);border-radius:8px}.ag-nav{display:flex;gap:4px;align-items:center}.ag-body{flex:1;min-height:0;overflow:auto;padding:0 24px 24px}.ag-wrap{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px;align-items:start}.ag-cal{background:var(--panel);border:1px solid var(--line);border-radius:10px;overflow:hidden}.ag-head,.ag-allday{display:grid;grid-template-columns:56px repeat(7,minmax(0,1fr));border-bottom:1px solid var(--line)}.ag-head>div{padding:10px 8px;text-align:center;display:flex;flex-direction:column;gap:2px}.ag-head small{font-size:12px;text-transform:none;letter-spacing:0;color:var(--muted)}.ag-head b{font-size:20px;font-weight:500}.ag-head .today b{background:var(--b-struct);color:#fff;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;margin:0 auto}.ag-allday>span{font-size:11px;color:var(--muted);padding:6px;align-self:center}.ag-allday>div{padding:3px;display:flex;flex-direction:column;gap:2px;min-height:6px;border-left:1px solid var(--line)}.ag-ad{border:0;background:var(--b-sky);color:var(--b-struct);border-radius:6px;font:500 11px var(--font);padding:2px 6px;text-align:left;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ag-grid{position:relative;display:grid;grid-template-columns:56px repeat(7,minmax(0,1fr))}.ag-hours{position:relative}.ag-hours span{position:absolute;right:8px;font-size:11px;color:var(--muted);transform:translateY(-6px)}.ag-day{position:relative;border-left:1px solid var(--line)}.ag-day.today{background:color-mix(in srgb,var(--b-sky) 14%,transparent)}.ag-day>i{position:absolute;left:0;right:0;border-top:1px solid var(--line);opacity:.6}.ag-ev{position:absolute;left:3px;right:3px;border:0;text-align:left;cursor:pointer;border-radius:8px;padding:4px 6px;background:var(--soft2);color:var(--text);font:inherit;overflow:hidden;display:flex;flex-direction:column;gap:1px;border-left:3px solid var(--muted)}.ag-ev b{font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ag-ev small{font-size:11px;color:var(--muted2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ag-ev.lead{background:var(--b-struct);color:#fff;border-left-color:var(--b-accent)}.ag-ev.lead small{color:var(--b-sky)}.ag-ev.sel{box-shadow:0 0 0 2px var(--b-accent)}.ag-ev.past{opacity:.55}.ag-now{position:absolute;left:0;right:0;border-top:2px solid var(--b-accent);z-index:2}.ag-now:before{content:"";position:absolute;left:-4px;top:-5px;width:8px;height:8px;border-radius:50%;background:var(--b-accent)}.ag-side{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:14px;position:sticky;top:0;display:flex;flex-direction:column;gap:6px}.ag-up{display:flex;gap:10px;align-items:center;border:0;background:transparent;text-align:left;padding:8px;border-radius:10px;cursor:pointer;font:inherit;color:var(--text)}.ag-up:hover{background:var(--soft)}.ag-when{display:flex;flex-direction:column;align-items:center;min-width:54px;font-size:12px;color:var(--muted2)}.ag-when b{font-size:12px;color:var(--text);text-transform:capitalize}.ag-what{display:flex;flex-direction:column;min-width:0}.ag-what b{font-weight:600;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ag-what small{font-size:12px;color:var(--muted)}.ag-det{display:flex;flex-direction:column;gap:8px;position:relative}.ag-x{position:absolute;right:-4px;top:-4px}.ag-t{font-size:18px;font-weight:600;padding-right:30px;line-height:1.3}.ag-acts{display:flex;gap:8px;flex-wrap:wrap}.ag-lead{display:flex;gap:10px;align-items:center;border:1px solid var(--line);background:var(--bg);border-radius:10px;padding:8px 10px;cursor:pointer;text-align:left;font:inherit;color:var(--text)}.ag-lead span{display:flex;flex-direction:column}.ag-lead small{color:var(--muted);font-size:12px}.ag-att{display:flex;flex-direction:column;gap:6px}.ag-att>div{display:flex;gap:8px;align-items:center}.ag-att span:last-child{display:flex;flex-direction:column;min-width:0}.ag-att b{font-weight:500;font-size:13px}.ag-att small{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis}.ag-rs{width:8px;height:8px;border-radius:50%;background:var(--line2);flex:none}.ag-rs.accepted{background:#22c55e}.ag-rs.declined{background:var(--danger)}.ag-rs.tentative{background:#f5a524}.ag-desc{font-size:13px;line-height:1.5;color:var(--muted2);max-height:220px;overflow:auto;background:var(--bg);border-radius:10px;padding:10px}.ag-empty{max-width:440px;margin:60px auto;text-align:center;display:flex;flex-direction:column;gap:10px;align-items:center}.ag-empty h2{margin:6px 0 0;font-weight:500}@media (max-width:1100px){.ag-wrap{grid-template-columns:1fr}.ag-side{position:static}}.nav-label{font-size:12px;letter-spacing:0;text-transform:none;font-weight:600;padding:14px 10px 4px;color:color-mix(in srgb,var(--b-sky) 55%,var(--b-struct))}.side .nav-hoy{margin-top:2px;background:#ffffff14;color:#fff;font-weight:600}.side .nav-hoy.on{background:var(--b-sky);color:var(--b-struct)}.side .nav em+em{margin-left:6px}.shell.mini .nav-label{font-size:0;padding:0;height:1px;width:24px;background:#ffffff24;margin:8px 0}@media (max-width:1100px){.nav-label{font-size:0;padding:0;height:1px;width:24px;background:#ffffff24;margin:8px 0}}@media (max-width:760px){.nav-label,.side .nav[data-nav=plantillas],.side .nav[data-nav=prevision],.side .nav[data-nav=embudo],.side .nav[data-nav=captacion],.side .nav[data-nav=equipo],.side .nav[data-nav=calendario]{display:none}}.ag-view{margin-right:6px}.ag-view .seg-b{text-decoration:none;display:inline-flex;align-items:center}#sec-embudo.only-fore .fu-kpis,#sec-embudo.only-fore .fu-grid,#sec-embudo.only-fun .fu-hero{display:none}.ag-tk{display:block;width:100%;text-align:left;font:inherit;font-size:12px;border:1px dashed var(--line);background:var(--panel);color:var(--text);border-radius:6px;padding:2px 6px;margin-top:3px;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ag-tk.late{border-color:#f4b8a8;color:#b42318}#sec-hoy,#sec-llamadas,#sec-contratos,#sec-captacion,#sec-equipo,#sec-agendas{overflow-y:auto}.hoy{display:flex;flex-direction:column;gap:16px;min-height:0}.hoy-h{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}.hoy-h h1{margin:2px 0 0;font-size:32px;font-weight:400;letter-spacing:-.8px}.hoy-date{font-size:13px;letter-spacing:0;text-transform:none;color:var(--muted)}.hoy-kpis,.v-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.v-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.hoy-k,.v-k{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:13px 15px;display:flex;flex-direction:column;gap:3px;text-decoration:none;color:var(--text);min-width:0}a.hoy-k:hover{border-color:var(--b-sky)}.hoy-k span,.v-k span{font-size:13px;color:var(--muted)}.hoy-k b,.v-k b{font-size:28px;font-weight:500;line-height:1.15}.v-k b.v-kt{font-size:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hoy-k small,.v-k small{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hoy-k.dark{background:var(--b-struct);border-color:var(--b-struct);color:#fff}.hoy-k.dark span,.hoy-k.dark small{color:var(--b-sky)}.hoy-grid{display:grid;grid-template-columns:1fr 1.35fr 1fr;gap:16px;align-items:start}.hoy-col{display:flex;flex-direction:column;gap:16px;min-width:0}.hoy-c{padding:16px;display:flex;flex-direction:column;gap:8px;min-width:0}.hoy-ch{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:2px}.hoy-ch b{font-size:16px;font-weight:600}.hoy-ev{display:grid;grid-template-columns:46px 1fr auto;gap:8px;align-items:center}.hoy-hr{font-size:13px;font-weight:600;color:var(--muted)}.hoy-evb{font:inherit;text-align:left;border:0;cursor:pointer;border-radius:8px;padding:9px 11px;background:var(--b-struct);color:#fff;display:flex;flex-direction:column;gap:1px;min-width:0}.hoy-evb small{color:var(--b-sky);font-size:12px}.hoy-evb b{font-weight:600;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hoy-ev.past .hoy-evb{background:var(--soft);color:var(--muted)}.hoy-ev.past .hoy-evb small{color:var(--muted)}.hoy-ev.next .hoy-evb{box-shadow:0 0 0 2px var(--b-accent)}.hoy-who{display:flex;flex-direction:column;gap:6px}.hoy-w{font:inherit;color:var(--text);display:flex;align-items:center;gap:11px;padding:9px 10px;border-radius:10px;border:0;background:var(--soft);cursor:pointer;text-align:left;min-width:0}.hoy-w:hover{background:var(--soft2)}.hoy-wm{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.hoy-wn{display:flex;align-items:center;gap:8px;min-width:0}.hoy-wn b{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hoy-wm small{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hoy-wa{font-size:12px;color:var(--muted);flex:none}.hoy-tag{font-size:11px;font-weight:700;border-radius:99px;padding:1px 7px;white-space:nowrap;flex:none;background:var(--soft2);color:var(--text)}.hoy-tag.hot,.hoy-tag.late{background:#fde7dd;color:#9a3412}.hoy-tag.sky{background:var(--b-sky);color:var(--b-struct)}.hoy-tag.warn{background:#fff1d6;color:#7a5300}.hoy-money{background:var(--b-struct);color:#fff;border-radius:10px;padding:16px;display:flex;flex-direction:column;gap:9px;clip-path:polygon(0 0,100% 0,100% calc(100% - 20px),calc(100% - 20px) 100%,0 100%)}.hoy-money>b{font-size:16px;font-weight:600}.hoy-money div{display:flex;justify-content:space-between;gap:8px;font-size:14px}.hoy-money div span{color:var(--b-sky)}#hoyTasks .tk{padding:8px 4px}@media (max-width:1280px){.hoy-grid{grid-template-columns:1fr 1fr}.hoy-col{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}}@media (max-width:900px){.hoy-kpis,.v-kpis{grid-template-columns:repeat(2,1fr)}.hoy-grid,.hoy-col{grid-template-columns:1fr}}.cl-body,.ctk-body,.cp-body,.eq-body{display:flex;flex-direction:column;gap:14px;min-height:0}.cl-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:16px;align-items:start}.cl-list{padding:6px 0;overflow:hidden}.cl-row{display:grid;grid-template-columns:1.6fr 1fr 60px 1fr;gap:10px;align-items:center;padding:10px 16px;border:0;border-top:1px solid var(--line);background:transparent;width:100%;font:inherit;color:var(--text);text-align:left;cursor:pointer}.cl-row:hover{background:var(--soft)}.cl-row.on{background:var(--soft2)}.cl-hd{border-top:0;cursor:default;font-size:12px;letter-spacing:0;text-transform:none;color:var(--muted)}.cl-hd:hover{background:transparent}.cl-who{display:flex;flex-direction:column;min-width:0}.cl-who b{font-weight:600}.cl-who small{font-size:12px;color:var(--muted)}.cl-score{display:inline-block;min-width:34px;text-align:center;padding:3px 0;border-radius:8px;background:var(--soft2);font-weight:600}.cl-score.good{background:#ddf3e8;color:#145c3a}.cl-score.bad{background:#fde7dd;color:#9a3412}.cl-det{display:flex;flex-direction:column;gap:12px;min-width:0;position:sticky;top:0}.cl-dh{display:flex;align-items:center;justify-content:space-between;gap:8px}.lead-link{display:flex;align-items:center;gap:10px;border:0;background:transparent;font:inherit;color:var(--text);cursor:pointer;font-size:16px}.cl-det .call-card{margin:0}.cl-objs{padding:14px 16px;display:flex;flex-direction:column;gap:8px}.cl-objs div{display:grid;grid-template-columns:170px 1fr 28px;gap:8px;align-items:center;font-size:14px}.cl-objs i{display:block;height:8px;border-radius:4px;background:var(--b-accent)}.cl-objs div b{text-align:right}.sel-sm{width:auto;padding:7px 10px;border-radius:6px}@media (max-width:1100px){.cl-grid{grid-template-columns:1fr}.cl-det{position:static}}.ctk-alert{background:#fde7dd;color:#9a3412;border-radius:10px;padding:10px 14px;font-size:14px}.ctk-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:start}.ctk-col{display:flex;flex-direction:column;gap:9px;min-width:0}.ctk-col header{display:flex;justify-content:space-between;align-items:flex-end;gap:8px;padding:0 4px 9px;border-bottom:3px solid var(--b-sky)}.ctk-col header span{display:flex;flex-direction:column}.ctk-col header small{font-size:12px;color:var(--muted)}.ctk-col header>b{font-size:16px;font-weight:500}.ctk-col.mid header{border-bottom-color:#7fa6b8}.ctk-col.dark header{border-bottom-color:var(--b-struct)}.ctk-col.ok header{border-bottom-color:#2e9e6a}.ctk-card{font:inherit;color:var(--text);text-align:left;cursor:pointer;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:7px}.ctk-card:hover{border-color:var(--b-sky)}.ctk-card.late{border-color:#f4b8a8}.ctk-t{display:flex;justify-content:space-between;gap:8px}.ctk-t b{font-weight:600}.ctk-card>small{font-size:13px;color:var(--muted)}.ctk-steps{display:flex;gap:4px}.ctk-steps i{flex:1;height:5px;border-radius:3px;background:var(--soft2)}.ctk-steps i.on{background:var(--b-struct)}.ctk-col.ok .ctk-steps i.on{background:#2e9e6a}.ctk-f{display:flex;justify-content:space-between;align-items:center;gap:8px}.ctk-f small{font-size:12px;color:var(--muted)}.ctk-f small.late{color:#b42318;font-weight:600}.ctk-f em{font-style:normal;font-size:12px;font-weight:600;padding:3px 9px;border-radius:8px;background:var(--soft);white-space:nowrap}.ctk-foot{margin:0}@media (max-width:1100px){.ctk-board{grid-template-columns:repeat(2,minmax(0,1fr))}}.cp-chart{padding:14px 16px}.cp-bars{display:flex;align-items:flex-end;gap:3px;height:90px}.cp-bars span{flex:1;height:100%;display:flex;align-items:flex-end}.cp-bars i{display:block;width:100%;background:var(--b-struct);border-radius:3px 3px 0 0}.cp-ax{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-top:4px}.cp-tab{padding:6px 0 4px;overflow-x:auto}.cp-tab table{width:100%;border-collapse:collapse;font-size:14px}.cp-tab th{font-size:12px;letter-spacing:0;text-transform:none;color:var(--muted);font-weight:600;text-align:right;padding:8px 12px;white-space:nowrap}.cp-tab td{text-align:right;padding:8px 12px;border-top:1px solid var(--line);white-space:nowrap}.cp-tab th:first-child,.cp-tab td:first-child{text-align:left;padding-left:16px}.cp-tab .cp-tot td{font-weight:600;background:var(--soft)}.cp-in{width:90px;text-align:right;padding:5px 8px;border-radius:8px}.cp-tab .hint{padding:8px 16px 6px;margin:0}.cp-pos{color:#15803d}.cp-neg{color:#b91c1c}.eq-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:14px}.eq-card{padding:16px;display:flex;flex-direction:column;gap:12px}.eq-h{display:flex;align-items:center;gap:11px}.eq-h>span:nth-child(2){flex:1;display:flex;flex-direction:column}.eq-h small{font-size:12px;color:var(--muted)}.eq-rev{display:flex;flex-direction:column;align-items:flex-end}.eq-rev b{font-size:18px;font-weight:600}.eq-bar{height:6px;border-radius:3px;background:var(--soft2);overflow:hidden}.eq-bar i{display:block;height:100%;background:var(--b-accent)}.eq-st{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.eq-st div{background:var(--soft);border-radius:10px;padding:8px 9px;display:flex;flex-direction:column}.eq-st b{font-size:16px;font-weight:600}.eq-st small{font-size:12px;color:var(--muted);line-height:1.25}.eq-st div.warn{background:#fde7dd}.eq-st div.warn b{color:#9a3412}.side .nav span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.ctk-t b+b{white-space:nowrap}#hoyTasks .tk-quote,#hoyTasks .tk-act{display:none}:root{--nav-ease:cubic-bezier(.22,.8,.24,1)}.side .nav-search{display:flex;align-items:center;gap:9px;height:36px;padding:0 10px;margin:0 0 8px;border-radius:10px;border:1px solid transparent;background:#ffffff0f;color:color-mix(in srgb,var(--b-sky) 60%,var(--b-struct));font:inherit;font-size:14px;cursor:pointer;transition:border-color .2s,color .2s;flex:none}.side .nav-search:hover{border-color:#ffffff29;color:var(--b-sky)}.nav-search svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;flex:none}.nav-search span{flex:1;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nav-search kbd{font:inherit;font-size:11px;padding:0 6px;border-radius:6px;border:1px solid rgba(255,255,255,.16)}.nav-track{position:relative;display:flex;flex-direction:column;gap:2px;min-height:0;overflow-y:auto;scrollbar-width:none}.nav-track::-webkit-scrollbar{display:none}.nav-pill{position:absolute;left:0;top:0;height:38px;border-radius:6px;background:var(--b-sky);pointer-events:none;z-index:0;transition:transform .45s var(--nav-ease),height .45s var(--nav-ease),width .45s var(--nav-ease),opacity .25s}.nav-track .nav,.nav-track .ngh{position:relative;z-index:1}.side .nav-track .nav.on{background:transparent;transition:color .3s}.side .nav-track .nav-hoy.on{background:transparent}.ngh{display:flex;align-items:center;gap:10px;width:100%;height:32px;margin-top:8px;padding:0 10px;border:0;border-radius:6px;background:transparent;cursor:pointer;font:inherit;font-size:12px;font-weight:600;letter-spacing:0;text-transform:none;color:color-mix(in srgb,var(--b-sky) 55%,var(--b-struct));transition:color .2s,background .2s}.ngh:hover{color:#fff;background:#ffffff0a}.ngh svg{fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}.ngh .gi{display:none;width:18px;height:18px}.ngh .chev{width:14px;height:14px;margin-left:auto;transition:transform .4s var(--nav-ease)}.ngrp.open .ngh .chev{transform:rotate(90deg)}.ngh em.nsum{font-style:normal;letter-spacing:0;color:var(--on-accent,var(--b-struct))!important;background:var(--b-accent)!important;border-radius:99px;padding:1px 7px;font-size:11px;font-weight:700;transition:opacity .25s,transform .35s var(--nav-ease)}.ngrp.open .ngh em.nsum{opacity:0;transform:scale(.6)}.ngb{display:grid;grid-template-rows:0fr;transition:grid-template-rows .45s var(--nav-ease)}.ngrp.open .ngb{grid-template-rows:1fr}.ngi{overflow:hidden;min-height:0}.nbranch{position:relative;display:flex;flex-direction:column;gap:2px;margin-left:19px;padding:2px 0 4px 13px}.nbranch:before{content:"";position:absolute;left:0;top:0;width:1.5px;height:calc(100% - 22px);background:#c1d9e42e;transform-origin:top;transform:scaleY(0);transition:transform .5s var(--nav-ease) .05s}.ngrp.open .nbranch:before{transform:scaleY(1)}.nbranch .nav{opacity:0;transform:translate(-6px);transition:opacity .3s,transform .4s var(--nav-ease),color .3s}.ngrp.open .nbranch .nav{opacity:1;transform:none}.ngrp.open .nbranch .nav:nth-child(2){transition-delay:.04s}.ngrp.open .nbranch .nav:nth-child(3){transition-delay:.08s}.ngrp.open .nbranch .nav:nth-child(4){transition-delay:.12s}.nbranch .nav:before{content:"";position:absolute;left:-13px;top:50%;width:11px;height:14px;margin-top:-14px;border-left:1.5px solid rgba(193,217,228,.18);border-bottom:1.5px solid rgba(193,217,228,.18);border-bottom-left-radius:9px;pointer-events:none}.nbranch .nav.on:after{content:"";position:absolute;left:-15px;top:50%;width:5px;height:5px;margin-top:-2.5px;border-radius:50%;background:var(--b-accent)}.side .nav-hoy em.b{animation:navPing 2.6s infinite}@keyframes navPing{0%{box-shadow:0 0 #fe775680}70%{box-shadow:0 0 0 7px #fe775600}to{box-shadow:0 0 #fe775600}}.nav-label{display:none!important}.shell.mini .ngh{justify-content:center;padding:0;height:38px;margin-top:4px;color:color-mix(in srgb,var(--b-sky) 80%,var(--b-struct))}.shell.mini .ngh span,.shell.mini .ngh .chev{display:none}.shell.mini .ngh .gi{display:block}.shell.mini .ngh em.nsum{position:absolute;top:-3px;right:-4px;font-size:11px;padding:0 5px;line-height:16px;opacity:1;transform:none}.shell.mini .ngh.on{color:var(--b-struct)}.shell.mini .ngb{display:none}.shell.mini .nav-search{justify-content:center;padding:0;width:44px}.shell.mini .nav-search span,.shell.mini .nav-search kbd{display:none}@media (min-width:761px) and (max-width:1100px){.ngh{justify-content:center;padding:0;height:38px;margin-top:4px;color:color-mix(in srgb,var(--b-sky) 80%,var(--b-struct))}.ngh span,.ngh .chev{display:none}.ngh .gi{display:block}.ngh em.nsum{position:absolute;top:-3px;right:-4px;font-size:11px;padding:0 5px;line-height:16px;opacity:1!important;transform:none!important}.ngh.on{color:var(--b-struct)}.ngb{display:none}.nav-search{justify-content:center;padding:0!important;width:44px}.nav-search span,.nav-search kbd{display:none}}.nav-fly{position:fixed;z-index:60;min-width:210px;background:var(--b-struct);border:1px solid rgba(255,255,255,.12);border-radius:10px;padding:8px;box-shadow:0 18px 40px -12px #00000073;display:flex;flex-direction:column;gap:2px;opacity:0;transform:translate(-6px) scale(.98);transform-origin:left top;pointer-events:none;transition:opacity .18s,transform .3s var(--nav-ease)}.nav-fly.show{opacity:1;transform:none;pointer-events:auto}.nav-fly>b{font-size:12px;letter-spacing:0;text-transform:none;color:color-mix(in srgb,var(--b-sky) 55%,var(--b-struct));padding:4px 10px 6px;font-weight:600}.nav-fly .nav{display:flex!important;justify-content:flex-start!important;padding:8px 10px!important;color:color-mix(in srgb,var(--b-sky) 80%,var(--b-struct))}.nav-fly .nav span,.nav-fly .nav em{display:inline!important}.nav-fly .nav em{margin-left:auto;position:static!important}.nav-fly .nav:hover{background:#ffffff12;color:#fff}.nav-fly .nav.on{background:var(--b-sky);color:var(--b-struct)}.nav-fly .nav svg{width:18px;height:18px}@media (max-width:760px){.nav-search,.nav-pill,.ngh,.nav-fly{display:none!important}.nav-track{flex-direction:row;overflow:visible;flex:1;justify-content:space-around}.ngrp,.ngb,.ngi,.nbranch,.shell.mini .ngb{display:contents!important}.nbranch .nav{opacity:1!important;transform:none!important}.nbranch .nav:before,.nbranch .nav.on:after{display:none}.side .nav-track .nav.on{background:var(--b-sky)}}.cmdk{position:fixed;inset:0;z-index:80;background:#0418226b;display:flex;justify-content:center;align-items:flex-start;padding:12vh 16px 16px;animation:cmdkIn .18s ease-out}.cmdk.hidden{display:none}@keyframes cmdkIn{0%{opacity:0}to{opacity:1}}.cmdk-box{width:min(600px,100%);background:var(--panel);border:1px solid var(--line);border-radius:10px;box-shadow:0 30px 70px -24px #00000080;overflow:hidden;display:flex;flex-direction:column;animation:cmdkBox .28s var(--nav-ease)}@keyframes cmdkBox{0%{transform:translateY(-8px) scale(.98)}to{transform:none}}.cmdk-in{display:flex;align-items:center;gap:10px;padding:0 16px;border-bottom:1px solid var(--line)}.cmdk-in svg{width:18px;height:18px;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round;flex:none}.cmdk-in input{flex:1;border:0!important;box-shadow:none!important;background:transparent;font:inherit;font-size:16px;padding:16px 0;outline:none;color:var(--text)}.cmdk-in kbd{font:inherit;font-size:11px;color:var(--muted);border:1px solid var(--line);border-radius:6px;padding:1px 6px}.cmdk-res{max-height:min(420px,55vh);overflow-y:auto;padding:6px}.cmdk-g{font-size:12px;letter-spacing:0;text-transform:none;color:var(--muted);font-weight:600;padding:10px 10px 4px}.cmdk-r{display:flex;align-items:center;gap:11px;width:100%;border:0;background:transparent;color:var(--text);font:inherit;font-size:14px;padding:8px 10px;border-radius:10px;cursor:pointer;text-align:left}.cmdk-r svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none;color:var(--muted)}.cmdk-r span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cmdk-r small{color:var(--muted);font-size:12px;flex:none}.cmdk-r .avatar{width:24px;height:24px;font-size:11px}.cmdk-r.sel{background:var(--soft2)}.cmdk-r.ask .cmdk-spark{font-style:normal;width:24px;height:24px;border-radius:6px;display:grid;place-items:center;background:var(--b-struct);color:var(--b-accent);flex:none}.cmdk-r.ask.sel{background:color-mix(in srgb,var(--b-accent) 14%,var(--panel))}.cmdk-foot{display:flex;gap:16px;flex-wrap:wrap;padding:9px 16px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}@media (min-width:761px){.asst-fab{display:none}#asst:not(.on){pointer-events:none}}.nav-srow{display:flex;gap:6px;align-items:center;margin:0 0 8px}.nav-srow .nav-search{flex:1;min-width:0;margin:0}.side .nav-all{width:36px;height:36px;flex:none;border-radius:10px;border:1px solid transparent;background:#ffffff0f;color:color-mix(in srgb,var(--b-sky) 60%,var(--b-struct));cursor:pointer;display:grid;place-items:center;transition:border-color .2s,color .2s}.side .nav-all:hover{border-color:#ffffff29;color:var(--b-sky)}.nav-all svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .4s var(--nav-ease)}.nav-all.on svg{transform:rotate(180deg) scaleY(.6)}.shell.mini .nav-all{display:none}.shell.mini .nav-srow{justify-content:center}@media (min-width:761px) and (max-width:1100px){.nav-all{display:none!important}.nav-srow{justify-content:center}.nav-srow .nav-search{flex:none}}@media (max-width:760px){.nav-srow{display:none}}.nbranch .nav{padding-top:7px;padding-bottom:7px}.ngh{margin-top:4px}.ct-move{display:flex;flex-direction:column;gap:10px;padding:14px;border:1px solid var(--line);border-radius:10px;background:var(--soft)}.ct-mrow{display:flex;flex-direction:column;gap:8px;padding-top:8px;border-top:1px solid var(--line)}.ct-mh{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.cl-search{width:260px}.cl-list2{padding:6px;display:flex;flex-direction:column;gap:2px;overflow:hidden}.cl-day{font-size:12px;letter-spacing:0;text-transform:none;color:var(--muted);font-weight:600;padding:12px 10px 4px}.cl-day:first-child{padding-top:6px}.cl-it{display:grid;grid-template-columns:46px minmax(0,1fr) 40px auto;gap:10px;align-items:center;width:100%;padding:9px 10px;border:0;border-radius:10px;background:transparent;font:inherit;color:var(--text);text-align:left;cursor:pointer}.cl-it:hover{background:var(--soft)}.cl-it.on{background:var(--soft2)}.cl-time{font-size:13px;color:var(--muted)}.cl-it .cl-who small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cl-na{font-size:12px}.cl-lg{border-radius:10px}.cl-lh{display:flex;align-items:center;gap:11px;width:100%;padding:10px;border:0;border-radius:10px;background:transparent;font:inherit;color:var(--text);text-align:left;cursor:pointer}.cl-lh:hover{background:var(--soft)}.cl-lh .cl-who{flex:1}.cl-spark{display:flex;align-items:flex-end;gap:3px;height:24px}.cl-spark i{display:block;width:6px;border-radius:2px;background:var(--b-sky)}.cl-spark i.good{background:#2e9e6a}.cl-spark i.bad{background:var(--b-accent)}.cl-chev{width:14px;height:14px;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round;transition:transform .35s var(--nav-ease)}.cl-lg.open .cl-chev{transform:rotate(90deg)}.cl-lb{display:grid;grid-template-rows:0fr;transition:grid-template-rows .4s var(--nav-ease)}.cl-lg.open .cl-lb{grid-template-rows:1fr}.cl-lbi{overflow:hidden;min-height:0;margin-left:26px;padding-left:12px;border-left:1.5px solid var(--line)}.cl-other{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.cl-other small{color:var(--muted)}.cl-acts{display:flex;gap:8px;flex-wrap:wrap}.cl-ask{padding:12px 14px;display:flex;flex-direction:column;gap:10px}.cl-qa{display:flex;flex-direction:column;gap:6px}.cl-qa:empty{display:none}.cl-q{align-self:flex-end;background:var(--b-struct);color:#fff;border-radius:10px 12px 2px;padding:7px 11px;font-size:14px;max-width:85%}.cl-a{align-self:flex-start;background:var(--soft);border-radius:10px 12px 12px 2px;padding:8px 11px;font-size:14px;line-height:1.5;max-width:95%}.cl-askf{display:flex;align-items:center;gap:8px}.cl-askf .cmdk-spark{font-style:normal;width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:var(--b-struct);color:var(--b-accent);flex:none}.cl-askf input{flex:1;min-width:0}.cl-sugg{display:flex;gap:6px;flex-wrap:wrap}.side .nav-rec{width:36px;height:36px;flex:none;border-radius:10px;border:1px solid transparent;background:#ffffff0f;cursor:pointer;display:grid;place-items:center;transition:border-color .2s,background .2s}.side .nav-rec:hover{border-color:#fe775680;background:#fe77561f}.nav-rec i{width:12px;height:12px;border-radius:50%;background:var(--b-accent);transition:border-radius .3s var(--nav-ease),transform .3s var(--nav-ease)}.nav-rec.on{background:#fe77562e!important}.nav-rec.on i{border-radius:3px;transform:scale(.9);animation:recBlink 1.2s infinite}@keyframes recBlink{50%{opacity:.35}}.shell.mini .nav-srow{flex-direction:column}@media (min-width:761px) and (max-width:1100px){.nav-srow{flex-direction:column}}.qrec{position:relative;margin:10px 0 2px;display:grid;grid-template-columns:auto 1fr auto;grid-template-areas:"dot time stop" "wave wave wave" "who who who";align-items:center;gap:6px 10px;padding:10px 10px 10px 14px;border-radius:10px;background:#fe77561f;border:1px solid rgba(254,119,86,.35);color:#fff;animation:qrecIn .4s var(--nav-ease);flex:none}.qrec.hidden{display:none}@keyframes qrecIn{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}.qrec-dot{grid-area:dot;width:10px;height:10px;border-radius:50%;background:var(--b-accent);animation:navPing 1.8s infinite}.qrec b{grid-area:time;font-weight:600;font-size:16px}.qrec canvas{grid-area:wave;width:100%;height:28px}.qrec-who{grid-area:who;font-size:13px;color:var(--b-sky);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.qrec .qrec-btns{grid-area:stop;display:flex;align-items:center;gap:5px}.shell.mini .qrec{grid-template-columns:1fr;grid-template-areas:"dot" "time" "stop";justify-items:center;padding:8px 4px}.shell.mini .qrec canvas,.shell.mini .qrec-who{display:none}.shell.mini .qrec b{font-size:12px}@media (min-width:761px) and (max-width:1100px){.qrec{grid-template-columns:1fr;grid-template-areas:"dot" "time" "stop";justify-items:center;padding:8px 4px}.qrec canvas,.qrec-who{display:none}.qrec b{font-size:12px}}@media (max-width:760px){.qrec{position:fixed;left:50%;transform:translate(-50%);bottom:calc(76px + env(safe-area-inset-bottom,0px));grid-template-columns:auto auto auto;grid-template-areas:"dot time stop";background:var(--b-struct);border-radius:99px;z-index:70;animation:none}.qrec canvas,.qrec-who{display:none}}.qrec-stop{width:34px;height:34px;border-radius:50%;border:0;background:var(--b-accent);cursor:pointer;display:grid;place-items:center}.qrec-stop i{width:11px;height:11px;border-radius:2px;background:var(--b-struct)}.qrec-stop:hover{filter:brightness(1.05)}.mk-btn.rec.on{background:#fe77562e;animation:recBlink 1.2s infinite}.cmdk-rec{width:24px;height:24px;border-radius:6px;flex:none;background:var(--b-struct);display:grid;place-items:center;font-style:normal}.cmdk-rec:after{content:"";width:9px;height:9px;border-radius:50%;background:var(--b-accent)}.dh-id{display:flex;align-items:flex-start;gap:12px}.dh-id .nm{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.dh-id .nm b{font-size:20px;font-weight:600;line-height:1.25;letter-spacing:-.01em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.dh-id .nm small{font-size:13px;color:var(--muted)}.dh-win{display:flex;gap:2px;flex:none}.dh-tools{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:6px}.dh-t{display:flex;flex-direction:column;align-items:center;gap:4px;padding:9px 4px 7px;border-radius:10px;border:1px solid var(--line);background:var(--soft);color:var(--text);font:inherit;font-size:13px;font-weight:500;cursor:pointer;transition:border-color .15s,transform .15s}.dh-t span{font-size:16px;line-height:1}.dh-t:hover{border-color:var(--b-sky);transform:translateY(-1px)}.dh-t.main{background:var(--b-struct);border-color:var(--b-struct);color:#fff}.dh-t.ai{background:var(--b-accent);border-color:var(--b-accent);color:var(--on-accent,var(--b-struct));font-weight:700}.dh-t.ai span{color:var(--b-struct)}.dh-t.ai.busy span{animation:spin 1.2s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.dh-t.rec{background:#fe775626;border-color:var(--b-accent);animation:recBlink 1.4s infinite}.dh-kv{display:grid;grid-template-columns:1.6fr 1fr 1fr;border:1px solid var(--line);border-radius:10px;background:var(--panel)}.dh-k{display:flex;flex-direction:column;gap:3px;padding:9px 13px;min-width:0;position:relative}.dh-k+.dh-k{border-left:1px solid var(--line)}.dh-k small{font-size:12px;letter-spacing:0;text-transform:none;color:var(--muted)}.dh-k b,.dh-kb{font-size:16px;font-weight:600;display:flex;align-items:center;gap:6px;white-space:nowrap}.dh-k em{font-style:normal;font-size:12px;color:var(--muted);font-weight:400}.dh-kb{border:0;background:transparent;padding:0;font-family:inherit;color:inherit;cursor:pointer;text-align:left}.dh-k.stage span{display:flex;align-items:center;gap:7px}.dh-k.stage i{width:9px;height:9px;border-radius:50%;flex:none}.dh-k.stage select{border:0!important;background:transparent!important;box-shadow:none!important;padding:0 18px 0 0!important;font:inherit;font-size:16px;font-weight:600;color:var(--text);min-width:0;width:100%;cursor:pointer;height:auto}.dh-k .d-tkpop{top:100%;left:0}.dh-moves{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.dh-moves>small{font-size:12px;letter-spacing:0;text-transform:none;color:var(--muted);margin-right:2px}.dh-mv{position:relative;display:inline-flex;align-items:center;height:30px;padding:0 16px 0 12px;border:0;font:inherit;font-size:13px;font-weight:600;cursor:pointer;color:var(--text);background:color-mix(in srgb,var(--c) 14%,var(--panel));clip-path:polygon(0 0,calc(100% - 10px) 0,100% 50%,calc(100% - 10px) 100%,0 100%);transition:background .2s}.dh-mv:hover{background:color-mix(in srgb,var(--c) 28%,var(--panel))}.dh-mv.here{background:var(--c);color:#fff;cursor:default}.dh-mvcfg{width:30px;height:30px;border-radius:8px;border:1px dashed var(--line2);background:transparent;color:var(--muted);cursor:pointer;font-size:14px}.dh-mvcfg:hover{border-style:solid;color:var(--text)}.dh-mvpop{right:auto;left:0;top:calc(100% + 6px);width:260px;display:flex;flex-direction:column;gap:6px;padding:12px}.dh-mvo{display:flex;align-items:center;gap:8px;font-size:14px;cursor:pointer}.dh-mvo input{width:auto;margin:0}.dh-mvo i{width:8px;height:8px;border-radius:50%}.dh-flags{display:flex;gap:6px;flex-wrap:wrap}.dh-ai{display:flex;flex-direction:column;gap:6px;padding:11px 13px;border-radius:10px;background:var(--soft)}.dh-ai.off{flex-direction:row;align-items:center;gap:10px;font-size:13px;color:var(--muted)}.dh-aih{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.dh-ai .sp{width:22px;height:22px;border-radius:6px;background:var(--b-struct);color:var(--b-accent);display:grid;place-items:center;font-size:12px;flex:none}.dh-aih b{font-size:13px;font-weight:600}.dh-in{font-size:12px;font-weight:700;padding:1px 8px;border-radius:99px;color:var(--c);background:color-mix(in srgb,var(--c) 14%,var(--panel))}.dh-ago{margin-left:auto;font-size:12px;color:var(--muted)}.dh-ai p{margin:0;font-size:14px;line-height:1.45}.dh-ai p.why{font-size:13px;color:var(--muted)}.dh-ai .link{align-self:flex-start;font-size:13px}#dHead{display:flex;flex-direction:column;gap:12px}.drawer-tabs .tab .tb{font-size:11px;font-weight:700;border-radius:99px;padding:0 6px;line-height:17px;margin-left:4px;background:var(--soft2);color:var(--muted)}.drawer-tabs .tab .tb:empty{display:none}.drawer-tabs .tab .tb.hot{background:var(--b-accent);color:var(--on-accent,var(--b-struct))}.drawer-tabs .tab .tb.late{background:#fde7dd;color:#9a3412}.drawer-tabs .tab .tb.sky{background:var(--b-sky);color:var(--b-struct)}.drawer-tabs .tab .tb.ok{background:#ddf3e8;color:#145c3a}.d-lineslot:empty{display:none}.d-line{width:auto;max-width:170px;height:30px;padding:0 24px 0 9px;border-radius:99px;font-size:12px;background:var(--soft)}.drawer-body[data-tab=act] #dAct{display:flex;flex-direction:column;gap:12px}.act-sub{display:none}#dAct[data-f=notes] #dNotes,#dAct[data-f=tasks] #dTasks,#dAct[data-f=calls] #dCalls{display:flex;flex-direction:column;gap:12px}#dAct:not([data-f=all]):not([data-f=sys]) .act-all{display:none}.act-f{display:flex;gap:6px;flex-wrap:wrap}.act-chip{font:inherit;font-size:13px;padding:4px 11px;border-radius:99px;border:1px solid var(--line);background:var(--panel);color:var(--text);cursor:pointer}.act-chip.on{background:var(--b-struct);border-color:var(--b-struct);color:#fff}.act-all{display:flex;flex-direction:column;gap:14px}.act-add{display:flex;flex-direction:column;gap:6px}.act-addb{display:flex;justify-content:flex-end;gap:6px}.act-gt{font-size:12px;letter-spacing:0;text-transform:none;color:var(--muted);font-weight:600;margin-bottom:4px}.act-pend{border:1px solid var(--line);border-radius:10px;padding:8px 10px}.act-line{position:relative;display:flex;flex-direction:column;gap:12px;padding-left:28px}.act-line:before{content:"";position:absolute;left:10px;top:6px;bottom:6px;width:1.5px;background:var(--line)}.act-it{position:relative;display:flex}.act-it>i{position:absolute;left:-28px;top:0;width:21px;height:21px;border-radius:50%;background:var(--soft2);display:grid;place-items:center;font-size:11px;font-style:normal}.act-it.call>i{background:var(--b-sky)}.act-it.done>i{background:#ddf3e8;color:#145c3a}.act-it.sys>i{width:9px;height:9px;left:-22px;top:5px;background:var(--line2)}.act-it>div{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.act-h{display:flex;gap:8px;align-items:baseline}.act-h b{font-size:14px;font-weight:600}.act-h small{margin-left:auto;font-size:12px;color:var(--muted);white-space:nowrap}.act-d{font-size:13px;color:var(--muted);line-height:1.45;white-space:pre-wrap;word-break:break-word}.act-it.sys .act-d{font-size:13px}.act-it .link{align-self:flex-start;font-size:13px}.dh-mvpop{left:auto!important;right:0!important;max-height:360px;overflow-y:auto}.dh-mvo{flex-direction:row!important;align-items:center!important;gap:8px!important;margin:0!important;font-weight:500}.dh-mvpop .btn{margin-top:4px;align-self:flex-end}.gc-test{padding:14px 16px;display:flex;flex-direction:column;gap:10px}.gc-th{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.gc-th .hint{flex:1}.gc-ck{display:flex;gap:10px;align-items:flex-start;padding:8px 0;border-top:1px solid var(--line)}.gc-ck i{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-weight:700;font-size:12px;flex:none}.gc-ck.ok i{background:#ddf3e8;color:#145c3a}.gc-ck.bad i{background:#fde7dd;color:#9a3412}.gc-ck span{display:flex;flex-direction:column;gap:2px}.gc-ck small{color:var(--muted);font-size:13px;word-break:break-all}.xrec{display:flex;flex-direction:column;gap:6px;margin:10px 0 2px;flex:none}.xrec.hidden{display:none}.xr{display:flex;flex-direction:column;gap:3px;width:100%;text-align:left;font:inherit;color:#fff;cursor:pointer;padding:10px 12px;border-radius:10px;border:1px solid rgba(193,217,228,.25);background:#ffffff0f}.xr.live{background:#fe77561f;border-color:#fe775659}.xr-h{display:flex;align-items:center;gap:8px}.xr-h i{width:9px;height:9px;border-radius:50%;background:var(--b-sky)}.xr.live .xr-h i{background:var(--b-accent);animation:navPing 1.8s infinite}.xr-h b{font-weight:600}.xr-h small{margin-left:auto;color:var(--b-sky);font-size:12px}.xr-l{font-size:13px;color:var(--b-sky);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.xr-l em{font-style:normal;color:var(--b-accent);font-weight:600}.shell.mini .xr{padding:8px 4px;align-items:center}.shell.mini .xr-h small,.shell.mini .xr-l{display:none}.xr-talk{display:flex;flex-direction:column;gap:4px;font-size:13px}.xr-talk div{height:8px;border-radius:4px;background:#7fd1a8;overflow:hidden}.xr-talk i{display:block;height:100%;background:var(--b-accent)}.xr-notes{display:flex;flex-direction:column;gap:6px;max-height:200px;overflow:auto}.xr-notes div{display:flex;gap:8px;font-size:14px}.xr-notes i{font-style:normal;color:var(--muted);flex:none}@media (max-width:760px){.xrec{display:none!important}}.call-talk{font-size:12px;font-weight:600;background:var(--soft);border-radius:99px;padding:3px 9px}.call-talk.hi{background:#fde7dd;color:#9a3412}#sec-llamar{overflow-y:auto}.dl-body{display:flex;flex-direction:column;gap:14px}.dl-h{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}.dl-h h1{margin:2px 0 0;font-size:28px;font-weight:400;letter-spacing:-.6px}.dl-cfg{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.dl-cfg label:not(.switch){max-width:170px}.dl-sum{display:flex;gap:8px;flex-wrap:wrap;align-items:center;font-size:13px;color:var(--muted)}.dl-b{font-size:12px;font-weight:600;padding:3px 10px;border-radius:99px;background:var(--soft2);color:var(--text)}.dl-b b{margin-left:4px}.dl-b.b1,.dl-n.b1{background:#fde7dd;color:#9a3412}.dl-b.b2,.dl-n.b2{background:var(--b-sky);color:var(--b-struct)}.dl-b.b3,.dl-n.b3{background:#fff1d6;color:#7a5300}.dl-grid{display:grid;grid-template-columns:330px minmax(0,1fr);gap:16px;align-items:start}.dl-list{padding:6px;display:flex;flex-direction:column;gap:2px;max-height:calc(100vh - 230px);overflow-y:auto}.dl-it{display:flex;align-items:center;gap:10px;width:100%;padding:8px;border:0;border-radius:10px;background:transparent;font:inherit;color:var(--text);text-align:left;cursor:pointer}.dl-it:hover{background:var(--soft)}.dl-it.on{background:var(--soft2)}.dl-it.done{opacity:.6}.dl-it .cl-who{flex:1;min-width:0}.dl-it .cl-who b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dl-n{width:20px;height:20px;border-radius:6px;display:grid;place-items:center;font-size:11px;font-weight:700;flex:none}.dl-main{display:flex;flex-direction:column;gap:12px;min-width:0}.dl-lead{padding:16px;display:flex;flex-direction:column;gap:14px}.dl-lh{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.dl-lh .cl-who{flex:1;min-width:200px}.dl-call{font-size:16px;padding:10px 20px}.dl-ctx{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.dl-ctx small,.dl-script>small,.dl-out>small{font-size:12px;letter-spacing:0;text-transform:none;color:var(--muted);font-weight:600}.dl-ctx p{margin:4px 0 0;font-size:14px;line-height:1.45}.dl-ctx input{margin-top:4px}.dl-script{padding:16px;display:flex;flex-direction:column;gap:8px;background:var(--b-struct);color:#fff;border:0}.dl-script>small{color:var(--b-sky)}.dl-open{margin:0 0 6px;font-size:16px;line-height:1.45}.dl-script ol{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px}.dl-script li label{display:flex!important;flex-direction:row!important;gap:8px;align-items:flex-start;font-size:14px;color:#fff;cursor:pointer}.dl-script li input{width:auto;margin-top:3px;accent-color:var(--b-accent)}.dl-out{padding:14px 16px;display:flex;flex-direction:column;gap:10px}.dl-outs{display:flex;gap:8px;flex-wrap:wrap}@media (max-width:1100px){.dl-grid{grid-template-columns:1fr}.dl-list{max-height:260px}}.xr-pg{display:block;height:4px;border-radius:2px;background:#ffffff26;overflow:hidden;margin-top:4px}.xr-pg i{display:block;height:100%;background:var(--b-accent);transition:width .8s var(--nav-ease)}.xr-pl{font-size:11px;color:var(--b-sky);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dl-live{padding:14px 16px;display:flex;flex-direction:column;gap:10px}.dl-live>small,.dl-lh2 small{font-size:12px;letter-spacing:0;text-transform:none;color:var(--muted);font-weight:600}.dl-lh2{display:flex;align-items:center;gap:12px}.dl-lh2 .switch{margin-left:auto}.dl-rec{color:#b42318;font-weight:600;font-size:13px}.dl-tip{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border-radius:10px;background:color-mix(in srgb,var(--b-accent) 12%,var(--panel));border:1px solid color-mix(in srgb,var(--b-accent) 40%,var(--panel))}.dl-tip small{font-size:12px;text-transform:none;letter-spacing:0;color:var(--muted)}.dl-tip b{font-size:16px;line-height:1.35}.dl-tip span{font-size:13px;color:var(--muted)}.dl-tip em{font-style:normal;color:#9a3412;font-weight:600;font-size:13px}.dl-tip .link{align-self:flex-start}.dl-lines{display:flex;flex-direction:column;gap:4px;font-size:14px;max-height:160px;overflow-y:auto}.dl-lines b{font-weight:600}.dl-lcol{display:flex;flex-direction:column;gap:8px;min-width:0}.dl-f{align-self:stretch;display:flex}.dl-f .seg-b{flex:1}.dl-back{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:var(--soft2);font-size:14px;flex:none;cursor:pointer}.dl-back:hover{background:var(--b-sky)}.dl-it .dl-rec{font-size:12px}.dl-grid{grid-template-columns:360px minmax(0,1fr)}.dl-it .avatar{display:none}.dl-f .seg-b{font-size:13px;white-space:nowrap;padding-left:6px;padding-right:6px}.dl-it .paystate{white-space:nowrap}.dl-o{font:inherit;font-size:14px;font-weight:500;padding:9px 14px;border-radius:10px;border:1.5px solid var(--line);background:var(--panel);color:var(--text);cursor:pointer;transition:all .15s}.dl-o:hover{border-color:var(--b-sky)}.dl-o.on{font-weight:700}.dl-o.ok.on{background:#ddf3e8;border-color:#2e9e6a;color:#145c3a}.dl-o.part.on{background:#fff1d6;border-color:#e0a23a;color:#7a5300}.dl-o.bad.on{background:#fde7dd;border-color:#e2735a;color:#9a3412}.dl-save{display:flex;gap:8px}.dl-save input{flex:1;min-width:0}.dl-save .btn:disabled{opacity:.45;cursor:not-allowed}.dl-wait{font-size:13px;font-weight:600;color:#7a5300;animation:recBlink 1.6s infinite}.dq-mac{display:flex;flex-direction:column;gap:6px;padding:12px;border-radius:10px;background:var(--soft);margin-top:6px}.dq-mac .btn{align-self:flex-start}.gc-cals{padding:14px 16px;display:flex;flex-direction:column;gap:8px}.gc-cal{display:flex!important;flex-direction:row!important;align-items:center;gap:10px;cursor:pointer}.gc-cal input{width:auto;margin:0}.gc-cal i{width:10px;height:10px;border-radius:50%;flex:none}.gc-cal span{display:flex;flex-direction:column}.gc-cal small{color:var(--muted);font-size:12px;word-break:break-all}.gc-flt{display:flex;gap:8px;flex-wrap:wrap;margin:-2px 0 6px 20px}.gc-flt select{width:auto;max-width:320px}.gc-flt input{flex:1;min-width:200px}.ag-cal .ag-head,.ag-cal .ag-allday,.ag-cal .ag-grid{grid-template-columns:56px repeat(var(--n,7),minmax(0,1fr))}.ag-allday>div{display:flex;flex-direction:column;gap:2px;padding:3px}.ag-ad.lead{background:var(--b-struct);color:#fff}.ag-conn{padding:10px 14px;border-radius:10px;background:var(--soft);font-size:14px;margin-bottom:10px}.ag-month{background:var(--panel);border:1px solid var(--line);border-radius:10px;overflow:hidden}.ag-mh{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-bottom:1px solid var(--line)}.ag-mh span{font-size:12px;letter-spacing:0;text-transform:none;color:var(--muted);padding:8px 10px}.ag-mg{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-auto-rows:minmax(104px,auto)}.ag-mc{border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:4px;display:flex;flex-direction:column;gap:2px;min-width:0}.ag-mc:nth-child(7n){border-right:0}.ag-mc.out{background:var(--soft)}.ag-mc.out .ag-md{color:var(--muted)}.ag-md{align-self:flex-start;border:0;background:transparent;font:inherit;font-size:13px;font-weight:600;color:var(--text);cursor:pointer;width:26px;height:26px;border-radius:50%}.ag-md:hover{background:var(--soft2)}.ag-mc.today .ag-md{background:var(--b-struct);color:#fff}.ag-more{border:0;background:transparent;font:inherit;font-size:12px;color:var(--muted);cursor:pointer;text-align:left;padding:0 4px}.ag-list{padding:6px;display:flex;flex-direction:column;gap:2px}.ag-li{display:flex;align-items:center;gap:12px;width:100%;padding:9px 10px;border:0;border-radius:10px;background:transparent;font:inherit;color:var(--text);text-align:left;cursor:pointer}.ag-li:hover{background:var(--soft)}.ag-li.on{background:var(--soft2)}.ag-li.past{opacity:.55}.ag-lt{width:72px;flex:none;font-size:13px;font-weight:600;color:var(--muted)}.ag-lw{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.ag-lw b{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ag-lw small{font-size:12px;color:var(--muted)}.ag-li.tk .ag-lw b{color:var(--text)}.ag-li .ag-lw b{font-size:14px!important}.ag-li .ag-lw small{font-size:13px!important}.ag-type{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:6px 0}.call-trcopy{margin-left:8px;padding:2px 8px;font-size:12px;vertical-align:middle}.col-dial{border:0;background:transparent;cursor:pointer;font-size:13px;padding:2px 4px;border-radius:6px;opacity:.45;margin-left:2px}.col-head:hover .col-dial{opacity:1}.col-dial:hover{background:var(--b-sky,#E6F0F5)}.dl-lists{display:flex;gap:8px;flex-wrap:wrap;align-items:stretch;margin:4px 0 10px}.dll{position:relative;display:flex;border:1px solid var(--line,#D5E2E9);border-radius:10px;background:var(--panel,#fff);overflow:hidden}.dll.on{border-color:var(--ink,var(--ink));box-shadow:0 0 0 1px var(--ink,var(--ink))}.dll.fin .dll-b small{color:#1e7a46}.dll-b{position:relative;border:0;background:transparent;text-align:left;padding:7px 12px 9px;cursor:pointer;display:flex;flex-direction:column;gap:1px;min-width:120px;color:inherit;font:inherit}.dll-b b{font-size:13px;font-weight:600;white-space:nowrap;max-width:220px;overflow:hidden;text-overflow:ellipsis}.dll-b small{font-size:12px;color:var(--muted)}.dll-b i{position:absolute;left:0;bottom:0;height:3px;background:var(--hot)}.dll-x{border:0;background:transparent;color:var(--muted);cursor:pointer;padding:0 8px;font-size:16px}.dll-x:hover{color:var(--danger,#c33)}.dll-tip{align-self:center}.dl-n.b0{background:var(--b-sky,#E6F0F5);color:var(--ink,var(--ink))}.dln-dup{display:flex;flex-direction:column;gap:6px;padding:12px 14px;border-radius:10px;background:#fff6e5;border:1px solid #F2D49B}.dln-dup.need{border-color:var(--danger,#c33);box-shadow:0 0 0 2px #cc333326}.dln-dup small{color:var(--muted);font-size:12px}.dln-o{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;font-weight:500;cursor:pointer}.dln-o input{width:auto!important;margin:0}.side .nav-bell{position:relative;width:36px;height:36px;flex:none;border-radius:10px;border:1px solid transparent;background:#ffffff0f;cursor:pointer;display:grid;place-items:center;color:var(--sky);transition:background .2s}.side .nav-bell:hover{background:#ffffff1f}.nav-bell svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.nav-bell.has svg{animation:bellRing 2.4s ease-in-out 1}@keyframes bellRing{0%,60%,to{transform:none}10%,30%{transform:rotate(14deg)}20%,40%{transform:rotate(-12deg)}}.bell-n{position:absolute;top:-5px;right:-5px;min-width:17px;height:17px;padding:0 4px;border-radius:99px;background:var(--b-accent,var(--hot));color:var(--on-accent,var(--ink));font:700 10.5px/17px inherit;font-style:normal;text-align:center}.bell-n.hidden{display:none}.notif-pop{position:fixed;left:236px;top:64px;width:380px;max-height:min(640px,calc(100vh - 90px));display:flex;flex-direction:column;background:var(--panel,#fff);border:1px solid var(--line,#D5E2E9);border-radius:10px;box-shadow:0 24px 60px -18px #083b5166;z-index:80;overflow:hidden;animation:qrecIn .25s}.notif-pop.hidden{display:none}.shell.mini~* .notif-pop,.shell.mini .notif-pop{left:84px}@media (max-width:760px){.notif-pop{left:8px;right:8px;width:auto;top:60px}}.np-h{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 6px}.np-h b{font-size:16px}.np-x{border:0;background:transparent;font-size:20px;color:var(--muted);cursor:pointer}.np-f{display:flex;gap:6px;padding:4px 16px 10px;flex-wrap:wrap}.np-f .chipb.on{background:var(--b-struct,var(--ink));color:#fff;border-color:var(--b-struct,var(--ink))}.np-l{overflow:auto;flex:1;border-top:1px solid var(--line,#EDF3F6)}.np-i{width:100%;display:flex;gap:10px;align-items:flex-start;text-align:left;padding:11px 16px;border:0;border-bottom:1px solid var(--line,#EDF3F6);background:transparent;cursor:pointer;color:inherit;font:inherit}.np-i:hover{background:var(--soft,#F3F7F9)}.np-i.new{background:#fff4f0}.np-i.new .np-t{color:var(--b-accent,var(--hot));font-weight:700}.np-ic{width:30px;height:30px;border-radius:6px;background:var(--soft,#F3F7F9);display:grid;place-items:center;flex:none;font-size:16px}.np-i.t-pago .np-ic,.np-i.t-firma .np-ic{background:#e3f6ea}.np-i.t-agenda .np-ic{background:#fde7dd}.np-i.t-cancel .np-ic{background:#fbe4e4}.np-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.np-tx b{font-size:14px;font-weight:600;line-height:1.3}.np-tx small{font-size:12px;color:var(--muted)}.np-t{font-size:12px;color:var(--muted);white-space:nowrap}.np-cfg{border-top:1px solid var(--line,#EDF3F6);padding:10px 16px}.np-cfg summary{cursor:pointer;font-size:13px;font-weight:600}.np-cfg>div{display:flex;flex-direction:column;gap:7px;margin-top:10px;font-size:13px}.agd-body{display:flex;flex-direction:column;gap:14px}.agd-chart,.agd-funnel,.agd-list{padding:16px 18px}.agd-ch-h{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:10px}.agd-lg{display:inline-block;width:9px;height:9px;border-radius:3px;background:#f1b3a3;vertical-align:middle}.agd-bars{display:flex;align-items:flex-end;gap:4px;height:150px;padding-top:16px}.agd-bar{flex:1;height:100%;display:flex;flex-direction:column-reverse;align-items:stretch;position:relative;min-width:0}.agd-bar i{display:block;background:var(--b-accent,var(--hot));border-radius:4px 4px 0 0;min-height:0}.agd-bar i.c{background:#f1b3a3;border-radius:0}.agd-bar small{position:absolute;bottom:-18px;left:0;right:0;text-align:center;font-size:11px;color:var(--muted)}.agd-n{position:absolute;top:-2px;left:0;right:0;text-align:center;font-size:11px;font-weight:700;color:var(--ink,var(--ink))}.agd-chart{padding-bottom:28px}.agd-fs{display:flex;align-items:center;gap:12px;margin-top:10px;flex-wrap:wrap}.agd-fs>div{flex:1;min-width:120px;display:flex;flex-direction:column;gap:2px;padding:12px 14px;border-radius:10px;background:var(--soft,#F3F7F9)}.agd-fs span{font-size:12px;color:var(--muted)}.agd-fs b{font-size:24px;font-weight:600}.agd-fs small{font-size:12px;color:#1e7a46;font-weight:600}.agd-fs em{font-style:normal;color:var(--muted)}.agd-lh{margin-bottom:10px}.agd-t{width:100%;border-collapse:collapse;font-size:14px}.agd-t th{text-align:left;font-size:12px;letter-spacing:0;text-transform:none;color:var(--muted);font-weight:500;padding:6px 8px;border-bottom:1px solid var(--line,#EDF3F6)}.agd-t td{padding:9px 8px;border-bottom:1px solid var(--line,#EDF3F6)}.agd-t tr[data-agl]{cursor:pointer}.agd-t tr[data-agl]:hover td{background:var(--soft,#F3F7F9)}.agd-t tr.canc td{color:var(--muted)}#sec-agendas .sec-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap}@media (max-width:760px){.agd-t th:nth-child(4),.agd-t td:nth-child(4){display:none}}#sec-agendas{overflow-y:auto}#sec-agendas>*,.agd-body>*{flex-shrink:0}.np-snd{display:flex;align-items:center;gap:6px;padding:9px 16px;border-top:1px solid var(--line,#EDF3F6);font-size:13px;flex-wrap:wrap}.np-snd span{flex:1;min-width:150px}.agd-body{flex:none}.qrec-b{width:28px;height:28px;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:#ffffff14;cursor:pointer;display:grid;place-items:center;color:#fff;padding:0}.qrec-b:hover{background:#ffffff2e}.qrec-b svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}#qrecPause svg path[d^="M7 5"]{fill:currentColor;stroke:none}.qrec-b.x:hover{background:#dc3c3c59;border-color:#dc3c3c99}.qrec.paused{background:#ffffff0f;border-color:#fff3}.qrec.paused .qrec-dot{animation:none;background:var(--sky)}.qrec.paused b{animation:recBlink 1.4s infinite}.xr-act{display:flex;gap:4px;margin-left:6px}.xr-b{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:11px;background:#ffffff1a;border:1px solid rgba(255,255,255,.22);color:#fff;cursor:pointer;line-height:1}.xr-b:hover{background:#fe775659}.xr-b.x:hover{background:#dc3c3c73}.xr.paused .xr-h i{animation:none;background:var(--sky)}.agd-follow{padding:16px 18px}.af-grid{display:grid;grid-template-columns:1fr 180px;gap:10px;align-items:start}.af-side{display:flex;flex-direction:column;gap:8px}@media (max-width:760px){.af-grid{grid-template-columns:1fr}}.ag-host{width:auto;max-width:220px;font-size:13px;padding:6px 10px;border-radius:10px}.ag-hostl{font-size:13px;color:var(--b-struct,var(--ink))}.agd-hosts{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.agd-hosts .chipb.on{background:var(--b-struct,var(--ink));color:#fff;border-color:var(--b-struct,var(--ink))}#sec-setter{overflow-y:auto}#sec-setter .sec-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap}.sia-body{display:flex;flex-direction:column;gap:14px;flex:none}.sia-n{font-style:normal;background:var(--b-accent);color:var(--on-accent,var(--b-struct));border-radius:99px;padding:0 6px;font-size:11px;font-weight:700;margin-left:4px}.sia-crear{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:14px;align-items:start}.sia-chat{display:flex;flex-direction:column;gap:10px;padding:14px;min-height:520px;position:sticky;top:0}.sia-msgs{flex:1;display:flex;flex-direction:column;gap:8px;overflow:auto;max-height:62vh;padding-right:4px}.sia-m{max-width:88%;padding:9px 12px;border-radius:10px;line-height:1.45;font-size:14px}.sia-m.me{align-self:flex-end;background:var(--b-struct);color:#fff;border-radius:10px 14px 3px}.sia-m.ai{align-self:flex-start;background:var(--soft);border-radius:10px 14px 14px 3px}.sia-m.wait{color:var(--muted);font-style:italic}.sia-hi{display:flex;flex-direction:column;gap:8px;padding:6px}.sia-hi b{font-size:16px}.sia-ex{text-align:left;white-space:normal;line-height:1.35;padding:8px 12px}.sia-f{display:flex;gap:8px;align-items:flex-end}.sia-f textarea{flex:1;resize:none}.sia-new{align-self:flex-start}.sia-empty{padding:18px;display:flex;flex-direction:column;gap:8px}.sia-tpl{display:flex;flex-direction:column;gap:2px;text-align:left;border:1px solid var(--line);border-radius:10px;padding:10px 12px;background:var(--panel);cursor:pointer;font:inherit;color:inherit}.sia-tpl:hover{border-color:var(--b-accent)}.sia-tpl small{color:var(--muted)}.sia-card{padding:16px 18px;display:flex;flex-direction:column;gap:12px}.sia-ch{display:flex;align-items:center;gap:10px}.sia-name{flex:1;font-size:18px;font-weight:600;border:1px solid transparent;background:transparent;padding:4px 6px;border-radius:8px}.sia-name:hover,.sia-name:focus{border-color:var(--line);background:var(--panel)}.sia-mode{display:grid;grid-template-columns:auto 1fr;gap:6px 12px;align-items:center}.sia-pr{grid-column:1/-1;height:6px;border-radius:99px;background:var(--soft);overflow:hidden}.sia-pr i{display:block;height:100%;background:var(--b-accent);border-radius:99px;transition:width .4s}.sia-stats{display:grid;grid-template-columns:repeat(6,1fr);gap:6px}.sia-stats div{background:var(--soft);border-radius:10px;padding:7px 9px;display:flex;flex-direction:column}.sia-stats small{font-size:11px;color:var(--muted)}.sia-stats b{font-size:18px}.sia-trig,.sia-vars{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border:1px dashed var(--line);border-radius:10px}.sia-trig small,.sia-vars small{font-size:12px;letter-spacing:0;text-transform:none;color:var(--muted)}.sia-tr{display:flex;gap:8px;flex-wrap:wrap}.sia-tr select,.sia-tr input{flex:1;min-width:160px}.sia-vars{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px}.sia-vars>small{grid-column:1/-1}.sia-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:0;position:relative}.sia-s{display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:flex-start;padding:10px 0;position:relative}.sia-s:not(:last-child):before{content:"";position:absolute;left:16px;top:42px;bottom:-8px;width:2px;background:var(--line)}.sia-si{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--soft);font-size:16px;position:relative;z-index:1}.sia-s.t-ai .sia-si{background:#eee9ff}.sia-s.t-msg .sia-si{background:#e3f2fb}.sia-s.t-if .sia-si{background:#fff1d6}.sia-s.t-action .sia-si{background:#e3f6ea}.sia-sb{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:14px;line-height:1.45}.sia-sb>small{font-size:12px;color:var(--muted);text-transform:none;letter-spacing:0}.sia-sb textarea{font-size:14px}.sia-sa{display:flex;gap:6px;opacity:.35;transition:opacity .2s}.sia-s:hover .sia-sa{opacity:1}.sia-ai{font-size:12px;color:#5b3fe0;font-weight:600}.sia-add{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.sia-ca{display:flex;gap:8px;flex-wrap:wrap;align-items:center;border-top:1px solid var(--line);padding-top:12px}.sia-ca .spacer{flex:1}.sia-fl{display:grid;grid-template-columns:280px minmax(0,1fr);gap:14px;align-items:start}.sia-list{display:flex;flex-direction:column;gap:6px}.sia-li{display:flex;flex-direction:column;gap:2px;text-align:left;border:1px solid var(--line);border-radius:10px;padding:10px 12px;background:var(--panel);cursor:pointer;font:inherit;color:inherit}.sia-li.on{border-color:var(--b-struct);box-shadow:0 0 0 1px var(--b-struct)}.sia-li small{color:var(--muted);font-size:12px}.sia-rv{color:#b4400f}.sia-li .dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--muted);margin-right:5px;vertical-align:middle}.sia-li .dot.active{background:#1e9e5a}.sia-li .dot.paused{background:#e0a43b}.sia-tpls{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.sia-tpls .section-title{width:100%}.sia-revs{display:grid;grid-template-columns:repeat(auto-fill,minmax(420px,1fr));gap:14px}.sia-rev{padding:14px 16px;display:flex;flex-direction:column;gap:10px;border:2px solid var(--b-accent)}.sia-rev.hand{border-color:#e0a43b}.sia-rh{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.sia-conv{display:flex;flex-direction:column;gap:5px;max-height:220px;overflow:auto;background:var(--soft);border-radius:10px;padding:10px}.sia-conv .bub{max-width:85%;align-self:flex-start;background:var(--panel);border-radius:10px 12px 12px 3px;padding:6px 10px;font-size:13px;line-height:1.4}.sia-conv .bub.me{align-self:flex-end;background:#dcefff;border-radius:10px 12px 3px}.sia-dr{display:flex;flex-direction:column;gap:6px}.sia-dr small{font-weight:600;font-size:12px}.sia-dr textarea{background:#fff8f5;border-color:#f6c9ba;font-size:14px}.sia-ra{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.sia-ra .hint{flex-basis:100%}.sia-br{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:14px;align-items:start}.sia-br>.panel{padding:16px 18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.form-grid .wide{grid-column:1/-1}.sia-rules{display:flex;flex-direction:column;gap:6px}.sia-rule{display:flex;gap:8px;align-items:center}.sia-rule input{flex:1}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.switch.sm{font-size:13px}@media (max-width:1100px){.sia-crear,.sia-fl,.sia-br{grid-template-columns:1fr}.sia-chat{position:static}.sia-stats{grid-template-columns:repeat(3,1fr)}.sia-revs{grid-template-columns:1fr}}.sia-lines{display:flex;gap:6px;flex-wrap:wrap}.chip-ck{display:inline-flex!important;flex-direction:row!important;align-items:center;gap:6px;border:1px solid var(--line);border-radius:99px;padding:5px 11px;cursor:pointer;font-size:13px;font-weight:500}.chip-ck input{width:auto;margin:0}.chip-ck small{color:var(--muted)}.chip-ck.off{opacity:.6}.inl{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;font-size:13px}.inl input{width:90px}.agu-funnel{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));background:var(--panel);border:1px solid var(--line);border-radius:10px;overflow:hidden;margin-bottom:12px}.agu-f{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border-left:1px solid var(--line)}.agu-f:first-child{border-left:0}.agu-f span{font-size:13px;color:var(--muted)}.agu-f b{font-size:26px;font-weight:500}.agu-f b em{font-style:normal;font-size:13px;font-weight:700;color:#1e7a46}.agu-f small{font-size:12px;color:var(--muted)}.agu-f.dark{background:var(--b-struct);border-left-color:#1a5470}.agu-f.dark span,.agu-f.dark small{color:var(--sky)}.agu-f.dark b{color:#fff}.agu-f.dark b em{color:var(--b-accent)}.agu-un{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#fff6e5;border:1px solid #F2D49B;border-radius:10px;padding:9px 14px;margin-bottom:12px;font-size:14px}.agu-uc{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid #F2D49B;border-radius:99px;padding:3px 4px 3px 12px;font-size:13px}.agu-uc .btn{border-radius:99px}.agu-cl{margin-top:14px;padding:14px 16px}.agu-clh{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:6px}.agu-cl tr[data-agh]{cursor:pointer}.agu-cl tr[data-agh]:hover td,.agu-cl tr.on td{background:var(--soft)}.agu-cl td.bad{color:#b42318;font-weight:700}.ag-people:empty{display:none}.ag-ev.st-confirmada{background:var(--b-struct)!important;color:#fff!important;border-color:var(--b-struct)!important}.ag-ev.st-celebrada{background:#e3f6ea!important;color:#0e5e35!important;border-color:#bfe6cf!important}.ag-ev.st-venta{background:#1e7a46!important;color:#fff!important;border-color:#1e7a46!important}.ag-ev.st-noshow{background:#fff!important;color:#b42318!important;border:1px dashed #E7A3A0!important}.ag-ev.st-cancelada{opacity:.45;text-decoration:line-through}.agu-cy{display:flex;flex-direction:column;gap:10px;margin:10px 0 4px;padding:12px;border-radius:10px;background:var(--soft)}.agu-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.agu-steps li{display:flex;flex-direction:column;gap:3px}.agu-steps i{height:6px;border-radius:99px;background:#d5e2e9}.agu-steps li.on i{background:var(--b-struct)}.agu-steps li.ns i{background:#e7a3a0}.agu-steps b{font-size:12px;font-weight:600}.agu-steps small{font-size:11px;color:var(--muted)}.agu-facts{display:flex;flex-direction:column;gap:5px}.agu-facts div{display:flex;justify-content:space-between;gap:10px;font-size:13px}.agu-facts span{color:var(--muted)}.agu-st{display:flex;gap:6px;flex-wrap:wrap}.agu-st:empty{display:none}.btn.danger-ghost{color:#b42318;border-color:#e7a3a0}.agu-res{display:flex;flex-direction:column;gap:6px}.agu-res small{font-size:12px;letter-spacing:0;text-transform:none;color:var(--muted)}.agu-res div{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.agu-rec{border-color:var(--b-accent)!important;color:#9a3412}@media (max-width:1100px){.agu-funnel{grid-template-columns:repeat(3,1fr)}.agu-f:nth-child(4){border-left:0}}.ag-ev.lead.st-reservada{background:#e8f1f5;color:var(--b-struct);border-left-color:#8db7cb}.ag-ev.lead.st-reservada small{color:#3e6476}.act-audio{display:flex;flex-direction:column;gap:4px;margin:6px 0 2px}.act-audio audio{width:100%;height:34px}.sia-tel{display:flex;flex-direction:column;gap:14px}.sia-telh{padding:14px 16px}.sia-phones{display:grid;grid-template-columns:repeat(auto-fill,minmax(420px,1fr));gap:14px}.sia-ph{padding:14px 16px;display:flex;flex-direction:column;gap:12px}.sia-ph.off{opacity:.65}.sia-phh{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.sia-phh>div{display:flex;flex-direction:column}.sia-phh small{color:var(--muted);font-size:12px}.sia-phk{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.sia-phk>div{background:var(--soft);border-radius:10px;padding:7px 9px;display:flex;flex-direction:column;gap:2px}.sia-phk small{font-size:11px;color:var(--muted)}.sia-phk b{font-size:16px}.sia-phf{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;align-items:end}.sia-phf>div{grid-column:1/-1}.sia-phf .seg{flex-wrap:wrap}.sia-adv summary{cursor:pointer;font-size:13px;color:var(--muted)}.sia-adv{grid-column:1/-1}.chip-ck.sm{padding:3px 8px;font-size:12px}@media (max-width:1100px){.sia-phones{grid-template-columns:1fr}.sia-phk{grid-template-columns:repeat(2,1fr)}}.d-mode{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:8px 14px;border-bottom:1px solid var(--line);background:var(--soft)}.d-mode .hint{font-size:12px}.dw-seg .seg-b{font-size:13px;padding:5px 10px}.dw-pr{flex:1;min-width:80px;max-width:160px;height:5px;border-radius:99px;background:var(--line);overflow:hidden}.dw-pr i{display:block;height:100%;background:var(--b-accent)}.d-siadraft:empty{display:none}.dw-draft{margin:8px 14px;border:1.5px solid var(--b-accent);border-radius:10px;padding:10px 12px;background:color-mix(in srgb,var(--b-accent) 6%,var(--panel));display:flex;flex-direction:column;gap:6px}.dw-draft.hand{border-color:#d9822b}.dw-draft>small{font-size:12px;font-weight:600;color:var(--text2)}.dw-draft textarea{resize:vertical;font:inherit;font-size:14px;border:1px solid var(--line);border-radius:10px;padding:7px 10px;background:var(--panel);color:var(--text)}.dw-da{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.dw-da .hint{font-size:12px}.drawer:not(.wide) #dSide{display:none}.drawer.wide .drawer-panel{width:min(1500px,calc(100vw - 32px))}.drawer.wide .drawer-tabs{display:none}.drawer.wide #dHead{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,560px);gap:10px 20px;align-items:center;background:var(--b-struct);color:#fff;padding:16px 22px}.drawer.wide #dHead .dh-id{grid-column:1}.drawer.wide #dHead .dh-id .nm small{color:var(--b-sky)}.drawer.wide #dHead .dh-win .btn{color:#fff}.drawer.wide #dHead .dh-tools{grid-column:2;grid-row:1}.drawer.wide #dHead .dh-t{background:#ffffff14;border-color:#ffffff29;color:#fff;padding:12px 6px 10px;font-size:13px}.drawer.wide #dHead .dh-t span{font-size:20px}.drawer.wide #dHead .dh-t.main{background:#fff;color:var(--b-struct);border-color:#fff}.drawer.wide #dHead .dh-t.ai{background:var(--b-accent);color:var(--on-accent,var(--b-struct));border-color:var(--b-accent)}.drawer.wide #dHead .dh-moves{grid-column:1/-1}.drawer.wide #dHead .dh-moves>small{color:var(--b-sky)}.drawer.wide #dHead .dh-mvcfg{color:var(--b-sky);border-color:#ffffff4d}.drawer.wide .drawer-body{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);min-height:0}.drawer.wide .drawer-body>.chat{display:flex!important;border-right:1px solid var(--line);min-height:0}.drawer.wide .drawer-body>.info{display:none!important}.d-side{display:flex;flex-direction:column;min-height:0;overflow:auto;background:var(--soft);padding:14px;gap:12px}.d-cards{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.d-cards:empty{display:none}.dw-card{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:14px;min-width:0}.dw-prob{display:flex;gap:12px;align-items:center}.dw-prob svg{flex:none;color:var(--text);width:132px!important;height:132px!important}.dw-pf{display:flex;flex-direction:column;gap:5px;min-width:0}.dw-pf>b{font-size:14px}.dw-pf .hint{font-size:11px;line-height:1.35}.dw-up{font-size:13px;font-weight:600;color:#c2492b}.dw-f{font-size:12px;display:flex;gap:6px;align-items:baseline;color:var(--text2)}.dw-f b{width:12px;flex:none;text-align:center}.dw-f.pos b{color:#1e9e5a}.dw-f.neg b{color:#c2492b}.dw-data{display:flex;flex-direction:column;gap:10px}.dw-data .dh-kv{grid-template-columns:1fr 1fr}.dw-data .dh-kv .dh-k:first-child{grid-column:1/-1;border-bottom:1px solid var(--line)}.dw-data .dh-kv .dh-k:nth-child(2){border-left:0}.d-stabs{display:flex;gap:4px;border-bottom:1px solid var(--line);position:sticky;top:-14px;background:var(--soft);z-index:2;padding-top:4px}.d-stabs button{border:0;background:transparent;padding:9px 12px;font:inherit;font-size:13px;font-weight:600;color:var(--muted2);border-bottom:2px solid transparent;cursor:pointer;display:inline-flex;gap:6px;align-items:center}.d-stabs button.on{color:var(--text);border-bottom-color:var(--b-accent)}.d-spane{display:flex;flex-direction:column;min-height:0}.d-spane>section{display:none!important}.d-spane[data-st=sum] #dSum,.d-spane[data-st=info] #dInfo,.d-spane[data-st=sale] #dSale{display:flex!important;flex-direction:column}.d-spane[data-st=act] #dAct{display:flex!important;flex-direction:column;gap:12px}.d-spane>section.info{padding:4px 0;overflow:visible}.dw-sumg{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.dw-objs,.dw-mem{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:14px;display:flex;flex-direction:column;gap:8px;min-width:0}.dw-h{display:flex;justify-content:space-between;align-items:center;gap:8px}.dw-h b{font-size:14px}.dw-obj{display:flex;justify-content:space-between;align-items:center;gap:8px;text-align:left;border:1px solid var(--line);border-radius:10px;padding:9px 11px;background:var(--panel);font:inherit;color:var(--text);cursor:pointer}.dw-obj span{display:flex;flex-direction:column;gap:2px;min-width:0}.dw-obj span b{font-size:14px;font-weight:600}.dw-obj small{font-size:11px;color:var(--muted)}.dw-obj em{font-style:normal;font-size:11px;font-weight:700;padding:2px 8px;border-radius:99px;flex:none}.dw-obj.open{background:#fff3ee;border-color:#f6c8b8}.dw-obj.open em{background:var(--b-accent);color:var(--on-accent,var(--b-struct))}.dw-obj.half{background:#fff9ea;border-color:#f0dfae}.dw-obj.half em{background:#f2c14e;color:var(--b-struct)}.dw-obj.ok{opacity:.75}.dw-obj.ok em{background:#1e9e5a;color:#fff}.dw-obj.ok b{text-decoration:line-through;text-decoration-color:var(--faint)}.dw-chips{display:flex;flex-wrap:wrap;gap:6px}.dw-chip{border:1px solid var(--line);background:var(--soft);border-radius:99px;padding:5px 11px;font:inherit;font-size:13px;color:var(--text);cursor:pointer;text-align:left}.dw-chip.auto{background:color-mix(in srgb,var(--b-sky) 35%,var(--panel));border-color:transparent}.dw-chip:hover{text-decoration:line-through}.dw-objs .hint,.dw-mem .hint{font-size:12px}@media (max-width:1350px){.d-cards,.dw-sumg{grid-template-columns:1fr}}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .dw-obj.open{background:#fe77561f;border-color:#fe775659}:root:not([data-theme=light]) .dw-obj.half{background:#f2c14e1a;border-color:#f2c14e4d}}:root[data-theme=dark] .dw-obj.open{background:#fe77561f;border-color:#fe775659}:root[data-theme=dark] .dw-obj.half{background:#f2c14e1a;border-color:#f2c14e4d}.dw-prob svg text{stroke:none}.dl-tools{display:flex;gap:6px}.dl-tools input{flex:1;min-width:0;height:34px;font-size:13px}.dl-tools select{max-width:150px;height:34px;font-size:13px}.dl-bulk{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:6px 10px;border:1px solid var(--line);border-radius:10px;background:var(--panel);font-size:13px}.dl-bulk.on{border-color:var(--b-accent);background:color-mix(in srgb,var(--b-accent) 7%,var(--panel))}.dl-all{display:flex;align-items:center;gap:7px;cursor:pointer;margin:0;font-size:13px}.dl-all input,.dl-ck{width:16px;height:16px;margin:0;flex:none;accent-color:var(--b-accent);cursor:pointer}.dl-ba{display:flex;gap:5px;flex-wrap:wrap}.dl-row{display:flex;align-items:center;gap:4px;padding-left:6px;border-radius:10px}.dl-row.ck{background:color-mix(in srgb,var(--b-accent) 8%,transparent)}.dl-row .dl-it{flex:1;min-width:0}.dl-msg{display:flex;flex-direction:column;gap:6px;margin:10px 0 4px;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--soft)}.dl-ms{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0;font-size:13px;cursor:pointer}.dl-ms input{width:16px;height:16px;margin:0;accent-color:var(--b-accent)}.dl-ms .hint{font-size:12px}.dl-msg textarea{font:inherit;font-size:14px;resize:vertical;min-height:64px}.dl-msg textarea:disabled{opacity:.5}.dl-mb{display:flex;gap:4px;flex-wrap:wrap}.dl-mh{margin:8px 0 0;font-size:12px}.dl-seen{font-style:normal;color:#c2492b;font-weight:600}.dl-seenb{display:flex;align-items:center;gap:8px;width:100%;margin:0 0 10px;padding:10px 14px;border:1px solid #F6C8B8;border-radius:10px;background:#fff3ee;font:inherit;font-size:14px;color:var(--text);cursor:pointer;text-align:left}.dl-seenb span{margin-left:auto;font-weight:600;color:#c2492b}.dl-seenb.on{border-color:var(--b-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--b-accent) 25%,transparent)}:root[data-theme=dark] .dl-seenb{background:#fe77561f;border-color:#fe775659}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .dl-seenb{background:#fe77561f;border-color:#fe775659}}.agu-per{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 8px;font-size:13px}.agu-per label{display:flex;align-items:center;gap:6px;margin:0;font-size:13px;font-weight:600}.agu-per select{height:32px;font-size:13px;max-width:240px}.agu-per .agu-d{font-weight:400}.agu-per input[type=date]{height:32px;font-size:13px;width:auto}.mg-auto{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--soft)}.agu-msgs{margin-left:auto}.col-body{display:flex;flex-direction:column;gap:10px;padding:0 24px 24px}.col-top{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.col-top input{margin-left:auto;width:240px;height:34px;font-size:13px}.col-desc{margin:0}.col-list{padding:4px;display:flex;flex-direction:column}.col-row{display:grid;grid-template-columns:auto auto minmax(0,1fr) 150px auto;gap:10px;align-items:start;padding:10px;border-bottom:1px solid var(--line);border-radius:10px}.col-row:last-child{border-bottom:0}.col-row.ck{background:color-mix(in srgb,var(--b-accent) 8%,transparent)}.col-row .dl-ck{margin-top:3px}.col-k{font-size:16px;line-height:1.2;width:22px;text-align:center}.col-main{display:flex;flex-direction:column;gap:4px;min-width:0}.col-h{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}.col-h small{font-size:12px;color:var(--muted)}.col-t{font-size:14px;color:var(--text2);line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}.col-ed{font:inherit;font-size:14px;resize:vertical}.col-eb{display:flex;gap:6px}.col-w{font-size:13px;color:var(--muted2);padding-top:2px}.col-late{color:#c2492b;font-weight:600}.col-a{display:flex;gap:4px;flex-wrap:nowrap}@media (max-width:900px){.col-row{grid-template-columns:auto auto minmax(0,1fr)}.col-w,.col-a{grid-column:3}.col-top input{width:100%;margin-left:0}.col-body{padding:0 12px 16px}}.dl-bulk .dl-all{flex-direction:row!important;align-items:center!important}#sec-colas{overflow-y:auto}#sec-colas>*,.col-body>*{flex-shrink:0}.col-body{flex:none;padding:0}body{--ink:#16181D;--ink2:#3C404B;--ink3:#5C6170;--ink4:#646979;--bg:#F7F8FA;--panel:#FFFFFF;--soft:#F3F4F6;--soft2:#ECEEF2;--line:#E6E8EC;--line2:#DDE0E6;--faint:#9AA0AC;--text:var(--ink);--text2:var(--ink2);--muted2:var(--ink3);--muted:var(--ink4);--accent:#2B5CE6;--accent2:#1F47C2;--accentBg:#EEF3FE;--accentLine:#C9D6FB;--sky:#E9ECF2;--ok:#16A34A;--okBg:#ECFDF3;--warn:#D97706;--warnBg:#FFF7E8;--danger:#DC2626;--dangerBg:#FEF2F2;--hot:#C2410C;--orange:#C2410C;--b-struct:var(--ink);--b-sky:#E9ECF2;--b-neutral:#E6E8EC;--b-accent:var(--accent);--b-font:"Mona Sans";--on-accent:#FFFFFF;--font:"Mona Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--r:10px;--cut:0px;--shadow:0 12px 32px -14px rgba(16,24,40,.22);--ease-out:cubic-bezier(.23,1,.32,1);font-family:var(--font);font-size:14px;color:var(--ink);background:var(--bg);font-variant-numeric:normal;font-feature-settings:normal}::selection{background:#c9d6fb;color:var(--ink)}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}*{scrollbar-width:thin;scrollbar-color:#D3D7DE transparent}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:#d3d7de;border-radius:99px;border:3px solid transparent;background-clip:content-box}::-webkit-scrollbar-thumb:hover{background-color:#b9bec8}body *{clip-path:none}body .card,body .panel{border-radius:10px}body .side{background:#f7f8fa!important;border-right:1px solid var(--line)!important;color:var(--ink)!important}body .side .nav{color:var(--ink2)!important;border-radius:6px;padding:7px 8px;font-weight:500}body .side .nav svg{color:#6b7080}body .side .nav:hover{background:#eef0f3!important;color:var(--ink)!important}body .side .nav.on,body .side .nav-hoy.on{background:#e6e9ef!important;color:var(--ink)!important;font-weight:600}body .side .nav.on svg{color:var(--ink)}body .side .nav-hoy{background:transparent!important;color:var(--ink2)!important}body .side .nav em{color:#646979!important}body .side .nav em.b,body .badge,body .ngh em.nsum{background:#fde7dd!important;color:#9a3412!important;font-weight:600}body .side .nav-group{border-left-color:var(--line)!important}body .side .nav-sep{background:var(--line)!important}body .side .wa-pill,body .side .queue-pill,body .side .me-txt small,body .side-toggle{color:#646979!important}body .side .wa-pill:hover,body .side .queue-pill:hover,body .side .me-row:hover,body .side-toggle:hover{background:#eef0f3!important;color:var(--ink)!important}body .side .me-row{color:var(--ink)!important}body .side .zx-t,body .side .zx-z{fill:var(--ink)!important}body .side .zx-name{color:var(--ink)!important}body .nav-label,body .ngh{color:#646979!important;letter-spacing:0!important;text-transform:none!important;font-size:12px!important;font-weight:500!important}body .nbranch .nav.on:after{background:var(--accent)}body .sec-head h1,body .sec h1{font-size:20px;line-height:1.25;font-weight:600;letter-spacing:-.2px}body .sec-head .sub{color:var(--ink4);font-size:13px}body .hoy-date{letter-spacing:0!important;text-transform:none!important;font-size:13px!important;color:var(--ink4)!important}body .btn{height:32px;padding:0 12px;border-radius:6px;border:1px solid var(--line2);background:#fff;color:var(--ink);font-size:13px;font-weight:500;box-shadow:none;transition:background-color .12s,border-color .12s,transform .1s var(--ease-out)}body .btn:hover{background:#f6f7f9;border-color:#d3d7de}body .btn:active{transform:scale(.97)}body .btn.sm{height:28px;padding:0 10px;font-size:13px}body .btn.icon{width:32px;padding:0;justify-content:center}body .btn.ghost{background:transparent;border-color:transparent}body .btn.ghost:hover{background:#eef0f3}body .btn.primary,body .btn.cta,body #dSend,body #authBtn{background:var(--accent)!important;border-color:var(--accent)!important;color:#fff!important;font-weight:500!important}body .btn.primary:hover,body .btn.cta:hover,body #dSend:hover{background:var(--accent2)!important;border-color:var(--accent2)!important}body .btn.danger{color:var(--danger)}body .btn:disabled{opacity:.5;cursor:not-allowed;transform:none}body :where(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea){border:1px solid var(--line2);border-radius:6px;background:#fff;font-size:14px}body :where(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea):focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px #2b5ce629}body input[type=checkbox],body input[type=radio]{accent-color:var(--accent)}body .seg{background:#eef0f3;border-radius:8px;padding:3px}body .seg-b{border-radius:6px;color:var(--ink3);font-weight:500}body .seg-b.on{background:#fff;color:var(--ink);box-shadow:0 1px 2px #10182814,0 0 0 1px #1018280a}body .chipb,body .act-chip,body .opt{border-radius:99px;border:1px solid var(--line2);background:#fff;color:var(--ink2);font-size:13px;font-weight:500}body .chipb.on,body .act-chip.on,body .opt.on{background:var(--ink);border-color:var(--ink);color:#fff}body .tab{color:var(--ink3);font-weight:500}body .tab.on{color:var(--ink);box-shadow:inset 0 -2px 0 var(--accent)}body .panel{background:#fff;border:1px solid var(--line);box-shadow:none}body .card{border:1px solid var(--line);box-shadow:none;border-radius:8px}body .card:hover{border-color:#d3d7de;box-shadow:0 1px 2px #1018280d}body .card.sel{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}body .modal-card{border-radius:12px;border:1px solid var(--line);box-shadow:0 24px 48px -16px #10182840}body .toast{border-radius:8px}body .ctc.late,body .d-pill.ct.late,body .sh-st.warn{background:var(--warnBg)!important;color:#9a5b00!important;box-shadow:0 0 0 1px #f5d9a8 inset!important}body .dh-t.rec,body .qrec-dot,body .qrec-stop,body .nav-rec i,body .cmdk-rec:after,body .xr.live .xr-h i{background:var(--danger)}body .dh-t.rec{background:var(--dangerBg)!important;border-color:#f3b7b7!important;color:var(--danger)!important}body .bell-n{background:var(--danger)!important;color:#fff!important}body .drawer-panel{background:#fff}body .d-head{gap:12px;padding:16px 20px 12px;border-bottom:1px solid var(--line)}body .drawer.wide #dHead{background:#fff!important;color:var(--ink)!important;border-bottom:1px solid var(--line)}body .drawer.wide #dHead .dh-id .nm small,body .drawer.wide #dHead .dh-moves>small{color:var(--ink4)!important}body .drawer.wide #dHead .dh-win .btn{color:var(--ink3)!important}body .drawer.wide #dHead .dh-t,body .dh-t{background:#fff!important;border:1px solid var(--line2)!important;color:var(--ink)!important;border-radius:8px;font-weight:500}body .drawer.wide #dHead .dh-t:hover,body .dh-t:hover{background:#f6f7f9!important;transform:none}body .drawer.wide #dHead .dh-t.main,body .dh-t.main{background:var(--ink)!important;border-color:var(--ink)!important;color:#fff!important}body .drawer.wide #dHead .dh-t.ai,body .dh-t.ai{background:var(--accent)!important;border-color:var(--accent)!important;color:#fff!important}body .drawer.wide #dHead .dh-t.ai span,body .dh-t.ai span{color:#fff!important}body .drawer.wide #dHead .dh-mvcfg{color:var(--ink4)!important;border-color:var(--line2)!important}body .dh-mv{clip-path:none!important;border-radius:6px;height:28px;padding:0 10px;font-size:13px;font-weight:500}body .dh-id .nm b{font-size:18px;font-weight:600;letter-spacing:-.2px;-webkit-line-clamp:1;white-space:nowrap;text-overflow:ellipsis;display:block}body .dh-id{min-height:44px}body .dh-moves{min-height:28px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}body .dh-moves::-webkit-scrollbar{display:none}body .dh-flags{min-height:26px}body .d-mode{min-height:48px;box-sizing:border-box}body .dw-card{border-radius:10px}body .dw-prob svg circle[stroke="var(--b-accent)"]{stroke:var(--accent)}body .d-stabs{top:-14px}body .tb.late,body .tb.hot{background:#fde7dd;color:#9a3412}body .msg .bubble,body .bubble{border-radius:12px}body .dl-it{min-height:52px;border-radius:6px}body .col-row{border-radius:6px}body .drawer-panel{animation:zSlide .22s var(--ease-out)}@keyframes zSlide{0%{transform:translate(16px);opacity:.6}to{transform:none;opacity:1}}@media (prefers-reduced-motion:reduce){body *{animation:none!important;transition:none!important}}body .d-cards{height:252px;flex:none}body .d-cards>.dw-card{overflow:auto;min-height:0}body .dw-pf{max-height:100%;overflow:hidden}body .search:focus-within,body .composer-box:focus-within,body .sm-search:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px #2b5ce629}body .search input:focus,body .composer-box textarea:focus,body .sm-search input:focus{box-shadow:none}body .search,body .sm-search{border-radius:6px;height:34px}body .composer-box{border-radius:10px}body .dl-script{background:#fff;color:var(--ink)}body .dl-script>small{color:var(--ink4)}body .dl-script li label{color:var(--ink)}body .agu-per label{flex-direction:row!important;align-items:center}body .agu-per select{height:34px;padding:0 28px 0 10px;line-height:normal}body select{line-height:normal}#sec-hoy{overflow:hidden}.hoy{height:100%;display:flex;flex-direction:column;gap:18px;min-height:0}.hz-h{display:flex;align-items:flex-end;gap:28px;flex:none}.hz-ht{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.hz-date{font-size:13px;color:var(--ink4)}.hz-ht h1{margin:0;font-size:22px;line-height:1.25;font-weight:600;letter-spacing:-.3px}.hz-ht p{margin:0;color:var(--ink3);max-width:75ch}.hz-goal{width:190px;display:flex;flex-direction:column;gap:7px;flex:none}.hz-gl{display:flex;justify-content:space-between;align-items:baseline;font-size:13px;color:var(--ink3)}.hz-gl b{font-size:18px;font-weight:600;color:var(--ink)}.hz-cells{display:grid;grid-template-columns:repeat(var(--n),1fr);gap:3px}.hz-cells i{height:6px;border-radius:2px;background:var(--line)}.hz-cells i.a{background:var(--accent)}.hz-cells i.v{background:var(--ok)}.hz-goal small{font-size:12px;color:var(--ink4)}.hz-gedit{align-self:flex-start}.hz-lanes{flex:1;min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.hz-lane{display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:0}.hz-lh{height:48px;flex:none;display:flex;align-items:center;gap:8px;padding:0 14px;border-bottom:1px solid #EEF0F3}.hz-lh h2{margin:0;font-size:14px;font-weight:600}.hz-c{font-size:12px;font-weight:500;color:var(--ink3);background:#f1f2f5;border-radius:99px;padding:1px 8px}.hz-d{font-size:12px;color:var(--ink4);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hz-rows{flex:1;min-height:0;overflow-y:auto}.hz-row{height:52px;display:grid;grid-template-columns:28px minmax(0,1fr) 52px 84px;gap:10px;align-items:center;padding:0 14px;border-bottom:1px solid #F1F2F5;cursor:pointer}.hz-row:hover{background:#fafbfc}.hz-row.first{background:#f6f8ff}.hz-row .avatar{width:28px;height:28px;font-size:11px}.hz-who{display:flex;flex-direction:column;min-width:0;gap:1px}.hz-n{display:flex;align-items:center;gap:6px;min-width:0}.hz-n b{font-size:14px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hz-who small{font-size:13px;color:var(--ink4);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hz-dot{width:6px;height:6px;border-radius:50%;flex:none}.hz-dot.hot{background:var(--hot)}.hz-dot.warm{background:var(--warn)}.hz-t{font-size:12px;color:var(--ink4);text-align:right;white-space:nowrap}.hz-t.late{color:var(--hot)}.hz-t.now{color:var(--accent);font-weight:600}.hz-a{width:84px;justify-content:center}.hz-empty{margin:0;padding:18px 14px;color:var(--ink4);font-size:13px}.hz-turn{height:44px;flex:none;display:flex;align-items:center;gap:12px;padding:8px 14px;font-size:12px;color:var(--ink4)}.hz-turn>b{font-size:13px;font-weight:600;color:var(--ink);width:64px}.hz-track{position:relative;flex:1;height:20px}.hz-track:before{content:"";position:absolute;left:0;right:0;top:9px;height:2px;background:#eef0f3;border-radius:2px}.hz-past{position:absolute;left:0;top:9px;height:2px;background:#c9ceda;border-radius:2px}.hz-slot{position:absolute;top:3px;height:14px;border-radius:4px;border:0;padding:0;background:#dde0e6;cursor:pointer}.hz-slot.next{background:var(--accent)}.hz-slot.past{background:#c9ceda}.hz-now{position:absolute;top:-2px;width:2px;height:24px;margin-left:-1px;background:var(--accent);border-radius:1px}.hz-next{color:var(--ink);font-weight:500;white-space:nowrap;max-width:300px;overflow:hidden;text-overflow:ellipsis}@media (max-width:1100px){.hz-lanes{grid-template-columns:1fr;overflow-y:auto}.hz-lane{min-height:320px}.hz-h{flex-wrap:wrap}#sec-hoy{overflow-y:auto}.hoy{height:auto}}body .dh-ai:not(.open),body .dh-ai.off{height:76px;overflow:hidden;box-sizing:border-box;border-radius:10px}body .dh-ai:not(.open) p:not(.why){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}body .dh-ai .sp{background:var(--accentBg);color:var(--accent)}body .d-mode .hint{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1}body .d-mode{flex-wrap:nowrap}.zi{flex:none;vertical-align:-3px;stroke-width:1.8}body .seg-b{display:inline-flex;align-items:center;gap:6px}body .dh-t span{display:grid;place-items:center;height:20px}body .dw-h b{display:inline-flex;align-items:center;gap:6px}body .col-k{display:grid;place-items:center;color:var(--ink3);height:22px}body #dwData .dh-ai,body #dwData .dh-ai.off{height:auto;overflow:visible}body #dwData .dh-flags:empty{display:none}body .col-h .lead-link b,body .col-h>b{font-size:14px;font-weight:600}body .dl-tools select,body .dl-tools input{padding-top:0;padding-bottom:0;line-height:normal}body .dl-tools select{padding:0 26px 0 10px}body .toasts{top:auto;bottom:22px}body .toast{animation:zToastIn .2s var(--ease-out);border-radius:10px;padding:10px 14px;box-shadow:0 10px 30px -10px #10182859}body .toast.out{animation:zToastOut .18s ease-in forwards}@keyframes zToastIn{0%{transform:translateY(8px) scale(.98);opacity:0}}@keyframes zToastOut{to{transform:translateY(6px);opacity:0}}body .modal-card{animation:zModal .18s var(--ease-out)}@keyframes zModal{0%{transform:translateY(6px) scale(.985);opacity:0}}body .modal{backdrop-filter:blur(2px)}.hz-row{transition:background-color .1s}.hz-row:focus-visible{outline:none;background:#eef3fe;box-shadow:inset 2px 0 0 var(--accent)}.hz-lanes.hz-enter .hz-row{animation:zRowIn .24s var(--ease-out) both;animation-delay:calc(var(--i,0) * 18ms)}@keyframes zRowIn{0%{opacity:0;transform:translateY(4px)}}.hz-cells i{transition:background-color .3s var(--ease-out)}.hz-cells i.new{animation:zCell .5s var(--ease-out)}@keyframes zCell{0%{transform:scaleY(1);filter:brightness(1.6)}40%{transform:scaleY(1.9)}to{transform:scaleY(1)}}.hz-a{transition:background-color .12s,border-color .12s,color .12s,transform .1s var(--ease-out)}.hz-row:hover .hz-a:not(.primary){border-color:#c9ceda}body .card{transition:border-color .12s,box-shadow .12s}body .nav{transition:background-color .1s,color .1s}.hz-empty{display:flex;flex-direction:column;gap:4px;padding:28px 18px;text-align:left}body .cmdk-r .avatar{flex:none}body .cmdk-r{border-radius:6px}body .cmdk-r.sel{background:#eef3fe}body .kpis{display:flex;gap:6px;flex-wrap:wrap}body .kpi{flex-direction:row;align-items:center;gap:8px;height:32px;padding:0 12px;border-radius:99px;border:1px solid var(--line2);background:#fff}body .kpi span{font-size:13px;color:var(--ink2);font-weight:500}body .kpi b{font-size:13px;font-weight:600;letter-spacing:0;color:var(--ink)}body .kpi b.red{color:var(--danger)}body .kpi:hover{border-color:#c9ceda;background:#f9fafb}body .kpi.on{background:var(--ink);border-color:var(--ink);box-shadow:none}body .kpi.on span,body .kpi.on b{color:#fff}body .auth-card,body #authForm{border-radius:12px}body .ch-tabs{display:flex!important;flex-wrap:wrap;gap:6px;margin:0 0 12px;border:0;overflow:visible}body .ch-tab{flex-direction:row!important;align-items:center;gap:8px;height:32px;padding:0 12px!important;border-radius:99px!important;border:1px solid var(--line2)!important;background:#fff!important;box-shadow:none!important;position:relative}body .ch-tab:before{display:none}body .ch-tab:hover{border-color:#c9ceda!important;background:#f9fafb!important}body .ch-tab .cst-dot{width:7px;height:7px;border-radius:50%;background:var(--c);flex:none}body .ch-tab .cst-lb{font-size:13px;color:var(--ink2)!important;font-weight:500!important}body .ch-tab .cst-n{font-size:13px;font-weight:600;color:var(--ink)}html body .ch-tab.on.on{background:var(--ink)!important;border-color:var(--ink)!important}html body .ch-tab.on.on .cst-lb,html body .ch-tab.on.on .cst-n{color:#fff!important}html body .ch-tab.on.on .cst-dot{box-shadow:0 0 0 2px #ffffff40}body .sch{border-left:1px solid var(--line)!important;position:relative;padding-left:22px}body .sch:before{content:"";position:absolute;left:10px;top:13px;width:6px;height:6px;border-radius:50%;background:var(--c,#9AA0AC)}body .sh-att{border:1px solid #F5D9A8!important;background:var(--warnBg)!important}body .sh-att>b .sico{color:var(--warn)}body .auth{background:var(--bg)!important}body .mark.won.on{border:1px solid #BBF7D0;background:var(--okBg)}html body .ch-tab.on.on b,html body .ch-tab.on.on .cst-n{color:#fff!important;opacity:1!important}body .eq-st{gap:0;border-top:1px solid var(--line)}body .eq-st div{background:transparent!important;border-radius:0;padding:10px 8px 6px 0}body .eq-st div.warn b{color:var(--hot)}body .eq-st b{font-size:18px}body .ngb{transition-duration:.25s}body .nbranch .nav{transition-duration:.2s}.kb-grid{display:grid;grid-template-columns:1fr auto;gap:8px 24px;font-size:14px}.kb-grid kbd,.kbd{font:inherit;font-size:12px;font-weight:500;color:var(--ink2);border:1px solid var(--line2);border-bottom-width:2px;border-radius:5px;padding:1px 6px;background:#fff;margin-left:3px}body .side-foot{gap:0;padding-top:8px}body .side .wa-pill,body .side .queue-pill,body #linePills>*{padding:4px 10px;min-height:26px}body .side-foot .me-row{margin-top:6px}body .nav-srow{gap:4px}body .side .nav-rec,body .side .nav-bell{width:30px;height:32px;border-radius:6px;background:transparent!important}body .side .nav-all{display:none}body .side .nav-search{height:32px;border-radius:6px;border:1px solid var(--line2)!important;background:#fff!important;color:#646979!important;font-size:13px;gap:7px;padding:0 8px}body .side .nav-search kbd{border-color:var(--line2);color:#646979;padding:0 4px;font-size:11px}body .side .nav-search:hover{border-color:#c9ceda!important}body .drawer.wide #dHead .dh-t.main,body .dh-t.main{background:var(--accent)!important;border-color:var(--accent)!important;color:#fff!important}body .drawer.wide #dHead .dh-t.main:hover,body .dh-t.main:hover{background:var(--accent-deep,#1F47C2)!important}body .drawer.wide #dHead .dh-t.ai,body .dh-t.ai{background:#fff!important;border-color:var(--line2)!important;color:var(--ink)!important}body .drawer.wide #dHead .dh-t.ai span,body .dh-t.ai span{color:var(--accent)!important}body .drawer.wide #dHead .dh-t.ai:hover,body .dh-t.ai:hover{background:#f6f7f9!important}body .dh-mv{background:#fff!important;border:1px solid var(--line2);color:var(--ink2);gap:6px}body .dh-mv:hover{background:#f6f7f9!important;border-color:#c9ceda}body .dh-mv .dh-mvd{width:7px;height:7px;border-radius:50%;background:var(--c);flex:none}body .dh-mv.here{background:var(--soft2,#ECEEF2)!important;color:var(--ink)!important;border-color:transparent}body .dh-mvcfg{display:inline-grid;place-items:center;color:#646979}body .mk{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:5px;vertical-align:-3px}body .mk-call{background:var(--accent-bg,#EEF3FE);color:var(--accent)}body .mk-won{background:var(--okBg,#ECFDF3);color:var(--ok)}body .side .nav-bell{color:#646979!important}body .side .nav-bell:hover{color:var(--ink)!important;background:#eef0f3!important}body .obj-st,body [class*=ost-]{text-transform:none!important;letter-spacing:0!important}body .dw-obj{background:#fff!important;border:1px solid var(--line)!important}body .dw-obj em{font-weight:600;font-size:12px;padding:2px 8px}body .dw-obj.open em{background:#fef2f2!important;color:var(--danger)!important}body .dw-obj.half em{background:#fffbeb!important;color:#b45309!important}body .dw-obj.ok em{background:#ecfdf3!important;color:var(--ok)!important}body .dw-obj:hover{border-color:#c9ceda!important}body .pipe-slot .pipe-sw{background:#fff!important;border:1px solid var(--line2)!important;border-radius:6px}body .pipe-slot .pipe-sw select{color:var(--ink)!important;font-weight:600}body .pipe-slot .pipe-sw svg{stroke:#646979!important}body .pipe-slot .pipe-sw:hover{border-color:#c9ceda!important}body .set-menu a.on{background:#e6e9ef!important;color:var(--ink)!important;font-weight:600}body .set-menu a.on .sico{color:var(--ink)!important}body .sh-hero{background:#fff!important;color:var(--ink)!important;clip-path:none!important;border:1px solid var(--line);border-radius:10px;padding:24px 24px 22px;gap:14px}body .sh-hero:after{display:none}body .sh-hero h1{color:var(--ink)!important;font-size:22px;font-weight:600;letter-spacing:-.3px;margin:4px 0 2px}body .sh-hero p{color:var(--ink3,#5C6170)!important;font-size:14px}body .sh-hero .sh-kick{color:#646979!important;font-size:12px}body .sh-hero input{background:#fff!important;border:1px solid var(--line2)!important;color:var(--ink)!important}body .sh-row:hover .sh-ri{background:var(--accent-bg,#EEF3FE)!important;color:var(--accent)!important}body .agu-f.dark{background:#fff!important;border-left-color:var(--line)!important}body .agu-f.dark span,body .agu-f.dark small{color:#646979!important}body .agu-f.dark b{color:var(--ink)!important}body .agu-f.dark b em{color:var(--ok)!important}body .ag-ev.st-confirmada{background:var(--accent-bg,#EEF3FE)!important;color:var(--accent-deep,#1F47C2)!important;border-color:#c9d7fa!important}body .ag-ev.st-venta{background:#ecfdf3!important;color:#15803d!important;border-color:#bbf7d0!important}body .ag-ev.st-celebrada{background:#f3f4f6!important;color:var(--ink2)!important;border-color:var(--line2)!important}body .ctk-alert{background:var(--dangerBg,#FEF2F2)!important;color:#b91c1c!important;border:1px solid #FBD5D5;border-radius:8px}body .ctk-col header{border-bottom:2px solid var(--line2)!important}body .ctk-col.mid header{border-bottom-color:#f59e0b!important}body .ctk-col.dark header{border-bottom-color:var(--accent)!important}body .ctk-col.ok header{border-bottom-color:var(--ok)!important}body .ctk-col.dark .ctk-steps i.on{background:var(--accent)!important}body .ctk-steps i{height:4px}body .ctk-steps i.on{background:var(--ink3,#5C6170)}body .ctk-col.mid .ctk-steps i.on{background:#f59e0b}body .ctk-col.ok .ctk-steps i.on{background:var(--ok)}body .ctk-card.late{border-color:#fbd5d5!important}body .ctk-card:hover{border-color:#c9ceda}body .fu-kpis{gap:0!important;background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;grid-template-columns:repeat(5,minmax(0,1fr))}body .fu-kpi{border:0!important;border-left:1px solid var(--line)!important;border-radius:0!important;background:#fff!important}body .fu-kpi:first-child{border-left:0!important}body .fu-kpi b{font-size:24px;font-weight:600;color:var(--ink)!important}body .fu-kpi.hero span,body .fu-kpi.hero small{color:#646979!important}body .fu-kpi.hero b{color:var(--ok)!important}body .fu-bar{background:#c9d7fa!important;color:var(--accent-deep,#1F47C2)}body .fu-row:nth-child(n+4) .fu-bar{background:#93aef4!important}body .fu-row:nth-child(n+6) .fu-bar{background:#5b82ec!important;color:#fff}body .fu-bar.won{background:var(--ok)!important;color:#fff}body .sh-search{border:1px solid var(--line2);border-radius:8px!important;padding:0 12px!important;color:#646979!important;max-width:560px}body .sh-search input{border:0!important;padding:11px 0!important;font-size:14px!important;box-shadow:none!important}body .sh-search:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px #2b5ce629}body .mk-legacy{display:none!important}body .empty{display:flex;flex-direction:column;align-items:center;gap:10px;padding:56px 20px;color:#646979;font-size:14px;line-height:1.5;max-width:520px;margin:0 auto}body .empty:before{content:"";width:40px;height:40px;border-radius:50%;background:#f1f2f5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23646979' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-6l-2 3h-4l-2-3H2M5.5 5h13L22 12v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-6z'/%3E%3C/svg%3E") center/18px no-repeat}body .set-hico{background:var(--accent-bg,#EEF3FE)!important;color:var(--accent)!important;clip-path:none!important;border-radius:8px!important}body .set-hico svg,body .set-hico .sico{color:var(--accent)!important;stroke:currentColor}body .dh-nav{display:inline-flex;align-items:center;gap:2px;margin-right:6px;padding-right:8px;border-right:1px solid var(--line)}body .dh-nav small{font-size:12px;color:#646979;min-width:64px;text-align:center;white-space:nowrap}body .dh-nav .btn:disabled{opacity:.35;cursor:default}.hz-ags{flex:none;display:flex;align-items:center;gap:14px;height:64px;min-width:0}.hz-agh{display:flex;align-items:center;gap:8px;flex:none;white-space:nowrap}.hz-agh b{font-size:14px;font-weight:600;color:var(--ink)}.hz-agl{flex:1;min-width:0;display:flex;gap:10px;overflow-x:auto;scrollbar-width:thin;padding:2px}.hz-ag{flex:none;display:grid;grid-template-columns:52px 180px auto;align-items:center;gap:10px;height:56px;padding:0 10px 0 12px;background:#fff;border:1px solid var(--line);border-radius:10px;cursor:pointer;box-sizing:border-box}.hz-ag:hover{border-color:#c9ceda}.hz-ag:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.hz-agt{display:flex;flex-direction:column;line-height:1.2}.hz-agt b{font-size:14px;font-weight:600;color:var(--ink)}.hz-agt small{font-size:11px;color:#646979}.hz-agw{display:flex;flex-direction:column;min-width:0;line-height:1.25}.hz-agw b{font-size:13px;font-weight:600;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hz-agw small{font-size:12px;color:#646979;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hz-meet{display:inline-flex;align-items:center;gap:6px;height:30px;text-decoration:none;white-space:nowrap}.hz-nomeet{font-size:12px;color:#9aa0ac;padding:0 6px;white-space:nowrap}.hz-ag.next{border-color:#c9d7fa;background:#f6f8ff}.hz-ag.live{border-color:#bbf7d0;background:#f0fdf4}.hz-ag.live .hz-agt small{color:var(--ok);font-weight:600}.hz-ag.live .hz-meet.primary{background:var(--ok)!important;border-color:var(--ok)!important}.hz-ag.past{opacity:.6}.hz-agnone{font-size:13px;color:#646979;align-self:center}@media (max-width:760px){.hz-ags{flex-direction:column;align-items:stretch;height:auto}.hz-agh{width:auto}}body .qrec{background:#fff!important;border:1px solid #F3B7B7!important;box-shadow:0 1px 2px #16181d0f;padding:10px 10px 10px 12px}body .qrec b{color:var(--ink)!important;font-size:16px;font-weight:600}body .qrec-who{color:#646979!important;font-size:13px}body .qrec-who a,body .qrec-who button,body .qrec-who .link{color:var(--accent)!important;font-weight:500}body .qrec-b{border:1px solid var(--line2)!important;background:#fff!important;color:var(--ink)!important}body .qrec-b:hover{background:#f6f7f9!important}body .qrec-b.x:hover{background:#fef2f2!important;border-color:#f3b7b7!important;color:var(--danger)!important}body .qrec.paused{background:#fffbeb!important;border-color:#fde68a!important}body .qrec.paused .qrec-dot{background:var(--warn)!important}body .xr{color:var(--ink)!important;background:#fff!important;border:1px solid var(--line)!important;border-radius:10px}body .xr:hover{border-color:#c9ceda!important}body .xr.live{background:#fef6f6!important;border-color:#f3b7b7!important}body .xr.paused{background:#fffbeb!important;border-color:#fde68a!important}body .xr.paused .xr-h i{background:var(--warn)!important}body .xr-h b{color:var(--ink)!important;font-size:15px}body .xr-h small{color:#646979!important;font-size:12px}body .xr-l,body .xr-pl{color:#646979!important}body .xr-l em{color:var(--accent)!important}body .xr-b{width:26px;height:26px;background:#fff!important;border:1px solid var(--line2)!important;color:var(--ink)!important;font-size:11px}body .xr-b:hover{background:#f6f7f9!important}body .xr-b.x:hover{background:#fef2f2!important;border-color:#f3b7b7!important;color:var(--danger)!important}body .xr-pg{background:#eef0f3!important}body .xr-pg i{background:var(--accent)!important}body .sia-s.t-email .sia-subj{width:100%;box-sizing:border-box;margin:4px 0 6px;font-weight:600}body .sia-s.t-email .sia-si{background:#fdedee}.rs{display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px;align-items:start}.rs-types{display:flex;flex-direction:column;gap:6px;position:sticky;top:0}.rs-ty{display:flex;flex-direction:column;gap:2px;text-align:left;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;font:inherit;cursor:pointer;color:var(--ink)}.rs-ty b{font-size:14px;font-weight:600}.rs-ty small{font-size:12px;color:#646979}.rs-ty:hover{border-color:#c9ceda}.rs-ty.on{border-color:var(--accent);background:#f6f8ff}.rs-main{display:flex;flex-direction:column;gap:14px;min-width:0}.rs-top{display:flex;align-items:center;gap:10px}.rs-url{display:flex;align-items:center;gap:12px;flex-wrap:wrap;height:auto;min-height:36px;padding:6px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:13px;color:var(--ink2);flex:1;min-width:0}.rs-url>span:first-child{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1}.rs-tabs{align-self:flex-start;flex-wrap:wrap}.rs-pane{display:flex;flex-direction:column;gap:14px}.rs-pane label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:500;color:var(--ink2)}.rs-pane label.switch{flex-direction:row;align-items:center}.rs-g2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rs-g3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end}.rs-sw{height:40px}.rs-slug{display:flex;align-items:center;border:1px solid var(--line2);border-radius:6px;background:#fff;overflow:hidden}.rs-slug span{padding:0 4px 0 10px;color:#646979;font-weight:400}.rs-slug input{border:0!important;box-shadow:none!important;padding-left:0}.rs-sec{display:flex;align-items:baseline;gap:10px;margin-top:6px}.rs-sec b{font-size:15px;font-weight:600;color:var(--ink)}.rs-list{padding:4px 12px!important}.rs-bk{display:flex;align-items:center;gap:10px;min-height:44px;border-bottom:1px solid var(--line);font-size:13px}.rs-bk:last-child{border-bottom:0}.rs-bt{width:150px;font-weight:500;text-transform:capitalize}.rs-q,.rs-rule{padding:14px!important;display:flex;flex-direction:column;gap:10px}.rs-qh{display:grid;grid-template-columns:22px minmax(0,1fr) 140px auto 32px;gap:10px;align-items:center}.rs-qh>b,.rs-n{width:22px;height:22px;border-radius:6px;background:#f1f2f5;display:grid;place-items:center;font-size:12px;font-weight:600;color:var(--ink2);flex:none}.rs-rh{display:flex;align-items:center;gap:8px}.rs-rh b{font-size:14px}.rs-cond{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.rs-cond select{max-width:260px}.rs-opts,.rs-team,.rs-days{display:flex;gap:6px;flex-wrap:wrap}.rs-pane .chipb{flex-direction:row;display:inline-flex;align-items:center;height:30px;padding:0 12px;border:1px solid var(--line2);border-radius:99px;background:#fff;font-size:13px;font-weight:500;color:var(--ink2);cursor:pointer}.rs-pane .chipb.on{background:var(--ink);border-color:var(--ink);color:#fff}.rs-then{display:flex;flex-direction:column;gap:8px;padding:10px 12px;border-radius:8px;background:#f7f8fa}.rs-then>b{font-size:13px}.rs-then>select{max-width:220px}.rs-mins{flex-direction:row!important;align-items:center;gap:8px!important}.rs-mins input{width:90px}.rs-def{flex-direction:row!important;align-items:center;background:#fafbfc!important}.rs-members{padding:4px 12px!important}.rs-mem{display:grid;grid-template-columns:44px 28px minmax(0,1fr) 140px 100px auto;align-items:center;gap:10px;min-height:52px;border-bottom:1px solid var(--line)}.rs-mem:last-child{border-bottom:0}.rs-mn{display:flex;flex-direction:column;min-width:0}.rs-mn b{font-size:14px;font-weight:600}.rs-mn small{font-size:12px;color:#646979;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rs-bar{height:6px;border-radius:3px;background:#eef0f3;display:block}.rs-bar i{display:block;height:6px;border-radius:3px;background:var(--accent)}.rs-w{flex-direction:row!important;align-items:center}.rs-w input{width:64px}.rs-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.rs-mode{padding:12px;border:1px solid var(--line);border-radius:8px;background:#fff;cursor:pointer}.rs-mode b{font-size:14px;color:var(--ink)}.rs-mode small{font-weight:400;color:#646979}.rs-mode.on{border-color:var(--accent);background:#f6f8ff}.rs-empty{padding:28px!important;display:flex;flex-direction:column;gap:10px;align-items:flex-start;max-width:640px}.rs-empty b{font-size:18px}@media (max-width:1100px){.rs{grid-template-columns:1fr}.rs-types{position:static;flex-direction:row;flex-wrap:wrap}.rs-g3,.rs-modes{grid-template-columns:1fr}.rs-mem{grid-template-columns:44px 28px minmax(0,1fr) auto}.rs-bar{display:none}}
.ct-prods{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:center;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--soft)}.ct-prods .hint{flex-basis:100%}.ct-prods label.chk{display:inline-flex!important;flex-direction:row!important;align-items:center;gap:8px;margin:0}.ct-prods label.chk input{width:auto;margin:0}
/* v198 · valor acumulado por fase */
.col-sum{padding:0 4px 2px 26px;display:flex;align-items:baseline;gap:6px;font-size:12px;color:var(--text2);font-variant-numeric:tabular-nums}.col-sum b{font-weight:600}.col-sum small{color:var(--faint);font-size:11px}
/* v158 · usuarios y accesos */
.side .nav.acc-locked{opacity:.55}
.side .nav.acc-locked::after{content:"";width:12px;height:12px;margin-left:auto;flex:none;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center/contain no-repeat}
.acc-lock{max-width:440px;margin:15vh auto 0;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;padding:24px}
.acc-lock svg{width:44px;height:44px;fill:none;stroke:var(--muted);stroke-width:1.6;stroke-linecap:round}
.acc-lock h1{margin:8px 0 0;font-size:20px}
.acc-lock p{margin:0;color:var(--muted2)}
.acc-scope label:has(#uRole),.acc-scope #uDel{display:none!important}
.acc-off{opacity:.6}
.acc-st{display:inline-flex;align-items:center;font-size:11px;font-weight:600;padding:1px 7px;border-radius:999px}
.acc-blocked{background:color-mix(in srgb,#EF4444 16%,transparent);color:#DC2626}
.acc-archived{background:var(--line);color:var(--muted2)}
.acc-new,.acc-card,.acc-pl{padding:16px;display:flex;flex-direction:column;gap:10px}
.acc-card label,.acc-new label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--muted)}
.acc-ck{flex-direction:row!important;align-items:center;gap:8px!important;font-size:13px!important;color:var(--ink)!important}
.acc-ck input{width:auto!important;min-height:0!important;margin:0}
.acc-h{display:flex;align-items:center;gap:8px}
.acc-mods{display:flex;flex-direction:column;gap:8px}
.acc-mh{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;color:var(--muted)}
.acc-mh .link{margin-left:auto}
.acc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px}
.acc-sep{height:1px;background:var(--line)}
.acc-acts{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.acc-acts .spacer{flex:1}
.acc-linkrow{display:flex;gap:8px}
.acc-linkrow input{flex:1;min-width:0;font-size:12px}
.acc-mx{display:flex;flex-direction:column;overflow-x:auto}
.acc-mr{display:grid;grid-template-columns:minmax(110px,1.5fr) repeat(3,minmax(56px,1fr));gap:6px;align-items:center;padding:6px 0;border-bottom:1px solid var(--line);font-size:13px}
.acc-mr>span:not(:first-child){text-align:center}
.acc-mhd{font-size:12px;font-weight:600;color:var(--muted)}
.acc-mr input{width:16px!important;height:16px;min-height:0!important}
.auth-alt{margin-top:4px;font-size:13px;align-self:center}
.auth-h{margin:0;font-size:18px}
@media (max-width:760px){.acc-grid{grid-template-columns:1fr}}
.acc-scope .uedit{flex:none}
/* v130 · Agenda › Conciliación */
.rec{display:flex;flex-direction:column;gap:14px}
.rec-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.rec-bar label{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}
.rec-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.rec-k{padding:12px 14px!important;display:flex;flex-direction:column;gap:2px}
.rec-k span{font-size:12px;color:var(--muted)}.rec-k b{font-size:26px;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.rec-k small{color:var(--muted);font-size:12px;min-height:1.2em}
.rec-exn{margin:-4px 0 0}
.rec-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.rec-sec{padding:14px 16px!important;display:flex;flex-direction:column;gap:10px;min-width:0;box-sizing:border-box}
.rec-sec h3{font-size:14px;margin:0;display:flex;align-items:center;gap:6px}
.rec-tw{overflow-x:auto;margin:0 -4px}
.rec-t{width:100%;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}
.rec-t th,.rec-t td{padding:7px 8px;text-align:right;border-bottom:1px solid var(--line);white-space:nowrap}
.rec-t thead th{font-size:11.5px;font-weight:600;color:var(--muted)}
.rec-t th:first-child,.rec-t td:first-child,.rec-t th[scope=row]{text-align:left}
.rec-list th,.rec-list td{text-align:left;white-space:normal;vertical-align:middle}
.rec-list td.nw{white-space:nowrap}
.rec-list tr.canc td{color:var(--muted)}.rec-list tr.canc td:nth-child(3) a,.rec-list tr.canc td:nth-child(3) span{text-decoration:line-through}
.rec-list tr.ex{opacity:.55}
.rec-stg{display:block;font-size:11.5px}
.rec-src{font-size:12px;padding:1px 8px;border-radius:99px;border:1px solid var(--line2)}
.rec-ch{font-size:12.5px;padding:3px 6px;max-width:170px}.rec-ch.auto{color:var(--muted)}
.rec-st{font-size:12px;padding:2px 8px;border-radius:99px;background:var(--soft)}
.rec-st.c{background:var(--dangerBg);color:var(--danger)}.rec-st.v{background:#DCFCE7;color:#166534}.rec-st.n{background:#FEF3C7;color:#92400E}
.rec-lh{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.rec-iss ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.rec-iss li{display:grid;grid-template-columns:110px minmax(0,200px) minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line)}
.rec-iss li:last-child{border-bottom:0}
.rec-it{font-size:11.5px;font-weight:600;padding:2px 8px;border-radius:99px;text-align:center;background:var(--soft)}
.rec-it.cancelo,.rec-it.contradice{background:var(--dangerBg);color:var(--danger)}.rec-it.sincita,.rec-it.sinlead{background:#FEF3C7;color:#92400E}
.rec-ok{flex-direction:row;align-items:center;gap:10px}
.rec-cfg .rec-chs{display:flex;flex-direction:column;gap:6px}
.rec-chr{display:grid;grid-template-columns:auto minmax(0,180px) minmax(0,1fr) auto;gap:8px;align-items:center}
.rec-ord{display:inline-flex}
@media (max-width:980px){.rec-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.rec-2{grid-template-columns:1fr}.rec-iss li{grid-template-columns:100px minmax(0,1fr) auto}.rec-iss li .hint{grid-column:2/-1}}
@media (max-width:560px){.rec-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.rec-chr{grid-template-columns:1fr auto}.rec-chr .rec-ord{display:none}}
/* ── v121 · Agenda › Disponibilidad, Formularios, Enrutamiento y Automatizaciones ── */
.agx-dirty{color:var(--hot)!important;padding:8px 10px 0;white-space:normal!important}
.rs-more{white-space:normal!important;margin:6px 0 2px}
.rs-more .link{margin:0;font-size:12px}
/* disponibilidad */
.agd-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:14px;align-items:start}
.agd-card{display:flex;flex-direction:column;gap:10px}
.agd-card h3{margin:0;font-size:15px;font-weight:600}
.agd-card .hint{white-space:normal}
.agd-ch{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.agd-day{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid var(--line);flex-wrap:wrap}
.agd-day>b{width:84px;font-weight:500;font-size:14px}
.agd-day>b.agd-off{color:var(--muted)}
.agd-rs{display:flex;flex-wrap:wrap;gap:6px;align-items:center;flex:1;min-width:0}
.agd-r{display:inline-flex;align-items:center;gap:4px;font-size:13px;color:var(--muted)}
.agd-r input[type=time]{font:inherit;font-size:13px;border:1px solid var(--line2);border-radius:7px;padding:4px 6px;background:var(--panel);color:var(--text);min-height:32px}
.agd-r .link,.agd-rs>.link{margin:0;font-size:12px}
.agd-wins{display:flex;flex-direction:column;gap:8px}
.agd-win{border:1px solid var(--line2);border-radius:10px;padding:12px 14px;display:flex;flex-direction:column;gap:5px;font-size:14px}
.agd-win.on{border-color:#F8D3D3;background:#FFF7F7}
.agd-wh{display:flex;justify-content:space-between;gap:8px;align-items:center}
.agd-wa{display:flex;gap:14px}
.agd-wa .link{margin:0}
.agd-calh{display:flex;align-items:center;justify-content:space-between;margin-top:6px}
.agd-cal{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center;font-size:12px}
.agd-h{color:var(--muted);padding:3px 0;font-weight:500}
.agd-c{padding:7px 0;border-radius:7px;display:block}
.agd-c.open{background:var(--soft2);color:var(--text)}
.agd-c.closed{color:var(--faint)}
.agd-c.win{background:#C8312F;color:#fff;font-weight:600}
.agd-c.ex{text-decoration:line-through;color:var(--muted);border:1px dashed var(--line2)}
.agd-c.ex2{border:1.5px dashed #C8312F;color:var(--text)}
.agd-c.today{box-shadow:inset 0 0 0 2px var(--accent)}
.agd-leg{display:flex;flex-wrap:wrap;gap:12px;font-size:11px;color:var(--muted);margin-top:4px}
.agd-leg span{display:inline-flex;align-items:center;gap:5px}
.agd-leg .agd-c{width:14px;height:14px;padding:0;display:inline-block}
.agd-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid var(--line);font-size:14px}
.agd-row b{flex:1;font-weight:500}
.agd-row .link{margin:0}
.agd-card>.btn{align-self:flex-start}
.agd-lim{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.agd-f,.agf-f{display:flex;flex-direction:column;gap:5px;font-size:12px;color:var(--muted2);font-weight:500}
.agd-f select,.agd-f input,.agf-f input,.agf-f select,.agf-f textarea{font:inherit;font-size:14px;color:var(--text);border:1px solid var(--line2);border-radius:8px;padding:8px 10px;background:var(--panel);min-height:38px;width:100%;box-sizing:border-box}
.agf-f textarea{resize:vertical;line-height:1.45}
.agd-mf{display:flex;flex-direction:column;gap:12px}
.agd-mf>label,.agd-2>label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:var(--muted2);font-weight:500}
.agd-mf input:not([type=checkbox]):not([type=radio]),.agd-mf textarea,.agd-mf select{font:inherit;font-size:14px;border:1px solid var(--line2);border-radius:8px;padding:8px 10px;min-height:38px;background:var(--panel);color:var(--text)}
.agd-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.agd-lab{display:block;font-size:12px;color:var(--muted2);font-weight:500;margin-bottom:6px}
.agd-chips{display:flex;flex-wrap:wrap;gap:6px}
.agd-chip{display:inline-flex!important;flex-direction:row!important;align-items:center;gap:6px;padding:6px 10px;border:1px solid var(--line2);border-radius:99px;font-size:13px!important;color:var(--text2)!important;cursor:pointer;min-height:34px;box-sizing:border-box}
.agd-chip input{margin:0;accent-color:var(--accent)}
.agd-rad{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;font-size:14px!important;color:var(--text)!important;font-weight:400!important}
/* formularios */
.agf-types{display:flex;flex-direction:column;gap:5px;padding:4px 2px 0}
.agf-type{display:flex;align-items:center;gap:10px;min-height:40px;padding:0 8px;border:1px solid var(--line);border-radius:9px;background:var(--panel);font:inherit;font-size:13px;color:var(--text);cursor:pointer;text-align:left}
.agf-type:hover{border-color:var(--accent)}
.agf-g{width:26px;height:26px;border-radius:7px;background:var(--soft2);display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;color:var(--text2);flex:none}
.agf-g.new{background:#FDECEC;color:#C8312F}
.agf-sh{padding:8px 10px 0;white-space:normal!important}
.agf-wrap{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-start}
.agf-list{flex:3 1 420px;min-width:0;display:flex;flex-direction:column;gap:8px}
.agf-list>.btn{align-self:flex-start}
.agf-q{display:flex;gap:12px;align-items:center;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--panel);cursor:pointer}
.agf-q.fix{background:var(--soft);cursor:default}
.agf-q.sel{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
.agf-q:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.agf-qt{flex:1;min-width:0}
.agf-q b{font-weight:600;font-size:14px}
.agf-q .hint{white-space:normal}
.agf-n{width:24px;height:24px;border-radius:50%;background:var(--soft2);color:var(--text2);font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;flex:none}
.agf-q.sel .agf-n{background:var(--accent);color:#fff}
.agf-mv{display:flex;gap:2px}
.agf-ed{flex:2 1 300px;max-width:100%;display:flex;flex-direction:column;gap:12px;position:sticky;top:0}
.agf-eh{font-size:12px;font-weight:600;color:var(--muted)}
.agf-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.agf-c{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;font-size:14px!important;color:var(--text)!important;font-weight:400!important}
.agf-c input{width:16px;height:16px;margin:0;accent-color:var(--accent)}
.agf-note{background:var(--soft);border-radius:9px;padding:10px 12px;font-size:13px;line-height:1.5;white-space:normal}
.agf-ed>.btn{align-self:flex-start}
/* enrutamiento */
.agr-board{background-color:var(--panel);background-image:radial-gradient(var(--line2) 1px,transparent 1px);background-size:18px 18px;border:1px solid var(--line);border-radius:12px;padding:24px 18px;overflow-x:auto}
.agr-in{min-width:max(720px,calc(var(--n,3) * 220px))}
.agr-c{display:flex;justify-content:center}
.agr-node{display:flex;flex-direction:column;gap:3px;background:var(--panel);border:1px solid var(--line2);border-radius:11px;padding:12px 14px;box-shadow:0 1px 2px #0000000d;text-align:left;width:100%;box-sizing:border-box}
.agr-node.top{width:300px;text-align:center;align-items:center}
.agr-node.q{border:1.5px solid var(--accent)}
.agr-node.q .agr-k{color:var(--accent)}
.agr-node.rej{border-color:#F8D3D3;background:#FFF7F7}
.agr-node.rej .agr-k{color:#B42318}
.agr-node.dash{border-style:dashed}
.agr-node .hint{white-space:normal}
.agr-k{font-size:11px;font-weight:600;color:var(--muted)}
.agr-vl{display:block;width:1.5px;height:22px;background:#C7CAD1;margin:0 auto}
.agr-vl.s{height:12px}
.agr-hl{height:1.5px;background:#C7CAD1;margin:0 calc(50% / var(--n,2))}
.agr-cols{display:grid;grid-template-columns:repeat(var(--n,2),minmax(0,1fr));gap:14px}
.agr-col{display:flex;flex-direction:column;align-items:center;border:0;background:none;padding:0;font:inherit;color:inherit;cursor:pointer;text-align:left}
.agr-col:hover .agr-node,.agr-col:focus-visible .agr-node{border-color:var(--accent)}
.agr-cond{display:inline-block;font-size:12px;font-weight:600;background:var(--text);color:#fff;border-radius:99px;padding:5px 11px;text-align:center;max-width:100%}
.agr-cond.alt{background:var(--panel);color:var(--text2);border:1px solid var(--line2)}
.agr-who{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.agr-who b{font-size:14px}
.agr-st{margin-top:8px;font-size:11px;text-align:center}
.agr-cnd{border:1px solid var(--line);border-radius:10px;padding:10px;display:flex;flex-direction:column;gap:8px;margin-bottom:8px}
.agr-cq{display:flex;align-items:center;gap:8px}
.agr-cq select{flex:1;min-width:0}
.agr-cq .link{margin:0}
.agr-num{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.agr-num input{width:120px}
.agr-u{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.agr-w{display:flex!important;flex-direction:row!important;align-items:center;gap:6px}
.agr-w input{width:70px}
.agr-res{background:var(--soft);border-radius:10px;padding:12px;font-size:14px;line-height:1.5}
/* automatizaciones */
.aga-wrap{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-start}
.aga-list{flex:3 1 400px;min-width:0}
.aga-lh{display:flex;justify-content:space-between;padding:10px 16px;border-bottom:1px solid var(--line)}
.aga-row{display:flex;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid var(--line);cursor:pointer}
.aga-row:last-child{border-bottom:0}
.aga-row:hover{background:var(--soft)}
.aga-row.sel{background:#F3F6FE;box-shadow:inset 3px 0 0 var(--accent)}
.aga-row.off .aga-t{opacity:.55}
.aga-row:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.aga-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.aga-t b{font-size:14px}
.aga-t .hint{white-space:normal}
.aga-ch{display:flex;gap:4px;flex-wrap:wrap}
.aga-ed{flex:2 1 320px;max-width:100%;display:flex;flex-direction:column;gap:12px}
.aga-cs{display:flex;flex-wrap:wrap;gap:4px 16px}
.aga-vars{display:flex;flex-wrap:wrap;gap:5px;align-items:center}
.aga-vars .chipb{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}
.aga-pv{background:#EFEAE2;border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:6px}
.aga-bub{align-self:flex-start;max-width:92%;background:#fff;border-radius:0 9px 9px 9px;padding:8px 10px 6px;font-size:13px;line-height:1.45;color:#111;box-shadow:0 1px 1px #0000001a;word-break:break-word}
.aga-bub small{display:block;text-align:right;font-size:10px;color:#8696a0;margin-top:2px}
.aga-ft{display:flex;gap:8px;justify-content:flex-end}
@media (max-width:820px){.agd-lim,.agd-2,.agf-3{grid-template-columns:1fr 1fr}.agf-ed{position:static}}
.agd-card,.agf-ed,.aga-ed{padding:16px 18px!important;box-sizing:border-box}
.agd-leg .agd-c.closed{border:1px solid var(--line2)}
/* v128 · WhatsApp oficial (Kapso) en Automatizaciones */
.agk{padding:12px 16px!important;margin:0 0 12px;box-sizing:border-box}
.agk-h{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.agk-h b{white-space:nowrap}
.agk-h .hint{flex:1 1 260px;min-width:0}
.agk-h .btn{margin-left:auto}
.agk-dot{width:9px;height:9px;border-radius:50%;background:var(--muted2);flex:none}
.agk-dot.ok{background:var(--ok)}
.agk-err{margin-top:8px;padding:8px 10px;border-radius:8px;background:color-mix(in srgb,var(--danger) 10%,transparent);color:var(--danger);font-size:13px}
.agk-form{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.agk-wide{grid-column:1/-1}
.agk-btns{display:flex;gap:8px;flex-wrap:wrap}
.agk-tpl{display:grid;grid-template-columns:1fr;gap:8px 12px;padding:10px 12px;border:1px dashed var(--line2);border-radius:10px;margin:-2px 0 4px}
.agk-why{margin:0}
.agk-vals{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border-radius:10px;background:var(--soft);font-size:13px}
.agk-vals b{display:inline-block;min-width:38px;color:var(--muted)}
@media (max-width:820px){.agk-form,.agk-tpl{grid-template-columns:1fr}}
/* v132 · Reagendar al cancelar */
.agrb .agk-h .agx-tg{margin-left:auto}
.agrb .agk-h .btn{margin-left:0}
.rb-days{display:flex;gap:4px;flex-wrap:wrap}
.rb-d{position:relative}
.rb-d input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.rb-d span{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:8px;border:1px solid var(--line2);font-size:12.5px;font-weight:600;color:var(--muted)}
.rb-d input:checked+span{background:var(--text);color:#fff;border-color:var(--text)}
.rb-d input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}
/* v183 · Agenda: ver el calendario de cada persona del equipo o el de todos, cada uno con su color (solo administradores) */
#agWho{flex-wrap:wrap}
.ag-wb{display:inline-flex;align-items:center;gap:6px}
.ag-wb i{width:8px;height:8px;border-radius:50%;flex:none}
.ag-wb.off{opacity:.55}
.ag-wb.off::after{content:"sin conectar";font-size:10.5px;font-weight:500;color:var(--muted)}
.ag-ev[data-pc]{border-left:4px solid var(--pc)!important;background:color-mix(in srgb,var(--pc) 14%,var(--panel))!important;color:var(--text)!important}
.ag-ev[data-pc].lead{background:color-mix(in srgb,var(--pc) 22%,var(--panel))!important}
.ag-own{font-weight:600;color:var(--pc)!important;opacity:1!important}
.ag-ad.pc{border-left:3px solid var(--pc)!important}
.ag-lo{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:5px;vertical-align:1px}
/* v196 · Agenda › una página de reserva con todos sus ajustes */
.agp{display:flex;flex-direction:column;gap:14px;min-width:0}
.agp-top{display:flex}
.agp-head h2{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.agp-head .agx-pill{font-size:12px}
.agp-off{color:var(--muted)}
.agp-url{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:center;margin-top:4px;word-break:break-all}
.agp-tabs{display:flex;flex-wrap:wrap;gap:2px;align-self:flex-start;max-width:100%;overflow-x:auto}
.agp-tabs .seg-b{white-space:nowrap}
.agp-tab{min-width:0}
.agp-tab>.agx-head h2{font-size:16px}
.agp-card{padding:18px;display:flex;flex-direction:column;gap:12px}
.agp-card h3{margin:0;font-size:15px;font-weight:600}
.agp-card .hint{margin:0}
.agp-card label{display:flex;flex-direction:column;gap:5px}
.agp-card label.switch{flex-direction:row;align-items:center}
.agp-g2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.agp-g3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;align-items:end}
.agp-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:14px;align-items:start}
.agp-modes{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.agp-modes .rs-mode{cursor:pointer}
.agp-cals{display:flex;flex-direction:column;gap:10px}
.agp-cal{display:grid;grid-template-columns:minmax(110px,auto) 1fr;gap:10px;align-items:center}
.agp-cal select{width:100%}
.agp-sec{display:flex;align-items:baseline;gap:10px;margin-top:6px}
.agp-list{padding:6px 14px}
.agp-bk{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:9px 0;border-bottom:1px solid var(--line)}
.agp-bk:last-child{border-bottom:0}
.agp-bk.pend{background:linear-gradient(90deg,#FDECEC66,transparent)}
.agp-bt{font-variant-numeric:tabular-nums;min-width:150px;font-weight:500}
.agp-danger{display:flex;align-items:center;gap:10px;margin-top:4px}
.agp-note{background:var(--bg2,var(--panel))}
@media (max-width:700px){
  .agp-g2,.agp-g3,.agp-modes{grid-template-columns:1fr}
  .agp-cal{grid-template-columns:1fr}
  .agp-tabs{flex-wrap:nowrap}
  .agp-bt{min-width:0}
}
.agp-tab>.panel{margin-bottom:14px}
/* ── v120 · Agenda › Reservas y Páginas de reserva ── */
#sec-agenda .agx-wrap{flex:1;min-height:0;display:flex;gap:0;border-top:1px solid var(--line)}
#sec-agenda .agx-side{flex:0 0 210px;padding:14px 10px;border-right:1px solid var(--line);overflow-y:auto;display:flex;flex-direction:column;gap:2px}
#sec-agenda .agx-main{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column}
#sec-agenda .agx-main>.ag-body{padding-top:14px}
#sec-agenda.agx-on .sec-head>:not(.ttl){display:none}
.agx-pl{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border-radius:8px;color:var(--text2);text-decoration:none;font-size:14px;min-height:36px;box-sizing:border-box}
.agx-pl:hover{background:var(--soft)}
.agx-pl.on{background:var(--soft2);color:var(--text);font-weight:600}
.agx-pl span{font-size:12px;color:var(--muted);font-weight:400}
.agx-sec{font-size:12px;font-weight:600;color:var(--muted2);padding:14px 10px 4px;margin-top:8px;border-top:1px solid var(--line)}
.agx-ck{display:flex;align-items:center;gap:8px;padding:5px 10px;font-size:13px;color:var(--text2);cursor:pointer;min-height:30px}
.agx-ck input{width:15px;height:15px;margin:0;accent-color:var(--accent)}
.agx-ck span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.agx-dot{width:8px;height:8px;border-radius:50%;display:inline-block;flex:none}
.agx-body{flex:1;min-height:0;overflow:auto;padding:16px 24px 28px;display:flex;flex-direction:column;gap:12px}
.agx-body>*{flex-shrink:0}
.agx-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.agx-ttl{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.agx-head h2{margin:0;font-size:20px;font-weight:600;letter-spacing:-.2px}
.agx-head .seg-b em{font-style:normal;color:var(--muted);font-size:12px;margin-left:2px}
.agx-btns{display:flex;gap:8px;flex-wrap:wrap}
.agx-h3{margin:10px 0 0;font-size:14px;font-weight:600}
.agx-bulk{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 12px 10px 16px;background:#F3F6FE;border-color:#C9D6FA}
.agx-bulk .hint{white-space:normal}
.agx-sp{flex:1}
.agx-red{color:var(--danger)!important}
.agx-tw{padding:0!important;overflow-x:auto}
.agx-t{width:100%;border-collapse:collapse;font-size:14px;min-width:860px}
.agx-t th{text-align:left;font-size:12px;font-weight:500;color:var(--muted);padding:10px 10px;border-bottom:1px solid var(--line);white-space:nowrap}
.agx-t td{padding:11px 10px;border-bottom:1px solid var(--line);vertical-align:middle}
.agx-t tr:last-child td{border-bottom:0}
.agx-t .agx-c0{width:28px;padding-left:16px}
.agx-t tr.sel td{background:#F3F6FE}
.agx-t tr.canc td,.agx-t tr.off td{color:var(--muted);background:var(--soft)}
.agx-pg tr[data-agpg]{cursor:pointer}
.agx-pg tr[data-agpg]:hover td,.agx-pg tr[data-agpg]:focus-visible td{background:var(--soft)}
.agx-t .hint{white-space:normal}
.agx-acts{white-space:nowrap;text-align:right}
.agx-acts .link{margin:0;font-size:13px}
.agx-sep{color:var(--faint);margin:0 6px}
.agx-lead{display:flex;align-items:center;gap:10px}
.agx-nm{font-size:14px!important;color:var(--text)!important;margin:0!important;text-align:left}
.agx-nm:hover{text-decoration:underline}
.agx-av{width:28px;height:28px;border-radius:50%;background:var(--soft2);color:var(--muted2);font-size:11px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;flex:none}
.agx-av.sm{width:22px;height:22px;font-size:10px}
.agx-av.lg{width:40px;height:40px;font-size:14px;background:var(--text);color:#fff}
.agx-pill{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:500;padding:2px 9px;border-radius:99px;border:1px solid var(--line2);background:var(--panel);white-space:nowrap;color:var(--text2)}
.agx-p-ok{background:#E8F5EC;border-color:#CFE9D7;color:#166534}
.agx-p-blue{background:#EEF3FE;border-color:#D3DFFB;color:#1E3FA8}
.agx-p-warn{background:#FDF3E2;border-color:#F3DFB8;color:#8A5A0B}
.agx-p-red{background:#FDECEC;border-color:#F8D3D3;color:#B42318}
.agx-p-gray{background:var(--soft);color:var(--muted2)}
.agx-empty{padding:22px 18px;display:flex;flex-direction:column;gap:8px;align-items:flex-start;white-space:normal}
.agx-foot{white-space:normal;margin-top:2px}
.agx-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.agx-card{display:flex;flex-direction:column;gap:12px}
.agx-card .hint{white-space:normal}
.agx-who{display:flex;align-items:center;gap:12px;min-width:0}
.agx-who>div{min-width:0}
.agx-who .hint{overflow:hidden;text-overflow:ellipsis}
.agx-pills{display:flex;gap:6px;flex-wrap:wrap}
.agx-nums{display:flex;gap:24px}
.agx-nums div{display:flex;flex-direction:column;gap:2px}
.agx-nums b{font-size:17px}
.agx-card .btn{align-self:flex-start;text-decoration:none}
.agx-tg{position:relative;display:inline-block;width:38px;height:22px;flex:none;vertical-align:middle}
.agx-tg input{position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;cursor:pointer;z-index:1}
.agx-tg input:disabled{cursor:not-allowed}
.agx-tg span{position:absolute;inset:0;border-radius:99px;background:#CFD3DA;pointer-events:none;transition:.15s}
.agx-tg span:after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0003;transition:.15s}
.agx-tg input:checked+span{background:var(--accent)}
.agx-tg input:checked+span:after{left:19px}
.agx-tg input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}
.agx-url{white-space:nowrap}
.agx-url .link{margin:0}
.agx-url .hint{white-space:normal;max-width:220px;display:inline-block}
.agx-back{margin:0!important;font-size:14px!important}
.agx-edf{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;padding-top:4px}
.agx-days,.agx-times{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.agx-days .chipb.on,.agx-times .chipb.on{background:var(--text);border-color:var(--text);color:#fff}
.agx-times .chipb{min-width:64px;min-height:34px}
.agx-hand{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;border:1px solid var(--line2);border-radius:10px;margin-bottom:8px;text-decoration:none;color:var(--text)}
.agx-hand:hover{background:var(--soft)}
@media (max-width:820px){
  #sec-agenda .agx-wrap{flex-direction:column}
  #sec-agenda .agx-side{flex:none;flex-direction:row;overflow-x:auto;border-right:0;border-bottom:1px solid var(--line);padding:8px 10px;gap:4px}
  #sec-agenda .agx-side nav{display:flex;gap:4px}
  #sec-agenda .agx-side>:not(nav){display:none}
  .agx-pl{white-space:nowrap}
  .agx-body{padding:12px 12px 24px}
}
.agx-side label.agx-ck{flex-direction:row;align-items:center;font-weight:400;margin:0}
.agx-lead b,.agx-nm,.agx-t td:first-child+td b{white-space:nowrap}
.agx-ttl .seg{max-width:100%;overflow-x:auto;flex-wrap:nowrap}
.agx-ttl .seg-b{flex:none}
/* v129 · Ajustes › Casos de éxito */
.cx{display:flex;flex-direction:column;gap:14px}
.cx-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);overflow-x:auto}
.cx-tabs button{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border:0;background:none;color:var(--muted);font:inherit;font-weight:500;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap}
.cx-tabs button.on{color:var(--text);border-bottom-color:var(--accent)}
.cx-tabs button span{font-size:11px;padding:1px 7px;border-radius:99px;background:var(--soft);color:var(--muted)}
.cx-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.cx-bar .hint{flex:1 1 260px}
.cx-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}
.cx-card{padding:0!important;overflow:hidden;cursor:pointer;display:flex;flex-direction:column;transition:border-color .15s}
.cx-card:hover,.cx-card:focus-visible{border-color:var(--accent)}
.cx-card.off{opacity:.6}
.cx-th{position:relative;aspect-ratio:16/9;background:var(--soft2,var(--soft));display:grid;place-items:center;overflow:hidden}
.cx-th img{width:100%;height:100%;object-fit:cover;display:block}
.cx-th.big{border-radius:10px}
.cx-ph{font-size:40px;font-weight:700;color:var(--muted2)}
.cx-star,.cx-offl{position:absolute;top:8px;left:8px;font-size:11px;font-weight:600;padding:2px 8px;border-radius:99px;background:var(--accent);color:#fff}
.cx-offl{left:auto;right:8px;background:rgba(0,0,0,.6)}
.cx-cb{padding:12px 14px 14px;display:flex;flex-direction:column;gap:4px;min-width:0}
.cx-cb b{line-height:1.3}
.cx-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:4px}
.cx-tags span{font-size:11px;padding:1px 8px;border-radius:99px;border:1px solid var(--line2);color:var(--text2)}
.cx-num{display:flex;gap:12px;margin-top:6px;font-size:12px}
.cx-empty{padding:22px!important;text-align:center}.cx-empty p{max-width:56ch;margin:6px auto 0}
.cx-ed{padding:16px 18px!important;display:flex;flex-direction:column;gap:14px}
.cx-edh,.cx-edf{display:flex;align-items:center;gap:8px}.cx-edh b{flex:1;font-size:16px}
.cx-edg{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:18px}
.cx-edl,.cx-edr{display:flex;flex-direction:column;gap:10px;min-width:0}
.cx-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cx-3{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:12px}
.cx-tgs{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid var(--line);border-radius:10px}
.cx-tgn{display:block;font-size:12px;font-weight:600;color:var(--muted);margin-bottom:5px}
.cx-chips{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.cx-chips .chipb{font-size:12.5px}
.cx-sec{padding:14px 16px!important;display:flex;flex-direction:column;gap:10px;box-sizing:border-box}
.cx-st{font-size:15px}
.cx-onrow{flex-direction:row;align-items:center;gap:14px}.cx-onrow>div{flex:1}
.cx-wa{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:16px;align-items:start}
.cx-wa>div:first-child{display:flex;flex-direction:column;gap:8px}
.cx-pdf{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px dashed var(--line2);border-radius:10px}
.cx-pdfrow{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.cx-pdfrow input[data-cws]{flex:1 1 200px;min-width:0}
.cx-pdfrow label.btn{cursor:pointer}
.cx-try{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}.cx-try .agf-f{flex:1 1 200px}
.cx-save{display:flex;gap:8px;justify-content:flex-end;align-items:center}
.cx-groups{display:flex;flex-direction:column;gap:12px}
.cx-grph{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.cx-gname{flex:1 1 220px;font-weight:600}
.cx-opt{display:inline-flex;align-items:center;gap:4px;font-size:13px;padding:3px 4px 3px 10px;border-radius:99px;border:1px solid var(--line2);background:var(--panel)}
.cx-opt button{border:0;background:none;color:var(--muted);cursor:pointer;font-size:15px;line-height:1;padding:0 5px;border-radius:99px}
.cx-opt button:hover{color:var(--danger)}
.cx-oadd{flex:1 1 180px;min-width:150px;font-size:13px}
@media (max-width:820px){.cx-edg,.cx-wa,.cx-3{grid-template-columns:1fr}.cx-2{grid-template-columns:1fr}}
.cx-wel{display:flex;flex-direction:column;gap:12px}
.cx-th .cx-ph{position:absolute;inset:0;display:grid;place-items:center}
.cx-th img{position:relative;z-index:1}
/* v160 · Ajustes › Conectar con Claude */
.cm{display:flex;flex-direction:column;gap:14px;max-width:860px}
.cm-box{padding:16px;display:flex;flex-direction:column;gap:10px}
.cm-sw{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;font-size:14px}
.cm-sw input{width:auto!important;min-height:0!important}
.cm-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.cm-row input{flex:1 1 320px;min-width:0;font-family:ui-monospace,monospace;font-size:12px}
.cm-row .spacer{flex:1}
.cm-ol{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px;font-size:13px}
.cm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.cm-grid small{font-size:12px;font-weight:600;color:var(--muted)}
.cm-grid ul{margin:6px 0 0;padding-left:18px;font-size:13px;color:var(--muted2);display:flex;flex-direction:column;gap:4px}
@media (max-width:760px){.cm-grid{grid-template-columns:1fr}}
/* v138 · Contactos personales */
.pc{display:flex;flex-direction:column;gap:14px}
.pc-add{padding:14px 16px!important;display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}
.pc-add label{flex:1 1 220px;display:flex;flex-direction:column;gap:5px;font-size:12.5px;font-weight:600;color:var(--text2)}
/* Cláusulas especiales del cliente (ficha del lead › Venta › Contrato) */
.ct-cl{margin:10px 0 12px;padding:10px 12px;border:1px dashed var(--line2);border-radius:12px;background:var(--soft);display:flex;flex-direction:column;gap:6px}
.ct-cl.on{border-style:solid;border-color:var(--accentLine);background:var(--accentBg)}
.ct-cl label{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:13px}
.ct-cl-st{font-size:12px;color:var(--muted)}
.ct-cl.on .ct-cl-st{color:var(--accent)}
.ct-cl textarea{width:100%;min-height:64px;resize:vertical;border:1px solid var(--line2);border-radius:10px;padding:8px 10px;background:var(--panel);font-size:13px;line-height:1.45}
.ct-cl-f{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.ct-cl-f .hint{margin:0;font-size:12px}
.ct-cl-tag{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:999px;background:var(--accentBg);color:var(--accent);font-size:11px;font-weight:600;vertical-align:middle}
/* Contratos: propietario en cada tarjeta y filtro por propietario */
.ctk-filtro{display:flex;align-items:center;gap:8px;margin:0 0 12px}
.ctk-filtro label{font-size:13px;font-weight:600;color:var(--muted2)}
.ctk-filtro select{padding:6px 10px;border:1px solid var(--line2);border-radius:10px;background:var(--panel);min-width:200px;max-width:100%}
.ctk-own{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--muted2);margin:4px 0 2px}
.ctk-own.none{color:var(--faint);font-style:italic}
.avatar.xs{width:18px;height:18px;font-size:9px}
.ctk-own small{color:var(--faint);font-size:11px}
.ctk-own[role=button]{cursor:pointer;border-radius:8px;padding:2px 6px 2px 2px;margin-left:-2px}
.ctk-own[role=button]:hover,.ctk-own[role=button]:focus-visible{background:var(--soft);outline:none}
.ctk-own svg{width:12px;height:12px;opacity:.6}
.ctk-menu{position:fixed;z-index:10000;min-width:220px;max-width:calc(100vw - 16px);background:var(--panel);border:1px solid var(--line2);border-radius:12px;box-shadow:var(--shadow);padding:6px}
.ctk-menu p{margin:4px 8px 6px;font-size:12px;color:var(--muted);font-weight:600}
.ctk-menu button{display:flex;align-items:center;gap:8px;width:100%;border:0;background:none;padding:8px;border-radius:8px;text-align:left;cursor:pointer;font-size:13px}
.ctk-menu button:hover{background:var(--soft)}
.ctk-menu button.on{font-weight:700}
.ctk-menu button.on::after{content:"\2713";margin-left:auto}
.ctk-menu button.auto{color:var(--muted2);border-top:1px solid var(--line);border-radius:0 0 8px 8px;margin-top:4px}
/* v146 · Quitar un contrato del tablero de Contratos (aspa que aparece al pasar el ratón) */
.ctk-w{position:relative;display:flex;flex-direction:column}
.ctk-w>.ctk-card{flex:1}
.ctk-x{position:absolute;top:6px;right:6px;width:24px;height:24px;border-radius:999px;border:1px solid var(--line2);background:var(--soft2);color:var(--text);
  display:grid;place-items:center;font-size:15px;line-height:1;cursor:pointer;opacity:0;transform:scale(.85);transition:opacity .15s,transform .2s,background .15s,color .15s}
.ctk-w:hover .ctk-x,.ctk-x:focus-visible{opacity:1;transform:none}
.ctk-x:hover{background:var(--dangerBg);color:var(--danger);border-color:transparent}
.ctk-w:hover .ctk-card .ctk-t>b:last-child{margin-right:24px}
@media (hover:none){.ctk-x{opacity:.8;transform:none}.ctk-card .ctk-t>b:last-child{margin-right:24px}}
/* v192 · Discord (modulos/discord.js): Ajustes › Discord y pestaña «Discord» de la ficha */
.dc-form{grid-template-columns:minmax(0,1fr)}
.dc-seg{display:flex;gap:2px;padding:3px;border-radius:10px;background:var(--soft,#EEF0F4)}
.dc-seg button{border:0;background:none;padding:5px 10px;border-radius:8px;font:inherit;font-size:12px;color:var(--muted);cursor:pointer;white-space:nowrap}
.dc-seg button[aria-selected=true]{background:var(--panel);color:var(--ink);font-weight:600;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.dc-gente{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.dc-p{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 12px;border-top:1px solid var(--line)}
.dc-p:first-child{border-top:0}
.dc-av{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#E3E5FC;color:#4048B8;font-size:12px;font-weight:700}
.dc-who{display:flex;flex-direction:column;min-width:0;gap:2px}.dc-who small{font-size:12px;color:var(--muted)}
.dc-who q{font-size:12px;color:var(--text2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;quotes:"«" "»"}
.dc-acc{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.dc-acc input{width:220px;max-width:100%}
.dc-lead{font-size:13px}
#dDc{display:none}
#dSide[data-st=dc] #dDc{display:flex}
.dcf{flex-direction:column;gap:12px;margin:0 0 12px}
.dc-cuentas{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.dc-chip{display:inline-flex;align-items:center;gap:4px;padding:3px 4px 3px 10px;border-radius:99px;background:#E3E5FC;color:#3A41A6;font-size:12px;font-weight:600}
.dc-chip button{border:0;background:none;color:inherit;cursor:pointer;font-size:11px;padding:2px 6px;border-radius:99px}
.dc-chip button:hover{background:rgba(0,0,0,.08)}
.dc-cuentas select{font-size:12px;max-width:100%}
.dc-list{display:flex;flex-direction:column;gap:8px}
.dc-list h5{margin:6px 0 0;font-size:11px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.dc-m{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.dc-m header{display:flex;align-items:center;gap:8px;font-size:12px}.dc-m header b{color:#4048B8}
.dc-m header span{color:var(--muted)}.dc-m header a{margin-left:auto;font-size:12px;color:var(--muted)}
.dc-m p{margin:0;font-size:13px;line-height:1.5;white-space:pre-wrap;word-break:break-word}
.dc-ref{font-size:12px;color:var(--muted)}
@media (max-width:760px){.dc-p{grid-template-columns:36px minmax(0,1fr)}.dc-acc{grid-column:1/-1;justify-content:flex-start}}
/* v193 · avisos por WhatsApp */
.dc-h4{margin:10px 0 0;font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.dc-eq{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.dc-eqr{display:grid;grid-template-columns:minmax(120px,1fr) minmax(160px,1fr) minmax(200px,1.4fr);gap:10px;align-items:center;padding:8px 12px;border-top:1px solid var(--line);font-size:13px}
.dc-eqr:first-child{border-top:0}.dc-eqr.th{font-size:12px;color:var(--muted);font-weight:600}
.dc-eqr input,.dc-eqr select{width:100%;min-width:0;box-sizing:border-box}
.dc-reglas{display:flex;flex-direction:column;gap:6px}
.dc-regla{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px}
.dc-regla select{max-width:240px}
.dc-gsel{display:flex;flex-wrap:wrap;gap:4px 16px}
.dc-prueba{flex-wrap:wrap;gap:6px}
@media (max-width:760px){.dc-eqr{grid-template-columns:1fr}.dc-eqr.th{display:none}}
#dcAv .lk-sw{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:8px;font-weight:400;font-size:13px;color:var(--text2,inherit)}#dcAv .lk-sw input{margin-top:2px;flex:none;width:auto}
/* v218 · Ajustes › Dominios */
.dm { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.dm-box { display: flex; flex-direction: column; gap: 10px; padding: 16px; }
.dm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dm-st { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--bg2, #f1f1f1); }
.dm-st.ok { background: #dcfce7; color: #166534; }
.dm-st.warn { background: #fef3c7; color: #92400e; }
.dm-st.bad { background: #fee2e2; color: #991b1b; }
.dm-row { display: flex; gap: 8px; align-items: center; }
.dm-row input { flex: 1; min-width: 0; }
.dm-msg { margin: 0; }
.dm-dns { display: flex; flex-direction: column; gap: 6px; }
.dm-dns table { border-collapse: collapse; font-size: 13px; }
.dm-dns th, .dm-dns td { text-align: left; padding: 6px 10px; border: 1px solid var(--line, #e4e4e7); }
.dm-actions { display: flex; gap: 8px; }
/* v179 · Ficha empresa (modulos/empresa-ficha.js) */
#dEnt[data-sub=empresa] .ent-sec:not([data-sub~=empresa]){display:none}
.emf .ent-fh{flex-wrap:wrap;gap:8px}
.emf-tipo{display:flex;gap:8px;margin:4px 0 0}
.emf-h{font-size:13px;font-weight:600;margin:16px 0 8px;opacity:.75}
.emf .dc-grid{margin-top:0}
.emf-ed{font-style:normal;font-size:11px;padding:0 6px;border-radius:999px;background:rgba(245,165,36,.18);color:#B7791F;margin-left:4px}
/* v221 · Encuestas de grupos */
.enc{display:flex;flex-direction:column;gap:4px;margin-top:6px;min-width:220px}
.enc-t{font-weight:600;margin-bottom:2px}
.enc-op{display:grid;grid-template-columns:minmax(80px,1fr) 90px auto;align-items:center;gap:8px;font-size:13px}
.enc-n{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.enc-bar{height:6px;border-radius:3px;background:color-mix(in srgb,var(--text) 10%,transparent);overflow:hidden}
.enc-bar i{display:block;height:100%;background:var(--accent);border-radius:3px}
.enc-pie{opacity:.7}
.enc-c .enc-op{font-size:12px}
.rg-votos{font-size:12px;opacity:.85}
#rgMsgs{flex:none}
/* v184 · Enlaces con seguimiento en la ficha (modulos/enlaces.js) */
#dLk{display:none}
#dSide[data-st=lk] #dLk{display:flex}
.lk{flex-direction:column;gap:12px;margin:0 0 12px}
.lk-h{display:flex;align-items:center;gap:10px}
.lk-h>div{display:flex;flex-direction:column}.lk-h b{font-size:14px}.lk-h small{font-size:12px;color:var(--muted)}
.lk-new{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:10px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.lk-new[hidden]{display:none}
.lk-new label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:600;color:var(--muted)}
.lk-new-a{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px}
.lk-ok code{word-break:break-all}

.lk-ok{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 12px;border-radius:10px;background:#DCF5E3;color:#146C34;font-size:13px}
.lk-ok code{font-size:13px;background:rgba(255,255,255,.7);padding:3px 8px;border-radius:6px;color:#0F3D1F}
.lk-list{display:flex;flex-direction:column;gap:8px}
.lk-it{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.lk-top{display:flex;align-items:flex-start;gap:12px}
.lk-n{width:62px;flex:none;display:flex;flex-direction:column;align-items:center;padding:6px 0;border-radius:10px;background:#E1E8FF;color:#2443B5}
.lk-n b{font-size:22px;line-height:1.1}.lk-n small{font-size:10px;font-weight:600}
.lk-n.zero{background:var(--soft,#EEF0F4);color:var(--muted)}
.lk-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.lk-tx>b{font-size:14px}.lk-tx small{font-size:12px;color:var(--muted)}.lk-tx small b{color:var(--text2)}
.lk-tx a{color:inherit}
.lk-tag,.lk-hot{font-style:normal;font-size:11px;font-weight:600;padding:1px 7px;border-radius:99px;background:var(--soft,#EEF0F4);color:var(--muted);margin-left:4px}
.lk-hot{background:#FDEBD0;color:#8A4B00}
.lk-acts{display:flex;gap:4px;flex:none}
.lk-hist summary{cursor:pointer;font-size:12px;color:var(--muted)}
.lk-hist ol{margin:6px 0 0;padding-left:20px;font-size:12px;color:var(--text2);display:flex;flex-direction:column;gap:2px;max-height:180px;overflow:auto}
.lk-empty{margin:0;padding:14px;border:1px dashed var(--line);border-radius:12px;font-size:13px;color:var(--muted);line-height:1.5}
@media (max-width:760px){.lk-new{grid-template-columns:1fr}.lk-h{flex-wrap:wrap}}
.lk-sw{display:flex;gap:8px;align-items:flex-start;font-size:12px;color:var(--muted);line-height:1.45}
/* Entregar › Clientes y Renovaciones: lista tipo Monday, kanban y calendario (modulos/entrega-vistas.js) */
.evx-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:4px 0 14px}
.evx-bar .seg-b{display:inline-flex;align-items:center;gap:6px}.evx-bar .seg-b svg,.evx-bar .btn svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}
.evx-sel{display:flex!important;flex-direction:row!important;align-items:center;gap:6px;font-size:12px;color:var(--muted)}.evx-sel select{width:auto;min-width:120px}
.evx-late{color:#DC2626}
.evx-body{display:flex;flex-direction:column;gap:18px;padding-bottom:32px}
.evx-none{padding:40px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:12px}
.evx-grp{border-radius:12px}
.evx-grp.drop .evx-tb{outline:2px dashed var(--g)}
.evx-gh{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.evx-gt{display:flex;align-items:center;gap:6px;border:0;background:none;padding:0;font:inherit;font-size:15px;font-weight:600;color:var(--g);cursor:pointer}
.evx-gt svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;transition:transform .15s}.evx-gt[aria-expanded=false] svg{transform:rotate(-90deg)}
.evx-gh em{font-style:normal;font-size:12px;color:var(--muted)}
.evx-tb{border:1px solid var(--line);border-left:4px solid var(--g);border-radius:10px;background:var(--panel);overflow:hidden}
.evx-tb{overflow-x:auto}
.evx-tr{display:grid;grid-template-columns:var(--cols);min-width:max-content;align-items:center;min-height:48px;border-bottom:1px solid var(--line);font-size:13px;cursor:pointer}
.evx-tr>span{padding:6px 10px;border-left:1px solid var(--line);min-width:0;height:100%;display:flex;align-items:center}
.evx-tr>span:first-child{border-left:0}
.evx-tr:last-child{border-bottom:0}
.evx-tr:not(.evx-th):hover{background:var(--soft,rgba(0,0,0,.025))}
.evx-tr.ghost{opacity:.4}
.evx-th{min-height:36px;font-size:12px;color:var(--muted);cursor:default;background:var(--bg)}
.evx-cl{flex-direction:column;align-items:flex-start!important;justify-content:center}.evx-cl b{font-weight:600}.evx-cl small{font-size:12px;color:var(--muted)}
.evx-pill{width:100%;min-height:30px!important;border:0!important;border-radius:6px!important;background:var(--c)!important;color:#fff!important;font-weight:600!important;font-size:12px!important;text-align:center;cursor:pointer;padding:0 6px!important}
.evx-pill option{background:var(--panel);color:var(--ink)}
.evx-sal{gap:6px}
.evx-avt{display:inline-flex;align-items:center;gap:6px}.evx-avt i{width:24px;height:24px;border-radius:50%;background:#DCE4FB;color:#1F47C2;font-style:normal;font-size:10px;font-weight:600;display:grid;place-items:center}
.evx-pr{display:flex;align-items:center;gap:6px;width:100%}.evx-pr i{flex:1;height:6px;border-radius:3px;background:var(--line);display:block}.evx-pr b{display:block;height:6px;border-radius:3px;background:#16A34A}.evx-pr small{font-size:11px;color:var(--muted)}
.evx-rc{gap:8px}
.evx-renl{position:relative;display:inline-flex!important;flex-direction:row!important;cursor:pointer}
.evx-renl input[type=date]{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;min-height:0!important}
.evx-ren{display:inline-flex;align-items:baseline;gap:6px;padding:3px 8px;border-radius:6px;font-weight:600;font-size:12px;white-space:nowrap}
.evx-ren small{font-weight:400;font-size:11px;opacity:.85}
.evx-ren.late{background:rgba(220,38,38,.12);color:#DC2626}.evx-ren.soon{background:rgba(217,119,6,.14);color:#B45309}.evx-ren.mid{background:rgba(234,179,8,.14);color:#A16207}.evx-ren.far{background:rgba(22,163,74,.12);color:#15803D}.evx-ren.none{background:var(--line);color:var(--muted);font-weight:500}
.evx-empty{padding:16px;text-align:center;color:var(--muted);font-size:13px}
.evx-kb{display:grid;gap:14px;overflow-x:auto;padding-bottom:8px;align-items:start}
.evx-kc{background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:8px;min-height:200px}
.evx-kc.drop{outline:2px dashed var(--g);background:color-mix(in srgb,var(--g) 6%,var(--bg))}
.evx-kc header{display:flex;align-items:center;gap:8px;padding:2px 4px}.evx-kc header i{width:10px;height:10px;border-radius:50%;background:var(--g)}.evx-kc h2{font-size:13px;margin:0;font-weight:600;flex:1}.evx-kc em{font-style:normal;font-size:12px;color:var(--muted)}
.evx-kl{display:flex;flex-direction:column;gap:8px}
.evx-kcard{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:10px 12px;display:flex;flex-direction:column;gap:8px;cursor:pointer;font-size:13px}
.evx-kcard:hover{border-color:var(--accent)}.evx-kcard.ghost{opacity:.4}
.evx-kt{display:flex;align-items:center;justify-content:space-between;gap:8px}.evx-kt b{font-weight:600}
.evx-km{display:flex;align-items:center;justify-content:space-between}
.evx-fz{font-size:11px;font-weight:600;padding:2px 8px;border-radius:99px;background:color-mix(in srgb,var(--c) 16%,transparent);color:var(--c)}
.evx-kf{display:flex;align-items:center;justify-content:space-between;gap:6px}
.evx-kr{align-self:flex-start}
.evx-cal{border:1px solid var(--line);border-radius:12px;background:var(--panel);overflow:hidden}
.evx-calh{display:flex;align-items:center;gap:8px;padding:10px 14px;border-bottom:1px solid var(--line)}.evx-calh h2{font-size:15px;margin:0 6px;font-weight:600;min-width:150px;text-align:center}
.evx-leg{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}.evx-leg i{width:8px;height:8px;border-radius:50%;margin-left:8px}
.evx-cg{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.evx-dw{padding:8px 10px;font-size:12px;color:var(--muted);border-bottom:1px solid var(--line)}
.evx-dc{min-height:112px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:6px;display:flex;flex-direction:column;gap:3px;min-width:0}
.evx-dc:nth-child(7n){border-right:0}
.evx-dc.out{background:var(--bg)}.evx-dc.out .evx-dn{opacity:.4}
.evx-dn{font-size:12px;font-weight:600;color:var(--ink);width:24px;height:24px;display:grid;place-items:center;border-radius:50%}
.evx-dc.today .evx-dn{background:var(--accent);color:#fff}
.evx-ev{display:flex;align-items:center;gap:5px;border:0;background:color-mix(in srgb,var(--c) 12%,transparent);color:var(--ink);border-radius:5px;padding:2px 6px;font:inherit;font-size:11px;text-align:left;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.evx-ev i{width:6px;height:6px;border-radius:50%;background:var(--c);flex:none}
.evx-ev:hover{background:color-mix(in srgb,var(--c) 22%,transparent)}
.evx-more{font-size:11px;color:var(--muted);padding-left:4px}
.evx-avs{padding:16px 18px;display:flex;flex-direction:column;gap:14px}
.evx-tp{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--ink)}.evx-tp b{width:120px;font-weight:500}.evx-tp input{flex:1}
@media (max-width:900px){.evx-tr{grid-template-columns:minmax(0,1fr) 120px 110px}.evx-tr>span:nth-child(n+4):not(:last-child){display:none}.evx-dc{min-height:70px}.evx-ev{font-size:0;padding:3px}.evx-ev i{width:8px;height:8px}}
body .evx-avs .efe-c{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;font-size:13px;font-weight:500;color:var(--ink)}
body .evx-avs .efe-c input{width:auto;margin:0}
.evx-prog,.evx-cf{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* v154 · Entregar: pipeline de entrega, clientes, renovaciones y pestaña «Entrega» de la ficha */
.ent{display:flex;flex-direction:column;gap:16px;padding:20px 24px 32px;min-width:0}
.ent .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.ent-head{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.ent-head h1{margin:0;font-size:20px;font-weight:600}
.ent-head .hint{margin:4px 0 0}
.ent-head .spacer{flex:1}
.ent-search{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;height:32px;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--muted)}
.ent-search svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.ent-search input{border:0!important;background:transparent!important;min-height:0!important;padding:0!important;width:200px;color:var(--ink);outline:none}
.ent-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.ent-lbl{font-size:12px;color:var(--muted);margin-left:8px}
.ent-chip{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:0 12px;border-radius:999px;border:1px solid var(--line);background:var(--panel);color:var(--ink);font-size:12px;cursor:pointer}
.ent-chip.sm{min-height:26px;padding:0 10px}
.ent-chip b{font-weight:600}
.ent-chip.on{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 14%,var(--panel))}
.ent-dot{display:inline-block;width:8px;height:8px;border-radius:50%;flex:none}
.ent-verde{background:#22C55E}.ent-ambar{background:#F59E0B}.ent-rojo{background:#EF4444}
.ent-w-verde{color:#15803D}.ent-w-ambar{color:#B45309}.ent-w-rojo{color:#DC2626}
.ent-wrap{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start}
.ent-board{flex:999 1 560px;min-width:0;display:grid;gap:16px;overflow-x:auto;padding-bottom:4px}
.ent-col{display:flex;flex-direction:column;gap:10px;min-width:250px;border-radius:12px;padding:2px}
.ent-col.over{outline:2px dashed var(--accent);outline-offset:2px}
.ent-colh{display:flex;align-items:center;gap:8px;min-height:32px}
.ent-colh h2{margin:0;font-size:14px;font-weight:600}
.ent-colh em{font-style:normal;font-size:13px;color:var(--muted)}
.ent-acts{margin-left:auto;font-size:12px;font-weight:600;color:var(--accent);background:transparent;border:1px solid transparent;border-radius:6px;padding:3px 8px;cursor:pointer}
.ent-acts.on{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,transparent)}
.ent-list{display:flex;flex-direction:column;gap:10px;min-height:60px}
.ent-empty{border:1px dashed var(--line2);border-radius:12px;padding:16px;font-size:12px;color:var(--muted);text-align:center}
.ent-card{display:flex;flex-direction:column;gap:8px;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:12px 14px;cursor:pointer;text-align:left}
.ent-card:hover{border-color:var(--line2)}
.ent-card.drag{opacity:.5}
.ent-ch{display:flex;align-items:center;gap:10px}
.ent-av{width:32px;height:32px;border-radius:50%;background:var(--line);color:var(--muted2);font-size:12px;font-weight:600;display:flex;align-items:center;justify-content:center;flex:none}
.ent-cn{display:flex;flex-direction:column;min-width:0}
.ent-cn b{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ent-cn small{font-size:12px;color:var(--muted)}
.ent-sd{margin-left:auto;display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600;white-space:nowrap}
.ent-msg{margin:0;font-size:13px;color:var(--muted2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ent-why{margin:0;font-size:12px;font-weight:500}
.ent-cf{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}
.ent-prog{flex:1;height:4px;border-radius:2px;background:var(--line)}
.ent-prog i{display:block;height:4px;border-radius:2px}
.ent-tk{white-space:nowrap}
.ent-ow{width:22px;height:22px;border-radius:50%;background:var(--accent);color:#fff;font-size:10px;font-weight:600;display:flex;align-items:center;justify-content:center;flex:none}
.ent-panel{flex:1 1 320px;max-width:100%;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:12px;box-sizing:border-box}
.ent-ph{display:flex;align-items:center;gap:8px}
.ent-ph h2{margin:0;font-size:14px;font-weight:600;flex:1}
.ent-legend{display:flex;flex-wrap:wrap;gap:6px}
.ent-k{display:inline-flex;align-items:center;min-height:22px;padding:0 8px;border-radius:999px;font-size:11px;white-space:nowrap}
.ent-k-auto{background:color-mix(in srgb,#22C55E 16%,transparent);color:#15803D}
.ent-k-ia{background:color-mix(in srgb,#A855F7 16%,transparent);color:#7E22CE}
.ent-k-man{border:1px solid var(--line2);color:var(--muted2)}
.ent-kd{width:6px;height:6px;border-radius:50%;flex:none}
.ent-kd.ent-k-auto{background:#22C55E}.ent-kd.ent-k-ia{background:#A855F7}.ent-kd.ent-k-man{background:transparent;border:1.5px solid var(--muted)}
.ent-g{display:flex;flex-direction:column;gap:6px}
.ent-g h3{margin:4px 0 0;font-size:12px;font-weight:600;color:var(--muted)}
.ent-act{display:flex;align-items:center;gap:10px;background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:8px 10px;font-size:13px}
.ent-act>span:nth-child(2){flex:1}
.ent-act small{font-size:11px;color:var(--muted);margin-left:auto;white-space:nowrap}
.ent-note{border-top:1px solid var(--line);padding-top:10px}
.ent-ck{display:flex;align-items:center;gap:8px;font-size:13px}
.ent-f{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--muted)}
.ent-ef{display:flex;flex-direction:column;gap:8px;border:1px solid var(--line);border-radius:12px;padding:10px}
.ent-efh{display:flex;align-items:center;gap:6px}
.ent-efh input[type=color]{width:32px;height:32px;padding:2px!important;border-radius:8px;flex:none}
.ent-efh input[data-ff=name]{flex:1;font-weight:600}
.ent-dd{display:flex;align-items:center;gap:4px;font-size:12px;color:var(--muted)}
.ent-dd input{width:56px}
.ent-ea{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) 28px;gap:6px;align-items:center}
.ent-ea input{grid-column:1/-1}
.ent-ea select{min-width:0}
.ent-ea button{justify-self:end}
.ent-eb{display:flex;justify-content:flex-end;gap:8px;position:sticky;bottom:0;background:var(--panel);padding-top:8px}
.ent-table{display:flex;flex-direction:column;background:var(--panel);border:1px solid var(--line);border-radius:12px;overflow-x:auto}
.ent-tr{display:grid;grid-template-columns:minmax(180px,1.4fr) minmax(140px,1fr) minmax(160px,1.2fr) 80px 120px 120px;gap:12px;align-items:center;padding:12px 16px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);text-align:left;font-size:13px;cursor:pointer;min-width:860px}
.ent-tr-r{grid-template-columns:minmax(180px,1.4fr) minmax(160px,1fr) minmax(160px,1.2fr) minmax(120px,1fr) 120px}
.ent-tr:last-child{border-bottom:0}
.ent-tr:hover:not(.ent-th){background:color-mix(in srgb,var(--accent) 6%,transparent)}
.ent-tr>span{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0}
.ent-tr small{font-size:12px;color:var(--muted);width:100%}
.ent-tr>span:first-child{flex-direction:column;align-items:flex-start;gap:2px}
.ent-th{cursor:default;font-size:12px;color:var(--muted);font-weight:600}
.ent-pick{display:flex;flex-direction:column;gap:8px;background:var(--panel);border:1px solid var(--accent);border-radius:12px;padding:12px 16px;max-width:520px}
.ent-pr{display:flex;flex-direction:column;gap:4px}
.ent-pi{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:8px;border:1px solid var(--line);background:var(--bg);color:var(--ink);cursor:pointer;text-align:left}
.ent-pi small{color:var(--muted)}
/* ficha del lead: pestaña Entrega */
.drawer-body[data-tab=ent] #dEnt{display:flex}
.d-spane[data-st=ent] #dEnt{display:flex!important}
#dEnt.ent-fp{flex-direction:column;gap:12px;padding:12px 14px}
.d-spane #dEnt.ent-fp{padding:4px 0}
.ent-fx{display:flex;flex-direction:column;align-items:flex-start;gap:8px;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:16px}
.ent-fx .hint{margin:0}
.ent-fcards{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:14px 16px}
.ent-fcards>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.ent-fcards small{font-size:12px;color:var(--muted)}
.ent-fcards b{display:flex;align-items:center;gap:6px;font-size:15px;font-weight:600}
.ent-fcards em{font-style:normal;font-size:12px;color:var(--muted)}
.ent-fcards select,.ent-fcards input{font-weight:600}
.ent-fh{display:flex;align-items:baseline;gap:8px;margin-top:4px}
.ent-fh b{font-size:14px}
.ent-fa{cursor:pointer}
.ent-fa input{margin:0}
.ent-fa.ok>span:nth-child(2){text-decoration:line-through;color:var(--muted)}
.ent-ff{display:flex;justify-content:flex-end}
@media (max-width:760px){.ent{padding:16px}.ent-fcards{grid-template-columns:1fr}.ent-search input{width:140px}}

.ent-ck,.ent-dd,.ent-fa,.ent label.ent-act{display:flex!important;flex-direction:row!important;align-items:center;text-align:left}
#dEnt label.ent-act{display:flex!important;flex-direction:row!important;align-items:center;text-align:left}
#dEnt .ent-fa>span:nth-child(2){flex:1}
/* v155 · grupo del cliente y borrador del resumen */
.ent-draft{margin:0;font-size:12px;font-weight:500;color:#B45309;background:color-mix(in srgb,#F59E0B 14%,transparent);border-radius:8px;padding:6px 8px}
.ent-nog{margin:0;font-size:12px;color:var(--muted)}
.ent-blk{display:flex;flex-direction:column;gap:10px;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:12px 14px}
.ent-blk .ent-fh{margin:0;align-items:center;flex-wrap:wrap}
.ent-blk .spacer{flex:1}
.ent-blk-ia{border-color:color-mix(in srgb,#A855F7 40%,var(--line))}
.ent-blk textarea{width:100%;box-sizing:border-box;font-size:13px;line-height:1.5;resize:vertical}
.ent-bb{display:flex;align-items:center;gap:8px}
.ent-bb .spacer{flex:1}
.ent-grow{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.ent-grow select{flex:1 1 220px;min-width:0}
.ent-gnew{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.ent-gnew .ent-f{width:100%}
.ent-feed{display:flex;flex-direction:column;gap:8px;max-height:340px;overflow:auto;background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:10px}
.ent-gm{align-self:flex-start;max-width:85%;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:6px 10px;font-size:13px;white-space:pre-wrap}
.ent-gm.me{align-self:flex-end;background:color-mix(in srgb,var(--accent) 12%,var(--panel))}
.ent-gm small{display:block;font-size:11px;color:var(--muted);margin-bottom:2px}
.ent-gm em{display:block;font-style:normal;color:var(--muted);font-size:12px;margin-top:4px}
.ent-gsend{display:flex;gap:8px;align-items:flex-end}
.ent-gsend textarea{flex:1}
#dEnt .ent-fa input[type=checkbox]{width:16px!important;height:16px;min-height:0!important;flex:none;margin:0}
#dEnt .ent-fa>span:nth-child(2){flex:1 1 auto;min-width:0}
#dEnt .ent-fa .ent-k{flex:none}
.ent-blk>.btn{align-self:flex-start}
/* v156 · Bandeja: Todos / Leads / Clientes */
.ch-kind button{flex:0 0 auto;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:6px;height:28px;border:0;border-radius:6px;background:transparent;color:var(--muted2);font-size:12px;cursor:pointer}
.ch-kind button.on{background:var(--panel);color:var(--ink);font-weight:600}
.ch-kind em{font-style:normal;font-size:11px;color:var(--muted)}
/* v156 · sesiones, formularios y comunicación programada */
.ent-tr-s{grid-template-columns:minmax(180px,1.4fr) minmax(180px,1fr) minmax(120px,1fr) 120px;min-width:640px}
.ent-tr-f{grid-template-columns:minmax(200px,2fr) minmax(120px,1fr) 140px;min-width:480px;cursor:default}
.ent-tr-p{grid-template-columns:minmax(160px,1fr) 180px minmax(200px,2fr) 100px;min-width:700px;cursor:default}
.ent-tra{justify-content:flex-end}
.ent-ptx{color:var(--muted2);font-size:13px}
.ent-pages{display:flex;flex-direction:column;gap:6px}
.ent-pg{display:flex;align-items:center;gap:10px;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:10px 14px;font-size:13px}
.ent-pg small{color:var(--muted)}
.ent-pg .spacer{flex:1}
.ent-fed{display:flex;flex-direction:column;gap:12px;max-width:820px}
.ent-efq{display:flex;flex-direction:column;gap:8px;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:12px}
.ent-efqh{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.ent-efqh input[data-qf=label]{flex:1 1 240px}
.ent-efqh select{flex:0 1 220px}
.ent-fr{background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:8px 10px}
.ent-fr summary{cursor:pointer;font-size:13px}
.ent-fq{display:flex;flex-direction:column;gap:2px;padding:6px 0;border-top:1px solid var(--line);font-size:13px;white-space:pre-wrap}
.ent-fq small{color:var(--muted)}
.ent-fed>.btn{align-self:flex-start}
/* v155 · guion de la fase */
.ent-gb{background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:8px 10px;font-size:13px}
.ent-gb ul{margin:4px 0 0;padding-left:18px;color:var(--muted2)}
.ent-gb li{margin:2px 0}
.ent-ef textarea{width:100%;box-sizing:border-box;font-size:12px}
/* v155 · acciones que hace la app */
.ent-ex{grid-column:1/-1;display:flex;flex-direction:column;gap:6px}
.ent-ex textarea{width:100%;box-sizing:border-box;font-size:12px}
#dEnt .ent-fa .btn{flex:none}
/* v156 · conversaciones destacadas */
.est-btn{font-size:16px}
.est-btn.on{color:#F59E0B}
/* v157 · filtro fijo de la Bandeja (arriba, siempre visible) */
.ch-kind{display:flex;flex-wrap:wrap;gap:4px;padding:3px;border-radius:10px;background:var(--line);align-self:flex-start;position:sticky;top:0;z-index:3;margin-bottom:8px}
.ch-kind button{height:30px;font-size:13px}
.ch-kind button.on{box-shadow:0 0 0 1px var(--accent) inset}
.est-team.on{color:var(--accent)}
/* v163 · Clientes: filtros, columnas y campos personalizados */
.ent-filt{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px}
.ent-filt .spacer{flex:1}
.ent-sel{display:flex!important;flex-direction:column!important;gap:4px;font-size:11px;color:var(--muted)}
.ent-sel select{min-width:150px}
.ent-trc{grid-template-columns:minmax(180px,1.6fr) minmax(120px,1fr) minmax(130px,1fr) minmax(150px,1.2fr) repeat(var(--ncol,0),minmax(120px,1fr)) 110px 110px;min-width:calc(800px + var(--ncol,0)*130px)}
.ce-tpl{display:flex;flex-wrap:wrap;gap:6px}
.ce-tpl button:disabled{opacity:.6;cursor:default}
.ce-row{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) auto 28px 28px;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line)}
.ce-row textarea{grid-column:1/-1;font-size:12px}
.dc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}
.dc-grid input,.dc-grid select{width:100%;box-sizing:border-box}
#dEnt .ent-blk .spacer{flex:1}
@media (max-width:760px){.dc-grid{grid-template-columns:1fr}.ce-row{grid-template-columns:1fr 1fr}}
/* v166 · puntuación del cliente y sesiones 1:1 */
.ent-score{display:inline-flex;align-items:baseline;gap:1px;padding:2px 8px;border-radius:999px;font-variant-numeric:tabular-nums;background:var(--chip,#f1f5f9);cursor:help;white-space:nowrap}
.ent-score b{font-size:13px;font-weight:700}.ent-score small{font-size:10px;opacity:.65}
.ent-score.alta{background:#DCFCE7;color:#166534}.ent-score.media{background:#FEF3C7;color:#92400E}.ent-score.baja{background:#FEE2E2;color:#991B1B}
.ent-uno{display:inline-flex;flex-direction:column;line-height:1.15;cursor:help;min-width:0}.ent-uno b{font-weight:700;font-variant-numeric:tabular-nums}.ent-uno small{font-size:11px;color:var(--muted);white-space:nowrap}
.evx-km .ent-uno{flex-direction:row;align-items:baseline;gap:6px}
/* v166 · tarjetas de agenda de los consultores */
.ecx-h{display:flex;align-items:center;gap:10px}.ecx-h h3{margin:0}
.ecx-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px;margin-top:10px}
.ecx-card{display:flex;flex-direction:column;gap:12px;background:var(--panel);border:1px solid var(--line);border-top:4px solid var(--c);border-radius:14px;padding:16px;min-width:0}
.ecx-card.on{box-shadow:0 0 0 2px var(--c)}
.ecx-card header{display:flex;align-items:center;gap:12px;min-width:0}.ecx-card header>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.ecx-card header b{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ecx-av{flex:none;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-weight:700;color:#fff;background:var(--c)}
.ecx-area{align-self:flex-start;font-size:12px;font-weight:600;padding:2px 8px;border-radius:999px;color:var(--c);background:color-mix(in srgb,var(--c) 12%,transparent)}
.ecx-pg{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--muted);min-width:0}.ecx-pg svg{flex:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}.ecx-pg span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ecx-no{color:#B45309}
.ecx-st{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.ecx-st>*{display:flex;flex-direction:column;gap:2px;padding:8px;border-radius:10px;background:var(--bg2,rgba(127,127,127,.07));border:0;text-align:left;font:inherit;color:inherit}
.ecx-st button{cursor:pointer}.ecx-st button:hover{outline:1px solid var(--c)}
.ecx-st b{font-size:16px;font-variant-numeric:tabular-nums}.ecx-st small{font-size:11px;color:var(--muted)}
.ecx-card footer{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto}
.ecx-all summary{cursor:pointer;font-weight:600;padding:6px 0}
.ecx-dlg{display:flex;flex-direction:column;gap:12px;padding:16px 20px}
.ecx-er{display:grid;grid-template-columns:36px repeat(3,minmax(0,1fr)) 32px;gap:6px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}.ecx-er [data-ef=typeId]{grid-column:2/3}.ecx-er [data-ef=url]{grid-column:3/5}
.ecx-er input[type=color]{width:36px;height:34px;padding:2px}
@media (max-width:760px){.ecx-er{grid-template-columns:36px minmax(0,1fr) 32px}.ecx-er>*{grid-column:2/3!important}.ecx-er [data-ef=color]{grid-column:1/2!important}.ecx-er [data-edel]{grid-column:3/4!important;grid-row:1}}
/* v169 · grabador: tipo de llamada y resumen de reuniones de equipo / privadas */
.rv-chip{display:inline-block;margin-right:6px;padding:1px 7px;border-radius:999px;font-size:11px;font-weight:700;vertical-align:1px;color:var(--c);background:color-mix(in srgb,var(--c) 14%,transparent)}
.rv-b{display:flex;flex-direction:column;gap:14px;padding:16px 20px;max-height:70vh;overflow:auto}
.rv-b h3{margin:0 0 6px;font-size:14px;display:flex;gap:10px;align-items:baseline}.rv-b p{margin:0;line-height:1.5}.rv-b ul{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:4px}
.rv-t li span{display:block}.rv-t small{color:var(--muted)}
.rv-b audio{width:100%;margin-top:4px}
.rv-tr{display:flex;flex-direction:column;gap:6px;margin-top:8px;font-size:13px}
.rv-b details summary{cursor:pointer;font-weight:600}
/* v169 · Llamadas: cambiar ficha y tareas para el cliente */
.lc-b{display:flex;flex-direction:column;gap:10px;padding:16px 20px}
.lc-b textarea{width:100%;font:14px/1.5 inherit;resize:vertical}
.lc-list{display:flex;flex-direction:column;max-height:46vh;overflow:auto;border:1px solid var(--line);border-radius:10px}
.lc-r{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:9px 12px;background:transparent;border:0;border-bottom:1px solid var(--line);text-align:left;cursor:pointer;color:inherit;font:inherit}
.lc-r:hover{background:var(--bg2,rgba(127,127,127,.08))}.lc-r small{color:var(--muted);font-size:12px}
/* v170 · asignar conversación */
.asg-btn.on{color:var(--hot)}
.asg-tag{color:var(--hot);font-weight:600}
.asg-b{display:flex;flex-direction:column;gap:10px;padding:16px 20px}
.asg-l{font-size:12px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.asg-who{display:flex;flex-wrap:wrap;gap:6px}
.asg-p{display:inline-flex!important;flex-direction:row!important;align-items:center;gap:8px;padding:6px 12px 6px 6px;border:1px solid var(--line2);border-radius:999px;cursor:pointer}
.asg-p input,.asg-pl input{position:absolute;opacity:0;pointer-events:none}
.asg-p:has(input:checked){border-color:var(--accent);background:var(--accentBg);font-weight:600}
.asg-p:has(input:focus-visible),.asg-pl label:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}
.asg-pl{display:flex;flex-wrap:wrap;gap:6px}
.asg-pl label{padding:6px 12px;border:1px solid var(--line2);border-radius:999px;cursor:pointer;font-size:13px}
.asg-pl label:has(input:checked){border-color:var(--accent);background:var(--accentBg);font-weight:600}
.asg-b textarea{width:100%;resize:vertical}
.asg-cur{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border-radius:10px;background:var(--soft);font-size:13px}.asg-cur span{flex:1}
/* v171 · asignar en lote y borrar tareas */
.asg-own{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;font-size:14px}
.bt-o{display:flex!important;flex-direction:row!important;gap:10px;align-items:flex-start;padding:10px 12px;border:1px solid var(--line2);border-radius:10px;cursor:pointer}
.bt-o span{display:flex;flex-direction:column;gap:2px}.bt-o small{color:var(--muted);font-size:12px;font-weight:400}
.bt-o:has(input:checked){border-color:var(--accent);background:var(--accentBg)}
.bt-o:has(input:disabled){opacity:.5;cursor:default}
.bt-all:has(input:checked){border-color:var(--danger);background:var(--dangerBg)}
/* v173 · subir o pegar transcripción */
.tr-drop{display:flex!important;flex-direction:column;align-items:center;gap:4px;padding:22px;border:1.5px dashed var(--line2);border-radius:12px;cursor:pointer;text-align:center}
.tr-drop span{color:var(--muted);font-size:13px}.tr-drop.over,.tr-drop:hover{border-color:var(--accent);background:var(--accentBg)}.tr-drop.on{border-style:solid;border-color:var(--accent)}.tr-drop.on span{color:var(--text);font-weight:600}
.tr-drop:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}
.tr-or{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px}.tr-or::before,.tr-or::after{content:"";flex:1;height:1px;background:var(--line)}
.ent-bb{flex-wrap:wrap;gap:8px}
.tx-retry{display:inline-block;margin-top:4px;font-size:12px}
/* v180 · vídeo adjunto en «Mensaje al grupo» */
.ent-med{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px}
.ent-med small{flex-basis:100%}
/* v201 · pipelines de entrega */
.ent-ptabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.ent-ptab{display:inline-flex;align-items:center;gap:8px;min-height:32px;padding:0 14px;border-radius:8px;border:1px solid var(--line);background:var(--panel);color:var(--ink);font-size:13px;cursor:pointer}
.ent-ptab b{font-weight:600;color:var(--muted)}
.ent-ptab.on{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 14%,var(--panel));font-weight:600}
.ent-ptab-new{border-style:dashed;color:var(--muted)}
.ent-ptabs-e{margin:12px 0 8px}
.ent-pcfg{display:flex;flex-direction:column;gap:12px;padding:12px;border:1px solid var(--line);border-radius:12px;margin-bottom:12px}
.ent-prods{display:flex;flex-direction:column;gap:4px;margin-top:4px}
.ent-det summary{cursor:pointer;font-size:13px;font-weight:600;padding:4px 0}
.ent-det[open] summary{margin-bottom:8px}
.ent-rep{margin:8px 0}
.ent-ftabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin:8px 0}
.ent-ftab{background:none;border:0;border-bottom:2px solid transparent;padding:6px 10px;font-size:12px;color:var(--muted);cursor:pointer}
.ent-ftab b{font-weight:600}
.ent-ftab.on{color:var(--ink);border-bottom-color:var(--accent);font-weight:600}
.ent-eb{flex-wrap:wrap}
.ent-eb .spacer{flex:1}
.ent-dlg{border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--ink);padding:24px;width:min(520px,calc(100vw - 32px))}
.ent-dlg h2{margin:0 0 4px;font-size:20px}
.ent-dlg::backdrop{background:rgb(0 0 0 / .4)}
.ent-tpls{display:flex;flex-direction:column;gap:8px;margin:12px 0}
.ent-tpl{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;cursor:pointer}
.ent-tpl:has(input:checked){border-color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,var(--panel))}
.ent-tpl span{display:flex;flex-direction:column;gap:2px;flex:1}
.ent-tpl small{color:var(--muted);font-size:12px}
/* v182 · Ficha del lead en 3 columnas por etapa (modulos/ficha-3col.js). Solo vista amplia (.drawer.wide.f3).
   Izquierda #f3L (cabecera + datos de la etapa) · centro #dSide (etapas, fases, «Ahora mismo», pestañas) · derecha el chat. */
#f3L{display:none}
body .drawer.wide.f3 .drawer-body{grid-template-columns:300px minmax(0,1fr) minmax(320px,400px)!important;column-gap:20px;padding:20px 20px 20px 0;overflow:hidden}
body .drawer.wide.f3.chat-off .drawer-body{grid-template-columns:300px minmax(0,1fr)!important}
body .drawer.wide.f3 .drawer-body>#f3L{order:0}
body .drawer.wide.f3 .drawer-body>.d-side{order:1;overflow-y:auto;min-height:0;gap:14px}
body .drawer.wide.f3 .drawer-body>.chat{order:2}
body .drawer.wide.f3 #dFC,body .drawer.wide.f3 #dCards,body .drawer.wide.f3 #dSTabs,body .drawer.wide.f3 #dActF{display:none!important}

/* ── columna izquierda */
body .drawer.wide.f3 #f3L{display:flex;flex-direction:column;min-height:0;overflow-y:auto;border-right:1px solid var(--line);padding:0 18px 18px;gap:0;background:var(--panel);margin:-20px 0 -20px 0;padding-top:18px}
body .drawer.wide.f3 #f3L #dHead{display:flex!important;flex-direction:column;gap:12px;padding:0 0 14px!important;border:0!important;border-bottom:1px solid var(--line)!important;background:transparent!important;grid-template-columns:none}
body .drawer.wide.f3 #f3L .dh-id{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
body .drawer.wide.f3 #f3L .dh-id .nm{flex:1;min-width:0}
body .drawer.wide.f3 #f3L .dh-id .nm b{font-size:17px;white-space:normal}
body .drawer.wide.f3 #f3L .dh-id .nm small{font-size:12px}
body .drawer.wide.f3 #f3L .dh-win{order:3;flex-basis:100%;display:flex;flex-wrap:wrap;gap:0;margin:0 -6px}
body .drawer.wide.f3 #f3L .dh-win .btn{padding:5px;min-width:28px}
body .drawer.wide.f3 #f3L .dh-tools{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,1fr) 34px!important;gap:6px!important;grid-column:auto;grid-row:auto}
body .drawer.wide.f3 #f3L .dh-t{height:34px!important;flex-direction:row!important;gap:6px!important;padding:0 6px!important;font-size:12.5px!important;border-radius:8px!important}
body .drawer.wide.f3 #f3L .dh-t span{font-size:14px!important}
body .drawer.wide.f3 #f3L .dh-t span svg{width:15px;height:15px}
body .drawer.wide.f3 #f3L .dh-t:not(.main):not(.f3-mb) span{display:none!important}
body .drawer.wide.f3 #f3L .f3-mb{font-size:0!important;padding:0!important}
body .drawer.wide.f3 #f3L .f3-mb span{font-size:16px!important}
body .drawer.wide.f3 #f3L .dh-t{width:100%;min-width:0;justify-self:stretch;margin:0!important}
body .drawer.wide.f3 #f3L #mkDial{order:1}body .drawer.wide.f3 #f3L #mkGcal{order:2}body .drawer.wide.f3 #f3L #mkAsk{order:3}body .drawer.wide.f3 #f3L #f3More{order:4}body .drawer.wide.f3 #f3L #mkRec{order:5;grid-column:span 2}body .drawer.wide.f3 #f3L #iAi{order:6;grid-column:span 2}
body .drawer.wide.f3 #f3L .fp-h{flex-wrap:wrap}
body .drawer.wide.f3 #f3L .dh-t.main{background:var(--accent)!important;color:#fff!important;border-color:var(--accent)!important;font-weight:600}
body .drawer.wide.f3 #f3L .dh-tools:not(.f3-more) #mkRec,body .drawer.wide.f3 #f3L .dh-tools:not(.f3-more) #iAi{display:none!important}
body .drawer.wide.f3 #f3L .dh-tools.f3-more #f3More{background:var(--soft2)!important}
body .drawer.wide.f3 #f3L .dh-kv{display:flex!important;flex-direction:column;border:0;background:transparent;border-radius:0}
body .drawer.wide.f3 #f3L .dh-k{display:grid;grid-template-columns:104px 1fr;align-items:center;gap:8px;padding:5px 0;border:0!important}
body .drawer.wide.f3 #f3L .dh-k small{font-size:12.5px;color:var(--muted);font-weight:400}
body .drawer.wide.f3 #f3L .dh-k select{max-width:100%}
body .drawer.wide.f3[data-f3e=cliente] #f3L .dh-kv,body .drawer.wide.f3[data-f3e=renov] #f3L .dh-kv,body .drawer.wide.f3 #f3L .dh-moves,body .drawer.wide.f3 #f3L .dh-flags,body .drawer.wide.f3 #f3L .dh-ai{display:none!important}
body .drawer.wide.f3 #f3L .d-pill{font-size:12px}

.f3-b{display:flex;flex-direction:column;padding:12px 0 10px;border-bottom:1px solid var(--line)}
.f3-b h4{display:flex;align-items:baseline;gap:8px;margin:0 0 4px;font-size:12px;font-weight:500;color:var(--muted)}
.f3-b h4 small{font-size:11.5px;color:var(--muted)}
.f3-b h4 small.warn{color:var(--warn)}
.f3-b h4 .link{margin-left:auto;font-size:12px}
.f3-r{display:grid;grid-template-columns:104px 1fr;gap:8px;align-items:baseline;padding:5px 0;font:inherit;text-align:left;border:0;background:transparent;color:inherit;width:100%}
.f3-r>span{font-size:12.5px;color:var(--muted)}
.f3-r>b{font-size:13px;font-weight:500;line-height:1.35;color:var(--text);min-width:0;overflow-wrap:anywhere}
.f3-r>b em{display:block;font-style:normal;font-size:11.5px;font-weight:400;color:var(--muted)}
.f3-r.ok>b{color:#15803D}.f3-r.warn>b{color:var(--warn)}.f3-r.bad>b{color:var(--danger)}.f3-r.miss>b{color:var(--muted);font-weight:400}
.f3-obj{cursor:pointer;border-radius:6px;padding:5px 6px;margin:0 -6px;width:calc(100% + 12px);grid-template-columns:1fr auto}
.f3-obj>span{color:var(--text);font-size:13px}
.f3-obj>b{font-size:12px;font-weight:600}
.f3-obj:hover{background:var(--soft)}
.f3-old{align-self:flex-start;margin-top:14px;font-size:12px!important;font-weight:500!important;color:var(--muted)!important}
/* el Perfil editable solo en la etapa Lead, a una columna */
body .drawer.wide.f3 #f3L #dProf{display:none;border:0;padding:12px 0 0;margin:0;background:transparent;border-radius:0}
body .drawer.wide.f3[data-f3e=lead] #f3L #dProf{display:flex!important}
body .drawer.wide.f3 #f3L .fp-g{grid-template-columns:1fr!important}

/* ── centro */
#f3C{display:flex;flex-direction:column;gap:14px}
.f3-et{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:6px}
.f3-e{display:flex;flex-direction:column;gap:2px;min-width:0;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:transparent;font:inherit;text-align:left;cursor:pointer;color:var(--text)}
.f3-e span{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600}
.f3-e span i{width:7px;height:7px;border-radius:50%;background:var(--line2);flex:none}
.f3-e.done span i{background:#16A34A}.f3-e.now span i{background:var(--accent)}
.f3-e.next{color:var(--muted)}
.f3-e small{font-size:11.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.f3-e small.warn{color:var(--warn)}
.f3-e.on{border-color:var(--accent);background:var(--panel);box-shadow:inset 0 0 0 1px var(--accent)}
.f3-e:hover{background:var(--panel)}
.f3-chatb{align-self:stretch;border:1px solid var(--line2);background:var(--panel);border-radius:10px;padding:0 10px;font:inherit;font-size:12.5px;color:var(--text2);cursor:pointer;white-space:nowrap}
.f3-bar{display:flex;flex-direction:column;gap:6px}
.f3-bar>small{font-size:11.5px;color:var(--muted)}
.f3-steps{display:flex;gap:4px}
.f3-st{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px;border:0;background:transparent;padding:0;font:inherit;text-align:left;cursor:pointer}
.f3-st i{height:4px;border-radius:99px;background:var(--line2)}
.f3-st span{font-size:11.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.f3-st.done i{background:color-mix(in srgb,var(--accent) 45%,var(--line2))}
.f3-st.now i{background:var(--accent)}
.f3-st.now span{color:var(--text);font-weight:600}
.f3-st:hover span{color:var(--text)}
.f3-prog{height:6px;border-radius:99px;background:var(--line2);overflow:hidden}
.f3-prog i{display:block;height:100%;background:var(--accent);border-radius:99px}
.f3-ai{display:flex;flex-direction:column;gap:8px;padding:14px 16px;border-radius:14px;background:linear-gradient(var(--panel),var(--panel)) padding-box,linear-gradient(120deg,var(--accent),#7C5CFF 55%,var(--line2)) border-box;border:1px solid transparent}
.f3-aih{display:flex;align-items:baseline;gap:8px;font-size:12px;font-weight:600;color:var(--accent)}
.f3-aih small{font-weight:400;color:var(--muted)}
.f3-ait{margin:0;font-size:14px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.f3-ait:hover{-webkit-line-clamp:unset}
.f3-ain{margin:0;font-size:13px;color:var(--text2)}.f3-ain span{color:var(--muted)}
.f3-ps{display:flex;flex-direction:column;gap:6px;margin-top:2px}
.f3-p{display:flex;align-items:center;gap:10px;padding:6px 6px 6px 8px;border-radius:9px;background:var(--soft)}
.f3-p em{flex:none;width:70px;text-align:center;font-style:normal;font-size:11px;font-weight:600;padding:2px 6px;border-radius:6px;background:var(--soft2);color:var(--text2)}
.f3-p span{flex:1;min-width:0;font-size:13px;line-height:1.4}
.f3-p .btn{flex:none}
.f3-tabs{display:flex;gap:2px;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none}
.f3-tabs button{display:flex;align-items:center;gap:6px;flex:none;border:0;background:none;padding:10px 11px;font:inherit;font-size:13.5px;font-weight:500;color:var(--muted);cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap}
.f3-tabs button:hover{color:var(--text)}
.f3-tabs button.on{color:var(--text);border-bottom-color:var(--accent)}
.f3-tabs button span{font-size:11.5px;font-weight:600;padding:1px 7px;border-radius:99px;background:var(--soft2);color:var(--text2)}
.f3-tabs button span.late{background:var(--dangerBg);color:var(--danger)}
.f3-tabs button span.warn{background:var(--warnBg,#FEF3C7);color:var(--warn)}
.f3-e:focus-visible,.f3-st:focus-visible,.f3-tabs button:focus-visible,.f3-obj:focus-visible,.f3-chatb:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
/* qué se ve debajo según la pestaña */
body .drawer.f3 #dSide[data-f3t=obj] #dSale,body .drawer.f3 #dSide[data-f3t=ct] #dSum{display:none!important}
#dEnt[data-sub=ficha] .ent-sec:not([data-sub~=empresa]):not([data-sub~=datos]):not([data-sub~=fact]){display:none!important}
#dEnt[data-sub=ficha] .ent-fcards{display:none!important}

/* ── chat: acceso al grupo del cliente */
.f3-chat{display:flex;gap:4px;padding:8px 12px;border-bottom:1px solid var(--line)}
.f3-cs{border:0;background:transparent;border-radius:6px;padding:5px 10px;font:inherit;font-size:12.5px;color:var(--muted);cursor:pointer}
.f3-cs.on{background:var(--soft2);color:var(--text);font-weight:600;cursor:default}

@media (max-width:1380px){
  body .drawer.wide.f3 .drawer-body{grid-template-columns:260px minmax(0,1fr) minmax(300px,340px)!important}
  body .drawer.wide.f3.chat-off .drawer-body{grid-template-columns:260px minmax(0,1fr)!important}
  .f3-r,body .drawer.wide.f3 #f3L .dh-k{grid-template-columns:92px 1fr}
  body .drawer.wide.f3 #f3L .dh-tools{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 34px!important}
  body .drawer.wide.f3 #f3L .dh-t.main{grid-column:1/-1}
  body .drawer.wide.f3 #f3L #mkRec,body .drawer.wide.f3 #f3L #iAi{grid-column:span 1}
}
/* v189 · tipo de contacto y conversación anterior */
.rol-chip{display:inline-block;font-size:10.5px;font-weight:600;line-height:1;padding:3px 7px;border-radius:99px;color:var(--rc);background:color-mix(in srgb,var(--rc) 14%,transparent);margin-left:4px;white-space:nowrap;vertical-align:1px}
.rol-seg{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:3px;border-radius:10px;background:var(--soft)}
.rol-seg button{border:0;background:transparent;border-radius:7px;padding:6px 2px;font:inherit;font-size:12.5px;font-weight:500;color:var(--muted);cursor:pointer}
.rol-seg button.on{background:var(--panel);color:var(--rc);font-weight:600;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.rol-seg button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.rol-acts{display:flex;flex-direction:column;gap:6px}
.rol-acts .btn{justify-content:flex-start;cursor:pointer}
/* v135 · Ficha del lead (propuesta A) */
.d-prof{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);padding:12px 14px;display:flex;flex-direction:column;gap:10px;margin:0 0 10px}
#drawer:not(.wide) .d-prof{display:none}
.fp-h{display:flex;align-items:center;gap:8px}.fp-h b{font-size:14px}
.fp-miss{font-size:11.5px;font-weight:600;padding:2px 8px;border-radius:99px;background:#FEF3C7;color:#92400E}
.fp-g{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 14px}
.fp-f{display:flex;flex-direction:column;gap:4px;min-width:0}
.fp-l{font-size:11px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.fp-v{display:flex;flex-wrap:wrap;gap:5px;align-items:center;min-width:0}
.fp-sel{border:1px solid var(--line2);border-radius:99px;padding:3px 10px;font-size:12.5px;background:var(--panel);max-width:100%;cursor:pointer}
.fp-sel.on{background:var(--text);color:#fff;border-color:var(--text)}
.fp-sel.miss{border-style:dashed;border-color:#CA8A04;background:#FFFBEB;color:#92400E}
.fp-c{border:1px solid var(--line2);background:var(--panel);border-radius:99px;padding:3px 10px;font-size:12.5px;cursor:pointer;color:var(--text2)}
.fp-c.on{background:var(--text);color:#fff;border-color:var(--text)}
.fp-t{font-size:13px;color:var(--text2)}
.fp-tag{display:inline-flex;align-items:center;gap:2px;font-size:12px;padding:2px 4px 2px 9px;border-radius:99px;background:color-mix(in srgb,var(--c) 14%,transparent);color:color-mix(in srgb,var(--c) 70%,#000)}
.fp-tag button{border:0;background:none;cursor:pointer;color:inherit;opacity:.6;font-size:14px;line-height:1;padding:0 4px}
.fp-tag button:hover{opacity:1}
.fp-tadd{border:1px dashed var(--line2);border-radius:99px;padding:2px 9px;font-size:12px;width:96px;background:transparent}
.fp-mem{display:flex;flex-direction:column;gap:5px;border-top:1px solid var(--line);padding-top:8px}
.fp-memc{display:flex;flex-wrap:wrap;gap:5px;align-items:center}
.fp-m{font-size:12.5px;padding:3px 10px;border-radius:10px;background:var(--soft);color:var(--text2);max-width:100%}
.fp-ask{font-size:12.5px;padding:7px 10px;border-radius:9px;background:var(--soft)}
.d-profmore{border-top:1px solid var(--line);padding-top:8px}
.d-profmore>section.info{display:flex!important;flex-direction:column;padding:0;overflow:visible}
.d-spane[data-st=seg] #dAct{display:flex!important;flex-direction:column;gap:12px}
.d-spane[data-st=cie] #dSum,.d-spane[data-st=cie] #dSale{display:flex!important;flex-direction:column}
.d-spane[data-st=cie] #dSum .dw-mem{display:none}
.d-spane[data-st=cie] #dSum .dw-sumg{grid-template-columns:1fr}
.d-spane[data-st=cie] #dSale{margin-top:12px}
.d-stabs .tb.warn{background:#FEF3C7;color:#92400E}
#dCards .dw-prob svg{width:100px!important;height:100px!important;flex:none}
#dCards .dw-prob{align-items:center}
@media (max-width:1300px){.fp-g{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* v174 · ficha por etapas (propuesta C): carpetas Lead · Cierre · Cliente · Renovación, siguiente paso y subpestañas; chat a la derecha y plegable */
#dFC{display:none}
.drawer.wide #dFC{display:flex;flex-direction:column;position:sticky;top:0;z-index:3;background:var(--bg);margin:-24px -2px 0;padding:24px 2px 0}
.drawer.wide .drawer-body{grid-template-columns:minmax(0,1fr) minmax(340px,400px)!important}
.drawer.wide .drawer-body>.chat{order:2}
.drawer.wide .drawer-body>.d-side{order:1}
.drawer.wide.chat-off .drawer-body{grid-template-columns:minmax(0,1fr)!important}
.drawer.wide.chat-off .drawer-body>.chat{display:none!important}
.drawer.wide #dSTabs{display:none!important}
.drawer.wide #dSide:not([data-st=seg]):not([data-st=cie]) #dCards{display:none!important}
.drawer.wide #dSide:not([data-st=seg]) #dProf{display:none!important}
.fc-et{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto auto;gap:6px;align-items:end}
.fc-t{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0;padding:10px 14px;border:1px solid var(--line);border-bottom:0;border-radius:14px 14px 0 0;background:var(--soft);color:var(--muted);text-align:left;cursor:pointer;font:inherit}
.fc-t:hover{background:var(--panel)}
.fc-t .fc-n{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.fc-t b{font-size:14px;color:var(--text2);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fc-t b.warn{color:var(--warn)}
.fc-t small{font-size:12px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fc-t.off{border-style:dashed;opacity:.7}
.fc-t.now .fc-n{color:var(--accent)}
.fc-t.on{background:var(--panel);color:var(--text);border-color:var(--accent);box-shadow:inset 0 3px 0 var(--accent);position:relative;z-index:1;margin-bottom:-1px;padding-bottom:11px}
.fc-t.on b{color:var(--text)}
.fc-t:focus-visible,.fc-sub button:focus-visible,.fc-chat:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.fc-chat{align-self:center;border:1px solid var(--line2);background:var(--panel);border-radius:10px;padding:8px 10px;cursor:pointer;font:inherit;font-size:13px;color:var(--text2);white-space:nowrap}
.fc-box{border:1px solid var(--accent);border-radius:0 0 14px 14px;background:var(--panel);overflow:hidden}
.fc-next{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:10px 14px;background:var(--accentBg);border-bottom:1px solid var(--line)}
.fc-next.late{background:var(--dangerBg)}
.fc-nl{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--accent)}
.fc-next.late .fc-nl,.fc-next.late em{color:var(--danger)}
.fc-nt{font-size:14px}.fc-nt em{font-style:normal;font-weight:600}
.fc-sub{display:flex;flex-wrap:wrap;gap:2px;padding:4px 10px 0}
.fc-sub button{border:0;background:none;padding:10px 12px;font:inherit;font-size:13px;color:var(--muted);cursor:pointer;border-bottom:2px solid transparent}
.fc-sub button:hover{color:var(--text)}
.fc-sub button.on{color:var(--text);font-weight:600;border-bottom-color:var(--accent)}
.drawer.wide #dSide{gap:16px}
/* bloques de Entrega según la subpestaña */
#dEnt[data-sub=resumen] .ent-sec:not([data-sub~=resumen]),#dEnt[data-sub=grupo] .ent-sec:not([data-sub~=grupo]),#dEnt[data-sub=datos] .ent-sec:not([data-sub~=datos]),#dEnt[data-sub=fact] .ent-sec:not([data-sub~=fact]),#dEnt[data-sub=renov] .ent-sec:not([data-sub~=renov]){display:none!important}
#dEnt[data-sub=renov] .ent-fcards>:not(.ent-c-ren){display:none}
#dEnt[data-sub=resumen] .ent-fcards>.ent-c-ren:not(.ent-c-res){display:none}
#dEnt .ent-sec{display:flex;flex-direction:column;gap:12px}
#dEnt .ent-fcards.ent-sec{display:grid}
/* v152 · Pregúntale a la IA en la ficha del lead (#dAsk) */
.drawer-body[data-tab=ask] #dAsk{display:flex}
.d-spane[data-st=ia] #dAsk{display:flex!important}
#dAsk.fia{flex-direction:column;gap:10px;min-height:0;flex:1;padding:12px 14px}
.d-spane #dAsk.fia{padding:4px 0}
.drawer-tabs .tab-ia,.d-stabs [data-st=ia]{white-space:nowrap}
.fia-h{display:flex;align-items:flex-start;gap:10px}
.fia-h>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.fia-h small{color:var(--muted);font-size:12px}
.fia-spark{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:9px;background:var(--accentBg);color:var(--accent);font-size:15px;flex:none}
.fia-body{display:flex;flex-direction:column;gap:8px;overflow:auto;flex:1;min-height:120px;max-height:62vh;padding-right:2px}
.fia-hello{margin:6px 0}
.fia-m{padding:9px 12px;border-radius:12px;font-size:13.5px;line-height:1.5;max-width:100%;overflow-wrap:anywhere}
.fia-m.user{align-self:flex-end;background:var(--accentBg);border:1px solid var(--accentLine);max-width:88%}
.fia-m.model{background:var(--soft);border:1px solid var(--line)}
.fia-m p{margin:0 0 6px}.fia-m p:last-child{margin:0}
.fia-m ul{margin:4px 0 6px;padding-left:18px}.fia-m li{margin:2px 0}
.fia-m.typing{display:flex;align-items:center;gap:4px;color:var(--muted)}
.fia-m.typing i{width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.4;animation:fiaDot 1s infinite}
.fia-m.typing i:nth-child(2){animation-delay:.15s}.fia-m.typing i:nth-child(3){animation-delay:.3s}
.fia-m.typing small{margin-left:8px;font-size:12px}
@keyframes fiaDot{0%,100%{opacity:.25}50%{opacity:.9}}
.fia-src{margin:0;font-size:11.5px;color:var(--faint)}
.fia-ideas{display:flex;flex-wrap:wrap;gap:6px}
.fia-ideas button{border:1px solid var(--line2);background:var(--panel);border-radius:999px;padding:5px 10px;font-size:12px;cursor:pointer;color:var(--muted2)}
.fia-ideas button:hover{border-color:var(--accentLine);color:var(--text)}
.fia-f{display:flex;gap:8px;align-items:flex-end}
.fia-f textarea{flex:1;resize:vertical;min-height:42px;max-height:160px;padding:9px 11px;border:1px solid var(--line2);border-radius:12px;background:var(--panel)}
@media (prefers-reduced-motion:reduce){.fia-m.typing i{animation:none}}
/* en la ficha ancha el panel lateral ya hace scroll: la conversación crece entera */
.d-spane #dAsk .fia-body{max-height:none;overflow:visible;flex:none;min-height:0}
/* botón «✦ Preguntar» en la cabecera de la ficha */
.dh-t.ask .dh-ask-i{font-size:17px;line-height:18px;color:var(--accent)}
.oscuro .dh-t.ask .dh-ask-i{color:#9CC3FF}
/* v178 · Partida del cliente en la ficha (modulos/ficha-partida.js) */
.fp{display:flex;flex-direction:column;gap:14px;margin-bottom:14px}
.fp-load{display:flex;align-items:center;gap:10px;padding:18px;color:var(--muted);font-size:13px}.fp-load span{width:16px;height:16px;border-radius:50%;border:2px solid var(--line2);border-top-color:#7C5CFF;animation:fpGira .8s linear infinite}
@keyframes fpGira{to{transform:rotate(360deg)}}
.fp-card{border:1px solid var(--line);border-radius:16px;padding:16px 18px;background:linear-gradient(135deg,color-mix(in srgb,#7C5CFF 9%,var(--panel)),var(--panel) 55%);display:flex;flex-direction:column;gap:14px}
.fp-hd{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.fp-lv{--p:0;width:66px;height:66px;border-radius:50%;flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(closest-side,var(--panel) 80%,transparent 81% 100%),conic-gradient(#7C5CFF calc(var(--p)*1%),var(--soft) 0);box-shadow:0 0 0 3px color-mix(in srgb,#7C5CFF 18%,transparent)}
.fp-lv b{font-size:24px;line-height:1;font-weight:800}.fp-lv small{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.fp-ht{flex:1;min-width:200px}.fp-k{font-size:11.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}.fp-ht h3{margin:2px 0 6px;font-size:18px}
.fp-xp{display:flex;align-items:center;gap:8px}.fp-xp span{flex:1;max-width:280px;height:8px;border-radius:99px;background:var(--soft);overflow:hidden}.fp-xp i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#7C5CFF,#22D3EE)}.fp-xp small{font-size:11.5px;color:var(--muted)}
.fp-hs{display:flex;gap:6px;flex-wrap:wrap}.fp-hs>div{background:var(--soft2);border:1px solid var(--line);border-radius:12px;padding:7px 12px;min-width:84px}.fp-hs small{display:block;font-size:11px;color:var(--muted)}.fp-hs b{font-size:16px}
.fp-dt{display:inline-flex;align-items:center;font-size:12px;font-weight:700;border-radius:99px;padding:1px 7px;white-space:nowrap}
.fp-dt.up{background:color-mix(in srgb,#22C55E 16%,transparent);color:#16A34A}.fp-dt.down{background:color-mix(in srgb,#EF4444 15%,transparent);color:#DC2626}.fp-dt.eq{background:var(--soft);color:var(--muted)}
.fp-mid{display:grid;grid-template-columns:220px minmax(0,1fr);gap:16px;align-items:center}
.fp-radar{width:100%;max-width:220px;height:auto}
.fp-rg{fill:none;stroke:var(--line2);stroke-width:.8}.fp-ax{stroke:var(--line);stroke-width:.8}.fp-rl{font-size:14px}
.fp-pi{fill:none;stroke:var(--muted);stroke-width:1.4;stroke-dasharray:4 3;opacity:.8}
.fp-pn{fill:color-mix(in srgb,#7C5CFF 28%,transparent);stroke:#7C5CFF;stroke-width:2;stroke-linejoin:round}.fp-pd{fill:#7C5CFF}
.fp-ars{display:flex;flex-direction:column;gap:5px;min-width:0}
.fp-ar{display:grid;grid-template-columns:24px 130px minmax(60px,1fr) 30px 118px 60px;align-items:center;gap:8px;font-size:13px;min-height:32px}
.fp-ai{font-size:15px;text-align:center}.fp-an{font-weight:600;display:flex;flex-direction:column;line-height:1.15}.fp-an small{font-weight:400;font-size:10.5px;color:var(--muted)}
.fp-ar.lock{opacity:.6}
.fp-ab{height:9px;border-radius:99px;background:var(--soft);overflow:hidden;display:block}.fp-ab.sm{height:6px}.fp-ab i{display:block;height:100%;border-radius:99px;transition:width .5s cubic-bezier(.2,.8,.2,1)}
.fp-av{text-align:right;font-variant-numeric:tabular-nums}.fp-ad{display:flex;flex-direction:column;align-items:flex-start;gap:1px}.fp-ad small{font-size:10.5px;color:var(--muted);white-space:nowrap}
.fp-sp{width:60px;height:18px}
.fp-leg{margin:4px 0 0;font-size:11.5px;color:var(--muted);display:flex;align-items:center;gap:6px;flex-wrap:wrap}.fp-leg i{display:inline-block;width:14px;height:0;border-top:2px solid #7C5CFF}.fp-leg i.o{border-top:2px dashed var(--muted)}
.fp-lg{display:flex;gap:6px;flex-wrap:wrap}
.fp-bd{display:inline-flex;align-items:center;gap:6px;padding:5px 10px 5px 6px;border-radius:99px;font-size:12px;border:1px dashed var(--line2);color:var(--muted)}
.fp-bd i{font-style:normal;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--soft);font-size:12px;filter:grayscale(1)}
.fp-bd.ok{border:1px solid color-mix(in srgb,#F59E0B 45%,transparent);background:color-mix(in srgb,#F59E0B 10%,transparent);color:var(--text);font-weight:600}.fp-bd.ok i{filter:none;background:color-mix(in srgb,#F59E0B 25%,transparent)}
.fp-hab{border-top:1px solid var(--line);padding-top:12px;display:flex;flex-direction:column;gap:10px}
.fp-hh{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.fp-hg{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}.fp-hl{display:block;font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:6px}
.fp-es{display:flex;align-items:center;gap:8px;font-size:13px;padding:4px 0;flex-wrap:wrap}.fp-es>span:first-child{flex:1;min-width:0}
.fp-nv{font-size:12px;font-weight:700;color:#B45309;white-space:nowrap}.fp-nv.n3{color:#7C5CFF}.fp-nv.n4{color:#DB2777}.fp-nv.n1{color:var(--muted)}
.fp-w{font-style:normal;font-size:11px;color:#DC2626}
.fp-dm{display:grid;grid-template-columns:minmax(110px,1fr) 90px 26px;align-items:center;gap:8px;font-size:12.5px;padding:2px 0}.fp-dm b{text-align:right}
.fp-av2{margin:0;font-size:12.5px;color:var(--muted)}
/* mapa del programa */
.fp-map{border:1px solid var(--line);border-radius:16px;padding:14px 16px;background:var(--panel)}
.fp-mh{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.fp-path{display:flex;align-items:flex-start;overflow-x:auto;padding:4px 2px 10px;gap:0}
.fp-ln{flex:1 0 24px;height:3px;margin-top:24px;background:var(--line2);border-radius:3px;min-width:24px}
.fp-nd{all:unset;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;width:112px;flex:none;cursor:pointer;border-radius:12px;padding:4px 2px}
.fp-nd:focus-visible{outline:2px solid #7C5CFF}
.fp-ndc{--p:0;position:relative;width:50px;height:50px;border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:800;background:radial-gradient(closest-side,var(--panel) 78%,transparent 79% 100%),conic-gradient(#7C5CFF calc(var(--p)*1%),var(--soft) 0);transition:transform .15s}
.fp-nd:hover .fp-ndc{transform:scale(1.06)}
.fp-nd.done .fp-ndc{background:#22C55E;color:#fff}
.fp-nd.now .fp-ndc{box-shadow:0 0 0 4px color-mix(in srgb,#7C5CFF 22%,transparent);animation:fpLat 2.2s ease-in-out infinite}
@keyframes fpLat{50%{box-shadow:0 0 0 8px color-mix(in srgb,#7C5CFF 8%,transparent)}}
@media (prefers-reduced-motion:reduce){.fp-nd.now .fp-ndc{animation:none}}
.fp-nd.lock .fp-ndc{background:var(--soft);color:var(--muted)}
.fp-nd.sel .fp-ndc{outline:2px solid var(--text);outline-offset:3px}
.fp-nd b{font-size:12.5px;line-height:1.2}.fp-nd small{font-size:11px;color:var(--muted);line-height:1.2}
.fp-ndt{position:absolute;right:-6px;top:-6px;font-style:normal;font-size:12px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--panel);border:1px solid var(--line2)}
.fp-ndt.ok{border-color:#22C55E}.fp-ndt.run{border-color:#F59E0B}
.fp-ents{border-top:1px solid var(--line);padding-top:12px;display:flex;flex-direction:column;gap:8px}
.fp-eh{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.fp-eg h4{margin:6px 0 4px;font-size:11.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;font-weight:600}
.fp-en{display:flex;align-items:center;gap:8px;padding:7px 10px;border:1px solid var(--line);border-radius:10px;margin-bottom:5px;font-size:13px;flex-wrap:wrap}
.fp-en input{margin:0;accent-color:#22C55E;width:16px;height:16px}.fp-en.ok .fp-et{text-decoration:line-through;color:var(--muted)}.fp-et{flex:1;min-width:140px}.fp-en small{color:var(--muted);font-size:11.5px}
.fp-tc{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;border:1.5px solid color-mix(in srgb,#7C5CFF 40%,var(--line));background:color-mix(in srgb,#7C5CFF 7%,var(--panel));flex-wrap:wrap}
.fp-tc.ok{border-color:color-mix(in srgb,#22C55E 50%,var(--line));background:color-mix(in srgb,#22C55E 7%,var(--panel))}
.fp-tci{font-size:24px;width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--panel);border:1px solid var(--line);flex:none}
.fp-tcb{flex:1;min-width:200px;display:flex;flex-direction:column;gap:3px}.fp-tcb small{color:var(--muted);font-size:12px}
.fp-tcs{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:3px}.fp-tcs .tpp-soc{margin-left:6px}
.fp-tn{font-size:12.5px;color:var(--muted)}.fp-tn b{color:var(--text)}
.fp-tca{display:flex;gap:6px;align-items:center}
.fp-mf{display:flex;flex-direction:column;gap:8px;margin-top:10px}
@media (max-width:820px){.fp-mid{grid-template-columns:1fr}.fp-radar{margin:0 auto}.fp-ar{grid-template-columns:24px minmax(80px,1fr) 70px 28px auto;}.fp-ar .fp-sp{display:none}}
/* v159 · scroll de las pantallas de Entregar + automatizaciones en flujo */
#sec-entrega,#sec-bloqueado{overflow-y:auto}
/* panel del tablero */
.fl-pn{display:flex;flex-direction:column;gap:8px}
.ent-ph2{margin-top:8px;padding-top:12px;border-top:1px solid var(--line)}
.fl-row{display:flex;align-items:center;gap:10px;width:100%;text-align:left;background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:10px 12px;color:var(--ink);cursor:pointer}
.fl-row:hover{border-color:var(--accent)}
.fl-row.off{opacity:.65}
.fl-row-t{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.fl-row-t b{font-size:13px}
.fl-row-t small{font-size:12px;color:var(--muted)}
.fl-row-i{display:flex;gap:3px;align-items:center}
.fl-row-i em{font-style:normal;font-size:11px;color:var(--muted)}
.fl-row-s{font-size:11px;color:var(--muted);white-space:nowrap}
/* icono de conector */
.fl-ic{--s:34px;width:var(--s);height:var(--s);border-radius:calc(var(--s)*.28);flex:none;display:inline-flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--c) 18%,transparent);color:var(--c)}
.fl-ic svg{width:58%;height:58%;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.fl-ic-t{--c:#F59E0B}
/* galería de plantillas */
.fl-back{font-size:13px;margin-bottom:6px;padding:0}
.fl-gal{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
.fl-tpl{display:flex;flex-direction:column;align-items:flex-start;gap:8px;text-align:left;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:16px;color:var(--ink);cursor:pointer;min-height:150px}
.fl-tpl:hover{border-color:var(--accent)}
.fl-tpl b{font-size:14px}
.fl-tpl small{font-size:13px;color:var(--muted2);line-height:1.45}
.fl-tpl em{margin-top:auto;font-style:normal;font-size:12px;color:var(--accent)}
.fl-tpl-i{display:flex;gap:4px}
.fl-blank{border-style:dashed;justify-content:center;align-items:center;text-align:center}
/* editor */
.fl-ed{display:flex;flex-direction:column;gap:16px;min-width:0}
.fl-top{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.fl-top .fl-back{width:100%;text-align:left;margin:0}
.fl-top .spacer{flex:1}
.fl-name{font-size:18px!important;font-weight:600;min-width:240px;flex:0 1 420px}
.fl-fase{display:flex!important;flex-direction:row!important;align-items:center;gap:6px;font-size:12px;color:var(--muted)}
.fl-on{display:flex!important;flex-direction:row!important;align-items:center;gap:6px;font-size:13px;font-weight:600}
.fl-on input{width:auto!important;min-height:0!important}
.fl-body{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start}
.fl-canvas{flex:999 1 480px;min-width:0;display:flex;flex-direction:column;align-items:center;padding:24px 16px 32px;border:1px solid var(--line);border-radius:12px;background-color:var(--bg);background-image:radial-gradient(color-mix(in srgb,var(--muted) 35%,transparent) 1px,transparent 1px);background-size:18px 18px}
.fl-node{position:relative;display:flex;align-items:flex-start;gap:12px;width:min(460px,100%);background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:12px 14px;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.fl-node:hover{border-color:var(--line2)}
.fl-node.on{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 22%,transparent)}
.fl-trig{border-color:color-mix(in srgb,#F59E0B 50%,var(--line))}
.fl-node>div{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.fl-node small{font-size:11px;color:var(--muted)}
.fl-node b{font-size:14px}
.fl-nt span{font-size:12px;color:var(--muted2);overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.fl-okb{font-style:normal;font-size:11px;color:#B45309;margin-top:2px}
.fl-na{position:absolute;top:6px;right:6px;display:none;gap:2px;background:var(--panel)}
.fl-node:hover .fl-na,.fl-node.on .fl-na{display:flex}
.fl-link{position:relative;display:flex;flex-direction:column;align-items:center;width:100%;min-height:44px}
.fl-link::before{content:"";position:absolute;top:0;bottom:0;left:50%;width:2px;margin-left:-1px;background:var(--line2)}
.fl-add{position:relative;margin:10px 0;width:26px;height:26px;border-radius:50%;border:1px solid var(--line2);background:var(--panel);color:var(--muted2);font-size:16px;line-height:1;cursor:pointer;z-index:1}
.fl-add:hover,.fl-add.on{border-color:var(--accent);color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,var(--panel))}
.fl-end{font-size:12px;color:var(--muted);border:1px dashed var(--line2);border-radius:999px;padding:4px 14px;background:var(--panel)}
.fl-pick{position:relative;z-index:5;width:min(520px,100%);margin:0 0 10px;background:var(--panel);border:1px solid var(--accent);border-radius:12px;padding:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;box-shadow:0 12px 32px rgba(0,0,0,.25)}
.fl-pg{display:flex;flex-direction:column;gap:4px}
.fl-pg small{font-size:11px;font-weight:600;color:var(--muted);margin-bottom:2px}
.fl-pi{display:flex;align-items:center;gap:8px;text-align:left;background:transparent;border:1px solid transparent;border-radius:8px;padding:6px;color:var(--ink);font-size:13px;cursor:pointer}
.fl-pi:hover{background:var(--bg);border-color:var(--line)}
/* panel de propiedades */
.fl-insp{flex:1 1 320px;max-width:100%;box-sizing:border-box;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:12px;position:sticky;top:0}
.fl-ih{display:flex;align-items:center;gap:10px}
.fl-ih b{font-size:15px}
.fl-ip0{display:flex;flex-direction:column;gap:8px;font-size:13px;color:var(--muted2);line-height:1.5}
.fl-ip0 p{margin:0}
.fl-ip0 b{color:var(--ink)}
.fl-f{display:flex!important;flex-direction:column!important;gap:6px;font-size:12px;color:var(--muted)}
.fl-f small{font-size:12px;color:var(--muted)}
.fl-f textarea,.fl-f input,.fl-f select{width:100%;box-sizing:border-box;color:var(--ink)}
.fl-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.fl-ck{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:8px;font-size:13px;color:var(--ink)}
.fl-ck input{width:auto!important;min-height:0!important;margin-top:2px}
.fl-vars{display:flex;flex-wrap:wrap;gap:4px;align-items:center}
.fl-vars small{font-size:11px;color:var(--muted);margin-right:4px}
.fl-vars button{font:inherit;font-size:11px;padding:2px 6px;border-radius:6px;border:1px solid var(--line);background:var(--bg);color:var(--muted2);cursor:pointer;font-family:ui-monospace,monospace}
.fl-vars button:hover{border-color:var(--accent);color:var(--accent)}
code{font-family:ui-monospace,monospace;font-size:12px}
/* ejecuciones */
.fl-runs h3{margin:0 0 8px;font-size:14px}
.fl-tr{grid-template-columns:minmax(160px,1fr) minmax(130px,.8fr) minmax(200px,2fr) 80px;min-width:640px;cursor:default}
.fl-log{font-size:12px;color:var(--muted2)}
.fl-st{display:inline-flex;font-size:11px;font-weight:600;padding:1px 8px;border-radius:999px}
.fl-st-run{background:color-mix(in srgb,#2B5CE6 16%,transparent);color:#2B5CE6}
.fl-st-ok{background:color-mix(in srgb,#F59E0B 18%,transparent);color:#B45309}
.fl-st-done{background:color-mix(in srgb,#22C55E 16%,transparent);color:#15803D}
.fl-st-stop{background:var(--line);color:var(--muted2)}
.fl-st-err{background:color-mix(in srgb,#EF4444 16%,transparent);color:#DC2626}
/* ficha */
.fl-ap{border-color:color-mix(in srgb,#F59E0B 50%,var(--line))}
.fl-ap textarea,.fl-ap input{width:100%;box-sizing:border-box;font-size:13px}
#dEnt .ent-act .link{flex:none}
@media (max-width:760px){.fl-pick{grid-template-columns:1fr}.fl-insp{position:static}}
/* Formularios 2.0 · lista con carpetas y editor (modulos/formularios.js) */
.efx{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100%;}
.efx-side{border-right:1px solid var(--line);padding:20px 10px;display:flex;flex-direction:column;gap:2px;position:sticky;top:0;align-self:start;max-height:100vh;overflow:auto}
.efx-st{font-size:11px;font-weight:600;color:var(--muted);padding:14px 10px 4px;text-transform:none}
.efx-dir{display:flex;align-items:center;gap:8px;height:32px;padding:0 6px 0 calc(6px + var(--lvl,0) * 14px);border-radius:8px;cursor:pointer;font-size:13px;color:var(--ink);position:relative}
.efx-dir.root{padding-left:10px}
.efx-dir:hover{background:var(--soft,rgba(0,0,0,.04))}
.efx-dir.on{background:rgba(43,92,230,.1);color:var(--accent);font-weight:600}
.efx-dir.drop{outline:2px dashed var(--accent);background:rgba(43,92,230,.08)}
.efx-dir svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;flex:none}
.efx-dn{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.efx-dir em{font-style:normal;font-size:11px;color:var(--muted)}
.efx-tw{width:16px;height:16px;border:0;background:none;padding:0;color:var(--muted);cursor:pointer;display:grid;place-items:center;flex:none}
.efx-tw svg{width:12px;height:12px;transition:transform .15s}.efx-tw.op svg{transform:rotate(90deg)}.efx-tw.nokids{visibility:hidden}
.efx-dm{width:24px;height:24px;border:0;background:none;border-radius:6px;color:var(--muted);cursor:pointer;opacity:0;display:grid;place-items:center}
.efx-dir:hover .efx-dm,.efx-dm:focus{opacity:1}.efx-dm:hover{background:var(--line)}
.efx-dm svg{width:14px;height:14px;fill:currentColor;stroke:none}
.efx-newdir{align-self:flex-start;margin:6px 4px}
.efx-empty-t{font-size:12px;padding:4px 10px;margin:0}
.efx-main{padding:24px 24px 40px;min-width:0;display:flex;flex-direction:column;gap:14px}
.efx-head{display:flex;align-items:flex-start;gap:10px}.efx-head h1{font-size:20px;margin:0 0 4px;font-weight:600}.efx-head p{margin:0;max-width:640px}
.efx-sep{color:var(--muted);font-weight:400;margin:0 4px}
.efx-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.efx-bar .ent-chip svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}
.efx-bulk{display:flex;align-items:center;gap:12px;padding:8px 12px;border-radius:10px;background:rgba(43,92,230,.08);font-size:13px}
.efx-bulk select{width:auto;min-width:200px}
.efx-table{border:1px solid var(--line);border-radius:12px;background:var(--panel);overflow:hidden}
.efx-tr{display:grid;grid-template-columns:36px minmax(220px,2.4fr) 76px 108px 118px 120px 140px 76px;align-items:center;gap:8px;min-height:60px;padding:6px 12px;border-bottom:1px solid var(--line);font-size:13px;cursor:pointer}
.efx-tr:last-child{border-bottom:0}
.efx-tr:not(.efx-th):hover{background:var(--soft,rgba(0,0,0,.025))}
.efx-th{min-height:38px;font-size:12px;color:var(--muted);font-weight:500;cursor:default;background:var(--bg)}
.efx-tr small{display:block;font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.efx-tr small svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.8;vertical-align:-2px;margin-right:3px}
.efx-nm{display:flex;align-items:center;gap:10px;min-width:0}.efx-nm>span{min-width:0}.efx-nm b{font-weight:600}
.efx-sw{width:10px;height:28px;border-radius:4px;flex:none}
.efx-tag{font-style:normal;font-size:11px;font-weight:500;padding:1px 6px;border-radius:99px;background:rgba(168,85,247,.12);color:#7E22CE;margin-left:6px}
.efx-bolt svg{width:11px;height:11px;fill:#D97706;stroke:none;vertical-align:-1px;margin-right:1px}
.efx-auds{display:flex;gap:4px}
.efx-aud{width:26px;height:26px;border-radius:8px;display:grid;place-items:center}
.efx-aud svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8}
.efx-aud.cliente{background:rgba(43,92,230,.1);color:var(--accent)}.efx-aud.equipo{background:rgba(168,85,247,.12);color:#9333EA}
.efx-d{font-weight:500}
.efx-rs{display:flex;align-items:center;gap:8px}.efx-rs b{min-width:20px}
.efx-bar2{flex:1;height:6px;border-radius:3px;background:var(--line);max-width:70px}.efx-bar2 i{display:block;height:6px;border-radius:3px;background:#16A34A}
.efx-miss{border:0;background:none;padding:2px;cursor:pointer;border-radius:8px}.efx-miss:hover:not(:disabled){background:var(--line)}.efx-miss:disabled{cursor:default}
.efx-avs{display:flex}.efx-av{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:10px;font-weight:600;font-style:normal;border:2px solid var(--panel);margin-left:-6px;background:#DCE4FB;color:#1F47C2}
.efx-avs .efx-av:first-child{margin-left:0}
.efx-av.equipo{background:#F3E8FF;color:#7E22CE}.efx-av.more{background:var(--line);color:var(--muted)}
.efx-ok{font-size:12px;color:#16A34A}.efx-wait{font-size:12px;color:#D97706;font-weight:500}
.efx-ra{display:flex;justify-content:flex-end;gap:2px}.efx-ra svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}
.efx-ra [data-fmenu] svg{fill:currentColor;stroke:none}
.efx-dragging .efx-dir[data-drop]{outline:1px dashed var(--line2,#CCD)}
.efx-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}
.efx-card{border:1px solid var(--line);border-radius:12px;background:var(--panel);overflow:hidden;cursor:pointer;transition:border-color .15s,transform .15s}
.efx-card:hover{border-color:var(--accent);transform:translateY(-1px)}
.efx-cv{height:96px;background:var(--bg);display:flex;align-items:flex-end;padding:12px;border-bottom:1px solid var(--line);position:relative}
.efx-cv::before{content:"";position:absolute;top:0;left:0;right:0;height:6px;background:var(--a)}
.efx-cv span{display:flex;gap:6px}.efx-cv i{font-style:normal;font-size:11px;font-weight:600;padding:4px 8px;border-radius:6px;background:#fff;color:var(--a);border:1px solid rgba(0,0,0,.06)}
.efx-cb{padding:12px;display:flex;flex-direction:column;gap:4px}.efx-cb b{font-size:14px}.efx-cb small{font-size:12px;color:var(--muted)}
.efx-cf{display:flex;align-items:center;justify-content:space-between;margin-top:6px}
.efx-none{border:1px dashed var(--line);border-radius:12px;padding:40px;text-align:center;color:var(--muted);display:flex;flex-direction:column;align-items:center;gap:12px}
.efx-menu{position:fixed;z-index:1000;min-width:200px;background:var(--panel);border:1px solid var(--line);border-radius:10px;box-shadow:0 12px 32px -8px rgba(16,24,40,.25);padding:4px;display:flex;flex-direction:column}
.efx-menu button{height:34px;border:0;background:none;text-align:left;padding:0 12px;border-radius:6px;font:inherit;font-size:13px;color:var(--ink);cursor:pointer}
.efx-menu button:hover,.efx-menu button:focus{background:var(--soft,rgba(0,0,0,.05));outline:0}.efx-menu .danger{color:#DC2626}
.efx-dlg{border:0;padding:0;border-radius:14px;background:var(--panel);color:var(--ink);box-shadow:0 24px 64px -12px rgba(16,24,40,.35);max-width:min(560px,94vw);width:100%}
.efx-dlg::backdrop{background:rgba(15,23,42,.4)}
.efx-dlg-in{display:flex;flex-direction:column}.efx-dlg-in.wide{width:min(860px,94vw)}
.efx-dlg:has(.wide){max-width:min(860px,94vw)}
.efx-dlg header{display:flex;align-items:center;gap:10px;padding:16px 18px;border-bottom:1px solid var(--line)}.efx-dlg header h2{font-size:16px;margin:0;flex:1}
.efx-dlg footer{padding:12px 18px;border-top:1px solid var(--line);display:flex;justify-content:flex-end}
.efx-ml{max-height:50vh;overflow:auto;padding:8px 18px}
.efx-mr{display:flex;align-items:center;gap:10px;min-height:48px;border-bottom:1px solid var(--line)}.efx-mr:last-child{border-bottom:0}
.efx-mr .efx-av{margin:0}.efx-mr>span{flex:1;min-width:0}.efx-mr b{display:block;font-size:13px}.efx-mr small{font-size:12px;color:var(--muted)}
.efx-gal{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;padding:18px;max-height:70vh;overflow:auto}
.efx-gt{display:flex;flex-direction:column;align-items:flex-start;gap:6px;text-align:left;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--panel);font:inherit;color:var(--ink);cursor:pointer;position:relative;overflow:hidden}
.efx-gt:hover{border-color:var(--a,var(--accent))}
.efx-gb{position:absolute;top:0;left:0;right:0;height:5px;background:var(--a,var(--accent))}
.efx-gt b{font-size:14px;margin-top:4px}.efx-gt small{font-size:12px;color:var(--muted)}
.efx-gt em{font-style:normal;font-size:11px;color:var(--muted);display:flex;align-items:center;gap:4px;margin-top:auto}.efx-gt em svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8}
.efx-gt.blank{border-style:dashed;justify-content:center}
/* ── editor ── */
.efe{display:flex;flex-direction:column;height:100%;min-height:0}
.efe-top{display:flex;align-items:center;gap:12px;padding:10px 20px;border-bottom:1px solid var(--line);background:var(--panel);flex:none}
.efe-top .btn svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8}
.efe-name{font-size:16px!important;font-weight:600;border:1px solid transparent!important;background:transparent!important;max-width:360px}
.efe-name:hover,.efe-name:focus{border-color:var(--line)!important}
.efe-body{flex:1;min-height:0;display:grid;grid-template-columns:200px minmax(0,1fr) 340px}
.efe-pal{border-right:1px solid var(--line);padding:12px 8px;overflow:auto;display:flex;flex-direction:column;gap:2px}
.efe-ty{display:flex;align-items:center;gap:10px;min-height:34px;line-height:1.25;padding:0 8px;border:0;background:none;border-radius:8px;font:inherit;font-size:13px;color:var(--ink);cursor:grab;text-align:left}
.efe-ty:hover{background:var(--soft,rgba(0,0,0,.05))}.efe-ty:active{cursor:grabbing}
.efe-g{min-width:34px;height:22px;border-radius:6px;background:rgba(43,92,230,.1);color:var(--accent);display:grid;place-items:center;font-size:10px;font-weight:700}
.efe-cv{overflow:auto;background:repeating-linear-gradient(45deg,transparent 0 10px,rgba(0,0,0,.015) 10px 20px),var(--bg);padding:28px}
.efe-paper{--ink:#16181D;--ink3:#646979;--ln:#E3E6EB;font-family:var(--font),-apple-system,sans-serif;background:var(--bg);border-radius:16px;padding:28px;max-width:720px;margin:0 auto;box-shadow:0 1px 3px rgba(0,0,0,.08);color:var(--ink)}
.efe-paper.dark{--ink:#F3F4F6;--ink3:#9CA3AF;--ln:rgba(255,255,255,.14)}
.efe-sheet{background:#fff;border:1px solid var(--ln);border-radius:calc(var(--r) + 4px);padding:28px;display:flex;flex-direction:column;gap:14px;overflow:hidden}
.efe-paper.dark .efe-sheet{background:rgba(255,255,255,.04)}
.efe-paper.nocard .efe-sheet{background:transparent;border:0;padding:4px}
.efe-paper.center .efe-sheet{text-align:center}
.efe-cover{height:110px;margin:-28px -28px 0;background:var(--a);background-size:cover;background-position:center}
.efe-h1{font-size:26px;font-weight:700;margin:0;outline:0;border-radius:6px;letter-spacing:-.3px}
.efe-intro{margin:-4px 0 4px;color:var(--ink3);font-size:15px;outline:0;min-height:20px;white-space:pre-line;border-radius:6px}
.efe-intro:empty::before{content:attr(data-ph);color:var(--ink3);opacity:.6}
.efe-h1:focus,.efe-intro:focus{box-shadow:0 0 0 2px rgba(var(--a-rgb,43,92,230),.3);background:rgba(0,0,0,.02)}
.efe-qs{display:flex;flex-direction:column;gap:6px}
.efe-q{position:relative;padding:14px 14px 14px 32px;border:1.5px solid transparent;border-radius:12px;cursor:pointer;text-align:left;transition:border-color .12s,background .12s}
.efe-q:hover{background:rgba(0,0,0,.025)}
.efe-paper.dark .efe-q:hover{background:rgba(255,255,255,.04)}
.efe-q.sel{border-color:var(--a);background:rgba(0,0,0,.015)}
.efe-q.ghost{opacity:.35}
.efe-q.dt{box-shadow:inset 0 3px 0 var(--a)}.efe-q.db{box-shadow:inset 0 -3px 0 var(--a)}
.efe-grip{position:absolute;left:6px;top:14px;width:20px;height:20px;color:var(--ink3);opacity:0;cursor:grab}
.efe-grip svg{width:18px;height:18px;fill:currentColor}
.efe-q:hover .efe-grip,.efe-q.sel .efe-grip{opacity:.7}
.efe-qh{display:flex;align-items:baseline;gap:8px;font-size:17px;font-weight:600}
.efe-qn{color:var(--a);font-size:13px;flex:none}
.efe-ql{outline:0;flex:1;border-radius:4px;min-width:40px}
.efe-q.sel .efe-ql:focus{box-shadow:0 0 0 2px rgba(0,0,0,.08)}
.efe-qh em{color:var(--a);font-style:normal}
.efe-qhelp{margin:4px 0 0;font-size:14px;color:var(--ink3)}
.efe-q>span:not(.efe-grip),.efe-q>div:not(.efe-qh):not(.efe-qa){margin-top:10px}
.efe-line{display:block;border-bottom:2px solid var(--ln);padding:6px 2px;color:var(--ink3);font-size:15px}
.efe-line b{color:var(--ink);margin-right:6px}
.efe-ta{display:block;height:64px;border:2px solid var(--ln);border-radius:var(--r)}
.efe-opts{display:flex;flex-direction:column;gap:6px;max-width:380px}
.efe-opt{display:flex;align-items:center;gap:10px;min-height:40px;padding:6px 10px;border:1.5px solid color-mix(in srgb,var(--a) 35%,transparent);border-radius:var(--r);background:color-mix(in srgb,var(--a) 6%,transparent);font-size:14px}
.efe-opt kbd{font:inherit;font-size:11px;font-weight:600;min-width:20px;height:20px;border-radius:5px;border:1px solid color-mix(in srgb,var(--a) 50%,transparent);display:grid;place-items:center;color:var(--a)}
.efe-stars{color:color-mix(in srgb,var(--a) 70%,transparent);font-size:28px;letter-spacing:4px}
.efe-scale{display:flex;gap:4px}.efe-scale i{font-style:normal;flex:1;height:36px;border:1.5px solid color-mix(in srgb,var(--a) 35%,transparent);border-radius:calc(var(--r) * .6);display:grid;place-items:center;font-size:13px;font-weight:600}
.efe-sl{display:flex;flex-direction:column;gap:8px}.efe-sl b{font-size:26px;color:var(--a)}.efe-sl i{height:8px;border-radius:99px;background:linear-gradient(90deg,var(--a) 50%,var(--ln) 50%)}
.efe-file{display:grid;place-items:center;height:80px;border:2px dashed color-mix(in srgb,var(--a) 40%,transparent);border-radius:var(--r);color:var(--ink3);font-size:14px}
.efe-rec{display:inline-flex;align-items:center;height:40px;padding:0 16px;border-radius:var(--r);background:var(--a);color:#fff;font-size:14px;font-weight:600;width:max-content}
.efe-chk{display:inline-flex;align-items:center;gap:10px;padding:8px 14px;border:1.5px solid var(--ln);border-radius:var(--r);font-size:14px}.efe-chk i{width:18px;height:18px;border:2px solid var(--a);border-radius:5px}
.efe-qa{display:flex;align-items:center;gap:2px;margin-top:10px;padding-top:8px;border-top:1px dashed var(--ln)}
.efe-qa .btn{color:var(--ink3)}
.efe-qt{font-size:12px;color:var(--ink3);margin-right:auto}
.efe-drop-end{display:none;align-items:center;justify-content:center;height:56px;border:2px dashed var(--ln);border-radius:12px;color:var(--ink3);font-size:13px}
.efe-dragging .efe-drop-end{display:flex}.efe-drop-end.on{border-color:var(--a);color:var(--a)}
.efe-send{margin-top:6px}.efe-send span{display:inline-flex;align-items:center;height:44px;padding:0 22px;border-radius:var(--r);background:var(--a);color:#fff;font-weight:600}
.efe-in{border-left:1px solid var(--line);display:flex;flex-direction:column;min-height:0;background:var(--panel)}
.efe-tabs{display:flex;gap:2px;padding:8px 8px 0;border-bottom:1px solid var(--line);flex:none;overflow-x:auto}
.efe-tab{height:34px;padding:0 8px;border:0;background:none;font:inherit;font-size:13px;color:var(--muted);cursor:pointer;border-bottom:2px solid transparent;white-space:nowrap}
.efe-tab.on{color:var(--ink);border-bottom-color:var(--accent);font-weight:600}
.efe-pane{flex:1;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:14px}
.efe-f{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:500;color:var(--muted)}
.efe-f>span:first-child{font-size:12px}
.efe-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.efe-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
body .efe-pane .efe-c{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;font-size:13px;font-weight:500;color:var(--ink);text-align:left}
body .efe-pane .efe-c input{width:auto;margin:0}
.efe-sws{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.efe-sw{width:26px;height:26px;border-radius:50%;border:2px solid var(--panel);box-shadow:0 0 0 1px var(--line);cursor:pointer;padding:0}
.efe-sw.on{box-shadow:0 0 0 2px var(--accent)}.efe-sw.none{background:var(--panel);color:var(--muted);font-size:13px}
.efe-sws input[type=color]{width:30px;height:30px;padding:0;border:1px solid var(--line);border-radius:50%;background:none;cursor:pointer;min-height:0}
.efe-aud{display:flex;flex-direction:column;gap:8px}
.efe-pane .efe-ac{display:grid;text-align:left;grid-template-columns:auto 20px 1fr;grid-template-areas:"c i t" "c i d";align-items:center;column-gap:8px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;cursor:pointer}
.efe-ac input{grid-area:c}.efe-ac svg{grid-area:i;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;color:var(--accent)}
.efe-ac b{grid-area:t;font-size:13px;color:var(--ink)}.efe-ac small{grid-area:d;font-size:12px;font-weight:400;color:var(--muted)}
.efe-ac.on{border-color:var(--accent);background:rgba(43,92,230,.05)}
.efe-ppl{display:flex;gap:6px;flex-wrap:wrap}
.efe-red{color:#DC2626!important;align-self:flex-start}
.efe-fl{display:flex;flex-direction:column;gap:6px}
.efe-flr{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--panel);font:inherit;text-align:left;cursor:pointer;color:var(--ink)}
.efe-flr:hover{border-color:var(--accent)}.efe-flr b{display:block;font-size:13px}.efe-flr small{font-size:12px;color:var(--muted)}
.efe-flic{width:28px;height:28px;border-radius:8px;background:var(--line);display:grid;place-items:center;flex:none}.efe-flic svg{width:15px;height:15px;fill:var(--muted)}
.efe-flic.on{background:rgba(217,119,6,.14)}.efe-flic.on svg{fill:#D97706}
.efe-kpi{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-radius:10px;overflow:hidden}
.efe-kpi span{display:flex;flex-direction:column;padding:10px 12px;font-size:12px;color:var(--muted);border-left:1px solid var(--line)}.efe-kpi span:first-child{border-left:0}
.efe-kpi b{font-size:20px;color:var(--ink);font-weight:600}.efe-kpi .warn b{color:#D97706}
.efe-row{display:flex;gap:6px}.efe-row input{flex:1}
.efe-row .btn svg,.efe-f .btn svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2}
.efe-ans{border:1px solid var(--line);border-radius:10px;padding:8px 10px;font-size:13px;color:var(--ink)}
.efe-ans summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none}.efe-ans summary .efx-av{margin:0;width:24px;height:24px}
.efe-ans summary small{margin-left:auto;color:var(--muted)}
.efe-aq{padding:6px 0;border-top:1px solid var(--line);margin-top:6px}.efe-aq small{color:var(--muted);font-size:11px}
@media (max-width:1180px){.efe-body{grid-template-columns:160px minmax(0,1fr) 300px}.efx-tr{grid-template-columns:32px minmax(180px,2fr) 70px 96px 0 100px 120px 64px}.efx-tr>span:nth-child(5){display:none}}
@media (max-width:900px){.efx{grid-template-columns:1fr}.efx-side{position:static;max-height:none;border-right:0;border-bottom:1px solid var(--line);flex-direction:row;flex-wrap:wrap}.efx-st{display:none}.efe-body{grid-template-columns:1fr}.efe-pal{flex-direction:row;flex-wrap:wrap;border-right:0;border-bottom:1px solid var(--line)}.efe-in{border-left:0;border-top:1px solid var(--line)}.efx-tr{grid-template-columns:28px minmax(0,1fr) 60px 90px;}.efx-tr>span:nth-child(n+5):not(:last-child){display:none}}
.efe-qa .btn{background:transparent!important;color:var(--ink3)!important;border:0!important}
/* v142 · Foto del lead a tamaño grande */
#dHead .dh-id .lead-av:has(img){cursor:zoom-in}
#dHead .dh-id .lead-av:has(img):hover{box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 25%,transparent)}
.fl-box{position:fixed;inset:0;z-index:200;background:rgba(10,12,16,.82);display:grid;place-items:center;padding:24px;animation:flIn .15s ease-out}
@keyframes flIn{from{opacity:0}}
.fl-fig{margin:0;display:flex;flex-direction:column;align-items:center;gap:12px}
.fl-fig img{width:min(80vmin,640px);height:min(80vmin,640px);object-fit:cover;border-radius:16px;background:#22252b;box-shadow:0 24px 64px rgba(0,0,0,.5)}
.fl-fig figcaption{display:flex;flex-direction:column;align-items:center;gap:2px;color:#fff}
.fl-fig figcaption b{font-size:16px;font-weight:600}.fl-fig figcaption small{font-size:13px;color:#C1C6D0}
.fl-x{position:fixed;top:16px;right:16px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:18px;cursor:pointer}
.fl-x:hover{background:rgba(255,255,255,.22)}
/* v200 · Funciones con interruptor */
#app .side .nav.fx-off,#app .side .ngrp.fx-off,body.nav-open #app .side .nav.fx-off{display:none!important}
.fx{display:flex;flex-direction:column;gap:12px;max-width:760px}
.fx-top{display:flex;align-items:center;gap:8px}
.fx-top .spacer{flex:1}
.fx-box{padding:8px 16px}
.fx-g{font-size:12px;color:var(--muted);padding:8px 0 4px}
.fx-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--line);cursor:pointer}
.fx-g + .fx-row{border-top:0}
.fx-row div{display:flex;flex-direction:column;gap:2px;min-width:0}
.fx-row b{font-size:14px;font-weight:600}
.fx-row small{font-size:12px;color:var(--muted);line-height:1.35}
/* piezas de funciones apagadas que viven dentro de otras pantallas */
body.fx-off-test .efx-dir.root[href="#eformularios/test"]{display:none!important}
body.fx-off-grabador #xrec{display:none!important}
/* ficha del lead: botones, etapas y pestañas de funciones apagadas */
body.fx-off-agenda #mkGcal,body.fx-off-grabador #mkRec,body.fx-off-llamadas.fx-off-telefonia #mkDial{display:none!important}
body.fx-off-entregar [data-fce="cliente"],body.fx-off-entregar [data-fce="renov"],body.fx-off-contratos.fx-off-cobros [data-fce="cierre"]{display:none!important}
body.fx-off-enlaces [data-fcs="lk"],body.fx-off-discord [data-fcs="dc"],body.fx-off-facturacion [data-fcs="fact"]{display:none!important}
body.fx-off-tareas button[data-f3t="tareas"],body.fx-off-enlaces button[data-f3t="enlaces"],body.fx-off-llamadas.fx-off-grabador button[data-f3t="llamadas"],body.fx-off-contratos.fx-off-cobros button[data-f3t="contrato"]{display:none!important}
body.fx-off-entregar button[data-f3e="cliente"],body.fx-off-entregar button[data-f3e="renov"],body.fx-off-contratos.fx-off-cobros button[data-f3e="cierre"]{display:none!important}
/* v161 · Medir › Facturación (Holded) */
#sec-holded{overflow-y:auto}
.hx-ok{color:#15803D}.hx-warn{color:#B45309}.hx-bad{color:#DC2626}.hx-info{color:#2B5CE6}
.hx-err{background:color-mix(in srgb,#EF4444 12%,transparent);color:#DC2626;border-radius:8px;padding:8px 12px;font-size:13px}
.hx-kpi{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.hx-kpi>div{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:4px}
.hx-kpi small{font-size:12px;color:var(--muted)}
.hx-kpi b{font-size:20px;font-weight:600}
.hx-tabs{display:flex;gap:4px;padding:3px;border-radius:10px;background:var(--line);align-self:flex-start;flex-wrap:wrap}
.hx-tabs button{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 14px;border:0;border-radius:7px;background:transparent;color:var(--muted2);font-size:13px;cursor:pointer}
.hx-tabs button.on{background:var(--panel);color:var(--ink);font-weight:600}
.hx-tabs em{font-style:normal;font-size:11px;color:var(--muted)}
.hx-tr{grid-template-columns:minmax(0,2.2fr) 140px repeat(4,minmax(0,1fr));min-width:860px}
.hx-sl{grid-template-columns:minmax(0,2fr) 140px minmax(0,2fr);cursor:default}
.hx-ign{opacity:.55}
.hx-chip{display:inline-flex;font-size:11px;font-weight:600;padding:2px 8px;border-radius:999px;background:var(--line)}
.hx-chip.hx-ok{background:color-mix(in srgb,#22C55E 16%,transparent)}
.hx-chip.hx-warn{background:color-mix(in srgb,#F59E0B 18%,transparent)}
.hx-chip.hx-bad{background:color-mix(in srgb,#EF4444 16%,transparent)}
.hx-chip.hx-info{background:color-mix(in srgb,#2B5CE6 16%,transparent)}
.hx-rw{border-bottom:1px solid var(--line)}
.hx-rw .ent-tr{border-bottom:0}
.hx-det{padding:4px 16px 12px;display:flex;flex-direction:column;gap:4px;min-width:860px}
.hx-fa{display:grid;grid-template-columns:90px 90px minmax(160px,1fr) 100px 120px;gap:10px;font-size:12px;padding:6px 10px;background:var(--bg);border-radius:8px;align-items:center}
.hx-fa span:nth-child(3){color:var(--muted2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hx-da{display:flex;justify-content:flex-end}
.hx-asg{display:flex!important;flex-wrap:nowrap!important;gap:6px;align-items:center}
.hx-asg input{flex:1;min-width:0}
.hx-empty{padding:16px;background:var(--panel);border:1px solid var(--line);border-radius:12px}
.hx-setup{padding:16px;display:flex;flex-direction:column;gap:12px;max-width:760px}
.hx-acc{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) auto;gap:8px;align-items:center;margin-bottom:8px}
.hx-acc small{grid-column:1/-1;font-size:12px}
.hx-mini{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.hx-mini>div{display:flex;flex-direction:column;gap:2px}
.hx-mini small{font-size:11px;color:var(--muted)}
#hxFicha .hx-fa{grid-template-columns:80px 80px 1fr 120px}
#hxFicha .spacer{flex:1}
@media (max-width:760px){.hx-kpi{grid-template-columns:1fr 1fr}.hx-acc{grid-template-columns:1fr}}
/* v130 · Hoy: agenda del día y dinero de hoy */
.hz-boxes{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:14px;margin:0 0 16px}
.hzd,.hzm{padding:14px 16px!important;display:flex;flex-direction:column;gap:10px;min-width:0;box-sizing:border-box}
.hzd-h0{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.hzd-h0 h2{font-size:15px;margin:0}
.hzd-seg{display:inline-flex;border:1px solid var(--line2);border-radius:9px;overflow:hidden}
.hzd-seg button{border:0;background:none;padding:5px 10px;font-size:12.5px;cursor:pointer;color:var(--muted)}
.hzd-seg button.on{background:var(--text);color:#fff}
.hzd-h1{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:8px 10px;border-radius:10px;background:var(--soft)}
.hzd-nx{flex:1;min-width:0}.hzd-nx.live{color:var(--hot)}
.hzd-grid{display:flex;flex-direction:column;max-height:430px;overflow:auto;border-top:1px solid var(--line)}
.hzd-hr{flex:none;display:grid;grid-template-columns:52px minmax(0,1fr);border-bottom:1px solid var(--line);min-height:36px}
.hzd-hr.vac{min-height:28px}
.hzd-hl{font-size:11.5px;color:var(--faint);padding:7px 0 0;font-variant-numeric:tabular-nums}
.hzd-hb{display:flex;flex-direction:column;gap:4px;padding:4px 0}
.hzd-it{display:grid;grid-template-columns:52px minmax(0,1fr) 28px auto 64px;align-items:center;gap:10px;padding:6px 8px;border-radius:9px;border:1px solid var(--line2);background:var(--panel);cursor:pointer;border-left:3px solid var(--accent)}
.hzd-it:hover,.hzd-it:focus-visible{background:var(--soft)}
.hzd-it.live{border-color:var(--hot);border-left-color:var(--hot);background:color-mix(in srgb,var(--hot) 7%,var(--panel))}
.hzd-it.next{border-left-color:var(--hot)}
.hzd-it.past{opacity:.6}
.hzd-it.canc{opacity:.55;border-left-color:var(--faint)}.hzd-it.canc .hzd-w b{text-decoration:line-through}
.hzd-t{font-weight:600;font-variant-numeric:tabular-nums;display:flex;flex-direction:column;line-height:1.15}.hzd-t small{font-weight:400;color:var(--faint);font-size:11px}
.hzd-w{display:flex;flex-direction:column;min-width:0}.hzd-w b,.hzd-w small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hzd-w small{color:var(--muted);font-size:12px}
.hzd-h{width:26px;height:26px;border-radius:50%;background:var(--soft2);display:grid;place-items:center;font-size:10.5px;font-weight:600;color:var(--text2)}
.hzd-s{font-size:12px;color:var(--muted);white-space:nowrap}
.hzd-it.live .hzd-s{color:var(--hot);font-weight:600}
.hzd-it .hz-meet{justify-content:center}
.hzd-now{position:relative;height:0;border-top:2px solid var(--hot);margin:6px 0}
.hzd-now span{position:absolute;left:-52px;top:-9px;font-size:10.5px;font-weight:700;color:#fff;background:var(--hot);padding:1px 5px;border-radius:5px}
.hzd-all{align-self:flex-start}
.hzm-big{display:flex;flex-direction:column;padding:10px 12px;border-radius:12px;background:var(--soft)}
.hzm-big span{font-size:12px;color:var(--muted)}.hzm-big b{font-size:30px;letter-spacing:-.02em;line-height:1.15;font-variant-numeric:tabular-nums}.hzm-big small{color:var(--muted)}
.hzm-ls{display:flex;flex-direction:column}
.hzm-l{display:grid;grid-template-columns:1fr auto;align-items:center;padding:7px 0;border-bottom:1px solid var(--line);gap:0 10px}
.hzm-l span{display:flex;align-items:center;gap:7px}.hzm-l span small{color:var(--faint)}
.hzm-l i{width:8px;height:8px;border-radius:50%;background:var(--faint);flex:none}
.hzm-l.ven i{background:#16A34A}.hzm-l.con i{background:#2563EB}.hzm-l.env i{background:var(--warn)}.hzm-l.pen i{background:var(--danger)}
.hzm-l b{font-variant-numeric:tabular-nums}.hzm-l>small{grid-column:1/-1;font-size:11px;margin-top:-2px}
.hzm-mv{display:flex;flex-direction:column;gap:3px}
.hzm-r{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:8px;align-items:center;padding:5px 6px;border-radius:8px;cursor:pointer}
.hzm-r:hover,.hzm-r:focus-visible{background:var(--soft)}
.hzm-t{font-size:12px;color:var(--faint);font-variant-numeric:tabular-nums}
.hzm-w{display:flex;flex-direction:column;min-width:0}.hzm-w b,.hzm-w small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hzm-w small{font-size:12px;color:var(--muted)}
.hzm-a{font-variant-numeric:tabular-nums}.hzm-r.cob .hzm-a{color:#16A34A}
@media (max-width:980px){.hz-boxes{grid-template-columns:1fr}}
@media (max-width:560px){.hzd-it{grid-template-columns:44px minmax(0,1fr) auto;gap:8px}.hzd-h,.hzd-s{display:none}.hzd-hr{grid-template-columns:40px minmax(0,1fr)}.hzd-now span{left:-40px}}
/* v199 · Ajustes › Integraciones › IA (modulos/ia-proveedores.js) */
.iap-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.iap-now{margin:0;font-size:13px;font-weight:600;color:var(--text2)}
.iap-err{margin:0;padding:8px 12px;border-radius:8px;background:var(--dangerBg);color:var(--danger);font-size:12px}
.iap-form select,.iap-form input{font-family:inherit;font-size:13px}
.iap-form label small{font-weight:400}
.iap-form1{grid-template-columns:minmax(0,1fr)}
.iap-keyrow{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px}
.iap-link{font-size:12px}
.iap-res{font-size:12px;color:var(--muted)}.iap-res.ok{color:#146C34}.iap-res.bad{color:var(--danger)}
.iap .iap-check{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;text-align:left;gap:8px;font-size:13px;font-weight:500;color:var(--text)}
.iap .iap-check input{width:auto;height:auto;margin:0}
.iap-per{display:flex;gap:4px}
.iap-chip{height:28px;padding:0 12px;border-radius:99px;border:1px solid var(--line2);background:var(--panel);font-size:12px;cursor:pointer;color:var(--text2)}
.iap-chip.on{background:var(--text);border-color:var(--text);color:var(--panel)}
.iap-tab{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.iap-tr{display:grid;grid-template-columns:minmax(0,2.4fr) repeat(4,minmax(0,1fr));gap:8px;padding:8px 12px;border-top:1px solid var(--line);font-size:13px;align-items:center}
.iap-tr:first-child{border-top:0}.iap-tr span:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}
.iap-tr i{color:var(--warn);font-style:normal;font-weight:700}.iap-tr small{color:var(--muted)}
.iap-th{background:var(--soft);font-size:11px;font-weight:600;color:var(--muted)}
.iap-sub{font-size:13px;margin-top:4px}
.iap-dias{display:flex;flex-direction:column;gap:4px}
.iap-dia{display:grid;grid-template-columns:110px minmax(0,1fr) 64px 72px;gap:8px;align-items:center;font-size:12px}
.iap-dia span:nth-child(n+3){text-align:right;font-variant-numeric:tabular-nums}
.iap-bar{height:8px;border-radius:99px;background:var(--soft);overflow:hidden}.iap-bar i{display:block;height:100%;border-radius:99px;background:var(--cold)}
.iap-det summary{cursor:pointer;font-size:13px;font-weight:600}
.iap-det[open]{display:flex;flex-direction:column;gap:8px}
.iap-precios{display:flex;flex-direction:column;gap:6px}
.iap-pr{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px}
.iap-pr>span{flex:1 1 180px;font-family:ui-monospace,monospace}
.iap-pr label,.iap-usd{display:flex;align-items:center;gap:4px;font-size:11px;color:var(--muted)}
.iap-pr input,.iap-usd input{width:84px;height:28px;font-size:12px}
@media (max-width:760px){
  .iap-form{grid-template-columns:minmax(0,1fr)}
  .iap-tr{grid-template-columns:minmax(0,1.6fr) repeat(2,minmax(0,1fr));}
  .iap-tr span:nth-child(3),.iap-tr span:nth-child(4){display:none}
  .iap-dia{grid-template-columns:84px minmax(0,1fr) 56px}.iap-dia span:nth-child(3){display:none}
}
/* v202 · Ajustes › Integraciones (modulos/integraciones.js) */
.ix{display:flex;flex-direction:column;gap:24px;max-width:1040px}
.ix > .hint{margin:0}
.ix-alert{display:flex;align-items:center;gap:8px;padding:12px 16px;border-radius:12px;background:color-mix(in srgb,var(--danger) 8%,var(--panel));color:var(--danger);font-size:13px}
.ix-alert .sico{width:16px;height:16px;fill:currentColor;flex:none}
.ix-cat{display:flex;flex-direction:column;gap:12px}
.ix-ch{display:flex;flex-direction:column;gap:2px}
.ix-ch b{font-size:14px;font-weight:600}
.ix-ch small{font-size:12px;color:var(--muted)}
.ix-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}
.ix-card{display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid var(--line2);background:var(--panel);border-radius:12px;color:inherit;text-decoration:none;min-width:0;transition:border-color .15s,box-shadow .15s}
.ix-card:hover,.ix-card:focus-visible{border-color:var(--muted2);box-shadow:0 1px 0 var(--line2)}
.ix-card.bad{border-color:color-mix(in srgb,var(--danger) 45%,var(--line2))}
.ix-card{position:relative;padding-left:60px}
.ix-ico{position:absolute;left:16px;top:16px;width:32px;height:32px;border-radius:8px;background:var(--soft);display:grid;place-items:center}
.ix-ico .sico{width:16px;height:16px;fill:var(--text2)}
.ix-txt{display:flex;flex-direction:column;gap:4px;min-width:0}
.ix-txt b{font-size:14px;font-weight:600}
.ix-txt small{font-size:12px;color:var(--muted);line-height:1.4}
.ix-en,.ix-pend,.ix-err{font-style:normal;font-size:12px}
.ix-en{color:var(--muted)}
.ix-pend{color:var(--warn);font-weight:600}
.ix-err{color:var(--danger);overflow-wrap:anywhere}
.ix-st{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;height:24px;padding:0 10px;border-radius:999px;background:var(--soft);font-size:12px;color:var(--muted2);white-space:nowrap}
.ix-st i{width:8px;height:8px;border-radius:50%;background:var(--faint);flex:none}
.ix-st.ok{color:var(--ok);background:color-mix(in srgb,var(--ok) 10%,var(--panel))}
.ix-st.ok i{background:var(--ok)}
.ix-st.warn{color:var(--warn);background:color-mix(in srgb,var(--warn) 10%,var(--panel))}
.ix-st.warn i{background:var(--warn)}
.ix-st.bad{color:var(--danger);background:color-mix(in srgb,var(--danger) 10%,var(--panel))}
.ix-st.bad i{background:var(--danger)}
/* enlace «Se conecta en Integraciones › …» bajo el título de otras pantallas */
.ix-back{display:flex;align-items:center;gap:8px;margin:8px 0 0;font-size:12px;color:var(--muted)}
.ix-back .sico{width:14px;height:14px;fill:currentColor;flex:none}
.ix-back a{color:var(--text2);text-decoration:underline;text-underline-offset:2px}
/* pantallas de conexión nuevas (Kapso) */
.ix-form{display:flex;flex-direction:column;gap:12px;max-width:720px}
.ix-form > .hint{margin:0}
.ix-stbox{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:16px}
.ix-stbox b{font-size:14px;font-weight:600}
.ix-stbox .ix-err,.ix-stbox small{flex-basis:100%}
.ix-fields{display:flex;flex-direction:column;gap:12px;padding:16px}
.ix-fields .hint{margin:0}
.ix-btns{display:flex;flex-wrap:wrap;gap:8px}
@media (max-width:600px){.ix-grid{grid-template-columns:1fr}}
/* v219 · Vender › Landings */
.ld { display: flex; flex-direction: column; gap: 16px; max-width: 980px; margin: 0 auto; padding: 24px; }
.ld-head h1 { margin: 0 0 4px; font-size: 20px; }
.ld-card { display: flex; flex-direction: column; gap: 14px; padding: 16px; }
.ld-card.off { opacity: .7; }
.ld-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.ld-tit { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ld-chip { font-size: 11px; padding: 3px 8px; border-radius: 999px; background: var(--bg2, #f1f1f1); }
.ld-chip.cl { background: #ede9fe; color: #5b21b6; }
.ld-sw input { width: auto; margin: 0; }
.ld-sw { white-space: nowrap; display: flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; }
.ld-url { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.ld-url a { word-break: break-all; }
.ld-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.ld-stats > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 8px; background: var(--bg2, #f6f6f6); }
.ld-stats small, .ld-cfg small, .ld-last small { font-size: 11px; opacity: .75; text-transform: uppercase; letter-spacing: .04em; }
.ld-stats b { font-size: 20px; }
.ld-cfg { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.ld-cfg label { display: flex; flex-direction: column; gap: 4px; }
.ld-last { display: flex; flex-direction: column; gap: 4px; }
.ld-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 8px; border-radius: 6px; font-size: 13px; text-decoration: none; color: inherit; }
.ld-row:hover { background: var(--bg2, #f6f6f6); }
.ld-new { font-style: normal; font-size: 11px; color: #166534; }
.ld-claude { display: flex; flex-direction: column; gap: 6px; padding: 16px; }
/* v213 · Botón «Llamadas de venta» (descargarlas en un archivo) */
.lldesc { position: relative; display: inline-block; }
.lldesc > summary { list-style: none; cursor: pointer; }
.lldesc > summary::-webkit-details-marker { display: none; }
.lldesc-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; width: 320px; max-width: 86vw; display: flex; flex-direction: column; gap: 10px; padding: 14px; background: var(--panel, #fff); border: 1px solid var(--line, rgba(0, 0, 0, 0.12)); border-radius: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18); text-align: left; }
.lldesc-pop label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.lldesc-pop label.lldTr { flex-direction: row; align-items: center; gap: 8px; }
.lldesc-pop .lldBtns { display: flex; gap: 8px; flex-wrap: wrap; }
.lldesc-pop small { line-height: 1.45; }
.lldesc.izq .lldesc-pop { left: 0; right: auto; }
/* v145 · Nombre del lead editable en la cabecera de la ficha */
#dHead .dh-id .nm>b{width:fit-content!important;cursor:text;border-radius:6px;padding:0 4px;margin:0 -4px;display:inline-flex;align-items:center;gap:6px;max-width:100%;transition:background .15s}
#dHead .dh-id .nm>b:hover{background:var(--soft)}
#dHead .dh-id .nm>b:not(:has(input))::after{content:"";width:13px;height:13px;flex:none;opacity:0;transition:opacity .15s;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z'/%3E%3C/svg%3E") center/contain no-repeat}
#dHead .dh-id .nm>b:hover::after{opacity:.55}
#dHead .dh-id .nm>b:has(input){background:transparent}
#dHead .dh-id .nm-in{font:inherit;font-weight:600;color:inherit;width:min(320px,100%);min-height:0;height:30px;padding:0 8px;border-radius:8px;border:1px solid var(--accent,#2B5CE6);background:var(--panel);outline:none;box-shadow:0 0 0 3px rgba(43,92,230,.18)}
@media (hover:none){#dHead .dh-id .nm>b::after{opacity:.4}}
/* v187 · Diálogo «Nuevo contacto» (modulos/nuevo-contacto.js) */
.nc-b input,.nc-b select{width:100%;box-sizing:border-box}.nc-2>label{min-width:0}
.nc-b{display:flex;flex-direction:column;gap:12px;padding:16px 18px}
.nc-b label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:600;color:var(--muted)}
.nc-b label small{font-weight:400;font-size:11px}
.nc-b input,.nc-b select{font-size:14px}
.nc-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media (max-width:520px){.nc-2{grid-template-columns:1fr}}
/* v143 · Pipeline: tablero a todo el ancho, filtros en una línea con atajos personalizables */
#sec-pipeline.pf-nosend .pf-side{display:none}
#sec-pipeline .sec-head #pipeSlot{flex:none}
#sec-pipeline .sec-head #pipeSlot .pipe-sw select{font-size:20px;font-weight:600;padding:0 22px 0 0}
.pf-row{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;padding:0 24px 12px}
.pf-row #kpis{display:flex;gap:8px;flex-wrap:wrap;margin:0;padding:0}
.pf-row #kpis.hidden{display:none}
.pf-row #pfBar{padding:0;display:contents}
.pf-row #pfBar .pfb-g{gap:6px}
.pf-row #fChips{display:flex;gap:6px;flex-wrap:wrap;margin:0;padding:0}
.pf-row #fChips:empty{display:none}
.pf-row #fClear{font-size:12px;font-weight:600}
.pf-btn{gap:6px}
.pf-btn em{font-style:normal;font-size:11px;font-weight:600;min-width:18px;height:18px;border-radius:999px;background:var(--text);color:#fff;display:none;place-items:center;padding:0 5px}
.pf-btn.on{border-color:var(--text)}
.pf-btn.on em{display:inline-grid}
.pf-pop{left:0;right:auto;width:380px;max-height:min(70vh,640px);overflow:auto;padding:16px;display:flex;flex-direction:column;gap:16px}
.pf-pop:not(.hidden){display:flex}
.pf-pins{display:flex;flex-direction:column;gap:6px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.pf-pins b{font-size:13px;font-weight:600}
.pf-pinl{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:4px}
.pf-pinl label{display:inline-flex;align-items:center;gap:6px;font-size:13px;cursor:pointer}
.pf-pinl input{width:auto;margin:0}
.pf-pop #pfSide{display:flex;flex-direction:column;gap:4px}
.pf-pop .pf-foot{display:flex;flex-direction:column;gap:8px;padding-top:16px;border-top:1px solid var(--line)}
/* tarjetas: foto de WhatsApp a 32 px */
body .card .row .lead-av{width:32px;height:32px;font-size:11px;flex:none}
body .card .row .lead-av img{width:100%;height:100%}
body .card{padding:12px;gap:8px}
@media (max-width:760px){
  .pf-row{padding:0 16px 12px;flex-wrap:nowrap;overflow-x:auto}
  .pf-row>*{flex:none}
  .pf-pop{position:fixed;left:8px!important;right:8px!important;top:auto;bottom:80px;width:auto}
}
/* ajustes tras capturas */
.pf-pop{left:auto!important;right:0!important}
.pf-pinl label{flex-direction:row!important;font-weight:400}
#sec-pipeline .sec-head .pipe-sw{border:0;background:transparent;height:36px;padding:0;min-width:0}
#sec-pipeline .sec-head .pipe-sw svg{display:none}
#sec-pipeline .sec-head .pipe-sw select{font-size:20px;padding:0 4px 0 0}
#sec-pipeline .sec-head .ttl h2{font-size:13px;font-weight:500;color:var(--muted)}
#sec-pipeline .sec-head .ttl .sub{font-size:12px}
@media (max-width:760px){
  /* una fase cada vez: se pasa de una a otra deslizando */
  #sec-pipeline .board{scroll-snap-type:x mandatory}
  #sec-pipeline .board>.col{flex:0 0 100%;width:100%;max-width:none;min-width:0;scroll-snap-align:start}
  #sec-pipeline .sec-head .pipe-sw{width:100%}
}
#sec-pipeline .sec-head #pipeSlot{padding:0;min-width:0;max-width:100%}
@media (max-width:760px){ #sec-pipeline .sec-head #pipeSlot{width:100%} #sec-pipeline .sec-head .pipe-sw select{max-width:100%} }
#sec-pipeline .pf-row #fClear{display:none}
#sec-pipeline .sec-head .pipe-sw select{border:0!important;background-color:transparent!important;box-shadow:none!important;min-height:0}
/* v133 · Pipeline: barra de filtros por perfil */
.pfb{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;padding:8px 16px 4px}
.pfb:empty{display:none}
.pfb-g{display:flex;flex-wrap:wrap;align-items:center;gap:5px}
.pfb-l{font-size:11.5px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin-right:2px}
.pfb-seg{display:inline-flex;border:1px solid var(--line2);border-radius:9px;overflow:hidden;background:var(--panel)}
.pfb-seg button{border:0;background:none;padding:5px 10px;font-size:12.5px;cursor:pointer;color:var(--text2);display:inline-flex;align-items:center;gap:5px}
.pfb-seg button+button{border-left:1px solid var(--line2)}
.pfb-seg button.on{background:var(--text);color:#fff}
.pfb-seg em,.pfb-c em{font-style:normal;font-size:11px;color:var(--faint)}
.pfb-seg button.on em,.pfb-c.on em{color:rgba(255,255,255,.75)}
.pfb-c{border:1px solid var(--line2);background:var(--panel);border-radius:99px;padding:3px 10px;font-size:12.5px;cursor:pointer;display:inline-flex;align-items:center;gap:5px;color:var(--text2)}
.pfb-c:hover{background:var(--soft)}
.pfb-c.on{background:var(--text);border-color:var(--text);color:#fff}
.pfb-x{margin-left:auto}
@media (max-width:700px){.pfb{gap:8px;padding:8px 12px 4px}.pfb-g{flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding-bottom:2px}.pfb-x{margin-left:0}}
.pfb-c,.pfb-seg button{white-space:nowrap;flex:none}
/* v214 · Ajustes › Playbook de ventas (skill automática) */
.pbv { display: flex; flex-direction: column; gap: 14px; }
.pbv-top { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.pbv-k { display: flex; gap: 12px; flex-wrap: wrap; }
.pbv-k > div { flex: 1; min-width: 140px; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--line, rgba(0, 0, 0, 0.12)); border-radius: 10px; }
.pbv-k b { font-size: 20px; }
.pbv-btns { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pbv-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 12px 16px; border-bottom: 1px solid var(--line, rgba(0, 0, 0, 0.08)); }
.pbv-row:last-child { border-bottom: 0; }
.pbv-row .who { flex: 1; min-width: 200px; display: flex; flex-direction: column; }
.pbv-row > small, .pbv-det { flex-basis: 100%; }
.pbv-det summary { cursor: pointer; font-size: 13px; color: var(--accent, #2563eb); }
.pbv-det pre { white-space: pre-wrap; font-size: 12px; line-height: 1.5; max-height: 420px; overflow: auto; padding: 10px; border-radius: 8px; background: rgba(127, 127, 127, 0.08); }
.pbv-ins { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.pbv-ins summary { cursor: pointer; display: flex; gap: 8px; align-items: center; }
.pbv-ins textarea { width: 100%; font-family: ui-monospace, monospace; font-size: 12px; margin: 8px 0; }
/* v136 · Ajustes › Playbook de cierre */
.pbx{display:flex;flex-direction:column;gap:14px}
.pbx-body{display:flex;flex-direction:column;gap:12px}
.pbx-body>.btn{align-self:flex-start}
.pbx-it{padding:14px 16px!important;display:flex;flex-direction:column;gap:10px}
.pbx-it label{display:flex;flex-direction:column;gap:5px;font-size:12.5px;font-weight:600;color:var(--text2)}
.pbx-it label small{font-weight:400}
.pbx-h{display:flex;align-items:center;gap:6px}
.pbx-h input{flex:1;font-weight:600;font-size:14px}
.pbx-n{width:24px;height:24px;border-radius:50%;background:var(--soft);color:var(--muted);display:grid;place-items:center;font-size:12px;font-weight:700;flex:none}
.pbx-h .btn.sm{padding:5px 9px;min-width:0}
.pbx-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.pbx-save{position:sticky;bottom:0;display:flex;align-items:center;gap:10px;justify-content:flex-end;padding:12px 0 4px;background:linear-gradient(transparent,var(--bg) 35%)}
.pbx-save .hint{margin-right:auto}
/* Proyectos (gestor tipo ClickUp) */
#prjBody{height:100%;overflow:auto}
.pj{padding:22px 26px 40px;max-width:1500px;margin:0 auto}
.pj-top{display:flex;align-items:flex-start;gap:12px;margin-bottom:14px}.pj-top h1{margin:0 0 2px;font-size:22px;letter-spacing:-.01em}
.pj-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:16px;overflow-x:auto}
.pj-tabs button{border:0;background:none;padding:9px 12px;font-size:13px;font-weight:500;color:var(--muted);cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap}
.pj-tabs button.on{color:var(--text);border-bottom-color:var(--text)}.pj-tabs em{font-style:normal;font-size:11px;background:var(--soft);border-radius:99px;padding:1px 7px;margin-left:3px}
.pj-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:12px}
.pj-card{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;gap:8px;padding:14px 16px;border:1px solid var(--line);border-left:4px solid var(--c);border-radius:12px;background:var(--panel);transition:box-shadow .15s,transform .15s}
.pj-card:hover{box-shadow:0 8px 24px -12px rgba(0,0,0,.25);transform:translateY(-1px)}.pj-card:focus-visible{outline:2px solid var(--c);outline-offset:2px}
.pj-card-h{display:flex;gap:8px;align-items:center}.pj-card-h b{font-size:15px;flex:1}
.pj-pill{font-style:normal;font-size:11px;background:var(--soft);border-radius:99px;padding:2px 8px;color:var(--muted)}
.pj-prog{height:6px;border-radius:99px;background:var(--soft);overflow:hidden}.pj-prog i{display:block;height:100%;background:var(--c);border-radius:99px}
.pj-card-f{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}
.pj-late{color:#DC2626;font-weight:600}.pj-today{color:#D97706;font-weight:600}
.pj-empty{border:1px dashed var(--line2);border-radius:12px;padding:28px;text-align:center;color:var(--muted)}.pj-empty b{color:var(--text);display:block;margin-bottom:4px}.pj-empty p{margin:0}
.pj-h2{font-size:15px;margin:28px 0 10px}
.pj-tpls{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:10px}
.pj-tpl{border:1px solid var(--line);border-radius:12px;padding:12px 14px;background:var(--panel);display:flex;flex-direction:column;gap:4px;border-top:3px solid var(--c)}
.pj-tpl p{margin:0;font-size:12.5px;color:var(--muted);flex:1}.pj-tpl-a{display:flex;gap:6px;margin-top:6px}
.pj-av{width:24px;height:24px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;flex:none}
.pj-av.off{border:1px dashed var(--line2);color:var(--faint);background:none}
/* cabecera de proyecto */
.pj-in{padding-top:14px}
.pj-ph{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.pj-ph h1{margin:0;font-size:20px;outline:0;border-radius:6px;padding:1px 4px;margin-left:-4px}.pj-ph h1:focus{background:var(--soft)}
.pj-ph-t{display:flex;flex-direction:column;min-width:0}.pj-ph select{height:32px;border:1px solid var(--line2);border-radius:8px;background:var(--panel);padding:0 8px}
.pj-dot{width:12px;height:12px;border-radius:4px;background:var(--c);flex:none}
.pj-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0 12px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.pj-seg{display:inline-flex;background:var(--soft);border-radius:10px;padding:3px;gap:2px}
.pj-seg button{border:0;background:none;padding:6px 11px;border-radius:8px;font-size:13px;font-weight:500;color:var(--muted);cursor:pointer;display:inline-flex;align-items:center;gap:6px}
.pj-seg button svg{width:14px;height:14px}.pj-seg button.on{background:var(--panel);color:var(--text);box-shadow:0 1px 3px rgba(0,0,0,.12)}
.pj-sel{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}.pj-sel select{height:30px;border:1px solid var(--line2);border-radius:8px;background:var(--panel);padding:0 6px;font-size:13px}
body .pj-chk{display:inline-flex!important;flex-direction:row!important;align-items:center;gap:6px;font-size:13px;color:var(--text2);cursor:pointer;margin:0}
.pj-chk input{width:auto;margin:0}
/* lista */
.pj-list{display:flex;flex-direction:column;gap:14px;min-width:0;overflow-x:auto}
.pj-row{display:grid;grid-template-columns:minmax(260px,1fr) 170px 150px 130px 90px;align-items:center;gap:10px;min-height:40px;padding:0 10px;border-bottom:1px solid var(--line);background:var(--panel);min-width:820px}
.pj-row:not(.pj-hd):hover{background:var(--soft)}.pj-row.drag{opacity:.4}
.pj-hd{font-size:11.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;min-height:30px;background:none;border:0}
.pj-c-t{display:flex;align-items:center;gap:7px;min-width:0;padding-left:calc(var(--lvl,0) * 26px)}
.pj-row[data-tid]{cursor:pointer}
.pj-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13.5px}.pj-row.done .pj-title{text-decoration:line-through;color:var(--muted)}
.pj-ck{width:16px;height:16px;margin:0;accent-color:#16A34A;flex:none;cursor:pointer}
.pj-flag svg{width:14px;height:14px;color:#DC2626}
.pj-sub-n,.pj-tag{font-style:normal;font-size:11px;color:var(--muted);background:var(--soft);border-radius:6px;padding:1px 6px;white-space:nowrap}
.pj-c-a{display:flex;align-items:center;gap:6px;flex-direction:row-reverse;justify-content:flex-end}
.pj-c-a select,.pj-c-s select{height:28px;border:1px solid transparent;border-radius:7px;background:none;font-size:12.5px;padding:0 4px;max-width:130px;cursor:pointer}
.pj-c-a select:hover,.pj-c-a select:focus{border-color:var(--line2)}
.pj-c-s select{background:color-mix(in srgb,var(--s) 14%,transparent);color:var(--s);font-weight:600;border:0;width:100%}
.pj-c-d{display:flex;align-items:center;gap:6px;font-size:12.5px;position:relative}
.pj-c-d input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}
.pj-prio{font-style:normal;font-size:11.5px;font-weight:600;color:var(--p)}
.pj-grp{border:1px solid var(--line);border-radius:12px;overflow:hidden;min-width:0}
.pj-grp>header{display:flex;align-items:center;gap:8px;padding:9px 12px;background:var(--soft2);border-left:4px solid var(--g);font-size:13.5px}
.pj-grp>header em{font-style:normal;font-size:12px;color:var(--muted)}.pj-grp.over{outline:2px dashed var(--g);outline-offset:-2px}
.pj-tog{border:0;background:none;cursor:pointer;color:var(--muted);transition:transform .15s;padding:0 2px}.pj-tog[aria-expanded="false"]{transform:rotate(-90deg)}
.pj-addrow input{width:100%;height:38px;border:0;background:var(--panel);padding:0 14px 0 36px;font-size:13px;color:var(--muted);outline:0}
.pj-addrow input:focus{color:var(--text);background:var(--soft)}
/* tablero */
.pj-board{display:grid;grid-template-columns:repeat(4,minmax(240px,1fr));gap:12px;overflow-x:auto;align-items:start}
.pj-col{background:var(--soft2);border-radius:12px;padding:8px;min-height:200px}.pj-col.over{outline:2px dashed var(--s)}
.pj-col header{display:flex;align-items:center;gap:7px;padding:4px 6px 10px;font-size:13px}.pj-col header i{width:9px;height:9px;border-radius:50%;background:var(--s)}.pj-col header em{font-style:normal;color:var(--muted);font-size:12px}
.pj-col-b{display:flex;flex-direction:column;gap:7px}
.pj-kcard{all:unset;box-sizing:border-box;cursor:grab;background:var(--panel);border:1px solid var(--line);border-left:3px solid var(--g);border-radius:9px;padding:9px 11px;display:flex;flex-direction:column;gap:4px;font-size:13px}
.pj-kcard:hover{box-shadow:0 6px 18px -10px rgba(0,0,0,.3)}.pj-kcard.drag{opacity:.4}.pj-kcard:focus-visible{outline:2px solid var(--g)}
.pj-kg{font-size:11px;color:var(--muted)}.pj-kf{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-top:3px}
.pj-none{text-align:center;padding:16px 0}
/* cronograma */
.pj-gantt{display:flex;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--panel)}
.pj-g-side{flex:none;width:190px;border-right:1px solid var(--line);background:var(--panel);z-index:2}
.pj-g-sh{height:54px;border-bottom:1px solid var(--line)}
.pj-g-lab{display:flex;align-items:flex-start;gap:8px;padding:12px 12px 0;font-size:13px;font-weight:600;border-bottom:1px solid var(--line);box-sizing:border-box}
.pj-g-lab i{width:10px;height:10px;border-radius:3px;background:var(--g);margin-top:4px;flex:none}.pj-g-lab em{font-style:normal;font-weight:400;color:var(--muted);font-size:12px;margin-left:auto}
.pj-g-mlab{height:44px;align-items:center;padding-top:0;color:var(--muted);font-weight:500}.pj-g-mlab svg{width:14px;height:14px}
.pj-g-main{flex:1;overflow-x:auto;overflow-y:hidden;position:relative}
.pj-g-in{position:relative}
.pj-g-sc{height:54px;border-bottom:1px solid var(--line);position:relative}
.pj-g-top,.pj-g-bot{position:relative;height:27px}.pj-g-top{border-bottom:1px solid var(--line)}
.pj-g-sc span{position:absolute;top:0;height:100%;display:flex;align-items:center;padding-left:6px;font-size:11.5px;color:var(--muted);border-left:1px solid var(--line);box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:capitalize}
.pj-g-top span{font-weight:600;color:var(--text2)}.pj-g-bot span.we{background:var(--soft2)}
.pj-g-grid{position:absolute;top:54px;bottom:0;left:0;right:0;pointer-events:none}
.pj-g-grid i{position:absolute;top:0;bottom:0;border-left:1px solid var(--line);opacity:.6}.pj-g-grid i.we{background:var(--soft2);opacity:.5}
.pj-now{position:absolute;top:0;bottom:0;border-left:2px solid #DC2626;z-index:1}.pj-now em{position:absolute;bottom:4px;left:3px;font-style:normal;font-size:10px;font-weight:700;color:#DC2626;background:var(--panel);padding:0 3px;border-radius:3px}
.pj-g-ms{position:relative;height:44px;border-bottom:1px solid var(--line)}
.pj-ms{all:unset;position:absolute;display:flex;align-items:center;gap:3px;cursor:pointer;font-size:11.5px;font-weight:600;color:var(--text2);white-space:nowrap;transform:translateX(-4px);z-index:2}
.pj-ms svg{width:17px;height:17px;color:var(--g);fill:color-mix(in srgb,var(--g) 30%,transparent)}.pj-ms span{background:var(--panel);padding:1px 4px;border-radius:4px}.pj-ms.done{opacity:.55}
.pj-ms:focus-visible{outline:2px solid var(--g)}
.pj-g-lane{position:relative;border-bottom:1px solid var(--line)}
.pj-gb{all:unset;box-sizing:border-box;position:absolute;height:26px;border-radius:7px;background:var(--g);cursor:grab;touch-action:none;z-index:1;box-shadow:0 1px 2px rgba(0,0,0,.15)}
.pj-gb:hover{filter:brightness(1.07)}.pj-gb:active{cursor:grabbing}.pj-gb:focus-visible{outline:2px solid var(--text);outline-offset:1px}
.pj-gb.done{opacity:.45}.pj-gb.late{box-shadow:0 0 0 2px #DC2626}
.pj-gb-l{position:absolute;left:8px;top:0;height:26px;line-height:26px;font-size:12px;font-weight:600;color:#fff;white-space:nowrap;pointer-events:none;text-shadow:0 1px 1px rgba(0,0,0,.2)}.pj-gb-l.out{color:var(--text);text-shadow:none;font-weight:500}.pj-gb.done .pj-gb-l.out{color:var(--muted)}
.pj-gb-r{position:absolute;right:0;top:0;width:8px;height:100%;cursor:ew-resize;border-radius:0 7px 7px 0}.pj-gb-r:hover{background:rgba(255,255,255,.35)}
/* calendario */
.pj-calh{display:flex;align-items:center;gap:8px;margin-bottom:10px}.pj-calh b{font-size:15px;min-width:150px;text-align:center}
.pj-calg{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--panel)}
.pj-cw{padding:7px 8px;font-size:11.5px;color:var(--muted);text-transform:uppercase;border-bottom:1px solid var(--line);background:var(--soft2)}
.pj-cd{min-height:104px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:5px;display:flex;flex-direction:column;gap:3px;min-width:0}
.pj-cd:nth-child(7n){border-right:0}.pj-cd.out{background:var(--soft2)}.pj-cd.out .pj-cn{color:var(--faint)}.pj-cd.over{background:var(--accentBg)}
.pj-cn{font-size:12px;font-weight:600;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%}
.pj-cd.today .pj-cn{background:#DC2626;color:#fff}
.pj-ce{all:unset;box-sizing:border-box;font-size:11.5px;padding:2px 6px;border-radius:5px;background:color-mix(in srgb,var(--g) 16%,transparent);border-left:3px solid var(--g);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.pj-ce.done{text-decoration:line-through;opacity:.6}
/* diálogos */
.pj-form{padding:16px 18px;display:flex;flex-direction:column;gap:12px}
.pj-form label,.pj-det-s label{display:flex;flex-direction:column;gap:5px;font-size:12.5px;font-weight:500;color:var(--text2)}
.pj-form input:not([type=checkbox]):not([type=color]),.pj-form select,.pj-form textarea,.pj-det-s select,.pj-det-s input:not([type=checkbox]){height:36px;border:1px solid var(--line2);border-radius:9px;padding:0 10px;background:var(--panel);font-size:13.5px}
.pj-form textarea{height:auto;padding:8px 10px}.pj-form p{margin:0}
.pj-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pj-dlg:has(.wide){max-width:min(980px,96vw)}.pj-dlg .efx-dlg-in.wide{width:min(980px,96vw)}
.pj-det header .link{font-size:12px}
.pj-det-b{display:grid;grid-template-columns:minmax(0,1fr) 250px;max-height:72vh;overflow:auto}
.pj-det-m{padding:16px 18px;display:flex;flex-direction:column;gap:8px;min-width:0}
.pj-det-m h3{font-size:13px;margin:14px 0 0}
.pj-det-t{border:0;font-size:19px;font-weight:700;padding:4px 0;outline:0;background:none;width:100%}
.pj-det-m textarea{border:1px solid var(--line2);border-radius:9px;padding:8px 10px;resize:vertical;background:var(--panel)}
.pj-det-s{padding:16px;border-left:1px solid var(--line);background:var(--soft2);display:flex;flex-direction:column;gap:11px}
.pj-det-s .danger{color:#DC2626;margin-top:6px;align-self:flex-start}
.pj-subs{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:9px;overflow:hidden}
.pj-subr{display:flex;align-items:center;gap:8px;padding:6px 10px;border-bottom:1px solid var(--line);font-size:13px}.pj-subr input{margin:0;accent-color:#16A34A}
.pj-subs>input{border:0;height:36px;padding:0 10px;font-size:13px;outline:0;background:var(--panel)}
.pj-chips{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.pj-chip{display:inline-flex;align-items:center;gap:5px;background:var(--soft);border-radius:99px;padding:3px 4px 3px 10px;font-size:12.5px}
.pj-x{border:0;background:none;cursor:pointer;color:var(--muted);font-size:11px;padding:2px 5px;border-radius:50%}.pj-x:hover{background:var(--line)}
.pj-chips select{height:28px;border:1px dashed var(--line2);border-radius:99px;padding:0 8px;font-size:12.5px;background:none;max-width:220px}
.pj-coms{display:flex;flex-direction:column;gap:10px}.pj-com{display:flex;gap:9px}.pj-com p{margin:2px 0 0;font-size:13px;white-space:pre-wrap}
.pj-com-n{display:flex;gap:8px;align-items:flex-end}.pj-com-n textarea{flex:1}
.pj-sgr{display:flex;align-items:center;gap:8px;margin-bottom:6px}.pj-sgr input[type=color]{width:34px;height:34px;border:0;padding:0;background:none;cursor:pointer}.pj-sgr input:not([type=color]){flex:1}
/* Hoy: tareas de proyectos */
.pj-hoy{display:flex;flex-direction:column;gap:2px}
.pj-hoy-r{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:8px;cursor:pointer;font-size:13px}
.pj-hoy-r:hover{background:var(--soft)}.pj-hoy-r i{width:8px;height:8px;border-radius:2px;background:var(--c);flex:none}.pj-hoy-r b{font-weight:500;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pj-hoy-r small{color:var(--muted);font-size:11.5px;white-space:nowrap}
@media (max-width:760px){.pj{padding:14px 16px 30px}.pj-det-b{grid-template-columns:1fr}.pj-det-s{border-left:0;border-top:1px solid var(--line)}.pj-g-side{width:120px}.pj-2{grid-template-columns:1fr}}
/* Hoy con modos */
body #hoyBody>.hx-bar0{grid-column:1/-1;display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:-4px 0 0}
.hx-seg{display:inline-flex;background:var(--soft);border-radius:10px;padding:3px;gap:2px;overflow-x:auto;max-width:100%}
.hx-seg button{border:0;background:none;padding:6px 12px;border-radius:8px;font-size:12.5px;font-weight:500;color:var(--muted);cursor:pointer;white-space:nowrap}
.hx-seg button.on{background:var(--panel);color:var(--text);box-shadow:0 1px 3px rgba(0,0,0,.12);font-weight:600}
body #hoyBody>.hz-h.hx-nogoal .hz-ht{grid-column:1/-1}
body .hx-row{grid-template-columns:auto minmax(0,1fr) auto!important;cursor:pointer}
.hx-ck{width:18px;height:18px;border-radius:50%;border:1.5px solid var(--line2);background:none;cursor:pointer;flex:none;padding:0;transition:background .15s,border-color .15s}
.hx-ck:hover{border-color:#16A34A}.hx-ck.on{background:#16A34A;border-color:#16A34A}
.hx-dot{display:inline-block;width:7px;height:7px;border-radius:2px;margin-right:5px;vertical-align:1px}
.hx-bar{display:inline-block;width:70px;height:5px;border-radius:99px;background:var(--soft);overflow:hidden;margin-right:6px;vertical-align:1px}.hx-bar i{display:block;height:100%}
.hx-list{display:flex;flex-direction:column;gap:4px}
.hx-it{display:flex;align-items:center;gap:8px;padding:6px 8px;border:1px solid var(--line);border-radius:9px;background:var(--panel);cursor:grab}
.hx-it.off{opacity:.55}.hx-grip{color:var(--faint);font-size:12px;letter-spacing:-2px}
/* v209 · responsable + colaboradores */
.pj-ops{display:inline-flex;align-items:center;margin-left:2px}
.pj-ops .pj-av{width:20px;height:20px;font-size:9px;margin-left:-4px;box-shadow:0 0 0 2px var(--panel)}
.pj-ops .pj-av:first-child{margin-left:0}
.pj-av.pj-more{background:var(--soft);color:var(--text2)}
.pj-opw{display:flex;flex-direction:column;gap:6px}
.pj-opl{font-size:12px;font-weight:600;color:var(--text2)}
.pj-opsel{display:flex;flex-wrap:wrap;gap:6px}
.pj-op{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 10px 0 4px;border-radius:999px;border:1px solid var(--line2);background:transparent;font:inherit;font-size:12.5px;color:var(--text2);cursor:pointer}
.pj-op .pj-av{width:24px;height:24px}
.pj-op.on{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,transparent);color:var(--text);font-weight:600}
.pj-c-a{position:relative}
.pj-opn{position:absolute;left:13px;bottom:-1px;z-index:1;height:15px;min-width:15px;padding:0 3px;border-radius:999px;background:var(--text);color:var(--panel);font-size:9.5px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 0 0 2px var(--panel);pointer-events:auto}
/* v211 · Reuniones del proyecto y vincular llamadas de equipo */
.pj-reu{display:flex;flex-direction:column;gap:12px;max-width:900px}
.pj-reu-h{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.pj-reu-h .hint{flex:1;min-width:240px;margin:0}
.pj-rv{border:1px solid var(--line);border-radius:14px;background:var(--panel);padding:14px 16px;display:flex;flex-direction:column;gap:8px}
.pj-rv header{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.pj-rv header>div{display:flex;flex-direction:column;min-width:0}
.pj-rv header .sub{font-size:12px}
.pj-rv p{margin:0;line-height:1.5}
.pj-rv h4{margin:4px 0 0;font-size:12px;font-weight:600;color:var(--text2);text-transform:uppercase;letter-spacing:.04em}
.pj-rv ul{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:2px}
.rv-vin{border:1px solid var(--line2);border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:12px;background:var(--soft)}
.rv-vin h3{margin:0}
.rv-vg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.rv-vg label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:600;color:var(--text2)}
.rv-vg select,.rv-vg input{height:36px}
.rv-va{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.rv-va .hint{flex:1;min-width:240px;margin:0}
@media (max-width:700px){.rv-vg{grid-template-columns:1fr}}
/* v212 · estructura de las llamadas */
.lle{display:flex;flex-direction:column;gap:20px;max-width:880px}
.lle-b{display:flex;flex-direction:column;gap:8px}
.lle-b h3{margin:0;font-size:15px}
.lle-ops{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px}
.lle-op{flex-direction:row;align-items:flex-start;gap:10px;padding:12px;border:1px solid var(--line2);border-radius:12px;background:var(--panel);cursor:pointer;color:var(--text);font-weight:400}
.lle-op.on{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent) inset}
.lle-op input{margin-top:3px;flex:none}
.lle-t{display:flex;flex-direction:column;gap:3px;min-width:0}
.lle-t b{font-size:13.5px}
.lle-t small{font-size:12px;color:var(--muted);line-height:1.45}
.lle-t details{margin-top:4px;font-size:12px}
.lle-t summary{cursor:pointer;color:var(--accent);font-weight:600}
.lle-t ol{margin:6px 0 0;padding-left:18px;display:flex;flex-direction:column;gap:4px}
.pbx-met{margin:0 0 12px;padding:10px 12px;border-radius:10px;background:var(--soft);font-size:13px}
.rv-est{max-width:420px}
.call-fases ul,.call-ses ul{margin:4px 0 0;padding-left:18px}
.call-fases li.cf-si b{color:#16A34A}.call-fases li.cf-parcial b{color:var(--warn)}.call-fases li.cf-no b{color:var(--danger)}
.call-ses{display:flex;flex-direction:column;gap:8px;padding:10px 12px;border-radius:10px;background:var(--soft)}
.call-ses p{margin:0}
/* Aviso «instala la app» en Safari de iPhone (index.html) */
.pwa-aviso{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:9999;display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:14px;background:#083B51;color:#fff;font-size:14px;line-height:1.35;box-shadow:0 8px 24px rgba(0,0,0,.25)}
.pwa-aviso span{flex:1}
.pwa-aviso svg{vertical-align:-2px}
.pwa-aviso button{background:none;border:0;color:#fff;font-size:16px;padding:4px 6px;cursor:pointer;opacity:.8}
/* v215 · Medir › Rotador de URLs */
.rot { display: flex; flex-direction: column; gap: 16px; padding: 24px; max-width: 1180px; }
.rot-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.rot-head h1 { margin: 0 0 4px; font-size: 26px; }
.rot-card, .rot-ed { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.rot-card.off { opacity: 0.7; }
.rot-ch { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 16px; align-items: center; }
.rot-t { display: flex; flex-direction: column; gap: 2px; }
.rot-t b { font-size: 17px; }
.rot-link { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rot-link code { padding: 6px 10px; border-radius: 8px; background: rgba(127, 127, 127, 0.12); font-size: 13px; user-select: all; }
.rot-tab { width: 100%; border-collapse: collapse; font-size: 13px; }
.rot-tab th { text-align: left; font-weight: 500; opacity: 0.65; padding: 6px 8px; border-bottom: 1px solid var(--line, rgba(127, 127, 127, 0.2)); }
.rot-tab td { padding: 8px; border-bottom: 1px solid var(--line, rgba(127, 127, 127, 0.12)); vertical-align: middle; }
.rot-tab tr.off td { opacity: 0.5; }
.rot-url { display: block; font-size: 12px; opacity: 0.65; max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; }
.rot-bar { display: inline-block; width: 90px; height: 6px; border-radius: 3px; background: rgba(127, 127, 127, 0.18); margin-right: 8px; vertical-align: middle; overflow: hidden; }
.rot-bar i { display: block; height: 100%; background: var(--accent, #2563eb); border-radius: 3px; }
.rot-days { display: flex; align-items: flex-end; gap: 3px; height: 54px; }
.rot-days i { flex: 1; background: var(--accent, #2563eb); opacity: 0.75; border-radius: 2px 2px 0 0; min-height: 2px; }
.rot-src summary { cursor: pointer; font-size: 13px; color: var(--accent, #2563eb); margin-bottom: 6px; }
.rot-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.rot-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rot-ed label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.rot-ed label.lldTr { flex-direction: row; align-items: center; gap: 8px; }
.rot-slug { display: flex; align-items: center; gap: 4px; }
.rot-slug span { font-size: 12px; opacity: 0.6; white-space: nowrap; }
.rot-slug input { flex: 1; min-width: 80px; }
.rot-dl { display: flex; flex-direction: column; gap: 8px; }
.rot-dh, .rot-d { display: grid; grid-template-columns: 160px 1fr 90px 130px; gap: 8px; align-items: center; }
.rot-dh span { font-size: 12px; opacity: 0.6; }
.rot-d.off { opacity: 0.55; }
.rot-p { display: flex; align-items: center; gap: 4px; }
.rot-p input { width: 64px; }
.rot-dx { display: flex; gap: 6px; align-items: center; }
.rot-dx label { flex-direction: row !important; align-items: center; gap: 4px; font-size: 12px !important; }
.rot-ft { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.rot-sum { font-size: 13px; margin-left: auto; }
.rot-sum.ok { color: var(--ok, #16a34a); }
.rot-sum.warn { color: var(--warn, #d97706); }
.rot-help ul { margin: 8px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 1.5; }
.rot-help { padding: 14px 18px; }
.rot-help summary { cursor: pointer; }
@media (max-width: 760px) {
  .rot { padding: 14px; }
  .rot-row2 { grid-template-columns: 1fr; }
  .rot-dh { display: none; }
  .rot-d { grid-template-columns: 1fr 90px; }
  .rot-d .rdU { grid-column: 1 / -1; grid-row: 2; }
  .rot-tab { font-size: 12px; }
  .rot-bar { width: 40px; }
}
/* v216 · enlaces de campaña (UTM) */
.rot-camps { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; border-top: 1px solid var(--line, rgba(127, 127, 127, 0.15)); }
.rot-sh { display: flex; flex-direction: column; gap: 2px; }
.rot-camps .rot-link code { font-size: 12px; padding: 4px 8px; }
.rot-cnew { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr auto; gap: 8px; }
@media (max-width: 760px) { .rot-cnew { grid-template-columns: 1fr 1fr; } }
/* v134 · Tareas: para quién es */
.tkw{display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap}
.tk-add+.tkw{margin:6px 0 8px}
.tkw-l{font-size:12px;color:var(--muted);margin-right:2px}
.tkw-b{border:1px solid var(--line2);background:var(--panel);border-radius:99px;padding:3px 10px;font-size:12.5px;cursor:pointer;color:var(--text2)}
.tkw-b.on{background:var(--text);color:#fff;border-color:var(--text)}
.tkw-b:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.act-addb .tkw{margin-right:auto}
.tkw-sel{font-size:12px;padding:1px 6px;border-radius:99px;border:1px solid var(--line2);background:var(--soft);color:var(--text2);max-width:140px;cursor:pointer}
/* v190 · modo selección en Tareas: casillas, barra de acciones en bloque */
.tk-selbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:var(--panel);border:1px solid var(--line2);border-radius:10px;padding:8px 12px;margin-bottom:-4px}
.tk-selall{flex-direction:row;align-items:center;gap:9px;font-size:13px;font-weight:600;color:var(--text);cursor:pointer}
.tk-selall input{width:18px;height:18px}
.tk-selacts{margin-left:auto;display:flex;gap:8px}
.tk-pick{flex:none;width:20px;height:20px;margin-top:1px;cursor:pointer}
.tk.selable{cursor:pointer}
.tk.picked{background:var(--accentBg)}

/* v190 · Tareas por validar (la IA propone, tú validas) + aprendizaje de criterios */
.tk-stn{display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;padding:0 4px;border-radius:99px;background:var(--accent);color:#fff;font-size:11px;font-weight:700;margin-left:4px}
.tk-stn.hidden{display:none}
.tk.tk-prop{display:flex;gap:14px;align-items:flex-start;border:1px solid var(--line2);border-left:3px solid var(--accent);border-radius:12px;padding:12px 14px;margin-bottom:8px;background:var(--panel)}
.tk-prop .tk-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.tk-prop .tk-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:12px;color:var(--muted)}
.tk-prop .tk-type{border:1px solid var(--line2);border-radius:99px;padding:1px 9px;color:var(--text2)}
.tk-crit{border:1px solid color-mix(in srgb,var(--accent) 40%,var(--line2));background:var(--accentBg);color:var(--accent);border-radius:99px;padding:1px 9px;font-weight:600}
.tk-prop .tk-title{font-size:14.5px;font-weight:600;color:var(--text);line-height:1.3}
.tk-prop .tk-quote{font-size:12.5px;color:var(--text2);font-style:italic;background:var(--soft);border-radius:8px;padding:6px 9px}
.tk-why-t{align-self:flex-start;background:none;border:none;color:var(--accent);font-size:12px;cursor:pointer;padding:2px 0}
.tk-why-t.hidden{display:none}
.tk-why textarea{width:100%;border:1px solid var(--line2);border-radius:8px;padding:7px 9px;font:inherit;font-size:12.5px;resize:vertical;background:var(--bg)}
.tk-why.hidden{display:none}
.tk-vact{display:flex;flex-direction:column;gap:6px;flex:none;width:150px}
.tk-vact .btn{width:100%;justify-content:center}
.tk-vact .btn.link{background:none;border:none;color:var(--muted);font-size:12px;padding:2px}
.tk-vact .btn.link.danger:hover{color:var(--danger,#e5484d)}
@media(max-width:680px){.tk.tk-prop{flex-direction:column}.tk-vact{width:100%;flex-direction:row}.tk-vact .btn.link{width:auto;margin-left:auto}}
/* Modal criterios */
.crit-sw{display:flex;align-items:center;gap:9px;font-size:13.5px;font-weight:600;color:var(--text);margin:10px 0 14px;cursor:pointer}
.crit-sw input{width:18px;height:18px}
.crit-list{display:flex;flex-direction:column;gap:2px;margin-bottom:14px}
.crit-row{display:flex;align-items:center;gap:12px;padding:9px 2px;border-bottom:1px solid var(--line)}
.crit-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.crit-lb{font-size:13.5px;color:var(--text);font-weight:500}
.crit-stat{display:flex;gap:8px;font-size:11.5px}
.crit-stat .ok{color:#2a9d6b}.crit-stat .no{color:#e5484d}
.crit-new{color:var(--muted);font-style:italic}
.crit-dec{border:1px solid var(--line2);border-radius:8px;padding:5px 8px;font:inherit;font-size:12.5px;background:var(--panel);color:var(--text);flex:none}
.crit-decr{font-size:12.5px;color:var(--text2);flex:none}
.crit-add{display:flex;gap:8px;margin-top:8px}
.crit-add input{flex:1;border:1px solid var(--line2);border-radius:8px;padding:8px 10px;font:inherit;font-size:13px;background:var(--bg)}
/* v181 · Telefonía con Twilio (modulos/telefonia.js): Ajustes › Telefonía y barra de llamada */
.tel{display:flex;flex-direction:column;gap:14px;max-width:880px}
.tel .sr{position:absolute;left:-9999px}
.tel-box{padding:16px;display:flex;flex-direction:column;gap:10px}
.tel-ol{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px;font-size:13px;line-height:1.5}
.tel-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.tel-form label,.tel-pre{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:600;color:var(--muted)}
.tel-form input{font-family:ui-monospace,monospace;font-size:12px}
.tel-pre{flex:0 1 220px}.tel-pre input{max-width:110px}
.tel-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.tel-kpis div{display:flex;flex-direction:column;padding:10px 12px;border-radius:10px;background:var(--bg,#F7F8FA)}
.tel-kpis small{font-size:11px;color:var(--muted)}.tel-kpis b{font-size:16px}
.tel-pill{display:inline-flex;align-items:center;padding:2px 10px;border-radius:99px;font-size:12px;font-weight:600;white-space:nowrap}
.tel-pill.g{background:#DCF5E3;color:#146C34}.tel-pill.a{background:#FDEBD0;color:#8A4B00}.tel-pill.r{background:#FDE1DE;color:#A12A1C}.tel-pill.n{background:var(--soft,#EEF0F4);color:var(--muted)}
.tel-list{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.tel-li{display:flex;align-items:center;gap:10px;justify-content:space-between;padding:10px 12px;border-top:1px solid var(--line)}
.tel-li:first-child{border-top:0}
.tel-li>span,.tel-num>span{display:flex;flex-direction:column;min-width:0}.tel-li small,.tel-num small{font-size:12px;color:var(--muted)}
.tel-empty{margin:0;padding:12px;border:1px dashed var(--line);border-radius:10px;font-size:13px;color:var(--muted)}
.tel-nums{display:flex;flex-direction:column;gap:8px}
.tel-num{display:grid;grid-template-columns:minmax(180px,1.4fr) 140px minmax(160px,1fr) auto;gap:8px;align-items:center;padding:10px 12px;border:1px solid var(--line);border-radius:10px}
.tel-tipos{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tel-tipos button{display:flex;flex-direction:column;gap:4px;align-items:flex-start;padding:12px 14px;border-radius:12px;border:2px solid var(--line);background:var(--panel);color:var(--ink);text-align:left;cursor:pointer;font:inherit}
.tel-tipos button small{font-size:12px;color:var(--muted);line-height:1.4}
.tel-tipos button[aria-checked=true]{border-color:var(--accent);background:var(--accent-soft,rgba(59,99,243,.07))}
.tel-ley{background:#FFF8EA;border-color:#F3DFB4}.tel-ley p{margin:0}
@media (max-width:760px){.tel-form,.tel-kpis,.tel-tipos{grid-template-columns:1fr}.tel-num{grid-template-columns:1fr 1fr}}
.tel .cm-row input,.tel .cm-row select{flex:none!important}
.tel-pre input{width:110px;height:36px}
/* v177 · Entregar › Formularios › Test de punto de partida (modulos/test-partida.js) */
.tpp-tr{display:grid;grid-template-columns:minmax(150px,2fr) minmax(110px,1.2fr) minmax(120px,1.2fr) 80px 80px 84px 108px;align-items:center;gap:8px;min-height:60px;padding:6px 14px;border-bottom:1px solid var(--line);font-size:13px;cursor:pointer}
.tpp-tr:last-child{border-bottom:0}
.tpp-tr:not(.efx-th):hover{background:var(--soft,rgba(0,0,0,.025))}
.tpp-tr.efx-th{min-height:40px;cursor:default;font-size:12px;color:var(--muted);font-weight:600}
.tpp-table{overflow-x:auto}
.tpp-tr .efx-nm>span{display:flex;flex-direction:column;min-width:0}.tpp-tr .efx-nm small{color:var(--muted);font-size:12px}
.tpp-soc{display:flex;align-items:center;gap:0}
.tpp-soc small{margin-left:10px;color:var(--muted)}
.tpp-av{width:30px;height:30px;flex:none;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:11px;font-weight:700;background:var(--panel);border:2px dashed var(--line);color:var(--muted);margin-left:-6px}
.tpp-soc .tpp-av:first-child,.tpp-sh .tpp-av,.tpp-pi .tpp-av{margin-left:0}
.tpp-av.abierto{border-style:solid;border-color:#93A4D6}
.tpp-av.curso{border:0;background:#FDE7C2;color:#8A5300}
.tpp-av.hecho{border:0;background:#16A34A;color:#fff}
.tpp-perf{display:inline-flex;align-items:center;padding:3px 10px;border-radius:99px;font-size:12px;font-weight:600;white-space:nowrap}
.tpp-perf.g{background:#DCF5E3;color:#146C34}.tpp-perf.a{background:#FDEBD0;color:#8A4B00}.tpp-perf.b{background:#E1E8FF;color:#2443B5}.tpp-perf.r{background:#FDE1DE;color:#A12A1C}.tpp-perf.n{background:var(--soft,#EEF0F4);color:var(--muted)}
.tpp-n{display:flex;align-items:center;gap:8px}.tpp-n b{min-width:22px}
.tpp-n i{flex:1;height:6px;border-radius:99px;background:var(--line);overflow:hidden;max-width:60px}.tpp-n i em{display:block;height:100%;background:var(--accent)}
.tpp-dlg{padding:16px 18px 18px;display:flex;flex-direction:column;gap:12px;max-height:72vh;overflow:auto}
.tpp-dlg textarea{width:100%;font:inherit}
.tpp-pick{display:flex;flex-direction:column;gap:4px;max-height:360px;overflow:auto}
.tpp-pi{display:flex;align-items:center;gap:10px;padding:8px 10px;border:0;border-radius:10px;background:none;text-align:left;cursor:pointer;color:var(--ink)}
.tpp-pi:hover{background:var(--soft,rgba(0,0,0,.04))}.tpp-pi span{display:flex;flex-direction:column}.tpp-pi small{color:var(--muted);font-size:12px}
.tpp-er{display:grid;grid-template-columns:28px minmax(120px,1.2fr) minmax(100px,1fr) 150px 86px 32px 82px 32px;gap:8px;align-items:center;padding:6px 0;border-bottom:1px solid var(--line)}
.tpp-er input,.tpp-er select{width:100%;min-width:0}
.tpp-pr{display:grid;place-items:center}
.tpp-es{font-size:12px;color:var(--muted)}.tpp-es.hecho{color:#16A34A;font-weight:600}.tpp-es.curso{color:#B26A00;font-weight:600}
.tpp-inf .tpp-dlg{max-height:80vh}
.tpp-top{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.tpp-top>div,.tpp-two>div{display:flex;flex-direction:column}.tpp-top small,.tpp-two small{font-size:11px;color:var(--muted)}.tpp-top b,.tpp-two b{font-size:20px}
.tpp-avisos{padding:10px 12px;border-radius:10px;background:#FFF6E5;color:#7A4B00;font-size:13px}.tpp-avisos p{margin:2px 0}
.tpp-ia{padding:12px 14px;border-radius:12px;border:1px solid var(--line);background:var(--panel)}
.tpp-pre{white-space:pre-line;margin:8px 0 0;line-height:1.5;font-size:13px}
.tpp-cols{display:grid;grid-template-columns:repeat(var(--n),minmax(260px,1fr));gap:12px;overflow-x:auto}
.tpp-col{display:flex;flex-direction:column;gap:8px;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--panel);min-width:0}
.tpp-col h4,.tpp-dlg>h4{margin:8px 0 0;font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.tpp-sh{display:flex;align-items:center;gap:10px}.tpp-sh div{display:flex;flex-direction:column;min-width:0}.tpp-sh small{color:var(--muted);font-size:12px}
.tpp-tag{font-style:normal;font-size:11px;font-weight:600;padding:1px 6px;border-radius:6px;background:var(--soft,#EEF0F4);color:var(--muted)}
.tpp-sc{display:flex;align-items:center;gap:8px}
.tpp-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.tpp-esp{display:flex;flex-direction:column;gap:5px;padding:10px;border-radius:10px;background:var(--bg,#F7F8FA)}
.tpp-er2{display:flex;align-items:center;gap:8px}
.tpp-niv{margin-left:auto;font-size:11px;font-weight:700;padding:2px 8px;border-radius:6px;background:var(--line);white-space:nowrap}
.tpp-niv.n3{background:#E1E8FF;color:#2443B5}.tpp-niv.n4{background:#FDEBD0;color:#8A4B00}.tpp-niv.n1{background:#FDE1DE;color:#A12A1C}
.tpp-mini{display:grid;grid-template-columns:92px 1fr 34px;align-items:center;gap:8px;font-size:12px}.tpp-mini span:first-child{color:var(--muted)}.tpp-mini b{text-align:right}
.tpp-bar{height:6px;border-radius:99px;background:var(--line);overflow:hidden}.tpp-bar i{display:block;height:100%;background:var(--accent)}
.tpp-bar.a i{background:#D99A1E}.tpp-bar.r i{background:#DC4A3A}.tpp-bar.g i{background:#16A34A}
.tpp-flags{display:flex;flex-wrap:wrap;gap:4px}
.tpp-caso{margin:0;font-size:12px;font-style:italic}
.tpp-cons{display:flex;flex-direction:column;padding:8px 10px;border-radius:10px;background:var(--bg,#F7F8FA)}.tpp-cons small{font-size:11px;color:var(--muted)}
.tpp-lit{margin:0;font-size:13px;display:flex;flex-direction:column}.tpp-lit small{font-size:11px;color:var(--muted)}
.tpp-col details summary{cursor:pointer;font-size:12px;color:var(--muted);margin-top:6px}
.tpp-col details .tpp-lit{margin-top:6px}
.tpp-acts{display:flex;gap:6px;flex-wrap:wrap;margin-top:auto;padding-top:6px}
.tpp-ag{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px}
.tpp-ag div{display:flex;flex-direction:column;padding:8px 10px;border-radius:10px;background:var(--bg,#F7F8FA)}.tpp-ag small{font-size:11px;color:var(--muted)}.tpp-ag b{font-size:13px;font-weight:600}
@media (max-width:760px){.tpp-er{grid-template-columns:28px 1fr 1fr;}.tpp-er select,.tpp-er .tpp-es{grid-column:span 1}}
.tpp-dlg>*{flex-shrink:0}
/* v178 */
.tpp-sort{background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer;text-align:left;font-weight:600}
.tpp-sort.on{color:var(--ink)}
.tpp-socw{display:flex;flex-direction:column;gap:3px;min-width:0}
.tpp-fr{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tpp-es{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;padding:3px 8px;border-radius:99px;background:var(--soft,#EEF0F4);color:var(--muted);white-space:nowrap}
.tpp-es i{width:7px;height:7px;border-radius:50%;background:currentColor}
.tpp-es.abierto{background:#E1E8FF;color:#2443B5}.tpp-es.curso{background:#FDEBD0;color:#8A4B00}.tpp-es.hecho{background:#DCF5E3;color:#146C34}
.tpp-er{grid-template-columns:28px minmax(120px,1.2fr) minmax(100px,1fr) 150px 100px 112px 82px 32px}
.tpp-cmp{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.tpp-cr{display:grid;grid-template-columns:minmax(180px,1.4fr) 140px 100px 100px minmax(200px,2fr);gap:10px;align-items:center;padding:10px 12px;border-top:1px solid var(--line);font-size:13px}
.tpp-cr.th{border-top:0;font-size:12px;color:var(--muted);font-weight:600;padding:8px 12px}
.tpp-cn{display:flex;align-items:center;gap:8px;min-width:0}.tpp-cn>span{display:flex;flex-direction:column;min-width:0}.tpp-cn small{font-size:11px;color:var(--muted)}
.tpp-cn .tpp-av{margin-left:0}
.tpp-ce{display:flex;flex-wrap:wrap;gap:4px}.tpp-ce .tpp-niv{margin-left:0}
.tpp-niv.good{outline:2px solid #16A34A;outline-offset:-2px}.tpp-niv.bad{outline:2px solid #DC4A3A;outline-offset:-2px}
.tpp-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);overflow-x:auto}
.tpp-tabs button{display:flex;align-items:center;gap:8px;padding:8px 12px;border:0;background:none;font:inherit;font-size:13px;color:var(--muted);cursor:pointer;border-bottom:2px solid transparent;white-space:nowrap}
.tpp-tabs button[aria-selected=true]{color:var(--ink);font-weight:600;border-bottom-color:var(--accent)}
.tpp-tabs .tpp-av{width:22px;height:22px;font-size:9px;margin-left:0}
.tpp-pane>.tpp-col{border:0;padding:4px 0 0;background:none}
@media (max-width:760px){.tpp-cr{grid-template-columns:1fr 1fr}.tpp-cr.th{display:none}}
.tpp-soc small{white-space:nowrap}
.tpp-tr{grid-template-columns:minmax(150px,1.8fr) minmax(150px,1.4fr) minmax(120px,1.1fr) 80px 80px 70px 108px}
/* v141 · Hoy: una sola rejilla de tres columnas (cabecera, agenda + dinero, responder · llamar · cobrar), nada se corta */
body #hoyBody{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:auto;gap:16px;align-items:start;height:auto;flex:none}
body #hoyBody>.hz-boxes,body #hoyBody>.hz-lanes{display:contents}
body #hoyBody>.hz-h{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:16px;row-gap:16px;align-items:center;padding:8px 0}
body .hz-ht{grid-column:span 2;gap:4px}
body .hz-date{font-size:12px}
body .hz-ht h1{font-size:20px;line-height:28px;letter-spacing:0}
body .hz-ht p{font-size:13px}
body .hz-goals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;align-items:start}
body .hz-goal{width:auto;gap:6px}
body .hz-gl b{font-size:16px}
body .hz-gedit{grid-column:1/-1;justify-self:end;font-size:12px}
/* agenda (dos columnas) y dinero (una) */
body #hoyBody .hzd{grid-column:span 2}
body .hzd,body .hzm{padding:16px!important;gap:12px}
body .hzd-h0 h2,body .hzm h2{font-size:14px;font-weight:600}
body .hzd-seg{border:0;border-radius:8px;padding:2px;background:var(--soft)}
body .hzd-seg button{height:28px;padding:0 12px;font-size:12px;border-radius:6px}
body .hzd-seg button.on{background:#fff;color:var(--text);font-weight:600;box-shadow:0 1px 2px rgba(0,0,0,.08)}
body .hzd-h1{padding:8px 12px;border-radius:8px;background:#F4F6FE;gap:12px}
body .hzd-grid{max-height:none}
body .hzd-it{border-radius:8px;padding:8px 12px}
body .hzd-all,body .hzm a.link{font-size:12px;font-weight:600}
body .hzm-big{padding:0 0 12px;background:transparent;border-radius:0;border-bottom:1px solid var(--line)}
body .hzm-big b{font-size:28px;line-height:36px}
body .hzm-l{min-height:32px;padding:4px 0}
/* responder · llamar · cobrar: como mucho 6 filas y un pie con «Ver los N» */
body .hz-lane{align-self:stretch;min-height:auto;overflow:visible}
body .hz-lh{height:auto;padding:16px;border-bottom:1px solid var(--line)}
body .hz-rows{flex:none;overflow:visible}
body .hz-row{height:auto;min-height:56px;padding:12px 16px;grid-template-columns:32px minmax(0,1fr) auto 96px;gap:12px}
body .hz-row .avatar{width:32px;height:32px}
body .hz-n b{font-size:13px}
body .hz-who small{font-size:12px}
body .hz-a{width:96px;height:32px}
body .hz-more{margin-top:auto;padding:12px 16px;font-size:12px;font-weight:600;color:var(--accent);text-decoration:none}
body .hz-more:hover{text-decoration:underline}
body .hz-empty{padding:16px}

@media (max-width:980px){
  body #hoyBody,body #hoyBody>.hz-h{grid-template-columns:minmax(0,1fr)}
  body .hz-ht,body #hoyBody .hzd{grid-column:auto}
}
@media (max-width:700px){
  body .hz-goals{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:16px}
  body .hz-goal small{display:none}
  body .hz-row{min-height:64px;grid-template-columns:40px minmax(0,1fr) auto}
  body .hz-row .avatar{width:40px;height:40px}
  body .hz-row .hz-a{display:none}
  body .hz-lane .hz-row:nth-child(n+4){display:none}
  body .hz-n b{font-size:14px}
  body .hz-who small{font-size:13px}
}

/* ───────── Barra inferior en móvil: 5 accesos ───────── */
body .nav-more{display:none!important}
@media (max-width:760px){
  body .side{height:64px;padding:0 4px;overflow:visible;align-items:stretch;gap:0}
  body .side .nav-track{flex:4;display:flex!important;align-items:stretch}
  body .side .nav{display:none!important}
  body .side .nav[data-nav=hoy],body .side .nav[data-nav=chats],body .side .nav[data-nav=pipeline],body .side .nav[data-nav=agenda],body .side .nav-more{display:flex!important;flex:1 1 0;flex-direction:column;align-items:center!important;justify-content:center!important;gap:2px;padding:0!important;min-width:0;font-size:11px;background:transparent!important;border:0;color:var(--muted2);font-family:inherit}
  body .side .nav-more{flex:1 1 0}
  body .side .nav>span{display:block!important;font-size:11px;max-width:100%}
  body .side .nav svg{width:22px;height:22px}
  body .side .nav.on{color:var(--text)!important;font-weight:600}
  body .side .nav em.b{position:absolute;top:4px;left:calc(50% + 4px);font-size:10px;line-height:16px;padding:0 5px;margin:0}
  body .side .nav em:not(.b){display:none}
  /* «Más»: hoja con todas las secciones */
  body.nav-open::after{content:"";position:fixed;inset:0;background:rgba(22,24,29,.3);z-index:58}
  body.nav-open .side{position:fixed;left:8px;right:8px;bottom:8px;height:auto;z-index:59;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:12px;background:var(--panel);border:1px solid var(--line);border-radius:16px;box-shadow:0 20px 50px rgba(0,0,0,.25);max-height:75vh;overflow:auto}
  body.nav-open .side .nav-track{display:contents!important}
  body.nav-open .side .nav{display:flex!important;flex-direction:column;align-items:center!important;justify-content:center!important;gap:4px;height:72px;padding:0!important;font-size:12px}
  body.nav-open .side .nav-more{color:var(--text)}
  body #asst{bottom:80px}
}
/* v208 · Hoy con widgets: rejilla de 12 columnas, tamaños S · M · L · Ancho y modo edición */
body #sec-hoy{overflow-y:auto!important;overscroll-behavior:contain}
body #hoyBody{display:flex;flex-direction:column;gap:16px;flex:none;height:auto;padding-bottom:24px}
body #hoyBody>.hz-h{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:12px 16px;padding:8px 0 0}
body #hoyBody .hz-ht{flex:1 1 380px;min-width:0}
body #hoyBody .hz-ht h1{font-size:24px;line-height:32px}
.hw-barw{display:flex;flex:0 1 auto;justify-content:flex-end}
.hw-bar{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
body #hoyBody .hw-hint{flex:1 1 100%;margin:0;padding:10px 14px;border-radius:12px;border:1px dashed color-mix(in srgb,var(--accent) 50%,transparent);background:color-mix(in srgb,var(--accent) 7%,var(--panel));font-size:12.5px;color:var(--muted)}
.hw-hint b{color:var(--text)}
body #hoyBody .hw-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-rows:96px;grid-auto-flow:row dense;gap:16px}
body #hoyBody .hw-grid>.hw{position:relative;grid-column:span var(--cw,6);grid-row:span var(--rh,2);min-width:0;min-height:0;margin:0;overflow:hidden;display:flex;flex-direction:column;align-self:stretch;height:auto}
body #hoyBody .hw-grid>.hw-off{display:none!important}
/* listas: 2 filas en M, 5 en L, 4 en dos columnas en Ancho */
body #hoyBody .hw .hz-lh{padding:12px 16px;flex:none}
body #hoyBody .hw .hz-rows{flex:1 1 auto;min-height:0;overflow:hidden}
body #hoyBody .hw .hz-row{min-height:52px;padding:8px 16px}
body #hoyBody .hw-M .hz-rows>.hz-row:nth-child(n+3){display:none}
body #hoyBody .hw-L .hz-rows>.hz-row:nth-child(n+7){display:none}
body #hoyBody .hw-W .hz-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:8px;align-content:start}
body #hoyBody .hw-W .hz-rows>.hz-row:nth-child(n+5){display:none}
body #hoyBody .hw .hz-more{flex:none;padding:6px 16px 12px}
body #hoyBody .hw .hz-empty{padding:12px 16px}
.hw-tk{width:20px;height:20px;margin:0 6px;border-radius:6px;border:1.5px solid var(--faint)}
/* agenda */
body #hoyBody .hw.hzd .hzd-grid{flex:1 1 auto;min-height:0;max-height:none;overflow:auto}
body #hoyBody .hw-M.hzd .hzd-h1{display:none}
body #hoyBody .hw-M.hzd .hzd-grid{overflow:hidden;border-top:0;gap:4px}
body #hoyBody .hw-M.hzd .hzd-hr,body #hoyBody .hw-M.hzd .hzd-hb{display:contents}
body #hoyBody .hw-M.hzd .hzd-hl,body #hoyBody .hw-M.hzd .hzd-now,body #hoyBody .hw-M.hzd .hzd-it.past,body #hoyBody .hw-M.hzd .hzd-it.canc{display:none}
body #hoyBody .hw.hzd .hzd-all{flex:none}
/* dinero */
body #hoyBody .hw.hzm{overflow-y:auto}
body #hoyBody .hw-M.hzm{overflow:hidden;gap:6px}
body #hoyBody .hw-M.hzm .hzm-big{padding:0 0 6px}
body #hoyBody .hw-M.hzm .hzm-big b{font-size:22px;line-height:28px}
body #hoyBody .hw-M.hzm .hzm-ls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px}
body #hoyBody .hw-M.hzm .hzm-l>small,body #hoyBody .hw-M.hzm .hzm-mv,body #hoyBody .hw-M.hzm>.hz-empty{display:none}
/* objetivo */
body #hoyBody .hw-obj{padding:16px;gap:12px}
body #hoyBody .hw-obj .hz-goals{display:grid}
/* tamaño S: un número y una línea */
.hw-sum{display:none}
body #hoyBody .hw-S{padding:0!important}
body #hoyBody .hw-S>:not(.hw-sum):not(.hw-ctl){display:none!important}
body #hoyBody .hw-S>.hw-sum{display:flex;flex-direction:column;gap:2px;padding:16px;height:100%;min-height:0}
.hw-st{font-size:14px;font-weight:600}
.hw-big{margin-top:auto;font-size:32px;font-weight:650;letter-spacing:-.02em;line-height:1.1;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hw-sum small{font-size:12.5px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hw-sum .btn{margin-top:8px;align-self:flex-start}
/* edición */
.hw-ctl{display:none}
body #hoyBody.hw-editing .hw-ctl{display:block}
body #hoyBody.hw-editing .hw{cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;animation:hwJig .32s ease-in-out infinite alternate;box-shadow:0 0 0 1.5px color-mix(in srgb,var(--accent) 45%,transparent)}
body #hoyBody.hw-editing .hw:nth-child(2n){animation-delay:-.16s}
body #hoyBody.hw-editing .hw>:not(.hw-ctl){pointer-events:none}
body #hoyBody.hw-editing .hw::after{content:"";position:absolute;inset:0;background:color-mix(in srgb,var(--panel) 30%,transparent);pointer-events:none}
body #hoyBody.hw-editing .hw.hw-drag{animation:none;transform:scale(1.02);z-index:5;cursor:grabbing;box-shadow:0 20px 44px -16px rgba(0,0,0,.45),0 0 0 2px var(--accent)}
@keyframes hwJig{from{transform:rotate(-.3deg)}to{transform:rotate(.3deg)}}
@media (prefers-reduced-motion:reduce){body #hoyBody.hw-editing .hw{animation:none}}
.hw-rm{position:absolute;z-index:3;top:8px;right:8px;width:28px;height:28px;border-radius:50%;border:0;background:var(--text);color:var(--panel);font-size:18px;font-weight:700;line-height:1;cursor:pointer;display:grid;place-items:center}
.hw-szs{position:absolute;z-index:3;left:10px;bottom:10px;display:flex;gap:4px;padding:4px;border-radius:12px;background:var(--panel);box-shadow:0 4px 14px rgba(0,0,0,.18),0 0 0 1px var(--line)}
.hw-szb{height:30px;min-width:34px;padding:0 10px;border-radius:8px;border:1px solid var(--line2);background:var(--panel);font:inherit;font-size:12px;font-weight:600;color:var(--text2);cursor:pointer}
.hw-szb.on{background:var(--text);color:var(--panel);border-color:transparent}
.hw-rz{position:absolute;z-index:3;right:8px;bottom:8px;width:30px;height:30px;border-radius:9px;border:0;background:var(--text);color:var(--panel);cursor:nwse-resize;touch-action:none;display:grid;place-items:center}
.hw-gal{display:flex;flex-direction:column;gap:8px}
.hw-gi{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:12px}
.hw-gi>div:first-child{flex:1;min-width:0}.hw-gi p{margin:2px 0 0}
.hw-gs{display:flex;gap:4px;flex:none}
@media (max-width:980px){
  body #hoyBody .hw-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
  body #hoyBody .hw-grid>.hw-W{--cw:6!important}
  .hw-bar{justify-content:flex-start}
}
@media (max-width:700px){
  body #hoyBody .hw-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:84px;gap:12px}
  body #hoyBody .hw-grid>.hw{--cw:2!important}
  body #hoyBody .hw-grid>.hw-S{--cw:1!important}
  body #hoyBody .hw .hz-row .hz-a{display:none}
}
/* un solo botón azul en pantalla: el primero de «Ahora toca» */
body #hoyBody .hw:not([data-hb="ahora"]) .hz-row.first .btn.primary{background:transparent;color:var(--text);border:1px solid var(--line2);box-shadow:none}
body #hoyBody .hw:not([data-hb="ahora"]) .hz-row.first{background:transparent}
/* v209 · «Mis proyectos»: desplegar las tareas de cada proyecto sin salir de Hoy */
body #hoyBody .hw[data-hb="proyectos"] .hz-rows{overflow-y:auto;overscroll-behavior:contain}
body #hoyBody .hw[data-hb="proyectos"] .hz-rows>.hz-row{display:grid!important}
body #hoyBody .hz-row.hx-prow{grid-template-columns:28px minmax(0,1fr) auto}
.hx-tg{width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:var(--muted);display:grid;place-items:center;cursor:pointer}
.hx-tg:hover{background:var(--soft)}
.hx-tg svg{transition:transform .18s ease}
.hx-tg.on svg{transform:rotate(90deg)}
.hx-ptk{margin:0 12px 8px 44px;padding-left:12px;border-left:2px solid var(--g,var(--line2));display:flex;flex-direction:column;gap:2px}
.hx-pt{display:grid;grid-template-columns:22px minmax(0,1fr) auto auto;align-items:center;gap:8px;min-height:40px;padding:4px 6px;border-radius:8px;cursor:pointer}
.hx-pt:hover{background:var(--soft)}
.hx-ptt{min-width:0;display:flex;flex-direction:column}
.hx-ptt b{font-weight:500;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hx-ptt small{font-size:11.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hx-pav{display:inline-flex;align-items:center}
.hx-pt .hz-t{font-size:12px;min-width:44px;text-align:right}
.hx-pin{margin:4px 0 2px;height:34px;border:1px dashed var(--line2);border-radius:8px;background:transparent;padding:0 10px;font:inherit;font-size:13px;color:var(--text)}
.hx-pin:focus{border-style:solid;border-color:var(--accent);outline:none}
.hx-pmore{align-self:flex-start;font-size:12.5px;padding:4px 6px}
.hw-tk.hw-mic{border:0;display:grid;place-items:center;font-size:15px}
/* v140 · Línea general de diseño (se carga la última: manda sobre todo lo anterior)
   Espacios 4 · 8 · 12 · 16 · 24 · 32 — Texto 20 / 14 / 13 / 12 / 11 — Esquinas 8 (controles) · 12 (bloques) · redondo (chips)
   Alturas: 36 acciones principales · 32 botones, campos e iconos · 28 chips y filtros (44 en móvil para lo que se toca) */

/* ───────── Controles en toda la app ───────── */
body .btn{height:32px;padding:0 12px;border-radius:8px;font-size:13px;gap:6px}
body .btn.sm{height:28px;padding:0 10px;font-size:12px;border-radius:8px}
body .btn.wide{height:36px}
body .btn.icon{width:32px;height:32px;padding:0}
body .btn.icon.sm{width:28px;height:28px}
body .split .btn.primary:first-child{border-radius:8px 0 0 8px}
body .split .btn.sq{border-radius:0 8px 8px 0;height:32px}
body :where(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]),select){border-radius:8px;font-size:13px;min-height:32px;padding:6px 10px}
body :where(textarea){border-radius:8px;font-size:13px;padding:8px 10px}
body .opt,body .chipb,body .act-chip,body .chip-ck{min-height:28px;padding:0 12px;font-size:12px;border-radius:999px;display:inline-flex;align-items:center;gap:6px}
body .chip-ck.sm{min-height:24px;padding:0 8px}
body .tab{font-size:13px}

/* ───────── Bloques ───────── */
body .panel,body .card,body .dw-card,body .dw-objs,body .dw-mem{border-radius:12px}
body .pop{border-radius:12px}
body .mi{border-radius:8px;padding:8px 12px}
body .urow{padding:12px 16px;gap:12px}
body .section-title{font-size:12px;font-weight:600;color:var(--muted2);margin:8px 0 0}
body .hint{font-size:12px}
/* etiquetas en minúscula normal, sin mayúsculas espaciadas */
body .fp-l,body .pfb-l{text-transform:none;letter-spacing:0;font-size:12px;font-weight:500;color:var(--muted)}

/* ───────── Ficha del lead · cabecera ───────── */
body .d-head{padding:16px 20px;gap:16px}
body .dh-id{align-items:center;gap:12px;min-height:40px}
body .dh-id .nm b{font-size:18px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body .dh-id .nm small{font-size:13px}
body .dh-win{align-items:center;gap:2px}
body .dh-nav{margin-right:4px;padding-right:4px}
body .dh-tools{grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:8px}
body .dh-t,body .drawer.wide #dHead .dh-t{flex-direction:row;justify-content:center;align-items:center;height:36px;padding:0 8px!important;gap:8px;font-size:13px!important;border-radius:8px}
body .dh-t span,body .drawer.wide #dHead .dh-t span{height:auto;font-size:16px}
body .dh-moves{gap:8px;min-height:36px;align-items:center}
body .dh-moves>small{font-size:12px;margin:0 0 0 4px}
body .dh-mv{height:28px;padding:0 12px;border-radius:999px;font-size:12px;font-weight:500}
body .dh-mvcfg{width:28px;height:28px;border-radius:8px}
body .dh-flags:empty{display:none}
body .dh-flags{min-height:0;gap:8px}
body .dh-ai,body .dh-ai:not(.open),body .dh-ai.off{height:auto;overflow:visible;padding:12px 16px;border-radius:12px;gap:4px}
body .dh-ai:not(.open) p:not(.why){display:block;-webkit-line-clamp:unset;overflow:visible}
body .dh-ai p{font-size:13px}
body .dh-ai .link{font-size:12px;font-weight:600}

/* la fase, cuando va en la fila de «Mover a» (ficha amplia) */
body .dh-moves .dh-k.stage{flex-direction:row;padding:0;border:0;margin-right:8px;flex:none}
body .dh-moves .dh-k.stage small{display:none}
body .dh-moves .dh-k.stage span{height:36px;padding:0 4px 0 12px;border:1px solid var(--line2);border-radius:8px;background:#fff}
body .dh-moves .dh-k.stage select{font-size:13px!important;font-weight:600;min-height:0;width:auto;max-width:220px}

/* ficha lateral (estrecha): fase, valor y temperatura en una línea, sin caja */
body .drawer:not(.wide) .dh-kv{display:flex;align-items:center;gap:16px;flex-wrap:wrap;border:0;background:transparent;border-radius:0}
body .drawer:not(.wide) .dh-k{flex-direction:row;align-items:center;gap:6px;padding:0;border:0!important}
body .drawer:not(.wide) .dh-k small{font-size:13px}
body .drawer:not(.wide) .dh-k b,body .drawer:not(.wide) .dh-kb{font-size:13px}
body .drawer:not(.wide) .dh-k.stage small{display:none}
body .drawer:not(.wide) .dh-k.stage span{height:32px;padding:0 4px 0 10px;border:1px solid var(--line2);border-radius:8px}
body .drawer:not(.wide) .dh-k.stage select{font-size:13px!important;min-height:0}
body .drawer-tabs{gap:24px;padding:0 20px}
body .drawer-tabs .tab{height:44px;padding:0;display:inline-flex;align-items:center}

/* ───────── Ficha amplia: cabecera y cuerpo con las mismas dos columnas ───────── */
body .drawer.wide #dHead{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);column-gap:24px;row-gap:16px;padding:16px 24px;align-items:center}
body .drawer.wide #dHead .dh-id{grid-column:1/-1;grid-row:1}
body .drawer.wide #dHead .dh-win{margin-right:-8px}
body .drawer.wide #dHead .dh-moves{grid-column:1;grid-row:2;min-width:0}
body .drawer.wide #dHead .dh-tools{grid-column:2;grid-row:2}
body .drawer.wide .drawer-body{column-gap:24px;padding:24px;background:var(--bg)}
body .drawer.wide .drawer-body>.chat{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
body .drawer.wide .d-side{padding:0;background:transparent;gap:16px}
body .d-cards{height:auto;gap:16px}
body .d-cards>.dw-card{overflow:visible}

/* franja de resumen: probabilidad · valor · temperatura */
#dCards .dw-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:16px}
#dCards .dw-strip .dh-k{padding:0;border:0!important;gap:4px}
.dw-si{display:flex;flex-direction:column;gap:4px;min-width:0}
.dw-si>small,#dCards .dw-strip .dh-k small{font-size:12px;color:var(--muted)}
.dw-si>b{font-size:16px;font-weight:600;display:flex;align-items:center;gap:8px;line-height:24px}
#dCards .dw-strip .dh-k b,#dCards .dw-strip .dh-kb{font-size:16px;line-height:24px}
.dw-si .dw-up{font-size:12px;font-weight:500;color:#C2410C}
#dCards .dw-strip .dh-flags{grid-column:1/-1;border-top:1px solid var(--line);padding-top:12px}
#dCards .dw-next{padding:0;border:0;background:transparent}
#dCards .dw-next .dh-ai{background:var(--panel);border:1px solid var(--line)}

/* perfil: mismos campos para el mismo tipo de dato */
body .d-prof{padding:16px;gap:16px;border-radius:12px;margin:0}
body .fp-g,body .fp-g{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
body .fp-sel,body .fp-sel.on{height:32px;min-height:32px;width:100%;padding:0 28px 0 10px;border-radius:8px;font-size:13px;background-color:#fff;color:var(--text);border:1px solid var(--line2)}
body .fp-sel.miss{border:1px dashed #CA8A04;background-color:#FFFBEB;color:#92400E}
body .fp-c{min-height:28px;padding:0 12px;font-size:12px;display:inline-flex;align-items:center}
body .fp-v{gap:6px}
body .fp-t{font-size:13px;min-height:32px;display:flex;align-items:center}
body .fp-tag{min-height:24px;font-size:12px}
body .fp-tadd{height:24px;min-height:24px;padding:0 8px;font-size:12px;border-radius:999px}
body .fp-mem{padding-top:16px;gap:8px}
body .fp-m{padding:4px 10px;border-radius:999px;font-size:12px}
body .fp-ask{padding:8px 12px;border-radius:8px;font-size:13px}

/* pestañas del panel y seguimiento */
body .d-stabs{top:0;background:var(--bg);gap:24px;padding:0}
body .d-stabs button{height:44px;padding:0;font-size:13px}

/* chat */
body .d-mode{padding:12px 16px;gap:12px}
body .dw-seg .seg-b{height:28px;padding:0 12px;font-size:12px}
body .composer{padding:12px 16px 16px}
body .composer-box{border-radius:12px;padding:8px 8px 8px 12px}
body .d-line{height:32px;border-radius:8px;min-width:0;flex:0 1 auto}

/* ───────── Móvil ───────── */
@media (max-width:700px){
  body .dh-id{flex-wrap:wrap;row-gap:12px}
  body .dh-win{order:-1;width:100%;justify-content:flex-end}
  body .dh-id .nm{flex:1 1 0;min-width:0}
  body .dh-t,body .drawer.wide #dHead .dh-t{flex-direction:column;height:56px;gap:4px;font-size:12px!important;border-radius:12px}
  body .drawer-tabs .tab{height:48px;font-size:14px}
  body .drawer:not(.hidden)~#asst{display:none}
  body .d-line{max-width:110px}
  body .btn.icon{width:36px;height:36px}
}

/* ajustes tras revisar capturas */
body #dCards{grid-template-columns:minmax(0,1fr)}
body #dProfBody{display:flex;flex-direction:column;gap:16px}
body .drawer:not(.wide) .dh-k.stage select{max-width:200px}
@media (max-width:700px){ body #dReroll{display:none} body .composer-box{padding-right:6px} }

/* detalles: chips de respuestas rápidas, «Para», títulos y avisos con la misma escala */
body .qchip{min-height:28px;padding:0 12px;border-radius:999px;font-size:12px;display:inline-flex;align-items:center;gap:6px}
body .qchip kbd{font-weight:600}
body .tkw-b{min-height:28px;padding:0 12px;font-size:12px;border-radius:999px;display:inline-flex;align-items:center}
body .dh-mvcfg{padding:0;display:inline-grid;place-items:center}
body .fp-h b,body .dw-h b{font-size:14px;font-weight:600}
body .fp-miss,body .dh-in{font-size:12px;font-weight:500;padding:2px 8px}
body .dh-ai p b,body .fp-ask b{font-weight:600}
body .messages{padding:16px 24px}
body .messages .day{padding:2px 10px;font-size:12px}
body .dw-seg{padding:2px;border-radius:8px}
body .dh-kb{min-height:24px}
/* Generado por tools/tema-oscuro.mjs: no editar a mano */
html.oscuro{--bg:#191b22;--panel:#20242c;--soft:#16191e;--soft2:#242832;--line:#282d37;--line2:#2d323e;--text:#d3d5d9;--text2:#b0b3bb;--muted:#7a859f;--muted2:#9ea3ad;--faint:#566077;--accentBg:#223948;--accentLine:#2d4b5d;--sky:#304e61;--dangerBg:#3a1313}html.oscuro .btn.primary:hover{background:#e9eaec}html.oscuro .split .btn.sq{border-left:1px solid #b0b3bb}html.oscuro .switch span{background:#383e4d}html.oscuro .switch span:after{background:#20242c}html.oscuro .avatar{background:#566077}html.oscuro .seg{background:#272b36}html.oscuro .kpi:hover{border-color:#404758}html.oscuro .card:hover{border-color:#383e4d}html.oscuro .lv td{border-bottom:1px solid #242832}html.oscuro .lv tr:hover td{background:#1c1f26}html.oscuro .lv tr.sel td{background:#15232d}html.oscuro .messages{background:#1c2027}html.oscuro .sch{border-left:3px solid var(--c,#9ea3ad)}html.oscuro .sch:hover{border-color:#383e4d;border-left-color:var(--c,#9ea3ad)}html.oscuro .sch .cat{color:var(--c,#9ea3ad)}html.oscuro .sch.failed{border-color:#712626}html.oscuro .composer-box:focus-within{border-color:#566077}html.oscuro .ch-row{border-bottom:1px solid #242832}html.oscuro .ch-row:hover{background:#1c1f26}html.oscuro .drawer-scrim,html.oscuro .modal-scrim{background:rgba(211,213,217,0.18)}html.oscuro .aibox{background:#162835}html.oscuro .later{border:1.5px dashed #395d73}html.oscuro .later.auto{border-color:#836d2c}html.oscuro .later.auto .h{color:#f8c377}html.oscuro .inbox-row:hover{background:#1c1f26}html.oscuro .qr-box img{background:#20242c}html.oscuro .cal .hd{border-left:1px solid #242832}html.oscuro .cal .hr{border-top:1px solid #16191e}html.oscuro .cal .cell{border-top:1px solid #16191e;border-left:1px solid #242832}html.oscuro .cal .cell:hover{background:#1c1f26}html.oscuro .cal .cell.past{background:#1c1f26}html.oscuro .ev{background:var(--t,#16191e);border-left:3px solid var(--c,#9ea3ad)}html.oscuro .ev .ct{color:var(--c,#9ea3ad)}html.oscuro .urow{border-bottom:1px solid #242832}html.oscuro .urow:hover,html.oscuro .urow.on{background:#1c1f26}html.oscuro .urow .av i{background:#383e4d;border:2px solid #20242c}html.oscuro .uedit .avwrap label{border:2px solid #20242c}html.oscuro .toast button{background:#20242c}html.oscuro .tk{border-bottom:1px solid #242832}html.oscuro .tk:hover{background:#1c1f26}html.oscuro .tk-check{border:1.5px solid #404758}html.oscuro .tk-due.today{background:#362f12;color:#f8c377}html.oscuro .ch-row.sel{background:#15232d}html.oscuro .feed-bulk{background:#1c1f26}html.oscuro .gm-stage{border:1px dashed #404758}html.oscuro .card.picked{background:#162835}html.oscuro .pipe-bulk .pb-sub{border-top:1px solid #b0b3bb}html.oscuro .pipe-bulk .btn{background:#c6c9ce;border-color:#b0b3bb}html.oscuro .pipe-bulk .btn:hover,html.oscuro .pipe-bulk .btn.on{background:#b0b3bb}html.oscuro .pipe-bulk .btn.primary{background:#20242c;border-color:#20242c}html.oscuro .pipe-bulk .btn.ghost{color:#353b4a}html.oscuro .pipe-bulk select,html.oscuro .pipe-bulk input{background:#c6c9ce;border-color:#b0b3bb}html.oscuro .pipe-bulk input::placeholder{color:#566077}html.oscuro .pipe-bulk .pb-sep{background:#b0b3bb}html.oscuro .ch-plus{border:1px dashed #404758}html.oscuro .cop-card{background:#162835}html.oscuro .cop-pill{background:#20242c}html.oscuro .cop-mode{background:#20242c}html.oscuro .cop-r{background:#20242c}html.oscuro .cop-stale{color:#f8c377}html.oscuro .mark:hover{border-color:#566077}html.oscuro .mark.call.on{border:1.5px solid #29507b;background:#132439}html.oscuro .mark.call.on small{color:#819eee}html.oscuro .mark.won.on{background:linear-gradient(135deg,#362f12,#5c4f1f)}html.oscuro .mark.won.on small{color:#f8c377}html.oscuro .fu-kpi.hero span,html.oscuro .fu-kpi.hero small{color:#566077}html.oscuro .fu-bar{background:#395d73}html.oscuro .fu-row:nth-child(n+4) .fu-bar{background:#4f778e}html.oscuro .fu-row:nth-child(n+6) .fu-bar{background:#769fb9}html.oscuro .fu-tab td{border-bottom:1px solid #242832}html.oscuro .auth{background:linear-gradient(160deg,#304e61,#223845 55%,#191b22)}html.oscuro .mark.won.on{border-color:#80492b;background:linear-gradient(135deg,#382013,#532e1c)}html.oscuro .mark.won.on small{color:#f79d79}html.oscuro .d-call{background:#132439;border:1px solid #203d60;color:#8aa2e5}html.oscuro .mk-btn.call.on{background:#132439;border-color:#29507b}html.oscuro .mk-btn.won.on{background:#382013;border-color:#80492b}html.oscuro .d-pill.call{background:#132439;border-color:#203d60;color:#8aa2e5}html.oscuro .d-pill.call a{color:#819eee}html.oscuro .btnlike:hover{border-color:#566077}html.oscuro .d-ai{background:#162835}html.oscuro .cop-card.col{background:#162835}html.oscuro .ln-tag{color:#8aa2e5;background:#132439;border:1px solid #203d60}html.oscuro .lc-st.ok{background:#123520;color:#84ebab}html.oscuro .lc-st.warn{background:#372712;color:#f79d79}html.oscuro .lc-st.bad{background:#3a1313;color:#ec8383}html.oscuro .link.danger{color:#ec8383}html.oscuro .ln-sep.alt span{background:#132439;color:#8aa2e5}html.oscuro .msg time .via.alt{color:#819eee}html.oscuro .paychip.ok{background:#123520}html.oscuro .paychip.part{background:#372712}html.oscuro .paychip.bad{background:#3a1313}html.oscuro .paychip.sent{background:#132439}html.oscuro .paystate.ok{background:#123520;color:#84ebab}html.oscuro .paystate.part{background:#372712;color:#f79d79}html.oscuro .paystate.bad{background:#3a1313;color:#ec8383}html.oscuro .paystate.sent{background:#132439;color:#819eee}html.oscuro .sale-link:hover{background:#162835}html.oscuro .call-next{background:#162835}html.oscuro .call-coach{background:#372712;border:1px solid #6d4b24}html.oscuro{--b-neutral:#2b2f3b;--accent2:color-mix(in srgb,var(--b-struct) 80%,#e9eaec);--accentBg:color-mix(in srgb,var(--b-sky) 35%,#20242c);--text:color-mix(in srgb,var(--b-struct) 92%,#e9eaec);--text2:color-mix(in srgb,var(--b-struct) 85%,#b6b9c0);--muted2:color-mix(in srgb,var(--b-struct) 68%,#6b7794);--muted:color-mix(in srgb,var(--b-struct) 52%,#586279);--bg:color-mix(in srgb,var(--b-sky) 14%,#1f2a34);--soft:color-mix(in srgb,var(--b-sky) 18%,#20242c);--soft2:color-mix(in srgb,var(--b-sky) 26%,#20242c)}html.oscuro .side .nav:hover{background:rgba(32,36,44,0.071)}html.oscuro .side .nav-group{border-left-color:rgba(32,36,44,0.141)}html.oscuro .side .nav-sep,html.oscuro .shell.mini .nav-group:before{background:rgba(32,36,44,0.141)}html.oscuro .side .wa-pill:hover,html.oscuro .side .queue-pill:hover,html.oscuro .side .me-row:hover{background:rgba(32,36,44,0.071)}html.oscuro .side-toggle:hover{background:rgba(32,36,44,0.102)}html.oscuro .ch-tab.on .cst-ico{background:rgba(32,36,44,0.122)}html.oscuro .mk-prev .pv-side i{background:rgba(32,36,44,0.122)}html.oscuro .mk-prev .pv-card{background:#20242c}html.oscuro .mk-warn{color:#f09b7f}html.oscuro body.mode-light .side{background:#20242c}html.oscuro body.mode-light .ch-tab.on{background:color-mix(in srgb,var(--b-sky) 55%,#20242c)!important}html.oscuro body.mode-light .ch-tab.on .cst-ico{background:#20242c}html.oscuro body.mode-light .auth{background:color-mix(in srgb,var(--b-sky) 55%,#20242c)!important}html.oscuro .mm-pv.light{background:#20242c}html.oscuro .mm-pv i{background:rgba(113,125,153,0.302)}html.oscuro .mk-prev.light .pv-side{background:#20242c}html.oscuro body.mode-light .fu-hero{background:color-mix(in srgb,var(--b-sky) 45%,#20242c)}html.oscuro .fh-sub b.neg,html.oscuro .neg{color:#723626}html.oscuro body.mode-light .pos{color:#84ebab}html.oscuro body.mode-light .neg{color:#ec8383}html.oscuro .fh-seg{background:rgba(32,36,44,0.122)}html.oscuro body.mode-light .fh-seg{background:rgba(32,36,44,0.702)}html.oscuro .fh-bar{background:rgba(32,36,44,0.149)}html.oscuro .fh-row input{background:rgba(32,36,44,0.102);border:1px solid rgba(32,36,44,0.25)}html.oscuro body.mode-light .fh-row input{background:#20242c}html.oscuro .fh-card{background:rgba(32,36,44,0.078);border:1px solid rgba(32,36,44,0.14)}html.oscuro body.mode-light .fh-card,html.oscuro body.mode-light .fh-scen>div{background:#20242c}html.oscuro .fh-scen>div{border:1px solid rgba(32,36,44,0.14);background:rgba(32,36,44,0.039)}html.oscuro .sh-search{background:#20242c;color:#7e89a2}html.oscuro .sh-st.ok{color:#84ebab}html.oscuro .sh-st.warn{color:#f09b7f}html.oscuro .sh-st.bad{color:#ec8383}html.oscuro body.mode-dark .sh-st.ok{color:#86e9aa}html.oscuro body.mode-dark .sh-st.warn{color:#7e3e2a}html.oscuro body.mode-dark .sh-st.bad{color:#712626}html.oscuro .ct-st.signed{color:#84ebab}html.oscuro .d-pill.ct.signed{color:#84ebab}html.oscuro .ct-hp{background:#1b262e}html.oscuro .ct-hp em{background:#2d323d}html.oscuro .ct-hp.minimal i{background:#20242c;border-bottom:1px solid #2d323d}html.oscuro .d-pill.ct.paid{color:#84ebab}html.oscuro .d-pill.ct.late{color:#f09b7f}html.oscuro .ct-rem{color:#f09b7f!important}html.oscuro .side .nav-hoy{background:rgba(32,36,44,0.078)}html.oscuro .shell.mini .nav-label{background:rgba(32,36,44,0.141)}@media (max-width:1100px){html.oscuro .nav-label{background:rgba(32,36,44,0.141)}}html.oscuro .ag-tk.late{border-color:#743727;color:#ee8981}html.oscuro .hoy-tag.hot,html.oscuro .hoy-tag.late{background:#4f2b1a;color:#f09b7f}html.oscuro .hoy-tag.warn{background:#523f1b;color:#f8cf77}html.oscuro .cl-score.good{background:#1e5439;color:#8ae6ba}html.oscuro .cl-score.bad{background:#4f2b1a;color:#f09b7f}html.oscuro .ctk-alert{background:#4f2b1a;color:#f09b7f}html.oscuro .ctk-col.mid header{border-bottom-color:#4f7a8e}html.oscuro .ctk-card.late{border-color:#743727}html.oscuro .ctk-f small.late{color:#ee8981}html.oscuro .cp-pos{color:#84ebab}html.oscuro .cp-neg{color:#ec8383}html.oscuro .eq-st div.warn{background:#4f2b1a}html.oscuro .eq-st div.warn b{color:#f09b7f}html.oscuro .side .nav-search{background:rgba(32,36,44,0.059)}html.oscuro .side .nav-search:hover{border-color:rgba(32,36,44,0.161)}html.oscuro .nav-search kbd{border:1px solid rgba(32,36,44,0.16)}html.oscuro .ngh:hover{background:rgba(32,36,44,0.039)}html.oscuro .nbranch:before{background:rgba(45,85,103,0.18)}html.oscuro .nbranch .nav:before{border-left:1.5px solid rgba(45,85,103,0.18);border-bottom:1.5px solid rgba(45,85,103,0.18)}html.oscuro .nav-fly{border:1px solid rgba(32,36,44,0.12)}html.oscuro .nav-fly .nav:hover{background:rgba(32,36,44,0.071)}html.oscuro .side .nav-all{background:rgba(32,36,44,0.059)}html.oscuro .side .nav-all:hover{border-color:rgba(32,36,44,0.161)}html.oscuro .side .nav-rec{background:rgba(32,36,44,0.059)}html.oscuro .drawer-tabs .tab .tb.late{background:#4f2b1a;color:#f09b7f}html.oscuro .drawer-tabs .tab .tb.ok{background:#1e5439;color:#8ae6ba}html.oscuro .act-it.done>i{background:#1e5439;color:#8ae6ba}html.oscuro .gc-ck.ok i{background:#1e5439;color:#8ae6ba}html.oscuro .gc-ck.bad i{background:#4f2b1a;color:#f09b7f}html.oscuro .xr{border:1px solid rgba(45,85,103,0.25);background:rgba(32,36,44,0.059)}html.oscuro .call-talk.hi{background:#4f2b1a;color:#f09b7f}html.oscuro .dl-b.b1,html.oscuro .dl-n.b1{background:#4f2b1a;color:#f09b7f}html.oscuro .dl-b.b3,html.oscuro .dl-n.b3{background:#523f1b;color:#f8cf77}html.oscuro .xr-pg{background:rgba(32,36,44,0.149)}html.oscuro .dl-rec{color:#ee8981}html.oscuro .dl-tip em{color:#f09b7f}html.oscuro .dl-o.ok.on{background:#1e5439;color:#8ae6ba}html.oscuro .dl-o.part.on{background:#523f1b;color:#f8cf77}html.oscuro .dl-o.bad.on{background:#4f2b1a;color:#f09b7f}html.oscuro .dl-wait{color:#f8cf77}html.oscuro .col-dial:hover{background:var(--b-sky,#1e3c4b)}html.oscuro .dll{border:1px solid var(--line,#2c4654);background:var(--panel,#20242c)}html.oscuro .dll.fin .dll-b small{color:#8ce3b2}html.oscuro .dll-x:hover{color:var(--danger,#e28d8d)}html.oscuro .dl-n.b0{background:var(--b-sky,#1e3c4b)}html.oscuro .dln-dup{background:#312610;border:1px solid #7d602a}html.oscuro .side .nav-bell{background:rgba(32,36,44,0.059)}html.oscuro .side .nav-bell:hover{background:rgba(32,36,44,0.122)}html.oscuro .notif-pop{background:var(--panel,#20242c);border:1px solid var(--line,#2c4654)}html.oscuro .np-l{border-top:1px solid var(--line,#16242b)}html.oscuro .np-i{border-bottom:1px solid var(--line,#16242b)}html.oscuro .np-i:hover{background:var(--soft,#192931)}html.oscuro .np-i.new{background:#3a1d13}html.oscuro .np-ic{background:var(--soft,#192931)}html.oscuro .np-i.t-pago .np-ic,html.oscuro .np-i.t-firma .np-ic{background:#1b502e}html.oscuro .np-i.t-agenda .np-ic{background:#4f2b1a}html.oscuro .np-i.t-cancel .np-ic{background:#4c1919}html.oscuro .np-cfg{border-top:1px solid var(--line,#16242b)}html.oscuro .agd-lg{background:#793928}html.oscuro .agd-bar i.c{background:#793928}html.oscuro .agd-fs>div{background:var(--soft,#192931)}html.oscuro .agd-fs small{color:#8ce3b2}html.oscuro .agd-t th{border-bottom:1px solid var(--line,#16242b)}html.oscuro .agd-t td{border-bottom:1px solid var(--line,#16242b)}html.oscuro .agd-t tr[data-agl]:hover td{background:var(--soft,#192931)}html.oscuro .np-snd{border-top:1px solid var(--line,#16242b)}html.oscuro .qrec-b{border:1px solid rgba(32,36,44,0.25);background:rgba(32,36,44,0.078)}html.oscuro .qrec-b:hover{background:rgba(32,36,44,0.18)}html.oscuro .qrec.paused{background:rgba(32,36,44,0.059);border-color:rgba(32,36,44,0.2)}html.oscuro .xr-b{background:rgba(32,36,44,0.102);border:1px solid rgba(32,36,44,0.22)}html.oscuro .sia-s.t-ai .sia-si{background:#191134}html.oscuro .sia-s.t-msg .sia-si{background:#1a394d}html.oscuro .sia-s.t-if .sia-si{background:#523f1b}html.oscuro .sia-s.t-action .sia-si{background:#1b502e}html.oscuro .sia-ai{color:#9684eb}html.oscuro .sia-rv{color:#f49f7b}html.oscuro .sia-conv .bub.me{background:#1a364e}html.oscuro .sia-dr textarea{background:#3d2114;border-color:#683423}html.oscuro .agu-f b em{color:#8ce3b2}html.oscuro .agu-un{background:#312610;border:1px solid #7d602a}html.oscuro .agu-uc{background:#20242c;border:1px solid #7d602a}html.oscuro .agu-cl td.bad{color:#ee8981}html.oscuro .ag-ev.st-celebrada{background:#1b502e!important;color:#83ecb6!important;border-color:#296a44!important}html.oscuro .ag-ev.st-noshow{background:#20242c!important;color:#ee8981!important;border:1px dashed #812f2b!important}html.oscuro .agu-steps i{background:#2c4654}html.oscuro .agu-steps li.ns i{background:#812f2b}html.oscuro .btn.danger-ghost{color:#ee8981;border-color:#812f2b}html.oscuro .agu-rec{color:#f09b7f}html.oscuro .ag-ev.lead.st-reservada{background:#1f3b48;border-left-color:#3d6e85}html.oscuro .ag-ev.lead.st-reservada small{color:#9ba5aa}html.oscuro .drawer.wide #dHead .dh-t{background:rgba(32,36,44,0.078);border-color:rgba(32,36,44,0.161)}html.oscuro .drawer.wide #dHead .dh-t.main{background:#20242c;border-color:#20242c}html.oscuro .drawer.wide #dHead .dh-mvcfg{border-color:rgba(32,36,44,0.302)}html.oscuro .dw-up{color:#e59c8a}html.oscuro .dw-f.pos b{color:#87e8b5}html.oscuro .dw-f.neg b{color:#e59c8a}html.oscuro .dw-obj.open{background:#381e13;border-color:#693523}html.oscuro .dw-obj.half{background:#352b12;border-color:#735f26}html.oscuro .dl-seen{color:#e59c8a}html.oscuro .dl-seenb{border:1px solid #693523;background:#381e13}html.oscuro .dl-seenb span{color:#e59c8a}html.oscuro .col-late{color:#e59c8a}html.oscuro body{--ink:#d3d5d9;--ink2:#afb2bb;--ink3:#8992a9;--ink4:#818ba4;--bg:#1b1e25;--panel:#20242c;--soft:#171a20;--soft2:#242932;--line:#282d38;--line2:#2e333f;--faint:#586279;--accentBg:#121e37;--accentLine:#1f2f5c;--sky:#273042;--okBg:#123520;--warnBg:#342811;--dangerBg:#3a1313;--b-sky:#273042;--b-neutral:#282d38;--on-accent:#20242c;--shadow:0 12px 32px -14px rgba(209,211,216,0.22)}html.oscuro ::selection{background:#1f2f5c}html.oscuro *{scrollbar-color:#343947 transparent}html.oscuro ::-webkit-scrollbar-thumb{background:#343947}html.oscuro ::-webkit-scrollbar-thumb:hover{background-color:#444b5d}html.oscuro body .side{background:#1b1e25!important}html.oscuro body .side .nav svg{color:#7a859f}html.oscuro body .side .nav:hover{background:#14161c!important}html.oscuro body .side .nav.on,html.oscuro body .side .nav-hoy.on{background:#272c37!important}html.oscuro body .side .nav em{color:#818ba4!important}html.oscuro body .side .nav em.b,html.oscuro body .badge,html.oscuro body .ngh em.nsum{background:#4f2b1a!important;color:#f09b7f!important}html.oscuro body .side .wa-pill,html.oscuro body .side .queue-pill,html.oscuro body .side .me-txt small,html.oscuro body .side-toggle{color:#818ba4!important}html.oscuro body .side .wa-pill:hover,html.oscuro body .side .queue-pill:hover,html.oscuro body .side .me-row:hover,html.oscuro body .side-toggle:hover{background:#14161c!important}html.oscuro body .nav-label,html.oscuro body .ngh{color:#818ba4!important}html.oscuro body .btn{background:#20242c}html.oscuro body .btn:hover{background:#1a1d24;border-color:#343947}html.oscuro body .btn.ghost:hover{background:#14161c}html.oscuro body :where(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea){background:#20242c}html.oscuro body .seg{background:#14161c}html.oscuro body .seg-b.on{background:#20242c}html.oscuro body .chipb,html.oscuro body .act-chip,html.oscuro body .opt{background:#20242c}html.oscuro body .panel{background:#20242c}html.oscuro body .card:hover{border-color:#343947}html.oscuro body .ctc.late,html.oscuro body .d-pill.ct.late,html.oscuro body .sh-st.warn{color:#f8c377!important}html.oscuro body .dh-t.rec{border-color:#6c2424!important}html.oscuro body .drawer-panel{background:#20242c}html.oscuro body .drawer.wide #dHead{background:#20242c!important}html.oscuro body .drawer.wide #dHead .dh-t,html.oscuro body .dh-t{background:#20242c!important}html.oscuro body .drawer.wide #dHead .dh-t:hover,html.oscuro body .dh-t:hover{background:#1a1d24!important}html.oscuro body .tb.late,html.oscuro body .tb.hot{background:#4f2b1a;color:#f09b7f}html.oscuro body .dl-script{background:#20242c}html.oscuro .hz-lh{border-bottom:1px solid #14161c}html.oscuro .hz-c{background:#16191e}html.oscuro .hz-row{border-bottom:1px solid #16191e}html.oscuro .hz-row:hover{background:#1f2a34}html.oscuro .hz-row.first{background:#151e3e}html.oscuro .hz-track:before{background:#14161c}html.oscuro .hz-past{background:#383f4e}html.oscuro .hz-slot{background:#2e333f}html.oscuro .hz-slot.past{background:#383f4e}html.oscuro .hz-row:focus-visible{background:#121e37}html.oscuro .hz-row:hover .hz-a:not(.primary){border-color:#383f4e}html.oscuro body .cmdk-r.sel{background:#121e37}html.oscuro body .kpi{background:#20242c}html.oscuro body .kpi:hover{border-color:#383f4e;background:#1c1f27}html.oscuro body .ch-tab{background:#20242c!important}html.oscuro body .ch-tab:hover{border-color:#383f4e!important;background:#1c1f27!important}html.oscuro body .sch:before{background:var(--c,#586279)}html.oscuro body .sh-att{border:1px solid #745827!important}html.oscuro body .mark.won.on{border:1px solid #22673a}html.oscuro .kb-grid kbd,html.oscuro .kbd{background:#20242c}html.oscuro body .side .nav-search{background:#20242c!important;color:#818ba4!important}html.oscuro body .side .nav-search kbd{color:#818ba4}html.oscuro body .side .nav-search:hover{border-color:#383f4e!important}html.oscuro body .drawer.wide #dHead .dh-t.ai,html.oscuro body .dh-t.ai{background:#20242c!important}html.oscuro body .drawer.wide #dHead .dh-t.ai:hover,html.oscuro body .dh-t.ai:hover{background:#1a1d24!important}html.oscuro body .dh-mv{background:#20242c!important}html.oscuro body .dh-mv:hover{background:#1a1d24!important;border-color:#383f4e}html.oscuro body .dh-mv.here{background:var(--soft2,#242932)!important}html.oscuro body .dh-mvcfg{color:#818ba4}html.oscuro body .mk-call{background:var(--accent-bg,#121e37)}html.oscuro body .mk-won{background:var(--okBg,#123520)}html.oscuro body .side .nav-bell{color:#818ba4!important}html.oscuro body .side .nav-bell:hover{background:#14161c!important}html.oscuro body .dw-obj{background:#20242c!important}html.oscuro body .dw-obj.open em{background:#3a1313!important}html.oscuro body .dw-obj.half em{background:#362f12!important;color:#f8af77!important}html.oscuro body .dw-obj.ok em{background:#123520!important}html.oscuro body .dw-obj:hover{border-color:#383f4e!important}html.oscuro body .pipe-slot .pipe-sw{background:#20242c!important}html.oscuro body .pipe-slot .pipe-sw svg{stroke:#818ba4!important}html.oscuro body .pipe-slot .pipe-sw:hover{border-color:#383f4e!important}html.oscuro body .set-menu a.on{background:#272c37!important}html.oscuro body .sh-hero{background:#20242c!important}html.oscuro body .sh-hero p{color:var(--ink3,#8992a9)!important}html.oscuro body .sh-hero .sh-kick{color:#818ba4!important}html.oscuro body .sh-hero input{background:#20242c!important}html.oscuro body .sh-row:hover .sh-ri{background:var(--accent-bg,#121e37)!important}html.oscuro body .agu-f.dark{background:#20242c!important}html.oscuro body .agu-f.dark span,html.oscuro body .agu-f.dark small{color:#818ba4!important}html.oscuro body .ag-ev.st-confirmada{background:var(--accent-bg,#121e37)!important;color:var(--accent-deep,#849deb)!important;border-color:#1f315d!important}html.oscuro body .ag-ev.st-venta{background:#123520!important;color:#84ebab!important;border-color:#22673a!important}html.oscuro body .ag-ev.st-celebrada{background:#171a20!important}html.oscuro body .ctk-alert{background:var(--dangerBg,#3a1313)!important;color:#ec8383!important;border:1px solid #551c1c}html.oscuro body .ctk-steps i.on{background:var(--ink3,#8992a9)}html.oscuro body .ctk-card.late{border-color:#551c1c!important}html.oscuro body .ctk-card:hover{border-color:#383f4e}html.oscuro body .fu-kpis{background:#20242c}html.oscuro body .fu-kpi{background:#20242c!important}html.oscuro body .fu-kpi.hero span,html.oscuro body .fu-kpi.hero small{color:#818ba4!important}html.oscuro body .fu-bar{background:#1f315d!important;color:var(--accent-deep,#849deb)}html.oscuro body .fu-row:nth-child(n+4) .fu-bar{background:#2b4381!important}html.oscuro body .sh-search{color:#818ba4!important}html.oscuro body .empty{color:#818ba4}html.oscuro body .empty:before{background:#16191e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23646979' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-6l-2 3h-4l-2-3H2M5.5 5h13L22 12v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-6z'/%3E%3C/svg%3E") center/18px no-repeat}html.oscuro body .set-hico{background:var(--accent-bg,#121e37)!important}html.oscuro body .dh-nav small{color:#818ba4}html.oscuro .hz-ag{background:#20242c}html.oscuro .hz-ag:hover{border-color:#383f4e}html.oscuro .hz-agt small{color:#818ba4}html.oscuro .hz-agw small{color:#818ba4}html.oscuro .hz-nomeet{color:#586279}html.oscuro .hz-ag.next{border-color:#1f315d;background:#151e3e}html.oscuro .hz-ag.live{border-color:#22673a;background:#13381e}html.oscuro .hz-agnone{color:#818ba4}html.oscuro body .qrec{background:#20242c!important;border:1px solid #6c2424!important}html.oscuro body .qrec-who{color:#818ba4!important}html.oscuro body .qrec-b{background:#20242c!important}html.oscuro body .qrec-b:hover{background:#1a1d24!important}html.oscuro body .qrec-b.x:hover{background:#3a1313!important;border-color:#6c2424!important}html.oscuro body .qrec.paused{background:#362f12!important;border-color:#81702b!important}html.oscuro body .xr{background:#20242c!important}html.oscuro body .xr:hover{border-color:#383f4e!important}html.oscuro body .xr.live{background:#3d1414!important;border-color:#6c2424!important}html.oscuro body .xr.paused{background:#362f12!important;border-color:#81702b!important}html.oscuro body .xr-h small{color:#818ba4!important}html.oscuro body .xr-l,html.oscuro body .xr-pl{color:#818ba4!important}html.oscuro body .xr-b{background:#20242c!important}html.oscuro body .xr-b:hover{background:#1a1d24!important}html.oscuro body .xr-b.x:hover{background:#3a1313!important;border-color:#6c2424!important}html.oscuro body .xr-pg{background:#14161c!important}html.oscuro body .sia-s.t-email .sia-si{background:#361214}html.oscuro .rs-ty{background:#20242c}html.oscuro .rs-ty small{color:#818ba4}html.oscuro .rs-ty:hover{border-color:#383f4e}html.oscuro .rs-ty.on{background:#151e3e}html.oscuro .rs-url{background:#20242c}html.oscuro .rs-slug{background:#20242c}html.oscuro .rs-slug span{color:#818ba4}html.oscuro .rs-qh>b,html.oscuro .rs-n{background:#16191e}html.oscuro .rs-pane .chipb{background:#20242c}html.oscuro .rs-then{background:#1b1e25}html.oscuro .rs-def{background:#1f2a34!important}html.oscuro .rs-mn small{color:#818ba4}html.oscuro .rs-bar{background:#14161c}html.oscuro .rs-mode{background:#20242c}html.oscuro .rs-mode small{color:#818ba4}html.oscuro .rs-mode.on{background:#151e3e}html.oscuro .acc-blocked{color:#eb8484}html.oscuro .rec-st.v{background:#1b502d;color:#8ae5ad}html.oscuro .rec-st.n{background:#5c4f1f;color:#f3a97d}html.oscuro .rec-it.sincita,html.oscuro .rec-it.sinlead{background:#5c4f1f;color:#f3a97d}html.oscuro .agd-win.on{border-color:#581d1d;background:#3f1515}html.oscuro .agf-g.new{background:#351212;color:#e48d8b}html.oscuro .agr-node.rej{border-color:#581d1d;background:#3f1515}html.oscuro .agr-node.rej .agr-k{color:#ee8981}html.oscuro .agr-vl{background:#3c4353}html.oscuro .agr-hl{background:#3c4353}html.oscuro .aga-row.sel{background:#141e3b}html.oscuro .aga-pv{background:#493c28}html.oscuro .aga-bub{background:#20242c;color:#dadce0}html.oscuro .aga-bub small{color:#626e88}html.oscuro .agp-bk.pend{background:linear-gradient(90deg,rgba(53,18,18,0.4),transparent)}html.oscuro .agx-bulk{background:#141e3b;border-color:#1f2f5d}html.oscuro .agx-t tr.sel td{background:#141e3b}html.oscuro .agx-p-ok{background:#1f482c;border-color:#2a5b39;color:#8ae5ad}html.oscuro .agx-p-blue{background:#121e37;border-color:#1d2e56;color:#869ee9}html.oscuro .agx-p-warn{background:#4c3919;border-color:#6b5324;color:#f4c67b}html.oscuro .agx-p-red{background:#351212;border-color:#581d1d;color:#ee8981}html.oscuro .agx-tg span{background:#363c4b}html.oscuro .agx-tg span:after{background:#20242c}html.oscuro .dc-seg{background:var(--soft,#14171c)}html.oscuro .dc-av{background:#191d4c;color:#959ada}html.oscuro .dc-chip{background:#191d4c;color:#959ada}html.oscuro .dc-m header b{color:#959ada}html.oscuro .dm-st{background:var(--bg2, #14171c)}html.oscuro .dm-st.ok{background:#1b502d;color:#8ae5ad}html.oscuro .dm-st.warn{background:#5c4f1f;color:#f3a97d}html.oscuro .dm-st.bad{background:#2e0f0f;color:#ea8686}html.oscuro .dm-dns th,html.oscuro .dm-dns td{border:1px solid var(--line, #2b303b)}html.oscuro .emf-ed{color:#eac185}html.oscuro .lk-ok{background:#1c542c;color:#87e9aa}html.oscuro .lk-ok code{background:rgba(32,36,44,0.7);color:#8ce3aa}html.oscuro .lk-n{background:#0f172e;color:#889ce7}html.oscuro .lk-n.zero{background:var(--soft,#14171c)}html.oscuro .lk-tag,html.oscuro .lk-hot{background:var(--soft,#14171c)}html.oscuro .lk-hot{background:#57401d;color:#f8bd77}html.oscuro .evx-late{color:#eb8484}html.oscuro .evx-avt i{background:#1b2951;color:#849deb}html.oscuro .evx-ren.late{color:#eb8484}html.oscuro .evx-ren.soon{color:#f8af77}html.oscuro .evx-ren.mid{color:#f8c377}html.oscuro .evx-ren.far{color:#84ebab}html.oscuro .ent-w-verde{color:#84ebab}html.oscuro .ent-w-ambar{color:#f8af77}html.oscuro .ent-w-rojo{color:#eb8484}html.oscuro .ent-k-auto{color:#84ebab}html.oscuro .ent-k-ia{color:#bb84eb}html.oscuro .ent-draft{color:#f8af77}html.oscuro .est-btn.on{color:#f8c877}html.oscuro .ent-score{background:var(--chip,#162432)}html.oscuro .ent-score.alta{background:#1b502d;color:#8ae5ad}html.oscuro .ent-score.media{background:#5c4f1f;color:#f3a97d}html.oscuro .ent-score.baja{background:#2e0f0f;color:#ea8686}html.oscuro .ecx-no{color:#f8af77}html.oscuro .ecx-st>*{background:var(--bg2,rgba(113,125,153,0.07))}html.oscuro .lc-r:hover{background:var(--bg2,rgba(113,125,153,0.08))}html.oscuro .f3-r.ok>b{color:#84ebab}html.oscuro .f3-tabs button span.warn{background:var(--warnBg,#5c4f1f)}html.oscuro .fp-miss{background:#5c4f1f;color:#f3a97d}html.oscuro .fp-sel.miss{background:#362f12;color:#f3a97d}html.oscuro .fp-tag{color:color-mix(in srgb,var(--c) 70%,#e9eaec)}html.oscuro .d-stabs .tb.warn{background:#5c4f1f;color:#f3a97d}html.oscuro .oscuro .dh-t.ask .dh-ask-i{color:#274675}html.oscuro .fp-dt.up{color:#81eea9}html.oscuro .fp-dt.down{color:#eb8484}html.oscuro .fp-nv{color:#f8af77}html.oscuro .fp-nv.n4{color:#eb85b2}html.oscuro .fp-w{color:#eb8484}html.oscuro .fl-okb{color:#f8af77}html.oscuro .fl-st-run{color:#7f9df0}html.oscuro .fl-st-ok{color:#f8af77}html.oscuro .fl-st-done{color:#84ebab}html.oscuro .fl-st-err{color:#eb8484}html.oscuro .efx-tag{color:#bb84eb}html.oscuro .efx-bolt svg{fill:#f8bc77}html.oscuro .efx-aud.equipo{color:#ba7ef2}html.oscuro .efx-av{background:#1b2951;color:#849deb}html.oscuro .efx-av.equipo{background:#221134;color:#bb84eb}html.oscuro .efx-ok{color:#81eea9}html.oscuro .efx-wait{color:#f8bc77}html.oscuro .efx-dragging .efx-dir[data-drop]{outline:1px dashed var(--line2,#363c4b)}html.oscuro .efx-cv i{background:#20242c}html.oscuro .efx-menu .danger{color:#eb8484}html.oscuro .efe-paper{--ink:#d3d5d9;--ink3:#818ba4;--ln:#2a2f3a}html.oscuro .efe-paper.dark{--ink:#171a20;--ink3:#566077;--ln:rgba(32,36,44,0.14)}html.oscuro .efe-sheet{background:#20242c}html.oscuro .efe-paper.dark .efe-sheet{background:rgba(32,36,44,0.04)}html.oscuro .efe-paper.dark .efe-q:hover{background:rgba(32,36,44,0.04)}html.oscuro .efe-red{color:#eb8484!important}html.oscuro .efe-flic.on svg{fill:#f8bc77}html.oscuro .efe-kpi .warn b{color:#f8bc77}html.oscuro .fl-box{background:rgba(222,223,227,0.82)}html.oscuro .fl-fig img{background:#c8cad0}html.oscuro .fl-fig figcaption small{color:#3e4556}html.oscuro .fl-x{background:rgba(32,36,44,0.12)}html.oscuro .fl-x:hover{background:rgba(32,36,44,0.22)}html.oscuro .hx-ok{color:#84ebab}html.oscuro .hx-warn{color:#f8af77}html.oscuro .hx-bad{color:#eb8484}html.oscuro .hx-info{color:#7f9df0}html.oscuro .hx-err{color:#eb8484}html.oscuro .hzm-r.cob .hzm-a{color:#81eea9}html.oscuro .iap-res.ok{color:#87e9aa}html.oscuro .ld-chip{background:var(--bg2, #14171c)}html.oscuro .ld-chip.cl{background:#181134;color:#ad86e9}html.oscuro .ld-stats > div{background:var(--bg2, #191b22)}html.oscuro .ld-row:hover{background:var(--bg2, #191b22)}html.oscuro .ld-new{color:#8ae5ad}html.oscuro .lldesc-pop{background:var(--panel, #20242c)}html.oscuro .pbv-det summary{color:var(--accent, #7ca1f3)}html.oscuro .pbv-det pre{background:rgba(113,125,153,0.08)}html.oscuro .pj-late{color:#eb8484}html.oscuro .pj-today{color:#f8bc77}html.oscuro .pj-flag svg{color:#eb8484}html.oscuro .pj-now em{color:#eb8484}html.oscuro .pj-gb-r:hover{background:rgba(32,36,44,0.35)}html.oscuro .pj-det-s .danger{color:#eb8484}html.oscuro .call-fases li.cf-si b{color:#81eea9}html.oscuro .rot-link code{background:rgba(113,125,153,0.12)}html.oscuro .rot-tab th{border-bottom:1px solid var(--line, rgba(113,125,153,0.2))}html.oscuro .rot-tab td{border-bottom:1px solid var(--line, rgba(113,125,153,0.12))}html.oscuro .rot-bar{background:rgba(113,125,153,0.18)}html.oscuro .rot-src summary{color:var(--accent, #7ca1f3)}html.oscuro .rot-sum.ok{color:var(--ok, #81eea9)}html.oscuro .rot-sum.warn{color:var(--warn, #f8bc77)}html.oscuro .rot-camps{border-top:1px solid var(--line, rgba(113,125,153,0.15))}html.oscuro .tk-vact .btn.link.danger:hover{color:var(--danger,#ed8285)}html.oscuro .crit-stat .ok{color:#8ee1bd}html.oscuro .crit-stat .no{color:#ed8285}html.oscuro .tel-kpis div{background:var(--bg,#1b1e25)}html.oscuro .tel-pill.g{background:#1c542c;color:#87e9aa}html.oscuro .tel-pill.a{background:#57401d;color:#f8bd77}html.oscuro .tel-pill.r{background:#4e1f1a;color:#ea9085}html.oscuro .tel-pill.n{background:var(--soft,#14171c)}html.oscuro .tel-ley{background:#352912;border-color:#6e5625}html.oscuro .tpp-av.abierto{border-color:#36487e}html.oscuro .tpp-av.curso{background:#5f4820;color:#f8c577}html.oscuro .tpp-perf.g{background:#1c542c;color:#87e9aa}html.oscuro .tpp-perf.a{background:#57401d;color:#f8bd77}html.oscuro .tpp-perf.b{background:#0f172e;color:#889ce7}html.oscuro .tpp-perf.r{background:#4e1f1a;color:#ea9085}html.oscuro .tpp-perf.n{background:var(--soft,#14171c)}html.oscuro .tpp-es.hecho{color:#81eea9}html.oscuro .tpp-es.curso{color:#f8c477}html.oscuro .tpp-avisos{background:#312610;color:#f8c677}html.oscuro .tpp-tag{background:var(--soft,#14171c)}html.oscuro .tpp-esp{background:var(--bg,#1b1e25)}html.oscuro .tpp-niv.n3{background:#0f172e;color:#889ce7}html.oscuro .tpp-niv.n4{background:#57401d;color:#f8bd77}html.oscuro .tpp-niv.n1{background:#4e1f1a;color:#ea9085}html.oscuro .tpp-cons{background:var(--bg,#1b1e25)}html.oscuro .tpp-ag div{background:var(--bg,#1b1e25)}html.oscuro .tpp-es{background:var(--soft,#14171c)}html.oscuro .tpp-es.abierto{background:#0f172e;color:#889ce7}html.oscuro .tpp-es.curso{background:#57401d;color:#f8bd77}html.oscuro .tpp-es.hecho{background:#1c542c;color:#87e9aa}html.oscuro body .hzd-seg button.on{background:#20242c}html.oscuro body .hzd-h1{background:#141c3c}@media (max-width:760px){html.oscuro body.nav-open::after{background:rgba(211,213,217,0.3)}}html.oscuro body .dh-moves .dh-k.stage span{background:#20242c}html.oscuro body .drawer.wide .drawer-body>.chat{background:#20242c}html.oscuro .dw-si .dw-up{color:#f79d79}html.oscuro body .fp-sel,html.oscuro body .fp-sel.on{background-color:#20242c}html.oscuro body .fp-sel.miss{background-color:#362f12;color:#f3a97d}
/* v144 · Menú lateral de cristal con movimiento (se carga después de zz-*: manda sobre ellas)
   Fondo vivo detrás de la app · panel de cristal flotante · píldora azul con rebote · foco de luz
   · transición al cambiar de pantalla · contadores que laten y saltan · barra móvil de cristal.
   Quien tenga activado «reducir movimiento» en su ordenador lo ve todo quieto. */

:root{
  --cr-glass:rgba(255,255,255,.42);--cr-edge:rgba(255,255,255,.85);--cr-hi:rgba(255,255,255,.95);
  --cr-chip:rgba(255,255,255,.62);--cr-hover:rgba(255,255,255,.75);
  --cr-blue:#2B5CE6;--cr-violet:#5B4BE8;
  --cr-b1:rgba(43,92,230,.55);--cr-b2:rgba(124,58,237,.40);--cr-b3:rgba(249,115,22,.30);
  --cr-shadow:0 1px 0 var(--cr-hi) inset,0 24px 60px -28px rgba(16,24,40,.35),0 2px 8px -4px rgba(16,24,40,.08);
  --cr-spring:cubic-bezier(.34,1.56,.64,1);--cr-ease:cubic-bezier(.2,.8,.2,1);
}

/* ───────── Fondo vivo ───────── */
#app.shell{position:relative;isolation:isolate;background:radial-gradient(40vw 60vh at 0 100%,rgba(124,58,237,.22),transparent 70%),radial-gradient(30vw 40vh at 100% 0,rgba(43,92,230,.12),transparent 70%),#ECEEF4}
#app.shell::before,#app.shell::after{content:"";position:absolute;z-index:-1;pointer-events:none;border-radius:50%;filter:blur(60px)}
#app.shell::before{left:-14vw;top:-10vh;width:44vw;height:44vw;background:radial-gradient(circle,var(--cr-b1),transparent 68%),radial-gradient(circle at 70% 80%,var(--cr-b2),transparent 60%);animation:crA 22s ease-in-out infinite}
#app.shell::after{right:-10vw;bottom:-18vh;width:52vw;height:52vw;background:radial-gradient(circle,var(--cr-b3),transparent 66%),radial-gradient(circle at 20% 30%,var(--cr-b2),transparent 60%);animation:crB 28s ease-in-out infinite}
@keyframes crA{50%{transform:translate(9vw,10vh) scale(1.12)}}
@keyframes crB{50%{transform:translate(-10vw,-8vh) scale(.92)}}
#app .content{background:transparent}

/* ───────── Panel de cristal ───────── */
body #app .side{position:relative;margin:12px 0 12px 12px;flex-basis:240px;border-radius:20px;border:1px solid var(--cr-edge)!important;
  background:var(--cr-glass)!important;color:var(--ink)!important;backdrop-filter:blur(28px) saturate(170%);-webkit-backdrop-filter:blur(28px) saturate(170%);
  box-shadow:var(--cr-shadow);transition:flex-basis .5s var(--cr-ease),padding .5s var(--cr-ease);overflow:hidden}
body #app.mini .side{flex-basis:76px}
body #app.mini .side .nav-search{width:36px;height:36px;padding:0;justify-content:center;border-radius:10px;margin:0 auto}
body #app.mini .side .nav-search>:not(svg){display:none}
/* Foco de luz que sigue al ratón */
body #app .side::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;opacity:0;transition:opacity .35s;
  background:radial-gradient(220px circle at var(--mx,50%) var(--my,30%),rgba(255,255,255,.75),transparent 65%)}
body #app .side.lit::before{opacity:1}
body #app .side>*{position:relative;z-index:1}
body #app .side .nav-track{overflow-x:hidden}

/* Buscador y botones de arriba */
body #app .side .nav-search{background:var(--cr-chip)!important;border-color:transparent!important;border-radius:10px;transition:background .2s,transform .25s var(--cr-ease)}
body #app .side .nav-search:hover{background:var(--cr-hover)!important}
body #app .side .nav-srow>button:not(.nav-search){transition:transform .35s var(--cr-spring)}
body #app .side .nav-srow>button:not(.nav-search):hover{transform:scale(1.12)}
body #app .side-toggle{border-radius:8px;transition:transform .5s var(--cr-ease),background .2s}
body #app .side-toggle:hover{background:var(--cr-hover)!important}

/* Elementos del menú */
body #app .side .nav,body #app .side .ngh{border-radius:12px;transition:transform .25s var(--cr-ease),color .3s,background .2s}
body #app .side .nav:hover:not(.on),body #app .side .ngh:hover:not(.on){background:var(--cr-hover)!important;transform:translateX(3px)}
body #app.mini .side .nav:hover,body #app.mini .side .ngh:hover{transform:none}
body #app .side .nav svg,body #app .side .ngh .gi{transition:transform .4s var(--cr-spring)}
body #app .side .nav:hover svg,body #app .side .ngh:hover .gi{transform:scale(1.12) rotate(-5deg)}
body #app .side .ngh .chev{transition:transform .35s var(--cr-ease)}

/* Píldora azul: viaja con rebote */
body #app .side .nav-pill{border-radius:12px;background:linear-gradient(135deg,var(--cr-blue),var(--cr-violet));
  box-shadow:0 8px 20px -10px rgba(43,92,230,.65),0 1px 0 rgba(255,255,255,.35) inset;
  transition:transform .55s var(--cr-spring),height .35s var(--cr-ease),width .35s var(--cr-ease),opacity .25s}
body #app .side .nav-track .nav.on,body #app .side .nav-track .ngh.on{color:#fff!important;background:transparent!important}
body #app .side .nav-track .nav.on svg,body #app .side .nav-track .ngh.on svg{color:#fff}
body #app .side .nav-track .nav.on em:not(.b){color:rgba(255,255,255,.8)}
body #app .side .nav-track .nav.on em.b{background:rgba(255,255,255,.25)!important;color:#fff!important}
/* Ajustes va fuera de la pista: lleva su propia píldora */
body #app .side>.nav.on{background:linear-gradient(135deg,var(--cr-blue),var(--cr-violet))!important;color:#fff!important}
body #app .side>.nav.on em.b{background:rgba(255,255,255,.25)!important;color:#fff!important}

/* Contadores: la Bandeja late; cualquiera salta al cambiar */
body #app .side em.b{transition:background .3s,color .3s}
body #app .side #inboxBadge:not(.hidden){animation:crPulse 2.4s infinite}
body #app .side .nav.on #inboxBadge{animation:none}
body #app .side em.b.cr-bump{animation:crBump .5s var(--cr-spring)}
@keyframes crPulse{0%{box-shadow:0 0 0 0 rgba(234,88,12,.45)}70%{box-shadow:0 0 0 7px rgba(234,88,12,0)}100%{box-shadow:0 0 0 0 rgba(234,88,12,0)}}
@keyframes crBump{40%{transform:scale(1.35)}}

/* Entrada en cascada al abrir la app */
body #app .side.cr-in .nav-track>.nav,body #app .side.cr-in .nav-track>.ngrp,body #app .side.cr-in>.nav{animation:crSlide .5s var(--cr-ease) backwards;animation-delay:calc(var(--k,0)*40ms)}
@keyframes crSlide{from{opacity:0;transform:translateX(-12px)}}

/* Pie: tu perfil en una ficha de cristal */
body #app .side .me-row{background:var(--cr-chip);border-radius:14px;padding:8px}
body #app .side .me-row:hover,body #app .side .wa-pill:hover,body #app .side .queue-pill:hover{background:var(--cr-hover)!important}
body #app .side .nav-sep{background:rgba(22,24,29,.08)!important}
body #app.mini .side .me-row{background:transparent}

/* Menú flotante de grupos (modo solo iconos) */
body #navFly{background:var(--cr-glass);backdrop-filter:blur(24px) saturate(170%);-webkit-backdrop-filter:blur(24px) saturate(170%);border:1px solid var(--cr-edge);border-radius:14px;box-shadow:var(--cr-shadow)}
body #navFly.show{animation:crPop .35s var(--cr-spring)}
@keyframes crPop{from{opacity:0;transform:translateX(-6px) scale(.97)}}

/* ───────── Al cambiar de pantalla: la nueva entra por bloques ───────── */
.content>.sec.cr-enter>*{animation:crRise .5s var(--cr-ease) backwards;animation-delay:calc(var(--k,0)*55ms)}
@keyframes crRise{from{opacity:0;transform:translateY(12px)}}

/* ───────── Buscador ⌘K de cristal ───────── */
body .cmdk .cmdk-box{background:var(--cr-glass);backdrop-filter:blur(30px) saturate(170%);-webkit-backdrop-filter:blur(30px) saturate(170%);border:1px solid var(--cr-edge);border-radius:18px;box-shadow:var(--cr-shadow)}
body .cmdk:not(.hidden) .cmdk-box{animation:crDrop .45s var(--cr-spring)}
@keyframes crDrop{from{opacity:0;transform:translateY(-12px) scale(.97)}}

/* ───────── Móvil: barra de cristal flotante ───────── */
@media (max-width:760px){
  body #app .side{margin:0 10px calc(10px + env(safe-area-inset-bottom,0px));flex-basis:auto;border-radius:20px;height:64px}
  body #app .side .nav-pill{display:block!important;border-radius:14px}
  body #app .side .nav-track{position:relative}
  body #app .side .nav{border-radius:14px}
  body #app .side .nav:hover:not(.on){transform:none;background:transparent!important}
  body #app .side .nav.on{color:#fff!important}
  body #app .side .nav.on svg{animation:crIcon .5s var(--cr-spring)}
  body #app .side.cr-in .nav-track>.nav,body #app .side.cr-in .nav-track>.ngrp{animation:none}
  @keyframes crIcon{40%{transform:translateY(-3px) scale(1.12)}}
  body.nav-open #app .side{height:auto;border-radius:20px;background:rgba(255,255,255,.72)!important;border:1px solid var(--cr-edge)!important}
  body.nav-open #app .side .nav-pill{display:none!important}
  body.nav-open #app .side .nav.on{background:linear-gradient(135deg,var(--cr-blue),var(--cr-violet))!important}
  body.nav-open #app .side{animation:crUp .4s var(--cr-spring)}
  @keyframes crUp{from{opacity:.4;transform:translateY(16px)}}
  #app.shell::before{width:90vw;height:90vw}
  #app.shell::after{width:100vw;height:100vw}
}

@media (prefers-reduced-motion:reduce){
  #app.shell::before,#app.shell::after,body #app .side em.b,.content>.sec.cr-enter>*,body #app .side.cr-in *,body .cmdk .cmdk-box,body #navFly{animation:none!important}
  body #app .side,body #app .side *{transition:none!important}
}

/* ───────── Botón claro / oscuro (junto a tu perfil) ───────── */
body #app .side-foot{position:relative}
body #app .side .tema-btn{position:absolute;right:8px;bottom:12px;z-index:2;width:32px;height:32px;border:0;border-radius:10px;background:var(--cr-chip);color:var(--ink);display:grid;place-items:center;cursor:pointer;transition:transform .45s var(--cr-spring),background .2s}
body #app .side .tema-btn:hover{background:var(--cr-hover);transform:rotate(-20deg) scale(1.08)}
body #app .side .tema-btn svg{width:16px;height:16px;grid-area:1/1;transition:opacity .3s,transform .5s var(--cr-spring)}
body #app .side .tema-btn .t-luna{opacity:1}
body #app .side .tema-btn .t-sol{opacity:0;transform:rotate(-90deg) scale(.5)}
html.oscuro body #app .side .tema-btn .t-luna{opacity:0;transform:rotate(90deg) scale(.5)}
html.oscuro body #app .side .tema-btn .t-sol{opacity:1;transform:none}
body #app.mini .side .tema-btn{position:static;margin:0 auto}
@media (max-width:760px){body #app .side .tema-btn{display:none}body.nav-open #app .side .tema-btn{display:grid;position:static;margin:auto}}
html.tema-cambio,html.tema-cambio *{transition:background-color .45s ease,border-color .45s ease,color .3s ease!important}

/* ───────── Modo oscuro (por defecto) ───────── */
html.oscuro{color-scheme:dark;
  --cr-glass:rgba(22,26,36,.52);--cr-edge:rgba(255,255,255,.09);--cr-hi:rgba(255,255,255,.07);
  --cr-chip:rgba(255,255,255,.06);--cr-hover:rgba(255,255,255,.10);
  --cr-b1:rgba(43,92,230,.50);--cr-b2:rgba(124,58,237,.40);--cr-b3:rgba(234,88,12,.28);
  --cr-shadow:0 1px 0 var(--cr-hi) inset,0 24px 60px -24px rgba(0,0,0,.7)}
html.oscuro #app.shell{background:radial-gradient(40vw 60vh at 0 100%,rgba(124,58,237,.20),transparent 70%),radial-gradient(30vw 40vh at 100% 0,rgba(43,92,230,.14),transparent 70%),#0A0C11}
html.oscuro body #app .side{color:#E7E9EE!important}
html.oscuro body #app .side .nav-sep{background:rgba(255,255,255,.08)!important}
html.oscuro body #app .side::before{background:radial-gradient(220px circle at var(--mx,50%) var(--my,30%),rgba(124,140,255,.16),transparent 65%)}
html.oscuro body #app .side .nav,html.oscuro body #app .side .ngh{color:#C9CDD6}
html.oscuro body #app .side .ngh{color:#8A93A6}
html.oscuro body #app .side .nav-search{color:#98A2B3!important}
html.oscuro body #app .side .tema-btn{color:#E7E9EE}
html.oscuro body.nav-open #app .side{background:rgba(22,26,36,.85)!important}
/* Restos de color fijo que vienen del código (no de los estilos) */
html.oscuro .ev{background:color-mix(in srgb,var(--c,#52525B) 22%,#171a21)!important}
html.oscuro .pi.sq[title="Pide replay"]{background:#4a1d33!important;color:#F9A8D4!important}
html.oscuro .pi.sq[title="VIP"]{background:#45320f!important;color:#FCD34D!important}
html.oscuro .sw[style*="#D4D4D0"],html.oscuro i[style*="#D4D4D0"]{background:#5b6170!important}
html.oscuro img[style*="background:#fff"]{background:#fff!important}
/* v181 · Barra de llamada (modulos/telefonia.js). Va en zzz- para que el modo oscuro automático no la invierta: es oscura en los dos temas. */
.tel-bar{position:fixed;right:20px;bottom:20px;z-index:9999;width:340px;max-width:calc(100vw - 32px);display:flex;flex-direction:column;gap:12px;padding:14px;border-radius:16px;background:#141821;color:#EEF1F6;box-shadow:0 18px 48px rgba(0,0,0,.35);font-size:13px}
.tel-bar .btn{border-color:#2E3647;color:#EEF1F6;background:transparent}
.tel-bar .btn.ghost{color:#B7BFCE}
.tel-h{display:flex;align-items:center;gap:10px}
.tel-av{width:40px;height:40px;flex:none;border-radius:50%;background:#2A3347;display:grid;place-items:center;font-style:normal;font-weight:700;font-size:13px}
.tel-bar.on .tel-av{background:#16A34A}.tel-bar.ring .tel-av{background:#3B63F3;animation:tel-ring 1s infinite}
@keyframes tel-ring{50%{box-shadow:0 0 0 8px rgba(59,99,243,.3)}}
.tel-who{display:flex;flex-direction:column;min-width:0;flex:1}.tel-who b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tel-who small{color:#9AA3B5;font-size:11px}
.tel-st{font-size:12px;color:#C9D0DD;text-align:right;white-space:nowrap}
.tel-acts{display:flex;gap:8px}.tel-acts .tel-no{margin-left:auto}
.tel-bar .tel-no{background:#DC4A3A;border-color:#DC4A3A;color:#fff;font-weight:700}
.tel-bar .tel-ok{background:#16A34A;border-color:#16A34A;color:#fff;font-weight:700;flex:1}
.tel-out{display:flex;flex-direction:column;gap:8px}.tel-out>span{font-weight:600}
.tel-out>div{display:flex;flex-wrap:wrap;gap:6px}
@media (prefers-reduced-motion:reduce){.tel-bar.ring .tel-av{animation:none}}
#telBar.tel-bar{background:#141821!important;color:#EEF1F6!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border:1px solid #2A3242}
#telBar .tel-who b{color:#fff}
#telBar .btn{background:#1F2533!important;color:#EEF1F6!important;border:1px solid #2E3647!important}
#telBar .btn.tel-no{background:#DC4A3A!important;border-color:#DC4A3A!important;color:#fff!important}
#telBar .btn.tel-ok{background:#16A34A!important;border-color:#16A34A!important;color:#fff!important}
#telBar .btn.ghost{background:transparent!important;color:#B7BFCE!important}
