/* ============================================================
   SIAP Dukcapil — Tema utama
   Warna dominan biru pemerintahan #0B5ED7, putih, abu-biru lembut.
   Dirancang responsif: desktop, tablet, dan smartphone.
   ============================================================ */
:root {
  --blue: #0b5ed7;
  --blue-600: #0a53bf;
  --blue-700: #0a3f8f;
  --blue-800: #082f6b;
  --blue-050: #eef4ff;
  --blue-100: #dbe8ff;
  --ink: #0f1d33;
  --ink-soft: #2c3e5c;
  --muted: #5a6c86;
  --bg: #f3f6fb;
  --card: #ffffff;
  --border: #e2e8f2;
  --border-strong: #cfd9e8;
  --green: #0f9d58;
  --green-bg: #e6f7ee;
  --amber: #b45309;
  --amber-bg: #fff4e0;
  --red: #c62828;
  --red-bg: #fdecec;
  --violet: #6d28d9;
  --violet-bg: #f1eafe;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 29, 51, 0.04), 0 10px 30px -22px rgba(15, 29, 51, 0.35);
  --shadow-lg: 0 24px 60px -30px rgba(8, 47, 107, 0.45);
  --sidebar-w: 264px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; color: var(--ink); }
p { margin: 0 0 12px; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------------- Layout aplikasi ---------------- */
.app-shell { display: flex; min-height: 100vh; }
.sidebar {
  width: var(--sidebar-w);
  position: fixed;
  top: 0; left: 0; bottom: 0;
  background: linear-gradient(180deg, #082f6b 0%, #0a3f8f 45%, #0b5ed7 100%);
  color: #eaf2ff;
  display: flex;
  flex-direction: column;
  z-index: 60;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.28) transparent;
}
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.28); border-radius: 8px; }
.brand {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 18px 18px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: #fff;
}
.brand:hover { text-decoration: none; }
.brand-logo {
  width: 42px; height: 42px; object-fit: contain; padding: 3px; background: #fff; border-radius: 12px;
  background: #fff; color: var(--blue-700);
  display: grid; place-items: center;
  font-weight: 800; font-size: 15px; letter-spacing: .3px;
  box-shadow: 0 6px 16px -8px rgba(0,0,0,.5);
  flex: 0 0 auto;
}
.brand-text { min-width: 0; }
.brand-text strong { display: block; font-size: 15px; letter-spacing: .2px; }
.brand-text span { display: block; font-size: 10.5px; color: rgba(234,242,255,.72); line-height: 1.35; }
.sidebar-context {
  margin: 14px 14px 6px;
  padding: 10px 12px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  font-size: 11.5px;
}
.sidebar-context .label { text-transform: uppercase; letter-spacing: .08em; font-size: 9.5px; color: rgba(234,242,255,.6); }
.sidebar-context strong { display: block; font-size: 12.5px; color: #fff; }
.nav { padding: 10px 10px 20px; display: flex; flex-direction: column; gap: 2px; }
.nav-section {
  font-size: 9.5px; text-transform: uppercase; letter-spacing: .12em;
  color: rgba(234,242,255,.55);
  padding: 16px 12px 6px;
}
.nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  color: rgba(238,245,255,.9);
  font-size: 13px;
  font-weight: 500;
  transition: background .15s, color .15s;
}
.nav a:hover { background: rgba(255,255,255,.10); text-decoration: none; color: #fff; }
.nav a.active { background: #fff; color: var(--blue-700); font-weight: 650; box-shadow: 0 8px 18px -12px rgba(0,0,0,.5); }
.nav a .ico { width: 18px; height: 18px; flex: 0 0 auto; opacity: .95; display: grid; place-items: center; }
.nav a .ico svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav a .count { margin-left: auto; background: var(--red); color: #fff; font-size: 10px; padding: 1px 6px; border-radius: 999px; font-weight: 700; }
.nav a.active .count { background: var(--blue); }

.main { margin-left: var(--sidebar-w); flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  height: 64px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 14px;
  padding: 0 24px;
  position: sticky; top: 0; z-index: 50;
}
.hamburger {
  display: none;
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--border); background: #fff; color: var(--ink);
  align-items: center; justify-content: center; cursor: pointer;
}
.topbar-search { flex: 1; max-width: 520px; position: relative; }
.topbar-search input {
  width: 100%; height: 40px;
  border: 1px solid var(--border); border-radius: 999px;
  padding: 0 16px 0 40px; background: #f7fafe; font-size: 13px; color: var(--ink);
}
.topbar-search input:focus { background: #fff; border-color: var(--blue-100); box-shadow: 0 0 0 4px rgba(11,94,215,.10); outline: none; }
.topbar-search .s-ico { position: absolute; left: 14px; top: 11px; color: var(--muted); }
.topbar-spacer { flex: 1; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  position: relative; width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center; border: 1px solid transparent; background: transparent;
  color: var(--ink-soft); cursor: pointer;
}
.icon-btn:hover { background: var(--blue-050); border-color: var(--border); text-decoration: none; }
.icon-btn .dot {
  position: absolute; top: 6px; right: 6px; min-width: 17px; height: 17px;
  background: var(--red); color: #fff; border-radius: 999px; font-size: 10px; font-weight: 700;
  display: grid; place-items: center; padding: 0 4px; border: 2px solid #fff;
}
.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #4f8ef7);
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px;
  flex: 0 0 auto;
}
.user-menu { position: relative; }
.user-menu-btn {
  display: flex; align-items: center; gap: 10px; padding: 4px 8px 4px 4px;
  border: 1px solid var(--border); background: #fff; border-radius: 999px; cursor: pointer;
}
.user-menu-btn .meta { text-align: left; line-height: 1.2; }
.user-menu-btn .meta strong { display: block; font-size: 12.5px; }
.user-menu-btn .meta span { font-size: 10.5px; color: var(--muted); }
.dropdown {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 230px; background: #fff; border: 1px solid var(--border);
  border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px;
  display: none; z-index: 80;
}
.dropdown.open { display: block; }
.dropdown a, .dropdown button {
  display: flex; width: 100%; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 8px; font-size: 13px; color: var(--ink-soft);
  background: none; border: 0; cursor: pointer; text-align: left;
}
.dropdown a:hover, .dropdown button:hover { background: var(--blue-050); text-decoration: none; }
.dropdown .head { padding: 8px 10px 10px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.dropdown .head strong { display: block; font-size: 13px; }
.dropdown .head span { font-size: 11px; color: var(--muted); }
.dropdown .divider { height: 1px; background: var(--border); margin: 4px 0; }

.page { padding: 24px 26px 56px; max-width: 1600px; width: 100%; margin: 0 auto; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h1 { font-size: 22px; letter-spacing: -.01em; }
.page-head .sub { margin-top: 4px; color: var(--muted); font-size: 13px; }
.page-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb { font-size: 11.5px; color: var(--muted); margin-bottom: 8px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }

/* ---------------- Kartu & grid ---------------- */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card + .card { margin-top: 20px; }
.card-head {
  padding: 18px 20px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.card-head h2, .card-head h3 { font-size: 15px; }
.card-head .sub { color: var(--muted); font-size: 12px; margin-top: 2px; }
.card-body { padding: 20px; }
.card-body.tight { padding: 0; }
.card-foot { padding: 14px 20px; border-top: 1px solid var(--border); background: #fafcff; border-radius: 0 0 var(--radius) var(--radius); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; margin-bottom: 22px; }
.stat-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.stat-card::after {
  content: ""; position: absolute; right: -28px; top: -28px; width: 92px; height: 92px;
  border-radius: 50%; background: var(--blue-050);
}
.stat-card .stat-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; position: relative; z-index: 1; }
.stat-card .label { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.stat-card .value { font-size: 26px; font-weight: 750; margin-top: 8px; letter-spacing: -.02em; position: relative; z-index: 1; }
.stat-card .hint { font-size: 11.5px; color: var(--muted); margin-top: 4px; position: relative; z-index: 1; }
.stat-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-050); color: var(--blue); flex: 0 0 auto; }
.stat-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.stat-card.green .stat-icon { background: var(--green-bg); color: var(--green); }
.stat-card.amber .stat-icon { background: var(--amber-bg); color: var(--amber); }
.stat-card.red .stat-icon { background: var(--red-bg); color: var(--red); }
.stat-card.violet .stat-icon { background: var(--violet-bg); color: var(--violet); }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.grid-2-equal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.strong { font-weight: 650; }
.nowrap { white-space: nowrap; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.divider { height: 1px; background: var(--border); margin: 16px 0; }

/* ---------------- Tombol ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 38px; padding: 0 15px;
  border-radius: 10px; border: 1px solid transparent;
  font-family: var(--font); font-size: 13px; font-weight: 600; cursor: pointer;
  background: #fff; color: var(--ink-soft); text-decoration: none;
  transition: background .15s, border-color .15s, color .15s, transform .05s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: linear-gradient(135deg, #0b5ed7, #1b74f0); color: #fff; box-shadow: 0 8px 18px -12px rgba(11,94,215,.9); }
.btn-primary:hover { background: linear-gradient(135deg, #0a53bf, #1668da); }
.btn-outline { border-color: var(--border-strong); background: #fff; color: var(--ink-soft); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-050); }
.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { background: var(--blue-050); color: var(--blue); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #a91f1f; }
.btn-success { background: var(--green); color: #fff; }
.btn-success:hover { background: #0b8149; }
.btn-sm { height: 31px; padding: 0 11px; font-size: 12px; border-radius: 8px; }
.btn-sm svg { width: 14px; height: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .55; pointer-events: none; }
.btn-group { display: inline-flex; gap: 6px; flex-wrap: wrap; }

/* ---------------- Form ---------------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .label { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }
.field .req { color: var(--red); }
.field .help { font-size: 11.5px; color: var(--muted); }
input[type="text"], input[type="password"], input[type="date"], input[type="month"], input[type="number"],
input[type="email"], input[type="tel"], input[type="search"], select, textarea {
  width: 100%; min-height: 40px; padding: 9px 12px;
  border: 1px solid var(--border-strong); border-radius: 10px;
  background: #fff; color: var(--ink); font-family: var(--font); font-size: 13.5px;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11,94,215,.12); }
input:disabled, select:disabled, textarea:disabled { background: #f4f7fc; color: var(--muted); }
.field-error { font-size: 11.5px; color: var(--red); }
.input-error { border-color: var(--red) !important; background: #fffafa !important; }
.checkbox { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-soft); }
.checkbox input { width: 16px; height: 16px; accent-color: var(--blue); }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; padding-top: 18px; margin-top: 20px; border-top: 1px solid var(--border); flex-wrap: wrap; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-size: 13px; font-weight: 700; margin-bottom: 12px; color: var(--ink); }

.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; align-items: end; }
.filters .field { gap: 4px; }
.filters label { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.filters .actions { display: flex; gap: 8px; align-items: end; flex-wrap: wrap; }
.filter-summary { font-size: 12px; color: var(--muted); }

/* ---------------- Tabel ---------------- */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 640px; }
table.data th {
  text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted); font-weight: 700; padding: 11px 14px;
  background: #f7faff; border-bottom: 1px solid var(--border); white-space: nowrap;
  position: sticky; top: 0; z-index: 1;
}
table.data td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.data tbody tr:hover { background: #fafcff; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td.actions { white-space: nowrap; text-align: right; }
table.data .primary { font-weight: 600; color: var(--ink); }
table.data .sub { font-size: 11.5px; color: var(--muted); }
.table-empty { padding: 44px 20px; text-align: center; color: var(--muted); }
.table-empty strong { display: block; color: var(--ink-soft); margin-bottom: 4px; }
.mini-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.mini-table th, .mini-table td { padding: 8px 10px; border-bottom: 1px solid var(--border); text-align: left; }
.mini-table th { font-size: 10.5px; text-transform: uppercase; color: var(--muted); letter-spacing: .05em; }
.mini-table tr:last-child td { border-bottom: 0; }
.mini-table td.num, .mini-table th.num { text-align: right; font-variant-numeric: tabular-nums; }

.pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.pagination .info { font-size: 12px; color: var(--muted); }
.pagination .pages { display: flex; gap: 4px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 32px; height: 32px; padding: 0 8px; display: grid; place-items: center;
  border-radius: 8px; border: 1px solid var(--border); font-size: 12.5px; color: var(--ink-soft); background: #fff;
}
.pagination a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.pagination .current { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 700; }
.pagination .disabled { color: #b8c3d4; }

/* ---------------- Badge & status ---------------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 650;
  background: #eef2f8; color: var(--ink-soft); white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.badge.plain::before { display: none; }
.badge.blue { background: var(--blue-050); color: var(--blue-700); }
.badge.green { background: var(--green-bg); color: #0b7a45; }
.badge.amber { background: var(--amber-bg); color: var(--amber); }
.badge.red { background: var(--red-bg); color: var(--red); }
.badge.violet { background: var(--violet-bg); color: var(--violet); }
.badge.gray { background: #eef2f8; color: var(--muted); }
.tag { display: inline-block; padding: 2px 8px; border-radius: 6px; background: var(--blue-050); color: var(--blue-700); font-size: 11px; font-weight: 600; }

/* ---------------- Flash / alert ---------------- */
.flash-wrap { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.alert {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; border-radius: 12px; border: 1px solid;
  font-size: 13px;
}
.alert.success { background: var(--green-bg); border-color: #b7e6cc; color: #0b6b3f; }
.alert.error { background: var(--red-bg); border-color: #f3c4c4; color: #96201f; }
.alert.info { background: var(--blue-050); border-color: var(--blue-100); color: var(--blue-700); }
.alert.warning { background: var(--amber-bg); border-color: #f3d9a4; color: #8a4a08; }
.alert strong { display: block; margin-bottom: 2px; }

/* ---------------- Timeline & chat ---------------- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 18px 26px; border-left: 2px solid var(--border); margin-left: 7px; }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px;
  border-radius: 50%; background: #fff; border: 2.5px solid var(--blue);
}
.timeline li.green::before { border-color: var(--green); }
.timeline li.red::before { border-color: var(--red); }
.timeline li.amber::before { border-color: var(--amber); }
.timeline .tgl { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.timeline .judul { font-size: 13.5px; font-weight: 650; margin-top: 2px; }
.timeline .ket { font-size: 12.5px; color: var(--muted); }

.chat-list { display: flex; flex-direction: column; }
.chat-item { display: flex; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); color: inherit; }
.chat-item:hover { background: #fafcff; text-decoration: none; }
.chat-item.active { background: var(--blue-050); }
.chat-item .avatar { width: 36px; height: 36px; font-size: 12px; }
.chat-item .body { min-width: 0; flex: 1; }
.chat-item .top { display: flex; justify-content: space-between; gap: 8px; }
.chat-item .top strong { font-size: 13px; }
.chat-item .top span { font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.chat-item .preview { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-item .unread { background: var(--blue); color: #fff; border-radius: 999px; font-size: 10px; padding: 1px 7px; font-weight: 700; }
.chat-room { display: flex; flex-direction: column; height: min(68vh, 640px); }
.chat-messages { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 14px; background: #f8fbff; }
.msg { display: flex; gap: 10px; max-width: 80%; }
.msg .bubble { background: #fff; border: 1px solid var(--border); border-radius: 12px 12px 12px 4px; padding: 10px 13px; font-size: 13px; }
.msg .meta { font-size: 10.5px; color: var(--muted); margin-top: 4px; }
.msg.me { margin-left: auto; flex-direction: row-reverse; }
.msg.me .bubble { background: linear-gradient(135deg, #0b5ed7, #2a7bf0); color: #fff; border: 0; border-radius: 12px 12px 4px 12px; }
.msg.me .meta { text-align: right; color: rgba(255,255,255,.8); }
.chat-compose { border-top: 1px solid var(--border); padding: 12px 14px; display: flex; gap: 10px; align-items: flex-end; background: #fff; }
.chat-compose textarea { min-height: 44px; max-height: 120px; resize: none; }

/* ---------------- Upload ---------------- */
.dropzone {
  border: 2px dashed var(--border-strong); border-radius: 12px;
  padding: 26px 18px; text-align: center; background: #fafcff;
  cursor: pointer; transition: border-color .15s, background .15s;
}
.dropzone:hover, .dropzone.dragover { border-color: var(--blue); background: var(--blue-050); }
.dropzone .dz-ico { color: var(--blue); margin-bottom: 6px; }
.dropzone strong { display: block; font-size: 13px; }
.dropzone span { font-size: 12px; color: var(--muted); }
.progress { height: 8px; background: var(--blue-050); border-radius: 999px; overflow: hidden; margin-top: 10px; display: none; }
.progress > div { height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), #4f8ef7); transition: width .2s; }
.file-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.file-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: #fff; font-size: 12.5px; }
.file-row .fname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.file-row .fsize { color: var(--muted); font-size: 11.5px; }
.doc-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.doc-item .doc-ico { width: 38px; height: 38px; border-radius: 9px; background: var(--blue-050); color: var(--blue); display: grid; place-items: center; flex: 0 0 auto; }
.doc-item .doc-body { flex: 1; min-width: 0; }
.doc-item .doc-body strong { display: block; font-size: 13px; }
.doc-item .doc-body span { font-size: 11.5px; color: var(--muted); }
.doc-status { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }

/* ---------------- Modal ---------------- */
dialog.modal {
  border: 0; border-radius: 16px; padding: 0; width: min(560px, calc(100vw - 32px));
  box-shadow: var(--shadow-lg); background: #fff; color: var(--ink);
}
dialog.modal::backdrop { background: rgba(8, 24, 48, .55); backdrop-filter: blur(2px); }
dialog.modal .modal-head { padding: 18px 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
dialog.modal .modal-body { padding: 20px; max-height: 70vh; overflow-y: auto; }
dialog.modal .modal-foot { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 8px; background: #fafcff; }
.modal-close { border: 0; background: transparent; font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted); }

/* ---------------- Tab & misc ---------------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); overflow-x: auto; padding: 0 4px; }
.tabs a, .tabs button {
  padding: 11px 14px; font-size: 13px; font-weight: 600; color: var(--muted);
  border: 0; background: none; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap;
}
.tabs a.active, .tabs button.active { color: var(--blue); border-bottom-color: var(--blue); }
.tabs a:hover { text-decoration: none; color: var(--blue); }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 8px 14px; font-size: 13px; }
.kv dt { color: var(--muted); font-size: 12.5px; }
.kv dd { margin: 0; font-weight: 550; word-break: break-word; }
.note { background: var(--blue-050); border: 1px solid var(--blue-100); border-radius: 10px; padding: 12px 14px; font-size: 12.5px; color: var(--blue-700); }
.note.warn { background: var(--amber-bg); border-color: #f3d9a4; color: #7a4308; }
.note.danger { background: var(--red-bg); border-color: #f3c4c4; color: #96201f; }
.progress-bar { height: 8px; background: #eef2f8; border-radius: 999px; overflow: hidden; }
.progress-bar > span { display: block; height: 100%; background: var(--green); border-radius: 999px; }
.chart-box { position: relative; height: 280px; }
.chart-box.sm { height: 230px; }
.chart-box canvas { width: 100% !important; }
.legend-inline { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.legend-inline i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-right: 5px; }
.quick-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.quick-link { display: flex; gap: 10px; align-items: center; padding: 13px; border: 1px solid var(--border); border-radius: 12px; background: #fff; color: var(--ink-soft); font-size: 12.5px; font-weight: 600; }
.quick-link:hover { border-color: var(--blue); background: var(--blue-050); color: var(--blue); text-decoration: none; }
.quick-link .ico { width: 32px; height: 32px; border-radius: 9px; background: var(--blue-050); color: var(--blue); display: grid; place-items: center; flex: 0 0 auto; }
.paper { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 36px 42px; box-shadow: var(--shadow); max-width: 820px; margin: 0 auto; }
.paper-wrap { background: #e9eef6; padding: 22px; border-radius: var(--radius); }

/* ---------------- Halaman login & publik ---------------- */
.auth-body {
  min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background:
    radial-gradient(900px 500px at 10% -10%, #d9e7ff 0%, transparent 60%),
    radial-gradient(800px 500px at 100% 0%, #e7f0ff 0%, transparent 55%),
    linear-gradient(180deg, #f6f9ff, #eef4fd);
}
.auth-card { width: min(430px, 100%); background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); overflow: hidden; }
.auth-head { padding: 30px 30px 22px; background: linear-gradient(140deg, #082f6b, #0b5ed7); color: #fff; text-align: center; }
.auth-head .brand-logo { display: block; margin: 0 auto 12px; width: 52px; height: 52px; font-size: 17px; }
.auth-head h1 { color: #fff; font-size: 19px; }
.auth-head p { color: rgba(255,255,255,.82); font-size: 12.5px; margin: 6px 0 0; }
.auth-body-inner { padding: 26px 30px 30px; }
.auth-foot { padding: 16px 30px; border-top: 1px solid var(--border); text-align: center; font-size: 12px; color: var(--muted); background: #fafcff; }

.public-body { background: #f6f9ff; }
.public-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.public-nav-inner { max-width: 1180px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 18px; }
.public-nav .brand { padding: 0; border: 0; color: var(--ink); flex: 0 0 auto; }
.public-nav .brand .brand-logo { width: 38px; height: 38px; font-size: 13px; background: linear-gradient(135deg, #082f6b, #0b5ed7); color: #fff; }
.public-nav .brand-text strong { color: var(--ink); font-size: 14.5px; }
.public-nav .brand-text span { color: var(--muted); font-size: 10px; }
.public-links { display: flex; gap: 6px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.public-links a { padding: 8px 12px; border-radius: 9px; color: var(--ink-soft); font-size: 13px; font-weight: 550; }
.public-links a:hover { background: var(--blue-050); color: var(--blue); text-decoration: none; }
.hero {
  background:
    radial-gradient(900px 460px at 82% -10%, rgba(255,255,255,.22), transparent 60%),
    linear-gradient(135deg, #082f6b 0%, #0a3f8f 45%, #0b5ed7 100%);
  color: #fff; padding: 64px 20px 76px;
}
.hero-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.hero .kicker { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); padding: 5px 12px; border-radius: 999px; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; }
.hero h1 { color: #fff; font-size: clamp(26px, 3.4vw, 42px); letter-spacing: -.02em; margin: 16px 0 14px; line-height: 1.15; }
.hero p { color: rgba(238,245,255,.9); font-size: 15px; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero .btn-outline { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.34); color: #fff; }
.hero .btn-outline:hover { background: rgba(255,255,255,.18); color: #fff; }
.hero-card { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: 18px; padding: 22px; backdrop-filter: blur(8px); }
.hero-card h3 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-stats .hs { background: rgba(255,255,255,.14); border-radius: 12px; padding: 13px 14px; }
.hero-stats .hs strong { display: block; font-size: 22px; color: #fff; letter-spacing: -.02em; }
.hero-stats .hs span { font-size: 11px; color: rgba(238,245,255,.8); }
.public-section { max-width: 1180px; margin: 0 auto; padding: 54px 20px; }
.public-section h2 { font-size: 24px; letter-spacing: -.01em; }
.public-section .lead { color: var(--muted); margin-top: 6px; max-width: 720px; }
.section-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 26px; }
.service-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.service-card .sc-ico { width: 40px; height: 40px; border-radius: 11px; background: var(--blue-050); color: var(--blue); display: grid; place-items: center; }
.service-card h3 { font-size: 14.5px; }
.service-card p { font-size: 12.5px; color: var(--muted); margin: 0; }
.service-card .sc-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: var(--muted); padding-top: 8px; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; margin-top: 26px; }
.step { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  width: 28px; height: 28px; border-radius: 8px; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 700; margin-bottom: 10px;
}
.step h4 { font-size: 13.5px; margin-bottom: 4px; }
.step p { font-size: 12px; color: var(--muted); margin: 0; }
.stat-public { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; margin-top: 24px; }
.stat-public .sp { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.stat-public .sp strong { display: block; font-size: 24px; letter-spacing: -.02em; }
.stat-public .sp span { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.public-foot { background: #082f6b; color: rgba(238,245,255,.85); padding: 40px 20px; }
.public-foot-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; font-size: 12.5px; }
.public-foot h4 { color: #fff; font-size: 13px; margin-bottom: 10px; }
.public-foot a { color: rgba(238,245,255,.85); }
.public-foot .copy { max-width: 1180px; margin: 28px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); font-size: 11.5px; color: rgba(238,245,255,.6); }
.news-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.news-item:last-child { border-bottom: 0; }
.news-item .nd { font-size: 11px; color: var(--muted); white-space: nowrap; }
.news-item h4 { font-size: 13.5px; margin-bottom: 3px; }
.news-item p { font-size: 12.5px; color: var(--muted); margin: 0; }

/* ---------------- Responsif ---------------- */
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(8, 24, 48, .5); z-index: 55; }
@media (max-width: 1200px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .sidebar { transform: translateX(-100%); transition: transform .22s ease; box-shadow: var(--shadow-lg); }
  body.sidebar-open .sidebar { transform: translateX(0); }
  body.sidebar-open .sidebar-overlay { display: block; }
  .main { margin-left: 0; }
  .hamburger { display: flex; }
  .grid-2, .grid-3, .grid-2-equal { grid-template-columns: minmax(0, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 26px; }
  .public-foot-inner { grid-template-columns: 1fr 1fr; }
  .topbar { padding: 0 16px; }
  .page { padding: 18px 16px 48px; }
}
@media (max-width: 720px) {
  body { font-size: 13.5px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .stat-card { padding: 14px; }
  .stat-card .value { font-size: 21px; }
  .stat-card .label { font-size: 10px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-head h1 { font-size: 19px; }
  .card-head, .card-body { padding: 15px; }
  .kv { grid-template-columns: 1fr; gap: 2px 0; }
  .kv dd { margin-bottom: 8px; }
  .topbar-search { max-width: none; }
  .user-menu-btn .meta { display: none; }
  .public-links a.hide-sm { display: none; }
  .public-foot-inner { grid-template-columns: 1fr; }
  .paper { padding: 22px; }
  .paper-wrap { padding: 10px; }
  table.data { font-size: 12.5px; min-width: 560px; }
  table.data th, table.data td { padding: 9px 10px; }
  .chat-room { height: 72vh; }
  .msg { max-width: 92%; }
  dialog.modal .modal-body { padding: 16px; }
  .grid-2-equal { gap: 14px; }
}
@media (max-width: 420px) {
  .filters { grid-template-columns: minmax(0, 1fr); }
  .stats-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------- Cetak ---------------- */
@media print {
  body { background: #fff; }
  .sidebar, .topbar, .page-actions, .no-print, .sidebar-overlay, .breadcrumb { display: none !important; }
  .main { margin-left: 0 !important; }
  .page { padding: 0; max-width: none; }
  .card { border: 0; box-shadow: none; }
  .paper { border: 0; box-shadow: none; padding: 0; max-width: none; }
  .paper-wrap { background: #fff; padding: 0; }
  a { color: inherit; text-decoration: none; }
  table.data th { background: #eee !important; color: #000 !important; }
  .print-only { display: block !important; }
}
.print-only { display: none; }

/* ============================================================
   LANDING PAGE (halaman publik)
   ============================================================ */
.lp-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 460px at 88% 0%, rgba(139, 92, 246, .38), transparent 62%),
    radial-gradient(700px 420px at 4% 100%, rgba(14, 165, 233, .30), transparent 60%),
    linear-gradient(135deg, #061e46 0%, #082f6b 42%, #0b5ed7 100%);
  padding: 58px 20px 0;
}
.lp-hero::after {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 60px;
  background: linear-gradient(180deg, transparent, rgba(246, 249, 255, .96));
  pointer-events: none;
}
.lp-hero-inner {
  max-width: 1180px; margin: 0 auto; position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center;
  padding-bottom: 54px;
}
.lp-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24);
  padding: 6px 14px; border-radius: 999px; font-size: 11.5px; letter-spacing: .06em;
  text-transform: uppercase; font-weight: 600;
}
.lp-kicker .pulse { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.25); }
.lp-hero h1 {
  color: #fff; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.08;
  letter-spacing: -.025em; margin: 18px 0 14px; font-weight: 800;
}
.lp-hero h1 .accent {
  background: linear-gradient(120deg, #ffd66b, #ff9d5c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-hero .lp-lead { color: rgba(235,244,255,.9); font-size: 15.5px; max-width: 560px; line-height: 1.65; }
.lp-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.lp-cta .btn { height: 46px; padding: 0 22px; font-size: 14px; border-radius: 12px; }
.lp-cta .btn-light { background: #fff; color: #0a3f8f; box-shadow: 0 14px 30px -16px rgba(0,0,0,.7); }
.lp-cta .btn-light:hover { background: #f0f6ff; }
.lp-cta .btn-glass { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.34); color: #fff; }
.lp-cta .btn-glass:hover { background: rgba(255,255,255,.2); color: #fff; }
.lp-trust { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 26px; font-size: 12px; color: rgba(235,244,255,.78); }
.lp-trust span { display: inline-flex; align-items: center; gap: 6px; }

.lp-mascot-wrap { position: relative; display: grid; place-items: center; min-height: 380px; }
.lp-mascot-glow {
  position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.30), rgba(255,255,255,0) 68%);
  filter: blur(6px);
}
.lp-mascot { position: relative; width: min(420px, 92%); max-height: 470px; filter: drop-shadow(0 26px 40px rgba(3,15,38,.45)); }
.lp-float {
  position: absolute; background: rgba(255,255,255,.96); color: var(--ink);
  border-radius: 14px; padding: 10px 14px; font-size: 12px; font-weight: 650;
  box-shadow: 0 18px 38px -22px rgba(3,15,38,.8); display: flex; align-items: center; gap: 9px;
  animation: lpFloat 5s ease-in-out infinite;
}
.lp-float small { display: block; font-size: 10.5px; font-weight: 500; color: var(--muted); }
.lp-float .lf-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--blue-050); }
.lp-float .lf-ico img { width: 20px; height: 20px; }
.lp-float.f1 { top: 6%; left: -2%; }
.lp-float.f2 { bottom: 16%; right: -2%; animation-delay: -1.6s; }
.lp-float.f3 { bottom: 2%; left: 6%; animation-delay: -3s; }
@keyframes lpFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.lp-stats-strip { position: relative; z-index: 3; max-width: 1180px; margin: -34px auto 0; padding: 0 20px; }
.lp-stats-card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 30px 60px -40px rgba(8,47,107,.55);
  display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden;
}
.lp-stats-card .lsc { padding: 20px 22px; border-right: 1px solid var(--border); }
.lp-stats-card .lsc:last-child { border-right: 0; }
.lp-stats-card .lsc strong { display: block; font-size: 26px; letter-spacing: -.02em; font-weight: 800; color: var(--blue-700); }
.lp-stats-card .lsc span { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

.lp-section { max-width: 1180px; margin: 0 auto; padding: 62px 20px; }
.lp-section.tint { background: linear-gradient(180deg, #fff, #f5f9ff); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); max-width: none; }
.lp-section.tint > .lp-inner { max-width: 1180px; margin: 0 auto; }
.lp-eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.lp-section h2 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.02em; margin: 8px 0 8px; font-weight: 800; }
.lp-section .lp-desc { color: var(--muted); font-size: 14.5px; max-width: 700px; }

.lp-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 30px; }
.lp-service {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 20px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.lp-service:hover { transform: translateY(-4px); border-color: var(--blue-100); box-shadow: 0 24px 44px -30px rgba(8,47,107,.5); }
.lp-service .svc-icon { width: 56px; height: 56px; border-radius: 14px; background: #f6f9ff; display: grid; place-items: center; border: 1px solid #eaf1fc; }
.lp-service .svc-icon img { width: 44px; height: 44px; }
.lp-service h3 { font-size: 14.5px; line-height: 1.35; }
.lp-service p { font-size: 12.5px; color: var(--muted); margin: 0; }
.lp-service .svc-meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: var(--muted); padding-top: 10px; border-top: 1px dashed var(--border); }
.lp-service .svc-meta a { font-weight: 650; }

.lp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; margin-top: 30px; counter-reset: s; }
.lp-step { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px; position: relative; }
.lp-step::before {
  counter-increment: s; content: counter(s);
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), #3b82f6); color: #fff; font-weight: 800; font-size: 14px;
  margin-bottom: 12px; box-shadow: 0 10px 20px -12px rgba(11,94,215,.9);
}
.lp-step h4 { font-size: 14px; margin-bottom: 5px; }
.lp-step p { font-size: 12.5px; color: var(--muted); margin: 0; }

.lp-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 30px; }
.lp-feature { display: flex; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--border); border-radius: 16px; }
.lp-feature .fi { width: 42px; height: 42px; border-radius: 12px; background: var(--blue-050); color: var(--blue); display: grid; place-items: center; flex: 0 0 auto; }
.lp-feature h4 { font-size: 13.5px; margin-bottom: 4px; }
.lp-feature p { font-size: 12.5px; color: var(--muted); margin: 0; }

.lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.lp-news { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.lp-news .item { padding: 18px 20px; border-bottom: 1px solid var(--border); }
.lp-news .item:last-child { border-bottom: 0; }
.lp-news .item h4 { font-size: 13.5px; margin-bottom: 4px; }
.lp-news .item p { font-size: 12.5px; color: var(--muted); margin: 0; }
.lp-news .item .date { font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--blue); font-weight: 700; margin-bottom: 6px; }

.lp-faq { margin-top: 26px; display: grid; gap: 10px; }
.lp-faq details { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; }
.lp-faq summary { cursor: pointer; font-weight: 650; font-size: 13.5px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; color: var(--blue); font-weight: 800; }
.lp-faq details[open] summary::after { content: "–"; }
.lp-faq p { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }

.lp-cta-band {
  max-width: 1180px; margin: 0 auto; padding: 0 20px 66px;
}
.lp-cta-inner {
  background:
    radial-gradient(600px 260px at 90% 0%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(135deg, #082f6b, #0b5ed7 70%, #2a7bf0);
  color: #fff; border-radius: 22px; padding: 40px; display: flex; gap: 24px;
  align-items: center; justify-content: space-between; flex-wrap: wrap;
  box-shadow: 0 34px 70px -44px rgba(8,47,107,.9);
}
.lp-cta-inner h2 { color: #fff; font-size: 24px; margin-bottom: 6px; }
.lp-cta-inner p { color: rgba(235,244,255,.86); font-size: 14px; margin: 0; max-width: 560px; }

.lp-footer { background: #061e46; color: rgba(235,244,255,.82); padding: 46px 20px 0; }
.lp-footer-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; font-size: 12.5px; }
.lp-footer h4 { color: #fff; font-size: 13px; margin-bottom: 12px; }
.lp-footer a { color: rgba(235,244,255,.82); display: block; padding: 3px 0; }
.lp-footer a:hover { color: #fff; }
.lp-footer .brand-line { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.lp-footer .brand-line img { width: 40px; height: 40px; }
.lp-footer .brand-line strong { color: #fff; font-size: 15px; }
.lp-copy { max-width: 1180px; margin: 30px auto 0; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 11.5px; color: rgba(235,244,255,.55); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

@media (max-width: 1024px) {
  .lp-hero-inner { grid-template-columns: 1fr; padding-bottom: 40px; }
  .lp-mascot-wrap { order: -1; min-height: 300px; }
  .lp-mascot { width: min(330px, 80%); max-height: 340px; }
  .lp-stats-card { grid-template-columns: repeat(2, 1fr); }
  .lp-stats-card .lsc:nth-child(2) { border-right: 0; }
  .lp-split { grid-template-columns: 1fr; }
  .lp-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .lp-hero { padding-top: 34px; }
  .lp-section { padding: 44px 16px; }
  .lp-cta-inner { padding: 26px; }
  .lp-float { display: none; }
  .lp-footer-inner { grid-template-columns: 1fr; }
  .lp-stats-card .lsc { padding: 16px; }
  .lp-stats-card .lsc strong { font-size: 21px; }
}
