/* Fikia. One stylesheet for every page.
   White space and one blue. Headings and prices are set in Outfit,
   everything else in DM Sans. To change the main colour, change
   --blue, --blue-deep and --blue-soft below. */
@font-face { font-family: "Outfit"; src: url(../fonts/outfit-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(../fonts/dm-sans-latin-wght-normal.woff2) format("woff2"); font-weight: 100 1000; font-display: swap; }
:root {
  --bg: #FFFFFF; --mist: #F4F6FA; --ink: #11162A; --ink-2: #5B6478; --line: #E4E7EE; --line-2: #C9CEDA;
  --blue: #1548B5; --blue-deep: #0D3186; --blue-soft: #E8EFFC; --blue-light: #4A7BF0;
  --ok: #17693F; --ok-soft: #E2F3E8; --bad: #A8321F; --bad-soft: #FBE9E5; --wait: #7A5200; --wait-soft: #FBF1D8;
  --shadow: 0 1px 2px rgba(17, 22, 42, 0.06), 0 14px 36px rgba(17, 22, 42, 0.10);
  --r: 22px; --r-s: 14px;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font-d: "Outfit", "DM Sans", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
h1, h2, h3, .brand, .count, .price strong, .facts strong { font-family: var(--font-d); }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: 2rem; line-height: 1.1; }
h2 { font-size: 1.3rem; line-height: 1.25; }
h3 { font-size: 1.0625rem; line-height: 1.3; letter-spacing: -0.015em; }
a { color: var(--blue); text-underline-offset: 0.18em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
main.wrap { padding-top: 20px; padding-bottom: 72px; min-height: 60vh; display: flex; flex-direction: column; gap: 24px; }
.narrow { max-width: 440px; width: 100%; margin: 12px auto 0; display: flex; flex-direction: column; gap: 18px; }
.field.narrow { margin: 0; }
.muted { color: var(--ink-2); }
.small { font-size: 0.875rem; }

/* top of every page */
.ribbon { background: var(--mist); color: var(--ink-2); text-align: center; font-size: 0.8125rem; padding: 6px 16px; }
.bar { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.88); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.bar-in { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.045em; text-decoration: none; line-height: 1; margin-right: auto; white-space: nowrap; }
.brand .mark { margin-right: 4px; }
.brand .sub { color: var(--blue); }
/* The hotel side, Fikia Manager, swaps the blue for orange everywhere:
   the name, the logo, buttons and highlights. */
.manager { --blue: #C2410C; --blue-deep: #9A3412; --blue-soft: #FDEEE3; --blue-light: #F97316; }
.manager .mark { box-shadow: 0 2px 6px rgba(194, 65, 12, 0.30); }
.links { display: none; align-items: center; gap: 4px; margin-right: 12px; }
.links a { color: var(--ink-2); font-size: 0.9375rem; font-weight: 500; text-decoration: none; padding: 8px 14px; border-radius: 999px; }
.links a:hover { color: var(--ink); background: var(--mist); }
.links a.on { color: var(--blue); background: var(--blue-soft); font-weight: 600; }
.acts { display: flex; align-items: center; gap: 10px; }
.langs { display: inline-flex; background: var(--mist); border-radius: 999px; padding: 3px; }
.langs button { font: inherit; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-2); background: none; border: 0; border-radius: 999px; padding: 0 9px; min-height: 34px; cursor: pointer; }
.langs button.on { background: var(--bg); color: var(--ink); box-shadow: 0 1px 2px rgba(17, 22, 42, 0.18); }
.btn.sm { min-height: 40px; padding: 8px 16px; font-size: 0.9375rem; white-space: nowrap; }
.acts { gap: 8px; }
/* page links along the bottom of a phone, once signed in */
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); }
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 4px; color: var(--ink-2); font-size: 0.75rem; font-weight: 600; text-decoration: none; border-radius: 12px; }
.tab::before { content: ""; width: 24px; height: 24px; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.tab.on { color: var(--blue); }
.t-stays { --icon: url(../img/i-stays.svg); }
.t-trips { --icon: url(../img/i-trips.svg); }
.t-desk { --icon: url(../img/i-desk.svg); }
.has-tabs .foot { padding-bottom: 104px; }
.foot { padding-top: 24px; padding-bottom: 40px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 0.875rem; }

/* form pieces */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 0.8125rem; min-width: 0; }
.field span { font-weight: 600; color: var(--ink); }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=search], input[type=date], select {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-s);
  padding: 12px 14px; min-height: 52px; width: 100%; min-width: 0; }
input::placeholder { color: #9AA1B2; }
input:hover, select:hover { border-color: var(--ink-2); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9375rem; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--blue); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 600; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 999px; padding: 12px 22px; min-height: 52px; text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--ink); }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #FFFFFF; }
.btn.primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn.ghost { border-color: transparent; color: var(--blue); padding-left: 0; padding-right: 0; min-height: 40px; justify-content: flex-start; }
.btn.danger { background: var(--bad-soft); border-color: var(--bad-soft); color: var(--bad); }
.btn.block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: default; }
.linkish { cursor: pointer; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.row:empty { display: none; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--mist); border-radius: 999px; padding: 4px; gap: 4px; }
.seg button { font: inherit; font-weight: 600; color: var(--ink-2); background: none; border: 0; border-radius: 999px; padding: 9px; min-height: 44px; cursor: pointer; }
.seg button.on { background: var(--bg); color: var(--ink); box-shadow: 0 1px 3px rgba(17, 22, 42, 0.16); }
.notice { background: var(--mist); border-radius: var(--r-s); padding: 12px 14px; }
.notice.bad { background: var(--bad-soft); color: var(--bad); }
.notice.ok { background: var(--ok-soft); color: var(--ok); }
.empty { background: var(--mist); border-radius: var(--r); padding: 36px 20px; text-align: center; color: var(--ink-2); display: flex; flex-direction: column; align-items: center; gap: 14px; }

/* front page: a blue panel cut like a gemstone, search box over its lower edge */
.hero { color: #FFFFFF; margin: 0 -8px 44px; padding: 36px 20px 0; border-radius: 28px; display: flex; flex-direction: column; gap: 12px;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.11) 0 26%, transparent 26%),
    linear-gradient(242deg, rgba(255, 255, 255, 0.08) 0 20%, transparent 20%),
    linear-gradient(158deg, transparent 0 64%, rgba(4, 16, 60, 0.30) 64%),
    linear-gradient(32deg, transparent 0 72%, rgba(255, 255, 255, 0.06) 72%),
    var(--blue); }
.hero h1 { font-size: 2.5rem; font-weight: 500; letter-spacing: -0.04em; line-height: 1.02; max-width: 12ch; }
.hero .lead { max-width: 34ch; color: rgba(255, 255, 255, 0.85); }
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; background: var(--bg); color: var(--ink); border-radius: var(--r); padding: 18px; margin: 14px -6px -44px; box-shadow: var(--shadow); }
.filters .wide { grid-column: 1 / -1; }
.more summary { font-weight: 600; font-size: 0.9375rem; cursor: pointer; padding: 4px 0; color: var(--blue); }
.more-in { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; padding-top: 12px; }
.more-in .check { grid-column: 1 / -1; }
.count { font-weight: 600; font-size: 1.3rem; letter-spacing: -0.025em; margin-bottom: 16px; }
.grid { display: grid; grid-template-columns: 1fr; gap: 28px 24px; }
.card { display: flex; flex-direction: column; gap: 12px; color: inherit; text-decoration: none; }
.card-body { display: flex; flex-direction: column; gap: 2px; }
.card .price { margin-top: 6px; }
.card:hover h3 { color: var(--blue); }
.price strong { font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.015em; }
.chip { display: inline-block; font-size: 0.8125rem; font-weight: 600; background: var(--mist); color: var(--ink-2); border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.chip.ok { background: var(--ok-soft); color: var(--ok); }
.chip.bad { background: var(--bad-soft); color: var(--bad); }
.chip.wait { background: var(--wait-soft); color: var(--wait); }
/* Picture panel: a quiet drawing of the kind of place. Real photos
   replace it once photo upload is built. */
.ph { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: linear-gradient(180deg, var(--tile-1), var(--tile-2)); }
.ph::after { content: ""; position: absolute; left: 26%; right: 26%; bottom: 14%; height: 46%; background: var(--tile-ink);
  -webkit-mask: var(--pic) center bottom / contain no-repeat; mask: var(--pic) center bottom / contain no-repeat; }
.ph-guest_house { --pic: url(../img/guest_house.svg); --tile-1: #F6F2E9; --tile-2: #ECE5D5; --tile-ink: #C2B594; }
.ph-motel { --pic: url(../img/motel.svg); --tile-1: #EFF3F7; --tile-2: #E0E8F0; --tile-ink: #A9B9CA; }
.ph-hotel { --pic: url(../img/hotel.svg); --tile-1: #EDF2FC; --tile-2: #DCE6F8; --tile-ink: #A3B8E3; }
.ph-lodge { --pic: url(../img/lodge.svg); --tile-1: #EEF5F0; --tile-2: #DDEBE2; --tile-ink: #A3C3B0; }
.tag { position: absolute; top: 12px; left: 12px; background: var(--bg); color: var(--ink); font-size: 0.8125rem; font-weight: 600; border-radius: 999px; padding: 5px 12px; box-shadow: 0 1px 3px rgba(17, 22, 42, 0.14); }
.ph.big { aspect-ratio: 16 / 10; border-radius: 26px; }
.ph.big::after { left: 32%; right: 32%; }

/* hotel page */
.back { text-decoration: none; font-weight: 600; font-size: 0.9375rem; }
.split { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
.about { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.intro, .intro-text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.intro-text h1 { margin-top: 6px; margin-bottom: -8px; }
.about h2 { margin-top: 18px; padding-top: 26px; border-top: 1px solid var(--line); }
.about > p, .intro-text > p { max-width: 62ch; }
.facts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--r-s); overflow: hidden; }
.facts li { flex: 1 1 130px; padding: 14px 16px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.facts strong { font-weight: 600; font-size: 1.125rem; letter-spacing: -0.02em; }
.facts span { color: var(--ink-2); font-size: 0.875rem; }
.side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.book, .done { background: var(--bg); border: 1px solid var(--line); border-radius: 26px; padding: 22px 20px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); }
.ticks { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; max-width: 480px; }
.ticks li { display: flex; align-items: center; gap: 10px; }
.ticks li::before { content: ""; width: 7px; height: 7px; flex: none; background: var(--blue); transform: rotate(45deg); border-radius: 1px; }
.plain { padding-left: 1.1rem; display: flex; flex-direction: column; gap: 6px; max-width: 62ch; color: var(--ink-2); }
.sum { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; border-top: 1px solid var(--line); padding-top: 16px; color: var(--ink-2); }
.sum dd { text-align: right; font-variant-numeric: tabular-nums; }
.sum .tot { color: var(--ink); font-weight: 600; font-size: 1.125rem; letter-spacing: -0.02em; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.ref { display: flex; flex-direction: column; background: var(--blue-soft); border-radius: var(--r-s); padding: 12px 16px; }
.ref strong { font-weight: 600; font-size: 1.7rem; letter-spacing: 0.02em; color: var(--blue-deep); }

/* trips and desk */
.trip { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.trip-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.trip-head a { color: inherit; text-decoration: none; }
.trip h2, .trip h3 { font-size: 1.125rem; }
.dir { background: var(--mist); border-radius: var(--r-s); padding: 16px; display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }

@media (min-width: 620px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 48px 36px 0; }
  .hero h1 { font-size: 3.4rem; }
}
@media (min-width: 900px) {
  h1 { font-size: 2.6rem; }
  main.wrap { padding-top: 28px; gap: 32px; }
  .hero { margin: 0 0 52px; padding: 72px 56px 0; border-radius: 32px; }
  .hero h1 { font-size: 4.4rem; max-width: 13ch; }
  .hero .lead { font-size: 1.125rem; }
  .filters { grid-template-columns: 2fr 1fr 1fr; max-width: 860px; margin: 28px 0 -52px; padding: 22px; }
  .filters .field.wide { grid-column: auto; }
  .more-in { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
  .split { grid-template-columns: minmax(0, 1.5fr) minmax(360px, 1fr); gap: 64px; }
  .side { position: sticky; top: 88px; }
  .links { display: flex; }
  .tabs { display: none; }
  .has-tabs .foot { padding-bottom: 40px; }
  .bar-in { min-height: 72px; }
  .brand { font-size: 1.5rem; }
  .book, .done { padding: 28px 26px; }
}

/* shortcuts by kind of place, under the opening panel */
.kinds { display: flex; gap: 8px; overflow-x: auto; margin: 0 -20px; padding: 2px 20px 6px; scrollbar-width: none; }
.kinds::-webkit-scrollbar { display: none; }
.kind { flex: none; display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 0.9375rem; font-weight: 600; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 16px 9px 12px; min-height: 44px; cursor: pointer; }
.kind::before { content: ""; width: 22px; height: 22px; background: var(--blue); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.kind:hover { border-color: var(--ink); }
.kind.on { background: var(--blue); border-color: var(--blue); color: #FFFFFF; }
.kind.on::before { background: #FFFFFF; }
.k-all { --icon: url(../img/i-all.svg); }
.k-guest_house { --icon: url(../img/guest_house.svg); }
.k-motel { --icon: url(../img/motel.svg); }
.k-hotel { --icon: url(../img/hotel.svg); }
.k-lodge { --icon: url(../img/lodge.svg); }
.k-day { --icon: url(../img/i-day.svg); }

/* room types on the hotel page */
.rooms { display: flex; flex-direction: column; gap: 12px; }
.room { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: center; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.room.on { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); background: var(--blue-soft); }
.room.full { opacity: 0.6; }
.room-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.room .left { color: var(--bad); font-size: 0.875rem; font-weight: 600; }
.room-prices { grid-column: 1; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; font-size: 0.9375rem; color: var(--ink-2); }
.room-prices dd strong { color: var(--ink); font-size: 1.0625rem; font-weight: 600; }
.room .btn { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.picked { display: flex; flex-direction: column; background: var(--blue-soft); border-radius: var(--r-s); padding: 10px 14px; }

/* rooms and prices on the desk page */
.prices { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; padding-top: 28px; border-top: 1px solid var(--line); }
.rt { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.rt .wide, .rt .check, .rt > div { grid-column: 1 / -1; }
.rt .btn { justify-self: start; }
input[type=number] { font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-s); padding: 12px 14px; min-height: 52px; width: 100%; min-width: 0; }
@media (min-width: 900px) {
  .kinds { margin: 0; padding: 2px 0 6px; flex-wrap: wrap; overflow: visible; }
  .rt { grid-template-columns: 2fr 2fr 1fr 1fr 1fr; }
  .rt .wide { grid-column: auto; }
}
@media (max-width: 619px) {
  .room { grid-template-columns: 1fr; }
  .room .btn { grid-column: 1; grid-row: auto; width: 100%; }
}
@media (max-width: 359px) { .brand .sub { display: none; } }
@media (max-width: 430px) {
  .brand { font-size: 1.15rem; gap: 5px; }
  .brand .mark { width: 32px; height: 32px; margin-right: 3px; }
  .bar-in { gap: 8px; }
  .acts { gap: 6px; }
  .btn.sm { padding: 8px 12px; font-size: 0.875rem; }
  .langs button { padding: 0 8px; }
}

/* real photos */
.ph.has-photo::after { display: none; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gal { position: relative; border-radius: 26px; overflow: hidden; background: var(--mist); }
.gal-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gal-strip::-webkit-scrollbar { display: none; }
.gal-strip img { flex: 0 0 100%; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; scroll-snap-align: start; }
.gal-count { position: absolute; right: 12px; bottom: 12px; background: rgba(17, 22, 42, 0.72); color: #FFFFFF; font-size: 0.8125rem; font-weight: 600; border-radius: 999px; padding: 4px 10px; }
.gal-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: 0 1px 4px rgba(17, 22, 42, 0.25); display: none; }
.gal-btn.prev { left: 12px; } .gal-btn.next { right: 12px; }
.room.with-pic { grid-template-columns: 96px 1fr auto; }
.room-pic { width: 96px; height: 96px; object-fit: cover; border-radius: 14px; grid-row: 1 / span 2; }
.room.with-pic .room-prices { grid-column: 2; }
.room.with-pic .btn { grid-column: 3; }
.ph-add { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.ph-add .field { flex: 1 1 220px; max-width: 360px; }
.file { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file:focus-visible + * , label.btn:focus-within { outline: 2px solid var(--blue); outline-offset: 3px; }
label.btn { cursor: pointer; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.thumb { margin: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.thumb figcaption { padding: 10px; display: flex; flex-direction: column; gap: 8px; font-size: 0.875rem; font-weight: 600; }
.thumb .btn.sm { min-height: 36px; padding: 6px 12px; font-size: 0.8125rem; }
@media (min-width: 900px) { .gal-btn { display: block; } }
@media (max-width: 619px) {
  .room.with-pic { grid-template-columns: 80px 1fr; }
  .room-pic { width: 80px; height: 80px; grid-row: 1; }
  .room.with-pic .room-prices, .room.with-pic .btn { grid-column: 1 / -1; }
}

/* =====================================================================
   Finish: the small things that make it feel smooth. Movement is short
   and only answers something the person did or shows that a page is
   loading; it is switched off for anyone who has asked their phone for
   less motion.
   ===================================================================== */
h1 { letter-spacing: -0.025em; }
h2 { font-size: 1.45rem; letter-spacing: -0.02em; }
.brand { letter-spacing: -0.03em; }

/* form controls: our own arrow on drop-downs, a soft ring when in use */
select { -webkit-appearance: none; appearance: none; padding-right: 40px; background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.500 6 6.500 11 1.500' fill='none' stroke='%235B6478' stroke-width='1.800' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=search], input[type=date], input[type=number], select {
  transition: border-color 0.15s, box-shadow 0.15s; }
input[type=text]:focus, input[type=email]:focus, input[type=password]:focus, input[type=tel]:focus, input[type=search]:focus, input[type=date]:focus, input[type=number]:focus, select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.btn { transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.1s; }
.btn:active:not(:disabled) { transform: scale(0.98); }
.btn.primary { box-shadow: 0 1px 2px rgba(17, 22, 42, 0.10), 0 8px 20px -6px var(--blue); }
.btn.primary:hover { box-shadow: 0 1px 2px rgba(17, 22, 42, 0.10), 0 12px 24px -6px var(--blue); }
.btn.sm.primary { box-shadow: 0 6px 14px -6px var(--blue); }

/* the top bar lifts off the page once you scroll */
.bar { transition: box-shadow 0.25s; }
.scrolled .bar { box-shadow: 0 8px 28px rgba(17, 22, 42, 0.08); }
.links a, .tab, .kind, .langs button { transition: background-color 0.15s, color 0.15s, border-color 0.15s; }

/* opening panel: soft light instead of hard edges */
.hero { background:
    radial-gradient(110% 90% at 0% 0%, #4378EE 0%, rgba(67, 120, 238, 0) 58%),
    radial-gradient(80% 90% at 100% 0%, #2C5BD6 0%, rgba(44, 91, 214, 0) 62%),
    radial-gradient(120% 110% at 85% 115%, #082A7E 0%, rgba(8, 42, 126, 0) 62%),
    var(--blue); }
.hero h1 { font-weight: 600; }

/* listings */
.card { gap: 14px; }
.card h3 { font-size: 1.125rem; }
.card .ph { box-shadow: inset 0 0 0 1px rgba(17, 22, 42, 0.05); }
.ph img { transition: transform 0.6s var(--ease); }
.card:hover .ph img { transform: scale(1.04); }
.card .price strong { font-size: 1.125rem; }
.tag { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); background: rgba(255, 255, 255, 0.92); }

/* hotel page */
.book, .done { border-radius: 28px; box-shadow: 0 2px 4px rgba(17, 22, 42, 0.04), 0 24px 60px rgba(17, 22, 42, 0.12); }
.room { transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s; }
.room:hover:not(.on):not(.full) { border-color: var(--line-2); }
.facts { border-radius: 18px; }
.gal-btn { transition: background-color 0.15s, transform 0.1s; }
.gal-btn:hover { background: #FFFFFF; }
.gal-strip { scroll-behavior: smooth; }

/* Manager */
.mg-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; }
.mg-head h1 { font-size: 2rem; margin-top: 8px; }
.mg-role { display: inline-block; font-size: 0.8125rem; font-weight: 600; color: var(--blue); background: var(--blue-soft); border-radius: 999px; padding: 3px 12px; }
.mg-pick { width: 100%; max-width: 320px; }
.mg-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; margin-top: 4px; }
.mg-tabs::-webkit-scrollbar { display: none; }
.mg-tabs button { flex: none; display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 600; color: var(--ink-2); background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 12px 14px; cursor: pointer; transition: color 0.15s, border-color 0.15s; }
.mg-tabs button:hover { color: var(--ink); }
.mg-tabs button.on { color: var(--blue); border-bottom-color: var(--blue); }
.badge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--blue); color: #FFFFFF; font-size: 0.75rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.panel { display: flex; flex-direction: column; gap: 14px; }
.rt-row { border: 1px solid var(--line); border-radius: 18px; transition: border-color 0.2s, box-shadow 0.2s; }
.rt-row[open] { border-color: var(--line-2); box-shadow: var(--shadow); }
.rt-row summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 16px 18px; border-radius: 18px; }
.rt-row summary::-webkit-details-marker { display: none; }
.rt-row summary:hover { background: var(--mist); }
.rt-name { display: flex; flex-direction: column; flex: 1 1 200px; min-width: 0; }
.rt-meta { display: flex; flex-direction: column; text-align: right; font-variant-numeric: tabular-nums; }
.rt-name .muted, .rt-meta .muted { font-size: 0.875rem; }
.rt-edit { font-size: 0.875rem; font-weight: 600; color: var(--blue); }
.rt-row[open] .rt-edit { display: none; }
.rt-row.add summary { color: var(--blue); }
.rt-row .rt { border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.thumb { transition: box-shadow 0.2s; }
.thumb:hover { box-shadow: var(--shadow); }

/* while a page loads: quiet grey shapes where the content will be */
.sk { border-radius: var(--r); background: linear-gradient(90deg, var(--mist) 25%, #E8EBF2 37%, var(--mist) 63%); background-size: 400% 100%; }
.sk-hero { height: 300px; border-radius: 28px; }
.sk-line { height: 26px; width: 160px; border-radius: 8px; }
.sk-grid { display: grid; grid-template-columns: 1fr; gap: 28px 24px; }
.sk-card { aspect-ratio: 4 / 3; }
@media (min-width: 620px) { .sk-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .sk-grid { grid-template-columns: repeat(3, 1fr); } .mg-head h1 { font-size: 2.4rem; } }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .sk { animation: shimmer 1.4s ease infinite; }
  .grid .card { animation: rise 0.45s var(--ease) both; }
  .grid .card:nth-child(2) { animation-delay: 0.04s; } .grid .card:nth-child(3) { animation-delay: 0.08s; }
  .grid .card:nth-child(4) { animation-delay: 0.12s; } .grid .card:nth-child(5) { animation-delay: 0.16s; }
  .grid .card:nth-child(n+6) { animation-delay: 0.2s; }
  .trip, .done { animation: rise 0.4s var(--ease) both; }
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- listing a property, and Fikia's review ---------- */
textarea { font: inherit; font-size: 1rem; line-height: 1.5; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-s);
  padding: 12px 14px; width: 100%; min-width: 0; resize: vertical; transition: border-color 0.15s, box-shadow 0.15s; }
textarea:hover { border-color: var(--ink-2); }
textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
textarea::placeholder { color: #9AA1B2; }
.field small { font-size: 0.8125rem; line-height: 1.4; }
.lst { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.lst-head h1 { font-size: 2rem; }
.lst-head p { margin-top: 8px; }
.lst-form { display: flex; flex-direction: column; gap: 18px; }
.lst-sec { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.lst-sec h2 { grid-column: 1 / -1; font-size: 1.125rem; margin: 0; }
.lst-sec .wide { grid-column: 1 / -1; }
.ams { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.lst-foot { display: flex; flex-direction: column; gap: 12px; padding-bottom: 12px; }
@media (max-width: 560px) { .lst-sec { grid-template-columns: 1fr; padding: 16px; } }
.mg-links { margin-top: 8px; font-size: 0.9375rem; }
.mg-links a { color: inherit; font-weight: 600; }
.mg-head .chip { vertical-align: middle; margin-left: 4px; }
.adm-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.adm-card h2 { font-size: 1.25rem; margin: 0; }
.adm-pics { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.adm-pics figure { margin: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.adm-pics img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-s); background: var(--mist); }
.adm-pics figcaption { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 0.8125rem; color: var(--ink-2); }
.adm-pics figcaption span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0; font-size: 0.9375rem; }
.adm-facts dt { font-weight: 600; color: var(--ink-2); }
.adm-facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.adm-facts a { color: inherit; }
.adm-act { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
@media (max-width: 560px) { .adm-pics { grid-template-columns: repeat(2, 1fr); } .adm-facts { grid-template-columns: 1fr; gap: 2px; } .adm-facts dd { margin-bottom: 8px; } }

/* ---------- host requests, photo standard, ready-to-send checklist ---------- */
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 12px; }
.steps li { counter-increment: step; display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.steps li::before { content: counter(step); flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: 0.875rem; background: var(--orange-soft, #FFF1E8); color: var(--orange, #C2410C); }
.rules ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; line-height: 1.45; }
details.rules { border: 1px solid var(--line); border-radius: var(--r-s); padding: 12px 16px; background: var(--bg); }
details.rules summary { cursor: pointer; font-weight: 600; }
details.rules[open] summary { margin-bottom: 10px; }
.ready { border: 1px solid var(--line-2); border-radius: var(--r); padding: 18px 20px; background: var(--bg); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.ready h2 { margin: 0; font-size: 1.125rem; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.checks li::before { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; font-weight: 800; }
.checks li.yes::before { content: "✓"; background: var(--ok-soft); color: var(--ok); }
.checks li.no::before { content: "!"; background: var(--bad-soft); color: var(--bad); }
.checks li.no { color: var(--ink); font-weight: 600; }
.photo-stat { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.9375rem; margin: 0; }
fieldset.quality { border: 1px solid var(--line); border-radius: var(--r-s); padding: 12px 16px; margin: 0; display: grid; gap: 10px; }
fieldset.quality legend { font-weight: 600; font-size: 0.875rem; padding: 0 6px; }

/* ---------- visits and demand ---------- */
input[type=datetime-local] { font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-s); padding: 12px 14px; min-height: 52px; width: 100%; min-width: 0; }
.visit-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.visit-form .wide { grid-column: 1 / -1; }
.adm-act > .visit-form { margin-top: 0; }
@media (max-width: 560px) { .visit-form { grid-template-columns: 1fr; } }
.pin-now { margin: 0; font-weight: 600; }
.pin-now a { font-weight: 600; color: inherit; }
.vs-block { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.vs-block h2 { margin: 0; font-size: 1.125rem; }
main .lst-sec + .lst-sec, main .mg-head + .lst-sec { margin-top: 18px; }
#publish { margin-top: 24px; }
.demand { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.demand h2 { margin: 12px 0 0; font-size: 1.125rem; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.tile { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-s); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.tile strong { font-size: 1.75rem; line-height: 1.1; font-family: var(--font-d, inherit); }
.tile span { color: var(--ink-2); font-size: 0.875rem; }
.dm-bars { display: grid; gap: 10px; }
.dm-row { display: grid; grid-template-columns: minmax(120px, 220px) 1fr 40px; gap: 12px; align-items: center; font-size: 0.9375rem; }
.dm-bar { height: 12px; border-radius: 999px; background: var(--mist); overflow: hidden; }
.dm-fill { display: block; height: 100%; border-radius: 999px; background: #C2410C; }
.dm-n { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-s); }
.dm-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.dm-table th, .dm-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.dm-table th { font-size: 0.8125rem; color: var(--ink-2); font-weight: 600; background: var(--mist); }
.dm-table td:nth-child(n+3), .dm-table th:nth-child(n+3) { text-align: right; font-variant-numeric: tabular-nums; }
.dm-table tr:last-child td { border-bottom: 0; }
@media (max-width: 560px) { .dm-row { grid-template-columns: 1fr 40px; } .dm-row .dm-bar { grid-column: 1 / -1; grid-row: 2; } }

/* ---------- alerts, stay checks, fees ---------- */
.alert-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding: 14px 16px; border-radius: var(--r-s);
  border: 1px solid var(--line-2); background: var(--wait-soft); margin-top: 16px; }
.alert-box.on { background: var(--ok-soft); border-color: transparent; }
.alert-box p { margin: 0; flex: 1 1 260px; line-height: 1.45; }
.stay-q { border: 1px solid var(--line-2); border-radius: var(--r-s); padding: 12px 16px; background: var(--bg); }
.stay-q p { margin: 0 0 8px; }
.stay-q p:last-child { margin: 0; }
.fee-head { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: flex-end; }
.fee-head .field { min-width: 180px; }
.fee-head p { margin: 0; flex: 1 1 280px; }
.panel .tiles + .tiles { margin-top: -2px; }
.tile.due strong { color: var(--bad); }
.tile.ok strong { color: var(--ok); }
.fee-month { max-width: 260px; }
.fee-table td:nth-child(3), .fee-table th:nth-child(3) { text-align: left; }
.fee-sum td:first-child { white-space: normal; min-width: 160px; }
.fee-sum td:nth-child(7), .fee-sum th:nth-child(7) { white-space: nowrap; }
input[type=date] { font: inherit; }

.panel .tiles { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.panel .tile { padding: 12px 14px; }
.panel .tile strong { font-size: 1.25rem; white-space: nowrap; }
@media (max-width: 560px) { .panel .tiles { grid-template-columns: 1fr 1fr; } .panel .tile strong { font-size: 1.125rem; } }
.mg-tabs { overflow-x: auto; scrollbar-width: none; }
.mg-tabs::-webkit-scrollbar { display: none; }
.mg-tabs button { white-space: nowrap; flex: none; }
