:root{color-scheme:light;--deep:#07362f;--ink:#10302c;--mint:#d0fa76;--muted:#668078}*{box-sizing:border-box}body{margin:0;background:#f3f8f4;color:var(--ink);font:16px/1.55 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}a{color:inherit}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #94cf43;outline-offset:3px}.portal-top{display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--deep);color:#fff;padding:18px max(22px,calc((100vw - 1120px)/2))}.portal-brand{text-decoration:none;letter-spacing:-.06em;font-size:27px;font-weight:900}.portal-brand span{color:#cffa71}.portal-top nav{display:flex;gap:20px;align-items:center}.portal-top nav a{text-decoration:none;font-size:13px;color:#d8e9df;font-weight:750}.portal-wrap{max-width:1110px;margin:42px auto;padding:0 20px 70px}.auth-wrap{max-width:490px;margin:70px auto;padding:0 18px 60px}.auth-card{background:#fff;border:1px solid #dce9dd;border-radius:22px;box-shadow:0 17px 55px #07382911;padding:34px}.eyebrow{font-size:11px;color:#36794e;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.auth-card h1,.portal-wrap h1{font-size:clamp(34px,4.6vw,49px);line-height:1.06;letter-spacing:-.07em;margin:12px 0}.auth-card p,.portal-lead{color:var(--muted);font-size:15px;line-height:1.6}.auth-card label{display:block;font-weight:800;font-size:13px;margin:28px 0 6px}.auth-card input{width:100%;border:1.5px solid #c8dcd0;border-radius:11px;padding:15px;font-size:16px;min-width:0}.button-primary{background:#cbf779;color:#11372c;border:0;padding:15px 18px;border-radius:11px;text-align:center;font-weight:850;font-size:15px;cursor:pointer;text-decoration:none;display:inline-flex;justify-content:center;align-items:center;gap:7px;min-height:52px}.button-primary:hover{background:#bff068}.button-primary:disabled{opacity:.58;cursor:wait}.button-dark{background:#0d4e3e;color:#fff;border:0;padding:12px 15px;border-radius:10px;font-size:14px;font-weight:850;cursor:pointer}.button-outline{background:#fff;border:1px solid #bdd6c1;border-radius:10px;padding:11px 15px;text-decoration:none;color:#245d42;font-weight:800}.auth-card .button-primary{width:100%;margin-top:17px}.auth-note{margin:14px 0 0;color:#5a786b;font-size:12px;line-height:1.6}.auth-state{background:#f0f8ec;border:1px solid #cfe8c8;border-radius:11px;padding:14px;font-size:13px;color:#28563c;margin-top:18px}.auth-state.error{background:#fff1ed;border-color:#efc7b9;color:#8d3a2b}.auth-extra{margin-top:24px;padding-top:18px;border-top:1px solid #e6eee6;text-align:center;color:#61796d;font-size:13px}.auth-extra a{font-weight:850;color:#20573f}.loading-page{min-height:45vh;display:grid;place-items:center;padding:34px;text-align:center;color:#476c57}.loading-page p{max-width:400px;margin:0 auto}.private-main[hidden]{display:none!important}.portal-nav{display:flex;gap:18px;align-items:center}.portal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.portal-header p{margin:7px 0 0;color:#6a8276}.portal-welcome{font-size:12px;letter-spacing:.1em;font-weight:850;text-transform:uppercase;color:#308a4c}.connection-banner{display:flex;gap:12px;align-items:flex-start;background:#edf9e6;border:1px solid #cfe8c8;border-radius:15px;padding:19px 22px;margin:30px 0}.connection-banner .status-circle{display:grid;place-items:center;min-width:32px;height:32px;border-radius:50%;background:#d0eca4;color:#2b5a3c;font-weight:900}.connection-banner strong{font-size:16px}.connection-banner p{color:#597367;font-size:13px;margin:3px 0 12px}.connection-banner a{display:inline-block;font-size:13px;font-weight:850;color:#145944}.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:22px}.stat-card{background:#fff;border:1px solid #dbe8de;border-radius:17px;padding:22px}.stat-card small{font-size:12px;color:#6e8076;display:block;min-height:34px}.stat-card strong{display:block;font-size:37px;font-weight:900;letter-spacing:-.07em;margin-top:5px}.portal-section{background:#fff;border-radius:18px;border:1px solid #dce8dd;padding:25px;margin-top:21px}.portal-section h2{font-size:25px;letter-spacing:-.04em;margin:0 0 10px}.portal-section p{color:#657d70;font-size:14px;line-height:1.65}.activity-empty{text-align:center;padding:30px 12px}.activity-empty .house-symbol{display:block;font-size:38px;color:#7ca88a;margin-bottom:9px}.activity-empty strong{font-size:17px}.quick-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.portal-footer{text-align:center;color:#82968c;font-size:12px;margin-top:40px}.status-success{background:#d3f5c6!important}.tag{background:#e4f6db;border-radius:100px;color:#215b3e;font-size:11px;font-weight:850;padding:5px 10px}.status-card p{line-height:1.6}@media(max-width:700px){.portal-top{padding:15px 17px}.portal-brand{font-size:23px}.portal-top nav{gap:11px}.portal-top nav a{font-size:12px}.portal-wrap{margin-top:25px;padding:0 13px 35px}.auth-wrap{margin:34px auto}.auth-card{padding:25px 20px}.portal-header{flex-direction:column}.stat-grid{grid-template-columns:1fr 1fr}.stat-grid>.stat-card:last-child{grid-column:1/-1}.stat-card{padding:17px}.stat-card strong{font-size:29px}.connection-banner{padding:15px}.portal-section{padding:18px}}@media(max-width:345px){.stat-grid{grid-template-columns:1fr}.stat-grid>.stat-card:last-child{grid-column:auto}.portal-top nav a:first-child{display:none}}

/* Native hidden attribute must override grid/flex display declarations. */
[hidden]{display:none!important}

/* Magic-link status stays visible after a refresh without implying email delivery. */
.auth-otp-help{margin:14px 0;padding:13px 16px;border:1px solid #d7e9c6;background:#f0fae8;color:#2a6142;border-radius:11px;font-size:14px;line-height:1.5;font-weight:700}
.auth-otp-help[hidden]{display:none!important}

/* Complete three-bar StreetBatch lockup on all secure portal headers. */
.portal-top .portal-brand{display:inline-flex;align-items:center;white-space:nowrap;line-height:1.15;flex-shrink:0}
.portal-top .portal-brand:not(:has(.sb-portal-bars))::before{content:"";display:inline-block;flex:none;width:29px;height:24px;margin-right:10px;background:linear-gradient(#c9fa70,#c9fa70) 0 100%/7px 15px no-repeat,linear-gradient(#c9fa70,#c9fa70) 11px 100%/7px 23px no-repeat,linear-gradient(#c9fa70,#c9fa70) 22px 100%/7px 19px no-repeat}
@media(max-width:520px){.portal-top{gap:9px;padding:15px 14px}.portal-top .portal-brand{font-size:clamp(18px,5.4vw,25px)}.portal-top nav{gap:10px;flex-wrap:wrap;justify-content:flex-end}.portal-top nav a{font-size:12px}}

/* A consistent complete three-bar logo on all contractor portal headers. */
.portal-top .sb-portal-bars{display:inline-flex;align-items:flex-end;flex:none;gap:4px;height:24px;margin-right:10px}
.portal-top .sb-portal-bars i{display:block;width:7px;background:#c9fa70;border-radius:2px 2px 0 0}
.portal-top .sb-portal-bars i:nth-child(1){height:15px}.portal-top .sb-portal-bars i:nth-child(2){height:23px}.portal-top .sb-portal-bars i:nth-child(3){height:19px}
@media(max-width:375px){.portal-top .sb-portal-bars{margin-right:6px;gap:3px}.portal-top .sb-portal-bars i{width:6px}}
