:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #eef3f8;
  --text: #172033;
  --muted: #607086;
  --line: #dce4ee;
  --brand: #0f4c81;
  --brand-2: #176aa8;
  --accent: #e4572e;
  --accent-2: #ff784f;
  --success: #177c55;
  --shadow: 0 18px 50px rgba(20, 42, 70, .12);
  --radius: 20px;
  --max: 1180px;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c121b;
  --surface: #121b27;
  --surface-2: #182433;
  --text: #edf4fb;
  --muted: #a9b7c8;
  --line: #29384a;
  --brand: #69b8f3;
  --brand-2: #8ac9f7;
  --accent: #ff815e;
  --accent-2: #ff9a7e;
  --success: #5dd5a4;
  --shadow: 0 18px 50px rgba(0, 0, 0, .28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: var(--brand); }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
.site-shell { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--surface) 92%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.site-nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.site-brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a, .nav-links button, .mobile-menu a { color: var(--muted); text-decoration: none; border: 0; background: transparent; padding: 9px 11px; border-radius: 10px; font-weight: 650; cursor: pointer; }
.nav-links a:hover, .nav-links a[aria-current="page"], .nav-links button:hover { color: var(--text); background: var(--surface-2); }
.nav-cta { background: var(--accent) !important; color: #fff !important; padding-inline: 16px !important; }
.theme-toggle { width: 42px; height: 42px; border: 1px solid var(--line) !important; display: inline-grid; place-items: center; }
.mobile-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 12px; }
.mobile-menu { display: none; padding: 0 0 14px; }
.mobile-menu.open { display: grid; gap: 4px; }
.hero { position: relative; overflow: hidden; background: #0b365a; color: white; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.16), transparent 28%), linear-gradient(120deg, rgba(7,31,52,.96), rgba(15,76,129,.77)); }
.hero-grid { position: relative; z-index: 2; min-height: 530px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 54px; padding: 72px 0; }
.hero-copy h1 { font-size: clamp(2.4rem, 5.4vw, 4.8rem); line-height: 1.02; letter-spacing: -.055em; margin: 0 0 20px; max-width: 760px; }
.hero-copy p { font-size: clamp(1.05rem, 1.7vw, 1.25rem); max-width: 680px; color: #dcecff; margin: 0 0 28px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: #b8ddf8; margin-bottom: 14px; }
.hero-photo { border-radius: 28px; min-height: 360px; background: url('/montreal.jpeg') center/cover; box-shadow: 0 26px 80px rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.18); }
.search-panel { background: var(--surface); color: var(--text); padding: 18px; border-radius: 18px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 190px auto; gap: 10px; max-width: 760px; }
.field, .search-panel input, .search-panel select, .filter-bar select, .filter-bar input { width: 100%; min-height: 48px; border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 12px; padding: 0 14px; }
.btn { min-height: 48px; border: 0; border-radius: 12px; padding: 0 18px; font-weight: 800; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-secondary { background: var(--brand); color: #fff; }
.btn-ghost { border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.section { padding: 72px 0; }
.section-tight { padding: 46px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.section-head h2, .content h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); letter-spacing: -.035em; line-height: 1.12; margin: 0; }
.section-head p { color: var(--muted); max-width: 650px; margin: 8px 0 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 8px 30px rgba(20,42,70,.05); }
.card h3 { margin: 10px 0 8px; font-size: 1.22rem; }
.card p { color: var(--muted); margin: 0; }
.icon-box { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 12%, var(--surface)); color: var(--brand); font-size: 1.2rem; font-weight: 900; }
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.area-link { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; text-decoration: none; color: var(--text); transition: transform .18s ease, border-color .18s ease; }
.area-link:hover { transform: translateY(-2px); border-color: var(--brand); }
.area-link small { color: var(--muted); display: block; margin-top: 4px; }
.band { background: var(--surface-2); border-block: 1px solid var(--line); }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.faq summary { cursor: pointer; font-weight: 800; }
.faq p { color: var(--muted); margin-bottom: 0; }
.page-hero { background: linear-gradient(120deg, #0a365a, #135e99); color: #fff; padding: 62px 0 92px; }
.page-hero h1 { margin: 0 0 10px; font-size: clamp(2.1rem, 4.8vw, 3.8rem); line-height: 1.05; letter-spacing: -.045em; }
.page-hero p { max-width: 760px; color: #d8eaf8; margin: 0; font-size: 1.1rem; }
.filter-wrap { margin-top: -48px; position: relative; z-index: 5; }
.filter-bar { display: grid; grid-template-columns: 1.4fr .9fr auto; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); }
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.listing-card { overflow: hidden; padding: 0; }
.listing-card a { text-decoration: none; color: inherit; }
.listing-image { aspect-ratio: 4/3; width: 100%; object-fit: cover; display: block; background: var(--surface-2); }
.listing-body { padding: 18px; }
.listing-kicker { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--muted); font-size: .84rem; }
.badge { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: .72rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; background: var(--surface-2); color: var(--brand); }
.listing-title { font-size: 1.08rem; line-height: 1.35; margin: 10px 0 14px; min-height: 2.9em; }
.listing-price { font-size: 1.45rem; font-weight: 900; letter-spacing: -.03em; }
.listing-meta { margin-top: 12px; display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.loading, .empty-state { grid-column: 1/-1; text-align: center; padding: 64px 20px; color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: 18px; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 32px; }
.pagination .btn[disabled] { opacity: .45; cursor: not-allowed; }
.content { max-width: 820px; }
.content p, .content li { color: var(--muted); }
.notice { background: color-mix(in srgb, var(--brand) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--brand) 28%, var(--line)); padding: 18px 20px; border-radius: 14px; }
.site-footer { background: #081725; color: #d6e2ee; padding: 54px 0 28px; margin-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.site-footer h3 { color: #fff; margin-top: 0; }
.site-footer a { color: #c8d8e8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-links { display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid #203448; padding-top: 20px; margin-top: 34px; color: #8ea3b7; font-size: .9rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* Dark-mode bridges for existing Tailwind/Bootstrap pages */
html[data-theme="dark"] body.bg-gray-50, html[data-theme="dark"] .bg-gray-50 { background-color: var(--bg) !important; }
html[data-theme="dark"] .bg-white { background-color: var(--surface) !important; }
html[data-theme="dark"] .bg-gray-100, html[data-theme="dark"] .bg-slate-50, html[data-theme="dark"] .bg-slate-100 { background-color: var(--surface-2) !important; }
html[data-theme="dark"] .text-gray-900, html[data-theme="dark"] .text-gray-800, html[data-theme="dark"] .text-gray-700, html[data-theme="dark"] .text-slate-900, html[data-theme="dark"] .text-slate-800, html[data-theme="dark"] .text-slate-700 { color: var(--text) !important; }
html[data-theme="dark"] .text-gray-600, html[data-theme="dark"] .text-gray-500, html[data-theme="dark"] .text-slate-600, html[data-theme="dark"] .text-slate-500 { color: var(--muted) !important; }
html[data-theme="dark"] .border-gray-100, html[data-theme="dark"] .border-gray-200, html[data-theme="dark"] .border-gray-300, html[data-theme="dark"] .border-slate-100, html[data-theme="dark"] .border-slate-200 { border-color: var(--line) !important; }
html[data-theme="dark"] input, html[data-theme="dark"] select, html[data-theme="dark"] textarea, html[data-theme="dark"] .form-control, html[data-theme="dark"] .form-select { background: var(--surface-2) !important; color: var(--text) !important; border-color: var(--line) !important; }
.floating-theme-toggle { position: fixed; right: 18px; bottom: 18px; z-index: 200; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); box-shadow: var(--shadow); cursor: pointer; display: grid; place-items: center; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .mobile-toggle { display: inline-grid; place-items: center; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding: 58px 0; }
  .hero-photo { min-height: 260px; }
  .search-panel { grid-template-columns: 1fr; }
  .grid-3, .listing-grid { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .filter-bar .btn { grid-column: 1/-1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .site-shell { width: min(calc(100% - 24px), var(--max)); }
  .hero-copy h1 { font-size: 2.55rem; }
  .hero-photo { min-height: 220px; border-radius: 20px; }
  .section { padding: 52px 0; }
  .grid-3, .grid-2, .listing-grid, .area-grid, .footer-grid, .filter-bar { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-direction: column; }
  .page-hero { padding: 48px 0 78px; }
  .listing-image { aspect-ratio: 16/10; }
}

/* Modern property detail page */
.detail-loading {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: var(--text);
  transition: opacity .2s ease, visibility .2s ease;
}
.detail-loading.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.detail-loading-inner { text-align: center; padding: 28px; }
.detail-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid var(--line);
  border-top-color: var(--brand);
  border-radius: 50%;
  margin: 0 auto 14px;
  animation: ml-spin .75s linear infinite;
}
@keyframes ml-spin { to { transform: rotate(360deg); } }
.detail-loading p { margin: 0; color: var(--muted); font-size: .9rem; font-weight: 750; }
.detail-main { padding: 28px 0 12px; }
.detail-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 24px;
}
.detail-breadcrumbs a { color: var(--muted); text-decoration: none; }
.detail-breadcrumbs a:hover { color: var(--brand); }
.detail-breadcrumbs .current { color: var(--text); font-weight: 700; max-width: min(620px, 70vw); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.detail-content { min-width: 0; display: grid; gap: 24px; }
.detail-gallery {
  padding: 8px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 34px rgba(20,42,70,.07);
}
.detail-main-image-wrap { position: relative; overflow: hidden; border-radius: 15px; background: var(--surface-2); }
.detail-main-image { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.detail-badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.detail-badge { display: inline-flex; align-items: center; min-height: 30px; padding: 5px 10px; border-radius: 9px; font-size: .72rem; font-weight: 850; letter-spacing: .055em; text-transform: uppercase; box-shadow: 0 6px 18px rgba(0,0,0,.16); }
.detail-badge.primary { background: var(--brand); color: #fff; }
.detail-badge.surface { background: color-mix(in srgb, var(--surface) 94%, transparent); color: var(--text); border: 1px solid color-mix(in srgb, var(--line) 80%, transparent); }
.detail-thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 10px 2px 2px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.detail-thumb { flex: 0 0 92px; height: 66px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 11px; background: var(--surface-2); cursor: pointer; }
.detail-thumb.is-active { border-color: var(--brand); }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-heading { padding: 2px 2px 0; }
.detail-heading h1 { margin: 0 0 10px; color: var(--text); font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.08; letter-spacing: -.045em; }
.detail-subline { display: flex; flex-wrap: wrap; gap: 10px 20px; color: var(--muted); font-size: .96rem; }
.detail-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.detail-spec {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 15px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
}
.detail-spec-icon { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 12px; background: color-mix(in srgb, var(--brand) 11%, var(--surface)); color: var(--brand); font-weight: 900; }
.detail-spec-label { display: block; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; }
.detail-spec-value { display: block; margin-top: 3px; color: var(--text); font-size: .98rem; font-weight: 850; line-height: 1.25; }
.detail-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); box-shadow: 0 8px 30px rgba(20,42,70,.05); }
.detail-card h2 { margin: 0 0 18px; color: var(--text); font-size: 1.35rem; letter-spacing: -.02em; }
.detail-description { color: var(--muted); white-space: pre-line; line-height: 1.82; overflow-wrap: anywhere; }
.detail-address { margin: -6px 0 16px; color: var(--muted); font-weight: 650; }
.detail-map { height: 390px; width: 100%; border-radius: 15px; border: 1px solid var(--line); overflow: hidden; background: var(--surface-2); z-index: 1; }
.detail-sidebar { position: sticky; top: 96px; display: grid; gap: 18px; }
.detail-price-card { border-top: 4px solid var(--brand); box-shadow: var(--shadow); }
.detail-price-label { color: var(--muted); font-size: .72rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.detail-price { margin: 3px 0 20px; color: var(--brand); font-size: clamp(2.2rem, 4vw, 2.9rem); line-height: 1.1; letter-spacing: -.045em; font-weight: 900; overflow-wrap: anywhere; }
.detail-actions { display: grid; gap: 10px; }
.detail-action { width: 100%; }
.detail-seller { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.detail-seller-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); color: var(--brand); font-weight: 900; }
.detail-seller small { display: block; color: var(--muted); font-weight: 750; }
.detail-seller strong { display: block; color: var(--text); }
.detail-note { background: linear-gradient(135deg, #0a365a, #135e99); color: #fff; border: 0; }
.detail-note h2 { color: #fff; margin-bottom: 8px; }
.detail-note p { color: #d8eaf8; margin: 0; }
.detail-note ul { margin: 15px 0 0; padding-left: 19px; color: #eaf5ff; }
.detail-note li + li { margin-top: 6px; }
.detail-error { max-width: 580px; margin: 80px auto; text-align: center; }
.detail-error h1 { margin-bottom: 8px; }
html[data-theme="dark"] .detail-gallery,
html[data-theme="dark"] .detail-card,
html[data-theme="dark"] .detail-spec { box-shadow: none; }
html[data-theme="dark"] .detail-badge.primary { color: #081725; }
html[data-theme="dark"] .leaflet-tile-pane { filter: brightness(.64) contrast(1.18) saturate(.65); }
html[data-theme="dark"] .leaflet-control-attribution,
html[data-theme="dark"] .leaflet-control-zoom a { background: var(--surface) !important; color: var(--text) !important; border-color: var(--line) !important; }
@media (max-width: 980px) {
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .detail-specs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .detail-main { padding-top: 18px; }
  .detail-layout { gap: 20px; }
  .detail-content { gap: 18px; }
  .detail-main-image { aspect-ratio: 4/3; }
  .detail-badges { top: 10px; left: 10px; }
  .detail-thumb { flex-basis: 76px; height: 56px; }
  .detail-heading h1 { font-size: 2rem; }
  .detail-specs { gap: 8px; }
  .detail-spec { padding: 12px 10px; gap: 8px; }
  .detail-spec-icon { width: 34px; height: 34px; flex-basis: 34px; }
  .detail-sidebar { grid-template-columns: 1fr; }
  .detail-map { height: 300px; }
}


/* 2026-08-11 form, account and search-control refinement */
.search-panel, .filter-bar { align-items: stretch; }
.search-panel select, .search-panel input, .filter-bar select, .filter-bar input,
.search-panel .btn, .filter-bar .btn { min-height: 58px; height: 58px; font-size: 1rem; }
.search-panel select, .filter-bar select { padding: 0 44px 0 16px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 19px) 26px, calc(100% - 14px) 26px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.search-panel .btn, .filter-bar .btn { padding-inline: 24px; white-space: nowrap; }
.form-page-hero, .account-hero { padding-bottom: 110px; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; margin-top: -54px; position: relative; z-index: 5; align-items: start; }
.form-card, .account-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.form-card-head { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:24px 28px; border-bottom:1px solid var(--line); background:color-mix(in srgb, var(--surface-2) 55%, var(--surface)); }
.form-card-head h2 { margin:3px 0 0; font-size:1.45rem; letter-spacing:-.025em; }
.form-step { color:var(--muted); font-size:.78rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.secure-note { color:var(--success); font-weight:800; font-size:.9rem; white-space:nowrap; }
.modern-form { display:grid; gap:22px; padding:28px; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.form-grid.three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.field-group { min-width:0; }
.field-group.full { grid-column:1/-1; }
.field-group label, .field-group legend { display:block; margin:0 0 8px; font-weight:800; color:var(--text); }
.field-group small { display:block; color:var(--muted); margin-top:6px; font-size:.84rem; }
.modern-form input[type="text"], .modern-form input[type="email"], .modern-form input[type="number"], .modern-form select, .modern-form textarea { width:100%; border:1px solid var(--line); border-radius:13px; background:var(--surface); color:var(--text); padding:13px 14px; outline:none; transition:border-color .18s ease, box-shadow .18s ease; }
.modern-form input[type="text"], .modern-form input[type="email"], .modern-form input[type="number"], .modern-form select { min-height:52px; }
.modern-form textarea { resize:vertical; min-height:142px; }
.modern-form input:focus, .modern-form select:focus, .modern-form textarea:focus { border-color:var(--brand); box-shadow:0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
fieldset.field-group { border:0; margin:0; padding:0; }
.choice-grid { display:grid; gap:10px; }
.choice-grid.two { grid-template-columns:repeat(2,1fr); }
.choice-grid.five { grid-template-columns:repeat(5,1fr); }
.choice { cursor:pointer; position:relative; }
.choice input { position:absolute; opacity:0; pointer-events:none; }
.choice span { min-height:48px; display:flex; align-items:center; justify-content:center; text-align:center; padding:9px 10px; border:1px solid var(--line); border-radius:12px; background:var(--surface); color:var(--muted); font-weight:750; transition:.18s ease; }
.choice:hover span { border-color:var(--brand); color:var(--text); }
.choice input:checked + span { background:color-mix(in srgb, var(--brand) 11%, var(--surface)); border-color:var(--brand); color:var(--brand); box-shadow:inset 0 0 0 1px var(--brand); }
.form-divider { display:flex; align-items:center; gap:12px; color:var(--brand); font-weight:900; margin-top:2px; }
.form-divider::after { content:""; height:1px; background:var(--line); flex:1; }
.upload-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.upload-card { border:1px dashed color-mix(in srgb, var(--brand) 45%, var(--line)); background:color-mix(in srgb, var(--brand) 4%, var(--surface)); border-radius:14px; padding:16px; display:grid; gap:10px; }
.upload-card strong { display:block; }
.upload-card small { color:var(--muted); display:block; font-size:.78rem; margin-top:2px; }
.upload-card input[type="file"] { width:100%; color:var(--muted); font-size:.84rem; }
.upload-card em { font-style:normal; color:var(--accent); font-size:.78rem; min-height:1em; }
.form-actions { display:flex; justify-content:flex-end; padding-top:4px; }
.btn-large { min-height:54px; padding-inline:24px; font-size:1rem; }
.form-aside { display:grid; gap:18px; }
.sticky-card { position:sticky; top:96px; }
.check-list { padding-left:1.2rem; margin:16px 0 0; color:var(--muted); }
.check-list li { margin:10px 0; }
.account-wrap { margin-top:-54px; position:relative; z-index:5; min-height:390px; }
.account-card { max-width:640px; margin:0 auto; padding:32px; }
.account-card h2 { margin:15px 0 8px; font-size:1.7rem; letter-spacing:-.03em; }
.account-card > p { color:var(--muted); margin-top:0; }
.compact-form { padding:16px 0 0; gap:16px; }
.form-result { color:var(--success); font-weight:750; min-height:1.4em; }
.account-list-head { display:flex; justify-content:space-between; align-items:end; gap:18px; margin-bottom:24px; }
.account-list-head h2 { margin:0; font-size:2rem; letter-spacing:-.035em; }
.manage-listing-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.manage-listing-grid .col-md-4 { min-width:0; }
.manage-listing-grid .property-card { height:100%; background:var(--surface); border:1px solid var(--line); border-radius:18px; overflow:hidden; box-shadow:0 8px 30px rgba(20,42,70,.06); }
.manage-listing-grid .property-card img { width:100%; aspect-ratio:4/3; object-fit:cover; background:var(--surface-2); }
.manage-listing-grid .card-body { padding:18px; }
.manage-listing-grid .property-title { font-weight:850; line-height:1.35; margin-bottom:8px; }
.manage-listing-grid .property-title a { color:var(--text); text-decoration:none; }
.manage-listing-grid .property-details { color:var(--muted); font-size:.9rem; }
.manage-listing-grid .property-price { font-weight:850; margin-top:10px; }
.manage-listing-grid hr { border:0; border-top:1px solid var(--line); margin:16px 0; }
.btn-danger { min-height:42px; border:0; border-radius:10px; padding:0 15px; background:#b42318; color:#fff; font-weight:800; cursor:pointer; }
.area-landing { margin-top:28px; }
.area-landing-grid { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(260px,.7fr); gap:22px; align-items:start; }
.area-actions { display:grid; gap:10px; }
.breadcrumbs { display:flex; flex-wrap:wrap; gap:7px; align-items:center; font-size:.86rem; color:var(--muted); margin-bottom:14px; }
.breadcrumbs a { text-decoration:none; }
@media (max-width:900px){.form-layout{grid-template-columns:1fr}.form-aside{grid-template-columns:1fr 1fr}.sticky-card{position:static}.choice-grid.five{grid-template-columns:repeat(3,1fr)}.upload-grid{grid-template-columns:1fr}.manage-listing-grid{grid-template-columns:repeat(2,1fr)}.area-landing-grid{grid-template-columns:1fr}}
@media (max-width:640px){.search-panel,.filter-bar{grid-template-columns:1fr}.search-panel select,.search-panel input,.filter-bar select,.filter-bar input,.search-panel .btn,.filter-bar .btn{min-height:56px;height:56px}.form-layout,.account-wrap{margin-top:-38px}.form-card-head{padding:20px;align-items:flex-start}.modern-form{padding:20px}.secure-note{font-size:.8rem}.form-grid,.form-grid.three{grid-template-columns:1fr}.choice-grid.five{grid-template-columns:repeat(2,1fr)}.form-aside{grid-template-columns:1fr}.form-actions .btn{width:100%}.account-card{padding:24px}.account-list-head{align-items:stretch;flex-direction:column}.manage-listing-grid{grid-template-columns:1fr}}
.text-success { color: var(--success) !important; }
.text-danger { color: #c6362b !important; }
