/* ============================================================
   Pesantren Tumbuh Ilmu — design system (dari master Hotel Bandara)
   merah kusen + emas ornamen · arch motif · traveloka-class clarity
   ============================================================ */

:root {
  /* Brand — merah kusen/pilar (alias scale emerald-*) */
  --emerald-950: #0c2b22;
  --emerald-900: #11392d;
  --emerald-800: #164a3a;
  --emerald-700: #1b5c48;
  --emerald-600: #227056;
  --emerald-500: #2a8567;
  --emerald-400: #4da587;
  --emerald-300: #8cc7ae;
  --emerald-200: #c6e2d4;
  --emerald-100: #e2f0e9;
  --emerald-50: #f0f7f3;
  /* Gold — emas ornamen/mahkota */
  --gold-600: #92753c;
  --gold-500: #cea651;
  --gold-400: #dcbf82;
  --gold-200: #f1e6ce;
  --gold-100: #f8f3e7;
  /* Green — hijau taman (status sukses) */
  --green-700: #264219;
  --green-600: #2b4e1c;
  --green-500: #2f5a1e;
  --green-300: #9bb093;
  --green-200: #c5d1c0;
  --green-100: #e2e8df;
  --green-50: #f3f5f2;
  /* Sky — biru langit (link & info) */
  --sky-700: #477ba4;
  --sky-600: #5394c7;
  --sky-500: #5faeea;
  --sky-300: #b2d8f5;
  --sky-200: #d2e8f9;
  --sky-100: #e9f4fc;
  --sky-50: #f5fafe;
  --ink: #1a1415;
  --ink-2: #5b4c4d;
  --ink-3: #9d8e87;
  --bg: #f7f3ea;
  --surface: #fffdf9;
  --line: #e6dbd5;
  --danger: #b03038;
  --danger-bg: #fbecec;
  --warn: #92753c;
  --warn-bg: #f8f3e7;
  --ok: #2b4e1c;
  --ok-bg: #f3f5f2;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-1: 0 1px 2px rgba(78, 23, 27, 0.06), 0 4px 14px rgba(78, 23, 27, 0.07);
  --shadow-2: 0 2px 6px rgba(78, 23, 27, 0.08), 0 14px 34px rgba(78, 23, 27, 0.12);
  --shadow-3: 0 6px 18px rgba(78, 23, 27, 0.12), 0 28px 60px rgba(78, 23, 27, 0.16);
  --font: 'Plus Jakarta Sans Variable', 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: var(--sky-700); text-decoration: none; }
a:hover { color: var(--sky-600); }
h1, h2, h3, h4 { line-height: 1.22; margin: 0 0 0.4em; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(28px, 4.6vw, 44px); font-weight: 800; }
h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--emerald-700); color: #fff; }
:focus-visible { outline: 2.5px solid var(--emerald-600); outline-offset: 2px; border-radius: 4px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #c3d2cf; border-radius: 8px; border: 2px solid var(--bg); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--ink-2); }
.small { font-size: 13px; }
.mono-num { font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border: 0; border-radius: 12px; cursor: pointer;
  font-weight: 700; font-size: 15px; line-height: 1.2;
  background: var(--emerald-500); color: #fff;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(14, 118, 105, 0.28);
}
.btn:hover { background: var(--emerald-600); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:disabled { background: #b9c8c5; box-shadow: none; cursor: not-allowed; }
.btn.gold { background: var(--gold-500); color: #2b2223; box-shadow: 0 2px 8px rgba(146, 117, 60, 0.3); }
.btn.gold:hover { background: var(--gold-600); color: #fff; }
.btn.ghost { background: transparent; color: var(--emerald-700); box-shadow: none; border: 1.5px solid var(--line); }
.btn.ghost:hover { border-color: var(--emerald-600); background: var(--emerald-50); color: var(--emerald-700); }
.btn.danger { background: var(--danger); box-shadow: none; }
.btn.sm { padding: 9px 14px; font-size: 13.5px; border-radius: 10px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.btn.lg { padding: 15px 30px; font-size: 16.5px; border-radius: 14px; }
.btn.block { width: 100%; }

/* ---------- badges & chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
}
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.danger { background: var(--danger-bg); color: var(--danger); }
.badge.muted { background: #efe9e4; color: var(--ink-2); }
.badge.emerald { background: var(--green-50); color: var(--green-700); }
.badge.gold { background: var(--gold-100); color: var(--gold-600); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 13px;
  background: #fff; color: var(--ink-2);
}
.status { padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.status.pending_payment { background: var(--warn-bg); color: var(--warn); }
.status.confirmed { background: var(--green-50); color: var(--green-700); }
.status.checked_in { background: var(--sky-100); color: var(--sky-700); }
.status.checked_out { background: #efe9e4; color: var(--ink-2); }
.status.cancelled, .status.no_show { background: var(--danger-bg); color: var(--danger); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; color: var(--ink); letter-spacing: -0.01em; }
.logo svg { width: 34px; height: 34px; }
.logo small { display: block; font-size: 10.5px; font-weight: 600; color: var(--ink-3); letter-spacing: 0.14em; text-transform: uppercase; }
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a {
  padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--ink-2);
}
.site-nav a:hover, .site-nav a.active { color: var(--emerald-800); background: var(--emerald-50); }
.site-nav a.cta { color: #fff; background: var(--emerald-700); margin-left: 6px; }
.site-nav a.cta:hover { background: var(--emerald-600); }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--ink-2); padding: 8px 0; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(217, 169, 63, 0.22), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(18, 139, 123, 0.5), transparent 60%),
    linear-gradient(160deg, var(--emerald-900), var(--emerald-950));
  color: #f2f8f6;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.07'%3E%3Crect x='22' y='22' width='28' height='28'/%3E%3Crect x='22' y='22' width='28' height='28' transform='rotate(45 36 36)'/%3E%3Ccircle cx='36' cy='36' r='6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 72px 72px;
}
.hero-inner { position: relative; padding: 72px 0 120px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 14px; }
.hero .lede { font-size: 17px; color: #cfe4df; max-width: 46ch; margin-bottom: 22px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.hero-badges span {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16); color: #e8f3f0;
}
.hero-rate { display: flex; align-items: center; gap: 14px; }
.hero-rate .score {
  font-size: 30px; font-weight: 800; color: #fff;
  background: var(--gold-500); border-radius: 12px 12px 12px 3px;
  padding: 8px 12px; line-height: 1;
}
.hero-visual { position: relative; }
.hero-visual .arch-img { box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); }
.hero-visual .float-card {
  position: absolute; left: -26px; bottom: 26px;
  background: #fff; color: var(--ink); border-radius: 16px; padding: 14px 18px;
  box-shadow: var(--shadow-3); display: flex; align-items: center; gap: 12px;
}
.float-card .big { font-size: 20px; font-weight: 800; }

/* arch-framed media — signature motif */
.arch-img {
  display: block; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover;
  border-radius: 46% 46% var(--r-lg) var(--r-lg) / 34% 34% var(--r-lg) var(--r-lg);
  background: var(--emerald-100);
}
.arch-img svg { width: 100%; height: 100%; border-radius: inherit; }

/* ---------- search widget ---------- */
.search-widget {
  position: relative; z-index: 5;
  margin-top: -74px;
  background: var(--surface); border-radius: var(--r-xl);
  box-shadow: var(--shadow-2); border: 1px solid var(--line);
  padding: 10px;
}
.search-widget.compact { margin-top: 0; }
.sw-grid { display: grid; grid-template-columns: 1.2fr 1.2fr 1.5fr auto; gap: 8px; }
.sw-field {
  position: relative; border: 1.5px solid var(--line); border-radius: var(--r-md);
  padding: 10px 14px 8px; background: #fff; cursor: pointer; color: var(--ink);
  transition: border-color 0.15s;
}
.sw-field:hover { border-color: #bcd2cd; }
.sw-field:focus-within { border-color: var(--emerald-600); }
.sw-field label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.sw-field .val { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--ink); }
.sw-field input[type='date'] { border: 0; padding: 0; font-weight: 700; font-size: 15px; width: 100%; background: transparent; }
.sw-field input[type='date']:focus { outline: none; }
.sw-submit { display: flex; }
.guest-pop {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 40;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-2); padding: 14px; display: none;
}
.guest-pop.open { display: block; }
.guest-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; }
.guest-row .who { font-weight: 700; font-size: 14.5px; }
.guest-row .sub { font-size: 12.5px; color: var(--ink-3); }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button {
  width: 32px; height: 32px; border-radius: 10px; border: 1.5px solid var(--line);
  background: #fff; font-size: 18px; font-weight: 700; color: var(--emerald-700); cursor: pointer;
}
.stepper button:hover { border-color: var(--emerald-600); }
.stepper button:disabled { color: #b9c8c5; cursor: not-allowed; }
.stepper b { min-width: 18px; text-align: center; }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section.tight { padding: 44px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-head p { color: var(--ink-2); margin: 0; max-width: 52ch; }

/* ---------- cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.card.pad { padding: 24px; }
.card.lift { box-shadow: var(--shadow-1); transition: box-shadow 0.2s, transform 0.2s; }
.card.lift:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }

.room-card { overflow: hidden; display: flex; flex-direction: column; }
.room-card .arch-img { aspect-ratio: 4 / 3; border-radius: 0; }
.room-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.room-card h3 { margin: 0; }
.room-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--ink-2); }
.room-meta span { display: inline-flex; align-items: center; gap: 5px; }
.room-perks { display: flex; flex-wrap: wrap; gap: 6px; }
.price-row { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 10px; padding-top: 8px; }
.price .now { font-size: 20px; font-weight: 800; color: var(--emerald-800); white-space: nowrap; }
.price .per { font-size: 12.5px; color: var(--ink-3); }

/* horizontal result card */
.result-card { display: grid; grid-template-columns: 240px 1fr auto; overflow: hidden; }
.result-card .arch-img { aspect-ratio: auto; height: 100%; border-radius: 0; }
.result-card .body { padding: 20px 22px; }
.result-card .cta-col {
  padding: 20px 22px; border-left: 1px dashed var(--line);
  display: flex; flex-direction: column; align-items: end; justify-content: center; gap: 10px; min-width: 210px;
}
.result-card .price { text-align: right; }
.amen-list { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--ink-2); list-style: none; margin: 10px 0 0; padding: 0; }
.amen-list li { display: inline-flex; align-items: center; gap: 6px; }
.amen-list li svg { color: var(--green-600); flex: none; }

/* ---------- facility grid ---------- */
.fac-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.fac-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 16px; }
.fac-item .ic {
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--emerald-50); color: var(--emerald-700);
}
.fac-item b { display: block; font-size: 14px; margin-bottom: 2px; }
.fac-item span { font-size: 12.5px; color: var(--ink-3); line-height: 1.45; display: block; }

/* ---------- why strip ---------- */
.why-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.why-item { display: flex; gap: 12px; align-items: flex-start; }
.why-item .ic { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--gold-100); color: var(--gold-600); display: flex; align-items: center; justify-content: center; }
.why-item b { font-size: 14.5px; }
.why-item p { font-size: 13px; color: var(--ink-2); margin: 2px 0 0; }

/* ---------- location ---------- */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.map-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); min-height: 340px; background: var(--emerald-100); }
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.loc-card { padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.dist-list { display: grid; gap: 10px; }
.dist { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.dist .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--emerald-50); color: var(--emerald-700); display: flex; align-items: center; justify-content: center; flex: none; }
.dist b { font-size: 14px; }
.dist span { font-size: 12.5px; color: var(--ink-3); margin-left: auto; font-weight: 700; }

/* ---------- reviews ---------- */
.rev-summary { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.rev-summary .score { font-size: 44px; font-weight: 800; color: #fff; background: var(--emerald-700); padding: 12px 18px; border-radius: 16px 16px 16px 4px; line-height: 1; }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rev-card { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.rev-card .who { display: flex; align-items: center; gap: 10px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: var(--emerald-700); flex: none; }
.rev-card .r-score { margin-left: auto; font-weight: 800; color: var(--emerald-800); background: var(--emerald-50); border-radius: 8px; padding: 4px 8px; font-size: 13px; }
.rev-card q { font-size: 14px; color: var(--ink-2); quotes: '“' '”'; margin: 0; }

/* ---------- policies ---------- */
.policy-list { display: grid; gap: 10px; }
.policy-list li { display: flex; gap: 12px; align-items: flex-start; list-style: none; font-size: 14.5px; color: var(--ink-2); }
.policy-list svg { flex: none; margin-top: 3px; color: var(--emerald-700); }
.policy-list { margin: 0; padding: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(217, 169, 63, 0.25), transparent 60%),
    linear-gradient(140deg, var(--emerald-800), var(--emerald-950));
  border-radius: var(--r-xl); color: #fff; padding: 44px; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.08'%3E%3Crect x='22' y='22' width='28' height='28'/%3E%3Crect x='22' y='22' width='28' height='28' transform='rotate(45 36 36)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 72px;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }

/* ---------- footer ---------- */
.site-footer { background: var(--emerald-950); color: #a9c8ba; margin-top: 70px; }
.site-footer .wrap { padding-top: 48px; padding-bottom: 90px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: #a9c8ba; display: block; padding: 3px 0; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; margin-bottom: 12px; }
.foot-brand svg { width: 40px; height: 40px; flex: none; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 34px; padding-top: 20px; font-size: 13px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* ---------- bottom nav (mobile) ---------- */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none; background: #fff; border-top: 1px solid var(--line);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
}
.bottom-nav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 10.5px; font-weight: 600; color: var(--ink-3); padding: 6px 0;
}
.bottom-nav a.active, .bottom-nav a:hover { color: var(--emerald-700); }

/* ---------- page head (inner pages) ---------- */
.page-head { background: linear-gradient(150deg, var(--emerald-900), var(--emerald-950)); color: #fbeaea; padding: 34px 0 90px; position: relative; overflow: hidden; }
.page-head::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.06'%3E%3Crect x='22' y='22' width='28' height='28'/%3E%3Crect x='22' y='22' width='28' height='28' transform='rotate(45 36 36)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 72px;
}
.page-head > .wrap { position: relative; }
.page-head h1 { color: #fff; font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 6px; }
.page-head .sub { color: #bdd8d3; font-size: 15px; }
.page-body { margin-top: -64px; position: relative; z-index: 5; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 11px 13px;
  font-size: 15px; background: #fff; transition: border-color 0.15s;
  min-width: 0; width: 100%; box-sizing: border-box;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--emerald-600); outline: none; }
.field .hint { font-size: 12px; color: var(--ink-3); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-grid > * { min-width: 0; }

/* ---------- booking page ---------- */
.book-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
.summary-card { position: sticky; top: 84px; padding: 22px; }
.summary-card .summary-thumb { width: 96px; aspect-ratio: 1; border-radius: 12px; flex: none; }
.summary-card .summary-thumb img, img.summary-thumb { width: 96px; aspect-ratio: 1; border-radius: 12px; flex: none; object-fit: cover; }
.summary-card .row { display: flex; justify-content: space-between; gap-: 10px; gap: 10px; padding: 7px 0; font-size: 14px; }
.pay-sum .row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 7px 0; font-size: 14px; }
.pay-sum .row > span { min-width: 0; }
.pay-sum .row.total { border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 4px; }
.pay-sum .row.total b { font-size: 17px; color: var(--emerald-800); }
.summary-card .row.total { border-top: 1.5px dashed var(--line); margin-top: 10px; padding-top: 14px; font-size: 17px; font-weight: 800; }
.addon-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-md); margin-bottom: 10px; cursor: pointer; transition: border-color 0.15s; }
.addon-item:hover { border-color: #bcd2cd; }
.addon-item input { width: 18px; height: 18px; accent-color: var(--emerald-700); }
.addon-item .price-add { margin-left: auto; font-weight: 700; font-size: 14px; color: var(--emerald-800); }
.addon-item small { color: var(--ink-3); }

/* ---------- payment ---------- */
.pay-methods { display: grid; gap: 10px; }
.pay-method { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px solid var(--line); border-radius: var(--r-md); cursor: pointer; background: #fff; }
.pay-method:hover { border-color: #bcd2cd; }
.pay-method.sel { border-color: var(--emerald-600); background: var(--emerald-50); }
.pay-method input { width: 18px; height: 18px; accent-color: var(--emerald-700); }
.pay-method .bank-ic { width: 44px; height: 44px; border-radius: 10px; background: var(--emerald-50); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; color: var(--emerald-800); flex: none; }
.va-box { background: var(--emerald-950); color: #fff; border-radius: var(--r-md); padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.va-box .num { font-size: 24px; font-weight: 800; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.copy-btn { background: rgba(255, 255, 255, 0.14); color: #fff; border: 0; border-radius: 10px; padding: 9px 14px; font-weight: 700; cursor: pointer; font-size: 13px; }
.copy-btn:hover { background: rgba(255, 255, 255, 0.24); }
.countdown { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--warn); }
.countdown .t { background: var(--warn-bg); padding: 6px 10px; border-radius: 8px; font-variant-numeric: tabular-nums; }
.steps { display: grid; gap: 10px; counter-reset: s; }
.steps li { list-style: none; display: flex; gap: 12px; font-size: 14px; color: var(--ink-2); }
.steps li::before {
  counter-increment: s; content: counter(s);
  width: 24px; height: 24px; flex: none; border-radius: 50%;
  background: var(--emerald-50); color: var(--emerald-800); font-weight: 800; font-size: 12.5px;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- e-ticket ---------- */
.ticket { overflow: hidden; }
.ticket .t-head { background: linear-gradient(140deg, var(--emerald-800), var(--emerald-950)); color: #fff; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.ticket .t-code { font-size: 24px; font-weight: 800; letter-spacing: 0.05em; }
.ticket .t-body { padding: 24px 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ticket .t-item label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-3); display: block; }
.ticket .t-item b { font-size: 15px; }
.tear { border-top: 2px dashed var(--line); position: relative; }
.tear::before, .tear::after {
  content: ''; position: absolute; top: -11px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line);
}
.tear::before { left: -12px; } .tear::after { right: -12px; }
.timeline { display: flex; gap: 0; margin: 18px 0; }
.tl-step { flex: 1; text-align: center; position: relative; font-size: 12px; color: var(--ink-3); font-weight: 600; }
.tl-step::before {
  content: ''; display: block; width: 14px; height: 14px; border-radius: 50%;
  background: #d8e2e0; margin: 0 auto 8px; border: 3px solid #fff; box-shadow: 0 0 0 2px #d8e2e0;
}
.tl-step.done { color: var(--green-700); }
.tl-step.done::before { background: var(--green-500); box-shadow: 0 0 0 2px var(--green-100); }
.tl-step::after { content: ''; position: absolute; top: 7px; left: -50%; width: 100%; height: 2px; background: #d8e2e0; z-index: -1; }
.tl-step:first-child::after { display: none; }
.tl-step.done::after { background: var(--green-500); }

/* ---------- detail page ---------- */
.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; }
.gallery .arch-img { border-radius: var(--r-md); aspect-ratio: 4/3; }
.gallery .main { grid-row: span 2; aspect-ratio: auto; height: 100%; }
.book-box { position: sticky; top: 84px; padding: 24px; }

/* ---------- empty / error ---------- */
.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-3); }
.empty-state svg { margin: 0 auto 14px; color: #b9c8c5; }
.alert { padding: 14px 16px; border-radius: var(--r-md); font-size: 14px; font-weight: 600; display: flex; gap: 10px; align-items: flex-start; }
.alert.err { background: var(--danger-bg); color: var(--danger); }
.alert.info { background: var(--sky-50); color: var(--sky-700); }
.alert.warn { background: var(--warn-bg); color: var(--warn); }
.loading-block { padding: 40px; text-align: center; color: var(--ink-3); }
.spin { width: 22px; height: 22px; border: 3px solid var(--emerald-100); border-top-color: var(--emerald-700); border-radius: 50%; animation: spin 0.8s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   ADMIN
   ============================================================ */
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-side { background: var(--emerald-950); color: #a9c8ba; padding: 20px 14px; position: sticky; top: 0; height: 100vh; overflow: auto; }
.admin-side .brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; padding: 6px 10px 20px; font-size: 15px; }
.brand-logo { display: inline-grid; place-items: center; background: #fff; border-radius: 10px; padding: 6px 12px; }
.brand-logo img { height: 26px; width: auto; display: block; }
.admin-side nav a {
  display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 10px;
  color: #a9c8ba; font-weight: 600; font-size: 14px; margin-bottom: 3px;
}
.admin-side nav a:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.admin-side nav a.active { background: var(--emerald-700); color: #fff; }
.admin-main { padding: 26px 30px 90px; min-width: 0; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.admin-top h1 { font-size: 24px; margin: 0; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.kpi { padding: 18px 20px; }
.kpi .k-label { font-size: 12.5px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; padding-right: 44px; }
.kpi .k-val { font-size: clamp(19px, 1.9vw, 28px); font-weight: 800; margin: 4px 0 2px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpi .k-sub { font-size: 12.5px; color: var(--ink-3); padding-right: 44px; }
.kpi { position: relative; overflow: hidden; }
.kpi .k-icon { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; }
.kpi.k-emerald { border-left: 4px solid var(--emerald-600); }
.kpi.k-emerald .k-icon { background: var(--emerald-50); color: var(--emerald-700); }
.kpi.k-blue { border-left: 4px solid var(--sky-600); }
.kpi.k-blue .k-icon { background: var(--sky-100); color: var(--sky-700); }
.kpi.k-gold { border-left: 4px solid var(--gold-500); }
.kpi.k-gold .k-icon { background: var(--gold-100); color: var(--gold-600); }
.kpi.k-plum { border-left: 4px solid var(--ink-3); }
.kpi.k-plum .k-icon { background: #efe9e4; color: var(--ink-2); }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }

/* occupancy ring + board teaser */
.occ-ring {
  --p: 0; width: 110px; height: 110px; border-radius: 50%; margin: 6px auto;
  background: conic-gradient(var(--emerald-600) calc(var(--p) * 1%), #e6eeeb 0);
  display: flex; align-items: center; justify-content: center;
}
.occ-ring > div { width: 78px; height: 78px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.occ-ring b { font-size: 20px; }
.occ-ring span { font-size: 10.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.board-teaser { display: flex; flex-direction: column; align-items: center; justify-content: center; transition: box-shadow .15s, transform .15s; }
.board-teaser:hover { box-shadow: 0 8px 26px rgba(6,46,41,.12); transform: translateY(-2px); }

/* room board (Papan Kamar) */
.board-pill { padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.board-pill.p-vacant { background: var(--ok-bg); color: var(--ok); }
.board-pill.p-occ { background: var(--sky-100); color: var(--sky-700); }
.board-pill.p-down { background: var(--warn-bg); color: var(--warn); }
.board-floor { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); margin: 14px 0 8px; }
.board-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.board-cell {
  border-radius: 12px; padding: 9px 6px; text-align: center; border: 1.5px solid var(--line);
  background: #fff; transition: transform .12s;
}
.board-cell .bc-num { font-weight: 800; font-size: 14px; }
.board-cell .bc-st { font-size: 10px; font-weight: 800; margin-top: 2px; }
.board-cell.vac { border-color: var(--green-200); background: var(--green-50); cursor: pointer; }
.board-cell.vac:hover { transform: translateY(-2px); border-color: var(--green-300); box-shadow: var(--shadow-1); }
.board-cell.vac .bc-st { color: var(--ok); }
.board-cell.occ { border-color: var(--sky-300); background: var(--sky-100); cursor: pointer; }
.board-cell.occ:hover { transform: translateY(-2px); }
.board-cell.occ .bc-st { color: var(--sky-700); }
.board-cell.down { background: #f0ebe4; border-color: #e0d4c9; color: var(--ink-3); }
.board-cell.down .bc-st { color: var(--warn); }
.table-card { overflow: hidden; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; padding: 12px 16px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-3); background: #f8faf9; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 13px 16px; border-bottom: 1px solid #eef2f1; vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr { cursor: pointer; }
.tbl tbody tr:hover { background: #f8faf9; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.filters input, .filters select { border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 9px 12px; font-size: 14px; background: #fff; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow { font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--ink-3); text-align: center; padding: 6px 0; }
.cal-cell { background: #fff; border: 1px solid var(--line); border-radius: 10px; min-height: 76px; padding: 8px; font-size: 11px; }
.cal-cell .d { font-weight: 800; font-size: 13px; margin-bottom: 5px; }
.cal-cell.empty { background: transparent; border: 0; }
.cal-bar { display: flex; gap: 6px; align-items: center; margin-top: 3px; }
.cal-bar .tag { font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 6px; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(480px, 100vw); background: #fff; box-shadow: -10px 0 40px rgba(0,0,0,0.15); z-index: 90; transform: translateX(105%); transition: transform 0.22s ease; display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer .d-head { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.drawer .d-body { padding: 22px; overflow: auto; flex: 1; }
.overlay { position: fixed; inset: 0; background: rgba(6, 46, 41, 0.45); z-index: 85; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.overlay.open { opacity: 1; pointer-events: auto; }
.room-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.room-cell { border: 1.5px solid var(--line); border-radius: 10px; padding: 8px; text-align: center; font-weight: 700; font-size: 13px; cursor: pointer; background: #fff; }
.room-cell.maintenance { background: var(--warn-bg); border-color: #ecd9ae; color: var(--warn); }
.room-cell.inactive { background: #f0f1f1; color: var(--ink-3); text-decoration: line-through; }
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(150deg, var(--emerald-900), var(--emerald-950)); padding: 20px; }
.admin-login .card { width: 380px; padding: 32px; }
.prop-sel {
  width: 100%; margin: 0 0 14px; padding: 9px 10px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.08); color: #eaf5f2; border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.prop-sel option { color: var(--ink); }
.prop-pill { margin: 0 0 14px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); color: #cfe4df; font-size: 12.5px; font-weight: 600; }
.branch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.mini-add summary { cursor: pointer; font-weight: 700; font-size: 13.5px; color: var(--emerald-700); list-style: none; }
.mini-add summary::before { content: '▸ '; font-size: 11px; }
.mini-add[open] summary::before { content: '▾ '; }
.mini-add .add-room-form { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.mini-add input, .mini-add select { border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 9px 12px; font-size: 14px; font-family: inherit; }
.btn-link { background: none; border: 0; padding: 0; font-family: inherit; font-size: 12.5px; font-weight: 600; color: var(--ink-3); cursor: pointer; text-decoration: underline; }
.btn-link:hover { color: var(--emerald-700); }
.mini-chart { display: flex; align-items: end; gap: 6px; height: 90px; }
.mini-chart .bar { flex: 1; background: var(--emerald-100); border-radius: 6px 6px 0 0; position: relative; min-height: 4px; }
.mini-chart .bar b { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--ink-3); font-weight: 700; }
.mini-chart .bar.hot { background: var(--emerald-700); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.two-col > *, .kpi-grid > *, .book-grid > *, .detail-grid > *, .loc-grid > * { min-width: 0; }
.list-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #eef2f1; font-size: 14px; }
.list-row:last-child { border-bottom: 0; }
.list-row .grow { flex: 1; min-width: 0; }
.list-row .name { font-weight: 700; }
.list-row .sub { font-size: 12.5px; color: var(--ink-3); }
.home-rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.home-rooms > * { min-width: 0; }
.policy-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 30px; align-items: start; }
.tbl-wrap { overflow: auto; -webkit-overflow-scrolling: touch; }
.channel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; margin-bottom: 16px; }
.ch-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.ch-toggles { display: flex; gap: 14px; flex-wrap: wrap; margin: 12px 0 14px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.ch-toggles label { display: flex; gap: 6px; align-items: center; cursor: pointer; }
.ch-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.webhook-note { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); border-top: 1px dashed var(--line); padding-top: 10px; }
.webhook-note summary { cursor: pointer; font-weight: 700; color: var(--ink-2); }
.webhook-note code { display: block; background: #f4f7f6; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; margin: 8px 0; font-size: 12px; word-break: break-all; }
.report-filters { display: flex; gap: 14px; align-items: end; flex-wrap: wrap; margin-bottom: 16px; }
.report-filters .field { margin-bottom: 0; }
.report-chart { height: 140px; margin-top: 16px; }
.report-chart .bar { cursor: default; }
.report-chart .bar:hover { background: var(--emerald-300); }
.rev-row { display: grid; grid-template-columns: minmax(120px, 1.1fr) 1.4fr minmax(90px, auto); gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid #eef2f1; }
.rev-row:last-child { border-bottom: 0; }
.rev-label { font-size: 13.5px; min-width: 0; }
.rev-label .muted { display: block; font-size: 11.5px; }
.rev-bar { height: 8px; background: #eef2f1; border-radius: 6px; overflow: hidden; }
.rev-bar > div { height: 100%; background: linear-gradient(90deg, var(--emerald-600), var(--emerald-400)); border-radius: 6px; min-width: 3px; }
.rev-bar > div.src-traveloka { background: linear-gradient(90deg, #1e88e5, #64b5f6); }
.rev-bar > div.src-tiket { background: linear-gradient(90deg, #f57c00, #ffb74d); }
.rev-bar > div.src-booking { background: linear-gradient(90deg, #0d3b8c, #4870d0); }
.rev-bar > div.src-walk_in { background: linear-gradient(90deg, #7b8794, #b3bdc7); }
.mini-chart .bar { background: linear-gradient(180deg, var(--emerald-300), var(--emerald-100)); transition: filter .12s; }
.mini-chart .bar.hot { background: linear-gradient(180deg, var(--emerald-500), var(--emerald-700)); }
.report-chart .bar:hover { filter: brightness(1.12); background: linear-gradient(180deg, var(--emerald-400), var(--emerald-200)); }
.chart-wrap { position: relative; }
.chart-grid { position: absolute; inset: 16px 0 0; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.chart-grid i { border-top: 1px dashed #e2eae7; display: block; }
.chart-avg { position: absolute; left: 0; right: 0; border-top: 2px dashed var(--gold-500); opacity: .8; pointer-events: none; }

/* donut + legend */
.donut-wrap { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.donut {
  width: 148px; height: 148px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
}
.donut > div { width: 96px; height: 96px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 8px; box-shadow: inset 0 0 0 1px var(--line); }
.donut b { font-size: 13.5px; font-variant-numeric: tabular-nums; }
.donut span { font-size: 10px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.donut-legend { flex: 1; min-width: 180px; }
.lg-row { display: grid; grid-template-columns: 12px minmax(0,1fr) auto auto; align-items: baseline; gap: 10px; padding: 7px 0; border-bottom: 1px solid #eef2f1; font-size: 13.5px; }
.lg-row:last-child { border-bottom: 0; }
.lg-dot { width: 10px; height: 10px; border-radius: 3px; align-self: center; }
.lg-name { font-weight: 600; min-width: 0; }
.lg-name i { display: block; font-size: 11px; font-style: normal; font-weight: 400; }
.lg-row b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.lg-pct { font-size: 11.5px; font-weight: 700; color: var(--ink-3); background: #f0f4f3; border-radius: 6px; padding: 2px 7px; }
.rev-val { font-size: 13px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.status-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.alert.ok { background: var(--ok-bg); color: var(--ok); }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 13px; flex-wrap: wrap; }
.pg-btns { display: flex; gap: 4px; }
.pg { min-width: 32px; height: 32px; padding: 0 8px; border: 1.5px solid var(--line); background: #fff; border-radius: 8px; font-family: inherit; font-size: 13px; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.pg.active { background: var(--emerald-700); border-color: var(--emerald-700); color: #fff; }
.pg:disabled { opacity: 0.4; cursor: default; }
.fin-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid #eef2f1; font-size: 14px; }
.fin-row:last-child { border-bottom: 0; }
.fin-row b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.fin-row.strong { font-weight: 700; }
@media (max-width: 1020px) {
  .channel-grid { grid-template-columns: 1fr; }
  .report-filters { display: grid; grid-template-columns: 1fr 1fr; }
  .report-filters .btn { width: 100%; }
}
.tbl-wrap .tbl th, .tbl-wrap .tbl td { white-space: nowrap; }

/* ---------- admin bottom nav (mobile) ---------- */
.admin-bnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: none; background: #fff; border-top: 1px solid var(--line);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(10, 46, 42, 0.07);
}
.admin-bnav a, .admin-bnav button {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 10.5px; font-weight: 600; color: var(--ink-3); padding: 6px 0;
  background: none; border: 0; font-family: inherit; cursor: pointer; border-radius: 10px;
}
.admin-bnav a.active { color: var(--emerald-700); background: var(--emerald-50); }
.admin-bnav a:hover, .admin-bnav button:hover { color: var(--emerald-700); }

/* ---------- admin: source filter chips ---------- */
.src-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: -6px 0 14px; }
.src-chip {
  padding: 6px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer;
  font-family: inherit; transition: all 0.15s;
}
.src-chip:hover { border-color: var(--emerald-500); color: var(--emerald-700); }
.src-chip.on { background: var(--emerald-600); border-color: var(--emerald-600); color: #fff; box-shadow: 0 2px 8px rgba(155, 34, 42, 0.28); }

/* ---------- admin: POS booking modal ---------- */
.pos-overlay {
  position: fixed; inset: 0; z-index: 120; overflow-y: auto;
  background: rgba(6, 46, 41, 0.55); backdrop-filter: blur(3px);
  display: flex; align-items: flex-start; justify-content: center; padding: 4vh 16px 24px;
  animation: posFade 0.18s ease;
}
@keyframes posFade { from { opacity: 0; } }
.pos-modal {
  width: 880px; max-width: 100%; background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 70px rgba(6, 46, 41, 0.4); animation: posUp 0.22s ease;
}
@keyframes posUp { from { opacity: 0; transform: translateY(18px) scale(0.98); } }
.pos-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 18px 22px; background: linear-gradient(135deg, var(--emerald-800), var(--emerald-900)); color: #fff;
}
.pos-head b { font-size: 17px; }
.pos-x {
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,0.14); color: #fff; font-size: 14px; flex-shrink: 0;
}
.pos-x:hover { background: rgba(255,255,255,0.28); }
.pos-body { display: grid; grid-template-columns: 1fr 302px; }
.pos-form { padding: 20px 26px; min-width: 0; }
.pos-group {
  font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--ink-3); margin: 4px 0 10px;
}
.pos-group:not(:first-child) { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.pos-sum { background: #faf6f0; border-left: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; }
.pos-sum-head { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-3); margin-bottom: 12px; }
.pos-sum-rows .row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: baseline; gap: 12px; padding: 7px 0; font-size: 13.5px; }
.pos-sum-rows .row span { color: var(--ink-3); }
.pos-sum-rows .row span.name { color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pos-sum-rows .row b { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pos-sum-total {
  display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px;
  padding-top: 14px; border-top: 2px solid var(--emerald-200); font-weight: 800;
}
.pos-sum-total b { font-size: 20px; color: var(--emerald-700); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pos-sum .btn { margin-top: auto; }
@media (max-width: 700px) {
  .pos-overlay { padding: 0; align-items: stretch; }
  .pos-modal { border-radius: 0; width: 100%; min-height: 100dvh; display: flex; flex-direction: column; }
  .pos-body { grid-template-columns: 1fr; flex: 1; }
  .pos-sum { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .fac-grid { grid-template-columns: repeat(3, 1fr); }
  .rev-grid { grid-template-columns: 1fr 1fr; }
  .why-strip { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: fixed; z-index: 95; left: 0; top: 0; bottom: 0; width: 250px; transform: translateX(-105%); transition: transform 0.22s; height: 100dvh; box-shadow: 8px 0 30px rgba(6, 46, 41, 0.35); }
  .admin-side.open { transform: none; }
  .admin-main { padding: 18px 16px 96px; }
  .admin-bnav { display: flex; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }

  /* tabel → ledger cards (pola Bang Onim) */
  .table-card { overflow-x: visible !important; }
  .table-card .tbl-wrap { overflow: visible !important; }
  .table-card .tbl { display: block; }
  .table-card .tbl thead { display: none; }
  .table-card .tbl tbody { display: block; padding: 4px 14px 10px; }
  .table-card .tbl tbody tr {
    display: block; margin: 10px 0; padding: 12px 14px;
    border: 1px solid #e2e8f0; border-radius: 12px; background: #fff;
    box-shadow: 0 1px 3px rgba(43, 34, 35, 0.05);
  }
  .table-card .tbl tbody tr:hover { background: #fff; }
  .table-card .tbl tbody td {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px;
    padding: 5px 0; border: 0 !important; text-align: left; min-width: 0;
    overflow-wrap: anywhere; white-space: normal !important;
  }
  .table-card .tbl tbody td::before {
    content: attr(data-th); flex: 0 0 7.5rem;
    font-weight: 700; font-size: 0.68rem; text-transform: uppercase;
    letter-spacing: 0.05em; color: var(--ink-3);
  }
  .table-card .tbl tbody td > * { min-width: 0; }
  .table-card .tbl tbody td[colspan] { display: block; text-align: center; }
  .table-card .tbl tbody td[colspan]::before { content: none; }
}
@media (max-width: 860px) {
  .hero-inner { padding: 44px 0 100px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-visual { order: -1; }
  .hero-visual .float-card { left: 10px; }
  .sw-grid { grid-template-columns: 1fr 1fr; }
  .sw-submit { grid-column: 1 / -1; }
  .result-card { grid-template-columns: 1fr; }
  .result-card .arch-img { height: 170px; }
  .result-card .cta-col { border-left: 0; border-top: 1px dashed var(--line); flex-direction: row; align-items: center; justify-content: space-between; min-width: 0; }
  .book-grid, .detail-grid, .loc-grid, .two-col { grid-template-columns: 1fr; }
  .summary-card, .book-box { position: static; }
  .gallery { grid-template-columns: 1fr; }
  .ticket .t-body { grid-template-columns: 1fr 1fr; }
  .home-rooms, .policy-grid { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .bottom-nav { display: flex; }
  body { padding-bottom: 56px; }
  .section { padding: 44px 0; }
}
@media (max-width: 560px) {
  .sw-grid { grid-template-columns: 1fr; }
  .fac-grid { grid-template-columns: 1fr 1fr; }
  .rev-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 28px 22px; }
  .hero-rate .score { font-size: 24px; }
  .ticket .t-body { grid-template-columns: 1fr; }

  /* admin */
  .admin-main { padding: 14px 12px 100px; }
  .admin-top { margin-bottom: 16px; }
  .admin-top h1 { font-size: 20px; }
  .admin-top .btn { flex: none; }
  .kpi { padding: 14px; }
  .kpi .k-val { font-size: 17px; }
  .tbl { font-size: 13px; }
  .tbl th, .tbl td { padding: 10px 12px; }
  .cal-grid { min-width: 540px; }
  .filters { gap: 8px; }
  .filters #f-q { flex: 1 1 100% !important; min-width: 0 !important; }
  .filters select, .filters input[type="date"] { flex: 1 1 46%; min-width: 0; }
  .admin-login .card { width: auto; padding: 24px; }
  .drawer .d-body { padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
}

/* ---------- customer account ---------- */
.akun-wrap { max-width: 980px; }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.auth-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--line); margin-bottom: 18px; }
.auth-tabs button {
  flex: 1; padding: 10px; background: none; border: none; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 15px; color: var(--ink-3);
  border-bottom: 2.5px solid transparent; margin-bottom: -2px;
}
.auth-tabs button.active { color: var(--emerald-800); border-color: var(--emerald-800); }
.auth-side h3 { margin: 4px 0 14px; }
.perk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.perk-list li { display: grid; gap: 2px; padding-left: 28px; position: relative; }
.perk-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--green-600); font-weight: 800; }
.akun-grid { display: grid; gap: 16px; }
.profile-card { display: flex; gap: 16px; align-items: center; }
.avatar {
  width: 62px; height: 62px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--emerald-800), var(--emerald-600, #1a9b78));
  color: #fff; display: grid; place-items: center; font-size: 26px; font-weight: 800;
}
.kpi-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi-mini { padding: 14px 16px; text-align: center; text-decoration: none; color: inherit; display: block; }
.kpi-mini b { display: block; font-size: 21px; color: var(--emerald-800); }
.kpi-mini span { font-size: 12px; color: var(--ink-3); }
.menu-card { overflow: hidden; padding: 0; }
.menu-row {
  display: flex; gap: 14px; align-items: center; padding: 15px 18px;
  text-decoration: none; color: inherit; border-bottom: 1px solid var(--line);
  background: none; border-left: none; border-right: none; border-top: none;
  font: inherit; text-align: left; cursor: pointer; width: 100%;
}
.menu-row:last-child { border-bottom: none; }
.menu-row:hover { background: var(--emerald-50); }
.menu-row > div { flex: 1; min-width: 0; }
.menu-row.danger b { color: var(--danger); }
.menu-ic { font-size: 20px; width: 26px; text-align: center; }
.menu-arrow { font-size: 20px; color: var(--ink-3); }

/* order history */
.ord-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 16px; scrollbar-width: none; }
.ord-tabs::-webkit-scrollbar { display: none; }
.ord-tabs button {
  white-space: nowrap; padding: 8px 16px; border-radius: 99px; cursor: pointer;
  border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 13.5px;
  font-weight: 600; color: var(--ink-2);
}
.ord-tabs button.active { background: var(--emerald-800); border-color: var(--emerald-800); color: #fff; }
.ord-list { display: grid; gap: 12px; }
.ord-card { display: block; padding: 16px 18px; text-decoration: none; color: inherit; }
.ord-card:hover { border-color: var(--emerald-600, #1a9b78); }
.ord-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.ord-code { font-family: ui-monospace, monospace; font-weight: 700; font-size: 14px; letter-spacing: .4px; }
.ord-mid { margin-bottom: 10px; }
.ord-room { font-weight: 700; font-size: 15.5px; margin-bottom: 2px; }
.ord-bot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; border-top: 1px dashed var(--line); padding-top: 10px; }
.ord-bot > div { display: grid; gap: 1px; }
.ord-bot b { font-size: 16.5px; color: var(--emerald-800); }
.btn.tiny { padding: 7px 14px; font-size: 13px; }
.ord-actions { display: grid; gap: 10px; margin-top: 14px; }

@media (max-width: 720px) {
  .auth-grid { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .kpi-strip { gap: 8px; }
  .kpi-mini { padding: 12px 8px; }
  .kpi-mini b { font-size: 18px; }
  .profile-card { padding: 16px; }
  .avatar { width: 52px; height: 52px; font-size: 21px; }
}

/* ---------- invoice ---------- */
.inv-toolbar { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.inv-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; }
.inv-page { background: #e8ecea; padding: 28px 14px 60px; min-height: 100vh; }
.inv-sheet {
  max-width: 780px; margin: 0 auto; background: #fff; border-radius: 12px;
  padding: 40px 44px; box-shadow: 0 8px 30px rgba(0,0,0,.08);
}
.inv-head { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 3px solid var(--emerald-800); }
.inv-brand { font-size: 21px; font-weight: 800; color: var(--emerald-800); }
.inv-sub { font-size: 12px; color: var(--ink-3); line-height: 1.6; }
.inv-right { text-align: right; }
.inv-title { font-size: 26px; font-weight: 800; letter-spacing: 3px; color: var(--ink); }
.inv-no { font-size: 13px; font-weight: 600; font-family: ui-monospace, monospace; margin-top: 2px; }
.inv-date { font-size: 12px; color: var(--ink-3); }
.inv-status {
  display: inline-block; margin: 18px 0 4px; padding: 6px 18px; border-radius: 6px;
  font-weight: 800; font-size: 13px; letter-spacing: 1.5px;
  background: var(--warn-bg); color: var(--warn);
}
.inv-status.paid { background: var(--ok-bg); color: var(--ok); }
.inv-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0 26px; }
.inv-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-3); margin-bottom: 4px; }
.inv-table { width: 100%; border-collapse: collapse; margin-bottom: 22px; }
.inv-table th {
  text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .8px;
  color: var(--ink-3); padding: 10px 8px; border-bottom: 2px solid var(--line);
}
.inv-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.inv-table td:nth-child(2), .inv-table td:nth-child(3), .inv-table td:nth-child(4),
.inv-table th:nth-child(2), .inv-table th:nth-child(3), .inv-table th:nth-child(4) { text-align: right; white-space: nowrap; }
.inv-table tfoot td { border: none; border-top: 2px solid var(--emerald-800); font-weight: 800; font-size: 17px; padding-top: 14px; }
.inv-table tfoot td:last-child { color: var(--emerald-800); font-size: 19px; }
.inv-foot { margin-top: 26px; display: grid; gap: 6px; }
.inv-note { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 11.5px; color: var(--ink-3); line-height: 1.7; text-align: center; }

@media (max-width: 720px) {
  .inv-sheet { padding: 26px 20px; border-radius: 0; }
  .inv-page { padding: 14px 0 40px; background: #fff; }
  .inv-parties { grid-template-columns: 1fr; gap: 14px; }
  .inv-head { flex-direction: column; gap: 12px; }
  .inv-right { text-align: left; }
}

@media print {
  body { background: #fff !important; }
  .no-print, .site-header, .site-footer, .bottom-nav, .admin-bnav, .toast, .btn, button { display: none !important; }
  .inv-page { background: #fff; padding: 0; }
  .inv-sheet { box-shadow: none; border-radius: 0; max-width: none; padding: 10mm 6mm; }
}

.inv-tbl-wrap { overflow-x: auto; }
.inv-tbl-wrap .inv-table { min-width: 480px; }
@media print {
  .inv-tbl-wrap { overflow: visible; }
  .inv-tbl-wrap .inv-table { min-width: 0; }
}

.logo-mark { width: 42px; height: 42px; display: block; flex: none; }
.logo-text { font-weight: 800; font-size: 19px; line-height: 1.08; letter-spacing: -0.01em; }
.logo-text small { display: block; font-size: 10px; font-weight: 800; color: var(--emerald-600); letter-spacing: 0.34em; text-transform: uppercase; margin-bottom: 1px; }
.foot-mark { width: 42px; height: 42px; display: block; flex: none; }
.foot-brand span { font-weight: 800; font-size: 16.5px; line-height: 1.1; display: inline-block; }
.foot-brand span small { display: block; font-size: 9.5px; font-weight: 800; color: var(--gold-400); letter-spacing: 0.34em; text-transform: uppercase; margin-bottom: 1px; }

/* OTA source badges */
.ota-badge { display:inline-block; padding:3px 10px; border-radius:99px; font-size:11px; font-weight:700; letter-spacing:.3px; }
.ota-traveloka { background:#e3f0ff; color:#0064d2; }
.ota-tiket { background:#fff0e3; color:#f96d01; }
.ota-booking { background:#e8ecf5; color:#003580; }

/* ---------- pesantren-yayasan additions ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--emerald-700); margin-bottom: 12px;
}
.hero .kicker { color: var(--gold-400); }
.hero-facts { display: flex; gap: 26px; margin-top: 8px; }
.hero-facts > div { display: grid; gap: 1px; }
.hero-facts b { font-size: 24px; font-weight: 800; color: #fff; }
.hero-facts span { font-size: 12.5px; color: #cfe4df; }
.fc-ic {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: var(--emerald-50); color: var(--emerald-700);
  display: grid; place-items: center;
}
.hero-widget { position: relative; z-index: 5; margin-top: -74px; }
.hero-widget .search-widget { margin-top: 0; }

.band { background: var(--emerald-50); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sec-head { max-width: 640px; margin-bottom: 30px; }
.sec-head p { color: var(--ink-2); margin: 8px 0 0; }
.rate-line { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 15px; }
.rate-line svg { color: var(--gold-500); }
.rate-line b { font-size: 18px; }

.check-list { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 10px; }
.check-list li { padding-left: 28px; position: relative; font-size: 14.5px; color: var(--ink-2); }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green-600); font-weight: 800; }

/* program card */
.room-card .rc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.rc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.rc-top h3 { margin: 0 0 4px; }
.rc-top p { margin: 0; font-size: 13.5px; }
.quota-pill {
  flex: none; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: var(--green-50); color: var(--green-700); white-space: nowrap;
}
.quota-pill.low { background: var(--warn-bg); color: var(--warn); }
.rc-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--ink-2); }
.rc-meta span { display: inline-flex; align-items: center; gap: 5px; }
.rc-meta svg { color: var(--emerald-600); }
.rc-bot { margin-top: auto; display: flex; justify-content: space-between; align-items: end; gap: 12px; border-top: 1px dashed var(--line); padding-top: 12px; }
.rc-price small { display: block; font-size: 11.5px; color: var(--ink-3); }
.rc-price b { font-size: 19px; color: var(--emerald-800); }

/* news */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-card { overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.news-card:hover { border-color: var(--emerald-500); }
.news-card .arch-img { aspect-ratio: 16 / 9; border-radius: 0; }
.news-body { padding: 16px 18px 18px; display: grid; gap: 8px; }
.news-body h3 { margin: 0; font-size: 16.5px; }
.news-body p { margin: 0; font-size: 13.5px; }
.post-body { max-width: 720px; font-size: 16px; line-height: 1.8; color: var(--ink-2); }
.post-body p { margin: 0 0 16px; }

/* cta band tweaks */
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn.ghost.light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.btn.ghost.light:hover { background: rgba(255,255,255,.22); }

/* status baru */
.status.enrolled { background: var(--sky-100); color: var(--sky-700); }
.status.alumni { background: #efe9e4; color: var(--ink-2); }
.status.pending { background: var(--warn-bg); color: var(--warn); }

/* detail program */
.prog-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: start; }
.fee-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fee-cell { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.fee-cell small { display: block; font-size: 11.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.fee-cell b { font-size: 19px; color: var(--emerald-800); }
.cohort-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cohort-row:last-child { border-bottom: 0; }
.qbar { height: 7px; border-radius: 99px; background: #ece2c9; overflow: hidden; min-width: 90px; flex: 1; max-width: 160px; }
.qbar i { display: block; height: 100%; background: var(--emerald-600); border-radius: inherit; }

/* donasi */
.amt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.amt-grid button {
  padding: 13px 6px; border-radius: var(--r-md); border: 1.5px solid var(--line);
  background: #fff; font: inherit; font-weight: 700; font-size: 14.5px; cursor: pointer; color: var(--ink-2);
}
.amt-grid button.sel { border-color: var(--emerald-600); background: var(--emerald-50); color: var(--emerald-800); }
.purpose-grid { display: grid; gap: 8px; }
.purpose-grid label { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-md); cursor: pointer; font-size: 14.5px; }
.purpose-grid input { accent-color: var(--emerald-700); }
.don-feed { display: grid; gap: 8px; max-height: 280px; overflow: auto; }
.don-row { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 9px 0; border-bottom: 1px solid #eef2f1; }
.don-row:last-child { border: 0; }

@media (max-width: 860px) {
  .grid-2, .prog-hero { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .amt-grid { grid-template-columns: 1fr 1fr; }
  .hero-facts { gap: 18px; }
}

/* widget fixes */
.sw-field select { border: 0; padding: 0; font-weight: 700; font-size: 15px; width: 100%; background: transparent; margin: 0; color: var(--ink); }
.sw-field select:focus { outline: none; }
.float-card .small { display: block; margin-top: 2px; }
@media (max-width: 786px) { .header-phone { display: none; } }

/* admin side extras */
.admin-brand { padding: 4px 10px 18px; }
.admin-brand b { display: block; color: #fff; font-size: 15px; }
.admin-brand .small { display: block; margin-top: 3px; font-size: 11.5px; color: inherit; opacity: .75; line-height: 1.45; }
.admin-side nav a svg { width: 17px; height: 17px; flex: none; opacity: .9; }
.admin-side-foot { margin-top: auto; padding: 14px 10px 6px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.admin-side-foot label { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; opacity: .7; }
.admin-side-foot select { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 8px 10px; font-size: 13px; }
.admin-side { display: flex; flex-direction: column; }
.admin-side nav { flex: 1; }
.kpi .k-icon svg { width: 20px; height: 20px; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn.lg svg { width: 18px; height: 18px; }
.admin-side-foot .btn.ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.admin-side-foot .btn.ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.45); color: #fff; }
@media (min-width: 861px) { #btn-menu { display: none; } }

/* Logo mark in admin sidebar */
.admin-brand { display: flex; align-items: center; gap: 12px; }
.admin-brand .brand-logo { flex: none; width: 40px; height: 40px; display: block; }
.admin-brand .brand-logo svg { width: 40px; height: 40px; display: block; border-radius: 10px; }
.admin-brand > div { min-width: 0; }

/* footer muted uses footer palette, not ink-2 */
.site-footer .muted { color: #a9c8ba; }

/* bottom nav icon sizing + polish */
.bottom-nav a svg, .admin-bnav a svg, .admin-bnav button svg { width: 20px; height: 20px; display: block; }
.admin-bnav a, .admin-bnav button { border-radius: 10px; margin: 2px; }
.admin-bnav a.active { background: var(--emerald-50); }
.bottom-nav a.active svg { stroke-width: 2.2; }
/* pos modal summary rows: no overlap */
.pos-sum-rows .row { grid-template-columns: auto minmax(0,1fr); }
.pos-sum-rows .row b { text-align: right; white-space: normal; overflow-wrap: anywhere; }
.pos-sum-rows .row span.name { max-width: 100%; }

/* demo hint fill button */
.demo-fill { display: block; width: 100%; margin-top: 12px; padding: 9px 12px; border: 1px dashed var(--emerald-400, #94a3b8); border-radius: 10px; background: var(--emerald-50, #f1f5f9); color: var(--emerald-800, #334155); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: background .15s; text-align: center; }
.demo-fill:hover { background: var(--emerald-100, #e2e8f0); }

/* portfolio layout responsive + menu icons */
.pf-layout { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 22px; align-items: start; }
.menu-ic svg { width: 20px; height: 20px; display: block; margin: 0 auto; }
@media (max-width: 720px) {
  .pf-layout { grid-template-columns: 1fr; }
  .pf-layout .acct-nav { flex-direction: row; flex-wrap: wrap; }
  .pf-layout .acct-nav a { flex: 1 1 auto; text-align: center; font-size: 13px; padding: 8px 10px; }
}
