/* Shared navigation and operational layouts, loaded after page-specific CSS. */
html {scrollbar-gutter:stable;scroll-padding-top:100px} body {margin:0;max-width:100%;overflow-x:clip} *,*::before,*::after{box-sizing:border-box}
.main-header{position:sticky!important;top:0!important;z-index:100!important;width:100%;background:#fff!important;color:#142238!important;transform:none!important;box-shadow:0 2px 16px #14223812;border-bottom:1px solid #dfe5ed}
.main-header .header-inner{display:flex!important;align-items:center;gap:14px;padding:12px 20px!important;max-width:1800px!important;width:100%!important;margin:auto;min-height:76px;height:auto!important}
.main-header .header-brand-cluster,.main-header .header-actions,.main-header .header-partner-logos{display:flex;align-items:center;gap:10px;flex-shrink:0}
.main-header .main-nav{display:flex;align-items:center;justify-content:center;flex:1;gap:12px;flex-wrap:wrap}
.main-header .nav-link{color:#24354b!important;font-size:12px;font-weight:650;text-decoration:none;white-space:nowrap;padding:8px 0;transition:color .18s}
.main-header .nav-link:hover{color:#c52a31!important}.main-header .nav-link-rental{color:#b42129!important}
.main-header .logo-mark-header{width:112px!important;height:46px!important;background:none;box-shadow:none;border:0}
.main-header .logo-mark-img{width:100%;height:100%;object-fit:contain}.main-header .header-guardia-logo{width:55px!important;height:48px!important;object-fit:contain}
.main-header .header-mymg-logo{width:52px!important;height:40px!important;object-fit:contain}.main-header .header-arcuri-logo{width:58px!important;height:40px!important;object-fit:contain}
.main-header .header-instagram-icon{width:20px;height:20px}.main-header .auth-btn{color:#fff;background:#142238;border:0;padding:10px 14px;border-radius:20px;font-size:11px}
.main-header .mobile-nav{background:#fff!important}.main-header .mobile-nav-toggle{flex-shrink:0}.main-header .mobile-nav-toggle-bar{background:#142238!important}
.workspace-menu{min-width:0}.workspace-menu>summary{display:none}.select-search{width:100%;margin:4px 0;min-height:40px}
.business-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:20px}.business-card{padding:22px;border:1px solid #dfe5ed;border-radius:16px;background:#fff;color:#142238;min-width:0;box-shadow:0 6px 24px #12243b08}
.business-card img{width:100%;height:210px;object-fit:cover;border-radius:10px}.business-card h3{margin:12px 0}.business-card p{overflow-wrap:anywhere}.business-price{font-size:26px;font-weight:750;color:#af232b}.business-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.business-form label{display:grid;gap:6px;min-width:0;font-weight:600}.business-form input,.business-form select,.business-form textarea{width:100%;font:inherit;min-height:44px;padding:10px;border:1px solid #c9d2dd;border-radius:8px;background:#fff;color:#142238}.business-form textarea{min-height:110px}.business-wide{grid-column:1/-1}.business-actions{display:flex;gap:10px;flex-wrap:wrap}.business-actions button,.business-form button,.business-card button,.business-refresh{min-height:44px;padding:10px 18px;border:0;border-radius:9px;background:#17324d;color:#fff;font:inherit;cursor:pointer}.business-status{padding:12px 0;white-space:pre-wrap;overflow-wrap:anywhere}.business-badge{display:inline-block;padding:5px 10px;background:#e9f5ef;color:#14613b;border-radius:20px}.business-sold{background:#fce7e7;color:#9a2525}.business-chart{width:100%;height:auto;max-height:260px}.chart-legend{display:grid;gap:8px;padding:0;list-style:none}.chart-legend li{display:flex;gap:8px;justify-content:space-between}.chart-key{width:12px;height:12px;display:inline-block;border-radius:3px;margin-right:7px}.sales-layout{max-width:1320px;padding:36px 20px;margin:auto}.sales-intro{padding:30px 0}.sales-intro h1{font-size:clamp(32px,5vw,56px);margin:10px 0}.sales-filters{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:24px}.sales-filters input,.sales-filters select{padding:12px;border:1px solid #c9d2dd;border-radius:8px;max-width:100%;font:inherit}.sales-dialog{width:min(720px,94vw);max-height:90dvh;overflow:auto;border:0;border-radius:18px;padding:24px}.sales-dialog::backdrop{background:#0b192bb3}
@media(max-width:1250px){.main-header .main-nav{display:none!important}.main-header .mobile-nav-toggle{display:block!important;margin-left:auto}.main-header .header-inner{flex-wrap:nowrap!important}.main-header .mobile-nav{position:absolute;top:100%;left:0;right:0;max-height:calc(100dvh - 80px);overflow:auto;display:none!important;padding:16px 24px;box-shadow:0 12px 22px #14223822}.main-header .mobile-nav.is-open{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.main-header .mobile-nav a{padding:12px!important;white-space:normal}}
@media(max-width:900px){.workspace-menu{width:100%;margin-bottom:12px}.workspace-menu>summary{display:block;cursor:pointer;padding:14px 18px;background:#17324d;color:white;border-radius:10px;list-style:none}.workspace-menu>summary::after{content:' ▾';float:right}.admin-odoo-layout{display:block!important}.admin-odoo-sidebar,.mymg-world-rail{position:static!important;width:100%!important;max-height:none!important;overflow:visible!important}.admin-odoo-menu,.mymg-world-rail{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}.admin-odoo-menu-item,.mymg-world-rail button{min-width:0!important;white-space:normal!important;min-height:48px}.admin-shell,.portal-shell{width:100%!important;padding:16px!important}.admin-odoo-main,.admin-card,.admin-odoo-module,.mymg-world-map{min-width:0!important;max-width:100%}.admin-odoo-viewbar{position:static!important;flex-wrap:wrap}.admin-grid-two,.admin-form-grid,.mymg-profile-panel{grid-template-columns:minmax(0,1fr)!important}.admin-card{padding:16px!important}.admin-hero,.portal-hero{flex-wrap:wrap;gap:16px}.admin-record-modal-dialog,.admin-log-modal-dialog{max-width:96vw!important;max-height:90dvh!important;overflow:auto!important}.admin-project-hour-table,.admin-table-wrap,.admin-table-wrapper,.admin-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}input,select,textarea{font-size:16px!important}button,a,input,select,textarea{touch-action:manipulation}.admin-odoo-main .panel-scroll-area,.mymg-page .panel-scroll-area{max-height:65dvh}.mymg-world-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.main-header .header-inner{gap:7px;padding:8px 12px!important;min-height:64px}.main-header .header-partner-logos,.main-header .lang-dropdown{display:none}.main-header .logo-mark-header{width:85px!important;height:38px!important}.main-header .header-guardia-logo{width:36px!important;height:38px!important}.main-header .header-brand-cluster,.main-header .header-actions{gap:6px}.main-header .auth-btn{padding:9px;font-size:10px}.main-header .header-mymg-logo{width:40px!important}.business-form{grid-template-columns:1fr}.admin-hero-actions,.portal-hero-actions{flex-wrap:wrap}.admin-odoo-view-actions{width:100%;flex-wrap:wrap}.admin-odoo-search{min-width:0!important;flex:1}.admin-odoo-search input{width:100%!important}.business-card{padding:16px}.page-bg-video{display:none!important}.admin-hero h1{font-size:30px!important}}
.business-gallery{display:flex;gap:8px;overflow:auto;margin-top:8px}.business-gallery a{flex:0 0 84px}.business-gallery img{height:64px;border-radius:6px}.business-form[hidden]{display:none!important}
.main-header .header-actions{width:auto!important;min-width:0!important;max-width:100%;flex-wrap:nowrap!important;margin:0!important}
.responsive-table{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;margin:16px 0}.responsive-table:focus-visible{outline:2px solid #2576bc;outline-offset:3px}
@media(max-width:600px){.main-header .music-toggle{display:none!important}.main-header .auth-btn{max-width:98px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.main-header .header-actions{flex:0 1 auto!important}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
