.hc-card {
  background: var(--bg-card, #fff);
  border: 1px solid var(--border-soft, #e2e4e7);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 20px rgba(2, 6, 23, 0.06);
}

.hc-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hc-title {
  font-weight: 900;
}

.hc-muted {
  color: var(--text-muted, #6b7280);
  font-size: 12px;
}

.hc-spacer {
  height: 12px;
}

.hc-tableWrap {
  overflow: auto;
  border: 1px solid var(--border-soft, #e2e4e7);
  border-radius: 14px;
}

.hc-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 980px;
  background: #fff;
}

.hc-table th,
.hc-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-soft, #e2e4e7);
  vertical-align: top;
}

.hc-table th {
  text-align: left;
  font-size: 12px;
  color: var(--text-muted, #6b7280);
  background: #fafafa;
  position: sticky;
  top: 0;
  z-index: 1;
}

.hc-table tr:last-child td {
  border-bottom: 0;
}

.hc-state,
.hc-coseg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid var(--border-soft, #e2e4e7);
  background: #fff;
  white-space: nowrap;
}

.hc-state.ok {
  color: var(--success, #2e7d32);
  border-color: rgba(46, 125, 50, 0.3);
}

.hc-state.warn {
  color: var(--warning, #c77800);
  border-color: rgba(199, 120, 0, 0.3);
}

.hc-state.err {
  color: var(--error, #b71c1c);
  border-color: rgba(183, 28, 28, 0.3);
}

.hc-state.info {
  color: var(--info, #1565c0);
  border-color: rgba(21, 101, 192, 0.3);
}

.hc-coseg.ok {
  color: var(--success, #2e7d32);
  border-color: rgba(46, 125, 50, 0.3);
}

.hc-coseg.warn {
  color: var(--warning, #c77800);
  border-color: rgba(199, 120, 0, 0.3);
}

.hc-coseg.info {
  color: var(--info, #1565c0);
  border-color: rgba(21, 101, 192, 0.3);
}

.hc-actions {
  position: relative;
  display: inline-block;
}

.hc-kebab {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 20px;
  line-height: 1;
  border-radius: 14px;
  border: 1px solid var(--border-soft, #e2e4e7);
  background: #fff;
  cursor: pointer;
  font-weight: 900;
}

.hc-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  background: #fff;
  border: 1px solid var(--border-soft, #e2e4e7);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.18);
  min-width: 320px;
  z-index: 999;
  overflow: hidden;
}

.hc-menu[hidden] {
  display: none;
}

.hc-menuTitle {
  padding: 18px 18px 12px 18px;
  font-weight: 800;
  color: var(--text-main, #1f2933);
  font-size: 16px;
}

.hc-menuDivider {
  height: 1px;
  background: var(--border-soft, #e2e4e7);
  margin: 0 18px;
}

.hc-menuList {
  padding: 10px 6px 12px 6px;
}

.hc-menuItem {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 14px 14px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800;
  color: var(--text-main, #1f2933);
  font-size: 15px;
  line-height: 1.2;
}

.hc-menuItem:hover {
  background: rgba(2, 6, 23, 0.05);
}

.hc-menuItem:active {
  background: rgba(2, 6, 23, 0.08);
}

.hc-menuItem:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.hc-actions-cell {
  white-space: nowrap;
}

.hc-col-fecha {
  width: 170px;
}

.hc-col-tramite {
  width: 120px;
}

.hc-col-estado {
  width: 160px;
}

.hc-col-coseguro,
.hc-col-acciones {
  width: 220px;
}
