/*
 * This is a manifest file that'll be compiled into application.css.
 */

/* Markdown rendered content (AI-generated exercises) */
.markdown-content {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #1f2937;
}
.markdown-content h1, .markdown-content h2, .markdown-content h3 {
  font-weight: 700;
  margin-top: 1.25em;
  margin-bottom: 0.5em;
  color: #111827;
}
.markdown-content h1 { font-size: 1.25rem; }
.markdown-content h2 { font-size: 1.1rem; }
.markdown-content h3 { font-size: 1rem; }
.markdown-content p { margin-bottom: 0.75em; }
.markdown-content ul, .markdown-content ol {
  margin: 0.5em 0 0.75em 1.5em;
}
.markdown-content ul { list-style-type: disc; }
.markdown-content ol { list-style-type: decimal; }
.markdown-content li { margin-bottom: 0.25em; }
.markdown-content strong { font-weight: 700; }
.markdown-content em { font-style: italic; }
.markdown-content code {
  background: #f3f4f6;
  padding: 0.1em 0.3em;
  border-radius: 3px;
  font-size: 0.8em;
  font-family: ui-monospace, monospace;
}
.markdown-content pre {
  background: #f3f4f6;
  padding: 0.75em 1em;
  border-radius: 6px;
  overflow-x: auto;
  margin-bottom: 0.75em;
}
.markdown-content blockquote {
  border-left: 3px solid #d1d5db;
  padding-left: 1em;
  color: #6b7280;
  margin: 0.75em 0;
}
.markdown-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0.75em;
  font-size: 0.85em;
}
.markdown-content th, .markdown-content td {
  border: 1px solid #e5e7eb;
  padding: 0.4em 0.75em;
  text-align: left;
}
.markdown-content th { background: #f9fafb; font-weight: 600; }
.markdown-content hr { border: none; border-top: 1px solid #e5e7eb; margin: 1em 0; }

@media print {
  nav, .sm\:hidden, [data-controller="mobile-menu"],
  form button[type="submit"], .print\:hidden { display: none !important; }

  body { background: white !important; font-size: 11pt; }
  main { max-width: 100% !important; padding: 0 !important; }

  .grid { display: grid !important; }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, 1fr) !important; }

  .bg-white { background: white !important; }
  .shadow-sm, .shadow-lg { box-shadow: none !important; }
  .border { border: 1px solid #e5e7eb !important; }
  .rounded-xl { border-radius: 4px !important; }

  a { color: inherit !important; text-decoration: none !important; }

  /* Force page break after header */
  h1 { page-break-after: avoid; }

  /* Keep daily plan cards together */
  .flex-col { page-break-inside: avoid; }
}
