.cirsa-project-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 54px;
  overflow: hidden;
  background: #d8ded6;
  border: 1px solid #d8ded6;
}

.cirsa-project-facts div { min-height: 112px; padding: 22px 24px; background: #f3f6f0; }
.cirsa-project-facts dt { margin-bottom: 7px; color: #5c9223; font-size: .69rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.cirsa-project-facts dd { margin: 0; color: #172019; font-weight: 680; line-height: 1.45; }
.cirsa-table-wrap { max-width: 100%; margin: 24px 0; overflow-x: auto; }
.cirsa-content .cirsa-project-schedule { min-width: 620px; }
.cirsa-content .cirsa-project-schedule th:first-child { width: 34%; }
.cirsa-project-notice, .cirsa-funding { margin: 30px 0; padding: 24px 26px; background: #f3f6f0; border-left: 4px solid #73aa32; }
.cirsa-project-notice > :last-child, .cirsa-funding > :last-child { margin-bottom: 0; }
.cirsa-ministry-mark { display: block; width: min(100%, 440px); margin: 0 0 24px; padding: 13px 15px; background: #fff; border: 1px solid #d8ded6; }
.cirsa-ministry-mark img { display: block; width: 100%; height: auto; }
.cirsa-document-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 38px; }

.cirsa-project-identity {
  margin: 0 0 54px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d8ded6;
  box-shadow: 0 18px 44px rgba(23, 62, 41, .08);
}
.cirsa-project-identity__image { display: block; background: #fff; }
.cirsa-project-identity__image img { display: block; width: 100%; height: auto; }
.cirsa-project-identity figcaption { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 19px 24px; border-top: 1px solid #d8ded6; }
.cirsa-project-identity figcaption > a { color: #315f1e; font-size: .86rem; font-weight: 760; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.cirsa-project-manager { display: flex; align-items: baseline; gap: 12px; }
.cirsa-project-manager > span { color: #697269; font-size: .69rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.cirsa-project-manager strong { color: #172019; font-size: 1.08rem; }

.cirsa-project-form { --form-green: #173e29; --form-lime: #73aa32; --form-line: #cbd5c8; margin-top: 28px; }
.cirsa-project-form h3 { margin: 48px 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--form-line); }
.cirsa-form-intro, .cirsa-privacy-note, .cirsa-scale { color: #5f6961; font-size: .91rem; }
.cirsa-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 26px; }
.cirsa-field { display: block; margin-bottom: 20px; }
.cirsa-field > span { display: block; margin-bottom: 7px; color: #172019; font-size: .88rem; font-weight: 760; }
.cirsa-field em, .cirsa-check em { color: #a4261d; font-style: normal; }
.cirsa-field input, .cirsa-field select, .cirsa-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #aebbaa;
  border-radius: 3px;
  color: #172019;
}
.cirsa-field textarea { min-height: 112px; resize: vertical; }
.cirsa-field input:focus, .cirsa-field select:focus, .cirsa-field textarea:focus { border-color: var(--form-green); outline: 3px solid rgba(115, 170, 50, .22); outline-offset: 1px; }
.cirsa-field--full { margin-top: 25px; }
.cirsa-project-form fieldset { min-width: 0; margin: 28px 0; padding: 0; border: 0; }
.cirsa-project-form legend { margin-bottom: 13px; color: #172019; font-weight: 780; }
.cirsa-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cirsa-choice { position: relative; display: flex; min-height: 58px; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--form-line); cursor: pointer; }
.cirsa-choice:has(input:checked) { background: #edf5e7; border-color: var(--form-lime); box-shadow: inset 4px 0 var(--form-lime); }
.cirsa-choice input { width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--form-green); }
.cirsa-choice span { color: #253027; font-size: .91rem; font-weight: 640; }
.cirsa-choice:has(input:disabled) { cursor: not-allowed; opacity: .48; }
.cirsa-field-error { min-height: 1.4em; margin: 8px 0 0; color: #9d241f; font-size: .9rem; font-weight: 650; }
.cirsa-statements { padding-top: 5px !important; border-top: 1px solid var(--form-line) !important; }
.cirsa-check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; margin: 14px 0; cursor: pointer; }
.cirsa-check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--form-green); }
.cirsa-check span { color: #3f4c42; font-size: .88rem; line-height: 1.55; }
.cirsa-form-message { margin: 22px 0; padding: 19px 21px; background: #f3f6f0; border: 1px solid #cbd5c8; border-left: 5px solid #73aa32; }
.cirsa-form-message--success { background: #edf7e8; border-color: #9fc58c; }
.cirsa-form-message--error { background: #fff2f0; border-color: #db9c95; border-left-color: #a4261d; }
.cirsa-form-message strong { color: #172019; }
.cirsa-form-message p { margin: 7px 0 0; }
.cirsa-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.cirsa-rating { min-width: 760px; table-layout: fixed; }
.cirsa-content .cirsa-rating th, .cirsa-content .cirsa-rating td { padding: 11px 8px; text-align: center; vertical-align: middle; }
.cirsa-content .cirsa-rating thead th:first-child, .cirsa-content .cirsa-rating tbody th { width: 55%; text-align: left; }
.cirsa-content .cirsa-rating tbody th { background: #fff; color: #3f4c42; font-size: .86rem; font-weight: 590; }
.cirsa-rating input { width: 18px; height: 18px; accent-color: #173e29; }
.cirsa-competence-list { display: grid; gap: 13px; }
.cirsa-project-form .cirsa-competence { margin: 0; padding: 19px 20px 16px; background: #fff; border: 1px solid var(--form-line); }
.cirsa-project-form .cirsa-competence legend { width: calc(100% + 2px); margin: -20px -21px 15px; padding: 13px 19px; background: #f3f6f0; border: 1px solid var(--form-line); font-size: .88rem; }
.cirsa-competence > div { display: grid; grid-template-columns: 145px 1fr; gap: 14px; align-items: center; margin: 9px 0; }
.cirsa-competence > div > span { color: #5f6961; font-size: .8rem; }
.cirsa-inline-scale { display: flex; gap: 8px; }
.cirsa-inline-scale label { position: relative; cursor: pointer; }
.cirsa-inline-scale input { position: absolute; opacity: 0; }
.cirsa-inline-scale span { display: grid; width: 36px; height: 36px; place-items: center; background: #f3f6f0; border: 1px solid var(--form-line); border-radius: 50%; color: #173e29; font-weight: 760; }
.cirsa-inline-scale input:checked + span { background: #173e29; border-color: #173e29; color: #fff; }
.cirsa-inline-scale input:focus-visible + span { outline: 3px solid rgba(115, 170, 50, .4); outline-offset: 2px; }

@media (max-width: 760px) {
  .cirsa-project-facts { grid-template-columns: 1fr 1fr; }
  .cirsa-project-identity figcaption { align-items: flex-start; flex-direction: column; gap: 14px; }
  .cirsa-project-manager { align-items: flex-start; flex-direction: column; gap: 3px; }
  .cirsa-form-grid, .cirsa-choice-grid { grid-template-columns: 1fr; }
  .cirsa-competence > div { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 480px) {
  .cirsa-project-facts { grid-template-columns: 1fr; }
  .cirsa-inline-scale { justify-content: space-between; }
  .cirsa-inline-scale span { width: 38px; height: 38px; }
}
