/* ════════════════════════════════════════════════════════════════
   PeluangKerja.id — Design System
   Brand: biru tegas + aksen oranye hangat · PJS (judul) + Figtree (teks)
   "Buka pintu kariermu."
   ════════════════════════════════════════════════════════════════ */

:root {
  /* ── Biru tegas (primer) ── */
  --blue-900: #0A2A5E;
  --blue-700: #11427F;  /* utama */
  --blue-600: #1657A6;
  --blue-500: #2E73D2;
  --blue-800: #0E3A72;
  --blue-300: #8DB2E6;  /* aksi */
  --blue-400: #5C93DE;
  --blue-200: #B9D0EF;
  --blue-100: #DCE8F8;
  --blue-50:  #EEF4FC;

  /* ── Oranye hangat (aksen — pakai hemat ~10%) ── */
  --orange-500: #FF8A4C;
  --orange-300: #FFB98A;
  --orange-50:  #FFF1E8;

  /* ── Fungsional ── */
  --pk-success: #2E9E6B;
  --success-bg: #E7F6EF;
  --danger: #D64545;
  --danger-bg: #FBEBEB;

  /* ── Netral ── */
  --ink:    #15212B;
  --gray-700: #364450;
  --gray-600: #5A6B79;
  --gray-400: #93A3AF;
  --gray-200: #D6DEE6;
  --gray-100: #EDF1F5;
  --paper:  #F6F9FC;
  --white:  #FFFFFF;

  /* ── Semantic ── */
  --pk-primary:       var(--blue-700);
  --pk-primary-deep:  var(--blue-900);
  --pk-primary-action:var(--blue-500);
  --pk-accent:        var(--orange-500);

  /* ── Radius (10–16px, kesan ramah) ── */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-pill: 999px;

  /* ── Shadow ── */
  --shadow-xs: 0 1px 2px rgba(10, 42, 94, 0.06);
  --shadow-sm: 0 4px 14px rgba(10, 42, 94, 0.08);
  --shadow-md: 0 12px 32px rgba(10, 42, 94, 0.12);
  --shadow-lg: 0 28px 64px rgba(10, 42, 94, 0.18);
  --pk-ring: 0 0 0 4px rgba(46, 115, 210, 0.18);

  /* ── Layout ── */
  --container: 1180px;
  --container-wide: 1320px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 70px;

  /* ── Type ── */
  --font-head: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Figtree', ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* ── Legacy aliases (jaga kompatibilitas class lama) ── */
  --bg: var(--paper);
  --surface: var(--white);
  --surface-muted: var(--gray-100);
  --line: var(--gray-200);
  --teal: var(--blue-700);
  --teal-dark: var(--blue-900);
  --blue: var(--blue-500);
  --charcoal: var(--blue-900);
  --rose: var(--danger);
  --shadow: var(--shadow-md);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(34px, 5.4vw, 60px); }
h2 { font-size: clamp(26px, 3.6vw, 40px); }
h3 { font-size: clamp(19px, 2vw, 23px); letter-spacing: -0.01em; }
h4 { font-size: 16px; font-weight: 700; }

p { color: var(--gray-700); }

::selection { background: var(--blue-200); color: var(--blue-900); }

:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Layout primitives (FIX offside: container terpusat) ─────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container.wide { max-width: var(--container-wide); }
.container.narrow { max-width: 760px; }

.section { padding-block: clamp(56px, 7vw, 100px); }
.section.tight { padding-block: clamp(36px, 4vw, 56px); }

.bg-paper { background: var(--paper); }
.bg-white { background: var(--white); }
.bg-blue  { background: var(--blue-700); color: #fff; }
.bg-ink   { background: var(--blue-900); color: #fff; }
.bordered-top { border-top: 1px solid var(--gray-200); }
.bordered-y { border-block: 1px solid var(--gray-200); }

/* ── Eyebrow / kicker ───────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow::before {
  content: '';
  width: 22px; height: 2px;
  border-radius: 2px;
  background: var(--pk-accent);
}
.on-dark .eyebrow, .bg-blue .eyebrow, .bg-ink .eyebrow { color: var(--orange-300); }

.lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--gray-600); line-height: 1.65; }
.on-dark .lead, .bg-blue .lead, .bg-ink .lead { color: rgba(255,255,255,0.82); }

/* ── Brand / Logo ───────────────────────────────────────────── */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand .brand-glyph { flex-shrink: 0; }
.brand-name b { color: #11427F; }
.brand-name-rest { color: #FF8A4C; }
.on-dark .brand, .bg-ink .brand, .sidebar .brand { color: #fff; }

/* legacy square mark — now used as fallback only */
.brand-mark {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: linear-gradient(150deg, var(--blue-600), var(--blue-900));
  color: #fff; font-family: var(--font-head); font-weight: 800;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn, .header-cta, .primary-button, .secondary-button, .danger-button {
  --btn-bg: var(--blue-700);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--r-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover, .header-cta:hover, .primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(17, 66, 127, 0.28);
}
.btn:active, .primary-button:active { transform: translateY(0); }

/* Primary = aksi utama (biru tegas) */
.btn-primary, .primary-button, .header-cta {
  --btn-bg: var(--blue-700);
  box-shadow: 0 4px 14px rgba(17, 66, 127, 0.22);
}
.btn-primary:hover, .primary-button:hover, .header-cta:hover { --btn-bg: var(--blue-600); }

/* Action = biru cerah (CTA besar) */
.btn-action { --btn-bg: var(--blue-500); box-shadow: 0 6px 18px rgba(46,115,210,.32); }
.btn-action:hover { --btn-bg: var(--blue-600); }

/* Accent = oranye hangat (sekunder mengundang) */
.btn-accent {
  --btn-bg: var(--orange-500);
  --btn-fg: #4A2410;
  box-shadow: 0 6px 18px rgba(255, 138, 76, 0.34);
}
.btn-accent:hover { --btn-bg: #FF7A33; box-shadow: 0 10px 24px rgba(255,138,76,.42); }

/* Secondary / outline */
.btn-secondary, .secondary-button {
  --btn-bg: var(--white);
  --btn-fg: var(--blue-700);
  --btn-bd: var(--gray-200);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover, .secondary-button:hover {
  --btn-bd: var(--blue-400);
  --btn-bg: var(--blue-50);
  transform: translateY(-1px);
}

/* Ghost = tersier */
.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--gray-700);
  --btn-bd: transparent;
  box-shadow: none;
}
.btn-ghost:hover { --btn-bg: var(--gray-100); box-shadow: none; transform: none; }

/* On dark surfaces */
.on-dark .btn-secondary, .bg-blue .btn-secondary, .bg-ink .btn-secondary {
  --btn-bg: rgba(255,255,255,.12);
  --btn-fg: #fff;
  --btn-bd: rgba(255,255,255,.28);
}
.on-dark .btn-secondary:hover { --btn-bg: rgba(255,255,255,.2); }

.danger-button { --btn-bg: var(--danger-bg); --btn-fg: var(--danger); --btn-bd: #F3C9C9; box-shadow: none; }
.danger-button:hover { --btn-bg: #F6DADA; transform: none; box-shadow: none; }

.btn-block { width: 100%; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.compact, .btn-sm { min-height: 38px; padding: 0 14px; font-size: 13px; }

/* ── Tags / Pills ───────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--blue-50);
  color: var(--blue-700);
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid var(--blue-100);
}
.tag.accent { background: var(--orange-50); color: #B65A22; border-color: #FFD9C2; }
.tag.success { background: var(--success-bg); color: var(--pk-success); border-color: #BFE6D2; }

/* ════════════════════════════════════════════════════════════
   HEADER / NAV
   ════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 249, 252, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(214, 222, 230, 0.7);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header-h);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 600;
}

/* ── Nav dropdown ───────────────────────────────────────────── */
.nav-group { position: relative; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 14px;
  border: 0; background: none; cursor: pointer;
  border-radius: var(--r-sm);
  font: inherit; font-weight: 600;
  color: var(--gray-700);
  transition: background .16s, color .16s;
}
.nav-trigger svg { transition: transform .18s; }
.nav-group:hover .nav-trigger,
.nav-group:focus-within .nav-trigger { background: var(--blue-50); color: var(--blue-700); }
.nav-group:hover .nav-trigger svg,
.nav-group:focus-within .nav-trigger svg { transform: rotate(180deg); }
/* Loker: nav link biasa (tanpa dropdown), tampilan sama dgn trigger */
a.nav-plain { text-decoration: none; }
a.nav-plain:hover { background: var(--blue-50); color: var(--blue-700); }

.nav-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 264px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s, transform .16s, visibility .16s;
  z-index: 60;
}
.nav-group:hover .nav-panel,
.nav-group:focus-within .nav-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-panel a {
  display: grid; gap: 1px;
  padding: 9px 12px; border-radius: var(--r-sm);
  transition: background .14s;
}
.nav-panel a:hover { background: var(--blue-50); }
.nav-panel a strong { font-size: 14px; font-weight: 700; color: var(--ink); }
.nav-panel a span { font-size: 12.5px; color: var(--gray-600); font-weight: 500; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-auth-loading { width: 132px; height: 38px; border-radius: var(--r-sm); background: var(--gray-100); }
.header-account { position: relative; display: flex; align-items: center; gap: 8px; }
.header-account-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 38px; padding: 0 13px;
  border: 1px solid var(--gray-200); border-radius: var(--r-sm);
  background: var(--white); color: var(--blue-700);
  font-family: var(--font-head); font-size: 13px; font-weight: 700;
  cursor: pointer; transition: background .16s, border-color .16s;
}
.header-account-trigger:hover, .header-account-trigger[aria-expanded="true"] { background: var(--blue-50); border-color: var(--blue-300); }
.header-account-panel {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 70;
  display: grid; min-width: 190px; padding: 8px;
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}
.header-account-panel a, .header-account-panel button {
  display: flex; align-items: center; width: 100%; min-height: 38px; padding: 8px 10px;
  border: 0; border-radius: 8px; background: transparent; color: var(--gray-700);
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600; text-align: left; cursor: pointer;
}
.header-account-panel a:hover, .header-account-panel button:hover { background: var(--blue-50); color: var(--blue-700); }
.header-account-panel button { color: var(--danger); }
.nav-toggle { display: none; }

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(46,115,210,.28), transparent 60%),
    radial-gradient(80% 70% at 10% 110%, rgba(255,138,76,.12), transparent 55%),
    linear-gradient(160deg, var(--blue-900) 0%, var(--blue-700) 70%);
  color: #fff;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .5;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 104px);
}
.hero-copy { max-width: 640px; }
.hero h1 { color: #fff; }
.hero h1 .accent-word { color: var(--orange-300); }
.hero-text { margin-top: 18px; color: rgba(255,255,255,.85); font-size: clamp(16px, 1.5vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 20px;
  margin-top: 34px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.hero-trust div strong {
  display: block; font-family: var(--font-head); font-size: 24px; font-weight: 800; color: #fff;
}
.hero-trust div span { font-size: 13px; color: rgba(255,255,255,.7); }

/* Hero visual: kartu CV mengambang */
.hero-visual { position: relative; min-height: 360px; }
.hero-card {
  position: absolute;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.hero-card.cv {
  inset: 0 40px 30px 0;
  padding: 26px;
  display: flex; flex-direction: column; gap: 12px;
}
.hero-card.cv .cv-name { font-family: var(--font-head); font-weight: 800; font-size: 20px; }
.hero-card.cv .cv-role { color: var(--blue-600); font-weight: 600; font-size: 14px; }
.hero-card.cv .cv-line { height: 9px; border-radius: 5px; background: var(--gray-100); }
.hero-card.cv .cv-line.w70 { width: 70%; }
.hero-card.cv .cv-line.w90 { width: 90%; }
.hero-card.cv .cv-line.w50 { width: 50%; }
.hero-card.cv .cv-bar { height: 9px; border-radius: 5px; background: var(--blue-200); }
.hero-card.score {
  right: 0; bottom: 0;
  width: 168px;
  padding: 16px 18px;
  display: flex; align-items: center; gap: 12px;
}
.hero-card.score .ring {
  width: 52px; height: 52px; border-radius: 50%;
  background: conic-gradient(var(--pk-success) 86%, var(--gray-100) 0);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.hero-card.score .ring b {
  width: 38px; height: 38px; border-radius: 50%; background: #fff;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 14px; color: var(--pk-success);
}
.hero-card.score small { display: block; color: var(--gray-600); font-size: 11px; }
.hero-card.score strong { font-family: var(--font-head); font-size: 14px; }
.hero-badge {
  position: absolute; top: 8px; left: -8px;
  background: var(--orange-500); color: #4A2410;
  font-family: var(--font-head); font-weight: 700; font-size: 12px;
  padding: 7px 13px; border-radius: var(--r-pill);
  box-shadow: var(--shadow-md);
}

/* ── Section heading block ──────────────────────────────────── */
.section-head { max-width: 680px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 12px; }
.section-head p { margin-top: 14px; }

/* ════════════════════════════════════════════════════════════
   STATS STRIP
   ════════════════════════════════════════════════════════════ */
.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 40px);
}
.metric-strip div { text-align: center; }
.metric-strip strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.metric-strip span { color: rgba(255,255,255,.72); font-size: 14px; }

/* ════════════════════════════════════════════════════════════
   FEATURE CARDS
   ════════════════════════════════════════════════════════════ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  padding: 28px;
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}
.feature-card .f-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: var(--r-sm);
  background: var(--blue-50);
  color: var(--blue-600);
  margin-bottom: 18px;
}
.feature-card.is-accent .f-icon { background: var(--orange-50); color: var(--orange-500); }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { font-size: 15px; }
.feature-card .f-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  color: var(--blue-600);
}
.feature-card .f-link:hover { gap: 10px; transition: gap .18s; }

/* keep legacy accent classes working */
.feature-card.accent-teal, .feature-card.accent-blue, .feature-card.accent-rose { border-top: 1px solid var(--gray-200); }

/* ── Why choose us ──────────────────────────────────────────── */
.why-card {
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  transition: transform .18s, box-shadow .2s, border-color .2s;
}
.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-200); }
.why-icon { font-size: 30px; display: block; margin-bottom: 12px; }
.why-card h3 { margin-bottom: 6px; }
.why-card p { font-size: 14.5px; }

/* ── FAQ accordion ──────────────────────────────────────────── */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .18s, box-shadow .18s;
}
.faq-item[open] { border-color: var(--blue-300); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 66px;
  padding: 18px 22px;
  cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 700; font-size: 15.5px;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--blue-50); }
.faq-item summary:focus-visible { outline-offset: -3px; }
.faq-chevron {
  flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue-600);
  transition: background .2s, color .2s;
}
.faq-chevron svg { transition: transform .2s ease; }
.faq-item[open] .faq-chevron { background: var(--blue-600); color: #fff; }
.faq-item[open] .faq-chevron svg { transform: rotate(180deg); }
.faq-item p { padding: 0 22px 22px; margin: 0; color: var(--gray-700); font-size: 15px; line-height: 1.65; }

/* ── Steps (how it works) ───────────────────────────────────── */
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card {
  position: relative;
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
}
.step-card .step-num {
  font-family: var(--font-head);
  font-size: 13px; font-weight: 800;
  color: var(--pk-accent);
  letter-spacing: .08em;
}
.step-card h3 { margin: 8px 0; }
.step-card p { font-size: 14.5px; }

/* ── Split (two-column) ─────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.workflow-list { display: grid; gap: 12px; }
.workflow-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  transition: border-color .18s, box-shadow .18s;
}
.workflow-list div:hover { border-color: var(--blue-200); box-shadow: var(--shadow-sm); }
.workflow-list strong { font-family: var(--font-head); color: var(--blue-700); font-size: 14px; }
.workflow-list span { color: var(--gray-600); font-size: 14.5px; }

/* ════════════════════════════════════════════════════════════
   PRICING
   ════════════════════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  padding: 30px 26px;
  transition: transform .18s, box-shadow .2s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card h3 { margin-bottom: 6px; }
.price-card .price-desc { font-size: 14px; min-height: 42px; }
.price-card .price {
  font-family: var(--font-head);
  font-size: 38px; font-weight: 800;
  color: var(--blue-700);
  letter-spacing: -0.02em;
  margin: 16px 0;
}
.price-card .price small { font-size: 15px; font-weight: 600; color: var(--gray-600); }
.price-features { display: grid; gap: 10px; margin: 4px 0 24px; }
.price-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--gray-700); }
.price-features li::before {
  content: '✓'; color: var(--pk-success); font-weight: 800; flex-shrink: 0;
}
.price-card .btn { margin-top: auto; }
.price-card.highlighted {
  border-color: var(--blue-500);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, #fff, var(--blue-50));
}
.price-card.highlighted .price { color: var(--blue-500); }
.price-badge {
  align-self: flex-start;
  margin-bottom: 14px;
  background: var(--orange-500); color: #4A2410;
  font-family: var(--font-head); font-weight: 700; font-size: 12px;
  padding: 5px 12px; border-radius: var(--r-pill);
}
.price-card .price small { font-size: 15px; font-weight: 600; color: var(--gray-600); }
.per-day {
  margin: -8px 0 4px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  color: var(--blue-600);
}
.save-tag {
  display: inline-block; align-self: flex-start;
  margin: 0 0 10px;
  background: var(--success-bg); color: var(--pk-success);
  font-family: var(--font-head); font-weight: 700; font-size: 12px;
  padding: 3px 10px; border-radius: var(--r-pill);
}
.price-features li.excluded { color: var(--gray-400); }
.price-features li.excluded::before { content: '✕'; color: var(--gray-400); }
.guarantee {
  margin: 4px 0 16px; padding: 10px 12px;
  background: var(--blue-50); border-radius: var(--r-sm);
  font-size: 13px; color: var(--blue-700); font-weight: 600;
}
/* Anchor pembanding di atas grid harga */
.price-anchor {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  padding: 18px 22px;
  background: var(--white); border: 1px dashed var(--blue-200);
  border-radius: var(--r-md);
}
.price-anchor span { font-size: 14.5px; color: var(--gray-700); }
.price-anchor strong { color: var(--blue-700); }
.price-foot { text-align: center; margin-top: 26px; color: var(--gray-600); font-size: 14px; }
.trust-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--gray-200);
  text-align: center;
}
.trust-row strong {
  display: block; font-family: var(--font-head); font-weight: 800;
  font-size: clamp(18px, 2.2vw, 24px); color: var(--blue-700);
}
.trust-row span { font-size: 13px; color: var(--gray-600); }
@media (max-width: 760px) {
  .price-anchor, .trust-row { grid-template-columns: 1fr; }
}

/* ── CTA band ───────────────────────────────────────────────── */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--blue-700), var(--blue-900));
  border-radius: var(--r-lg);
  padding: clamp(36px, 5vw, 64px);
  color: #fff;
  text-align: center;
}
.cta-band::before {
  content: ''; position: absolute; top: -40%; right: -10%;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,138,76,.3), transparent 65%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band .hero-actions { justify-content: center; }

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.site-footer { background: var(--blue-900); color: rgba(255,255,255,.72); }
.site-footer .container { padding-block: clamp(40px, 5vw, 64px); }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-top .brand { color: #fff; margin-bottom: 14px; }
.footer-col h4 { color: #fff; margin-bottom: 14px; font-family: var(--font-head); }
.footer-col a { display: block; padding: 5px 0; color: rgba(255,255,255,.7); font-size: 14.5px; }
.footer-col a:hover { color: #fff; }
.footer-tagline { font-size: 14.5px; max-width: 280px; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 24px; font-size: 13.5px;
}
.footer-social {
  display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap;
}
.social-icon {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: rgba(255,255,255,.1);
  border-radius: var(--r-sm);
  color: rgba(255,255,255,.7);
  transition: all .2s ease;
  text-decoration: none;
}
.social-icon:hover {
  background: var(--pk-accent);
  color: #fff;
  transform: translateY(-2px);
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--gray-100);
  max-width: 680px;
  margin: 0 auto;
}
.contact-form .form-field { margin-bottom: 16px; }
.contact-form .btn { width: 100%; justify-content: center; }

/* ════════════════════════════════════════════════════════════
   FORMS / INPUTS
   ════════════════════════════════════════════════════════════ */
.form-field { display: grid; gap: 7px; }
.form-field > span, .field-label {
  font-family: var(--font-head);
  font-size: 13.5px; font-weight: 700; color: var(--gray-700);
}
.input, .form-field input, .form-field textarea, .form-field select,
.table-toolbar input, .token-dialog input {
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  transition: border-color .16s, box-shadow .16s;
}
textarea.input, .form-field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.input:focus, .form-field input:focus, .form-field textarea:focus, .form-field select:focus,
.table-toolbar input:focus, .token-dialog input:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: var(--pk-ring);
}
.input::placeholder, textarea::placeholder { color: var(--gray-400); }
.field-hint { font-size: 13px; color: var(--gray-600); }
.form-status {
  display: flex; align-items: center; gap: 8px; min-height: 0; margin: 10px 0 0;
  padding: 9px 11px; border: 1px solid #F3D1CC; border-radius: 10px;
  background: #FFF3F1; color: #B54234; font-size: 13px; font-weight: 600; line-height: 1.4;
}
.form-status::before { content: '!'; width: 18px; height: 18px; display: grid; place-items: center; flex: 0 0 18px; border-radius: 50%; background: #F8D6D1; font-size: 12px; font-weight: 800; }
.form-status.ok { border-color: #C8E8D6; background: #EEF9F2; color: #23764E; }
.form-status.ok::before { content: '✓'; background: #D5F0E0; }

/* ════════════════════════════════════════════════════════════
   AUTH / LOGIN
   ════════════════════════════════════════════════════════════ */
/* Split-screen: panel brand (kiri) + form (kanan) */
.auth-page {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: 100vh;
  background: var(--paper);
}

/* ── Brand side ── */
.auth-brand {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: clamp(26px, 3.4vw, 50px);
  color: #fff;
  background:
    radial-gradient(115% 80% at 112% -12%, rgba(255,138,76,.24), transparent 55%),
    radial-gradient(95% 75% at -12% 112%, rgba(46,115,210,.4), transparent 60%),
    linear-gradient(158deg, #0A2A5E 0%, #11427F 100%);
}
.auth-brand::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .55;
}
.auth-brand > * { position: relative; z-index: 1; }
.auth-brand .brand-name, .auth-brand .brand-name b { color: #fff; }
.auth-brand .eyebrow { color: var(--orange-300); }

.auth-back {
  display: inline-flex; align-items: center; gap: 7px; width: fit-content;
  margin: -4px 0 0 -6px; padding: 8px 12px; border-radius: 10px;
  color: rgba(255,255,255,.78);
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  transition: background .16s, color .16s, transform .14s;
}
.auth-back:hover { background: rgba(255,255,255,.1); color: #fff; }
.auth-back svg { transition: transform .16s; }
.auth-back:hover svg { transform: translateX(-2px); }

.auth-brand-inner { flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: 460px; padding: 32px 0; }
.auth-brand-inner > .brand { margin-bottom: 26px; }
.auth-brand h1 { color: #fff; font-size: clamp(32px, 3.3vw, 50px); line-height: 1.04; margin-top: 14px; }
.auth-brand h1 .dot { color: var(--orange-500); }
.auth-brand-sub { margin-top: 16px; color: rgba(255,255,255,.82); font-size: clamp(15px, 1.4vw, 17px); line-height: 1.6; max-width: 420px; }
.auth-points { display: grid; gap: 13px; margin-top: 30px; }
.auth-points li { display: flex; gap: 11px; align-items: center; font-size: 14.5px; color: rgba(255,255,255,.9); }
.auth-points li::before {
  content: ''; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255,138,76,.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23FFB98A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.auth-brand-foot { color: rgba(255,255,255,.5); font-size: 12.5px; padding-top: 20px; }

/* ── Form side ── */
.auth-form-side {
  display: flex; min-height: 100vh; overflow-y: auto;
  padding: clamp(28px, 4vw, 56px) clamp(22px, 4vw, 60px);
}
.auth-form-card { width: min(420px, 100%); margin: auto; }

.login-form { display: grid; gap: 16px; }
.oauth-buttons { display: grid; gap: 10px; }
.oauth-buttons .btn { gap: 10px; font-weight: 600; }
.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 2px 0; color: var(--gray-400); font-size: 12.5px; font-weight: 600;
}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }

@media (max-width: 900px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-brand { padding: 18px 22px 28px; }
  .auth-brand-inner { padding: 16px 0; max-width: none; }
  .auth-brand h1 { font-size: 27px; }
  .auth-points, .auth-brand-foot { display: none; }
  .auth-form-side { min-height: auto; padding: 28px 22px 44px; }
}
.role-switch {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 5px;
  background: var(--gray-100);
  border-radius: var(--r-sm);
}
/* Toggle jenis akun (pencari kerja / HR) di form daftar */
.acct-type { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: var(--gray-100); border-radius: var(--r-sm); }
.acct-type button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 42px; border: 0; background: transparent; cursor: pointer; border-radius: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 13.5px; color: var(--gray-600);
}
.acct-type button.active { background: var(--white); color: var(--blue-700, #0E3A72); box-shadow: 0 1px 3px rgba(10,42,94,.12); }
.role-switch label { cursor: pointer; }
.role-switch input { position: absolute; opacity: 0; pointer-events: none; }
.role-switch span {
  display: grid; place-items: center;
  min-height: 44px;
  border-radius: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  color: var(--gray-600);
  transition: all .16s;
}
.role-switch input:checked + span {
  background: var(--white); color: var(--blue-700);
  box-shadow: var(--shadow-sm);
}
.role-switch input:focus-visible + span { box-shadow: var(--pk-ring); }

/* ════════════════════════════════════════════════════════════
   DASHBOARD SHELL
   ════════════════════════════════════════════════════════════ */
.dashboard-body { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }
.sidebar {
  position: sticky; top: 0;
  height: 100vh;
  padding: 24px 18px;
  background: var(--blue-900);
  color: #fff;
  overflow-y: auto;
}
.sidebar .brand { margin-bottom: 26px; padding-inline: 6px; }
.sidebar-nav { display: grid; gap: 2px; }
.sidebar-group { display: grid; gap: 2px; margin-bottom: 16px; }
.sidebar-label {
  font-family: var(--font-head); font-size: 10.5px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
  padding: 0 14px 6px;
}
.sidebar-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  color: rgba(255,255,255,.7);
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  transition: background .16s, color .16s;
}
.sidebar-nav a .si { font-size: 15px; width: 18px; text-align: center; flex-shrink: 0; }
.sidebar-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.sidebar-nav a.active { background: var(--blue-500); color: #fff; }
.sidebar-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); }
.sidebar { display: flex; flex-direction: column; }

.dashboard { min-width: 0; padding: clamp(24px, 3vw, 40px) clamp(18px, 3vw, 44px) 64px; max-width: 1280px; }
.dashboard-header, .section-title-row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
}
.dashboard-header { margin-bottom: 28px; }
.dashboard-header h1 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 6px; }
.dashboard-actions, .table-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.dashboard-section { margin-top: 36px; }
.dashboard-section > h2 { margin-bottom: 18px; }

/* ── KPI cards ──────────────────────────────────────────────── */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 18px; }
.kpi-card {
  min-width: 0;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  transition: box-shadow .18s;
}
.kpi-card:hover { box-shadow: var(--shadow-sm); }
.kpi-card > span:first-child {
  display: block;
  font-family: var(--font-head);
  font-size: 12.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--gray-600);
}
.kpi-card strong {
  display: block; margin-top: 10px;
  font-family: var(--font-head);
  font-size: clamp(22px, 2.4vw, 30px); font-weight: 800;
  letter-spacing: -0.02em; color: var(--blue-800, var(--blue-700));
  overflow-wrap: anywhere;
}
.kpi-card strong + span { display: block; margin-top: 4px; color: var(--gray-600); font-size: 13px; }

/* ── Panels ─────────────────────────────────────────────────── */
.dashboard-grid { display: grid; gap: 18px; }
.dashboard-grid.two { grid-template-columns: repeat(2, 1fr); }
.panel {
  min-width: 0;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
}
.panel > h2, .panel > h3 { margin-bottom: 14px; }
.wide-panel { min-height: auto; }

/* ── Bar chart ──────────────────────────────────────────────── */
.bar-chart {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  align-items: end; gap: 6px;
  width: 100%; max-width: 100%; min-width: 0;
  height: 180px; margin-top: 16px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--gray-200);
}
.bar {
  display: flex; align-items: end; justify-content: center;
  min-height: 4px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--blue-400), var(--blue-700));
  color: #fff; font-size: 10px; font-weight: 700;
  padding-bottom: 4px; overflow: hidden;
  transition: opacity .16s;
}
.bar:hover { opacity: .82; }

/* ── List table ─────────────────────────────────────────────── */
.list-table { display: grid; }
.list-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}
.list-row:last-child { border-bottom: 0; }
.list-row strong { min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.list-row span { color: var(--gray-600); text-align: right; font-size: 13.5px; }

/* ── Warnings / recommendations ─────────────────────────────── */
.warning-list, .recommendation-list { display: grid; gap: 10px; }
.warning {
  padding: 14px 16px; border-radius: var(--r-sm);
  background: var(--orange-50); border: 1px solid #FFD9C2;
  color: #8A4A1E; font-size: 14px;
}
.recommendation {
  padding: 14px 16px; border-radius: var(--r-sm);
  background: var(--white); border: 1px solid var(--gray-200);
  font-size: 14px;
}
.recommendation strong { display: block; margin-bottom: 4px; font-family: var(--font-head); }
.recommendation span { color: var(--gray-600); font-size: 13px; }

/* ── Table toolbar ──────────────────────────────────────────── */
.table-toolbar {
  display: grid; grid-template-columns: minmax(240px, .5fr) 1fr;
  gap: 14px; align-items: center; margin-bottom: 16px;
}
.table-toolbar span { color: var(--gray-600); font-size: 13.5px; }
.admin-table-wrap { overflow-x: auto; border-radius: var(--r-sm); }
.admin-table { width: 100%; min-width: 820px; border-collapse: collapse; }
.admin-table th, .admin-table td {
  padding: 13px 14px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--gray-100); font-size: 14px;
}
.admin-table th {
  font-family: var(--font-head);
  font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--gray-600);
  background: var(--blue-50);
}
.admin-table small { display: block; color: var(--gray-600); font-size: 12px; }

/* ── Status pills ───────────────────────────────────────────── */
.status-pill {
  display: inline-flex; align-items: center;
  min-height: 24px; padding: 2px 10px;
  border-radius: var(--r-pill);
  background: var(--gray-100); color: var(--gray-600);
  font-family: var(--font-head); font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .03em;
}
.status-pill.good { background: var(--success-bg); color: var(--pk-success); }
.status-pill.bad { background: var(--danger-bg); color: var(--danger); }
.status-pill.warn { background: var(--orange-50); color: #B65A22; }

/* ── Dialog ─────────────────────────────────────────────────── */
.token-dialog {
  max-width: 440px; width: calc(100% - 32px);
  border: 1px solid var(--gray-200); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--shadow-lg);
}
.token-dialog::backdrop { background: rgba(10,42,94,.5); backdrop-filter: blur(4px); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }

code {
  padding: 2px 7px; border-radius: 6px;
  background: var(--blue-50); color: var(--blue-700);
  font-size: .9em; font-family: ui-monospace, monospace;
}

/* ════════════════════════════════════════════════════════════
   PAGE HEADER (interior pages)
   ════════════════════════════════════════════════════════════ */
.page-hero {
  background:
    radial-gradient(100% 80% at 80% -20%, rgba(46,115,210,.2), transparent 60%),
    linear-gradient(160deg, var(--blue-900), var(--blue-700));
  color: #fff;
}
.page-hero .container { padding-block: clamp(48px, 6vw, 80px); }
.page-hero h1 { color: #fff; max-width: 720px; }
.page-hero .lead { margin-top: 16px; max-width: 620px; }

/* ════════════════════════════════════════════════════════════
   CV BUILDER
   ════════════════════════════════════════════════════════════ */
.builder { background: var(--paper); min-height: 100vh; }
.builder-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
  min-height: calc(100vh - var(--header-h) - 40px);
}
.builder-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 34px);
  max-height: calc(100vh - var(--header-h) - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
/* Stepper */
.stepper { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.stepper button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 13px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-pill);
  background: var(--white);
  font-family: var(--font-head); font-size: 13px; font-weight: 700;
  color: var(--gray-600);
  cursor: pointer; transition: all .16s;
}
.stepper button .dot {
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gray-100); color: var(--gray-600);
  font-size: 11px;
}
.stepper button.active { border-color: var(--blue-500); background: var(--blue-50); color: var(--blue-700); }
.stepper button.active .dot { background: var(--blue-500); color: #fff; }
.stepper button.done .dot { background: var(--pk-success); color: #fff; }

.builder-fields { display: grid; gap: 18px; }
.builder-fields .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.repeater-item {
  position: relative;
  padding: 18px;
  border: 1px dashed var(--gray-200);
  border-radius: var(--r-md);
  background: var(--paper);
  display: grid; gap: 12px;
}
.repeater-item .remove {
  position: absolute; top: 10px; right: 10px;
  width: 28px; height: 28px; border-radius: 8px;
  border: 1px solid var(--gray-200); background: #fff;
  cursor: pointer; color: var(--danger); font-weight: 700;
}
.repeater-add {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border: 1.5px dashed var(--blue-200);
  border-radius: var(--r-sm);
  background: var(--blue-50); color: var(--blue-700);
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  cursor: pointer; transition: all .16s;
}
.repeater-add:hover { border-color: var(--blue-500); background: var(--blue-100); }
.builder-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.builder-nav .btn { min-height: 48px; }
.builder-nav.last-step { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.builder-nav.last-step .nav-back { grid-column: 1 / -1; }
.builder-nav.last-step .nav-save,
.builder-nav.last-step .nav-download { width: 100%; padding: 0 14px; }
@media (max-width: 600px) {
  .builder-nav.last-step { grid-template-columns: 1fr; }
  .builder-nav.last-step .nav-back { order: 3; }
  .builder-nav.last-step .nav-save { order: 2; }
  .builder-nav.last-step .nav-download { order: 1; }
}

/* Template picker */
.template-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.template-card {
  cursor: pointer;
  border: 2px solid var(--gray-200);
  border-radius: var(--r-md);
  padding: 14px;
  background: var(--white);
  transition: all .16s;
  text-align: left;
}
.template-card:hover { border-color: var(--blue-300, var(--blue-400)); }
.template-card.active { border-color: var(--blue-500); box-shadow: var(--pk-ring); }
.template-swatch {
  height: 64px; border-radius: 8px; margin-bottom: 10px;
  display: flex; align-items: flex-end; padding: 8px; gap: 4px;
}
.template-card .t-name { font-family: var(--font-head); font-weight: 700; font-size: 13.5px; }
.template-card .t-desc { font-size: 12px; color: var(--gray-600); }
/* Ikon line inline di dalam teks/badge → sejajar vertikal */
.tag svg, .price-badge svg, .guarantee svg, .price-anchor span svg, .field-hint svg,
.reward-tabs button svg, .tool-tabs button svg, .stepper .dot svg, small svg { vertical-align: -0.15em; }
.why-icon, .reward-icon { color: var(--blue-600, #11427F); display: inline-flex; }
.why-icon svg, .reward-icon svg { display: block; }

/* Password input + toggle mata */
.pw-wrap { position: relative; display: flex; align-items: center; }
.pw-wrap .input { width: 100%; padding-right: 44px; }
.pw-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border: 0; background: transparent; cursor: pointer;
  color: var(--gray-500, #8a96a6); border-radius: 8px;
}
.pw-toggle:hover { color: var(--blue-600, #11427F); background: var(--gray-100, #f1f4f8); }

/* Baris remember me + lupa password */
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -2px 0 2px; }
.checkbox-field { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--gray-700, #374151); cursor: pointer; }
.checkbox-field input { width: 16px; height: 16px; accent-color: var(--blue-600, #11427F); cursor: pointer; }

/* Link teks biru (mis. "Masuk pakai kode email", "Lupa password?") */
.text-link {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--blue-600, #11427F); font-weight: 600; font-size: 13.5px; font-family: inherit;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }
.text-link:disabled { color: var(--gray-400, #9aa6b6); cursor: not-allowed; text-decoration: none; }
.auth-otp-line { text-align: center; margin: 4px 0 0; }

/* Notifikasi aksi — konsisten untuk referral, misi, dan lamaran. */
.toast-viewport {
  position: fixed; z-index: 1200; top: max(18px, env(safe-area-inset-top)); right: 18px;
  width: min(390px, calc(100vw - 32px)); display: grid; gap: 10px; pointer-events: none;
}
.toast {
  display: grid; grid-template-columns: 34px 1fr 28px; align-items: center; gap: 10px;
  min-height: 64px; padding: 12px; border: 1px solid var(--gray-200); border-radius: 14px;
  background: rgba(255,255,255,.98); box-shadow: 0 16px 38px rgba(15,33,55,.16);
  color: var(--ink); pointer-events: auto; animation: toast-in .2s ease-out both;
}
.toast p { margin: 0; font-size: 13.5px; line-height: 1.4; font-weight: 600; }
.toast-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--blue-700); background: var(--blue-50); }
.toast-success { border-color: #C7E9D7; }
.toast-success .toast-icon { background: #E7F6EF; color: #20734D; }
.toast-error { border-color: #F5CFC9; }
.toast-error .toast-icon { background: #FFF0EE; color: #C14335; }
.toast-close { width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 8px; color: var(--gray-500); background: transparent; cursor: pointer; }
.toast-close:hover { color: var(--ink); background: var(--gray-100); }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px) translateX(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) { .toast-viewport { top: auto; bottom: max(16px, env(safe-area-inset-bottom)); right: 16px; } }

/* Misi berhadiah credit */
.mission-earned { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; color: var(--blue-700, #0E3A72); background: var(--blue-50, #f3f7fc); padding: 6px 12px; border-radius: 999px; }
.mission-list { display: flex; flex-direction: column; }
.mission-row { display: flex; align-items: center; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--gray-100); flex-wrap: wrap; }
.mission-row:last-child { border-bottom: 0; }
.mission-row.done { opacity: .7; }
.mission-ico { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: var(--blue-50, #f3f7fc); color: var(--blue-600, #11427F); }
.mission-info { flex: 1; min-width: 160px; display: flex; flex-direction: column; gap: 2px; }
.mission-info strong { font-size: 14.5px; }
.mission-info span { font-size: 12.5px; color: var(--gray-600); }
.mission-reward { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: 13px; color: #2E9E6B; background: #e7f3ec; padding: 3px 10px; border-radius: 999px; flex-shrink: 0; }
.mission-actions { display: flex; gap: 6px; flex-shrink: 0; }
.mission-done { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: #2E9E6B; flex-shrink: 0; }

/* Marketplace produk digital */
.mkt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.mkt-card { display: flex; flex-direction: column; border: 1px solid var(--gray-200); border-radius: 14px; overflow: hidden; background: var(--white); transition: transform .15s, box-shadow .15s; }
.mkt-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md, 0 10px 30px rgba(10,42,94,.10)); }
.mkt-thumb { position: relative; aspect-ratio: 16/10; background: var(--blue-50, #f3f7fc); display: flex; align-items: center; justify-content: center; color: var(--blue-300, #8DB2E6); }
.mkt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mkt-badge { position: absolute; top: 10px; left: 10px; background: var(--pk-accent); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.mkt-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.mkt-body strong { font-size: 15px; }
.mkt-body p { font-size: 13px; color: var(--gray-600); margin: 0; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mkt-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.mkt-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-weight: 800; color: var(--blue-700, #0E3A72); }
.mkt-price .mkt-old { font-size: 12px; font-weight: 600; color: var(--gray-400); text-decoration: line-through; }
.mkt-price .mkt-save { font-size: 11px; font-weight: 800; color: #2E9E6B; background: #e7f3ec; padding: 1px 7px; border-radius: 999px; }

/* Loker tersimpan */
.saved-list { display: flex; flex-direction: column; }
.saved-row { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--gray-100); }
.saved-row:last-child { border-bottom: 0; }
.saved-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.saved-info a { text-decoration: none; color: inherit; }
.saved-info a:hover strong { color: var(--blue-600, #11427F); }
.saved-info > span { font-size: 13px; color: var(--gray-600); }
.saved-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.saved-chip { font-size: 11px; font-weight: 600; color: var(--gray-600); background: var(--gray-100, #f1f4f8); padding: 2px 9px; border-radius: 999px; text-transform: capitalize; }
.saved-chip.off { background: #fdebe9; color: #c2411f; }
.saved-actions { display: flex; gap: 6px; flex-shrink: 0; }
.skeleton-row, .sk-block { border-radius: 10px; background: linear-gradient(90deg, #eef2f7 25%, #f6f9fc 37%, #eef2f7 63%); background-size: 400% 100%; animation: sk 1.4s ease infinite; }
.skeleton-row { height: 64px; margin: 8px 0; }
@keyframes sk { 0% { background-position: 100% 0 } 100% { background-position: -100% 0 } }
@media (prefers-reduced-motion: reduce) { .skeleton-row, .sk-block { animation: none; } }

/* Top-up credit pack (psikologi harga) */
.credit-pack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; align-items: stretch; }
.credit-pack {
  position: relative; border: 1px solid var(--gray-200); border-radius: var(--r-md); padding: 18px 16px; background: var(--white);
  display: flex; flex-direction: column; gap: 3px;
}
.credit-pack.popular { border-color: var(--blue-500, #2E73D2); box-shadow: 0 0 0 3px rgba(46,115,210,.12); }
.credit-pack .cp-badge {
  position: absolute; top: -10px; left: 16px; background: var(--blue-600, #11427F); color: #fff;
  font-size: 10.5px; font-weight: 800; letter-spacing: .03em; padding: 3px 9px; border-radius: 999px;
}
.credit-pack.popular .cp-badge { background: var(--pk-accent); }
.credit-pack .cp-credits { font-family: var(--font-head); font-weight: 800; font-size: 26px; color: var(--blue-700, #0E3A72); line-height: 1; margin-top: 4px; }
.credit-pack .cp-credits span { font-size: 13px; font-weight: 600; color: var(--gray-500); }
.credit-pack .cp-bonus { font-size: 11.5px; font-weight: 700; color: #2E9E6B; }
.credit-pack strong { font-size: 14.5px; margin-top: 6px; }
.credit-pack p { font-size: 12.5px; color: var(--gray-600); margin: 0; flex: 1; }
.cp-price-row { display: flex; align-items: baseline; gap: 8px; margin: 8px 0 2px; flex-wrap: wrap; }
.cp-price-row .cp-old { font-size: 13px; color: var(--gray-400, #9aa6b6); text-decoration: line-through; }
.cp-price-row .cp-price { font-weight: 800; font-size: 19px; color: var(--gray-900, #15212B); }
.cp-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.cp-meta .cp-save { font-size: 11px; font-weight: 800; color: #2E9E6B; background: #e7f3ec; padding: 2px 8px; border-radius: 999px; }
.cp-meta .cp-per { font-size: 11.5px; color: var(--gray-500); }

/* Sidebar: status premium aktif (pengganti box upgrade) */
.dash-premium {
  border: 1px solid #cdeedd; border-radius: var(--r-md);
  background: linear-gradient(180deg, #eafaf2, var(--white)); padding: 14px 16px;
}
.dash-premium strong { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: #1f8f5c; }
.dash-premium p { font-size: 12px; color: var(--gray-600); margin: 6px 0 8px; line-height: 1.5; }
.dash-premium-link { font-size: 12.5px; font-weight: 700; color: var(--blue-600, #11427F); text-decoration: none; }
.dash-premium-link:hover { text-decoration: underline; }

/* Pengaturan: kotak keanggotaan */
.member-box { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 4px 0; }
.member-box .member-badge { background: linear-gradient(135deg, #11427F, #0A2A5E); color: #fff; font-weight: 800; font-size: 12px; letter-spacing: .04em; padding: 6px 12px; border-radius: 999px; }
.member-box .member-info { flex: 1; min-width: 180px; }
.member-box .member-info strong { font-size: 15px; }
.member-box .member-info p { font-size: 13px; color: var(--gray-600); margin: 3px 0 0; }
.member-box .member-left { color: #1f8f5c !important; font-weight: 700; }
.member-box.active { background: #f5fbf8; border: 1px solid #d7efe2; border-radius: var(--r-md); padding: 14px; }

.ai-error { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #fdeee2; border: 1px solid #f6c9a8; border-radius: 10px; padding: 10px 14px; margin-top: 10px; }
.ai-error .form-status { color: #b5521e !important; }

/* Back link di page-hero (mis. /tools → dashboard) */
.hero-back {
  display: flex; width: fit-content; align-items: center; gap: 6px; margin-bottom: 14px;
  color: var(--gray-600, #5A6B79); font-weight: 600; font-size: 13.5px; text-decoration: none;
}
.hero-back:hover { color: var(--blue-600, #11427F); }
/* Di hero gelap, back-link & eyebrow lebih kontras */
.page-hero .hero-back { color: rgba(255,255,255,.82); }
.page-hero .hero-back:hover { color: #fff; }

/* ── Workspace HR ── */
.hr-gate {
  max-width: 560px; margin: 24px auto; text-align: center;
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-lg, 18px); padding: 40px 28px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hr-gate-ico { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 18px; background: var(--blue-50, #f3f7fc); color: var(--blue-600, #11427F); margin-bottom: 8px; }
.hr-gate h2 { margin: 0; font-size: 21px; }
.hr-gate p { color: var(--gray-600); margin: 4px 0 10px; max-width: 420px; }
.hr-gate-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.hr-dash-head { margin-bottom: 6px; }
.hr-dash-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hr-quota-full { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--orange-50, #fff5ee); border: 1px solid var(--orange-200, #ffd9bf); color: var(--orange-700, #b5521e); border-radius: var(--r-md); padding: 16px; }
.hr-quota-full p { margin: 2px 0 0; font-size: 13px; color: var(--gray-600); }
.hr-quota-full .btn { margin-left: auto; }

/* Box "cara lain dapat credit" / info pilihan */
.credit-alt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.credit-alt {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 18px; border: 1px solid var(--gray-200); border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--blue-50, #f3f7fc), var(--white));
}
.credit-alt .ca-ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--white); color: var(--blue-600, #11427F); border: 1px solid var(--gray-200); margin-bottom: 4px; }
.credit-alt strong { font-size: 15px; }
.credit-alt p { font-size: 13px; color: var(--gray-600); margin: 0; flex: 1; }
.credit-alt .btn { margin-top: 8px; }

/* ── Checkout ── */
.checkout-page .container.narrow { max-width: 560px; }
.checkout-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-lg, 18px);
  padding: 26px; box-shadow: var(--shadow-sm, 0 4px 16px rgba(10,42,94,.06)); max-width: 460px; margin: 0 auto;
}
.checkout-back {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px;
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--gray-600, #5A6B79); font-weight: 600; font-size: 13.5px; font-family: inherit;
}
.checkout-back:hover { color: var(--blue-600, #11427F); }
.checkout-voucher { display: flex; gap: 10px; align-items: flex-end; margin-top: 18px; }
.checkout-summary { margin: 18px 0; border-top: 1px solid var(--gray-100); padding-top: 14px; }
.cs-row { display: flex; justify-content: space-between; font-size: 14.5px; padding: 4px 0; color: var(--gray-700, #374151); }
.cs-row.discount { color: #2E9E6B; }
.cs-row.total { font-weight: 800; font-size: 18px; color: var(--blue-700, #0E3A72); border-top: 1px dashed var(--gray-200); margin-top: 6px; padding-top: 10px; }
.checkout-badge { width: 76px; height: 76px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; animation: badge-pop .35s cubic-bezier(.2,.9,.3,1.4) both; }
.checkout-badge.ok { background: #e7f3ec; color: #2E9E6B; box-shadow: 0 0 0 8px rgba(46,158,107,.10); }
.checkout-badge.pending { background: #fdeee2; color: #c2611f; box-shadow: 0 0 0 8px rgba(194,97,31,.10); }
@keyframes badge-pop { 0% { transform: scale(.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .checkout-badge { animation: none; } }

/* ── Voucher (publik) ── */
.voucher-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.voucher-card {
  position: relative; display: flex; align-items: stretch; gap: 14px; overflow: hidden;
  background: var(--white); border: 1px solid var(--gray-200); border-radius: 14px; padding: 16px 18px;
}
.voucher-card .voucher-cut { position: absolute; left: 84px; top: -8px; bottom: -8px; width: 16px;
  background: radial-gradient(circle at center, transparent 7px, transparent 7px); }
.voucher-amount {
  flex-shrink: 0; width: 84px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue-600, #11427F), var(--blue-800, #0E3A72)); color: #fff;
  border-radius: 10px; font-family: var(--font-head); font-weight: 800; font-size: 22px; line-height: 1;
}
.voucher-amount span { font-size: 11px; font-weight: 700; letter-spacing: .1em; opacity: .85; margin-top: 4px; }
.voucher-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.voucher-code {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 2px;
  border: 1px dashed var(--blue-300, #8DB2E6); background: var(--blue-50, #f3f7fc); color: var(--blue-700, #0E3A72);
  border-radius: 8px; padding: 5px 10px; font-weight: 700; font-size: 13px; cursor: pointer; letter-spacing: .03em;
}
.voucher-code:hover { background: #e9f1fb; }

/* Scope chips (form voucher admin) */
.scope-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.scope-chip { border: 1px solid var(--gray-200); background: var(--white); border-radius: 999px; padding: 5px 12px; font-size: 13px; cursor: pointer; transition: all .18s ease; }
.scope-chip:hover { border-color: var(--blue-500); }
.scope-chip.on { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }

/* Toggle Switch */
.toggle-switch {
  position: relative; width: 44px; height: 24px;
  background: var(--gray-300); border: none; border-radius: 999px;
  cursor: pointer; transition: background .2s ease; padding: 0;
}
.toggle-switch.on { background: var(--pk-success); }
.toggle-thumb {
  position: absolute; top: 2px; left: 2px;
  width: 20px; height: 20px; background: #fff;
  border-radius: 50%; transition: transform .2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.toggle-switch.on .toggle-thumb { transform: translateX(20px); }
.toggle-switch:focus { outline: none; box-shadow: var(--pk-ring); }

/* Katalog reward (admin) */
.reward-admin-grid { display: grid; gap: 10px; }
.reward-admin-card { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--gray-200); border-radius: var(--r-md); background: var(--white); }
.reward-admin-card.off { opacity: .6; }
.ra-thumb, .reward-form-preview {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 10px; overflow: hidden;
  background: var(--gray-100, #f1f4f8); color: var(--gray-500, #8a96a6);
  display: flex; align-items: center; justify-content: center;
}
.ra-thumb img, .reward-form-preview img { width: 100%; height: 100%; object-fit: cover; }
.reward-form-preview { width: 72px; height: 72px; margin-bottom: 4px; }

.photo-field { display: flex; align-items: center; gap: 14px; }
.photo-thumb {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
  background: var(--gray-100, #f1f4f8); color: var(--gray-500, #8a96a6);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  border: 1px solid var(--gray-200);
}
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.template-card { position: relative; }
.template-card.locked .template-swatch { opacity: .92; }
.template-card .t-tier {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  font-size: 10px; font-weight: 700; letter-spacing: .02em;
  padding: 2px 7px; border-radius: 999px; line-height: 1.6;
}
.template-card .t-tier.free { background: #e7f3ec; color: #2E9E6B; }
.template-card .t-tier.premium { background: #fdeee2; color: #c2611f; }
.tpl-locked-cta {
  border: 1px dashed var(--blue-300, #8DB2E6); background: var(--blue-50, #f3f7fc);
  border-radius: var(--r-md); padding: 14px; text-align: center;
}
.tpl-locked-cta p { margin: 0 0 10px; font-size: 13px; color: var(--gray-700, #374151); }
.org-pic-benefit-banner {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; margin: 8px 0 4px;
  border-radius: var(--r-md); font-size: 13px;
  background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0;
}
.org-pic-benefit-banner strong { color: #047857; }

/* Preview panel */
.builder-preview {
  position: sticky; top: calc(var(--header-h) + 20px);
  max-height: calc(100vh - var(--header-h) - 40px);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.builder-mobile-preview-note { display: none; }
.preview-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 14px;
}
.preview-frame {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  overflow: auto;
  min-height: 320px;
  flex: 1;
  overscroll-behavior: contain;
}
.cv-iframe-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(#f3f6fa 0 0) 0 0 / 100% 1123px repeat-y;
}
.cv-iframe-wrap iframe {
  border: 0;
  display: block;
  background: #fff;
}
.cv-doc {
  height: 100%; overflow-y: auto;
  padding: 38px 42px;
  font-family: 'Times New Roman', Georgia, serif;
  font-size: 12.5px; line-height: 1.5; color: #2d3748;
}
.cv-doc h1.cv-h { font-family: inherit; font-size: 26px; letter-spacing: 0; margin-bottom: 4px; color: var(--cv-primary, #1a365d); }
.cv-doc .cv-contact { font-size: 11.5px; color: #4a5568; display: flex; flex-wrap: wrap; gap: 12px; }
.cv-doc .cv-social { font-size: 11.5px; margin-top: 4px; display: flex; gap: 12px; }
.cv-doc .cv-social a { color: var(--cv-accent, #2d3748); font-weight: 600; }
.cv-doc h2.cv-sec {
  font-family: inherit; font-size: 14px; letter-spacing: .02em; text-transform: uppercase;
  color: var(--cv-primary, #1a365d);
  border-bottom: 2px solid var(--cv-primary, #1a365d);
  padding-bottom: 3px; margin: 18px 0 8px;
}
.cv-doc .cv-entry { margin-bottom: 10px; }
.cv-doc .cv-entry .eh { display: flex; justify-content: space-between; gap: 8px; }
.cv-doc .cv-entry .eh strong { font-size: 13px; }
.cv-doc .cv-entry .eh .yr { color: #4a5568; white-space: nowrap; }
.cv-doc .cv-entry .es { color: #4a5568; font-style: italic; }
.cv-doc .cv-entry p { margin-top: 3px; font-size: 12px; color: #2d3748; }
.cv-doc .cv-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cv-doc .cv-tags li { background: #f1f4f8; border-radius: 4px; padding: 3px 9px; font-size: 11.5px; }
.cv-doc .cv-empty { color: #a0aec0; font-style: italic; }

/* ════════════════════════════════════════════════════════════
   TOOLS (AI)
   ════════════════════════════════════════════════════════════ */
.tools-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tool-card {
  display: flex; flex-direction: column;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  transition: transform .18s, box-shadow .2s, border-color .2s;
}
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-200); }
.tool-card .t-icon {
  width: 48px; height: 48px; border-radius: var(--r-sm);
  display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue-600); margin-bottom: 16px;
}
.tool-card .t-cost { margin-top: 6px; }
.tool-card h3 { margin-bottom: 8px; }
.tool-card p { font-size: 14.5px; }
.tool-card .btn { margin-top: 18px; align-self: flex-start; }

.tool-workspace { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.tool-input-card, .tool-result-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 32px);
}
.tool-result-card { position: relative; }
.tool-result-wrap { position: sticky; top: 16px; }
.tool-result-card.empty {
  display: grid; place-items: center; text-align: center;
  min-height: 360px; color: var(--gray-600);
}

/* Selector tool (4 kartu segmented) */
.ai-tools-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 22px; }
.ai-tool-btn {
  display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center;
  padding: 12px 8px; border: 1.5px solid var(--gray-200); border-radius: var(--r-md);
  background: var(--white); cursor: pointer; transition: all .15s; color: var(--gray-700, #374151);
}
.ai-tool-btn:hover { border-color: var(--blue-300, #8DB2E6); background: var(--blue-50, #f3f7fc); }
.ai-tool-btn.active { border-color: var(--blue-500); background: var(--blue-50, #f3f7fc); box-shadow: 0 0 0 3px rgba(46,115,210,.10); }
.ai-tool-btn .att-ico { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 11px; background: var(--gray-100, #f1f4f8); color: var(--gray-500, #8a96a6); transition: all .15s; }
.ai-tool-btn.active .att-ico { background: var(--blue-600, #11427F); color: #fff; }
.ai-tool-btn .att-name { font-family: var(--font-head); font-weight: 700; font-size: 13px; }
.ai-tool-btn .att-cost { font-size: 10.5px; font-weight: 600; color: var(--gray-500); }
.ai-tool-btn.active .att-cost { color: var(--blue-600, #11427F); }

/* Header input + saldo credit */
.ai-input-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.ai-balance { display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0; text-decoration: none;
  font-weight: 700; font-size: 13px; color: var(--blue-700, #0E3A72); background: var(--blue-50, #f3f7fc);
  border: 1px solid var(--blue-200, #c7dcf3); padding: 6px 12px; border-radius: 999px; }
.ai-balance:hover { background: #e9f1fb; }

/* Empty state hasil */
.ai-empty { display: flex; flex-direction: column; align-items: center; max-width: 280px; }
.ai-empty-ico { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 18px; background: var(--blue-50, #f3f7fc); color: var(--blue-600, #11427F); margin-bottom: 14px; }
.ai-empty h3 { font-size: 17px; margin: 0; }
.ai-empty p { margin: 6px 0 14px; font-size: 13.5px; }
.ai-empty-list { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 8px; text-align: left; width: 100%; }
.ai-empty-list li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--gray-700, #374151); }
.ai-empty-list li svg { color: #2E9E6B; flex-shrink: 0; }
.ai-empty-cost { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--gray-500); background: var(--gray-100, #f1f4f8); padding: 4px 11px; border-radius: 999px; }
/* Progress screening AI */
.ai-progress { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 300px; }
.ai-empty-ico.pulse { animation: ico-pulse 1.3s ease-in-out infinite; }
@keyframes ico-pulse { 0%,100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.08); opacity: 1; } }
.ai-progress h3 { font-size: 17px; margin: 0; }
.ai-progress p { margin: 6px 0 14px; font-size: 13.5px; color: var(--gray-600); min-height: 19px; }
.ai-progress-bar { width: 100%; height: 8px; border-radius: 999px; background: var(--gray-100, #eef2f7); overflow: hidden; }
.ai-progress-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue-500), var(--pk-accent)); transition: width .45s ease; }
.ai-progress-pct { margin-top: 8px; font-family: var(--font-head); font-weight: 800; font-size: 14px; color: var(--blue-700, #0E3A72); }
@media (prefers-reduced-motion: reduce) { .ai-empty-ico.pulse { animation: none; } }

.ai-spent { position: absolute; top: 16px; right: 18px; display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; color: #c2611f; background: #fdeee2; padding: 3px 9px; border-radius: 999px; }

.dropzone {
  border: 2px dashed var(--blue-200);
  border-radius: var(--r-md);
  background: var(--blue-50);
  padding: 22px; text-align: center;
  cursor: pointer; transition: all .16s;
}
.dropzone:hover { border-color: var(--blue-500); background: var(--blue-100); }
.dropzone strong { font-family: var(--font-head); color: var(--blue-700); }
.dropzone span { display: block; margin-top: 4px; font-size: 13px; color: var(--gray-600); }

.score-ring {
  width: 120px; height: 120px; border-radius: 50%;
  display: grid; place-items: center;
  background: conic-gradient(var(--score-color, var(--blue-500)) calc(var(--score, 0) * 1%), var(--gray-100) 0);
  margin-bottom: 16px;
}
.score-ring b {
  width: 92px; height: 92px; border-radius: 50%; background: #fff;
  display: grid; place-items: center;
  font-family: var(--font-head); font-size: 30px; font-weight: 800;
  color: var(--score-color, var(--blue-700));
}
.result-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.cover-letter-doc {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-md);
  padding: 22px 24px; font-family: 'Georgia', 'Times New Roman', serif; font-size: 14.5px; line-height: 1.7; color: #1a2230;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.01);
}
.cover-letter-doc p { margin: 0 0 12px; text-align: justify; }
.cover-letter-doc .cl-date { text-align: right; margin-bottom: 18px; }
.cover-letter-doc .cl-to { text-align: left; margin-bottom: 16px; }
.cover-letter-doc ul { margin: 0 0 12px; padding-left: 20px; list-style: disc; }
.cover-letter-doc li { margin: 3px 0; text-align: justify; }
.cover-letter-doc .cl-sign { margin-top: 18px; text-align: left; }

.result-section { margin-top: 20px; }
.result-section h4 { margin-bottom: 10px; color: var(--ink); }
.result-list { display: grid; gap: 8px; }
.result-list li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 14px; border-radius: var(--r-sm);
  background: var(--paper); font-size: 14.5px;
}
.result-list.good li::before { content: '✓'; color: var(--pk-success); font-weight: 800; }
.result-list.bad li::before { content: '!'; color: var(--pk-accent); font-weight: 800; }

/* ── Referral reward catalog ────────────────────────────────── */
.reward-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.reward-tabs button {
  padding: 8px 14px;
  border: 1.5px solid var(--gray-200); border-radius: var(--r-pill);
  background: var(--white); cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--gray-600);
  transition: all .16s;
}
.reward-tabs button.active { border-color: var(--blue-500); background: var(--blue-50); color: var(--blue-700); }
.reward-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.reward-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  padding: 18px; border: 1px solid var(--gray-200); border-radius: var(--r-md);
  background: var(--paper);
}
.reward-card.locked { opacity: .6; }
.reward-visual {
  width: 60px; height: 60px; flex: 0 0 60px; border-radius: 16px; margin: 0 auto 4px;
  display: grid; place-items: center; overflow: hidden; border: 1px solid transparent;
}
.reward-visual svg { display: block; }
.reward-visual.credit { color: #fff; background: linear-gradient(135deg, #11427F, #2E73D2); box-shadow: 0 8px 18px rgba(17,66,127,.18); }
.reward-visual.emoney { color: #126E4D; background: #E7F6EF; border-color: #C4EAD7; }
.reward-visual.merchandise { color: #9A4E12; background: #FFF2E8; border-color: #FFD8BE; }
.reward-visual.image { background: var(--gray-100, #f1f4f8); border-color: var(--gray-200); }
.reward-visual.image.fallback::before { content: 'Hadiah'; color: var(--gray-500); font-size: 11px; font-weight: 700; }
.reward-visual.image.fallback .reward-img { display: none; }
.reward-credit-note {
  display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 11px 12px;
  border: 1px solid var(--blue-100); border-radius: 12px; background: var(--blue-50); color: var(--gray-700); font-size: 12.5px; line-height: 1.45;
}
.reward-credit-note .reward-visual { width: 36px; height: 36px; flex-basis: 36px; border-radius: 10px; margin: 0; }
.redeem-credit-row { display: flex; align-items: stretch; gap: 8px; }
.redeem-credit-row .input { min-width: 0; }
.redeem-credit-row .btn { flex: 0 0 auto; }
.reward-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.reward-tabs button svg { flex: 0 0 auto; }
.reward-card .reward-img {
  width: 100%; height: 100%; margin: 0; border: 0; border-radius: inherit; object-fit: cover; background: transparent;
}
.reward-card strong { font-size: 14.5px; }
.reward-cost {
  font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--blue-600);
  margin-bottom: 8px;
}
.reward-card .btn { margin-top: auto; }
.reward-card .btn, .reward-card .redeem-form { align-self: stretch; width: 100%; }
.redeem-form { display: grid; gap: 8px; margin-top: 10px; }
.redeem-form .input { min-height: 42px; font-size: 14px; }
@media (max-width: 760px) { .reward-grid { grid-template-columns: 1fr; } .redeem-credit-row { flex-direction: column; } .redeem-credit-row .btn { width: 100%; } }

/* ════════════════════════════════════════════════════════════
   LOKER — clean & minimalis (line icons, tanpa emoji)
   ════════════════════════════════════════════════════════════ */
.loker-toolbar { display: grid; gap: 14px; margin-bottom: 24px; }
.loker-filterbar { display: grid; grid-template-columns: 1fr auto auto auto; gap: 10px; }
.loker-select {
  display: flex; align-items: center; gap: 8px;
  padding: 0 12px; min-height: 48px;
  background: var(--white); border: 1px solid var(--gray-200); border-radius: 12px;
  color: var(--gray-400);
}
.loker-select select {
  border: 0; outline: none; background: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--ink);
  padding: 12px 4px 12px 0;
}
.loker-search {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 16px;
  background: var(--white); border: 1px solid var(--gray-200); border-radius: 12px;
  color: var(--gray-400);
  transition: border-color .16s, box-shadow .16s;
}
@media (max-width: 820px) {
  .loker-filterbar { grid-template-columns: 1fr 1fr; }
  .loker-filterbar .loker-search { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .loker-filterbar { grid-template-columns: 1fr; } }
.loker-search:focus-within { border-color: var(--blue-400); box-shadow: var(--pk-ring); }
.loker-search input { border: 0; outline: none; background: none; flex: 1; font-size: 15px; color: var(--ink); }
.loker-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; }
.loker-popular > span { color: var(--gray-500); font-weight: 600; }
.loker-popular button {
  padding: 5px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--gray-200); background: var(--white);
  font-size: 12.5px; font-weight: 600; color: var(--gray-700);
  cursor: pointer; transition: all .14s;
}
.loker-popular button:hover { border-color: var(--blue-300); color: var(--blue-700); background: var(--blue-50); }
.loker-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.loker-cats button {
  padding: 7px 15px; border-radius: var(--r-pill);
  border: 1px solid var(--gray-200); background: var(--white);
  font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--gray-600);
  cursor: pointer; transition: all .14s;
}
.loker-cats button.active { border-color: var(--blue-600); background: var(--blue-600); color: #fff; }
.loker-count { color: var(--gray-500); font-size: 14px; margin-bottom: 14px; }
.loker-count-skeleton { width: 170px; height: 16px; margin-bottom: 14px; }

.loker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 16px; }
.job-card {
  position: relative;
  display: flex; flex-direction: column; gap: 12px;
  padding: 20px; background: var(--white);
  border: 1px solid var(--gray-200); border-radius: 14px;
  transition: border-color .18s, box-shadow .2s;
}
.job-card:hover { border-color: var(--blue-300); box-shadow: 0 6px 20px rgba(10,42,94,.07); }
.job-card-skeleton { min-height: 210px; pointer-events: none; }
.job-logo-skeleton { width: 44px; height: 44px; border-radius: 12px; flex: 0 0 auto; }
.job-skeleton-lines { display: grid; gap: 10px; margin-top: 18px; }
.job-skeleton-lines.spacious { margin-top: 26px; }
.job-skeleton-lines .sk-block { height: 14px; width: 100%; }
.job-skeleton-lines .sk-block.short { width: 58%; }
.job-skeleton-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.job-skeleton-tags .sk-block { width: 74px; height: 24px; border-radius: 999px; }
.job-skeleton-paragraph { display: grid; gap: 12px; margin-top: 28px; }
.job-skeleton-paragraph .sk-block { height: 16px; }
.job-skeleton-paragraph .sk-block.short { width: 68%; }
.job-bookmark { position: absolute; top: 16px; right: 16px; color: var(--gray-300); }
.job-card:hover .job-bookmark { color: var(--gray-500); }
.job-card-top { display: flex; align-items: center; gap: 13px; padding-right: 24px; }
.job-logo {
  flex-shrink: 0; display: grid; place-items: center; overflow: hidden;
  border: 1px solid var(--gray-200); border-radius: 11px;
  background: var(--paper); color: var(--gray-500);
}
.job-company { display: block; color: var(--gray-500); font-size: 13px; font-weight: 600; margin-bottom: 1px; }
.job-card-top h1 { font-size: clamp(20px, 2.4vw, 26px); margin: 2px 0 0; }
.job-card-top h3 { font-size: 16.5px; margin: 0; overflow-wrap: anywhere; line-height: 1.3; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--gray-600); }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-meta svg { color: var(--gray-400); flex-shrink: 0; }
.job-salary { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 14.5px; margin: 0; }
.job-salary svg { color: var(--gray-400); }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.job-tag {
  font-size: 12px; font-weight: 600; color: var(--gray-600);
  background: var(--gray-100); border-radius: 6px; padding: 3px 9px;
}
.job-cta {
  margin-top: auto; display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-head); font-weight: 700; font-size: 13.5px; color: var(--blue-600);
}

/* ── Detail loker ── */
.loker-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.loker-aside { position: sticky; top: 90px; display: grid; gap: 16px; }
.loker-back {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px;
  color: var(--gray-600); font-family: var(--font-head); font-weight: 600; font-size: 14px;
}
.loker-back:hover { color: var(--blue-700); }
.loker-back .flip { transform: rotate(180deg); }
.detail-head { gap: 16px; }
.detail-head .job-card-top { align-items: flex-start; padding-right: 0; }
.detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px solid var(--gray-100); }
.detail-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; margin: 16px 0; background: var(--gray-200);
  border: 1px solid var(--gray-200); border-radius: 14px; overflow: hidden;
}
.detail-stats > div { background: var(--white); padding: 16px 18px; }
.ds-label { display: block; font-size: 12px; color: var(--gray-500); margin-bottom: 4px; }
.ds-value { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--ink); }
.detail-section { margin-bottom: 16px; }
.detail-section h3 { font-size: 17px; margin-bottom: 10px; }
.detail-desc { display: grid; gap: 12px; }
.detail-text { color: var(--gray-700); font-size: 14.5px; line-height: 1.7; margin: 0; }
.detail-text strong { color: var(--ink); }
.detail-bullets { display: grid; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.detail-bullets li {
  position: relative; padding-left: 20px;
  color: var(--gray-700); font-size: 14.5px; line-height: 1.6;
}
.detail-bullets li::before {
  content: ''; position: absolute; left: 4px; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue-500);
}
.detail-list { display: grid; gap: 9px; }
.detail-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--gray-700); }
.detail-list li svg { color: var(--pk-success); flex-shrink: 0; margin-top: 2px; }

/* Match rail */
.match-rail { background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 14px; padding: 18px; }
.match-rail.great { background: var(--success-bg); border-color: #BFE6D2; }
.match-rail.low { background: var(--orange-50); border-color: #FFD9C2; }
.mr-head { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--blue-700); }
.match-rail.great .mr-head { color: var(--pk-success); }
.match-rail.low .mr-head { color: #B65A22; }
.mr-score { font-family: var(--font-head); font-weight: 800; font-size: 34px; letter-spacing: -.02em; color: var(--ink); margin: 6px 0 2px; line-height: 1; }
.mr-score span { display: block; font-size: 14px; font-weight: 700; color: var(--gray-600); margin-top: 4px; }
.mr-gap { font-size: 13px; color: var(--gray-600); margin: 10px 0 14px; }

.apply-card h3 { font-size: 17px; margin-bottom: 12px; }
.apply-note { font-size: 14px; color: var(--gray-600); margin-bottom: 14px; }

@media (max-width: 900px) {
  .loker-detail { grid-template-columns: 1fr; }
  .loker-aside { position: static; }
  .detail-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) { .detail-stats { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════
   GALERI TEMPLATE CV
   ════════════════════════════════════════════════════════════ */
.tpl-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tpl-filters button {
  padding: 8px 16px; border-radius: var(--r-pill);
  border: 1px solid var(--gray-200); background: var(--white);
  font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--gray-600);
  cursor: pointer; transition: all .14s;
}
.tpl-filters button.active { border-color: var(--blue-600); background: var(--blue-600); color: #fff; }

.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.tpl-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-md);
  overflow: hidden; transition: box-shadow .2s, transform .18s, border-color .2s;
}
.tpl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-200); }
.tpl-preview { position: relative; height: 320px; overflow: hidden; background: var(--gray-100); border-bottom: 1px solid var(--gray-200); }
.tpl-frame { position: absolute; inset: 0; }
.tpl-frame iframe { display: block; background: #fff; }
.tpl-tier {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-family: var(--font-head); font-weight: 800; font-size: 10.5px; letter-spacing: .04em;
  padding: 3px 9px; border-radius: 999px; text-transform: uppercase;
}
.tpl-tier.free { background: var(--success-bg); color: var(--pk-success); }
.tpl-tier.premium { background: #FFF1E8; color: #B65A22; }
.tpl-lock {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: #fff; background: rgba(10,42,94,.46); backdrop-filter: blur(2px);
  font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
}
.tpl-body { padding: 16px 18px; }
.tpl-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tpl-head strong { font-family: var(--font-head); font-size: 15.5px; }
.tpl-group { font-size: 11px; font-weight: 700; color: var(--gray-500); background: var(--gray-100); padding: 2px 8px; border-radius: 999px; }
.tpl-body p { font-size: 13px; color: var(--gray-600); margin: 6px 0 14px; min-height: 34px; }

/* ── Skeleton / loading ─────────────────────────────────────── */
.loading-dots { display: inline-flex; gap: 4px; }
.loading-dots i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: bounce 1.2s infinite; }
.loading-dots i:nth-child(2) { animation-delay: .15s; }
.loading-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%,80%,100% { opacity:.3; transform: translateY(0); } 40% { opacity:1; transform: translateY(-4px); } }

/* ── Reveal animation ───────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); animation: reveal .6s ease forwards; }
  .reveal.d1 { animation-delay: .08s; }
  .reveal.d2 { animation-delay: .16s; }
  .reveal.d3 { animation-delay: .24s; }
  @keyframes reveal { to { opacity: 1; transform: none; } }
}

/* ════════════════════════════════════════════════════════════
   DASHBOARD v2 — tema terang (ala Prodex) + palette brand
   ════════════════════════════════════════════════════════════ */
.dash-body {
  display: grid;
  grid-template-columns: 264px 1fr;
  min-height: 100vh;
  background: #F3F5FA;
}
.dash-backdrop { display: none; }

/* ── Sidebar ── */
.dash-sidebar {
  position: sticky; top: 0;
  height: 100vh;
  display: flex; flex-direction: column;
  padding: 16px 14px;
  background: #fff;
  border-right: 1px solid var(--gray-200);
  overflow-y: auto;
}
.dash-brand { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 14px; }
.dash-workspace {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; margin-bottom: 6px;
  border: 1px solid var(--gray-200); border-radius: 12px;
  cursor: pointer; transition: border-color .16s, background .16s;
}
.dash-workspace:hover { border-color: var(--blue-200); background: var(--blue-50); }
.dash-workspace .ws-avatar {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-900));
  font-family: var(--font-head);
}
.dash-workspace .ws-name { font-family: var(--font-head); font-weight: 700; font-size: 14px; flex: 1; }
.dash-workspace svg { color: var(--gray-400); }

.dash-nav { display: flex; flex-direction: column; gap: 1px; }
.dash-nav-label {
  font-family: var(--font-head);
  font-size: 11px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--gray-400);
  padding: 16px 10px 6px;
}
.dash-link {
  position: relative;
  display: flex; align-items: center; gap: 11px;
  padding: 9px 11px;
  border-radius: 10px;
  color: var(--gray-700);
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  cursor: pointer; border: 0; background: none; width: 100%; text-align: left;
  transition: background .16s ease, color .16s ease, transform .12s ease;
}
.dash-link .di { width: 18px; height: 18px; flex-shrink: 0; color: currentColor; opacity: .85; }
.dash-link:hover { background: var(--gray-100); transform: translateX(2px); }
.dash-link.active { background: var(--blue-50); color: var(--blue-700); }
.dash-link.active .di { opacity: 1; }
.dash-link.active::before {
  content: ''; position: absolute; left: -14px; top: 50%;
  width: 3px; height: 20px; border-radius: 0 3px 3px 0;
  background: var(--blue-600); transform: translateY(-50%);
  animation: dashIndicator .25s ease;
}
@keyframes dashIndicator { from { height: 0; opacity: 0; } to { height: 20px; opacity: 1; } }
.dash-link .di-chevron { margin-left: auto; transition: transform .2s ease; opacity: .6; }
.dash-link.open .di-chevron { transform: rotate(180deg); }
.dash-badge {
  margin-left: auto;
  background: var(--orange-500); color: #fff;
  font-size: 11px; font-weight: 800; font-family: var(--font-head);
  padding: 1px 7px; border-radius: 999px;
}

/* Submenu (expandable) */
.dash-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .24s ease; }
.dash-sub.open { grid-template-rows: 1fr; }
.dash-sub-inner { overflow: hidden; }
.dash-sublink {
  display: block; padding: 8px 11px 8px 41px;
  border-radius: 9px;
  color: var(--gray-600); font-weight: 600; font-size: 13.5px;
  transition: background .14s, color .14s;
}
.dash-sublink:hover { background: var(--gray-100); color: var(--blue-700); }
.dash-sublink.active { color: var(--blue-700); background: var(--blue-50); }

/* Sidebar footer */
.dash-sidebar-foot { margin-top: auto; padding-top: 12px; }
.dash-darkmode {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 11px; color: var(--gray-600); font-weight: 600; font-size: 14px; font-family: var(--font-head);
}
.dash-darkmode .di { width: 18px; height: 18px; }
.dash-toggle {
  margin-left: auto; width: 38px; height: 22px; border-radius: 999px;
  background: var(--gray-200); border: 0; cursor: pointer; position: relative; transition: background .18s;
}
.dash-toggle::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-xs); transition: transform .18s; }
.dash-toggle.on { background: var(--blue-600); }
.dash-toggle.on::after { transform: translateX(16px); }
.dash-upgrade {
  margin-top: 10px; padding: 16px;
  border-radius: 14px;
  background: linear-gradient(155deg, var(--blue-50), #fff);
  border: 1px solid var(--blue-100);
}
.dash-upgrade strong { display: flex; align-items: center; gap: 6px; font-family: var(--font-head); font-size: 14px; }
.dash-upgrade .up-tag { background: var(--orange-500); color: #fff; font-size: 10px; padding: 1px 7px; border-radius: 999px; font-weight: 800; }
.dash-upgrade p { font-size: 12.5px; color: var(--gray-600); margin: 6px 0 12px; }

/* ── Main column ── */
.dash-col { min-width: 0; display: flex; flex-direction: column; }
.dash-topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 16px;
  padding: 14px clamp(18px, 3vw, 30px);
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
}
.dash-topbar h1 { font-size: clamp(20px, 2.4vw, 26px); margin: 0; }
.dash-search {
  margin-left: auto;
  display: flex; align-items: center; gap: 8px;
  min-width: 220px; max-width: 320px; flex: 1;
  padding: 8px 12px;
  background: var(--gray-100); border: 1px solid transparent; border-radius: 10px;
  color: var(--gray-500); font-size: 14px;
  transition: border-color .16s, background .16s;
}
.dash-search:focus-within { background: #fff; border-color: var(--blue-300, var(--blue-400)); }
.dash-search input { border: 0; background: none; outline: none; flex: 1; font-size: 14px; }
.dash-search kbd { font-size: 11px; background: #fff; border: 1px solid var(--gray-200); border-radius: 5px; padding: 1px 5px; color: var(--gray-500); }
.dash-icon-btn {
  position: relative;
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--gray-200); background: #fff; color: var(--gray-600);
  transition: background .16s, color .16s;
}
.dash-icon-btn:hover { background: var(--blue-50); color: var(--blue-700); }
.dash-icon-btn .dot { position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange-500); border: 1.5px solid #fff; }
.dash-avatar { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--orange-300), var(--orange-500)); display: grid; place-items: center; color: #fff; font-weight: 800; font-family: var(--font-head); cursor: pointer; }

.dash-main { padding: clamp(18px, 3vw, 28px); animation: dashFade .35s ease; }
@keyframes dashFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.dash-page-head { margin-bottom: 20px; }
.dash-page-head h2 { font-size: clamp(22px, 2.6vw, 28px); }
.dash-page-head p { color: var(--gray-600); margin-top: 4px; }

/* ── KPI cards (reference style) ── */
.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.dash-kpi {
  display: flex; align-items: center; gap: 14px;
  padding: 18px; background: #fff;
  border: 1px solid var(--gray-200); border-radius: 16px;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.dash-kpi:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--blue-200); }
.dash-kpi .k-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0; }
.dash-kpi .k-ico.blue { background: var(--blue-50); color: var(--blue-600); }
.dash-kpi .k-ico.orange { background: var(--orange-50); color: var(--orange-500); }
.dash-kpi .k-ico.green { background: var(--success-bg); color: var(--pk-success); }
.dash-kpi .k-ico.violet { background: #EEF; color: #6366F1; }
.dash-kpi .k-label { font-size: 13px; color: var(--gray-600); }
.dash-kpi .k-value { font-family: var(--font-head); font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; overflow-wrap: anywhere; }

/* ── Cards ── */
.dash-grid { display: grid; gap: 16px; }
.dash-grid.c2 { grid-template-columns: 1fr 1fr; }
.dash-grid.s23 { grid-template-columns: 1.4fr 1fr; }
.dash-card { background: #fff; border: 1px solid var(--gray-200); border-radius: 16px; padding: 20px; min-width: 0; }
.dash-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.dash-card-head h3 { font-size: 16px; margin: 0; }
.dash-pill-btn { font-size: 13px; font-weight: 700; font-family: var(--font-head); color: var(--blue-600); cursor: pointer; background: none; border: 0; }
.dash-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px; color: var(--gray-500); }
.dash-empty .e-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 14px;
  background: var(--blue-50, #f3f7fc); color: var(--blue-600, #11427F);
}

@media (max-width: 1080px) {
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
  .dash-grid.c2, .dash-grid.s23 { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .dash-body { grid-template-columns: 1fr; }
  .dash-sidebar {
    position: fixed; left: 0; top: 0; bottom: 0; z-index: 80;
    width: 270px; transform: translateX(-100%); transition: transform .24s ease;
    box-shadow: var(--shadow-lg);
  }
  .dash-body.nav-open .dash-sidebar { transform: translateX(0); }
  .dash-backdrop { display: none; }
  .dash-body.nav-open .dash-backdrop { display: block; position: fixed; inset: 0; background: rgba(10,42,94,.4); z-index: 70; }
  .dash-burger { display: grid !important; }
}
@media (max-width: 560px) {
  .dash-kpis { grid-template-columns: 1fr; }
  .dash-search { display: none; }
}
.dash-burger { display: none; width: 40px; height: 40px; border-radius: 10px; place-items: center; border: 1px solid var(--gray-200); background: #fff; cursor: pointer; }

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10,42,94,.45); backdrop-filter: blur(4px);
  display: grid; place-items: center; padding: 20px;
  animation: dashFade .2s ease;
}
.modal-card {
  width: min(480px, 100%);
  background: #fff; border-radius: 16px; padding: 26px;
  box-shadow: var(--shadow-lg);
  max-height: 90vh; overflow-y: auto;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { min-height: 300px; max-width: 460px; }
  .builder-shell { grid-template-columns: 1fr; }
  .builder-form, .builder-preview { position: static; max-height: none; overflow: visible; }
  .tool-workspace { grid-template-columns: 1fr; }
  .tool-result-wrap { position: static; }
}
@media (max-width: 767px) {
  .builder-preview { display: none; }
  .builder-mobile-preview-note {
    display: block;
    border: 1px solid var(--blue-200, #bfdbfe);
    background: var(--blue-50, #eff6ff);
    border-radius: var(--r-md);
    padding: 16px;
    color: var(--gray-700);
  }
  .builder-mobile-preview-note p { margin: 6px 0 0; font-size: 13px; line-height: 1.5; }
}
@media (max-width: 560px) {
  .ai-tools-nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .dashboard-body { grid-template-columns: 1fr; }
  .sidebar { position: relative; height: auto; padding: 16px var(--gutter); }
  .sidebar .brand { margin-bottom: 16px; }
  .sidebar-nav { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; gap: 6px; }
  .sidebar-foot { display: none; }
  .auth-panel { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .header-actions { margin-left: auto; gap: 8px; }
  .header-actions .btn { padding: 0 12px; font-size: 13px; }
  .nav-toggle {
    display: inline-grid; place-items: center;
    margin-left: 4px;
    width: 44px; height: 44px;
    border: 1.5px solid var(--gray-200); border-radius: var(--r-sm);
    background: #fff; cursor: pointer;
  }
  .site-header.menu-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 0; right: 0; top: var(--header-h);
    margin: 0; padding: 12px var(--gutter) 18px;
    background: #fff; border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  /* Dropdown jadi accordion di mobile */
  .nav-trigger { width: 100%; justify-content: space-between; padding: 12px 14px; }
  .nav-panel {
    position: static; min-width: 0; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-radius: 0;
    padding: 0 0 8px 12px; display: none;
  }
  .nav-group.sub-open .nav-panel { display: grid; }
  .nav-group.sub-open .nav-trigger svg { transform: rotate(180deg); }
  /* matikan hover-open di mobile */
  .nav-group:hover .nav-panel, .nav-group:focus-within .nav-panel { opacity: 1; visibility: visible; }
  .nav-group:not(.sub-open):hover .nav-panel { display: none; }

  .feature-grid, .step-grid, .pricing-grid, .tools-grid,
  .metric-strip, .split, .template-grid,
  .kpi-grid, .dashboard-grid.two, .table-toolbar,
  .builder-fields .row-2, .footer-top, .workflow-list div {
    grid-template-columns: 1fr;
  }
  .metric-strip { gap: 22px; }
  .metric-strip div { text-align: left; display: flex; align-items: baseline; gap: 12px; }
  .metric-strip strong { font-size: 30px; }

  .hero-actions, .dashboard-actions, .table-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .dashboard-header, .section-title-row { flex-direction: column; align-items: stretch; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  :root { --gutter: 18px; }
  .builder-form, .tool-input-card, .tool-result-card { padding: 20px; }
  .cv-doc { padding: 24px 22px; }
}

/* ════════════════════════════════════════════════════════════
   HR DASHBOARD — Layout & Components
   ════════════════════════════════════════════════════════════ */

.hr-shell {
  display: flex;
  min-height: 100vh;
  background: var(--paper);
}

/* ── Sidebar ─────────────────────────────────────────────── */
.hr-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--blue-900);
  color: #fff;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  overflow-y: auto;
  z-index: 200;
  transition: transform .25s ease;
}

.hr-sidebar-logo {
  padding: 20px 20px 14px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.hr-sidebar-user {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.hr-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--blue-500);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700; font-size: 13px;
  flex-shrink: 0; color: #fff;
}

.hr-sidebar-name { font-weight: 600; font-size: 13px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hr-sidebar-role { font-size: 11px; opacity: .55; margin-top: 1px; }

.hr-nav { flex: 1; padding: 8px 10px; }

.hr-nav-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  opacity: .4; padding: 12px 10px 4px;
  display: block;
}

.hr-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 8px;
  color: rgba(255,255,255,.72); font-size: 13.5px; font-weight: 500;
  cursor: pointer; transition: background .15s, color .15s;
  text-decoration: none; width: 100%;
  border: none; background: none; font-family: var(--font-body);
  text-align: left; line-height: 1.4;
}
.hr-nav-item:hover { background: rgba(255,255,255,.08); color: #fff; }
.hr-nav-item.active { background: var(--blue-500); color: #fff; font-weight: 600; }
.hr-nav-item.danger:hover { background: rgba(214,69,69,.18); color: #FCA5A5; }

.hr-nav-badge {
  margin-left: auto; background: var(--pk-accent); color: #fff;
  font-size: 10px; font-weight: 700; padding: 2px 6px;
  border-radius: var(--r-pill);
}

.hr-sidebar-footer {
  padding: 10px;
  border-top: 1px solid rgba(255,255,255,.1);
}

/* ── Main content ────────────────────────────────────────── */
.hr-content {
  margin-left: 240px;
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hr-topbar {
  height: 60px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  display: flex; align-items: center;
  padding: 0 24px; gap: 14px;
  position: sticky; top: 0; z-index: 90;
  box-shadow: var(--shadow-xs);
}

.hr-topbar-spacer { flex: 1; }

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

.hr-icon-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--gray-600);
  transition: background .15s;
}
.hr-icon-btn:hover { background: var(--gray-100); color: var(--ink); }

.hr-menu-toggle {
  display: none; border: none; background: transparent;
  cursor: pointer; color: var(--gray-600); padding: 4px;
}

/* ── Page content ─────────────────────────────────────────── */
.hr-page { flex: 1; padding: 24px 28px; }
.hr-page-header { margin-bottom: 22px; }
.hr-page-title { font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 2px; }
.hr-page-sub { font-size: 13px; color: var(--gray-400); }

/* ── KPI Cards ───────────────────────────────────────────── */
.hr-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.hr-kpi {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--gray-100);
  display: flex; align-items: flex-start; gap: 14px;
}

.hr-kpi-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hr-kpi-icon.blue   { background: var(--blue-50); color: var(--blue-600); }
.hr-kpi-icon.green  { background: var(--success-bg); color: var(--pk-success); }
.hr-kpi-icon.orange { background: var(--orange-50); color: var(--orange-500); }
.hr-kpi-icon.violet { background: #F3F0FF; color: #7C3AED; }
.hr-kpi-icon.red    { background: var(--danger-bg); color: var(--danger); }

.hr-kpi-value { font-size: 24px; font-weight: 800; color: var(--ink); line-height: 1.1; font-family: var(--font-head); }
.hr-kpi-label { font-size: 12px; color: var(--gray-400); font-weight: 500; margin-top: 2px; }
.hr-kpi-trend {
  font-size: 11px; font-weight: 600; margin-top: 6px;
  display: flex; align-items: center; gap: 4px;
}
.hr-kpi-trend.up   { color: var(--pk-success); }
.hr-kpi-trend.down { color: var(--danger); }
.hr-kpi-trend.neu  { color: var(--gray-400); }

/* ── Dashboard Grid ──────────────────────────────────────── */
.hr-grid { display: grid; gap: 16px; }
.hr-grid.c2  { grid-template-columns: 1fr 1fr; }
.hr-grid.c3  { grid-template-columns: 1fr 1fr 1fr; }
.hr-grid.c23 { grid-template-columns: 2fr 1fr; }
.hr-grid.c13 { grid-template-columns: 1fr 2fr; }

/* ── HR Card ─────────────────────────────────────────────── */
.hr-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--gray-100);
}

.hr-card-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.hr-card-title {
  font-size: 14px; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; gap: 8px;
}
.hr-card-link {
  font-size: 12px; color: var(--blue-500); font-weight: 600;
  text-decoration: none;
}
.hr-card-link:hover { color: var(--blue-700); }

/* ── Bar Chart (CSS) ─────────────────────────────────────── */
.hr-chart-wrap { padding-bottom: 22px; }
.hr-bar-chart {
  display: flex; align-items: flex-end; gap: 5px; height: 90px;
  width: 100%; max-width: 100%; min-width: 0;
}
.hr-bar-col { display: flex; flex-direction: column; align-items: center; flex: 1; gap: 4px; min-width: 0; }
.hr-bar {
  width: 100%; border-radius: 4px 4px 0 0;
  transition: opacity .2s;
  min-height: 4px;
}
.hr-bar:hover { opacity: .8; }
.hr-bar.primary { background: var(--blue-500); }
.hr-bar.accent  { background: var(--orange-500); }
.hr-bar.muted   { background: var(--gray-200); }
.hr-bar-lbl { font-size: 10px; color: var(--gray-400); white-space: nowrap; }

/* ── Donut Chart (conic-gradient) ────────────────────────── */
.hr-donut-wrap { display: flex; align-items: center; gap: 20px; }
.hr-donut {
  width: 88px; height: 88px;
  border-radius: 50%;
  position: relative; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.hr-donut-center {
  position: absolute;
  text-align: center;
}
.hr-donut-pct { font-size: 18px; font-weight: 800; color: var(--ink); display: block; line-height: 1; }
.hr-donut-sub { font-size: 10px; color: var(--gray-400); }

.hr-legend { display: grid; gap: 8px; }
.hr-legend-item { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.hr-legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

/* ── HR Table ────────────────────────────────────────────── */
.hr-table-wrap { overflow-x: auto; }
.hr-table {
  width: 100%; border-collapse: collapse; font-size: 13.5px;
}
.hr-table th {
  text-align: left; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--gray-400); padding: 0 12px 10px;
  border-bottom: 1.5px solid var(--gray-100); white-space: nowrap;
}
.hr-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle; color: var(--gray-700);
}
.hr-table tr:last-child td { border-bottom: none; }
.hr-table tbody tr:hover td { background: var(--blue-50); }

.hr-td-name { display: flex; align-items: center; gap: 10px; }
.hr-td-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
}
.hr-td-strong { font-weight: 600; color: var(--ink); }
.hr-td-sub { font-size: 12px; color: var(--gray-400); margin-top: 1px; }

/* ── Status Pill ─────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: var(--r-pill);
  font-size: 11.5px; font-weight: 600; white-space: nowrap;
}
.pill.green  { background: var(--success-bg); color: var(--pk-success); }
.pill.orange { background: var(--orange-50); color: #C85A0D; }
.pill.blue   { background: var(--blue-50); color: var(--blue-700); }
.pill.red    { background: var(--danger-bg); color: var(--danger); }
.pill.gray   { background: var(--gray-100); color: var(--gray-600); }
.pill.violet { background: #F3F0FF; color: #7C3AED; }
.pill.yellow { background: #FFFBEB; color: #92400E; }

/* ── Pipeline (Kanban-like) ──────────────────────────────── */
.hr-pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.hr-pipe-col {
  background: var(--gray-100);
  border-radius: var(--r-md);
  padding: 12px;
  min-height: 200px;
}
.hr-pipe-head {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--gray-600); margin-bottom: 10px;
  display: flex; align-items: center; justify-content: space-between;
}
.hr-pipe-count {
  background: var(--white); color: var(--gray-600);
  border-radius: 99px; font-size: 11px; font-weight: 700;
  padding: 0 7px; min-width: 20px; text-align: center;
}
.hr-pipe-card {
  background: var(--white); border-radius: 8px;
  padding: 10px 12px; margin-bottom: 8px;
  box-shadow: var(--shadow-xs); border: 1px solid var(--gray-100);
  font-size: 13px;
}
.hr-pipe-card-name { font-weight: 600; color: var(--ink); }
.hr-pipe-card-pos { font-size: 12px; color: var(--gray-400); margin-top: 2px; }

/* ── Calendar / Schedule ─────────────────────────────────── */
.hr-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 16px;
}
.hr-cal-day {
  aspect-ratio: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-size: 13px; border-radius: 8px;
  cursor: pointer; transition: background .15s;
}
.hr-cal-day:hover { background: var(--blue-50); }
.hr-cal-day.today { background: var(--blue-500); color: #fff; font-weight: 700; }
.hr-cal-day.has-event { position: relative; }
.hr-cal-day.has-event::after {
  content: '';position: absolute; bottom: 4px; width: 4px; height: 4px;
  border-radius: 50%; background: var(--orange-500);
}
.hr-cal-day.other-month { color: var(--gray-400); }
.hr-cal-header { font-size: 10px; text-align: center; font-weight: 700; color: var(--gray-400); padding-bottom: 4px; }

/* ── Form styles HR ──────────────────────────────────────── */
.hr-form { display: grid; gap: 14px; }
.hr-field { display: flex; flex-direction: column; gap: 6px; }
.hr-field label { font-size: 12px; font-weight: 700; color: var(--gray-700); }
.hr-field input, .hr-field select, .hr-field textarea {
  padding: 9px 12px; border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm); background: var(--white);
  font-size: 14px; transition: border-color .15s;
}
.hr-field input:focus, .hr-field select:focus, .hr-field textarea:focus {
  outline: none; border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(46,115,210,.12);
}
.hr-field textarea { resize: vertical; min-height: 90px; }
.hr-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ── Empty state ─────────────────────────────────────────── */
.hr-empty {
  text-align: center; padding: 48px 24px;
  color: var(--gray-400);
}
.hr-empty svg { margin: 0 auto 12px; opacity: .4; }
.hr-empty h3 { font-size: 15px; font-weight: 700; color: var(--gray-600); margin-bottom: 6px; }
.hr-empty p { font-size: 13px; }

/* ── Overlay ─────────────────────────────────────────────── */
.hr-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.4); z-index: 190;
}

/* ── Loading / Gate ──────────────────────────────────────── */
.hr-gate-wrap {
  display: flex; align-items: center; justify-content: center;
  min-height: 60vh;
}
.hr-gate-box {
  text-align: center; max-width: 400px; padding: 32px 24px;
  background: var(--white); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100);
}
.hr-gate-ico {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--blue-50); color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.hr-gate-box h2 { font-size: 20px; margin-bottom: 10px; }
.hr-gate-box p { font-size: 14px; color: var(--gray-600); margin-bottom: 20px; }

/* ── Analitik Charts ─────────────────────────────────────── */
.hr-funnel { display: grid; gap: 8px; }
.hr-funnel-step {
  display: flex; align-items: center; gap: 12px;
}
.hr-funnel-bar-wrap { flex: 1; background: var(--gray-100); border-radius: 99px; height: 28px; overflow: hidden; }
.hr-funnel-bar { height: 100%; border-radius: 99px; display: flex; align-items: center; padding-left: 10px; }
.hr-funnel-bar span { font-size: 12px; font-weight: 700; color: #fff; }
.hr-funnel-label { font-size: 13px; font-weight: 600; color: var(--gray-700); min-width: 100px; }
.hr-funnel-count { font-size: 13px; font-weight: 700; color: var(--ink); min-width: 40px; text-align: right; }

/* ── Plan card (paket) ───────────────────────────────────── */
.hr-plan-current {
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-900) 100%);
  color: #fff; border-radius: var(--r-lg); padding: 24px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 20px; flex-wrap: wrap;
}
.hr-plan-current h2 { color: #fff; font-size: 22px; margin-bottom: 4px; }
.hr-plan-current p { opacity: .75; font-size: 13px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hr-kpis { grid-template-columns: repeat(2, 1fr); }
  .hr-grid.c23, .hr-grid.c13 { grid-template-columns: 1fr; }
  .hr-pipeline { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .hr-sidebar {
    transform: translateX(-100%);
  }
  .hr-sidebar.open {
    transform: translateX(0);
  }
  .hr-overlay.visible { display: block; }
  .hr-content { margin-left: 0; }
  .hr-menu-toggle { display: flex; align-items: center; justify-content: center; }
  .hr-kpis { grid-template-columns: 1fr 1fr; }
  .hr-grid.c2, .hr-grid.c3 { grid-template-columns: 1fr; }
  .hr-pipeline { grid-template-columns: 1fr 1fr; }
  .hr-page { padding: 16px; }
  .hr-form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hr-kpis { grid-template-columns: 1fr; }
  .hr-pipeline { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   UNIFIED DASHBOARD — dark sidebar (HR style)
   Digunakan oleh Admin & User dashboard
   ════════════════════════════════════════════════════════════ */

.dash-unified-shell {
  display: flex;
  min-height: 100vh;
  background: var(--paper);
}

/* ── Sidebar ─────────────────────────────────────────────── */
.dash-unified-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--blue-900);
  color: #fff;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  overflow-y: auto;
  z-index: 200;
  transition: transform .25s ease;
}

.dash-unified-logo {
  padding: 20px 20px 14px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.dash-unified-user {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.dash-unified-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--blue-500);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700; font-size: 13px;
  flex-shrink: 0; color: #fff;
}

.dash-unified-name {
  font-weight: 600; font-size: 13px; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: #fff;
}
.dash-unified-role {
  font-size: 11px; opacity: .55; margin-top: 1px;
  color: rgba(255,255,255,.7);
}

/* ── Navigation ──────────────────────────────────────────── */
.dash-unified-nav {
  flex: 1;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.dash-unified-nav-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  opacity: .4; padding: 12px 10px 4px;
  display: block;
  color: rgba(255,255,255,.5);
}

.dash-nav-item-dark {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 8px;
  color: rgba(255,255,255,.72); font-size: 13.5px; font-weight: 500;
  cursor: pointer; transition: background .15s, color .15s;
  text-decoration: none;
  border: none; background: none; font-family: var(--font-body);
  text-align: left; line-height: 1.4;
  width: 100%;
}
.dash-nav-item-dark:hover { background: rgba(255,255,255,.08); color: #fff; }
.dash-nav-item-dark.active { background: var(--blue-500); color: #fff; font-weight: 600; }
.dash-nav-item-dark.danger:hover { background: rgba(214,69,69,.18); color: #FCA5A5; }
/* IconButton: tombol CRUD ringkas, hemat ruang */
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; padding: 0;
  border-radius: 8px; border: 1px solid var(--gray-200);
  background: var(--white); color: var(--gray-600);
  cursor: pointer; transition: background .12s, color .12s, border-color .12s;
}
.icon-btn:hover:not(:disabled) { background: var(--gray-100); }
.icon-btn:disabled { opacity: .45; cursor: not-allowed; }
.icon-btn + .icon-btn { margin-left: 4px; }
.icon-btn--primary:hover:not(:disabled) { background: var(--blue-50); color: var(--blue-700); border-color: var(--blue-300); }
.icon-btn--success:hover:not(:disabled) { background: #ecfdf5; color: #047857; border-color: #6ee7b7; }
.icon-btn--danger:hover:not(:disabled) { background: #fef2f2; color: #b91c1c; border-color: #fca5a5; }
.icon-btn--warning:hover:not(:disabled) { background: #fff7ed; color: #c2410c; border-color: #fdba74; }

.dash-nav-item-dark.locked { color: rgba(255,255,255,.48); }
.dash-nav-item-dark.locked:hover { background: rgba(255,167,38,.14); color: #FFD18A; }
.dash-nav-lock { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; padding: 2px 6px; border-radius: 999px; background: rgba(255,167,38,.18); color: #FFB870; }

/* Submenu */
.dash-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .24s ease; }
.dash-sub.open { grid-template-rows: 1fr; }
.dash-sub-inner { overflow: hidden; }
.dash-sublink {
  display: block; padding: 8px 12px 8px 37px;
  border-radius: 8px; font-size: 13px;
  color: rgba(255,255,255,.6); font-weight: 500;
  transition: background .14s, color .14s;
  text-decoration: none;
}
.dash-sublink:hover { background: rgba(255,255,255,.08); color: #fff; }
.dash-sublink.active { background: rgba(46,115,210,.3); color: #fff; }

/* Badge */
.dash-badge {
  margin-left: auto; background: var(--orange-500); color: #fff;
  font-size: 10px; font-weight: 700; padding: 2px 6px;
  border-radius: var(--r-pill);
}
.ml-auto { margin-left: auto; }

/* ── Footer ─────────────────────────────────────────────── */
.dash-unified-footer {
  padding: 10px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ── Main content ─────────────────────────────────────────── */
.dash-unified-content {
  margin-left: 240px;
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.dash-unified-topbar {
  height: 60px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  display: flex; align-items: center;
  padding: 0 24px; gap: 14px;
  position: sticky; top: 0; z-index: 90;
  box-shadow: var(--shadow-xs);
}

.dash-unified-topbar-spacer { flex: 1; }

.dash-unified-icon-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--gray-600);
  transition: background .15s;
}
.dash-unified-icon-btn:hover { background: var(--gray-100); color: var(--ink); }

.dash-unified-menu-toggle {
  display: none; border: none; background: transparent;
  cursor: pointer; color: var(--gray-600); padding: 4px;
}

/* ── Page ─────────────────────────────────────────────────── */
.dash-unified-page {
  flex: 1;
  padding: 24px 28px;
  animation: dashFade .35s ease;
}

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

/* ── KPI Cards ───────────────────────────────────────────── */
.dash-unified-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.dash-unified-kpi {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--gray-100);
  display: flex; align-items: flex-start; gap: 14px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.dash-unified-kpi:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--blue-200);
}

.dash-unified-kpi-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dash-unified-kpi-icon.blue   { background: var(--blue-50); color: var(--blue-600); }
.dash-unified-kpi-icon.green  { background: var(--success-bg); color: var(--pk-success); }
.dash-unified-kpi-icon.orange { background: var(--orange-50); color: var(--orange-500); }
.dash-unified-kpi-icon.violet { background: #F3F0FF; color: #7C3AED; }
.dash-unified-kpi-icon.red    { background: var(--danger-bg); color: var(--danger); }

.dash-unified-kpi-value {
  font-size: 24px; font-weight: 800; color: var(--ink);
  line-height: 1.1; font-family: var(--font-head);
}
.dash-unified-kpi-label {
  font-size: 12px; color: var(--gray-400); font-weight: 500; margin-top: 2px;
}
.dash-unified-kpi-hint {
  font-size: 11px; color: var(--gray-400); margin-top: 6px;
}

/* ── Page Header ─────────────────────────────────────────── */
.dash-unified-page-header { margin-bottom: 22px; }
.dash-unified-page-title {
  font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 2px;
}
.dash-unified-page-sub { font-size: 13px; color: var(--gray-400); }

/* ── Card ────────────────────────────────────────────────── */
.dash-unified-grid { display: grid; gap: 16px; }
.dash-unified-grid.c2  { grid-template-columns: 1fr 1fr; }
.dash-unified-grid.c3  { grid-template-columns: 1fr 1fr 1fr; }
.dash-unified-grid.c23 { grid-template-columns: 2fr 1fr; }
.dash-unified-grid.c13 { grid-template-columns: 1fr 2fr; }

.dash-unified-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--gray-100);
}

.dash-unified-card-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.dash-unified-card-title {
  font-size: 14px; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; gap: 8px;
}
.dash-unified-card-link {
  font-size: 12px; color: var(--blue-500); font-weight: 600;
  text-decoration: none;
}
.dash-unified-card-link:hover { color: var(--blue-700); }

/* ── Bar Chart ──────────────────────────────────────────── */
.dash-unified-bar-chart {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: stretch; gap: 5px; height: 90px;
  width: 100%; max-width: 100%; min-width: 0;
}
.dash-unified-bar-col {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; min-width: 0;
}
.dash-unified-bar {
  width: 100%; border-radius: 4px 4px 0 0;
  transition: opacity .2s;
  min-height: 4px;
}
.dash-unified-bar:hover { opacity: .8; }
.dash-unified-bar.primary { background: var(--blue-500); }
.dash-unified-bar.accent  { background: var(--orange-500); }
.dash-unified-bar.muted   { background: var(--gray-200); }
.dash-unified-bar-lbl { font-size: 10px; color: var(--gray-400); white-space: nowrap; }

/* ── Table ───────────────────────────────────────────────── */
.dash-unified-table-wrap { overflow-x: auto; }
.dash-unified-table {
  width: 100%; border-collapse: collapse; font-size: 13.5px;
}
.dash-unified-table th {
  text-align: left; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--gray-400); padding: 0 12px 10px;
  border-bottom: 1.5px solid var(--gray-100); white-space: nowrap;
}
.dash-unified-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle; color: var(--gray-700);
}
.dash-unified-table tr:last-child td { border-bottom: none; }
.dash-unified-table tbody tr:hover td { background: var(--blue-50); }

/* ── Empty state ─────────────────────────────────────────── */
.dash-unified-empty {
  text-align: center; padding: 48px 24px;
  color: var(--gray-400);
}
.dash-unified-empty svg { margin: 0 auto 12px; opacity: .4; }
.dash-unified-empty h3 { font-size: 15px; font-weight: 700; color: var(--gray-600); margin-bottom: 6px; }
.dash-unified-empty p { font-size: 13px; }

/* ── Overlay ─────────────────────────────────────────────── */
.dash-unified-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.4); z-index: 190;
}

/* ── Loading ────────────────────────────────────────────── */
.dash-unified-loading {
  display: flex; align-items: center; justify-content: center;
  min-height: 40vh;
}

/* ── List Row ────────────────────────────────────────────── */
.dash-unified-list-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 13.5px;
}
.dash-unified-list-row:last-child { border-bottom: none; }
.dash-unified-list-row strong { font-weight: 600; color: var(--ink); }
.dash-unified-list-row span { color: var(--gray-600); text-align: right; }

/* Search Box */
.dash-unified-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--gray-100);
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  min-width: 280px;
  max-width: 420px;
  flex: 1;
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.dash-unified-search:focus-within {
  background: var(--white);
  border-color: var(--blue-300);
  box-shadow: var(--pk-ring);
}
.dash-unified-search input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  flex: 1;
  color: var(--ink);
}
.dash-unified-search input::placeholder { color: var(--gray-400); }
.dash-unified-search kbd {
  font-size: 11px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 5px;
  padding: 1px 6px;
  color: var(--gray-500);
  font-family: var(--font-body);
}

/* ── Notifications ──────────────────────────────────────── */
.dash-unified-notif-wrap {
  position: relative;
}
.dash-unified-notif-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--white);
}
.dash-unified-notif-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 360px;
  max-height: 480px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  z-index: 300;
  overflow: hidden;
}
.dash-unified-notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-100);
  font-weight: 700;
  font-size: 14px;
}
.dash-unified-notif-markread {
  font-size: 12px;
  color: var(--blue-600);
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
}
.dash-unified-notif-markread:hover { text-decoration: underline; }
.dash-unified-notif-list {
  max-height: 360px;
  overflow-y: auto;
}
.dash-unified-notif-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 16px;
  color: var(--gray-400);
  font-size: 14px;
}
.dash-unified-notif-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background .15s;
  position: relative;
}
.dash-unified-notif-item:hover { background: var(--gray-50); }
.dash-unified-notif-item.read { opacity: .6; }
.dash-unified-notif-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dash-unified-notif-icon.info { background: var(--blue-50); color: var(--blue-600); }
.dash-unified-notif-icon.success { background: var(--success-bg); color: var(--pk-success); }
.dash-unified-notif-icon.warning { background: var(--orange-50); color: var(--orange-500); }
.dash-unified-notif-icon.danger { background: var(--danger-bg); color: var(--danger); }
.dash-unified-notif-content { flex: 1; min-width: 0; }
.dash-unified-notif-text {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.4;
  margin: 0;
}
.dash-unified-notif-time {
  font-size: 11px;
  color: var(--gray-400);
  margin-top: 2px;
  display: block;
}
.dash-unified-notif-unread {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-500);
  flex-shrink: 0;
  margin-top: 6px;
}
.dash-unified-notif-footer {
  display: block;
  text-align: center;
  padding: 12px 16px;
  border-top: 1px solid var(--gray-100);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-600);
}
.dash-unified-notif-footer:hover { background: var(--gray-50); }

/* ── Profile Dropdown ──────────────────────────────────── */
.dash-unified-profile-wrap { position: relative; }
.dash-unified-avatar-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  border: none;
  transition: transform .15s, box-shadow .15s;
}
.dash-unified-avatar-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(46,115,210,.3);
}
.dash-unified-profile-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  z-index: 300;
  overflow: hidden;
}
.dash-unified-profile-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--blue-50);
}
.dash-unified-profile-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.dash-unified-profile-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.dash-unified-profile-role {
  font-size: 12px;
  color: var(--gray-600);
  margin-top: 2px;
}
.dash-unified-profile-divider {
  height: 1px;
  background: var(--gray-100);
}
.dash-unified-profile-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  transition: background .15s, color .15s;
}
.dash-unified-profile-item:hover {
  background: var(--gray-50);
  color: var(--ink);
}
.dash-unified-profile-item.danger { color: var(--danger); }
.dash-unified-profile-item.danger:hover { background: var(--danger-bg); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .dash-unified-kpis { grid-template-columns: repeat(2, 1fr); }
  .dash-unified-grid.c23, .dash-unified-grid.c13 { grid-template-columns: 1fr; }
  .dash-unified-search { min-width: 200px; }
}

@media (max-width: 768px) {
  .dash-unified-sidebar {
    transform: translateX(-100%);
  }
  .dash-unified-sidebar.open {
    transform: translateX(0);
  }
  .dash-unified-overlay.visible { display: block; }
  .dash-unified-content { margin-left: 0; }
  .dash-unified-menu-toggle { display: flex; align-items: center; justify-content: center; }
  .dash-unified-kpis { grid-template-columns: 1fr 1fr; }
  .dash-unified-grid.c2, .dash-unified-grid.c3 { grid-template-columns: 1fr; }
  .dash-unified-page { padding: 16px; }
  .dash-unified-search { display: none; }
  .dash-unified-notif-dropdown { width: calc(100vw - 32px); right: -60px; }
  .dash-unified-profile-dropdown { width: calc(100vw - 32px); right: -80px; }
}

@media (max-width: 480px) {
  .dash-unified-kpis { grid-template-columns: 1fr; }
}

/* Mobile topbar dropdowns must be viewport-bound. The !important constraints
   are scoped to mobile because dashboard styles are duplicated later. */
@media (max-width: 768px) {
  .dash-unified-topbar,
  .hr-topbar {
    overflow: visible;
  }
  .dash-unified-notif-dropdown,
  .dash-unified-profile-dropdown {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    top: 64px !important;
    width: auto !important;
    max-width: none !important;
    max-height: calc(100vh - 88px);
  }
  .dash-unified-notif-list {
    max-height: calc(100vh - 190px);
  }
  .dash-unified-profile-info {
    align-items: flex-start;
  }
  .dash-unified-profile-name,
  .dash-unified-profile-role {
    overflow-wrap: anywhere;
  }
  .hr-notif-dropdown {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    top: 64px !important;
    width: auto !important;
    max-height: calc(100vh - 88px);
    overflow: hidden;
  }
  .hr-notif-dropdown > div:last-child {
    max-height: calc(100vh - 168px);
    overflow-y: auto;
  }
}

.org-pic-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px;
  margin-bottom: 16px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: var(--white);
}
.org-pic-tabs button {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.org-pic-tabs button.active {
  background: var(--blue-500);
  color: #fff;
  box-shadow: 0 6px 14px rgba(46,115,210,.18);
}
.org-pic-link-row {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 8px;
}

@media (max-width: 768px) {
  .org-pic-tabs {
    display: flex;
    width: 100%;
  }
  .org-pic-tabs button {
    flex: 1 1 120px;
  }
  .org-pic-link-row {
    grid-template-columns: 1fr;
  }
}

/* Admin polish: surfaces feel layered instead of rigid, and sidebar is a real
   drawer on tablets as well as phones. */
.dash-unified-card, .dash-unified-kpi {
  border-radius: 18px;
  border-color: rgba(15, 36, 66, .08);
}
.dash-unified-card {
  box-shadow: 0 10px 28px rgba(15, 36, 66, .055);
}
.dash-unified-card:hover { box-shadow: 0 14px 34px rgba(15, 36, 66, .075); }
.input, select.input {
  border-radius: 12px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.input:focus, select.input:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 4px rgba(46,115,210,.12);
}
select.input { cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--gray-500) 50%), linear-gradient(135deg, var(--gray-500) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; appearance: none; padding-right: 38px; }
.admin-surface { border-radius: 22px; background: linear-gradient(145deg, #fff, #f6f9ff); border: 1px solid rgba(46,115,210,.1); padding: 18px; }
.admin-section-note { color: var(--gray-600); font-size: 13px; line-height: 1.55; margin: 0 0 16px; }
.admin-provider-list { display: grid; gap: 10px; }
.admin-provider-row { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid var(--gray-100); background: rgba(255,255,255,.74); border-radius: 14px; flex-wrap: wrap; }
.admin-provider-row:hover { border-color: var(--blue-200); background: #fff; }
.admin-status { font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 999px; }
.admin-status.on { color: #166534; background: #dcfce7; }.admin-status.off { color: var(--gray-600); background: var(--gray-100); }
.admin-provider-tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--gray-100); border-radius: 15px; margin: 0 0 16px; }
.admin-provider-tabs button { border: 0; background: transparent; padding: 10px 15px; border-radius: 11px; color: var(--gray-600); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: color .18s ease, background .18s ease, box-shadow .18s ease; }
.admin-provider-tabs button.active { color: var(--blue-700); background: #fff; box-shadow: 0 3px 10px rgba(15,36,66,.1); }
.org-fieldset { border: 1px solid var(--gray-200); border-radius: 14px; padding: 14px; display: grid; gap: 12px; }
.org-fieldset legend { padding: 0 6px; color: var(--gray-700); font-size: 13px; font-weight: 800; }
.org-two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.org-fieldset, .org-fieldset *, .org-review-card, .org-review-card *, .org-list-toolbar, .org-list-toolbar * { min-width: 0; }
.org-pic-mode { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--gray-700); }
.org-pic-mode label { display: inline-flex; align-items: center; gap: 7px; }
.org-pic-picker { display: grid; gap: 8px; max-height: 310px; overflow: auto; padding: 2px; }
.org-pic-option { display: grid; gap: 3px; width: 100%; border: 1px solid var(--gray-200); border-radius: 12px; background: #fff; padding: 10px 12px; text-align: left; cursor: pointer; transition: border-color .16s ease, background .16s ease, box-shadow .16s ease; }
.org-pic-option:hover { border-color: var(--blue-300); background: var(--blue-50); }
.org-pic-option.selected { border-color: var(--blue-500); background: var(--blue-50); box-shadow: 0 0 0 3px rgba(46,115,210,.11); }
.org-pic-option strong { color: var(--ink); font-size: 13px; }
.org-pic-option span { color: var(--gray-500); font-size: 12px; overflow-wrap: anywhere; }
.org-credential-box { margin-top: 16px; border: 1px solid var(--blue-100); border-radius: 14px; background: var(--blue-50); padding: 14px; }
.org-credential-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
.org-credential-grid div { display: grid; gap: 4px; min-width: 0; }
.org-credential-grid span { color: var(--gray-500); font-size: 12px; font-weight: 700; }
.org-credential-grid code { background: #fff; border: 1px solid var(--blue-100); border-radius: 8px; padding: 7px; overflow-wrap: anywhere; }
.org-list-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.org-list-toolbar .input { flex: 1 1 260px; }
.org-review-list { display: grid; gap: 12px; }
.org-review-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: start; border: 1px solid var(--gray-200); border-radius: 14px; padding: 14px; background: #fff; }
.org-review-main { min-width: 0; display: grid; gap: 5px; }
.org-review-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.org-review-main p { margin: 0; color: var(--gray-600); font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.org-review-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 768px) {
  .admin-provider-tabs { display: grid; grid-template-columns: 1fr; width: 100%; overflow: visible; }
  .admin-provider-tabs button { width: 100%; white-space: normal; text-align: center; }
  .org-two-col { grid-template-columns: 1fr; }
  .org-list-toolbar { display: grid; grid-template-columns: 1fr; }
  .org-list-toolbar .input { width: 100%; max-width: 100%; }
  .org-credential-grid { grid-template-columns: 1fr; }
  .org-review-card { grid-template-columns: 1fr; }
  .org-review-head { align-items: flex-start; flex-direction: column; }
  .org-review-actions { justify-content: flex-start; display: grid; grid-template-columns: 1fr; }
  .org-review-actions .btn,
  .org-review-actions .danger-button { width: 100%; justify-content: center; }
}
.admin-provider-tab-panel { max-width: 980px; }
.admin-switch { width: 46px; height: 26px; padding: 3px; border: 0; border-radius: 999px; background: #cbd5e1; cursor: pointer; transition: background .2s ease; flex-shrink: 0; }
.admin-switch span { display: block; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(15,36,66,.25); transition: transform .2s ease; }
.admin-switch.on { background: var(--blue-600); }
.admin-switch.on span { transform: translateX(20px); }
.admin-switch:focus-visible { outline: 3px solid rgba(46,115,210,.28); outline-offset: 2px; }
.admin-provider-modal { z-index: 500; }

/* Active Provider Banner */
.active-provider-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--success-bg, #E7F6EF), var(--blue-50));
  border: 1px solid var(--pk-success);
  border-radius: var(--r-md);
  flex-wrap: wrap;
}
.active-provider-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--pk-success);
  background: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.active-dot {
  width: 8px;
  height: 8px;
  background: var(--pk-success);
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}
.active-provider-info {
  flex: 1;
  min-width: 150px;
}
.active-provider-info strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
}
.active-provider-info span {
  font-size: 12.5px;
  color: var(--gray-600);
}
.active-provider-actions {
  display: flex;
  gap: 8px;
}
/* Modal provider: flex-column supaya header tetap & form bisa di-scroll
   (penting di layar HP — sebelumnya overflow:hidden bikin isi ke-clip). */
.admin-provider-modal .modal-card { width: min(760px, 100%); padding: 0; border-radius: 22px; overflow: hidden; max-height: 90vh; display: flex; flex-direction: column; }
.admin-provider-modal .admin-modal-head { flex-shrink: 0; }
.admin-provider-modal .admin-surface { border: 0; border-radius: 0; padding: 20px 24px 24px; background: #fff; overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1 1 auto; min-height: 0; }
.admin-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 24px; background: linear-gradient(135deg, var(--blue-50), #fff); border-bottom: 1px solid var(--gray-100); }
.admin-modal-head h3 { margin: 0; font-size: 18px; }.admin-modal-head p { margin: 4px 0 0; color: var(--gray-600); font-size: 13px; }
.admin-modal-close { width: 34px; height: 34px; border: 0; border-radius: 10px; background: rgba(15,36,66,.06); color: var(--gray-600); font-size: 24px; line-height: 1; cursor: pointer; }
.admin-modal-close:hover { background: rgba(15,36,66,.12); color: var(--ink); }
.admin-task-checks { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 8px 0; }
.admin-task-checks label { font-size: 13px; color: var(--gray-700); cursor: pointer; }
.admin-task-checks input { accent-color: var(--blue-600); }
@media (max-width: 1024px) {
  .dash-unified-sidebar { transform: translateX(-100%); box-shadow: 18px 0 45px rgba(10, 30, 60, .28); }
  .dash-unified-sidebar.open { transform: translateX(0); }
  .dash-unified-content { margin-left: 0; }
  .dash-unified-menu-toggle { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 11px; background: var(--gray-100); }
  .dash-unified-overlay.visible { display: block; position: fixed; inset: 0; z-index: 180; background: rgba(7, 20, 43, .42); backdrop-filter: blur(2px); }
}

/* Search Box */
.dash-unified-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--gray-100);
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  min-width: 280px;
  max-width: 420px;
  flex: 1;
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.dash-unified-search:focus-within {
  background: var(--white);
  border-color: var(--blue-300);
  box-shadow: var(--pk-ring);
}
.dash-unified-search input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  flex: 1;
  color: var(--ink);
}
.dash-unified-search input::placeholder { color: var(--gray-400); }
.dash-unified-search kbd {
  font-size: 11px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 5px;
  padding: 1px 6px;
  color: var(--gray-500);
  font-family: var(--font-body);
}

/* ── Notifications ──────────────────────────────────────── */
.dash-unified-notif-wrap { position: relative; }
.dash-unified-notif-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--white);
}
.dash-unified-notif-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 360px;
  max-height: 480px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  z-index: 300;
  overflow: hidden;
}
.dash-unified-notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-100);
  font-weight: 700;
  font-size: 14px;
}
.dash-unified-notif-markread {
  font-size: 12px;
  color: var(--blue-600);
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
}
.dash-unified-notif-markread:hover { text-decoration: underline; }
.dash-unified-notif-list { max-height: 360px; overflow-y: auto; }
.dash-unified-notif-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 16px;
  color: var(--gray-400);
  font-size: 14px;
}
.dash-unified-notif-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background .15s;
  position: relative;
}
.dash-unified-notif-item:hover { background: var(--gray-50); }
.dash-unified-notif-item.read { opacity: .6; }
.dash-unified-notif-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dash-unified-notif-icon.info { background: var(--blue-50); color: var(--blue-600); }
.dash-unified-notif-icon.success { background: var(--success-bg); color: var(--pk-success); }
.dash-unified-notif-icon.warning { background: var(--orange-50); color: var(--orange-500); }
.dash-unified-notif-icon.danger { background: var(--danger-bg); color: var(--danger); }
.dash-unified-notif-content { flex: 1; min-width: 0; }
.dash-unified-notif-text {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.4;
  margin: 0;
}
.dash-unified-notif-time {
  font-size: 11px;
  color: var(--gray-400);
  margin-top: 2px;
  display: block;
}
.dash-unified-notif-unread {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-500);
  flex-shrink: 0;
  margin-top: 6px;
}
.dash-unified-notif-footer {
  display: block;
  text-align: center;
  padding: 12px 16px;
  border-top: 1px solid var(--gray-500);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-600);
}
.dash-unified-notif-footer:hover { background: var(--gray-50); }

/* ── Profile Dropdown ──────────────────────────────────── */
.dash-unified-profile-wrap { position: relative; }
.dash-unified-avatar-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  border: none;
  transition: transform .15s, box-shadow .15s;
}
.dash-unified-avatar-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(46,115,210,.3);
}
.dash-unified-profile-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  z-index: 300;
  overflow: hidden;
}
.dash-unified-profile-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--blue-50);
}
.dash-unified-profile-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.dash-unified-profile-name { font-weight: 700; font-size: 15px; color: var(--ink); }
.dash-unified-profile-role { font-size: 12px; color: var(--gray-600); margin-top: 2px; }
.dash-unified-profile-divider { height: 1px; background: var(--gray-100); }
.dash-unified-profile-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  transition: background .15s, color .15s;
}
.dash-unified-profile-item:hover { background: var(--gray-50); color: var(--ink); }
.dash-unified-profile-item.danger { color: var(--danger); }
.dash-unified-profile-item.danger:hover { background: var(--danger-bg); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .dash-unified-kpis { grid-template-columns: repeat(2, 1fr); }
  .dash-unified-grid.c23, .dash-unified-grid.c13 { grid-template-columns: 1fr; }
  .dash-unified-search { min-width: 200px; }
}

@media (max-width: 768px) {
  .dash-unified-sidebar { transform: translateX(-100%); }
  .dash-unified-sidebar.open { transform: translateX(0); }
  .dash-unified-overlay.visible { display: block; }
  .dash-unified-content { margin-left: 0; }
  .dash-unified-menu-toggle { display: flex; align-items: center; justify-content: center; }
  .dash-unified-kpis { grid-template-columns: 1fr 1fr; }
  .dash-unified-grid.c2, .dash-unified-grid.c3 { grid-template-columns: 1fr; }
  .dash-unified-page { padding: 16px; }
  .dash-unified-search { display: none; }
  .dash-unified-notif-dropdown { width: calc(100vw - 32px); right: -60px; }
  .dash-unified-profile-dropdown { width: calc(100vw - 32px); right: -80px; }
}

@media (max-width: 480px) {
  .dash-unified-kpis { grid-template-columns: 1fr; }
}
