/* ==========================================================================
   NGOPINTAR ACADEMY — design system (biru · putih · oranye)
   ========================================================================== */
:root {
  --blue-900: #10245c;
  --blue-800: #17357f;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --accent-600: #ea580c;
  --accent-500: #f97316;
  --accent-400: #f59e0b;
  --accent-100: #fef3c7;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #586579;
  --muted-2: #94a3b8;
  --line: #e2e8f0;
  --line-soft: #eef2f9;
  --bg: #f5f8ff;
  --white: #ffffff;
  --surface: #ffffff;
  --surface-2: #f8faff;
  --header-bg: rgba(255, 255, 255, .88);
  --hero-glow-1: rgba(249, 115, 22, .16);
  --hero-glow-2: rgba(37, 99, 235, .16);
  --hero-grad-1: #f8fbff;
  --hero-grad-2: #f2f7ff;
  --ok: #059669;
  --ok-bg: #ecfdf5;
  --warn: #b45309;
  --warn-bg: #fffbeb;
  --err: #dc2626;
  --err-bg: #fef2f2;
  --info: #1d4ed8;
  --info-bg: #eff6ff;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 12px -6px rgba(15, 23, 42, .12);
  --shadow: 0 10px 30px -14px rgba(23, 53, 127, .28), 0 2px 6px rgba(15, 23, 42, .04);
  --shadow-lg: 0 30px 60px -30px rgba(16, 36, 92, .35);
  --font: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

html[data-theme="dark"] {
  --ink: #e9eefb;
  --ink-soft: #c4cfe6;
  --muted: #9fadc6;
  --muted-2: #7c8aa4;
  --line: #27354e;
  --line-soft: #1e2b42;
  --bg: #0a1424;
  --white: #111d31;
  --surface: #111d31;
  --surface-2: #16233a;
  --header-bg: rgba(10, 20, 36, .9);
  --blue-900: #dbe7ff;
  --blue-800: #b9cdf7;
  --blue-700: #8ab4ff;
  --blue-600: #5b8ef7;
  --blue-50: #16243d;
  --blue-100: #1d3255;
  --accent-600: #fb923c;
  --accent-500: #f97316;
  --accent-400: #fbbf24;
  --accent-100: #33240f;
  --ok: #34d399;
  --ok-bg: #0c2b23;
  --warn: #fbbf24;
  --warn-bg: #2c2110;
  --err: #f87171;
  --err-bg: #2d161b;
  --info: #93b4f7;
  --info-bg: #14243f;
  --hero-glow-1: rgba(249, 115, 22, .13);
  --hero-glow-2: rgba(37, 99, 235, .22);
  --hero-grad-1: #0c1830;
  --hero-grad-2: #0b1527;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4), 0 4px 14px -8px rgba(0, 0, 0, .6);
  --shadow: 0 12px 32px -18px rgba(0, 0, 0, .8), 0 2px 6px rgba(0, 0, 0, .35);
  --shadow-lg: 0 30px 60px -30px rgba(0, 0, 0, .85);
}
html[data-theme="dark"] body { background: var(--bg); color: var(--ink); }
html[data-theme="dark"] .site-header { background: var(--header-bg); border-bottom-color: var(--line); }
html[data-theme="dark"] .hero::before {
  background:
    radial-gradient(900px 420px at 82% -10%, var(--hero-glow-1), transparent 65%),
    radial-gradient(820px 460px at 4% 0%, var(--hero-glow-2), transparent 62%),
    linear-gradient(180deg, var(--hero-grad-1), var(--hero-grad-2) 70%, var(--bg));
}
html[data-theme="dark"] .section.alt { background: linear-gradient(180deg, #0d1a2e, #0b1628); border-color: var(--line-soft); }
html[data-theme="dark"] .panel-body { background: #091322; }
html[data-theme="dark"] .topbar { background: rgba(12, 22, 38, .92); border-bottom-color: var(--line); }
html[data-theme="dark"] .auth-main { background: var(--bg); }
html[data-theme="dark"] .chart-grid { stroke: #22304a; }
html[data-theme="dark"] .chart-axis { fill: #8b9ab4; }
html[data-theme="dark"] .chart-dot { fill: #111d31; }
html[data-theme="dark"] .qris-box { background: var(--surface); }
html[data-theme="dark"] .btn-ghost { background: var(--surface); color: var(--blue-800); }
html[data-theme="dark"] .btn-subtle { background: #16243d; color: var(--blue-800); }
html[data-theme="dark"] .table-wrap table.data th { background: #14223a; }
html[data-theme="dark"] .leader-row.total1, html[data-theme="dark"] .leader-row.top1 { background: linear-gradient(100deg, #33280f, #111d31); }
html[data-theme="dark"] .leader-row.top2 { background: linear-gradient(100deg, #1b2740, #111d31); }
html[data-theme="dark"] .leader-row.top3 { background: linear-gradient(100deg, #33210f, #111d31); }
html[data-theme="dark"] .lock-card { background: linear-gradient(120deg, #2a2010, #111d31); border-color: #4a3413; }
html[data-theme="dark"] .lock-card .lock-ico { background: #1a2438; border-color: #4a3413; color: var(--accent-400); }
html[data-theme="dark"] .swal2-popup { background: #111d31 !important; color: var(--ink) !important; }
html[data-theme="dark"] .swal2-title { color: var(--ink) !important; }
html[data-theme="dark"] .swal2-html-container { color: var(--ink-soft) !important; }
html[data-theme="dark"] .swal2-input, html[data-theme="dark"] .swal2-select, html[data-theme="dark"] .swal2-textarea {
  background: #16233a !important; color: var(--ink) !important; border-color: var(--line) !important;
}
html[data-theme="dark"] .demo-creds { background: var(--surface); }
html[data-theme="dark"] .tutor-cover { background: linear-gradient(135deg, #0f2a5c, #1d3f86); }
html[data-theme="dark"] .avatar-letter { background: linear-gradient(135deg, #2b5bbd, #10203a); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-700); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--blue-900); }
h1, h2, h3, h4, h5 { margin: 0 0 .4em; line-height: 1.2; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
button { font-family: inherit; }
.ico { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.tiny { font-size: .78rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.hidden { display: none !important; }

/* ------------------------------------------------------------------ tombol */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .72rem 1.25rem; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: .93rem; cursor: pointer; line-height: 1.2;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
  text-decoration: none; white-space: nowrap; background: var(--white); color: var(--ink);
}
.btn .ico { width: 1.05em; height: 1.05em; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(135deg, var(--blue-700), var(--blue-500)); color: #fff; box-shadow: 0 10px 22px -12px rgba(37, 99, 235, .85); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 26px -12px rgba(37, 99, 235, .95); }
.btn-accent { background: linear-gradient(135deg, var(--accent-600), var(--accent-400)); color: #fff; box-shadow: 0 10px 22px -12px rgba(234, 88, 12, .8); }
.btn-accent:hover { color: #fff; }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--blue-900); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--blue-500); color: var(--blue-700); }
.btn-subtle { background: var(--blue-50); color: var(--blue-800); border-color: transparent; }
.btn-danger { background: var(--err-bg); color: var(--err); border-color: #fecaca; }
.btn-danger:hover { background: var(--err); color: #fff; }
.btn-sm { padding: .5rem .85rem; font-size: .84rem; border-radius: 10px; }
.btn-lg { padding: .95rem 1.7rem; font-size: 1rem; border-radius: 14px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .55; pointer-events: none; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--blue-800); cursor: pointer; transition: all .18s var(--ease);
}
.icon-btn:hover { color: var(--blue-700); border-color: var(--blue-500); }

/* ------------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--header-bg);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(226, 232, 240, .85);
}
.header-row { display: flex; align-items: center; gap: 22px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.side-brand img { object-fit: contain; }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-txt strong { font-size: 1.02rem; font-weight: 800; letter-spacing: .02em; color: var(--blue-900); }
.brand-txt small { font-size: .68rem; letter-spacing: .28em; color: var(--accent-600); font-weight: 700; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link, .nav-drop-btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: .55rem .7rem; border-radius: 10px; border: 0; background: none;
  font-size: .89rem; font-weight: 600; color: var(--ink-soft); cursor: pointer;
  transition: all .18s var(--ease);
}
.nav-link:hover, .nav-drop-btn:hover, .nav-drop.is-active .nav-drop-btn { color: var(--blue-700); background: var(--blue-50); }
.nav-link.is-active { color: var(--blue-700); background: var(--blue-50); }
.nav-drop { position: relative; }
.nav-drop .caret { font-size: .7rem; opacity: .6; }
.nav-drop-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 205px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 8px; display: none; z-index: 70;
}
.nav-drop.is-open .nav-drop-menu { display: block; animation: dropIn .18s var(--ease); }
.nav-drop-menu a { display: block; padding: .55rem .7rem; border-radius: 9px; font-size: .88rem; font-weight: 600; color: var(--ink-soft); }
.nav-drop-menu a:hover { background: var(--blue-50); color: var(--blue-700); }
@keyframes dropIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-mobile-cta { display: none; }
.hamburger { display: none; background: none; border: 0; color: var(--blue-900); cursor: pointer; padding: 6px; }
.hamburger .ico { width: 26px; height: 26px; }

/* --------------------------------------------------------------------- hero */
.hero { position: relative; padding: 62px 0 48px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 420px at 82% -10%, rgba(249, 115, 22, .16), transparent 65%),
    radial-gradient(820px 460px at 4% 0%, rgba(37, 99, 235, .16), transparent 62%),
    linear-gradient(180deg, var(--hero-grad-1), var(--hero-grad-2) 70%, var(--bg));
}
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 44px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: .42rem .85rem;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--blue-100);
  color: var(--blue-700); font-size: .78rem; font-weight: 700; box-shadow: var(--shadow-sm);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-500); box-shadow: 0 0 0 4px rgba(249, 115, 22, .16); animation: pulseDot 2s infinite; }
@keyframes pulseDot { 50% { box-shadow: 0 0 0 8px rgba(249, 115, 22, .05); } }
.hero h1 { margin: 18px 0 14px; }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--blue-700), var(--blue-500) 55%, var(--accent-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-desc { font-size: 1.03rem; color: var(--ink-soft); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 22px; }
.hero-trust { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: .84rem; }
.avatar-stack { display: flex; }
.avatar-stack .avatar { margin-left: -10px; border: 2.5px solid #fff; box-shadow: 0 2px 6px rgba(15, 23, 42, .1); }
.avatar-stack .avatar:first-child { margin-left: 0; }
.hero-art { position: relative; }
.hero-art img { width: 100%; border-radius: var(--radius-lg); }
.hero-float {
  position: absolute; background: var(--surface); border-radius: 14px; padding: 10px 14px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; color: var(--blue-900); animation: floaty 5s ease-in-out infinite;
}
.hero-float small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); }
.hero-float .ico { color: var(--blue-600); width: 22px; height: 22px; }
.hero-float.f1 { top: 12%; left: -6%; }
.hero-float.f2 { bottom: 9%; right: -4%; animation-delay: 1.4s; }
@keyframes floaty { 50% { transform: translateY(-9px); } }

/* --------------------------------------------------------------- statistik */
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--line-soft); overflow: hidden; margin-top: 30px;
}
.stat-item { padding: 22px 24px; display: flex; align-items: center; gap: 14px; border-right: 1px solid var(--line-soft); }
.stat-item:last-child { border-right: 0; }
.stat-item .stat-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-700); }
.stat-item:nth-child(2) .stat-ico { background: var(--accent-100); color: var(--accent-600); }
.stat-item:nth-child(3) .stat-ico { background: #ecfeff; color: #0891b2; }
.stat-item:nth-child(4) .stat-ico { background: #f5f3ff; color: #7c3aed; }
.stat-item b { font-size: 1.5rem; font-weight: 800; color: var(--blue-900); display: block; line-height: 1.1; }
.stat-item span { font-size: .8rem; color: var(--muted); font-weight: 600; }

/* ------------------------------------------------------------------ section */
.section { padding: 62px 0; }
.section.tight { padding: 44px 0; }
.section.alt { background: linear-gradient(180deg, var(--surface), var(--surface-2)); border-block: 1px solid var(--line-soft); }
.section-head { max-width: 720px; margin: 0 auto 34px; text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent-600); margin-bottom: 10px;
}
.eyebrow::before { content: ''; width: 18px; height: 2.5px; border-radius: 2px; background: var(--accent-500); }
.section-title { font-size: clamp(1.5rem, 2.5vw, 2.1rem); margin-bottom: .35em; }
.section-desc { color: var(--muted); font-size: .98rem; margin: 0; }

/* --------------------------------------------------------------- kartu fitur */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-50), #e6efff); color: var(--blue-700); margin-bottom: 14px;
}
.feature-card:nth-child(3n+2) .feature-ico { background: var(--accent-100); color: var(--accent-600); }
.feature-card:nth-child(3n+3) .feature-ico { background: #ecfeff; color: #0e7490; }
.feature-card h3 { font-size: 1.03rem; margin-bottom: 6px; }
.feature-card p { margin: 0; font-size: .89rem; color: var(--muted); }

/* ------------------------------------------------------------ jenjang/mapel */
.jenjang-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 26px; }
.jenjang-card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: all .22s var(--ease);
}
.jenjang-card::after {
  content: ''; position: absolute; inset: auto -30px -30px auto; width: 90px; height: 90px;
  border-radius: 50%; background: rgba(37, 99, 235, .07);
}
.jenjang-card:hover { border-color: var(--blue-100); transform: translateY(-3px); box-shadow: var(--shadow); }
.jenjang-card .lvl { font-size: .72rem; font-weight: 800; letter-spacing: .1em; color: var(--blue-600); text-transform: uppercase; }
.jenjang-card h3 { margin: 6px 0 8px; font-size: 1.12rem; }
.jenjang-card p { margin: 0; font-size: .86rem; color: var(--muted); }
.subject-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: .5rem .9rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: .84rem; font-weight: 700; color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.chip .em { font-size: 1rem; }
.chip-ok { background: var(--ok-bg); color: var(--ok); border-color: #bbf7d0; }
.chip-warn { background: var(--warn-bg); color: var(--warn); border-color: #fde68a; }
.chip-err { background: var(--err-bg); color: var(--err); border-color: #fecaca; }
.chip-info { background: var(--info-bg); color: var(--info); border-color: var(--blue-100); }
.chip-gold { background: linear-gradient(135deg, #fff7e6, #fef3c7); color: #92400e; border-color: #fcd34d; }

/* ------------------------------------------------------- ketersediaan tutor */
.tutor-live-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tutor-live-card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px;
  transition: all .22s var(--ease);
}
.tutor-live-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tutor-live-top { display: flex; gap: 12px; align-items: center; }
.tutor-photo {
  width: 56px; height: 56px; border-radius: 14px; object-fit: cover; background: var(--blue-50);
  border: 1px solid var(--line-soft);
}
.tutor-live-top h4 { margin: 0; font-size: .98rem; }
.tutor-live-top small { color: var(--muted); font-size: .78rem; }
.status-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: .3rem .65rem; border-radius: 999px;
  font-size: .72rem; font-weight: 800; letter-spacing: .02em; white-space: nowrap;
}
.status-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-available { background: var(--ok-bg); color: var(--ok); }
.badge-teaching { background: var(--warn-bg); color: var(--warn); }
.badge-full { background: var(--err-bg); color: var(--err); }
.tutor-live-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.tutor-live-slot {
  display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--ink-soft);
  background: var(--blue-50); border-radius: 10px; padding: .5rem .7rem; font-weight: 600;
}
.tutor-live-slot .ico { color: var(--blue-600); }

/* ----------------------------------------------------------- kartu profil */
.tutor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tutor-card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: all .24s var(--ease);
}
.tutor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tutor-cover {
  height: 116px; background: linear-gradient(135deg, var(--blue-800), var(--blue-500));
  position: relative;
}
.tutor-cover::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(180px 120px at 80% 10%, rgba(249, 115, 22, .5), transparent 70%);
}
.tutor-card-body { padding: 0 20px 20px; margin-top: -38px; position: relative; }
.tutor-card .tutor-photo { width: 76px; height: 76px; border-radius: 20px; border: 4px solid #fff; box-shadow: var(--shadow-sm); }
.tutor-card h3 { font-size: 1.06rem; margin: 10px 0 2px; }
.tutor-role { font-size: .82rem; color: var(--accent-600); font-weight: 700; }
.tutor-card p { font-size: .86rem; color: var(--muted); margin: 8px 0 12px; }
.tutor-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: .76rem; color: var(--ink-soft); margin-bottom: 12px; }
.tutor-meta span { display: inline-flex; align-items: center; gap: 5px; background: var(--blue-50); border-radius: 8px; padding: 4px 8px; font-weight: 600; }
.tutor-subjects { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }

/* ---------------------------------------------------------------- testimoni */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px;
}
.testi-quote { font-size: .92rem; color: var(--ink-soft); margin: 0; }
.testi-head { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.testi-head strong { display: block; font-size: .88rem; }
.testi-head small { color: var(--muted); font-size: .76rem; }
.stars { display: inline-flex; gap: 2px; color: var(--line); font-size: .9rem; letter-spacing: .04em; }
.stars .star.on { color: var(--accent-400); }

/* -------------------------------------------------------------- leaderboard */
.leader-list { display: flex; flex-direction: column; gap: 10px; }
.leader-row {
  display: grid; grid-template-columns: 46px 44px 1fr auto auto; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: 14px; padding: 10px 16px;
  box-shadow: var(--shadow-sm);
}
.leader-row.top1 { background: linear-gradient(100deg, var(--warn-bg), var(--surface)); border-color: #fcd34d; }
.leader-row.top2 { background: linear-gradient(100deg, var(--surface-2), var(--surface)); border-color: #94a3b8; }
.leader-row.top3 { background: linear-gradient(100deg, var(--warn-bg), var(--surface)); border-color: #fdba74; }
.leader-rank { font-weight: 800; color: var(--blue-800); font-size: 1rem; text-align: center; }
.leader-row .avatar { width: 40px; height: 40px; --av: 40px; }
.leader-name { font-weight: 700; font-size: .92rem; }
.leader-name small { display: block; font-weight: 600; color: var(--muted); font-size: .74rem; }
.leader-points { font-weight: 800; color: var(--blue-700); font-size: 1rem; }
.leader-points small { display: block; font-weight: 600; color: var(--muted); font-size: .7rem; text-align: right; }
.leader-quiz { font-size: .78rem; color: var(--muted); font-weight: 600; }

/* ------------------------------------------------------------------ paket */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.pkg-card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-sm); position: relative; display: flex; flex-direction: column;
  transition: all .24s var(--ease); overflow: hidden;
}
.pkg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pkg-card.featured {
  border: 2px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(150deg, var(--blue-600), var(--accent-500)) border-box;
  box-shadow: var(--shadow-lg);
}
.pkg-badge {
  position: absolute; top: 16px; right: 16px; background: linear-gradient(135deg, var(--accent-500), var(--accent-400));
  color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .08em; padding: .3rem .6rem; border-radius: 999px;
  text-transform: uppercase;
}
.pkg-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.pkg-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-700); }
.pkg-card[data-level="silver"] .pkg-ico { background: #f1f5f9; color: #475569; }
.pkg-card[data-level="gold"] .pkg-ico { background: var(--accent-100); color: var(--accent-600); }
.pkg-head h3 { margin: 0; font-size: 1.16rem; }
.pkg-tag { font-size: .78rem; color: var(--muted); font-weight: 600; }
.pkg-price { margin: 14px 0 2px; }
.pkg-price b { font-size: 1.9rem; font-weight: 800; color: var(--blue-900); letter-spacing: -.03em; }
.pkg-price span { font-size: .82rem; color: var(--muted); font-weight: 600; }
.pkg-price-row { display: flex; justify-content: space-between; font-size: .82rem; padding: .35rem 0; color: var(--ink-soft); border-bottom: 1px dashed var(--line); }
.pkg-price-row strong { color: var(--blue-800); }
.pkg-price-table { margin: 12px 0 16px; }
.pkg-features { list-style: none; padding: 0; margin: 16px 0 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.pkg-features li { display: flex; gap: 9px; font-size: .86rem; color: var(--ink-soft); align-items: flex-start; }
.pkg-features .ico { color: var(--ok); margin-top: 3px; width: 15px; height: 15px; }
.pkg-features li.locked { color: var(--muted-2); }
.pkg-features li.locked .ico { color: var(--err); opacity: .85; }
.pkg-features .lock-flag {
  font-size: .64rem; font-weight: 800; font-style: normal; letter-spacing: .04em; text-transform: uppercase;
  color: var(--err); background: var(--err-bg); border-radius: 5px; padding: 1px 5px; margin-left: auto;
}
.pkg-features li { align-items: center; }
.pkg-features li .ico { margin-top: 0; width: 14px; height: 14px; }

/* -------------------------------------------------------------------- CTA */
.cta-band {
  background: linear-gradient(120deg, var(--blue-900), var(--blue-700) 55%, #2f6fed);
  border-radius: var(--radius-lg); padding: 46px 48px; color: #fff; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.cta-band::after {
  content: ''; position: absolute; inset: -40% -10% auto auto; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, .55), transparent 65%);
}
.cta-band h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.4rem, 2.4vw, 1.95rem); position: relative; }
.cta-band p { color: rgba(255, 255, 255, .82); margin: 0; max-width: 60ch; position: relative; }
.cta-band .btn { position: relative; }

/* ------------------------------------------------------------------- footer */
.site-footer { background: #0b1a3a; color: rgba(255, 255, 255, .72); padding: 52px 0 0; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1fr; gap: 32px; }
.footer-brand .brand-txt strong { color: #fff; }
.footer-brand p { font-size: .86rem; margin: 14px 0; max-width: 40ch; color: rgba(255, 255, 255, .62); }
.footer-wa { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: .9rem; }
.footer-wa:hover { color: var(--accent-400); }
.footer-col { display: flex; flex-direction: column; gap: 8px; font-size: .86rem; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.footer-col a, .footer-col span { color: rgba(255, 255, 255, .66); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 36px; padding: 18px 0; font-size: .78rem;
  color: rgba(255, 255, 255, .5);
}

/* ---------------------------------------------------------------- halaman */
.page-hero {
  background: linear-gradient(120deg, var(--blue-900), var(--blue-700) 60%, #356ee5);
  color: #fff; padding: 46px 0 40px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; right: -60px; top: -80px; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, .35), transparent 68%);
}
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: .25em; position: relative; }
.page-hero p { color: rgba(255, 255, 255, .8); margin: 0; max-width: 70ch; position: relative; }
.page-hero .crumbs { font-size: .8rem; color: rgba(255, 255, 255, .62); margin-bottom: 10px; position: relative; }
.page-hero .crumbs a { color: rgba(255, 255, 255, .82); }

/* -------------------------------------------------------------------- kartu */
.card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 22px; border-bottom: 1px solid var(--line-soft); flex-wrap: wrap;
}
.card-head h3 { margin: 0; font-size: 1.02rem; display: flex; align-items: center; gap: 8px; }
.card-head .ico { color: var(--blue-600); }
.card-body { padding: 22px; }
.card-body.tight { padding: 14px 18px; }
.card-foot { padding: 14px 22px; border-top: 1px solid var(--line-soft); background: var(--surface-2); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.split { display: grid; grid-template-columns: 1.6fr .9fr; gap: 20px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.row.end { justify-content: flex-end; }

/* --------------------------------------------------------------------- form */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > span, .field > label, .field-label { font-size: .82rem; font-weight: 700; color: var(--ink-soft); }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea {
  width: 100%; padding: .68rem .85rem; border-radius: 11px; border: 1px solid var(--line);
  background: var(--surface); font-family: inherit; font-size: .92rem; color: var(--ink);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
  appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px;
}
textarea { min-height: 96px; resize: vertical; line-height: 1.55; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3.5px rgba(37, 99, 235, .14);
}
input[type=checkbox], input[type=radio] { accent-color: var(--blue-600); width: 17px; height: 17px; }
input[type=file] { font-size: .85rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
.hint { font-size: .76rem; color: var(--muted); }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.checkline { display: flex; align-items: center; gap: 9px; font-size: .88rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 10px; }
.switch-row { display: flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 700; color: var(--ink-soft); }

/* -------------------------------------------------------------------- tabel */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; font-size: .87rem; min-width: 620px; }
table.data th {
  text-align: left; padding: 12px 16px; background: var(--surface-2); color: var(--ink-soft);
  font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 800;
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
table.data td { padding: 13px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
table.data tbody tr:hover { background: var(--surface-2); }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data .num { text-align: right; font-variant-numeric: tabular-nums; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.row-actions form { display: inline; }
.mini-btn {
  display: inline-flex; align-items: center; gap: 5px; padding: .34rem .6rem; border-radius: 8px;
  font-size: .76rem; font-weight: 700; border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft);
  cursor: pointer; transition: all .16s var(--ease);
}
.mini-btn:hover { border-color: var(--blue-500); color: var(--blue-700); background: var(--blue-50); }
.mini-btn.danger:hover { border-color: #fecaca; color: var(--err); background: var(--err-bg); }
.mini-btn .ico { width: 13px; height: 13px; }

/* ------------------------------------------------------------------- badge */
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: .28rem .6rem; border-radius: 8px;
  font-size: .73rem; font-weight: 800; letter-spacing: .01em; white-space: nowrap;
}
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-err { background: var(--err-bg); color: var(--err); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-muted { background: #f1f5f9; color: var(--muted); }
.badge-gold { background: #fef3c7; color: #92400e; }

/* -------------------------------------------------------------------- flash */
.flash {
  display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 12px;
  font-size: .89rem; font-weight: 600; margin: 16px 0; animation: slideDown .28s var(--ease);
}
.flash-ok { background: var(--ok-bg); color: #065f46; border: 1px solid #a7f3d0; }
.flash-err { background: var(--err-bg); color: #991b1b; border: 1px solid #fecaca; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* -------------------------------------------------------------------- chart */
.chart { width: 100%; max-width: 100%; height: auto; display: block; }

/* cegah item grid/flex melar melebihi viewport (tabel & chart lebar) */
.panel-content > *, .split > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .stat-grid > *, .stack > *, .card, .table-wrap { min-width: 0; }
.split, .grid-2, .grid-3, .grid-4, .stat-grid, .stats-strip { max-width: 100%; }
.chart-line { fill: none; stroke: var(--blue-600); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.chart-grid { stroke: #e8eefb; stroke-width: 1; }
.chart-axis { fill: #8996ab; font-size: 10px; font-family: var(--font); font-weight: 600; }
.chart-dot { fill: var(--surface); stroke: var(--blue-600); stroke-width: 2.4; }
.chart-bar { fill: var(--blue-600); opacity: .85; }
.chart-empty { padding: 34px; text-align: center; color: var(--muted); font-size: .86rem; background: var(--surface-2); border-radius: 12px; border: 1px dashed var(--line); }

/* ---------------------------------------------------------------- progress */
.progress { height: 9px; border-radius: 999px; background: #eaf0fb; overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue-600), var(--blue-500)); transition: width .5s var(--ease); }
.progress.orange > span { background: linear-gradient(90deg, var(--accent-600), var(--accent-400)); }
.progress.green > span { background: linear-gradient(90deg, #059669, #34d399); }
.progress-row { display: flex; align-items: center; gap: 12px; }
.progress-row .progress { flex: 1; }
.progress-row b { font-size: .82rem; color: var(--ink-soft); min-width: 42px; text-align: right; }

/* --------------------------------------------------------------- empty state */
.empty-state {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 46px 20px;
  color: var(--muted); text-align: center; background: var(--surface-2); border-radius: 14px; border: 1px dashed var(--line);
}
.empty-state .ico { width: 34px; height: 34px; color: var(--muted-2); }
.empty-state p { margin: 0; font-size: .89rem; }

/* ------------------------------------------------------ halaman auth/login */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 74px); }
.auth-side {
  background: linear-gradient(150deg, var(--blue-900), var(--blue-700) 58%, #3b7bf0);
  color: #fff; padding: 56px 52px; display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.auth-side::after {
  content: ''; position: absolute; inset: auto -100px -120px auto; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, .4), transparent 68%);
}
.auth-side h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.auth-side p { color: rgba(255, 255, 255, .78); max-width: 42ch; }
.auth-points { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 14px; position: relative; }
.auth-points li { display: flex; gap: 10px; font-size: .9rem; color: rgba(255, 255, 255, .9); }
.auth-points .ico { color: var(--accent-400); }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 48px 24px; background: var(--bg); }
.auth-card { width: min(430px, 100%); }
.auth-card h1 { font-size: 1.6rem; margin-bottom: 6px; }
.auth-tabs { display: flex; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 5px; margin: 18px 0 20px; }
.auth-tab {
  flex: 1; padding: .5rem; border-radius: 9px; border: 0; background: none; font-size: .82rem;
  font-weight: 700; color: var(--muted); cursor: pointer; transition: all .16s var(--ease);
}
.auth-tab.is-active { background: var(--blue-600); color: #fff; box-shadow: 0 6px 14px -8px rgba(37, 99, 235, .9); }
.auth-note { font-size: .8rem; color: var(--muted); text-align: center; margin-top: 16px; }
.demo-creds { background: var(--surface); border: 1px dashed var(--blue-100); border-radius: 12px; padding: 12px 16px; font-size: .78rem; color: var(--muted); margin-top: 18px; }
.demo-creds b { color: var(--ink-soft); }

/* -------------------------------------------------------------- presensi UI */
.presence-hero {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.clock-big { font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; color: var(--blue-900); font-variant-numeric: tabular-nums; }
.session-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  padding: 15px 0; border-bottom: 1px solid var(--line-soft);
}
.session-row:last-child { border-bottom: 0; }
.session-time {
  font-weight: 800; color: var(--blue-800); background: var(--blue-50); border-radius: 10px;
  padding: .45rem .7rem; font-size: .82rem; text-align: center; min-width: 96px;
}
.session-row h4 { margin: 0; font-size: .95rem; }
.session-row small { color: var(--muted); }
.session-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

/* ============================================================= PANEL SHELL */
.panel-body { background: #f4f7fd; }
.panel-shell { display: flex; min-height: 100vh; }
.sidebar {
  width: 272px; flex: 0 0 272px; background: linear-gradient(180deg, #0c1f4d, #10295f 55%, #0d2354);
  color: rgba(255, 255, 255, .72); display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; overflow-y: auto; z-index: 50;
  padding-bottom: 12px;
}
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .16); border-radius: 3px; }
.side-brand { display: flex; align-items: center; gap: 10px; padding: 20px 20px 16px; color: #fff; }
.side-brand:hover { color: #fff; }
.side-brand img { width: 36px; height: 36px; }
.side-brand span { display: flex; flex-direction: column; line-height: 1; }
.side-brand strong { font-size: .95rem; letter-spacing: .03em; }
.side-brand small { font-size: .62rem; letter-spacing: .26em; color: var(--accent-400); margin-top: 4px; font-weight: 700; }
.side-role {
  display: flex; align-items: center; gap: 7px; margin: 0 20px 14px; padding: .4rem .7rem;
  border-radius: 8px; background: rgba(255, 255, 255, .07); font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .7);
}
.side-nav { display: flex; flex-direction: column; gap: 2px; padding: 0 12px; flex: 1; }
.side-link {
  display: flex; align-items: center; gap: 11px; padding: .58rem .8rem; border-radius: 10px;
  color: rgba(255, 255, 255, .72); font-size: .855rem; font-weight: 600; border: 0; background: none;
  cursor: pointer; text-align: left; width: 100%; transition: all .16s var(--ease); position: relative;
}
.side-link .ico { width: 17px; height: 17px; opacity: .85; }
.side-link:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.side-link.is-active { background: linear-gradient(100deg, rgba(37, 99, 235, .95), rgba(59, 130, 246, .72)); color: #fff; box-shadow: 0 8px 18px -12px rgba(0, 0, 0, .8); }
.side-link.is-active::before {
  content: ''; position: absolute; left: -12px; top: 50%; transform: translateY(-50%);
  width: 3px; height: 20px; border-radius: 0 3px 3px 0; background: var(--accent-400);
}
.side-logout-form { margin-top: auto; padding-top: 10px; }
.side-logout { color: #fca5a5; }
.side-logout:hover { background: rgba(220, 38, 38, .18); color: #fecaca; }
.side-foot { margin: 14px 12px 0; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.side-user { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.side-user strong { display: block; color: #fff; font-size: .86rem; }
.side-user small { color: rgba(255, 255, 255, .55); font-size: .72rem; display: block; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.side-site { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; color: rgba(255, 255, 255, .72); }
.side-site:hover { color: #fff; }
.panel-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  display: flex; align-items: center; gap: 14px; padding: 18px 28px; background: var(--header-bg);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40;
}
.topbar-title { min-width: 0; }
.topbar-title h1 { margin: 0; font-size: 1.22rem; letter-spacing: -.02em; }
.topbar-title p { margin: 2px 0 0; font-size: .8rem; color: var(--muted); }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.topbar-chip {
  display: flex; align-items: center; gap: 9px; padding: 5px 12px 5px 6px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
}
.topbar-chip:hover { color: var(--ink); border-color: var(--blue-100); }
.topbar-chip span { display: flex; flex-direction: column; line-height: 1.15; }
.topbar-chip strong { font-size: .82rem; }
.topbar-chip small { font-size: .7rem; color: var(--muted); font-weight: 600; }
.sidebar-toggle { display: none; }
.panel-content { padding: 24px 28px 36px; flex: 1; display: flex; flex-direction: column; gap: 20px; }
.panel-foot { padding: 16px 28px 22px; font-size: .76rem; color: var(--muted-2); }
.sidebar-backdrop { display: none; }

/* ---------------------------------------------------------------- stat card */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card {
  display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: 14px; padding: 18px; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease);
}
.stat-card:hover { transform: translateY(-2px); }
.stat-card .stat-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-700); }
.stat-card.accent .stat-ico { background: var(--accent-100); color: var(--accent-600); }
.stat-card.green .stat-ico { background: var(--ok-bg); color: var(--ok); }
.stat-card.purple .stat-ico { background: #f5f3ff; color: #7c3aed; }
.stat-label { font-size: .76rem; color: var(--muted); font-weight: 700; display: block; }
.stat-value { font-size: 1.5rem; font-weight: 800; color: var(--blue-900); line-height: 1.2; display: block; letter-spacing: -.02em; }
.stat-card small { font-size: .72rem; color: var(--muted-2); }

/* ------------------------------------------------------------------ avatar */
.avatar {
  position: relative; display: inline-grid; place-items: center; width: var(--av, 36px); height: var(--av, 36px);
  border-radius: 50%; overflow: hidden; flex: 0 0 auto; background: var(--blue-100); color: var(--blue-800);
  font-weight: 800; font-size: calc(var(--av, 36px) * .4);
}
.avatar img { position: relative; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.avatar-ini { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; }
.avatar-letter { background: linear-gradient(135deg, var(--blue-600), var(--blue-800)); color: #fff; }

/* ---------------------------------------------------------------- timeline */
.timeline { display: flex; flex-direction: column; gap: 0; position: relative; }
.timeline-item { display: flex; gap: 14px; padding-bottom: 18px; position: relative; }
.timeline-item::before {
  content: ''; position: absolute; left: 15px; top: 30px; bottom: 0; width: 2px; background: var(--line);
}
.timeline-item:last-child::before { display: none; }
.timeline-dot {
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 auto;
  background: var(--blue-50); color: var(--blue-700); z-index: 1;
}
.timeline-body { flex: 1; min-width: 0; }
.timeline-body strong { font-size: .9rem; display: block; }
.timeline-body small { color: var(--muted); font-size: .76rem; }
.timeline-body p { margin: .35rem 0 0; font-size: .85rem; color: var(--ink-soft); }

/* ----------------------------------------------------------------- rating */
.rating-bars { display: flex; flex-direction: column; gap: 12px; }
.rating-row { display: grid; grid-template-columns: 118px 1fr 42px; align-items: center; gap: 10px; font-size: .8rem; font-weight: 600; color: var(--ink-soft); }
.rating-meter { height: 8px; border-radius: 999px; background: #eef3fc; overflow: hidden; }
.rating-meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-500), var(--accent-400)); border-radius: inherit; }

/* ------------------------------------------------------------- kunci fitur */
.lock-card {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius);
  background: linear-gradient(120deg, var(--warn-bg), var(--surface)); border: 1px solid #fde3bd;
}
.lock-card .lock-ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface); color: var(--accent-600); border: 1px solid #fde3bd; flex: 0 0 auto;
}
.lock-card h3 { font-size: 1rem; margin-bottom: 4px; }
.lock-card p { margin: 0 0 12px; font-size: .87rem; color: var(--ink-soft); }
.facility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.facility-item {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line-soft); background: var(--surface); font-size: .84rem; font-weight: 600; color: var(--ink-soft);
}
.facility-item .f-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-700); flex: 0 0 auto; }
.facility-item.is-locked { background: #fbfbfd; color: var(--muted-2); border-style: dashed; }
.facility-item.is-locked .f-ico { background: #f1f5f9; color: var(--muted-2); }
.facility-item .f-flag { margin-left: auto; font-size: .68rem; font-weight: 800; }
.facility-item.is-locked .f-flag { color: var(--accent-600); }

/* -------------------------------------------------------------------- kuis */
.quiz-shell { max-width: 860px; margin: 0 auto; }
.quiz-hud {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between;
  gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px;
  box-shadow: var(--shadow); margin-bottom: 18px; flex-wrap: wrap;
}
.quiz-timer { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 1.25rem; color: var(--blue-800); display: flex; align-items: center; gap: 8px; }
.quiz-timer.is-low { color: var(--err); animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .45; } }
.question-card { margin-bottom: 14px; }
.question-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.q-num {
  width: 30px; height: 30px; border-radius: 9px; background: var(--blue-50); color: var(--blue-700);
  display: grid; place-items: center; font-weight: 800; font-size: .85rem; flex: 0 0 auto;
}
.question-text { font-weight: 700; color: var(--ink); font-size: .95rem; }
.option-list { display: flex; flex-direction: column; gap: 8px; }
.option {
  display: flex; align-items: center; gap: 10px; padding: .65rem .85rem; border-radius: 10px;
  border: 1px solid var(--line); cursor: pointer; font-size: .9rem; transition: all .15s var(--ease);
}
.option:hover { border-color: var(--blue-500); background: var(--blue-50); }
.option input { accent-color: var(--blue-600); }
.option.is-checked { border-color: var(--blue-600); background: var(--blue-50); }
.option code { font-family: var(--font); font-weight: 800; color: var(--blue-700); }

/* ------------------------------------------------------------------ tabs */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tab {
  padding: .55rem .9rem; border: 0; background: none; font-size: .86rem; font-weight: 700;
  color: var(--muted); cursor: pointer; border-bottom: 2.5px solid transparent; margin-bottom: -1px;
}
.tab.is-active { color: var(--blue-700); border-bottom-color: var(--blue-600); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp .25s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------- variasi */
.meta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 18px; }
.meta-row { display: flex; justify-content: space-between; gap: 10px; padding: .55rem 0; border-bottom: 1px dashed var(--line); font-size: .87rem; }
.meta-row span { color: var(--muted); }
.meta-row strong { color: var(--ink); font-weight: 700; text-align: right; }
.session-card { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--line-soft); border-radius: 13px; background: var(--surface); align-items: center; }
.session-card .date-badge {
  display: grid; place-items: center; background: var(--blue-50); color: var(--blue-800); border-radius: 11px;
  padding: .5rem .75rem; min-width: 62px; font-weight: 800; line-height: 1.1;
}
.session-card .date-badge small { font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.session-card h4 { margin: 0 0 3px; font-size: .95rem; }
.session-card p { margin: 0; font-size: .79rem; color: var(--muted); }
.notice { display: flex; gap: 10px; padding: 13px 16px; border-radius: 12px; background: var(--info-bg); color: var(--blue-800); font-size: .85rem; font-weight: 600; border: 1px solid var(--blue-100); }
.notice .ico { margin-top: 2px; }
.welcome-band {
  background: linear-gradient(120deg, var(--blue-800), var(--blue-600) 65%, #3b82f6);
  border-radius: var(--radius); padding: 26px 28px; color: #fff; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.welcome-band::after {
  content: ''; position: absolute; inset: -70px -40px auto auto; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, .45), transparent 67%);
}
.welcome-band h2 { color: #fff; margin: 0 0 4px; font-size: 1.35rem; position: relative; }
.welcome-band p { margin: 0; color: rgba(255, 255, 255, .82); font-size: .88rem; position: relative; }
.welcome-band .btn { position: relative; }
.pkg-pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: .3rem .7rem; font-size: .76rem; font-weight: 800; background: var(--surface); color: var(--blue-800); }
.pkg-pill.gold { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #442c05; }
.pkg-pill.silver { background: #e2e8f0; color: #334155; }
.pkg-pill.bronze { background: #fde8cf; color: #92400e; }
.presence-status { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .84rem; }
.presence-status.ok { color: var(--ok); }
.presence-status.warn { color: var(--warn); }
.presence-status.err { color: var(--err); }
.qris-box { max-width: 250px; border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: var(--surface); margin: 0 auto; }
.qris-box img { border-radius: 8px; }
.swal2-popup { font-family: var(--font) !important; border-radius: 18px !important; }
.swal2-title { font-weight: 800 !important; color: var(--ink) !important; }
.swal2-styled.swal2-confirm { background: linear-gradient(135deg, var(--blue-700), var(--blue-500)) !important; border-radius: 11px !important; font-weight: 700 !important; }
.swal2-styled.swal2-cancel { border-radius: 11px !important; font-weight: 700 !important; }
.swal2-html-container { font-size: .93rem !important; }
.swal2-input, .swal2-select, .swal2-textarea { border-radius: 10px !important; font-family: var(--font) !important; }

/* --------------------------------------------------------------- responsif */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-art { max-width: 520px; margin-inline: auto; }
  .feature-grid, .tutor-grid, .tutor-live-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .jenjang-grid { grid-template-columns: repeat(2, 1fr); }
  .pkg-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .split { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .facility-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .nav { position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--surface); padding: 14px 20px 20px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); display: none; max-height: calc(100vh - 74px); overflow-y: auto; z-index: 55; }
  .nav.is-open { display: flex; }
  .nav-drop-menu { position: static; box-shadow: none; border: 0; padding-left: 12px; display: block; }
  .nav-drop-menu a { padding: .45rem .6rem; }
  .nav-drop .caret { display: none; }
  .hamburger { display: inline-flex; }
  .header-cta .btn-primary { display: none; }
  .header-cta .header-account { display: inline-flex; }
  .nav-mobile-cta { display: block; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
  .sidebar {
    position: fixed; inset: 0 auto 0 0; transform: translateX(-100%); transition: transform .26s var(--ease);
    height: 100vh; width: 280px; flex-basis: 280px;
  }
  .sidebar.is-open { transform: none; }
  .sidebar-toggle { display: inline-flex; }
  .sidebar-backdrop.is-open { display: block; position: fixed; inset: 0; background: rgba(15, 23, 42, .45); z-index: 45; }
  .panel-content { padding: 18px 16px 30px; }
  .topbar { padding: 14px 16px; }
  .topbar-title h1 { font-size: 1.05rem; }
  .panel-foot { padding: 14px 16px 20px; }
}
@media (max-width: 760px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .header-row { gap: 10px; min-height: 66px; }
  .brand img { width: 34px; height: 34px; }
  .brand-txt strong { font-size: .92rem; }
  .brand-txt small { font-size: .58rem; letter-spacing: .2em; }
  .header-cta { gap: 6px; }
  .header-cta .header-account { padding: .42rem .6rem; font-size: .8rem; gap: 5px; }
  .header-cta .header-account .avatar { --av: 22px !important; }
  .theme-toggle { padding: 4px; }
  .theme-toggle .theme-ico { display: none; }
  .theme-track { width: 34px; height: 20px; }
  .theme-knob { width: 15px; height: 15px; }
  html[data-theme="dark"] .theme-knob { transform: translateX(16px); }
  .hamburger .ico { width: 24px; height: 24px; }
  .hero { padding: 38px 0 30px; }
  .section { padding: 44px 0; }
  .feature-grid, .tutor-grid, .tutor-live-grid, .testi-grid, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .jenjang-grid { grid-template-columns: 1fr; }
  .form-grid, .form-grid-3 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .stats-strip { grid-template-columns: 1fr; }
  .stat-item { border-right: 0 !important; border-bottom: 1px solid var(--line-soft); }
  .stat-item:last-child { border-bottom: 0; }
  .cta-band { padding: 30px 24px; }
  .hero-float { display: none; }
  .leader-row { grid-template-columns: 38px 1fr auto; }
  .leader-row .avatar { display: none; }
  .leader-quiz { display: none; }
  .auth-main { padding: 30px 18px; }
  .facility-grid { grid-template-columns: 1fr; }
  .session-row { grid-template-columns: 1fr; }
  .session-actions { justify-content: flex-start; }
  .topbar-chip span { display: none; }
  .page-hero { padding: 34px 0 30px; }
  .meta-grid { grid-template-columns: 1fr; }
  .presence-hero { padding: 18px; }
  .clock-big { font-size: 1.8rem; }
  table.data { min-width: 560px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* --------------------------------------------------------------- cetak PDF */
@media print {
  .site-header, .site-footer, .sidebar, .topbar, .panel-foot, .no-print, .sidebar-backdrop { display: none !important; }
  body { background: var(--surface); }
  .panel-shell, .panel-main { display: block; }
  .panel-content { padding: 0; }
  .card { box-shadow: none; border: 1px solid #ddd; break-inside: avoid; }
  .print-area { padding: 0; }
}


/* --------------------------------------------------- tema terang / gelap */
.theme-toggle {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line);
  background: var(--surface); border-radius: 999px; padding: 4px 10px 4px 4px; cursor: pointer;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.theme-toggle:hover { border-color: var(--blue-500); }
.theme-track {
  width: 40px; height: 22px; border-radius: 999px; background: #dbeafe; position: relative;
  display: inline-flex; align-items: center; transition: background .2s var(--ease);
}
.theme-knob {
  width: 17px; height: 17px; border-radius: 50%; background: var(--surface);
  box-shadow: 0 1px 3px rgba(15, 23, 42, .3); transform: translateX(3px);
  transition: transform .22s var(--ease), background .22s var(--ease);
}
.theme-ico { font-size: .78rem; line-height: 1; color: var(--muted); }
.theme-ico:last-child { display: none; }
html[data-theme="dark"] .theme-track { background: #1d3255; }
html[data-theme="dark"] .theme-knob { transform: translateX(20px); background: var(--accent-400); }
html[data-theme="dark"] .theme-ico:first-of-type { display: none; }
html[data-theme="dark"] .theme-ico:last-child { display: inline; color: var(--accent-400); }

/* ------------------------------------------------------------- donut chart */
.donut { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.donut svg { width: var(--donut, 168px); height: var(--donut, 168px); overflow: visible; }
.donut-ring { transition: stroke-dasharray .7s var(--ease); }
.donut-value { font-family: var(--font); font-weight: 800; font-size: 1.5rem; fill: var(--blue-900); }
.donut-cap { font-family: var(--font); font-weight: 600; font-size: .62rem; fill: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.donut figcaption { text-align: center; }
.donut figcaption strong { display: block; font-size: .9rem; color: var(--ink); }
.donut figcaption small { color: var(--muted); font-size: .76rem; font-weight: 600; }
.donut-row { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.donut-legend { display: flex; flex-direction: column; gap: 8px; font-size: .84rem; }
.donut-legend span { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-weight: 600; }
.donut-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* ------------------------------------------------------ jendela presensi */
.window-note {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 11px;
  background: var(--info-bg); color: var(--blue-800); font-size: .82rem; font-weight: 600;
  border: 1px solid var(--blue-100);
}
.window-note.is-open { background: var(--ok-bg); color: var(--ok); border-color: #a7f3d0; }
.window-note.is-closed { background: var(--warn-bg); color: var(--warn); border-color: #fde68a; }
.window-note .ico { flex: 0 0 auto; }
.time-chip {
  display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums;
  font-weight: 800; color: var(--blue-800); background: var(--blue-50); border-radius: 8px; padding: .3rem .55rem;
  font-size: .8rem;
}


/* ------------------------------------------------------- kalender tutor */
.cal-legend { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: .78rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 14px; }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.dot-many { background: #22c55e; }
.dot-few { background: #f59e0b; }
.dot-full { background: #ef4444; }
.dot-past { background: var(--muted-2); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.cal-head { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 4px 0; }
.cal-cell {
  min-height: 92px; border-radius: 12px; border: 1px solid var(--line-soft); background: var(--surface);
  padding: 8px 9px; display: flex; flex-direction: column; gap: 4px; color: var(--ink);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), border-color .15s var(--ease);
}
.cal-cell { cursor: pointer; text-align: left; font-family: inherit; }
.cal-cell:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--blue-500); color: var(--ink); }
.cal-cell:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; }
.cal-cell.is-empty { background: transparent; border: 0; pointer-events: none; }
.cal-cell.is-past { opacity: .45; background: var(--surface-2); pointer-events: none; }
.cal-cell.is-full { background: linear-gradient(160deg, var(--err-bg), var(--surface)); border-color: #fecaca; }
.cal-cell.is-few { background: linear-gradient(160deg, var(--warn-bg), var(--surface)); border-color: #fde68a; }
.cal-cell.is-many { background: linear-gradient(160deg, var(--ok-bg), var(--surface)); border-color: #bbf7d0; }
.cal-cell.is-today { outline: 2px solid var(--blue-500); outline-offset: 1px; }
.cal-cell.is-selected { box-shadow: 0 0 0 3px rgba(37, 99, 235, .25); border-color: var(--blue-600); }
.cal-date { font-weight: 800; font-size: .95rem; color: var(--blue-900); }
.cal-badge { font-size: .68rem; font-weight: 800; letter-spacing: .02em; color: var(--ink-soft); }
.cal-tutors { display: flex; gap: 3px; margin-top: auto; }
.cal-tutors i {
  width: 18px; height: 18px; border-radius: 50%; background: var(--blue-100); color: var(--blue-800);
  font-size: .6rem; font-style: normal; font-weight: 800; display: grid; place-items: center;
}
.slot-pill {
  display: inline-flex; align-items: center; padding: .32rem .6rem; border-radius: 8px;
  background: var(--blue-50); color: var(--blue-800); font-size: .76rem; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 760px) {
  .cal-grid { gap: 5px; }
  .cal-cell { min-height: 66px; padding: 6px; }
  .cal-date { font-size: .82rem; }
  .cal-badge { font-size: .6rem; }
  .cal-tutors { display: none; }
}

/* --------------------------------------------------------------- gaji */
.calc-box { background: var(--surface-2); border: 1px dashed var(--blue-100); border-radius: 14px; padding: 16px; }
.calc-result { font-size: 1.6rem; font-weight: 800; color: var(--blue-800); font-variant-numeric: tabular-nums; }
.calc-formula { font-size: .8rem; color: var(--muted); }


/* -------------------------------------------- pratinjau header (admin) */
.brand-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.brand-mock {
  margin-top: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 8px 12px; min-height: 60px; display: flex; align-items: center;
}
.brand-mock-sm { max-width: 260px; }
.brand-mock-sm .brand img { width: 34px; height: 34px; }
@media (max-width: 760px) { .brand-preview { grid-template-columns: 1fr; } }


/* ---------------------------------------- umpan balik siswa -> tutor */
.feedback-form { margin-top: 10px; border: 1px dashed var(--blue-100); border-radius: 10px; padding: 8px 12px; background: var(--blue-50); }
.feedback-form summary { cursor: pointer; font-size: .8rem; font-weight: 700; color: var(--blue-800); display: flex; align-items: center; gap: 6px; }
.feedback-form summary::-webkit-details-marker { display: none; }
.feedback-done { margin-top: 10px; display: flex; gap: 8px; align-items: flex-start; font-size: .78rem; color: var(--ok); background: var(--ok-bg); border-radius: 10px; padding: 8px 12px; }
.feedback-done .ico { margin-top: 2px; }
.rating-block { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 12px 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-soft); }
.rating-big { font-size: 1.7rem; font-weight: 800; color: var(--blue-900); line-height: 1.1; }
.rating-big small { font-size: .8rem; color: var(--muted); font-weight: 700; }
.feedback-card { border: 1px solid var(--line-soft); border-radius: 12px; padding: 12px 14px; background: var(--surface); }
.feedback-card + .feedback-card { margin-top: 10px; }
.feedback-card .fb-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.feedback-card p { margin: 6px 0 0; font-size: .85rem; color: var(--ink-soft); }
.feedback-card small { color: var(--muted); font-size: .74rem; }
.feedback-hidden { opacity: .55; border-style: dashed; }
