html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgba(var(--brand-blue-rgb), 0.6);
}

.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;
}
/* Standup text is shown exactly as typed, keeping line breaks (standup-feed). */
.standup-text dd {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* A not-on-track reason in the feed's list keeps its line breaks too. */
.not-on-track [data-col=reason] {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* The feed's "Not submitted yet" names sit on one wrapping line, separated by commas (compact-standup-lists D7). */
.not-submitted .list-inline-item:not(:last-child)::after {
  content: ",";
}

/* The feed's and reports' standups: one compact table row each (compact-standup-lists D1, D6). */
.standup-table {
  font-size: 0.875rem;
}

/* Text in the table is shown in full as typed: it keeps line breaks and wraps within its column, never cut off. */
.standup-table .standup-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.standup-table .avatar {
  vertical-align: text-bottom;
}

/* Column names and "Submitted 09:12" stay on one line, so dates don't break at their hyphens and rows stay short. */
.standup-table thead th,
.standup-table time {
  white-space: nowrap;
}

/* The rarer, longer "Added late Monday, 2026-11-16 09:12" wraps rather than widening the name column (add-missed-standups D7). */
.standup-table time[data-added-late] {
  white-space: normal;
}

/* Below Bootstrap's md breakpoint each row becomes a block of fields, each labelled from its data-label (D5). */
@media (max-width: 767.98px) {
  .standup-table,
  .standup-table tbody,
  .standup-table tr,
  .standup-table th,
  .standup-table td {
    display: block;
  }

  .standup-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .standup-table tr.standup {
    margin-bottom: 0.75rem;
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
  }

  .standup-table > tbody > tr > * {
    border-bottom-width: 0;
  }

  .standup-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bs-secondary-color);
    white-space: normal;
  }
}

