/* MyCity Stay booking engine (Premium). Guest G1–G4 and owner tabs. Design: stay-booking-engine-claude-code/design/ */
.mbk, .mbk-page { --ink:#12211f; --body:#3d4c49; --muted:#5b6b68; --line:#ebe6db; --line2:#e2dccf; --input:#d9d2c3; --cream:#f6f4ee; --chip:#f3efe6; --navy:#0b3a5b; --orange:#e07a2c; --onor:#1a1206; --ok:#17663c; --okbg:#e3f3ea; --warn:#7a4f00; --warnbg:#fdf3dc; --err:#b42318; --errbg:#fdecea; --usdt:#26a17b;
	font-family:'Manrope',system-ui,sans-serif; color:var(--ink); }
.mbk *, .mbk-page * { box-sizing:border-box; }
.mbk [hidden], .mbk-page [hidden] { display:none !important; }
.mbk button, .mbk-page button, .mbk input, .mbk select, .mbk textarea, .mbk-page input, .mbk-page select, .mbk-page textarea { font-family:inherit; }
.mbk :focus-visible, .mbk-page :focus-visible { outline:3px solid #1c6fd9; outline-offset:2px; }
.mbk-card { border-radius:24px; background:#fff; border:1px solid var(--line); padding:16px; display:flex; flex-direction:column; gap:12px; }
.mbk-h2 { margin:0; font-size:24px; font-weight:800; }
.mbk-muted { font-size:13px; color:var(--muted); }
.mbk-row { display:flex; align-items:center; gap:10px; }
.mbk-sp { display:flex; justify-content:space-between; gap:10px; align-items:baseline; }
.mbk-btn { min-height:44px; padding:0 16px; border-radius:999px; border:0; font-size:14px; font-weight:800; display:inline-flex; align-items:center; justify-content:center; gap:6px; cursor:pointer; text-decoration:none; }
.mbk-btn--lg { min-height:52px; font-size:15px; padding:0 20px; }
.mbk-btn--xl { min-height:56px; font-size:16px; }
.mbk-btn--navy { background:var(--navy); color:#fff; }
.mbk-btn--orange { background:var(--orange); color:var(--onor); }
.mbk-btn--white { background:#fff; color:var(--navy); border:1.5px solid var(--input); }
.mbk-btn--red { background:var(--err); color:#fff; }
.mbk-btn--redline { background:#fff; color:var(--err); border:1.5px solid #f3c2bd; }
.mbk-btn--green { background:var(--ok); color:#fff; }
.mbk-btn--text { background:none; color:var(--navy); padding:0 6px; }
.mbk-btn:disabled, .mbk-btn[aria-disabled="true"] { background:var(--line); color:var(--muted); cursor:not-allowed; border:0; }
.mbk-round { width:44px; height:44px; flex:none; border-radius:999px; border:1.5px solid var(--input); background:#fff; color:var(--navy); display:grid; place-items:center; font-size:16px; cursor:pointer; }
.mbk-round:disabled { opacity:.4; cursor:default; }
.mbk-chip { height:26px; padding:0 9px; border-radius:999px; background:var(--chip); font-size:12px; font-weight:700; display:inline-flex; align-items:center; gap:5px; }
.mbk-badges { display:flex; gap:6px; flex-wrap:wrap; }
.mbk-badge { height:30px; padding:0 10px; border-radius:999px; font-size:12px; font-weight:800; display:inline-flex; align-items:center; gap:6px; background:var(--okbg); color:var(--ok); }
.mbk-badge--info { background:#e7f0fa; color:var(--navy); }
.mbk-note { margin:0; padding:10px 12px; border-radius:14px; font-size:13px; font-weight:700; line-height:1.45; display:flex; gap:8px; align-items:flex-start; }
.mbk-note--ok { background:var(--okbg); color:#0f4a2b; }
.mbk-note--warn { background:var(--warnbg); color:#5c3c00; }
.mbk-note--err { background:var(--errbg); color:#7a1a12; }
.mbk-usdt { font-size:11px; font-weight:700; color:var(--ok); display:inline-flex; gap:4px; align-items:center; }
.mbk-usdt::before { content:""; width:12px; height:12px; border-radius:9px; background:var(--usdt); }

/* G1 search */
.mbk-search { position:sticky; top:8px; z-index:5; border-radius:20px; background:#fff; border:1px solid var(--line); box-shadow:0 18px 40px -30px rgba(6,26,46,.5); padding:8px; display:none; grid-template-columns:1fr 1fr 1.2fr auto; gap:6px; }
.mbk-sf { min-height:56px; padding:8px 12px; border-radius:14px; border:1px solid var(--line); background:#fff; text-align:left; display:flex; flex-direction:column; gap:2px; cursor:pointer; }
.mbk-sf span { font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }
.mbk-sf b { font-size:14px; }
.mbk-sf b.is-empty { color:var(--muted); }
.mbk-pill { position:sticky; top:8px; z-index:5; width:100%; min-height:56px; padding:6px 6px 6px 16px; border-radius:999px; border:1px solid var(--line); background:#fff; box-shadow:0 14px 30px -22px rgba(6,26,46,.5); display:flex; align-items:center; gap:10px; text-align:left; cursor:pointer; }
.mbk-pill > i { color:var(--navy); }
.mbk-pill .mbk-grow { flex:1; display:flex; flex-direction:column; }
.mbk-pill .mbk-grow b { font-size:14px; }
.mbk-pill .mbk-grow span { font-size:12px; color:var(--muted); }
.mbk-pill em { height:44px; padding:0 14px; border-radius:999px; background:var(--navy); color:#fff; font-size:13px; font-weight:800; font-style:normal; display:flex; align-items:center; }

/* G1 rooms */
.mbk-rooms { display:flex; flex-direction:column; gap:12px; }
.mbk-room { border-radius:24px; background:#fff; border:1px solid var(--line); overflow:hidden; }
.mbk-room__top { display:grid; grid-template-columns:minmax(0,1fr); gap:14px; padding:12px; }
.mbk-room__photo { position:relative; height:180px; border-radius:18px; background:linear-gradient(135deg,#7fb5d1,#0b3a5b); overflow:hidden; }
.mbk-room__photo img { width:100%; height:100%; object-fit:cover; display:block; }
.mbk-room__photo .mbk-left { position:absolute; top:8px; left:8px; height:26px; padding:0 10px; border-radius:999px; background:#fff; color:var(--warn); font-size:12px; font-weight:800; display:flex; align-items:center; }
.mbk-room__photo .mbk-nav { position:absolute; top:50%; transform:translateY(-50%); width:36px; height:36px; border-radius:999px; border:0; background:rgba(255,255,255,.9); display:grid; place-items:center; cursor:pointer; }
.mbk-room__photo .mbk-nav--p { left:8px; } .mbk-room__photo .mbk-nav--n { right:8px; }
.mbk-room__info { display:flex; flex-direction:column; gap:6px; min-width:0; }
.mbk-room__info h3 { margin:0; font-size:18px; font-weight:800; }
.mbk-room__info .mbk-beds { font-size:13px; color:var(--body); }
.mbk-people { display:flex; gap:2px; color:var(--navy); font-size:15px; align-items:center; }
.mbk-people small { font-size:12px; color:var(--muted); font-weight:700; margin-left:4px; }
.mbk-from b { font-size:18px; }
.mbk-na { margin:0 12px 12px; padding:12px 14px; border-radius:16px; background:var(--chip); display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; font-size:14px; font-weight:700; color:var(--body); }
.mbk-rates { list-style:none; margin:0; padding:0; border-top:1px solid #f0ebe1; }
.mbk-rate { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px 14px; align-items:center; padding:14px 16px; }
.mbk-rate + .mbk-rate { border-top:1px solid #f0ebe1; }
.mbk-rate.is-on { background:#fff8ef; }
.mbk-rate__what { display:flex; flex-direction:column; gap:4px; min-width:0; grid-column:1 / -1; }
.mbk-rate__what b { font-size:14px; display:flex; gap:6px; align-items:center; }
.mbk-rate__what b i { color:#b85a12; }
.mbk-rate__canc { font-size:13px; font-weight:700; display:flex; gap:6px; align-items:center; color:var(--ok); }
.mbk-rate__canc.is-nr { color:var(--warn); }
.mbk-rate__pay { font-size:12px; color:var(--body); display:flex; gap:6px; align-items:center; }
.mbk-rate__price { display:flex; flex-direction:column; gap:1px; }
.mbk-rate__price b { font-size:18px; letter-spacing:-.02em; }
.mbk-rate__price span { font-size:12px; color:var(--muted); }
.mbk-step { display:flex; align-items:center; gap:6px; justify-self:end; }
.mbk-step b { min-width:22px; text-align:center; font-size:16px; }
.mbk-step .mbk-round--plus { border:0; background:var(--navy); color:#fff; }
.mbk-step .mbk-round--plus:disabled { background:var(--line); color:var(--muted); }

/* G1 sidebar summary / tray */
.mbk-sum { border-radius:24px; background:#fff; border:1px solid var(--line); padding:20px; display:flex; flex-direction:column; gap:12px; box-shadow:0 24px 50px -36px rgba(6,26,46,.45); }
.mbk-sum__big { font-size:26px; letter-spacing:-.03em; }
.mbk-lines { list-style:none; margin:0; padding:12px 0 0; border-top:1px solid #f0ebe1; display:flex; flex-direction:column; gap:10px; }
.mbk-lines li { display:flex; justify-content:space-between; gap:10px; font-size:14px; }
.mbk-lines li span { display:flex; flex-direction:column; }
.mbk-lines li small { font-size:12px; color:var(--muted); }
.mbk-total { border-top:1px solid #f0ebe1; padding-top:10px; }
.mbk-total b:last-child { font-size:22px; }
.mbk-wa { min-height:44px; font-size:13px; font-weight:800; display:flex; align-items:center; justify-content:center; gap:6px; color:var(--ok); text-decoration:none; }
.mbk-bar { position:fixed; left:0; right:0; bottom:0; z-index:50; padding:10px 12px 14px; background:rgba(246,244,238,.97); border-top:1px solid var(--line); display:flex; gap:10px; align-items:center; }
.mbk-bar button.mbk-bar__t { flex:1; min-width:0; min-height:48px; border:0; background:none; text-align:left; display:flex; flex-direction:column; padding:0; cursor:pointer; }
.mbk-bar__t b { font-size:15px; } .mbk-bar__t span { font-size:12px; color:var(--muted); }

/* overlays (search sheet, price calendar, mobile tray) */
.mbk-ov { position:fixed; inset:0; z-index:9990; display:flex; align-items:flex-end; justify-content:center; background:rgba(6,26,46,.45); }
.mbk-ov__panel { width:100%; max-height:92vh; overflow:auto; background:#fff; border-radius:24px 24px 0 0; padding:16px; display:flex; flex-direction:column; gap:14px; animation:mbkUp .25s ease; }
.mbk-ov__head { display:flex; align-items:center; gap:10px; } .mbk-ov__head h2 { margin:0; flex:1; font-size:19px; font-weight:800; }
@keyframes mbkUp { from { transform:translateY(24px); opacity:0; } to { transform:none; opacity:1; } }
.mbk-counter { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:60px; border-bottom:1px solid #f0ebe1; }
.mbk-counter span:first-child { display:flex; flex-direction:column; } .mbk-counter small { font-size:12px; color:var(--muted); }
.mbk-counter .mbk-row b { min-width:20px; text-align:center; }
.mbk-select { min-height:52px; padding:0 14px; border-radius:14px; border:1.5px solid var(--input); background:#fff; font-size:15px; font-weight:600; width:100%; }
.mbk-cal { display:grid; grid-template-columns:minmax(0,1fr); gap:20px; }
.mbk-cal__m b.mbk-cal__t { display:block; text-align:center; font-size:14px; margin-bottom:6px; }
.mbk-dow, .mbk-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:3px; }
.mbk-dow { font-size:11px; font-weight:800; color:var(--muted); text-align:center; }
.mbk-day { min-height:52px; padding:2px 0; border-radius:10px; border:0; background:#fff; color:var(--ink); font-size:14px; font-weight:700; cursor:pointer; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1px; }
.mbk-day small { font-size:10px; font-weight:700; color:var(--ok); }
.mbk-day.is-blank { visibility:hidden; }
.mbk-day:disabled { cursor:not-allowed; color:#b9b2a3; }
.mbk-day.is-booked { background:#ebe6db; color:#8a8373; text-decoration:line-through; font-weight:600; }
.mbk-day.is-booked small { display:none; }
.mbk-day.is-in { background:#fde7d3; border-radius:4px; }
.mbk-day.is-end { background:var(--orange); color:var(--onor); font-weight:800; }
.mbk-day.is-end small { color:var(--onor); }

/* G2 checkout, G3 manage */
.mbk-page { width:100%; max-width:1120px; margin:0 auto; padding:16px; display:flex; flex-direction:column; gap:16px; }
.mbk-page h1 { margin:0; font-size:30px; font-weight:800; letter-spacing:-.03em; }
.mbk-page h1 em { font-family:'Instrument Serif',serif; font-style:italic; font-weight:400; color:var(--navy); }
.mbk-back { align-self:flex-start; min-height:44px; font-size:14px; font-weight:800; display:flex; align-items:center; gap:6px; color:var(--navy); text-decoration:none; }
.mbk-steps { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.mbk-steps li { display:flex; flex-direction:column; gap:6px; font-size:13px; font-weight:800; color:var(--muted); }
.mbk-steps li::before { content:""; height:6px; border-radius:9px; background:var(--line); }
.mbk-steps li.is-on { color:var(--ink); } .mbk-steps li.is-on::before { background:var(--orange); }
.mbk-co { display:grid; grid-template-columns:minmax(0,1fr); gap:24px; align-items:start; }
.mbk-co__form { display:flex; flex-direction:column; gap:14px; min-width:0; order:2; }
.mbk-co__sum { order:1; }
.mbk-co h2 { margin:0; font-size:20px; font-weight:800; }
.mbk-fields { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; }
.mbk-field { display:flex; flex-direction:column; gap:6px; }
.mbk-field > b { font-size:14px; } .mbk-field > b small { font-weight:600; color:var(--muted); font-size:14px; }
.mbk-input { min-height:52px; padding:0 14px; border-radius:14px; border:1.5px solid var(--input); background:#fff; font-size:15px; font-weight:600; width:100%; }
textarea.mbk-input { padding:12px 14px; min-height:90px; }
.mbk-check { min-height:44px; display:flex; align-items:flex-start; gap:10px; font-size:14px; line-height:1.5; }
.mbk-check input { width:22px; height:22px; margin:2px 0 0; flex:none; }
.mbk-code { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:8px; max-width:360px; }
.mbk-code input { height:56px; border-radius:14px; border:1.5px solid var(--input); text-align:center; font-size:24px; font-weight:800; width:100%; }
.mbk-paybox { border-radius:20px; background:var(--okbg); color:#0f4a2b; padding:18px; display:flex; gap:14px; align-items:flex-start; }
.mbk-paybox > i { font-size:26px; color:var(--ok); } .mbk-paybox b { font-size:18px; display:block; } .mbk-paybox span { font-size:14px; }
.mbk-policy { border-radius:16px; border:1px solid var(--line); padding:14px; display:flex; flex-direction:column; gap:6px; font-size:14px; line-height:1.55; color:var(--body); }
.mbk-policy b { font-size:15px; display:flex; gap:8px; align-items:center; color:var(--ink); }
.mbk-sumcard { border-radius:24px; background:#fff; border:1px solid var(--line); padding:16px; display:flex; flex-direction:column; gap:10px; }
.mbk-sumcard__top { display:flex; gap:12px; align-items:center; }
.mbk-sumcard__top img, .mbk-sumcard__top .mbk-ph { width:64px; height:64px; flex:none; border-radius:14px; object-fit:cover; background:linear-gradient(135deg,#7fb5d1,#0b3a5b); }
.mbk-sumcard__top span { display:flex; flex-direction:column; gap:2px; font-size:13px; color:var(--muted); } .mbk-sumcard__top b { font-size:15px; color:var(--ink); }
.mbk-sumrow { display:flex; justify-content:space-between; gap:10px; font-size:14px; } .mbk-sumrow.is-small { font-size:13px; color:var(--muted); }
.mbk-sumrow.is-total { border-top:1px solid #f0ebe1; padding-top:10px; } .mbk-sumrow.is-total b:last-child { font-size:22px; }
.mbk-split { display:grid; grid-template-columns:1fr 1fr; gap:6px; font-size:12px; font-weight:700; } .mbk-split span { padding:8px 10px; border-radius:12px; background:var(--cream); } .mbk-split span:first-child { background:var(--okbg); color:var(--ok); }
.mbk-timer { font-size:13px; font-weight:800; color:var(--warn); display:flex; gap:6px; align-items:center; }
.mbk-status { border-radius:26px; padding:24px; display:flex; flex-direction:column; gap:10px; align-items:flex-start; background:var(--okbg); color:#0f4a2b; }
.mbk-status.is-info { background:#e7f0fa; color:var(--navy); } .mbk-status.is-grey { background:var(--chip); color:var(--body); } .mbk-status.is-err { background:var(--errbg); color:#7a1a12; }
.mbk-status__i { width:56px; height:56px; border-radius:999px; background:#fff; display:grid; place-items:center; font-size:26px; }
.mbk-status h1 { font-size:28px; }
.mbk-status .mbk-code-chip { height:32px; padding:0 12px; border-radius:999px; background:rgba(255,255,255,.7); color:var(--ink); font-size:13px; font-weight:800; display:flex; align-items:center; }
.mbk-tl { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; }
.mbk-tl li { display:flex; gap:12px; padding:8px 0; } .mbk-tl li > i { width:30px; height:30px; flex:none; border-radius:999px; background:var(--chip); display:grid; place-items:center; font-size:14px; color:var(--navy); }
.mbk-tl li span { display:flex; flex-direction:column; gap:1px; font-size:13px; color:var(--muted); } .mbk-tl li b { font-size:14px; color:var(--ink); }
.mbk-acts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.mbk-acts .mbk-btn { border-radius:16px; min-height:52px; }
.mbk-facts { margin:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.mbk-facts div { padding:10px 12px; border-radius:14px; background:var(--cream); } .mbk-facts dt { font-size:12px; color:var(--muted); font-weight:700; } .mbk-facts dd { margin:2px 0 0; font-size:14px; font-weight:800; }
.mbk-cx { border:2px solid var(--err); }
.mbk-msg { font-size:14px; font-weight:700; min-height:20px; } .mbk-msg.is-bad { color:var(--err); } .mbk-msg.is-good { color:var(--ok); }

@media (min-width: 900px) {
	.mbk-search { display:grid; } .mbk-pill, .mbk-bar { display:none !important; }
	.mbk-room__top { grid-template-columns:240px minmax(0,1fr); } .mbk-room__photo { height:170px; }
	.mbk-rate { grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) auto; } .mbk-rate__what { grid-column:auto; } .mbk-rate__price { align-items:flex-end; }
	.mbk-cal { grid-template-columns:repeat(2,minmax(0,1fr)); }
	.mbk-ov { align-items:center; padding:24px; } .mbk-ov__panel { width:640px; border-radius:24px; }
	.mbk-page { padding:28px 24px 56px; } .mbk-page h1 { font-size:44px; }
	.mbk-co { grid-template-columns:minmax(0,1fr) 380px; } .mbk-co__form { order:1; } .mbk-co__sum { order:2; position:sticky; top:16px; }
	.mbk-fields { grid-template-columns:1fr 1fr; } .mbk-field.is-wide { grid-column:1 / -1; }
}
@media (max-width: 899px) { .mbk-side-desk { display:none !important; } body.mbk-has-bar { padding-bottom:84px; } }
@media (prefers-reduced-motion: reduce) { .mbk *, .mbk-page * { animation:none !important; transition:none !important; } }

/* G1 spacing inside the listing page (search bar, badges, Rooms) */
.mbk[data-bk] { display:flex; flex-direction:column; gap:14px; margin:0; }
.mbk[data-bk] > .mbk-badges { margin-top:-4px; }
.mbk[data-bk] > .mbk-rooms { margin-top:14px; gap:14px; }
.mbk[data-bk] > .mbk-rooms > .mbk-sp { align-items:center; }
@media (min-width: 900px) { .mbk[data-bk] > .mbk-rooms { margin-top:22px; } }
/* Breakfast as a checkbox on the rate row */
.mbk-bf { display:inline-flex; align-items:center; gap:8px; font-size:14px; font-weight:800; cursor:pointer; min-height:32px; }
.mbk-bf input { width:20px; height:20px; margin:0; accent-color:#0b3a5b; cursor:pointer; }
.mbk-bf span { display:flex; align-items:center; gap:6px; }
.mbk-bf span i { color:#b85a12; }
.mbk-bf small { font-size:12px; font-weight:700; color:var(--body); }
.mbk-bf input:focus-visible { outline:2px solid #0b3a5b; outline-offset:2px; }
/* Side tray: even spacing between lines, total, notes and Reserve */
[data-bk-tray] { display:flex; flex-direction:column; gap:10px; }
[data-bk-tray] .mbk-lines { padding-top:14px; gap:12px; }
[data-bk-tray] .mbk-lines li span { gap:2px; }
[data-bk-tray] .mbk-total { padding-top:12px; margin-top:2px; }
[data-bk-tray] .mbk-note { margin:0; }
[data-bk-tray] > .mbk-btn { width:100%; justify-content:center; margin-top:6px; }
.mbk-sum { gap:16px; }
.mbk-sum > .mbk-badges { margin-top:2px; }
/* Sticky parts sit below the fixed site nav (--mbk-top set by stay-bk-guest.js) */
.mbk-search, .mbk-pill { top:var(--mbk-top, 96px); transition:top .2s ease; }
.mc-sg-aside:has(.mbk-side-desk) { top:var(--mbk-top, 96px); transition:top .2s ease; }
.mbk-usdt:empty { display:none; }

/* Promotions (owner) */
.mbk-promo { gap:8px; }
.mbk-chip.is-ok { background:#e3f3ea; color:#17663c; }
.mbk-chip.is-warn { background:#fdf3dc; color:#7a4f00; }
.mbk-chip.is-muted { background:#f3efe6; color:#3d4c49; }
.mbk-check { display:flex; align-items:center; gap:8px; min-height:36px; font-size:14px; }
.mbk-check input { width:18px; height:18px; accent-color:#0b3a5b; }
fieldset.mbk-field { border:0; padding:0; margin:0; }

/* Promotions (guest) */
.mbk-deal { display:inline-flex; align-items:center; gap:4px; align-self:flex-end; height:24px; padding:0 8px; border-radius:999px; background:#fdecea; color:#b42318; font-size:11px; font-weight:800; white-space:nowrap; }
.mbk-was { font-size:13px; color:var(--muted); text-decoration:line-through; }
.mbk-promo-line { font-size:13px; color:#b42318; font-weight:700; }
.mbk-promo-line i { margin-right:4px; }
.screen-reader-text { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
