@font-face{font-family:Inter;src:url('/static/fonts/inter-variable.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
@font-face{font-family:Manrope;src:url('/static/fonts/manrope-variable.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root{font-family:Inter,Arial,sans-serif;color:#092b50;background:#092b50;--navy:#082d53;--light:#e5f4ff;--light-strong:#d6ecfb;--border:#81bfe4;--orange:#ffa72c;--cyan:#13cbe7}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth}
body{margin:0;min-width:0;overflow-wrap:anywhere;background:linear-gradient(145deg,#071d39 0,#0b3d69 46%,#0a4b76 100%);color:var(--navy)}
h1,h2,h3,h4,strong,button{font-family:Manrope,Inter,Arial,sans-serif}
h1,h2,h3,h4,p{margin-top:0}
h1{font-size:clamp(2rem,4vw,3.25rem);line-height:1.13}
h2{font-size:clamp(1.45rem,2.5vw,2rem);line-height:1.2}
h3{font-size:1.2rem;line-height:1.3}
p{line-height:1.55}
small{font-size:.88rem}
a{color:#075396;text-underline-offset:.16em}
a:hover{text-decoration-thickness:2px}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.65}
input,select,textarea{display:block;width:100%;max-width:100%;min-height:46px;margin-top:.4rem;padding:.7rem .85rem;border:1.5px solid #5a93ba;border-radius:10px;background:#fff;color:var(--navy)}
textarea{min-height:112px;resize:vertical}
label{display:block;margin:.85rem 0;font-weight:700}
label input[type=checkbox]{display:inline-block;width:20px;height:20px;min-height:0;margin:0 .4rem 0 0;vertical-align:middle;accent-color:#075396}
progress{display:block;width:100%;height:15px;margin:.55rem 0;border:0;border-radius:999px;overflow:hidden;background:#a0c7e3;accent-color:var(--cyan)}
progress::-webkit-progress-bar{background:#a0c7e3;border-radius:999px}
progress::-webkit-progress-value{background:linear-gradient(90deg,#30bce9,#10d5e9);border-radius:999px}
progress::-moz-progress-bar{background:linear-gradient(90deg,#30bce9,#10d5e9);border-radius:999px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip{position:absolute;left:-10000px;top:auto}
.skip:focus{left:1rem;top:1rem;z-index:100;padding:.6rem 1rem;background:#fff;color:var(--navy)}
.portal-header{border-bottom:1px solid #4b91c5;background:#041b36;color:#fff}
.portal-header-inner{max-width:1540px;min-height:70px;margin:auto;padding:.65rem clamp(1rem,2.3vw,2.2rem);display:flex;align-items:center;gap:clamp(.8rem,2vw,2rem)}
.portal-brand{display:flex;align-items:center;gap:1.05rem;color:#fff;text-decoration:none;font-size:1.06rem;font-weight:800;white-space:nowrap}
.portal-brand img{width:160px;height:auto;max-height:54px;object-fit:contain}
.portal-brand span{padding-left:1.05rem;border-left:1px solid #7eb4d7}
.portal-main-nav{display:flex;align-items:center;gap:1.1rem;margin-left:auto}
.portal-main-nav a,.portal-return{color:#fff;font-weight:700;text-decoration:none}
.portal-main-nav a[aria-current=page]{color:#ffb451}
.portal-return{margin-left:auto;text-decoration:underline}
.portal-logout{margin:0}
.portal-logout button{padding:.55rem .85rem;border:1px solid #7eb4d7;border-radius:10px;background:transparent;color:#fff;font-size:.88rem}
.portal-logout button:hover{background:#18547e}
main{max-width:1540px;min-height:calc(100vh - 154px);margin:auto;padding:clamp(1rem,2vw,2rem) clamp(.8rem,2.3vw,2.2rem) 3rem}
.portal-footer{max-width:1540px;margin:auto;padding:1.15rem clamp(1rem,2.3vw,2.2rem) 1.6rem;border-top:1px solid #8cc9e6;color:#dcefff;display:flex;align-items:center;justify-content:space-between;gap:1rem;font-size:.9rem}
.portal-footer nav{display:flex;gap:1rem;flex-wrap:wrap}
.portal-footer a{color:#f2f9ff}
.box{margin:0;padding:clamp(1.1rem,2vw,1.6rem);border:1px solid #9fcfe9;border-radius:20px;background:linear-gradient(135deg,#ecf8ff,#d5edfc);box-shadow:0 8px 22px #021a3140;color:var(--navy);min-width:0}
.box+.box{margin-top:1rem}
.narrow{max-width:550px;margin:2.5rem auto}
.narrow form>button[type=submit]{width:100%}
.button-primary,button[type=submit]:not(.portal-logout button){display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:.7rem 1.15rem;border:1px solid #e5820d;border-radius:10px;background:var(--orange);color:#092646;font-weight:800;text-decoration:none;box-shadow:0 3px 0 #ba650d}
.button-primary:hover,button[type=submit]:not(.portal-logout button):hover{background:#ffc05d}
.button-primary:active,button[type=submit]:not(.portal-logout button):active{transform:translateY(2px);box-shadow:0 1px 0 #ba650d}
.portal-hero{position:relative;overflow:hidden;padding:clamp(1.3rem,2.5vw,2.5rem);border:1px solid #3e9dd1;border-radius:22px;background:linear-gradient(105deg,#061a38,#083c6d 70%,#0c5e8f);color:#fff}
.portal-hero h1,.portal-hero h2{color:#fff}
.portal-eyebrow{display:block;margin:0 0 .55rem;color:#8be5ff;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.portal-hero p{color:#daecf9}
.portal-back{margin:.2rem 0 1rem;color:#dcefff}
.portal-back a{color:#e5f6ff;font-weight:700}
.portal-welcome{min-height:205px;display:flex;align-items:center;justify-content:flex-start;gap:clamp(1rem,3vw,2.5rem);margin-bottom:1.25rem}
.portal-welcome>div{min-width:0}
.portal-welcome h1{margin-bottom:.35rem}
.portal-welcome p{margin-bottom:0;font-size:1.13rem}
.portal-welcome img{width:155px;max-width:30%;height:auto;object-fit:contain;flex:none}
.portal-page-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(270px,.95fr);align-items:start;gap:1.15rem}
.portal-main-panel>h2:first-child,.portal-main-panel>h3:first-child{margin-bottom:1.2rem}
.portal-side-stack{display:grid;gap:1rem;min-width:0}
.portal-side-stack .box+.box{margin-top:0}
.portal-action-panel{border-color:#f5b33f;background:linear-gradient(135deg,#fff8ea,#ffe8c3)}
.portal-project-list{display:grid;gap:.9rem}
.portal-project-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem;padding:1rem;border:1px solid #7bbde6;border-radius:17px;background:#f2faff}
.portal-project-card-main{display:flex;gap:1rem;min-width:0}
.portal-project-card-main>div{min-width:0;flex:1}
.portal-project-card h3{margin:.05rem 0 .35rem}
.portal-project-card p{margin:.25rem 0}
.portal-card-icon{display:grid;place-items:center;flex:none;width:50px;height:50px;border:1px solid #84bfe3;border-radius:12px;background:#dbf0ff;color:#0b5486;font-size:1.8rem}
.portal-status{display:inline-block;padding:.25rem .65rem;border-radius:999px;background:#c5e7f7;color:#06345d;font-size:.85rem;font-weight:800}
.portal-project-progress{margin:.5rem 0 .1rem!important}
.portal-project-card-actions{display:flex;flex-direction:column;align-items:end;justify-content:center;gap:.7rem;min-width:170px;border-left:1px solid #8dbddd;padding-left:1rem;text-align:right}
.portal-project-card-actions p{margin:0}
.portal-project-card-actions .button-primary{width:100%}
.portal-plain-list{list-style:none;margin:0 0 1rem;padding:0}
.portal-plain-list li{padding:.55rem 0;border-bottom:1px solid #9fcde7}
.portal-plain-list small{display:block;color:#315f7c}
.portal-message-excerpt{max-height:4.8em;overflow:hidden}
.portal-project-hero{display:grid;grid-template-columns:clamp(92px,12vw,170px) minmax(0,1fr);align-items:center;gap:1rem 1.5rem;margin-bottom:1rem}
.portal-project-mascot{grid-column:1;grid-row:1;width:100%;height:auto;object-fit:contain}
.portal-hero-details{grid-column:2;grid-row:1;min-width:0}
.portal-project-hero h1{margin:.2rem 0}
.portal-establishment{margin:0;color:#aee5f8!important}
.portal-project-title{margin:.3rem 0;font-size:1.25rem;font-weight:700}
.portal-project-switch{display:inline-flex;align-items:center;gap:.6rem;margin:.4rem 0;color:#e6f8ff;font-size:.9rem}
.portal-project-switch select{width:min(260px,100%);min-height:38px;margin:0;padding:.4rem .55rem;border-color:#8bcceb;background:#072b4f;color:#fff}
.portal-global-progress{max-width:820px;margin:1.1rem 0 0}
.progress-heading{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;font-weight:700}
.progress-heading strong{white-space:nowrap}
.portal-hero progress{height:16px;background:#608fb7}
.portal-hero progress::-webkit-progress-bar{background:#608fb7}
.portal-hero-aside{grid-column:2;display:flex;align-items:center;justify-content:start;min-width:0}
.portal-hero-aside:empty{display:none}
.portal-site-link{min-width:0}
.portal-site-link .button-primary{max-width:100%;text-align:center}
.portal-site-link p{margin:.7rem 0 0;font-size:.82rem}
.portal-tabs{display:flex;align-items:center;gap:.3rem;margin:0 0 1.2rem;border-bottom:1px solid #9fcfee}
.portal-tabs a{display:inline-flex;align-items:center;gap:.4rem;padding:.7rem 1rem;border:1px solid transparent;border-radius:11px 11px 0 0;color:#e7f8ff;font-weight:800;text-decoration:none}
.portal-tabs a:hover{background:#164e79}
.portal-tabs a[aria-current=page]{border-color:#e5820d;background:var(--orange);color:#092646}
.portal-count{display:inline-grid;place-items:center;min-width:1.45rem;height:1.45rem;padding:0 .2rem;border-radius:999px;background:#56c6ed;color:#082b50;font-size:.78rem;font-weight:900}
.portal-bottom-nav,.portal-mobile-pending{display:none}
.portal-section-heading{margin:0 0 1rem;color:#fff}
.portal-section-heading h1,.portal-section-heading h2{margin-bottom:.3rem;color:#fff}
.portal-section-heading p{margin-bottom:0;color:#dceeff}
.portal-step-list{display:grid;gap:.8rem;list-style:none;margin:0;padding:0}
.portal-step-card{padding:1rem;border:1px solid #71b7df;border-radius:15px;background:#f5fbff}
.portal-task-service{display:block;margin-bottom:.3rem;color:#24638e;font-weight:700}
.portal-step-heading,.portal-request-heading{display:flex;align-items:start;justify-content:space-between;gap:.8rem}
.portal-step-heading h3,.portal-request-heading h4{margin:.1rem 0 .35rem}
.portal-step-heading .portal-status,.portal-request-heading .portal-status{white-space:nowrap}
.portal-step-card p{margin:.25rem 0 .7rem}
.portal-step-card .progress-heading{margin-top:.6rem;font-size:.9rem}
.portal-muted,.portal-upload-limits{color:#365c78;font-size:.87rem}
.portal-panel-heading{display:flex;align-items:center;justify-content:flex-start;gap:.7rem}
.portal-panel-heading h3{margin:0 0 .5rem}
.portal-panel-heading img{width:70px;height:70px;flex:none;object-fit:contain}
.portal-request-card,.portal-document-card{padding:1rem 0;border-top:1px solid #9ac8e3}
.portal-request-card:first-of-type,.portal-document-card:first-of-type{border-top:0}
.portal-request-card p,.portal-document-card p{margin:.25rem 0 .65rem}
.portal-request-card form{margin-top:.9rem}
.portal-request-card .button-primary{margin-top:.5rem}
.portal-request-card .portal-file-picker{margin:.5rem 0}
.portal-file-picker{display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:42px;padding:.55rem .8rem;border:1.5px solid #20699c;border-radius:9px;background:#eaf6ff;color:#073a6b;font-weight:800;cursor:pointer}
.portal-file-picker:hover{background:#d4edff}
.portal-file-picker.is-dragover{border-color:#e5820d;background:#fff1d6}
.portal-file-picker input{position:absolute;width:1px;height:1px;min-height:0;opacity:0;overflow:hidden}
.portal-file-picker:focus-within{outline:3px solid var(--orange);outline-offset:3px}
.portal-upload-progress{height:10px}
.portal-history{margin-top:1rem;padding:.75rem;border-top:1px solid #9ac8e3}
.portal-history summary{cursor:pointer;font-weight:800}
.portal-notice{padding:.85rem 1rem;border:1px solid #74bf89;border-radius:10px;background:#e2f8e8;color:#10412b}
.reply,.version{margin:.6rem 0;padding:.75rem;border-left:4px solid #ffab33;border-radius:7px;background:#f4fbff}
.version{display:grid;gap:.35rem}
.portal-inline-actions{display:flex;align-items:center;gap:.9rem;flex-wrap:wrap}
.portal-inline-actions a{font-weight:800}
.portal-conversation{display:grid;gap:.8rem}
.portal-chat-message{max-width:85%;padding:.8rem 1rem;border:1px solid #81bce1;border-radius:14px;background:#f4fbff}
.portal-chat-message.is-mine{justify-self:end;background:#d3ecfb}
.portal-chat-message p{margin:.45rem 0 0;white-space:pre-wrap}
.portal-chat-meta{display:flex;align-items:baseline;gap:.7rem;flex-wrap:wrap;font-size:.86rem}
.portal-chat-meta time{color:#365c78}
.portal-attachment{padding-top:.3rem;border-top:1px solid #a9cee7;font-size:.88rem}
.portal-composer{padding:1rem;border:1px solid #80c5ea;border-radius:15px;background:#d7effe}
.portal-composer h3{margin:0 0 .5rem}
.portal-composer-actions{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.portal-contact-card{position:relative;min-height:160px;overflow:hidden}
.portal-contact-card img{position:absolute;left:.3rem;bottom:.1rem;width:100px;height:auto}
.portal-contact-card h3,.portal-contact-card p{padding-left:105px}
.portal-documents-title{display:flex;align-items:center;justify-content:flex-start;gap:1rem}
.portal-documents-title img{width:110px;height:auto;flex:none}
.portal-documents-title>div{min-width:0}
.portal-filter{display:flex;align-items:end;gap:1rem;margin-bottom:1rem}
.portal-filter label{flex:1;margin:0}
.portal-filter button{margin-bottom:0}
.error{color:#a01d19;font-weight:700}
.preview{margin:0 0 1rem;padding:.8rem;border:1px solid #ffac33;border-radius:10px;background:#ffefd3;color:#593a0f;font-weight:700}
.password-toggle{display:block;margin:-.25rem 0 .75rem;padding:.3rem .1rem;border:0;background:transparent;color:#075396;text-decoration:underline;font-size:.9rem;font-weight:700}
.portal-login-page main{min-height:calc(100vh - 155px);display:grid;align-items:center}
.portal-login-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:center;gap:clamp(2rem,4vw,5rem)}
.portal-login-intro{position:relative;min-height:600px;padding:clamp(1rem,2vw,2rem) 0;color:#fff}
.portal-login-intro h1{font-size:clamp(2.6rem,5vw,5rem);margin:0 0 1rem;color:#fff}
.portal-login-lead{max-width:600px;margin-bottom:2.3rem;color:#d6edff;font-size:clamp(1.08rem,1.7vw,1.35rem)}
.orange-dot{color:var(--orange)}
.portal-benefits{position:relative;z-index:1;display:grid;gap:1.4rem;max-width:440px;margin:0;padding:0;list-style:none}
.portal-benefits li{display:flex;gap:.85rem;align-items:start}
.portal-benefits strong,.portal-benefits small{display:block}
.portal-benefits strong{font-size:1.05rem}
.portal-benefits small{margin-top:.2rem;line-height:1.45;color:#d8eeff}
.portal-benefit-icon{display:grid;place-items:center;flex:none;width:46px;height:46px;border:1px solid #62b9ee;border-radius:11px;background:#126193;color:#fff;font-size:1.5rem}
.portal-login-mascot{position:absolute;right:0;bottom:0;width:min(26%,165px);height:auto;max-height:300px;object-fit:contain}
.portal-login-card{padding:clamp(1.5rem,3vw,3rem);background:linear-gradient(135deg,#e4f3ff,#cbe6f8)}
.portal-login-card h2{font-size:clamp(1.8rem,2.7vw,2.7rem);margin-bottom:1.5rem}
.portal-login-card label{margin:1rem 0}
.portal-login-card input:not([type=checkbox]){border:2px solid #3681c2}
.portal-login-options{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:.5rem 0 1.1rem}
.portal-login-options .portal-check{margin:0;white-space:nowrap}
.portal-login-options a{font-size:.9rem;font-weight:700}
.portal-login-card .button-primary{width:100%;font-size:1.08rem}
.portal-login-card>p{font-size:.9rem;text-align:center}
.portal-login-help{margin-top:1.7rem;padding-top:1rem;border-top:1px solid #a2cbe2}
@media(max-width:1100px){.portal-hero-aside{flex-direction:column-reverse;align-items:end;text-align:right}.portal-hero-aside img{width:100px}.portal-login-mascot{width:100px}.portal-benefits{max-width:calc(100% - 90px)}}
@media(max-width:850px){.portal-page-grid{grid-template-columns:1fr}.portal-project-hero{grid-template-columns:minmax(0,1fr) 170px}.portal-hero-aside{padding-left:.8rem}.portal-login-layout{gap:1.5rem}.portal-login-intro{min-height:540px}.portal-benefits{max-width:100%}.portal-login-mascot{display:none}}
@media(max-width:700px){main{padding-bottom:calc(6rem + env(safe-area-inset-bottom))}.portal-header-inner{flex-wrap:wrap;gap:.5rem;min-height:62px}.portal-brand{gap:.5rem;font-size:.85rem}.portal-brand img{width:123px}.portal-brand span{padding-left:.6rem}.portal-main-nav{order:3;width:100%;justify-content:center;margin:0}.portal-main-nav a{font-size:.84rem}.portal-logout{margin-left:auto}.portal-logout button{font-size:.78rem;min-height:38px}.portal-return{font-size:.8rem}.portal-footer{flex-direction:column;text-align:center}.portal-login-page main{padding-bottom:1.5rem}.portal-login-layout{display:flex;flex-direction:column}.portal-login-card{order:1;width:100%}.portal-login-intro{order:2;min-height:0;width:100%;padding:1rem 0}.portal-login-intro h1{font-size:2.25rem}.portal-login-lead{margin-bottom:1rem}.portal-benefits{gap:.8rem}.portal-benefits small{font-size:.84rem}.portal-welcome{min-height:135px}.portal-welcome img{width:100px}.portal-project-hero{display:block}.portal-hero-aside{flex-direction:row;align-items:center;justify-content:space-between;margin-top:1rem;padding:1rem 0 0;border-left:0;border-top:1px solid #7ebbe3;text-align:left}.portal-hero-aside img{width:80px}.portal-site-link p{font-size:.78rem}.portal-tabs{display:none}.portal-bottom-nav{position:fixed;z-index:50;right:0;bottom:0;left:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:.45rem .3rem calc(.45rem + env(safe-area-inset-bottom));border-top:1px solid #5cafdf;border-radius:14px 14px 0 0;background:#052648;box-shadow:0 -4px 18px #01172c80}.portal-bottom-nav a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.05rem;min-height:55px;border-radius:10px;color:#fff;font-size:.72rem;font-weight:750;text-align:center;text-decoration:none}.portal-bottom-nav a[aria-current=page]{background:#12639a;box-shadow:inset 0 -3px 0 var(--orange)}.portal-bottom-nav a>span{font-size:1.35rem;line-height:1}.portal-bottom-nav .portal-count{position:absolute;top:0;right:6%;min-width:1.1rem;height:1.1rem;font-size:.68rem}.portal-mobile-pending{display:grid;gap:.15rem;margin:0 0 1rem;padding:.9rem;border:1px solid #ffb442;border-radius:12px;background:#fff2d9;color:var(--navy);text-decoration:none}.portal-mobile-pending b{justify-self:end;text-decoration:underline}.portal-project-card{grid-template-columns:1fr}.portal-project-card-actions{align-items:stretch;min-width:0;padding:0;border-left:0;text-align:left}.portal-project-card-actions .button-primary{width:100%}.portal-contact-card img{width:75px}.portal-contact-card p{padding-right:80px}}
@media(max-width:420px){.portal-brand img{width:105px}.portal-brand span{font-size:.75rem}.portal-logout button{padding:.35rem .55rem}.portal-hero{padding:1.05rem}.portal-project-hero h1{font-size:1.8rem}.portal-project-title{font-size:1.05rem}.portal-hero-aside img{width:64px}.portal-site-link .button-primary{font-size:.84rem}.portal-login-card{padding:1.2rem}.portal-login-card h2{font-size:1.65rem}.portal-login-options{align-items:start;flex-direction:column}.portal-step-heading,.portal-request-heading{flex-wrap:wrap}.portal-chat-message{max-width:100%}.portal-composer-actions{align-items:stretch;flex-direction:column}.portal-composer-actions .button-primary{width:100%}.portal-filter{align-items:stretch;flex-direction:column}.portal-filter label,.portal-filter button{width:100%}}
@media(max-width:850px){.portal-project-hero{grid-template-columns:110px minmax(0,1fr)}}
@media(max-width:700px){.portal-project-hero{display:grid;grid-template-columns:80px minmax(0,1fr);gap:.7rem 1rem}.portal-project-mascot{grid-column:1;grid-row:1}.portal-hero-details{grid-column:2;grid-row:1}.portal-hero-aside{grid-column:1/-1;grid-row:2;margin-top:.3rem;padding:.8rem 0 0;border-top:1px solid #7ebbe3;text-align:left}.portal-welcome{gap:.9rem}.portal-welcome img{width:86px;max-width:26%}.portal-welcome h1{font-size:clamp(1.8rem,6vw,2.8rem)}.portal-welcome p{font-size:1rem}}
@media(max-width:420px){.portal-project-hero{grid-template-columns:64px minmax(0,1fr)}.portal-welcome img{width:66px}.portal-welcome h1{font-size:1.6rem}}
@media(max-width:700px){.portal-contact-card h3,.portal-contact-card p{padding-left:80px;padding-right:0}.portal-documents-title img{width:76px}}
@media(prefers-reduced-motion:no-preference){button,.button-primary,.portal-tabs a,.portal-bottom-nav a{transition:background .15s,border-color .15s,transform .15s}}
