  /* ==========================================================================
   ARTEES BUSINESS MANAGEMENT SYSTEM - DREAMS AI SAAS DESIGN SYSTEM
   Warna Utama: Lavender Purple (#7c3aed), Indigo (#6366f1), Deep Slate (#0f172a)
   Standar: Human-Crafted Aesthetic, Responsive Mobile & Desktop, Fluid Typography
   ========================================================================== */

  :root {
    --primary: #7c3aed;
    --primary-hover: #6d28d9;
    --primary-light: #ede9fe;
    --secondary: #6366f1;
    --accent-purple: #8b5cf6;
    --bg-main: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --color-sublim: #ea580c;
    --color-qc: #dc2626;
    --color-konveksi: #9333ea;
    --color-success: #16a34a;
    --color-warning: #d97706;
    --sidebar-width: 250px;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --radius-pill: 9999px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px -2px rgba(124, 58, 237, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 25px -3px rgba(124, 58, 237, 0.12), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  }

  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
  }

  body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-size: 14px;
    line-height: 1.5;
    overflow-x: hidden;
  }

  /* App Wrapper */
  .app-container {
    display: flex;
    min-height: 100vh;
  }

  /* Sidebar Navigation */
  .sidebar {
    width: var(--sidebar-width);
    background: var(--card-bg);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    transition: transform 0.25s ease;
  }

  .sidebar-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
  }

  .logo-badge {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
  }

  .sidebar-brand h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.3px;
  }

  .sidebar-brand p {
    font-size: 11px;
    color: var(--text-muted);
  }

  .sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .nav-section-title {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 10px 12px 4px;
  }

  .nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s ease;
  }

  .nav-item:hover {
    background-color: var(--primary-light);
    color: var(--primary);
  }

  .nav-item.active {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
  }

  .nav-item svg {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    flex-shrink: 0;
  }

  .sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--border-color);
    background: #fafafa;
  }

  .user-profile-badge {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .user-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-pill);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
  }

  .user-info {
    flex: 1;
    overflow: hidden;
  }

  .user-info .user-name {
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  .user-info .user-role {
    font-size: 11px;
    color: var(--text-muted);
  }

  /* Main Content Area */
  .main-wrapper {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

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

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

  .mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    padding: 8px;
  }

  .page-title h1 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
  }

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

  .clock-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
  }

  /* Main Body View */
  .content-body {
    padding: 24px;
    flex: 1;
  }

  /* DreamsAI Hero Welcome Banner */
  .hero-banner {
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 50%, #4f46e5 100%);
    border-radius: var(--radius-xl);
    padding: 30px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    box-shadow: 0 10px 25px -5px rgba(124, 58, 237, 0.35);
    position: relative;
    overflow: hidden;
  }

  .hero-banner::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-pill);
  }

  .hero-content h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
  }

  .hero-content p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 18px;
  }

  .hero-actions {
    display: flex;
    gap: 10px;
  }

  .btn-hero {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
  }

  .btn-hero:hover {
    background: #ffffff;
    color: var(--primary);
  }

  /* DreamsAI Hero Artworks Composite */
  .hero-artworks {
    display: flex;
    gap: 12px;
    align-items: center;
    position: relative;
    z-index: 2;
  }

  @media (max-width: 768px) {
    .hero-artworks {
      display: none;
    }
  }

  .hero-art-main {
    width: 140px;
    height: 140px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }

  .hero-art-main svg {
    width: 70px;
    height: 70px;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
  }

  .hero-art-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .hero-art-mini {
    width: 90px;
    height: 64px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    padding: 6px;
    text-align: center;
  }

  /* 4-Slot Photo Referensi Order */
  .photo-upload-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 16px 0;
  }

  @media (max-width: 768px) {
    .photo-upload-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  .photo-slot-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 180px;
    transition: all 0.2s ease;
  }

  .photo-slot-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
  }

  .photo-slot-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
  }

  .photo-thumb-container {
    width: 100%;
    height: 110px;
    border-radius: 8px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 1px dashed #cbd5e1;
  }

  .photo-thumb-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
  }

  .photo-thumb-container:hover img {
    transform: scale(1.06);
  }

  .photo-empty-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 11px;
    gap: 4px;
  }

  .photo-slot-actions {
    display: flex;
    gap: 4px;
    width: 100%;
    margin-top: 8px;
  }

  /* DreamsAI Quick Action / Generator Cards */
  .dreams-action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
  }

  @media (max-width: 900px) {
    .dreams-action-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 500px) {
    .dreams-action-grid {
      grid-template-columns: 1fr;
    }
  }

  .dreams-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
  }

  .dreams-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
  }

  .dreams-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 20px;
  }

  .dreams-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
  }

  .dreams-card p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 14px;
  }

  .dreams-card-link {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
  }

  .dreams-card-link:hover {
    text-decoration: underline;
  }

  /* Lightbox Modal */
  .lightbox-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }

  .lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.2);
  }

  .lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    cursor: pointer;
    background: none;
    border: none;
  }

  .lightbox-title {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
  }

  /* Grid Cards (Ringkasan Metrik 2-3 Kolom Sesuai Standard) */
  .metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
  }

  .metric-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }

  .metric-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }

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

  .metric-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .metric-icon-box.purple {
    background: #ede9fe;
    color: #7c3aed;
  }

  .metric-icon-box.orange {
    background: #ffedd5;
    color: #ea580c;
  }

  .metric-icon-box.red {
    background: #fee2e2;
    color: #dc2626;
  }

  .metric-icon-box.green {
    background: #dcfce7;
    color: #16a34a;
  }

  .metric-icon-box.blue {
    background: #e0e7ff;
    color: #4338ca;
  }

  .badge-trend {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    background: #dcfce7;
    color: #15803d;
  }

  .metric-title {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 4px;
  }

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

  /* Card Section Konten */
  .content-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    overflow: hidden;
  }

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

  .card-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
  }

  .card-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  /* Forms & Inputs */
  .input-control,
  .select-control {
    border: 1px solid var(--border-color);
    background: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-main);
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
  }

  .input-control:focus,
  .select-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
  }

  .search-input {
    min-width: 240px;
  }

  /* Buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
  }

  .btn-primary {
    background: var(--primary);
    color: #fff;
  }

  .btn-primary:hover {
    background: var(--primary-hover);
  }

  .btn-secondary {
    background: #f1f5f9;
    color: var(--text-main);
    border: 1px solid var(--border-color);
  }

  .btn-secondary:hover {
    background: #e2e8f0;
  }

  .btn-sm {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 6px;
  }

  .btn-icon {
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 8px;
  }

  /* Status Badges */
  .status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
  }

  .status-pill.sublim {
    background: #ffedd5;
    color: #c2410c;
  }

  .status-pill.qc {
    background: #fee2e2;
    color: #b91c1c;
  }

  .status-pill.konveksi {
    background: #f3e8ff;
    color: #7e22ce;
  }

  .status-pill.success {
    background: #dcfce7;
    color: #15803d;
  }

  .status-pill.neutral {
    background: #f1f5f9;
    color: #475569;
  }

  /* Table System (Fluid Typography & Anti-Teks Kepotong) */
  .table-responsive {
    width: 100%;
    overflow-x: auto;
  }

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

  .data-table th {
    background: #f8fafc;
    padding: 12px 16px;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-color);
  }

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

  .data-table tbody tr:hover {
    background: #fbfbfe;
  }

  .data-table .cell-highlight {
    font-weight: 600;
    color: var(--primary);
  }

  /* Fast Paste Textarea untuk Nameset */
  .fast-paste-box {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-family: monospace;
    font-size: 12px;
    resize: vertical;
  }

  /* Modals */
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  .modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  .modal-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    max-width: 650px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
  }

  .modal-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .modal-body {
    padding: 24px;
    overflow-y: auto;
  }

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

  /* Toast Container (Top-Right — bebas tumpang tindih dengan widget Chat Tim di kanan-bawah) */
  .toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10050;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    max-width: calc(100vw - 24px);
    pointer-events: none;
  }

  @keyframes toastSlideDown {
    from {
      transform: translateY(-16px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .toast {
    background: #0f172a;
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 13px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 420px;
    pointer-events: auto;
    animation: toastSlideDown 0.25s ease;
  }

  @media (max-width: 600px) {
    .toast-container {
      top: 12px;
      right: 12px;
      left: 12px;
      align-items: stretch;
      max-width: none;
    }
    .toast {
      max-width: none;
    }
  }

  .toast.success {
    background: #15803d;
  }

  .toast.error {
    background: #b91c1c;
  }

  /* ==========================================================================
   PRODUCTION FLOOR VIEW & KANBAN CARDS (GAMBAR REFERENSI #1 & #2)
   ========================================================================== */

  /* 5 KPI Cards Sejajar */
  .kpi-floor-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 20px;
  }

  @media (max-width: 1100px) {
    .kpi-floor-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  @media (max-width: 600px) {
    .kpi-floor-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  .kpi-floor-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
  }

  .kpi-floor-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
  }

  .kpi-floor-card.kpi-blue::before {
    background: #3b82f6;
  }

  .kpi-floor-card.kpi-orange::before {
    background: #ea580c;
  }

  .kpi-floor-card.kpi-red::before {
    background: #dc2626;
  }

  .kpi-floor-card.kpi-purple::before {
    background: #9333ea;
  }

  .kpi-floor-card.kpi-green::before {
    background: #16a34a;
  }

  .kpi-floor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
  }

  .kpi-floor-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    text-transform: uppercase;
  }

  .kpi-floor-badge {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
  }

  .kpi-floor-val {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: baseline;
    gap: 6px;
  }

  .kpi-floor-val small {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
  }

  .kpi-floor-sub {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
  }

  /* Clickable & Active Filter States for KPI Floor Cards */
  .kpi-floor-card.clickable {
    cursor: pointer;
    user-select: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .kpi-floor-card.clickable:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  }

  .kpi-floor-card.clickable:active {
    transform: translateY(-1px);
  }

  .kpi-floor-card.clickable.active {
    box-shadow: 0 0 0 2.5px #3b82f6, 0 8px 20px -3px rgba(59, 130, 246, 0.25);
    background: #eff6ff;
  }

  .kpi-floor-card.clickable.kpi-blue.active {
    box-shadow: 0 0 0 2.5px #3b82f6, 0 8px 20px -3px rgba(59, 130, 246, 0.25);
    background: #eff6ff;
  }

  .kpi-floor-card.clickable.kpi-orange.active {
    box-shadow: 0 0 0 2.5px #ea580c, 0 8px 20px -3px rgba(234, 88, 12, 0.25);
    background: #fff7ed;
  }

  .kpi-floor-card.clickable.kpi-red.active {
    box-shadow: 0 0 0 2.5px #dc2626, 0 8px 20px -3px rgba(220, 38, 38, 0.25);
    background: #fef2f2;
  }

  .kpi-floor-card.clickable.kpi-purple.active {
    box-shadow: 0 0 0 2.5px #9333ea, 0 8px 20px -3px rgba(147, 51, 234, 0.25);
    background: #faf5ff;
  }

  .kpi-floor-card.clickable.kpi-green.active {
    box-shadow: 0 0 0 2.5px #16a34a, 0 8px 20px -3px rgba(22, 163, 74, 0.25);
    background: #f0fdf4;
  }

  .kpi-active-indicator {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 1px 5px;
    border-radius: 999px;
    margin-left: 6px;
    background: #1e293b;
    color: #fff;
  }

  .floor-filter-pill {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-muted);
    transition: all 0.15s ease;
  }

  .floor-filter-pill:hover {
    background: var(--bg-hover);
    color: var(--text-main);
  }

  .floor-filter-pill.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
  }

  /* 5-Column Floor Card Grid (Desktop, Tablet & HP Portrait/Landscape) */
  .floor-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 24px;
  }

  /* Tablet Landscape: 5 Kolom Proporsional */
  @media (min-width: 768px) and (max-width: 1366px) and (orientation: landscape) {
    .floor-grid-5 {
      grid-template-columns: repeat(5, 1fr);
      gap: 10px;
    }
  }

  /* Tablet Portrait: 3 Kolom */
  @media (min-width: 600px) and (max-width: 1024px) and (orientation: portrait) {
    .floor-grid-5 {
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
    }
  }

  /* HP Landscape: 4 Kolom Proporsional */
  @media (max-width: 930px) and (max-height: 520px) and (orientation: landscape) {
    .floor-grid-5 {
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
    }
  }

  /* HP Portrait: 2 Kolom */
  @media (max-width: 599px) {
    .floor-grid-5 {
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
    }
  }

  .floor-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    position: relative;
  }

  .floor-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
  }

  .floor-card-img-box {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    margin-bottom: 10px;
  }

  .floor-card-img-box>div {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
  }

  .floor-card-img-box img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    z-index: 1;
    transition: transform 0.2s ease;
  }

  .floor-card-img-box:hover img {
    transform: scale(1.05);
  }

  /* 2x2 Split Gallery for Multi-Item / Group Orders (Persis Referensi Screenshot) */
  .floor-img-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    width: 100%;
    height: 100%;
    gap: 2px;
    background: #cbd5e1;
  }

  .floor-img-grid-item {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #f8fafc;
  }

  .floor-img-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .floor-img-grid-more {
    background: #0f172a;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    padding: 4px;
    cursor: pointer;
    transition: background 0.2s;
  }

  .floor-img-grid-more:hover {
    background: #1e1b4b;
  }

  /* Repeater Item Card dalam Form Input Order */
  .order-item-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s;
  }

  .order-item-card:hover {
    border-color: #c7d2fe;
  }

  .order-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px dashed var(--border-color);
  }

  .order-item-badge {
    background: #ede9fe;
    color: #7c3aed;
    font-weight: 700;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 6px;
  }

  .order-item-photo-preview {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    position: relative;
  }

  .order-item-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .channel-tag {
    position: absolute;
    bottom: 8px;
    left: 8px;
    z-index: 2;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }

  .channel-shopee {
    background: #ee4d2d;
  }

  .channel-tiktok {
    background: #000000;
  }

  .channel-reseller {
    background: #0284c7;
  }

  .channel-direct {
    background: #7c3aed;
  }

  .btn-card-zoom {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: background 0.15s ease;
  }

  .btn-card-zoom:hover {
    background: rgba(15, 23, 42, 0.9);
  }

  .floor-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
  }

  .floor-card-code {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-main);
  }

  .floor-card-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    background: #f1f5f9;
    color: var(--text-muted);
  }

  .floor-card-cust {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .floor-card-desc {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .floor-card-specs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 11px;
  }

  .floor-card-qty-badge {
    background: #0f172a;
    color: #fff;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 11px;
  }

  .nameset-highlight-box {
    background: #fef9c3;
    border: 1px solid #fef08a;
    border-radius: 6px;
    padding: 6px 8px;
    margin-bottom: 10px;
  }

  .nameset-label {
    font-size: 9px;
    font-weight: 800;
    color: #b45309;
    text-transform: uppercase;
    margin-bottom: 2px;
  }

  .nameset-val {
    font-size: 12px;
    font-weight: 800;
    color: #713f12;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* 3-Stage Toggle Buttons Strip */
  .status-btn-strip {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4px;
    margin-bottom: 6px;
  }

  .status-toggle-btn {
    border: 1px solid var(--border-color);
    background: #f8fafc;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 700;
    padding: 6px 2px;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
  }

  .status-toggle-btn.active-desain {
    background: #16a34a;
    color: #fff;
    border-color: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.45);
  }
  .status-toggle-btn.active-sublim {
    background: #ea580c;
    color: #fff;
    border-color: #ea580c;
  }

  .status-toggle-btn.active-qc {
    background: #dc2626;
    color: #fff;
    border-color: #dc2626;
  }

  .status-toggle-btn.active-kirim {
    background: #7c3aed;
    color: #fff;
    border-color: #7c3aed;
  }

  .status-btn-subtext {
    font-size: 9px;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
  }

  /* Multi-PO Carousel (Gambar Referensi #2) */
  .po-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 18px;
  }

  .po-carousel-card {
    min-width: 250px;
    max-width: 270px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .po-carousel-card:hover {
    border-color: var(--primary);
  }

  .po-carousel-card.active-po {
    border-color: var(--primary);
    background: #faf5ff;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
  }

  .po-card-status {
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 6px;
  }

  /* Split SPK & ACC Gallery */
  .spk-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 24px;
  }

  @media (max-width: 900px) {
    .spk-split-grid {
      grid-template-columns: 1fr;
    }
  }

  .spk-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: #f8fafc;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    margin-bottom: 12px;
  }

  .spec-item {
    font-size: 11px;
  }

  .spec-item span {
    color: var(--text-muted);
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
  }

  .spec-item strong {
    display: block;
    color: var(--text-main);
    font-size: 12px;
    margin-top: 2px;
  }

  .acc-gallery-grid {
    display: grid;
    grid-template-columns: 1.25fr 1.25fr 0.9fr;
    gap: 10px;
    align-items: stretch;
  }

  .acc-photo-side-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .acc-photo-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .acc-photo-wrap {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    position: relative;
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
  }

  .acc-photo-wrap>div {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 11px;
  }

  .acc-photo-wrap img,
  .acc-photo-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    cursor: pointer;
  }

  @media (max-width: 768px) {
    .acc-gallery-grid {
      grid-template-columns: 1fr 1fr;
    }

    .acc-photo-side-stack {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }
  }

  .acc-photo-title {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 6px;
  }

  /* Checklist Nameset Table */
  .checklist-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
  }

  .checklist-table th,
  .checklist-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
  }

  .checklist-table th {
    background: #f8fafc;
    font-weight: 700;
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
  }

  .btn-step-toggle {
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid var(--border-color);
    background: #fff;
    transition: all 0.15s ease;
  }

  .btn-step-toggle.done-sublim {
    background: #ea580c;
    color: #fff;
    border-color: #ea580c;
  }

  .btn-step-toggle.done-qc {
    background: #dc2626;
    color: #fff;
    border-color: #dc2626;
  }

  .btn-step-toggle.done-pack {
    background: #4338ca;
    color: #fff;
    border-color: #4338ca;
  }

  @keyframes slideIn {
    from {
      transform: translateY(20px);
      opacity: 0;
    }

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

  /* Global Anti-Overflow & Tablet/Mobile Responsiveness */
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .main-wrapper,
  .content-area {
    max-width: 100%;
    min-width: 0;
  }

  .floor-card {
    min-width: 0;
  }

  .floor-card-code,
  .floor-card-cust,
  .floor-card-desc {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Tablet & Mobile Drawer + Full-Width Workspace (<= 1024px) */
  @media (max-width: 1024px) {
    .sidebar {
      transform: translateX(-100%);
      z-index: 999;
    }

    .sidebar.open {
      transform: translateX(0);
      box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
    }

    .main-wrapper {
      margin-left: 0;
      width: 100%;
    }

    .mobile-menu-btn {
      display: block;
    }

    .content-area {
      padding: 14px;
    }

    .topbar {
      padding: 0 14px;
      height: 58px;
    }

    .hero-banner {
      flex-direction: column;
      align-items: flex-start;
      gap: 14px;
      padding: 18px;
    }

    .search-input {
      min-width: 0;
      width: 100%;
    }

    .data-table th,
    .data-table td {
      padding: 8px 6px;
      font-size: 12px;
    }

    /* Kartu padat & tombol ramah sentuh di Tablet */
    .floor-card {
      padding: 10px;
    }

    .floor-card-img-box {
      height: auto;
      aspect-ratio: 1 / 1;
      margin-bottom: 8px;
    }

    .status-toggle-btn {
      min-height: 34px;
      font-size: 10px;
      padding: 5px 2px;
    }
  }

  /* HP Portrait & Compact Mode (<= 600px) */
  @media (max-width: 600px) {
    .content-area {
      padding: 10px;
    }

    .kpi-floor-grid {
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 8px !important;
    }

    .kpi-floor-grid .kpi-floor-card:first-child {
      grid-column: 1 / -1;
    }

    .kpi-floor-card {
      padding: 10px !important;
    }

    .kpi-floor-val {
      font-size: 16px !important;
    }

    .floor-card {
      padding: 8px;
      border-radius: 10px;
    }

    .floor-card-img-box {
      height: auto;
      aspect-ratio: 1 / 1;
      margin-bottom: 6px;
    }

    .floor-card-code {
      font-size: 10px;
    }

    .floor-card-cust {
      font-size: 11px;
    }

    .floor-card-desc {
      font-size: 10px;
    }

    .floor-card-badge,
    .floor-card-qty-badge {
      font-size: 9px;
      padding: 2px 5px;
    }

    .nameset-highlight-box {
      padding: 5px 6px;
      margin: 5px 0;
    }

    .nameset-label {
      font-size: 8px;
    }

    .nameset-val {
      font-size: 10px;
    }

    .status-btn-strip {
      gap: 3px;
    }

    .status-toggle-btn {
      min-height: 32px;
      font-size: 9px;
      padding: 4px 1px;
      letter-spacing: -0.2px;
    }

    .modal-card {
      width: 96vw !important;
      max-width: 96vw !important;
      max-height: 92vh;
    }

    .modal-body {
      padding: 12px !important;
    }

    .item-prod-row {
      flex-direction: column !important;
      align-items: stretch !important;
      gap: 10px !important;
    }

    .item-prod-row .status-btn-group {
      width: 100% !important;
    }
  }

  /* HP Landscape Compact (<= 520px tinggi) */
  @media (max-width: 930px) and (max-height: 520px) and (orientation: landscape) {
    .content-area {
      padding: 10px;
    }

    .floor-card {
      padding: 8px;
    }

    .floor-card-img-box {
      height: auto;
      aspect-ratio: 1 / 1;
    }

    .status-toggle-btn {
      min-height: 30px;
      font-size: 9px;
      padding: 4px 2px;
    }
  }

  /* Worksheet Header & Sub-Bar Responsive Typography */
  .ws-top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
  }

  .ws-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 4px;
  }

  .ws-badge-sys {
    background: #0f172a;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 800;
  }

  .ws-main-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
    line-height: 1.3;
  }

  .ws-badge-term {
    background: #ede9fe;
    color: #7c3aed;
    font-weight: 700;
  }

  .ws-sub-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
  }

  .ws-tab-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .ws-sub-bar {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
  }

  .ws-sub-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
  }

  .ws-sync-pills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .ws-pill-sync {
    background: #dcfce7;
    color: #16a34a;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
  }

  .ws-pill-op {
    background: #e0f2fe;
    color: #0284c7;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
  }

  .ws-legend-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 11px;
    font-weight: 700;
  }

  .ws-tip-box {
    background: #fefce8;
    border: 1px solid #fef08a;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 11px;
    color: #854d0e;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
  }

  .ws-tip-icon {
    font-size: 16px;
    flex-shrink: 0;
  }

  /* Tablet Auto-Scaling Typography (<= 1024px) */
  @media (max-width: 1024px) {
    .ws-main-title {
      font-size: 15px;
    }

    .ws-sub-desc {
      font-size: 11.5px;
    }

    .page-title h1 {
      font-size: 15px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 340px;
    }
  }

  /* Mobile Auto-Scaling Typography & Compact Header (<= 600px) */
  @media (max-width: 600px) {
    .topbar {
      padding: 0 10px;
      height: 52px;
      gap: 6px;
    }

    .page-title h1 {
      font-size: 13px;
      max-width: 145px;
    }

    .topbar-right {
      gap: 6px;
    }

    .clock-pill {
      font-size: 10px;
      padding: 4px 8px;
      white-space: nowrap;
    }

    .ws-top-header {
      gap: 8px;
      margin-bottom: 10px;
    }

    .ws-title-row {
      gap: 6px;
      margin-bottom: 4px;
    }

    .ws-badge-sys,
    .ws-badge-term {
      font-size: 10px;
      padding: 3px 8px;
    }

    .ws-main-title {
      font-size: 13.5px;
      line-height: 1.3;
      width: 100%;
      order: 3;
    }

    .ws-sub-desc {
      font-size: 10.5px;
      line-height: 1.35;
    }

    .ws-tab-switcher {
      width: 100%;
      gap: 6px;
    }

    .ws-tab-switcher .btn {
      flex: 1;
      justify-content: center;
      font-size: 11px;
      padding: 7px 6px;
    }

    .ws-sub-bar {
      padding: 10px;
      margin-bottom: 10px;
    }

    .ws-sub-top-row {
      gap: 6px;
      margin-bottom: 6px;
    }

    .ws-pill-sync,
    .ws-pill-op {
      font-size: 10px;
      padding: 3px 8px;
    }

    .ws-legend-row {
      gap: 8px;
      font-size: 10px;
    }

    .ws-tip-box {
      font-size: 10px;
      padding: 6px 8px;
      gap: 6px;
    }

    .ws-tip-icon {
      font-size: 14px;
    }
  }

  /* ==========================================================================
     SOFT GLASSMORPHISM LAVENDER-BLUE THEME (REFERENSI DASHBOARD PRO)
     ========================================================================== */
  body {
    background: radial-gradient(circle at 15% 15%, rgba(196, 181, 253, 0.35), transparent 45%),
                radial-gradient(circle at 85% 20%, rgba(147, 197, 253, 0.35), transparent 42%),
                radial-gradient(circle at 50% 90%, rgba(216, 180, 254, 0.25), transparent 50%),
                linear-gradient(135deg, #eef2ff 0%, #f1f5fe 50%, #f6edff 100%) !important;
    background-attachment: fixed !important;
  }

  .sidebar {
    background: rgba(255, 255, 255, 0.78) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-right: 1px solid rgba(255, 255, 255, 0.85) !important;
    box-shadow: 0 10px 32px rgba(79, 70, 229, 0.08);
  }

  .sidebar-nav .nav-item {
    border-radius: 12px;
    margin: 2px 10px;
    transition: all 0.2s ease;
  }

  .sidebar-nav .nav-item.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(139, 92, 246, 0.16)) !important;
    color: #4338ca !important;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.22);
  }

  .sidebar-cloud-card {
    margin: 10px 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 60%, #a855f7 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px -4px rgba(99, 102, 241, 0.45);
    cursor: pointer;
    transition: transform 0.2s ease;
  }
  .sidebar-cloud-card:hover {
    transform: translateY(-2px);
  }

  .topbar {
    background: rgba(255, 255, 255, 0.72) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.85) !important;
  }

  .global-search-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(199, 210, 254, 0.75);
    border-radius: 999px;
    padding: 6px 14px;
    min-width: 260px;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.06);
  }
  .global-search-pill input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 12px;
    color: var(--text-main);
    width: 100%;
  }

  .content-card,
  .metric-card,
  .dreams-card,
  .floor-card,
  .modal-card {
    background: rgba(255, 255, 255, 0.84) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.92) !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 28px -6px rgba(79, 70, 229, 0.09) !important;
  }

  .dash-glass-grid-2 {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }
  .dash-glass-grid-equal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }
  @media (max-width: 960px) {
    .dash-glass-grid-2,
    .dash-glass-grid-equal {
      grid-template-columns: 1fr;
    }
    .global-search-pill {
      display: none;
    }
  }

  /* Infinite Logo Slider - SOP Running Text (Lembar Kerja Online & Offline) */
  .ws-sop-ticker-wrap {
    width: 100%;
    overflow: hidden;
    padding: 8px 0;
    margin-bottom: 14px;
    background: transparent;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  }
  .ws-sop-ticker-track {
    display: flex;
    width: max-content;
    animation: wsSopMarquee 28s linear infinite;
    will-change: transform;
  }
  .ws-sop-ticker-wrap:hover .ws-sop-ticker-track {
    animation-play-state: paused;
  }
  .ws-sop-ticker-item {
    white-space: nowrap;
    padding-right: 16px;
    color: #ff1e42;
    font-size: 13.5px;
    font-weight: 900;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 30, 66, 0.25);
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
  }
  @keyframes wsSopMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  @media (max-width: 768px) {
    .ws-sop-ticker-item {
      font-size: 12px;
      letter-spacing: 0.6px;
    }
  }
  @media (max-width: 1024px) {
    .floor-card {
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      background: rgba(255, 255, 255, 0.96) !important;
    }
  }

  /* ==========================================================================
     ARTEES PILL PAGINATION BAR (Kapsul Soft Light #f1f5f9 + Ungu ARTEES)
     ========================================================================== */
  .artees-pag-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 16px;
    margin-top: 12px;
    border-top: 1px solid var(--border-color);
    background: #ffffff;
    border-radius: 0 0 12px 12px;
  }
  .artees-pag-wrap.is-floating {
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    margin-top: 16px;
  }
  .artees-pag-right,
  .artees-pag-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  .artees-pag-capsule {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border-radius: 9999px;
    background: #f1f5f9;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(30, 41, 59, 0.06);
    max-width: 100%;
    flex-wrap: wrap;
  }
  .artees-pag-btn {
    border: none;
    background: transparent;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    height: 32px;
    min-width: 32px;
    padding: 0 10px;
    border-radius: 9999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.16s ease;
    line-height: 1;
    white-space: nowrap;
  }
  .artees-pag-btn:hover:not(:disabled):not(.active) {
    background: #ede9fe;
    color: #6d28d9;
  }
  .artees-pag-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
  }
  .artees-pag-btn.is-prev {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    padding: 0 14px;
    box-shadow: 0 1px 2px rgba(30, 41, 59, 0.06);
  }
  .artees-pag-btn.is-prev:hover:not(:disabled) {
    background: #ede9fe;
    border-color: #c4b5fd;
    color: #6d28d9;
  }
  .artees-pag-btn.is-prev:disabled {
    background: transparent;
    border-color: transparent;
    color: #94a3b8;
    opacity: 0.7;
    box-shadow: none;
  }
  .artees-pag-btn.is-next {
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    color: #ffffff;
    padding: 0 16px;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.28);
  }
  .artees-pag-btn.is-next:hover:not(:disabled) {
    filter: brightness(1.07);
    transform: translateY(-0.5px);
  }
  .artees-pag-btn.is-next:disabled {
    background: #e2e8f0;
    color: #94a3b8;
    box-shadow: none;
  }
  .artees-pag-btn.is-num {
    width: 32px;
    padding: 0;
  }
  .artees-pag-btn.is-num.active {
    background: #ffffff;
    color: #6d28d9;
    border: 1px solid #c4b5fd;
    font-weight: 800;
    box-shadow: 0 1px 4px rgba(124, 58, 237, 0.14);
  }
  .artees-pag-dots {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    padding: 0 6px;
    user-select: none;
  }
  .artees-pag-size-btn {
    border: 1px solid transparent;
    background: transparent;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    height: 30px;
    padding: 0 11px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.16s ease;
    white-space: nowrap;
  }
  .artees-pag-size-btn:hover:not(.active) {
    color: #6d28d9;
    background: #ede9fe;
  }
  .artees-pag-size-btn.active {
    background: #ffffff;
    color: #6d28d9;
    border-color: #c4b5fd;
    font-weight: 800;
    box-shadow: 0 1px 4px rgba(124, 58, 237, 0.12);
  }
  .artees-pag-info-capsule {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 2px rgba(30, 41, 59, 0.05);
    white-space: nowrap;
  }
  .artees-pag-info-capsule strong {
    color: #1e293b;
    font-weight: 800;
  }
  @media (max-width: 720px) {
    .artees-pag-wrap {
      justify-content: center;
      padding: 10px 10px;
    }
    .artees-pag-left,
    .artees-pag-right {
      justify-content: center;
      width: 100%;
    }
    .artees-pag-capsule {
      justify-content: center;
    }
    .artees-pag-btn.is-prev,
    .artees-pag-btn.is-next {
      padding: 0 11px;
      font-size: 11px;
      height: 30px;
    }
    .artees-pag-btn.is-num {
      width: 28px;
      height: 28px;
      font-size: 11px;
    }
  }