:root {
  --bg: #164264;
  --bg-2: #123851;
  --accent-1: #1b532b;
  --accent-2: #6bbdea;
  --text: #eef5fb;
  --muted: rgba(238, 245, 251, 0.75);
  --card: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.14);
  --shadow: rgba(0, 0, 0, 0.25);
  --danger: #ff6b6b;
}

* { box-sizing: border-box; }
html {
  min-height: 100%;
  background: linear-gradient(180deg, var(--bg), var(--bg-2));
  background-attachment: fixed;
  background-repeat: no-repeat;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: transparent;
  color: var(--text);
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px;
}

.container.container-fluid {
  max-width: none;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 18px;
}

.card {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 10px 30px var(--shadow);
  overflow: hidden;
}

.card-header {
  padding: 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: #eeeeee;
  border-radius: 999px;
  padding: 6px;
}
.brand-title { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: 0.2px; }
.brand-subtitle { margin: 2px 0 0; font-size: 12px; color: var(--muted); }

.card-body { padding: 18px; }

.form-row { display: grid; gap: 8px; margin-bottom: 12px; }
label { font-size: 12px; color: var(--muted); }
input[type="email"], input[type="password"], input[type="text"] {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.18);
  color: var(--text);
  outline: none;
}
input[type="date"], select {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  outline: none;
}

select option {
  background: #777;
  color: var(--text);
}

.toolbar-laporan select {
  background: var(--text);
  color: #123753;
}

.toolbar-laporan select:hover,
.toolbar-laporan select:focus {
  background: rgba(255,255,255,0.06);
  color: var(--text);
}

.toolbar-laporan select option {
  background: var(--text);
  color: #123753;
}

.toolbar-laporan select option:hover,
.toolbar-laporan select option:focus,
.toolbar-laporan select option:checked {
  background: #777;
  color: var(--text);
}
input[type="file"] {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.18);
  color: var(--text);
}

textarea {
  width: 100%;
  min-height: 120px;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.18);
  color: var(--text);
  outline: none;
  resize: vertical;
}
input::placeholder { color: rgba(238,245,251,0.55); }

.btn {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(107,189,234,0.95), rgba(107,189,234,0.55));
  color: #0b2a3a;
  font-weight: 700;
  cursor: pointer;
}
.btn:hover { filter: brightness(1.05); }

.alert {
  border: 1px solid rgba(255, 107, 107, 0.35);
  background: rgba(255, 107, 107, 0.12);
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 12px;
  color: #ffdede;
  font-size: 13px;
}

.app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 250px 1fr;
  width: 100%;
}

.sidebar {
  border-right: 1px solid var(--border);
  background: rgba(0,0,0,0.14);
  padding: 18px 12px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}

.sidebar-brand img {
  width: 36px;
  height: 36px;
  background: #eeeeee;
  border-radius: 999px;
  padding: 5px;
}
.sidebar-brand .name { font-weight: 800; font-size: 14px; }
.sidebar-brand .meta { font-size: 12px; color: var(--muted); margin-top: 2px; }

.nav { display: grid; gap: 4px; margin-top: 10px; }
.nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 5px;
  color: var(--text);
  font-size: 13px;
}
.nav a:hover { background: rgba(255,255,255,0.08); text-decoration: none; }
.nav a.active { background: rgba(107,189,234,0.18); border: 1px solid rgba(107,189,234,0.25); }

.icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: 0 0 18px;
  color: var(--accent-2);
}

.main {
  padding: 18px;
  min-width: 0;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 8px 10px 15px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}

.topbar .title { font-weight: 800; }
.topbar .user {
  color: var(--muted);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.topbar .user a { color: var(--text); }

.page {
  margin-top: 14px;
  border: 0px solid var(--border);
  background: rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 16px;
}

.page.page-hero {
  margin-top: 0;
  min-height: 250px;
  background-image: url('../../bghero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.page.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19,58,88,0.25), rgba(19,58,88,0.75));
  border-radius: inherit;
  z-index: 0;
}

.page.page-hero > * {
  position: relative;
  z-index: 1;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.kv {
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.12);
  border-radius: 14px;
  padding: 14px;
}

.kv .k { font-size: 12px; color: var(--muted); }
.kv .v { margin-top: 6px; font-weight: 700; }

.home-hero {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.home-title {
  font-weight: 800;
}

.home-subtitle {
  color: var(--muted);
  font-size: 13px;
}

.home-desc {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.home-actions {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 420px;
}

.page + .page { margin-top: 12px; }

.hint {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.settings-wrap {
  display: grid;
  gap: 12px;
}

.toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.toolbar form { display: flex; align-items: flex-end; width: 100%; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.toolbar-bottom { margin-top: 12px; }

.form-row.no-margin { margin: 0; }

.toolbar .form-row { flex: 1; }

.inline-form { display: inline; }

.text-right { text-align: right; }
.mt-10 { margin-top: 10px; }

.muted { color: var(--muted); }

.toolbar .actions {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.toolbar-laporan .lk-actions-wrap {
  display: grid;
  grid-template-rows: auto auto;
  justify-items: end;
}

.toolbar-laporan .lk-actions-placeholder {
  height: 22px;
}

.toolbar-laporan .filter-grid .btn,
.toolbar-laporan .actions .btn {
  min-height: 42px;
  min-width: 130px;
}

.toolbar-laporan .btn-terapkan {
  background: #123753;
  color: var(--text);
}

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.tab {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-size: 12px;
}

.tab:hover { background: rgba(255,255,255,0.10); text-decoration: none; }

.tab.active {
  border: 1px solid rgba(107,189,234,0.35);
  background: rgba(107,189,234,0.18);
}

.doc-meta {
  margin-top: 4px;
  font-size: 12px;
}

.btn-secondary {
  width: auto;
  background: rgba(255,255,255,0.08);
  color: var(--text);
}

.btn-success {
  width: auto;
  background: linear-gradient(180deg, rgba(27,83,43,0.95), rgba(27,83,43,0.55));
  color: #eaf7ee;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(0,0,0,0.10);
}

.table-scroll-top {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  height: 12px;
  border: 1px solid var(--border);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: rgba(0,0,0,0.10);
}

.table-scroll-top__inner {
  height: 1px;
}

.table-scroll-top + .table-wrap {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.row-detail > td {
  padding: 12px;
}

.subtable {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  overflow: auto;
}

.subtable table { min-width: 700px; }

.subtable th, .subtable td {
  padding: 8px 10px;
  font-size: 12px;
}

.subtable .th-aksi { width: 140px; }

.subtable-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.subtable-head .title {
  font-size: 13px;
  color: var(--muted);
}

.iuran-sep td {
  padding: 0;
  height: 15px;
  background: #11344e;
  border: 0;
}

.iuran-row td {
  vertical-align: middle;
}

.filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: end;
  width: 100%;
}

.toolbar-laporan .filter-grid {
  grid-template-columns: 160px 220px 1fr auto;
}

.toolbar-laporan .filter-grid select,
.toolbar-laporan .filter-grid input {
  width: 100%;
  min-width: 0;
}

.filter-grid .form-row { margin: 0; }

.filter-monthyear {
  gap: 10px;
}

.summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.summary.summary-5col {
  grid-template-columns: repeat(5, 1fr);
}

.summary-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(0,0,0,0.10);
  padding: 12px;
}

.summary-card .label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.summary-card .value {
  font-size: 18px;
  font-weight: 700;
}

.summary-card.positive .value { color: #6bd7a9; }
.summary-card.pemasukan .value { color: #66b0ff; }
.summary-card.negative .value { color: #ff7b7b; }
.summary-card.sumber .value { color: #ffc57b; }

@media (max-width: 720px) {
  .summary { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  .summary.summary-5col { grid-template-columns: repeat(2, 1fr); }
}

.dash-ticker {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(0,0,0,0.10);
  padding: 20px 15px;
  margin-bottom: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 25% 75%;
  align-items: center;
  gap: 10px;
}

.dash-ticker__label {
  font-weight: 900;
  letter-spacing: 0.3px;
  font-size: 12px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-ticker__viewport {
  width: 100%;
  overflow: hidden;
}

.dash-ticker__track {
  display: flex;
  width: max-content;
  animation: dashTickerMove 26s linear infinite;
}

.dash-ticker__chunk {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding-right: 48px;
  color: var(--muted);
  font-size: 13px;
}

.dash-ticker__item {
  display: inline-flex;
  align-items: center;
  margin-right: 25px;
}

@media (max-width: 720px) {
  .dash-ticker {
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: start;
  }
  .dash-ticker__label { white-space: normal; }
}

@keyframes dashTickerMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.dash-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.dash-cards.dash-cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.dash-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(0,0,0,0.10);
  padding: 12px;
  overflow: hidden;
}

.dash-card .label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 8px;
}

.dash-card .value {
  font-size: 36px;
  font-weight: 900;
}

.dash-card .icon {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 24px;
  height: 24px;
  color: rgba(107,189,234,0.85);
}

.dash-card.dash-saldo .icon { color: rgba(107,189,234,0.85); }
.dash-card.dash-pemasukan .icon { color: #69d4a8; }
.dash-card.dash-pengeluaran .icon { color: #fa7a7b; }
.dash-card.dash-anggota .icon { color: rgba(255,202,79,0.90); }

.dash-card .icon svg {
  width: 100%;
  height: 100%;
}

.dash-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dash-panel {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(0,0,0,0.10);
  overflow: hidden;
}

.dash-panel .table-wrap {
  border: 0px solid var(--border);
  border-radius: 0px;
}

.dash-panel .head {
  padding: 12px;
  border-bottom: 5px solid rgba(255,255,255,0.10);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-panel .head .icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
}

.dash-panel .head .icon svg {
  width: 100%;
  height: 100%;
}

.dash-panel .body { padding: 0; }

.dash-panel table { min-width: 0; }

@media (max-width: 960px) {
  .dash-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .dash-cards { grid-template-columns: 1fr; }
  .dash-lists { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .filter-grid { grid-template-columns: 1fr; }
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(0,0,0,0.10);
  overflow: hidden;
}

.card-media {
  height: 160px;
  background: rgba(255,255,255,0.05);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 12px;
}

.card-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}

.card-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.card-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
  white-space: pre-wrap;
}

.card-link {
  margin-top: 8px;
  font-size: 13px;
}

.card-actions {
  margin-top: 12px;
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

.public-topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(0,0,0,0.10);
  margin-bottom: 15px;
}

.public-topbar .logo {
  width: auto;
  height: 50px;
  object-fit: contain;
  background: #eee;
  border-radius: 7px;
  padding: 10px;
}

.public-topbar .datetime {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.public-topbar .public-user {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.public-topbar .public-user .greeting {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.wa-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wa-link .inline-icon {
  color: #25D366;
}

.col-alamat {
  max-width: 240px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.email-copy-btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.email-copy-btn:hover {
  text-decoration: underline;
}

.inline-icon,
.btn-icon,
.section-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.inline-icon svg,
.btn-icon svg,
.section-title-icon svg {
  width: 18px;
  height: 18px;
}

.btn.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-grid + .section {
  margin-top: 50px;
}

.hero-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1.15;
}

.hero-desc {
  margin-top: 5px;
  color: rgb(255, 255, 255);
  line-height: 1.6;
  font-size: 13px;
  max-width: 100%;
  font-weight: 500;
}

.kas {
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(0,0,0,0.10);
  padding: 25px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kas .kas-title {
  font-weight: 800;
  letter-spacing: 0.3px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.kas-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: rgba(255,255,255,0.85);
}

.kas-title-icon svg {
  width: 20px;
  height: 20px;
}

.kas-rt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.85);
}

.rt-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(46, 204, 113, 0.95);
  box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.55);
  animation: rtPulse 1.1s ease-in-out infinite;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
}

.status-dot.ok { background: #69d4a8; }
.status-dot.bad { background: #fa7a7b; }

.iuran-v2-table input[type="file"] {
  width: auto;
  max-width: 180px;
  padding: 6px 8px;
  font-size: 12px;
}

@keyframes rtPulse {
  0% { opacity: 0.35; transform: scale(0.9); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.05); }
  50% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 6px rgba(46, 204, 113, 0.18); }
  100% { opacity: 0.35; transform: scale(0.9); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.05); }
}

.kas .kas-total {
  margin-top: 20px;
  font-size: 36px;
  font-weight: 700;
}

.kas .kas-grid {
  margin-top: 35px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.kas .kas-item {
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 10px;
  background: rgba(255,255,255,0.04);
}

.kas .kas-item .k {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 0px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.kas .kas-item .v { font-size: 14px; font-weight: 800; }

.section {
  margin-top: 14px;
}

.section + .section {
  margin-top: 50px;
}

.section-title {
  font-weight: 900;
  letter-spacing: 0.2px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.section-title::before,
.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.16);
}

.mini-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mini-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(0,0,0,0.10);
  padding: 25px;
}

.mini-card .t {
  font-weight: 700;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mini-card .d {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mini-card .m {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 6px;
}

.public-form {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(0,0,0,0.10);
  padding: 12px;
}

.suara-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.suara-output {
  display: grid;
  gap: 12px;
}

.public-footer {
  margin-top: 50px;
  padding: 14px 0;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

.suara-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(0,0,0,0.10);
  padding: 12px;
  margin-bottom: 12px;
}

.suara-output .suara-card {
  margin-bottom: 0px;
}

.suara-card .top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 12px;
  background: rgba(255,255,255,0.04);
}

.badge.pending { border-color: rgba(255,202,79,0.35); color: #ffca4f; }
.badge.selesai { border-color: rgba(107,215,169,0.35); color: #6bd7a9; }

.suara-card .judul { font-weight: 900; margin: 0 0 6px; }
.suara-card .detail { white-space: pre-wrap; font-size: 13px; line-height: 1.55; color: var(--text); }

.suara-card .respon {
  margin-top: 10px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(107,189,234,0.22);
  background: rgba(107,189,234,0.10);
}

.suara-card .respon .label {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 6px;
}

.suara-card .respon .text {
  white-space: pre-wrap;
  font-size: 13px;
  line-height: 1.55;
}

.suara-card .respon .meta {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.suara-card details { margin-top: 10px; }
.suara-card summary { cursor: pointer; color: var(--accent-2); font-weight: 800; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .suara-grid { grid-template-columns: 1fr; }
  .mini-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .public-topbar { grid-template-columns: auto 1fr; }
  .public-topbar .datetime { display: none; }
  .public-topbar .btn { width: auto; }
  .mini-cards { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .card-grid { grid-template-columns: 1fr; }
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  vertical-align: top;
  font-size: 13px;
}

.cell-icons {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.18);
  color: var(--text);
  cursor: pointer;
  padding: 0;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.icon-btn:hover {
  background: rgba(0,0,0,0.28);
}

.icon-btn:active {
  transform: translateY(1px);
}

.th-nomor { width: 70px; }
.th-aksi { width: 160px; }

.nowrap { white-space: nowrap; }

.col-perusahaan {
  white-space: nowrap;
  min-width: 240px;
  font-weight: 900;
}

th {
  text-align: left;
  font-size: 12px;
  color: var(--muted);
  background: rgba(0,0,0,0.10);
  position: sticky;
  top: 0;
}

tr:hover td { background: rgba(255,255,255,0.04); }

.actions-cell {
  white-space: nowrap;
}

.btn-sm {
  width: auto;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 12px;
}

.btn-active {
  border: 1px solid rgba(107,189,234,0.35);
  background: rgba(107,189,234,0.18);
}

.btn-danger {
  width: auto;
  background: rgba(255,107,107,0.16);
  color: #ffdede;
}

.btn-danger:hover { background: rgba(255,107,107,0.22); }

textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.18);
  color: var(--text);
  outline: none;
  resize: vertical;
  min-height: 84px;
}

@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { border-right: none; border-bottom: 1px solid var(--border); }
}

@media (max-width: 520px) {
  .grid-2 { grid-template-columns: 1fr; }
  .home-actions { grid-template-columns: 1fr; }
  .toolbar { grid-template-columns: 1fr; }
  .toolbar .actions { justify-content: flex-start; }
}
