:root{--ink: #111827;--muted: #4B5563;--line: #E5E7EB;--bg: #F5F6F8;--accent: #2563EB;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0}a{color:var(--accent);font-weight:600;font-size:13px}h1{margin:0;font-size:26px;letter-spacing:-.02em}h2{margin:0;font-size:16px}p{margin:0}input,textarea{font:inherit;font-size:14px;color:var(--ink);border:1px solid #D1D5DB;border-radius:10px;padding:10px 12px;min-height:44px;background:#fff}fieldset{border:0;margin:0;padding:0}.shell{display:flex;flex-wrap:wrap;min-height:100vh}.main{flex:999 1 560px;min-width:0;padding:32px;display:flex;flex-direction:column;gap:24px}.sidebar{flex:1 1 240px;background:#111827;color:#f9fafb;padding:24px 16px;display:flex;flex-direction:column;gap:24px}.brand{display:flex;flex-direction:column;padding:0 12px}.brand strong{font-size:18px}.brand span{font-size:12px;color:#9ca3af}.client-switch{display:flex;justify-content:space-between;align-items:center;background:#1f2937;border:1px solid #374151;color:#f9fafb;border-radius:10px;padding:10px 12px;font:inherit;font-weight:600;min-height:44px;cursor:pointer;text-align:left}.client-switch small{display:block;font-size:11px;color:#9ca3af;font-weight:400}.nav{display:flex;flex-direction:column;gap:4px}.nav a{color:#d1d5db;text-decoration:none;padding:10px 12px;border-radius:8px;font-size:14px;font-weight:500}.nav a.active{background:#1f2937;color:#fff;font-weight:600}.accounts{display:flex;flex-direction:column;gap:10px;padding:0 12px;color:#d1d5db}.eyebrow{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#9ca3af}.demo-banner{align-self:flex-start;font-size:12px;font-weight:600;color:#92400e;background:#fef3c7;border-radius:999px;padding:4px 10px}.page-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px}.card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:12px;min-width:0}.card-head{display:flex;justify-content:space-between;align-items:center}.grid{display:grid;gap:16px}.kpis{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.two{grid-template-columns:repeat(auto-fit,minmax(340px,1fr))}.kpi{display:flex;flex-direction:column;gap:6px}.kpi span{font-size:13px;color:var(--muted)}.kpi strong{font-size:30px;letter-spacing:-.02em}.row{display:flex;align-items:center;gap:8px}.wrap{flex-wrap:wrap}.between{justify-content:space-between}.end{justify-content:flex-end}.stack{display:flex;flex-direction:column;gap:8px}.stack.lg{gap:20px}.small{font-size:13px}.muted{color:var(--muted)}.strong{font-weight:600}.label{font-size:13px;font-weight:600}.dot{display:inline-block;border-radius:50%;flex:none}.bar{height:8px;background:#f3f4f6;border-radius:999px;margin-top:6px}.bar div{height:8px;border-radius:999px}.list-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--line)}.pill{font-size:12px;font-weight:600;border-radius:999px;padding:3px 10px;white-space:nowrap}.pill-blue{color:#1e40af;background:#dbeafe}.pill-amber{color:#92400e;background:#fef3c7}.pill-green{color:#065f46;background:#d1fae5}.pill-red{color:#991b1b;background:#fee2e2}.pill-grey{color:#374151;background:#f3f4f6}.pill-purple{color:#5b21b6;background:#ede9fe}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:10px;border:1px solid #D1D5DB;background:#fff;color:var(--ink);font:inherit;font-size:14px;font-weight:600;cursor:pointer;text-decoration:none}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}.btn.sm{min-height:36px;font-size:13px;padding:0 12px}.btn.purple{border-color:#7c3aed;color:#5b21b6}.chip{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border-radius:999px;border:1px solid #D1D5DB;background:#f9fafb;font:inherit;font-size:14px;color:var(--muted);cursor:pointer}.chip.on{border:2px solid var(--ink);background:#fff;color:var(--ink);font-weight:600}.tab{min-height:36px;padding:0 12px;border-radius:8px;border:1px solid #D1D5DB;background:#fff;font:inherit;font-size:13px;cursor:pointer}.tab.on{background:var(--ink);color:#fff;border-color:var(--ink)}.split{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start}.split>:first-child{flex:3 1 520px}.split>:last-child{flex:2 1 320px}.thumb{width:96px;height:96px;border-radius:10px;background:#dbeafe;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;color:#1e3a8a}.thumb.add{background:#f9fafb;border:2px dashed #D1D5DB;color:var(--muted);font:inherit;cursor:pointer}.notice{background:#eff6ff;border:1px solid #BFDBFE;border-radius:10px;padding:10px 12px;font-size:14px}.preview{border:1px solid var(--line);border-radius:12px;overflow:hidden}.preview>.row{padding:12px}.preview p{padding:12px;font-size:14px;line-height:1.5}.avatar{width:32px;height:32px;border-radius:50%;background:#e0e7ff}.preview-img{aspect-ratio:1;background:#dbeafe;display:flex;align-items:center;justify-content:center;color:#1e3a8a;font-weight:600}.month{font-size:18px;padding:0 8px}.cal-wrap{overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:12px}.cal{min-width:860px;display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.cal-head{padding:10px 12px;font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase}.cal-cell{min-height:120px;padding:8px;border-top:1px solid var(--line);border-left:1px solid var(--line);display:flex;flex-direction:column;gap:6px;min-width:0}.cal-cell.empty{background:#f9fafb}.cal-cell.today{background:#eff6ff}.cal-num{font-size:13px;font-weight:600}.cal-chip{display:flex;align-items:center;gap:6px;font-size:12px;border:1px solid var(--line);border-radius:6px;padding:4px 6px;min-width:0}.ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}.inbox{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start}.filters{flex:1 1 180px;padding:12px;gap:4px}.filters button{min-height:44px;text-align:left;padding:0 12px;border-radius:8px;border:0;background:transparent;font:inherit;font-size:14px;cursor:pointer}.filters button.on{background:#e0e7ff;font-weight:600}.list{flex:2 1 320px;padding:0;gap:0;overflow:hidden}.msg{display:flex;flex-direction:column;gap:6px;text-align:left;padding:14px 16px;border:0;border-bottom:1px solid var(--line);background:#fff;font:inherit;cursor:pointer;color:var(--ink)}.msg.on{background:#eff6ff}.detail{flex:2 1 420px;gap:16px}.bubble{align-self:flex-start;max-width:85%;background:#f3f4f6;border-radius:14px 14px 14px 4px;padding:12px 14px;font-size:14px;line-height:1.5}.success{display:flex;flex-direction:column;gap:4px;background:#ecfdf5;border:1px solid #A7F3D0;border-radius:10px;padding:14px;color:#065f46;font-size:13px}select{font:inherit;font-size:14px;color:var(--ink);border:1px solid #D1D5DB;border-radius:10px;padding:0 12px;min-height:44px;background:#fff}button:disabled{opacity:.5;cursor:not-allowed}.main{overflow-x:hidden}.grow{flex:1 1 200px}.tight{gap:4px}.stack.tight{gap:2px}.ink{color:var(--ink)}.error{color:#b91c1c}.clamp{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.switch-wrap{position:relative}.menu{position:absolute;z-index:30;top:calc(100% + 6px);left:0;right:0;background:#fff;color:var(--ink);border-radius:10px;box-shadow:0 10px 30px #00000040;padding:6px;display:flex;flex-direction:column}.menu button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;border:0;background:none;padding:10px;border-radius:8px;font:inherit;font-size:14px;cursor:pointer;min-height:44px}.menu button small{color:var(--muted);font-size:12px}.menu button.on{background:#eff6ff;font-weight:600}.menu button:hover{background:#f3f4f6}.menu .add{color:var(--accent);font-weight:600;border-top:1px solid var(--line);border-radius:0 0 8px 8px}.nav a{display:flex;align-items:center;justify-content:space-between}.badge{background:#2563eb;color:#fff;font-size:12px;font-weight:600;border-radius:999px;padding:1px 8px}.warn{color:#fca5a5;font-weight:700}.segmented{display:inline-flex;border:1px solid #D1D5DB;border-radius:10px;overflow:hidden;background:#fff}.segmented button{min-height:40px;padding:0 14px;border:0;background:none;font:inherit;font-size:13px;cursor:pointer;color:var(--muted)}.segmented button+button{border-left:1px solid #E5E7EB}.segmented button.on{background:var(--ink);color:#fff;font-weight:600}.as-button{width:100%;background:none;border-left:0;border-right:0;border-bottom:0;font:inherit;color:inherit;text-align:left;cursor:pointer}.as-button:hover{background:#f9fafb}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#11182773;z-index:50;display:flex;align-items:flex-start;justify-content:center;padding:6vh 16px;overflow-y:auto}.modal{background:#fff;border-radius:14px;width:min(560px,100%);box-shadow:0 20px 50px #0000004d;display:flex;flex-direction:column}.modal.wide{width:min(980px,100%)}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid var(--line)}.modal-head h2{font-size:18px}.modal-body{padding:20px;display:flex;flex-direction:column;gap:14px}.modal-foot{padding:14px 20px;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.icon-btn{width:40px;height:40px;border-radius:8px;border:0;background:none;cursor:pointer;display:grid;place-items:center;color:var(--muted)}.icon-btn:hover{background:#f3f4f6}.toasts{position:fixed;right:20px;bottom:20px;z-index:60;display:flex;flex-direction:column;gap:8px}.toast{background:#111827;color:#fff;padding:12px 16px;border-radius:10px;font-size:14px;display:flex;gap:14px;align-items:center;box-shadow:0 8px 24px #00000040;max-width:380px}.toast a{color:#93c5fd}.empty{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:8px 0}.btn.danger{background:#dc2626;border-color:#dc2626;color:#fff}.danger-text{color:#b91c1c;margin-right:auto}.btn.ghost-green{color:#047857;border-color:#a7f3d0;background:#ecfdf5}.chip-static{display:inline-flex;align-items:center;gap:6px;font-size:13px;background:#f3f4f6;border-radius:999px;padding:4px 10px}.caption{white-space:pre-line;font-size:14px;line-height:1.55}.post-media{width:100%;max-height:260px;object-fit:cover;border-radius:10px}.small-img{aspect-ratio:auto;height:140px;border-radius:10px}.metric-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:8px}.metric-row div{background:#f9fafb;border-radius:10px;padding:10px;display:flex;flex-direction:column}.metric-row strong{font-size:18px}.metric-row span{font-size:12px;color:var(--muted)}.note{background:#f9fafb;border:1px solid var(--line);border-radius:10px;padding:10px 12px;font-size:14px}.inline-form{align-items:flex-end;background:#f9fafb;padding:12px;border-radius:10px}.ideas{background:#f5f3ff;border-radius:10px;padding:12px}.idea{text-align:left;background:#fff;border:1px solid #DDD6FE;border-radius:8px;padding:10px 12px;font:inherit;font-size:14px;line-height:1.5;cursor:pointer}.idea:hover{border-color:#7c3aed}.thumb{object-fit:cover}.thumb-x{position:absolute;top:-8px;right:-8px;width:28px;height:28px;border-radius:50%;border:0;background:#111827;color:#fff;cursor:pointer;font-size:16px}label.thumb.add{cursor:pointer;display:flex;align-items:center;justify-content:center}.preview-media{width:100%;aspect-ratio:1;object-fit:cover;display:block}.preview-actions{padding:10px 12px;border-top:1px solid var(--line)}.filter{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border-radius:999px;border:1px solid #D1D5DB;background:#fff;font:inherit;font-size:13px;cursor:pointer}.filter.on{background:var(--ink);color:#fff;border-color:var(--ink)}.add-day{width:28px;height:28px;border-radius:6px;border:1px dashed transparent;background:none;color:var(--muted);cursor:pointer;font-size:16px}.cal-cell:hover .add-day,.add-day:focus{border-color:#d1d5db;background:#fff}.cal-chip{background:#fff;cursor:pointer;font:inherit;font-size:12px;text-align:left;width:100%;flex-direction:column;align-items:stretch;gap:2px}.nowrap{white-space:nowrap}.cal-chip:hover{border-color:#93c5fd}.cal-chip.s-pending_approval{background:#fffbeb;border-color:#fde68a}.cal-chip.s-published{background:#f3f4f6}.cal-chip.s-draft{border-style:dashed}.legend{gap:16px}.swatch{width:14px;height:10px;border-radius:3px;border:1px solid #E5E7EB;display:inline-block}.swatch.s-scheduled{background:#fff}.swatch.s-pending_approval{background:#fffbeb;border-color:#fde68a}.swatch.s-published{background:#f3f4f6}.swatch.s-draft{border-style:dashed}.week-day.today{border-color:#93c5fd;background:#f8fbff}.filters input{margin-bottom:6px}.filters button{display:flex;justify-content:space-between;align-items:center}.thread{display:flex;flex-direction:column;gap:8px}.bubble{display:flex;flex-direction:column;gap:4px}.bubble span{font-size:11px;color:var(--muted)}.bubble.us{align-self:flex-end;background:#dbeafe;border-radius:14px 14px 4px}.board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,1fr);gap:12px;overflow-x:auto;padding-bottom:8px}.col{background:#eef0f3;border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:8px;min-height:300px}.col-head{display:flex;flex-direction:column;gap:2px;padding:4px 4px 6px}.lead-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:4px;text-align:left;font:inherit;cursor:grab;color:var(--ink)}.lead-card:hover{border-color:#93c5fd}.lead-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}.facts{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;margin:0;font-size:14px}.facts dt{color:var(--muted)}.facts dd{margin:0;font-weight:500}.timeline{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px;max-height:420px;overflow-y:auto}.timeline li{display:flex;gap:10px}.timeline p{margin:0 0 2px;font-size:14px;line-height:1.45}.tl-type{flex:none;font-size:11px;font-weight:600;border-radius:6px;padding:2px 8px;height:fit-content;background:#f3f4f6;color:#374151}.t-call{background:#dbeafe;color:#1e40af}.t-social{background:#fce7f3;color:#9d174d}.t-stage{background:#ede9fe;color:#5b21b6}.t-whatsapp{background:#d1fae5;color:#065f46}.call{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}.call .stack{align-self:stretch;text-align:left}.call-num{font-size:26px;font-weight:700;letter-spacing:.02em}.call-live{color:#b91c1c;font-weight:600}.funnel{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px}.trend{width:100%;height:160px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:14px}th{text-align:left;font-size:12px;color:var(--muted);font-weight:600;padding:8px}td{padding:12px 8px;border-top:1px solid var(--line)}.num{text-align:right}label.check{min-height:44px;font-size:14px}label.check input{width:18px;height:18px;min-height:0}.list .msg:last-child{border-bottom:0}@media (max-width: 760px){.main{padding:16px}.sidebar{flex-basis:100%;padding:12px;gap:12px}.nav{flex-direction:row;overflow-x:auto;gap:4px;padding-bottom:4px}.nav a{white-space:nowrap;flex:none}.accounts,.brand span{display:none}.toasts{left:12px;right:12px;bottom:12px}}.login{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card{width:min(400px,100%);gap:14px}.login-card h1{font-size:22px}.login-brand{font-size:20px}.target-row{border-top:1px solid var(--line);padding-top:8px}.sidebar .signout{margin-top:auto;color:#9ca3af;background:none;border:0;font:inherit;font-size:13px;text-align:left;padding:0 12px;cursor:pointer;min-height:36px}.live-pill{font-size:11px;font-weight:600;color:#065f46;background:#d1fae5;border-radius:999px;padding:2px 8px;margin-left:6px}.kpis6{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.delta{font-style:normal;font-size:12px;color:var(--muted)}.delta.up{color:#047857;font-weight:600}.delta.down{color:#b91c1c;font-weight:600}.trend.tall{height:220px}input[type=date]{min-height:44px}.code{background:#f3f4f6;border-radius:8px;padding:10px 12px;font-size:12px;white-space:pre-wrap;margin:0}code{background:#f3f4f6;border-radius:4px;padding:1px 5px;font-size:12px}.menu-row{display:flex;align-items:center;gap:4px}.menu-row>button[role=menuitem]{flex:1;min-width:0}.menu .menu-remove{flex:none;flex-direction:row;min-height:32px;padding:6px 10px;font-size:12px;color:#b91c1c;border-radius:6px}.menu .menu-remove:hover{background:#fef2f2}.linklike{background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer;text-align:inherit}.linklike:hover{text-decoration:underline}tr.clickable{cursor:pointer}tr.clickable:hover td{background:#f8fafc}table.heat{border-collapse:separate;border-spacing:2px;width:100%;table-layout:fixed}table.heat td{height:18px;border-radius:3px;padding:0;border:0}table.heat th{padding:0 4px 0 0;border:0;font-weight:500;text-align:left;width:34px}table.heat thead th{text-align:center;width:auto;font-weight:400}.wa-chat{display:grid;grid-template-columns:320px 1fr;gap:16px;align-items:start}.wa-list{display:flex;flex-direction:column;gap:8px;max-height:76vh;overflow:auto}.wa-thread{display:flex;flex-direction:column;gap:12px;min-height:60vh}.wa-msgs{flex:1;max-height:55vh;overflow:auto}.wa-list .badge{background:#1da851;color:#fff;border-radius:999px;padding:0 7px;font-size:12px}@media (max-width: 860px){.wa-chat{grid-template-columns:1fr}}.wa-in-inbox{flex:4 1 760px;min-width:0}.wa-panel{width:100%}.thumb-wrap{position:relative}.thumb-n{position:absolute;top:4px;left:4px;background:#111827bf;color:#fff;font-size:11px;border-radius:999px;min-width:18px;height:18px;display:grid;place-items:center;padding:0 5px;z-index:1}.thumb-move{position:absolute;bottom:4px;left:50%;transform:translate(-50%);display:flex;gap:4px;z-index:1}.thumb-move button{border:0;background:#ffffffeb;border-radius:6px;font-size:11px;padding:2px 6px;cursor:pointer;min-height:24px}.thumb-move button:disabled{opacity:.35;cursor:default}.preview-carousel{position:relative}.pc-count{position:absolute;top:8px;right:8px;background:#111827b3;color:#fff;font-size:12px;border-radius:999px;padding:2px 8px}.pc-nav{position:absolute;top:50%;transform:translateY(-50%);width:32px;height:32px;border-radius:50%;border:0;background:#ffffffeb;font-size:20px;line-height:1;cursor:pointer;box-shadow:0 1px 3px #0003}.pc-nav.left{left:8px}.pc-nav.right{right:8px}.pc-nav:disabled{opacity:0;pointer-events:none}.pc-dots{position:absolute;bottom:10px;left:0;right:0;display:flex;justify-content:center;gap:5px}.pc-dots i{width:6px;height:6px;border-radius:50%;background:#fff9}.pc-dots i.on{background:#fff}.cover-thumb{width:120px;height:68px;object-fit:cover}
