/* EcoSignal V99.3.9.9.5 — Unified Readability Typography
   Presentation-only typography normalization. No business/runtime logic changes. */

:root{
  --es-type-page-title:40px;
  --es-type-section-title:24px;
  --es-type-card-title:18px;
  --es-type-body:15px;
  --es-type-body-primary:16px;
  --es-type-dense:14px;
  --es-type-meta:14px;
  --es-type-label:14px;
}

body{
  font-size:16px;
  line-height:1.5;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}

/* Shared readable baseline across product routes. */
:is(#home,#search,#guardian,#portfolio,#workspace,#watchlist,#applications,#pricing,#about){
  font-size:var(--es-type-body);
  line-height:1.5;
}

:is(#home,#search,#guardian,#portfolio,#workspace,#watchlist,#applications,#pricing,#about)
:is(p,li,td){
  line-height:1.5;
}

:is(#home,#search,#guardian,#portfolio,#workspace,#watchlist,#applications,#pricing,#about)
:is(input,select,textarea,button){
  font-size:14px;
  line-height:1.35;
}

:is(#home,#search,#guardian,#portfolio,#workspace,#watchlist,#applications,#pricing,#about) small{
  font-size:14px;
  line-height:1.4;
}

/* Global navigation remains compact but comfortably readable. */
.nav a,.nav button,.nav .nav-link,.nav .nav-item{
  font-size:14px;
  line-height:1.35;
}

/* Facility Search / Selected Facility Summary */
#search .v993941-summary-kicker{font-size:14px!important;line-height:1.35!important}
#search .v993941-name-row h2{font-size:40px!important;line-height:1.05!important}
#search .v993941-updated,#search .v993941-meta-row{font-size:14px!important;line-height:1.4!important}
#search .v993941-card-title h3{font-size:18px!important;line-height:1.2!important}
#search .v993941-card-title p{font-size:14px!important;line-height:1.35!important}
#search .v993941-lead{font-size:15px!important;line-height:1.5!important}
#search .v993941-status-stack article>div>b,
#search .v993941-evidence-stack article>div>b{font-size:15px!important;line-height:1.3!important}
#search .v993941-status-stack article>div>p,
#search .v993941-evidence-stack article>div>p{font-size:14px!important;line-height:1.4!important}
#search .v993941-state,#search .v993941-attention{font-size:14px!important;line-height:1.3!important}
#search .v993941-count{font-size:22px!important;line-height:1!important}
#search .v993941-count small{font-size:14px!important;line-height:1.25!important}
#search .v993941-card-footer,#search .v993941-public-footer{font-size:14px!important;line-height:1.4!important}
#search .v993941-grounded-title h3{font-size:20px!important;line-height:1.2!important}
#search .v993941-grounded-title p{font-size:14px!important;line-height:1.35!important}
#search .v993941-grounded-grid article h4{font-size:14px!important;line-height:1.35!important}
#search .v993941-grounded-grid article p,
#search .v993941-grounded-grid article li{font-size:14px!important;line-height:1.45!important}
#search .v993941-review-chip{font-size:14px!important}
#search .v993941-actions button{font-size:14px!important}

/* Facility/profile content: prioritize readable evidence and assessment text. */
#search :is(.profile-row,.facility-profile-card,.profile-aspect-detail-intro,.facility-overview-evidence,
.full-facility-profile,.full-profile-detail,.professional-profile-banner)
:is(p,li,span:not(.icon):not(.badge),td){font-size:14px;line-height:1.5}
#search :is(.profile-aspect-detail-intro,.professional-profile-banner) h4{font-size:18px;line-height:1.3}

/* Portfolio — lift dense 10–12px dashboard typography without disturbing chart geometry. */
#portfolio .v99p-nav-group{font-size:14px!important}
#portfolio .v99p-nav-item{font-size:15px!important;line-height:1.35!important}
#portfolio .v99p-user .sub{font-size:14px!important}
#portfolio .v99p-eyebrow{font-size:14px!important}
#portfolio .v99p-header h1{font-size:40px!important}
#portfolio .v99p-content h2{font-size:20px!important;line-height:1.25!important}
#portfolio .v99p-content h3{font-size:16px!important;line-height:1.3!important}
#portfolio .v99p-sub{font-size:15px!important;line-height:1.5!important}
#portfolio .v99p-small-link{font-size:14px!important}
#portfolio .v99p-kpi .label{font-size:14px!important}
#portfolio .v99p-kpi .desc{font-size:14px!important;line-height:1.4!important}
#portfolio .v99p-summary p{font-size:14px!important}
#portfolio .v99p-table{font-size:14px!important}
#portfolio .v99p-table th{font-size:14px!important;line-height:1.35!important}
#portfolio .v99p-table td{font-size:14px!important;line-height:1.45!important}
#portfolio .v99p-badge{font-size:14px!important;line-height:1.25!important}
#portfolio .v99p-legend-row{font-size:14px!important}
#portfolio .v99p-list-item{font-size:14px!important}
#portfolio .v99p-list-sub{font-size:14px!important}
#portfolio .v992-mini{font-size:14px!important}
#portfolio .v9934-pie-center span{font-size:14px!important}
#portfolio .v9934-pie-legend h3,#portfolio .v9934-state-breakdown h3{font-size:14px!important}
#portfolio .v9934-pie-legend-row{font-size:14px!important}
#portfolio .v9934-map-popup b{font-size:14px!important}
#portfolio .v9934-map-popup span{font-size:14px!important;line-height:1.4!important}
#portfolio .v9935-showcase-note{font-size:14px!important}
#portfolio .v9936-queue-toggle span{font-size:14px!important}
#portfolio .v9936-queue-toggle b{font-size:14px!important}

/* Workspace — the previous dashboard intentionally used very small type; normalize it. */
#workspace .ws82{font-size:14px!important;line-height:1.45!important}
#workspace .ws82-navbtn{font-size:15px!important;line-height:1.3!important}
#workspace .ws82-count{font-size:14px!important}
#workspace .ws82-upgrade b{font-size:14px!important}
#workspace .ws82-upgrade p{font-size:14px!important;line-height:1.5!important}
#workspace .ws82-upgrade button{font-size:14px!important}
#workspace .ws82-foot{font-size:14px!important;line-height:1.5!important}
#workspace .ws82-head h1{font-size:32px!important;line-height:1.08!important}
#workspace .ws82-head h1 span{font-size:14px!important}
#workspace .ws82-head p{font-size:14px!important;line-height:1.45!important}
#workspace .ws82-customize{font-size:14px!important}
#workspace .ws82-kpi small{font-size:14px!important}
#workspace .ws82-kpi span{font-size:14px!important}
#workspace .ws82-cardhead{font-size:14px!important;line-height:1.3!important}
#workspace .ws82-link{font-size:14px!important}
#workspace .ws82-greeting{font-size:24px!important}
#workspace .ws82-muted{font-size:14px!important;line-height:1.5!important}
#workspace .ws82-briefrow b{font-size:14px!important}
#workspace .ws82-briefrow small{font-size:14px!important;line-height:1.4!important}
#workspace .ws82-chip{font-size:14px!important}
#workspace .ws82-briefall{font-size:14px!important}
#workspace .ws82-table th{font-size:14px!important;line-height:1.35!important}
#workspace .ws82-table td{font-size:14px!important;line-height:1.45!important}
#workspace .ws82-priority{font-size:14px!important}
#workspace .ws82-reviewbtn{font-size:14px!important}
#workspace .ws82-recent b{font-size:14px!important}
#workspace .ws82-recent small{font-size:14px!important;line-height:1.4!important}
#workspace .ws82-portfolio b{font-size:14px!important}
#workspace .ws82-portfolio span{font-size:14px!important}
#workspace .ws82-legend{font-size:14px!important}
#workspace .ws82-listitem b{font-size:14px!important}
#workspace .ws82-listitem small{font-size:14px!important;line-height:1.4!important}
#workspace .ws82-progress,#workspace .ws82-risklabel{font-size:14px!important}
#workspace .ws82-task{font-size:14px!important;line-height:1.4!important}
#workspace .ws82-task small{font-size:14px!important}
#workspace .ws82-note{font-size:14px!important;line-height:1.5!important}
#workspace .ws82-source b{font-size:14px!important}
#workspace .ws82-source small{font-size:14px!important}
#workspace .ws82-sync{font-size:14px!important;line-height:1.45!important}
#workspace .ws82-toast{font-size:14px!important}
#workspace .ws82-dialog-panel p,#workspace .ws82-dialog-panel li{font-size:14px!important;line-height:1.55!important}

/* Common tables/cards on Guardian, Watchlist and supporting pages. */
:is(#guardian,#watchlist,#applications,#pricing,#about) table{font-size:14px}
:is(#guardian,#watchlist,#applications,#pricing,#about) th{font-size:14px;line-height:1.35}
:is(#guardian,#watchlist,#applications,#pricing,#about) td{font-size:14px;line-height:1.45}
:is(#guardian,#watchlist,#applications,#pricing,#about) .muted,
:is(#guardian,#watchlist,#applications,#pricing,#about) .sub,
:is(#guardian,#watchlist,#applications,#pricing,#about) .meta{font-size:14px;line-height:1.4}

/* Mobile: preserve hierarchy without oversized desktop headings. */
@media(max-width:760px){
  :root{--es-type-page-title:32px}
  #search .v993941-name-row h2{font-size:32px!important}
  #portfolio .v99p-header h1{font-size:32px!important}
  #workspace .ws82-head h1{font-size:28px!important}
  #search .v993941-grounded-grid article p,
  #search .v993941-grounded-grid article li{font-size:14px!important}
}


/* V99.3.9.9.5 — Homepage natural headline flow
   Use the full available content width. Text wraps only when the viewport actually requires it;
   no artificial narrow measure or manual short-line formatting. */
#home .v64-section-head{
  width:100%;
  max-width:none!important;
}
#home .v64-section-head h2{
  width:100%;
  max-width:none!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  text-wrap:wrap;
}
#home .v64-section-head h2 br{display:none!important}

/* The smallest legacy homepage labels/captions are raised by 2px for easier reading. */
#home .pill,
#home .mini,
#home .code,
#home .v64-change-tags span,
#home .v64-boundary p,
#home .v64-product-number{font-size:14px!important}
#home .v64-journey b,
#home .v64-journey p,
#home .v64-pricing-path span{font-size:13px!important}
#home .v64-journey h3{font-size:16px!important}
#home .v64-product-grid small{font-size:14px!important;line-height:1.6!important}

/* Keep the same behavior across future homepage copy: desktop uses available width,
   tablet/mobile wrap naturally according to the container. */
@media(min-width:1101px){
  #home .v64-platform-story .v64-section-head,
  #home .v64-product-levels .v64-section-head{max-width:none!important}
}
