/* [project]/app/globals.css [app-client] (css) */
:root {
  --bg: #f6f5f1;
  --surface: #fff;
  --text: #1c1c1a;
  --muted: #6b6a64;
  --border: #dedcd4;
  --accent: #0f5132;
  --accent-soft: #e3efe8;
  --rec: #c0392b;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151614;
    --surface: #1e201d;
    --text: #ecebe6;
    --muted: #9a9890;
    --border: #33352f;
    --accent: #5fbf8c;
    --accent-soft: #1f3328;
    --rec: #e05a4a;
  }
}

* {
  box-sizing: border-box;
}

html, body {
  background: var(--bg);
  color: var(--text);
  margin: 0;
}

body {
  font: 16px / 1.5 system-ui, -apple-system, Segoe UI, sans-serif;
}

.wrap {
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 24px 16px 40px;
  display: flex;
}

header h1 {
  letter-spacing: -.02em;
  margin: 0;
  font-size: 28px;
}

.sub {
  color: var(--muted);
  margin: 2px 0 0;
}

.editor {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  flex-direction: column;
  flex: 1;
  min-height: 260px;
  padding: 14px;
  display: flex;
}

.editor textarea {
  resize: none;
  width: 100%;
  min-height: 200px;
  color: inherit;
  font: inherit;
  background: none;
  border: 0;
  outline: 0;
  flex: 1;
  font-size: 18px;
  line-height: 1.6;
}

.partial {
  color: var(--muted);
  margin: 8px 0 0;
  font-size: 18px;
  font-style: italic;
}

.controls {
  align-items: center;
  gap: 16px;
  display: flex;
}

.mic {
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 50%;
  width: 72px;
  height: 72px;
  font-size: 28px;
  transition: transform .1s, background .2s;
}

.mic:active {
  transform: scale(.96);
}

.mic.on {
  background: var(--rec);
  animation: 1.4s infinite pulse;
}

.mic:disabled {
  opacity: .6;
  cursor: default;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 #c0392b73;
  }

  50% {
    box-shadow: 0 0 0 12px #c0392b00;
  }
}

.status {
  color: var(--muted);
  align-items: center;
  gap: 8px;
  display: flex;
}

.dot {
  background: var(--rec);
  border-radius: 50%;
  width: 10px;
  height: 10px;
}

.error {
  color: var(--rec);
  margin: 0;
}

.actions {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.actions button, .file {
  border: 1px solid var(--border);
  background: var(--surface);
  color: inherit;
  font: inherit;
  cursor: pointer;
  border-radius: 10px;
  padding: 10px 14px;
}

.actions button:disabled {
  opacity: .5;
  cursor: default;
}

.file input {
  display: none;
}

.file.busy {
  opacity: .6;
}

.settings {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
}

.settings summary {
  cursor: pointer;
  color: var(--muted);
}

.settings input {
  border: 1px solid var(--border);
  background: var(--bg);
  width: 100%;
  color: inherit;
  font: inherit;
  border-radius: 8px;
  margin-top: 10px;
  padding: 10px;
}

.hint {
  color: var(--muted);
  margin: 6px 0 0;
  font-size: 13px;
}

footer {
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

/*# sourceMappingURL=app_globals_0yg4wg8plh8sv.css.map*/