.fibropedia-bendit-copy {
  color: #30383d;
  font-size: .95rem;
  line-height: 1.55;
  margin: 0 0 1.25rem;
}

.fibropedia-bendit {
  color: #30383d;
  margin: 1.25rem 0 1.75rem;
  width: 100%;
}

.fibropedia-bendit * {
  box-sizing: border-box;
}

.fibropedia-bendit__intro {
  color: #5f686e;
  font-size: .92rem;
  line-height: 1.45;
  margin: 0 0 .8rem;
}

.fibropedia-bendit__shell {
  background: #fff;
  border: 1px solid #e2e2e2;
  border-top: 4px solid #ef7d00;
  box-shadow: 0 8px 22px rgba(48, 56, 61, .08);
}

.fibropedia-bendit__bar {
  align-items: baseline;
  background: #fcfcfc;
  border-bottom: 1px solid #e2e2e2;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: .9rem 1rem .75rem;
}

.fibropedia-bendit__title {
  color: #30383d;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

.fibropedia-bendit__unit {
  color: #69737a;
  display: inline-block;
  font-size: .82rem;
  line-height: 1.45;
  margin-top: 0;
  text-align: right;
}

.fibropedia-bendit__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .48fr);
}

.fibropedia-bendit__panel {
  padding: 1rem;
}

.fibropedia-bendit__panel + .fibropedia-bendit__panel {
  background: #fafafa;
  border-left: 1px solid #e2e2e2;
}

.fibropedia-bendit__section-title {
  color: #30383d;
  font-size: .92rem;
  font-weight: 600;
  margin: 0 0 .7rem;
}

.fibropedia-bendit__section-title:not(:first-child) {
  border-top: 1px solid #e8e8e8;
  margin-top: .9rem;
  padding-top: .85rem;
}

.fibropedia-bendit__fields {
  align-items: start;
  display: grid;
  gap: .65rem .75rem;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.fibropedia-bendit__field {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  min-width: 0;
}

.fibropedia-bendit label {
  align-items: flex-end;
  color: #30383d;
  display: flex;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  min-height: 2.25rem;
}

.fibropedia-bendit input,
.fibropedia-bendit select {
  background: #fff;
  border: 1px solid #d8dde0;
  border-radius: 0;
  color: #30383d;
  font: inherit;
  font-size: .9rem;
  height: 40px;
  line-height: 1.4;
  padding: .35rem .5rem;
  width: 100%;
}

.fibropedia-bendit select {
  height: 40px;
  line-height: normal;
  min-width: 100%;
  padding-bottom: 0;
  padding-top: 0;
  white-space: nowrap;
}

.fibropedia-bendit__field:has(#bendit-case) {
  grid-column: 1 / -1;
}

.fibropedia-bendit__field[data-bendit-field="profile"] {
  grid-column: span 1;
}

.fibropedia-bendit input[readonly] {
  background: #f5f6f6;
  color: #5f686e;
}

.fibropedia-bendit input:focus,
.fibropedia-bendit select:focus {
  border-color: #ef7d00;
  box-shadow: 0 0 0 2px rgba(239, 125, 0, .16);
  outline: 0;
}

.fibropedia-bendit__wide {
  grid-column: span 2;
}

.fibropedia-bendit__section-title.fibropedia-bendit__wide {
  grid-column: 1 / -1;
}

.fibropedia-bendit__hint,
.fibropedia-bendit__note,
.fibropedia-bendit__formula {
  color: #69737a;
  font-size: .82rem;
  line-height: 1.45;
}

.fibropedia-bendit__hint {
  margin: .7rem 0 0;
}

.fibropedia-bendit__note {
  margin: .8rem 0 0;
}

.fibropedia-bendit__results {
  background: #fff;
  border: 1px solid #e2e2e2;
  display: grid;
  grid-template-columns: 1fr;
}

.fibropedia-bendit__result {
  align-items: flex-start;
  border-bottom: 1px solid #e8e8e8;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: .65rem .75rem;
}

.fibropedia-bendit__result:last-child {
  border-bottom: 0;
}

.fibropedia-bendit__result span {
  color: #5f686e;
  display: block;
  font-size: .82rem;
  line-height: 1.35;
}

.fibropedia-bendit__result strong {
  color: #30383d;
  display: block;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: right;
  white-space: nowrap;
}

.fibropedia-bendit__status {
  background: #fff;
  border-left: 3px solid #ef7d00;
  color: #30383d;
  font-size: .84rem;
  line-height: 1.5;
  margin: .75rem 0 0;
  padding: .65rem .75rem;
}

.fibropedia-bendit__formula {
  margin: .75rem 0 0;
}

.fibropedia-bendit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: .8rem;
}

.fibropedia-bendit button {
  background: #fff;
  border: 2px solid #f3c16b;
  border-radius: 0;
  color: #ef7d00;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: .88rem;
  min-height: 36px;
  padding: .4rem .8rem;
  transition: background-color .24s ease, border-color .24s ease, color .24s ease, box-shadow .24s ease;
}

.fibropedia-bendit button:hover,
.fibropedia-bendit button:focus-visible {
  background: #ef7d00;
  border-color: #ef7d00;
  box-shadow: 0 0 0 2px #f3c16b;
  color: #fff;
  outline: 0;
}

@media (max-width: 980px) {
  .fibropedia-bendit__grid {
    grid-template-columns: 1fr;
  }

  .fibropedia-bendit__fields {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  .fibropedia-bendit__panel + .fibropedia-bendit__panel {
    border-left: 0;
    border-top: 1px solid #e2e2e2;
  }
}

@media (max-width: 620px) {
  .fibropedia-bendit__bar,
  .fibropedia-bendit__panel {
    padding: 1.15rem;
  }

  .fibropedia-bendit__bar {
    display: block;
  }

  .fibropedia-bendit__unit {
    display: block;
    margin-top: .35rem;
    text-align: left;
  }

  .fibropedia-bendit__fields {
    grid-template-columns: 1fr;
  }

  .fibropedia-bendit__wide {
    grid-column: 1 / -1;
  }

  .fibropedia-bendit__field:has(select) {
    grid-column: 1 / -1;
  }

  .fibropedia-bendit label {
    min-height: 0;
  }

  .fibropedia-bendit__result {
    display: block;
  }

  .fibropedia-bendit__result strong {
    margin-top: .2rem;
    text-align: left;
    white-space: normal;
  }
}
