.doc-tasy-insumos-page {
  background: #f5f6fb;
  box-sizing: border-box;
  min-height: calc(100vh - 8rem);
  padding: 2rem 2.5rem 3rem;
}

.doc-tasy-insumos-header {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.doc-tasy-insumos-header h1 {
  color: #1f1f1f;
  font-size: 1.8rem;
  line-height: 1.2;
  margin: 0;
}

.doc-tasy-insumos-header p,
.doc-tasy-insumos-muted {
  color: #555;
  margin: 0.35rem 0 0;
}

.doc-tasy-insumos-panel {
  background: #fff;
  border: 1px solid #d3d7df;
  border-radius: 4px;
  margin-bottom: 1rem;
  padding: 1rem;
}

.doc-tasy-insumos-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.doc-tasy-insumos-wide {
  grid-column: 1 / -1;
}

.doc-tasy-insumos-field {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  gap: 0.35rem;
}

.doc-tasy-insumos-field.is-hidden {
  display: none;
}

.doc-tasy-insumos-field input,
.doc-tasy-insumos-field select,
.doc-tasy-insumos-field textarea {
  border: 1px solid #b9c0cc;
  border-radius: 4px;
  font: inherit;
  min-height: 2.5rem;
  padding: 0.5rem;
}

.doc-tasy-insumos-field textarea {
  resize: vertical;
}

.doc-tasy-insumos-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.doc-tasy-insumos-button {
  background: #1473e6;
  border: 0;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  min-height: 2.5rem;
  padding: 0.65rem 1rem;
}

.doc-tasy-insumos-button.is-secondary {
  background: #e8f0fe;
  color: #1473e6;
}

.doc-tasy-insumos-button[disabled] {
  cursor: not-allowed;
  opacity: 0.65;
}

.doc-tasy-insumos-list {
  display: grid;
  gap: 0.75rem;
}

.doc-tasy-insumos-item {
  border-top: 1px solid #e3e6ee;
  padding-top: 0.75rem;
}

.doc-tasy-insumos-item-title {
  display: flex;
  font-weight: 700;
  gap: 1rem;
  justify-content: space-between;
}

.doc-tasy-insumos-kpis {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  margin-bottom: 1rem;
}

.doc-tasy-insumos-kpi {
  background: #fff;
  border: 1px solid #d3d7df;
  border-radius: 4px;
  padding: 0.85rem;
}

.doc-tasy-insumos-kpi strong {
  color: #1473e6;
  display: block;
  font-size: 1.7rem;
  line-height: 1.1;
}

.doc-tasy-insumos-table {
  border-collapse: collapse;
  width: 100%;
}

.doc-tasy-insumos-table th,
.doc-tasy-insumos-table td {
  border-top: 1px solid #e3e6ee;
  padding: 0.55rem;
  text-align: left;
  vertical-align: top;
}

.doc-tasy-insumos-table th {
  color: #555;
  font-size: 0.875rem;
}

.doc-tasy-insumos-badge {
  background: #e8f0fe;
  border-radius: 4px;
  color: #1473e6;
  display: inline-block;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
}

.doc-tasy-insumos-badge.is-low {
  background: #fff4f2;
  color: #9d2f1a;
}

.doc-tasy-insumos-error {
  background: #fff4f2;
  border: 1px solid #f2b8ad;
  border-radius: 4px;
  color: #7a1f12;
  margin-bottom: 1rem;
  padding: 1rem;
}

.doc-tasy-insumos-photo {
  color: #1473e6;
  font-weight: 700;
}

@media (max-width: 720px) {
  .doc-tasy-insumos-page {
    padding: 1.25rem;
  }

  .doc-tasy-insumos-header {
    display: block;
  }

  .doc-tasy-insumos-button {
    width: 100%;
  }

  .doc-tasy-insumos-table {
    display: block;
    overflow-x: auto;
  }
}
