/* TenantPeach resident dashboard cleanup 2026-11-11.
   Presentation only. No modification to payment calculations, permissions or events. */
body.tp-resident-mode .p6-app{
  --p6-ink:#193e3d;
  --p6-line:#e0eae5;
  background:#f6f8f7;
  font-size:14px;
}
body.tp-resident-mode .p6-app .p6-page{background:#f6f8f7}
body.tp-resident-mode .p6-app .p6-sidebar{
  width:auto;
  padding:21px 13px 16px;
  background:#153b3a;
}
body.tp-resident-mode .p6-app{
  grid-template-columns:234px minmax(0,1fr);
}
body.tp-resident-mode .p6-app .p6-brand{
  padding:5px 10px 23px;
  gap:10px;
}
body.tp-resident-mode .p6-app .p6-brand strong{font-size:20px}
body.tp-resident-mode .p6-app .p6-sidebar-accent{display:none}
body.tp-resident-mode .p6-app .p6-nav-label{
  padding:0 13px;
  margin:16px 0 5px!important;
  font-size:10px;
  letter-spacing:.11em;
}
body.tp-resident-mode .p6-app .p6-nav-group2{margin-top:20px!important}
body.tp-resident-mode .p6-app .p6-nav{gap:3px}
body.tp-resident-mode .p6-app .p6-nav-link{
  padding:10px 12px;
  min-height:43px;
  gap:11px;
  border-radius:10px;
  font-size:13px;
  transition:background .15s ease,color .15s ease;
}
body.tp-resident-mode .p6-app .p6-nav-link:hover{transform:none}
body.tp-resident-mode .p6-app .p6-sidebar-bottom{display:none}
body.tp-resident-mode .p6-app .p6-sidebar-foot{margin-top:auto;padding:17px 11px 0;line-height:1.45}
body.tp-resident-mode .p6-app .p6-top{
  min-height:66px;
  height:auto;
  padding:12px clamp(16px,3vw,35px);
  gap:12px;
  box-shadow:none;
}
body.tp-resident-mode .p6-app .p6-breadcrumb{font-size:12px}
body.tp-resident-mode .p6-app .p6-content{
  width:100%;
  max-width:1200px;
  padding:24px clamp(16px,3vw,35px) 45px;
  margin:0 auto;
}
body.tp-resident-mode .p6-app .p6-top-eyebrow{margin-bottom:12px}
body.tp-resident-mode .p6-app .p6-tour-trigger{min-height:36px}
body.tp-resident-mode .p6-app .p6-card{
  border:1px solid #e1e9e5;
  border-radius:15px;
  box-shadow:0 3px 14px rgba(14,51,42,.035);
}
body.tp-resident-mode .p6-app .p6-card-head{gap:12px}
body.tp-resident-mode .p6-app .tp-resident-greeting{margin:0 0 14px}
body.tp-resident-mode .p6-app .tp-resident-greeting h1{
  font-size:clamp(25px,2.65vw,34px);
  margin:3px 0 4px;
  line-height:1.15;
}
body.tp-resident-mode .p6-app .tp-resident-greeting p{font-size:13px;line-height:1.5}
body.tp-resident-mode .p6-app[data-resident-section="overview"] .p6-content{
  display:flex;
  flex-direction:column;
  align-items:stretch;
}
body.tp-resident-mode .p6-app[data-resident-section="overview"] .tp-resident-greeting{order:-3}
body.tp-resident-mode .p6-app[data-resident-section="overview"] .tp-resident-priority{order:-2}
body.tp-resident-mode .p6-app[data-resident-section="overview"] .tp-resident-property-hero{order:-1}
body.tp-resident-mode .p6-app .tp-resident-priority{
  margin:0 0 13px;
  border-radius:16px;
  box-shadow:0 5px 20px rgba(17,63,51,.045);
}
body.tp-resident-mode .p6-app .tp-resident-priority-main{padding:19px 22px;gap:14px}
body.tp-resident-mode .p6-app .tp-resident-priority-amount{
  font-size:clamp(30px,3.1vw,41px);
  margin:3px 0;
}
body.tp-resident-mode .p6-app .tp-resident-priority-due{margin-top:7px}
body.tp-resident-mode .p6-app .tp-resident-primary-action{
  min-height:47px;
  border-radius:10px;
  padding:11px 16px;
}
body.tp-resident-mode .p6-app .tp-resident-priority-shortcuts a{
  padding:11px 15px;
  min-height:47px;
  line-height:1.4;
}
body.tp-resident-mode .p6-app .tp-resident-property-hero{
  min-height:0;
  margin:0 0 14px;
  border-radius:15px;
  background:linear-gradient(115deg,#194a46,#286b59);
  box-shadow:0 6px 16px rgba(17,57,48,.085);
}
body.tp-resident-mode .p6-app .tp-resident-property-hero .p6-hero-copy{
  min-height:0;
  padding:16px 22px;
  max-width:none;
}
body.tp-resident-mode .p6-app .tp-resident-property-hero h2{
  font-size:clamp(20px,2vw,25px);
  margin:5px 0;
}
body.tp-resident-mode .p6-app .tp-resident-property-hero .p6-hero-badge{
  letter-spacing:.07em;
  font-size:10px;
}
body.tp-resident-mode .p6-app .tp-resident-hero-bottom{margin-top:9px}
body.tp-resident-mode .p6-app .tp-resident-hero-shape{opacity:.45}
body.tp-resident-mode .p6-app .tp-resident-overview-stats{margin:0 0 15px;gap:12px}
body.tp-resident-mode .p6-app .tp-resident-overview-stats a{
  min-height:74px;
  border:1px solid #e0eae5;
  border-radius:13px;
  box-shadow:none;
}
body.tp-resident-mode .p6-app .tp-resident-overview-lower{margin-top:0}
body.tp-resident-mode .p6-app .tp-resident-team-card{min-height:0}
body.tp-resident-mode .p6-app .tp-resident-essentials-heading{margin-top:21px}
body.tp-resident-mode .p6-app .tp-resident-essentials-heading h2{font-size:19px}
body.tp-resident-mode .p6-app .p6-payment-hero{border-radius:15px}
body.tp-resident-mode .p6-app .p6-btn,
body.tp-resident-mode .p6-app .p6-submit,
body.tp-resident-mode .p6-app button{touch-action:manipulation}
body.tp-resident-mode .p6-app .p6-footer{padding-top:16px}
@media(max-width:1080px){
  body.tp-resident-mode .p6-app{grid-template-columns:214px minmax(0,1fr)}
  body.tp-resident-mode .p6-app .p6-content{padding-left:23px;padding-right:23px}
}
@media(max-width:780px){
  body.tp-resident-mode .p6-app{display:block}
  body.tp-resident-mode .p6-app .p6-sidebar{
    width:min(290px,84vw);
    padding:18px 14px;
    height:100dvh;
  }
  body.tp-resident-mode .p6-app .p6-top{
    min-height:62px;
    height:auto;
    padding:9px 14px;
  }
  body.tp-resident-mode .p6-app .p6-content{
    padding:17px 16px calc(112px + env(safe-area-inset-bottom,0px));
  }
  body.tp-resident-mode .p6-app .tp-resident-greeting{margin-bottom:11px}
  body.tp-resident-mode .p6-app .tp-resident-property-hero .p6-hero-copy{
    padding:15px 18px;
  }
  body.tp-resident-mode .p6-app .tp-resident-priority-main{padding:17px 18px}
  body.tp-resident-mode .p6-app .tp-resident-mobile-dock{
    min-height:66px;
    padding-bottom:calc(8px + env(safe-area-inset-bottom,0px));
    background:rgba(255,255,255,.98);
  }
  body.tp-resident-mode .p6-app .tp-resident-mobile-dock a{
    min-height:51px;
    font-size:11px;
  }
}
@media(max-width:580px){
  body.tp-resident-mode .p6-app .p6-content{padding-left:13px;padding-right:13px}
  body.tp-resident-mode .p6-app .tp-resident-greeting h1{font-size:27px}
  body.tp-resident-mode .p6-app .tp-resident-priority-main{gap:13px}
  body.tp-resident-mode .p6-app .tp-resident-primary-action{width:100%}
  body.tp-resident-mode .p6-app .tp-resident-priority-shortcuts{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  body.tp-resident-mode .p6-app .tp-resident-priority-shortcuts a{
    min-height:68px;
    padding:10px 7px;
    flex-direction:column;
    text-align:center;
    justify-content:center;
    gap:4px;
    font-size:10.5px;
    border-right:1px solid #e8efeb;
    border-bottom:0;
  }
  body.tp-resident-mode .p6-app .tp-resident-priority-shortcuts a:last-child{border-right:0}
  body.tp-resident-mode .p6-app .tp-resident-priority-shortcuts a svg:last-child{display:none}
  body.tp-resident-mode .p6-app .tp-resident-overview-stats a{min-height:75px}
  body.tp-resident-mode .p6-app .tp-resident-overview-stats small{font-size:11px}
  body.tp-resident-mode .p6-app .tp-resident-team-card{min-height:0}
}
@media(max-width:390px){
  body.tp-resident-mode .p6-app .tp-resident-priority-shortcuts{grid-template-columns:1fr}
  body.tp-resident-mode .p6-app .tp-resident-priority-shortcuts a{
    flex-direction:row;justify-content:flex-start;text-align:left;
    min-height:43px;padding:9px 13px;border-right:0;
    border-bottom:1px solid #e8efeb;
  }
  body.tp-resident-mode .p6-app .tp-resident-priority-shortcuts a:last-child{border-bottom:0}
}
@media(prefers-reduced-motion:reduce){
  body.tp-resident-mode .p6-app .p6-nav-link,
  body.tp-resident-mode .p6-app .tp-resident-primary-action{transition:none}
}