
/*!
 * NextLab — Sistem Manajemen Laboratorium
 * Copyright (c) 2026 NextLab. All Rights Reserved.
 *
 * Perangkat lunak PROPRIETARY. Dilarang menyalin, memodifikasi, atau
 * mendistribusikan tanpa izin tertulis pemegang hak cipta. Lihat LICENSE.
 */

  :root {
    --primary: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --accent: #0891b2;
    --accent-light: #22d3ee;
    --success: #059669;
    --success-light: #d1fae5;
    --warning: #d97706;
    --warning-light: #fef3c7;
    --danger: #dc2626;
    --danger-50: rgba(220, 38, 38, 0.08);
    --danger-light: #fee2e2;
    --orange: #ea580c;
    --orange-light: #fed7aa;
    --surface: #ffffff;
    --surface-1: #f8fafc;
    --surface-2: #f1f5f9;
    --surface-3: #e2e8f0;
    
    --chart-track: #e2e8f0;

    
    --seri-1: #2a78d6; 
    --seri-2: #eb6834; 
    --seri-3: #1baf7a; 
    --seri-4: #eda100; 
    --seri-5: #e87ba4; 
    --seri-6: #008300; 
    --seri-7: #4a3aa7; 
    --seri-8: #e34948; 
    
    --seri-lain: #94a3b8;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --border-strong: #cbd5e1;
    
    --border-light: #eef2f7;
    --radius-sm: 6px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
    --shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --sidebar-width: 248px;  
    --topbar-height: 64px;
    --public-nav-height: 88px; 
    --font: 'Inter', system-ui, sans-serif;
    
    --font-mono: 'Inter', system-ui, sans-serif;
    
    --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --transition: 0.2s ease;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  
  
  .sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
  }

  code, kbd, samp, pre, tt { font-family: var(--font), sans-serif; }
  
  input, textarea, select, button { font-family: inherit; }
  html { font-size: 14px; scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
  
  body { font-family: var(--font), sans-serif; background: var(--surface-1); color: var(--text-primary); min-height: 100vh; max-width: 100%; }

  
  ::-webkit-scrollbar { width: 6px; height: 6px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
  
  html { scrollbar-width: none; }
  html::-webkit-scrollbar { display: none; }
  #nl-scroll-thumb {
    position: fixed; right: 3px; top: 0; width: 6px; height: 40px;
    border-radius: 999px; background: var(--border-strong);
    opacity: 0; pointer-events: none; z-index: 950;
    transition: opacity .25s ease;
  }
  #nl-scroll-thumb.show { opacity: .85; }

  
  
  #auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    isolation: isolate;
    background:
      linear-gradient(180deg, rgba(10, 14, 24, 0.14), rgba(10, 14, 24, 0.14)),
      url('assets/img/auth-lab.webp');
    background-size: auto, cover;
    background-position: center, center;
    background-attachment: scroll, fixed;
    background-repeat: no-repeat;
  }
  
  
  #auth-container::after {
    content: ''; position: fixed; inset: -25%; z-index: -1;
    background: radial-gradient(closest-side,
      rgba(56, 189, 248, 0.16) 0%, rgba(56, 189, 248, 0) 100%);
    animation: authGlow 22s ease-in-out infinite;
    pointer-events: none;
  }
  @keyframes authGlow {
    0%   { transform: translate3d(-12%, -8%, 0) scale(1); opacity: .7; }
    50%  { transform: translate3d(10%, 9%, 0) scale(1.15); opacity: 1; }
    100% { transform: translate3d(-12%, -8%, 0) scale(1); opacity: .7; }
  }
  @media (prefers-reduced-motion: reduce) {
    #auth-container::after { animation: none; }
  }
  
  .auth-card {
    background: rgba(255, 255, 255, 0.42);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
            backdrop-filter: blur(18px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-xl);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.65),
      0 30px 70px -30px rgba(5, 12, 28, 0.65);
    padding: 40px;
    width: 100%;
    max-width: 460px;
    position: relative;
  }
  .auth-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    justify-content: center;
  }
  .auth-logo-icon {
    width: 40px; height: 40px;
    
    background: var(--primary);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 18px; font-weight: 700;
  }
  .auth-logo-text { font-size: 20px; font-weight: 700; color: var(--text-primary); }
  .auth-logo-sub { font-size: 12px; color: var(--text-muted); font-weight: 400; }
  .auth-title { font-size: 20px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; text-align: center; }
  .auth-subtitle { font-size: 14px; color: var(--text-secondary); margin-bottom: 28px; text-align: center; }

  
  
  
  .auth-page-wrap {
    width: 100%;
    max-width: 900px;
    justify-content: center;
  }
  .auth-split-card {
    display: flex;
    width: 100%;
    max-width: 900px;
    background: rgba(255, 255, 255, 0.42);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
            backdrop-filter: blur(18px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.65),
      0 30px 70px -30px rgba(5, 12, 28, 0.65);
    position: relative;
  }
  
  .auth-brand-panel {
    flex: 0 0 42%;
    
    background: linear-gradient(160deg,
      rgba(30, 58, 138, 0.72) 0%,
      rgba(30, 64, 175, 0.70) 45%,
      rgba(29, 78, 216, 0.86) 78%,
      rgba(23, 63, 175, 0.94) 100%);
    -webkit-backdrop-filter: blur(2px) saturate(1.2);
            backdrop-filter: blur(2px) saturate(1.2);
    color: #fff;
    padding: 44px 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
  }
  .auth-brand-panel::after {
    content: ''; position: absolute; right: -70px; bottom: -70px;
    width: 240px; height: 240px; border-radius: 50%;
    background: rgba(255,255,255,.06); pointer-events: none;
  }
  .auth-brand-panel::before {
    content: ''; position: absolute; left: -50px; top: -50px;
    width: 150px; height: 150px; border-radius: 50%;
    background: rgba(255,255,255,.05); pointer-events: none;
  }
  .auth-brand-panel .auth-logo { justify-content: flex-start; margin-bottom: 0; position: relative; z-index: 1; }
  .auth-brand-panel .auth-logo-text { color: #fff; font-size: 20px; }
  .auth-brand-panel .auth-logo-sub { color: rgba(255,255,255,.65); }
  .auth-brand-headline { margin: 34px 0 26px; position: relative; z-index: 1; }
  .auth-brand-headline h1 {
    font-size: 24px; font-weight: 600; line-height: 1.28;
    letter-spacing: -0.01em; margin: 0; color: #fff;
  }
  
  .auth-brand-headline p {
    font-size: 14px; color: rgba(255,255,255,.95); line-height: 1.6; margin: 12px 0 0;
  }
  .auth-brand-features {
    list-style: none; padding: 0; margin: 0 0 auto;
    display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1;
  }
  .auth-brand-features li {
    display: flex; align-items: center; gap: 12px;
    font-size: 14px; color: rgba(255,255,255,.92);
  }
  .auth-brand-features li i { width: 20px; text-align: center; color: rgba(255,255,255,.85); font-size: 14px; }
  
  .auth-brand-footer { font-size: 12px; color: rgba(255,255,255,1); margin-top: 28px; position: relative; z-index: 1; }

  .auth-form-panel {
    flex: 1 1 auto; min-width: 0;
    padding: 46px 44px;
    display: flex; flex-direction: column; justify-content: center;
  }
  .auth-form-panel .auth-title { text-align: left; font-size: 20px; margin-bottom: 6px; }
  
  .auth-form-panel .auth-subtitle { text-align: left; margin-bottom: 26px; color: #060b16; }
  .auth-form-panel .form-label { color: #060b16; }

  
  .input-icon-wrap { position: relative; }
  .input-icon-left {
    position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
    color: var(--text-muted); font-size: 14px; pointer-events: none;
  }
  .form-control.has-icon-left { padding-left: 38px; }
  .form-control.has-icon-right { padding-right: 40px; }
  .input-icon-right-btn {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    cursor: pointer; color: var(--text-muted); font-size: 14px;
  }
  .input-icon-right-btn:hover { color: var(--text-secondary); }

  
  input[type="password"]::-ms-reveal,
  input[type="password"]::-ms-clear { display: none; }

  
  .auth-error { background: var(--danger-light); color: #991b1b; }

  .auth-form-row { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 20px; }
  .auth-remember { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-secondary); cursor: pointer; }
  .auth-link { font-size: 14px; color: var(--primary); text-decoration: none; font-weight: 500; }
  .auth-link:hover { text-decoration: underline; }
  .auth-form-footer { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); text-align: center; }
  
  .auth-form-footer span { font-size: 14px; color: #060b16; }
  .auth-link-strong { font-size: 14px; color: var(--primary); font-weight: 600; text-decoration: none; }
  .auth-link-strong:hover { text-decoration: underline; }
  .auth-help { text-align: center; margin-top: 12px; font-size: 12px; color: #060b16; }

  @media (max-width: 860px) {
    .auth-split-card { flex-direction: column; max-width: 460px; }
    .auth-card-luxury { flex-direction: column; }
    #register-page { max-width: 560px; }
    .auth-brand-panel { flex: 0 0 auto; padding: 28px 30px; }
    .auth-brand-headline { margin: 20px 0 0; }
    .auth-brand-headline h1 { font-size: 20px; }
    .auth-brand-headline p { display: none; }
    .auth-brand-features { display: none; }
    .auth-brand-footer { display: none; }
    .auth-form-panel { padding: 30px 28px; }
  }

  
  .form-group { margin-bottom: 16px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .form-label { display: block; font-size: 12px; font-weight: 500; color: var(--text-secondary); margin-bottom: 6px; letter-spacing: 0.02em; }
  .form-control {
    width: 100%; height: 40px;
    padding: 0 12px;
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font), sans-serif; font-size: 14px; color: var(--text-primary);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
  }
  
  textarea.form-control {
    height: auto; min-height: 80px;
    padding: 10px 12px;
    resize: vertical;
  }

  .form-control:focus { border-color: var(--primary-light); box-shadow: 0 0 0 3px var(--primary-50); }
  .form-control.error { border-color: var(--danger); }
  .form-control.error:focus { box-shadow: 0 0 0 3px var(--danger-light); }
  
  .form-select, select.form-control {
    appearance: none;
    background-color: var(--surface);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231e40af' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
    padding-right: 36px; cursor: pointer;
  }
  .form-textarea { width: 100%; padding: 10px 12px; background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius); font-family: var(--font), sans-serif; font-size: 14px; color: var(--text-primary); transition: border-color var(--transition), box-shadow var(--transition); outline: none; resize: vertical; min-height: 80px; }
  .form-textarea:focus { border-color: var(--primary-light); box-shadow: 0 0 0 3px var(--primary-50); }
  .form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
  .form-error { font-size: 12px; color: var(--danger); margin-top: 4px; display: none; }
  .form-error.show { display: block; }

  
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 0 16px; height: 38px;
    border: none; border-radius: var(--radius);
    font-family: var(--font), sans-serif; font-size: 14px; font-weight: 500;
    cursor: pointer; text-decoration: none; transition: all var(--transition);
    white-space: nowrap; user-select: none;
  }
  .btn-primary { background: var(--primary); color: white; }
  .btn-primary:hover { background: var(--primary-dark); }
  .btn-primary:disabled { background: var(--border-strong); cursor: not-allowed; color: var(--text-muted); }
  .btn-secondary { background: var(--surface-2); color: var(--text-primary); border: 1px solid var(--border); }
  .btn-secondary:hover { background: var(--surface-3); }
  .btn-success { background: var(--success); color: white; }
  .btn-success:hover { filter: brightness(0.9); }
  .btn-danger { background: var(--danger); color: white; }
  .btn-danger:hover { filter: brightness(0.9); }
  .btn-ghost { background: transparent; color: var(--text-secondary); border: 1px solid var(--border); }
  .btn-ghost:hover { background: var(--surface-2); color: var(--text-primary); }
  .btn-sm { height: 30px; padding: 0 10px; font-size: 12px; }
  
  .btn-xs { height: 24px; padding: 0 8px; font-size: 12px; }
  .btn-icon.btn-xs { width: 24px; }
  .btn-outline-danger { background: transparent; color: var(--danger); border: 1px solid var(--danger); }
  .btn-outline-danger:hover { background: var(--danger); color: white; }
  .btn-lg { height: 44px; padding: 0 24px; font-size: 14px; }
  .btn-icon { width: 38px; padding: 0; }
  .btn-icon.btn-sm { width: 30px; }
  .btn-full { width: 100%; }

  
  #app-container { display: none; }
  #app-container.visible { display: flex; min-height: 100vh; }

  
  .sidebar {
    width: var(--sidebar-width);
    
    height: 100vh;
    overflow-y: auto;
    background: var(--surface);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0;
    padding-top: var(--public-nav-height);
    z-index: 100;
    transition: transform var(--transition);
    will-change: transform;
  }
  .sidebar-backdrop {
    
    position: fixed; inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 90;
    opacity: 0; pointer-events: none;
    transition: opacity var(--transition);
  }
  .sidebar-backdrop.show { opacity: 1; pointer-events: auto; }
  #sidebar-close-btn {
    
    display: none; position: absolute; top: calc(var(--public-nav-height) + 12px); right: 12px; z-index: 1;
    width: 34px; height: 34px; border-radius: 50%; border: none;
    background: var(--surface-2); color: var(--text-secondary); font-size: 14px;
    align-items: center; justify-content: center; cursor: pointer;
    transition: background var(--transition), transform var(--transition);
  }
  #sidebar-close-btn:hover { background: var(--danger-light); color: var(--danger); transform: rotate(90deg); }
  #hero-menu-icon, #public-nav-toggle-icon { display: inline-block; transition: transform 0.2s ease; }
  #hero-menu-icon.fa-xmark, #public-nav-toggle-icon.fa-xmark { transform: rotate(90deg); }
  .sidebar-logo {
    padding: 20px 20px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border);
  }
  .sidebar-logo-icon {
    width: 34px; height: 34px;
    
    background: var(--primary);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 16px; font-weight: 700;
    flex-shrink: 0; overflow: hidden;
  }
  .sidebar-logo-text { color: var(--text-primary); font-size: 18px; font-weight: 700; }
  .sidebar-logo-badge { font-size: 12px; color: var(--text-secondary); background: var(--surface-2); padding: 2px 6px; border-radius: 4px; margin-top: 1px; display: inline-block; }
  
  .sidebar-section { padding: 16px 14px 4px; }
  .sidebar-section-title {
    font-size: 12px; font-weight: 600; color: var(--text-muted);
    letter-spacing: 0.06em; text-transform: uppercase;
    padding: 0 10px 10px; opacity: 0.9;
  }
  .sidebar-nav { list-style: none; display: flex; flex-direction: column; gap: 3px; }
  .nav-item a, .nav-item button {
    display: flex; align-items: center; gap: 12px;
    padding: 9px 12px; width: 100%; min-height: 38px;
    color: var(--text-secondary);
    font-size: 14px; font-weight: 500;
    letter-spacing: -0.01em;
    text-decoration: none;
    border: none; background: transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: color .15s ease, background .15s ease, box-shadow .15s ease, transform .12s ease;
    font-family: var(--font), sans-serif;
    position: relative;
  }
  
  .nav-item a:hover, .nav-item button:hover { color: var(--text-primary); background: var(--surface-2); }
  .nav-item a:hover .nav-icon, .nav-item button:hover .nav-icon { color: var(--text-secondary); }
  .nav-item a:active, .nav-item button:active { transform: scale(0.985); }
  
  .nav-item a.active, .nav-item button.active {
    color: var(--primary);
    background: var(--primary-50);
    font-weight: 600;
  }
  .nav-item a.active .nav-icon, .nav-item button.active .nav-icon { color: var(--primary); }
  .nav-item a.active::before {
    content: ''; position: absolute; left: 3px; top: 50%; transform: translateY(-50%);
    height: 16px; width: 3px; background: var(--primary);
    border-radius: 999px;
  }
  .nav-icon { width: 20px; text-align: center; font-size: 14px; flex-shrink: 0; color: var(--text-muted); transition: color .15s ease; }
  .nav-badge {
    margin-left: auto;
    background: var(--danger); color: white;
    font-size: 12px; font-weight: 700;
    padding: 0 6px; height: 18px; min-width: 18px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 999px; text-align: center;
    box-shadow: 0 0 0 2px var(--surface);
  }
  .nav-item a.active .nav-badge { box-shadow: 0 0 0 2px var(--primary-50); }

  
  #sidebar-collapse-btn {
    position: absolute; top: calc(var(--public-nav-height) + 8px); right: 10px; z-index: 3;
    width: 26px; height: 26px; border: none; border-radius: 7px;
    background: var(--surface-2); color: var(--text-muted); cursor: pointer; font-size: 12px;
    display: flex; align-items: center; justify-content: center;
  }
  #sidebar-collapse-btn:hover { background: var(--border); color: var(--text-primary); }
  #sidebar-collapse-icon { transition: transform .18s ease; }

  
  body.sidebar-collapsed { --sidebar-width: 66px; }
  body.sidebar-collapsed #sidebar-collapse-icon { transform: rotate(180deg); }
  
  body.sidebar-collapsed #sidebar-collapse-btn {
    position: static;
    
    width: calc(100% - 16px); height: 40px;
    margin: 8px auto 2px; font-size: 18px;
  }
  body.sidebar-collapsed .sidebar-logo-text, body.sidebar-collapsed .sidebar-logo-badge { display: none !important; }
  body.sidebar-collapsed .sidebar-logo { justify-content: center; padding: 16px 8px 14px; }
  body.sidebar-collapsed .sidebar-section { padding: 4px 8px; }
  
  body.sidebar-collapsed .sidebar-section-title {
    font-size: 0 !important; letter-spacing: 0; padding: 0;
    height: 1px; margin: 8px 12px 6px; background: var(--border);
    text-transform: none; overflow: hidden;
  }
  body.sidebar-collapsed .sidebar-section:first-of-type .sidebar-section-title { display: none; }
  body.sidebar-collapsed .nav-item a, body.sidebar-collapsed .nav-item button {
    justify-content: center; gap: 0; padding: 11px 0; font-size: 0 !important;
  }
  body.sidebar-collapsed .nav-item a > .nav-icon, body.sidebar-collapsed .nav-item button > .nav-icon { font-size: 18px; width: auto; }
  body.sidebar-collapsed .nav-item a.active::before { display: none; }
  body.sidebar-collapsed .nav-badge {
    position: absolute; top: 5px; right: 13px; margin: 0;
    min-width: 9px; width: 9px; height: 9px; padding: 0; font-size: 0 !important;
    box-shadow: 0 0 0 2px var(--surface);
  }
  body.sidebar-collapsed .sidebar-footer .user-info > div:not(.user-avatar),
  body.sidebar-collapsed .sidebar-footer .user-actions { display: none; }
  body.sidebar-collapsed .sidebar-footer .user-info { justify-content: center; }
  body.sidebar-collapsed .sidebar-footer > button { font-size: 0 !important; justify-content: center; }
  body.sidebar-collapsed .sidebar-footer > button > i { font-size: 14px; }

  .sidebar-footer {
    margin-top: auto;
    padding: 12px;
    border-top: 1px solid var(--border);
  }
  
  .user-info {
    display: flex; align-items: center; gap: 11px;
    padding: 9px 10px;
    border-radius: var(--radius-lg);
    background: var(--surface-1);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
  }
  .user-info:hover { background: var(--surface); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
  .user-avatar {
    width: 34px; height: 34px;
    border-radius: 10px;
    
    background: var(--primary);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 12px; font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 6px -1px rgba(30,64,175,.4);
  }
  .user-name { color: var(--text-primary); font-size: 14px; font-weight: 600; }
  .user-role { color: var(--text-secondary); font-size: 12px; }
  .user-actions { margin-left: auto; color: var(--text-muted); font-size: 12px; }

  
  
  .main-content {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    max-width: calc(100% - var(--sidebar-width));
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
  }

  
  
  #top-navbar { border-bottom: none; }
  #top-navbar #public-nav-links { gap: 30px !important; }
  
  #top-navbar #public-nav-links > a:not(.btn-pill-outline-light),
  #top-navbar #public-nav-links .nav-dropdown > a,
  #top-navbar #public-nav-links > span {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,.72) !important;
    letter-spacing: 0;
    transition: color .18s ease;
    text-decoration: none;
  }
  #top-navbar #public-nav-links > a:not(.btn-pill-outline-light):hover,
  #top-navbar #public-nav-links .nav-dropdown > a:hover,
  #top-navbar #public-nav-links > span:hover { color: #fff !important; }
  #top-navbar #public-nav-links > a.active { color: #fff !important; font-weight: 600 !important; }
  
  #top-navbar #public-nav-links > span {
    padding: 7px 9px; border-radius: 9px;
    transition: background .18s ease;
  }
  #top-navbar #public-nav-links > span:hover { background: rgba(255, 255, 255, 0.1); }

  
  .topbar {
    
    display: none;
  }
  .page-title { font-size: 16px; font-weight: 600; color: var(--text-primary); flex: 1; }
  .search-bar {
    display: flex; align-items: center; gap: 8px;
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0 12px;
    flex: 1; max-width: 400px;
    height: 38px;
    transition: border-color var(--transition), box-shadow var(--transition);
  }
  .search-bar:focus-within { border-color: var(--primary-light); box-shadow: 0 0 0 3px var(--primary-50); }
  .search-bar input { border: none; background: transparent; outline: none; font-family: var(--font), sans-serif; font-size: 14px; color: var(--text-primary); flex: 1; }
  .search-bar .search-icon { color: var(--text-muted); font-size: 14px; }
  .topbar-actions { display: flex; align-items: center; gap: 8px; }

  
  .notif-bell {
    position: relative; display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%; color: #fff; font-size: 16px;
    cursor: pointer; user-select: none; transition: background .15s ease;
  }
  .notif-bell:hover { background: rgba(255, 255, 255, 0.1); }
  .notif-dot {
    position: absolute; top: 6px; right: 6px;
    width: 8px; height: 8px;
    background: var(--danger); border-radius: 50%;
    border: 2px solid var(--surface);
  }
  .bell-badge {
    position: absolute; top: -2px; right: -4px;
    background: var(--danger); color: #fff;
    font-size: 12px; font-weight: 700; line-height: 1;
    padding: 2px 5px; min-width: 16px; height: 16px; box-sizing: border-box;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 999px;
  }
  
  body:not(.nl-app-on) .notif-bell { display: none !important; }

  
  .page-content { padding: 24px; flex: 1; max-width: 1440px; width: 100%; margin: 0 auto; box-sizing: border-box; }
  .section { display: none; }
  
  .section.active { display: block; animation: sectionFadeIn 0.25s ease; }
  @keyframes sectionFadeIn { from { opacity: 0; } to { opacity: 1; } }

  
  .card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
  }
  .card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 12px;
  }
  
  .card-header a { display: inline-flex; align-items: center; min-height: 24px; }
  
  .card-title { font-weight: 600; color: var(--text-primary); }
  .card-subtitle { font-size: 12px; color: var(--text-secondary); }
  .card-body { padding: 20px; }
  
  .card-footer { padding: 14px 20px; border-top: 1px solid var(--border); background: var(--surface-1); border-radius: 0 0 var(--radius-lg) var(--radius-lg); font-size: 14px; }

  
  
  .beranda-search {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: min(680px, calc(100% - 140px));
    z-index: 40;
  }
  .beranda-search-icon {
    position: absolute; left: 20px; top: 29px; transform: translateY(-50%);
    color: #64748b; font-size: 18px; pointer-events: none; z-index: 2;
  }
  #beranda-search-input {
    width: 100%;
    height: 58px;
    padding: 0 46px 0 52px;
    font-size: 16px;
    font-family: var(--font), sans-serif;
    color: #0f172a;
    background: rgba(255, 255, 255, .97);
    border: none;
    border-radius: 999px;
    box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45);
    outline: none;
    transition: box-shadow var(--transition);
  }
  #beranda-search-input::placeholder { color: #64748b; }
  #beranda-search-input:focus {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .35), 0 12px 32px -8px rgba(0, 0, 0, .5);
  }
  .beranda-search-clear {
    position: absolute; right: 12px; top: 29px; transform: translateY(-50%);
    width: 30px; height: 30px; border: none; border-radius: 999px;
    background: transparent; color: #64748b; cursor: pointer;
    display: none; align-items: center; justify-content: center; font-size: 14px; z-index: 2;
    transition: background var(--transition), color var(--transition);
  }
  .beranda-search-clear:hover { background: #e2e8f0; color: #0f172a; }
  .beranda-search.has-text .beranda-search-clear { display: flex; }
  
  .beranda-search-panel {
    display: none;
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 60;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 16px; box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .5);
    max-height: 420px; overflow-y: auto; padding: 8px;
    text-align: left;
  }
  .beranda-search.has-query .beranda-search-panel { display: block; }
  .beranda-search-row {
    display: flex; align-items: center; gap: 12px; padding: 11px 12px;
    border-radius: 10px; cursor: pointer; transition: background var(--transition);
  }
  .beranda-search-row:hover { background: var(--surface-2); }
  .beranda-search-empty { padding: 28px 16px; text-align: center; color: var(--text-muted); font-size: 14px; }
  .dash-hero.search-open { overflow: visible; z-index: 40; }
  @media (max-width: 768px) {
    .beranda-search { width: calc(100% - 32px); }
    #beranda-search-input { height: 52px; font-size: 14px; }
  }

  .dash-hero {
    position: relative; overflow: hidden;
    
    margin: -24px -24px 32px -24px;
    height: 560px;
    display: flex; align-items: flex-end;
  }
  .dash-hero-media { position: absolute; inset: 0; }
  .dash-hero-media img {
    width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; display: block;
    transform: scale(1);
    transform-origin: 50% 42%;
  }
  
  @keyframes heroKenBurns {
    from { transform: scale(1); }
    to   { transform: scale(1.12); }
  }
  .dash-hero.kenburns-play .dash-hero-media img {
    animation: heroKenBurns 18s ease-out both;
  }
  @media (prefers-reduced-motion: reduce) {
    .dash-hero.kenburns-play .dash-hero-media img { animation: none; }
  }
  .dash-hero-media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(8,15,35,.90) 0%, rgba(8,15,35,.62) 34%, rgba(8,15,35,.14) 64%, rgba(8,15,35,0) 100%);
  }
  
  .dash-hero--sub { height: 320px; margin-bottom: 24px; }
  @media (max-width: 768px) { .dash-hero--sub { height: 240px; } }
  .dash-hero-body { position: relative; z-index: 1; padding: 40px 44px; max-width: 640px; color: #fff; }
  .dash-hero-eyebrow {
    font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    color: rgba(255,255,255,.8); margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
  }
  .dash-hero-title {
    font-family: var(--font-serif), serif; font-weight: 500; font-size: 36px; line-height: 1.12;
    letter-spacing: -.01em; margin-bottom: 14px; text-wrap: balance;
  }
  .dash-hero-subtitle { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.88); margin-bottom: 24px; max-width: 520px; }
  .dash-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
  .btn-pill-outline-light {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 22px; border-radius: 999px;
    border: 1.5px solid rgba(255,255,255,.75); background: transparent; color: #fff;
    font-family: var(--font), sans-serif; font-size: 14px; font-weight: 500; cursor: pointer;
    transition: background var(--transition), color var(--transition);
  }
  .btn-pill-outline-light:hover { background: #fff; color: #0b1220; }
  .btn-pill-outline-light.solid { background: #fff; color: #0b1220; }
  .btn-pill-outline-light.solid:hover { background: rgba(255,255,255,.85); }
  @media (max-width: 768px) {
    .dash-hero { height: 400px; margin: -14px -14px 28px -14px; }
    .dash-hero-body { padding: 24px 22px; }
    .dash-hero-title { font-size: 30px; }
    .dash-hero-subtitle { font-size: 14px; }
  }

  
  
  #top-navbar { background: #0d1117; transition: transform .35s ease, background .3s ease; }
  #top-navbar.nav-hidden { transform: translateY(-100%); }

  body.hero-mode .main-content { margin-left: 0; width: 100%; max-width: 100%; }
  body.hero-mode .sidebar { transform: translateX(-100%); z-index: 600; }
  body.hero-mode .sidebar.open { transform: translateX(0); }
  body.hero-mode .page-content { padding-top: 0; }
  body.hero-mode .dash-hero {
    height: 100vh;
    margin-top: 0;
    margin-bottom: 32px;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
  }
  
  #hero-menu-toggle {
    position: fixed; left: 0; top: 50%; transform: translateY(-50%);
    
    z-index: 499;
    display: none; align-items: center; gap: 8px;
    padding: 12px 18px 12px 15px;
    background: #16a34a; color: #fff;
    font-family: var(--font), sans-serif; font-size: 14px; font-weight: 600; letter-spacing: .01em;
    border: none; border-radius: 0 14px 14px 0;
    box-shadow: 0 6px 20px -4px rgba(22,163,74,.5);
    cursor: pointer;
    transition: background .2s ease, padding-left .2s ease, box-shadow .2s ease;
  }
  #hero-menu-toggle i { font-size: 14px; }
  #hero-menu-toggle:hover { background: #15803d; padding-left: 20px; box-shadow: 0 8px 24px -4px rgba(22,163,74,.6); }
  
  body.hero-mode #hero-menu-toggle { display: inline-flex; }
  body.hero-mode #top-navbar {
    position: fixed !important;
    background: transparent !important;
    
    background-image: linear-gradient(180deg, rgba(8,15,35,.12) 0%, rgba(8,15,35,.04) 55%, rgba(8,15,35,0) 100%) !important;
    border-bottom: none;
  }
  body.hero-mode #top-navbar.nav-solid {
    background: #0d1117 !important;
    background-image: none !important;
    border-bottom: none;
  }

  
  .feature-band {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
    margin: 60px 0;
  }
  .feature-band.reverse .feature-media { order: 2; }
  .feature-band.reverse .feature-text { order: 1; }
  .feature-eyebrow {
    font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--primary); margin-bottom: 12px;
  }
  .feature-text h2 {
    font-size: 30px; font-weight: 700; line-height: 1.22; letter-spacing: -.02em;
    color: var(--text-primary); margin: 0 0 16px;
  }
  .feature-text p { font-size: 14px; line-height: 1.7; color: var(--text-secondary); margin: 0 0 18px; max-width: 480px; }
  .feature-cta {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 600; color: var(--primary); text-decoration: none; cursor: pointer;
    transition: gap .2s ease;
    
    min-height: 24px;
  }
  .feature-cta:hover { gap: 13px; }
  .feature-media {
    border-radius: 20px; min-height: 300px;
    display: flex; align-items: center; justify-content: center; padding: 34px;
    position: relative; overflow: hidden;
  }
  
  .feature-media.grad-blue { background: #eef4ff; }
  .feature-media.grad-teal { background: #edfdff; }
  .feature-media.grad-green { background: #f0fdf4; }
  .feature-media::after {
    content: ''; position: absolute; width: 180px; height: 180px; border-radius: 50%;
    background: rgba(255,255,255,.35); right: -50px; bottom: -50px; pointer-events: none;
  }
  
  .feature-media.feature-media-gambar { padding: 22px; background: var(--surface-2); }
  .feature-media.feature-media-gambar::after { content: none; }
  .feature-media-gambar img {
    position: relative; z-index: 1; display: block;
    width: 100%; height: auto; max-width: 460px;
    border-radius: 12px; border: 1px solid var(--border);
    box-shadow: 0 14px 34px -10px rgba(15,23,42,.22);
  }
  
  .fmock { position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 14px 34px -10px rgba(15,23,42,.22); width: 100%; max-width: 350px; padding: 16px 18px; }
  .fmock-title { font-size: 12px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
  .fmock-row { display: flex; align-items: center; gap: 11px; padding: 9px 0; border-bottom: 1px solid var(--surface-2); }
  .fmock-row:last-child { border-bottom: none; }
  .fmock-ic { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
  .fmock-nm { font-size: 14px; font-weight: 500; color: var(--text-primary); }
  .fmock-sub { font-size: 12px; color: var(--text-muted); }
  .fmock-badge { margin-left: auto; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
  .fmock-step { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
  .fmock-stepno { width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .fmock-stepno.done { background: var(--success); }
  .fmock-line { flex: 1; height: 8px; border-radius: 4px; background: var(--surface-2); }
  .fmock-search { display: flex; align-items: center; gap: 9px; background: var(--surface-1); border: 1px solid var(--border); border-radius: 999px; padding: 10px 14px; margin-bottom: 12px; font-size: 12px; color: var(--text-muted); }
  .fmock-search i { color: var(--primary); }
  
  .fmock-search-input {
    flex: 1; min-width: 0;
    
    -webkit-appearance: none;
            appearance: none;
    border: none; background: none; outline: none;
    
    padding: 0; height: auto; line-height: inherit;
    min-height: 44px; margin: -10px 0;
    font: inherit; color: var(--text-primary);
  }
  .fmock-search-input::placeholder { color: inherit; opacity: .85; }
  
  .fmock-search-input::-webkit-search-cancel-button { display: none; }
  
  .fmock-search-input:focus-visible { outline: none; }
  .fmock-search:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .16);
  }
  
  
  .fmock-foot {
    display: flex; flex-wrap: wrap; gap: 5px;
    justify-content: center;
    margin-top: 12px;
    
    font-size: 12px; color: #475569;
  }
  
  .fmock-foot span {
    display: inline-flex; align-items: center; gap: 5px;
    background: var(--surface-1); border: 1px solid var(--border);
    border-radius: 999px; padding: 4px 8px;
    white-space: nowrap;
  }
  .fmock-foot b { font-weight: 700; color: var(--text-primary); }
  .fmock-panel { display: none; }
  .fmock-panel.active { display: block; animation: fmockPanelIn .3s ease; }
  @keyframes fmockPanelIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

  @media (max-width: 860px) {
    .feature-band { grid-template-columns: 1fr; gap: 26px; margin: 40px 0; }
    .feature-band.reverse .feature-media { order: 0; }
    .feature-band.reverse .feature-text { order: 0; }
    .feature-text h2 { font-size: 20px; }
    .feature-media { min-height: 240px; padding: 26px; }
  }

  
  .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-bottom: 28px; }
  .stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    display: flex; align-items: flex-start; gap: 14px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
    cursor: pointer;
  }
  .stat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--primary-100); }
  .stat-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
  }
  .stat-icon.blue { background: var(--primary-100); color: var(--primary); }
  .stat-icon.teal { background: #cffafe; color: #0e7490; }
  .stat-icon.green { background: var(--success-light); color: var(--success); }
  .stat-icon.yellow { background: var(--warning-light); color: var(--warning); }
  .stat-icon.orange { background: var(--orange-light); color: var(--orange); }
  .stat-icon.red { background: var(--danger-light); color: var(--danger); }
  .stat-icon.purple { background: #ede9fe; color: #7c3aed; }
  .stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; margin-bottom: 4px; }
  
  .stat-value { font-size: 30px; font-weight: 700; color: var(--text-primary); line-height: 1.1; }
  .stat-trend { font-size: 12px; color: var(--text-muted); margin-top: 3px; }

  
  .table-container { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
  table { width: 100%; border-collapse: collapse; font-size: 14px; }
  thead { background: var(--surface-1); }
  thead th {
    padding: 12px 14px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
  }
  thead th:hover { color: var(--text-primary); }
  thead th .sort-icon { margin-left: 4px; color: var(--text-muted); font-size: 12px; }
  tbody tr { border-bottom: 1px solid var(--surface-2); transition: background var(--transition); }
  tbody tr:last-child { border-bottom: none; }
  tbody tr:hover { background: var(--primary-50); }
  tbody td { padding: 12px 14px; color: var(--text-primary); vertical-align: middle; }
  .table-actions { display: flex; gap: 6px; }

  
  .badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 12px; font-weight: 500;
    white-space: nowrap;
  }
  .badge-dot { width: 6px; height: 6px; border-radius: 50%; }
  .badge-success { background: var(--success-light); color: #065f46; }
  .badge-warning { background: var(--warning-light); color: #92400e; }
  .badge-danger { background: var(--danger-light); color: #991b1b; }
  .badge-orange { background: var(--orange-light); color: #9a3412; }
  .badge-info { background: var(--primary-100); color: #1e40af; }
  .badge-purple { background: #ede9fe; color: #6d28d9; }
  .badge-gray { background: var(--surface-2); color: var(--text-secondary); }

  
  .toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
  .toolbar .spacer { flex: 1; }
  .search-input-sm {
    display: flex; align-items: center; gap: 8px;
    padding: 0 10px; height: 34px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
  }
  
  .search-input-sm input { border: none; background: transparent; outline: none; font-family: var(--font), sans-serif; font-size: 14px; color: var(--text-primary); width: 180px; align-self: stretch; min-width: 0; }

  
  .tabs { display: flex; gap: 2px; background: var(--surface-1); padding: 4px; border-radius: var(--radius); border: 1px solid var(--border); margin-bottom: 20px; }
  .tab-btn {
    flex: 1; padding: 7px 14px;
    background: transparent;
    border: none; border-radius: 6px;
    font-family: var(--font), sans-serif; font-size: 14px; font-weight: 400;
    color: var(--text-secondary);
    cursor: pointer; transition: all var(--transition);
  }
  .tab-btn:hover { color: var(--text-primary); background: var(--surface-2); }
  .tab-btn.active { background: var(--surface); color: var(--primary); font-weight: 500; box-shadow: var(--shadow-sm); }

  

  
  #rr-alat-list .form-group,
  #rr-bahan-list .form-group { margin-bottom: 0; }

  
  .inline-step {
    color: var(--text-muted);
    background: var(--surface);
    transition: all .2s;
  }
  .inline-step:hover { background: var(--primary-50); color: var(--primary); }
  .inline-step.active {
    background: var(--primary-50);
    color: var(--primary);
  }
  .inline-step.active div:first-child { color: var(--primary); }
  .inline-step.completed {
    background: var(--success-light);
    color: var(--success);
  }
  .inline-step.completed div:first-child { color: var(--success); }

  
  .inline-form-step { animation: slideUp 0.2s ease; }

  
  .upload-area.drag-over {
    border-color: var(--primary-light);
    background: var(--primary-50);
  }
  .upload-area.has-file {
    border-color: var(--success);
    background: var(--success-light);
  }
  .upload-area.error {
    border-color: var(--danger);
    background: var(--danger-light);
  }
  .form-control.input-locked, .form-control[readonly].input-locked {
    background: var(--surface-2);
    color: var(--text-secondary);
    cursor: not-allowed;
  }

  
  .modal-overlay {
    position: fixed; inset: 0;
    
    z-index: 600;
    background: rgba(15, 23, 42, 0.6);
    display: none; align-items: center; justify-content: center; padding: 24px;
    backdrop-filter: blur(4px);
  }
  .modal-overlay.show { display: flex; animation: fadeIn 0.15s ease; }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  @keyframes slideUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
  .modal {
    background: var(--surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%; max-width: 560px;
    
    max-height: 90vh;
    max-height: 90dvh;
    display: flex; flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.2s ease;
  }
  .modal-lg { max-width: 760px; }
  .modal-xl { max-width: 1200px; }
  
  .modal-box {
    background: var(--surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-height: 90vh;
    max-height: 90dvh;
    display: flex; flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.2s ease;
  }
  
  .modal-w-400 { max-width: 400px; }
  .modal-w-440 { max-width: 440px; }
  .modal-w-600 { max-width: 600px; }
  .modal-w-700 { max-width: 700px; }
  .modal-w-800 { max-width: 800px; }
  .modal-fullscreen {
    max-width: calc(100vw - 48px);
    max-height: calc(100vh - 48px);
    width: calc(100vw - 48px);
    height: calc(100vh - 48px);
    
    max-height: calc(100dvh - 48px);
    height: calc(100dvh - 48px);
  }
  .modal-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: var(--surface); z-index: 1;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    flex-shrink: 0;
  }
  .modal-title { font-size: 16px; font-weight: 600; }
  .modal-body { padding: 20px 24px; overflow-y: auto; flex: 1; }

  
  .detail-photo-row { display: flex; gap: 24px; }
  .detail-photo-col { flex: 0 0 340px; max-width: 340px; }
  .detail-photo-col img {
    display: block; width: 100%; height: auto; max-height: 320px;
    border-radius: var(--radius-lg); border: 1px solid var(--border);
    object-fit: contain; background: var(--surface-1);
  }
  .detail-photo-info { flex: 1; min-width: 0; }
  @media (max-width: 860px) {
    .detail-photo-row { flex-direction: column; }
    .detail-photo-col { flex: none; max-width: 100%; width: 100%; }
    .detail-photo-col img { max-height: 240px; }
  }
  
  .detail-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  @media (max-width: 560px) {
    .detail-info-grid { grid-template-columns: 1fr; gap: 16px; }
  }
  
  @media (max-width: 720px) {
    .lap-grid-2 { grid-template-columns: 1fr !important; }
  }
  .modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    display: flex; justify-content: flex-end; gap: 10px;
    background: var(--surface);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    flex-shrink: 0;
  }

  
  .pagination { display: flex; align-items: center; gap: 6px; }
  .pagination-info { font-size: 12px; color: var(--text-secondary); margin-right: 8px; }
  .page-btn {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 12px; font-weight: 500; color: var(--text-secondary);
    background: var(--surface);
    cursor: pointer; transition: all var(--transition);
  }
  .page-btn:hover { border-color: var(--primary-light); color: var(--primary); }
  .page-btn.active { background: var(--primary); border-color: var(--primary); color: white; }

  
  .notif-panel {
    
    position: fixed; top: calc(var(--public-nav-height) + 8px); right: 16px;
    width: 340px; max-height: 480px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    z-index: 600; display: none; overflow-y: auto;
    animation: slideUp 0.15s ease;
  }
  .notif-panel.show { display: block; }
  .notif-header { padding: 14px 16px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
  .notif-header h4 { font-size: 14px; font-weight: 600; }
  .notif-item { display: flex; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--surface-1); transition: background var(--transition); cursor: pointer; }
  .notif-item:hover { background: var(--surface-1); }
  .notif-item:last-child { border-bottom: none; }
  .notif-icon { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
  .notif-text { font-size: 12px; color: var(--text-primary); line-height: 1.5; }
  .notif-time { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
  .notif-unread { background: var(--primary-50); }

  
  .chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
  .mini-chart { height: 180px; position: relative; overflow: hidden; }
  .bar-chart { display: flex; align-items: flex-end; gap: 8px; height: 140px; padding: 0 4px; }
  .bar { flex: 1; border-radius: 4px 4px 0 0; transition: filter var(--transition); cursor: pointer; position: relative; }
  .bar:hover { filter: brightness(0.85); }
  .bar-label { text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 6px; }
  .bar-value { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 500; color: var(--text-secondary); white-space: nowrap; }

  
  .donut-wrap { display: flex; align-items: center; gap: 20px; }
  .donut-svg { flex-shrink: 0; }
  .donut-legend { display: flex; flex-direction: column; gap: 8px; }
  .legend-item { display: flex; align-items: center; gap: 8px; font-size: 12px; }
  .legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

  
  .loc-tree { font-size: 12px; color: var(--text-secondary); }
  .loc-badge { display: inline-flex; align-items: center; gap: 4px; background: var(--primary-100); color: var(--primary); padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 500; }
  
  .loc-badge-link { text-decoration: none; cursor: pointer; transition: background .12s, box-shadow .12s; }
  .loc-badge-link:hover { background: var(--primary); color: #fff; box-shadow: 0 1px 4px rgba(37,99,235,.35); }
  .loc-badge-link:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

  
  .upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    background: var(--surface-1);
  }
  .upload-area:hover { border-color: var(--primary-light); background: var(--primary-50); }
  .upload-area i { font-size: 30px; color: var(--text-muted); margin-bottom: 8px; }
  .upload-area p { font-size: 14px; color: var(--text-secondary); }
  .upload-area span { font-size: 12px; color: var(--text-muted); }

  
  
  .sds-scan-banner {
    display: flex; align-items: center; gap: 12px;
    background: var(--primary-50); border: 1px solid var(--primary-light);
    border-radius: var(--radius-lg); padding: 12px 16px;
    animation: slideUp .2s ease;
  }
  
  .sds-autofill {
    background: var(--warning-light) !important;
    border-color: var(--warning) !important;
  }

  
  .progress-bar { height: 6px; background: var(--surface-2); border-radius: 3px; overflow: hidden; }
  
  #section-dashboard .progress-bar { background: var(--chart-track); }
  .progress-fill { height: 100%; border-radius: 3px; transition: width 0.5s ease; }

  
  .detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .detail-item {}
  .detail-label { font-size: 12px; font-weight: 500; color: var(--text-muted); letter-spacing: 0.03em; margin-bottom: 3px; }
  .detail-value { font-size: 14px; color: var(--text-primary); font-weight: 400; }

  
  .section-divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }

  
  .captcha-box {
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 12px 14px;
    display: flex; align-items: center; gap: 10px;
    background: var(--surface-1); font-size: 14px;
  }
  .captcha-box input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; accent-color: var(--primary); }

  
  .breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }
  .breadcrumb a { color: var(--text-secondary); text-decoration: none; }
  .breadcrumb a:hover { color: var(--primary); }
  .breadcrumb .sep { color: var(--border-strong); }

  
  @media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .main-content { margin-left: 0; width: 100%; max-width: 100%; }
    
    #hero-menu-toggle { display: inline-flex !important; }
    .sidebar.open #sidebar-close-btn { display: flex !important; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .chart-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .detail-grid { grid-template-columns: 1fr; }
    .modal { max-width: 100%; }

    
    .topbar { padding: 0 14px; gap: 10px; }
    
    .page-title { flex: 0 0 0; min-width: 0; overflow: hidden; }
    .search-bar { max-width: none; min-width: 0; }
    #edit-mode-btn #edit-mode-label { display: none; }
    
    #edit-mode-btn { padding: 0 10px !important; min-height: 36px; }
    .page-content { padding: 14px; }
    .card-header { flex-wrap: wrap; row-gap: 8px; }
    .modal-overlay { padding: 10px; }
    .modal-header { padding: 14px 16px 12px; }
    .modal-body { padding: 14px 16px; }
    .modal-footer { padding: 12px 16px; flex-wrap: wrap; }
    .auth-card { padding: 28px 22px; }

    
    .footer-aksi-row { flex-wrap: wrap; }
    .footer-aksi-row > div:last-child { width: 100%; justify-content: flex-end; }

    
    #rr-sticky-header { flex-wrap: wrap; row-gap: 10px; }
    #rr-sticky-actions { width: 100%; justify-content: flex-end; }

    
    [style*="grid-template-columns:1fr 1fr"],
    [style*="grid-template-columns: 1fr 1fr"],
    [style*="grid-template-columns:2fr 1fr 1fr"],
    [style*="grid-template-columns:repeat(4,1fr)"],
    [style*="grid-template-columns: repeat(3, 1fr)"],
    [style*="grid-template-columns: repeat(2, 1fr)"] {
      grid-template-columns: 1fr !important;
    }
  }

  
  @media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    #rr-sticky-actions .btn,
    .footer-aksi-row > div:last-child .btn { flex: 1; }
    .modal-footer { justify-content: stretch; }
    .modal-footer .btn { flex: 1; }

    
    .modal-header { flex-wrap: wrap; row-gap: 8px; }
    .modal-header:has(> div:last-child) > div:first-child { flex: 1 1 100%; min-width: 0; }
    .modal-header:has(> div:last-child) > div:last-child { flex: 1 1 100%; flex-wrap: wrap; justify-content: flex-end; }

    
    .modal-header > div:first-child { min-width: 0; }
  }

  
  @media (max-width: 1280px) {
    #top-navbar { padding: 0 16px !important; }
    #public-nav-toggle { display: inline-flex !important; align-items: center; justify-content: center; }
    #public-nav-links {
      display: none !important;
      position: absolute; top: 100%; left: 0; right: 0;
      background: #0d1117;
      flex-direction: column !important;
      align-items: flex-start !important;
      gap: 2px !important;
      padding: 10px 20px 18px;
      box-shadow: 0 14px 28px rgba(0,0,0,.35);
      max-height: calc(100vh - var(--public-nav-height));
      overflow-y: auto;
    }
    #public-nav-links.open { display: flex !important; }
    
    #public-nav-links a, #top-navbar #public-nav-links > span { width: 100%; padding: 12px 2px; }
  }

  
  @media (max-width: 768px) {
    .btn-icon { width: 42px; height: 42px; }
    .btn-icon.btn-sm { width: 38px; height: 38px; }
  }

  

  
  #edit-panel {
    position: fixed;
    top: var(--public-nav-height); right: 0;
    width: 400px;
    height: calc(100vh - var(--public-nav-height));
    height: calc(100dvh - var(--public-nav-height));
    background: var(--surface);
    border-left: 1px solid var(--border);
    box-shadow: var(--shadow-xl);
    z-index: 530;
    display: flex;
    flex-direction: column;
    transform: translateX(110%);
    
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.3s;
    will-change: transform;
  }
  #edit-panel.open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s;
  }
  #edit-panel-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--surface-1);
    flex-shrink: 0;
  }
  #edit-panel-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  #edit-panel-body {
    overflow-y: auto;
    flex: 1;
    padding: 0;
  }
  #edit-panel-footer {
    padding: 14px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 10px;
    background: var(--surface);
    flex-shrink: 0;
  }

  
  .edit-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    background: var(--surface-1);
    overflow-x: auto;
    flex-shrink: 0;
  }
  .edit-tab-btn {
    flex-shrink: 0;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-family: var(--font), sans-serif;
    transition: all 0.15s;
  }
  .edit-tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: var(--surface);
  }
  .edit-tab-btn:hover:not(.active) {
    color: var(--text-primary);
    background: var(--surface-2);
  }

  
  .edit-section {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
  }
  .edit-section:last-child { border-bottom: none; }
  .edit-section-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .edit-field {
    margin-bottom: 12px;
  }
  .edit-field:last-child { margin-bottom: 0; }
  .edit-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 4px;
    display: block;
  }
  .edit-input {
    width: 100%;
    padding: 7px 10px;
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font), sans-serif;
    font-size: 12px;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
  }
  .edit-input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 2px var(--primary-50);
  }
  .edit-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  
  #edit-mode-btn.active {
    background: #eff6ff;
    color: var(--primary);
    border-color: var(--primary-light);
  }

  
  #edit-overlay {
    
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.2);
    z-index: 520;
    opacity: 0; pointer-events: none;
    backdrop-filter: blur(1px);
    transition: opacity var(--transition);
  }
  #edit-overlay.show { opacity: 1; pointer-events: auto; }

  
  .edit-tab-pane { display: none; }
  .edit-tab-pane.active { display: block; }

  
  .stat-card.edit-hover {
    position: relative;
    outline: 2px dashed var(--primary-light);
    outline-offset: 2px;
  }
  .stat-card.edit-hover::after {
    content: 'Klik untuk edit';
    position: absolute;
    top: 4px; right: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    opacity: 0;
    transition: opacity 0.15s;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .stat-card.edit-hover:hover::after { opacity: 1; }

  
  body.edit-mode-active [data-editable] {
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.15s;
    outline: 1.5px dashed transparent;
    outline-offset: 2px;
  }
  body.edit-mode-active [data-editable]:hover {
    background: #dbeafe55;
    outline-color: var(--primary-light);
  }

  
  .edit-color-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 4px;
  }
  .edit-color-dot {
    width: 22px; height: 22px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.1s, border-color 0.1s;
  }
  .edit-color-dot:hover, .edit-color-dot.selected { transform: scale(1.15); border-color: white; box-shadow: 0 0 0 2px var(--primary); }

  
  @keyframes saveFlash {
    0% { background: #d1fae5; }
    100% { background: transparent; }
  }
  .saved-flash { animation: saveFlash 1s ease; }

  
  #edit-panel-tabs {
    flex-shrink: 0;
  }
  
  #register-page { display: none; width: 100%; max-width: 980px; }

  
  .auth-card-luxury {
    --reg-gold: #d4af37;
    --reg-gold-light: #f3dd9c;
    --reg-text: #f4f6fb;
    --reg-text-dim: #93a0b8;
    --reg-border: rgba(255,255,255,0.09);
    position: relative;
    display: flex;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    
    background: rgba(255, 255, 255, 0.42);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
            backdrop-filter: blur(18px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.65),
      0 30px 70px -30px rgba(5, 12, 28, 0.65);
  }
  .auth-card-luxury::before { display: none; }
  .reg-brand-panel { display: none; }

  
  .reg-brand-panel {
    position: relative;
    flex: 0 0 308px;
    padding: 36px 32px;
    display: flex; flex-direction: column;
    overflow: hidden;
  }
  .reg-brand-panel::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0.15) 75%);
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0.15) 75%);
    pointer-events: none;
  }
  .reg-brand-content { position: relative; z-index: 2; display: flex; flex-direction: column; height: 100%; }
  .reg-brand-panel .auth-logo { justify-content: flex-start; margin-bottom: 30px; }
  .reg-brand-panel .auth-logo-text { color: var(--reg-text); }
  .reg-brand-panel .auth-logo-sub { color: var(--reg-text-dim); }

  .reg-eyebrow {
    font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--reg-gold-light); margin-bottom: 10px;
  }
  .reg-headline {
    font-size: 20px; font-weight: 600; line-height: 1.32; color: var(--reg-text);
    margin-bottom: 26px; letter-spacing: -0.01em;
  }
  .reg-feature-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: auto; }
  .reg-feature-item { display: flex; align-items: flex-start; gap: 11px; }
  .reg-feature-icon {
    flex-shrink: 0; width: 28px; height: 28px; border-radius: 9px;
    
    background: rgba(212,175,55,0.20);
    border: 1px solid rgba(212,175,55,0.35);
    display: flex; align-items: center; justify-content: center;
    color: var(--reg-gold-light); font-size: 12px;
  }
  .reg-feature-text { font-size: 14px; color: var(--reg-text-dim); line-height: 1.5; padding-top: 4px; }

  .reg-brand-footer {
    position: relative; z-index: 2;
    margin-top: 24px; padding-top: 18px;
    border-top: 1px solid var(--reg-border);
    font-size: 12px; color: var(--reg-text-dim); letter-spacing: 0.02em;
  }

  
  .reg-form-panel {
    flex: 1 1 auto;
    min-width: 0;
    padding: 34px 40px 30px;
    max-height: 92vh;
    overflow-y: auto;
  }
  .auth-card-luxury .auth-title {
    text-align: left; color: var(--reg-text); font-size: 20px; margin-bottom: 5px;
  }
  .auth-card-luxury .auth-subtitle {
    text-align: left; color: var(--reg-text-dim); margin-bottom: 24px; font-size: 14px;
  }

  .auth-card-luxury .form-group { margin-bottom: 14px; }
  
  .auth-card-luxury .form-row { grid-template-columns: 1fr 1fr; gap: 14px; }
  .form-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .auth-card-luxury .form-label {
    color: var(--reg-text-dim); font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase; font-weight: 600;
  }
  .auth-card-luxury .form-control {
    height: 38px; background: rgba(255,255,255,0.04); border: 1px solid var(--reg-border);
    color: var(--reg-text); font-size: 14px;
  }
  .auth-card-luxury .form-control::placeholder { color: rgba(244,246,251,0.32); }
  .auth-card-luxury .form-control:focus {
    border-color: var(--reg-gold);
    background: rgba(255,255,255,0.06);
  }
  .auth-card-luxury .form-control.error { border-color: var(--danger); }

  .reg-bottom-row { display: flex; align-items: stretch; gap: 14px; margin-top: 4px; }
  .auth-card-luxury .captcha-box {
    flex: 1 1 auto; background: rgba(255,255,255,0.04); border: 1px solid var(--reg-border); color: var(--reg-text-dim);
  }
  .auth-card-luxury .captcha-box input[type="checkbox"] { accent-color: var(--reg-gold); }
  .auth-card-luxury .captcha-box i { color: var(--reg-gold-light) !important; }

  .auth-card-luxury #register-btn {
    flex: 0 0 auto; min-width: 188px;
    
    background: var(--reg-gold);
    color: #1a1404; font-weight: 700; letter-spacing: 0.01em;
    box-shadow: 0 10px 24px -6px rgba(212,175,55,0.5);
  }
  .auth-card-luxury #register-btn:hover { filter: brightness(1.06); }
  .auth-card-luxury #register-btn:disabled {
    background: rgba(255,255,255,0.07); color: rgba(244,246,251,0.3); box-shadow: none;
  }

  .auth-card-luxury .pwd-strength-wrap { margin-bottom: 16px; }
  .auth-card-luxury .pwd-strength-wrap span { color: var(--reg-text-dim); }
  .auth-card-luxury .progress-bar { background: rgba(255,255,255,0.08); }

  .reg-footer-link { margin-top: 16px; text-align: center; }
  .reg-footer-link span { color: var(--reg-text-dim); }
  .reg-footer-link a { color: var(--reg-gold-light); }

  
  
  .reg-form-panel {
    background: transparent !important;
  }
  .reg-form-panel .auth-title {
    color: #060b16 !important;
  }
  
  .reg-form-panel .auth-subtitle {
    color: #060b16 !important;
  }
  .reg-form-panel .form-label {
    color: #060b16 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
  }
  .reg-form-panel .form-control {
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #060b16 !important;
    font-size: 14px !important;
  }
  .reg-form-panel .form-control::placeholder {
    color: #94a3b8 !important;
  }
  .reg-form-panel .form-control:focus {
    border-color: var(--primary-light) !important;
    box-shadow: 0 0 0 3px var(--primary-50) !important;
    background: #ffffff !important;
  }
  .reg-form-panel .form-error {
    color: var(--danger) !important;
  }
  
  .reg-form-panel .pwd-strength-wrap span {
    color: #060b16 !important;
  }
  .reg-form-panel .progress-bar {
    background: #e2e8f0 !important;
  }
  .reg-form-panel #register-btn {
    background: var(--primary) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px -3px rgba(59,130,246,0.45) !important;
    font-weight: 600 !important;
  }
  .reg-form-panel #register-btn:hover:not(:disabled) {
    filter: brightness(1.06) !important;
  }
  .reg-form-panel #register-btn:disabled {
    background: #e2e8f0 !important;
    color: #94a3b8 !important;
    box-shadow: none !important;
  }
  .reg-footer-link a {
    color: var(--primary) !important;
  }
  
  .reg-footer-link span {
    color: #060b16 !important;
  }

  
  @media (max-width: 880px) {
    .reg-form-panel { padding: 30px 28px 26px; max-height: none; }
  }
  @media (max-width: 640px) {
    .form-row-3 { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 500px) {
    .form-row-3 { grid-template-columns: 1fr; }
    .auth-card-luxury .form-row { grid-template-columns: 1fr; }
    .reg-bottom-row { flex-direction: column; }
    .auth-card-luxury #register-btn { width: 100%; min-width: 0; }
  }

  
  .tentang-hero {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-sizing: border-box;
    min-height: 440px;
    height: auto;
    display: flex;
    align-items: flex-end;
    padding: 48px 44px;
    margin-bottom: 28px;
    background:
      
      linear-gradient(180deg, rgba(15,23,42,0.82), rgba(15,23,42,0.62)),
      url('assets/img/tentang/hero-tentang.jpg') center/cover;
    box-shadow: var(--shadow-lg);
  }
  .tentang-hero-content { max-width: 640px; width: 100%; }
  .tentang-hero-eyebrow {
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
  }
  .tentang-hero h1 {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.18;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .tentang-hero p {
    color: rgba(255,255,255,0.82);
    font-size: 14px;
    line-height: 1.6;
    max-width: 540px;
    overflow-wrap: break-word;
  }
  @media (max-width: 640px) {
    .tentang-hero {
      min-height: 0;
      padding: 28px 22px;
      align-items: flex-start;
    }
    .tentang-hero h1 { font-size: 24px; line-height: 1.25; }
    .tentang-hero p { font-size: 14px; }
    .tentang-hero-eyebrow { font-size: 12px; letter-spacing: 1.5px; }
  }


  .tentang-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
  }
  .tentang-stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    box-shadow: var(--shadow-sm);
  }
  .tentang-stat-num {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
    line-height: 1.1;
  }
  .tentang-stat-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
  }

  .tentang-body-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
  }
  .tentang-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px 28px;
    box-shadow: var(--shadow-sm);
  }
  .tentang-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 9px;
  }
  .tentang-card h3 i { color: var(--primary); font-size: 14px; }
  
  .eln-shell { display: flex; align-items: stretch; min-height: 560px;
    height: calc(100vh - 160px); border: 1px solid var(--border); border-radius: var(--radius-lg);
    overflow: hidden; background: var(--surface); }
  .eln-tree-pane { width: 300px; flex-shrink: 0; border-right: 1px solid var(--border);
    display: flex; flex-direction: column; background: var(--surface-1); }
  .eln-doc-pane { flex: 1; min-width: 0; overflow: auto; }
  
  .eln-tree-pane { transition: width .18s ease; }
  .eln-shell.tree-collapsed .eln-tree-pane { width: 0; min-width: 0; border-right: none; overflow: hidden; }
  .eln-shell.tree-collapsed .eln-tree-pane > * { display: none; }
  
  .eln-activity-rail { width: 48px; flex-shrink: 0; border-left: 1px solid var(--border);
    background: var(--surface-1); display: flex; flex-direction: column; align-items: center;
    padding-top: 12px; gap: 8px; }
  .eln-rail-btn { width: 34px; height: 34px; border: none; border-radius: 8px; cursor: pointer;
    background: transparent; color: var(--text-secondary); font-size: 14px; }
  .eln-rail-btn:hover { background: var(--surface-2); color: var(--text-primary); }
  .eln-rail-btn.active { background: var(--primary); color: #fff; }
  .eln-activity-panel { width: 0; flex-shrink: 0; overflow: hidden; border-left: 1px solid var(--border);
    background: var(--surface); transition: width .18s ease; display: flex; flex-direction: column; }
  .eln-shell.activity-open .eln-activity-panel { width: 320px; }
  .eln-activity-head { display: flex; align-items: center; justify-content: space-between;
    padding: 12px 14px; border-bottom: 1px solid var(--border); font-weight: 700; font-size: 14px; white-space: nowrap; }
  
  .eln-activity-head .btn-ghost { min-width: 24px; justify-content: center; }
  .eln-activity-body { padding: 12px 14px; overflow: auto; flex: 1; }
  
  .eln-jurnal-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--surface-2); }
  .eln-jurnal-frame { width: 100%; height: calc(100vh - 210px); min-height: 480px;
    border: 1px solid var(--border); border-radius: var(--radius); margin-top: 8px;
    overflow: hidden; display: block; position: relative; }
  .eln-jurnal-frame embedpdf-container { display: block; width: 100%; height: 100%; }
  
  .eln-jurnal-loading { position: absolute; inset: 0; z-index: 2; background: var(--surface);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    color: var(--text-muted); font-size: 14px; }
  @media (max-width: 720px) {
    .eln-activity-panel { position: absolute; right: 48px; top: 0; bottom: 0; z-index: 8; box-shadow: -8px 0 24px rgba(0,0,0,.12); }
    .eln-shell { position: relative; }
  }
  .eln-node { display: flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 6px;
    cursor: pointer; font-size: 14px; color: var(--text-primary); user-select: none; }
  .eln-node:hover { background: var(--surface-2); }
  .eln-node.active { background: var(--primary); color: #fff; }
  .eln-node.active .eln-node-ico { color: #fff; }
  .eln-node-ico { color: var(--text-muted); font-size: 12px; width: 14px; text-align: center; flex-shrink: 0; }
  .eln-node-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }
  .eln-node-twist { width: 12px; text-align: center; font-size: 12px; color: var(--text-muted); flex-shrink: 0; }
  @media (max-width: 720px) {
    .eln-shell { flex-direction: column; height: auto; }
    .eln-tree-pane { width: auto; max-height: 240px; border-right: none; border-bottom: 1px solid var(--border); }
  }
  
  .pd-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
  }
  .tentang-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 12px;
    text-align: justify;
    text-justify: inter-word;
  }
  .tentang-card p:last-child { margin-bottom: 0; }
  .tentang-fact-list { list-style: none; padding: 0; margin: 0; }
  .tentang-fact-list li {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 14px;
    color: var(--text-secondary);
  }
  .tentang-fact-list li:last-child { border-bottom: none; }
  .tentang-fact-list li i {
    color: var(--accent);
    margin-top: 2px;
    font-size: 12px;
    width: 14px;
    flex-shrink: 0;
  }
  .tentang-fact-list b { color: var(--text-primary); }

  
  .kebijakan-hero {
    padding: 44px 0 8px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
  }
  .kebijakan-hero-eyebrow {
    font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--primary); margin-bottom: 10px;
  }
  .kebijakan-hero h1 { font-size: 30px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; }
  .kebijakan-hero p { font-size: 16px; line-height: 1.6; color: var(--text-secondary); max-width: 640px; }
  .kebijakan-updated { font-size: 14px; color: var(--text-muted); margin-top: 14px; }

  .kebijakan-wrap { max-width: 820px; margin: 0 auto 40px; }

  .kebijakan-toc {
    background: var(--surface-1); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 24px 28px; margin-bottom: 36px;
  }
  .kebijakan-toc-title { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 14px; }
  .kebijakan-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; }
  .kebijakan-toc a { font-size: 14px; color: var(--primary); text-decoration: none; line-height: 2.1; }
  .kebijakan-toc a:hover { text-decoration: underline; }

  .kebijakan-section { margin-bottom: 40px; }
  .kebijakan-section h2 {
    font-size: 20px; font-weight: 700; color: var(--text-primary);
    margin-bottom: 14px; scroll-margin-top: 90px; padding-top: 8px;
  }
  .kebijakan-section h3 { font-size: 18px; font-weight: 600; color: var(--text-primary); margin: 20px 0 8px; }
  .kebijakan-section p { font-size: 16px; line-height: 1.75; color: var(--text-secondary); margin-bottom: 14px; }
  .kebijakan-section ul { margin: 0 0 16px; padding-left: 24px; }
  .kebijakan-section li { font-size: 16px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 8px; }
  .kebijakan-section strong { color: var(--text-primary); }

  .kebijakan-table { width: 100%; border-collapse: collapse; margin: 14px 0 20px; font-size: 14px; }
  .kebijakan-table th, .kebijakan-table td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; vertical-align: top; }
  .kebijakan-table th { background: var(--primary); color: #fff; font-weight: 700; }
  .kebijakan-table td { color: var(--text-secondary); }

  @media (max-width: 640px) {
    .kebijakan-hero h1 { font-size: 24px; }
    .kebijakan-toc ol { columns: 1; }
  }

  .tentang-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 16px;
  }
  .tentang-section-title h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.2px;
  }
  .tentang-section-title span {
    font-size: 14px;
    color: var(--text-muted);
  }

  .tentang-gallery-wrap {
    position: relative;
    margin-bottom: 8px;
  }
  .tentang-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .tentang-gallery figure {
    position: relative;
    margin: 0;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: zoom-in;
    box-shadow: var(--shadow-sm);
    background: var(--surface-2);
  }
  .tentang-gallery img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    
    animation: galleryKenBurns 22s ease-in-out infinite alternate;
    will-change: transform;
    transform-origin: 50% 45%;
  }
  @keyframes galleryKenBurns {
    from { transform: scale(1.02); }
    to   { transform: scale(1.12); }
  }
  
  .tentang-gallery figure:nth-child(2n) img { animation-duration: 27s; animation-delay: -7s; transform-origin: 40% 55%; }
  .tentang-gallery figure:nth-child(3n) img { animation-duration: 31s; animation-delay: -14s; transform-origin: 60% 40%; }
  
  .tentang-gallery figure:hover img { animation-play-state: paused; }
  @media (prefers-reduced-motion: reduce) {
    .tentang-gallery img { animation: none; }
  }
  .tentang-gallery figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 30px 16px 12px;
    background: linear-gradient(to top, rgba(15,23,42,0.9) 10%, rgba(15,23,42,0.5) 55%, transparent);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1px;
    line-height: 1.3;
    opacity: 1;
    transform: none;
    transition: transform 0.3s ease;
  }
  .tentang-gallery figure:hover figcaption { transform: translateY(-2px); }
  .tentang-gallery figure .zoom-icon {
    position: absolute; top: 10px; right: 10px;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(15,23,42,0.55);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .tentang-gallery figure:hover .zoom-icon { opacity: 1; }

  
  .akreditasi-grid, .mitra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
  }
  .akreditasi-card, .mitra-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
  }
  .akreditasi-card:hover, .mitra-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 6px 16px rgba(0,0,0,.08));
  }
  .akreditasi-card-icon, .mitra-card-icon {
    flex-shrink: 0;
    width: 42px; height: 42px;
    border-radius: var(--radius);
    background: var(--primary-100);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
  }
  .akreditasi-card-abbr, .mitra-card-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
  }
  .akreditasi-card-nama {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.35;
    margin-top: 2px;
  }

  @media (max-width: 1080px) {
    .tentang-hero { min-height: 340px; }
    .tentang-stats { grid-template-columns: repeat(2, 1fr); }
    .tentang-body-grid { grid-template-columns: 1fr; }
    .tentang-gallery { grid-template-columns: repeat(2, 1fr); }
    .akreditasi-grid, .mitra-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  }
  @media (max-width: 640px) {
    .tentang-gallery { grid-template-columns: 1fr; gap: 14px; }
  }

  
  .tentang-team {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
  .tentang-team-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease;
  }
  .tentang-team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
  .tentang-team-photo-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--surface-2);
  }
  .tentang-team-photo-wrap img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.5s ease;
  }
  .tentang-team-card:hover .tentang-team-photo-wrap img { transform: scale(1.06); }
  .tentang-team-body { padding: 16px 14px 18px; }
  .tentang-team-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.1px;
    margin-bottom: 2px;
  }
  .tentang-team-role {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
  }
  .tentang-team-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
  }
  .tentang-team-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .tentang-team-social a {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--text-secondary);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
  }
  
  .tentang-team-social a.team-social-scopus { color: #e9711c; }
  .tentang-team-social a.team-social-orcid  { color: #a6ce39; }
  .tentang-team-social a.team-social-scopus:hover { background: #e9711c; color: #fff; transform: translateY(-2px); }
  .tentang-team-social a.team-social-orcid:hover  { background: #a6ce39; color: #fff; transform: translateY(-2px); }
  @media (max-width: 1080px) {
    .tentang-team { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 768px) {
    .tentang-team { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 480px) {
    .tentang-team { grid-template-columns: 1fr; }
  }

  

  
  #section-landing {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-top: -24px;                 
    background: #ffffff;
    color: #475569;
    overflow: hidden;
    
    --l-wrap: 1250px;
    --l-head: #0f172a;
    --l-dim: #475569;
    --l-muted: #8a97a8;
    --l-card: #ffffff;
    --l-tint: #f4f7fb;
    --l-brd: #e6eaf1;
    --l-accent: #2563eb;
  }
  
  #section-landing > .landing-hero,
  #section-landing > .landing-trust,
  #section-landing > .landing-section,
  
  #section-landing > .landing-berlatar-wrap,
  #section-landing > .landing-mt,
  #section-landing > .landing-ind,
  #section-landing > .landing-sec-strip,
  #section-landing > .landing-cta-band {
    padding-left: max(24px, calc((100% - var(--l-wrap)) / 2));
    padding-right: max(24px, calc((100% - var(--l-wrap)) / 2));
  }

  
  
  body.nl-etalase {
    --l-hero-top: #c4ced9;
    --l-head: #0f172a;
    --l-dim: #475569;
    --l-accent: #2563eb;
    
    --l-wrap: 1250px;
  }

  
  body.nl-landing #top-navbar {
    background: var(--l-hero-top) !important;
    background-image: none !important;
    border-bottom: none !important;
  }
  body.nl-landing #top-navbar a,
  body.nl-landing #top-navbar a span,
  body.nl-landing #top-navbar #public-nav-links > a,
  body.nl-landing #top-navbar #public-nav-links .nav-dropdown > a,
  body.nl-landing #top-navbar #public-nav-links > span,
  body.nl-landing #top-navbar #public-nav-toggle { color: #0f172a !important; }
  
  body.nl-landing #top-navbar #public-nav-links > a:hover,
  body.nl-landing #top-navbar #public-nav-links .nav-dropdown > a:hover,
  body.nl-landing #top-navbar #public-nav-links > span:hover { color: var(--l-head) !important; background: rgba(15,23,42,.06) !important; }

  
  body.nl-landing .nav-megamenu .nav-dropdown-menu-inner { background: #ffffff; }
  body.nl-landing .nav-mega-intro { border-right-color: #e2e8f0; }
  body.nl-landing .nav-mega-intro-title { color: #0f172a; }
  body.nl-landing .nav-megamenu .nav-dropdown-menu a.nav-mega-intro-btn { background: #f1f5f9; color: #0f172a !important; }
  body.nl-landing .nav-megamenu .nav-dropdown-menu a.nav-mega-intro-btn:hover { background: #e2e8f0; }
  body.nl-landing .nav-mega-col-label { color: #64748b; border-bottom-color: #e2e8f0; }
  body.nl-landing .nav-mega-desc { color: #64748b; }
  body.nl-landing .nav-megamenu-cols + .nav-megamenu-cols { border-left-color: #e2e8f0; }
  body.nl-landing .nav-dropdown-menu a:hover { background: #f8fafc; }

  
  body.nl-landing .site-footer { background: var(--l-hero-top) !important; color: var(--l-dim) !important; }
  body.nl-landing .site-footer-brand span,
  body.nl-landing .site-footer-title { color: var(--l-head) !important; }
  body.nl-landing .site-footer-desc,
  body.nl-landing .site-footer-links a,
  body.nl-landing .site-footer-contact,
  body.nl-landing .site-footer-bottom,
  body.nl-landing .site-footer-bottom a { color: var(--l-dim) !important; }
  
  body.nl-landing .site-footer-links a:hover,
  body.nl-landing .site-footer-bottom a:hover { color: var(--l-head) !important; }
  
  body.nl-landing .site-footer-social a { background: rgba(15,23,42,.08) !important; color: var(--l-dim) !important; transition: background .18s ease, box-shadow .18s ease !important; }
  
  body.nl-landing .site-footer-social a:hover {
    background: linear-gradient(180deg, #ffffff 0%, #eef1f5 100%) !important;
    color: var(--l-dim) !important;
    box-shadow: 0 2px 8px rgba(15,23,42,.12) !important;
  }
  
  body.nl-landing .site-footer-contact i { color: var(--l-dim) !important; }
  
  body.nl-landing .site-footer-contact a { color: var(--l-dim) !important; }
  body.nl-landing .site-footer-contact a:hover { color: var(--l-head) !important; }
  body.nl-landing .site-footer-bottom { border-top-color: rgba(15,23,42,.12) !important; }

  
  .landing-hero {
    position: relative; text-align: center; color: var(--l-head);
    background:
      radial-gradient(58% 44% at 50% 60%, rgba(255,255,255,.42) 0%, transparent 72%),
      linear-gradient(180deg, var(--l-hero-top) 0%, #ccd5de 40%, #dbe1e7 70%, #edf0f4 100%);
    padding-top: 78px; padding-bottom: 44px;
  }
  .landing-hero-inner { max-width: 760px; margin: 0 auto; }
  .landing-hero h1 {
    font-size: 60px; line-height: 1.04; font-weight: 800; letter-spacing: -1.8px;
    margin: 0 0 20px; color: var(--l-head);
  }
  .landing-hero-sub {
    font-size: 18px; line-height: 1.6; color: #5b6b7f;
    max-width: 620px; margin: 0 auto 30px;
  }
  .landing-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
  .landing-cta-row-center { justify-content: center; }
  .btn-landing-primary {
    display: inline-flex; align-items: center; gap: 9px;
    background: #0f172a; color: #fff; border: none;
    font-size: 16px; font-weight: 700; padding: 15px 30px; border-radius: 999px;
    cursor: pointer; box-shadow: 0 12px 28px -12px rgba(15,23,42,.5);
    transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
  }
  .btn-landing-primary:hover { background: #1e293b; transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(15,23,42,.55); }
  .btn-landing-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; color: var(--l-head); border: 1px solid var(--l-brd);
    font-size: 16px; font-weight: 600; padding: 15px 26px; border-radius: 999px;
    cursor: pointer; box-shadow: 0 2px 6px rgba(15,23,42,.05);
    transition: border-color .15s ease, transform .15s ease;
  }
  .btn-landing-ghost:hover { border-color: #b9c6d8; transform: translateY(-2px); }

  
  .landing-hero-sub, .landing-cta-row {
    transition: opacity .5s ease, transform .5s ease;
  }
  .landing-hero-sub.nl-typewriter-pending,
  .landing-cta-row.nl-typewriter-pending {
    opacity: 0; transform: translateY(10px); pointer-events: none;
  }
  @media (prefers-reduced-motion: reduce) {
    .landing-hero-sub, .landing-cta-row { transition: none; }
  }
  
  .landing-hero-cursor {
    display: inline-block; width: 3px; height: .85em; margin-left: 2px;
    background: currentColor; vertical-align: -.08em;
    animation: nl-hero-cursor-blink .9s step-end infinite;
  }
  @keyframes nl-hero-cursor-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
  @media (prefers-reduced-motion: reduce) {
    .landing-hero-cursor { animation: none; }
  }

  
  .landing-hero-shot {
    
    max-width: var(--l-wrap); margin: 46px auto -70px; position: relative; z-index: 3;
  }
  .landing-hero-shot::before {   
    content: ''; position: absolute; inset: -6% 6% 18%;
    background: radial-gradient(60% 60% at 50% 40%, rgba(37,99,235,.22), transparent 70%);
    filter: blur(50px); z-index: -1;
  }
  .appshot {
    background: #fff; border: 1px solid var(--l-brd); border-radius: 16px;
    box-shadow: 0 50px 100px -34px rgba(15,23,42,.42), 0 8px 24px -12px rgba(15,23,42,.2);
    overflow: hidden; text-align: left;
  }
  .appshot-bar {
    display: flex; align-items: center; gap: 16px;
    padding: 12px 18px; border-bottom: 1px solid var(--l-brd); background: #fbfcfe;
  }
  
  .appshot-nav { cursor: pointer; user-select: none; transition: background .16s ease, color .16s ease; }
  .appshot-nav:hover { background: #eef2f8; color: var(--l-head); }
  .appshot-view { display: none; }
  .appshot-view.is-active { display: block; animation: ashViewIn .24s ease; }
  @keyframes ashViewIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) { .appshot-view.is-active { animation: none; } }

  
  .appshot-main { max-height: 372px; overflow-y: auto; overscroll-behavior: contain; }
  .appshot-main::-webkit-scrollbar { width: 7px; }
  .appshot-main::-webkit-scrollbar-thumb { background: #d7dfea; border-radius: 99px; }
  .appshot-main::-webkit-scrollbar-track { background: transparent; }

  
  .ash-rows { display: flex; flex-direction: column; gap: 8px; }
  .ash-row {
    display: flex; align-items: center; gap: 10px;
    border: 1px solid var(--l-brd); border-radius: 10px; padding: 10px 12px;
    font-size: 14px; font-weight: 600; color: var(--l-head); background: #fff;
  }
  .ash-row i { color: var(--l-accent); font-size: 12px; width: 15px; text-align: center; flex-shrink: 0; }
  .ash-row span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ash-row small { font-size: 12px; font-weight: 500; color: var(--l-muted); flex-shrink: 0; }
  .ash-row em {
    font-style: normal; font-size: 12px; font-weight: 700;
    padding: 3px 9px; border-radius: 999px; flex-shrink: 0;
  }
  
  .ash-row em.is-ok { background: #dcfce7; color: #166534; }
  .ash-row em.is-warn { background: #fef3c7; color: #92400e; }
  .ash-row em.is-due { background: #e0e7ff; color: #3730a3; }

  
  .ash-row.is-clickable { cursor: pointer; transition: border-color .16s ease, background .16s ease; }
  .ash-row.is-clickable:hover { border-color: var(--l-accent); background: #f7faff; }

  .ash-doc-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
  .ash-doc-back {
    border: 1px solid var(--l-brd); background: #fff; color: var(--l-head);
    width: 28px; height: 28px; border-radius: 8px; cursor: pointer; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 12px;
  }
  .ash-doc-back:hover { background: var(--l-tint); }
  .ash-doc-id { flex: 1; min-width: 0; }
  .ash-doc-kode { font-size: 12px; color: var(--l-muted); font-weight: 600; letter-spacing: .02em; }
  .ash-doc-judul {
    font-size: 14px; font-weight: 800; color: var(--l-head); line-height: 1.25;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .ash-doc-status {
    display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0;
    font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  }
  .ash-doc-status.is-lock { background: #dcfce7; color: #166534; }
  .ash-doc-status.is-review { background: #e0e7ff; color: #3730a3; }

  .ash-doc-tabs {
    display: flex; gap: 2px; background: var(--l-tint);
    border: 1px solid var(--l-brd); border-radius: 10px; padding: 3px; margin-bottom: 14px;
  }
  .ash-doc-tabs span {
    flex: 1; text-align: center; font-size: 12px; font-weight: 600; color: var(--l-muted);
    padding: 6px 4px; border-radius: 8px; white-space: nowrap;
    display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  }
  .ash-doc-tabs span i { font-size: 12px; }
  .ash-doc-tabs span.is-active { background: #fff; color: var(--l-accent); box-shadow: 0 1px 2px rgba(15,23,42,.1); }

  
  .ash-editor-bar {
    display: flex; align-items: center; gap: 3px; flex-wrap: wrap;
    border: 1px solid var(--l-brd); border-radius: 10px;
    padding: 6px 8px; margin-bottom: 12px; background: #fbfcfe;
  }
  .ash-tb {
    width: 24px; height: 24px; border-radius: 6px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px; color: var(--l-dim); background: #fff;
    border: 1px solid var(--l-brd);
  }
  
  .ash-tb.is-hi { color: var(--l-accent); background: #e8effc; border-color: #cddffb; }
  
  .ash-editor-bar.is-locked .ash-tb:not(.is-hi) { opacity: .45; }
  .ash-tb-sep { width: 1px; height: 16px; background: var(--l-brd); margin: 0 3px; flex-shrink: 0; }
  
  .ash-tb-w {
    width: auto; padding: 0 8px; gap: 5px; font-size: 12px; font-weight: 600;
  }
  .ash-tb-w i { font-size: 12px; }
  
  .ash-tb-warna { flex-direction: column; gap: 1px; padding-top: 3px; }
  .ash-tb-warna b { width: 12px; height: 3px; border-radius: 2px; display: block; }
  
  .ash-tb-drop { width: auto; padding: 0 5px; gap: 3px; }
  .ash-tb-drop i:last-child { font-size: 12px; opacity: .6; }

  .ash-doc-tabs span { cursor: pointer; transition: background .15s ease, color .15s ease; }
  .ash-doc-tabs span:hover { color: var(--l-head); }
  .ash-tb[data-sisip] { cursor: pointer; }
  .ash-tb[data-sisip]:hover { filter: brightness(.96); }

  
  .ash-ins {
    display: flex; align-items: flex-start; gap: 8px; margin: 0 0 10px;
    border: 1px solid #cddffb; background: #f5f9ff; border-radius: 10px; padding: 9px 11px;
    animation: ashInsIn .2s ease;
  }
  @keyframes ashInsIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) { .ash-ins { animation: none; } }
  .ash-ins-tag {
    flex-shrink: 0; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
    color: var(--l-accent); background: #e8effc; border-radius: 999px; padding: 3px 8px; margin-top: 1px;
  }
  
  .ash-ins-rumus { font-size: 12px; color: var(--l-head); }
  
  .ash-sit {
    font-size: 12px; font-weight: 700; color: var(--l-accent);
    vertical-align: super; line-height: 0; margin-left: 2px;
  }
  .ash-ins-diagram { font-size: 12px; font-weight: 600; color: var(--l-head); }
  .ash-ins-diagram i { color: var(--l-accent); margin-right: 5px; }
  .ash-ins-sitasi { font-size: 12px; line-height: 1.55; color: var(--l-head); }

  
  .ash-bahan-banner {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    
    background: #f7fafe;
    border: 1px solid #cddffb; border-radius: 12px; padding: 12px 14px; margin-bottom: 14px;
  }
  .ash-bahan-rumus { font-size: 16px; font-weight: 800; color: var(--l-accent); letter-spacing: .3px; }
  .ash-bahan-sub { font-size: 12px; color: var(--l-dim); margin-top: 2px; }
  .ash-bahan-stok { text-align: right; flex-shrink: 0; }
  .ash-bahan-stok b { display: block; font-size: 20px; font-weight: 800; color: var(--l-head); line-height: 1; }
  .ash-bahan-stok span { font-size: 12px; color: var(--l-muted); }
  .ash-bahan-kol { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 4px; }
  .ash-kv {
    display: flex; justify-content: space-between; gap: 10px;
    padding: 5px 0; border-bottom: 1px solid var(--l-brd); font-size: 12px;
  }
  .ash-kv span { color: var(--l-muted); flex-shrink: 0; }
  .ash-kv b { color: var(--l-head); font-weight: 700; text-align: right; }
  @media (max-width: 760px) { .ash-bahan-kol { grid-template-columns: 1fr; } }

  
  .ash-lini { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
  .ash-lini-item {
    display: inline-flex; align-items: center; gap: 6px; flex: 1; min-width: 120px;
    border: 1px solid var(--l-brd); border-radius: 10px; padding: 7px 9px;
    font-size: 12px; font-weight: 600; color: var(--l-muted); background: #fff;
  }
  .ash-lini-item i { font-size: 12px; }
  .ash-lini-item.is-on { color: var(--l-head); border-color: #cddffb; background: #f5f9ff; }
  .ash-lini-item.is-on i { color: var(--l-accent); }

  
  .ash-chip-klik { cursor: pointer; border-color: #cddffb !important; color: var(--l-accent) !important; }
  .ash-chip-klik:hover { background: #e8effc !important; }

  
  .ash-lemari-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
  .ash-lemari-stat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 8px; }
  .ash-lemari-stat div { border: 1px solid var(--l-brd); border-radius: 10px; padding: 8px; text-align: center; background: #fff; }
  .ash-lemari-stat b { display: block; font-size: 16px; font-weight: 800; color: var(--l-head); line-height: 1; }
  .ash-lemari-stat span { font-size: 12px; color: var(--l-muted); font-weight: 600; }
  .ash-lemari-bar { height: 6px; border-radius: 99px; background: #e8effc; overflow: hidden; margin-bottom: 4px; }
  .ash-lemari-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--l-accent), #60a5fa); }
  
  .ash-denah {
    display: grid; grid-template-columns: 18px repeat(5, 1fr); gap: 5px;
    border: 1px solid var(--l-brd); border-radius: 10px; padding: 8px; background: #fbfcfe;
    align-items: center;
  }
  .ash-slot-lbl {
    font-size: 12px; font-weight: 700; color: var(--l-muted); text-align: center;
  }
  .ash-slot-sudut { width: 18px; }
  .ash-slot {
    aspect-ratio: 1; border-radius: 6px; border: 1px solid var(--l-brd); background: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 12px;
  }
  .ash-slot.is-filled { background: #eef2f7; }
  
  .ash-slot.is-here { background: var(--l-accent); border-color: var(--l-accent); color: #fff; box-shadow: 0 0 0 3px rgba(37,99,235,.18); }

  
  .ash-peta { border: 1px solid var(--l-brd); border-radius: 10px; padding: 12px; background: #fbfcfe; }
  .ash-peta-akar {
    font-size: 12px; font-weight: 800; color: var(--l-head); text-align: center;
    background: #e8effc; border: 1px solid #cddffb; border-radius: 999px;
    padding: 6px 12px; margin: 0 auto 10px; display: table;
  }
  .ash-peta-cabang { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .ash-peta-grup { border: 1px solid var(--l-brd); border-radius: 9px; padding: 8px 10px; background: #fff; }
  .ash-peta-grup b { display: block; font-size: 12px; color: var(--l-accent); margin-bottom: 5px; }
  .ash-peta-grup ul { margin: 0; padding-left: 15px; }
  .ash-peta-grup li { font-size: 12px; line-height: 1.5; color: var(--l-dim); }
  @media (max-width: 760px) { .ash-peta-cabang { grid-template-columns: 1fr; } }

  
  .ash-metode { display: flex; flex-direction: column; gap: 7px; }
  .ash-metode div {
    border: 1px solid var(--l-brd); border-radius: 10px; padding: 8px 11px; background: #fff;
  }
  .ash-metode b { display: block; font-size: 12px; color: var(--l-head); margin-bottom: 2px; }
  .ash-metode span { font-size: 12px; line-height: 1.55; color: var(--l-dim); }
  .ash-rujukan {
    margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px;
  }
  .ash-rujukan li { font-size: 12px; line-height: 1.6; color: var(--l-dim); }

  
  .ash-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .ash-meta-grid div {
    border: 1px solid var(--l-brd); border-radius: 10px; padding: 8px 11px; background: #fff;
  }
  .ash-meta-grid span { display: block; font-size: 12px; color: var(--l-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
  .ash-meta-grid b { font-size: 12px; color: var(--l-head); font-weight: 700; }
  .ash-komen {
    border: 1px solid var(--l-brd); border-radius: 10px; padding: 9px 11px; margin-bottom: 8px; background: #fff;
  }
  .ash-komen b { display: block; font-size: 12px; color: var(--l-head); margin-bottom: 3px; }
  .ash-komen span { font-size: 12px; line-height: 1.55; color: var(--l-dim); }

  .ash-doc-h { font-size: 18px; font-weight: 800; color: var(--l-head); margin: 0 0 4px; line-height: 1.25; }
  .ash-doc-meta { font-size: 12px; color: var(--l-muted); font-weight: 600; margin-bottom: 12px; }
  .ash-doc-p { font-size: 14px; line-height: 1.65; color: var(--l-head); margin: 0 0 10px; }
  .ash-doc-sub {
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
    color: var(--l-muted); margin: 14px 0 8px;
  }
  .ash-doc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
  .ash-doc-chips span {
    font-size: 12px; font-weight: 600; color: var(--l-head);
    background: var(--l-tint); border: 1px solid var(--l-brd);
    padding: 5px 10px; border-radius: 999px;
  }
  .ash-doc-sign {
    margin-top: 14px; display: flex; align-items: center; gap: 7px;
    font-size: 12px; font-weight: 700; color: var(--l-head);
    border: 1px dashed var(--l-brd); border-radius: 10px; padding: 9px 11px;
  }
  .ash-doc-sign i { color: var(--l-accent); }

  
  .ash-bars {
    display: flex; align-items: flex-end; gap: 8px; height: 108px; margin-top: 14px;
    border: 1px solid var(--l-brd); border-radius: 12px; padding: 12px;
  }
  .ash-bars span { flex: 1; background: linear-gradient(180deg, var(--l-accent), #93b4f5); border-radius: 4px 4px 0 0; }

  .appshot-brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 14px; color: var(--l-head); }
  .appshot-brand img { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; }
  .appshot-dots { display: flex; gap: 6px; }
  .appshot-dots span { width: 10px; height: 10px; border-radius: 50%; background: #dbe2ec; }
  .appshot-dots span.dot-red { background: #ff5f57; }
  .appshot-dots span.dot-yellow { background: #febc2e; }
  .appshot-dots span.dot-green { background: #28c840; }
  .appshot-body { display: flex; min-height: 372px; }
  .appshot-side { width: 186px; flex-shrink: 0; border-right: 1px solid var(--l-brd); padding: 16px 12px; background: #fbfcfe; }
  .appshot-nav {
    display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 9px;
    font-size: 14px; font-weight: 600; color: #64748b; margin-bottom: 3px;
  }
  .appshot-nav i { width: 16px; text-align: center; font-size: 14px; color: #94a3b8; }
  .appshot-nav.is-active { background: #e8effc; color: var(--l-accent); }
  .appshot-nav.is-active i { color: var(--l-accent); }
  .appshot-main { flex: 1; padding: 22px 24px; min-width: 0; }
  .appshot-head { margin-bottom: 18px; }
  .appshot-h1 { font-size: 18px; font-weight: 800; color: var(--l-head); }
  .appshot-h2 { font-size: 14px; color: var(--l-muted); margin-top: 3px; }
  .appshot-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
  .appshot-stat { border: 1px solid var(--l-brd); border-radius: 12px; padding: 15px 16px; background: #fff; }
  .appshot-stat-label { font-size: 12px; color: var(--l-muted); font-weight: 600; }
  .appshot-stat-num { font-size: 24px; font-weight: 800; color: var(--l-head); letter-spacing: -.5px; margin: 5px 0 5px; }
  .appshot-stat-delta { font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
  .appshot-stat-delta.up { color: #059669; }
  .appshot-chart { border: 1px solid var(--l-brd); border-radius: 12px; padding: 16px 16px 8px; background: #fff; }
  .appshot-chart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
  .appshot-chart-head span:first-child { font-size: 14px; font-weight: 700; color: var(--l-head); }
  .appshot-chart-legend { font-size: 12px; color: var(--l-muted); }
  .appshot-chart-svg { display: block; width: 100%; height: 132px; }

  
  #section-landing .tentang-section-title h3 { color: var(--l-head); }
  #section-landing .tentang-section-title h3 > i { color: var(--l-accent) !important; }
  #section-landing .tentang-section-title span { color: var(--l-muted); }



  
  .landing-hero-split {
    
    max-width: none;
    display: grid;
    grid-template-columns: 7fr 4fr;
    column-gap: 6%;
    align-items: center;
    text-align: left;
  }
  .landing-hero-copy { min-width: 0; }

  
  .landing-hero-split .landing-hero-sub { margin-left: 0; margin-right: 0; max-width: 560px; }
  .landing-hero-split .landing-cta-row { justify-content: flex-start; }
  .landing-hero-split h1 { letter-spacing: -2px; }

  
  @media (min-width: 1100px) {
    .landing-hero-split h1 { font-size: clamp(60px, 5.2vw, 72px); }
  }

  .landing-hex-row {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; justify-content: center;
    max-width: 390px;
    
    margin-left: auto; margin-right: 0;
  }
  .landing-hex { margin: 8px; width: 175px; }
  .landing-hex-face {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 10px; width: 175px; height: 196px; text-align: center; padding: 0 16px;
    
    clip-path: url(#nl-heksagon);
    background: rgba(255, 255, 255, .82);
    border: 0; color: #2b3648;
    transition: background .2s linear, color .2s linear;
  }
  
  .landing-hex:nth-child(n+3) { margin-top: -30px; }

  .landing-hex-face i { font-size: 24px; color: #46536a; }
  .landing-hex-label { font-size: 14px; font-weight: 600; line-height: 1.3; }
  .landing-hex:hover .landing-hex-face { background: #ffffff; color: #0f172a; }
  .landing-hex:hover .landing-hex-face i { color: #0f172a; }

  
  @media (max-width: 1099px) {
    .landing-hero-split { grid-template-columns: 1fr; row-gap: 34px; text-align: center; }
    
    .landing-hex-row { margin-right: auto; }
    .landing-hero-split .landing-hero-sub { margin-inline: auto; }
    .landing-hero-split .landing-cta-row { justify-content: center; }
  }

  @media (max-width: 560px) {
    .landing-hex-row { max-width: 320px; }
    .landing-hex { margin: 5px; width: 142px; }
    .landing-hex-face { width: 142px; height: 159px; padding: 0 12px; gap: 7px; }
    .landing-hex-face i { font-size: 20px; }
    .landing-hex-label { font-size: 12px; }
    .landing-hex:nth-child(n+3) { margin-top: -24px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .landing-hex-face { transition: none; }
  }
  
  .landing-trust {
    background: #fbfcfe;
    border-top: 1px solid var(--l-brd); border-bottom: 1px solid var(--l-brd);
    padding-top: 84px; padding-bottom: 24px; text-align: center;   
  }
  .landing-trust-label { font-size: 14px; font-weight: 600; color: var(--l-muted); margin-bottom: 15px; }
  .landing-trust-badges { display: flex; flex-wrap: wrap; gap: 14px 34px; justify-content: center; }
  .landing-trust-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #475569; }
  .landing-trust-badge i { color: var(--l-accent); }

  
  .landing-section { padding-top: 70px; padding-bottom: 8px; }

  
  #section-landing .feature-band { margin: 50px 0; gap: 54px; }
  #section-landing .feature-media {
    background: var(--l-tint);
    border: 1px solid var(--l-brd);
    border-radius: 20px; min-height: 0; padding: 44px;
    position: relative; overflow: hidden;
  }
  #section-landing .feature-media::after { display: none; }
  #section-landing .feature-media::before {
    content: ''; position: absolute; z-index: 0; pointer-events: none;
    width: 300px; height: 300px; border-radius: 50%; right: -70px; top: -90px;
    filter: blur(50px); opacity: .35;
  }
  #section-landing .feature-media.grad-blue::before  { background: radial-gradient(circle, #2563eb 0%, transparent 70%); }
  #section-landing .feature-media.grad-teal::before  { background: radial-gradient(circle, #0891b2 0%, transparent 70%); }
  #section-landing .feature-media.grad-green::before { background: radial-gradient(circle, #059669 0%, transparent 70%); }
  #section-landing .feature-media .fmock { max-width: 400px; box-shadow: 0 24px 50px -24px rgba(15,23,42,.28); }
  #section-landing .feature-eyebrow { color: var(--l-accent); }
  #section-landing .feature-text h2 { color: var(--l-head); }
  #section-landing .feature-text p { color: var(--l-dim); max-width: 520px; }

  
  .landing-mt { background: var(--l-tint); padding-top: 66px; padding-bottom: 66px; text-align: center; }
  .landing-mt-diagram { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin: 14px 0 26px; }
  .landing-mt-tenant {
    background: #fff; border: 1px solid var(--l-brd);
    border-radius: var(--radius-xl); padding: 24px 28px; width: 232px;
    box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
  }
  .landing-mt-tenant:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .landing-mt-tenant-ic {
    width: 54px; height: 54px; border-radius: 14px; margin: 0 auto 13px;
    display: flex; align-items: center; justify-content: center;
    background: #e8effc; color: var(--l-accent); font-size: 20px;
  }
  .landing-mt-tenant-nm { font-weight: 700; font-size: 14px; color: var(--l-head); }
  .landing-mt-tenant-sub { font-size: 12px; color: var(--l-muted); margin-top: 4px; }
  .landing-mt-core {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(90deg, #1e40af, #2563eb 60%, #0891b2); color: #fff; font-weight: 600; font-size: 14px;
    padding: 13px 24px; border-radius: 999px; margin-bottom: 28px;
    box-shadow: 0 14px 30px -14px rgba(37,99,235,.6);
  }
  .landing-mt-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px; max-width: 940px; margin: 0 auto; }
  .landing-mt-point { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--l-dim); }
  .landing-mt-point i { color: #059669; }

  
  .landing-ind { background: var(--l-tint); padding-top: 70px; padding-bottom: 70px; }
  .landing-ind-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 26px; margin-top: 28px; align-items: stretch; }
  .landing-ind-feature-stack { position: relative; border-radius: var(--radius-xl); overflow: hidden; min-height: 360px; background: #0f172a; }
  .landing-ind-feature { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .35s ease; }
  .landing-ind-feature.active { opacity: 1; visibility: visible; }
  .landing-ind-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
  .landing-ind-feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,23,42,.9) 0%, rgba(15,23,42,.18) 55%, rgba(15,23,42,.05) 100%); }
  .landing-ind-feature-body { position: absolute; left: 26px; right: 26px; bottom: 26px; z-index: 1; }
  .landing-ind-feature-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #93c5fd; margin-bottom: 10px; }
  .landing-ind-feature-title { font-size: 20px; font-weight: 800; color: #fff; line-height: 1.3; }
  .landing-ind-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .landing-ind-item { background: #fff; border: 1px solid var(--l-brd); border-radius: var(--radius-lg); padding: 20px 20px 18px; cursor: default; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
  .landing-ind-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--l-accent); }
  .landing-ind-item-ic { width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: #e8effc; color: var(--l-accent); font-size: 18px; margin-bottom: 12px; }
  .landing-ind-item-nm { font-weight: 700; font-size: 14px; color: var(--l-head); margin-bottom: 5px; }
  .landing-ind-item-sub { font-size: 14px; line-height: 1.55; color: var(--l-dim); }

  
  .landing-split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
  .landing-split-card { background: #fff; border: 1px solid var(--l-brd); border-radius: var(--radius-xl); padding: 30px 30px 26px; }
  .landing-split-badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--l-accent); background: #e8effc; padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
  .landing-split-card h3 { font-size: 20px; font-weight: 800; color: var(--l-head); margin: 0 0 10px; line-height: 1.3; }
  .landing-split-card > p { font-size: 14px; line-height: 1.65; color: var(--l-dim); margin: 0 0 18px; }
  .landing-split-checks { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
  .landing-split-checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #3f5069; line-height: 1.5; }
  .landing-split-checks li i { color: var(--l-accent); margin-top: 3px; flex-shrink: 0; }
  
  .landing-split-link { display: inline-flex; align-items: center; min-height: 44px; gap: 7px; font-size: 14px; font-weight: 700; color: var(--l-accent); cursor: pointer; background: none; border: none; padding: 0; font-family: var(--font), sans-serif; }
  .landing-split-link i { font-size: 12px; transition: transform .15s ease; }
  .landing-split-link:hover i { transform: translateX(3px); }
  .landing-split-card .fmock { max-width: none; margin-top: 22px; box-shadow: none; border-color: var(--l-brd); }

  @media (max-width: 900px) {
    .landing-ind-grid { grid-template-columns: 1fr; }
    .landing-ind-feature-stack { min-height: 220px; }
    .landing-split-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 560px) {
    .landing-ind-list { grid-template-columns: 1fr; }
  }

  
  .hiw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }
  .hiw-step {
    position: relative; background: #fff; border: 1px solid var(--l-brd);
    border-radius: var(--radius-xl); padding: 32px 22px 24px; text-align: center;
    box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
  }
  .hiw-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .hiw-num {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    width: 30px; height: 30px; border-radius: 50%;
    
    background: #2563eb; color: #fff;
    font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 16px -6px rgba(37,99,235,.6);
  }
  .hiw-ic {
    width: 54px; height: 54px; border-radius: 14px; margin: 8px auto 15px;
    display: flex; align-items: center; justify-content: center;
    background: #e8effc; color: var(--l-accent); font-size: 20px;
  }
  .hiw-nm { font-weight: 700; font-size: 14px; color: var(--l-head); margin-bottom: 7px; }
  .hiw-sub { font-size: 14px; line-height: 1.55; color: var(--l-dim); }

  
  .landing-sec-strip { background: #eef3fb; padding-top: 58px; padding-bottom: 58px; }
  .landing-sec-strip-head { text-align: center; font-size: 24px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 30px; color: var(--l-head); }
  .landing-sec-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 26px; }
  .landing-sec-item { display: flex; align-items: center; gap: 13px; font-size: 14px; font-weight: 500; color: #3f5069; }
  .landing-sec-item i {
    flex-shrink: 0; width: 40px; height: 40px; border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    background: #fff; border: 1px solid #d7e2f4;
    color: var(--l-accent); font-size: 16px;
  }

  
  #section-landing > .faq-split { padding-top: 24px; }


  
  .faq-list { max-width: 800px; margin: 0 auto; }
  .faq-item {
    border: 1px solid var(--l-brd); border-radius: var(--radius-lg); margin-bottom: 12px;
    background: #fff; overflow: hidden; transition: box-shadow .15s ease;
  }
  .faq-item:hover { box-shadow: var(--shadow-sm); }
  .faq-q {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: none; border: none; cursor: pointer; text-align: left;
    font-size: 14px; font-weight: 600; color: var(--l-head); padding: 18px 22px;
    font-family: var(--font), sans-serif;
  }
  .faq-q i { transition: transform .2s ease; color: var(--l-accent); font-size: 14px; flex-shrink: 0; }
  .faq-item.open .faq-q i { transform: rotate(180deg); }
  .faq-a {
    max-height: 0; overflow: hidden; transition: max-height .25s ease, padding .25s ease;
    padding: 0 22px; font-size: 14px; line-height: 1.65; color: var(--l-dim);
  }
  .faq-item.open .faq-a { max-height: 340px; padding: 0 22px 18px; }

  
  
  .landing-cta-band {
    background: none;
    text-align: center; padding-top: 76px; padding-bottom: 76px;
  }
  
  
  .landing-cta-band .landing-cta-kaca {
    display: block;
    width: 100%;
    max-width: var(--l-wrap);
    margin: 0 auto;
    padding: 30px 34px 26px;
    border-radius: 24px;
    background: rgba(243, 248, 255, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.62);
    -webkit-backdrop-filter: blur(2.5px) saturate(1.5);
            backdrop-filter: blur(2.5px) saturate(1.5);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.75),
      0 26px 55px -30px rgba(15, 23, 42, 0.45);
  }
  .landing-cta-band h2 { font-size: 36px; font-weight: 800; letter-spacing: -0.6px; margin: 0 0 12px; color: var(--l-head); }
  .landing-cta-band p { font-size: 16px; color: #212c3a; max-width: 580px; margin: 0 auto 22px; }

  
  
  .landing-berlatar {
    position: relative;
    isolation: isolate;
    
    --wp-kabut: 0.30;
    
    --wp-lebur-atas: 140px;
    --wp-lebur-bawah: 210px;
    
    --wp-luber-bawah: 0px;
    
    padding-top: 118px;
    padding-bottom: 8px;

    
    --wp-warna-akhir: #ffffff;
    
    --wp-warna-awal: #ffffff;
    background: linear-gradient(180deg,
      var(--wp-warna-awal) 0,
      color-mix(in srgb, var(--wp-warna-awal) 84%, #ffffff) 60px,
      color-mix(in srgb, var(--wp-warna-awal) 62%, #ffffff) 130px,
      color-mix(in srgb, var(--wp-warna-awal) 30%, #ffffff) 190px,
      #ffffff 260px,
      #ffffff calc(100% - 340px),
      color-mix(in srgb, var(--wp-warna-akhir) 30%, #ffffff) calc(100% - 235px),
      color-mix(in srgb, var(--wp-warna-akhir) 62%, #ffffff) calc(100% - 150px),
      color-mix(in srgb, var(--wp-warna-akhir) 84%, #ffffff) calc(100% - 80px),
      var(--wp-warna-akhir) 100%);
  }

  
  .landing-berlatar::before {
    content: ""; position: absolute; z-index: -2;
    inset: 0 0 calc(-1 * var(--wp-luber-bawah)) 0;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    
    -webkit-mask-image: var(--wp-mask);
            mask-image: var(--wp-mask);
  }

  
  #landing-riset-alur {
    
    --wp-kabut: 0.10;
    
    --wp-warna-awal: var(--l-tint);
    --wp-warna-akhir: var(--l-tint);
    --wp-lebur-atas: 150px;
    --wp-lebur-bawah: 300px;
    --wp-luber-bawah: 64px;
    
    padding-top: 48px;
    padding-bottom: 8px;
  }
  #landing-riset-alur::before {
    background-image: url('assets/img/landing/lab-riset-alur.webp?v=1');
    
    background-position: 50% 50%;
  }

  
  .landing-berlatar::after {
    -webkit-mask-image: var(--wp-mask);
            mask-image: var(--wp-mask);
  }

  
  .landing-berlatar,
  .landing-cta-band {
    
    --wp-mask: linear-gradient(180deg,
      rgba(0, 0, 0, 0)     0,
      rgba(0, 0, 0, 0.005) calc(var(--wp-lebur-atas) * 0.0833),
      rgba(0, 0, 0, 0.035) calc(var(--wp-lebur-atas) * 0.1667),
      rgba(0, 0, 0, 0.104) calc(var(--wp-lebur-atas) * 0.25),
      rgba(0, 0, 0, 0.210) calc(var(--wp-lebur-atas) * 0.3333),
      rgba(0, 0, 0, 0.347) calc(var(--wp-lebur-atas) * 0.4167),
      rgba(0, 0, 0, 0.5)   calc(var(--wp-lebur-atas) * 0.5),
      rgba(0, 0, 0, 0.653) calc(var(--wp-lebur-atas) * 0.5833),
      rgba(0, 0, 0, 0.790) calc(var(--wp-lebur-atas) * 0.6667),
      rgba(0, 0, 0, 0.896) calc(var(--wp-lebur-atas) * 0.75),
      rgba(0, 0, 0, 0.965) calc(var(--wp-lebur-atas) * 0.8333),
      rgba(0, 0, 0, 0.995) calc(var(--wp-lebur-atas) * 0.9167),
      #000                 var(--wp-lebur-atas),
      #000                 calc(100% - var(--wp-lebur-bawah)),
      rgba(0, 0, 0, 0.995) calc(100% - var(--wp-lebur-bawah) * 0.9167),
      rgba(0, 0, 0, 0.965) calc(100% - var(--wp-lebur-bawah) * 0.8333),
      rgba(0, 0, 0, 0.896) calc(100% - var(--wp-lebur-bawah) * 0.75),
      rgba(0, 0, 0, 0.790) calc(100% - var(--wp-lebur-bawah) * 0.6667),
      rgba(0, 0, 0, 0.653) calc(100% - var(--wp-lebur-bawah) * 0.5833),
      rgba(0, 0, 0, 0.5)   calc(100% - var(--wp-lebur-bawah) * 0.5),
      rgba(0, 0, 0, 0.347) calc(100% - var(--wp-lebur-bawah) * 0.4167),
      rgba(0, 0, 0, 0.210) calc(100% - var(--wp-lebur-bawah) * 0.3333),
      rgba(0, 0, 0, 0.104) calc(100% - var(--wp-lebur-bawah) * 0.25),
      rgba(0, 0, 0, 0.035) calc(100% - var(--wp-lebur-bawah) * 0.1667),
      rgba(0, 0, 0, 0.005) calc(100% - var(--wp-lebur-bawah) * 0.0833),
      rgba(0, 0, 0, 0)     100%);
  }

  .landing-berlatar::after {
    content: ""; position: absolute; z-index: -1;
    inset: 0 0 calc(-1 * var(--wp-luber-bawah)) 0;
    background: rgba(255, 255, 255, var(--wp-kabut));
  }

  
  
  #section-landing .landing-berlatar .tentang-section-title,
  #section-landing .landing-berlatar .feature-text {
    background: rgba(243, 248, 255, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 22px;
    -webkit-backdrop-filter: blur(2.5px) saturate(1.5);
            backdrop-filter: blur(2.5px) saturate(1.5);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.75),
      0 26px 55px -30px rgba(15, 23, 42, 0.45);
    padding: 26px 28px;
  }
  #section-landing .landing-berlatar .tentang-section-title {
    width: fit-content; max-width: 100%;
    margin-left: auto; margin-right: auto;
    padding: 20px 30px;
  }

  
  #section-landing .landing-berlatar .feature-media {
    background: none;
    border: none;
    box-shadow: none;
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
  }

  
  #section-landing .landing-berlatar .feature-media::before { display: none; }

  #section-landing .landing-berlatar .fmock {
    background: rgba(243, 248, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 22px;
    
    -webkit-backdrop-filter: blur(2.5px) saturate(1.5);
            backdrop-filter: blur(2.5px) saturate(1.5);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.75),
      0 26px 55px -30px rgba(15, 23, 42, 0.45);
    padding: 20px 22px;
    max-width: 430px;
  }

  
  
  #section-landing .landing-berlatar .fmock-step,
  #section-landing .landing-berlatar .fmock-row {
    background: rgba(243, 248, 255, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 16px;
    padding: 12px 14px;
    margin-bottom: 8px;
  }
  #section-landing .landing-berlatar .fmock-step:last-child,
  #section-landing .landing-berlatar .fmock-row:last-child { margin-bottom: 0; }
  #section-landing .landing-berlatar .fmock-title { margin-bottom: 13px; }

  
  
  #section-landing .landing-berlatar .tentang-section-title span { color: #0f172a; }
  #section-landing .landing-berlatar .feature-eyebrow { color: #15379f; }
  
  #section-landing .landing-berlatar .feature-text p { color: #0f172a; }
  
  #section-landing .landing-berlatar .fmock-sub,
  #section-landing .landing-berlatar .fmock-foot { color: #0f172a; }
  
  #section-landing .landing-berlatar .fmock-foot span {
    background: rgba(243, 248, 255, 0.52);
    border-color: rgba(255, 255, 255, 0.45);
  }
  
  #section-landing .landing-berlatar .fmock-badge[style*="success"] { color: #04724f !important; }
  #section-landing .landing-berlatar .fmock-badge[style*="primary"] { color: #1a44c4 !important; }

  
  #section-landing #landing-operasional {
    
    --wp-kabut: 0;
    
    --wp-warna-awal: #ffffff;
    --wp-warna-akhir: #ffffff;
    
    --wp-lebur-bawah: 190px;
    
    --wp-luber-bawah: 0px;
    
    padding-top: 48px;
    
    padding-bottom: 120px;
  }
  #landing-operasional::before {
    background-image:
      
      linear-gradient(180deg,
        rgba(255, 255, 255, 0)    calc(100% - 250px),
        rgba(255, 255, 255, 0.12) calc(100% - 170px),
        rgba(255, 255, 255, 0.34) calc(100% - 104px),
        rgba(255, 255, 255, 0.62) calc(100% - 46px),
        #ffffff                   100%),
      
      url('assets/img/landing/lab-operasional.webp?v=2');
    background-blend-mode: normal, normal;
    
    background-position: 50% 62%;
  }

  
  #section-landing #landing-operasional .lins-head {
    width: fit-content;
    max-width: 100%;
    margin-left: auto; margin-right: auto;
    padding: 22px 30px;
    border-radius: 22px;
  }

  
  #section-landing #landing-operasional .lins-head,
  #section-landing #landing-operasional .tentang-section-title,
  #section-landing #landing-operasional .feature-text {
    background: rgba(243, 248, 255, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.62);
    -webkit-backdrop-filter: blur(2.5px) saturate(1.5);
            backdrop-filter: blur(2.5px) saturate(1.5);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.75),
      0 26px 55px -30px rgba(15, 23, 42, 0.45);
  }
  
  
  #section-landing #landing-operasional .lins-card {
    padding: 10px;
    
    gap: 10px;
    background: rgba(243, 248, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.62);
    -webkit-backdrop-filter: blur(2.5px) saturate(1.5);
            backdrop-filter: blur(2.5px) saturate(1.5);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.75),
      0 26px 55px -30px rgba(15, 23, 42, 0.45);
  }
  
  #section-landing #landing-operasional .lins-tabs {
    background: rgba(243, 248, 255, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.62);
    -webkit-backdrop-filter: blur(2.5px) saturate(1.5);
            backdrop-filter: blur(2.5px) saturate(1.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  }
  #section-landing #landing-operasional .lins-tab { color: #0f172a; }
  #section-landing #landing-operasional .lins-tab.is-active {
    background: rgba(243, 248, 255, 0.84);
    box-shadow: 0 1px 3px rgba(15, 23, 42, .18);
  }

  #section-landing #landing-operasional .lins-body {
    background: rgba(243, 248, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.55);
    padding: 18px 20px;
  }
  
  #section-landing #landing-operasional .lins-media,
  #section-landing #landing-operasional .lins-body { border-radius: 14px; }
  
  #section-landing #landing-operasional .lins-media .lmock { border-radius: 12px; }

  
  #section-landing #landing-operasional .lmock,
  #section-landing #landing-operasional .lins-card .fmock {
    background: rgba(243, 248, 255, 0.78);
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
  }
  
  #section-landing #landing-operasional .feature-media .fmock,
  #section-landing #landing-operasional .faq-item {
    background: rgba(243, 248, 255, 0.18);
  }
  #section-landing #landing-operasional .fmock-row,
  #section-landing #landing-operasional .fmock-step,
  #section-landing #landing-operasional .fmock-search,
  #section-landing #landing-operasional .fmock-foot { background: none; }
  #section-landing #landing-operasional .fmock-foot span {
    background: rgba(243, 248, 255, 0.66);
    border-color: rgba(255, 255, 255, 0.5);
  }
  
  #section-landing #landing-operasional .fmock-search { color: #0f172a; }
  
  #section-landing #landing-operasional .faq-a {
    background: rgba(243, 248, 255, 0.52);
    border-radius: 12px;
  }
  #section-landing #landing-operasional .faq-item.open .faq-a { margin: 0 12px 12px; padding: 12px 14px; }

  
  
  #section-landing #landing-operasional .lins-stat-cap,
  #section-landing #landing-operasional .lins-sub,
  #section-landing #landing-operasional .lins-desc,
  #section-landing #landing-operasional .faq-a { color: #0f172a; }

  
  
  #section-landing .landing-berlatar .landing-split-card {
    background: rgba(243, 248, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 22px;
    -webkit-backdrop-filter: blur(2.5px) saturate(1.5);
            backdrop-filter: blur(2.5px) saturate(1.5);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.75),
      0 26px 55px -30px rgba(15, 23, 42, 0.45);
  }
  
  #section-landing .landing-berlatar .landing-split-card .fmock {
    max-width: none;
    background: rgba(243, 248, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
    box-shadow: none;
  }
  
  #section-landing .landing-berlatar .landing-split-card > p,
  #section-landing .landing-berlatar .landing-split-checks li { color: #0f172a; }
  #section-landing .landing-berlatar .landing-split-link { color: #15379f; }

  
  #section-landing .landing-berlatar .landing-split-card > p,
  #section-landing .landing-berlatar .landing-split-checks,
  #section-landing .landing-berlatar .landing-split-card h3 {
    background: rgba(243, 248, 255, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 16px;
    padding: 12px 14px;
  }
  
  #section-landing .landing-berlatar .landing-split-card h3 {
    border-bottom: none;
    border-radius: 16px 16px 0 0;
    padding-bottom: 4px;
    margin-bottom: 0;
  }
  #section-landing .landing-berlatar .landing-split-card > p {
    border-top: none;
    border-radius: 0 0 16px 16px;
    padding-top: 8px;
  }
  
  #section-landing .landing-berlatar .landing-split-link {
    background: rgba(243, 248, 255, 0.52);
    border-radius: 999px;
    padding: 7px 14px;
  }

  
  @media (max-width: 900px) {
    .landing-berlatar::before { background-position: 68% 50%; }
    
    .landing-berlatar {
      --wp-lebur-atas: 110px;
      padding-top: 92px;
      padding-bottom: 8px;
    }
    
    #landing-riset-alur { --wp-lebur-bawah: 240px; }
    #section-landing .landing-berlatar .tentang-section-title,
    #section-landing .landing-berlatar .feature-text { padding: 18px 18px; border-radius: 18px; }
  }
  
  #section-landing .faq-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 56px;
    
    align-items: stretch;
  }
  #section-landing .faq-split .faq-list { max-width: none; margin: 0; }

  
  #section-landing .faq-split .faq-kepala {
    display: flex;
    flex-direction: column;
    
    text-align: left;
  }
  #section-landing .faq-split .faq-kepala h3 { justify-content: flex-start; }
  #section-landing .faq-split .faq-kepala span { margin-left: 0; }

  
  #section-landing .faq-qmark-wrap {
    position: relative;
    flex: 1;
    min-height: 0;
    
    width: 100%;
    margin-top: 22px;
    isolation: isolate;
  }

  
  #section-landing .faq-qmark-glow {
    position: absolute;
    width: 96%; aspect-ratio: 1;
    max-height: 100%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 100%);
    animation: qm-glow 7s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
  }

  
  #section-landing .faq-qmark-shadow {
    position: absolute;
    left: 50%; bottom: 4%;
    width: 46%; height: 5%;
    min-height: 14px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(58, 74, 96, 0.55) 0%, rgba(58, 74, 96, 0) 100%);
    filter: blur(10px);
    transform: translateX(-50%);
    animation: qm-shadow 7s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
  }

  
  #section-landing .faq-qmark {
    display: block;
    position: absolute;
    left: 0; right: 0; bottom: 0;
    margin: 0 auto;
    max-height: 100%;
    max-width: 100%;
    width: auto; height: auto;
    object-fit: contain;
    filter: drop-shadow(0 26px 34px rgba(50, 64, 84, 0.32));
    animation: qm-float 7s ease-in-out infinite;
    will-change: transform;
  }

  @keyframes qm-float {
    0%   { transform: translate3d(0, 0, 0) rotate(-2.5deg); }
    50%  { transform: translate3d(0, -34px, 0) rotate(2deg); }
    100% { transform: translate3d(0, 0, 0) rotate(-2.5deg); }
  }
  @keyframes qm-shadow {
    0%   { transform: translateX(-50%) scale(1); opacity: .34; }
    50%  { transform: translateX(-50%) scale(.84); opacity: .18; }
    100% { transform: translateX(-50%) scale(1); opacity: .34; }
  }
  @keyframes qm-glow {
    0%   { opacity: .30; transform: scale(1); }
    50%  { opacity: .52; transform: scale(1.06); }
    100% { opacity: .30; transform: scale(1); }
  }

  
  @media (prefers-reduced-motion: reduce) {
    #section-landing .faq-qmark,
    #section-landing .faq-qmark-glow,
    #section-landing .faq-qmark-shadow { animation: none; }
  }

  @media (max-width: 900px) {
    
    #section-landing .faq-split {
      grid-template-columns: 1fr;
      gap: 8px;
    }
    #section-landing .faq-split .faq-kepala { text-align: center; }
    #section-landing .faq-split .faq-kepala h3 { justify-content: center; }
    #section-landing .faq-qmark-wrap {
      flex: none;
      height: 230px;
      margin-top: 16px;
    }
  }
  
  .landing-insight { padding-top: 64px; padding-bottom: 64px; }
  
  .lins-head { max-width: 640px; margin: 0 auto 26px; text-align: center; }
  .lins-title {
    font-size: 36px; font-weight: 800; letter-spacing: -.5px; line-height: 1.15;
    color: var(--l-head); margin: 0 0 12px; text-wrap: balance;
  }
  .lins-sub { font-size: 16px; line-height: 1.6; color: var(--l-dim); margin: 0; }

  
  .lins-tabs {
    display: inline-flex; flex-wrap: wrap; gap: 4px; margin-bottom: 22px;
    padding: 5px; background: var(--l-tint); border: 1px solid var(--l-brd); border-radius: 999px;
  }
  .lins-tab {
    border: none; background: transparent; cursor: pointer;
    font-family: var(--font), sans-serif; font-size: 14px; font-weight: 600;
    
    color: var(--l-dim); padding: 13.5px 18px; border-radius: 999px;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease;
  }
  .lins-tab:hover { color: var(--l-head); }
  .lins-tab.is-active { background: #fff; color: var(--l-head); box-shadow: 0 1px 3px rgba(15,23,42,.14); }

  
  .lins-stage { position: relative; }
  .lins-card {
    display: none; grid-template-columns: 320px 1fr;
    background: var(--l-card); border: 1px solid var(--l-brd); border-radius: 24px;
    overflow: hidden; box-shadow: 0 12px 34px -20px rgba(15, 23, 42, .28);
  }
  .lins-card.is-active { display: grid; animation: linsFade .26s ease; }
  @keyframes linsFade { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

  
  .lins-card:nth-child(even) { grid-template-columns: 1fr 320px; }
  .lins-card:nth-child(even) .lins-media { order: 2; }
  .lins-card:nth-child(even) .lins-body { order: 1; }

  
  .lins-card.is-active .lins-media { animation: linsMediaKiri .34s ease both; }
  .lins-card:nth-child(even).is-active .lins-media { animation-name: linsMediaKanan; }
  @keyframes linsMediaKiri { from { opacity: 0; transform: translateX(-22px); } to { opacity: 1; transform: none; } }
  @keyframes linsMediaKanan { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) {
    .lins-card.is-active,
    .lins-card.is-active .lins-media { animation: none; }
  }
  .lins-media {
    display: flex; align-items: center; justify-content: center; min-height: 268px;
    background: linear-gradient(160deg, #eef2f8 0%, #e2e8f2 100%);
  }
  
  .lmock {
    width: 100%; max-width: 268px; background: #fff;
    border: 1px solid var(--l-brd); border-radius: 12px; overflow: hidden;
    
    box-shadow: 0 10px 26px -14px rgba(15, 23, 42, .35); font-size: 12px;
  }
  .lmock-bar {
    display: flex; align-items: center; gap: 5px;
    padding: 8px 10px; border-bottom: 1px solid var(--l-brd); background: #fbfcfe;
  }
  .lmock-dot { width: 7px; height: 7px; border-radius: 50%; background: #dbe2ec; flex-shrink: 0; }
  .lmock-cap { margin-left: 6px; font-size: 12px; font-weight: 700; color: var(--l-muted); letter-spacing: .02em; }
  .lmock-body { padding: 10px; display: flex; flex-direction: column; gap: 7px; }

  
  .lmock-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
  .lmock-tile { border: 1px solid var(--l-brd); border-radius: 8px; padding: 7px 8px; background: #fff; }
  .lmock-k { display: block; font-size: 12px; color: var(--l-muted); font-weight: 600; }
  .lmock-v { display: block; font-size: 16px; font-weight: 800; color: var(--l-head); letter-spacing: -.4px; margin-top: 1px; }
  .lmock-chart {
    display: flex; align-items: flex-end; gap: 5px; height: 62px;
    border: 1px solid var(--l-brd); border-radius: 8px; padding: 8px;
  }
  .lmock-chart span { flex: 1; background: linear-gradient(180deg, var(--l-accent), #93b4f5); border-radius: 3px 3px 0 0; }

  
  .lmock-item {
    display: flex; align-items: center; gap: 7px;
    border: 1px solid var(--l-brd); border-radius: 8px; padding: 7px 8px;
    color: var(--l-head); font-weight: 600;
  }
  .lmock-item i { color: var(--l-accent); font-size: 12px; width: 13px; text-align: center; flex-shrink: 0; }
  .lmock-item span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lmock-item em {
    font-style: normal; font-size: 12px; font-weight: 700;
    padding: 2px 7px; border-radius: 999px; flex-shrink: 0;
  }
  
  .lmock-item em.is-ok { background: #dcfce7; color: #166534; }
  .lmock-item em.is-warn { background: #fef3c7; color: #92400e; }
  .lmock-item em.is-due { background: #e0e7ff; color: #3730a3; }

  
  .lmock-log {
    display: flex; align-items: center; gap: 7px;
    border: 1px solid var(--l-brd); border-radius: 8px; padding: 7px 8px;
    color: var(--l-head); font-weight: 600;
  }
  .lmock-log i { color: var(--l-accent); font-size: 12px; width: 13px; text-align: center; flex-shrink: 0; }
  .lmock-log span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lmock-log em {
    font-style: normal; font-size: 12px; font-weight: 600; color: var(--l-muted);
    flex-shrink: 0; font-variant-numeric: tabular-nums;
  }

  
  .lmock-line { height: 8px; border-radius: 4px; background: #eef2f7; }
  .lmock-line.w90 { width: 90%; } .lmock-line.w80 { width: 80%; }
  .lmock-line.w70 { width: 70%; } .lmock-line.w55 { width: 55%; }
  .lmock-sign {
    margin-top: 3px; display: flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 700; color: var(--l-head);
    border: 1px dashed var(--l-brd); border-radius: 8px; padding: 7px 8px;
  }
  .lmock-sign i { color: var(--l-accent); }
  .lins-body { padding: 40px 42px; display: flex; flex-direction: column; }
  .lins-stat { font-size: 60px; font-weight: 800; line-height: 1; letter-spacing: -1.5px; color: var(--l-head); }
  .lins-stat-cap { font-size: 14px; color: var(--l-dim); margin-top: 8px; max-width: 520px; text-wrap: pretty; }
  
  .lins-desc { font-size: 16px; line-height: 1.62; color: var(--l-head); margin: 20px 0 0; max-width: 680px; text-wrap: pretty; }
  .lins-role {
    margin-top: auto; padding-top: 24px; font-size: 14px; font-weight: 700;
    color: var(--l-dim); display: inline-flex; align-items: center; gap: 8px;
  }
  .lins-role i { color: var(--l-accent); }

  @media (max-width: 760px) {
    .landing-insight { padding-top: 44px; padding-bottom: 44px; }
    .lins-title { font-size: 24px; }
    
    .lins-card,
    .lins-card:nth-child(even) { grid-template-columns: 1fr; }
    .lins-card:nth-child(even) .lins-media,
    .lins-card:nth-child(even) .lins-body { order: 0; }
    .lins-media { min-height: 148px; }
    
    .lins-media > i { font-size: 48px; }
    .lins-body { padding: 28px 24px; }
    .lins-stat { font-size: 36px; }
  }


#section-kontak {
  --k-gelap: #0d1117;
  --k-teks: #0f172a;
  --k-redup: #5b6b7f;
  --k-garis: #e2e8f0;
  
  background: #f2f5f8;
  color: var(--k-redup);

  
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  
  margin-top: -24px;
  overflow: hidden;
}


#section-kontak .kontak-peta {
  position: relative;
  
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 56px max(24px, calc((100% - var(--l-wrap, 1250px)) / 2));
  overflow: hidden;
}


#section-kontak .kontak-peta-latar {
  position: absolute; inset: 0; z-index: 0;
  background-color: #dfe5ec;
  background-image:
    linear-gradient(rgba(148, 163, 184, .22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .22) 1px, transparent 1px),
    linear-gradient(rgba(148, 163, 184, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .12) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
}

#section-kontak .kontak-peta-bingkai {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; border: 0;
  
}


#section-kontak .kontak-peta::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  
  background: linear-gradient(180deg, rgba(242,245,248,0) 78%, rgba(242,245,248,.92) 100%);
}


#section-kontak .kontak-panel {
  position: relative;
  z-index: 2;
  width: 100%; max-width: 420px;
  background: rgba(243, 248, 255, 0.62);
  color: #33465e;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 24px;
  -webkit-backdrop-filter: blur(2.5px) saturate(1.5);
          backdrop-filter: blur(2.5px) saturate(1.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 26px 55px -30px rgba(15, 23, 42, 0.45);
  overflow: hidden;
}
#section-kontak .kontak-panel-kepala {
  padding: 22px 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.62);
}
#section-kontak .kontak-panel-kepala h3 {
  margin: 0; color: var(--k-teks); font-size: 18px; font-weight: 800; letter-spacing: -.2px;
}
#section-kontak .kontak-panel-isi { padding: 22px 26px 26px; }
#section-kontak .kontak-kantor-nama {
  display: block; color: var(--k-teks); font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: 16px;
}
#section-kontak .kontak-daftar { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
#section-kontak .kontak-daftar li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.6; }
#section-kontak .kontak-daftar i { width: 16px; flex-shrink: 0; padding-top: 3px; color: #6b7c93; }
#section-kontak .kontak-daftar a { color: inherit; text-decoration: none; }
#section-kontak .kontak-daftar a:hover { color: var(--k-teks); text-decoration: underline; }


#section-kontak .kontak-form-band {
  padding: 74px max(24px, calc((100% - var(--l-wrap, 1250px)) / 2)) 88px;
}
#section-kontak .kontak-judul { max-width: 720px; margin-bottom: 46px; }
#section-kontak .kontak-subjudul {
  display: block; font-size: 14px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--k-redup); margin-bottom: 10px;
}
#section-kontak .kontak-judul h2 {
  margin: 0; color: var(--k-teks); font-size: clamp(30px, 3.4vw, 36px);
  line-height: 1.15; font-weight: 800; letter-spacing: -1.1px;
}


#section-kontak .kontak-grid {
  display: grid; grid-template-columns: 4fr 8fr; column-gap: 56px; align-items: start;
}
#section-kontak .kontak-naskah p { margin: 0 0 16px; font-size: 16px; line-height: 1.75; }
#section-kontak .kontak-naskah .btn-landing-ghost { margin-top: 8px; }

#section-kontak .kontak-form-baris { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
#section-kontak .kontak-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
#section-kontak .kontak-form-baris .kontak-field { margin-bottom: 0; }
#section-kontak .kontak-field label {
  font-size: 14px; font-weight: 700; color: var(--k-teks); letter-spacing: .01em;
}
#section-kontak .kontak-field input,
#section-kontak .kontak-field textarea {
  font: inherit; font-size: 14px; color: var(--k-teks);
  background: #fff; border: 1px solid var(--k-garis); border-radius: 10px;
  padding: 12px 14px; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
#section-kontak .kontak-field textarea { resize: vertical; min-height: 120px; }
#section-kontak .kontak-field input:focus,
#section-kontak .kontak-field textarea:focus {
  outline: none; border-color: #94a3b8; box-shadow: 0 0 0 3px rgba(148,163,184,.18);
}
#section-kontak .kontak-kirim { margin-top: 8px; }


#section-kontak .kontak-form, #section-kontak .kontak-sukses { grid-column: 2; grid-row: 1; }
#section-kontak .kontak-sukses {
  border: 1px solid var(--k-garis); border-radius: 14px; padding: 40px 34px;
  background: #f8fafc; text-align: center;
}
#section-kontak .kontak-sukses i { font-size: 36px; color: #16a34a; }
#section-kontak .kontak-sukses h3 { margin: 16px 0 8px; font-size: 20px; font-weight: 800; color: var(--k-teks); }
#section-kontak .kontak-sukses p { margin: 0; font-size: 14px; line-height: 1.7; }


@media (max-width: 900px) {
  #section-kontak .kontak-peta { min-height: 0; padding-top: 40px; padding-bottom: 40px; }
  #section-kontak .kontak-panel { max-width: none; }
  #section-kontak .kontak-form-band { padding-top: 52px; padding-bottom: 60px; }
  #section-kontak .kontak-grid { grid-template-columns: 1fr; row-gap: 34px; }
  
  #section-kontak .kontak-form, #section-kontak .kontak-sukses { grid-column: 1; grid-row: auto; }
  #section-kontak .kontak-form-baris { grid-template-columns: 1fr; }
}

  
  #section-kontak .kontak-peta-tautan {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
    font-size: 14px; font-weight: 700; color: #fff; text-decoration: none;
    border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 9px 16px;
    transition: background .16s ease, border-color .16s ease;
  }
  #section-kontak .kontak-peta-tautan:hover {
    background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4);
  }
  #section-kontak .kontak-peta-tautan i { font-size: 12px; }


#section-daftar {
  --d-teks: #0f172a;
  --d-redup: #5b6b7f;
  --d-garis: #e2e8f0;
  background: #f2f5f8;
  color: var(--d-redup);

  
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-top: -24px;
  overflow: hidden;
}


#section-daftar .daftar-pita {
  position: relative;
  background:
    radial-gradient(70% 120% at 18% 0%, rgba(255, 255, 255, .07) 0%, transparent 60%),
    linear-gradient(180deg, #0d1117 0%, #131a24 100%);
  padding: 86px max(24px, calc((100% - var(--l-wrap, 1250px)) / 2)) 70px;
}
#section-daftar .daftar-pita-isi { max-width: 620px; }
#section-daftar .daftar-pita h1 {
  margin: 0 0 14px; color: #fff;
  font-size: clamp(36px, 4vw, 48px); line-height: 1.1; font-weight: 800; letter-spacing: -1.4px;
}
#section-daftar .daftar-pita p {
  margin: 0; color: rgba(255, 255, 255, .66); font-size: 16px; line-height: 1.7;
}

#section-daftar .daftar-remah {
  display: flex; align-items: center; gap: 10px;
  margin-top: 26px; font-size: 14px; font-weight: 600;
  color: rgba(255, 255, 255, .45);
}
#section-daftar .daftar-remah a { color: rgba(255, 255, 255, .7); text-decoration: none; }
#section-daftar .daftar-remah a:hover { color: #fff; text-decoration: underline; }
#section-daftar .daftar-remah [aria-current] { color: rgba(255, 255, 255, .95); }


#section-daftar .daftar-badan {
  padding: 56px max(24px, calc((100% - var(--l-wrap, 1250px)) / 2)) 88px;
}


#section-daftar #reg-kartu { display: block; }
#section-daftar .auth-back-beranda { display: none; } 

#section-daftar .auth-card-luxury {
  display: grid;
  grid-template-columns: 4fr 8fr;   
  gap: 0;
  width: 100%;
  max-width: none;                  
  min-height: 0;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 70px -34px rgba(15, 23, 42, .38), 0 4px 16px -8px rgba(15, 23, 42, .16);
  border: 1px solid var(--d-garis);
  background: #fff;
}


#section-daftar .auth-brand-panel {
  background: linear-gradient(180deg, #0d1117 0%, #16202c 100%);
  color: rgba(255, 255, 255, .72);
  padding: 40px 34px;
  display: flex; flex-direction: column; gap: 26px;
}
#section-daftar .auth-brand-headline h1 { font-size: 24px; line-height: 1.25; margin: 0 0 10px; color: #fff; }
#section-daftar .auth-brand-headline p { font-size: 14px; line-height: 1.7; margin: 0; }
#section-daftar .auth-brand-features { margin-top: auto; }
#section-daftar .auth-brand-footer { color: rgba(255, 255, 255, .38); font-size: 12px; }


#section-daftar .reg-form-panel {
  padding: 40px 38px 44px;
  background: #fff;
  overflow: visible;   
  max-height: none;
}


@media (max-width: 980px) {
  #section-daftar .daftar-pita { padding-top: 56px; padding-bottom: 44px; }
  #section-daftar .daftar-badan { padding-top: 36px; padding-bottom: 56px; }
  #section-daftar .auth-card-luxury { grid-template-columns: 1fr; }
  
  #section-daftar .auth-brand-panel { order: 2; padding: 30px 24px; }
  #section-daftar .reg-form-panel { order: 1; padding: 30px 22px 34px; }
}
  

  
  @media (max-width: 1280px) {
    body.nl-landing #public-nav-links {
      background: var(--l-hero-top);
      box-shadow: 0 14px 28px rgba(15, 23, 42, .18);
    }
    
    body.nl-landing #public-nav-links > a,
    body.nl-landing #public-nav-links > span {
      border-bottom: 1px solid rgba(15, 23, 42, .08);
    }
    body.nl-landing #public-nav-links > a:last-child { border-bottom: none; }
  }

  @media (max-width: 900px) {
    
    #section-landing, body.nl-etalase { --l-wrap: 760px; }
    .landing-hero h1 { font-size: 36px; letter-spacing: -1px; }
    .landing-hero-shot { margin-bottom: -50px; }
    .hiw-grid { grid-template-columns: repeat(2, 1fr); }
    .landing-sec-grid { grid-template-columns: repeat(2, 1fr); }
    #section-landing .feature-media .fmock { max-width: 360px; }
    
    .appshot-side { display: none; }
  }
  @media (max-width: 560px) {
    .landing-hero { padding-top: 44px; padding-bottom: 36px; }
    .landing-hero h1 { font-size: 30px; letter-spacing: -.6px; }
    .landing-hero-sub { font-size: 14px; }
    .landing-cta-row-center { flex-direction: column; align-items: stretch; }
    .landing-cta-row-center .btn-landing-primary,
    .landing-cta-row-center .btn-landing-ghost { justify-content: center; }
    .hiw-grid, .landing-sec-grid { grid-template-columns: 1fr; }
    .appshot-stats { grid-template-columns: 1fr; }
    .landing-cta-band h2 { font-size: 24px; }
    #section-landing .feature-media { padding: 30px; }
  }


  
  .lightbox-overlay {
    position: fixed; inset: 0; z-index: 3000;
    background: rgba(8,12,22,0.92);
    display: none;
    align-items: center; justify-content: center;
    padding: 40px;
  }
  .lightbox-overlay.open { display: flex; }
  .lightbox-overlay img {
    max-width: min(900px, 90vw);
    max-height: 80vh;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    object-fit: contain;
  }
  .lightbox-caption {
    position: absolute; left: 0; right: 0; bottom: 28px;
    text-align: center; color: rgba(255,255,255,0.85);
    font-size: 14px; font-weight: 500;
  }
  .lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 14px;
  }
  .lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.22); }
  .lightbox-close { top: 24px; right: 24px; }
  .lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
  .lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

  
  .nav-dropdown { position: relative; }
  .nav-dropdown-menu {
    position: absolute; top: 100%; left: 0;
    padding-top: 14px;
    z-index: 501;
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-4px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
  }
  .nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
  }
  @media (prefers-reduced-motion: reduce) {
    .nav-dropdown-menu, .nav-dropdown-menu-inner,
    .nav-mega-intro, .nav-megamenu-cols { transition: none !important; }
    .nav-mega-intro, .nav-megamenu-cols, .nav-dropdown-menu-inner { transform: none; opacity: 1; }
  }
  .nav-dropdown-menu-inner {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    min-width: 220px; padding: 6px;
  }
  .nav-dropdown-menu a {
    display: block; padding: 10px 14px; border-radius: var(--radius);
    color: var(--text-primary) !important; font-weight: 500 !important; font-size: 14px !important;
    text-decoration: none !important; white-space: nowrap;
    transition: background var(--transition);
  }
  .nav-dropdown-menu a:hover { background: var(--surface-1); color: var(--primary) !important; }

  
  .nav-dropdown > a .fa-chevron-down { transition: transform .15s ease; }
  .nav-dropdown:hover > a .fa-chevron-down, .nav-dropdown:focus-within > a .fa-chevron-down {
    transform: rotate(180deg);
  }

  
  .nav-megamenu { height: var(--public-nav-height); display: flex; align-items: center; }
  
  .nav-megamenu .nav-dropdown-menu {
    position: fixed; left: 0; right: 0; top: var(--public-nav-height); bottom: 0;
    width: 100%; padding-top: 0;
    transform: none;
    display: flex; justify-content: center; align-items: flex-start;
    overflow: hidden;
    pointer-events: none;
    
    transition: opacity .22s ease, visibility .22s;
  }
  
  .nav-megamenu:hover .nav-dropdown-menu, .nav-megamenu:focus-within .nav-dropdown-menu {
    transform: none;
    pointer-events: none;
  }
  .nav-megamenu .nav-dropdown-menu-inner { pointer-events: auto; transform: translateY(-10px); transition: transform .22s ease; }
  .nav-megamenu:hover .nav-dropdown-menu-inner, .nav-megamenu:focus-within .nav-dropdown-menu-inner {
    transform: translateY(0);
  }
  
  body.nl-nav-scrolling .nav-megamenu .nav-dropdown-menu {
    opacity: 0 !important; visibility: hidden !important; pointer-events: none !important;
  }
  
  .nav-mega-intro, .nav-megamenu-cols {
    transform: translateY(14px); opacity: 0;
    transition: transform .28s ease, opacity .28s ease;
  }
  .nav-megamenu:hover .nav-mega-intro, .nav-megamenu:focus-within .nav-mega-intro,
  .nav-megamenu:hover .nav-megamenu-cols, .nav-megamenu:focus-within .nav-megamenu-cols {
    transform: none; opacity: 1;
  }
  .nav-megamenu:hover .nav-mega-intro, .nav-megamenu:focus-within .nav-mega-intro { transition-delay: .05s; }
  .nav-megamenu:hover .nav-megamenu-cols, .nav-megamenu:focus-within .nav-megamenu-cols { transition-delay: .12s; }
  .nav-megamenu:hover .nav-megamenu-cols + .nav-megamenu-cols,
  .nav-megamenu:focus-within .nav-megamenu-cols + .nav-megamenu-cols { transition-delay: .19s; }
  
  
  .nav-megamenu .nav-dropdown-menu-inner {
    width: 100%; padding: 44px 64px 40px; min-width: 0;
    background: var(--surface); border: none;
    border-radius: 0 0 24px 24px;
    
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .25), 0 0 0 9999px rgba(0, 0, 0, .22);
    display: flex; gap: 56px;
  }
  
  .nav-mega-intro {
    flex: 0 0 300px; min-width: 0;
    display: flex; flex-direction: column; align-items: flex-start;
    justify-content: space-between; gap: 22px;
    padding-right: 56px; border-right: 1px solid var(--border);
  }
  .nav-mega-intro-title {
    font-size: 24px; font-weight: 600; line-height: 1.3;
    letter-spacing: -.2px; color: var(--text-primary);
  }
  
  .nav-megamenu .nav-dropdown-menu a.nav-mega-intro-btn {
    display: inline-flex; align-items: center;
    padding: 9px 20px; border-radius: 9999px;
    background: var(--surface-1); color: var(--text-primary) !important;
    font-size: 14px !important; font-weight: 600 !important;
    white-space: nowrap;
    transition: background .15s ease;
  }
  .nav-megamenu .nav-dropdown-menu a.nav-mega-intro-btn:hover { background: var(--border); }
  
  .nav-megamenu-cols { display: flex; flex-direction: column; flex: 1; min-width: 0; }
  .nav-megamenu-cols + .nav-megamenu-cols { border-left: 1px solid var(--border); padding-left: 32px; }
  .nav-mega-col-label {
    font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--text-muted); padding: 4px 10px 10px; margin-bottom: 6px;
    border-bottom: 1px solid var(--border);
  }
  .nav-mega-item {
    display: flex !important; align-items: flex-start; gap: 14px;
    padding: 12px 10px !important; white-space: normal !important; border-radius: var(--radius);
  }
  .nav-mega-item + .nav-mega-item { margin-top: 2px; }
  .nav-mega-item > i {
    font-size: 14px; color: var(--primary); width: 18px; flex-shrink: 0;
    margin-top: 3px; text-align: center;
  }
  .nav-mega-title { display: block; font-weight: 600 !important; font-size: 14px !important; color: var(--text-primary); }
  .nav-mega-desc {
    display: block; font-weight: 400 !important; font-size: 12px !important;
    color: var(--text-muted); margin-top: 3px; white-space: normal;
  }
  
  @media (max-width: 1600px) {
    .nav-megamenu .nav-dropdown-menu-inner { padding: 36px 32px 32px; }
    .nav-mega-intro { flex: 0 1 240px; }
    .nav-megamenu-cols + .nav-megamenu-cols { padding-left: 22px; }
  }
  @media (max-width: 1400px) {
    .nav-megamenu .nav-dropdown-menu-inner { padding: 32px 24px 28px; }
    .nav-mega-intro { flex: 0 1 200px; }
    .nav-megamenu-cols + .nav-megamenu-cols { padding-left: 16px; }
    .nav-mega-item { gap: 10px; padding: 10px 8px !important; }
  }

  @media (max-width: 900px) {
    .nav-megamenu .nav-dropdown-menu-inner { flex-direction: column; gap: 4px; padding: 20px 24px; border-radius: 0 0 16px 16px; }
    .nav-megamenu-cols + .nav-megamenu-cols { border-left: none; padding-left: 0; border-top: 1px solid var(--border); margin-top: 8px; padding-top: 8px; }
    
    .nav-mega-intro { display: none; }
  }

  
  .pub-editor-toolbar {
    display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
    background: var(--surface-2); border: 1px solid var(--border); border-bottom: none;
    border-radius: var(--radius) var(--radius) 0 0; padding: 6px 8px;
  }
  .pub-editor-btn {
    background: none; border: 1px solid transparent; border-radius: 6px;
    padding: 6px 9px; font-size: 12px; color: var(--text-secondary); cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px;
  }
  .pub-editor-btn:hover { background: var(--surface-3); color: var(--text-primary); }
  .pub-editor-btn.is-active { background: var(--primary-100); color: var(--primary); border-color: var(--primary-light); }
  .pub-editor-select {
    
    appearance: none; cursor: pointer;
    border: 1px solid var(--border); border-radius: 6px; padding: 5px 20px 5px 6px;
    font-size: 12px; color: var(--text-secondary);
    background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%231e40af' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 6px center;
  }
  .pub-editor-sep { width: 1px; height: 20px; background: var(--border); margin: 0 4px; }
  .pub-editor-color-btn {
    display: inline-flex; align-items: center; gap: 4px; position: relative;
    padding: 6px 8px; border-radius: 6px; cursor: pointer; color: var(--text-secondary); font-size: 12px;
  }
  .pub-editor-color-btn:hover { background: var(--surface-3); }
  .pub-editor-color-btn input[type="color"] {
    position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: none; padding: 0;
  }
  .pub-editor-table-toolbar {
    display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
    background: #fffbeb; border: 1px solid #fde68a; border-bottom: none;
    padding: 6px 8px;
  }

  .pub-editor-content {
    border: 1px solid var(--border); border-radius: 0 0 var(--radius) var(--radius);
    background: var(--surface); overflow: hidden;
  }
  .pub-editor-content .ProseMirror {
    min-height: 240px; max-height: 560px; overflow-y: auto; overflow-x: auto;
    padding: 14px 16px; font-size: 14px; line-height: 1.7; outline: none;
  }
  .ProseMirror p.is-editor-empty:first-child::before {
    content: attr(data-placeholder); color: var(--text-muted); float: left; height: 0; pointer-events: none;
  }

  
  .pub-editor-content blockquote, .pub-content-render blockquote {
    border-left: 3px solid var(--primary-light); margin: 10px 0; padding: 4px 14px; color: var(--text-secondary);
  }
  .pub-editor-content ul, .pub-content-render ul,
  .pub-editor-content ol, .pub-content-render ol { padding-left: 22px; margin: 8px 0; }
  .pub-editor-content ul[data-type="taskList"], .pub-content-render ul[data-type="taskList"] {
    list-style: none; padding-left: 4px;
  }
  .pub-editor-content ul[data-type="taskList"] li, .pub-content-render ul[data-type="taskList"] li {
    display: flex; align-items: flex-start; gap: 8px; margin: 4px 0;
  }
  .pub-editor-content ul[data-type="taskList"] li > label, .pub-content-render ul[data-type="taskList"] li > label { margin-top: 3px; }
  .pub-editor-content ul[data-type="taskList"] li > div > p, .pub-content-render ul[data-type="taskList"] li > div > p { margin: 0; }
  .pub-editor-content h1, .pub-content-render h1 { font-size: 24px; font-weight: 700; margin: 14px 0 8px; }
  .pub-editor-content h2, .pub-content-render h2 { font-size: 20px; font-weight: 700; margin: 12px 0 6px; }
  .pub-editor-content h3, .pub-content-render h3 { font-size: 16px; font-weight: 700; margin: 10px 0 6px; }
  .pub-editor-content h4, .pub-content-render h4 { font-size: 14px; font-weight: 700; margin: 8px 0 4px; }
  .pub-editor-content h5, .pub-content-render h5 { font-size: 14px; font-weight: 700; margin: 8px 0 4px; }
  .pub-editor-content h6, .pub-content-render h6 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin: 8px 0 4px; }
  .pub-editor-content pre, .pub-content-render pre {
    background: #1e1e2e; color: #e2e2f0; padding: 12px 14px; border-radius: var(--radius);
    overflow-x: auto; font-family: var(--font-mono), monospace; font-size: 14px; margin: 10px 0;
  }
  .pub-editor-content code, .pub-content-render code { font-family: var(--font-mono), monospace; }
  .pub-editor-content pre code, .pub-content-render pre code { background: none; padding: 0; }
  .pub-editor-content hr, .pub-content-render hr { border: none; border-top: 2px solid var(--border); margin: 16px 0; }
  .pub-content-render p { margin: 0 0 10px; }
  .pub-content-render a { color: var(--primary); }
  .pub-content-render mark { border-radius: 3px; padding: 0 2px; }

  
  .pub-editor-content table, .pub-content-render table {
    border-collapse: collapse; margin: 12px 0; width: 100%; table-layout: fixed;
  }
  .pub-editor-content td, .pub-editor-content th,
  .pub-content-render td, .pub-content-render th {
    border: 1px solid var(--border); padding: 6px 10px; vertical-align: top; position: relative;
  }
  .pub-editor-content th, .pub-content-render th { background: var(--surface-2); font-weight: 700; text-align: left; }
  .pub-editor-content .selectedCell { background: var(--primary-50); }
  .pub-editor-content .column-resize-handle {
    position: absolute; right: -2px; top: 0; bottom: -2px; width: 4px; background: var(--primary-light); pointer-events: none;
  }

  
  .pub-img-wrap { position: relative; display: block; margin: 10px 0; width: fit-content; }
  .pub-img-wrap[data-align="center"] { margin-left: auto; margin-right: auto; }
  .pub-img-wrap[data-align="right"] { margin-left: auto; margin-right: 0; }
  .pub-img-wrap img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }
  .pub-img-wrap.is-selected img { outline: 2px solid var(--primary); outline-offset: 2px; }
  .pub-img-caption {
    font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 4px; outline: none;
    min-width: 40px;
  }
  .pub-img-caption:empty:before { content: 'Keterangan gambar...'; color: var(--text-muted); opacity: .6; }
  .pub-img-controls {
    display: none; position: absolute; top: -34px; left: 50%; transform: translateX(-50%);
    background: #161b22; border-radius: 6px; padding: 4px; gap: 2px; box-shadow: var(--shadow-md); z-index: 5;
  }
  .pub-img-wrap.is-selected .pub-img-controls { display: flex; }
  .pub-img-controls button {
    background: none; border: none; color: #fff; padding: 5px 7px; border-radius: 4px; cursor: pointer; font-size: 12px;
  }
  .pub-img-controls button:hover { background: rgba(255,255,255,.15); }
  .pub-img-resize-handle {
    display: none; position: absolute; right: -6px; bottom: -6px; width: 14px; height: 14px;
    background: var(--primary); border: 2px solid #fff; border-radius: 50%; cursor: nwse-resize; z-index: 5;
  }
  .pub-img-wrap.is-selected .pub-img-resize-handle { display: block; }

  
  .pub-crop-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.65); z-index: 2000;
    display: flex; align-items: center; justify-content: center; padding: 20px;
  }
  .pub-crop-dialog {
    background: var(--surface); border-radius: var(--radius); width: min(720px, 100%);
    max-height: 90vh; max-height: 90dvh;
    display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow-md);
  }
  .pub-crop-header {
    display: flex; align-items: center; justify-content: space-between; padding: 12px 16px;
    border-bottom: 1px solid var(--border); font-weight: 700; font-size: 14px;
  }
  .pub-crop-close { background: none; border: none; font-size: 20px; line-height: 1; cursor: pointer; color: var(--text-muted); }
  .pub-crop-stage {
    position: relative; flex: 1; display: flex; align-items: center; justify-content: center;
    background: #0f1115; min-height: 320px; max-height: 60vh; overflow: hidden; padding: 16px; user-select: none;
  }
  .pub-crop-img { max-width: 100%; max-height: 55vh; display: block; pointer-events: none; }
  .pub-crop-box {
    position: absolute; border: 2px dashed #fff; box-shadow: 0 0 0 2000px rgba(0,0,0,.55); cursor: move;
  }
  .pub-crop-handle {
    position: absolute; width: 14px; height: 14px; background: var(--primary);
    border: 2px solid #fff; border-radius: 50%; z-index: 2;
  }
  .pub-crop-handle[data-dir="nw"] { left: -7px; top: -7px; cursor: nwse-resize; }
  .pub-crop-handle[data-dir="ne"] { right: -7px; top: -7px; cursor: nesw-resize; }
  .pub-crop-handle[data-dir="sw"] { left: -7px; bottom: -7px; cursor: nesw-resize; }
  .pub-crop-handle[data-dir="se"] { right: -7px; bottom: -7px; cursor: nwse-resize; }
  .pub-crop-footer {
    display: flex; justify-content: flex-end; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border);
  }

  
  .pub-excalidraw-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.65); z-index: 2000;
    display: flex; align-items: center; justify-content: center; padding: 20px;
  }
  .pub-excalidraw-dialog {
    background: var(--surface); border-radius: var(--radius); width: min(1100px, 100%);
    height: min(760px, 92vh); height: min(760px, 92dvh);
    display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow-md);
  }
  .pub-excalidraw-header {
    display: flex; align-items: center; justify-content: space-between; padding: 12px 16px;
    border-bottom: 1px solid var(--border); font-weight: 700; font-size: 14px; flex: none;
  }
  .pub-excalidraw-close { background: none; border: none; font-size: 20px; line-height: 1; cursor: pointer; color: var(--text-muted); }
  .pub-excalidraw-canvas { position: relative; flex: 1; min-height: 0; }
  .pub-excalidraw-loading {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); font-size: 14px; gap: 8px;
  }
  .pub-excalidraw-footer {
    display: flex; justify-content: flex-end; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border); flex: none;
  }

  
  .pub-rumus-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.65); z-index: 2000;
    display: flex; align-items: center; justify-content: center; padding: 20px;
  }
  .pub-rumus-dialog {
    background: var(--surface); border-radius: var(--radius); width: min(640px, 100%);
    display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow-md);
  }
  .pub-rumus-header {
    display: flex; align-items: center; justify-content: space-between; padding: 12px 16px;
    border-bottom: 1px solid var(--border); font-weight: 700; font-size: 14px;
  }
  .pub-rumus-close { background: none; border: none; font-size: 20px; line-height: 1; cursor: pointer; color: var(--text-muted); }
  .pub-rumus-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
  .pub-rumus-label { font-size: 12px; color: var(--text-secondary); font-weight: 600; }
  
  .pub-rumus-field {
    border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 12px;
    font-size: 18px; min-height: 52px; background: var(--surface-1);
  }
  .pub-rumus-latex {
    border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 10px;
    
    font-family: var(--font), sans-serif; font-size: 14px; resize: vertical;
  }
  .pub-rumus-contoh { font-size: 12px; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
  .pub-rumus-contoh button {
    border: 1px solid var(--border); background: var(--surface-1); border-radius: 999px;
    padding: 3px 10px; font-size: 12px; cursor: pointer; color: var(--text-secondary);
  }
  .pub-rumus-contoh button:hover { border-color: var(--primary); color: var(--primary); }
  .pub-rumus-mode { display: flex; gap: 16px; font-size: 14px; flex-wrap: wrap; }
  .pub-rumus-mode label { display: flex; align-items: center; gap: 6px; }
  .pub-rumus-galat { color: var(--danger); font-size: 14px; }
  .pub-rumus-memuat { color: var(--text-muted); font-size: 14px; padding: 8px 0; }
  .pub-rumus-footer {
    display: flex; justify-content: flex-end; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border);
  }
  
  [data-type="block-math"] { display: block; text-align: center; margin: 12px 0; overflow-x: auto; }
  [data-type="inline-math"] { display: inline-block; }

  
  .pub-pubmed-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.65); z-index: 2000;
    display: flex; align-items: center; justify-content: center; padding: 20px;
  }
  .pub-pubmed-dialog {
    background: var(--surface); border-radius: var(--radius); width: min(720px, 100%);
    height: min(760px, 85vh); height: min(760px, 85dvh); display: flex; flex-direction: column;
    overflow: hidden; box-shadow: var(--shadow-md);
  }
  .pub-pubmed-header {
    display: flex; align-items: center; justify-content: space-between; padding: 12px 16px;
    border-bottom: 1px solid var(--border); font-weight: 700; font-size: 14px; flex: none; gap: 12px;
  }
  .pub-pubmed-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pub-pubmed-close { background: none; border: none; font-size: 20px; line-height: 1; cursor: pointer; color: var(--text-muted); }
  .pub-pubmed-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; overflow: auto; }
  .pub-pubmed-searchrow { display: flex; gap: 8px; }
  .pub-pubmed-filterrow { display: flex; gap: 16px; font-size: 14px; color: var(--text-secondary); flex-wrap: wrap; }
  .pub-pubmed-filterrow label { display: flex; align-items: center; gap: 6px; }
  .pub-pubmed-filterrow input { width: 90px; padding: 5px 8px; border: 1px solid var(--border); border-radius: var(--radius); }
  .pub-pubmed-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; padding-top: 4px; }
  .pub-pubmed-page-info { font-size: 14px; color: var(--text-secondary); }
  .pub-pubmed-q { flex: 1; padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--radius); }
  .pub-pubmed-results { display: flex; flex-direction: column; gap: 8px; }
  .pub-pubmed-item {
    border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 12px; cursor: pointer;
  }
  .pub-pubmed-item:hover { border-color: var(--primary); background: rgba(30, 64, 175, .04); }
  .pub-pubmed-item-judul { font-weight: 600; }
  .pub-pubmed-item-meta { font-size: 14px; color: var(--text-secondary); margin-top: 2px; }
  .pub-pubmed-empty, .pub-pubmed-loading, .pub-pubmed-error { padding: 8px 0; color: var(--text-muted); font-size: 14px; }
  .pub-pubmed-error { color: var(--danger); }
  .pub-pubmed-view-search { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
  .pub-pubmed-view-read { display: flex; flex-direction: column; gap: 10px; }
  .pub-pubmed-back {
    align-self: flex-start; background: none; border: none; color: var(--primary); cursor: pointer;
    font-size: 14px; padding: 4px 0;
  }
  .pub-pubmed-meta { font-size: 14px; color: var(--text-secondary); }
  .pub-pubmed-source-badge {
    display: inline-block; width: fit-content; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  }
  .pub-pubmed-source-full { background: rgba(21,128,61,.12); color: #15803d; }
  .pub-pubmed-source-abstract { background: rgba(180,83,9,.12); color: #b45309; }
  .pub-pubmed-source-none { background: rgba(100,116,139,.12); color: var(--text-secondary); }
  .pub-pubmed-article { font-size: 14px; line-height: 1.6; }
  .pub-pubmed-article h4 { margin: 14px 0 6px; font-size: 14px; }
  .pub-pubmed-article p { margin: 0 0 10px; }
  .pub-pubmed-outlink { font-size: 14px; }
  .pub-pubmed-footer {
    display: flex; justify-content: flex-end; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border); flex: none;
  }
  
  .pub-pubmed-quote-btn { white-space: nowrap; box-shadow: var(--shadow-md); }

  
  .pub-crossref-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.65); z-index: 2000;
    display: flex; align-items: center; justify-content: center; padding: 20px;
  }
  .pub-crossref-dialog {
    background: var(--surface); border-radius: var(--radius); width: min(720px, 100%);
    height: min(760px, 85vh); height: min(760px, 85dvh); display: flex; flex-direction: column;
    overflow: hidden; box-shadow: var(--shadow-md);
  }
  .pub-crossref-header {
    display: flex; align-items: center; justify-content: space-between; padding: 12px 16px;
    border-bottom: 1px solid var(--border); font-weight: 700; font-size: 14px; flex: none; gap: 12px;
  }
  .pub-crossref-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pub-crossref-close { background: none; border: none; font-size: 20px; line-height: 1; cursor: pointer; color: var(--text-muted); }
  .pub-crossref-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; overflow: auto; }
  .pub-crossref-searchrow { display: flex; gap: 8px; }
  .pub-crossref-filterrow { display: flex; gap: 16px; font-size: 14px; color: var(--text-secondary); flex-wrap: wrap; }
  .pub-crossref-filterrow label { display: flex; align-items: center; gap: 6px; }
  .pub-crossref-filterrow input { width: 90px; padding: 5px 8px; border: 1px solid var(--border); border-radius: var(--radius); }
  .pub-crossref-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; padding-top: 4px; }
  .pub-crossref-page-info { font-size: 14px; color: var(--text-secondary); }
  .pub-crossref-q { flex: 1; padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--radius); }
  .pub-crossref-results { display: flex; flex-direction: column; gap: 8px; }
  .pub-crossref-item {
    border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 12px; cursor: pointer;
  }
  .pub-crossref-item:hover { border-color: var(--primary); background: rgba(30, 64, 175, .04); }
  .pub-crossref-item-judul { font-weight: 600; }
  .pub-crossref-item-meta { font-size: 14px; color: var(--text-secondary); margin-top: 2px; }
  .pub-crossref-empty, .pub-crossref-loading, .pub-crossref-error { padding: 8px 0; color: var(--text-muted); font-size: 14px; }
  .pub-crossref-error { color: var(--danger); }
  .pub-crossref-view-search { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
  .pub-crossref-view-read { display: flex; flex-direction: column; gap: 10px; }
  .pub-crossref-back {
    align-self: flex-start; background: none; border: none; color: var(--primary); cursor: pointer;
    font-size: 14px; padding: 4px 0;
  }
  .pub-crossref-meta { font-size: 14px; color: var(--text-secondary); }
  .pub-crossref-source-badge {
    display: inline-block; width: fit-content; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  }
  .pub-crossref-source-abstract { background: rgba(180,83,9,.12); color: #b45309; }
  .pub-crossref-source-none { background: rgba(100,116,139,.12); color: var(--text-secondary); }
  .pub-crossref-article { font-size: 14px; line-height: 1.6; }
  .pub-crossref-article p { margin: 0 0 10px; }
  .pub-crossref-outlink { font-size: 14px; }
  .pub-crossref-footer {
    display: flex; justify-content: flex-end; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border); flex: none;
  }
  .pub-crossref-quote-btn { white-space: nowrap; box-shadow: var(--shadow-md); }

  
  .pub-content-render img[data-align="center"] { display: block; margin-left: auto; margin-right: auto; }
  .pub-content-render img[data-align="right"] { display: block; margin-left: auto; margin-right: 0; }
  .pub-content-render img[data-align="left"] { display: block; margin-right: auto; }
  .pub-content-caption { font-size: 12px; color: var(--text-muted); text-align: center; margin: -4px 0 10px; }

  
  
  #public-nav-links a[data-page],
  #public-nav-links a[data-page]:hover,
  #public-nav-links a[data-page]:focus,
  #public-nav-links a[data-page]:focus-visible,
  #public-nav-links a[data-page].active,
  #public-nav-links a[data-page].active:hover { text-decoration: none !important; }

  
  #public-search-wrap { position: relative; display: flex; align-items: center; }
  
  body.hero-mode #public-search-wrap { display: none; }
  #public-search-toggle {
    background: none; border: none; color: #fff; font-size: 16px; padding: 8px; line-height: 1;
    cursor: pointer; border-radius: 999px; transition: background var(--transition);
  }
  #public-search-toggle:hover { background: rgba(255,255,255,.1); }
  #top-navbar #global-search {
    width: 0; opacity: 0; padding: 0; margin-left: 0; pointer-events: none;
    border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #fff;
    border-radius: 999px; height: 34px; font-size: 14px;
    transition: width .25s ease, opacity .2s ease, padding .25s ease, margin .25s ease;
  }
  #top-navbar #global-search::placeholder { color: rgba(255,255,255,.55); }
  #top-navbar #global-search.expanded { width: 220px; opacity: 1; padding: 0 14px; margin-left: 6px; pointer-events: auto; }
  @media (max-width: 480px) {
    #top-navbar #global-search.expanded { width: 42vw; }
  }

  
  
  #top-navbar { border-bottom: none; box-shadow: none; }
  #public-nav-links > a { position: relative; transition: opacity .2s ease; }
  
  #public-nav-links > a::after { display: none; }
  #public-nav-links > a:hover { opacity: .92; }
  .nav-dropdown > a { transition: opacity .2s ease; }
  .nav-dropdown:hover > a { opacity: .92; }
  #public-search-toggle, #public-nav-toggle {
    width: 40px; height: 40px; padding: 0 !important;
    display: inline-flex; align-items: center; justify-content: center;
  }

  
  .site-footer { margin: 48px -24px -24px -24px; background: #0d1117; color: rgba(255,255,255,.72); }
  .site-footer-main { max-width: 1180px; margin: 0 auto; padding: 56px 40px 32px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
  .site-footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
  .site-footer-brand span { color: #fff; font-weight: 800; font-size: 20px; }
  .site-footer-desc { font-size: 14px; line-height: 1.7; max-width: 320px; margin-bottom: 18px; }
  .site-footer-social { display: flex; gap: 10px; }
  .site-footer-social a {
    width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 14px; text-decoration: none;
    transition: background var(--transition);
  }
  .site-footer-social a:hover { background: var(--primary); }
  .site-footer-title { color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 16px; }
  .site-footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
  .site-footer-links a {
    color: rgba(255,255,255,.72); text-decoration: none; font-size: 14px;
    display: inline-flex; align-items: center;
    transition: color var(--transition);
  }
  .site-footer-links a:hover { color: #fff; }
  
  .site-footer-contact { list-style: none; padding: 0; margin: -1px 0 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; --nl-kontak-baris: 24px; }
  .site-footer-contact li { display: flex; gap: 10px; align-items: flex-start; line-height: var(--nl-kontak-baris); }
  .site-footer-contact a { display: inline-block; }
  
  .site-footer-contact i {
    color: var(--primary-light);
    width: 14px; flex-shrink: 0;
    height: var(--nl-kontak-baris);   
    display: inline-flex; align-items: center; justify-content: flex-start;
    
    --nl-ikon-turun: 1px;
    box-sizing: content-box;
    padding-top: var(--nl-ikon-turun);
    margin-bottom: calc(-1 * var(--nl-ikon-turun));
  }
  
  .site-footer-contact a { color: inherit; text-decoration: none; transition: color var(--transition); }
  .site-footer-contact a:hover { color: #fff; }
  .site-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1); padding: 18px 40px; max-width: 1180px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    font-size: 12px; color: rgba(255,255,255,.5);
  }
  
  body.nl-etalase .site-footer-main,
  body.nl-etalase .site-footer-bottom {
    max-width: none;
    padding-left: max(24px, calc((100% - var(--l-wrap, 1180px)) / 2));
    padding-right: max(24px, calc((100% - var(--l-wrap, 1180px)) / 2));
  }
  .site-footer-bottom a { color: rgba(255,255,255,.5); text-decoration: none; }
  .site-footer-bottom a:hover { color: #fff; }
  .site-footer-legal { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }

  
  @media (pointer: coarse) {
    .site-footer-links { gap: 0; }
    .site-footer-links a { min-height: 44px; }
    .site-footer-legal a { display: inline-flex; align-items: center; min-height: 44px; }
    .site-footer-social a { width: 44px; height: 44px; }
    
    .site-footer-contact a { padding: 12px 0; }
    .site-footer-contact i { padding-top: calc(12px + var(--nl-ikon-turun)); box-sizing: content-box; }
    
    .site-footer-bottom { padding-top: 4px; padding-bottom: 4px; }
  }

  
  @media (max-width: 480px) {
    
    #top-navbar > a,
    #top-navbar > div { flex-shrink: 1 !important; min-width: 0 !important; }
    
    #top-navbar > a { gap: 10px !important; overflow: hidden; }
    #top-navbar > a > div { width: 36px !important; height: 36px !important; }
    #top-navbar > a > span {
      font-size: 18px !important;
      overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0;
    }
    
    #top-navbar > div { gap: 10px !important; }
  }
  
  @media (max-width: 380px) {
    #top-navbar > a { gap: 8px !important; }
    #top-navbar > a > span { font-size: 16px !important; }
    #top-navbar > div { gap: 8px !important; }
  }

  @media (max-width: 900px) {
    .site-footer-main { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 768px) {
    .site-footer { margin: 40px -14px -14px -14px; }
  }
  @media (max-width: 600px) {
    .site-footer-main { grid-template-columns: 1fr; padding: 40px 20px 24px; }
    
    .site-footer-bottom { flex-direction: column; align-items: flex-start; padding: 18px 20px; }
  }





body:not(.nl-app-on) #floating-chat-btn,
body:not(.nl-app-on) #chat-greeting-bubble { display: none !important; }

#floating-chat-btn {
  
  position: fixed; bottom: 24px; right: 24px; z-index: 510;
  width: 58px; height: 58px; border-radius: 50%; border: none; cursor: pointer;
  
  background: var(--primary);
  color: #fff; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(15,23,42,.30), inset 0 1px 0 rgba(255,255,255,.28);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease;
}
#floating-chat-btn:hover {
  transform: translateY(-3px) scale(1.07);
  box-shadow: 0 16px 36px rgba(37,99,235,.42), inset 0 1px 0 rgba(255,255,255,.28);
}
#floating-chat-btn:active { transform: scale(.95); }

body.public-search-active #floating-chat-btn { display: none; }


#floating-chat-btn .chat-dot {
  position: absolute; top: 2px; right: 4px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--danger); border: 2px solid #fff;
  animation: chatDotPulse 1.8s ease-in-out infinite;
}
@keyframes chatDotPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239,68,68,.5); }
  50%      { transform: scale(1.12); box-shadow: 0 0 0 5px rgba(239,68,68,0); }
}


.chat-window {
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(15,23,42,.32), 0 4px 16px rgba(15,23,42,.14);
  transform-origin: bottom right;
}
.modal-overlay.show .chat-window { animation: chatWindowIn .32s cubic-bezier(.21,1.02,.55,1.1) both; }
@keyframes chatWindowIn {
  from { opacity: 0; transform: translateY(16px) scale(.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}


.chat-header {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 16px; flex-shrink: 0; color: #fff;
  
  background: var(--primary-dark, #1e3a8a);
}
.chat-avatar {
  position: relative; width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  
  background: rgba(255,255,255,.20);
  border: 1px solid rgba(255,255,255,.42); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 2px 8px rgba(0,0,0,.18);
}
.chat-avatar-status {
  position: absolute; right: 0; bottom: 0; width: 11px; height: 11px;
  border-radius: 50%; background: #34d399;
  border: 2px solid var(--primary);
  box-shadow: 0 0 0 1px rgba(255,255,255,.35);
}
.chat-header-sub {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chat-status-ping { width: 7px; height: 7px; border-radius: 50%; background: #34d399; flex-shrink: 0;
  animation: chatDotPulse 2.2s ease-in-out infinite; }
.chat-close-btn { color: #fff; border-color: rgba(255,255,255,.55) !important; }
.chat-close-btn:hover,
.chat-close-btn:focus-visible { background: #fff !important; color: var(--primary) !important; border-color: #fff !important; }


.chat-body {
  flex: 1; overflow-y: auto; padding: 16px 14px;
  display: flex; flex-direction: column; gap: 10px;
  background: var(--surface-2, #f8fafc);
}
.chat-msg { display: flex; animation: chatMsgIn .28s ease both; }
@keyframes chatMsgIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.chat-msg-user { justify-content: flex-end; }
.chat-msg-bot  { justify-content: flex-start; }
.chat-bubble {
  max-width: 84%; padding: 10px 14px; border-radius: 16px;
  font-size: 14px; line-height: 1.6;
}
.chat-bubble-bot {
  background: var(--surface); border: 1px solid var(--border);
  border-bottom-left-radius: 5px; color: var(--text-primary);
  box-shadow: 0 1px 3px rgba(15,23,42,.06);
}
.chat-bubble-user {
  
  background: var(--primary);
  color: #fff; border-bottom-right-radius: 5px;
  box-shadow: 0 3px 10px rgba(37,99,235,.28);
}

.chat-bubble-meta {
  float: right; display: inline-flex; align-items: center; gap: 4px;
  line-height: 1.4; opacity: .75;
  margin: 6px 0 0 10px; 
  white-space: nowrap;
}

.chat-jam { font-size: 12px; }
.chat-bubble { display: flow-root; } 
.chat-bubble-bot .chat-bubble-meta { color: var(--text-muted); opacity: 1; }

.chat-lampiran-img + .chat-bubble-meta,
.chat-lampiran-file + .chat-bubble-meta { float: none; justify-content: flex-end; display: flex; }

.chat-receipt { font-size: 12px; color: #fff; opacity: .95; }
.chat-receipt.read { opacity: 1; }
.chat-receipt.sending { opacity: .5; font-size: 12px; } 

.chat-bubble-bot .chat-receipt { color: var(--text-muted); }


.chat-feedback {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
  padding: 8px 14px; border-top: 1px solid var(--border);
}
.chat-fb-tanya { font-size: 12px; color: var(--text-secondary); }
.chat-fb-btn {
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--border); background: var(--surface-1);
  color: var(--text-secondary); font-size: 12px; transition: all .15s;
}
.chat-fb-btn:hover { background: var(--primary-50); color: var(--primary); border-color: var(--primary); }
:root[data-theme="dark"] .chat-fb-btn:hover { color: var(--primary-light); border-color: var(--primary-light); }


.chat-attach-btn {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  border: none; background: transparent; color: var(--text-muted);
  cursor: pointer; font-size: 16px; transition: background .15s, color .15s;
}
.chat-attach-btn:hover { background: var(--surface-1); color: var(--primary); }
.chat-attach-preview { padding: 6px 12px 0; }
.chat-attach-chip {
  display: inline-flex; align-items: center; gap: 6px; max-width: 100%;
  padding: 5px 10px; border-radius: 999px; font-size: 12px;
  background: var(--primary-50, #eff6ff); color: var(--primary); border: 1px solid var(--border);
}
.chat-attach-chip button {
  border: none; background: transparent; color: inherit; cursor: pointer;
  font-size: 14px; line-height: 1; padding: 0 2px;
}

.chat-lampiran-img { display: block; margin-top: 6px; }
.chat-lampiran-img img {
  max-width: 220px; max-height: 220px; border-radius: 10px; display: block;
  border: 1px solid rgba(255,255,255,.25);
}
.chat-lampiran-file {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 6px;
  padding: 8px 12px; border-radius: 10px; font-size: 14px; text-decoration: none;
  background: rgba(255,255,255,.18); color: inherit;
}
.chat-bubble-bot .chat-lampiran-file { background: var(--surface-1); color: var(--primary); }

:root[data-theme="dark"] .chat-bubble-bot .chat-lampiran-file { color: var(--primary-light); }
:root[data-theme="dark"] .chat-attach-chip { color: var(--primary-light); }
.chat-lampiran-file:hover { text-decoration: underline; }


.chat-typing { display: inline-flex; align-items: center; gap: 4px; padding: 3px 2px; }
.chat-typing span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--text-muted);
  animation: chatTypingBounce 1.1s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chatTypingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .45; }
  30%           { transform: translateY(-4px); opacity: 1; }
}


.chat-quick-row {
  display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 14px; flex-shrink: 0;
  background: var(--surface-2, #f8fafc); border-top: 1px solid var(--border);
}
.chat-quick-row:empty { display: none; }
.chat-quick-btn {
  padding: 6px 13px; border-radius: 99px; border: 1px solid var(--primary-100, var(--border));
  background: var(--surface); color: var(--primary); font-size: 12px; font-weight: 500;
  cursor: pointer; box-shadow: 0 1px 2px rgba(15,23,42,.05);
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.chat-quick-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-1px); }


.chat-inputbar {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px; flex-shrink: 0;
  background: var(--surface); border-top: 1px solid var(--border);
}
.chat-inputbar input {
  flex: 1; min-width: 0; height: 40px; padding: 0 16px;
  border-radius: 99px; border: 1.5px solid var(--border);
  background: var(--surface-1); color: var(--text-primary);
  font-family: var(--font), sans-serif; font-size: 14px; outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.chat-inputbar input::placeholder { color: var(--text-muted); }
.chat-inputbar input:focus {
  border-color: var(--primary-light, var(--primary));
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--primary-50);
}
.chat-send-btn {
  width: 40px; height: 40px; border-radius: 50%; border: none; flex-shrink: 0; cursor: pointer;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
  box-shadow: 0 3px 10px rgba(37,99,235,.32);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.chat-send-btn:hover { transform: scale(1.08); filter: brightness(1.06); box-shadow: 0 6px 16px rgba(37,99,235,.4); }
.chat-send-btn:active { transform: scale(.94); }


#chat-greeting-bubble {
  position: fixed; right: 24px; bottom: 94px; z-index: 509;
  max-width: 260px; background: var(--surface); color: var(--text-primary);
  border: 1px solid var(--border); border-radius: 16px 16px 5px 16px;
  box-shadow: 0 14px 38px rgba(15,23,42,.2);
  padding: 12px 14px; font-size: 14px; line-height: 1.55;
  display: none; opacity: 0; transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
  cursor: pointer;
}
#chat-greeting-bubble.show { display: block; opacity: 1; transform: translateY(0); }
#chat-greeting-bubble::after {
  content: ''; position: absolute; right: 22px; bottom: -7px;
  width: 14px; height: 14px; background: var(--surface);
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  transform: rotate(45deg);
}
.chat-greeting-inner { display: flex; align-items: flex-start; gap: 8px; padding-right: 14px; }
.chat-greeting-emoji { font-size: 16px; line-height: 1.2; flex-shrink: 0; }
#chat-greeting-close {
  position: absolute; top: 6px; right: 8px; z-index: 1;
  width: 20px; height: 20px; border: none; background: transparent;
  color: var(--text-muted); font-size: 16px; line-height: 1; cursor: pointer;
  border-radius: 50%;
}
#chat-greeting-close:hover { background: var(--surface-2); color: var(--text-primary); }
@media (max-width: 600px) {
  #floating-chat-btn { right: 16px; bottom: 16px; width: 52px; height: 52px; font-size: 20px; }
  #chat-greeting-bubble { right: 16px; bottom: 80px; max-width: 220px; }
}


.chat-staf-nama { font-size: 12px; font-weight: 700; margin-bottom: 3px; opacity: .85; }
.chat-bubble-bot .chat-staf-nama { color: var(--primary); opacity: 1; }


.chatadm-layout {
  display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 16px;
  align-items: stretch;
}

.chatadm-threads-col { display: flex; flex-direction: column; max-height: 640px; overflow: hidden; padding: 0; }
.chatadm-threads { padding: 8px; overflow-y: auto; flex: 1; min-height: 0; }
.chatadm-search {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
  padding: 10px 12px; border-bottom: 1px solid var(--border);
}

.chatadm-search i { color: var(--primary); font-size: 14px; }
:root[data-theme="dark"] .chatadm-search i { color: #fff; }
.chatadm-search input {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  font-size: 14px; color: var(--text-primary); font-family: inherit;
}
.chatadm-search input::placeholder { color: var(--text-muted); }


.chatadm-tpl-panel {
  border-top: 1px solid var(--border); background: var(--surface-1);
  max-height: 220px; overflow-y: auto; padding: 8px; flex-shrink: 0;
}
.chatadm-tpl-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 4px 6px 10px; font-size: 14px;
}
.chatadm-tpl-row { display: flex; align-items: center; gap: 6px; }
.chatadm-tpl-pakai {
  flex: 1; min-width: 0; text-align: left; cursor: pointer;
  border: none; background: transparent; padding: 8px 10px; border-radius: var(--radius);
  font-family: inherit; transition: background .15s;
}
.chatadm-tpl-pakai:hover { background: var(--surface-2, rgba(0,0,0,.04)); }
.chatadm-tpl-judul { display: block; font-size: 14px; font-weight: 600; color: var(--text-primary); }
.chatadm-tpl-isi {
  display: block; font-size: 12px; color: var(--text-secondary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chatadm-thread {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: var(--radius); cursor: pointer; transition: background .15s;
}
.chatadm-thread:hover { background: var(--surface-1); }
.chatadm-thread.active { background: var(--primary-50); }
.chatadm-thread-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; letter-spacing: .01em;
  box-shadow: 0 2px 6px rgba(37,99,235,.28);
}
.chatadm-thread-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.chatadm-thread-nama {
  font-size: 14px; font-weight: 600; color: var(--text-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chatadm-thread-waktu { font-size: 12px; color: var(--text-muted); flex-shrink: 0; }
.chatadm-thread-cuplikan {
  font-size: 12px; color: var(--text-secondary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chatadm-thread-badge { position: static; flex-shrink: 0; }
.chatadm-thread-meta { display: flex; align-items: center; gap: 8px; margin-top: 5px; flex-wrap: wrap; }
.chatadm-thread-assignee {
  font-size: 12px; color: var(--text-muted);
  display: inline-flex; align-items: center; gap: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px;
}
.chatadm-conv { display: flex; flex-direction: column; max-height: 640px; min-height: 480px; overflow: hidden; }
.chatadm-conv-header {
  padding: 12px 16px; border-bottom: 1px solid var(--border); flex-shrink: 0;
  display: flex; flex-direction: column; gap: 9px;
}
.chatadm-conv-head-main { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.chatadm-conv-email { font-size: 12px; color: var(--text-muted); margin-left: 6px; font-weight: 400; }
.chatadm-conv-head-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.chatadm-assignee { font-size: 12px; color: var(--text-secondary); display: inline-flex; align-items: center; gap: 5px; }


.chatadm-filterbar { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.chatadm-filter-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  background: var(--surface-1); border: 1px solid var(--border); transition: all .15s;
}
.chatadm-filter-btn:hover { background: var(--surface-2, var(--surface-1)); }
.chatadm-filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }


.chat-status-pill {
  display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
}
.chat-status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

.chat-status-pill.st-terbuka  { background: var(--warning-light); color: #92400e; }
.chat-status-pill.st-menunggu { background: var(--primary-100); color: #1e40af; }
.chat-status-pill.st-selesai  { background: var(--success-light); color: #065f46; }
:root[data-theme="dark"] .chat-status-pill.st-terbuka  { color: var(--warning); }
:root[data-theme="dark"] .chat-status-pill.st-menunggu { color: var(--primary-light); }
:root[data-theme="dark"] .chat-status-pill.st-selesai  { color: var(--success); }
.chat-status-dot.st-terbuka  { background: var(--warning); }
.chat-status-dot.st-menunggu { background: var(--primary); }
.chat-status-dot.st-selesai  { background: var(--success); }
:root[data-theme="dark"] .chat-status-dot.st-menunggu { background: var(--primary-light); }
.chatadm-filter-btn.active .chat-status-dot { box-shadow: 0 0 0 2px rgba(255,255,255,.5); }
.chatadm-msg-waktu { font-size: 12px; opacity: .65; margin-top: 4px; }
.chatadm-empty {
  padding: 28px 16px; text-align: center;
  font-size: 14px; color: var(--text-muted); line-height: 1.6;
}
@media (max-width: 900px) {
  .chatadm-layout { grid-template-columns: 1fr; }
  .chatadm-threads { max-height: 300px; }
}


.chatadm-stat-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.chatadm-stat-card { padding: 16px; }
.chatadm-stat-judul { font-size: 12px; color: var(--text-secondary); margin-bottom: 6px; }
.chatadm-stat-nilai { font-size: 24px; font-weight: 700; color: var(--text-primary); line-height: 1.2; }
.chatadm-stat-ket { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

.chatadm-chart {
  display: flex; align-items: flex-end; gap: 3px;
  height: 120px; padding-top: 6px;
}
.chatadm-bar {
  flex: 1; min-width: 3px; border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--primary-light, #3b82f6) 0%, var(--primary) 100%);
  transition: opacity .15s;
}
.chatadm-bar:hover { opacity: .75; }


.chatadm-faq-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 900px) { .chatadm-faq-layout { grid-template-columns: 1fr; } }
.cfaq-miss-row, .cfaq-row {
  display: flex; align-items: center; gap: 8px; padding: 9px 10px;
  border-radius: var(--radius); transition: background .15s;
}
.cfaq-miss-row:hover, .cfaq-row:hover { background: var(--surface-1); }
.cfaq-miss-q { font-size: 14px; font-weight: 500; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cfaq-miss-meta { font-size: 12px; color: var(--text-muted); }
.cfaq-row-kata { font-size: 14px; font-weight: 600; color: var(--primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

:root[data-theme="dark"] .cfaq-row-kata { color: #fff; }
:root[data-theme="dark"] .cfaq-row .badge-info { color: #fff; }
.cfaq-row-jawab { font-size: 12px; color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cfaq-nonaktif .cfaq-row-kata, .cfaq-nonaktif .cfaq-row-jawab { opacity: .45; }

.cfaq-bolt-btn {
  align-self: center; margin-left: 6px; width: 26px; height: 26px; flex-shrink: 0;
  border: 1px solid var(--border); border-radius: 50%; background: var(--surface);
  color: var(--warning); font-size: 12px; cursor: pointer; opacity: 0;
  transition: opacity .15s, transform .15s;
}
.chat-msg:hover .cfaq-bolt-btn { opacity: 1; }
.cfaq-bolt-btn:hover { transform: scale(1.12); }


.layanan-katalog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}


.layanan-step {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  flex-shrink: 0;
}
.layanan-step-dot {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--border); background: var(--surface);
  color: var(--text-muted); display: flex; align-items: center;
  justify-content: center; font-size: 12px; font-weight: 700;
  transition: background .2s, border-color .2s, color .2s;
}
.layanan-step.active .layanan-step-dot,
.layanan-step.done .layanan-step-dot {
  background: var(--primary); border-color: var(--primary); color: #fff;
}
.layanan-step-label {
  font-size: 12px; color: var(--text-muted); text-align: center;
  white-space: nowrap; font-weight: 500;
}
.layanan-step.active .layanan-step-label { color: var(--primary); font-weight: 700; }
.layanan-step-line {
  flex: 1; height: 2px; background: var(--border);
  min-width: 24px; margin-bottom: 14px;
}


:root { --success-light: #dcfce7; }


@media (max-width: 480px) {
  #modal-chat-widget .modal-box { max-height: 90vh; height: 90vh; }
  #floating-chat-btn { bottom: 16px; right: 16px; width: 48px; height: 48px; font-size: 18px; }
}




.stats-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card {
  display: flex; flex-direction: column; align-items: stretch;
  gap: 10px; padding: 18px 20px;
  border-radius: var(--radius-xl);
}
.stat-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.stat-card .stat-icon { width: 34px; height: 34px; border-radius: 10px; font-size: 14px; }
.stat-card .stat-label { margin-bottom: 0; font-size: 14px; }
.stat-card .stat-value { font-size: 30px; letter-spacing: -0.02em; }
.stat-card .stat-trend { display: flex; align-items: center; gap: 5px; margin-top: 2px; font-size: 12px; }
.stat-card .stat-trend .up { color: var(--success); font-weight: 600; }
.stat-card .stat-trend .down { color: var(--danger); font-weight: 600; }
.stat-icon.indigo { background: #e0e7ff; color: #4f46e5; }
.stat-icon.cyan   { background: #cffafe; color: #0891b2; }


.dash-main-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-bottom: 16px; }


.seg-toggle { display: inline-flex; background: var(--surface-1); border: 1px solid var(--border); border-radius: 9px; padding: 3px; gap: 2px; }
.seg-toggle button { border: none; background: transparent; padding: 5px 15px; font-size: 12px; font-weight: 600; color: var(--text-muted); border-radius: 6px; cursor: pointer; transition: background .15s, color .15s; }
.seg-toggle button.active { background: var(--surface); color: var(--text-primary); box-shadow: var(--shadow-sm); }


.barchart { display: flex; align-items: flex-end; gap: 8px; height: 230px; padding: 12px 4px 0; }
.barchart .bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; height: 100%; }

.barchart .bar { flex: 0 0 auto; width: 100%; max-width: 26px; min-height: 4px; background: var(--primary-light); border-radius: 6px 6px 0 0; transition: height .45s cubic-bezier(.4,0,.2,1); }
.barchart .bar:hover { filter: brightness(1.08); }
.barchart .bar.hi { background: #22d3ee; }
.barchart .bar-label { font-size: 12px; color: var(--text-muted); }


.donut-center-big { font-size: 20px; font-weight: 700; fill: var(--text-primary); }


.card.chart-frame,
.stat-card {
  
  background: var(--surface);
  border-color: var(--border);
}

:root[data-theme="dark"] .card.chart-frame,
:root[data-theme="dark"] .stat-card {
  
  background: var(--surface-1);
  border-color: var(--border);
}


.table-dark-head thead { background: #1e293b; }
.table-dark-head thead th { color: #cbd5e1; border-bottom: none; cursor: default; }
.table-dark-head thead th:hover { color: #fff; }
.table-dark-head thead th:first-child { border-top-left-radius: 10px; }
.table-dark-head thead th:last-child { border-top-right-radius: 10px; }
.table-dark-head .row-idx { color: var(--text-muted); font-weight: 600; }
.icon-btn-sm { width: 28px; height: 28px; border-radius: 7px; border: 1px solid var(--border); background: var(--surface); color: var(--text-muted); cursor: pointer; font-size: 12px; transition: background .15s, color .15s; }
.icon-btn-sm:hover { background: var(--surface-2); color: var(--primary); }


.dash-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.dash-pagination .info { font-size: 12px; color: var(--text-muted); }
.dash-pagination .pages { display: flex; align-items: center; gap: 6px; }
.dash-pagination .pages button { min-width: 30px; height: 30px; padding: 0 8px; border: 1px solid var(--border); background: var(--surface); border-radius: 7px; font-size: 12px; font-weight: 600; color: var(--text-secondary); cursor: pointer; }
.dash-pagination .pages button.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.dash-pagination .pages button.next { width: auto; padding: 0 14px; }


.act-feed { padding: 4px 0; }
.act-item { display: flex; gap: 12px; padding: 12px 16px; }
.act-ic { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }
.act-item .act-txt { font-size: 14px; color: var(--text-primary); line-height: 1.4; }
.act-item .act-time { font-size: 12px; color: var(--text-muted); margin-top: 2px; }


#hero-menu-toggle {
  transition: background .2s ease, padding-left .2s ease, box-shadow .2s ease,
              opacity .28s ease, visibility .28s ease;
}
#top-navbar.nav-solid ~ #app-container #hero-menu-toggle {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 768px) {
  #top-navbar.nav-solid ~ #app-container #hero-menu-toggle {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}


@media (max-width: 768px) {
  #hero-menu-toggle span { display: none; }
  #hero-menu-toggle { gap: 0; padding: 12px 14px; }
}


#section-dashboard .card {
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
#section-dashboard .card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--primary-100);
}


@media (max-width: 1100px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px)  { .dash-main-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px)  { .stats-grid { grid-template-columns: 1fr; } }




body { font-size: 16px; }


h1 { font-size: 30px; }
h2 { font-size: 24px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }


#top-navbar #public-nav-links > a:not(.btn-pill-outline-light),
#top-navbar #public-nav-links .nav-dropdown > a,
#top-navbar #public-nav-links > span,
#top-navbar #public-nav-links > a:not(.btn-pill-outline-light):hover,
#top-navbar #public-nav-links .nav-dropdown > a:hover,
#top-navbar #public-nav-links > span:hover,
#top-navbar #public-nav-links > a.active {
  font-size: 14px !important;
  color: #fff !important;
}
#top-navbar #public-nav-links > a:not(.btn-pill-outline-light),
#top-navbar #public-nav-links .nav-dropdown > a,
#top-navbar #public-nav-links > span,
#top-navbar #public-nav-links > a.active { font-weight: 500 !important; }


#top-navbar #public-nav-links { gap: 4px !important; }
#top-navbar #public-nav-links > a:not(.btn-pill-outline-light),
#top-navbar #public-nav-links .nav-dropdown > a {
  padding: 8px 16px; border-radius: 9999px;
  transition: background .18s ease, opacity .2s ease;
}
#top-navbar #public-nav-links > a:not(.btn-pill-outline-light):hover,
#top-navbar #public-nav-links > a:not(.btn-pill-outline-light):focus-visible,
#top-navbar #public-nav-links .nav-dropdown:hover > a,
#top-navbar #public-nav-links .nav-dropdown:focus-within > a {
  background: rgba(255, 255, 255, .12);
}

.nav-item { font-size: 14px; }
.nav-icon { font-size: 16px; }
.sidebar-logo-text { font-size: 20px; }
.sidebar-section-title { font-size: 12px; }
.user-name { font-size: 14px; }
.user-role { font-size: 12px; }


.page-title { font-size: 24px; }
.search-bar input { font-size: 14px; }


.toolbar h3 { font-size: 20px !important; font-weight: 700 !important; }
.toolbar h3 + div { font-size: 14px !important; color: var(--text-secondary) !important; }



.btn { font-size: 14px; }
.btn-sm { font-size: 14px; }
.btn-lg { font-size: 16px; }



.form-label { font-size: 14px; }
.form-control, .form-input, .form-select, .form-textarea { font-size: 16px; }
.form-hint { font-size: 12px; }
.form-error { font-size: 12px; }


table { font-size: 14px; }


thead { background: var(--primary); }
thead th { font-size: 12px; color: #fff; border-bottom: none; }
thead th:hover { color: #fff; }
thead th .sort-icon { color: rgba(255,255,255,.7); }


tbody td { color: var(--text-secondary); }
tbody td:first-child { color: var(--text-primary); font-weight: 500; }
tbody tr { transition: background .12s ease; }
tbody tr:hover { background: var(--surface-1); }

tbody td { border-bottom: 1px solid var(--border-light); }
tbody tr:last-child td { border-bottom: none; }
tbody td { font-size: 14px; }



.card-title { font-size: 18px; }
.card-subtitle { font-size: 14px; }
.modal-title { font-size: 20px; }


.auth-title { font-size: 24px; }
.auth-form-panel .auth-title { font-size: 24px; }
.auth-subtitle { font-size: 14px; }


.feature-eyebrow { font-size: 12px; }
.feature-text h2 { font-size: 30px; }
.feature-text p { font-size: 16px; }
.feature-cta { font-size: 14px; }


.dash-hero-eyebrow { font-size: 12px; }
.dash-hero-subtitle { font-size: 16px; }



.tentang-section-title h3 { font-size: 20px; }
.tentang-card h3 { font-size: 20px; }
.tentang-card p { font-size: 14px; }
.tentang-team-name { font-size: 16px; }
.tentang-team-role { font-size: 12px; }
.tentang-team-desc { font-size: 12px; }



.main-content > .site-footer {
  flex-shrink: 0;
  margin: 48px 0 0 0;
}
@media (max-width: 900px) {
  .main-content > .site-footer { margin-top: 32px; }
}




.mitra-grid { grid-template-columns: repeat(4, 1fr) !important; gap: 18px !important; }
.mitra-grid .mitra-card { padding: 18px 20px; }
.mitra-grid .mitra-card-icon { width: 48px; height: 48px; font-size: 18px; }
.mitra-grid .mitra-card-name { font-size: 14px; }
@media (max-width: 1080px) { .mitra-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 560px)  { .mitra-grid { grid-template-columns: 1fr !important; } }
@media (max-width: 560px)  { .lyn-konsep-grid { grid-template-columns: 1fr !important; } }


.lyn-flow text { font-family: inherit; }


@media (max-width: 720px) { .bukti-preview-grid { grid-template-columns: 1fr !important; } }


.donut-svg { transition: transform .7s cubic-bezier(.34,1.3,.5,1), opacity .5s ease; }
.donut-svg.anim-in { transform: scale(.85); opacity: 0; }
#donut-seg-asam, #donut-seg-basa, #donut-seg-organik, #donut-seg-lainnya {
  transition: stroke-dasharray .9s cubic-bezier(.4,0,.2,1), stroke-dashoffset .9s cubic-bezier(.4,0,.2,1);
}




.lem-view-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.lem-view-toggle { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 3px; gap: 2px; }
.lem-view-btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: none; background: transparent; color: var(--text-secondary);
  font-family: var(--font), sans-serif; font-size: 12px; font-weight: 500;
  padding: 7px 14px; border-radius: var(--radius); cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.lem-view-btn:hover { color: var(--text-primary); }
.lem-view-btn.active { background: var(--surface); color: var(--primary); font-weight: 600; box-shadow: var(--shadow-sm); }
.lem-editmode-hint { font-size: 12px; color: var(--warning); display: inline-flex; align-items: center; gap: 6px; }


.lem-drag-src { opacity: .35; }
.lem-drop-target { outline: 3px dashed var(--primary) !important; outline-offset: 2px; background: var(--primary-50) !important; }


.lem-ss-table { width: 100%; border-collapse: collapse; font-size: 12px; white-space: nowrap; }
.lem-ss-th {
  position: sticky; top: 0; z-index: 2;
  background: var(--surface-1); color: var(--text-secondary);
  font-weight: 600; font-size: 12px; letter-spacing: .05em; text-transform: uppercase;
  text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border);
  cursor: pointer; user-select: none;
}
.lem-ss-th:hover { color: var(--text-primary); }
.lem-ss-sort-ind { color: var(--primary); font-size: 12px; }
.lem-ss-td { padding: 2px; border-bottom: 1px solid var(--surface-2); }
.lem-ss-td-computed { padding: 0 14px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.lem-ss-td-center { text-align: center; }
.lem-ss-td-aksi { padding: 0 8px; white-space: nowrap; }
.lem-ss-table tbody tr { transition: background var(--transition); }
.lem-ss-table tbody tr:hover .lem-ss-td { background: var(--primary-50); }

.lem-ss-table tbody tr.lem-ss-row-clickable { cursor: pointer; }

.lem-ss-th-sticky, .lem-ss-td-sticky { position: sticky; left: 0; z-index: 1; background: var(--surface); }
.lem-ss-th-sticky { z-index: 3; background: var(--surface-1); }
.lem-ss-table tbody tr:hover .lem-ss-td-sticky { background: var(--primary-50); }

.lem-ss-input {
  width: 100%; border: 1px solid transparent; background: transparent; color: var(--text-primary);
  font-family: var(--font), sans-serif; font-size: 12px; padding: 7px 8px; border-radius: 4px;
}
select.lem-ss-input { cursor: pointer; }
.lem-ss-input:hover { background: var(--surface-1); }
.lem-ss-input:focus { outline: none; border-color: var(--primary); background: var(--surface); box-shadow: 0 0 0 2px var(--primary-100); }
.lem-ss-td input[type="checkbox"] { width: 16px; height: 16px; cursor: pointer; }



.tentang-section-title {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 3px;
}


.btn.btn-loading { pointer-events: none; opacity: 0.75; }

#nl-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 900; display: none; pointer-events: none; overflow: hidden; }
#nl-progress.show { display: block; }
#nl-progress::before { content: ''; position: absolute; inset: 0; width: 40%; background: var(--primary); border-radius: 2px; animation: nl-progress-slide 1s ease-in-out infinite; }
@keyframes nl-progress-slide { 0% { transform: translateX(-250%); } 100% { transform: translateX(350%); } }


button:focus-visible, a:focus-visible, select:focus-visible, textarea:focus-visible,
input:focus-visible, [tabindex]:focus-visible, [role="button"]:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}


@media (max-width: 768px) {
  .form-control, .form-textarea, select.form-control { font-size: 16px; }
}


:root[data-theme="dark"] {
  color-scheme: dark;
  --surface: #0f172a;
  --surface-1: #1e293b;
  --surface-2: #334155;
  --surface-3: #475569;
  --chart-track: #334155; 
  
  --seri-1: #3987e5;
  --seri-2: #d95926;
  --seri-3: #199e70;
  --seri-4: #c98500;
  --seri-5: #d55181;
  --seri-6: #008300;
  --seri-7: #9085e9;
  --seri-8: #e66767;
  --seri-lain: #94a3b8;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border: #334155;
  --border-strong: #475569;
  --border-light: #2a3648; 
  
  --primary: #2563eb;
  --primary-light: #60a5fa;
  --accent: #22d3ee;
  --success: #34d399;
  --warning: #fbbf24;
  --danger: #f87171;
  --orange: #fb923c;
  --primary-50: rgba(59, 130, 246, 0.16);
  --primary-100: rgba(96, 165, 250, 0.28);
  --primary-200: rgba(147, 197, 253, 0.40);
  --success-light: rgba(52, 211, 153, 0.20);
  --warning-light: rgba(251, 191, 36, 0.22);
  --danger-50: rgba(248, 113, 113, 0.14);
  --danger-light: rgba(248, 113, 113, 0.22);
  --orange-light: rgba(251, 146, 60, 0.22);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.5), 0 1px 2px -1px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -2px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -4px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.7), 0 8px 10px -6px rgba(0, 0, 0, 0.7);
}

:root[data-theme="dark"] .badge-success { color: var(--success); }
:root[data-theme="dark"] .badge-warning { color: var(--warning); }
:root[data-theme="dark"] .badge-danger  { color: var(--danger); }
:root[data-theme="dark"] .auth-error    { color: var(--danger); }
:root[data-theme="dark"] .badge-orange  { color: var(--orange); }
:root[data-theme="dark"] .badge-info    { color: var(--primary-light); }
:root[data-theme="dark"] .badge-purple  { background: rgba(167, 139, 250, 0.22); color: #c4b5fd; }

:root[data-theme="dark"] .loc-badge,
:root[data-theme="dark"] a[style*="color:var(--primary)"],
:root[data-theme="dark"] a[style*="color: var(--primary)"] {
  color: var(--primary-light) !important;
}
:root[data-theme="dark"] .loc-badge {
  background: rgba(96, 165, 250, 0.16);
  border: 1px solid rgba(96, 165, 250, 0.30);
}

:root[data-theme="dark"] .form-select,
:root[data-theme="dark"] select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2360a5fa' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
}
:root[data-theme="dark"] .pub-editor-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%2360a5fa' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
}


@media print {
  :root[data-theme="dark"] {
    --surface: #ffffff; --surface-1: #ffffff; --surface-2: #f1f5f9; --surface-3: #e2e8f0;
    
    --chart-track: #e2e8f0;
    --seri-1: #2a78d6; --seri-2: #eb6834; --seri-3: #1baf7a; --seri-4: #eda100;
    --seri-5: #e87ba4; --seri-6: #008300; --seri-7: #4a3aa7; --seri-8: #e34948;
    --text-primary: #0f172a; --text-secondary: #475569; --text-muted: #94a3b8;
    --border: #e2e8f0; --border-strong: #cbd5e1; --border-light: #eef2f7;
  }
}






.dash-main-grid > *, .chart-grid > *, .stats-grid > * { min-width: 0; }

@media (max-width: 560px) {
  
  .barchart { gap: 4px; padding: 12px 0 0; }
  .barchart .bar-col { min-width: 0; }
  .barchart .bar-label { font-size: 12px; }
  
  .donut-wrap { flex-wrap: wrap; justify-content: center; }
}


#btn-tambah-kimia-toolbar,
#btn-tambah-alat-toolbar {
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em;
  height: 38px;
  padding: 0 18px;
}


.nl-sorot {
  animation: nl-sorot-denyut 1s ease-in-out 3;
  outline: 3px solid var(--danger, #dc2626);
  outline-offset: 2px;
  border-radius: var(--radius-lg);
}
@keyframes nl-sorot-denyut {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
  50%      { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0.28); }
}
@media (prefers-reduced-motion: reduce) {
  .nl-sorot { animation: none; }
}


.nl-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  margin-left: 6px;
  padding: 0;
  border: 1px solid var(--primary, #2563eb);
  border-radius: 50%;
  background: transparent;
  color: var(--primary, #2563eb);
  font-size: 12px;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  cursor: pointer;
  vertical-align: middle;
  transition: background .15s, color .15s;
}
.nl-info:hover,
.nl-info[aria-expanded="true"] {
  background: var(--primary, #2563eb);
  color: #fff;
}
.nl-info:focus-visible {
  outline: 2px solid var(--primary, #2563eb);
  outline-offset: 2px;
}


.b3l-info-backdrop {
  position: fixed; inset: 0; z-index: 4000;
  background: rgba(15, 23, 42, .45);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.b3l-info-pop {
  position: static;
  width: min(480px, calc(100vw - 32px));
  max-height: 85vh; overflow-y: auto;
}

.nl-info-pop {
  position: absolute;
  z-index: 3000;
  width: min(340px, calc(100vw - 24px));
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: var(--radius-lg, 10px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, .18);
  overflow: hidden;
}
.nl-info-pop-judul {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  background: var(--primary-50, #eff6ff);
  border-bottom: 1px solid var(--border, #e2e8f0);
  color: var(--primary, #2563eb);
  font-size: 14px;
  font-weight: 700;
}
.nl-info-x {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--text-muted, #94a3b8);
  font-size: 12px;
  cursor: pointer;
  padding: 2px 4px;
}
.nl-info-x:hover { color: var(--text-primary, #0f172a); }
.nl-info-pop-isi {
  padding: 11px 13px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary, #475569);
}
.nl-info-pop-isi code {
  font-family: var(--font-mono), monospace;
  background: var(--surface-1, #f8fafc);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 12px;
}

  
  .nl-guest-only { display: none !important; }
  body.nl-guest .nl-guest-only { display: inline-flex !important; align-items: center; }
  
  body.nl-guest #sidebar, body.nl-guest #hero-menu-toggle,
  body.nl-guest #public-search-wrap, body.nl-guest #edit-mode-btn { display: none !important; }
  body.nl-guest .main-content { margin-left: 0; width: 100%; max-width: 100%; }
  
  body.nl-guest #auth-container { position: fixed; inset: 0; z-index: 900; overflow-y: auto; }
  
  .auth-back-beranda { display: none; }
  body.nl-guest .auth-back-beranda {
    display: inline-flex; align-items: center; gap: 8px;
    position: fixed; top: 18px; left: 22px; z-index: 901;
    color: #fff; text-decoration: none; font-weight: 600; font-size: 14px;
    background: rgba(255,255,255,.12); padding: 8px 16px; border-radius: 999px;
  }
  .auth-back-beranda:hover { background: rgba(255,255,255,.22); }


.nl-ind-band {
  position: relative; margin: 6px 0 24px; border-radius: 20px; overflow: hidden;
  color: #eaf1ff; border: 1px solid rgba(255,255,255,.08);
  background:
    
    radial-gradient(680px 280px at 12% -30%, rgba(59,130,246,.5), transparent 60%),
    radial-gradient(560px 300px at 96% 140%, rgba(8,145,178,.5), transparent 55%),
    #0b1220;
  box-shadow: 0 30px 60px -28px rgba(13,25,60,.5);
}
.nl-ind-band::after {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(680px 280px at 30% 0%, #000, transparent 75%);
          mask-image: radial-gradient(680px 280px at 30% 0%, #000, transparent 75%);
}
.nl-ind-band-head {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 10px;
  padding: 18px 22px 0; font-size: 14px; font-weight: 700; letter-spacing: .02em;
}
.nl-ind-band-head .nl-ind-live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; color: #5eead4;
}
.nl-ind-band-head .nl-ind-live .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #34d399;
  box-shadow: 0 0 0 0 rgba(52,211,153,.5); animation: nlIndPulse 2.2s infinite;
}
@keyframes nlIndPulse { 70% { box-shadow: 0 0 0 7px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.nl-ind-metrics {
  position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; margin: 16px; border-radius: 14px; overflow: hidden;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08);
}
.nl-ind-metric { padding: 16px 18px; background: rgba(9,16,34,.35); }
.nl-ind-metric .lbl { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #9fb4dd; font-weight: 600; margin-bottom: 8px; }
.nl-ind-metric .lbl i { opacity: .9; }
.nl-ind-metric .val { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.nl-ind-metric .val small { font-size: 14px; font-weight: 600; color: #9fb4dd; margin-left: 3px; }
.nl-ind-metric .dlt { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; margin-top: 9px; }
.nl-ind-metric .dlt.up { color: #5eead4; } .nl-ind-metric .dlt.down { color: #fca5a5; }
.nl-ind-metric .sub { font-size: 12px; font-weight: 500; color: #9fb4dd; margin-top: 9px; }
@media (max-width: 820px) { .nl-ind-metrics { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .nl-ind-metrics { grid-template-columns: 1fr; } }


.nl-ind-gauge { display: flex; align-items: center; gap: 18px; padding: 22px; }
.nl-ind-ring { position: relative; width: 96px; height: 96px; flex: none; }
.nl-ind-ring svg { transform: rotate(-90deg); }
.nl-ind-ring .rv { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.nl-ind-ring .rv b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.nl-ind-ring .rv span { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.nl-ind-gauge h4 { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.nl-ind-gauge p { font-size: 12px; color: var(--text-secondary); margin: 3px 0 9px; line-height: 1.45; }
.nl-ind-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 8px; }
.nl-ind-tag.ok { color: var(--success); background: var(--success-light); }
.nl-ind-tag.warn { color: var(--warning); background: var(--warning-light); }


.nl-ind-srow { display: flex; align-items: center; gap: 13px; padding: 13px 20px; }
.nl-ind-srow + .nl-ind-srow { border-top: 1px solid var(--border); }
.nl-ind-srow:hover { background: var(--bg-subtle, #f7fafd); }
.nl-ind-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; position: relative; }
.nl-ind-dot.g { background: var(--success); box-shadow: 0 0 0 4px var(--success-light); }
.nl-ind-dot.y { background: var(--warning); box-shadow: 0 0 0 4px var(--warning-light); }
.nl-ind-dot.r { background: var(--danger);  box-shadow: 0 0 0 4px var(--danger-light); }
.nl-ind-dot.g::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--success); animation: nlIndPing 2.4s cubic-bezier(0,0,.2,1) infinite; }
@keyframes nlIndPing { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(2.6); opacity: 0; } }
.nl-ind-srow .nm { font-size: 14px; font-weight: 600; flex: 1; color: var(--text-primary); }
.nl-ind-srow .nm small { display: block; font-size: 12px; color: var(--text-muted); font-weight: 500; margin-top: 1px; }
.nl-ind-srow .mtr { font-size: 14px; font-weight: 700; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.nl-ind-pill { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.nl-ind-pill.g { color: var(--success); background: var(--success-light); }
.nl-ind-pill.y { color: var(--warning); background: var(--warning-light); }
.nl-ind-pill.r { color: var(--danger);  background: var(--danger-light); }


#nl-boot-splash {
  position: fixed; inset: 0; z-index: 100000;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  
  background: #0f172a;
  color: #eaf1ff; font-family: var(--font, 'Inter', system-ui, sans-serif);
}
#nl-boot-splash .nl-boot-mark {
  width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center;
  background: rgba(255,255,255,.12); font-size: 24px; color: #fff;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.5);
}
#nl-boot-splash .nl-boot-name { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }

body.nl-booted #nl-boot-splash { display: none; }


.nl-benzene { overflow: visible; display: inline-block; vertical-align: -3px; }
.nl-benzene-ring { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linejoin: round; opacity: .55; }
.nl-benzene-bonds { transform-box: fill-box; transform-origin: center; animation: nlBenzeneHop 1.2s steps(6) infinite; }
.nl-benzene-bonds line { stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; }
@keyframes nlBenzeneHop { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .nl-benzene-bonds { animation: none; } }


.stat-spark { width: 100%; height: 30px; display: block; margin-top: 2px; }


.nl-ind-chartcard { margin-bottom: 16px; }
.nl-ind-chartcard .card-header { justify-content: space-between; align-items: flex-start; }

.nl-ch-dasar { stroke: var(--border-strong); stroke-width: 1; }
.nl-ch-kisi-samar { stroke: var(--border); stroke-width: 1; opacity: .55; }


.nl-ch-teks {
  position: absolute; left: 8px; right: 8px; top: 4px;
  aspect-ratio: 800 / 208; pointer-events: none;
}
.nl-ch-teks > * { position: absolute; white-space: nowrap; }

.nl-ch-ymax { font-size: 12px; font-weight: 500; color: var(--text-muted); }


.nl-ch-lab {
  display: flex; align-items: baseline; gap: 7px;
  font-size: 12px; transform: translateY(-50%);
}
.nl-ch-lab b { font-weight: 700; font-variant-numeric: tabular-nums; }
.nl-ch-lab span { color: var(--text-muted); font-weight: 500; }
.nl-ch-lab.s1 b { color: var(--seri-1); }
.nl-ch-lab.s2 b { color: var(--seri-2); }


.nl-ch-anotasi { font-size: 12px; font-weight: 500; color: var(--text-secondary); }


.nl-bt-legenda {
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  padding: 8px 12px 2px;
}
.nl-bt-legenda span {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 500; color: var(--text-secondary);
}
.nl-bt-legenda i { width: 9px; height: 9px; border-radius: 2px; flex-shrink: 0; }

.nl-bt-x { color: var(--text-muted); font-variant-numeric: tabular-nums; }

.nl-ind-legend { display: flex; gap: 16px; flex-wrap: wrap; }
.nl-ind-legend span { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--text-secondary); }
.nl-ind-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

.nl-ind-legend i.nl-lg-1 { background: var(--seri-1); }
.nl-ind-legend i.nl-lg-2 {
  width: 14px; height: 0; border-radius: 0; align-self: center;
  border-top: 3px dashed var(--seri-2);
}
.nl-ind-chartwrap { padding: 4px 8px 6px; position: relative; }


.nl-ch-hover { opacity: 0; transition: opacity .12s ease; pointer-events: none; }
.nl-ch-hover.tampil { opacity: 1; }
.nl-ch-hover line { stroke: var(--border-strong); stroke-width: 1; stroke-dasharray: 3 3; }

.nl-ch-hover circle { stroke: var(--surface); stroke-width: 2; }
#nl-ch-h1 { fill: var(--seri-1); }
#nl-ch-h2 { fill: var(--seri-2); }

.nl-ch-tip {
  position: absolute; top: 12px; z-index: 3; pointer-events: none;
  min-width: 118px; padding: 9px 11px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(-2px); transition: opacity .12s ease, transform .12s ease;
}
.nl-ch-tip.tampil { opacity: 1; transform: translateY(0); }
.nl-ch-tip-hari { font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; }
.nl-ch-tip-baris {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; color: var(--text-secondary); line-height: 1.9;
}

.nl-ch-tip-baris b {
  margin-left: auto; color: var(--text-primary);
  font-variant-numeric: tabular-nums; font-weight: 600;
}
.nl-ch-tip-baris i { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }
.nl-ch-tip-baris i.s1 { background: var(--seri-1); }
.nl-ch-tip-baris i.s2 { background: var(--seri-2); }

.nl-ch-tip-baris.nl-ch-tip-sisa {
  margin-top: 5px; padding-top: 5px; border-top: 1px solid var(--border);
  color: var(--text-primary); font-weight: 600;
}


.nl-ind-sisa { display: flex; align-items: baseline; gap: 7px; margin-left: auto; }
.nl-ind-sisa-n {
  font-size: 24px; font-weight: 700; color: var(--text-primary);
  font-variant-numeric: tabular-nums; line-height: 1;
}
.nl-ind-sisa-l { font-size: 12px; color: var(--text-muted); font-weight: 500; }

.nl-ch-tabel .nl-ch-sisa-sel { color: var(--text-primary); font-weight: 600; }


.nl-ch-tabel-bar { padding: 0 16px 12px; }
.nl-ch-tabel { padding: 0 16px 16px; }
.nl-ch-tabel table { width: 100%; border-collapse: collapse; }
.nl-ch-tabel th, .nl-ch-tabel td {
  padding: 8px 10px; text-align: left; font-size: 12px;
  border-bottom: 1px solid var(--border-light);
}
.nl-ch-tabel th {
  font-weight: 600; color: var(--text-muted);
  letter-spacing: .04em; text-transform: uppercase;
}
.nl-ch-tabel td { color: var(--text-secondary); }
.nl-ch-tabel .nl-num { text-align: right; font-variant-numeric: tabular-nums; }
.nl-ch-tabel tbody tr:last-child td { border-bottom: none; }


.nl-ch-tabel tbody tr.nl-ch-row { cursor: pointer; transition: background .12s ease; }
.nl-ch-tabel tbody tr.nl-ch-row:hover { background: var(--surface-1); }

.nl-ch-tabel tbody tr.nl-ch-row:focus-visible {
  outline: 2px solid var(--primary); outline-offset: -2px;
}
.nl-ch-row-ic {
  margin-left: 8px; font-size: 12px; color: var(--text-muted);
  opacity: 0; transition: opacity .12s ease;
}
.nl-ch-tabel tbody tr.nl-ch-row:hover .nl-ch-row-ic,
.nl-ch-tabel tbody tr.nl-ch-row:focus-visible .nl-ch-row-ic { opacity: 1; }
.nl-ch-kosong { color: var(--text-muted); text-align: center; padding: 20px 10px; }

.nl-ind-chart { width: 100%; height: auto; display: block; }
.nl-ind-chart .glabel { font-size: 12px; fill: var(--text-muted); font-family: var(--font); font-weight: 500; }
.nl-ind-axis { display: flex; justify-content: space-between; padding: 6px 12px 4px; }

.nl-ind-chartcard .nl-ind-axis { padding-right: 21%; }
.nl-ind-axis span { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.nl-ind-chart .aline { transition: stroke-dashoffset 1.4s ease; }

@media (prefers-reduced-motion: reduce) {
  .nl-ind-band-head .nl-ind-live .dot, .nl-ind-dot.g::after { animation: none; }
  .nl-ind-chart .aline { transition: none; }
}


.nl-bt-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; padding: 14px 18px 4px; }
.nl-bt-kpi { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.nl-bt-kpi:hover { transform: translateY(-2px); border-color: var(--primary); box-shadow: 0 6px 18px rgba(30, 64, 175, .12); }
.nl-bt-kpi .lbl { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); }
.nl-bt-kpi b { font-size: 20px; font-weight: 700; color: var(--text-primary); line-height: 1.2; font-variant-numeric: tabular-nums; display: inline-block; }
.nl-bt-kpi b.nl-bt-pop { animation: nlBtPop .45s ease; }
@keyframes nlBtPop { 35% { transform: scale(1.16); color: var(--primary); } }
.nl-bt-kpi .sub { font-size: 12px; color: var(--text-secondary); }


.nl-bt-tumbuh .bt-bar { animation: nlBtTumbuh .7s cubic-bezier(.2, .7, .3, 1) both; transform-box: fill-box; transform-origin: center bottom; }
@keyframes nlBtTumbuh { from { transform: scaleY(0); } }

.nl-bt-tip { position: absolute; z-index: 30; min-width: 170px; max-width: 250px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; box-shadow: 0 8px 24px rgba(15, 23, 42, .16); pointer-events: none; font-size: 12px; animation: nlBtTipIn .16s ease; }
@keyframes nlBtTipIn { from { opacity: 0; transform: translateY(4px); } }
.nl-bt-tip .tgl { font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.nl-bt-tip .jml { color: var(--primary); font-weight: 600; margin-bottom: 6px; }
.nl-bt-tip .rinci { color: var(--text-secondary); line-height: 1.5; display: flex; justify-content: space-between; gap: 10px; }
.nl-bt-tip .rinci span { font-weight: 600; white-space: nowrap; }
.nl-bt-tip .rinci.lagi { color: var(--text-muted); font-style: italic; }

.nl-bt-rank { display: flex; align-items: center; gap: 12px; padding: 7px 8px; margin: 0 -8px; border-radius: 10px; border-bottom: 1px dashed var(--border); cursor: pointer; transition: background .15s ease, transform .15s ease; }
.nl-bt-rank:hover { background: var(--surface-1); transform: translateX(2px); }
.nl-bt-rank:hover .chev { opacity: 1; transform: none; }
.nl-bt-rank:last-child { border-bottom: none; }
.nl-bt-rank .idx { width: 24px; height: 24px; border-radius: 8px; background: var(--surface-2); color: var(--text-secondary); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nl-bt-rank:first-child .idx { background: var(--primary); color: #fff; }
.nl-bt-rank .info { flex: 1; min-width: 0; }
.nl-bt-rank .nm { font-size: 14px; font-weight: 600; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 4px; }
.nl-bt-rank .bar { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.nl-bt-rank .bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #3b82f6, #1e40af); }
.nl-bt-anim .bar i { animation: nlBtIsi .8s cubic-bezier(.2, .7, .3, 1) both; }
@keyframes nlBtIsi { from { width: 4%; } }
.nl-bt-rank .nilai { text-align: right; flex-shrink: 0; }
.nl-bt-rank .nilai b { display: block; font-size: 14px; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.nl-bt-rank .nilai span { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.nl-bt-rank .chev, .nl-bt-item .chev { color: var(--text-muted); font-size: 12px; flex-shrink: 0; opacity: 0; transform: translateX(-4px); transition: opacity .15s ease, transform .15s ease; }

.nl-bt-feed { display: flex; flex-direction: column; }
.nl-bt-item { display: flex; gap: 12px; align-items: flex-start; padding: 11px 18px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background .15s ease; }
.nl-bt-item:hover { background: var(--surface-1); }
.nl-bt-item:hover .chev { opacity: 1; transform: none; }
.nl-bt-item .chev { align-self: center; }
.nl-bt-item:last-child { border-bottom: none; }
.nl-bt-chip { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex-shrink: 0; transition: transform .15s ease; }
.nl-bt-item:hover .nl-bt-chip { transform: scale(1.08); }
.nl-bt-item .isi { flex: 1; min-width: 0; }
.nl-bt-item .txt { font-size: 14px; color: var(--text-primary); line-height: 1.45; }
.nl-bt-item .sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.nl-bt-qty { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--primary-100); color: var(--primary); font-size: 12px; font-weight: 700; margin-left: 4px; white-space: nowrap; }
.nl-bt-item.masuk { animation: nlBtMasuk .5s ease; }
@keyframes nlBtMasuk { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .nl-bt-item.masuk, .nl-bt-tumbuh .bt-bar, .nl-bt-anim .bar i, .nl-bt-kpi b.nl-bt-pop, .nl-bt-tip { animation: none; }
  .nl-bt-kpi, .nl-bt-rank, .nl-bt-item, .nl-bt-chip, .nl-bt-rank .chev, .nl-bt-item .chev { transition: none; }
}


.nl-ind-gauge { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.nl-ind-gauge:hover { transform: translateY(-2px); border-color: var(--primary); box-shadow: 0 6px 18px rgba(30, 64, 175, .12); }
.nl-ind-ring svg circle + circle { transition: stroke-dashoffset 1.2s cubic-bezier(.2, .7, .3, 1); }
.nl-ind-rows-masuk .nl-ind-srow { animation: nlBtMasuk .45s ease both; }
.nl-ind-rows-masuk .nl-ind-srow:nth-child(2) { animation-delay: .07s; }
.nl-ind-rows-masuk .nl-ind-srow:nth-child(3) { animation-delay: .14s; }
.nl-ind-rows-masuk .nl-ind-srow:nth-child(4) { animation-delay: .21s; }
.nl-ind-rows-masuk .nl-ind-srow:nth-child(5) { animation-delay: .28s; }
@media (prefers-reduced-motion: reduce) {
  .nl-ind-rows-masuk .nl-ind-srow { animation: none; }
  .nl-ind-gauge { transition: none; }
  .nl-ind-ring svg circle + circle { transition: none; }
}



.reg-mode-switch { display: flex; gap: 6px; background: var(--surface-2); border-radius: 12px; padding: 5px; margin-bottom: 18px; }
.reg-mode-switch button { flex: 1; border: none; background: transparent; border-radius: 9px; padding: 9px 12px; font-size: 14px; font-weight: 600; color: var(--text-secondary); cursor: pointer; font-family: inherit; transition: background .15s ease, color .15s ease, box-shadow .15s ease; }
.reg-mode-switch button i { margin-right: 6px; }
.reg-mode-switch button.active { background: var(--surface); color: var(--primary); box-shadow: 0 1px 4px rgba(15, 23, 42, .12); }
.reg-mode-switch button:not(.active):hover { color: var(--text-primary); }


body.nl-platform-org .nl-lab-only { display: none !important; }



.pf-home { padding: 4px 2px 44px; }
.pf-hero {
  
  background: var(--primary-dark, #1e3a8a);
  color: #fff; border-radius: var(--radius-xl); padding: 30px 32px; margin-bottom: 26px;
  position: relative; overflow: hidden;
}
.pf-hero::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(255,255,255,.14) 0%, transparent 70%); pointer-events: none;
}
.pf-hero-eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; opacity: .9; }
.pf-hero-title { font-size: clamp(20px, 3vw, 30px); font-weight: 700; margin: 8px 0 6px; }
.pf-hero-sub { font-size: 14px; opacity: .92; max-width: 62ch; line-height: 1.55; }
.pf-section-title {
  font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted);
  font-weight: 600; margin: 26px 0 12px;
}
.pf-actions { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.pf-action {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; cursor: pointer; width: 100%;
  text-align: left; font: inherit; color: inherit;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.pf-action:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--primary-100); }
.pf-action-icon {
  width: 46px; height: 46px; border-radius: var(--radius); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  background: var(--primary-100); color: var(--primary);
}
.pf-action-icon.teal { background: #cffafe; color: #0e7490; }
.pf-action-icon.purple { background: #ede9fe; color: #7c3aed; }
.pf-action-body { min-width: 0; }
.pf-action-title { font-weight: 600; font-size: 14px; display: flex; align-items: center; }
.pf-action-desc { font-size: 12px; color: var(--text-muted); margin-top: 3px; line-height: 1.45; }
.pf-badge {
  display: inline-block; min-width: 20px; text-align: center; padding: 1px 7px; margin-left: 8px;
  border-radius: 20px; background: var(--danger); color: #fff; font-size: 12px; font-weight: 700;
}
.pf-badge.muted { background: var(--surface-3); color: var(--text-secondary); }


.pf-metrics { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.pf-metric {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 18px 20px; box-shadow: var(--shadow-sm); cursor: pointer; text-align: left;
  font: inherit; color: inherit; width: 100%;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.pf-metric:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--primary-100); }
.pf-metric-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pf-metric-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.pf-metric-icon {
  width: 36px; height: 36px; border-radius: var(--radius); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
  background: var(--primary-100); color: var(--primary);
}
.pf-metric-icon.teal { background: #cffafe; color: #0e7490; }
.pf-metric-icon.purple { background: #ede9fe; color: #7c3aed; }
.pf-metric-value { font-size: 30px; font-weight: 700; line-height: 1.1; margin-top: 10px; color: var(--text-primary); }
.pf-metric-sub { font-size: 12px; color: var(--text-muted); margin-top: 4px; }


.pf-hero-flex { display: flex; justify-content: space-between; align-items: center; gap: 22px; flex-wrap: wrap; position: relative; z-index: 1; }
.pf-hero-stat { background: rgba(255,255,255,.13); border-radius: var(--radius-lg); padding: 14px 20px; display: flex; gap: 26px; }
.pf-hero-stat .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; opacity: .82; }
.pf-hero-stat .val { font-size: 20px; font-weight: 700; margin-top: 3px; }


.pf-grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
@media (max-width: 1000px) { .pf-grid { grid-template-columns: 1fr; } }


.pf-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.pf-card-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.pf-card-title { font-size: 14px; font-weight: 700; }
.pf-list-row { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--border-light); }
.pf-list-row:last-child { border-bottom: none; }
.pf-list-main { flex: 1; min-width: 0; }
.pf-list-name { font-weight: 600; font-size: 14px; }
.pf-list-sub { font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.pf-pill { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 20px; white-space: nowrap; }
.pf-pill.ok { background: var(--success-light); color: var(--success); }
.pf-pill.warn { background: var(--warning-light); color: var(--warning); }
.pf-pill.info { background: var(--primary-100); color: var(--primary); }
.pf-pill.mute { background: var(--surface-2); color: var(--text-secondary); }
.pf-link { color: var(--primary); font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; background: none; border: none; padding: 0; font-family: inherit; }
.pf-link:hover { text-decoration: underline; }
.pf-empty { padding: 30px 20px; text-align: center; color: var(--text-muted); font-size: 14px; }
.pf-full-btn { width: 100%; margin-top: 14px; }


.nl-banner {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px; border-radius: var(--radius-lg);
  margin: 0 0 18px; font-size: 14px; line-height: 1.5;
  border: 1px solid transparent;
}
.nl-banner-ikon { font-size: 16px; flex-shrink: 0; }
.nl-banner-teks { flex: 1; min-width: 0; }
.nl-banner-teks b { font-weight: 700; }
.nl-banner.awal { background: var(--warning-light); border-color: var(--warning); color: var(--text-primary); }
.nl-banner.awal .nl-banner-ikon { color: var(--warning); }
.nl-banner.segera { background: var(--danger-light); border-color: var(--danger); color: var(--text-primary); }
.nl-banner.segera .nl-banner-ikon { color: var(--danger); }
/*!
 * NextLab — Sistem Manajemen Laboratorium
 * Copyright (c) 2026 NextLab. All Rights Reserved.
 *
 * Perangkat lunak PROPRIETARY. Dilarang menyalin, memodifikasi, atau
 * mendistribusikan tanpa izin tertulis pemegang hak cipta. Lihat LICENSE.
 */

  

  
  .page-content:has(#section-peta-biokimia.active) {
    max-width: none;
    padding: 16px;
  }

  .pg-akar {
    position: relative;
    overflow: hidden;
    background: #1c2230;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    user-select: none;
    touch-action: none;   
  }

  .pg-kanvas {
    display: block;
    width: 100%;
    height: 100%;
    cursor: grab;
    outline: none;
  }
  .pg-kanvas:focus-visible {
    box-shadow: inset 0 0 0 2px var(--primary-light);
  }
  .pg-kanvas.pg-seret { cursor: grabbing; }

  
  .pg-lapis {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 10px;
    background: #1c2230;
    color: rgba(255,255,255,0.72);
    font-size: 14px;
    text-align: center;
    padding: 20px;
    transition: opacity 0.25s ease;
  }
  .pg-lapis i { font-size: 20px; }
  
  .pg-lapis-teks { max-width: 42ch; line-height: 1.5; }
  .pg-lapis.pg-galat { color: #fca5a5; }
  .pg-lapis.pg-sembunyi { opacity: 0; pointer-events: none; }
  .pg-sembunyi { display: none; }

  
  .pg-bar {
    position: absolute;
    top: 10px; left: 10px; right: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
    pointer-events: none;   
    z-index: 2;
  }
  .pg-bar > * { pointer-events: auto; }

  .pg-grup {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border-radius: var(--radius);
    background: rgba(17, 22, 33, 0.38);
    border: 1px solid rgba(255,255,255,0.22);
    
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    box-shadow: var(--shadow-md);
  }
  .pg-grup:last-of-type { margin-left: auto; }

  .pg-tbl {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: rgba(255,255,255,0.88);
    cursor: pointer;
    font-size: 14px;
    transition: background var(--transition), color var(--transition);
  }
  .pg-tbl:hover { background: rgba(255,255,255,0.16); color: #fff; }
  .pg-tbl:focus-visible { outline: 2px solid var(--primary-light); outline-offset: -2px; }
  .pg-tbl.pg-tutup:hover { background: var(--danger); }

  .pg-persen {
    min-width: 54px;
    height: 32px;
    padding: 0 6px;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: rgba(255,255,255,0.88);
    font-family: var(--font-mono);
    font-size: 12px;
    font-variant-numeric: tabular-nums;   
    cursor: pointer;
  }
  .pg-persen:hover { background: rgba(255,255,255,0.16); color: #fff; }

  
  .pg-cari { position: relative; }

  .pg-cari-input {
    width: 240px;
    max-width: 46vw;
    height: 38px;
    
    padding: 0 12px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(17, 22, 33, 0.38);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    color: #fff;
    font-family: var(--font);
    font-size: 14px;
    box-shadow: var(--shadow-md);
  }
  .pg-cari-input::placeholder { color: rgba(255,255,255,0.45); }
  .pg-cari-input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.28);
  }
  
  .pg-cari-input::-webkit-search-cancel-button { filter: invert(1) opacity(0.55); }

  .pg-hasil {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 320px;
    max-width: 78vw;
    max-height: 300px;
    overflow-y: auto;
    padding: 4px;
    border-radius: var(--radius);
    background: rgba(17, 22, 33, 0.72);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    box-shadow: var(--shadow-xl);
  }
  .pg-hasil.pg-buka { display: block; }

  .pg-hasil-item {
    display: block;
    width: 100%;
    padding: 8px 10px;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: rgba(255,255,255,0.9);
    font-family: var(--font);
    font-size: 12px;
    text-align: left;
    line-height: 1.35;
    cursor: pointer;
    
    word-break: break-word;
  }
  .pg-hasil-item:hover,
  .pg-hasil-item.pg-hasil-akt { background: rgba(59, 130, 246, 0.32); color: #fff; }

  
  .pg-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border-radius: var(--radius);
    background: rgba(17, 22, 33, 0.38);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    box-shadow: var(--shadow-md);
  }
  .pg-hitung {
    min-width: 56px;
    padding: 0 6px;
    color: rgba(255,255,255,0.9);
    font-family: var(--font-mono);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    text-align: center;
    white-space: nowrap;
  }

  
  .pg-hasil-item { display: flex; align-items: center; gap: 8px; }
  .pg-hasil-teks { flex: 1 1 auto; min-width: 0; }
  .pg-hasil-jumlah {
    flex: 0 0 auto;
    min-width: 20px;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.92);
    font-family: var(--font-mono);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    text-align: center;
  }

  .pg-hasil-kosong {
    padding: 10px;
    color: rgba(255,255,255,0.55);
    font-size: 12px;
  }

  
  .pg-minimap {
    position: absolute;
    right: 10px; bottom: 10px;
    width: 190px; height: 140px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(17, 22, 33, 0.86);
    box-shadow: var(--shadow-lg);
    cursor: crosshair;
    z-index: 2;
  }

  .pg-ket {
    position: absolute;
    left: 10px; bottom: 10px;
    max-width: min(420px, 60%);
    padding: 7px 11px;
    border-radius: var(--radius-sm);
    background: rgba(17, 22, 33, 0.38);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    color: rgba(255,255,255,0.9);
    font-size: 12px;
    line-height: 1.4;
    z-index: 2;
  }

  .pg-petunjuk {
    position: absolute;
    left: 50%; bottom: 14px;
    transform: translateX(-50%);
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(17, 22, 33, 0.38);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    color: rgba(255,255,255,0.9);
    font-size: 12px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.6s ease;
    z-index: 2;
  }
  .pg-petunjuk.pg-pudar { opacity: 0; }

  
  .pg-overlay {
    position: fixed; inset: 0;
    z-index: 3200;   
    display: flex;
    align-items: center; justify-content: center;
    padding: 2.5vh 2.5vw;
    background: rgba(8, 12, 22, 0.93);
    backdrop-filter: blur(3px);
  }
  .pg-overlay-panel {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  
  body.pg-terkunci { overflow: hidden; }

  
  .pg-thumb {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface-1);
    overflow: hidden;
    cursor: zoom-in;
    transition: border-color var(--transition), box-shadow var(--transition);
  }
  .pg-thumb:hover { border-color: var(--primary-light); box-shadow: var(--shadow-md); }
  .pg-thumb:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

  .pg-thumb-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--surface-2);
  }

  .pg-thumb-tudung {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center; justify-content: center;
    background: rgba(15, 23, 42, 0.42);
    color: #fff;
    font-size: 20px;
    opacity: 0;
    transition: opacity var(--transition);
  }
  .pg-thumb:hover .pg-thumb-tudung,
  .pg-thumb:focus-visible .pg-thumb-tudung { opacity: 1; }

  .pg-thumb-judul {
    display: block;
    padding: 9px 11px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    line-height: 1.35;
  }

  
  @media (max-width: 640px) {
    .pg-minimap { display: none; }
    .pg-petunjuk { display: none; }
    .pg-cari-input { width: 100%; max-width: none; }
    .pg-cari { flex: 1 1 100%; }
    .pg-grup:last-of-type { margin-left: 0; }
    .pg-ket { max-width: calc(100% - 20px); font-size: 12px; }
  }

  
  :root[data-theme="dark"] .pg-akar { border-color: rgba(255,255,255,0.1); }
  :root[data-theme="dark"] .pg-thumb { background: var(--surface-2); }


#section-inventaris {
  
  --inv-gap: 20px;
  --inv-pad: 20px;
}


#section-inventaris .inv-head {
  display: flex; align-items: flex-start; gap: 16px;
  padding-bottom: 16px; margin-bottom: var(--inv-gap);
  border-bottom: 1px solid var(--border);
}
#section-inventaris .inv-head-teks { flex: 1; min-width: 0; }
#section-inventaris .inv-head-teks h3 {
  margin: 0; font-size: 20px; font-weight: 600;
  letter-spacing: -0.01em; color: var(--text-primary);
  display: flex; align-items: center; gap: 8px;
}
#section-inventaris .inv-head-teks p {
  margin: 4px 0 0; font-size: 14px; line-height: 1.5;
  color: var(--text-secondary);
}
#section-inventaris .inv-head-aksi {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}


#section-inventaris .inv-help-btn {
  width: 26px; height: 26px; padding: 0; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: none; background: none; cursor: pointer;
  border-radius: var(--radius-sm); font-size: 14px;
  color: var(--text-muted);
  transition: color .15s ease, background .15s ease;
}
#section-inventaris .inv-help-btn { color: var(--primary); }
#section-inventaris .inv-help-btn:hover {
  color: var(--primary-dark); background: var(--primary-50, #eff6ff);
}




#section-inventaris .inv-panduan {
  display: none; 
  gap: 14px; align-items: flex-start;
  padding: var(--inv-pad); margin-bottom: var(--inv-gap);
  
  background: var(--primary-50, #eff6ff);
  border: 1px solid var(--primary-100, #dbeafe);
  border-radius: var(--radius-lg);
}
#section-inventaris .inv-panduan-isi {
  flex: 1; min-width: 0; font-size: 14px; line-height: 1.6;
  color: var(--text-secondary);
}
#section-inventaris .inv-panduan-isi strong { color: var(--text-primary); font-weight: 600; }
#section-inventaris .inv-panduan-judul {
  display: block; margin-bottom: 6px;
  font-size: 14px; font-weight: 600; color: var(--text-primary);
}


#section-inventaris .inv-langkah {
  list-style: none; counter-reset: langkah;
  margin: 12px 0 0; padding: 0;
  display: grid; gap: 7px;
}
#section-inventaris .inv-langkah li {
  counter-increment: langkah;
  display: grid; grid-template-columns: 18px 1fr; gap: 10px;
  font-size: 14px; line-height: 1.5;
}
#section-inventaris .inv-langkah li::before {
  content: counter(langkah) ".";
  text-align: right; font-variant-numeric: tabular-nums;
  color: var(--primary); font-weight: 700;
}
#section-inventaris .inv-panduan-catatan {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 14px; color: var(--text-muted);
}
#section-inventaris .inv-panduan-tutup {
  width: 26px; height: 26px; padding: 0; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: none; background: none; cursor: pointer;
  border-radius: var(--radius-sm); font-size: 14px;
  color: var(--text-muted);
  transition: color .15s ease, background .15s ease;
}
#section-inventaris .inv-panduan-tutup:hover {
  color: var(--text-primary); background: var(--surface-2);
}


#section-inventaris #inv-tipe-tabs {
  display: inline-flex; flex-wrap: wrap; gap: 4px;
  padding: 4px; margin-bottom: var(--inv-gap);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
#section-inventaris #inv-tipe-tabs .tab-btn {
  padding: 7px 14px; border: none; background: none; cursor: pointer;
  border-radius: var(--radius); font-size: 14px; font-weight: 500;
  color: var(--text-secondary); white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
#section-inventaris #inv-tipe-tabs .tab-btn:hover {
  color: var(--text-primary); background: rgba(15, 23, 42, .05);
}

#section-inventaris #inv-tipe-tabs .tab-btn.active {
  background: var(--surface); color: var(--primary);
  font-weight: 600; box-shadow: var(--shadow-sm);
}
#section-inventaris #inv-tipe-tabs .tab-btn.active i { color: var(--primary); opacity: 1; }
#section-inventaris #inv-tipe-tabs .tab-btn i { margin-right: 7px; opacity: .55; }
#section-inventaris #inv-tipe-tabs .tab-btn.active i { opacity: .75; }


#section-inventaris #inv-tipe-tabs .tab-cacah {
  display: inline-block; margin-left: 8px; padding: 1px 7px;
  border-radius: 9999px; background: rgba(15, 23, 42, .07);
  font-size: 12px; font-weight: 600; color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
#section-inventaris #inv-tipe-tabs .tab-btn.active .tab-cacah {
  background: var(--surface-3); color: var(--text-secondary);
}


#section-inventaris #inv-empty {
  
  display: none;
  padding: 56px 24px; text-align: center;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
#section-inventaris .inv-kosong-ikon {
  width: 48px; height: 48px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--primary-50, #eff6ff); color: var(--primary);
  font-size: 20px;
}
#section-inventaris .inv-kosong-judul {
  font-size: 16px; font-weight: 600; color: var(--text-primary);
  margin-bottom: 6px;
}
#section-inventaris .inv-kosong-teks {
  font-size: 14px; line-height: 1.6; color: var(--text-secondary);
  max-width: 420px; margin: 0 auto;
}


#section-inventaris .table-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
#section-inventaris table { width: 100%; border-collapse: collapse; font-size: 14px; }

#section-inventaris thead th {
  padding: 12px 16px; text-align: left;
  letter-spacing: .03em;
  white-space: nowrap;
}
#section-inventaris tbody td {
  padding: 13px 16px; font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

#section-inventaris tbody td:first-child {
  color: var(--text-primary); font-weight: 500;
}
#section-inventaris tbody tr:last-child td { border-bottom: none; }
#section-inventaris tbody tr { transition: background .12s ease; }
#section-inventaris tbody tr:hover { background: var(--surface-1); }


#section-inventaris tbody td.inv-num {
  font-variant-numeric: tabular-nums; text-align: right;
}
#section-inventaris thead th.inv-num { text-align: right; }

@media (max-width: 900px) {
  #section-inventaris .inv-head { flex-direction: column; gap: 12px; }
  #section-inventaris .inv-head-aksi { width: 100%; }
  #section-inventaris #inv-tipe-tabs { display: flex; width: 100%; }
}
