/* The call page's look: large buttons for a phone, light and dark themes. */
:root {
  --background: #f7f7f5;
  --text: #1d1d1b;
  --muted: #5d5d58;
  --call: #1f7a4d;
  --hang-up: #b3261e;
  --field: #ffffff;
  --border: #c9c9c3;
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #161615;
    --text: #ececea;
    --muted: #a6a6a0;
    --call: #2e9e66;
    --hang-up: #d9473e;
    --field: #232321;
    --border: #44443f;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 18px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
}
main {
  max-width: 420px;
  margin: 0 auto;
  padding: 48px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}
h1 { margin: 0; font-size: 40px; }
#status, #timer { margin: 0; color: var(--muted); min-height: 1.5em; }
form, section { display: flex; flex-direction: column; gap: 12px; }
[hidden] { display: none !important; }
label { text-align: left; color: var(--muted); }
input {
  font: inherit;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--field);
  color: var(--text);
}
button {
  font: inherit;
  font-weight: 600;
  padding: 16px;
  border: 0;
  border-radius: 999px;
  background: var(--text);
  color: var(--background);
  cursor: pointer;
}
button:disabled { opacity: 0.5; cursor: default; }
button.call { background: var(--call); color: #fff; font-size: 22px; padding: 22px; }
button.hang-up { background: var(--hang-up); color: #fff; font-size: 22px; padding: 22px; }
button.quiet { background: transparent; color: var(--muted); font-weight: 400; }
