*{box-sizing:border-box}body{margin:0;background:#f5f8fc;color:#172b45;font:16px/1.55 "Inter",Arial,sans-serif}header{background:white;border-bottom:1px solid #dbe3ed;padding:16px max(5vw,calc((100vw - 1050px)/2));display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{color:inherit;text-decoration:none;font-size:22px;letter-spacing:-1px;white-space:nowrap}.logo{display:inline-grid;place-items:center;background:#123361;color:#e9c77e;border-radius:9px;width:36px;height:36px;font-size:28px;line-height:1;margin-right:5px}small{font-size:14px;color:#506680}main{max-width:1090px;margin:32px auto;padding:0 20px 64px}.hero{display:flex;position:relative;isolation:isolate;overflow:hidden;background:#123361;border-radius:18px;min-height:205px;color:white;align-items:center;padding:32px 5%}.hero img{position:absolute;right:0;top:0;width:53%;height:100%;object-fit:contain;z-index:-1}.hero div{max-width:52%}.hero small{color:#e9c77e;font-weight:bold;letter-spacing:2px;font-size:12px}h1{font-size:clamp(28px,4vw,47px);letter-spacing:-1.8px;margin:5px 0 16px;line-height:1.15;overflow-wrap:anywhere}button,select,input,textarea{font:inherit}button{border:1px solid #c9d6e7;border-radius:9px;background:white;color:#164679;padding:9px 15px;font-weight:600;cursor:pointer}.light{background:transparent;color:white;border-color:#91adca;font-size:14px}nav{display:flex;margin:18px 0 28px;border-bottom:1px solid #cbd7e6}nav button{border:0;border-radius:0;background:none;color:#536780}nav button.active{color:#104c95;border-bottom:3px solid #1266c7}.heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}h2{font-size:26px;letter-spacing:-1px;margin:0}.primary{background:#075abb;color:white;border-color:#075abb}.card{background:white;border:1px solid #dce4ef;padding:20px;border-radius:13px;margin:12px 0}.stage{display:flex;align-items:center;gap:14px}.stage span.icon{background:#e9f2fd;color:#185482;width:44px;height:44px;display:grid;place-items:center;border-radius:11px;font-size:22px}.stage b{display:block}.stage button{margin-left:auto}.muted{color:#56687a}.meta{color:#486581;font-size:14px}.entry p{white-space:pre-wrap;overflow-wrap:anywhere}.photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:10px}.photos img{width:100%;height:135px;object-fit:cover;border-radius:9px}.photos button{border:0;padding:0;text-align:left}.full{width:100%;max-height:70vh;object-fit:contain}dialog{width:min(95%,500px);border:0;border-radius:16px;padding:24px;color:inherit;max-height:90vh}dialog::backdrop{background:#0d203d88}label{display:block;font-weight:600;margin:12px 0}input,textarea,select{display:block;width:100%;padding:10px;border:1px solid #b9cadd;border-radius:8px;background:white;color:inherit;margin-top:4px}textarea{min-height:95px}.actions{display:flex;flex-wrap:wrap;gap:9px}.costrow{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-top:1px solid #e1e7ef}.costrow b{white-space:nowrap}#status:not(:empty){position:fixed;bottom:18px;left:50%;transform:translateX(-50%);background:#123361;color:white;padding:10px 17px;border-radius:10px;z-index:4}#fields .error{color:#963a28}@media(max-width:600px){main{padding:0 13px 55px;margin-top:15px}.hero{min-height:163px;padding:22px 17px}.hero img{width:46%}.hero div{max-width:57%}nav button{flex:1;font-size:14px;padding:12px 4px}header{padding:12px 16px}header small{font-size:12px}.card{padding:15px}h2{font-size:22px}.heading button{font-size:14px}.stage{gap:10px}}
[hidden]{display:none!important}.projectButtons{display:flex;gap:8px;flex-wrap:wrap}.projectButtons button{font-size:14px}.email{overflow-wrap:anywhere}.heading{flex-wrap:wrap}a{color:#094f9f}.hero .light{margin:4px 4px 0 0}.messages{max-height:52vh;overflow:auto}
.filename{overflow-wrap:anywhere}.download{padding:9px 15px;border:1px solid #c9d6e7;border-radius:9px;font-weight:600}nav{flex-wrap:wrap}

.documentPick{position:relative;display:inline-flex;align-items:center;margin:0;padding:9px 15px;border-radius:9px;cursor:pointer;overflow:hidden}.documentPick input{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;opacity:0;cursor:pointer}.documentPick:focus-within{outline:2px solid #075abb;outline-offset:2px}
.budgetNumbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0;color:#123361}.budgetNumbers b{display:block;overflow-wrap:anywhere}.budgetSection h3{background:#123361;color:white;padding:12px;border-radius:8px}.budgetSection article{padding:12px 0;border-bottom:1px solid #dce4ef}.budgetSection p{white-space:pre-wrap;overflow-wrap:anywhere}

label.projectChoice{display:flex;align-items:center;gap:.65rem;overflow-wrap:anywhere}label.projectChoice input{width:1.2rem;height:1.2rem;flex:none;margin:0}

#scanPreview{display:block;width:auto;height:auto;max-width:100%;max-height:42vh;margin:0 auto 10px;touch-action:none;cursor:crosshair}

.documentMenu .actions{margin-top:8px}.documentMenu summary::-webkit-details-marker{display:none}
