/* v0.99.20 — corrigir regressão de layout da demonstração pública.
 * demo-refinement-v0993.css altera .demo-layout para display:block,
 * deixando a barra lateral (100dvh) antes do conteúdo na v0.99.18/19.
 * Esta folha deve carregar POR ÚLTIMO, após unified-shell-v09918.css.
 * Apenas apresentação: nenhuma mudança nos dados fictícios ou endpoints.
 */
@media (min-width: 671px) {
  #stef-demo-runtime.stef18-demo .demo-layout {
    display: grid;
    grid-template-columns: 252px minmax(0, 1fr);
    align-items: stretch;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
  }
  #stef-demo-runtime.stef18-demo .demo-sidebar {
    width: 252px;
    max-width: 252px;
    grid-column: 1;
    grid-row: 1;
  }
  #stef-demo-runtime.stef18-demo #demo-main {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    align-self: start;
    padding: clamp(22px, 3vw, 45px);
  }
}
@media (min-width: 671px) and (max-width: 1000px) {
  #stef-demo-runtime.stef18-demo .demo-layout {
    grid-template-columns: 218px minmax(0, 1fr);
  }
  #stef-demo-runtime.stef18-demo .demo-sidebar {
    width: 218px;
    max-width: 218px;
  }
  #stef-demo-runtime.stef18-demo #demo-main {
    padding: 24px;
  }
}
@media (max-width: 670px) {
  #stef-demo-runtime.stef18-demo .demo-layout {
    display: block;
  }
  #stef-demo-runtime.stef18-demo #demo-main {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    margin: 0 auto;
    min-width: 0;
  }
}
