/* Magic Patterns HeroProduct: its original dimensions, states and transitions. */
.mp-preview { animation: mp-preview-enter 300ms 100ms cubic-bezier(.23,1,.32,1) both; }
.mp-preview [hidden] { display: none !important; }
.mp-app { font-family: Inter, system-ui, sans-serif; }
.mp-stages { position: relative; }
.mp-stage-pill { position: absolute; left: 0; top: 0; background: white; border-radius: 12px; transition: transform 250ms cubic-bezier(.23,1,.32,1), width 250ms cubic-bezier(.23,1,.32,1); }
.mp-stage { color: white; }
.mp-stage:not(.is-active):hover { background: #ffffff1a; }
.mp-stage.is-active { color: #06120e; }
.mp-stage-number { background: #ffffff26; color: white; }
.mp-stage.is-done .mp-stage-number { background: #f2b544; color: #06120e; }
.mp-stage.is-active .mp-stage-number { background: #134a3a; color: #f2b544; }
.mp-app-tab { color: #55564f; }
.mp-app-tab:hover, .mp-app-tab[aria-pressed="true"] { color: #1c1d1a; }
.mp-app-tab[aria-pressed="true"]::after { content: ''; position: absolute; inset: auto 0 0; height: 2px; background: #1c1d1a; }
.mp-opportunity { background: white; }
.mp-opportunity.is-tracked { background: #f1f6f2; }
.mp-track { border-color: #e2ddcf; background: white; color: #33342f; }
.mp-track:hover { border-color: #134a3a80; }
.mp-track[aria-pressed="true"] { border-color: #cfe0d6; background: #e5f0ea; color: #134a3a; }
.mp-track[aria-pressed="true"] svg { fill: currentColor; }
.mp-document-button { color: #55564f; }
.mp-document-button:hover { background: #efece3; }
.mp-document-button svg { color: #9a9a90; }
.mp-document-button[aria-pressed="true"] { background: white; font-weight: 500; color: #1c1d1a; box-shadow: 0 0 0 1px #e6e2d6, 0 1px 2px #0000000d; }
.mp-document-button[aria-pressed="true"] svg { color: #134a3a; }
.mp-document-pill { background: white; color: #33342f; }
.mp-document-pill[aria-pressed="true"] { background: #134a3a; color: white; }
[data-lessons-toggle][aria-expanded="true"] .mp-lessons-chevron { transform: rotate(180deg); }
/* Proposal pages keep the hierarchy and running furniture of a submitted document. */
.mp-proposal-page { display: flex; flex-direction: column; min-height: 720px; padding: 28px 32px 20px; background: #fff; box-shadow: 0 1px 4px #1c1d1a10; }
.mp-doc-running { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #1c1d1a; padding-bottom: 10px; font-size: 10px; line-height: 1.5; }
.mp-doc-running strong { letter-spacing: .1em; }
.mp-doc-running > span { color: #77796f; text-align: right; }
.mp-doc-kicker { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #134a3a; }
.mp-cover-title { padding: 32px 0 24px; }
.mp-cover-title h4 { max-width: 460px; margin-top: 12px; font-size: 30px; font-weight: 600; line-height: 1.16; letter-spacing: -.025em; }
.mp-cover-title > p:last-child { margin-top: 14px; font-size: 11px; color: #6b6b62; }
.mp-cover-image { width: 100%; height: 200px; object-fit: cover; }
.mp-cover-details { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 26px; font-size: 12px; line-height: 1.7; }
.mp-cover-details .mp-doc-kicker { margin-bottom: 5px; }
.mp-cover-statement { margin: 26px 0; max-width: 340px; font-size: 13px; font-weight: 500; line-height: 1.6; color: #134a3a; }
.mp-doc-body { padding-top: 24px; padding-bottom: 28px; font-size: 12.5px; line-height: 1.75; color: #33342f; }
.mp-doc-body h4 { margin: 9px 0 20px; color: #1c1d1a; font-size: 25px; line-height: 1.2; letter-spacing: -.025em; font-weight: 600; }
.mp-doc-body > p + p { margin-top: 14px; }
.mp-doc-body h5 { margin: 23px 0 7px; font-size: 13px; font-weight: 600; color: #134a3a; }
.mp-doc-signoff { display: flex; flex-direction: column; gap: 3px; padding-top: 24px; font-size: 12px; }
.mp-doc-signoff span { color: #6b6b62; font-size: 11px; }
.mp-preview .mp-doc-footer { display: flex; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 12px; border-top: 1px solid #dedfd7; background: white; color: #77796f; font-size: 10px; }
.mp-doc-footer > span:last-child { flex-shrink: 0; }
.mp-doc-figure { margin-top: 24px; }
.mp-doc-figure img { width: 100%; max-height: 180px; object-fit: cover; }
.mp-doc-figure figcaption { padding-top: 6px; font-size: 10px; color: #77796f; }
.mp-bid-context { margin-top: 28px; padding-top: 24px; border-top: 1px solid #dedfd7; }
.mp-bid-context > h5 { font-size: 16px; font-weight: 600; letter-spacing: -.015em; }
.mp-evidence-note { margin-top: 6px; font-size: 11px; color: #77796f; }
.mp-source-card { margin-top: 14px; border: 1px solid #dedfd7; border-radius: 8px; padding: 14px; font-size: 12px; line-height: 1.65; }
.mp-source-card summary { cursor: pointer; font-weight: 600; color: #134a3a; }
.mp-source-reference { margin-top: 10px; font-size: 10px; color: #77796f; }
.mp-source-card blockquote { border-left: 2px solid #b6cabd; margin-top: 10px; padding-left: 12px; color: #33342f; }
.mp-source-implication { margin-top: 12px; padding: 10px; background: #f0f5f1; border-radius: 5px; color: #134a3a; }
.mp-decision-actions { margin-top: 12px; padding-left: 18px; list-style: decimal; font-size: 12px; line-height: 1.7; color: #33342f; }
.mp-decision-actions li + li { margin-top: 9px; }
/* Month-accurate Gantt, with quarter gridlines and separate approval milestones. */
.mp-gantt-scroll { overflow-x: auto; padding-bottom: 8px; }
.mp-gantt { width: 100%; min-width: 560px; table-layout: fixed; border-collapse: collapse; font-size: 11px; text-align: left; }
.mp-gantt th:first-child { width: 145px; padding-right: 12px; }
.mp-gantt thead th { font-weight: 500; color: #6b6b62; vertical-align: bottom; padding-bottom: 8px; border-bottom: 1px solid #bfc5bb; }
.mp-gantt-years, .mp-gantt-quarters { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); }
.mp-gantt-years span { border-left: 1px solid #bfc5bb; padding-left: 5px; padding-bottom: 6px; font-weight: 600; color: #1c1d1a; }
.mp-gantt-quarters span { border-left: 1px solid #e6e8e0; padding-left: 5px; font-size: 9px; }
.mp-gantt tbody th { padding-block: 11px; font-weight: 500; line-height: 1.4; }
.mp-gantt tbody th small { display: block; margin-top: 4px; font-size: 9px; font-weight: 400; color: #77796f; }
.mp-gantt tbody tr { border-bottom: 1px solid #e8eae3; }
.mp-gantt-track { display: grid; grid-template-columns: repeat(30,minmax(0,1fr)); align-items: center; min-height: 55px; background-image: linear-gradient(to right,#dce1d5 1px,transparent 1px),linear-gradient(to right,#f0f2ec 1px,transparent 1px); background-size: 10% 100%,calc(100% / 30) 100%; }
.mp-gantt-bar { height: 19px; border-radius: 3px; background: #134a3a; border: 1px solid #0d3b2d; margin-inline: 1px; }
.mp-gantt-approval { background: #efd49b; border-color: #b78a3d; }
.mp-gantt-tender { background: #92b8cb; border-color: #578297; }
.mp-gantt-construction { background: #78a48b; border-color: #467958; }
.mp-gantt-milestones { position: relative; min-height: 38px; }
.mp-gantt-milestones span { position: absolute; top: 9px; transform: translateX(-100%); color: #b26a0c; font-size: 14px; }
.mp-gantt-key { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; font-size: 10px; color: #6b6b62; }
.mp-gantt-key li { display: flex; gap: 5px; }
.mp-gantt-key li > span { color: #b26a0c; }
.mp-schedule-note { margin-top: 20px; padding: 12px; border-radius: 6px; background: #f3f1ea; font-size: 11px; line-height: 1.7; color: #55564f; }
@media (max-width: 639px) {
    .mp-proposal-page { min-height: 0; padding: 20px 18px; }
    .mp-doc-running { align-items: flex-start; font-size: 9px; }
    .mp-cover-title { padding-top: 24px; }
    .mp-cover-title h4 { font-size: 25px; }
    .mp-cover-image { height: 150px; }
    .mp-cover-details { grid-template-columns: 1fr; gap: 18px; }
    .mp-doc-body h4 { font-size: 22px; }
}
@keyframes mp-preview-enter { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
