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;
}

.todo-layout {
  align-items: start;
}

.todo-loader-card {
  max-width: 32rem;
}

.todo-item + .todo-item {
  border-top: 1px solid var(--bs-border-color);
}

.todo-item-done {
  background-color: var(--bs-tertiary-bg);
}

.todo-item-done .todo-item-line,
.todo-item-done .todo-item-note,
.todo-item-done .todo-item-project {
  opacity: 0.72;
}

.todo-item-done .todo-item-line a,
.todo-item-done .todo-item-line span,
.todo-item-done .todo-item-note {
  text-decoration: line-through;
  text-decoration-thickness: 0.08rem;
}

.todo-item-line {
  line-height: 1.35;
}

.todo-item-project {
  margin-bottom: 0.15rem;
  line-height: 1.2;
}

.todo-item-checkbox {
  margin-top: 0.1rem;
}

.todo-item-note {
  margin-top: 0.35rem;
  white-space: pre-wrap;
}

.todo-item-meta {
  margin-top: 0.2rem;
  line-height: 1.2;
}

.todo-item-actions .dropdown-toggle {
  min-width: 5.5rem;
}

.todo-item-actions .dropdown-menu {
  min-width: 12rem;
  font-size: 0.9rem;
}

.todo-item-actions .dropdown-item {
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.todo-calendar-table {
  table-layout: fixed;
}

.todo-calendar-table th,
.todo-calendar-table td {
  width: 14.285%;
}

.todo-calendar-day {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 2.2rem;
  border-radius: 0.5rem;
  color: inherit;
  text-decoration: none;
  font-size: 0.95rem;
}

.todo-calendar-day:hover {
  background-color: var(--bs-tertiary-bg);
  color: inherit;
}

.todo-calendar-day-selected {
  background-color: var(--bs-primary);
  color: #fff;
}

.todo-calendar-day-selected:hover {
  color: #fff;
}

.todo-calendar-day-muted {
  color: var(--bs-secondary-color);
}

.todo-calendar-day-number {
  display: inline-block;
  min-width: 1.6rem;
  text-align: center;
}

.todo-calendar-day-marked {
  text-decoration-line: underline;
  text-decoration-thickness: 0.14rem;
  text-underline-offset: 0.2rem;
}

.support-pressure-layout {
  align-items: start;
}

.support-pressure-nav-card {
  position: sticky;
  top: 1rem;
}

.support-pressure-project-list {
  max-height: calc(100vh - 15rem);
  overflow-y: auto;
}

.support-pressure-project-link {
  padding: 0.6rem 0.75rem;
  border-left: 0.2rem solid transparent;
}

.support-pressure-project-link:hover {
  background-color: var(--bs-tertiary-bg);
}

.support-pressure-project-link-selected {
  background-color: var(--bs-tertiary-bg);
  border-left-color: var(--bs-primary);
}

.support-pressure-project-name {
  font-weight: 600;
  line-height: 1.25;
}

.support-pressure-project-badge {
  flex: 0 0 auto;
}

.support-pressure-project-context,
.support-pressure-project-metrics {
  margin-top: 0.2rem;
  line-height: 1.3;
}

.support-pressure-detail-card .card-body {
  padding: 1rem;
}

.support-pressure-badges .badge {
  font-weight: 500;
}

.support-pressure-reason-list {
  padding-left: 1rem;
  font-size: 0.9rem;
}

.support-pressure-reason-list li + li {
  margin-top: 0.2rem;
}

.support-pressure-cases-table {
  font-size: 0.9rem;
}

.support-pressure-cases-table th,
.support-pressure-cases-table td {
  padding: 0.5rem 0.45rem;
  vertical-align: top;
}

.support-pressure-case-title {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  line-height: 1.35;
}

.support-pressure-case-reason {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  line-height: 1.3;
}

.support-pressure-case-reason + .support-pressure-case-reason {
  margin-top: 0.25rem;
}

.admin-shell {
  align-items: start;
}

.admin-nav-card {
  position: sticky;
  top: 1rem;
}

.admin-nav-link {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 0.6rem;
}

.admin-nav-title {
  display: block;
  font-weight: 600;
  line-height: 1.2;
}

.admin-nav-description {
  display: block;
  font-size: 0.82rem;
  line-height: 1.25;
  opacity: 0.8;
  margin-top: 0.1rem;
}

.admin-overview-dl dt,
.admin-overview-dl dd {
  margin-bottom: 0.45rem;
}

.project-mappings-table {
  font-size: 0.9rem;
}

.project-mappings-table th,
.project-mappings-table td {
  padding: 0.45rem 0.5rem;
  vertical-align: middle;
}

.project-mappings-table .form-select-sm {
  min-width: 15rem;
}

.navbar-quick-links .dropdown-menu {
  min-width: 13rem;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.navbar-quick-link-form {
  margin: 0;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
