/* API Living — charcoal, champagne and gold. Original supplied logo. */
:root{--gold:#c69342;--gold-light:#f0cb82;--ink:#292623;--muted:#776e61;--green:#292623;--cream:#f6f1e7;--line:#e0d6c4;--ui-border:#e0d6c4}
body{background:#f5f2eb;color:#302c26}a{color:inherit}header{background:#252321;border-bottom:1px solid #665137;max-width:none;padding-inline:max(28px,calc((100vw - 1368px)/2));padding-block:10px;min-height:110px}header>.brand{display:inline-flex;min-width:156px;max-width:156px;margin:0;padding:0}header .brand-logo{display:block;width:156px;height:104px;object-fit:contain;border-radius:5px}header nav a{color:#f3e8d2}header nav a:hover{color:#efc77b}header .account-menu summary{background:#332e28;border:1px solid #8d7047;color:#f4dbac;border-radius:8px}header .account-menu summary>span{color:#f1cd87}.account-menu>div{background:#fffdf8;border-color:#d5bc8c}.account-menu a,.account-menu button{color:#3c3327;background:#fffdf8}.account-menu a:hover,.account-menu button:hover{background:#f4e8d0}.portal-breadcrumb{color:#82735b}.portal-breadcrumb a{color:#6a542e}.discovery-shell{border-color:#d8c5a1;background:#fffdf9;box-shadow:0 10px 36px #30271909}.portal-intro{background:radial-gradient(ellipse at top left,#554332 0,#302a24 38%,#242220 100%);color:#fff4de}.portal-intro h1{color:#fff7e8}.portal-intro h1 span{color:#edc47a}.portal-intro p{color:#ddcfb8}.portal-intro .eyebrow,.intro-signature,.edition-label{color:#d5b57c}.signature-line{background:#c69a52}.city-art{filter:sepia(1) saturate(.65);opacity:.3!important}.portal-search{background:#fffdf9}.portal-search-heading strong{color:#3b3021}.step-number{border-color:#c7a15e;color:#987039}.portal-search input,.portal-search select{background:#fffdfa;color:#332d24;border-color:#d8ccb7!important}.purpose-options label{background:#fffdf8;color:#5d4c32;border-color:#d9c8a6}.purpose-options label:has(input:checked){background:#302a24;color:#f5d490;border-color:#302a24}.purpose-options input{accent-color:#bc8736}button,.button{color:#302a24}.button,button.button{background:linear-gradient(135deg,#e4bf77,#c99643);color:#29221a;border:1px solid #bb8837;box-shadow:0 2px 4px #573c1310;font-weight:600}.button:hover{background:#edce91;color:#29221a}.button.outline,.outline.button{background:transparent;color:#6b4c22;border-color:#b99355}.button.outline:hover{background:#f5ead3}.portal-search .button{background:linear-gradient(135deg,#e4bf77,#c99643);color:#29221a}.catalog-title h2,.section-head h2,.owner-invitation h2,.detail-heading h1,.property-form h2,.auth h1{color:#312a21}.portal-tabs a{color:#6d5e49}.portal-tabs a.active,.portal-tabs .active{background:#302a24;color:#f0cd87;border-color:#302a24}.portal-cards .card{background:#fffdf9;border-color:#dfd1b9}.portal-cards .card-bottom b{color:#3d2f1b}.portal-cards .badge{background:#fff6e4;color:#67481f}.portal-cards .status{background:#3b342a;color:#f7e5c3}.portal-cards .favorite{color:#755728}.portal-cards .favorite.saved{color:#b04740}.contact-card{color:#986b2c!important;border-color:#c5a068!important}.photo-count{background:#302a24dc}.card-date,.location,.card-area,.specs{color:#80725c}.round{background:#f1e2c5;color:#735126}.owner-invitation{border-color:#d7c6a6}.owner-number,.owner-number span,.service-notes{color:#8f744b}.owner-invitation>.button{color:#715027;border-color:#b18b4d}.panel{background:#fffdf9;border-color:#ddcfb6}.auth,.contact-panel{border-top-color:#be924d}.auth input,.auth select,.viewing-booking input,.viewing-booking textarea{background:#fffefa;border-color:#d7c7a7}.viewing-booking{background:#fffaf0;border-color:#bf964e}.viewing-booking h2,.contact-panel h2{color:#46351f}.viewing-booking input:focus,.viewing-booking textarea:focus,.auth input:focus{border-color:#a77b36;outline-color:#b88c4440}.viewing-cta,.contact-panel>.viewing-cta{background:linear-gradient(135deg,#e4bf77,#c99643);color:#29221a}.chips span,.stats>div,.notice{background:#f4ead6;border-color:#d9c295}.stats b{color:#8f6325}.property-facts small{color:#887454}.gallery-arrow{background:#302a24dc;border-color:#d6b579;color:#ffe3a8}.gallery-arrow:hover{background:#4c3d29}.gallery-counter{background:#302a24dc;color:#ffe3a8}.thumb[aria-pressed="true"]{outline-color:#c69a50}.avatar{background:#f1e0bc;color:#765222}.bubble{background:#f2e7d1;color:#3a3022}.bubble.mine{background:#353028;color:#fff0d1}.appointment-number{color:#5d421f;background:#f5e9cd;border-color:#bd9146}.calendar-day{background:#fffdfa;color:#4b3a25;border-color:#d7c7a9}.calendar-day.selected{outline-color:#a47832}.calendar-selection{background:#f5eddd}footer{max-width:none;background:#252321;color:#dfcba9;border-top:1px solid #665137;padding:28px max(28px,calc((100vw - 1368px)/2));margin-top:45px}footer .brand-logo{width:135px;height:90px;object-fit:contain}footer small{color:#c7b699}.brand-logo{flex-shrink:0}#toast{background:#302a24;color:#ffe1a0}.activity-badge{background:#c8323b!important;color:white!important}:focus-visible{outline-color:#a57830}.closed-times{border-color:#c8a56d;background:#fff6e4}.appointment-editor{border-color:#d8c6a3}.portal-empty{background:#fffaf0;border-color:#d3b888}.page-heading p,.hint{color:#7c6d55}
@media(max-width:1100px){header{padding-inline:24px}header nav{border-color:#665137}}
@media(max-width:640px){header{padding:10px 16px;grid-template-columns:minmax(0,1fr) 138px;gap:10px}header>.brand{min-width:0;max-width:132px}header .brand-logo{width:132px;height:88px}header .account-menu{width:138px}header .account-menu summary{font-size:17px;padding:10px;min-height:56px}header nav{border-color:#665137;padding-top:10px}header nav a{font-size:17px;color:#f3e8d2}.portal-intro{padding:26px 22px}.portal-intro h1{color:#fff7e8}.viewing-booking{background:#fffaf0}footer{padding:26px 20px}footer .brand-logo{width:132px;height:88px}}
@media(max-width:360px){header{grid-template-columns:minmax(0,1fr) 126px}header .account-menu{width:126px}header .brand-logo{width:112px;height:75px}}

/* Language audit: Thai labels wrap cleanly, including administration screens. */
.eyebrow{line-height:1.7;letter-spacing:.06em}.review-card{gap:24px;align-items:start}.review-card>div,.review-card>form{min-width:0}.mini-property{min-width:0}.mini-property>div{min-width:0}.mini-property strong{overflow-wrap:anywhere}.notification{display:block;padding:20px;margin-bottom:14px}.notification small{display:block;margin-top:8px}.save-search-dialog{width:min(520px,calc(100vw - 32px));max-height:85vh;overflow:auto;border:1px solid #c6a46b;border-radius:12px;padding:28px}.save-search-dialog::backdrop{background:#25232180}.save-search-dialog input{width:100%;font-size:19px;min-height:56px}.calendar-day small{line-height:1.3}.calendar-toolbar h2{line-height:1.5}.availability-form .form-grid label{min-width:0}.table-wrap td{overflow-wrap:anywhere}.portal-intro .eyebrow{letter-spacing:.07em}.intro-signature{letter-spacing:.05em}
@media(max-width:850px){.review-card{display:grid;grid-template-columns:1fr}.review-card form{width:100%}.property-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.eyebrow{font-size:16px}.review-card{padding:20px}.mini-property{gap:12px}.mini-property img{width:85px;height:85px;object-fit:cover}.mini-property strong{font-size:18px}.calendar-toolbar h2{font-size:20px}.availability-form{padding:20px}.availability-form .form-grid{grid-template-columns:1fr}.compare-table{font-size:17px}.appointment-search .button{width:100%}.account-menu>div{max-height:70vh;overflow-y:auto}.save-search-dialog{padding:22px}.intro-signature{display:none}}

.language-switch{flex:0 0 auto;margin:0}.language-switch select{width:84px;min-height:44px;padding:6px;border:1px solid #8d7957;border-radius:8px;background:#292722;color:#e5d6b8;font-size:16px}header{flex-wrap:wrap}

.verification-panel{max-width:900px;margin:24px auto;padding:28px}.verification-form{display:grid;gap:16px}.verification-form label{display:grid;gap:8px}.verification-form p{margin:0;line-height:1.7}.verification-form .check{display:flex;align-items:flex-start;gap:10px}.verification-form .check input{flex:0 0 auto}.verification-form [data-company-only][hidden]{display:none}.verification-form input[type=file]{max-width:100%}@media(max-width:600px){.verification-panel{padding:18px;margin:16px 0}}

/* Compact home introduction and search; keep property cards and account forms unchanged. */
.discovery-shell{min-height:0}
.discovery-shell .portal-intro{padding:28px 28px 145px;min-height:0}
.discovery-shell .portal-intro h1{font-size:clamp(30px,2.8vw,42px);line-height:1.35;margin:20px 0 16px}
.discovery-shell .portal-intro p{font-size:16px;line-height:1.7}
.discovery-shell .eyebrow{font-size:14px}
.discovery-shell .intro-signature{font-size:14px;margin-top:20px}
.discovery-shell .city-art{max-height:160px;bottom:24px}
.discovery-shell .portal-search{padding:22px 24px}
.discovery-shell .portal-search-heading{margin-bottom:14px;gap:12px}
.discovery-shell .portal-search-heading strong{font-size:24px;line-height:1.4}
.discovery-shell .portal-search-heading div>span{font-size:14px}
.discovery-shell .step-number{width:32px;height:32px;font-size:14px;flex-shrink:0}
.discovery-shell .purpose-options{gap:8px;margin-bottom:14px}
.discovery-shell .purpose-options label{font-size:14px;min-height:40px;padding:7px 12px}
.discovery-shell .portal-search label{font-size:14px;line-height:1.5}
.discovery-shell .portal-search input:not([type=radio]),.discovery-shell .portal-search select{font-size:16px;height:42px;min-height:42px;padding:8px 11px}
.discovery-shell .portal-search-primary{gap:10px}
.discovery-shell .portal-search .button{font-size:16px;height:44px;min-height:44px;padding:8px 14px}
.discovery-shell .portal-search-secondary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px;padding-top:14px}
.discovery-shell .portal-search-secondary label:last-child{grid-column:auto}
.discovery-shell .portal-search details{margin-top:12px;padding-top:12px}
.discovery-shell .portal-search summary{font-size:14px}
@media(max-width:640px){
 .discovery-shell .portal-intro{padding:22px 22px 28px}
 .discovery-shell .portal-intro h1{font-size:30px;margin:14px 0}
 .discovery-shell .portal-intro p{font-size:15px}
 .discovery-shell .eyebrow{font-size:12px}
 .discovery-shell .city-art{max-height:115px;bottom:10px}
 .discovery-shell .portal-search{padding:20px 18px}
 .discovery-shell .portal-search-heading strong{font-size:22px}
 .discovery-shell .purpose-options{display:flex;flex-wrap:wrap}
 .discovery-shell .purpose-options label{flex:1 1 calc(50% - 8px);min-height:44px}
 .discovery-shell .portal-search-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}
 .discovery-shell .portal-search-secondary label:last-child{grid-column:1/-1}
}

#property-search input:not([type=radio]),#property-search select{height:42px;min-height:42px;max-height:42px;font-size:16px;line-height:1.4;padding:8px 11px}
#property-search .portal-search-primary>.button{height:44px;min-height:44px;max-height:44px;font-size:16px;line-height:1.4;padding:8px 14px}

#property-search input:not([type=radio]):not([type=checkbox]){height:42px;min-height:42px;max-height:42px;font-size:16px;line-height:1.4;padding-top:8px;padding-bottom:8px}
#property-search .portal-search-primary>label,#property-search .portal-search-secondary>label{gap:4px}
#property-search .portal-search-secondary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
@media(max-width:640px){#property-search .portal-search-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}#property-search .portal-search-secondary>label:last-child{grid-column:1/-1}}

.compare-card{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.listing-map-link{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;font-size:14px;text-decoration:underline;text-underline-offset:3px}

/* Consistent header control dimensions across languages and screen sizes. */
header .language-switch select,header .account-menu summary{box-sizing:border-box;height:54px;min-height:54px;border-radius:8px;font-size:16px;line-height:1.4;margin:0}header .language-switch select{padding:0 10px}header .account-menu summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 14px}header .account-menu summary>span[translate="no"]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}header .language-switch,header .account-menu{align-self:center}
