:root { color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; background: #111418; color: #e8eaed; font: 17px/1.4 system-ui, sans-serif; }
main { max-width: 720px; margin: 0 auto; padding: 16px; }
h1 { font-size: 1.2rem; margin: 0; }
header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.tela { aspect-ratio: 4 / 3; background: #000; border-radius: 10px; overflow: hidden; }
.tela img { width: 100%; height: 100%; object-fit: contain; display: block; }
.tela img:not([src]) { visibility: hidden; }
#estado, #aviso { color: #9aa4af; min-height: 1.4em; }
.botoes { display: grid; gap: 12px; }
button, input { font: inherit; border-radius: 10px; border: 1px solid #3a424c; padding: 14px; }
button { background: #232a33; color: inherit; cursor: pointer; }
button:disabled { opacity: .45; cursor: default; }
button[aria-pressed="true"] { background: #1f5c3a; border-color: #2f8a57; }
#falar { background: #1d4e89; border-color: #2c6fbd; padding: 22px; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
#falar.gravando { background: #a32d2d; border-color: #d44; }
.discreto { padding: 6px 14px; font-size: .9rem; }
.entrada { max-width: 360px; padding-top: 18vh; }
.entrada h1 { margin-bottom: 20px; }
.entrada form { display: grid; gap: 10px; }
input { background: #1b2027; color: inherit; }
