/* =====================================================================
   InmoGest - hoja de estilos base (traducción a clases del diseño InmoGest.dc.html)
   Tokens, layout, componentes. Módulos con CSS propio: wwwroot/css/modulo-*.css
   ===================================================================== */
@font-face { font-family: Figtree; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/Figtree-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Figtree; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/Figtree-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #0d3562; --navy-2: #12437c; --teal: #09a79e; --teal-d: #078f88; --teal-dd: #067a74; --teal-soft: #dcf4f1; --teal-soft2: #e8f7f5; --teal-soft3: #d3f0ed;
  --teal-ink: #0a6a64;   /* texto oscuro sobre fondos teal-soft */
  /* Menú lateral: degradado y colores de texto (el modo oscuro los cambia: [data-tema-menu="oscuro"]) */
  --menu-1: #d9e8fa; --menu-2: #c6dbf3;
  --menu-texto: var(--ink-2); --menu-fuerte: var(--navy); --menu-suave: var(--muted);
  --menu-hover: rgba(255,255,255,.7); --menu-linea: color-mix(in srgb, var(--navy) 14%, transparent);
  --ink: #0f2547; --ink-2: #33445f; --muted: #5b6b83; --muted-2: #66768e; --muted-3: #8795ab;
  --line: #e8eef6; --line-2: #d3dcea; --line-3: #dfe7f2; --row-line: #edf1f7;
  --bg: #e9eff8; --panel: #f7f9fd; --white: #fff; --th: #f3f6fb; --hover: #f6f9fe; --tint: #f3f7fd;
  --danger: #b42323; --danger-bg: #fde0e0; --danger-dot: #e5484d; --ok: #13783a; --ok-bg: #dcf6e5; --warn: #b4470d; --warn-bg: #ffe8d6;
  --info: #1b4fc4; --info-bg: #dbeafe; --purple: #5b3fc4; --purple-bg: #e9e2ff; --amber: #7d5200; --amber-bg: #fff1c7; --gray: #4a5b73; --gray-bg: #e8edf4;
  --shadow: 0 1px 2px rgba(15,37,71,.04), 0 8px 24px rgba(15,37,71,.04);
  --shadow-h: 0 14px 34px rgba(15,37,71,.14);
  --font: Figtree, system-ui, -apple-system, "Segoe UI", sans-serif;
}
/* Menú oscuro: lo activa data-tema-menu="oscuro" (html) según la luminancia del color de menú que elige el Superadmin */
[data-tema-menu="oscuro"] { --menu-texto: rgba(255,255,255,.84); --menu-fuerte: #fff; --menu-suave: rgba(255,255,255,.62); --menu-hover: rgba(255,255,255,.12); --menu-linea: rgba(255,255,255,.18); }
[data-tema-menu="claro"] { --menu-texto: var(--ink-2); --menu-fuerte: var(--navy); --menu-suave: var(--muted); --menu-hover: rgba(255,255,255,.7); --menu-linea: color-mix(in srgb, var(--navy) 14%, transparent); }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--ink); font-size: 14px; }
a { color: var(--teal); text-decoration: none; } a:hover { color: var(--teal-d); }
input, select, textarea, button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
svg.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
svg.i.sm { width: 15px; height: 15px; } svg.i.lg { width: 22px; height: 22px; }
.nowrap { white-space: nowrap; } .muted { color: var(--muted-2); } .right { text-align: right; } .center { text-align: center; }
.hidden, [hidden] { display: none !important; }
.mono { font-family: ui-monospace, Menlo, monospace; }

/* ---------- Layout de aplicación ---------- */
.app { display: flex; gap: 14px; padding: 14px; height: 100vh; }
.sidebar { --sbw: 248px; position: relative; z-index: 20; width: var(--sbw); flex: none; background: linear-gradient(180deg, var(--menu-1) 0%, var(--menu-2) 100%); color: var(--menu-texto); border-radius: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; padding: 18px 12px; min-height: 0; }
html.sb-collapsed .sidebar { --sbw: 76px; }
html.sb-anim .sidebar { transition: width .38s cubic-bezier(.65,0,.25,1); }
/* marca: píldora blanca que cruza logo completo <-> isotipo */
.brand { display: block; margin: 2px 0 20px; padding-bottom: 18px; border-bottom: 1px solid var(--menu-linea); color: var(--menu-fuerte); }
.brand-logo { position: relative; display: block; height: 54px; transition: transform .25s, filter .25s; }
.brand:hover .brand-logo { transform: scale(1.03); filter: drop-shadow(0 4px 10px color-mix(in srgb, var(--teal) 35%, transparent)); }
.brand-logo img { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); object-fit: contain; }
.brand-logo .logo-full { width: calc(100% - 8px); max-height: 46px; opacity: 1; transition: opacity .25s .12s, transform .38s cubic-bezier(.65,0,.25,1); }
.brand-logo .logo-mark { height: 42px; width: 42px; opacity: 0; transform: translate(-50%, -50%) scale(.6); transition: opacity .2s, transform .38s cubic-bezier(.34,1.56,.64,1); }
html.sb-collapsed .brand-logo .logo-full { opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .15s, transform .38s; }
html.sb-collapsed .brand-logo .logo-mark { opacity: 1; transform: translate(-50%, -50%) scale(1); transition: opacity .25s .15s, transform .45s .12s cubic-bezier(.34,1.56,.64,1); }
.brand-custom .logo-mark, html.sb-collapsed .brand-custom .logo-mark { opacity: 1; transform: translate(-50%, -50%); }
.brand:has(.brand-custom) { display: flex; align-items: center; gap: 12px; }
.brand-custom { flex: none; width: 54px; }
.brand-name { color: var(--menu-fuerte); font-size: 19px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; transition: opacity .2s, max-width .35s; max-width: 150px; }
html.sb-collapsed .brand-name { opacity: 0; max-width: 0; }
.nav { display: flex; flex-direction: column; gap: 5px; min-height: 0; }
html:not(.sb-collapsed) .nav { overflow-y: auto; overflow-x: hidden; scrollbar-width: none; margin: 0 -4px; padding: 0 4px; }
.nav-item { position: relative; display: flex; align-items: center; gap: 13px; height: 44px; padding: 0 0 0 17px; border-radius: 12px; font-weight: 700; font-size: 14.5px; color: var(--menu-texto); cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s; }
.nav-item > span { overflow: hidden; max-width: 170px; opacity: 1; transition: opacity .22s .1s, max-width .38s cubic-bezier(.65,0,.25,1); }
html.sb-collapsed .nav-item > span { max-width: 0; opacity: 0; transition: opacity .12s, max-width .38s cubic-bezier(.65,0,.25,1); }
.nav-item svg.i { transition: transform .3s cubic-bezier(.34,1.56,.64,1), color .2s; }
.nav-item::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 0; border-radius: 0 4px 4px 0; background: var(--teal); transform: translateY(-50%); transition: height .25s cubic-bezier(.34,1.56,.64,1); }
.nav-item:hover { background: var(--menu-hover); color: var(--menu-fuerte); transform: translateX(3px); }
.nav-item:hover svg.i { transform: scale(1.18) rotate(-6deg); color: var(--teal); }
.nav-item:hover::before { height: 20px; }
.nav-item:active { transform: translateX(3px) scale(.98); }
.nav-item.active { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-d) 100%); color: #fff; box-shadow: 0 8px 20px color-mix(in srgb, var(--teal) 40%, transparent), inset 0 1px 0 rgba(255,255,255,.22); }
.nav-item.active:hover { color: #fff; } .nav-item.active:hover svg.i { color: #fff; } .nav-item.active::before { display: none; }
html.sb-collapsed .nav-item:hover { transform: scale(1.06); }
/* tooltip al contraer */
.nav-item::after, .userbox::after { content: attr(data-tip); position: absolute; left: calc(100% + 16px); top: 50%; transform: translate(-6px, -50%); padding: 7px 12px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; box-shadow: 0 8px 22px rgba(15,37,71,.3); opacity: 0; pointer-events: none; z-index: 70; transition: opacity .18s, transform .22s cubic-bezier(.34,1.56,.64,1); display: none; }
html.sb-collapsed .nav-item::after, html.sb-collapsed .userbox::after { display: block; }
html.sb-collapsed .nav-item:hover::after, html.sb-collapsed .userbox:hover:not(:has(.usermenu.open))::after { opacity: 1; transform: translate(0, -50%); }
.sb-spacer { flex: 1; min-height: 16px; }
.userbox { position: relative; display: flex; align-items: center; gap: 11px; padding: 10px 7px; border-top: 1px solid var(--menu-linea); color: var(--menu-fuerte); cursor: pointer; border-radius: 12px; transition: background .2s; }
.userbox:hover { background: var(--menu-hover); }
.avatar { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-ink); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .25s; }
.userbox:hover .avatar { transform: scale(1.08); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 35%, transparent); }
.avatar.sm { width: 32px; height: 32px; font-size: 11.5px; } .avatar.lg { width: 76px; height: 76px; font-size: 26px; } .avatar.md { width: 64px; height: 64px; font-size: 22px; }
.userbox .who { flex: 1; line-height: 1.25; min-width: 0; overflow: hidden; max-width: 150px; white-space: nowrap; transition: opacity .22s .1s, max-width .38s cubic-bezier(.65,0,.25,1); } .userbox .who b { display: block; font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; } .userbox .who span { font-size: 12px; color: var(--menu-suave); }
html.sb-collapsed .userbox .who { max-width: 0; flex: 0; opacity: 0; transition: opacity .12s, max-width .38s cubic-bezier(.65,0,.25,1); }
html.sb-collapsed .userbox { gap: 0; }
.usermenu { position: absolute; left: 4px; right: 4px; bottom: 74px; z-index: 80; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 40px rgba(15,37,71,.2); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(8px) scale(.97); transform-origin: bottom left; transition: opacity .18s, transform .22s cubic-bezier(.34,1.56,.64,1), visibility .18s; }
.usermenu.open { opacity: 1; visibility: visible; transform: none; }
html.sb-collapsed .usermenu { left: calc(100% + 8px); right: auto; bottom: 6px; min-width: 190px; }
.usermenu a, .usermenu button { display: flex; width: 100%; gap: 10px; align-items: center; padding: 11px 14px; border-radius: 9px; background: none; border: 0; color: var(--ink); font-weight: 700; font-size: 14px; cursor: pointer; text-align: left; transition: background .15s, padding-left .2s; }
.usermenu a:hover, .usermenu button:hover { background: var(--teal-soft2); padding-left: 18px; }
/* botón contraer/expandir */
.sb-toggle { position: absolute; top: 34px; right: -13px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; color: var(--navy); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; box-shadow: 0 4px 12px rgba(15,37,71,.2); z-index: 30; transition: transform .25s cubic-bezier(.34,1.56,.64,1), background .2s, color .2s, border-color .2s; }
.sb-toggle svg { transition: transform .38s cubic-bezier(.65,0,.25,1); }
.sb-toggle:hover { background: var(--teal); border-color: var(--teal); color: #fff; transform: scale(1.18); }
.sb-toggle:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
html.sb-collapsed .sb-toggle svg { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .sidebar *, .sidebar { transition-duration: .01ms !important; animation: none !important; } }
.main { flex: 1; min-width: 0; overflow-y: auto; background: var(--panel); border-radius: 22px; }
.menu-btn { display: none; }

/* ---------- Página ---------- */
.page { padding: 28px 32px 40px; display: flex; flex-direction: column; gap: 18px; width: 100%; max-width: none; }
.page.narrow { max-width: none; padding-top: 24px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.page-title { font-size: 30px; font-weight: 800; } .page-sub { margin-top: 4px; color: var(--muted); font-size: 14.5px; }
.actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; color: var(--muted); }
.crumbs a { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); } .crumbs b { color: var(--ink); font-weight: 800; }
.stack { display: flex; flex-direction: column; gap: 18px; } .row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 18px; align-items: start; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 18px; align-items: start; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; gap: 8px; align-items: center; justify-content: center; height: 42px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; color: var(--ink); }
.btn:hover { background: var(--tint); color: var(--ink); }
.btn-primary { background: var(--teal); border-color: var(--teal); color: #fff; font-weight: 800; padding: 0 18px; } .btn-primary:hover { background: var(--teal-d); border-color: var(--teal-d); color: #fff; }
.btn-soft { background: var(--teal-soft2); border-color: transparent; color: var(--teal-ink); } .btn-soft:hover { background: var(--teal-soft3); color: var(--teal-ink); }
.btn-danger { background: #fff; border-color: #f2b8b8; color: var(--danger); } .btn-danger:hover { background: var(--danger-bg); color: var(--danger); }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; } .btn-icon { width: 40px; padding: 0; } .btn-icon.sm { width: 32px; height: 32px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-btn { background: none; border: 0; color: var(--teal); font-weight: 700; cursor: pointer; padding: 0; }

/* ---------- Tarjetas / secciones ---------- */
.card { background: #fff; border-radius: 16px; padding: 22px 24px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.card.flush { padding: 0; overflow: hidden; } .card.tight { padding: 8px 8px 4px; overflow: hidden; }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 10px; }
.card h3, .card-title { font-size: 16.5px; font-weight: 800; } .card-sub { font-size: 13px; color: var(--muted-2); margin-top: 3px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--row-line); font-size: 14px; } .kv span { color: var(--muted); } .kv b { font-weight: 800; text-align: right; }
.kv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 12px; } .kv-box { padding: 14px 16px; border-radius: 12px; background: var(--tint); display: flex; justify-content: space-between; gap: 10px; } .kv-box span { color: var(--muted); font-size: 13.5px; } .kv-box b { font-size: 14px; }
.list-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--row-line); } .list-row:first-of-type { border-top: 0; }
.empty { padding: 44px 20px; text-align: center; color: var(--muted-2); font-size: 14px; }
.quick-actions { display: flex; flex-direction: column; gap: 8px; } .quick-actions a, .quick-actions button { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--teal-soft2); color: var(--teal-ink); font-weight: 700; font-size: 14px; border: 0; cursor: pointer; text-align: left; width: 100%; }
.quick-actions a:hover, .quick-actions button:hover { background: var(--teal-soft3); }

/* ---------- Badges / etiquetas ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; background: var(--gray-bg); color: var(--gray); }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; } .pill.plain::before { display: none; }
.pill.lg { padding: 5px 14px; font-size: 13px; font-weight: 800; }
.tag { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--gray-bg); color: var(--gray); display: inline-block; }
.c-green { background: var(--ok-bg); color: var(--ok); } .c-orange { background: var(--warn-bg); color: var(--warn); } .c-blue { background: var(--info-bg); color: var(--info); }
.c-red { background: var(--danger-bg); color: var(--danger); } .c-gray { background: var(--gray-bg); color: var(--gray); } .c-purple { background: var(--purple-bg); color: var(--purple); }
.c-amber { background: var(--amber-bg); color: var(--amber); } .c-teal { background: #d4f3ee; color: #0b6b5c; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; } .prio { display: inline-flex; align-items: center; font-weight: 600; }

/* ---------- Búsqueda + filtros (FilterBar del diseño) ---------- */
.filterbar { display: flex; flex-direction: column; gap: 12px; }
.searchbar { display: flex; align-items: center; gap: 12px; height: 48px; border-radius: 12px; background: #fff; border: 1px solid var(--line-3); padding: 0 16px; box-shadow: 0 1px 2px rgba(15,37,71,.03); }
.searchbar:focus-within { border-color: var(--teal); } .searchbar svg { color: var(--muted-2); stroke-width: 2.4; }
.searchbar input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 14.5px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.filter { position: relative; min-width: 150px; flex: 1 1 150px; max-width: 210px; background: #fff; border: 1px solid var(--line-3); border-radius: 12px; padding: 7px 14px; }
.filter label { display: block; font-size: 11px; font-weight: 700; color: var(--muted-2); }
.filter select, .filter input { appearance: none; -webkit-appearance: none; border: 0; background: transparent; width: 100%; font-size: 14px; font-weight: 600; padding: 0 22px 0 0; outline: 0; cursor: pointer; }
.filter input[type=date], .filter input[type=number] { cursor: text; }
.filter svg.chev { position: absolute; right: 12px; top: 22px; pointer-events: none; color: var(--muted-2); width: 15px; height: 15px; stroke-width: 2.6; }
.filter.active { border-color: var(--teal); background: var(--teal-soft2); }
.filter-actions { display: flex; align-items: center; gap: 8px; }
.filter-more { display: flex; flex-wrap: wrap; gap: 10px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 13.5px; cursor: pointer; border: 1.5px solid var(--line-2); background: #fff; color: var(--gray); }
.chip:hover { border-color: var(--teal); color: var(--teal-ink); } .chip.on { border-color: var(--teal); background: var(--teal-soft); color: var(--teal-ink); }
.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 12px; background: #fff; border: 1px solid var(--line-3); }
.seg a, .seg button { display: inline-flex; gap: 7px; align-items: center; padding: 8px 14px; border-radius: 9px; font-weight: 700; font-size: 13.5px; cursor: pointer; background: transparent; color: var(--gray); border: 0; }
.seg a.on, .seg button.on { background: var(--teal); color: #fff; }
.seg.soft { background: #eef3fa; }

/* ---------- Tablas ---------- */
.table-wrap { overflow-x: auto; position: relative; max-width: 100%; }
table.dt { width: 100%; border-collapse: collapse; font-size: 13.5px; color: var(--ink); }
table.dt thead tr { background: var(--th); }
table.dt th { text-align: left; padding: 12px 14px; font-size: 12px; font-weight: 700; color: var(--gray); white-space: nowrap; border-bottom: 1px solid #e3e9f2; }
table.dt th a { color: inherit; display: inline-flex; align-items: center; gap: 5px; } table.dt th a.on { color: var(--teal); }
table.dt td { padding: 11px 14px; border-bottom: 1px solid var(--row-line); vertical-align: middle; }
table.dt tbody tr:hover { background: var(--hover); } table.dt th.r, table.dt td.r { text-align: right; }
table.dt .cell-sub { font-size: 12px; color: var(--muted-2); margin-top: 1px; }
table.dt .thumb { width: 58px; height: 44px; border-radius: 9px; background: #d9e2ef center/cover no-repeat; display: block; }
table.dt .person { display: flex; align-items: center; gap: 10px; } table.dt .person b { font-weight: 700; display: block; }
.row-actions { display: inline-flex; gap: 2px; color: var(--muted); } .row-actions a, .row-actions button { width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; background: none; border: 0; color: inherit; }
.row-actions a:hover, .row-actions button:hover { background: #e8eff9; color: var(--ink); } .row-actions .del:hover { background: var(--danger-bg); color: var(--danger); }
.checkbox { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #aebbd0; background: #fff; color: #fff; cursor: pointer; padding: 0; }
.checkbox.on { background: var(--teal); border-color: var(--teal); }
.pager { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--muted); gap: 12px; flex-wrap: wrap; }
.pager .pages { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; max-width: 100%; }
.pager .pg { min-width: 36px; height: 36px; padding: 0 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line-3); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.pager .pg.on { background: var(--teal); border-color: var(--teal); color: #fff; } .pager .pg.off { opacity: .4; pointer-events: none; }
.pager select { height: 36px; border-radius: 10px; border: 1px solid var(--line-3); background: #fff; padding: 0 10px; font-weight: 600; }

/* ---------- Dashboard ---------- */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 16px; }
.kpi { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); }
.kpi:hover { box-shadow: 0 10px 28px rgba(15,37,71,.12); color: var(--ink); }
.kpi .ico { flex: none; width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; } .kpi .ico svg { width: 24px; height: 24px; }
.kpi .n { font-size: 32px; font-weight: 800; line-height: 1; } .kpi .l { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 14px; }
.quick a { display: flex; align-items: center; justify-content: center; gap: 9px; height: 50px; border-radius: 12px; font-weight: 800; font-size: 14.5px; color: #fff; } .quick a:hover { filter: brightness(.94); color: #fff; }
.task { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--row-line); }
.task .t { flex: 1; min-width: 0; } .task .t b { display: block; font-weight: 700; font-size: 14px; } .task .t span { font-size: 12.5px; color: var(--muted-2); }
.task.done .t b { text-decoration: line-through; color: var(--muted-3); } .task .time { font-size: 13px; font-weight: 600; color: var(--gray); width: 44px; text-align: right; }
.visit-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--row-line); color: var(--ink); }
.visit-row .ph { flex: none; width: 66px; height: 56px; border-radius: 12px; background: #d9e2ef center/cover no-repeat; } .visit-row .tm { font-weight: 800; font-size: 16px; } .visit-row .s { font-size: 12.5px; color: var(--muted-2); }
.daycal { position: relative; } .daycal .h { height: 46px; border-top: 1px solid var(--row-line); font-size: 12px; color: var(--muted-2); font-weight: 600; padding-top: 3px; }
.daycal .ev { position: absolute; left: 52px; right: 0; border-radius: 10px; padding: 5px 10px; overflow: hidden; border-left: 4px solid; font-size: 12.5px; } .daycal .ev b { display: block; font-weight: 800; } .daycal .ev span { font-size: 11.5px; opacity: .85; }
.act-row { display: flex; gap: 14px; align-items: center; padding: 11px 0; border-top: 1px solid var(--row-line); } .act-row .ico { flex: none; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; } .act-row.sq .ico { border-radius: 12px; }
.act-row b { font-weight: 700; font-size: 14px; display: block; } .act-row span.m { font-size: 12.5px; color: var(--muted-2); }
.timeline { display: flex; flex-direction: column; } .timeline .it { display: flex; gap: 14px; padding-bottom: 18px; } .timeline .ico { flex: none; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.timeline b { font-weight: 700; font-size: 14px; display: block; } .timeline .d { font-size: 13px; color: var(--gray); } .timeline .m { font-size: 12px; color: var(--muted-2); margin-top: 2px; }

/* ---------- Inmuebles ---------- */
.prop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(285px, 100%), 1fr)); gap: 20px; }
.prop-card { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(15,37,71,.04), 0 8px 24px rgba(15,37,71,.05); cursor: pointer; color: var(--ink); display: block; }
.prop-card:hover { box-shadow: var(--shadow-h); color: var(--ink); }
.prop-photo { position: relative; aspect-ratio: 4/3; background: linear-gradient(135deg, #d6dfec, #bfcde0) center/cover no-repeat; display: flex; align-items: center; justify-content: center; }
.prop-photo .nofoto { color: rgba(15,37,71,.4); display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; }
.prop-photo .state { position: absolute; top: 12px; left: 12px; } .prop-photo .state .pill { padding: 5px 12px; font-size: 12.5px; font-weight: 800; }
.prop-body { padding: 14px 18px 16px; } .prop-ref { font-size: 12px; font-weight: 700; color: var(--muted-2); display: flex; justify-content: space-between; align-items: center; }
.prop-price { font-size: 22px; font-weight: 800; margin: 3px 0 2px; } .prop-title { font-weight: 700; font-size: 15px; } .prop-zone { font-size: 13px; color: var(--muted-2); margin-bottom: 12px; }
.prop-feats { display: flex; gap: 16px; font-weight: 700; font-size: 13.5px; padding-bottom: 12px; border-bottom: 1px solid var(--row-line); } .prop-feats span { display: inline-flex; gap: 6px; align-items: center; }
.prop-people { font-size: 12.5px; color: var(--gray); margin-top: 10px; line-height: 1.5; }
.card-menu { position: relative; } .card-menu .menu { position: absolute; right: 0; top: 24px; z-index: 20; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 34px rgba(15,37,71,.2); padding: 6px; min-width: 190px; display: none; }
.card-menu.open .menu { display: block; } .menu a, .menu button { display: flex; gap: 9px; align-items: center; width: 100%; padding: 9px 12px; border-radius: 8px; font-weight: 600; font-size: 13.5px; color: var(--ink); background: none; border: 0; cursor: pointer; text-align: left; } .menu a:hover, .menu button:hover { background: var(--teal-soft2); }
.gallery { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1.3fr); gap: 14px; }
.gallery .main-img { position: relative; aspect-ratio: 16/9; border-radius: 18px; background: linear-gradient(135deg, #d6dfec, #bfcde0) center/cover no-repeat; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gallery .nav-btn { position: absolute; top: 50%; width: 38px; height: 38px; margin-top: -19px; border-radius: 50%; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; cursor: pointer; border: 0; } .gallery .nav-btn.l { left: 14px; } .gallery .nav-btn.r { right: 14px; }
.gallery .counter { position: absolute; right: 14px; bottom: 12px; padding: 4px 12px; border-radius: 999px; background: color-mix(in srgb, var(--navy) 78%, transparent); color: #fff; font-size: 12.5px; font-weight: 800; }
.gallery .thumbs { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 12px; }
.gallery .thumb { border-radius: 14px; background: #d9e2ef center/cover no-repeat; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; cursor: pointer; border: 2px solid transparent; position: relative; min-height: 60px; } .gallery .thumb.on { border-color: var(--teal); }
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; }
.feat { display: flex; gap: 12px; align-items: center; } .feat .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--teal-soft2); color: var(--teal); display: flex; align-items: center; justify-content: center; } .feat b { font-weight: 800; font-size: 15px; display: block; } .feat span { font-size: 12.5px; color: var(--muted-2); }
.tabs { display: flex; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px; overflow-x: auto; }
.tab { padding: 10px 16px; border-radius: 10px; font-weight: 700; font-size: 14px; white-space: nowrap; cursor: pointer; background: transparent; color: var(--gray); border: 0; display: inline-flex; gap: 6px; align-items: center; } .tab.on { background: var(--teal-soft); color: var(--teal-ink); } .tab:hover { color: var(--teal-ink); }
.tab .n { font-size: 11.5px; font-weight: 800; background: var(--gray-bg); color: var(--gray); border-radius: 999px; padding: 1px 7px; } .tab.on .n { background: #fff; color: var(--teal-ink); }
.price-big { font-size: 34px; font-weight: 800; }

/* ---------- Kanban ---------- */
.kanban { display: flex; gap: 14px; width: 100%; overflow-x: auto; padding-bottom: 10px; align-items: flex-start; }
.kcol { flex: 1 0 262px; min-width: 262px; border-radius: 18px; padding-bottom: 12px; } .kcol.over { outline: 2px dashed var(--teal); outline-offset: -2px; }
.kcol-head { padding: 14px 16px; border-radius: 18px; } .kcol-head b { display: block; font-weight: 800; font-size: 16px; } .kcol-head span { font-size: 12.5px; font-weight: 700; opacity: .85; }
.kcards { display: flex; flex-direction: column; gap: 10px; padding: 10px 10px 0; }
.kcard { background: #fff; border-radius: 14px; padding: 13px 14px; box-shadow: 0 2px 8px rgba(15,37,71,.08); cursor: grab; display: flex; flex-direction: column; gap: 6px; } .kcard.dragging { opacity: .45; }
.kcard .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; } .kcard .cli { font-weight: 800; font-size: 15px; color: var(--teal); } .kcard .s { font-size: 13px; color: var(--gray); } .kcard .s.b { font-weight: 600; } .kcard .r { font-size: 12.5px; color: var(--muted-2); }
.kcard .next { display: flex; gap: 6px; align-items: center; font-size: 12.5px; font-weight: 700; color: var(--gray); } .kcard .next.urg { color: var(--danger); }
.kadd { display: flex; gap: 7px; align-items: center; justify-content: center; height: 40px; border-radius: 12px; border: 1.5px dashed rgba(15,37,71,.2); color: var(--gray); font-weight: 700; font-size: 13.5px; cursor: pointer; background: none; width: 100%; } .kadd:hover { background: rgba(255,255,255,.6); }

/* ---------- Formularios ---------- */
.form-section { background: #fff; border-radius: 16px; padding: 22px 24px 24px; border: 1px solid #e6ecf5; box-shadow: var(--shadow); }
.form-section > header { margin-bottom: 18px; } .form-section h3 { font-size: 16.5px; font-weight: 800; } .form-section header p { font-size: 13px; color: var(--muted-2); margin-top: 3px; }
.form-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; grid-column: span 6; } .field.s3 { grid-column: span 3; } .field.s4 { grid-column: span 4; } .field.s8 { grid-column: span 8; } .field.s12 { grid-column: span 12; } .field.s2 { grid-column: span 2; }
.field > label, .lbl { font-size: 12.5px; font-weight: 700; color: var(--ink-2); } .field .req { color: #d93636; }
.input, .select, .textarea { width: 100%; height: 42px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; padding: 0 14px; font-size: 14px; outline: 0; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 15%, transparent); }
.select { appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer; background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366768e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m6 9 6 6 6-6'/%3e%3c/svg%3e") no-repeat right 13px center / 16px; }
.textarea { height: auto; min-height: 100px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.input.invalid, .select.invalid { border-color: #e5484d; } .field-error, .text-danger, .field-validation-error { color: #d93636; font-size: 12.5px; font-weight: 600; }
.hint { font-size: 12px; color: var(--muted-2); }
.input-suffix { display: flex; align-items: center; height: 42px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; padding: 0 14px; gap: 8px; } .input-suffix:focus-within { border-color: var(--teal); } .input-suffix input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; height: 100%; font-size: 14px; } .input-suffix span { font-size: 13px; font-weight: 700; color: var(--muted-2); }
.auto { display: flex; align-items: center; gap: 9px; height: 42px; border-radius: 10px; background: #f1f5fb; border: 1px dashed #cdd8e8; padding: 0 14px; font-size: 14px; color: var(--gray); }
.multi { display: flex; flex-wrap: wrap; gap: 8px; } .multi label { cursor: pointer; } .multi input { position: absolute; opacity: 0; pointer-events: none; }
.multi span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; color: var(--gray); font-weight: 700; font-size: 13px; }
.multi input:checked + span { border-color: var(--teal); background: var(--teal-soft); color: var(--teal-ink); } .multi input:focus-visible + span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 25%, transparent); }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; font-size: 14px; } .switch input { width: 18px; height: 18px; accent-color: var(--teal); }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; position: sticky; bottom: 0; background: linear-gradient(transparent, var(--panel) 30%); padding: 14px 0 4px; }
.dropzone { border: 2px dashed #b9c8de; border-radius: 14px; background: #f7faff; padding: 22px; display: flex; align-items: center; gap: 16px; cursor: pointer; } .dropzone:hover, .dropzone.over { background: var(--teal-soft2); border-color: var(--teal); }
.dropzone .ico { width: 46px; height: 46px; border-radius: 50%; background: var(--teal-soft3); color: var(--teal); display: flex; align-items: center; justify-content: center; flex: none; } .dropzone b { font-weight: 800; display: block; } .dropzone span { font-size: 12.5px; color: var(--muted-2); }
.photo-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; margin-top: 14px; } .photo-slot { position: relative; aspect-ratio: 4/3; border-radius: 12px; background: #d9e2ef center/cover no-repeat; overflow: hidden; }

/* ---------- Mensajes / modal / toast ---------- */
.alert { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 600; background: var(--danger-bg); color: #8f1b1b; }
.alert.ok { background: var(--ok-bg); color: var(--ok); } .alert.warn { background: var(--warn-bg); color: var(--warn); } .alert.info { background: var(--info-bg); color: var(--info); }
.toast-wrap { position: fixed; right: 24px; bottom: 24px; z-index: 9000; display: flex; flex-direction: column; gap: 10px; }
.toast { padding: 12px 18px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 14px 34px color-mix(in srgb, var(--navy) 35%, transparent); display: flex; gap: 10px; align-items: center; animation: tin .2s ease; } .toast.err { background: #8f1b1b; } .toast.ok { background: #0c6b57; }
@keyframes tin { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-bg { position: fixed; inset: 0; background: rgba(13,37,71,.5); z-index: 8000; display: none; align-items: center; justify-content: center; padding: 20px; } .modal-bg.open { display: flex; }
.modal { background: #fff; border-radius: 18px; width: 100%; max-width: 640px; max-height: 92vh; display: flex; flex-direction: column; box-shadow: 0 30px 70px rgba(13,37,71,.4); }
.modal.lg { max-width: 860px; } .modal > header { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); } .modal > header h3 { font-size: 18px; font-weight: 800; }
.modal > .body { padding: 22px 24px; overflow-y: auto; } .modal > footer { padding: 14px 24px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; }

/* ---------- Login ---------- */
.login { display: flex; min-height: 100vh; background: #fff; }
.login-hero { flex: 1.1; background: var(--navy); color: #fff; padding: 48px 56px; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.login-hero .logo { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 800; } .login-hero .logo span.m { width: 40px; height: 40px; border-radius: 12px; background: var(--teal); display: flex; align-items: center; justify-content: center; }
.login-hero h1 { font-size: 44px; line-height: 1.1; margin-bottom: 18px; font-weight: 800; max-width: 520px; text-wrap: balance; } .login-hero p { margin-bottom: 26px; font-size: 16px; color: #c4d1e6; max-width: 460px; line-height: 1.55; }
.login-hero .flow { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 700; } .login-hero .flow span { padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); }
.login-hero small { font-size: 12px; color: #8ea3c4; }
.login-form-wrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px; background: #f6f9fd; min-width: 0; }
.login-form { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 18px; } .login-form h2 { font-size: 28px; font-weight: 800; } .login-form .sub { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.login-form .input { height: 46px; border-radius: 12px; font-size: 15px; } .login-form .btn-primary { height: 48px; border-radius: 12px; font-size: 15px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .sb-toggle { display: none; }
  .grid-2 { grid-template-columns: 1fr; } .gallery { grid-template-columns: 1fr; } .gallery .thumbs { grid-template-columns: repeat(3, 1fr); grid-template-rows: none; }
}
@media (max-width: 760px) {
  .app { flex-direction: column; height: auto; min-height: 100vh; padding: 8px; gap: 8px; }
  .sidebar, html.sb-collapsed .sidebar { width: 100%; flex-direction: row; align-items: center; border-radius: 16px; padding: 8px 10px; gap: 6px; }
  .sb-toggle, .nav-item::after, .userbox::after { display: none !important; }
  .brand { flex: none; margin: 0 6px 0 0; padding: 0; border: 0; } .brand-logo { height: 44px; width: 44px; } .brand-logo .logo-full, .brand-name { display: none; } .brand-logo .logo-mark { opacity: 1; transform: translate(-50%, -50%); }
  .nav, html:not(.sb-collapsed) .nav { flex: 1; min-width: 0; flex-direction: row; overflow-x: auto; overflow-y: hidden; margin: 0; padding: 0; scrollbar-width: none; } .nav::-webkit-scrollbar { display: none; }
  .nav-item { height: 40px; width: 44px; flex: none; padding: 0; justify-content: center; } .nav-item > span { display: none; } .nav-item:hover { transform: none; }
  .userbox { flex: none; border: 0; padding: 0 4px; } .userbox .who { display: none; } .sb-spacer { display: none; }
  .usermenu, html.sb-collapsed .usermenu { top: calc(100% + 8px); bottom: auto; left: auto; right: 0; }
  .main { border-radius: 16px; overflow: visible; } .page { padding: 18px 14px 32px; } .page-title { font-size: 25px; }
  .login { flex-direction: column; } .login-hero { padding: 28px 24px; gap: 24px; } .login-hero h1 { font-size: 30px; } .login-form-wrap { padding: 28px 20px; }
  .field, .field.s3, .field.s4, .field.s8, .field.s2 { grid-column: span 12; } .form-section { padding: 18px 16px; }
  .filter { max-width: none; flex: 1 1 140px; } .toast-wrap { left: 12px; right: 12px; bottom: 12px; }
  .kcol { width: 240px; }
}

/* ---------- Selector con búsqueda (selector.js) ---------- */
.picker { position: relative; min-width: 0; }
.picker-chips { display: flex; flex-wrap: wrap; gap: 6px; } .picker-chips:empty { display: none; }
.picker-chips + .picker-input { margin-top: 6px; } .picker-chips:empty + .picker-input { margin-top: 0; }
.picker-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; background: var(--teal-soft); color: var(--teal-ink); font-weight: 700; font-size: 14px; border: 1px solid var(--teal); }
.picker:not([data-multi]) .picker-chip { width: 100%; justify-content: space-between; height: 42px; }
.picker-chip button { border: 0; background: none; color: inherit; font-size: 18px; line-height: 1; cursor: pointer; padding: 0 2px; }
.picker-menu { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; margin: 4px 0 0; padding: 5px; list-style: none; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 14px 34px -14px rgba(11,38,68,.35); max-height: 18rem; overflow-y: auto; }
.picker-menu li { padding: 8px 12px; border-radius: 8px; cursor: pointer; display: flex; flex-direction: column; gap: 1px; } .picker-menu li:hover { background: var(--teal-soft2); }
.picker-menu li b { font-weight: 700; font-size: 14px; } .picker-menu li span { font-size: 12px; color: var(--muted-2); } .picker-menu li.none { color: var(--muted-2); cursor: default; }
.picker-menu li.none:hover { background: none; }

@media (min-width: 1800px) { .page { padding-left: 44px; padding-right: 44px; } .kpi .n { font-size: 36px; } }
@media (min-width: 1600px) {
  html body .filters .filter { max-width: 320px; }
  html body .doc-name, html body .docs-table .cell-sub { max-width: 560px; }
  html body .cli-table td.cli-email { max-width: 340px; }
  html body .inm-table td:nth-child(4) { max-width: 560px; }
  .prop-grid { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
}

/* ---------- Densidad para portátiles (1200–2100 px): interfaz ~15 % más compacta para ver las tablas completas ---------- */
@media (min-width: 1200px) and (max-width: 2100px) {
  :root { --z: .85; }
  html { zoom: var(--z); }
  .app { height: calc(100vh / var(--z)); }
  .login { min-height: calc(100vh / var(--z)); }
  .modal { max-height: calc(92vh / var(--z)); }
  table.dt th, table.dt td { padding-left: 10px; padding-right: 10px; }
}
@media (min-width: 1200px) and (max-width: 1600px) { :root { --z: .8; } }
@media (min-width: 1200px) and (max-width: 1440px) { :root { --z: .75; } }
@media (min-width: 1200px) and (max-width: 1600px) {
  html body table.dt.inm-table th, html body table.dt.inm-table td { padding-left: 8px; padding-right: 8px; }
  html body table.dt.inm-table td:nth-child(4) { min-width: 160px; }
  html body table.dt.inm-table td:nth-child(10) { min-width: 100px; }
  html body table.dt.inm-table .thumb { width: 46px; height: 36px; }
}

/* Logo propio del cliente en la cabecera de acceso */
.login-hero .logo span.m.m-img { background: #fff; padding: 5px; } .login-hero .logo span.m.m-img img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }

/* Menú oscuro: los logos de InmoGest (wwwroot/images) están pensados para fondo claro; se pasan a blanco. El logo propio del cliente se respeta tal cual. */
[data-tema-menu="oscuro"] .brand-logo:not(.brand-custom) img { filter: brightness(0) invert(1); }
