/* src/components/Classes/Class-Lessons/Tabs/Calendar/ReadingComprehensionTermPlanDialog.css */
.q-dialog .reading-comprehension-plan-dialog {
  width: min(1440px, 96vw);
  max-width: 96vw;
  max-height: 94dvh;
  display: flex;
  flex-direction: column;
  border: 1px solid white;
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
  color: #30333c;
}
.reading-comprehension-plan-dialog > .ninja-dialog-header {
  flex-shrink: 0;
}
.rctp-body {
  padding: 24px 28px;
  overflow: auto;
  min-height: 0;
  flex: 1;
  background: #fcfbfd;
}
.rctp-intro {
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 14px;
  max-width: 1000px;
}
.rctp-notice {
  padding: 12px 16px;
  border-radius: 16px;
  background: #edf5f5;
  color: #325e5a;
  font-size: 13px;
  line-height: 1.6;
  margin: 12px 0;
}
.rctp-notice--warning {
  background: #fff4dd;
  color: #7a591f;
}
.rctp-notice--error {
  background: #fff0ee;
  color: #922f2b;
}
.rctp-how {
  border: 1px solid #e6deed;
  background: #fff;
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 13px;
  line-height: 1.65;
}
.rctp-how summary,
.rctp-gaps summary {
  cursor: pointer;
  font-weight: 700;
  color: #795087;
}
.rctp-settings {
  display: grid;
  grid-template-columns: 1fr 2fr 1.5fr 1fr;
  gap: 16px;
  margin: 22px 0 14px;
}
.rctp-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  font-weight: 650;
  min-width: 0;
}
.rctp-field select,
.rctp-note textarea {
  font: inherit;
  font-size: 13px;
  font-weight: 400;
  min-width: 0;
  width: 100%;
  color: #30333c;
  background-color: white;
  border: 1px solid #d7d7e1;
  border-radius: 12px;
  padding: 10px;
  min-height: 42px;
}
.rctp-field select {
  appearance: none;
  padding-right: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%237c6787' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.rctp-field select:focus-visible,
.rctp-text-link:focus-visible,
.rctp-note textarea:focus-visible {
  outline: 3px solid #a58ab2;
  outline-offset: 2px;
}
.rctp-stat {
  display: flex;
  flex-direction: column;
  gap: 9px;
  justify-content: center;
  border: 1px solid #e7e0ec;
  border-radius: 16px;
  padding: 12px 16px;
  background: #fff;
}
.rctp-stat > span,
.rctp-stat small {
  font-size: 11px;
  color: #727080;
}
.rctp-stat strong {
  font-size: 14px;
}
.rctp-toolbar,
.rctp-confirm {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 15px 0;
}
.rctp-coverage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}
.rctp-coverage-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 20px;
  background: #f1edf7;
  border: 1px solid #e4dced;
}
.rctp-coverage-card strong {
  color: #735184;
  font-size: 15px;
}
.rctp-coverage-card span {
  font-size: 12px;
  color: #6e6477;
}
.rctp-week {
  border: 1px solid #e5e1ea;
  border-radius: 24px;
  padding: 20px;
  background: #f7f5fa;
  margin: 18px 0;
}
.rctp-week-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
}
.rctp-week-heading h3 {
  font-size: 19px;
  margin: 0;
  font-weight: 750;
}
.rctp-week-heading span {
  font-size: 12px;
  color: #777080;
}
.rctp-sessions {
  display: grid;
  grid-template-columns: repeat(var(--rctp-columns), minmax(0, 1fr));
  gap: 12px;
}
.rctp-session {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 15px;
  border: 1px solid #ead7ad;
  border-radius: 18px;
  background: #fffdf7;
  min-width: 0;
}
.rctp-session--ready {
  border-color: #cae1d5;
  background: #f7fcf9;
}
.rctp-session--excluded {
  border-color: #dfe1e7;
  background: #edf0f3;
}
.rctp-session-number {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: .08em;
  font-weight: 750;
  color: #7a7182;
}
.rctp-session > small {
  font-size: 11px;
  color: #79717e;
}
.rctp-included {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #777080;
}
.rctp-included input {
  accent-color: #865891;
}
.rctp-session-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.rctp-status {
  font-size: 11px;
  font-weight: 750;
  color: #8b6825;
}
.rctp-session--ready .rctp-status {
  color: #39725c;
}
.rctp-text-link {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
  color: #74448c;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 650;
}
.rctp-text-link .material-icons {
  font-size: 16px;
  flex: none;
  margin-top: 2px;
}
.rctp-empty-text {
  margin: 0;
  color: #8f7a58;
  font-size: 12px;
  line-height: 1.55;
}
.rctp-focus,
.rctp-note {
  font-size: 11px;
  line-height: 1.6;
  color: #6c6773;
}
.rctp-focus summary,
.rctp-note summary {
  cursor: pointer;
  font-weight: 650;
}
.rctp-focus p {
  margin: 8px 0 0;
}
.rctp-note {
  margin-top: auto;
}
.rctp-note textarea {
  margin-top: 8px;
  resize: vertical;
}
.rctp-gaps {
  border: 1px solid #eadcbc;
  border-radius: 20px;
  padding: 20px;
  background: #fffaf0;
  font-size: 13px;
  line-height: 1.65;
}
.rctp-gaps li {
  margin: 14px 0;
}
.rctp-gaps li p {
  margin: 4px 0;
  color: #7a7166;
}
.rctp-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 14px 24px;
  border-top: 1px solid #e5e0ea;
  background: #fff;
  flex-shrink: 0;
}
.rctp-footer > span {
  margin-right: auto;
  color: #7d7484;
  font-size: 12px;
}
.q-dialog .rctp-reader {
  width: min(1200px, 96vw);
  max-width: 96vw;
  max-height: 94dvh;
  border: 1px solid white;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.rctp-reader .ninja-dialog-header {
  flex-shrink: 0;
}
.rctp-reader-surface {
  width: 100%;
  aspect-ratio: 16/9;
  min-height: 300px;
  overflow: hidden;
  position: relative;
  background: white;
}
.rctp-reader-surface > * {
  width: 100%;
  height: 100%;
}
.automation-dialog-card .reading-comprehension-term-plan-open {
  border-radius: 999px !important;
  align-self: flex-start;
  font-size: 12px;
  white-space: nowrap;
  padding: 2px 12px;
  margin-top: 5px;
  min-height: 28px;
  color: var(--primary-color,#8f5d95);
  background: #ffffffcc;
}
@media (max-width: 1100px) {
  .rctp-sessions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .rctp-settings {
    grid-template-columns: 1fr 1.5fr;
  }
}
@media (max-width: 700px) {
  .rctp-body {
    padding: 16px;
  }
  .rctp-sessions,
  .rctp-coverage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rctp-settings {
    grid-template-columns: 1fr;
  }
  .rctp-week {
    padding: 14px;
  }
  .rctp-footer {
    flex-wrap: wrap;
    padding: 12px;
  }
  .rctp-footer > span {
    width: 100%;
  }
}
@media (max-width: 450px) {
  .rctp-sessions,
  .rctp-coverage {
    grid-template-columns: 1fr;
  }
}

.automation-dialog-card .writing-term-plan-open,.automation-dialog-card .hass-term-plan-open,.automation-dialog-card .science-term-plan-open,.automation-dialog-card .health-term-plan-open,.automation-dialog-card .media-arts-term-plan-open,.automation-dialog-card .visual-arts-term-plan-open,.automation-dialog-card .design-technologies-term-plan-open,.automation-dialog-card .digital-technologies-term-plan-open,.automation-dialog-card .music-term-plan-open,.automation-dialog-card .drama-term-plan-open,.automation-dialog-card .dance-term-plan-open,.automation-dialog-card .physical-education-term-plan-open{border-radius:999px!important;align-self:flex-start;font-size:12px;white-space:nowrap;padding:2px 12px;margin-top:5px;min-height:28px;color:var(--primary-color,#8f5d95);background:#ffffffcc}