/* Customer portal landing, overview and entry states. */
.portal-hero{padding:80px 0 72px;background:#0b2629;color:#f8faf0;overflow:hidden}
.portal-hero-grid{display:grid;grid-template-columns:1.08fr 1fr;gap:68px;align-items:center}
.portal-hero h1{font-size:clamp(44px,5vw,72px);line-height:1.02;letter-spacing:-.055em;margin:23px 0}
.portal-hero h1 em{font-style:normal;color:#caeea1}
.portal-hero p{color:#c0d3c9;font-size:17px;line-height:1.75;max-width:560px}
.portal-hero .eyebrow{color:#caeea1}
.portal-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.portal-hero .portal-caption{font-size:12px;line-height:1.7;color:#a1bdb1;margin:17px 0 0}
.portal-window{border:1px solid #86b29455;border-radius:18px;background:#f5f8f1;color:#173e35;box-shadow:0 32px 80px #0003;transform:rotate(-1deg);overflow:hidden}
.portal-window-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 24px;border-bottom:1px solid #dce6d9;background:#fff;font-size:11px;font-weight:750}
.portal-window-head span:last-child{font-weight:500;color:#647b6d}
.portal-window-body{padding:28px}
.portal-window-body h2{font-size:26px;line-height:1.2;margin:8px 0 20px}
.portal-window-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}
.portal-window-stats>div{padding:20px 18px;background:#fff;border:1px solid #e0e9dd;border-radius:11px}
.portal-window-stats strong{display:block;font-size:34px;line-height:1.1;letter-spacing:-.04em}
.portal-window-stats span{font-size:11px;color:#6b8477;display:block;margin-top:8px}
.portal-window-row{display:flex;gap:13px;align-items:center;padding:15px 0;border-top:1px solid #dbe6d5}
.portal-window-row>span:first-child{width:34px;height:34px;display:grid;place-items:center;background:#dceccd;border-radius:9px;font-size:13px;flex:none}
.portal-window-row div{flex:1;font-size:12px;font-weight:650;line-height:1.4}
.portal-window-row small{display:block;font-size:11px;color:#6b8477;font-weight:400;margin-top:4px}
.portal-window-row>span:last-child{font-size:10px;color:#306e53;white-space:nowrap}
.portal-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.portal-feature{border:1px solid var(--line);border-radius:17px;padding:30px;background:#fff}
.portal-feature .feature-number{font-size:12px;letter-spacing:.1em;color:#4b876b}
.portal-feature h3{font-size:23px;line-height:1.25;margin:22px 0 12px}
.portal-feature p{font-size:14px;line-height:1.8;color:var(--muted);margin:0 0 24px}
.portal-feature a{font-size:13px;font-weight:700;color:#276d50}
.portal-entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.portal-entry{padding:36px;border-radius:18px;border:1px solid #dce5d6;background:#fff}
.portal-entry:first-child{background:#eaf3de}
.portal-entry h3{font-size:27px;margin:12px 0}
.portal-entry p{font-size:15px;line-height:1.75;color:var(--muted)}
.portal-faq details{padding:22px 0;border-bottom:1px solid var(--line)}
.portal-faq summary{cursor:pointer;font-size:17px;font-weight:650}
.portal-faq p{font-size:14px;line-height:1.8;color:var(--muted);max-width:750px}
.portal-contact-links{display:flex;flex-direction:column;align-items:flex-start;gap:14px;margin-top:25px}
.portal-home-band{background:#eef4e6;border-top:1px solid #dce7d5;border-bottom:1px solid #dce7d5;padding:52px 0}
.portal-home-band .shell{display:flex;align-items:center;justify-content:space-between;gap:36px}
.portal-home-band h2{font-size:clamp(26px,3vw,39px);margin:9px 0 12px;line-height:1.1}
.portal-home-band p{color:var(--muted);font-size:15px;line-height:1.7;max-width:630px;margin:0}
.portal-home-band .btn{flex-shrink:0}
.portal-gate{padding:38px;margin:22px 0;background:#fff;border:1px solid #dce7d9;border-radius:17px}
.portal-gate h2{font-size:28px;margin:10px 0 14px;line-height:1.2}
.portal-gate p{color:#648271;max-width:720px;line-height:1.8;font-size:14px}
.portal-gate .portal-gate-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:24px}
.portal-gate a{font-size:13px;font-weight:700;color:#25694c}
.workspace-switch{grid-template-columns:repeat(4,minmax(0,1fr))}
.workspace-tab{padding:20px 16px;gap:10px}
.workspace-tab .ws-icon{width:34px;height:36px;font-size:22px}
.workspace-tab strong{font-size:12px}.workspace-tab small{font-size:10px}
.workspace-tab .tab-arrow{display:none}
.overview-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:20px}
.overview-grid .ws-card{min-width:0}
.overview-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.portal-check{display:flex;align-items:center;gap:8px;font-size:12px;color:#4e715f;font-weight:650}
.portal-check input{accent-color:#2b795b;width:17px;height:17px}
.overview-action{display:flex;align-items:center;gap:16px;padding:20px 0;border-top:1px solid #e5ecdf}
.overview-action>div{flex:1;min-width:0}
.overview-action h4{font-size:14px;line-height:1.4;color:#234d3c;margin:5px 0}
.overview-action p{font-size:11px;line-height:1.6;color:#718b7c;margin:4px 0;overflow-wrap:anywhere}
.overview-action .action-due{font-weight:700;color:#876b37}
.overview-action .action-late{color:#a84d43}
.overview-action button{flex-shrink:0}
.overview-count{font-size:11px;color:#718b7c;margin:15px 0 0}
.overview-meeting{background:#173e36;color:#f2f8ea;padding:28px;border-radius:15px;margin-bottom:20px}
.overview-meeting .mini-label{color:#bbd4b5}
.overview-meeting h3{font-size:24px;line-height:1.22;color:#f2f8ea;margin:16px 0}
.overview-meeting p{font-size:12px;line-height:1.7;color:#c0d3c3}
.overview-meeting .ws-button{margin-top:12px;border-color:#72967b;color:#d9efcb;background:#234f40}
.overview-milestone{display:flex;align-items:center;gap:13px;padding:16px 0;border-top:1px solid #e5ecdf}
.overview-milestone>div{flex:1;min-width:0}.overview-milestone strong{font-size:12px;line-height:1.5;display:block;color:#2b5140}
.overview-milestone small{font-size:10px;color:#799181;display:block;margin-top:5px}
.overview-activity{margin-top:20px}
.overview-state{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #dce7d8;border-radius:12px;padding:16px 20px;margin-bottom:20px;background:#fff;font-size:12px;color:#617e6c;line-height:1.65}
.overview-state strong{color:#2d674b}.overview-state span{display:block}
.overview-empty{font-size:13px;line-height:1.8;color:#718b7c;padding:26px 0}
.workspace-hero{min-height:260px;padding:36px 44px}.client-workspace .workspace-hero h1{font-size:clamp(37px,4.6vw,59px)}
.workspace-hero .hero-decoration{opacity:.45}
@media(max-width:1080px){.portal-hero-grid{gap:35px}.workspace-switch{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-feature{padding:24px}}
@media(max-width:780px){.portal-hero{padding:45px 0}.portal-hero-grid,.portal-entry-grid,.overview-grid{grid-template-columns:1fr}.portal-hero-grid{gap:38px}.portal-window{transform:none}.portal-feature-grid{grid-template-columns:1fr}.portal-home-band .shell{align-items:flex-start;flex-direction:column}.portal-entry{padding:27px}.overview-state{align-items:flex-start;flex-direction:column;gap:9px}.portal-gate{padding:26px}}
@media(max-width:500px){.workspace-switch{gap:8px}.workspace-tab{padding:12px;min-height:80px}.workspace-tab .ws-icon{display:none}.workspace-tab small{line-height:1.4}.workspace-tab strong{font-size:12px}.portal-window-body{padding:22px}.portal-window-head{padding:15px 18px}.portal-window-row>span:last-child{display:none}.overview-action{align-items:flex-start;flex-direction:column;gap:8px}.overview-milestone{flex-wrap:wrap}.overview-milestone>div{flex-basis:65%}.portal-hero-actions .btn{width:100%;justify-content:center}.portal-entry .btn{max-width:100%}.workspace-hero{padding:28px 24px}.overview-grid .card-title-row{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.portal-window{transform:none}}
