/* Site Bid capture, review, and repair handoff. */
.site-bid-workspace{display:grid;gap:18px;min-width:0;color:var(--sh-ink,#102434)}
.site-bid-stages,.site-bid-actions,.site-bid-origin{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.site-bid-stages span{padding:8px 12px;border-radius:8px;background:var(--sh-page,#f4f7fb);border:1px solid var(--sh-border,#e4ebf2)}
.site-bid-stages [aria-current=step]{background:var(--sh-navy,#153348);color:white}
.site-bid-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px}
.site-bid-summary>div:last-child{display:grid;align-content:start;gap:4px}

.site-bid-deficiencies{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;min-width:0}
.site-bid-deficiency{min-width:0;align-self:start}
.site-bid-draft-finding{padding:0;overflow:hidden}
.site-bid-approved-finding{min-width:0;align-self:start;border:1px solid var(--sh-border,#e4ebf2);border-radius:12px;background:var(--sh-page,#f4f7fb);--sh-control-min-height:44px}
.site-bid-approved-finding>.site-bid-finding-title,.site-bid-draft-finding>.site-bid-finding-title{display:flex;align-items:center;gap:12px;min-height:64px;padding:14px;cursor:pointer;list-style:none;color:var(--sh-ink,#102434);border-radius:12px}
.site-bid-finding-title::-webkit-details-marker{display:none}
.site-bid-finding-title:focus-visible{outline:3px solid var(--sh-blue,#0862c9);outline-offset:2px}
.site-bid-finding-heading{display:grid;gap:4px;min-width:0;flex:1;overflow-wrap:anywhere}
.site-bid-finding-heading small,.site-bid-finding-status{font-size:13px;color:var(--sh-muted,#536477)}
.site-bid-finding-heading strong{font-size:16px;line-height:1.35}
.site-bid-finding-check{display:grid;place-items:center;width:26px;height:26px;flex:none;border-radius:50%;background:#e3f7ed;color:#087443}
.site-bid-finding-check svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.site-bid-finding-toggle{flex:none;width:20px;text-align:center;font-size:22px;line-height:1}
.site-bid-finding-toggle::before{content:'+'}
.site-bid-approved-finding[open]>.site-bid-finding-title .site-bid-finding-toggle::before,.site-bid-draft-finding[open]>.site-bid-finding-title .site-bid-finding-toggle::before{content:'−'}
.site-bid-finding-body{display:grid;gap:10px;min-width:0;padding:0 12px 12px}
.site-bid-finding-body>.helper,.site-bid-finding-body>h4{margin:0}
.site-bid-finding-body>button{min-height:44px;white-space:normal}
.site-bid-deficiency .service-doc-photo-carousel{width:100%;max-width:100%;height:260px}
.site-bid-deficiency .service-doc-thumb,.site-bid-deficiency .service-doc-thumb img{width:100%;height:100%;object-fit:contain}
.site-bid-workspace p,.site-bid-repair p{white-space:pre-wrap;overflow-wrap:anywhere}
.site-bid-workspace h2,.site-bid-workspace h3{overflow-wrap:anywhere}
.site-bid-origin{padding:12px;border:1px solid var(--sh-border,#e4ebf2);border-radius:10px;background:var(--sh-page,#f4f7fb)}
.site-bid-origin p{flex-basis:100%;margin:0}
.site-bid-dialog{width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid var(--sh-border,#e4ebf2);border-radius:14px;color:var(--sh-ink,#102434)}
.site-bid-dialog .dialog-panel{display:grid;gap:14px;padding:22px;min-width:0}
.site-bid-dialog fieldset{display:grid;gap:14px;border:0;margin:0;padding:0;min-width:0}
.site-bid-dialog label{display:grid;gap:5px;min-width:0}
.site-bid-dialog input,.site-bid-dialog select,.site-bid-dialog textarea{width:100%;min-width:0;font-size:16px;min-height:44px}
.site-bid-dialog button,.site-bid-actions button,.site-bid-workspace .row-actions button{min-height:44px;white-space:normal}
.site-bid-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.site-bid-deficiency-price{font-size:14px;font-weight:700;white-space:nowrap}
.site-bid-closeout,.site-bid-report,.site-bid-billing{display:grid;gap:18px;min-width:0}
.site-bid-billing fieldset{display:grid;gap:18px;min-width:0;padding:0;margin:0;border:0}
.site-bid-billing label{display:grid;gap:6px;min-width:0}
.site-bid-billing input,.site-bid-billing select{width:100%;min-width:0;font-size:16px;min-height:44px}
.site-bid-billing .site-bid-checkbox{display:flex;align-items:flex-start;gap:10px;min-height:44px}
.site-bid-checkbox input{width:22px;height:22px;min-height:22px;flex:none;margin:0}
.site-bid-charge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.site-bid-charge{min-width:0;padding:14px;border:1px solid var(--sh-border,#e4ebf2);border-radius:10px;background:var(--sh-page,#f4f7fb)}
.site-bid-charge h4{margin:0 0 10px}.site-bid-charge>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.site-bid-pricing-totals{display:grid;gap:8px;margin:0}.site-bid-pricing-totals>div{display:flex;gap:16px;justify-content:space-between}.site-bid-pricing-totals dd{margin:0;white-space:nowrap}.site-bid-grand-total{font-weight:700;border-top:1px solid var(--sh-border,#e4ebf2);padding-top:12px;font-size:18px}
.site-bid-field-review dl{display:grid;gap:14px;margin:0}.site-bid-field-review dt{font-weight:700;margin-bottom:5px}.site-bid-field-review dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.site-bid-field-review small{display:block}
.site-bid-billing [data-site-bid-report-error]{color:#b42318}
.site-bid-linked-materials{min-width:0;padding:12px;border:1px solid var(--sh-border,#e4ebf2);border-radius:10px;background:var(--sh-page,#f4f7fb)}
.site-bid-linked-materials h4,.site-bid-linked-materials p{margin:0 0 8px}.site-bid-linked-materials p:last-child{margin-bottom:0}.site-bid-linked-materials ul{display:grid;gap:8px;list-style:none;margin:0 0 10px;padding:0}.site-bid-linked-materials li{display:flex;gap:12px;justify-content:space-between;min-width:0}.site-bid-linked-materials li span{min-width:0;overflow-wrap:anywhere}.site-bid-linked-materials li strong{white-space:nowrap}
.site-bid-dialog [data-site-bid-error]{color:#b42318}
.site-bid-selected-sections{padding:12px;border:1px solid var(--sh-border,#e4ebf2);border-radius:10px;background:var(--sh-page,#f4f7fb);min-width:0;overflow-wrap:anywhere}
.site-bid-selected-sections ul{margin:8px 0 0;padding-left:20px}
.site-bid-selected-sections p{margin:8px 0 0}
.site-bid-create-wizard [data-project-detail-step="0"]> :not(h3):not([data-site-bid-creation-field]){display:none!important}
[data-site-bid-create-fields]{display:grid;gap:10px;min-width:0}
[data-site-bid-create-fields][hidden]{display:none}
[data-site-bid-create-fields] select{width:100%;min-width:0;min-height:44px;font-size:16px}
[data-site-bid-create-fields] .helper{margin:0;white-space:normal;overflow-wrap:anywhere}
[data-site-bid-create-error]{color:#b42318}
@media(max-width:760px){.site-bid-deficiencies,.site-bid-summary,.site-bid-form-grid{grid-template-columns:minmax(0,1fr)}.site-bid-dialog .dialog-panel{padding:16px}.site-bid-actions>*{flex:1 1 150px}.site-bid-stages{font-size:13px;gap:6px}.site-bid-stages span{padding:6px 8px}.site-bid-deficiency .service-doc-photo-carousel{height:220px}.site-bid-dialog .dialog-actions{display:flex;flex-wrap:wrap;gap:8px}.site-bid-dialog .dialog-actions button{flex:1 1 110px}}
@media(max-width:760px){.site-bid-charge-grid{grid-template-columns:minmax(0,1fr)}.site-bid-billing{padding:14px}.site-bid-deficiency-price{font-size:13px}}
