/* Base styles: reset, typography, form controls, tables */
:root {
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
html {
  scroll-padding-top: env(safe-area-inset-top, 0px);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    16px/1.6 "Public Sans",
    system-ui,
    Arial,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}
input,
select,
textarea {
  width: 100%;
  padding: 11px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}
input[type="checkbox"] {
  width: auto;
  margin-right: 6px;
}
table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}
td,
th {
  padding: 12px 16px;
  text-align: left;
  font-size: 15px;
}
tr:nth-child(odd) td {
  background: var(--tint);
}
td:first-child {
  color: var(--mute);
  width: 42%;
  font-weight: 600;
}
tr:nth-child(even) td {
  background: var(--card);
}
.hint {
  display: block;
  font-size: 12px;
  color: var(--mute);
  margin-top: 2px;
}
.qm {
  display: block;
  font-size: 12px;
  color: #b3261e;
}
.vm {
  min-height: 17px;
  line-height: 17px;
}
input[readonly] {
  background: var(--tint);
}
