/* Fluency Illusion Revision Auditor, scoped to its page. */
.auditor-page h1 {
  letter-spacing: 0;
}
.auditor-page section > h2 {
  margin-top: 2.5rem;
}
.au-weeks input {
  max-width: 8rem;
}
.au-hours {
  margin-bottom: 0;
}
.au-row {
  padding: 0.875rem 0;
  border-top: 1px solid var(--slate-200);
}
.au-row .label {
  margin-bottom: 0;
}
.au-row .hint {
  margin: 0 0 0.375rem;
  font-size: 0.875rem;
}
.au-row.has-error {
  border-left: 4px solid var(--error);
  padding-left: 0.75rem;
}
.au-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
}
.au-controls input[type="range"] {
  inline-size: 100%;
  min-inline-size: 0;
  min-block-size: 44px;
  margin: 0;
  accent-color: var(--emerald-900);
  cursor: pointer;
}
.au-controls input[type="range"]:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
.au-box {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.au-box input[type="number"] {
  inline-size: 6.5rem;
  max-width: 6.5rem;
}
.au-unit {
  color: var(--slate-600);
}
.au-slider-note {
  margin: 0.375rem 0 0;
  font-size: 0.875rem;
  color: var(--slate-600);
}
.au-total {
  margin: 0.875rem 0 0;
  padding-top: 0.875rem;
  border-top: 1px solid var(--slate-200);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
#error-total {
  margin-top: 0.5rem;
}
.au-result {
  display: grid;
  gap: 0.25rem;
  padding: 1.25rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--white);
}
.au-details {
  margin-top: 1.25rem;
}
.au-details summary {
  display: list-item;
  min-height: 44px;
  padding: 0.5625rem 0;
  cursor: pointer;
  font-weight: 650;
  color: var(--emerald-900);
}
.au-details li {
  margin-bottom: 0.375rem;
}
.au-table {
  inline-size: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.au-table th,
.au-table td {
  padding: 0.5rem 0.5rem 0.5rem 0;
  border-bottom: 1px solid var(--slate-200);
  text-align: left;
  vertical-align: top;
}
.au-table thead th {
  font-size: 0.875rem;
  color: var(--slate-600);
}
.au-table tbody th,
.au-table tfoot th {
  font-weight: 600;
}
.au-table tfoot th,
.au-table tfoot td {
  font-weight: 650;
}
.au-notes ol {
  padding-left: 1.25rem;
}
.au-notes li {
  overflow-wrap: anywhere;
}
.au-return {
  white-space: nowrap;
}
.au-footer-link {
  margin-top: 0.5rem !important;
}
.au-footer-link a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.auditor-page .notice h3 {
  margin-top: 0;
}
@media (max-width: 23rem) {
  .au-box input[type="number"] {
    inline-size: 5.5rem;
  }
  .au-table th,
  .au-table td {
    padding-right: 0.375rem;
    font-size: 0.9375rem;
  }
}

.au-experiment-inputs {
  display: grid;
  gap: 0.75rem;
}
.au-experiment-inputs label {
  display: grid;
  gap: 0.25rem;
  min-inline-size: 0;
  font-weight: 600;
}
.au-experiment-inputs select {
  inline-size: 100%;
  min-inline-size: 0;
  max-inline-size: 100%;
  min-block-size: 44px;
}
.auditor-page .au-table {
  table-layout: fixed;
}
.auditor-page .au-table :is(th, td) {
  overflow-wrap: anywhere;
}
.au-table th:first-child {
  width: 48%;
}
.au-box,
.au-row,
.au-hours,
.au-weeks {
  min-inline-size: 0;
}
.au-result {
  font-weight: 600;
  line-height: 1.55;
}
@media (max-width: 30rem) {
  .au-controls {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.25rem;
  }
  .au-box input[type="number"] {
    inline-size: min(6.5rem, 75%);
    min-inline-size: 0;
  }
  .auditor-page fieldset {
    min-inline-size: 0;
  }
  .auditor-page #audit-form {
    padding-inline: min(1rem, 4vw);
  }
}
@media print {
  .auditor-page .tool-back,
  #audit-form,
  #load-message,
  #persistence,
  #backup-heading,
  .auditor-page section[aria-labelledby="backup-heading"],
  .au-experiment-inputs,
  #whatif:not([open]),
  #method,
  .au-notes {
    display: none;
  }
  .auditor-page .au-table {
    break-inside: avoid;
  }
}
