/* Lefor Labs look: plain surfaces, ink buttons, muted text #666666. No gradients, no glass, no cards. */
:root {
  --background: #fafafa;
  --surface: #ffffff;
  --ink: #111111;
  --on-ink: #ffffff;
  --muted: #666666;
  --line: #e6e6e6;
  --error: #b3261e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font: 17px/1.5 Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px 48px;
}

.bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 64px;
}

h1 {
  font-size: 22px;
  font-weight: 600;
  margin: 0;
}

h2 {
  font-size: 17px;
  font-weight: 600;
  margin: 32px 0 8px;
}

p {
  margin: 12px 0;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 14px;
}

.problem {
  color: var(--error);
}

.text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 26px;
  border: 1px solid var(--ink);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--ink);
  color: var(--on-ink);
}

.button.secondary {
  background: var(--surface);
  color: var(--ink);
}

.button:disabled {
  opacity: 0.5;
  cursor: default;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-left: -12px;
  border: 0;
  border-radius: 24px;
  background: none;
  color: var(--ink);
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.actions,
.filters,
.inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: end;
  margin: 12px 0;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 12px 0;
  flex: 1 1 150px;
}

.field > span {
  font-size: 14px;
  color: var(--muted);
}

input,
select {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  min-width: 0;
}

.inline input {
  flex: 1 1 160px;
}

.speaker {
  flex: 0 0 100%;
  font-weight: 600;
}

.list,
.tags {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list > li {
  border-top: 1px solid var(--line);
}

.row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  min-height: 48px;
  padding: 12px 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.row-text {
  overflow-wrap: anywhere;
}

.name {
  padding: 12px 0;
}

.tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 0;
}

.key {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  font: 14px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow-wrap: anywhere;
  resize: none;
}

.log {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
}
