*{box-sizing:border-box}body{margin:0;background:var(--tg-theme-bg-color,#f0f5fa);color:var(--tg-theme-text-color,#16354b);font:16px system-ui,sans-serif;max-width:650px;margin-inline:auto}header{display:flex;align-items:center;gap:12px;padding:18px 20px;background:linear-gradient(125deg,#062b65,#008f93);color:white}header b{font-size:24px;letter-spacing:.3px}small{display:block;font-size:10px;letter-spacing:1.8px;color:inherit;opacity:.85}.logo{width:50px;height:50px;background:#fff;border-radius:13px;color:#073568;font-size:36px;font-weight:900;text-align:center;line-height:50px}.logo span{color:#67e930}main{padding:18px 16px 115px}.hero{background:linear-gradient(135deg,#052d69,#008c8e);border-radius:22px;padding:24px;color:white}.hero h1{margin:8px 0;font-size:29px;line-height:1.13}.hero p{opacity:.9}.card{background:var(--tg-theme-secondary-bg-color,#fff);border-radius:17px;padding:16px;margin:12px 0;border:1px solid #8795a528}.row{display:flex;gap:10px;align-items:center;justify-content:space-between}.grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.grid button{min-height:72px}h2{font-size:22px;margin:12px 0}p{line-height:1.45}label{display:block;font-size:13px;font-weight:600;margin:12px 0 5px}input,select,textarea{width:100%;padding:12px;border:1px solid #899bad55;border-radius:10px;color:inherit;background:var(--tg-theme-bg-color,#f6f9fc);font:inherit}textarea{min-height:75px}input[type=checkbox]{width:auto}button{border:0;border-radius:12px;background:#0b6988;color:white;font:600 15px system-ui;padding:13px;cursor:pointer;min-height:42px}button.alt{background:#a1b3c52b;color:inherit}button.green{background:#75ed45;color:#092b36}button.danger{background:#9a3547}button.full{width:100%;margin-top:10px}button:disabled{opacity:.45}nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);max-width:650px;width:100%;display:flex;justify-content:space-around;background:var(--tg-theme-bg-color,#fff);border-top:1px solid #9aacbe44;padding:8px 5px calc(8px + env(safe-area-inset-bottom))}nav[hidden]{display:none}nav button{background:none;color:inherit;font-size:23px;padding:5px;min-width:54px}nav span{display:block;font-size:10px}#toast{position:fixed;bottom:90px;left:10%;right:10%;background:#16354b;color:#fff;padding:12px;border-radius:12px;display:none;z-index:3}.muted{opacity:.7;font-size:13px}.tag{display:inline-block;background:#089a7130;padding:5px 10px;border-radius:12px;font-size:12px}.legal{white-space:pre-wrap;max-height:280px;overflow:auto;font-size:14px}.price{font-size:23px;font-weight:700}.spacer{height:8px}

[hidden]{display:none!important}.toggle-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 0;font-size:15px}.toggle-row input[role=switch]{appearance:none;-webkit-appearance:none;position:relative;flex:none;width:48px;height:28px;padding:0;border:0;border-radius:30px;background:#87939d;cursor:pointer;transition:background .15s}.toggle-row input[role=switch]:checked{background:#07988a}.toggle-row input[role=switch]::before{content:'';position:absolute;width:22px;height:22px;left:3px;top:3px;background:white;border-radius:50%;transition:transform .15s}.toggle-row input[role=switch]:checked::before{transform:translateX(20px)}.toggle-row input[role=switch]:focus-visible{outline:2px solid #0b6988;outline-offset:3px}.rental-terms{display:grid;gap:6px;border-top:1px solid #899bad55;padding-top:10px;margin:10px 0;font-size:14px}

/* Support navigation and private conversation */
nav button{flex:1;min-width:0;padding:5px 1px}nav span{font-size:10px;white-space:nowrap}.support-menu button{text-align:left;margin-top:5px}.support-message{margin:12px 12% 12px 0;padding:12px;border-radius:14px;background:var(--tg-theme-secondary-bg-color,#e8eff5);border:1px solid #899bad55}.support-message.staff{margin:12px 0 12px 12%;border-color:#07988a80}.support-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0}.support-message .row{flex-wrap:wrap}.support-pages button{min-height:42px}.support-link{color:var(--tg-theme-link-color,#0b6988)}

/* 2.5: Help screen based on the reference. */
.help-page{--help-accent:#2b627b;--help-line:rgba(128,128,128,.25);--help-surface:var(--tg-theme-bg-color,#fff);padding:4px 0 8px}
.help-page h2{font-size:clamp(23px,5.6vw,28px);letter-spacing:-.45px;line-height:1.2;margin:8px 0 13px;font-weight:750}
.help-intro{font-size:15px;line-height:1.45;color:var(--tg-theme-hint-color,#606b73);margin:0 0 16px}
.help-menu{display:grid;gap:10px}.help-row{display:flex;align-items:center;gap:12px;width:100%;min-height:50px;text-align:left;padding:10px 12px;background:var(--help-surface);color:var(--tg-theme-text-color,#14191d);border:1px solid var(--help-line);border-radius:14px;font-size:clamp(15px,3.9vw,17px);font-weight:600;line-height:1.3;box-shadow:0 1px 2px #00000003}
.help-row:active{background:var(--tg-theme-secondary-bg-color,#edf3f7)}.help-row:focus-visible{outline:2px solid var(--help-accent);outline-offset:2px}.help-icon,.help-chevron{display:grid;place-items:center;flex:none;color:var(--help-accent)}.help-icon svg{width:23px;height:23px}.help-chevron{margin-left:auto;color:var(--tg-theme-hint-color,#667079)}.help-chevron svg{width:18px;height:18px}.help-label{flex:1;min-width:0;overflow-wrap:anywhere}.help-extra{margin-top:16px;padding-top:16px;border-top:1px solid var(--help-line)}.help-contact{font-size:13px;color:var(--tg-theme-hint-color,#606b73);overflow-wrap:anywhere;margin:14px 2px 0}
nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:var(--tg-theme-hint-color,#606b73);min-height:48px}nav button svg{width:23px;height:23px;flex:none}nav button[aria-current=page]{color:#2b627b}nav span{font-size:clamp(9px,2.65vw,11px);line-height:1.1;font-weight:500}
@media(prefers-color-scheme:dark){.help-page{--help-accent:#79b8d2}nav button[aria-current=page]{color:#79b8d2}}

.legal-fields{border-top:1px solid var(--line,#d5d9df);margin-top:18px;padding-top:12px}.legal-doc{margin:10px 0;padding:10px;border:1px solid var(--line,#d5d9df);border-radius:10px}.legal-doc summary{cursor:pointer;color:var(--tg-theme-link-color,#2b627b);font-weight:600}.legal-doc a{color:var(--tg-theme-link-color,#2b627b);display:block;margin:8px 0}.legal-fields label{margin:12px 0}

/* 2.8.1: confirmation dialogs without web-origin labels. */
#action-confirm{width:min(420px,calc(100% - 32px));max-height:calc(100% - 32px);overflow:auto;margin:auto;padding:24px;border:1px solid #899bad55;border-radius:22px;background:var(--tg-theme-bg-color,#fff);color:var(--tg-theme-text-color,#16354b);box-shadow:0 14px 55px #0003;text-align:center}
#action-confirm::backdrop{background:rgba(0,0,0,.48)}
#action-confirm h2{font-size:22px;line-height:1.25;margin:12px 0 8px}
#action-confirm p{font-size:15px;line-height:1.5;margin:0 0 12px;color:var(--tg-theme-hint-color,#596873)}
#action-confirm .confirm-icon{display:grid;place-items:center;width:52px;height:52px;margin:auto;border-radius:50%;background:var(--tg-theme-secondary-bg-color,#e9f0f4);color:var(--tg-theme-link-color,#2b627b)}
#action-confirm .confirm-icon svg{width:28px;height:28px}
#action-confirm button{min-height:46px}
#action-confirm button:focus-visible{outline:2px solid var(--tg-theme-link-color,#2b627b);outline-offset:3px}

/* 2.8.2 — one consent group at the end of each form. */
.polished-form{background:var(--tg-theme-bg-color,#fff);padding:18px 16px;border-radius:18px}
.polished-form>label,.polished-form section>label:not(.toggle-row){font-size:14px;font-weight:600;margin-top:17px;margin-bottom:7px}
.polished-form input:not([type=checkbox]),.polished-form select,.polished-form textarea{border-radius:12px;min-height:46px;background:var(--tg-theme-bg-color,#fff);font-size:16px}
.polished-form input[type=file]{font-size:13px;max-width:100%;padding:10px 8px}
.legal-fields{--consent-accent:#2b627b;--consent-link:var(--tg-theme-link-color,#2b627b);border-top:1px solid #899bad55;margin-top:22px;padding-top:17px}
.legal-fields h3{font-size:16px;margin:0 0 15px;font-weight:650}
.consent-list{display:grid;gap:13px}
.consent-row{display:grid;grid-template-columns:21px minmax(0,1fr);align-items:start;gap:10px;font-size:14px;line-height:1.5}
.consent-row input[type=checkbox]{appearance:none;-webkit-appearance:none;width:21px;height:21px;border:1px solid #899bad99;border-radius:50%;margin:0;padding:0;background:transparent;display:grid;place-items:center;cursor:pointer;flex:none}
.consent-row input[type=checkbox]:checked{background:var(--consent-accent);border-color:var(--consent-accent)}
.consent-row input[type=checkbox]:checked::after{content:'';width:5px;height:9px;border:solid white;border-width:0 2px 2px 0;transform:translateY(-1px) rotate(45deg)}
.consent-row input:focus-visible,.legal-inline:focus-visible{outline:2px solid var(--consent-link);outline-offset:3px}
.consent-copy{cursor:pointer;overflow-wrap:anywhere;font-weight:400}
button.legal-inline{display:inline;min-height:0;width:auto;padding:0;margin:0;border:0;border-radius:0;background:none;color:var(--consent-link);font:inherit;text-decoration:underline;text-underline-offset:3px;text-align:left;white-space:normal;overflow-wrap:anywhere;vertical-align:baseline}
.privacy-link{margin:16px 0 0 31px;font-size:14px;line-height:1.5}
.fee-summary{border-top:1px solid #899bad55;margin-top:20px;padding:16px 0 0;font-size:15px}.fee-summary strong{flex:none}.fee-summary p{margin:7px 0 0}
button.form-primary{background:#2b627b;color:#fff;border-radius:12px;min-height:48px;margin-top:16px}
#legal-reader{width:min(520px,calc(100% - 28px));max-height:85dvh;overflow:auto;padding:20px;border:1px solid #899bad55;border-radius:20px;background:var(--tg-theme-bg-color,#fff);color:var(--tg-theme-text-color,#16354b);box-shadow:0 14px 55px #0003}
#legal-reader::backdrop{background:#0007}.legal-reader-head{display:flex;align-items:start;justify-content:space-between;gap:10px}.legal-reader-head h2{font-size:20px;margin:0;line-height:1.3}.legal-reader-close{background:transparent;color:inherit;font-size:25px;min-width:36px;padding:0;min-height:36px}#legal-reader-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.55}#legal-reader-pdf{color:var(--tg-theme-link-color,#2b627b)}

.reservation.free{background:#e3f5e9;color:#176840}.reservation.reserved,.reservation.processing{background:#fff2d6;color:#855500}.reservation.negotiation{background:#e0edf9;color:#205788}button:disabled{cursor:not-allowed;opacity:.6}html[data-theme=dark] .reservation.free{background:#173d2c;color:#b6edc7}html[data-theme=dark] .reservation.reserved,html[data-theme=dark] .reservation.processing{background:#503a16;color:#ffdfa0}html[data-theme=dark] .reservation.negotiation{background:#1e3a57;color:#c4e1ff}

/* 2.10 — inline field validation and optional photo */
input[aria-invalid=true],select[aria-invalid=true],textarea[aria-invalid=true],.consent-row input[aria-invalid=true]{border:2px solid #c83e4d!important;outline-offset:2px}.field-error{font-size:13px;color:#b82438;line-height:1.4;margin:5px 0 9px;overflow-wrap:anywhere}.listing-photo{display:block;width:100%;max-height:260px;object-fit:cover;border-radius:12px;margin:12px 0}.listing-description{white-space:pre-wrap;overflow-wrap:anywhere}@media(prefers-color-scheme:dark){.field-error{color:#f78c98}}

.payment-banner{border:1px solid #899bad55;border-radius:12px;padding:13px;margin:8px 0 15px;font-size:14px;font-weight:600;line-height:1.4;background:var(--tg-theme-secondary-bg-color,#f3f6fa)}.payment-banner.success{border-color:#168452;color:var(--tg-theme-text-color,#176840)}.payment-banner.warning{border-color:#c38b36}.payment-banner.pending{border-color:#2b627b}

#price::-webkit-inner-spin-button,#price::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}#price{appearance:textfield;-moz-appearance:textfield}.consent-row{min-height:28px}.consent-copy{padding-bottom:3px}

/* 2.11: up to three images, native touch scrolling and an in-app lightbox. */
.photo-picker{margin:18px 0}.photo-picker label{margin:0}.photo-picker p{margin:8px 0 10px}.photo-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.photo-thumb{position:relative;aspect-ratio:1;overflow:hidden;border-radius:12px;background:#8193a322}.photo-thumb img{width:100%;height:100%;object-fit:cover;display:block}.photo-thumb .photo-remove{position:absolute;top:4px;right:4px;border-radius:50%;width:29px;height:29px;min-height:0;padding:0;background:#152b3bdb;color:#fff;font:22px/1 system-ui;display:grid;place-items:center}.cover-label{position:absolute;bottom:5px;left:5px;max-width:calc(100% - 10px);background:#153447da;color:#fff;font-size:10px;border-radius:5px;padding:3px 5px}.photo-add{border:1px dashed #8298a7;background:transparent!important;color:var(--tg-theme-link-color,#2b627b)!important}.photo-add[aria-invalid=true]{border:2px solid #c83e4d!important}.photo-add:disabled{display:none}.photo-gallery{margin:0 0 12px;min-width:0}.gallery-stage{position:relative;border-radius:13px;overflow:hidden;background:#1d39471a}.gallery-track{display:flex;width:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y}.gallery-track::-webkit-scrollbar{display:none}.gallery-slide{flex:0 0 100%;min-width:0;aspect-ratio:16/10;scroll-snap-align:start;scroll-snap-stop:always}.gallery-slide img{display:block;width:100%;height:100%;object-fit:cover}.gallery-open{display:block;width:100%;height:100%;padding:0;min-height:0;border:0;border-radius:0;background:transparent}.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:34px;height:34px;min-height:0;padding:0;border-radius:50%;background:#122839bb;color:#fff;font:28px/1 system-ui}.gallery-arrow.prev{left:8px}.gallery-arrow.next{right:8px}.gallery-arrow:disabled{opacity:.25;pointer-events:none}.gallery-count{position:absolute;right:9px;bottom:9px;background:#152b3bd9;color:white;padding:4px 9px;border-radius:15px;font-size:12px;pointer-events:none}.gallery-dots{display:flex;justify-content:center;gap:2px;padding-top:3px}.gallery-dots button{display:grid;place-items:center;width:24px;height:26px;padding:0;min-height:0;background:none;border-radius:50%}.gallery-dots button::before{content:'';width:7px;height:7px;border-radius:50%;background:#8597a7}.gallery-dots button[aria-current=true]::before{width:9px;height:9px;background:var(--tg-theme-link-color,#087e8e)}.photo-placeholder{aspect-ratio:16/6;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;background:var(--tg-theme-bg-color,#f0f5fa);border:1px solid #8fa2b233;border-radius:12px;color:var(--tg-theme-hint-color,#738998);font-size:13px;margin-bottom:12px}.photo-placeholder svg{width:31px;height:31px}#photo-dialog{border:0;padding:0;margin:0;max-width:none;max-height:none;width:100%;height:100%;height:100dvh;background:#08141d;color:#fff;overflow:auto}#photo-dialog::backdrop{background:#08141d}.photo-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px max(16px,env(safe-area-inset-right));font-size:14px}.photo-dialog-head button{border-radius:50%;width:40px;height:40px;min-height:0;padding:0;background:#ffffff24;font-size:25px}.gallery-modal{margin:0}.gallery-modal .gallery-stage{border-radius:0;background:transparent}.gallery-modal .gallery-slide{height:calc(100vh - 120px);height:calc(100dvh - 120px);aspect-ratio:auto}.gallery-modal .gallery-slide img{object-fit:contain}.gallery-modal .gallery-dots button[aria-current=true]::before{background:#fff}.gallery-modal .gallery-arrow{background:#ffffff30}#review-heading{scroll-margin-top:12px}
