/* Private portal shares the light APC portfolio design. No access logic changes. */
:root{--bg:#f5f7ff;--blue:#455ae2;--ink:#223454;--muted:#637799;--line:#dce5f6}
header{background:#ffffffc9;border-color:#dce5f7;backdrop-filter:blur(20px)}.logo>span{color:#8c62e6}header>div{color:#667b9f}header a:hover{color:#5e57d4}
main{max-width:none;width:100%;padding-inline:clamp(20px,5vw,160px)}footer{max-width:none;width:100%;padding-inline:clamp(20px,5vw,160px);color:#6d80a1;border-color:#dce5f6}
h1,h2,h3{color:#2d416c}em{background:linear-gradient(110deg,#365be4,#9263e6);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.eyebrow{color:#6c7fab}
.signin{position:relative;max-width:620px;margin:15px auto;padding:45px 30px;border:1px solid #e0e7f9;border-radius:28px;background:linear-gradient(145deg,#ffffffeb,#f1f4ffeb);box-shadow:0 25px 75px -35px #6c85bf4d}.signin>p:not(.eyebrow),.signin>small{color:#627899}.signin-note{background:#f4f7ff;border-color:#d7e2f7;border-radius:16px}.signin-note p{color:#667e9f}
.button{border-radius:11px;background:linear-gradient(115deg,#3e5be3,#845be4);box-shadow:0 8px 22px #5c70cf27;transition:box-shadow .2s,background .2s}.button:hover{filter:none;background:linear-gradient(115deg,#334fd0,#936be9);box-shadow:0 12px 28px #5c70cf38}.button.outline{background:#ffffffd9;color:#5a67cb;border-color:#c8d7f3;box-shadow:none}.button.outline:hover{background:#eef3ff}
.panel{background:#ffffffeb;border-color:#dce5f6;border-radius:22px;box-shadow:0 16px 45px -28px #6682bd44}.project{min-width:0}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.panel.project{background:linear-gradient(145deg,#fff,#f7f9ff)}.clientline,.summary,.progress-head,.dates{color:#657c9f}.progress{height:7px;background:#e7edfc}.progress i{background:linear-gradient(90deg,#4b64e2,#a67aef);border-radius:inherit;transition:width .5s ease}.phase,.pill{border-radius:20px;background:#edf1ff;color:#6472b2}.phase{background:linear-gradient(110deg,#e8efff,#f0eaff);color:#5c5bc6}
.next{background:linear-gradient(120deg,#eff4ff,#f4efff);border:1px solid #e0e6fa;border-radius:14px}.next small{color:#7386ab}.next p{color:#50698f}.document{border-color:#e2e9f7}.document>span{border-radius:10px;background:#edf2ff;color:#7172cc}.document small{color:#7086aa}
input,textarea,select{border-radius:10px;background:#f9fbff;border-color:#d5e1f5;color:#2d446d;transition:border-color .2s,box-shadow .2s}input:focus,textarea:focus,select:focus{outline:2px solid #b6c5f6;border-color:#90a4e8;box-shadow:0 0 0 4px #94a4ea13}label{color:#637c9f}.request,.create,.upload,details,.documents{border-color:#dce5f6}.request span,.request p{color:#637c9e}.empty{color:#6c80a0}
@media(min-width:1500px){main{padding-block:clamp(55px,3vw,100px)}.project-grid{gap:clamp(24px,2vw,70px)}.panel.project{padding:clamp(28px,1.5vw,52px)}}
@media(max-width:750px){.signin{padding:30px 20px;border-radius:22px}.signin h1{font-size:36px}.project-grid{grid-template-columns:minmax(0,1fr)}.panel{padding:22px}.form-two{grid-template-columns:minmax(0,1fr)}footer{padding-bottom:75px}.section-heading{flex-wrap:wrap}.logo{flex-shrink:0}header{gap:15px}}
@media print{header,.panel,.signin,.next{background:#fff!important;box-shadow:none!important}}
/* Email registration and client profile choices */
.account-card.signin{max-width:1160px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(30px,5vw,85px);text-align:left;align-items:start;padding:clamp(24px,4vw,64px)}
.account-intro>p:not(.eyebrow){font-size:16px;line-height:1.8;color:#627899;margin-top:22px}.account-intro>small{display:block;line-height:1.7;color:#627899;margin-top:24px}.account-intro .signin-note{margin-top:28px}.account-forms{min-width:0}.account-forms form{display:flex;flex-direction:column;gap:17px}.account-forms h2{font-size:24px;margin:6px 0 8px}.account-forms label{display:flex;flex-direction:column;gap:8px}.account-forms .checkbox{flex-direction:row;align-items:flex-start;line-height:1.6}.account-forms input{width:100%;min-width:0}.account-forms input[type=checkbox],.account-forms input[type=radio]{width:18px;height:18px;flex-shrink:0;accent-color:#615de3}.account-forms .button{width:100%;cursor:pointer}.account-forms .button:disabled{opacity:.65;cursor:wait}.account-tabs{display:flex;gap:5px;background:#eaf0ff;border-radius:12px;padding:5px;margin-bottom:25px}.account-tabs button{flex:1;min-height:44px;border:0;border-radius:9px;background:transparent;color:#52698e;font:inherit;cursor:pointer}.account-tabs button[aria-pressed=true]{background:#fff;color:#3d54c9;box-shadow:0 3px 15px #6d7ba322}.account-types{margin:0;padding:12px;border:1px solid #d5e1f5;border-radius:12px;display:flex;gap:25px;flex-wrap:wrap}.account-types legend{font-size:12px;color:#637c9f;padding:0 6px}.account-types label{display:flex;flex-direction:row;align-items:center;gap:8px;cursor:pointer;min-height:30px}.account-forms details{margin:0;padding:10px 0;border-top:1px solid #dce5f6;font-size:12px;line-height:1.8}.account-forms details p{margin-top:10px;color:#627899}.account-forms details a{color:#455ae2;text-decoration:underline;overflow-wrap:anywhere}.account-forms small{font-size:11px;line-height:1.7;color:#657c9f}.account-forms .checkbox{font-size:12px}.account-forms summary{cursor:pointer;color:#455ae2}#account-error{background:#fff0f2;color:#8d2749;border:1px solid #f0c4ce;border-radius:10px;padding:14px;margin-bottom:20px;font-size:13px;line-height:1.6}#account-status{color:#4057bc;padding:8px 0;margin-bottom:10px}.text-button{border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;padding:0}.text-button:hover{text-decoration:underline}.account-forms input:focus-visible,.account-tabs button:focus-visible{outline:3px solid #b6c5f6;outline-offset:3px}
@media(max-width:800px){.account-card.signin{grid-template-columns:minmax(0,1fr);gap:28px}.account-intro h1{font-size:36px}.account-intro .signin-note{margin-top:18px}.account-intro>small{margin-top:15px}.account-intro>p:not(.eyebrow){font-size:14px}.account-forms input{font-size:16px;min-height:45px}.account-forms input[type=radio],.account-forms input[type=checkbox]{min-height:18px}.account-forms h2{font-size:22px}}

.document{scroll-margin-top:110px}.document:target{outline:2px solid #655fe0;outline-offset:6px;border-radius:12px;background:#f1f3ff}
