/* Metropolis V7.4 — editorial property marketplace / workspace design system.
   Additive cascade, no visibility overrides on workflow-controlled fields. */
body.metro-v74 {
 --m74-ink:#142e30; --m74-primary:#174c43; --m74-primary-dark:#103a35;
 --m74-paper:#f6f7f4; --m74-white:#fff; --m74-line:#dce5df;
 --m74-muted:#52665f; --m74-gold:#d8ba83; --m74-soft:#eaf2ed;
 --m74-shadow:0 10px 30px rgba(21,54,44,.065);
 --m74-radius:16px;
 --ink:var(--m74-ink); --deep:var(--m74-primary-dark); --muted:var(--m74-muted);
 --cream:var(--m74-paper); --stroke:var(--m74-line); --gold:#987341;
 color:var(--m74-ink); background:var(--m74-paper);
 font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
 line-height:1.55;
}
.metro-v74 :is(h1,h2,h3,h4){font-family:inherit;letter-spacing:-.035em;line-height:1.2;overflow-wrap:anywhere}
[dir=rtl] .metro-v74 :is(h1,h2,h3,h4,.eyebrow){letter-spacing:normal}
.metro-v74 .eyebrow{font-size:.72rem;letter-spacing:.13em;font-weight:800;color:#356552}
.metro-v74 :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #9b7131;outline-offset:3px}
.metro-v74 .site-header{background:#fff;border-bottom:1px solid var(--m74-line);box-shadow:0 3px 18px #193b3008}
.metro-v74 .main-nav a{color:#334c45;font-weight:650;border-radius:8px}
.metro-v74 .main-nav a:is(.current,:hover){color:#184b39;background:#eaf2ed}
.metro-v74 .header-actions .text-link{color:var(--m74-primary-dark)}
.metro-v74 .mobile-menu nav{border:1px solid var(--m74-line);border-radius:16px;box-shadow:0 18px 45px #142e3024}
.metro-v74 :is(.btn,.mip-submit){border-radius:10px;font-weight:700;letter-spacing:normal;transition:background-color .16s,border-color .16s,box-shadow .16s}
.metro-v74 .btn-dark{background:var(--m74-primary);color:#fff;border-color:var(--m74-primary)}
.metro-v74 .btn-dark:hover{background:var(--m74-primary-dark);color:#fff}
.metro-v74 .btn-outline{border-color:#c6d5cb;color:#244b3d;background:#fff}
.metro-v74 .btn-outline:hover{background:#eaf2ed;border-color:#829f8c}
.metro-v74 .btn-gold{background:#e1c28c;border-color:#e1c28c;color:#19332b}
.metro-v74 .btn-gold:hover{background:#d6b579;color:#19332b}
.metro-v74 .btn:hover{transform:none}
/* Hero: an original, lightweight architectural illustration; no third-party image. */
.metro-v74 .metro-v74-hero{background:radial-gradient(ellipse at 85% 35%,#3c6251 0,transparent 58%),linear-gradient(112deg,#10342f 4%,#194b40 100%);isolation:isolate;overflow:hidden}
.metro-v74 .metro-v74-hero::before{content:"";position:absolute;inset:0;width:auto;height:auto;border:0;border-radius:0;box-shadow:none;background:url('../images/branding/metropolis-architecture-v74.svg') no-repeat right 2% center;background-size:auto 105%;opacity:.88;pointer-events:none;z-index:-1}
[dir=rtl] .metro-v74 .metro-v74-hero::before{background-position:left 2% center}
.metro-v74 .metro-v74-hero .hero-content{position:relative;padding-block:clamp(65px,7vw,110px) clamp(46px,5vw,78px)}
.metro-v74 .metro-v74-hero h1{max-width:780px;font-size:clamp(2.45rem,5vw,4.65rem);font-weight:760;line-height:1.05;color:#fff;margin-block:12px 18px;text-wrap:balance}
.metro-v74 .metro-v74-hero .eyebrow{color:#e8cf9d}
.metro-v74 .metro-v74-hero p{color:#e8eee8;max-width:57ch;font-size:clamp(1rem,1.3vw,1.15rem);line-height:1.7}
.metro-v74 .metro-v74-hero .hero-search{background:#fff;border:1px solid #ffffffb0;border-radius:17px;box-shadow:0 14px 40px #08271f45;padding:12px;gap:10px;margin-block-start:28px;max-width:1180px}
.metro-v74 .hero-search .search-field{background:#f5f7f4;border:1px solid #e1e9e2;border-radius:10px;min-width:0;padding:10px 12px}
.metro-v74 .hero-search .search-field label{color:#405d50;letter-spacing:.025em;font-size:.69rem}
.metro-v74 .hero-search .search-field :is(input,select){background:transparent;color:#183c30;font-weight:650}
.metro-v74 .hero-search .btn{min-height:50px}
.metro-v74 .hero-highlights{gap:9px;margin-top:22px;flex-wrap:wrap}
.metro-v74 .hero-highlights span{color:#f3f7f3;border:1px solid #ffffff42;background:#ffffff0b;border-radius:99px;padding:6px 12px;font-size:.8rem}
.metro-v74 .section{padding-block:clamp(30px,4vw,62px)}
.metro-v74 .section-header{gap:20px;margin-bottom:24px}
.metro-v74 .section-header h2{font-size:clamp(1.65rem,3vw,2.55rem);font-weight:750;color:var(--m74-ink)}
.metro-v74 .section-header p{color:var(--m74-muted);font-size:.95rem;max-width:65ch}
.metro-v74 .category-grid{gap:12px}
.metro-v74 .category-grid .category-card{background:#fff;border:1px solid var(--m74-line);border-radius:var(--m74-radius);min-height:130px;padding:18px;box-shadow:none;transition:box-shadow .16s,border-color .16s;gap:12px}
.metro-v74 .category-grid .category-card:hover{border-color:#8cae97;box-shadow:var(--m74-shadow);transform:none}
.metro-v74 .category-symbol{width:48px;height:48px;background:var(--m74-soft);border:1px solid #dce8de;border-radius:12px;color:#285e49}
.metro-v74 .category-symbol svg{width:29px;height:29px;display:block}
.metro-v74 .category-card strong{font-weight:750;color:var(--m74-ink)}
.metro-v74 .category-card small{color:var(--m74-muted)}
/* Shared cards and detail screens. Preserve slider geometry and hidden attributes. */
.metro-v74 :is(.property-grid,.results-grid,.project-grid,.agency-directory-grid){gap:18px}
.metro-v74:not(.admin-fullscreen-body) :is(.property-card,.metro-project-card-v2,.agency-directory-card,.trust-card,.price-card,.auth-card,.registration-card,.card-panel,.filter-panel,.empty-state,.mip-option,.mip-help){border-color:var(--m74-line);border-radius:var(--m74-radius);box-shadow:var(--m74-shadow)}
.metro-v74 .mp-listing-card{background:#fff;overflow:hidden;border:1px solid var(--m74-line);transition:box-shadow .18s,border-color .18s}
.metro-v74 .mp-listing-card:hover{box-shadow:0 12px 32px #173b3020;border-color:#adc3b2;transform:none}
.metro-v74 .mp-listing-card .property-image{aspect-ratio:1.6;background:#e6eee8}
.metro-v74 .mp-listing-card .property-info{padding:15px 16px 10px;gap:5px}
.metro-v74 .mp-listing-card .property-location{color:#52665f;font-size:.8rem;font-weight:550}
.metro-v74 .mp-listing-card .property-info h3{font-size:1.06rem;font-weight:730;line-height:1.35;color:#173c32;margin:2px 0 5px}
.metro-v74 .mp-listing-card .property-stats{color:#4f655a;font-size:.78rem;gap:8px;flex-wrap:wrap}
.metro-v74 .mp-listing-card .property-bottom{border-color:#e0e8e1;padding-top:12px;margin-top:5px}
.metro-v74 .mp-listing-card .property-bottom strong{font-size:clamp(1.08rem,1.5vw,1.4rem);font-weight:780;color:#174b3d;white-space:normal;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.metro-v74 .mp-listing-card .property-arrow{color:#37654e}
.metro-v74 .mp-listing-card .compare-quick{padding:0 16px 14px;margin:0}
.metro-v74 .mp-listing-card .compare-quick .btn{min-height:38px;border-radius:8px}
.metro-v74 .metro-listing-chip{background:#fff;color:#174b3d;border:1px solid #e7eee6;font-weight:750;box-shadow:0 2px 8px #173d3024}
.metro-v74 .page-banner{background:linear-gradient(112deg,#e8f0e9,#f8f6f0);border-bottom:1px solid #dce7de;padding-block:clamp(28px,4vw,55px)}
.metro-v74 .page-banner h1{font-size:clamp(1.9rem,4vw,3.2rem);font-weight:760;color:#153b31;text-wrap:balance}
.metro-v74 .page-banner p{color:var(--m74-muted);max-width:70ch}
.metro-v74 .filter-panel{background:#fff}
.metro-v74 .workflow-search-tabs .btn{border-radius:99px}
.metro-v74 .listing-detail .detail-heading{padding-block:14px 20px;gap:20px}
.metro-v74 .listing-detail .detail-heading h1{font-size:clamp(1.65rem,3.3vw,2.75rem);font-weight:760;line-height:1.18}
.metro-v74 .listing-detail .detail-price{color:#164e3e;font-size:clamp(1.6rem,3vw,2.5rem);font-weight:780;font-variant-numeric:tabular-nums;white-space:normal;overflow-wrap:anywhere}
.metro-v74 .listing-detail .mz-listing-stage{border-radius:18px;background:#eaf0ea}
.metro-v74 .listing-detail .spec-item{background:#f4f7f3;border:1px solid #e0e9e1;border-radius:11px}
.metro-v74 .listing-detail .contact-box{border-color:#c9dbce;box-shadow:0 10px 35px #193b3010}
.metro-v74 .listing-detail .contact-box .btn{min-height:46px}
.metro-v74 .cta-band,.metro-v74 .mip-hero,.metro-v74 .metro-setup-hero{background:linear-gradient(115deg,#103a35,#235c4c);border-radius:18px}
.metro-v74 .cta-band .eyebrow,.metro-v74 .mip-hero .eyebrow{color:#e8cf9d}
.metro-v74 .metro-premium-footer{background:#113b33;border-top:1px solid #315a4c}
/* Forms and onboarding: styling only; leave visibility, validators and rules intact. */
.metro-v74 :is(.form-field,.search-field) label{font-weight:680;color:#334d40}
.metro-v74 :is(.form-field,.free-grid,.metro-setup-panel) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){border-color:#cddbd1;border-radius:9px;background:#fff;color:#183b30}
.metro-v74 :is(.form-field,.free-grid,.metro-setup-panel) :is(input,select,textarea):focus{border-color:#4f8162}
.metro-v74 :is(.free-step,.metro-setup-panel){border:1px solid var(--m74-line);border-radius:16px;box-shadow:var(--m74-shadow)}
.metro-v74 .free-step h2>span{background:#e7f1e8;color:#20563c}
.metro-v74 .free-upload{border-color:#8bac97;background:#f5f9f5;border-radius:12px}
.metro-v74 .mip-option:not(.is-unavailable):hover{border-color:#729d83;box-shadow:0 14px 32px #143e2f12}
.metro-v74 .mip-option-free{border-color:#aac8b2}
/* Professional / Admin shared surfaces. Do not alter dashboard sidebar scripts. */
.metro-v74.dashboard-body .dashboard-content{min-width:0;color:var(--m74-ink)}
.metro-v74.dashboard-body :is(.card-panel,.stat-box,.admin-module,.admin-toolbar){border-color:var(--m74-line);border-radius:13px;box-shadow:0 3px 15px #173c3008;background:#fff}
.metro-v74.dashboard-body .dashboard-heading h1{font-size:clamp(1.6rem,3vw,2.35rem);font-weight:760}
.metro-v74.dashboard-body .stat-box{padding:16px;border-inline-start:3px solid #8cac97;min-width:0}
.metro-v74.dashboard-body .stat-box strong{font-size:clamp(1.4rem,2.3vw,2.15rem);color:#164c3b;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.metro-v74.dashboard-body .stat-box span{font-size:.83rem;color:#50665a;line-height:1.4}
.metro-v74.dashboard-body .role-sidebar{border-color:var(--m74-line);border-radius:14px;background:#fff;box-shadow:var(--m74-shadow)}
.metro-v74.dashboard-body .role-sidebar a[aria-current=page]{background:#e6f0e8;color:#174b3d;font-weight:750;border-radius:8px}
.metro-v74.admin-fullscreen-body .admin-sidebar{background:#163c35;color:#fff}
.metro-v74.admin-fullscreen-body .admin-nav-links .admin-nav-current{background:#315a4c;color:#fff;border-inline-start:3px solid #dec18a}
.metro-v74.dashboard-body .table-wrap{border-color:var(--m74-line);border-radius:11px;max-width:100%;overflow-x:auto}
.metro-v74.dashboard-body .data-table th{background:#eef4ee;color:#405c4c;font-size:.73rem;letter-spacing:.025em}
.metro-v74.dashboard-body .data-table td{border-color:#e7eee7}
.metro-v74.dashboard-body .data-table tbody tr:hover{background:#f7faf7}
@media(min-width:1101px){.metro-v74 .category-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:900px){.metro-v74 .metro-v74-hero::before{background-size:auto 85%;opacity:.36}.metro-v74 .metro-v74-hero .hero-content{padding-block:55px 40px}.metro-v74 .section-header{gap:12px}.metro-v74.dashboard-body .stat-box{padding:12px}}
@media(max-width:600px){
 .metro-v74 .metro-v74-hero .hero-content{padding-block:35px 30px}
 .metro-v74 .metro-v74-hero::before{background-size:auto 60%;background-position:right top;opacity:.23}
 [dir=rtl] .metro-v74 .metro-v74-hero::before{background-position:left top}
 .metro-v74 .metro-v74-hero h1{font-size:clamp(2rem,8vw,2.7rem);line-height:1.13}
 .metro-v74 .metro-v74-hero p{font-size:.95rem;line-height:1.6}
 .metro-v74 .metro-v74-hero .hero-search{padding:10px;gap:8px;margin-block-start:20px}
 .metro-v74 .hero-search .search-field{padding:8px 10px}
 .metro-v74 .hero-highlights{gap:5px;margin-top:14px}
 .metro-v74 .hero-highlights span{font-size:.72rem;padding:5px 8px}
 .metro-v74 .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .metro-v74 .category-grid .category-card{padding:13px;min-height:110px;gap:9px}
 .metro-v74 .category-symbol{width:42px;height:42px}
 .metro-v74 .category-symbol svg{width:25px;height:25px}
 .metro-v74 .section-header{margin-bottom:16px;align-items:flex-start}
 .metro-v74 .section-header h2{font-size:1.7rem}
 .metro-v74 .mp-listing-card .property-info{padding:13px 14px 9px}
 .metro-v74 .mp-listing-card .compare-quick{padding:0 14px 12px}
 .metro-v74 .listing-detail .detail-heading{padding-block:10px 12px;gap:10px;flex-wrap:wrap}
 .metro-v74 .listing-detail .detail-price{margin-top:0}
 .metro-v74 .listing-detail .mz-listing-stage{border-radius:12px}
 .metro-v74 .dashboard-content .stat-box strong{font-size:1.4rem}
 .metro-v74 .mip-hero,.metro-v74 .metro-setup-hero,.metro-v74 .cta-band{border-radius:14px}
}
@media(prefers-reduced-motion:reduce){.metro-v74 :is(.btn,.category-card,.property-card,.mip-option){transition:none}}
/* Project and professional directory consistency. */
.metro-v74 :is(.metro-project-card-v2,.agency-directory-card) :is(h3,h4){color:#173c32;line-height:1.35;font-weight:730}
.metro-v74 :is(.metro-project-card-v2,.agency-directory-card):hover{border-color:#adc3b2;box-shadow:0 12px 32px #173b3015;transform:none}
.metro-v74 .empty-state{padding:clamp(24px,5vw,60px);background:#fff}
.metro-v74 .role-workspace-banner{background:linear-gradient(110deg,#103a35,#235c4c);border-radius:16px}
.metro-v74 .role-workspace-banner :is(h1,h2,h3){color:#fff}
.metro-v74 .role-workspace-banner .eyebrow{color:#e8cf9d}
.metro-v74 .role-stat-grid{gap:12px}
.metro-v74 .admin-v740-shortcuts{gap:10px}
.metro-v74 .admin-admininfo{border-radius:12px}
@media(max-width:600px){.metro-v74 .mp-listing-card .compare-quick .btn{min-height:44px}.metro-v74 .role-stat-grid{gap:8px}}
/* Final cascade: match numeric typography, keep the admin active state legible. */
.metro-v74 :is(.category-card strong,.mp-listing-card .property-bottom strong,.detail-price,.stat-box strong){font-family:inherit}
.metro-v74.admin-fullscreen-body .dashboard-shell-admin .admin-nav-links>a.admin-nav-current{background:#e4c995;color:#15392f!important;border-inline-start-color:#b68d50}
.metro-v74 .role-workspace-banner p{color:#e8eee8}
@media(min-width:1101px){.metro-v74:not(.admin-fullscreen-body) .property-grid:has(> .mp-listing-card){grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}}
@media(min-width:360px) and (max-width:600px){
 .metro-v74 .metro-v74-hero .hero-search{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
 .metro-v74 .metro-v74-hero .hero-search .btn{grid-column:1/-1;width:100%;margin:0}
 .metro-v74 .metro-v74-hero .hero-search .search-field{padding:7px 8px;min-width:0}
 .metro-v74 .metro-v74-hero .hero-search .search-field :is(input,select){width:100%;min-width:0;padding-inline:3px;font-size:16px}
 .metro-v74 .metro-v74-hero .hero-highlights{flex-direction:row;flex-wrap:wrap;align-items:flex-start}
 .metro-v74 .metro-v74-hero .hero-highlights span{width:auto}
}
