/* CRM — claro, violeta/rosa, navegación superior, formas redondeadas */
:root { --bg: #f4f1ff; --surface: #ffffff; --surface-2: #faf8ff; --line: #e6e0fa; --text: #1e1b3a; --muted: #6e6a8f; --accent: #7c3aed; --accent-hover: #6d28d9; --accent-2: #ec4899; }
body { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; background: radial-gradient(60rem 30rem at 85% -10%, rgba(236,72,153,.14), transparent), radial-gradient(50rem 28rem at 0% 0%, rgba(124,58,237,.12), transparent), var(--bg); background-attachment: fixed; }
h1, h2, h3, h4, .brand { font-family: 'Plus Jakarta Sans', sans-serif; }

.app { grid-template-columns: minmax(0, 1fr); }
.side { position: sticky; top: 0; z-index: 20; height: auto; flex-direction: row; align-items: center; gap: .4rem; padding: .75rem 2rem; background: rgba(255,255,255,.85); backdrop-filter: blur(14px); border-right: 0; border-bottom: 1px solid var(--line); }
.brand { padding: 0 1.5rem 0 0; font-size: 1.2rem; font-weight: 800; }
.brand .logo { background: linear-gradient(135deg, #7c3aed, #ec4899); color: #fff; border-radius: 50%; }
.side button.nav { border-radius: 9999px; padding: .55rem 1.1rem; font-weight: 600; }
.side button.nav.active { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(124,58,237,.35); }
.side .grow { display: block; flex: 1; }
.side .user { border: 0; padding: 0; }
.main { max-width: 84rem; margin: 0 auto; padding: 2rem; }
.top h1 { font-size: 2rem; }

.card, .col-k { border-radius: 1.5rem; box-shadow: 0 10px 34px rgba(124,58,237,.08); border-color: transparent; }
.kanban { grid-template-columns: repeat(4, minmax(15rem, 1fr)); gap: 1.1rem; }
.col-k { background: rgba(255,255,255,.6); border-top: 5px solid; }
.col-k:nth-child(1) { border-top-color: #38bdf8; } .col-k:nth-child(2) { border-top-color: #f59e0b; }
.col-k:nth-child(3) { border-top-color: #7c3aed; } .col-k:nth-child(4) { border-top-color: #10b981; }
.deal { background: #fff; border-radius: 1.1rem; box-shadow: 0 4px 14px rgba(30,27,58,.07); border-color: transparent; }
.deal:hover { border-color: var(--accent); box-shadow: 0 10px 24px rgba(124,58,237,.18); }
.btn { background: linear-gradient(135deg, #7c3aed, #ec4899); border-radius: 9999px; box-shadow: 0 8px 20px rgba(124,58,237,.3); }
.btn:hover { background: linear-gradient(135deg, #6d28d9, #db2777); }
.stat .value { background: linear-gradient(135deg, #7c3aed, #ec4899); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.bars .bar { background: linear-gradient(to top, #ddd6fe, #7c3aed); border-radius: .7rem .7rem 0 0; }
.search { border-radius: 9999px; }
.avatar { background: linear-gradient(135deg, #ddd6fe, #fbcfe8); border-color: transparent; color: #5b21b6; }
@media (max-width: 1000px) { .side { padding: .6rem 1rem; position: static; } .main { padding: 1.25rem 1rem 6rem; } .top h1 { font-size: 1.5rem; } }

/* tableros del CRM */
.tabsb .tb { background: none; border: 1px solid var(--line); color: var(--muted); padding: .45rem 1rem; border-radius: 9999px; font-size: .82rem; font-weight: 600; cursor: pointer; font-family: inherit; }
.tabsb .tb.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.tabsb .tb:disabled { cursor: default; }
