/*
  Alasan keputusan desain (R-31):
  - Warna: monokrom hitam, putih, abu hangat mengikuti referensi dari pemilik. Warna hanya dipakai untuk status (lunas, sebagian, telat).
  - Aksen: satu kartu hitam per halaman untuk angka yang paling menentukan keputusan.
  - Huruf: Plus Jakarta Sans, grotesk geometris seperti referensi, dibuat untuk Jakarta dan cocok untuk alat kerja EO Indonesia.
  - Radius: kartu 24px, kontrol input 10px, tombol dan navigasi aktif berbentuk pil. Tabel tanpa radius supaya padat dan terbaca.
  - Bayangan: hanya untuk lapisan yang benar-benar melayang (menu ponsel, dialog, toast, date picker).
  - Kaca buram: hanya sidebar dan bar atas ponsel.
  - Gerak: hanya transisi hover dan fokus.
  - Ikon: hanya untuk hapus, geser, kalender, dan buka-tutup, yaitu aksi yang maknanya jelas tanpa teks.
  - Jarak: kelipatan 4px. Isi kartu 24px, antar kartu 16px, antar kolom form 16px.
*/

:root {
  --bg-a: #f2f2f0;
  --bg-b: #e3e3e0;
  --surface: #ffffff;
  --surface-2: #f4f4f2;
  --ink: #111111;
  --ink-2: #3d3d3b;
  --ink-3: #5c5c59;
  --line: #dcdcd8;
  --edge: #85857f;
  --ok: #17703a;
  --mid: #8a5a00;
  --bad: #b3261e;
  --bad-bg: #fbeceb;
  --on-ink: #ffffff;
  --on-ink-2: #c4c4c0;
  --r-card: 24px;
  --r-ctl: 10px;
  --side-w: 244px;
  --ctl-h: 40px;
  --pad: 24px;
  font-size: 16px;
}

* { box-sizing: border-box; }
/* Ruang scrollbar selalu disediakan, supaya isi halaman tidak bergeser saat scrollbar muncul atau hilang. */
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
@supports not (scrollbar-gutter: stable) { html { overflow-y: scroll; } }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: linear-gradient(160deg, var(--bg-a), var(--bg-b)) fixed;
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}

h1, h2, h3, p, ul, ol, dl { margin: 0; }
h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; }
h1:focus { outline: none; }
h2 { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
h3 { font-size: 0.9375rem; font-weight: 700; line-height: 1.3; }
a { color: inherit; }
svg { display: block; flex: none; }

button, input, select, textarea, output { font: inherit; color: inherit; }
button, select, summary, label.chk, input[type='checkbox'], a[href] { cursor: pointer; }
button:disabled, input:disabled, select:disabled { cursor: not-allowed; opacity: 0.45; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ink :focus-visible { outline-color: var(--on-ink); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: 999px; z-index: 50; }
.skip:focus { top: 12px; }


/* ---------- sidebar ---------- */

.side {
  position: fixed; inset: 12px auto 12px 12px; width: var(--side-w);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--r-card);
  padding: 20px 12px 12px;
  display: flex; flex-direction: column;
  overflow-y: auto;
  scrollbar-width: none;
  z-index: 20;
}
.side::-webkit-scrollbar { display: none; }
.brand { font-weight: 700; letter-spacing: -0.02em; font-size: 1.0625rem; line-height: 1.3; padding: 0 12px 16px; }
.brand small { display: block; font-weight: 500; font-size: 0.8125rem; color: var(--ink-3); letter-spacing: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* tombol ganti event di sidebar */
.ev-switch {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; margin: 0 0 16px; padding: 12px 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  text-align: left; transition: background-color 0.15s, border-color 0.15s;
}
.ev-switch:hover { border-color: var(--edge); }
.ev-switch:active { background: var(--surface-2); }
.ev-switch[aria-current='page'] { border-color: var(--ink); }
.ev-switch-t { display: grid; gap: 2px; min-width: 0; }
.ev-switch-t b { font-size: 0.9375rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.ev-switch-t small { font-size: 0.75rem; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-switch > svg { flex: none; color: var(--ink-3); }
.file-st { font-size: 0.75rem; color: var(--ink-3); padding: 0 12px 6px; overflow-wrap: anywhere; }
.file-st.warn-t { color: var(--bad); font-weight: 600; }
.nav-btn kbd { font: inherit; font-size: 0.75rem; color: var(--ink-3); }

.side nav { display: grid; gap: 2px; }
.nav-sec { display: grid; gap: 2px; }
.nav-btn, .nav-grp {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; min-height: 40px; padding: 8px 12px;
  background: none; border: 0; border-radius: 999px;
  text-align: left;
  transition: background-color 0.15s;
}
.nav-btn:hover, .nav-grp:hover { background: rgba(17, 17, 17, 0.07); }
.nav-btn:active, .nav-grp:active { background: rgba(17, 17, 17, 0.13); }
.nav-grp { font-weight: 600; color: var(--ink); }
.nav-grp svg { color: var(--ink-3); transition: transform 0.15s; }
.nav-grp[aria-expanded='true'] svg { transform: rotate(180deg); }
.nav-grp.has-current[aria-expanded='false'] { background: rgba(17, 17, 17, 0.07); }
.nav-btn { font-weight: 500; color: var(--ink-2); }
.nav-btn.top { font-weight: 600; color: var(--ink); }
.nav-btn[aria-current='page'] { background: var(--ink); color: var(--on-ink); font-weight: 600; }
.nav-btn.danger { color: var(--bad); }
.nav-btn .count { font-size: 0.75rem; font-weight: 600; }
.nav-sub { display: grid; gap: 2px; padding: 0 0 6px 12px; }
.nav-sub .nav-btn { min-height: 36px; font-size: 0.875rem; }
.side-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.side nav + .side-foot { margin-top: auto; }
.side nav { margin-bottom: 16px; }

.topbar { display: none; }

.main { margin-left: calc(var(--side-w) + 12px); padding: 32px clamp(16px, 3vw, 40px) 64px; max-width: 1480px; }
.main > :not(.page-h):not(.skip) + * { margin-top: 16px; }

.page-h { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.page-h p { color: var(--ink-2); margin-top: 8px; max-width: 62ch; }
.sec-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 14px; border-radius: 999px; background: var(--surface); font-weight: 600; font-size: 0.8125rem; white-space: nowrap; }
.chip.dark { background: var(--ink); color: var(--on-ink); }

/* ---------- kartu ---------- */

.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.g-tier { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); align-items: start; }
.g-focus { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); }
.span2 { grid-column: span 2; }
.cal-layout { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); align-items: start; }
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }

.card { background: var(--surface); border-radius: var(--r-card); padding: var(--pad); min-width: 0; }
.card.ink { background: var(--ink); color: var(--on-ink); }
.card.ink .lbl, .card.ink .sub { color: var(--on-ink-2); }
.card.flat { background: var(--surface-2); }
.card-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; margin-bottom: 16px; }
.card-h.sub-h { margin-top: 24px; margin-bottom: 12px; }

.lbl { font-size: 0.8125rem; font-weight: 600; color: var(--ink-3); }
.kpi { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; margin-top: 8px; overflow-wrap: anywhere; }
.kpi.sm { font-size: 1.375rem; margin-top: 0; }
.sub { font-size: 0.8125rem; color: var(--ink-3); margin-top: 8px; }
span.sub { margin-top: 0; }
.body { color: var(--ink-2); }

.dl { display: grid; margin-top: 16px; }
.dl.flush { margin-top: 0; }
.dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.dl div:first-child { border-top: 0; padding-top: 0; }
.dl dt { color: var(--ink-2); }
.dl dd { margin: 0; font-weight: 600; text-align: right; white-space: nowrap; }
.dl dd .st { margin-left: 8px; }
.card.ink .dl div { border-color: #3a3a38; }
.card.ink .dl dt { color: var(--on-ink-2); }
.dl .tot dt, .dl .tot dd { font-weight: 700; color: inherit; }

.bar { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--ink); border-radius: 999px; }
.card.ink .bar { background: #3a3a38; }
.card.ink .bar i { background: var(--on-ink); }
.bar-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: baseline; padding: 8px 0; }
.bar-row:first-child { padding-top: 0; }
.bar-row .bar { grid-column: 1 / -1; }
.bar-row b { font-weight: 600; }

/* ---------- status ---------- */

.st { display: inline-flex; align-items: baseline; gap: 6px; font-weight: 600; font-size: 0.8125rem; line-height: 1.4; }
.tbl .st, .mini .st, .phase-h .st { white-space: nowrap; }
.st::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; transform: translateY(-1px); }
.st.ok { color: var(--ok); }
.st.mid { color: var(--mid); }
.st.bad { color: var(--bad); }
.st.none { color: var(--ink-3); }

.note { border-radius: 14px; padding: 12px 16px; background: var(--surface-2); color: var(--ink-2); font-size: 0.875rem; }
.card.flat .note, .main > .note { background: var(--surface); }
.note b { color: var(--ink); }
.warn { border-radius: 14px; padding: 12px 16px; background: var(--bad-bg); color: #7a1a14; font-size: 0.875rem; font-weight: 500; }
.warn b { font-weight: 700; }
.warn + .warn, .note + .note, .warn + .note, .note + .warn { margin-top: 8px; }
.card > .warn:last-of-type { margin-bottom: 16px; }
.card > .warn.mt12:last-of-type { margin-bottom: 0; }

.empty { display: grid; justify-items: center; gap: 4px; padding: 28px 16px; text-align: center; color: var(--ink-2); }
.empty b { color: var(--ink); }
.empty span { max-width: 52ch; }
.empty .btn { margin-top: 12px; }

/* ---------- kontrol ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--ctl-h); padding: 8px 18px;
  border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--on-ink);
  font-weight: 600; font-size: 0.875rem; text-decoration: none; white-space: nowrap;
  transition: background-color 0.15s, color 0.15s;
}
.btn:hover { background: #333331; }
.btn:active { background: #000; transform: translateY(1px); }
.btn.is-off { background: var(--ink-3); border-color: var(--ink-3); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--edge); }
.btn.ghost:hover { background: rgba(17, 17, 17, 0.07); }
.btn.ghost:active { background: rgba(17, 17, 17, 0.14); }
.btn.ghost[aria-pressed='true'] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.btn.sm { min-height: 34px; padding: 4px 14px; font-size: 0.8125rem; }
.btn.del { background: transparent; color: var(--bad); border-color: transparent; padding: 4px 12px; }
.btn.del:hover { background: var(--bad-bg); }
.btn.del:active { background: #f3d3d0; }

.icon-btn {
  display: inline-grid; place-items: center; flex: none;
  width: 36px; height: 36px; padding: 0;
  border: 0; border-radius: var(--r-ctl); background: none; color: var(--ink-3);
  transition: background-color 0.15s, color 0.15s;
}
.icon-btn:hover { background: rgba(17, 17, 17, 0.07); color: var(--ink); }
.icon-btn:active { background: rgba(17, 17, 17, 0.14); }
.icon-btn.del:hover { background: var(--bad-bg); color: var(--bad); }
.icon-btn.del:active { background: #f3d3d0; }
.icon-btn.grip { cursor: grab; touch-action: none; }

.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--surface); border-radius: 22px; }
.card .tabs { background: var(--surface-2); }
.card.flat .tabs { background: var(--surface); }
.tab { min-height: 34px; padding: 4px 16px; border: 0; border-radius: 999px; background: none; font-weight: 600; font-size: 0.8125rem; color: var(--ink-2); white-space: nowrap; transition: background-color 0.15s; }
.tab:hover { background: rgba(17, 17, 17, 0.07); }
.tab:active { background: rgba(17, 17, 17, 0.14); }
.tab[aria-pressed='true'] { background: var(--ink); color: var(--on-ink); }
.opt { display: grid; gap: 8px; margin: 20px 0 16px; justify-items: start; }

.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; align-items: start; }
.form.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.f { display: grid; gap: 6px; align-content: start; min-width: 0; }
.f > span { font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f small { font-size: 0.75rem; color: var(--ink-3); line-height: 1.4; }
.f input, .f select, .f .date-btn { width: 100%; min-width: 0; }
.f.on-ink > span { color: var(--on-ink-2); }
.f.on-ink input { color: var(--ink); max-width: 8rem; }
.f.filter { min-width: 14rem; }
.form.ev { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form.ev .ev-name { grid-area: 1 / 1; }
.form.ev .ev-type { grid-area: 1 / 2; }
.form.ev .ev-start { grid-area: 1 / 3; }
.form.ev .ev-city { grid-area: 2 / 1; }
.form.ev .ev-days { grid-area: 2 / 2; }
.form.ev .ev-end { grid-area: 2 / 3; }
.req { color: var(--bad); font-style: normal; font-weight: 700; }
.ro { display: flex; align-items: center; min-height: var(--ctl-h); padding: 7px 12px; border-radius: var(--r-ctl); background: var(--surface-2); color: var(--ink-2); font-weight: 600; }

input[type='text'], input[type='url'], input[type='email'], input[type='password'], select, textarea, .date-btn {
  width: 100%; min-height: var(--ctl-h); padding: 7px 12px;
  border: 1px solid var(--edge); border-radius: var(--r-ctl);
  background-color: var(--surface);
  text-overflow: ellipsis;
}
select {
  -webkit-appearance: none; appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23111111' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 8l4.5 4.5L14.5 8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px 18px;
}
textarea { min-height: 120px; resize: vertical; display: block; }
input::placeholder, textarea::placeholder { color: var(--ink-3); opacity: 1; }
input:hover, select:hover, textarea:hover, .date-btn:hover { border-color: var(--ink); }
input.r { text-align: right; }

.date-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; white-space: nowrap; }
.date-btn svg { color: var(--ink-3); }
.date-btn.is-empty span { color: var(--ink-3); }
.date-btn:active { background-color: var(--surface-2); }

.chk { display: inline-flex; align-items: center; gap: 10px; min-height: var(--ctl-h); font-weight: 500; }
.chk input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; margin: 0; }
.chk.auto { flex-wrap: wrap; gap: 6px 12px; }

.row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.row.end { justify-content: flex-end; }
.row.center { justify-content: center; }
.spread { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }

/* ---------- tabel ---------- */

.tbl-wrap { overflow-x: auto; margin: 0 -8px; padding: 0 8px; scrollbar-width: thin; }
.tbl-wrap + .tbl-wrap { margin-top: 8px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.tbl th { text-align: left; font-size: 0.75rem; font-weight: 600; color: var(--ink-3); padding: 8px 6px; border-bottom: 1px solid var(--edge); white-space: nowrap; }
.tbl td { padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.pair { display: grid; grid-template-columns: minmax(9rem, 1fr); gap: 6px; }
.tbl td .st.below { display: flex; justify-content: flex-end; margin: 2px 0 0; }
.tbl tr > :first-child { padding-left: 4px; }
.tbl tr > :last-child { padding-right: 4px; }
.tbl th.r, .tbl td.r { text-align: right; }
.tbl td.calc { font-weight: 600; white-space: nowrap; }
.tbl td.nowrap { white-space: nowrap; }
.tbl td.act { width: 44px; text-align: right; }
.tbl td.act.wide { width: auto; }
.tbl td.chk-cell { width: 52px; }
.tbl td .sub { display: block; margin-top: 2px; }
.tbl td b + .sub { display: inline; margin-left: 6px; }
.tbl td .st { margin-left: 8px; }
.tbl td > .st:first-child { margin-left: 0; }
.tbl tr.grp td { background: var(--surface-2); font-weight: 700; padding: 10px 12px; border-bottom: 0; }
.tbl tr.add td { border-bottom: 0; padding-bottom: 16px; }
.tbl tr.tot td { font-weight: 700; border-bottom: 0; border-top: 1px solid var(--edge); padding-top: 12px; }
.tbl tr.neg td { color: var(--bad); }
.tbl tr.off td { color: var(--ink-3); }
.tbl tr.off input { color: var(--ink-3); }
.tbl input[type='text'], .tbl input[type='url'], .tbl select, .tbl .date-btn { min-height: 36px; padding-top: 5px; padding-bottom: 5px; }
.w-money { min-width: 7.75rem; }
.w-num { min-width: 4.75rem; }
.tbl .w-num { width: 4.75rem; min-width: 4.25rem; }
.w-text { min-width: 8.5rem; }
.w-date { min-width: 10.5rem; }
.tbl .w-date { min-width: 8.75rem; }
.tbl td .sub.clip { font-weight: 500; }
.w-sel { min-width: 9.5rem; }
.tbl .w-sel { min-width: 8.5rem; }
.tbl .w-money { min-width: 7.25rem; }
.w-time { min-width: 5rem; width: 5.5rem; }
.w-unit { min-width: 5.5rem; }
.tbl input.w-text, .tbl input.w-unit, .tbl input.w-unit2, .tbl select, .tbl .date-btn { width: 100%; }
.w-unit2 { min-width: 6.5rem; }
.w-fill { min-width: 0; }
.clip { display: block; max-width: 22ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- kategori tiket ---------- */

.cats { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.cat { min-width: 0; border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px 16px; background: var(--surface); }
.cat-h { display: flex; align-items: center; gap: 8px; margin: 0 -8px 8px; }
.cat-name { flex: 0 1 18rem; min-width: 0; font-weight: 700; }
.cat-sum { display: flex; gap: 24px; margin: 0 8px 0 auto; }
.cat-sum div { display: grid; justify-items: end; line-height: 1.3; }
.cat-sum dt { font-size: 0.75rem; font-weight: 600; color: var(--ink-3); }
.cat-sum dd { margin: 0; font-weight: 700; white-space: nowrap; }
.cat-h > .icon-btn.del { margin-left: auto; }
.cat-sum + .icon-btn.del { margin-left: 0; }
.tier-h { display: flex; align-items: center; gap: 8px; }
.tier-h .cat-name { flex: 1; }
[data-draglist].dragging { user-select: none; -webkit-user-select: none; }
[data-draglist].dragging .grip { cursor: grabbing; }
.cat.drag-src, tr.drag-src { opacity: 0.45; }
.cat.drop-before { box-shadow: 0 -4px 0 -1px var(--ink); }
.cat.drop-after { box-shadow: 0 4px 0 -1px var(--ink); }
tr.drop-before td { box-shadow: inset 0 2px 0 var(--ink); }
tr.drop-after td { box-shadow: inset 0 -2px 0 var(--ink); }
.tbl td.grip-cell, .tbl th:first-child:has(.sr) { width: 44px; padding-right: 0; }

/* ---------- daftar partner yang bisa dibuka ---------- */

.ptbl tr.prow { cursor: pointer; transition: background-color 0.15s; }
.ptbl tr.prow:hover td { background: var(--surface-2); }
.ptbl tr.prow:active td { background: #e9e9e6; }
.ptbl tr.prow.is-open td { border-bottom-color: transparent; }
.ptbl tr.prow td { padding-top: 10px; padding-bottom: 10px; }
.link-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 8px 0 0; border: 0; background: none; font-weight: 700; text-align: left; max-width: 100%; }
.link-btn svg { color: var(--ink-3); transform: rotate(-90deg); transition: transform 0.15s; }
.link-btn[aria-expanded='true'] svg { transform: none; }
.ptbl tr.detail td { padding: 0 0 16px; border-bottom: 1px solid var(--edge); }
.detail-box { background: var(--surface-2); border-radius: 16px; padding: 20px; }
.detail-box .two { border-top-color: var(--line); }
.detail-foot { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }

.sug-box { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); }
.tbl td.sug { background: var(--surface-2); }
.tbl td.sug .st { display: flex; justify-content: flex-end; margin: 2px 0 0; font-size: 0.75rem; }

/* ---------- daftar ---------- */

.phase { border-top: 1px solid var(--line); padding: 20px 0 8px; }
.phase:first-of-type { border-top: 0; padding-top: 0; }
.phase:last-of-type { padding-bottom: 0; }
.phase-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 8px; }
.phase-h .tag { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.items { list-style: none; padding: 0; }
.items li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; border-radius: 10px; padding: 0 4px 0 8px; margin: 0 -8px; }
.items li:hover { background: var(--surface-2); }
.items .chk { width: 100%; }
.items .done span { text-decoration: line-through; color: var(--ink-3); }
.add-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 12px; }
.add-row .btn { min-height: var(--ctl-h); }

.pcard-h { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.mini { list-style: none; margin-top: 8px; padding: 0; display: grid; gap: 8px; }
.mini li { display: grid; gap: 8px; align-items: center; }
.mini .l2 { grid-template-columns: minmax(0, 1fr) auto; }
.mini .l3 { grid-template-columns: auto minmax(0, 1fr) auto; }
.mini .l4 { grid-template-columns: auto minmax(0, 1fr) 4.75rem auto; }
.mini .l3 .extra { grid-column: 2 / -1; display: grid; grid-template-columns: 10.5rem minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.mini .l3 .extra .st { grid-column: 1 / -1; }
.mini .plat { grid-template-columns: 9.5rem minmax(0, 1fr) auto auto; }
.mini .plat.other > input:first-of-type { grid-column: 2 / -1; }
.mini .plat.other > input:last-of-type { grid-column: 1 / 3; }
.mini .chk { min-height: 36px; }
.mini input, .mini select, .mini .date-btn { min-height: 36px; padding-top: 5px; padding-bottom: 5px; min-width: 0; }

.todo { list-style: none; padding: 0; }
.todo li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.todo li:first-child { border-top: 0; padding-top: 0; }
.todo li:last-child { padding-bottom: 0; }
.todo .when { font-weight: 700; white-space: nowrap; }
.todo .late { color: var(--bad); }
.todo .st { margin-left: 6px; }
.kind { display: inline-block; font-size: 0.75rem; font-weight: 700; color: var(--ink-3); margin-right: 6px; }
.tips { margin-top: 16px; padding-left: 1.1rem; color: var(--ink-2); display: grid; gap: 6px; }

/* ---------- jadwal rundown ---------- */

.pill { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 12px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.pill.on { background: var(--ink); color: var(--on-ink); }
.pill.done { background: #e3f1e7; color: var(--ok); }
.pill.bad { background: var(--bad-bg); color: #7a1a14; }

.day-list { display: grid; }
.day-row { display: grid; grid-template-columns: 9rem minmax(0, 1fr) auto auto; gap: 8px 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.day-row:first-child { border-top: 0; padding-top: 0; }
.day-row:last-child { padding-bottom: 0; }
.day-row b { display: block; }
.day-row .sub { margin-top: 0; }
.day-row .bar { height: 8px; }
.day-row .fig { font-weight: 600; white-space: nowrap; text-align: right; }

.sched-card { padding: 0; overflow: hidden; }
.sched-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 20px var(--pad); background: var(--ink); color: var(--on-ink); }
.sched-day { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.sched-h .sub { color: var(--on-ink-2); margin-top: 2px; }
.sched-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sched-facts .pill { background: #2c2c2a; color: var(--on-ink); }
.sched-facts .pill.bad { background: var(--bad-bg); color: #7a1a14; }
.sched-h .btn { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }
.sched-h .btn:hover { background: #dededa; }
.sched-body { padding: 8px var(--pad) 16px; }
table.sched { width: 100%; border-collapse: collapse; table-layout: fixed; }
.sched th:nth-child(1) { width: 8.5rem; }
.sched th:nth-child(3) { width: 20%; }
.sched th:nth-child(4) { width: 14%; }
.sched th:nth-child(5) { width: 12.5rem; }
.sched th:nth-child(6) { width: 6.5rem; }
.sched td { overflow-wrap: anywhere; }
.sched .s-pills .pill + .pill { margin-left: 6px; }
.sched th { text-align: left; font-size: 0.75rem; font-weight: 600; color: var(--ink-3); padding: 12px 12px 8px; white-space: nowrap; }
.sched td { padding: 14px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.sched tbody tr:first-child td { border-top: 0; }
.sched tbody tr:hover td { background: var(--surface-2); }
.sched .s-time { position: relative; width: 8.5rem; padding-left: 36px; white-space: nowrap; border-top-color: transparent; }
.sched .s-time b { display: block; font-size: 1.125rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.sched .s-time span { font-size: 0.8125rem; color: var(--ink-3); }
.sched .s-time::before { content: ''; position: absolute; left: 13px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.sched tbody tr:first-child .s-time::before { top: 50%; }
.sched tbody tr:last-child .s-time::before { bottom: 50%; }
.sched tbody tr:only-child .s-time::before { display: none; }
.sched .s-time::after { content: ''; position: absolute; left: 8px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2px var(--ink); }
.sched tr.is-on .s-time::after, .sched tr.is-done .s-time::after { background: var(--ink); }
.sched tr.is-done .s-main b { color: var(--ink-3); }
.sched .s-main b { display: block; font-weight: 700; }
.sched .s-main .sub { margin-top: 2px; }
.sched td.s-fit { white-space: nowrap; }
.sched tr.s-gap td { padding: 0 12px 10px; border-top: 0; font-size: 0.8125rem; color: var(--ink-3); }
.sched tr.s-gap:hover td { background: none; }
.sched tr.s-gap .s-time::after { display: none; }
.sched-empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 20px var(--pad); color: var(--ink-2); }

/* ---------- kalender halaman ---------- */

.cal-title { min-width: 11ch; text-align: center; }
.cal-head { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-bottom: 4px; }
.cal-head span { font-size: 0.75rem; font-weight: 600; color: var(--ink-3); padding: 0 8px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-cell {
  display: flex; flex-direction: column; align-items: stretch; gap: 3px;
  min-height: 92px; padding: 6px 8px; min-width: 0;
  border: 1px solid transparent; border-radius: 12px; background: var(--surface-2);
  text-align: left; overflow: hidden;
  transition: background-color 0.15s;
}
.cal-cell.blank { background: none; }
button.cal-cell:hover { background: #e9e9e6; }
button.cal-cell:active { background: #dededa; }
.cal-n { font-weight: 700; font-size: 0.875rem; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; margin-left: -4px; }
.cal-cell.is-today .cal-n { background: var(--ink); color: var(--on-ink); }
.cal-cell.is-sel { border-color: var(--ink); background: var(--surface); }
.cal-cell.is-event { background: var(--ink); color: var(--on-ink); }
.cal-cell.is-event:hover { background: #333331; }
.cal-cell.is-event.is-today .cal-n { background: var(--on-ink); color: var(--ink); }
.cal-cell.is-event.is-sel { box-shadow: inset 0 0 0 2px var(--ink), inset 0 0 0 4px var(--on-ink); }
.cal-ev { font-size: 0.75rem; line-height: 1.3; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.cal-cell.is-event .cal-ev, .cal-cell.is-event .cal-more { color: var(--on-ink-2); }
.cal-more { font-size: 0.75rem; font-weight: 600; color: var(--ink-3); }
.cal-dot { display: none; }

/* ---------- date picker ---------- */

#cal {
  position: absolute; z-index: 60; width: 304px; padding: 16px;
  background: var(--surface); border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(17, 17, 17, 0.06);
}
#cal[hidden] { display: none; }
.dp-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.dp-title { font-weight: 700; letter-spacing: -0.01em; }
.dp-dow, .dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; justify-items: center; }
.dp-dow span { font-size: 0.75rem; font-weight: 600; color: var(--ink-3); padding-bottom: 6px; }
.dp-grid button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; font-weight: 500; font-size: 0.875rem; transition: background-color 0.15s; }
.dp-grid button:hover:not(:disabled) { background: var(--surface-2); }
.dp-grid button:active:not(:disabled) { background: var(--line); }
.dp-grid button.is-today { box-shadow: inset 0 0 0 1px var(--edge); font-weight: 700; }
.dp-grid button.is-sel, .dp-grid button.is-sel:hover { background: var(--ink); color: var(--on-ink); font-weight: 700; box-shadow: none; }
.dp-grid button:disabled { opacity: 0.3; }
.dp-note { font-size: 0.75rem; color: var(--ink-3); margin-top: 10px; text-align: center; }
.dp-f { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }

/* ---------- jarak bantu, sengaja di bawah supaya menang dari aturan komponen ---------- */

.mt8 { margin-top: 8px !important; } .mt12 { margin-top: 12px !important; } .mt16 { margin-top: 16px !important; } .mt24 { margin-top: 24px !important; } .mb16 { margin-bottom: 16px !important; }

/* ---------- wizard ---------- */

.wiz { max-width: 820px; margin: 0 auto; padding: 48px 16px 64px; }
.wiz-sub { margin-top: 12px; color: var(--ink-2); }
.wiz .steps { display: flex; gap: 6px; margin: 24px 0; padding: 0; list-style: none; }
.wiz .steps li { flex: 1; height: 6px; border-radius: 999px; background: var(--line); }
.wiz .steps li.on { background: var(--ink); }
.wiz .card { padding: 32px; }
.wiz .foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.err { color: var(--bad); font-weight: 600; font-size: 0.875rem; margin-top: 16px; }

/* ---------- lapisan ---------- */

.toast {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 16px;
  background: var(--ink); color: var(--on-ink);
  padding: 10px 12px 10px 20px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 70; max-width: calc(100vw - 32px); font-weight: 500;
}
.toast[hidden] { display: none; }
.toast > span { padding: 4px 8px 4px 0; }
.toast .btn { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }

dialog { border: 0; border-radius: var(--r-card); padding: 28px; max-width: min(440px, calc(100vw - 32px)); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); color: var(--ink); }
dialog::backdrop { background: rgba(17, 17, 17, 0.45); }
dialog p { margin: 12px 0 24px; color: var(--ink-2); }

.scrim { display: none; }

/* ---------- akses dan akun (cuma kelihatan di eventdong.com) ----------
   Gembok di menu: penanda kecil abu di kanan, supaya halaman terkunci tetap kebaca tapi nggak bersaing dengan halaman aktif. */
.nav-btn .lock { display: inline-flex; align-items: center; gap: 4px; font-size: 0.6875rem; font-weight: 600; color: var(--ink-3); }
.nav-btn .lock svg { width: 14px; height: 14px; }
.nav-btn[aria-current='page'] .lock { color: var(--on-ink-2); }
.acct { display: grid; gap: 8px; padding: 12px; margin-bottom: 12px; border-radius: 14px; background: var(--surface-2); }
.acct-t { font-size: 0.75rem; color: var(--ink-3); }
.acct-e { font-size: 0.875rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tier { display: inline-block; font-size: 0.75rem; font-weight: 700; }
.auth { max-width: 440px; }
.auth form { display: grid; gap: 16px; }
.auth .f input { width: 100%; }
.auth .links { display: flex; flex-wrap: wrap; gap: 8px; }
.okmsg { border-radius: 14px; padding: 12px 16px; background: var(--surface-2); color: var(--ok); font-weight: 600; font-size: 0.875rem; }
.lock-card { max-width: 560px; }
.lock-card h2 { font-size: 1.25rem; margin-bottom: 8px; }
.lock-card p { color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- tablet dan laptop kecil: sidebar jadi menu, grid dua kolom ---------- */

@media (max-width: 1099px) {
  .topbar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: sticky; top: 0; z-index: 15;
    padding: 8px 16px;
    background: rgba(242, 242, 240, 0.8);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .topbar .brand { padding: 0; font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .side { transform: translateX(-120%); transition: transform 0.2s; inset: 8px auto 8px 8px; width: min(300px, calc(100vw - 56px)); background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); visibility: hidden; }
  .side.open { transform: none; visibility: visible; }
  .scrim.open { display: block; position: fixed; inset: 0; background: rgba(17, 17, 17, 0.45); z-index: 18; border: 0; width: 100%; }
  .main { margin-left: 0; padding-top: 24px; }
  .g3, .g-tier { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); align-items: start; }
.g-focus { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-focus > :first-child { grid-column: 1 / -1; }
  .cal-layout { grid-template-columns: minmax(0, 1fr); }
  .cal-cell { min-height: 76px; }
}

/* ---------- ponsel: satu kolom, tabel jadi kartu bertumpuk ---------- */

@media (max-width: 719px) {
  :root { --ctl-h: 44px; --pad: 16px; }
  .main { padding: 16px 16px 48px; }
  .g2, .g3, .g-focus, .two, .form.two-col, .form.ev { grid-template-columns: minmax(0, 1fr); }
  .form.ev > * { grid-area: auto !important; }
  .span2 { grid-column: auto; }
  .card { border-radius: 20px; }
  .wiz { padding-top: 24px; }
  .wiz .card { padding: 20px 16px; }
  .btn.sm, .tab { min-height: 44px; }
  .nav-btn, .nav-grp, .nav-sub .nav-btn { min-height: 44px; }
  .icon-btn { width: 44px; height: 44px; }
  .cat { padding: 8px 12px 12px; }
  .cat-h { flex-wrap: wrap; }
  .cat-name { flex: 1 1 0; }
  .cat-sum { order: 5; flex: 1 1 100%; margin: 0 8px 4px 52px; justify-content: flex-start; }
  .cat-sum div { justify-items: start; }
  .tbl td.grip-cell { width: 100%; padding: 0; }
  .ptbl tr.detail td { padding: 0 0 12px; }
  .detail-box { padding: 16px 12px; }
  .link-btn { min-height: 44px; }
  .two { gap: 20px; margin-top: 20px; padding-top: 20px; }

  .tbl-wrap { overflow: visible; margin: 0; padding: 0; position: relative; }
  table.tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl thead { display: block; position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tbl thead tr { display: block; width: 1px; padding: 0; border: 0; }
  .tbl tr { border-bottom: 1px solid var(--edge); padding: 8px 0; }
  .tbl tr.grp, .tbl tr.add { padding: 0; border-bottom: 0; }
  .tbl tr.grp td { border-radius: 10px; margin-top: 12px; padding: 10px 12px; }
  .tbl tr.add td { padding: 8px 0 4px; }
  .tbl td, .tbl tr > :first-child, .tbl tr > :last-child { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 10px; align-items: center; border: 0; padding: 4px 0; text-align: left !important; width: 100%; }
  .tbl td[data-l]::before { content: attr(data-l); font-size: 0.75rem; font-weight: 600; color: var(--ink-3); }
  .tbl td:not([data-l]) { grid-template-columns: minmax(0, 1fr); }
  .tbl td[data-l] > * { grid-column: 2; }
  .tbl td .st.below, .tbl td.sug .st { justify-content: flex-start; margin: 0; }
  .tbl td .sub { margin-top: 0; }
  .tbl td.act { justify-items: end; }
  .tbl td.sug { background: none; }
  .tbl td .st { margin-left: 0; }
  .tbl input[type='text'], .tbl input[type='url'], .tbl select, .tbl .date-btn { min-height: 44px; min-width: 0; width: 100%; }
  .tbl tr.tot { border-bottom: 0; }
  .clip { max-width: none; white-space: normal; }
  .pair { grid-template-columns: minmax(0, 1fr); }

  .day-row { grid-template-columns: minmax(0, 1fr) auto; }
  .day-row .bar { grid-column: 1 / -1; order: 3; }
  .day-row .fig { text-align: left; grid-column: 1; }
  .sched-body { padding: 4px 16px 12px; }
  table.sched, .sched tbody { display: block; }
  .sched thead { display: block; position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .sched tr { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); column-gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); }
  .sched tbody tr:first-child { border-top: 0; }
  .sched td { display: block; border: 0; padding: 0; grid-column: 2; }
  .sched td.s-fit { width: auto; }
  .sched .s-time { grid-column: 1; grid-row: 1 / span 6; width: auto; padding-left: 28px; }
  .sched .s-time span { font-size: 0.75rem; }
  .sched .s-time::before { left: 9px; top: -12px; bottom: -12px; }
  .sched tbody tr:first-child .s-time::before { top: 12px; }
  .sched tbody tr:last-child .s-time::before { bottom: auto; height: 24px; }
  .sched .s-time::after { left: 4px; top: 12px; margin-top: 0; }
  .sched td[data-l]:not(:empty)::before { content: attr(data-l) ': '; font-size: 0.75rem; font-weight: 600; color: var(--ink-3); }
  .sched td[data-l] { font-size: 0.875rem; margin-top: 2px; }
  .sched td.s-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
  .sched .s-pills .pill + .pill { margin-left: 0; }
  .sched td.s-pills:empty { display: none; }
  .sched tr.s-gap { padding: 4px 0; border-top: 0; }
  .sched tr.s-gap td { padding: 0; }
  .sched tbody tr:hover td { background: none; }
  .mini input, .mini select, .mini .date-btn, .mini .chk { min-height: 44px; }
  .mini .l3 .extra { grid-template-columns: minmax(0, 1fr); }
  .mini .plat { grid-template-columns: minmax(0, 1fr) auto; }
  .mini .plat > select { grid-column: 1 / 2; }
  .mini .plat > .icon-btn { grid-row: 1; grid-column: 2; }
  .mini .plat > a { justify-self: start; }
  .mini .plat > input, .mini .plat.other > input:first-of-type, .mini .plat.other > input:last-of-type { grid-column: 1 / -1; }
  .items li { padding: 0; margin: 0; }

  .cal-head span { padding: 0; text-align: center; }
  .cal-grid, .cal-head { gap: 2px; }
  .cal-cell { min-height: 56px; padding: 4px; align-items: center; border-radius: 10px; }
  .cal-n { margin: 0; }
  .cal-ev, .cal-more { display: none; }
  .cal-dot { display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-size: 0.6875rem; font-weight: 700; }
  .cal-cell.is-event .cal-dot { background: var(--on-ink); color: var(--ink); }

  #cal { position: fixed; left: 50% !important; top: 50% !important; transform: translate(-50%, -50%); width: min(344px, calc(100vw - 24px)); box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22), 0 0 0 100vmax rgba(17, 17, 17, 0.45); }
  .dp-grid button { width: 44px; height: 44px; }
  .dp-grid, .dp-dow { gap: 0; }

  .toast { left: 16px; right: 16px; transform: none; justify-content: space-between; border-radius: 20px; }
}

/* ---------- semua event ---------- */

.ev-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.ev-card { display: flex; flex-direction: column; gap: 8px; min-height: 220px; }
.ev-card .spread { min-height: 26px; }
.ev-name { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.ev-meta { color: var(--ink-2); font-size: 0.875rem; }
.card.ink .ev-meta { color: var(--on-ink); }
.ev-card .sub { margin-top: 0; }
.ev-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.card.ink .pill.on { background: var(--on-ink); color: var(--ink); }
.card.ink .btn.ghost { color: var(--on-ink); border-color: #55554f; }
.card.ink .btn.ghost:hover { background: rgba(255, 255, 255, 0.1); }
.card.ink .icon-btn { color: var(--on-ink-2); }
.card.ink .icon-btn.del:hover { background: rgba(255, 255, 255, 0.12); color: #ffb4ab; }
@media (max-width: 719px), (pointer: coarse) { .nav-btn kbd { display: none; } }

/* ---------- link panitia (halaman lihat-saja, tanpa sidebar) ---------- */
.share-wrap { max-width: 1040px; margin: 0 auto; padding: 32px 24px 48px; }
.share-wrap .page-h { align-items: flex-end; }
.share-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.share-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.share-list li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.share-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.share-list li.is-done > span:last-child { color: var(--ink-3); }
.share-list .st { font-size: 0.8125rem; font-weight: 600; }
.share-foot { margin-top: 32px; text-align: center; }
@media (max-width: 719px) {
  .share-wrap { padding: 20px 16px 40px; }
  .share-list li { grid-template-columns: 1fr; gap: 2px; }
}
