.heading-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.button {
  border: 1px solid #dfe5df;
  border-radius: 7px;
  padding: 10px 14px;
  background: #fff;
  color: #46534b;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  transition: 0.15s;
}
.button:hover {
  border-color: #b7c7bb;
  background: #f9fbf9;
}
.button.primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.button.primary:hover {
  background: var(--green-dark);
}
.button.secondary {
  background: #fff;
}
.button.compact {
  padding: 9px 12px;
}
.button.full {
  width: 100%;
  padding: 12px;
}
.icon-button {
  border: 0;
  background: transparent;
  color: #78847c;
  font-size: 21px;
  padding: 4px 8px;
  border-radius: 6px;
}
.icon-button:hover {
  background: #f2f4f0;
}
.link-button {
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  padding: 5px;
}
.link-button span {
  padding-left: 5px;
}
.text-button {
  display: block;
  border: 0;
  background: none;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  margin: 0 auto;
  padding: 5px;
}
.file-button {
  position: relative;
  overflow: hidden;
}
.file-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.status-pill,
.kind-pill {
  display: inline-block;
  border-radius: 20px;
  padding: 4px 8px;
  font-size: 9px;
  font-weight: 700;
  background: #eaf3ed;
  color: #47805e;
}
.kind-pill {
  background: #edf1f3;
  color: #637f8c;
}
html[data-theme="dark"] .status-pill {
  background: #294735;
  color: #a5dfb6;
}
html[data-theme="dark"] .kind-pill {
  background: #2d3c43;
  color: #b1cbd5;
}
.table-action {
  border: 0;
  background: transparent;
  color: var(--green);
  font-weight: 700;
  font-size: 11px;
}
@media (max-width: 760px) {
  .heading-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}
.table-subtext {
  display: block;
  margin-top: 4px;
  color: #89958c;
  font-size: 10px;
  line-height: 1.3;
}
html[data-theme="dark"] .list-row {
  border-color: var(--line);
}
html[data-theme="dark"] .table-subtext {
  color: #a7b3aa;
}
.empty-state {
  padding: 45px 16px;
  text-align: center;
  color: #98a39a;
  font-size: 12px;
}
.field-hint {
  font-size: 10px;
  line-height: 1.5;
  color: #97a198;
  margin: 0;
}
.detail-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.detail-kpi {
  background: #f7f9f6;
  border: 1px solid #edf0eb;
  border-radius: 8px;
  padding: 12px;
}
html[data-theme="dark"] .detail-kpi {
  background: #252f29;
  border-color: var(--line);
}
.detail-kpi small {
  color: #929d94;
  font-size: 10px;
}
.detail-kpi strong {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  font-family: Manrope, sans-serif;
}
.detail-section {
  padding: 14px 0;
  border-top: 1px solid #eff1ed;
}
html[data-theme="dark"] .detail-section {
  border-color: var(--line);
}
.detail-section h3 {
  font-size: 12px;
  margin: 0 0 10px;
}
.schedule-table {
  max-height: 260px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
}
html[data-theme="dark"] .schedule-table {
  border-color: var(--line);
}
html[data-theme="dark"] .schedule-table th {
  background: #252f29;
  color: #a9b7ad;
  border-color: var(--line);
}
html[data-theme="dark"] .schedule-table td {
  color: #c2cec6;
  border-color: #303b34;
}
.schedule-table table {
  width: 100%;
  border-collapse: collapse;
}
.schedule-table th,
.schedule-table td {
  text-align: right;
  padding: 8px 10px;
  border-bottom: 1px solid #eff1ed;
  font-size: 10px;
  white-space: nowrap;
}
.schedule-table th:first-child,
.schedule-table td:first-child {
  text-align: left;
}
.schedule-table th {
  position: sticky;
  top: 0;
  background: #f7f9f6;
  color: #87938a;
  font-size: 9px;
}
.schedule-table tr:last-child td {
  border: 0;
}
@media (max-width: 760px) {
  .detail-kpis {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
