    :root {
      /* MOONFLOWER LUXURY ROSE & BLUSH PALETTE FOR AIMAS HOTEL AND CONVENTION CENTRE */
      --maroon: #2D2426; /* Deep Warm Espresso-Charcoal */
      --maroon-light: #3D3134; /* Soft Rosewood Tone */
      --maroon-hover: #221A1C;
      --maroon-dark: #191314;
      --gold: #E27D86; /* Moonflower Primary Coral-Rose Accent */
      --gold-light: #F8B4BA; /* Soft Petal Rose */
      --gold-hover: #D46772; /* Warm Deep Rose */
      --gold-dark: #BA4E59;
      --gold-bg: rgba(226, 125, 134, 0.12);
      --gold-border: rgba(226, 125, 134, 0.35);
      --silver: #A39194; /* Elegant Rose-tinted Taupe */
      --silver-light: #FAF2F3;
      --silver-platinum: #F5E6E8;
      --silver-border: #EED2D5;
      --silver-dark: #665659;
      --bg-main: #FDF6F7; /* Moonflower Dreamy Petal Blush Canvas */
      --card-bg: #FFFFFF;
      --text-main: #2D2426; /* Crisp Espresso Charcoal */
      --text-muted: #7E6E71; /* Soft Warm Muted Gray */
      --border-color: #F0D5D7; /* Delicate Blush Divider */
      --emerald: #E27D86; /* Key Metrics / Highlights in Moonflower Coral-Rose */
      --emerald-bg: #FDF0F2;
      --rose: #D45B69;
      --rose-bg: #FCECEE;
      --beo-red: #E25060;
      --amber: #D88B6E; /* Warm Peach / Sand Terracotta Accent */
      --amber-bg: #FDF3EF;
      --blue: #5C769D;
      --blue-bg: #F0F4FA;
      --purple: #8C6D9E;
      --purple-bg: #F8F3FA;
      --shadow-sm: 0 1px 3px rgba(45, 36, 38, 0.05);
      --shadow-md: 0 4px 16px rgba(45, 36, 38, 0.08);
      --shadow-lg: 0 10px 25px rgba(226, 125, 134, 0.16);
      --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(30, 41, 59, 0.03);
    }

    ::-webkit-scrollbar-thumb {
      background: rgba(226, 125, 134, 0.3);
      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 - Moonflower Luxury Soft Blush & White Palette */
    .sb {
      position: fixed;
      left: 0;
      top: 0;
      bottom: 0;
      width: 260px;
      background: #FFFFFF;
      color: #2D2426;
      display: flex;
      flex-direction: column;
      z-index: 100;
      box-shadow: 4px 0 25px rgba(226, 125, 134, 0.08);
      border-right: 1px solid #F0D5D7;
      transition: transform 0.25s ease;
    }

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

    .sb-header {
      padding: 20px 20px 18px;
      border-bottom: 1px solid #F0D5D7;
      display: flex;
      align-items: center;
      gap: 12px;
      background: linear-gradient(180deg, #FFFFFF 0%, #FDF7F8 100%);
    }

    .sb-logo-img {
      display: none !important;
    }

    .sb-brand {
      font-family: 'Cinzel', serif;
      font-size: 13.5px;
      font-weight: 800;
      color: #2D2426;
      letter-spacing: 0.6px;
      line-height: 1.25;
    }

    .sb-subbrand {
      font-size: 10px;
      color: #7E6E71;
      margin-top: 3px;
      font-weight: 500;
    }

    .sb-domain {
      font-size: 9px;
      background: #FDF0F2;
      color: #C24D59;
      border: 1px solid #F8B4BA;
      padding: 2px 7px;
      border-radius: 4px;
      display: inline-block;
      margin-top: 5px;
      font-weight: 700;
      letter-spacing: 0.2px;
    }

    .sb-user {
      padding: 12px 18px;
      border-bottom: 1px solid #F0D5D7;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      background: #FDF4F5;
    }

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

    .sb-avatar {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: linear-gradient(135deg, #EA858E 0%, #E27D86 100%);
      border: 1.5px solid #FFFFFF;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #FFFFFF;
      font-weight: 800;
      font-size: 11px;
      flex-shrink: 0;
      box-shadow: 0 2px 6px rgba(226, 125, 134, 0.3);
    }

    .sb-uname {
      font-size: 12px;
      font-weight: 700;
      color: #2D2426;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .sb-urole {
      font-size: 9.5px;
      color: #C24D59;
      font-weight: 600;
    }

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

    .nav-sec {
      padding: 12px 18px 4px;
      font-size: 9px;
      font-weight: 800;
      color: #A39194;
      letter-spacing: 1.2px;
      text-transform: uppercase;
    }

    .ni {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8.5px 18px;
      cursor: pointer;
      color: #554649;
      font-size: 12px;
      font-weight: 600;
      border-left: 3px solid transparent;
      transition: all 0.18s ease;
      width: 100%;
      text-align: left;
      background: none;
      border-top: none;
      border-right: none;
      border-bottom: none;
    }

    .ni svg {
      color: #A39194;
      transition: color 0.18s ease;
    }

    .ni:hover {
      background: #FDF0F2;
      color: #C24D59;
    }

    .ni:hover svg {
      color: #E27D86;
    }

    .ni.active {
      background: linear-gradient(90deg, #FDE8EA 0%, rgba(253, 232, 234, 0.3) 100%);
      color: #C24D59;
      border-left-color: #E27D86;
      font-weight: 700;
      box-shadow: inset 1px 0 0 rgba(226, 125, 134, 0.4);
    }

    .ni.active svg {
      color: #E27D86;
    }

    .ni .badge {
      margin-left: auto;
      background: #E27D86;
      color: #FFFFFF;
      font-size: 9px;
      font-weight: 800;
      padding: 2px 7px;
      border-radius: 10px;
      box-shadow: 0 1px 4px rgba(226, 125, 134, 0.3);
    }

    .sb-footer {
      padding: 12px 18px;
      border-top: 1px solid #F0D5D7;
      font-size: 9.5px;
      color: #A39194;
      text-align: center;
      background: #FDF7F8;
    }

    /* 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(226, 125, 134, 0.12);
      color: var(--maroon);
      border: 1px solid rgba(226, 125, 134, 0.35);
      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: linear-gradient(135deg, #EA858E 0%, #E27D86 50%, #D46671 100%);
      color: #FFFFFF !important;
      border-color: #DE6E78;
      box-shadow: 0 3px 10px rgba(226, 125, 134, 0.35);
    }

    .btn-primary:hover {
      background: linear-gradient(135deg, #E2737D 0%, #D46671 50%, #C45561 100%);
      border-color: #CF5E6B;
      color: #FFFFFF !important;
      transform: translateY(-1px);
      box-shadow: 0 5px 16px rgba(226, 125, 134, 0.45);
    }

    /* All secondary / utility / action buttons styled with refined White/Gold Luxury Hotel palette */
    .btn-outline,
    .btn-secondary,
    .btn-emerald {
      background: #FFFFFF;
      color: var(--maroon) !important;
      border: 1.5px solid var(--border-color);
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    }
    .btn-gold {
      background: linear-gradient(135deg, #EA858E 0%, #E27D86 50%, #D46671 100%);
      color: #14181E !important;
      border: 1px solid #EA858E;
      font-weight: 800;
      box-shadow: 0 2px 8px rgba(226, 125, 134, 0.35);
    }
    .btn-gold:hover {
      background: linear-gradient(135deg, #E2737D 0%, #D46671 50%, #C45561 100%);
      border-color: #E2737D;
      color: #0E1216 !important;
      transform: translateY(-1px);
      box-shadow: 0 4px 14px rgba(226, 125, 134, 0.45);
    }
    .btn-silver {
      background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
      color: #1E293B !important;
      border: 1px solid #CBD5E1;
      font-weight: 700;
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    }
    .btn-silver:hover {
      background: #FFFFFF;
      border-color: #94A3B8;
      color: #0F172A !important;
      transform: translateY(-1px);
    }

    .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(226, 125, 134, 0.2);
    }

    .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(226, 125, 134, 0.2);
      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(226, 125, 134, 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(226, 125, 134, 0.35);
    }

    .month-pill-btn .count-badge {
      background: rgba(226, 125, 134, 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(30, 41, 59, 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(30, 41, 59, 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, #2D2426 0%, #1A1314 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(30, 41, 59, 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, #3D3134 0%, #2D2426 100%);
      border-color: #ffffff;
      color: #ffffff;
      box-shadow: 0 10px 25px rgba(30, 41, 59, 0.5), 0 0 15px rgba(226, 125, 134, 0.4);
    }

    .floating-sq-btn.active {
      background: linear-gradient(135deg, #E27D86 0%, #B89025 100%);
      color: #2D2426;
      border-color: #ffffff;
      box-shadow: 0 0 22px rgba(226, 125, 134, 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(226, 125, 134, 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 SLATE-GOLD PALETTE) */
    .zoom-vertical-flyout {
      position: absolute;
      bottom: 58px;
      right: 0;
      background: linear-gradient(135deg, #2D2426 0%, #211A1B 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(30, 41, 59, 0.6), 0 0 16px rgba(226, 125, 134, 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(226, 125, 134, 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: #211A1B;
      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: #E27D86;
    }

    .zoom-vert-reset-btn {
      background: rgba(226, 125, 134, 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: #211A1B;
    }



    /* 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: #2D2426;
      color: var(--gold);
      border-color: rgba(226, 125, 134, 0.4);
    }

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

    .calc-btn.eq {
      background: var(--gold);
      color: #211A1B;
      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; } }
