:root{--navy:#003d6e;--navy-deep:#003d6e;--brand:#003d6e;--brand-hover:#002b4e;--brand-soft:#dce6ef;--text:#233448;--muted:#687583;--line:#e3e6e8;--bg:#f5f6f8;--amber:#a36820;--radius:13px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button,a,input,textarea,select,summary{outline-offset:4px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #6186a5}input:focus,textarea:focus,select:focus{outline:0;border-color:#587b97;box-shadow:0 0 0 3px #1c4d7510}a{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:32px;letter-spacing:-1.1px;line-height:1.2;font-weight:640}h2{font-size:21px;letter-spacing:-.5px;line-height:1.3;font-weight:620}h3{font-size:15px;font-weight:620}p{line-height:1.65}svg{flex-shrink:0}.icon{width:20px;height:20px;vertical-align:middle}.small{font-size:12px}.muted{color:var(--muted)}.right{text-align:right!important}.accent{color:var(--brand)}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.7px;color:var(--brand);margin-bottom:10px}.sidebar{position:fixed;inset:0 auto 0 0;width:232px;background:var(--navy-deep);color:#bbc4cc;padding:32px 20px 20px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#fff;font-weight:800;font-size:19px;letter-spacing:1.7px;margin:0 8px 49px}.brand small{display:block;font-size:7px;letter-spacing:2.1px;font-weight:500;color:#a9b3bb;margin-top:1px}.brand-mark{width:37px;height:37px;font-size:29px;line-height:36px;font-weight:900;position:relative;border-bottom:3px solid #9bb7ce;font-style:italic;letter-spacing:-4px}.brand-mark span{font-size:22px;color:#9bb7ce;position:absolute;right:-2px;top:-7px}.workspace-label{font-size:9px;font-weight:600;letter-spacing:1.3px;color:#82909c;margin:0 12px 15px}.nav-item{border:0;background:transparent;color:#9facb7;border-radius:8px;display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:13px 12px;margin-bottom:7px;font-size:13px}.nav-item:hover{background:#ffffff09;color:#fff}.nav-item.active{background:#283743;color:#dce6ee;box-shadow:inset 3px 0 #8babc5}.nav-item .icon{width:18px;height:18px}.nav-count{font-size:10px;margin-left:auto;background:#ffffff14;border-radius:5px;min-width:20px;text-align:center;padding:1px 4px}.sidebar-bottom{margin-top:auto;padding:0 10px;font-size:11px;color:#b5bfc8}.sidebar-bottom>.small{font-size:10px;margin-top:5px;color:#7e8e9b}.pilot-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#a1b8cb;margin-right:6px}.profile{display:flex;align-items:center;gap:10px;border-top:1px solid #ffffff13;margin-top:23px;padding-top:20px;color:#d7dce0}.profile small{display:block;font-size:8px;color:#7f8f9c}.avatar{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;width:34px;height:34px;background:#2c3e4c;color:#dce2e7;font-size:11px;font-weight:600}.main{margin-left:232px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 40px;background:#fff;font-size:12px;color:#6b747c}.slash{color:#bac0c4;margin:0 13px}.topnote{display:flex;align-items:center;gap:13px;font-size:11px}.topnote>span:not(.avatar){color:#bfc4c8}.small-avatar{background:#eaedf0;color:#476074;width:30px;height:30px;margin-left:7px}.page{padding:36px 40px 28px;max-width:1560px;width:100%;margin:0 auto}.page-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-title p{color:var(--muted);font-size:13px;margin-top:9px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:7px;padding:11px 17px;font-size:12px;font-weight:600;white-space:nowrap;transition:background .15s,box-shadow .15s}.btn .icon{width:17px;height:17px}.primary{background:var(--brand);color:white;box-shadow:0 2px 3px #1223310c}.primary:hover:not(:disabled){background:var(--brand-hover);box-shadow:0 3px 8px #12233122}.secondary{background:#fff;border-color:#dce0e3;color:#465460}.secondary:hover:not(:disabled){background:#f0f3f6;border-color:#a6b2bc}.light{background:#eff4f8;color:#263c4e}.light:hover{background:#d3dfe8}.compact{padding:8px 12px}.text-button{display:inline-flex;align-items:center;gap:7px;background:transparent;border:0;padding:0;color:var(--brand);font-size:12px;font-weight:600}.text-button .icon{width:16px;height:16px}.hero{border-radius:var(--radius);background:#1a2c3b;min-height:268px;display:flex;justify-content:space-between;overflow:hidden;padding:31px 37px;color:#edf1f5;position:relative}.hero:after{content:'';position:absolute;top:-120px;right:-70px;width:470px;height:470px;border:1px solid #ffffff08;border-radius:50%;box-shadow:0 0 0 48px #ffffff03,0 0 0 95px #ffffff02;pointer-events:none}.hero-kicker{font-size:9px;letter-spacing:1.5px;color:#a2b2c0;font-weight:600}.hero h2{font-size:30px;line-height:1.14;letter-spacing:-1px;margin:12px 0}.hero p{font-size:12px;color:#b0bcc5;line-height:1.7;margin-bottom:21px}.hero .btn{font-size:11px;padding:9px 13px}.hero-diagram{align-self:center;width:310px;margin:0 15px 0 30px;border:1px solid #ffffff18;background:#ffffff05;border-radius:11px;padding:17px 19px 14px;z-index:1;transform:rotate(-2deg);box-shadow:0 12px 25px #0014241a}.diagram-top{display:flex;justify-content:space-between;align-items:center}.tiny-label{font-size:8px;letter-spacing:1.5px;color:#91a0ad}.badge{display:inline-flex;align-items:center;border-radius:5px;background:#eff0f1;padding:3px 8px;color:#787e82;font-size:10px;white-space:nowrap;font-weight:550}.badge.mint{background:#e1e9f0;color:#3e5c74}.badge.purple{background:#f0edf8;color:#79639b}.hero .badge{font-size:8px;background:#364a5a;color:#bcd2e4}.load-drawing{height:129px;margin:12px 20px 0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end}.load-top{width:102px;height:17px;border:1px solid #89a4bb;border-bottom:0;border-radius:4px 4px 0 0;background:#314556;position:relative}.load-top:before,.load-top:after{content:'';position:absolute;top:-11px;height:10px;width:7px;background:#778d9f;border:2px solid #2a3f51}.load-top:before{left:25px}.load-top:after{right:25px}.load-core{display:flex;gap:6px;justify-content:center;align-items:center;width:144px;height:66px;background:#516779;border:1px solid #9aadbd;border-radius:2px 2px 0 0}.load-core i{display:block;border:1px solid #95a8b7;border-radius:1px;background:#667b8d;width:12px;height:45px}.trailer{height:11px;width:211px;background:#a1b1be;border-bottom:4px solid #52697c;border-radius:2px}.wheels{font-size:14px;letter-spacing:6px;color:#a7b9c7;line-height:17px;padding-left:7px}.diagram-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:12px;border-top:1px solid #ffffff13;padding-top:13px;font-size:9px;color:#bfc7ce}.diagram-bottom b{color:#728697;font-weight:400}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:19px;margin:23px 0 28px}.stats>div{background:#fff;border:1px solid var(--line);border-radius:10px;display:flex;align-items:center;gap:13px;padding:18px 20px}.stat-icon{display:flex;align-items:center;justify-content:center;border-radius:9px;width:40px;height:40px;background:#ecf0f3;color:#5b758b}.stat-icon.amber{background:#faf3e9;color:#b99056}.stat-icon.blue{background:#edf1f7;color:#7694af}.stats strong{font-size:25px;line-height:1.15;font-weight:600;letter-spacing:-.7px;display:block}.stats div>span:not(.stat-icon){display:block;font-size:10px;color:#828a90;margin-top:4px}.panel{border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:0 2px 4px #12233102}.section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:24px 26px 19px}.section-head h2{font-size:17px}.section-head p{color:var(--muted);font-size:11px;margin-top:5px}.table-toolbar{display:flex;justify-content:space-between;gap:16px;padding:0 26px 15px;border-bottom:1px solid var(--line);align-items:center}.tabs{display:flex;gap:6px}.tab{background:none;border:0;border-radius:5px;padding:7px 10px;font-size:11px;color:#828a90}.tab.selected{background:#edf1f4;color:#355269;font-weight:600}.search{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:6px;padding:7px 10px;background:#fff;color:#9da3a8}.search .icon{width:15px;height:15px}.search input{border:0;background:none;font-size:11px;width:180px;padding:0;color:var(--text);box-shadow:none}.search input:focus{box-shadow:none}table{width:100%;border-collapse:collapse}th{font-size:8px;letter-spacing:1px;font-weight:650;color:#93999e;text-align:left;padding:14px 20px;background:#f9fafb}td{padding:18px 20px;border-top:1px solid #eceef0;font-size:11px}td:first-child,th:first-child{padding-left:26px}td:last-child,th:last-child{padding-right:26px}tbody tr:hover{background:#fafbfc}td .small{font-size:10px;margin-top:3px}.project-link{border:0;background:none;color:#303d47;font-weight:600;font-size:12px;padding:0;text-align:left}.project-link:hover{text-decoration:underline}.price-cell{font-size:13px;font-weight:600;white-space:nowrap}.price-cell .small{font-weight:400}.demo-label{font-size:7px;border:1px solid #dae0e5;border-radius:3px;padding:1px 3px;color:#8d979f;margin-left:5px;white-space:nowrap}.icon-button{display:inline-flex;align-items:center;justify-content:center;background:none;border:0;width:31px;height:31px;color:#8a949c;border-radius:5px}.icon-button:hover{background:#edf1f4;color:var(--brand)}.icon-button .icon{width:17px;height:17px}.app-footer{margin-top:auto;display:flex;justify-content:space-between;gap:20px;padding:15px 40px 20px;font-size:8px;letter-spacing:1.5px;color:#9fa4a9}.app-footer span{letter-spacing:0;font-size:10px;color:#91989e}.empty{padding:40px;text-align:center;color:var(--muted);font-size:12px}.loading{padding:100px;text-align:center;color:var(--muted)}.builder-page{padding:25px 34px 30px;width:100%;max-width:1600px;margin:auto}.builder-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.builder-heading>.btn{margin-top:20px}.builder-heading .text-button{font-size:10px;margin-bottom:13px;color:#78828a}.builder-heading h1{font-size:25px;letter-spacing:-.7px}.quote-heading{display:flex;align-items:center;gap:10px;margin-bottom:8px}.dot-separator{margin:0 8px;color:#b9bec3}.stepper{display:flex;list-style:none;padding:0;margin:27px 0 26px;background:#fff;border:1px solid var(--line);border-radius:9px;overflow:hidden}.stepper li{flex:1}.step{border:0;border-right:1px solid var(--line);border-bottom:2px solid transparent;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:15px 8px;background:#fff;color:#9199a0;font-size:10px}.stepper li:last-child button{border-right:0}.step-num{display:inline-flex;width:23px;height:23px;align-items:center;justify-content:center;border-radius:50%;background:#edf0f2;font-size:10px;color:#899299}.step.current{background:#f1f4f7;color:#28455d;border-bottom-color:var(--brand);font-weight:650}.step.current .step-num{background:var(--brand);color:#fff}.step.passed{color:#496277}.step.passed .step-num{background:#dee6ec;color:#496277}.builder-grid{display:grid;grid-template-columns:minmax(0,1fr) 296px;gap:23px;align-items:start}.form-header{padding:26px 28px 22px;border-bottom:1px solid var(--line)}.form-header .eyebrow{font-size:8px;margin-bottom:9px}.form-header h2{font-size:21px}.form-header p{font-size:11px;color:var(--muted);margin-top:8px}.form-body{padding:25px 28px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:19px;margin-bottom:22px}.fields .wide{grid-column:1/-1}.field{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#3c4851;min-width:0}.field>span{font-weight:550}.field small{font-weight:400;font-size:9px;color:#959ca1;margin-left:3px}.field small.help{font-size:10px;line-height:1.5;margin:0;color:#8c9399}.input-wrap{display:flex;position:relative;align-items:center;min-width:0}.field input,.field select,.field textarea,.rate-edit input{border:1px solid #dce0e3;border-radius:6px;background:#fff;padding:10px 12px;color:#3a464f;width:100%;font-size:12px;min-height:39px}.input-wrap input{padding-right:66px}.field input::placeholder,.field textarea::placeholder{color:#abb0b5}.field input[type=date]{padding-right:12px}.unit{position:absolute;right:12px;pointer-events:none;font-size:9px;color:#8b9399}.field textarea{resize:vertical;line-height:1.7;min-height:110px}.subheading{margin:26px 0 12px;font-size:12px}.template-list{display:grid;gap:9px}.template-option{width:100%;display:flex;align-items:center;gap:13px;padding:13px 15px;text-align:left;background:#fff;border:1px solid var(--line);border-radius:7px;color:#707c86}.template-option>span:not(.radio){flex:1}.template-option b{display:block;color:#3f4d59;font-size:12px;font-weight:600}.template-option small{display:block;font-size:10px;color:#9099a0;margin-top:2px}.chosen{background:#f1f5f8!important;border-color:#7890a3!important;box-shadow:0 0 0 1px #7890a310}.radio{display:block;border:1px solid #ccd3d9;width:15px;height:15px;border-radius:50%;flex-shrink:0;background:#fff}.chosen .radio{border:4px solid var(--brand)}.step-footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:10px;padding:18px 28px}.step-footer>.small{font-size:9px;text-align:center}.step-footer .btn{font-size:10px;padding:9px 12px}.quote-summary{position:sticky;top:20px}.summary-card{background:white;border:1px solid #dbe0e4;border-radius:12px;overflow:hidden;box-shadow:0 3px 10px #10233305}.summary-heading{font-size:9px;letter-spacing:1.2px;font-weight:650;display:flex;gap:9px;align-items:center;padding:18px 20px;color:#707d88;border-bottom:1px solid #e5eaee}.summary-heading .icon{width:16px;height:16px}.live-dot{margin-left:auto;width:6px;height:6px;border-radius:50%;background:#8fa4b6}.base-price{padding:22px 21px 17px}.base-price>span{display:block;font-size:11px;color:#7a838b}.base-price strong{display:block;font-size:34px;font-weight:630;letter-spacing:-1.3px;margin:7px 0 3px;color:#263b4d}.base-price small{display:block;font-size:9px;color:#959da3}.summary-lines{padding:0 21px}.summary-lines>div{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 0;font-size:10px;color:#7d868e}.summary-lines b{font-weight:600;color:#445563;white-space:nowrap}.summary-lines .summary-total{border-top:1px solid var(--line);padding-top:15px;margin-top:8px;color:#44525d;font-weight:550}.summary-total b{font-size:14px}.summary-note{font-size:9px;color:#87949f;margin:10px 21px 18px;line-height:1.55}.amber-text{color:var(--amber)!important}.cost-breakdown{margin:0 21px 20px;padding-top:12px;border-top:1px solid var(--line)}.cost-breakdown summary{font-size:10px;color:#778590;cursor:pointer}.cost-breakdown>div{display:flex;justify-content:space-between;font-size:10px;color:#838d96;padding:6px 0;gap:10px}.cost-breakdown b{font-weight:500;color:#5c6b77}.cost-breakdown .cost-total{border-top:1px solid var(--line);margin-top:5px}.cost-breakdown p{font-size:8px;color:#9da6ad;margin-top:6px}.readiness{display:flex;gap:10px;padding:15px 19px;background:#f2f6f9;border-top:1px solid #e4ebf0}.readiness-icon{color:#a99664;display:flex;padding-top:2px}.readiness-icon .icon{width:17px;height:17px}.readiness b{display:block;font-size:10px;color:#837549;font-weight:600}.readiness span:not(.readiness-icon){font-size:9px;line-height:1.6;display:block;margin-top:3px;color:#a69d7d}.summary-card>.text-button{padding:12px 20px;font-size:9px;width:100%;justify-content:space-between;color:#5c7284}.hint-card{display:flex;gap:11px;margin-top:18px;padding:0 9px;color:#8293a1}.hint-card>.icon{margin-top:3px;width:17px;height:17px}.hint-card b{font-size:11px;color:#617687}.hint-card p{font-size:10px;margin:5px 0 8px;color:#8a97a2}.hint-card .text-button{font-size:9px;color:#687f91}.info-box{display:flex;gap:11px;padding:14px 15px;border:1px solid #dde4e9;border-radius:7px;background:#f3f6f9;color:#687f92;margin-bottom:24px}.info-box>.icon{width:18px;height:18px;margin-top:2px}.info-box b{font-size:11px;font-weight:550;display:block;color:#556c7e;margin-bottom:4px}.info-box span{font-size:10px;line-height:1.6;color:#7d909f;display:block}.notice{background:#fcf8ef;border:1px solid #eee5d4;border-radius:7px;padding:13px 16px;font-size:11px;line-height:1.65;color:#9b865f;margin:18px 0}.resource-section{padding:0 0 22px;margin:0 0 24px;border-bottom:1px solid var(--line)}.resource-section h3{font-size:12px;margin-bottom:18px}.resource-section .fields:last-child{margin-bottom:0}.section-number{font-size:9px;color:#8da0b0;background:#eaf0f5;padding:4px 6px;border-radius:4px;margin-right:7px}.checkbox{display:flex;align-items:flex-start;gap:9px;font-size:11px;color:#647481;line-height:1.5;margin:15px 0}.checkbox input{accent-color:var(--brand);margin-top:2px;flex-shrink:0}.checkbox small{display:block;font-size:9px;color:#8a99a5;margin-top:3px}.checkbox.confirmation{padding:14px;background:#f0f4f8;border-radius:6px;margin-bottom:0}.rate-details{border:1px solid var(--line);border-radius:7px;padding:13px 15px}.rate-details summary{font-size:11px;color:#5b7387;cursor:pointer;font-weight:550}.rate-details summary span{float:right;font-size:9px;color:#909eaa;font-weight:400}.rate-details>p{margin:13px 0}.rate-details .fields{gap:14px}.option-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:15px 0 20px}.execution-option{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:15px 12px;border:1px solid var(--line);border-radius:7px;background:#fff;gap:10px}.execution-option b{font-size:11px;font-weight:550;color:#4c5c69}.execution-option small{font-size:9px;color:#8c9ba7}.section-head.inline{padding:25px 0 14px}.section-head.inline p{font-size:10px}.extra-row{border:1px solid var(--line);padding:14px;border-radius:7px;margin-bottom:10px}.extra-top{display:flex;align-items:center;gap:8px;margin-bottom:14px}.extra-top>.field{flex:1}.fields.three{grid-template-columns:1.5fr 1fr .7fr;gap:10px;margin-bottom:0}.extra-row .field input,.extra-row .field select{padding:8px;font-size:10px}.extra-row .checkbox{margin-bottom:0}.compact-empty{padding:20px;background:#f8fafb;border:1px dashed #d4dde5;border-radius:7px;font-size:10px}.extras{margin-bottom:28px}.review-scope{padding:20px;background:#f5f8fa;border:1px solid var(--line);border-radius:7px}.review-scope h3{font-size:17px}.review-scope>p{color:#718391;font-size:11px;margin-top:5px}.scope-text{white-space:pre-wrap;font-size:12px;line-height:1.85;color:#697885;margin:16px 0}.scope-meta{display:flex;flex-wrap:wrap;gap:10px;font-size:9px;color:#8797a4;border-top:1px solid var(--line);padding-top:12px}.scope-meta span+span:before{content:'•';margin-right:10px}.review-issue{width:100%;display:flex;gap:11px;align-items:center;background:#fff;border:1px solid #ece8da;border-radius:6px;padding:13px;margin-bottom:9px;color:#9c885a;text-align:left;font-size:11px}.review-issue .icon{width:16px;height:16px}.review-issue span{flex:1}.calc-error{background:#fbefea;color:#b26b51;border:1px solid #efd8cf;padding:12px;font-size:11px;margin:10px 15px;border-radius:6px}.narrow{max-width:1050px}.settings-panel{margin-top:25px}.rate-edit{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 27px;border-top:1px solid var(--line)}.rate-edit b{font-size:13px;font-weight:550}.rate-edit small{display:block;color:#8394a2;font-size:10px;margin-top:3px}.rate-edit .input-wrap{width:190px}.rate-reason{padding:20px 27px}.settings-footer{padding:20px 27px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.large-search{padding:12px 15px;margin:23px 0 18px}.large-search input{width:100%;font-size:12px}.reference-card{border:1px solid var(--line);border-radius:9px;background:#fff;margin-bottom:11px}.reference-card>summary{display:flex;align-items:center;gap:15px;padding:17px 20px;cursor:pointer;list-style:none}.reference-icon{display:flex;align-items:center;justify-content:center;width:34px;height:34px;background:#ebf1f6;color:#758da0;border-radius:7px;flex-shrink:0}.reference-card b{font-size:12px;font-weight:550}.reference-card small{display:block;font-size:9px;color:#8393a1;margin-top:3px}.reference-card>summary>span:nth-child(2){min-width:175px}.reference-name{font-size:10px;color:#8997a3;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1}.reference-card>summary>span:last-child{color:#7a92a5;font-size:18px}.reference-docs{padding:0 24px 15px}.reference-docs>div{border-top:1px solid var(--line);padding:13px 0}.reference-docs b{word-break:break-word;font-size:10px;color:#6b7a87}.reference-docs p{margin-bottom:10px}.reference-docs .badge{margin-top:7px}.reference-docs small{font-size:9px}.dialog-close{position:absolute;top:15px;right:15px}dialog{border:1px solid var(--line);border-radius:14px;padding:35px;max-width:600px;width:calc(100% - 40px);color:var(--text);box-shadow:0 24px 100px #08172440;max-height:90vh}dialog::backdrop{background:#10202d70;backdrop-filter:blur(3px)}dialog.wide-dialog{max-width:960px}dialog h2{margin:8px 0 10px}dialog>p{font-size:12px}dialog table{margin:20px 0}dialog th,dialog td{padding:12px!important}.new-templates{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:25px}.new-templates>button{background:#f9fbfc;border:1px solid #d7dfe6;border-radius:9px;text-align:left;padding:22px 18px;display:flex;flex-direction:column;align-items:flex-start}.new-templates>button:hover{border-color:#7c95aa;background:#eef3f8}.new-templates>button>.icon{color:#6d879d;margin-bottom:24px;width:28px;height:28px}.new-templates b{font-size:16px;font-weight:600}.new-templates>button>span:not(.text-button){font-size:11px;color:#748ca0;margin:6px 0 13px}.new-templates p{font-size:11px;color:#8c9aa6;margin-bottom:23px}.new-templates .text-button{margin-top:auto;font-size:10px}.proposal-brand{font-size:22px;font-weight:800;letter-spacing:2px;color:#283c4d}.proposal-brand small{font-size:9px;letter-spacing:1px;display:block}.draft-stamp{background:#fbf1e5;color:#a08049;border:1px solid #e7d8ba;padding:8px 11px;font-size:10px;letter-spacing:1px;display:inline-block;margin:20px 0 10px}.proposal-preview{padding:5px 20px}.proposal-preview>p{font-size:12px;margin:15px 0;color:#707f8c}.proposal-preview h3{margin-top:22px}.proposal-prices{border-block:1px solid var(--line);padding:12px 0}.proposal-prices>div{display:flex;justify-content:space-between;padding:7px 0;font-size:13px}.proposal-preview li{font-size:11px;color:#a28a5b;margin-bottom:6px}.proposal-preview .btn{margin-top:20px}#toast{position:fixed;bottom:25px;left:calc(50% + 90px);transform:translate(-50%,15px);background:#172937;color:#e6eef4;padding:12px 20px;border-radius:9px;font-size:12px;box-shadow:0 7px 25px #14273625;opacity:0;pointer-events:none;transition:.2s;z-index:100;max-width:600px}#toast.visible{opacity:1;transform:translate(-50%,0)}
@media(min-width:1550px){.page{padding:42px 55px}.hero{padding:38px 45px}.hero-diagram{margin-right:65px}.hero h2{font-size:35px}.builder-page{padding:30px 48px}.builder-grid{grid-template-columns:minmax(0,1fr) 330px}}
@media(max-width:1180px){.sidebar{width:200px;padding-inline:15px}.brand{font-size:17px;margin-inline:4px}.main{margin-left:200px}.page{padding:28px 26px}.topbar{padding:0 26px}.builder-page{padding:24px}.builder-grid{grid-template-columns:minmax(0,1fr) 265px;gap:17px}.form-header,.form-body{padding:22px}.step-footer{padding:17px 22px}.hero-diagram{width:260px;margin-right:0}.hero{padding:28px}.stats{gap:12px}.stats>div{padding:15px}.stats div>span:not(.stat-icon){font-size:9px}.step{font-size:9px;gap:5px}.step-footer>.small{display:none}.stepper{margin-block:23px}.fields{gap:15px}.option-grid{gap:6px}.execution-option{padding:12px 8px}.execution-option b{font-size:10px}th,td{padding-inline:13px}}
@media(max-width:960px){.sidebar{width:74px;padding:28px 10px}.brand{margin:0 auto 42px;justify-content:center}.brand>span:last-child,.workspace-label,.nav-item .nav-count,.sidebar-bottom{display:none}.nav-item{font-size:0;gap:0;justify-content:center;padding:15px 8px}.nav-item .icon{width:21px;height:21px}.main{margin-left:74px}.hero-diagram{width:255px}.builder-grid{grid-template-columns:minmax(0,1fr) 250px;gap:15px}.form-body,.form-header{padding:20px}.builder-heading h1{font-size:21px}.step{font-size:8px}.step-num{width:19px;height:19px;font-size:9px}.stepper li{min-width:0}.step-footer{padding:16px}.fields.three{grid-template-columns:1fr 1fr}.fields.three .field:first-child{grid-column:1/-1}.option-grid{grid-template-columns:1fr}.execution-option{flex-direction:row;align-items:center;gap:10px;flex-wrap:wrap}.execution-option small{margin-left:25px}.reference-name{max-width:300px}.quote-heading{flex-wrap:wrap}#toast{left:calc(50% + 30px);width:max-content;max-width:80vw}}
@media(max-width:740px){.topbar{height:55px;padding:0 20px}.page{padding:25px 18px}.page-title{align-items:flex-start}.page-title h1{font-size:27px}.page-title p{font-size:11px}.page-title>.btn{font-size:0;padding:10px;gap:0}.page-title>.btn .icon{width:20px;height:20px}.hero{min-height:240px;padding:25px}.hero-diagram{display:none}.hero h2{font-size:29px}.stats{gap:8px}.stats>div{padding:12px;gap:0}.stat-icon{display:none}.stats strong{font-size:22px}.stats div>span:not(.stat-icon){font-size:8px;line-height:1.5}.table-toolbar{padding:0 14px 14px;flex-wrap:wrap}.search{width:100%}.search input{width:100%}.table-wrap{overflow-x:auto}table{min-width:620px}.section-head{padding:20px 17px}.builder-page{padding:22px 17px}.builder-heading>.btn{font-size:0;padding:9px;gap:0}.builder-grid{grid-template-columns:1fr}.quote-summary{position:static}.summary-card .base-price{padding-top:15px}.hint-card{display:none}.step{flex-direction:column;font-size:8px;padding:11px 3px;text-align:center;min-height:69px}.stepper{margin-block:20px}.stepper li{flex:1}.app-footer{padding:15px 20px;font-size:7px;gap:10px}.app-footer span{font-size:8px}.fields{gap:15px}.settings-footer{flex-direction:column;align-items:flex-start}.rate-edit{padding:17px}.rate-edit .input-wrap{width:135px}.reference-name{display:none}.new-templates{grid-template-columns:1fr}.new-templates>button{padding:17px;display:grid;grid-template-columns:35px 1fr;gap:7px 12px}.new-templates>button>.icon{grid-row:1/4;margin:0}.new-templates>button>span:not(.text-button){margin:0}.new-templates>button p{grid-column:2;margin:0}.new-templates>button>.text-button{grid-column:2}dialog{padding:28px 20px}.proposal-preview{padding:0}.proposal-preview table{min-width:0}.quote-heading h1{font-size:20px}.narrow .page-title>.badge{display:none}}
@media(max-width:450px){.sidebar{width:57px;padding-inline:7px}.brand-mark{width:30px;font-size:25px}.main{margin-left:57px}.topnote{gap:7px;font-size:9px}.small-avatar{display:none}.topbar{font-size:10px;padding:0 15px}.page,.builder-page{padding-inline:12px}.page-title h1{font-size:24px}.fields{grid-template-columns:1fr}.form-body,.form-header{padding:18px}.reference-card>summary{padding:14px;gap:9px}.reference-card>summary>span:nth-child(2){min-width:0;flex:1}.step span:last-child{font-size:7px;line-height:1.3}.step{min-height:73px}.stats{gap:5px}.stats>div{padding:10px}.hero h2{font-size:26px}.hero-kicker{font-size:7px}.hero{padding:21px}.app-footer{flex-direction:column;gap:3px}.base-price strong{font-size:30px}.fields.three{grid-template-columns:1fr 1fr}}
@media print{body{background:white;color:black}body>#app,body>#toast{display:none}dialog{position:static!important;max-width:none!important;width:100%!important;max-height:none!important;overflow:visible!important;margin:0;padding:10mm;border:0;box-shadow:none}dialog::backdrop{display:none}.dialog-close,.no-print{display:none!important}.proposal-preview{padding:0}.proposal-preview h2{font-size:24px}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* Official Edwards artwork is displayed unchanged. */
.brand{margin:0 0 39px;min-height:67px}.edwards-logo{display:block;width:100%;height:auto;object-fit:contain}.proposal-brand{background:#142532;display:inline-block;border-radius:5px;padding:12px 18px}.proposal-brand img{display:block;width:200px;height:auto}#toast{pointer-events:auto}#toast .text-button{color:#d5e3ef;margin-left:12px;text-decoration:underline}
@media(max-width:960px){.brand{margin-bottom:40px;min-height:55px}.edwards-logo{width:54px;max-width:100%}}
/* Keep working inputs and supporting instructions comfortably readable. */
.field{font-size:12px}.field input,.field textarea,.field select{font-size:13px}.field small.help{font-size:11px;color:#6d7881}.info-box span{font-size:11px;color:#697782}.info-box b{font-size:12px;color:#485b6b}.summary-lines>div{font-size:11px}.summary-note{font-size:10px;color:#697680}.base-price small{font-size:10px;color:#727d86}.readiness span:not(.readiness-icon){font-size:10px;color:#8b805c}.form-header p{font-size:12px}.step-footer>.small{color:#6e7b86}.reference-docs b{color:#5b6974}.hint-card p{color:#6e7b86}.template-option small{color:#6a7a87}.field small{color:#737e87}

/* Edwards palette: source website blue #003D6E and accent #FF4D00.
   Supporting tints are UI adaptations; orange does not replace warning states. */
:root{--accent:#ff4d00;--brand-soft:#eaf1f8;--line:#e0e5eb}
.sidebar{background:var(--brand);color:#d1dceb}
.nav-item{color:#c1d1e1}.nav-item.active{background:#ffffff12;color:#fff;box-shadow:inset 3px 0 var(--accent)}
.workspace-label{color:#a9c1d7}.sidebar-bottom{color:#d1deeb}.sidebar-bottom>.small,.profile small{color:#b2c8dc}.profile{border-color:#ffffff24}.profile .avatar{background:#ffffff15;color:white}.pilot-dot{background:#ff9c70}
.hero{background:var(--brand);color:white}.hero-kicker{color:#ffb38f}.hero p{color:#c7d8e7}.hero .light{background:white;color:var(--brand)}.hero .light:hover{background:#eaf1f8}
.accent{color:var(--accent)}.hero .badge{background:#ffffff14;color:#e1eef8}.tiny-label{color:#bfd3e5}.diagram-bottom{color:#d7e5f1}.diagram-bottom b{color:#ff9c70}
.load-top{background:#194f7c;border-color:#b9cee1}.load-top:before,.load-top:after{background:#ff9c70;border-color:#003d6e}.load-core{background:#35668f;border-color:#b9cee1}.load-core i{background:#5982a3;border-color:#d0dfea}.trailer{background:#ff7f47;border-bottom-color:#cf3f00}.wheels{color:#bfd3e5}
.primary{background:var(--brand);color:#fff}.primary:hover:not(:disabled){background:var(--brand-hover)}
.eyebrow,.text-button,.tab.selected,.step.current{color:var(--brand)}.step.current{background:#eef4fa;border-bottom-color:var(--accent)}.step.current .step-num{background:var(--brand);color:#fff}
.chosen{background:#eef4fa!important;border-color:#7b9fbf!important}.chosen .radio{border-color:var(--brand)}.template-option b,.execution-option b{color:#294763}.template-option small,.execution-option small{color:#687d91}
.base-price strong{color:var(--brand)}.summary-heading{color:#526d85}.summary-lines b,.summary-lines .summary-total{color:#294763}.summary-lines>div{color:#687583}.base-price>span,.base-price small,.summary-note{color:#697987}
.badge.mint{background:#eaf1f8;color:var(--brand)}.stat-icon{background:#eaf1f8;color:var(--brand)}.stat-icon.blue{background:#eef2f6;color:#52728e}
.info-box{background:#f1f6fa;border-color:#dce6ef;color:#577a99}.info-box b{color:#315572}.info-box span{color:#61768a}.confirmation{background:#f1f6fa!important}
.field,.field input,.field select,.field textarea{color:#2e4358}.field input,.field select,.field textarea,.rate-edit input{border-color:#d9e1e8}.field small,.field small.help{color:#697987}
input:focus,textarea:focus,select:focus{border-color:#547fa3;box-shadow:0 0 0 3px #003d6e12}.checkbox input{accent-color:var(--brand)}
button:focus-visible,a:focus-visible,summary:focus-visible{outline-color:var(--accent)}
.proposal-brand{background:var(--brand)}#toast{background:var(--brand);color:white}#toast .text-button{color:#fff}
.transport-panel{margin-bottom:27px;border-bottom:1px solid var(--line);padding-bottom:24px}.transport-panel .section-head{padding-top:0}.transport-card{border:1px solid var(--line);border-radius:9px;padding:15px;margin:12px 0;background:#fcfdff}.transport-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.transport-card h3{font-size:13px}.transport-card-head p{margin-top:5px;font-size:10px}.transport-card ul{padding-left:16px;font-size:11px;color:#697987;line-height:1.7;margin:12px 0}.transport-card details{font-size:11px;color:#687583}.transport-card-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:13px}.transport-selected{border-color:var(--brand);box-shadow:inset 3px 0 var(--brand)}.transport-fail{color:#a54326;background:#fbede6}.transport-fields{margin-top:18px}.fleet-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.fleet-card{padding:24px}.fleet-card h2{font-size:19px}.fleet-card>p{font-size:12px;color:var(--muted);margin:8px 0}.fleet-card dl{display:grid;grid-template-columns:1fr 1.1fr;font-size:11px;gap:11px;margin:22px 0;color:#687583}.fleet-card dd{margin:0;color:#304d68;overflow-wrap:anywhere}.fleet-card .btn{width:100%}.fleet-error{color:#ae4628;font-size:12px;margin:15px 0}.transport-panel>.notice{margin-top:0}#fleet-form .field input{min-width:0}@media(max-width:850px){.fleet-grid{grid-template-columns:1fr}.transport-card-head{flex-direction:column}.transport-card-footer{align-items:flex-start;flex-direction:column}}

.fleet-research-banner{display:flex;gap:16px;align-items:center;justify-content:space-between;border:1px solid #dce6ef;background:#f1f6fa;padding:18px;margin:18px 0 24px;border-radius:9px}.fleet-research-banner b{font-size:14px}.fleet-research-banner p{margin:6px 0 0}.fleet-research-banner .btn{flex-shrink:0}.research-list{margin:20px 0}.research-profile{border-bottom:1px solid #dce6ef;padding:16px 0}.research-profile summary{cursor:pointer;font-weight:600;font-size:14px}.research-profile summary span{margin-left:12px;font-weight:400}.research-fact{margin:12px 0;padding:12px 15px;background:#f1f6fa;border-radius:6px}.research-fact b{font-size:12px}.research-fact p{font-size:13px;margin:6px 0}.research-profile a{color:var(--brand)}@media(max-width:850px){.fleet-research-banner{align-items:flex-start;flex-direction:column}}

.reference-count{font-size:12px;color:var(--muted);margin:0 0 14px}.reference-sources{margin:9px 0 0;padding-left:17px;font-size:10px;color:#687583;overflow-wrap:anywhere}.reference-sources li{margin:3px 0}.reference-docs small.reference-failed{color:#a34b35;font-weight:600}
.reference-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin:0 0 16px;padding:12px 14px;background:#f5f8fb;border:1px solid #dce6ef;border-radius:8px}
.reference-filters .reference-search-field{flex:2 1 240px;margin:0}
.reference-filters .filter-select{flex:1 1 150px;margin:0}
.reference-filters .filter-select select{width:100%;height:38px}
.reference-filters .clear-filters-btn{height:38px;padding:0 14px;white-space:nowrap;margin:0}
.reference-doc-meta{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:6px 0}

.labor-role{padding:18px;margin:16px 0}.labor-role .section-head{margin-bottom:12px}.labor-role .fields{margin-bottom:0}

.phase-invitation,.phase-plan{border:1px solid #cddae5;border-radius:10px;padding:18px;margin-bottom:24px;background:#f5f8fb}.phase-invitation p,.phase-plan p{font-size:12px;color:var(--muted);margin:7px 0 12px}.phase-invitation small{display:block;font-size:11px;color:var(--muted);margin-top:12px}.phase-plan .section-head{padding:0 0 14px}.phase-tabs{display:flex;gap:9px;overflow-x:auto;padding-bottom:12px;margin-bottom:12px}.phase-tab{flex:0 0 150px;border:1px solid #d3dee8;border-radius:8px;background:#fff;padding:12px;text-align:left;white-space:normal}.phase-tab.active{border-color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}.phase-tab span{display:inline-flex;width:22px;height:22px;align-items:center;justify-content:center;background:#e6eef6;border-radius:50%;font-size:11px;margin-bottom:7px}.phase-tab b,.phase-tab small{display:block;overflow-wrap:anywhere}.phase-tab b{font-size:12px}.phase-tab small{font-size:10px;color:var(--muted);margin-top:4px}.phase-editor-heading .field{margin:0}.phase-tools{display:flex;gap:12px;flex-wrap:wrap;margin:8px 0 16px}.phase-overview{margin-bottom:24px}.phase-summary-row{display:flex;justify-content:space-between;gap:18px;padding:14px 0;border-bottom:1px solid var(--line)}.phase-summary-row>div:last-child small{display:block;font-size:10px;color:var(--muted)}.phase-summary-row>div:last-child{min-width:110px}.phase-shared-row{display:grid;grid-template-columns:1fr 150px auto;gap:12px;align-items:center;margin:12px 0}.phase-shared-row .field{margin:0}.equipment-booking{border:1px solid var(--line);border-radius:9px;padding:16px;margin:15px 0}.equipment-booking .section-head{padding-top:0}.booking-phases{margin-top:16px}.booking-phase{display:flex;align-items:center;gap:18px;border-top:1px solid var(--line);padding:10px 0}.booking-phase>.checkbox{flex:1;margin:0}.booking-phase>.field{width:100px;margin:0}.booking-result{display:flex;flex-direction:column;gap:8px;padding:12px;background:#f0f5fa;font-size:12px}.booking-result span{display:flex;justify-content:space-between;gap:12px}@media(max-width:740px){.phase-shared-row{grid-template-columns:1fr 1fr}.phase-shared-row>.field:first-child{grid-column:1/-1}.phase-summary-row{flex-direction:column}.phase-invitation,.phase-plan{padding:14px}.phase-plan .section-head{align-items:flex-start;gap:10px}.phase-tab{flex-basis:130px}}
.form-panel,.form-body,.reference-comparison,#category-cost-check{min-width:0}.reference-comparison{margin-bottom:24px}.reference-comparison details{margin-top:12px;font-size:12px}.reference-comparison li{margin:8px 0}.equipment-booking>summary{cursor:pointer;font-weight:600;font-size:12px;overflow-wrap:anywhere}.equipment-booking[open]>summary{margin-bottom:16px}.equipment-booking>summary [data-cost-result]{float:right;margin-left:10px}.table-wrap{max-width:100%;overflow-x:auto}@media(max-width:740px){.builder-grid{grid-template-columns:minmax(0,1fr)}.reference-comparison table,#category-cost-check table{min-width:0;table-layout:fixed}.reference-comparison th,.reference-comparison td,#category-cost-check th,#category-cost-check td{padding:10px 6px;overflow-wrap:anywhere}.reference-comparison th:first-child,.reference-comparison td:first-child{width:29%}}

.work-step-row{display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}
.work-step-row>div{grid-column:1/-1}.work-step-summary{padding-left:22px}.work-step-summary li{margin:7px 0}
@media(max-width:650px){.work-step-row{grid-template-columns:minmax(0,1fr)} .work-step-row>div{grid-column:1}}

/* Start quote wizard styles */
.wizard-header{margin-bottom:20px}
.wizard-header .back-step{display:inline-flex;align-items:center;gap:6px;font-size:12px;margin-bottom:12px;color:#435b6f}
.structure-cards{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:24px}
.structure-card{background:#f9fbfc;border:1.5px solid #d7dfe6;border-radius:12px;padding:26px 22px;text-align:left;display:flex;flex-direction:column;cursor:pointer;transition:all .18s ease;position:relative}
.structure-card:hover{border-color:var(--navy);background:#fff;box-shadow:0 10px 24px #10202d15;transform:translateY(-2px)}
.structure-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.structure-icon{width:36px;height:36px;border-radius:8px;background:#ebf2f8;color:var(--navy);display:flex;align-items:center;justify-content:center}
.structure-icon.blue{background:#e2edf7;color:#1d6fa5}
.structure-card h3{font-size:18px;font-weight:700;color:var(--navy);margin:0 0 6px}
.structure-subtitle{font-size:12px;font-weight:600;color:#435b6f;margin-bottom:12px}
.structure-card p{font-size:12px;line-height:1.5;color:#5a7387;margin:0 0 20px;flex-grow:1}
.structure-card .text-button{font-size:12px;font-weight:600;color:var(--navy);display:inline-flex;align-items:center;gap:5px}

.wizard-project-fields{background:#f4f7f9;border:1px solid #d7dfe6;border-radius:8px;padding:16px;margin-bottom:18px}
.wizard-presets-section{margin-bottom:18px}
.preset-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.preset-pill{background:#edf2f6;border:1px solid #c8d5e1;border-radius:20px;padding:6px 12px;font-size:11px;color:#1e3344;cursor:pointer;display:inline-flex;align-items:center;gap:6px;transition:all .15s ease}
.preset-pill:hover{background:#dbe7f2;border-color:#9db5c8;color:#0f2334}
.preset-pill small{color:#647c8f}

.wizard-phase-list{display:flex;flex-direction:column;gap:10px;max-height:36vh;overflow-y:auto;padding-right:4px;margin-bottom:20px}
.wizard-phase-row{background:#f9fbfc;border:1px solid #d7dfe6;border-radius:8px;padding:12px 14px;display:grid;grid-template-columns:30px 1.2fr 1.2fr auto;gap:12px;align-items:center}
.wizard-phase-num{width:24px;height:24px;border-radius:50%;background:#203a4e;color:#fff;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700}
.wizard-phase-name,.wizard-phase-template{margin:0}
.wizard-phase-name input,.wizard-phase-template select{padding:7px 10px;font-size:12px;height:34px}
.wizard-footer{display:flex;justify-content:space-between;align-items:center;padding-top:16px;border-top:1px solid #d7dfe6;margin-top:16px}

@media(max-width:740px){
  .structure-cards{grid-template-columns:1fr}
  .wizard-phase-row{grid-template-columns:26px 1fr;grid-template-rows:auto auto auto}
  .wizard-phase-name{grid-column:2}
  .wizard-phase-template{grid-column:2}
  .wizard-phase-row .icon-button{grid-column:2;justify-self:end}
}

.preset-pill.active{background:#00529b;color:#fff;border-color:#003d75}
.preset-pill.active small{color:#dbe7f2}
.baselines-grid{display:grid;grid-template-columns:1fr;gap:14px;margin-top:12px}
.baseline-card{background:#fff;border:1px solid #d7dfe6;border-radius:8px;padding:14px 16px;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.baseline-card-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:10px}
.baseline-card-head h3{margin:2px 0 0;font-size:15px;color:#102a43}
.baseline-card-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;font-size:12px;line-height:1.45}
.baseline-speed-table{width:100%;font-size:11px;border-collapse:collapse;margin-top:8px}
.baseline-speed-table th{background:#e2e8f0;padding:5px 8px;text-align:left;font-weight:600;color:#334e68}
.baseline-speed-table td{padding:5px 8px;border-bottom:1px solid #edf2f7;color:#102a43}

/* Internal phase cost overview */
#internal-phase-costs-section,#internal-phase-costs-table{min-width:0}
.internal-phase-costs-container{margin-bottom:20px}
.internal-phase-costs-table{width:100%;font-size:12px;border-collapse:collapse}
.internal-phase-costs-table th{background:#eaf1f8;padding:8px 10px;text-align:left;font-weight:600;color:#102a43;border-bottom:1px solid #d3dee8}
.internal-phase-costs-table td{padding:6px 10px;border-bottom:1px solid #edf2f7;color:#243b53}
.internal-phase-costs-table tr.phase-heading-row th{background:#e2e8f0;font-size:13px;color:#102a43;padding:9px 10px}
.internal-phase-costs-table tr.phase-subtotal-row td{background:#f8fafc;font-weight:600;border-top:1px solid #cbd5e1;border-bottom:2px solid #cbd5e1}
.internal-phase-costs-table tr.shared-heading-row th{background:#e0f2fe;color:#0369a1;font-size:13px;padding:9px 10px}
.internal-phase-costs-table tr.shared-subtotal-row td{background:#f0f9ff;font-weight:600;border-top:1px solid #bae6fd;border-bottom:2px solid #bae6fd}
.internal-phase-costs-table tr.extras-heading-row th{background:#fef3c7;color:#92400e;font-size:13px;padding:9px 10px}
.internal-phase-costs-table tr.extras-subtotal-row td{background:#fffbeb;font-weight:600;border-top:1px solid #fde68a;border-bottom:2px solid #fde68a}
.internal-phase-costs-table tr.adjustments-heading-row th{background:#f1f5f9;color:#334155;font-size:13px;padding:9px 10px}
.internal-phase-costs-table tr.total-row td{background:#f8fafc;font-weight:700;font-size:13px;border-top:2px solid #64748b}
.internal-phase-costs-table tr.grand-total-row td{background:#f0fdf4;font-weight:700;font-size:13px;color:#166534;border-bottom:2px solid #86efac}
.cost-pending-tag{display:inline-block;padding:2px 6px;font-size:10px;font-weight:600;border-radius:4px;background:#fef3c7;color:#b45309}
.cost-zero-tag{display:inline-block;padding:2px 6px;font-size:10px;font-weight:600;border-radius:4px;background:#f1f5f9;color:#475569}
@media(max-width:740px){
  .internal-phase-costs-table{min-width:0;table-layout:fixed}
  .internal-phase-costs-table th,.internal-phase-costs-table td{padding:8px 5px;overflow-wrap:anywhere}
}

/* Keep quote and planning actions reachable on narrow screens. */
@media(max-width:620px){.builder-heading{flex-wrap:wrap}.builder-heading>div:first-child{flex:1 1 100%;min-width:0}.builder-heading h1{overflow-wrap:anywhere}.builder-heading>.btn{margin-top:0}.planner-builder-actions{max-width:100%}}

/* Utility styles (CSP style-src self: no inline style attributes) */
[hidden]{display:none!important}
[data-u="s1"]{display:block;margin:8px 0 4px}
[data-u="s2"]{margin-top:10px;padding:0 0 8px 0}
[data-u="s3"]{margin-top:16px}
[data-u="s4"]{margin:4px 0 6px 0}
[data-u="s5"]{display: block}
[data-u="s6"]{font-weight: 600}
[data-u="s7"]{margin-bottom: 12px}
[data-u="s8"]{margin-left: 6px}
[data-u="s9"]{margin-top: 10px}
[data-u="s10"]{text-align: right}
[data-u="s11"]{text-align: right; font-variant-numeric: tabular-nums}
[data-u="s12"]{text-align: right; font-variant-numeric: tabular-nums; color: #b45309}
[data-u="s13"]{text-align: right; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums}
[data-u="s14"]{text-align: right; font-weight: 700; font-variant-numeric: tabular-nums}
[data-u="s15"]{text-align:right}
[data-u="s16"]{width: 20%}
[data-u="s17"]{width: 20%; text-align: right}
[data-u="s18"]{width: 25%}
[data-u="s19"]{width: 35%}
[data-u="s20"]{color:var(--navy)}
[data-u="s21"]{font-size:11px}
[data-u="s22"]{margin-bottom:0.75rem}
[data-u="s23"]{margin-bottom:1rem}
[data-u="s24"]{margin-top:10px;padding:8px;background:#f8fafc;border-radius:6px;border:1px solid #e2e8f0}
[data-u="s25"]{margin-top:8px;font-style:italic}
/* Navigation groups: primary entry point, work areas and manager master data */
.nav-item.nav-primary{background:var(--accent,#d4683c);color:#fff;font-weight:600;margin:4px 0 22px;justify-content:flex-start}
.nav-item.nav-primary:hover{background:var(--accent,#d4683c);color:#fff;filter:brightness(1.08)}
.sidebar nav .workspace-label{margin-top:18px;margin-bottom:8px}
.sidebar nav .workspace-label:first-child{margin-top:0}
@media(max-width:960px){.nav-item.nav-primary{justify-content:center;margin-bottom:14px}}
.route-match{display:block;margin-top:6px;font-weight:400;color:var(--muted,#5b6b78)}
.route-match select{width:100%;font-size:12px;padding:6px 8px}
.planning-job-options{margin:4px 0 14px}
.planning-job-options>summary{cursor:pointer;font-size:13px;color:var(--muted)}
.planning-job-options[open]>summary{margin-bottom:10px}
/* Customer proposal dialog */
.proposal-dialog .proposal-price{display:flex;justify-content:space-between;align-items:baseline;background:#eef5f3;border-radius:8px;padding:12px 14px;margin:12px 0}
.proposal-dialog .proposal-price b{font-size:20px;color:var(--navy,#163653)}
.proposal-dialog .notice ul{margin:6px 0 0 18px;padding:0}
.proposal-dialog .notice.ok{background:#e6f4ef;border-color:#9fd3c1}
.proposal-dialog .proposal-settings{margin:12px 0}
.proposal-dialog .proposal-settings>summary{cursor:pointer;font-weight:600}
.proposal-dialog .proposal-actions{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 18px}
#markups-form>.small,.markup-estimator,.markup-apply,.markup-table,#markups-form>.field:not(.rate-reason){margin:0 27px 16px}
.markup-apply{border:1px solid var(--line);border-radius:7px;padding:4px 15px}.markup-apply legend{font-size:11px;font-weight:550;padding:0 4px}.markup-apply .checkbox{margin:8px 0}
.markup-table summary{font-size:11px;color:#5b7387;cursor:pointer;font-weight:550;margin-bottom:8px}.markup-table td{padding:6px 12px}
.markup-input{width:90px;border:1px solid #dce0e3;border-radius:6px;padding:6px 8px;text-align:right;font-size:12px}
#markups-error{margin:0 27px 12px}
