/* Form Evaluasi & Investasi Iman CSSK 4
   Warna diambil dari logo Catholic Business Community (bronze #775832) di atas kertas hangat. */
/* Figtree (SIL OFL) disajikan dari server sendiri: tidak bergantung Google Fonts, jadi tetap tampil kalau internet venue lambat. Satu berkas variabel untuk bobot 400 sampai 800. */
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/figtree-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/figtree-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --paper: #f4eee3;
  --paper-2: #ebe2d1;
  --card: #fffcf7;
  --ink: #261c12;
  --ink-2: #5c4935;
  --ink-3: #66543f;
  --line: #e0d4bf;
  --line-2: #c8b697;
  --bronze: #775832;
  --bronze-2: #5d4323;
  --bronze-3: #3a2914;
  --bronze-tint: #f0e5d1;
  --gold: #d9b67c;
  --ok: #2e6a3d;
  --ok-tint: #e3eedf;
  --due: #a13838;
  --due-tint: #f7e5e0;
  --warn-tint: #f5ead2;
  --ring: 0 0 0 3px rgba(119, 88, 50, .32);
  --shadow: 0 1px 2px rgba(38, 28, 18, .05), 0 10px 28px -14px rgba(38, 28, 18, .18);
  --r: 16px;
  --r-sm: 11px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --field-bg: #fff; --field-ink: #2b2118;
  color-scheme: light only;
  accent-color: var(--bronze);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--line-2) transparent; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--bronze);
}
::selection { background: var(--gold); color: var(--bronze-3); }
h1, h2, h3 { margin: 0; line-height: 1.25; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
a { color: var(--bronze); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--bronze-2); }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--ring); }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 20px; height: 20px; flex: none; }
.flip { transform: scaleX(-1); }
.muted { color: var(--ink-3); }
.num, .count, .rek-no, .sum-big strong, .totals strong, .fr-count strong, .avg-v strong { font-variant-numeric: tabular-nums; }
/* ---------- Kerangka ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 16px; max-width: 1152px; margin: 0 auto;
}
.brand { display: block; line-height: 0; border-radius: 8px; }
.brand img { width: 94px; }
.topbar-label { font-size: 14px; font-weight: 600; color: var(--ink-2); text-align: right; }
.wrap { max-width: 640px; margin: 0 auto; padding: 0 16px 48px; }
.wrap.wide { max-width: 1152px; }
.wrap.narrow { max-width: 440px; }
.topbar + .wrap, .toast + .wrap { padding-top: 12px; }
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 22px 20px;
  margin-bottom: 16px;
}
.panel > h1 { font-size: 24px; font-weight: 750; }
.panel > h2, .page-head h2 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.lede { color: var(--ink-2); margin-top: 8px; }
.panel > h1 + .lede { margin-bottom: 20px; }
.fine { font-size: 14px; color: var(--ink-3); margin-top: 12px; text-align: center; }
.empty { color: var(--ink-3); text-align: center; padding: 20px 12px; }
.back { margin: 8px 0 12px; font-size: 15px; font-weight: 600; }
.back a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; min-height: 44px; }
/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px;
  border: 1.5px solid var(--bronze); border-radius: 12px;
  background: var(--bronze); color: #fffaf1;
  font-weight: 650; font-size: 16px; text-decoration: none; cursor: pointer;
  touch-action: manipulation;
  transition: background .15s, border-color .15s, transform .1s, box-shadow .15s;
}
.btn:hover { background: var(--bronze-2); border-color: var(--bronze-2); color: #fffaf1; }
.btn:active { transform: translateY(1px); }
.btn .ic { width: 18px; height: 18px; }
.btn-lg { min-height: 56px; font-size: 17px; }
.btn-block { width: 100%; margin-top: 8px; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14.5px; border-radius: 10px; }
.btn-ghost { background: transparent; color: var(--bronze); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--bronze-tint); color: var(--bronze-2); border-color: var(--bronze); }
.btn-danger { background: transparent; color: var(--due); border-color: #e3bdb5; }
.btn-danger:hover { background: var(--due-tint); color: var(--due); border-color: var(--due); }
.btn.is-loading { opacity: .72; cursor: progress; }
.btn:disabled { cursor: progress; }
.linkbtn {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 8px 4px;
  color: var(--bronze); font-weight: 600; cursor: pointer; min-height: 40px; border-radius: 8px;
}
.linkbtn .ic { width: 16px; height: 16px; }
.iconbtn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px;
  background: none; color: var(--ink-3); cursor: pointer;
}
.iconbtn:hover { background: var(--due-tint); color: var(--due); }
/* ---------- Isian ---------- */
.field { margin-bottom: 16px; }
.field label, .group-pick label { display: block; font-size: 14.5px; font-weight: 650; color: var(--ink-2); margin-bottom: 6px; }
input:not([type=radio]):not([type=checkbox]), select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  background-color: var(--field-bg); color: var(--field-ink); -webkit-text-fill-color: var(--field-ink); caret-color: var(--field-ink); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  font-size: 16px; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; line-height: 1.5; min-height: 84px; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background: var(--field-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23775832' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--bronze); box-shadow: var(--ring); }
input::placeholder, textarea::placeholder { color: #9a8870; -webkit-text-fill-color: #9a8870; }
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill { -webkit-text-fill-color: var(--field-ink); box-shadow: 0 0 0 1000px var(--field-bg) inset; }
.has-err input, .has-err select, .has-err textarea { border-color: var(--due); }
.err { display: flex; align-items: flex-start; gap: 6px; color: var(--due); font-size: 14.5px; font-weight: 550; margin-top: 8px; }
.err .ic { width: 17px; height: 17px; margin-top: 2px; }
/* ---------- Catatan ---------- */
.note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; margin: 16px 0; font-size: 15px; text-align: left; }
.note .ic { margin-top: 1px; }
.note p + p { margin-top: 8px; }
.note-due, .note-err { background: var(--due-tint); color: #6f2626; }
.note-warn { background: var(--warn-tint); color: #5e4210; }
.note-actions { display: flex; flex-wrap: wrap; gap: 8px; }
/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 0; right: 0; top: 14px; z-index: 50; margin: 0 auto;
  display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100% - 32px);
  padding: 12px 18px; border-radius: 12px; background: var(--bronze-3); color: var(--paper);
  font-weight: 600; font-size: 15px; box-shadow: 0 12px 32px -10px rgba(38, 28, 18, .45);
  animation: toastIn .45s var(--ease);
}
.toast .ic { color: var(--gold); }
.toast.out { opacity: 0; transform: translateY(-8px); transition: opacity .35s, transform .35s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-12px); } }
/* ---------- Login ---------- */
.page-login {
  background: var(--paper);
}
.login { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.login-band { background: var(--bronze-3); color: var(--paper); text-align: center; padding: 48px 20px 44px; }
.login-logo { width: 180px; margin: 0 auto 26px; display: block; filter: brightness(2.1) saturate(.75); }
.login h1 { font-size: 27px; font-weight: 800; letter-spacing: -.02em; max-width: 400px; margin: 0 auto; }
.login-event { color: var(--gold); margin-top: 10px; font-size: 16px; font-weight: 600; }
.login-card { width: 100%; max-width: 400px; margin: 0 auto; padding: 8px 16px 40px; text-align: center; }
.g-btn { display: flex; justify-content: center; margin: 32px 0 8px; min-height: 44px; }
.login-msg { justify-content: center; }
.login-fine { font-size: 14px; color: var(--ink-3); margin-top: 24px; line-height: 1.55; }
.dev-login { margin-top: 24px; padding: 14px; border: 1px dashed var(--line-2); border-radius: 12px; text-align: left; }
.dev-login label { font-size: 13px; font-weight: 650; color: var(--ink-3); display: block; margin-bottom: 6px; }
.dev-row { display: flex; gap: 8px; }
/* ---------- Perjalanan (progres 7 evaluasi) ---------- */
.journey { background: var(--bronze-3); color: var(--paper); padding: 20px 16px 52px; }
.journey-in { max-width: 608px; margin: 0 auto; }
.hello { font-size: 16px; color: rgba(244, 238, 227, .82); }
.hello strong { color: var(--paper); font-weight: 700; }
.hello-group { font-size: 14px; color: var(--gold); font-weight: 650; margin-top: 2px; }
.beads { list-style: none; margin: 20px 0 0; padding: 0; display: flex; justify-content: space-between; position: relative; }
.beads::before { content: ""; position: absolute; left: 16px; right: 16px; top: 15px; height: 2px; background: rgba(244, 238, 227, .16); }
.bead { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 34px; }
.bead-dot {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bronze-3); border: 2px dashed rgba(244, 238, 227, .32); position: relative;
}
.bead-label { font-size: 13px; font-weight: 700; color: rgba(244, 238, 227, .6); }
.st-done .bead-dot { background: var(--gold); border: 0; color: var(--bronze-3); }
.st-done .bead-dot .ic { width: 17px; height: 17px; stroke-width: 3; }
.st-done .bead-label { color: rgba(244, 238, 227, .85); }
.st-current .bead-dot { background: var(--paper); border: 0; box-shadow: 0 0 0 5px rgba(217, 182, 124, .35); }
.st-current .bead-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--bronze); }
.st-current .bead-label { color: var(--paper); }
.st-due .bead-dot { border: 2px solid #e9a497; }
.st-due .bead-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #e9a497; }
.st-due .bead-label { color: #f1c1b7; }
.journey-count { margin-top: 14px; font-size: 14px; color: rgba(244, 238, 227, .75); }
.journey-count strong { color: var(--gold); font-size: 15px; }
.journey + .wrap { margin-top: -32px; position: relative; }
/* ---------- Form evaluasi ---------- */
.form-head { display: flex; gap: 18px; align-items: stretch; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.form-num {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 64px; padding-right: 18px; border-right: 1px solid var(--line); color: var(--bronze);
}
.form-num span { font-size: 54px; font-weight: 800; line-height: .9; letter-spacing: -.04em; }
.form-num small { font-size: 13px; font-weight: 650; color: var(--ink-3); }
.form-num span + small { margin-top: 4px; }
.form-num small:first-child { margin-bottom: 2px; color: var(--bronze); }
.form-title { min-width: 0; align-self: center; }
.form-title h1 { font-size: 23px; font-weight: 750; }
.form-meta { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.form-meta strong { color: var(--bronze); font-size: 14px; font-weight: 700; }
.form-hint { font-size: 14.5px; color: var(--ink-3); margin-top: 16px; }
.qlist { margin: 4px 0 20px; }
.q { border: 0; margin: 0; padding: 20px 0 18px; min-width: 0; }
.q + .q { border-top: 1px solid var(--line); }
.q legend, .q-text label { display: block; padding: 0; margin-bottom: 12px; font-size: 16.5px; font-weight: 550; line-height: 1.45; color: var(--ink); float: left; width: 100%; }
.q-text label { float: none; }
.q legend + * { clear: both; }
.stars { display: flex; align-items: center; gap: 2px; margin-left: -6px; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.stars label { width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer; border-radius: 12px; touch-action: manipulation; }
.stars svg { width: 34px; height: 34px; fill: transparent; stroke: var(--line-2); stroke-width: 1.4; stroke-linejoin: round; transition: fill .18s, stroke .18s, transform .18s var(--ease); }
.stars label:active svg { transform: scale(.88); }
.stars input:focus-visible + label { box-shadow: var(--ring); }
.stars-val { margin-left: 10px; font-size: 14.5px; font-weight: 700; color: var(--bronze); min-width: 7em; }
@media (hover: hover) {
  .stars:has(label:hover) svg { fill: transparent; stroke: var(--line-2); }
  .stars label:hover svg, .stars label:has(~ label:hover) svg { fill: var(--gold); stroke: #b8925a; }
}
.stars:has(input[value="1"]:checked) label:nth-of-type(-n+1) svg,
.stars:has(input[value="2"]:checked) label:nth-of-type(-n+2) svg,
.stars:has(input[value="3"]:checked) label:nth-of-type(-n+3) svg,
.stars:has(input[value="4"]:checked) label:nth-of-type(-n+4) svg,
.stars:has(input[value="5"]:checked) label:nth-of-type(-n+5) svg { fill: var(--bronze); stroke: var(--bronze); }
.stars input:checked + label svg { animation: starPop .42s var(--ease); }
@keyframes starPop { 0% { transform: scale(.7); } 60% { transform: scale(1.14); } 100% { transform: scale(1); } }
.has-err .stars svg { stroke: #d49a90; }
/* ---------- Status tunggu / selesai ---------- */
.state h1 { font-size: 22px; font-weight: 750; margin-top: 14px; }
.state .lede { margin-bottom: 4px; }
.state-mark { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-tint); color: var(--ok); }
.state-mark .ic { width: 26px; height: 26px; stroke-width: 2.4; }
.state-mark.state-wait { background: var(--bronze-tint); color: var(--bronze); }
.state .fine { text-align: left; }
.next { margin-top: 18px; padding: 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.next-label { font-size: 13.5px; font-weight: 650; color: var(--ink-3); }
.next-title { font-size: 18px; font-weight: 750; margin-top: 2px; }
.next-sub { color: var(--ink-2); font-size: 15px; }
.next-time { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 650; color: var(--bronze); font-size: 15px; }
.next-time .ic { width: 17px; height: 17px; }
.ii-card { display: flex; gap: 16px; align-items: flex-start; }
.ii-card h2 { font-size: 18px; font-weight: 750; margin: 2px 0 4px; }
.ii-card p { color: var(--ink-2); margin-bottom: 14px; }
.ii-card.is-done p { margin-bottom: 0; }
.ii-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--bronze-tint); color: var(--bronze); }
.ii-card.is-done .ii-icon { background: var(--ok-tint); color: var(--ok); }
.foot { text-align: center; font-size: 14px; color: var(--ink-3); padding: 16px 0 8px; display: grid; gap: 4px; justify-items: center; }
/* ---------- Investasi Iman ---------- */
.ident { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0 0; padding: 14px 16px; background: var(--paper); border-radius: 12px; }
.ident dt { font-size: 13px; font-weight: 650; color: var(--ink-3); }
.ident dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.pledge { margin: 20px 0 4px; font-size: 17px; font-weight: 600; line-height: 1.45; color: var(--bronze-3); }
.ii-sec { padding: 22px 0 20px; border-top: 1px solid var(--line); margin-top: 18px; }
.pledge + .ii-sec { margin-top: 14px; }
.ii-sec h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 750; margin-bottom: 12px; }
.sec-hint { color: var(--ink-3); font-size: 15px; margin: -4px 0 14px; }
.money-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.money-grid .field { margin: 0; }
.money { display: flex; align-items: center; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-sm); transition: border-color .15s, box-shadow .15s; }
.money:focus-within { border-color: var(--bronze); box-shadow: var(--ring); }
.money span { flex: none; white-space: nowrap; }
.money span { padding-left: 14px; color: var(--ink-3); font-weight: 600; }
.money input { border: 0 !important; box-shadow: none !important; padding-left: 8px !important; font-weight: 650; font-variant-numeric: tabular-nums; background: transparent !important; }
.rek { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 14px 16px; background: var(--paper); border-radius: 12px; }
.rek .btn { flex: none; white-space: nowrap; }
.rek-label { font-size: 13px; font-weight: 650; color: var(--ink-3); }
.rek-no { font-size: 19px; font-weight: 800; color: var(--bronze-3); letter-spacing: .01em; }
.rek-name { font-size: 14px; color: var(--ink-2); }
.stepper-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; overflow: hidden; }
.stepper button { width: 50px; border: 0; background: var(--paper); color: var(--bronze); cursor: pointer; display: grid; place-items: center; }
.stepper button:hover { background: var(--bronze-tint); }
.stepper input { width: 72px !important; min-height: 50px !important; border: 0 !important; border-radius: 0 !important; text-align: center; font-size: 20px !important; font-weight: 750; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper-unit { font-weight: 600; color: var(--ink-2); margin-left: -6px; }
.stepper-total { display: flex; flex-direction: column; margin-left: auto; text-align: right; }
.stepper-total span { font-size: 14px; color: var(--ink-3); }
.stepper-total output { font-size: 20px; font-weight: 800; color: var(--bronze); font-variant-numeric: tabular-nums; }
.ajak { display: grid; gap: 8px; margin-bottom: 12px; }
.ajak-head, .ajak-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px; }
.ajak-head span { font-size: 13.5px; font-weight: 650; color: var(--ink-3); }
.skills { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.skill { position: relative; }
.skill input[type=checkbox] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.skill label {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 12px;
  background: #fff; border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer;
  font-weight: 550; line-height: 1.3; transition: background .15s, border-color .15s;
}
.skill .box { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); display: grid; place-items: center; flex: none; color: transparent; background: #fff; transition: background .15s, border-color .15s; }
.skill .box .ic { width: 15px; height: 15px; stroke-width: 3; }
.skill input:checked + label { background: var(--bronze-tint); border-color: var(--bronze); }
.skill input:checked + label .box { background: var(--bronze); border-color: var(--bronze); color: #fff; }
.skill input:focus-visible + label { box-shadow: var(--ring); }
.skill-detail { margin-top: 6px; min-height: 44px !important; font-size: 15px !important; }
/* ---------- Staf: fasil dan admin ---------- */
.page-staff .topbar { border-bottom: 1px solid var(--line); max-width: none; }
.tabs {
  display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none;
  padding: 0 12px; background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs a { white-space: nowrap; padding: 14px 12px; font-size: 15px; font-weight: 650; color: var(--ink-2); text-decoration: none; box-shadow: inset 0 -2px 0 transparent; }
.tabs a:hover { color: var(--bronze); }
.tabs a[aria-current] { color: var(--bronze); box-shadow: inset 0 -2px 0 var(--bronze); }
.tabs-out { margin-left: auto; }
.page-admin .wrap { padding-top: 24px; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 20px; margin-bottom: 18px; }
.page-head > .search, .page-head > .exports { margin-left: auto; }
.page-head h1 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.page-head .lede { flex-basis: 100%; max-width: 72ch; margin-top: 0; }
.count { font-size: 14px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--bronze-tint); color: var(--bronze); letter-spacing: 0; }
.exports { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.page-head .exports { margin-top: 0; }
.search { display: flex; gap: 8px; }
.search input { min-height: 40px !important; width: 260px !important; }
.form-list { display: grid; gap: 12px; }
.form-row { margin: 0; padding: 18px 20px; }
.fr-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 14px; }
.fr-head h2 { font-size: 18px; font-weight: 750; }
.fr-count { margin-left: auto; color: var(--ink-2); font-size: 14.5px; }
.fr-count strong { font-size: 17px; color: var(--ink); }
.fr-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 12px; align-items: end; }
.fr-fields .field { margin: 0; }
@media (min-width: 900px) {
  .form-row .fr-fields { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .form-row .fr-fields > * { grid-column: span 2; }
  .form-row .fr-fields > .field:nth-child(-n+2) { grid-column: span 3; }
  .form-row.fr-k .fr-fields > * { grid-column: span 2; }
}
.fr-fields .btn { min-height: 48px; }
.badge { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.b-open { background: var(--ok-tint); color: var(--ok); }
.b-wait { background: var(--paper-2); color: var(--ink-2); }
.b-closed { background: var(--due-tint); color: var(--due); }
.tbl-wrap { overflow-x: auto; }
.panel.tbl-wrap { padding: 6px 0; }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; }
.data th { text-align: left; font-size: 13px; font-weight: 700; color: var(--ink-3); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data tr:last-child td { border-bottom: 0; }
.data .num { text-align: right; }
.data td.due { color: var(--due); font-weight: 750; }
.data td a { font-weight: 600; }
.data .ic { width: 17px; height: 17px; color: var(--ok); }
.data input { min-height: 40px !important; }
.in-sm { width: 76px !important; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; flex-basis: 100%; }
.chips a { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.chips a:hover { border-color: var(--bronze); color: var(--bronze); }
.chips a[aria-current] { background: var(--bronze); border-color: var(--bronze); color: #fffaf1; }
.avg-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 12px; margin: 18px 0 8px; }
.avg { padding: 14px 16px; border-radius: 12px; background: var(--paper); }
.avg-q { font-size: 15px; font-weight: 550; min-height: 2.9em; }
.avg-v { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.avg-v strong { font-size: 24px; font-weight: 800; color: var(--bronze-3); }
.bar { flex: 1; height: 8px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--bronze); border-radius: 99px; }
.avg-d { display: flex; gap: 12px; font-size: 13px; color: var(--ink-3); margin-top: 6px; font-variant-numeric: tabular-nums; }
.avg-d b { color: var(--ink-2); }
.txt-q { font-size: 16px; font-weight: 750; margin: 26px 0 6px; }
.txt-list { list-style: none; margin: 0; padding: 0; }
.txt-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.txt-list span { display: block; font-size: 13.5px; color: var(--ink-3); margin-top: 4px; }
.totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.totals > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow); }
.totals p { font-size: 14px; font-weight: 650; color: var(--ink-3); }
.totals strong { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--bronze-3); margin: 2px 0; }
.totals span { font-size: 13.5px; color: var(--ink-3); }
.bidang { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 14px 20px; }
.bd-h { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.bd-h strong { font-size: 13px; padding: 1px 8px; border-radius: 99px; background: var(--bronze-tint); color: var(--bronze); }
.bd-n { font-size: 14.5px; color: var(--ink-2); margin-top: 2px; }
details.ans { border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; margin: 10px 0; }
details.ans summary { cursor: pointer; display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; min-height: 48px; }
details.ans summary span { color: var(--ink-3); font-size: 14px; }
.ans-list { margin: 0 0 12px; }
.ans-list dt { font-size: 13.5px; color: var(--ink-3); }
.ans-list dd { margin: 2px 0 12px; font-weight: 550; }
details.ans form { padding-bottom: 14px; }
.link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px; align-items: start; }
.link-grid textarea { font-size: 15px; background: var(--paper); }
.link-grid h2 + textarea { margin-bottom: 0; }
.link-grid .exports + h2 { margin-top: 24px; }
.big-link { font-size: 20px; font-weight: 800; color: var(--bronze); overflow-wrap: anywhere; margin-bottom: 16px; }
.plain { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.qr { width: 184px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.qr canvas { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.qr-lg { width: 280px; max-width: 100%; }
.group-pick { display: flex; align-items: center; gap: 12px; margin: 20px 0 16px; }
.group-pick label { margin: 0; }
.group-pick select { max-width: 340px; }
.fasil-title { font-size: 22px; font-weight: 800; }
.fasil-sum { margin: 10px 0 16px; }
.sum-big { font-size: 17px; color: var(--ink-2); }
.sum-big strong { font-size: 30px; font-weight: 800; color: var(--bronze); margin-right: 2px; }
.sum-sub { font-size: 15px; color: var(--ink-3); margin-top: 2px; }
table.grid { width: 100%; border-collapse: collapse; font-size: 15px; }
.grid th, .grid td { padding: 10px 2px; border-bottom: 1px solid var(--line); text-align: center; }
.grid thead th { font-size: 13px; font-weight: 750; color: var(--ink-3); }
.grid .c-name { text-align: left; padding-left: 8px; font-weight: 550; min-width: 120px; }
.grid th:not(.c-name), .grid td { width: 27px; }
.grid tbody .c-name { padding-top: 4px; padding-bottom: 4px; }
.nm { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 44px; }
.grid .c-ii { border-left: 1px solid var(--line); }
.grid thead .c-ii .ic { width: 16px; height: 16px; vertical-align: middle; }
.lg-i .ic { width: 15px; height: 15px; }
.grid .row-due th, .grid .row-due td { background: #fbf0ec; }
.s-done .ic { width: 18px; height: 18px; color: var(--ok); stroke-width: 3; vertical-align: middle; }
.s-due i, .lg-due i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: var(--due); vertical-align: middle; }
.s-lock::before, .lg-lock::before { content: ""; display: inline-block; width: 11px; height: 11px; border-radius: 50%; border: 1.5px dashed var(--line-2); vertical-align: middle; }
.wa { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--ok); flex: none; }
.wa:hover { background: var(--ok-tint); color: var(--ok); }
.legend { font-size: 13.5px; color: var(--ink-3); margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.lg-i { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; margin-right: 12px; }
.lg { display: inline-flex; }
.lg-done .ic { width: 15px; height: 15px; color: var(--ok); stroke-width: 3; }
.share-grid { display: grid; grid-template-columns: 184px 1fr; gap: 20px; align-items: start; }
.share-text textarea { font-size: 14.5px; background: var(--paper); }
.share-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
@media (max-width: 560px) {
  .panel { padding: 20px 16px; }
  .form-num { min-width: 52px; padding-right: 14px; }
  .form-num span { font-size: 46px; }
  .form-title h1 { font-size: 21px; }
  .ident { grid-template-columns: 1fr; gap: 8px; }
  .money-grid { grid-template-columns: 1fr; }
  .share-grid { grid-template-columns: 1fr; }
  .share-grid .qr { margin: 0 auto; }
  .totals { grid-template-columns: 1fr; }
  .search input { width: 100% !important; }
  .search { flex: 1; }
  .group-pick { flex-direction: column; align-items: stretch; gap: 6px; }
  .stars label { width: 46px; height: 48px; }
  .stars svg { width: 32px; height: 32px; }
  .stars-val { flex-basis: 100%; margin: 2px 0 0 6px; }
  .stars-val:empty { display: none; }
  .stars { flex-wrap: wrap; }
}
@media (max-width: 360px) {
  .skills { grid-template-columns: 1fr; }
  .stars label { width: 42px; }
}
/* ---------- Layar live (LED) ----------
   Semua ukuran memakai em dari satu ukuran dasar (--lv-fit, mengikuti lebar DAN tinggi layar)
   dikali --lv-zoom (tombol A- / A+). Kotak daftar bisa digulir, jadi tidak ada yang terpotong. */
body.live { background: #1c140c; color: var(--paper); overflow-x: hidden; }
.lv {
  --lv-fit: clamp(11px, min(1.05cqw, 1.7cqh), 40px);
  --lv-zoom: 1;
  font-size: calc(var(--lv-fit) * var(--lv-zoom));
  height: 100cqh; padding: 1.6em 2em; display: grid; gap: 1.3em 1.8em;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: auto auto minmax(24em, 1fr);
  grid-template-areas: "head head" "totals totals" "left feed";
  background: #1c140c;
}
.lv-head { grid-area: head; display: flex; align-items: center; gap: 1.4em; flex-wrap: wrap; }
.lv-logo { width: 6.5em; height: auto; filter: brightness(2.1) saturate(.75); }
.lv-title { min-width: 0; }
.lv-head h1 { font-size: 2.3em; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.lv-head p { font-size: .95em; color: rgba(244, 238, 227, .72); }
.lv-tools { margin-left: auto; display: flex; align-items: center; gap: 1.2em; flex-wrap: wrap; justify-content: flex-end; }
.lv-zoom { display: inline-flex; border: 1px solid rgba(244, 238, 227, .22); border-radius: .7em; overflow: hidden; }
.lv-zoom button { appearance: none; border: 0; background: rgba(244, 238, 227, .06); color: var(--paper); font: inherit; font-weight: 700; font-size: .9em; min-width: 2.8em; min-height: 2.6em; padding: 0 .8em; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.lv-zoom button + button { border-left: 1px solid rgba(244, 238, 227, .16); }
.lv-zoom button:hover { background: rgba(244, 238, 227, .16); }
.lv-zoom button:focus-visible, .lv-clear:focus-visible, .lv-bidang button:focus-visible, .lv-t-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.lv-zoom span { font-size: .8em; margin-left: .05em; }
.lv-conn { display: flex; align-items: center; gap: .55em; font-size: .9em; color: rgba(244, 238, 227, .65); }
.lv-conn i { width: .65em; height: .65em; border-radius: 50%; background: #8b7b66; }
.lv-conn.ok i { background: #7fc28e; box-shadow: 0 0 0 .28em rgba(127, 194, 142, .18); }
.lv-totals { grid-area: totals; display: grid; grid-template-columns: 2fr 1.4fr 1.4fr .9fr .9fr; gap: 1em; align-items: stretch; }
.lv-t { padding: 1em 1.2em; border-radius: .9em; background: rgba(244, 238, 227, .05); border: 1px solid rgba(244, 238, 227, .09); display: flex; flex-direction: column; justify-content: center; min-width: 0; text-align: left; color: inherit; font: inherit; }
.lv-t p { font-size: 1.05em; font-weight: 650; color: rgba(244, 238, 227, .8); }
.lv-t strong { display: block; font-size: 2.6em; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-top: .15em; font-variant-numeric: tabular-nums; }
.lv-t strong small { font-size: .42em; font-weight: 650; color: rgba(244, 238, 227, .65); letter-spacing: 0; }
.lv-t-main { background: rgba(217, 182, 124, .13); border-color: rgba(217, 182, 124, .32); }
.lv-t-main { container-type: inline-size; }
.lv-t-money { container-type: inline-size; }
.lv-totals .lv-t-money strong { font-size: min(2.6em, 9.6cqw); white-space: nowrap; }
.lv-t-main strong { font-size: min(3.3em, 10.5cqw); color: var(--gold); white-space: nowrap; }
.lv-sub { font-size: .9em; color: rgba(244, 238, 227, .65); font-variant-numeric: tabular-nums; }
.lv-t-btn { appearance: none; cursor: pointer; transition: background .2s var(--ease), border-color .2s var(--ease); }
.lv-t-btn:hover { background: rgba(244, 238, 227, .1); }
.lv-t-btn[aria-pressed="true"], .lv-bidang button[aria-pressed="true"] { background: rgba(217, 182, 124, .2); border-color: rgba(217, 182, 124, .6); }
.lv h2 { font-size: 1.25em; font-weight: 700; color: rgba(244, 238, 227, .75); margin-bottom: .7em; }
.lv h2 small { display: block; font-size: .7em; font-weight: 500; margin-top: .15em; color: rgba(244, 238, 227, .5); }
.lv-left { grid-area: left; min-height: 0; display: flex; flex-direction: column; gap: 1.1em; }
.lv-bidang { flex: 1 1 auto; min-height: 13em; overflow-y: auto; padding-right: .3em; scrollbar-width: thin; scrollbar-color: rgba(244, 238, 227, .3) transparent; }
.lv-bidang ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .3em; }
.lv-bidang button { appearance: none; width: 100%; display: grid; grid-template-columns: minmax(8em, 38%) 1fr 2.4em; align-items: center; gap: .9em; padding: .4em .7em; border: 1px solid transparent; border-radius: .6em; background: transparent; color: rgba(244, 238, 227, .92); font: inherit; font-size: 1.05em; line-height: 1.25; text-align: left; cursor: pointer; transition: background .2s var(--ease); }
.lv-bidang button:hover { background: rgba(244, 238, 227, .08); }
.b-l { overflow-wrap: anywhere; }
.b-bar { height: .6em; border-radius: 99px; background: rgba(244, 238, 227, .08); overflow: hidden; }
.b-bar i { display: block; height: 100%; background: var(--gold); border-radius: 99px; transform-origin: left; transition: transform .9s var(--ease); }
.b-n { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.lv-qr { flex: 0 0 auto; display: flex; align-items: center; gap: 1.2em; padding: .9em 1em; border-radius: .9em; background: rgba(244, 238, 227, .05); border: 1px solid rgba(244, 238, 227, .09); }
.lv-qr .qr { flex: 0 0 7em; width: 7em; border: 0; border-radius: .7em; background: var(--paper); }
.lv-qr p { font-size: 1.05em; color: rgba(244, 238, 227, .85); line-height: 1.4; min-width: 0; }
.lv-qr strong { color: var(--paper); overflow-wrap: anywhere; }
.lv-feed { grid-area: feed; min-height: 0; display: flex; flex-direction: column; }
.lv-feed-head { display: flex; align-items: baseline; gap: 1em; flex-wrap: wrap; }
.lv-clear { appearance: none; margin-bottom: .7em; border: 1px solid rgba(217, 182, 124, .5); background: rgba(217, 182, 124, .15); color: var(--paper); font: inherit; font-size: .9em; font-weight: 650; padding: .35em .9em; border-radius: 99px; cursor: pointer; }
.lv-feed ol { list-style: none; margin: 0; padding: 0 .4em .4em 0; flex: 1 1 auto; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(15em, 1fr)); grid-auto-rows: max-content; gap: .7em; align-content: start; align-items: start; scrollbar-width: thin; scrollbar-color: rgba(244, 238, 227, .3) transparent; }
.lv-feed li { padding: .7em .95em; border-radius: .7em; background: rgba(244, 238, 227, .06); min-width: 0; }
.lv-feed strong { display: block; font-size: 1.45em; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.lv-tags { display: flex; flex-wrap: wrap; gap: .3em .4em; margin-top: .4em; }
.lv-tags i { font-style: normal; font-size: .95em; line-height: 1.25; padding: .15em .6em; border-radius: 99px; background: rgba(244, 238, 227, .1); color: rgba(244, 238, 227, .88); }
.lv-tags i.d { background: rgba(217, 182, 124, .22); color: var(--gold); }
.lv-empty { color: rgba(244, 238, 227, .6); font-size: 1.05em; padding: 1em 0; }
.lv-feed li.new { animation: feedIn 1.4s var(--ease); }
@keyframes feedIn {
  0% { opacity: 0; transform: translateY(.8em); filter: blur(6px); background: rgba(217, 182, 124, .45); }
  45% { opacity: 1; transform: none; filter: blur(0); background: rgba(217, 182, 124, .35); }
  100% { background: rgba(244, 238, 227, .06); }
}
.bump { animation: bump .7s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.06); color: #fff; } 100% { transform: scale(1); } }
/* Layar sempit (HP, jendela kecil): satu kolom, halaman digulir biasa. */
@media (max-width: 900px) {
  .lv { --lv-fit: clamp(14px, 3.9vw, 19px); height: auto; min-height: 100dvh; padding: 1.1em 1em 2em; grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "head" "totals" "left" "feed"; }
  .lv-totals { grid-template-columns: 1fr 1fr; }
  .lv-t-main { grid-column: 1 / -1; }
  .lv-t strong { font-size: 2.1em; }
  .lv-t-main strong { font-size: min(2.6em, 10.5cqw); }
  .lv-left { padding-right: 0; }
  .lv-bidang { overflow: visible; padding-right: 0; }
  .lv-feed ol { overflow: visible; max-height: none; }
  .lv-head h1 { font-size: 1.8em; }
  .lv-tools { margin-left: 0; width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
/* ---------- Multi-event: daftar event, pilihan jawaban, builder pertanyaan ---------- */
.event-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.event-list a {
  display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; min-height: 56px;
  background: #fff; border: 1px solid var(--line-2); border-radius: 12px; text-decoration: none; color: var(--ink);
  transition: border-color .15s, background .15s;
}
.event-list a:hover { border-color: var(--bronze); background: var(--bronze-tint); }
.event-list a:focus-visible { box-shadow: var(--ring); outline: 0; }
.event-list strong { font-weight: 700; }
.event-list span { font-size: 14.5px; color: var(--ink-3); }
.event-list span:empty { display: none; }
.q-sub { display: block; font-size: 14px; font-weight: 500; color: var(--ink-3); margin-top: 2px; }
.opts { display: grid; gap: 8px; margin-top: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt label {
  display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 10px 14px;
  background: #fff; border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer;
  font-weight: 550; line-height: 1.35; transition: background .15s, border-color .15s;
}
.opt .box { width: 22px; height: 22px; border-radius: 999px; border: 1.5px solid var(--line-2); display: grid; place-items: center; flex: none; color: transparent; background: #fff; transition: background .15s, border-color .15s; }
.opt-multi .box { border-radius: 7px; }
.opt .box .ic { width: 15px; height: 15px; stroke-width: 3; }
.opt input:checked + label { background: var(--bronze-tint); border-color: var(--bronze); }
.opt input:checked + label .box { background: var(--bronze); border-color: var(--bronze); color: #fff; }
.opt input:focus-visible + label { box-shadow: var(--ring); }
.opt-inline { margin-bottom: 16px; }
.opt-inline label { display: inline-flex; }
.grid-2 { display: grid; gap: 0 16px; }
.grid-edit { display: grid; gap: 0 16px; }
.field-hint { font-size: 13.5px; color: var(--ink-3); margin-top: 6px; line-height: 1.4; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-edit { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .span-2 { grid-column: span 2; }
}
.sec-gap { margin-top: 28px; }
.fine.left { text-align: left; }
.big-link.sm { font-size: 16px; margin-bottom: 0; }
.new-event { margin-top: 28px; }
.new-event > .btn { margin-top: 4px; }
.form-editor .fr-head h1 { font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.fr-title { color: var(--ink); font-weight: 600; margin: -6px 0 14px; }
.fr-title span { color: var(--ink-3); font-weight: 500; }
.b-auto { background: var(--bronze-tint); color: var(--bronze); }
.editor-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.danger-zone { margin-top: 16px; display: flex; justify-content: flex-end; }
.opt-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(80px, 38%) 32px; align-items: center; gap: 10px; font-size: 14.5px; margin-top: 6px; }
.opt-row b { text-align: right; font-variant-numeric: tabular-nums; }
.qb { margin-top: 24px; }
.qb > h2 { font-size: 18px; font-weight: 750; margin-bottom: 12px; }
.qb-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.qb-item { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px; display: grid; gap: 8px; }
.qb-item:focus-within { border-color: var(--bronze); }
.qb-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.qb-no { width: 28px; height: 28px; border-radius: 999px; background: var(--bronze-tint); color: var(--bronze); font-weight: 750; font-size: 14px; display: grid; place-items: center; flex: none; font-variant-numeric: tabular-nums; }
.qb-type { width: auto !important; min-height: 40px !important; font-size: 15px !important; }
.qb-req { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; min-height: 40px; }
.qb-req input { width: 18px; height: 18px; margin: 0; }
.qb-tools { margin-left: auto; display: flex; gap: 4px; }
.qb-btn {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--card);
  color: var(--ink-2); font: 700 18px/1 inherit; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.qb-btn:hover:not(:disabled) { border-color: var(--bronze); color: var(--bronze); }
.qb-btn[data-mv="x"]:hover { border-color: var(--due); color: var(--due); background: var(--due-tint); }
.qb-btn:disabled { opacity: .35; cursor: default; }
.qb-btn:focus-visible { box-shadow: var(--ring); outline: 0; }
.qb-label { min-height: 0 !important; font-weight: 600; }
.qb-opsi-box label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-3); margin-bottom: 4px; }
.qb-opsi-box[hidden] { display: none; }
.new-event > .lede { margin-bottom: 20px; }
@media (max-width: 480px) { .qb-btn { width: 36px; height: 36px; } .qb-type { max-width: 150px; } }
.shift { display: grid; gap: 4px; }
.shift label { font-size: 13.5px; font-weight: 650; color: var(--ink-3); }
.shift-row { display: flex; gap: 8px; }
.shift select { width: auto !important; min-height: 40px !important; font-size: 15px !important; }
.ii-anon { margin: 8px 0 20px; }
.ii-anon label { align-items: flex-start; }
.ii-anon label > span:last-child { display: grid; gap: 2px; }
.ii-anon small { font-size: 14px; font-weight: 450; color: var(--ink-3); }
.qb-type:disabled { opacity: .7; cursor: not-allowed; }
.page-head > .shift { margin-left: auto; }
/* ---------- Plotting kelompok dan kamar ---------- */
.plot-head .plot-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: var(--card); }
.seg a { padding: 9px 14px; font-size: 14.5px; font-weight: 650; color: var(--ink-2); text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; }
.seg a[aria-current] { background: var(--bronze); color: #fffaf1; }
.pub { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); margin-bottom: 12px; font-size: 15px; }
.pub p { flex: 1 1 280px; color: var(--ink-2); }
.pub.has-change { background: var(--warn-tint); border-color: #e6d2a4; }
.pub.has-change strong { color: #5e4210; }
.pub .btn:disabled { opacity: .5; cursor: default; }
.warns { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; margin-bottom: 14px; }
.warns summary { display: flex; align-items: center; gap: 8px; min-height: 48px; cursor: pointer; font-weight: 650; }
.warns summary .ic { color: var(--due); }
.warns ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 4px; }
.warn { display: block; width: 100%; text-align: left; border: 0; border-radius: 8px; padding: 8px 10px 8px 26px; cursor: pointer; font-size: 14.5px; position: relative; background: var(--paper); }
.warn::before { content: ""; position: absolute; left: 10px; top: 14px; width: 8px; height: 8px; border-radius: 50%; }
.warn.w-merah::before { background: var(--due); }
.warn.w-kuning::before { background: #c79a3b; }
.warn:hover { background: var(--bronze-tint); }
.ok-line { display: flex; align-items: center; gap: 8px; color: var(--ok); font-weight: 600; margin-bottom: 14px; }
.ok-line .ic { width: 18px; height: 18px; }
.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(236px, 100%), 1fr)); gap: 12px; align-items: start; }
.board-kamar { grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); }
.col { background: var(--paper-2); border-radius: 14px; padding: 10px; min-height: 120px; transition: background .15s, box-shadow .15s; }
.col header { padding: 4px 4px 8px; }
.col h3 { font-size: 16.5px; font-weight: 800; }
.col-fasil { font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.col-stat { font-size: 13px; color: var(--ink-2); margin-top: 3px; font-variant-numeric: tabular-nums; }
.col-kaos { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.col-body { display: grid; gap: 6px; min-height: 40px; }
.col-none { background: var(--warn-tint); }
.col-static { opacity: .8; }
.col.over-drop { background: var(--bronze-tint); box-shadow: inset 0 0 0 2px var(--bronze); }
.col-room.full header h3::after { content: " · penuh"; font-size: 12px; font-weight: 650; color: var(--ok); }
.col-room.over { box-shadow: inset 0 0 0 2px var(--due); }
.pc {
  display: block; width: 100%; text-align: left; border: 1px solid var(--line); border-left: 4px solid var(--line-2);
  border-radius: 10px; background: var(--card); padding: 7px 10px; cursor: grab; font-size: 14.5px; line-height: 1.3;
  touch-action: manipulation; transition: box-shadow .15s, transform .1s, border-color .15s;
}
.pc:hover { border-color: var(--line-2); box-shadow: 0 2px 8px -4px rgba(38, 28, 18, .3); }
.pc.g-P { border-left-color: #5b7a99; }
.pc.g-W { border-left-color: #b9785a; }
.pc-n { display: flex; align-items: center; gap: 4px; font-weight: 650; }
.pc-n .ic { width: 14px; height: 14px; color: var(--ink-3); }
.pc-m, .pc-r { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 1px; }
.pc-r { color: var(--bronze); font-weight: 600; }
.pc-f { background: var(--bronze-tint); }
.pc-static { cursor: default; }
.pc.w-kuning { box-shadow: inset 0 0 0 1px #d8b364; }
.pc.w-merah { box-shadow: inset 0 0 0 1.5px var(--due); }
.pc.is-sel { border-color: var(--bronze); box-shadow: var(--ring); transform: translateY(-1px); }
.pc.is-drag { opacity: .45; }
.pc.hl, .plot-tbl tr.hl td { background: #fff3c9; }
.plot-tbl select { min-height: 40px; min-width: 130px; font-size: 15px; }
.plot-tbl tr.w-merah td:first-child { box-shadow: inset 3px 0 0 var(--due); }
.plot-tbl tr.w-kuning td:first-child { box-shadow: inset 3px 0 0 #c79a3b; }
.selbar {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 30;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; width: min(720px, calc(100% - 24px));
  padding: 10px 12px; border-radius: 14px; background: var(--bronze-3); color: var(--paper);
  box-shadow: 0 16px 40px -12px rgba(38, 28, 18, .55);
}
.selbar p { flex: 1 1 100%; font-size: 14.5px; }
.selbar select { flex: 1 1 180px; min-height: 40px; }
.selbar .btn-ghost { color: var(--paper); border-color: rgba(255, 250, 241, .35); }
.selbar .btn-ghost:hover { background: rgba(255, 250, 241, .12); color: #fff; }
body.has-sel .wrap { padding-bottom: 140px; }
.usul { background: var(--card); border: 1.5px solid var(--bronze); border-radius: var(--r); padding: 18px 20px; margin-bottom: 16px; box-shadow: var(--shadow); }
.usul h2 { font-size: 18px; margin-bottom: 8px; }
.usul > p + p { margin-top: 6px; }
.usul-w { color: var(--ink-2); font-size: 14.5px; }
.usul .tbl-wrap { margin: 12px 0; }
.data.sm td, .data.sm th { padding: 7px 10px; }
.usul details { margin: 10px 0; }
.usul summary { cursor: pointer; font-weight: 600; color: var(--bronze); min-height: 40px; display: flex; align-items: center; }
.usul-list { columns: 2 260px; font-size: 14.5px; padding-left: 18px; }
.usul-list .ic { width: 14px; height: 14px; vertical-align: -2px; }
.usul-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sec-gap { margin-top: 20px; }
.in-md { width: 140px !important; }
.data tr.is-off td { opacity: .55; }
.data select { min-height: 40px; }
.sync details { margin: 8px 0; }
.sync summary { cursor: pointer; font-weight: 600; }
.sync form { margin-top: 12px; }
.snaps { list-style: none; padding: 0; gap: 8px; }
.snaps li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
code { font-size: 14px; background: var(--paper); padding: 1px 6px; border-radius: 6px; }
/* Info kelompok untuk fasil dan peserta */
.kel-info { display: grid; gap: 4px; }
.kaos-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.kaos-chips span { font-size: 13.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--bronze-tint); color: var(--bronze-2); font-variant-numeric: tabular-nums; }
.hello-room { font-size: 15px; color: var(--gold); margin-top: 2px; font-weight: 600; }
.g-login { display: grid; justify-items: center; gap: 8px; margin: 8px 0 20px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 14px; margin: 4px 0 16px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
/* Cetak daftar kamar */
.page-print { background: #fff; }
.print { max-width: 900px; margin: 0 auto; padding: 24px 16px; }
.print-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 16px; margin-bottom: 16px; }
.print-head h1 { font-size: 22px; flex-basis: 100%; }
.print-head p { color: var(--ink-2); flex: 1; }
.print-tbl th[rowspan] { font-size: 16px; color: var(--ink); }
.print-tbl tr.room-first td, .print-tbl tr.room-first th { border-top: 2px solid var(--line-2); }
.print-note { margin-top: 16px; font-size: 14px; color: var(--ink-2); }
@media print {
  .no-print { display: none !important; }
  .print { padding: 0; }
  .print-tbl { font-size: 12.5px; }
  .print-tbl tr { break-inside: avoid; }
}
@media (max-width: 560px) {
  .board, .board-kamar { grid-template-columns: 1fr; }
  .plot-head .plot-tools { margin-left: 0; }
  .pc { cursor: pointer; }
}
/* ---------- Denah kursi (tampak atas) ---------- */
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.seg a { padding: 0 14px; min-height: 40px; display: inline-flex; align-items: center; font-weight: 650; font-size: 14.5px; color: var(--ink-2); text-decoration: none; background: var(--card); }
.seg a + a { border-left: 1px solid var(--line-2); }
.seg a[aria-current] { background: var(--bronze); color: #fff; }
.head-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 6px 0 4px; }
.kr-info { margin: 6px 0 10px; }
.kr-mode { display: inline-block; margin-left: 8px; padding: 1px 10px; border-radius: 99px; background: var(--bronze-tint); color: var(--bronze-2); font-size: 13px; font-weight: 650; }
.kr-warn { display: flex; gap: 8px; align-items: center; margin-top: 6px; padding: 8px 12px; border-radius: 10px; background: var(--warn-tint); color: #6a4a10; font-size: 14.5px; }
.kr-legend { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.kr-legend li { display: inline-flex; align-items: baseline; gap: 6px; font-size: 14px; }
.kr-legend i { width: 14px; height: 14px; border-radius: 4px; background: var(--c); align-self: center; flex: none; }
.kr-legend span { color: var(--ink-3); }
.kr-stage { margin: 0 auto 12px; max-width: 760px; text-align: center; padding: 10px; border-radius: 10px; background: var(--bronze-3); color: var(--gold); font-weight: 750; letter-spacing: .12em; font-size: 14px; }
.kr-room { display: grid; grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr); gap: 10px; max-width: 1100px; margin: 0 auto; padding: 14px; border-radius: var(--r); background: var(--paper-2); border: 1px solid var(--line); }
.kr-label { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); text-align: center; margin: 0 0 6px; height: 18px; }
.kr-grid { display: grid; grid-template-columns: repeat(var(--kol, 4), minmax(0, 1fr)); grid-auto-rows: 58px; gap: 6px; }
.kr-lorong { display: grid; grid-auto-rows: 58px; gap: 6px; grid-template-rows: 24px repeat(var(--baris, 7), 58px); }
.kr-lorong .kr-label { margin: 0; font-size: 10px; letter-spacing: 0; height: auto; align-self: end; }
.kr-lorong span { align-self: center; text-align: center; font-weight: 700; font-size: 13px; color: var(--ink-3); }
.kr-sisi .kr-grid { margin-top: 0; }
.ks { position: relative; }
.ks-gembok { position: absolute; top: 2px; right: 3px; display: inline-flex; opacity: .7; pointer-events: none; }
.ks-gembok svg { width: 11px; height: 11px; }
.kr-set { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin: 10px 0 0; }
.kr-set label { display: grid; gap: 3px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.kr-set input[type=number], .kr-set select { width: 96px; min-height: 36px; }
.kr-set select { width: auto; }
.ks { appearance: none; font: inherit; cursor: pointer; border-radius: 9px; border: 2px solid var(--c, var(--line-2)); background: color-mix(in srgb, var(--c, #fff) 24%, #fffcf7); color: var(--ink); padding: 2px 4px; display: flex; align-items: center; justify-content: center; text-align: center; min-width: 0; line-height: 1.15; }
.ks-n { font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.ks-f { box-shadow: inset 0 0 0 2px #fffcf7; }
.ks-kosong { border: 2px dashed var(--line-2); background: transparent; color: var(--line-2); }
.ks:hover { filter: brightness(.96); }
.ks:focus-visible, .ks-chip:focus-visible { outline: 3px solid var(--bronze); outline-offset: 2px; }
.is-sel { outline: 3px solid var(--bronze-3); outline-offset: 1px; transform: scale(1.04); }
.kr-belum { max-width: 1100px; margin: 16px auto 0; padding: 12px 14px; border-radius: var(--r); background: var(--card); border: 1px dashed var(--line-2); }
.kr-belum h3 { font-size: 16px; margin: 0 0 4px; }
.kr-hint { font-size: 13.5px; color: var(--ink-3); margin: 0 0 8px; }
.kr-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ks-chip { appearance: none; font: inherit; font-size: 13.5px; font-weight: 650; cursor: pointer; padding: 4px 10px; border-radius: 99px; border: 2px solid var(--c, var(--line-2)); background: color-mix(in srgb, var(--c, #fff) 24%, #fffcf7); color: var(--ink); }
@media (max-width: 760px) {
  .kr-room { grid-template-columns: minmax(0, 1fr); padding: 10px; }
  .kr-lorong { display: none; }
  .kr-grid { grid-auto-rows: 52px; }
  .ks-n { font-size: 12.5px; }
}
/* Cetak: kedua layout, satu per halaman */
.kr-sheet { page-break-after: always; break-after: page; }
.kr-sheet:last-of-type { page-break-after: auto; break-after: auto; }
.page-kursi-print .kr-wrap { max-width: none; }
.page-kursi-print .ks, .page-kursi-print .kr-legend i, .page-kursi-print .kr-stage { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.page-kursi-print .kr-belum .kr-hint { display: none; }
@page { size: A4 landscape; margin: 10mm; }
.login-cadangan { display: grid; gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.login-cadangan[hidden] { display: none; }
.login-cadangan-judul { margin: 0 0 4px; font-size: 13px; color: var(--ink-2); }
.login-cadangan label { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.akun-baru { display: grid; gap: 4px; margin: 10px 0; padding: 10px 12px; border-radius: var(--r); background: var(--paper-2); border: 1px solid var(--line); }
.akun-baru code { font-size: 16px; font-weight: 700; letter-spacing: .04em; }
.plain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.plain-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.plain-list form { margin: 0; }
/* ---------- Kamar panitia ---------- */
.pn-grid { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 16px; align-items: start; }
.pn-belum, .pn-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.pn-belum h3 { margin: 0 0 8px; font-size: 15px; }
.pn-chips, .pn-isi { display: flex; flex-wrap: wrap; gap: 6px; min-height: 36px; align-content: flex-start; }
.pn-chip { appearance: none; font: inherit; cursor: grab; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: #fffcf7; color: var(--ink); min-height: 36px; }
.pn-chip.is-sel { outline: 2px solid var(--brand, #7a5a35); background: color-mix(in srgb, var(--brand, #7a5a35) 14%, #fffcf7); }
.pn-add { display: grid; gap: 6px; margin-top: 12px; }
.pn-add label, .pn-nomor label { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.pn-kamar { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 12px; }
.pn-card header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.pn-tipe { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #efe5d3; }
.pn-king { background: #f0dcc0; }
.pn-cap { margin-left: auto; font-size: 12px; color: var(--ink-3); }
.pn-nomor { display: grid; gap: 4px; margin-top: 10px; }
.pn-nomor input { min-height: 36px; }
.pn-del { margin-top: 8px; font-size: 12px; }
.pn-tambah { display: flex; gap: 6px; }
@media (max-width: 760px) { .pn-grid { grid-template-columns: minmax(0, 1fr); } }
.pn-wrap { display: inline-flex; align-items: center; gap: 2px; }
.pn-wrap form { margin: 0; }
.pn-x { appearance: none; border: 0; background: none; cursor: pointer; font-size: 18px; line-height: 1; color: var(--ink-3); padding: 4px 6px; min-height: 32px; }
.in-nopol { width: 120px; text-transform: uppercase; }
/* ---------- Name tent ---------- */
.tent-sheet { --w: 21cm; --h: 9.9cm; margin: 0 auto; max-width: var(--w); }
.tent-sheet.o-l { --w: 29.7cm; --h: 10.5cm; }
.tent-help { font-size: 13px; padding: 12px 16px; max-width: 760px; margin: 0 auto; display: grid; gap: 8px; }
.tent-help p { margin: 0; }
.tent-page { width: var(--w); background: #fff; margin: 0 auto 14px; box-shadow: 0 1px 6px rgba(0,0,0,.2); }
.tent-card { width: var(--w); height: var(--h); display: grid; grid-template-rows: 1fr 0 1fr; box-sizing: border-box; border-bottom: 1px dashed #aaa; break-inside: avoid; overflow: hidden; }
.tent-card:last-child { border-bottom: 0; }
.tent-face { display: grid; grid-template-columns: calc(var(--lg, 2.4cm) + .3cm) minmax(0, 1fr) calc(var(--lg, 2.4cm) + .3cm); align-items: center; height: 100%; padding: .2cm .4cm .5cm; box-sizing: border-box; overflow: hidden; background: color-mix(in srgb, var(--kc, #999) var(--t, 9%), #fff); box-shadow: inset 0 -0.3cm 0 var(--kc, #999); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.tent-logo { width: var(--lg, 2.4cm); height: auto; justify-self: start; }
.tent-txt { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.tent-txt strong { font-size: var(--n); line-height: 1.05; color: #111; max-width: 100%; overflow-wrap: anywhere; }
.tent-txt em { font-style: normal; font-size: var(--u); line-height: 1.1; color: #333; margin-top: 4px; max-width: 100%; }
.tent-txt span { font-size: var(--k); color: #555; margin-top: 4px; font-weight: 600; }
.no-logo .tent-logo { visibility: hidden; }
.no-warna .tent-face { background: #fff; box-shadow: none; }
.tent-set { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 8px 16px; align-items: end; }
.tent-set label { display: grid; gap: 2px; font-weight: 600; font-size: 12px; }
.tent-set output { font-weight: 400; color: #666; }
.tent-cb { display: flex !important; align-items: center; gap: 6px; }
.tent-flip { transform: rotate(180deg); }
.tent-fold { border-top: 1.5px dashed #555; height: 0; }
@media print {
  .no-print { display: none !important; }
  body.page-tent { background: #fff; }
  .tent-page { margin: 0; box-shadow: none; page-break-after: always; break-after: page; }
  .tent-page:last-child { page-break-after: auto; break-after: auto; }
  .tent-card { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.ks.is-over { outline: 3px dashed var(--c, #7a5a35); outline-offset: 1px; }
/* ---------- Tabel data peserta: kolom cukup lebar, kartu di layar kecil ---------- */
.wrap.wide:has(.tbl-peserta) { max-width: min(1480px, 100%); }
.tbl-peserta { min-width: 1240px; }
.tbl-peserta td, .tbl-peserta th { padding-left: 9px; padding-right: 9px; }
.tbl-peserta td:nth-child(1) { min-width: 200px; }
.tbl-peserta td[data-label="Email login"] input { width: 270px; }
.tbl-peserta td[data-label="HP"] { white-space: nowrap; }
.tbl-peserta td[data-label="Gender"] select { width: 74px; }
.tbl-peserta td[data-label="Kaos"] input { width: 78px !important; }
.tbl-peserta td[data-label="Plat nomor"] input { width: 128px; }
.tbl-peserta td[data-label="Status"] select { width: 104px; }
.tbl-peserta td[data-label="Catatan"] input { width: 170px; }
.tbl-peserta td input, .tbl-peserta td select { max-width: none; }
@media (max-width: 960px) {
  .tbl-peserta { min-width: 0; }
  .tbl-peserta thead { display: none; }
  .tbl-peserta, .tbl-peserta tbody, .tbl-peserta tr, .tbl-peserta td { display: block; width: 100%; }
  .tbl-peserta tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .tbl-peserta td { padding: 0; border: 0; min-width: 0 !important; }
  .tbl-peserta td:nth-child(1) { grid-column: 1 / -1; font-size: 16px; }
  .tbl-peserta td[data-label]::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 700; color: var(--ink-3); margin-bottom: 2px; }
  .tbl-peserta td[data-label="Email login"], .tbl-peserta td[data-label="Catatan"], .tbl-peserta td[data-label="HP"] { grid-column: 1 / -1; }
  .tbl-peserta td input, .tbl-peserta td select { width: 100% !important; }
  .tbl-peserta td[data-label="Umur"] { text-align: left; }
  .tbl-peserta td[data-label="Menginap"] input { width: auto !important; }
}
/* ---------- Menu staf dua tingkat ---------- */
.tabs-grup { padding-top: 2px; }
.tabs-grup a { padding: 12px 16px; font-size: 16px; font-weight: 750; }
.tabs-sub { position: static; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.tabs-sub a { padding: 10px 12px; font-size: 14px; font-weight: 600; }
@media (max-width: 480px) { .tabs-grup a { padding: 12px 10px; } .tabs-grup .linkbtn { font-size: 14px; } }
/* ---------- Animasi (assets/motion.js). Semua dimatikan lewat .no-anim / prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  /* Bilah atas dan menu tetap di tempat, hanya isi halaman yang bergantian (isi dianimasikan GSAP, jadi akar cukup memudar tipis) */
  .topbar { view-transition-name: vt-topbar; }
  .tabs-grup { view-transition-name: vt-menu; }
  .tabs-sub { view-transition-name: vt-submenu; }
  ::view-transition-group(vt-topbar), ::view-transition-group(vt-menu), ::view-transition-group(vt-submenu) { animation-duration: 0s; }
  ::view-transition-old(vt-topbar), ::view-transition-old(vt-menu), ::view-transition-old(vt-submenu) { display: none; }
  ::view-transition-new(vt-topbar), ::view-transition-new(vt-menu), ::view-transition-new(vt-submenu) { animation: none; }
  ::view-transition-old(root) { animation: vtOut .1s ease both; }
  ::view-transition-new(root) { animation: vtIn .18s ease both; }
  .btn { transition: transform .15s var(--ease), background .15s, border-color .15s, box-shadow .2s, opacity .2s; }
  .btn:hover:not(:disabled) { transform: translateY(-1px); }
  .btn:active:not(:disabled) { transform: scale(.97); }
  .event-list a:hover, .ii-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
  .event-list a, .ii-card { transition: transform .2s var(--ease), box-shadow .2s, border-color .15s, background .15s; }
}
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; margin-left: 8px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.mchk { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mchk circle { stroke-dasharray: 63; stroke-dashoffset: 63; animation: draw .55s var(--ease) .05s forwards; }
.mchk path { stroke-dasharray: 22; stroke-dashoffset: 22; animation: draw .4s var(--ease) .45s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.toast b { font-variant-numeric: tabular-nums; }
.toast::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--gold); opacity: .7; transform-origin: left; animation: toastBar 3.4s linear forwards; }
@keyframes toastBar { to { transform: scaleX(0); } }
.state-mark { position: relative; }
.state-done .state-mark::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; animation: ring 1.6s var(--ease) .4s 2; }
@keyframes ring { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.ii-card.is-done { animation: glow 1.8s var(--ease) .3s 1; }
@keyframes glow { 0%, 100% { box-shadow: var(--shadow); } 40% { box-shadow: 0 0 0 4px rgba(217, 182, 124, .45), var(--shadow); } }
.fprog { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 8px 0; background: var(--paper); }
.fprog i { flex: 1; height: 6px; border-radius: 6px; background: var(--bronze); transform: scaleX(0); transform-origin: left; }
.fprog::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 6px; background: var(--line); z-index: -1; right: 0; }
.fprog span { position: relative; font-size: 13.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap; min-width: 8.5em; text-align: right; }
.fprog.lengkap span { color: var(--ok); }
.fprog.lengkap i { background: var(--ok); }
.is-busy { opacity: .5; pointer-events: none; transition: opacity .15s; background: linear-gradient(100deg, transparent 30%, rgba(217, 182, 124, .25) 50%, transparent 70%) 0 0 / 220% 100%; animation: shimmer 1.1s linear infinite; }
@keyframes shimmer { to { background-position: -220% 0; } }
.ks.flash { animation: glow 1s var(--ease); }
.mwelcome { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--paper); text-align: center; }
.mwelcome .mchk { width: 72px; height: 72px; stroke: var(--bronze); }
.mwelcome p { margin-top: 12px; font-size: 20px; font-weight: 750; color: var(--bronze-3); }
.no-anim .toast::after, .no-anim .mchk * { animation: none; stroke-dashoffset: 0; }
.no-anim .toast::after { display: none; }
/* Denah gaya bioskop: kode kursi A1.. di pojok, huruf baris di lorong */
.ks-no { position: absolute; top: 2px; left: 4px; font-style: normal; font-size: 9.5px; font-weight: 750; letter-spacing: .02em; color: var(--ink-3); opacity: .85; pointer-events: none; }
.ks { padding-top: 11px; }
.ks-kosong .ks-no { color: var(--ink-3); }
.kr-lorong span { font-size: 15px; color: var(--bronze-2); }
/* ---------- Statistik ---------- */
.st-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 14px; color: var(--ink-2); }
.st-filter button { appearance: none; border: 1px solid var(--bronze); background: var(--bronze-tint); color: var(--bronze-2); border-radius: 99px; padding: 5px 12px; font-weight: 650; cursor: pointer; min-height: 34px; }
.st-filter .st-reset { background: transparent; border-color: var(--line-2); color: var(--ink-2); }
.st-kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 12px; margin-bottom: 14px; }
.st-k { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; box-shadow: var(--shadow); }
.st-k p { font-size: 13px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
.st-k strong { display: block; font-size: 34px; line-height: 1.15; font-weight: 800; color: var(--bronze); font-variant-numeric: tabular-nums; }
.st-k span { font-size: 13px; color: var(--ink-3); }
.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 14px; margin-bottom: 14px; }
.st-card { margin: 0; }
.st-card h2 { font-size: 16px; margin-bottom: 10px; }
.st-wide { grid-column: span 2; }
@media (max-width: 680px) { .st-wide { grid-column: auto; } }
.st-donut { position: relative; width: 168px; margin: 0 auto 8px; }
.st-donut svg { width: 100%; display: block; }
.st-seg { transition: stroke-dasharray .6s var(--ease), stroke-dashoffset .6s var(--ease), opacity .2s; cursor: pointer; }
.st-seg.dim { opacity: .25; }
.st-mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.st-mid strong { font-size: 28px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.st-mid span { font-size: 12px; color: var(--ink-3); }
.st-leg, .st-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.st-leg button, .st-bars button { appearance: none; width: 100%; display: grid; align-items: center; gap: 8px; border: 0; background: transparent; padding: 5px 6px; border-radius: 8px; cursor: pointer; text-align: left; font-size: 14px; min-height: 34px; }
.st-leg button { grid-template-columns: 12px minmax(0, 1fr) auto; }
.st-leg i { width: 12px; height: 12px; border-radius: 4px; }
.st-bars button { grid-template-columns: minmax(70px, 9.5em) minmax(0, 1fr) auto; }
.st-leg button:hover, .st-bars button:hover { background: var(--bronze-tint); }
.st-leg button.on, .st-bars button.on { background: var(--bronze-tint); box-shadow: inset 0 0 0 1.5px var(--bronze); }
.st-leg .l, .st-bars .l { overflow-wrap: anywhere; line-height: 1.25; }
.st-leg b, .st-bars b { font-weight: 650; color: var(--ink-2); font-variant-numeric: tabular-nums; font-size: 13.5px; white-space: nowrap; }
.st-bars .t { height: 10px; border-radius: 6px; background: var(--paper-2); overflow: hidden; }
.st-bars .t i { display: block; height: 100%; background: var(--bronze); border-radius: 6px; transform-origin: left; transition: transform .6s var(--ease); }
.st-bars button.on .t i { background: var(--gold); }
.zero { opacity: .45; }
.has-sel .st-bars button:not(.on):not(.zero) .t i { background: var(--line-2); }
.st-list .muted { line-height: 1.7; overflow-wrap: anywhere; }
/* ---------- Meja konsultasi ---------- */
.kn-ruang { --lebar: 11; --panjang: 22; position: relative; margin: 0 auto; border-radius: 14px; border: 2px solid var(--line-2); background: var(--paper-2); display: grid; overflow: hidden; }
.kn-stage { background: var(--bronze-3); color: var(--gold); font-weight: 800; letter-spacing: .24em; font-size: 13px; display: grid; place-items: center; }
.kn-ruang.tegak { width: min(100%, 460px); aspect-ratio: 1 / 2; grid-template-rows: 7% 1fr; }
.kn-ruang.tegak .kn-denah { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(var(--lajur), 1fr); padding: 2%; gap: 1%; }
.kn-ruang.datar { width: min(94cqw, calc((100cqh - 21cqh) * 2)); aspect-ratio: 2 / 1; grid-template-columns: 6% 1fr; border-width: .25cqw; border-radius: 1.2cqw; background: #2a1f14; border-color: #5a4630; }
.kn-ruang.datar .kn-stage { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 1.3cqw; background: #3a2914; }
.kn-ruang.datar .kn-denah { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, 1fr); grid-template-columns: repeat(var(--lajur), 1fr); padding: 1.2%; gap: 1%; }
.kn-meja { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; min-width: 0; min-height: 0; }
.kn-no { flex: none; width: 34%; max-width: 64px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; font-weight: 800; font-size: 20px; border: 4px solid color-mix(in srgb, var(--c) 45%, #fff); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent); }
.kn-teks { display: grid; gap: 1px; min-width: 0; }
.kn-meja strong { font-size: 12.5px; line-height: 1.2; overflow-wrap: anywhere; }
.kn-meja em { font-style: normal; font-weight: 700; color: var(--bronze-2); font-size: 12.5px; }
.kn-ruang.datar .kn-no { width: 4.4cqw; max-width: none; font-size: 2.1cqw; border-width: .35cqw; box-shadow: none; }
.kn-ruang.datar .kn-meja { gap: .5cqh; }
.kn-ruang.datar .kn-meja strong { font-size: 1.15cqw; color: #f4eee3; }
.kn-ruang.datar .kn-meja em { font-size: 1.15cqw; color: #d9b67c; }
.kn-ukuran { text-align: center; font-size: 13px; color: var(--ink-3); margin-top: 8px; }
.kn-row { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px 14px 14px; margin: 0 0 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.kn-row legend { font-weight: 800; color: var(--bronze); padding: 0 6px; }
.kn-row label { display: grid; gap: 3px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.kn-row input { min-height: 40px; }
.kn-wide { grid-column: 1 / -1; }
.kn-tools { grid-column: 1 / -1; display: flex; gap: 8px; }
.kn-tools .btn-danger { margin-left: auto; }
@media (max-width: 600px) { .kn-row { grid-template-columns: 1fr; } }
.kn-act { display: flex; gap: 8px; }
.tent-txt .kn-lbl { font-size: var(--k); font-weight: 800; letter-spacing: .14em; color: var(--kc); margin-bottom: 2px; }
.page-layar { background: #1c140c; }
.kn-layar { min-height: 100cqh; padding: 2.5cqh 3cqw; color: #f4eee3; display: grid; grid-template-rows: auto 1fr; gap: 2cqh; justify-items: center; align-items: center; }
.kn-layar header { text-align: center; }
.kn-layar header p { font-size: 1.4cqw; letter-spacing: .3em; text-transform: uppercase; color: #d9b67c; margin: 0; }
.kn-layar header h1 { font-size: 3.6cqw; margin: 0; font-weight: 800; line-height: 1.1; }
.kn-layar header span { font-size: 1.3cqw; opacity: .8; }
/* Name tent hitam putih: tanpa warna latar, logo abu-abu, label hitam */
.no-warna .tent-logo { filter: grayscale(1); }
.no-warna .tent-txt .kn-lbl { color: #333; }
.no-warna .tent-face { -webkit-print-color-adjust: economy; }
/* Label peran di papan kamar */
.pc-role { display: inline-block; align-self: flex-start; margin-bottom: 2px; padding: 0 7px; border-radius: 99px; font-size: 10.5px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; background: var(--paper-2); color: var(--ink-2); }
.r-fasil .pc-role, .pc-role.r-fasil { background: #f3e2b8; color: #6a4a0c; }
.r-pembicara .pc-role, .pc-role.r-pembicara { background: #d5e3f2; color: #264a73; }
.r-panitia .pc-role, .pc-role.r-panitia { background: #d9ebd9; color: #26583a; }
.r-peserta .pc-role { background: var(--paper-2); color: var(--ink-3); }
.pc.r-pembicara { box-shadow: inset 3px 0 0 #4a82b8; }
.pc.r-panitia { box-shadow: inset 3px 0 0 #4f9a6c; }
[data-peran-filter] .pc { opacity: .22; }
[data-peran-filter="peserta"] .pc.r-peserta, [data-peran-filter="fasil"] .pc.r-fasil, [data-peran-filter="pembicara"] .pc.r-pembicara, [data-peran-filter="panitia"] .pc.r-panitia { opacity: 1; }
.seg button { appearance: none; border: 0; background: transparent; padding: 6px 12px; font-weight: 650; color: var(--ink-2); cursor: pointer; border-radius: 8px; }
.seg button.on { background: var(--bronze); color: #fff; }
.lain-list li { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.lain-list form { margin-left: auto; }
#peran-filter { display: inline-flex; flex-wrap: wrap; max-width: 100%; }
/* Bingkai LED: rasio dari Pengaturan; di layar kecil tampil biasa */
body.live, body.page-layar { background: #000; }
.led { width: 100%; }
@media (min-width: 900px) {
  body.live, body.page-layar { display: grid; place-items: center; min-height: 100vh; }
  .led { width: min(100vw, calc(100vh * var(--lw) / var(--lh))); aspect-ratio: var(--lw) / var(--lh); container-type: size; overflow: hidden; background: #1c140c; }
  .led > .kn-layar { min-height: 100cqh; height: 100cqh; box-sizing: border-box; }
}
.topbar-user { display: inline-flex; align-items: center; gap: 6px; max-width: 220px; padding: 5px 12px; border-radius: 99px; background: var(--paper-2); color: var(--ink-2); font-size: 13.5px; font-weight: 650; }
.topbar-user span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-user svg { flex: none; width: 16px; height: 16px; }
/* ============ Papan, denah, dan perkakas panitia (v2) ============ */
.plot-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; }
.plot-hint { font-size: 13px; color: var(--ink-3); }
.pub { position: sticky; top: 52px; z-index: 6; box-shadow: 0 6px 16px -10px rgba(38, 28, 18, .25); }
@media (min-width: 900px) { .board-kamar > .col-none:first-child, .board > .col-none:first-child { position: sticky; top: 128px; max-height: calc(100vh - 148px); overflow: auto; align-self: start; } }
.is-sel { outline: 2px solid var(--bronze); outline-offset: 1px; }
.cap-dots { display: flex; gap: 4px; margin-top: 5px; }
.cap-dots i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--line-2); transition: background .25s, transform .25s; }
.cap-dots i.on { background: var(--bronze); border-color: var(--bronze); }
.cap-dots i.x { border-color: var(--due); }
.cap-dots i.on.x { background: var(--due); }
.col-room.full { background: color-mix(in srgb, var(--ok-tint) 70%, var(--paper-2)); }
.col-room.over { background: var(--due-tint); }
.drop-chip { margin-top: 6px; padding: 3px 9px; border-radius: 99px; background: var(--bronze); color: #fff; font-size: 12.5px; font-weight: 700; display: inline-block; font-variant-numeric: tabular-nums; }
.drop-chip.bad { background: var(--due); }
.is-fokus .pc:not(.fk) { opacity: .25; }
.is-fokus .pc.fk { box-shadow: 0 0 0 2px var(--gold), 0 6px 14px -8px rgba(38, 28, 18, .5); }
.fk-lines line { stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 7; opacity: .95; }
body.is-dragging .pc, body.is-dragging .col, body.is-dragging .ks, body.is-dragging .btn { transition: none !important; animation: none !important; }
body.is-dragging .is-busy { animation: none; }
.is-busy .pc { background: linear-gradient(100deg, var(--card) 35%, var(--bronze-tint) 50%, var(--card) 65%) 0 0 / 220% 100%; animation: shimmer 1.1s linear infinite; }
.bdg { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px; border-radius: 99px; background: var(--due); color: #fff; font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; vertical-align: 1px; }
.tabs-cari, .tabs-tema { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; white-space: nowrap; font-size: 14px; }
.tabs-cari + .tabs-tema, .tabs-tema + .tabs-out { margin-left: 4px; }
.tabs-tema { margin-left: 4px; }
.tabs-out { margin-left: 4px; }
.tabs-cari kbd { font: inherit; font-size: 11px; padding: 1px 6px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--ink-3); }
.tabs-cari svg { width: 16px; height: 16px; }
.palet, .dlg-terbit { border: 0; border-radius: 16px; padding: 0; background: var(--card); color: var(--ink); box-shadow: 0 24px 60px -12px rgba(38, 28, 18, .45); max-width: min(560px, 94vw); width: 100%; }
.palet::backdrop, .dlg-terbit::backdrop { background: rgba(38, 28, 18, .45); backdrop-filter: blur(2px); }
.palet { margin-top: 12vh; }
.palet-in input { width: 100%; border: 0; border-bottom: 1px solid var(--line); padding: 16px 18px; font: inherit; font-size: 17px; background: transparent; color: inherit; outline: none; }
.palet ul { list-style: none; margin: 0; padding: 6px; max-height: 50vh; overflow: auto; }
.palet li { display: flex; align-items: center; border-radius: 10px; }
.palet li.on { background: var(--bronze-tint); }
.palet li a { flex: 1; display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; color: inherit; text-decoration: none; }
.palet li a em { font-style: normal; color: var(--ink-3); font-size: 13.5px; }
.palet .palet-2 { flex: none; padding: 4px 10px; margin-right: 8px; border-radius: 99px; background: var(--paper-2); font-size: 12.5px; font-weight: 700; }
.palet-kosong { padding: 14px; color: var(--ink-3); }
.palet-hint { margin: 0; padding: 8px 16px 12px; font-size: 12.5px; color: var(--ink-3); }
.dlg-terbit form { padding: 20px; }
.dlg-terbit h2 { margin: 0 0 8px; font-size: 20px; }
.dlg-body { max-height: 50vh; overflow: auto; margin: 6px 0 14px; }
.dlg-act { display: flex; justify-content: flex-end; gap: 8px; }
.diff-tbl { width: 100%; font-size: 14px; }
.diff-tbl td, .diff-tbl th { padding: 5px 8px; text-align: left; }
.palet[open], .dlg-terbit[open] { animation: dlgIn .2s var(--ease); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.kr-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: var(--card); }
.seg button.on { background: var(--bronze); color: #fff; }
#kursi-main .kr-room { zoom: var(--kz, 1); }
#kursi-main { overflow-x: auto; }
#kursi-main[data-warna="peran"] .ks { --c: #3f8f8a !important; }
#kursi-main[data-warna="peran"] .ks.ks-f { --c: #c9962f !important; }
#kursi-main[data-warna="kunci"] .ks { --c: #b9ab97 !important; }
#kursi-main[data-warna="kunci"] .ks.ks-kunci { --c: #775832 !important; }
.kr-tip { position: fixed; z-index: 50; padding: 8px 12px; border-radius: 10px; background: var(--bronze-3); color: #fff; font-size: 13px; pointer-events: none; display: grid; gap: 1px; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); max-width: 280px; }
.kr-tip strong { font-size: 14px; }
.kr-tip span { opacity: .8; }
.kr-led { width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; color: #f4eee3; }
.kr-led-in { transform-origin: center; width: max-content; padding: 10px; }
.kr-led .kr-info, .kr-led .kr-belum, .kr-led .kr-hint { display: none; }
.kr-led .kr-legend { justify-content: center; }
@media (min-width: 900px) { .led:has(.kr-led) { background: #1c140c; } }
.save-pill { position: fixed; left: 14px; bottom: 14px; z-index: 40; padding: 6px 13px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 650; color: var(--ink-2); box-shadow: var(--shadow); transition: opacity .4s; }
.save-pill.ok { color: var(--ok); }
.save-pill.bad { background: var(--due-tint); color: var(--due); border-color: var(--due); }
.save-pill.wait { color: var(--bronze); }
.save-pill.dim { opacity: .35; }
.kolom-pil { margin: 0 0 8px; font-size: 14px; }
.kolom-pil summary { cursor: pointer; font-weight: 650; color: var(--bronze); }
.kolom-pil div { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 8px 0; }
.tbl-wrap { max-height: 78vh; overflow: auto; }
.tbl-wrap table.data thead th { position: sticky; top: 0; z-index: 2; background: var(--paper-2); box-shadow: 0 1px 0 var(--line-2); }
/* Tema gelap panitia */
:root[data-tema="gelap"] {
  --paper: #1c140c; --paper-2: #2a1f14; --card: #241a10; --ink: #f4eee3; --ink-2: #d8cbb6; --ink-3: #b5a58d;
  --line: #3d2f20; --line-2: #5a4630; --bronze: #d9b67c; --bronze-2: #e8cd9f; --bronze-3: #f4eee3; --bronze-tint: #3a2914;
  --gold: #d9b67c; --ok: #7fc08e; --ok-tint: #1f3324; --due: #ef8a80; --due-tint: #3a1f1c; --warn-tint: #3a2e14;
  --field-bg: var(--paper-2); --field-ink: var(--ink);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 28px -14px rgba(0, 0, 0, .6); color-scheme: dark;
}
:root[data-tema="gelap"] .btn:not(.btn-ghost) { color: #1c140c; }
:root[data-tema="gelap"] .seg button.on, :root[data-tema="gelap"] .drop-chip { color: #1c140c; }
:root[data-tema="gelap"] .ks { background: color-mix(in srgb, var(--c, #5a4630) 30%, #241a10); }
:root[data-tema="gelap"] .topbar-label, :root[data-tema="gelap"] .brand img { filter: none; }
:root[data-tema="gelap"] .brand img { filter: brightness(1.8) saturate(.8); }
.wa-bubble { margin: 10px 0 0; max-width: 460px; padding: 10px 12px 6px; border-radius: 4px 14px 14px 14px; background: #dcf8c6; color: #1b2a14; font-size: 14.5px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0, 0, 0, .12); }
.wa-bubble p { margin: 0; word-break: break-word; }
.wa-bubble u { color: #0b6eb5; }
.wa-bubble small { display: block; text-align: right; font-size: 11.5px; opacity: .6; margin-top: 4px; }
.wa-src { width: 1px; max-height: 0; opacity: 0; padding: 0; border: 0; margin: 0; position: absolute; pointer-events: none; }
.flt-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 10px; }
.flt-bar input[type=search] { padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 99px; font: inherit; background: var(--card); color: inherit; }
.chip { appearance: none; border: 1px solid var(--line-2); background: var(--card); color: var(--ink-2); padding: 5px 12px; border-radius: 99px; font: inherit; font-size: 13.5px; font-weight: 650; cursor: pointer; }
.chip.on { background: var(--bronze); border-color: var(--bronze); color: #fff; }
.chip-p { border-style: dashed; }
.flt-n { margin-left: auto; font-size: 13px; color: var(--ink-3); }
.flt-saved { display: contents; }
:root[data-tema="gelap"] .pub.has-change { border-color: #6a5320; }
:root[data-tema="gelap"] .pub.has-change strong { color: var(--gold); }
:root[data-tema="gelap"] .wa-bubble { background: #1f3a2a; color: #e8f3e3; }
.mwelcome .mw-sapa { margin-top: 18px; font-size: 22px; font-weight: 600; color: var(--ink-2); }
.mwelcome .mw-nama { margin-top: 2px; font-size: 34px; font-weight: 800; line-height: 1.15; color: var(--bronze-3); }
.mwelcome .mw-sub { margin-top: 12px; font-size: 16px; font-weight: 500; color: var(--ink-3); }
.sapa-kecil { margin: 0 0 4px; font-size: 16px; color: var(--ink-2); }
.grid .c-p { border-left: 1px solid var(--line); text-align: center; }
.s-half i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: #d9a441; vertical-align: middle; }
.sum-parkir strong { color: var(--due); }
.legend .lg-p { white-space: normal; flex-basis: 100%; }
/* akun cadangan: jelaskan siapa yang perlu ditangani */
.akun-ok { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; padding: 12px 14px; border-radius: var(--r); background: var(--paper-2); border: 1px solid var(--line); }
.akun-ok svg { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.akun-sudah { margin-top: 12px; }
.akun-sudah summary { cursor: pointer; padding: 8px 0; color: var(--muted, inherit); font-size: 14px; }
.akun-wrap > summary { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; font-weight: 600; }
.akun-wrap > summary::-webkit-details-marker { display: none; }
.akun-wrap > summary::after { content: "▾"; margin-left: auto; transition: transform .2s; }
.akun-wrap[open] > summary::after { transform: rotate(180deg); }
.akun-badge { font-size: 13px; font-weight: 500; padding: 2px 10px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); }
.akun-badge.perlu { background: var(--warn-bg, #fff3d6); border-color: var(--warn, #d9a400); }
.akun-wrap > .sec-hint { margin-top: 10px; }
/* fasilitator mengisi atas nama peserta */
.wakil-bar { position: sticky; top: 0; z-index: 60; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; padding: 10px 16px; background: #5a3f1f; color: #fff7e6; font-size: 15px; }
.wakil-bar form { margin: 0; }
.wakil-bar .btn { background: #fff7e6; color: #5a3f1f; border-color: #fff7e6; }
.pl-aksi { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.pl-aksi form { margin: 0; }
/* check-in */
.tiket-card .tiket-qr { display: grid; place-items: center; margin: 12px auto; max-width: 240px; padding: 8px; background: #fff; border-radius: var(--r); }
.tiket-card .tiket-qr canvas { width: 100%; height: auto; }
.tiket-card .tiket-nama { text-align: center; font-weight: 700; margin: 0; }
.tiket-hadir { display: flex; gap: 8px; align-items: center; color: var(--ok, #2f6b3a); font-weight: 600; margin: 0; }
.ci-data { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 12px 0; }
.ci-data dt { color: var(--muted, #6b5a45); }
.ci-data dd { margin: 0; font-weight: 600; }
.ci-data dd { overflow-wrap: anywhere; min-width: 0; }
.ci-row { display: flex; gap: 8px; }
.ci-row input { flex: 1; min-width: 0; }
.ci-plat { margin: 12px 0; }
.ci-sudah { display: flex; gap: 8px; align-items: center; color: var(--ok, #2f6b3a); }
.btn-big { width: 100%; padding: 16px; font-size: 18px; }
.ci-cam video { width: 100%; max-height: 60vh; border-radius: var(--r); background: #000; margin-top: 10px; }
.ci-card.is-done { border-color: var(--ok, #2f6b3a); }
/* Daftar pilihan bawaan browser: teks gelap di latar terang, termasuk di bar pindah yang berlatar gelap */
.selbar select { color: #2b2118; }
select option, select optgroup { color: #2b2118; background: #fff; }
select option:disabled { color: #8a7d6b; }
:root[data-tema="gelap"] .selbar select, :root[data-tema="gelap"] select option, :root[data-tema="gelap"] select optgroup { color: var(--ink); background: var(--paper-2); }
:root[data-tema="gelap"] select option:disabled { color: var(--ink-3); }
/* Zona lepas melayang saat menyeret kartu */
.dzw { display: none; position: fixed; left: 50%; bottom: 92px; transform: translateX(-50%); z-index: 40; width: min(640px, calc(100% - 24px)); gap: 10px; }
.dz { flex: 1; padding: 16px; text-align: center; font-weight: 650; border: 2px dashed var(--bronze); border-radius: 14px; background: var(--paper-2); color: var(--ink); box-shadow: 0 12px 32px -12px rgba(38, 28, 18, .5); }
body.is-dragging .dzw { display: flex; }
.dz-baru { border-color: var(--ok); }
.col-act { float: right; }
.col-room header { position: relative; }
.kb-cek { display: flex; gap: 8px; align-items: flex-start; }
.dlg-body label { display: grid; gap: 4px; margin-top: 10px; }
.dz.over-drop { background: var(--bronze-tint); border-style: solid; }
/* Papan: kolom "belum dapat" di kiri, kamar/kelompok di grid sendiri. Baris grid tidak lagi ikut setinggi kolom "belum dapat" yang panjang. */
.board-split { display: grid; grid-template-columns: minmax(220px, 260px) 1fr; gap: 12px; align-items: start; }
.board-split > .rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(236px, 100%), 1fr)); gap: 12px; align-items: start; }
.board-kamar > .rooms { grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); }
@media (max-width: 899px) { .board-split { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .board-split > .rooms, .board-kamar > .rooms { grid-template-columns: 1fr; } }
.col-filter { width: 100%; min-height: 34px; margin: 6px 0 2px; font-size: 14px; }
.pc.is-berubah::after { content: "berubah"; display: inline-block; margin-top: 4px; padding: 1px 6px; border-radius: 6px; font-size: 11px; font-weight: 650; background: var(--warn-tint); color: var(--ink); }
.ringkas { margin: 4px 0 0; font-size: 14.5px; }
.kr-panggung { margin: 0 0 12px; }
.kr-panggung .kr-stage { margin-bottom: 0; }
.kr-lay { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; margin: 0 auto 8px; position: sticky; top: 0; z-index: 5; padding: 6px 0; background: var(--paper, #fff); }
.kr-lay-btn { min-height: 38px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card); color: var(--ink-2); font: inherit; font-weight: 650; font-size: 14.5px; cursor: pointer; }
.kr-lay-btn[aria-current] { background: var(--bronze); border-color: var(--bronze); color: #fff; }
.kr-lay-act { color: var(--bronze-2); border-style: dashed; }
.kr-lay-salin { min-height: 38px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card); padding: 0 8px; font: inherit; font-size: 14px; }
.kr-legend li[draggable] { cursor: grab; padding: 2px 8px; border-radius: 8px; }
.kr-legend li.is-over { outline: 2px dashed var(--bronze); background: var(--bronze-tint); }
.kr-led .kr-lay, .page-kursi-print .kr-lay { display: none; }
.kr-legend li.is-pilih { outline: 2px solid var(--bronze); background: var(--bronze-tint); }
.kr-legend li[data-kel] { cursor: pointer; }
.kr-geser { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 12px; }
.kr-geser-t { font-weight: 650; font-size: 14.5px; margin-right: 4px; }
.tbl-lain td { vertical-align: middle; padding: 8px 10px; }
.tbl-lain select { min-width: 150px; }
.tbl-lain tr.is-tersimpan td { background: var(--ok-tint, #e3f1e3); transition: background .3s; }
.lain-tambah { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); align-items: flex-end; }
.kamar-edit > summary { cursor: pointer; list-style: none; }
.kamar-edit > summary::-webkit-details-marker { display: none; }
.kamar-edit > summary h2 { display: inline-flex; align-items: baseline; gap: 10px; margin: 0; }
.kamar-edit > summary h2::before { content: "\25B8"; color: var(--ink-3); font-size: 14px; }
.kamar-edit[open] > summary h2::before { content: "\25BE"; }
.kamar-edit > summary .sum-hint { font-size: 13px; font-weight: 500; }
.kamar-edit[open] > summary { margin-bottom: 12px; }
@media (max-width: 720px) { .tbl-lain select { width: 100%; } }
.col header:has(.col-act) { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; }
.col header:has(.col-act) h3 { flex: 1 1 auto; margin: 0; }
.col header:has(.col-act) .col-act { float: none; display: inline-flex; align-items: center; gap: 4px; margin-left: auto; }
.col header:has(.col-act) > p { flex: 0 0 100%; margin: 0; }
@media (max-width: 720px) {
  .tbl-lain thead { display: none; }
  .tbl-lain, .tbl-lain tbody, .tbl-lain tr, .tbl-lain td { display: block; width: 100%; }
  .tbl-lain tr { position: relative; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .tbl-lain td { padding: 4px 0; border: 0; }
  .tbl-lain td[data-label="Malam 2-3 Okt"]::before, .tbl-lain td[data-label="Malam 3-4 Okt"]::before { content: attr(data-label); display: block; font-size: 12.5px; color: var(--ink-3); margin-bottom: 2px; }
  .tbl-lain td:last-child { position: absolute; top: 8px; right: 0; width: auto; }
}
.kamar-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.kamar-tools .ringkas { margin: 0 auto 0 0; }
.kamar-tools form { margin: 0; }
.kr-led .kr-legend { max-width: 1100px; margin: 0 auto 14px; flex-wrap: wrap; }
.led-lay { position: fixed; bottom: 14px; left: 14px; z-index: 20; display: flex; gap: 6px; padding: 6px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 2px #1c140c, 0 6px 18px rgba(0, 0, 0, .55); }
.led-lay a { padding: 10px 18px; border-radius: 9px; color: #1c140c; font-size: 18px; font-weight: 750; text-decoration: none; background: #efe6d6; }
.led-lay a:hover { background: #e2d3b8; }
.led-lay a[aria-current] { background: #1c140c; color: #ffd27a; }
/* Layar videotron = denah tegak diputar 90 derajat berlawanan arah jarum jam: meja 1 (kiri di denah tegak) jatuh di bawah, meja 2 (kanan) di atas. */
.kn-ruang.datar .kn-meja { grid-column: var(--lj); }
.kn-ruang.datar .kn-meja:nth-child(odd) { grid-row: 2; }
.kn-ruang.datar .kn-meja:nth-child(even) { grid-row: 1; }
.kn-meja { justify-content: flex-start; padding-top: 6%; }
/* lingkaran nomor sejajar walau teks topik beda panjang */
/* Test 6 Harta */
.harta-sec { margin: 22px 0; }
.harta-sec h2 { font-size: 18px; font-weight: 750; margin-bottom: 10px; }
.harta-q { border: 0; padding: 0; margin: 0 0 20px; }
.harta-q legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.harta-q.has-err { outline: 2px solid var(--err, #c0392b); outline-offset: 6px; border-radius: 8px; }
.harta-q .opt { margin: 4px 0; }
.harta-nav { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-top: 12px; }
.harta-nav [hidden] { display: none; }
.radar { width: 100%; max-width: 340px; display: block; margin: 8px auto 16px; }
.rd-grid { fill: none; stroke: currentColor; opacity: .18; }
.rd-area { fill: rgba(60, 100, 200, .25); stroke: rgb(60, 100, 200); stroke-width: 2; }
.rd-lbl { font-size: 11px; fill: currentColor; }
.harta-bars { list-style: none; padding: 0; margin: 0 0 14px; }
.harta-bars li { margin-bottom: 14px; }
.hb-top { display: flex; justify-content: space-between; font-weight: 600; }
.hb-bar { height: 10px; border-radius: 6px; background: rgba(128, 128, 128, .2); overflow: hidden; margin: 4px 0; }
.hb-bar i { display: block; height: 100%; background: rgb(60, 100, 200); }
/* Layar videotron Test 6 Harta */
.hl { min-height: 100cqh; box-sizing: border-box; padding: 3cqh 3.5cqw 8cqh; color: #f4eee3; display: flex; flex-direction: column; gap: 2.5cqh; }
.hl-head h1 { font-size: 5cqh; margin: 0; }
.hl-head p { margin: .5cqh 0 0; font-size: 3.2cqh; opacity: .75; }
.hl-ringkas { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; align-items: center; }
.hl-radar .radar { max-width: none; height: 62cqh; margin: 0 auto; }
.hl-radar .rd-lbl { font-size: 14px; fill: #f4eee3; }
.hl-radar .rd-grid { stroke: #f4eee3; }
.hl-radar .rd-area { fill: rgba(212, 160, 72, .35); stroke: #d4a048; }
.hl-rank, .hl-soal ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.2cqh; }
.hl-top { display: flex; justify-content: space-between; font-size: 3.4cqh; font-weight: 650; }
.hl-bar { height: 2.2cqh; border-radius: 99px; background: rgba(244, 238, 227, .15); overflow: hidden; margin-top: .6cqh; }
.hl-bar i { display: block; height: 100%; background: #d4a048; }
.hl-foot, .hl-kosong { font-size: 3.2cqh; opacity: .8; margin: 0; }
.hl-kosong { margin: auto; text-align: center; font-size: 4cqh; }
.hl-pola { flex: 1; display: grid; grid-template-columns: 1fr 1.2fr; gap: 3cqw; align-content: center; }
.hl-kpi { grid-row: span 2; display: grid; place-content: center; text-align: center; }
.hl-kpi p { font-size: 3cqh; margin: 0; opacity: .8; }
.hl-kpi strong { font-size: 16cqh; line-height: 1.1; color: #d4a048; }
.hl-kpi > span { font-size: 3cqh; opacity: .8; }
.hl-pita { display: grid; gap: 2cqh; }
.hl-tbl { width: 100%; border-collapse: collapse; font-size: 3cqh; }
.hl-tbl th, .hl-tbl td { text-align: left; padding: .6cqh 1cqw; border-bottom: 1px solid rgba(244, 238, 227, .2); }
.hl-soal { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; align-content: start; }
.hl-soal h2 { font-size: 3.6cqh; margin: 0 0 2cqh; color: #d4a048; }
.hl-soal li { display: grid; grid-template-columns: 7cqh 1fr; gap: 1.5cqw; font-size: 3.2cqh; align-items: start; }
.hl-soal li strong { font-size: 3.6cqh; color: #d4a048; }
.vt-list li { margin-bottom: 14px; list-style: none; }
/* Layar Test 6 Harta: masuk berurutan sekali saat dibuka, setelah itu angka dan bar bergerak di tempat */
.hl { --ease: cubic-bezier(.23, 1, .32, 1); font-variant-numeric: tabular-nums; }
@keyframes hl-rise { from { opacity: 0; transform: translateY(2cqh); } }
@keyframes hl-grow { from { transform: scaleX(0); } }
@keyframes hl-pop { from { opacity: 0; transform: scale(.4); } }
@keyframes hl-fade { from { opacity: 0; } }
.hl-head { animation: hl-rise .7s var(--ease) both; }
.hl-head p { animation: hl-rise .7s .08s var(--ease) both; }
.hl-rank li, .hl-pita > div, .hl-tbl tr, .hl-soal li { animation: hl-rise .7s calc(.25s + var(--i, 0) * 90ms) var(--ease) both; }
.hl-bar i { transform-origin: left; transition: width .8s var(--ease); animation: hl-grow .9s calc(.35s + var(--i, 0) * 90ms) var(--ease) both; }
.hl-radar .rd-grid { animation: hl-fade .8s .1s var(--ease) both; }
.hl-radar .rd-lbl { animation: hl-fade .6s .5s var(--ease) both; }
.hl-radar .rd-area { transform-box: view-box; transform-origin: 150px 150px; animation: hl-pop .95s .3s var(--ease) both; transition: none; }
.hl-kpi, .hl-foot, .hl-soal h2 { animation: hl-rise .7s .2s var(--ease) both; }
.hl-nointro *, .hl-nointro { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .hl *, .hl { animation: none !important; transition: none !important; } }
.hb-delta.naik { color: #1f7a3d; font-weight: 700; }
.hb-delta.turun { color: #a33a2a; font-weight: 700; }
.hb-teks { margin: 6px 0 0; font-size: 15px; line-height: 1.5; }
.hist { display: inline-flex; align-items: flex-end; gap: 3px; height: 30px; vertical-align: middle; }
.hist i { display: block; width: 10px; background: var(--bronze, #7a5a30); border-radius: 2px 2px 0 0; }
td.heat { background: color-mix(in srgb, var(--bronze, #7a5a30) var(--h), transparent); }
/* Tab LED: menyingkir saat tidak disentuh */
.led-lay { transition: transform .35s var(--ease, cubic-bezier(.23, 1, .32, 1)), opacity .35s; }
.led-lay.led-sembunyi { transform: translateY(140%); opacity: 0; pointer-events: none; }
.led-lay .led-toggle { background: #fff; box-shadow: inset 0 0 0 2px #1c140c; }
.led-lay .led-toggle.on { background: #1f7a3d; color: #fff; box-shadow: none; }
.hl-auth { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 30; background: #a33a2a; color: #fff; padding: 12px 20px; border-radius: 12px; font-size: 20px; box-shadow: 0 6px 20px rgba(0, 0, 0, .5); }
.hl-auth a { color: #ffd27a; font-weight: 750; }
.hl-plus { margin-left: 12px; padding: 2px 12px; border-radius: 99px; background: #d4a048; color: #1c140c; font-weight: 800; }
.hl-plus-go { animation: hl-rise .5s var(--ease) both; }
.hl-sorot { flex: 1; display: flex; flex-direction: column; gap: 3cqh; }
.hl-chips { display: flex; gap: 1cqw; }
.hl-chips button { font: inherit; font-size: 3cqh; font-weight: 700; padding: 1cqh 2cqw; border-radius: 99px; border: .25cqh solid #d4a048; background: transparent; color: #f4eee3; cursor: pointer; }
.hl-chips button[aria-pressed="true"] { background: #d4a048; color: #1c140c; }
.hl-satu { flex: 1; display: grid; grid-template-columns: 1fr 1.2fr; gap: 4cqw; align-items: center; }
.hl-sk h2 { font-size: 7cqh; margin: 0; }
.hl-skor { font-size: 22cqh; line-height: 1; margin: 1cqh 0; color: #d4a048; font-weight: 800; }
.hl-skor small { font-size: 5cqh; color: #f4eee3; opacity: .7; font-weight: 500; }
.hl-pt { font-size: 3cqh; opacity: .85; margin: 0; }
.hl-hrow { display: grid; grid-template-columns: 17cqh 1fr 8cqh; gap: 1.5cqw; align-items: center; font-size: 3.4cqh; margin-bottom: 1.8cqh; }
.hl-hrow b { text-align: right; }
.hl-hrow .hl-bar { margin: 0; height: 3cqh; }
.hl-q { font-size: 3.2cqh; opacity: .85; margin: 3cqh 0 0; }
/* Meja konsultasi: satu meja (8 kursi, 4x2) = satu kotak, gaya sama dengan kotak kursi */
.kn-meja { align-items: stretch; justify-content: flex-start; padding: 0; gap: 0; text-align: left; background: #efe6d6; border: 2px solid var(--c); border-radius: 10px; overflow: hidden; color: #1c140c; }
.kn-no { width: auto; max-width: none; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; display: block; padding: 4px 10px; font-size: 12px; letter-spacing: .12em; text-align: left; }
.kn-teks { padding: 8px 10px; gap: 4px; align-content: start; }
.kn-meja strong { font-size: 14px; }
.kn-meja em { color: var(--bronze-2, #7a5a30); font-size: 13px; }
.kn-ruang.datar .kn-meja { border-width: .3cqw; border-radius: 1cqw; }
.kn-ruang.datar .kn-no { padding: .5cqh 1cqw; font-size: 1.2cqw; }
.kn-ruang.datar .kn-teks { padding: 1.2cqh 1cqw; gap: .6cqh; }
.kn-ruang.datar .kn-meja strong { font-size: 1.5cqw; color: #1c140c; line-height: 1.2; }
.kn-ruang.datar .kn-meja em { font-size: 1.35cqw; color: #7a5a30; font-weight: 750; }
.kn-ruang .kn-no, .kn-ruang.datar .kn-no { width: auto; align-self: flex-start; border-bottom-right-radius: 8px; white-space: nowrap; }
.hl-hrow { grid-template-columns: 26cqh 1fr 8cqh; }
.hl-hrow span { white-space: nowrap; }
/* Denah kursi tampilan kelompok (LED): kursi sekelompok digabung jadi satu kotak. Tampilan per nama tetap tersedia (?tampil=nama). */
.kg-box { container-type: size; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; padding: 4px 8px; border-radius: 12px; border: 3px solid var(--c); background: color-mix(in srgb, var(--c) 30%, #fffcf7); color: #1c140c; min-width: 0; overflow: hidden; }
.kg-box strong { font-size: clamp(13px, min(24cqh, 13cqw), 44px); line-height: 1.05; font-weight: 800; overflow-wrap: anywhere; }
.kg-box span { font-size: clamp(11px, min(13cqh, 7cqw), 22px); font-weight: 700; opacity: .75; }
.kg-box em { font-style: normal; font-size: clamp(11px, min(12cqh, 6cqw), 20px); font-weight: 700; color: color-mix(in srgb, var(--c) 55%, #1c140c); }
.kg-kosong { border: 2px dashed var(--line-2); border-radius: 9px; opacity: .6; }
.dlg-merah { background: #fbe9e5; border: 1px solid #d9877a; border-radius: 8px; padding: 10px 14px; margin-bottom: 12px; color: #6b1f14; }
.dlg-merah ul { margin: 6px 0 0 18px; padding: 0; }
/* Cetak hitam putih (hemat tinta): isi warna dilepas, garis dan huruf tetap hitam */
body.print-bw .ks, body.print-bw .ks-chip, body.print-bw .kg-box, body.print-bw .kr-legend i { background: #fff !important; border-color: #000 !important; color: #000 !important; box-shadow: none !important; }
body.print-bw .ks-kosong { border-style: dashed !important; opacity: .55; }
body.print-bw .kr-room, body.print-bw .kr-sisi { background: #fff !important; }
body.print-bw .kr-stage { background: #fff !important; color: #000 !important; border: 2px solid #000; }
body.print-bw * { -webkit-print-color-adjust: economy; print-color-adjust: economy; }
.kr-bw-toggle { margin: 8px 12px; }
@media print { .no-print { display: none !important; } }
/* Layar videotron meja konsultasi: potret (panggung di atas), sama dengan denah di website. Tidak ikut berputar. */
.kn-layar:has(.kn-ruang.layar) { grid-template-rows: auto 1fr; gap: 1.2cqh; padding: 2cqh 3cqw; }
.kn-layar:has(.kn-ruang.layar) header p { font-size: 1.6cqh; }
.kn-layar:has(.kn-ruang.layar) header h1 { font-size: 4.2cqh; }
.kn-layar:has(.kn-ruang.layar) header span { font-size: 1.7cqh; }
.kn-ruang.tegak.layar { height: 82cqh; width: auto; max-width: 94cqw; aspect-ratio: 1 / 2; background: #2a1f14; border-color: #5a4630; border-width: .3cqh; border-radius: 1.4cqh; grid-template-rows: 6% 1fr; }
.kn-ruang.tegak.layar .kn-stage { background: #3a2914; font-size: 1.8cqh; }
.kn-ruang.tegak.layar .kn-denah { padding: 1.4cqh; gap: 1.2cqh; }
.kn-ruang.tegak.layar .kn-meja { border-width: .35cqh; border-radius: 1.2cqh; }
.kn-ruang.tegak.layar .kn-no { padding: .5cqh 1cqh; font-size: 1.5cqh; }
.kn-ruang.tegak.layar .kn-teks { padding: 1cqh 1.2cqh; gap: .5cqh; }
.kn-ruang.tegak.layar .kn-meja strong { font-size: 1.9cqh; line-height: 1.15; }
.kn-ruang.tegak.layar .kn-meja em { font-size: 1.7cqh; }
/* Toggle layout denah kursi di LED: tumpuk vertikal */
.page-kursi-led .led-lay { flex-direction: column; }
.page-kursi-led .led-lay a { text-align: center; }
.kn-ruang.tegak.layar .kn-denah { grid-template-rows: repeat(var(--lajur), minmax(0, 1fr)); }
.kn-ruang.tegak.layar .kn-meja { min-height: 0; overflow: hidden; }
.kn-ruang.tegak.layar .kn-meja strong { font-size: 1.62cqh; line-height: 1.12; }
.kn-ruang.tegak.layar .kn-meja em { font-size: 1.5cqh; }
.kn-ruang.tegak.layar .kn-no { font-size: 1.35cqh; padding: .4cqh 1cqh; }
.kn-ruang.tegak.layar .kn-teks { padding: .8cqh 1cqh; gap: .4cqh; }
/* Teks meja konsultasi memenuhi kotak: ukuran huruf dicari oleh skrip (kn_fit) */
.kn-ruang .kn-meja { display: flex; flex-direction: column; }
.kn-ruang .kn-teks { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: .35em; overflow: hidden; padding: 3% 5%; font-size: 14px; }
.kn-ruang .kn-teks strong { font-size: 1em !important; line-height: 1.15 !important; }
.kn-ruang .kn-teks em { font-size: .85em !important; line-height: 1.15; }
.harta-fokus { margin: 22px 0 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.harta-fokus h2 { margin: 0 0 4px; }
.hf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 12px 0; }
.hf-kol { display: grid; gap: 6px; align-content: start; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px; }
.hf-kol label { font-weight: 700; font-size: 14px; }
.hf-kol select, .hf-kol textarea { width: 100%; }
@media (max-width: 640px) { .hf-grid { grid-template-columns: 1fr; } }
.kg-box { position: relative; }
.kg-box > strong, .kg-box > span, .kg-box > em { position: relative; z-index: 1; }
.kg-sekat { position: absolute; inset: 0 -2px -2px 0; display: grid; grid-template-columns: repeat(var(--w), 1fr); grid-template-rows: repeat(var(--h), 1fr); pointer-events: none; }
.kg-sekat i { border: 0 dashed color-mix(in srgb, var(--c) 70%, #1c140c); border-width: 0 2px 2px 0; opacity: .55; }
.kg-box strong { font-size: clamp(8px, min(24cqh, 13cqw), 44px); overflow-wrap: normal; }
.kg-box span { font-size: clamp(8px, min(13cqh, 7cqw), 22px); }
.kg-box em { font-size: clamp(8px, min(12cqh, 6cqw), 20px); }
/* Responsif: tautan/label panjang tidak boleh melebarkan halaman */
.f-urungkan { min-width: 0; max-width: 100%; }
.f-urungkan .btn { white-space: normal; text-align: left; max-width: 100%; }
li a[target="_blank"], .wrap li strong { overflow-wrap: anywhere; }
.f-urungkan .btn { display: inline-block; }
.f-urungkan .btn svg { display: inline; vertical-align: -3px; margin-right: 6px; }
/* Layar LED di HP: nav lebih kecil dan bisa turun baris, teks tidak terpotong */
@media (max-width: 700px) {
  .led-lay, .page-kursi-led .led-lay { left: 8px; right: 8px; bottom: 8px; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; border-radius: 12px; }
  .led-lay a { padding: 8px 12px; font-size: 14px; flex: 1 1 auto; text-align: center; }
  .hl-kosong, .hl-kosong small, .hl-kosong a { overflow-wrap: anywhere; max-width: 100%; font-size: 18px; }
  .hl-foot { font-size: 14px; }
}
/* Cetak QR: A4 portrait, 2 kartu A5 landscape */
.page-qrc { background: #ddd; }
.qc-help { max-width: 210mm; margin: 12px auto; padding: 0 12px; }
.qc-a4 { width: 210mm; height: 297mm; margin: 0 auto 20px; background: #f4ede0; display: grid; grid-template-rows: 1fr 0 1fr; position: relative; box-shadow: 0 1px 8px rgba(0, 0, 0, .3); }
.qc { display: grid; grid-template-columns: 42% 1fr; min-height: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.qc-kiri { background: #271d13; color: #f4ede0; padding: 9mm 8mm; display: flex; flex-direction: column; gap: 3mm; }
.qc-logo { width: 34mm; background: #f4ede0; border-radius: 3mm; padding: 2mm 3mm; box-sizing: border-box; align-self: flex-start; }
.qc-kick { margin: 8mm 0 0; font-size: 7.5pt; letter-spacing: .16em; color: #d9b67c; font-weight: 600; }
.qc-kiri h2 { margin: 0; font-size: 20pt; line-height: 1.12; font-weight: 800; }
.qc-sub { margin: 0; font-size: 8.5pt; opacity: .85; }
.qc-kiri ol { list-style: none; margin: auto 0 0; padding: 4mm 0 0; border-top: 1px solid #8a6f4a; display: grid; gap: 2.5mm; counter-reset: s; }
.qc-kiri li { counter-increment: s; font-size: 8pt; line-height: 1.35; padding-left: 7mm; position: relative; }
.qc-kiri li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 4.8mm; height: 4.8mm; border-radius: 50%; background: #d9b67c; color: #271d13; font-weight: 800; font-size: 7pt; display: grid; place-items: center; }
.qc-kanan { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4mm; padding: 8mm; text-align: center; color: #5a4630; }
.qc-ajak { margin: 0; font-size: 11pt; line-height: 1.35; }
.qc-ajak b { color: #8a5a1c; }
.qc-qr { padding: 3mm; background: #fff; border: 1.2mm solid #d9b67c; border-radius: 6mm; }
.qc-qr .qr { width: 62mm; border: 0; border-radius: 0; }
.qc-url { margin: 0; font-weight: 800; font-size: 9.5pt; color: #8a5a1c; }
.qc-bantu { margin: 0; font-size: 7.5pt; }
.qc-potong { position: relative; border-top: 1px dashed #8a7a64; height: 0; }
.qc-potong span { position: absolute; right: 8mm; top: -6px; background: #f4ede0; padding: 0 6px; font-size: 6.5pt; color: #8a7a64; }
@media print { .page-qrc { background: #fff; } .qc-a4 { margin: 0; box-shadow: none; } }
/* PDF hasil 6 Harta */
.page-hpdf { background: #ddd; color: #271d13; }
.hp-help { max-width: 210mm; margin: 12px auto; padding: 0 12px; }
.hp-pg { position: relative; width: 210mm; height: 297mm; margin: 0 auto 16px; background: #fff; padding: 12mm 14mm; box-sizing: border-box; box-shadow: 0 1px 8px rgba(0,0,0,.3); overflow: hidden; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.hp-kop { display: flex; align-items: center; gap: 4mm; border-bottom: 2px solid #d9b67c; padding-bottom: 3mm; }
.hp-kop img { height: 11mm; }
.hp-kop b { display: block; font-size: 10pt; }
.hp-kop span { font-size: 8.5pt; color: #6b5a44; }
.hp-pg h1 { margin: 5mm 0 1mm; font-size: 17pt; text-align: center; }
.hp-pg h1 small { font-weight: 600; font-size: 11pt; color: #6b5a44; }
.hp-pg h2 { font-size: 11.5pt; margin: 5mm 0 1.5mm; color: #8a5a1c; border-bottom: 1px solid #e7d9bd; padding-bottom: 1mm; }
.hp-pg p, .hp-pg li { font-size: 9.5pt; line-height: 1.45; }
.hp-id { text-align: center; margin: 0 0 2mm; color: #6b5a44; }
.hp-atas { display: grid; grid-template-columns: 112mm 1fr; gap: 4mm; align-items: center; }
.roda { width: 106mm; height: auto; }
.rw-ring { fill: #fffdf8; stroke: #8a7a64; stroke-width: 1; }
.rw-g { fill: none; stroke: #d9cdb6; stroke-width: .8; stroke-dasharray: 3 3; }
.rw-sp { stroke: #271d13; stroke-width: 1; }
.rw-n { font-size: 8px; fill: #6b5a44; }
.rw-l { font-size: 13px; font-weight: 800; fill: #271d13; }
.rw-v { font-size: 9px; font-weight: 800; fill: #fff; }
.rw-area { fill: rgba(212,160,72,.38); stroke: #b47a1e; stroke-width: 2.5; }
.rw-prev { fill: none; stroke: #6b5a44; stroke-width: 1.5; stroke-dasharray: 5 4; }
.rw-dot { fill: #8a5a1c; }
.hp-ring { display: grid; gap: 2.5mm; }
.hp-k { border: 1px solid #e7d9bd; border-radius: 2.5mm; padding: 2mm 3mm; background: #faf5ea; }
.hp-k span { display: block; font-size: 7.5pt; letter-spacing: .08em; text-transform: uppercase; color: #6b5a44; }
.hp-k b { font-size: 12pt; }
.hp-k small { display: block; font-size: 7.5pt; color: #6b5a44; }
.hp-leg { font-size: 8pt !important; }
.hp-leg i { display: inline-block; width: 9mm; height: 0; border-top: 2.5px solid #b47a1e; vertical-align: middle; margin: 0 1.5mm 0 3mm; }
.hp-leg i.b { border-top: 1.5px dashed #6b5a44; }
.hp-tb { width: 100%; border-collapse: collapse; margin-top: 4mm; font-size: 9.5pt; }
.hp-tb th { text-align: left; font-size: 8pt; color: #6b5a44; border-bottom: 1px solid #271d13; padding: 1mm 2mm; }
.hp-tb td { padding: 1.4mm 2mm; border-bottom: 1px solid #eadfc9; }
.hp-bar { width: 38mm; }
.hp-bar div { height: 3mm; background: #eadfc9; border-radius: 2mm; overflow: hidden; }
.hp-bar i { display: block; height: 100%; background: #b47a1e; }
.hp-fokus { width: 100%; border-collapse: collapse; margin-top: 5mm; table-layout: fixed; }
.hp-fokus th { border: 1px solid #271d13; padding: 2mm; font-size: 10.5pt; }
.hp-fokus td { border: 1px solid #271d13; padding: 2mm 3mm; vertical-align: top; font-size: 9.5pt; }
.hp-tind { height: 34mm; }
.hp-tind span { display: block; font-weight: 800; text-align: center; font-size: 8.5pt; margin-bottom: 2mm; }
.hp-int { margin: 0 0 2.5mm; }
.hp-int b { font-size: 9.5pt; }
.hp-int em { font-style: normal; font-weight: 600; color: #8a5a1c; font-size: 8.5pt; }
.hp-int p { margin: .5mm 0 0; }
.hp-nice { margin: 0; padding-left: 5mm; }
.hp-nice li { margin-bottom: 1.5mm; }
.hp-muted { color: #6b5a44; }
.hp-foot { position: absolute; left: 14mm; right: 14mm; bottom: 7mm; display: grid; gap: .6mm; justify-items: center; text-align: center; font-size: 7pt; line-height: 1.35; color: #8a7a64; border-top: 1px solid #e7d9bd; padding-top: 2mm; }
.hp-foot b { color: #6b5a44; font-size: 7.5pt; }
@media print { .page-hpdf { background: #fff; } .hp-pg { margin: 0; box-shadow: none; page-break-after: always; break-after: page; } .hp-pg:last-of-type { page-break-after: auto; break-after: auto; } }
.harta-steps { list-style: none; margin: 0 0 6px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.harta-steps li { display: grid; justify-items: center; gap: 4px; text-align: center; font-size: 12.5px; color: var(--ink-3); }
.harta-steps b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--ink-2); font-size: 13px; }
.harta-steps b svg { width: 15px; height: 15px; }
.harta-steps .now { color: var(--ink); font-weight: 700; }
.harta-steps .now b { background: var(--bronze); color: #fff; }
.harta-steps .done b { background: #2f7d4a; color: #fff; }
.hs-note { text-align: center; margin: 0 0 12px; font-size: 13px; }
.harta-unduh { margin: 18px 0 8px; padding: 14px; border: 1px dashed var(--line-2); border-radius: var(--r-sm); }
.harta-unduh.ok { border-style: solid; border-color: #2f7d4a; background: color-mix(in srgb, #2f7d4a 8%, transparent); }
.harta-unduh p { margin: 0 0 6px; }
.harta-unduh svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 6px; }
@media (max-width: 480px) { .harta-steps { grid-template-columns: repeat(2, 1fr); } }
/* Layar LED mode nama: nama besar, tebal, tiap kata satu baris, memenuhi kotak kursi */
.kr-led .ks { padding: 4px; justify-content: center; overflow: hidden; }
.kr-led .ks-n { display: block; width: min-content; max-width: 100%; margin: 0 auto; font-size: 21px; font-weight: 800; line-height: 1.05; text-align: center; overflow-wrap: normal; }
.kr-led .ks-no { font-size: 11px; }
.kg-box { padding: 3px 2px; }
.kg-box strong { max-width: 100%; }
.kr-led .ks-no { display: none; }
.kr-led .kg-box { justify-content: center; align-items: center; text-align: center; }
.kr-led .kg-box strong { font-size: 1em; line-height: 1.05; }
.kr-led .kg-box span { font-size: .5em; }
.kr-led .kg-box em { font-size: .45em; line-height: 1.1; }
/* Layar LED meja konsultasi: arah denah tetap (panggung di atas, meja 1-2 paling depan) tapi memenuhi lebar layar supaya teks besar dari jauh */
.kn-ruang.tegak.layar { width: 96cqw; max-width: none; height: 84cqh; aspect-ratio: auto; grid-template-rows: 8% 1fr; }
.kn-ruang.tegak.layar .kn-stage { font-size: 2.6cqh; letter-spacing: .5em; }
.kn-ruang.tegak.layar .kn-denah { gap: 1.4cqh 1.2cqw; padding: 1.4cqh 1.2cqw; }
.kn-ruang.tegak.layar .kn-meja { flex-direction: row; align-items: stretch; border-width: .4cqh; border-radius: 1.4cqh; }
.kn-ruang.tegak.layar .kn-no { width: 15%; flex: none; align-self: stretch; display: grid; place-items: center; padding: 0; border-radius: 0; font-size: 3.4cqh; line-height: 1.05; letter-spacing: .06em; text-align: center; white-space: normal; border-bottom-right-radius: 0; }
.kn-ruang.tegak.layar .kn-teks { padding: 1cqh 1.6cqw; text-align: left; }
.kn-layar:has(.kn-ruang.layar) header h1 { font-size: 5cqh; }
.kn-ruang.tegak.layar { grid-template-rows: 8% minmax(0, 1fr); }
.kn-ruang.tegak.layar .kn-denah { min-height: 0; grid-template-rows: repeat(var(--lajur), minmax(0, 1fr)); }
.kn-ruang.tegak.layar .kn-meja { min-height: 0; overflow: hidden; }
@media (max-width: 700px) {
  .kn-ruang.tegak.layar .kn-no { width: 24px; font-size: 11px; writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: .1em; }
}
/* Layar live Investasi Iman: dioptimalkan untuk videotron, huruf lebih besar dan tebal, bidang 2 kolom supaya muat tanpa gulir */
@media (min-width: 901px) {
  .lv { --lv-fit: clamp(11px, min(1.4cqw, 2.2cqh), 56px); }
  .lv-head h1 { font-size: 2.6em; font-weight: 800; }
  .lv-head p { font-size: 1.1em; font-weight: 600; color: rgba(244, 238, 227, .9); }
  .lv-conn { font-weight: 750; color: rgba(244, 238, 227, .85); font-size: 1em; }
  .lv-zoom button { font-weight: 800; }
  .lv-t p { font-weight: 800; font-size: 1.1em; color: rgba(244, 238, 227, .92); }
  .lv-t strong { font-weight: 800; }
  .lv-sub { font-weight: 700; color: rgba(244, 238, 227, .85); }
  .lv-left h2, .lv-feed h2, .lv-bidang h2 { font-weight: 800; font-size: 1.5em; }
  .lv-bidang h2 small { font-weight: 600; font-size: .6em; color: rgba(244, 238, 227, .7); }
  .lv-bidang { overflow: visible; }
  .lv-bidang ol { grid-template-columns: 1fr 1fr; gap: .5em .9em; }
  .lv-bidang button { grid-template-columns: 1fr auto; grid-template-areas: "l n" "bar bar"; gap: .35em .6em; padding: .55em .8em; font-size: 1.15em; font-weight: 750; color: #f4eee3; background: rgba(244, 238, 227, .05); border-color: rgba(244, 238, 227, .08); }
  .b-l { grid-area: l; } .b-n { grid-area: n; font-size: 1.3em; color: var(--gold); } .b-bar { grid-area: bar; height: .75em; background: rgba(244, 238, 227, .14); }
  .lv-qr p { font-weight: 700; font-size: 1.15em; color: #f4eee3; }
  .lv-qr .qr { flex-basis: 8em; width: 8em; }
  .lv-feed ol { grid-template-columns: repeat(auto-fill, minmax(17em, 1fr)); gap: .8em; }
  .lv-feed li { padding: .8em 1em; background: rgba(244, 238, 227, .09); }
  .lv-feed strong { font-size: 1.6em; font-weight: 800; }
  .lv-tags i { font-size: 1.05em; font-weight: 650; color: #f4eee3; background: rgba(244, 238, 227, .15); }
  .lv-tags i.d { font-weight: 750; }
  .lv-empty { font-weight: 650; color: rgba(244, 238, 227, .8); font-size: 1.2em; }
}
@media (min-width: 901px) {
  .lv-head .lv-qr { margin-left: auto; padding: .5em .9em .5em .5em; }
  .lv-head .lv-qr .qr { flex-basis: 5.6em; width: 5.6em; }
  .lv-head .lv-qr p { font-size: 1em; }
  .lv-head .lv-tools { margin-left: 1.2em; flex-direction: column; align-items: flex-end; gap: .5em; }
  .lv-bidang button { padding: .4em .8em; font-size: 1.1em; }
  .lv-bidang ol { gap: .45em .8em; }
}
/* Table Talk LED: kalimat ajakan dan keterangan blok besar dan tebal supaya terbaca dari jauh */
.kn-layar:has(.kn-ruang.layar) header { display: grid; justify-items: center; gap: .6cqh; }
.kn-layar:has(.kn-ruang.layar) header p { font-size: 2cqh; font-weight: 800; letter-spacing: .3em; }
.kn-layar:has(.kn-ruang.layar) header h1 { font-size: 6.2cqh; }
.kn-layar:has(.kn-ruang.layar) .kn-ajak { font-size: 3.4cqh; font-weight: 800; opacity: 1; color: #f4eee3; line-height: 1.15; }
.kn-layar:has(.kn-ruang.layar) .kn-ket { font-size: 2.9cqh; font-weight: 650; color: #1c140c; background: #d9b67c; padding: .5cqh 2.2cqw; border-radius: 99px; line-height: 1.2; }
.kn-layar:has(.kn-ruang.layar) .kn-ket b { font-weight: 850; }
.kn-ruang.tegak.layar { height: 72cqh; }
@media (max-width: 700px) {
  .kn-layar:has(.kn-ruang.layar) .kn-ajak { font-size: 15px; }
  .kn-layar:has(.kn-ruang.layar) .kn-ket { font-size: 13px; padding: 4px 12px; }
  .kn-layar:has(.kn-ruang.layar) header p { font-size: 11px; }
  .kn-layar:has(.kn-ruang.layar) header h1 { font-size: 30px; }
  .kn-ruang.tegak.layar { height: 80cqh; }
}
.lv-demo { background: #c0392b; color: #fff; padding: .1em .6em; border-radius: 99px; font-size: .8em; font-weight: 800; letter-spacing: .06em; }
@media (min-width: 901px) {
  .lv-head { flex-wrap: nowrap; gap: 1em; }
  .lv-head h1 { font-size: 2.2em; }
  .lv-head p { font-size: 1em; }
  .lv-head .lv-qr { padding: .4em .8em .4em .4em; }
  .lv-head .lv-qr .qr { flex-basis: 4.6em; width: 4.6em; }
  .lv-head .lv-tools { flex-direction: row; margin-left: .8em; }
  .lv-t { padding: .7em 1em; }
  .lv-t strong { font-size: 2.2em; }
  .lv-t-main strong { font-size: min(2.9em, 10.5cqw); }
  .lv-bidang button { padding: .3em .7em; }
  .lv-demo { display: inline-block; margin-top: .2em; }
}
@media (min-width: 901px) {
  .lv-feed strong { font-size: 1.95em; }
  .lv-tags i { font-size: 1.2em; }
  .lv-feed ol { grid-template-columns: repeat(auto-fill, minmax(19em, 1fr)); }
  .lv-left h2, .lv-feed h2 { font-size: 1.7em; }
}
.led { position: relative; }
.led-logo { position: absolute; top: 1.6cqh; left: 1.6cqw; height: 6.5cqh; width: auto; z-index: 6; pointer-events: none; filter: brightness(2.1) saturate(.75); }
@media (max-width: 700px) { .led-logo { height: 26px; top: 8px; left: 8px; } }
.hl-head { padding-left: 13cqw; }
@media (max-width: 700px) { .hl-head { padding-left: 0; padding-top: 28px; } }
/* ---------- Animasi layar live Investasi Iman ---------- */
.od-d { display: inline-block; height: 1.12em; overflow: hidden; vertical-align: top; line-height: 1.12; }
.od-s { display: flex; flex-direction: column; transition: transform 1.8s cubic-bezier(.16, .84, .24, 1); will-change: transform; }
.od-s i { display: block; height: 1.12em; line-height: 1.12; font-style: normal; text-align: center; }
.od-c { display: inline-block; line-height: 1.12; }
.lv-t-main { position: relative; overflow: hidden; }
.lv-t-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 224, 160, .18) 50%, transparent 65%); transform: translateX(-120%); animation: sapu 7s ease-in-out 2s infinite; pointer-events: none; }
@keyframes sapu { 0% { transform: translateX(-120%); } 30%, 100% { transform: translateX(120%); } }
.lv-head, .lv-t, .lv-bidang h2, .lv-feed-head { animation: naikMasuk .8s var(--ease, cubic-bezier(.23, 1, .32, 1)) both; }
.lv-t:nth-child(1) { animation-delay: .15s; }
.lv-t:nth-child(2) { animation-delay: .3s; }
.lv-t:nth-child(3) { animation-delay: .45s; }
.lv-t:nth-child(4) { animation-delay: .6s; }
.lv-bidang h2, .lv-feed-head { animation-delay: .5s; }
@keyframes naikMasuk { from { opacity: 0; transform: translateY(1.4em); } to { opacity: 1; transform: none; } }
.lv-bidang li button.in { animation: dariKiri .7s var(--ease, cubic-bezier(.23, 1, .32, 1)) both; animation-delay: calc(.6s + var(--i, 0) * 70ms); }
@keyframes dariKiri { from { opacity: 0; transform: translateX(-2em); } to { opacity: 1; transform: none; } }
.lv-bidang button.naik { animation: naikKilat 1.6s ease-out; }
@keyframes naikKilat { 0% { background: rgba(217, 182, 124, .6); transform: scale(1.04); } 100% { background: rgba(244, 238, 227, .05); transform: none; } }
.b-bar i { background: linear-gradient(90deg, #c9a05a, #f0cf8a, #c9a05a); background-size: 200% 100%; animation: kilau 3.5s linear infinite; }
@keyframes kilau { to { background-position: -200% 0; } }
.lv-feed li.in { animation: naikMasuk .7s var(--ease, cubic-bezier(.23, 1, .32, 1)) both; animation-delay: calc(.9s + var(--i, 0) * 90ms); }
.lv-conn.ok i { animation: denyut 1.8s ease-in-out infinite; }
@keyframes denyut { 0%, 100% { box-shadow: 0 0 0 .28em rgba(127, 194, 142, .18); } 50% { box-shadow: 0 0 0 .6em rgba(127, 194, 142, .02); } }
.lv-logo { animation: melayang 6s ease-in-out infinite; }
@keyframes melayang { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.25em); } }
.lv-toast { position: absolute; left: 50%; bottom: 7cqh; z-index: 30; transform: translateX(-50%); min-width: 22em; max-width: 70%; text-align: center; padding: 1em 2.2em 1.1em; border-radius: 1.2em; color: #1c140c; background: linear-gradient(135deg, #f6dca2, #d9b67c 55%, #f0cf8a); box-shadow: 0 1.2em 3em rgba(0, 0, 0, .6), 0 0 0 .2em rgba(255, 236, 190, .55); animation: toastMasuk .75s cubic-bezier(.2, 1.4, .4, 1) both; }
.lv-toast.out { animation: toastKeluar .6s cubic-bezier(.5, 0, .9, .4) forwards; }
.lv-toast-k { margin: 0; font-size: 1.1em; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.lv-toast strong { display: block; font-size: 2.6em; font-weight: 850; line-height: 1.1; margin: .1em 0; overflow-wrap: anywhere; }
.lv-toast span { font-size: 1.3em; font-weight: 750; }
.lv-toast-sp { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.lv-toast-sp b { position: absolute; width: .7em; height: .7em; margin: -.35em; border-radius: 50%; background: #fff3cf; box-shadow: 0 0 .6em #ffd27a; opacity: 0; animation: percik 1.2s ease-out forwards; animation-delay: calc(.2s + var(--d)); }
@keyframes percik { 0% { opacity: 1; transform: rotate(var(--a)) translateY(0) scale(1); } 100% { opacity: 0; transform: rotate(var(--a)) translateY(calc(-1 * var(--r) * 1.6)) scale(.3); } }
@keyframes toastMasuk { from { opacity: 0; transform: translateX(-50%) translateY(3em) scale(.7); } to { opacity: 1; transform: translateX(-50%) none; } }
@keyframes toastKeluar { to { opacity: 0; transform: translateX(-50%) translateY(-2em) scale(.9); } }
@media (max-width: 900px) { .lv-toast { min-width: 0; width: 88%; bottom: 3vh; position: fixed; } .lv-toast strong { font-size: 1.8em; } }
/* Toast pengisi baru: teks metalik mengilap + kilau menyapu + bintang berkelip */
.lv-toast { overflow: hidden; background: linear-gradient(135deg, #fbe6b0 0%, #e2bd78 35%, #f7dc9c 55%, #c99a4c 100%); }
.lv-toast::after { content: ""; position: absolute; top: -20%; bottom: -20%; width: 30%; left: 0; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent); transform: translateX(-150%) skewX(-18deg); animation: kilauToast 2.4s ease-in-out .5s infinite; pointer-events: none; }
@keyframes kilauToast { 0% { transform: translateX(-150%) skewX(-18deg); } 55%, 100% { transform: translateX(450%) skewX(-18deg); } }
.lv-toast-k, .lv-toast strong { background: linear-gradient(100deg, #2e1f08 0%, #6b4510 36%, #fff3c4 46%, #8a5a18 52%, #2e1f08 75%, #5a3a0c 100%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: kilapTeks 2.4s linear infinite; filter: drop-shadow(0 .04em 0 rgba(255, 244, 205, .7)); opacity: 1; }
.lv-toast-k { text-shadow: none; }
@keyframes kilapTeks { from { background-position: 130% 0; } to { background-position: -130% 0; } }
.lv-toast span { color: #3a2608; text-shadow: 0 1px 0 rgba(255, 244, 205, .7); }
.lv-toast-st { position: absolute; inset: 0; pointer-events: none; }
.lv-toast-st u { position: absolute; width: .9em; height: .9em; transform: scale(0); background: radial-gradient(circle, #fff 0 12%, rgba(255, 255, 255, 0) 60%); animation: kerlip 1.6s ease-in-out infinite; animation-delay: var(--d); }
.lv-toast-st u::before, .lv-toast-st u::after { content: ""; position: absolute; left: 50%; top: 50%; background: #fff; border-radius: 2px; transform: translate(-50%, -50%); }
.lv-toast-st u::before { width: 100%; height: 2px; }
.lv-toast-st u::after { width: 2px; height: 100%; }
@keyframes kerlip { 0%, 100% { transform: scale(0) rotate(0); opacity: 0; } 50% { transform: scale(var(--s, 1)) rotate(45deg); opacity: 1; } }
.seg { display: inline-flex; gap: 0; }
.seg .btn:first-child { border-radius: 8px 0 0 8px; }
.seg .btn:last-child { border-radius: 0 8px 8px 0; margin-left: -1px; }
/* Denah kursi admin dalam tampilan kelompok (sama dengan layar LED) */
#kursi-main .kg-box { min-height: 0; }
#kursi-main .kr-grid-grup { grid-auto-rows: 74px; }
/* Layar 6 Harta: tenang. Pop up sederhana tanpa kilau, tanpa animasi tambahan di judul, bar, dan radar */
.led > .lv-toast { font-size: clamp(14px, 2.2cqh, 42px); }
.lv-toast.tenang { background: #efe3c8; box-shadow: 0 .8em 2em rgba(0, 0, 0, .5); animation-duration: .5s; }
.lv-toast.tenang::after { display: none; }
.lv-toast.tenang .lv-toast-k, .lv-toast.tenang strong { background: none; -webkit-text-fill-color: #1c140c; color: #1c140c; animation: none; filter: none; }
.lv-toast.tenang .lv-toast-k { opacity: .75; }
.lv-toast.tenang strong { font-size: 2.2em; }
.hl-radar .rd-lbl { font-weight: 800; fill: #f4eee3; }
.hl-foot { font-weight: 650; opacity: .95; }
/* Logo CBC kiri atas layar kursi: denah dimulai di bawah logo */
.led .kr-led { margin-top: 8.5cqh; height: calc(100% - 8.5cqh); }
/* Topbar HP: logo lebih besar, nama event tidak dipecah per kata, pill nama di kanan */
.topbar-label { flex: 1; min-width: 0; }
@media (max-width: 560px) {
  .brand img { width: 120px; }
  .topbar-label { display: none; }
  .topbar-user { margin-left: auto; max-width: 62vw; }
}
.harta-steps li { align-content: start; }
/* 6 Harta HP: tombol kembali sebagai pill, langkah jadi daftar vertikal, catatan PDF dipisah */
.wrap > .back { margin: 14px 0 18px; }
.wrap > .back a { padding: 0 16px 0 12px; min-height: 40px; border-radius: 99px; background: var(--paper-2); }
.hs-note { margin: 14px 0 22px; padding: 10px 14px; border-left: 3px solid var(--bronze); background: var(--paper-2); border-radius: 0 10px 10px 0; font-size: 14px; text-align: left; }
@media (max-width: 480px) {
  .harta-steps { grid-template-columns: 1fr; gap: 10px; }
  .harta-steps li { grid-template-columns: 28px 1fr; justify-items: start; align-items: center; gap: 12px; text-align: left; font-size: 15px; }
}
/* QR brand di layar: header Investasi Iman, header 6 Harta, dan layar QR penuh */
.hl-qr { position: absolute; top: 2cqh; right: 2cqw; z-index: 6; display: flex; align-items: center; gap: 1.2cqw; padding: 1cqh 1.2cqw; border-radius: 1.4cqh; background: rgba(244, 238, 227, .06); border: 1px solid rgba(244, 238, 227, .1); }
.hl-qr .qr { width: 11cqh; height: 11cqh; border: 0; background: transparent; }
.hl-qr .qr canvas { width: 100%; height: 100%; display: block; }
.hl-qr p { margin: 0; font-size: 3cqh; line-height: 1.35; font-weight: 650; color: #f4eee3; }
.hl-qr strong { display: block; color: #d9a441; overflow-wrap: anywhere; }
.lv-qr .qr { background: transparent; }
.lv-qr .qr canvas { width: 100%; height: auto; display: block; }
.qs { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 5cqw; padding: 10cqh 6cqw 6cqh 13cqw; color: #f4eee3; }
.qs-kick { margin: 0 0 1.5cqh; font-size: 2.8cqh; letter-spacing: .12em; text-transform: uppercase; opacity: .7; font-weight: 650; }
.qs h1 { margin: 0; font-size: 9cqh; line-height: 1.05; font-weight: 800; }
.qs-ajak { margin: 3cqh 0 0; font-size: 4.6cqh; font-weight: 700; color: #d9a441; }
.qs-langkah { margin: 1.5cqh 0 0; font-size: 3cqh; opacity: .85; }
.qs-url { margin: 4cqh 0 0; display: inline-block; padding: 1.2cqh 2cqw; border-radius: 99px; background: rgba(244, 238, 227, .1); font-size: 3.4cqh; font-weight: 700; overflow-wrap: normal; font-size: 3cqh; }
.qs-qr .qr { width: 72cqh; height: 72cqh; border: 0; background: transparent; }
.qs-qr .qr canvas { width: 100%; height: 100%; display: block; }
@media (max-width: 700px) { .qs { grid-template-columns: 1fr; padding: 90px 20px 30px; position: static; } .qs h1 { font-size: 34px; } .qs-qr .qr { width: min(80vw, 360px); height: min(80vw, 360px); } .hl-qr { display: none; } }
/* Teks panjang (URL, nama) membungkus di dalam kartu, tidak menembus ke luar atau melebarkan halaman */
.panel, .link-grid > *, .page-head > * { min-width: 0; overflow-wrap: anywhere; }
.panel ul.plain li, .panel li a { overflow-wrap: anywhere; }
.link-grid textarea { max-width: 100%; }
.link-grid .exports + .muted { margin-top: 14px; }
/* ---------- Fondasi HP: layar lipat, notch, HP kecil, mode hemat ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
a, button, label, summary, input, select, textarea { touch-action: manipulation; }
body:not(.live):not(.page-layar) { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
.wrap { padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
input, select, textarea { font-size: max(16px, 1em); }
/* iOS tidak perbesar layar saat mengetik */
@media (max-width: 340px) { /* Galaxy Fold sampul (280px) dan HP sangat kecil */
  .wrap { padding-left: 12px; padding-right: 12px; }
  .topbar { padding: 8px 12px; gap: 8px; }
  .brand img { width: 96px; }
  .topbar-user { max-width: 56vw; font-size: 12.5px; padding: 4px 10px; }
  h1 { font-size: clamp(22px, 8vw, 28px); }
  .panel { padding-left: 14px; padding-right: 14px; }
  .btn { padding-left: 14px; padding-right: 14px; }
  .exports { gap: 6px; }
}
@media (min-width: 700px) and (max-width: 1100px) and (orientation: portrait) { .wrap { max-width: 680px; } }
/* Fold dibuka, tablet tegak */
/* Mode hemat (HP lemah / Save-Data): tanpa blur, bayangan ringan, animasi berulang dimatikan */
.lite *, .lite *::before, .lite *::after { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; animation-iteration-count: 1 !important; text-shadow: none !important; }
.lite .panel, .lite .toast, .lite .btn { box-shadow: none; }
.lite * { scroll-behavior: auto !important; }
@media (prefers-reduced-data: reduce) { .lite-img { display: none; } }
.kr-set label, .kr-set select, .kr-set input { max-width: 100%; min-width: 0; }
.bidang > *, .link-grid > * { min-width: 0; }
@media (max-width: 700px) { .lv-qr { flex-wrap: wrap; max-width: 100%; box-sizing: border-box; } }
.kr-set label { grid-template-columns: minmax(0, 1fr); }
/* Layar videotron Evaluasi Sesi */
@keyframes ev-in { from { opacity: 0; transform: translateY(2cqh); } to { opacity: 1; transform: none; } }
@keyframes ev-naik { 0% { box-shadow: 0 0 0 0 rgba(217, 164, 65, .8); transform: scale(1); } 20% { transform: scale(1.025); } 100% { box-shadow: 0 0 0 2.4cqh rgba(217, 164, 65, 0); transform: scale(1); } }
/* Terima kasih setelah evaluasi terkirim + bintang yang memantul */
.mthanks { position: fixed; inset: 0; z-index: 190; display: grid; place-items: center; padding: 24px; background: color-mix(in srgb, var(--paper) 97%, transparent); text-align: center; cursor: pointer; }
.mthanks .mchk { width: 84px; height: 84px; stroke: var(--ok); }
.mt-k { margin-top: 10px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bronze); }
.mt-n { margin-top: 6px; font-size: clamp(24px, 7vw, 32px); font-weight: 800; color: var(--bronze-3); line-height: 1.15; }
.mt-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.mt-dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--line); }
.mt-dots i.on { background: var(--gold); box-shadow: 0 0 0 3px rgba(217, 182, 124, .35); }
.mt-s { margin-top: 12px; font-size: 15px; color: var(--ink-2); font-weight: 650; }
@keyframes starpop { 0% { transform: scale(.7) rotate(-14deg); } 55% { transform: scale(1.28) rotate(6deg); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: no-preference) { .stars input:checked + label svg { animation: starpop .38s var(--ease); } }
.lite .stars input:checked + label svg { animation: none; }
/* Mode pertunjukan: dua iframe bertumpuk, saling memudar */
body.page-show { margin: 0; background: #000; overflow: hidden; }
.sh { position: fixed; inset: 0; background: #000; }
.sh-f { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 1.2s ease; background: #000; }
.sh-f.on { opacity: 1; z-index: 1; }
/* Sentuhan HP untuk admin dan fasilitator: target ketuk 40px ke atas, teks tidak lebih kecil dari 11.5px */
@media (pointer: coarse), (max-width: 700px) {
  summary { min-height: 40px; display: flex; align-items: center; cursor: pointer; }
  .chip, .ks-chip, button.pc, .seg button, .tabs a { min-height: 40px; }
  .chip, .ks-chip { display: inline-flex; align-items: center; }
  kbd { display: none; }
  .bdg { font-size: 12px; }
  .pc-role { font-size: 11.5px; }
  .kr-set .btn, .page-head .btn { min-height: 42px; }
  .link-grid textarea:not(.wa-src) { min-width: 0; width: 100%; }
}
@media (pointer: coarse), (max-width: 700px) { .seg button { min-width: 44px; } }

/* Layar videotron Evaluasi Sesi (terpadu: satu aturan per selektor) */
.ev { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 3cqh; padding: 3cqh 3.5cqw 7cqh 13cqw; color: #f4eee3; box-sizing: border-box; }
.ev .hl-head { padding-left: 0; }
.ev-total { display: flex; align-items: center; gap: 4cqw; padding: 2.4cqh 3cqw; border-radius: 2cqh; background: linear-gradient(120deg, rgba(217, 164, 65, .16), rgba(244, 238, 227, .05)); border: 1px solid rgba(217, 164, 65, .3); }
.ev-big { display: flex; align-items: baseline; gap: 1.6cqw; }
.ev-big strong { font-size: 11cqh; line-height: 1; font-weight: 800; color: #d9a441; font-variant-numeric: tabular-nums; }
.ev-big span { font-size: 3.2cqh; font-weight: 650; }
.ev-hint { margin-left: auto; text-align: right; font-size: 2.8cqh; line-height: 1.4; opacity: .9; }
.ev-hint b { font-size: 4.4cqh; color: #d9a441; }
.ev-grid { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(var(--c, 3), minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 2cqh 2cqw; }
.ev-grid li { display: flex; align-items: center; gap: 1.4cqw; padding: 1.6cqh 1.4cqw; border-radius: 2cqh; background: rgba(244, 238, 227, .06); border: 1px solid rgba(244, 238, 227, .1); min-height: 0; animation: ev-in .6s calc(var(--i) * 70ms) var(--ease) both; }
.ev-ring { position: relative; flex: 0 0 auto; height: min(100%, 15cqh); aspect-ratio: 1; display: grid; place-items: center; }
.ev-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ev-ring circle { fill: none; stroke-width: 9; }
.ev-trk { stroke: rgba(244, 238, 227, .12); }
.ev-arc { stroke: #d9a441; stroke-linecap: round; transition: stroke-dasharray 1s var(--ease); }
.ev-ring b { font-size: 3.2cqh; font-weight: 800; font-variant-numeric: tabular-nums; }
.ev-info { min-width: 0; }
.ev-info h2 { margin: 0; font-size: 3.4cqh; font-weight: 800; line-height: 1.1; }
.ev-judul { margin: .6cqh 0 0; font-size: 2.1cqh; opacity: .7; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.ev-n { margin: 1cqh 0 0; font-size: 2.4cqh; opacity: .92; }
.ev-n strong { font-size: 3.6cqh; color: #d9a441; }
.ev-lengkap { border-color: rgba(120, 190, 130, .55); background: rgba(120, 190, 130, .1); }
.ev-lengkap .ev-arc { stroke: #8fd19a; }
.ev-lengkap .ev-n strong { color: #8fd19a; }
.ev-nol { opacity: .55; }
.ev-naik { animation: ev-naik 1.2s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .ev-grid li, .ev-naik { animation: none; }
  .ev-arc { transition: none; }
}
@media (max-width: 700px) {
  .ev { position: static; padding: 90px 16px 24px; }
  .ev-total { flex-direction: column; align-items: flex-start; }
  .ev-hint { margin-left: 0; text-align: left; font-size: 15px; }
  .ev-big strong { font-size: 56px; }
  .ev-big span { font-size: 18px; }
  .ev-grid { grid-template-columns: 1fr; }
  .ev-ring { height: 84px; }
  .ev-ring b { font-size: 20px; }
  .ev-info h2 { font-size: 22px; }
  .ev-judul { font-size: 14px; }
  .ev-n { font-size: 15px; }
  .ev-n strong { font-size: 20px; }
}
@media (min-width: 701px) {
  .ev-grid li { flex-direction: column; justify-content: center; text-align: center; gap: .5cqh; padding: 1.2cqh 1cqw; overflow: hidden; }
  .ev-ring { height: min(46%, 13cqh); }
  .ev-ring b { font-size: 3.1cqh; }
  .ev-info { width: 100%; }
  .ev-info h2 { font-size: 3.1cqh; line-height: 1.12; }
  .ev-judul { -webkit-line-clamp: 1; font-size: 2cqh; min-height: 0; margin-top: .2cqh; }
  .ev { gap: 2.2cqh; }
  .ev-total { padding: 1.4cqh 3cqw; }
  .ev-big strong { font-size: 9cqh; }
  .ev-hint b { font-size: 3.8cqh; }
  .ev-hint { font-size: 2.5cqh; }
  .ev-n { margin-top: .4cqh; font-size: 2.2cqh; }
  .ev-n strong { font-size: 3.2cqh; }
}

/* Login: tiga langkah singkat */
.login-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0 4px; padding: 0; }
.login-steps li { display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--ink-2); line-height: 1.3; }
.login-steps b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bronze-tint); color: var(--bronze); font-size: 13px; }
@media (max-width: 340px) { .login-steps { grid-template-columns: 1fr; } .login-steps li { grid-template-columns: 28px 1fr; justify-items: start; text-align: left; align-items: center; gap: 10px; } }

/* Layar videotron: geser anti burn-in dan pil offline */
.led > :not(script):not(.led-off) { translate: var(--bx, 0) var(--by, 0); transition: translate 3s ease; }
.led-off { position: absolute; right: 1.5cqw; bottom: 1.5cqh; z-index: 30; padding: .8cqh 1.4cqw; border-radius: 99px; background: rgba(161, 56, 56, .92); color: #fff; font-size: 2cqh; font-weight: 700; }
.led-off[hidden] { display: none; }
.off-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 150; padding: 12px 16px; border-radius: 14px; background: var(--due); color: #fff; font-size: 14px; font-weight: 650; text-align: center; box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .4); }
.off-bar[hidden] { display: none; }
.draf-note { color: var(--ok); font-weight: 650; }

.ci-ringkas { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.ci-ringkas a { padding: 6px 12px; border-radius: 999px; background: var(--cream, #f6efe3); text-decoration: none; min-height: 36px; display: inline-flex; align-items: center; gap: 4px; }
.ci-kel { margin: 18px 0 4px; font-size: 1rem; scroll-margin-top: 70px; }
.ci-bar { height: 10px; border-radius: 999px; background: rgba(0,0,0,.08); overflow: hidden; margin-top: 8px; }
.ci-bar span { display: block; height: 100%; border-radius: inherit; background: var(--ok, #2f8f5b); transition: width .4s ease; }
@media (prefers-reduced-motion: reduce) { .ci-bar span { transition: none; } }

/* Check-in: satu layar desktop, tiga kolom (aksi, belum hadir, sudah hadir); di HP jadi tab */
.ci-head { display: grid; gap: 8px; margin: 18px 0 14px; }
.ci-head h1 { margin: 0; }
.ci-stats { display: flex; flex-wrap: wrap; gap: 8px; }
.ci-stat { padding: 6px 14px; border-radius: 999px; background: var(--paper-2, #f3ead9); }
.ci-stat strong { font-size: 1.15em; font-variant-numeric: tabular-nums; }
.ci-stat-ok { background: #e3f3e8; color: #1f5a33; }
.ci-stat-no { background: #fbeadb; color: #7a3d0c; }
.ci-bar { margin-top: 0; }
.ci-grid { display: grid; gap: 14px; }
.ci-aksi { display: grid; gap: 14px; align-content: start; min-width: 0; }
.ci-aksi > .panel { margin: 0; }
.ci-col { margin: 0; min-width: 0; }
.ci-colhead { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ci-colhead h2 { margin: 0; }
.ci-saring { flex: 1 1 140px; min-width: 0; max-width: 220px; }
.ci-tabs { display: none; }
.ci-col .plain-list li[hidden], .ci-col .ci-kel[hidden] { display: none; }
.ci-col .plain-list li { align-items: center; }
@media (max-width: 999px) {
  .ci-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 14px 0 10px; position: sticky; top: 0; z-index: 5; background: var(--paper, #fff8ec); padding: 6px 0; }
  .ci-tabs button { min-height: 44px; border-radius: 12px; border: 1px solid var(--line, #e2d6bd); background: var(--paper-2, #f3ead9); font: inherit; font-weight: 600; }
  .ci-tabs button[aria-selected="true"] { background: var(--ink, #3a2a14); color: #fff; border-color: transparent; }
  .ci-tabs button span { opacity: .8; margin-left: 4px; }
  .ci[data-tab="belum"] .ci-col-sudah, .ci[data-tab="sudah"] .ci-col-belum { display: none; }
}
@media (min-width: 1000px) {
  .wrap.wide.ci { max-width: min(1560px, 100%); }
  .ci-grid { grid-template-columns: minmax(300px, 360px) 1fr 1fr; align-items: start; }
  .ci-aksi { grid-row: 1 / span 2; grid-column: 1; position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow: auto; }
  .ci-col-belum { grid-column: 2; grid-row: 1; }
  .ci-col-sudah { grid-column: 3; grid-row: 1; }
  .ci-tabs { display: none; }
  .ci-scroll { max-height: calc(100vh - 250px); overflow: auto; padding-right: 4px; }
}
.ci-col .plain-list li { padding-block: 5px; min-height: 0; }
.ci-col .plain-list .btn-sm { min-height: 34px; padding-block: 0; }
@media (min-width: 1000px) { .ci-col .plain-list li { padding-block: 3px; } .ci-col .plain-list .btn-sm { min-height: 30px; } .ci-kel { margin-top: 12px; } }
.login-alt { text-align: center; margin: 10px 0 0; }
.login-alt .linkbtn { min-height: 44px; }
.ci-pref { display: grid; gap: 6px; margin-top: 12px; }
.ci-sw { display: flex; gap: 10px; align-items: flex-start; min-height: 36px; font-size: .92rem; }
.ci-sw input { width: 20px; height: 20px; margin-top: 2px; flex: none; }

/* Layar petugas: menunggu verifikasi dan akun cadangan */
.ci-tw { border-top: 1px solid var(--line, #e5e5e5); padding: 10px 0; }
.ci-tw form.ci-row { align-items: center; margin: 4px 0; }
.ci-akun { margin: 12px 0; padding: 10px 12px; border: 1px solid var(--line, #e5e5e5); border-radius: 10px; }
.ci-akun summary { cursor: pointer; font-weight: 600; }
.ci-akun .ci-row { margin: 8px 0; flex-wrap: wrap; }
.ci-kred code { font-size: 1.15rem; user-select: all; }

/* Check-in: peserta hasil scan tampil satu layar penuh, tombol hadir menempel di bawah */
.ci-layar { position: fixed; inset: 0; z-index: 60; background: var(--card, #fff); display: flex; flex-direction: column; }
.ci-layar .ci-card { flex: 1; overflow-y: auto; padding: 14px 16px 24px; max-width: 640px; width: 100%; margin: 0 auto; box-sizing: border-box; }
.ci-kepala { display: flex; justify-content: flex-end; }
.ci-tutup { padding: 8px 4px; font-weight: 600; text-decoration: none; }
.ci-nama { font-size: 1.75rem; line-height: 1.15; margin: 4px 0 12px; overflow-wrap: anywhere; }
.ci-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin-bottom: 12px; }
.ci-hero div { border: 1px solid var(--line, #e5e5e5); border-radius: 12px; padding: 10px 12px; }
.ci-hero span { display: block; font-size: .78rem; opacity: .7; }
.ci-hero strong { font-size: 1.15rem; }
.ci-bawah { border-top: 1px solid var(--line, #e5e5e5); background: var(--card, #fff); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); max-width: 640px; width: 100%; margin: 0 auto; box-sizing: border-box; }
.ci-bawah .btn-big { min-height: 60px; }
.ci-bawah .ci-row { align-items: center; }
.ci-bawah .ci-sudah { margin: 0 0 8px; }
@media (min-width: 700px) { .ci-layar { background: rgba(0,0,0,.45); align-items: center; justify-content: center; } .ci-layar .ci-card, .ci-bawah { background: var(--card, #fff); } .ci-layar .ci-card { flex: 0 1 auto; max-height: 78vh; border-radius: 16px 16px 0 0; } .ci-bawah { border-radius: 0 0 16px 16px; } }

.ci-hero { grid-template-columns: 1fr 1fr; }
.ci-hero .ci-hero-lebar { grid-column: 1 / -1; }
/* HP landscape / layar pendek: ringkas supaya nama, info, dan tombol hadir tetap terlihat tanpa scroll */
@media (max-height: 520px) {
  .ci-kepala { position: absolute; top: 6px; right: 12px; }
  .ci-layar .ci-card { padding: 8px 16px 12px; }
  .ci-nama { font-size: 1.35rem; margin: 0 56px 8px 0; }
  .ci-hero { grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 8px; }
  .ci-hero .ci-hero-lebar { grid-column: auto; }
  .ci-hero div { padding: 6px 10px; }
  .ci-hero strong { font-size: 1rem; }
  .ci-bawah { padding-top: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .ci-bawah .btn-big { min-height: 48px; padding: 10px; }
  .ci-layar .note { padding: 6px 10px; margin: 6px 0; font-size: .85rem; }
}

.ci-layar { z-index: 1000; }
.ci-layar .ci-card { position: relative; }
@media (max-height: 520px) { .ci-kepala { position: absolute; top: 6px; right: 14px; z-index: 1; } }
.ci-layar { z-index: 9000; }

/* Check-in fasil & pembicara */
.ci-mode { display: flex; gap: 6px; margin: 4px 0 10px; }
.ci-mode a { flex: 1; text-align: center; padding: 10px 12px; border: 1px solid var(--line, #e5e5e5); border-radius: 12px; text-decoration: none; font-weight: 600; }
.ci-mode a[aria-current="page"] { background: var(--bronze-3, #7a5a33); color: #fff; border-color: transparent; }
.stf .plain-list li { align-items: center; gap: 8px; }
.stf .stf-f { margin: 0; display: inline-flex; gap: 4px; }
.stf-bawah { position: sticky; bottom: 0; z-index: 20; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--card, #fff); border-top: 1px solid var(--line, #e5e5e5); }
.stf-bawah .btn-big { min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 8px; max-width: 640px; margin: 0 auto; }
.stf-form .ci-card input:not([type=radio]):not([type=checkbox]), .stf-form select { width: 100%; box-sizing: border-box; min-height: 48px; font-size: 1rem; }
.stf-lbl { display: block; margin: 14px 0 4px; font-weight: 600; }
.stf-seg { border: 0; padding: 0; margin: 12px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.stf-seg legend { font-weight: 600; margin-bottom: 4px; padding: 0; }
.stf-seg label { flex: 1; }
.stf-seg input { position: absolute; opacity: 0; pointer-events: none; }
.stf-seg span { display: block; text-align: center; padding: 14px 10px; border: 2px solid var(--line, #d9d2c6); border-radius: 12px; font-weight: 600; cursor: pointer; }
.stf-seg input:checked + span { background: var(--bronze-3, #7a5a33); color: #fff; border-color: transparent; }
.stf-seg input:focus-visible + span { outline: 3px solid var(--bronze-2, #b08a55); outline-offset: 2px; }
.stf-cocok { margin: 12px 0; padding: 10px 12px; border-radius: 10px; background: #fbefd2; }
.stf-cocok ul { margin: 6px 0 0; padding-left: 18px; }
.stf-cocok li.sama { color: #a33a2a; font-weight: 600; }
.stf-ok { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; font-weight: 600; }
.stf-blok[hidden], .stf-cocok[hidden] { display: none; }
@media (max-height: 520px) { .stf-form .ci-nama { font-size: 1.2rem; } .stf-seg span { padding: 8px; } .stf-lbl { margin-top: 8px; } }

.stf .plain-list li { flex-wrap: wrap; }
.stf .stf-gender { order: 3; width: 100%; display: flex; gap: 8px; }
.stf .stf-gender button { flex: 1; white-space: nowrap; min-height: 44px; }
.stf .plain-list li .btn, .stf .plain-list li .linkbtn { white-space: nowrap; }

/* Kunci kamar */
.kc-filter { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 8px; position: sticky; top: 0; z-index: 5; background: var(--paper, #fff); }
.kc-f { white-space: nowrap; padding: 8px 12px; border: 1px solid var(--line, #e5e5e5); border-radius: 99px; text-decoration: none; font-weight: 600; }
.kc-f[aria-current="page"] { background: var(--bronze-3, #7a5a33); color: #fff; border-color: transparent; }
.kc-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.kc-row { border: 1px solid var(--line, #e5e5e5); border-radius: 14px; padding: 12px; background: var(--card, #fff); scroll-margin-top: 70px; }
.kc-row[hidden] { display: none; }
.kc-judul { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.kc-kode { font-size: 1.25rem; }
.kc-chip { margin-left: auto; padding: 3px 10px; border-radius: 99px; font-size: .8rem; font-weight: 700; background: #eee; }
.kc-chip-belum { background: #fbefd2; color: #7a5a1a; } .kc-chip-pegang { background: #fadcd6; color: #a33a2a; } .kc-chip-kembali { background: #dcefd9; color: #2f6b3a; }
.kc-pegang { border-color: #e6b0a6; } .kc-kembali { border-color: #b9d8b3; }
.kc-ph { margin: 6px 0; font-size: 1.02rem; overflow-wrap: anywhere; }
.kc-nomor { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 6px 0; }
.kc-nomor label { font-size: .85rem; opacity: .75; }
.kc-nomor input { flex: 1; min-width: 90px; min-height: 44px; font-size: 1rem; box-sizing: border-box; }
.kc-ok { font-size: .85rem; } .kc-ok.ok { color: #2f6b3a; } .kc-ok.galat { color: #a33a2a; }
.kc-aksi { margin-top: 8px; display: flex; gap: 8px; align-items: center; }
.kc-aksi .btn { flex: 1; min-height: 48px; } .kc-aksi select { min-height: 48px; flex: 1; }
.kc-info { margin: 6px 0 0; }

.ci-hero a.fine { display: block; margin-top: 2px; }

.kb-saran { margin: 0 0 10px; padding: 8px 10px; border-radius: 10px; background: #fbefd2; font-size: .9rem; }
.tbl-lain .in-nama { min-width: 150px; width: 100%; box-sizing: border-box; }
.pn-dua { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pn-edit input:not([type=checkbox]), .pn-edit select, .pn-form input:not([type=radio]):not([type=checkbox]) { width: 100%; box-sizing: border-box; min-height: 48px; font-size: 1rem; }
.pn-form { max-width: 560px; }

/* Tabel kamar per kamar + rekap */
.kt-chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0; }
.kt-chip { border: 1px solid var(--line, #e5e5e5); border-radius: 14px; padding: 10px 16px; min-width: 120px; background: var(--card, #fff); }
.kt-chip span { display: block; font-size: .85rem; opacity: .75; } .kt-chip strong { font-size: 1.8rem; line-height: 1.1; } .kt-chip em { display: block; font-style: normal; font-size: .8rem; opacity: .75; }
.kt-tbl .kt-head td { background: var(--paper-2, #ece4d4); border-top: 2px solid var(--line, #d9d2c6); font-size: 1rem; }
.kt-tbl .kt-head.full td { background: #e4efe0; } .kt-tbl .kt-head.over td { background: #f6d9d3; }
.kt-tbl .kt-isi td { padding-block: 6px; }
.kt-tbl select { max-width: 200px; }
.in-nohotel { width: 110px; font-weight: 700; }
@media (max-width: 700px) { .kt-tbl thead { display: none; } .kt-tbl tr, .kt-tbl td { display: block; } .kt-tbl .kt-head { display: flex; flex-wrap: wrap; align-items: center; } .kt-tbl .kt-head td { background: transparent; border: 0; padding: 6px 8px; } .kt-tbl .kt-grup { display: block; margin-bottom: 10px; border: 1px solid var(--line, #d9d2c6); border-radius: 12px; overflow: hidden; background: var(--card, #fff); } .kt-tbl .kt-head { background: var(--paper-2, #ece4d4); } .kt-tbl .kt-isi td { padding: 4px 12px; } .kt-tbl .kt-isi select { max-width: 100%; width: 100%; min-height: 44px; } }
.pl-row[hidden] { display: none; }
.pl-form { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.pl-who { font-size: 1rem; }
.pl-form .ci-row input { flex: 1; min-width: 0; font-weight: 700; }
.ci-colhead .ci-mode { flex-wrap: wrap; }

.rl-tbl .rl-line { min-height: 36px; display: flex; align-items: center; padding: 2px 0; }
.rl-tbl .in-plat { width: 130px; font-weight: 700; }
.rl-simpan { position: sticky; bottom: 0; padding: 10px 0; background: var(--bg, var(--paper, #fff)); }
@media (max-width: 700px) { .rl-tbl thead { display: none; } .rl-tbl tr, .rl-tbl td { display: block; } .rl-tbl tr { border: 1px solid var(--line, #d9d2c6); border-radius: 12px; padding: 8px 12px; margin-bottom: 10px; background: var(--card, #fff); } .rl-tbl td::before { content: attr(data-label); display: block; font-size: .75rem; opacity: .7; } .rl-tbl .in-plat, .rl-tbl .in-nohotel { width: 100%; min-height: 44px; } }

/* Status kamar: kosong dan masih muat = hijau, penuh = merah */
.col-room.st-kosong, .col-room.st-sisa { background: color-mix(in srgb, var(--ok-tint) 70%, var(--paper-2)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ok) 35%, transparent); }
.col-room.st-penuh, .col-room.full { background: var(--due-tint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--due) 40%, transparent); }
.col-room.full header h3::after { color: var(--due); }
.kt-tbl .kt-head.st-kosong td, .kt-tbl .kt-head.st-sisa td { background: #e4efe0; }
.kt-tbl .kt-head.st-penuh td { background: #f6d9d3; }
option.op-kosong, option.op-sisa { background: #e4efe0; color: #1f4d1a; }
option.op-penuh { background: #f6d9d3; color: #7a1f1f; }
optgroup.og-kosong { color: #1f4d1a; } optgroup.og-penuh { color: #7a1f1f; }
/* Tema gelap panitia (dulu memakai prefers-color-scheme, bentrok dengan halaman light-only) */
:root[data-tema="gelap"] .kt-tbl .kt-head.st-kosong td, :root[data-tema="gelap"] .kt-tbl .kt-head.st-sisa td, :root[data-tema="gelap"] .kt-tbl .kt-head.full td { background: #26402a; color: var(--ink); }
:root[data-tema="gelap"] .kt-tbl .kt-head.st-penuh td, :root[data-tema="gelap"] .kt-tbl .kt-head.over td { background: #4a2523; color: var(--ink); }
:root[data-tema="gelap"] option.op-kosong, :root[data-tema="gelap"] option.op-sisa { background: #26402a; color: #d7f0d3; }
:root[data-tema="gelap"] option.op-penuh { background: #4a2523; color: #f4cfcb; }
.rl-tbl input.in-plat { width: 100%; min-width: 170px; max-width: 220px; box-sizing: border-box; padding: 8px 10px; font-size: 16px; letter-spacing: .02em; }
.rl-tbl input.in-nohotel { width: 100%; min-width: 120px; max-width: 150px; box-sizing: border-box; padding: 8px 10px; font-size: 16px; }
.rl-tbl .rl-line { overflow-wrap: anywhere; }
.rl-tbl td { vertical-align: top; }
@media (max-width: 700px) { .rl-tbl input.in-plat, .rl-tbl input.in-nohotel { max-width: none; min-width: 0; } }

.rl-tbl .rl-nm { display: none; }
.rl-tbl .rl-line input { flex: 1 1 auto; }
@media (max-width: 700px) { .rl-tbl .rl-pen { display: none; } .rl-tbl td[data-label="Plat nomor"]::before { content: "Penghuni dan plat nomor"; } .rl-tbl .rl-line { display: block; padding: 4px 0 8px; } .rl-tbl .rl-nm { display: block; font-weight: 600; margin-bottom: 2px; } .rl-tbl .rl-line input { width: 100%; } }
@media (max-width: 700px) { .rl-tbl, .rl-tbl tbody { display: block; width: 100%; } .rl-tbl td { width: 100%; box-sizing: border-box; } }
.kt-tbl input.in-nohotel { width: 130px; min-width: 110px; box-sizing: border-box; padding: 8px 10px; font-size: 16px; }
@media (max-width: 700px) { .kt-tbl input.in-nohotel { width: 100%; } }
.pl-ring .pl-kel { margin: 14px 0 4px; font-size: 1rem; }
.pl-ring .plain-list li { display: flex; gap: 10px; justify-content: space-between; align-items: center; flex-wrap: wrap; }

/* Pencarian nama melayang di Plotting */
.plot-cari { position: fixed; right: 12px; top: 120px; z-index: 40; display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; background: var(--card, #fff); border: 1px solid var(--line, #d9d2c6); border-radius: 999px; box-shadow: 0 6px 18px -8px rgba(38, 28, 18, .35); max-width: calc(100vw - 24px); }
.plot-cari input { border: 0; background: transparent; width: 200px; min-width: 0; font-size: 16px; padding: 6px 4px; outline: none; }
.plot-cari .pc-n2 { font-size: .8rem; opacity: .75; white-space: nowrap; }
@media (max-width: 600px) { .plot-cari { left: 12px; right: 12px; } .plot-cari input { flex: 1; width: auto; } }
.cari-redup { opacity: .25; transition: opacity .15s; }
.cari-hit { outline: 3px solid #e0a82e; outline-offset: 1px; border-radius: 8px; }
.cari-now { outline-color: #b8461f; box-shadow: 0 0 0 6px rgba(184, 70, 31, .2); }
.kt-chip.bad { border-color: var(--due); background: var(--due-tint); } .kt-chip.ok { border-color: var(--ok); background: var(--ok-tint); }
.pl-kuota .ci-row { margin-top: 10px; align-items: center; flex-wrap: wrap; }
.kb-paket { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: .75rem; background: var(--paper-2, #ece4d4); } .kb-paket.bad { background: var(--due-tint); color: var(--due); }
.rl-impor textarea { width: 100%; font-family: ui-monospace, monospace; font-size: 14px; box-sizing: border-box; }
.ik-hasil h4 { margin: 14px 0 6px; } .ik-butuh li { display: flex; gap: 10px; flex-wrap: wrap; justify-content: space-between; align-items: center; } .ik-butuh select { max-width: 100%; min-height: 44px; }
.batal-box { margin-top: 14px; } .batal-box summary { cursor: pointer; font-weight: 650; padding: 8px 0; } .batal-box li { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.tbl-lain .aksi-lain { white-space: nowrap; }
.pl-serumah { align-self: flex-start; margin-top: 4px; }
.pop-parkir { max-width: min(92vw, 460px); width: 100%; border: 1px solid var(--line, #d9d2c6); border-radius: 16px; padding: 20px; background: var(--card, #fff); color: var(--ink, #222); } .pop-parkir::backdrop { background: rgba(30, 20, 10, .55); } .pop-parkir h2 { margin-top: 0; }

/* Tombol hapus destruktif: merah solid, satu baris, ringkas */
.btn-hapus { background: var(--due); border-color: var(--due); color: #fff; white-space: nowrap; min-height: 34px; padding: 0 14px; font-size: 14px; }
.btn-hapus:hover { background: #8a2f2f; border-color: #8a2f2f; color: #fff; }
td:has(> form > .btn-hapus) { white-space: nowrap; width: 1%; }

/* 6 Harta: transisi halaman, progres */
.harta-hal { animation: hartaMasuk .35s var(--ease, ease-out) both; }
.harta-hal .harta-sec:nth-child(2) { animation: hartaMasuk .4s .08s var(--ease, ease-out) both; }
@keyframes hartaMasuk { from { opacity: 0; transform: translateY(12px); } }
.harta-prog { height: 6px; border-radius: 99px; background: var(--line, #e4d9c6); overflow: hidden; margin: 8px 0 6px; }
.harta-prog i { display: block; height: 100%; width: 0; background: var(--bronze, #7a5a35); border-radius: 99px; transition: width .35s ease; }
.harta-sisa { margin: 0 0 10px; font-size: 14px; min-height: 1.3em; }
@media (prefers-reduced-motion: reduce) { .harta-hal, .harta-hal .harta-sec { animation: none !important; } .harta-prog i { transition: none; } }

/* 6 Harta: animasi hasil */
.harta-hasil .rd-grid { transform-box: view-box; transform-origin: 150px 150px; animation: hhGrid .7s calc(var(--g, 0) * 70ms) var(--ease, ease-out) both; }
.harta-hasil .rd-grid:nth-of-type(1) { --g: 0; } .harta-hasil .rd-grid:nth-of-type(2) { --g: 1; } .harta-hasil .rd-grid:nth-of-type(3) { --g: 2; } .harta-hasil .rd-grid:nth-of-type(4) { --g: 3; } .harta-hasil .rd-grid:nth-of-type(5) { --g: 4; }
.harta-hasil .rd-lbl { animation: hhFade .5s .7s ease-out both; }
.harta-hasil .rd-area { transform-box: view-box; transform-origin: 150px 150px; animation: hhArea 1.1s .55s cubic-bezier(.2, 1.1, .3, 1) both; }
.harta-hasil .harta-bars li { animation: hartaMasuk .5s calc(.5s + var(--i, 0) * 110ms) var(--ease, ease-out) both; }
.harta-hasil .hb-bar i { transform-origin: left; animation: hhBar .9s calc(.6s + var(--i, 0) * 110ms) cubic-bezier(.2, .8, .2, 1) both; }
.harta-hasil .hb-n { font-variant-numeric: tabular-nums; }
@keyframes hhGrid { from { opacity: 0; transform: scale(.3); } }
@keyframes hhFade { from { opacity: 0; } }
@keyframes hhArea { from { opacity: 0; transform: scale(.05); } }
@keyframes hhBar { from { transform: scaleX(0); } }
.harta-selesai { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; margin: 0 0 16px; border-radius: 14px; background: var(--ok-tint, #e3eedf); border: 1px solid #b9d3b2; animation: hartaMasuk .5s var(--ease, ease-out) both; }
.harta-selesai .mchk { width: 34px; height: 34px; stroke: #2f7d4a; }
.harta-selesai div { flex: 1 1 200px; display: grid; gap: 2px; }
.harta-selesai span { font-size: 14px; color: var(--ink-2); }
.harta-unduh.ok { animation: hhPulse 1.6s .4s ease-out 2; }
@keyframes hhPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(47, 125, 74, 0); } 40% { box-shadow: 0 0 0 8px rgba(47, 125, 74, .22); } }
.harta-steps .now b { animation: hartaDenyut 1.8s ease-in-out infinite; }
.harta-steps .done b { animation: starPop .5s ease-out both; }
@keyframes hartaDenyut { 0%, 100% { box-shadow: 0 0 0 0 rgba(122, 90, 53, .35); } 50% { box-shadow: 0 0 0 6px rgba(122, 90, 53, 0); } }
.harta-ov { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(244, 238, 227, .92); animation: hhFade .25s ease-out both; }
.harta-ov div { display: grid; justify-items: center; gap: 14px; font-weight: 650; color: var(--ink); }
.harta-ov i { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--bronze, #7a5a35); border-right-color: transparent; animation: spin .8s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .harta-hasil .rd-grid, .harta-hasil .rd-lbl, .harta-hasil .rd-area, .harta-hasil .harta-bars li, .harta-hasil .hb-bar i, .harta-selesai, .harta-unduh.ok, .harta-steps .now b, .harta-steps .done b { animation: none !important; }
  .harta-ov i { animation-duration: 2s; }
}

/* Form evaluasi: progres dan masuk bertahap, sejalan dengan Test 6 Harta */
.form-eval .evprog { position: sticky; top: 0; z-index: 5; background: var(--card, #fffcf7); padding: 6px 0 2px; margin: 0 0 10px; }
.form-eval .evprog .harta-sisa { margin: 4px 0 0; }
.form-eval .qlist .q { animation: hartaMasuk .45s calc(var(--qi, 0) * 55ms) var(--ease, ease-out) both; }
@media (prefers-reduced-motion: reduce) { .form-eval .qlist .q { animation: none; } }

.harta-keluar { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 10px; margin: 18px 0 8px; font-size: 14px; }

/* ---- Perbaikan keterbacaan (audit UI) ---- */
/* 1. Tema gelap: status terpilih berlatar emas wajib berteks gelap */
:root[data-tema="gelap"] :is(.seg a[aria-current], .seg button.on, .kr-lay-btn[aria-current], .kc-f[aria-current="page"], .pl-f.on, .og-f.on, .og-f.on b, .ci-mode .on, .tl-pil-berjalan, .btn:not(.btn-ghost), .btn:not(.btn-ghost) b) { color: #1c140c; }
/* 2. Tema gelap: chip dan ringkasan berlatar terang diganti latar gelap */
:root[data-tema="gelap"] { --cream: var(--paper-2); }
:root[data-tema="gelap"] .kc-chip { background: var(--paper-2); color: var(--ink-2); }
:root[data-tema="gelap"] .kc-chip-belum { background: #3a2e14; color: #f0d594; }
:root[data-tema="gelap"] .kc-chip-pegang { background: #3a1f1c; color: #f4b3a8; }
:root[data-tema="gelap"] .kc-chip-kembali { background: #1f3324; color: #a9dcb4; }
:root[data-tema="gelap"] .ci-ringkas a, :root[data-tema="gelap"] .ci-ringkas strong { color: var(--ink); }
:root[data-tema="gelap"] .note-warn, :root[data-tema="gelap"] .note-warn strong, :root[data-tema="gelap"] .note-warn span { color: #f0d594; }
:root[data-tema="gelap"] .money { background: var(--field-bg); }
:root[data-tema="gelap"] .money span { color: var(--ink-2); }
:root[data-tema="gelap"] a:not([class]):not([aria-current]) { color: var(--bronze-2); }
:root[data-tema="gelap"] .wa-bubble u { color: #7cc4ff; }
:root[data-tema="gelap"] :is(.chips a[aria-current], .ci-mode a[aria-current="page"], .kc-f[aria-current="page"]) { color: #1c140c; background: var(--bronze); border-color: var(--bronze); }
:root[data-tema="gelap"] .pl-f.on { background: var(--bronze); border-color: var(--bronze); color: #1c140c; }
:root[data-tema="gelap"] .kr-stage { color: #5a3f12; }
/* 3. Menu atas di layar sempit: ada petunjuk bisa digeser */
.tabs-grup { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
@media (min-width: 900px) { .tabs-grup { -webkit-mask-image: none; mask-image: none; } }
/* 4. Sasaran sentuh minimal 40px di layar sentuh */
@media (pointer: coarse) {
  .pl-f, .og-f, .kc-f, .btn-sm, .linkbtn, .ci-mode button, .seg button, .seg a, .tabs-sub a { min-height: 40px; }
  .ci-mode button, .pl-f, .kc-f { padding-top: 8px; padding-bottom: 8px; }
}

/* Kartu kamar dan plat nomor di beranda peserta */
.stay h2 { font-size: 18px; font-weight: 750; margin: 0 0 12px; }
.stay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 14px; }
.stay-tile { position: relative; padding: 14px 14px 12px; border-radius: 14px; background: var(--ok-tint); color: #1f3a1d; display: grid; gap: 2px; align-content: start; }
.stay-tile.is-todo { background: var(--warn-tint); color: #5e4210; }
.stay-tile.is-wait { background: var(--paper); color: var(--ink-2); }
.stay-ic { position: absolute; top: 12px; right: 12px; opacity: .55; display: grid; }
.stay-ic svg { width: 22px; height: 22px; }
.stay-k { font-size: 13px; font-weight: 650; letter-spacing: .02em; margin: 0; opacity: .85; }
.stay-v { font-size: 30px; font-weight: 800; line-height: 1.1; margin: 4px 0 2px; font-variant-numeric: tabular-nums; letter-spacing: .01em; color: inherit; }
.stay-v-s { font-size: 19px; line-height: 1.25; }
.stay-plat { display: grid; gap: 2px; font-size: 22px; }
.stay-s { font-size: 14px; line-height: 1.4; margin: 0; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.stay-s svg { width: 15px; height: 15px; }
.stay .btn { width: 100%; justify-content: center; }
@media (min-width: 560px) { .stay .btn { width: auto; } }

/* Admin Investasi Iman: cek uang masuk dan bukti */
.inv-cek { min-width: 260px; }
.inv-f { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 0 0 6px; }
.inv-f input[type=text] { flex: 1 1 160px; min-width: 0; font-size: 14px; padding: 6px 8px; }
.inv-f input[type=file] { max-width: 190px; font-size: 13px; }
.inv-bukti { margin: 2px 0 6px; font-size: 14px; }
.inv-bukti a { font-weight: 650; }

/* Investasi Iman: satu transaksi satu baris */
.inv-tx td, .inv-tx th { white-space: nowrap; vertical-align: middle; }
.inv-tx .inv-f { margin: 0; flex-wrap: nowrap; }
.inv-tx td, .inv-tx th { padding: 8px 12px; }
.inv-tx input[type=text] { width: 160px; flex: none; padding: 6px 8px; }
.inv-tx tfoot td { border-top: 2px solid var(--line-2, #d9ccb6); background: rgba(0, 0, 0, .02); }
.inv-up label { cursor: pointer; margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tbl-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 0 0 10px; }
.tbl-cari-w { flex: 1 1 220px; max-width: 380px; }
.tbl-cari { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card); color: var(--ink); font: inherit; font-size: 16px; }
.tbl-cari:focus-visible { outline: 2px solid var(--bronze); outline-offset: 1px; }
.tbl-n { font-size: 14px; font-variant-numeric: tabular-nums; }
.tbl-reset { min-height: 44px; padding: 0 6px; }
.tbl-geser { display: none; font-size: 13px; }
@media (max-width: 760px) { .tbl-geser:not([hidden]) { display: inline; } .tbl-cari-w { max-width: none; } }
.sortable-th { cursor: pointer; user-select: none; }
.sortable-th:hover { color: var(--bronze); }
.sortable-th:focus-visible { outline: 2px solid var(--bronze); outline-offset: -2px; }
.sortable-th::after { content: " \2195"; font-size: 11px; opacity: .35; }
.sortable-th[aria-sort="ascending"]::after { content: " \25B2"; opacity: 1; color: var(--bronze); }
.sortable-th[aria-sort="descending"]::after { content: " \25BC"; opacity: 1; color: var(--bronze); }
.data .num, .data td.num { font-variant-numeric: tabular-nums; }
.bidang-pilih { border: 1px solid var(--line-2); border-radius: 12px; padding: 8px 12px 10px; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; min-width: 260px; max-width: 520px; }
.bidang-pilih legend { font-size: 12px; font-weight: 600; color: var(--ink-2); padding: 0 6px; }
.cek { display: inline-flex !important; grid-template-columns: none !important; align-items: center; gap: 6px; font-size: 14px !important; font-weight: 500 !important; color: var(--ink) !important; min-height: 36px; }
.cek input { width: 18px; height: 18px; }
.bidang-ubah { margin-top: 4px; } .bidang-ubah summary { cursor: pointer; color: var(--bronze); font-size: 13px; font-weight: 650; }
.bidang-ubah form { display: grid; gap: 2px; padding: 8px 0; }
.tabs-bidang { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 4px 10px; border-radius: 99px; background: var(--bronze-tint); color: var(--bronze-2); font-size: 13px; font-weight: 650; white-space: nowrap; }
.tabs-bidang svg { width: 15px; height: 15px; }
.tabs-bidang + .tabs-cari { margin-left: 6px; }

/* Menu per tugas: tombol menu di HP, lompat ke isi, target sentuh */
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--bronze); color: #fff; font-weight: 700; text-decoration: none; }
.skip:focus { top: 8px; }
.badge { white-space: nowrap; }
.menu-hp { display: none; }
@media (max-width: 760px) {
  .menu-hp { display: block; position: sticky; top: 0; z-index: 30; background: var(--card); border-bottom: 1px solid var(--line); }
  .menu-hp summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; font-size: 16px; font-weight: 650; color: var(--ink); cursor: pointer; }
  .menu-hp summary::-webkit-details-marker { display: none; }
  .menu-hp summary svg { width: 20px; height: 20px; flex: none; color: var(--bronze); }
  .menu-hp summary svg:last-child { margin-left: auto; transition: transform .2s; }
  .menu-hp[open] summary svg:last-child { transform: rotate(180deg); }
  .mh-now { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mh-list { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100dvh - 60px); overflow-y: auto; padding: 4px 12px 16px; background: var(--card); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -16px rgba(38, 28, 18, .35); }
  .mh-g { margin: 14px 4px 4px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
  .mh-list a { display: flex; align-items: center; min-height: 46px; padding: 0 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 16px; }
  .mh-list a[aria-current] { background: var(--bronze-tint); color: var(--bronze-2); font-weight: 700; }
  .tabs-grup a[data-grup], .tabs-sub { display: none; }
  .tabs-grup { position: static; -webkit-mask-image: none; mask-image: none; justify-content: flex-end; padding: 4px 12px; }
  .tabs-bidang { margin-left: 0; margin-right: auto; max-width: 52vw; overflow: hidden; text-overflow: ellipsis; }
}
@media (pointer: coarse) { .tabs a { min-height: 44px; display: inline-flex; align-items: center; } }
.og-plat { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.og-plat input { width: 108px; }
.og-plat .btn-sm { padding: 0 10px; }
.og-tbl td:nth-child(6) { min-width: 330px; }
@media (prefers-reduced-motion: reduce) { .menu-hp summary svg:last-child { transition: none; } }
@media (max-width: 560px) {
  .totals { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .totals > div { padding: 12px 12px; }
  .totals strong { font-size: 19px; overflow-wrap: anywhere; }
  .totals span { font-size: 12.5px; }
}

/* Daftar nama yang belum mengisi: klik nama langsung membuka chat WhatsApp */
.nm-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.nm-btn { border: 1px solid var(--line, #d8d8d8); background: transparent; color: inherit; border-radius: 999px; padding: 4px 12px; min-height: 32px; font: inherit; cursor: pointer; }
.nm-btn:hover, .nm-btn:focus-visible { border-color: currentColor; }
