@charset "UTF-8";

/* src/styles.scss */
:root,
[data-theme=light] {
  --brand: #001bcc;
  --brand-600: #0028e8;
  --brand-700: #0019b8;
  --brand-50: #eef0ff;
  --brand-100: #dde2ff;
  --accent-green: #6ab928;
  --accent-cyan: #00a3e0;
  --ink-1: #0b1024;
  --ink-2: #2a3050;
  --ink-3: #525a7a;
  --ink-4: #7a8298;
  --ink-5: #aab1c4;
  --bg: #fcfcfd;
  --surface: #ffffff;
  --surface-2: #f6f7fb;
  --surface-3: #eef0f6;
  --border: #e6e8f0;
  --border-strong: #d3d7e3;
  --success: #16a34a;
  --success-bg: #e7f8ec;
  --warning: #d97706;
  --warning-bg: #fff4e2;
  --danger: #dc2626;
  --danger-bg: #fde8e8;
  --info: #0284c7;
  --info-bg: #e0f2fe;
  --stage-nuevo: #6b7280;
  --stage-asignado: #0284c7;
  --stage-contactado: #0ea5e9;
  --stage-cotizacion: #8b5cf6;
  --stage-negociacion: #d97706;
  --stage-contratado: #16a34a;
  --stage-perdido: #dc2626;
  --font-sans:
    "Geist",
    "Plus Jakarta Sans",
    -apple-system,
    system-ui,
    sans-serif;
  --font-mono:
    "Geist Mono",
    "JetBrains Mono",
    ui-monospace,
    monospace;
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --shadow-xs: 0 1px 2px rgba(12, 16, 36, 0.04);
  --shadow-sm: 0 1px 3px rgba(12, 16, 36, 0.06), 0 1px 2px rgba(12, 16, 36, 0.04);
  --shadow-md: 0 4px 12px rgba(12, 16, 36, 0.06), 0 2px 4px rgba(12, 16, 36, 0.04);
  --shadow-lg: 0 12px 32px rgba(12, 16, 36, 0.08), 0 4px 8px rgba(12, 16, 36, 0.04);
  --row-h: 44px;
  --cell-pad-y: 12px;
  --cell-pad-x: 14px;
}
[data-theme=dark] {
  --brand: #4b62ff;
  --brand-600: #6478ff;
  --brand-700: #3a52f0;
  --brand-50: #14193a;
  --brand-100: #1d2553;
  --ink-1: #f4f6ff;
  --ink-2: #d8dcec;
  --ink-3: #a8aec8;
  --ink-4: #828aa8;
  --ink-5: #5a627c;
  --bg: #0a0d1e;
  --surface: #11152a;
  --surface-2: #161b32;
  --surface-3: #1d2340;
  --border: #232a47;
  --border-strong: #2e365a;
  --success-bg: #062a16;
  --warning-bg: #2a1c06;
  --danger-bg: #2a0d0d;
  --info-bg: #062236;
}
[data-density=compact] {
  --row-h: 36px;
  --cell-pad-y: 8px;
  --cell-pad-x: 10px;
}
* {
  box-sizing: border-box;
}
html,
body,
app-root {
  height: 100%;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-feature-settings: "cv11", "ss01";
  background: var(--bg);
  color: var(--ink-1);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
input,
button,
select,
textarea {
  font-family: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
a {
  color: var(--brand);
  text-decoration: none;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 10px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--ink-5);
}
.mono {
  font-family: var(--font-mono);
  font-feature-settings: "tnum";
}
.tnum {
  font-variant-numeric: tabular-nums;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink-1);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
  white-space: nowrap;
}
.btn:hover {
  background: var(--surface-2);
  border-color: var(--ink-5);
}
.btn.primary {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}
.btn.primary:hover {
  background: var(--brand-600);
  border-color: var(--brand-600);
}
.btn.ghost {
  border-color: transparent;
  background: transparent;
}
.btn.ghost:hover {
  background: var(--surface-2);
}
.btn.sm {
  padding: 5px 10px;
  font-size: 12.5px;
}
.btn.icon {
  padding: 8px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  background: var(--surface-3);
  color: var(--ink-2);
  border: 1px solid var(--border);
}
.pill.dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}
.kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  color: var(--ink-3);
}
.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.tbl th {
  text-align: left;
  font-weight: 500;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-4);
  padding: 10px var(--cell-pad-x);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 1;
}
.tbl td {
  padding: var(--cell-pad-y) var(--cell-pad-x);
  border-bottom: 1px solid var(--border);
  color: var(--ink-2);
  vertical-align: middle;
}
.tbl tr:hover td {
  background: var(--surface-2);
}
.tbl tr:last-child td {
  border-bottom: 0;
}
input[type=text],
input[type=email],
input[type=password],
input[type=number],
input[type=search],
input[type=date],
select,
textarea {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  padding: 9px 12px;
  font-size: 13.5px;
  color: var(--ink-1);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-50);
}
label.field {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 6px;
  font-weight: 500;
}
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: white;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
.skel {
  background:
    linear-gradient(
      90deg,
      var(--surface-2) 0%,
      var(--surface-3) 50%,
      var(--surface-2) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
  border-radius: 4px;
}
.demo-banner {
  background:
    linear-gradient(
      90deg,
      var(--brand) 0%,
      var(--brand-700) 100%);
  color: white;
  font-size: 12.5px;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}
[data-tip] {
  position: relative;
}
[data-tip]:hover::after {
  content: attr(data-tip);
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink-1);
  color: var(--surface);
  padding: 5px 9px;
  font-size: 11.5px;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 100;
  pointer-events: none;
  box-shadow: var(--shadow-md);
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 16, 36, 0.45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal {
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow: auto;
  box-shadow: var(--shadow-lg);
}
.modal-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-body {
  padding: 22px;
}
.modal-footer {
  padding: 14px 22px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: sticky;
  top: 0;
}
.sidebar .brand-row {
  padding: 18px 18px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}
.sidebar .brand-row .logo {
  width: 26px;
  height: 26px;
}
.sidebar .brand-row .name {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.sidebar .nav {
  padding: 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  overflow-y: auto;
}
.sidebar .nav-group-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-5);
  padding: 14px 10px 4px;
  font-weight: 600;
}
.sidebar .nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
  cursor: pointer;
  border: 0;
  background: transparent;
  text-align: left;
  width: 100%;
  font-weight: 450;
  transition: background 0.12s, color 0.12s;
}
.sidebar .nav-item:hover {
  background: var(--surface-2);
}
.sidebar .nav-item.nav-child {
  margin-left: 12px;
  padding-left: 16px;
  border-left: 1px solid var(--border);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.sidebar .nav-item.nav-child.active {
  border-left-color: var(--brand);
}
.sidebar .nav-item.active {
  background: var(--brand-50);
  color: var(--brand);
  font-weight: 550;
}
.sidebar .nav-item .badge {
  margin-left: auto;
  background: var(--brand);
  color: white;
  font-size: 10.5px;
  padding: 1px 7px;
  border-radius: 999px;
  font-weight: 600;
}
.sidebar .nav-item .badge.muted {
  background: var(--surface-3);
  color: var(--ink-3);
}
.sidebar .footer {
  padding: 12px 14px;
  border-top: 1px solid var(--border);
}
.sidebar .footer > .row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}
.sidebar .footer .name-block {
  flex: 1;
  min-width: 0;
}
.avatar-btn {
  border: 0;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
}
.avatar-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sidebar .footer .perfil-link {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  font-size: 13px;
  font-weight: 550;
  color: var(--ink-1);
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sidebar .footer .perfil-link:hover {
  color: var(--brand);
}
.page-shell {
  display: flex;
  min-height: 100vh;
  background: var(--bg);
}
.page-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.page-header {
  padding: 18px 28px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 10;
}
.page-header > .title-block {
  min-width: 0;
  flex: 1;
}
.page-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-1);
  margin: 0;
  line-height: 1.2;
}
.page-subtitle {
  font-size: 12.5px;
  color: var(--ink-4);
  margin: 2px 0 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}
.page-body {
  padding: 24px 28px 80px;
  max-width: 100%;
  min-width: 0;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.stat .label {
  font-size: 12px;
  color: var(--ink-4);
  letter-spacing: 0.02em;
  font-weight: 500;
}
.stat .value {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-1);
  font-variant-numeric: tabular-nums;
}
.stat .delta {
  font-size: 12px;
  color: var(--ink-3);
}
.stat .delta.up {
  color: var(--success);
}
.stat .delta.down {
  color: var(--danger);
}
.section-title {
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-4);
  margin: 0 0 12px;
}
.kanban {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.kanban-col {
  min-width: 280px;
  width: 280px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 220px);
}
.kanban-col-head {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.kanban-col-head .title {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.kanban-col-head .count {
  font-size: 11.5px;
  color: var(--ink-4);
  font-variant-numeric: tabular-nums;
}
.kanban-col-list {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  flex: 1;
}
.kanban-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  cursor: grab;
  transition:
    box-shadow 0.12s,
    transform 0.12s,
    border-color 0.12s;
  font-size: 13px;
}
.kanban-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--border-strong);
}
.kanban-card.dragging {
  opacity: 0.4;
}
.kanban-col.drop-target {
  background: var(--brand-50);
  border-color: var(--brand);
  border-style: dashed;
}
.kanban-card .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.kanban-card .name {
  font-weight: 550;
  color: var(--ink-1);
  font-size: 13px;
  line-height: 1.3;
}
.kanban-card .meta {
  font-size: 11.5px;
  color: var(--ink-4);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.progress {
  width: 100%;
  height: 6px;
  background: var(--surface-3);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.progress > .bar {
  height: 100%;
  border-radius: 999px;
  transition: width 0.4s ease;
}
.progress.target::after {
  content: "";
  position: absolute;
  top: -2px;
  bottom: -2px;
  width: 2px;
  background: var(--ink-3);
  left: 100%;
}
.tier {
  font-weight: 600;
}
.tier.piso {
  color: var(--danger);
}
.tier.estandar {
  color: var(--warning);
}
.tier.cumplimiento {
  color: var(--success);
}
.tier.elite {
  color: var(--brand);
}
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}
.timeline-row {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  position: relative;
}
.timeline-dot {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--surface);
  border: 2px solid var(--border-strong);
  display: grid;
  place-items: center;
  z-index: 1;
  font-size: 11px;
  color: var(--ink-3);
  flex-shrink: 0;
}
.timeline-row .content {
  flex: 1;
  font-size: 13px;
  color: var(--ink-2);
}
.timeline-row .when {
  font-size: 11.5px;
  color: var(--ink-4);
}
.tweaks-launcher {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 50;
}
.blob-accesos {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 12px 14px;
  margin-bottom: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
}
.blob-accesos-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 220px;
}
.blob-accesos-label {
  font-size: 12px;
  color: var(--ink-4);
  font-weight: 600;
}
.blob-accesos-lote {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-4);
  font-weight: 600;
}
.blob-accesos-lote select {
  font: inherit;
  text-transform: none;
  letter-spacing: normal;
  padding: 6px 8px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink-2);
}
.blob-chip {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink-2);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12.5px;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.12s,
    color 0.12s,
    border-color 0.12s;
}
.blob-chip:hover {
  background: var(--brand-50);
  color: var(--brand);
  border-color: var(--brand);
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
