/* Shared reading rhythm. Field labels, alerts, prices and privacy notices stay visible. */
body:not(.nb-landing) #app>.pagehead,
body:not(.nb-landing) #app>div>.pagehead{margin:32px 0 36px}
body:not(.nb-landing) #app .pagehead h1{letter-spacing:-.035em;line-height:1.15;margin-bottom:16px}
body:not(.nb-landing) #app .pagehead>p,
body:not(.nb-landing) #app .pagehead .subtitle{max-width:62ch;line-height:1.65;color:#5c687a;margin:12px 0 0}
body:not(.nb-landing) #app :is(.panel,.nm-choice-card,.account-entry,.nm-inbox-welcome){border-color:#e7ebf2;border-radius:18px;box-shadow:none}
body:not(.nb-landing) #app .panel{padding:28px;margin-block:24px}
body:not(.nb-landing) #app :is(.field,.form-group){margin-bottom:22px}
body:not(.nb-landing) #app :is(label,legend){line-height:1.5}
body:not(.nb-landing) #app :is(input,select,textarea){border-color:#dfe5ee;border-radius:10px}
body:not(.nb-landing) #app :is(.inline-note,.nm-inbox-note){font-size:14px;line-height:1.7;color:#5b687a}
body:not(.nb-landing) #app :is(.nm-choice-card,.nm-empty-invite){padding:30px}
body:not(.nb-landing) #app :is(.nm-choice-card ul,.manual-shell p,.legal p){line-height:1.8}
body:not(.nb-landing) #app :is(.nm-choice-card li,.manual-shell details){margin-block:12px}
body:not(.nb-landing) #app .nm-plan-conditions summary{font-size:18px;font-weight:650;cursor:pointer}
body:not(.nb-landing) #app .nm-plan-conditions[open]>p{max-width:70ch;margin-top:20px}
body:not(.nb-landing) #app :is(.searchbar,.simple-search) button[type=submit],
body:not(.nb-landing) #app .simple-search>.button.primary{background:#fff;color:#294cf2;border:1px solid #294cf2;box-shadow:none}
body:not(.nb-landing) #app .nm-inbox-welcome>p{max-width:60ch;line-height:1.7}
.manual-shell :is(h2,h3){margin-top:32px}
.manual-shell details{border-color:#e7ebf2;box-shadow:none}
/* Standalone public pages: catalogues, categories, invitations and property pages. */
.nm-category-hero{padding-block:52px}
.nm-category-hero>p{max-width:62ch;line-height:1.7}
.nm-category-card,.nm-storefront-grid>article{box-shadow:none;border-color:#e7ebf2}
#nm-realestate-page .nm-section{padding-block:84px}
#nm-realestate-page :is(.nm-lead,.nm-intro,.nm-section-intro){max-width:64ch;line-height:1.7}
#nm-realestate-page .nm-tools{gap:24px}
#nm-realestate-page .nm-tools article{padding:28px;border-color:#e7ebf2;box-shadow:none}
#nm-realestate-page .nm-caption{font-size:15px;line-height:1.7}
#nm-realestate-page .nm-faq details{padding-block:22px}
.invite-benefits li{padding-block:28px}
.invite-benefits li p{max-width:56ch;line-height:1.7}
.invite-hero .invite-lead{max-width:54ch;line-height:1.65}
.invite-start{padding-block:64px}
.nm-realty :is(.nm-box,.nm-property-card){box-shadow:none;border-color:#e7ebf2}
.nm-realty .nm-filters{gap:16px;padding:24px}
.nm-storefront-info{padding-block:28px}
#shop .intro{padding-block:32px}
#shop .intro>p{max-width:65ch;line-height:1.7}
#shop .tools{gap:16px;margin-block:28px}
#shop .card{box-shadow:none;border-color:#e7ebf2}
#shop .cardbody{padding:22px}
#shop .note{font-size:14px;line-height:1.7}
#shop .tools>button{background:#fff;color:#294cf2;border:1px solid #294cf2}
/* Private workspace: room around headings and fields without changing data density in tables. */
.workspace .pagehead{margin-bottom:32px;gap:24px}
.workspace .pagehead h1{line-height:1.15;letter-spacing:-.035em;margin-bottom:14px}
.workspace .subtitle{max-width:65ch;line-height:1.7}
.workspace :is(.panel,.tool-card,.quick-card){box-shadow:none;border-color:#e7ebf2}
.workspace .panel{padding:26px}
.workspace .guide-shell{padding-block:36px}
.workspace .guide-intro{line-height:1.7;max-width:60ch;margin-bottom:30px}
.workspace .guide-fields>label{margin-top:24px}
.workspace .guide-actions{margin-top:32px;gap:14px}
.workspace :is(.note,.data-hint){line-height:1.7;font-size:14px}
@media(max-width:650px){
 body:not(.nb-landing) #app .panel,
 body:not(.nb-landing) #app :is(.nm-choice-card,.nm-empty-invite){padding:20px}
 body:not(.nb-landing) #app>.pagehead{margin-block:24px}
 #nm-realestate-page .nm-section{padding-block:56px}
 #nm-realestate-page .nm-tools article,.workspace .panel{padding:20px}
 .workspace .pagehead{gap:18px;margin-bottom:26px}
 .workspace .guide-shell{padding-block:24px}
 #shop .cardbody{padding:18px}
}

/* One outline treatment for actions across public and private pages. */
html body :is(button,input[type="submit"],input[type="button"],a[role="button"],.button,.nb-button,.nm-button,.invite-button,.nm-category-button,.nm-storefront-contact,.nm-storefront-more),
#app :is(button,.button,.nb-button,.nm-button,a[role="button"]),
#modal :is(button,.button),
#vian :is(button,.button),
.nm-account-view #app .nm-account-tabs button{
 background:#fff!important;
 background-image:none!important;
 color:#294cf2!important;
 border:1px solid #294cf2!important;
 border-radius:16px!important;
 box-shadow:none!important;
 text-shadow:none!important;
}
html body :is(button,.button,.nb-button,.nm-button,.invite-button,.nm-category-button):hover:not(:disabled){
 background:#f5f7ff!important;
 color:#2343da!important;
 filter:none!important;
}
html body :is(button,.button,.nb-button,.nm-button,.invite-button,.nm-category-button):focus-visible{
 outline:3px solid #b6c3ff!important;
 outline-offset:3px;
}
/* Keep selected controls recognizable without filling them. */
html body button:is([aria-pressed="true"],[aria-selected="true"]),
.nm-account-view #app .nm-account-tabs button[aria-selected="true"]{
 border-width:2px!important;
 text-decoration:underline;
 text-underline-offset:4px;
}
/* The Mi Negocio entry remains the solid primary action. */
html body a:is(.nb-account-entry,.nm-register-nav),
#app a.nb-account-entry{
 background:#294cf2!important;
 color:#fff!important;
 border:1px solid #294cf2!important;
 box-shadow:none!important;
}
html body a:is(.nb-account-entry,.nm-register-nav):hover,
#app a.nb-account-entry:hover{
 background:#2343da!important;
 color:#fff!important;
}
