/* Base: reset, typography, focus outlines and small utilities shared by every screen. */

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

* {
  box-sizing: border-box;
}

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  touch-action: manipulation;
}

button:disabled {
  cursor: default;
  opacity: .6;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #a8c661;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h2 {
  font-size: 17px;
  letter-spacing: -.3px;
  font-weight: 600;
}

h3 {
  font-size: 15px;
}

small {
  font-size: 11px;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 12px;
}

.block {
  display: block;
  margin-top: 5px;
}

table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}

th {
  padding: 15px 22px;
}

td {
  padding: 15px 22px;
}

body {
  margin: 0;
  background: var(--bg);
  font-family: var(--font);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
}

h1,
h2,
h3 {
  color: inherit;
}

h1 {
  font-size: 33px;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: -1.3px;
}

input,
select {
  border: 1px solid #dfe5d7;
  background: white;
  padding: 11px 12px;
  min-width: 0;
  width: 100%;
  font-size: 12px;
  color: #2d4267;
  border-color: #d7dfef;
  border-radius: 4px;
}

input::placeholder {
  color: #929fb7;
}

label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  margin-bottom: 19px;
  color: #5c7195;
  font-weight: 500;
}

th {
  border-bottom: 1px solid var(--line);
  color: #6d7e9b;
  background: #f6f8fc;
  font-weight: 650;
  font-size: 9px;
  border-color: #e2e8f3;
}

td {
  border-bottom: 1px solid #f0f2ec;
  font-size: 11px;
  color: #637697;
  border-color: #ebeff7;
}

td strong {
  font-size: 11px;
  color: #294267;
  font-weight: 600;
}

input[type=submit] {
  cursor: pointer;
}

input[type=submit]:disabled {
  opacity: .5;
  cursor: default;
}

[hidden] {
  display: none !important;
}

turbo-frame {
  display: contents;
}

button[disabled] {
  opacity: .5;
}

form {
  margin: 0;
}

@media (max-width: 700px) {
  th,
  td {
    padding: 14px 16px;
  }
}
