/* V.42.2 — opção 1 aprovada: título da obra em segunda linha no iPhone.
   Desktop não alterado. Preserva as abas horizontais dentro da caixa. */
@media screen and (max-width:700px){
  .shell > .top{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr) auto!important;
    grid-template-rows:auto auto!important;
    align-items:center!important;
    column-gap:8px!important;
    row-gap:12px!important;
    padding:12px 13px 15px!important;
    min-height:0!important;
    width:100%!important;
  }
  .shell > .top > .brand{display:contents!important}
  .shell > .top > .brand > .mark{
    grid-column:1!important;grid-row:1!important;
    width:42px!important;height:42px!important;
    margin:0!important;justify-self:start!important;
  }
  .shell > .top > .brand > .theme-switcher{
    grid-column:2!important;grid-row:1!important;
    justify-self:start!important;
    margin:0!important;max-width:100%!important;
  }
  .shell > .top > .brand > div:has(#projectTitle){
    grid-column:1/-1!important;grid-row:2!important;
    display:block!important;width:100%!important;
    min-width:0!important;margin:0!important;
  }
  .shell > .top #projectTitle{
    display:block!important;width:100%!important;
    max-width:100%!important;margin:0!important;
    padding:0!important;overflow:hidden!important;
    text-overflow:ellipsis!important;white-space:nowrap!important;
    font-family:Georgia,'Times New Roman',serif!important;
    font-size:clamp(19px,5vw,24px)!important;
    font-weight:700!important;letter-spacing:-.035em!important;
    line-height:1.18!important;
  }
  .shell > .top > .top-right{
    grid-column:3!important;grid-row:1!important;
    margin:0!important;min-width:0!important;
    justify-self:end!important;
  }
  .shell > .top .top-right .project-picker select{
    width:clamp(72px,19vw,100px)!important;
    max-width:100px!important;min-width:0!important;
  }
  .shell > .navtabs{margin-top:-1px!important}
}
@media screen and (max-width:380px){
  .shell > .top{column-gap:5px!important;padding-left:9px!important;padding-right:9px!important}
  .shell > .top > .brand > .mark{width:38px!important;height:38px!important}
  .shell > .top > .brand > .theme-switcher{transform:scale(.94);transform-origin:left center}
  .shell > .top .top-right .project-picker select{width:72px!important}
}
