
.nl-at-card {
  background: var(--surface, #1d1016);
  border: 1px solid var(--border-strong, rgba(240, 115, 133, 0.42));
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
  color: var(--text, #fdf2f4);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}
.nl-at-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.nl-at-title {
  font-family: var(--font-display, 'Syne', sans-serif);
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--text, #fdf2f4);
}
.nl-at-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(240, 115, 133, 0.16);
  border: 1px solid rgba(240, 115, 133, 0.4);
  color: #f78c9b;
  white-space: nowrap;
}
.nl-at-drop {
  border: 1.5px dashed rgba(240, 115, 133, 0.45);
  border-radius: 12px;
  background: rgba(18, 8, 12, 0.65);
  padding: 18px 14px;
  text-align: center;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease;
  margin-bottom: 12px;
}
.nl-at-drop:hover, .nl-at-drop.is-over {
  border-color: #f07385;
  background: rgba(240, 115, 133, 0.1);
}
.nl-at-drop strong { display: block; font-size: 15px; color: #fdf2f4; margin-bottom: 4px; }
.nl-at-drop span { display: block; font-size: 13px; color: #d4b5be; }
.nl-at-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nl-at-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.nl-at-chip {
  appearance: none;
  background: var(--surface-2, #26141d);
  border: 1px solid rgba(240, 115, 133, 0.28);
  color: #fdf2f4;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.nl-at-chip:hover, .nl-at-chip.is-active {
  background: rgba(240, 115, 133, 0.2);
  border-color: #f07385;
  color: #ffffff;
}
.nl-at-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.nl-at-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.nl-at-field label { font-size: 12px; font-weight: 700; color: #d4b5be; letter-spacing: 0.02em; }
.nl-at-select, .nl-at-input {
  width: 100%; max-width: 100%; min-width: 0;
  background: #12080c; border: 1px solid rgba(240, 115, 133, 0.3);
  border-radius: 9px; color: #fdf2f4; padding: 9px 10px; font-size: 14px; font-family: inherit;
}
.nl-at-range { width: 100%; accent-color: #f07385; margin: 4px 0 0; }
.nl-at-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.nl-at-metric {
  background: #12080c; border: 1px solid rgba(240, 115, 133, 0.2);
  border-radius: 10px; padding: 9px 10px; min-width: 0;
}
.nl-at-metric span { display: block; font-size: 11px; color: #d4b5be; margin-bottom: 2px; }
.nl-at-metric strong { display: block; font-size: 14px; color: #fdf2f4; word-break: break-word; }
.nl-at-meter-wrap {
  background: #12080c; border: 1px solid rgba(240, 115, 133, 0.22);
  border-radius: 10px; padding: 10px 12px; margin-bottom: 14px;
}
.nl-at-meter-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 12px; color: #d4b5be; }
.nl-at-meter-row:last-child { margin-bottom: 0; }
.nl-at-meter-row span:first-child { flex: 0 0 74px; font-weight: 700; color: #fdf2f4; }
.nl-at-meter-track { flex: 1; height: 10px; background: #26141d; border-radius: 999px; overflow: hidden; }
.nl-at-meter-fill { height: 100%; width: 0%; background: linear-gradient(90deg, #b51f35, #f07385); transition: width .2s ease; }
.nl-at-meter-val { flex: 0 0 76px; text-align: right; font-family: ui-monospace, monospace; color: #f78c9b; }
.nl-at-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.nl-at-btn {
  appearance: none; display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 9px 15px; border-radius: 10px; font-size: 14px; font-weight: 700;
  cursor: pointer; border: 1px solid transparent; font-family: inherit;
  transition: background .15s ease, border-color .15s ease;
}
.nl-at-btn-primary { background: #f07385; color: #12080c; flex: 1 1 150px; }
.nl-at-btn-primary:hover:not(:disabled) { background: #f78c9b; }
.nl-at-btn-secondary {
  background: #26141d; color: #fdf2f4; border-color: rgba(240, 115, 133, 0.42); flex: 1 1 120px;
}
.nl-at-btn-secondary:hover:not(:disabled) { border-color: #f07385; background: rgba(240, 115, 133, 0.16); }
.nl-at-btn:disabled { opacity: 0.48; cursor: not-allowed; }
.nl-at-audio { width: 100%; max-width: 100%; margin: 8px 0 10px; border-radius: 8px; }
.nl-at-status {
  font-size: 13px; color: #d4b5be; background: rgba(18, 8, 12, 0.72);
  border: 1px solid rgba(240, 115, 133, 0.22); border-radius: 10px; padding: 9px 12px; margin: 0; line-height: 1.5;
}
.nl-at-status strong { color: #fdf2f4; }
.nl-at-note { font-size: 12px; color: #d4b5be; margin: 10px 0 0; line-height: 1.5; }
.nl-at-canvas-wrap {
  background: #12080c; border: 1px solid rgba(240, 115, 133, 0.28);
  border-radius: 12px; padding: 8px; margin-bottom: 12px; width: 100%; max-width: 100%;
}
.nl-at-canvas { width: 100%; max-width: 100%; height: 110px; display: block; border-radius: 8px; }
.nl-at-table-wrap {
  width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 10px 0 12px; border-radius: 10px; border: 1px solid rgba(240, 115, 133, 0.2);
}
.nl-at-table { width: 100%; border-collapse: collapse; font-size: 13px; background: #12080c; }
.nl-at-table th, .nl-at-table td {
  padding: 7px 10px; text-align: left; border-bottom: 1px solid rgba(240, 115, 133, 0.14); white-space: nowrap;
}
.nl-at-table th { color: #f78c9b; font-weight: 700; background: rgba(240, 115, 133, 0.08); }
@media (max-width: 600px) {
  .nl-at-card { padding: 14px; }
  .nl-at-grid { grid-template-columns: minmax(0, 1fr); }
  .nl-at-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
