dialog.learning-notice {
  width: min(660px, calc(100% - 2rem));
  max-height: min(90dvh, 58rem);
  padding: clamp(1.5rem, 5vw, 3rem);
  border-top: 5px solid #416346;
}

.learning-notice h2 {
  margin: 0 0 1.15rem;
  padding: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.learning-notice p {
  color: #48594a;
  font-size: 1rem;
  line-height: 1.6;
}

.learning-notice-details {
  margin: 1.3rem 0;
  padding: .8rem 0;
  border-block: 1px solid #cfdbca;
}

.learning-notice-details summary {
  cursor: pointer;
  font-size: .95rem;
  font-weight: 600;
}

.learning-notice-details p {
  font-size: .9rem;
}

.learning-notice-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem 1rem;
}

.learning-notice-status:empty { display: none; }
