.project-file-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 93% 8%, rgba(201, 239, 98, .2), transparent 20rem),
    radial-gradient(circle at 8% 34%, rgba(223, 118, 88, .1), transparent 24rem),
    var(--paper);
}

.project-site-header nav a[aria-current="page"] { background: var(--white); color: var(--green-2); box-shadow: 0 3px 12px rgba(22, 36, 30, .06); }
.project-file-main { padding-block: 40px 110px; }
.project-breadcrumb { display: flex; align-items: center; gap: 9px; color: #77837b; font-size: 12px; }
.project-breadcrumb a { color: var(--green-2); font-weight: 700; }
.project-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 4px; }

.project-page-intro { padding: 58px 0 42px; display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.project-page-intro .kicker { color: var(--green-2); }
.project-page-intro .kicker span { color: var(--coral); font-size: 8px; }
.project-page-intro h1 { max-width: 780px; margin: 19px 0 18px; font: 500 clamp(46px, 6vw, 77px)/.98 var(--display); letter-spacing: -.067em; }
.project-page-intro h1 em { color: var(--green-2); font-style: normal; font-weight: 400; }
.project-page-intro > div:first-child > p { max-width: 670px; margin: 0; color: #536159; font-size: 17px; line-height: 1.65; }
.project-page-actions { padding-bottom: 5px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.project-page-actions .button { min-height: 48px; gap: 10px; }
.project-page-actions .button svg { width: 17px; height: 17px; }
.project-page-actions button:disabled { opacity: .48; transform: none; cursor: wait; box-shadow: none; }

.project-status { width: fit-content; margin-bottom: 18px; padding: 8px 12px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 99px; background: rgba(255, 253, 248, .75); color: #68766e; font-size: 10px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.project-status__dot { width: 7px; height: 7px; border-radius: 50%; background: #9da79f; box-shadow: 0 0 0 4px rgba(157, 167, 159, .12); }
.project-status[data-state="ready"] .project-status__dot { background: var(--green-2); box-shadow: 0 0 0 4px rgba(40, 91, 72, .12); }
.project-status[data-state="error"] .project-status__dot { background: var(--coral); box-shadow: 0 0 0 4px rgba(223, 118, 88, .12); }

.project-state { min-height: 390px; padding: 65px; position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 34px; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: rgba(255, 253, 248, .9); box-shadow: 0 22px 65px rgba(22, 36, 30, .08); }
.project-state[hidden] { display: none; }
.project-state h2 { max-width: 720px; margin: 15px 0 13px; font: 500 clamp(34px, 4vw, 51px)/1.05 var(--display); letter-spacing: -.055em; }
.project-state p { max-width: 640px; color: #5c6a62; font-size: 15px; line-height: 1.7; }
.project-state__mark, .project-loading-mark { width: 78px; height: 78px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green-2); font: 600 30px var(--display); }
.project-state--error .project-state__mark { background: #f0ded4; color: #9b442d; }
.project-state__mark--key { font-size: 41px; }
.project-state__mark--home { font-size: 35px; }
.project-state__actions { margin-top: 25px; display: flex; flex-wrap: wrap; align-items: center; gap: 23px; }
.project-loading-mark span { width: 31px; height: 31px; border: 3px solid rgba(40, 91, 72, .2); border-top-color: var(--green-2); border-radius: 50%; animation: project-spin .75s linear infinite; }
.project-loading-lines { width: 33%; min-width: 240px; position: absolute; right: 48px; bottom: 38px; display: grid; gap: 9px; opacity: .5; }
.project-loading-lines i { height: 8px; overflow: hidden; border-radius: 99px; background: var(--green-soft); }
.project-loading-lines i:nth-child(2) { width: 76%; }
.project-loading-lines i:nth-child(3) { width: 48%; }
@keyframes project-spin { to { transform: rotate(360deg); } }

.project-report { overflow: hidden; border: 1px solid var(--line); border-radius: 27px; background: var(--white); box-shadow: 0 32px 90px rgba(22, 36, 30, .12); }
.project-report[hidden] { display: none; }
.report-page { padding: 72px; }
.project-report__cover { min-height: 790px; position: relative; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; background: var(--green); color: white; }
.project-report__cover::before { content: ""; width: 530px; height: 530px; position: absolute; right: -180px; top: 80px; border: 1px solid rgba(201,239,98,.11); border-radius: 50%; box-shadow: 0 0 0 70px rgba(201,239,98,.025), 0 0 0 140px rgba(201,239,98,.018); }
.report-brandline { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; }
.report-brandline .brand { color: white; }
.report-edition { padding: 8px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 99px; color: #bed0c7; font-size: 9px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.report-cover-copy { padding-top: 94px; position: relative; z-index: 2; align-self: start; }
.report-overline, .report-label { color: var(--green-2); font-size: 9px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.report-cover-copy .report-overline { color: var(--lime); }
.report-cover-copy h2 { max-width: 760px; margin: 23px 0 24px; font: 500 clamp(61px, 8vw, 104px)/.88 var(--display); letter-spacing: -.077em; }
.report-cover-copy h2 em { color: #bbd0c5; font-style: normal; font-weight: 400; }
.report-cover-copy > p { max-width: 540px; color: #bdccc4; font-size: 18px; }
.report-cover-graphic { width: min(49%, 590px); position: absolute; z-index: 1; right: 12px; bottom: 123px; color: var(--lime); opacity: .88; }
.report-cover-graphic svg { width: 100%; height: auto; stroke-width: 1.25; }
.report-graphic__land { stroke: rgba(255,255,255,.25); }
.report-graphic__home { fill: rgba(255,255,255,.035); stroke: rgba(201,239,98,.7); }
.report-graphic__line { stroke: rgba(255,255,255,.48); }
.report-graphic__sun { stroke: var(--lime); }
.report-graphic__leaf { fill: rgba(201,239,98,.08); stroke: rgba(201,239,98,.78); }
.report-graphic__leaf-line { stroke: rgba(201,239,98,.78); }
.report-cover-meta { width: min(68%, 730px); margin: 0; padding: 24px 0 0; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.16); }
.report-cover-meta div { padding-right: 18px; }
.report-cover-meta dt { margin-bottom: 5px; color: #8fa69a; font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.report-cover-meta dd { margin: 0; color: white; font-size: 12px; font-weight: 600; }
.report-cover-note { margin: 44px -72px -72px; padding: 19px 72px; position: relative; z-index: 2; display: flex; align-items: center; gap: 25px; border-top: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.11); }
.report-cover-note b { flex: none; color: var(--lime); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.report-cover-note p { margin: 0; color: #aebfb6; font-size: 9px; line-height: 1.5; }

.report-section { border-top: 1px solid var(--line); }
.report-section__heading { margin-bottom: 44px; display: grid; grid-template-columns: 45px 1fr; gap: 21px; align-items: start; }
.report-section__heading > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: var(--lime); font-size: 9px; font-weight: 700; }
.report-section__heading p, .report-subheading > p { margin: 0 0 6px; color: var(--coral); font-size: 8px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.report-section__heading h2, .report-subheading h2 { margin: 0; font: 500 clamp(31px, 3.7vw, 47px)/1.05 var(--display); letter-spacing: -.052em; }
.report-intro { max-width: 710px; margin: -23px 0 32px 66px; color: #66736b; font-size: 13px; line-height: 1.65; }

.report-facts { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 17px; overflow: hidden; }
.report-facts div { min-height: 115px; padding: 21px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #f8f7f1; }
.report-facts div:nth-child(4n) { border-right: 0; }
.report-facts div:nth-last-child(-n + 4) { border-bottom: 0; }
.report-facts dt { margin-bottom: 16px; color: #77837b; font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.report-facts dd { margin: 0; font: 600 17px/1.25 var(--display); letter-spacing: -.025em; }
.report-two-column { margin-top: 15px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 15px; }
.report-panel { min-height: 175px; padding: 27px; border-radius: 17px; background: var(--green-soft); }
.report-panel--budget { background: #eadfd4; }
.report-panel h3 { margin: 9px 0 18px; font: 600 24px/1.15 var(--display); letter-spacing: -.04em; }
.report-panel--budget h3 { margin-top: 17px; font-size: 37px; }
.report-panel--budget p:last-child { margin: 0; color: #657269; font-size: 10px; line-height: 1.55; }
.report-pill-list { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; list-style: none; }
.report-pill-list li { padding: 7px 10px; border: 1px solid rgba(23,60,48,.14); border-radius: 99px; background: rgba(255,255,255,.42); font-size: 10px; font-weight: 700; }
.report-context { margin-top: 15px; padding: 18px 22px; display: grid; grid-template-columns: 170px 1fr; gap: 20px; border: 1px solid var(--line); border-radius: 13px; }
.report-context b { font-size: 10px; }
.report-context p { margin: 0; color: #66736b; font-size: 11px; }

.report-plan-summary { margin-bottom: 15px; display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border-radius: 14px; background: var(--green); color: white; }
.report-plan-summary div { padding: 21px; border-right: 1px solid rgba(255,255,255,.13); }
.report-plan-summary div:last-child { border: 0; }
.report-plan-summary span { display: block; margin-bottom: 6px; color: #9db2a7; font-size: 8px; letter-spacing: .09em; text-transform: uppercase; }
.report-plan-summary b { font: 600 20px var(--display); }
.report-plan-list, .report-task-list, .report-next-list { margin: 0; padding: 0; list-style: none; }
.report-plan-list { counter-reset: plan; }
.report-plan-list li { min-height: 98px; padding: 19px 15px 19px 66px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; border-top: 1px solid var(--line); counter-increment: plan; }
.report-plan-list li::before { content: counter(plan, decimal-leading-zero); width: 38px; height: 38px; position: absolute; left: 10px; top: 29px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green-2); font-size: 9px; font-weight: 700; }
.report-plan-list h3 { margin: 0 0 5px; font-size: 13px; }
.report-plan-list p { margin: 0; color: #66736b; font-size: 10px; line-height: 1.5; }
.report-plan-list dl { margin: 0; display: flex; gap: 22px; text-align: right; }
.report-plan-list dt { color: #7b877f; font-size: 7px; text-transform: uppercase; }
.report-plan-list dd { margin: 2px 0 0; font-size: 10px; font-weight: 700; }

.report-grant-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.report-grant-card { min-height: 190px; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: 15px; background: #f8f7f1; }
.report-grant-card > span { margin-bottom: 17px; padding: 5px 8px; border-radius: 99px; background: var(--green-soft); color: var(--green-2); font-size: 7px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.report-grant-card h3 { margin: 0 0 9px; font: 600 17px var(--display); }
.report-grant-card p { margin: 0 0 11px; color: #617067; font-size: 10px; line-height: 1.55; }
.report-grant-card small { margin-top: auto; color: #79857d; font-size: 8px; }

.report-progress-summary { margin-bottom: 13px; padding: 20px 23px; display: flex; align-items: center; gap: 20px; border-radius: 14px; background: #e8ecdf; }
.report-progress-ring { width: 47px; height: 47px; flex: none; display: grid; place-items: center; border: 6px solid rgba(40,91,72,.13); border-top-color: var(--green-2); border-radius: 50%; color: var(--green-2); font-size: 9px; font-weight: 700; }
.report-progress-summary b { display: block; margin-bottom: 3px; font-size: 12px; }
.report-progress-summary span:last-child { color: #68766e; font-size: 9px; }
.report-task-list li { min-height: 66px; padding: 14px 14px 14px 46px; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-top: 1px solid var(--line); }
.report-task-list li::before { content: ""; width: 18px; height: 18px; position: absolute; left: 12px; border: 1.5px solid #9aa69e; border-radius: 4px; }
.report-task-list li[data-complete="true"]::before { content: "✓"; display: grid; place-items: center; border-color: var(--green-2); background: var(--green-2); color: white; font-size: 10px; }
.report-task-list li[data-complete="true"] b { color: #78847c; text-decoration: line-through; }
.report-task-list b { font-size: 11px; }
.report-task-list span { color: #7a867e; font-size: 8px; white-space: nowrap; }

.report-next-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; counter-reset: next; }
.report-next-list li { min-height: 175px; padding: 23px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 15px; background: var(--green); color: white; counter-increment: next; }
.report-next-list li::before { content: "0" counter(next); position: absolute; top: 20px; color: var(--lime); font-size: 9px; font-weight: 700; }
.report-next-list b { margin-bottom: 7px; font: 600 15px/1.25 var(--display); }
.report-next-list p { margin: 0; color: #b9c9c0; font-size: 9px; line-height: 1.5; }
.report-divider { height: 1px; margin: 52px 0; background: var(--line); }
.report-subheading { margin-bottom: 27px; }
.report-subheading h2 { font-size: 33px; }
.report-question-list { margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 35px; list-style: none; counter-reset: question; }
.report-question-list li { min-height: 70px; padding: 16px 0 16px 38px; position: relative; border-top: 1px solid var(--line); color: #3f4f47; font-size: 10px; line-height: 1.5; counter-increment: question; }
.report-question-list li::before { content: counter(question); width: 24px; height: 24px; position: absolute; left: 0; top: 14px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green-2); font-size: 8px; font-weight: 700; }

.report-evidence-list { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.report-evidence-card { min-height: 130px; padding: 21px; border: 1px solid var(--line); border-radius: 14px; }
.report-evidence-card span { color: var(--coral); font-size: 7px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.report-evidence-card h3 { margin: 8px 0; font-size: 13px; }
.report-evidence-card p { margin: 0; color: #68766e; font-size: 9px; line-height: 1.5; }
.report-evidence-card small { display: block; margin-top: 14px; color: #829087; font-size: 7px; }

.report-inline-empty { padding: 31px; border: 1px dashed rgba(22,36,30,.24); border-radius: 15px; background: #faf9f5; text-align: center; }
.report-inline-empty b { display: block; margin-bottom: 7px; font: 600 16px var(--display); }
.report-inline-empty p { max-width: 520px; margin: 0 auto; color: #718078; font-size: 10px; line-height: 1.6; }

.report-section--method { background: #efeee7; }
.report-method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.report-method-grid section { padding: 27px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.5); }
.report-method-grid h3, .report-sources h3 { margin: 0 0 17px; font: 600 17px var(--display); }
.report-method-grid ul { margin: 0; padding: 0; list-style: none; }
.report-method-grid li { padding: 10px 0 10px 20px; position: relative; border-top: 1px solid var(--line); color: #5d6b63; font-size: 9px; line-height: 1.55; }
.report-method-grid li::before { content: ""; width: 6px; height: 6px; position: absolute; left: 1px; top: 15px; border-radius: 50%; background: var(--coral); }
.report-sources { margin-top: 15px; padding: 27px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.5); }
.report-sources [data-report-sources] { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.report-source-row { padding: 10px 0; display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); font-size: 9px; }
.report-source-row span { color: #66736b; }
.report-source-row time { flex: none; font-weight: 700; }
.report-sources > p { margin: 0; color: #66736b; font-size: 9px; }
.report-boundary { margin-top: 15px; padding: 26px; display: grid; grid-template-columns: 35px 1fr; gap: 18px; border-radius: 15px; background: var(--green); color: white; }
.report-boundary svg { width: 28px; color: var(--lime); }
.report-boundary h3 { margin: 0 0 6px; font: 600 15px var(--display); }
.report-boundary p { margin: 0; color: #b9c9c0; font-size: 9px; line-height: 1.55; }
.report-document-footer { margin-top: 42px; padding: 17px 0 0; display: flex; justify-content: space-between; border-top: 1px solid var(--line); background: transparent; color: #78847c; font-size: 8px; }
.project-site-footer { margin-top: 0; padding-top: 28px; }

@media (max-width: 980px) {
  .project-page-intro { align-items: flex-start; flex-direction: column; }
  .project-page-actions { justify-content: flex-start; }
  .report-page { padding: 50px; }
  .report-cover-note { margin: 44px -50px -50px; padding-inline: 50px; }
  .report-facts { grid-template-columns: repeat(2, 1fr); }
  .report-facts div:nth-child(2n) { border-right: 0; }
  .report-facts div:nth-last-child(-n + 4) { border-bottom: 1px solid var(--line); }
  .report-facts div:nth-last-child(-n + 2) { border-bottom: 0; }
  .report-cover-meta { width: 84%; }
}

@media (max-width: 700px) {
  .project-file-main { width: min(100% - 24px, 1200px); padding-top: 26px; }
  .project-page-intro { padding-block: 43px 32px; gap: 28px; }
  .project-page-intro > div:first-child { width: 100%; }
  .project-page-intro h1 { font-size: 49px; }
  .project-page-actions { width: 100%; display: grid; grid-template-columns: 1fr; }
  .project-page-actions .button { width: 100%; }
  .project-state { min-height: 430px; padding: 38px 28px; grid-template-columns: 1fr; gap: 20px; }
  .project-loading-lines { right: 28px; bottom: 25px; }
  .project-report { border-radius: 20px; }
  .report-page { padding: 31px 24px; }
  .project-report__cover { min-height: 700px; }
  .report-cover-copy { padding-top: 80px; }
  .report-cover-copy h2 { font-size: 58px; }
  .report-cover-graphic { width: 82%; right: -25%; bottom: 148px; opacity: .5; }
  .report-cover-meta { width: 100%; grid-template-columns: 1fr; gap: 13px; }
  .report-cover-note { margin: 32px -24px -31px; padding: 18px 24px; display: block; }
  .report-cover-note p { margin-top: 5px; }
  .report-section__heading { grid-template-columns: 36px 1fr; gap: 13px; }
  .report-section__heading > span { width: 34px; height: 34px; }
  .report-section__heading h2 { font-size: 31px; }
  .report-intro { margin-left: 49px; }
  .report-facts, .report-two-column, .report-grant-list, .report-next-list, .report-question-list, .report-evidence-list, .report-method-grid { grid-template-columns: 1fr; }
  .report-facts div, .report-facts div:nth-child(2n), .report-facts div:nth-last-child(-n + 2) { min-height: 89px; border-right: 0; border-bottom: 1px solid var(--line); }
  .report-facts div:last-child { border-bottom: 0; }
  .report-plan-summary { grid-template-columns: 1fr; }
  .report-plan-summary div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .report-plan-list li { grid-template-columns: 1fr; }
  .report-plan-list dl { text-align: left; }
  .report-context { grid-template-columns: 1fr; gap: 6px; }
  .report-sources [data-report-sources] { grid-template-columns: 1fr; }
  .report-document-footer { flex-direction: column; gap: 4px; }
}

@media print {
  @page { size: A4 portrait; margin: 12mm; }

  html, body { width: auto; min-height: 0; background: white !important; color: #16241e; }
  body { overflow: visible; font-family: Arial, sans-serif; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .skip-link, .project-site-header, .project-breadcrumb, .project-page-intro, .project-status, .project-state, .project-site-footer { display: none !important; }
  body > main.project-file-main { width: auto; margin: 0; padding: 0; display: block !important; }
  .project-report, .project-report[hidden] { display: block; overflow: visible; border: 0; border-radius: 0; box-shadow: none; background: white; }
  .report-page { padding: 0; border: 0; break-before: page; }
  .project-report__cover { min-height: 273mm; padding: 14mm; break-before: auto; background: #173c30 !important; }
  .report-brandline .brand { font-family: Arial, sans-serif; font-size: 14pt; }
  .report-brandline .brand svg { width: 24px; height: 24px; }
  .report-cover-copy { padding-top: 35mm; }
  .report-cover-copy h2 { margin: 7mm 0 5mm; font-family: Arial, sans-serif; font-size: 50pt; line-height: .92; }
  .report-cover-copy > p { font-size: 12pt; }
  .report-cover-graphic { width: 112mm; right: -6mm; bottom: 42mm; }
  .report-cover-meta { width: 145mm; padding-top: 6mm; }
  .report-cover-note { margin: 12mm -14mm -14mm; padding: 5mm 14mm; }
  .report-section { min-height: 273mm; padding: 11mm 8mm 8mm; }
  .report-section__heading { margin-bottom: 8mm; }
  .report-section__heading h2, .report-subheading h2 { font-family: Arial, sans-serif; font-size: 24pt; }
  .report-facts div { min-height: 25mm; padding: 4mm; }
  .report-panel { min-height: 39mm; padding: 5mm; }
  .report-panel h3 { font-family: Arial, sans-serif; font-size: 15pt; }
  .report-panel--budget h3 { font-size: 22pt; }
  .report-plan-summary, .report-progress-summary, .report-next-list li, .report-boundary, .project-report__cover { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .report-plan-list li, .report-grant-card, .report-task-list li, .report-next-list li, .report-evidence-card, .report-method-grid section, .report-sources, .report-boundary { break-inside: avoid; }
  .report-plan-list li { min-height: 20mm; }
  .report-grant-card { min-height: 39mm; }
  .report-next-list li { min-height: 38mm; }
  .report-divider { margin: 9mm 0; }
  .report-question-list li { min-height: 13mm; }
  .report-section--method { background: #efeee7 !important; }
  .report-document-footer { margin-top: 8mm; }
  a { color: inherit; text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) {
  .project-loading-mark span { animation-duration: 1.7s; }
}
