.nrtc-widget {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
  background: #dadadb91;
  max-width: 900px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.nrtc-widget h3 { margin: 0 0 12px; font-size: 1.2rem; }

.nrtc-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.nrtc-tab { cursor: pointer; background: #f1f5f9; border: 1px solid #cbd5e1; padding: 8px 12px; border-radius: 8px; font-weight: 600; }
.nrtc-tab-active { background: #0ea5e9; color: #fff; border-color: #0ea5e9; }

.nrtc-panel { margin-top: 4px; }
.nrtc-hidden { display: none; }

.nrtc-row {
  display: grid;
  grid-template-columns: 210px 1fr 210px 1fr;
  gap: 8px;
  align-items: center;
  margin: 8px 0;
}
.nrtc-row label { font-weight: 600; }
.nrtc-row input, .nrtc-row select {
  width: 100%;
  padding: 8px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
}
.nrtc-help { grid-column: span 3; color: #475569; font-size: 0.9rem; }

.nrtc-btn { margin-top: 4px; padding: 10px 14px; border-radius: 8px; background: #0ea5e9; color: white; border: none; cursor: pointer; font-weight: 700; }
.nrtc-btn:hover { background: #0284c7; }

.nrtc-output {
  border: 1px dashed #94a3b8;
  background: #f8fafc;
  padding: 10px;
  border-radius: 8px;
  margin-top: 10px;
}

.nrtc-error {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 8px;
  border-radius: 8px;
  margin-top: 10px;
}

.nrtc-meta { margin-top: 8px; color: #475569; font-size: 0.9rem; }
.nrtc-notes { margin-top: 12px; }

@media (max-width: 800px) {
  .nrtc-row { grid-template-columns: 1fr; }
  .nrtc-help { grid-column: auto; }
}