/* =========================================================
   REKAP DIAMOND v4 — Neutral Gray Design Tokens
   Mobile-first PWA, Dark-only theme
   ========================================================= */

:root {
  --bg-primary: #0f0f17;
  --bg-secondary: #181828;
  --bg-tertiary: #202035;
  --bg-elevated: #2a2a45;
  --accent-electric: #3b82f6;
  --accent-electric-dim: #2563eb;
  --accent-electric-glow: rgba(59, 130, 246, 0.4);
  --gold: #fbbf24;
  --gold-dim: #f59e0b;
  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-primary: #334155;
  --border-secondary: #475569;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 32px var(--accent-electric-glow);
  --font-primary: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --transition-fast: 150ms;
  --transition-base: 250ms;
  --transition-slow: 400ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}
::selection { background: var(--accent-electric-glow); color: var(--text-primary); }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: 20px; font-weight: 700; }
h3 { font-size: 15px; font-weight: 600; }
p { color: var(--text-secondary); }
a { color: var(--accent-electric-dim); text-decoration: none; transition: color var(--transition-fast) var(--ease-out); }
a:hover { color: var(--accent-electric); }

/* =========================================================
   PHOTO FALLBACK — when image fails to load
   ========================================================= */
.photo-fallback {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  background: var(--bg-tertiary); border: 1px dashed var(--border-secondary);
  gap: 2px; cursor: default; vertical-align: top;
}
.thumb + .photo-fallback { width: 48px; height: 48px; }

/* =========================================================
   BACKGROUND AMBIENCE (GPU-accelerated, animated)
   ========================================================= */

/* Moving grid */
.bg-grid {
  position: absolute; inset: -50%;
  background-image:
    linear-gradient(rgba(59,130,246,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridDrift 20s linear infinite;
}
@keyframes gridDrift {
  0% { transform: translate(0,0); }
  100% { transform: translate(60px,60px); }
}

/* Floating orbs */
.orb {
  position: absolute; border-radius: 50%; filter: blur(80px);
  animation: orbFloat 8s ease-in-out infinite alternate;
}
.orb-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.12), transparent 70%);
  top: 10%; left: -5%;
  animation-duration: 10s;
}
.orb-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(96,165,250,0.10), transparent 70%);
  bottom: 10%; right: -3%;
  animation-duration: 12s;
  animation-delay: -3s;
}
.orb-3 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(59,130,246,0.08), transparent 70%);
  top: 50%; left: 40%;
  animation-duration: 14s;
  animation-delay: -6s;
}
@keyframes orbFloat {
  0% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-20px) scale(1.05); }
  66% { transform: translate(-20px,30px) scale(0.95); }
  100% { transform: translate(10px,-10px) scale(1.02); }
}

/* Floating particles */
.particle {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: rgba(59,130,246,0.4);
  animation: particleDrift 15s linear infinite;
}
.particle:nth-child(1) { left:10%; top:20%; animation-duration:18s; animation-delay:0s; width:3px; height:3px; }
.particle:nth-child(2) { left:25%; top:60%; animation-duration:22s; animation-delay:-5s; width:5px; height:5px; background:rgba(96,165,250,0.3); }
.particle:nth-child(3) { left:50%; top:30%; animation-duration:16s; animation-delay:-8s; }
.particle:nth-child(4) { left:70%; top:70%; animation-duration:20s; animation-delay:-3s; width:3px; height:3px; background:rgba(59,130,246,0.25); }
.particle:nth-child(5) { left:85%; top:15%; animation-duration:24s; animation-delay:-10s; width:6px; height:6px; background:rgba(96,165,250,0.2); }
.particle:nth-child(6) { left:40%; top:80%; animation-duration:19s; animation-delay:-7s; width:2px; height:2px; }
@keyframes particleDrift {
  0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) translateX(40px) scale(0.5); opacity: 0; }
}

/* Scan line */
.scan-line {
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.15), transparent);
  animation: scanDown 6s linear infinite;
}
@keyframes scanDown {
  0% { top: -2px; opacity: 0; }
  5% { opacity: 1; }
  95% { opacity: 1; }
  100% { top: 100vh; opacity: 0; }
}

/* Respect motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   BUTTON INTERACTIONS (Premium feel)
   ========================================================= */
.btn {
  font-family: var(--font-primary); font-size: 12px; font-weight: 600;
  padding: 7px 18px; border-radius: var(--radius-sm); border: none; cursor: pointer;
  transition:
    transform var(--transition-fast) var(--ease-out),
    box-shadow var(--transition-fast) var(--ease-out),
    background var(--transition-base) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn:active { transform: scale(0.96); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--accent-electric-glow); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }
.btn.is-loading { pointer-events: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-electric), var(--accent-electric-dim)); color: white;
  box-shadow: 0 1px 3px rgba(59,130,246,.2);
}
.btn-primary:hover { box-shadow: 0 4px 12px rgba(59,130,246,.3); }
.btn-secondary {
  background: var(--bg-tertiary); color: var(--text-secondary); border: 1px solid var(--border-primary);
}
.btn-secondary:hover { background: var(--bg-elevated); color: var(--text-primary); }
.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { filter: brightness(1.1); }
.btn-success { background: var(--success); color: white; }
.btn-success:hover { filter: brightness(1.1); }
.btn-gold { background: var(--gold); color: var(--bg-primary); font-weight: 700; }
.btn-gold:hover { filter: brightness(1.1); }
.btn-sm { padding: 5px 12px; font-size: 11px; }
.btn-lg { padding: 12px 28px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-icon {
  background: transparent; border: 1px solid var(--border-primary); color: var(--text-muted);
  padding: 3px 8px; font-size: 11px; border-radius: var(--radius-sm);
  transition: color var(--transition-base) var(--ease-out), border-color var(--transition-base) var(--ease-out); cursor: pointer; font-family: var(--font-primary);
}
.btn-icon:hover { color: var(--danger); border-color: var(--danger); }

/* Button loading spinner */
.spinner {
  display: inline-block; width: 16px; height: 16px;
  border: 2px solid var(--border-primary); border-top-color: var(--accent-electric);
  border-radius: 50%; animation: spin .7s linear infinite; vertical-align: middle; margin-right: 4px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   FORM FIELD MICRO-ANIMATIONS
   ========================================================= */
.fld { margin-bottom: 14px; }
.fld-label {
  display: block; font-size: 12px; font-weight: 600; color: var(--text-secondary);
  margin-bottom: 5px; letter-spacing: .005em;
}
.fld-input {
  width: 100%; padding: 10px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-primary); background: var(--bg-secondary);
  color: var(--text-primary); font-size: 14px; font-family: var(--font-primary); outline: none;
  transition: border-color var(--transition-base) var(--ease-out), box-shadow var(--transition-base) var(--ease-out);
  -webkit-appearance: none; appearance: none;
}
.fld-input:focus {
  border-color: var(--accent-electric);
  box-shadow: 0 0 0 3px var(--accent-electric-glow);
}
.fld-input::placeholder { color: var(--text-muted); }
.fld-input:disabled { opacity: .5; cursor: not-allowed; }
.fld-input-lg { padding: 12px 16px; font-size: 15px; }
select.fld-input {
  -webkit-appearance: none; appearance: none;
  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='%2364748B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px;
}
.fld-textarea {
  width: 100%; padding: 10px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-primary); background: var(--bg-secondary);
  color: var(--text-primary); font-size: 14px; font-family: var(--font-primary); outline: none;
  resize: vertical; min-height: 64px;
  transition: border-color var(--transition-base) var(--ease-out), box-shadow var(--transition-base) var(--ease-out);
  -webkit-appearance: none; appearance: none;
}
.fld-textarea:focus {
  border-color: var(--accent-electric); box-shadow: 0 0 0 3px var(--accent-electric-glow);
}

/* Floating label effect */
.fld-group { position: relative; }
.fld-group .fld-label {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  font-size: 14px; font-weight: 400; color: var(--text-muted); pointer-events: none;
  transition: transform var(--transition-base) var(--ease-out), color var(--transition-base) var(--ease-out);
}
.fld-group .fld-input:focus + .fld-label,
.fld-group .fld-input:not(:placeholder-shown) + .fld-label {
  transform: translateY(-30px) scale(0.85);
  color: var(--accent-electric);
}

/* =========================================================
   CARDS — Glass Morphism
   ========================================================= */
.card {
  background: linear-gradient(135deg, rgba(15,15,23,.7), rgba(32,32,53,.5));
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  transition: border-color var(--transition-base) var(--ease-out);
  animation: fadeUp var(--transition-base) var(--ease-out) both;
}
.card:hover { border-color: var(--border-secondary); }
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px; flex-wrap: wrap; gap: 8px;
}
.card-title {
  font-size: 13px; font-weight: 700; color: var(--text-secondary);
  letter-spacing: .02em; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}
.card-title .badge-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; border-radius: 100px; padding: 0 8px;
  background: var(--accent-electric-glow); color: var(--accent-electric); font-size: 11px; font-weight: 700;
}

/* =========================================================
   TABS
   ========================================================= */
.tabs {
  display: flex; gap: 4px; margin-bottom: 20px;
  background: var(--bg-secondary); border-radius: var(--radius-sm);
  padding: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.tab {
  padding: 8px 16px; color: var(--text-muted); font-size: 12.5px; font-weight: 500; cursor: pointer;
  border-radius: 6px; white-space: nowrap;
  transition: color var(--transition-base) var(--ease-out), background-color var(--transition-base) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.tab:hover { color: var(--text-secondary); background: var(--bg-tertiary); }
.tab.active { background: var(--accent-electric-glow); color: var(--accent-electric); font-weight: 600; }

/* =========================================================
   TABLE — FinanceFlow Clean
   ========================================================= */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-sm); border: 1px solid var(--border-primary); }
.table-wrap::-webkit-scrollbar { height: 3px; }
.table-wrap::-webkit-scrollbar-thumb { background: var(--border-secondary); border-radius: 2px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th {
  text-align: left; padding: 10px 14px;
  background: var(--bg-tertiary); border-bottom: 1px solid var(--border-primary);
  color: var(--text-muted); font-size: 11px; font-weight: 600;
  letter-spacing: .03em; text-transform: uppercase; white-space: nowrap;
}
td { padding: 10px 14px; border-bottom: 1px solid rgba(32,32,53,.5); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tr { transition: background var(--transition-base) var(--ease-out); }
tr:hover td { background: rgba(59,130,246,.02); }
tfoot td {
  border-top: 2px solid var(--border-primary); border-bottom: none;
  font-weight: 700; color: var(--gold);
  background: var(--bg-secondary); font-size: 14px; padding: 12px 14px;
}

/* =========================================================
   STATUS PILLS
   ========================================================= */
.pill { display: inline-block; padding: 2px 10px; border-radius: 100px; font-size: 10.5px; font-weight: 600; letter-spacing: .01em; }
.pill-pending { background: rgba(251,191,36,.12); color: var(--gold); }
.pill-terlambat { background: rgba(245,158,11,.12); color: var(--warning); }
.pill-diterima { background: rgba(34,197,94,.12); color: var(--success); }
.pill-ditolak { background: rgba(239,68,68,.12); color: var(--danger); }
.pill-shift { background: rgba(59,130,246,.1); color: var(--accent-electric); }

/* =========================================================
   SHIFT SELECT GRID
   ========================================================= */
.shift-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 4px; }
@media (max-width: 560px) { .shift-grid { grid-template-columns: 1fr; } }
.shift-opt {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-secondary); border: 1px solid var(--border-primary); border-radius: var(--radius-sm);
  padding: 8px 12px; font-size: 13px; cursor: pointer;
  transition: border-color var(--transition-base) var(--ease-out), background var(--transition-base) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.shift-opt:hover { border-color: var(--accent-electric); background: var(--accent-electric-glow); }
.shift-opt:has(input:checked) { border-color: var(--accent-electric); background: var(--accent-electric-glow); box-shadow: 0 0 0 2px rgba(59,130,246,.15); }
.shift-opt input { width: auto; margin: 0; accent-color: var(--accent-electric); }
.shift-opt.disabled { opacity: .3; cursor: not-allowed; pointer-events: none; }
.shift-hint { color: var(--text-muted); font-size: 11px; margin-top: 6px; }

/* Late warning */
.late-warning {
  background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.2);
  border-radius: var(--radius-sm); padding: 10px 14px; color: var(--warning);
  font-size: 12px; margin-top: 10px; line-height: 1.5;
}
.late-warning strong { color: var(--text-primary); }

/* =========================================================
   PHOTO DROP ZONE & PREVIEW
   ========================================================= */
.photo-drop {
  border: 1.5px dashed var(--border-primary); border-radius: var(--radius-sm);
  padding: 20px; text-align: center; cursor: pointer;
  color: var(--text-muted); font-size: 13px; margin-top: 6px;
  transition: border-color var(--transition-base) var(--ease-out), background var(--transition-base) var(--ease-out);
}
.photo-drop:hover { border-color: var(--accent-electric); background: var(--accent-electric-glow); }
.photo-preview-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; justify-content: center; }
.photo-preview-item { position: relative; animation: fadeIn .2s var(--ease-out); }
.photo-preview-item img {
  width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius-sm);
  display: block; border: 1px solid var(--border-primary);
}
.photo-preview-item .rm {
  position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--danger); color: white; font-size: 11px; font-weight: 700;
  line-height: 22px; text-align: center; cursor: pointer; border: none; padding: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.thumb-row { display: flex; gap: 4px; flex-wrap: wrap; }
.thumb {
  width: 32px; height: 32px; border-radius: 6px; object-fit: cover; cursor: pointer;
  border: 1px solid var(--border-primary); transition: transform var(--transition-base) var(--ease-out);
}
.thumb:hover { transform: scale(1.15); }

/* =========================================================
   SUMMARY BADGES
   ========================================================= */
.sum-badges { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.sum-badge {
  background: var(--bg-secondary); border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm); padding: 10px 16px; min-width: 100px;
}
.sum-badge b { font-size: 18px; font-weight: 800; display: block; letter-spacing: -.02em; }
.sum-badge span { color: var(--text-muted); font-size: 11px; }
.sum-badge.accent b { color: var(--accent-electric); }
.sum-badge.gold b { color: var(--gold); }
.sum-badge.success b { color: var(--success); }
.sum-badge.danger b { color: var(--danger); }
.sum-badge.warning b { color: var(--warning); }

/* =========================================================
   VERIFICATION CARDS
   ========================================================= */
.verif-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 700px) { .verif-grid { grid-template-columns: 1fr; } }
.verif-card {
  background: var(--bg-secondary); border: 1px solid var(--border-primary);
  border-radius: var(--radius-md); padding: 18px; position: relative;
  transition: border-color var(--transition-base) var(--ease-out); overflow: hidden;
}
.verif-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(135deg, var(--accent-electric), var(--accent-electric-dim)); opacity: .4;
}
.verif-card:hover { border-color: var(--border-secondary); }
.verif-card .vhead { display: flex; justify-content: space-between; align-items: start; margin-bottom: 8px; }
.verif-card .vhead .vname { font-weight: 600; font-size: 14px; letter-spacing: -.01em; }
.verif-card .vdetail { font-size: 12.5px; color: var(--text-muted); line-height: 1.7; }
.verif-card .vdetail span { color: var(--text-secondary); }
.verif-card .vphotos { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0; }
.verif-card .vphotos img {
  width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm);
  cursor: pointer; border: 1px solid var(--border-primary);
  transition: transform var(--transition-base) var(--ease-out);
}
.verif-card .vphotos img:hover { transform: scale(1.05); }
.verif-card .vact { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.verif-card .vreject { display: none; margin-top: 8px; }

/* =========================================================
   MODAL
   ========================================================= */
.modal-bg {
  position: fixed; inset: 0; background: rgba(6,11,23,.7);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; z-index: 200; padding: 20px;
}
.modal {
  background: var(--bg-secondary); border: 1px solid var(--border-primary);
  border-radius: var(--radius-xl); padding: 28px; max-width: 480px; width: 100%;
  max-height: 90vh; overflow: auto; box-shadow: var(--shadow-lg);
}
.modal .modal-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.modal .modal-body { color: var(--text-secondary); font-size: 13px; margin-bottom: 16px; line-height: 1.5; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; }
.modal img { max-width: 100%; border-radius: var(--radius-md); margin-top: 8px; }

/* =========================================================
   LOGIN SCREEN
   ========================================================= */
#login-screen {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 24px; position: relative; overflow: hidden;
  background: var(--bg-primary);
}
/* Primary mesh gradient — multiple drifting blobs (port of MeshGradient component) */
#login-screen::before {
  content: ''; position: absolute; inset: -50%; z-index: 0;
  background:
    radial-gradient(ellipse 45% 40% at 30% 35%, rgba(42,46,56,.8) 0%, transparent 55%),
    radial-gradient(ellipse 40% 35% at 70% 60%, rgba(26,26,26,.7) 0%, transparent 50%),
    radial-gradient(ellipse 50% 45% at 50% 20%, rgba(255,255,255,.04) 0%, transparent 45%),
    radial-gradient(ellipse 35% 30% at 20% 80%, rgba(42,46,56,.6) 0%, transparent 50%),
    radial-gradient(ellipse 30% 25% at 80% 30%, rgba(255,255,255,.03) 0%, transparent 40%);
  animation: meshDrift 18s ease-in-out infinite alternate;
  will-change: transform;
  pointer-events: none;
}
/* Wireframe overlay — subtle grid lines (port of wireframe="true" MeshGradient) */
#login-screen::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
  pointer-events: none;
  animation: wireframeDrift 25s ease-in-out infinite alternate;
}
/* Ensure login content sits above gradient layers */
#login-screen .login-card { position: relative; z-index: 1; }
.login-card { width: 100%; max-width: 400px; }
.login-card-inner {
  background: linear-gradient(135deg, rgba(17,24,39,.8), rgba(32,32,53,.6));
  backdrop-filter: blur(40px) saturate(1.4);
  -webkit-backdrop-filter: blur(40px) saturate(1.4);
  border: 1px solid var(--border-primary); border-radius: var(--radius-xl);
  padding: 36px 32px 32px; box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.03);
  position: relative; overflow: hidden;
}
.login-card-inner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(135deg, var(--accent-electric), var(--accent-electric-dim)); opacity: .6;
}
.login-brand { display: flex; flex-direction: column; align-items: center; margin-bottom: 28px; text-align: center; }
.login-brand .logo-icon { width: 48px; height: 48px; margin-bottom: 10px; }
.login-brand h1 {
  font-size: 24px; font-weight: 800; letter-spacing: -.03em;
  color: var(--accent-electric);
  display: flex; flex-wrap: wrap; justify-content: center;
}
.login-brand p { color: var(--text-muted); font-size: 12px; margin-top: 2px; }
.login-err { color: var(--danger); font-size: 13px; margin-top: 8px; min-height: 16px; }
.login-hint { margin-top: 20px; font-size: 11.5px; color: var(--text-muted); line-height: 1.6; border-top: 1px solid var(--border-primary); padding-top: 14px; text-align: center; }

/* =========================================================
   LOGIN — Glassmorphism Badge
   ========================================================= */
.login-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12.5px; font-weight: 600; color: var(--text-primary);
  margin-bottom: 18px;
  opacity: 0; transform: translateY(-16px);
  animation: fadeUp 0.6s var(--ease-out) 0.3s forwards;
}
.login-badge svg { width: 14px; height: 14px; color: var(--text-secondary); flex-shrink: 0; }

/* =========================================================
   LOGIN — Animated Title (letter-by-letter reveal)
   ========================================================= */
.login-brand h1 .char {
  display: inline-block;
  opacity: 0; transform: translateY(20px);
  animation: charReveal 0.45s var(--ease-out) forwards;
}
.login-brand h1 .char-space { width: 0.35em; }
@keyframes charReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   LOGIN — Premium CTA Button
   ========================================================= */
.btn-premium {
  background: #FFFFFF; color: #0f1117;
  border: none; border-radius: 16px;
  padding: 14px 32px; width: 100%;
  font-family: var(--font-primary); font-size: 15px; font-weight: 700;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform 0.15s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.15s var(--ease-out);
  box-shadow: 0 4px 24px rgba(255,255,255,.08);
}
.btn-premium:hover {
  background: #F3F4F6;
  box-shadow: 0 8px 32px rgba(255,255,255,.12);
}
.btn-premium:active { transform: scale(0.97); }
.btn-premium:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.btn-premium:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-premium svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease-out); }
.btn-premium:hover svg { transform: translateX(3px); }

/* =========================================================
   LOGIN — Staggered Entrance Animation
   ========================================================= */
.login-brand { opacity: 0; animation: fadeUp 0.7s var(--ease-out) 0.1s forwards; }
.login-card-inner #login-form { opacity: 0; animation: fadeUp 0.7s var(--ease-out) 1.0s forwards; }
/* Reduced-motion: never leave login content stuck invisible (chars carry inline delays) */
@media (prefers-reduced-motion: reduce) {
  .login-brand, .login-card-inner #login-form, .login-badge, .login-brand h1 .char {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* =========================================================
   TOAST
   ========================================================= */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  background: var(--bg-secondary); border: 1px solid var(--border-primary);
  color: var(--text-primary); padding: 12px 24px; border-radius: 100px;
  font-weight: 500; font-size: 13px; font-family: var(--font-primary);
  box-shadow: var(--shadow-lg); z-index: 999;
  white-space: nowrap; max-width: 90vw; overflow: hidden; text-overflow: ellipsis;
}
.toast.success { background: rgba(34,197,94,.15); border-color: rgba(34,197,94,.3); color: var(--success); }
.toast.error { background: rgba(239,68,68,.15); border-color: rgba(239,68,68,.3); color: var(--danger); }
.toast.warning { background: rgba(245,158,11,.15); border-color: rgba(245,158,11,.3); color: var(--warning); }

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: translateY(0) } }
@keyframes scaleIn { from { opacity: 0; transform: scale(.96) } to { opacity: 1; transform: scale(1) } }
@keyframes livePulse { 0%,100% { opacity: 1; transform: scale(1) } 50% { opacity: .4; transform: scale(.75) } }
@keyframes spin { to { transform: rotate(360deg) } }

/* Mesh gradient drift — port of MeshGradient component animation */
@keyframes meshDrift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(40px, -30px) scale(1.05); }
  66%  { transform: translate(-30px, 20px) scale(0.95); }
  100% { transform: translate(20px, -10px) scale(1.02); }
}
@keyframes wireframeDrift {
  0%   { background-position: 0 0, 0 0; }
  100% { background-position: 30px 15px, 15px 30px; }
}
/* Card glow & lift on hover */
.verif-card:hover,
.stat-card:hover,
.card:hover {
  border-color: rgba(59,130,246,.35);
  box-shadow: 0 4px 20px rgba(59,130,246,.12), 0 0 0 1px rgba(59,130,246,.15);
  transform: translateY(-2px);
  transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out), transform .25s var(--ease-out);
}

/* Button glow pulse — primary */
.btn-primary,
.btn-gold {
  box-shadow: 0 0 16px rgba(59,130,246,.15);
  animation: btnPulse 2.8s ease-in-out infinite;
}
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 16px rgba(59,130,246,.15); }
  50% { box-shadow: 0 0 24px rgba(59,130,246,.3); }
}

/* Skeleton shimmer — loading placeholder animation */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--bg-tertiary) 25%, rgba(59,130,246,.08) 50%, var(--bg-tertiary) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.8s linear infinite;
  border-radius: var(--radius-sm);
}
.skeleton-line { height: 14px; margin-bottom: 8px; }
.skeleton-block { height: 72px; }

.live-indicator { display: inline-flex; align-items: center; gap: 4px; font-size: 9px; font-weight: 700; letter-spacing: .1em; color: var(--success); text-transform: uppercase; margin-left: auto; }
.live-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--success); box-shadow: 0 0 6px rgba(34,197,94,.5); animation: livePulse 2s ease-in-out infinite; }
.accent-divider { height: 1px; border: none; margin: 0 0 20px; background: linear-gradient(90deg, transparent, var(--accent-electric), var(--accent-electric-dim), transparent); opacity: .2; border-radius: 2px; }

.is-loading { pointer-events: none; opacity: .7; }

/* Stagger entrance */
.stagger > * { animation: fadeUp var(--transition-base) var(--ease-out) both; }
.stagger > *:nth-child(1) { animation-delay: 0ms; }
.stagger > *:nth-child(2) { animation-delay: 40ms; }
.stagger > *:nth-child(3) { animation-delay: 80ms; }
.stagger > *:nth-child(4) { animation-delay: 120ms; }
.stagger > *:nth-child(5) { animation-delay: 160ms; }
.stagger > *:nth-child(6) { animation-delay: 200ms; }
.stagger > *:nth-child(7) { animation-delay: 240ms; }
.stagger > *:nth-child(8) { animation-delay: 280ms; }

/* Scrollbar */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-secondary); }

/* Utilities */
.hidden { display: none !important; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mb-12 { margin-bottom: 12px; }
.gap-4 { gap: 4px; }
.gap-8 { gap: 8px; }
.flex { display: flex; }
.flex-center { align-items: center; }
.flex-between { justify-content: space-between; }
.text-center { text-align: center; }
.text-sm { font-size: 12px; color: var(--text-muted); }
.font-mono { font-family: var(--font-mono); }
.kendala-note { color: var(--warning); font-size: 11px; font-style: italic; cursor: help; }

/* =========================================================
   STAT CARDS — Dashboard KPI tiles
   ========================================================= */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: 1fr 1fr; } }
.stat-card {
  background: var(--bg-elevated); border: 1px solid var(--border-primary);
  border-radius: var(--radius-md); padding: 20px; position: relative; overflow: hidden;
  transition: border-color var(--transition-fast) var(--ease-out);
}
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(135deg, var(--accent-electric), var(--accent-electric-dim)); opacity: .35;
}
.stat-card:hover { border-color: var(--border-secondary); }
.stat-card .sc-icon {
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  background: var(--accent-electric-glow); border-radius: var(--radius-sm); margin-bottom: 10px;
}
.stat-card .sc-icon svg { width: 16px; height: 16px; flex-shrink: 0; }
.stat-card.gold .sc-icon { background: rgba(251,191,36,.12); }
.stat-card.gold .sc-icon svg { color: var(--gold); }
.stat-card.accent .sc-icon { background: var(--accent-electric-glow); }
.stat-card.accent .sc-icon svg { color: var(--accent-electric); }
.stat-card.success .sc-icon { background: rgba(34,197,94,.12); }
.stat-card.success .sc-icon svg { color: var(--success); }
.stat-card .sc-label { font-size: 11.5px; color: var(--text-muted); font-weight: 500; margin-bottom: 2px; }
.stat-card .sc-value { font-size: 28px; font-weight: 800; color: var(--text-primary); letter-spacing: -.03em; line-height: 1.1; }
.stat-card .sc-sub { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* Filter row */
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; margin-bottom: 16px; }
.filter-row .fld { min-width: 140px; flex: 1; margin-bottom: 0; }
.filter-row .fld:last-child { min-width: auto; flex: 0; }

/* Responsive */
@media (max-width: 600px) {
  .card { padding: 16px; }
  .verif-card { padding: 14px; }
  table { font-size: 12px; }
  th, td { padding: 8px 10px; }
  .toast { font-size: 12px; padding: 10px 18px; }
  .filter-row .fld { min-width: 100%; }
  .stat-card { padding: 16px; }
  .stat-card .sc-value { font-size: 24px; }
  .topbar-app { height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Grid helpers */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .grid2 { grid-template-columns: 1fr; } }

/* Empty state */
.empty-state { padding: 48px 20px; text-align: center; color: var(--text-muted); line-height: 1.6; }
.empty-state .empty-icon { font-size: 32px; display: block; margin-bottom: 10px; opacity: .5; }
.empty-state .empty-title { color: var(--text-secondary); font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.empty-state .empty-desc { color: var(--text-muted); font-size: 13px; }
.load-more-wrap { text-align: center; padding: 16px 0 4px; }
/* =========================================================
   NOTIFICATION BELL & DROPDOWN (v5)
   ========================================================= */
.notif-bell {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  background: rgba(15,15,23,.6);
  border: 1px solid var(--border-primary);
  border-radius: 10px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition-fast) var(--ease-out), border-color var(--transition-fast) var(--ease-out), box-shadow var(--transition-fast) var(--ease-out), transform var(--transition-fast) var(--ease-out);
}
.notif-bell:hover { color: var(--text-primary); border-color: var(--accent-electric); box-shadow: 0 0 0 3px var(--accent-electric-glow); }
.notif-bell:active { transform: scale(.92); }
.notif-bell svg { width: 18px; height: 18px; }
.notif-badge {
  position: absolute; top: -5px; right: -5px;
  min-width: 17px; height: 17px; padding: 0 4px;
  display: none; align-items: center; justify-content: center;
  background: var(--danger); color: #fff;
  border: 2px solid var(--bg-primary);
  border-radius: 100px;
  font-size: 9.5px; font-weight: 800; line-height: 1;
  animation: notifPop var(--transition-fast) var(--ease-out);
}
@keyframes notifPop { from { transform: scale(0); } to { transform: scale(1); } }
.notif-bell.has-unread { color: var(--accent-electric); border-color: rgba(59,130,246,.4); }

.notif-dropdown {
  position: fixed; top: 64px; right: 20px;
  width: 320px; max-width: calc(100vw - 32px);
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden; z-index: 150;
  opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none;
  transform-origin: top right;
  transition: opacity var(--transition-fast) var(--ease-out), transform var(--transition-fast) var(--ease-out);
}
.notif-dropdown.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
@media (max-width: 600px) { .notif-dropdown { right: 12px; top: 56px; } }
.notif-dropdown .nd-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-bottom: 1px solid var(--border-primary);
  background: rgba(59,130,246,.05);
}
.notif-dropdown .nd-title { font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 7px; }
.notif-dropdown .nd-title svg { width: 14px; height: 14px; color: var(--accent-electric); }
.notif-dropdown .nd-markall {
  background: none; border: none; color: var(--accent-electric);
  font-size: 11px; font-weight: 600; cursor: pointer; font-family: inherit;
  padding: 2px 0;
}
.notif-dropdown .nd-markall:hover { text-decoration: underline; }
.notif-list { max-height: 340px; overflow-y: auto; }
.notif-item {
  display: flex; gap: 10px; padding: 12px 14px;
  cursor: pointer; position: relative;
  border-bottom: 1px solid rgba(51,65,85,.35);
  transition: background var(--transition-fast);
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: rgba(59,130,246,.06); }
.notif-item.unread { background: rgba(59,130,246,.05); }
.notif-item .ni-icon {
  width: 30px; height: 30px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
}
.notif-item .ni-icon svg { width: 15px; height: 15px; }
.notif-item .ni-icon.accepted { background: rgba(34,197,94,.12); color: var(--success); }
.notif-item .ni-icon.rejected { background: rgba(239,68,68,.12); color: var(--danger); }
.notif-item .ni-icon.info { background: var(--accent-electric-glow); color: var(--accent-electric); }
.notif-item .ni-body { flex: 1; min-width: 0; }
.notif-item .ni-text { font-size: 12.5px; color: var(--text-primary); line-height: 1.45; }
.notif-item .ni-text b.ok { color: var(--success); }
.notif-item .ni-text b.bad { color: var(--danger); }
.notif-item .ni-time { font-size: 11px; color: var(--text-muted); margin-top: 3px; }
.notif-item .ni-unread-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-electric); margin-top: 4px; flex-shrink: 0;
  box-shadow: 0 0 6px var(--accent-electric-glow);
}
.notif-empty { padding: 36px 16px; text-align: center; color: var(--text-muted); font-size: 12.5px; }
.notif-empty .ne-icon { font-size: 24px; display: block; margin-bottom: 8px; opacity: .5; }

/* =========================================================
   ADMIN DASHBOARD — CHARTS (v5)
   ========================================================= */
.dash-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; margin-top: 4px; }
@media (max-width: 900px) { .dash-grid { grid-template-columns: 1fr; } }
.chart-card {
  background: var(--bg-elevated); border: 1px solid var(--border-primary);
  border-radius: var(--radius-md); padding: 18px;
}
.chart-card .cc-head { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.chart-card .cc-title { font-size: 13px; font-weight: 700; color: var(--text-primary); display: inline-flex; align-items: center; gap: 8px; }
.chart-card .cc-title svg { width: 15px; height: 15px; color: var(--accent-electric); }
.chart-card .cc-sub { font-size: 11px; color: var(--text-muted); font-weight: 400; margin-left: auto; }

/* Daily trend — bar chart */
.daily-chart { display: flex; align-items: flex-end; gap: 5px; height: 168px; padding: 4px 2px 0; }
.daily-chart .bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; min-width: 0; }
.daily-chart .bar {
  height: 100%; width: 100%; max-width: 26px; border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--accent-electric), var(--accent-electric-dim));
  position: relative; transform-origin: bottom;
  transform: scaleY(var(--bar-scale, 0));
  transition: transform .6s var(--ease-out), filter var(--transition-fast);
  cursor: pointer;
}
.daily-chart .bar:hover { filter: brightness(1.3); box-shadow: 0 0 12px var(--accent-electric-glow); }
.daily-chart .bar.is-zero { background: var(--bg-tertiary); opacity: .5; }
.daily-chart .bar .bar-tip {
  position: absolute; bottom: calc(var(--bar-scale) * 100% + 6px); left: 50%; transform: translateX(-50%);
  background: var(--bg-tertiary); border: 1px solid var(--border-secondary);
  color: var(--text-primary); font-size: 10px; font-weight: 700;
  padding: 3px 7px; border-radius: 6px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity var(--transition-fast);
  z-index: 5;
}
.daily-chart .bar:hover .bar-tip { opacity: 1; }
.daily-chart .bar-label { font-size: 9px; color: var(--text-muted); font-family: var(--font-mono); white-space: nowrap; }
.daily-chart .bar-label.today { color: var(--accent-electric); font-weight: 700; }

/* Status breakdown */
.status-list { display: flex; flex-direction: column; gap: 13px; }
.status-row { display: flex; align-items: center; gap: 10px; }
.status-row .sr-label { width: 82px; font-size: 12px; color: var(--text-secondary); flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; }
.status-row .sr-label .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.status-row .sr-track { flex: 1; height: 10px; background: var(--bg-tertiary); border-radius: 100px; overflow: hidden; }
.status-row .sr-fill { width: 100%; height: 100%; border-radius: 100px; transform-origin: left; transform: scaleX(var(--fill-scale, 0)); transition: transform .6s var(--ease-out); }
.status-row .sr-fill.accepted { background: linear-gradient(90deg, var(--success), #4ade80); }
.status-row .sr-fill.pending { background: linear-gradient(90deg, var(--warning), #fcd34d); }
.status-row .sr-fill.terlambat { background: linear-gradient(90deg, var(--text-muted), #94a3b8); }
.status-row .sr-fill.rejected { background: linear-gradient(90deg, var(--danger), #f87171); }
.status-row .sr-val { width: 60px; text-align: right; font-size: 12px; font-weight: 700; font-family: var(--font-mono); flex-shrink: 0; }

/* Top hosts */
.top-hosts { display: flex; flex-direction: column; gap: 11px; }
.top-host-row { display: flex; align-items: center; gap: 10px; }
.top-host-row .th-rank {
  width: 22px; height: 22px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 7px; background: var(--bg-tertiary);
  font-size: 11px; font-weight: 800; color: var(--text-secondary);
}
.top-host-row .th-rank.r1 { background: rgba(251,191,36,.15); color: var(--gold); }
.top-host-row .th-rank.r2 { background: rgba(148,163,184,.15); color: #cbd5e1; }
.top-host-row .th-rank.r3 { background: rgba(217,119,6,.18); color: #fdba74; }
.top-host-row .th-info { flex: 1; min-width: 0; }
.top-host-row .th-name { font-size: 12.5px; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-host-row .th-track { height: 6px; background: var(--bg-tertiary); border-radius: 100px; overflow: hidden; margin-top: 5px; }
.top-host-row .th-fill { width: 100%; height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--accent-electric), var(--accent-electric-dim)); transform-origin: left; transform: scaleX(var(--fill-scale, 0)); transition: transform .6s var(--ease-out); }
.top-host-row .th-val { font-size: 12px; font-weight: 700; font-family: var(--font-mono); color: var(--text-secondary); flex-shrink: 0; }
.dash-totals { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.dash-total {
  flex: 1; min-width: 110px;
  background: var(--bg-elevated); border: 1px solid var(--border-primary);
  border-radius: var(--radius-md); padding: 14px 16px;
}
.dash-total .dt-label { font-size: 11px; color: var(--text-muted); }
.dash-total .dt-value { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-top: 2px; }
.dash-total.accent .dt-value { color: var(--accent-electric); }
.dash-total.gold .dt-value { color: var(--gold); }
.dash-total.success .dt-value { color: var(--success); }
.dash-total.warning .dt-value { color: var(--warning); }

/* =========================================================
   HOST SELF-SERVICE — settings card + edit entry (v5)
   ========================================================= */
.self-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .self-grid { grid-template-columns: 1fr; } }
.self-card {
  background: var(--bg-elevated); border: 1px solid var(--border-primary);
  border-radius: var(--radius-md); padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
}
.self-card .sc-title { font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.self-card .sc-title svg { width: 15px; height: 15px; color: var(--accent-electric); }
.self-card .sc-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin-top: -6px; }
.profile-field { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed rgba(51,65,85,.4); font-size: 13px; }
.profile-field:last-child { border-bottom: none; }
.profile-field .pf-label { color: var(--text-muted); }
.profile-field .pf-value { font-weight: 600; color: var(--text-primary); text-align: right; }
.entry-actions { display: flex; gap: 6px; }
.btn-mini {
  padding: 4px 10px; font-size: 11px; font-weight: 600; border-radius: 7px;
  border: 1px solid var(--border-primary); background: transparent;
  color: var(--text-secondary); cursor: pointer; transition: color var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
}
.btn-mini:hover { border-color: var(--accent-electric); color: var(--accent-electric); background: var(--accent-electric-glow); }
.edit-entry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .edit-entry-grid { grid-template-columns: 1fr; } }
