/* ==========================================================================
   TOOL 5: LESSON PLAN TEMPLATE STYLES (Navy #12304A / Teal #0F766E / Gold #D4A72C)
   ========================================================================== */

.lessonplan-view {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 90px);
}

.lessonplan-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--space-8);
  padding: var(--space-8);
  flex-grow: 1;
}

.lessonplan-editor-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.lessonplan-doc-card {
  background: #FFFFFF;
  color: #0F172A;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
}

/* Printable Document Styling */
.doc-header-strip {
  border-bottom: 3px solid #12304A;
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.doc-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #12304A;
  line-height: 1.2;
}

.doc-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  margin-top: 12px;
  font-size: 0.85rem;
  color: #475569;
}

.doc-section-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0F766E;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 20px;
  margin-bottom: 8px;
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 4px;
}

.doc-list {
  padding-left: 20px;
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.6;
}

.doc-agenda-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 0.85rem;
}

.doc-agenda-table th {
  background: #F1F5F9;
  color: #1E293B;
  padding: 8px 10px;
  text-align: left;
  font-weight: 700;
  border: 1px solid #CBD5E1;
}

.doc-agenda-table td {
  padding: 8px 10px;
  border: 1px solid #E2E8F0;
  color: #334155;
}

/* Print Optimization */
@media print {
  body {
    background: #FFFFFF !important;
    color: #000000 !important;
  }

  .floating-dock,
  .tool-view-header,
  .lessonplan-editor-panel,
  .toast-container,
  .modal-container {
    display: none !important;
  }

  .app-container {
    padding: 0 !important;
    max-width: 100% !important;
  }

  .lessonplan-layout {
    display: block !important;
    padding: 0 !important;
  }

  .lessonplan-doc-card {
    position: static !important;
    max-height: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    color: #000000 !important;
  }
}

@media (max-width: 1024px) {
  .lessonplan-layout {
    grid-template-columns: 1fr;
  }
  .lessonplan-doc-card {
    position: static;
    max-height: none;
  }
}
