/* Senang Homes theme: navy, paper and highlighter yellow (from Draft B).
   Loaded last; it restyles the existing components and changes no behaviour. */
:root{--paper:#fbfbf8;--ink:#15213f;--navy:#15213f;--muted:#4b5470;--line:#e2e5ec;--tint:#f2f4f8;--hl:#ffe36e;--wa:#13723f;--radius:4px;
  --cond:"Sofia Sans Extra Condensed",system-ui,sans-serif;--sans:"Sofia Sans",system-ui,sans-serif}
html{accent-color:var(--navy);scrollbar-color:#2b3a63 #e7e9ef}
body{font-family:var(--sans);font-size:15px;background:var(--paper);color:var(--ink);font-variant-numeric:tabular-nums lining-nums}
::selection{background:var(--hl);color:var(--navy)}
p{color:var(--muted)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--navy);outline-offset:2px;box-shadow:0 0 0 5px var(--hl)}

/* Type */
h1,h2,.modal-inner h2{font-family:var(--cond);font-weight:800;letter-spacing:-.01em;text-wrap:balance}
h1{font-size:clamp(40px,4.4vw,60px);line-height:.95}
h3,.card-title,.footer-brand{font-family:var(--sans);font-weight:700;letter-spacing:0}
.eyebrow{font-size:11px;letter-spacing:.08em;font-weight:700;color:var(--muted)}
.page-heading p{font-size:16px;margin-top:12px}
.section-title h2{font-size:34px;line-height:1}
.section-title h2>span{font:700 13px var(--sans);background:var(--hl);color:var(--navy);border-radius:999px;padding:3px 10px}
.section-title p{font-size:14px}
.modal-inner h2{font-size:40px;line-height:1}
.price{font-family:var(--cond);font-weight:800;font-size:32px;letter-spacing:0}
.detail-price{font-family:var(--cond);font-weight:800;font-size:46px;letter-spacing:0}
.detail-price small,.price small{font-family:var(--sans)}

/* Sidebar and top bar */
.sidebar{background:#fff;border-right-color:var(--line)}
.workspace-label{font-size:11px;letter-spacing:.08em;color:var(--muted)}
.nav-item{font-size:15px;font-weight:600;color:var(--muted);border-radius:4px}
.nav-item svg{width:18px;height:18px}
.nav-item:hover{background:var(--tint)}
.nav-item.active{background:var(--hl);color:var(--navy);font-weight:700}
.nav-dot{background:var(--navy)}
.network-card{background:var(--tint);border-color:var(--line);border-radius:4px}
.network-card p{font-size:13px}
.network-card button{font-size:13px;text-decoration:underline;text-underline-offset:3px}
.mini-icon{background:#fff;color:var(--navy);border-radius:4px}
.country{font-size:13px}.local-note{font-size:12px}
.official-brand small{color:var(--muted);font-family:var(--sans);font-size:9px}
.topbar{background:#fff;border-bottom-color:var(--line)}
.top-left{font-size:13px;color:var(--muted)}.top-left b{font-weight:700;color:var(--navy)}
.network-status{font-size:12px;color:var(--muted)}.network-status i{background:var(--wa)}

/* Buttons and controls */
.button{border-radius:4px;border-color:#cfd4df;font-size:14px;font-weight:700;color:var(--navy)}
.button:hover{background:var(--tint);transform:none}
.button svg{width:17px;height:17px}
.button.primary{background:var(--navy);border-color:var(--navy);color:#fff}
.button.primary:hover{background:#2b3a63}
.button.lime{background:var(--hl);border-color:var(--navy);color:var(--navy)}
.button.lime:hover{background:#ffd83a}
.whatsapp{background:var(--wa)!important;border-color:var(--wa)!important;color:#fff!important}
.whatsapp:hover{background:#0d5a31!important}
.segmented{background:#fff;border:1px solid var(--navy);border-radius:6px;padding:3px;gap:3px}
.segmented button{font-size:13px;font-weight:700;color:var(--navy);border-radius:4px;padding:9px 14px}
.segmented button:hover{background:var(--tint)}
.segmented .selected,.segmented .selected:hover{background:var(--navy);color:#fff;box-shadow:none}
.search-box{border-color:#cfd4df;border-radius:4px;color:var(--muted)}
.search-box svg{width:18px;height:18px}
.search-row select{border-color:#cfd4df;border-radius:4px;color:var(--navy)}
.filter-panel{border-radius:4px;border-color:var(--line)}
.filter-panel label{font-size:13px;color:var(--muted);font-weight:600}
.filter-panel input,.filter-panel select{background:#fff;border-color:#cfd4df;border-radius:4px;font-size:14px}
.text-link{font-size:13px}
.quick-row{font-size:13px;color:var(--muted)}
.quick-row button{background:#fff;border-color:#cfd4df;border-radius:999px;font-weight:600;color:var(--navy);padding:8px 14px;min-height:36px}
.quick-row button:hover{background:var(--hl);border-color:var(--navy)}
#active-filters{font-size:13px;color:var(--navy);font-weight:600}

/* Hero and benefits */
.hero{background:var(--navy);border-radius:4px;height:auto;min-height:340px}
.hero-copy{padding-bottom:34px}
#compare-nav>span{margin-left:0}
.hero h2{font-family:var(--cond);font-weight:800;font-size:clamp(42px,4.6vw,64px);line-height:.95;letter-spacing:-.01em}
.hero-tag{font-size:11px;letter-spacing:.08em;color:#c9d0e0}
.hero-tag span{background:var(--hl)}
.hero p{font-size:16px;color:#c9d0e0}
.hero-image:after{background:linear-gradient(90deg,#15213f30,transparent 30%)}
.photo-note{background:#fff;backdrop-filter:none;border:0;border-radius:4px;font-size:12px;color:var(--navy)}
.benefit-row{border-bottom-color:var(--line)}
.benefit-icon{background:var(--tint);color:var(--navy);border-radius:4px}
.benefit-icon svg{width:18px;height:18px}
.benefit-row b{font-size:14px;font-weight:700}
.benefit-row small{font-size:12.5px;color:var(--muted)}

/* Property cards */
.property-card{border-color:var(--line);border-radius:4px}
.property-card:hover{transform:none;border-color:var(--navy);box-shadow:0 0 0 1px var(--navy),0 16px 28px -22px #15213f8c}
.card-head{background:#fff;border-bottom-color:var(--line)}
.card-head h3{font:800 26px/1.05 var(--cond);letter-spacing:0}
.card-head .eyebrow{font-size:11px}
.layout-label{font-size:14px;font-weight:600;color:var(--navy)}
.location{font-size:13px;color:var(--muted);gap:6px}
.location svg,.specs svg{width:15px;height:15px}
.specs{font-size:13px;color:var(--muted)}
.cost-row{background:var(--tint);border-radius:4px;font-size:13px;color:var(--muted)}
.cost-row b{font-size:16px;color:var(--navy)}
.card-bottom{font-size:13px;color:var(--muted);border-top-color:var(--line)}
.card-bottom button{font-size:14px;font-weight:700;color:var(--navy)}
.card-bottom button:hover{text-decoration:underline;text-decoration-color:var(--hl);text-decoration-thickness:3px;text-underline-offset:4px}
.compare-check{font-size:13px}
.save{display:grid;place-items:center;border-color:#cfd4df;color:var(--navy)}
.save svg{width:17px;height:17px}
.save[aria-pressed=true]{background:var(--navy);border-color:var(--navy);color:#fff}
.save[aria-pressed=true] svg path{fill:currentColor}
.property-cover .media-count{font-size:12px;font-weight:600;color:var(--navy);border-radius:3px}
.cover-caption{font-size:12px}
.source-flag{font-size:12px}
.tag,.pill{border-radius:999px;font-size:12px}
.data-note{font-size:13px}
#pagination span{font-size:14px}
.empty{background:var(--tint);border-radius:4px}
footer{font-size:12px;color:var(--muted);border-top-color:var(--line)}

/* Dialogs: details, gallery, comparison */
dialog{border-radius:6px;border-color:var(--line);background:#fff}
dialog::backdrop{background:#15213fcc;backdrop-filter:none}
.close-modal{border-color:#cfd4df}
.modal-inner>p{font-size:15px}
.detail-contact{background:var(--tint);border-radius:4px}
.detail-contact small{font-size:13px;color:var(--muted)}
.gallery-stage{background:#0e1730;border-radius:4px}
.gallery-caption{font-size:13px!important;color:var(--muted)!important}
.gallery-thumbs button{border-radius:3px}
.gallery-thumbs button[aria-pressed=true]{border-color:var(--navy);box-shadow:0 0 0 2px var(--hl)}
.gallery-thumbs span{background:#15213f66;text-shadow:none}
.gallery-thumbs span svg{width:20px;height:20px}
.details>div{background:var(--tint);border-radius:4px}
.details dt{font-size:12.5px;color:var(--muted)}
.details dd{font-weight:700;color:var(--navy)}
.detail-section{border-top-color:var(--line)}
.detail-section p{font-size:14px;color:var(--muted)}
.notice{background:var(--tint);border-color:var(--line);border-radius:4px;color:var(--muted);font-size:13px}
.detail-actions{background:#fff}
.media-credit a{color:var(--navy)}
.help{font-size:12px!important;color:var(--muted)!important}
.comparison-table{font-size:14px}
.comparison-table thead th{background:var(--navy);color:#fff;font-family:var(--sans)}
.comparison-table tbody th{color:var(--muted)}
.steps>div>span{font-family:var(--cond);font-weight:800;color:#2b3a63}
#compare-bar{background:var(--navy);border-radius:6px;font-size:14px}
.toast{background:var(--navy);border-color:#2b3a63;border-radius:6px;font-size:14px}
.media-unavailable{background:var(--tint);color:var(--muted)}
.media-unavailable svg{width:40px;height:40px}
