/* Between-Sessions Cognitive Flush, scoped to its page. The ring is moved only by script, from
   elapsed time, so it stays in step with the phase words; nothing here animates by itself. */
.fl-modes {
  grid-auto-rows: 1fr;
}
.fl-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 1.25rem;
}
.flush-page #setup h2,
.flush-page #session h2,
.flush-page #done h2 {
  margin-top: 1.5rem;
}
.flush-page .option {
  min-height: 44px;
}
.flush-page .option input[type="checkbox"] {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.15rem 0 0;
  accent-color: var(--emerald-900);
}
.flush-page button {
  max-width: 100%;
}
.fl-safety {
  color: var(--slate-600);
  font-size: 0.9375rem;
  border-left: 4px solid var(--slate-200);
  padding-left: 0.875rem;
}
.fl-breath {
  display: grid;
  justify-items: center;
  gap: 1rem;
  margin: 1.5rem 0 0.5rem;
}
.fl-ring-box {
  width: min(17rem, 72vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.fl-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 0.75rem solid var(--emerald-700);
  background: var(--emerald-50);
  transform: scale(0.8);
  transition: none;
  will-change: transform;
}
.fl-phase {
  min-height: 1.4em;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 650;
  color: var(--emerald-900);
  text-align: center;
}
.fl-time {
  margin: 0.5rem 0;
  font-size: 1.125rem;
  font-variant-numeric: tabular-nums;
  color: var(--slate-600);
  text-align: center;
}
#session .actions {
  justify-content: center;
}
.fl-note {
  color: var(--slate-600);
  font-size: 0.9375rem;
  text-align: center;
  margin: 0.25rem 0;
}
.fl-note:empty {
  display: none;
}
.fl-cue {
  margin: 3rem 0 1.5rem;
  font-size: 1.375rem;
  line-height: 1.5;
  text-align: center;
}
.fl-steps {
  padding-left: 1.25rem;
}
.fl-steps li {
  margin-bottom: 0.5rem;
}
.fl-details summary {
  display: list-item;
  min-height: 44px;
  padding: 0.5625rem 0;
  cursor: pointer;
  font-weight: 650;
  color: var(--emerald-900);
}
.fl-details li {
  margin-bottom: 0.5rem;
  overflow-wrap: anywhere;
}
.fl-footer-link {
  margin-top: 0.5rem !important;
}
.fl-footer-link a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.flush-page .notice h3 {
  margin-top: 0;
}
@media (prefers-reduced-motion: reduce) {
  .fl-ring {
    transform: scale(0.8) !important;
    will-change: auto;
  }
}

/* Quiet rest: dim slate surface for the whole page, light text, no glare from white buttons. */
.fl-dark {
  background: #111827;
  color: #e2e8f0;
  color-scheme: dark;
}
.fl-dark .site-header {
  background: #111827;
  border-bottom-color: #334155;
}
.fl-dark .site-footer {
  background: #111827;
  border-top-color: #334155;
  color: #cbd5e1;
}
.fl-dark .brand,
.fl-dark .brand:hover,
.fl-dark h1,
.fl-dark h2 {
  color: #e2e8f0;
}
.fl-dark .brand-mark {
  background: #2d6a4f;
  box-shadow: none;
}
.fl-dark .brand-sub,
.fl-dark .lede,
.fl-dark .hint,
.fl-dark .fl-note,
.fl-dark .fl-time {
  color: #cbd5e1;
}
.fl-dark a,
.fl-dark a:hover {
  color: #a7d7c5;
}
.fl-dark :focus-visible {
  outline-color: #a7d7c5;
}
.fl-dark .fl-time {
  font-size: 1.25rem;
}
.fl-dark button {
  background: #1f2937;
  color: #e2e8f0;
  border-color: #94a3b8;
}
.fl-dark button:hover {
  background: #273449;
  color: #ffffff;
  border-color: #cbd5e1;
}
.fl-dark button#pause {
  background: #2d6a4f;
  border-color: #2d6a4f;
  color: #ffffff;
}
.fl-dark button#pause:hover {
  background: #1b4332;
  border-color: #a7d7c5;
}
@media (max-width: 26rem) {
  .fl-cue {
    margin-top: 2rem;
  }
}
