/* The notes page: the shared tokens (style.css) and a few rules of its own. One raised level, none here; flat rows. */
body { background: var(--bg); }
.bar { display: flex; align-items: center; gap: var(--gap); height: 52px; padding: 0 var(--gutter); border-bottom: 1px solid var(--rule-strong); }
.bar h1 { font-size: var(--size-title); }
.bar .end { margin-left: auto; color: var(--muted); font-size: var(--size-small); }
main { max-width: 640px; margin: 0 auto; padding: var(--gutter); }
main.narrow { max-width: 360px; padding-top: 64px; }
.signin h1 { font-size: var(--size-display); margin-bottom: var(--gap); }
.quiet { border: 0; color: var(--muted); height: 28px; padding: 0 var(--gap); }
.record { min-height: 112px; padding: var(--gutter) 0; border-bottom: 1px solid var(--rule); display: grid; gap: var(--gap); align-content: start; }
button.primary { height: 44px; padding: 0 28px; background: var(--accent); border-color: var(--accent); color: var(--bg); font-size: var(--size-title); font-weight: var(--weight-medium); }
button.primary:hover:enabled { background: var(--accent); filter: brightness(1.08); }
button.primary:disabled { background: var(--hover); border-color: var(--rule-strong); color: var(--muted); }
button.danger { border-color: var(--problem); color: var(--problem); }
.live { display: flex; align-items: center; justify-content: space-between; }
.elapsed { font: 400 var(--size-display)/1 var(--mono); font-variant-numeric: tabular-nums; }
.words { display: grid; gap: 6px; max-height: 40dvh; overflow-y: auto; }
.words p { margin: 0; }
.sheet { margin: 0; padding: 0; list-style: none; }
.note { border-bottom: 1px solid var(--rule); }
.note-line { display: flex; justify-content: space-between; align-items: baseline; gap: var(--gutter); width: 100%; height: auto; min-height: 52px; padding: 12px 0; border: 0; border-radius: 0; text-align: left; }
.note-line:hover:enabled { background: transparent; }
.note-line .title { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.note-line .when { flex: none; font-size: var(--size-small); font-variant-numeric: tabular-nums; }
.detail { display: grid; gap: var(--gap); padding: 0 0 var(--gutter); }
.detail audio { width: 100%; }
.transcript { margin: 0; line-height: 1.5; max-width: 72ch; }
.empty { padding: var(--gutter) 0; }
.dev { font-family: var(--mono); font-size: var(--size-tiny); }
@media (max-width: 480px) {
  .note-line { flex-direction: column; gap: 2px; }
}
