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

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  width: 390px;
  min-height: 700px;
  background: #f6f7f8;
  color: #121417;
}

.app {
  display: grid;
  gap: 15px;
  padding: 18px;
}

header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.eyebrow {
  margin: 0 0 4px;
  color: #64748b;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.1;
}

.promise {
  margin: -6px 0 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.45;
}

button,
select,
input,
textarea {
  font: inherit;
}

button {
  min-height: 42px;
  border: 1px solid #d5dbe5;
  border-radius: 8px;
  background: #fff;
  color: #121417;
  cursor: pointer;
  font-weight: 760;
  padding: 0 13px;
}

button:hover {
  border-color: #0f766e;
}

.primary {
  border-color: #0f766e;
  background: #0f766e;
  color: #fff;
}

.recordButton {
  width: 58px;
  height: 52px;
  border-radius: 10px;
  color: #0f766e;
}

.recordButton.active {
  border-color: #b91c1c;
  background: #b91c1c;
  color: #fff;
}

.field {
  display: grid;
  gap: 7px;
}

.compactField {
  margin-top: -6px;
}

.field span,
.settings span,
.metrics span {
  color: #64748b;
  font-size: 12px;
  font-weight: 760;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d5dbe5;
  border-radius: 8px;
  background: #fff;
  color: #121417;
  outline: none;
}

input,
select {
  height: 42px;
  padding: 0 11px;
}

textarea {
  min-height: 220px;
  padding: 11px;
  resize: vertical;
  line-height: 1.45;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.metrics {
  display: grid;
  grid-template-columns: 1fr 78px 78px;
  gap: 9px;
}

.metrics div {
  min-width: 0;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.metrics strong {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.actions.single {
  grid-template-columns: 1fr;
}

.settings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.settings label {
  display: grid;
  gap: 6px;
}

.status {
  min-height: 20px;
  margin: 0;
  color: #475569;
  font-size: 13px;
}
