@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@700;800&display=swap";[hidden]{display:none!important}:root{color:#243047;--ink:#273247;--yellow:#ffdc32;--blue:#1769e0;--line:#dfe4ea;--muted:#68758a;background:#f5f6f8;font-family:DM Sans,system-ui,sans-serif;font-size:16px;line-height:1.55}*{box-sizing:border-box}body{min-height:100vh;margin:0}button,input,textarea{font:inherit}button{cursor:pointer}.portal-shell{grid-template-rows:auto 1fr auto;min-height:100vh;display:grid}.portal-shell>header{border-bottom:1px solid var(--line);z-index:5;background:#fff;align-items:center;gap:30px;height:76px;padding:0 clamp(18px,4vw,56px);display:flex;position:sticky;top:0}.portal-brand{color:var(--ink);align-items:center;gap:11px;text-decoration:none;display:flex}.portal-brand img{object-fit:cover;border-radius:13px;width:44px;height:44px}.portal-brand span{display:grid}.portal-brand b{font:800 1.12rem Manrope}.portal-brand small{color:var(--muted);font-size:.78rem}#portalNav{align-items:center;gap:4px;margin:auto;display:flex}#portalNav button,.portal-signout,.portal-text-button{color:#596579;background:0 0;border:0;border-radius:9px;padding:10px 12px;font-weight:700}#portalNav button:hover,#portalNav button.active{color:#175ebf;background:#eef4ff}.portal-signout{border:1px solid var(--line)}#portalMain{width:min(1120px,100% - 36px);margin:0 auto;padding:54px 0 80px}.portal-hero{color:#fff;background:linear-gradient(130deg,#202d43,#34445e);border-radius:26px;padding:46px;box-shadow:0 22px 60px #1e2b4129}.portal-hero span,.portal-page-title span,.portal-kicker{color:#e8bf17;letter-spacing:.12em;text-transform:uppercase;font-size:.79rem;font-weight:800;display:block}.portal-hero h1,.portal-page-title h1,.portal-auth-copy h1{letter-spacing:-.045em;margin:10px 0 14px;font:800 clamp(2rem,5vw,3.35rem)/1.08 Manrope}.portal-hero p,.portal-page-title p{color:#dbe2ec;max-width:720px;margin:0;font-size:1.05rem}.portal-metrics{grid-template-columns:repeat(3,1fr);gap:18px;margin:20px 0 46px;display:grid}.portal-metrics article{border:1px solid var(--line);background:#fff;border-radius:17px;padding:24px}.portal-metrics strong{font:800 1.8rem Manrope;display:block}.portal-metrics span{color:var(--muted)}.portal-section-title{justify-content:space-between;align-items:center;display:flex}.portal-section h2{font:800 1.45rem Manrope}.portal-card,.portal-list article,.portal-upload,.portal-message-form{border:1px solid var(--line);background:#fff;border-radius:17px;margin:12px 0;padding:22px}.portal-card{grid-template-columns:1fr auto;gap:14px 22px;display:grid}.portal-card small,.portal-list small,.portal-thread small{color:var(--muted)}.portal-card h3{margin:3px 0;font:800 1.08rem Manrope}.portal-card p{color:#5e6b7e;margin:5px 0}.portal-response{grid-column:1/-1;gap:12px;display:flex}.portal-response textarea{flex:1;min-height:76px}.portal-primary{background:var(--blue);color:#fff;border:0;border-radius:10px;min-height:42px;padding:0 17px;font-weight:800;box-shadow:0 6px 16px #1769e02e}.portal-primary:hover{background:#0d59c5}.portal-primary:disabled{opacity:.55}.portal-status{color:#5f6977;text-transform:capitalize;background:#eff2f5;border-radius:999px;align-self:start;padding:5px 9px;font-size:.76rem;font-weight:800}.portal-status.open,.portal-status.sent{color:#745c00;background:#fff3c1}.portal-status.complete,.portal-status.paid,.portal-status.signed{color:#11623b;background:#dff6e8}.portal-page-title{margin-bottom:32px}.portal-page-title p{color:var(--muted)}.portal-upload{justify-content:space-between;align-items:center;padding:28px;display:flex}.portal-upload h3{margin:0;font:800 1.15rem Manrope}.portal-upload p{color:var(--muted);margin:4px 0 0}.portal-upload-button{cursor:pointer;background:#fff7c9;border:1px solid #efd65d;border-radius:10px;align-items:center;min-height:42px;padding:0 16px;font-weight:800;display:inline-flex}.portal-list article{align-items:center;gap:14px;display:flex}.portal-list article>div{flex:1;display:grid}.portal-file-icon{color:#1b63c3;background:#eef4ff;border-radius:12px;place-items:center;width:46px;height:46px;font-size:.72rem;font-weight:800;display:grid}.portal-list strong{font:800 1.05rem Manrope}.portal-message-form{grid-template-columns:1fr 2fr auto;align-items:end;gap:14px;display:grid}.portal-message-form label,.portal-auth-card label{color:#455165;gap:6px;font-weight:700;display:grid}.portal-message-form textarea{min-height:86px}.portal-message-form input,.portal-message-form textarea,.portal-response textarea,.portal-auth-card input{width:100%;color:var(--ink);background:#fff;border:1px solid #cfd6df;border-radius:10px;padding:12px;font-size:1rem}.portal-message-form input:focus,.portal-message-form textarea:focus,.portal-response textarea:focus,.portal-auth-card input:focus{border-color:#1769e0;outline:3px solid #1769e026}.portal-thread article{border:1px solid var(--line);background:#fff;border-radius:15px;max-width:78%;margin:12px 0;padding:17px 19px;display:grid}.portal-thread article.client{background:#eaf3ff;margin-left:auto}.portal-thread b{margin-top:4px}.portal-thread p{margin:5px 0}.portal-empty,.portal-loading,.portal-error{text-align:center;background:#fff;border:1px dashed #ccd3dc;border-radius:17px;padding:62px 24px}.portal-empty b{font:800 1.1rem Manrope}.portal-empty p,.portal-loading p,.portal-error p{color:var(--muted)}.portal-loading span{border:3px solid #dce4ee;border-top-color:#1769e0;border-radius:50%;width:34px;height:34px;margin:auto;animation:.8s linear infinite spin;display:block}@keyframes spin{to{transform:rotate(360deg)}}.portal-shell>footer{border-top:1px solid var(--line);color:var(--muted);background:#fff;justify-content:space-between;padding:24px clamp(18px,4vw,56px);font-size:.82rem;display:flex}.portal-shell>footer a{color:inherit}#portalToast{z-index:20;color:#fff;opacity:0;pointer-events:none;background:#173f31;border-radius:11px;max-width:370px;padding:13px 17px;transition:all .2s;position:fixed;bottom:22px;right:22px;transform:translateY(15px);box-shadow:0 12px 30px #0003}#portalToast.show{opacity:1;transform:none}#portalToast.error{background:#8f2f35}.portal-auth-page{background:radial-gradient(circle at top,#fff5b2,#0000 35%),#f1f3f6;place-items:center;padding:28px;display:grid}.portal-auth-card{border:1px solid var(--line);background:#fff;border-radius:25px;grid-template-rows:auto 1fr auto;grid-template-columns:1.1fr .9fr;gap:30px 56px;width:min(950px,100%);min-height:560px;padding:40px;display:grid;box-shadow:0 25px 80px #1d2a3f24}.portal-auth-card>.portal-brand{grid-column:1/-1}.portal-auth-copy{align-self:center}.portal-auth-copy p{color:var(--muted);max-width:510px;font-size:1.05rem}.portal-auth-card form{align-self:center;gap:15px;display:grid}.portal-auth-card footer{border-top:1px solid var(--line);color:var(--muted);grid-column:1/-1;padding-top:20px;font-size:.82rem}.portal-auth-card footer a{color:inherit}.portal-auth-card .portal-text-button{justify-self:start;padding-left:0}.portal-form-message{color:#28724e;min-height:24px;margin:0}.portal-form-message.error{color:#a22f38}@media (width<=820px){.portal-shell>header{flex-wrap:wrap;height:auto;min-height:70px;padding-top:12px;padding-bottom:10px}.portal-signout{margin-left:auto}#portalNav{order:3;justify-content:flex-start;width:100%;overflow:auto}.portal-metrics,.portal-card{grid-template-columns:1fr}.portal-response{flex-direction:column}.portal-message-form{grid-template-columns:1fr}.portal-auth-card{grid-template-columns:1fr;padding:28px}.portal-auth-copy h1{font-size:2.3rem}.portal-upload{flex-direction:column;align-items:flex-start;gap:20px}.portal-list article{flex-wrap:wrap}.portal-shell>footer{gap:6px;display:grid}}@media (width<=520px){#portalMain{width:min(100% - 24px,1120px);padding-top:28px}.portal-hero{border-radius:20px;padding:30px 24px}.portal-metrics{gap:10px}.portal-card,.portal-list article,.portal-upload,.portal-message-form{padding:17px}.portal-auth-page{padding:12px}.portal-auth-card{border-radius:19px;padding:22px}.portal-thread article{max-width:94%}}.portal-auth-card :focus-visible,.portal-shell :focus-visible{outline-offset:2px;outline:3px solid #1769e042}.portal-primary,.portal-auth-card input,.portal-signout{min-height:44px}
