/* src/components/Classes/Class-Lessons/Tabs/Calendar/HassCurriculumPlanDialog.css */
.q-dialog .hass-plan-dialog {
  width: min(1280px, 96vw);
  max-width: 96vw;
  max-height: 94vh;
  border: 1px solid white;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  position: relative;
}
.hass-plan-dialog > .ninja-dialog-header {
  flex-shrink: 0;
}
.hass-plan-body {
  overflow-y: auto;
  min-height: 0;
  padding: 26px 30px 30px;
  background:
    linear-gradient(
      150deg,
      #fffdf9,
      #fff 65%);
}
.hass-plan-intro {
  font-size: 17px;
  line-height: 1.7;
  color: #41444f;
  margin: 0 0 8px;
}
.hass-plan-scope {
  font-size: 13px;
  color: #78736c;
  line-height: 1.7;
  margin: 0 0 18px;
}
.hass-plan-how {
  border: 1px solid #e5ddeb;
  border-radius: 18px;
  padding: 14px 18px;
  background: #fbf8fd;
  font-size: 13px;
  line-height: 1.7;
  color: #655a70;
}
.hass-plan-how summary,
.hass-plan-inquiry summary {
  cursor: pointer;
  font-weight: 700;
}
.hass-plan-how p {
  margin: 10px 0 0;
}
.hass-plan-controls {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0;
}
.hass-plan-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: #5f5564;
  min-width: 220px;
  margin-right: auto;
}
.hass-plan-dialog select {
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='m2 2 5 5 5-5' stroke='%23815b8e' fill='none' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center;
  border: 1px solid #dcd5df;
  border-radius: 14px;
  padding: 10px 42px 10px 14px;
  color: #49434e;
  max-width: 100%;
  font: inherit;
  cursor: pointer;
}
.hass-plan-dialog select:focus-visible {
  outline: 2px solid var(--q-primary,#8f5d95);
  outline-offset: 3px;
}
.hass-plan-dialog select:disabled {
  opacity: .65;
  cursor: wait;
}
.hass-plan-overview {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  margin: 0 0 22px;
  border-radius: 20px;
  border: 1px solid #f0dfce;
  background: #fff5e9;
  color: #774e2d;
}
.hass-plan-overview > .material-icons {
  font-size: 28px;
  background: #f8e4cf;
  padding: 12px;
  border-radius: 17px;
  color: #b56a30;
}
.hass-plan-overview strong {
  font-size: 17px;
}
.hass-plan-overview p {
  font-size: 12px;
  margin: 5px 0 0;
  color: #94795e;
}
.hass-plan-periods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.hass-plan-period {
  border: 1px solid #e8e0d6;
  border-radius: 24px;
  overflow: hidden;
  background: #faf8f5;
  min-width: 0;
}
.hass-plan-period__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px 10px;
}
.hass-plan-period__number {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #9c602e;
  background: #f6e7d6;
  font-weight: 800;
}
.hass-plan-period__header h2 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  color: #4f453b;
}
.hass-plan-period__header p {
  font-size: 11px;
  margin: 3px 0 0;
  color: #8b8176;
}
.hass-plan-weeks {
  margin-left: auto;
  border: 1px solid #e6d8c7;
  background: #fff;
  border-radius: 99px;
  padding: 5px 9px;
  font-size: 10px;
  white-space: nowrap;
  color: #8a7259;
}
.hass-plan-period__scope {
  font-size: 11px;
  margin: 0 20px 15px;
  color: #8b8176;
}
.hass-plan-topic {
  margin: 0 12px 12px;
  padding: 14px 16px;
  border: 1px solid #e7e1d9;
  border-radius: 18px;
  background: #fff;
}
.hass-plan-topic__toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 10px;
}
.hass-plan-area {
  font-size: 10px;
  font-weight: 700;
  color: #98673c;
  letter-spacing: .02em;
  line-height: 1.5;
}
.hass-plan-topic select {
  font-size: 10px;
  padding: 5px 32px 5px 10px;
  background-position: right 11px center;
  max-width: 50%;
  border-radius: 99px;
}
.hass-plan-topic summary {
  cursor: pointer;
  color: #4d4540;
  font-size: 14px;
  line-height: 1.6;
  padding-right: 3px;
}
.hass-plan-topic summary strong {
  font-weight: 650;
}
.hass-plan-topic summary small {
  display: block;
  font-size: 10px;
  color: #958b82;
  margin: 6px 0 0 14px;
}
.hass-plan-topic ol,
.hass-plan-inquiry ul {
  padding-left: 20px;
  font-size: 12px;
  line-height: 1.8;
  color: #6c635c;
  margin: 12px 0 0;
}
.hass-plan-topic li,
.hass-plan-inquiry li {
  margin-bottom: 7px;
}
.hass-plan-empty {
  font-size: 12px;
  line-height: 1.7;
  color: #8b8176;
  padding: 10px 20px 20px;
  margin: 0;
}
.hass-plan-inquiry {
  border-radius: 20px;
  border: 1px solid #dce6de;
  padding: 18px 22px;
  margin-top: 22px;
  background: #f7fbf7;
  color: #556d5d;
  font-size: 13px;
  line-height: 1.7;
}
.hass-plan-inquiry h3 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  margin: 16px 0 8px;
}
.hass-plan-footnote {
  font-size: 11px;
  line-height: 1.7;
  color: #8c827b;
  margin: 18px 4px 0;
}
.hass-plan-notice {
  font-size: 13px;
  line-height: 1.7;
  padding: 14px 18px;
  border-radius: 16px;
  background: #f2eef7;
  color: #6e557a;
  margin: 16px 0;
}
.hass-plan-notice--warning {
  background: #fff4e2;
  color: #8c6934;
}
.hass-plan-notice--error {
  background: #fff0f0;
  color: #a23e43;
}
.hass-plan-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-shrink: 0;
  padding: 16px 24px;
  border-top: 1px solid #e9e2ed;
  background: #fff;
}
.hass-plan-footer > [role] {
  margin-right: auto;
  max-width: 44%;
  font-size: 12px;
  color: #817388;
  line-height: 1.6;
}
.hass-plan-footer > [role=alert] {
  color: #a23e43;
}
.hass-plan-confirm {
  position: absolute;
  z-index: 3;
  inset: auto 20px 20px;
  border: 1px solid #d6c4df;
  border-radius: 22px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 5px 55px #34223e33;
}
.hass-plan-confirm p {
  font-size: 15px;
  line-height: 1.6;
  color: #5e4d68;
  margin: 0 0 16px;
}
.hass-plan-confirm > div {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.automation-dialog-card .hass-term-plan-open {
  font-size: 12px;
  align-self: flex-start;
  white-space: nowrap;
}
@media (max-width: 800px) {
  .hass-plan-periods {
    grid-template-columns: 1fr;
  }
  .hass-plan-body {
    padding: 20px 16px;
  }
  .hass-plan-footer {
    flex-wrap: wrap;
    padding: 12px 16px;
  }
  .hass-plan-footer > [role] {
    max-width: none;
    flex-basis: 100%;
  }
  .hass-plan-controls > .q-btn {
    font-size: 12px;
  }
  .hass-plan-intro {
    font-size: 15px;
  }
}

/* src/components/Classes/Class-Lessons/Tabs/Calendar/TermPlanPresentation.css */
:is(.writing-plan-dialog, .reading-comprehension-plan-dialog, .hass-plan-dialog) > header.ninja-dialog-header {
  min-height: 98px;
  padding: 16px 22px;
  align-items: center;
  gap: 14px;
}
:is(.writing-plan-dialog, .reading-comprehension-plan-dialog, .hass-plan-dialog) > header.ninja-dialog-header .ninja-dialog-header__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}
:is(.writing-plan-dialog, .reading-comprehension-plan-dialog, .hass-plan-dialog) > header.ninja-dialog-header .ninja-dialog-header__copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 14px;
}
:is(.writing-plan-dialog, .reading-comprehension-plan-dialog, .hass-plan-dialog) > header.ninja-dialog-header .ninja-dialog-header__eyebrow {
  flex: 0 0 100%;
  margin: 0;
  font-size: 10px;
}
:is(.writing-plan-dialog, .reading-comprehension-plan-dialog, .hass-plan-dialog) > header.ninja-dialog-header .ninja-dialog-header__title {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.25;
}
:is(.writing-plan-dialog, .reading-comprehension-plan-dialog, .hass-plan-dialog) > header.ninja-dialog-header .ninja-dialog-header__title-row {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  gap: 10px;
}
:is(.writing-plan-dialog, .reading-comprehension-plan-dialog, .hass-plan-dialog) > header.ninja-dialog-header .ninja-dialog-header__meta {
  flex: 0 0 auto;
  margin: 0;
}
:is(.writing-plan-dialog, .reading-comprehension-plan-dialog, .hass-plan-dialog) > header.ninja-dialog-header .ninja-dialog-header__meta > span {
  padding: 4px 10px;
  font-size: 12px;
}
:is(.writing-plan-dialog, .reading-comprehension-plan-dialog, .hass-plan-dialog) > header.ninja-dialog-header .ninja-dialog-header__close {
  align-self: center;
  margin: 0;
}
:is(.writing-plan-footer, .rctp-footer, .hass-plan-footer) > .q-btn:last-child {
  color: var(--primary-color, #8f5d95) !important;
  background: transparent !important;
  box-shadow: none !important;
}
:is(.writing-plan-footer, .rctp-footer, .hass-plan-footer) > .q-btn:last-child::before {
  box-shadow: none !important;
}
@media (max-width: 600px) {
  :is(.writing-plan-dialog, .reading-comprehension-plan-dialog, .hass-plan-dialog) > header.ninja-dialog-header {
    padding: 12px 14px;
    gap: 10px;
  }
  :is(.writing-plan-dialog, .reading-comprehension-plan-dialog, .hass-plan-dialog) > header.ninja-dialog-header .ninja-dialog-header__icon {
    width: 36px;
    height: 36px;
  }
}

/* src/components/Classes/Class-Lessons/Tabs/Calendar/ScienceCurriculumPlanDialog.css */
.science-plan-dialog .hass-plan-overview {
  border-color: #d5e6d8;
  background: #f0f8f1;
  color: #3e6548;
}
.science-plan-dialog .hass-plan-overview > .material-icons {
  background: #dfeddf;
  color: #4f845b;
}
.science-plan-dialog .hass-plan-overview p {
  color: #6e8974;
}
.science-plan-dialog .hass-plan-period {
  background: #f7faf7;
  border-color: #dfe8df;
}
.science-plan-dialog .hass-plan-period__number {
  background: #e2eee3;
  color: #50775a;
}
.science-plan-dialog .hass-plan-area {
  color: #567d60;
}
.science-plan-dialog .hass-plan-weeks {
  border-color: #d7e4d9;
  color: #5c7d62;
}
.science-plan-dialog .hass-plan-topic {
  border-color: #dfe6df;
}
.science-plan-dialog .hass-plan-periods {
  grid-template-columns: 1fr;
}
.science-plan-schedule {
  margin: 0 12px 16px;
  border: 1px solid #d4e1d7;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}
.science-plan-schedule > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px;
  color: #42624b;
  font-weight: 700;
  cursor: pointer;
  list-style: revert;
}
.science-plan-schedule > summary strong {
  font-size: 12px;
  border-radius: 30px;
  background: #edf5ee;
  padding: 5px 10px;
}
.science-plan-schedule__notice {
  margin: 0 16px 14px;
  padding: 12px;
  border-radius: 12px;
  background: #fff6e4;
  color: #805d29;
  font-size: 12px;
  line-height: 1.7;
}
.science-plan-week {
  padding: 16px;
  border-top: 1px solid #e0e9e2;
}
.science-plan-week > header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: #4b6653;
  margin-bottom: 12px;
}
.science-plan-week h3 {
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  font-weight: 700;
}
.science-plan-week > header > span {
  font-size: 12px;
}
.science-plan-week > header > strong {
  margin-left: auto;
  font-size: 11px;
}
.science-plan-week__empty {
  font-size: 12px;
  color: #7b847c;
  margin: 0;
}
.science-plan-session-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.science-plan-session {
  padding: 16px;
  border: 1px solid #e0e7e1;
  border-radius: 16px;
  background: #fbfdfb;
  min-width: 0;
}
.science-plan-session__header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  color: #476b50;
}
.science-plan-session__header > strong {
  font-size: 13px;
}
.science-plan-session__header > span {
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 20px;
  background: #e9f2eb;
}
.science-plan-session__time {
  font-size: 11px;
  color: #6d7a70;
  margin: 8px 0 12px;
}
.science-plan-session h4 {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
  margin: 10px 0 6px;
  color: #374e3d;
}
.science-plan-session ul {
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
  padding-left: 18px;
  color: #59655c;
}
.science-plan-session li + li {
  margin-top: 7px;
}
.science-plan-session__inquiry {
  font-size: 11px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #dfe8e1;
  color: #56705e;
}
.science-plan-session__inquiry summary {
  cursor: pointer;
  font-weight: 650;
}
.science-plan-session__inquiry ul {
  margin-top: 10px;
}
.science-plan-info-dialog {
  width: 850px !important;
  max-width: 94vw !important;
  max-height: 92vh !important;
  border: 1px solid white;
  border-radius: 30px !important;
  overflow: hidden !important;
  display: flex;
  flex-direction: column;
}
.science-plan-info-dialog > .ninja-dialog-header {
  flex-shrink: 0;
}
.science-plan-info-body {
  padding: 24px 30px;
  overflow: auto;
  color: #536258;
  font-size: 14px;
  line-height: 1.75;
}
.science-plan-info-body h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: #3d5945;
  margin: 0 0 8px;
}
.science-plan-info-body p {
  margin: 0;
}
.science-plan-info-body > section + section,
.science-plan-info-body > div + section {
  margin-top: 24px;
}
.science-plan-info-intro,
.science-plan-info-example {
  padding: 20px;
  border-radius: 20px;
  background: #edf6ef;
  border: 1px solid #d6e6da;
}
.science-plan-info-inputs {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}
.science-plan-info-inputs > section {
  display: flex;
  gap: 15px;
  padding: 18px;
  border: 1px solid #e2e7e3;
  border-radius: 18px;
}
.science-plan-info-inputs > section > span {
  font-weight: 800;
  font-size: 21px;
  color: #6e9579;
}
.science-plan-info-example > strong {
  display: block;
  color: #466d50;
  font-size: 17px;
  margin-bottom: 8px;
}
@media (max-width: 700px) {
  .science-plan-session-grid {
    grid-template-columns: 1fr;
  }
  .science-plan-info-body {
    padding: 20px 16px;
  }
  .science-plan-schedule > summary {
    font-size: 13px;
  }
  .science-plan-week {
    padding: 12px;
  }
}
.science-plan-session:only-child {
  grid-column: 1/-1;
}
