@import url('./ui-motion.css?v=20261012');
@import url('./ui-avatars.css?v=20261014');

.card,
.hero,
.pauta-card,
.agent-monitor-card,
.workflow-map,
.pd-panel {
  margin: 0 0 24px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}
.section-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.section-heading > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-heading > div > span,
.workflow-title > div > span {
  display: none;
}
.section-heading h3 {
  margin: 0;
  color: var(--ink);
  font-family: inherit;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.025em;
}
.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.pauta-subheading {
  margin: 6px 0 14px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.primary,
.secondary,
.table-actions button {
  min-height: 36px;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  border: 1px solid var(--line);
  border-radius: 7px;
  transition:
    background 140ms,
    border-color 140ms,
    box-shadow 140ms,
    transform 140ms var(--ease-out);
}
.primary {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 1px 2px #123c691a;
}
.primary:hover {
  background: #103d65;
  border-color: #103d65;
}
.secondary {
  color: var(--ink);
  background: white;
  border-color: #d8e1ec;
}
.secondary:hover {
  color: var(--blue);
  background: #f6f9fc;
  border-color: #b8cde0;
}
.primary:active,
.secondary:active {
  transform: translateY(1px);
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}
input,
select,
textarea {
  min-height: 38px;
  padding: 9px 11px;
  color: var(--ink);
  font-size: 12px;
  background: white;
  border: 1px solid #d7e0ea;
  border-radius: 7px;
  transition:
    border-color 140ms,
    box-shadow 140ms;
}
input::placeholder,
textarea::placeholder {
  color: #8996a7;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #6d9dc4;
  box-shadow: 0 0 0 3px #24669d12;
}
textarea {
  width: 100%;
  font-family: inherit;
  resize: vertical;
}
label {
  color: #526479;
  font-size: 11px;
  font-weight: 600;
}
label.check {
  font-weight: 500;
  line-height: 1.5;
}
input[type='checkbox'] {
  width: 16px;
  height: 16px;
  min-height: 16px;
  accent-color: var(--blue);
}
summary {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}
details {
  border-color: var(--line);
}
.metric-grid,
.pauta-metrics,
.monitor-overview {
  gap: 12px;
}
.metric-grid article,
.pauta-metrics article,
.monitor-overview article {
  padding: 18px 20px;
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: none;
}
.metric-grid strong,
.pauta-metrics strong,
.monitor-overview strong {
  color: var(--ink);
  font-family: inherit;
  font-size: 30px;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.04em;
}
.metric-grid span,
.pauta-metrics span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}
.pauta-metrics .pauta-metric {
  padding: 18px;
  background: var(--surface-subtle);
  border-width: 1px;
  border-top: 3px solid #bfd3e6;
  border-radius: 9px;
}
.pauta-metrics .pauta-metric strong {
  color: var(--ink);
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.035em;
}
.pauta-metrics .pauta-metric span {
  margin-top: 6px;
  font-size: 11px;
}
.pauta-metrics .pauta-metric.alert {
  border-top-color: #c67c7c;
  border-left-color: var(--line);
}
.pauta-metrics .pauta-metric.ok {
  border-top-color: #7cac98;
  border-left-color: var(--line);
}
.pauta-metric:hover {
  background: #f7faff;
  border-color: #a7c7e4;
}
.table-wrap {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
}
table {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
th {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.035em;
  text-transform: none;
  background: #e4edf6;
}
td {
  padding: 14px;
  line-height: 1.55;
  vertical-align: top;
}
tr:last-child td {
  border-bottom: 0;
}
tr:hover td {
  background: #f8fbfe;
}
td small {
  color: var(--muted);
}
.table-wrap:empty {
  display: none;
}
.pill,
.status,
.agent-state,
.ia-agent-card-head em {
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.empty-state,
.ws-empty,
.pauta-empty {
  padding: 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
  background: var(--surface-subtle);
  border: 1px dashed #d8e2ed;
  border-radius: 8px;
}
.inline-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding: 14px 16px;
  color: #80551f;
  font-size: 12px;
  line-height: 1.5;
  background: #fff9eb;
  border: 1px solid #eddfb9;
  border-radius: 8px;
}
.icon-button .ui-icon {
  width: 18px;
  height: 18px;
}
