:root {
  color-scheme: light;
  --ink: #152d4f;
  --blue: #134e9d;
  --muted: #536580;
  --line: #ccd7e3;
  --pale: #eff5fa;
  font-family:
    Inter, "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--ink);
  background: #f8fafc;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
a {
  color: var(--blue);
}
header {
  background: white;
  border-bottom: 1px solid var(--line);
}
.wrap {
  width: min(1060px, calc(100% - 40px));
  margin: auto;
}
.head {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.head img {
  display: block;
  width: 116px;
}
.head span {
  font-weight: 700;
  border-left: 1px solid var(--line);
  padding-left: 22px;
}
.intro {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 8%;
  align-items: center;
  padding: 48px 0 34px;
}
.sector {
  font-size: 0.9rem;
  font-weight: 750;
  color: var(--blue);
  margin: 0;
}
h1,
h2,
h3,
p {
  margin: 0 0 0.65em;
}
h1 {
  font-size: clamp(2.7rem, 5.5vw, 4.8rem);
  letter-spacing: -0.065em;
  line-height: 1.08;
  margin: 0.15em 0 0.28em;
}
h1 span {
  color: #3c86db;
}
.intro p:last-child {
  color: var(--muted);
  line-height: 1.8;
}
.example {
  background: #10386a;
  color: white;
  padding: 26px 30px;
  border-radius: 14px;
  box-shadow: 0 12px 25px #193f6d18;
}
.example h2 {
  font-size: 1.05rem;
  margin: 4px 0 13px;
}
.example h2 b {
  font-size: 1.8rem;
}
.bar {
  height: 10px;
  background: linear-gradient(90deg, #82cfed 66.66%, #fff 66.66%);
  border-radius: 6px;
}
.legend {
  display: flex;
  gap: 22%;
  margin: 14px 0;
}
.legend strong {
  display: block;
  font-size: 1.9rem;
  line-height: 1.1;
}
.legend small,
.example > small {
  font-size: 0.8rem;
}
.example > small {
  color: #daebfa;
}
.steps {
  display: flex;
  gap: 5px;
  counter-reset: steps;
}
.steps span {
  flex: 1;
  border-bottom: 3px solid var(--line);
  padding: 12px 4px;
  color: var(--muted);
  font-size: 0.9rem;
}
.steps span:before {
  counter-increment: steps;
  content: counter(steps) ". ";
  font-weight: bold;
}
.steps [aria-current] {
  border-color: #1763b6;
  color: var(--blue);
  font-weight: bold;
}
#screen {
  margin: 22px 0 40px;
  outline: none;
}
.panel,
article {
  background: white;
  padding: clamp(18px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.panel + article,
article + article,
.panel + .panel {
  margin-top: 14px;
}
h2 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  letter-spacing: -0.035em;
}
h3 {
  font-size: 1.15rem;
}
.muted,
.note,
small {
  color: var(--muted);
}
.note {
  font-size: 0.9rem;
}
.example small {
  color: inherit;
}
.fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0;
}
.fields label,
.money label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 650;
}
.fields .wide {
  grid-column: span 2;
}
input,
textarea,
select {
  background: white;
  border: 1px solid #99abc1;
  border-radius: 7px;
  padding: 10px;
  width: 100%;
  min-height: 44px;
}
select {
  padding-right: 22px;
}
.actions,
.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 18px;
}
button,
.button {
  display: inline-block;
  cursor: pointer;
  padding: 10px 18px;
  border-radius: 7px;
  border: 1px solid #98aec7;
  background: white;
  font-weight: 650;
  color: var(--blue);
  text-decoration: none;
}
.primary {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
button:hover,
.button:hover {
  filter: brightness(0.93);
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #409bda;
  outline-offset: 2px;
}
.tag {
  display: inline-block;
  margin: 0 8px 8px 0;
  background: #eaf3ff;
  color: #164e86;
  padding: 2px 9px;
  border-radius: 4px;
  font-size: 0.86rem;
}
.price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue);
}
.conversation {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}
.investment-intro {
  padding: 16px 20px;
  border-left: 4px solid var(--blue);
  background: var(--pale);
}
.investment-intro p:last-child {
  margin: 0;
}
.investment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 12px;
}
.investment-card {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.investment-card h4 {
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0 0 12px;
}
.investment-card strong {
  display: block;
  color: var(--blue);
  font-size: 0.88rem;
}
.investment-card button {
  margin-top: auto;
}
.bubble {
  max-width: 86%;
  padding: 12px 16px;
  background: var(--pale);
  border-radius: 12px;
}
.reply {
  justify-self: end;
  background: #e4efff;
}
.bubble small {
  display: block;
}
.money {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.figures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.figures span {
  background: var(--pale);
  border-radius: 5px;
  padding: 10px;
  font-size: 0.88rem;
}
.figures b {
  display: block;
  font-size: 1.3rem;
}
.notice {
  border-left: 3px solid #e39f32;
  padding: 8px 14px;
  background: #fff7e8;
}
.check {
  display: block;
  padding: 4px 0;
}
.check input {
  width: auto;
  min-height: auto;
  margin-right: 8px;
}
.line {
  background: #147344;
  color: white;
  border-color: #147344;
}
details {
  margin: 14px 0;
}
summary {
  cursor: pointer;
  font-weight: bold;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
  background: var(--pale);
  padding: 14px;
}
.text-link {
  border: none;
  text-decoration: underline;
  padding: 6px;
  background: transparent;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.9rem;
  padding: 22px 0 32px;
  border-top: 1px solid var(--line);
}
@media (max-width: 720px) {
  .intro {
    grid-template-columns: 1fr;
    padding: 26px 0 16px;
    gap: 10px;
  }
  .example {
    padding: 14px 18px;
  }
  .example h2,
  .example .legend {
    margin: 4px 0;
  }
  .legend strong {
    display: inline;
    font-size: 1.15rem;
    margin-left: 6px;
  }
  .wrap {
    width: calc(100% - 28px);
  }
  .head {
    min-height: 60px;
  }
  .steps span {
    font-size: 0.78rem;
  }
  .fields {
    grid-template-columns: 1fr 1fr;
  }
  .fields .wide {
    grid-column: 1/-1;
  }
  .figures {
    grid-template-columns: 1fr;
  }
  .figures span {
    display: flex;
    justify-content: space-between;
  }
  .intro.compact {
    display: none;
  }
  .steps {
    margin-top: 6px;
  }
}
@media (max-width: 450px) {
  .fields,
  .money {
    grid-template-columns: 1fr;
  }
  .fields .wide {
    grid-column: auto;
  }
  .intro h1 {
    font-size: 2.45rem;
  }
  .legend {
    gap: 10%;
  }
  .bubble {
    max-width: 96%;
  }
}
/* The funding breakdown and programme cards share the same ink and mint palette. */
:root {
  --ink: #123d40;
  --blue: #07615b;
  --muted: #4f696a;
  --line: #d0dcd6;
  --pale: #e9f4ee;
  background: #f5f7f2;
}
.wrap {
  width: min(1120px, calc(100% - 48px));
}
.head {
  min-height: 64px;
}
.intro {
  background-color: #103e40;
  color: #fff;
  background-image:
    linear-gradient(116deg, transparent 55%, #31675d60),
    repeating-linear-gradient(0deg, transparent 0 27px, #7bbba214 27px 28px),
    repeating-linear-gradient(90deg, transparent 0 27px, #7bbba214 27px 28px);
  padding: clamp(24px, 4vw, 56px);
  margin: 26px 0 14px;
  border-radius: 20px;
  grid-template-columns: 1.35fr 1fr;
  gap: 6%;
}
.intro .sector {
  color: #c4efae;
  letter-spacing: 0.14em;
}
.intro h1 {
  font-size: clamp(2.4rem, 5.9vw, 4.8rem);
  margin: 0.22em 0 0.36em;
  letter-spacing: -0.05em;
}
.intro p:last-child {
  color: #e1eee6;
  line-height: 1.85;
  margin-bottom: 0;
}
.example {
  display: flex;
  gap: clamp(12px, 2vw, 24px);
  align-items: center;
  background: #0b312fe8;
  border: 1px solid #558373;
  border-radius: 15px;
  padding: 22px;
  box-shadow: none;
}
.example h2 {
  font-size: 1.08rem;
  color: #fff;
  margin: 4px 0 12px;
}
.example small {
  color: #d2e6db;
}
.fund-ring {
  position: relative;
  flex: 0 0 clamp(85px, 9vw, 112px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from -90deg, #afeb96 0 66.66%, #598478 66.66%);
}
.fund-ring span {
  position: absolute;
  inset: 12%;
  display: grid;
  align-content: center;
  text-align: center;
  border-radius: 50%;
  background: #103b38;
  color: #e1f7dc;
  font-size: 0.8rem;
}
.fund-ring b {
  font-size: 1.75rem;
  line-height: 1.1;
}
.fund-key {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  font-size: 0.9rem;
}
.fund-key span:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 7px;
  background: #afeb96;
}
.fund-key.self span:before {
  background: #598478;
}
.fund-key strong {
  font-size: 1.1rem;
}
.steps {
  gap: 8px;
}
.steps span {
  font-weight: 650;
}
.steps [aria-current] {
  border-color: #16725f;
}
.profile-strip,
.results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.profile-strip {
  padding: 23px 28px;
  background: #e1eee5;
  border-radius: 12px;
  margin-bottom: 24px;
}
.profile-strip h2,
.profile-strip p:last-child,
.results-head h2 {
  margin: 0;
}
.open-panel,
.detailed {
  margin: 28px 0;
}
.open-panel h2 b {
  font-variant-numeric: tabular-nums;
}
.results-head select {
  width: auto;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0 8px;
}
.filters button {
  border-radius: 24px;
  padding: 6px 15px;
  min-height: 38px;
}
.filters button[data-action="source-ai"]:not([aria-pressed="true"]) {
  background: #e6f4ed;
  color: #15523c;
  border-color: #87b7a2;
}
.filters button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.live-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0;
}
.live-card {
  background: #fff;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px #244c3b07;
}
.live-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.86rem;
}
.live-meta span:first-child {
  border-left: 3px solid #51a176;
  padding-left: 8px;
}
.live-card h3 {
  font-size: 1.18rem;
  line-height: 1.5;
}
.match-reason {
  color: var(--muted);
  font-size: 0.9rem;
}
.benefit {
  background: var(--pale);
  border-radius: 8px;
  padding: 12px 14px;
  margin: 6px 0 16px;
}
.benefit b {
  font-size: 0.86rem;
  color: var(--blue);
}
.benefit p {
  margin: 3px 0 0;
}
.card-bottom {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}
.live-card .actions {
  margin-top: 12px;
}
.curated-card {
  padding: 20px 24px;
  border-left: 4px solid #79aa89;
}
.panel {
  box-shadow: 0 4px 22px #254b3507;
}
.tag,
.bubble.reply {
  background: #e1f1e8;
  color: var(--ink);
}
@media (max-width: 850px) {
  .intro {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .fund-ring {
    flex-basis: 75px;
  }
  .example {
    padding: 14px;
  }
}
@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .intro {
    grid-template-columns: 1fr;
    margin-top: 14px;
    padding: 22px 18px;
    gap: 18px;
  }
  .intro.compact {
    display: none;
  }
  .intro h1 {
    font-size: 2.7rem;
  }
  .fund-ring {
    flex-basis: 76px;
  }
  .example {
    width: 100%;
    justify-content: space-evenly;
  }
  .example h2 {
    margin-bottom: 4px;
  }
  .profile-strip,
  .results-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .profile-strip {
    padding: 16px;
  }
  .live-grid {
    grid-template-columns: 1fr;
  }
  .live-card {
    padding: 17px;
  }
  .head {
    min-height: 56px;
  }
  .steps {
    gap: 3px;
  }
  .results-head select {
    padding: 6px;
  }
  .open-panel {
    margin-top: 16px;
  }
}

.intro h1 {
  font-size: clamp(1.65rem, 3.5vw, 2.9rem);
  line-height: 1.28;
  margin-block: 0.4em;
  letter-spacing: -0.045em;
}
.hero-pitch,
.hero-handoff {
  line-height: 1.8;
  color: #e2eee8;
}
.intro h1 strong {
  color: #d2f7a5;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: #a9de79;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.14em;
}
.hero-pitch strong {
  color: #cef5ae;
}
.hero-start {
  display: inline-flex;
  gap: 1.2rem;
  align-items: center;
  background: #c6eda8;
  color: #173e35;
  font-weight: 700;
  border-radius: 0.6rem;
  padding: 0.65rem 1.1rem;
  margin-top: 0.35rem;
  text-decoration: none;
}
.hero-start:hover {
  background: #dbf8c8;
}
.intro.compact {
  display: none;
}
#profile {
  scroll-margin-top: 1rem;
}

.live-card .grant-headline,
.curated-card .grant-headline {
  font-size: clamp(1.3rem, 2.1vw, 1.7rem);
  line-height: 1.4;
  letter-spacing: -0.045em;
  margin: 0 0 0.3em;
  text-wrap: pretty;
}
.program-name {
  color: var(--muted);
  font-size: 0.91rem;
  margin-bottom: 0.9rem;
}
.grant-cap {
  background: #eaf4e6;
  border-left: 4px solid #5e9669;
  border-radius: 0 9px 9px 0;
  padding: 10px 16px;
  margin: 0 0 14px;
  color: #134738;
}
.grant-cap > div {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.cap-label {
  font-size: 0.88rem;
  font-weight: 700;
}
.grant-cap strong {
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.grant-cap small {
  font-size: 0.48em;
  font-weight: 750;
  color: inherit;
  margin-left: 0.12em;
}
.grant-cap p {
  margin: 4px 0 0;
  font-size: 0.84rem;
}
.formula-cap strong {
  font-size: 1.2rem;
  letter-spacing: 0;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.idea-chat {
  margin-block: 1rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: #f5faf7;
  overflow-wrap: anywhere;
}
.idea-chat summary {
  padding: 1rem 1.25rem;
  color: var(--blue);
  font-weight: 700;
  cursor: pointer;
}
.idea-body { padding: 0 1.25rem 1.25rem; }
.idea-body > p:first-child { margin-top: 0; }
.idea-log { display: grid; gap: .75rem; }
.idea-log .bubble { margin-block: .25rem; white-space: pre-line; }
.idea-log .bubble small, .idea-log .bubble strong, .idea-log .bubble span { display: block; }
.idea-log .bubble strong { margin-top: .65rem; }
.idea-chat form { margin-top: 1rem; display: grid; gap: .6rem; }
.idea-chat form button { justify-self: end; }
.idea-chat textarea { width: 100%; }
.idea-chat [hidden], .idea-chat [role="status"]:empty { display: none; }
.grant-goal { max-width: 15rem; margin: .75rem 0 .3rem; }
.grant-goal input { font-size: 1.25rem; font-weight: 700; }
.price-guide { border-inline-start: 3px solid #69a791; padding: .3rem .85rem; margin: .85rem 0; background: #f5faf7; }
.price-guide b { display: block; color: var(--blue); }
.price-guide p { margin: .4rem 0; }
.price-guide a { font-size: .84rem; }
.live-pricing { margin: 1.25rem 0; }
#goal-result .figures, .live-pricing-result .figures { grid-template-columns: repeat(2,minmax(0,1fr)); }
.investment-card .card-pricing { margin-bottom: auto; }
.funding-fields { border: 0; border-top: 1px solid var(--line); padding: .7rem 0 0; margin: 1.3rem 0 .8rem; min-width: 0; }
.funding-fields legend { padding-right: .6rem; font-weight: 700; }
.funding-fields .money { grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
.funding-fields input, .funding-fields select { width: 100%; min-width: 0; }
.date-assumptions { margin-top: .8rem; }
.date-assumptions summary { cursor: pointer; color: var(--blue); font-weight: 600; }
.date-assumptions .money { margin-top: .6rem; }
.funding-result {
  --forest: #075749;
  --mint: #d9f0df;
  container-type: inline-size;
  color: #123e36;
  border: 1px solid #c4ddcd;
  border-radius: 16px;
  margin: 1.2rem 0;
  padding: clamp(.75rem, 1.4vw, 1.35rem);
  background: radial-gradient(ellipse at 100% 0%, #dcf5e6, transparent 42%), #fbfdf9;
}
.funding-banner {
  background: linear-gradient(110deg,#07493f,#116e58);
  color: white;
  padding: .95rem 1.1rem;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem 1rem;
  flex-wrap: wrap;
}
.funding-banner h3 { color: white; font-size: clamp(1.12rem, 2.4cqw, 1.8rem); line-height: 1.4; margin: 0; }
.funding-periods { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: 0; }
.funding-periods > div { background: #f6fcf3; color: #16473b; border-radius: .6rem; display: flex; flex-wrap: wrap; align-items: center; padding: .24rem .48rem; gap: .1rem .4rem; }
.funding-periods dt, .funding-periods dd { font-size: .76rem; margin: 0; font-weight: 650; line-height: 1.5; }
.funding-periods dt { display: flex; align-items: center; gap: .25em; color: #396347; }
.funding-icon { display: block; width: 1.15em; height: 1.15em; color: var(--forest); flex: none; }
.funding-banner h3 span { white-space: nowrap; }
.funding-intervals { position: relative; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); margin: 1.15rem 0 .55rem; }
.interval-bridge { position: absolute; left: 0; width: 100%; height: 1.8rem; color: #509578; pointer-events: none; }
.funding-intervals span { position: relative; justify-self: center; display: flex; align-items: center; gap: .3rem; border-radius: 2rem; padding: .18rem .6rem; background: #e2f1cd; color: #27583e; font-size: .75rem; font-weight: 700; }
.funding-intervals > span:first-of-type { grid-column: 1/4; }
.funding-intervals > span:nth-of-type(2) { grid-column: 4/5; white-space: nowrap; }
.funding-intervals span::after { position: absolute; content: ""; bottom: -5px; left: 50%; border: 5px solid transparent; border-top-color: #e2f1cd; border-bottom: 0; }
.funding-track { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); list-style: none; padding: 0; margin: .7rem 0 1rem; gap: .55rem; }
.funding-track li { display: flex; flex-direction: column; align-items: stretch; min-width: 0; padding: 0; position: relative; }
.funding-stage { display: flex; align-items: center; justify-content: center; gap: .28rem; align-self: center; padding: .25rem .53rem .25rem .24rem; border-radius: 30px; background: var(--forest); color: white; font-size: clamp(.71rem,1.6cqw,1.03rem); font-weight: 750; line-height: 1.2; z-index: 1; }
.funding-stage i { display: grid; place-items: center; width: 1.4em; height: 1.4em; color: #063f35; background: #c4e9cf; border-radius: 50%; font-style: normal; }
.stage-arrow { position: absolute; right: -.9rem; top: .35rem; width: 1.25rem; height: 1rem; }
.funding-step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .6rem .5rem .8rem; margin-top: .55rem; border: 1px solid #d6e4d7; border-radius: .8rem; background: white; box-shadow: 0 3px 9px #2a53320c; min-width: 0; text-align: center; overflow-wrap: anywhere; }
.funding-track li:nth-child(4) .funding-step { border-color: #a9d5b4; background: linear-gradient(135deg,#f7fff4,#d9f4df); }
.stage-art { width: clamp(3.2rem,7.1cqw,5rem); height: clamp(2.7rem,5.8cqw,4rem); }
.stage-date { background: var(--mint); border-radius: .85rem; padding: .2rem .35rem; align-self: stretch; font-size: clamp(.76rem,1.52cqw,1rem); line-height: 1.42; font-weight: 750; }
.funding-step small { font-weight: 650; font-size: .79rem; line-height: 1.45; }
.funding-step b { display: block; border-radius: .4rem; padding: .12rem .37rem; font-variant-numeric: tabular-nums; }
.stage-amount { color: white; background: var(--forest); font-size: clamp(1.12rem,2.75cqw,1.85rem); line-height: 1.32; letter-spacing: -.04em; }
.stage-pending { background: #edf4ee; font-size: .85rem; }
.funding-step p { margin: .15rem 0 0; font-size: .78rem; text-align: left; line-height: 1.6; color: #425850; }
.cash-flow { display: flex; align-items: stretch; background: #f0f7ee; border: 1px solid #cbdfcd; border-radius: .65rem; overflow: hidden; }
.cash-flow h4 { display: grid; place-items: center; margin: 0; color: white; background: var(--forest); padding: .55rem; font-size: .82rem; }
.cash-flow ol { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); align-items: stretch; flex: 1; list-style: none; padding: .48rem .3rem; margin: 0; gap: .15rem; min-width: 0; }
.cash-flow li { display: flex; align-items: center; gap: .13rem; padding: 0; min-width: 0; }
.cash-item { display: flex; align-items: center; gap: .15rem; min-width: 0; flex: 1; }
.cash-item .funding-icon { width: 2.05rem; height: 1.9rem; }
.cash-item small,.cash-item strong { display: block; line-height: 1.35; overflow-wrap: anywhere; }
.cash-item small { font-size: .68rem; }
.cash-item strong { font-size: clamp(.89rem,1.85cqw,1.15rem); }
.cash-operator { display: grid; place-items: center; font-weight: 700; color: var(--forest); }
.cash-operator svg { width: .85rem; }
.funding-foot { margin-top: .8rem; padding: .45rem .7rem; border-left: 3px solid #8fba9e; }
.funding-foot p { font-size: .74rem; line-height: 1.6; color: #4e6559; margin: 0; }
.funding-foot p + p { margin-top: .23rem; }
@container (max-width: 700px) {
  .funding-banner { display: grid; padding: .75rem; }
  .funding-periods { display: grid; justify-items: start; }
  .interval-bridge { display: none; }
  .funding-intervals { display: flex; flex-wrap: wrap; gap: .4rem; margin: .8rem 0; }
  .funding-intervals span { font-size: .69rem; }
  .funding-track { grid-template-columns: 1fr; gap: .95rem; }
  .funding-stage { align-self: start; font-size: .85rem; }
  .stage-arrow { right: auto; left: .22rem; top: auto; bottom: -.8rem; transform: rotate(90deg); width: .9rem; }
  .funding-step { display: grid; grid-template-columns: 3.2rem minmax(0,1fr); gap: .25rem .6rem; margin: .35rem 0 0; padding: .55rem .65rem; align-items: center; text-align: left; }
  .stage-art { grid-column: 1; grid-row: 1/4; width: 3.2rem; height: 3.5rem; }
  .funding-step > :not(svg) { grid-column: 2; }
  .stage-date, .funding-step b { justify-self: start; }
  .funding-step p { grid-column: 1/-1; margin-top: .2rem; }
  .cash-flow { display: block; }
  .cash-flow h4 { display: block; padding: .4rem .7rem; }
  .cash-flow ol { display: flex; flex-direction: column; gap: 0; padding: 0 .6rem; }
  .cash-flow li { border-bottom: 1px solid #cddfcf; gap: .3rem; padding: .15rem 0; }
  .cash-flow li:last-child { border-bottom: 0; }
  .cash-flow li:first-child { padding-left: 1.2rem; }
  .cash-operator { width: .9rem; }
  .cash-operator svg { transform: rotate(90deg); }
  .cash-item > div { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: .4rem; }
}
.worked-example .example-award {
  margin-top: 0.8rem;
  color: #07574d;
}
.example-award strong {
  font-size: 1.45rem;
  white-space: nowrap;
}
