/* Property Hub — application workspace, shared across every Razor Page. */
:root { --brand:#315ca8; --brand-dark:#244883; --brand-soft:#edf2fc; --ink:#202b3d; --muted:#6b778b; --line:#e1e6ee; --surface:#fff; --canvas:#f3f5f8; --sidebar:#172336; --hover:#f5f7fb; }
html[data-theme="dark"] { --brand:#a5c4fa; --brand-dark:#c6d9fa; --brand-soft:#283b59; --ink:#e8edf5; --muted:#a8b5c8; --line:#334155; --surface:#1d293b; --canvas:#131e2d; --sidebar:#0e1827; --hover:#253349; }
body { font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; background:var(--canvas); }
button,input,select,textarea { font:inherit; }
a { text-underline-offset:3px; }
:focus-visible { outline:3px solid var(--brand); outline-offset:3px; }
.skip-link { position:fixed; top:-100px; left:20px; z-index:2000; padding:12px 18px; background:var(--surface); }
.skip-link:focus { top:12px; }
.sidebar { width:248px; padding:30px 18px 20px; background:var(--sidebar); color:#fff; border:0; overflow-y:auto; }
.brand { gap:12px; font-size:18px; font-weight:650; letter-spacing:-.4px; }
.brand small { display:block; margin-top:2px; color:var(--muted); font-size:10px; font-weight:450; letter-spacing:.2px; }
.sidebar .brand { padding:0 10px; color:#fff; }
.sidebar .brand small { color:#9baac1; }
.brand-mark { width:38px; height:38px; border-radius:9px; overflow:hidden; background:#0d1929; }
.brand-mark img { width:100%; height:100%; object-fit:contain; filter:none; }
.sidebar-nav { margin-top:36px; gap:25px; }
.navigation-group { display:grid; gap:3px; }
.nav-label { margin:0 12px 8px; color:#8c9cb4; font-size:10px; letter-spacing:.09em; font-weight:650; }
.sidebar-nav .nav-link { display:flex; gap:12px; align-items:center; padding:10px 12px; border:0; border-radius:6px; color:#c1ccdc; font-size:13px; font-weight:500; text-decoration:none; }
.sidebar-nav .nav-link img { flex-shrink:0; filter:invert(1); opacity:.65; }
.sidebar-nav .nav-link:hover { color:#fff; background:#22334d; }
.sidebar-nav .nav-link.active { color:#fff; background:#2b4265; }
.sidebar-nav .nav-link.active img { opacity:1; }
.nav-submenu { list-style:none; margin:0 0 6px 20px; padding:3px 0 3px 9px; border-left:1px solid #40516b; }
.sidebar-nav .nav-submenu .nav-link { padding:8px 10px; font-size:12px; }
@media(max-width:980px) { .mobile-navigation .nav-submenu { border-color:var(--line); } }
.workspace-version { display:flex; justify-content:space-between; margin:28px 12px 18px; color:#93a3ba; font-size:11px; }
.workspace-version span { font-variant-numeric:tabular-nums; }
.sidebar-user { border-top:1px solid #304056; padding:18px 10px 0; }
.sidebar-user strong { color:#eef3fb; font-size:12px; }
.sidebar-user small { color:#9aabc1; font-size:10px; }
.avatar { width:34px; height:34px; border-radius:9px; font-size:12px; color:var(--brand-dark); background:var(--brand-soft); }
.sidebar .avatar { color:#d8e5ff; background:#30476b; }
.content-shell { margin-left:248px; width:calc(100% - 248px); }
.topbar { height:72px; gap:24px; padding:0 36px; background:var(--surface); backdrop-filter:none; border-bottom:1px solid var(--line); }
.workspace-context { display:flex; gap:12px; align-items:center; font-size:12px; white-space:nowrap; color:var(--muted); min-width:0; }
.workspace-context strong { color:var(--ink); font-weight:550; overflow:hidden; text-overflow:ellipsis; }
.global-search { display:flex; align-items:center; gap:10px; margin-left:auto; width:min(320px,35%); background:var(--canvas); padding:8px 12px; border:1px solid var(--line); border-radius:7px; }
.global-search input { min-width:0; width:100%; border:0; background:transparent; color:var(--ink); outline:0; font-size:12px; }
.global-search:focus-within { outline:2px solid var(--brand); }
.global-search button { border:0; background:transparent; color:var(--muted); font-size:11px; }
.topbar-actions { gap:12px; }
.notification-button,.icon-button { position:relative; display:grid; place-items:center; width:32px; height:34px; border:0; background:transparent; color:var(--ink); }
.account-button { padding:0; border:0; font-size:12px; background:transparent; }
.account-button .avatar { margin-right:2px; }
.page-content { max-width:1680px; margin-inline:auto; padding:36px 40px 64px; }
.page-heading { margin-bottom:28px; align-items:center; gap:24px; }
.page-heading h1,.wa-heading h1 { font-size:29px; font-weight:650; line-height:1.25; letter-spacing:-.8px; }
.page-heading .eyebrow { display:none; }
.page-description,.page-heading .text-muted { color:var(--muted); font-size:13px; margin:8px 0 0; line-height:1.6; }
.page-heading>.d-flex { flex-wrap:wrap; }
.panel { border:1px solid var(--line); border-radius:10px; background:var(--surface); box-shadow:0 2px 3px #16233b02; }
.panel-header { padding:20px 24px; border-color:var(--line); }
.panel-header h2 { font-size:15px; font-weight:650; letter-spacing:-.15px; }
.panel-header p { margin:6px 0 0; font-size:12px; color:var(--muted); }
.panel-body { padding:24px; }
.btn { min-height:38px; padding:8px 15px; border-radius:6px; font-size:12px; font-weight:600; line-height:1.5; white-space:nowrap; box-shadow:none; }
.btn-brand,.btn-primary { color:#fff; background:#315ca8; border-color:#315ca8; }
.btn-brand:hover,.btn-primary:hover,.btn-brand:focus { color:#fff; background:#244883; border-color:#244883; }
html[data-theme="dark"] .btn-brand { color:#fff; }
.btn-outline-secondary { border-color:var(--line); color:var(--ink); background:var(--surface); }
.btn-outline-secondary:hover { border-color:#a9b6c9; background:var(--hover); color:var(--ink); }
.btn-link { color:var(--brand-dark); text-decoration:none; }
.btn-sm { min-height:32px; padding:6px 10px; font-size:11px; }
.btn:disabled { cursor:wait; }
.btn-outline-primary { color:var(--brand-dark); border-color:var(--line); }
.form-control,.form-select { min-height:42px; padding:9px 12px; font-size:13px; border-radius:6px; background-color:var(--surface); border-color:var(--line); }
.form-control:focus,.form-select:focus { border-color:var(--brand); box-shadow:0 0 0 3px var(--brand-soft); }
.form-label { font-size:12px; font-weight:600; margin-bottom:7px; }
.form-check-input { border-color:var(--muted); }
.form-check-input:checked { background-color:#315ca8; border-color:#315ca8; }
.toolbar { display:flex; flex-wrap:wrap; align-items:center; padding:22px 24px; gap:10px; background:var(--surface); }
.toolbar .form-control { max-width:480px; }
.property-filters { display:block; }
.search-primary { display:flex; gap:10px; max-width:620px; }
.search-primary .form-control { max-width:none; }
.filter-disclosure { margin-top:16px; }
.filter-disclosure summary { width:fit-content; cursor:pointer; font-size:12px; font-weight:600; color:var(--ink); }
.filter-disclosure summary span { margin-left:12px; font-weight:400; color:var(--muted); }
.filter-fields { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; padding-top:16px; }
.property-filters .form-select { width:100%; min-width:0; }
.filter-fields .btn { justify-self:start; }
.portfolio-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin-bottom:28px; background:var(--surface); border:1px solid var(--line); border-radius:10px; }
.portfolio-summary>div { padding:22px 24px; }
.portfolio-summary>div+div { border-left:1px solid var(--line); }
.portfolio-summary span,.portfolio-summary small { display:block; color:var(--muted); font-size:11px; }
.portfolio-summary strong { display:block; margin:8px 0; font-size:30px; font-weight:600; letter-spacing:-1px; line-height:1.25; font-variant-numeric:tabular-nums; }
.portfolio-summary small { font-size:10px; }
.list-caption { display:flex; gap:12px; align-items:center; justify-content:space-between; padding:18px 24px; font-size:11px; }
.list-caption>div { display:flex; align-items:center; gap:12px; }
.list-caption strong { font-size:14px; font-weight:600; }
.list-caption span { color:var(--muted); }
.data-table { font-size:12px; }
.data-table th { font-size:11px; font-weight:550; letter-spacing:0; text-transform:none; background:var(--canvas); padding:12px 18px; }
.data-table td { padding:20px 18px; line-height:1.6; }
.data-table td strong { font-weight:550; }
.data-table small { font-size:11px; margin-top:3px; }
.data-table a:not(.btn):not(.dropdown-item) { color:var(--brand-dark); text-decoration:none; }
.data-table a:not(.btn):hover { text-decoration:underline; }
.property-directory { min-width:860px; }
.property-directory td:first-child { width:44px; }
.property-directory td:nth-child(2) { width:32%; }
.property-identity { display:flex; gap:14px; align-items:center; }
.unit-tile { display:grid; place-items:center; min-width:44px; min-height:48px; padding:7px; background:var(--canvas); border:1px solid var(--line); border-radius:7px; font-weight:650; font-size:15px; color:var(--ink); }
.record-link { font-size:13px; font-weight:650; }
.property-spec { display:block; font-size:10px; color:var(--muted); margin-top:5px; }
.price-cell { white-space:nowrap; }
.status-pill { font-size:10px; border-radius:5px; padding:4px 8px; font-weight:600; white-space:nowrap; }
.status-success { color:var(--success); background:var(--success-soft); }
.count-label { font-size:11px; color:var(--muted); font-weight:450; margin-left:6px; }
.section-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
.section-heading h2 { font-size:16px; margin:0; font-weight:600; }
.section-heading>span,.section-heading h2 span { font-size:12px; color:var(--muted); font-weight:400; margin-left:8px; }
.estate-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.estate-card { padding:26px; border:1px solid var(--line); border-radius:10px; background:var(--surface); }
.estate-card header { display:flex; align-items:center; justify-content:space-between; margin-bottom:24px; }
.estate-icon { display:grid; place-items:center; width:48px; height:48px; background:var(--brand-soft); border-radius:10px; }
.estate-card h2 { font-size:20px; letter-spacing:-.4px; font-weight:600; margin:0 0 8px; }
.estate-card h2 a { text-decoration:none; }
.estate-card>p { color:var(--muted); min-height:20px; font-size:12px; margin-bottom:26px; }
.estate-numbers { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; padding:20px 0; border-block:1px solid var(--line); }
.estate-numbers strong { display:block; font-size:24px; font-weight:550; }
.estate-numbers span { color:var(--muted); font-size:10px; }
.estate-coverage { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; margin:16px 0 22px; color:var(--muted); font-size:10px; }
.estate-card footer { display:flex; flex-wrap:wrap; gap:8px; }
.contact-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; padding:0 24px 24px; background:var(--surface); }
.contact-card { display:flex; flex-direction:column; padding:24px; border:1px solid var(--line); border-radius:8px; background:var(--surface); }
.contact-card header { display:flex; gap:12px; align-items:center; margin-bottom:22px; }
.contact-monogram { flex-shrink:0; width:42px; height:42px; display:grid; place-items:center; border-radius:50%; background:var(--brand-soft); color:var(--brand-dark); font-size:17px; font-weight:550; }
.contact-card header>div { min-width:0; }
.contact-card h2 { font-size:15px; margin:0 0 4px; font-weight:600; overflow-wrap:anywhere; }
.contact-card header span:not(.contact-monogram) { color:var(--muted); font-size:10px; }
.contact-property-count { margin-left:auto; text-align:right; }
.contact-card dl { margin:0 0 18px; display:grid; gap:12px; }
.contact-card dl>div { display:grid; grid-template-columns:60px minmax(0,1fr); gap:14px; font-size:12px; }
.contact-card dt { color:var(--muted); font-weight:400; }
.contact-card dd { margin:0; overflow-wrap:anywhere; }
.contact-more { margin-top:auto; padding:14px 0; border-top:1px solid var(--line); font-size:11px; }
.contact-more summary { cursor:pointer; color:var(--muted); }
.contact-more p { margin:12px 0; line-height:1.6; }
.contact-card footer { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.contact-card footer .btn span { margin-left:4px; }
.agenda-layout { display:grid; grid-template-columns:220px minmax(0,1fr); gap:28px; align-items:start; }
.agenda-summary { padding:24px; background:var(--surface); border:1px solid var(--line); border-radius:10px; }
.agenda-summary h2 { font-size:14px; margin:0 0 22px; }
.agenda-summary>div { display:flex; align-items:center; justify-content:space-between; padding:16px 0; border-top:1px solid var(--line); }
.agenda-summary strong { font-size:25px; font-weight:550; }
.agenda-summary span,.agenda-summary p { font-size:11px; color:var(--muted); }
.agenda-summary p { margin:20px 0 0; line-height:1.7; }
.agenda-empty { padding:26px; color:var(--muted); font-size:12px; }
.task-row { display:flex; gap:18px; align-items:center; padding:20px 24px; }
.task-row+.task-row { border-top:1px solid var(--line); }
.task-date { display:grid; place-items:center; width:46px; min-height:52px; flex-shrink:0; background:var(--canvas); border-radius:6px; padding:4px; }
.task-date strong { font-size:20px; font-weight:600; line-height:1.2; }
.task-date span { font-size:10px; color:var(--muted); }
.task-date.overdue { color:var(--danger); background:var(--danger-soft); }
.task-description { flex:1; min-width:0; }
.task-description h3 { font-size:14px; font-weight:550; margin:0 0 7px; }
.task-description p { color:var(--muted); font-size:11px; margin:0; }
.notification-row { display:flex; gap:20px; align-items:center; padding:24px; }
.notification-row+.notification-row { border-top:1px solid var(--line); }
.notification-symbol { width:42px; height:42px; border-radius:50%; display:grid; place-items:center; background:var(--brand-soft); flex-shrink:0; }
.notification-symbol.overdue { background:var(--danger-soft); }
.notification-row>div { flex:1; }
.notification-row h2 { font-size:15px; margin:9px 0 6px; font-weight:550; }
.notification-row p { font-size:12px; color:var(--muted); margin:0; }
.record-breadcrumb { display:flex; gap:10px; color:var(--muted); font-size:11px; margin-bottom:18px; }
.record-breadcrumb a { text-decoration:none; }
.record-estate { color:var(--brand-dark); font-size:12px; margin:0 0 8px; }
.record-summary-strip { display:grid; grid-template-columns:repeat(4,1fr); background:var(--surface); border:1px solid var(--line); border-radius:9px; padding:24px 0; margin-top:8px; }
.record-summary-strip>div { padding:0 24px; }
.record-summary-strip>div+div { border-left:1px solid var(--line); }
.record-summary-strip span { display:block; color:var(--muted); font-size:11px; margin-bottom:8px; }
.record-summary-strip strong { font-size:20px; letter-spacing:-.5px; font-weight:550; }
.record-section-nav { display:flex; gap:28px; padding:24px 0; font-size:12px; overflow:auto; }
.record-section-nav a { text-decoration:none; white-space:nowrap; color:var(--muted); }
.record-section-nav a:hover { color:var(--brand-dark); }
.record-layout { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(290px,1fr); gap:26px; align-items:start; }
.record-main,.record-timeline { min-width:0; }
.record-section { padding:24px; scroll-margin-top:92px; }
.record-section h3 { font-size:15px; font-weight:600; padding-bottom:20px; margin:0; border-bottom:1px solid var(--line); }
.record-main .detail-grid { display:block; margin:0; }
.record-main .detail-grid>div { display:grid; grid-template-columns:130px minmax(0,1fr); gap:18px; padding:14px 0; border-bottom:1px solid var(--line); align-items:center; }
.record-main .detail-grid>div:last-child { padding-bottom:0; border-bottom:0; }
.detail-grid dt { text-transform:none; color:var(--muted); font-size:12px; font-weight:400; }
.detail-grid dd { margin:0; font-size:13px; font-weight:500; align-items:center; }
.parameter-edit { border:0; background:transparent; color:var(--brand-dark); opacity:1; font-size:11px; line-height:1.5; padding:7px; min-height:32px; border-radius:4px; }
.parameter-edit:hover,.parameter-edit:focus { color:var(--brand-dark); background:var(--brand-soft); }
.detail-actions { flex-wrap:wrap; justify-content:flex-end; }
.record-timeline .panel-body { padding:20px; }
.record-timeline .empty-state { padding:28px 20px; font-size:12px; }
.activity-feed { padding:0 24px 24px; }
.activity-feed article { display:flex; gap:14px; position:relative; padding:0 0 22px; }
.activity-marker { height:8px; width:8px; flex-shrink:0; border-radius:50%; margin-top:5px; background:var(--brand); }
.activity-feed strong { display:block; font-size:12px; }
.activity-feed time { color:var(--muted); font-size:10px; }
.activity-feed p { font-size:12px; margin:8px 0 0; }
.settings-layout { display:grid; grid-template-columns:220px minmax(0,1fr); gap:40px; align-items:start; }
.settings-guide { padding-top:4px; }
.settings-guide h2 { font-size:15px; margin-bottom:12px; }
.settings-guide p,.settings-guide small { font-size:12px; color:var(--muted); line-height:1.8; }
.settings-guide nav { display:grid; gap:6px; margin:24px 0; }
.settings-guide a { padding:10px 12px; text-decoration:none; color:var(--brand-dark); border-radius:6px; background:var(--surface); font-size:12px; }
.settings-panel { scroll-margin-top:92px; }
.settings-rows { padding:0 24px; }
.settings-row { display:flex; align-items:center; gap:14px; padding:14px 0; border-bottom:1px solid var(--line); }
.settings-row:last-child { border-bottom:0; }
.settings-row>form { display:flex; align-items:center; gap:12px; }
.settings-row>form:first-of-type { flex:1; min-width:0; }
.settings-row .form-control { min-width:0; }
.settings-add { border-top:1px solid var(--line); padding:22px 24px; background:var(--canvas); }
.settings-add label { font-size:12px; font-weight:550; margin-bottom:10px; }
.settings-add form>div { display:flex; gap:12px; }
.transaction-summary { grid-template-columns:repeat(3,1fr); }
.transaction-summary strong { font-size:25px; }
.map-workspace-intro,.designer-introduction { display:flex; gap:14px; align-items:center; margin-bottom:20px; padding:16px 20px; border:1px solid var(--line); border-radius:8px; background:var(--surface); }
.map-workspace-intro strong { display:block; font-size:12px; }
.map-workspace-intro span,.designer-introduction>span:last-child { font-size:11px; color:var(--muted); }
.map-toolbar { padding:20px 24px; }
.visual-map-scroll,.designer-viewport { background:var(--canvas); padding:32px; }
.visual-map-canvas,.designer-canvas { box-shadow:0 2px 8px #16233b0a; border:1px solid var(--line); }
.designer-toolbar { padding:16px 20px; background:var(--surface); border-radius:9px 9px 0 0; }
.designer-properties h2,.designer-inspector h2 { font-size:13px; font-weight:650; }
.designer-properties p,.designer-inspector label { font-size:11px; line-height:1.7; }
.designer-property { padding:12px; border-color:var(--line); margin-bottom:8px; }
.designer-property small { font-size:11px; }
.empty-state { padding:64px 24px; text-align:center; color:var(--muted); }
.empty-state strong { display:block; margin:0; font-size:18px; font-weight:550; color:var(--ink); }
.empty-state p { margin:10px 0 22px; font-size:13px; line-height:1.7; }
.empty-icon { display:grid; place-items:center; width:58px; height:58px; border-radius:12px; background:var(--canvas); margin:0 auto 22px; }
.modal-content { border-radius:10px; border:1px solid var(--line); box-shadow:0 20px 80px #15223b26; }
.modal-header { padding:24px 28px; align-items:center; }
.modal-title { font-size:20px; font-weight:600; letter-spacing:-.3px; }
.modal-header .eyebrow { font-size:10px; letter-spacing:.06em; color:var(--muted); }
.modal-body { padding:28px; }
.modal-body .row { --bs-gutter-y:1.3rem; }
.modal-footer { padding:18px 28px; background:var(--canvas); gap:8px; border-color:var(--line); }
.modal-footer .btn { margin:0; }
.record-drawer,.workspace-editor .modal-dialog { margin:0 0 0 auto; height:100dvh; max-height:100dvh; width:min(680px,100%); max-width:680px; }
.record-drawer .modal-content,.workspace-editor .modal-content { height:100%; max-height:100%; border-radius:0; border-width:0 0 0 1px; }
.workspace-editor .modal-content>form { display:flex; flex-direction:column; height:100%; min-height:0; }
.workspace-editor .modal-body { flex:1; overflow:auto; }
.workspace-editor .modal-header,.workspace-editor .modal-footer { flex-shrink:0; }
.modal.fade .record-drawer,.workspace-editor.modal.fade .modal-dialog { transform:translateX(24px); }
.modal.show .record-drawer,.workspace-editor.modal.show .modal-dialog { transform:translateX(0); }
.alert { font-size:12px; border-radius:6px; }
.public-header { padding:24px 40px; border-bottom:1px solid var(--line); background:var(--surface); }
.public-content { display:grid; align-items:center; min-height:calc(100dvh - 88px); padding:40px; }
.sign-in-layout { display:grid; grid-template-columns:1fr 440px; gap:100px; align-items:center; width:min(1020px,100%); margin:auto; }
.sign-in-intro h1 { font-size:44px; line-height:1.18; font-weight:600; letter-spacing:-1.6px; margin:26px 0 22px; }
.sign-in-intro>p { font-size:15px; color:var(--muted); max-width:360px; line-height:1.8; }
.sign-in-icon { display:grid; place-items:center; width:68px; height:68px; border-radius:14px; border:1px solid var(--line); background:var(--surface); }
.sign-in-features { display:grid; gap:10px; margin:28px 0 44px; font-size:12px; color:var(--muted); }
.sign-in-intro>small { font-size:11px; color:var(--muted); }
.auth-card { width:100%; margin:0; padding:14px; border-radius:12px; }
.auth-card .panel-body { padding:24px; }
.auth-card h2 { font-size:23px; font-weight:600; letter-spacing:-.5px; }
.auth-card .eyebrow { display:none; }
.auth-card .form-control { min-height:46px; }
.auth-card .btn { min-height:44px; }
.mobile-navigation { display:none; }
.async-feedback { position:fixed; bottom:24px; right:24px; max-width:min(460px,calc(100vw - 32px)); z-index:2000; padding:14px 20px; background:var(--ink); color:var(--surface); border-radius:8px; box-shadow:0 4px 24px #15223b22; font-size:13px; }
.async-feedback[hidden] { display:none; }
.async-feedback.error { background:var(--danger); color:#fff; }
form[aria-busy="true"] { cursor:progress; }
html[data-theme="dark"] :is(.topbar,.empty-icon,.estate-icon,.notification-symbol,.sign-in-icon,.map-workspace-intro) img { filter:invert(1); }
@media(min-width:1600px) { .contact-grid,.estate-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:1200px) { .page-content { padding-inline:24px; } .topbar { padding-inline:24px; } .global-search { width:240px; } .workspace-context>span { display:none; } .portfolio-summary>div { padding:20px; } .record-layout { grid-template-columns:minmax(0,1fr); } .record-timeline { display:grid; grid-template-columns:1.5fr 1fr; gap:24px; } .contact-grid { padding:0 18px 18px; gap:16px; } .contact-card { padding:20px; } .agenda-layout { grid-template-columns:180px minmax(0,1fr); gap:20px; } }
@media(max-width:980px) { .sidebar { display:none; } .content-shell { width:100%; margin:0; } .topbar { height:64px; } .mobile-navigation { display:block; border-bottom:1px solid var(--line); background:var(--surface); } .mobile-navigation>summary { padding:13px 24px; font-size:12px; font-weight:600; cursor:pointer; } .mobile-navigation>summary span { margin-left:14px; font-weight:400; color:var(--muted); } .mobile-navigation .sidebar-nav { display:grid; grid-template-columns:repeat(2,1fr); gap:22px; margin:0; padding:12px 24px 24px; } .mobile-navigation .nav-label { color:var(--muted); } .mobile-navigation .nav-link { color:var(--ink); } .mobile-navigation .nav-link img { filter:none; } .mobile-navigation .nav-link.active { color:var(--brand-dark); background:var(--brand-soft); } .sign-in-layout { gap:44px; grid-template-columns:1fr 400px; } .sign-in-intro h1 { font-size:36px; } }
@media(max-width:700px) { .page-content { padding:26px 16px 44px; } .topbar { padding-inline:16px; gap:12px; } .global-search { display:none; } .topbar-actions { margin-left:auto; gap:6px; } .workspace-context strong { max-width:170px; } .page-heading { align-items:stretch; flex-direction:column; gap:18px; } .page-heading h1 { font-size:26px; } .page-heading>.d-flex .btn { flex:1; } .portfolio-summary { grid-template-columns:repeat(2,1fr); } .portfolio-summary>div:nth-child(3) { border-left:0; } .portfolio-summary>div:nth-child(n+3) { border-top:1px solid var(--line); } .portfolio-summary strong { font-size:26px; } .estate-grid,.contact-grid { grid-template-columns:1fr; } .contact-property-count { font-size:10px; } .filter-fields { grid-template-columns:1fr; } .filter-disclosure summary span { display:none; } .toolbar,.list-caption { padding:18px; } .list-caption>span { display:none; } .record-summary-strip { grid-template-columns:repeat(2,1fr); gap:22px 0; } .record-summary-strip>div:nth-child(3) { border-left:0; } .record-summary-strip strong { font-size:17px; } .record-timeline { display:block; } .record-section { padding:20px; } .record-main .detail-grid>div { grid-template-columns:105px minmax(0,1fr); gap:12px; } .agenda-layout,.settings-layout { grid-template-columns:1fr; gap:20px; } .agenda-summary { display:flex; flex-wrap:wrap; justify-content:space-between; gap:20px; padding:20px; } .agenda-summary h2 { flex-basis:100%; margin:0; } .agenda-summary>div { gap:12px; border:0; padding:0; } .agenda-summary p { display:none; } .task-row { flex-wrap:wrap; padding:18px; gap:12px; } .task-row form { margin-left:auto; } .notification-row { flex-wrap:wrap; gap:14px; padding:20px; } .notification-row form { margin-left:56px; } .settings-guide nav { display:flex; margin:16px 0 0; } .settings-guide small { display:none; } .settings-row { flex-wrap:wrap; gap:8px; } .settings-row>.status-pill { display:none; } .settings-rows { padding-inline:18px; } .settings-add,.panel-header,.panel-body { padding:18px; } .settings-add form>div { flex-wrap:wrap; } .account-button { font-size:0; } .section-heading>span { display:none; } .public-content { padding:26px 20px; } .public-header { padding:20px; } .sign-in-layout { grid-template-columns:1fr; gap:24px; max-width:440px; } .sign-in-intro { display:none; } .auth-card { padding:6px; } .modal-header,.modal-body,.modal-footer { padding:20px; } .transaction-summary { grid-template-columns:1fr; } .transaction-summary>div+div { border-left:0; border-top:1px solid var(--line); } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { transition-duration:0s!important; animation-duration:0s!important; scroll-behavior:auto!important; } }
.error-state { max-width:720px; margin:40px auto; }
.error-state h1 { font-size:26px; font-weight:600; letter-spacing:-.6px; color:var(--ink); }
.error-state p { max-width:480px; margin:16px auto 26px; }
.error-reference { margin:28px auto 0; font-size:11px; }
.error-reference summary { cursor:pointer; margin-bottom:10px; }

.owner-info-link { padding:0; border:0; background:transparent; color:var(--brand-dark); font:inherit; font-weight:600; text-align:left; cursor:pointer; }
.owner-info-link:hover { text-decoration:underline; }

/* WhatsApp uses the same neutral and teal workspace palette as Smartbox. */
body.whatsapp-workspace { --brand:#008069; --brand-dark:#006b58; --brand-soft:#d9fdd3; --sidebar:#111b21; --ink:#111b21; --muted:#667781; --line:#d1d7db; --surface:#fff; --canvas:#f0f2f5; --hover:#f0f2f5; color-scheme:light; }
.whatsapp-workspace .sidebar-nav .nav-link.active { background:#d9fdd3; color:#008069; }
.whatsapp-workspace .sidebar-nav .nav-link.active img { filter:none; }
.whatsapp-workspace .sidebar-nav .nav-link:hover:not(.active) { background:#23313a; color:#fff; }
.whatsapp-workspace .sidebar .nav-submenu { border-color:#314047; }
.whatsapp-workspace .sidebar-user { border-color:#314047; }
.whatsapp-workspace .sidebar .avatar { background:#2a3942; color:#dfe5e7; }
.whatsapp-workspace .workspace-version,.whatsapp-workspace .sidebar .nav-label { color:#8696a0; }
.whatsapp-workspace .form-check-input:checked { background-color:#008069; border-color:#008069; }
@media(max-width:980px) { .whatsapp-workspace .mobile-navigation .nav-link:hover:not(.active) { background:#e9edef; color:#111b21; } }

.property-status-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;grid-column:1/-1;margin:8px 0}.property-status-option{display:flex!important;align-items:center;gap:9px;padding:11px 12px;border:1px solid var(--line,#dce3e8);border-radius:7px;cursor:pointer;font-size:13px;line-height:1.4;margin:0!important;color:var(--ink,#273943);background:var(--panel,#fff)}.property-status-option input{width:15px!important;height:15px;min-width:15px;margin:0!important;accent-color:var(--status-color);box-shadow:none!important}.property-status-swatch{display:inline-block;width:15px;height:15px;min-width:15px;border-radius:4px;box-shadow:inset 0 0 0 1px #0002}.property-status-option.is-selected{border-color:var(--status-color);box-shadow:0 0 0 1px var(--status-color)}.property-status-option:focus-within{outline:2px solid var(--status-color);outline-offset:2px}.property-status-select{border:1px solid var(--line,#dce3e8);border-radius:6px;padding:9px 12px;min-width:0}.property-status-select summary{display:flex;align-items:center;gap:9px;cursor:pointer;font-size:13px}.property-status-select summary::after{content:'⌄';margin-left:auto}.property-status-select .property-status-options{grid-template-columns:1fr;margin-top:12px}.property-status-select .property-status-option{padding:8px}.property-status-options input:disabled~span{opacity:.55}@media(max-width:520px){.property-status-options{grid-template-columns:1fr}}

/* Intelligence balance belongs to the account controls, separate from navigation. */
.topbar-actions { flex-shrink:0; }
.credit-balance-button { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:38px; padding:7px 11px; border:1px solid var(--line); border-radius:7px; background:var(--surface); color:var(--ink); white-space:nowrap; font-size:12px; }
.credit-balance-button svg { color:var(--brand); flex-shrink:0; }
.credit-balance-button:hover { background:var(--hover); border-color:var(--brand); }
.credit-balance-button strong { font-weight:650; font-variant-numeric:tabular-nums; }
.credit-balance-button[data-empty="true"] { color:var(--danger); }
.credit-balance-button[data-empty="true"] svg { color:currentColor; }
.credit-dialog { width:min(420px,calc(100vw - 32px)); max-height:calc(100dvh - 32px); margin:auto; padding:26px; border:1px solid var(--line); border-radius:14px; background:var(--surface); color:var(--ink); box-shadow:0 24px 80px #0f172a30; }
.credit-dialog::backdrop { background:#0f172a66; }
.credit-dialog-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin-bottom:14px; }
.credit-eyebrow { color:var(--muted); font-size:10px; font-weight:650; letter-spacing:.1em; }
.credit-dialog h2 { margin:5px 0 0; font-size:22px; font-weight:650; letter-spacing:-.4px; }
.credit-dialog-close { display:grid; place-items:center; width:36px; height:36px; border:0; border-radius:6px; background:transparent; color:var(--muted); font-size:26px; line-height:1; }
.credit-dialog-close:hover { background:var(--hover); color:var(--ink); }
.credit-dialog>p { font-size:12px; color:var(--muted); }
.credit-available { display:flex; align-items:baseline; gap:10px; padding:24px 0; }
.credit-available strong { font-size:42px; line-height:1; letter-spacing:-1px; font-weight:650; font-variant-numeric:tabular-nums; }
.credit-available span { color:var(--muted); font-size:13px; }
.credit-breakdown { margin:0 0 20px; border-block:1px solid var(--line); padding:10px 0; }
.credit-breakdown>div { display:flex; justify-content:space-between; gap:20px; padding:7px 0; font-size:13px; }
.credit-breakdown dt { color:var(--muted); font-weight:400; }
.credit-breakdown dd { margin:0; font-weight:600; font-variant-numeric:tabular-nums; }
.credit-dialog .credit-dialog-status { padding:20px 0; color:var(--ink); }
.credit-reset { line-height:1.7; margin-bottom:24px; }
.credit-dialog footer { display:flex; align-items:center; justify-content:space-between; gap:12px; }
@media(max-width:700px) { .credit-balance-label { display:none; } .credit-balance-button { min-height:40px; padding:8px; gap:5px; } .topbar .workspace-context { flex:1; } .topbar .workspace-context strong { max-width:100%; } }

/* Maintain spacing where redundant helper paragraphs were removed. */
.auth-card h2 { margin-bottom:24px; }
.empty-state>strong+:is(.btn,button,a) { margin-top:20px; }

/* Estate actions stay available without a permanent button row. */
.estate-menu-trigger { display:grid; place-items:center; width:36px; height:36px; border:0; border-radius:6px; background:transparent; color:var(--muted); }
.estate-menu-trigger:hover,.estate-menu-trigger[aria-expanded="true"] { background:var(--hover); color:var(--ink); }
.estate-actions .dropdown-menu { min-width:172px; padding:6px; border-radius:8px; box-shadow:0 8px 24px #0f172a14; }
.estate-actions .dropdown-item { padding:9px 12px; border-radius:4px; font-size:12px; }
.estate-card .estate-coverage { margin-bottom:0; }
@media(max-width:700px) { .estate-menu-trigger { width:40px; height:40px; } }

#property-parcel-map-dialog[open] { display:flex; flex-direction:column; }
#property-parcel-map-dialog>header { flex-shrink:0; }
#property-parcel-map-dialog>header>div { flex-shrink:0; }

.intelligence-map-link { color:var(--brand-dark); white-space:nowrap; font-size:12px; text-decoration:none; }
.intelligence-map-link:hover { text-decoration:underline; }

/* Searchable multi-selects keep large source dropdowns compact. */
.record-choice-picker { position:relative; }
.record-choice-picker summary { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:42px; border:1px solid var(--line); border-radius:6px; padding:10px 13px; background:var(--surface); color:var(--ink); cursor:pointer; font-size:13px; list-style:none; }
.record-choice-picker summary::-webkit-details-marker { display:none; }
.record-choice-picker summary::after { content:''; width:7px; height:7px; border-right:1.5px solid var(--muted); border-bottom:1.5px solid var(--muted); transform:rotate(45deg); margin:0 3px 4px; flex-shrink:0; }
.record-choice-picker summary>span { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.record-choice-picker[open] summary { border-color:var(--brand); }
.record-choice-picker.is-disabled summary { color:var(--muted); background:var(--canvas); cursor:wait; }
.record-choice-picker summary[aria-invalid="true"] { border-color:var(--danger); }
.record-choice-picker .record-native-select { position:absolute; left:12px; top:15px; width:1px; height:1px; padding:0; opacity:0; pointer-events:none; }
.record-choice-panel { position:absolute; top:calc(100% + 5px); left:0; right:0; min-width:220px; z-index:1040; padding:10px; border:1px solid var(--line); border-radius:8px; background:var(--surface); box-shadow:0 10px 30px #1723361f; }
.record-choice-tools { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:9px 1px 6px; color:var(--muted); font-size:10px; }
.record-choice-tools button { border:0; padding:2px; background:transparent; color:var(--brand-dark); }
.record-choice-tools button:disabled { opacity:.5; }
.record-choice-list { max-height:220px; overflow-y:auto; }
.record-choice-list label { display:flex; align-items:center; gap:9px; border-radius:4px; padding:8px 6px; color:var(--ink); cursor:pointer; font-size:12px; }
.record-choice-list label:hover { background:var(--hover); }
.record-choice-list input { width:15px; height:15px; margin:0; flex-shrink:0; accent-color:var(--brand-dark); }
.record-choice-list label>span { overflow-wrap:anywhere; }
.record-choice-empty { display:block; padding:16px 6px; font-size:12px; color:var(--muted); }
.record-choice-error { margin:8px 2px 0; font-size:11px; color:var(--danger); }
[data-record-options-status]:empty,[data-record-status]:empty { display:none; }

.property-actions-cell { width:52px; text-align:right; }
.property-row-actions { display:inline-block; text-align:left; }
.property-row-actions .dropdown-menu { min-width:190px; }

.unit-status-filters { display:grid; grid-template-columns:minmax(190px,1.2fr) minmax(160px,1fr) minmax(180px,1.4fr) minmax(150px,1fr) auto auto; gap:12px; align-items:end; margin-bottom:24px; }
.unit-status-filters .property-status-select { width:100%; }
@media(max-width:1100px) { .unit-status-filters { grid-template-columns:1fr 1fr; } }
@media(max-width:600px) { .unit-status-filters { grid-template-columns:1fr; } }

.unit-status-directory { min-width:900px; }
.unit-status-directory td:first-child { width:28%; }
.unit-status-directory td:nth-child(2) { width:20%; }
.unit-status-filters .property-status-select { position:relative; }
.unit-status-filters .property-status-options { position:absolute; top:calc(100% + 6px); left:0; z-index:1030; min-width:260px; width:max-content; max-width:calc(100vw - 80px); max-height:360px; overflow-y:auto; margin:0; padding:8px; background:var(--surface); border:1px solid var(--line); border-radius:8px; box-shadow:0 8px 24px #0f172a14; }

/* SINI uses the supplied artwork unchanged. Compact placements mask its outer whitespace. */
.sini-brand { display:block; }
.sini-logo-window { display:block; width:190px; height:72px; overflow:hidden; position:relative; background:#fff; border-radius:8px; }
.sini-logo-window img { position:absolute; width:230px; height:115px; max-width:none; left:calc(50% - 115px); top:-13px; }
.sini-sign-in { display:flex; flex-direction:column; justify-content:center; align-items:flex-start; }
.sini-login-logo { width:min(100%,520px); height:auto; border-radius:12px; margin-bottom:24px; }
.password-settings { max-width:560px; }
.password-settings .panel { padding:28px; }
.password-settings .field-help { color:var(--muted); font-size:12px; margin:8px 0 0; }

.public-body .public-content { min-height:calc(100dvh - 121px); }
@media(max-width:700px) { .sign-in-intro.sini-sign-in { display:none; } }
