/* Free CV Studio v271 — genuinely compact mobile header and bottom navigation.
   Keeps the brand and header actions on a single row; the OS/browser chrome is outside the webpage. */
@media (max-width: 800px) {
  html:root body.shell[class][class] #appHeader {
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:space-between!important;
    width:100%!important;
    height:48px!important;
    min-height:48px!important;
    max-height:48px!important;
    padding:3px 8px!important;
    gap:6px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  html:root body.shell[class][class] #appHeader > .brand {
    display:block!important;
    flex:0 0 92px!important;
    width:92px!important;
    min-width:0!important;
    max-width:92px!important;
    margin:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:14px!important;
    line-height:1.05!important;
    letter-spacing:-.035em!important;
  }
  html:root body.shell[class][class] #headerPrimaryNav {
    display:none!important;
  }
  html:root body.shell[class][class] #appHeader #headerUtilityGroup {
    display:flex!important;
    flex:0 1 auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:calc(100% - 98px)!important;
    height:30px!important;
    min-height:30px!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:4px!important;
    margin:0 0 0 auto!important;
    overflow:visible!important;
    box-sizing:border-box!important;
  }
  html:root body.shell[class][class] #appHeader #headerUtilityGroup #v200ImportBtn,
  html:root body.shell[class][class] #appHeader #headerUtilityGroup #v117Downloads {
    display:inline-flex!important;
    flex:0 0 auto!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:28px!important;
    min-height:28px!important;
    max-height:28px!important;
    padding:0 6px!important;
    gap:3px!important;
    border-radius:7px!important;
    font-size:10px!important;
    line-height:1!important;
    white-space:nowrap!important;
    box-sizing:border-box!important;
  }
  html:root body.shell[class][class] #appHeader #headerUtilityGroup #v200ImportBtn {
    width:73px!important;
    flex-basis:73px!important;
  }
  html:root body.shell[class][class] #appHeader #headerUtilityGroup #v117Downloads {
    width:76px!important;
    flex-basis:76px!important;
  }
  html:root body.shell[class][class] #appHeader #headerUtilityGroup .site-language-top {
    display:block!important;
    flex:0 0 52px!important;
    width:52px!important;
    min-width:52px!important;
    max-width:52px!important;
    height:28px!important;
    min-height:28px!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
  }
  html:root body.shell[class][class] #appHeader #headerUtilityGroup .site-language-top #langPick {
    display:flex!important;
    flex:1 1 auto!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:28px!important;
    min-height:28px!important;
    max-height:28px!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
  }
  html:root body.shell[class][class] #appHeader #headerUtilityGroup .site-language-top #langBtn {
    display:flex!important;
    flex:1 1 auto!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:28px!important;
    min-height:28px!important;
    max-height:28px!important;
    padding:0 4px!important;
    gap:3px!important;
    justify-content:center!important;
    border-radius:7px!important;
    font-size:10px!important;
    line-height:1!important;
    box-sizing:border-box!important;
  }
  html:root body.shell[class][class] #appHeader #headerUtilityGroup .site-language-top #langBtn img {
    width:15px!important;
    height:10px!important;
    flex:0 0 15px!important;
  }
  html:root body.shell[class][class] #appHeader #headerUtilityGroup .site-language-top #langBtn .ln {
    font-size:10px!important;
  }

  /* A smaller fixed footer, including its actual tap-control heights. */
  html:root body.shell[class][class] #appTabs {
    display:grid!important;
    position:fixed!important;
    inset:auto 0 0 0!important;
    width:100%!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    padding:2px 4px!important;
    gap:2px!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    align-items:center!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    z-index:2147483647!important;
  }
  html:root body.shell[class][class] #appTabs button {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex-direction:column!important;
    width:100%!important;
    min-width:0!important;
    height:38px!important;
    min-height:38px!important;
    max-height:38px!important;
    padding:2px 1px!important;
    margin:0!important;
    gap:1px!important;
    font-size:9px!important;
    line-height:1!important;
    border-radius:8px!important;
    box-sizing:border-box!important;
  }
  html:root body.shell[class][class] #appTabs button .ti {
    display:block!important;
    font-size:14px!important;
    line-height:1!important;
  }
  html:root body.shell[class][class] #mainContent {
    top:48px!important;
    bottom:44px!important;
  }
  html:root body.shell[class][class].more-open #appBar {
    bottom:44px!important;
  }
  html:root body.shell[class][class] #coverBuilder:not([hidden]) {
    top:48px!important;
    bottom:44px!important;
  }
}
@media (max-width: 420px) {
  html:root body.shell[class][class] #appHeader {
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    padding:2px 6px!important;
    gap:4px!important;
  }
  html:root body.shell[class][class] #appHeader > .brand {
    flex-basis:96px!important;
    width:96px!important;
    max-width:96px!important;
    font-size:12px!important;
  }
  html:root body.shell[class][class] #appHeader #headerUtilityGroup {
    max-width:calc(100% - 88px)!important;
    gap:3px!important;
  }
  html:root body.shell[class][class] #appHeader #headerUtilityGroup #v200ImportBtn {
    width:68px!important;
    flex-basis:68px!important;
    padding:0 4px!important;
    font-size:9px!important;
  }
  html:root body.shell[class][class] #appHeader #headerUtilityGroup #v117Downloads {
    width:70px!important;
    flex-basis:70px!important;
    padding:0 4px!important;
    font-size:9px!important;
  }
  html:root body.shell[class][class] #appHeader #headerUtilityGroup .site-language-top {
    flex-basis:48px!important;
    width:48px!important;
    min-width:48px!important;
    max-width:48px!important;
  }
  html:root body.shell[class][class] #appTabs {
    height:40px!important;
    min-height:40px!important;
    max-height:40px!important;
    padding:1px 3px!important;
  }
  html:root body.shell[class][class] #appTabs button {
    height:35px!important;
    min-height:35px!important;
    max-height:35px!important;
    font-size:8.5px!important;
    gap:0!important;
    padding:1px!important;
  }
  html:root body.shell[class][class] #appTabs button .ti {
    font-size:13px!important;
  }
  html:root body.shell[class][class] #mainContent {
    top:44px!important;
    bottom:40px!important;
  }
  html:root body.shell[class][class].more-open #appBar {
    bottom:40px!important;
  }
  html:root body.shell[class][class] #coverBuilder:not([hidden]) {
    top:44px!important;
    bottom:40px!important;
  }
}
@media (max-width: 350px) {
  html:root body.shell[class][class] #appHeader > .brand {
    flex-basis:76px!important;
    width:76px!important;
    max-width:76px!important;
    font-size:10.5px!important;
  }
  html:root body.shell[class][class] #appHeader #headerUtilityGroup {
    max-width:calc(100% - 74px)!important;
    gap:2px!important;
  }
  html:root body.shell[class][class] #appHeader #headerUtilityGroup #v200ImportBtn {
    width:62px!important;
    flex-basis:62px!important;
    font-size:8.5px!important;
  }
  html:root body.shell[class][class] #appHeader #headerUtilityGroup #v117Downloads {
    width:64px!important;
    flex-basis:64px!important;
    font-size:8.5px!important;
  }
  html:root body.shell[class][class] #appHeader #headerUtilityGroup .site-language-top {
    flex-basis:46px!important;
    width:46px!important;
    min-width:46px!important;
    max-width:46px!important;
  }
}
@media (prefers-reduced-motion: reduce) {
  html:root body.shell[class][class] #appHeader,
  html:root body.shell[class][class] #appTabs,
  html:root body.shell[class][class] #mainContent { transition:none!important; }
}

/* v272 dropdown unclipping override */
/* Free CV Studio v272 — preserve the compact header while allowing its dropdowns to escape the bar.
   v271's overflow:hidden clipped the language menu opened below the header. */
@media (max-width: 800px) {
  html:root body.shell[class][class] #appHeader {
    overflow: visible !important;
    z-index: 10020 !important;
  }
  html:root body.shell[class][class] #appHeader #headerUtilityGroup,
  html:root body.shell[class][class] #appHeader #headerUtilityGroup .site-language-top,
  html:root body.shell[class][class] #appHeader #headerUtilityGroup #langPick {
    overflow: visible !important;
  }
}
