/* The preview uses a single reading surface, with layout based on its width. */
body.depth-design .lesson-document { overflow: visible; }
body.depth-design .lesson-document::before,
body.depth-design .lesson-document::after { display: none; }
body.depth-design .lesson-document-header {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 16px;
  padding: 24px !important;
  border-radius: 20px 20px 0 0;
}
body.depth-design .lesson-document-header h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.5rem, 3cqi, 2.25rem);
  line-height: 1.25;
  letter-spacing: -.025em;
  text-transform: none;
}
body.depth-design .document-actions {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}
body.depth-design .document-actions .btn { white-space: normal; }
body.depth-design .lesson-meta { background: transparent !important; box-shadow: none !important; }
body.depth-design .lesson-meta span { width: auto; }
body.depth-design .lesson-preview-notice {
  margin: 0;
  padding: 16px 24px;
  font-size: .9rem;
  color: #3f555a;
  border-bottom: 1px solid #dce5df;
}
body.depth-design .lesson-document > .lesson-section,
body.depth-design .two-column-sections > .lesson-section,
body.depth-design .support-grid > .lesson-section {
  height: auto;
  margin: 0 !important;
  padding: 24px !important;
  border: 0 !important;
  border-bottom: 1px solid #dce5df !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.depth-design .lesson-document > .lesson-section:first-of-type { margin-top: 0 !important; }
body.depth-design .two-column-sections,
body.depth-design .support-grid {
  margin: 0 !important;
  gap: 0 !important;
}
body.depth-design .lesson-document .lesson-section h3 { font-size: 1.05rem; }
body.depth-design .objective-grid article { height: auto; padding: 16px !important; box-shadow: none !important; }
body.depth-design .tag-list { background: transparent !important; box-shadow: none !important; }
body.depth-design .time-validation {
  margin: 20px 24px !important;
  color: white !important;
  box-shadow: none !important;
}
body.depth-design .lesson-flow-table { min-width: 0; }
@container lesson-canvas (max-width: 680px) {
  body.depth-design .lesson-document-header,
  body.depth-design .lesson-document > .lesson-section,
  body.depth-design .two-column-sections > .lesson-section,
  body.depth-design .support-grid > .lesson-section { padding: 20px !important; }
  body.depth-design .lesson-document .table-wrap { overflow: visible !important; }
  body.depth-design .lesson-flow-table,
  body.depth-design .lesson-flow-table tbody,
  body.depth-design .lesson-flow-table tr { display: block; width: 100%; }
  body.depth-design .lesson-flow-table thead { display: none; }
  body.depth-design .lesson-flow-table tr {
    margin-bottom: 16px;
    padding: 14px;
    border: 1px solid #dce5df;
    border-radius: 12px;
  }
  body.depth-design .lesson-flow-table td:nth-child(n) {
    display: block;
    width: 100%;
    padding: 8px 0;
    border: 0 !important;
    background: transparent !important;
  }
  body.depth-design .lesson-flow-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
    color: #2f625e;
    font-size: .8rem;
  }
}
