:root{
  --cf-r6-nav-h:78px;
  --cf-r6-sidebar-w:248px;
  --cf-r6-shell-gap:12px;
  --cf-r6-radius-sm:12px;
  --cf-r6-radius-md:16px;
  --cf-r6-radius-lg:22px;
  --cf-r6-tap:44px;
}
.app-shell{
  min-height:100dvh;
}
.app-shell .sidebar{
  width:var(--cf-r6-sidebar-w);
  border-right:1px solid rgba(214,163,94,.12);
}
.cf-r6-primary-nav{
  display:grid;
  gap:6px;
  margin:12px 0 14px;
  padding:0;
}
.cf-r6-nav-item{
  min-height:var(--cf-r6-tap);
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  padding:0 13px;
  border:1px solid transparent;
  border-radius:var(--cf-r6-radius-md);
  background:transparent;
  color:var(--muted,#b5a89d);
  font:600 13px/1 Roboto,system-ui,-apple-system,"Segoe UI",sans-serif;
  text-decoration:none;
  cursor:pointer;
  touch-action:manipulation;
  transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease;
}
.cf-r6-nav-item:hover,
.cf-r6-nav-item:focus-visible{
  color:var(--text,#f3ede6);
  background:rgba(214,163,94,.07);
  border-color:rgba(214,163,94,.13);
}
.cf-r6-nav-item:focus-visible{
  outline:2px solid rgba(239,122,79,.72);
  outline-offset:2px;
}
.cf-r6-nav-item[aria-current="page"]{
  color:var(--text,#f3ede6);
  background:linear-gradient(135deg,rgba(163,49,46,.68),rgba(163,49,46,.26));
  border-color:rgba(239,122,79,.24);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
.cf-r6-nav-item svg{
  width:20px;
  height:20px;
  flex:0 0 20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.cf-r6-primary-label{
  margin:14px 0 2px;
  padding:0 6px;
  color:var(--muted-2,#8f8379);
  font:700 10px/1.2 Roboto,system-ui,-apple-system,"Segoe UI",sans-serif;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.app-shell .sidebar-search-shell{
  margin-top:2px;
}
.app-shell .sidebar-bottom{
  padding-top:10px;
  border-top:1px solid rgba(214,163,94,.09);
}
.app-shell #openAboutBtn,
.app-shell #openEarnBtn,
.app-shell .sidebar-bottom>a[href="/offers.html"],
.app-shell #openWalletBtn{
  display:none!important;
}
.app-shell .sidebar-bottom .sidebar-link{
  min-height:40px;
  opacity:.86;
}
.app-shell .brand-rail-subtitle,
.app-shell .brand-subtitle{
  letter-spacing:.01em;
}
.app-shell .topbar{
  min-height:64px;
}
.app-shell .connection-chip{
  min-height:34px;
}
.app-shell .welcome-panel.empty-state-panel{
  min-height:calc(100dvh - 180px);
}
.app-shell .chat-empty-center.quiet-home-v2{
  width:min(640px,100%);
}
.app-shell .chat-empty-undertext{
  color:var(--muted,#b5a89d);
}
.app-shell .quiet-start-panel{
  width:min(520px,100%);
}
.cf-r6-mobile-nav{
  display:none;
}
@media (max-width:760px){:root{
    --cf-r6-nav-h:78px;
  }
.app-shell{
    min-height:100dvh!important;
    padding-bottom:calc(var(--cf-r6-nav-h) + env(safe-area-inset-bottom,0px));
  }
.app-shell .main-panel{
    min-height:100dvh!important;
    padding-bottom:0!important;
  }
.cf-r6-primary-nav,
  .cf-r6-primary-label{
    display:none!important;
  }
.cf-r6-mobile-nav{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:86;
    min-height:var(--cf-r6-nav-h);
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    align-items:start;
    gap:2px;
    padding:6px 6px calc(6px + env(safe-area-inset-bottom,0px));
    border-top:1px solid rgba(214,163,94,.14);
    background:linear-gradient(180deg,rgba(18,10,11,.975),rgba(9,6,7,.995));
    box-shadow:0 -16px 38px rgba(0,0,0,.28);
    -webkit-backdrop-filter:blur(18px);
    backdrop-filter:blur(18px);
  }
.cf-r6-mobile-nav .cf-r6-nav-item{
    min-width:0;
    min-height:64px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:5px;
    padding:6px 2px;
    border-radius:14px;
    font-size:10.5px;
    line-height:1.05;
    text-align:center;
  }
.cf-r6-mobile-nav .cf-r6-nav-item svg{
    width:21px;
    height:21px;
    flex-basis:21px;
  }
.app-shell .composer-shell{
    bottom:calc(var(--cf-r6-nav-h) + env(safe-area-inset-bottom,0px))!important;
    padding-bottom:10px!important;
  }
.app-shell .messages{
    padding-bottom:16px;
  }
.app-shell .welcome-panel.empty-state-panel{
    min-height:calc(100dvh - 64px - var(--cf-r6-nav-h) - env(safe-area-inset-bottom,0px));
    padding-bottom:18px!important;
  }
.app-shell .topbar{
    min-height:60px;
  }
.app-shell .topbar-right #openSettingsBtnTop{
    display:none!important;
  }
body.cf-auth-pending .cf-r6-mobile-nav,
  body.cf-auth-locked .cf-r6-mobile-nav{
    display:none!important;
  }}
@media (min-width:761px){.app-shell{
    grid-template-columns:var(--cf-r6-sidebar-w) minmax(0,1fr);
  }
.app-shell .sidebar .mobile-only{
    display:none!important;
  }}
@media (prefers-reduced-motion:reduce){.cf-r6-nav-item{transition:none!important}}