/* An ordered delivery plan: dates, work and a visible result for each stage. */
.schedule-intro { max-width: 72ch; margin: 12px auto 0; color: var(--muted); font-size: 16px; }
.schedule-summary { display: grid; grid-template-columns: 5fr 2fr; gap: 3px; margin: 30px 0 20px; }
.schedule-summary > div { display: grid; grid-template-columns: 34px auto 1fr; align-items: center; gap: 12px; padding: 17px 22px; background: #e8f0f6; border-block-end: 4px solid #225b85; }
.schedule-summary > div:first-child { border-start-start-radius: 13px; }
.schedule-summary > div:last-child { grid-template-columns: 28px auto; background: #fcf0d9; border-color: #e3ad4e; border-start-end-radius: 13px; }
.schedule-summary > div:last-child > span:last-child { grid-column: 1 / -1; }
.schedule-summary strong { font-size: 23px; font-weight: 800; line-height: 1.3; white-space: nowrap; }
.schedule-summary > div > span:last-child { color: #3e5667; font-size: 14px; }
.schedule-summary [data-icon] { width: 28px; height: 28px; color: #316588; }
.schedule-summary > div:last-child [data-icon] { color: #8a5c19; }
.project-phases { margin: 0; padding: 0; list-style: none; border: 1px solid var(--rule); border-radius: 16px; background: white; overflow: hidden; }
.project-phases > li { display: grid; grid-template-columns: 100px minmax(0,1fr) minmax(200px,.43fr); gap: 28px; padding: 23px 28px; align-items: start; }
.project-phases > li + li { border-block-start: 1px solid var(--rule); }
.phase-range { color: #205578; display: grid; gap: 1px; border-inline-end: 1px solid #dce6eb; padding-inline-end: 20px; align-self: stretch; align-content: start; }
.phase-range small { font-size: 12px; line-height: 1.5; color: #546e7c; }
.phase-range strong { font-size: 24px; font-variant-numeric: tabular-nums; font-weight: 800; line-height: 1.5; white-space: nowrap; }
.phase-range strong span { direction: ltr; unicode-bidi: isolate; }
.phase-detail h3 { font-size: 19px; line-height: 1.6; }
.phase-detail p { margin-top: 3px; font-size: 14px; line-height: 1.8; color: var(--muted); max-width: 76ch; }
.phase-outcome { font-size: 13px; line-height: 1.8; color: #42616e; }
.phase-outcome strong { display: block; font-weight: 750; font-size: 11px; color: #55737f; margin: 2px 0 3px; }
.project-phases .training-phase { background: #fffaf0; border-block-start: 3px solid #ecc476; }
.project-phases .release-phase { background: #f1f6fa; }
.release-phase .phase-detail h3 { color: #124d7a; }
.training-phase .phase-range { color: #82591a; }
.post-handover { display: flex; align-items: flex-start; gap: 18px; padding: 24px 28px; margin-top: 18px; border: 1px solid #e3d7bd; border-radius: 14px; background: #fffaf0; }
.post-handover > [data-icon] { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; background: #f6e7c8; color: #805a20; }
.post-handover .proposal-icon { width: 23px; height: 23px; }
.post-handover h3 { color: #614820; font-size: 19px; }
.post-handover p { max-width: 105ch; color: #655c4c; margin-top: 5px; font-size: 14px; line-height: 1.8; }

/* Commercial terms use a readable two-column list, with exclusions up front. */
.terms-notice { display: flex; align-items: center; gap: 16px; padding: 22px 26px; border: 1px solid #decda8; border-radius: 14px; background: #fff7e7; margin: 0 0 20px; }
.terms-notice [data-icon] { width: 32px; height: 32px; flex: 0 0 32px; color: #856021; }
.terms-notice p { font-size: 15px; color: #614b29; line-height: 1.8; }
.terms-notice strong { color: #4d3818; }
.commercial-terms { padding: 0; margin: 0; list-style: none; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); background: #fff; border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; }
.commercial-terms > li { display: grid; grid-template-columns: 38px minmax(0,1fr); align-items: start; gap: 17px; padding: 28px 30px; }
.commercial-terms > li:nth-child(2n) { border-inline-start: 1px solid var(--rule); }
.commercial-terms > li:nth-child(n+3) { border-block-start: 1px solid var(--rule); }
.commercial-terms [data-icon] { width: 38px; height: 38px; border-radius: 10px; background: #eef3f7; color: #30607e; }
.commercial-terms .proposal-icon { width: 20px; height: 20px; }
.commercial-terms h3 { font-size: 18px; line-height: 1.6; }
.commercial-terms p { font-size: 14px; line-height: 1.85; color: var(--muted); margin-top: 5px; max-width: 70ch; }
@media screen and (max-width: 1000px) {
  .project-phases > li { grid-template-columns: 80px minmax(0,1fr); gap: 6px 20px; }
  .phase-range { grid-row: span 2; }
  .phase-outcome { grid-column: 2; }
  .phase-outcome strong { display: inline; margin-inline-end: 6px; }
  .schedule-summary { grid-template-columns: 3fr 2fr; }
  .schedule-summary > div { grid-template-columns: 28px auto; }
  .schedule-summary > div > span:last-child { grid-column: 1 / -1; }
}
@media screen and (max-width: 650px) {
  .schedule-intro { font-size: 14px; }
  .schedule-summary { gap: 3px; grid-template-columns: 1fr 1fr; margin: 20px 0 15px; }
  .schedule-summary > div { padding: 13px; gap: 6px; }
  .schedule-summary strong { font-size: 20px; }
  .schedule-summary > div > span:last-child { font-size: 12px; line-height: 1.65; }
  .project-phases > li { grid-template-columns: 57px minmax(0,1fr); padding: 18px 15px; gap: 7px 14px; }
  .phase-range { padding-inline-end: 10px; }
  .phase-range strong { font-size: 17px; }
  .phase-range small { font-size: 11px; }
  .phase-detail h3 { font-size: 16px; }
  .phase-detail p { font-size: 13px; line-height: 1.8; }
  .phase-outcome { font-size: 12px; line-height: 1.75; }
  .phase-outcome strong { font-size: 11px; }
  .post-handover { padding: 18px 16px; gap: 12px; }
  .post-handover > [data-icon] { width: 32px; height: 32px; flex-basis: 32px; border-radius: 8px; }
  .post-handover .proposal-icon { width: 19px; height: 19px; }
  .post-handover h3 { font-size: 16px; }
  .post-handover p { font-size: 13px; }
  .commercial-terms { grid-template-columns: 1fr; }
  .commercial-terms > li { padding: 21px 18px; gap: 12px; grid-template-columns: 30px minmax(0,1fr); }
  .commercial-terms > li:nth-child(2n) { border-inline-start: 0; }
  .commercial-terms > li + li { border-block-start: 1px solid var(--rule); }
  .commercial-terms [data-icon] { width: 30px; height: 30px; border-radius: 8px; }
  .commercial-terms h3 { font-size: 16px; }
  .commercial-terms p { font-size: 13px; }
  .terms-notice { padding: 18px 16px; align-items: flex-start; gap: 12px; }
  .terms-notice strong { display: block; margin-bottom: 4px; }
  .terms-notice p { font-size: 13px; }
}
@media print {
  .section.delivery-plan { margin: 0; break-before: page; }
  .delivery-plan .section-line { margin-bottom: 3mm; }
  .schedule-intro { font-size: 9pt; margin-top: 2mm; }
  .schedule-summary { margin: 2mm 0 3mm; }
  .schedule-summary > div, .schedule-summary > div:last-child { display: flex; flex-wrap: wrap; padding: 2mm 3mm; gap: 2mm; }
  .schedule-summary strong { font-size: 12pt; }
  .schedule-summary > div > span:last-child { font-size: 8pt; }
  .schedule-summary [data-icon] { width: 5mm; height: 5mm; }
  .project-phases > li { grid-template-columns: 16mm minmax(0,1fr) 42mm; gap: 4mm; padding: 3mm; break-inside: avoid; }
  .phase-range { padding-inline-end: 2mm; }
  .phase-range small { font-size: 7pt; }
  .phase-range strong { font-size: 12pt; }
  .phase-detail h3 { font-size: 10pt; line-height: 1.5; }
  .phase-detail p, .phase-outcome { font-size: 8.5pt; line-height: 1.5; margin-top: 1mm; }
  .phase-outcome strong { font-size: 7.5pt; line-height: 1.4; }
  .post-handover { padding: 3mm; gap: 3mm; margin-top: 3mm; break-inside: avoid; }
  .post-handover > [data-icon] { width: 8mm; height: 8mm; flex-basis: 8mm; }
  .post-handover h3 { font-size: 10pt; }
  .post-handover p { font-size: 8.5pt; line-height: 1.5; margin-top: 1mm; }
  .investment { break-before: page; margin-top: 0; }
  .conditions { break-before: page; margin-top: 0; }
  .conditions .section-line { margin-bottom: 3mm; }
  .terms-notice { padding: 3mm; gap: 3mm; margin-bottom: 3mm; }
  .terms-notice p { font-size: 9pt; line-height: 1.5; }
  .terms-notice [data-icon] { width: 6mm; height: 6mm; flex-basis: 6mm; }
  .commercial-terms > li { grid-template-columns: 6mm minmax(0,1fr); padding: 3mm; gap: 2mm; break-inside: avoid; }
  .commercial-terms h3 { font-size: 10pt; line-height: 1.5; }
  .commercial-terms p { font-size: 8.5pt; line-height: 1.55; margin-top: 1mm; }
  .commercial-terms [data-icon] { width: 6mm; height: 6mm; border-radius: 1mm; }
  .commercial-terms .proposal-icon { width: 4mm; height: 4mm; }
}
