/* Presentation layers for the proposal, Project Command, and draft pricing. */
.lifecycle-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 24px 0;
  margin-block: 12px 34px;
  border-block: 1px solid var(--line);
}
.lifecycle-strip > * { min-width: 0; padding-right: 18px; }
.lifecycle-strip > * + * { border-left: 1px solid var(--line); padding-left: 24px; }
.lifecycle-strip strong { display: block; margin-bottom: 5px; font-size: 14px; font-weight: 600; }
.lifecycle-strip p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.lifecycle-strip small { color: var(--muted); font-size: 11px; }
.lifecycle-strip .mini-label { margin-bottom: 8px; color: var(--orange-dark); }

/* A proposal document remains visually separate from its review controls. */
.proposal-panel { grid-template-columns: minmax(0, 1fr); padding: 28px; background: #f0f3ec; }
.proposal-layout {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(170px, .55fr) minmax(0, 1.65fr);
  align-items: start;
  gap: 28px;
  width: 100%;
  min-width: 0;
}
.proposal-rail { min-width: 0; padding: 8px 0; }
.proposal-rail .mini-label { color: #52664d; }
.proposal-rail h3 { margin: 14px 0 12px; font-size: 22px; font-weight: 600; line-height: 1.3; letter-spacing: -.6px; }
.proposal-rail p { color: #5d6e56; font-size: 12px; line-height: 1.8; }
.proposal-rail .button { width: 100%; margin-top: 15px; }
.proposal-rail .scope-caution { margin-top: 21px; padding-left: 11px; border-left: 2px solid #b39b7c; color: #716449; font-size: 10px; }
.proposal-document {
  min-width: 0;
  padding: 34px;
  border: 1px solid #d9e0d3;
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 12px 30px #172c3010;
}
.contractor-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; padding-bottom: 25px; border-bottom: 2px solid var(--ink); }
.contractor-identity { display: flex; align-items: center; gap: 13px; min-width: 0; }
.contractor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border: 1px solid #ccdac6;
  border-radius: 5px;
  background: #e9eee3;
  color: #365340;
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
}
.contractor-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.contractor-name { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.2; letter-spacing: -.55px; overflow-wrap: anywhere; }
.contractor-details { margin: 6px 0 0; color: #56674f; font-size: 10px; line-height: 1.75; overflow-wrap: anywhere; }
.document-label { flex-shrink: 0; color: #40523c; font-size: 10px; font-weight: 700; letter-spacing: 1.7px; text-align: right; }
.document-label span, .document-label small { display: block; margin-top: 5px; color: #62735a; font-size: 9px; font-weight: 400; letter-spacing: .5px; }
.demo-stamp { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 4px 7px; border: 1px solid #d7bda2; border-radius: 3px; color: #805535; background: #fff7ec; font-size: 9px; font-weight: 700; letter-spacing: .8px; line-height: 1.5; }
.proposal-document > .demo-stamp { margin-top: 17px; }
.proposal-meta-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-block: 22px 27px; }
.proposal-meta-grid > * { min-width: 0; }
.proposal-meta-grid label, .proposal-meta-grid .mini-label { display: block; margin-bottom: 6px; color: #5a6d53; font-size: 9px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; }
.proposal-meta-grid strong { display: block; font-size: 11px; font-weight: 600; line-height: 1.55; overflow-wrap: anywhere; }
.proposal-meta-grid span { display: block; color: #52644b; font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }
.proposal-document > h3 { margin: 0 0 9px; font-size: 23px; line-height: 1.3; font-weight: 600; letter-spacing: -.65px; }
.proposal-document > p { color: #53654c; font-size: 11px; line-height: 1.8; }
.proposal-scope-table { width: 100%; margin-top: 22px; border-collapse: collapse; font-size: 11px; }
.proposal-scope-table caption { padding-bottom: 10px; text-align: left; font-size: 11px; font-weight: 600; }
.proposal-scope-table th { padding: 10px 9px; border-bottom: 1px solid #cbd7c3; background: #f1f5ec; color: #4a6042; font-size: 9px; font-weight: 700; letter-spacing: .65px; text-align: left; text-transform: uppercase; }
.proposal-scope-table td { padding: 14px 9px; border-bottom: 1px solid #e2e8dc; vertical-align: top; line-height: 1.6; }
.proposal-scope-table th:first-child, .proposal-scope-table td:first-child { padding-left: 10px; }
.proposal-scope-table th:last-child, .proposal-scope-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.proposal-scope-table td strong { display: block; margin-bottom: 4px; font-weight: 600; }
.proposal-scope-table td small { display: block; color: #5c6d54; font-size: 10px; line-height: 1.7; }
.proposal-summary { width: min(100%, 290px); margin: 22px 0 25px auto; }
.proposal-summary > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 7px; font-size: 11px; }
.proposal-summary dt { color: #54674b; }
.proposal-summary dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.proposal-summary > div:last-child { margin-top: 7px; padding-top: 13px; border-top: 2px solid var(--ink); font-size: 19px; font-weight: 600; }
.proposal-summary > div:last-child dt { color: var(--ink); font-size: 12px; }
.proposal-terms-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-top: 22px; border-top: 1px solid #dde5d6; }
.proposal-terms-grid > * { min-width: 0; }
.proposal-terms-grid h4 { margin: 0 0 8px; color: #435a3c; font-size: 9px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }
.proposal-terms-grid p, .proposal-terms-grid li { margin-top: 0; color: #52644a; font-size: 10px; line-height: 1.8; }
.proposal-terms-grid ul { margin: 0; padding-left: 15px; }
.signature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin-top: 32px; }
.signature-line { min-width: 0; padding-top: 12px; border-top: 1px solid #879b7e; color: #52664a; font-size: 9px; line-height: 1.7; }
.signature-line strong { display: block; color: #31492c; font-size: 10px; font-weight: 600; }
.document-footer { margin-top: 27px; padding-top: 12px; border-top: 1px solid #dfe6d8; color: #5e6e55; font-size: 9px; line-height: 1.8; overflow-wrap: anywhere; }
.accept-demo-button { min-height: 46px; border: 1px solid var(--orange); border-radius: 5px; padding: 12px 17px; background: var(--orange); color: var(--white); font: inherit; font-size: 12px; font-weight: 600; line-height: 1.5; }
.accept-demo-button:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.accept-demo-button:disabled { cursor: default; background: #dce8d4; border-color: #adc49d; color: #2f512b; opacity: 1; }
.accept-status { margin: 14px 0 0; padding: 12px; border: 1px solid #b8ceb0; border-radius: 4px; background: #e8f0e1; color: #365631; font-size: 11px; line-height: 1.75; }

/* Project Command is presented as its own program. */
.job-dashboard { grid-column: 1 / -1; width: 100%; min-width: 0; }
.job-status-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.job-status-bar h3 { margin: 7px 0 4px; font-size: 25px; line-height: 1.25; letter-spacing: -.8px; font-weight: 600; }
.job-status-bar p { margin: 0; color: #5c6d55; font-size: 11px; line-height: 1.7; }
.program-badge { display: inline-flex; align-items: center; padding: 5px 8px; border: 1px solid #bdcfb4; border-radius: 3px; color: #36592e; background: #eaf2e4; font-size: 9px; font-weight: 700; letter-spacing: 1px; line-height: 1.5; }
.phase-pill { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 6px 10px; border: 1px solid #c2d3b7; border-radius: 20px; background: #eaf2e3; color: #35572c; font-size: 10px; font-weight: 600; line-height: 1.5; }
.job-status-bar label { display: flex; flex-direction: column; gap: 6px; min-width: 155px; color: #4e6346; font-size: 10px; }
.job-status-bar select { width: 100%; min-height: 41px; padding: 8px 30px 8px 10px; border: 1px solid #cbd8c3; border-radius: 4px; background: #fbfdf8; color: var(--ink); font: inherit; font-size: 12px; }
.stage-track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 23px 0; }
.stage-track > li { min-width: 0; padding: 11px 5px 3px 0; border-top: 3px solid #dbe3d5; color: #596b51; font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }
.stage-track > li strong { display: block; font-size: 11px; font-weight: 600; }
.stage-track > li small { display: block; margin-top: 3px; font-size: 9px; line-height: 1.6; }
.stage-track > .is-complete { border-color: #6b9460; color: #3e6035; }
.stage-track > .is-current { border-color: var(--orange); color: var(--orange-dark); font-weight: 700; }
.job-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 23px; }
.metric-card { min-width: 0; padding: 16px; border: 1px solid #dce5d4; border-radius: 5px; background: #f7faf2; }
.metric-card > span { display: block; color: #526749; font-size: 10px; line-height: 1.6; }
.metric-card > strong { display: block; margin-block: 9px 6px; color: var(--ink); font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -.8px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.metric-card > small { display: block; color: #5e7055; font-size: 9px; line-height: 1.7; }
.job-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(200px, .8fr); align-items: start; gap: 23px; }
.job-grid > * { min-width: 0; }
.job-grid h4, .job-dashboard > h4 { margin: 0 0 13px; font-size: 13px; font-weight: 600; }
.job-grid > aside { padding: 18px; border: 1px solid #d7e2ce; border-radius: 5px; background: #f2f6ed; }
.job-grid > aside p, .job-grid > aside li { color: #53684b; font-size: 11px; line-height: 1.8; }
.job-grid > aside dl { margin: 0; }
.job-grid > aside dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; padding-block: 10px; border-bottom: 1px solid #d8e2ce; font-size: 11px; }
.job-grid > aside dt { color: #506747; }
.job-grid > aside dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.table-scroll { max-width: 100%; min-width: 0; overflow-x: auto; border: 1px solid #dce4d5; border-radius: 5px; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.table-scroll:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.budget-table, .cost-ledger { width: 100%; border-collapse: collapse; background: var(--white); font-size: 11px; }
.budget-table { min-width: 500px; }
.cost-ledger { min-width: 590px; }
.budget-table caption, .cost-ledger caption { padding: 13px 14px; background: #f6f9f1; text-align: left; color: var(--ink); font-size: 12px; font-weight: 600; }
.budget-table th, .cost-ledger th { padding: 11px 12px; border-bottom: 1px solid #d5e0cd; background: #eef4e8; color: #45603b; font-size: 9px; font-weight: 700; letter-spacing: .5px; text-align: left; text-transform: uppercase; white-space: nowrap; }
.budget-table td, .cost-ledger td { padding: 13px 12px; border-bottom: 1px solid #e5ebdf; color: #405736; line-height: 1.6; font-variant-numeric: tabular-nums; vertical-align: top; }
.budget-table tbody tr:last-child td, .cost-ledger tbody tr:last-child td { border-bottom: 0; }
.budget-table td:not(:first-child), .budget-table th:not(:first-child) { text-align: right; white-space: nowrap; }
.budget-table tbody td:first-child { min-width: 135px; color: var(--ink); font-weight: 500; }
.budget-table tfoot td, .cost-ledger tfoot td { border-top: 1px solid #bfd0b5; background: #edf3e7; font-weight: 700; color: #2f4e25; }
.cost-ledger td:last-child, .cost-ledger th:last-child { text-align: right; white-space: nowrap; }
.cost-ledger td small { display: block; margin-top: 3px; color: #5f7057; font-size: 9px; line-height: 1.6; }
.variance-over, .budget-table .variance-over, .cost-ledger .variance-over { color: #a03c26; font-weight: 600; }
.variance-under, .budget-table .variance-under, .cost-ledger .variance-under { color: #39652e; font-weight: 600; }
.spent-bar { display: block; width: 100%; max-width: 180px; height: 6px; margin-top: 7px; overflow: hidden; border-radius: 4px; background: #dfe7d7; }
.spent-bar > i { display: block; max-width: 100%; height: 100%; border-radius: inherit; background: #5a8050; }
.variance-over .spent-bar > i, .spent-bar.variance-over > i { background: var(--orange); }
.job-note { margin: 18px 0 0; color: #5c6e52; font-size: 10px; line-height: 1.8; overflow-wrap: anywhere; }
.job-dashboard > .table-scroll { margin-top: 15px; }

/* Each plan is distinct; amounts and availability come from the page content. */
.pricing-section { padding-block: 72px; border-top: 1px solid var(--line); }
.pricing-section .section-heading { margin-bottom: 30px; }
.draft-pricing { display: inline-flex; align-items: center; max-width: 100%; gap: 6px; padding: 5px 8px; border: 1px solid #d3b998; border-radius: 3px; background: #fff6e8; color: #805530; font-size: 9px; font-weight: 600; line-height: 1.6; letter-spacing: .3px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 20px; }
.plan-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 28px; border: 1px solid #d8e1d1; border-radius: 8px; background: var(--white); }
.plan-primary { border-color: #829c77; background: #f7faf2; box-shadow: 0 15px 35px #172c300b; }
.plan-primary::before { content: ""; position: absolute; inset: -1px -1px auto; height: 4px; border-radius: 8px 8px 0 0; background: var(--orange); }
.plan-kicker { margin: 0 0 13px; color: #4f6a44; font-size: 9px; font-weight: 700; line-height: 1.6; letter-spacing: 1.1px; text-transform: uppercase; }
.plan-card h3 { margin: 0 0 10px; font-size: 23px; line-height: 1.25; font-weight: 600; letter-spacing: -.7px; }
.plan-card > p:not(.plan-kicker):not(.plan-price) { margin: 0 0 17px; color: #5e7054; font-size: 12px; line-height: 1.8; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 9px; margin-block: 13px 19px; }
.plan-price > strong { color: var(--ink); font-size: 48px; font-weight: 600; line-height: 1.1; letter-spacing: -2px; font-variant-numeric: tabular-nums; }
.plan-price > span { color: #5b7050; font-size: 12px; line-height: 1.7; }
.plan-price > small { flex-basis: 100%; color: #5b7050; font-size: 10px; line-height: 1.7; }
.plan-card ul { display: grid; gap: 13px; padding: 20px 0 24px; margin: 0; border-top: 1px solid #dfe7d6; list-style: none; }
.plan-card li { position: relative; padding-left: 16px; color: #455e3b; font-size: 12px; line-height: 1.7; }
.plan-card li::before { content: ""; position: absolute; left: 1px; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: #719563; }
.plan-card > .button, .plan-card > a:last-child { margin-top: auto; width: 100%; min-height: 46px; }
.plan-card > small { margin-top: 12px; color: #5f7057; font-size: 10px; line-height: 1.7; }
.pricing-summary { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 25px; margin-top: 22px; padding: 20px 24px; border: 1px solid #c6d6bd; border-radius: 6px; background: #eaf1e3; color: #3e5c33; font-size: 12px; line-height: 1.8; }
.pricing-summary p { margin: 0; }
.pricing-summary strong { color: #284823; font-size: 14px; font-weight: 600; }
.pricing-summary small { display: block; color: #506b44; font-size: 10px; }
.pricing-section > .job-note { max-width: 800px; }

@media (max-width: 1050px) {
  .proposal-layout { grid-template-columns: minmax(160px, .5fr) minmax(0, 1.5fr); gap: 22px; }
  .proposal-document { padding: 26px; }
  .contractor-header { gap: 15px; }
  .contractor-name { font-size: 18px; }
  .contractor-logo { flex-basis: 42px; width: 42px; height: 42px; font-size: 28px; }
  .proposal-meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 22px; }
  .job-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .job-grid > aside { display: block; }
  .metric-card { padding: 14px; }
  .metric-card > strong { font-size: 23px; }
  .plan-card { padding: 23px; }
  .plan-card h3 { font-size: 21px; }
  .plan-price > strong { font-size: 43px; }
}
@media (max-width: 800px) {
  .proposal-layout { grid-template-columns: minmax(0, 1fr); gap: 23px; }
  .proposal-rail { padding: 0; }
  .proposal-rail h3 { font-size: 21px; }
  .proposal-rail .button { width: auto; min-width: 190px; margin-top: 8px; }
  .proposal-rail .scope-caution { margin-top: 13px; }
  .proposal-document { width: 100%; max-width: 680px; margin-inline: auto; }
  .contractor-name { font-size: 21px; }
  .proposal-meta-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
  .job-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .metric-card > strong { font-size: 26px; }
  .pricing-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .plan-card { padding: 28px; }
  .plan-card h3 { font-size: 25px; }
  .plan-price > strong { font-size: 47px; }
  .plan-card ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; }
  .plan-card > .button, .plan-card > a:last-child { width: auto; align-self: flex-start; min-width: 190px; }
}
@media (max-width: 620px) {
  .lifecycle-strip { grid-template-columns: minmax(0, 1fr); gap: 17px; padding-block: 20px; margin-bottom: 25px; }
  .lifecycle-strip > * { padding: 0; }
  .lifecycle-strip > * + * { border-left: 0; border-top: 1px solid var(--line); padding: 17px 0 0; }
  .lifecycle-strip strong { font-size: 13px; }
  .lifecycle-strip p { font-size: 11px; }
  .proposal-panel { padding: 20px 13px; }
  .proposal-rail { padding-inline: 5px; }
  .proposal-document { padding: 22px 17px; }
  .contractor-header { gap: 12px; flex-wrap: wrap; padding-bottom: 18px; }
  .contractor-identity { gap: 11px; }
  .contractor-name { font-size: 20px; }
  .contractor-details { font-size: 9px; }
  .document-label { flex-basis: 100%; text-align: left; margin-top: 3px; }
  .document-label span, .document-label small { display: inline; margin-left: 8px; }
  .proposal-meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-block: 20px; }
  .proposal-document > h3 { font-size: 21px; }
  .proposal-scope-table { font-size: 10px; }
  .proposal-scope-table th { padding: 9px 7px; font-size: 9px; }
  .proposal-scope-table td { padding: 12px 7px; }
  .proposal-scope-table td small { font-size: 9px; }
  .proposal-summary { width: 100%; margin-block: 19px 23px; }
  .proposal-terms-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 19px; }
  .signature-grid { gap: 20px; margin-top: 28px; }
  .signature-line { font-size: 9px; }
  .document-footer { font-size: 9px; }
  .job-status-bar { align-items: flex-start; gap: 17px; }
  .job-status-bar h3 { font-size: 23px; }
  .job-status-bar label { width: 100%; }
  .job-status-bar select { min-height: 44px; font-size: 16px; }
  .stage-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-block: 19px; }
  .stage-track > li { padding-top: 9px; font-size: 10px; }
  .stage-track > li strong { font-size: 11px; }
  .metric-card { padding: 14px 12px; }
  .metric-card > span { font-size: 10px; }
  .metric-card > strong { font-size: 25px; letter-spacing: -.7px; }
  .metric-card > small { font-size: 9px; }
  .job-grid { gap: 18px; }
  .job-grid > aside { padding: 16px; }
  .budget-table { min-width: 480px; }
  .cost-ledger { min-width: 560px; }
  .budget-table td, .cost-ledger td { padding: 12px 10px; }
  .job-note { font-size: 10px; }
  .pricing-section { padding-block: 48px; }
  .plan-card { padding: 25px; }
  .plan-card ul { grid-template-columns: minmax(0, 1fr); }
  .plan-card > .button, .plan-card > a:last-child { align-self: stretch; width: 100%; }
  .pricing-summary { padding: 17px 19px; font-size: 11px; }
  .pricing-summary strong { font-size: 13px; }
}
@media (max-width: 420px) {
  .proposal-document { padding-inline: 14px; }
  .contractor-name { font-size: 18px; }
  .contractor-logo { flex-basis: 38px; width: 38px; height: 38px; font-size: 26px; }
  .proposal-scope-table th, .proposal-scope-table td { padding-inline: 5px; }
  .proposal-scope-table th:first-child, .proposal-scope-table td:first-child { padding-left: 5px; }
  .proposal-scope-table td:last-child { font-size: 9px; }
  .signature-grid { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .stage-track { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  .stage-track > li { border-top: 0; border-left: 3px solid #dbe3d5; padding: 7px 10px; background: #f7faf3; }
  .stage-track > .is-complete { border-left-color: #6b9460; }
  .stage-track > .is-current { border-left-color: var(--orange); background: #fff6ef; }
  .metric-card > strong { font-size: 22px; }
  .plan-card { padding: 23px; }
}
@media print {
  .proposal-rail, .accept-demo-button, .accept-status { display: none !important; }
  .proposal-layout { display: block; }
  .proposal-document { max-width: none; box-shadow: none; border-color: #d9e0d3; }
  .contractor-header, .proposal-scope-table tr, .proposal-summary, .signature-grid { break-inside: avoid; }
}

/* Detailed worksheets and the finalized semantic document markup. */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.demo-panel > * { min-width: 0; }
.lifecycle-strip { padding-left: 0; list-style: none; }
.lifecycle-strip > li { display: flex; align-items: flex-start; gap: 14px; }
.lifecycle-strip > li > span { margin-top: 3px; color: var(--orange-dark); font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums; }
.lifecycle-strip > li > div { min-width: 0; }
.cost-color-5 { background: #618090; }
.cost-color-6 { background: #b99b49; }

.estimate-detail { grid-column: 1 / -1; width: 100%; min-width: 0; margin-top: 8px; border: 1px solid #cbd8c4; border-radius: 6px; background: var(--white); }
.estimate-detail-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 25px; border-radius: 5px 5px 0 0; background: var(--ink); color: var(--white); }
.estimate-detail-heading > div { min-width: 0; }
.estimate-detail-heading .mini-label { color: #bbceb0; font-size: 9px; line-height: 1.7; }
.estimate-detail-heading h3 { margin: 9px 0 0; font-size: 29px; font-weight: 600; line-height: 1.2; letter-spacing: -.9px; }
.estimate-detail-heading .phase-pill { flex-shrink: 0; border-color: #657d58; background: #31472b; color: #e0ecd8; font-size: 9px; }
.estimate-detail > .job-note { margin: 0; padding: 16px 24px; border-bottom: 1px solid #dbe4d3; background: #f2f6ed; color: #4c6344; font-size: 11px; }
.estimate-detail > .table-scroll { width: 100%; max-width: 100%; border: 0; border-radius: 0; }
.estimate-detail-table { width: 100%; min-width: 780px; border-collapse: collapse; background: var(--white); font-size: 11px; }
.estimate-detail-table th, .estimate-detail-table td { padding: 12px 15px; border-bottom: 1px solid #e0e7d8; line-height: 1.65; }
.estimate-detail-table thead th { padding-block: 13px; background: #e9f0e1; color: #385331; font-size: 9px; font-weight: 700; letter-spacing: .6px; text-align: right; text-transform: uppercase; white-space: nowrap; }
.estimate-detail-table thead th:first-child { text-align: left; }
.estimate-detail-table tbody tr:not(.estimate-group-row) > th { min-width: 260px; color: #263e21; font-weight: 500; text-align: left; }
.estimate-detail-table tbody tr:not(.estimate-group-row) > td { color: #405b37; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.estimate-detail-table tbody tr:not(.estimate-group-row) > :first-child { width: 42%; text-align: left; white-space: normal; }
.estimate-detail-table td:last-child { font-weight: 600; }
.estimate-detail-table tbody tr:not(.estimate-group-row):nth-child(even) { background: #fbfcf8; }
.estimate-detail-table .estimate-group-row > th,
.estimate-detail-table .estimate-group-row > td {
  padding: 12px 15px;
  border-top: 1px solid #324a2d;
  border-bottom: 1px solid #324a2d;
  background: #29442e;
  color: #f6fbf2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  line-height: 1.6;
  text-align: left;
  text-transform: uppercase;
}
.estimate-detail-table .estimate-group-row > :last-child:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.estimate-detail-table tfoot th, .estimate-detail-table tfoot td { padding-block: 17px; border-top: 2px solid var(--ink); border-bottom: 0; background: #e8f0e0; color: #25401f; font-size: 13px; font-weight: 700; text-align: right; }
.estimate-detail-table tfoot th { text-align: left; }
.estimate-detail-table tfoot td { font-size: 18px; letter-spacing: -.35px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.estimate-detail-table td small, .estimate-detail-table th small { display: block; margin-top: 3px; color: #5a7051; font-size: 10px; font-weight: 400; line-height: 1.7; }
.estimate-notes { padding: 22px 25px 23px; border-top: 1px solid #d0ddc7; border-radius: 0 0 5px 5px; background: #f7faf2; }
.estimate-notes h4 { margin: 0 0 12px; color: #304f27; font-size: 13px; font-weight: 600; line-height: 1.5; }
.estimate-notes ul { display: grid; gap: 8px; margin: 0; padding-left: 18px; }
.estimate-notes li { color: #4c6543; font-size: 11px; line-height: 1.8; }

.proposal-document > .demo-stamp { margin: 0 0 18px; }
.contractor-identity > div:last-child { min-width: 0; }
.contractor-name { display: block; }
.contractor-identity > div:last-child > span { display: block; margin-top: 5px; color: #4b6441; font-size: 9px; font-weight: 600; letter-spacing: 1.8px; line-height: 1.6; }
.document-label > strong { display: block; font-size: 24px; font-weight: 600; line-height: 1.2; letter-spacing: 1.5px; }
.proposal-document > .contractor-details { display: grid; grid-template-columns: 1.15fr 1fr 1.1fr; gap: 17px; margin: 0; padding-block: 18px; border-bottom: 1px solid #dbe5d2; }
.proposal-document > .contractor-details > p { margin: 0; color: #465e3d; font-size: 10px; line-height: 1.8; overflow-wrap: anywhere; }
.proposal-meta-grid > div > span { margin-bottom: 6px; color: #52694a; font-size: 9px; font-weight: 600; letter-spacing: .5px; line-height: 1.6; }
.proposal-meta-grid > div > small { display: block; margin-top: 5px; color: #5b7053; font-size: 9px; line-height: 1.7; }
.proposal-document > h3 { margin-top: 5px; font-size: 27px; line-height: 1.25; letter-spacing: -.85px; }
.proposal-document > .table-scroll { margin-top: 22px; }
.proposal-scope-table { min-width: 530px; margin-top: 0; }
.proposal-scope-table thead th { padding-block: 13px; background: var(--ink); color: #f3f8ed; }
.proposal-scope-table thead th:not(:first-child) { text-align: right; }
.proposal-scope-table tbody th[scope="row"] { min-width: 210px; padding-block: 15px; border-bottom: 1px solid #e2e8dc; background: var(--white); color: var(--ink); font-size: 11px; font-weight: 500; letter-spacing: 0; line-height: 1.7; text-align: left; text-transform: none; }
.proposal-scope-table tbody td:not(:first-child) { min-width: 80px; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.proposal-scope-table tbody td:last-child { font-weight: 600; }
.proposal-terms-grid h4 { padding: 9px 11px; background: #edf3e6; color: #354f2c; font-size: 10px; letter-spacing: .7px; }
.proposal-terms-grid p { margin-bottom: 0; }
.signature-grid > div { min-width: 0; }
.signature-grid .signature-line { min-height: 25px; padding: 0; border-top: 0; border-bottom: 1px solid #879b7e; }
.signature-grid > div > span { display: block; margin-top: 9px; color: #52664a; font-size: 9px; line-height: 1.7; }
.document-footer { display: flex; justify-content: space-between; align-items: baseline; gap: 17px; }
.document-footer > span:last-child { flex-shrink: 0; white-space: nowrap; }

.job-panel { display: block; min-width: 0; }
.job-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 370px; max-width: 680px; margin-inline: auto; padding: 40px 25px; text-align: center; }
.job-empty h3 { max-width: 520px; margin: 21px 0 13px; font-size: 32px; font-weight: 600; letter-spacing: -1px; line-height: 1.25; }
.job-empty p { max-width: 470px; margin: 0 0 24px; color: #5a6d51; font-size: 13px; line-height: 1.85; }
.job-empty .button { max-width: 100%; min-height: 46px; }
.job-grid .cost-heading { margin-bottom: 15px; }
.hours-card > .mini-label { margin: 0; color: #48613f; font-size: 9px; font-weight: 700; letter-spacing: 1.1px; }
.hours-card > strong { display: block; margin-top: 13px; color: #234222; font-size: 35px; font-weight: 600; letter-spacing: -1.2px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.hours-card > p:not(.mini-label):not(.job-note) { margin-block: 7px 0; color: #526c47; font-size: 11px; }
.hours-card > .spent-bar { width: 100%; max-width: none; height: 8px; margin-block: 18px; }
.hours-card > .job-note { margin-top: 17px; }
.stage-track > li > span { display: block; margin-bottom: 5px; font-size: 10px; font-weight: 700; }
.budget-table tbody th[scope="row"], .cost-ledger tbody th[scope="row"] { padding: 13px 12px; border-bottom: 1px solid #e5ebdf; background: var(--white); color: var(--ink); font-size: 11px; font-weight: 500; letter-spacing: 0; line-height: 1.6; text-align: left; text-transform: none; white-space: normal; }
.budget-table tbody th[scope="row"] { min-width: 145px; }
.budget-table tfoot th[scope="row"] { border-top: 1px solid #bfd0b5; background: #edf3e7; color: #2f4e25; font-size: 11px; letter-spacing: 0; text-transform: none; }
/* The ledger class is on a section; the table, not the section, may scroll. */
.cost-ledger { display: block; width: 100%; min-width: 0; margin-top: 27px; }
.cost-ledger > .cost-heading { margin-bottom: 14px; }
.cost-ledger table { width: 100%; min-width: 590px; border-collapse: collapse; background: var(--white); font-size: 11px; }
.cost-ledger tbody th[scope="row"] { min-width: 145px; }
.budget-table tbody tr:last-child th, .cost-ledger tbody tr:last-child th { border-bottom: 0; }
.pricing-grid .button-outline { border-color: #a9bda0; background: #f7faf3; color: var(--ink); }
.pricing-grid .button-outline:hover { background: #e8f0df; }
.header-contact { max-width: none; white-space: normal; }
.hero-actions .button, .contact-copy .button { max-width: 100%; white-space: normal; }

@media (max-width: 1050px) {
  .proposal-document > .contractor-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proposal-document > .contractor-details > p:last-child { grid-column: 1 / -1; }
  .document-label > strong { font-size: 21px; }
  .estimate-detail-heading { padding: 21px; }
  .estimate-detail-heading h3 { font-size: 27px; }
  .estimate-detail > .job-note { padding-inline: 21px; }
  .estimate-notes { padding-inline: 21px; }
  .header-contact { max-width: 190px; font-size: 10px; }
}
@media (max-width: 800px) {
  .proposal-document > .contractor-details { grid-template-columns: 1.15fr 1fr 1.1fr; }
  .proposal-document > .contractor-details > p:last-child { grid-column: auto; }
  .estimate-detail-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .job-empty { min-height: 330px; }
}
@media (max-width: 620px) {
  .demo-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding-inline: 10px; }
  .demo-tabs button { min-width: 0; min-height: 58px; padding: 12px 7px; font-size: 10px; line-height: 1.5; white-space: normal; }
  .demo-toolbar > .preset-label { align-items: stretch; flex-direction: column; gap: 7px; }
  .demo-toolbar > .preset-label select { width: 100%; max-width: none; font-size: 16px; }
  .estimate-detail { margin-top: 0; }
  .estimate-detail-heading { padding: 20px 16px; }
  .estimate-detail-heading h3 { font-size: 26px; }
  .estimate-detail-heading .mini-label { font-size: 9px; letter-spacing: .8px; }
  .estimate-detail > .job-note { padding: 15px 16px; font-size: 11px; }
  .estimate-detail-table { min-width: 730px; }
  .estimate-detail-table th, .estimate-detail-table td { padding-inline: 12px; }
  .estimate-detail-table .estimate-group-row > th, .estimate-detail-table .estimate-group-row > td { padding-inline: 12px; }
  .estimate-notes { padding: 19px 16px; }
  .estimate-notes h4 { font-size: 13px; }
  .estimate-notes li { font-size: 11px; }
  .proposal-document > .contractor-details { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-block: 17px; }
  .proposal-document > .contractor-details > p:last-child { grid-column: 1 / -1; }
  .contractor-identity > div:last-child > span { font-size: 9px; letter-spacing: 1.4px; }
  .document-label > strong { font-size: 23px; }
  .proposal-document > h3 { font-size: 25px; }
  .proposal-scope-table { min-width: 520px; }
  .proposal-scope-table th, .proposal-scope-table td { padding-inline: 10px; }
  .proposal-scope-table tbody th[scope="row"] { font-size: 11px; }
  .proposal-scope-table tbody td, .proposal-scope-table tbody td:last-child { font-size: 11px; }
  .proposal-terms-grid p { font-size: 11px; }
  .signature-grid > div > span { font-size: 9px; }
  .document-footer { flex-wrap: wrap; gap: 9px; }
  .job-empty { min-height: 310px; padding: 24px 4px; }
  .job-empty h3 { font-size: 28px; }
  .job-empty p { font-size: 12px; }
  .job-empty .button { font-size: 11px; }
  .hours-card > strong { font-size: 35px; }
  .cost-ledger { min-width: 0; }
  .cost-ledger table { min-width: 560px; }
  .header-contact { max-width: 180px; min-height: 44px; font-size: 10px; }
}
@media (max-width: 420px) {
  .site-header { flex-wrap: wrap; gap: 16px; padding-block: 17px; }
  .header-contact { flex-basis: 100%; width: 100%; max-width: none; margin-left: 0; min-height: 44px; font-size: 11px; }
  .demo-tabs { padding-inline: 5px; }
  .demo-tabs button { padding-inline: 5px; font-size: 10px; }
  .estimate-detail-heading h3 { font-size: 24px; }
  .estimate-detail-heading .phase-pill { white-space: normal; }
  .proposal-document > .contractor-details { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .proposal-document > .contractor-details > p:last-child { grid-column: auto; }
  .job-empty h3 { font-size: 26px; }
}
@media print {
  .proposal-document > .table-scroll { overflow: visible; }
  .proposal-scope-table { min-width: 0; }
}

.site-header {padding-block:15px;gap:22px}
.site-header .approved-brand {min-width:220px}
.site-footer {flex-wrap:wrap}
@media(max-width:800px){.site-header{flex-wrap:wrap}.site-header .approved-brand{margin-right:auto}.site-header nav{margin-left:0}}
@media(max-width:420px){.site-header .approved-brand{min-width:0;width:100%;max-width:100%}.site-header nav{justify-content:space-between;flex-wrap:wrap;width:100%;gap:12px}.site-header .header-contact{width:100%}}

/* General conditions and a source-backed wage basis for the school sample. */
.cost-color-7 { background: #8b7292; }
.estimate-detail-table { min-width: 1100px; }
.estimate-detail-table tbody tr:not(.estimate-group-row) > :first-child { width: 34%; }
.estimate-detail-table thead th { vertical-align: bottom; }
.estimate-detail-table thead th:nth-child(4),
.estimate-detail-table thead th:nth-child(5),
.estimate-detail-table thead th:nth-child(6) { min-width: 125px; white-space: normal; line-height: 1.65; }
.estimate-detail-table thead th:last-child { min-width: 130px; }

.wage-basis {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid #cbd9c3;
  border-left: 4px solid #9cb58c;
  border-radius: 6px;
  background: #f5f8f0;
  color: var(--ink);
}
.wage-basis[hidden] { display: none !important; }
.wage-basis-heading { padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid #d7e3cc; }
.wage-basis-heading .eyebrow,
.wage-basis-heading .mini-label { margin-bottom: 9px; color: #4c6742; font-size: 9px; letter-spacing: 1px; line-height: 1.7; }
.wage-basis-heading h3 { margin: 0; color: var(--ink); font-size: 25px; font-weight: 600; line-height: 1.25; letter-spacing: -.7px; }
.wage-basis-heading p:not(.eyebrow):not(.mini-label) { max-width: 850px; margin: 13px 0 0; color: #4f6845; font-size: 12px; line-height: 1.85; }
.wage-basis-facts { display: flex; align-items: stretch; flex-wrap: wrap; gap: 12px; margin: 0 0 20px; padding: 0; }
.wage-basis-facts > div,
.wage-basis-facts > dl { flex: 1 1 180px; min-width: 0; margin: 0; padding: 14px 16px; border: 1px solid #d8e4ce; border-radius: 4px; background: var(--white); }
.wage-basis-facts dt,
.wage-basis-facts .mini-label { margin: 0; color: #536d49; font-size: 9px; font-weight: 600; letter-spacing: .6px; line-height: 1.7; text-transform: uppercase; }
.wage-basis-facts dd { margin: 6px 0 0; color: #2e4927; font-size: 12px; font-weight: 500; line-height: 1.7; overflow-wrap: anywhere; }
.wage-basis-facts dd small { display: block; margin-top: 4px; color: #526d47; font-size: 10px; font-weight: 400; line-height: 1.7; }
.wage-basis > .table-scroll { width: 100%; max-width: 100%; border-color: #cbdcc1; background: var(--white); }
.wage-basis-table { width: 100%; min-width: 960px; border-collapse: collapse; background: var(--white); font-size: 11px; }
.wage-basis-table th,
.wage-basis-table td { padding: 14px 16px; border-bottom: 1px solid #dfe8d6; line-height: 1.75; vertical-align: top; }
.wage-basis-table thead th { padding-block: 13px; background: #e6efdd; color: #35582c; font-size: 10px; font-weight: 700; line-height: 1.7; text-align: left; vertical-align: bottom; }
.wage-basis-table thead th:first-child { width: 27%; min-width: 220px; }
.wage-basis-table thead th:nth-child(2) { min-width: 110px; }
.wage-basis-table thead th:nth-child(3) { min-width: 160px; }
.wage-basis-table thead th:nth-child(4) { min-width: 120px; }
.wage-basis-table thead th:last-child { width: 25%; min-width: 230px; }
.wage-basis-table tbody th[scope="row"] { color: #294725; font-size: 12px; font-weight: 600; text-align: left; }
.wage-basis-table tbody td { color: #3c5932; font-variant-numeric: tabular-nums; }
.wage-basis-table thead th:nth-child(2),
.wage-basis-table thead th:nth-child(3),
.wage-basis-table thead th:nth-child(4),
.wage-basis-table tbody td:nth-child(2),
.wage-basis-table tbody td:nth-child(3),
.wage-basis-table tbody td:nth-child(4) { text-align: right; }
.wage-basis-table tbody td:nth-child(2),
.wage-basis-table tbody td:nth-child(3),
.wage-basis-table tbody td:nth-child(4) { white-space: nowrap; }
.wage-basis-table tbody td:nth-child(4) { color: #284824; font-weight: 700; }
.wage-basis-table tbody td:last-child { font-size: 11px; line-height: 1.8; text-align: left; }
.wage-basis-table tbody tr:nth-child(even) { background: #fbfdf8; }
.wage-basis-table tbody tr:last-child > * { border-bottom: 0; }
.wage-basis-table th small,
.wage-basis-table td small { display: block; margin-top: 4px; color: #536e48; font-size: 10px; font-weight: 400; line-height: 1.75; white-space: normal; }
.wage-basis a { color: #214f46; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.wage-basis a:hover { color: var(--orange-dark); }
.wage-basis a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 1px; }
.wage-basis-notes { display: grid; gap: 9px; margin: 20px 0 0; padding: 18px 0 0 19px; border-top: 1px solid #d4e1c9; }
.wage-basis-notes li { color: #4b6541; font-size: 11px; line-height: 1.85; }
.wage-basis-notes strong { color: #2f5027; font-weight: 600; }
.wage-basis > .job-note { margin-top: 18px; color: #4b6541; font-size: 11px; line-height: 1.85; }

@media (max-width: 800px) {
  .wage-basis { padding: 21px; }
  .wage-basis-facts > div,
  .wage-basis-facts > dl { flex-basis: 210px; }
}
@media (max-width: 620px) {
  .estimate-detail-table { min-width: 1050px; }
  .estimate-detail-table thead th:nth-child(4),
  .estimate-detail-table thead th:nth-child(5),
  .estimate-detail-table thead th:nth-child(6) { min-width: 120px; font-size: 9px; }
  .wage-basis { margin-top: 20px; padding: 19px 16px; border-left-width: 3px; }
  .wage-basis-heading { padding-bottom: 16px; margin-bottom: 16px; }
  .wage-basis-heading h3 { font-size: 23px; line-height: 1.3; }
  .wage-basis-heading p:not(.eyebrow):not(.mini-label) { font-size: 11px; }
  .wage-basis-facts { gap: 10px; margin-bottom: 17px; }
  .wage-basis-facts > div,
  .wage-basis-facts > dl { flex-basis: 100%; padding: 13px 14px; }
  .wage-basis-facts dd { font-size: 12px; }
  .wage-basis-table { min-width: 920px; }
  .wage-basis-table th,
  .wage-basis-table td { padding-inline: 13px; }
  .wage-basis-table thead th { font-size: 10px; }
  .wage-basis-notes { gap: 10px; margin-top: 17px; padding-top: 16px; }
  .wage-basis-notes li { font-size: 11px; }
}
@media (max-width: 420px) {
  .wage-basis { padding-inline: 13px; }
  .wage-basis-heading h3 { font-size: 22px; letter-spacing: -.5px; }
}

/* Keep the full project type readable in the demo selector. */
.demo-toolbar { flex-wrap: wrap; }
.demo-toolbar > .preset-label { min-width: 0; }
#sample-project { width: 310px; max-width: 100%; }
@media (max-width: 620px) {
  #sample-project { width: 100%; max-width: none; }
}

/* The project lifecycle spans planning, fieldwork and administrative closeout. */
.stage-track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stage-focus { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; padding: 23px; margin-bottom: 24px; border: 1px solid #d4dfcd; border-radius: 6px; background: #f5f8f0; }
.stage-focus > div, .stage-focus ul { min-width: 0; }
.stage-focus .mini-label { margin: 0 0 8px; color: #48613f; font-size: 9px; letter-spacing: .8px; }
.stage-focus h4 { margin: 0 0 10px; font-size: 22px; line-height: 1.25; letter-spacing: -.5px; }
.stage-focus p { margin: 0; color: #526c47; font-size: 12px; line-height: 1.8; }
.stage-focus p.job-note { margin-top: 12px; font-size: 10px; }
.stage-focus ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.stage-focus li { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 11px 13px; border: 1px solid #dbe4d4; border-radius: 4px; background: #fff; }
.checkpoint-name { color: #324e2d; font-size: 11px; line-height: 1.7; }
.checkpoint-status { flex-shrink: 0; padding: 3px 7px; border-radius: 3px; background: #eef1eb; color: #56664e; font-size: 9px; line-height: 1.7; white-space: nowrap; }
.status-complete { background: #e6efdc; color: #345a28; }
.status-in-progress { background: #fff0e3; color: #924213; }
@media (max-width: 800px) { .stage-focus { grid-template-columns: minmax(0, 1fr); gap: 18px; } }
@media (max-width: 620px) { .stage-track { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stage-focus { padding: 17px; } .stage-focus h4 { font-size: 21px; } }
@media (max-width: 420px) { .stage-focus li { flex-direction: column; gap: 6px; } }
