*{box-sizing:border-box}body.portal-body{background:radial-gradient(ellipse at 70% 0%,#202054 0%,transparent 42%),#080b16;color:#eef0ff;min-height:100vh;font-family:Inter,system-ui,Arial,sans-serif}.portal-top{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:22px clamp(20px,5vw,76px);border-bottom:1px solid #ffffff18}.portal-top a{color:#d8d9fa;text-decoration:none}.portal-brand{font-weight:900;letter-spacing:.08em}.portal-brand small{font-size:11px;color:#a3a6cb}.portal-mark{display:inline-grid;place-items:center;background:linear-gradient(135deg,#874dff,#38b8ff);padding:8px;border-radius:10px;margin-right:8px;color:white}.portal-wrap{max-width:1100px;margin:70px auto;padding:0 24px 70px}.portal-wrap h1{font-size:clamp(32px,4vw,54px);letter-spacing:-.04em;margin:8px 0}.portal-wrap h2{font-size:23px;margin:38px 0 18px}.portal-kicker{color:#a48bff;font-weight:800;letter-spacing:.18em;font-size:12px}.portal-muted,.portal-login p,.portal-card p{color:#aeb3d3}.portal-login{max-width:460px;margin:8vh auto;background:#11162b;border:1px solid #454276;border-radius:22px;padding:38px;box-shadow:0 25px 90px #0008}.portal-login label{display:block;margin:18px 0;color:#d5d9f4;font-weight:650}.portal-login input{display:block;width:100%;margin-top:8px;background:#090d1e;border:1px solid #474667;border-radius:10px;color:white;padding:14px;font:inherit}.portal-login button,.portal-support{display:inline-block;border:0;border-radius:11px;padding:15px 22px;background:linear-gradient(110deg,#7849f6,#347ce9);color:white;text-decoration:none;font:inherit;font-weight:750;cursor:pointer}.portal-login button{width:100%;margin:10px 0}.portal-error{color:#ff9caa!important}.portal-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:28px}.portal-stats>div,.portal-card{background:#12182e;border:1px solid #343956;border-radius:17px;padding:24px}.portal-stats strong{font-size:32px;display:block}.portal-stats span{color:#b6bbd7}.portal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.portal-card h3{margin:14px 0 8px;font-size:20px}.portal-pill{display:inline-block;background:#3b2b71;color:#d9cbff;border-radius:99px;padding:5px 12px;font-size:12px}.portal-empty{color:#b5bad7}.portal-support{margin-top:32px}@media(max-width:600px){.portal-stats{grid-template-columns:1fr}.portal-login{padding:24px}.portal-top{align-items:flex-start}.portal-brand small{display:none}}
.ec-thread{display:grid;gap:14px;margin:20px 0}.ec-message{background:#171e38;border:1px solid #383e66;border-radius:16px;padding:18px 22px;max-width:85%}.ec-message.ec-own{margin-left:auto;border-color:#6d52c2;background:#211b43}.ec-message>div{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.ec-message small{color:#a7acd0}.ec-message p{white-space:normal;overflow-wrap:anywhere}.ec-compose textarea{width:100%;display:block;margin:12px 0;background:#090d1e;border:1px solid #474667;border-radius:10px;color:#fff;padding:14px;font:inherit}.ec-compose .portal-support{border:0;cursor:pointer}.ec-compose h2{margin:0 0 12px}@media(max-width:600px){.ec-message{max-width:100%}}

.quote-table{margin:16px 0}.quote-table-row{display:grid;grid-template-columns:minmax(0,1fr) 60px 110px;gap:12px;padding:12px 0;border-bottom:1px solid #34364c}.quote-table-head{font-weight:700;color:#c3baff}.quote-table-row span:last-child{text-align:right}

/* Client dashboard */
.portal-wrap:has(.portal-dashboard){max-width:1240px;margin:48px auto}.portal-dashboard{min-width:0}.portal-welcome{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}.portal-welcome h1{font-size:clamp(30px,3.6vw,46px)}.portal-primary{display:inline-flex;align-items:center;gap:16px;padding:15px 22px;border-radius:12px;color:white;text-decoration:none;font-weight:750;background:linear-gradient(115deg,#7847e8,#397bdc);box-shadow:0 10px 35px #3c39b43d}.portal-primary:hover,.portal-card-link:hover{filter:brightness(1.17);transform:translateY(-1px)}.portal-quicknav{display:flex;flex-wrap:wrap;gap:8px;margin:28px 0 24px;border-bottom:1px solid #343956;padding-bottom:14px}.portal-quicknav a{display:inline-flex;align-items:center;gap:8px;color:#c5c9e5;text-decoration:none;padding:10px 14px;border-radius:9px;font-weight:650}.portal-quicknav a:hover,.portal-quicknav a:focus-visible{background:#26254d;color:#fff}.portal-count{background:#7c54ee;color:#fff;border-radius:50px;padding:2px 8px;font-size:12px}.portal-stats-updated{margin-top:0}.portal-stats-updated>div{display:flex;flex-direction:column;gap:8px;background:linear-gradient(145deg,#181c38,#11182b)}.portal-stats-updated span{font-size:13px}.portal-stats-updated strong{font-size:38px;line-height:1.1}.portal-stats-updated small,.portal-stats-updated small a{color:#aeb9e3}.portal-section{scroll-margin-top:28px;margin-top:42px}.portal-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.portal-section-head h2{margin:6px 0 0;font-size:25px}.portal-section-count{color:#aeb3d3;font-size:13px}.portal-project-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.portal-project-card{display:flex;flex-direction:column;min-height:250px}.portal-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.portal-type{color:#aeb3d3;font-size:12px}.portal-project-card h3{margin:24px 0}.portal-progress-label{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#b9bfdf}.portal-progress-label strong{color:#e6e5ff}.portal-progress{height:7px;border-radius:99px;background:#303453;overflow:hidden;margin:12px 0}.portal-progress span{display:block;height:100%;background:linear-gradient(90deg,#8a5eff,#41b9ff);border-radius:99px}.portal-due{font-size:13px;margin:7px 0 0}.portal-card-link{display:inline-flex;align-items:center;gap:12px;margin-top:auto;padding-top:24px;color:#aeb4ff;text-decoration:none;font-weight:750;transition:filter .15s,transform .15s}.portal-empty-card{padding:28px;border:1px dashed #444a70;border-radius:17px;background:#11162b;color:#b8bedc}.portal-empty-card h3{color:#fff;margin:0 0 8px}.portal-empty-card a{color:#acb7ff}.portal-card:focus-within{border-color:#7857d8}a:focus-visible,button:focus-visible{outline:2px solid #78bfff;outline-offset:3px}@media(max-width:700px){.portal-wrap:has(.portal-dashboard){margin:28px auto}.portal-primary{width:100%;justify-content:center}.portal-quicknav{gap:4px}.portal-quicknav a{padding:10px;font-size:13px}.portal-stats-updated{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-stats-updated>div:last-child{grid-column:1/-1}.portal-section-head h2{font-size:22px}}

.portal-login .portal-success{padding:12px 14px;border:1px solid #3c866b;border-radius:10px;background:#103329;color:#b4f6d9}.portal-login .portal-muted a{color:#acb7ff;text-decoration:underline}.portal-top>span{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
