/*
 * FasilKiray International Design System — 02 Nov 2026
 * Presentation-only layer for the marketplace, renter, landlord and admin workspaces.
 * Existing component markup, IDs, handlers, data flows and role permissions are preserved.
 */
:root {
  --bf-ui-brand-950: #102f24;
  --bf-ui-brand-900: #164632;
  --bf-ui-brand-800: #1e6042;
  --bf-ui-brand-700: #2c8058;
  --bf-ui-brand-600: #36966a;
  --bf-ui-brand-100: #eaf4ed;
  --bf-ui-gold-600: #b98449;
  --bf-ui-gold-500: #d1a56d;
  --bf-ui-gold-100: #f8f1e7;
  --bf-ui-ink: #192a21;
  --bf-ui-ink-soft: #405449;
  --bf-ui-muted: #718077;
  --bf-ui-canvas: #f4f7f4;
  --bf-ui-surface: #ffffff;
  --bf-ui-surface-soft: #f8faf8;
  --bf-ui-border: #e3eae4;
  --bf-ui-border-strong: #d3dfd5;
  --bf-ui-radius-sm: 12px;
  --bf-ui-radius-md: 18px;
  --bf-ui-radius-lg: 24px;
  --bf-ui-radius-xl: 30px;
  --bf-ui-shadow-sm: 0 2px 8px rgba(17, 48, 32, .035), 0 8px 22px rgba(17, 48, 32, .035);
  --bf-ui-shadow-md: 0 10px 28px rgba(17, 48, 32, .065), 0 22px 54px rgba(17, 48, 32, .045);
  --bf-ui-shadow-lg: 0 24px 72px rgba(8, 28, 18, .22);
  --bf-ui-ease: cubic-bezier(.2, .75, .25, 1);
  --bf-ui-focus: 0 0 0 4px rgba(44, 128, 88, .16);
  color-scheme: light;
}

/* Typography and global interaction language */
html { scroll-padding-top: 100px; }
body {
  font-family: "Manrope", "DM Sans", "Noto Sans Ethiopic", sans-serif;
  font-size: 15px;
  line-height: 1.68;
  letter-spacing: -.012em;
  color: var(--bf-ui-ink);
  background: var(--bf-ui-canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input, select, textarea { font-family: inherit; }
button, a, select, input, textarea { -webkit-tap-highlight-color: transparent; }
::selection { color: #fff; background: var(--bf-ui-brand-800); }
:focus-visible {
  outline: 3px solid rgba(209, 165, 109, .96) !important;
  outline-offset: 3px !important;
}
button:disabled, input:disabled, select:disabled, textarea:disabled { cursor: not-allowed; }

html[lang="am"] body,
html[lang="am"] button,
html[lang="am"] input,
html[lang="am"] select,
html[lang="am"] textarea,
html.bf-amharic body,
html.bf-amharic button,
html.bf-amharic input,
html.bf-amharic select,
html.bf-amharic textarea {
  font-family: "Noto Sans Ethiopic", "Abyssinica SIL", "Manrope", sans-serif !important;
  letter-spacing: 0 !important;
  line-height: 1.82;
}
html[lang="am"] h1, html[lang="am"] h2, html[lang="am"] h3,
html.bf-amharic h1, html.bf-amharic h2, html.bf-amharic h3 { line-height: 1.48; letter-spacing: 0; }

/* Public application frame and navigation */
.app-shell {
  width: 100%;
  max-width: 1760px;
  margin-inline: auto;
  background: var(--bf-ui-canvas);
  box-shadow: 0 0 90px rgba(25, 54, 38, .035);
}
.topbar {
  min-height: 82px;
  height: auto;
  padding: 12px clamp(18px, 5.2vw, 88px);
  gap: 24px;
  background: rgba(252, 253, 251, .93);
  border-bottom: 1px solid rgba(28, 69, 45, .09);
  box-shadow: 0 5px 22px rgba(17, 48, 32, .025);
  backdrop-filter: blur(22px) saturate(155%);
}
.brand { gap: 12px; color: var(--bf-ui-brand-950); font-size: 22px; font-weight: 850; letter-spacing: -.055em; }
.brand-mark {
  width: 45px; height: 45px; border-radius: 15px;
  background: linear-gradient(145deg, #398766 0%, #1d6346 48%, #103a2a 100%);
  box-shadow: 0 9px 21px rgba(20, 83, 55, .2), inset 0 1px 0 rgba(255,255,255,.22);
}
.brand small { margin-top: 3px; color: #87958a; font-size: 9px; font-weight: 700; letter-spacing: .035em; }
.brand-accent { color: var(--bf-ui-brand-700); }
.desktop-nav { gap: clamp(19px, 2.6vw, 39px); }
.desktop-nav a {
  color: #68796e; font-size: 13px; font-weight: 750;
  transition: color .2s ease;
}
.desktop-nav a:hover { color: var(--bf-ui-brand-700); }
.header-actions { gap: 9px; }
.icon-btn, .lang-btn, .avatar-btn {
  min-width: 43px; min-height: 43px; height: 43px;
  border: 1px solid var(--bf-ui-border); border-radius: 13px;
  background: #fff; color: var(--bf-ui-brand-900);
  box-shadow: 0 2px 7px rgba(17, 48, 32, .025);
  transition: transform .2s var(--bf-ui-ease), border-color .2s ease, background .2s ease;
}
.icon-btn:hover, .lang-btn:hover, .avatar-btn:hover { transform: translateY(-1px); border-color: #b9d2c0; background: #f5f9f5; }
.login-trigger { min-height: 44px; padding-inline: 21px; border-radius: 13px; font-size: 13px; font-weight: 800; }

/* Hero: Gondar-first editorial composition */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 0;
  padding: clamp(78px, 7.3vw, 108px) clamp(24px, 7vw, 112px) 43px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 8%, rgba(211, 168, 111, .19), transparent 25%),
    radial-gradient(ellipse at 12% 100%, rgba(75, 143, 104, .22), transparent 35%),
    linear-gradient(125deg, #102f24 0%, #174936 54%, #215a40 100%);
  border-radius: 0 0 32px 32px;
  box-shadow: 0 20px 58px rgba(13, 51, 33, .15);
}
.hero::before {
  z-index: 0;
  background: linear-gradient(90deg, rgba(8, 34, 24, .94) 0%, rgba(8, 34, 24, .77) 42%, rgba(8, 34, 24, .24) 77%, rgba(8, 34, 24, .08) 100%);
}
.hero::after { opacity: .16; }
.hero-copy { position: relative; z-index: 2; max-width: 47%; }
.hero .eyebrow { color: rgba(246, 250, 246, .84); font-size: 10px; font-weight: 850; letter-spacing: .17em; }
.hero h1 {
  max-width: 690px; margin: 18px 0 16px;
  color: #fff; font-size: clamp(46px, 5.45vw, 76px);
  line-height: 1.08; font-weight: 850; letter-spacing: -.06em;
  text-wrap: balance;
}
.hero h1 em { color: #e3bd89; font-style: normal; }
.hero-copy > p { max-width: 520px; color: rgba(241, 248, 243, .82); font-size: 16px; line-height: 1.82; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 25px; color: rgba(246, 250, 246, .88); font-size: 12px; font-weight: 750; }
.hero-trust > span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .bf-icon { width: 17px; height: 17px; color: #e1bd8e; }
.hero-backdrop {
  position: absolute;
  inset: clamp(76px, 7vw, 100px) clamp(28px, 6vw, 96px) auto auto;
  width: min(44%, 590px);
  height: clamp(300px, 30vw, 390px);
  padding: 8px;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 29px;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(239,232,219,.92));
  box-shadow: 0 30px 78px rgba(0,0,0,.28), 0 8px 24px rgba(0,0,0,.13), 0 0 0 8px rgba(255,255,255,.045);
  overflow: hidden;
  z-index: 1;
  transition: transform .35s var(--bf-ui-ease), box-shadow .35s ease;
}
.hero-backdrop:hover { transform: translateY(-5px); box-shadow: 0 38px 90px rgba(0,0,0,.31), 0 10px 28px rgba(0,0,0,.16), 0 0 0 9px rgba(255,255,255,.055); }
.hero-backdrop img {
  display: block; width: 100%; height: 100%; padding: 0;
  border-radius: 21px; object-fit: cover; object-position: 54% 46%;
  opacity: 1; transform: none !important; animation: none !important;
}
.hero-backdrop::after {
  content: "FASIL GHEBBI  ·  GONDAR";
  position: absolute; left: 22px; bottom: 21px;
  padding: 8px 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px;
  background: rgba(13, 39, 27, .72); color: #fff;
  font-size: 9px; font-weight: 850; letter-spacing: .13em;
  box-shadow: 0 5px 18px rgba(0,0,0,.16); backdrop-filter: blur(10px);
  pointer-events: none;
}
.hero .search-panel {
  position: relative; z-index: 3;
  width: min(1160px, 100%); max-width: 1160px;
  margin: clamp(38px, 4.2vw, 54px) auto 0 !important;
  padding: 11px; gap: 7px;
  border: 1px solid rgba(255,255,255,.8); border-radius: 22px;
  background: rgba(255,255,255,.985); color: #243c30;
  box-shadow: 0 24px 68px rgba(4,24,14,.24), 0 3px 12px rgba(4,24,14,.08);
}
.search-field { min-height: 66px; padding: 9px 15px; border-radius: 14px; }
.search-field:focus-within { background: #f4f8f4; border-color: rgba(38,111,77,.24); box-shadow: inset 0 0 0 1px rgba(38,111,77,.05), 0 0 0 3px rgba(38,111,77,.055); }
.search-field small { margin-bottom: 4px; color: #718076; font-size: 10px; font-weight: 850; letter-spacing: .065em; text-transform: uppercase; }
.search-field input, .search-select-trigger { color: #20382d; font-size: 14px; font-weight: 750; }
.search-field input::placeholder { color: #98a49c; font-weight: 450; }
.search-field-icon { color: #668171; }
.search-button { min-height: 56px; min-width: 158px; border-radius: 15px; font-size: 14px; font-weight: 850; box-shadow: 0 9px 20px rgba(25,93,62,.2); }

/* Marketplace discovery and property presentation */
.content-section {
  width: 100%; max-width: 1530px; margin-inline: auto;
  padding: clamp(66px, 6.5vw, 94px) clamp(20px, 6.5vw, 96px) 78px;
}
.section-heading { align-items: flex-end; gap: 24px; margin-bottom: 24px; }
.section-heading .eyebrow { margin-bottom: 9px; color: #829086; font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.section-heading h2 { margin: 0; color: var(--bf-ui-ink); font-size: clamp(30px, 3.2vw, 43px); font-weight: 850; line-height: 1.17; letter-spacing: -.05em; text-wrap: balance; }
.section-heading p { max-width: 570px; margin: 10px 0 0; color: #748278; font-size: 14px; line-height: 1.78; }
.text-link { color: var(--bf-ui-brand-800); font-size: 13px; font-weight: 850; text-underline-offset: 4px; }
.text-link:hover { color: var(--bf-ui-brand-950); text-decoration: underline; }
.filter-row { align-items: center; gap: 13px; margin: 28px 0 16px; }
.chips { gap: 8px; }
.chip {
  min-height: 42px; padding: 9px 16px;
  border: 1px solid var(--bf-ui-border); border-radius: 999px;
  background: #fff; color: #5f7166; font-size: 12px; font-weight: 800;
  transition: transform .2s var(--bf-ui-ease), border-color .2s ease, background .2s ease, color .2s ease;
}
.chip:hover { transform: translateY(-1px); border-color: #b9d3c1; background: #f5f9f5; color: var(--bf-ui-brand-800); }
.chip.active { border-color: #c5dccb; background: #eaf3ec; color: #1d6044; box-shadow: inset 0 0 0 1px rgba(45,121,87,.04); }
.sort-select, .advanced-filter-row select {
  min-height: 44px; padding: 9px 13px; border: 1px solid var(--bf-ui-border);
  border-radius: 13px; background: #fff; color: #4e6658; font-size: 13px; font-weight: 750;
}
.advanced-filter-row {
  gap: 12px; margin: 0 0 20px; padding: 16px;
  border: 1px solid #e5ece5; border-radius: 18px;
  background: linear-gradient(110deg, #f4f7f3, #f8faf8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}
.advanced-filter-row label { gap: 7px; }
.advanced-filter-row label span { color: #748278; font-size: 11px; font-weight: 850; letter-spacing: .025em; }
.results-meta { gap: 12px; margin: 20px 0 14px; color: #66786c; font-size: 12px; font-weight: 750; }
.demo-label { padding: 6px 10px; border: 1px solid var(--bf-ui-border); border-radius: 999px; background: #fff; color: #77867c; font-size: 10px; font-weight: 750; }
.property-grid { gap: clamp(16px, 1.8vw, 25px); }
.property-card {
  display: flex; flex-direction: column; min-width: 0;
  border: 1px solid #e3eae4; border-radius: 22px;
  background: #fff; box-shadow: var(--bf-ui-shadow-sm); overflow: hidden;
  transition: transform .28s var(--bf-ui-ease), box-shadow .28s ease, border-color .2s ease;
}
.property-card:hover { transform: translateY(-5px); border-color: #cbdccf; box-shadow: var(--bf-ui-shadow-md); }
.property-card:focus-within { outline: 3px solid rgba(44,128,88,.23); outline-offset: 3px; }
.card-image { height: 248px; background: #eaf0eb; }
.card-image img { transition: transform .55s var(--bf-ui-ease), filter .3s ease; }
.property-card:hover .card-image img { transform: scale(1.045); filter: saturate(1.035); }
.badge { z-index: 1; padding: 7px 11px; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; background: rgba(255,255,255,.94); color: #28563e; font-size: 10px; font-weight: 850; box-shadow: 0 4px 13px rgba(0,0,0,.1); backdrop-filter: blur(8px); }
.heart { z-index: 2; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.62); background: rgba(255,255,255,.95); color: #354a3c; box-shadow: 0 5px 16px rgba(0,0,0,.13); }
.heart.saved { background: #fff0ee; color: #cf5d58; border-color: #f3d7d4; }
.card-content { gap: 11px; padding: 20px; }
.card-location { color: #77867b; font-size: 12px; font-weight: 800; }
.card-title { color: #24392d; font-size: 17px; line-height: 1.42; font-weight: 850; overflow-wrap: anywhere; }
.card-meta { gap: 14px; color: #758379; font-size: 12px; }
.card-meta .bf-icon, .card-location .bf-icon, .card-specific-place .bf-icon { color: #648471; }
.card-price { padding-top: 13px; border-top: 1px solid #edf1ed; }
.card-price strong { color: var(--bf-ui-brand-800); font-size: 22px; font-weight: 900; letter-spacing: -.035em; }
.card-price small { color: #88948c; font-size: 11px; }
.empty-state { padding: 62px 22px; border: 1px dashed #d8e4d9; border-radius: 22px; background: #fafcfa; }
.empty-state > div { color: var(--bf-ui-brand-700); }

/* Process cards, landlord call-to-action and footer */
.how-section { width: 100%; max-width: 1530px; margin-inline: auto; padding: 40px clamp(20px, 6.5vw, 96px) 72px; }
.how-section .section-heading h2 { color: var(--bf-ui-ink); }
.steps { gap: 18px; }
.steps article {
  padding: 27px; border: 1px solid #e4ebe5; border-radius: 21px;
  background: #fff; box-shadow: var(--bf-ui-shadow-sm);
  transition: transform .24s var(--bf-ui-ease), box-shadow .24s ease, border-color .2s ease;
}
.steps article:hover { transform: translateY(-4px); border-color: #cadbce; box-shadow: var(--bf-ui-shadow-md); }
.step-no { color: #bdc9bf; font-size: 12px; font-weight: 900; }
.step-icon { width: 49px; height: 49px; border: 1px solid #dce9df; border-radius: 15px; background: linear-gradient(145deg,#f1f7f2,#e5f0e8); color: var(--bf-ui-brand-800); }
.steps h3 { color: #263e30; font-size: 17px; font-weight: 850; }
.steps p { color: #748278; font-size: 13px; line-height: 1.78; }
.owner-cta {
  margin: 25px clamp(18px, 6vw, 88px) 68px;
  padding: clamp(28px, 4vw, 43px) clamp(23px, 4.5vw, 54px);
  border: 1px solid rgba(255,255,255,.12); border-radius: 25px;
  background: radial-gradient(circle at 92% 14%, rgba(215,177,121,.2), transparent 27%), linear-gradient(120deg,#123d2d,#1e6042 72%,#286b49);
  box-shadow: 0 20px 50px rgba(17,65,41,.16);
}
.owner-cta .eyebrow { color: #d7e9dc; }
.owner-cta h2 { color: #fff; font-size: clamp(27px, 3.2vw, 38px); font-weight: 850; letter-spacing: -.045em; }
.owner-cta p { color: rgba(240,248,242,.82); font-size: 14px; line-height: 1.8; }
.owner-cta .btn-light { min-height: 48px; padding-inline: 21px; border-radius: 14px; font-weight: 850; box-shadow: 0 8px 18px rgba(0,0,0,.1); }
.footer { padding: 31px clamp(18px, 6vw, 88px); border-top: 1px solid var(--bf-ui-border); color: #77867c; font-size: 12px; }
.footer-brand { color: #253b2e; }

/* Consistent line-icon treatment across all icon families */
.bf-icon, .bf-inline-icon, .workspace-nav-icon svg, .workspace-theme-toggle svg,
.theme-icon-button svg, .search-field-icon svg, .step-icon svg, .hero-trust svg,
.mobile-nav svg, .account-menu-icon svg, .report-marker svg, .notification-icon svg,
.area-metric-icon svg, .area-panel-icon svg, .area-row-symbol svg {
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.bf-icon { width: 19px; height: 19px; display: inline-block; vertical-align: -4px; }
.bf-inline-icon { width: 19px; height: 19px; vertical-align: -4px; }
.workspace-nav-icon svg { width: 21px; height: 21px; }
.workspace-nav-icon, .area-metric-icon, .area-panel-icon, .area-row-symbol, .notification-icon, .report-marker {
  display: inline-grid; place-items: center; flex: 0 0 auto;
}
.workspace-nav-icon { width: 35px; height: 35px; border-radius: 11px; }

/* Buttons, form controls, password controls and validation states */
.btn {
  min-height: 46px; padding: 11px 19px; border-radius: 13px;
  font-size: 13px; font-weight: 850;
  transition: transform .2s var(--bf-ui-ease), box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:not(:disabled):hover { transform: translateY(-1px); }
.btn:not(:disabled):active { transform: translateY(0) scale(.985); }
.btn-primary { background: linear-gradient(135deg,#267b52,#185d3d); color: #fff; box-shadow: 0 7px 18px rgba(25,93,62,.16); }
.btn-primary:hover { background: linear-gradient(135deg,#2b875a,#1d6846); box-shadow: 0 11px 24px rgba(25,93,62,.22); }
.btn-outline { border: 1px solid #dce6de; background: #fff; color: #345541; }
.btn-outline:hover { border-color: #b6d1bd; background: #f5f9f5; color: #1f6545; }
.btn-quiet { color: #547260; }
.btn-small { min-height: 38px; padding: 8px 12px; border-radius: 11px; font-size: 12px; }
.form-grid { gap: 15px; }
.form-grid label, .profile-form label, .area-editor-form label, .area-management-form label, .admin-grant-form label {
  color: #51675a; font-size: 12px; font-weight: 800; line-height: 1.55;
}
.form-grid input, .form-grid select, .form-grid textarea,
.profile-form input, .profile-form select, .profile-form textarea,
.area-editor-form input, .area-editor-form select, .area-management-form input,
.area-management-form select, .admin-grant-form input {
  min-height: 50px; padding: 12px 15px; border: 1px solid #dfe8e1;
  border-radius: 13px; background: #fbfcfb; color: #233c2d;
  font-size: 15px; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.form-grid textarea, .profile-form textarea { min-height: 116px; line-height: 1.7; resize: vertical; }
.form-grid :is(input,select,textarea):focus,
.profile-form :is(input,select,textarea):focus,
.area-editor-form :is(input,select,textarea):focus,
.area-management-form :is(input,select,textarea):focus,
.admin-grant-form input:focus {
  border-color: #32815d !important; background: #fff;
  box-shadow: var(--bf-ui-focus) !important; outline: 0;
}
.form-grid input::placeholder, .form-grid textarea::placeholder,
.profile-form input::placeholder, .profile-form textarea::placeholder { color: #9aa79e; }
.field-hint, .form-status, .property-inquiry-status { color: #79877e; font-size: 12px; line-height: 1.7; }
.checkline { gap: 10px; color: #4d6657; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--bf-ui-brand-700); }

/* Dialogs and account security */
.modal, .auth-dialog, .admin-mfa-dialog {
  border: 1px solid rgba(224,234,225,.96); border-radius: 25px;
  background: #fff; color: #20392d; box-shadow: var(--bf-ui-shadow-lg);
}
.modal { padding: clamp(21px, 3.2vw, 33px); }
.modal::backdrop, .admin-mfa-dialog::backdrop { background: rgba(7,25,17,.67); backdrop-filter: blur(8px) saturate(115%); }
.modal[open], .auth-dialog[open], .admin-mfa-dialog[open] { animation: bfIntlDialogIn .22s var(--bf-ui-ease) both; }
.modal-close { width: 42px; height: 42px; border: 1px solid #e3ebe4; border-radius: 13px; background: #f5f8f5; color: #536a5b; }
.modal-close:hover { background: #e9f2eb; color: #1c6344; }
.modal-heading { padding: 5px 4px 20px; }
.modal-heading h2 { color: #1d382b; font-size: clamp(24px,3vw,31px); font-weight: 850; line-height: 1.28; letter-spacing: -.045em; }
.modal-heading p { color: #728178; font-size: 13px; line-height: 1.78; }
.auth-dialog { width: min(500px, calc(100% - 26px)); padding: clamp(23px,4vw,36px); }
.auth-dialog .modal-heading h2 { font-size: clamp(27px,4vw,34px); }
.auth-dialog .modal-heading > p { font-size: 13px; line-height: 1.8; }
.auth-form { gap: 14px; }
.auth-form > .auth-field { color: #4d6657; font-size: 12px; font-weight: 800; }
.auth-input-wrap, .password-control { min-height: 56px; border: 1px solid #dfe8e1; border-radius: 14px; background: #fbfcfb; }
.auth-input-wrap:focus-within, .password-control:focus-within { border-color: #32815d; box-shadow: var(--bf-ui-focus); }
.auth-input-wrap input, .password-control input { min-height: 54px; color: #263e30 !important; font-size: 15px !important; }
.password-toggle { min-height: 38px; border: 1px solid #e1e9e2; border-radius: 11px; background: #f3f7f3; color: #587063; }
.auth-forgot-password { color: #246d4a; font-size: 12px; }
.auth-password-confirm input { min-height: 53px; border: 1px solid #dfe8e1; border-radius: 13px; background: #fbfcfb; color: #263e30; }
.admin-mfa-dialog { width: min(530px, calc(100% - 26px)); border-color: #dce8df; }
.admin-mfa-icon { border-radius: 20px; background: linear-gradient(145deg,#e6f2e9,#f6f9f6); color: #205744; }
#adminMfaCode { min-height: 72px; border: 1.5px solid #d8e5db; border-radius: 16px; background: #fbfdfb; font-size: 32px; font-weight: 850; }
.toast { max-width: min(560px,calc(100vw - 28px)); padding: 13px 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 15px; background: #173f30; color: #fff; font-size: 13px; font-weight: 750; line-height: 1.6; box-shadow: var(--bf-ui-shadow-lg); }

/* Renter, landlord and administration application shells */
.workspace-route { min-height: 100vh; background: #f3f6f3 !important; color: #1d382c; }
.workspace-route .workspace-app {
  min-height: 100vh; height: auto; overflow: visible;
  grid-template-columns: 278px minmax(0,1fr);
  background: #f3f6f3;
}
.workspace-route .workspace-sidebar {
  position: sticky; top: 0; align-self: start; width: auto; height: 100vh; max-height: 100vh;
  padding: 28px 17px 20px; overflow-y: auto; overscroll-behavior: contain;
  background: radial-gradient(circle at 14% 0%, rgba(83,157,111,.18), transparent 28%), linear-gradient(165deg,#103b2d 0%,#164b37 58%,#103326 100%);
  border-right: 1px solid rgba(255,255,255,.08);
  box-shadow: 10px 0 34px rgba(14,48,31,.05);
}
.workspace-route .workspace-brand { padding: 3px 9px 25px; font-size: 21px; }
.workspace-route .workspace-brand-mark { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: linear-gradient(145deg,#398766,#1b5840); box-shadow: 0 9px 20px rgba(0,0,0,.13); }
.workspace-route .workspace-side-profile { margin: 0 0 22px; padding: 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(255,255,255,.075); }
.workspace-route .workspace-side-profile strong { color: #f8fcf8; font-size: 13px; font-weight: 850; }
.workspace-route .workspace-side-profile small { color: #b8d2c2; font-size: 11px; }
.workspace-route .workspace-avatar { width: 40px; height: 40px; border: 2px solid rgba(255,255,255,.25); border-radius: 13px; background: #e2f0e5; color: #17513a; font-weight: 850; }
.workspace-route .workspace-navigation { gap: 6px; padding: 0 2px; }
.workspace-route .workspace-nav-item {
  min-height: 49px; padding: 7px 10px; gap: 11px;
  border: 1px solid transparent; border-radius: 13px;
  background: transparent; color: #c8dbce; font-size: 13px; font-weight: 750;
}
.workspace-route .workspace-nav-item:hover { background: rgba(255,255,255,.085); color: #fff; transform: translateX(2px); }
.workspace-route .workspace-nav-item.active {
  border-color: rgba(224,243,229,.2);
  background: linear-gradient(100deg,rgba(232,245,235,.17),rgba(232,245,235,.09));
  color: #fff; box-shadow: inset 3px 0 0 #dfbd8d;
}
.workspace-route .workspace-nav-icon { border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.075); color: #d5e5d9; }
.workspace-route .workspace-nav-item.active .workspace-nav-icon { background: rgba(226,241,229,.16); color: #f5e0bc; }
.workspace-route .workspace-nav-label { color: inherit; font-size: 13px; font-weight: 750; }
.workspace-route .workspace-side-help { padding: 15px; border: 1px solid rgba(255,255,255,.12); border-radius: 15px; background: rgba(255,255,255,.07); }
.workspace-route .workspace-side-help strong { color: #fff; font-size: 12px; }
.workspace-route .workspace-side-help small { color: #b8cfc0; font-size: 11px; line-height: 1.7; }
.workspace-route .workspace-back-link { min-height: 40px; color: #d2e1d7; font-size: 11px; }
.workspace-route .workspace-back-link:hover { color: #fff; }
.workspace-route .workspace-main { min-width: 0; min-height: 100vh; overflow: visible; background: #f3f6f3; }
.workspace-route .workspace-topline {
  position: sticky; top: 0; z-index: 12; min-height: 78px;
  padding: 12px clamp(22px,3.2vw,48px);
  border-bottom: 1px solid #e3eae3; background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px) saturate(150%);
}
.workspace-route .workspace-topline > div:first-child > span { color: #276b4b; font-size: 10px; letter-spacing: .13em; font-weight: 900; }
.workspace-route .workspace-topline > div:first-child > small { color: #829087; font-size: 11px; }
.workspace-route .workspace-top-actions { gap: 8px; }
.workspace-route .workspace-theme-toggle, .workspace-route .workspace-language-toggle,
.workspace-route .workspace-market-link, .workspace-route .workspace-signout {
  min-height: 42px; border: 1px solid #e0e9e1; border-radius: 12px;
  background: #fff; color: #496253; font-size: 12px; font-weight: 800;
  box-shadow: 0 2px 6px rgba(24,53,36,.025);
  transition: transform .18s var(--bf-ui-ease), border-color .18s ease, background .18s ease;
}
.workspace-route .workspace-theme-toggle:hover, .workspace-route .workspace-language-toggle:hover,
.workspace-route .workspace-market-link:hover { border-color: #c4d9c9; background: #f0f6f1; color: #1b6242; transform: translateY(-1px); }
.workspace-route .workspace-market-link { padding: 9px 13px; }
.workspace-route .workspace-signout { padding: 9px 13px; color: #96635c; }
.workspace-route .workspace-signout:hover { border-color: #e7c9c4; background: #fff5f3; color: #9b453c; }
.workspace-route .workspace-top-avatar { width: 42px; height: 42px; border: 2px solid #dceade; background: #e8f2e9; color: #1b6242; box-shadow: none; font-weight: 900; }
.workspace-route .workspace-page { width: 100%; max-width: 1600px; padding: 36px clamp(22px,3.2vw,50px) 82px; }
.workspace-route .dashboard-welcome {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 22px;
  margin: 0 0 22px; padding: 30px clamp(23px,2.8vw,38px);
  border: 1px solid #dce8de; border-radius: 23px;
  background: radial-gradient(circle at 94% 10%,rgba(201,156,98,.16),transparent 25%), linear-gradient(112deg,#fff 0%,#f5f9f4 65%,#edf5ee 100%);
  box-shadow: var(--bf-ui-shadow-sm); overflow: hidden;
}
.workspace-route .dashboard-welcome h1 { color: #1b392b; font-size: clamp(29px,2.7vw,40px); line-height: 1.2; letter-spacing: -.05em; font-weight: 900; }
.workspace-route .dashboard-welcome p { margin-top: 9px; color: #6d8173; font-size: 13px; line-height: 1.75; }
.workspace-route .dashboard-welcome .section-kicker { color: #987a50; font-size: 9px; letter-spacing: .16em; }
.workspace-route .dashboard-stat-grid { grid-template-columns: repeat(auto-fit,minmax(185px,1fr)); gap: 14px; margin: 0 0 23px; }
.workspace-route .dashboard-stat {
  position: relative; min-height: 136px; padding: 21px 20px;
  border: 1px solid #e2eae2; border-radius: 19px; background: #fff;
  box-shadow: var(--bf-ui-shadow-sm);
  transition: transform .22s var(--bf-ui-ease), box-shadow .22s ease, border-color .22s ease;
}
.workspace-route .dashboard-stat:hover { transform: translateY(-2px); border-color: #cddfd0; box-shadow: var(--bf-ui-shadow-md); }
.workspace-route .dashboard-stat::before { width: 3px; background: linear-gradient(180deg,#2e8059,#d4ad77); }
.workspace-route .dashboard-stat strong { color: #174b35; font-size: clamp(27px,2.1vw,36px); font-weight: 900; letter-spacing: -.045em; }
.workspace-route .dashboard-stat span { margin-top: 9px; color: #405f4c; font-size: 12px; font-weight: 850; }
.workspace-route .dashboard-stat small { margin-top: 5px; color: #829087; font-size: 10px; line-height: 1.55; }
.workspace-route .dashboard-card,
.workspace-route .area-editor-panel, .workspace-route .area-directory-panel,
.workspace-route .place-manager-card, .workspace-route .bf-analytics-panel,
.workspace-route .profile-card {
  min-width: 0; margin: 0 0 17px; padding: 23px;
  border: 1px solid #e2eae2; border-radius: 20px;
  background: #fff; box-shadow: var(--bf-ui-shadow-sm);
}
.workspace-route .dashboard-card-heading { align-items: center; gap: 15px; margin-bottom: 18px; }
.workspace-route .dashboard-card-heading h2 { color: #203b2c; font-size: 20px; font-weight: 900; letter-spacing: -.035em; }
.workspace-route .dashboard-card-heading p { margin-top: 5px; color: #7b897f; font-size: 12px; line-height: 1.7; }
.workspace-route .section-kicker { color: #758a79; font-size: 9px; letter-spacing: .15em; font-weight: 900; }
.workspace-route .dashboard-list { gap: 10px; }
.workspace-route .dashboard-listing,
.workspace-route .dashboard-person,
.workspace-route .admin-account-row,
.workspace-route .area-manager-row,
.workspace-route .dashboard-report {
  border: 1px solid #e7ede7; border-radius: 15px; background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s var(--bf-ui-ease);
}
.workspace-route .dashboard-listing { min-height: 98px; padding: 12px; gap: 14px; }
.workspace-route .dashboard-listing > img { width: 98px; height: 76px; border-radius: 12px; background: #eef2ee; object-fit: cover; }
.workspace-route .dashboard-listing-copy strong,
.workspace-route .admin-account-copy strong,
.workspace-route .dashboard-person-copy strong { color: #294535; font-size: 13px; font-weight: 850; }
.workspace-route .dashboard-listing-copy > span,
.workspace-route .admin-account-copy small,
.workspace-route .dashboard-person-copy small { color: #7c8a80; font-size: 11px; line-height: 1.65; }
.workspace-route .dashboard-empty { padding: 35px 18px; border: 1px dashed #d8e4d9; border-radius: 16px; background: #f8faf7; color: #76867b; font-size: 13px; line-height: 1.75; }
.workspace-route .dashboard-notification { padding: 16px 13px; border-bottom-color: #edf1ed; }
.workspace-route .dashboard-notification.unread { border: 1px solid #dfece1; border-radius: 14px; background: #f5f9f5; }
.workspace-route .dashboard-notification-copy strong { color: #2b4536; font-size: 13px; }
.workspace-route .dashboard-notification-copy p { color: #718077; font-size: 12px; line-height: 1.75; }
.workspace-route .dashboard-report { grid-template-columns: 38px minmax(0,1fr) auto; gap: 13px; padding: 15px; }
.workspace-route .dashboard-report-copy strong { color: #2b4536; font-size: 12px; }
.workspace-route .dashboard-report-copy p { color: #718077; font-size: 11px; line-height: 1.7; }
.workspace-route .dashboard-report-copy small { color: #87948b; font-size: 10px; }
.workspace-route .report-marker { width: 36px; height: 36px; border-radius: 12px; background: #f8f0e5; color: #9a6b35; }
.workspace-route .count-chip, .workspace-route .role-chip, .workspace-route .listing-status,
.workspace-route .admin-level-pill, .workspace-route .pending-mini { min-height: 27px; padding: 5px 10px; border-radius: 999px; font-size: 10px; font-weight: 850; }
.workspace-route .role-chip.admin { background: #f8f0e5; border-color: #eddfc6; color: #8d642f; }
.workspace-route .role-chip.landlord { background: #eaf4ec; border-color: #d4e6d8; color: #246a47; }
.workspace-route .role-chip.renter { background: #edf3f5; border-color: #dae7eb; color: #426879; }
.workspace-route .listing-status.status-published { background: #e8f4eb; color: #237048 !important; }
.workspace-route .listing-status.status-pending { background: #fbf3e5; color: #91652b !important; }
.workspace-route .listing-status.status-rejected { background: #fbebea; color: #a84c44 !important; }
.workspace-route .listing-status.status-paused { background: #edf0f1; color: #65757c !important; }
.workspace-route .workspace-page table { min-width: 640px; border-collapse: separate; border-spacing: 0; }
.workspace-route .workspace-page th { padding: 13px 14px; border-bottom: 1px solid #e5ece5; background: #f5f8f5; color: #738278; font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
.workspace-route .workspace-page td { padding: 14px; border-bottom: 1px solid #edf1ed; color: #4f6758; font-size: 12px; line-height: 1.65; }
.workspace-route .workspace-page tbody tr:hover td { background: #f8faf7; }
.workspace-route .bf-analytics-table-wrap { max-width: 100%; border: 1px solid #e5ece5; border-radius: 15px; background: #fff; }
.workspace-route .bf-analytics-metric { border: 1px solid #e3ebe3; border-radius: 17px; background: linear-gradient(140deg,#fff,#f7faf6); box-shadow: var(--bf-ui-shadow-sm); }
.workspace-route .bf-analytics-metric > strong { color: #1d6747; font-weight: 900; }
.workspace-route .bf-analytics-hero { border-radius: 23px; background: linear-gradient(120deg,#113c2e,#1c5b42); box-shadow: var(--bf-ui-shadow-md); }
.workspace-route .area-page-hero { border: 1px solid #dce8de; border-radius: 23px; background: linear-gradient(120deg,#fff,#f0f6ef); box-shadow: var(--bf-ui-shadow-sm); }
.workspace-route .area-metric-card { border: 1px solid #e3ebe3; border-radius: 17px; background: #fff; box-shadow: var(--bf-ui-shadow-sm); }
.workspace-route .inquiry-layout { gap: 16px; }
.workspace-route .inquiry-thread-list, .workspace-route .inquiry-message-list { border: 1px solid #e4ebe4; border-radius: 18px; background: #fff; }
.workspace-route .inquiry-thread-item { border-radius: 13px; }
.workspace-route .inquiry-thread-item[aria-current="true"], .workspace-route .inquiry-thread-item.active { background: #edf5ee; }
.workspace-route .inquiry-conversation-card { border: 1px solid #e4ebe4; border-radius: 18px; background: #fff; box-shadow: var(--bf-ui-shadow-sm); }
.workspace-route .inquiry-message { max-width: 84%; border: 1px solid #e2ebe3; border-radius: 16px; background: #f4f8f4; color: #334e3d; }
.workspace-route .inquiry-reply-form { border-top: 1px solid #edf1ed; }
.workspace-route .workspace-error { border: 1px solid #e2eae2; border-radius: 20px; background: #fff; box-shadow: var(--bf-ui-shadow-md); }
.workspace-route .workspace-auth-required { width: min(540px,calc(100% - 32px)); margin: 10vh auto; padding: clamp(28px,5vw,48px); border: 1px solid #e1e9e2; border-radius: 25px; background: #fff; box-shadow: var(--bf-ui-shadow-md); text-align: center; }
.workspace-route .workspace-auth-icon { width: 64px; height: 64px; margin: 0 auto 20px; border: 1px solid #dbe9de; border-radius: 19px; background: #edf6ef; color: #246d4c; }

/* Standalone policy, safety and system pages use the same product identity */
.bf-system-page { background: radial-gradient(circle at 10% 0%,#e4eee8 0,transparent 36%), linear-gradient(140deg,#f5f8f6,#eef3f0); font-family: "Manrope","Noto Sans Ethiopic",sans-serif; }
.bf-system-card, .bf-legal { border: 1px solid #dfe9e2; border-radius: 26px; background: rgba(255,255,255,.96); box-shadow: var(--bf-ui-shadow-md); }
.bf-system-mark { border-radius: 18px; background: linear-gradient(145deg,#398766,#103a2a); box-shadow: 0 9px 22px rgba(20,69,52,.18); }
.bf-system-kicker { color: #71857a; font-size: 10px; letter-spacing: .17em; }
.bf-system-card h1, .bf-legal h1 { color: #173b32; font-weight: 900; letter-spacing: -.05em; }
.bf-system-card p:not(.bf-system-kicker), .bf-legal p, .bf-legal li { color: #52665d; line-height: 1.85; }
.bf-system-button { min-height: 50px; border-radius: 13px; background: linear-gradient(135deg,#267b52,#185d3d); }
.bf-system-back { color: #28604b; }
.bf-legal h2 { color: #213c2e; font-weight: 850; }
.bf-legal-note { border-left-color: var(--bf-ui-gold-500); background: #f8f5ed; }

/* Dark mode — preserve clear contrast in the same visual system */
html[data-theme="dark"] { color-scheme: dark; }
html[data-theme="dark"] body { background: #0d1712; color: #e9f1eb; }
html[data-theme="dark"] .app-shell { background: #111d16; }
html[data-theme="dark"] .topbar { background: rgba(17,29,22,.94); border-bottom-color: #293d30; }
html[data-theme="dark"] .brand { color: #eef6ef; }
html[data-theme="dark"] .brand small, html[data-theme="dark"] .desktop-nav a { color: #a8b9ad; }
html[data-theme="dark"] .icon-btn, html[data-theme="dark"] .lang-btn, html[data-theme="dark"] .avatar-btn { border-color: #33483a; background: #1a2a20; color: #e4efe6; }
html[data-theme="dark"] .hero { background: radial-gradient(ellipse at 78% 8%,rgba(193,156,101,.12),transparent 27%),linear-gradient(125deg,#0b2118,#123b2b 60%,#194631); }
html[data-theme="dark"] .content-section, html[data-theme="dark"] .how-section { background: #111d16; }
html[data-theme="dark"] .section-heading h2, html[data-theme="dark"] .how-section h2 { color: #edf5ee; }
html[data-theme="dark"] .section-heading p, html[data-theme="dark"] .results-meta { color: #a4b4a8; }
html[data-theme="dark"] .filter-row .chip, html[data-theme="dark"] .sort-select,
html[data-theme="dark"] .advanced-filter-row, html[data-theme="dark"] .advanced-filter-row select,
html[data-theme="dark"] .browse-toolbar { border-color: #304337; background: #19291f; color: #dce9df; }
html[data-theme="dark"] .chip { color: #c0d0c4; }
html[data-theme="dark"] .chip.active { border-color: #456b51; background: #243e2c; color: #e8f3e9; }
html[data-theme="dark"] .property-card, html[data-theme="dark"] .steps article,
html[data-theme="dark"] .modal, html[data-theme="dark"] .auth-dialog,
html[data-theme="dark"] .contact-box, html[data-theme="dark"] .property-inquiry-form,
html[data-theme="dark"] .property-inquiry-demo { border-color: #304538; background: #17261d; color: #e4eee6; }
html[data-theme="dark"] .card-title, html[data-theme="dark"] .card-price strong,
html[data-theme="dark"] .detail-layout h2, html[data-theme="dark"] .modal-heading h2,
html[data-theme="dark"] .auth-dialog .modal-heading h2 { color: #ecf5ed; }
html[data-theme="dark"] .card-location, html[data-theme="dark"] .card-meta,
html[data-theme="dark"] .card-price small, html[data-theme="dark"] .modal-heading p,
html[data-theme="dark"] .detail-description { color: #a6b7ab; }
html[data-theme="dark"] .how-section { background: #16251b; }
html[data-theme="dark"] .steps h3 { color: #e7f1e8; }
html[data-theme="dark"] .steps p { color: #a6b7ab; }
html[data-theme="dark"] .footer { border-top-color: #2a3e31; color: #a2b2a6; }
html[data-theme="dark"] .footer-brand { color: #e9f3eb; }
html[data-theme="dark"] .owner-cta { border-color: #385844; }
html[data-theme="dark"] .form-grid label, html[data-theme="dark"] .profile-form label,
html[data-theme="dark"] .auth-form > .auth-field { color: #d2e1d7; }
html[data-theme="dark"] .form-grid input, html[data-theme="dark"] .form-grid select,
html[data-theme="dark"] .form-grid textarea, html[data-theme="dark"] .profile-form input,
html[data-theme="dark"] .profile-form select, html[data-theme="dark"] .profile-form textarea,
html[data-theme="dark"] .auth-input-wrap, html[data-theme="dark"] .password-control,
html[data-theme="dark"] .auth-password-confirm input { border-color: #344b3b; background: #142119; color: #eef7f0; }
html[data-theme="dark"] .form-grid input::placeholder, html[data-theme="dark"] .form-grid textarea::placeholder { color: #809489; }
html[data-theme="dark"] .modal-close { border-color: #344b3b; background: #24382b; color: #dce9df; }
html[data-theme="dark"] .workspace-route, html[data-theme="dark"] .workspace-route .workspace-app { background: #101b15 !important; color: #e7f0e9; }
html[data-theme="dark"] .workspace-route .workspace-sidebar { background: radial-gradient(circle at 14% 0%,rgba(83,157,111,.15),transparent 28%),linear-gradient(165deg,#0b261b,#103b29 60%,#0a2117); }
html[data-theme="dark"] .workspace-route .workspace-main { background: #101b15; }
html[data-theme="dark"] .workspace-route .workspace-topline { background: rgba(23,34,28,.94); border-bottom-color: #293a30; }
html[data-theme="dark"] .workspace-route .workspace-topline > div:first-child > span { color: #a8d4b8; }
html[data-theme="dark"] .workspace-route .workspace-topline > div:first-child > small { color: #9aafa1; }
html[data-theme="dark"] .workspace-route .workspace-theme-toggle, html[data-theme="dark"] .workspace-route .workspace-language-toggle,
html[data-theme="dark"] .workspace-route .workspace-market-link, html[data-theme="dark"] .workspace-route .workspace-signout { border-color: #354b3c; background: #1b2b21; color: #d5e4d9; }
html[data-theme="dark"] .workspace-route .dashboard-welcome { border-color: #385140; background: linear-gradient(120deg,#1b2c22,#20382b); }
html[data-theme="dark"] .workspace-route .dashboard-welcome h1, html[data-theme="dark"] .workspace-route .dashboard-card-heading h2,
html[data-theme="dark"] .workspace-route .dashboard-stat strong { color: #eef7f0; }
html[data-theme="dark"] .workspace-route .dashboard-welcome p, html[data-theme="dark"] .workspace-route .dashboard-card-heading p,
html[data-theme="dark"] .workspace-route .dashboard-stat span { color: #bfd1c4; }
html[data-theme="dark"] .workspace-route .dashboard-card, html[data-theme="dark"] .workspace-route .dashboard-stat,
html[data-theme="dark"] .workspace-route .area-editor-panel, html[data-theme="dark"] .workspace-route .area-directory-panel,
html[data-theme="dark"] .workspace-route .place-manager-card, html[data-theme="dark"] .workspace-route .bf-analytics-panel,
html[data-theme="dark"] .workspace-route .profile-card { border-color: #30483a; background: #192920; color: #e4eee7; }
html[data-theme="dark"] .workspace-route .dashboard-listing, html[data-theme="dark"] .workspace-route .dashboard-person,
html[data-theme="dark"] .workspace-route .admin-account-row, html[data-theme="dark"] .workspace-route .area-manager-row,
html[data-theme="dark"] .workspace-route .dashboard-report, html[data-theme="dark"] .workspace-route .inquiry-conversation-card,
html[data-theme="dark"] .workspace-route .inquiry-thread-list, html[data-theme="dark"] .workspace-route .inquiry-message-list { background: #1b2d23; border-color: #344c3d; }
html[data-theme="dark"] .workspace-route .dashboard-listing-copy strong, html[data-theme="dark"] .workspace-route .admin-account-copy strong,
html[data-theme="dark"] .workspace-route .dashboard-person-copy strong, html[data-theme="dark"] .workspace-route .dashboard-notification-copy strong,
html[data-theme="dark"] .workspace-route .dashboard-report-copy strong { color: #e2eee5; }
html[data-theme="dark"] .workspace-route .dashboard-listing-copy > span, html[data-theme="dark"] .workspace-route .dashboard-notification-copy p,
html[data-theme="dark"] .workspace-route .dashboard-report-copy p { color: #a6b7ab; }
html[data-theme="dark"] .workspace-route .dashboard-empty { background: #1b2d23; border-color: #3a5444; color: #c2d4c7; }
html[data-theme="dark"] .workspace-route .workspace-page th { background: #1d2e23; color: #b8cbbd; border-color: #334b3b; }
html[data-theme="dark"] .workspace-route .workspace-page td { color: #c1d2c6; border-color: #2b4132; }
html[data-theme="dark"] .workspace-route .workspace-page tbody tr:hover td { background: #1b2d23; }
html[data-theme="dark"] .workspace-route .workspace-auth-required { background: #17271e; border-color: #36503f; color: #edf5ef; }
html[data-theme="dark"] .workspace-route .workspace-auth-required h1 { color: #edf5ef; }
html[data-theme="dark"] .workspace-route .workspace-auth-required p { color: #b9cbbf; }
html[data-theme="dark"] .bf-system-card, html[data-theme="dark"] .bf-legal { border-color: #344b3b; background: #17261d; }
html[data-theme="dark"] .bf-system-card h1, html[data-theme="dark"] .bf-legal h1, html[data-theme="dark"] .bf-legal h2 { color: #edf5ef; }
html[data-theme="dark"] .bf-system-card p:not(.bf-system-kicker), html[data-theme="dark"] .bf-legal p,
html[data-theme="dark"] .bf-legal li { color: #b8c9bd; }
html[data-theme="dark"] .bf-legal-note { background: #2b2a1f; color: #e9dfc4; }

/* Responsive behavior and mobile ergonomics */
@media (min-width: 1440px) {
  .content-section, .how-section { padding-inline: clamp(78px,7vw,116px); }
}
@media (max-width: 1100px) {
  .hero { padding: 76px 34px 42px; }
  .hero-copy { max-width: 49%; }
  .hero-backdrop { inset: 72px 28px auto auto; width: 42%; height: clamp(235px,29vw,315px); }
  .workspace-route .workspace-app { grid-template-columns: 252px minmax(0,1fr); }
  .workspace-route .workspace-sidebar { padding-inline: 14px; }
  .workspace-route .workspace-page { padding-inline: 25px; }
}
@media (max-width: 850px) {
  .workspace-route .workspace-app { grid-template-columns: 1fr; }
  .workspace-route .workspace-sidebar { position: relative; top: auto; width: 100%; height: auto; max-height: none; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .workspace-route .workspace-side-bottom { display: none; }
  .workspace-route .workspace-navigation { display: flex; overflow-x: auto; padding: 0 3px 12px; scrollbar-width: thin; }
  .workspace-route .workspace-nav-item { flex: 0 0 auto; min-height: 45px; white-space: nowrap; }
  .workspace-route .workspace-topline { min-height: 70px; }
  .workspace-route .workspace-page { padding: 27px 22px 72px; }
}
@media (max-width: 700px) {
  .topbar { min-height: 66px; padding: 9px 13px; gap: 8px; }
  .brand { gap: 8px; font-size: 19px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 12px; }
  .brand small { font-size: 8px; letter-spacing: .01em; }
  .header-actions { gap: 6px; }
  .icon-btn, .lang-btn, .avatar-btn { min-width: 37px; min-height: 37px; height: 37px; border-radius: 11px; }
  .login-trigger { min-height: 38px; padding-inline: 12px; font-size: 12px; }
  .hero { padding: 42px 18px 27px; border-radius: 0 0 22px 22px; }
  .hero-copy { max-width: 100%; }
  .hero h1 { max-width: 620px; font-size: clamp(39px,10vw,52px); line-height: 1.1; }
  .hero-copy > p { max-width: 520px; font-size: 14px; }
  .hero-trust { gap: 10px 15px; margin-top: 18px; font-size: 11px; }
  .hero-backdrop {
    position: relative; inset: auto; order: 2; display: block;
    width: 100%; max-width: 680px; height: clamp(180px,49vw,236px);
    margin: 20px auto 0; padding: 6px; border-radius: 20px;
  }
  .hero-backdrop img { border-radius: 14px; }
  .hero-backdrop::after { left: 17px; bottom: 17px; padding: 7px 10px; font-size: 8px; }
  .hero .search-panel { order: 3; width: 100%; margin: 20px 0 0 !important; padding: 9px; border-radius: 18px; }
  .search-field { min-height: 56px; padding: 7px 10px; }
  .search-field input, .search-select-trigger { min-height: 40px; font-size: 16px; }
  .search-button { min-height: 50px; }
  .content-section { padding: 47px 16px 48px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .section-heading h2 { font-size: clamp(27px,7vw,33px); }
  .section-heading p { font-size: 13px; }
  .filter-row { align-items: flex-start; flex-direction: column; gap: 13px; margin: 20px 0 14px; }
  .chips { width: 100%; max-width: 100%; }
  .sort-select { align-self: flex-end; }
  .advanced-filter-row { padding: 13px; border-radius: 15px; }
  .property-grid { grid-template-columns: 1fr; gap: 15px; }
  .card-image { height: clamp(210px,62vw,265px); }
  .card-content { padding: 17px; }
  .card-title { font-size: 16px; }
  .how-section { padding: 30px 16px 45px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .steps article { padding: 21px; }
  .owner-cta { margin: 18px 14px 42px; padding: 25px 21px; border-radius: 20px; align-items: flex-start; flex-direction: column; }
  .owner-cta h2 { font-size: 27px; }
  .footer { padding: 24px 16px calc(28px + env(safe-area-inset-bottom)); flex-wrap: wrap; }
  .footer p { order: 3; width: 100%; margin: 0; }
  .mobile-nav { box-shadow: 0 -8px 28px rgba(20,40,30,.08); border-top-color: #e1e9e2; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .mobile-nav a { min-height: 48px; gap: 3px; font-size: 19px; }
  .mobile-nav a small { font-size: 10px; }
  .modal { width: calc(100% - 16px); max-height: min(92vh, 900px); padding: 19px; border-radius: 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 13px; }
  .form-grid .full { grid-column: auto; }
  .form-grid input, .form-grid select, .form-grid textarea,
  .profile-form input, .profile-form select, .profile-form textarea { font-size: 16px; min-height: 49px; }
  .detail-layout { grid-template-columns: 1fr; }
  .property-detail-image { height: 225px; }
  .workspace-route .workspace-brand { padding: 5px 8px 18px; }
  .workspace-route .workspace-side-profile { margin: 0 0 13px; padding: 11px 12px; }
  .workspace-route .workspace-navigation { margin-inline: -4px; padding-inline: 4px; }
  .workspace-route .workspace-nav-item { min-height: 43px; padding: 6px 9px; }
  .workspace-route .workspace-nav-icon { width: 30px; height: 30px; }
  .workspace-route .workspace-nav-icon svg { width: 18px; height: 18px; }
  .workspace-route .workspace-topline { align-items: flex-start; flex-wrap: wrap; padding: 10px 12px; gap: 9px; }
  .workspace-route .workspace-topline > div:first-child { flex: 1 1 100%; }
  .workspace-route .workspace-top-actions { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .workspace-route .workspace-market-link, .workspace-route .workspace-signout { min-height: 38px; padding: 8px 10px; font-size: 12px; }
  .workspace-route .workspace-theme-toggle, .workspace-route .workspace-language-toggle { min-height: 38px; }
  .workspace-route .workspace-top-avatar { width: 38px; height: 38px; }
  .workspace-route .workspace-page { padding: 19px 13px 58px; }
  .workspace-route .dashboard-welcome { align-items: flex-start; flex-direction: column; padding: 22px 18px; border-radius: 19px; }
  .workspace-route .dashboard-welcome h1 { font-size: 28px; line-height: 1.35; }
  .workspace-route .dashboard-welcome p { font-size: 13px; line-height: 1.8; }
  .workspace-route .dashboard-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .workspace-route .dashboard-stat { min-height: 122px; padding: 16px 13px; border-radius: 16px; }
  .workspace-route .dashboard-stat strong { font-size: 26px; }
  .workspace-route .dashboard-stat span { font-size: 12px; line-height: 1.55; }
  .workspace-route .dashboard-stat small { font-size: 11px; }
  .workspace-route .dashboard-card, .workspace-route .area-editor-panel,
  .workspace-route .area-directory-panel, .workspace-route .place-manager-card,
  .workspace-route .bf-analytics-panel, .workspace-route .profile-card { padding: 17px 14px; border-radius: 17px; }
  .workspace-route .dashboard-card-heading { align-items: flex-start; flex-direction: column; }
  .workspace-route .dashboard-card-heading h2 { font-size: 18px; }
  .workspace-route .dashboard-card-heading p { font-size: 12px; }
  .workspace-route .dashboard-listing, .workspace-route .dashboard-person, .workspace-route .admin-account-row { flex-wrap: wrap; }
  .workspace-route .dashboard-listing > img { width: 82px; height: 68px; }
  .workspace-route .dashboard-listing-actions { width: 100%; flex-wrap: wrap; }
  .workspace-route .dashboard-report { grid-template-columns: 34px minmax(0,1fr); }
  .workspace-route .dashboard-report-actions { grid-column: 2; justify-content: flex-start; }
  .workspace-route .workspace-page table { min-width: 620px; }
  .workspace-route .inquiry-layout { grid-template-columns: minmax(0,1fr); }
  .workspace-route .inquiry-thread-list { max-height: 270px; }
  .workspace-route .inquiry-message { max-width: 96%; font-size: 14px; }
  .workspace-route .profile-form { grid-template-columns: 1fr; }
  .workspace-route .profile-save-row { grid-column: 1; flex-wrap: wrap; }
}
@media (max-width: 390px) {
  .hero-backdrop { height: 176px; margin-top: 17px; border-radius: 17px; }
  .hero-backdrop img { border-radius: 12px; }
  .brand { font-size: 17px; }
  .brand small { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .login-trigger { padding-inline: 10px; }
  .workspace-route .workspace-top-actions { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero-backdrop, .hero-backdrop img { transition: none !important; }
}
@keyframes bfIntlDialogIn { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* 03 Nov 2026 — role-aware mobile workspace drawer navigation.
   Desktop keeps the full-height sidebar. Phones/tablets use an accessible off-canvas drawer
   so renter, landlord and admin navigation remains vertical, discoverable and touch-friendly. */
.workspace-route .workspace-mobile-menu,
.workspace-modal .workspace-mobile-menu {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid #dfe8e0;
  border-radius: 13px;
  background: #fff;
  color: #245b40;
  box-shadow: 0 3px 10px rgba(22, 61, 39, .06);
  cursor: pointer;
  touch-action: manipulation;
}
.workspace-route .workspace-mobile-menu svg,
.workspace-modal .workspace-mobile-menu svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.workspace-route .workspace-sidebar-mobile-head,
.workspace-modal .workspace-sidebar-mobile-head { display: none; }
.workspace-route .workspace-drawer-backdrop,
.workspace-modal .workspace-drawer-backdrop { display: none; }
.workspace-route .workspace-topline-heading,
.workspace-modal .workspace-topline-heading { display: contents; }
.workspace-route .workspace-topline-copy,
.workspace-modal .workspace-topline-copy { display: grid; gap: 2px; min-width: 0; }
.workspace-route .workspace-mobile-menu:focus-visible,
.workspace-modal .workspace-mobile-menu:focus-visible,
.workspace-route .workspace-sidebar-mobile-head button:focus-visible,
.workspace-modal .workspace-sidebar-mobile-head button:focus-visible { outline: 3px solid #d8b37c; outline-offset: 3px; }

@media (max-width: 850px) {
  .workspace-route .workspace-app,
  .workspace-modal .workspace-app {
    position: relative;
    display: block;
    min-height: 100dvh;
    height: auto;
    overflow: visible;
  }
  .workspace-route .workspace-sidebar,
  .workspace-modal .workspace-sidebar {
    position: fixed !important;
    inset: 0 auto 0 0;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    width: min(86vw, 340px);
    height: 100dvh;
    max-height: 100dvh;
    padding: 17px 15px calc(18px + env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0;
    border-right: 1px solid rgba(255,255,255,.1);
    border-radius: 0 22px 22px 0;
    box-shadow: 24px 0 70px rgba(5, 24, 15, .28);
    transform: translate3d(-106%,0,0);
    transition: transform .28s cubic-bezier(.2,.75,.25,1);
    will-change: transform;
  }
  body.workspace-route.workspace-drawer-open .workspace-sidebar,
  body.workspace-drawer-open .workspace-modal .workspace-sidebar {
    transform: translate3d(0,0,0);
  }
  .workspace-route .workspace-drawer-backdrop,
  .workspace-modal .workspace-drawer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(7, 22, 14, .56);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .24s ease, visibility .24s ease;
  }
  body.workspace-route.workspace-drawer-open .workspace-drawer-backdrop,
  body.workspace-drawer-open .workspace-modal .workspace-drawer-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  body.workspace-drawer-open { overflow: hidden !important; }
  .workspace-route .workspace-sidebar-mobile-head,
  .workspace-modal .workspace-sidebar-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 38px;
    margin: 0 1px 10px;
    color: #a9c8b4;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
  }
  .workspace-route .workspace-sidebar-mobile-head button,
  .workspace-modal .workspace-sidebar-mobile-head button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    background: rgba(255,255,255,.09);
    color: #fff;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
  }
  .workspace-route .workspace-brand,
  .workspace-modal .workspace-brand { padding: 3px 5px 17px; font-size: 19px; }
  .workspace-route .workspace-side-profile,
  .workspace-modal .workspace-side-profile {
    display: flex;
    margin: 0 0 17px;
    padding: 12px;
    border-radius: 15px;
  }
  .workspace-route .workspace-navigation,
  .workspace-modal .workspace-navigation {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    align-content: start;
    gap: 6px;
    width: 100%;
    max-height: none;
    padding: 2px 0 12px;
    overflow: visible;
  }
  .workspace-route .workspace-nav-item,
  .workspace-modal .workspace-nav-item {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 49px;
    flex: initial;
    justify-content: flex-start;
    padding: 7px 10px;
    gap: 11px;
    border-radius: 13px;
    text-align: left;
    white-space: normal;
    font-size: 13px;
  }
  .workspace-route .workspace-nav-icon,
  .workspace-modal .workspace-nav-icon { flex: 0 0 35px; width: 35px; height: 35px; }
  .workspace-route .workspace-nav-label,
  .workspace-modal .workspace-nav-label { min-width: 0; font-size: 13px; line-height: 1.35; }
  .workspace-route .workspace-side-bottom,
  .workspace-modal .workspace-side-bottom {
    display: block;
    margin-top: auto;
    padding-top: 12px;
  }
  .workspace-route .workspace-side-help,
  .workspace-modal .workspace-side-help { padding: 12px; }
  .workspace-route .workspace-back-link,
  .workspace-modal .workspace-back-link { min-height: 43px; margin-top: 8px; padding: 8px 10px; }
  .workspace-route .workspace-main,
  .workspace-modal .workspace-main { width: 100%; min-width: 0; min-height: 100dvh; }
  .workspace-route .workspace-topline,
  .workspace-modal .workspace-topline {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 68px;
    padding: 9px 15px;
  }
  .workspace-route .workspace-topline-heading,
  .workspace-modal .workspace-topline-heading {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    gap: 10px;
  }
  .workspace-route .workspace-mobile-menu,
  .workspace-modal .workspace-mobile-menu { display: inline-flex; }
  .workspace-route .workspace-topline-copy > span,
  .workspace-modal .workspace-topline-copy > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .workspace-route .workspace-topline-copy > small,
  .workspace-modal .workspace-topline-copy > small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .workspace-route .workspace-top-actions,
  .workspace-modal .workspace-top-actions { display: flex; align-items: center; justify-content: flex-end; flex: 0 0 auto; width: auto; flex-wrap: nowrap; gap: 6px; }
  .workspace-route .workspace-page,
  .workspace-modal .workspace-page { min-width: 0; padding: 22px clamp(14px,3vw,25px) calc(34px + env(safe-area-inset-bottom)); }
}

@media (max-width: 560px) {
  .workspace-route .workspace-topline,
  .workspace-modal .workspace-topline { min-height: 62px; padding: 8px 10px; gap: 7px; }
  .workspace-route .workspace-mobile-menu,
  .workspace-modal .workspace-mobile-menu { flex-basis: 39px; width: 39px; height: 39px; border-radius: 12px; }
  .workspace-route .workspace-topline-heading,
  .workspace-modal .workspace-topline-heading { gap: 8px; }
  .workspace-route .workspace-topline-copy > span,
  .workspace-modal .workspace-topline-copy > span { font-size: 8px; letter-spacing: .08em; }
  .workspace-route .workspace-topline-copy > small,
  .workspace-modal .workspace-topline-copy > small { font-size: 9px; }
  .workspace-route .workspace-top-actions,
  .workspace-modal .workspace-top-actions { gap: 4px; }
  .workspace-route .workspace-theme-toggle, .workspace-route .workspace-language-toggle,
  .workspace-modal .workspace-theme-toggle, .workspace-modal .workspace-language-toggle { width: 34px; min-width: 34px; height: 34px; min-height: 34px; border-radius: 10px; padding: 4px; }
  .workspace-route .workspace-signout,
  .workspace-modal .workspace-signout { min-height: 34px; padding: 6px 8px; border-radius: 10px; font-size: 9px; white-space: nowrap; }
  .workspace-route .workspace-signout span,
  .workspace-modal .workspace-signout span { display: none; }
  .workspace-route .workspace-top-avatar,
  .workspace-modal .workspace-top-avatar { width: 34px; height: 34px; min-width: 34px; }
  .workspace-route .workspace-page,
  .workspace-modal .workspace-page { padding: 17px 11px calc(28px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  .workspace-route .workspace-sidebar, .workspace-modal .workspace-sidebar,
  .workspace-route .workspace-drawer-backdrop, .workspace-modal .workspace-drawer-backdrop { transition: none !important; }
}

.workspace-route .workspace-topline-copy > span,
.workspace-modal .workspace-topline-copy > span { color: #276b4b; font-size: 10px; letter-spacing: .13em; font-weight: 850; }
.workspace-route .workspace-topline-copy > small,
.workspace-modal .workspace-topline-copy > small { color: #829087; font-size: 11px; line-height: 1.45; }
