/* DCCC Project Material Estimates Overview — dedicated responsive UI v1 */
body.dccc-material-estimate{background:#f5f6f7;color:#111;overflow-x:hidden}.dccc-material-estimate .app{max-width:none;padding:0}.dmat-page{--red:#e60012;--yellow:#ffd400;--ink:#111;--muted:#666;--line:#d9dde2;--panel:#fff;--soft:#f4f5f6;font-family:Arial,Helvetica,sans-serif;background:#f5f6f7;min-height:100vh}.dmat-page *{box-sizing:border-box}.dmat-page a{text-decoration:none;color:inherit}.dmat-hero{position:relative;height:360px;min-height:360px;background:#111;color:#fff;overflow:hidden}.dmat-hero-carousel,.dmat-hero-stage,.dmat-hero-slide{position:absolute;inset:0}.dmat-hero-slide{opacity:0;transition:opacity .7s ease;z-index:0}.dmat-hero-slide.is-active{opacity:1;z-index:1}.dmat-hero-slide canvas,.dmat-hero-slide img{width:100%!important;height:100%!important;display:block;object-fit:cover}.dmat-hero-shade{position:absolute;inset:0;z-index:2;background:linear-gradient(90deg,rgba(0,0,0,.88) 0%,rgba(0,0,0,.72) 31%,rgba(0,0,0,.25) 58%,rgba(0,0,0,.03) 100%)}.dmat-hero-copy{position:relative;z-index:3;width:min(1450px,94vw);margin:0 auto;padding:24px 0 82px;display:flex;flex-direction:column;justify-content:center;height:100%;pointer-events:none}.dmat-hero-copy a{pointer-events:auto}.dmat-breadcrumb{display:flex;align-items:center;gap:8px;font-size:12px;margin-bottom:19px;color:rgba(255,255,255,.82)}.dmat-breadcrumb a:hover{text-decoration:underline}.dmat-breadcrumb strong{font-weight:600}.dmat-eyebrow{letter-spacing:.23em;font-weight:700;font-size:12px;margin:0 0 8px;text-transform:uppercase}.dmat-hero h1{font-size:45px;line-height:.98;margin:0 0 12px;max-width:760px;letter-spacing:-.035em;font-weight:900;text-transform:uppercase}.dmat-hero h1 em{font-style:normal;color:#ff101f}.dmat-hero-copy>p:last-child{max-width:650px;font-size:15px;line-height:1.45;margin:0;color:#f4f4f4}.dmat-indicators{position:absolute;z-index:4;left:3.2vw;bottom:14px;display:grid;grid-template-columns:repeat(4,max-content);gap:0;background:rgba(0,0,0,.4);backdrop-filter:blur(5px);border:1px solid rgba(255,255,255,.14)}.dmat-indicators div{padding:9px 18px;border-right:1px solid rgba(255,255,255,.25);min-width:150px}.dmat-indicators div:last-child{border-right:0}.dmat-indicators b,.dmat-indicators small{display:block}.dmat-indicators b{font-size:11px}.dmat-indicators small{font-size:9px;color:#ddd;margin-top:2px}.dmat-hero-arrow{position:absolute;z-index:5;top:50%;transform:translateY(-50%);width:40px;height:54px;border:0;background:rgba(0,0,0,.35);color:#fff;font-size:32px;cursor:pointer;border-radius:4px;opacity:.2;transition:.2s}.dmat-hero:hover .dmat-hero-arrow{opacity:.85}.dmat-hero-arrow.prev{left:12px}.dmat-hero-arrow.next{right:12px}.dmat-hero-dots{position:absolute;z-index:6;right:30px;bottom:18px;display:flex;gap:7px}.dmat-hero-dots button{width:8px;height:8px;border-radius:50%;border:1px solid #fff;padding:0;background:transparent;cursor:pointer}.dmat-hero-dots button.is-active{background:#fff}.dmat-toolbar{width:min(1480px,96vw);margin:0 auto;padding:12px 0;display:grid;grid-template-columns:repeat(4,1fr);gap:10px;background:#f5f6f7}.dmat-tool{height:46px;border:1px solid #c8ccd1;border-radius:3px;background:#fff;color:#111;font-size:13px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:10px;cursor:pointer;transition:.18s}.dmat-tool:hover{border-color:#8e949a;transform:translateY(-1px);box-shadow:0 4px 10px rgba(0,0,0,.08)}.dmat-tool.primary{background:var(--yellow);border-color:var(--yellow)}.dmat-drawer{width:min(1480px,96vw);margin:0 auto 12px;background:#fff;border:1px solid var(--line);box-shadow:0 7px 22px rgba(0,0,0,.08);padding:16px;position:relative;z-index:2}.dmat-drawer-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eee;padding-bottom:10px;margin-bottom:12px}.dmat-drawer-head b,.dmat-drawer-head span{display:block}.dmat-drawer-head b{font-size:14px;border-left:5px solid var(--red);padding-left:9px}.dmat-drawer-head span{font-size:11px;color:#666;margin:4px 0 0 14px}.dmat-drawer-head button{border:0;background:transparent;font-size:26px;cursor:pointer}.dmat-rate-filters{display:flex;gap:12px;align-items:center;margin-bottom:10px}.dmat-rate-filters input{flex:1;min-width:0;height:38px;border:1px solid #cfd3d8;padding:0 11px}.dmat-rate-filters a{font-size:12px;font-weight:800;color:#b6000e}.dmat-rate-results{display:grid;gap:6px}.dmat-rate-row{display:grid;grid-template-columns:1.7fr 1fr 120px;gap:12px;text-align:left;align-items:center;border:1px solid #e2e4e6;background:#fafafa;padding:10px 12px;cursor:pointer}.dmat-rate-row:hover{border-color:#aeb4ba;background:#fff}.dmat-rate-row span:first-child b,.dmat-rate-row span:first-child small{display:block}.dmat-rate-row small{font-size:10px;color:#777;margin-top:2px}.dmat-empty{font-size:12px;color:#666;background:#fafafa;border:1px dashed #cdd1d5;padding:16px;margin:0}.dmat-compare-wrap{overflow:auto;max-height:390px}.dmat-compare-wrap table{width:100%;border-collapse:collapse;min-width:900px;font-size:11px}.dmat-compare-wrap th,.dmat-compare-wrap td{border:1px solid #ddd;padding:8px;text-align:left}.dmat-compare-wrap th{background:#f1f2f3;position:sticky;top:0}.dmat-work{width:min(1480px,96vw);margin:0 auto 14px;display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:14px;align-items:start}.dmat-left{display:grid;gap:14px;min-width:0}.dmat-right{display:grid;gap:14px;position:sticky;top:85px}.dmat-panel{background:#fff;border:1px solid var(--line);border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.025)}.dmat-panel h2{font-size:15px;margin:0;padding:10px 12px;border-bottom:1px solid #eceeef;font-weight:900;position:relative}.dmat-panel h2:before{content:"";display:inline-block;width:5px;height:17px;background:var(--red);vertical-align:-4px;margin-right:9px}.dmat-notice{margin:10px 12px 0;padding:8px 10px;font-size:11px;background:#f3f5f7;border-left:3px solid #87909a;color:#4e545a}.dmat-notice[data-type="success"]{background:#eff9f2;border-color:#1a8d3e;color:#1d6433}.dmat-notice[data-type="error"]{background:#fff0f1;border-color:var(--red);color:#98111b}.dmat-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px 10px;padding:12px}.dmat-form label{display:flex;flex-direction:column;gap:4px;min-width:0}.dmat-form label.wide,.dmat-form .wide{grid-column:span 2}.dmat-form label span{font-size:10.5px;font-weight:800;color:#202327}.dmat-form input,.dmat-form select{width:100%;height:36px;border:1px solid #cfd3d7;border-radius:2px;background:#fff;padding:0 9px;color:#111;font:inherit;font-size:12px;outline:none}.dmat-form input:focus,.dmat-form select:focus{border-color:#6c747c;box-shadow:0 0 0 2px rgba(0,0,0,.04)}.dmat-rate-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:#f6f7f8;border:1px solid #e0e3e6;padding:8px}.dmat-rate-meta span{font-size:10px!important;color:#555!important}.dmat-add{height:40px;border:0;border-radius:2px;background:var(--red);color:#fff;font-weight:900;letter-spacing:.01em;cursor:pointer}.dmat-add:hover{filter:brightness(.93)}.dmat-error{margin:0;color:#b00011;font-size:11px;background:#fff0f1;padding:8px;border-left:3px solid var(--red)}.dmat-list-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eceeef}.dmat-list-head h2{border:0}.dmat-list-head>span{font-size:11px;color:#666;padding-right:12px}.dmat-table-wrap{overflow:auto;max-width:100%;scrollbar-width:thin}.dmat-list table{border-collapse:collapse;width:100%;min-width:1540px;font-size:9.8px}.dmat-list th,.dmat-list td{padding:7px 6px;border-right:1px solid #e2e4e6;border-bottom:1px solid #e5e7e9;text-align:left;vertical-align:middle;white-space:nowrap}.dmat-list th{background:#edf0f2;font-size:9px;font-weight:900;position:sticky;top:0;z-index:1}.dmat-list td:nth-child(5){white-space:normal;min-width:150px}.dmat-list td strong{font-size:10px}.dmat-list td button,.dmat-line-card button{border:1px solid #bfc4c9;background:#fff;border-radius:2px;padding:4px 6px;font-size:9px;font-weight:800;margin-right:4px;cursor:pointer}.dmat-list td button.danger,.dmat-line-card button.danger{color:#c80012;border-color:#f2b6bc}.dmat-status{display:inline-flex;align-items:center;gap:5px;font-size:9px;font-weight:800;padding:4px 6px;border-radius:20px;background:#f0f2f3}.dmat-status:before{content:"";width:7px;height:7px;border-radius:50%;background:#888}.dmat-status.updated:before{background:#13a143}.dmat-status.quoted:before{background:#e5b800}.dmat-status.user:before{background:#3178c6}.dmat-status.verify:before{background:#e13a45}.dmat-mobile-lines{display:none}.dmat-summary>div{display:flex;justify-content:space-between;align-items:center;padding:13px;border-bottom:1px solid #ededed;gap:10px}.dmat-summary>div span{font-size:11px;font-weight:700}.dmat-summary>div strong{font-size:13px;text-align:right}.dmat-summary>div.grand strong{font-size:17px}.dmat-summary>small{display:block;padding:9px 12px;color:#666;font-size:9.5px}.dmat-formulas p{margin:0;padding:12px;border-bottom:1px solid #eee}.dmat-formulas p:last-child{border-bottom:0}.dmat-formulas b,.dmat-formulas span{display:block}.dmat-formulas b{font-size:11px;margin-bottom:5px}.dmat-formulas span{font-size:10px;line-height:1.4;color:#555}.dmat-mini-links nav{display:grid}.dmat-mini-links a{display:block;padding:10px 12px;border-bottom:1px solid #eee;font-size:10px;font-weight:800}.dmat-mini-links a:hover{background:#f5f6f7}.dmat-values{display:grid;grid-template-columns:repeat(6,1fr);background:#fff;border-top:1px solid #dfe2e5;border-bottom:1px solid #dfe2e5;padding:9px 2.4vw}.dmat-values>div{display:flex;align-items:center;gap:10px;padding:3px 14px;border-right:1px solid #d8dce0;min-width:0}.dmat-values>div:last-child{border-right:0}.dmat-values>div>span{font-size:31px;line-height:1}.dmat-values p{margin:0;min-width:0}.dmat-values b,.dmat-values small{display:block}.dmat-values b{font-size:10px}.dmat-values small{font-size:8px;color:#666;margin-top:2px}.dmat-footer{background:#111820;color:#fff;padding:20px 3vw 0}.dmat-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1.15fr .9fr;gap:30px;max-width:1480px;margin:auto;padding-bottom:18px}.dmat-footer section>b{display:block;font-size:12px;margin-bottom:8px}.dmat-footer-brand strong{font-size:17px;line-height:1.15}.dmat-footer-brand p{font-size:10px;line-height:1.5;color:#c7ccd0;max-width:330px}.dmat-footer nav{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px}.dmat-footer nav a{font-size:9px;color:#e5e7e9}.dmat-footer nav a:hover{text-decoration:underline}.dmat-footer-tag{font-size:12px;align-self:center;border-left:1px solid #46505a;padding-left:18px}.dmat-footer-tag strong{font-size:15px}.dmat-footer-bottom{border-top:1px solid #303943;padding:9px 0;color:#c1c6cb;text-align:left;font-size:8px;max-width:1480px;margin:auto}.dmat-transfer-note{background:#eff9f2;border-left:4px solid #16813c;padding:10px;margin:0 0 12px;font-size:12px;color:#205d34}
@media(max-width:1200px){.dmat-hero{height:335px;min-height:335px}.dmat-hero h1{font-size:39px}.dmat-indicators{left:2vw}.dmat-indicators div{padding:8px 11px;min-width:130px}.dmat-work{grid-template-columns:minmax(0,1fr) 300px}.dmat-form{grid-template-columns:repeat(3,minmax(0,1fr))}.dmat-form label.wide,.dmat-form .wide{grid-column:span 2}.dmat-values{grid-template-columns:repeat(3,1fr);row-gap:7px}.dmat-values>div:nth-child(3){border-right:0}.dmat-footer-grid{grid-template-columns:1.3fr 1fr 1fr}.dmat-footer-tag{grid-column:1/-1;border-left:0;border-top:1px solid #46505a;padding:12px 0 0}}
@media(max-width:900px){.dmat-hero{height:380px;min-height:380px}.dmat-hero-shade{background:linear-gradient(90deg,rgba(0,0,0,.83),rgba(0,0,0,.58) 68%,rgba(0,0,0,.25))}.dmat-hero-copy{padding-bottom:100px}.dmat-hero h1{font-size:35px;max-width:620px}.dmat-indicators{left:2vw;right:2vw;grid-template-columns:repeat(2,1fr)}.dmat-indicators div{min-width:0}.dmat-indicators div:nth-child(2){border-right:0}.dmat-indicators div:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.2)}.dmat-toolbar{grid-template-columns:repeat(2,1fr)}.dmat-work{grid-template-columns:1fr}.dmat-right{position:static;grid-template-columns:1fr 1fr}.dmat-mini-links{grid-column:1/-1}.dmat-form{grid-template-columns:repeat(2,minmax(0,1fr))}.dmat-form label.wide,.dmat-form .wide{grid-column:span 2}.dmat-footer-grid{grid-template-columns:1fr 1fr}.dmat-footer-brand{grid-column:1/-1}}
@media(max-width:640px){.dmat-hero{height:510px;min-height:510px}.dmat-hero-carousel{height:235px;top:auto}.dmat-hero-shade{background:linear-gradient(180deg,#101010 0,#101010 52%,rgba(16,16,16,.78) 72%,rgba(16,16,16,.18) 100%)}.dmat-hero-copy{justify-content:flex-start;padding:18px 4.5vw 0;width:100%;height:300px}.dmat-breadcrumb{font-size:10px;margin-bottom:15px;flex-wrap:wrap}.dmat-eyebrow{font-size:9px;letter-spacing:.17em}.dmat-hero h1{font-size:28px;line-height:1}.dmat-hero-copy>p:last-child{font-size:12px;line-height:1.4;max-width:none}.dmat-indicators{bottom:9px;left:3vw;right:3vw}.dmat-indicators div{padding:6px 8px}.dmat-indicators b{font-size:8px}.dmat-indicators small{font-size:7px}.dmat-hero-arrow{display:none}.dmat-hero-dots{right:14px;bottom:130px}.dmat-toolbar{grid-template-columns:1fr;width:94vw;padding:10px 0;gap:7px}.dmat-tool{height:43px;justify-content:flex-start;padding:0 15px}.dmat-drawer{width:94vw}.dmat-rate-filters{align-items:stretch;flex-direction:column}.dmat-rate-row{grid-template-columns:1fr;gap:4px}.dmat-work{width:94vw}.dmat-form{grid-template-columns:1fr;padding:10px}.dmat-form label.wide,.dmat-form .wide{grid-column:span 1}.dmat-rate-meta{align-items:flex-start;flex-direction:column;gap:3px}.dmat-list .dmat-table-wrap{display:none}.dmat-mobile-lines{display:grid;gap:8px;padding:10px}.dmat-line-card{border:1px solid #dfe2e5;padding:10px;background:#fff}.dmat-line-card header,.dmat-line-card footer{display:flex;justify-content:space-between;align-items:center;gap:8px}.dmat-line-card header b{font-size:12px}.dmat-line-card p{font-size:10px;color:#555;margin:7px 0}.dmat-line-card dl{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:0 0 8px}.dmat-line-card dl>div{background:#f6f7f8;padding:7px}.dmat-line-card dt{font-size:8px;color:#666}.dmat-line-card dd{font-size:10px;font-weight:800;margin:2px 0 0}.dmat-right{grid-template-columns:1fr}.dmat-mini-links{grid-column:auto}.dmat-values{grid-template-columns:1fr 1fr;padding:8px}.dmat-values>div{padding:7px;border-right:1px solid #ddd;border-bottom:1px solid #eee}.dmat-values>div:nth-child(even){border-right:0}.dmat-values>div:nth-last-child(-n+2){border-bottom:0}.dmat-values>div>span{font-size:26px}.dmat-footer{padding:18px 5vw 0}.dmat-footer-grid{grid-template-columns:1fr;gap:20px}.dmat-footer-brand{grid-column:auto}.dmat-footer nav{grid-template-columns:1fr 1fr}.dmat-footer-tag{grid-column:auto}.dmat-footer-bottom{text-align:center;font-size:7.5px}}
@media(prefers-reduced-motion:reduce){.dmat-hero-slide,.dmat-tool{transition:none}.dmat-tool:hover{transform:none}}

/* 2026-09-12: prevent the estimate form, red submit bar and right-side cards from colliding on narrow/desktop-site mobile viewports. */
body.dccc-material-estimate .dmat-work,body.dccc-material-estimate .dmat-left,body.dccc-material-estimate .dmat-right,body.dccc-material-estimate .dmat-panel,body.dccc-material-estimate .dmat-form{min-width:0}body.dccc-material-estimate .dmat-panel{overflow:visible}body.dccc-material-estimate .dmat-right{align-self:start}body.dccc-material-estimate .dmat-add{position:static;width:100%;max-width:100%}body.dccc-material-estimate .dmat-form [hidden],body.dccc-material-estimate .dmat-drawer[hidden]{display:none!important}
@media(max-width:1100px){body.dccc-material-estimate .dmat-work{grid-template-columns:minmax(0,1fr)!important;gap:14px;align-items:start}body.dccc-material-estimate .dmat-right{position:static!important;top:auto!important;width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}body.dccc-material-estimate .dmat-mini-links{grid-column:1/-1}body.dccc-material-estimate .dmat-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.dccc-material-estimate .dmat-form label.wide,body.dccc-material-estimate .dmat-form .wide{grid-column:span 2!important}}
@media(max-width:760px){body.dccc-material-estimate .dmat-work{width:94vw}body.dccc-material-estimate .dmat-form{grid-template-columns:minmax(0,1fr)!important;padding:10px}body.dccc-material-estimate .dmat-form label.wide,body.dccc-material-estimate .dmat-form .wide{grid-column:span 1!important}body.dccc-material-estimate .dmat-right{grid-template-columns:minmax(0,1fr)!important}body.dccc-material-estimate .dmat-mini-links{grid-column:auto}body.dccc-material-estimate .dmat-summary,body.dccc-material-estimate .dmat-formulas,body.dccc-material-estimate .dmat-mini-links{width:100%;max-width:100%}}
