/* PATCH 207 — menu mobile Faith App conforme mockup moderno */
.tb-app-drawer{
  background:rgba(3,14,28,.58)!important;
  backdrop-filter:blur(8px)!important;
  -webkit-backdrop-filter:blur(8px)!important;
}
.tb-app-drawer-panel{
  width:min(88vw,430px)!important;
  height:100dvh!important;
  grid-template-rows:auto 1fr auto!important;
  background:linear-gradient(180deg,#0a2948 0,#123f63 31%,#f7f9fb 31%,#f7f9fb 100%)!important;
  border-right:1px solid rgba(255,255,255,.15)!important;
  box-shadow:28px 0 70px rgba(0,0,0,.34)!important;
}
.tb-app-drawer-head.tb-app-drawer-head-simple{
  min-height:252px!important;
  padding:calc(22px + env(safe-area-inset-top)) 20px 22px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 48px!important;
  gap:14px!important;
  align-items:start!important;
  background:
    radial-gradient(circle at 76% 26%,rgba(64,161,217,.24),transparent 34%),
    linear-gradient(145deg,#0a2948 0%,#164c73 100%)!important;
}
.tb-app-drawer-title{min-width:0!important}
.tb-app-drawer-logo{
  display:block!important;
  width:min(245px,72vw)!important;
  max-width:100%!important;
  height:auto!important;
  object-fit:contain!important;
  object-position:left center!important;
  margin:2px 0 28px!important;
}
.tb-app-drawer-title small{
  color:#a9bfd3!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:.045em!important;
  text-transform:uppercase!important;
}
.tb-app-drawer-title strong{
  margin-top:10px!important;
  color:#fff!important;
  font-size:28px!important;
  line-height:1.05!important;
  font-weight:950!important;
  letter-spacing:-.025em!important;
}
.tb-app-drawer-close{
  width:48px!important;
  height:48px!important;
  border-radius:16px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  background:rgba(255,255,255,.13)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;
  font-size:32px!important;
  font-weight:400!important;
}
.tb-app-drawer-scroll{
  padding:18px 18px 18px!important;
  background:#f7f9fb!important;
}
.tb-app-drawer-home,
.tb-app-drawer-section summary{
  min-height:92px!important;
  display:grid!important;
  grid-template-columns:76px minmax(0,1fr) 28px!important;
  gap:14px!important;
  align-items:center!important;
  margin:0 0 14px!important;
  padding:10px 16px!important;
  border:1px solid #e4e9ee!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,#fff,#fdfefe)!important;
  color:#102844!important;
  box-shadow:0 9px 21px rgba(12,45,72,.09)!important;
}
.tb-app-drawer-home:hover,.tb-app-drawer-section summary:hover{transform:none!important}
.tb-app-drawer-home .ico,
.tb-app-drawer-section summary>.ico{
  width:64px!important;
  height:64px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:18px!important;
  font-size:0!important;
  border:0!important;
  box-shadow:none!important;
}
.tb-app-drawer-home .ico{background:#eef6ff!important;color:#1473df!important}
.tb-app-drawer-section:nth-of-type(1) summary>.ico{background:#f1f3f5!important;color:#66727d!important}
.tb-app-drawer-section:nth-of-type(2) summary>.ico{background:#eef9e9!important;color:#5aa919!important}
.tb-app-drawer-section:nth-of-type(3) summary>.ico{background:#fff8df!important;color:#f1ad00!important}
.tb-app-drawer-section:nth-of-type(4) summary>.ico{background:#fff3df!important;color:#e98b00!important}
.tb-app-drawer-section:nth-of-type(5) summary>.ico{background:#f2ecff!important;color:#6f43cf!important}
.tb-app-drawer-home .ico svg,
.tb-app-drawer-section summary>.ico svg{
  width:34px!important;height:34px!important;
  fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;
  stroke-linecap:round!important;stroke-linejoin:round!important
}
.tb-app-drawer-home strong,
.tb-app-drawer-section summary strong{
  color:#0e2743!important;
  font-size:19px!important;
  line-height:1.16!important;
  font-weight:900!important;
  letter-spacing:-.018em!important;
}
.tb-app-drawer-home>b,
.tb-app-drawer-section summary>b{
  color:#d39a0b!important;
  font-size:31px!important;
  line-height:1!important;
  font-weight:500!important;
  transform:none!important;
}
.tb-app-drawer-section[open] summary{
  background:#fff!important;
  color:#102844!important;
  border-color:#e4e9ee!important;
  box-shadow:0 10px 24px rgba(12,45,72,.11)!important;
}
.tb-app-drawer-section[open] summary>b{transform:rotate(90deg)!important}
.tb-app-drawer-items{
  margin:-5px 8px 15px!important;
  padding:8px 12px 10px 82px!important;
  border-left:2px solid #e4ebf1!important;
}
.tb-app-drawer-items a{
  min-height:42px!important;
  padding:10px 12px!important;
  border-radius:12px!important;
  color:#40566b!important;
  font-size:15px!important;
  line-height:1.25!important;
  font-weight:700!important;
}
.tb-app-drawer-items a.active{
  background:#eaf4ff!important;
  color:#0b65bb!important;
  font-weight:900!important;
}
.tb-app-drawer-items a:after{color:#d4a22a!important}
.tb-app-drawer-foot{
  padding:14px 22px calc(18px + env(safe-area-inset-bottom))!important;
  background:#f7f9fb!important;
  border-top:0!important;
}
.tb-app-drawer-foot-brand{
  min-height:62px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:18px!important;
  border-top:1px solid #dce5ec!important;
  padding-top:13px!important;
  color:#0d2945!important;
  font-size:17px!important;
  font-weight:900!important;
  letter-spacing:.01em!important;
}
.tb-app-drawer-foot-brand svg{
  width:31px!important;height:31px!important;
  fill:none!important;stroke:#0e6bad!important;stroke-width:1.8!important;
  stroke-linecap:round!important;stroke-linejoin:round!important
}
.tb-app-drawer-foot-brand .dots{color:#1376c7!important;letter-spacing:.22em!important;margin:0 2px!important}
@media(max-width:390px){
  .tb-app-drawer-panel{width:min(89vw,360px)!important}
  .tb-app-drawer-head.tb-app-drawer-head-simple{min-height:220px!important;padding-left:16px!important;padding-right:14px!important}
  .tb-app-drawer-logo{width:min(205px,67vw)!important;margin-bottom:23px!important}
  .tb-app-drawer-title small{font-size:11px!important}
  .tb-app-drawer-title strong{font-size:24px!important}
  .tb-app-drawer-close{width:43px!important;height:43px!important;border-radius:14px!important;font-size:28px!important}
  .tb-app-drawer-scroll{padding:14px 12px!important}
  .tb-app-drawer-home,.tb-app-drawer-section summary{min-height:76px!important;grid-template-columns:58px minmax(0,1fr) 22px!important;gap:11px!important;padding:8px 11px!important;border-radius:18px!important;margin-bottom:11px!important}
  .tb-app-drawer-home .ico,.tb-app-drawer-section summary>.ico{width:50px!important;height:50px!important;border-radius:14px!important}
  .tb-app-drawer-home .ico svg,.tb-app-drawer-section summary>.ico svg{width:27px!important;height:27px!important}
  .tb-app-drawer-home strong,.tb-app-drawer-section summary strong{font-size:15px!important}
  .tb-app-drawer-home>b,.tb-app-drawer-section summary>b{font-size:25px!important}
  .tb-app-drawer-items{padding-left:63px!important}
  .tb-app-drawer-items a{font-size:13px!important}
  .tb-app-drawer-foot-brand{font-size:14px!important;gap:11px!important}
}
