/* note 04: a flex row that will not truncate, the same row with
   min-width: 0, and a filename cut before its extension. The box resizes
   by its corner so the reader can make it narrow on any screen. Its own
   file because only this note loads it. */
.n-ell-box {
  display: grid;
  /* minmax(0, 1fr), or the rows would refuse to shrink: the point of the note */
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  min-width: 140px;
  max-width: 100%;
  padding: 14px;
  resize: horizontal;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.n-ell-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px dashed var(--line);
  border-radius: 6px;
}
.n-ell-dot {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--line);
}
.n-ell-text { flex: 1; }
.n-ell-fixed .n-ell-text { min-width: 0; }
.n-ell .n-ell-text p, .n-ell p.n-ell-file { margin: 0; max-width: none; }
.n-ell-name,
.n-ell-base {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.n-ell .n-ell-name { font: 500 14px/1.3 var(--sans); color: var(--paper); }
.n-ell .n-ell-role { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font: 400 11px/1.4 var(--mono); color: var(--muted); }
.n-ell-row button {
  flex: none;
  padding: 6px 10px;
  font: 400 12px/1 var(--mono);
  color: var(--paper);
  background: none;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.n-ell .n-ell-file {
  display: flex;
  min-width: 0;
  margin: 0;
  padding: 10px 12px;
  font: 400 13px/1.3 var(--mono);
  color: var(--paper);
  border: 1px dashed var(--line);
  border-radius: 6px;
}
.n-ell-ext { flex: none; }
