.iv-prototype {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  margin-bottom: 26px;
  background: #f0f2e8;
  border: 1px solid #dfe5cf;
  border-radius: 10px;
}
.iv-prototype > span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #627646;
  white-space: nowrap;
}
.iv-prototype p {
  margin: 0;
  flex: 1;
  color: #6c7566;
  font-size: 11px;
  line-height: 1.6;
}
.iv-prototype button {
  flex-shrink: 0;
}
.iv-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 30px 34px;
  border-radius: 16px;
  background: var(--green);
  color: white;
  margin: 25px 0;
  position: relative;
  overflow: hidden;
}
.iv-hero .eyebrow {
  color: #c8d5ac;
  margin-bottom: 18px;
}
.iv-hero h2 {
  font-family: Manrope, sans-serif;
  font-size: 28px;
  margin: 0 0 10px;
}
.iv-hero p {
  color: #c1cfc2;
}
.iv-total {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 32px 12px 0;
}
.iv-total small {
  color: #d1dac7;
  font-size: 11px;
}
.iv-total strong {
  font:
    600 34px Manrope,
    sans-serif;
  letter-spacing: -1.3px;
}
.iv-total span {
  font-size: 10px;
  color: #b8cab9;
  max-width: 280px;
  line-height: 1.7;
}
.iv-hero-detail {
  min-width: 180px;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 15px 12px;
  border-left: 1px solid #ffffff25;
  padding-left: 30px;
}
.iv-hero-detail strong {
  font:
    500 25px Manrope,
    sans-serif;
  color: #e5ecab;
}
.iv-hero-detail span {
  color: #cad6c5;
  font-size: 11px;
}
.iv-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: 26px 0 20px;
  flex-wrap: wrap;
}
.iv-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #edf0e9;
}
.iv-tabs button {
  background: transparent;
  color: #7a8375;
  border-radius: 7px;
  padding: 10px 15px;
  font-size: 11px;
}
.iv-tabs button.active {
  background: white;
  color: var(--green);
  font-weight: 700;
  box-shadow: 0 1px 4px #193c3210;
}
.iv-filters {
  display: flex;
  align-items: center;
  gap: 10px;
}
.iv-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.iv-search input {
  width: 135px;
  background: transparent;
  border: 0;
  padding: 10px 0;
  font-size: 11px;
}
.iv-filters select {
  max-width: 180px;
  padding: 10px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  color: var(--ink);
  font-size: 11px;
}
.iv-panel .panel-head {
  align-items: flex-start;
  padding-bottom: 20px;
}
.iv-panel h2 {
  font:
    650 15px Manrope,
    sans-serif;
  margin: 0 0 7px;
}
.iv-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}
.iv-table-scroll {
  overflow-x: auto;
}
.iv-table {
  min-width: 840px;
}
.iv-table th {
  font-size: 9px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.iv-table td {
  font-size: 11px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.iv-table td small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 7px;
  white-space: nowrap;
}
.iv-table .iv-number {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.iv-method {
  display: inline-block;
  font-size: 9px;
  border: 1px solid #dce6db;
  border-radius: 6px;
  padding: 5px 7px;
  color: #57745d;
  white-space: nowrap;
  background: #f2f6ef;
}
.iv-method.accrual {
  color: #8b774d;
  background: #faf6ea;
  border-color: #eee5cf;
}
.iv-explain {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  padding: 25px 4px 0;
}
.iv-explain strong {
  font-size: 11px;
}
.iv-explain p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
  margin: 7px 0;
}
#iv-form-error {
  color: var(--red);
  font-size: 12px;
  line-height: 1.7;
}
@media (max-width: 900px) {
  .iv-hero {
    padding: 25px;
  }
  .iv-hero-detail {
    padding-left: 18px;
    min-width: 150px;
  }
  .iv-prototype {
    flex-wrap: wrap;
  }
}
@media (max-width: 640px) {
  .iv-hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .iv-hero-detail {
    border-left: 0;
    border-top: 1px solid #ffffff25;
    padding: 18px 0 0;
    width: 100%;
  }
  .iv-total strong {
    font-size: 29px;
  }
  .iv-tabs {
    width: 100%;
  }
  .iv-tabs button {
    flex: 1;
  }
  .iv-filters {
    width: 100%;
  }
  .iv-search {
    flex: 1;
    min-width: 0;
  }
  .iv-search input {
    width: 100%;
    min-width: 0;
  }
  .iv-explain {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .iv-prototype button {
    margin-left: 0;
  }
}
/* Fieldsets prevent hidden valuation methods from blocking a form submission. */
[data-iv-pricing] {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
[data-iv-pricing][hidden] {
  display: none;
}
.iv-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}
.iv-rounding {
  padding: 14px;
  background: var(--soft);
  border-radius: 9px;
  margin: 0 0 18px;
}
.iv-rounding summary {
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 14px;
}
.iv-rounding small {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
}
.field textarea {
  width: 100%;
  font: inherit;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  resize: vertical;
}
