:root {
  /* Koto sky theme — sea & sky of Cox's Bazar */
  --brand: #0f4c5c;       /* deep sky: headings, primary buttons, active tabs */
  --brand-2: #1b9aaa;     /* bright sky: icons, highlights, focus */
  --brand-soft: #e0f4f6;  /* pale sky: selected chips, soft fills */
  --accent: #ff7a59;      /* sunny yellow: the main call to action (Search, Book now) */
  --accent-ink: #ffffff;
  --bg: #f3f9fa;          /* page background: very light sky */
  --card: #ffffff;
  --ink: #10262b;
  --muted: #5d7278;
  --line: #d6e7ea;
  --ok: #15803d;
  --ok-soft: #dcfce7;
  --warn: #a16207;
  --warn-soft: #fef3c7;
  --err: #b91c1c;
  --err-soft: #fee2e2;
  --info: #15616f;
  --info-soft: #e0f4f6;
  --wa: #1fa855;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 76, 92, .05), 0 8px 24px rgba(15, 76, 92, .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 "Manrope", "Avenir Next", 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: -.02em; 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: #ff8f73; }
.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, #0f4c5c, #15616f) 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, #0f4c5c, #1b9aaa); 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, .cal tr.days th { background: #f7f9fb; font-weight: 600; color: var(--muted); line-height: 1.1; padding: 4px 0; }
.cal thead th b, .cal tr.days th b { display: block; color: var(--ink); font-size: 14px; }
.cal thead th.today, .cal tr.days th.today { background: var(--brand); color: #c9d2f5; }
.cal thead th.today b, .cal tr.days th.today b { color: #fff; }
.cal thead th.we, .cal tr.days 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: #f3f9fa; min-height: 100vh; }
.hero {
  position: relative; min-height: 320px; display: flex; align-items: flex-end;
  background: linear-gradient(160deg, #0f4c5c, #15616f) 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: #e6f4f6; 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(15, 76, 92, .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, #0f4c5c, #15616f) center/cover; color: #fff; padding: 22px 16px 46px; }
.portal-head .wrap { padding: 0 0; }
.portal-head p { color: #cfe8ec; 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; }
.pay-acct.pickable { cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.pay-acct.pickable:hover, .pay-acct.on { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.pay-no { font-size: 16px; letter-spacing: .3px; font-variant-numeric: tabular-nums; }
.pay-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pay-sum > div { background: #f6f8f9; border-radius: 10px; padding: 8px 10px; display: grid; gap: 2px; min-width: 0; }
.pay-sum small { color: var(--muted); font-size: 12px; }
.pay-sum b { font-size: 15px; overflow-wrap: anywhere; }
.pay-sum > div:last-child { background: var(--brand-soft); }
.pay-step { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; font-size: 15px; }
.pay-step i { font-style: normal; width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 13px; }
.pay-check { border-color: #f59e0b; box-shadow: 0 0 0 2px rgba(245,158,11,.18); }
.person-row { display: flex; flex-direction: column; gap: 8px; padding: 12px; box-shadow: none; background: #f3f9fa; 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, #0f4c5c, #1b9aaa); 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(5, 40, 50, .35), rgba(5, 40, 50, .15) 45%, rgba(5, 40, 50, .55)),
    url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1600&q=70') center 60% / cover no-repeat, #0a3540;
  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: #e6f4f6; 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(5, 40, 50, .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(5, 40, 50, .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(255, 122, 89, .45);
}
.gz-go:hover { background: #ff8f73; }
.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(15, 76, 92, .14); }
.gz-img { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #e0f4f6, #d6e7ea) 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(15, 76, 92, .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(255, 122, 89, .35), transparent 40%), linear-gradient(120deg, #0f4c5c, #1b9aaa);
}
.gz-promo h2 { color: #fff; font-size: 22px; }
.gz-promo p { color: #cfe8ec; 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(5, 40, 50, .35), rgba(5, 40, 50, .55)), url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1600&q=70') center 60% / cover no-repeat, #0a3540; 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: #e6f4f6; }
.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(15, 76, 92, .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, #e0f4f6, #d6e7ea); }
.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, #e0f4f6, #d6e7ea) 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(15, 76, 92, .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(15, 76, 92, .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(5, 40, 50, .45), rgba(5, 40, 50, .65)), linear-gradient(120deg, #0f4c5c, #0a3540 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(15, 76, 92, .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(5, 40, 50, .45), rgba(5, 40, 50, .65)), linear-gradient(120deg, #0f4c5c, #1b9aaa 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(5, 40, 50, .35), rgba(5, 40, 50, .6)), linear-gradient(160deg, #0a3540, #5aa9e6 60%, #ff7a59); }
.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, #ff7a59, #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, #0f4c5c, #6b46c1 60%, #e08a3c) center/cover no-repeat; color: #fff; padding: 40px 16px 60px; }
.ct-hero p { color: #e6f4f6; font-weight: 700; font-size: 14px; }
.ct-hero p a { color: #ff7a59; }
.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: #e6f4f6; 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(15, 76, 92, .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(15, 76, 92, .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, #0f4c5c, #1b2fa3); color: #fff; position: sticky; top: 0; z-index: 20; box-shadow: 0 4px 18px rgba(15, 76, 92, .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: #f3f9fa; }
.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: #e0f4f6; 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: #f7f8fa; --field-line: #dcdfe4; --field-hover: #aeb5bf; --focus-ring: 0 0 0 4px rgba(27, 154, 170, .28); }
.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(15, 76, 92, .28); }
form.form-grid > .btn.primary:last-child { position: sticky; bottom: 12px; z-index: 5; box-shadow: 0 10px 28px rgba(15, 76, 92, .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(15, 76, 92, .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) minmax(0, 1fr) 90px 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; } .tr-class-in > input[name=cseats] { grid-column: 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, #0f4c5c, #1b9aaa); }
.passport { background: linear-gradient(135deg, #0f4c5c 0%, #15616f 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: #e0f4f6; }
.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: #10262b;
  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, #0f4c5c, #1b9aaa); }
.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: #0f4c5c; 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: #10262b; }
.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(15, 76, 92, .38) !important; opacity: .92; }

/* Koto Admin — mother dashboard (public/admin.js) */
.ad-head { background: linear-gradient(135deg, #0f4c5c, #15616f); 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: #cfe8ec; 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%, #0f4c5c 55%, #15616f 100%); color: #cfe8ec; }
.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: #cfe8ec; 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: #0f4c5c; }
.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: #0f4c5c; 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: #0f4c5c; }
.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, #15616f 70%, #1b9aaa); 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: #cfe8ec; }
.adm-role { background: #f2c94c; color: #0f4c5c; 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(255, 122, 89, .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(15, 76, 92, .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, #e0f4f6, #d6e7ea) 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(15, 76, 92, .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(15, 76, 92, .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.bus-fields:not(.air-fields) { grid-template-columns: 1.3fr 1.3fr 1.2fr 1.2fr .62fr .95fr; }
  .gz-fields.train-fields { grid-template-columns: 1.75fr 1.1fr 1.1fr 1.1fr .6fr .95fr; }
  /* Ticket search bars: a compact button so From / To keep room for a full district name (Cox's Bazar, Chattogram) */
  .gz-form:has(.bus-fields) .gz-go, .gz-form:has(.train-fields) .gz-go { min-width: 0; min-height: 44px; padding: 0 14px; font-size: 14.5px; white-space: nowrap; }
  .gz-fields.bus-fields .gz-f input, .gz-fields.bus-fields .gz-f select, .gz-fields.train-fields .gz-f input, .gz-fields.train-fields .gz-f select { font-size: 15px; }
}
@media (min-width: 860px) and (max-width: 1099px) {
  .gz-fields.bus-fields .gz-f input, .gz-fields.bus-fields .gz-f select, .gz-fields.train-fields .gz-f input, .gz-fields.train-fields .gz-f select { font-size: 14px; }
  .gz-fields.bus-fields .gz-f, .gz-fields.train-fields .gz-f { padding: 6px 9px 7px; }
  .gz-fields.bus-fields .gz-f input[type="date"], .gz-fields.train-fields .gz-f input[type="date"], .gz-fields.train-fields .gz-f select { font-size: 13.5px; }
}
.gz-ac:not(:has(.gz-ac-x)) input { padding-right: 0; } /* no clear button → no space reserved for it */
.gz-ac input { text-overflow: ellipsis; }

/* 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, #1b9aaa, #15616f); }
.sug-s2 .sug-band { background: linear-gradient(135deg, #2dd4bf, #0f766e); }
.sug-s3 .sug-band { background: linear-gradient(135deg, #38bdf8, #15616f); }
.sug-s4 .sug-band { background: linear-gradient(135deg, #15616f, #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, #e0f4f6 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: #1b9aaa; --s: #e0f4f6; 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(15, 76, 92, .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: #15616f; --s: #e0f4f6; }
.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%, #0f4c5c 60%, #15616f 100%); color: #cfe8ec; }
  .sidenav .brand small { color: #9fd2f0; }
  .sidenav a, .sidenav button { color: #cfe8ec; }
  .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: #e0f4f6; }

/* 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); }
/* 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: #e0f4f6; color: #15616f; }
/* 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(15, 76, 92, .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: #e0f4f6; 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, #0f4c5c, #1b9aaa); 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); }

/* Inbox, three panels: conversations · chat · guest details */
.ib-wrap3 { display: grid; grid-template-columns: minmax(270px, 330px) minmax(0, 1fr) minmax(250px, 300px); gap: 12px; align-items: stretch; height: calc(100vh - 170px); min-height: 520px; }
.ib-wrap3 > .card { margin: 0; min-height: 0; }
.ib-side { display: flex; flex-direction: column; gap: 8px; padding: 10px; overflow: hidden; }
.ib-search { display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.ib-search i { color: var(--muted); }
.ib-search input { border: 0; background: transparent; padding: 9px 0; box-shadow: none; }
.ib-views { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--bg); padding: 3px; border-radius: 10px; }
.ib-view { border: 0; background: transparent; padding: 6px 4px; border-radius: 8px; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--muted); cursor: pointer; }
.ib-view.on { background: var(--card, #fff); color: var(--brand); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.ib-view em { font-style: normal; background: var(--st-cancelled); color: #fff; border-radius: 99px; padding: 0 6px; font-size: 11px; }
.ib-side .ib-chips { margin: 0; flex-wrap: wrap; }
.ib-side .ib-list { border: 0; border-radius: 0; max-height: none; flex: 1; overflow-y: auto; margin: 0 -10px -10px; border-top: 1px solid var(--line); }
.ib-av { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: 14px; }
.ib-av.big { width: 64px; height: 64px; font-size: 22px; }
.ib-av-ch { position: absolute; right: -3px; bottom: -3px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; background: #fff; border: 1px solid var(--line); font-style: normal; }
.ib-av.ch-whatsapp .ib-av-ch { color: #16a34a; } .ib-av.ch-messenger .ib-av-ch { color: #0866ff; } .ib-av.ch-instagram .ib-av-ch { color: #d6249f; } .ib-av.ch-chat .ib-av-ch { color: var(--brand); }
.ib-item-main { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ib-item-top, .ib-item-bot { display: flex; justify-content: space-between; gap: 6px; align-items: center; min-width: 0; }
.ib-item-top b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ib-item-top small { flex: none; }
.ib-last { min-width: 0; }
.ib-item-tags { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.ib-item-tags small { display: inline; }
.ib-item.unread .ib-last { color: var(--ink, inherit); font-weight: 700; }
.ib-ai { color: var(--brand) !important; } .ib-you { color: var(--st-checked_in) !important; }
.ib-wrap3 .ib-conv { display: flex; flex-direction: column; height: auto; padding: 0; overflow: hidden; gap: 0; }
.ib-wrap3 .ib-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.ib-head-name { min-width: 0; } .ib-head-name b, .ib-head-name small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ib-lead { width: auto; padding: 6px 8px; }
.ib-wrap3 .ib-log { flex: 1; overflow-y: auto; padding: 12px; background: var(--bg); display: flex; flex-direction: column; gap: 6px; border-radius: 0; max-height: none; }
.ib-day { text-align: center; margin: 8px 0 2px; } .ib-day span { font-size: 11.5px; color: var(--muted); background: var(--card, #fff); border: 1px solid var(--line); border-radius: 99px; padding: 2px 10px; }
.ib-wrap3 .ib-msg { max-width: 78%; }
.ib-who { display: block; font-size: 11px; color: var(--muted); }
.ib-wrap3 .ib-reply { padding: 8px 10px 10px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.ib-quick { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.ib-quick .chip-btn { flex: none; font-size: 12px; }
.ib-compose { display: flex; gap: 8px; align-items: flex-end; }
.ib-compose textarea { flex: 1; resize: none; min-height: 44px; max-height: 140px; }
.ib-send { width: 46px; height: 46px; padding: 0; border-radius: 50%; flex: none; }
.ib-wrap3 .ib-tools { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.ib-note-line { font-size: 11.5px; min-width: 160px; }
.ib-details { display: flex; flex-direction: column; gap: 12px; overflow-y: auto; position: relative; }
.ib-card-top { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding-top: 4px; }
.ib-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ib-actions .btn { justify-content: center; }
.ib-actions .btn.primary { grid-column: 1 / -1; }
.ib-dl { display: flex; flex-direction: column; gap: 4px; }
.ib-dl > small { color: var(--muted); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; display: flex; justify-content: space-between; align-items: center; }
.ib-hist { display: flex; flex-direction: column; padding: 7px 9px; border: 1px solid var(--line); border-radius: 10px; color: inherit; text-decoration: none; font-size: 13px; }
a.ib-hist:hover { border-color: var(--brand); }
.ib-details-close, .ib-details-btn { display: none; }
.ib-empty { display: grid; place-items: center; align-content: center; gap: 6px; color: var(--muted); }
.ib-empty i { font-size: 34px; }
@media (max-width: 1200px) {
  .ib-wrap3 { grid-template-columns: minmax(260px, 320px) minmax(0, 1fr); }
  .ib-details { display: none; }
  .ib-details-btn { display: inline-flex; }
  .ib-wrap3.show-details .ib-details { display: flex; position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 92vw); z-index: 60; border-radius: 0; box-shadow: -8px 0 30px rgba(0,0,0,.18); padding-top: 44px; }
  .ib-wrap3.show-details .ib-details-close { display: inline-flex; position: absolute; top: 8px; right: 8px; }
}
@media (max-width: 760px) {
  .ib-wrap3 { grid-template-columns: 1fr; height: calc(100vh - 150px); }
  .ib-wrap3.has-conv .ib-side { display: none; }
  .ib-wrap3:not(.has-conv) .ib-conv { display: none; }
  .ib-wrap3 .ib-msg { max-width: 88%; }
}

/* Front page hero title */
.gz-hero .gz-title { margin: 0 0 6px; font-size: clamp(26px, 4.6vw, 44px); line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
.gz-hero .gz-tagline { margin: 0 auto 84px; color: #e6f4f6; text-align: center; font-size: clamp(14px, 2vw, 17px); text-shadow: 0 1px 8px rgba(0, 0, 0, .3); }
@media (max-width: 600px) { .gz-hero .gz-tagline { margin-bottom: 26px; } }

/* Night audit (#/app/audit) */
.na-head { flex-wrap: wrap; gap: 8px; }
.na-tools { gap: 6px; flex-wrap: wrap; }
.na-tools input[type=date] { width: auto; }
.na-day { margin: -6px 0 10px; color: var(--muted); font-weight: 700; }
.na-status { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.na-status span { flex: 1; min-width: 200px; }
.na-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; margin: 12px 0; }
.na-kpi { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--card, #fff); border: 1px solid var(--line); }
.na-kpi small { color: var(--muted); font-size: 12px; font-weight: 700; }
.na-kpi b { font-size: 22px; font-variant-numeric: tabular-nums; }
.na-kpi span { font-size: 11.5px; color: var(--muted); }
.na-kpi.hl { background: var(--brand); color: #fff; border-color: var(--brand); } .na-kpi.hl small, .na-kpi.hl span { color: rgba(255,255,255,.85); }
.na-kpi.warn b { color: var(--st-cancelled); }
.na-ex { display: flex; gap: 8px; align-items: flex-start; padding: 7px 10px; border-radius: 10px; margin-top: 6px; font-size: 14px; }
.na-ex.err { background: #fef2f2; color: #991b1b; } .na-ex.warn { background: #fffbeb; color: #92400e; } .na-ex.info { background: var(--bg); color: var(--muted); }
.na-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; margin-top: 12px; align-items: start; }
.na-grid > .card { margin: 0; }
.na-sec.bad { border-color: #fca5a5; }
.na-row { display: flex; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.na-sec .card-title + .na-row { border-top: 0; }
.na-row a.grow { color: inherit; text-decoration: none; min-width: 0; }
.na-acts { display: flex; gap: 6px; }
.na-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.na-table td, .na-table th { padding: 6px 4px; border-bottom: 1px solid var(--line); text-align: left; }
.na-table td:last-child { text-align: right; }
.na-table.wide td:last-child { text-align: left; }
.na-table tr[data-naact] { cursor: pointer; } .na-table tr[data-naact]:hover, .na-table tr.on { background: var(--brand-soft); }
.na-line { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.na-hk { display: flex; gap: 6px; flex-wrap: wrap; }
.na-close { margin-top: 12px; border: 1.5px solid var(--brand); }
.na-hist { margin-top: 12px; }
.na-foot { text-align: center; margin: 14px 0 30px; }
@media print {
  .na-tools, .na-close, .na-acts, .na-status button, .na-hist { display: none !important; }
  .na-grid { grid-template-columns: 1fr 1fr; }
  .na-kpi.hl { background: #fff; color: #000; }
}

/* New booking: presets, guests, auto-pick, extras, returning guest */
.bk-presets { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.bk-pax { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: space-between; padding-top: 8px; border-top: 1px solid var(--line); }
.bk-step { display: inline-flex; align-items: center; gap: 8px; }
.bk-step small { color: var(--muted); }
.bk-step b { min-width: 18px; text-align: center; font-size: 17px; }
.bk-auto { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; padding: 6px 12px 0; }
.bk-charge { display: grid; grid-template-columns: 1fr 120px auto; gap: 6px; margin-top: 6px; }
.bk-total { border: 1px solid var(--line); border-radius: 12px; padding: 6px 12px; }
.bk-ret { display: flex; flex-direction: column; gap: 4px; }
.bk-ret .btn { align-self: flex-start; }

/* Calendar: month view per room type */
.cal-cat-name { display: inline-flex; align-items: center; gap: 10px; }
.cal-month-btn { padding: 2px 8px !important; font-size: 11.5px !important; text-transform: none; letter-spacing: 0; }
.cal-month-btn.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.cat-month { margin-bottom: 12px; }
.cm-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cm-wd { text-align: center; font-size: 11.5px; font-weight: 700; color: var(--muted); padding-bottom: 2px; }
.cm-day { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 2px; border-radius: 10px; border: 1px solid var(--line); background: var(--card, #fff); cursor: pointer; font: inherit; color: inherit; min-width: 0; }
.cm-day:hover:not(:disabled) { border-color: var(--brand); }
.cm-day .cm-n { font-size: 11px; color: var(--muted); align-self: flex-start; padding-left: 4px; }
.cm-day b { font-size: 14px; }
.cm-day small { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cm-day small.cm-we { color: var(--st-prebook); }
.cm-day.today { outline: 2px solid var(--brand); }
.cm-ok, .cm-legend i.cm-ok { background: #f0fdf4; } .cm-low, .cm-legend i.cm-low { background: #fffbeb; } .cm-full, .cm-legend i.cm-full { background: #fef2f2; }
.cm-day.cm-full b { color: var(--st-cancelled); } .cm-day.cm-low b { color: #b45309; } .cm-day.cm-ok b { color: var(--st-checked_in); }
.cm-day.cm-past { opacity: .45; cursor: default; }
.cm-day:disabled { cursor: default; }
.cm-legend { flex-wrap: wrap; margin-top: 8px; }
@media (max-width: 520px) { .cm-day small { display: none; } .cm-day b { font-size: 12px; } }

/* Ship tickets: round-trip fare line */
.seat-alt, .ss-alt { display: block; font-size: 11.5px; color: var(--muted); }

/* Professional dashboard */
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.dash-head h1 { margin: 2px 0 0; }
.kpis-pro { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.kpi { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; border-radius: 16px; background: var(--card, #fff); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.kpi small { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .01em; }
.kpi b { font-size: 26px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi > span { font-size: 12px; color: var(--muted); }
.kpi.hl { background: linear-gradient(135deg, var(--brand), #0b6fae); color: #fff; border-color: transparent; }
.kpi.hl small, .kpi.hl > span, .kpi.hl .kpi-d { color: rgba(255, 255, 255, .9) !important; }
.kpi-d { font-weight: 800; font-size: 12px; }
.kpi-d.up { color: var(--st-checked_in); } .kpi-d.down { color: var(--st-cancelled); }
.dash-charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.dash-charts > .card { margin: 0; }
.bc { width: 100%; height: auto; display: block; }
.bc-base { stroke: var(--line); stroke-width: 1; }
.bc-bar { fill: var(--brand); opacity: .82; }
.bc-g.today .bc-bar { opacity: 1; }
.bc-g:hover .bc-bar, .bc-g:focus .bc-bar { opacity: 1; fill: #0b6fae; }
.bc-hit { fill: transparent; }
.bc-g:hover .bc-hit { fill: var(--brand-soft); }
.bc-x { font-size: 10px; fill: var(--muted); text-anchor: middle; }
.bc-g.today .bc-x { fill: var(--brand); font-weight: 800; }
.bc-table summary { cursor: pointer; color: var(--muted); }
.bc-table table { width: 100%; font-size: 13px; border-collapse: collapse; margin-top: 6px; }
.bc-table td { padding: 3px 4px; border-bottom: 1px solid var(--line); } .bc-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.dash-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.dash-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.dash-col > .card, .dash-col > section, .dash-col > a.card { margin: 0; }
.dash-col-h { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.dash-col:first-child:not(:has(> .card, > section, > a.card)) { display: none; }
@media (max-width: 900px) { .dash-cols { grid-template-columns: 1fr; } }
/* Professional dashboard: every section spans the full width (the old 2-column grid only splits the columns inside) */
.dash > .dash-head, .dash > .kpis-pro, .dash > .dash-quick, .dash > .dash-charts, .dash > .dash-cols, .dash > .card, .dash > section { grid-column: 1 / -1; }
.dash-quick { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
.dash-quick a { padding: 10px 6px; }

/* Departments: summary tiles, detail page */
.dp-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 12px; }
.dp-tile { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--card, #fff); border: 1px solid var(--line); }
.dp-tile small { color: var(--muted); font-size: 12px; font-weight: 700; } .dp-tile b { font-size: 22px; font-variant-numeric: tabular-nums; } .dp-tile span { font-size: 11.5px; color: var(--muted); }
.dp-tile.hl { background: var(--brand); color: #fff; border-color: var(--brand); } .dp-tile.hl small, .dp-tile.hl span { color: rgba(255,255,255,.88); }
.dp-tile.bad b { color: var(--st-cancelled); } .dp-tile.warn b { color: #b45309; }
.dp-links { flex-wrap: wrap; }
.dp-figs-lg { margin: 4px 0 12px; }
.dp-detail { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; align-items: start; }
.dp-detail > .card { margin: 0; }
.dp-task { display: flex; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.dp-detail .card-title + .dp-task { border-top: 0; }
.dp-task.t-doing { border-left: 3px solid var(--st-checked_in); padding-left: 8px; }
.dp-person { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.dp-person > svg { transform: scaleX(-1); opacity: .5; }
.dp-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); flex: none; } .dp-dot.on { background: var(--st-checked_in); }
.dp-line { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-top: 1px dashed var(--line); font-size: 13.5px; }
.dp-sub { font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 12px 0 2px; }

/* Bookings page */
.bks-filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 8px; }
.bks-search { flex: 1 1 260px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card, #fff); }
.bks-search i { color: var(--muted); } .bks-search input { border: 0; background: transparent; box-shadow: none; padding: 10px 0; }
.bks-f { display: flex; flex-direction: column; gap: 2px; } .bks-f small { font-size: 11px; color: var(--muted); font-weight: 700; } .bks-f input, .bks-f select { width: auto; padding: 7px 8px; }
.bks-tabs { flex-wrap: wrap; }
.bks-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin: 10px 0; }
.bks-sum > div { display: flex; flex-direction: column; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card, #fff); }
.bks-sum small { color: var(--muted); font-size: 12px; font-weight: 700; } .bks-sum b { font-size: 19px; font-variant-numeric: tabular-nums; }
.bks-card { padding: 0; overflow: hidden; }
.bks-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.bks-table th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--bg); }
.bks-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.bks-table td small { display: block; font-size: 12px; margin-top: 2px; }
.bks-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bks-row { cursor: pointer; } .bks-row:hover { background: var(--brand-soft); }
.bks-act { text-align: right; white-space: nowrap; }
@media (max-width: 760px) {
  .bks-table thead { display: none; }
  .bks-table, .bks-table tbody, .bks-table tr, .bks-table td { display: block; width: 100%; }
  .bks-table tr { padding: 10px 12px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; }
  .bks-table td { border: 0; padding: 0; }
  .bks-table td:nth-child(5) { grid-column: 2; grid-row: 1; }
  .bks-act { grid-column: 1 / -1; text-align: left; }
}

/* chat: voice message button */
.as-input .cc-mic { flex: none; padding: 0 12px; }
.as-input .cc-mic.on { background: var(--err); color: #fff; border-color: var(--err); animation: ccpulse 1.2s infinite; }
@keyframes ccpulse { 50% { opacity: .65; } }
.as-msg.bot p a { word-break: break-all; }
/* booking: move room */
.move-room { margin-top: 8px; }
.move-room > summary { list-style: none; display: inline-flex; cursor: pointer; }
.move-room > summary::-webkit-details-marker { display: none; }
.move-room[open] > summary { margin-bottom: 8px; }
.move-room form { background: var(--bg2, #f4f7fb); border-radius: 12px; padding: 12px; }

/* guest form: login */
.gf-fixed { background: var(--bg2, #f1f5f9); color: var(--muted, #475569); }
.gf-fixed, .gf-fixed:focus { cursor: default; background: var(--bg2, #f1f5f9); box-shadow: none; outline: none; border-color: var(--line, #e2e8f0); }
.field span .ic { width: 12px; height: 12px; vertical-align: -1px; opacity: .6; }
.gf-pin { letter-spacing: .4em; text-align: center; font-size: 18px; }
.gf-login { border: 2px solid var(--brand, #15616f); }
.gf-profile { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.gf-av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--brand, #15616f); color: #fff; flex: none; }

/* guest profile */
.pp-trip-d { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; }
.pp-note { display: block; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: inherit; }
.pp-note small { display: block; }
.pp-note.new { background: var(--brand-50, #e0f4f6); }
.pp-modal { position: fixed; inset: 0; background: rgba(15, 23, 42, .55); display: grid; place-items: center; padding: 16px; z-index: 90; }
.pp-modal > .card { width: min(420px, 100%); }

/* guest app: in-house welcome + Wi-Fi */
.stay-card .wifi { display: flex; gap: 14px; align-items: center; }
.stay-card .wifi > div:last-child { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; }
.wifi-qr { width: 120px; height: 120px; flex: none; background: #fff; padding: 4px; border-radius: 8px; }
.wifi-qr img, .wifi-qr canvas { width: 100% !important; height: 100% !important; }
.wifi-pw { font-family: ui-monospace, monospace; font-size: 18px; }

/* one login panel: identities for this number */
.id-picks { display: grid; gap: 8px; }
.id-pick { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border: 1.5px solid var(--line, #dbe3ec); border-radius: 12px; cursor: pointer; }
.id-pick small { display: block; }
.id-pick > i { font-size: 18px; color: var(--brand, #15616f); width: 22px; text-align: center; }
.id-pick:has(input:checked), .id-pick.on { border-color: var(--brand, #15616f); background: var(--brand-50, #e0f4f6); }
.id-pick input { accent-color: var(--brand, #15616f); }
.id-pick.off { opacity: .55; cursor: not-allowed; }
.verify-card .hide { display: none; }

/* staff phone alerts */
.alerts-card { align-items: center; }
.alerts-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-50, #e0f4f6); color: var(--brand, #15616f); flex: none; }
/* tour costing (tours.js) */
.tc-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.tc-kpis > div { background: var(--card, #fff); border: 1px solid var(--line, #e2e8f0); border-radius: 14px; padding: 12px 14px; }
.tc-kpis small { display: block; color: var(--muted); font-size: 12px; }
.tc-kpis b { font-size: 20px; }
.tc-list { overflow-x: auto; padding: 0; }
.tc-list table { width: 100%; border-collapse: collapse; min-width: 720px; }
.tc-list th, .tc-list td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line, #e2e8f0); vertical-align: top; }
.tc-list td small { display: block; }
.tc-list .num { text-align: right; }
.tc-list tbody tr { cursor: pointer; }
.tc-list tbody tr:hover { background: var(--brand-50, #f0f9ff); }
.tc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.tc-sum { position: sticky; top: 12px; }
.tc-sum-top { display: grid; gap: 10px; }
.tc-sum-top > div { background: var(--brand-50, #f0f9ff); border-radius: 12px; padding: 10px 12px; }
.tc-sum-top small { display: block; color: var(--muted); font-size: 12px; }
.tc-sum-top b { font-size: 22px; }
.tc-sum .line.total { border-top: 2px solid var(--line, #e2e8f0); padding-top: 8px; margin-top: 4px; }
.tc-f3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tc-tw { overflow-x: auto; margin: 0 -4px; }
.tc-t { width: 100%; border-collapse: collapse; min-width: 640px; }
.tc-t th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; padding: 4px; white-space: nowrap; }
.tc-t td { padding: 3px 4px; vertical-align: middle; }
.tc-t input, .tc-t select { width: 100%; min-width: 70px; padding: 7px 8px; font-size: 14px; }
.tc-t td:nth-child(3) input { min-width: 160px; }
.tc-n { text-align: right; }
.tc-lt { white-space: nowrap; font-weight: 600; font-size: 13px; }
.tc-row2 { display: grid; grid-template-columns: 1fr 2fr auto; gap: 8px; align-items: center; }
.tc-row4 { display: grid; grid-template-columns: 1fr 1fr 1fr 1.4fr auto; gap: 8px; align-items: center; }
.tc-sec-tot { font-size: 13px; text-align: right; }
.tq-j { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.tq-j small { display: block; color: var(--muted); font-size: 12px; }
.tq-total .line.total span { font-size: 20px; }
@media (max-width: 960px) { .tc-grid { grid-template-columns: 1fr; } .tc-sum { position: static; order: -1; } }
@media (max-width: 600px) { .tc-f3 { grid-template-columns: 1fr 1fr; } .tc-row4 { grid-template-columns: 1fr 1fr; } }
@media print { .tq .tq-act, .tq .portal-head .back { display: none !important; } .tq .card { box-shadow: none; break-inside: avoid; } }
/* travel agent home + invoices (invoices.js) */
.ag-home-kpis { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.ag-home-kpis .stat small { display: block; font-size: 11px; }
.ag-svc { width: 100%; border-collapse: collapse; min-width: 480px; }
.ag-svc th, .ag-svc td { padding: 8px 6px; border-bottom: 1px solid var(--line, #e2e8f0); text-align: left; font-size: 14px; }
.ag-svc .num { text-align: right; white-space: nowrap; }
.ag-svc-total td { font-weight: 800; border-bottom: 0; }
.inv-svc { gap: 6px; }
.inv-svc .chip-btn.on { background: var(--brand, #15616f); color: #fff; border-color: var(--brand, #15616f); }
.inv-svc input { display: none; }
.inv-doc { max-width: 820px; margin: 0 auto; padding: 32px; }
.inv-h { display: flex; justify-content: space-between; gap: 16px; border-bottom: 3px solid var(--brand, #15616f); padding-bottom: 14px; }
.inv-h h1 { margin: 0 0 4px; font-size: 24px; }
.inv-title { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.inv-title b { font-size: 22px; letter-spacing: .08em; color: var(--brand, #15616f); }
.inv-stamp { margin-top: 6px; font-weight: 800; font-size: 12px; letter-spacing: .1em; padding: 3px 10px; border: 2px solid currentColor; border-radius: 6px; }
.inv-stamp.ok { color: var(--ok, #15803d); } .inv-stamp.warn { color: #b45309; } .inv-stamp.err { color: var(--err, #b91c1c); }
.inv-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0; }
.inv-meta > div { display: flex; flex-direction: column; gap: 2px; }
.inv-meta small { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.inv-t { width: 100%; border-collapse: collapse; margin: 6px 0 12px; }
.inv-t th { background: var(--brand-50, #f0f9ff); text-align: left; font-size: 12px; padding: 8px; }
.inv-t td { padding: 8px; border-bottom: 1px solid var(--line, #e2e8f0); }
.inv-t .num { text-align: right; white-space: nowrap; }
.inv-tot { margin-left: auto; max-width: 340px; }
.inv-tot .line.total { border-top: 2px solid var(--line, #e2e8f0); padding-top: 8px; font-size: 18px; font-weight: 800; }
.inv-f { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 40px; }
.inv-sign { border-top: 1px solid #94a3b8; padding-top: 4px; min-width: 180px; text-align: center; font-size: 13px; }
@media (max-width: 600px) { .inv-doc { padding: 18px; } .inv-h { flex-direction: column; } .inv-title { align-items: flex-start; text-align: left; } .inv-meta { grid-template-columns: 1fr; } }
@media print { .inv-act, .sidenav, .tabbar { display: none !important; } .inv-doc { box-shadow: none; border: 0; padding: 0; } body { background: #fff; } }
.inv-svc .chip-btn { color: var(--ink); background: var(--card); }
.inv-svc .chip-btn.on, .inv-svc .chip-btn:has(input:checked) { background: var(--brand) !important; color: #fff !important; border-color: var(--brand) !important; }
.inv-doc-wrap .wrap { max-width: 880px; }
.inv-doc, .inv-meta, .inv-meta > div { text-align: left; align-items: flex-start; }
.inv-title { text-align: right; align-items: flex-end; }
.inv-meta > div { align-items: flex-start !important; text-align: left !important; justify-self: start; }
.inv-meta > div:last-child { justify-self: end; align-items: flex-end !important; text-align: right !important; }

/* tour costing tools */
.tc-tpl { display: flex; flex-wrap: wrap; gap: 6px; }
.tc-tools-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.tc-tool { display: flex; flex-direction: column; gap: 6px; background: var(--bg); border-radius: 12px; padding: 10px; }
.tc-jump { display: flex; gap: 6px; overflow-x: auto; position: sticky; top: 0; z-index: 5; background: var(--bg); padding: 8px 0; margin-bottom: 4px; }
.tc-jump .chip-btn { flex: none; }
.tc-sec { scroll-margin-top: 56px; }

/* catalog = website builder (biz.js) */
.cat-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
.cat-preview { position: sticky; top: 12px; display: flex; flex-direction: column; gap: 8px; }
.phone-frame { border: 10px solid #10262b; border-radius: 32px; overflow: hidden; height: 680px; background: #fff; box-shadow: var(--shadow); }
.phone-frame iframe { width: 100%; height: 100%; border: 0; }
.site-bar { display: flex; flex-direction: column; gap: 10px; }
.site-url { display: flex; gap: 10px; align-items: center; background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.site-url small { display: block; }
.site-url b { word-break: break-all; }
.site-stats { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.site-stats b { color: var(--ink); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.cat-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.cat-card.off { opacity: .6; }
.cat-img { position: relative; height: 130px; background: var(--brand-soft) center/cover no-repeat; display: grid; place-items: center; font-size: 30px; color: var(--brand); }
.cat-feat { position: absolute; top: 8px; left: 8px; background: var(--accent); color: var(--accent-ink); font-style: normal; font-weight: 800; font-size: 11px; padding: 3px 8px; border-radius: 999px; }
.cat-n { position: absolute; bottom: 8px; right: 8px; background: rgba(15, 42, 61, .7); color: #fff; font-style: normal; font-size: 11px; padding: 2px 7px; border-radius: 999px; }
.cat-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.cat-body small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-tools { display: flex; gap: 4px; align-items: center; padding: 8px 10px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.cat-tools .btn { margin-left: auto; }
.cat-tools .icon-btn.on { color: var(--accent); }
.cat-h { margin: 10px 0 0; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--brand); }
.cat-gal { display: flex; gap: 8px; flex-wrap: wrap; }
.cat-gal .thumb { width: 74px; height: 74px; position: relative; border-radius: 10px; }
.cat-add { display: grid; place-items: center; border: 2px dashed var(--line); cursor: pointer; color: var(--muted); background: var(--bg); }
.cat-x { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--err); color: #fff; cursor: pointer; line-height: 1; }
.cat-days { display: flex; flex-direction: column; gap: 8px; }
.cat-day { display: grid; grid-template-columns: 60px 1fr auto; gap: 6px; align-items: start; }
.cat-day textarea { grid-column: 2; }
.biz-item { position: relative; }
.biz-item.featured { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent) inset; }
.pkg-hl .chip { background: var(--ok-soft); color: var(--ok); }
.pkg-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin: 14px 0; }
.pkg-gal button { border: 0; padding: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; height: 110px; }
.pkg-gal img { width: 100%; height: 100%; object-fit: cover; }
.pkg-days { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; border-left: 3px solid var(--brand-soft); padding-left: 14px; }
.pkg-days li { display: flex; gap: 12px; }
.pkg-day-n { flex: none; background: var(--brand); color: #fff; font-weight: 800; font-size: 12px; padding: 4px 9px; border-radius: 999px; height: fit-content; }
@media (max-width: 1150px) { .cat-layout { grid-template-columns: 1fr; } .cat-preview { display: none; } }
/* chat launcher: one round icon */
.cc-fab { width: 58px; height: 58px; padding: 0 !important; border-radius: 50% !important; display: grid !important; place-items: center; font-size: 24px; }
.cc-fab span { display: none; }

/* travel agency website (#/b/<agency>) */
.as-site { background: #fff; }
.as-nav { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.as-nav-in { max-width: 1180px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 16px; }
.as-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 17px; }
.as-logo { width: 38px; height: 38px; border-radius: 10px; background: var(--brand) center/cover; color: #fff; display: grid; place-items: center; font-weight: 800; }
.as-links { display: flex; gap: 18px; margin: 0 auto; }
.as-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.as-links a:hover { color: var(--brand); }
.as-hero { background: linear-gradient(135deg, #0f4c5c, #1b9aaa) center/cover; color: #fff; padding: 70px 16px 60px; }
.as-hero-in { max-width: 1180px; margin: 0 auto; }
.as-kicker { opacity: .9; font-weight: 600; margin: 0 0 8px; }
.as-hero h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.08; margin: 0 0 10px; max-width: 760px; }
.as-sub { font-size: 18px; opacity: .92; max-width: 640px; margin: 0 0 22px; }
.as-finder { background: #fff; color: var(--ink); border-radius: 18px; padding: 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 10px; align-items: end; box-shadow: 0 20px 50px rgba(0,0,0,.25); max-width: 1000px; }
.as-finder label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 700; color: var(--muted); }
.as-finder select, .as-finder input { width: 100%; }
.as-hero-cta { display: flex; gap: 12px; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.as-rate { background: rgba(255,255,255,.18); padding: 6px 12px; border-radius: 999px; font-weight: 700; }
.as-main { max-width: 1180px; margin: 0 auto; padding: 10px 16px 40px; display: flex; flex-direction: column; gap: 36px; }
.as-main > section { scroll-margin-top: 70px; }
.as-h { font-size: 26px; margin: 26px 0 14px; }
.as-svcs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.as-svc { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); cursor: pointer; text-align: left; }
.as-svc i { font-size: 22px; color: var(--brand-2); }
.as-svc small { color: var(--muted); }
.as-svc.on, .as-svc:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.as-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.as-card { border-radius: 18px; overflow: hidden; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .15s; }
.as-card:hover { transform: translateY(-3px); }
.as-card-img { position: relative; height: 180px; background: var(--brand-soft) center/cover no-repeat; display: grid; place-items: center; font-size: 36px; color: var(--brand); text-decoration: none; }
.as-dur { position: absolute; bottom: 10px; left: 10px; background: rgba(15,42,61,.75); color: #fff; font-style: normal; font-size: 12px; padding: 3px 9px; border-radius: 999px; }
.as-card-b { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.as-card-b h3 { margin: 0; font-size: 17px; line-height: 1.25; }
.as-card-b h3 a { color: var(--ink); text-decoration: none; }
.as-clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.as-price { font-size: 19px; font-weight: 800; color: var(--brand); display: flex; flex-direction: column; line-height: 1.1; }
.as-price small { font-size: 11px; color: var(--muted); font-weight: 600; }
.as-dests { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.as-dest { height: 130px; border: 0; border-radius: 16px; background: linear-gradient(135deg, #1b9aaa, #0f4c5c) center/cover; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: 12px; cursor: pointer; position: relative; overflow: hidden; text-align: left; }
.as-dest::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.65)); }
.as-dest b, .as-dest small { position: relative; }
.as-dest b { font-size: 18px; }
.as-about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.as-why { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.as-why > div { background: var(--bg); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.as-why i { color: var(--brand-2); font-size: 20px; }
.as-why small { color: var(--muted); }
.as-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.as-photos img { width: 100%; height: 110px; object-fit: cover; border-radius: 12px; }
.as-contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.as-foot { background: #10262b; color: #cfe3f1; padding: 26px 16px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.as-foot > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.as-foot a { color: #fff; }
.as-foot-l { display: flex; gap: 14px; font-size: 22px; }
@media (max-width: 900px) { .as-links { display: none; } .as-finder { grid-template-columns: 1fr 1fr; } .as-finder .btn { grid-column: span 2; } .as-about, .as-contact { grid-template-columns: 1fr; } .as-hide-s { display: none; } }
.as-hero h1, .as-hero .as-kicker, .as-hero .as-sub { color: #fff; }

/* tour costing: destinations + totals that scroll with the page */
.tc-sum { position: static !important; }
.tc-sum > summary { cursor: pointer; list-style: none; gap: 8px; padding-bottom: 4px; }
.tc-sum > summary::-webkit-details-marker { display: none; }
.tc-sum[open] > summary { margin-bottom: 10px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.tc-stops { display: flex; flex-direction: column; gap: 8px; }
.tc-stop { display: grid; grid-template-columns: 28px 1.4fr 1fr 1fr 90px 32px; gap: 8px; align-items: end; background: var(--bg); border-radius: 12px; padding: 8px; }
.tc-stop-n { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; margin-bottom: 8px; }
.tq-stops { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px; counter-reset: s; }
.tq-stops li { background: var(--brand-soft); border-radius: 10px; padding: 6px 10px; display: flex; flex-direction: column; }
.tq-stops small { color: var(--muted); font-size: 12px; }
@media (max-width: 960px) { .tc-sum { order: 0 !important; } }
@media (max-width: 700px) { .tc-stop { grid-template-columns: 28px 1fr 1fr; } .tc-stop .field:first-of-type { grid-column: span 2; } }
.tc-stop { grid-template-columns: 28px repeat(3, minmax(0, 1fr)) 32px !important; }
.tc-stop .tc-stop-n { grid-row: 1; grid-column: 1; }
.tc-stop .field:nth-of-type(1) { grid-column: 2 / 5; grid-row: 1; }
.tc-stop > button, .tc-stop > span:last-child { grid-column: 5; grid-row: 1; }
.tc-stop .field:nth-of-type(2) { grid-column: 2; grid-row: 2; }
.tc-stop .field:nth-of-type(3) { grid-column: 3; grid-row: 2; }
.tc-stop .field:nth-of-type(4) { grid-column: 4; grid-row: 2; }

/* requests page */
.req-kpis .ag-kpi { cursor: default; border: 1px solid var(--line); text-align: left; font: inherit; }
.req-kpis button.ag-kpi[data-f] { cursor: pointer; }
.req-kpis .ag-kpi.warn b { color: var(--warn); }
.req-wrap { position: relative; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 8px; }
.req-wrap.act { border-left: 3px solid var(--accent); padding-left: 10px; }
.req-age { display: inline-block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 2px; }
.req-age.late { color: var(--err); }
.req-agency { margin-top: 6px; }
.filters .chip-btn small { opacity: .7; margin-left: 2px; }
/* tour costing: totals as a wide strip on top, inputs use the full width */
.tc-one { grid-template-columns: 1fr !important; }
.tc-sum { margin-bottom: 14px; }
.tc-sum-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; align-items: start; }
.tc-sum-cols .tc-sum-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tc-sum-cols .tc-sum-top b { font-size: 20px; }
.tc-sum-col { display: flex; flex-direction: column; }
@media (max-width: 900px) { .tc-sum-cols { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .tc-sum-cols .tc-sum-top { grid-template-columns: 1fr; } }
.tc-sum-cols { grid-template-columns: 1fr 1fr !important; }
.tc-sum-cols .tc-sum-top { grid-column: 1 / -1; }
@media (max-width: 700px) { .tc-sum-cols { grid-template-columns: 1fr !important; } }
.tc-one { grid-template-columns: minmax(0, 1fr) !important; }

/* clients page */
.ag-client { flex-wrap: wrap; }
.ag-quick { display: flex; gap: 4px; align-items: center; }
.ag-quick .pill { padding: 3px 7px; }

/* agency accounts */
.acc-ins { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; margin-top: 14px; }
.acc-chart { width: 100%; height: auto; margin-top: 8px; }
.acc-chart rect.acc-s { fill: var(--brand-2); opacity: .55; }
.acc-chart rect.acc-s.cur { opacity: 1; }
.acc-chart rect.acc-p { fill: var(--ok); }
.acc-chart text { font-size: 11px; fill: var(--muted); }
.acc-key { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin: 0 4px 0 10px; vertical-align: -1px; }
.acc-key.s { background: var(--brand-2); } .acc-key.p { background: var(--ok); }
.acc-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.acc-row .acc-bar, .acc-row > small { grid-column: 1 / -1; }
.acc-bar { display: block; height: 6px; border-radius: 3px; background: var(--brand-soft); overflow: hidden; }
.acc-bar b { display: block; height: 100%; background: var(--brand-2); }
@media (max-width: 900px) { .acc-ins { grid-template-columns: 1fr; } }

/* creators */
.cr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.cr-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.cr-img { position: relative; height: 120px; background: linear-gradient(135deg, #f472b6, #8b5cf6) center/cover; display: grid; place-items: center; color: #fff; font-size: 30px; }
.cr-b { padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.cr-reach { font-weight: 800; color: var(--brand); }

/* giveaways */
.ct-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.ct-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.ct-img { position: relative; height: 130px; background: linear-gradient(135deg, #ff7a59, #f97316) center/cover; display: grid; place-items: center; color: #fff; font-size: 34px; }
.ct-left { position: absolute; top: 8px; right: 8px; background: rgba(15, 42, 61, .75); color: #fff; font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.ct-b { padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.ct-ideas { margin: -4px 0 12px; display: flex; flex-direction: column; gap: 6px; }

/* register: try the demo */
.rt-card-wrap { display: flex; flex-direction: column; gap: 0; }
.rt-card-wrap .rt-card { border-bottom-left-radius: 0; border-bottom-right-radius: 0; flex: 1; }
.rt-demo { border: 1px solid var(--line); border-top: 0; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 13px; padding: 8px; border-radius: 0 0 14px 14px; cursor: pointer; }
.rt-demo:hover { background: var(--brand); color: #fff; }

/* staff activity */
.act-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.act-hours { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; height: 110px; align-items: end; }
.act-hours i { height: 100%; display: flex; align-items: flex-end; background: var(--bg); border-radius: 4px; }
.act-hours b { display: block; width: 100%; background: var(--brand-2); border-radius: 4px; min-height: 2px; }
.act-hl { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 4px; }
@media (max-width: 800px) { .act-sum { grid-template-columns: 1fr; } }
/* tour quotation as an itinerary (tours.js) */
.tq2 { background: #f6fafd; }
.tq-in { max-width: 1060px; margin: 0 auto; padding: 0 16px; }
.tq-letter { background: #fff; border-bottom: 1px solid var(--line); }
.tq-letter-in { max-width: 1060px; margin: 0 auto; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tq-brand { display: flex; gap: 12px; align-items: center; }
.tq-brand b { font-size: 18px; display: block; }
.tq-brand small { color: var(--muted); font-size: 12px; }
.tq-logo { width: 54px; height: 54px; border-radius: 14px; background: var(--brand) center/cover no-repeat; flex: none; box-shadow: var(--shadow); }
.tq-logo-t { display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 24px; }
.tq-doc { text-align: right; display: flex; flex-direction: column; }
.tq-doc small { color: var(--muted); font-size: 12px; }
.tq-doc b { font-size: 16px; letter-spacing: .05em; color: var(--brand); }
.tq-hero { background: linear-gradient(135deg, #0f4c5c, #1b9aaa) center/cover; color: #fff; padding: 36px 0 30px; }
.tq-hero h1 { color: #fff; font-size: clamp(26px, 4vw, 40px); margin: 6px 0; }
.tq-kicker { opacity: .9; font-weight: 600; margin: 0; }
.tq-glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-top: 18px; }
.tq-glance > div { background: rgba(255,255,255,.14); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; }
.tq-glance i { opacity: .85; }
.tq-glance small { opacity: .8; font-size: 12px; }
.tq-glance b { font-size: 17px; }
.tq-body { padding-top: 20px; padding-bottom: 40px; }
.tq-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.tq-h { font-size: 20px; margin: 22px 0 12px; }
.tq-days { list-style: none; margin: 0; padding: 0; position: relative; }
.tq-days::before { content: ''; position: absolute; left: 41px; top: 8px; bottom: 8px; width: 3px; background: var(--brand-soft); }
.tq-days li { display: grid; grid-template-columns: 84px 1fr; gap: 14px; margin-bottom: 14px; position: relative; }
.tq-dn { background: var(--brand); color: #fff; border-radius: 14px; padding: 8px; text-align: center; height: fit-content; z-index: 1; }
.tq-dn b { display: block; font-size: 15px; }
.tq-dn small { font-size: 11px; opacity: .9; }
.tq-dc { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow); }
.tq-dc h3 { margin: 0 0 6px; font-size: 17px; }
.tq-dc p { margin: 4px 0; font-size: 14px; }
.tq-meals { display: flex; flex-direction: column; gap: 3px; margin: 6px 0; font-size: 14px; }
.tq-meals i, .tq-dc p i { color: var(--brand-2); width: 18px; }
.tq-stay { background: var(--brand-soft); border-radius: 10px; padding: 6px 10px; }
.tq-incl { display: flex; flex-direction: column; gap: 8px; }
.tq-incl > div { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.tq-incl i { color: var(--brand-2); font-size: 18px; width: 22px; text-align: center; }
.tq-incl span { flex: 1; display: flex; flex-direction: column; }
.tq-incl small { color: var(--muted); }
.tq-incl em { font-style: normal; font-weight: 800; }
.tq-notes { white-space: pre-line; background: #fff; border-radius: 14px; padding: 12px 14px; border: 1px solid var(--line); }
.tq-side { position: sticky; top: 14px; display: flex; flex-direction: column; gap: 12px; }
.tq-price { background: #10262b; color: #fff; border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.tq-price small { opacity: .8; }
.tq-price > b { font-size: 32px; }
.tq-price > span { opacity: .85; font-size: 13px; margin-bottom: 8px; }
.tq-price .line { border-color: rgba(255,255,255,.15); color: #fff; }
.tq-act { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.tq-route { display: flex; flex-direction: column; gap: 8px; }
.tq-stop { display: flex; gap: 10px; align-items: center; }
.tq-stop > span { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.tq-stop small { display: block; color: var(--muted); }
.tq-agent { display: flex; flex-direction: column; }
.tq-agent small { color: var(--muted); }
.tq-terms { font-size: 12px; color: var(--muted); white-space: pre-line; margin-top: 20px; }
.tq-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 20px; font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .tq-cols { grid-template-columns: 1fr; } .tq-side { position: static; order: -1; } }
@media print { .tq2 { background: #fff; } .tq-act, .tq-foot a, .cc-fab, .as-fab { display: none !important; } .tq-hero { -webkit-print-color-adjust: exact; print-color-adjust: exact; } .tq-dc, .tq-incl > div { box-shadow: none; break-inside: avoid; } .tq-side { position: static; } }
.tm-stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.tm-stats .occ-bar { margin-top: 6px; }
/* blog posts as cards */
.bl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 10px; }
.bl-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.bl-card > img, .bl-ph { width: 100%; height: 130px; object-fit: cover; background: var(--brand-soft); display: grid; place-items: center; font-size: 30px; }
.bl-b { padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
/* business profile header preview */
.pf-hero { height: 150px; border-radius: 18px; background: linear-gradient(135deg, #0f4c5c, #1b9aaa) center/cover no-repeat; position: relative; overflow: hidden; display: flex; align-items: flex-end; }
.pf-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.6)); }
.pf-hero-in { position: relative; display: flex; gap: 12px; align-items: center; padding: 14px; color: #fff; }
.pf-hero-in b { font-size: 20px; display: block; }
.pf-hero-in small { opacity: .9; }
.pf-hero .tq-logo { display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 22px; border: 3px solid #fff; }
/* transport: per-vehicle monthly book */
.vbk-stats { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.vbk-stats .stat small { display: block; }
.vbk-add { align-items: center; }
.vbk-doc { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 6px 0; border-bottom: 1px solid var(--line); }
.vbk-doc > b { min-width: 96px; }

/* ================================================================ home (kh): hero, destinations, promo band, footer */
.kh-top { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); }
.kh .gz-logo .logo { box-shadow: 0 4px 12px rgba(255, 122, 89, .45); }
.kh-hero {
  position: relative; overflow: hidden; isolation: isolate; padding: 52px 16px 64px;
  background: linear-gradient(180deg, rgba(5, 40, 50, .6), rgba(5, 40, 50, .28) 42%, rgba(15, 76, 92, .78)),
    url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1800&q=72') center 55% / cover no-repeat, #0a3540;
}
.kh-glow { position: absolute; left: -20%; right: -20%; bottom: -30%; height: 70%; z-index: -1; pointer-events: none; background: radial-gradient(60% 60% at 50% 100%, rgba(255, 122, 89, .38), transparent 70%); animation: khGlow 9s ease-in-out infinite alternate; }
@keyframes khGlow { from { transform: translateY(0) scale(1); opacity: .8; } to { transform: translateY(-12px) scale(1.06); opacity: 1; } }
.kh-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 46px; z-index: -1; fill: var(--bg); }
.kh-hero .gz-hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.kh-hero .gz-hero-in > .gz-search { width: 100%; }
.kh-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 auto 16px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(6px); animation: khUp .5s both; }
.kh-eyebrow i { color: #ff8f73; }
.kh-hero .kh-title { font-size: 33px; line-height: 1.06; letter-spacing: -.03em; font-weight: 900; max-width: 820px; margin: 0; animation: khUp .55s both .05s; }
.kh-hero .kh-title em { font-style: italic; font-family: "Fraunces", Georgia, serif; font-weight: 600; color: #ffb199; letter-spacing: 0; }
.kh-hero .kh-tagline { max-width: 600px; font-size: 16px; margin: 14px auto 16px !important; animation: khUp .55s both .1s; }
.kh-trust { list-style: none; margin: 0 0 52px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; animation: khUp .55s both .15s; }
.kh-trust li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); color: #fff; font-size: 13px; font-weight: 700; backdrop-filter: blur(6px); }
.kh-trust li i { color: #ff8f73; }
@keyframes khUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* search card */
.kh .gz-search { border-radius: 24px; box-shadow: 0 30px 80px rgba(5, 40, 50, .38); animation: khUp .6s both .2s; }
.kh .gz-tabs.two { border-radius: 18px; box-shadow: 0 10px 30px rgba(5, 40, 50, .2); }
.kh .gz-tabs button { transition: background .15s, color .15s; }
.kh .gz-tabs button.on { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border-bottom-color: transparent; box-shadow: 0 6px 16px rgba(27, 154, 170, .35); }
.kh .gz-f { border-radius: 14px; background: #f7fbfe; }
.kh .gz-f:focus-within { background: #fff; }
.kh .gz-go { border-radius: 14px; min-height: 54px; font-size: 18px; box-shadow: 0 12px 28px rgba(255, 122, 89, .5); transition: transform .15s, box-shadow .15s, background .15s; }
.kh .gz-go:hover { transform: translateY(50%) scale(1.03); box-shadow: 0 16px 34px rgba(255, 122, 89, .55); }

/* destinations */
.kh-dests { padding: 40px 0 0; }
.kh-dests-in { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.kh-dest-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-width: none; }
.kh-dest-row::-webkit-scrollbar { display: none; }
.kh-dest { scroll-snap-align: start; flex: 0 0 148px; aspect-ratio: 1 / 1.12; border: 0; cursor: pointer; border-radius: 20px; padding: 14px; text-align: left; color: #fff; font: inherit; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; position: relative; overflow: hidden; background: linear-gradient(160deg, var(--a), var(--b)); box-shadow: 0 10px 24px color-mix(in srgb, var(--b) 35%, transparent); transition: transform .2s, box-shadow .2s; animation: khUp .5s both; animation-delay: calc(var(--i) * 60ms); }
.kh-dest::before { content: ''; position: absolute; inset: 0; background: radial-gradient(80% 60% at 80% 0%, rgba(255, 255, 255, .35), transparent 60%); }
.kh-dest::after { content: ''; position: absolute; left: -20%; right: -20%; bottom: -30%; height: 60%; background: rgba(255, 255, 255, .12); border-radius: 50%; }
.kh-dest:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 16px 30px color-mix(in srgb, var(--b) 45%, transparent); }
.kh-dest.on { outline: 3px solid var(--accent); outline-offset: 2px; }
.kh-dest-ic { position: absolute; top: 14px; left: 14px; font-size: 26px; opacity: .95; text-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.kh-dest b { font-size: 16px; font-weight: 900; line-height: 1.15; position: relative; text-shadow: 0 1px 6px rgba(0, 0, 0, .25); }
.kh-dest small { font-size: 12px; opacity: .92; font-weight: 700; position: relative; }

/* results */
.kh .gz-main { padding-top: 30px; }
.kh .gz-card { border-radius: 20px; animation: khUp .45s both; }
.kh .gz-img { transition: transform .45s; }
.kh .gz-card:hover .gz-img { transform: scale(1.04); }
.kh .gz-card:hover { box-shadow: 0 18px 40px rgba(15, 76, 92, .18); }

/* promo band + why */
.kh-promo { max-width: 1180px; margin: 44px auto 0; padding: 0 16px; }
.kh-promo-in { position: relative; overflow: hidden; border-radius: 28px; padding: 34px 24px; color: #fff; background: linear-gradient(120deg, #07262e, #0f4c5c 45%, #1b9aaa); display: flex; flex-direction: column; gap: 18px; box-shadow: 0 24px 60px rgba(15, 76, 92, .3); }
.kh-promo-in::before { content: ''; position: absolute; width: 420px; height: 420px; right: -140px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 122, 89, .45), transparent 65%); }
.kh-promo-txt, .kh-promo-cta { position: relative; }
.kh-promo-txt h2 { color: #fff; font-size: 28px; margin: 10px 0 8px; letter-spacing: -.02em; }
.kh-promo-txt p { color: #dbeafe; max-width: 560px; font-size: 15px; }
.kh-eyebrow.dark { margin: 0; animation: none; }
.kh-promo-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.btn.lg { min-height: 48px; padding: 0 20px; font-size: 16px; display: inline-flex; align-items: center; gap: 8px; }
.kh-why { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.kh-why-i { background: #fff; border-radius: 18px; padding: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; border: 1px solid transparent; transition: border-color .15s, transform .15s; }
.kh-why-i:hover { border-color: var(--brand-2); transform: translateY(-2px); }
.kh-why-i span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 18px; margin-bottom: 4px; }
.kh-why-i b { color: var(--brand); font-size: 15px; }
.kh-why-i small { color: var(--muted); font-size: 13px; }

/* footer */
.kh-foot { margin-top: 48px; background: #07262e; border-top: 0; color: #b7d3e6; padding: 40px 16px 26px; display: block; }
.kh-foot-in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 18px; }
.kh-foot-brand { grid-column: 1 / -1; }
.kh-foot .gz-logo { color: #fff; }
.kh-foot-brand p { margin-top: 10px; max-width: 420px; font-size: 14px; line-height: 1.55; }
.kh-foot-in > div > b { display: block; color: #fff; margin-bottom: 10px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.kh-foot-in > div > a { display: block; color: #b7d3e6; font-weight: 600; padding: 4px 0; font-size: 14px; }
.kh-foot-in > div > a:hover { color: #ff8f73; }
.kh-foot-bar { max-width: 1180px; margin: 28px auto 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }

@media (min-width: 860px) {
  .kh-hero { padding: 76px 24px 96px; }
  .kh-hero .kh-title { font-size: 50px; }
  .kh-hero .kh-tagline { font-size: 18px; }
  .kh-wave { height: 70px; }
  .kh-dest { flex: 1 1 0; aspect-ratio: 1 / 1.05; }
  .kh-dest-row { overflow: visible; }
  .kh-promo-in { flex-direction: row; align-items: center; justify-content: space-between; padding: 44px 40px; }
  .kh-promo-txt h2 { font-size: 34px; }
  .kh-why { grid-template-columns: repeat(4, 1fr); }
  .kh-foot-in { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .kh-foot-brand { grid-column: auto; }
}
@media (max-width: 520px) { .kh-hero .kh-title { font-size: 30px; } .kh-trust { margin-bottom: 44px; } .kh-trust li { font-size: 12px; padding: 6px 10px; } }
@media (prefers-reduced-motion: reduce) { .kh-dest, .kh .gz-card, .kh-glow, .kh-eyebrow, .kh-hero .kh-title, .kh-hero .kh-tagline, .kh-trust, .kh .gz-search { animation: none !important; } }
.kh-hero .kh-tagline { margin-bottom: 52px !important; }

/* your own domain card */
.dom-host { font-size: 16px; color: var(--brand); }
.dom-rec { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 10px; background: var(--bg); border-radius: 10px; margin-top: 6px; font-size: 13px; }
.dom-rec code { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; word-break: break-all; }
.dom-rec .btn { margin-left: auto; }

/* ================================================================ hotel site themes (.pub.theme-*; picked on the dashboard) */
.pub.theme-sunset { --brand: #9a3412; --brand-2: #f97316; --brand-soft: #ffedd5; --accent: #ff7a59; --accent-ink: #431407; --line: #fed7aa; --muted: #7c5a46; background: #fff7ed; }
.pub.theme-sunset .hero { background: linear-gradient(160deg, #7c2d12, #f97316) center/cover no-repeat; }
.pub.theme-sunset .hero h1, .pub.theme-sunset h2.sec, .pub.theme-sunset .pcat-body h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; letter-spacing: 0; }
.pub.theme-sunset .hero h1 { font-size: 40px; font-style: italic; }
.pub.theme-sunset .search-card { box-shadow: 0 12px 40px rgba(154, 52, 18, .18); }
.pub.theme-sunset .card, .pub.theme-sunset .pcat { border-radius: 22px; }
.pub.theme-sunset .btn.accent:hover { background: #fcd34d; }
.pub.theme-sunset .chip { background: #ffedd5; color: #7c2d12; }

.pub.theme-emerald { --brand: #065f46; --brand-2: #10b981; --brand-soft: #d1fae5; --accent: #bef264; --accent-ink: #1a2e05; --line: #bbf7d0; --muted: #4b6b5c; background: #f0fdf4; }
.pub.theme-emerald .hero { background: linear-gradient(160deg, #064e3b, #10b981) center/cover no-repeat; }
.pub.theme-emerald .hero h1 { font-weight: 900; letter-spacing: -.02em; }
.pub.theme-emerald .card, .pub.theme-emerald .pcat { border-radius: 26px; border-color: #d1fae5; }
.pub.theme-emerald .search-card { box-shadow: 0 12px 40px rgba(6, 95, 70, .16); }
.pub.theme-emerald .btn.accent:hover { background: #d9f99d; }
.pub.theme-emerald .chip { background: #ecfdf5; color: #065f46; }
.pub.theme-emerald .stepper button { background: #ecfdf5; }

.pub.theme-noir { --brand: #e7c873; --brand-2: #d4af37; --brand-soft: #2a2615; --accent: #e7c873; --accent-ink: #141414; --line: #2a2f3a; --muted: #a7adb8; --ink: #f3f9fa; --card: #181b22; --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .45); background: #0f1115; color: #f3f9fa; }
.pub.theme-noir .hero { background: linear-gradient(160deg, #111318, #3b331a) center/cover no-repeat; }
.pub.theme-noir .hero h1, .pub.theme-noir h2.sec, .pub.theme-noir .pcat-body h3, .pub.theme-noir .card h2 { font-family: "Fraunces", Georgia, serif; font-weight: 600; letter-spacing: .01em; }
.pub.theme-noir .hero h1 { color: #f6e7b8; }
.pub.theme-noir .card, .pub.theme-noir .pcat { background: #181b22; color: #f3f9fa; border-color: #2a2f3a; }
.pub.theme-noir .about p, .pub.theme-noir .muted, .pub.theme-noir .pub-foot, .pub.theme-noir .price small, .pub.theme-noir .field > span { color: #a7adb8; }
.pub.theme-noir .chip { background: #242833; color: #d9dde6; }
.pub.theme-noir input, .pub.theme-noir select, .pub.theme-noir textarea { background: #0f1115; color: #f3f9fa; border-color: #2a2f3a; color-scheme: dark; }
.pub.theme-noir .stepper { border-color: #2a2f3a; }
.pub.theme-noir .stepper button { background: #242833; color: #e7c873; }
.pub.theme-noir .stepper button:disabled { color: #4b5160; }
.pub.theme-noir .btn.primary { color: #141414; }
.pub.theme-noir .btn.primary:hover { background: #f1d990; }
.pub.theme-noir .btn.accent:hover { background: #f1d990; }
.pub.theme-noir .btn.light { background: #242833; color: #f3f9fa; border-color: #2a2f3a; }
.pub.theme-noir .hero .btn.light { background: rgba(255, 255, 255, .12); color: #fff; border-color: transparent; }
.pub.theme-noir .search-card { box-shadow: 0 12px 40px rgba(0, 0, 0, .5); }
.pub.theme-noir .gallery { background: #242833; }
.pub.theme-noir .gallery .noimg { color: #6b7280; }
.pub.theme-noir .pill.ok { background: #163826; color: #86efac; }
.pub.theme-noir .pill.warn { background: #3b2f12; color: #fcd34d; }
.pub.theme-noir .pill.err { background: #3f1d1d; color: #fca5a5; }
.pub.theme-noir .line, .pub.theme-noir .times .t { border-color: #2a2f3a; }
.pub.theme-noir .sticky-cta .inner { background: #181b22; border-color: #2a2f3a; }

/* theme picker (dashboard) */
.th-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 700px) { .th-grid { grid-template-columns: repeat(4, 1fr); } }
.th { border: 2px solid var(--line); border-radius: 14px; padding: 8px; background: #fff; cursor: pointer; text-align: left; font: inherit; display: flex; flex-direction: column; gap: 6px; transition: border-color .15s, transform .15s; }
.th:hover { transform: translateY(-2px); border-color: var(--brand-2); }
.th.on { border-color: var(--brand-2); box-shadow: 0 0 0 3px var(--brand-soft); }
.th-sw { border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; display: flex; flex-direction: column; background: var(--bg2); }
.th-sw .h { flex: 0 0 46%; background: linear-gradient(160deg, var(--c0), var(--c1)); display: flex; align-items: flex-end; padding: 7px; }
.th-sw .h i { display: block; width: 55%; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .9); }
.th-sw .b { flex: 1; padding: 7px; display: flex; flex-direction: column; gap: 5px; }
.th-sw .b em { display: block; height: 15px; border-radius: 5px; background: var(--cardc); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.th-sw .b i { display: block; height: 8px; width: 42%; border-radius: 4px; background: var(--c2); }
.th > b { font-size: 14px; color: var(--brand); display: flex; justify-content: space-between; align-items: center; }
.th small { color: var(--muted); font-size: 12px; line-height: 1.3; }

/* ================================================================ hotel website (.pub.ps): nav, hero, sections, footer */
.ps { --ps-max: 1120px; }
.ps-wrap { max-width: var(--ps-max); margin: 0 auto; padding: 0 18px; }
.ps-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.ps-nav-in { max-width: var(--ps-max); margin: 0 auto; padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ps-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 17px; min-width: 0; }
.ps-brand b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-brand .logo { width: 34px; height: 34px; border-radius: 10px; flex: none; }
.ps-links { display: none; gap: 2px; }
.ps-links button { background: none; border: 0; color: rgba(255, 255, 255, .92); font: inherit; font-weight: 700; padding: 8px 12px; border-radius: 999px; cursor: pointer; }
.ps-links button:hover { background: rgba(255, 255, 255, .14); }
.ps-nav.solid { background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.ps-nav.solid .ps-brand, .ps-nav.solid .ps-links button { color: var(--brand); }
.ps-nav.solid .ps-links button:hover { background: var(--brand-soft); }
@media (min-width: 860px) { .ps-links { display: flex; } }

.ps-hero { position: relative; min-height: 86vh; min-height: 86svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; background: linear-gradient(160deg, var(--brand), var(--brand-2)); }
.ps-hero.compact { min-height: 46vh; min-height: 46svh; }
.ps-hero-bg { position: absolute; inset: 0; z-index: -1; background: var(--cover, none) center/cover no-repeat; animation: psKen 22s ease-in-out infinite alternate; }
.ps-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .38), rgba(0, 0, 0, .06) 36%, rgba(0, 0, 0, .74)); }
@keyframes psKen { from { transform: scale(1); } to { transform: scale(1.08); } }
.ps-hero-in { width: 100%; max-width: var(--ps-max); margin: 0 auto; padding: 110px 18px 60px; }
.ps-hero.compact .ps-hero-in { padding: 90px 18px 36px; }
.ps-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(6px); border-radius: 999px; padding: 6px 12px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.ps-badge i { color: #ff8f73; }
.ps-hero h1 { color: #fff; font-size: 40px; line-height: 1.04; letter-spacing: -.025em; font-weight: 900; text-shadow: 0 2px 20px rgba(0, 0, 0, .35); max-width: 820px; animation: khUp .6s both; }
.ps-tag { font-size: 18px; color: #f1f5f9; margin-top: 10px; max-width: 640px; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); animation: khUp .6s both .08s; }
.ps-addr { margin-top: 8px; color: #e2e8f0; font-size: 14px; font-weight: 600; animation: khUp .6s both .12s; }
.ps-addr i { color: #ff8f73; }
.ps-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; animation: khUp .6s both .18s; }
.btn.lg { min-height: 50px; padding: 0 22px; font-size: 16px; display: inline-flex; align-items: center; gap: 8px; border-radius: 14px; }
.btn.ps-ghost { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .45); color: #fff; backdrop-filter: blur(6px); }
.btn.ps-ghost:hover { background: rgba(255, 255, 255, .26); }
.ps-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 28px; animation: khUp .6s both .26s; }
.ps-facts > div { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); border-radius: 14px; padding: 10px 12px; min-width: 0; }
.ps-facts > div > span { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: 15px; flex: none; }
.ps-facts b { display: block; font-size: 14px; line-height: 1.2; }
.ps-facts small { display: block; font-size: 12px; color: #e2e8f0; }
.ps-scroll { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); width: 24px; height: 38px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 14px; display: none; }
.ps-scroll span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: psDot 1.6s infinite; }
@keyframes psDot { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }
@media (min-width: 860px) { .ps-facts { grid-template-columns: repeat(4, 1fr); } .ps-hero h1 { font-size: 62px; } .ps-hero-in { padding-bottom: 96px; } .ps-scroll { display: block; } .ps-tag { font-size: 20px; } }

/* floating availability card */
.ps-search { position: relative; z-index: 2; margin-top: -44px; }
.ps-search-card { border: 0; border-radius: 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, .18); padding: 18px; }
.ps-search-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.ps-search-head h2 { font-size: 20px; }

/* sections */
.ps-sec { padding: 46px 0 0; }
.ps-sec-head { margin-bottom: 18px; }
.ps-kicker { display: block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 6px; }
.ps-sec-head h2, .ps-about h2 { font-size: 28px; letter-spacing: -.02em; }
.ps-sec-head p { margin-top: 6px; }
@media (min-width: 860px) { .ps-sec { padding-top: 70px; } .ps-sec-head h2, .ps-about h2 { font-size: 36px; } }

/* about */
.ps-about-in { display: grid; gap: 24px; align-items: center; }
.ps-about p { font-size: 17px; line-height: 1.7; white-space: pre-line; color: var(--ink); opacity: .85; margin-top: 12px; }
.ps-topfac { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ps-topfac span { display: inline-flex; align-items: center; gap: 6px; background: var(--brand-soft); color: var(--brand); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; }
.ps-topfac .ic { width: 14px; height: 14px; }
.ps-about-img { position: relative; aspect-ratio: 4 / 3; margin-bottom: 22px; }
.ps-about-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; box-shadow: 0 20px 50px rgba(0, 0, 0, .18); }
.ps-about-img img.sec { position: absolute; width: 46%; height: 50%; right: -6px; bottom: -22px; border: 5px solid #fff; border-radius: 18px; }
@media (min-width: 860px) { .ps-about-in { grid-template-columns: 1.1fr 1fr; gap: 56px; } }

/* rooms */
.ps-cats .pcat { border-radius: 22px; border: 0; box-shadow: 0 10px 30px rgba(0, 0, 0, .08); transition: transform .25s, box-shadow .25s; }
.ps-cats .pcat:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(0, 0, 0, .14); }
.ps-media { position: relative; }
.ps-price { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 255, 255, .94); color: var(--brand); font-weight: 900; font-size: 16px; padding: 6px 12px; border-radius: 999px; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
.ps-price small { font-weight: 600; color: var(--muted); font-size: 11px; }
.ps-cats .pcat-body h3 { font-size: 21px; }
.ps-cats .chip { display: inline-flex; align-items: center; gap: 5px; }

/* gallery / facilities / contact / footer */
.ps .hg { margin: 0; }
.ps .fac-box { border-radius: 18px; border: 0; box-shadow: 0 6px 20px rgba(0, 0, 0, .06); }
.ps .map-box { border-radius: 20px; border: 0; box-shadow: 0 10px 30px rgba(0, 0, 0, .1); }
.ps-foot { margin-top: 64px; background: var(--brand); color: #fff; padding: 34px 0 130px; }
.ps-foot .ps-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.ps-foot b { font-size: 18px; }
.ps-foot p { color: rgba(255, 255, 255, .8); font-size: 14px; margin-top: 4px; }
.ps-foot p a, .ps-foot-r a { color: #fff; font-weight: 600; }
.ps-foot-r { text-align: right; }
.ps-foot-r small { display: block; color: rgba(255, 255, 255, .7); font-size: 12px; margin-top: 4px; }
.ps-bookwrap { padding-top: 0; }

/* reveal on scroll */
.ps .ps-sec, .ps .ps-search-card, .ps .pcat { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.ps .in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ps .ps-sec, .ps .ps-search-card, .ps .pcat { opacity: 1; transform: none; transition: none; } .ps-hero-bg { animation: none; } }

/* themes on the site */
.pub.theme-noir .ps-nav.solid { background: rgba(24, 27, 34, .92); box-shadow: 0 1px 0 #2a2f3a; }
.pub.theme-noir .ps-nav.solid .ps-brand, .pub.theme-noir .ps-nav.solid .ps-links button { color: #e7c873; }
.pub.theme-noir .ps-nav.solid .ps-links button:hover { background: #242833; }
.pub.theme-noir .ps-foot { background: #0a0b0e; }
.pub.theme-noir .ps-price { background: rgba(24, 27, 34, .94); color: #e7c873; }
.pub.theme-noir .ps-price small { color: #a7adb8; }
.pub.theme-noir .ps-about-img img.sec { border-color: #0f1115; }
.pub.theme-noir .ps-about p { color: #d9dde6; }
.pub.theme-sunset .ps-hero h1, .pub.theme-noir .ps-hero h1 { font-family: "Fraunces", Georgia, serif; font-weight: 600; letter-spacing: 0; }
.pub.theme-sunset .ps-sec-head h2, .pub.theme-sunset .ps-about h2, .pub.theme-noir .ps-sec-head h2, .pub.theme-noir .ps-about h2 { font-family: "Fraunces", Georgia, serif; font-weight: 600; letter-spacing: 0; }
.pub.theme-emerald .ps-about-img img.sec { border-color: #f0fdf4; }
.pub.theme-sunset .ps-about-img img.sec { border-color: #fff7ed; }
.pub.theme-noir .fac-box { background: #181b22; color: #f3f9fa; }
.pub.theme-noir .fac-box b { color: #e7c873; }
.pub.theme-noir .fac-box li .ic { color: #e7c873; }
.pub.theme-noir .ps-search-head .muted, .pub.theme-noir .ps-sec-head p { color: #a7adb8; }

/* ================================================================ ocean finish + motion */
.kh-hero { background-color: #0f4c5c; }
.ps-hero-bg { filter: saturate(1.08); }
.card { border: 1px solid var(--line); }
.btn { transition: transform .15s, box-shadow .15s, background .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.accent, .gz-go { background: linear-gradient(180deg, #ff8f73, #ff6a45); border-color: #f0603c; color: #fff; box-shadow: 0 8px 22px rgba(255, 122, 89, .35); }
.btn.accent:hover, .gz-go:hover { background: linear-gradient(180deg, #ff9d85, #ff7a59); box-shadow: 0 12px 28px rgba(255, 122, 89, .45); }
.kh .gz-go:hover { transform: translateY(50%) scale(1.03); }
.btn.primary { background: linear-gradient(180deg, #15616f, #0f4c5c); }
.btn.primary:hover { background: linear-gradient(180deg, #1b7a8c, #15616f); }
.logo { background: linear-gradient(145deg, #ff8f73, #ff6a45); color: #fff; }
.gz-tabs button, .kh .gz-tabs button { transition: background .2s, color .2s, transform .2s; }
.gz-tabs button:hover { transform: translateY(-1px); }
.gz-tabs button.on, .kh .gz-tabs button.on { background: linear-gradient(135deg, #0f4c5c, #1b9aaa); box-shadow: 0 6px 16px rgba(27, 154, 170, .35); }
.pill.info { background: #e0f4f6; color: #15616f; }
.kh-foot, .ps-foot { background: linear-gradient(180deg, #0a3540, #07262e); }
.kh-promo-in { background: linear-gradient(120deg, #07262e, #0f4c5c 45%, #1b9aaa); }
.ps-hero.compact, .ps-hero:not([style]) { background: linear-gradient(160deg, #0f4c5c, #15616f 55%, #1b9aaa); }
/* living hero: two drifting glows (coral sun, lagoon) and a wave that breathes */
.kh-hero::before, .kh-hero::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; filter: blur(40px); opacity: .55; }
.kh-hero::before { width: 46vw; height: 46vw; max-width: 560px; max-height: 560px; right: -10vw; top: -12vw; background: radial-gradient(circle, rgba(255, 143, 115, .9), rgba(255, 122, 89, 0) 65%); animation: khFloat 16s ease-in-out infinite alternate; }
.kh-hero::after { width: 40vw; height: 40vw; max-width: 480px; max-height: 480px; left: -12vw; bottom: 6vw; background: radial-gradient(circle, rgba(27, 154, 170, .9), rgba(27, 154, 170, 0) 65%); animation: khFloat 20s ease-in-out infinite alternate-reverse; }
@keyframes khFloat { from { transform: translate(0, 0) scale(1); } to { transform: translate(-6%, 8%) scale(1.12); } }
.kh-wave { left: -3%; width: 106%; animation: khWave 12s ease-in-out infinite alternate; }
@keyframes khWave { from { transform: translateX(0); } to { transform: translateX(3%); } }
.kh-dest:hover { transform: translateY(-5px) rotate(-1.2deg) scale(1.03); }
.kh .gz-card:nth-child(1) { animation-delay: 0ms; } .kh .gz-card:nth-child(2) { animation-delay: 60ms; } .kh .gz-card:nth-child(3) { animation-delay: 120ms; } .kh .gz-card:nth-child(4) { animation-delay: 180ms; }
.kh .gz-card:nth-child(5) { animation-delay: 240ms; } .kh .gz-card:nth-child(6) { animation-delay: 300ms; } .kh .gz-card:nth-child(n+7) { animation-delay: 360ms; }
.kh .kh-promo, .kh .kh-why-i { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.kh .kh-why-i:nth-child(2) { transition-delay: .08s; } .kh .kh-why-i:nth-child(3) { transition-delay: .16s; } .kh .kh-why-i:nth-child(4) { transition-delay: .24s; }
.kh .in { opacity: 1; transform: none; }
.kh .kh-why-i.in:hover { transform: translateY(-3px); }
.ps-cta .btn.accent { animation: psPulse 2.8s ease-in-out 1.2s infinite; }
@keyframes psPulse { 0%, 100% { box-shadow: 0 8px 22px rgba(255, 122, 89, .35); } 50% { box-shadow: 0 8px 22px rgba(255, 122, 89, .35), 0 0 0 10px rgba(255, 122, 89, .12); } }
@media (prefers-reduced-motion: reduce) { .kh-hero::before, .kh-hero::after, .kh-wave, .ps-cta .btn.accent { animation: none; } .kh .kh-promo, .kh .kh-why-i { opacity: 1; transform: none; transition: none; } .btn, .gz-tabs button { transition: none; } }

/* ================================================================ home strips: Saint Martin ship banner, animated BD map */

.bd-wrap { padding: 36px 0 0; }
.bd-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); display: grid; gap: 16px; padding: 18px; overflow: hidden; }
.bd-map { background: radial-gradient(120% 90% at 50% 10%, #f3f9fa, #dcecf0); border-radius: 18px; padding: 8px; }
.bd-map svg { width: 100%; height: auto; max-height: 460px; display: block; overflow: visible; }
.bd-land { stroke: #1b9aaa; stroke-width: 1.5; filter: drop-shadow(0 10px 18px rgba(15, 76, 92, .18)); }
.bd-route { fill: none; stroke: #0f4c5c; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 7 6; animation: bdDash 1.4s linear infinite; }
.bd-route.bd-bus { stroke: #ff7a59; }
@keyframes bdDash { from { stroke-dashoffset: 26; } to { stroke-dashoffset: 0; } }
.bd-st { cursor: pointer; }
.bd-st circle { fill: #fff; stroke: #0f4c5c; stroke-width: 2.2; transition: r .15s; }
.bd-st.hub circle { fill: #ff7a59; stroke: #fff; }
.bd-st text { font: 700 10px/1 "Manrope", system-ui, sans-serif; fill: #10262b; paint-order: stroke; stroke: #f3f9fa; stroke-width: 3px; stroke-linejoin: round; pointer-events: none; }
.bd-st:hover circle, .bd-st:focus-visible circle { r: 6; stroke: #ff7a59; }
.bd-st.on circle { fill: #ff7a59; stroke: #fff; }
.bd-st .bd-ring { fill: none; stroke: #ff7a59; stroke-width: 2; animation: bdPulse 1.6s ease-out infinite; }
@keyframes bdPulse { from { r: 7; opacity: .9; } to { r: 16; opacity: 0; } }
.bd-veh circle { fill: #fff; stroke: #0f4c5c; stroke-width: 1.5; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .25)); }
.bd-veh text { font-size: 12px; }
.bd-side h2 { font-size: 24px; letter-spacing: -.02em; margin: 4px 0 6px; }
.bd-route-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.bd-now { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: var(--bg); border-radius: 14px; padding: 10px 12px; margin-bottom: 8px; }
.bd-now > span { font-size: 15px; }
.bd-now b { color: var(--brand); }
@media (min-width: 860px) { .bd-card { grid-template-columns: 1fr 1fr; align-items: center; padding: 22px; } .bd-side h2 { font-size: 30px; } }
@media (prefers-reduced-motion: reduce) { .bd-route, .bd-st .bd-ring { animation: none; } .bd-veh animateMotion { display: none; } }

/* ================================================================ real district map: colour, 3D tilt, pins, vehicles */
.bd-map { perspective: 1100px; padding: 14px 8px 4px; overflow: visible; }
.bd-3d { transform: rotateX(22deg) rotateZ(-3deg); transform-origin: 50% 62%; animation: bdFloat 9s ease-in-out infinite alternate; filter: drop-shadow(0 22px 26px rgba(15, 76, 92, .3)); }
@keyframes bdFloat { from { transform: rotateX(22deg) rotateZ(-3deg) translateY(0); } to { transform: rotateX(18deg) rotateZ(-1.5deg) translateY(-8px); } }
.bd-3d svg { width: 100%; height: auto; max-height: 480px; display: block; overflow: visible; }
.bd-d { fill: color-mix(in srgb, var(--h) 42%, #fff); stroke: #fff; stroke-width: .9; stroke-linejoin: round; transition: fill .2s, filter .2s; }
.bd-d.hot { fill: color-mix(in srgb, var(--h) 85%, #fff); cursor: pointer; animation: bdHot 2.6s ease-in-out infinite alternate; }
.bd-d.hot:hover { fill: var(--h); filter: brightness(1.08); }
.bd-d.sel { fill: #ff7a59 !important; animation: none; }
@keyframes bdHot { from { filter: brightness(1); } to { filter: brightness(1.14); } }
.bd-route { fill: none; stroke: #0f4c5c; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 7 6; animation: bdDash 1.4s linear infinite; }
.bd-route.bd-bus { stroke: #ff7a59; }
.bd-route.bd-air { stroke: #fff; stroke-width: 2; stroke-dasharray: 2 7; opacity: .95; }
.bd-pin { cursor: pointer; }
.bd-pin .bd-dot { fill: #fff; stroke: #0f4c5c; stroke-width: 2.4; }
.bd-pin.hub .bd-dot { fill: #ff7a59; stroke: #fff; }
.bd-pin rect { fill: #10262b; opacity: .92; }
.bd-pin text { font: 700 10.5px/1 "Manrope", system-ui, sans-serif; fill: #fff; pointer-events: none; }
.bd-pin:hover rect, .bd-pin:focus-visible rect, .bd-pin.on rect { fill: #ff7a59; opacity: 1; }
.bd-pin .bd-ring { fill: none; stroke: #ff7a59; stroke-width: 2; animation: bdPulse 1.6s ease-out infinite; }
.bd-veh circle { fill: #fff; stroke: #0f4c5c; stroke-width: 1.5; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .3)); }
.bd-veh text { font-size: 12px; }
.bd-veh-air circle { fill: #10262b; stroke: #fff; }
.bd-veh-air text { font-size: 13px; }
.bd-skel { aspect-ratio: 4 / 5; max-height: 460px; border-radius: 18px; background: linear-gradient(90deg, #e6f4f6, #f3f9fa, #e6f4f6); background-size: 200% 100%; animation: gzpulse 1.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .bd-3d, .bd-d.hot { animation: none; } }
/* hero headline: small tracked line, big shimmering title, tagline with rules, rotating words */
.kh-hero .kh-title2 { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-shadow: none; }
.kh-hero .kh-title2::before { content: ''; position: absolute; inset: -40px -80px; z-index: -1; background: radial-gradient(60% 70% at 50% 50%, rgba(5, 40, 50, .45), transparent 70%); filter: blur(10px); }
.kh-t1 { font-size: 15px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: #ffe3d8; text-shadow: 0 1px 10px rgba(0, 0, 0, .35); }
.kh-t2 { font-size: 46px; font-weight: 900; letter-spacing: -.03em; line-height: 1; background: linear-gradient(90deg, #fff 0%, #ffd6c8 30%, #ff9d85 50%, #ffd6c8 70%, #fff 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: khShimmer 7s linear infinite; filter: drop-shadow(0 4px 18px rgba(0, 0, 0, .35)); }
.kh-t2 em { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 600; letter-spacing: 0; }
@keyframes khShimmer { from { background-position: 0% 0; } to { background-position: 220% 0; } }
.kh-hero .kh-tag2 { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; color: #fff; margin: 18px auto 6px !important; }
.kh-tag2 i { width: 38px; height: 1px; background: rgba(255, 255, 255, .65); }
.kh-rotate { position: relative; height: 30px; width: 100%; max-width: 420px; margin: 0 auto 50px; overflow: hidden; text-align: center; animation: khUp .55s both .2s; }
.kh-rotate span { position: absolute; left: 0; right: 0; top: 0; font-size: 19px; font-weight: 800; color: #ffb199; opacity: 0; transform: translateY(16px); animation: khWord 15s ease-in-out infinite; text-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.kh-rotate span:nth-child(2) { animation-delay: 2.5s; } .kh-rotate span:nth-child(3) { animation-delay: 5s; } .kh-rotate span:nth-child(4) { animation-delay: 7.5s; } .kh-rotate span:nth-child(5) { animation-delay: 10s; } .kh-rotate span:nth-child(6) { animation-delay: 12.5s; }
@keyframes khWord { 0%, 16.7% { opacity: 0; transform: translateY(16px); } 3%, 13.5% { opacity: 1; transform: translateY(0); } 16.7%, 100% { opacity: 0; transform: translateY(-16px); } }
.kh-hero .kh-tagline.kh-tag2 { margin-bottom: 6px !important; }
@media (min-width: 860px) { .kh-t1 { font-size: 18px; } .kh-t2 { font-size: 84px; } .kh-hero .kh-tag2 { font-size: 15px; } .kh-rotate { height: 34px; } .kh-rotate span { font-size: 22px; } }
@media (max-width: 520px) { .kh-t2 { font-size: 40px; } .kh-t1 { letter-spacing: .22em; } }
@media (prefers-reduced-motion: reduce) { .kh-t2 { animation: none; } .kh-rotate span { animation: none; } .kh-rotate span:first-child { opacity: 1; transform: none; } }
/* the search card overlaps the hero bottom by its tab bar (~96px): the rotating words need clear room above it */
.kh-rotate { margin-bottom: 118px; }
@media (max-width: 600px) { .kh-rotate { margin-bottom: 128px; } }
@media (max-width: 600px) { .kh-rotate { margin-bottom: 52px; } }
/* map pins without name tags: a bigger dot that is easy to tap */
.bd-pin .bd-dot { r: 5.5; }
.bd-pin:hover .bd-dot, .bd-pin:focus-visible .bd-dot, .bd-pin.on .bd-dot { fill: #ff7a59; stroke: #fff; r: 7; }

/* ================================================================ smooth clicks */
html { -webkit-tap-highlight-color: transparent; }
html, body { touch-action: manipulation; } /* no 300 ms tap delay, no accidental double-tap zoom */
#kbar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 9999; pointer-events: none; transform-origin: 0 50%; transform: scaleX(0); opacity: 0; background: linear-gradient(90deg, #1b9aaa, #ff7a59); box-shadow: 0 0 10px rgba(255, 122, 89, .6); }
#app.route-in { animation: routeIn .22s ease-out; }
@keyframes routeIn { from { opacity: .35; } to { opacity: 1; } }
/* pressing anything responds at once */
.btn, .icon-btn, .gz-card, .act-chip, .th, .kh-dest, .gz-tabs button, .tabbar .tab, .menu a, .kh-why-i, .bd-chip { transition-property: transform, box-shadow, background, border-color, color, opacity; }
.btn:active, .icon-btn:active, .gz-card:active, .act-chip:active, .th:active, .kh-dest:active, .gz-tabs button:active, .tabbar .tab:active, .menu a:active, .kh-why-i:active { transform: scale(.97); transition-duration: .08s; }
.kh .gz-go:active { transform: translateY(50%) scale(.97); }
:where(button, a, [tabindex], summary):focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; border-radius: 10px; }
/* a form that is sending: its disabled buttons spin */
form.sending button:disabled { position: relative; cursor: progress; }
form.sending button:disabled::after { content: ''; display: inline-block; width: 13px; height: 13px; margin-left: 8px; vertical-align: -2px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: kspin .7s linear infinite; }
@keyframes kspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { #app.route-in { animation: none; } #kbar { transition: none !important; } .btn:active, .gz-card:active, .kh-dest:active { transform: none; } }

/* ================================================================ cruise look: ship pages, fleet cards, seat classes */
.ship-img { display: block; width: 100%; height: auto; aspect-ratio: 320 / 150; }
.ship-hull { animation: shipBob 5s ease-in-out infinite; transform-origin: 50% 90%; }
.ship-wave { animation: shipDrift 6s linear infinite; }
.ship-wave.two { animation-duration: 9s; animation-direction: reverse; }
@keyframes shipBob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-3px) rotate(-.5deg); } }
@keyframes shipDrift { from { transform: translateX(0); } to { transform: translateX(-32px); } }
.cr-journey { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 16px 18px; margin: 0 0 18px; background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.cr-port small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-2); }
.cr-port b { display: block; font-size: 18px; color: var(--brand); }
.cr-port span { font-size: 12px; color: var(--muted); }
.cr-port:last-child { text-align: right; }
.cr-sea { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 110px; }
.cr-sea i { width: 100%; height: 2px; background: repeating-linear-gradient(90deg, var(--brand-2) 0 8px, transparent 8px 14px); margin: 6px 0; }
.cr-sea em { font-style: normal; font-size: 11px; color: var(--muted); white-space: nowrap; }
.cr-ship-dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; box-shadow: 0 6px 14px rgba(15, 76, 92, .3); animation: shipBob 4s ease-in-out infinite; }
.cr-ship-dot .ic { width: 16px; height: 16px; }
@media (min-width: 760px) { .cr-sea { min-width: 220px; } }
.cr-fleet .ship-thumb, .cr-ship-art { position: relative; overflow: hidden; }
.cr-tag { position: absolute; top: 10px; left: 10px; background: rgba(15, 76, 92, .88); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; }
.cr-tag.on { left: auto; right: 10px; background: var(--accent); color: #fff; }
.cr-tag .ic { width: 12px; height: 12px; }
.cr-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 2px; }
.cr-facts span { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: 3px 9px; }
.cr-facts .ic { width: 12px; height: 12px; color: var(--brand-2); }
.cr-from { white-space: nowrap; font-weight: 900; color: var(--brand); font-size: 17px; }
.cr-from small { font-weight: 600; color: var(--muted); font-size: 11px; }
.cr-ship { border-radius: 22px; }
.ship-card.cr-ship.sel { box-shadow: 0 0 0 3px var(--accent), 0 18px 40px rgba(255, 122, 89, .22); }
.cr-seats { padding: 18px; border-radius: 22px; }
.cr-seats .ship-seats-head b { display: block; font-size: 20px; color: var(--brand); letter-spacing: -.01em; }
.cr-seat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 12px 0 14px; }
.cr-seat { display: grid; border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; transition: border-color .15s, transform .15s, box-shadow .15s; }
.cr-seat:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 76, 92, .12); }
.cr-seat.on { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 122, 89, .18); }
.cr-seat .seat-img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 3; }
.cr-seat-body { display: grid; gap: 5px; padding: 12px; }
.cr-seat-body > small { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.cr-seat-price { font-size: 19px; font-weight: 900; color: var(--brand); font-variant-numeric: tabular-nums; }
.cr-seat-price small { font-size: 11px; font-weight: 600; color: var(--muted); }
.cr-seat-sub { color: var(--accent); white-space: nowrap; }
.cr-seat .stepper button { width: 36px; height: 36px; }
/* #/ship page */
.cr-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: 54px 16px 80px; background: linear-gradient(160deg, #07262e, #0f4c5c 55%, #1b9aaa); }
.cr-hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 80% 20%, rgba(255, 210, 122, .35), transparent 70%), radial-gradient(50% 60% at 10% 90%, rgba(27, 154, 170, .6), transparent 70%); }
.cr-hero-bg::after { content: ''; position: absolute; left: -10%; right: -10%; bottom: -30px; height: 120px; background: radial-gradient(circle at 20px 60px, rgba(255, 255, 255, .12) 18px, transparent 19px) 0 0 / 60px 60px repeat-x; animation: shipDrift 8s linear infinite; }
.cr-hero-in { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.cr-hero h1 { color: #fff; font-size: 40px; line-height: 1.02; letter-spacing: -.03em; font-weight: 900; margin: 10px 0 12px; animation: khUp .55s both .05s; }
.cr-hero h1 em { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 600; color: #ffb199; letter-spacing: 0; }
.cr-hero p { max-width: 560px; color: #e6f4f6; font-size: 16px; animation: khUp .55s both .1s; }
.cr-hero .kh-trust { justify-content: flex-start; margin: 16px 0 0; }
.cr-ship-float { position: absolute; right: -40px; bottom: -10px; width: 420px; max-width: 70vw; opacity: .9; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .35)); animation: khUp .8s both .2s; z-index: -1; }
.cr-ship-float .ship-img { border-radius: 24px; }
@media (min-width: 860px) { .cr-hero { padding: 80px 24px 110px; } .cr-hero h1 { font-size: 64px; } .cr-hero p { font-size: 18px; } .cr-ship-float { width: 520px; right: 0; bottom: -20px; } }
.cr-main { margin-top: -54px; }
.cr-step { border-radius: 22px; }
.cr-step-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cr-step-head .ship-h { margin: 0; font-size: 20px; }
.cr-num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #0f4c5c, #1b9aaa); color: #fff; font-weight: 900; font-size: 14px; flex: none; }
.cr-bar { background: linear-gradient(90deg, #07262e, #0f4c5c); }
.cr-bar small { color: #cfe8ec; }
@media (max-width: 600px) { .cr-journey { grid-template-columns: 1fr; text-align: center; } .cr-port:last-child { text-align: center; } .cr-sea { min-width: 0; } .cr-sea i { width: 60%; } }
@media (prefers-reduced-motion: reduce) { .ship-hull, .ship-wave, .cr-ship-dot, .cr-hero-bg::after { animation: none; } }
@media (max-width: 859px) { .cr-ship-float { width: 300px; right: -70px; bottom: -36px; opacity: .55; } .cr-hero { padding-bottom: 96px; } .cr-hero .kh-trust { position: relative; z-index: 1; } }

/* ================================================================ direct booking: cruise departure cards with photos */
.cr-live .gz-head { margin-bottom: 12px; }
.cr-deps { display: grid; gap: 16px; }
.cr-dep { background: #fff; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.cr-dep-art { position: relative; min-height: 170px; background: linear-gradient(160deg, #0f4c5c, #1b9aaa) center/cover no-repeat; color: #fff; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 16px 18px; }
.cr-dep-art::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(5, 40, 50, .78)); }
.cr-dep-art > * { position: relative; }
.cr-dep-art > .fa-solid { font-size: 44px; opacity: .6; }
.cr-dep-head b { display: block; font-size: 22px; font-weight: 900; letter-spacing: -.02em; text-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.cr-dep-head small { color: #e6f4f6; font-weight: 600; }
.cr-dep-time { text-align: right; } .cr-dep-time b { display: block; font-size: 26px; font-weight: 900; line-height: 1; } .cr-dep-time small { color: #cfe8ec; font-size: 12px; }
.cr-dep .cr-tag.on { position: absolute; top: 12px; right: 14px; }
.cr-cls-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; padding: 14px 14px 0; }
.cr-cls { display: grid; gap: 3px; text-align: left; padding: 0 0 10px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; font: inherit; cursor: pointer; overflow: hidden; transition: border-color .15s, transform .15s, box-shadow .15s; }
.cr-cls:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(15, 76, 92, .12); }
.cr-cls.on { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 122, 89, .2); }
.cr-cls.out { opacity: .5; cursor: not-allowed; }
.cr-cls-img { display: block; aspect-ratio: 5 / 3; background: var(--brand-soft) center/cover no-repeat; margin-bottom: 6px; display: grid; place-items: center; color: var(--brand-2); font-size: 22px; }
.cr-cls > b { padding: 0 10px; font-size: 14px; color: var(--ink); }
.cr-cls-desc { padding: 0 10px; font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.cr-cls-fare { padding: 2px 10px 0; font-size: 17px; font-weight: 900; color: var(--brand); } .cr-cls-fare small { font-size: 11px; font-weight: 600; color: var(--muted); }
.cr-cls-left { padding: 0 10px; font-size: 11.5px; font-weight: 700; color: var(--ok); } .cr-cls-left.out { color: var(--err); }
.cr-dep-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px; }
.cr-dep-total { display: flex; flex-direction: column; } .cr-dep-total small { color: var(--muted); font-size: 12px; } .cr-dep-total b { font-size: 20px; font-weight: 900; color: var(--brand); }
.cr-dep .stepper button { width: 36px; height: 36px; }
.tr-sum-img { aspect-ratio: 16 / 7; border-radius: 14px; background: center/cover no-repeat; margin-bottom: 12px; }
.tr-opt.has-img { padding-top: 0; overflow: hidden; }
.tr-opt-img { display: block; aspect-ratio: 5 / 3; margin: 0 -12px 8px; background: center/cover no-repeat; }
@media (prefers-reduced-motion: reduce) { .cr-cls:hover { transform: none; } }

/* ================================================================ multi-class booking, round trip, travel pass */
.cr-pass { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 10px; border-radius: 999px; background: #ff7a59; color: #fff; font-style: normal; font-size: 12px; font-weight: 800; box-shadow: 0 4px 12px rgba(255, 122, 89, .4); }
.cr-pass .ic, .cr-pass i { width: 12px; height: 12px; }
.cr-pass-line { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; padding: 8px 12px; border-radius: 12px; background: #fff1ec; color: #9a3a1f; font-size: 13.5px; }
.cr-pass-line b { color: #c2410c; }
.cr-ret { color: var(--accent); font-weight: 800; }
.cr-cls { position: relative; }
.cr-cls-n { position: absolute; top: 8px; right: 8px; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: #ff7a59; color: #fff; font-style: normal; font-weight: 900; font-size: 13px; display: grid; place-items: center; box-shadow: 0 3px 8px rgba(0, 0, 0, .25); }
.cr-cls-img { position: relative; }
.cr-cls-ow { padding: 0 10px; font-size: 11px; color: var(--muted); }
.cr-cls-step { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 10px 0; }
.cr-cls-sub { color: var(--accent); font-size: 14px; white-space: nowrap; }
.cr-sum { min-width: 0; }
.cr-sum-lines { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.cr-sum-lines em { font-style: normal; font-weight: 800; font-size: 13px; color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: 3px 10px; }
.cr-sum > small { color: var(--muted); font-size: 12.5px; }
.cr-dep.has { border-color: rgba(255, 122, 89, .5); }
.btn.is-off { opacity: .45; pointer-events: none; }
.tr-lines { display: grid; gap: 8px; }
.tr-line { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1.5px solid var(--field-line); border-radius: 14px; background: #fff; }
.tr-line.on { border-color: var(--accent); background: #fff8f5; }
.tr-line.out { opacity: .5; }
.tr-line b { display: block; font-size: 15px; } .tr-line small { color: var(--muted); font-size: 12.5px; }
.tr-line-sub { display: block; font-style: normal; font-size: 12.5px; font-weight: 800; color: var(--accent); margin-top: 2px; }
.tr-line-img { width: 64px; height: 48px; border-radius: 10px; background: var(--brand-soft) center/cover no-repeat; flex: none; }
.tr-line .stepper button { width: 36px; height: 36px; }
.tr-group { display: grid; gap: 6px; margin: 8px 0 2px; padding: 10px 12px; border-radius: 12px; background: var(--bg); }
.tr-group > small { font-weight: 800; color: var(--brand); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.tr-group a { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; padding: 6px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 13px; }
.tr-group a.on { border-color: var(--accent); }
.tr-group a small { color: var(--muted); text-align: right; }

/* ================================================================ ship company: fleet & inventory */
.so-stats { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.so-alerts ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14px; }
.so-alerts h2 { color: var(--warn); font-size: 16px; }
.so-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin-top: 12px; }
.so-vessel { display: flex; flex-direction: column; gap: 10px; }
.so-kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.so-kpis div { background: var(--bg); border-radius: 10px; padding: 6px 8px; min-width: 0; }
.so-kpis small { display: block; font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.so-kpis b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.so-bar { height: 6px; border-radius: 999px; background: var(--brand-soft); overflow: hidden; }
.so-bar i { display: block; height: 100%; background: linear-gradient(90deg, #1b9aaa, #ff7a59); border-radius: 999px; }
.so-vrow { align-items: center; }
.so-stock.low { background: #fff1ec; border-radius: 10px; padding: 8px 10px; }
.so-mhead { font-size: 15px; }
.so-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.so-table th, .so-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.so-table th { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
@media print { .sidenav, .topbar, .tabbar, .page-head, .in-tabs, [data-print], .so-table ~ *, select, input { display: none !important; } .so-table { font-size: 12px; } }

.so-kpis { grid-template-columns: repeat(3, 1fr); }
.so-kpis b { font-size: 14px; }

/* tighter vertical rhythm between home sections */
.bd-wrap { padding-top: 20px; }
.bd-wrap + .gz-main { padding-top: 14px; }
.kh .gz-main { padding-top: 22px; }
.kh .gz-sub { margin-top: 20px; }
.kh .tr-live, .kh .cr-live { margin-bottom: 10px; }

/* seat-class tiles: the stepper spans the card, the subtotal sits on its own line (no clipping at any width) */
.cr-cls { min-width: 0; }
.cr-cls > b, .cr-cls-desc { overflow-wrap: anywhere; }
.cr-cls-step { flex-direction: column; align-items: stretch; gap: 6px; }
.cr-cls-step .stepper { display: flex; width: 100%; }
.cr-cls-step .stepper b { flex: 1; }
.cr-cls-step .stepper button { width: 40px; height: 40px; }
.cr-cls-sub { display: flex; justify-content: space-between; font-size: 13.5px; padding: 0 2px; }
.cr-cls-sub::before { content: 'Subtotal'; color: var(--muted); font-weight: 600; font-size: 12px; }
@media (max-width: 600px) { .cr-cls-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px 10px 0; } .cr-cls-fare { font-size: 15px; } .cr-cls-desc { display: none; } }

/* ================================================================ customers & accounts (phone-first) */
.bb-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px; margin-bottom: 12px; position: sticky; top: 56px; z-index: 5; }
.bb-tabs button { display: flex; flex-direction: column; align-items: center; gap: 2px; border: 0; background: none; padding: 8px 4px; border-radius: 10px; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--muted); cursor: pointer; min-height: 48px; }
.bb-tabs button i { font-size: 16px; }
.bb-tabs button.on { background: linear-gradient(135deg, #0f4c5c, #1b9aaa); color: #fff; }
.bb-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.bb-kpis.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .bb-kpis.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bb-kpis > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; min-width: 0; }
.bb-kpis > div.hl { background: linear-gradient(135deg, #0f4c5c, #15616f); color: #fff; border-color: transparent; }
.bb-kpis small { display: block; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.bb-kpis .hl small { color: #cfe8ec; }
.bb-kpis b { display: block; font-size: 18px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-sale input, .bb-sale select, .bb-add input, .bb-add select { min-height: 46px; font-size: 16px; }
.bb-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bb-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.bb-chips::-webkit-scrollbar { display: none; }
.bb-chips .act-chip { flex: none; }
.bb-pay { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.bb-pay label { position: relative; }
.bb-pay input { position: absolute; opacity: 0; }
.bb-pay span { display: grid; place-items: center; min-height: 44px; border: 1.5px solid var(--field-line); border-radius: 12px; font-weight: 800; font-size: 13.5px; color: var(--brand); background: #fff; }
.bb-pay input:checked + span { border-color: var(--accent); background: #fff1ec; color: #c2410c; }
.bb-line { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.bb-line:last-child { border-bottom: 0; }
.bb-line .grow { min-width: 0; }
.bb-line .grow b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-line .grow small { display: block; color: var(--muted); font-size: 12px; }
.bb-line > b { white-space: nowrap; }
.bb-ic { width: 32px; height: 32px; border-radius: 10px; background: var(--bg); display: grid; place-items: center; flex: none; }
.bb-search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--field-line); border-radius: 14px; padding: 0 12px; margin-bottom: 10px; }
.bb-search input { border: 0; min-height: 46px; font-size: 16px; background: none; outline: 0; flex: 1; }
.bb-list { display: grid; gap: 8px; }
.bb-cust { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; font: inherit; cursor: pointer; min-width: 0; }
.bb-cust .grow { min-width: 0; }
.bb-cust b { display: block; font-size: 15px; color: var(--ink); }
.bb-cust small { display: block; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #1b9aaa, #0f4c5c); color: #fff; font-weight: 900; flex: none; }
.bb-av.lg { width: 56px; height: 56px; font-size: 22px; }
.bb-spend { text-align: right; font-weight: 900; color: var(--brand); white-space: nowrap; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.bb-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.bb-tags i { font-style: normal; font-size: 11px; font-weight: 700; background: #fff1ec; color: #c2410c; border-radius: 999px; padding: 1px 8px; }
.bb-month { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.bb-month b { font-size: 17px; color: var(--brand); }
.bb-sub { padding-left: 26px; color: var(--muted); }
.bb-add summary { cursor: pointer; font-weight: 800; color: var(--brand); list-style: none; display: flex; align-items: center; gap: 6px; min-height: 40px; }
.bb-day { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.bb-dd { font-weight: 800; font-size: 13px; } .bb-dd small { display: block; color: var(--muted); font-weight: 600; font-size: 11px; }
.bb-bars { display: grid; gap: 3px; }
.bb-bars i { display: block; height: 7px; border-radius: 999px; min-width: 2px; }
.bb-bars i.in { background: linear-gradient(90deg, #1b9aaa, #0f4c5c); }
.bb-bars i.out { background: #ff7a59; opacity: .8; }
.bb-dv { text-align: right; white-space: nowrap; } .bb-dv small { display: block; font-size: 11.5px; }
.bb-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.bb-quick a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 68px; background: #fff; border: 1px solid var(--line); border-radius: 16px; font-size: 12px; font-weight: 800; color: var(--brand); text-align: center; padding: 6px; }
.bb-quick a i { font-size: 18px; }
.bb-quick a.hl { background: linear-gradient(135deg, #ff8f73, #ff6a45); color: #fff; border-color: transparent; }

.as-about > div:empty { display: none; }
.loc-grid { grid-template-columns: 1fr !important; }

/* ================================================================ studio (photography / cinematography), phone-first */
.sd-cal { display: grid; gap: 8px; }
.sd-date { font-size: 14px; margin: 10px 0 2px; color: var(--brand); display: flex; align-items: center; gap: 8px; }
.sd-shoot { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; color: var(--ink); min-width: 0; }
.sd-shoot .grow { min-width: 0; }
.sd-shoot .grow > b { display: block; font-size: 15px; } .sd-shoot .grow > small { display: block; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-time { flex: none; width: 58px; text-align: center; background: var(--bg); border-radius: 12px; padding: 6px 4px; } .sd-time b { display: block; font-size: 13px; } .sd-time small { color: var(--muted); font-size: 11px; }
.sd-crew { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.sd-crew i { font-style: normal; font-size: 12px; font-weight: 700; background: var(--brand-soft); color: var(--brand); border-radius: 999px; padding: 3px 4px 3px 10px; display: inline-flex; align-items: center; gap: 4px; }
.sd-crew i.none { background: #fff1ec; color: #c2410c; padding: 3px 10px; }
.sd-crew i.clash { background: #fee2e2; color: #b91c1c; }
.sd-crew i.paid { background: #dcfce7; color: #166534; }
.sd-crew i button { border: 0; background: rgba(255, 255, 255, .7); border-radius: 999px; width: 22px; height: 22px; font-weight: 900; cursor: pointer; color: inherit; }
.sd-shoot .sd-crew i { padding: 3px 10px; }
.sd-stages { margin-bottom: 10px; }
.sd-ev { display: grid; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; color: var(--ink); }
.sd-ev b { font-size: 15px; } .sd-ev > small { color: var(--muted); font-size: 12.5px; }
.sd-pay { height: 6px; border-radius: 999px; background: var(--brand-soft); overflow: hidden; } .sd-pay i { display: block; height: 100%; background: linear-gradient(90deg, #1b9aaa, #22c55e); }
.sd-member { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.sd-member .grow { min-width: 0; } .sd-member b { display: block; } .sd-member small { display: block; color: var(--muted); font-size: 12.5px; }
.sd-pipe { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.sd-pipe::-webkit-scrollbar { display: none; }
.sd-pipe button { flex: none; border: 1.5px solid var(--field-line); background: #fff; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 13px; font-weight: 800; color: var(--brand); min-height: 40px; cursor: pointer; }
.sd-pipe button.on { background: linear-gradient(135deg, #0f4c5c, #1b9aaa); color: #fff; border-color: transparent; }
.sd-pipe button.x.on { background: #b91c1c; }
.sd-day { display: grid; gap: 4px; padding: 10px 0; border-bottom: 1px solid var(--line); } .sd-day:last-child { border-bottom: 0; }
.sd-assign { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.sd-assign select, .sd-assign input { flex: 1 1 120px; min-height: 42px; width: auto; }
.sd-del { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.sd-del .grow { min-width: 150px; } .sd-del b { display: block; font-size: 14px; } .sd-del small { color: var(--muted); font-size: 12px; }
.sd-del.done b { color: var(--ok); }
.sd-st { display: inline-flex; border: 1px solid var(--field-line); border-radius: 12px; overflow: hidden; }
.sd-st button { border: 0; background: #fff; padding: 8px 10px; font: inherit; font-size: 12px; font-weight: 800; color: var(--muted); min-height: 38px; cursor: pointer; }
.sd-st button.on { background: var(--brand); color: #fff; }
.sd-dayin { display: grid; gap: 8px; padding: 10px; border: 1px dashed var(--field-line); border-radius: 14px; }
.sd-linein { display: grid; grid-template-columns: 1fr 60px 96px; gap: 6px; }
.sd-head h1 { color: var(--brand); }
.inv-sub { font-size: 14px; margin: 14px 0 6px; color: var(--brand); }
.inv-del { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 13.5px; }
.inv-payto { display: grid; gap: 2px; margin: 12px 0; padding: 10px 12px; border-radius: 12px; background: var(--bg); font-size: 13.5px; }
@media (max-width: 600px) { .inv-t { font-size: 12px; } .inv-t th, .inv-t td { padding: 6px 4px; } }

/* phone audit fixes: a tab strip scrolls inside its card; cards and the ledger chart never widen the page */
.card, .dash-col, .stack > * { min-width: 0; }
.in-tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; }
.in-tabs::-webkit-scrollbar { display: none; }
.in-tabs > button { flex: none; }
.led-chart { max-width: 100%; }

/* inbox channels panel */
.ch-panel { margin-bottom: 12px; }
.ch-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ch-row:last-of-type { border-bottom: 0; }
.ch-row .grow { min-width: 0; } .ch-row b { display: block; font-size: 15px; } .ch-row small { display: block; color: var(--muted); font-size: 12.5px; }
.ch-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 18px; flex: none; }
.ch-pick { display: grid; gap: 8px; padding-top: 6px; }
.ib-page-head { flex-wrap: wrap; gap: 8px; }

/* ship cards: one way / round trip */
.cr-trip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -4px 0 12px; }
.cr-trip > button { flex: 1 1 140px; min-height: 46px; border: 1.5px solid var(--field-line); background: #fff; border-radius: 14px; font: inherit; font-weight: 800; font-size: 14.5px; color: var(--brand); display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.cr-trip > button.on { background: linear-gradient(135deg, #0f4c5c, #1b9aaa); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(27, 154, 170, .3); }
.cr-retin { flex: 1 1 100%; display: flex; align-items: center; gap: 10px; background: #fff1ec; border-radius: 14px; padding: 6px 12px; }
.cr-retin span { font-weight: 800; color: #c2410c; font-size: 13px; }
.cr-retin input { flex: 1; min-height: 40px; border: 0; background: transparent; font-size: 16px; font-weight: 700; color: var(--brand); }

.tr-idg { display: grid; gap: 6px; padding: 10px 12px; border: 1.5px dashed var(--field-line); border-radius: 14px; background: #fafcfd; }
.tr-idg > b { font-size: 13.5px; color: var(--brand); }

/* ship cards: departure and return times for the chosen dates */
.cr-times { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 14px 0; }
.cr-times > div { background: var(--bg); border-radius: 14px; padding: 8px 10px; display: grid; gap: 2px; min-width: 0; }
.cr-times span { font-size: 11.5px; font-weight: 800; color: var(--brand-2); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-times b { font-size: 16px; color: var(--brand); }
.cr-times small { color: var(--muted); font-size: 12px; }
.cr-times span { white-space: normal; overflow: visible; line-height: 1.25; }

/* printed ship tickets: collect at the ghat or courier */
.tr-print { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: #fff7ed; color: #9a3412; font-size: 13.5px; line-height: 1.4; }
.tr-print i { margin-top: 2px; }
.tr-get { display: grid; gap: 8px; }
.tr-get label { position: relative; display: block; cursor: pointer; }
.tr-get input { position: absolute; opacity: 0; }
.tr-get label > span { display: grid; grid-template-columns: 28px 1fr; column-gap: 8px; align-items: center; padding: 12px; border: 1.5px solid var(--field-line); border-radius: 14px; background: #fff; }
.tr-get label > span i { grid-row: span 2; font-size: 18px; color: var(--brand-2); }
.tr-get label > span b { font-size: 15px; } .tr-get label > span small { color: var(--muted); font-size: 12.5px; }
.tr-get label.on > span { border-color: var(--accent); background: #fff8f5; }
/* printed-tickets warning: impossible to miss */
.tr-print { background: #fef2f2; border: 2px solid #dc2626; color: #7f1d1d; padding: 12px 14px; font-size: 14.5px; box-shadow: 0 4px 14px rgba(220, 38, 38, .15); }
.tr-print > i { color: #dc2626; font-size: 22px; margin-top: 0; }
.tr-print b { display: block; font-size: 16px; color: #b91c1c; text-transform: uppercase; letter-spacing: .02em; }
.tr-print em { display: block; font-style: normal; margin-top: 2px; }
.tr-print strong { background: #dc2626; color: #fff; padding: 1px 6px; border-radius: 6px; font-weight: 900; white-space: nowrap; }

/* ship tickets: where to pay */
.sp-box { display: grid; gap: 8px; }
.sp-rule { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: #fef2f2; border: 1.5px solid #dc2626; color: #7f1d1d; font-size: 14px; }
.sp-rule i { color: #dc2626; margin-top: 2px; } .sp-rule b { color: #b91c1c; }
.sp-acct { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.sp-acct .grow { min-width: 0; } .sp-acct b { display: block; font-size: 17px; letter-spacing: .02em; color: var(--brand); } .sp-acct small { color: var(--muted); font-size: 12.5px; }
.sp-note { margin: 0; padding: 8px 12px; border-radius: 12px; background: #fff7ed; color: #9a3412; font-size: 13px; }

/* ship booking: status steps, printed tickets, ghat contact / courier slip, invoice */
.st-lbl { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 6px; }
.st-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.st-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; position: relative; padding-bottom: 14px; }
.st-steps li:last-child { padding-bottom: 0; }
.st-steps li:not(:last-child)::before { content: ''; position: absolute; left: 16px; top: 32px; bottom: 2px; width: 2px; background: var(--line); }
.st-steps li.done:not(:last-child)::before { background: var(--ok, #16a34a); }
.st-dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--muted); border: 2px solid var(--line); font-size: 14px; }
.st-steps li.done .st-dot { background: var(--ok, #16a34a); border-color: var(--ok, #16a34a); color: #fff; }
.st-steps li.now .st-dot { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); animation: st-pulse 1.6s ease-in-out infinite; }
@keyframes st-pulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 6%, transparent); } }
@media (prefers-reduced-motion: reduce) { .st-steps li.now .st-dot { animation: none; } }
.st-steps b { display: block; font-size: 15px; } .st-steps li:not(.done):not(.now) b { color: var(--muted); }
.st-steps small { color: var(--muted); font-size: 12.5px; }
.st-photos { display: flex; flex-wrap: wrap; gap: 8px; }
.st-photos > a, .st-photos > span, .st-add { position: relative; width: 84px; height: 84px; border-radius: 12px; background: var(--bg) center/cover; border: 1px solid var(--line); }
.st-add { display: grid; place-items: center; align-content: center; gap: 2px; cursor: pointer; color: var(--brand-2); border-style: dashed; font-size: 20px; } .st-add small { font-size: 11px; }
.st-x { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: #111; color: #fff; font-size: 15px; line-height: 1; cursor: pointer; }
.st-contact { display: grid; gap: 4px; padding: 12px; border-radius: 14px; background: color-mix(in srgb, var(--brand-2) 7%, #fff); border: 1px solid color-mix(in srgb, var(--brand-2) 25%, transparent); }
.st-contact > span { font-size: 13.5px; } .st-contact .row { margin-top: 6px; }
.st-slip { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-weight: 700; font-size: 13.5px; }
.st-slip span { width: 56px; height: 56px; border-radius: 10px; background: var(--bg) center/cover; border: 1px solid var(--line); flex: none; }
.si-panel { border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; background: #fff; }
.si-panel summary { cursor: pointer; list-style: none; display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.sh-inv-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sh-inv-meta > div { display: grid; gap: 1px; min-width: 0; } .sh-inv-meta small { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; } .sh-inv-meta span { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.sh-inv .line > span:first-child { min-width: 0; }
@media print {
  body.print-inv * { visibility: hidden !important; }
  body.print-inv #shipInv, body.print-inv #shipInv * { visibility: visible !important; }
  body.print-inv #shipInv { position: absolute; left: 0; top: 0; width: 100%; box-shadow: none; border: 0; }
  body.print-inv #shipInv button { display: none; }
}

/* ship: tomorrow's call list */
.call-opt.so-ok span { color: #166534; } .call-opt.so-warn span { color: #92400e; } .call-opt.so-info span { color: #1d4ed8; } .call-opt.so-err span { color: #b91c1c; }
.so-cbar { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; margin: 4px 0 10px; }
.so-cbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-2), var(--ok, #16a34a)); border-radius: inherit; transition: width .4s ease; }
/* call cards on a phone: the details take the full width, Call / WhatsApp drop below them */
@media (max-width: 520px) { .call > .row.between > .grow { flex-basis: 100%; } }
/* ship search: route + two dates, no button — sailings update as the dates change */
@media (min-width: 860px) { .gz-fields:has(> :nth-child(3):last-child) { grid-template-columns: 2fr 1fr 1fr; } }
@media (max-width: 599px) { .gz-fields:has(> :nth-child(3):last-child) > .gz-f:first-child { grid-column: 1 / -1; } }

/* home → Train: Cox's Bazar ⇄ Dhaka request (route + trip type, dates, people, class, name, WhatsApp) */
.trq-top { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.trq-seg { display: flex; flex: 1 1 260px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 4px; gap: 4px; }
.trq-seg button { flex: 1; border: 0; background: transparent; border-radius: 10px; padding: 10px 8px; font-weight: 700; font-size: 14px; color: var(--brand); cursor: pointer; white-space: nowrap; }
.trq-seg button.on { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 4px 12px color-mix(in srgb, var(--brand) 30%, transparent); }
.trq-fields { grid-template-columns: 1fr 1fr; }
@media (min-width: 860px) { .trq-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.trq-fields select { width: 100%; }
.trq-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(135deg, #fff7ed, #ffedd5); border: 1.5px solid var(--accent); color: #7c2d12; font-size: 14px; line-height: 1.45; }
.trq-note i { color: var(--accent); font-size: 20px; margin-top: 1px; } .trq-note b { color: #9a3412; }
.trq-foot { display: flex; gap: 10px; align-items: center; margin-top: 10px; }
.trq-foot .gz-go { flex: 1; margin: 0; }
.trq-est { display: grid; line-height: 1.2; } .trq-est small { color: var(--muted); font-size: 12px; } .trq-est b { font-size: 20px; color: var(--brand); }
.trq-done { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.trq-done p { margin: 4px 0; font-size: 14px; } .trq-done small { color: var(--muted); }
.trq-ok { font-size: 30px; color: var(--ok, #16a34a); }
@media (max-width: 420px) { .trq-seg button { font-size: 13px; padding: 9px 4px; } }

/* ship pay: what to send by bank vs by mobile (1.8% cash-out charge) */
.sp-due { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sp-due > div { display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); min-width: 0; }
.sp-due small { font-size: 11.5px; font-weight: 700; color: var(--brand-2); } .sp-due b { font-size: 18px; color: var(--brand); } .sp-due span { font-size: 11.5px; color: var(--muted); }
@media (max-width: 520px) { .trq-foot { flex-direction: column; align-items: stretch; } .trq-foot .gz-go { width: 100%; } .trq-fields > .gz-f:has(select[data-extcls]) { grid-column: 1 / -1; } }

/* ship ticket partner: all ships on one dashboard */
.pt-stats .stat.warn b { color: #b45309; }
.pt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.pt-ship { margin: 0; display: grid; gap: 10px; align-content: start; border-left: 4px solid var(--line); }
.pt-ship.todo { border-left-color: #f59e0b; }
.pt-logo { width: 46px; height: 46px; border-radius: 12px; flex: none; background: var(--bg) center/cover; display: grid; place-items: center; font-size: 22px; }
.pt-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pt-nums > div { background: var(--bg); border-radius: 10px; padding: 8px 6px; display: grid; gap: 1px; text-align: center; min-width: 0; }
.pt-nums b { font-size: 17px; } .pt-nums span { font-size: 11px; color: var(--muted); line-height: 1.2; }
.pt-found { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; }
.pt-req { position: relative; }
.pt-ship-tag { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 800; color: var(--brand-2); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 4px 4px; }
@media (max-width: 420px) { .pt-grid { grid-template-columns: 1fr; } }
/* ship ticket partner — omnichannel console: channels rail · stream · booking detail */
.om { display: grid; grid-template-columns: 250px minmax(0, 1fr) minmax(0, 1.1fr); gap: 12px; min-height: calc(100vh - 140px); }
.om-side { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; position: sticky; top: 70px; align-self: start; max-height: calc(100vh - 90px); overflow: auto; }
.om-brand { display: grid; gap: 2px; padding: 2px 4px 6px; } .om-brand small { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--brand-2); } .om-brand b { font-size: 16px; }
.om-search { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 0 10px; color: var(--muted); }
.om-search input { border: 0; background: transparent; padding: 10px 0; width: 100%; font-size: 14px; } .om-search input:focus { outline: none; }
.om-h { margin: 6px 4px 0; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.om-nav { display: grid; gap: 2px; }
.om-nav button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; background: transparent; border-radius: 10px; padding: 9px 10px; font-size: 14px; font-weight: 600; color: var(--brand); cursor: pointer; }
.om-nav button i { width: 18px; text-align: center; color: var(--brand-2); } .om-nav button span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.om-nav button b { font-size: 12px; background: var(--bg); border-radius: 99px; padding: 2px 8px; color: var(--brand); } .om-nav button b.warn { background: #fef3c7; color: #92400e; }
.om-nav button:hover { background: var(--bg); } .om-nav button.on { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; } .om-nav button.on i, .om-nav button.on b { color: #fff; background: rgba(255,255,255,.18); }
.om-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--bg) center/cover; border: 1px solid var(--line); flex: none; }
.om-main { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; min-width: 0; overflow: hidden; }
.om-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); } .om-head > b { font-size: 16px; }
.om-chips { display: none; gap: 6px; padding: 8px 10px 0; overflow-x: auto; scrollbar-width: none; }
.om-chips button { flex: none; border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 7px 12px; font-size: 13px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.om-chips button.on { background: var(--brand); border-color: var(--brand); color: #fff; } .om-chips button b { font-weight: 800; }
.om-list { flex: 1; overflow: auto; } .om-list.om-pad { padding: 12px; }
.om-item { display: flex; gap: 12px; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: #fff; padding: 12px 14px; cursor: pointer; align-items: flex-start; position: relative; }
.om-item:hover { background: var(--bg); } .om-item.on { background: color-mix(in srgb, var(--brand-2) 10%, #fff); box-shadow: inset 3px 0 0 var(--brand-2); }
.om-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; font-size: 15px; background: var(--bg); color: var(--brand-2); }
.om-item.k-pay .om-ic { background: #fef3c7; color: #b45309; } .om-item.k-new .om-ic { background: #dbeafe; color: #1d4ed8; } .om-item.k-msg .om-ic { background: #dcfce7; color: #166534; } .om-item.k-print .om-ic { background: #fce7f3; color: #9d174d; } .om-item.k-offer .om-ic { background: #ede9fe; color: #5b21b6; } .om-item.k-done .om-ic { color: var(--muted); }
.om-body { display: grid; gap: 2px; min-width: 0; flex: 1; }
.om-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; } .om-top b { font-size: 15px; } .om-top small { color: var(--muted); font-size: 12px; flex: none; }
.om-sub { font-size: 13.5px; color: #1f2937; } .om-item.k-done .om-sub { color: var(--muted); }
.om-meta { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.om-ship { display: inline-flex; gap: 5px; align-items: center; font-size: 11.5px; font-weight: 800; color: var(--brand-2); text-transform: uppercase; letter-spacing: .04em; font-style: normal; }
.om-n { position: absolute; right: 12px; bottom: 10px; font-style: normal; font-size: 11px; font-weight: 800; background: var(--accent); color: #fff; border-radius: 99px; padding: 1px 7px; }
.om-detail { background: #fff; border: 1px solid var(--line); border-radius: 16px; min-width: 0; overflow: auto; max-height: calc(100vh - 90px); position: sticky; top: 70px; }
.om-detail-in { padding: 12px; } .om-detail-in .rental { border: 0; padding: 0; }
.om-dhead { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; } .om-dhead .btn { display: none; }
.om-empty { display: grid; justify-items: center; gap: 8px; padding: 40px 20px; color: var(--muted); text-align: center; font-size: 14px; } .om-empty i { font-size: 30px; color: var(--brand-2); } .om-empty p { margin: 0; max-width: 320px; }
@media (max-width: 1100px) { .om { grid-template-columns: 220px minmax(0, 1fr); } .om-detail { position: fixed; inset: 0; z-index: 60; border-radius: 0; max-height: none; display: none; } .om-detail.open { display: block; } .om-dhead .btn { display: inline-flex; } }
@media (max-width: 760px) {
  .om { display: flex; flex-direction: column; gap: 8px; min-height: 0; }
  .om-side { position: static; max-height: none; padding: 10px; gap: 8px; } .om-side .om-nav:not(.om-ch), .om-side > button, .om-h { display: none; }
  .om-ch { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; } .om-ch button { width: auto; flex: none; border: 1px solid var(--line); border-radius: 99px; padding: 6px 10px; font-size: 13px; } .om-ch button span { overflow: visible; }
  .om-chips { display: flex; } .om-main { border-radius: 14px; } .om-list { overflow: visible; }
  .om-item { padding: 12px; } .om-detail { position: fixed; inset: 0; z-index: 60; } .om-detail-in { padding: 12px 12px 90px; }
}
.om, .om > *, .om-ch, .om-chips, .om-list { min-width: 0; max-width: 100%; }
@media (max-width: 760px) { .om-side { overflow: hidden; } }

/* train: search bar + the details sheet */
.trq-bar .gz-f select, .trq-bar .gz-f input[disabled] { width: 100%; }
.trq-bar .gz-f input[disabled] { color: var(--muted); background: transparent; }
.trq-sheet { position: fixed; inset: 0; z-index: 80; background: rgba(7, 38, 46, .55); display: grid; place-items: center; padding: 16px; animation: khUp .2s both; }
.trq-card { width: min(440px, 100%); background: #fff; border-radius: 20px; padding: 18px; display: grid; gap: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); color: var(--ink, #10343b); text-align: left; }
.trq-h { font-size: 17px; } .trq-sum { margin: 0; font-size: 13.5px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; } .trq-sum b { color: var(--brand); }
.trq-card .trq-note { margin: 0; }
@media (max-width: 600px) { .trq-sheet { place-items: end stretch; padding: 0; } .trq-card { width: 100%; border-radius: 20px 20px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); } }

/* ships: round trip only */
.cr-rt-only { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cr-rt-badge { display: inline-flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 12px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.cr-rt-only .cr-retin { flex: 1 1 180px; }

/* ship photos shown whole */
.cr-dep-pic { display: block; width: 100%; height: 150px; object-fit: cover; object-position: center 60%; background: #0f4c5c; }
@media (max-width: 599px) { .cr-dep-pic { height: 124px; } }
.cr-dep-art.has-pic { min-height: 0; padding: 14px 18px; background: linear-gradient(135deg, #0f4c5c, #1b9aaa); }
.cr-dep-art.has-pic::before { display: none; }
.tr-sum-pic { display: block; width: 100%; height: auto; max-height: 340px; object-fit: cover; border-radius: 14px; margin-bottom: 12px; }
.as-ship-pic { margin: 0; background: #0f4c5c; } .as-ship-pic img { display: block; width: 100%; max-width: 1180px; height: auto; max-height: 520px; object-fit: contain; margin: 0 auto; }
/* ship card with a photo: the "Instant confirm" tag sits on the photo, not over the departure time */
.cr-dep { position: relative; } .cr-dep:has(> .cr-dep-pic) > .cr-dep-art .cr-tag.on { position: absolute; top: -32px; right: 12px; }

/* ---- Transport: rate calendar (public/transport.js) */
.rc .field { margin: 0; }
.rc-types { gap: 6px; }
.rc-month { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rc-month b { font-size: 16px; color: var(--brand); }
.rc-base { margin: 0; }
.rc-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.rc-wd { text-align: center; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; padding-bottom: 2px; }
.rc-wd.we { color: var(--brand-2); }
.rc-day { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 52px; padding: 4px 1px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; cursor: pointer; min-width: 0; }
.rc-day .rc-n { font-size: 13px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.rc-day .rc-p { font-size: 10.5px; font-weight: 600; color: var(--muted); line-height: 1.1; white-space: nowrap; letter-spacing: -.02em; max-width: 100%; overflow: hidden; }
.rc-day.up { background: var(--warn-soft); border-color: #f2d58a; }
.rc-day.up .rc-p { color: var(--warn); font-weight: 800; }
.rc-day.down { background: var(--ok-soft); border-color: #a7dfb8; }
.rc-day.down .rc-p { color: var(--ok); font-weight: 800; }
.rc-day.off { background: repeating-linear-gradient(135deg, var(--err-soft) 0 6px, #fff 6px 10px); border-color: #efc9c4; }
.rc-day.off .rc-p { color: var(--err); font-weight: 800; }
.rc-day.today { box-shadow: inset 0 0 0 2px var(--brand-2); }
.rc-day.sel { background: var(--brand); border-color: var(--brand); }
.rc-day.sel .rc-n, .rc-day.sel .rc-p { color: #fff; }
.rc-day.past { opacity: .45; cursor: default; }
.rc-day:not(:disabled):hover { border-color: var(--brand-2); }
.rc-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--muted); }
.rc-legend span { display: inline-flex; align-items: center; gap: 5px; }
.rc-legend i { width: 12px; height: 12px; border-radius: 4px; border: 1px solid var(--line); background: #fff; }
.rc-legend i.up { background: var(--warn-soft); border-color: #f2d58a; }
.rc-legend i.down { background: var(--ok-soft); border-color: #a7dfb8; }
.rc-legend i.off { background: repeating-linear-gradient(135deg, var(--err-soft) 0 3px, #fff 3px 5px); border-color: #efc9c4; }
.rc-panel { position: sticky; bottom: 72px; z-index: 6; border: 2px solid var(--brand); }
.rc-panel .seg { display: flex; }
.rc-panel .seg button { flex: 1; padding: 9px 4px; }
.rc-oneday { display: flex; flex-wrap: wrap; gap: 6px; }
.rc-oneday span { font-size: 12.5px; background: #f7f9fb; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.rc-oneday span.on { background: var(--brand-soft); border-color: var(--brand-2); }
.seg i { margin-right: 4px; }

/* ---- Transport: sales & clients (public/tsales.js) */
.ts h2 { font-size: 16px; }
.ts-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.ts-month { display: flex; align-items: center; gap: 4px; }
.ts-month b { font-size: 16px; color: var(--brand); min-width: 0; }
.ts-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ts-kpi { display: flex; flex-direction: column; gap: 1px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; text-align: left; font: inherit; color: inherit; min-width: 0; }
.ts-kpi span { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.ts-kpi b { font-size: 20px; color: var(--ink); line-height: 1.2; overflow-wrap: anywhere; }
.ts-kpi small { font-size: 12px; color: var(--muted); }
.ts-kpi.main { background: var(--brand); border-color: var(--brand); }
.ts-kpi.main span, .ts-kpi.main small, .ts-kpi.main b { color: #fff; }
.ts-kpi .up { color: var(--ok); font-weight: 800; }
.ts-kpi.main .up { color: #9ff0bd; }
.ts-kpi .down { color: var(--err); font-weight: 800; }
.ts-kpi.main .down { color: #ffc2b4; }
.ts-kpi.warn b { color: var(--warn); }
.ts-kpi.alert { border-color: var(--accent); }
.ts-kpi.alert b { color: var(--accent); }
button.ts-kpi { cursor: pointer; }
.ts-chart { display: flex; align-items: flex-end; gap: 2px; height: 130px; margin-top: 10px; border-bottom: 1px solid var(--line); }
.ts-col { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; border: 0; background: none; padding: 0; cursor: pointer; position: relative; }
.ts-col i { display: block; background: var(--brand-2); border-radius: 4px 4px 0 0; }
.ts-col small { position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--muted); }
.ts-col.today i { background: var(--accent); }
.ts-col.sel i { background: var(--brand); }
.ts-col:hover i { filter: brightness(.9); }
.ts-chart-card .tiny { padding-top: 16px; }
.ts-groups { display: grid; gap: 12px; }
.ts-grp { padding: 6px 0; }
.ts-grp + .ts-grp { border-top: 1px solid var(--line); }
.ts-grp span { font-size: 14px; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.ts-meter { height: 6px; background: #eef4f5; border-radius: 4px; margin: 4px 0 2px; overflow: hidden; }
.ts-meter i { display: block; height: 100%; background: var(--brand-2); border-radius: 4px; }
.ts-filters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.ts-filters .chip-btn { flex: none; }
.ts-trip, .ts-client { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.ts-trip.cancelled { opacity: .7; }
.ts-trip.pending { border-left: 4px solid var(--warn); }
.ts-trip-h, .ts-client-h { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; padding: 10px 12px; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.ts-date { display: flex; flex-direction: column; align-items: center; flex: none; width: 42px; padding: 4px 0; border-radius: 10px; background: var(--brand-soft); color: var(--brand); line-height: 1.1; }
.ts-date b { font-size: 17px; }
.ts-date small { font-size: 11px; font-weight: 700; text-transform: uppercase; }
.ts-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ts-mid > span { overflow-wrap: anywhere; }
.ts-mid .pill { font-size: 11px; padding: 1px 7px; }
.ts-amt { flex: none; display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.ts-amt b { font-size: 15px; }
.ts-amt small { font-size: 11.5px; font-weight: 700; }
.ts-amt .due { color: var(--warn); }
.ts-amt .paid { color: var(--ok); }
.ts-detail { padding: 10px 12px 12px; border-top: 1px dashed var(--line); }
.ts-pays { display: flex; flex-wrap: wrap; gap: 6px; }
.ts-pays span { font-size: 12.5px; background: var(--ok-soft); color: var(--ok); border-radius: 999px; padding: 3px 10px; }
.ts-pay { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.ts-pay .btn { grid-column: 1 / -1; }
.ts-rate { font-size: 14px; background: var(--brand-soft); border-radius: 10px; padding: 8px 12px; }
.ts-made { border: 2px solid var(--ok); background: var(--ok-soft); }
.ts-hist .mini:first-child { border-top: 0; }
.ts-hist .right { text-align: right; flex: none; }
.ts-kpis.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ts-kpis.three .ts-kpi { padding: 8px 10px; }
.ts-kpis.three .ts-kpi span { font-size: 10.5px; }
.ts-kpis.three .ts-kpi b { font-size: 16px; }
@media (min-width: 720px) {
  .ts-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ts-groups { grid-template-columns: 1fr 1fr; }
  .ts-pay { grid-template-columns: 1fr 1fr auto; }
  .ts-pay .btn { grid-column: auto; }
  .rc-day { min-height: 60px; }
  .rc-day .rc-p { font-size: 12px; }
}

/* ---- Group tours (public/groupops.js) */
.go h2 { font-size: 16px; }
.go-tour { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; color: inherit; }
.go-seatbar { display: block; height: 5px; background: #eef4f5; border-radius: 4px; overflow: hidden; margin-top: 3px; }
.go-seatbar i { display: block; height: 100%; background: var(--brand-2); }
.go-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; position: sticky; top: 56px; z-index: 5; background: var(--bg); }
.go-tabs a { flex: none; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 64px; padding: 7px 8px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.go-tabs a i { font-size: 15px; }
.go-tabs a.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.go-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 6px; }
.go-row.three { grid-template-columns: 1.3fr 1fr .8fr auto; }
.go-row input { min-width: 0; }
.go-seats-wrap { display: grid; gap: 12px; }
.go-bus { display: grid; gap: 10px; }
.go-busbody { background: #f3f7f8; border: 2px solid var(--line); border-radius: 26px 26px 18px 18px; padding: 10px 10px 14px; display: grid; gap: 6px; max-width: 320px; margin: 0 auto; width: 100%; }
.go-front { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; color: var(--muted); padding: 2px 6px 6px; border-bottom: 1px dashed var(--line); margin-bottom: 4px; }
.go-busrow { display: grid; grid-template-columns: 1fr 1fr 22px 1fr 1fr; gap: 6px; }
.go-seat { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 46px; border: 1.5px solid var(--line); border-bottom-width: 4px; border-radius: 9px 9px 7px 7px; background: #fff; font: inherit; font-size: 13px; font-weight: 800; color: var(--brand); cursor: pointer; padding: 3px 2px; line-height: 1.1; min-width: 0; }
.go-seat small { font-size: 9.5px; font-weight: 600; color: var(--muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.go-seat.sel { background: var(--brand); border-color: var(--brand); color: #fff; }
.go-seat.taken { background: var(--warn-soft); border-color: #f2d58a; color: var(--warn); cursor: pointer; }
.go-seat.taken.paid { background: var(--ok-soft); border-color: #a7dfb8; color: var(--ok); }
.go-seat:disabled { opacity: .5; cursor: default; }
.go .rc-legend i.sel { background: var(--brand); border-color: var(--brand); }
.go .rc-legend i.taken { background: var(--warn-soft); border-color: #f2d58a; }
.go .rc-legend i.paid { background: var(--ok-soft); border-color: #a7dfb8; }
.go-checkout { border: 2px solid var(--brand); }
.go-seatchips { display: flex; flex-wrap: wrap; gap: 3px; max-width: 76px; flex: none; }
.go-seatchips b { font-size: 11px; background: var(--brand-soft); color: var(--brand); border-radius: 6px; padding: 2px 5px; }
.go-paylog .mini:first-child { border-top: 0; }
.go-photo { display: flex; align-items: flex-end; justify-content: center; min-height: 96px; border: 2px dashed var(--line); border-radius: 12px; background: #f7f9fb center/cover no-repeat; cursor: pointer; }
.go-photo span { font-size: 13px; font-weight: 700; color: var(--brand); background: rgba(255,255,255,.9); border-radius: 8px; padding: 4px 10px; margin: 6px; }
.go-photo.has { border-style: solid; border-color: var(--ok); }
.go-thumb { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); vertical-align: middle; }
.go-thumb.lg { width: 100%; max-width: 240px; height: auto; max-height: 220px; margin-top: 8px; }
.go-items { display: grid; gap: 6px; }
.go-items-h, .go-item { display: grid; grid-template-columns: 1.5fr .7fr .8fr .9fr .9fr; gap: 4px; align-items: center; }
.go-items-h { font-size: 10.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.go-item input { min-width: 0; padding-left: 8px; padding-right: 4px; font-size: 14px; }
.go-item output { font-size: 13px; font-weight: 700; text-align: right; padding-right: 4px; }
.go-food { width: 100%; border-collapse: collapse; font-size: 13px; }
.go-food th, .go-food td { border: 1px solid var(--line); padding: 4px; vertical-align: top; text-align: left; }
.go-food thead th { background: #f7f9fb; font-size: 11.5px; text-transform: uppercase; color: var(--muted); }
.go-food tbody th { white-space: nowrap; font-size: 12.5px; }
.go-cell { display: flex; flex-direction: column; gap: 1px; width: 100%; min-width: 86px; min-height: 48px; border: 0; background: none; font: inherit; font-size: 12px; text-align: left; cursor: pointer; padding: 2px; border-radius: 6px; }
.go-cell.has { background: var(--brand-soft); }
.go-cell b { color: var(--brand); font-size: 11.5px; }
.go-roi-line { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.go-roi-line.ok b { color: var(--ok); } .go-roi-line.err b { color: var(--err); } .go-roi-line.warn b { color: var(--warn); }
.go-memo .tc-tw { margin-top: 6px; }
.gtb { max-width: 520px; margin: 0 auto; padding: 12px 16px 30px; display: grid; gap: 12px; }
.gtb-head { display: flex; align-items: center; gap: 12px; }
.gtb-logo { width: 48px; height: 48px; object-fit: contain; border-radius: 10px; }
.gtb-total { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 10px; background: #f7f9fb; font-size: 15px; }
.gtb-total.due { background: var(--warn-soft); color: var(--warn); } .gtb-total.ok { background: var(--ok-soft); color: var(--ok); }
@media (min-width: 760px) { .go-seats-wrap { grid-template-columns: 340px 1fr; align-items: start; } .go-checkout { position: sticky; top: 110px; } }

/* ghost.js: faint digits still to type, drawn over the focused phone / NID / code field */
.ghost-digits { position: fixed; z-index: 2147483000; pointer-events: none; display: none; align-items: center; overflow: hidden; white-space: pre; box-sizing: border-box; }
.ghost-digits .gd-in { display: inline-block; white-space: pre; }
.ghost-digits .gd-typed { color: transparent; }
.ghost-digits .gd-shade { color: var(--muted); opacity: .35; }

/* In-page form box (public/ask.js) */
dialog.ask { border: 0; border-radius: 18px; padding: 20px; width: min(420px, calc(100vw - 32px)); box-shadow: 0 20px 60px rgba(0, 0, 0, .25); color: var(--ink); background: #fff; }
dialog.ask::backdrop { background: rgba(10, 14, 13, .5); }
dialog.ask h2 { margin: 0; font-size: 18px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--brand); text-decoration: underline; cursor: pointer; font: inherit; }
/* ---- Inbox → Channels (public/inbox.js) */
.ch-title { margin: 0 0 4px; }
.ch-grid { display: grid; gap: 12px; }
.ch-card { display: grid; gap: 10px; }
.ch-head { display: flex; align-items: center; gap: 12px; }
.ch-head .grow { min-width: 0; } .ch-head b { display: block; font-size: 15.5px; } .ch-head small { display: block; color: var(--muted); font-size: 12.5px; }
.ch-card.wa .ch-ic { background: #dcfce7; color: #15803d; } .ch-card.fb .ch-ic { background: #dbeafe; color: #1d4ed8; } .ch-card.ig .ch-ic { background: #fce7f3; color: #be185d; }
.ch-rows { display: grid; gap: 8px; }
.ch-rows > div { padding: 8px 10px; background: var(--bg); border-radius: 10px; }
.ch-rows b { display: block; font-size: 14px; } .ch-rows small { display: block; color: var(--muted); font-size: 12.5px; overflow-wrap: anywhere; }
.ch-rows code, .ch-steps code { background: #fff; border: 1px solid var(--line); border-radius: 5px; padding: 0 4px; font-size: 12px; }
.ch-copy { margin: 6px 0 0; } .ch-copy code { font-size: 12px; overflow-wrap: anywhere; white-space: pre-wrap; }
.ch-ai { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; padding-top: 4px; border-top: 1px dashed var(--line); }
.ch-ai input { width: 18px; height: 18px; min-height: 0; accent-color: var(--brand); }
.ch-steps { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.ch-form { border: 2px solid var(--brand); }
.ch-test input { min-width: 0; }
@media (min-width: 900px) { .ch-grid { grid-template-columns: 1fr 1fr; } }

/* ---- Calls before arrival (public/app.js callsView) */
.call-top { display: flex; align-items: flex-start; gap: 8px; flex-wrap: wrap; }
.call-acts { display: flex; gap: 6px; flex: none; }
.call.todo { border-left-color: var(--st-pending); } .call.retry { border-left-color: #f97316; } .call.ok { border-left-color: var(--st-checked_in); } .call.risk { border-left-color: var(--err); }
.call-days { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.call-day { flex: none; display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 64px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; cursor: pointer; color: var(--muted); }
.call-day small { font-size: 11px; font-weight: 700; text-transform: uppercase; } .call-day b { font-size: 18px; color: var(--ink); line-height: 1.1; } .call-day em { font-style: normal; font-size: 11px; font-weight: 700; }
.call-day.left em { color: var(--warn); }
.call-day.on { background: var(--brand); border-color: var(--brand); color: #fff; } .call-day.on b, .call-day.on em { color: #fff; }
.call-progress { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.call-ask { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; background: var(--brand-soft); color: var(--brand); border-radius: 999px; padding: 3px 10px; }
.call-asks { display: flex; flex-wrap: wrap; gap: 6px; }
.call-script { background: var(--bg); border-radius: 10px; padding: 8px 12px; font-size: 13.5px; }
.call-script summary { font-weight: 700; cursor: pointer; color: var(--brand); } .call-script ol { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.print-only { display: none; }
@media print { .calls > :not(.call-sheet) { display: none !important; } .call-sheet { display: block !important; } .call-sheet table { width: 100%; border-collapse: collapse; font-size: 12px; } .call-sheet th, .call-sheet td { border: 1px solid #999; padding: 4px 6px; text-align: left; vertical-align: top; } }
@media print { .calls .call-sheet, .calls .call-sheet * { visibility: visible; } .calls .call-sheet { position: absolute; left: 0; top: 0; width: 100%; } }

/* Calendar rate row on phones: the date sits above each price, so a category further down still shows its dates. */
.cal td.rt .rt-d { display: none; }
@media (max-width: 760px) {
  .cal td.rt { height: 40px; vertical-align: bottom; padding-bottom: 3px; }
  .cal td.rt .rt-d { display: block; font-size: 9.5px; font-weight: 700; color: var(--muted); line-height: 1.1; margin-bottom: 2px; text-transform: uppercase; }
  .cal td.rt .rt-d.we { color: var(--brand-2); }
  .cal td.rt .rt-d.today { color: #fff; background: var(--brand); border-radius: 4px; margin: 0 3px 2px; }
}

/* ---- Client queries (public/queries.js) */
.cq h2 { font-size: 16px; }
.cq-row { display: flex; flex-direction: column; align-items: stretch; gap: 5px; padding: 9px 12px; color: inherit; }
.cq-svcs .check-chip { padding: 5px 10px; font-size: 13px; }
.cq-sugs { display: grid; gap: 8px; }
.cq-sug { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: var(--bg); border-radius: 12px; flex-wrap: wrap; }
.cq-sug .grow { min-width: 140px; }
.cq-sug.over { opacity: .8; }
.cq-sug-pic { width: 46px; height: 46px; border-radius: 10px; flex: none; background: var(--brand-soft) center/cover no-repeat; display: grid; place-items: center; color: var(--brand); font-size: 18px; }
.cq-offer { background: var(--brand-soft); border-radius: 12px; padding: 10px 12px; display: grid; gap: 4px; }
.cq-rate { display: grid; grid-template-columns: 1.3fr 1fr .7fr .9fr; gap: 6px; }
.cq-rate .field { margin: 0; } .cq-rate input { min-width: 0; padding-left: 8px; padding-right: 4px; }

/* Client queries — call-centre quick capture + at-a-glance rows + follow-ups */
.cq-row-h { display: flex; align-items: center; gap: 8px; }
.cq-row.today { border-left: 4px solid var(--warn); } .cq-row.late { border-left: 4px solid var(--err, #b91c1c); }
.cq-glance { display: flex; flex-wrap: wrap; gap: 4px 5px; }
.cq-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; background: var(--bg); border-radius: 8px; padding: 3px 7px; line-height: 1.3; color: var(--ink); }
.cq-tag i { opacity: .55; font-size: 11px; } .cq-tag b { font-weight: 700; } .cq-tag small { color: var(--muted); }
.cq-tag.svc { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.cq-tag.budget { background: #fff7e6; } .cq-tag.offer { background: #e8f6ee; color: var(--ok); }
.cq-tag.fu { background: #eef2ff; } .cq-tag.fu.today { background: #fff3d6; color: var(--warn); font-weight: 700; } .cq-tag.fu.late { background: #fde8e8; color: var(--err, #b91c1c); font-weight: 700; }
.cq-note { font-size: 12.5px; color: var(--muted); font-style: italic; } .cq-note i { opacity: .6; font-style: normal; }
.cq-quick .field > span { font-size: 12px; } .cq-quick .field { margin: 0; } .cq-quick { gap: 10px; }
.cq-svcs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin: 0 -2px; padding-left: 2px; }
.cq-svcs .check-chip { white-space: nowrap; flex: none; }
.cq-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.cq-nums.three { grid-template-columns: 1.3fr .7fr 1.3fr; }
.cq-nums > .field:first-child:nth-last-child(5) { grid-column: span 2; } /* hotel: room type gets 2 cells, rooms/adults/children wrap */
.cq-nums input, .cq-nums select { min-width: 0; padding-left: 8px; padding-right: 4px; }
.cq-fu { display: grid; gap: 6px; grid-template-columns: 1fr 1fr; } .cq-fu .chips, .cq-fu .row { grid-column: 1 / -1; }
.chip-btn.sm { padding: 4px 10px; font-size: 12.5px; }
.chip-btn.alert:not(.on) { border-color: var(--warn); color: var(--warn); }
.cq-fu-card.today { border-color: var(--warn); } .cq-fu-card.late { border-color: var(--err, #b91c1c); }
.cq-log { padding: 6px 0; } .cq-log.note .small { color: var(--ink); }
.cq-actions .btn { padding: 12px 10px; }
@media (max-width: 480px) { .cq-actions { flex-direction: column; } .cq-actions .btn { width: 100%; } }
@media (max-width: 420px) { .cq-nums { grid-template-columns: repeat(4, minmax(0, 1fr)); } .cq-nums > .field:first-child:nth-last-child(5) { grid-column: 1 / -1; } .cq-fu { grid-template-columns: 1fr; } }

/* Guest form link dialog (public/guestform.js) */
.gf-link .gf-url { width: 100%; font-size: 12px; color: var(--muted); border: 1px dashed var(--line); border-radius: 8px; padding: 6px 8px; background: #f7f9fb; }
.gf-link .btn.wa { background: #25d366; border-color: #25d366; color: #fff; }

/* New booking (public/app.js bookView): compact stay card, room-type cards with a quantity stepper */
.bk-stay { gap: 10px; }
.bk-quick { display: flex; gap: 8px; align-items: center; }
.bk-chips { display: flex; gap: 6px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; padding-bottom: 1px; }
.bk-chips::-webkit-scrollbar { display: none; }
.bk-chips .chip-btn { white-space: nowrap; }
.bk-nstep { display: inline-flex; align-items: center; gap: 2px; flex: none; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: #fff; }
.bk-nstep button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: #f2f5f9; color: var(--brand); font: inherit; font-size: 18px; font-weight: 700; line-height: 1; cursor: pointer; }
.bk-nstep button:disabled { color: #c3beb4; cursor: not-allowed; }
.bk-nstep b { font-size: 13px; padding: 0 6px; white-space: nowrap; }
.bk-pax { padding-top: 8px; gap: 8px 14px; }
.bk-pax-l { display: inline-flex; align-items: center; gap: 6px; }
.bk-pax-l .fa-solid { color: var(--brand); }
.bk-pax .bk-step .icon-btn { width: 32px; height: 32px; }
.bk-sec { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.bk-legend { font-size: 12px; color: var(--muted); }
.bk-legend summary { cursor: pointer; list-style: none; white-space: nowrap; }
.bk-legend summary::-webkit-details-marker { display: none; }
.bk-legend[open] { flex: 1 0 100%; }
.bk-legend[open] summary { margin-bottom: 4px; }
.cat-head { align-items: flex-start; }
.cat-head .cat-img { width: 72px; height: 72px; border-radius: 12px; }
.cat-head > .grow { min-width: 0; }
.cat-desc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 1px; }
.cat-meta { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 5px; }
.cat-meta .pill { font-size: 11px; padding: 2px 7px; }
.cat-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.cat-price b { font-size: 17px; }
.stepper.sm button { width: 32px; height: 30px; font-size: 17px; }
.stepper.sm b { min-width: 26px; font-size: 14px; }
.catcard.full .cat-img { filter: grayscale(.6); opacity: .7; }
.catcard.full .cat-head > .grow b { color: var(--muted); }
@media (max-width: 420px) { .cat-head { gap: 10px; padding: 10px; } .cat-head .cat-img { width: 60px; height: 60px; } .cat-price b { font-size: 15px; } .cat-price small { display: block; } }
.cal tr.days th.rn { background: #f7f9fb; }
@media (max-width: 480px) { .sticky-cta .wrap-cta > .grow { flex: 1 0 100%; } .sticky-cta .wrap-cta > .row { width: 100%; } .sticky-cta .wrap-cta > .row .btn.accent { flex: 1; } .bk-pax-l { flex: 1 0 100%; } .bk-pax { justify-content: flex-start; } }

/* "Shoot & edit" (public/editreq.js): wand button, element highlight, request sheet; admin queue */
#krq { position: fixed; left: 14px; bottom: calc(78px + env(safe-area-inset-bottom)); z-index: 80; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #7c3aed; color: #fff; font-size: 17px; box-shadow: 0 8px 20px rgba(124, 58, 237, .4); cursor: pointer; opacity: .85; }
#krq:hover, #krq.on { opacity: 1; transform: scale(1.06); }
#krq.on { background: #f59e0b; box-shadow: 0 0 0 4px rgba(245, 158, 11, .3); }
body.krq-pick, body.krq-pick * { cursor: crosshair !important; }
#krq-box { position: fixed; z-index: 79; pointer-events: none; border: 2px solid #7c3aed; border-radius: 8px; background: rgba(124, 58, 237, .08); box-shadow: 0 0 0 9999px rgba(15, 23, 42, .08); transition: all .08s; }
.krq-sheet .krq-what { background: #f5f3ff; border-radius: 10px; padding: 8px 10px; display: grid; gap: 2px; }
.krq-sheet .krq-what small { color: var(--muted); font-size: 11px; }
.krq-sheet .krq-what b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.krq-sheet .krq-what code { font-size: 10.5px; color: #6d28d9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-chg.done { opacity: .6; }
.adm-chg-path { display: block; font-size: 11px; color: #6d28d9; background: #f5f3ff; border-radius: 6px; padding: 4px 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 760px) { .shell #krq { bottom: 24px; } }

/* ── Split-stay suggestions (booking page + calendar "Find rooms") ───────────── */
.bk-split { margin: 8px 0 4px; padding: 10px 12px; border: 1px dashed var(--warn, #d9a21b); border-radius: 12px; background: color-mix(in srgb, var(--warn, #d9a21b) 8%, transparent); display: grid; gap: 8px; }
.bk-split-plan { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 6px 0; border-top: 1px solid color-mix(in srgb, currentColor 10%, transparent); }
.bk-split-plan:first-of-type { border-top: 0; }
.bk-split-plan .grow { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.split-arrow { font-style: normal; opacity: .55; }

.cal-find { margin: 0 0 10px; }
.cal-find > summary { cursor: pointer; font-weight: 600; }
.cal-find-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; align-items: end; margin-top: 10px; }
.cal-find-res { margin-top: 12px; display: grid; gap: 10px; }
.cal-find-cat { padding: 8px 10px; border-radius: 10px; background: color-mix(in srgb, currentColor 4%, transparent); }
.cal-find-cat.none { opacity: .6; }

/* calendar cells of the plan being looked at */
.cal td.free.csug { background: color-mix(in srgb, var(--warn, #d9a21b) 28%, #fff); color: var(--warn, #b57b00); font-weight: 700; box-shadow: inset 0 0 0 2px var(--warn, #d9a21b); }
.legend .csug-i { background: color-mix(in srgb, var(--warn, #d9a21b) 28%, #fff); box-shadow: inset 0 0 0 2px var(--warn, #d9a21b); }

/* Staff logins: per-login page access picker (public/app.js staffView) */
.acc-form { width: 100%; background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.acc-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.acc-grid .check-chip { padding: 5px 10px; font-size: 13px; }

/* Dashboard "needs you now" strip (public/app.js dashNow) */
.dash-now { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin-top: -4px; }
.dash-now::-webkit-scrollbar { display: none; }
.dash-now.clear { display: flex; align-items: center; gap: 8px; color: #1f7a45; font-weight: 600; font-size: 14px; background: #e9f7ee; border-radius: 12px; padding: 10px 14px; }
.dn { display: inline-flex; align-items: center; gap: 7px; flex: none; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 12px 7px 10px; font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; text-decoration: none; }
.dn b { font-size: 15px; font-variant-numeric: tabular-nums; }
.dn .fa-solid { font-size: 13px; }
.dn.warn { border-color: #f0d9a8; background: #fff8e8; color: #8a5a00; }
.dn.err { border-color: #f3c0c0; background: #fff1f1; color: #a12b2b; }
.dn.info { border-color: #bfe3e8; background: #effbfc; color: #0f4c5c; }
.dash .flash { animation: dash-flash 1.6s ease-out; }
@keyframes dash-flash { 0% { box-shadow: 0 0 0 4px rgba(27, 154, 170, .55); } 100% { box-shadow: 0 0 0 0 rgba(27, 154, 170, 0); } }
/* Phones: action lists before the charts */
@media (max-width: 759px) { .dash > .dash-charts { order: 9; } .dash > .ins-card { order: 10; } }

/* Inbox: waiting-since marker on unanswered chats */
.ib-wait { color: #8a5a00 !important; font-weight: 700; }
.ib-wait.late { color: #a12b2b !important; }

/* Rooms: readiness banner for today's arrivals */
.rm-ready { display: flex; flex-direction: column; gap: 2px; width: 100%; text-align: left; font: inherit; cursor: pointer; margin: 8px 0 2px; border: 0; }
.rm-ready span { font-size: 12.5px; }

/* Tasks: quick-add line */
.task-quick { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px 6px 6px 10px; }
.task-quick .tq-ic { color: #c98f00; }
.task-quick input[name=title] { flex: 1; min-width: 0; border: 0; min-height: 36px; background: none; }
.task-quick select { width: auto; max-width: 150px; min-height: 36px; padding: 4px 8px; }
@media (max-width: 480px) { .task-quick select { max-width: 110px; font-size: 13px; } }
/* Settings: completeness checklist */
.setup-missing { display: flex; flex-wrap: wrap; gap: 6px; }
.setup-missing a { display: inline-flex; align-items: center; gap: 6px; border: 1px dashed #c9d6dd; border-radius: 999px; padding: 5px 10px; font-size: 13px; color: var(--brand); text-decoration: none; background: #f7fbfc; }
.setup-missing a:hover { border-style: solid; }

/* Phones: KPI tiles two-up instead of a tall single column (Tasks, Accounts, Inventory, Salary, Sponsorships…) */
@media (max-width: 520px) { .ag-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .ag-kpi { padding: 10px 12px; border-radius: 12px; } .ag-kpi b { font-size: 20px; } .ag-kpi span { font-size: 12px; } .ag-kpi small { font-size: 11px; } }
