/* Functional UI state must not depend on the optional Tailwind CDN. */
.hidden {
  display: none !important;
}

/* Keep responsive visibility functional when the optional Tailwind CDN is
   unavailable. These are the two responsive utilities used by the Project
   Dashboard's desktop table and mobile accordion switch. */
@media (min-width: 640px) {
  .sm\:block {
    display: block !important;
  }

  .sm\:hidden {
    display: none !important;
  }
}

/* Styles for markdown reports rendered via lib/render-markdown.js's
   renderSanitizedMarkdownInto (the daily-log drawer, the ATC issues page's
   evidence timeline, and the trailer issues page's evidence timeline +
   description). Was three identical page-local <style> blocks — the root
   index.html, project-dash/index.html, and trailer/issues/index.html each
   pasted this verbatim — now one copy, since every page that carries a
   .md-report element already loads this stylesheet. */
.md-report h1 { font-size: 1.125rem; font-weight: 700; color: #E0DDCF; margin: 0.5rem 0 0.75rem; }
.md-report h2 { font-size: 1rem;    font-weight: 700; color: #FFAB40; margin: 1rem 0 0.5rem; }
.md-report h3 { font-size: 0.9rem;  font-weight: 600; color: #E0DDCF; margin: 0.75rem 0 0.4rem; }
.md-report p, .md-report li { line-height: 1.55; margin: 0.25rem 0; }
.md-report ul, .md-report ol { padding-left: 1.25rem; margin: 0.25rem 0 0.5rem; }
.md-report ul { list-style: disc outside; }
.md-report ol { list-style: decimal outside; }
.md-report strong { color: #E0DDCF; font-weight: 600; }
.md-report em { font-style: italic; }
.md-report table { width: 100%; border-collapse: collapse; margin: 0.5rem 0; font-size: 0.8125rem; }
.md-report th, .md-report td { border: 1px solid #474448; padding: 4px 8px; text-align: left; }
.md-report th { background: rgba(255,255,255,0.05); font-weight: 600; }
.md-report code { background: rgba(0,0,0,0.3); padding: 1px 4px; border-radius: 3px; font-size: 0.8rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.md-report pre { background: rgba(0,0,0,0.3); padding: 0.5rem; border-radius: 6px; overflow-x: auto; font-size: 0.8rem; }
.md-report blockquote { border-left: 3px solid #474448; padding-left: 0.75rem; color: #9ca3af; margin: 0.5rem 0; }
.md-report hr { border-color: #474448; margin: 0.75rem 0; }
