:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, sans-serif;
  background: #101613;
  color: #f0f5f1;
  --surface: #19221d;
  --border: #35443b;
  --muted: #aebeb3;
  --green: #65e298;
}

* { box-sizing: border-box; }
body { margin: 0; }
main {
  max-width: 36rem;
  margin: auto;
  padding: max(24px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
    max(28px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 1.125rem; font-weight: 700; }
.brand img { border-radius: 10px; }
.mode { margin-left: auto; color: var(--muted); font-size: .65rem; font-weight: 700; letter-spacing: .085em; }
.intro { margin: 34px 0 23px; }
h1 { margin: 0 0 8px; font-size: clamp(2rem, 7.6vw, 2.7rem); letter-spacing: -.04em; line-height: 1.1; }
p { margin: 0; color: var(--muted); line-height: 1.5; }
form, aside { padding: 19px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
label { display: block; margin-bottom: 8px; font-weight: 650; }
input, textarea {
  width: 100%;
  border: 1px solid #54655b;
  border-radius: 12px;
  padding: 12px 13px;
  background: #111813;
  color: inherit;
  font: inherit;
  line-height: 1.4;
}
input { min-height: 52px; font-size: 1.125rem; }
textarea { display: block; resize: vertical; }
input::placeholder, textarea::placeholder { color: #91a296; opacity: 1; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
[aria-invalid="true"] { border-color: #ffad9a; }
.hint, .error { margin-top: 7px; font-size: .8125rem; }
.error { color: #ffb4a4; }
label[for="notes"] { margin-top: 20px; }
button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 64px;
  margin-top: 17px;
  padding: 12px;
  border: 0;
  border-radius: 15px;
  background: var(--green);
  color: #102518;
  font: inherit;
  font-size: 1.1rem;
  font-weight: 750;
  cursor: pointer;
}
button:active { background: #4fce84; }
button svg { flex: none; }
.call-hint { text-align: center; }
aside { margin-top: 14px; }
aside div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
h2 { margin: 0; font-size: 1rem; }
.off { padding: 4px 8px; border-radius: 6px; background: #29352d; color: #d3dfd5; font-size: .75rem; }
aside p, details p { margin-top: 8px; font-size: .875rem; }
details { margin: 10px 4px 0; }
summary { min-height: 44px; padding: 12px 0; color: #c1d3c6; cursor: pointer; }
