/* One 430px product frame, 16px content gutters and 64px primary navigation.
   Specificity matches the legacy sandbox overrides without changing secondary views. */
#app#app#app#app#app#app#app:has(>main.product-shell-main) {
  --product-frame-width:430px; --product-gutter:16px; --product-nav-height:64px;
  width:100%!important;max-width:var(--product-frame-width)!important;margin-inline:auto!important;
}
#app#app#app#app#app#app#app >main.product-shell-main {
  box-sizing:border-box!important;width:100%!important;max-width:var(--product-frame-width)!important;
  min-height:100dvh!important;margin-inline:auto!important;padding-bottom:calc(88px + env(safe-area-inset-bottom))!important;
}
#app#app#app#app#app#app#app .product-shell-main .ref-bottom78 {
  box-sizing:border-box!important;position:fixed!important;left:var(--product-nav-left,0px)!important;right:auto!important;bottom:0!important;
  width:var(--product-nav-width,100%)!important;max-width:none!important;min-width:0!important;height:calc(var(--product-nav-height) + env(safe-area-inset-bottom))!important;
  margin:0!important;padding:6px 8px calc(6px + env(safe-area-inset-bottom))!important;transform:none!important;
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;
  border:0!important;border-top:1px solid #e8ebed!important;background:#fff!important;box-shadow:none!important;z-index:45!important;
}
#app#app#app#app#app#app#app .product-shell-main .ref-bottom78 >button {
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-width:0!important;height:50px!important;min-height:44px!important;gap:4px!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;
  font-size:12px!important;line-height:18px!important;color:#717975!important;
}
#app#app#app#app#app#app#app .product-shell-main .ref-bottom78 >button.active {color:#008b3e!important;font-weight:600!important;}
#app#app#app#app#app#app#app .product-shell-main .ref-bottom78 >button :is(svg,.ux-icon102) {
  display:block!important;width:24px!important;height:24px!important;min-width:24px!important;flex:0 0 24px!important;margin:0!important;transform:none!important;
}
#app#app#app#app#app#app#app .product-shell-main .ref-bottom78 >button >span:not(.ux-icon102) {font-size:12px!important;line-height:18px!important;margin:0!important;}
#app#app#app#app#app#app#app .product-shell-main .ref-bottom78 >button:focus-visible {outline:2px solid #008b3e!important;outline-offset:-2px!important;}
#app#app#app#app#app#app#app .product-shell-main[data-product-section="universe"] :is(.timeline-v2__head,.brand-head78,.timeline-v2__feed,.library-tools78,.ur-type-tabs,.ur-task-intro) {padding-inline:var(--product-gutter)!important;}
#app#app#app#app#app#app#app .product-shell-main[data-product-section="universe"] :is(.v2-resume,.ur-task-tabs) {margin-inline:var(--product-gutter)!important;}
#app#app#app#app#app#app#app .product-shell-main[data-product-section="universe"] :is(.timeline-v2__brand b,.brand-head78 h1) {font-size:26px!important;line-height:34px!important;}
#app#app#app#app#app#app#app .product-shell-main[data-product-section="universe"] .timeline-v2__banner-copy {left:var(--product-gutter)!important;right:var(--product-gutter)!important;}
