* {
  box-sizing: border-box;
}
:root {
  color-scheme: light;
  --page: #f0f2f5;
  --surface: #fff;
  --text: #141414;
  --muted: #595959;
  --line: #d9d9d9;
  --brand: #1677ff;
  --button: #1677ff;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --page: #141414;
  --surface: #1f1f1f;
  --text: #e8e8e8;
  --muted: #a6a6a6;
  --line: #303030;
  --brand: #69b1ff;
  --button: #1668dc;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  color: var(--text);
  background: var(--page);
  font:
    13px/1.45 'Segoe UI',
    system-ui,
    sans-serif;
}
h1 {
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 10px;
}
h2 {
  font-size: 15px;
  margin: 0 0 12px;
}
p {
  color: var(--muted);
}
a {
  color: var(--brand);
}
label {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
  font-weight: 600;
}
input,
textarea,
select,
button {
  font: inherit;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  padding: 5px 9px;
}
button {
  cursor: pointer;
}
button:hover {
  border-color: var(--brand);
}
button:disabled {
  opacity: 0.55;
  cursor: default;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.primary {
  background: var(--button);
  border-color: var(--button);
  color: white;
  font-weight: 650;
}
.card,
dialog {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  color: var(--text);
}
.feedback:empty {
  display: none;
}
.feedback {
  overflow-wrap: anywhere;
}
