/* TenantPeach Resident Experience -- polished commercial UI, November 2026.
   Presentation only: no payment, identity, balance or authorization override. */
.p6-app{--tp-accent:#1a6758;--tp-deep:#173b3a;--tp-line:#e3ece7;--tp-surface:#f7faf8;--tp-peach:#d69a7d;font-size:14px}
.p6-app .p6-content{max-width:1280px;padding-top:28px}
.p6-app .p6-card{border:1px solid var(--tp-line);box-shadow:0 7px 26px rgba(21,62,53,.045);border-radius:18px}
.p6-app a:focus-visible,.p6-app button:focus-visible,.p6-app input:focus-visible,.p6-app select:focus-visible,.p6-app textarea:focus-visible,.p6-app summary:focus-visible{outline:3px solid #4b927e;outline-offset:3px}
.tp-resident-greeting{margin-bottom:17px}
.tp-resident-greeting h1{font-size:clamp(30px,3vw,42px);margin:7px 0 4px;letter-spacing:-.045em}
.tp-resident-greeting p{font-size:13px;color:#627d7c}
.p6-app .tp-resident-property-hero{display:block;min-height:178px;border-radius:19px;background:linear-gradient(118deg,#123d3d 0%,#226357 65%,#327d6b 100%);box-shadow:0 14px 32px rgba(21,70,58,.15);overflow:hidden}
.tp-resident-property-hero .p6-hero-copy{min-height:180px;max-width:780px;padding:24px 29px 23px}
.tp-resident-property-hero .p6-hero h2,.p6-app .tp-resident-property-hero h2{font-size:clamp(23px,2.5vw,33px);max-width:700px;line-height:1.2;margin:11px 0 8px;font-weight:710}
.tp-resident-property-hero .p6-hero-badge{font-size:10px;letter-spacing:.11em}
.tp-resident-property-hero .p6-hero-copy>p{margin:0;max-width:620px}
.tp-resident-hero-shape{position:absolute;right:0;top:0;bottom:0;width:31%;pointer-events:none;overflow:hidden}
.tp-resident-hero-shape:before{content:"";position:absolute;inset:auto -70px -125px auto;width:380px;height:380px;border-radius:50%;border:1px solid rgba(255,255,255,.21)}
.tp-resident-hero-shape:after{content:"";position:absolute;inset:auto -22px -73px auto;width:250px;height:250px;border-radius:50%;border:1px solid rgba(255,255,255,.28)}
.tp-resident-hero-shape i{position:absolute;display:block;width:1px;height:110%;background:rgba(255,255,255,.1);transform:rotate(37deg);top:-20%;right:25%}
.tp-resident-hero-shape i:nth-child(2){right:50%}.tp-resident-hero-shape i:nth-child(3){right:75%}
.tp-resident-hero-bottom{display:flex;gap:23px;align-items:center;flex-wrap:wrap;margin-top:17px}
.tp-resident-hero-bottom span,.tp-resident-hero-bottom a{display:inline-flex;gap:7px;align-items:center;font-size:11px;color:#d8ebe1;font-weight:640}
.tp-resident-hero-bottom a{background:#fff;color:#21594f;border-radius:10px;padding:9px 13px;text-decoration:none;font-weight:790;transition:transform .15s,background .15s}
.tp-resident-hero-bottom a:hover{background:#f3fbf6;transform:translateY(-1px)}
.tp-resident-priority{margin-top:19px;border:1px solid #d8e7df;border-radius:19px;background:white;box-shadow:0 9px 24px rgba(22,62,54,.05);overflow:hidden}
.tp-resident-priority-main{padding:25px 29px;display:flex;align-items:center;justify-content:space-between;gap:22px}
.tp-resident-priority-main>div{min-width:0}
.tp-resident-eyebrow{display:block;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.085em;color:#5c8077}
.tp-resident-priority-amount{display:block;font-size:clamp(31px,3vw,43px);font-weight:840;color:#163d3c;letter-spacing:-.045em;line-height:1.15;margin:8px 0 5px;font-variant-numeric:tabular-nums}
.tp-resident-priority-main p{font-size:12px;color:#6d8180;margin:0}
.tp-resident-priority-due{display:inline-flex;align-items:center;gap:6px;margin-top:12px;font-size:11px;font-weight:710;color:#9c654b}
.tp-resident-primary-action{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 18px;border-radius:12px;background:#1f6757;color:white!important;font-size:13px;font-weight:800;white-space:nowrap;text-decoration:none;min-height:48px;transition:background .15s,transform .15s}
.tp-resident-primary-action:hover{background:#164e43;transform:translateY(-1px)}
.tp-resident-priority-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid #e8efeb;background:#fafcfb}
.tp-resident-priority-shortcuts a{min-width:0;display:flex;align-items:center;gap:9px;padding:16px 20px;color:#235d54;text-decoration:none;font-size:12px;font-weight:730;border-right:1px solid #e8efeb;min-height:54px}
.tp-resident-priority-shortcuts a:last-child{border-right:0}
.tp-resident-priority-shortcuts a svg:last-child{margin-left:auto;color:#8baaa1}
.tp-resident-priority-shortcuts a:hover{background:#edf7f2}
.tp-resident-overview-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:17px 0 20px}
.tp-resident-overview-stats a{display:flex;align-items:center;gap:13px;text-decoration:none;background:white;border:1px solid #e4ede7;border-radius:14px;padding:16px 18px;color:#244f4d}
.tp-resident-overview-stats a:hover{border-color:#96c4b6}
.tp-resident-stat-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#ecf5ee;color:#1e745c;flex-shrink:0}
.tp-resident-overview-stats b{display:block;font-size:21px;line-height:1.15;font-variant-numeric:tabular-nums}
.tp-resident-overview-stats small{display:block;color:#6b8284;font-size:11px;margin-top:3px}
.tp-resident-overview-stats a>svg:last-child{margin-left:auto;color:#8aa4a0}
.tp-resident-overview-lower{margin-top:21px}
.tp-resident-overview-lower .p6-activity,.tp-resident-overview-lower .p6-contact-card{min-height:270px}
.tp-resident-team-card{background:#fbfdfb!important;border:1px solid #e2ece5!important}
.tp-resident-team-card h3{font-size:22px!important}
.tp-resident-team-card .p6-contact-flourish{display:none}
.tp-resident-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:33px 14px 26px;min-height:162px;color:#568679;gap:8px}
.tp-resident-empty-state strong{color:#325d56;font-size:13px}
.tp-resident-empty-state p{font-size:12px;color:#7c9590;max-width:330px;line-height:1.6}
.tp-resident-essentials-heading{display:flex;justify-content:space-between;align-items:end;gap:15px;margin-top:27px}
.tp-resident-essentials-heading h2{font-size:23px;line-height:1.3;margin:4px 0;color:#1b4443;letter-spacing:-.025em}
.tp-resident-essentials-heading a{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:730;color:#246857;text-decoration:none}
.p6-app .tp-resident-essentials-heading+.p6-hum-status-card{margin-top:13px!important;background:#fff!important;border-color:#e3ece6!important;box-shadow:none!important}
.tp-resident-essentials-heading+.p6-hum-status-card .p6-hum-status-body h3{font-size:18px}
.p6-app .tp-resident-payment-hero{margin-top:12px;border-radius:18px;background:linear-gradient(116deg,#1a4545,#247261);box-shadow:0 15px 30px rgba(25,73,61,.1)}
.tp-resident-payment-hero>div:first-child>strong{font-weight:810;font-variant-numeric:tabular-nums}
.tp-resident-checkout-intro{justify-content:center;gap:11px}
.tp-resident-checkout-intro p{font-size:12px;line-height:1.65;color:#eff8f4}
.tp-resident-checkout-intro a{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:760;text-decoration:none;color:#fff;border:1px solid #ffffff66;border-radius:11px;padding:10px 12px}
.tp-resident-checkout-intro a:hover{background:#ffffff16}
.tp-resident-payment-workspace{display:grid;gap:10px;margin-bottom:14px}
.tp-resident-payment-workspace:empty{display:none}
.tp-resident-terms{border:1px solid #e2ebe5;border-radius:14px;background:#fff;margin-top:22px;padding:0 18px}
.tp-resident-terms summary{display:flex;align-items:center;gap:10px;min-height:52px;color:#2e6157;font-size:12px;font-weight:780;cursor:pointer;list-style:none}
.tp-resident-terms summary::-webkit-details-marker{display:none}
.tp-resident-terms summary svg:last-child{margin-left:auto}
.tp-resident-terms[open] summary svg:last-child{transform:rotate(90deg)}
.tp-resident-terms .p6-manager-refund-policy{box-shadow:none!important;border:none!important;border-top:1px solid #e2ebe5!important;margin:0!important;padding:18px 4px!important}
.tp-resident-security-caption{display:flex;align-items:center;gap:8px;font-size:11px;color:#7a918b;margin-top:18px}
.p6-app .p6-form input,.p6-app .p6-form textarea,.p6-app .p6-form select{min-height:44px;border-radius:10px}
.p6-app .p6-form textarea{min-height:130px}
.p6-app .p6-btn,.p6-app .p6-submit{min-height:44px}
.p6-app .p6-empty{padding:26px 18px}
.p6-app .p6-entry{gap:12px}
.tp-resident-mobile-dock{display:none}
@media(max-width:1050px){.p6-app .p6-content{padding-left:24px;padding-right:24px}.tp-resident-hero-shape{width:25%}}
@media(max-width:780px){
 .p6-app .p6-content{padding-bottom:calc(105px + env(safe-area-inset-bottom,0px))}
 .tp-resident-mobile-dock{display:grid;position:fixed;bottom:0;left:0;right:0;z-index:76;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:8px 9px calc(8px + env(safe-area-inset-bottom,0px));background:rgba(255,255,255,.97);border-top:1px solid #dce8e1;box-shadow:0 -7px 25px rgba(21,68,54,.11);backdrop-filter:blur(12px)}
 .tp-resident-mobile-dock a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:47px;border-radius:10px;color:#607e78;text-decoration:none;font-size:10px;font-weight:780}
 .tp-resident-mobile-dock a[aria-current="page"]{background:#eaf5ed;color:#17684f}
 .tp-resident-mobile-dock a:active{background:#e5f3eb}
 .tp-resident-priority-main{align-items:stretch;flex-direction:column;gap:16px}
 .tp-resident-primary-action{width:100%}
 .tp-resident-hero-shape{display:none}
 .p6-app .tp-resident-property-hero{min-height:0}
 .tp-resident-property-hero .p6-hero-copy{min-height:0;padding:23px 24px}
}
@media(max-width:580px){
 .p6-app .p6-content{padding-left:15px;padding-right:15px}
 .tp-resident-priority-main{padding:21px}
 .tp-resident-priority-shortcuts{grid-template-columns:1fr}
 .tp-resident-priority-shortcuts a{border-right:0;border-bottom:1px solid #e9f1eb;min-height:49px;padding:12px 19px}
 .tp-resident-priority-shortcuts a:last-child{border-bottom:0}
 .tp-resident-overview-stats{gap:10px}
 .tp-resident-overview-stats a{padding:12px 10px;gap:8px}
 .tp-resident-stat-icon{width:31px;height:31px}
 .tp-resident-overview-stats small{font-size:10px}
 .tp-resident-overview-stats a>svg:last-child{display:none}
 .tp-resident-essentials-heading{align-items:start;flex-direction:column;gap:7px}
 .p6-app .tp-resident-payment-hero{padding:22px}
 .tp-resident-payment-hero>div:first-child>strong{font-size:clamp(32px,7vw,43px)}
}
@media(prefers-reduced-motion:reduce){.tp-resident-primary-action,.tp-resident-hero-bottom a{transition:none}}

/* Production ready guidance and helpful, accessible empty states */
.tp-resident-assist-banner{display:flex;align-items:flex-start;gap:12px;margin:7px 0 17px;padding:16px 18px;background:#eff7f3;border:1px solid #d8e9df;border-radius:13px}
.tp-resident-assist-banner svg{flex-shrink:0;color:#26735a;margin-top:1px}
.tp-resident-assist-banner strong{display:block;font-size:13px;font-weight:800;color:#24574d}
.tp-resident-assist-banner p{margin:4px 0 0;color:#67807d;font-size:12px;line-height:1.65}
.tp-resident-assist-banner .tp-resident-assist-actions{display:flex;flex-wrap:wrap;gap:11px;margin-top:9px}
.tp-resident-assist-banner .tp-resident-assist-actions a{color:#22685c;font-weight:760;font-size:12px;text-decoration:underline;text-underline-offset:3px}
.tp-resident-help-panels{margin:16px 0}
.tp-resident-help-panels .p6-card{display:flex;flex-direction:column;gap:10px;min-height:248px}
.tp-resident-help-panels .p6-card h3{font-size:22px;color:#214743;letter-spacing:-.025em;margin:0}
.tp-resident-help-panels .p6-card>p{font-size:12px;color:#637f7c;line-height:1.7;max-width:470px}
.tp-resident-help-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:auto;padding-top:10px}
.tp-resident-help-actions .p6-btn{min-height:42px;text-decoration:none;gap:8px}
.tp-resident-help-contact{background:#f4faf7!important}
.tp-resident-faq{margin-top:19px}
.tp-resident-faq .p6-card-head{margin-bottom:11px}
.tp-resident-faq-item{border-top:1px solid #e6efeb}
.tp-resident-faq-item summary{display:flex;justify-content:space-between;align-items:center;gap:12px;list-style:none;cursor:pointer;padding:17px 1px;font-size:13px;font-weight:750;color:#2b5453}
.tp-resident-faq-item summary::-webkit-details-marker{display:none}
.tp-resident-faq-item summary svg{flex:0 0 17px;color:#6b978d}
.tp-resident-faq-item[open] summary svg{transform:rotate(90deg)}
.tp-resident-faq-item p{max-width:840px;color:#63817c;font-size:12px;line-height:1.75;margin:0 0 17px}
.tp-resident-help-signout{display:flex;justify-content:flex-end;margin-top:15px}
.tp-resident-insurance-disclaimer{display:flex;gap:9px;align-items:flex-start;background:#f7f9f7;border:1px solid #e2ece7;padding:13px 16px;border-radius:11px;color:#5e7774;font-size:12px;line-height:1.65;margin:13px 0 20px}
.tp-resident-insurance-disclaimer svg{flex-shrink:0;color:#417965}
@media(max-width:580px){.tp-resident-assist-banner{padding:13px 14px}.tp-resident-help-panels .p6-card{min-height:0}.tp-resident-faq-item summary{padding:15px 0}.tp-resident-help-actions .p6-btn{width:100%;justify-content:center}.tp-resident-help-signout .p6-btn{width:100%}}

/* Resident payment discovery -- clear actions; payment authorization remains server-side. */
.tp-resident-pay-entry{border:1px solid #d8e8de;background:linear-gradient(112deg,#f5faf7,#fff);border-radius:17px;margin:16px 0 14px;padding:21px 24px}
.tp-resident-pay-entry-top{display:flex;justify-content:space-between;gap:16px;align-items:center}
.tp-resident-pay-entry h3{font-size:23px;color:#1d4c42;line-height:1.2;letter-spacing:-.025em;margin:4px 0 6px}
.tp-resident-pay-entry p{margin:0;color:#63827d;font-size:12px;line-height:1.65;max-width:730px}
.tp-resident-pay-step-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:17px 0 0;padding:0;list-style:none}
.tp-resident-pay-step-list li{display:flex;gap:9px;align-items:center;padding:11px 12px;background:#fff;border:1px solid #e2ede6;border-radius:11px;color:#395e58;font-weight:720;font-size:12px}
.tp-resident-pay-step-list li span{flex:0 0 24px;height:24px;display:grid;place-items:center;background:#e6f3ec;color:#1b6755;border-radius:50%;font-size:11px;font-variant-numeric:tabular-nums}
.tp-resident-pay-preview{padding:19px 20px;border:1px solid #ebdbaf;border-radius:14px;background:#fffaee;color:#694f1a}
.tp-resident-pay-preview strong{display:block;color:#6b4d16;font-size:14px;margin:0 0 7px}
.tp-resident-pay-preview p{font-size:12px;margin:0;line-height:1.65}
.tp-resident-pay-loading{margin:0;padding:17px 20px;color:#5e7b73;font-size:12px;border-radius:13px;background:#f4f9f6;border:1px solid #e1ece5}
.p6-app .tp-resident-payment-workspace{scroll-margin-top:90px}
.tp-resident-pay-entry-note{display:inline-flex;align-items:center;gap:7px;border:1px solid #d1e6db;border-radius:99px;padding:7px 11px;font-size:10px;font-weight:750;color:#27715c;background:#eaf5ee;white-space:nowrap}
@media(max-width:720px){.tp-resident-pay-entry{padding:17px 16px}.tp-resident-pay-entry-top{align-items:flex-start;flex-direction:column;gap:10px}.tp-resident-pay-step-list{grid-template-columns:1fr;gap:7px}.tp-resident-pay-step-list li{padding:9px 11px}.tp-resident-pay-entry h3{font-size:21px}}

/* TP resident payment terms consent - required for verified hosted rent checkout */
.tp-rent-disclosure{background:#f4f9f6;border:1px solid #cfe6da;border-radius:13px;padding:15px 16px;margin:13px 0 15px}
.tp-rent-disclosure>strong{display:block;font-size:12px;color:#23594c;font-weight:820}
.tp-rent-disclosure p{font-size:11px;line-height:1.7;color:#4f756c;margin:7px 0 0}
.tp-rent-disclosure label{display:flex;align-items:flex-start;gap:10px;cursor:pointer;border-top:1px solid #dfeee6;padding-top:13px;margin-top:12px;font-size:12px;line-height:1.6;color:#214e46;font-weight:700}
.tp-rent-disclosure input[type=checkbox]{appearance:auto!important;flex:0 0 19px;width:19px;height:19px;margin:1px 0 0;accent-color:#1e7259}
.tp-rent-disclosure small{display:block;color:#657d76;font-size:10px;line-height:1.5;margin-top:5px}
.tp-rent-disclosure a{color:#1b6958;text-decoration:underline;text-underline-offset:3px}
.tp-rent-disclosure.awaiting-approval{background:#fff9ed;border-color:#e9d5af}
.tp-rent-disclosure.awaiting-approval strong{color:#896735}
@media (max-width:580px){.tp-rent-disclosure{padding:13px 12px}.tp-rent-disclosure label{gap:9px}}

.tp-rent-fee-details{border:1px solid #d8e9dd;border-radius:12px;background:#fff;padding:12px 14px;margin:13px 0}
.tp-rent-fee-details>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 0;font-size:12px;color:#406d62}
.tp-rent-fee-details b{font-variant-numeric:tabular-nums;color:#164c3f;white-space:nowrap}
.tp-rent-fee-details .tp-rent-fee-total{border-top:1px solid #dae8df;margin-top:5px;padding-top:13px;font-size:14px;font-weight:850;color:#174c40}
@media(max-width:580px){.tp-rent-fee-details{padding:10px}.tp-rent-fee-details>div{font-size:11px}}
