html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Required by tay's hide()/show() (TAY_REFERENCE.md gotcha 3) — tay injects no stylesheet. */
.hide {
  display: none !important;
}

/* Task-engine row states (PLAN.md §6/§7b): spinner shows while a row's
   in-flight task hasn't reached a terminal state yet. */
.task-row .task-spinner {
  display: none;
}

.task-row.task-in-flight .task-spinner {
  display: inline-block;
}

.task-row.task-in-flight .task-value {
  opacity: 0.6;
}

.task-spinner {
  width: 1em;
  height: 1em;
  border: 2px solid #ccc;
  border-top-color: #258cfb;
  border-radius: 50%;
  animation: task-spinner-spin 0.8s linear infinite;
}

@keyframes task-spinner-spin {
  to {
    transform: rotate(360deg);
  }
}