@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Jost:wght@300;400;500;600&display=swap");

:root {
  /* Blush & rose gold */
  --bg: #fbf4f1;
  --paper: #ffffff;
  --ink: #2a1f1d;
  --ink-2: #5b4a45;
  --muted: #9b8580;
  --line: #f0e1dc;
  --line-2: #e4cdc6;
  --gold: #b07a66;
  --gold-soft: #f8e9e3;
  --blush: #f4dfd8;
  --ok: #4f7f63;
  --warn: #b0772a;
  --bad: #b24b4b;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  --r: 12px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: .01em; }
.caps { text-transform: uppercase; letter-spacing: .28em; font-size: 11px; font-weight: 500; color: var(--muted); }
.wrap { width: 100%; padding: 0 clamp(18px, 4vw, 64px); }

/* ---------- buttons & inputs ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--ink); background: var(--ink); color: #fff; padding: 11px 22px; border-radius: 999px; font: 500 13px var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; text-decoration: none; transition: .15s; white-space: nowrap; }
.btn:hover { background: #000; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.sm { padding: 7px 14px; font-size: 11px; }
.btn.gold { background: var(--gold); border-color: var(--gold); }
.btn.danger { background: transparent; color: var(--bad); border-color: #e3c4c4; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
label.f { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 500; color: var(--ink-2); letter-spacing: .04em; }
input, select, textarea { font: 400 14px var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 8px; padding: 10px 12px; width: 100%; outline: none; transition: border .15s; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); }
textarea { resize: vertical; min-height: 70px; }

/* ---------- public site ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(251, 244, 241, .9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 46px; height: 46px; object-fit: contain; mix-blend-mode: multiply; }
.brand b { font: 500 22px var(--serif); letter-spacing: .14em; text-transform: uppercase; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { text-decoration: none; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.nav a.btn { color: #fff; }
.nav a.btn.ghost { color: var(--ink); }
.nav a.btn.ghost:hover { color: #fff; }
@media (max-width: 760px) { .nav { gap: 8px; } .nav .btn.sm { padding: 7px 11px; letter-spacing: .08em; } }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } .brand b { font-size: 17px; } }

.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 70px); align-items: center; padding: clamp(40px, 7vw, 100px) 0; }
.hero h1 { font-size: clamp(44px, 6.4vw, 92px); line-height: .98; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p { font-size: 17px; color: var(--ink-2); max-width: 560px; margin: 22px 0 30px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.viewfinder { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: end; display: grid; place-items: center; }
.viewfinder::before, .viewfinder::after, .viewfinder i::before, .viewfinder i::after { content: ""; position: absolute; width: 18%; height: 18%; border: 1.5px solid var(--ink); }
.viewfinder::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.viewfinder::after { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.viewfinder i::before { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.viewfinder i::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.viewfinder img { width: 82%; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } .viewfinder { justify-self: center; max-width: 340px; } }

.section { padding: clamp(46px, 6vw, 90px) 0; border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(32px, 4vw, 52px); }

.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.theme-card { background: var(--paper); padding: 30px 28px; display: flex; flex-direction: column; gap: 10px; min-height: 210px; cursor: pointer; transition: background .15s; text-decoration: none; }
.theme-card:hover { background: var(--gold-soft); }
@media (max-width: 860px) { .themes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .themes { grid-template-columns: 1fr; } }
.theme-card .n { font: italic 400 18px var(--serif); color: var(--gold); }
.theme-card h3 { font-size: 32px; }
.theme-card p { color: var(--ink-2); margin: 0; flex: 1; }
.theme-card .go { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }

.pk-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.pk-tabs button { border: 1px solid var(--line-2); background: #fff; padding: 9px 18px; border-radius: 999px; font: 500 13px var(--sans); letter-spacing: .06em; cursor: pointer; }
.pk-tabs button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } }
.tier { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 30px 28px; display: flex; flex-direction: column; gap: 14px; }
.tier.lux { border-color: var(--ink); box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .35); }
.tier h3 { font-size: 30px; }
.tier .price { font: 500 30px var(--serif); }
.tier .price small { font: 400 13px var(--sans); color: var(--muted); }
.tier ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tier li { padding-left: 20px; position: relative; color: var(--ink-2); }
.tier li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); font-size: 11px; top: 3px; }

.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.contact a, .contact div { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 24px; text-decoration: none; display: flex; flex-direction: column; gap: 6px; }
.contact b { font: 500 22px var(--serif); }
footer.site { padding: 30px 0 40px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }
footer.site .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- booking form ---------- */
.book { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px, 3vw, 48px); padding: 40px 0 70px; align-items: start; }
@media (max-width: 960px) { .book { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 2.4vw, 32px); }
.step { margin-bottom: 30px; }
.step h3 { font-size: 26px; margin-bottom: 14px; display: flex; gap: 12px; align-items: baseline; }
.step h3 span { font: 500 12px var(--sans); color: var(--gold); letter-spacing: .2em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line-2); background: #fff; padding: 10px 16px; border-radius: 10px; cursor: pointer; font: 400 14px var(--sans); text-align: left; transition: .12s; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip small { display: block; font-size: 12px; opacity: .7; }
.chip.full { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 640px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 16px 0 22px; }
.summary dt { color: var(--muted); font-size: 13px; }
.summary dd { margin: 0; font-weight: 500; text-align: right; }
.note { font-size: 13px; color: var(--muted); }
.banner { background: var(--gold-soft); border: 1px solid #ecd3ca; color: #7a4f42; padding: 12px 16px; border-radius: 10px; font-size: 14px; margin: 14px 0; }
.banner.bad { background: #fbeeee; border-color: #f0cfcf; color: var(--bad); }
.card.done { text-align: center; padding: 50px 20px; }
.card.done h2 { font-size: 44px; margin: 10px 0; }

/* ---------- admin ---------- */
.admin { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.side { background: var(--paper); border-right: 1px solid var(--line); padding: 22px 16px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; }
.side .logo { width: 150px; margin: 0 auto 18px; mix-blend-mode: multiply; }
.side a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-size: 14px; letter-spacing: .03em; }
.side a:hover { background: var(--bg); color: var(--ink); }
.side a.on { background: var(--ink); color: #fff; }
.side a .ct { margin-left: auto; background: var(--gold); color: #fff; border-radius: 999px; font-size: 11px; padding: 1px 8px; }
.side .bottom { margin-top: auto; font-size: 12px; color: var(--muted); padding: 10px 14px; border-top: 1px solid var(--line); }
.main { padding: 26px clamp(18px, 2.6vw, 40px) 60px; min-width: 0; }
.main-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.main-head h1 { font-size: 40px; }
@media (max-width: 900px) {
  .admin { grid-template-columns: 1fr; }
  .side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; padding: 10px; }
  .side .logo, .side .bottom { display: none; }
  .side a { padding: 8px 10px; font-size: 13px; }
}

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 18px; }
.kpi { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.kpi .v { font: 500 36px/1.1 var(--serif); margin-top: 6px; }
.kpi .s { font-size: 12px; color: var(--muted); }
.cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1100px) { .cols, .cols3 { grid-template-columns: 1fr; } }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; min-width: 0; }
.panel h3 { font-size: 24px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.bars { display: flex; flex-direction: column; gap: 9px; }
.bar { display: grid; grid-template-columns: 110px 1fr 46px; gap: 10px; align-items: center; font-size: 13px; }
.bar .t { height: 10px; background: var(--bg); border-radius: 5px; overflow: hidden; }
.bar .t i { display: block; height: 100%; border-radius: 5px; }
.bar .n { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.vbars { display: flex; align-items: end; gap: 10px; height: 170px; padding-top: 10px; }
.vbars div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: end; font-size: 12px; color: var(--muted); }
.vbars i { width: 100%; max-width: 46px; background: var(--ink); border-radius: 6px 6px 2px 2px; min-height: 2px; }
.vbars b { color: var(--ink); font-weight: 500; }

.list { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 4px; border-bottom: 1px solid var(--line); cursor: pointer; }
.row:last-child { border-bottom: 0; }
.row:hover { background: var(--bg); }
.row .tm { font: 500 20px var(--serif); }
.row .who b { font-weight: 500; }
.row .who div { font-size: 12px; color: var(--muted); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.tag { display: inline-flex; align-items: center; font-size: 11px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-2); white-space: nowrap; letter-spacing: .03em; }
.tag.Request { background: #fff6e6; border-color: #f0d9a8; color: #8a5a00; }
.tag.Confirmed { background: #eef4fb; border-color: #c9dbef; color: #2e5f8f; }
.tag.Selesai { background: #eef6f1; border-color: #c8e0d2; color: var(--ok); }
.tag.Cancel { background: #f8eeee; border-color: #ecd0d0; color: var(--bad); }
.tag.paid { color: var(--ok); border-color: #c8e0d2; }
.tag.dp { color: var(--warn); border-color: #ecd9b4; }
.tag.unpaid { color: var(--bad); border-color: #ecd0d0; }
.tag.none, .tag.cancel { color: var(--muted); }

.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.filters > * { width: auto; min-width: 140px; }
.filters input[type=search] { min-width: 240px; flex: 1; }
.tbl-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th { text-align: left; font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fdf8f6; position: sticky; top: 0; white-space: nowrap; }
td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:hover td { background: #fdf6f3; }
tbody tr { cursor: pointer; }
td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td .sub { font-size: 12px; color: var(--muted); }

.cal-head { display: flex; align-items: center; gap: 10px; }
.cal-head h2 { font-size: 30px; min-width: 230px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--paper); border-radius: var(--r); overflow: hidden; }
.cal .dow { padding: 8px 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fdf8f6; }
.cal .day { min-height: 118px; padding: 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); cursor: pointer; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal .day:hover { background: var(--bg); }
.cal .day.out { background: #fcf7f5; color: #cdbab4; }
.cal .day.today .d { background: var(--ink); color: #fff; border-radius: 50%; }
.cal .d { font-size: 13px; width: 24px; height: 24px; display: grid; place-items: center; margin-bottom: 2px; }
.cal .ev { font-size: 11.5px; padding: 2px 6px; border-radius: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-left: 3px solid; background: #f9efeb; }
.cal .ev.c { text-decoration: line-through; opacity: .5; }
.cal .more { font-size: 11px; color: var(--muted); padding-left: 4px; }
@media (max-width: 760px) { .cal .day { min-height: 70px; } .cal .ev { font-size: 0; height: 6px; padding: 0; } }

.pk-grid { display: grid; gap: 18px; }
.pk-theme { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.pk-theme h3 { font-size: 26px; margin-bottom: 12px; }
.pk-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 1000px) { .pk-tiers { grid-template-columns: 1fr; } }
.pk-tier { border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #fefaf8; }
.pk-tier b { font: 500 20px var(--serif); }

/* modal */
.modal-bg { position: fixed; inset: 0; background: rgba(20, 20, 20, .35); z-index: 50; display: flex; justify-content: flex-end; }
.modal { background: var(--paper); width: min(760px, 100%); height: 100%; overflow: auto; padding: 26px clamp(18px, 3vw, 34px) 40px; box-shadow: -20px 0 50px -30px rgba(0, 0, 0, .4); animation: slide .2s ease-out; }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.modal h2 { font-size: 34px; margin-bottom: 4px; }
.modal .sec { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.modal .sec > .caps { margin-bottom: -4px; }
.modal-actions { display: flex; gap: 10px; justify-content: space-between; margin-top: 26px; flex-wrap: wrap; }
.warn { background: #fff6e6; border: 1px solid #f0d9a8; color: #7a5200; padding: 10px 14px; border-radius: 8px; font-size: 13px; }
.staff-chips .chip { padding: 7px 13px; font-size: 13px; }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 11px 20px; border-radius: 999px; font-size: 14px; z-index: 80; }

.login { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login .card { width: min(420px, 100%); text-align: center; }
.login img { width: 190px; margin: 0 auto 10px; mix-blend-mode: multiply; }
.login form { display: flex; flex-direction: column; gap: 12px; text-align: left; margin-top: 16px; }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.hide { display: none !important; }

/* ---------- larger, easier-to-read type ---------- */
body { font-size: 17px; line-height: 1.6; }
.caps { font-size: 12.5px; letter-spacing: .24em; }
.btn { font-size: 14px; padding: 13px 26px; }
.btn.sm { font-size: 12.5px; padding: 9px 16px; }
label.f { font-size: 14px; }
input, select, textarea { font-size: 16px; padding: 12px 14px; }
.note { font-size: 15px; }
.brand b { font-size: 25px; }
.nav a { font-size: 14px; }
.hero h1 { font-size: clamp(52px, 7.2vw, 108px); }
.hero p { font-size: 20px; max-width: 620px; }
.section-head h2 { font-size: clamp(38px, 4.8vw, 62px); }
.theme-card { padding: 34px 32px; min-height: 240px; }
.theme-card h3 { font-size: 38px; }
.theme-card .n { font-size: 21px; }
.theme-card p { font-size: 17px; }
.theme-card .go { font-size: 13px; }
.pk-tabs button { font-size: 15px; padding: 11px 22px; }
.tier h3 { font-size: 36px; }
.tier .price { font-size: 36px; }
.tier li { font-size: 17px; }
.contact b { font-size: 26px; }
.step h3 { font-size: 30px; }
.chip { font-size: 16px; padding: 12px 18px; }
.chip small { font-size: 13px; }
.summary dt { font-size: 15px; }
.banner { font-size: 15.5px; }
footer.site { font-size: 15px; }
/* admin */
.side a { font-size: 16px; padding: 11px 14px; }
.side .bottom { font-size: 13.5px; }
.main-head h1 { font-size: 48px; }
.kpi .v { font-size: 42px; }
.kpi .s { font-size: 14px; }
.panel h3, .pk-theme h3 { font-size: 28px; }
.bar { font-size: 15px; grid-template-columns: 120px 1fr 50px; }
.vbars div { font-size: 13.5px; }
.row .tm { font-size: 23px; }
.row .who div { font-size: 14px; }
table { font-size: 15.5px; }
th { font-size: 12.5px; }
td .sub { font-size: 13.5px; }
.tag { font-size: 12.5px; padding: 4px 10px; }
.cal-head h2 { font-size: 34px; }
.cal .dow { font-size: 12.5px; }
.cal .d { font-size: 15px; width: 28px; height: 28px; }
.cal .ev { font-size: 13px; }
.cal .more { font-size: 12.5px; }
.modal h2 { font-size: 38px; }
.warn { font-size: 14.5px; }
.toast { font-size: 15.5px; }
.staff-chips .chip { font-size: 15px; }
@media (max-width: 760px) { body { font-size: 16px; } .brand b { font-size: 18px; } .hero p { font-size: 18px; } }

/* ---------- blush accents ---------- */
body { background: radial-gradient(1200px 600px at 85% -10%, var(--blush), transparent 60%) no-repeat, var(--bg); }
.theme-card .n, .hero h1 em { color: var(--gold); }
.btn.gold, .side a .ct { background: var(--gold); border-color: var(--gold); }
.side { background: linear-gradient(180deg, #fff, #fdf6f3); }
.side a.on { background: var(--ink); }
.tier.lux { box-shadow: 0 22px 46px -28px rgba(176, 122, 102, .55); }
html, body { overflow-x: clip; }

:root { --fin-v: clamp(22px, 1.8vw, 30px); }
.kpi .v { white-space: nowrap; }

/* admin portfolio */
.pf-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.pf-adm { display: grid; grid-template-columns: 96px 1fr; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: #fff; transition: opacity .2s; }
.pf-adm.off { opacity: .5; }
.pf-thumb { aspect-ratio: 9 / 16; border-radius: 8px; background: linear-gradient(160deg, #f4dfd8, #e9c9bd) center / cover; display: grid; place-items: center; text-decoration: none; }
.pf-thumb span { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; font-size: 13px; }
.pf-fields { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pf-fields input, .pf-fields select { padding: 8px 10px; font-size: 14px; }
.pf-btns { display: flex; gap: 5px; flex-wrap: wrap; }
.pf-btns .btn.sm { padding: 6px 10px; font-size: 11.5px; }

.pf-fill { width: 100%; white-space: normal; line-height: 1.35; margin: 4px 0 12px; text-align: center; }
.pf-thumb:not(.has) { background: linear-gradient(160deg, #f4dfd8, #e5c3b6); }
.pf-btns .btn.danger { margin-left: auto; }
.pf-status { font-size: 12.5px; margin: -2px 0 0; }
.pf-status.bad { color: var(--warn); }

/* booking: date strip, slot grid, payment options */
.date-strip { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.day-card { flex: 0 0 auto; width: 92px; scroll-snap-align: start; border: 1px solid var(--line-2); background: #fff; border-radius: 14px; padding: 10px 8px; text-align: center; cursor: pointer; font: inherit; transition: background .2s, color .2s, border-color .2s, transform .25s var(--ease, ease); }
.day-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.day-card .dw { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.day-card .dd { font: 500 30px/1.1 var(--serif); display: block; }
.day-card .dm { font-size: 13px; color: var(--ink-2); }
.day-card .av { display: block; margin-top: 6px; font-size: 12px; font-weight: 500; color: var(--ok); }
.day-card .av.low { color: var(--warn); } .day-card .av.none { color: var(--bad); }
.day-card.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.day-card.on .dw, .day-card.on .dm, .day-card.on .av { color: #fff; }
.day-card.full { opacity: .5; }
.slot-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); margin-bottom: 12px; }
.slot-legend span { display: inline-flex; align-items: center; gap: 7px; }
.lg { width: 14px; height: 14px; border-radius: 4px; display: inline-block; border: 1px solid var(--line-2); }
.lg.free { background: #eef6f1; border-color: #c8e0d2; } .lg.full { background: #f6eaea; border-color: #ecd0d0; } .lg.pick { background: var(--ink); border-color: var(--ink); }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.slot { border: 1px solid #c8e0d2; background: #f3faf6; border-radius: 12px; padding: 12px 10px; text-align: center; cursor: pointer; font: inherit; transition: transform .25s var(--ease, ease), background .2s, color .2s, box-shadow .25s; }
.slot b { display: block; font: 500 22px var(--serif); }
.slot small { font-size: 12.5px; color: var(--ok); font-weight: 500; }
.slot:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 20px -16px rgba(0, 0, 0, .5); border-color: var(--ok); }
.slot.full { background: #f8eeee; border-color: #ecd0d0; cursor: not-allowed; color: #b9a3a0; }
.slot.full b { text-decoration: line-through; } .slot.full small { color: var(--bad); }
.slot.on { background: var(--ink); border-color: var(--ink); color: #fff; } .slot.on small { color: #fff; }
.slot.idle { background: #fff; border-color: var(--line-2); color: var(--muted); cursor: default; } .slot.idle small { color: var(--muted); }
.pay-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .pay-opts { grid-template-columns: 1fr; } }
.pay-opt { text-align: left; border: 1px solid var(--line-2); background: #fff; border-radius: 14px; padding: 16px 18px; cursor: pointer; font: inherit; display: flex; flex-direction: column; gap: 4px; transition: border-color .2s, box-shadow .25s, transform .25s var(--ease, ease); }
.pay-opt b { font-weight: 500; font-size: 17px; } .pay-opt span { font-size: 14px; color: var(--ink-2); }
.pay-opt:hover { border-color: var(--ink); transform: translateY(-2px); }
.pay-opt.on { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink) inset; background: #fffaf8; }
.book > * { min-width: 0; }

/* receipt upload */
.rcpt-form { display: flex; flex-direction: column; gap: 12px; }
.rcpt-drop { position: relative; display: flex; align-items: center; gap: 14px; border: 1.5px dashed var(--line-2); border-radius: 14px; padding: 14px; background: #fffaf8; cursor: pointer; transition: border-color .2s; }
.rcpt-drop:hover { border-color: var(--gold); }
.rcpt-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.rcpt-prev img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; display: block; }
.rcpt-hint { font-size: 15px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rcpt-admin { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: start; }
.rcpt-admin img { width: 120px; border-radius: 10px; border: 1px solid var(--line); cursor: zoom-in; }
.img-view { position: fixed; inset: 0; z-index: 95; background: rgba(28, 18, 16, .85); display: grid; place-items: center; padding: 20px; cursor: zoom-out; }
.img-view img { max-width: 100%; max-height: 92vh; border-radius: 12px; background: #fff; }

/* =================== mobile polish =================== */
.sm-only { display: none; }
@media (max-width: 760px) {
  .sm-only { display: inline; } .lg-only { display: none; }
  /* public top bar */
  .topbar .wrap { height: 60px; gap: 8px; }
  .brand { gap: 8px; min-width: 0; }
  .brand img { width: 36px; height: 36px; flex: none; }
  .brand b { font-size: 15px; letter-spacing: .1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nav { gap: 6px; flex: none; }
  .nav .btn.sm { padding: 8px 12px; font-size: 11px; letter-spacing: .06em; }
  .topbar.scrolled .wrap { height: 54px; }
  .hero { padding-top: 28px; }
  .hero .cta .btn { flex: 1 1 auto; }
  .section-head { margin-bottom: 22px; }

  /* admin: one-line scrollable menu */
  .side { position: sticky; top: 0; z-index: 30; flex-wrap: nowrap; overflow-x: auto; gap: 4px; padding: 8px 10px; scrollbar-width: none; box-shadow: 0 8px 20px -18px rgba(0,0,0,.4); }
  .side::-webkit-scrollbar { display: none; }
  .side a { flex: none; white-space: nowrap; padding: 9px 13px; font-size: 14.5px; }
  .side a:not(.on):hover { padding-left: 13px; }
  .side .bottom { display: flex !important; flex: none; align-items: center; gap: 8px; margin: 0; padding: 0 0 0 8px; border: 0; border-left: 1px solid var(--line); }
  .side .bottom #who { display: none; }
  .main { padding: 18px 14px 50px; }
  .main-head { margin-bottom: 16px; gap: 10px; }
  .main-head h1 { font-size: 36px; }
  .main-head > div:last-child { width: 100%; gap: 6px !important; }
  .main-head > div:last-child .btn { padding: 10px 14px; font-size: 12px; flex: 1 1 auto; }
  .main-head > div:last-child select { flex: 1 1 140px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi { padding: 14px; }
  .kpi .v { font-size: 30px; white-space: normal; word-break: break-word; }
  :root { --fin-v: 21px; }
  .panel { padding: 14px; }
  .panel h3 { font-size: 24px; flex-wrap: wrap; gap: 6px; }
  .bar { grid-template-columns: 92px 1fr 44px; font-size: 14px; }
  .filters > * { min-width: 0; flex: 1 1 45%; }
  .filters input[type=search] { flex-basis: 100%; min-width: 0; }

  /* booking table → cards */
  .tbl-wrap.cards { background: transparent; border: 0; overflow: visible; }
  .tbl-wrap.cards table, .tbl-wrap.cards tbody, .tbl-wrap.cards tr, .tbl-wrap.cards td { display: block; width: 100%; }
  .tbl-wrap.cards thead { display: none; }
  .tbl-wrap.cards tr { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; padding: 10px 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }
  .tbl-wrap.cards td { border: 0; padding: 4px 0; max-width: none !important; white-space: normal !important; text-align: left !important; }
  .tbl-wrap.cards td[data-label]::before { content: attr(data-label); display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .tbl-wrap.cards td.wide { grid-column: 1 / -1; }
  .tbl-wrap.cards td:empty { display: none; }

  /* calendar */
  .cal-head { flex-wrap: wrap; gap: 6px; width: 100%; }
  .cal-head h2 { font-size: 26px; min-width: 0; flex: 1; text-align: center; order: 0; }
  .cal-head [data-cal="0"] { order: 3; width: 100%; }
  .cal .dow { padding: 6px 2px; text-align: center; font-size: 10.5px; letter-spacing: .06em; }
  .cal .day { min-height: 58px; padding: 4px 3px; align-items: center; }
  .cal .d { font-size: 14px; width: 26px; height: 26px; }
  .cal .ev { font-size: 0; height: 5px; width: 100%; padding: 0; border-left-width: 0; border-radius: 3px; background: currentColor; }
  .cal .more { font-size: 10px; padding: 0; }
  .cal .day.sel { background: var(--gold-soft); }
  .day-agenda { margin-top: 14px; }

  /* finance chart scrolls sideways */
  .vbars.fin { overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; }
  .vbars.fin > div { flex: 0 0 46px; }

  /* lists with action buttons stack */
  .row { grid-template-columns: 56px 1fr auto; gap: 8px; }
  .row .tm { font-size: 20px; }
  #main .list .row[style*="1fr auto"], #main .list .row[style*="1fr auto auto"] { grid-template-columns: 1fr !important; }
  #main .list .row[style*="1fr auto"] > div:last-child { justify-content: flex-start !important; }

  /* admin portfolio cards */
  .pf-admin { grid-template-columns: 1fr; }
  .pf-adm { grid-template-columns: 78px 1fr; }

  /* editor drawer */
  .modal { padding: 18px 14px 30px; }
  .modal h2 { font-size: 30px; }
  .modal-actions .btn { flex: 1 1 auto; }
  .rcpt-admin { grid-template-columns: 90px 1fr; }
  .rcpt-admin img { width: 90px; }
  .pk-tier .grid2 { grid-template-columns: 1fr 1fr; }
}
.btn.disabled { opacity: .45; pointer-events: auto; }

/* costumes & add-ons */
.cos-filter { margin-bottom: 12px; }
.cos-filter .chip { padding: 7px 13px; font-size: 14px; }
.cos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.cos-card { position: relative; border: 1px solid var(--line-2); background: #fff; border-radius: 14px; overflow: hidden; cursor: pointer; text-align: left; padding: 0; font: inherit; display: flex; flex-direction: column; transition: transform .25s var(--ease, ease), box-shadow .25s, border-color .2s; }
.cos-card:hover:not(:disabled) { transform: translateY(-3px); box-shadow: 0 14px 28px -20px rgba(0,0,0,.5); }
.cos-card .ph { aspect-ratio: 3 / 4; background: linear-gradient(160deg, #f4dfd8, #e3c1b4); display: grid; place-items: center; overflow: hidden; }
.cos-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.cos-card .ph .ini { font: italic 400 34px var(--serif); color: #fff; }
.cos-card .tx { padding: 9px 11px 11px; display: flex; flex-direction: column; gap: 2px; }
.cos-card .tx b { font-weight: 500; font-size: 14.5px; line-height: 1.3; }
.cos-card .tx small { font-size: 12.5px; color: var(--muted); }
.cos-card .tx .pr { font-size: 13px; color: var(--gold); font-weight: 500; }
.cos-card.on { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink) inset; }
.cos-card.on::after { content: "✓"; position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; }
.cos-card.busy { opacity: .45; cursor: not-allowed; }
.cos-card.busy .tx small.st { color: var(--bad); }
.addon-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.addon { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; background: #fff; cursor: pointer; transition: border-color .2s, background .2s; }
.addon input { width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.addon span { flex: 1; font-size: 15px; } .addon b { font-weight: 500; font-size: 14px; color: var(--gold); white-space: nowrap; }
.addon:has(input:checked) { border-color: var(--ink); background: #fffaf8; }
.slot small.end { display: block; color: var(--muted); font-weight: 400; font-size: 11.5px; }
.slot.on small.end { color: #fff; }
@media (max-width: 640px) { .cos-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- grouped, scrollable sidebar ---------- */
.side { overflow-y: auto; overscroll-behavior: contain; padding: 18px 14px; gap: 0; scrollbar-width: thin; }
.side .logo { width: 110px; margin: 0 auto 14px; flex: none; }
.side-nav { display: flex; flex-direction: column; gap: 6px; }
.side .grp { display: flex; flex-direction: column; gap: 2px; }
.side .grp a { padding: 8px 12px; font-size: 15px; }
.side .grp-h { display: flex; align-items: center; justify-content: flex-start; width: 100%; background: none; border: 0; cursor: pointer;
  font: 500 11.5px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding: 12px 12px 6px; text-align: left; }
.side .grp-h::after { content: "▾"; font-size: 12px; transition: transform .2s; letter-spacing: 0; order: 2; margin-left: auto; }
.side .grp-h[data-ct]:not([data-ct=""])::after { margin-left: 8px; }
.side .grp-h[data-ct]:not([data-ct=""])::before { content: attr(data-ct); order: 1; margin-left: auto; background: var(--gold); color: #fff; border-radius: 999px; font-size: 10.5px; padding: 1px 7px; letter-spacing: 0; }
.side .grp.closed .grp-h::after { transform: rotate(-90deg); }
.side .grp.closed .grp-b { display: none; }
.side .grp-b { display: flex; flex-direction: column; gap: 2px; }
.side .bottom { margin-top: auto; padding: 10px 0 0; display: flex; flex-direction: column; gap: 2px; flex: none; }
.side .bottom #who { padding: 4px 12px 6px; font-size: 12.5px; color: var(--muted); }
.side .bottom a { padding: 7px 12px; font-size: 14px; }
@media (max-width: 900px) {
  .side { overflow-y: visible; flex-direction: row; align-items: center; }
  .side-nav { flex-direction: row; gap: 4px; flex: none; }
  .side .grp, .side .grp-b { flex-direction: row; flex: none; }
  .side .grp-h { display: none; }
  .side .grp.closed .grp-b { display: flex; }
  .side .bottom { flex-direction: row; margin: 0; border-top: 0; }
}

@media (max-width: 900px) {
  .side { padding: 8px 10px; }
  .side .logo { display: none; }
  .side .bottom #who { display: none; }
  .side .grp a, .side .bottom a { white-space: nowrap; }
}
.print-menu { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.panel h3 .print-menu .btn { font-family: var(--sans); }
