/* Free CV Studio v268 — screenshot-targeted compact design/editor controls.
   Mobile only. Full-size CV documents, field values and desktop layouts remain unchanged. */
@media (max-width: 800px) {
  /* EDIT: turn the large vertical section tiles into slim horizontal shortcuts. */
  html:root body.shell[class][class][data-tab="edit"] #mainContent #colEdit #cvForm .v54-section-rail {
    display:flex!important;
    flex-direction:row!important;
    align-items:stretch!important;
    gap:6px!important;
    width:100%!important;
    height:58px!important;
    min-height:58px!important;
    max-height:58px!important;
    padding:2px 1px 5px!important;
    margin:0 0 4px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    flex-wrap:nowrap!important;
    scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch!important;
    box-sizing:border-box!important;
  }
  html:root body.shell[class][class][data-tab="edit"] #mainContent #colEdit #cvForm .v54-section-rail::-webkit-scrollbar {
    display:none!important;
  }
  html:root body.shell[class][class][data-tab="edit"] #mainContent #colEdit #cvForm .v54-section-rail > button {
    display:flex!important;
    flex:0 0 112px!important;
    flex-direction:row!important;
    justify-content:flex-start!important;
    align-items:center!important;
    gap:6px!important;
    width:112px!important;
    min-width:112px!important;
    max-width:112px!important;
    height:48px!important;
    min-height:48px!important;
    max-height:48px!important;
    padding:5px 7px!important;
    margin:0!important;
    border-radius:9px!important;
    font-size:10.5px!important;
    line-height:1.15!important;
    text-align:left!important;
    white-space:normal!important;
    box-sizing:border-box!important;
  }
  html:root body.shell[class][class][data-tab="edit"] #mainContent #colEdit #cvForm .v54-section-rail .v54-rail-icon {
    display:inline-flex!important;
    flex:0 0 23px!important;
    align-items:center!important;
    justify-content:center!important;
    width:23px!important;
    height:23px!important;
    min-width:23px!important;
    border-radius:7px!important;
    font-size:13px!important;
    line-height:1!important;
  }
  /* Compact progress summary; keep step count, started count and navigation visible. */
  html:root body.shell[class][class][data-tab="edit"] #mainContent #colEdit #cvForm .v264-editor-progress {
    display:grid!important;
    grid-template-areas:"copy meta" "track actions"!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:minmax(20px,auto) 25px!important;
    align-items:center!important;
    gap:3px 7px!important;
    width:100%!important;
    min-height:51px!important;
    height:auto!important;
    padding:5px 8px!important;
    margin:0 0 6px!important;
    border-radius:10px!important;
    box-sizing:border-box!important;
  }
  html:root body.shell[class][class][data-tab="edit"] #mainContent #colEdit #cvForm .v264-progress-copy {
    grid-area:copy!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    gap:5px!important;
    min-width:0!important;
    overflow:hidden!important;
  }
  html:root body.shell[class][class][data-tab="edit"] #mainContent #colEdit #cvForm .v264-progress-eyebrow {
    flex:0 0 auto!important;
    font-size:8px!important;
    line-height:1!important;
    letter-spacing:.06em!important;
  }
  html:root body.shell[class][class][data-tab="edit"] #mainContent #colEdit #cvForm .v264-progress-title {
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:11px!important;
    line-height:1.1!important;
  }
  html:root body.shell[class][class][data-tab="edit"] #mainContent #colEdit #cvForm .v264-progress-hint {
    display:none!important;
  }
  html:root body.shell[class][class][data-tab="edit"] #mainContent #colEdit #cvForm .v264-progress-meta {
    grid-area:meta!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:6px!important;
    white-space:nowrap!important;
  }
  html:root body.shell[class][class][data-tab="edit"] #mainContent #colEdit #cvForm .v264-step-count,
  html:root body.shell[class][class][data-tab="edit"] #mainContent #colEdit #cvForm .v264-started-count {
    font-size:9px!important;
    line-height:1.1!important;
  }
  html:root body.shell[class][class][data-tab="edit"] #mainContent #colEdit #cvForm .v264-progress-track {
    grid-area:track!important;
    align-self:center!important;
    height:4px!important;
    margin:0!important;
  }
  html:root body.shell[class][class][data-tab="edit"] #mainContent #colEdit #cvForm .v264-progress-actions {
    grid-area:actions!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:4px!important;
  }
  html:root body.shell[class][class][data-tab="edit"] #mainContent #colEdit #cvForm .v264-progress-actions button {
    min-width:0!important;
    min-height:24px!important;
    height:24px!important;
    padding:3px 7px!important;
    border-radius:6px!important;
    font-size:9px!important;
    line-height:1!important;
  }

  /* DESIGN: compact title and category pills. */
  html:root body.shell[class][class][data-tab="design"] #mainContent #colDesign #designCard {
    padding:8px!important;
    gap:5px!important;
  }
  html:root body.shell[class][class][data-tab="design"] #mainContent #colDesign #designCard > .card-head {
    min-height:27px!important;
    height:27px!important;
    padding:2px 5px!important;
    margin:0 0 3px!important;
    gap:5px!important;
  }
  html:root body.shell[class][class][data-tab="design"] #mainContent #colDesign #designCard .card-title {
    font-size:12px!important;
    line-height:1.15!important;
    gap:5px!important;
  }
  html:root body.shell[class][class][data-tab="design"] #mainContent #colDesign #templates {
    padding:0 1px 5px!important;
    margin:0!important;
    min-height:0!important;
  }
  html:root body.shell[class][class][data-tab="design"] #mainContent #colDesign #templateCategories {
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    gap:5px!important;
    height:34px!important;
    min-height:34px!important;
    max-height:34px!important;
    padding:1px 0!important;
    margin:2px 0 5px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch!important;
  }
  html:root body.shell[class][class][data-tab="design"] #mainContent #colDesign #templateCategories::-webkit-scrollbar {
    display:none!important;
  }
  html:root body.shell[class][class][data-tab="design"] #mainContent #colDesign #templateCategories .category-tab {
    flex:0 0 auto!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:28px!important;
    height:28px!important;
    max-height:28px!important;
    padding:3px 9px!important;
    margin:0!important;
    border-radius:999px!important;
    gap:5px!important;
    font-size:10px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  html:root body.shell[class][class][data-tab="design"] #mainContent #colDesign #templateCategories .category-tab .count,
  html:root body.shell[class][class][data-tab="design"] #mainContent #colDesign #templateCategories .category-count {
    min-width:16px!important;
    height:16px!important;
    padding:0 4px!important;
    font-size:9px!important;
    line-height:16px!important;
  }
  html:root body.shell[class][class][data-tab="design"] #mainContent #colDesign .library-subhead {
    margin:2px 0 5px!important;
    gap:5px!important;
  }
  html:root body.shell[class][class][data-tab="design"] #mainContent #colDesign .library-subhead h3 {
    margin:0!important;
    font-size:12px!important;
    line-height:1.2!important;
  }
  html:root body.shell[class][class][data-tab="design"] #mainContent #colDesign .library-subhead p {
    display:none!important;
  }

  /* Two compact template cards per row. Full-size preview remains available on tap. */
  html:root body.shell[class][class][data-tab="design"] #mainContent #colDesign #templateGalleryScroll {
    min-height:0!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
  }
  html:root body.shell[class][class][data-tab="design"] #mainContent #colDesign #templateGallery {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-flow:row!important;
    align-items:start!important;
    gap:8px!important;
    padding:4px 2px 10px!important;
    margin:0!important;
    overflow:visible!important;
  }
  html:root body.shell[class][class][data-tab="design"] #mainContent #colDesign #templateGallery > .template-card {
    display:flex!important;
    flex-direction:column!important;
    align-self:start!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    min-height:0!important;
    height:auto!important;
    padding:5px!important;
    margin:0!important;
    gap:4px!important;
    border-radius:9px!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }
  html:root body.shell[class][class][data-tab="design"] #mainContent #colDesign #templateGallery > .template-card .template-picture-wrap,
  html:root body.shell[class][class][data-tab="design"] #mainContent #colDesign #templateGallery > .template-card .template-preview-wrap,
  html:root body.shell[class][class][data-tab="design"] #mainContent #colDesign #templateGallery > .template-card .template-thumb,
  html:root body.shell[class][class][data-tab="design"] #mainContent #colDesign #templateGallery > .template-card .mini-cv-preview {
    display:block!important;
    position:relative!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:794 / 1123!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
    margin:0 auto!important;
  }
  html:root body.shell[class][class][data-tab="design"] #mainContent #colDesign #templateGallery > .template-card .template-mini {
    position:absolute!important;
    left:0!important;
    top:0!important;
    transform-origin:top left!important;
    max-width:none!important;
    max-height:none!important;
  }
  html:root body.shell[class][class][data-tab="design"] #mainContent #colDesign #templateGallery > .template-card .template-card-title {
    display:block!important;
    min-height:18px!important;
    margin:2px 1px!important;
    padding:0!important;
    font-size:10px!important;
    line-height:1.2!important;
    text-align:center!important;
  }
  html:root body.shell[class][class][data-tab="design"] #mainContent #colDesign #templateGallery > .template-card .template-card-actions {
    display:flex!important;
    flex-wrap:wrap!important;
    justify-content:center!important;
    gap:4px!important;
    padding:1px 0 0!important;
    margin:0!important;
  }
  html:root body.shell[class][class][data-tab="design"] #mainContent #colDesign #templateGallery > .template-card .template-card-actions button {
    min-width:0!important;
    min-height:27px!important;
    height:27px!important;
    padding:4px 6px!important;
    font-size:9px!important;
    line-height:1!important;
    border-radius:6px!important;
  }
}
@media (max-width: 420px) {
  html:root body.shell[class][class][data-tab="edit"] #mainContent #colEdit #cvForm .v54-section-rail {
    height:54px!important;
    min-height:54px!important;
    max-height:54px!important;
  }
  html:root body.shell[class][class][data-tab="edit"] #mainContent #colEdit #cvForm .v54-section-rail > button {
    flex-basis:104px!important;
    width:104px!important;
    min-width:104px!important;
    max-width:104px!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    padding:4px 6px!important;
    font-size:10px!important;
  }
  html:root body.shell[class][class][data-tab="design"] #mainContent #colDesign #templateGallery {
    gap:7px!important;
    padding:3px 1px 8px!important;
  }
  html:root body.shell[class][class][data-tab="design"] #mainContent #colDesign #templateGallery > .template-card {
    padding:4px!important;
  }
}
@media (max-width: 350px) {
  html:root body.shell[class][class][data-tab="edit"] #mainContent #colEdit #cvForm .v54-section-rail > button {
    flex-basis:98px!important;
    width:98px!important;
    min-width:98px!important;
    max-width:98px!important;
  }
  html:root body.shell[class][class][data-tab="design"] #mainContent #colDesign #templateGallery > .template-card .template-card-title {
    font-size:9px!important;
  }
}


@media (max-width: 800px) {
  /* Beat the historical v165/v248 selectors that force one full-width card on phones. */
  html:root body.shell[class][class][data-tab="design"] #mainContent #builder #colDesign #designCard #templates .template-gallery-scroll-shell #templateGallery {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-flow:row!important;
    align-items:start!important;
    gap:7px!important;
    padding:3px 2px 8px!important;
    overflow:visible!important;
  }
  html:root body.shell[class][class][data-tab="design"] #mainContent #builder #colDesign #designCard #templates .template-gallery-scroll-shell #templateGallery > .template-card {
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:4px!important;
    gap:3px!important;
  }
  html:root body.shell[class][class][data-tab="design"] #mainContent #builder #colDesign #designCard #templates .template-gallery-scroll-shell #templateGallery > .template-card .template-picture-wrap,
  html:root body.shell[class][class][data-tab="design"] #mainContent #builder #colDesign #designCard #templates .template-gallery-scroll-shell #templateGallery > .template-card .template-preview-wrap,
  html:root body.shell[class][class][data-tab="design"] #mainContent #builder #colDesign #designCard #templates .template-gallery-scroll-shell #templateGallery > .template-card .template-thumb,
  html:root body.shell[class][class][data-tab="design"] #mainContent #builder #colDesign #designCard #templates .template-gallery-scroll-shell #templateGallery > .template-card .mini-cv-preview {
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:794 / 1123!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }
  html:root body.shell[class][class][data-tab="design"] #mainContent #builder #colDesign #designCard #templates #templateCategories {
    display:flex!important;
    flex-wrap:nowrap!important;
    height:30px!important;
    min-height:30px!important;
    max-height:30px!important;
    padding:0!important;
    margin:1px 0 4px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    gap:5px!important;
  }
  html:root body.shell[class][class][data-tab="design"] #mainContent #builder #colDesign #designCard #templates #templateCategories .category-tab {
    height:26px!important;
    min-height:26px!important;
    max-height:26px!important;
    padding:2px 8px!important;
    font-size:10px!important;
    line-height:1!important;
  }
}
@media (max-width: 420px) {
  html:root body.shell[class][class][data-tab="edit"] #mainContent #builder #colEdit #cvForm .v264-editor-progress {
    grid-template-rows:16px 22px!important;
    min-height:46px!important;
    padding:4px 7px!important;
    gap:2px 6px!important;
  }
  html:root body.shell[class][class][data-tab="edit"] #mainContent #builder #colEdit #cvForm .v264-progress-actions button {
    height:21px!important;
    min-height:21px!important;
    padding:2px 6px!important;
    font-size:8.5px!important;
  }
}


/* v269 — keep the full-size preview action inside the template card footer.
   Previous legacy rule absolutely positioned [data-view-template] over the preview. */
@media (max-width: 800px) {
  html:root body.shell[class][class][data-tab="design"] #mainContent #builder #colDesign #designCard #templates .template-gallery-scroll-shell #templateGallery > .template-card .template-card-actions {
    display:flex!important;
    flex:0 0 auto!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    position:static!important;
    inset:auto!important;
    width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    gap:4px!important;
    padding:0!important;
    margin:0!important;
    overflow:visible!important;
    box-sizing:border-box!important;
  }
  html:root body.shell[class][class][data-tab="design"] #mainContent #builder #colDesign #designCard #templates .template-gallery-scroll-shell #templateGallery > .template-card .template-card-actions [data-use-template],
  html:root body.shell[class][class][data-tab="design"] #mainContent #builder #colDesign #designCard #templates .template-gallery-scroll-shell #templateGallery > .template-card .template-card-actions [data-view-template] {
    display:flex!important;
    position:static!important;
    inset:auto!important;
    float:none!important;
    transform:none!important;
    flex:0 0 auto!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    white-space:nowrap!important;
    box-sizing:border-box!important;
    z-index:auto!important;
    box-shadow:none!important;
    margin:0!important;
  }
  html:root body.shell[class][class][data-tab="design"] #mainContent #builder #colDesign #designCard #templates .template-gallery-scroll-shell #templateGallery > .template-card .template-card-actions [data-use-template] {
    height:27px!important;
    min-height:27px!important;
    max-height:27px!important;
    padding:4px 6px!important;
    border-radius:7px!important;
    font-size:9px!important;
    line-height:1!important;
    order:0!important;
  }
  html:root body.shell[class][class][data-tab="design"] #mainContent #builder #colDesign #designCard #templates .template-gallery-scroll-shell #templateGallery > .template-card .template-card-actions [data-view-template] {
    height:22px!important;
    min-height:22px!important;
    max-height:22px!important;
    padding:2px 6px!important;
    border:1px solid #cbd9d5!important;
    border-radius:6px!important;
    background:#f7faf9!important;
    color:#315e50!important;
    font-size:9px!important;
    font-weight:650!important;
    line-height:1!important;
    order:1!important;
    opacity:1!important;
    visibility:visible!important;
  }
  html:root body.shell[class][class][data-tab="design"] #mainContent #builder #colDesign #designCard #templates .template-gallery-scroll-shell #templateGallery > .template-card .template-card-actions [data-view-template]::after {
    content:none!important;
    display:none!important;
  }
  /* Keep card internals in normal flow so actions cannot cover any part of the CV preview. */
  html:root body.shell[class][class][data-tab="design"] #mainContent #builder #colDesign #designCard #templates .template-gallery-scroll-shell #templateGallery > .template-card {
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    height:auto!important;
    min-height:0!important;
    overflow:hidden!important;
  }
}

/* v270 restored compact header/footer rules from verified v267 */
@media (max-width: 800px) {
  html { scroll-padding-top: 56px !important; }
  html body.shell { --hdr: 56px !important; --tabs: 50px !important; }
  html:root body.shell[class][class] #appHeader {
    display: flex !important;
    position: fixed !important;
    inset: 0 0 auto 0 !important;
    width: 100% !important;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    box-sizing: border-box !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 5px 10px !important;
    gap: 8px !important;
    overflow: visible !important;
  }
  html:root body.shell[class][class] #appHeader .brand {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: 58vw !important;
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }
  html:root body.shell[class][class] #appHeader #headerUtilityGroup {
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 5px !important;
    min-width: 0 !important;
    margin: 0 0 0 auto !important;
  }
  html:root body.shell[class][class] #appHeader #appMenuBtn,
  html:root body.shell[class][class] #appHeader #headerMenuToggle,
  html:root body.shell[class][class] #appHeader .header-menu-toggle,
  html:root body.shell[class][class] #appHeader #v117Downloads,
  html:root body.shell[class][class] #appHeader .site-language-top select {
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    padding: 0 8px !important;
    font-size: 11px !important;
    border-radius: 8px !important;
  }
  html:root body.shell[class][class] #appHeader #headerMenuToggle,
  html:root body.shell[class][class] #appHeader .header-menu-toggle {
    width: 34px !important;
    min-width: 34px !important;
    flex: 0 0 34px !important;
  }
  html:root body.shell[class][class] #appHeader #headerPrimaryNav {
    display: none !important;
  }
  html:root body.shell[class][class] #appHeader.menu-open #headerPrimaryNav {
    display: flex !important;
    position: fixed !important;
    top: 56px !important;
    left: 8px !important;
    right: 8px !important;
    width: auto !important;
    max-height: calc(100dvh - 70px) !important;
    overflow-y: auto !important;
    flex-direction: column !important;
    gap: 4px !important;
    padding: 8px !important;
    z-index: 10050 !important;
  }
  html:root body.shell[class][class] #mainContent {
    position: fixed !important;
    top: 56px !important;
    bottom: calc(50px + env(safe-area-inset-bottom, 0px)) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    box-sizing: border-box !important;
    padding: 6px 7px 8px !important;
    gap: 7px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }
  /* The action toolbar is a More-menu panel, not a permanent second header. */
  html:root body.shell[class][class] #appBar {
    display: none !important;
  }
  html:root body.shell[class][class].more-open #appBar {
    display: flex !important;
    position: fixed !important;
    left: 7px !important;
    right: 7px !important;
    bottom: calc(50px + env(safe-area-inset-bottom, 0px)) !important;
    width: auto !important;
    max-height: min(44vh, 340px) !important;
    min-height: 0 !important;
    height: auto !important;
    box-sizing: border-box !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    padding: 8px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border-radius: 13px 13px 0 0 !important;
    z-index: 2147483646 !important;
  }
  html:root body.shell[class][class].more-open #appBar .bar-group {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: 5px !important;
  }
  html:root body.shell[class][class].more-open #appBar button {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 35px !important;
    height: auto !important;
    padding: 6px 7px !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
    border-radius: 8px !important;
    justify-content: center !important;
  }
  html:root body.shell[class][class] #appTabs {
    display: grid !important;
    position: fixed !important;
    inset: auto 0 0 0 !important;
    width: 100% !important;
    height: calc(50px + env(safe-area-inset-bottom, 0px)) !important;
    min-height: calc(50px + env(safe-area-inset-bottom, 0px)) !important;
    max-height: calc(50px + env(safe-area-inset-bottom, 0px)) !important;
    box-sizing: border-box !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 3px !important;
    padding: 3px 5px calc(3px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 2147483647 !important;
  }
  html:root body.shell[class][class] #appTabs button {
    display: flex !important;
    min-width: 0 !important;
    width: 100% !important;
    min-height: 0 !important;
    height: 100% !important;
    padding: 3px 2px !important;
    gap: 2px !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10px !important;
    line-height: 1.05 !important;
  }
  html:root body.shell[class][class] #appTabs button .ti {
    display: block !important;
    font-size: 16px !important;
    line-height: 1 !important;
  }
}

@media (max-width: 420px) {
 html:root body.shell[class][class] #appHeader {height:52px!important;min-height:52px!important;max-height:52px!important;padding:4px 8px!important;}
 html:root body.shell[class][class] #mainContent {top:52px!important;bottom:calc(48px + env(safe-area-inset-bottom,0px))!important;}
 html:root body.shell[class][class] #appHeader .brand {font-size:15px!important;}
 html:root body.shell[class][class] #appTabs,
 html:root body.shell[class][class] #appTabs button {font-size:10px!important;}
 html:root body.shell[class][class] #appTabs {height:calc(48px + env(safe-area-inset-bottom,0px))!important;min-height:calc(48px + env(safe-area-inset-bottom,0px))!important;max-height:calc(48px + env(safe-area-inset-bottom,0px))!important;}
 html:root body.shell[class][class].more-open #appBar {bottom:calc(48px + env(safe-area-inset-bottom,0px))!important;}
 html:root body.shell[class][class] #coverBuilder:not([hidden]) {top:52px!important;bottom:calc(48px + env(safe-area-inset-bottom,0px))!important;}
}
@media (max-width:350px) {
 html:root body.shell[class][class] #appHeader .brand {font-size:14px!important;}
 html:root body.shell[class][class] #appTabs button {font-size:9px!important;}
 html:root body.shell[class][class] #appTabs button .ti {font-size:14px!important;}
 html:root body.shell[class][class] #appBar .lbl-long {display:none!important;}
}
