body[data-unused]{margin:0}html[data-cw-app=customer] header{background:#fff;border-bottom:1px solid #d6e2ee}html[data-cw-app=customer] main{max-width:760px;margin:0 auto;padding:20px 16px 36px}.portal-panel{margin:14px 0;padding:22px;border-radius:16px}.portal-panel h2{font-size:19px;margin:0 0 14px}.portal-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:14px 0 20px}.portal-tab{min-height:44px;padding:9px 5px;font-size:13px;background:#fff;color:#1765aa}.portal-tab.active,.portal-primary{background:#1765aa;color:#fff;border-color:#1765aa}.portal-balance{background:#1765aa;color:#fff;border-color:#1765aa}.portal-balance .eyebrow{color:#e7f4ff}.portal-amount{font-size:clamp(38px,8vw,56px);font-weight:750;letter-spacing:-1.5px;line-height:1.1;margin:10px 0}.portal-balance-note{color:#e7f4ff;font-size:14px;line-height:1.5;margin:12px 0 20px}.portal-white{background:white;color:#1765aa;margin-right:8px}.portal-outline{background:transparent;border-color:#c5e4fc;color:#fff}.portal-row{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid #d6e2ee}.portal-row strong{overflow-wrap:anywhere}.portal-row>strong{text-align:right;flex-shrink:0;font-size:14px}.portal-row small,.portal-request small{display:block;color:#546b80;margin-top:6px;line-height:1.5}.portal-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:8px;margin-top:12px}.portal-actions button{min-height:48px;text-align:left}.portal-link{display:block;color:#1765aa;font-weight:650;margin:14px 0;text-decoration:none}.portal-property{border:1px solid #d6e2ee;border-radius:10px;margin:12px 0;padding:14px}.portal-property h3{font-size:16px;margin:0 0 14px}.portal-service{border-top:1px solid #d6e2ee;padding:12px 0}.portal-request{border-bottom:1px solid #d6e2ee;padding:15px 0}.portal-status{display:inline-block;font-size:11px;font-weight:650;background:#eef5fa;color:#345b7d;padding:4px 8px;border-radius:99px;margin-left:8px}.portal-message{white-space:pre-wrap;overflow-wrap:anywhere}.portal-request-form textarea{font:inherit;width:100%;padding:12px;border:1px solid #b8cada;border-radius:8px;margin-top:8px}.portal-request-form label{display:block;margin-bottom:12px}.portal-request-form button{width:100%;min-height:48px}.portal-login-link{display:block;margin:15px 0;color:#1765aa;font-weight:650}.portal-demo-notice{background:#edf4fa;color:#34546c;padding:12px;text-align:center;font-size:13px}.portal-panel>button{margin-top:12px}@media(max-width:450px){.portal-panel{padding:16px}.portal-row>strong{max-width:35%;font-size:13px}.portal-tabs{gap:4px}.portal-tab{font-size:12px}.portal-balance button{margin-top:8px}}
/* Customer payment history: clearly distinguished, accessible settlement status. */
.portal-clean-payment{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 0;border-bottom:1px solid #e1ebf2}
.portal-clean-description{display:flex;flex-direction:column;gap:5px;min-width:0}
.portal-clean-description>strong{font-size:15px;color:#203e54}
.portal-clean-description>small{font-size:12px;line-height:1.5;color:#60798a}
.portal-clean-payment-right{display:flex;align-items:flex-end;flex-direction:column;gap:7px;min-width:125px;text-align:right}
.portal-clean-price{font-size:17px;color:#173f5e;white-space:nowrap}
.portal-paid{display:inline-flex;align-items:center;border-radius:8px;padding:7px 10px;background:#e7f7ec;border:1px solid #a8dcba;color:#166534;font-size:12px;font-weight:800;white-space:nowrap}
.portal-paid::before{content:'✓';font-weight:900;margin-right:6px}
.portal-clean-due{color:#a44834;font-size:12px}
.portal-pay-button{min-height:36px;border-radius:8px;padding:8px 13px;background:#1765aa;color:#fff;font:inherit;font-size:13px;font-weight:700}
.portal-pay-button:disabled{background:#e2e7ec;border-color:#d5e0e8;color:#64778a;cursor:not-allowed}
@media(max-width:470px){.portal-clean-payment{align-items:flex-start;gap:9px}.portal-clean-description{max-width:54%}.portal-clean-payment-right{min-width:110px}.portal-paid{font-size:11px;padding:6px 8px}}


/* Visual parity with the Wix test website — exact existing brand tokens. */
html[data-cw-app=customer]{font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#173753;background:#fff}
html[data-cw-app=customer] body{background:#fff;color:#173753}
html[data-cw-app=customer] .cw-customer-header{display:flex;align-items:center;gap:24px;justify-content:space-between;flex-wrap:wrap;padding:24px max(5vw,20px);border-bottom:1px solid #e1eaf2;background:#fff;min-height:105px}
html[data-cw-app=customer] .wordmark{display:inline-block;text-decoration:none;font-size:32px;font-weight:820;letter-spacing:-1.7px;line-height:1.1;border-bottom:0;color:#173753}
html[data-cw-app=customer] .wordmark span{color:#1699df}
html[data-cw-app=customer] .wordmark small{display:block;border-top:3px solid #1699df;padding-top:7px;margin-top:3px;font-size:9px;letter-spacing:1.2px;color:#546b80;font-weight:650}
html[data-cw-app=customer] .cw-portal-nav{display:flex;align-items:center;gap:20px;margin-left:auto}
html[data-cw-app=customer] .cw-portal-nav a{color:#1765aa;text-decoration:none;font-size:14px;font-weight:650}
html[data-cw-app=customer] .cw-portal-nav span{font-size:10px;letter-spacing:1.5px;font-weight:750;color:#60798e}
html[data-cw-app=customer] #logout{position:static;font-size:13px;padding:10px 15px}
html[data-cw-app=customer] main{max-width:1050px;padding:clamp(30px,5vw,58px) max(3vw,16px) 65px;margin:0 auto}
html[data-cw-app=customer] .panel{border-color:#d4e2ed;border-radius:18px;box-shadow:0 10px 30px #153c5d08;background:#fff}
html[data-cw-app=customer] h1{color:#173753;letter-spacing:-1.1px}
html[data-cw-app=customer] .eyebrow{color:#1765aa;font-weight:800;letter-spacing:2px}
html[data-cw-app=customer] p{color:#49657a;line-height:1.6}
html[data-cw-app=customer] button{border-radius:9px}
html[data-cw-app=customer] .primary,html[data-cw-app=customer] .portal-primary,html[data-cw-app=customer] .portal-tab.active{background:#1765aa;color:#fff;border-color:#1765aa;font-weight:750}
html[data-cw-app=customer] .portal-tabs{gap:9px}
html[data-cw-app=customer] .portal-tab{font-weight:650;border-color:#d4e2ed;min-height:48px}
html[data-cw-app=customer] .portal-tab.active{box-shadow:0 3px 12px #1765aa18}
html[data-cw-app=customer] .portal-panel h2{font-size:clamp(22px,3vw,30px);letter-spacing:-1px;color:#173753;margin-bottom:18px}
html[data-cw-app=customer] .portal-panel{padding:clamp(20px,3vw,32px)}
html[data-cw-app=customer] .portal-balance{background:linear-gradient(120deg,#1765aa,#1579b5);border-color:#1765aa}
html[data-cw-app=customer] .portal-balance p{color:#e7f4ff}
html[data-cw-app=customer] .portal-demo-notice{margin:17px 0 18px;border:1px solid #c7d9e7;border-radius:12px;background:#edf4fa;color:#35546d;padding:14px 17px;text-align:left;font-size:13px;font-weight:700;line-height:1.6}
html[data-cw-app=customer] button:focus-visible,html[data-cw-app=customer] a:focus-visible,html[data-cw-app=customer] input:focus-visible{outline:3px solid #74beef;outline-offset:3px}
html[data-cw-app=customer] footer{background:#173753;color:#d4e5f3;padding:30px max(5vw,20px);margin:0;text-align:center}
html[data-cw-app=customer] footer a{color:#d4e5f3}
@media(max-width:650px){html[data-cw-app=customer] .cw-customer-header{gap:12px;padding:18px max(5vw,20px)}html[data-cw-app=customer] .wordmark{font-size:28px}html[data-cw-app=customer] .cw-portal-nav span{display:none}html[data-cw-app=customer] .portal-tabs{gap:4px}html[data-cw-app=customer] main{padding:22px 12px 45px}html[data-cw-app=customer] .portal-panel{padding:18px}}

.portal-payment-receipt{display:block;max-width:240px;text-align:right;font-size:11px;line-height:1.45;color:#718598;font-weight:450;overflow-wrap:break-word;margin-top:1px}


/* Refer a Friend — consistent with the Clear Windows website design. */
.portal-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}
.portal-referral-intro{font-size:16px;line-height:1.7;max-width:720px}
.portal-referral-label{margin:24px 0 8px;font-size:13px;font-weight:750;color:#173753;display:block}
.portal-referral-input{background:#f4f9fc;border:1px solid #c0d7e7;border-radius:9px;padding:13px 12px;font-size:13px;color:#34556e;width:100%;text-overflow:ellipsis}
.portal-referral-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0 12px}
.portal-referral-actions button{min-height:46px}
.portal-referral-stats{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px;padding:16px;background:#eef7fc;border-radius:10px;color:#34546c;font-size:13px;font-weight:650}
.portal-referral-stats span+span{padding-left:14px;border-left:1px solid #cde1ee}
@media(max-width:600px){.portal-tab{font-size:11px;padding:9px 3px}.portal-referral-actions{display:grid;grid-template-columns:1fr 1fr}.portal-referral-actions button{min-height:49px}.portal-referral-stats{display:grid;gap:8px}.portal-referral-stats span+span{border:0;padding:0}}
@media(max-width:400px){.portal-tabs{display:flex;gap:7px;overflow-x:auto;padding:0 1px 7px}.portal-tabs .portal-tab{flex:0 0 auto;min-width:78px;white-space:nowrap}}


/* Customer home-screen app installation invitation. */
html[data-cw-app=customer] .cw-install-card{
 display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
 padding:15px 17px;margin:0 0 18px;border:1px solid #cde1ee;
 background:#eef8fd;border-radius:14px;color:#173753
}
html[data-cw-app=customer] .cw-install-card[hidden]{display:none!important}
html[data-cw-app=customer] .cw-install-body{display:flex;align-items:center;gap:14px;min-width:0;flex:1 1 280px}
html[data-cw-app=customer] .cw-install-icon{display:grid;place-items:center;flex:none;width:45px;height:45px;
 background:#1765aa;color:#fff;border-radius:11px;font-size:15px;font-weight:800;letter-spacing:-.6px;
 border-bottom:4px solid #1699df}
html[data-cw-app=customer] .cw-install-body strong{font-size:14px;line-height:1.4;display:block}
html[data-cw-app=customer] .cw-install-body p{margin:5px 0 0;color:#49657a;font-size:13px;line-height:1.5}
html[data-cw-app=customer] .cw-install-actions{display:flex;align-items:center;gap:7px;margin-left:auto}
html[data-cw-app=customer] #cwInstallButton{background:#1765aa;color:#fff;border:1px solid #1765aa;font-size:13px;padding:10px 14px;font-weight:750;white-space:nowrap}
html[data-cw-app=customer] #cwInstallDismiss{background:transparent;color:#49657a;border:1px solid #c9dbe8;font-size:12px;padding:9px 11px;white-space:nowrap}
@media(max-width:570px){html[data-cw-app=customer] .cw-install-card{align-items:start;padding:13px 14px}
html[data-cw-app=customer] .cw-install-actions{margin-left:59px}}

/* Invoice controls are deliberately secondary to Pay now. */
.portal-invoice-button{min-height:36px;border:1px solid #1765aa;border-radius:8px;padding:8px 12px;background:#fff;color:#1765aa;font:inherit;font-size:13px;font-weight:700;white-space:nowrap;cursor:pointer}
.portal-invoice-preview{margin:12px 0 18px;border:1px solid #bdd3e8;scroll-margin-top:16px;overflow-wrap:anywhere}
.portal-invoice-preview:focus{outline:2px solid #1765aa;outline-offset:2px}
