:root {
  /* Koto sky theme — sea & sky of Cox's Bazar */
  --brand: #075985;       /* deep sky: headings, primary buttons, active tabs */
  --brand-2: #0ea5e9;     /* bright sky: icons, highlights, focus */
  --brand-soft: #e0f2fe;  /* pale sky: selected chips, soft fills */
  --accent: #fbbf24;      /* sunny yellow: the main call to action (Search, Book now) */
  --accent-ink: #0c3b5e;
  --bg: #eef7fc;          /* page background: very light sky */
  --card: #ffffff;
  --ink: #0f2a3d;
  --muted: #5b7083;
  --line: #d9e9f3;
  --ok: #15803d;
  --ok-soft: #dcfce7;
  --warn: #a16207;
  --warn-soft: #fef3c7;
  --err: #b91c1c;
  --err-soft: #fee2e2;
  --info: #0369a1;
  --info-soft: #e0f2fe;
  --wa: #1fa855;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(7, 89, 133, .05), 0 8px 24px rgba(7, 89, 133, .08);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.5 "Avenir Next", "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -.01em; color: var(--brand); font-weight: 800; }
h1 { font-size: 24px; }
h2 { font-size: 18px; }
h3 { font-size: 16px; }
p { margin: 0; }
img { max-width: 100%; display: block; }
.boot { padding: 40vh 16px; text-align: center; color: var(--muted); }
body.busy, body.busy * { cursor: progress !important; }

.ic { width: 18px; height: 18px; flex: none; vertical-align: -3px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.center { text-align: center; }
.mt { margin-top: 12px; }
.hidden { display: none !important; }

.wrap { max-width: 560px; margin: 0 auto; padding: 16px; }
.wrap-wide { max-width: 980px; margin: 0 auto; padding: 16px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack-lg { display: flex; flex-direction: column; gap: 18px; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grow { flex: 1; min-width: 0; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.card > h2 { margin-bottom: 12px; }
.card-title { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; }
.sec-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 8px 2px 0; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 16px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--card); color: var(--ink);
  font: inherit; font-weight: 600; cursor: pointer; text-align: center;
  transition: background .15s, transform .05s;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-2); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 800; }
.btn.accent:hover { background: #ffd83a; }
.btn.wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn.light { background: rgba(255, 255, 255, .92); border-color: transparent; color: var(--ink); }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--err); border-color: #efc9c4; }
.btn.danger.armed { background: var(--err); color: #fff; }
.btn.block { width: 100%; }
.btn.sm { min-height: 36px; padding: 6px 12px; font-size: 14px; border-radius: 10px; }
.btn.lg { min-height: 52px; font-size: 16px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer;
}
.linkish { background: none; border: 0; padding: 0; color: var(--brand); font: inherit; font-weight: 600; cursor: pointer; }

/* forms */
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field > span { font-size: 13px; font-weight: 600; color: #3b4441; }
.field > small { font-size: 12px; color: var(--muted); }
input, select, textarea {
  width: 100%; min-height: 44px; padding: 10px 12px;
  border: 1px solid #d3dbe5; border-radius: 10px; background: #fff; color: var(--ink);
  font: inherit; font-size: 16px;
}
textarea { min-height: 84px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: var(--brand); }
input[type="checkbox"] { width: 20px; height: 20px; min-height: 0; accent-color: var(--brand); }
.check { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.err-text { color: var(--err); font-size: 14px; }

/* pills */
.pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: #eaeef4; color: #4b5250; white-space: nowrap;
}
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.err { background: var(--err-soft); color: var(--err); }
.pill.info { background: var(--info-soft); color: var(--info); }
.pill.brand { background: var(--brand-soft); color: var(--brand); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 4px 10px; border-radius: 999px; background: #eef2f6; font-size: 13px; color: #48504d; }
.chip-btn { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--ink); }
.chip-btn.on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* welcome */
.welcome { min-height: 100vh; background: linear-gradient(170deg, #075985, #0284c7) 0 0 / 100% 400px no-repeat, var(--bg); }
.welcome .wrap { padding-top: 40px; }
.w-hero { color: #fff; padding: 8px 4px 24px; }
.w-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; margin-bottom: 28px; }
.w-hero h1 { font-size: 32px; margin-bottom: 10px; }
.w-hero p { color: #c9d2f5; font-size: 16px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: 13px; }
.feature b { display: block; font-size: 14px; margin-bottom: 2px; }
.logo {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink); font-weight: 900; font-size: 17px; flex: none;
}

/* setup steps */
.steps { display: flex; gap: 6px; margin: 4px 0 16px; }
.steps i { flex: 1; height: 5px; border-radius: 3px; background: var(--line); }
.steps i.on { background: var(--brand); }
.cover-prev {
  height: 140px; border-radius: 12px; border: 1px dashed #c9d3df; background: #f2f5f9 center/cover no-repeat;
  display: grid; place-items: center; color: var(--muted); font-size: 13px;
}
.upload { position: relative; overflow: hidden; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.thumb { position: relative; width: 76px; height: 76px; border-radius: 10px; overflow: hidden; background: #eee center/cover; border: 1px solid var(--line); }
.thumb .rm {
  position: absolute; top: 3px; right: 3px; width: 24px; height: 24px; border-radius: 50%;
  border: 0; background: rgba(0, 0, 0, .65); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0;
}
.thumb .rm .ic { width: 14px; height: 14px; }
.thumb.file { display: grid; place-items: center; text-align: center; font-size: 11px; padding: 6px; color: var(--muted); background: #fafaf8; }
.cat-row { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.cat-row:first-of-type { border-top: 0; }
.cat-img { width: 56px; height: 56px; border-radius: 10px; background: #e3e9f0 center/cover; flex: none; display: grid; place-items: center; color: #9a958a; }

/* staff shell */
.shell { min-height: 100vh; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 16px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); min-width: 0; }
.brand span:last-child { display: flex; flex-direction: column; min-width: 0; }
.brand b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand small { color: var(--muted); font-size: 12px; }
.page { max-width: 640px; margin: 0 auto; padding: 16px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.back { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; margin-bottom: 10px; }
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: #fff; border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tab { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 0 8px; font-size: 11px; font-weight: 600; color: var(--muted); }
.tab .ic { width: 22px; height: 22px; }
.tab.on { color: var(--brand); }
.tab.book .ic { background: var(--brand); color: #fff; border-radius: 9px; padding: 3px; width: 28px; height: 28px; margin-top: -4px; }
@media (min-width: 760px) {
  .tabbar { left: 50%; transform: translateX(-50%); bottom: 14px; width: 520px; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
}

/* dashboard */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.stat b { display: block; font-size: 26px; line-height: 1.1; }
.stat span { font-size: 13px; color: var(--muted); }
.stat.hl { background: var(--brand); border-color: var(--brand); color: #fff; }
.stat.hl span { color: #c9d2f5; }
.occ-bar { height: 8px; border-radius: 4px; background: var(--brand-soft); overflow: hidden; margin-top: 8px; }
.occ-bar i { display: block; height: 100%; background: var(--accent); }
.share { background: linear-gradient(135deg, #075985, #0ea5e9); color: #fff; border: 0; }
.share .muted { color: #c9d2f5; }
.linkbox {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px;
  background: rgba(255, 255, 255, .14); font-size: 13px; word-break: break-all; margin: 10px 0;
}
.card .linkbox { background: #f2f5f9; }
.share .linkbox { background: rgba(255, 255, 255, .14); }

/* bookings */
.bk { display: block; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); }
.bk + .bk { margin-top: 8px; }
.bk-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 2px; }
.bk-foot { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 6px; font-size: 13px; }
.bk-foot .code { font-family: ui-monospace, Consolas, monospace; color: var(--muted); }
.bk-foot .amt { margin-left: auto; font-weight: 700; }
.mini { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.mini:first-of-type { border-top: 0; padding-top: 0; }
.empty { padding: 22px 12px; text-align: center; color: var(--muted); font-size: 14px; }
.search { position: relative; }
.filters { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; margin: 10px 0 12px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters .chip-btn { flex: none; white-space: nowrap; }

/* booking flow */
.stay-line {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); font-size: 14px;
}
.stay-line b { font-size: 15px; }
.nstep { display: inline-flex; align-items: center; gap: 4px; }
.nstep button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid #c3cdf3; background: #fff; color: var(--brand); font-size: 18px; font-weight: 700; cursor: pointer; line-height: 1; }
.catcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.catcard + .catcard { margin-top: 10px; }
.catcard.has-sel { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.cat-head { width: 100%; display: flex; gap: 12px; align-items: center; padding: 12px; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.cat-head .cat-img { width: 60px; height: 60px; }
.cat-price { text-align: right; flex: none; }
.cat-price b { display: block; font-size: 16px; }
.cat-price small { color: var(--muted); font-size: 12px; }
.rooms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; padding: 0 12px 12px; }
.room-chip {
  min-height: 52px; border-radius: 10px; border: 1px solid #cfe1dd; background: #f6fbfa; color: var(--ink);
  font: inherit; font-weight: 700; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15;
}
.room-chip small { font-size: 10px; font-weight: 600; color: var(--muted); }
.room-chip.sel { background: var(--brand); border-color: var(--brand); color: #fff; }
.room-chip.sel small { color: #c9d2f5; }
.room-chip:disabled { background: #eef2f6; border-color: #e2e8ef; color: #b1ada4; cursor: not-allowed; text-decoration: line-through; }
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: calc(64px + env(safe-area-inset-bottom)); z-index: 25;
  padding: 10px 16px; background: linear-gradient(180deg, rgba(235, 240, 244, 0), var(--bg) 30%);
}
.sticky-cta .inner {
  max-width: 608px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--ink); color: #fff; border-radius: 14px; padding: 10px 10px 10px 16px; box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}
.sticky-cta small { color: #b8c1be; display: block; font-size: 12px; }
.pub .sticky-cta { bottom: 0; }
@media (min-width: 760px) { .shell .sticky-cta { bottom: 90px; } }
.spacer-cta { height: 90px; }

.line { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px dashed var(--line); font-size: 14px; }
.line:first-child { border-top: 0; }
.line.total { border-top: 1px solid var(--ink); font-size: 16px; font-weight: 800; padding-top: 10px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; word-break: break-word; }
.times { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; text-align: center; }
.times .t { background: #f2f5f9; border-radius: 12px; padding: 10px 6px; }
.times .t small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.times .t b { display: block; font-size: 15px; }
.times .n { font-size: 12px; font-weight: 700; color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: 4px 8px; }
.banner { border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.banner.ok { background: var(--ok-soft); color: #164f30; }
.banner.warn { background: var(--warn-soft); color: #6d4710; }
.banner.info { background: var(--info-soft); color: #1d4373; }
.banner b { display: block; font-size: 15px; margin-bottom: 2px; }
.log { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.log li { padding: 6px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; }
.log li:first-child { border-top: 0; }

/* calendar */
.cal-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.cal { border-collapse: separate; border-spacing: 0; font-size: 12px; min-width: 100%; }
.cal th, .cal td { width: 38px; min-width: 38px; height: 38px; text-align: center; border-right: 1px solid #eef2f6; border-bottom: 1px solid #eef2f6; padding: 0; }
.cal thead th { background: #f7f9fb; font-weight: 600; color: var(--muted); line-height: 1.1; padding: 4px 0; }
.cal thead th b { display: block; color: var(--ink); font-size: 14px; }
.cal thead th.today { background: var(--brand); color: #c9d2f5; }
.cal thead th.today b { color: #fff; }
.cal thead th.we { background: #eef1f8; }
.cal th.rn { position: sticky; left: 0; z-index: 2; background: #fff; min-width: 52px; font-weight: 700; color: var(--ink); }
.cal tr.cat th { position: sticky; left: 0; text-align: left; padding: 6px 10px; background: #f2f5f9; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.cal td.free { cursor: pointer; }
.cal td.free:hover { background: var(--brand-soft); }
.cal td.occ { cursor: pointer; color: #fff; font-weight: 700; font-size: 11px; }
.s-confirmed { background: #2f49c4; }
.s-pending, .s-prebook { background: #d29a3a; }
.ag-cat .price { flex: none; }
.s-checked_in { background: #2b5fa0; }
.s-checked_out { background: #a9b0ad; }
.legend { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--muted); margin-top: 10px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -2px; margin-right: 4px; }

/* rates */
.rate-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.rate-table th, .rate-table td { padding: 6px 4px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.rate-table th:first-child, .rate-table td:first-child { text-align: left; position: sticky; left: 0; background: #fff; font-weight: 700; }
.rate-table td.ov { background: var(--warn-soft); font-weight: 700; }
.rate-table td.we { background: #f1f4fa; }

/* menu list */
.menu a, .menu button {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 4px;
  border: 0; border-top: 1px solid var(--line); background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer;
}
.menu > :first-child { border-top: 0; }
.menu .ic { color: var(--brand); }
.menu small { display: block; color: var(--muted); font-size: 12px; }

/* public site */
.pub { background: #eef7fc; min-height: 100vh; }
.hero {
  position: relative; min-height: 320px; display: flex; align-items: flex-end;
  background: linear-gradient(160deg, #075985, #0284c7) center/cover no-repeat; color: #fff;
}
.hero-in { width: 100%; max-width: 980px; margin: 0 auto; padding: 72px 16px 28px; }
.hero h1 { font-size: 34px; font-weight: 800; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.hero p { color: #eef1fd; margin-top: 6px; }
.hero .row { margin-top: 14px; }
.pub-nav { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; max-width: 980px; margin: 0 auto; }
.pub-nav b { font-size: 18px; font-weight: 800; }
.search-card { margin-top: -26px; position: relative; border: 0; box-shadow: 0 12px 40px rgba(7, 89, 133, .14); }
.pub h2.sec { font-weight: 800; font-size: 22px; margin: 28px 0 12px; }
.pub .sticky-cta .btn.accent { min-width: 130px; }
.about p { color: #3d4643; font-size: 16px; line-height: 1.65; white-space: pre-line; }
.pub-cats { display: grid; gap: 16px; }
@media (min-width: 600px) { .pub-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .pub-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } } /* room categories 3 per row */
.pcat { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 3 / 2; background: #e3e9f0; }
.gallery::-webkit-scrollbar { display: none; }
.gallery img, .gallery .noimg { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.gallery .noimg { display: grid; place-items: center; color: #a29d92; }
.gallery .noimg .ic { width: 48px; height: 48px; }
.gal-count { position: absolute; top: 10px; right: 10px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.pcat-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.pcat-body h3 { font-size: 19px; font-weight: 800; }
.price { text-align: right; }
.price b { font-size: 19px; }
.price small { color: var(--muted); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.stepper button { width: 42px; height: 40px; border: 0; background: #f2f5f9; font-size: 20px; font-weight: 700; color: var(--brand); cursor: pointer; }
.stepper button:disabled { color: #c3beb4; cursor: not-allowed; }
.stepper b { min-width: 36px; text-align: center; }
.pub-foot { text-align: center; color: var(--muted); font-size: 13px; padding: 30px 16px 120px; }

/* portal */
.portal-head { background: linear-gradient(160deg, #075985, #0284c7) center/cover; color: #fff; padding: 22px 16px 46px; }
.portal-head .wrap { padding: 0 0; }
.portal-head p { color: #d7eefc; font-size: 14px; }
.portal-head h1, .portal-head h2, .w-hero h1, .id-card h1 { color: #fff; }
.portal-body { margin-top: -30px; }
.code-big { font-family: ui-monospace, Consolas, monospace; font-size: 20px; font-weight: 800; letter-spacing: .04em; }
.checklist { display: flex; gap: 8px; flex-wrap: wrap; }

/* toast & modal */
#toasts { position: fixed; top: 12px; left: 0; right: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; padding: 0 16px; }
.toast { background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); animation: tin .2s ease-out; max-width: 520px; }
.toast.err { background: var(--err); }
.toast.ok { background: var(--ok); }
@keyframes tin { from { transform: translateY(-8px); opacity: 0; } }
.modal { position: fixed; inset: 0; z-index: 90; background: rgba(10, 14, 13, .85); display: grid; place-items: center; padding: 16px; }
.modal img { max-height: 86vh; border-radius: 8px; }
.modal .icon-btn { position: absolute; top: 14px; right: 14px; }

/* phase 1: cart, sale rate, holds, rooms board */
.icon-btn.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.sticky-cta .wrap-cta { flex-wrap: wrap; }
.sticky-cta .wrap-cta .btn.light { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .25); }
.cart-line { align-items: flex-start; }
.sale-in { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--brand); }
.sale-in input { width: 110px; min-height: 36px; padding: 6px 10px; }
.room-chip.held:disabled { background: #fdf1dc; border-color: #f0d9a8; color: #b48a3c; text-decoration: none; }
.hk-strip { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 12px 14px; color: var(--ink); }
.room-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.rc {
  display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 10px 12px; min-height: 74px;
  background: #fff; border: 1px solid var(--line); border-left: 5px solid #cfd6d3; border-radius: 12px;
  font: inherit; color: var(--ink); cursor: pointer;
}
.rc b { font-size: 18px; }
.rc.hk-dirty { border-left-color: var(--err); }
.rc.hk-cleaning { border-left-color: #d29a3a; }
.rc.hk-inspect { border-left-color: var(--info); }
.rc.hk-ready { border-left-color: var(--ok); }
.rc.open { box-shadow: 0 0 0 2px var(--brand); }
.occ-tag { font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.occ-tag.in { color: var(--info); }
.occ-tag.res { color: var(--brand); }
.occ-tag.blk { color: var(--err); }
.occ-tag.hld { color: var(--warn); }
.room-panel { margin-top: 10px; }
.cal td.hld, .legend i.hld { background: repeating-linear-gradient(45deg, #f6dfb0, #f6dfb0 4px, #fbefd3 4px, #fbefd3 8px); color: #8a6420; font-weight: 700; }
.cal td.blk, .legend i.blk { background: #d9dcdb; color: #5d6563; font-weight: 700; }

/* phase 4: action colors â€” green = book/confirm, yellow = hold, red = cancel/reject,
   blue = check in, purple = check out, teal = payment */
:root { --act-book: #1f9d55; --act-hold: #f2b705; --act-cancel: #d64031; --act-in: #2b6cb0; --act-out: #6b46c1; }
.btn.act-book, .btn[data-act="newBooking"], .btn[data-act="bConfirm"], .btn[data-act="draftStep"][data-step="2"],
.btn[data-act="pubStep"][data-step="2"], .btn[data-act="agStep"][data-step="2"], .btn[data-act="addMore"],
form[data-form="createBooking"] .btn.primary, form[data-form="pubBook"] .btn.primary, form[data-form="agBook"] .btn.primary,
form[data-hrform="decide"] .btn[value="approved"], .punch-btn.in {
  background: var(--act-book) !important; border-color: var(--act-book) !important; color: #fff !important;
}
.btn[data-act="holdDraft"], .btn.act-hold { background: var(--act-hold) !important; border-color: #dba600 !important; color: #3b2a00 !important; }
.btn[data-act="releaseHold"] { border-color: var(--act-hold); color: #8a6400; }
.btn[data-act="bCancel"], .btn.act-cancel, form[data-form="rejectPre"] .btn, form[data-hrform="decide"] .btn[value="rejected"], .btn[data-act="delHotel"] {
  background: var(--act-cancel) !important; border-color: var(--act-cancel) !important; color: #fff !important;
}
.btn[data-act="bCheckIn"], .btn.act-in { background: var(--act-in) !important; border-color: var(--act-in) !important; color: #fff !important; }
.btn[data-act="bCheckOut"], .btn.act-out { background: var(--act-out) !important; border-color: var(--act-out) !important; color: #fff !important; }
form[data-form="addPayment"] .btn { background: var(--brand-2); border-color: var(--brand-2); color: #fff; }
.room-chip.sel { background: var(--act-book); border-color: var(--act-book); }

.cal td.csel, .legend i.csel-i { background: var(--act-book); color: #fff; font-size: 10px; }
.cal td.free.csel:hover { background: #18864a; }
.cal td.incart, .legend i.incart-i { background: #c9ecd6; color: #1f7a45; font-weight: 700; }
.cal td.myhold { background: #fdf3d3; color: #8a6400; font-weight: 700; }
.cal-bar { flex-direction: column; align-items: stretch !important; gap: 8px !important; }
.cal-bar > .grow, .cal-bar > .row { flex: 1 1 auto; width: 100%; }
.cal-bar > .row .btn { flex: 1; }
@media (min-width: 760px) {
  .cal-bar { flex-direction: row; align-items: center !important; }
  .cal-bar > .grow { width: auto; }
  .cal-bar > .row { width: auto; flex: none; }
}
.cal-bar .small { color: #fff; }
.cal-bar .small b { color: #fff; }
/* Suggested (not yet assigned) rooms blink so staff notice them. */
@keyframes koto-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.cal td.tent, .legend i.tent-i { background: repeating-linear-gradient(45deg, #e08a3c, #e08a3c 5px, #f0a964 5px, #f0a964 10px) !important; color: #fff; animation: koto-blink 1.2s ease-in-out infinite; outline: 2px dashed #b4621f; outline-offset: -2px; }
.blink-pill { animation: koto-blink 1.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .cal td.tent, .legend i.tent-i, .blink-pill { animation: none; } }
.assign-banner .btn { min-height: 32px; }
.assign-card { border-color: #f0c78d; }
.assign-line { display: flex; flex-direction: column; gap: 4px; }
/* business types: register, public page */
.type-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .type-grid { grid-template-columns: repeat(3, 1fr); } }
.type-card { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); }
.type-card:hover { border-color: var(--brand); }
.type-card small { color: var(--muted); font-size: 12px; }
.tc-icon { font-size: 30px; line-height: 1; }
.info-card { display: grid; gap: 6px; margin-top: 12px; }
.info-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 6px 0; border-top: 1px solid var(--line); }
.info-row:first-child { border-top: 0; }
.info-row span { color: var(--muted); }
.info-row b { text-align: right; }
.biz-items { display: grid; gap: 10px; margin-bottom: 12px; }
@media (min-width: 760px) { .biz-items { grid-template-columns: 1fr 1fr; } }
.biz-item { display: flex; gap: 12px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.biz-item img { width: 86px; height: 86px; object-fit: cover; border-radius: 10px; flex: none; }
.biz-item .grow { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.price-tag { color: var(--brand); white-space: nowrap; }
.biz-tabs .tab.on .ic { color: var(--brand); }

/* one login */
.login-kinds { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: 12px; color: var(--muted); }
.login-kinds span { padding: 3px 8px; border-radius: 999px; background: #f2f5f9; }
.profile-card {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; text-align: left; cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; font: inherit; color: var(--ink); box-shadow: var(--shadow);
}
.profile-card:hover { border-color: var(--brand); }
.profile-card small { display: block; color: var(--muted); font-size: 12px; }
.profile-card .warn-text { color: var(--warn); }
.profile-card.off { opacity: .6; cursor: not-allowed; box-shadow: none; }
.pc-icon { font-size: 26px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--brand-soft); flex: none; }
.pc-go { transform: scaleX(-1); color: var(--brand); }
.one-login { border-color: #cfe1dd; background: #f6fbfa; }
.one-login.ok { background: var(--ok-soft); border-color: #bfe3cc; }

/* transport: rent-a-car / bike / jeep */
.v-photo { display: inline-grid; place-items: center; flex: none; border-radius: 12px; background: #eef3f2 center/cover no-repeat; }
.v-icon { font-size: 26px; line-height: 1; }
.v-row { margin-bottom: 10px; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-top: 10px; }
.slot { display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 9px 11px; border-radius: 10px; border: 1px solid var(--line); font: inherit; font-size: 13px; background: #fff; color: var(--ink); }
.slot small { color: var(--muted); font-size: 11px; }
.slot span { font-weight: 700; font-size: 12px; }
.slot.free { cursor: pointer; border-color: #b9e3c9; background: #f2fbf5; }
.slot.free span { color: var(--act-book); }
.slot.free:hover { background: #e2f6ea; }
.slot.busy { cursor: pointer; background: #e7f0fb; border-color: #c4d8f2; }
.slot.busy span { color: var(--act-in); }
.slot.off { background: #f3f2ee; color: #a7a39a; }
.rental { display: flex; flex-direction: column; gap: 6px; padding: 12px 0; border-top: 1px solid var(--line); }
.rental:first-child { border-top: 0; padding-top: 0; }
.book-form { border-color: #b9e3c9; margin-bottom: 12px; }
.slot-row { margin-bottom: 6px; flex-wrap: wrap; }
.g-vehicle { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.g-slots { display: flex; flex-direction: column; gap: 8px; }
.g-slot { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: #f6faf8; }
.g-slot > .row { grid-column: 1 / -1; justify-content: flex-end; }
@media (min-width: 560px) { .g-slot { grid-template-columns: 1fr auto auto; } .g-slot > .row { grid-column: auto; } }
.g-slot small { color: var(--muted); }
.g-slot.off { background: #f3f2ee; color: #a7a39a; grid-template-columns: 1fr auto; }
.g-offer { grid-column: 1 / -1; }
.g-trip { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); }

.rating { color: #b7791f; font-weight: 700; font-size: 13px; white-space: nowrap; }
.rating small { color: var(--muted); font-weight: 500; }
.stars { color: #e0a800; letter-spacing: 1px; }
.review { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-top: 1px solid var(--line); }
.review:first-child { border-top: 0; }
.review-form { padding: 10px; border-radius: 10px; background: #fffbea; border: 1px solid #f3e2a6; }
/* 5 â†’ 1 stars right-to-left so hovering/checking a star lights it and the ones before it */
.star-pick { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-pick label { font-size: 30px; line-height: 1; color: #d9d4c7; cursor: pointer; }
.star-pick input:checked ~ label, .star-pick label:hover, .star-pick label:hover ~ label { color: #e0a800; }
.star-pick input:focus-visible + label { outline: 2px solid var(--brand); border-radius: 4px; }

/* hotel profile: facilities, gallery, location */
.fac-group { margin: 10px 0 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.fac-chip { position: relative; cursor: pointer; }
.fac-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fac-chip span { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; }
.fac-chip input:checked + span { background: var(--act-book); border-color: var(--act-book); color: #fff; }
.fac-chip input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.gal-sec { padding: 10px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.fac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.fac-box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.fac-box ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.fac-box li .ic { color: var(--act-book); width: 16px; height: 16px; }
.pub-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 760px) { .pub-gallery { grid-template-columns: repeat(4, 1fr); } }
.gal-img { position: relative; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; background: #eee; }
.gal-img.big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gal-img img { width: 100%; height: 100%; object-fit: cover; }
.gal-img span { position: absolute; left: 8px; bottom: 8px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.loc-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .loc-grid { grid-template-columns: 3fr 2fr; align-items: start; } }
.map-box { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: #eee; }
.map-box iframe { width: 100%; height: 100%; border: 0; }
.btn.fb { background: #1877f2; border-color: #1877f2; color: #fff; }
.btn.ig { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); border: 0; color: #fff; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.seg button { border: 0; background: none; padding: 7px 12px; font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button.on { background: var(--brand); color: #fff; }
.cal-full th, .cal-full td { width: 30px; min-width: 30px; height: 32px; font-size: 11px; }
.cal-full thead th b { font-size: 12px; }

.comm-line { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; padding: 10px 12px; border-radius: 10px; background: var(--brand-soft); font-size: 14px; }
.tier { margin-bottom: 6px; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.kpis .stat { display: flex; flex-direction: column; gap: 2px; }
.kpis .stat b { font-size: 22px; }
.kpis .stat span { order: -1; font-size: 13px; color: var(--muted); }
@media (min-width: 760px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.chart { position: relative; height: 200px; padding-left: 38px; }
.chart-grid { position: absolute; inset: 0 0 20px 0; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.chart-grid span { font-size: 10px; color: var(--muted); border-top: 1px solid #eaeef4; line-height: 0; padding-top: 0; }
.chart-grid span:last-child { border-top-color: #c9d3df; }
.chart-bars { position: relative; height: 100%; display: flex; align-items: flex-end; gap: 2px; padding-bottom: 20px; }
.bar-col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; min-width: 0; cursor: default; }
.bar-col i { width: 100%; max-width: 26px; background: var(--brand-2); border-radius: 4px 4px 0 0; }
.bar-col.future i { background: #9cc9c2; }
.bar-col.today i { background: var(--accent); }
.bar-col:hover i { filter: brightness(1.15); }
.bar-col small { position: absolute; bottom: -18px; font-size: 10px; color: var(--muted); }
.hbar { margin-bottom: 12px; }
.hbar-track { height: 10px; background: #eef2f6; border-radius: 5px; overflow: hidden; margin-top: 5px; }
.hbar-track i { display: block; height: 100%; background: var(--brand-2); border-radius: 5px; }

.paybox { padding: 14px; border-radius: 12px; background: #f3f8f7; border: 1px solid #cfe1dd; }
.pay-acct { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.pay-row { margin-bottom: 6px; flex-wrap: wrap; }
.person-row { display: flex; flex-direction: column; gap: 8px; padding: 12px; box-shadow: none; background: #eef7fc; margin-bottom: 10px; }
.person { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.person:first-child { border-top: 0; }
.app-card { background: linear-gradient(135deg, #fff, #f1f8f6); }

/* phase 4: desktop layout â€” side menu instead of the bottom tab bar */
.sidenav { display: none; }
@media (min-width: 1000px) {
  .shell { padding: 0 0 30px 236px; }
  .sidenav {
    display: flex; flex-direction: column; gap: 2px; position: fixed; left: 0; top: 0; bottom: 0; width: 236px; z-index: 40;
    padding: 16px 12px; background: #0f2f2c; color: #c9d2f5; overflow-y: auto;
  }
  .sidenav .brand { color: #fff; padding: 4px 8px 16px; }
  .sidenav .brand small { color: #9fc2bd; }
  .sidenav a, .sidenav button {
    display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; border: 0; background: none;
    color: #c9d2f5; font: inherit; font-size: 14px; font-weight: 600; text-align: left; cursor: pointer;
  }
  .sidenav a:hover, .sidenav button:hover { background: rgba(255, 255, 255, .07); color: #fff; }
  .sidenav a.on { background: var(--brand-2); color: #fff; }
  .sidenav .sep { height: 1px; background: rgba(255, 255, 255, .1); margin: 8px 4px; }
  .sidenav .new { background: var(--act-book); color: #fff; justify-content: center; margin-bottom: 8px; }
  .sidenav .new:hover { background: #18864a; }
  .shell .tabbar { display: none; }
  .shell .topbar { display: none; }
  .page { max-width: 1120px; padding: 22px 28px; }
  .shell .sticky-cta { left: 236px; bottom: 16px; }
  .dash { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
  .dash > .full, .dash > div:first-child, .dash > .stats, .dash > .hk-strip, .dash > a.btn { grid-column: 1 / -1; }
  .dash .stats { grid-template-columns: repeat(4, 1fr); }
  .catgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
  .catgrid .catcard + .catcard { margin-top: 0; }
  .stack-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
}

/* phase 3: staff app, ID card, team */
.avatar { display: inline-grid; place-items: center; flex: none; border-radius: 50%; background: var(--brand-soft) center/cover no-repeat; color: var(--brand); font-weight: 800; }
.tabbar.tabs4 { grid-template-columns: repeat(4, 1fr); }
.punch-card { padding: 22px 16px; }
.clock { font-size: 44px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.punch-time { font-size: 22px; font-weight: 700; color: var(--brand); }
.punch-btn {
  align-self: center; width: 180px; height: 180px; border-radius: 50%; border: 0; margin: 6px 0;
  font: inherit; font-size: 22px; font-weight: 800; color: #fff; cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}
.punch-btn.in { background: radial-gradient(circle at 30% 30%, #2aa866, #1f7a45); }
.punch-btn.out { background: radial-gradient(circle at 30% 30%, #e0604f, #b4332a); }
.punch-btn:disabled { background: #c9ccca; box-shadow: none; cursor: not-allowed; }
.att-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.att-table th, .att-table td { text-align: left; padding: 7px 4px; border-bottom: 1px solid var(--line); }
.att-table th { color: var(--muted); font-weight: 600; font-size: 12px; }
.att-table tr.absent td { color: #b1ada4; }
.appl { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line); }
.appl:first-child { border-top: 0; padding-top: 0; }
.idcard { max-width: 340px; width: 100%; margin: 0 auto; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(20, 30, 28, .15); border: 1px solid var(--line); }
.id-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: linear-gradient(135deg, #075985, #0ea5e9); color: #fff; }
.id-top span { font-size: 11px; letter-spacing: .15em; font-weight: 700; opacity: .85; }
.id-body { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 16px 12px; text-align: center; }
.id-body .avatar { border: 4px solid var(--brand-soft); margin-bottom: 6px; font-size: 30px; }
.id-name { font-size: 21px; font-weight: 800; }
.id-role { color: var(--brand); font-weight: 600; font-size: 14px; }
.id-kv { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; text-align: left; font-size: 13px; margin: 12px 0 6px; width: 100%; }
.id-kv dt { color: var(--muted); }
.id-kv dd { margin: 0; font-weight: 600; }
.id-qr { width: 110px; height: 110px; display: grid; place-items: center; font-size: 11px; color: var(--muted); }
.id-qr svg { width: 100%; height: 100%; }
.id-foot { padding: 8px 16px; background: #f2f5f9; font-size: 11px; color: var(--muted); text-align: center; }
@media print {
  body * { visibility: hidden; }
  #idcard, #idcard * { visibility: visible; }
  #idcard { position: absolute; left: 0; top: 0; box-shadow: none; }
}

@media (max-width: 340px) {
  .grid2 { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- home: search-first marketplace */
.gz { min-height: 100vh; background: var(--bg); }
.gz-top { position: sticky; top: 0; z-index: 40; background: #fff; box-shadow: 0 1px 0 var(--line); }
.gz-top-in { max-width: 1180px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gz-logo { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 21px; color: var(--brand); letter-spacing: -.02em; }
.gz-link { font-weight: 700; color: var(--brand); font-size: 14px; padding: 6px 8px; }
.btn.gz-navy { background: var(--brand); border-color: var(--brand); color: #fff; border-radius: 8px; }
.btn.gz-navy:hover { background: var(--brand-2); }
.btn.gz-yellow { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 800; border-radius: 10px; }
.btn.gz-ghost { background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff; border-radius: 10px; }
.gz-hero {
  background: linear-gradient(180deg, rgba(3, 50, 80, .35), rgba(3, 50, 80, .15) 45%, rgba(3, 50, 80, .55)),
    url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1600&q=70') center 60% / cover no-repeat, #1b5fa8;
  padding: 44px 16px 56px;
}
.gz-hero-in { max-width: 1180px; margin: 0 auto; }
.gz-hero h1 { color: #fff; font-size: 30px; text-align: center; text-shadow: 0 2px 16px rgba(0, 0, 0, .3); }
.gz-hero > div > p { color: #eef3ff; text-align: center; margin: 8px auto 44px; max-width: 560px; text-shadow: 0 1px 8px rgba(0, 0, 0, .3); }
.gz-search { position: relative; background: #fff; border-radius: 20px; box-shadow: 0 18px 50px rgba(3, 50, 80, .25); padding: 44px 18px 0; max-width: 1080px; margin: 0 auto; }
.gz-tabs {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); max-width: calc(100% - 24px);
  display: flex; gap: 2px; background: #fff; border-radius: 14px; padding: 5px; box-shadow: 0 6px 20px rgba(3, 50, 80, .15); overflow-x: auto; scrollbar-width: none;
}
.gz-tabs::-webkit-scrollbar { display: none; }
.gz-tabs button {
  display: flex; align-items: center; gap: 6px; white-space: nowrap; border: 0; background: none; cursor: pointer;
  padding: 9px 14px; border-radius: 10px; font: inherit; font-size: 14px; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent;
}
.gz-tabs button.on { color: var(--brand); background: var(--brand-soft); border-bottom-color: var(--accent); }
.gz-tabs button span { font-size: 16px; }
.gz-form { padding-bottom: 0; }
.gz-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gz-f { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px 10px; min-width: 0; cursor: text; transition: border-color .15s; }
.gz-f:focus-within { border-color: var(--brand-2); box-shadow: 0 0 0 3px var(--brand-soft); }
.gz-f.wide { grid-column: 1 / -1; }
.gz-f small { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.gz-f input { border: 0; padding: 2px 0 0; min-height: 0; font-size: 18px; font-weight: 800; color: var(--brand); background: none; outline: 0; width: 100%; }
.gz-f input::placeholder { color: #9aa3b8; font-weight: 600; }
.gz-f input:focus { outline: 0; }
.gz-f > span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gz-go {
  display: block; margin: 16px auto 0; transform: translateY(50%); min-width: 190px; min-height: 50px; padding: 0 28px;
  border: 0; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font: inherit; font-size: 17px; font-weight: 800;
  cursor: pointer; box-shadow: 0 8px 20px rgba(253, 204, 2, .45);
}
.gz-go:hover { background: #ffd83a; }
.gz-main { max-width: 1180px; margin: 0 auto; padding: 52px 16px 20px; scroll-margin-top: 60px; }
.gz-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.gz-head h2, .gz-sub { font-size: 21px; }
.gz-sub { margin: 30px 0 12px; }
.gz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gz-card { display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); color: var(--ink); transition: transform .15s, box-shadow .15s; }
.gz-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(7, 89, 133, .14); }
.gz-img { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #e0f2fe, #bae6fd) center/cover no-repeat; display: grid; place-items: center; }
.gz-img > span { font-size: 42px; opacity: .8; }
.gz-tag { position: absolute; top: 10px; left: 10px; background: rgba(7, 89, 133, .85); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.gz-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.gz-body > b { font-size: 16px; font-weight: 800; color: var(--brand); line-height: 1.25; }
.gz-body > small { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gz-meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; margin-top: auto; padding-top: 8px; font-size: 12px; color: var(--muted); }
.gz-price { font-size: 17px; font-weight: 800; color: var(--brand); white-space: nowrap; }
.gz-price small { font-size: 11px; font-weight: 600; color: var(--muted); }
.gz-view { font-weight: 800; color: var(--brand-2); font-size: 14px; }
.gz-card.skel .gz-img, .gz-card.skel b, .gz-card.skel small { background: #e6ebf2; border-radius: 6px; animation: gzpulse 1.2s ease-in-out infinite; }
@keyframes gzpulse { 50% { opacity: .55; } }
.gz-empty { background: #fff; border-radius: 16px; padding: 30px 16px; text-align: center; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.gz-empty b { color: var(--brand); font-size: 17px; }
.gz-empty p { color: var(--muted); }
.gz-promo {
  margin-top: 30px; border-radius: 20px; padding: 24px 20px; color: #fff; display: flex; flex-direction: column; gap: 16px;
  background: radial-gradient(circle at 90% 10%, rgba(253, 204, 2, .35), transparent 40%), linear-gradient(120deg, #075985, #0ea5e9);
}
.gz-promo h2 { color: #fff; font-size: 22px; }
.gz-promo p { color: #d7eefc; margin-top: 6px; max-width: 560px; }
.gz-why { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.gz-why-i { background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 3px; }
.gz-why-i span { font-size: 22px; }
.gz-why-i b { color: var(--brand); }
.gz-why-i small { color: var(--muted); font-size: 13px; }
.gz-recent { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.gz-rec { background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.gz-rec b { color: var(--brand); }
.gz-rec small { color: var(--muted); }
.gz-foot { margin-top: 30px; background: #fff; border-top: 1px solid var(--line); padding: 20px 16px 30px; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.gz-foot > div:first-child { display: flex; align-items: center; gap: 8px; }
.gz-foot .logo { width: 26px; height: 26px; font-size: 14px; border-radius: 8px; }
.gz-foot .row { gap: 16px; justify-content: center; }
.gz-foot a { color: var(--brand); font-weight: 700; }
@media (min-width: 600px) and (max-width: 859px) { .gz-fields { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 599px) { .gz-fields > .gz-f:nth-child(4) { grid-column: 1 / -1; } }
@media (max-width: 520px) { .gz-link { display: none; } .gz-f input { font-size: 16px; } .gz-hero h1 { font-size: 25px; } }
@media (min-width: 860px) {
  .gz-hero { padding: 70px 24px 80px; }
  .gz-hero h1 { font-size: 40px; }
  .gz-search { padding: 50px 24px 0; }
  .gz-fields { grid-template-columns: 2.2fr 1fr 1fr 1fr; }
  .gz-f.wide { grid-column: auto; }
  .gz-tabs button { padding: 10px 20px; }
  .gz-promo { flex-direction: row; align-items: center; justify-content: space-between; padding: 30px 34px; }
  .gz-why { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 860px) { .gz-fields:has(> :nth-child(2):last-child) { grid-template-columns: 3fr 1fr; } }

.gz-type { position: absolute; bottom: 10px; left: 10px; background: rgba(255, 255, 255, .95); color: var(--brand); font-style: normal; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }

/* ---------------------------------------------------------------- #/ship: Saint Martin ship tickets */
.ship-hero { background: linear-gradient(180deg, rgba(3, 50, 80, .35), rgba(3, 50, 80, .55)), url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1600&q=70') center 60% / cover no-repeat, #1b5fa8; color: #fff; padding: 34px 16px 70px; }
.ship-hero p { color: #cfe3ff; font-weight: 700; font-size: 14px; }
.ship-hero h1 { color: #fff; font-size: 30px; margin: 4px 0 6px; text-shadow: 0 2px 12px rgba(0, 0, 0, .3); }
.ship-hero span { color: #eef3ff; }
.ship-main { margin-top: -46px; padding-top: 0; padding-bottom: 120px; position: relative; }
.ship-h { font-size: 18px; margin-bottom: 12px; }
.ship-trip { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ship-trip .gz-f:nth-child(n+3) { grid-column: auto; }
.ship-trip .gz-f i { font-style: normal; font-weight: 500; }
@media (min-width: 760px) { .ship-trip { grid-template-columns: 1.3fr 1.3fr 1fr 1fr 1fr; } }
@media (max-width: 759px) { .ship-trip { grid-template-columns: repeat(6, 1fr); } .ship-trip .gz-f:nth-child(-n+2) { grid-column: span 3; } .ship-trip .gz-f:nth-child(n+3) { grid-column: span 2; } }
.ship-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.ship-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .15s; }
.ship-card.sel { box-shadow: 0 0 0 3px var(--brand), var(--shadow); }
.ship-img { display: block; width: 100%; height: 120px; }
.ship-thumb { aspect-ratio: auto; }
.ship-thumb .ship-img { height: 100%; aspect-ratio: 16 / 10; }
.ship-body { padding: 12px 14px 8px; }
.ship-body h3 { font-size: 17px; }
.ship-cat { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.ship-cat:first-of-type { margin-top: 8px; }
.ship-cat b { display: block; font-size: 14px; }
.ship-cat small { color: var(--muted); font-size: 12px; }
.ship-cat .stepper button { width: 36px; height: 36px; }
.ship-form { display: grid; gap: 10px; }
@media (min-width: 760px) { .ship-form { grid-template-columns: repeat(3, 1fr); } .ship-send { grid-column: 1 / -1; } }
.ship-pre { white-space: pre-wrap; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; font-size: 12px; margin: 10px 0 0; color: var(--ink); }
.ship-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--brand); color: #fff; box-shadow: 0 -8px 24px rgba(0, 0, 0, .18); padding-bottom: env(safe-area-inset-bottom); }
.ship-bar-in { max-width: 1180px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 12px; }
.ship-bar small { display: block; color: #c9d2f5; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ship-bar b { font-size: 22px; font-weight: 900; }

/* ---------------------------------------------------------------- tour packages: A4 poster, details page, home list */
.a4-prev { width: 84px; aspect-ratio: 210 / 297; border-radius: 6px; border: 1px dashed #c9d3df; background: #f2f5f9 center/cover no-repeat; display: grid; place-items: center; color: var(--muted); font-size: 12px; font-weight: 700; flex: none; }
.pkg-main { padding-top: 20px; padding-bottom: 60px; }
.pkg-grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .pkg-grid { grid-template-columns: minmax(280px, 420px) 1fr; align-items: start; } .pkg-poster { position: sticky; top: 76px; } }
.pkg .a4 { display: block; width: 100%; aspect-ratio: 210 / 297; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 10px 30px rgba(7, 89, 133, .15); cursor: zoom-in; }
.pkg .a4 img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pkg .a4.empty { display: grid; place-items: center; font-size: 64px; cursor: default; background: linear-gradient(135deg, #e0f2fe, #bae6fd); }
.pkg-poster p { margin-top: 8px; }
.pkg-title { font-size: 28px; margin-top: 2px; }
.pkg-price b { font-size: 28px; font-weight: 900; color: var(--brand); }
.pkg-price span { color: var(--muted); margin-left: 6px; }
.pkg-desc { white-space: pre-line; color: #3a4060; line-height: 1.65; }
.pkg-fields { grid-template-columns: 1fr 1fr; }
.gz-f select { border: 0; padding: 2px 0 0; min-height: 0; font-size: 17px; font-weight: 800; color: var(--brand); background: none; outline: 0; width: 100%; appearance: auto; }
@media (min-width: 860px) { .gz-fields.pkg-fields { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.pkg-loc { font-size: 18px; margin: 22px 0 10px; }
.pkg-loc small { font-size: 12px; color: var(--muted); font-weight: 700; background: #fff; border-radius: 999px; padding: 2px 8px; margin-left: 4px; }
.pkg-img { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(135deg, #e0f2fe, #bae6fd) center/cover no-repeat; display: grid; place-items: center; }
.pkg-img.a4 { background-position: top center; }
.pkg-img > span { font-size: 42px; }
.pkg-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.pkg-tags span { font-size: 11px; font-weight: 700; color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: 2px 8px; }
.pkg h2.sec { margin-top: 30px; scroll-margin-top: 70px; }

/* ---------------------------------------------------------------- transport destination rates */
.rate-wrap { overflow-x: auto; }
.route-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.route-table th, .route-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
.route-table thead th { background: #f7f9fb; font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.route-table tbody th { text-align: left; position: sticky; left: 0; background: #fff; min-width: 170px; white-space: normal; }
.route-table tbody th b { display: block; color: var(--brand); }
.route-table tbody th small { color: var(--muted); font-weight: 500; font-size: 12px; }
.route-table thead th:first-child { text-align: left; position: sticky; left: 0; }
.route-price { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 6px 10px; font: inherit; font-weight: 800; color: var(--brand); cursor: pointer; }
.route-price:hover { border-color: var(--accent); background: #fff8d6; }
.route-prices { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.route-prices label { display: flex; flex-direction: column; gap: 3px; font-size: 12px; font-weight: 600; color: var(--muted); }

/* ---------------------------------------------------------------- Activities tab chips */
.act-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 14px; margin-top: -4px; }
.act-chips::-webkit-scrollbar { display: none; }
.act-chip { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 700; color: var(--brand); cursor: pointer; box-shadow: 0 1px 2px rgba(7, 89, 133, .05); }
.act-chip span { font-size: 16px; }
.act-chip small { font-size: 11px; background: var(--brand-soft); border-radius: 999px; padding: 1px 7px; }
.act-chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.act-chip.on small { background: rgba(255, 255, 255, .2); }

/* ---------------------------------------------------------------- entry ticket, payment, check-in */
.pay-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ticket { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 12px 34px rgba(7, 89, 133, .16); border: 2px solid var(--brand); }
.ticket-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--brand); color: #fff; padding: 12px 16px; font-weight: 700; }
.ticket-top b { color: var(--accent); letter-spacing: .12em; font-size: 13px; }
.ticket-body { display: flex; gap: 14px; padding: 16px; align-items: center; border-bottom: 2px dashed var(--line); position: relative; }
.ticket-body h2 { font-size: 19px; }
.ticket-body small { display: block; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.ticket-code { font-family: ui-monospace, Consolas, monospace; font-size: 22px; font-weight: 900; color: var(--brand); letter-spacing: .06em; }
.ticket-qr { width: 120px; height: 120px; flex: none; display: grid; place-items: center; font-size: 11px; color: var(--muted); }
.ticket-qr svg { width: 100%; height: 100%; }
.ticket-foot { padding: 10px 16px; font-size: 12px; color: var(--muted); background: #f7f9fb; }
.checkin .banner { margin: 0; }
@media print {
  body.print-ticket * { visibility: hidden !important; }
  body.print-ticket #ticket, body.print-ticket #ticket * { visibility: visible !important; }
  body.print-ticket #ticket { position: absolute; left: 0; top: 0; width: 100%; box-shadow: none; }
}

/* ---------------------------------------------------------------- train tickets */
.train-hero { background: linear-gradient(180deg, rgba(3, 50, 80, .45), rgba(3, 50, 80, .65)), linear-gradient(120deg, #075985, #1b5fa8 60%, #16a37f); }
.train-route { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.train-route > div { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.train-route small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.train-route b { font-size: 18px; color: var(--brand); }
.train-route .swap { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--accent); color: var(--accent-ink); font-size: 20px; font-weight: 900; cursor: pointer; }
.train-trip { grid-template-columns: 1fr 1fr 1fr !important; }
.train-trip .gz-f { grid-column: auto !important; }
@media (max-width: 559px) { .train-trip { grid-template-columns: 1fr 1fr !important; } .train-trip .gz-f:last-child { grid-column: 1 / -1 !important; } }
.train-classes { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.train-class { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; background: #fff; border: 2px solid transparent; border-radius: 16px; padding: 14px; box-shadow: var(--shadow); font: inherit; color: var(--ink); cursor: pointer; }
.train-class b { font-size: 16px; color: var(--brand); }
.train-class.sel { border-color: var(--brand); }
.train-fare { font-size: 20px; font-weight: 900; color: var(--brand); }
.train-fare small { font-size: 11px; font-weight: 600; color: var(--muted); }

.train-fields .gz-f > span .linkish { font-size: 12px; }

/* ---------------------------------------------------------------- shop: products, cart, checkout */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 12px; }
@media (min-width: 860px) { .prod-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; } }
.prod { display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); color: var(--ink); }
a.prod:hover { box-shadow: 0 12px 30px rgba(7, 89, 133, .14); }
.prod-img { position: relative; aspect-ratio: 1; background: linear-gradient(135deg, #fdf3d6, #f7e2b8) center/cover no-repeat; display: grid; place-items: center; }
.prod-img > span { font-size: 46px; }
.prod-off { position: absolute; top: 8px; left: 8px; background: var(--act-cancel); color: #fff; font-style: normal; font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.prod-out { position: absolute; inset: auto 0 0; background: rgba(0, 0, 0, .65); color: #fff; font-style: normal; font-size: 12px; font-weight: 700; text-align: center; padding: 4px; }
.prod-img .gz-tag { left: auto; right: 8px; }
.prod-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.prod-body > b { font-size: 15px; color: var(--brand); line-height: 1.25; }
.prod-body > small { color: var(--muted); font-size: 12px; }
.prod-price { font-size: 18px; font-weight: 900; color: var(--ink); margin-top: auto; }
.prod-price s { font-size: 13px; color: var(--muted); font-weight: 600; }
.prod-step { align-self: stretch; justify-content: space-between; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
.opt { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; background: #fff; }
.opt.on { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); background: var(--brand-soft); }
.opt input { width: 18px; height: 18px; min-height: 0; margin-top: 2px; accent-color: var(--brand); }
.opt b { display: block; font-size: 14px; }
.opt small { display: block; color: var(--muted); font-size: 12px; }
.cart-lines .line small { font-weight: 500; }
.cart-sum { border-top: 1px solid var(--line); padding-top: 4px; }
@media (min-width: 860px) { .gz-fields.shop-fields { grid-template-columns: 2.4fr 1.2fr; } }
.gz-head[hidden] { display: none; }

/* ---------------------------------------------------------------- restaurant menu & ordering */
.mode-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 12px; }
.mode-badges span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: 13px; font-weight: 700; color: var(--brand); }
.menu-sec { font-size: 17px; margin: 18px 0 8px; padding-bottom: 6px; border-bottom: 2px solid var(--accent); display: inline-block; }
.dish-list { display: grid; gap: 10px; }
@media (min-width: 860px) { .dish-list { grid-template-columns: 1fr 1fr; } }
.dish { display: flex; gap: 12px; background: #fff; border-radius: 14px; padding: 12px; box-shadow: var(--shadow); align-items: flex-start; }
.dish-img { width: 84px; height: 84px; border-radius: 12px; background: #eee center/cover no-repeat; flex: none; }
.dish b { color: var(--brand); font-size: 15px; }
.dish p { margin-top: 2px; }
.dish .prod-price { font-size: 17px; }
.dish .prod-step { align-self: auto; }
.dish-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.dish-tag { font-size: 11px; font-weight: 700; background: #f2f5f9; color: #4b5563; border-radius: 999px; padding: 2px 8px; }
.dish-tag.hot { background: #fde8e6; color: #b4332a; }
.dish-tag.veg { background: #e2f4e8; color: #1f7a45; }
.grid3 { display: grid; grid-template-columns: 1.3fr 1fr .8fr; gap: 10px; }
@media (max-width: 480px) { .grid3 { grid-template-columns: 1fr 1fr; } .grid3 > :last-child { grid-column: 1 / -1; } }
.gz-meta .modes { font-size: 11px; font-weight: 700; color: var(--brand-2); }

/* ---------------------------------------------------------------- bus tickets */
.bus-hero { background: linear-gradient(180deg, rgba(3, 50, 80, .45), rgba(3, 50, 80, .65)), linear-gradient(120deg, #075985, #0ea5e9 55%, #e08a3c); }
.bus-route { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.bus-route .swap { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--accent); color: var(--accent-ink); font-size: 20px; font-weight: 900; cursor: pointer; }
@media (min-width: 860px) { .gz-fields.bus-fields { grid-template-columns: 1.2fr 1.2fr 1fr 1fr .7fr; } }

/* ---------------------------------------------------------------- air tickets */
.air-hero { background: linear-gradient(180deg, rgba(3, 50, 80, .35), rgba(3, 50, 80, .6)), linear-gradient(160deg, #1b5fa8, #5aa9e6 60%, #fdcc02); }
.air-dates, .air-pax { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important; }
.air-dates .gz-f, .air-pax .gz-f { grid-column: auto !important; }

/* ---------------------------------------------------------------- two-row menu on the search card */
.gz-tabs.two { flex-direction: column; align-items: stretch; gap: 4px; overflow: visible; padding: 6px; }
.gz-tab-row { display: flex; gap: 2px; justify-content: center; overflow-x: auto; scrollbar-width: none; }
.gz-tab-row::-webkit-scrollbar { display: none; }
.gz-tab-row.second { border-top: 1px solid var(--line); padding-top: 4px; }
.gz-tab-row.second button { font-size: 13px; padding: 7px 12px; }
.gz-search { padding-top: 70px; }
@media (min-width: 860px) { .gz-search { padding-top: 76px; } }
@media (max-width: 600px) { .gz-tab-row { justify-content: flex-start; } .gz-tabs.two { width: calc(100% - 24px); } }
.gz-hero > div > p { margin-bottom: 72px; }
@media (max-width: 600px) {
  .gz-tab-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; overflow: visible; }
  .gz-tabs.two button, .gz-tab-row.second button { flex-direction: column; gap: 2px; padding: 6px 2px; font-size: 11px; min-width: 0; border-bottom-width: 2px; }
  .gz-tabs.two button span { font-size: 18px; }
  .gz-search { padding-top: 96px; }
  .gz-hero > div > p { margin-bottom: 92px; }
}

/* ---------------------------------------------------------------- influencers & sponsorships */
.infl-photo { width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(135deg, #fdcc02, #e08a3c) center/cover no-repeat; display: grid; place-items: center; font-size: 34px; flex: none; border: 3px solid #fff; box-shadow: var(--shadow); }
.infl-photo.sm { width: 52px; height: 52px; font-size: 22px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.social { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; color: var(--ink); font-size: 13px; }
a.social:hover { border-color: var(--brand); }
.social b { color: var(--brand); }
.social small { background: var(--brand-soft); color: var(--brand); border-radius: 999px; padding: 1px 7px; font-weight: 800; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: #fff; cursor: pointer; font-size: 14px; font-weight: 600; }
.check-chip input { width: 16px; height: 16px; min-height: 0; accent-color: var(--brand); }
.check-chip:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.spon .chip { margin: 2px 2px 0 0; display: inline-block; }
.infl-card h1 { margin: 0; }
@media (max-width: 600px) {
  .gz-tab-row:not(.second) { grid-template-columns: repeat(6, 1fr); }
  .gz-tab-row:not(.second) button { font-size: 10px; }
}

/* ---------------------------------------------------------------- free giveaways */
.ct-hero { background: linear-gradient(135deg, #075985, #6b46c1 60%, #e08a3c) center/cover no-repeat; color: #fff; padding: 40px 16px 60px; }
.ct-hero p { color: #eef1fd; font-weight: 700; font-size: 14px; }
.ct-hero p a { color: #fdcc02; }
.ct-hero h1 { color: #fff; font-size: 30px; margin: 6px 0 10px; text-shadow: 0 2px 12px rgba(0, 0, 0, .3); }
.ct-meta { color: #eef1fd; font-weight: 700; font-size: 14px; }
.ct-main { margin-top: -34px; position: relative; display: grid; gap: 14px; max-width: 760px; }
.ct-prize { font-size: 18px; font-weight: 700; color: var(--brand); white-space: pre-line; }
.ct-steps { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.ct-tag, .ct-hashtag { font-weight: 900; color: #6b46c1; }
.ct-tag { background: #f3edff; border-radius: 8px; padding: 2px 8px; font-size: 16px; }
.ct-winner { font-size: 18px; font-weight: 800; color: var(--brand); }
.ct-winners { border: 2px solid var(--accent); }
.ct-entries .mini.out { opacity: .55; }
.ct-entries .mini.won { background: #fff8d6; border-radius: 10px; padding-left: 8px; }
@media (max-width: 600px) { .gz-tab-row.second { grid-template-columns: repeat(6, 1fr); } .gz-tab-row.second button { font-size: 10px; } }

/* ---------------------------------------------------------------- Font Awesome icons */
.gz-tabs button span i, .act-chip span i { color: var(--brand-2); }
.gz-tabs button.on span i, .act-chip.on span i { color: inherit; }
.gz-img > span i, .prod-img > span i, .pkg-img > span i { color: var(--brand-2); opacity: .55; }
.gz-type i, .pill i, .mode-badges i, .gz-meta i { margin-right: 2px; }
.gz-why-i span i { color: var(--brand-2); font-size: 22px; }
.tc-icon i, .pc-icon i { color: var(--brand); }
.social span i.fa-facebook { color: #1877f2; } .social span i.fa-youtube { color: #ff0000; } .social span i.fa-tiktok { color: #111; } .social span i.fa-instagram { color: #d62976; }
.gz-why-i span i.fa-whatsapp { color: #25d366; }
h1 i, h2 i, h3 i { color: var(--brand-2); }

/* ---------------------------------------------------------------- suggested packages */
.sug-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: 8px; }
.sug { background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; border-top: 4px solid var(--accent); }
.sug-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sug-top b { color: var(--brand); font-size: 16px; }
.sug-stars { color: #f2b705; font-size: 15px; white-space: nowrap; }
.sug-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; margin: 0; font-size: 13px; }
.sug-dl dt { color: var(--muted); font-weight: 700; }
.sug-dl dd { margin: 0; }
.sug-dl .chip { display: inline-block; margin: 0 2px 2px 0; font-size: 12px; }
.sug-price { font-size: 20px; font-weight: 900; color: var(--brand); }
.sug details summary { cursor: pointer; color: var(--brand-2); font-weight: 700; }

/* live updates connected: small green dot next to the business name */
body.live-on .brand b::after, body.live-on .sidenav .brand b::after { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #1f9d55; margin-left: 6px; vertical-align: middle; box-shadow: 0 0 0 3px rgba(31, 157, 85, .2); }

.login-tabs { display: grid; grid-template-columns: 1fr 1fr; }
.login-tabs button { min-height: 40px; font-weight: 700; }

/* ---------------------------------------------------------------- Koto CRM (#/crm) — crm.js */
.crm { max-width: 1200px; margin: 0 auto; padding: 20px 16px 48px; }
.crm-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.crm-head h1 { margin: 0; }
.crm-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.crm-tab { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; cursor: pointer; color: var(--ink); border-top: 3px solid var(--line); }
.crm-tab b { display: block; font-size: 24px; line-height: 1.1; }
.crm-tab span { font-size: 13px; color: var(--muted); }
.crm-tab.info { border-top-color: var(--info); } .crm-tab.warn { border-top-color: var(--warn); } .crm-tab.ok { border-top-color: var(--ok); }
.crm-tab.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.crm-tab.on span { color: #c9d2f5; }
.crm-filters { display: grid; gap: 10px; margin-bottom: 14px; }
.crm-search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; color: var(--muted); }
.crm-search input { border: 0; outline: 0; flex: 1; min-height: 42px; font: inherit; font-size: 16px; background: transparent; padding: 0; }
.crm-search:focus-within { border-color: var(--brand); }
.crm-check { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; }
.crm-check input { width: auto; min-height: 0; }
.crm-body { display: grid; gap: 14px; }
@media (min-width: 900px) { .crm-body { grid-template-columns: minmax(0, 1fr) minmax(340px, 420px); align-items: start; } .crm-detail { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; } .crm-back { display: none; } }
@media (max-width: 899px) { .crm.has-open .crm-list, .crm.has-open .crm-tabs, .crm.has-open .crm-filters, .crm.has-open .crm-agents { display: none; } .crm:not(.has-open) .crm-detail { display: none; } }
.crm-list { display: grid; gap: 8px; align-content: start; }
.crm-lead { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; }
.crm-lead:hover { border-color: #c8cfdb; }
.crm-lead.on { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.crm-lead-main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.crm-lead-main .small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crm-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crm-quick { display: flex; gap: 6px; flex: none; }
.crm-quick .btn { min-width: 38px; justify-content: center; }
.crm-pick { display: grid; justify-items: center; gap: 6px; color: var(--muted); }
.crm-pick .fa-solid { font-size: 26px; }
.crm-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.crm-contact .btn { justify-content: center; }
.crm-status { display: flex; }
.crm-status button { flex: 1; }
.crm-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 12px; margin: 0; font-size: 14px; }
.crm-facts dt { color: var(--muted); text-transform: capitalize; }
.crm-facts dd { margin: 0; overflow-wrap: anywhere; }
.crm-biz { display: flex; align-items: center; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafc; }
.crm-biz > div { flex: 1; min-width: 0; }
.crm-assign { width: auto; min-height: 34px; font-size: 14px; }
.crm-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.crm-notes li { display: grid; gap: 2px; padding: 8px 10px; border-left: 3px solid var(--line); background: #f8fafc; border-radius: 0 8px 8px 0; font-size: 14px; }
.crm-agents { margin-top: 16px; }

/* Calendar: price row per room type (tap to set date-wise rates) */
.cal tr.rates th.rn { font-weight: 600; color: var(--muted); font-size: 11px; }
.cal td.rt { height: 26px; font-size: 10.5px; font-weight: 600; color: #5d6670; background: #fbfcfd; font-variant-numeric: tabular-nums; }
.cal td.rt[data-act] { cursor: pointer; }
.cal td.rt[data-act]:hover { background: var(--brand-soft); color: var(--brand); }
.cal td.rt-weekend, .legend i.rt-weekend-i { background: #f1f4fa; }
.cal td.rt-special, .legend i.rt-special-i { background: var(--warn-soft); color: #8a5a00; }
.cal td.rt-sel, .cal td.rt-sel:hover { background: var(--brand) !important; color: #fff !important; }
.rate-bar .rate-inputs { gap: 8px; flex-wrap: wrap; }
.rate-bar .rate-inputs input[name="rate"] { width: 140px; }
.rate-bar .rate-inputs input[name="label"] { flex: 1; min-width: 140px; width: auto; }

/* ---------------------------------------------------------------- guest stay page: invoice (#/g/<token>) */
.invoice { display: grid; gap: 14px; }
.inv-head { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.inv-from { display: flex; gap: 10px; align-items: flex-start; min-width: 0; flex: 1; }
.inv-from > div { display: grid; gap: 2px; min-width: 0; }
.inv-from small { color: var(--muted); font-size: 12.5px; overflow-wrap: anywhere; }
.inv-logo { flex: none; width: 46px; height: 46px; border-radius: 10px; background: var(--brand) center / cover; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 20px; }
.inv-hotel { font-size: 17px; }
.inv-meta { display: grid; justify-items: end; gap: 3px; text-align: right; }
.inv-title { font-size: 12px; font-weight: 800; letter-spacing: .18em; color: var(--muted); }
.inv-meta b { font-size: 18px; font-variant-numeric: tabular-nums; }
.inv-meta small { color: var(--muted); font-size: 12px; }
.inv-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inv-parties > div { display: grid; gap: 2px; background: #f7f9fb; border-radius: 10px; padding: 10px 12px; font-size: 13.5px; }
.inv-parties small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.inv-parties span { color: var(--muted); overflow-wrap: anywhere; }
@media (max-width: 560px) { .inv-parties { grid-template-columns: 1fr; } }
.inv-table-wrap { overflow-x: auto; }
.inv-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.inv-table th { text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 6px 8px; border-bottom: 1px solid var(--line); }
.inv-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.inv-table td small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.inv-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.inv-totals { display: grid; gap: 6px; margin-left: auto; width: min(100%, 320px); font-size: 14px; }
.inv-totals > div { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.inv-due { border-top: 2px solid var(--ink); padding-top: 8px; font-size: 16px; }
@media print {
  body * { visibility: hidden !important; }
  .invoice, .invoice * { visibility: visible !important; }
  .invoice { position: absolute; inset: 0 0 auto 0; box-shadow: none !important; border: 0 !important; }
  .inv-actions, .as-fab, .as-panel { display: none !important; }
}

/* ---------------------------------------------------------------- travel assistant chat (assist.js) */
.as-locked .fa-comments, .as-card .fa-comments { font-size: 24px; color: var(--brand); flex: none; margin-right: 4px; }
.as-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.as-steps li { color: var(--muted); }
.as-steps li.ok { color: var(--ok); }
.as-fab { position: fixed; right: 16px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 16px; background: var(--brand); color: #fff; font: inherit; font-weight: 700; box-shadow: 0 8px 24px rgba(7, 89, 133, .3); cursor: pointer; }
.as-panel { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: min(400px, calc(100vw - 32px)); height: min(640px, calc(100vh - 32px)); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 60px rgba(15, 23, 42, .25); overflow: hidden; }
@media (max-width: 560px) { .as-panel { inset: 0; width: 100%; height: 100%; border-radius: 0; } }
.as-panel header { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--brand); color: #fff; }
.as-panel header small { display: block; opacity: .8; font-size: 12px; }
.as-panel header .icon-btn { color: #fff; background: rgba(255, 255, 255, .12); border-color: transparent; }
.as-av { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .16); display: grid; place-items: center; }
.as-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #f6f8fb; }
.as-msg { max-width: 88%; padding: 10px 12px; border-radius: 14px; font-size: 14px; line-height: 1.45; display: grid; gap: 8px; }
.as-msg p { margin: 0; }
.as-msg.bot { background: #fff; border: 1px solid var(--line); border-top-left-radius: 4px; align-self: flex-start; }
.as-msg.me { background: var(--brand); color: #fff; border-top-right-radius: 4px; align-self: flex-end; }
.as-msg .row { gap: 6px; }
.as-typing { flex-direction: row; display: flex; gap: 4px; }
.as-typing i { width: 7px; height: 7px; border-radius: 50%; background: #b8c0cc; animation: as-dot 1s infinite ease-in-out; }
.as-typing i:nth-child(2) { animation-delay: .15s; } .as-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes as-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .as-typing i { animation: none; } }
.as-chips { display: flex; gap: 6px; overflow-x: auto; padding: 8px 10px; border-top: 1px solid var(--line); scrollbar-width: none; }
.as-chips::-webkit-scrollbar { display: none; }
.as-chips .chip-btn { flex: none; font-size: 13px; white-space: nowrap; }
.as-input { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.as-input input { flex: 1; min-width: 0; }
.as-list { display: grid; gap: 6px; }
.as-row { display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); text-decoration: none; }
.as-row .grow { min-width: 0; }
.as-row small { display: block; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.as-ic { flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.as-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.as-quick { display: inline-flex; gap: 4px; margin-left: auto; padding-left: 6px; flex: none; }
.as-quick .icon-btn { width: 34px; height: 34px; }
.as-back { position: fixed; right: 14px; bottom: 16px; z-index: 45; display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; box-shadow: 0 6px 18px rgba(7, 89, 133, .3); }

/* Customer ↔ business chat, offers and ratings (biz.js) */
.vchat { display: flex; flex-direction: column; gap: 6px; max-height: 320px; overflow-y: auto; padding: 4px 0; }
.vmsg { align-self: flex-start; max-width: 85%; display: grid; gap: 2px; background: #f1f4f9; border-radius: 12px 12px 12px 4px; padding: 7px 10px; font-size: 14px; }
.vmsg.me { align-self: flex-end; background: var(--brand); color: #fff; border-radius: 12px 12px 4px 12px; }
.vmsg small { font-size: 11px; opacity: .7; }
.vchat-box { border-top: 1px dashed var(--line); padding-top: 6px; }
.vchat-box form { margin-top: 6px; }
.offer-reply { background: #fff8e6; border-radius: 10px; padding: 8px 10px; }
.offer-box summary { cursor: pointer; }
.stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { font-size: 32px; color: #d4d9e1; cursor: pointer; line-height: 1; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: #f5a524; }
.stars input:focus-visible + label { outline: 2px solid var(--brand); border-radius: 4px; }
.as-stars { color: #c98400; font-size: 12px; font-weight: 700; }
.app-login { border: 2px solid var(--ok); background: var(--ok-soft); }
.as-plan { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); display: grid; gap: 6px; }
.as-plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.as-plan li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; padding: 6px 8px; border-radius: 8px; background: #f7f9fb; }
.as-plan li a { flex: 1; min-width: 0; color: var(--ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.as-plan li.today { background: var(--brand-soft); }
.as-plan li.tom { background: #fff6e0; }
.as-when { flex: none; width: 66px; font-size: 12px; font-weight: 700; color: var(--muted); }

/* ---------------------------------------------------------------- agent workspace (#/a/<token>) */
.ag { min-height: 100vh; background: #eef2f6; }
.ag-head { background: linear-gradient(135deg, #075985, #1b2fa3); color: #fff; position: sticky; top: 0; z-index: 20; box-shadow: 0 4px 18px rgba(7, 89, 133, .25); }
.ag-head-in { max-width: 1180px; margin: 0 auto; padding: 14px 16px 10px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ag-id { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ag-id b { display: block; font-size: 16px; }
.ag-id small { display: block; color: #c9d2f5; font-size: 12.5px; }
.ag-av { width: 42px; height: 42px; flex: none; border-radius: 12px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; font-weight: 800; letter-spacing: .04em; }
.ag-head-r { display: flex; align-items: center; gap: 8px; }
.ag-rate { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #f4c542; color: #3a2a00; }
.btn.ghost-light { background: rgba(255, 255, 255, .12); border-color: transparent; color: #fff; }
.ag-tabs { max-width: 1180px; margin: 0 auto; padding: 0 10px; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.ag-tabs::-webkit-scrollbar { display: none; }
.ag-tabs a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px 12px; color: #c9d2f5; text-decoration: none; font-weight: 600; font-size: 14px; border-bottom: 3px solid transparent; }
.ag-tabs a.on { color: #fff; border-bottom-color: #f4c542; }
.ag-tabs .ic { width: 16px; height: 16px; }
.ag-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #f4c542; color: #3a2a00; font-size: 11px; font-weight: 800; }
.ag-main { max-width: 1180px; margin: 0 auto; padding: 18px 16px; display: grid; gap: 14px; }
.ag-hello { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ag-hello h1 { margin: 0; font-size: 24px; }
.ag-hello p { margin: 2px 0 0; }
.ag-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.ag-kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 2px; }
.ag-kpi span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.ag-kpi b { font-size: 24px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.ag-kpi small { font-size: 12px; color: var(--muted); }
.ag-kpi.hl { background: var(--brand); border-color: var(--brand); color: #fff; }
.ag-kpi.hl span, .ag-kpi.hl small { color: #c9d2f5; }
.ag-kpi.warn { border-color: #f0c36d; background: #fffaf0; }
.ag-bar { height: 10px; border-radius: 999px; background: #e6ebf2; overflow: hidden; }
.ag-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand), #3f5bd6); }
.ag-grid2 { display: grid; gap: 14px; }
@media (min-width: 900px) { .ag-grid2 { grid-template-columns: 1fr 1fr; } }
.ag-list { display: grid; gap: 6px; }
.ag-row { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; }
.ag-row:hover { border-color: #c8cfdb; background: #fafbfd; }
.ag-row .grow { min-width: 0; }
.ag-row small { display: block; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ag-row-r { display: grid; justify-items: end; gap: 4px; font-variant-numeric: tabular-nums; }
.ag-book { display: grid; gap: 14px; align-items: start; }
@media (min-width: 900px) { .ag-book { grid-template-columns: minmax(0, 1fr) 340px; } .ag-sum { position: sticky; top: 120px; } }
.ag-room { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 12px; }
@media (max-width: 560px) { .ag-room { grid-template-columns: 1fr; } }
.ag-room-img { min-height: 120px; border-radius: 10px; background: #e6ebf2 center / cover; display: grid; place-items: center; color: var(--muted); }
.ag-room-b { display: grid; gap: 8px; align-content: start; }
.ok-text { color: var(--ok); }
.ag-tools { display: grid; gap: 10px; }
.ag-search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; color: var(--muted); max-width: 480px; }
.ag-search input { border: 0; outline: 0; flex: 1; min-height: 42px; background: transparent; padding: 0; font-size: 16px; }
.ag-table-wrap { padding: 0; overflow-x: auto; }
.ag-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ag-table th { text-align: left; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); background: #f7f9fb; white-space: nowrap; }
.ag-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ag-table td small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.ag-table tbody tr[data-act] { cursor: pointer; }
.ag-table tbody tr[data-act]:hover { background: #fafbfd; }
.ag-table tr.open { background: #f3f6ff; }
.ag-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ag-table .mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.ag-act { white-space: nowrap; text-align: right; }
.ag-act .btn { margin-left: 4px; }
.ag-detail td { background: #f8faff; }
.ag-barcol { width: 30%; }
.ag-mini { display: block; height: 8px; border-radius: 999px; background: #e6ebf2; overflow: hidden; }
.ag-mini i { display: block; height: 100%; background: var(--brand); border-radius: 999px; }
@media (max-width: 760px) {
  .ag-table thead { display: none; }
  .ag-table, .ag-table tbody, .ag-table tr, .ag-table td { display: block; width: 100%; }
  .ag-table tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .ag-table td { border: 0; padding: 4px 14px; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .ag-table td::before { content: attr(data-l); color: var(--muted); font-size: 12px; font-weight: 600; text-align: left; }
  .ag-table td.ag-act, .ag-table td.ag-barcol, .ag-detail td { justify-content: flex-start; text-align: left; }
  .ag-table td.ag-act::before, .ag-detail td::before { content: none; }
  .ag-table .num { text-align: right; }
}

/* Dashboard Help (help.js) */
.hp-fab { position: fixed; left: 16px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 999px; padding: 10px 15px; background: #fff; color: var(--brand); font: inherit; font-weight: 700; box-shadow: 0 6px 20px rgba(15, 23, 42, .18); cursor: pointer; border: 1px solid var(--line); }
.hp-panel { right: auto; left: 16px; }
@media (max-width: 560px) { .hp-panel { left: 0; } }
.hp-ans { display: grid; gap: 4px; }
.hp-ans small { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.hp-ans p { margin: 0; }
.hp-ans ol { margin: 0; padding-left: 20px; display: grid; gap: 3px; }
.hp-verify { margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: #f3f6ff; display: grid; gap: 6px; }
.hp-common { flex-wrap: wrap; }
.crm-support { margin-bottom: 12px; border-color: #f0c36d; }
.crm-ticket { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); }
.crm-ticket pre { white-space: pre-wrap; margin: 4px 0 0; font-family: inherit; }
.gal-dots { position: absolute; left: 0; right: 0; top: calc(100% * 0); display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.pcat .gal-dots { top: auto; transform: translateY(-22px); }
.gal-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .55); box-shadow: 0 0 2px rgba(0, 0, 0, .4); transition: background .2s, width .2s; }
.gal-dots i.on { background: #fff; width: 16px; border-radius: 4px; }

/* ---------------------------------------------------------------- creators (influencer dashboard, Influencer tab) */
.gz-creator { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; background: linear-gradient(135deg, #fff8e1, #fff); border: 1px solid #f4d27a; border-radius: 16px; padding: 16px 18px; margin-bottom: 16px; }
.gz-creator .grow { min-width: 240px; }
.gz-creator p { margin: 4px 0 0; color: #5d6670; font-size: 14px; }
.gz-tag.kc { left: auto; right: 8px; background: #f4c542; color: #3a2a00; }
.koto-creator { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: #7a5400; background: #fff3cd; border: 1px solid #f4d27a; border-radius: 999px; padding: 2px 9px; }
.koto-creator.sm { font-size: 11px; padding: 1px 7px; }
.in-head { display: grid; gap: 10px; }
.in-head-row { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.in-head-row .grow { min-width: 200px; }
.in-reach { text-align: right; display: grid; }
.in-reach b { font-size: 28px; line-height: 1; color: var(--brand); }
.in-reach small { color: var(--muted); font-size: 12px; }
.in-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.in-tabs::-webkit-scrollbar { display: none; }
.in-tabs button { flex: none; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }
.in-tabs button.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.in-deal-cta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border-color: #f4d27a; background: #fffaf0; }
.sp-count { color: var(--brand); font-weight: 700; margin-left: 6px; }
.sp-list { display: grid; gap: 6px; max-height: 340px; overflow-y: auto; margin-top: 8px; padding-right: 2px; }
@media (min-width: 760px) { .sp-list { grid-template-columns: 1fr 1fr; } }
.sp-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; background: #fff; }
.sp-item.on { border-color: var(--brand); background: #f3f6ff; }
.sp-item input { width: auto; min-height: 0; }
.sp-item .grow { min-width: 0; }
.sp-item small { display: block; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.check-line { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.check-line input { width: auto; min-height: 0; margin-top: 3px; }
.in-ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.in-ul .fa-solid { color: var(--brand); width: 18px; }
.in-terms { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; }
.dash.in-dash { display: flex; flex-direction: column; gap: 14px; grid-template-columns: none; }
.in-dash > * { min-width: 0; }
.dash.in-dash { align-items: stretch; }
.social.add { border-style: dashed; color: var(--muted); background: #fafbfd; }

/* Home search: one box for a location or a name, with suggestions while typing (explore.js) */
.gz-ac { position: relative; display: flex; align-items: center; }
.gz-ac input { flex: 1; min-width: 0; padding-right: 26px; }
.gz-ac-x { position: absolute; right: 0; top: 50%; transform: translateY(-50%); border: 0; background: #eef1f6; color: #5d6670; width: 22px; height: 22px; border-radius: 50%; font-size: 15px; line-height: 1; cursor: pointer; }
.gz-sug { position: absolute; left: -12px; right: -12px; top: calc(100% + 12px); z-index: 30; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(15, 23, 42, .18); padding: 6px; max-height: 360px; overflow-y: auto; }
.gz-sug-h { margin: 6px 8px 2px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.gz-sug-i { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; padding: 9px 10px; border-radius: 10px; font: inherit; font-size: 15px; color: var(--ink); text-align: left; cursor: pointer; }
.gz-sug-i:hover, .gz-sug-i.on { background: #eef7fc; }
.gz-sug-i > .fa-solid, .gz-sug-i > .fa-brands { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 8px; background: #e0f2fe; color: var(--brand); font-size: 13px; }
.gz-sug-i span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 400; }
.gz-sug-i span b { font-weight: 800; }
.gz-sug-i small { flex: none; color: var(--muted); font-size: 12px; }
.gz-sug-none { margin: 8px 10px; font-size: 13px; color: var(--muted); }
.gz-f:has(.gz-ac) { overflow: visible; }

/* ================================================================ form system v2 — clearer, calmer data entry */
:root { --field-bg: #f8fafc; --field-line: #d5dde8; --field-hover: #b9c4d3; --focus-ring: 0 0 0 4px rgba(42, 63, 176, .14); }
.field { gap: 6px; }
.field > span { display: flex; align-items: baseline; gap: 3px; font-size: 13.5px; font-weight: 700; color: var(--ink); letter-spacing: .005em; }
.req-mark { color: var(--err); font-style: normal; font-weight: 800; }
.field > small { font-size: 12.5px; color: #7b8494; line-height: 1.4; }
.f-err { display: none; font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--err); }
.field.bad .f-err { display: flex; align-items: center; gap: 5px; }
.field.bad .f-err::before { content: '!'; display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: var(--err); color: #fff; font-size: 10px; font-weight: 800; }

input, select, textarea {
  min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--field-line); border-radius: 12px;
  background: var(--field-bg); transition: border-color .15s, box-shadow .15s, background .15s;
}
input::placeholder, textarea::placeholder { color: #a3acb9; }
input:hover:not(:disabled):not([readonly]), select:hover:not(:disabled), textarea:hover:not(:disabled) { border-color: var(--field-hover); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand-2); background: #fff; box-shadow: var(--focus-ring); }
input:disabled, select:disabled, textarea:disabled { opacity: .6; cursor: not-allowed; }
input[readonly] { background: #f1f4f8; color: #5d6670; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--err); background: #fffafa; }
.field.bad input:focus, .field.bad select:focus, .field.bad textarea:focus { box-shadow: 0 0 0 4px rgba(180, 51, 42, .14); }
.field.ok input:not([type="checkbox"]):not([type="radio"]) { border-color: #9fd3b3; }
textarea { min-height: 96px; line-height: 1.5; }
/* custom select arrow */
select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230d1a6e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
select[multiple] { background-image: none; padding-right: 14px; }
input[type="date"], input[type="time"] { cursor: pointer; }
input[type="number"] { font-variant-numeric: tabular-nums; }
input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; min-height: 0; padding: 0; accent-color: var(--brand); box-shadow: none; }
.char-count { align-self: flex-end; font-size: 11.5px; color: #9aa3b0; font-variant-numeric: tabular-nums; margin-top: -2px; }
.char-count.near { color: var(--warn); font-weight: 700; }

/* chips for multiple choice: bigger, with a tick when chosen */
.checks { gap: 8px; }
.check-chip { padding: 8px 14px; border: 1.5px solid var(--field-line); background: #fff; font-size: 14px; transition: border-color .15s, background .15s; user-select: none; }
.check-chip:hover { border-color: var(--field-hover); }
.check-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.check-chip span::before { content: ''; display: inline-block; width: 0; transition: width .15s; }
.check-chip:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.check-chip:has(input:checked) span::before { content: '✓'; width: auto; margin-right: 6px; font-weight: 800; }
.check-chip:has(input:focus-visible) { box-shadow: var(--focus-ring); }
.check-chip { position: relative; }

/* form sections: numbered headings, more air between fields */
form.stack { counter-reset: fsec; }
form.stack > section.card { gap: 16px; padding: 20px; }
form.stack:has(> section.card ~ section.card) > section.card > h2:first-child { counter-increment: fsec; display: flex; align-items: center; gap: 10px; font-size: 17px; }
form.stack:has(> section.card ~ section.card) > section.card > h2:first-child::before {
  content: counter(fsec); display: inline-grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: 14px; font-weight: 800; }
.card.stack > h2 + p.small, .card.stack > h2 + .small { margin-top: -8px; }

/* long forms: wider, two columns on big screens (text areas, chips and photos take the full row) */
.wrap-form { max-width: 820px; }
@media (min-width: 760px) {
  .form-grid { display: grid !important; grid-template-columns: 1fr 1fr; column-gap: 18px; row-gap: 16px; align-items: start; }
  .form-grid > :not(.field),
  .form-grid > .field:has(textarea), .form-grid > .field:has(.checks), .form-grid > .field:has(.thumbs),
  .form-grid > .field:has(.cover-prev), .form-grid > .field:has(.pay-row) { grid-column: 1 / -1; }
}
/* the Save / Register button of a long form stays in reach at the bottom of the screen */
form.stack:has(> section.card ~ section.card) > .btn.lg:last-child,
form.stack:has(> section.card ~ section.card) > button.btn:last-child {
  position: sticky; bottom: 12px; z-index: 5; box-shadow: 0 10px 28px rgba(7, 89, 133, .28); }
form.form-grid > .btn.primary:last-child { position: sticky; bottom: 12px; z-index: 5; box-shadow: 0 10px 28px rgba(7, 89, 133, .28); }
@media (min-width: 760px) { .form-grid > .field:has(.chips) { grid-column: 1 / -1; } }
.fac-chip { position: relative; display: inline-flex; align-items: center; padding: 8px 14px; border: 1.5px solid var(--field-line); border-radius: 999px; background: #fff; font-size: 14px; cursor: pointer; user-select: none; transition: border-color .15s, background .15s; }
.fac-chip:hover { border-color: var(--field-hover); }
.fac-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.fac-chip:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.fac-chip:has(input:checked) span::before { content: '✓'; margin-right: 6px; font-weight: 800; }
.fac-chip:has(input:focus-visible) { box-shadow: var(--focus-ring); }
.steps-named { list-style: none; padding: 0; display: flex; gap: 8px; margin: 6px 0 18px; }
.steps-named li { flex: 1; display: grid; gap: 6px; min-width: 0; }
.steps-named i { display: block; height: 5px; border-radius: 3px; background: var(--line); }
.steps-named li.done i, .steps-named li.on i { background: var(--brand); }
.steps-named span { font-size: 12px; font-weight: 600; color: #8a93a2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.steps-named li.cur span { color: var(--brand); font-weight: 800; }
.steps-named li.done span { color: var(--ok); }
@media (max-width: 480px) { .steps-named li:not(.cur) span { visibility: hidden; } }

/* Hotel AI concierge (concierge.js) */
.cc-offer { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; padding: 10px; border: 1.5px solid var(--accent); border-radius: 12px; background: #fffbea; }
.cc-offer small { display: block; color: var(--muted); font-size: 12px; }
.cc-total { font-size: 16px; color: var(--brand); font-variant-numeric: tabular-nums; }
.cc-offer .btn { grid-column: 1 / -1; }

/* AI insights card (insights.js) */
.dash > .ins-card { grid-column: 1 / -1; }
.ins-card { display: grid; gap: 14px; background: linear-gradient(180deg, #f6f8ff, #fff 120px); }
.ins-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.ins-head h2 { display: flex; align-items: center; gap: 8px; }
.ins-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.ins-kpis > div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; }
.ins-kpis small { color: var(--muted); font-size: 12px; font-weight: 600; }
.ins-kpis b { font-size: 20px; color: var(--brand); font-variant-numeric: tabular-nums; }
.ins-grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .ins-grid { grid-template-columns: minmax(0, 1.6fr) minmax(220px, 1fr); } }
.ins-ai { display: grid; gap: 6px; font-size: 14px; }
.ins-sum { font-size: 15px; line-height: 1.55; color: var(--ink); }
.ins-ai h3 { font-size: 14px; margin-top: 6px; display: flex; gap: 6px; align-items: center; }
.ins-ai ul, .ins-ai ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.ins-ai ol li::marker { color: var(--brand); font-weight: 800; }
.ins-chart { display: grid; gap: 8px; align-content: start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.ins-bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; }
.ins-bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.ins-bar i { width: 100%; max-width: 28px; background: var(--brand-2); border-radius: 4px 4px 0 0; }
.ins-bar:last-child i { background: var(--brand); }
.ins-bar span { font-size: 11px; color: var(--muted); }
.ins-skel { display: grid; gap: 8px; }
.ins-skel i { display: block; height: 14px; border-radius: 6px; background: linear-gradient(90deg, #eef1f6, #f7f9fc, #eef1f6); background-size: 200% 100%; animation: ins-sh 1.2s infinite linear; }
.ins-skel i:nth-child(2) { width: 80%; } .ins-skel i:nth-child(3) { width: 60%; }
@keyframes ins-sh { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .ins-skel i { animation: none; } }

/* add / edit a service, menu item, ticket, package… (biz.js item form) */
.item-form .wide-field, .item-form .switch-line, .item-form .item-actions { grid-column: 1 / -1; }
.money-in { position: relative; display: flex; align-items: center; }
.money-in > span { position: absolute; left: 14px; font-weight: 800; color: var(--brand); pointer-events: none; }
.money-in > input { padding-left: 34px; font-weight: 700; }
.item-photo { width: 120px !important; height: 90px !important; border-radius: 12px; background-color: #eef2f7; }
.switch-line { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--field-line); border-radius: 12px; background: var(--field-bg); cursor: pointer; }
.switch-line input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-line > i { position: relative; flex: none; width: 44px; height: 26px; border-radius: 999px; background: #c9d1dd; transition: background .2s; }
.switch-line > i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.switch-line input:checked + i { background: var(--ok); }
.switch-line input:checked + i::after { transform: translateX(18px); }
.switch-line input:focus-visible + i { box-shadow: var(--focus-ring); }
.switch-line small { display: block; color: var(--muted); font-size: 12.5px; }
.item-actions { position: sticky; bottom: 12px; z-index: 5; background: #fff; border-radius: 14px; padding: 6px; box-shadow: 0 10px 28px rgba(7, 89, 133, .18); }
.item-form .field:has(.a4-prev) { grid-column: 1 / -1; }
/* one pill per chip: the older inner-pill style on the text is switched off */
.fac-chip span, .fac-chip:has(input:checked) span { border: 0 !important; background: none !important; padding: 0 !important; border-radius: 0 !important; color: inherit !important; box-shadow: none !important; }

/* ================================================================ transport ERP (trips.js) */
.tr-dates { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.tr-dep { display: grid; gap: 12px; margin-bottom: 12px; }
.tr-dep.off { opacity: .7; background: repeating-linear-gradient(45deg, #fff, #fff 12px, #fbf4f3 12px, #fbf4f3 24px); }
.tr-dep-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.tr-name { font-size: 17px; color: var(--brand); }
.tr-classes { display: grid; gap: 6px; }
.tr-row { display: grid; grid-template-columns: minmax(0, 1.4fr) 110px 90px minmax(0, 1.2fr); gap: 10px; align-items: center; }
.tr-row input { min-height: 40px; padding: 8px 10px; }
.tr-th { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.tr-sold { display: grid; gap: 3px; }
.tr-sold i { display: block; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--brand) var(--p), #e6ebf2 var(--p)); }
.tr-sold small { font-size: 12px; color: var(--muted); }
@media (max-width: 640px) { .tr-row { grid-template-columns: 1fr 1fr; } .tr-th { display: none; } .tr-row > span:first-child { grid-column: 1 / -1; } .tr-sold { grid-column: 1 / -1; } }
.tr-manifest summary { cursor: pointer; }
.tr-man { display: grid; gap: 6px; margin-top: 8px; }
.tr-man-r { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }
.tr-man-r .grow { min-width: 0; }
.tr-class-in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) 100px auto; gap: 8px; align-items: center; }
@media (max-width: 560px) { .tr-class-in { grid-template-columns: 1fr 1fr; } .tr-class-in > input:first-child { grid-column: 1 / -1; } }

/* guests: live departures and booking */
.tr-live { margin-bottom: 18px; }
.tr-list { display: grid; gap: 10px; }
.tr-card { display: grid; gap: 10px; grid-template-columns: 1fr auto; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); }
.tr-card:hover { border-color: var(--brand-2); }
.tr-card-h { display: flex; gap: 14px; align-items: center; min-width: 0; }
.tr-card-h .grow { min-width: 0; }
.tr-card-h small { display: block; color: var(--muted); font-size: 12.5px; }
.tr-time { display: grid; text-align: center; min-width: 74px; padding: 6px 8px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); }
.tr-time b { font-size: 15px; } .tr-time small { font-size: 11.5px; }
.tr-card-c { grid-column: 1 / 2; display: flex; gap: 8px; flex-wrap: wrap; }
.tr-cls { display: grid; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; min-width: 120px; }
.tr-cls span { font-weight: 800; color: var(--brand); }
.tr-cls small { color: var(--ok); font-size: 11.5px; font-weight: 600; }
.tr-cls.out { opacity: .55; } .tr-cls.out small { color: var(--err); }
.tr-book { grid-row: 1 / 3; grid-column: 2; align-self: center; }
@media (max-width: 560px) { .tr-card { grid-template-columns: 1fr; } .tr-book { grid-row: auto; grid-column: 1; } }
.tr-when { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.tr-when > div { flex: 1; min-width: 110px; display: grid; padding: 8px 12px; border-radius: 10px; background: #f1f8fc; }
.tr-when small { font-size: 11.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.tr-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.tr-opt { position: relative; display: grid; gap: 2px; padding: 12px; border: 1.5px solid var(--field-line); border-radius: 12px; cursor: pointer; background: #fff; }
.tr-opt input { position: absolute; opacity: 0; }
.tr-opt span { font-weight: 800; color: var(--brand); font-size: 17px; } .tr-opt span small { font-weight: 600; font-size: 12px; color: var(--muted); }
.tr-opt > small { color: var(--ok); font-weight: 600; }
.tr-opt.on { border-color: var(--brand); background: var(--brand-soft); box-shadow: var(--focus-ring); }
.tr-opt.out { opacity: .5; cursor: not-allowed; }
.tr-total { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 12px; background: #fffbea; border: 1px solid #f4d27a; }
.tr-total b { font-size: 20px; color: var(--brand); }
.tr-pub { margin: 18px 0; display: grid; gap: 10px; }

/* Saint Martin ship page: seats of the chosen ship (ship.js) */
.ship-card .btn.block { margin-top: 10px; }
.seat-panel { margin-top: 18px; display: grid; gap: 14px; scroll-margin-top: 80px; border: 2px solid var(--brand-soft); }
.seat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.seat-card { display: grid; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; transition: border-color .15s, box-shadow .15s; }
.seat-card.on { border-color: var(--brand); box-shadow: var(--focus-ring); }
.seat-img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 3; }
.seat-body { display: grid; gap: 6px; padding: 12px; }
.seat-body > small { font-size: 12.5px; line-height: 1.4; }
.seat-price { font-size: 20px; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.seat-price small { font-size: 12px; font-weight: 600; color: var(--muted); }
.seat-sub { font-weight: 800; color: var(--ok); font-variant-numeric: tabular-nums; }
.seat-total { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #fffbea; border: 1px solid #f4d27a; }
.seat-total b { font-size: 20px; color: var(--brand); }

/* One-line trip booking under the transport search (explore.js) */
.qb { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 6px 6px 12px; border-radius: 14px; background: rgba(255, 255, 255, .96); box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
.qb-ic { color: var(--brand-2); font-size: 16px; }
.qb input { flex: 1; min-width: 0; border: 0; background: transparent; min-height: 40px; padding: 0; box-shadow: none !important; }
.qb input:focus { background: transparent; }
.qb-err { margin: 8px 0 0; color: #fff; background: rgba(180, 51, 42, .85); padding: 6px 10px; border-radius: 10px; font-size: 13px; }
.qb-res { margin-top: 10px; padding: 12px; border-radius: 14px; background: #fff; display: grid; gap: 8px; color: var(--ink); text-align: left; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
.qb-res p { margin: 0; font-size: 14px; }
.qb-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.qb-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 13px; font-weight: 600; }
.qb-res .ghost-light { background: #f1f4f8; color: var(--ink); }

/* ---------------------------------------------------------------- guest app: request steps, WhatsApp code, Travel Passport */
.req-steps { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.g-steps { list-style: none; margin: -30px 0 0; padding: 12px 10px; display: flex; gap: 4px; background: var(--card, #fff); border-radius: 14px; box-shadow: 0 6px 20px rgba(7,89,133,.12); position: relative; }
.g-steps li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11.5px; color: var(--muted); text-align: center; position: relative; }
.g-steps li:not(:last-child)::after { content: ''; position: absolute; top: 13px; left: calc(50% + 15px); right: calc(-50% + 15px); height: 2px; background: var(--line, #dbeefa); }
.g-steps li.done:not(:last-child)::after { background: var(--ok); }
.g-steps i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 12px; background: var(--line, #e6eaf1); color: var(--muted); }
.g-steps li.done i { background: var(--ok); color: #fff; }
.g-steps li.now i { background: var(--brand); color: #fff; box-shadow: 0 0 0 4px rgba(7,89,133,.15); }
.g-steps li.now span { color: var(--brand); font-weight: 700; }
.next-card { border-left: 4px solid var(--warn); }
.next-card.ok { border-left-color: var(--ok); }
.verify-card { border: 2px dashed var(--brand); }
.code-in { font-size: 20px; letter-spacing: 6px; text-align: center; font-weight: 700; min-width: 0; }
.pp-logo { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #075985, #0ea5e9); }
.passport { background: linear-gradient(135deg, #075985 0%, #0284c7 60%, #2a7a8a 100%); color: #fff; border: 0; }
.passport .pp-logo { background: rgba(255,255,255,.18); }
.passport small { letter-spacing: .12em; font-size: 10.5px; color: #cfeafc; display: block; }
.passport b { color: #fff; font-size: 18px; }
.pp-top { display: flex; align-items: center; gap: 12px; }
.pp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 0; }
.pp-grid dt { font-size: 11px; color: #cfeafc; text-transform: uppercase; letter-spacing: .06em; }
.pp-grid dd { margin: 2px 0 0; font-weight: 700; }
.passport .pill.ok { background: rgba(255,255,255,.2); color: #fff; }
.mini-pp { text-decoration: none; padding: 12px 14px; }
.mini-pp b { font-size: 15px; }
.mini-pp .small { color: #e0f2fe; }
.pp-head { padding-bottom: 36px; }
.pp-trip { display: block; text-decoration: none; color: inherit; }

/* Koto Travel Passport — data page (public/passport.js) */
.pp-book { position: relative; overflow: hidden; border-radius: 16px; box-shadow: 0 10px 30px rgba(7,89,133,.18); color: #0f2a3d;
  background: repeating-linear-gradient(115deg, rgba(7,89,133,.035) 0 2px, transparent 2px 9px), linear-gradient(135deg, #f3f6fb, #e4edf7 55%, #dcebea); }
.pp-book::after { content: 'K'; position: absolute; right: 6%; top: 18%; font: 800 min(52vw, 260px)/1 system-ui, sans-serif; color: rgba(7,89,133,.05); pointer-events: none; }
.pp-band { display: flex; align-items: center; gap: 10px; padding: 12px 14px; color: #fff; background: linear-gradient(90deg, #075985, #0ea5e9); }
.pp-band b { display: block; font-size: 15px; letter-spacing: .06em; color: #fff; }
.pp-band small { display: block; font-size: 11px; color: #cfeafc; }
.pp-crest { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #f2c94c; color: #075985; font-weight: 800; }
.pp-valid { margin-left: auto; background: rgba(255,255,255,.18) !important; color: #fff !important; font-size: 11px; white-space: nowrap; }
.pp-data { position: relative; z-index: 1; display: grid; grid-template-columns: 112px 1fr; gap: 14px; padding: 14px; }
.pp-photo { width: 112px; height: 142px; border-radius: 6px; overflow: hidden; background: #fff; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.12); cursor: pointer; display: grid; place-items: center; text-align: center; }
.pp-photo img { width: 100%; height: 100%; object-fit: cover; }
.pp-photo.empty { background: #dbeefa; color: var(--muted); font-size: 12px; font-weight: 600; gap: 4px; align-content: center; border-style: dashed; border-color: #8cc8ec; }
.pp-fields { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 10px; }
.pp-fields .wide { grid-column: 1 / -1; }
.pp-fields dt { font-size: 9.5px; font-weight: 700; color: #4f6a80; text-transform: uppercase; letter-spacing: .04em; }
.pp-fields dd { margin: 1px 0 0; font-size: 13px; font-weight: 800; overflow-wrap: anywhere; }
.pp-meta { position: relative; z-index: 1; display: flex; justify-content: space-between; padding: 0 14px 10px; color: #4f6a80; font-weight: 600; }
.pp-mrz { position: relative; z-index: 1; margin: 0; padding: 10px 14px; background: rgba(255,255,255,.7); font: 600 clamp(8.5px, 2.55vw, 15px)/1.5 "OCR B", "Courier New", monospace; letter-spacing: 0; white-space: pre; overflow: hidden; color: #0f2a3d; }
.pp-actions { gap: 10px; }
.pp-mini-photo { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex: none; }
@media (max-width: 420px) { .pp-data { grid-template-columns: 92px 1fr; gap: 10px; } .pp-photo { width: 92px; height: 118px; } .pp-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pp-valid { display: none; } }

/* Draggable floating buttons (public/drag.js) */
.as-fab, .hp-fab, .as-back { touch-action: none; user-select: none; -webkit-user-select: none; transition: left .18s ease, top .05s; }
.fab-dragging { transition: none !important; cursor: grabbing !important; transform: scale(1.06); box-shadow: 0 14px 34px rgba(7, 89, 133, .38) !important; opacity: .92; }

/* Koto Admin — mother dashboard (public/admin.js) */
.ad-head { background: linear-gradient(135deg, #075985, #0284c7); color: #fff; padding: 14px 0 0; position: sticky; top: 0; z-index: 30; }
.ad-head .wrap-wide { padding-bottom: 0; }
.ad-head b { display: block; color: #fff; font-size: 17px; }
.ad-head small { color: #cfeafc; font-size: 12px; }
.ad-tabs { display: flex; gap: 4px; overflow-x: auto; margin-top: 12px; scrollbar-width: none; }
.ad-tabs a { flex: none; padding: 10px 14px; color: #d7eefc; text-decoration: none; font-weight: 600; font-size: 14px; border-radius: 10px 10px 0 0; white-space: nowrap; }
.ad-tabs a.on { background: var(--bg); color: var(--brand); }
.ad-body { padding-top: 16px; padding-bottom: 60px; }
.ad-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); gap: 10px; }
.ad-kpi { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; border-top: 3px solid var(--brand); }
.ad-kpi.warn { border-top-color: var(--warn); } .ad-kpi.err { border-top-color: var(--err); }
.ad-kpi span { font-size: 12px; color: var(--muted); font-weight: 600; display: block; }
.ad-kpi b { font-size: 24px; display: block; margin: 2px 0; }
.ad-kpi small { font-size: 11.5px; color: var(--muted); }
.ad-grid { display: grid; gap: 14px; }
@media (min-width: 760px) { .ad-grid { grid-template-columns: 1fr 1fr; } }
.ad-bar { display: grid; grid-template-columns: 150px 1fr 40px; align-items: center; gap: 10px; padding: 5px 0; font-size: 13.5px; }
.ad-bar i { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--brand) var(--w), var(--line) var(--w)); }
.ad-bar b { text-align: right; }
.ad-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); width: 100%; text-align: left; color: inherit; }
.ad-row:last-child { border-bottom: 0; }
.ad-filters { gap: 8px; flex-wrap: nowrap; }
.ad-filters input, .ad-filters select { min-width: 0; width: auto; }
.ad-list { padding-top: 4px; padding-bottom: 4px; }
.ad-biz { border-bottom: 1px solid var(--line); }
.ad-biz:last-child { border-bottom: 0; }
.ad-biz .ad-row { border-bottom: 0; cursor: pointer; font: inherit; }
.ad-biz.open { background: #f1f8fc; margin: 0 -16px; padding: 0 16px; }
.ad-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--info-soft); color: var(--brand); flex: none; }
.ad-detail { padding: 0 0 14px 44px; }
.ad-actions { gap: 6px; flex-wrap: wrap; }
.vf-tick { color: var(--ok); font-weight: 800; }
.vf-badge { display: inline-block; margin-top: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.18); color: #fff; font-size: 12.5px; font-weight: 700; }
.gz-tag.vf { background: var(--ok); color: #fff; }
@media (max-width: 520px) { .ad-bar { grid-template-columns: 110px 1fr 32px; } .ad-detail { padding-left: 0; } }

/* Koto Admin — console layout: sidebar + top bar + admin profile (public/admin.js) */
.adm { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; background: #f1f8fc; }
.adm-side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 18px; padding: 18px 14px; background: linear-gradient(180deg, #0c4a6e 0%, #075985 55%, #0369a1 100%); color: #d7eefc; }
.adm-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 4px 8px 14px; border-bottom: 1px solid rgba(255,255,255,.1); }
.adm-brand b { display: block; color: #fff; font-size: 16px; letter-spacing: .01em; }
.adm-brand small { display: block; color: #8cc8ec; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; }
.adm-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; overflow-y: auto; }
.adm-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: #d7eefc; text-decoration: none; font-weight: 600; font-size: 14px; position: relative; }
.adm-nav a i { width: 18px; text-align: center; opacity: .85; }
.adm-nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.adm-nav a.on { background: #fff; color: var(--brand); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.adm-nav a.on i { opacity: 1; }
.adm-nav a.ext { font-weight: 500; font-size: 13px; color: #9fd2f0; }
.adm-nav a.ext:first-of-type { margin-top: 14px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 14px; border-radius: 0 0 10px 10px; }
.adm-nav em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 800; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 6px; background: #f2c94c; color: #075985; }
.adm-nav em.err { background: #ef5b5b; color: #fff; }
.adm-me { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.07); text-decoration: none; border: 1px solid rgba(255,255,255,.08); }
.adm-me.on, .adm-me:hover { background: rgba(255,255,255,.14); }
.adm-me b { display: block; color: #fff; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.adm-me small { display: block; color: #f2c94c; font-size: 11.5px; font-weight: 700; }
.adm-av { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; letter-spacing: .02em; color: #075985; background: linear-gradient(135deg, #f2c94c, #f7e3a1); box-shadow: 0 0 0 2px rgba(255,255,255,.35); }
.adm-av.sm { width: 34px; height: 34px; font-size: 12.5px; box-shadow: none; }
.adm-av.lg { width: 76px; height: 76px; font-size: 26px; box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
.adm-main { min-width: 0; }
.adm-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 18px 28px; background: rgba(243,245,250,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.adm-top h1 { font-size: 22px; margin: 0; color: #075985; }
.adm-top p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.adm-top-av { display: none; text-decoration: none; }
.adm-body { padding: 22px 28px 60px; max-width: 1180px; }
.adm-body .card { border-radius: 16px; box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.05); border: 1px solid #e6eaf2; }
.adm .ad-kpi { position: relative; border-radius: 16px; border: 1px solid #e6eaf2; border-top: 0; padding: 16px; box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.05); overflow: hidden; }
.adm .ad-kpi::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: var(--brand); }
.adm .ad-kpi.warn::before { background: var(--warn); } .adm .ad-kpi.err::before { background: var(--err); } .adm .ad-kpi.ok::before { background: var(--ok); }
.ad-kpi-ic { float: right; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--info-soft); color: var(--brand); font-style: normal; }
.ad-kpi.ok .ad-kpi-ic { background: var(--ok-soft); color: var(--ok); } .ad-kpi.warn .ad-kpi-ic { background: var(--warn-soft); color: var(--warn); } .ad-kpi.err .ad-kpi-ic { background: #fde8e8; color: var(--err); }
.adm .ad-kpi b { font-size: 26px; letter-spacing: -.01em; }
.adm .ad-kpi b.sm { font-size: 16px; margin-top: 6px; }
.adm .ad-kpis { grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 14px; }
.adm-hero { display: flex; align-items: center; gap: 18px; padding: 24px; border-radius: 18px; color: #fff; background: radial-gradient(circle at 85% 20%, rgba(242,201,76,.25), transparent 40%), linear-gradient(135deg, #0c4a6e, #0284c7 70%, #0ea5e9); box-shadow: 0 14px 34px rgba(7,89,133,.25); }
.adm-hero h2 { color: #fff; margin: 0 0 8px; font-size: 24px; }
.adm-hero-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13.5px; color: #d7eefc; }
.adm-role { background: #f2c94c; color: #075985; font-weight: 800; padding: 3px 10px; border-radius: 999px; font-size: 12px; }
.adm-pw .wrap { padding: 0 !important; max-width: none; }
.adm-pw .wrap > .row:first-child h1 { display: none; }
@media (max-width: 900px) {
  .adm { display: block; }
  .adm-side { position: sticky; z-index: 25; height: auto; flex-direction: column; gap: 8px; padding: 10px 12px 0; }
  .adm-brand { padding: 2px 4px 6px; border: 0; }
  .adm-nav { flex-direction: row; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; gap: 4px; padding-bottom: 10px; }
  .adm-nav a { flex: none; padding: 8px 12px; font-size: 13px; }
  .adm-nav a.ext { display: none; }
  .adm-me { display: none; }
  .adm-top { position: static; padding: 14px 16px; }
  .adm-top h1 { font-size: 18px; }
  .adm-top-av { display: block; }
  .adm-top-av .adm-av { width: 34px; height: 34px; font-size: 12.5px; }
  .adm-body { padding: 14px 16px 50px; }
  .adm .ad-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .adm .ad-kpi { padding: 12px; } .adm .ad-kpi b { font-size: 21px; }
  .adm-hero { flex-wrap: wrap; padding: 18px; } .adm-hero .adm-av.lg { width: 60px; height: 60px; font-size: 21px; }
  .hide-sm { display: none; }
}

/* Home search bar — compact: one row on desktop, no hint lines, button inside the card */
.gz-hero { padding: 40px 14px 22px; }
.gz-search { padding: 56px 12px 12px; border-radius: 18px; }
.gz-form { display: flex; flex-direction: column; gap: 10px; padding-bottom: 0; }
.gz-fields { gap: 8px; }
.gz-f { padding: 6px 12px 7px; border-radius: 10px; }
.gz-f small { font-size: 10px; }
.gz-f input, .gz-f select { font-size: 16px; padding-top: 1px; }
.gz-f > span:not(:has(button)) { display: none; }
.gz-go { margin: 0; transform: none; width: 100%; min-width: 0; min-height: 46px; font-size: 16px; box-shadow: 0 6px 16px rgba(253, 204, 2, .4); }
.gz-main { padding-top: 26px; }
@media (min-width: 860px) {
  .gz-hero { padding: 58px 24px 34px; }
  .gz-search { padding: 60px 16px 16px; }
  .gz-form { flex-direction: row; align-items: stretch; }
  .gz-form > .gz-fields { flex: 1; min-width: 0; }
  .gz-go { width: auto; min-width: 150px; padding: 0 22px; align-self: stretch; }
}
@media (max-width: 859px) {
  .gz-hero { padding: 16px 12px 18px; }
  .gz-search { padding: 8px 10px 12px; }
  .gz-tabs { position: static; transform: none; max-width: 100%; margin: 0 0 10px; box-shadow: none; padding: 0; border-radius: 12px; }
}
/* Phones: the 12 categories as a 4-column grid, so each name has its own space (no overlapping labels) */
@media (max-width: 600px) {
  .gz-tabs.two { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; width: 100%; padding: 4px; }
  .gz-tab-row, .gz-tab-row.second { display: contents; }
  .gz-tabs.two button, .gz-tab-row.second button { width: 100%; padding: 7px 2px 6px; font-size: 11.5px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-radius: 10px; }
  .gz-tabs.two button span { font-size: 17px; }
}
@media (max-width: 340px) { .gz-tabs.two button, .gz-tab-row.second button { font-size: 10.5px; } }

/* Home Ship tab — tap a ship: its seat classes open right below its row (public/explore.js shipSeatsHtml) */
.ship-pick { grid-auto-flow: row dense; }
.ship-pick .gz-card.ship-on { outline: 3px solid var(--brand-2); outline-offset: -3px; }
.ship-seats { grid-column: 1 / -1; background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(7, 89, 133, .1); padding: 14px; display: flex; flex-direction: column; gap: 10px; animation: ssIn .18s ease-out; }
@keyframes ssIn { from { opacity: 0; transform: translateY(-6px); } }
.ship-seats-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ship-seats-head b { font-size: 16px; color: var(--brand); }
.ss-row { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; transition: border-color .15s, background .15s; }
.ss-row.on { border-color: var(--brand-2); background: var(--brand-soft); }
.ss-row .seat-img { width: 132px; height: 80px; border-radius: 10px; display: block; }
.ss-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ss-info b { font-size: 15px; }
.ss-info small { color: var(--muted); font-size: 12.5px; }
.ss-price { font-weight: 800; color: var(--brand); font-size: 16px; margin-top: 2px; }
.ss-price small { font-weight: 500; color: var(--muted); font-size: 12px; }
.ss-qty { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.ss-qty > small { font-weight: 700; color: var(--brand); }
.ss-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 4px; flex-wrap: wrap; }
.ss-foot .btn[disabled] { opacity: .5; }
@media (max-width: 560px) {
  .ss-row { grid-template-columns: 88px minmax(0, 1fr); gap: 10px; }
  .ss-row .seat-img { width: 88px; height: 64px; }
  .ss-qty { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .ss-foot .btn { width: 100%; }
}

/* Air search: one line from tablet width up (From · To · Departure · Return · Passengers) */
@media (min-width: 600px) {
  .gz-fields.air-fields { grid-template-columns: 1.3fr 1.3fr 1fr 1fr .62fr; }
  .gz-fields.air-fields > .gz-f { grid-column: auto; }
}
@media (min-width: 600px) and (max-width: 859px) { .gz-fields.air-fields .gz-f input { font-size: 14px; } .gz-fields.air-fields .gz-f { padding: 6px 9px 7px; } }
.air-fields .gz-sug { max-height: 340px; overflow-y: auto; min-width: 280px; }
.air-fields .gz-sug { min-width: 300px; }
.air-fields .gz-sug-i { flex-wrap: wrap; row-gap: 0; }
.air-fields .gz-sug-i span { flex: 1 1 auto; white-space: nowrap; overflow: visible; }
.air-fields .gz-sug-i small { flex: 1 0 100%; margin: -2px 0 0; padding-left: 38px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Train and bus search: one line from tablet width up, like air */
@media (min-width: 600px) {
  .gz-fields.train-fields > .gz-f, .gz-fields.bus-fields > .gz-f { grid-column: auto; }
}
@media (min-width: 600px) and (max-width: 859px) {
  .gz-fields.train-fields .gz-f input, .gz-fields.train-fields .gz-f select, .gz-fields.bus-fields .gz-f input, .gz-fields.bus-fields .gz-f select { font-size: 14px; }
  .gz-fields.train-fields .gz-f, .gz-fields.bus-fields .gz-f { padding: 6px 9px 7px; }
}
@media (min-width: 800px) { .gz-fields.bus-fields:not(.air-fields) { grid-template-columns: 1.15fr 1.15fr 1fr 1fr .6fr 1.1fr; } }
@media (min-width: 600px) and (max-width: 799px) { .gz-fields.bus-fields:not(.air-fields) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Train: From · To · Going · Return · Persons · Class — one row from 800px, two rows of three on tablets */
@media (min-width: 800px) { .gz-fields.train-fields { grid-template-columns: 1.15fr 1.15fr 1fr 1fr .6fr 1.1fr; } }
@media (min-width: 600px) and (max-width: 799px) { .gz-fields.train-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.train-fields .gz-sug { max-height: 340px; overflow-y: auto; min-width: 240px; }
.ad-svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.ad-svc .field span i { color: var(--brand-2); margin-right: 4px; }

/* Koto CRM — one tab per category (public/crm.js) */
.crm-cats { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 12px; padding-bottom: 2px; }
.crm-cats::-webkit-scrollbar { display: none; }
.crm-cat { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.crm-cat i { color: var(--brand-2); }
.crm-cat em { font-style: normal; font-size: 11.5px; font-weight: 800; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--bg); color: var(--muted); text-align: center; }
.crm-cat.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.crm-cat.on i { color: #f2c94c; }
.crm-cat.on em { background: rgba(255,255,255,.2); color: #fff; }
/* Koto Admin — Team tab */
.ad-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ad-cat { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer; background: #fff; }
.ad-cat input { width: auto; margin: 0; accent-color: var(--brand); }
.ad-cat:has(input:checked) { background: var(--brand-soft); border-color: var(--brand-2); color: var(--brand); }
.ad-member { border-bottom: 1px solid var(--line); }
.ad-member:last-child { border-bottom: 0; }
.ad-member.off { opacity: .65; }
.ad-member .ad-detail { padding-left: 44px; }
@media (max-width: 520px) { .ad-member .ad-detail { padding-left: 0; } }

/* Home Transport tab — vehicle cards with package rates and a request form (public/explore.js vehiclesHtml) */
.vh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; align-items: start; }
.vh-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.vh-card.open { border-color: var(--brand-2); grid-column: 1 / -1; }
.vh-top { display: flex; gap: 12px; align-items: flex-start; }
.vh-img { flex: none; width: 92px; height: 72px; border-radius: 12px; background: linear-gradient(135deg, #e0f2fe, #bae6fd) center/cover; display: grid; place-items: center; color: var(--brand-2); font-size: 26px; }
.vh-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.vh-info .pill { align-self: flex-start; }
.vh-info b { font-size: 16px; }
.vh-info small { font-size: 12.5px; }
.vh-from { text-align: right; flex: none; }
.vh-from small { display: block; font-size: 11px; color: var(--muted); }
.vh-from b { font-size: 18px; color: var(--brand); }
.vh-rates { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.vh-rate { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; font-size: 13.5px; }
.vh-rate + .vh-rate { border-top: 1px solid var(--line); }
.vh-rate span i { color: var(--brand-2); margin-right: 4px; }
.vh-rate small { color: var(--muted); margin-left: 4px; }
.vh-rate b { color: var(--brand); white-space: nowrap; }
.vh-form { border-top: 1px dashed var(--line); padding-top: 12px; gap: 10px; }
.vh-err { color: var(--err); font-size: 13px; margin: 0; }
@media (max-width: 420px) { .vh-grid { grid-template-columns: 1fr; } .vh-img { width: 72px; height: 60px; } }

/* Hotel page: all photos under the name (public/app.js heroGallery) + full-screen viewer */
.hg { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 150px 150px; gap: 6px; margin: 14px 0; border-radius: 16px; overflow: hidden; }
.hg.one { grid-template-columns: 1fr; grid-template-rows: 300px; }
.hg-i { position: relative; border: 0; padding: 0; margin: 0; cursor: zoom-in; background: #dbeefa; overflow: hidden; }
.hg-i img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.hg-i:hover img { transform: scale(1.04); }
.hg-i.big { grid-row: 1 / 3; }
.hg-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(7, 89, 133, .55); color: #fff; font-weight: 800; font-size: 18px; }
.hg-all { position: absolute; right: 10px; bottom: 10px; border: 0; border-radius: 999px; padding: 7px 13px; background: rgba(255,255,255,.95); color: var(--brand); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.18); display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 640px) {
  .hg { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 90px; margin: 10px 0; }
  .hg-i.big { grid-column: 1 / -1; grid-row: auto; }
  .hg-i:nth-child(n+4) { display: none; }
  .hg .hg-i:nth-child(3) .hg-more, .hg-i:nth-child(3)::after { display: none; }
}
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(8, 12, 30, .96); display: flex; flex-direction: column; color: #fff; }
.lb-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; font-size: 14px; }
.lb-top .icon-btn { color: #fff; background: rgba(255,255,255,.12); }
.lb-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; position: relative; padding: 0 56px; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.lb-nav.prev { left: 8px; } .lb-nav.next { right: 8px; }
.lb-thumbs { display: flex; gap: 6px; overflow-x: auto; padding: 10px 16px 16px; scrollbar-width: none; }
.lb-thumbs button { flex: none; width: 64px; height: 48px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: none; cursor: pointer; opacity: .6; }
.lb-thumbs button.on { border-color: #f2c94c; opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) { .lb-stage { padding: 0 8px; } .lb-nav { width: 38px; height: 38px; font-size: 24px; background: rgba(0,0,0,.35); } }
.hg + .search-card { margin-top: 0 !important; }

/* Home Free tab — giveaways (public/explore.js contestsHtml) */
.gv-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: -4px 0 14px; }
.gv-step { position: relative; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.gv-step > i { font-size: 20px; color: var(--brand-2); width: 26px; text-align: center; flex: none; }
.gv-step b { display: block; font-size: 14px; }
.gv-step small { display: block; font-size: 12px; color: var(--muted); line-height: 1.35; }
.gv-num { position: absolute; top: -8px; left: -8px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.gv-filters { margin-bottom: 14px; }
.gv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gv-card { display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.gv-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(7, 89, 133, .14); }
.gv-card.past { opacity: .78; }
.gv-card.past .gv-img { filter: saturate(.55); }
.gv-img { position: relative; aspect-ratio: 16 / 10; background: center / cover no-repeat; display: flex; align-items: center; padding: 18px; }
.gv-prize-big { color: #fff; font-size: 24px; font-weight: 800; line-height: 1.2; text-shadow: 0 2px 12px rgba(0,0,0,.2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gv-free { position: absolute; left: 12px; bottom: 12px; background: #fff; color: var(--brand); font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.gv-badge { position: absolute; right: 12px; top: 12px; background: rgba(255,255,255,.95); color: var(--ok); font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.gv-badge.hot { background: #fff1e6; color: #c2410c; }
.gv-badge.soon { color: var(--info); }
.gv-badge.done { color: var(--muted); }
.gv-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.gv-title { font-size: 16px; line-height: 1.3; color: var(--brand); }
.gv-prize { font-size: 13.5px; font-weight: 600; }
.gv-prize i, .gv-body small i { color: var(--brand-2); margin-right: 3px; }
.gv-tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.gv-hash { background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: 12.5px; padding: 3px 9px; border-radius: 999px; }
.gv-pf { color: var(--muted); font-size: 15px; }
.gv-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gv-foot .btn { pointer-events: none; }
@media (max-width: 640px) { .gv-how { grid-template-columns: 1fr; gap: 12px; } .gv-step { padding: 10px 12px; } }

/* Home: footer always at the bottom; dates fit their boxes */
.gz { display: flex; flex-direction: column; }
.gz > .gz-main { flex: 1 0 auto; width: 100%; }
.gz-f input[type="date"] { font-size: 15px; letter-spacing: -.02em; min-width: 0; padding-right: 0; }
.gz-f input[type="date"]::-webkit-calendar-picker-indicator { margin-left: 2px; padding: 0; opacity: .75; cursor: pointer; }
.gz-f select { text-overflow: ellipsis; padding-right: 2px; }
@media (min-width: 860px) {
  .gz-fields.train-fields, .gz-fields.bus-fields:not(.air-fields) { grid-template-columns: 1.05fr 1.05fr 1.12fr 1.12fr .55fr 1fr; }
}

/* Ticket tabs: popular routes, how it works, trust line, transport tiles (public/explore.js) */
.tk-routes { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; margin-bottom: 8px; }
.tk-route { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font: inherit; cursor: pointer; box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.tk-route:hover { border-color: var(--brand-2); transform: translateY(-2px); }
.tk-route.on { border-color: var(--brand-2); background: var(--brand-soft); }
.tk-route b { color: var(--brand); font-size: 14.5px; }
.tk-route small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tk-how { margin-top: 4px; }
.tk-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; padding: 10px 0 4px; color: var(--muted); font-size: 13.5px; }
.tk-trust i { color: var(--ok); margin-right: 4px; }
.tk-trains { display: flex; flex-direction: column; gap: 10px; margin-bottom: 6px; border-left: 4px solid var(--brand-2); }
.tk-trains b i { color: var(--brand-2); margin-right: 4px; }
.tk-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tk-chips span { background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 13px; padding: 5px 11px; border-radius: 999px; }
.tk-cats { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.tk-cat { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--ink); cursor: pointer; box-shadow: var(--shadow); }
.tk-cat i { font-size: 22px; color: var(--brand-2); }
.tk-cat.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.tk-cat.on i { color: #fde68a; }
.tk-districts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 18px; }
.tk-districts .chip-btn i { color: var(--brand-2); margin-right: 3px; }
@media (max-width: 760px) { .tk-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } .tk-routes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 380px) { .tk-routes { grid-template-columns: 1fr; } }

/* Tour tab — suggested package cards (public/explore.js suggestHtml) */
.sug { padding: 0 !important; border-top: 0 !important; overflow: hidden; display: flex; flex-direction: column; }
.sug-band { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 16px; color: #fff; background: linear-gradient(135deg, #0ea5e9, #0369a1); }
.sug-s2 .sug-band { background: linear-gradient(135deg, #2dd4bf, #0f766e); }
.sug-s3 .sug-band { background: linear-gradient(135deg, #38bdf8, #0284c7); }
.sug-s4 .sug-band { background: linear-gradient(135deg, #0284c7, #0c4a6e); }
.sug-s5 .sug-band { background: linear-gradient(135deg, #f59e0b, #b45309); }
.sug-s0 .sug-band { background: linear-gradient(135deg, #94a3b8, #475569); }
.sug-tier { font-weight: 800; font-size: 14px; }
.sug-band .sug-stars { color: #fde68a; letter-spacing: 1px; margin-right: 2px; }
.sug-s5 .sug-band .sug-stars { color: #fff7d6; }
.sug-band small { font-size: 12px; opacity: .92; white-space: nowrap; }
.sug-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sug-title { font-size: 16px; color: var(--brand); line-height: 1.3; }
.sug-meta { font-size: 12.5px; color: var(--muted); }
.sug-meta i { color: var(--brand-2); }
.sug-inc { display: flex; gap: 6px; }
.sug-inc > span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 2px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); }
.sug-inc i { font-size: 16px; }
.sug-inc small { font-size: 11px; font-weight: 700; }
.sug-cost { display: flex; flex-direction: column; margin-top: auto; }
.sug-cost .sug-price { font-size: 26px; font-weight: 800; color: var(--brand); line-height: 1.1; }
.sug-cost small { font-size: 12.5px; color: var(--muted); }
.sug-break summary { cursor: pointer; color: var(--brand-2); font-weight: 700; }
.sug-break .line { font-size: 12.5px; }
.sug-tier { white-space: nowrap; }

/* Register a business — grouped type picker (public/biz.js typePickerView) */
.rt-page { min-height: 100vh; background: linear-gradient(180deg, #e0f2fe 0, var(--bg) 320px); }
.rt-hero { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin: 12px 0 16px; }
.rt-hero h1 { font-size: 28px; }
.rt-hero p { color: var(--muted); margin-top: 6px; max-width: 560px; }
.rt-perks { display: flex; flex-wrap: wrap; gap: 8px; }
.rt-perks span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; color: var(--brand); }
.rt-perks i { color: var(--ok); margin-right: 4px; }
.rt-search { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 16px; margin-bottom: 18px; box-shadow: var(--shadow); }
.rt-search i { color: var(--brand-2); }
.rt-search input { border: 0; outline: 0; background: none; font: inherit; font-size: 16px; padding: 12px 0; width: 100%; }
.rt-group { margin-bottom: 20px; }
.rt-group h2 { font-size: 16px; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.rt-group h2 i { color: var(--brand-2); }
.rt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.rt-card { --c: #0ea5e9; --s: #e0f2fe; display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 14px 14px 16px; text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: transform .15s, border-color .15s, box-shadow .15s; }
.rt-card:hover { transform: translateY(-2px); border-color: var(--c); box-shadow: 0 12px 28px rgba(7, 89, 133, .12); }
.rt-icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 21px; background: var(--s); color: var(--c); }
.rt-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rt-txt b { font-size: 15.5px; color: var(--brand); }
.rt-txt small { color: var(--muted); font-size: 12.5px; }
.rt-txt em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--ink); margin-top: 3px; }
.rt-txt em svg, .rt-txt em i { color: var(--ok); width: 13px; height: 13px; vertical-align: -2px; }
.rt-go { color: var(--muted); font-size: 22px; flex: none; }
.rt-card.g-stay { --c: #0284c7; --s: #e0f2fe; }
.rt-card.g-tickets { --c: #4f46e5; --s: #eef2ff; }
.rt-card.g-travel { --c: #0d9488; --s: #ccfbf1; }
.rt-card.g-food { --c: #ea580c; --s: #ffedd5; }
.rt-card.g-fun { --c: #db2777; --s: #fce7f3; }
.rt-card.g-media { --c: #7c3aed; --s: #ede9fe; }
.rt-card.g-creators { --c: #ca8a04; --s: #fef9c3; }
@media (max-width: 640px) { .rt-hero h1 { font-size: 22px; } .rt-grid { grid-template-columns: 1fr; } .rt-card { padding: 12px; } .rt-icon { width: 42px; height: 42px; font-size: 18px; } }

/* Business dashboard: sky sidebar; readable "Your booking page" card */
@media (min-width: 1000px) {
  .sidenav { background: linear-gradient(180deg, #0c4a6e 0%, #075985 60%, #0369a1 100%); color: #d7eefc; }
  .sidenav .brand small { color: #9fd2f0; }
  .sidenav a, .sidenav button { color: #d7eefc; }
  .sidenav a.on { background: #fff; color: var(--brand); box-shadow: 0 6px 16px rgba(0, 0, 0, .15); }
  .sidenav a.on svg, .sidenav a.on i { color: var(--brand-2); }
  .sidenav .sep { background: rgba(255, 255, 255, .15); }
}
.share h2, .share h3 { color: #fff; }
.share .muted { color: #e0f2fe; }

/* Owner's menu / product list: icon when there's no photo, tags, struck-through regular price */
.thumb-ph { display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-2); font-size: 20px; border-color: transparent; }
.item-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.item-tags span { font-size: 11px; padding: 1px 8px; border-radius: 999px; background: #fef3c7; color: #92400e; }
.item-price { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.item-price s { font-size: 12px; color: var(--muted, #64748b); }
/* Out-of-stock product keeps a disabled button so cards in a row line up */
.prod-sold { margin-top: auto; background: #e2e8f0; color: #64748b; border-color: transparent; cursor: not-allowed; }

/* Travel agency ERP + Koto B2B network (public/agency.js) */
.ag-kpis + .ag-kpis { margin-top: 10px; }
.ag-num { display: flex; flex-direction: column; align-items: flex-end; text-align: right; line-height: 1.25; font-variant-numeric: tabular-nums; }
.ag-num small { font-size: 12px; color: var(--muted); }
.ag-num em { font-style: normal; }
.ag-client { color: inherit; text-decoration: none; }
.ag-client:hover { background: var(--brand-soft); }
.ag-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.ag-facts div { background: var(--bg); border-radius: 10px; padding: 8px 10px; display: grid; }
.ag-facts small { font-size: 11.5px; color: var(--muted); }
.ag-biz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.ag-biz { display: flex; align-items: center; gap: 10px; padding: 12px 14px; margin: 0; }
.ag-biz-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-2); font-size: 17px; flex: none; }
.ag-pct { display: flex; flex-direction: column; align-items: center; font-weight: 800; color: var(--brand); font-size: 18px; line-height: 1; }
.ag-pct small { font-size: 10px; font-weight: 600; color: var(--muted); }
.ag-quote { display: flex; flex-direction: column; justify-content: center; gap: 4px; background: var(--brand-soft); border-radius: 12px; padding: 10px 12px; }
.ag-quote span { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.ag-book .opts { display: grid; gap: 6px; }
.ag-entry .pill { flex: none; }
.svc-tabs { margin: 4px 0 10px; }
.svc-tabs small { opacity: .7; }

/* Admin: staff logins with "set password" */
.ad-login { display: grid; gap: 4px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.ad-login:last-of-type { border-bottom: 0; }

/* Staff logins by department + staff activity */
.staff-row .pill { margin-left: 4px; }
.dept-help { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 6px; font-size: 12.5px; color: var(--muted); }
.dept-help span { background: var(--bg); border-radius: 10px; padding: 6px 10px; }
.act-row { align-items: flex-start; }
.act-time { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--brand); min-width: 46px; }

/* Booking steps — one colour each, used by the calendar, pills and legend (public/core.js STATUS):
   Pending (amber) → Pre-book (violet) → Confirmed (blue) → In house (green) → Checked out (slate) · Cancelled (red) */
:root { --st-pending: #d97706; --st-prebook: #7c3aed; --st-confirmed: #2563eb; --st-checked_in: #16a34a; --st-checked_out: #64748b; --st-cancelled: #dc2626; }
.s-pending { background: var(--st-pending); }
.s-prebook { background: var(--st-prebook); }
.s-confirmed { background: var(--st-confirmed); }
.s-checked_in { background: var(--st-checked_in); }
.s-checked_out { background: #b8c2cf; }
.pill.st-pending { background: #fef3c7; color: #92400e; }
.pill.st-prebook { background: #ede9fe; color: #5b21b6; }
.pill.st-confirmed { background: #dbeafe; color: #1d4ed8; }
.pill.st-checked_in { background: #dcfce7; color: #166534; }
.pill.st-checked_out { background: #e2e8f0; color: #475569; }
.pill.st-cancelled { background: #fee2e2; color: #b91c1c; }
.pill i { font-size: .9em; margin-right: 2px; }
/* a booking is one bar: inset from the grid lines, rounded at check-in and check-out */
.cal { --cw: 38px; }
.cal-full { --cw: 30px; }
.cal td.occ { position: relative; border-right-color: transparent; box-shadow: inset 0 2px 0 #fff, inset 0 -2px 0 #fff; }
.cal td.occ.b-start { border-top-left-radius: 10px; border-bottom-left-radius: 10px; box-shadow: inset 2px 2px 0 #fff, inset 0 -2px 0 #fff; }
.cal td.occ.b-end { border-top-right-radius: 10px; border-bottom-right-radius: 10px; border-right-color: #eef2f6; box-shadow: inset -2px 2px 0 #fff, inset 0 -2px 0 #fff; }
.cal td.occ.b-start.b-end { box-shadow: inset 2px 2px 0 #fff, inset -2px -2px 0 #fff; }
.cal td.occ.s-checked_out { color: #334155; }
.cal td.occ:hover { filter: brightness(1.08); }
.bk-lab { position: absolute; left: 7px; top: 50%; transform: translateY(-50%); z-index: 1; width: calc(var(--n) * var(--cw) - 12px); text-align: left;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; font-weight: 700; pointer-events: none; }
.bk-lab i { font-size: 10px; margin-right: 2px; opacity: .9; }
/* picking rooms: dark navy (selected) and light sky (already in this booking), so they never look like a step */
.cal td.csel, .legend i.csel-i { background: #0f172a; color: #fff; }
.cal td.free.csel:hover { background: #1e293b; }
.cal td.incart, .legend i.incart-i { background: #e0f2fe; color: #0369a1; }
/* legend: the steps as a sequence */
.legend.steps { gap: 6px; align-items: center; margin-top: 12px; }
.legend .step { color: #fff; border-radius: 999px; padding: 3px 10px; font-weight: 700; font-size: 12px; }
.legend .step.s-checked_out { color: #334155; }
.legend .step i { margin-right: 3px; }
.legend .step-arrow { color: var(--muted); font-weight: 400; }
.bk-lab.one { left: 0; width: 100%; text-align: center; font-size: 10.5px; }

/* Hotel management (public/hotelops.js) */
.task-list { display: grid; gap: 10px; }
.task { margin: 0; border-left: 4px solid var(--st-pending); }
.task.t-doing { border-left-color: var(--st-confirmed); }
.task.t-done { border-left-color: var(--st-checked_in); opacity: .75; }
.task.hi { box-shadow: 0 0 0 1px #fca5a5; }
.t-step { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.t-doing .t-step { color: var(--st-confirmed); }
.t-done .t-step { color: var(--st-checked_in); }
.err-text { color: var(--err); font-weight: 700; }
.hm-split { margin-top: 12px; gap: 12px; }
.hm-bar { display: grid; grid-template-columns: minmax(90px, 1fr) 2fr auto; gap: 8px; align-items: center; font-size: 13px; }
.hm-bar i { height: 10px; border-radius: 99px; display: block; }
.hm-bar i.inc { background: var(--st-checked_in); }
.hm-bar i.exp { background: var(--st-cancelled); }
.hm-bar b { font-variant-numeric: tabular-nums; }
.inv-row.low { background: #fffbeb; }
.inv-qty { font-variant-numeric: tabular-nums; min-width: 70px; text-align: right; }
.inv-form { background: var(--bg); border-radius: 12px; padding: 10px; margin-top: 8px; }
.inv-form .chip-btn input { margin-right: 4px; }
.sal-table tr.paid td { background: #f0fdf4; }

/* Calendar: room details card on hover / tap of the room number */
.cal th.rn[data-room] { cursor: help; }
.cal th.rn[data-room]:hover, .cal th.rn[data-room]:focus { background: var(--brand-soft); color: var(--brand); outline: none; }
.room-card { position: fixed; z-index: 60; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(7, 89, 133, .18);
  padding: 12px 14px; display: grid; gap: 8px; font-size: 13px; pointer-events: none; animation: rc-in .12s ease-out; }
@keyframes rc-in { from { opacity: 0; transform: translateY(4px); } }
.room-card .rc-head { display: flex; align-items: baseline; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.room-card .rc-head b { font-size: 16px; }
.room-card .rc-line { display: grid; grid-template-columns: 92px 1fr; gap: 6px; align-items: start; }
.room-card .rc-line > span:first-child { color: var(--muted); font-size: 12px; padding-top: 2px; }
.room-card .rc-line small { grid-column: 2; }
.ok-text { color: var(--ok); }
@media (prefers-reduced-motion: reduce) { .room-card { animation: none; } }
.room-card .rc-line .pill { justify-self: start; }

/* Calls before arrival (#/app/calls) */
.calls-card { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-size: 15px; }
.calls-card > i { font-size: 22px; color: var(--st-pending); }
.calls-card.ok > i { color: var(--st-checked_in); }
.calls-card small { display: block; }
.calls-card.todo { border-color: #fcd34d; background: #fffbeb; }
.call-list { display: grid; gap: 10px; }
.call { margin: 0; border-left: 4px solid var(--st-pending); display: grid; gap: 8px; }
.call.retry { border-left-color: #f97316; }
.call.done { border-left-color: var(--st-checked_in); }
.call-name { font-size: 16px; }
.call-phone { font-weight: 700; font-variant-numeric: tabular-nums; margin-top: 4px; }
.call-result { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; background: var(--bg); border-radius: 10px; padding: 8px 10px; }
.call-result .small { width: 100%; }
.call-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.call-opt input { position: absolute; opacity: 0; }
.call-opt span { display: inline-flex; gap: 5px; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 600; cursor: pointer; background: #fff; }
.call-opt input:checked + span { border-color: currentColor; box-shadow: 0 0 0 2px currentColor inset; }
.call-opt.st-checked_in span { color: #166534; } .call-opt.st-confirmed span { color: #1d4ed8; } .call-opt.st-pending span { color: #92400e; }
.call-opt.st-prebook span { color: #5b21b6; } .call-opt.st-cancelled span { color: #b91c1c; }
.call-opt input:focus-visible + span { outline: 2px solid var(--brand-2); outline-offset: 2px; }

/* Departments (owner's view, public/hotelops.js) */
.dp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; margin-top: 12px; }
.dp-card { margin: 0; display: grid; gap: 10px; align-content: start; }
.dp-head { display: flex; align-items: center; gap: 10px; }
.dp-head h2 { margin: 0; font-size: 17px; flex: 1; }
.dp-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-2); font-size: 17px; }
.dp-figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 6px; }
.dp-fig { background: var(--bg); border-radius: 10px; padding: 8px 10px; display: grid; gap: 1px; }
.dp-fig b { font-size: 18px; font-variant-numeric: tabular-nums; line-height: 1.15; }
.dp-fig span { font-size: 11.5px; color: var(--muted); }
.dp-fig.warn { background: #fffbeb; box-shadow: inset 0 0 0 1px #fcd34d; }
.dp-tasks { font-size: 13px; }
.dp-tasks a { color: var(--brand); font-weight: 600; }
.dp-staff { display: flex; flex-wrap: wrap; gap: 6px; }
.dp-staff span { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; background: var(--bg); border-radius: 999px; padding: 3px 10px; }
.dp-staff i { width: 7px; height: 7px; border-radius: 50%; background: #cbd5e1; }
.dp-staff .on i { background: var(--st-checked_in); }
.dp-staff small { color: var(--muted); }
.dp-act { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 12.5px; border-top: 1px solid var(--line); padding-top: 8px; }
.dp-act li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-act small:first-child { color: var(--brand); font-weight: 700; font-variant-numeric: tabular-nums; }
.dp-links { display: flex; gap: 6px; flex-wrap: wrap; }

/* Unified inbox (public/inbox.js) */
.ib-chips { margin: 4px 0 10px; }
.ib-chips small { opacity: .7; }
.ib-wrap { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 12px; align-items: start; }
.ib-list { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; max-height: calc(100vh - 220px); overflow-y: auto; }
.ib-item { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.ib-item:hover { background: var(--bg); }
.ib-item.on { background: var(--brand-soft); }
.ib-item .grow { min-width: 0; }
.ib-item small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ib-item.unread b { color: var(--brand); }
.ib-badge { font-style: normal; background: var(--st-pending); color: #fff; border-radius: 999px; font-size: 11px; padding: 0 6px; font-weight: 700; }
.ib-meta { display: grid; justify-items: end; gap: 3px; flex: none; }
.ib-meta .pill { font-size: 10.5px; padding: 1px 7px; }
.ib-ai { font-size: 10px; font-weight: 800; color: var(--brand-2); }
.ib-ch { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; font-size: 14px; background: var(--brand-2); }
.ib-ch.ch-whatsapp { background: #25d366; } .ib-ch.ch-messenger { background: #0866ff; } .ib-ch.ch-instagram { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.ib-conv { margin: 0; display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; height: calc(100vh - 220px); min-height: 420px; }
.ib-empty { display: grid; place-items: center; color: var(--muted); }
.ib-head { display: flex; align-items: center; gap: 10px; }
.ib-head small { display: block; }
.ib-back { display: none; }
.ib-tools { display: flex; gap: 6px; flex-wrap: wrap; }
.ib-tools select { width: auto; }
.ib-log { overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 4px; background: var(--bg); border-radius: 12px; }
.ib-msg { max-width: 78%; padding: 8px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.ib-msg p { margin: 0; }
.ib-msg small { display: block; font-size: 11px; font-weight: 700; color: var(--brand-2); margin-bottom: 2px; }
.ib-msg time { display: block; font-size: 10.5px; color: var(--muted); margin-top: 3px; }
.ib-msg.in { align-self: flex-start; border-bottom-left-radius: 4px; }
.ib-msg.out, .ib-msg.ai { align-self: flex-end; border-bottom-right-radius: 4px; }
.ib-msg.out { background: var(--brand); color: #fff; border-color: var(--brand); }
.ib-msg.out small, .ib-msg.out time { color: #cfe8f7; }
.ib-msg.ai { background: #eef6ff; border-color: #cfe4fb; }
.ib-offer { margin-top: 6px; font-size: 12.5px; background: #fff; border-radius: 8px; padding: 4px 8px; color: var(--ink); }
.ib-reply { display: grid; gap: 6px; }
.ib-reply textarea { resize: vertical; min-height: 54px; }
@media (max-width: 800px) {
  .ib-wrap { grid-template-columns: 1fr; }
  .ib-wrap.has-conv .ib-list { display: none; }
  .ib-back { display: inline-grid; }
  .ib-conv { height: calc(100vh - 170px); }
}
/* live chat on public pages: staff replies and the WhatsApp box */
.as-msg.staff { border-left: 3px solid var(--st-checked_in); }
.cc-who { display: block; font-size: 11px; font-weight: 700; color: var(--st-checked_in); margin-bottom: 2px; }
.cc-contact { display: grid; gap: 6px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; padding: 10px; font-size: 13px; }
.cc-contact input { min-width: 0; flex: 1; }
/* Help lives in the menu bar (sidebar on computers, top bar on phones); the panel opens from there */
.sidenav .nav-help { color: inherit; }
.sidenav .nav-help i { width: 18px; text-align: center; }
.topbar .top-help { margin-left: auto; font-size: 18px; color: var(--brand); }
.topbar .top-help + .icon-btn { margin-left: 6px; }

/* Accounts (#/app/ledger) */
.led-head { flex-wrap: wrap; gap: 8px; }
.led-nav { gap: 6px; align-items: center; }
.led-nav b { min-width: 130px; text-align: center; }
.led-actions { margin: 12px 0; gap: 8px; flex-wrap: wrap; align-items: center; }
.led-chart { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(14px, 1fr); gap: 3px; height: 140px; align-items: end; overflow-x: auto; }
.led-day { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 1px; border: 0; background: transparent; padding: 0 0 16px; cursor: pointer; border-radius: 6px; }
.led-day:hover, .led-day.on { background: var(--brand-soft); }
.led-day.today small { color: var(--brand); font-weight: 800; }
.led-day i { width: 45%; border-radius: 3px 3px 0 0; min-height: 0; display: block; }
.led-day i.in, .led-key.in { background: var(--st-checked_in); }
.led-day i.out, .led-key.out { background: var(--st-cancelled); }
.led-day small { position: absolute; bottom: 0; left: 0; right: 0; font-size: 9.5px; color: var(--muted); text-align: center; }
.led-key { display: inline-block; width: 10px; height: 10px; border-radius: 2px; vertical-align: -1px; }
.led-methods { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.led-methods th, .led-methods td { text-align: right; padding: 6px 4px; border-bottom: 1px solid var(--line); }
.led-methods th:first-child { text-align: left; }
.led-methods thead th { color: var(--muted); font-size: 12px; font-weight: 600; }
button.hm-bar { border: 0; background: none; padding: 2px 0; width: 100%; text-align: left; cursor: pointer; font: inherit; color: inherit; }
button.hm-bar:hover span { color: var(--brand); }
.led-filters { gap: 6px; flex-wrap: wrap; align-items: center; }
.led-dayhead { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 13px; padding: 8px 4px 4px; border-top: 1px solid var(--line); margin-top: 4px; }
.led-dayhead:first-child { border-top: 0; margin-top: 0; }
.led-row .pill { flex: none; min-width: 64px; text-align: center; }
.led-print-foot { display: none; }
@media print {
  .sidenav, .topbar, .tabbar, .led-actions, .led-filters, .led-nav button, .led-row .btn, .led-row .icon-btn, .hp-panel, .as-panel, form { display: none !important; }
  .shell, .page { display: block !important; padding: 0 !important; margin: 0 !important; }
  .card { box-shadow: none !important; break-inside: avoid; }
  .led-print-foot { display: block; }
  body { background: #fff !important; }
}

/* Offline mode banner (public/offline.js) */
.off-bar { display: flex; gap: 10px; align-items: center; margin: -4px 0 12px; padding: 10px 14px; border-radius: 12px; font-size: 13.5px; color: inherit; text-decoration: none; }
.off-bar i { font-size: 16px; }
.off-bar.off { background: #e0f2fe; border: 1px solid #7dd3fc; }
.off-bar.wait { background: #fffbeb; border: 1px solid #fcd34d; }
.off-bar.bad { background: #fef2f2; border: 1px solid #fca5a5; }

/* Rates page */
.rate-now { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.rate-now > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.rate-now b { font-size: 18px; font-variant-numeric: tabular-nums; }
.chip-btn.chk { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.chip-btn.chk:has(input:checked) { background: var(--brand-soft); border-color: var(--brand); }

/* Hold & maintenance (#/app/roomctl) */
.rc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 6px; margin-top: 6px; }
.rc-room { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 8px 10px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--card, #fff); cursor: pointer; font: inherit; color: inherit; text-align: left; min-width: 0; }
.rc-room small { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.rc-room.on { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.rc-room.on b::before { content: '✓ '; color: var(--brand); }
.rc-room:disabled { cursor: not-allowed; opacity: .55; }
.rc-free, .rc-legend i.rc-free { background: #f0fdf4; }
.rc-mine, .rc-legend i.rc-mine { background: #ede9fe; }
.rc-held, .rc-legend i.rc-held { background: #fef3c7; }
.rc-off, .rc-legend i.rc-off { background: #fee2e2; }
.rc-booked, .rc-legend i.rc-booked { background: #e2e8f0; }
.rc-legend { flex-wrap: wrap; }
.rc-line { cursor: pointer; align-items: flex-start; }
.rc-line input { margin-top: 3px; }

/* My tasks (dashboard) */
.my-tasks .mt-row { align-items: flex-start; flex-wrap: wrap; gap: 6px; }
.my-tasks .mt-row.t-doing { border-left: 3px solid var(--st-checked_in); padding-left: 8px; }

/* Staff requests: attachments */
.appl-file { display: inline-flex; gap: 8px; align-items: center; margin: 6px 0; padding: 4px 8px 4px 4px; border: 1px solid var(--line); border-radius: 10px; color: inherit; text-decoration: none; }
.appl-file img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }
.att-prev { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
/* Duty roster */
.sh-m { background: #fef9c3; } .sh-e { background: #ffedd5; } .sh-n { background: #e0e7ff; } .sh-g { background: #dcfce7; } .sh-o { background: #f1f5f9; } .sh-l { background: #fee2e2; color: #991b1b; font-size: 12px; text-align: center; }
.duty-table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 13px; }
.duty-table th, .duty-table td { border: 1px solid var(--line); padding: 4px; text-align: center; }
.duty-table td:first-child, .duty-table th:first-child { text-align: left; min-width: 120px; position: sticky; left: 0; background: var(--card, #fff); }
.duty-table th.today { color: var(--brand); }
.duty-table select { width: 100%; min-width: 74px; padding: 4px; font-size: 12.5px; background: transparent; border: 0; }
.duty-legend { flex-wrap: wrap; }
.duty-legend i { border: 1px solid var(--line); }
.duty-mine { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.duty-mine > div { display: flex; flex-direction: column; gap: 1px; padding: 6px 4px; border-radius: 8px; border: 1px solid var(--line); text-align: center; min-width: 0; }
.duty-mine > div.today { outline: 2px solid var(--brand); }
.duty-mine b { font-size: 12px; }
.duty-mine small { font-size: 10px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media print { .duty-card button, .duty-card .icon-btn { display: none !important; } .duty-table select { appearance: none; -webkit-appearance: none; } }

/* Blog (#/app/blog) */
.bl-row { align-items: center; gap: 10px; flex-wrap: wrap; }
.bl-thumb { width: 56px; height: 42px; border-radius: 8px; object-fit: cover; background: var(--line); flex: none; display: inline-block; }
.bl-cover { width: 120px; height: 68px; object-fit: cover; border-radius: 8px; }
.bl-preview { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; max-height: 520px; overflow: auto; line-height: 1.65; }
.bl-preview h1 { font-size: 24px; } .bl-preview h2 { font-size: 19px; margin: 18px 0 6px; }
.bl-seo { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; background: var(--brand-soft); }
.bl-feed { margin: 16px auto 90px; }
.bl-feed-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-top: 10px; }
.bl-card { display: flex; flex-direction: column; gap: 4px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--card, #fff); color: inherit; text-decoration: none; }
.bl-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; }

/* Dashboard: quick links + money */
.dash-quick { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.dash-quick a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; border-radius: 14px; background: var(--card, #fff); border: 1px solid var(--line); color: inherit; text-decoration: none; font-size: 13px; font-weight: 600; text-align: center; }
.dash-quick a:hover { border-color: var(--brand); color: var(--brand); }
.dash-quick a i { font-size: 20px; color: var(--brand); }
.dash-quick em { position: absolute; top: 6px; right: 8px; min-width: 20px; padding: 0 6px; border-radius: 99px; background: var(--st-cancelled); color: #fff; font-style: normal; font-size: 11.5px; line-height: 20px; }
.dash-money { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin-bottom: 6px; }
.dash-money > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.dash-money small { color: var(--muted); font-size: 12px; }
.dash-money b { font-size: 18px; font-variant-numeric: tabular-nums; }

/* New booking: a picked room is held at once — its own colour (violet = held for you), amber = held by someone else */
.room-chip.sel.mine { background: var(--st-prebook); border-color: var(--st-prebook); color: #fff; }
.room-chip.sel.mine small { color: #ede9fe; }
.room-chip.myhold { border-color: var(--st-prebook); color: var(--st-prebook); border-style: dashed; }
.room-legend { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--muted); margin: 2px 2px 0; }
.room-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -2px; margin-right: 4px; border: 1px solid var(--line); }

/* Photos in chat (src/chatphotos.js): grid in the chat bubble, large view, and in the staff inbox */
.cc-photos { display: grid; gap: 4px; margin-top: 6px; grid-template-columns: repeat(2, 1fr); }
.cc-photos.n1 { grid-template-columns: 1fr; }
.cc-photos button { position: relative; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: var(--line); aspect-ratio: 4/3; }
.cc-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-photos small { position: absolute; left: 0; right: 0; bottom: 0; padding: 3px 6px; font-size: 11px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.6)); text-align: left; }
.cc-viewer { position: fixed; inset: 0; z-index: 9999; background: rgba(8, 12, 20, .92); display: grid; place-items: center; padding: 16px; }
.cc-viewer figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cc-viewer img { max-width: min(92vw, 1100px); max-height: 82vh; object-fit: contain; border-radius: 10px; }
.cc-viewer figcaption { color: #e5e7eb; font-size: 14px; }
.cc-v-x, .cc-v-nav { position: absolute; border: 0; background: rgba(255,255,255,.14); color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; }
.cc-v-x { top: 14px; right: 14px; }
.cc-v-nav { top: 50%; transform: translateY(-50%); }
.cc-v-nav.prev { left: 12px; }
.cc-v-nav.next { right: 12px; }
.ib-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 4px; margin: 6px 0; max-width: 340px; }
.ib-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; }

/* Guest questions (#/app/faq) */
.faq-q { display: grid; gap: 6px; padding: 8px 0; border-top: 1px solid var(--line); }
.faq-group h2 + .faq-q { border-top: 0; }
.faq-q > span { display: flex; flex-direction: column; gap: 1px; }
.faq-q > span::before { content: '○ '; color: var(--muted); }
.faq-q.done > span b::before { content: '✓ '; color: var(--st-checked_in); }
.faq-q textarea { min-height: 52px; }
.faq-custom { display: grid; grid-template-columns: 1fr auto; gap: 6px; padding: 8px 0; border-top: 1px solid var(--line); }
.faq-custom input { grid-column: 1; } .faq-custom textarea { grid-column: 1; } .faq-custom .icon-btn { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
.faq-prompt { display: flex; gap: 12px; align-items: center; color: inherit; text-decoration: none; border: 1.5px dashed var(--brand); }
.faq-prompt > i { font-size: 22px; color: var(--brand); }

/* Guest booking form (#/gf/<token>) and the hotel's "Guest booking forms" box */
.gf-head { background: linear-gradient(135deg, #075985, #0ea5e9); background-size: cover; background-position: center; color: #fff; padding: 28px 0 22px; }
.gf-head small { opacity: .85; font-weight: 700; letter-spacing: .02em; }
.gf-head h1 { margin: 4px 0; color: #fff; }
.gf-head p { margin: 0; opacity: .9; }
.gf-body { padding-top: 16px; padding-bottom: 48px; max-width: 640px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 480px) { .grid3 { grid-template-columns: 1fr 1fr; } }
.gf-cats { display: grid; gap: 8px; }
.gf-cat { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--card, #fff); }
.gf-cat:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.gf-cat input { margin: 0 2px; }
.gf-cat img, .gf-ph { width: 56px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; display: grid; place-items: center; background: var(--line); color: var(--muted); }
.gf-cat b { display: block; }
.gf-cat small { color: var(--muted); }
.gf-accts { display: grid; gap: 6px; }
.gf-acct { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border: 1px dashed var(--brand); border-radius: 10px; }
.gf-num { font-size: 17px; font-weight: 800; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.gf-done .gf-tick { font-size: 46px; color: var(--st-checked_in); }
.gf-done .gf-tick.wait { color: var(--st-pending); }
.gf-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; width: 100%; text-align: left; }
.gf-sum > div { padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }
.gf-sum small { display: block; color: var(--muted); font-size: 12px; }
.gf-row { display: flex; gap: 10px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--line); }
.gf-staff .card-title + .gf-row { border-top: 0; }
.gf-acts { display: flex; flex-direction: column; gap: 6px; }
.gf-shot { display: block; max-width: 220px; max-height: 260px; margin-top: 6px; border-radius: 8px; border: 1px solid var(--line); }
