/* 2Day.news V17.2 production hotfix — 2026-10-23
   Restore document scrolling. V17.1 mistakenly applied fixed-viewport/overflow-hidden
   constraints from design-only prototypes to the production DOM, which has no
   .stage-reading-region / .stage-feed-scroll wrappers.
   This deliberately does not change app.js, Workers, APIs or article interactions.
*/
html[data-device-category="desktop"] body.design-preview.stage2.headerless-concept,
html[data-device-category="mobile"] body.design-preview.stage2.headerless-concept {
  height:auto!important;
  min-height:100dvh!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
}
html[data-device-category="desktop"] body.design-preview.stage2.headerless-concept .shell,
html[data-device-category="mobile"] body.design-preview.stage2.headerless-concept .shell {
  height:auto!important;
  min-height:100dvh!important;
  max-height:none!important;
  overflow:visible!important;
}
html[data-device-category="desktop"] body.design-preview.stage2.headerless-concept .dashboard:not(.hidden),
html[data-device-category="mobile"] body.design-preview.stage2.headerless-concept .dashboard:not(.hidden) {
  height:auto!important;
  min-height:100dvh!important;
  max-height:none!important;
  overflow:visible!important;
}
@media(min-width:901px){
  html[data-device-category="desktop"] body.design-preview.stage2.headerless-concept .shell {
    /* The sidebar remains independently scrollable and sticky; article content
       determines page height instead of being clipped inside a viewport. */
    margin:0 auto!important;
    border-radius:0!important;
  }
  html[data-device-category="desktop"] body.design-preview.stage2.headerless-concept .dashboard:not(.hidden) {
    grid-template-rows:auto!important;
    flex:initial!important;
  }
  html[data-device-category="desktop"] body.design-preview.stage2.headerless-concept #desktopNewsContainer:not(.hidden) {
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    overflow:visible!important;
  }
  html[data-device-category="desktop"] body.headerless-concept #desktopSourceSidebar {
    position:sticky!important;
    top:0!important;
    height:100dvh!important;
    max-height:100dvh!important;
    align-self:start!important;
  }
}
@media(max-width:900px){
  html[data-device-category="mobile"] body.design-preview.stage2.headerless-concept .shell,
  html[data-device-category="mobile"] body.design-preview.stage2.headerless-concept .dashboard:not(.hidden){
    width:100%!important;
  }
  html[data-device-category="mobile"] body.headerless-concept #newsTableWrap:not(.hidden){
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
  }
}
/* Optical proportion correction requested after production V17.1 rollout.
   Width and exact-font/vector shapes stay unchanged; compress only the visual
   wordmark height. 2D icon dimensions and the master SVG files are untouched. */
html[data-device-category="desktop"] body.headerless-concept .sidebar-fixed-brand img.brand-home-wordmark,
html[data-device-category="mobile"] body.headerless-concept .mobile-v14-brand img.d2-mobile-brand-wordmark {
  transform:scaleY(.80)!important;
  transform-origin:center center!important;
}
