:root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#3f3f3f;background:#f0f0f0}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{border:0;border-radius:8px;padding:.78rem 1rem;background:#e6745c;color:#fff;font-weight:700;cursor:pointer;transition:background .18s ease,transform .18s ease}button:hover:not(:disabled){background:#cc604a;transform:translateY(-1px)}button:disabled{opacity:.65;cursor:wait}label{display:grid;gap:.38rem;font-size:.9rem;font-weight:650}input,select{width:100%;border:1px solid #d4d0ce;border-radius:7px;padding:.7rem;color:#3f3f3f;background:#fff}input:focus,select:focus{outline:2px solid #e6745c;outline-offset:1px;border-color:#e6745c}h1,h2,p{margin-top:0}.centered,.auth{min-height:100vh;display:grid;place-items:center;padding:1.5rem}.auth form{width:min(100%,410px);background:#fff;padding:2.25rem;border-radius:16px;border-top:5px solid #e6745c;box-shadow:0 18px 40px #3f3f3f1f;display:grid;gap:1rem}.auth h1{margin-bottom:0}.app-shell{max-width:1100px;margin:auto;padding:2rem 1.25rem 3rem}header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.75rem}.brand{display:flex;align-items:center;gap:.8rem}.brand a,.auth-logo{display:inline-flex}.brand img{width:48px;height:48px;object-fit:contain}.auth-logo img{width:62px;height:62px;object-fit:contain}header h1{margin:.2rem 0 0;font-size:clamp(1.5rem,4vw,2rem)}.eyebrow{color:#e6745c;font-weight:800;font-size:.72rem;letter-spacing:.12em}.user{display:flex;align-items:center;gap:.75rem;font-size:.9rem}.link{background:transparent;color:#3f3f3f;padding:.25rem}.link:hover:not(:disabled){background:transparent;color:#e6745c;transform:none}.grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:1rem;margin-bottom:1rem}.card{background:#fff;border-radius:14px;padding:1.4rem;box-shadow:0 8px 25px #3f3f3f14}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem}.section-heading h2{margin-bottom:.8rem}.quote-form{display:grid;gap:.9rem}.split{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}fieldset{border:1px solid #ddd8d6;border-radius:8px;display:grid;grid-template-columns:1fr 1fr;gap:.65rem;padding:.85rem}legend{padding:0 .35rem;color:#69615e;font-size:.86rem}.check{display:flex;align-items:center;gap:.45rem;font-weight:500}.check input{width:auto}.result{background:#3f3f3f;color:#fff;align-self:start;border-bottom:5px solid #e6745c}.result .eyebrow{color:#e6745c}.result small{color:#e6e1de}.result h2{font-size:2.5rem;margin:.7rem 0 1.25rem}.result.empty{background:#e9edf7;color:#313a54;min-height:220px}.range{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin:1.25rem 0}.range span{padding:.7rem;border-radius:8px;background:#ffffff16;border-left:2px solid #e6745c;display:grid;gap:.25rem;font-size:.8rem}.range strong{font-size:1.25rem}.overhead{display:grid;gap:.55rem;margin:1.2rem 0;padding:.9rem 0;border-top:1px solid #ffffff2d;border-bottom:1px solid #ffffff2d}.overhead>strong{font-size:.82rem;text-transform:uppercase;letter-spacing:.05em;color:#e6745c}.overhead span{display:flex;justify-content:space-between;gap:.6rem;font-size:.8rem;color:#e6e1de}.overhead b{color:#fff;white-space:nowrap}.scope-note{padding-top:.9rem;border-top:1px solid #ffffff2d;font-size:.78rem;line-height:1.45;color:#e6e1de}.history{display:grid}.history article{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:1rem;padding:.85rem 0;border-top:1px solid #ece8e5}.history article div{display:grid;gap:.22rem}.history article div:last-child{text-align:right}.history span,.muted{color:#766f6c;font-size:.88rem}.error{color:#933d2b;background:#fcedea;border-left:3px solid #e6745c;border-radius:8px;padding:.75rem}.success{color:#245a43;background:#e9f5ee;border-left:3px solid #4f9a72;border-radius:8px;padding:.75rem}.secondary{background:#f0f0f0;color:#3f3f3f;padding:.5rem .7rem}.secondary:hover:not(:disabled){background:#e5dfdc;color:#3f3f3f}.catalog{margin-top:1rem}.catalog-table{border:1px solid #e1dcda;border-radius:8px;overflow:hidden;margin-bottom:1rem}.catalog-row{width:100%;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:1rem;text-align:left;color:#3f3f3f;background:#fff;border-radius:0;border-bottom:1px solid #eeeae8;font-weight:500}.catalog-row:hover:not(:disabled){background:#fdf8f6;color:#3f3f3f}.catalog-row:last-child{border-bottom:0}.catalog-row small{display:block;color:#766f6c;margin-top:.15rem}.active{color:#5a7d5a;font-weight:700}.inactive{color:#b14b39;font-weight:700}.catalog-form{border-top:1px solid #e1dcda;padding-top:1rem}.catalog-form h3{margin-top:0}.catalog-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;margin-bottom:.85rem}.user-management{display:grid;gap:1rem;max-width:850px}.user-list{display:grid}.user-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:1rem;padding:.85rem 0;border-top:1px solid #ece8e5}.user-row div{display:grid;gap:.22rem}.user-row span{color:#766f6c;font-size:.88rem}.user-row .active{color:#5a7d5a;font-weight:700}.user-row .inactive{color:#b14b39;font-weight:700}.user-row .user-role{color:#3f3f3f;font-weight:700}.portal-shell{min-height:100vh;display:grid;grid-template-columns:250px minmax(0,1fr);background:#f0f0f0}.sidebar{background:#3f3f3f;color:#fff;padding:1.5rem 1rem;display:flex;flex-direction:column}.sidebar-brand{color:#fff;text-decoration:none;display:grid;gap:.65rem;padding:.4rem .65rem 1.8rem;font-size:.68rem;font-weight:800;letter-spacing:.16em}.sidebar-brand img{width:70px;height:56px;object-fit:contain;object-position:left}.sidebar nav{display:grid;gap:.35rem}.sidebar nav button{text-align:left;background:transparent;color:#e8e5e3;font-weight:600;padding:.75rem .8rem}.sidebar nav button:hover:not(:disabled),.sidebar nav .nav-active{background:#ffffff14;color:#fff;transform:none}.sidebar nav .nav-active{border-left:3px solid #e6745c;border-radius:0 8px 8px 0}.sidebar-user{margin-top:auto;padding:1rem .65rem 0;border-top:1px solid #ffffff28;display:grid;gap:.25rem;font-size:.86rem}.sidebar-user span{color:#ccc4c0;text-transform:capitalize}.sidebar-user .link{color:#fff;justify-self:start;margin-top:.5rem}.portal-content{width:min(1180px,100%);padding:2.25rem clamp(1.25rem,4vw,3.5rem) 3rem}.page-header{margin-bottom:1.75rem}.page-header h1{margin:.22rem 0 0;font-size:clamp(1.65rem,4vw,2.35rem)}.overview-hero{background:#3f3f3f;color:#fff;border-radius:14px;padding:clamp(1.5rem,4vw,2.5rem);display:flex;align-items:center;justify-content:space-between;gap:1.5rem;margin-bottom:1rem;border-bottom:5px solid #e6745c}.overview-hero h2{max-width:600px;margin:.55rem 0 .7rem;font-size:clamp(1.5rem,3vw,2.2rem)}.overview-hero p{color:#e4ddda;margin:0}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:1rem}.metric-grid article{background:#fff;border-radius:12px;padding:1.2rem;box-shadow:0 8px 25px #3f3f3f14;display:grid;gap:.45rem}.metric-grid span{color:#766f6c;font-size:.86rem}.metric-grid strong{font-size:1.45rem}.estimate-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.6fr);gap:1rem;align-items:start}.estimate-layout>.result{position:sticky;top:1.5rem;max-height:calc(100vh - 3rem);overflow-y:auto}.question-list{display:grid;border-top:1px solid #ece8e5}.question{grid-template-columns:minmax(0,1fr) minmax(170px,.55fr);align-items:center;gap:1rem;padding:.8rem 0;border-bottom:1px solid #ece8e5}.question span{display:grid;gap:.3rem}.question b{font-size:.91rem}.question small{color:#766f6c;font-size:.78rem;font-weight:500;line-height:1.35}.notice{max-width:750px;border-left:5px solid #e6745c}.notice h2{margin:.65rem 0}@media(max-width:900px){.portal-shell{grid-template-columns:1fr}.sidebar{min-height:auto;padding:.8rem 1.25rem}.sidebar-brand{display:flex;align-items:center;padding:0 0 .6rem}.sidebar-brand img{width:50px;height:40px}.sidebar nav{display:flex;overflow-x:auto}.sidebar nav button{white-space:nowrap}.sidebar-user{display:none}.portal-content{padding-top:1.5rem}}@media(max-width:760px){.grid{grid-template-columns:1fr}header{align-items:flex-start;flex-direction:column}.user{width:100%;justify-content:space-between}.history article,.catalog-row,.user-row{grid-template-columns:1fr auto}.history article .secondary,.catalog-row span:last-child,.user-row .user-role,.user-row button{grid-column:1 / -1}.catalog-fields{grid-template-columns:1fr}}@media(max-width:650px){.page-header,.overview-hero{align-items:flex-start;flex-direction:column}.metric-grid,.estimate-layout{grid-template-columns:1fr}.estimate-layout>.result{position:static;max-height:none;overflow:visible}.question{grid-template-columns:1fr;gap:.55rem}.history article{gap:.55rem}}
