:root {
  color-scheme: light;
  --bg: #fbfbfd;
  --card: #ffffff;
  --text: #1f1f29;
  --muted: #6f7280;
  --line: #e8e8ef;
  --primary: #7c3aed;
  --primary-soft: #f4efff;
  --green: #16a34a;
  --amber: #d97706;
  --red: #dc2626;
  --blue: #2563eb;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; overflow-x: hidden; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fbfbfd;
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.shell {
  width: min(100%, 480px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px 14px calc(112px + env(safe-area-inset-bottom));
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.topbar-brand img {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}
.eyebrow { color: var(--muted); font-size: 13px; margin: 0 0 2px; }
h1 { font-size: 24px; line-height: 1.12; margin: 0; letter-spacing: 0; }
h2 { font-size: 18px; margin: 22px 0 10px; }
h3 { font-size: 15px; margin: 0 0 8px; }
.icon-btn, .fab {
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: var(--card);
  box-shadow: 0 6px 16px rgba(30, 30, 42, .06);
}
.fab { background: var(--primary); color: white; font-size: 24px; }
.period { color: var(--muted); font-size: 13px; margin: 2px 0 14px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  box-shadow: 0 8px 22px rgba(31, 31, 41, .045);
}
.metric .label { color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.metric .value { font-weight: 800; font-size: 26px; line-height: 1; }
.metric.small .value { font-size: 17px; }
.muted { color: var(--muted); }
.note { color: var(--muted); font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }

.bars { display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 62px 1fr 32px; gap: 8px; align-items: center; font-size: 13px; }
.bar-track { height: 9px; border-radius: 999px; background: #eee7f6; overflow: hidden; }
.bar-fill { height: 100%; border-radius: inherit; background: var(--primary); min-width: 6px; }

.search {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: white;
}
.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  max-width: 100%;
  padding: 10px 14px 4px 2px;
  margin-right: -14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.chip {
  border: 1px solid var(--line);
  background: white;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 13px;
}
.chip.active { background: var(--primary); border-color: var(--primary); color: white; }
.list { display: grid; gap: 10px; }
.booking-card { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: center; }
.time { color: var(--primary); font-size: 12px; line-height: 1.2; }
.time span, .time strong { display: block; }
.time strong { font-size: 14px; margin-top: 3px; }
.title { font-weight: 750; line-height: 1.25; }
.sub { color: var(--muted); font-size: 13px; margin-top: 3px; }
.booking-loading { text-align: center; padding: 14px 0 4px; font-size: 13px; }
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 700;
  background: var(--primary-soft);
  color: var(--primary);
}
.badge.dp { background: #fff7ed; color: var(--amber); }
.badge.selesai { background: #ecfdf5; color: var(--green); }
.badge.batal { background: #fef2f2; color: var(--red); }
.badge.design { background: #eff6ff; color: var(--blue); }

.form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { color: var(--muted); font-size: 13px; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: white;
}
.field textarea { min-height: 88px; resize: vertical; }
.field-hint { display: block; margin-top: 5px; color: var(--amber); font-size: 12px; }
.compact-field { margin-top: 12px; }
.package-selector {
  display: grid;
  gap: 10px;
  max-height: 410px;
  overflow-y: auto;
  padding-right: 2px;
  -webkit-overflow-scrolling: touch;
}
.package-choice-group {
  display: grid;
  gap: 7px;
}
.choice-group-title {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--card);
  color: var(--primary);
  font-weight: 850;
  font-size: 13px;
  padding: 4px 0;
}
.variant-option {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: white;
  cursor: pointer;
}
.variant-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.variant-option strong {
  display: block;
  font-size: 13px;
  line-height: 1.3;
}
.variant-option small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  margin-top: 3px;
}
.variant-option:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 0 0 2px rgba(124, 58, 237, .12);
}
.btn {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 750;
  background: var(--primary);
  color: white;
}
.btn.secondary { background: white; color: var(--primary); border: 1px solid var(--line); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.compact { min-height: 34px; padding: 0 10px; font-size: 12px; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0; }
.summary-line strong { min-width: 0; text-align: right; overflow-wrap: anywhere; }
.progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin: 14px 0; }
.step { text-align: center; font-size: 11px; color: var(--muted); padding-top: 8px; border-top: 4px solid var(--line); }
.step.done { color: var(--primary); border-color: var(--primary); font-weight: 800; }
.layout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.layout-card { position: relative; cursor: pointer; }
.layout-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.layout-card:has(.layout-radio:checked) {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(124, 58, 237, .16), 0 8px 22px rgba(31, 31, 41, .045);
}
.selected-mark {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: none;
  place-items: center;
  background: var(--primary);
  color: white;
  font-weight: 850;
}
.layout-card:has(.layout-radio:checked) .selected-mark { display: grid; }
.thumb {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: #fbfbfd;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--primary);
  font-weight: 800;
}
.layout-shape {
  position: relative;
  padding: 10px;
  background: #fbfbfd;
  overflow: hidden;
}
.layout-shape .slot, .layout-shape .text-zone {
  position: absolute;
  border-radius: 5px;
  background: linear-gradient(145deg, #ffffff, #e9e9f1);
  border: 1px solid #d7d9e4;
}
.layout-shape .text-zone {
  background: repeating-linear-gradient(0deg, #f4efff, #f4efff 4px, #ffffff 4px, #ffffff 8px);
  border-color: #d8c9ff;
}
.shape-strip3 .slot { left: 30%; right: 30%; height: 22%; }
.shape-strip3 .s1 { top: 10%; } .shape-strip3 .s2 { top: 39%; } .shape-strip3 .s3 { top: 68%; }
.shape-strip3 .s4, .shape-strip3 .text-zone { display: none; }
.shape-strip3header .text-zone { left: 25%; right: 25%; top: 8%; height: 14%; }
.shape-strip3header .slot { left: 25%; right: 25%; height: 18%; }
.shape-strip3header .s1 { top: 27%; } .shape-strip3header .s2 { top: 49%; } .shape-strip3header .s3 { top: 71%; }
.shape-strip3header .s4 { display: none; }
.shape-strip4 .slot, .shape-strip4text .slot { left: 28%; right: 28%; height: 17%; }
.shape-strip4 .s1, .shape-strip4text .s1 { top: 8%; } .shape-strip4 .s2, .shape-strip4text .s2 { top: 29%; } .shape-strip4 .s3, .shape-strip4text .s3 { top: 50%; } .shape-strip4 .s4, .shape-strip4text .s4 { top: 71%; }
.shape-strip4 .text-zone { display: none; }
.shape-strip4text .text-zone { left: 12%; right: 12%; bottom: 5%; height: 8%; }
.shape-bigvertical .s1 { left: 22%; right: 22%; top: 8%; bottom: 18%; }
.shape-bigvertical .text-zone { left: 22%; right: 22%; bottom: 8%; height: 8%; }
.shape-bigvertical .s2, .shape-bigvertical .s3, .shape-bigvertical .s4 { display: none; }
.shape-bigtop3bottom .s1 { left: 12%; right: 12%; top: 10%; height: 42%; }
.shape-bigtop3bottom .s2 { left: 12%; top: 60%; width: 22%; height: 24%; }
.shape-bigtop3bottom .s3 { left: 39%; top: 60%; width: 22%; height: 24%; }
.shape-bigtop3bottom .s4 { right: 12%; top: 60%; width: 22%; height: 24%; }
.shape-bigtop3bottom .text-zone { display: none; }
.shape-grid2x2 .slot { width: 34%; height: 30%; }
.shape-grid2x2 .s1 { left: 14%; top: 16%; } .shape-grid2x2 .s2 { right: 14%; top: 16%; } .shape-grid2x2 .s3 { left: 14%; bottom: 16%; } .shape-grid2x2 .s4 { right: 14%; bottom: 16%; }
.shape-grid2x2 .text-zone { display: none; }
.shape-threeText .slot { width: 26%; height: 28%; top: 14%; }
.shape-threeText .s1 { left: 10%; } .shape-threeText .s2 { left: 38%; } .shape-threeText .s3 { right: 8%; }
.shape-threeText .s4 { display: none; } .shape-threeText .text-zone { right: 10%; bottom: 16%; width: 38%; height: 18%; }
.shape-threeMixed .s1 { left: 14%; top: 10%; width: 32%; height: 38%; }
.shape-threeMixed .s2 { right: 14%; top: 10%; width: 32%; height: 24%; }
.shape-threeMixed .s3 { right: 14%; top: 40%; width: 32%; height: 24%; }
.shape-threeMixed .s4 { display: none; } .shape-threeMixed .text-zone { left: 14%; right: 14%; bottom: 10%; height: 14%; }
.shape-twoLeftText .s1 { left: 10%; top: 12%; width: 34%; height: 32%; }
.shape-twoLeftText .s2 { left: 10%; bottom: 12%; width: 34%; height: 32%; }
.shape-twoLeftText .text-zone { right: 12%; top: 24%; width: 38%; height: 42%; }
.shape-twoLeftText .s3, .shape-twoLeftText .s4 { display: none; }
.shape-twoHorizontal .slot { top: 22%; width: 34%; height: 44%; }
.shape-twoHorizontal .s1 { left: 12%; } .shape-twoHorizontal .s2 { right: 12%; }
.shape-twoHorizontal .s3, .shape-twoHorizontal .s4, .shape-twoHorizontal .text-zone { display: none; }
.shape-strip2Horizontal .slot { left: 12%; right: 12%; height: 28%; }
.shape-strip2Horizontal .s1 { top: 18%; } .shape-strip2Horizontal .s2 { bottom: 18%; }
.shape-strip2Horizontal .s3, .shape-strip2Horizontal .s4, .shape-strip2Horizontal .text-zone { display: none; }
.shape-singleBig .s1 { left: 14%; right: 14%; top: 12%; bottom: 12%; }
.shape-singleBig .s2, .shape-singleBig .s3, .shape-singleBig .s4, .shape-singleBig .text-zone { display: none; }
.frame-preview {
  position: relative;
  overflow: hidden;
  padding: 10px;
  background:
    linear-gradient(135deg, rgba(124, 58, 237, .08), transparent 42%),
    #fff;
}
.frame-preview::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 4px solid var(--primary);
  border-radius: 6px;
  opacity: .88;
}
.frame-preview.elegant::before { border-color: #7c3aed; box-shadow: inset 0 0 0 2px #f6d365; }
.frame-preview.classic::before { border-color: #2f3a4f; box-shadow: inset 0 0 0 2px #d4af37; }
.frame-preview.simple::before { border-color: #7c3aed; }
.frame-strip {
  position: relative;
  z-index: 1;
  width: 58%;
  height: 76%;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 5px;
}
.frame-strip span {
  border-radius: 5px;
  background:
    linear-gradient(145deg, #f9fafb, #e8e8ef);
  border: 1px solid #d8dae4;
}
.frame-caption {
  position: absolute;
  right: 13px;
  bottom: 11px;
  z-index: 1;
  min-width: 42px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  padding: 4px 7px;
  font-size: 11px;
  text-align: center;
}
.menu-list { display: grid; gap: 8px; }
.menu-item {
  min-height: 54px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  display: grid;
  grid-template-columns: 32px 1fr 18px;
  align-items: center;
  gap: 10px;
}
.menu-ico {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 11px;
  font-weight: 850;
}
.package-group { margin-bottom: 10px; }
.package-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.package-head h2 { margin: 0 0 3px; }
.variant-list { display: grid; gap: 8px; margin-top: 10px; }
.variant-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}
.variant-actions {
  display: grid;
  justify-items: end;
  gap: 6px;
}
.variant-actions form { margin: 0; }
.check-row {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--text);
  font-size: 14px;
}
.check-row input { width: auto; }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 10px 0; }
.tab { text-align: center; border-radius: 8px; padding: 10px 4px; background: white; border: 1px solid var(--line); font-size: 13px; }
.tab.active { color: white; background: var(--primary); border-color: var(--primary); }
.qr { width: 180px; height: 180px; margin: 12px auto; display: block; border: 10px solid white; border-radius: 8px; }
.result-card-preview {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1080 / 1560;
  width: min(100%, 320px);
  max-width: 320px;
  margin: 14px auto 0;
  border-radius: 22px;
  background: #050505;
  color: #0b0b0d;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .16);
}
.result-card-preview::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 18px;
  background: #fff;
  clip-path: polygon(0 0, 61% 0, 78% 16%, 100% 16%, 100% 100%, 91% 100%, 73% 88%, 0 88%);
}
.result-card-top,
.result-card-foot,
.result-card-qr {
  position: relative;
  z-index: 1;
}
.result-card-top {
  display: grid;
  grid-template-columns: 42px 1fr 76px;
  gap: 9px;
  align-items: center;
  padding: 22px 22px 0 32px;
}
.result-card-top strong {
  font-size: 12px;
  line-height: 1.15;
  font-weight: 900;
}
.result-card-top img {
  width: 76px;
  height: 42px;
  object-fit: contain;
}
.result-drive-mark {
  width: 38px;
  height: 42px;
  display: grid;
  place-items: center;
}
.result-drive-mark svg {
  width: 32px;
  height: 30px;
  display: block;
}
.result-card-qr {
  display: block;
  width: 74%;
  aspect-ratio: 1;
  margin: 66px auto 0;
}
.result-card-foot {
  position: absolute;
  left: 28px;
  right: 116px;
  bottom: 11px;
  color: #f8e4a8;
  display: grid;
  gap: 3px;
}
.result-card-foot strong {
  display: grid;
  gap: 1px;
  line-height: .93;
  overflow-wrap: anywhere;
}
.result-card-foot small {
  font-size: 10px;
  font-weight: 850;
}
.gallery-link-list {
  display: grid;
  gap: 8px;
}
.gallery-link-row {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 8px;
  align-items: center;
}
.gallery-link-row .icon-btn {
  width: 42px;
  height: 42px;
}
.gallery-link-form .btn.secondary {
  justify-self: start;
}
.gallery-public .card {
  gap: 10px;
}
.login-shell {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 34px 16px;
  display: grid;
  align-content: center;
}
.brand-lockup { text-align: center; margin-bottom: 18px; }
.brand-lockup img { width: min(260px, 82vw); height: auto; }
.brand-lockup .tagline { color: var(--primary); font-size: 12px; font-weight: 850; margin-top: 6px; }
.password-wrap { display: grid; grid-template-columns: 1fr 44px; gap: 8px; }
.password-wrap .icon-btn { box-shadow: none; border: 1px solid var(--line); }
.domain-foot { text-align: center; margin-top: 18px; color: var(--muted); font-size: 12px; }
.invoice-public {
  background: #223127;
  padding: 28px 0;
}
.invoice-sheet {
  width: min(100% - 24px, 794px);
  min-height: min(1122px, calc(100vh - 56px));
  margin: 0 auto;
  background: #fff;
  color: #141417;
  padding: clamp(24px, 5vw, 48px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .2);
}
.invoice-sheet-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  border-bottom: 1px solid #1f2933;
  padding-bottom: 18px;
}
.invoice-sheet-head h1 {
  font-size: clamp(27px, 6vw, 38px);
  letter-spacing: 0;
  margin: 0 0 4px;
}
.invoice-sheet-head strong,
.invoice-sheet-head span {
  display: block;
  font-size: 13px;
  line-height: 1.35;
}
.invoice-sheet-head span { color: #64666f; }
.invoice-sheet-head img {
  width: min(142px, 31vw);
  max-height: 82px;
  height: auto;
  object-fit: contain;
  margin-top: 2px;
}
.invoice-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1.22fr;
  gap: clamp(18px, 5vw, 54px);
  margin: 26px 0 18px;
}
.invoice-meta-block dl { margin: 0; }
.invoice-meta-block dt {
  font-size: 12px;
  font-weight: 800;
  margin: 0 0 2px;
}
.invoice-meta-block dd {
  min-height: 22px;
  margin: 0 0 9px;
  padding-bottom: 5px;
  border-bottom: 1px solid #30343b;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.invoice-cost-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 12px;
  margin-top: 8px;
}
.invoice-cost-table th,
.invoice-cost-table td {
  border: 1px solid #30343b;
  padding: 8px 9px;
  vertical-align: top;
}
.invoice-cost-table thead th {
  background: #f0eeee;
  font-size: 11px;
  text-align: center;
}
.invoice-cost-table th:first-child,
.invoice-cost-table td:first-child {
  width: 42px;
  text-align: center;
}
.invoice-cost-table th:nth-child(2),
.invoice-cost-table td:nth-child(2) { width: 28%; }
.invoice-cost-table th:last-child,
.invoice-cost-table td:last-child {
  width: 130px;
  text-align: right;
  white-space: nowrap;
}
.invoice-total-box {
  width: min(280px, 100%);
  margin: 14px 0 0 auto;
  border: 1px solid #30343b;
  border-top: 0;
}
.invoice-total-box div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 8px 10px;
  border-top: 1px solid #30343b;
  font-size: 12px;
}
.invoice-total-box span {
  font-weight: 800;
}
.invoice-total-box strong {
  text-align: right;
  white-space: nowrap;
}
.invoice-total-box .primary {
  background: #f8f7f9;
  font-size: 14px;
}
.invoice-replaced {
  margin: 12px 0 0;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}
.invoice-sheet-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin-top: clamp(28px, 7vw, 72px);
}
.invoice-sheet-foot h2 {
  margin: 0 0 28px;
  font-size: clamp(24px, 5vw, 34px);
}
.invoice-sheet-foot p {
  margin: 4px 0;
  color: #4b4d55;
  font-size: 12px;
}
.invoice-payment-account {
  margin-top: 14px;
  display: grid;
  gap: 3px;
  color: #2d3038;
  font-size: 11px;
}
.invoice-payment-account strong {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0;
}
.invoice-payment-account span {
  overflow-wrap: anywhere;
}
.invoice-payment-account.preview {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbfd;
}
.company-profile-form .card {
  align-content: start;
}
.long-textarea {
  min-height: 180px;
  line-height: 1.45;
}
.company-logo-preview {
  width: 132px;
  min-height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbfd;
  padding: 10px;
}
.company-logo-preview img,
.about-company > img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.about-company {
  display: grid;
  gap: 12px;
}
.about-company > img {
  width: min(220px, 72vw);
  max-height: 112px;
}
.about-company h2 {
  margin: 4px 0 0;
}
.profile-copy {
  color: #343640;
  font-size: 14px;
  line-height: 1.58;
  overflow-wrap: anywhere;
  white-space: normal;
}
.company-info-list {
  display: grid;
  gap: 8px;
}
.company-info-list div {
  display: grid;
  gap: 3px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.company-info-list span {
  color: var(--muted);
  font-size: 12px;
}
.company-info-list strong {
  font-size: 13px;
  font-weight: 750;
  overflow-wrap: anywhere;
}
.invoice-qr-panel {
  width: min(230px, 48%);
  text-align: center;
  border: 1px solid #d7d7df;
  background: #fbfbfd;
  padding: 12px 12px 10px;
}
.invoice-qr-panel strong {
  display: block;
  font-size: 10px;
  margin-bottom: 3px;
}
.invoice-qr-panel strong::after {
  content: "Scan QR untuk cek status invoice";
  display: block;
  margin-top: 3px;
  color: #676a72;
  font-size: 8px;
  font-weight: 700;
}
.invoice-qr-panel img {
  width: 112px;
  height: 112px;
  margin: 8px auto 0;
  display: block;
  border: 6px solid #fff;
  box-shadow: 0 0 0 1px #30343b;
}
.invoice-qr-panel p,
.invoice-qr-panel small {
  display: block;
  margin: 5px 0 0;
  color: #676a72;
  font-size: 9px;
  overflow-wrap: anywhere;
}
.invoice-public-actions {
  width: min(100% - 24px, 794px);
  margin: 14px auto 0;
}
.invoice-download { width: fit-content; }
.verify-public {
  min-height: 100vh;
  background: #eef1f4;
  display: grid;
  place-items: center;
  padding: 18px;
}
.verify-card {
  width: min(100%, 440px);
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .1);
}
.verify-card img {
  width: 190px;
  height: auto;
  display: block;
  margin-bottom: 18px;
}
.verify-card h1 {
  font-size: 20px;
  margin: 14px 0 16px;
}
.history-row {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.history-row:last-child { border-bottom: 0; }
.history-row span { font-weight: 700; }
.history-row strong, .history-row em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}
@media (max-width: 420px) {
  .invoice-public { padding: 0; }
  .invoice-sheet {
    width: 100%;
    min-height: 100vh;
    padding: 24px 18px;
    box-shadow: none;
  }
  .invoice-sheet-head img { width: 94px; max-height: 58px; }
  .invoice-meta-grid { grid-template-columns: 1fr; gap: 2px; }
  .invoice-cost-table { font-size: 10px; }
  .invoice-cost-table th,
  .invoice-cost-table td { padding: 6px 5px; }
  .invoice-cost-table th:first-child,
  .invoice-cost-table td:first-child { width: 30px; }
  .invoice-cost-table th:last-child,
  .invoice-cost-table td:last-child { width: 94px; }
  .invoice-total-box { margin-left: 0; }
  .invoice-sheet-foot { align-items: flex-start; }
  .invoice-qr-panel { width: 150px; padding: 9px 8px; }
  .invoice-qr-panel img { width: 92px; height: 92px; }
}
@media print {
  .invoice-public { background: white; padding: 0; }
  .invoice-sheet {
    width: 210mm;
    min-height: 297mm;
    padding: 14mm;
    box-shadow: none;
  }
  .invoice-public-actions { display: none; }
}
.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 480px);
  height: calc(72px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: white;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  z-index: 20;
}
.nav-item { display: grid; place-items: center; align-content: center; gap: 3px; color: var(--muted); font-size: 11px; }
.nav-item .ico { font-size: 18px; line-height: 1; }
.nav-item.active { color: var(--primary); font-weight: 800; }
.inline-action { margin: 0; display: inline-flex; }
.inline-action .btn { width: 100%; }
.btn:disabled {
  opacity: .58;
  cursor: not-allowed;
}

@media (min-width: 720px) {
  .shell { width: min(100%, 720px); }
  .bottom-nav { width: min(100%, 720px); }
}

@media (max-width: 380px) {
  .grid-2 { gap: 8px; }
  .card { padding: 12px; }
  .metric .value { font-size: 23px; }
  .metric.small .value { font-size: 15px; }
  .booking-card { grid-template-columns: 48px 1fr auto; }
  .variant-row { grid-template-columns: 1fr; }
  .variant-actions { grid-template-columns: auto auto auto; justify-items: start; }
}
