/* Shared touch geometry for public, workspace, admin and standalone pages. */
.sf-card--table.overflow-x-auto{max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.sf-card--table.overflow-x-auto:focus-visible{outline:2px solid var(--sf-ui-focus);outline-offset:-2px}
/* Charts have an intrinsic pixel width. Their grid items must be allowed to shrink. */
:is(.sf-card,.card,.sf-dashboard-panel,.sf-overview-panel,.sf-highchart,[data-highcharts-chart]){min-width:0;max-width:100%}
@media screen{
  html[data-theme] body[data-private-shell] .sf-table-card:has(>table),.sf-table-scroll{min-width:0;max-width:100%;overflow-x:auto!important;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
}
@media (max-width:767px),(pointer:coarse){
  body{--sf-mobile-input-size:1rem}
  html[data-theme] body :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):not([type=button]),select,textarea){font-size:1rem!important}
  html[data-theme] body .sf-modal-form-audited :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=file]):not([type=submit]):not([type=button]):not(.sf-phone-number),select,textarea:not(.sf-rich-source)){font-size:1rem!important}
  html[data-theme] body :is(.sf-button,.sf-table-icon-action,.sf-theme-trigger,.sf-pricing-feature-info,.sf-sidebar-photo-action,a[aria-label],button[aria-label],a[aria-haspopup]){min-width:2.75rem;min-height:2.75rem}
  html[data-theme] body .sf-button--icon{width:2.75rem;height:2.75rem}
  .sf-theme-presets{grid-template-columns:repeat(auto-fit,minmax(2.75rem,1fr))}
  .sf-theme-presets button{min-height:2.75rem}
  .sf-theme-custom input{width:2.75rem;height:2.75rem}
  .sf-theme-custom{grid-template-columns:2.75rem minmax(0,1fr)}
  .sf-pricing-feature-info{cursor:pointer}
  html[data-theme] body :is(.sf-story-select,.sf-login-motion-toggle,.sf-template-gallery-toggle,.sf-public-brand){min-height:2.75rem}
  html[data-theme] body :is(.cfc-icon-button,.cfc-add,.cfc-span>a,.cfc-chip){min-width:2.75rem;min-height:2.75rem}
  html[data-theme] body input[type=color]{min-width:2.75rem!important;min-height:2.75rem!important}
  input[type=file],input[type=range]{min-height:2.75rem}
  main summary{min-height:2.75rem;align-content:center}
}
@media (max-width:767px){
  html{scroll-padding-top:calc(var(--sf-navigation-height,4rem) + .75rem)}
  :is(.sf-workspace-content,.sf-admin-main,[data-private-content]){min-width:0}
  :where([data-private-content])>*,.sf-table-card,.overflow-x-auto{min-width:0;max-width:100%}
  html[data-theme] body :is(.sf-page-actions,.sf-actions,.sf-pagination,.sf-table-controls,.sf-table-pagination){min-width:0;flex-wrap:wrap}
  html[data-theme] body :is(.sf-page-actions,.sf-actions,.sf-pagination)>.sf-button{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:center}
  :is(input[type=date],input[type=time],input[type=datetime-local]){max-width:100%;min-width:0}
  :is(.sf-modal-actions,.sf-nc-detail-actions){flex-wrap:wrap}
  .sf-customer-panel{width:100%;max-width:100%}
}
@media print{.sf-card--table.overflow-x-auto{max-width:none;overflow:visible}}
