:root{--tf-desktop-max:1180px;--tf-page-gutter:clamp(16px,2.2vw,32px)}
html[data-tf-standalone="1"],html[data-tf-standalone="1"] body{overscroll-behavior:none}
@media (display-mode:standalone){body{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}}
@media (min-width:900px) and (pointer:fine){
  html[data-tf-presentation="desktop"] body{min-width:900px;background-attachment:fixed}
  html[data-tf-presentation="desktop"] .app,
  html[data-tf-presentation="desktop"] .wrap,
  html[data-tf-presentation="desktop"] .w,
  html[data-tf-presentation="desktop"] main.wrap,
  html[data-tf-presentation="desktop"] main.w{max-width:var(--tf-desktop-max)!important;width:min(var(--tf-desktop-max),calc(100vw - 48px))!important;margin-inline:auto!important}
  html[data-tf-presentation="desktop"] .services,
  html[data-tf-presentation="desktop"] .tools,
  html[data-tf-presentation="desktop"] .dashboard-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  html[data-tf-presentation="desktop"] .metrics,
  html[data-tf-presentation="desktop"] .finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  html[data-tf-presentation="desktop"] .tf-customer-nav,
  html[data-tf-presentation="desktop"] .tf-admin-nav,
  html[data-tf-presentation="desktop"] .provider-nav{position:sticky!important;top:0;z-index:100;backdrop-filter:blur(14px)}
  html[data-tf-presentation="desktop"] input,
  html[data-tf-presentation="desktop"] select,
  html[data-tf-presentation="desktop"] textarea,
  html[data-tf-presentation="desktop"] button{font-size:14px}
}
