/* Analytics › Suprimentos › Embarques (reaproveita os estilos tl-ps-* de Pedidos Solar). */

#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-prazo-card {
  padding: 14px 18px 10px;
  margin-bottom: 14px;
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-prazo-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-prazo-head .tl-ps-status-metrics {
  margin-left: auto;
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-prazo-sinal {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-sinal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  line-height: 1.4;
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-sinal b { font-size: 14px; }
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-sinal i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-sinal.is-ok { background: #dcfce7; color: #15803d; }
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-sinal.is-late { background: #fee2e2; color: #b91c1c; }
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-sinal.is-muted { background: #f1f5f9; color: #64748b; }
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-sinal:hover,
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-sinal.is-active { border-color: currentColor; }
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-sinal-total {
  font-size: 12px;
  color: #64748b;
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-prazo-chart {
  height: 280px;
  margin-top: 6px;
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-analise-card { margin-top: 14px; }
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-analise-card.is-collapsed .tl-emb-analise-chart,
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-analise-card.is-collapsed [data-tl-emb-analise] { display: none; }
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-analise-sel {
  margin-left: 8px;
  padding: 3px 10px;
  border: 1px solid #2563eb;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-analise-sel:hover { background: #dbeafe; }
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-analise-chart {
  position: relative;
  height: 300px;
  margin-top: 6px;
}

#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-status-rows {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
@media (max-width: 1600px) {
  #analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-status-rows { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  #analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-status-rows { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  #analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-status-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* "Etapa do lead time": recolhida (padrão) = uma linha com rolagem lateral; expandida = grade. */
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-ribbon-toggle {
  margin-left: 6px;
  padding: 4px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-ribbon-toggle:hover,
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-ribbon-toggle[aria-expanded="true"] {
  border-color: #2563eb;
  color: #1d4ed8;
  background: #eff6ff;
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-status-rows.is-collapsed {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  padding-bottom: 6px;
  cursor: grab;
  user-select: none;
  -webkit-mask-image: none;
  mask-image: none;
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-status-rows.is-collapsed > .tl-ps-scard {
  flex: 0 0 200px;
  min-width: 200px;
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-status-rows.is-collapsed.has-more-right {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-status-rows.is-collapsed.has-more-left {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px);
  mask-image: linear-gradient(90deg, transparent, #000 48px);
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-status-rows.is-collapsed.has-more-left.has-more-right {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent);
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-status-rows.is-collapsed.is-drag-scrolling,
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-status-rows.is-collapsed.is-drag-scrolling > .tl-ps-scard {
  cursor: grabbing;
}

#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-trail-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
  cursor: pointer;
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-trail-wrap.is-compact .tl-ps-trail {
  gap: 2px;
  min-width: 0;
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-trail-wrap.is-compact .tl-ps-trail-step {
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-trail-toggle {
  margin-left: 6px;
  padding: 1px 7px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #334155;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  vertical-align: middle;
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-trail-toggle:hover,
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-trail-toggle.is-open {
  border-color: #2563eb;
  color: #1d4ed8;
  background: #eff6ff;
}
#analyticsTechLogView #tl-mod-embarques-importacao.is-trilha-compacta .tl-emb-legend-note {
  display: none;
}
#analyticsTechLogView #tl-mod-embarques-importacao:not(.is-trilha-compacta) .tl-emb-legend-hint {
  display: none;
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-legend-hint {
  color: #94a3b8;
  font-style: italic;
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-trail-cap {
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-ps-trail-step.is-late {
  background: #dc2626;
  box-shadow: 0 0 0 1px rgba(185, 28, 28, 0.35);
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-ps-trail-step.is-current.is-late {
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.3);
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-ps-trail-step.is-overdue {
  background: #fee2e2;
  box-shadow: inset 0 0 0 2px #dc2626;
}

#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: 0;
  padding: 10px 18px;
  border-bottom: 1px solid #eef1f7;
  font-size: 11.5px;
  color: #64748b;
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-legend .tl-ps-trail-step {
  display: inline-block;
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-legend-note {
  color: #94a3b8;
}

#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-badge.is-estourado { background: #fee2e2; color: #b91c1c; }
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-badge.is-proximo { background: #fef9c3; color: #a16207; }
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-badge.is-dentro { background: #dcfce7; color: #15803d; }
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-badge.is-sem-prazo,
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-badge.is-concluido { background: #f1f5f9; color: #64748b; }

#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-sort-idle {
  opacity: 0.35;
}
#analyticsTechLogView #tl-mod-embarques-importacao th:hover .tl-emb-sort-idle {
  opacity: 0.8;
}

#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
#analyticsTechLogView #tl-mod-embarques-importacao #tl-emb-thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #f8fafc;
  box-shadow: inset 0 -1px 0 #e2e8f0;
}
#analyticsTechLogView #tl-mod-embarques-importacao #tl-emb-thead th.is-dragging {
  opacity: 0.45;
}
#analyticsTechLogView #tl-mod-embarques-importacao #tl-emb-thead th.is-drop-before {
  box-shadow: inset 3px 0 0 #2563eb;
}
#analyticsTechLogView #tl-mod-embarques-importacao #tl-emb-thead th.is-drop-after {
  box-shadow: inset -3px 0 0 #2563eb;
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-col-resizer {
  position: absolute;
  top: 0;
  right: -3px;
  width: 7px;
  height: 100%;
  cursor: col-resize;
  z-index: 2;
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-col-resizer:hover,
body.tl-emb-resizing #analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-col-resizer {
  background: rgba(37, 99, 235, 0.35);
}
#analyticsTechLogView #tl-mod-embarques-importacao td.tl-emb-col-sized {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.tl-emb-resizing,
body.tl-emb-resizing * {
  cursor: col-resize !important;
  user-select: none !important;
}

/* Aberto pelo menu Comex: esconde a navegação de submódulos do TechLog. */
#analyticsTechLogView.is-comex-embarques .td-submenu {
  display: none;
}

#analyticsTechLogView #tl-mod-embarques-importacao .tl-ps-trail-step.is-na {
  background: repeating-linear-gradient(135deg, #f1f5f9 0 3px, #cbd5e1 3px 5px);
  box-shadow: inset 0 0 0 1px #cbd5e1;
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-bitrix {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px dashed #cbd5e1;
  font-size: 10.5px;
  color: #94a3b8;
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-agrupar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  user-select: none;
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-toggle {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-right: 8px;
  padding: 1px 6px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #334155;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  vertical-align: middle;
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-toggle:hover,
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-toggle.is-open {
  border-color: #2563eb;
  color: #1d4ed8;
  background: #eff6ff;
}
#analyticsTechLogView #tl-mod-embarques-importacao tr.tl-emb-group.is-open > td {
  background: #f8fafc;
  font-weight: 600;
}
#analyticsTechLogView #tl-mod-embarques-importacao tr.tl-emb-child > td {
  background: #fcfdff;
  font-size: 0.95em;
  color: #475569;
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-child-mark {
  margin: 0 8px 0 10px;
  color: #94a3b8;
}

/* Filtros em grade, no mesmo padrão da tela de Importações. */
#analyticsTechLogView #tl-mod-embarques-importacao #tl-emb-form {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 0.75rem 0.9rem;
  align-items: end;
}
#analyticsTechLogView #tl-mod-embarques-importacao #tl-emb-form .tl-ps-filter {
  min-width: 0;
}
#analyticsTechLogView #tl-mod-embarques-importacao #tl-emb-form .tl-ps-filter label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#analyticsTechLogView #tl-mod-embarques-importacao #tl-emb-form .tl-ps-filter input,
#analyticsTechLogView #tl-mod-embarques-importacao #tl-emb-form .tl-ps-filter select {
  width: 100%;
  min-width: 0;
  height: 36px;
  box-sizing: border-box;
}
#analyticsTechLogView #tl-mod-embarques-importacao #tl-emb-form .tl-ps-filter--range {
  grid-column: span 2;
  min-width: 0;
}
#analyticsTechLogView #tl-mod-embarques-importacao #tl-emb-form .tl-ps-filter--actions {
  justify-content: flex-end;
  margin-left: 0;
}
#analyticsTechLogView #tl-mod-embarques-importacao #tl-emb-form .tl-ps-filter--actions button {
  min-width: 0;
  height: 36px;
  padding: 0 1.1rem;
}
@media (max-width: 1200px) {
  #analyticsTechLogView #tl-mod-embarques-importacao #tl-emb-form { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #analyticsTechLogView #tl-mod-embarques-importacao #tl-emb-form .tl-ps-filter--actions { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  #analyticsTechLogView #tl-mod-embarques-importacao #tl-emb-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
#analyticsTechLogView #tl-mod-embarques-importacao #tl-emb-filters.is-collapsed #tl-emb-form {
  display: none;
}

/* Botão e janela de alertas de item parado em etapa (somente TI). A janela fica no body. */
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-alertas-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid #fecaca;
  border-radius: 999px;
  background: #fff;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-alertas-btn svg { width: 14px; height: 14px; }
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-alertas-btn:hover { background: #fef2f2; border-color: #d32027; }
#analyticsTechLogView #tl-mod-embarques-importacao .tl-emb-alertas-btn.hidden { display: none; }

.tl-emb-al-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.45);
}
.tl-emb-al-overlay.hidden { display: none; }
.tl-emb-al-modal {
  display: flex;
  flex-direction: column;
  width: min(1180px, 100%);
  max-height: calc(100vh - 48px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.3);
  overflow: hidden;
  color: #1f2937;
  font-size: 13px;
}
.tl-emb-al-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
}
.tl-emb-al-head h3 { margin: 0; font-size: 17px; }
.tl-emb-al-head p { margin: 4px 0 0; color: #64748b; font-size: 12px; }
.tl-emb-al-close {
  border: none;
  background: none;
  font-size: 24px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
}
.tl-emb-al-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 0;
  flex: 1;
}
.tl-emb-al-lista {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-right: 1px solid #e5e7eb;
  background: #f8fafc;
  overflow-y: auto;
}
.tl-emb-al-novo {
  padding: 8px 10px;
  border: 1px dashed #d32027;
  border-radius: 8px;
  background: #fff;
  color: #d32027;
  font-weight: 700;
  cursor: pointer;
}
.tl-emb-al-grupo {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.tl-emb-al-grupo:hover { border-color: #94a3b8; }
.tl-emb-al-grupo.is-active { border-color: #d32027; box-shadow: 0 0 0 2px rgba(211, 32, 39, 0.12); }
.tl-emb-al-grupo.is-off { opacity: 0.65; }
.tl-emb-al-grupo-nome { font-weight: 700; color: #111827; }
.tl-emb-al-grupo-nome em { font-style: normal; font-size: 11px; color: #64748b; font-weight: 600; }
.tl-emb-al-grupo-meta { font-size: 11px; color: #64748b; }
.tl-emb-al-vazio { padding: 10px; color: #64748b; font-size: 12px; }
.tl-emb-al-editor {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 20px;
  overflow-y: auto;
}
.tl-emb-al-row { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.tl-emb-al-field { display: flex; flex-direction: column; gap: 6px; }
.tl-emb-al-field > span { font-weight: 700; color: #334155; font-size: 12px; }
.tl-emb-al-field > span small { font-weight: 500; color: #64748b; }
.tl-emb-al-grow { flex: 1; min-width: 240px; }
.tl-emb-al-field input[type="text"],
.tl-emb-al-field input[type="search"],
.tl-emb-al-field input[type="number"] {
  padding: 7px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  background: #fff;
  color: #111827;
}
.tl-emb-al-switch { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; padding-bottom: 8px; }
.tl-emb-al-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tl-emb-al-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  cursor: pointer;
  user-select: none;
}
.tl-emb-al-chip input { margin: 0; accent-color: #d32027; }
.tl-emb-al-chip.is-on { border-color: #d32027; background: #fef2f2; color: #991b1b; font-weight: 700; }
.tl-emb-al-users {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 4px 12px;
  max-height: 190px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}
.tl-emb-al-user { display: flex; align-items: flex-start; gap: 8px; padding: 4px; border-radius: 6px; cursor: pointer; }
.tl-emb-al-user:hover { background: #f8fafc; }
.tl-emb-al-user input { margin-top: 3px; accent-color: #d32027; }
.tl-emb-al-user span { display: flex; flex-direction: column; min-width: 0; }
.tl-emb-al-user small { color: #64748b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-emb-al-tempo { display: flex; align-items: flex-start; gap: 6px; }
.tl-emb-al-tempo label { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.tl-emb-al-tempo input { width: 64px; text-align: center; }
.tl-emb-al-tempo small { font-size: 10px; color: #64748b; }
.tl-emb-al-tempo b { padding-top: 7px; color: #64748b; }
.tl-emb-al-inline { display: flex; align-items: center; gap: 8px; }
.tl-emb-al-inline input { width: 80px; }
.tl-emb-al-nota { margin: -4px 0 0; color: #64748b; font-size: 11px; line-height: 1.5; }
.tl-emb-al-previa { border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; }
.tl-emb-al-previa-head { padding: 8px 12px; background: #f8fafc; border-bottom: 1px solid #e5e7eb; }
.tl-emb-al-previa-wrap { max-height: 220px; overflow-y: auto; }
.tl-emb-al-previa table { width: 100%; border-collapse: collapse; font-size: 12px; }
.tl-emb-al-previa th { position: sticky; top: 0; background: #fff; text-align: left; padding: 6px 10px; border-bottom: 1px solid #e5e7eb; }
.tl-emb-al-previa td { padding: 5px 10px; border-bottom: 1px solid #f1f5f9; }
.tl-emb-al-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
  margin-top: auto;
}
.tl-emb-al-status { flex: 1; color: #64748b; font-size: 12px; }
.tl-emb-al-status.is-error { color: #b91c1c; font-weight: 600; }
.tl-emb-al-btn {
  padding: 7px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
  font-weight: 700;
  cursor: pointer;
}
.tl-emb-al-btn:hover { border-color: #94a3b8; }
.tl-emb-al-btn.is-primary { background: #d32027; border-color: #d32027; color: #fff; }
.tl-emb-al-btn.is-primary:disabled { opacity: 0.6; cursor: default; }
.tl-emb-al-btn.is-danger { color: #b91c1c; border-color: #fecaca; }
@media (max-width: 860px) {
  .tl-emb-al-body { grid-template-columns: 1fr; }
  .tl-emb-al-lista { border-right: none; border-bottom: 1px solid #e5e7eb; max-height: 180px; }
}
