/* ==========================================================================
   SchemCAD — Reference Ohmmeter Atlas & Probe Notes Styles
   File: frontend/resistance_notes.css
   ========================================================================== */
.rna-root {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #0d121c;
  color: #e2e8f0;
  font-size: 12.5px;
}

.rna-tabs {
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  background: #121927;
  border-bottom: 1px solid #233148;
}

.rna-tab {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #293852;
  background: #0f1623;
  color: #9fb0c9;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}

.rna-tab.active {
  background: rgba(16, 185, 129, 0.18);
  border-color: #34d399;
  color: #ecfdf5;
}

.rna-toolbar {
  padding: 9px 10px;
  border-bottom: 1px solid #1e2b3e;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.rna-notes-head {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.rna-search {
  width: 100%;
  height: 32px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid #2d3e5a;
  background: #090d14;
  color: #f8fafc;
  font-size: 12.5px;
}

.rna-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.rna-cat {
  padding: 3px 9px;
  border-radius: 5px;
  border: 1px solid #28364d;
  background: #131c2b;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.rna-cat.active {
  border-color: #facc15;
  background: rgba(234, 179, 8, 0.15);
  color: #fef08a;
}

.rna-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rna-card {
  background: #121926;
  border: 1px solid #24334a;
  border-radius: 8px;
  padding: 10px 12px;
}

.rna-model {
  font-size: 13.5px;
  font-weight: 800;
  color: #fde047;
}

.rna-chip {
  font-size: 11.5px;
  color: #94a3b8;
  margin-top: 2px;
  margin-bottom: 7px;
}

.rna-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
}

.rna-table th,
.rna-table td {
  padding: 5px 7px;
  border-top: 1px solid #1e293b;
  text-align: left;
  vertical-align: top;
}

.rna-table th {
  color: #7e91ad;
  font-size: 10.5px;
  text-transform: uppercase;
}

.rna-rail {
  font-family: var(--mono, monospace);
  font-weight: 700;
  color: #e2e8f0;
}

.rna-ohm {
  font-family: var(--mono, monospace);
  font-weight: 800;
  color: #34d399;
  white-space: nowrap;
}

.rna-v {
  font-family: var(--mono, monospace);
  color: #60a5fa;
  white-space: nowrap;
}

.rna-note {
  color: #cbd5e1;
}

.rna-note-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 7px;
  background: #121a28;
  border: 1px solid #26364f;
}

.rna-note-badges {
  display: flex;
  gap: 5px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.rna-b-ohm,
.rna-b-mv,
.rna-b-v {
  font-family: var(--mono, monospace);
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
}

.rna-b-ohm {
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
}

.rna-b-mv {
  background: rgba(234, 179, 8, 0.16);
  color: #fde047;
}

.rna-b-v {
  background: rgba(59, 130, 246, 0.16);
  color: #93c5fd;
}

.rna-note-txt {
  margin-top: 4px;
  font-size: 11.5px;
  color: #9fb0c9;
}

.rna-empty {
  padding: 24px 14px;
  text-align: center;
  color: #7d8fa9;
}

/* Right Inspector Inline Probe Note Widget */
.rna-insp-widget {
  margin-top: 10px;
  padding: 9px 10px;
  border-radius: 7px;
  background: #101724;
  border: 1px solid rgba(52, 211, 153, 0.35);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rna-iw-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 11.5px;
  color: #cbd5e1;
}

.rna-iw-inputs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.rna-iw-inputs input,
.rna-iw-row2 input {
  height: 27px;
  padding: 0 7px;
  border-radius: 5px;
  border: 1px solid #293852;
  background: #090d14;
  color: #f8fafc;
  font-size: 11.5px;
  min-width: 0;
}

.rna-iw-row2 {
  display: flex;
  gap: 5px;
}

.rna-iw-row2 input {
  flex: 1;
}
