/* Money Flow V1.5 — lightweight native-style navigation.
   Main menu shows ONLY a vertical list. Detail pages open separately. */
.site-drawer{
  width:min(380px,92vw);
  padding:21px 22px 26px;
  background:#f9f0e1;
  border-left:1px solid #c7a579;
  box-shadow:-12px 0 34px rgba(28,21,17,.27);
  color:#493a30;
}
.site-drawer [hidden]{display:none!important}
.drawer-shade{
  background:rgba(24,20,17,.44);
  backdrop-filter:blur(2px);
}
.drawer-top{
  padding:0 0 17px;
  border-bottom:1px solid #d6c3a9;
  gap:11px;
}
.drawer-top>img{width:40px;height:40px;flex:0 0 40px}
.drawer-top strong{
  font:italic 600 22px/1.12 Georgia,"Times New Roman",serif;
  color:#543a29;
}
.drawer-top small{
  font:500 9px/1.3 system-ui,sans-serif;
  color:#a1815d;
  letter-spacing:.12em;
  margin-top:5px;
}
.drawer-close{
  width:35px;height:35px;flex:none;
  border:0;border-radius:50%;
  background:transparent;color:#7f6447;
  font-size:29px;line-height:1;
}
.drawer-close:hover{background:#eee1cf}
.drawer-menu-view{padding:16px 0 12px}
.drawer-menu{
  display:flex;
  flex-direction:column;
  gap:0;
  margin:0;
}
.drawer-menu button,
.drawer-menu button.selected{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  min-height:57px;
  text-align:left;
  background:transparent;
  border:0;
  border-bottom:1px solid #decbb2;
  border-radius:0;
  padding:14px 5px 14px 2px;
  color:#564335;
  font:500 16px/1.35 system-ui,-apple-system,"Segoe UI",sans-serif;
  box-shadow:none;
  cursor:pointer;
  transition:background .14s ease;
}
.drawer-menu button::after{
  content:"›";
  color:#ac906d;
  font:400 28px/1 Arial,sans-serif;
  margin:0 3px 0 10px;
}
.drawer-menu button:focus-visible,
.drawer-menu button:hover{background:#f2e7d5}
.drawer-detail-view{padding-top:16px}
.drawer-back{
  display:inline-flex;
  align-items:center;
  gap:7px;
  border:0;
  background:transparent;
  padding:8px 8px 8px 0;
  color:#927047;
  font:500 14px system-ui,-apple-system,"Segoe UI",sans-serif;
  cursor:pointer;
  min-height:43px;
  margin:0 0 14px;
}
.drawer-back span{
  font-size:29px;
  line-height:.6;
  transform:translateY(-1px);
}
.drawer-back:hover{color:#4e3b2e}
.drawer-panel{
  min-height:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.drawer-panel h2{
  margin:0 0 18px;
  color:#4e3829;
  font:italic 600 27px/1.15 Georgia,serif;
}
.drawer-panel p{
  color:#6d5844;
  font:15px/1.55 Georgia,serif;
}
.drawer-panel .drawer-muted{color:#957b61}
.drawer-bottom{
  color:#ad9577;
  padding:22px 0 8px;
  font:11px/1.3 system-ui,sans-serif;
  text-align:center;
}
.auth-switch{gap:0;margin:0 0 20px;border-bottom:1px solid #d7c3a6}
.auth-switch button,
.auth-switch button.active{
  flex:1;border:0;border-bottom:2px solid transparent;
  border-radius:0;background:transparent;color:#91785c;
  font:500 15px/1.3 system-ui,sans-serif;
  box-shadow:none;min-height:47px;
}
.auth-switch button.active{border-bottom-color:#b98a51;color:#4a3627;font-weight:650}
.account-form label{margin:14px 0;font:550 13px/1.3 system-ui,sans-serif;color:#5d493b}
.account-form input{
  width:100%;
  min-height:46px;
  margin-top:7px;
  border:1px solid #d1bc9e;
  border-radius:10px;
  background:#fffaf3;
  padding:11px 12px;
  font:15px/1.25 system-ui,sans-serif;
}
.drawer-primary,.drawer-secondary,.provider-button{
  min-height:46px;
  border-radius:10px;
  font:600 14px/1.2 system-ui,sans-serif;
}
.drawer-primary{
  margin-top:6px;
  background:#513c31;
  border:1px solid #513c31;
  color:#fff1d7;
}
.provider-button{
  background:#fffaf1;border:1px solid #d9c7ab;color:#5f4a3a;
}
.provider-sep{margin:21px 0 11px}
.contact-link{font:14px/1.3 system-ui,sans-serif}
@media(max-width:500px){
  .site-drawer{width:min(370px,93vw);padding:18px 17px 25px}
  .drawer-panel{padding:0}
  .drawer-menu button{font-size:16px;padding:14px 2px;min-height:59px}
  .drawer-top strong{font-size:21px}
}
@media(prefers-reduced-motion:reduce){
  .drawer-menu button{transition:none}
}
