/* CSS Badminton CISFO — sporty court-green + lime shuttle accent.
   Token di :root, dark mode lewat [data-theme="dark"], tabel jadi kartu di mobile. */

:root {
  --ink: #0b1f17;
  --ink-soft: #14291f;
  --text: #12211a;
  --muted: #5b7367;
  --faint: #86998d;
  --line: #dee7dc;
  --line-strong: #c8d5c6;
  --bg: #f3f7f1;
  --bg-2: #eaf1e7;
  --surface: #ffffff;
  --surface-2: #f8fbf6;
  --green: #0e7a4f;
  --green-2: #12a06a;
  --green-3: #0a5c3c;
  --lime: #c9f24e;
  --lime-2: #a8e032;
  --lime-soft: #eefbd0;
  --danger: #cf2f2f;
  --danger-soft: #fdeceb;
  --warn: #c2760a;
  --warn-soft: #fdf3e0;
  --info: #2563eb;
  --info-soft: #eaf1fd;
  --violet: #7c3aed;
  --violet-soft: #f2ecfe;
  --radius: 16px;
  --radius-sm: 11px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgba(11, 31, 23, .05), 0 10px 26px -18px rgba(11, 31, 23, .35);
  --shadow-lg: 0 24px 60px -30px rgba(11, 31, 23, .55);
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sidebar-w: 264px;
  --topbar-h: 74px;
  color-scheme: light;
}

[data-theme="dark"] {
  --ink: #05120c;
  --ink-soft: #0d2419;
  --text: #e8f2ea;
  --muted: #9db3a6;
  --faint: #7a9186;
  --line: #1f3529;
  --line-strong: #2a4736;
  --bg: #07130d;
  --bg-2: #0a1a12;
  --surface: #0e2018;
  --surface-2: #112619;
  --green: #35c98c;
  --green-2: #4ddda0;
  --green-3: #1a9c69;
  --lime: #cdf75f;
  --lime-2: #a8e032;
  --lime-soft: #1e3318;
  --danger: #f87171;
  --danger-soft: #33191a;
  --warn: #f0b451;
  --warn-soft: #2e2413;
  --info: #7aa8f8;
  --info-soft: #16243c;
  --violet: #b794f8;
  --violet-soft: #221a35;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 34px -22px rgba(0, 0, 0, .8);
  --shadow-lg: 0 30px 70px -30px rgba(0, 0, 0, .9);
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.pub {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(201, 242, 78, .22), transparent 65%),
    radial-gradient(700px 480px at 0% 10%, rgba(18, 160, 106, .13), transparent 60%),
    var(--bg);
}

[data-theme="dark"] body.pub {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(201, 242, 78, .12), transparent 65%),
    radial-gradient(700px 480px at 0% 10%, rgba(18, 160, 106, .16), transparent 60%),
    var(--bg);
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.025em; font-weight: 800; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
button { font: inherit; }
code, .mono { font-family: var(--mono); font-size: .92em; letter-spacing: -.02em; }

::selection { background: var(--lime); color: var(--ink); }

:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.xs { font-size: 12px; }
.sm { font-size: 13.5px; }
.faint { color: var(--faint); }
.nowrap { white-space: nowrap; }
.ta-right { text-align: right; }
.text-danger { color: var(--danger); }
.text-success { color: var(--green); }
.ico { flex: 0 0 auto; vertical-align: -2px; }
.ico--inline { vertical-align: -3px; }

/* =====================================================================
   BUTTON / BADGE / CHIP
   ===================================================================== */
.btn {
  --btn-bg: var(--green);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 12px; border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 650; font-size: 14px; cursor: pointer; white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease, color .16s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -14px rgba(11, 31, 23, .7); }
.btn:active { transform: translateY(0); }
.btn__ico { width: 17px; height: 17px; }
.btn--primary { background: linear-gradient(135deg, var(--green) 0%, var(--green-2) 100%); color: #fff; }
.btn--primary:hover { background: linear-gradient(135deg, var(--green-3) 0%, var(--green) 100%); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }
.btn--wa { background: #1faa54; color: #fff; }
.btn--danger { background: var(--danger); color: #fff; }
.btn--lg { padding: 14px 24px; font-size: 15px; border-radius: 14px; }
.btn--sm { padding: 8px 13px; font-size: 13px; border-radius: 10px; gap: 6px; }
.btn--xs { padding: 6px 10px; font-size: 12.5px; border-radius: 9px; gap: 5px; }
.btn--xs .btn__ico { width: 14px; height: 14px; }
.btn--block { width: 100%; }
.btn--ghost.btn--on-dark { background: transparent; border-color: rgba(255, 255, 255, .28); color: #f2fbf3; }
.btn--ghost.btn--on-dark:hover { background: rgba(255, 255, 255, .08); border-color: var(--lime); color: var(--lime); }
.btn[disabled] { opacity: .55; pointer-events: none; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px; border: 1px solid transparent;
  background: transparent; color: var(--muted); cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.icon-btn:hover { background: var(--bg-2); color: var(--text); border-color: var(--line); }
.icon-btn--wa { color: #1faa54; }
.icon-btn--wa:hover { background: rgba(31, 170, 84, .12); border-color: rgba(31, 170, 84, .3); }
.icon-btn--danger { color: var(--danger); }
.icon-btn--danger:hover { background: var(--danger-soft); border-color: rgba(207, 47, 47, .25); }

.link { color: var(--green); font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
.link:hover { text-decoration: underline; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 650;
  background: var(--bg-2); color: var(--muted); border: 1px solid var(--line);
  white-space: nowrap;
}
.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--success { background: rgba(18, 160, 106, .12); color: var(--green); border-color: rgba(18, 160, 106, .25); }
.badge--warning { background: var(--warn-soft); color: var(--warn); border-color: rgba(194, 118, 10, .25); }
.badge--danger { background: var(--danger-soft); color: var(--danger); border-color: rgba(207, 47, 47, .25); }
.badge--info { background: var(--info-soft); color: var(--info); border-color: rgba(37, 99, 235, .2); }
.badge--violet { background: var(--violet-soft); color: var(--violet); border-color: rgba(124, 58, 237, .2); }

.chip {
  --chip: var(--green);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 8px; font-size: 12px; font-weight: 650;
  color: var(--chip); background: color-mix(in srgb, var(--chip) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--chip) 26%, transparent);
}
.chip--soft { --chip: var(--muted); }
.chip--danger { --chip: var(--danger); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }

.avatar {
  --av-h: 140;
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--av-s, 38px); height: var(--av-s, 38px); flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(145deg, hsl(var(--av-h) 55% 88%), hsl(var(--av-h) 62% 74%));
  color: hsl(var(--av-h) 55% 22%);
  font-weight: 750; font-size: calc(var(--av-s, 38px) * .34);
  letter-spacing: .02em;
}
[data-theme="dark"] .avatar {
  background: linear-gradient(145deg, hsl(var(--av-h) 38% 30%), hsl(var(--av-h) 42% 20%));
  color: hsl(var(--av-h) 70% 86%);
}

/* =====================================================================
   SHELL / SIDEBAR / TOPBAR
   ===================================================================== */
.shell { display: flex; min-height: 100vh; }

.sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--sidebar-w); z-index: 60;
  display: flex; flex-direction: column;
  background:
    radial-gradient(420px 260px at 20% 0%, rgba(201, 242, 78, .16), transparent 60%),
    linear-gradient(180deg, #0b2418 0%, #071a11 100%);
  color: #e9f4ea;
  border-right: 1px solid rgba(255, 255, 255, .06);
}
.sidebar__head { padding: 20px 18px 12px; display: flex; align-items: center; justify-content: space-between; }
.sidebar__close { display: none; color: #cfe0d2; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 13px;
  background: linear-gradient(150deg, #d9ff5f, #86df3d);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), 0 8px 20px -12px rgba(201, 242, 78, .9);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-size: 17px; font-weight: 800; letter-spacing: -.03em; color: #f3fbf4; }
.brand__text em { font-style: normal; color: var(--lime); margin-left: 1px; }
.brand__text small { font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: #9fbaa8; font-weight: 600; }
.brand--pub .brand__text strong { color: var(--ink); }
.brand--pub .brand__text small { color: var(--muted); }
[data-theme="dark"] .brand--pub .brand__text strong { color: #eef8ef; }

.nav { flex: 1; overflow-y: auto; padding: 6px 12px 16px; }
.nav__group { margin-bottom: 16px; }
.nav__group-title {
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: #7e9a88; font-weight: 700; padding: 8px 12px 6px;
}
.nav__link {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px; border-radius: 11px; margin-bottom: 2px;
  color: #c9dbce; font-size: 14px; font-weight: 550;
  transition: background .15s, color .15s;
}
.nav__link:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.nav__link.is-active {
  background: linear-gradient(100deg, rgba(201, 242, 78, .96), rgba(168, 224, 50, .8));
  color: #0b2418; font-weight: 750;
  box-shadow: 0 10px 24px -16px rgba(201, 242, 78, .9);
}
.nav__ico { width: 19px; height: 19px; opacity: .95; }
.nav__label { flex: 1; }
.nav__badge {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .16); color: inherit;
  font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
}
.nav__link.is-active .nav__badge { background: rgba(11, 36, 24, .16); }

.sidebar__foot { padding: 12px; border-top: 1px solid rgba(255, 255, 255, .07); }
.userbox {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 12px; background: rgba(255, 255, 255, .05);
}
.userbox__meta { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.userbox__meta strong { font-size: 13px; color: #f0f8f1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.userbox__meta span { font-size: 11px; color: #93ae9c; }
.userbox .icon-btn { color: #a8c1b1; }
.userbox .icon-btn:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: transparent; }

.shell__main { flex: 1; min-width: 0; margin-left: var(--sidebar-w); display: flex; flex-direction: column; }

.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 28px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.topbar__menu { display: none; }
.topbar__titles { flex: 1; min-width: 0; }
.topbar__title { font-size: 22px; letter-spacing: -.035em; }
.topbar__sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.topbar__actions { display: flex; align-items: center; gap: 10px; }
.crumb { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--faint); margin-bottom: 2px; }
.crumb a:hover { color: var(--green); }
.crumb span[aria-current] { color: var(--muted); font-weight: 600; }

.wa-mode {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 650;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--muted);
}
.wa-mode--api { border-color: rgba(18, 160, 106, .32); color: var(--green); background: rgba(18, 160, 106, .09); }

.content { flex: 1; padding: 26px 28px 40px; max-width: 1440px; width: 100%; margin: 0 auto; }
.content--wide { max-width: 1560px; }
.appfoot { padding: 18px 28px 26px; font-size: 12px; color: var(--faint); border-top: 1px solid var(--line); }
.sidebar-scrim { display: none; }

/* =====================================================================
   KARTU, GRID, STATISTIK
   ===================================================================== */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}
.card--mt { margin-top: 20px; }
.card--inner { background: var(--surface-2); box-shadow: none; margin-top: 14px; }
.card--accent {
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(201, 242, 78, .2), transparent 65%),
    var(--surface);
}
.card--form { display: flex; flex-direction: column; gap: 12px; }
.card--tint { background: var(--surface-2); }
.card--muted { background: var(--surface-2); box-shadow: none; }
.card__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  margin-bottom: 16px;
}
.card__title { font-size: 16px; letter-spacing: -.02em; }
.card__sub { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.card__foot {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.card__foot--split { justify-content: space-between; }
.card h3 { font-size: 15px; }
.card h3 + p { margin-top: 6px; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.section-head h2 { font-size: 20px; letter-spacing: -.03em; }
.section-head p { font-size: 13px; color: var(--muted); margin-top: 4px; max-width: 60ch; }
.section-head__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2-1 { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
.stack { display: flex; flex-direction: column; gap: 20px; }

.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }
.stat {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 18px 16px; box-shadow: var(--shadow);
}
.stat::after {
  content: ''; position: absolute; right: -30px; top: -40px; width: 120px; height: 120px;
  border-radius: 50%; background: var(--stat-tint, rgba(18, 160, 106, .12));
}
.stat__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; position: relative; z-index: 1; }
.stat__label { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.stat__ico {
  width: 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--stat-tint, rgba(18, 160, 106, .14)); color: var(--stat-fg, var(--green));
}
.stat__value { font-size: 25px; font-weight: 800; letter-spacing: -.045em; margin: 10px 0 4px; position: relative; z-index: 1; }
.stat__foot { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.stat__trend { display: inline-flex; align-items: center; gap: 3px; color: var(--green); font-weight: 650; }
.stat__trend.is-down { color: var(--danger); }
.stat--green { --stat-tint: rgba(18, 160, 106, .14); --stat-fg: var(--green); }
.stat--blue { --stat-tint: rgba(37, 99, 235, .13); --stat-fg: var(--info); }
.stat--amber { --stat-tint: rgba(194, 118, 10, .14); --stat-fg: var(--warn); }
.stat--violet { --stat-tint: rgba(124, 58, 237, .13); --stat-fg: var(--violet); }
.stat--red { --stat-tint: rgba(207, 47, 47, .14); --stat-fg: var(--danger); }

.hello {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 22px 24px; margin-bottom: 22px; border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 240px at 88% 10%, rgba(201, 242, 78, .26), transparent 62%),
    linear-gradient(120deg, #0b2418, #10402c 65%, #0d3324);
  color: #eaf6ec; border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: var(--shadow-lg);
}
.hello__eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #b6cbb9; letter-spacing: .01em; }
.hello__title { font-size: 26px; margin: 6px 0 4px; letter-spacing: -.04em; color: #fff; }
.hello__sub { font-size: 13.5px; color: #b9cfbd; max-width: 60ch; }
.hello__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hello .btn--ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #eaf6ec; }
.hello .btn--ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .3); }
.hello .btn--primary { background: var(--lime); color: var(--ink); }
.hello .btn--primary:hover { background: var(--lime-2); color: var(--ink); }

/* =====================================================================
   TABEL
   ===================================================================== */
.table-wrap { width: 100%; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th {
  text-align: left; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--faint); font-weight: 700; padding: 0 12px 10px; border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.table th:first-child { padding-left: 0; }
.table th:last-child { padding-right: 0; }
.table td {
  padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle;
}
.table td:first-child { padding-left: 0; }
.table td:last-child { padding-right: 0; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .14s; }
.table tbody tr:hover { background: var(--surface-2); }
.table strong { font-weight: 650; }
.cell-user { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cell-user > div { min-width: 0; }
.cell-user strong { display: block; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.row-actions { display: inline-flex; align-items: center; gap: 4px; justify-content: flex-end; flex-wrap: wrap; }
.row-actions form { display: inline-flex; margin: 0; }

/* =====================================================================
   TOOLBAR / FIELD / FORM
   ===================================================================== */
.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px; margin-bottom: 18px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.toolbar__fields { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; min-width: 0; }
.toolbar__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.mini-field {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 0 10px; height: 38px; min-width: 170px;
  transition: border-color .15s, background .15s;
}
.mini-field:focus-within { border-color: var(--green); background: var(--surface); }
.mini-field input, .mini-field select {
  border: 0; background: transparent; outline: none; color: var(--text);
  font: inherit; font-size: 13px; width: 100%; height: 100%; padding: 0;
  appearance: none;
}
.mini-field input[type="date"], .mini-field input[type="month"] { min-width: 130px; }
.mini-field__ico { color: var(--faint); }
.mini-field--select select { padding-right: 18px; }
.mini-field--select .mini-field__ico { position: absolute; right: 8px; pointer-events: none; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field__label { font-size: 12.5px; font-weight: 650; color: var(--muted); }
.field__label em { color: var(--danger); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 12px; font: inherit; font-size: 14px;
  color: var(--text); background: var(--surface-2);
  border: 1px solid var(--line-strong); border-radius: 11px; outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field textarea { resize: vertical; min-height: 66px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--green); background: var(--surface);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 16%, transparent);
}
.field input[type="file"] { padding: 8px; background: var(--surface); font-size: 13px; }
.field__hint { font-size: 11.5px; color: var(--faint); }
.field__password { position: relative; display: block; }
.field__password input { padding-right: 42px; }
.field__password .icon-btn { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.field--span-1 { grid-column: span 1; }
.form-row .field:only-child, .field--span-2 { grid-column: 1 / -1; }
.modal__form { display: flex; flex-direction: column; gap: 4px; }
.modal__form .form-row { gap: 0 14px; }
.modal__form .modal__foot { margin-top: 16px; }

.inline-form {
  display: flex; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line);
  flex-wrap: wrap;
}
.inline-form input {
  flex: 1 1 120px; min-width: 0; padding: 9px 11px; font: inherit; font-size: 13px;
  border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface-2); color: var(--text);
}
.inline-form input:focus { outline: none; border-color: var(--green); background: var(--surface); }

.checkgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.check {
  display: flex; align-items: flex-start; gap: 9px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px;
  background: var(--surface-2); cursor: pointer; font-size: 13px;
  transition: border-color .15s, background .15s;
}
.check:hover { border-color: var(--green); }
.check input { margin: 3px 0 0; accent-color: var(--green); }
.check span { display: flex; flex-direction: column; gap: 2px; line-height: 1.35; }
.check small { color: var(--faint); font-size: 11.5px; }
.check--block { margin: 10px 0 14px; }
.check--block span { font-size: 12.5px; color: var(--muted); }

.segmented { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 2px; }
.segmented__opt { position: relative; cursor: pointer; }
.segmented__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented__opt span {
  display: inline-block; padding: 5px 10px; border-radius: 8px; font-size: 12px; font-weight: 600;
  color: var(--muted); transition: background .15s, color .15s;
}
.segmented__opt input:checked + span { background: var(--green); color: #fff; }
.segmented--sm .segmented__opt span { padding: 4px 9px; font-size: 11.5px; }
.segmented__opt input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 1px; }

.switch { position: relative; display: inline-flex; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch span {
  width: 42px; height: 24px; border-radius: 999px; background: var(--line-strong);
  position: relative; transition: background .18s;
}
.switch span::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
  border-radius: 50%; background: #fff; transition: transform .18s; box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::after { transform: translateX(18px); }

.hint-box {
  display: flex; gap: 8px; align-items: flex-start;
  padding: 10px 12px; border-radius: 11px; font-size: 12.5px; color: var(--muted);
  background: var(--lime-soft); border: 1px solid color-mix(in srgb, var(--green) 18%, transparent);
  margin: 8px 0;
}
.hint-box svg { color: var(--green); flex: 0 0 auto; }
.pill-note {
  padding: 9px 12px; border-radius: 10px; background: var(--surface-2);
  border: 1px dashed var(--line-strong); font-size: 12.5px; color: var(--muted);
  min-height: 40px; display: flex; align-items: center;
}
.alert {
  display: flex; align-items: flex-start; gap: 9px; padding: 11px 13px; border-radius: 11px;
  font-size: 13px; margin-bottom: 14px; border: 1px solid transparent;
}
.alert--danger { background: var(--danger-soft); color: var(--danger); border-color: rgba(207, 47, 47, .22); }
.alert--info { background: var(--info-soft); color: var(--info); border-color: rgba(37, 99, 235, .2); }
.alert--success { background: rgba(18, 160, 106, .1); color: var(--green); border-color: rgba(18, 160, 106, .22); }

/* =====================================================================
   MODAL
   ===================================================================== */
.modal { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__scrim { position: absolute; inset: 0; background: rgba(6, 20, 13, .55); backdrop-filter: blur(4px); animation: fade .18s ease; }
.modal__panel {
  position: relative; z-index: 1; width: 100%; max-width: 560px; max-height: calc(100vh - 40px);
  overflow-y: auto; background: var(--surface); border-radius: 20px;
  border: 1px solid var(--line); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6);
  padding: 22px; animation: pop .2s cubic-bezier(.2, .8, .3, 1);
}
.modal__panel--lg { max-width: 860px; }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.modal__title { font-size: 18px; letter-spacing: -.03em; }
.modal__sub { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.modal__foot { display: flex; justify-content: flex-end; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 8px; flex-wrap: wrap; }
body.modal-open { overflow: hidden; }

@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }

/* =====================================================================
   TOAST
   ===================================================================== */
.toast-stack { position: fixed; right: 18px; bottom: 18px; z-index: 200; display: flex; flex-direction: column; gap: 10px; max-width: min(380px, calc(100vw - 36px)); }
.toast {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--green);
  border-radius: 13px; padding: 12px 14px; box-shadow: var(--shadow-lg);
  animation: slideIn .24s ease;
}
.toast--error { border-left-color: var(--danger); }
.toast--info { border-left-color: var(--info); }
.toast--warning { border-left-color: var(--warn); }
.toast__title { font-weight: 700; font-size: 13.5px; }
.toast__msg { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.toast__close { margin-left: auto; }
@keyframes slideIn { from { opacity: 0; transform: translateY(10px); } }

/* =====================================================================
   KOMPONEN KHAS
   ===================================================================== */
.legend { display: flex; gap: 12px; font-size: 11.5px; color: var(--muted); }
.legend__item { display: inline-flex; align-items: center; gap: 5px; }
.legend__dot { width: 8px; height: 8px; border-radius: 3px; }
.legend__dot--hadir, .legend__dot--in { background: var(--green); }
.legend__dot--other { background: var(--line-strong); }
.legend__dot--out { background: var(--danger); }

.bars { display: flex; align-items: flex-end; gap: 8px; height: 170px; padding-top: 8px; }
.bars__col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; }
.bars__stack {
  flex: 1; width: 100%; max-width: 34px; display: flex; flex-direction: column; justify-content: flex-end;
  gap: 2px; background: linear-gradient(to top, var(--surface-2), transparent); border-radius: 8px 8px 4px 4px;
}
.bars__seg { width: 100%; border-radius: 4px; transition: height .4s ease; }
.bars__seg--hadir { background: linear-gradient(to top, var(--green-3), var(--green-2)); }
.bars__seg--other { background: var(--line-strong); }
.bars__label { font-size: 10.5px; color: var(--faint); }

.mini-stat { display: flex; flex-direction: column; gap: 2px; font-size: 11.5px; color: var(--muted); }
.mini-stat strong { font-size: 15px; color: var(--text); letter-spacing: -.02em; }

.msg-list { display: flex; flex-direction: column; gap: 12px; }
.msg { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border-radius: 12px; background: var(--surface-2); }
.msg__body { flex: 1; min-width: 0; }
.msg__top { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.msg__top strong { font-weight: 650; }
.msg__text { font-size: 12px; color: var(--muted); margin-top: 3px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.msg__meta { font-size: 11px; color: var(--faint); margin-top: 4px; }
.msg-cell { display: inline-block; max-width: 34ch; }

.progress { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; margin-bottom: 4px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--green-2)); border-radius: 999px; }
.progress--danger span { background: linear-gradient(90deg, #e05a3a, var(--danger)); }

.empty { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 34px 20px; }
.empty__art {
  width: 68px; height: 68px; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px dashed var(--line-strong); color: var(--green); margin-bottom: 4px;
}
.empty__title { font-weight: 700; font-size: 14.5px; }
.empty__text { font-size: 12.5px; color: var(--muted); max-width: 44ch; }
.empty .btn { margin-top: 8px; }

.pager { display: flex; align-items: center; gap: 4px; }
.pager__item {
  min-width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9px; border: 1px solid var(--line); font-size: 12.5px; color: var(--muted);
  padding: 0 8px; transition: all .15s;
}
.pager__item:hover { border-color: var(--green); color: var(--green); }
.pager__item.is-active { background: var(--green); border-color: var(--green); color: #fff; font-weight: 700; }
.pager__gap { padding: 0 4px; color: var(--faint); }

.coach-card { display: flex; flex-direction: column; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.coach-card__head { display: flex; align-items: center; gap: 12px; }
.coach-card__head > div { flex: 1; min-width: 0; }
.coach-card__head h3 { font-size: 15px; }
.coach-card__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.coach-card__meta dt { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); font-weight: 650; }
.coach-card__meta dd { font-size: 13px; margin-top: 2px; }
.coach-card__foot { display: flex; gap: 8px; align-items: center; }
.coach-card__foot form { margin-left: auto; }

.week { display: grid; grid-template-columns: repeat(7, minmax(180px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.day-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.day-col__head { display: flex; align-items: baseline; justify-content: space-between; padding: 8px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.day-col__head span { font-weight: 750; font-size: 13px; }
.day-col__head small { font-size: 11px; color: var(--faint); }
.day-col__empty { font-size: 11.5px; color: var(--faint); text-align: center; padding: 18px 6px; border: 1px dashed var(--line); border-radius: 10px; }
.slot { background: var(--surface); border: 1px solid var(--line); border-radius: 13px; padding: 12px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 5px; }
.slot--off { opacity: .55; }
.slot__time { font-size: 11.5px; font-weight: 750; color: var(--green); letter-spacing: -.01em; }
.slot__title { font-size: 13px; line-height: 1.3; }
.slot__meta { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--muted); }
.slot__foot { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.slot__count { font-size: 11px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.slot__foot .progress { flex: 1; margin: 0; }
.slot__actions { display: flex; gap: 6px; margin-top: 6px; }
.slot__actions .btn { flex: 1; }
.slot__actions .btn--ghost { flex: 0 0 auto; }

.tabs { display: flex; gap: 6px; padding: 5px; margin-bottom: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; overflow-x: auto; box-shadow: var(--shadow); }
.tab { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tab:hover { background: var(--surface-2); color: var(--text); }
.tab.is-active { background: var(--green); color: #fff; }

.var-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.var { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line); }
.var code { color: var(--green); font-weight: 650; font-size: 12px; }
.var span { font-size: 11.5px; color: var(--muted); }

.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.kv div { display: flex; flex-direction: column; gap: 2px; }
.kv dt { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); font-weight: 650; }
.kv dd { font-size: 16px; font-weight: 750; letter-spacing: -.02em; }

.steps { display: flex; flex-direction: column; gap: 12px; counter-reset: step; }
.steps li { display: flex; gap: 10px; font-size: 12.5px; color: var(--muted); line-height: 1.5; counter-increment: step; }
.steps li::before {
  content: counter(step); flex: 0 0 22px; height: 22px; border-radius: 7px;
  background: var(--lime-soft); color: var(--green); font-weight: 750; font-size: 11.5px;
  display: inline-flex; align-items: center; justify-content: center;
}
.steps strong { color: var(--text); }

.plain-list { display: flex; flex-direction: column; gap: 7px; font-size: 13px; }
.plain-list li { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); }
.plain-list svg { color: var(--green); margin-top: 2px; }

.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.detail-item { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; background: var(--surface-2); border-radius: 10px; border: 1px solid var(--line); }
.detail-item span { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); font-weight: 650; }
.detail-item strong { font-size: 13.5px; font-weight: 650; }
.rates { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.rates__main { display: flex; flex-direction: column; }
.rates__main strong { font-size: 30px; letter-spacing: -.05em; color: var(--green); line-height: 1; }
.rates__main span { font-size: 11.5px; color: var(--faint); }
.rates__list { display: flex; gap: 8px; flex-wrap: wrap; }

.flows { display: flex; flex-direction: column; gap: 12px; }
.flow { display: grid; grid-template-columns: 42px 1fr 96px; gap: 10px; align-items: center; }
.flow__label { font-size: 11.5px; color: var(--faint); font-weight: 650; }
.flow__bars { display: flex; flex-direction: column; gap: 3px; }
.flow__bar { height: 9px; border-radius: 999px; min-width: 2px; }
.flow__bar--in { background: linear-gradient(90deg, var(--green), var(--green-2)); }
.flow__bar--out { background: linear-gradient(90deg, #e57373, #d84343); }
.flow__val { font-size: 12px; font-weight: 700; text-align: right; letter-spacing: -.02em; }

.pick-list { display: flex; flex-direction: column; gap: 8px; }
.pick {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2);
  cursor: pointer; color: var(--text); transition: border-color .15s, background .15s;
}
.pick:hover { border-color: var(--green); background: var(--surface); }
.pick__time { display: flex; flex-direction: column; font-size: 10.5px; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; min-width: 74px; }
.pick__time strong { font-size: 12.5px; color: var(--green); text-transform: none; letter-spacing: 0; }
.pick__body { flex: 1; display: flex; flex-direction: column; }
.pick__body strong { font-size: 13.5px; }
.pick__body small { color: var(--faint); font-size: 11.5px; }

/* =====================================================================
   HALAMAN PUBLIK
   ===================================================================== */
.pnav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
.pnav__inner { max-width: 1200px; margin: 0 auto; padding: 12px 22px; display: flex; align-items: center; gap: 24px; }
.pnav__links { display: flex; gap: 20px; flex: 1; justify-content: center; }
.pnav__link { font-size: 13.5px; font-weight: 600; color: var(--muted); padding: 6px 2px; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.pnav__link:hover { color: var(--text); border-bottom-color: var(--lime-2); }
.pnav__actions { display: flex; align-items: center; gap: 8px; }
.pnav__menu { display: none; }
.pnav__mobile { display: none; }

.hero { position: relative; overflow: hidden; padding: 60px 22px 0; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.hero__glow--1 { width: 420px; height: 420px; background: rgba(201, 242, 78, .5); top: -160px; right: 4%; }
.hero__glow--2 { width: 360px; height: 360px; background: rgba(18, 160, 106, .3); bottom: -120px; left: -80px; }
.hero__inner { position: relative; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; padding-bottom: 48px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green); background: var(--lime-soft); border: 1px solid color-mix(in srgb, var(--green) 18%, transparent);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.eyebrow--light { color: var(--lime); background: rgba(201, 242, 78, .12); border-color: rgba(201, 242, 78, .3); }
.hero h1 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.05; letter-spacing: -.045em; }
.hero h1 .hl { position: relative; isolation: isolate; color: var(--green); white-space: nowrap; }
.hero h1 .hl::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .06em; height: .3em;
  background: var(--lime); z-index: -1; border-radius: 3px; opacity: .8;
}
.hero__lead { font-size: 16px; color: var(--muted); margin: 18px 0 24px; max-width: 54ch; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 30px; margin-top: 32px; flex-wrap: wrap; }
.hero__stats dt { font-size: 26px; font-weight: 800; letter-spacing: -.05em; color: var(--text); }
.hero__stats dd { font-size: 12px; color: var(--muted); }

.hero__art { position: relative; min-height: 420px; }
.court {
  position: absolute; inset: 0;
  border-radius: 26px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 44px),
    linear-gradient(150deg, #0e7a4f, #0a5c3c 60%, #093a27);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .12);
  overflow: hidden;
}
.court::before {
  content: ''; position: absolute; inset: 18px; border: 2px solid rgba(255, 255, 255, .4); border-radius: 6px;
}
.court__lines { position: absolute; inset: 18px; }
.court__net { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(255, 255, 255, .45); }
.court__service { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: rgba(255, 255, 255, .35); }
.court__badge {
  position: absolute; left: 28px; bottom: 24px; display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px; font-size: 12px; font-weight: 650;
  background: rgba(11, 31, 23, .55); color: #eaf6ec; border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(6px);
}
.float-card {
  position: absolute; background: color-mix(in srgb, var(--surface) 96%, transparent);
  border: 1px solid var(--line); border-radius: 15px; padding: 13px;
  box-shadow: var(--shadow-lg); backdrop-filter: blur(10px);
}
.float-card--wa { left: -8px; top: 28px; width: 268px; }
.float-card--stat { right: -10px; bottom: 22px; width: 226px; }
.float-card__head { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.float-card__head strong { color: var(--text); font-size: 12.5px; }
.float-card__head svg { color: #1faa54; }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; margin-left: auto; box-shadow: 0 0 0 3px rgba(34, 197, 94, .18); }
.float-card__foot { font-size: 10.5px; color: var(--faint); margin-top: 9px; }
.bubble { border-radius: 12px; padding: 9px 11px; font-size: 11.5px; line-height: 1.45; margin-bottom: 6px; }
.bubble--in { background: var(--surface-2); border: 1px solid var(--line); border-top-left-radius: 4px; color: var(--text); }
.bubble--out { background: var(--lime-soft); border: 1px solid color-mix(in srgb, var(--green) 20%, transparent); border-top-right-radius: 4px; color: var(--text); margin-left: 34px; }
.bubble strong { font-weight: 700; }
.bubble__link { color: var(--info); font-size: 10.5px; }
.spark { display: flex; align-items: flex-end; gap: 5px; height: 54px; }
.spark span { flex: 1; border-radius: 3px 3px 2px 2px; background: linear-gradient(to top, var(--green-3), var(--green-2)); opacity: .85; }

.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.marquee__track { display: flex; gap: 34px; padding: 11px 0; width: max-content; animation: marquee 26s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.marquee__track svg { color: var(--green); }
@keyframes marquee { to { transform: translateX(-50%); } }

.psection { max-width: 1200px; margin: 0 auto; padding: 64px 22px; }
.psection--tight { padding-top: 34px; }
.psection--tint { max-width: none; background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.psection--tint > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.psection--dark { max-width: none; background: linear-gradient(140deg, #0b2418, #0a2d1d 60%, #071a11); color: #e8f3ea; }
.psection--dark > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.psection__head { max-width: 720px; margin-bottom: 32px; }
.psection__head h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.04em; line-height: 1.15; }
.psection__head p { color: var(--muted); margin-top: 12px; font-size: 15px; }
.psection--dark .psection__head p { color: #b3c9b8; }
.psection__cta { margin-top: 26px; }
.psection--dark h2 { color: #fff; }

.pub-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.pub-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 650; box-shadow: var(--shadow); }
.pub-chip small { color: var(--faint); font-weight: 500; font-size: 11.5px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.feature { padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.feature__ico { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: var(--lime-soft); color: var(--green); margin-bottom: 12px; }
.feature h3 { font-size: 15px; margin-bottom: 6px; }
.feature p { font-size: 13px; color: var(--muted); }

.pub-schedule { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.pub-slot { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.pub-slot__day { flex: 0 0 58px; height: 58px; border-radius: 12px; background: linear-gradient(150deg, var(--green), var(--green-3)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 750; font-size: 12.5px; text-align: center; }
.pub-slot__body { flex: 1; min-width: 0; }
.pub-slot__body h3 { font-size: 14px; margin-bottom: 4px; }
.pub-slot__body p { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--muted); }
.pub-slot__seats { font-size: 10.5px; color: var(--green); background: var(--lime-soft); padding: 4px 8px; border-radius: 999px; font-weight: 650; white-space: nowrap; }

.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.price { position: relative; padding: 26px 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.price--featured { border-color: var(--green); box-shadow: 0 24px 50px -30px rgba(14, 122, 79, .8); transform: translateY(-6px); }
.price__tag { position: absolute; top: -12px; left: 22px; background: var(--green); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.price h3 { font-size: 17px; }
.price__amount { display: flex; align-items: baseline; gap: 5px; }
.price__amount span { font-size: 30px; font-weight: 800; letter-spacing: -.05em; }
.price__amount small { font-size: 12.5px; color: var(--faint); }
.price__desc { font-size: 13px; color: var(--muted); min-height: 38px; }
.price__list { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 12px; font-size: 13px; color: var(--muted); }
.price__list li { display: flex; gap: 8px; align-items: flex-start; }
.price__list svg { color: var(--green); margin-top: 2px; }
.price .btn { margin-top: auto; }
.fineprint { font-size: 12px; color: var(--faint); margin-top: 18px; }

.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.split h2 { font-size: clamp(24px, 3vw, 34px); color: #fff; letter-spacing: -.04em; line-height: 1.15; margin-bottom: 14px; }
.split__lead { color: #b9cfbd; font-size: 15px; margin-bottom: 20px; }
.tick-list { display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; }
.tick-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; color: #d7e6da; }
.tick-list svg { color: var(--lime); margin-top: 2px; flex: 0 0 auto; }
.split__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.phone { position: relative; max-width: 320px; margin: 0 auto; }
.phone__notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 90px; height: 20px; background: #05120c; border-radius: 999px; z-index: 2; }
.phone__screen { background: #0a1710; border: 9px solid #06110c; border-radius: 34px; padding: 30px 12px 12px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.phone__top { display: flex; align-items: center; gap: 9px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #eaf6ec; }
.phone__avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--lime); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; }
.phone__top div { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
.phone__top strong { font-size: 12px; }
.phone__top small { font-size: 10px; color: #8fb49a; }
.phone__top svg { color: #a9c9b2; }
.phone__chat { padding: 12px 0; display: flex; flex-direction: column; gap: 8px; max-height: 380px; overflow: hidden; }
.phone__chat .bubble { font-size: 11px; background: #12261a; border-color: rgba(255, 255, 255, .08); color: #dfeee3; }
.phone__chat .bubble--out { background: #1c3a24; border-color: rgba(201, 242, 78, .2); }
.chat-day { text-align: center; font-size: 9.5px; color: #7f9c88; background: rgba(255, 255, 255, .05); padding: 3px 9px; border-radius: 999px; align-self: center; }
.phone__input { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 999px; background: #12261a; color: #7f9c88; font-size: 11px; }
.phone__input svg { color: var(--lime); }

.steps-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: n; }
.steps-list li { position: relative; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; gap: 14px; }
.steps-list__num { flex: 0 0 36px; height: 36px; border-radius: 11px; background: var(--ink); color: var(--lime); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.steps-list h3 { font-size: 15px; margin-bottom: 4px; }
.steps-list p { font-size: 13px; color: var(--muted); }

.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 900px; }
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: 13px; padding: 16px 18px; }
.faq summary { display: flex; justify-content: space-between; gap: 12px; cursor: pointer; font-weight: 650; font-size: 14px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq__plus { color: var(--green); transition: transform .2s; }
.faq[open] .faq__plus { transform: rotate(45deg); }
.faq p { margin-top: 10px; font-size: 13.5px; color: var(--muted); }

.cta-band {
  max-width: 1200px; margin: 0 auto 64px; padding: 36px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(500px 260px at 90% 0%, rgba(201, 242, 78, .35), transparent 60%),
    linear-gradient(120deg, #0b2418, #113f2a);
  color: #eaf6ec; box-shadow: var(--shadow-lg);
}
.cta-band h2 { font-size: clamp(22px, 2.6vw, 30px); color: #fff; letter-spacing: -.04em; }
.cta-band p { color: #b9cfbd; margin-top: 8px; font-size: 14px; max-width: 52ch; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn--primary { background: var(--lime); color: var(--ink); }

.pfoot { background: var(--ink); color: #c9dbce; }
.pfoot__inner { max-width: 1200px; margin: 0 auto; padding: 48px 22px 30px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr); gap: 42px; }
.pfoot__brand strong { display: block; color: #fff; font-size: 17px; letter-spacing: -.03em; margin-bottom: 8px; }
.pfoot__brand p { font-size: 13px; color: #9ab3a2; max-width: 42ch; }
.pfoot__contacts { display: flex; flex-direction: column; gap: 7px; margin-top: 16px; font-size: 12.5px; }
.pfoot__contacts span { display: flex; gap: 8px; align-items: flex-start; color: #a9c4b1; }
.pfoot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pfoot__cols h4 { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); margin-bottom: 10px; }
.pfoot__cols a, .pfoot__cols span { display: block; font-size: 12.5px; color: #a9c4b1; margin-bottom: 7px; }
.pfoot__cols a:hover { color: #fff; }
.pfoot__bottom { border-top: 1px solid rgba(255, 255, 255, .1); max-width: 1200px; margin: 0 auto; padding: 16px 22px 28px; display: flex; justify-content: space-between; gap: 12px; font-size: 11.5px; color: #7f9c88; flex-wrap: wrap; }

.page-hero { padding: 46px 22px 10px; }
.page-hero__inner { max-width: 900px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.045em; }
.page-hero p { color: var(--muted); margin-top: 12px; font-size: 15px; max-width: 62ch; }
.page-hero--compact { padding-top: 34px; }

.pub-form { display: flex; flex-direction: column; gap: 20px; }
.pub-form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.pub-form legend { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; color: var(--green); margin-bottom: 12px; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .85fr); gap: 26px; align-items: start; max-width: 1080px; margin: 0 auto; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); }
.form-aside { display: flex; flex-direction: column; gap: 16px; }
.form-aside .card h3 { font-size: 14px; margin-bottom: 10px; }
.cat-list { display: flex; flex-direction: column; gap: 9px; font-size: 12.5px; }
.cat-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.contact-mini { display: flex; flex-direction: column; gap: 7px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--muted); }
.contact-mini span { display: flex; gap: 7px; align-items: flex-start; }
.success-panel { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 8px; }
.success-panel svg { color: var(--green); }
.success-panel h2 { font-size: 22px; }
.success-panel p { color: var(--muted); max-width: 46ch; }
.success-panel__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

.pay-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: 24px; align-items: start; max-width: 1040px; margin: 0 auto; }
.card--pay { padding: 26px; }
.pay-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.pay-head strong { display: block; font-size: 17px; margin-top: 2px; }
.pay-summary { display: flex; flex-direction: column; gap: 0; margin-top: 6px; }
.pay-summary div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.pay-summary dt { color: var(--muted); }
.pay-summary dd { font-weight: 600; text-align: right; }
.pay-summary__total { border-bottom: 0 !important; padding-top: 16px !important; }
.pay-summary__total dt { font-weight: 750; color: var(--text); font-size: 15px; }
.pay-summary__total dd { font-size: 22px; letter-spacing: -.04em; color: var(--green); }
.paid-note { display: flex; gap: 11px; align-items: flex-start; margin-top: 14px; padding: 13px; border-radius: 12px; background: var(--lime-soft); border: 1px solid color-mix(in srgb, var(--green) 22%, transparent); color: var(--green); }
.paid-note strong { display: block; font-size: 13.5px; }
.paid-note p { font-size: 12px; color: var(--muted); margin-top: 2px; }
.paid-note--wait { background: var(--warn-soft); border-color: rgba(194, 118, 10, .24); color: var(--warn); }
.pay-banks { margin-top: 20px; }
.pay-banks h3 { font-size: 14px; margin-bottom: 10px; }
.bank { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; background: var(--surface-2); }
.bank__name { font-weight: 750; font-size: 13px; min-width: 62px; }
.bank__number { font-size: 14px; font-weight: 650; }
.bank__holder { font-size: 11.5px; color: var(--faint); flex: 1; text-align: right; }
.pay-aside { display: flex; flex-direction: column; gap: 16px; }
.pay-aside .card h3 { font-size: 14px; margin-bottom: 6px; }
.pay-aside form { margin-top: 12px; }
.proof-preview { margin-top: 8px; border-radius: 10px; border: 1px dashed var(--line-strong); padding: 6px; max-width: 200px; }
.proof-preview img { border-radius: 7px; display: block; }

.notfound { max-width: 560px; margin: 0 auto; padding: 100px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.notfound__art { width: 88px; height: 88px; border-radius: 26px; background: var(--surface); border: 1px dashed var(--line-strong); color: var(--green); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.notfound h1 { font-size: 26px; }
.notfound p { color: var(--muted); }
.notfound__actions { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; justify-content: center; }

/* =====================================================================
   LOGIN
   ===================================================================== */
.auth-page { background: var(--bg); }
.auth { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); min-height: 100vh; }
.auth__aside {
  position: relative; overflow: hidden; padding: 34px;
  display: flex; flex-direction: column; gap: 32px;
  background:
    radial-gradient(600px 380px at 80% 0%, rgba(201, 242, 78, .22), transparent 60%),
    linear-gradient(160deg, #0b2418, #071a11);
  color: #eaf6ec;
}
.auth__aside .brand__text strong { color: #fff; }
.auth__aside .brand__text small { color: #9fbca8; }
.auth__quote { margin-top: auto; }
.auth__quote h2 { font-size: clamp(24px, 3vw, 34px); color: #fff; letter-spacing: -.04em; margin-bottom: 22px; max-width: 22ch; }
.auth__points { display: flex; flex-direction: column; gap: 12px; }
.auth__points li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: #c6dccb; }
.auth__points svg { color: var(--lime); margin-top: 1px; }
.auth__court { position: absolute; right: -60px; bottom: 80px; width: 260px; height: 200px; border: 2px solid rgba(201, 242, 78, .2); border-radius: 14px; transform: rotate(-8deg); pointer-events: none; }
.auth__court span { position: absolute; background: rgba(201, 242, 78, .18); }
.auth__court span:nth-child(1) { left: 0; right: 0; top: 50%; height: 1px; }
.auth__court span:nth-child(2) { top: 0; bottom: 0; left: 50%; width: 1px; }
.auth__court span:nth-child(3) { left: 14px; right: 14px; top: 14px; bottom: 14px; background: transparent; border: 1px solid rgba(201, 242, 78, .16); }
.auth__foot { font-size: 11.5px; color: #7f9c88; }
.auth__panel { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth__form { width: 100%; max-width: 380px; }
.auth__form h1 { font-size: 26px; letter-spacing: -.04em; }
.auth__sub { color: var(--muted); font-size: 13.5px; margin: 6px 0 22px; }
.auth__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 18px; }
.auth__row .check { padding: 0; border: 0; background: transparent; font-size: 12.5px; }
.auth__hint { margin-top: 20px; font-size: 11.5px; color: var(--faint); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.auth__hint code { background: var(--surface-2); padding: 2px 6px; border-radius: 5px; border: 1px solid var(--line); }

/* =====================================================================
   RESPONSIF
   ===================================================================== */
@media (max-width: 1180px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__inner { gap: 30px; }
  .float-card--wa { left: 0; }
  .float-card--stat { right: 0; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .grid--2-1, .grid--2 { grid-template-columns: minmax(0, 1fr); }
  .form-layout, .pay-layout { grid-template-columns: minmax(0, 1fr); }
  .split { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__art { min-height: 360px; order: 2; }
  .price--featured { transform: none; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-list { grid-template-columns: minmax(0, 1fr); }
  .pfoot__inner { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .auth { grid-template-columns: minmax(0, 1fr); }
  .auth__aside { display: none; }
}

@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); transition: transform .24s ease; box-shadow: 0 0 60px rgba(0, 0, 0, .5); }
  .sidebar.is-open { transform: translateX(0); }
  .sidebar__close { display: inline-flex; }
  .shell__main { margin-left: 0; }
  .topbar { padding: 12px 16px; }
  .topbar__menu { display: inline-flex; }
  .topbar__title { font-size: 18px; }
  .topbar__sub { display: none; }
  .content { padding: 18px 16px 32px; }
  .sidebar-scrim { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(5, 15, 10, .5); backdrop-filter: blur(2px); }
  .sidebar-scrim[hidden] { display: none; }
  .wa-mode span { display: none; }
  .wa-mode { padding: 8px; }
  .pnav__links { display: none; }
  .pnav__menu { display: inline-flex; }
  .pnav__mobile { display: flex; flex-direction: column; gap: 4px; padding: 8px 16px 16px; border-top: 1px solid var(--line); background: var(--surface); }
  .pnav__mobile a { padding: 10px 8px; font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--line); }
  .pnav__mobile .btn { margin-top: 8px; border-bottom: 0; }
  .pnav__inner { gap: 12px; padding: 10px 16px; }
  .pnav__actions .btn--ghost { display: none; }
  .psection { padding: 46px 18px; }
  .hero { padding: 34px 18px 0; }
  .cta-band { margin: 0 18px 46px; padding: 26px 22px; }
  .week { grid-template-columns: repeat(7, 210px); }
}

@media (max-width: 720px) {
  .stat-grid { gap: 12px; }
  .stat { padding: 14px; }
  .stat__value { font-size: 21px; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .checkgrid { grid-template-columns: minmax(0, 1fr); }
  .detail-grid { grid-template-columns: repeat(2, 1fr); }
  .toolbar { flex-direction: column; align-items: stretch; }
  .toolbar__fields, .toolbar__actions { width: 100%; }
  .mini-field { flex: 1 1 100%; }
  .mini-field input[type="date"], .mini-field input[type="month"] { min-width: 0; }
  .toolbar__actions .btn { flex: 1; }
  .section-head { align-items: flex-start; }
  .section-head__actions { width: 100%; }
  .section-head__actions .btn { flex: 1; }
  .price-grid { grid-template-columns: minmax(0, 1fr); }
  .pfoot__cols { grid-template-columns: repeat(2, 1fr); }
  .hello { padding: 18px; border-radius: 20px; }
  .hello__title { font-size: 21px; }
  .hello__cta { width: 100%; }
  .hello__cta .btn { flex: 1; }
  .cards, .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .flows .flow { grid-template-columns: 34px 1fr 74px; }
  .flow__val { font-size: 11px; }
  .form-card { padding: 18px; border-radius: 18px; }
  .pay-head { flex-direction: column; }
  .pay-summary__total dd { font-size: 19px; }
  .pub-slot { flex-wrap: wrap; }
  .pub-slot__seats { width: 100%; text-align: center; }
  .tabs { gap: 4px; }
  .tab span { display: none; }
  .tab { padding: 10px 13px; }
  .tab svg { width: 18px; height: 18px; }
  .coach-card__meta { grid-template-columns: 1fr; }
  .modal { padding: 10px; }
  .modal__panel { max-height: calc(100vh - 20px); padding: 16px; border-radius: 16px; }
  .modal__foot .btn { flex: 1; }
  .msg-cell { max-width: none; }
  .empty { padding: 26px 12px; }
  .pfoot__bottom { flex-direction: column; gap: 6px; }
  .notfound { padding: 70px 18px; }
  .auth__panel { padding: 28px 18px; }
}

/* tabel → kartu di layar kecil */
@media (max-width: 860px) {
  .table--cards thead { display: none; }
  .table--cards, .table--cards tbody, .table--cards tr, .table--cards td { display: block; width: 100%; }
  .table--cards tr {
    border: 1px solid var(--line); border-radius: 13px; padding: 12px;
    margin-bottom: 10px; background: var(--surface-2);
  }
  .table--cards tr:last-child { margin-bottom: 0; }
  .table--cards td { border: 0; padding: 6px 0 !important; display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; text-align: right; }
  .table--cards td::before {
    content: attr(data-label);
    flex: 0 0 40%; text-align: left;
    font-size: 11px; text-transform: uppercase; letter-spacing: .05em;
    color: var(--faint); font-weight: 700; padding-top: 2px;
  }
  .table--cards td:first-child { padding-top: 0 !important; }
  .table--cards td > .cell-user { justify-content: flex-end; text-align: right; }
  .table--cards td.ta-right { justify-content: flex-end; }
  .table--cards td .row-actions { flex-wrap: wrap; justify-content: flex-end; }
  .table--cards td .segmented { flex-wrap: wrap; }
  .table--cards td[data-label=""]::before { display: none; }
}

/* =====================================================================
   PRINT (halaman bayar)
   ===================================================================== */
@media print {
  .pnav, .pfoot, .cta-band, .pay-aside, .skip-link, .toast-stack { display: none !important; }
  body { background: #fff; }
  .psection { padding: 0; }
  .card { box-shadow: none; border-color: #ddd; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* Layar sangat kecil: CTA di navbar sudah ada di panel menu mobile */
@media (max-width: 430px) {
  .pnav__actions .btn--primary { display: none; }
  .pnav__inner { padding: 10px 14px; gap: 10px; }
  .brand--pub .brand__text small { display: none; }
  .hero h1 .hl { white-space: normal; }
}

/* =====================================================================
   RAPOR ATLET & BROADCAST
   ===================================================================== */
.stars { display: inline-flex; gap: 3px; }
.star {
  width: 12px; height: 12px; border-radius: 3px; display: inline-block;
  background: var(--line-strong); transform: rotate(45deg) scale(.82);
}
.star.is-on { background: linear-gradient(135deg, var(--green-2), var(--green)); }

.score {
  display: inline-flex; align-items: baseline; gap: 1px;
  font-size: 17px; font-weight: 800; letter-spacing: -.04em; padding: 2px 9px; border-radius: 9px;
}
.score small { font-size: 10.5px; font-weight: 600; opacity: .7; }
.score--success { background: rgba(18, 160, 106, .12); color: var(--green); }
.score--info { background: var(--info-soft); color: var(--info); }
.score--warning { background: var(--warn-soft); color: var(--warn); }
.score--danger { background: var(--danger-soft); color: var(--danger); }

.att-cell { display: flex; flex-direction: column; gap: 3px; min-width: 96px; }
.att-cell strong { font-size: 13px; }

.segmented--rate { gap: 3px; }
.segmented--rate .segmented__opt span { min-width: 27px; text-align: center; padding: 5px 0; }
.rate-label { min-width: 96px; }

.rapor-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.rapor-actions__right { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.rapor-actions__right form { display: inline-flex; margin: 0; }

.rapor {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 30px; max-width: 900px; margin: 0 auto;
}
.rapor--pub { margin-top: 6px; }
.rapor__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 2px solid var(--ink); flex-wrap: wrap; }
.rapor__brand { display: flex; align-items: center; gap: 12px; }
.rapor__mark {
  width: 44px; height: 44px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--green), var(--green-3)); color: var(--lime);
}
.rapor__brand strong { display: block; font-size: 16px; letter-spacing: -.03em; }
.rapor__brand span { font-size: 11.5px; color: var(--faint); }
.rapor__meta { text-align: right; }
.rapor__meta span { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.rapor__meta strong { font-size: 17px; letter-spacing: -.03em; }
.rapor__id { display: flex; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px dashed var(--line); flex-wrap: wrap; }
.rapor__id dl { display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)); gap: 10px 22px; flex: 1; }
.rapor__id dt { font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); font-weight: 700; }
.rapor__id dd { font-size: 13.5px; font-weight: 650; margin-top: 1px; }
.rapor__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.rapor__block { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.rapor__block h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.rapor__block h3.rapor__sub { margin-top: 16px; }
.rapor__block .table th { padding-bottom: 8px; }
.rapor__block .table td { padding: 9px 10px; }
.rapor__block .table td:first-child { padding-left: 0; }
.rapor__rate { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.rapor__rate strong { font-size: 30px; letter-spacing: -.05em; color: var(--green); line-height: 1; }
.rapor__rate span { font-size: 11.5px; color: var(--muted); }
.rapor__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.rapor__score { display: flex; align-items: baseline; gap: 8px; }
.rapor__score strong { font-size: 34px; letter-spacing: -.05em; line-height: 1; }
.rapor__score span { font-size: 11.5px; color: var(--muted); }
.rapor__note { font-size: 11.5px; color: var(--faint); margin-top: 10px; }
.rapor__prose { font-size: 13px; line-height: 1.6; color: var(--text); }
.rapor__sched { display: flex; flex-direction: column; gap: 7px; }
.rapor__sched li { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; padding-bottom: 6px; border-bottom: 1px dashed var(--line); }
.rapor__sched span { color: var(--muted); white-space: nowrap; }
.rapor__verdict { margin-top: 20px; border-left: 4px solid var(--green); }
.rapor__verdict h3 { text-transform: none; letter-spacing: -.02em; font-size: 14px; color: var(--text); margin-bottom: 4px; }
.rapor__verdict p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.rapor__verdict--success { border-left-color: var(--green); background: rgba(18, 160, 106, .07); }
.rapor__verdict--warning { border-left-color: var(--warn); background: var(--warn-soft); }
.rapor__verdict--danger { border-left-color: var(--danger); background: var(--danger-soft); }
.rapor__verdict--neutral { border-left-color: var(--line-strong); }
.rapor__foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 10.5px; color: var(--faint); flex-wrap: wrap; }

.trend { display: flex; align-items: flex-end; gap: 7px; height: 74px; margin-top: 12px; }
.trend__col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2px; height: 100%; }
.trend__bar { width: 100%; max-width: 26px; border-radius: 4px 4px 2px 2px; background: linear-gradient(to top, var(--green-3), var(--green-2)); min-height: 3px; }
.trend__label { font-size: 9.5px; color: var(--faint); }
.trend__val { font-size: 9.5px; font-weight: 700; color: var(--muted); }

.broadcast-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.wa-preview { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.wa-preview__head { display: flex; align-items: center; gap: 7px; padding: 9px 12px; background: #0b2418; color: #e9f4ea; font-size: 11.5px; }
.wa-preview__head svg { color: var(--lime); }
.wa-preview__bubble {
  margin: 12px; padding: 11px 13px; border-radius: 12px 12px 12px 4px;
  background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; line-height: 1.55;
  max-height: 260px; overflow-y: auto; white-space: normal;
}
.wa-preview__foot { padding: 0 12px 12px; font-size: 11px; color: var(--faint); }
.mt-8 { margin-top: 8px; }

@media (max-width: 860px) {
  .rapor { padding: 18px; border-radius: 18px; }
  .rapor__grid { grid-template-columns: minmax(0, 1fr); }
  .rapor__id dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rapor__meta { text-align: left; }
  .rapor__foot { flex-direction: column; }
  .rapor-actions { flex-direction: column; align-items: stretch; }
  .rapor-actions__right { width: 100%; }
  .rapor-actions__right .btn, .rapor-actions__right form { flex: 1; }
  .rapor-actions__right .btn { width: 100%; }
  .segmented--rate .segmented__opt span { min-width: 22px; }
}

@media print {
  .sidebar, .topbar, .appfoot, .no-print, .crumb, .skip-link, .sidebar-scrim,
  .toast-stack, .rapor-actions, .pnav, .pfoot { display: none !important; }
  body { background: #fff; color: #111; }
  .shell__main { margin-left: 0 !important; }
  .content { padding: 0 !important; max-width: none !important; }
  .rapor { box-shadow: none; border: 0; border-radius: 0; padding: 0; max-width: none; }
  .rapor__block { break-inside: avoid; background: #fff; border-color: #d8d8d8; }
  .rapor__verdict { background: #fff !important; }
  .rapor__head { border-bottom-color: #111; }
  .badge { border: 1px solid #ccc; }
  .psection { padding: 0 !important; }
}

/* =====================================================================
   v1.2 — transisi halaman, footer lengkap, tentang, akun, perangkat
   ===================================================================== */

/* ---------------------------------------------- animasi transisi halaman */
@keyframes pageIn {
  from { opacity: 0; transform: translate3d(0, 14px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes pageOut {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translate3d(0, -10px, 0); }
}
.page-anim { animation: pageIn .34s cubic-bezier(.22, .8, .3, 1) both; will-change: opacity, transform; }
body.is-leaving .page-anim { animation: pageOut .18s ease-in both; }
body.is-leaving { cursor: progress; }
[data-transition="0"] .page-anim,
[data-transition="0"] body.is-leaving .page-anim { animation: none !important; }

::view-transition-old(root) { animation: pageOut .18s ease-in both; }
::view-transition-new(root) { animation: pageIn .3s cubic-bezier(.22,.8,.3,1) both; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s cubic-bezier(.22,.8,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------ topbar: tz & user menu */
.tz-pill {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 650; color: var(--muted); background: var(--surface); border: 1px solid var(--line);
}
.umenu { position: relative; }
.umenu__btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 4px 8px 4px 4px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); cursor: pointer; color: var(--text);
}
.umenu__btn:hover { border-color: var(--green); }
.umenu__name { font-size: 12.5px; font-weight: 650; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.umenu__caret { color: var(--faint); }
.umenu__panel {
  position: absolute; right: 0; top: calc(100% + 8px); width: 258px; z-index: 70;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 8px; animation: pop .16s ease;
}
.umenu__panel[hidden] { display: none; }
.umenu__head { display: flex; gap: 10px; align-items: center; padding: 8px; }
.umenu__head div { min-width: 0; display: flex; flex-direction: column; }
.umenu__head strong { font-size: 13px; }
.umenu__head span { font-size: 11.5px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; }
.umenu__role { padding: 2px 8px 8px; }
.umenu__item {
  display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 9px;
  font-size: 13px; color: var(--text); font-weight: 550;
}
.umenu__item:hover { background: var(--surface-2); }
.umenu__item--danger { color: var(--danger); }
.umenu__item svg { color: var(--muted); }
.umenu__panel hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }

/* avatar dengan foto */
.avatar--img { object-fit: cover; border-radius: 50%; background: var(--surface-2); }

/* ---------------------------------------------------------- hero video */
.hero-video { position: relative; margin: 0; border-radius: 22px; overflow: hidden; background: #0b1f17; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12); }
.hero-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #0b1f17; }
.hero-video__cap {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px; border-radius: 999px; font-size: 11px; font-weight: 600; color: #eaf6ec;
  background: rgba(7, 24, 16, .62); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px);
}
.hero-video__sound {
  position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; border-radius: 999px; cursor: pointer; font-size: 12px; font-weight: 650;
  color: #eaf6ec; background: rgba(7, 24, 16, .62); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(6px); transition: background .16s, border-color .16s, transform .16s;
}
.hero-video__sound:hover { background: rgba(201, 242, 78, .92); border-color: transparent; color: #0b1f17; transform: translateY(-1px); }
.hero-video__sound .ico--unmuted { display: none; }
.hero-video__sound.is-on { background: rgba(201, 242, 78, .92); color: #0b1f17; border-color: transparent; }
.hero-video__sound.is-on .ico--muted { display: none; }
.hero-video__sound.is-on .ico--unmuted { display: block; }
.hero .float-card--wa { left: -14px; top: auto; bottom: 66px; }
.hero .float-card--stat { right: -16px; top: 18px; bottom: auto; }

/* --------------------------------------------------------- halaman tentang */
.about-hero { position: relative; overflow: hidden; padding: 56px 22px 34px; }
.about-hero__glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(80px); background: rgba(201,242,78,.32); top: -220px; right: -60px; pointer-events: none; }
.about-hero__inner { position: relative; max-width: 980px; margin: 0 auto; }
.about-hero h1 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -.045em; }
.about-hero h1 .hl { color: var(--green); position: relative; isolation: isolate; }
.about-hero h1 .hl::after { content: ''; position: absolute; left: 0; right: 0; bottom: .06em; height: .3em; background: var(--lime); z-index: -1; border-radius: 3px; opacity: .8; }
.about-hero__lead { font-size: 16.5px; color: var(--muted); margin-top: 18px; max-width: 62ch; }
.about-hero__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.about-hero__stats div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); }
.about-hero__stats strong { display: block; font-size: 26px; letter-spacing: -.05em; }
.about-hero__stats span { font-size: 11.5px; color: var(--muted); }
.split-copy { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.split-copy h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.04em; line-height: 1.12; }
.split-copy__text { display: flex; flex-direction: column; gap: 14px; font-size: 15px; color: var(--muted); }
.vision-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 1200px; margin: 0 auto; }
.vision-card { padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.vision-card h2 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.04em; margin-bottom: 12px; }
.vision-card p { color: var(--muted); font-size: 14.5px; }
.vision-card--dark { background: linear-gradient(140deg, #0b2418, #0f3a26); color: #eaf6ec; border-color: rgba(255,255,255,.1); }
.vision-card--dark .tick-list li { color: #d7e6da; }

/* timeline */
.tl { position: relative; display: flex; flex-direction: column; gap: 18px; max-width: 900px; margin: 0 auto; padding-left: 8px; }
.tl::before { content: ''; position: absolute; left: 58px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(to bottom, var(--green), color-mix(in srgb, var(--green) 10%, transparent)); }
.tl__item { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 18px; align-items: start; position: relative; }
.tl__marker { display: flex; justify-content: flex-end; padding-top: 14px; }
.tl__marker span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 58px; height: 30px;
  border-radius: 999px; background: var(--ink); color: var(--lime); font-size: 12px; font-weight: 800;
  letter-spacing: -.02em; position: relative; z-index: 1; box-shadow: 0 0 0 4px var(--bg-2);
}
.psection--tint .tl__marker span { box-shadow: 0 0 0 4px var(--surface-2); }
.tl__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.tl__tag { display: inline-block; font-size: 10.5px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--green); background: var(--lime-soft); padding: 3px 9px; border-radius: 999px; margin-bottom: 8px; }
.tl__card h3 { font-size: 15.5px; margin-bottom: 6px; }
.tl__card p { font-size: 13.5px; color: var(--muted); }
.about-coaches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.about-coach { display: flex; gap: 14px; align-items: flex-start; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.about-coach strong { display: block; font-size: 14.5px; }
.about-coach span { font-size: 11.5px; color: var(--green); font-weight: 650; }
.about-coach p { font-size: 12.5px; color: var(--muted); margin-top: 6px; }

/* terima kasih */
.thanks-hero { text-align: center; }
.thanks-hero .page-hero__inner { max-width: 760px; }
.thanks-badge {
  width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 20px; display: inline-flex;
  align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(145deg, var(--green), var(--green-3)); box-shadow: 0 16px 34px -18px rgba(14,122,79,.9);
}
.thanks-hero h1 { font-size: clamp(28px, 4vw, 44px); }
.thanks-meta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.thanks-meta__item { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); padding: 7px 12px; border-radius: 999px; }
.thanks-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: 22px; max-width: 1040px; margin: 0 auto; align-items: start; }
.thanks__steps { display: flex; flex-direction: column; gap: 0; }
.thanks__steps li { display: flex; gap: 14px; align-items: flex-start; padding: 15px 0; border-bottom: 1px dashed var(--line); }
.thanks__steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.thanks__ico { flex: 0 0 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--lime-soft); color: var(--green); }
.thanks__steps h3 { font-size: 14px; margin-bottom: 3px; }
.thanks__steps p { font-size: 12.5px; color: var(--muted); }
.thanks__tag { margin-left: auto; font-size: 10.5px; font-weight: 700; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.thanks__links { display: flex; flex-direction: column; gap: 8px; }

/* ------------------------------------------------------------- footer */
.pf-socials { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.pf-social { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: #cfe2d4; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); transition: background .16s, color .16s, border-color .16s; }
.pf-social:hover { background: rgba(201,242,78,.16); color: #fff; border-color: rgba(201,242,78,.4); }
.pf-trust { max-width: 1200px; margin: 0 auto; padding: 0 22px 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.pf-trust__item { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; color: #b6cdbd; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); }
.pf-trust__item svg { color: var(--lime); }
.pf-trust__item--soft { color: #8fae9a; }
.pfoot__legal { display: flex; gap: 14px; flex-wrap: wrap; }
.pfoot__legal a:hover { color: #fff; }

/* --------------------------------------------------- akun: profil & dst */
.auth__tabs { display: flex; gap: 6px; padding: 5px; margin-bottom: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.auth-tab { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 12px; border-radius: 9px; font-size: 13px; font-weight: 650; color: var(--muted); }
.auth-tab:hover { background: var(--surface-2); color: var(--text); }
.auth-tab.is-active { background: var(--green); color: #fff; }
.otp-input { font-family: var(--mono); font-size: 24px !important; letter-spacing: .34em; text-align: center; padding: 14px 12px !important; }
.auth__row--center { justify-content: space-between; }

.avatar-row { display: flex; gap: 16px; align-items: flex-start; padding: 14px; border: 1px dashed var(--line-strong); border-radius: 14px; background: var(--surface-2); margin-bottom: 8px; }
.avatar-row__preview .avatar, .avatar-row__preview img { width: 88px; height: 88px; font-size: 30px; }
.avatar-row__body { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.avatar-row__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.avatar-row__actions .btn { position: relative; }
.kv--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
.kv--wide dd { font-size: 13.5px; font-weight: 650; }
.strength { display: flex; flex-direction: column; gap: 4px; margin: -4px 0 10px; }
.strength[hidden] { display: none; }
.strength span { height: 5px; border-radius: 999px; background: var(--line); overflow: hidden; position: relative; }
.strength span::after { content: ''; position: absolute; inset: 0; width: var(--w, 0%); background: var(--c, var(--danger)); transition: width .2s, background .2s; }
.strength em { font-size: 11.5px; color: var(--muted); font-style: normal; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }

.sessions { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.sessions__row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); padding: 7px 0; border-bottom: 1px dashed var(--line); }
.sessions__row strong { color: var(--text); }
.export-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.card--danger-zone { border-color: color-mix(in srgb, var(--danger) 30%, var(--line)); }
.row--flag { background: color-mix(in srgb, var(--danger) 7%, transparent); }
.row--muted { opacity: .62; }
.inline-form--tight { display: inline-flex; margin: 8px 0 0; padding: 0; border: 0; }

/* hierarki tim */
.hierarchy { display: flex; flex-direction: column; gap: 8px; }
.hierarchy__item { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 11px 12px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); position: relative; }
.hierarchy__item strong { display: block; font-size: 13px; }
.hierarchy__item span { font-size: 11.5px; color: var(--muted); }
.hierarchy__item--d0 { margin-left: 0; }
.hierarchy__item--d1 { margin-left: 14px; }
.hierarchy__item--d2 { margin-left: 28px; }
.role-form { display: inline-flex; gap: 6px; align-items: center; }
.role-form select { padding: 5px 8px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text); font: inherit; font-size: 12px; }

/* matriks peran */
.table--perm th, .table--perm td { font-size: 12.5px; }
.table--perm .perm-group__head td { background: var(--surface-2); font-weight: 750; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); padding: 8px 10px !important; }
.table--perm .ta-center { text-align: center; }
.check--switch { display: inline-flex; padding: 0; border: 0; background: transparent; }
.check--switch > input { position: absolute; opacity: 0; }
.check--switch .switch span { width: 38px; height: 22px; }
.check--switch .switch span::after { width: 16px; height: 16px; }
.check--switch input:checked + .switch span::after { transform: translateX(16px); }
.role-legend { display: flex; gap: 12px; flex-wrap: wrap; }
.role-legend__item { display: inline-flex; flex-direction: column; gap: 3px; }
.role-legend__item small { font-size: 10.5px; color: var(--faint); }
.empty--page { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 48px 20px; box-shadow: var(--shadow); }

/* ----------------------------------------------------------- responsif */
@media (max-width: 1024px) {
  .about-hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-copy { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .vision-grid, .about-coaches, .thanks-layout { grid-template-columns: minmax(0, 1fr); }
  .hero .float-card { display: none; }
}
@media (max-width: 900px) {
  .umenu__name, .tz-pill { display: none; }
  .hero-video__cap { display: none; }
  .tl::before { left: 22px; }
  .tl__item { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-left: 44px; }
  .tl__marker { position: absolute; left: 0; top: 0; padding-top: 10px; }
  .tl__marker span { min-width: 44px; height: 26px; font-size: 11px; box-shadow: 0 0 0 3px var(--bg-2); }
  .psection--tint .tl__marker span { box-shadow: 0 0 0 3px var(--surface-2); }
}
@media (max-width: 720px) {
  .avatar-row { flex-direction: column; align-items: center; text-align: center; }
  .avatar-row__actions { justify-content: center; width: 100%; }
  .kv--wide { grid-template-columns: minmax(0, 1fr); }
  .about-hero { padding: 34px 18px 20px; }
  .about-hero__stats { gap: 10px; }
  .about-hero__stats strong { font-size: 21px; }
  .vision-card { padding: 20px; }
  .pf-trust { padding: 0 18px 18px; }
  .pf-trust__item { font-size: 11px; }
  .auth__tabs { flex-direction: column; }
  .thanks__steps li { flex-wrap: wrap; }
  .thanks__tag { margin-left: 54px; }
  .hero-video__sound span { display: none; }
  .hero-video__sound { padding: 9px; }
  /* Cegah tabel lebar "bocor" ke lebar halaman; scroll tetap di .table-wrap */
  .content { overflow-x: clip; }
  /* matriks izin: geser horizontal (jangan pakai sticky — membuat halaman ikut melebar) */
  .table--perm { min-width: 420px; }
  .table--perm td:first-child, .table--perm th:first-child { background: var(--surface); }
  .table--perm td:first-child strong { font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .page-anim, body.is-leaving .page-anim, .reveal { animation: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }
}
