:root {
  --bg: #ffffff;
  --bg-soft: #eef5ea;
  --paper: #ffffff;
  --ink: #223324;
  --ink-soft: #607163;
  --muted: #9fac9f;
  --line: #dcebd6;
  --sage: #4f8a52;
  --sage-dark: #2c4d2e;
  --sage-pale: #eef5ea;
  --gold: #c9973f;
  --gold-pale: #f3e3bd;
  --clay: #a85c48;
  --clay-pale: #f1dcd3;
  --shadow: none;
  --radius: 20px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Nunito Sans', system-ui, sans-serif;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}

a { color: var(--sage-dark); }

/* ---- Topbar ---- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 6vw;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 32px; height: 32px; border-radius: 10px; background: var(--sage-pale);
  color: var(--sage); display: flex; align-items: center; justify-content: center;
}
.brand-name { font-family: 'Fraunces', serif; font-weight: 600; font-size: 19px; color: var(--sage-dark); }
.brand-tag { color: var(--muted); font-size: 13px; }
.topbar-links { display: flex; gap: 18px; align-items: center; font-size: 13px; }
.topbar-links a { color: var(--ink-soft); text-decoration: none; }
.topbar-links a:hover { color: var(--sage-dark); }

/* ---- Layout ---- */
.wrap { max-width: 880px; margin: 0 auto; padding: 44px 6vw 90px; }
.wrap-narrow { max-width: 640px; }

.hero { text-align: center; padding-top: 20px; }
.hero h1 {
  font-size: clamp(28px, 4.6vw, 42px);
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--sage-dark);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.hero p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; max-width: 400px; margin: 0 auto; }

/* ---- Sprig divider ---- */
.section-label {
  text-align: center; font-size: 12px; letter-spacing: 0.06em; color: var(--muted);
  font-weight: 700; margin: 54px 0 24px; text-transform: uppercase;
}

/* ---- Base picker cards ---- */
.base-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 0;
}
.base-card {
  background: var(--sage-pale);
  border: none;
  border-radius: var(--radius);
  padding: 28px 24px;
  cursor: pointer;
  text-decoration: none;
  color: var(--ink);
  display: block;
  transition: background 0.15s ease;
}
.base-card:hover { background: #e2f0dc; }
.base-card .base-icon {
  width: 42px; height: 42px; border-radius: 12px; background: #fff; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; color: var(--sage);
}
.base-card h3 { font-size: 20px; margin-bottom: 6px; color: var(--sage-dark); }
.base-card p { color: var(--ink-soft); font-size: 13px; margin: 0 0 18px; line-height: 1.5; }
.base-card .base-meta { display: flex; gap: 10px; flex-wrap: wrap; }
.base-card .base-meta span {
  background: #fff; border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 700; color: var(--sage);
}

/* ---- Calendar ---- */
.cal-header { display: flex; align-items: center; justify-content: space-between; margin: 28px 0 18px; }
.cal-nav { display: flex; align-items: center; gap: 14px; }
.cal-nav button {
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px;
  width: 36px; height: 36px; cursor: pointer; font-size: 15px; color: var(--ink);
}
.cal-nav button:disabled { opacity: 0.35; cursor: not-allowed; }
.cal-month-label { font-family: 'Fraunces', serif; font-size: 20px; min-width: 170px; text-align: center; }

.cal-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.cal-legend-item { display: flex; align-items: center; gap: 6px; }
.cal-legend .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-open { background: var(--sage); }
.dot-limited { background: var(--gold); }
.dot-full { background: var(--clay); }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.cal-dow { text-align: center; font-size: 11.5px; color: var(--muted); padding-bottom: 4px; text-transform: uppercase; letter-spacing: 0.04em; }
.cal-cell {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  padding: 8px 6px 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.12s ease, transform 0.12s ease;
  position: relative;
}
.cal-cell:hover { border-color: var(--sage); transform: translateY(-2px); }
.cal-cell.empty { background: transparent; border: none; cursor: default; }
.cal-cell.empty:hover { transform: none; }
.cal-cell.past { opacity: 0.32; cursor: not-allowed; }
.cal-cell.past:hover { border-color: var(--line); transform: none; }
.cal-cell.full { opacity: 0.55; }
.cal-cell .cal-date-num { font-size: 13px; font-weight: 600; }
.cal-cell .cal-dots { display: flex; gap: 4px; }
.cal-cell .cal-dots .dot { width: 6px; height: 6px; border-radius: 50%; }
.cal-cell.today .cal-date-num { color: var(--sage-dark); text-decoration: underline wavy var(--gold); text-underline-offset: 3px; }

/* ---- Day sheet / booking modal ---- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(58, 68, 48, 0.42);
  display: flex; align-items: flex-end; justify-content: center; z-index: 50; backdrop-filter: blur(2px);
}
@media (min-width: 640px) { .modal-backdrop { align-items: center; } }
.modal-backdrop.hidden { display: none; }
.modal {
  background: var(--paper); width: 100%; max-width: 500px; max-height: 92vh; overflow-y: auto;
  border-radius: 20px 20px 0 0; padding: 30px 26px 34px; position: relative; box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
  border: 1.5px solid var(--line); border-bottom: none;
}
@media (min-width: 640px) { .modal { border-radius: 20px; border-bottom: 1.5px solid var(--line); } }
.modal-close {
  position: absolute; top: 16px; right: 16px; background: var(--bg-soft); border: none;
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 14px; color: var(--muted);
}
.modal h3 { font-size: 21px; margin-bottom: 4px; }
.modal .modal-sub { color: var(--muted); font-size: 13.5px; margin: 0 0 18px; }

.type-option {
  display: flex; justify-content: space-between; align-items: center;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px;
  cursor: pointer; background: var(--paper);
}
.type-option:hover { border-color: var(--sage); }
.type-option.disabled { opacity: 0.45; cursor: not-allowed; }
.type-option .type-name { font-weight: 600; font-size: 14.5px; }
.type-option .type-remaining { font-size: 12px; color: var(--muted); }
.type-option .type-price { font-family: 'Fraunces', serif; color: var(--sage-dark); font-weight: 600; }

.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.form-group input[type=text], .form-group input[type=url], .form-group textarea {
  width: 100%; padding: 10px 13px; border-radius: 10px; border: 1.5px solid var(--line);
  font-family: inherit; font-size: 14px; background: var(--bg); color: var(--ink);
}
.form-group textarea { resize: vertical; min-height: 64px; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--sage); }

.qris-box { background: var(--bg); border: 1.5px dashed var(--line); border-radius: 14px; padding: 16px; text-align: center; margin-bottom: 16px; }
.qris-box img, .qris-box .qris-placeholder {
  width: 150px; height: 150px; margin: 0 auto 8px; border-radius: 10px; object-fit: cover;
}
.qris-box .qris-placeholder {
  background: repeating-linear-gradient(45deg, var(--sage-pale), var(--sage-pale) 6px, var(--paper) 6px, var(--paper) 12px);
  display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 11px;
}
.qris-box p { margin: 0; font-size: 12px; color: var(--muted); }

.terms-check { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; color: var(--ink-soft); margin-bottom: 18px; line-height: 1.5; }
.terms-check input { margin-top: 3px; }

.btn {
  width: 100%; padding: 12px; border: none; border-radius: 12px; background: var(--sage);
  color: #fff; font-weight: 600; font-size: 15px; font-family: 'Fraunces', serif; cursor: pointer;
  transition: background 0.15s;
}
.btn:hover { background: var(--sage-dark); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-secondary { background: transparent; color: var(--sage-dark); border: 1.5px solid var(--sage); }
.btn-secondary:hover { background: var(--sage-pale); }
.btn-outline { background: var(--paper); color: var(--ink); border: 1.5px solid var(--line); }

.alert { padding: 11px 14px; border-radius: 10px; font-size: 13px; margin-bottom: 15px; }
.alert-error { background: var(--clay-pale); color: #8a3e2c; }
.alert-success { background: var(--sage-pale); color: var(--sage-dark); }

.success-view { text-align: center; padding: 8px 0; }
.success-view .icon { font-size: 40px; margin-bottom: 10px; }
.success-view h3 { margin-bottom: 8px; }
.success-view p { color: var(--muted); font-size: 14px; line-height: 1.6; }

.empty-state { color: var(--muted); font-size: 14px; }

.foot { text-align: center; padding: 26px; color: var(--muted); font-size: 12px; }

/* ---- Terms page ---- */
.terms-content { white-space: pre-line; line-height: 1.8; font-size: 14.5px; color: var(--ink-soft); background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 28px; }

/* ---- Admin ---- */
.admin-wrap { max-width: 1040px; }
.admin-login {
  max-width: 360px; margin: 80px auto; padding: 32px;
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); border: 1.5px solid var(--line);
}
.admin-login h2 { margin-bottom: 18px; }

.tabs { display: flex; gap: 8px; margin: 24px 0; flex-wrap: wrap; }
.tab-btn {
  padding: 9px 16px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper);
  cursor: pointer; font-weight: 600; font-size: 13.5px; color: var(--muted);
}
.tab-btn.active { background: var(--sage-dark); color: #fff; border-color: var(--sage-dark); }

.booking-card { background: var(--paper); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.booking-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.booking-top h4 { font-size: 16px; margin-bottom: 3px; }
.booking-meta { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 10px 0; }
.booking-meta a { color: var(--sage-dark); }
.proof-thumb { max-width: 160px; border-radius: 10px; border: 1px solid var(--line); cursor: pointer; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-pending { background: var(--gold-pale); color: #8a6414; }
.badge-approved { background: var(--sage-pale); color: var(--sage-dark); }
.badge-rejected { background: var(--clay-pale); color: #8a3e2c; }
.booking-actions { display: flex; gap: 10px; margin-top: 14px; }
.booking-actions button { flex: 1; padding: 10px; border-radius: 10px; border: none; font-weight: 600; cursor: pointer; }
.btn-approve { background: var(--sage); color: #fff; }
.btn-reject { background: var(--clay-pale); color: #8a3e2c; }

.base-form, .terms-form {
  background: var(--paper); padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow);
  margin-bottom: 20px; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line);
}
.base-form .full, .terms-form .full { grid-column: 1 / -1; }
.base-form label, .terms-form label { font-size: 12px; font-weight: 600; display: block; margin-bottom: 5px; color: var(--muted); }
.base-form input, .base-form textarea, .terms-form textarea {
  width: 100%; padding: 9px 11px; border-radius: 9px; border: 1.5px solid var(--line); font-family: inherit; background: var(--bg);
}
.terms-form textarea { min-height: 180px; font-family: inherit; }

.admin-base-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--paper); border-radius: 14px; padding: 14px 16px; margin-bottom: 8px; border: 1px solid var(--line);
}
.admin-base-row .meta { font-size: 12.5px; color: var(--muted); }
.admin-base-row .actions { display: flex; gap: 8px; }
.admin-base-row .actions button { padding: 6px 12px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--bg); cursor: pointer; font-size: 12.5px; }
.admin-base-row .actions .del-btn { color: #8a3e2c; }

.admin-login-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--sage-pale); padding: 20px;
}
.admin-login-card {
  background: #fff; border-radius: 20px; padding: 40px 36px; width: 100%; max-width: 360px;
  box-shadow: 0 10px 40px -14px rgba(44, 77, 46, 0.25);
}
.admin-login-mark {
  width: 44px; height: 44px; border-radius: 12px; background: var(--sage-pale); color: var(--sage);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.admin-login-card h2 { font-size: 20px; margin-bottom: 4px; color: var(--sage-dark); }
.admin-login-sub { color: var(--muted); font-size: 13px; margin: 0 0 22px; }

.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 220px; flex-shrink: 0; background: var(--sage-dark); color: #fff;
  display: flex; flex-direction: column; padding: 24px 16px;
}
.admin-sidebar-brand {
  display: flex; align-items: center; gap: 9px; color: #fff; font-weight: 700;
  font-size: 14.5px; padding: 0 8px 24px; opacity: 0.95;
}
.admin-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.admin-sidebar .tab-btn {
  background: transparent; border: none; color: rgba(255,255,255,0.75); text-align: left;
  padding: 11px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 600; cursor: pointer;
}
.admin-sidebar .tab-btn.active { background: rgba(255,255,255,0.14); color: #fff; }
.admin-sidebar .tab-btn:hover { color: #fff; }
.admin-logout-btn {
  background: transparent; border: 1px solid rgba(255,255,255,0.3); color: #fff;
  padding: 10px; border-radius: 10px; cursor: pointer; font-size: 13px; font-weight: 600; margin-top: 12px;
}
.admin-logout-btn:hover { background: rgba(255,255,255,0.1); }
.admin-main { flex: 1; padding: 36px 4vw; max-width: 900px; }

.booking-filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.filter-chip {
  background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 15px;
  font-size: 13px; font-weight: 600; color: var(--ink-soft); cursor: pointer;
}
.filter-chip.active { background: var(--sage-dark); border-color: var(--sage-dark); color: #fff; }

.booking-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 16px; margin-bottom: 8px; cursor: pointer; transition: border-color 0.12s ease;
}
.booking-row:hover { border-color: var(--sage); }
.booking-row .row-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.booking-row .row-icon {
  width: 38px; height: 38px; border-radius: 10px; background: var(--sage-pale); color: var(--sage-dark);
  display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0;
}
.booking-row .row-text { min-width: 0; }
.booking-row .row-title { font-weight: 700; font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.booking-row .row-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.booking-row .row-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.booking-row .chevron { color: var(--muted); font-size: 14px; }

.detail-section { margin-bottom: 18px; }
.detail-label { font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.detail-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.detail-row:last-child { border-bottom: none; }
.detail-row .k { color: var(--ink-soft); }
.detail-row .v { color: var(--ink); font-weight: 600; text-align: right; }
.detail-row .v a { color: var(--sage-dark); }
.detail-proof { width: 100%; border-radius: 12px; border: 1px solid var(--line); cursor: pointer; margin-top: 6px; }


/* ---- booking form: type-specific fields, tracking link ---- */
.track-link-box {
  background: var(--sage-pale); border-radius: 12px; padding: 14px 16px; font-size: 12.5px;
  color: var(--sage-dark); margin-top: 16px; word-break: break-all; line-height: 1.6;
}
.track-link-box strong { display: block; margin-bottom: 4px; font-size: 13px; }
.copy-track-btn {
  margin-top: 8px; background: #fff; border: 1.5px solid var(--sage); color: var(--sage-dark);
  border-radius: 8px; padding: 6px 12px; font-size: 12px; font-weight: 700; cursor: pointer;
}

/* ---- dashboard sidebar v2 (5 menu) ---- */
.admin-sidebar .nav-item {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 11px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 600;
  color: rgba(255,255,255,0.75); cursor: pointer; margin-bottom: 3px; text-decoration: none;
}
.admin-sidebar .nav-item.active { background: rgba(255,255,255,0.15); color: #fff; }
.admin-sidebar .nav-item:hover { color: #fff; }
.admin-sidebar .nav-item .count { background: rgba(255,255,255,0.2); border-radius: 999px; padding: 1px 8px; font-size: 11px; }
.admin-sidebar .nav-item.active .count { background: var(--gold); color: #4a3400; }
.admin-sidebar .nav-divider { height: 1px; background: rgba(255,255,255,0.15); margin: 14px 0; }

.order-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 8px;
  cursor: pointer; transition: border-color 0.12s ease;
}
.order-row:hover { border-color: var(--sage); }
.order-row .row-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.order-row .row-icon {
  width: 38px; height: 38px; border-radius: 10px; background: var(--sage-pale); color: var(--sage-dark);
  display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0;
}
.order-row .row-title { font-weight: 700; font-size: 14px; }
.order-row .row-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.order-row .row-date-badge { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 8px; white-space: nowrap; }
.row-date-soon { background: var(--gold-pale); color: #8a5c0b; }
.row-date-ok { background: var(--sage-pale); color: var(--sage-dark); }
.order-row .row-actions { display: flex; gap: 6px; flex-shrink: 0; }
.mini-btn { font-size: 12px; font-weight: 700; padding: 8px 13px; border-radius: 8px; border: none; cursor: pointer; white-space: nowrap; }
.mini-btn.mb-approve { background: var(--sage); color: #fff; }
.mini-btn.mb-neutral { background: var(--sage-pale); color: var(--sage-dark); }

.detail-panel-inline { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 26px; margin-top: 14px; margin-bottom: 14px; }
.field-block { margin-bottom: 18px; }
.field-label { font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.field-value { font-size: 13.5px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 13px; white-space: pre-wrap; }
.image-preview-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.image-thumb { width: 100px; height: 100px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); cursor: pointer; }
.download-btn {
  font-size: 12.5px; font-weight: 700; color: var(--sage-dark); background: var(--sage-pale);
  border: none; border-radius: 8px; padding: 9px 15px; cursor: pointer; text-decoration: none; display: inline-block;
}
.reject-box { background: var(--clay-pale); border-radius: 12px; padding: 14px 16px; margin-top: 16px; }
.reject-box textarea { width: 100%; border: 1px solid #e0c3ba; border-radius: 8px; padding: 8px 10px; font-family: inherit; font-size: 13px; resize: vertical; min-height: 60px; }

.settings-section { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 20px 22px; margin-bottom: 14px; }
.settings-section h4 { font-size: 15px; margin-bottom: 4px; }
.settings-section p { font-size: 12.5px; color: var(--muted); margin: 0 0 14px; }

.invoice-card { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 30px; max-width: 420px; margin: 0 auto; }
.invoice-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.invoice-status { font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.invoice-status.paid { background: var(--sage); color: #fff; }
.invoice-status.pending { background: var(--gold-pale); color: #8a5c0b; }
.invoice-status.rejected { background: var(--clay-pale); color: #8a3a26; }
.invoice-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.invoice-row:last-child { border-bottom: none; }

/* ---- hero package chips (base.js) ---- */
.hero-packages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px !important;
}
.package-chip {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 11px 18px;
  min-width: 96px;
}
.package-chip-name { font-weight: 600; font-size: 12.5px; color: var(--ink); }
.package-chip-price { font-family: 'Fraunces', serif; color: var(--sage-dark); font-weight: 600; font-size: 15px; margin-top: 2px; }

/* ---- accordion expand chevron (dashboard-settings.js) ---- */
.admin-base-row .expand-chevron {
  color: var(--sage);
  font-size: 15px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

/* ---- calendar cell: warna aja, gak ada teks slot ---- */
.cal-cell.status-open { background: var(--sage-pale); }
.cal-cell.status-limited { background: var(--gold-pale); }
.cal-cell.status-full { background: var(--clay-pale); }
.cal-cell .cal-dots { display: none; }

/* ---- day-sheet type-option: warna sesuai status paket ---- */
.type-option.status-open { background: var(--sage-pale); border-color: var(--sage-pale); }
.type-option.status-limited { background: var(--gold-pale); border-color: var(--gold-pale); }
.type-option.status-full { background: var(--clay-pale); border-color: var(--clay-pale); }

/* ---- Mobile responsive (≤640px) ---- */
@media (max-width: 640px) {
  .topbar {
    padding: 16px 5vw;
    flex-wrap: wrap;
    gap: 8px;
  }
  .brand-name { font-size: 16px; }
  .topbar-links { gap: 12px; font-size: 12px; }

  .wrap { padding: 28px 5vw 60px; }
  .hero h1 { font-size: 26px; margin-bottom: 10px; }
  .hero p { font-size: 13.5px; }

  .section-label { margin: 32px 0 16px; }

  .base-grid { grid-template-columns: 1fr; gap: 12px; }
  .base-card { padding: 20px 18px; }
  .base-card h3 { font-size: 17px; }

  .cal-header { margin: 20px 0 12px; flex-wrap: wrap; gap: 10px; }
  .cal-month-label { font-size: 16px; min-width: 0; }
  .cal-legend { gap: 10px; font-size: 11px; margin-bottom: 12px; }
  .cal-cell { border-radius: 9px; padding: 6px 4px 4px; }
  .cal-cell .cal-date-num { font-size: 11.5px; }
  .cal-dow { font-size: 10px; }

  .modal { padding: 22px 18px 26px; max-height: 88vh; }
  .modal h3 { font-size: 18px; }
  .type-option { padding: 12px 13px; }
  .type-option .type-name { font-size: 13.5px; }
  .qris-box img, .qris-box .qris-placeholder { width: 120px; height: 120px; }

  .form-group input[type=text], .form-group input[type=url], .form-group textarea {
    font-size: 16px; /* cegah zoom otomatis iOS pas fokus input */
  }

  /* ---- Admin: sidebar jadi bar horizontal, bukan kolom lebar ---- */
  .admin-shell { flex-direction: column; }
  .admin-sidebar {
    width: 100%;
    flex-direction: row;
    align-items: center;
    padding: 12px 14px;
    gap: 6px;
    overflow-x: auto;
  }
  .admin-sidebar-brand { display: none; }
  .admin-nav {
    flex-direction: row;
    flex: unset;
    gap: 4px;
    overflow-x: auto;
  }
  .admin-nav .nav-item, .admin-sidebar .tab-btn {
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 12.5px;
  }
  .admin-logout-btn { margin-top: 0; margin-left: auto; padding: 8px 12px; font-size: 12px; white-space: nowrap; }
  .admin-main { padding: 20px 5vw; }

  .tabs { gap: 6px; }
  .tab-btn { padding: 7px 12px; font-size: 12.5px; }

  .base-form, .terms-form {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .admin-base-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .admin-base-row .actions { flex-wrap: wrap; }

  .order-row, .booking-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .order-row .row-actions, .booking-row .row-right { justify-content: flex-start; }

  .detail-panel-inline { padding: 18px 16px; }
  .image-thumb { width: 80px; height: 80px; }

  .invoice-card { padding: 22px 18px; max-width: 100%; }
}
