    :root {
      --maroon: #48683D; /* Hijau Matcha Premium */
      --maroon-light: #618552;
      --maroon-hover: #3D5933;
      --maroon-dark: #2A3E22;
      --gold: #D4AF37;
      --gold-light: #E5C158;
      --gold-bg: rgba(212, 175, 55, 0.12);
      --gold-border: rgba(212, 175, 55, 0.3);
      --bg-main: #FAF8F5;
      --card-bg: #FFFFFF;
      --text-main: #2E2325;
      --text-muted: #6E6263;
      --border-color: #ECE5DA;
      --emerald: #557B49;
      --emerald-bg: #E8EFE5;
      --rose: #A3283B;
      --rose-bg: #FDF0F2;
      --beo-red: #E74C3C;
      --amber: #D97706;
      --amber-bg: #FFFBEB;
      --blue: #2563EB;
      --blue-bg: #EFF6FF;
      --purple: #7C3AED;
      --purple-bg: #F5F3FF;
      --shadow-sm: 0 1px 3px rgba(15, 91, 34, 0.05);
      --shadow-md: 0 4px 16px rgba(15, 91, 34, 0.07);
      --shadow-lg: 0 10px 25px rgba(15, 91, 34, 0.12);
      --radius: 12px;
      --radius-sm: 8px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
    }

    body {
      background: var(--bg-main);
      color: var(--text-main);
      min-height: 100vh;
      overflow-x: hidden;
    }

    ::-webkit-scrollbar {
      width: 6px;
      height: 6px;
    }

    ::-webkit-scrollbar-track {
      background: rgba(15, 91, 34, 0.03);
    }

    ::-webkit-scrollbar-thumb {
      background: rgba(15, 91, 34, 0.2);
      border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb:hover {
      background: var(--maroon);
    }

    svg {
      width: 14px;
      height: 14px;
      display: inline-block;
      vertical-align: middle;
      flex-shrink: 0;
    }

    /* Sidebar */
    .sb {
      position: fixed;
      left: 0;
      top: 0;
      bottom: 0;
      width: 260px;
      background: var(--maroon);
      color: #fff;
      display: flex;
      flex-direction: column;
      z-index: 100;
      box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
      transition: transform 0.25s ease;
    }

    .sb.sb-collapsed {
      transform: translateX(-260px);
    }

    .sb-header {
      padding: 18px 20px;
      border-bottom: 1px solid rgba(212, 175, 55, 0.2);
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .sb-logo-img {
      width: 36px;
      height: 36px;
      object-fit: contain;
      filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.6));
    }

    .sb-brand {
      font-family: 'Cinzel', serif;
      font-size: 14px;
      font-weight: 700;
      color: var(--gold);
      letter-spacing: 0.5px;
      line-height: 1.2;
    }

    .sb-subbrand {
      font-size: 10px;
      color: rgba(255, 255, 255, 0.65);
      margin-top: 2px;
    }

    .sb-domain {
      font-size: 9px;
      background: rgba(212, 175, 55, 0.15);
      color: var(--gold);
      padding: 2px 6px;
      border-radius: 4px;
      display: inline-block;
      margin-top: 4px;
      font-weight: 600;
    }

    .sb-user {
      padding: 10px 16px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      background: rgba(0, 0, 0, 0.18);
    }

    .sb-user-info {
      display: flex;
      align-items: center;
      gap: 8px;
      overflow: hidden;
    }

    .sb-avatar {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--maroon-light);
      border: 1.5px solid var(--gold);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--gold);
      font-weight: 700;
      font-size: 10.5px;
      flex-shrink: 0;
    }

    .sb-uname {
      font-size: 11.5px;
      font-weight: 600;
      color: #fff;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .sb-urole {
      font-size: 9px;
      color: var(--gold);
      font-weight: 500;
    }

    .sb-nav {
      flex: 1;
      overflow-y: auto;
      padding: 8px 0;
    }

    .nav-sec {
      padding: 8px 16px 3px;
      font-size: 8.5px;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.45);
      letter-spacing: 1.1px;
      text-transform: uppercase;
    }

    .ni {
      display: flex;
      align-items: center;
      gap: 9px;
      padding: 7.5px 16px;
      cursor: pointer;
      color: rgba(255, 255, 255, 0.78);
      font-size: 11.5px;
      font-weight: 500;
      border-left: 3px solid transparent;
      transition: 0.15s ease;
      width: 100%;
      text-align: left;
      background: none;
      border-top: none;
      border-right: none;
      border-bottom: none;
    }

    .ni:hover {
      background: rgba(212, 175, 55, 0.1);
      color: #fff;
    }

    .ni.active {
      background: rgba(212, 175, 55, 0.18);
      color: var(--gold);
      border-left-color: var(--gold);
      font-weight: 600;
    }

    .ni .badge {
      margin-left: auto;
      background: var(--gold);
      color: var(--maroon-dark);
      font-size: 9px;
      font-weight: 700;
      padding: 1px 6px;
      border-radius: 10px;
    }

    .sb-footer {
      padding: 10px 16px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      font-size: 9px;
      color: rgba(255, 255, 255, 0.45);
      text-align: center;
    }

    /* Layout */
    .layout {
      margin-left: 260px;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      transition: margin-left 0.25s ease;
    }

    .layout.sb-collapsed {
      margin-left: 0 !important;
    }

    /* Topbar */
    .topbar {
      background: var(--card-bg);
      border-bottom: 1px solid var(--border-color);
      padding: 12px 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: sticky;
      top: 0;
      z-index: 90;
      box-shadow: var(--shadow-sm);
    }

    .topbar-left {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .btn-toggle-sidebar {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 12px;
      background: rgba(15, 91, 34, 0.06);
      color: var(--maroon);
      border: 1px solid rgba(15, 91, 34, 0.15);
      border-radius: 20px;
      cursor: pointer;
      font-size: 11.5px;
      font-weight: 600;
      transition: all 0.2s ease;
    }

    .btn-toggle-sidebar:hover {
      background: var(--maroon);
      color: #fff;
    }

    .topbar-title {
      font-size: 15px;
      font-weight: 700;
      color: var(--maroon);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .topbar-subtitle {
      font-size: 11px;
      color: var(--text-muted);
      font-weight: 400;
    }

    .topbar-right {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .content-wrap {
      padding: 24px;
      flex: 1;
      max-width: 1600px;
      width: 100%;
      margin: 0 auto;
    }

    /* Unified Luxury Hotel Buttons System */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 7px 14px;
      border-radius: 6px;
      font-size: 12px;
      font-weight: 700;
      font-family: inherit;
      cursor: pointer;
      transition: all 0.18s ease;
      border: 1.5px solid transparent;
      text-decoration: none;
      white-space: nowrap;
      letter-spacing: 0.2px;
    }

    .btn-primary {
      background: var(--maroon);
      color: #FFFFFF !important;
      border-color: var(--maroon);
      box-shadow: 0 2px 6px rgba(15, 91, 34, 0.2);
    }

    .btn-primary:hover {
      background: var(--maroon-hover);
      border-color: var(--maroon-hover);
      color: #FFFFFF !important;
      transform: translateY(-1px);
    }

    /* All secondary / utility / action buttons styled with refined White/Gold Luxury Hotel palette */
    .btn-outline,
    .btn-secondary,
    .btn-gold,
    .btn-emerald {
      background: #FFFFFF;
      color: var(--maroon) !important;
      border: 1.5px solid var(--gold);
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    }

    .btn-outline:hover,
    .btn-secondary:hover,
    .btn-gold:hover,
    .btn-emerald:hover {
      background: #FAF7F2;
      border-color: var(--maroon);
      color: var(--maroon) !important;
      transform: translateY(-1px);
      box-shadow: 0 2px 6px rgba(15, 91, 34, 0.1);
    }

    .btn-sm {
      padding: 5px 12px;
      font-size: 11.5px;
      border-radius: 5px;
      font-weight: 700;
    }

    .btn-danger,
    .btn-rose {
      background: #FFFFFF;
      color: #991B1B !important;
      border: 1.5px solid #E57373;
    }

    .btn-danger:hover,
    .btn-rose:hover {
      background: #991B1B;
      border-color: #991B1B;
      color: #FFFFFF !important;
      transform: translateY(-1px);
    }

    /* Cards */
    .card {
      background: var(--card-bg);
      border: 1px solid var(--border-color);
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
      margin-bottom: 20px;
      overflow: hidden;
    }

    .card-header {
      padding: 16px 20px;
      border-bottom: 1px solid var(--border-color);
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: #FCFAF8;
    }

    .card-title {
      font-size: 13.5px;
      font-weight: 700;
      color: var(--maroon);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .card-subtitle {
      font-size: 11px;
      color: var(--text-muted);
      margin-top: 2px;
      font-weight: 400;
    }

    .card-body {
      padding: 20px;
    }

    /* Metrics Grid */
    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 16px;
      margin-bottom: 22px;
    }

    .metric-box {
      background: var(--card-bg);
      border: 1px solid var(--border-color);
      border-radius: var(--radius);
      padding: 18px;
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
      overflow: hidden;
    }

    .metric-box::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 4px;
      background: var(--maroon);
    }

    .metric-box.gold::before {
      background: var(--gold);
    }

    .metric-box.emerald::before {
      background: var(--emerald);
    }

    .metric-box.blue::before {
      background: var(--blue);
    }

    .metric-box.purple::before {
      background: var(--purple);
    }

    .metric-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 8px;
    }

    .metric-title {
      font-size: 11.5px;
      font-weight: 600;
      color: var(--text-muted);
      text-transform: uppercase;
    }

    .metric-icon {
      width: 28px;
      height: 28px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--gold-bg);
      color: var(--maroon);
    }

    .metric-value {
      font-size: 21px;
      font-weight: 800;
      color: var(--text-main);
      letter-spacing: -0.5px;
    }

    .metric-sub {
      font-size: 10.5px;
      color: var(--text-muted);
      margin-top: 6px;
      display: flex;
      align-items: center;
      gap: 4px;
    }

    /* Badges */
    .badge-pill {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 3px 8px;
      border-radius: 20px;
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
    }

    .badge-maroon {
      background: rgba(15, 91, 34, 0.1);
      color: var(--maroon);
    }

    .badge-gold {
      background: var(--gold-bg);
      color: #8A6D15;
    }

    .badge-emerald {
      background: var(--emerald-bg);
      color: var(--emerald);
    }

    .badge-rose {
      background: var(--rose-bg);
      color: var(--rose);
    }

    .badge-blue {
      background: var(--blue-bg);
      color: var(--blue);
    }

    .badge-purple {
      background: var(--purple-bg);
      color: var(--purple);
    }

    /* Tables */
    .table-container {
      width: 100%;
      overflow-x: auto;
    }

    .table-custom {
      width: 100%;
      border-collapse: collapse;
      font-size: 11.5px;
      text-align: left;
    }

    .table-custom th {
      background: #F7F3EE;
      color: var(--maroon);
      font-weight: 700;
      padding: 10px 14px;
      border-bottom: 1.5px solid var(--border-color);
      white-space: nowrap;
      text-transform: uppercase;
      font-size: 10px;
    }

    .table-custom td {
      padding: 12px 14px;
      border-bottom: 1px solid var(--border-color);
      color: var(--text-main);
      vertical-align: middle;
    }

    .table-custom tr:hover td {
      background: rgba(212, 175, 55, 0.04);
    }

    /* Kanban */
    .kanban-board {
      display: grid;
      grid-template-columns: repeat(7, minmax(220px, 1fr));
      gap: 14px;
      overflow-x: auto;
      padding-bottom: 14px;
      scrollbar-width: thin;
      scrollbar-color: #A31D1D #F4EFEB;
    }

    .kanban-board::-webkit-scrollbar {
      height: 10px;
    }

    .kanban-board::-webkit-scrollbar-track {
      background: #ECE5DC;
      border-radius: 6px;
    }

    .kanban-board::-webkit-scrollbar-thumb {
      background: #A31D1D;
      border-radius: 6px;
    }

    .kanban-board::-webkit-scrollbar-thumb:hover {
      background: #7B1113;
    }

    .kanban-col {
      background: #F4EFEB;
      border-radius: var(--radius);
      border: 1px solid var(--border-color);
      display: flex;
      flex-direction: column;
      height: auto;
      min-height: 1500px;
      max-height: 2250px;
    }

    .kanban-header {
      padding: 12px 14px;
      border-bottom: 1px solid var(--border-color);
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: #ECE5DC;
      border-top-left-radius: var(--radius);
      border-top-right-radius: var(--radius);
    }

    .kanban-title {
      font-size: 11px;
      font-weight: 700;
      color: var(--maroon);
      text-transform: uppercase;
    }

    .kanban-count {
      background: var(--card-bg);
      color: var(--maroon);
      font-size: 10px;
      font-weight: 800;
      padding: 2px 7px;
      border-radius: 12px;
    }

    .kanban-cards {
      flex: 1;
      overflow-y: auto;
      padding: 10px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .lead-card {
      background: var(--card-bg);
      border-radius: var(--radius-sm);
      border: 1px solid var(--border-color);
      padding: 12px;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .lead-card:hover {
      transform: translateY(-2px);
      border-color: var(--gold);
    }

    .lead-company {
      font-size: 12px;
      font-weight: 700;
      color: var(--maroon);
    }

    .lead-event {
      font-size: 11px;
      color: var(--text-muted);
    }

    .lead-meta {
      display: flex;
      justify-content: space-between;
      font-size: 10.5px;
      border-top: 1px dashed var(--border-color);
      padding-top: 4px;
      margin-top: 4px;
    }

    .lead-value {
      font-weight: 700;
      color: var(--emerald);
    }

    /* Month Selector Pill Bar */
    .month-pill-bar {
      display: flex;
      align-items: center;
      gap: 6px;
      overflow-x: auto;
      padding: 6px 4px;
      margin-bottom: 16px;
    }

    .month-pill-btn {
      padding: 6px 14px;
      border-radius: 20px;
      border: 1px solid var(--border-color);
      background: #FFF;
      color: var(--text-main);
      font-size: 11.5px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.15s ease;
      white-space: nowrap;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .month-pill-btn:hover {
      background: #F4EFEB;
      border-color: var(--maroon);
      color: var(--maroon);
    }

    .month-pill-btn.active {
      background: var(--maroon);
      border-color: var(--maroon);
      color: #FFF;
      box-shadow: 0 2px 6px rgba(15, 91, 34, 0.25);
    }

    .month-pill-btn .count-badge {
      background: rgba(212, 175, 55, 0.25);
      color: var(--gold);
      font-size: 9px;
      font-weight: 800;
      padding: 1px 6px;
      border-radius: 10px;
    }

    .month-pill-btn.active .count-badge {
      background: var(--gold);
      color: var(--maroon-dark);
    }

    /* Modals */
    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(43, 5, 11, 0.65);
      backdrop-filter: blur(5px);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1000;
      padding: 20px;
    }

    .modal-dialog {
      background: var(--card-bg);
      border-radius: var(--radius);
      width: 100%;
      max-width: 520px;
      max-height: 90vh;
      overflow-y: auto;
      box-shadow: var(--shadow-lg);
      border: 1px solid var(--gold-border);
      animation: modalSlide 0.2s ease-out;
    }

    .modal-dialog.lg {
      max-width: 860px;
    }

    @keyframes modalSlide {
      from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
      }

      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .modal-header {
      padding: 16px 22px;
      border-bottom: 1px solid var(--border-color);
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: var(--maroon);
      color: #fff;
    }

    .modal-title {
      font-size: 14px;
      font-weight: 700;
      color: var(--gold);
      font-family: 'Cinzel', serif;
    }

    .btn-close-modal {
      background: none;
      border: none;
      color: rgba(255, 255, 255, 0.7);
      cursor: pointer;
      font-size: 18px;
    }

    .modal-body {
      padding: 22px;
    }

    .modal-footer {
      padding: 14px 22px;
      border-top: 1px solid var(--border-color);
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 10px;
      background: #FCFAF8;
    }

    .form-group {
      margin-bottom: 14px;
    }

    .form-label {
      display: block;
      font-size: 11px;
      font-weight: 600;
      color: var(--maroon);
      margin-bottom: 4px;
      text-transform: uppercase;
    }

    .form-control {
      width: 100%;
      padding: 8px 12px;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      font-size: 12px;
      outline: none;
    }

    .form-control:focus {
      border-color: var(--maroon);
      box-shadow: 0 0 0 3px rgba(15, 91, 34, 0.08);
    }
    /* Lead List Item in Kanban Board */
    .lead-list-item {
      transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .lead-list-item:hover {
      border-color: var(--maroon) !important;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(15, 91, 34, 0.08) !important;
    }

    /* Google Sheet Live Embed Frame */
    .gsheet-frame-wrap {
      width: 100%;
      height: 680px;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      overflow: hidden;
      background: #FFF;
      box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.05);
    }

    .gsheet-iframe {
      width: 100%;
      height: 100%;
      border: none;
    }

    /* COMPLETE OFFICIAL CONFIRMATION LETTER (CL) STYLING */
    .cl-doc-container {
      background: #FFF;
      border: 1px solid var(--border-color);
      padding: 36px 44px;
      border-radius: 4px;
      color: #111;
      font-size: 11.5px;
      line-height: 1.55;
      font-family: 'Inter', sans-serif;
      max-width: 900px;
      margin: 0 auto;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    }

    .cl-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 2.5px solid var(--maroon);
      padding-bottom: 14px;
      margin-bottom: 16px;
    }

    .cl-hotel-title {
      font-family: 'Cinzel', serif;
      font-size: 17px;
      font-weight: 800;
      color: var(--maroon);
      letter-spacing: 1px;
    }

    .cl-hotel-sub {
      font-size: 10px;
      color: #555;
      margin-top: 2px;
    }

    .cl-doc-title {
      font-family: 'Cinzel', serif;
      font-size: 16px;
      font-weight: 800;
      color: var(--gold);
      text-transform: uppercase;
      text-align: right;
    }

    .cl-doc-number {
      font-size: 11px;
      color: #666;
      font-family: monospace;
      font-weight: 700;
      text-align: right;
    }

    .cl-section-header {
      font-size: 11px;
      font-weight: 700;
      color: var(--maroon);
      text-transform: uppercase;
      background: #F8F4EE;
      padding: 5px 10px;
      margin: 14px 0 8px;
      border-left: 3px solid var(--gold);
    }

    /* BEO Official Sheet */
    .beo-sheet-container {
      background: #FFFFFF;
      border: 1.5px solid #444;
      padding: 24px;
      font-family: 'Arial', 'Inter', sans-serif;
      color: #000;
      font-size: 11px;
      line-height: 1.35;
      max-width: 980px;
      margin: 0 auto;
    }

    .beo-sheet-header {
      display: grid;
      grid-template-columns: 1fr 1fr;
      border-bottom: 1.5px solid #000;
      padding-bottom: 8px;
      margin-bottom: 8px;
    }

    .print-only { display: none !important; }
    @media print {
      @page {
        size: A4 portrait;
        margin: 15mm 18mm 15mm 18mm;
      }
      body * {
        visibility: hidden;
      }
      .no-print {
        display: none !important;
      }
      .print-only {
        display: block !important;
        visibility: visible !important;
      }

      .beo-sheet-container,
      .beo-sheet-container *,
      .cl-doc-container,
      .cl-doc-container *,
      .print-report-doc,
      .print-report-doc * {
        visibility: visible !important;
      }

      .beo-sheet-container,
      .print-report-doc {
        position: absolute;
        left: 0;
        top: 0;
        width: 100% !important;
        max-width: 100% !important;
        border: none !important;
        box-shadow: none !important;
        padding: 10px !important;
        background: #FFFFFF !important;
        color: #111827 !important;
      }

      /* CL: A4 Portrait - full page layout */
      .cl-doc-container {
        position: fixed;
        left: 0;
        top: 0;
        width: 210mm !important;
        max-width: 210mm !important;
        min-height: 297mm;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        background: #FFFFFF !important;
        color: #111 !important;
        font-size: 11px !important;
      }

      .cl-remarks-textarea {
        display: none !important;
      }
      .cl-remarks-print {
        display: block !important;
        visibility: visible !important;
        font-size: 10.5px !important;
        color: #333 !important;
        white-space: pre-wrap;
        min-height: 18px;
      }
    }

    /* FLOATING TOOLS COLLAPSE WIDGET */
    .floating-tools-container {
      position: fixed;
      bottom: 24px;
      right: 24px;
      z-index: 9999;
      pointer-events: none;
    }

    .floating-tools-container > * {
      pointer-events: auto;
    }

    .floating-btn-group {
      display: flex;
      flex-direction: column;
      gap: 10px;
      align-items: flex-end;
    }

    .floating-sq-btn {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background: linear-gradient(135deg, #48683D 0%, #1E2D18 100%);
      border: 1.5px solid var(--gold);
      color: var(--gold);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 6px 18px rgba(15, 91, 34, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2);
      transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
      position: relative;
      outline: none;
    }

    .floating-sq-btn:hover {
      transform: translateY(-3px) scale(1.06);
      background: linear-gradient(135deg, #618552 0%, #48683D 100%);
      border-color: #ffffff;
      color: #ffffff;
      box-shadow: 0 10px 25px rgba(15, 91, 34, 0.5), 0 0 15px rgba(212, 175, 55, 0.4);
    }

    .floating-sq-btn.active {
      background: linear-gradient(135deg, #D4AF37 0%, #B89025 100%);
      color: #48683D;
      border-color: #ffffff;
      box-shadow: 0 0 22px rgba(212, 175, 55, 0.7);
      transform: scale(1.04);
    }

    .floating-sq-btn svg {
      width: 22px !important;
      height: 22px !important;
    }

    .floating-tooltip {
      position: absolute;
      right: 58px;
      top: 50%;
      transform: translateY(-50%);
      background: #0F172A;
      color: #ffffff;
      font-size: 11.5px;
      font-weight: 600;
      padding: 6px 12px;
      border-radius: 8px;
      white-space: nowrap;
      pointer-events: none;
      opacity: 0;
      visibility: hidden;
      transition: all 0.2s ease;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
      border: 1px solid rgba(212, 175, 55, 0.4);
      z-index: 10;
    }

    .floating-sq-btn:hover .floating-tooltip {
      opacity: 1;
      visibility: visible;
      transform: translateY(-50%) translateX(-4px);
    }

    .floating-badge-dot {
      position: absolute;
      top: -3px;
      right: -3px;
      width: 11px;
      height: 11px;
      border-radius: 50%;
      background: #10B981;
      border: 2px solid #ffffff;
      box-shadow: 0 0 8px rgba(16, 185, 129, 0.9);
      animation: pulseDot 2s infinite;
    }

    @keyframes pulseDot {
      0%, 100% { transform: scale(1); opacity: 1; }
      50% { transform: scale(1.3); opacity: 0.7; }
    }

            /* VERTICAL ZOOM FLYOUT (POSITIONED DIRECTLY ABOVE ZOOM BUTTON WITH LUXURY MAROON-GOLD PALETTE) */
    .zoom-vertical-flyout {
      position: absolute;
      bottom: 58px;
      right: 0;
      background: linear-gradient(135deg, #48683D 0%, #2A3E22 100%);
      border: 1.5px solid var(--gold);
      border-radius: 12px;
      padding: 10px 8px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      box-shadow: 0 12px 32px rgba(15, 91, 34, 0.6), 0 0 16px rgba(212, 175, 55, 0.4);
      z-index: 100;
      animation: fadeInUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      width: 48px;
    }

    .zoom-vert-btn {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.12);
      border: 1px solid rgba(212, 175, 55, 0.5);
      color: var(--gold);
      font-size: 16px;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.15s;
    }

    .zoom-vert-btn:hover {
      background: var(--gold);
      color: #2A3E22;
      transform: scale(1.08);
    }

    .zoom-vert-badge {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      font-weight: 800;
      color: var(--gold);
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    }

    .zoom-vert-slider-wrap {
      height: 90px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .zoom-vert-slider {
      writing-mode: bt-lr;
      -webkit-appearance: slider-vertical;
      width: 8px;
      height: 80px;
      cursor: pointer;
      accent-color: #D4AF37;
    }

    .zoom-vert-reset-btn {
      background: rgba(212, 175, 55, 0.15);
      border: 1px solid var(--gold);
      color: var(--gold-light);
      font-size: 10px;
      font-weight: 700;
      padding: 3px 6px;
      border-radius: 6px;
      cursor: pointer;
      transition: all 0.15s;
    }

    .zoom-vert-reset-btn:hover {
      background: var(--gold);
      color: #2A3E22;
    }



    /* DRAGGABLE FLOATING CALCULATOR & NOTES WINDOWS */
    .calc-window {
      position: fixed;
      bottom: 85px;
      right: 85px;
      width: 300px;
      background: #1E293B;
      border: 1.5px solid var(--gold);
      border-radius: 14px;
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
      z-index: 10000;
      overflow: hidden;
      animation: scaleIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .calc-header {
      background: #0F172A;
      padding: 10px 14px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: move;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      color: #FFF;
      font-size: 12.5px;
      font-weight: 700;
    }

    .calc-screen {
      background: #090E17;
      padding: 12px 14px;
      text-align: right;
    }

    .calc-history-txt {
      font-size: 11px;
      color: #94A3B8;
      min-height: 16px;
      font-family: 'JetBrains Mono', monospace;
    }

    .calc-main-val {
      font-size: 24px;
      font-weight: 800;
      color: #FFF;
      font-family: 'JetBrains Mono', monospace;
      margin: 4px 0;
    }

    .calc-fmt-rp {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 11px;
      color: var(--gold-light);
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding-top: 4px;
    }

    .calc-keys-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 6px;
      padding: 12px;
      background: #1E293B;
    }

    .calc-btn {
      padding: 10px 0;
      font-size: 14px;
      font-weight: 700;
      background: #334155;
      color: #FFF;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.15s;
    }

    .calc-btn:hover {
      background: #475569;
    }

    .calc-btn.op {
      background: #48683D;
      color: var(--gold);
      border-color: rgba(197, 160, 89, 0.4);
    }

    .calc-btn.op:hover {
      background: #618552;
      color: #FFF;
    }

    .calc-btn.eq {
      background: var(--gold);
      color: #2A3E22;
      font-weight: 800;
    }

    /* NOTES WINDOW */
    .notes-window {
      position: fixed;
      bottom: 85px;
      right: 85px;
      width: 320px;
      background: #FFFBEB;
      border: 1.5px solid #F59E0B;
      border-radius: 12px;
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
      z-index: 10000;
      overflow: hidden;
      animation: scaleIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .notes-header {
      background: #FEF3C7;
      padding: 10px 14px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: move;
      border-bottom: 1px solid #FDE68A;
      color: #92400E;
      font-size: 12.5px;
      font-weight: 800;
    }

    .notes-textarea {
      width: 100%;
      height: 180px;
      padding: 12px;
      background: #FFFBEB;
      border: none;
      font-family: inherit;
      font-size: 12.5px;
      color: #333;
      resize: none;
      outline: none;
      line-height: 1.5;
    }

    .notes-footer {
      padding: 6px 12px;
      background: #FEF3C7;
      border-top: 1px solid #FDE68A;
      font-size: 10.5px;
      color: #B45309;
      display: flex;
      justify-content: space-between;
    }

    @keyframes scaleIn {
      from { transform: scale(0.85); opacity: 0; }
      to { transform: scale(1); opacity: 1; }
    }

    @keyframes fadeInUp {
      from { transform: translateY(12px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }

    /* ============================================================ */
    /* RESPONSIVE DESIGN FOR SALES & MARKETING SYSTEM              */
    /* ============================================================ */
    .sb-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.52);
      backdrop-filter: blur(3px);
      -webkit-backdrop-filter: blur(3px);
      z-index: 95;
      transition: opacity 0.25s ease;
    }

    @media (max-width: 1024px) {
      .content-wrap {
        padding: 16px;
      }
      .grid-4, .grid-3 {
        grid-template-columns: repeat(2, 1fr) !important;
      }
      .calc-window, .notes-window {
        right: 18px;
        bottom: 80px;
      }
    }

    @media (max-width: 768px) {
      .sb-overlay.active {
        display: block;
      }
      .sb {
        transform: translateX(-275px);
        z-index: 100;
        box-shadow: 4px 0 25px rgba(0, 0, 0, 0.35);
      }
      .sb:not(.sb-collapsed) {
        transform: translateX(0) !important;
      }
      .layout {
        margin-left: 0 !important;
      }
      .topbar {
        padding: 10px 14px;
        min-height: 56px;
        gap: 8px;
        flex-wrap: wrap;
      }
      .topbar-subtitle {
        display: none !important;
      }
      .topbar-title {
        font-size: 13.5px;
      }
      .topbar-right {
        gap: 6px;
        flex-wrap: wrap;
      }
      .content-wrap {
        padding: 12px 10px 90px 10px;
      }
      .kanban-board {
        gap: 10px;
        -webkit-overflow-scrolling: touch;
      }
      .kanban-col {
        min-width: 260px;
      }
      .floating-tools-container {
        bottom: 16px;
        right: 16px;
      }
      .floating-sq-btn {
        width: 42px;
        height: 42px;
      }
      .floating-sq-btn svg {
        width: 18px !important;
        height: 18px !important;
      }
      .calc-window, .notes-window {
        width: calc(100vw - 32px);
        left: 16px;
        right: 16px;
        bottom: 75px;
      }
      .modal-box, .modal-card {
        width: 95vw !important;
        max-width: 95vw !important;
        margin: 10px auto;
        padding: 14px;
        max-height: 90vh;
        overflow-y: auto;
      }
      .grid-4, .grid-3, .grid-2 {
        grid-template-columns: 1fr !important;
      }
      .table-responsive-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
      }
    }

    @media (max-width: 480px) {
      .topbar-title {
        font-size: 12px;
      }
      .btn-toggle-sidebar {
        padding: 4px 8px;
      }
    }


/* Loader Animations */
    @keyframes smSpin { to { transform: rotate(360deg); } }
    @keyframes smPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: 0.88; } }
