/* Theo Properties RC1.0.11.20.26 — Footer Background Removal & Tablet Portrait Menu Parity
   Surgical responsive shell/footer correction only. */

/* 1) Remove all Botswana/footer decorative background layers on every device. */
.site-footer-v4{
  background:#fffdfa!important;
}
.site-footer-v4::before,
.site-footer-v4::after{
  content:none!important;
  display:none!important;
  background:none!important;
  background-image:none!important;
  opacity:0!important;
  filter:none!important;
  -webkit-mask-image:none!important;
  mask-image:none!important;
}

/* 2) Tablet portrait / touch-tablet portrait must use compact floating workspace navigation. */
@media (orientation:portrait) and (min-width:701px) and (max-width:1366px),
       (orientation:portrait) and (pointer:coarse) and (max-width:1366px){
  body.signed-mode .app{
    display:block!important;
    grid-template-columns:1fr!important;
    width:100%!important;
    min-width:0!important;
  }
  body.signed-mode .sidebar{
    display:none!important;
  }
  body.signed-mode .main{
    width:100%!important;
    min-width:0!important;
    margin:0!important;
  }
  body.signed-mode .content{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    padding-bottom:calc(100px + env(safe-area-inset-bottom))!important;
  }
  body.signed-mode #mobile-nav.mobile-nav{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    position:fixed!important;
    left:50%!important;
    right:auto!important;
    bottom:max(10px,env(safe-area-inset-bottom))!important;
    transform:translateX(-50%)!important;
    width:min(calc(100vw - 28px),760px)!important;
    min-height:64px!important;
    height:auto!important;
    padding:6px!important;
    gap:4px!important;
    justify-content:stretch!important;
    border:1px solid rgba(207,218,223,.94)!important;
    border-radius:18px!important;
    background:rgba(250,252,252,.97)!important;
    -webkit-backdrop-filter:blur(22px) saturate(1.08)!important;
    backdrop-filter:blur(22px) saturate(1.08)!important;
    box-shadow:0 14px 36px rgba(14,35,52,.16),0 2px 7px rgba(14,35,52,.07)!important;
    z-index:999!important;
    overflow:visible!important;
    pointer-events:auto!important;
  }
  body.signed-mode #mobile-nav.mobile-nav:empty{
    display:flex!important;
  }
  body.signed-mode #mobile-nav.mobile-nav button{
    flex:1 1 0!important;
    min-width:0!important;
    max-width:none!important;
    min-height:50px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:3px!important;
    padding:5px 4px!important;
    border:0!important;
    border-radius:12px!important;
    background:transparent!important;
    color:#758894!important;
    font-size:9px!important;
    font-weight:850!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  body.signed-mode #mobile-nav.mobile-nav button svg{
    width:20px!important;
    height:20px!important;
    flex:0 0 20px!important;
  }
  body.signed-mode #mobile-nav.mobile-nav button.active{
    background:#eef4f5!important;
    color:#173f58!important;
  }
}

/* Landscape tablets return to full sidebar when there is genuine room. */
@media (orientation:landscape) and (min-width:901px) and (min-height:601px){
  body.signed-mode #mobile-nav.mobile-nav{display:none!important}
  body.signed-mode .sidebar{display:flex!important}
}
