:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7f6f2;
  color: #18201d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

button,
input {
  font: inherit;
}

.shell {
  width: min(100%, 680px);
  min-height: 100svh;
  margin: 0 auto;
  padding: 20px;
  display: grid;
  align-content: start;
  gap: 16px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 4px;
  color: #5d6b63;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(1.6rem, 8vw, 2.8rem);
  line-height: 1;
}

h2 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.talk-panel,
.status-panel,
.preview-card {
  background: #ffffff;
  border: 1px solid #d9ddd5;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(25, 40, 32, 0.08);
}

.record-button {
  width: 100%;
  aspect-ratio: 1.8;
  border: 0;
  border-radius: 8px;
  background: #23433a;
  color: white;
  font-size: clamp(1.5rem, 9vw, 3.5rem);
  font-weight: 800;
}

.record-button.recording {
  background: #a7332a;
}

.text-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 12px;
}

input {
  width: 100%;
  min-width: 0;
  border: 1px solid #cdd4cb;
  border-radius: 8px;
  padding: 14px;
  background: #fbfcfa;
}

button {
  border: 0;
  border-radius: 8px;
  padding: 12px 14px;
  background: #23433a;
  color: white;
  font-weight: 700;
}

.icon-button,
.secondary {
  background: #e6ebe2;
  color: #1d312b;
}

.muted,
.output {
  color: #4f5d55;
  line-height: 1.45;
  white-space: pre-wrap;
}

.preview-card dl {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 8px 12px;
  margin: 0;
}

.preview-card dt {
  color: #5d6b63;
  font-weight: 700;
}

.preview-card dd {
  margin: 0;
}

.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.hidden {
  display: none;
}
