*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
::selection { background: #d7e6da; }

body {
  margin: 0;
  font-family: Outfit, "Segoe UI", sans-serif;
  color: #1a2420;
  background: #efe8dc;
}
h1, h2, .brand strong { font-family: Fraunces, Georgia, serif; font-weight: 560; }
button, input, select, textarea { font-family: inherit; }
img { max-width: 100%; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  padding: 8px 12px;
  z-index: 5;
}
.skip:focus { top: 12px; }

.wrap { width: min(1080px, calc(100% - 28px)); margin-inline: auto; }

.mast {
  background:
    radial-gradient(800px 240px at 100% 0%, rgba(232, 180, 140, .35), transparent 50%),
    #1c3d2e;
  color: #f6f1e7;
  padding: 18px 0 78px;
}
.mast-slim { padding-bottom: 22px; }
.bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 0 18px; }
.brand { display: flex; gap: 10px; align-items: center; color: inherit; text-decoration: none; }
.brand-text strong, .brand-text span { display: block; }
.brand-text span { font-family: Outfit, sans-serif; font-size: 13px; opacity: .8; font-weight: 500; }
.mark { width: 36px; height: 36px; flex: none; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  color: #f6f1e7;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
}
.nav a:hover { background: rgba(255, 255, 255, .08); }

.hero { max-width: 740px; padding-bottom: 8px; }
.kicker, .paper-kicker {
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 8px;
}
.kicker { color: #f0ddc6; }
.paper-kicker { color: #3d6b4f; }
.hero h1 {
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 5.6rem);
  line-height: .92;
  letter-spacing: -0.035em;
}
.lede { font-size: 1.05rem; line-height: 1.55; max-width: 48ch; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 18px 0 0; list-style: none; }
.facts li { background: rgba(255, 255, 255, .08); border-radius: 14px; padding: 10px 12px; min-width: 140px; }
.facts span { display: block; font-size: 12px; opacity: .75; }
.facts strong { font-family: Outfit, sans-serif; font-weight: 650; }

.layout { margin-top: -46px; display: grid; gap: 16px; position: relative; }
.sheet, .aside, .cek, .panel, .stat, .tally-item, .reg, .login-card {
  background: #fffaf3;
  box-shadow: 0 18px 50px rgba(20, 40, 30, .1);
}
.sheet, .aside, .cek { border-radius: 22px; }
.sheet { padding: 20px 18px 18px; }
.sheet h2, .cek h2, .aside h2 { margin: 0 0 6px; font-size: 1.8rem; }
.muted { color: #5e6962; line-height: 1.5; }
.hint { color: #5e6962; font-size: 13px; margin: 6px 0 0; }
.hitung { font-weight: 650; margin: 4px 0 8px; }
.note, .paybox {
  background: #f4f7f4;
  border-radius: 16px;
  padding: 12px 14px;
}
.pre { white-space: pre-line; font-weight: 700; margin: 6px 0; }

.steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 16px 0; }
.steps li {
  flex: 1;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #6d756f;
  padding-bottom: 8px;
  border-bottom: 3px solid #e6dfd2;
}
.steps li.is-on { color: #1c3d2e; border-color: #1c3d2e; }
.steps li.is-done { color: #3d6b4f; border-color: #7d9a86; }

.field { display: grid; gap: 6px; margin: 0 0 14px; }
.field span, .field legend, legend { font-size: 14px; font-weight: 650; color: #24312b; }
fieldset { border: 0; padding: 0; margin: 0; }
.field input, .field select, .field textarea, .toolbar input, .settings-grid input, .settings-grid textarea {
  width: 100%;
  border: 1.5px solid #ddd4c6;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  font-size: 16px;
  color: #1a2420;
}
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .toolbar input:focus {
  outline: 3px solid rgba(47, 107, 79, .28);
  border-color: #2f6b4f;
}

.size-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.size-pick label {
  position: relative;
  min-width: 64px;
  text-align: center;
  border: 1.5px solid #d9d0c2;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 700;
  background: #fff;
}
.size-pick.small label { min-width: 52px; padding: 8px 10px; }
.size-pick input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.size-pick label:has(input:checked) { background: #1c3d2e; color: #f6f1e7; border-color: #1c3d2e; }
.size-pick label:has(input:focus-visible) { outline: 3px solid rgba(47, 107, 79, .35); }

.anggota {
  border: 1px solid #eadfce;
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 12px;
  background: #fff;
}
.anggota-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.anggota h3 { margin: 0; font-size: 1rem; font-family: Outfit, sans-serif; }

.uploads { display: grid; gap: 12px; margin-top: 12px; }
.drop {
  position: relative;
  display: block;
  border: 1.5px dashed #b7c3b8;
  border-radius: 16px;
  padding: 14px;
  background: #fbf8f2;
  cursor: pointer;
  min-height: 148px;
}
.drop.is-over, .drop.has-file { border-color: #1c3d2e; background: #eef5f0; }
.drop strong { display: block; margin-bottom: 4px; }
.drop img { width: 100%; max-height: 180px; object-fit: contain; border-radius: 10px; margin-top: 8px; background: #fff; }
.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.file-name { margin: 8px 0 0; font-size: 13px; word-break: break-word; }

.check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; }
.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; }

.btn {
  appearance: none;
  border: 0;
  background: #1c3d2e;
  color: #f7f3ea;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn:hover { background: #27543f; }
.btn.secondary { background: transparent; color: #1c3d2e; box-shadow: inset 0 0 0 1.5px #1c3d2e; }
.btn.secondary:hover { background: #e7f0ea; }
.btn.ghost { background: transparent; color: #1c3d2e; }
.btn.danger { background: #8d342c; }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.navbtns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

.alert { background: #f8e4df; color: #6f2c24; border-radius: 12px; padding: 12px 14px; margin: 0 0 12px; }
.alert:empty { display: none; }

.struk h2 { font-size: 2.4rem; margin: 0; letter-spacing: .02em; }
.struk dl { display: grid; gap: 10px; margin: 16px 0; }
.struk dt { font-size: 13px; color: #66706a; }
.struk dd { margin: 0; font-weight: 650; white-space: pre-line; }

.aside { padding: 18px; display: grid; gap: 14px; align-content: start; }
.kv { display: grid; gap: 4px; }
.kv span { font-size: 13px; color: #66706a; }
.kv strong, .kv p { margin: 0; }
.aside ol { margin: 0; padding-left: 18px; }

.cek { margin: 22px 0 10px; padding: 18px; }
.info-grid { display: grid; gap: 14px; }
.info-grid h3 { margin: 0 0 6px; font-family: Outfit, sans-serif; font-size: 1.05rem; }
.info-grid p { margin: 0 0 8px; line-height: 1.5; color: #24312b; }
.reks { display: grid; gap: 12px; }
@media (min-width: 720px) {
  .info-grid, .reks { grid-template-columns: 1fr 1fr; }
}
.cek-form { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.cek-form .field { flex: 1; min-width: 220px; margin: 0; }
.hasil { border-top: 1px solid #eadfce; margin-top: 14px; padding-top: 12px; }

footer { color: #66706a; text-align: center; padding: 8px 16px 28px; font-size: 14px; }

.admin { margin: 22px auto 40px; display: grid; gap: 14px; }
.login-card { max-width: 420px; margin: 28px auto; padding: 20px; border-radius: 22px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.stat { border-radius: 16px; padding: 14px; }
.stat b { display: block; font-family: Fraunces, Georgia, serif; font-size: 1.8rem; }
.stat span { color: #5e6962; font-size: 13px; }
.panel { border-radius: 18px; padding: 16px; }
.panel summary { cursor: pointer; font-weight: 700; }
.tally { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.tally-item { border-radius: 14px; padding: 10px; text-align: center; box-shadow: none; border: 1px solid #eadfce; }
.tally-item b { display: block; }
.tally-item span { font-family: Fraunces, Georgia, serif; font-size: 1.6rem; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  border: 1px solid #d9d0c2;
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 650;
}
.chip.is-on { background: #1c3d2e; color: #f6f1e7; border-color: #1c3d2e; }
.regs { display: grid; gap: 10px; }
.reg { border-radius: 16px; padding: 14px; display: grid; gap: 6px; justify-items: start; }
.reg h3 { margin: 0; font-family: Outfit, sans-serif; font-size: 1.05rem; }
.reg-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; width: 100%; }
.pill { display: inline-flex; border-radius: 999px; padding: 4px 10px; font-size: 13px; font-weight: 700; }
.pill.menunggu { background: #f3e6c8; color: #6d4c12; }
.pill.terverifikasi { background: #d9eadf; color: #1c5b38; }
.pill.ditolak { background: #f4d6d1; color: #8a2e24; }
.settings-grid { display: grid; gap: 12px; margin-top: 14px; }
dialog {
  border: 0;
  border-radius: 20px;
  padding: 18px;
  width: min(860px, calc(100% - 24px));
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
}
dialog::backdrop { background: rgba(20, 32, 26, .55); }
.proofs { display: grid; gap: 12px; }
.proofs figure { margin: 0; }
.proofs img { width: 100%; border-radius: 12px; background: #eee; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

@media (min-width: 720px) {
  .uploads, .proofs { grid-template-columns: 1fr 1fr; }
  .tally { grid-template-columns: repeat(6, 1fr); }
}
@media (min-width: 800px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .settings-grid { grid-template-columns: 1fr 1fr; }
  .span-2 { grid-column: span 2; }
}
@media (min-width: 980px) {
  .layout { grid-template-columns: minmax(0, 1.45fr) minmax(280px, .78fr); align-items: start; }
  .aside { position: sticky; top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
@media print {
  .mast, .aside, #cek, footer, .navbtns, .steps { display: none !important; }
  body { background: #fff; }
  .layout { margin: 0; display: block; }
  .sheet { box-shadow: none; }
}
