/* Tema Pramuka v2: identitas ungu dari mockup, dengan kedalaman, ritme, dan detail interaksi. */
@font-face { font-family: "Plus Jakarta Sans"; src: url("/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
:root {
  --ungu-950: #1f0c3d; --ungu-900: #2f1454; --ungu-800: #43197a; --ungu-700: #5a2a8c; --ungu-600: #683396; --ungu-500: #814bad; --ungu-400: #a67cd1; --ungu-300: #c9afe4;
  --ungu-200: #e9dcf7; --ungu-150: #f2e9fb; --ungu-100: #f7f2fd; --ungu-50: #fbf9fe;
  --ink: #221634; --ink-2: #5f5573; --ink-3: #8b819d; --line: #ece5f5; --line-2: #f3eef9; --white: #fff;
  --green: #17723a; --green-bg: #e3f8e8; --green-ring: #bfeccb; --amber: #8a5700; --amber-bg: #fff4d4; --amber-ring: #f6e2a6; --red: #b3261e; --red-bg: #fdeae8; --red-ring: #f8cdc9; --gray-bg: #f0eef4; --gray-ring: #e2dfe9;
  --grad: linear-gradient(135deg, #4e1f85 0%, #6b2fa0 55%, #8a4fc0 100%);
  --grad-soft: linear-gradient(145deg, #ffffff 0%, #f8f3fe 100%);
  --radius: 18px; --radius-sm: 12px;
  --shadow-1: 0 1px 2px rgba(47,20,84,.04), 0 2px 8px rgba(47,20,84,.04);
  --shadow-2: 0 2px 4px rgba(47,20,84,.05), 0 10px 28px rgba(67,25,122,.08);
  --shadow-3: 0 8px 16px rgba(47,20,84,.08), 0 24px 56px rgba(67,25,122,.18);
  --shadow-btn: 0 2px 4px rgba(67,25,122,.2), 0 6px 16px rgba(90,42,140,.26);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 14px/1.5 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased; font-feature-settings: "tnum" 1;
  background: radial-gradient(900px 420px at 100% -80px, #efe3fb 0, transparent 70%), radial-gradient(700px 420px at 22% 100%, #f3ecfc 0, transparent 70%), #faf8fd; background-attachment: fixed; }
a { color: var(--ungu-600); text-decoration: none; transition: color .15s; }
a:hover { color: var(--ungu-800); }
h1, h2, h3, p { margin: 0; }
svg.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.25em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ungu-500); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-2); } .small { font-size: 12.5px; } .nowrap { white-space: nowrap; } .right { text-align: right; }
.row { display: flex; align-items: center; gap: 10px; } .between { justify-content: space-between; } .wrap { flex-wrap: wrap; } .grow { flex: 1; min-width: 0; }
.mt-1 { margin-top: 6px; } .mt-2 { margin-top: 12px; } .mt-3 { margin-top: 18px; } .mb-2 { margin-bottom: 14px; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Tombol */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 17px; border-radius: 12px; border: 1px solid transparent; font-weight: 650; font-size: 13.5px; text-decoration: none; white-space: nowrap; transition: transform .12s, box-shadow .15s, background .15s, border-color .15s, color .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { color: #fff; background: var(--grad); box-shadow: var(--shadow-btn); }
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 4px 8px rgba(67,25,122,.24), 0 12px 24px rgba(90,42,140,.3); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ungu-700); box-shadow: var(--shadow-1); }
.btn-ghost:hover { background: var(--ungu-100); border-color: var(--ungu-300); color: var(--ungu-800); }
.btn-danger { background: #fff; border-color: var(--red-ring); color: var(--red); }
.btn-danger:hover { background: var(--red-bg); color: var(--red); }
.btn-sm { padding: 7px 12px; font-size: 12.5px; border-radius: 10px; }
.btn-block { width: 100%; }

/* Badge */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 650; white-space: nowrap; }
.badge svg.icon { font-size: 12px; stroke-width: 2.4; }
.badge-green { color: var(--green); background: var(--green-bg); box-shadow: inset 0 0 0 1px var(--green-ring); }
.badge-amber { color: var(--amber); background: var(--amber-bg); box-shadow: inset 0 0 0 1px var(--amber-ring); }
.badge-red { color: var(--red); background: var(--red-bg); box-shadow: inset 0 0 0 1px var(--red-ring); }
.badge-gray { color: var(--ink-2); background: var(--gray-bg); box-shadow: inset 0 0 0 1px var(--gray-ring); }
.badge-purple { color: var(--ungu-700); background: var(--ungu-150); box-shadow: inset 0 0 0 1px var(--ungu-200); }

/* Pesan */
.flash { display: flex; gap: 11px; align-items: flex-start; padding: 12px 15px; border-radius: var(--radius-sm); margin-bottom: 16px; font-weight: 550; overflow-wrap: anywhere; animation: rise .25s ease-out; }
.flash svg.icon { font-size: 15px; margin-top: 1px; }
.flash-ok { color: var(--green); background: var(--green-bg); box-shadow: inset 0 0 0 1px var(--green-ring); }
.flash-err { color: var(--red); background: var(--red-bg); box-shadow: inset 0 0 0 1px var(--red-ring); }
.flash-info { color: var(--ungu-800); background: var(--ungu-150); box-shadow: inset 0 0 0 1px var(--ungu-200); }

/* ==== Mode desktop ==== */
.shell { display: grid; grid-template-columns: 300px minmax(0, 1fr); min-height: 100vh; transition: grid-template-columns .2s ease; }
.shell.collapsed { grid-template-columns: 0 minmax(0, 1fr); }
.shell.collapsed .sidebar { visibility: hidden; }
.sidebar { background: #fff; box-shadow: 1px 0 0 var(--line), 6px 0 24px rgba(67,25,122,.04); padding: 18px 14px 14px; position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; z-index: 25; }
.sidebar .brand { display: block; padding: 2px 6px 16px; }
.sidebar .brand img { width: 232px; max-width: 100%; display: block; }
.sidebar nav { flex: 1; min-height: 0; overflow-y: auto; margin: 0 -6px; padding: 0 6px; scrollbar-width: thin; scrollbar-color: var(--ungu-200) transparent; }
.nav-item, .nav-group > summary { display: flex; align-items: center; gap: 11px; white-space: nowrap; width: 100%; padding: 8px 10px; border-radius: 13px; color: var(--ink); font-weight: 550; font-size: 14px; cursor: pointer; list-style: none; text-decoration: none; transition: background .15s, color .15s; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-item:hover, .nav-group > summary:hover { background: var(--ungu-100); color: var(--ungu-800); }
.nav-ic { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--ungu-100); color: var(--ungu-600); font-size: 14px; flex: none; transition: background .15s, color .15s, box-shadow .15s; }
.nav-item.active { background: var(--ungu-150); color: var(--ungu-800); font-weight: 750; }
.nav-item.active .nav-ic, .nav-group.has-active > summary .nav-ic { background: var(--grad); color: #fff; box-shadow: 0 3px 10px rgba(90,42,140,.32); }
.nav-group { margin-top: 3px; }
.nav-group > summary .chev { margin-left: auto; transition: transform .18s; color: var(--ink-3); font-size: 12px; }
.nav-group[open] > summary .chev { transform: rotate(90deg); }
.nav-group.has-active > summary { color: var(--ungu-800); font-weight: 750; }
.nav-sub { margin: 3px 0 8px 26px; padding-left: 14px; border-left: 2px solid var(--ungu-150); display: grid; gap: 1px; }
.nav-sub a { position: relative; display: flex; align-items: center; gap: 9px; padding: 6px 9px; border-radius: 9px; color: var(--ink-2); font-size: 13px; font-weight: 500; text-decoration: none; }
.nav-sub a svg.icon { font-size: 12px; color: var(--ungu-400); stroke-width: 2; transition: color .12s; }
.nav-sub a:hover { background: var(--ungu-100); color: var(--ungu-800); }
.nav-sub a:hover svg.icon, .nav-sub a.active svg.icon { color: var(--ungu-700); }
.nav-sub a.active { background: var(--ungu-150); color: var(--ungu-800); font-weight: 700; }
.nav-sub a.active::before { content: ""; position: absolute; left: -16px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--ungu-600); }
.side-foot { margin-top: 10px; padding: 11px 12px; border-radius: 14px; background: var(--grad-soft); box-shadow: inset 0 0 0 1px var(--line); display: flex; gap: 10px; align-items: center; }
.side-foot .ic { width: 32px; height: 32px; border-radius: 9px; background: var(--ungu-150); color: var(--ungu-700); display: flex; align-items: center; justify-content: center; flex: none; font-size: 13px; }
.side-foot b { display: block; font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.side-foot span { display: block; font-size: 11.5px; color: var(--ink-2); line-height: 1.35; }

.topbar { height: 64px; background: linear-gradient(100deg, #5a2a8c 0%, #6b34a0 55%, #7c45b3 100%); color: #fff; display: flex; align-items: center; gap: 16px; padding: 0 24px; position: sticky; top: 0; z-index: 20; box-shadow: 0 4px 18px rgba(67,25,122,.2); }
.topbar .burger { background: rgba(255,255,255,.1); border: 0; color: #fff; width: 38px; height: 38px; border-radius: 11px; font-size: 16px; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.topbar .burger:hover { background: rgba(255,255,255,.2); }
.topbar .app-name { font-weight: 750; font-size: 16.5px; letter-spacing: -.01em; padding-right: 16px; border-right: 1px solid rgba(255,255,255,.22); white-space: nowrap; }
.scope-picker { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.26); border-radius: 12px; padding: 0 12px; height: 40px; transition: background .15s; }
.scope-picker:hover { background: rgba(255,255,255,.18); }
.scope-picker select { appearance: none; -webkit-appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right center / 15px; color: #fff; border: 0; font: inherit; font-weight: 650; min-width: 180px; max-width: 250px; padding-right: 22px; outline: 0; cursor: pointer; }
.scope-picker select option { color: var(--ink); }
.topsearch { margin-left: auto; display: flex; align-items: center; gap: 9px; background: #fff; border-radius: 12px; height: 40px; padding: 0 13px; width: 340px; color: var(--ink-3); box-shadow: 0 2px 8px rgba(47,20,84,.16); }
.topsearch:focus-within { box-shadow: 0 0 0 3px rgba(255,255,255,.3), 0 2px 8px rgba(47,20,84,.16); }
.topsearch input { border: 0; outline: 0; font: inherit; width: 100%; color: var(--ink); background: transparent; }
.topsearch input::-webkit-search-cancel-button { display: none; }
.bell { position: relative; color: #fff; font-size: 16px; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.bell:hover { background: rgba(255,255,255,.14); color: #fff; }
.bell .dot { position: absolute; top: 3px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #f0705f; box-shadow: 0 0 0 2px #6b34a0; color: #fff; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; font-style: normal; }
.usermenu { position: relative; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.22); }
.usermenu summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; color: #fff; }
.usermenu summary::-webkit-details-marker { display: none; }
.usermenu summary .avatar { box-shadow: 0 0 0 2px rgba(255,255,255,.55); }
.avatar { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(135deg, #f0e6fb, #dcc9ee); color: var(--ungu-800); font-weight: 750; overflow: hidden; flex: none; width: 38px; height: 38px; font-size: 13px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.popover { position: absolute; right: 0; top: calc(100% + 10px); background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 0 0 1px var(--line), var(--shadow-3); min-width: 224px; padding: 6px; z-index: 40; animation: rise .14s ease-out; }
.popover a, .popover button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 9px; color: var(--ink); background: none; border: 0; text-align: left; font-size: 13.5px; font-weight: 500; text-decoration: none; white-space: normal; }
.popover a svg.icon, .popover button svg.icon { color: var(--ink-3); font-size: 13px; }
.popover a:hover, .popover button:hover { background: var(--ungu-100); color: var(--ungu-800); }
.popover .danger, .popover .danger svg.icon { color: var(--red); }
.popover .danger:hover { background: var(--red-bg); color: var(--red); }
.popover .head { padding: 8px 11px 11px; border-bottom: 1px solid var(--line-2); margin-bottom: 5px; }

.content { padding: 24px 26px 48px; min-width: 0; }
.content > * { animation: rise .28s ease-out backwards; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.page-head h1 { font-size: 29px; font-weight: 800; letter-spacing: -.025em; line-height: 1.18; color: var(--ungu-900); }
.page-head p { color: var(--ink-2); font-size: 15px; margin-top: 3px; }
.crumbs { font-size: 12.5px; color: var(--ink-3); margin-bottom: 4px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; background: #fff; color: var(--ungu-800); border-radius: 999px; font-size: 12.5px; font-weight: 650; white-space: nowrap; box-shadow: inset 0 0 0 1px var(--ungu-200), var(--shadow-1); }
.card { background: #fff; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line), var(--shadow-1); }
.card-pad { padding: 20px 22px; }
.card-title { font-size: 16.5px; font-weight: 750; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; color: var(--ungu-900); }
.card-title svg.icon { width: 32px; height: 32px; padding: 7px; border-radius: 10px; background: var(--ungu-150); color: var(--ungu-600); stroke-width: 2; }
.select-pill { display: inline-flex; align-items: center; gap: 9px; background: #fff; border-radius: 12px; padding: 0 13px; height: 42px; color: var(--ungu-600); box-shadow: 0 0 0 1px var(--line), var(--shadow-1); transition: box-shadow .15s; }
.select-pill:hover { box-shadow: 0 0 0 1px var(--ungu-300), var(--shadow-1); }
.select-pill select { border: 0; outline: 0; font: inherit; font-weight: 600; color: var(--ink); background: transparent; min-width: 165px; cursor: pointer; }
.filters { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; align-items: center; }

/* KPI */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.kpi { position: relative; overflow: hidden; background: var(--grad-soft); border-radius: var(--radius); padding: 18px 20px; display: flex; gap: 16px; align-items: center; color: inherit; text-decoration: none; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); transition: transform .16s, box-shadow .16s; }
.kpi::after { content: ""; position: absolute; right: -28px; top: -28px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, rgba(138,79,192,.14), transparent 70%); }
.kpi:hover { color: inherit; transform: translateY(-2px); box-shadow: 0 0 0 1px var(--ungu-300), var(--shadow-2); }
.kpi .ic { width: 56px; height: 56px; border-radius: 16px; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 21px; flex: none; box-shadow: 0 6px 16px rgba(90,42,140,.3); }
.kpi b { display: block; font-size: 30px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--ungu-900); }
.kpi span:not(.ic) { color: var(--ink-2); font-size: 14px; font-weight: 500; }
.dash-a { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr); gap: 16px; margin-bottom: 16px; }
.dash-b { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 16px; align-items: start; }

/* Chart */
.chart { width: 100%; height: auto; display: block; }
.chart .grid { stroke: #f0ebf7; stroke-width: 1; stroke-dasharray: 3 4; }
.chart .baseline { stroke: #d6cce6; stroke-width: 1; }
.chart .tick { fill: var(--ink-3); font-size: 11.5px; font-weight: 500; }
.chart .val { fill: var(--ungu-900); font-size: 11px; font-weight: 750; text-anchor: middle; }
.chart .bar { fill: url(#barFill); transition: opacity .12s; }
.chart g.mark:hover .bar { fill: var(--ungu-800); }
.chart .hit { fill: transparent; }
.donut-wrap { display: flex; align-items: center; gap: 22px; }
.donut { width: 186px; height: 186px; flex: none; filter: drop-shadow(0 6px 14px rgba(90,42,140,.14)); }
.donut circle.seg { transition: opacity .12s; }
.donut:hover circle.seg { opacity: .72; } .donut circle.seg:hover { opacity: 1; }
.donut .c1 { font-size: 24px; font-weight: 800; fill: var(--ungu-900); text-anchor: middle; letter-spacing: -.02em; } .donut .c2 { font-size: 11.5px; fill: var(--ink-2); text-anchor: middle; font-weight: 500; }
.legend { flex: 1; display: grid; gap: 2px; min-width: 0; }
.legend .item { display: grid; grid-template-columns: 12px 1fr auto; gap: 10px; align-items: center; font-size: 13px; padding: 8px 9px; border-radius: 9px; transition: background .12s; }
.legend .item:hover { background: var(--ungu-100); }
.legend i { width: 12px; height: 12px; border-radius: 4px; display: block; }
.legend .item span:last-child { font-weight: 650; }

/* Tabel */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: separate; border-spacing: 0; }
table.data th { text-align: left; background: var(--ungu-100); color: var(--ungu-800); font-weight: 700; font-size: 12.5px; padding: 11px 16px; white-space: nowrap; border-bottom: 1px solid var(--ungu-150); }
table.data td { padding: 12px 16px; border-bottom: 1px solid var(--line-2); vertical-align: middle; transition: background .1s; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover td { background: #fcf9ff; }
.card-pad table.data th:first-child { border-radius: 10px 0 0 10px; } .card-pad table.data th:last-child { border-radius: 0 10px 10px 0; }
.card-pad table.data th { border-bottom: 0; }
.cell-main { font-weight: 650; } .cell-sub { color: var(--ink-2); font-size: 12.5px; margin-top: 1px; }
td a .cell-main { color: var(--ungu-700); } td a:hover .cell-main { color: var(--ungu-900); }
.cell-person { display: flex; align-items: center; gap: 11px; }
.cell-person .avatar { width: 36px; height: 36px; font-size: 12px; }
.dt-no { width: 52px; text-align: center !important; color: var(--ink-2); font-weight: 600; font-size: 13px; }
table.data th.dt-no { color: var(--ungu-800); font-size: 12.5px; }
table.data th.actions-cell, table.data td.actions-cell { position: sticky; right: 0; text-align: right; width: 1%; white-space: nowrap; z-index: 1; }
table.data td.actions-cell { background: #fff; box-shadow: -10px 0 10px -10px rgba(47,20,84,.1); }
table.data th.actions-cell { background: var(--ungu-100); box-shadow: -10px 0 10px -10px rgba(47,20,84,.1); }
.card-pad table.data th.actions-cell, .card-pad table.data td.actions-cell { box-shadow: none; }
table.data tbody tr:hover td.actions-cell { background: #fcf9ff; }
table.data tr:has(details[open]) td.actions-cell { z-index: 6; }
.act-group { display: inline-flex; align-items: center; justify-content: flex-end; gap: 4px; }
.act-group > form { display: inline-flex; margin: 0; }
.popover form { display: block; width: 100%; margin: 0; }
.popover { text-align: left; }
.act-btn { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; border: 0; background: var(--ungu-100); color: var(--ungu-700); font-size: 13px; cursor: pointer; list-style: none; transition: background .12s, color .12s, transform .1s; }
.act-btn::-webkit-details-marker { display: none; }
.act-btn:hover, .kebab[open] .act-btn { background: var(--ungu-200); color: var(--ungu-900); }
.act-btn:active { transform: scale(.94); }
.act-danger { background: var(--red-bg); color: var(--red); }
.act-danger:hover { background: var(--red-ring); color: var(--red); }
.kebab { position: relative; display: inline-block; }
.kebab .popover { position: fixed; right: auto; top: auto; }
.toolbar { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line-2); }
.toolbar form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.searchbox { display: flex; gap: 8px; align-items: center; border-radius: 11px; padding: 0 12px; height: 40px; background: var(--ungu-50); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-3); transition: box-shadow .15s, background .15s; }
.searchbox:focus-within { background: #fff; box-shadow: inset 0 0 0 1px var(--ungu-400), 0 0 0 3px rgba(129,75,173,.13); }
.searchbox input { border: 0; outline: 0; font: inherit; width: 220px; color: var(--ink); background: transparent; }
.toolbar select { height: 40px; border: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: 11px; padding: 0 10px; font: inherit; font-weight: 550; background: var(--ungu-50); color: var(--ink); max-width: 210px; cursor: pointer; }
.empty { padding: 44px 18px; text-align: center; color: var(--ink-2); }
.empty-ic { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 16px; background: var(--ungu-150); color: var(--ungu-500); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.pagination { display: flex; gap: 5px; padding: 13px 16px; justify-content: flex-end; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--line-2); }
.pagination a, .pagination span.page { min-width: 34px; height: 34px; padding: 0 9px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-size: 13px; font-weight: 600; }
.pagination a:hover { background: var(--ungu-150); color: var(--ungu-800); }
.pagination .current { background: var(--grad); color: #fff; box-shadow: 0 3px 10px rgba(90,42,140,.3); }
.pagination .disabled { color: var(--ink-3); opacity: .55; }
.pagination .info { margin-right: auto; color: var(--ink-2); font-size: 13px; }
.subtabs { display: inline-flex; gap: 3px; margin-bottom: 18px; flex-wrap: wrap; padding: 4px; background: var(--ungu-150); border-radius: 13px; }
.subtabs a { padding: 7px 15px; color: var(--ungu-800); font-weight: 600; font-size: 13.5px; border-radius: 10px; text-decoration: none; transition: background .12s; }
.subtabs a:hover { background: rgba(255,255,255,.6); }
.subtabs a.active { color: var(--ungu-800); background: #fff; font-weight: 750; box-shadow: var(--shadow-1); }
.followups a { display: flex; align-items: center; gap: 14px; padding: 11px 8px; margin: 0 -8px; border-radius: 12px; color: inherit; text-decoration: none; transition: background .12s; }
.followups a:hover { background: var(--ungu-100); }
.followups .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--ungu-150); color: var(--ungu-600); display: flex; align-items: center; justify-content: center; font-size: 16px; flex: none; }
.followups .ttl { font-weight: 700; font-size: 14px; }
.followups a:hover .chevron { transform: translateX(2px); }
.chevron { transition: transform .12s; }
.datebox { width: 72px; height: 76px; background: var(--grad); color: #fff; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; box-shadow: 0 6px 16px rgba(90,42,140,.28); }
.datebox b { font-size: 26px; line-height: 1; font-weight: 800; }
.datebox .small { opacity: .9; font-weight: 600; margin-top: 2px; }

/* Formulir */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
.field label { font-weight: 650; font-size: 13px; color: var(--ungu-900); }
.req { color: var(--red); }
.input, .field input[type=text], .field input[type=email], .field input[type=number], .field input[type=password], .field input[type=date], .field input[type=time], .field input[type=datetime-local], .field input[type=file], .field select, .field textarea {
  width: 100%; min-height: 44px; border: 0; box-shadow: inset 0 0 0 1px #e2d9ef; border-radius: 12px; padding: 10px 13px; font: inherit; color: var(--ink); background: var(--ungu-50); transition: box-shadow .15s, background .15s; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 36px; background: var(--ungu-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23683396' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; }
.field textarea { min-height: 104px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { box-shadow: inset 0 0 0 1px var(--ungu-300); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; background-color: #fff; box-shadow: inset 0 0 0 1.5px var(--ungu-500), 0 0 0 4px rgba(129,75,173,.14); }
.field input[type=file] { padding: 7px 8px; }
.field input[type=file]::file-selector-button { font: inherit; font-weight: 650; font-size: 12.5px; color: var(--ungu-700); background: var(--ungu-150); border: 0; padding: 7px 13px; border-radius: 9px; margin-right: 10px; cursor: pointer; }
.field .help { color: var(--ink-3); font-size: 12px; }
.field .err { color: var(--red); font-size: 12.5px; font-weight: 550; }
.field.has-err input, .field.has-err select, .field.has-err textarea { box-shadow: inset 0 0 0 1.5px var(--red); }
.check { display: flex; align-items: center; gap: 10px; font-weight: 550; padding-top: 28px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ungu-600); }
.form-foot { display: flex; gap: 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line-2); justify-content: flex-end; }
.combo { position: relative; }
.combo-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border-radius: 13px; box-shadow: 0 0 0 1px var(--line), var(--shadow-3); z-index: 30; max-height: 240px; overflow-y: auto; padding: 5px; }
.combo-list button { display: block; width: 100%; background: none; border: 0; border-radius: 8px; text-align: left; padding: 9px 11px; font-size: 13.5px; }
.combo-list button:hover { background: var(--ungu-100); color: var(--ungu-800); }
dialog { border: 0; border-radius: 20px; padding: 0; width: min(460px, 92vw); box-shadow: var(--shadow-3); color: var(--ink); }
dialog[open] { animation: rise .18s ease-out; }
dialog::backdrop { background: rgba(31,12,61,.45); backdrop-filter: blur(3px); }
dialog form { padding: 22px; }
dialog h3 { font-size: 18px; font-weight: 750; margin-bottom: 16px; color: var(--ungu-900); }

/* Detail */
.split { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 16px; align-items: start; }
.stack { display: grid; gap: 16px; }
.kv { display: grid; grid-template-columns: 124px 1fr; gap: 9px 12px; font-size: 13.5px; margin: 0; }
.kv dt { color: var(--ink-2); } .kv dd { margin: 0; font-weight: 550; overflow-wrap: anywhere; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.stat { background: var(--grad-soft); border-radius: 15px; padding: 14px 16px; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); }
.stat b { font-size: 22px; font-weight: 800; display: block; letter-spacing: -.02em; color: var(--ungu-900); line-height: 1.25; } .stat span { font-size: 12.5px; color: var(--ink-2); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 16px 26px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 3px var(--ungu-200); }
.timeline li::after { content: ""; position: absolute; left: 9px; top: 20px; bottom: -3px; width: 2px; background: var(--ungu-200); }
.timeline li:last-child { padding-bottom: 0; } .timeline li:last-child::after { display: none; }
.timeline .d { font-size: 12.5px; color: var(--ink-2); } .timeline .t { font-weight: 700; }
.matrix th { white-space: normal !important; min-width: 88px; vertical-align: bottom; }
.matrix td:not(:first-child), .matrix th:not(:first-child) { text-align: center; }
.matrix input { width: 18px; height: 18px; accent-color: var(--ungu-600); }
.att-radio { display: inline-flex; gap: 12px; flex-wrap: wrap; }
.att-radio label { display: inline-flex; gap: 5px; align-items: center; font-size: 13px; cursor: pointer; } .att-radio input { accent-color: var(--ungu-600); }

/* Login */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.auth-side { position: relative; overflow: hidden; background: linear-gradient(150deg, #3f1774 0%, #5a2a8c 45%, #8a4fc0 100%); color: #fff; padding: 44px 52px; display: flex; flex-direction: column; }
.auth-side::before { content: ""; position: absolute; right: -130px; top: -130px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 68%); }
.auth-brand { position: relative; display: inline-block; align-self: flex-start; background: #fff; border-radius: 16px; padding: 10px 16px; box-shadow: 0 8px 24px rgba(31,12,61,.28); }
.auth-brand img { width: 206px; display: block; }
.auth-copy { position: relative; margin-top: auto; padding-top: 40px; max-width: 480px; z-index: 1; }
.auth-copy h2 { font-size: 36px; line-height: 1.16; font-weight: 800; letter-spacing: -.03em; }
.auth-copy p { margin-top: 12px; font-size: 15.5px; opacity: .88; }
.auth-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; }
.auth-points li { display: flex; gap: 11px; align-items: center; font-weight: 550; font-size: 14px; }
.auth-points svg.icon { width: 32px; height: 32px; padding: 7px; border-radius: 10px; background: rgba(255,255,255,.14); }
.auth-scene { position: relative; margin: 26px -52px -44px; color: #fff; display: block; width: calc(100% + 104px); height: auto; opacity: .3; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 28px 20px; }
.auth-card { width: min(410px, 100%); animation: rise .3s ease-out; }
.auth-card .logo { display: none; }
.auth-card h1 { font-size: 27px; font-weight: 800; letter-spacing: -.025em; color: var(--ungu-900); }
.auth-card .field { margin-top: 15px; }
.demo-box { margin-top: 22px; padding-top: 16px; border-top: 1px dashed var(--ungu-200); font-size: 12.5px; color: var(--ink-2); }
.demo-box code { color: var(--ungu-800); font-weight: 700; font-family: inherit; background: var(--ungu-150); padding: 2px 7px; border-radius: 6px; }
.demo-list { display: grid; gap: 5px; margin-top: 10px; }
.demo-list button { display: flex; width: 100%; align-items: center; gap: 10px; background: #fff; border: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: 11px; padding: 7px 10px; text-align: left; transition: box-shadow .12s, background .12s; }
.demo-list button:hover { background: var(--ungu-100); box-shadow: inset 0 0 0 1px var(--ungu-300); }
.demo-list .avatar { width: 30px; height: 30px; font-size: 11px; }
.demo-list b { display: block; color: var(--ungu-900); font-size: 12.5px; line-height: 1.3; }
.demo-list span.mail { display: block; color: var(--ink-3); font-size: 11.5px; line-height: 1.3; }
.demo-list em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 650; color: var(--ungu-700); background: var(--ungu-150); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 860px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-card .logo { display: block; width: 210px; margin: 0 auto 18px; }
}
.cert { background: #fff; width: min(820px, 100%); margin: 24px auto; border: 10px double var(--ungu-500); border-radius: 14px; padding: 38px 42px; text-align: center; box-shadow: var(--shadow-2); }
.cert h1 { color: var(--ungu-800); font-size: 30px; font-weight: 800; margin-top: 8px; }
.cert .name { font-size: 26px; font-weight: 800; margin: 12px 0; }
.cert .qr svg { width: 110px; height: 110px; }
@media print { .no-print { display: none !important; } body { background: #fff; } .cert { margin: 0; box-shadow: none; } }

/* ==== Mode mobile ==== */
body.mobile { background: radial-gradient(600px 400px at 90% 0, #e5d3fa 0, transparent 70%), radial-gradient(600px 500px at 0 100%, #e4d6f8 0, transparent 70%), #f3edfb; background-attachment: fixed; }
.phone { width: 100%; max-width: 460px; min-height: 100dvh; margin: 0 auto; background: #fff; display: flex; flex-direction: column; position: relative; }
@media (min-width: 520px) { .phone { box-shadow: 0 0 0 1px var(--line), 0 0 40px rgba(67,25,122,.1); } }
.m-body { flex: 1; padding: 18px 18px calc(88px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 16px; background: linear-gradient(180deg, #fff 0, #fbf8fe 100%); }
.m-body > * { animation: rise .26s ease-out backwards; }
.m-bell { position: relative; color: var(--ungu-700); font-size: 17px; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); flex: none; }
.m-bell .dot { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #e0604f; box-shadow: 0 0 0 2px #fff; color: #fff; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; font-style: normal; }
.m-title { font-size: 27px; font-weight: 800; color: var(--ungu-800); letter-spacing: -.03em; line-height: 1.18; }
.m-sub { color: var(--ink-2); font-size: 14.5px; }
.m-head { display: flex; align-items: center; gap: 10px; }
.m-back { color: var(--ungu-700); font-size: 15px; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--ungu-100); flex: none; }
.m-card { background: #fff; border-radius: 18px; padding: 15px 16px; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); }
.m-card.flush { padding: 4px 12px; }
.progress { height: 11px; border-radius: 8px; background: var(--ungu-150); overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, #6a3296, #a44ec9); }
.btn-pill { border-radius: 15px; padding: 13px 18px; font-size: 14.5px; }
.m-section { font-size: 18px; font-weight: 800; color: var(--ungu-800); letter-spacing: -.02em; margin-bottom: -6px; }
.ev { display: flex; align-items: center; gap: 12px; padding: 9px; border-radius: 18px; color: inherit; text-decoration: none; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); transition: box-shadow .15s, transform .15s; }
.ev:hover { color: inherit; transform: translateY(-1px); box-shadow: 0 0 0 1px var(--ungu-300), var(--shadow-2); }
.ev img { width: 92px; height: 66px; border-radius: 12px; object-fit: cover; flex: none; }
.ev .tt { font-weight: 750; font-size: 15px; line-height: 1.25; color: var(--ungu-900); }
.ev-banner { width: 100%; height: 160px; object-fit: cover; border-radius: 18px; display: block; box-shadow: var(--shadow-2); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--ungu-150); border-radius: 14px; padding: 4px; }
.seg a { text-align: center; padding: 8px; border-radius: 11px; font-weight: 650; color: var(--ungu-800); text-decoration: none; transition: background .12s; }
.seg a.active { background: var(--grad); color: #fff; box-shadow: 0 4px 12px rgba(90,42,140,.3); }
.ring-card { display: flex; align-items: center; gap: 20px; }
.ring { width: 104px; height: 104px; flex: none; }
.ring text { font-size: 20px; font-weight: 800; fill: var(--ungu-800); text-anchor: middle; dominant-baseline: central; letter-spacing: -.02em; }
.ring-info { border-left: 1px solid var(--line); padding-left: 18px; }
.item-row { display: flex; align-items: center; gap: 11px; padding: 11px 0; border-bottom: 1px solid var(--line-2); color: inherit; text-decoration: none; }
.item-row:first-child { padding-top: 2px; } .item-row:last-of-type { border-bottom: 0; }
.item-row:hover { color: inherit; }
.item-row .ic { width: 38px; height: 38px; border-radius: 11px; background: var(--ungu-150); color: var(--ungu-600); display: flex; align-items: center; justify-content: center; font-size: 15px; flex: none; }
.item-row .tt { flex: 1; font-weight: 550; font-size: 13.5px; min-width: 0; line-height: 1.35; }
.note { background: var(--ungu-100); border-radius: 13px; padding: 10px 13px; font-size: 12.5px; color: var(--ink-2); display: flex; align-items: center; gap: 9px; }
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; width: 100%; max-width: 460px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: #fff; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(67,25,122,.08); z-index: 10; }
.bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--ink-2); font-size: 11.5px; font-weight: 550; text-decoration: none; padding: 6px 0 5px; border-radius: 16px; transition: background .15s, color .15s; }
.bottom-nav a svg.icon { font-size: 16px; }
.bottom-nav a:hover { color: var(--ungu-800); }
.bottom-nav a.active { color: var(--ungu-800); font-weight: 800; background: var(--ungu-150); }
.m-form .field { margin-bottom: 14px; }
.m-form .field input[type=text], .m-form .field input[type=number], .m-form .field input[type=date], .m-form .field input[type=password], .m-form .field select, .m-form .field textarea { font-size: 16px; }
.ann { background: linear-gradient(135deg, #f7f1fe, #f1e7fb); border-radius: 16px; padding: 12px 15px; position: relative; box-shadow: inset 3px 0 0 var(--ungu-500); }

/* DataTables */
.dt-card { overflow: hidden; }
.dt-card .dt-container { padding: 0; }
.dt-container .dt-layout-row { margin: 0 !important; padding: 14px 16px; align-items: center; }
.dt-container .dt-layout-row.dt-layout-table { padding: 0; overflow-x: auto; }
.dt-container .dt-layout-row:first-child { border-bottom: 1px solid var(--line-2); gap: 12px; }
.dt-container .dt-layout-row:last-child { border-top: 1px solid var(--line-2); }
.dt-container .dt-layout-start, .dt-container .dt-layout-end { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dt-container .dt-length label, .dt-container .dt-info { color: var(--ink-2); font-size: 13px; font-weight: 500; }
.dt-container .dt-length { display: inline-flex; align-items: center; gap: 8px; }
.dt-container select.dt-input, .dt-filters select { height: 40px; border: 0 !important; box-shadow: inset 0 0 0 1px var(--line); border-radius: 11px !important; padding: 0 10px !important; font: inherit; font-weight: 550; background: var(--ungu-50) !important; color: var(--ink); cursor: pointer; max-width: 210px; }
.dt-container .dt-search { display: inline-flex; align-items: center; margin: 0; }
.dt-container .dt-search label { display: none; }
.dt-container .dt-search input.dt-input { width: 270px; height: 40px; margin: 0 !important; border: 0 !important; border-radius: 11px !important; font: inherit; color: var(--ink); padding: 0 13px 0 36px !important; box-shadow: inset 0 0 0 1px var(--line); background: var(--ungu-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b819d' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.300-4.300'/%3E%3C/svg%3E") no-repeat 12px center / 16px !important; }
.dt-container .dt-search input.dt-input:focus { outline: 0; background-color: #fff !important; box-shadow: inset 0 0 0 1px var(--ungu-400), 0 0 0 3px rgba(129,75,173,.13); }
.dt-filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 0; }
table.dataTable.data { margin: 0 !important; border-collapse: separate; border-bottom: 0 !important; }
table.dataTable.data > tbody > tr:last-child > td { border-bottom: 0 !important; }
table.dataTable.data > thead > tr > th, table.dataTable.data > thead > tr > td { border-bottom: 1px solid var(--ungu-150) !important; padding: 11px 16px !important; }
table.dataTable.data > tbody > tr > td { padding: 11px 16px !important; }
table.dataTable.data > thead > tr > th.dt-no, table.dataTable.data > tbody > tr > td.dt-no { padding-left: 10px !important; padding-right: 10px !important; }
table.dataTable.data th.dt-orderable-asc, table.dataTable.data th.dt-orderable-desc { cursor: pointer; }
table.dataTable.data th.dt-orderable-asc:hover, table.dataTable.data th.dt-orderable-desc:hover { outline: 0 !important; background: var(--ungu-150); }
table.dataTable.data th span.dt-column-order { opacity: .55; }
table.dataTable.data th.dt-ordering-asc, table.dataTable.data th.dt-ordering-desc { color: var(--ungu-900); background: var(--ungu-150); }
table.dataTable.data td.dt-empty { padding: 44px 16px !important; color: var(--ink-2); }
.dt-container .dt-paging { display: inline-flex; gap: 4px; }
.dt-container .dt-paging nav { display: inline-flex; gap: 4px; }
.dt-container .dt-paging .dt-paging-button { min-width: 34px; height: 34px; margin: 0 !important; padding: 0 9px !important; display: inline-flex; align-items: center; justify-content: center; border: 0 !important; border-radius: 10px !important; background: transparent !important; color: var(--ink-2) !important; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.dt-container .dt-paging .dt-paging-button:hover:not(.disabled):not(.current) { background: var(--ungu-150) !important; color: var(--ungu-800) !important; }
.dt-container .dt-paging .dt-paging-button.current, .dt-container .dt-paging .dt-paging-button.current:hover { background: var(--grad) !important; color: #fff !important; box-shadow: 0 3px 10px rgba(90,42,140,.3); }
.dt-container .dt-paging .dt-paging-button.disabled { opacity: .4; cursor: default; }
.dt-container .dt-processing { top: 96px !important; margin-top: 0 !important; width: auto !important; left: 50% !important; margin-left: 0 !important; transform: translateX(-50%); padding: 8px 16px !important; background: #fff; border-radius: 999px; box-shadow: 0 0 0 1px var(--line), var(--shadow-2); color: var(--ungu-700); font-weight: 650; font-size: 13px; z-index: 8; }
.dt-container .dt-processing > div:last-child { display: none; }
.dt-container .dt-failed { margin: 14px 16px 0; }

/* Beranda anggota: bento, kartu mesh gelap, tipografi besar */
.m-body { position: relative; isolation: isolate; }
.home-bg { position: absolute; inset: 0 0 auto 0; height: 340px; z-index: -1; pointer-events: none; animation: none !important;
  background: radial-gradient(70% 70% at 92% 0%, #e2cdfb 0%, transparent 70%), radial-gradient(60% 60% at 0% 12%, #f1e6fe 0%, transparent 70%); }
.h-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.h-logo { height: 40px; display: block; }
.h-head-actions { display: flex; align-items: center; gap: 8px; }
.h-me { display: block; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ungu-300); }
.h-me .avatar { width: 38px; height: 38px; font-size: 12.5px; display: flex; }
.h-hello { margin-top: 2px; }
.h-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--ungu-600); }
.h-hello h1 { font-size: 36px; line-height: 1.08; font-weight: 800; letter-spacing: -.04em; color: var(--ungu-950); margin-top: 2px; }
.h-tagline { margin-top: 6px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }

.pcard { position: relative; display: block; overflow: hidden; border-radius: 28px; padding: 18px 18px 14px; color: #fff; text-decoration: none; transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s;
  background: radial-gradient(110% 90% at 100% 0%, #a763e0 0%, transparent 55%), radial-gradient(90% 100% at 0% 100%, #7a3bb8 0%, transparent 62%), #35106a;
  box-shadow: 0 20px 40px -14px rgba(53,16,106,.65), inset 0 1px 0 rgba(255,255,255,.22); }
.pcard:hover { color: #fff; transform: translateY(-2px); }
.pcard:active { transform: scale(.985); }
.pcard::before { content: ""; position: absolute; left: 34%; top: -6px; width: 130px; height: 190px; background: url("/img/tunas.png") no-repeat center / contain; filter: brightness(0) invert(1) blur(1.5px); opacity: .07; pointer-events: none; }
.pcard > * { position: relative; }
.pcard-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pcard-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; }
.pcard-brand img { width: 28px; height: 28px; padding: 3px; background: #fff; border-radius: 50%; object-fit: contain; }
.pcard-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); white-space: nowrap; }
.pcard-chip svg.icon { font-size: 11px; stroke-width: 2.8; }
.pcard-main { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.pcard-name { font-size: 25px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.pcard-level { display: inline-block; margin-top: 9px; padding: 4px 12px; border-radius: 999px; background: #fff; color: var(--ungu-800); font-size: 12px; font-weight: 750; }
.pcard-no { margin-top: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .05em; opacity: .72; }
.pcard-qr { width: 100px; height: 100px; flex: none; padding: 7px; border-radius: 18px; background: #fff; box-shadow: 0 10px 22px rgba(20,4,45,.4); }
.pcard-qr svg { display: block; width: 100%; height: 100%; }
.pcard-noqr { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--ungu-700); font-size: 10.5px; font-weight: 650; text-align: center; line-height: 1.2; }
.pcard-noqr svg.icon { width: 24px; height: 24px; }
.pcard-foot { display: grid; gap: 4px; margin-top: 14px; padding-top: 11px; border-top: 1px solid rgba(255,255,255,.16); font-size: 12px; font-weight: 550; }
.pcard-foot span { display: flex; align-items: center; gap: 7px; opacity: .92; min-width: 0; }
.pcard-foot svg.icon { font-size: 11px; opacity: .85; }

.h-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.h-quick a { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--ungu-900); font-size: 11.5px; font-weight: 650; text-decoration: none; text-align: center; }
.h-quick a span { width: 100%; max-width: 68px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 20px; background: var(--ungu-150); color: var(--ungu-700); font-size: 18px; transition: background .15s, color .15s, transform .12s; }
.h-quick a:hover span { background: var(--ungu-700); color: #fff; }
.h-quick a:active span { transform: scale(.93); }
.h-ward { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 20px; background: var(--ungu-150); color: var(--ungu-900); text-decoration: none; }
.h-ward:hover { color: var(--ungu-900); background: var(--ungu-200); }
.h-ward .ic { width: 40px; height: 40px; border-radius: 14px; background: #fff; color: var(--ungu-700); display: flex; align-items: center; justify-content: center; font-size: 15px; flex: none; }
.h-ward b { display: block; font-size: 14px; font-weight: 750; } .h-ward small { display: block; font-size: 12px; color: var(--ink-2); }

.h-target { padding: 16px; border-radius: 26px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 12px 30px -16px rgba(67,25,122,.25); }
.h-target-row { display: flex; align-items: center; gap: 14px; }
.h-target h2 { font-size: 21px; line-height: 1.15; font-weight: 800; letter-spacing: -.03em; color: var(--ungu-900); margin: 1px 0 3px; }
.h-target-ic { width: 72px; height: 72px; border-radius: 22px; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; flex: none; }
.h-ring { width: 84px; height: 84px; flex: none; }
.h-ring text { font-size: 17px; font-weight: 800; fill: var(--ungu-800); text-anchor: middle; dominant-baseline: central; letter-spacing: -.03em; }
.h-pending { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; color: var(--ungu-700); background: var(--ungu-150); }
.h-pending svg.icon { font-size: 11px; }
.h-cta { width: 100%; border: 0; font-family: inherit; cursor: pointer; display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding: 7px 7px 7px 18px; border-radius: 999px; background: var(--ungu-900); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; transition: background .15s, transform .12s; }
.h-cta:hover { color: #fff; background: var(--ungu-800); }
.h-cta:disabled { opacity: .6; cursor: progress; }
.h-cta:active { transform: scale(.985); }
.h-cta span { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--ungu-900); display: flex; align-items: center; justify-content: center; font-size: 14px; transition: transform .15s; }
.h-cta:hover span { transform: translateX(2px); }

.h-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.h-stats a, .h-stat { padding: 13px 14px; border-radius: 20px; text-decoration: none; color: var(--ungu-900); background: var(--ungu-100); box-shadow: inset 0 0 0 1px var(--ungu-150); transition: transform .12s, background .15s; }
a.h-stat:hover, .h-stats a:hover { color: var(--ungu-900); background: var(--ungu-150); }
a.h-stat:active, .h-stats a:active { transform: scale(.97); }
.h-stats b { display: block; font-size: 27px; line-height: 1.05; font-weight: 800; letter-spacing: -.04em; }
.h-stats span { font-size: 12px; font-weight: 600; color: var(--ink-2); }

.h-section { display: grid; gap: 10px; min-width: 0; }
.h-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.h-section-head h2 { font-size: 19px; font-weight: 800; letter-spacing: -.03em; color: var(--ungu-950); }
.h-section-head a { font-size: 12.5px; font-weight: 700; }
.h-event { position: relative; display: block; overflow: hidden; height: 188px; border-radius: 26px; color: #fff; text-decoration: none; box-shadow: 0 16px 30px -16px rgba(53,16,106,.55); transition: transform .18s cubic-bezier(.2,.8,.2,1); }
.h-event:hover { color: #fff; transform: translateY(-2px); }
.h-event:active { transform: scale(.985); }
.h-event > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h-event::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(38,11,76,.92) 100%); }
.h-event-count { position: absolute; z-index: 1; left: 12px; top: 12px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 750; color: var(--ungu-900); background: rgba(255,255,255,.9); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.h-event-body { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 11px; }
.h-event-date { width: 50px; height: 54px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 15px; background: rgba(255,255,255,.18); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.h-event-date b { font-size: 20px; line-height: 1; font-weight: 800; } .h-event-date span { font-size: 11px; font-weight: 650; }
.h-event h3 { font-size: 17px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.h-event p { margin-top: 2px; font-size: 12px; font-weight: 500; opacity: .9; }
.h-event p svg.icon { font-size: 10.5px; }
.h-event-tag { padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 750; color: var(--ungu-900); background: #fff; white-space: nowrap; }
.h-event-go { width: 38px; height: 38px; flex: none; border-radius: 50%; background: #fff; color: var(--ungu-900); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.h-empty { display: flex; align-items: center; gap: 10px; padding: 16px; border-radius: 20px; color: var(--ink-2); font-size: 13.5px; background: var(--ungu-100); }
.h-anns { display: grid; gap: 8px; }
.h-ann { display: flex; gap: 12px; padding: 13px 14px; border-radius: 20px; background: var(--ungu-100); box-shadow: inset 0 0 0 1px var(--ungu-150); }
.h-ann .ic { width: 38px; height: 38px; border-radius: 13px; background: var(--ungu-700); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; flex: none; }
.h-ann h3 { font-size: 14px; font-weight: 750; letter-spacing: -.01em; color: var(--ungu-900); line-height: 1.3; }
.h-ann p { margin-top: 1px; font-size: 12.5px; color: var(--ink-2); line-height: 1.4; }
.h-feed { display: grid; gap: 2px; }
.h-feed-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.h-feed-row .ic { width: 38px; height: 38px; border-radius: 50%; background: var(--ungu-150); color: var(--ungu-700); display: flex; align-items: center; justify-content: center; font-size: 14px; flex: none; }
.h-feed-row b { display: block; font-size: 13.5px; font-weight: 650; line-height: 1.3; color: var(--ungu-950); }
.h-feed-row small { display: block; font-size: 12px; color: var(--ink-3); }
@keyframes h-ring { from { stroke-dasharray: 0 214; } }
.h-ring-val { animation: h-ring .8s cubic-bezier(.2,.8,.2,1) .15s backwards; }

/* Journey anggota: hero peta tingkat, jalur butir, dan riwayat per bulan */
.j-head { display: flex; align-items: flex-start; gap: 12px; }
.j-title { font-size: 32px; line-height: 1.08; font-weight: 800; letter-spacing: -.04em; color: var(--ungu-950); }
.jhero { position: relative; overflow: hidden; border-radius: 28px; padding: 18px; color: #fff;
  background: radial-gradient(110% 90% at 100% 0%, #a763e0 0%, transparent 55%), radial-gradient(90% 100% at 0% 100%, #7a3bb8 0%, transparent 62%), #35106a;
  box-shadow: 0 20px 40px -14px rgba(53,16,106,.65), inset 0 1px 0 rgba(255,255,255,.22); }
.jhero-main { display: flex; align-items: center; gap: 12px; }
.jhero-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .02em; opacity: .8; }
.jhero h2 { font-size: 25px; line-height: 1.12; font-weight: 800; letter-spacing: -.03em; margin-top: 2px; }
.jhero-count { margin-top: 7px; font-size: 13px; font-weight: 550; opacity: .92; }
.jhero-ring { width: 88px; height: 88px; flex: none; }
.jhero-ring text { font-size: 19px; font-weight: 800; fill: #fff; text-anchor: middle; dominant-baseline: central; letter-spacing: -.03em; }
.jsteps { list-style: none; display: flex; margin: 16px 0 0; padding: 13px 0 0; border-top: 1px solid rgba(255,255,255,.16); }
.jsteps li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; }
.jsteps li + li::before { content: ""; position: absolute; top: 13px; right: 50%; left: -50%; height: 2px; background: rgba(255,255,255,.22); }
.jsteps li.is-done + li::before { background: #fff; }
.jsteps .dot { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 750; background: #4a1f85; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); color: rgba(255,255,255,.85); }
.jsteps .dot svg.icon { font-size: 11px; stroke-width: 2.6; }
.jsteps .is-done .dot { background: #fff; color: var(--ungu-800); box-shadow: none; }
.jsteps .is-current .dot { background: #fff; color: var(--ungu-800); box-shadow: 0 0 0 4px rgba(255,255,255,.26); }
.jsteps .lbl { font-size: 11.5px; font-weight: 600; opacity: .78; text-align: center; line-height: 1.2; overflow-wrap: anywhere; }
.jsteps .is-current .lbl, .jsteps .is-done .lbl { opacity: 1; }
.jsteps .is-current .lbl { font-weight: 800; }

.jcounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.jcounts div { padding: 10px 12px; border-radius: 16px; background: var(--ungu-100); box-shadow: inset 0 0 0 1px var(--ungu-150); }
.jcounts b { display: block; font-size: 22px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; color: var(--ungu-900); }
.jcounts span { font-size: 11.5px; font-weight: 600; color: var(--ink-2); }

.jpath { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 10px; }
.jpath-item { position: relative; display: flex; gap: 11px; }
.jpath-item:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 34px; bottom: -10px; width: 2px; background: var(--ungu-200); }
.jpath-item.is-passed:not(:last-child)::before { background: var(--ungu-500); }
.jpath-dot { position: relative; z-index: 1; width: 34px; height: 34px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; background: #fff; color: var(--ungu-700); box-shadow: inset 0 0 0 2px var(--ungu-200); }
.jpath-dot svg.icon { stroke-width: 2.5; font-size: 12.5px; }
.is-passed > .jpath-dot { background: var(--grad); color: #fff; box-shadow: 0 4px 10px rgba(90,42,140,.3); }
.is-pending > .jpath-dot { background: var(--gray-bg); color: var(--ink-2); box-shadow: inset 0 0 0 2px var(--gray-ring); }
.is-revision > .jpath-dot { background: var(--amber-bg); color: var(--amber); box-shadow: inset 0 0 0 2px var(--amber-ring); }
.is-failed > .jpath-dot { background: var(--red-bg); color: var(--red); box-shadow: inset 0 0 0 2px var(--red-ring); }
.jpath-card { flex: 1; min-width: 0; display: block; padding: 12px 14px; border-radius: 18px; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); transition: box-shadow .15s, transform .12s; }
a.jpath-card:hover { color: inherit; box-shadow: 0 0 0 1px var(--ungu-300), var(--shadow-2); }
a.jpath-card:active { transform: scale(.985); }
.jpath-text { font-size: 14px; font-weight: 650; line-height: 1.35; color: var(--ungu-950); }
.jpath-meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.jpath-note { display: flex; gap: 7px; margin-top: 8px; padding: 8px 10px; border-radius: 11px; font-size: 12.5px; line-height: 1.4; color: var(--amber); background: var(--amber-bg); }
.jpath-note svg.icon { font-size: 11.5px; margin-top: 1px; }
.jpath-go { display: flex; align-items: center; justify-content: flex-end; gap: 5px; margin-top: 6px; font-size: 12.5px; font-weight: 750; color: var(--ungu-700); }
.jpath-go svg.icon { font-size: 11.5px; }
.jdone { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 18px; color: var(--ungu-900); background: var(--ungu-150); }
.jdone > svg.icon { width: 38px; height: 38px; padding: 9px; flex: none; border-radius: 12px; background: #fff; color: var(--ungu-700); }
.jdone b { display: block; font-size: 14px; font-weight: 750; } .jdone p { font-size: 12.5px; color: var(--ink-2); }

.jskk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.jskk-card { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; min-width: 0; padding: 13px; border-radius: 20px; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); transition: box-shadow .15s, transform .12s; }
a.jskk-card:hover { color: inherit; box-shadow: 0 0 0 1px var(--ungu-300), var(--shadow-2); }
a.jskk-card:active { transform: scale(.98); }
.jskk-card b { flex: 1; font-size: 13.5px; font-weight: 750; line-height: 1.25; letter-spacing: -.01em; color: var(--ungu-950); }
.jskk-card small { font-size: 11.5px; line-height: 1.3; color: var(--ink-2); }
.jskk-ic { width: 36px; height: 36px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 14px; background: var(--ungu-150); color: var(--ungu-700); }
.jskk-card.is-done { background: var(--ungu-100); }
.jskk-card.is-done .jskk-ic { background: var(--grad); color: #fff; }
.jskk-bar { width: 100%; height: 6px; border-radius: 4px; overflow: hidden; background: var(--ungu-150); }
.jskk-card.is-done .jskk-bar { background: var(--ungu-200); }
.jskk-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #6a3296, #a44ec9); }
.jskk-card.is-new { background: transparent; box-shadow: none; border: 1.5px dashed var(--ungu-300); margin: 0; }
.jskk-start { padding: 6px 15px; border: 0; border-radius: 999px; font-size: 12.5px; font-weight: 750; color: #fff; background: var(--ungu-900); transition: background .15s, transform .12s; }
.jskk-start:hover { background: var(--ungu-700); }
.jskk-start:active { transform: scale(.96); }

.jline { display: grid; gap: 0; }
.jline .h-feed-row { position: relative; }
.jline .h-feed-row:not(:last-child)::before { content: ""; position: absolute; left: 18px; top: 44px; bottom: -8px; width: 2px; background: var(--ungu-150); }
.jmonth { font-size: 12.5px; font-weight: 750; color: var(--ungu-600); margin-top: 4px; }
.jattempt { padding: 13px 14px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); }
.jattempt-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; }
.jattempt-top small { font-size: 11.5px; color: var(--ink-3); }
.jattempt h3 { font-size: 14px; font-weight: 650; line-height: 1.35; color: var(--ungu-950); }
.jattempt-note { margin-top: 8px; padding: 8px 11px; border-radius: 11px; font-size: 12.5px; color: var(--ink-2); background: var(--ungu-100); }

/* Bersama: daftar, kosong, filter */
.xempty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 34px 20px; text-align: center; border-radius: 24px; background: var(--ungu-100); box-shadow: inset 0 0 0 1px var(--ungu-150); }
.xempty > span { width: 60px; height: 60px; margin-bottom: 6px; display: flex; align-items: center; justify-content: center; border-radius: 20px; font-size: 21px; color: var(--ungu-700); background: #fff; box-shadow: var(--shadow-1); }
.xempty b { font-size: 16px; font-weight: 800; letter-spacing: -.02em; color: var(--ungu-900); }
.xempty p { font-size: 13px; color: var(--ink-2); max-width: 280px; }
.xempty .btn { margin-top: 8px; }
.xcount { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 800; color: var(--ungu-700); background: var(--ungu-150); }
.xlist { display: grid; padding: 4px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); }
.xrow { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 18px; color: inherit; text-decoration: none; transition: background .12s; }
a.xrow:hover { color: inherit; background: var(--ungu-100); }
a.xrow:active { background: var(--ungu-150); }
.xrow-ic { width: 42px; height: 42px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 14px; font-size: 15px; color: var(--ungu-700); background: var(--ungu-150); }
.xrow-ic.is-solid { color: #fff; background: var(--grad); }
.xrow b { display: block; font-size: 14px; font-weight: 750; letter-spacing: -.01em; line-height: 1.3; color: var(--ungu-950); }
.xrow small { display: block; font-size: 12px; line-height: 1.35; color: var(--ink-2); }
.xchev { color: var(--ink-3); font-size: 12px; }
.xpills { display: flex; gap: 8px; }
.xpills a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 12px; border-radius: 14px; font-size: 13px; font-weight: 700; color: var(--ungu-800); background: #fff; text-decoration: none; box-shadow: inset 0 0 0 1px var(--ungu-200); transition: background .12s; }
.xpills a em { font-style: normal; font-size: 11px; padding: 1px 7px; border-radius: 999px; background: var(--ungu-150); }
.xpills a.active { color: #fff; background: var(--ungu-900); box-shadow: none; }
.xpills a.active em { color: var(--ungu-900); background: #fff; }
.xfilter { display: flex; gap: 6px; overflow-x: auto; margin: 0 -18px; padding: 2px 18px; scrollbar-width: none; }
.xfilter::-webkit-scrollbar { display: none; }
.xfilter a { flex: none; padding: 6px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 650; color: var(--ungu-800); background: var(--ungu-100); text-decoration: none; box-shadow: inset 0 0 0 1px var(--ungu-150); }
.xfilter a.active { color: var(--ungu-800); background: var(--ungu-200); box-shadow: inset 0 0 0 1.5px var(--ungu-500); font-weight: 750; }

/* Ringkasan gelap */
.jsum { display: flex; align-items: center; gap: 12px; padding: 18px; border-radius: 24px; color: #fff; background: radial-gradient(110% 100% at 100% 0%, #a763e0 0%, transparent 55%), #35106a; box-shadow: 0 16px 30px -14px rgba(53,16,106,.6), inset 0 1px 0 rgba(255,255,255,.22); }
.jsum h2 { font-size: 23px; line-height: 1.15; font-weight: 800; letter-spacing: -.03em; margin-top: 2px; }
.jsum-main { flex: 1; min-width: 0; }
.jsum-ic { width: 52px; height: 52px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 17px; font-size: 19px; background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.jsum-grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); }
.jsum-grid div + div { border-left: 1px solid rgba(255,255,255,.18); padding-left: 16px; }
.jsum-grid b { display: block; font-size: 28px; line-height: 1.05; font-weight: 800; letter-spacing: -.04em; }
.jsum-grid span { font-size: 12px; font-weight: 600; opacity: .85; }

/* Kegiatan */
.ecard { border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); overflow: hidden; transition: box-shadow .15s, transform .12s; }
.ecard:hover { box-shadow: 0 0 0 1px var(--ungu-300), var(--shadow-2); }
.ecard:active { transform: scale(.99); }
.ecard.is-muted { opacity: .62; }
.ecard-link { display: flex; align-items: center; gap: 12px; padding: 12px; color: inherit; text-decoration: none; }
.ecard-link:hover { color: inherit; }
.ecard-date { width: 56px; height: 64px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 16px; color: #fff; background: var(--grad); box-shadow: 0 6px 14px -4px rgba(90,42,140,.45); }
.ecard-date b { font-size: 22px; line-height: 1; font-weight: 800; } .ecard-date span { font-size: 11.5px; font-weight: 650; margin-top: 2px; }
.ecard h3 { font-size: 15.5px; line-height: 1.22; font-weight: 800; letter-spacing: -.02em; color: var(--ungu-950); }
.ecard-loc { margin-top: 2px; font-size: 12px; color: var(--ink-2); }
.ecard-loc svg.icon { font-size: 10.5px; }
.ecard-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 5px; margin-top: 7px; }
.ecard-tags > span:not(.badge) { padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 650; color: var(--ungu-800); background: var(--ungu-150); }
.ecard-tags .badge { font-size: 11px; padding: 2px 9px; }
.ecard-chev { color: var(--ink-3); font-size: 12px; }
.ecard-cert { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 9px; font-size: 12.5px; font-weight: 750; color: var(--ungu-700); background: var(--ungu-100); border-top: 1px solid var(--ungu-150); text-decoration: none; }
.ecard-cert:hover { color: var(--ungu-900); background: var(--ungu-150); }

/* Paspor */
.pp-hero { position: relative; overflow: hidden; border-radius: 28px; padding: 18px; color: #fff; background: radial-gradient(110% 90% at 100% 0%, #a763e0 0%, transparent 55%), radial-gradient(90% 100% at 0% 100%, #7a3bb8 0%, transparent 62%), #35106a; box-shadow: 0 20px 40px -14px rgba(53,16,106,.65), inset 0 1px 0 rgba(255,255,255,.22); }
.pp-hero::before { content: ""; position: absolute; right: -6px; top: -8px; width: 110px; height: 160px; background: url("/img/tunas.png") no-repeat center / contain; filter: brightness(0) invert(1) blur(1.5px); opacity: .08; pointer-events: none; }
.pp-hero > * { position: relative; }
.pp-id { display: flex; align-items: center; gap: 14px; }
.pp-avatar { flex: none; display: block; border-radius: 50%; padding: 3px; background: linear-gradient(135deg, #fff, #cdb0ee); box-shadow: 0 10px 22px rgba(20,4,45,.4); }
.pp-avatar .avatar { display: flex; width: 82px; height: 82px; font-size: 26px; background: linear-gradient(135deg, #f3e9fd, #d9c4f1); }
.pp-hero h2, .kcard h2 { font-size: 23px; line-height: 1.12; font-weight: 800; letter-spacing: -.03em; }
.pp-hero .pcard-level, .kcard .pcard-level { margin-top: 7px; }
.pp-chips { margin-top: 7px; }
.pp-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 14px; margin: 15px 0 0; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.16); }
.pp-facts .wide { grid-column: 1 / -1; }
.pp-facts dt { font-size: 11px; font-weight: 600; opacity: .72; }
.pp-facts dd { margin: 1px 0 0; font-size: 13px; font-weight: 650; line-height: 1.3; overflow-wrap: anywhere; }
.shields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; padding: 14px 8px; border-radius: 22px; background: linear-gradient(145deg, #fff, #f8f3fe); box-shadow: 0 0 0 1px var(--line), var(--shadow-1); }
.shield { min-width: 0; text-align: center; line-height: 1.25; }
.shield svg { width: 62px; height: 72px; display: block; margin: 0 auto 6px; filter: drop-shadow(0 6px 10px rgba(90,42,140,.3)); }
.shield b { display: block; font-size: 11.5px; font-weight: 700; color: var(--ungu-950); }
.shield small { display: block; margin-top: 1px; font-size: 10.5px; color: var(--ink-3); }

/* Daftar sertifikat */
.csum { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 15px 16px; border-radius: 22px; background: var(--ungu-150); }
.csum-ic { width: 46px; height: 46px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 15px; font-size: 17px; color: #fff; background: var(--grad); }
.csum b { display: block; font-size: 25px; line-height: 1; font-weight: 800; letter-spacing: -.03em; color: var(--ungu-900); }
.csum .grow span { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.csum p { flex-basis: 100%; font-size: 12px; color: var(--ink-2); }
.ccard { position: relative; display: flex; align-items: center; gap: 12px; padding: 13px 12px 13px 16px; overflow: hidden; border-radius: 20px; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); transition: box-shadow .15s, transform .12s; }
.ccard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--grad); }
.ccard:hover { color: inherit; box-shadow: 0 0 0 1px var(--ungu-300), var(--shadow-2); }
.ccard:active { transform: scale(.99); }
.ccard.is-void { opacity: .68; } .ccard.is-void::before { background: var(--red-ring); }
.ccard-seal { width: 48px; height: 48px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 17px; color: var(--ungu-700); background: var(--ungu-150); box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--ungu-200); }
.ccard h3 { font-size: 14.5px; line-height: 1.25; font-weight: 750; letter-spacing: -.015em; color: var(--ungu-950); }
.ccard p { margin-top: 1px; font-size: 12px; color: var(--ink-2); }
.ccard-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; font-size: 11.5px; color: var(--ink-3); }

/* Lembar sertifikat */
.cx-body { min-height: 100vh; padding: 14px; background: radial-gradient(800px 500px at 100% 0, #e5d3fa 0, transparent 70%), radial-gradient(700px 500px at 0 100%, #e4d6f8 0, transparent 70%), #f3edfb; background-attachment: fixed; }
.cx-bar { max-width: 980px; margin: 0 auto 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.cx-bar-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.cx-sheet { position: relative; max-width: 980px; margin: 0 auto; padding: 12px; overflow: hidden; border-radius: 10px; background: linear-gradient(135deg, #35106a, #7a3bb8 55%, #a763e0); box-shadow: var(--shadow-3); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.cx-inner { position: relative; display: flex; flex-direction: column; align-items: center; height: 100%; padding: 30px 38px 22px; overflow: hidden; text-align: center; border-radius: 4px; background: radial-gradient(420px 300px at 0 0, #f3e9fd, transparent 70%), radial-gradient(420px 300px at 100% 100%, #efe3fb, transparent 70%), #fff; box-shadow: inset 0 0 0 1px var(--ungu-200), inset 0 0 0 7px #fff, inset 0 0 0 8px var(--ungu-300); }
.cx-inner::before { content: ""; position: absolute; left: 50%; top: 50%; width: 300px; height: 440px; transform: translate(-50%, -50%); background: url("/img/tunas.png") no-repeat center / contain; opacity: .05; filter: blur(1.5px); pointer-events: none; }
.cx-inner > * { position: relative; }
.cx-logo { width: 196px; max-width: 70%; }
.cx-kicker { margin-top: 12px; font-size: 11.5px; font-weight: 750; letter-spacing: .24em; text-transform: uppercase; color: var(--ungu-600); }
.cx-inner h1 { font-size: 46px; line-height: 1.05; font-weight: 800; letter-spacing: -.035em; color: var(--ungu-800); }
.cx-no { margin-top: 3px; font-size: 12px; font-weight: 600; color: var(--ink-2); overflow-wrap: anywhere; }
.cx-given { margin-top: 18px; font-size: 13.5px; color: var(--ink-2); }
.cx-name { margin-top: 2px; padding: 0 22px 6px; font-size: 38px; line-height: 1.12; font-weight: 800; letter-spacing: -.03em; color: var(--ungu-950); border-bottom: 2px solid var(--ungu-300); }
.cx-member { margin-top: 5px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--ink-3); }
.cx-reason { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }
.cx-title { font-size: 20px; line-height: 1.25; font-weight: 750; letter-spacing: -.02em; color: var(--ungu-800); }
.cx-foot { width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-top: auto; padding-top: 18px; text-align: left; }
.cx-issuer small { display: block; font-size: 11.5px; color: var(--ink-2); }
.cx-issuer b { display: block; font-size: 15.5px; font-weight: 800; letter-spacing: -.015em; color: var(--ungu-900); }
.cx-issuer span { display: block; font-size: 12.5px; color: var(--ink-2); }
.cx-qr { flex: none; text-align: center; }
.cx-qr svg { display: block; width: 84px; height: 84px; margin: 0 auto 3px; padding: 4px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--ungu-200); }
.cx-qr small { display: block; font-size: 9.5px; color: var(--ink-2); }
.cx-sample { margin-top: 10px; font-size: 10.5px; color: var(--ink-3); }
.cx-sheet.is-void .cx-inner > * { opacity: .55; }
.cx-stamp { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-12deg); padding: 9px 24px; border: 3px solid var(--red); border-radius: 10px; font-size: 24px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; color: var(--red); background: rgba(255,255,255,.88); }
@media (max-width: 620px) {
  .cx-body { padding: 10px; }
  .cx-sheet { padding: 7px; }
  .cx-inner { padding: 22px 18px 16px; }
  .cx-inner h1 { font-size: 34px; }
  .cx-name { font-size: 27px; padding: 0 8px 5px; }
  .cx-title { font-size: 16.5px; }
  .cx-stamp { font-size: 16px; padding: 7px 14px; }
  .cx-qr svg { width: 72px; height: 72px; }
}
@media print {
  @page { size: A4 landscape; margin: 0; }
  html, body, .cx-body { padding: 0; background: #fff; }
  .cx-sheet { width: 297mm; height: 210mm; max-width: none; margin: 0; border-radius: 0; box-shadow: none; }
  .cx-inner { padding: 13mm 20mm 8mm; }
  .cx-logo { width: 62mm; }
  .cx-kicker { margin-top: 5mm; font-size: 13px; }
  .cx-inner h1 { font-size: 66px; }
  .cx-no { font-size: 13px; }
  .cx-given { margin-top: 9mm; font-size: 16px; }
  .cx-name { font-size: 52px; padding: 0 12mm 2mm; }
  .cx-member { font-size: 13px; }
  .cx-reason { margin-top: 6mm; font-size: 16px; }
  .cx-title { font-size: 26px; }
  .cx-qr svg { width: 30mm; height: 30mm; }
}

/* Riwayat keanggotaan */
.rpath { list-style: none; margin: 0; padding: 4px 12px; display: grid; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); }
.rpath li { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.rpath li + li { border-top: 1px solid var(--line-2); }
.rpath-dot { width: 40px; height: 40px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 13px; font-size: 14px; color: var(--ungu-500); background: var(--ungu-100); }
.rpath li.is-current .rpath-dot { color: #fff; background: var(--grad); box-shadow: 0 5px 12px -3px rgba(90,42,140,.45); }
.rpath b { display: block; font-size: 14px; font-weight: 750; letter-spacing: -.01em; line-height: 1.3; color: var(--ungu-950); }
.rpath small { display: block; font-size: 12px; line-height: 1.35; color: var(--ink-2); }

/* Kartu digital */
.kcard { position: relative; overflow: hidden; border-radius: 30px; padding: 18px; color: #fff; background: radial-gradient(110% 70% at 100% 0%, #a763e0 0%, transparent 55%), radial-gradient(90% 70% at 0% 100%, #7a3bb8 0%, transparent 62%), #35106a; box-shadow: 0 24px 44px -16px rgba(53,16,106,.7), inset 0 1px 0 rgba(255,255,255,.22); }
.kcard::before { content: ""; position: absolute; right: -12px; bottom: -12px; width: 130px; height: 190px; background: url("/img/tunas.png") no-repeat center / contain; filter: brightness(0) invert(1) blur(1.5px); opacity: .07; pointer-events: none; }
.kcard > * { position: relative; }
.kcard-qr { width: min(268px, 78%); aspect-ratio: 1; margin: 18px auto 16px; padding: 14px; border-radius: 26px; background: #fff; box-shadow: 0 16px 34px rgba(20,4,45,.45); }
.kcard-qr svg { display: block; width: 100%; height: 100%; }
.kcard-noqr { display: flex; flex-direction: column; align-items: center; gap: 5px; margin: 18px 0 16px; padding: 28px 18px; text-align: center; border-radius: 22px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.kcard-noqr svg.icon { width: 34px; height: 34px; opacity: .85; }
.kcard-noqr b { font-size: 15px; font-weight: 800; } .kcard-noqr span { font-size: 12.5px; opacity: .85; }
.kcard-who { display: flex; align-items: center; gap: 12px; }
.kcard-avatar { flex: none; display: block; border-radius: 50%; padding: 2px; background: rgba(255,255,255,.7); }
.kcard-avatar .avatar { display: flex; width: 54px; height: 54px; font-size: 17px; }
.ksteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ksteps li { display: flex; align-items: center; gap: 11px; font-size: 13px; font-weight: 550; color: var(--ink-2); line-height: 1.35; }
.ksteps span { width: 26px; height: 26px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 12px; font-weight: 800; color: var(--ungu-700); background: var(--ungu-150); }

/* Notifikasi */
.nread-all { display: inline-flex; align-items: center; gap: 5px; padding: 7px 11px; border: 0; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; color: var(--ungu-800); background: var(--ungu-150); transition: background .12s; }
.nread-all:hover { background: var(--ungu-200); }
.nread-all svg.icon { font-size: 11px; stroke-width: 2.6; }
.ngroup { font-size: 13px; font-weight: 750; color: var(--ungu-600); margin-bottom: -2px; }
.nlist { display: grid; gap: 8px; }
.nrow { display: flex; align-items: flex-start; gap: 12px; padding: 13px; border-radius: 20px; color: inherit; text-decoration: none; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); transition: box-shadow .15s, transform .12s; }
.nrow:hover { color: inherit; box-shadow: 0 0 0 1px var(--ungu-300), var(--shadow-2); }
.nrow:active { transform: scale(.99); }
.nrow > .xchev { align-self: center; }
.nrow-ic { width: 42px; height: 42px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 14px; font-size: 15px; color: var(--ungu-500); background: var(--ungu-100); }
.nrow-top { display: flex; align-items: center; gap: 7px; }
.nrow b { font-size: 14px; font-weight: 650; line-height: 1.3; letter-spacing: -.01em; color: var(--ink-2); }
.nrow p { margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.nrow small { display: block; margin-top: 4px; font-size: 11.5px; font-weight: 550; color: var(--ink-3); }
.nrow-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--ungu-600); box-shadow: 0 0 0 3px var(--ungu-200); }
.nrow.is-unread { background: linear-gradient(135deg, #fbf7ff, #f4ecfd); box-shadow: 0 0 0 1px var(--ungu-200), var(--shadow-1); }
.nrow.is-unread b { font-weight: 800; color: var(--ungu-950); }
.nrow.is-unread p { color: var(--ink); }
.nrow.is-unread .nrow-ic { color: #fff; background: var(--grad); box-shadow: 0 5px 12px -3px rgba(90,42,140,.45); }

/* Detail kegiatan */
.ehero { position: relative; overflow: hidden; height: 244px; margin: -18px -18px 0; border-radius: 0 0 28px 28px; color: #fff; box-shadow: 0 16px 30px -18px rgba(53,16,106,.6); animation: none !important; }
.ehero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ehero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38,11,76,.05) 25%, rgba(38,11,76,.92) 100%); }
.ehero-back { position: absolute; z-index: 1; left: 14px; top: 14px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 14px; font-size: 15px; color: var(--ungu-900); background: rgba(255,255,255,.9); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ehero-count { left: auto; right: 14px; top: 20px; }
.ehero-body { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; }
.ehero-kind { display: inline-block; margin-bottom: 7px; padding: 3px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: rgba(255,255,255,.2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ehero h1 { font-size: 27px; line-height: 1.12; font-weight: 800; letter-spacing: -.03em; }
.ehero p { margin-top: 3px; font-size: 13px; font-weight: 550; opacity: .9; }
.estatus { display: flex; align-items: center; gap: 11px; padding: 13px; border-radius: 20px; background: var(--ungu-150); }
.estatus-ic { width: 40px; height: 40px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 13px; font-size: 15px; color: var(--ungu-700); background: #fff; }
.estatus b { display: block; font-size: 14px; font-weight: 750; letter-spacing: -.01em; color: var(--ungu-900); }
.estatus p { font-size: 12.5px; line-height: 1.35; color: var(--ink-2); }
.estatus.is-registered { background: var(--amber-bg); box-shadow: inset 0 0 0 1px var(--amber-ring); }
.estatus.is-registered .estatus-ic { color: var(--amber); }
.efacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.efacts > div { display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; align-items: center; padding: 11px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); }
.efacts .wide { grid-column: 1 / -1; }
.efacts-ic { grid-row: span 2; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 11px; font-size: 13px; color: var(--ungu-700); background: var(--ungu-150); }
.efacts small { font-size: 11px; font-weight: 600; color: var(--ink-3); }
.efacts b { font-size: 13px; font-weight: 700; line-height: 1.25; color: var(--ungu-950); min-width: 0; overflow-wrap: anywhere; }
.equota { display: grid; gap: 5px; }
.equota small { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.ebody { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.ebar { position: sticky; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 5; display: grid; gap: 8px; animation: none !important; }
.ebar:empty { display: none; }
.ecancel { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 12px; border: 0; border-radius: 999px; font-size: 13.5px; font-weight: 700; font-family: inherit; color: var(--red); background: var(--red-bg); box-shadow: inset 0 0 0 1px var(--red-ring); transition: background .12s; }
.ecancel:hover { background: var(--red-ring); }

/* Formulir anggota */
.sform { display: grid; gap: 16px; margin: 0; }
.sform.m-card { padding: 16px; gap: 14px; }
.sform .field { margin-bottom: 0; }
.m-form .m-card .field { margin-bottom: 14px; }
.sitems { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.sitems legend { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 650; color: var(--ungu-900); }
.sitems .err { font-size: 12.5px; font-weight: 550; color: var(--red); }
.sitem { display: flex; align-items: flex-start; gap: 11px; padding: 13px; border-radius: 18px; cursor: pointer; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); transition: box-shadow .12s, background .12s; }
.sitem input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sitem-mark { width: 22px; height: 22px; flex: none; margin-top: 1px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--ungu-300); transition: box-shadow .12s; }
.sitem b { display: block; font-size: 13.5px; font-weight: 650; line-height: 1.35; color: var(--ungu-950); }
.sitem small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.35; color: var(--ink-2); }
.sitem .badge { margin-top: 6px; }
.sitem .jpath-note { display: flex; }
.sitem:hover { box-shadow: 0 0 0 1px var(--ungu-300), var(--shadow-1); }
.sitem:has(input:checked) { background: var(--ungu-100); box-shadow: 0 0 0 2px var(--ungu-600); }
.sitem:has(input:checked) .sitem-mark { box-shadow: inset 0 0 0 7px var(--ungu-700); }
.sitem:has(input:focus-visible) { outline: 2px solid var(--ungu-500); outline-offset: 2px; }
.sitem.is-locked { cursor: not-allowed; background: var(--ungu-50); box-shadow: 0 0 0 1px var(--line-2); }
.sitem.is-locked .sitem-mark { background: var(--gray-bg); box-shadow: inset 0 0 0 2px var(--gray-ring); }
.sitem.is-locked b { color: var(--ink-2); font-weight: 550; }
.sfile-label { font-weight: 650; font-size: 13px; color: var(--ungu-900); }
.sfile { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; cursor: pointer; border: 1.5px dashed var(--ungu-300); background: var(--ungu-50); transition: background .12s, border-color .12s; }
.sfile:hover { background: var(--ungu-100); border-color: var(--ungu-500); }
.sfile:has(input:focus-visible) { outline: 2px solid var(--ungu-500); outline-offset: 2px; }
.field .sfile input[type=file] { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; opacity: 0; box-shadow: none; }
.sfile-ic { width: 40px; height: 40px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 13px; font-size: 14px; color: var(--ungu-700); background: var(--ungu-150); }
.sfile-ic svg { transform: rotate(180deg); }
.sfile b { display: block; font-size: 13.5px; font-weight: 700; color: var(--ungu-900); overflow-wrap: anywhere; }
.sfile small { display: block; font-size: 11.5px; color: var(--ink-2); }
.schips { display: flex; flex-wrap: wrap; gap: 6px; }
.schips button { padding: 6px 13px; border: 0; border-radius: 999px; font-size: 12.5px; font-weight: 650; color: var(--ungu-800); background: var(--ungu-150); transition: background .12s; }
.schips button:hover { background: var(--ungu-200); }
.spass { position: relative; }
.spass input { padding-right: 46px !important; }
.spass button { position: absolute; right: 5px; top: 5px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; font-size: 13px; color: var(--ink-3); background: transparent; }
.spass button:hover, .spass button.is-on { color: var(--ungu-700); background: var(--ungu-150); }

/* Profil */
.prof-hero { display: flex; align-items: center; gap: 15px; }
.prof-photo { position: relative; flex: none; display: block; cursor: pointer; }
.prof-photo:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 3px; border-radius: 50%; }
.prof-photo-btn { position: absolute; right: -2px; bottom: 0; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 12px; color: #fff; background: var(--ungu-900); box-shadow: 0 0 0 2px #fff; }
.prof-sub { font-size: 12.5px; font-weight: 500; opacity: .85; overflow-wrap: anywhere; }
.prof-hero h2 { margin-bottom: 4px; }
