/*
 * TESURO DESIGN SYSTEM — classic blue / 2010-inspired interface
 * v1.2 — 22 November 2026
 *
 * Single source of truth for VISUAL design. Existing HTML and JS retain
 * their behaviour. Edit design tokens below for a site-wide theme change.
 *
 * Pages use <html class="tesuro-vk2010" data-tesuro-page="...">.
 * This stylesheet is loaded LAST, after legacy page styles.
 */

/* ============================================================
   1. UNIVERSAL DESIGN TOKENS
   ============================================================ */
html.tesuro-vk2010 {
  color-scheme: light;
  --td-blue: #4e729a;
  --td-blue-dark: #365d86;
  --td-blue-hover: #3f6893;
  --td-blue-light: #d9e6f2;
  --td-blue-pale: #edf3f9;
  --td-page: #f1f4f8;
  --td-white: #ffffff;
  --td-line: #c9d7e6;
  --td-line-soft: #dce5ee;
  --td-text: #22364e;
  --td-muted: #6b7d90;
  --td-link: #315e8d;
  --td-green: #327758;
  --td-danger: #b34d53;
  --td-radius: 5px;
  --td-shadow: 0 1px 3px rgba(34, 59, 85, .06);
  /* Legacy CSS variable compatibility */
  --blue: var(--td-blue);
  --blue2: var(--td-blue-hover);
  --blue-dark: var(--td-blue-dark);
  --blue-hover: var(--td-blue-hover);
  --blue-bright: var(--td-blue);
  --blue-soft: var(--td-blue-pale);
  --text: var(--td-text);
  --ink: var(--td-text);
  --muted: var(--td-muted);
  --muted-2: var(--td-muted);
  --line: var(--td-line-soft);
  --border: var(--td-line);
  --border-soft: var(--td-line-soft);
  --surface: var(--td-white);
  --card: var(--td-white);
  --card-hover: #f8fbfd;
  --card-deep: var(--td-blue-pale);
  --soft: var(--td-page);
  --pale: var(--td-blue-pale);
  --bg: var(--td-page);
  --page: var(--td-page);
  --top: var(--td-blue);
  --green: var(--td-green);
  --danger: var(--td-danger);
  --radius: var(--td-radius);
  --shadow: var(--td-shadow);
}

html.tesuro-vk2010,
html.tesuro-vk2010 body {
  background-color: var(--td-page);
  color: var(--td-text);
}
html.tesuro-vk2010 body {
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
html.tesuro-vk2010 :is(input,select,textarea,button) { font-family: inherit; }
html.tesuro-vk2010 :is(input,select,textarea) {
  border-color: var(--td-line);
  border-radius: 3px;
  color: var(--td-text);
}
html.tesuro-vk2010 :is(input,select,textarea):focus-visible {
  outline: 2px solid #97b4d3;
  outline-offset: 1px;
}
html.tesuro-vk2010 :is(a,button,[role="button"]):focus-visible {
  outline: 2px solid #97b4d3;
  outline-offset: 2px;
}
html.tesuro-vk2010 :is(h1,h2,h3) { letter-spacing: -.018em; }
html.tesuro-vk2010 :is(button,a) { -webkit-tap-highlight-color: transparent; }
html.tesuro-vk2010 img { max-width: 100%; }
/* Hiding is functional; never change [hidden]/.hidden to visible. */
html.tesuro-vk2010 [hidden], html.tesuro-vk2010 .hidden { display: none !important; }

/* ============================================================
   2. SITE-WIDE HEADER AND BUTTONS
   (Scoped to actual headers, never to third-party map controls)
   ============================================================ */
html.tesuro-vk2010 :is(.header,.topbar,.site-header,header.head,header:not(.panel-header):not(.site-footer)) {
  border-bottom-color: var(--td-blue-dark);
}
html.tesuro-vk2010[data-tesuro-page="index"] .topbar,
html.tesuro-vk2010[data-tesuro-page="add-property"] .topbar,
html.tesuro-vk2010[data-tesuro-page="property"] .header,
html.tesuro-vk2010[data-tesuro-page="resale"] .header,
html.tesuro-vk2010[data-tesuro-page="profile"] .header,
html.tesuro-vk2010[data-tesuro-page="login"] .header,
html.tesuro-vk2010[data-tesuro-page="projects"] .head,
html.tesuro-vk2010[data-tesuro-page="developers"] header,
html.tesuro-vk2010[data-tesuro-page="developer"] .site-header,
html.tesuro-vk2010[data-tesuro-page="project"] .site-header,
html.tesuro-vk2010[data-tesuro-page="admin"] header,
html.tesuro-vk2010[data-tesuro-page="admin-project"] .head,
html.tesuro-vk2010[data-tesuro-page="admin-developer"] header,
html.tesuro-vk2010[data-tesuro-page="admin-maps"] header,
html.tesuro-vk2010[data-tesuro-page="building-editor"] .header,
html.tesuro-vk2010[data-tesuro-page="project-map"] .top {
  background: linear-gradient(180deg,#527ba5 0%,var(--td-blue) 56%,#41688f 100%);
  color: #fff;
  border-bottom: 1px solid var(--td-blue-dark);
  box-shadow: 0 1px 0 rgba(255,255,255,.16) inset;
}
html.tesuro-vk2010 :is(.topbar,.site-header,.header,header.head,header) :is(a,span,button) {
  /* default text in header; specific button components override below */
  text-decoration: none;
}
html.tesuro-vk2010 :is(.topbar,.site-header,.header,header.head) a:not(.btn):not(.add):not(.auth-button):not(.header-auth):not(.primary),
html.tesuro-vk2010[data-tesuro-page="developers"] header a,
html.tesuro-vk2010[data-tesuro-page="admin"] header a,
html.tesuro-vk2010[data-tesuro-page="admin-maps"] header a,
html.tesuro-vk2010[data-tesuro-page="admin-developer"] header a {
  color: #f6f9fd;
}
html.tesuro-vk2010 :is(.topbar,.site-header,.header,header.head,header) .tesuro-logo-img,
html.tesuro-vk2010 :is(.topbar,.site-header,.header,header.head,header) .brand img,
html.tesuro-vk2010 :is(.topbar,.site-header,.header,header.head) .header-brand img {
  filter: brightness(0) invert(1);
}
html.tesuro-vk2010 :is(.header,.topbar,.site-header,header.head) .brand,
html.tesuro-vk2010 .header-brand,
html.tesuro-vk2010 .topbar .logo { color: #fff; }
html.tesuro-vk2010 :is(.topbar,.header,.head,.site-header) :is(.muted,.city-switch,.city,.sub,.top-link,.back,.nav a,.site-nav a) {
  color: #e5eef8;
}
html.tesuro-vk2010 :is(.auth-button,.header-auth,.head-links .auth,.add,.top-link,.header-actions .add) {
  border-radius: 3px;
}
html.tesuro-vk2010 :is(.auth-button,.header-auth,.head-links .auth) {
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
}
html.tesuro-vk2010 :is(.auth-button,.header-auth,.head-links .auth):hover {
  background: rgba(255,255,255,.22);
  border-color: #fff;
}
html.tesuro-vk2010 :is(.add,.primary,.btn.blue,.action-primary,.searchbar button,.map-filter-btn.active) {
  background: var(--td-blue);
  border-color: var(--td-blue-dark);
  color: #fff;
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
html.tesuro-vk2010 :is(.add,.primary,.btn.blue,.action-primary):hover:not(:disabled) {
  background: var(--td-blue-hover);
}
html.tesuro-vk2010 :is(.secondary,.btn.soft,.action-secondary) {
  background: var(--td-blue-pale);
  border-color: var(--td-line);
  color: var(--td-link);
  border-radius: 3px;
}
html.tesuro-vk2010 :is(.card,.panel,.side-panel,.sidebar,.section,.metric,.entry,.listing,.building-card) {
  box-shadow: var(--td-shadow);
}
html.tesuro-vk2010 :is(.card,.panel,.side-panel,.sidebar,.section,.metric,.entry,.listing,.building-card,.filter-panel) {
  border-color: var(--td-line);
  border-radius: var(--td-radius);
}
html.tesuro-vk2010 :is(.back,.breadcrumb a,.section-link,.side-link,.more,.entry-action) { color: var(--td-link); }
html.tesuro-vk2010 :is(.btn,.action,.tab,.choice,.mode-card,.field input,.field select,.field textarea) {
  border-radius: 3px;
}
html.tesuro-vk2010 :is(.site-footer,footer.footer,body>footer) {
  border-top: 1px solid var(--td-line);
  background: #edf2f7;
  color: var(--td-muted);
}
html.tesuro-vk2010 :is(.site-footer,footer.footer,body>footer) a { color: var(--td-link); }

/* ============================================================
   3. MAIN MAP / LANDING PAGE
   ============================================================ */
html.tesuro-vk2010[data-tesuro-page="index"] .topbar { height:60px; }
html.tesuro-vk2010[data-tesuro-page="index"] .topbar-inner,
html.tesuro-vk2010[data-tesuro-page="index"] .modebar-inner,
html.tesuro-vk2010[data-tesuro-page="index"] .map-wrap {
  width: min(1200px,calc(100% - 32px));
}
html.tesuro-vk2010[data-tesuro-page="index"] .brand-block { gap:3px; }
html.tesuro-vk2010[data-tesuro-page="index"] .logo { font-size:26px; }
html.tesuro-vk2010[data-tesuro-page="index"] .city-switch { color:#e5eef8; }
html.tesuro-vk2010[data-tesuro-page="index"] .city-switch select { color:#fff; font-size:13px; }
html.tesuro-vk2010[data-tesuro-page="index"] .modebar {
  padding:9px 0; background:var(--td-white);border-bottom:1px solid var(--td-line);
}
html.tesuro-vk2010[data-tesuro-page="index"] .modebar-inner { gap:8px; }
html.tesuro-vk2010[data-tesuro-page="index"] .mode-card {
  height:48px; min-height:0; padding:0 14px; border:1px solid var(--td-line);
  border-radius:3px; background:var(--td-blue-pale); color:var(--td-text);gap:9px;
}
html.tesuro-vk2010[data-tesuro-page="index"] a.mode-card:hover { background:var(--td-blue-light); }
html.tesuro-vk2010[data-tesuro-page="index"] .mode-title { font-size:13px; font-weight:700; }
html.tesuro-vk2010[data-tesuro-page="index"] .mode-icon { color:var(--td-blue-dark); }
html.tesuro-vk2010[data-tesuro-page="index"] .map-wrap {
  border:1px solid var(--td-line);border-radius:4px;box-shadow:var(--td-shadow);
  margin-top:12px; height:clamp(520px,calc(100svh - 245px),720px);
}
html.tesuro-vk2010[data-tesuro-page="index"] .map-filter,
html.tesuro-vk2010[data-tesuro-page="index"] .map-status {
  border-color:var(--td-line);border-radius:4px;box-shadow:var(--td-shadow);
  background:rgba(255,255,255,.97);
}
html.tesuro-vk2010[data-tesuro-page="index"] .map-filter-btn { border-radius:3px; }
html.tesuro-vk2010[data-tesuro-page="index"] .map-filter-btn.active { color:#fff; }

/* ============================================================
   4. PROPERTY CATALOG, DEVELOPERS, PROJECTS
   ============================================================ */
html.tesuro-vk2010[data-tesuro-page="resale"] .header,
html.tesuro-vk2010[data-tesuro-page="property"] .header,
html.tesuro-vk2010[data-tesuro-page="profile"] .header { min-height:60px; height:auto; }
html.tesuro-vk2010[data-tesuro-page="resale"] .market { height:calc(100vh - 60px); }
html.tesuro-vk2010[data-tesuro-page="resale"] .left { background:var(--td-white); border-color:var(--td-line); }
html.tesuro-vk2010[data-tesuro-page="resale"] .searchbar,
html.tesuro-vk2010[data-tesuro-page="resale"] .filter-panel,
html.tesuro-vk2010[data-tesuro-page="resale"] .building-card {
  border-color:var(--td-line);border-radius:3px;background:var(--td-blue-pale);
}
html.tesuro-vk2010[data-tesuro-page="resale"] .filter-panel { background:#f8fafc; }
html.tesuro-vk2010[data-tesuro-page="resale"] .card { border-radius:3px; border:1px solid var(--td-line); overflow:hidden; }
html.tesuro-vk2010[data-tesuro-page="resale"] .heading h1 { color:var(--td-text); }
html.tesuro-vk2010[data-tesuro-page="resale"] .searchbar :is(.city,input,.filter-btn),
html.tesuro-vk2010[data-tesuro-page="resale"] .sortline select { border-color:var(--td-line);border-radius:3px; }
html.tesuro-vk2010[data-tesuro-page="resale"] .price { color:var(--td-text); }
html.tesuro-vk2010[data-tesuro-page="resale"] .complex { color:var(--td-link); }

html.tesuro-vk2010[data-tesuro-page="projects"] .head,
html.tesuro-vk2010[data-tesuro-page="developers"] header { min-height:61px; }
html.tesuro-vk2010[data-tesuro-page="projects"] .intro,
html.tesuro-vk2010[data-tesuro-page="developers"] .heading {
  border-bottom:1px solid var(--td-line);padding-bottom:15px;
}
html.tesuro-vk2010[data-tesuro-page="projects"] .tabs {
  background:var(--td-blue-pale);border:1px solid var(--td-line);border-radius:3px;
}
html.tesuro-vk2010[data-tesuro-page="projects"] .tab,
html.tesuro-vk2010[data-tesuro-page="profile"] .tab { border-radius:2px; }
html.tesuro-vk2010[data-tesuro-page="projects"] .tab[aria-selected="true"],
html.tesuro-vk2010[data-tesuro-page="profile"] .tab.active {
  background:var(--td-blue);color:#fff;border-color:var(--td-blue-dark);
}
html.tesuro-vk2010[data-tesuro-page="projects"] .card {
  border:1px solid var(--td-line);border-radius:3px;
}
html.tesuro-vk2010[data-tesuro-page="projects"] .card h2,
html.tesuro-vk2010[data-tesuro-page="developers"] .info strong { color:var(--td-link); }
html.tesuro-vk2010[data-tesuro-page="developers"] .entry {
  border:1px solid var(--td-line);border-radius:3px;background:var(--td-white);
}
html.tesuro-vk2010[data-tesuro-page="developers"] .entry:hover,
html.tesuro-vk2010[data-tesuro-page="projects"] .card:hover { border-color:#93aec9; }

/* ============================================================
   5. DEVELOPER AND RESIDENTIAL-COMPLEX COMMUNITY PAGES
   These two pages previously had a dark theme with hardcoded colors.
   ============================================================ */
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) body {
  background:var(--td-page);color:var(--td-text);font-size:13px;
}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .site-header {
  background:linear-gradient(180deg,#527ba5,var(--td-blue));border-bottom:1px solid var(--td-blue-dark);
}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .header-inner { height:62px; }
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .header-brand {
  color:#fff;font:700 23px/1 Tahoma,Verdana,Arial,sans-serif;letter-spacing:-.04em;
}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .header-brand i { color:#e8f0f9; }
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .header-nav { color:#e8f0f8; }
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .header-nav .header-auth {
  border:1px solid #86a8c9;color:#fff;background:#41698f;border-radius:3px;
}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) main.shell {
  padding-top:19px;padding-bottom:50px;
}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .breadcrumb {
  font-size:12px;color:var(--td-muted);margin-bottom:12px;
}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .breadcrumb a,
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .section-link,
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .side-link { color:var(--td-link); }
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .community {
  background:var(--td-white);border:1px solid var(--td-line);border-radius:4px;
  box-shadow:var(--td-shadow);
}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .community-cover { height:252px; }
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .community-cover::after {
  background:linear-gradient(0deg,rgba(11,34,60,.26),transparent 72%);
}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .cover-type {
  background:rgba(39,75,110,.85);border:1px solid rgba(255,255,255,.65);
  padding:6px 10px;border-radius:3px;
}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .community-profile {
  min-height:117px;padding:14px 23px 17px;gap:18px;
}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .community-avatar {
  width:100px;height:100px;border:4px solid #fff;border-radius:5px;
  margin-top:-64px;box-shadow:0 2px 7px #233b5330;
}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .community-name h1 {
  font-size:clamp(24px,3vw,33px);color:var(--td-text);margin-bottom:5px;
}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .community-meta {
  color:var(--td-muted);font-size:12px;
}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .community-actions .action {
  border-radius:3px;min-height:36px;padding:8px 13px;font-size:12px;transform:none;
}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .action-primary {
  background:var(--td-blue);border-color:var(--td-blue-dark);color:#fff;
}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .action-secondary {
  background:var(--td-blue-pale);border-color:var(--td-line);color:var(--td-link);
}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .community-nav {
  border-top:1px solid var(--td-line);background:var(--td-blue-pale);padding:0 14px;
}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .community-nav a {
  color:var(--td-link);font-size:12px;padding:12px 14px 10px;
  border-bottom-color:transparent;
}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .community-nav a:hover,
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .community-nav a:first-child {
  color:var(--td-blue-dark);background:#dce8f4;
}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .page-grid {
  margin-top:15px;gap:14px;grid-template-columns:minmax(0,1fr) 295px;
}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) :is(.main-column,.side-column) { gap:13px; }
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) :is(.panel,.side-panel) {
  background:#fff;border:1px solid var(--td-line);border-radius:4px;
  color:var(--td-text);box-shadow:var(--td-shadow);
}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .panel-header {
  background:linear-gradient(#e3edf7,#d3e2f1);border-bottom:1px solid var(--td-line);
  padding:12px 17px;
}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .panel-header h2,
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .side-title {
  color:var(--td-text);font-size:15px;font-weight:700;
}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) :is(.panel-lead,.detail-lead,.location-address,.side-text,.side-text.muted,.side-row dt,.listing-title) {
  color:#526a82;
}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .side-row { border-bottom-color:var(--td-line-soft); }
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .side-row dd { color:var(--td-text); }
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .side-row a { color:var(--td-link); }
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) :is(.stat-block,.inline-metric,.amenity) {
  background:var(--td-blue-pale);border:1px solid var(--td-line);border-radius:3px;color:var(--td-text);
}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) :is(.stat-block strong,.inline-metric strong) {color:var(--td-text)}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) :is(.stat-block span,.inline-metric span) {color:var(--td-muted)}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) :is(.project-tile,.listing) {
  background:#fff;border:1px solid var(--td-line);border-radius:3px;color:var(--td-text);transform:none;
}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) :is(.project-tile,.listing):hover {
  border-color:#89aacc;background:#f9fbfe;transform:none;
}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .project-tile { min-height:185px; }
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .tile-info { padding:16px 18px;gap:8px; }
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .tile-info h3 { color:var(--td-link);font-size:19px; }
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) :is(.tile-sub,.listing-sub,.tile-meta,.location-address,.map-note) { color:var(--td-muted); }
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .listing-price { color:var(--td-text); }
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .listing-go { color:var(--td-link); }
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) :is(.map-frame,.location-visual,.map-empty,.notice,.empty-state,.media-empty) {
  border:1px solid var(--td-line);border-radius:3px;background:var(--td-blue-pale);color:var(--td-muted);
}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .map-frame { background:#dae8ed; }
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .map-pin { background:var(--td-blue); }
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .media-item,
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .listing-image { background:#e7edf5;color:var(--td-muted);border-radius:3px; }
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .media-item .media-more { color:#fff; }
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .side-link-action {
  background:var(--td-blue-pale);border-color:var(--td-line);border-radius:3px;color:var(--td-link);
}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .footer {
  background:#e9f0f7;border-top:1px solid var(--td-line);
}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .footer-inner,
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .footer-tag { color:var(--td-muted); }
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .footer-links a {color:var(--td-link)}
/* Keep the lightbox dark even when the page switches to a light theme. */
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .lightbox {background:rgba(12,19,30,.95);color:#fff;}

/* ============================================================
   6. INDIVIDUAL PROPERTY DETAILS
   ============================================================ */
html.tesuro-vk2010[data-tesuro-page="property"] .wrap {max-width:1110px;margin-top:22px;}
html.tesuro-vk2010[data-tesuro-page="property"] .back {font-weight:700;color:var(--td-link);}
html.tesuro-vk2010[data-tesuro-page="property"] .gallery {
  border:1px solid var(--td-line);border-radius:4px;background:#dae3ed;gap:4px;
}
html.tesuro-vk2010[data-tesuro-page="property"] .summary {
  background:#fff;border:1px solid var(--td-line);border-radius:4px;padding:17px;
}
html.tesuro-vk2010[data-tesuro-page="property"] .summary .price {font-size:28px;}
html.tesuro-vk2010[data-tesuro-page="property"] .card {
  background:#fff;border:1px solid var(--td-line);border-radius:4px;padding:17px;
}
html.tesuro-vk2010[data-tesuro-page="property"] .card h2 {
  background:linear-gradient(#e3edf7,#d3e2f1);color:var(--td-text);
  margin:-17px -17px 16px;padding:10px 15px;border-bottom:1px solid var(--td-line);
  font-size:15px;
}
html.tesuro-vk2010[data-tesuro-page="property"] .facts {
  border-color:var(--td-line);background:var(--td-line);border-radius:3px;
}
html.tesuro-vk2010[data-tesuro-page="property"] .btn {
  border-radius:3px;min-height:37px;
}
html.tesuro-vk2010[data-tesuro-page="property"] .btn.soft {
  background:var(--td-blue-pale);border:1px solid var(--td-line);color:var(--td-link);
}
html.tesuro-vk2010[data-tesuro-page="property"] .seller-actions a {border-radius:3px;}
html.tesuro-vk2010[data-tesuro-page="property"] .all-photos {border-radius:3px;}

/* ============================================================
   7. ACCOUNT AND ADD-LISTING WIZARD
   ============================================================ */
html.tesuro-vk2010[data-tesuro-page="profile"] .page {margin-top:18px;gap:14px;}
html.tesuro-vk2010[data-tesuro-page="profile"] .sidebar,
html.tesuro-vk2010[data-tesuro-page="profile"] .panel {
  border:1px solid var(--td-line);border-radius:4px;background:#fff;padding:18px;
}
html.tesuro-vk2010[data-tesuro-page="profile"] .identity {border-bottom:1px solid var(--td-line);}
html.tesuro-vk2010[data-tesuro-page="profile"] .menu button {
  border-radius:3px;color:var(--td-link);font-size:13px;
}
html.tesuro-vk2010[data-tesuro-page="profile"] .menu button.active {
  background:var(--td-blue-light);color:var(--td-blue-dark);
}
html.tesuro-vk2010[data-tesuro-page="profile"] .panel-head {
  border-bottom:1px solid var(--td-line);padding-bottom:10px;
}
html.tesuro-vk2010[data-tesuro-page="profile"] .listing {
  background:#fff;border:1px solid var(--td-line);border-radius:3px;
}
html.tesuro-vk2010[data-tesuro-page="profile"] .action {
  border:1px solid var(--td-line);border-radius:3px;
}
html.tesuro-vk2010[data-tesuro-page="profile"] .action.primary {background:var(--td-blue);color:#fff;}
html.tesuro-vk2010[data-tesuro-page="profile"] .tab.active {color:#fff;}

html.tesuro-vk2010[data-tesuro-page="add-property"] .topbar {height:61px;}
html.tesuro-vk2010[data-tesuro-page="add-property"] .shell {padding-top:22px;}
html.tesuro-vk2010[data-tesuro-page="add-property"] :is(.progress-wrap,.dropdown-card,.dropdown-button,.select-card-wrap,.choice,.field input,.field textarea,.field select) {
  border-radius:3px;
}
html.tesuro-vk2010[data-tesuro-page="add-property"] .dropdown-button {
  min-height:78px;background:#f7fafc;border:1px solid var(--td-line);padding:13px;
}
html.tesuro-vk2010[data-tesuro-page="add-property"] .dropdown-button:hover {
  border-color:#7ea2c4;background:var(--td-blue-pale);
}
html.tesuro-vk2010[data-tesuro-page="add-property"] .section-title {
  border-bottom:1px solid var(--td-line);padding-bottom:6px;
}
html.tesuro-vk2010[data-tesuro-page="add-property"] .choice {
  border:1px solid var(--td-line);background:var(--td-blue-pale);color:var(--td-link);
}
html.tesuro-vk2010[data-tesuro-page="add-property"] .progress-track,
html.tesuro-vk2010[data-tesuro-page="add-property"] .progress-bar {border-radius:3px;}
html.tesuro-vk2010[data-tesuro-page="add-property"] .btn {min-height:42px;border-radius:3px;}
html.tesuro-vk2010[data-tesuro-page="add-property"] .btn-next {background:var(--td-blue);color:white;}

/* ============================================================
   8. ADMINISTRATION: visual only, no auth or JS changes
   ============================================================ */
html.tesuro-vk2010[data-tesuro-page="admin"] header {height:62px;}
html.tesuro-vk2010[data-tesuro-page="admin"] .shell {min-height:calc(100vh - 62px);grid-template-columns:215px minmax(0,1fr);}
html.tesuro-vk2010[data-tesuro-page="admin"] aside {
  background:#f7f9fc;border-right:1px solid var(--td-line);padding:15px 9px;
}
html.tesuro-vk2010[data-tesuro-page="admin"] .nav button {
  color:var(--td-link);border-radius:3px;padding:10px 12px;
}
html.tesuro-vk2010[data-tesuro-page="admin"] .nav button.active {
  background:var(--td-blue-light);color:var(--td-blue-dark);
}
html.tesuro-vk2010[data-tesuro-page="admin"] main {padding:26px 23px 80px;}
html.tesuro-vk2010[data-tesuro-page="admin"] .panel,
html.tesuro-vk2010[data-tesuro-page="admin"] .metric,
html.tesuro-vk2010[data-tesuro-page="admin"] .entry {
  background:#fff;border:1px solid var(--td-line);border-radius:4px;
}
html.tesuro-vk2010[data-tesuro-page="admin"] .panel-head {
  border-bottom:1px solid var(--td-line);margin-bottom:12px;
}
html.tesuro-vk2010[data-tesuro-page="admin"] .primary {
  border:1px solid var(--td-blue-dark);background:var(--td-blue);border-radius:3px;
}
html.tesuro-vk2010[data-tesuro-page="admin"] .secondary,
html.tesuro-vk2010[data-tesuro-page="admin"] .search {
  border:1px solid var(--td-line);border-radius:3px;
}
html.tesuro-vk2010[data-tesuro-page="admin-project"] .head {height:62px;}
html.tesuro-vk2010[data-tesuro-page="admin-project"] .shell {margin-top:25px;}
html.tesuro-vk2010[data-tesuro-page="admin-project"] .section {
  border:1px solid var(--td-line);border-radius:4px;padding:23px;
}
html.tesuro-vk2010[data-tesuro-page="admin-project"] .step-nav {
  border-bottom:1px solid var(--td-line);
}
html.tesuro-vk2010[data-tesuro-page="admin-project"] .step-pill.active {
  color:var(--td-blue-dark);
}
html.tesuro-vk2010[data-tesuro-page="admin-project"] .field :is(input,select,textarea) {
  border-color:var(--td-line);border-radius:3px;
}
html.tesuro-vk2010[data-tesuro-page="admin-project"] :is(.primary,.secondary,.danger-btn) {border-radius:3px;}
html.tesuro-vk2010[data-tesuro-page="admin-developer"] :is(.panel,.field input,.field textarea) {
  border-color:var(--td-line);border-radius:4px;
}
html.tesuro-vk2010[data-tesuro-page="admin-developer"] :is(.primary,.secondary) {border-radius:3px;}
html.tesuro-vk2010[data-tesuro-page="admin-login"] .card,
html.tesuro-vk2010[data-tesuro-page="login"] .modal {
  background:#fff;border:1px solid var(--td-line);border-radius:4px;
  box-shadow:0 6px 18px rgba(35,65,91,.1);
}
html.tesuro-vk2010[data-tesuro-page="admin-login"] .card h1 {
  background:var(--td-blue-light);padding:12px;border-radius:3px;
}
html.tesuro-vk2010[data-tesuro-page="admin-maps"] .shell,
html.tesuro-vk2010[data-tesuro-page="building-picker"] .panel,
html.tesuro-vk2010[data-tesuro-page="building-editor"] .shell {
  border-color:var(--td-line);border-radius:4px;
}
html.tesuro-vk2010[data-tesuro-page="admin-maps"] .tools {
  background:var(--td-blue-pale);border-color:var(--td-line);
}
html.tesuro-vk2010[data-tesuro-page="admin-maps"] :is(button,select,input),
html.tesuro-vk2010[data-tesuro-page="building-editor"] :is(button,select),
html.tesuro-vk2010[data-tesuro-page="building-picker"] :is(button,select) {
  border-radius:3px;
}

/* ============================================================
   9. MOBILE. Preserve each page's existing functional breakpoints.
   ============================================================ */
@media(max-width:870px) {
  html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .page-grid {
    grid-template-columns:minmax(0,1fr);
  }
}
@media(max-width:720px) {
  html.tesuro-vk2010[data-tesuro-page="index"] .topbar {height:60px;}
  html.tesuro-vk2010[data-tesuro-page="index"] .topbar-inner,
  html.tesuro-vk2010[data-tesuro-page="index"] .modebar-inner,
  html.tesuro-vk2010[data-tesuro-page="index"] .map-wrap { width:calc(100% - 20px); }
  html.tesuro-vk2010[data-tesuro-page="index"] .mode-card { padding:0 7px;height:52px; }
  html.tesuro-vk2010[data-tesuro-page="index"] .mode-title {font-size:11px;}
  html.tesuro-vk2010[data-tesuro-page="index"] .map-wrap {height:calc(100svh - 225px);min-height:440px;}
  html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .community-cover {height:185px;}
  html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .community-profile {padding:12px 13px 16px;}
  html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .community-avatar {width:78px;height:78px;margin-top:-44px;}
  html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .community-name h1 {font-size:24px;}
  html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .community-nav a {padding:10px 9px;}
  html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .page-grid {grid-template-columns:minmax(0,1fr);}
  html.tesuro-vk2010[data-tesuro-page="admin"] .shell {grid-template-columns:1fr;}
  html.tesuro-vk2010[data-tesuro-page="admin"] main {padding:20px 12px 55px;}
}
@media(prefers-reduced-motion:reduce){
  html.tesuro-vk2010 *{scroll-behavior:auto;}
}

/* Final compatibility adjustment for legacy community-specific grid order.
   The old classic rules explicitly place the sidebar on the LEFT. Keep that
   VK-style layout on desktops and stack the content first on small screens. */
@media (min-width:871px) {
  html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .page-grid {
    grid-template-columns:240px minmax(0,1fr);
  }
  html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .side-column {
    grid-column:1;grid-row:1;
  }
  html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .main-column {
    grid-column:2;grid-row:1;
  }
}
@media (max-width:870px) {
  html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .page-grid {
    grid-template-columns:minmax(0,1fr);
  }
  html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .main-column {
    grid-column:1;grid-row:1;
  }
  html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .side-column {
    grid-column:1;grid-row:2;
  }
}
html.tesuro-vk2010:is([data-tesuro-page="developer"],[data-tesuro-page="project"]) .header-brand img {
  filter:none !important;
  background:#fff;
  border-radius:3px;
  padding:3px;
}

/* ============================================================
   10. ACCESSIBILITY & WIDE LAYOUT — requested corrections
   v1.1 / 22 Nov 2026
   - Spacious main map, readable controls
   - Full-width account workspace
   - Visible selected tabs and admin header account
   - Presentation only. No business logic or map API changes.
   ============================================================ */
html.tesuro-vk2010 {
  --td-text: #1d3149;
  --td-muted: #52677e;
  --td-link: #214e80;
}
html.tesuro-vk2010 body { font-size:15px; line-height:1.56; }
html.tesuro-vk2010 :is(input,select,textarea,button) {font-size:inherit;}
html.tesuro-vk2010 :is(.site-footer,.site-footer a) {font-size:13px;}
html.tesuro-vk2010 :is(.topbar,.header,.site-header,header.head) :is(.site-nav a,.nav a,.top-link,.city-switch,.auth-button,.header-auth) {
  font-size:14px;
}

/* 10.1 — Map uses the available desktop viewport, not a narrow column. */
@media (min-width:761px) {
  html.tesuro-vk2010[data-tesuro-page="index"] .topbar-inner,
  html.tesuro-vk2010[data-tesuro-page="index"] .modebar-inner {
    width:calc(100% - 48px);
    max-width:1840px;
  }
  html.tesuro-vk2010[data-tesuro-page="index"] .map-wrap {
    width:calc(100% - 40px);
    max-width:1920px;
    height:calc(100svh - 206px);
    min-height:560px;
    max-height:1080px;
    margin-top:13px;
  }
  html.tesuro-vk2010[data-tesuro-page="index"] .mode-card {
    min-height:58px;
    height:58px;
    padding:0 18px;
  }
  html.tesuro-vk2010[data-tesuro-page="index"] .mode-title {font-size:16px;}
}
html.tesuro-vk2010[data-tesuro-page="index"] .city-switch,
html.tesuro-vk2010[data-tesuro-page="index"] .city-switch select {font-size:14px;}
html.tesuro-vk2010[data-tesuro-page="index"] .map-filter-btn {
  height:44px;
  padding:0 17px;
  font-size:15px;
  font-weight:700;
  color:#264968;
}
html.tesuro-vk2010[data-tesuro-page="index"] .map-filter-btn.active,
html.tesuro-vk2010[data-tesuro-page="index"] .map-filter-btn[aria-selected="true"] {
  background:#365f8c;
  color:#fff;
}
html.tesuro-vk2010[data-tesuro-page="index"] .map-status {font-size:14px;}
html.tesuro-vk2010[data-tesuro-page="index"] .map-price-marker {
  font-size:13px;
  font-weight:800;
  padding:7px 10px;
}
html.tesuro-vk2010[data-tesuro-page="index"] .maplibregl-popup-content,
html.tesuro-vk2010[data-tesuro-page="index"] .mapboxgl-popup-content {font-size:14px;}
html.tesuro-vk2010[data-tesuro-page="index"] :is(.maplibregl-ctrl-group,.mapboxgl-ctrl-group) button {
  width:39px;
  height:39px;
}

/* 10.2 — Account: full working width, readable listings and tabs. */
@media (min-width:1001px) {
  html.tesuro-vk2010[data-tesuro-page="profile"] .page {
    width:calc(100% - 48px);
    max-width:1820px;
    grid-template-columns:250px minmax(0,1fr);
    gap:20px;
  }
}
html.tesuro-vk2010[data-tesuro-page="profile"] #listingsSection {
  max-width:none;
  min-width:0;
}
html.tesuro-vk2010[data-tesuro-page="profile"] :is(.identity-role,.identity-email) {
  font-size:13px;
  color:#415a72;
}
html.tesuro-vk2010[data-tesuro-page="profile"] .menu button {
  font-size:15px;
  font-weight:650;
  min-height:42px;
}
html.tesuro-vk2010[data-tesuro-page="profile"] .menu button.active {
  background:#dce8f5;
  color:#193f67;
  font-weight:800;
}
html.tesuro-vk2010[data-tesuro-page="profile"] .tabs {gap:9px;}
html.tesuro-vk2010[data-tesuro-page="profile"] .tabs .tab {
  font-size:15px;
  min-height:43px;
  padding:10px 15px;
  border:1px solid #c2d1e0;
  background:#fff !important; /* legacy cabinet rule uses !important */
  color:#2c4965;
  font-weight:700;
}
html.tesuro-vk2010[data-tesuro-page="profile"] .tabs .tab.active,
html.tesuro-vk2010[data-tesuro-page="profile"] .tabs .tab[aria-selected="true"] {
  background:#365f8c !important; /* keeps white active label legible */
  border-color:#2c5179;
  color:#fff;
  font-weight:800;
}
html.tesuro-vk2010[data-tesuro-page="profile"] .tabs .count {
  min-width:23px;
  height:23px;
  padding:0 5px;
  font-size:12px;
  font-weight:800;
  background:#e8eef5;
  color:#21466c;
}
html.tesuro-vk2010[data-tesuro-page="profile"] .tabs .tab.active .count,
html.tesuro-vk2010[data-tesuro-page="profile"] .tabs .tab[aria-selected="true"] .count {
  background:#fff;
  color:#244e78;
}
html.tesuro-vk2010[data-tesuro-page="profile"] :is(.listing-search,.listing-search input) {font-size:15px;}
html.tesuro-vk2010[data-tesuro-page="profile"] .management-type>strong {font-size:15px;font-weight:750;line-height:1.4;}
html.tesuro-vk2010[data-tesuro-page="profile"] :is(.management-facts,.management-address strong) {
  font-size:14px;
  color:#263e56;
}
html.tesuro-vk2010[data-tesuro-page="profile"] :is(.management-address span,.management-address small,.id-note,.listing-context) {
  font-size:13px;
  color:#52677d;
}
html.tesuro-vk2010[data-tesuro-page="profile"] .management-price strong {font-size:23px;color:#1d3149;}
html.tesuro-vk2010[data-tesuro-page="profile"] :is(.row-button,.row-links a,.row-links button) {
  font-size:13px;
  min-height:33px;
}
html.tesuro-vk2010[data-tesuro-page="profile"] .cabinet-list .management-row {
  border-color:#c7d6e6;
}

/* 10.3 — Admin: high-contrast identity and legible controls. */
html.tesuro-vk2010[data-tesuro-page="admin"] header .email,
html.tesuro-vk2010[data-tesuro-page="admin"] header .brand,
html.tesuro-vk2010[data-tesuro-page="admin"] header .brand span,
html.tesuro-vk2010[data-tesuro-page="admin-project"] .head .who,
html.tesuro-vk2010[data-tesuro-page="admin-project"] .head .sub,
html.tesuro-vk2010[data-tesuro-page="admin-project"] .head .back,
html.tesuro-vk2010[data-tesuro-page="admin-developer"] header .brand span,
html.tesuro-vk2010[data-tesuro-page="admin-developer"] header .bar a.back,
html.tesuro-vk2010[data-tesuro-page="admin-maps"] header span,
html.tesuro-vk2010[data-tesuro-page="admin-maps"] header a:last-child {
  color:#fff;
}
html.tesuro-vk2010[data-tesuro-page="admin"] header .email,
html.tesuro-vk2010[data-tesuro-page="admin-project"] .head .who {
  font-size:15px;
  font-weight:700;
}
html.tesuro-vk2010[data-tesuro-page="admin"] header .email {
  max-width:min(380px,36vw);
  overflow:hidden;
  text-overflow:ellipsis;
}
html.tesuro-vk2010[data-tesuro-page="admin"] header .avatar {
  background:#eef5fc;
  color:#254d76;
  font-size:14px;
}
html.tesuro-vk2010[data-tesuro-page="admin"] header .exit {
  background:rgba(255,255,255,.16);
  color:#fff;
  border-color:rgba(255,255,255,.65);
  font-size:14px;
}
html.tesuro-vk2010[data-tesuro-page="admin"] header .exit:hover {background:rgba(255,255,255,.24);}
html.tesuro-vk2010[data-tesuro-page="admin"] .nav button {font-size:15px;min-height:43px;}
html.tesuro-vk2010[data-tesuro-page="admin"] .nav button.active {
  background:#dce9f6;
  color:#163f6a;
  font-weight:800;
}
html.tesuro-vk2010:is([data-tesuro-page="admin"],[data-tesuro-page="admin-project"],[data-tesuro-page="admin-developer"],[data-tesuro-page="admin-maps"],[data-tesuro-page="building-editor"],[data-tesuro-page="building-picker"]) :is(main,aside,.panel,.section,.wrap) :is(label,input,select,textarea,button) {
  font-size:14px;
}
html.tesuro-vk2010:is([data-tesuro-page="admin"],[data-tesuro-page="admin-project"],[data-tesuro-page="admin-developer"],[data-tesuro-page="admin-maps"]) :is(.hint,.breadcrumb,.muted,.field label) {
  font-size:14px;
  color:#4c6279;
}
html.tesuro-vk2010[data-tesuro-page="admin-project"] .step-pill.active,
html.tesuro-vk2010[data-tesuro-page="admin-maps"] nav .active {
  color:#163f6a;
  font-weight:800;
}
html.tesuro-vk2010[data-tesuro-page="admin-project"] .head .sub {font-size:13px;}
html.tesuro-vk2010[data-tesuro-page="admin-developer"] header .brand span {font-size:17px;}
html.tesuro-vk2010[data-tesuro-page="admin-maps"] header a:last-child {font-size:15px;}

@media (max-width:1000px) {
  html.tesuro-vk2010[data-tesuro-page="profile"] .page {width:calc(100% - 28px);}
}
@media (max-width:850px) {
  html.tesuro-vk2010[data-tesuro-page="profile"] .page {grid-template-columns:minmax(0,1fr);}
}
@media (max-width:760px) {
  html.tesuro-vk2010[data-tesuro-page="index"] .map-wrap {
    width:calc(100% - 16px);
    height:calc(100svh - 215px);
    min-height:410px;
    margin-top:9px;
  }
  html.tesuro-vk2010[data-tesuro-page="index"] .mode-title {font-size:13px;}
  html.tesuro-vk2010[data-tesuro-page="index"] .map-filter-btn {font-size:14px;padding:0 12px;height:41px;}
  html.tesuro-vk2010[data-tesuro-page="index"] :is(.maplibregl-ctrl-group,.mapboxgl-ctrl-group) button {width:36px;height:36px;}
  html.tesuro-vk2010[data-tesuro-page="profile"] .tabs .tab {font-size:14px;padding:9px 12px;}
  html.tesuro-vk2010[data-tesuro-page="admin"] header .email {max-width:28vw;}
}
@media (max-width:620px) {
  html.tesuro-vk2010[data-tesuro-page="profile"] :is(.management-type>strong,.management-address strong,.management-facts) {font-size:13px;}
  html.tesuro-vk2010[data-tesuro-page="profile"] .management-address span {font-size:12px;}
  html.tesuro-vk2010[data-tesuro-page="profile"] .management-price strong {font-size:21px;}
  html.tesuro-vk2010[data-tesuro-page="profile"] .row-links a,
  html.tesuro-vk2010[data-tesuro-page="profile"] .row-links button {font-size:12px;}
}

/* The cabinet's legacy tab style has background:none!important; override
   its small mobile type while preserving the original three tabs. */
@media (max-width:760px) {
  html.tesuro-vk2010[data-tesuro-page="profile"] .tabs .tab {
    font-size:14px !important;
    font-weight:750;
  }
  html.tesuro-vk2010[data-tesuro-page="profile"] .tabs .count {
    font-size:12px !important;
    min-width:22px !important;
    height:22px !important;
  }
}

/* Additional small labels in administrator workflows. Scope tightly so
   map markers, SVG icons and functional geometry are left intact. */
html.tesuro-vk2010[data-tesuro-page="admin"] :is(
  .entry-text span,.entry-action,.developer-info span,.developer-toggle,
  .add-project-for-dev,.subnav button,.number-card span,
  .property-row small,.person-row small,.unlinked-summary span,
  .unlinked-fact,.unlinked-meta,.unlinked-sqm,.unlinked-bind-button,
  .unlinked-open,.bind-source-address,.no-projects
) {
  font-size:14px;
  color:#35536f;
}
html.tesuro-vk2010[data-tesuro-page="admin"] :is(.tag,.unlinked-badge,.nav-badge) {
  font-size:12px;
  font-weight:750;
}
html.tesuro-vk2010[data-tesuro-page="admin"] .nav-badge {color:#fff;}
html.tesuro-vk2010[data-tesuro-page="admin"] .subnav button.active {
  color:#163f6a;
  background:#dce9f6;
  font-weight:800;
}
html.tesuro-vk2010[data-tesuro-page="admin-project"] :is(
  .status-chip,.developer-inline strong,.developer-edit-link,
  .add-developer-btn,.quick-developer-row button,.quick-developer-msg,
  .source-context span,.source-context a,.result,.building strong,
  .building small,.manual-draw summary,.helper,.building-section-head p,
  .building-card-kicker,.building-card-info small,.building-card-actions button,
  .building-editor-title span,.contour-box-head span,.copy-source span
) {font-size:14px;}
html.tesuro-vk2010[data-tesuro-page="admin-developer"] :is(
  .logo-preview,.logo-input input,.error,.preview-heading,.sample,
  .counts span,.return-context
) {font-size:14px;}
html.tesuro-vk2010[data-tesuro-page="building-picker"] :is(.label,.saved-row span,.tiny),
html.tesuro-vk2010[data-tesuro-page="building-editor"] .instructions span {
  font-size:14px;
  color:#35536f;
}
/* MapTiler controls use an older !important width; honor it explicitly. */
html.tesuro-vk2010[data-tesuro-page="index"] .maptiler-ctrl button {
  width:42px !important;
  height:42px !important;
}
@media (max-width:760px) {
  html.tesuro-vk2010[data-tesuro-page="index"] .maptiler-ctrl button {
    width:38px !important;
    height:38px !important;
  }
}

/* Keep extra-small phones usable without shrinking the larger text. */
@media (max-width:360px) {
  html.tesuro-vk2010[data-tesuro-page="profile"] .tabs {
    width:100%;
    min-width:0;
    grid-template-columns:repeat(3,max-content) !important;
    overflow-x:auto !important;
    overscroll-behavior-x:contain;
  }
  html.tesuro-vk2010[data-tesuro-page="admin-login"] .card {
    max-width:calc(100vw - 32px);
    box-sizing:border-box;
  }
  html.tesuro-vk2010[data-tesuro-page="admin-project"] .shell {
    box-sizing:border-box;
    width:100%;
    min-width:0;
    max-width:100%;
  }
  html.tesuro-vk2010[data-tesuro-page="admin-project"] .step-nav {
    min-width:0;
    max-width:100%;
    overflow-x:auto;
    overscroll-behavior-x:contain;
  }
}


/* ============================================================
   11. READABLE INTERFACE / BALANCED MAP (v1.2)
   Approved layout: ~16 px primary copy, >=13–14 px secondary copy;
   40+ px controls; 94% wide centered map of ~77svh.
   Scoped changes only — business logic, map DOM and admin actions intact.
   ============================================================ */
html.tesuro-vk2010 {
  --td-text:#1b3049;
  --td-muted:#455d76;
  --td-link:#1a507f;
}
html.tesuro-vk2010 body {
  font-family:Arial, "Segoe UI", Verdana, sans-serif;
  font-size:16px;
  line-height:1.55;
}
html.tesuro-vk2010 :is(button,input,select,textarea) {
  font-family:inherit;
}
html.tesuro-vk2010 :is(.site-footer,.site-footer a,.site-footer-contact,footer .footer-contact) {
  font-size:14px;
  color:#345370;
}
html.tesuro-vk2010 :is(.site-footer,.site-footer a) svg {flex-shrink:0;}
html.tesuro-vk2010 :is(.topbar,.header,.head,.site-header) :is(
  .site-nav a,.nav a,.top-link,.city-switch,.city-switch select,
  .auth-button,.header-auth,.header-actions a,.add
) {font-size:16px;}
html.tesuro-vk2010 :is(.topbar,.header,.head,.site-header) .tesuro-logo-img {
  height:37px;
  max-width:165px;
}
/* Avoid unreadable small labels without changing map attribution/glyphs. */
html.tesuro-vk2010 :is(.breadcrumb,.breadcrumbs,.hint,.helper,.subtext,.meta,.muted,.field label) {
  font-size:14px;
  color:var(--td-muted);
}
html.tesuro-vk2010 :is(.btn,.action,.secondary,.primary,.save,.search-btn) {
  font-size:15px;
}

/* Home: header and navigation align with the same centered wide map. */
html.tesuro-vk2010[data-tesuro-page="index"] .topbar {
  height:72px;
}
html.tesuro-vk2010[data-tesuro-page="index"] .topbar-inner,
html.tesuro-vk2010[data-tesuro-page="index"] .modebar-inner,
html.tesuro-vk2010[data-tesuro-page="index"] .map-wrap {
  width:94%;
  max-width:1680px;
  box-sizing:border-box;
}
html.tesuro-vk2010[data-tesuro-page="index"] .brand-block {gap:2px;}
html.tesuro-vk2010[data-tesuro-page="index"] .city-switch,
html.tesuro-vk2010[data-tesuro-page="index"] .city-switch select {
  font-size:15px;
  font-weight:700;
}
html.tesuro-vk2010[data-tesuro-page="index"] .auth-button {
  font-size:15px;
  min-height:42px;
  padding-inline:16px;
  font-weight:700;
}
html.tesuro-vk2010[data-tesuro-page="index"] .modebar {
  padding:10px 0;
}
html.tesuro-vk2010[data-tesuro-page="index"] .modebar-inner {gap:10px;}
html.tesuro-vk2010[data-tesuro-page="index"] .mode-card {
  height:62px;
  min-height:62px;
  padding:0 18px;
  gap:12px;
  background:#f0f5fa;
  border-color:#b7cce0;
}
html.tesuro-vk2010[data-tesuro-page="index"] .mode-card:hover {
  background:#e4edf6;
  border-color:#7c9cbe;
}
html.tesuro-vk2010[data-tesuro-page="index"] .mode-title {
  font-size:16px;
  line-height:1.3;
  font-weight:750;
}
html.tesuro-vk2010[data-tesuro-page="index"] .mode-icon {
  width:32px;height:32px;flex-basis:32px;
}
html.tesuro-vk2010[data-tesuro-page="index"] .mode-icon svg {width:28px;height:28px;}
html.tesuro-vk2010[data-tesuro-page="index"] .soon-badge {
  font-size:13px;
  padding:5px 8px;
  color:#4c6278;
}
html.tesuro-vk2010[data-tesuro-page="index"] .map-wrap {
  height:clamp(500px,77svh,860px);
  min-height:0;
  max-height:none;
  margin:12px auto 18px;
  border:1px solid #b5c7d9;
  border-radius:8px;
  box-shadow:0 3px 12px rgba(35,64,91,.12);
  background:#dfeaf3;
}
html.tesuro-vk2010[data-tesuro-page="index"] .map-filter {
  top:14px;left:14px;
  gap:5px;
  padding:5px;
  border:1px solid #a7bdd3;
  border-radius:5px;
  background:rgba(255,255,255,.98);
  box-shadow:0 2px 9px rgba(28,49,75,.15);
}
html.tesuro-vk2010[data-tesuro-page="index"] .map-filter-btn {
  height:44px;
  padding:0 17px;
  font-size:16px;
  font-weight:750;
  color:#254768;
  border-radius:4px;
}
html.tesuro-vk2010[data-tesuro-page="index"] .map-filter-btn.active,
html.tesuro-vk2010[data-tesuro-page="index"] .map-filter-btn[aria-selected="true"] {
  color:#fff;
  background:#365f8c;
}
html.tesuro-vk2010[data-tesuro-page="index"] .map-status {
  top:79px;left:14px;
  min-height:42px;
  font-size:14px;
  color:#274565;
}
html.tesuro-vk2010[data-tesuro-page="index"] .map-price-marker {
  padding:8px 11px;
  font-size:15px;
  font-weight:800;
  border-width:2px;
}
html.tesuro-vk2010[data-tesuro-page="index"] :is(.maplibregl-popup-content,.mapboxgl-popup-content) {
  font-size:15px;
  color:#223b53;
}
html.tesuro-vk2010[data-tesuro-page="index"] :is(.maptiler-ctrl,.maplibregl-ctrl-group,.mapboxgl-ctrl-group) button {
  width:44px !important;
  height:44px !important;
}
html.tesuro-vk2010[data-tesuro-page="index"] .maptiler-ctrl-top-right {top:14px;right:14px;}

/* Listing cabinet: keep workspace wide while making detail labels legible. */
@media(min-width:1001px) {
  html.tesuro-vk2010[data-tesuro-page="profile"] .page {
    width:94%;
    max-width:1710px;
    grid-template-columns:260px minmax(0,1fr);
    gap:22px;
  }
}
html.tesuro-vk2010[data-tesuro-page="profile"] .identity-name {font-size:20px;}
html.tesuro-vk2010[data-tesuro-page="profile"] :is(.identity-role,.identity-email) {
  font-size:14px;
  color:#344f69;
}
html.tesuro-vk2010[data-tesuro-page="profile"] .menu button {
  font-size:16px;
  min-height:44px;
}
html.tesuro-vk2010[data-tesuro-page="profile"] .panel-head h1 {font-size:27px;}
html.tesuro-vk2010[data-tesuro-page="profile"] .tabs .tab {
  font-size:16px !important;
  min-height:44px;
  padding:10px 17px;
}
html.tesuro-vk2010[data-tesuro-page="profile"] .tabs .count {
  font-size:13px !important;
  min-width:24px;
  height:24px;
}
html.tesuro-vk2010[data-tesuro-page="profile"] .tabs .tab.active,
html.tesuro-vk2010[data-tesuro-page="profile"] .tabs .tab[aria-selected="true"] {
  color:#fff;
  background:#365f8c !important;
}
html.tesuro-vk2010[data-tesuro-page="profile"] :is(.listing-search,.listing-search input) {font-size:16px;}
html.tesuro-vk2010[data-tesuro-page="profile"] .management-type>strong {font-size:17px;line-height:1.4;}
html.tesuro-vk2010[data-tesuro-page="profile"] :is(.management-facts,.management-address strong) {
  font-size:15px;
  color:#263e56;
}
html.tesuro-vk2010[data-tesuro-page="profile"] :is(
  .management-address span,.management-address small,.id-note,.listing-context,
  .identity-email,.status,.date,.moderation-message,.moderation-message strong
) {font-size:14px;color:#425c75;}
html.tesuro-vk2010[data-tesuro-page="profile"] .management-price strong {font-size:24px;}
html.tesuro-vk2010[data-tesuro-page="profile"] :is(.row-button,.row-links a,.row-links button,.action) {
  font-size:14px;
  min-height:38px;
  font-weight:700;
}
html.tesuro-vk2010[data-tesuro-page="profile"] .status.published {color:#176641;}
html.tesuro-vk2010[data-tesuro-page="profile"] .settings :is(label,.hint,.verify-badge) {font-size:14px;}

/* Admin: readable navigation, email on blue, controls and status labels. */
html.tesuro-vk2010[data-tesuro-page="admin"] header .email {
  font-size:16px;
  color:#fff;
  font-weight:750;
}
html.tesuro-vk2010[data-tesuro-page="admin"] header .exit {font-size:15px;}
html.tesuro-vk2010[data-tesuro-page="admin"] .nav button {font-size:16px;min-height:44px;}
html.tesuro-vk2010[data-tesuro-page="admin"] :is(.subnav button,.entry-action,.property-row strong,.person-row strong) {
  font-size:15px;
}
html.tesuro-vk2010[data-tesuro-page="admin"] :is(
  .entry-text span,.developer-info span,.number-card span,.property-row small,.person-row small,
  .unlinked-summary span,.unlinked-fact,.unlinked-meta,.unlinked-sqm,.unlinked-bind-button,
  .unlinked-open,.bind-source-address,.no-projects,.bind-helper,.bind-match-state,
  .bind-project-copy span,.bind-project-copy strong,.tag,.unlinked-badge,.nav-badge
) {font-size:14px;}
html.tesuro-vk2010[data-tesuro-page="admin"] :is(.field label,.hint,.breadcrumb,.muted) {
  font-size:14px;
  color:#405a73;
}
html.tesuro-vk2010:is(
  [data-tesuro-page="admin"],[data-tesuro-page="admin-project"],
  [data-tesuro-page="admin-developer"],[data-tesuro-page="admin-maps"],
  [data-tesuro-page="building-editor"],[data-tesuro-page="building-picker"]
) :is(main,aside,.panel,.section,.wrap) :is(label,input,select,textarea,button) {
  font-size:16px;
}
html.tesuro-vk2010:is(
  [data-tesuro-page="admin"],[data-tesuro-page="admin-project"],
  [data-tesuro-page="admin-developer"],[data-tesuro-page="admin-maps"]
) :is(.hint,.breadcrumb,.muted,.field label,.helper) {
  font-size:14px;
  color:#405a73;
}

/* Mobile: larger touch targets and controlled scroll rather than overflow. */
@media(max-width:760px) {
  html.tesuro-vk2010[data-tesuro-page="index"] .topbar {height:68px;}
  html.tesuro-vk2010[data-tesuro-page="index"] .topbar-inner,
  html.tesuro-vk2010[data-tesuro-page="index"] .modebar-inner,
  html.tesuro-vk2010[data-tesuro-page="index"] .map-wrap {width:calc(100% - 24px);max-width:none;}
  html.tesuro-vk2010[data-tesuro-page="index"] .modebar {padding:9px 0;}
  html.tesuro-vk2010[data-tesuro-page="index"] .modebar-inner {
    display:flex;
    gap:8px;
    overflow-x:auto;
    overscroll-behavior-x:contain;
  }
  html.tesuro-vk2010[data-tesuro-page="index"] .mode-card {
    min-width:208px;
    height:57px;min-height:57px;
    padding:0 12px;
  }
  html.tesuro-vk2010[data-tesuro-page="index"] .mode-title {font-size:15px;}
  html.tesuro-vk2010[data-tesuro-page="index"] .map-wrap {
    height:clamp(400px,69svh,780px);
    margin:9px auto 14px;
  }
  html.tesuro-vk2010[data-tesuro-page="index"] .map-filter {left:9px;top:9px;padding:3px;max-width:calc(100% - 66px);}
  html.tesuro-vk2010[data-tesuro-page="index"] .map-filter-btn {height:42px;padding:0 10px;font-size:14px;}
  html.tesuro-vk2010[data-tesuro-page="index"] .map-status {top:64px;left:9px;}
  html.tesuro-vk2010[data-tesuro-page="index"] .map-price-marker {font-size:14px;}
  html.tesuro-vk2010[data-tesuro-page="index"] :is(.maptiler-ctrl,.maplibregl-ctrl-group,.mapboxgl-ctrl-group) button {
    width:39px !important;height:39px !important;
  }
  html.tesuro-vk2010[data-tesuro-page="profile"] .page {width:calc(100% - 24px);}
  html.tesuro-vk2010[data-tesuro-page="profile"] .tabs .tab {
    font-size:15px !important;
    padding:9px 12px;
  }
  html.tesuro-vk2010[data-tesuro-page="profile"] :is(.management-type>strong,.management-address strong,.management-facts) {
    font-size:14px;
  }
  html.tesuro-vk2010[data-tesuro-page="profile"] .management-address span,
  html.tesuro-vk2010[data-tesuro-page="profile"] .row-links :is(a,button) {font-size:14px;}
}

/* Tesuro — listing statistics navigation and AI photo labels (2026-11-22) */
html[data-tesuro-page="admin"] .number-row{gap:16px}
html[data-tesuro-page="admin"] button.number-card{appearance:none;cursor:pointer;text-align:center;color:#243f5c;min-height:112px;transition:background .15s,border-color .15s,box-shadow .15s}
html[data-tesuro-page="admin"] button.number-card:hover{border-color:#84acd0;background:#f5faff}
html[data-tesuro-page="admin"] button.number-card.active{background:#e2eef9;border:2px solid #4e729a;box-shadow:0 0 0 2px #dcebf8}
html[data-tesuro-page="admin"] button.number-card:focus-visible{outline:3px solid #2765a4;outline-offset:3px}
html[data-tesuro-page="admin"] button.number-card span{font-size:16px;font-weight:700;color:#304c69}
html[data-tesuro-page="admin"] button.number-card strong{font-size:34px;font-weight:800;color:#243f5c}
html[data-tesuro-page="admin"] .admin-date{font-size:14px!important;color:#526c87!important;font-weight:600;margin-top:6px}
html[data-tesuro-page="admin"] .property-row,html[data-tesuro-page="admin"] .person-row{padding:18px 0}
html[data-tesuro-page="admin"] .person-row>div:first-child{min-width:0;overflow-wrap:anywhere}
html[data-tesuro-page="add-property"] .tesuro-view-notice{padding:14px 16px;margin:12px 0;border:1px solid #bdd0e5;background:#eef5fb;border-radius:6px;color:#264967;font-size:15px;line-height:1.5}
html[data-tesuro-page="add-property"] .tesuro-view-notice.recognized{background:#edf7f1;border-color:#b3ddc5;color:#205b41}
html[data-tesuro-page="add-property"] .photo-preview{position:relative}
.tesuro-ai-photo-label{position:absolute;top:10px;right:10px;max-width:calc(100% - 20px);z-index:3;background:rgba(40,59,85,.9);color:#fff!important;border:1px solid rgba(255,255,255,.35);border-radius:4px;padding:5px 8px;font-size:12px!important;font-weight:700;line-height:1.25;text-align:center;pointer-events:none}
html[data-tesuro-page="property"] .tesuro-lightbox-ai-label{position:absolute;left:50%;transform:translateX(-50%);bottom:22px;z-index:100;background:rgba(36,55,77,.91);color:#fff;border-radius:5px;padding:9px 14px;font-size:14px;font-weight:700;pointer-events:none}
html[data-tesuro-page="property"] .tesuro-lightbox-ai-label[hidden]{display:none!important}
@media(max-width:700px){html[data-tesuro-page="admin"] .number-row{gap:8px}html[data-tesuro-page="admin"] button.number-card{min-height:94px;padding:12px 7px}html[data-tesuro-page="admin"] button.number-card span{font-size:13px}html[data-tesuro-page="admin"] button.number-card strong{font-size:28px}}

/* Property details — wider, readable characteristics and database-backed links.
   Keep this in the shared design file so future design changes stay centralized. */
html.tesuro-vk2010[data-tesuro-page="property"] .wrap {
  max-width: 1340px;
}
html.tesuro-vk2010[data-tesuro-page="property"] .grid {
  grid-template-columns: minmax(0, 1.85fr) minmax(300px, .9fr);
  gap: 28px;
}
html.tesuro-vk2010[data-tesuro-page="property"] .facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  background: #fff;
  border: 0;
  border-radius: 0;
}
html.tesuro-vk2010[data-tesuro-page="property"] .facts .fact {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  min-width: 0;
  padding: 17px 0;
  background: #fff;
  border-bottom: 1px solid #e1e8f0;
}
html.tesuro-vk2010[data-tesuro-page="property"] .facts .fact span {
  color: #52677d;
  font-size: 15px;
  line-height: 1.5;
}
html.tesuro-vk2010[data-tesuro-page="property"] .facts .fact strong {
  color: #253d56;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
html.tesuro-vk2010[data-tesuro-page="property"] .property-relations {
  order: -1;
  display: grid;
  gap: 10px;
  padding: 14px 0 15px;
  margin: 4px 0 12px;
  border-top: 1px solid #e1e8f0;
  border-bottom: 1px solid #e1e8f0;
}
html.tesuro-vk2010[data-tesuro-page="property"] .property-link-row {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr);
  align-items: baseline;
  gap: 14px;
}
html.tesuro-vk2010[data-tesuro-page="property"] .property-link-row > span {
  font-size: 14px;
  color: #5f7388;
}
html.tesuro-vk2010[data-tesuro-page="property"] .property-link-row a {
  color: #245d93;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #a9c0d9;
  text-underline-offset: 3px;
}
html.tesuro-vk2010[data-tesuro-page="property"] .property-link-row a:hover {
  color: #10487b;
  text-decoration-color: currentColor;
}
html.tesuro-vk2010[data-tesuro-page="property"] .property-link-row a:focus-visible {
  outline: 3px solid #88add6;
  outline-offset: 4px;
}
@media (max-width: 900px) {
  html.tesuro-vk2010[data-tesuro-page="property"] .grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 680px) {
  html.tesuro-vk2010[data-tesuro-page="property"] .facts {
    grid-template-columns: 1fr;
    gap: 0;
  }
  html.tesuro-vk2010[data-tesuro-page="property"] .property-link-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

html.tesuro-vk2010[data-tesuro-page="property"] .address .property-address-link {
  color: #245d93;
  text-decoration: underline;
  text-decoration-color: #b5c9df;
  text-underline-offset: 3px;
}
html.tesuro-vk2010[data-tesuro-page="property"] .address .property-address-link:hover,
html.tesuro-vk2010[data-tesuro-page="property"] .address .property-address-link:focus-visible {
  color: #10487b;
  text-decoration-color: currentColor;
}


/* ============================================================
   TESURO MOBILE EXPERIENCE · 2026-11-22
   Shared responsive patterns, scoped by page; desktop untouched.
   ============================================================ */
@media (max-width: 767px) {
  html.tesuro-vk2010,html.tesuro-vk2010 body{max-width:100%;}
  html.tesuro-vk2010 body{font-size:16px;line-height:1.5;}
  html.tesuro-vk2010 :is(button,input,select,textarea){font-size:16px;}
  html.tesuro-vk2010 :is(button,a,input,select,textarea){touch-action:manipulation;}
  html.tesuro-vk2010 :is(.shell,.wrap,.page,.market,.map-wrap){min-width:0;}
  html.tesuro-vk2010 :is(.card,.panel,.section,.summary,.listing,.entry){max-width:100%;min-width:0;}
  html.tesuro-vk2010 :is(.site-footer-inner,.footer-inner){max-width:100%;padding-inline:0;}
  html.tesuro-vk2010 .site-footer .site-footer-directory{gap:12px;}
  html.tesuro-vk2010 .site-footer .site-footer-contact{font-size:14px;}

  /* Index / map: usable map viewport with visible actions, not a 1000px tall strip. */
  html.tesuro-vk2010[data-tesuro-page="index"] .topbar{height:auto;min-height:66px;}
  html.tesuro-vk2010[data-tesuro-page="index"] .topbar-inner{width:calc(100% - 24px);gap:10px;}
  html.tesuro-vk2010[data-tesuro-page="index"] .auth-button{min-height:42px;font-size:14px;}
  html.tesuro-vk2010[data-tesuro-page="index"] .modebar-inner{display:flex;overflow-x:auto;scroll-snap-type:x proximity;gap:8px;padding-bottom:2px;}
  html.tesuro-vk2010[data-tesuro-page="index"] .mode-card{flex:0 0 190px;scroll-snap-align:start;}
  html.tesuro-vk2010[data-tesuro-page="index"] .map-wrap{height:clamp(360px,68svh,730px);width:calc(100% - 16px);margin:8px auto 14px;}
  html.tesuro-vk2010[data-tesuro-page="index"] .map-wrap>#map{width:100%;height:100%;}
  html.tesuro-vk2010[data-tesuro-page="index"] .map-filter{max-width:calc(100% - 68px);}
  html.tesuro-vk2010[data-tesuro-page="index"] .map-filter-btn{height:44px;min-width:44px;font-size:14px;}

  /* Listings and profile: no sideways page panels on phones. */
  html.tesuro-vk2010[data-tesuro-page="profile"] .page{display:grid;grid-template-columns:minmax(0,1fr);width:calc(100% - 20px);gap:12px;}
  html.tesuro-vk2010[data-tesuro-page="profile"] .sidebar{width:100%;max-width:100%;}
  html.tesuro-vk2010[data-tesuro-page="profile"] .panel{width:100%;min-width:0;}
  html.tesuro-vk2010[data-tesuro-page="profile"] .tabs{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;display:flex;flex-wrap:nowrap;}
  html.tesuro-vk2010[data-tesuro-page="profile"] .tabs .tab{flex:0 0 auto;white-space:nowrap;min-height:44px;}
  html.tesuro-vk2010[data-tesuro-page="profile"] :is(.management-address,.management-price,.management-facts){overflow-wrap:anywhere;}
  html.tesuro-vk2010[data-tesuro-page="resale"] :is(.market,.grid,.left,.filter-panel,.card){min-width:0;max-width:100%;}
  html.tesuro-vk2010[data-tesuro-page="resale"] :is(#map,.map,#resaleMap){max-width:100%;}
  html.tesuro-vk2010[data-tesuro-page="project-map"] #map{width:100%;height:calc(100svh - 68px);min-height:380px;}
  html.tesuro-vk2010[data-tesuro-page="project-map"] .top{width:100%;max-width:100%;min-width:0;padding-inline:12px;}
  html.tesuro-vk2010[data-tesuro-page="project-map"] .top :is(.title,.back){font-size:14px;}
  html.tesuro-vk2010[data-tesuro-page="admin-maps"] .map-wrap{max-width:100%;min-width:0;}
  html.tesuro-vk2010[data-tesuro-page="project"] :is(.hero,.content-grid){grid-template-columns:minmax(0,1fr);}
  html.tesuro-vk2010[data-tesuro-page="project"] :is(.gallery-shell,.gallery-main,.listing,.location-card){min-width:0;max-width:100%;}
  html.tesuro-vk2010[data-tesuro-page="developers"] .entry{grid-template-columns:minmax(0,1fr);}

  /* Map-oriented administrative pages: top-to-bottom editing instead of detached columns. */
  html.tesuro-vk2010[data-tesuro-page="admin-project"] :is(.shell,.wizard-stage,[data-stage="2"]){width:calc(100% - 16px);max-width:100%;padding-inline:0;}
  html.tesuro-vk2010[data-tesuro-page="admin-project"] .step-nav{gap:14px;overflow-x:auto;scrollbar-width:thin;}
  html.tesuro-vk2010[data-tesuro-page="admin-project"] .step-pill{white-space:nowrap;flex:0 0 auto;min-height:44px;}
  html.tesuro-vk2010[data-tesuro-page="admin-project"] :is(.location-fields,.location-layout,.workshop-card,.map-bottom,.building-editor,.section){min-width:0;max-width:100%;}
  html.tesuro-vk2010[data-tesuro-page="admin-project"] :is(.workshop-card,.map-card){overflow:visible;}
  html.tesuro-vk2010[data-tesuro-page="admin-project"] .map{min-height:360px;}
  html.tesuro-vk2010[data-tesuro-page="admin-project"] .building-card{grid-template-columns:minmax(0,1fr);gap:12px;}
  html.tesuro-vk2010[data-tesuro-page="admin-project"] .building-card-actions{flex-wrap:wrap;}
  html.tesuro-vk2010[data-tesuro-page="admin"] :is(.shell,.page-head,.panel){min-width:0;}
  html.tesuro-vk2010[data-tesuro-page="admin"] .number-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;}
  html.tesuro-vk2010[data-tesuro-page="admin"] button.number-card{min-width:0;padding:10px 5px;}
  html.tesuro-vk2010[data-tesuro-page="admin"] button.number-card span{font-size:12px;overflow-wrap:anywhere;line-height:1.3;}
  html.tesuro-vk2010[data-tesuro-page="admin"] button.number-card strong{font-size:23px;}

  /* Publishing form: each step remains a single scrollable form on small screens. */
  html.tesuro-vk2010[data-tesuro-page="add-property"] :is(.shell,.editor-layout,.step,.map-stage){min-width:0;max-width:100%;}
  html.tesuro-vk2010[data-tesuro-page="add-property"] :is(#propertyMap,.map-stage .map){width:100%;max-width:100%;}
  html.tesuro-vk2010[data-tesuro-page="add-property"] :is(.topbar-inner,.progress-wrap){max-width:100%;}

  /* Public project and developer cards: natural vertical flow. */
  html.tesuro-vk2010:is([data-tesuro-page="project"],[data-tesuro-page="developer"],[data-tesuro-page="developers"],[data-tesuro-page="projects"])
    :is(.shell,.wrap,.content-grid,.hero,.cards,.grid,.list,.entry){min-width:0;max-width:100%;}
}

@media (max-width: 767px) {
  /* Property page — intentionally stronger than legacy desktop grid. */
  html.tesuro-vk2010[data-tesuro-page="property"] .header{position:relative;top:auto;display:flex;min-height:58px;padding:8px 12px;gap:8px;}
  html.tesuro-vk2010[data-tesuro-page="property"] .header .brand{flex:0 1 auto;min-width:0;}
  html.tesuro-vk2010[data-tesuro-page="property"] .header .tesuro-logo-img{height:30px;max-width:112px;}
  html.tesuro-vk2010[data-tesuro-page="property"] .header .nav{display:none;}
  html.tesuro-vk2010[data-tesuro-page="property"] .header .head-actions{margin-left:auto;gap:6px;}
  html.tesuro-vk2010[data-tesuro-page="property"] .header .head-actions a{padding:8px 9px;font-size:13px;min-height:40px;display:flex;align-items:center;}
  html.tesuro-vk2010[data-tesuro-page="property"] .wrap{width:100%;max-width:100%;margin:0 auto;padding:10px 12px calc(120px + env(safe-area-inset-bottom,0px));}
  html.tesuro-vk2010[data-tesuro-page="property"] .back{display:inline-flex;align-items:center;min-height:36px;font-size:14px;margin:0 0 6px;}
  html.tesuro-vk2010[data-tesuro-page="property"] #content{display:flex;flex-direction:column;min-width:0;gap:0;}
  html.tesuro-vk2010[data-tesuro-page="property"] .hero{display:contents;}
  html.tesuro-vk2010[data-tesuro-page="property"] .hero .summary{order:0;display:flex;grid-column:auto;grid-row:auto;border:0;border-radius:0;box-shadow:none;background:transparent;padding:6px 2px 12px;gap:0;margin:0;}
  html.tesuro-vk2010[data-tesuro-page="property"] .summary .address{order:-2;font-size:20px;font-weight:750;line-height:1.35;margin:0 0 6px;color:#1e3551;overflow-wrap:anywhere;}
  html.tesuro-vk2010[data-tesuro-page="property"] .summary .title{order:-1;font-size:14px;margin:0 0 6px;color:#506a82;}
  html.tesuro-vk2010[data-tesuro-page="property"] .summary .price{font-size:29px;line-height:1.2;font-weight:800;color:#1a314b;}
  html.tesuro-vk2010[data-tesuro-page="property"] .summary .gel{font-size:14px;margin-top:2px;}
  html.tesuro-vk2010[data-tesuro-page="property"] .summary .property-relations{margin:10px 0 4px;padding:10px 0;gap:8px;}
  html.tesuro-vk2010[data-tesuro-page="property"] .summary .property-link-row{grid-template-columns:110px minmax(0,1fr);gap:8px;}
  html.tesuro-vk2010[data-tesuro-page="property"] .summary .property-link-row>span{font-size:13px;}
  html.tesuro-vk2010[data-tesuro-page="property"] .summary .property-link-row a{font-size:15px;overflow-wrap:anywhere;}
  html.tesuro-vk2010[data-tesuro-page="property"] .summary .primary-actions{margin-top:10px;max-width:100%;}

  html.tesuro-vk2010[data-tesuro-page="property"] .photo-ribbon{order:1;margin:4px -12px 12px;min-width:0;overflow:hidden;}
  html.tesuro-vk2010[data-tesuro-page="property"] .ribbon-track{display:flex;gap:6px;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;overflow-x:auto;overflow-y:hidden;border-radius:0;-webkit-overflow-scrolling:touch;scrollbar-width:none;}
  html.tesuro-vk2010[data-tesuro-page="property"] .ribbon-photo{position:relative;flex:0 0 100%;width:100%;height:clamp(270px,58svh,470px);max-width:100%;scroll-snap-align:center;border-radius:0;}
  html.tesuro-vk2010[data-tesuro-page="property"] .ribbon-photo img{width:100%;height:100%;object-fit:cover;}
  html.tesuro-vk2010[data-tesuro-page="property"] .ribbon-controls{right:10px;bottom:12px;padding:2px 5px;max-width:calc(100% - 20px);}
  html.tesuro-vk2010[data-tesuro-page="property"] .ribbon-controls button{min-width:44px;min-height:44px;font-size:24px;}
  html.tesuro-vk2010[data-tesuro-page="property"] .ribbon-counter{min-width:56px;text-align:center;font-size:14px;font-weight:700;color:#253e59;padding:0 8px;}
  html.tesuro-vk2010[data-tesuro-page="property"] .tesuro-ai-photo-label{top:10px;right:10px;font-size:12px;}
  html.tesuro-vk2010[data-tesuro-page="property"] .grid{order:2;display:flex;flex-direction:column;gap:8px;margin:0;min-width:0;}
  html.tesuro-vk2010[data-tesuro-page="property"] .grid>section,html.tesuro-vk2010[data-tesuro-page="property"] .grid>aside{min-width:0;width:100%;}
  html.tesuro-vk2010[data-tesuro-page="property"] .grid .card{margin:0 0 10px;padding:15px;border:1px solid #d4e1ee;border-radius:7px;background:#fff;}
  html.tesuro-vk2010[data-tesuro-page="property"] .grid .card h2{font-size:18px;padding:11px 12px;margin:-15px -15px 10px;border-radius:6px 6px 0 0;}
  html.tesuro-vk2010[data-tesuro-page="property"] .facts{display:grid;grid-template-columns:1fr;gap:0;background:#fff;}
  html.tesuro-vk2010[data-tesuro-page="property"] .facts .fact{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:center;padding:12px 0;min-width:0;}
  html.tesuro-vk2010[data-tesuro-page="property"] .facts .fact span{font-size:14px;color:#526b84;}
  html.tesuro-vk2010[data-tesuro-page="property"] .facts .fact strong{font-size:15px;text-align:right;color:#263c55;}
  html.tesuro-vk2010[data-tesuro-page="property"] .description{font-size:15px;line-height:1.65;overflow-wrap:anywhere;}
  html.tesuro-vk2010[data-tesuro-page="property"] .pub-lines{font-size:14px;}
  html.tesuro-vk2010[data-tesuro-page="property"] .top-contact{order:3;display:block;grid-column:auto;grid-row:auto;margin:0 0 8px;}
  html.tesuro-vk2010[data-tesuro-page="property"] .seller-contact{padding:18px 15px;border:1px solid #d4e1ee;border-radius:7px;}
  html.tesuro-vk2010[data-tesuro-page="property"] .seller-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  html.tesuro-vk2010[data-tesuro-page="property"] .seller-actions a{min-height:46px;font-size:14px;}
  html.tesuro-vk2010[data-tesuro-page="property"] .mobile-property-contact{position:fixed;left:0;right:0;bottom:0;z-index:65;display:flex;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #c7d7e6;box-shadow:0 -4px 18px #203b571e;}
  html.tesuro-vk2010[data-tesuro-page="property"] .mobile-property-contact a{display:flex;align-items:center;justify-content:center;flex:1 1 0;min-width:0;min-height:46px;border-radius:5px;padding:9px 8px;text-align:center;font-size:14px;font-weight:800;text-decoration:none;background:#e7f4ed;border:1px solid #b9d9c8;color:#17633c;}
  html.tesuro-vk2010[data-tesuro-page="property"] .mobile-property-contact a.telegram{background:#eaf2fa;border-color:#c1d4e7;color:#22547f;}
  html.tesuro-vk2010[data-tesuro-page="property"] .mobile-property-contact a.contact-login{background:#4e729a;border-color:#365d86;color:#fff;}
  html.tesuro-vk2010[data-tesuro-page="property"] .lightbox{padding:58px 8px 118px;}
  html.tesuro-vk2010[data-tesuro-page="property"] .lightbox #lightboxImg{max-width:100%;max-height:calc(100dvh - 187px);object-fit:contain;}
  html.tesuro-vk2010[data-tesuro-page="property"] .lightbox #closeLightbox{right:12px;top:12px;width:46px;height:46px;}
  html.tesuro-vk2010[data-tesuro-page="property"] .lightbox #galleryPrev,html.tesuro-vk2010[data-tesuro-page="property"] .lightbox #galleryNext{width:46px;height:46px;bottom:98px;top:auto;}
}
@media (min-width:768px){html.tesuro-vk2010[data-tesuro-page="property"] .mobile-property-contact{display:none!important;}}
@media(max-width:375px){
  html.tesuro-vk2010[data-tesuro-page="property"] .header .head-actions a{font-size:12px;padding:7px;}
  html.tesuro-vk2010[data-tesuro-page="property"] .seller-actions{grid-template-columns:1fr;}
  html.tesuro-vk2010[data-tesuro-page="property"] .summary .property-link-row{grid-template-columns:1fr;gap:2px;}
}


/* ============================================================
   TESURO MOBILE FIX 2026-11-23 — catalog, property, footer
   Does not alter desktop layouts or the map on index.html.
   ============================================================ */
@media (max-width:767px){
  html.tesuro-vk2010{width:100%;max-width:100%;overflow-x:clip;}
  html.tesuro-vk2010 body{width:100%;max-width:100%;min-width:0;overflow-x:clip;}
  html.tesuro-vk2010 *, html.tesuro-vk2010 *::before,html.tesuro-vk2010 *::after{box-sizing:border-box;}

  /* Construction and ready-home categories are intentionally LIST ONLY on phones. */
  html.tesuro-vk2010[data-tesuro-page="resale"] main.market{
    display:block!important;position:relative!important;overflow:visible!important;
    width:100%!important;min-width:0!important;max-width:100%!important;
    height:auto!important;min-height:0!important;margin:0!important;
    padding:0!important;
  }
  html.tesuro-vk2010[data-tesuro-page="resale"] main.market>aside.map,
  html.tesuro-vk2010[data-tesuro-page="resale"] main.market #map,
  html.tesuro-vk2010[data-tesuro-page="resale"] main.market .mapbox,
  html.tesuro-vk2010[data-tesuro-page="resale"] main.market .map-search-tip{display:none!important;}
  html.tesuro-vk2010[data-tesuro-page="resale"] main.market>.left{
    position:relative!important;float:none!important;display:block!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    height:auto!important;max-height:none!important;min-height:0!important;
    overflow:visible!important;margin:0!important;padding:12px!important;
  }
  html.tesuro-vk2010[data-tesuro-page="resale"] #grid{
    width:100%!important;max-width:100%!important;min-width:0!important;
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    gap:14px!important;margin:0!important;padding:0 0 18px!important;
  }
  html.tesuro-vk2010[data-tesuro-page="resale"] #grid>.card,
  html.tesuro-vk2010[data-tesuro-page="resale"] #grid>article{
    display:block!important;width:100%!important;min-width:0!important;
    max-width:100%!important;margin:0!important;border-radius:10px!important;
    overflow:hidden!important;background:#fff!important;
  }
  html.tesuro-vk2010[data-tesuro-page="resale"] #grid img{max-width:100%;}
  html.tesuro-vk2010[data-tesuro-page="resale"] .searchbar{min-width:0;max-width:100%;}
  html.tesuro-vk2010[data-tesuro-page="resale"] .site-footer{
    display:block!important;position:static!important;inset:auto!important;
    margin:16px 0 0!important;transform:none!important;height:auto!important;
    min-height:0!important;width:100%!important;z-index:auto!important;
  }
  html.tesuro-vk2010[data-tesuro-page="resale"] .site-footer-inner{
    display:flex!important;flex-wrap:wrap!important;gap:10px!important;
    padding:14px 16px!important;
  }

  /* Apartment details: title, price and gallery immediately visible. */
  html.tesuro-vk2010[data-tesuro-page="property"] .wrap{
    width:100%!important;max-width:100%!important;min-width:0!important;
    padding:8px 12px calc(86px + env(safe-area-inset-bottom,0px))!important;
    margin:0 auto!important;
  }
  html.tesuro-vk2010[data-tesuro-page="property"] #content{
    display:flex!important;flex-direction:column!important;gap:0!important;
    min-width:0!important;width:100%!important;max-width:100%!important;
  }
  html.tesuro-vk2010[data-tesuro-page="property"] #content>.hero,
  html.tesuro-vk2010[data-tesuro-page="property"] #content>.hero>.summary{
    display:contents!important;
  }
  html.tesuro-vk2010[data-tesuro-page="property"] .hero .summary>*{
    min-width:0;max-width:100%;overflow-wrap:anywhere;
  }
  html.tesuro-vk2010[data-tesuro-page="property"] .hero .summary .address{
    order:0!important;font-size:20px!important;line-height:1.3!important;
    margin:5px 0 6px!important;font-weight:750!important;
  }
  html.tesuro-vk2010[data-tesuro-page="property"] .hero .summary .title{
    order:1!important;font-size:15px!important;color:#586c83!important;
    margin:0 0 4px!important;
  }
  html.tesuro-vk2010[data-tesuro-page="property"] .hero .summary .price{
    order:2!important;font-size:30px!important;line-height:1.2!important;
    font-weight:850!important;margin:5px 0 0!important;
  }
  html.tesuro-vk2010[data-tesuro-page="property"] .hero .summary .gel{
    order:3!important;font-size:13px!important;margin:0 0 12px!important;
  }
  html.tesuro-vk2010[data-tesuro-page="property"] #content>.photo-ribbon{
    order:4!important;display:block!important;
    width:calc(100% + 24px)!important;max-width:calc(100% + 24px)!important;
    margin:0 -12px 13px!important;min-width:0!important;overflow:hidden!important;
  }
  html.tesuro-vk2010[data-tesuro-page="property"] .ribbon-track{
    display:flex!important;overflow-x:auto!important;overflow-y:hidden!important;
    scroll-snap-type:x mandatory!important;gap:0!important;
    border-radius:0!important;
  }
  html.tesuro-vk2010[data-tesuro-page="property"] .ribbon-photo{
    flex:0 0 100%!important;scroll-snap-align:center!important;
    width:100%!important;max-width:100%!important;
    height:clamp(250px,75vw,355px)!important;
    overflow:hidden!important;display:block!important;border-radius:0!important;
    background:#142132!important;
  }
  html.tesuro-vk2010[data-tesuro-page="property"] .ribbon-photo img{
    display:block!important;width:100%!important;height:100%!important;
    object-fit:contain!important;
  }
  html.tesuro-vk2010[data-tesuro-page="property"] #content .hero .summary .property-relations{
    order:5!important;display:grid!important;
    gap:8px!important;padding:11px 13px!important;margin:0 0 10px!important;
    border:1px solid #d4e1ed!important;background:#fff!important;border-radius:7px!important;
  }
  html.tesuro-vk2010[data-tesuro-page="property"] #content .hero .summary .primary-actions{
    order:6!important;margin:0 0 10px!important;
  }
  html.tesuro-vk2010[data-tesuro-page="property"] #content .hero .summary .duplicate-detail{
    order:6!important;margin-bottom:8px!important;
  }
  html.tesuro-vk2010[data-tesuro-page="property"] #content>.grid{
    order:7!important;display:flex!important;flex-direction:column!important;
    min-width:0!important;margin:0!important;
  }
  html.tesuro-vk2010[data-tesuro-page="property"] #content>.hero>.top-contact{
    order:8!important;width:100%!important;min-width:0!important;margin:0 0 12px!important;
  }
  html.tesuro-vk2010[data-tesuro-page="property"] #content .facts{
    background:#fff!important;border:0!important;
    padding:0!important;display:grid!important;grid-template-columns:1fr!important;
  }
  html.tesuro-vk2010[data-tesuro-page="property"] #content .fact{
    background:transparent!important;min-width:0!important;
    display:grid!important;grid-template-columns:43% minmax(0,1fr)!important;
    gap:8px!important;padding:12px 0!important;
    border-bottom:1px solid #e4ebf1!important;
  }
  html.tesuro-vk2010[data-tesuro-page="property"] #content .fact span{
    font-size:14px!important;color:#536981!important;
  }
  html.tesuro-vk2010[data-tesuro-page="property"] #content .fact strong{
    font-size:15px!important;color:#1f3650!important;text-align:right!important;
  }
  html.tesuro-vk2010[data-tesuro-page="property"] .site-footer{
    display:block!important;position:static!important;inset:auto!important;
    transform:none!important;height:auto!important;min-height:0!important;
    width:100%!important;margin:14px 0 0!important;z-index:auto!important;
    padding:10px 12px calc(88px + env(safe-area-inset-bottom,0px))!important;
  }
  html.tesuro-vk2010[data-tesuro-page="property"] .site-footer-inner{
    display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;
    gap:12px!important;padding:0!important;
  }
  html.tesuro-vk2010[data-tesuro-page="property"] #content .mobile-property-contact{
    position:fixed!important;display:flex!important;
    left:0!important;right:0!important;bottom:0!important;
    width:100%!important;max-width:100%!important;
    padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px))!important;
    z-index:60!important;background:#fff!important;border-top:1px solid #c5d7e6!important;
    box-shadow:0 -3px 12px rgba(23,47,73,.12)!important;
  }
  html.tesuro-vk2010[data-tesuro-page="property"] #content .mobile-property-contact a{
    min-height:44px!important;padding:8px 12px!important;
    font-size:15px!important;font-weight:700!important;line-height:1.2!important;
  }
  html.tesuro-vk2010[data-tesuro-page="property"] .lightbox{
    z-index:9999!important;
  }
  html.tesuro-vk2010[data-tesuro-page="property"] .lightbox.open{
    display:flex!important;
  }
}
@media (max-width:360px){
  html.tesuro-vk2010[data-tesuro-page="property"] .header .head-actions a{
    font-size:12px!important;padding:6px!important;
  }
  html.tesuro-vk2010[data-tesuro-page="property"] .hero .summary .address{font-size:18px!important;}
}
/* Online counter */
.analytics-summary .tesuro-live-online{border-color:#b7dacc;background:#f4fcf8;}
.tesuro-live-online .tesuro-live-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#20a775;margin-right:6px;vertical-align:middle;box-shadow:0 0 0 4px #20a77517;}
@media(max-width:768px){html[data-tesuro-page="admin"] .analytics-summary{grid-template-columns:1fr!important;}}

@media(min-width:1120px){html.tesuro-vk2010[data-tesuro-page="admin"] .analytics-summary{grid-template-columns:repeat(3,minmax(0,1fr));}}


/* ============================================================
   SITE-WIDE CONTRAST POLICY — 2026-11-23
   Replaces page-specific faded captions; does not change layout,
   maps, form logic, or status-green selections.
   ============================================================ */
html.tesuro-vk2010 {
  --td-muted: #3e5873;
}

/* Legible actions on the blue header throughout Tesuro. */
html.tesuro-vk2010 :is(.topbar,.header,.site-header,header.head) :is(
  .top-link,.top-reset,.header-actions a,.head-links a,.site-nav a,.nav a
) {
  color: #fff !important;
  opacity: 1 !important;
  font-weight: 650;
  text-shadow: none !important;
}
html.tesuro-vk2010[data-tesuro-page="add-property"] .topbar :is(
  #startOverBtn,.top-link
) {
  color: #fff !important;
  opacity: 1 !important;
  font-weight: 700 !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
html.tesuro-vk2010[data-tesuro-page="add-property"] .topbar #startOverBtn:disabled {
  color: #f2f7fd !important;
  opacity: 1 !important;
  cursor: not-allowed;
}
html.tesuro-vk2010[data-tesuro-page="add-property"] .topbar :is(
  #startOverBtn,.top-link
):hover:not(:disabled) {
  background-color: rgba(255,255,255,.17) !important;
}

/* On-page supporting information must remain readable, not washed out. */
html.tesuro-vk2010 main :is(
  .save-note,.step-copy,.lead,.hint,.helper,.subtext,.muted,.meta,
  .small-note,.form-note,.field-note,.field-hint,.dropdown-label,
  .empty-note,.help-text,.support-text
) {
  color: #445c77 !important;
  opacity: 1 !important;
}
html.tesuro-vk2010[data-tesuro-page="add-property"] .save-note {
  color: #415a78 !important;
  font-size: 13px;
  font-weight: 600;
  opacity: 1 !important;
}
html.tesuro-vk2010[data-tesuro-page="add-property"] .step-copy {
  color: #294b70 !important;
  font-weight: 750;
}
html.tesuro-vk2010 main :is(input,textarea)::placeholder {
  color: #61778f !important;
  opacity: 1 !important;
}

/* Disabled actions stay visibly disabled but their captions remain clear. */
html.tesuro-vk2010 main :is(
  .btn-next,.btn-publish,.btn.primary,.btn.blue,.action-primary,.primary,.save
):disabled {
  background: #dae5f0 !important;
  color: #385471 !important;
  border-color: #b8cadd !important;
  box-shadow: none !important;
  opacity: 1 !important;
  cursor: not-allowed;
}
html.tesuro-vk2010[data-tesuro-page="add-property"] main .dropdown-option:disabled {
  color: #536a83 !important;
  opacity: 1 !important;
}

/* EXTENDED COVERAGE — profile captions, disabled nav and shared text */ — 2026-11-23
   Reason: page-local grey colors and disabled nav elements were
   omitted by earlier generic .muted / .hint rules.
   This corrects CSS presentation only; no enabled/disabled logic.
   ============================================================ */
html.tesuro-vk2010 {
  --td-muted: #3e5873;
  --muted: #3e5873;
  --muted-2: #3e5873;
}

/* Text on every blue site header, including visually disabled items.
   Keep the disabled state itself: no pointer-events / cursor changes. */
html.tesuro-vk2010 :is(.topbar,.header,.site-header,.head,header) :is(
  .site-nav .nav-disabled,.nav-disabled,.nav-disabled span:not(.soon-badge),
  [aria-disabled="true"]:not(.soon-badge),.header-actions a,.top-link,
  .top-reset,.nav a,.site-nav a,.head-links a,.header-actions button
) {
  color: #fff !important;
  opacity: 1 !important;
  text-shadow: none !important;
}
html.tesuro-vk2010 :is(.topbar,.header,.site-header,.head,header) .soon-badge,
html.tesuro-vk2010 .modebar .soon-badge {
  color:#264664 !important;
  background:#edf3fa !important;
  border-color:#c8d7e7 !important;
  opacity:1 !important;
  font-weight:750 !important;
}

/* Main body: contrast for contextual captions and helper copy, not
   interactive UI state, maps, translucent overlays or status colors. */
html.tesuro-vk2010 :is(main,.page,.wrap) :is(
  .hint,.helper,.help-text,.field-note,.form-note,.small-note,.note,
  .subtext,.muted,.meta,.save-note,.step-copy,.eyebrow,
  .date,.id-note,.listing-context,.complex-name,.archive-link,
  .reorder-handle,.photo-counter,.secondary-text,.secondary-label,
  .subtitle,.label-muted,.information-note
) {
  color:#405a75 !important;
  opacity:1 !important;
  text-shadow:none !important;
}
html.tesuro-vk2010 :is(input,textarea)::placeholder {
  color:#596e84 !important;
  opacity:1 !important;
}

/* Profile: older inline styles used #A0A6B0, #969DA8 and
   #929BAA for listing metadata. These are real content, not disabled. */
html.tesuro-vk2010[data-tesuro-page="profile"] :is(
  .identity-role,.identity-email,.eyebrow,.id-note,.date,
  .management-type>span,.management-facts,.management-facts small,
  .management-address span,.management-address small,
  .listing-context,.listing-count,.listing-summary,
  .archive-link,.reorder-handle,.complex-name,.listing-toolbar label,
  .toolbar-options label
) {
  color:#3c5670 !important;
  opacity:1 !important;
}
html.tesuro-vk2010[data-tesuro-page="profile"] :is(.tab:not(.active),.menu button:not(.active)) {
  color:#294864 !important;
  opacity:1 !important;
}
html.tesuro-vk2010[data-tesuro-page="profile"] .tabs .count {
  color:#214363 !important;
  opacity:1 !important;
}
/* Keep actual moderation/status colors (success/warning/error) intact. */

/* Controls: an inactive action stays inactive, but text must not fade
   away. Avoid changing third-party map buttons, icons, and overlays. */
html.tesuro-vk2010 :is(main,.page,.wrap) :is(
  button.btn-next,button.btn-publish,button.action-primary,
  button.primary,button.save,button[type="submit"]
):disabled {
  color:#304a65 !important;
  background:#dce6f0 !important;
  border-color:#b7c8da !important;
  opacity:1 !important;
  text-shadow:none !important;
  box-shadow:none !important;
}

/* Home-page not-yet-available section: legible, still noninteractive. */
html.tesuro-vk2010[data-tesuro-page="index"] .modebar .mode-card.disabled,
html.tesuro-vk2010[data-tesuro-page="index"] .modebar .mode-card[aria-disabled="true"] {
  color:#2c4e6e !important;
  opacity:1 !important;
  background:#e9f0f7 !important;
}
html.tesuro-vk2010[data-tesuro-page="index"] .modebar .mode-card.disabled :is(.mode-title,.mode-icon) {
  color:#2c4e6e !important;
  opacity:1 !important;
}
