/* Ultra MAX DEV: Refined Dark finishing pass, compact footer + collection preview.
   Does not alter Classic, Light, collection data or click handlers.
   Base UI dock is 68-80px tall; reserve clearance ONCE on .um-main. */
html.um-app-mode.um-refined:not([data-um-appearance="refined-light"]) body:not(.light-mode) .um-main {
  padding-bottom:calc(86px + env(safe-area-inset-bottom)) !important;
}
html.um-app-mode.um-refined:not([data-um-appearance="refined-light"]) body:not(.light-mode) #step-1,
html.um-app-mode.um-refined:not([data-um-appearance="refined-light"]) body:not(.light-mode) #step-2 {
  padding-bottom:14px !important;
  min-height:0 !important;
  margin-bottom:0 !important;
}
html.um-app-mode.um-refined:not([data-um-appearance="refined-light"]) body:not(.light-mode) #step-1 #advancedBuilderContainer {
  padding-bottom:0 !important;
  margin-bottom:0 !important;
}
html.um-app-mode.um-refined:not([data-um-appearance="refined-light"]) body:not(.light-mode) #step-1 .s1-final-nav {
  margin-bottom:2px !important;
}
html.um-app-mode.um-refined:not([data-um-appearance="refined-light"]) body:not(.light-mode) #step-2
  :is(.s2-review-zone,.s2-final-check,.s2-bottom-nav) {
  margin-bottom:0 !important;
}
html.um-app-mode.um-refined:not([data-um-appearance="refined-light"]) body:not(.light-mode)
  #step-3.s3-experience-v2 .s3-v2-home-layout-head > .s3-v2-preview-btn {
  background:#283542 !important;
  background-image:none !important;
  color:#e9f0f7 !important;
  -webkit-text-fill-color:#e9f0f7 !important;
  border:1px solid #435364 !important;
  outline:0 !important;
  box-shadow:none !important;
  text-shadow:none !important;
  min-height:42px !important;
  padding:9px 15px !important;
  border-radius:11px !important;
}
html.um-app-mode.um-refined:not([data-um-appearance="refined-light"]) body:not(.light-mode)
 #step-3.s3-experience-v2 .s3-v2-home-layout-head > .s3-v2-preview-btn:is(:hover,:active) {
  background:#324353 !important;
  border-color:#6685a0 !important;
  box-shadow:none !important;
}
html.um-app-mode.um-refined:not([data-um-appearance="refined-light"]) body:not(.light-mode)
 #step-3.s3-experience-v2 .s3-v2-home-layout-head > .s3-v2-preview-btn:focus-visible {
  outline:2px solid #8eb9da !important;
  outline-offset:2px !important;
}
