/* Project delivery and completion: actions first, saved detail remains accessible. */
.completion-page{--completion-line:#dce5e8;--completion-ink:#20343c;--completion-muted:#61727d;display:grid;gap:18px;min-width:0;color:var(--completion-ink)}
.completion-workbench{display:grid;gap:18px;min-width:0}
.completion-workbench>.panel,.completion-delivery-grid>.panel{margin:0}
.completion-hero{padding:26px 28px;background:linear-gradient(112deg,#f1f8f6,#fff 70%);border:1px solid #cddfd9;border-radius:16px;min-width:0}
.completion-hero-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.completion-eyebrow{display:block;margin:0 0 7px;color:#50786b;text-transform:uppercase;font-size:10px;font-weight:700;letter-spacing:.13em}
.completion-hero h2{font-size:26px;letter-spacing:-.025em;margin:0 0 13px;font-weight:650}
.completion-hero .completion-actions{margin:0;align-items:flex-start;justify-content:flex-end}
.completion-headline-values{display:grid;gap:15px;margin-top:24px;border-top:1px solid #d8e6df;padding-top:20px}
.completion-headline-currency{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.completion-headline-currency .completion-metric{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:8px;padding:0;background:transparent;border:0;min-width:0}
.completion-headline-currency .completion-metric>span{font-size:12px;color:var(--completion-muted);line-height:1.4}
.completion-headline-currency .completion-metric strong{font-size:25px;font-weight:650;letter-spacing:-.025em;line-height:1.3;white-space:nowrap;overflow-wrap:normal;word-break:normal}
.completion-workbench .completion-issues{margin-top:0}
.completion-workbench .completion-warning{padding:15px 0;border:0;border-bottom:1px solid #e7edef;background:transparent;align-items:center;gap:20px;border-radius:0}
.completion-workbench .completion-warning:last-child{border-bottom:0}
.completion-workbench .completion-warning strong{font-size:14px;line-height:1.5;font-weight:550}
.completion-workbench .completion-warning>.btn{flex:0 0 auto;max-width:100%}
.completion-delivery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start;min-width:0}
.completion-delivery-grid>.panel:only-child{grid-column:1/-1}
.completion-work-item{padding:18px 0;border-bottom:1px solid #e7edef;min-width:0;overflow-wrap:anywhere}
.completion-work-item:first-child{padding-top:0}
.completion-work-item:last-child{padding-bottom:0;border-bottom:0}
.completion-work-item-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}
.completion-work-item h3{margin:0 0 10px;font-size:16px;font-weight:600;line-height:1.45}
.completion-work-item .record-subtitle{font-size:12px;line-height:1.55;margin:8px 0 14px}
.completion-work-item>.money{font-size:19px;margin:8px 0 14px;white-space:nowrap;overflow-wrap:normal;word-break:normal}
.completion-work-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.completion-page .completion-disclosure{border:1px solid var(--completion-line);border-radius:14px;background:#fff;min-width:0}
.completion-page .completion-disclosure>summary{display:flex;align-items:center;gap:14px;cursor:pointer;padding:20px 24px;min-height:72px;list-style:none}
.completion-page .completion-disclosure>summary::-webkit-details-marker{display:none}
.completion-page .completion-disclosure>summary:after{content:'›';margin-left:auto;flex:0 0 auto;color:#6e7d86;font-size:25px;line-height:1;transition:transform .12s}
.completion-page .completion-disclosure[open]>summary:after{transform:rotate(90deg)}
.completion-page .completion-disclosure>summary strong{display:block;font-size:15px;font-weight:600;line-height:1.5}
.completion-page .completion-disclosure>summary small{display:block;font-size:12px;line-height:1.5;color:var(--completion-muted);margin-top:4px}
.completion-page .completion-disclosure-body{padding:4px 24px 24px;min-width:0}
.completion-page .completion-disclosure:not([open])>.completion-disclosure-body{display:none}
.completion-page .completion-disclosure summary:focus-visible{outline:2px solid #23786b;outline-offset:3px;border-radius:12px}
.completion-page .completion-history{margin:0;background:#fff}
.completion-page .btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;line-height:1.45;white-space:normal;text-align:center}
.completion-page .completion-disclosure .panel{box-shadow:none}
@media(max-width:1100px){.completion-hero-heading{flex-wrap:wrap}.completion-hero .completion-actions{justify-content:flex-start}.completion-headline-currency{gap:16px}.completion-headline-currency .completion-metric strong{font-size:23px}}
@media(max-width:767px){.completion-page,.completion-workbench{gap:14px}.completion-hero{padding:22px 20px}.completion-hero h2{font-size:24px}.completion-delivery-grid{grid-template-columns:minmax(0,1fr);gap:14px}.completion-headline-currency{grid-template-columns:minmax(0,1fr);gap:17px}.completion-headline-currency .completion-metric{gap:4px}.completion-headline-currency .completion-metric strong{font-size:26px}.completion-hero .completion-actions{display:flex;flex-wrap:wrap;gap:8px;width:100%}.completion-hero .completion-actions>.btn{flex:1 1 150px}.completion-workbench .completion-warning{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:16px 0}.completion-workbench .completion-warning>.btn{justify-self:start}.completion-page .completion-disclosure>summary{padding:18px}.completion-page .completion-disclosure-body{padding:2px 16px 18px}.completion-work-actions{display:grid;grid-template-columns:minmax(0,1fr)}.completion-work-item-heading{display:block}.completion-work-item-heading .badge{margin-bottom:4px}}
@media(prefers-reduced-motion:reduce){.completion-page .completion-disclosure>summary:after{transition:none}}

.completion-installation-group+.completion-installation-group{margin-top:10px}
.completion-installation h2{font-size:20px;font-weight:650;margin:0 0 18px}
.completion-material-items{padding-left:20px;overflow-wrap:anywhere}
.completion-material-items>li+li{margin-top:12px}
.completion-material-items .record-subtitle{display:block;margin-top:4px}
.completion-material-locations{padding-left:20px;margin-top:6px;color:var(--completion-muted);font-size:13px}
.completion-staff-settlements{display:grid;gap:16px;min-width:0}
.completion-staff-settlements h2{font-size:20px;margin:0}
.completion-staff-settlements>.completion-staff-summary>h4{display:none}
.completion-staff-summary{min-width:0;padding:16px 0}
.completion-staff-summary h4{margin:0 0 14px;font-size:16px}
.completion-staff-metrics,.completion-staff-item-values{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:16px;min-width:0}
.completion-staff-metrics+.completion-staff-metrics{border-top:1px solid var(--completion-line);margin-top:16px;padding-top:16px}
.completion-staff-summary .completion-metric,.completion-staff-item-values .completion-metric{display:grid;gap:6px;align-content:start;min-width:0}
.completion-staff-summary .completion-metric>span,.completion-staff-item-values .completion-metric>span{font-size:13px;color:var(--completion-muted);overflow-wrap:anywhere}
.completion-staff-summary .completion-metric>.money,.completion-staff-item-values .completion-metric>.money{font-size:21px;color:var(--completion-ink);overflow-wrap:anywhere}
.completion-staff-item-values{margin:14px 0}
.completion-changed{display:grid;gap:8px;margin-top:18px;padding:18px;border:1px solid #e5ca83;background:#fff9e9;border-radius:12px;min-width:0}
.completion-changed>strong{color:#755015}
.completion-changed>p{margin:0;color:var(--completion-ink);overflow-wrap:anywhere}
.completion-changed>.btn{justify-self:start}
.completion-document-versions{margin-top:18px}
.completion-document-versions .record-subtitle{overflow-wrap:anywhere}
@media(max-width:767px){.completion-staff-metrics,.completion-staff-item-values{grid-template-columns:minmax(0,1fr)}.completion-changed>.btn{justify-self:stretch}.completion-staff-settlements>.completion-work-item-heading{align-items:flex-start;flex-direction:column;gap:10px}}
