/* Ultra MAX DEV Step 2: compact, progressive presentation only. */
#step-2 .s2-play-header{padding:9px 0 10px!important;margin:0!important}
#step-2 .s2-play-header h1{font-size:clamp(23px,3vw,32px)!important;line-height:1.16!important;margin:4px 0!important}
#step-2 .s2-play-header .um-step-sub{display:none!important}
#step-2 .s2-play-stage-head{padding:0 0 8px!important;margin:0 0 9px!important}
#step-2 .s2-play-stage-head h2{font-size:clamp(16px,2vw,21px)!important;line-height:1.3!important;margin:2px 0!important}
#step-2 .s2-play-stage-head p{font-size:11px!important;margin:3px 0!important}
#step-2 .s2-ux-preset-options{margin:7px 0 13px;border:1px solid var(--border2,var(--border,#475366));border-radius:10px;background:var(--card,#202735);color:var(--text,#f5f6f8)}
#step-2 .s2-ux-preset-options>summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;min-height:40px;padding:9px 12px;font-size:12px;font-weight:700;list-style:none}
#step-2 .s2-ux-preset-options>summary::-webkit-details-marker{display:none}
#step-2 .s2-ux-preset-options[open]>summary span,#step-2 .s2-ux-more-presets[aria-expanded="true"] span{transform:rotate(180deg)}
#step-2 .s2-ux-preset-options .s2-preset-mode{margin:0!important;padding:8px!important;border:0!important;background:transparent!important;display:flex!important;flex-wrap:wrap!important;gap:8px!important}
#step-2 .s2-ux-preset-options .s2-preset-mode-label{flex-basis:100%!important;font-size:11px!important}
#step-2 .s2-ux-preset-options .s2-preset-mode-option{margin:0!important;min-height:39px!important;font-size:11px!important}
#step-2 .s2-ux-preset-note{display:block;margin:0 12px 11px;font-size:11px;line-height:1.4;color:var(--text2,var(--muted,#b4bdcc))}
#step-2 #s2PresetsGrid:not(.s2-ux-all-presets) :is(#s2pre-genre_explorer,#s2pre-family_hub,#s2pre-everything){display:none!important}
#step-2 .s2-ux-more-presets{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:100%!important;min-height:42px!important;margin:9px 0!important;padding:8px 12px!important;border:1px solid var(--border2,var(--border,#465366))!important;border-radius:10px!important;background:transparent!important;color:var(--text,#f6f7f9)!important;font:inherit!important;font-size:12px!important;font-weight:750!important;cursor:pointer!important}
#step-2 .s2-ux-more-presets span{transition:transform .18s ease}
#step-2 .s2-specific-rows-cta{margin:9px 0 0!important;min-height:60px!important;padding:10px 12px!important;border-radius:11px!important}
#step-2 .s2-specific-rows-copy small{font-size:11px!important}
#step-2 .s2-phase-break{display:none!important}
#step-2 .s2-manage-zone{margin:13px 0 0!important;padding:0!important}
#step-2 .s2-manage-zone-head{display:none!important}
#step-2 #s2AdvancedRowTools{margin:0!important;border-radius:12px!important}
#step-2 #s2AdvancedRowTools>summary{min-height:56px!important;padding:10px 12px!important}
#step-2 .s2-final-check{margin:13px 0 0!important;padding:12px!important;border-radius:13px!important;background:var(--card,#202735)!important;background-image:none!important;border:1px solid var(--border2,var(--border,#425164))!important;box-shadow:none!important}
#step-2 .s2-final-check-top{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}
#step-2 .s2-final-check .s2-review-heading{display:flex!important;flex:1 1 160px!important;min-width:0!important;align-items:center!important;gap:0!important;padding:0!important;margin:0!important}
#step-2 .s2-final-check :is(.s2-review-kicker,.s2-review-sub){display:none!important}
#step-2 .s2-final-check .s2-review-title{font-size:14px!important;font-weight:800!important;line-height:1.25!important;text-align:left!important;color:var(--text,#f5f7fa)!important;-webkit-text-fill-color:var(--text,#f5f7fa)!important}
#step-2 .s2-final-count{display:flex!important;flex:0 0 auto!important;min-width:0!important;width:auto!important;align-items:center!important;gap:6px!important;padding:6px 9px!important;margin:0!important;border-radius:9px!important;background:var(--input-bg,var(--bg2,#29313c))!important;border:1px solid var(--border2,var(--border,#425064))!important;box-shadow:none!important}
#step-2 .s2-final-count-number{display:inline-flex!important;min-width:0!important;width:auto!important;height:auto!important;padding:0!important;color:var(--text,#f5f6f9)!important;-webkit-text-fill-color:var(--text,#f5f6f9)!important;background:none!important;font-size:13px!important}
#step-2 .s2-final-count-copy{display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:0!important}
#step-2 .s2-final-count-copy strong{font-size:11px!important;color:var(--text2,var(--muted,#b0bdc9))!important}
#step-2 .s2-final-count-copy small{display:none!important}
#step-2 .s2-final-check .s2-review-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:10px 0 0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
#step-2 .s2-final-check :is(.s2-step-summary-btn,.s2-step-preview-btn){display:flex!important;justify-content:center!important;align-items:center!important;gap:8px!important;width:100%!important;min-height:42px!important;margin:0!important;padding:9px 10px!important;border:1px solid var(--border2,var(--border,#465265))!important;border-radius:9px!important;background:var(--input-bg,var(--bg2,#29323f))!important;color:var(--text,#f4f6fa)!important;box-shadow:none!important;font-size:12px!important;text-align:center!important}
#step-2 .s2-step-summary-icon,#step-2 .s2-step-summary-sub{display:none!important}
#step-2 .s2-step-summary-title{font-size:12px!important}
#step-2 .s2-bottom-nav-compact{position:relative!important;top:auto!important;bottom:auto!important;z-index:1!important;display:grid!important;grid-template-columns:minmax(0,.75fr) minmax(0,1.45fr)!important;gap:9px!important;margin:11px 0 0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
#step-2 .s2-bottom-nav-compact .s2-nav-card{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-width:0!important;width:100%!important;min-height:50px!important;padding:9px 11px!important;margin:0!important;border-radius:10px!important;box-shadow:none!important}
#step-2 .s2-bottom-nav-compact .s2-nav-card-title{font-size:12px!important;line-height:1.3!important;font-weight:800!important;white-space:normal!important}
#step-2 .s2-bottom-nav-compact .s2-nav-card-sub,#step-2 .s2-nav-card-back .s2-nav-card-icon{display:none!important}
#step-2 .s2-bottom-nav-compact .s2-nav-card-next .s2-nav-card-icon{background:none!important;border:0!important;box-shadow:none!important;width:auto!important;height:auto!important}
@media(max-width:700px){
 #step-2 .s2-play-header{padding:5px 0 9px!important}
 #step-2 .s2-play-stage{padding:12px!important}
 #step-2 .s2-play-stage-head p{display:none!important}
 #step-2 .s2-final-check .s2-review-heading{flex:1 1 160px!important}
 html:is(.um-app-mode,.native-app) body #step-2{padding-bottom:calc(105px + env(safe-area-inset-bottom))!important}
}
/* The old guided setup script wraps the Collections action in a large
   text-heavy card. Keep its button but flatten that wrapper into the grid. */
#step-2 .s2-bottom-nav-compact > .guided-page-card{display:contents!important}
#step-2 .s2-bottom-nav-compact > .guided-page-card > :not(.s2-nav-card){display:none!important}
/* The fixed app tab dock is independent. Step 2 actions scroll in normal flow. */
@media(max-width:899px){
 html:is(.um-app-mode,.native-app) body #step-2 .s2-bottom-nav-compact{
  position:relative!important;bottom:auto!important;top:auto!important;
  padding:0!important;z-index:1!important;
 }
 html:is(.um-app-mode,.native-app) body #step-2{
  padding-bottom:calc(125px + env(safe-area-inset-bottom))!important;
 }
}
/* Refined variants have legacy high-specificity rules. These must win. */
html.um-refined[data-um-appearance] body #step-2 #s2PresetsGrid.s2-presets-experience:not(.s2-ux-all-presets) :is(#s2pre-genre_explorer,#s2pre-family_hub,#s2pre-everything){
 display:none!important;
}
html.um-refined[data-um-appearance] body #step-2 .s2-final-check{
 min-height:0!important;height:auto!important;padding:12px!important;
 margin-top:13px!important;border-radius:12px!important;
 box-shadow:none!important;
}
html.um-refined[data-um-appearance] body #step-2 .s2-final-check-top{
 display:flex!important;flex-wrap:wrap!important;align-items:center!important;
 gap:8px!important;justify-content:space-between!important;
}
html.um-refined[data-um-appearance] body #step-2 .s2-final-check .s2-review-heading{
 display:flex!important;align-items:center!important;flex:1 1 130px!important;
 gap:0!important;min-width:0!important;margin:0!important;text-align:left!important;
}
html.um-refined[data-um-appearance] body #step-2 .s2-final-check .s2-review-title{
 font-size:14px!important;text-align:left!important;line-height:1.3!important;
}
html.um-refined[data-um-appearance] body #step-2 .s2-final-count{
 flex:0 0 auto!important;width:auto!important;min-width:0!important;
 padding:6px 9px!important;gap:6px!important;margin:0!important;
}
html.um-refined[data-um-appearance] body #step-2 .s2-final-count-number{
 min-width:0!important;width:auto!important;height:auto!important;padding:0!important;
 background:transparent!important;font-size:13px!important;
}
html.um-refined[data-um-appearance] body #step-2 .s2-final-check .s2-review-actions{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:8px!important;margin:9px 0 0!important;
}
html.um-refined[data-um-appearance] body #step-2 .s2-final-check :is(.s2-step-summary-btn,.s2-step-preview-btn){
 display:flex!important;align-items:center!important;justify-content:center!important;
 min-height:42px!important;height:auto!important;padding:9px 10px!important;
 margin:0!important;box-shadow:none!important;
}
html.um-refined[data-um-appearance] body #step-2 .s2-bottom-nav-compact{
 position:relative!important;bottom:auto!important;top:auto!important;z-index:1!important;
 display:grid!important;grid-template-columns:minmax(0,.8fr) minmax(0,1.45fr)!important;
 gap:9px!important;margin:11px 0 0!important;padding:0!important;
 border:0!important;background:transparent!important;box-shadow:none!important;
}
html.um-refined[data-um-appearance] body #step-2 .s2-bottom-nav-compact .s2-nav-card{
 min-height:50px!important;height:auto!important;margin:0!important;
 padding:10px 12px!important;box-shadow:none!important;
}
@media(max-width:899px){
 html:is(.um-app-mode,.native-app).um-refined body #step-2.active::after{
  content:""!important;display:block!important;visibility:hidden!important;
  width:100%!important;height:105px!important;pointer-events:none!important;
 }
}
/* Native refined selectors trump the old full-size review/nav defaults. */
html.um-app-mode.um-refined[data-um-appearance] body #step-2 .s2-final-check-top,
html.um-app-mode.um-refined[data-um-appearance] body #step-2 .s2-final-check .s2-review-actions{
 padding:0!important;min-height:0!important;
}
html.um-app-mode.um-refined[data-um-appearance] body #step-2 .s2-final-check .s2-review-title{
 margin:0!important;
}
html.um-app-mode.um-refined[data-um-appearance] body #step-2 .s2-final-check :is(.s2-step-summary-btn,.s2-step-preview-btn){
 height:42px!important;min-height:42px!important;max-height:none!important;
 margin:0!important;padding:8px 10px!important;
}
html.um-app-mode.um-refined[data-um-appearance] body #step-2 .s2-bottom-nav-compact :is(.s2-nav-card-back,.s2-nav-card-next){
 height:50px!important;min-height:50px!important;max-height:none!important;
 padding:9px 11px!important;margin:0!important;
}
/* Laptop alignment: the existing narrow custom-row CTA looked orphaned. */
#step-2 .s2-specific-rows-cta{
 width:100%!important;max-width:none!important;min-width:0!important;
 grid-column:1/-1!important;box-sizing:border-box!important;
}
@media(min-width:901px){
 #step-2 .s2-bottom-nav-compact{width:100%!important;max-width:800px!important;margin:14px auto 0!important}
}
html.um-refined[data-um-appearance] body #step-2 .s2-specific-rows-cta{
 width:100%!important;max-width:none!important;min-width:0!important;
}
@media(min-width:901px){
 html.um-refined[data-um-appearance] body #step-2 .s2-bottom-nav-compact{
  width:100%!important;max-width:800px!important;margin:14px auto 0!important;
 }
}
@media(prefers-reduced-motion:reduce){#step-2 .s2-ux-more-presets span{transition:none!important}}
