/* =====================================================================
   BCK GURU — Tema NEON (dark, cyan/magenta glow)
   ===================================================================== */
:root {
  --bg:        #04060f;
  --bg-soft:   #080c1c;
  --panel:     rgba(11, 17, 36, .86);
  --panel-2:   rgba(16, 23, 46, .9);
  --line:      rgba(0, 240, 255, .22);
  --line-soft: rgba(140, 180, 255, .14);
  --neon:      #00f0ff;
  --neon-2:    #ff2bd6;
  --neon-3:    #8a5cff;
  --ok:        #21f3a1;
  --warn:      #ffd166;
  --danger:    #ff3d71;
  --text:      #e7f3ff;
  --muted:     #8ea3c0;
  --radius:    16px;
  --shadow:    0 0 24px rgba(0, 240, 255, .10), 0 18px 40px -24px rgba(0, 0, 0, .9);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 12% -10%, rgba(0, 240, 255, .16), transparent 62%),
    radial-gradient(760px 500px at 96% 4%, rgba(255, 43, 214, .14), transparent 60%),
    radial-gradient(700px 420px at 55% 108%, rgba(138, 92, 255, .16), transparent 62%),
    var(--bg);
  background-attachment: fixed;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 240, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, .045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 78%);
  z-index: 0;
}

a { color: var(--neon); text-decoration: none; }
a:hover { color: #9df6ff; }

h1, h2, h3, h4 { margin: 0 0 .35em; line-height: 1.25; font-weight: 700; letter-spacing: .2px; }
p { margin: 0 0 .8em; }
small { color: var(--muted); }

/* ---------------- LOGIN / REGISTER ---------------- */
.auth-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 0;
}
.auth-hero {
  padding: 56px 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line-soft);
  background: linear-gradient(140deg, rgba(0, 240, 255, .07), rgba(255, 43, 214, .06) 55%, transparent);
}
.auth-hero .brand-mark { margin-bottom: 26px; }
.auth-hero h1 {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.12;
  margin-bottom: 14px;
  text-shadow: 0 0 22px rgba(0, 240, 255, .55);
}
.auth-hero h1 .grad {
  background: linear-gradient(92deg, var(--neon), #a6f7ff 40%, var(--neon-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.auth-hero p.lead { color: var(--muted); max-width: 46ch; font-size: 15.5px; }
.auth-hero ul.fitur { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.auth-hero ul.fitur li { display: flex; gap: 12px; align-items: flex-start; color: #c8ddf3; font-size: 14.5px; }
.auth-hero ul.fitur li span.dot {
  flex: 0 0 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(0, 240, 255, .12);
  border: 1px solid var(--line);
  color: var(--neon); font-size: 12px;
  box-shadow: 0 0 14px rgba(0, 240, 255, .35);
}
.auth-panel {
  display: flex; align-items: center; justify-content: center;
  padding: 44px 32px;
}
.auth-card {
  width: 100%; max-width: 430px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.auth-card.wide { max-width: 720px; }
.auth-card h2 { font-size: 22px; }
.auth-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.auth-foot { margin-top: 18px; text-align: center; font-size: 14px; color: var(--muted); }

/* ---------------- BRAND ---------------- */
.brand-mark { display: flex; align-items: center; gap: 13px; }
.brand-logo {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 15px; letter-spacing: .5px;
  color: #031018;
  background: linear-gradient(140deg, var(--neon), #7df9ff 40%, var(--neon-2));
  box-shadow: 0 0 20px rgba(0, 240, 255, .55), 0 0 40px rgba(255, 43, 214, .25);
}
.brand-text strong { display: block; font-size: 16px; letter-spacing: 1.4px; }
.brand-text span { font-size: 11.5px; color: var(--muted); letter-spacing: .6px; text-transform: uppercase; }

/* ---------------- APP SHELL ---------------- */
.app { position: relative; z-index: 1; display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }

.sidebar {
  border-right: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(8, 13, 28, .96), rgba(5, 8, 18, .98));
  padding: 24px 18px;
  display: flex; flex-direction: column; gap: 22px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.sidebar .nav-label {
  font-size: 10.5px; letter-spacing: 1.6px; text-transform: uppercase;
  color: #6d82a3; padding: 0 12px; margin-top: 6px;
}
.sidebar nav { display: grid; gap: 5px; }
.sidebar nav a {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 13px; border-radius: 12px;
  color: #b8cbe3; font-size: 14px; font-weight: 500;
  border: 1px solid transparent;
  transition: .18s ease;
}
.sidebar nav a .ico {
  width: 24px; height: 24px; flex: 0 0 24px;
  display: grid; place-items: center; border-radius: 8px;
  background: rgba(0, 240, 255, .08); border: 1px solid rgba(0, 240, 255, .18);
  font-size: 12px; color: var(--neon);
}
.sidebar nav a:hover { background: rgba(0, 240, 255, .07); color: #fff; border-color: rgba(0, 240, 255, .22); }
.sidebar nav a.active {
  background: linear-gradient(90deg, rgba(0, 240, 255, .18), rgba(255, 43, 214, .10));
  border-color: var(--line); color: #fff;
  box-shadow: 0 0 18px rgba(0, 240, 255, .18), inset 0 0 18px rgba(0, 240, 255, .06);
}
.sidebar nav a.active .ico { color: #031018; background: linear-gradient(140deg, var(--neon), var(--neon-2)); box-shadow: 0 0 12px rgba(0, 240, 255, .6); }
.sidebar nav a.danger { color: #ffb3c9; }
.sidebar nav a.danger .ico { color: var(--danger); background: rgba(255, 61, 113, .1); border-color: rgba(255, 61, 113, .3); }
.sidebar nav a.danger:hover { background: rgba(255, 61, 113, .12); border-color: rgba(255, 61, 113, .35); }

.sidebar .me {
  margin-bottom: 0;
  display: flex; gap: 12px; align-items: center;
  padding: 12px; border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: rgba(0, 240, 255, .05);
}
.sidebar .me .nm { font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.sidebar .me .rl { font-size: 11px; color: var(--neon); letter-spacing: .8px; text-transform: uppercase; }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 30px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(5, 9, 20, .55);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 5;
}
.topbar .ttl { font-size: 21px; margin: 0; }
.topbar .crumb { font-size: 12px; color: var(--muted); letter-spacing: .5px; }
.content { padding: 26px 30px 56px; max-width: 1240px; width: 100%; }

/* ---------------- AVATAR ---------------- */
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  object-fit: cover; display: grid; place-items: center;
  font-weight: 700; font-size: 14px; color: #031018;
  background: linear-gradient(140deg, var(--neon), var(--neon-2));
  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: 0 0 16px rgba(0, 240, 255, .45);
  overflow: hidden;
}
.avatar.lg { width: 96px; height: 96px; font-size: 30px; }
.avatar.xl { width: 132px; height: 132px; font-size: 40px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------- CARD ---------------- */
.card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.card + .card { margin-top: 20px; }
.card.neon { border-color: var(--line); box-shadow: 0 0 26px rgba(0, 240, 255, .14), 0 18px 40px -24px #000; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.card-head h3 { font-size: 16px; margin: 0; letter-spacing: .4px; }
.card-head .hint { font-size: 12.5px; color: var(--muted); }

/* ---------------- STATS ---------------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-bottom: 22px; }
.stat {
  position: relative; overflow: hidden;
  padding: 22px 24px; border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(0, 240, 255, .11), rgba(138, 92, 255, .07) 60%, rgba(255, 43, 214, .08));
  border: 1px solid var(--line);
  box-shadow: 0 0 30px rgba(0, 240, 255, .12), 0 18px 34px -26px #000;
}
.stat::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px;
  border-radius: 50%; background: radial-gradient(circle, rgba(0, 240, 255, .28), transparent 70%);
}
.stat.magenta { background: linear-gradient(150deg, rgba(255, 43, 214, .14), rgba(138, 92, 255, .08) 60%, rgba(0, 240, 255, .07)); }
.stat.magenta::after { background: radial-gradient(circle, rgba(255, 43, 214, .3), transparent 70%); }
.stat.green { background: linear-gradient(150deg, rgba(33, 243, 161, .13), rgba(0, 240, 255, .07)); }
.stat.green::after { background: radial-gradient(circle, rgba(33, 243, 161, .26), transparent 70%); }
.stat .lbl { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: #a9c1dd; }
.stat .val { font-size: 40px; font-weight: 800; line-height: 1.1; margin: 6px 0 2px; text-shadow: 0 0 22px rgba(0, 240, 255, .6); }
.stat .sub { font-size: 12.5px; color: var(--muted); }
.stat .ico-big { position: absolute; right: 20px; bottom: 14px; font-size: 30px; opacity: .28; }

/* ---------------- BUTTONS ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 11px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 600; letter-spacing: .2px;
  color: #031018; border: 1px solid transparent;
  background: linear-gradient(120deg, var(--neon), #7cf6ff 45%, var(--neon-2));
  box-shadow: 0 0 18px rgba(0, 240, 255, .45);
  transition: .16s ease; text-decoration: none;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 0 26px rgba(0, 240, 255, .6); color: #031018; }
.btn:active { transform: translateY(0); }
.btn.ghost {
  background: rgba(0, 240, 255, .07); color: var(--neon);
  border-color: var(--line); box-shadow: none;
}
.btn.ghost:hover { background: rgba(0, 240, 255, .14); color: #d8feff; box-shadow: 0 0 18px rgba(0, 240, 255, .25); }
.btn.danger { background: linear-gradient(120deg, #ff3d71, #ff7a9c); color: #1a0009; box-shadow: 0 0 18px rgba(255, 61, 113, .45); }
.btn.sm { padding: 7px 12px; font-size: 12.5px; border-radius: 9px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------------- FORM ---------------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; }
.field > label { font-size: 12.5px; letter-spacing: .7px; text-transform: uppercase; color: #a9c1dd; font-weight: 600; }
.field .note { font-size: 11.5px; color: var(--muted); text-transform: none; letter-spacing: 0; }
input[type="text"], input[type="password"], input[type="date"], input[type="number"],
input[type="month"], input[type="file"], select, textarea {
  width: 100%; padding: 11px 13px;
  background: rgba(4, 9, 21, .85);
  border: 1px solid rgba(120, 170, 220, .26);
  border-radius: 11px;
  color: var(--text); font: inherit; font-size: 14px;
  outline: none; transition: .16s ease;
}
textarea { min-height: 90px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #5d7391; }
input:focus, select:focus, textarea:focus {
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, .16), 0 0 18px rgba(0, 240, 255, .22);
  background: rgba(4, 9, 21, .95);
}
select option { background: #0a1122; color: var(--text); }
input[type="file"] { padding: 9px; }
input[type="file"]::file-selector-button {
  margin-right: 12px; padding: 7px 12px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(0, 240, 255, .1); color: var(--neon); font: inherit; font-size: 13px;
}
.field .err { color: #ff9ab5; font-size: 12.5px; }

/* chips pilihan hari */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  text-transform: none;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 30px; font-size: 13.5px;
  border: 1px solid rgba(120, 170, 220, .28);
  background: rgba(4, 9, 21, .8); color: #b8cbe3; cursor: pointer; transition: .16s ease;
}
.chip input:checked + span {
  background: linear-gradient(120deg, rgba(0, 240, 255, .22), rgba(255, 43, 214, .18));
  border-color: var(--neon); color: #fff;
  box-shadow: 0 0 16px rgba(0, 240, 255, .35);
}

/* segmen jabatan */
.seg { display: flex; flex-wrap: wrap; gap: 9px; }
.seg .chip span { border-radius: 10px; }

/* ---------------- TABLE ---------------- */
.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line-soft); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 100%; }
table.tbl thead th {
  text-align: left; padding: 12px 14px; font-size: 11.5px; letter-spacing: 1.1px; text-transform: uppercase;
  color: #9ef4ff; background: linear-gradient(180deg, rgba(0, 240, 255, .14), rgba(0, 240, 255, .05));
  border-bottom: 1px solid var(--line);
}
table.tbl tbody td { padding: 12px 14px; border-bottom: 1px solid rgba(120, 170, 220, .1); vertical-align: middle; overflow-wrap: break-word; }
table.tbl tbody tr:hover { background: rgba(0, 240, 255, .05); }
table.tbl tbody tr:last-child td { border-bottom: 0; }
table.tbl td.num { font-variant-numeric: tabular-nums; }
.tbl-actions { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.tbl-actions form { display: inline-flex; }

/* ---------------- BADGE ---------------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 30px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  border: 1px solid transparent; white-space: nowrap;
}
.badge.ok { color: var(--ok); background: rgba(33, 243, 161, .1); border-color: rgba(33, 243, 161, .4); box-shadow: 0 0 12px rgba(33, 243, 161, .18); }
.badge.warn { color: var(--warn); background: rgba(255, 209, 102, .1); border-color: rgba(255, 209, 102, .4); }
.badge.info { color: var(--neon); background: rgba(0, 240, 255, .1); border-color: var(--line); }
.badge.magenta { color: #ff9ae8; background: rgba(255, 43, 214, .12); border-color: rgba(255, 43, 214, .4); }
.badge.muted { color: #a9c1dd; background: rgba(140, 180, 255, .08); border-color: rgba(140, 180, 255, .22); }

/* ---------------- FLASH ---------------- */
.flash-stack { display: grid; gap: 10px; margin-bottom: 20px; }
.flash {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 12px 16px; border-radius: 12px; font-size: 14px;
  border: 1px solid; backdrop-filter: blur(6px);
}
.flash.success { color: #b5ffe4; background: rgba(33, 243, 161, .1); border-color: rgba(33, 243, 161, .45); box-shadow: 0 0 18px rgba(33, 243, 161, .16); }
.flash.error { color: #ffc2d2; background: rgba(255, 61, 113, .1); border-color: rgba(255, 61, 113, .45); box-shadow: 0 0 18px rgba(255, 61, 113, .16); }
.flash.info { color: #bdf6ff; background: rgba(0, 240, 255, .08); border-color: var(--line); }

/* ---------------- MISC ---------------- */
.row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.row.between { justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.profile-head { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.profile-head .meta h2 { margin-bottom: 4px; font-size: 22px; }
.profile-head .meta .line { color: var(--muted); font-size: 13.5px; }
.kv { display: grid; grid-template-columns: 170px 1fr; gap: 10px 16px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: #e7f3ff; font-weight: 500; }
.divider { height: 1px; background: linear-gradient(90deg, var(--line), transparent); margin: 20px 0; border: 0; }
.empty { text-align: center; padding: 34px 16px; color: var(--muted); font-size: 14px; }
.empty .big { font-size: 34px; opacity: .5; display: block; margin-bottom: 8px; }
.mono { font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; letter-spacing: .3px; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 10px; } .mt-2 { margin-top: 18px; } .mt-3 { margin-top: 26px; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 18px; }
.toolbar .field { min-width: 160px; }
.notice {
  border-left: 3px solid var(--neon); padding: 12px 16px; border-radius: 10px;
  background: rgba(0, 240, 255, .06); font-size: 13.5px; color: #cfe6f8;
}
.notice.warn { border-color: var(--warn); background: rgba(255, 209, 102, .07); }
.notice.danger { border-color: var(--danger); background: rgba(255, 61, 113, .07); }
.pill-count { font-variant-numeric: tabular-nums; }
.kegiatan-row { display: grid; grid-template-columns: minmax(0, 1fr) 128px 44px; gap: 10px; margin-bottom: 10px; }
.kegiatan-row input, .kegiatan-row select { min-width: 0; }
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center; cursor: pointer;
  border-radius: 11px; border: 1px solid rgba(255, 61, 113, .35);
  background: rgba(255, 61, 113, .1); color: #ff9ab5; font: inherit; font-size: 15px;
}
.icon-btn:hover { background: rgba(255, 61, 113, .2); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.tabs a {
  padding: 8px 15px; border-radius: 30px; font-size: 13px; color: #b8cbe3;
  border: 1px solid rgba(120, 170, 220, .22); background: rgba(4, 9, 21, .6);
}
.tabs a.active { color: #fff; border-color: var(--neon); background: rgba(0, 240, 255, .12); box-shadow: 0 0 14px rgba(0, 240, 255, .25); }
.day-off { color: var(--danger); font-weight: 600; }
.day-ok { color: #b9cde3; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }

/* ---------------- PRINT / LAPORAN ---------------- */
.report-sheet {
  background: #fff; color: #111; border-radius: 12px;
  padding: 34px 38px; max-width: 900px; margin: 0 auto;
  font-family: "Times New Roman", Georgia, serif;
}
.report-sheet * { color: #111; }
.report-sheet h1 { font-size: 17px; text-align: center; text-transform: uppercase; letter-spacing: .5px; margin: 0 0 4px; }
.report-sheet h2 { font-size: 15px; text-align: center; text-transform: uppercase; margin: 0 0 22px; font-weight: 700; }
.report-ident { font-size: 13.5px; line-height: 1.7; margin-bottom: 18px; }
.report-ident table { border-collapse: collapse; }
.report-ident td { padding: 0 6px 0 0; vertical-align: top; font-size: 13.5px; }
.report-ident td.sep { width: 12px; }
table.report-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
table.report-tbl th, table.report-tbl td { border: 1px solid #333; padding: 6px 9px; vertical-align: top; }
table.report-tbl thead th { background: #eceff3; text-align: center; font-size: 12.5px; }
table.report-tbl td.c { text-align: center; }
.report-sign { margin-top: 34px; display: flex; justify-content: space-between; gap: 30px; font-size: 13px; }
.report-sign .col { flex: 1; }
.report-sign .col.right { text-align: left; }
.report-sign .space { height: 62px; }
.report-sign .nm { font-weight: 700; text-decoration: underline; }
.report-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }

@media print {
  body { background: #fff !important; }
  body::before { display: none !important; }
  .sidebar, .topbar, .no-print, .flash-stack, .report-actions { display: none !important; }
  .app { display: block !important; }
  .content { padding: 0 !important; max-width: none !important; }
  .report-sheet { box-shadow: none; border-radius: 0; max-width: none; padding: 0; margin: 0; }
  .report-sheet * { color: #000 !important; }
  @page { size: A4 portrait; margin: 18mm 16mm; }
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 980px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-hero { border-right: 0; border-bottom: 1px solid var(--line-soft); padding: 38px 26px; }
  .auth-panel { padding: 30px 20px 48px; }
  .app { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .sidebar nav { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .content, .topbar { padding-left: 18px; padding-right: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; gap: 3px 0; }
  .kv dd { margin-bottom: 10px; }
  .kegiatan-row { grid-template-columns: 1fr; }
}

/* util */
.hide { display: none !important; }
