:root {
        --ls-ink: #08111f;
        --ls-muted: #5b6b82;
        --ls-line: rgba(15, 23, 42, 0.11);
        --ls-card: rgba(255, 255, 255, 0.88);
        --ls-blue: #2563eb;
        --ls-cyan: #06b6d4;
        --ls-emerald: #10b981;
      }

      html {
        scroll-behavior: smooth;
      }

      body {
        color: var(--ls-ink);
        background:
          radial-gradient(circle at 15% 10%, rgba(37, 99, 235, 0.16), transparent 32%),
          radial-gradient(circle at 86% 18%, rgba(6, 182, 212, 0.16), transparent 30%),
          linear-gradient(180deg, #f8fbff 0%, #eef6ff 45%, #f7fbff 100%);
      }

      .ls-card {
        border: 1px solid var(--ls-line);
        background: var(--ls-card);
        box-shadow:
          0 18px 45px rgba(15, 23, 42, 0.08),
          inset 0 1px 0 rgba(255, 255, 255, 0.72);
        backdrop-filter: blur(14px);
      }

      .ls-hero-title {
        letter-spacing: -0.06em;
      }

      .ls-product-shell {
        border: 1px solid rgba(15, 23, 42, 0.1);
        background:
          radial-gradient(circle at 20% 0%, rgba(37, 99, 235, 0.14), transparent 34%),
          linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78));
        box-shadow:
          0 24px 70px rgba(15, 23, 42, 0.12),
          inset 0 1px 0 rgba(255, 255, 255, 0.75);
        backdrop-filter: blur(18px);
      }

      .ls-btn-primary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        border-radius: 1rem;
        background: linear-gradient(135deg, var(--ls-blue), var(--ls-cyan));
        padding: 0.85rem 1.2rem;
        font-weight: 800;
        color: white;
        box-shadow: 0 14px 34px rgba(37, 99, 235, 0.22);
        transition: all 0.25s ease;
      }

      .ls-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow:
          0 18px 40px rgba(37, 99, 235, 0.28),
          0 0 0 5px rgba(6, 182, 212, 0.14);
      }

      .ls-btn-soft {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 1rem;
        border: 1px solid var(--ls-line);
        background: rgba(255, 255, 255, 0.86);
        padding: 0.85rem 1.2rem;
        font-weight: 800;
        color: var(--ls-ink);
        transition: all 0.25s ease;
      }

      .ls-btn-soft:hover {
        transform: translateY(-2px);
        background: white;
        box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
      }

      .ls-chip {
        display: inline-flex;
        align-items: center;
        border-radius: 999px;
        border: 1px solid var(--ls-line);
        background: rgba(255, 255, 255, 0.82);
        padding: 0.48rem 0.8rem;
        font-size: 0.72rem;
        font-weight: 900;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: var(--ls-blue);
      }

      .ls-header {
        background: rgba(255, 255, 255, 0.46);
        border-bottom: 1px solid rgba(255, 255, 255, 0.34);
        backdrop-filter: blur(8px) saturate(112%);
        -webkit-backdrop-filter: blur(8px) saturate(112%);
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.035);
      }

      .ls-nav-link {
        border-radius: 999px;
        padding: 0.55rem 0.85rem;
        font-size: 0.92rem;
        font-weight: 750;
        color: var(--ls-ink);
        transition: all 0.22s ease;
      }

      .ls-nav-link:hover {
        background: rgba(255, 255, 255, 0.85);
        transform: translateY(-1px);
      }

      .ls-live-dot {
        position: relative;
        display: inline-flex;
        height: 10px;
        width: 10px;
        border-radius: 999px;
        background: #10b981;
      }

      .ls-live-dot::after {
        content: "";
        position: absolute;
        inset: -5px;
        border-radius: 999px;
        background: rgba(16, 185, 129, 0.22);
        animation: pulseDot 1.6s ease-in-out infinite;
      }

      @keyframes pulseDot {
        0%,
        100% {
          transform: scale(0.75);
          opacity: 0.6;
        }

        50% {
          transform: scale(1.15);
          opacity: 1;
        }
      }

      .ls-action-card {
        border: 1px solid var(--ls-line);
        background: rgba(255, 255, 255, 0.82);
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
      }

      .ls-mini-chart {
        display: flex;
        align-items: end;
        gap: 8px;
        height: 90px;
      }

      .ls-mini-chart span {
        display: block;
        width: 100%;
        border-radius: 999px 999px 0 0;
        background: linear-gradient(180deg, #06b6d4, #2563eb);
      }

      .ls-leads-toolbar {
        border: 1px solid var(--ls-line);
        background: rgba(255, 255, 255, 0.78);
        box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
      }

      .ls-search-box {
        position: relative;
      }

      .ls-search-box span {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        font-weight: 900;
        color: var(--ls-muted);
      }

      .ls-search-box input {
        padding-left: 42px;
      }

      .ls-lead-avatar {
        display: grid;
        place-items: center;
        height: 42px;
        width: 42px;
        flex: 0 0 auto;
        border-radius: 14px;
        background: linear-gradient(135deg, #2563eb, #06b6d4);
        color: white;
        font-size: 0.85rem;
        font-weight: 900;
      }

      .ls-action-group {
        display: flex;
        flex-wrap: wrap;
        gap: 0.45rem;
      }

      .ls-mini-btn {
        border-radius: 0.85rem;
        padding: 0.6rem 0.75rem;
        font-size: 0.72rem;
        font-weight: 900;
        transition: all 0.2s ease;
      }

      .ls-mini-btn:hover {
        transform: translateY(-1px);
      }

      .ls-mini-btn-view {
        background: #08111f;
        color: white;
      }

      .ls-mini-btn-edit {
        background: rgba(37, 99, 235, 0.1);
        color: #1d4ed8;
      }

      .ls-mini-btn-delete {
        background: rgba(239, 68, 68, 0.1);
        color: #b91c1c;
      }

      .ls-mini-btn-duplicate {
        background: rgba(124, 58, 237, 0.1);
        color: #6d28d9;
      }

      .ls-priority {
        display: inline-flex;
        border-radius: 999px;
        padding: 0.35rem 0.65rem;
        font-size: 0.72rem;
        font-weight: 900;
      }

      .ls-priority-high {
        background: rgba(239, 68, 68, 0.1);
        color: #b91c1c;
      }

      .ls-priority-medium {
        background: rgba(245, 158, 11, 0.13);
        color: #b45309;
      }

      .ls-priority-low {
        background: rgba(16, 185, 129, 0.13);
        color: #047857;
      }

      .ls-contact-pill {
        display: inline-flex;
        align-items: center;
        border-radius: 999px;
        padding: 0.34rem 0.65rem;
        font-size: 0.72rem;
        font-weight: 900;
        white-space: nowrap;
      }

      .ls-contact-late {
        background: rgba(239, 68, 68, 0.1);
        color: #b91c1c;
      }

      .ls-contact-today {
        background: rgba(37, 99, 235, 0.12);
        color: #1d4ed8;
      }

      .ls-contact-soon {
        background: rgba(245, 158, 11, 0.13);
        color: #b45309;
      }

      .ls-contact-ok {
        background: rgba(16, 185, 129, 0.13);
        color: #047857;
      }

      .ls-contact-closed {
        background: rgba(100, 116, 139, 0.14);
        color: #475569;
      }

      .ls-history-item {
        position: relative;
        border-radius: 1.2rem;
        border: 1px solid var(--ls-line);
        background: white;
        padding: 1rem 1rem 1rem 2.4rem;
      }

      .ls-history-dot {
        position: absolute;
        left: 1rem;
        top: 1.2rem;
        height: 0.65rem;
        width: 0.65rem;
        border-radius: 999px;
        background: linear-gradient(135deg, var(--ls-blue), var(--ls-cyan));
        box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.1);
      }

      .ls-meter-track {
        height: 8px;
        overflow: hidden;
        border-radius: 999px;
        background: rgba(15, 23, 42, 0.08);
      }

      .ls-meter-fill {
        height: 100%;
        border-radius: 999px;
        background: linear-gradient(90deg, var(--ls-blue), var(--ls-cyan));
      }

      .ls-table-wrap {
        overflow-x: auto;
      }

      .ls-table {
        width: 100%;
        min-width: 1220px;
        border-collapse: separate;
        border-spacing: 0 0.7rem;
      }

      .ls-table th {
        padding: 0 1rem;
        text-align: left;
        font-size: 0.72rem;
        font-weight: 900;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--ls-muted);
      }

      .ls-table td {
        background: rgba(255, 255, 255, 0.86);
        padding: 1rem;
        border-top: 1px solid var(--ls-line);
        border-bottom: 1px solid var(--ls-line);
        font-size: 0.92rem;
      }

      .ls-table td:first-child {
        border-left: 1px solid var(--ls-line);
        border-radius: 1.1rem 0 0 1.1rem;
      }

      .ls-table td:last-child {
        border-right: 1px solid var(--ls-line);
        border-radius: 0 1.1rem 1.1rem 0;
      }

      .status-pill {
        display: inline-flex;
        border-radius: 999px;
        padding: 0.38rem 0.7rem;
        font-size: 0.76rem;
        font-weight: 850;
      }

      .status-Novo {
        background: rgba(37, 99, 235, 0.1);
        color: #1d4ed8;
      }

      .status-Contactado {
        background: rgba(124, 58, 237, 0.1);
        color: #6d28d9;
      }

      .status-Interessado {
        background: rgba(6, 182, 212, 0.13);
        color: #0e7490;
      }

      .status-Fechado {
        background: rgba(16, 185, 129, 0.13);
        color: #047857;
      }

      .status-Perdido {
        background: rgba(239, 68, 68, 0.1);
        color: #b91c1c;
      }

      .filter-btn {
        border-radius: 999px;
        border: 1px solid var(--ls-line);
        background: rgba(255, 255, 255, 0.82);
        padding: 0.65rem 0.95rem;
        font-size: 0.88rem;
        font-weight: 800;
        color: var(--ls-muted);
        transition: all 0.2s ease;
      }

      .filter-btn:hover,
      .filter-btn.active {
        background: var(--ls-ink);
        color: white;
        transform: translateY(-1px);
      }

      .drawer-backdrop {
        position: fixed;
        inset: 0;
        z-index: 80;
        display: none;
        background: rgba(8, 17, 31, 0.38);
        backdrop-filter: blur(6px);
      }

      .drawer-backdrop.open {
        display: block;
      }

      .drawer {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 90;
        height: 100%;
        width: min(460px, 100%);
        transform: translateX(100%);
        background: white;
        box-shadow: -20px 0 60px rgba(15, 23, 42, 0.18);
        transition: transform 0.28s ease;
      }

      .drawer.open {
        transform: translateX(0);
      }

      .edit-modal {
        position: fixed;
        inset: 0;
        z-index: 110;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 1rem;
        background: rgba(8, 17, 31, 0.42);
        backdrop-filter: blur(7px);
      }

      .edit-modal.open {
        display: flex;
      }

      .edit-modal-card {
        width: min(760px, 100%);
        max-height: 92vh;
        overflow-y: auto;
        border-radius: 2rem;
        background: white;
        box-shadow: 0 24px 80px rgba(15, 23, 42, 0.25);
      }

      .reveal,
      .reveal-left,
      .reveal-right {
        opacity: 0;
        transition:
          opacity 0.75s ease,
          transform 0.75s ease;
        will-change: opacity, transform;
      }

      .reveal {
        transform: translateY(28px);
      }

      .reveal-left {
        transform: translateX(-34px);
      }

      .reveal-right {
        transform: translateX(34px);
      }

      .reveal.visible,
      .reveal-left.visible,
      .reveal-right.visible {
        opacity: 1;
        transform: translate(0, 0);
      }

      @media (prefers-reduced-motion: reduce) {
        .reveal,
        .reveal-left,
        .reveal-right {
          opacity: 1;
          transform: none;
          transition: none;
        }
      }