/* [project]/src/app/components/InputArea.module.css [app-client] (css) */
.InputArea-module__A47SLq__inputContainer {
  background: #0a0a0a;
  border-top: 1px solid #333;
  padding: 1rem;
}

.InputArea-module__A47SLq__inputWrapper {
  align-items: flex-end;
  gap: .5rem;
  max-width: 100%;
  display: flex;
}

.InputArea-module__A47SLq__messageInput {
  resize: none;
  color: #ededed;
  background: #0a0a0a;
  border: 1px solid #444;
  border-radius: 1.25rem;
  outline: none;
  flex: 1;
  min-height: 2.5rem;
  max-height: 6rem;
  padding: .75rem;
  font-family: inherit;
  font-size: .9rem;
  line-height: 1.4;
  transition: border-color .2s;
}

.InputArea-module__A47SLq__messageInput:focus {
  border-color: #007bff;
}

.InputArea-module__A47SLq__messageInput:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.InputArea-module__A47SLq__sendButton {
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  background: #007bff;
  border: none;
  border-radius: 1.25rem;
  padding: .75rem 1.5rem;
  font-weight: 500;
  transition: background-color .2s;
}

.InputArea-module__A47SLq__sendButton:hover:not(:disabled) {
  background: #0056b3;
}

.InputArea-module__A47SLq__sendButton:disabled {
  cursor: not-allowed;
  background: #ccc;
}

@media (max-width: 768px) {
  .InputArea-module__A47SLq__inputWrapper {
    flex-direction: column;
    gap: .75rem;
  }

  .InputArea-module__A47SLq__sendButton {
    align-self: flex-end;
    padding: .75rem 2rem;
  }
}

/* [project]/src/app/components/Markdown.module.css [app-client] (css) */
.Markdown-module__4LNCIq__markdownWithForms {
  width: 100%;
}

.Markdown-module__4LNCIq__orderedList, .Markdown-module__4LNCIq__unorderedList {
  color: #d1d5db;
  margin: 0 0 12px;
  padding-left: 24px;
}

.Markdown-module__4LNCIq__orderedList {
  list-style-type: decimal;
}

.Markdown-module__4LNCIq__unorderedList {
  list-style-type: disc;
}

.Markdown-module__4LNCIq__listItem {
  margin-bottom: 8px;
  line-height: 1.6;
}

.Markdown-module__4LNCIq__orderedList .Markdown-module__4LNCIq__unorderedList, .Markdown-module__4LNCIq__unorderedList .Markdown-module__4LNCIq__unorderedList {
  margin-top: 8px;
  margin-bottom: 8px;
  padding-left: 24px;
}

.Markdown-module__4LNCIq__heading {
  color: #f9fafb;
  margin: 12px 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
}

.Markdown-module__4LNCIq__subheading {
  color: #e5e7eb;
  margin: 10px 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
}

.Markdown-module__4LNCIq__worksheetContent {
  background-color: #374151;
  border: 1px solid #4b5563;
  border-radius: 8px;
  margin-bottom: 16px;
  padding: 16px;
}

.Markdown-module__4LNCIq__paragraph {
  color: #d1d5db;
  margin: 0 0 12px;
  line-height: 1.6;
}

.Markdown-module__4LNCIq__strong {
  color: #f9fafb;
  font-weight: 600;
}

.Markdown-module__4LNCIq__formElement {
  margin-bottom: 16px;
}

.Markdown-module__4LNCIq__formLabel {
  color: #d1d5db;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  display: block;
}

.Markdown-module__4LNCIq__formLabelRequired {
  color: #dc2626;
  margin-left: 4px;
}

.Markdown-module__4LNCIq__formInput {
  color: #f9fafb;
  background-color: #374151;
  border: 1px solid #4b5563;
  border-radius: 6px;
  width: 100%;
  padding: 8px 12px;
  font-size: 14px;
  transition: border-color .2s, box-shadow .2s;
}

.Markdown-module__4LNCIq__formInput:focus {
  border-color: #3b82f6;
  outline: none;
  box-shadow: 0 0 0 3px #3b82f61a;
}

.Markdown-module__4LNCIq__formTextarea {
  color: #f9fafb;
  resize: vertical;
  background-color: #374151;
  border: 1px solid #4b5563;
  border-radius: 6px;
  width: 100%;
  min-height: 80px;
  padding: 8px 12px;
  font-size: 14px;
  transition: border-color .2s, box-shadow .2s;
}

.Markdown-module__4LNCIq__formTextarea:focus {
  border-color: #3b82f6;
  outline: none;
  box-shadow: 0 0 0 3px #3b82f61a;
}

.Markdown-module__4LNCIq__formSelect {
  color: #f9fafb;
  background-color: #374151;
  border: 1px solid #4b5563;
  border-radius: 6px;
  width: 100%;
  padding: 8px 12px;
  font-size: 14px;
  transition: border-color .2s, box-shadow .2s;
}

.Markdown-module__4LNCIq__formSelect:focus {
  border-color: #3b82f6;
  outline: none;
  box-shadow: 0 0 0 3px #3b82f61a;
}

.Markdown-module__4LNCIq__formRadioGroup {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.Markdown-module__4LNCIq__formRadioItem {
  align-items: center;
  gap: 8px;
  display: flex;
}

.Markdown-module__4LNCIq__formCheckboxGroup {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.Markdown-module__4LNCIq__formCheckboxItem {
  align-items: center;
  gap: 8px;
  display: flex;
}

.Markdown-module__4LNCIq__formError {
  color: #dc2626;
  margin-top: 4px;
  font-size: 12px;
}

.Markdown-module__4LNCIq__formDataContainer {
  background-color: #374151;
  border: 1px solid #4b5563;
  border-radius: 8px;
  margin-top: 24px;
  padding: 16px;
}

.Markdown-module__4LNCIq__formDataHeader {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  display: flex;
}

.Markdown-module__4LNCIq__formDataTitle {
  color: #f9fafb;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.Markdown-module__4LNCIq__formButtonGroup {
  gap: 8px;
  display: flex;
}

.Markdown-module__4LNCIq__formButton {
  cursor: pointer;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  transition: background-color .2s;
}

.Markdown-module__4LNCIq__formButtonSubmit {
  color: #fff;
  background-color: #3b82f6;
}

.Markdown-module__4LNCIq__formButtonSubmit:hover {
  background-color: #2563eb;
}

.Markdown-module__4LNCIq__formButtonReset {
  color: #fff;
  background-color: #6b7280;
}

.Markdown-module__4LNCIq__formButtonReset:hover {
  background-color: #4b5563;
}

.Markdown-module__4LNCIq__formDataList {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.Markdown-module__4LNCIq__formDataItem {
  font-size: 14px;
}

.Markdown-module__4LNCIq__formDataKey {
  color: #d1d5db;
  font-weight: 500;
}

.Markdown-module__4LNCIq__formDataValue {
  color: #9ca3af;
}

/* [project]/src/app/components/worksheets/WorkSheetPopup.module.css [app-client] (css) */
.WorkSheetPopup-module__w8J0LG__overlay {
  z-index: 1000;
  background-color: #00000080;
  justify-content: center;
  align-items: center;
  padding: 20px;
  display: flex;
  position: fixed;
  inset: 0;
}

.WorkSheetPopup-module__w8J0LG__popup {
  color: #f9fafb;
  background: #1f2937;
  border-radius: 12px;
  flex-direction: column;
  width: 100%;
  max-width: 500px;
  min-height: 0;
  max-height: 80vh;
  display: flex;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px #0000001a, 0 10px 10px -5px #0000000a;
}

.WorkSheetPopup-module__w8J0LG__header {
  border-bottom: 1px solid #374151;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 16px;
  display: flex;
}

.WorkSheetPopup-module__w8J0LG__title {
  color: #f9fafb;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.WorkSheetPopup-module__w8J0LG__progressInfo {
  color: #9ca3af;
  font-size: 14px;
  font-weight: 500;
}

.WorkSheetPopup-module__w8J0LG__timer {
  background-color: #374151;
  border: 1px solid #4b5563;
  border-radius: 6px;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  display: flex;
}

.WorkSheetPopup-module__w8J0LG__timerLabel {
  color: #9ca3af;
  font-size: 14px;
  font-weight: 500;
}

.WorkSheetPopup-module__w8J0LG__timerValue {
  color: #10b981;
  font-family: Monaco, Menlo, Ubuntu Mono, monospace;
  font-size: 16px;
  font-weight: 600;
}

.WorkSheetPopup-module__w8J0LG__timerWarning {
  color: #ef4444;
  animation: 1s infinite WorkSheetPopup-module__w8J0LG__pulse;
}

.WorkSheetPopup-module__w8J0LG__timerComplete {
  color: #10b981;
  font-weight: 700;
}

@keyframes WorkSheetPopup-module__w8J0LG__pulse {
  0%, 100% {
    transform: translate(-50%, -50%)scale(1);
  }

  50% {
    transform: translate(-50%, -50%)scale(1.1);
  }
}

.WorkSheetPopup-module__w8J0LG__closeButton {
  color: #9ca3af;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 4px;
  padding: 4px;
  font-size: 24px;
  line-height: 1;
  transition: all .2s;
}

.WorkSheetPopup-module__w8J0LG__closeButton:hover {
  color: #f9fafb;
  background-color: #374151;
}

.WorkSheetPopup-module__w8J0LG__form {
  flex-direction: column;
  flex: 1;
  min-height: 0;
  display: flex;
}

.WorkSheetPopup-module__w8J0LG__worksheetContent {
  background-color: #374151;
  border: 1px solid #4b5563;
  border-radius: 8px;
  margin-bottom: 16px;
  padding: 16px;
}

.WorkSheetPopup-module__w8J0LG__heading {
  color: #f9fafb;
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 600;
}

.WorkSheetPopup-module__w8J0LG__paragraph {
  color: #d1d5db;
  margin: 0 0 12px;
  line-height: 1.6;
}

.WorkSheetPopup-module__w8J0LG__strong {
  color: #f9fafb;
  font-weight: 600;
}

.WorkSheetPopup-module__w8J0LG__blockquote {
  color: #9ca3af;
  background-color: #1f2937;
  border-left: 4px solid #3b82f6;
  border-radius: 4px;
  margin: 16px 0;
  padding: 12px 16px;
  font-style: italic;
}

.WorkSheetPopup-module__w8J0LG__inputContainer {
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 20px 24px;
  display: flex;
  overflow-y: auto;
}

.WorkSheetPopup-module__w8J0LG__surveyContainer {
  flex-direction: column;
  gap: 16px;
  display: flex;
}

.WorkSheetPopup-module__w8J0LG__questionItem {
  background-color: #111827;
  border: 1px solid #1f2937;
  border-radius: 10px;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  transition: border-color .2s, box-shadow .2s;
  display: flex;
}

.WorkSheetPopup-module__w8J0LG__questionItem:hover {
  border-color: #2563eb;
  box-shadow: 0 8px 18px #2563eb1a;
}

.WorkSheetPopup-module__w8J0LG__questionHeader {
  align-items: flex-start;
  gap: 12px;
  display: flex;
}

.WorkSheetPopup-module__w8J0LG__questionNumber {
  color: #93c5fd;
  font-size: 15px;
  font-weight: 700;
}

.WorkSheetPopup-module__w8J0LG__questionText {
  color: #e5e7eb;
  flex: 1;
  font-size: 15px;
  line-height: 1.6;
}

.WorkSheetPopup-module__w8J0LG__optionGroup {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.WorkSheetPopup-module__w8J0LG__optionLabel {
  cursor: pointer;
  background-color: #1f2937;
  border: 1px solid #374151;
  border-radius: 8px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  transition: all .2s;
  display: flex;
}

.WorkSheetPopup-module__w8J0LG__optionLabel:hover {
  background-color: #24304a;
  border-color: #2563eb;
}

.WorkSheetPopup-module__w8J0LG__optionLabelSelected {
  background: linear-gradient(135deg, #3b82f640, #2563eb26);
  border-color: #3b82f6;
  box-shadow: 0 8px 16px #3b82f633;
}

.WorkSheetPopup-module__w8J0LG__optionInput {
  display: none;
}

.WorkSheetPopup-module__w8J0LG__optionLetter {
  color: #3b82f6;
  background-color: #111827;
  border: 2px solid #3b82f6;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
}

.WorkSheetPopup-module__w8J0LG__optionLabelSelected .WorkSheetPopup-module__w8J0LG__optionLetter {
  color: #fff;
  background-color: #3b82f6;
}

.WorkSheetPopup-module__w8J0LG__optionText {
  color: #f9fafb;
  font-size: 14px;
  line-height: 1.5;
}

.WorkSheetPopup-module__w8J0LG__summaryBox {
  background-color: #111827;
  border: 1px solid #1f2937;
  border-radius: 10px;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  padding: 16px;
  display: flex;
}

.WorkSheetPopup-module__w8J0LG__summaryHeader {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.WorkSheetPopup-module__w8J0LG__summaryTitle {
  color: #f9fafb;
  font-size: 15px;
  font-weight: 600;
}

.WorkSheetPopup-module__w8J0LG__summaryCount {
  color: #60a5fa;
  font-size: 14px;
  font-weight: 600;
}

.WorkSheetPopup-module__w8J0LG__summaryNotice {
  color: #9ca3af;
  margin: 0;
  font-size: 13px;
}

.WorkSheetPopup-module__w8J0LG__summaryFooter {
  background-color: #1f2937;
  border-top: 1px solid #374151;
  flex-shrink: 0;
  align-items: center;
  gap: 16px;
  padding: 16px 24px 24px;
  display: flex;
}

.WorkSheetPopup-module__w8J0LG__summaryFooter .WorkSheetPopup-module__w8J0LG__summaryBox {
  flex: 1;
  margin: 0;
}

.WorkSheetPopup-module__w8J0LG__summaryFooter .WorkSheetPopup-module__w8J0LG__submitButton {
  margin-left: auto;
}

.WorkSheetPopup-module__w8J0LG__scoreSummary {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.WorkSheetPopup-module__w8J0LG__scoreSummaryTitle {
  color: #93c5fd;
  font-size: 14px;
  font-weight: 600;
}

.WorkSheetPopup-module__w8J0LG__scoreSummaryList {
  color: #d1d5db;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  font-size: 13px;
  list-style: none;
  display: grid;
}

.WorkSheetPopup-module__w8J0LG__scoreSummaryList li {
  text-align: center;
  background-color: #1f2937;
  border: 1px solid #374151;
  border-radius: 6px;
  padding: 6px 10px;
}

.WorkSheetPopup-module__w8J0LG__textarea {
  color: #f9fafb;
  resize: vertical;
  background-color: #374151;
  border: 1px solid #4b5563;
  border-radius: 8px;
  outline: none;
  width: 100%;
  min-height: 120px;
  padding: 12px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  transition: border-color .2s;
}

.WorkSheetPopup-module__w8J0LG__textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px #3b82f61a;
}

.WorkSheetPopup-module__w8J0LG__textarea::placeholder {
  color: #6b7280;
}

.WorkSheetPopup-module__w8J0LG__buttonContainer {
  background-color: #1f2937;
  border-top: 1px solid #374151;
  flex-shrink: 0;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px 24px;
  display: flex;
}

.WorkSheetPopup-module__w8J0LG__cancelButton {
  color: #f9fafb;
  cursor: pointer;
  background-color: #374151;
  border: 1px solid #4b5563;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s;
}

.WorkSheetPopup-module__w8J0LG__cancelButton:hover {
  background-color: #4b5563;
}

.WorkSheetPopup-module__w8J0LG__submitButton {
  color: #fff;
  cursor: pointer;
  background-color: #3b82f6;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s;
}

.WorkSheetPopup-module__w8J0LG__submitButton:hover:not(:disabled) {
  background-color: #2563eb;
}

.WorkSheetPopup-module__w8J0LG__submitButton:disabled {
  color: #9ca3af;
  opacity: .6;
  cursor: not-allowed;
  background-color: #4b5563;
}

.WorkSheetPopup-module__w8J0LG__emotionContainer {
  flex-direction: column;
  gap: 24px;
  display: flex;
}

.WorkSheetPopup-module__w8J0LG__instruction {
  color: #f9fafb;
  text-align: center;
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 600;
}

.WorkSheetPopup-module__w8J0LG__emotionBowlContainer {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  justify-items: center;
  gap: 20px;
  display: grid;
}

.WorkSheetPopup-module__w8J0LG__emotionBowl {
  background-color: #374151;
  border: 1px solid #4b5563;
  border-radius: 12px;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 180px;
  padding: 16px;
  transition: all .2s;
  display: flex;
}

.WorkSheetPopup-module__w8J0LG__emotionBowl:hover {
  background-color: #4b5563;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px #00000026;
}

.WorkSheetPopup-module__w8J0LG__emotionLabel {
  color: #f9fafb;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

.WorkSheetPopup-module__w8J0LG__emotionDays {
  color: #9ca3af;
  margin-left: 4px;
  font-size: 14px;
  font-weight: 500;
}

.WorkSheetPopup-module__w8J0LG__bowl {
  background-color: #1f2937;
  border: 2px solid #4b5563;
  border-radius: 8px;
  flex-direction: column-reverse;
  justify-content: flex-start;
  gap: 4px;
  min-height: 140px;
  padding: 12px;
  display: flex;
}

.WorkSheetPopup-module__w8J0LG__square {
  cursor: pointer;
  border: 2px solid;
  border-radius: 4px;
  width: 24px;
  height: 16px;
  transition: all .2s;
  position: relative;
}

.WorkSheetPopup-module__w8J0LG__square:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 8px #0000004d;
}

.WorkSheetPopup-module__w8J0LG__square.WorkSheetPopup-module__w8J0LG__active {
  box-shadow: 0 0 8px #ffffff4d;
}

.WorkSheetPopup-module__w8J0LG__resetButton {
  color: #f9fafb;
  cursor: pointer;
  background-color: #374151;
  border: 1px solid #4b5563;
  border-radius: 4px;
  margin-top: 4px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 500;
  transition: all .2s;
}

.WorkSheetPopup-module__w8J0LG__resetButton:hover:not(:disabled) {
  background-color: #4b5563;
  border-color: #6b7280;
}

.WorkSheetPopup-module__w8J0LG__resetButton:disabled {
  color: #6b7280;
  cursor: not-allowed;
  opacity: .5;
  background-color: #1f2937;
  border-color: #374151;
}

.WorkSheetPopup-module__w8J0LG__emotionBowl:first-child .WorkSheetPopup-module__w8J0LG__bowl {
  border-color: gold;
}

.WorkSheetPopup-module__w8J0LG__emotionBowl:nth-child(2) .WorkSheetPopup-module__w8J0LG__bowl {
  border-color: #4169e1;
}

.WorkSheetPopup-module__w8J0LG__emotionBowl:nth-child(3) .WorkSheetPopup-module__w8J0LG__bowl {
  border-color: #ff4500;
}

.WorkSheetPopup-module__w8J0LG__emotionBowl:nth-child(4) .WorkSheetPopup-module__w8J0LG__bowl {
  border-color: #9370db;
}

.WorkSheetPopup-module__w8J0LG__emotionBowl:nth-child(5) .WorkSheetPopup-module__w8J0LG__bowl {
  border-color: #32cd32;
}

.WorkSheetPopup-module__w8J0LG__symptomContainer {
  flex-direction: column;
  gap: 20px;
  display: flex;
}

.WorkSheetPopup-module__w8J0LG__symptomList {
  flex-direction: column;
  gap: 12px;
  max-height: 400px;
  padding-right: 8px;
  display: flex;
  overflow-y: auto;
}

.WorkSheetPopup-module__w8J0LG__symptomItem {
  align-items: flex-start;
  display: flex;
}

.WorkSheetPopup-module__w8J0LG__checkboxLabel {
  cursor: pointer;
  border-radius: 6px;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 8px;
  transition: background-color .2s;
  display: flex;
}

.WorkSheetPopup-module__w8J0LG__checkboxLabel:hover {
  background-color: #374151;
}

.WorkSheetPopup-module__w8J0LG__checkbox {
  display: none;
}

.WorkSheetPopup-module__w8J0LG__checkmark {
  background-color: #374151;
  border: 2px solid #4b5563;
  border-radius: 4px;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: all .2s;
  position: relative;
}

.WorkSheetPopup-module__w8J0LG__checkbox:checked + .WorkSheetPopup-module__w8J0LG__checkmark {
  background-color: #3b82f6;
  border-color: #3b82f6;
}

.WorkSheetPopup-module__w8J0LG__checkbox:checked + .WorkSheetPopup-module__w8J0LG__checkmark:after {
  content: "";
  border: 2px solid #fff;
  border-width: 0 2px 2px 0;
  width: 6px;
  height: 10px;
  position: absolute;
  top: 2px;
  left: 6px;
  transform: rotate(45deg);
}

.WorkSheetPopup-module__w8J0LG__symptomText {
  color: #f9fafb;
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
}

.WorkSheetPopup-module__w8J0LG__categoryGroup {
  margin-bottom: 24px;
}

.WorkSheetPopup-module__w8J0LG__categoryTitle {
  color: #3b82f6;
  border-bottom: 2px solid #3b82f6;
  margin: 0 0 12px 8px;
  padding-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
}

.WorkSheetPopup-module__w8J0LG__videoContainer {
  flex-direction: column;
  gap: 16px;
  width: 100%;
  display: flex;
}

.WorkSheetPopup-module__w8J0LG__youtubeWrapper {
  aspect-ratio: 16 / 9;
  background-color: #000;
  border-radius: 8px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.WorkSheetPopup-module__w8J0LG__youtubeIframe {
  border: none;
  width: 100%;
  height: 100%;
}

.WorkSheetPopup-module__w8J0LG__completionMessage {
  color: #fff;
  text-align: center;
  background-color: #10b981;
  border-radius: 8px;
  padding: 12px;
  font-weight: 600;
  animation: .3s ease-in WorkSheetPopup-module__w8J0LG__fadeIn;
}

@keyframes WorkSheetPopup-module__w8J0LG__fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.WorkSheetPopup-module__w8J0LG__drawingContainer {
  flex-direction: column;
  gap: 16px;
  width: 100%;
  display: flex;
}

.WorkSheetPopup-module__w8J0LG__canvasWrapper {
  background-color: #f9fafb;
  border: 2px dashed #3b82f6;
  border-radius: 8px;
  width: 100%;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.WorkSheetPopup-module__w8J0LG__drawingCanvas {
  cursor: crosshair;
  touch-action: none;
  background-color: #fff;
  border-radius: 4px;
  width: 100%;
  display: block;
}

.WorkSheetPopup-module__w8J0LG__canvasControls {
  justify-content: center;
  gap: 12px;
  display: flex;
}

.WorkSheetPopup-module__w8J0LG__clearButton {
  color: #fff;
  cursor: pointer;
  background-color: #ef4444;
  border: none;
  border-radius: 6px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s;
}

.WorkSheetPopup-module__w8J0LG__clearButton:hover:not(:disabled) {
  background-color: #dc2626;
}

.WorkSheetPopup-module__w8J0LG__clearButton:disabled {
  cursor: not-allowed;
  opacity: .6;
  background-color: #9ca3af;
}

.WorkSheetPopup-module__w8J0LG__brainContainer {
  flex-direction: column;
  gap: 16px;
  width: 100%;
  display: flex;
}

.WorkSheetPopup-module__w8J0LG__brainImageWrapper {
  background-color: #f9fafb;
  border: 2px dashed #3b82f6;
  border-radius: 8px;
  width: 100%;
  min-height: 400px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.WorkSheetPopup-module__w8J0LG__brainImage {
  background-color: #fff;
  border-radius: 4px;
  width: 100%;
  height: 400px;
}

.WorkSheetPopup-module__w8J0LG__brainOverlay {
  pointer-events: auto;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.WorkSheetPopup-module__w8J0LG__brainRegionButton {
  pointer-events: auto;
}

.WorkSheetPopup-module__w8J0LG__brainRegionButton:hover {
  opacity: .5 !important;
  background-color: #e0e7ff !important;
}

.WorkSheetPopup-module__w8J0LG__brainRegionButton.WorkSheetPopup-module__w8J0LG__selected {
  animation: .5s ease-in-out WorkSheetPopup-module__w8J0LG__pulse;
  opacity: .8 !important;
}

.WorkSheetPopup-module__w8J0LG__selectedRegionsList {
  background-color: #1f2937;
  border: 1px solid #374151;
  border-radius: 8px;
  padding: 16px;
}

.WorkSheetPopup-module__w8J0LG__selectedRegionsTitle {
  color: #f9fafb;
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
}

.WorkSheetPopup-module__w8J0LG__regionsList {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.WorkSheetPopup-module__w8J0LG__regionTag {
  color: #f9fafb;
  background-color: #374151;
  border: 1px solid #4b5563;
  border-radius: 6px;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 13px;
  display: flex;
}

.WorkSheetPopup-module__w8J0LG__removeRegionButton {
  color: #ef4444;
  cursor: pointer;
  background: none;
  border: none;
  margin-left: 4px;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
  transition: color .2s;
}

.WorkSheetPopup-module__w8J0LG__removeRegionButton:hover {
  color: #dc2626;
}

.WorkSheetPopup-module__w8J0LG__noSelectionText {
  color: #9ca3af;
  margin: 0;
  font-size: 13px;
  font-style: italic;
}

.WorkSheetPopup-module__w8J0LG__packingContainer {
  background: radial-gradient(circle, #1f2937 0%, #111827 100%);
  border-radius: 16px;
  justify-content: center;
  align-items: center;
  min-height: 350px;
  padding: 20px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.WorkSheetPopup-module__w8J0LG__packingContainer svg {
  margin: 0 auto;
  display: block;
}

.WorkSheetPopup-module__w8J0LG__addBubbleButton {
  color: #60a5fa;
  justify-content: center;
  align-items: center;
  font-size: 48px;
  font-weight: 300;
  transition: all .3s;
  display: flex;
}

.WorkSheetPopup-module__w8J0LG__addBubbleButton:hover {
  color: #3b82f6;
  transform: scale(1.1);
}

.WorkSheetPopup-module__w8J0LG__areaLabel {
  color: #1f2937;
  text-align: center;
  word-wrap: break-word;
  padding: 8px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.WorkSheetPopup-module__w8J0LG__editModal {
  z-index: 1000;
  pointer-events: none;
  background: #00000080;
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
  inset: 0;
}

.WorkSheetPopup-module__w8J0LG__popupEditPanel {
  z-index: 10000;
  background: #00000080;
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
  inset: 0;
}

.WorkSheetPopup-module__w8J0LG__popupEditContent {
  background: #1f2937;
  border: none;
  border-radius: 12px;
  min-width: 400px;
  max-width: 90vw;
  max-height: 90vh;
  padding: 24px;
  overflow-y: auto;
  box-shadow: 0 20px 60px #0000004d;
}

.WorkSheetPopup-module__w8J0LG__labelInput {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  outline: none;
  width: 100%;
  margin-bottom: 8px;
  padding: 8px;
  font-size: 14px;
}

.WorkSheetPopup-module__w8J0LG__labelInput:focus {
  border-color: #3b82f6;
}

.WorkSheetPopup-module__w8J0LG__sizeControl {
  margin: 15px 0 20px;
}

.WorkSheetPopup-module__w8J0LG__sizeControl label {
  color: #6b7280;
  margin-bottom: 4px;
  font-size: 12px;
  display: block;
}

.WorkSheetPopup-module__w8J0LG__sizeSlider {
  -webkit-appearance: none;
  background: #e5e7eb;
  border-radius: 2px;
  outline: none;
  width: 100%;
  height: 4px;
}

.WorkSheetPopup-module__w8J0LG__sizeSlider::-webkit-slider-thumb {
  appearance: none;
  cursor: pointer;
  background: #3b82f6;
  border-radius: 50%;
  width: 16px;
  height: 16px;
}

.WorkSheetPopup-module__w8J0LG__sizeSlider::-moz-range-thumb {
  cursor: pointer;
  background: #3b82f6;
  border: none;
  border-radius: 50%;
  width: 16px;
  height: 16px;
}

.WorkSheetPopup-module__w8J0LG__editButtons {
  gap: 8px;
  display: flex;
}

.WorkSheetPopup-module__w8J0LG__saveButton {
  color: #fff;
  cursor: pointer;
  background-color: #10b981;
  border: none;
  border-radius: 6px;
  flex: 1;
  padding: 6px 12px;
  font-size: 12px;
  transition: background-color .2s;
}

.WorkSheetPopup-module__w8J0LG__saveButton:hover {
  background-color: #059669;
}

.WorkSheetPopup-module__w8J0LG__deleteButton {
  color: #fff;
  cursor: pointer;
  background-color: #ef4444;
  border: none;
  border-radius: 6px;
  flex: 1;
  padding: 6px 12px;
  font-size: 12px;
  transition: background-color .2s;
}

.WorkSheetPopup-module__w8J0LG__deleteButton:hover {
  background-color: #dc2626;
}

.WorkSheetPopup-module__w8J0LG__instructionBox {
  background-color: #1f2937;
  border: 1px solid #374151;
  border-radius: 8px;
  padding: 12px 16px;
}

@media (max-width: 640px) {
  .WorkSheetPopup-module__w8J0LG__overlay {
    padding: 10px;
  }

  .WorkSheetPopup-module__w8J0LG__popup {
    max-width: 95vw;
    max-height: 90vh;
  }

  .WorkSheetPopup-module__w8J0LG__header {
    padding: 16px 20px 12px;
  }

  .WorkSheetPopup-module__w8J0LG__title {
    font-size: 16px;
  }

  .WorkSheetPopup-module__w8J0LG__inputContainer {
    padding: 16px 20px;
  }

  .WorkSheetPopup-module__w8J0LG__buttonContainer {
    flex-direction: column;
    padding: 12px 20px 20px;
  }

  .WorkSheetPopup-module__w8J0LG__cancelButton, .WorkSheetPopup-module__w8J0LG__submitButton {
    width: 100%;
    padding: 12px 16px;
  }

  .WorkSheetPopup-module__w8J0LG__emotionBowlContainer {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .WorkSheetPopup-module__w8J0LG__emotionBowl {
    min-width: 160px;
    padding: 12px;
  }

  .WorkSheetPopup-module__w8J0LG__bowl {
    min-height: 120px;
    padding: 8px;
  }

  .WorkSheetPopup-module__w8J0LG__square {
    width: 20px;
    height: 14px;
  }

  .WorkSheetPopup-module__w8J0LG__instruction {
    margin-bottom: 16px;
    font-size: 14px;
  }

  .WorkSheetPopup-module__w8J0LG__symptomList {
    max-height: 300px;
  }

  .WorkSheetPopup-module__w8J0LG__symptomText {
    font-size: 13px;
  }

  .WorkSheetPopup-module__w8J0LG__surveyContainer {
    gap: 12px;
  }

  .WorkSheetPopup-module__w8J0LG__questionItem {
    padding: 12px;
  }

  .WorkSheetPopup-module__w8J0LG__questionHeader {
    flex-direction: column;
    gap: 6px;
  }

  .WorkSheetPopup-module__w8J0LG__questionNumber, .WorkSheetPopup-module__w8J0LG__questionText {
    font-size: 14px;
  }

  .WorkSheetPopup-module__w8J0LG__optionLabel {
    flex-direction: row;
    align-items: flex-start;
  }

  .WorkSheetPopup-module__w8J0LG__optionLetter {
    margin-top: 2px;
  }

  .WorkSheetPopup-module__w8J0LG__summaryBox {
    padding: 12px;
  }

  .WorkSheetPopup-module__w8J0LG__checkmark {
    width: 18px;
    height: 18px;
  }

  .WorkSheetPopup-module__w8J0LG__checkbox:checked + .WorkSheetPopup-module__w8J0LG__checkmark:after {
    width: 5px;
    height: 9px;
    top: 1px;
    left: 5px;
  }

  .WorkSheetPopup-module__w8J0LG__categoryGroup {
    margin-bottom: 20px;
  }

  .WorkSheetPopup-module__w8J0LG__categoryTitle {
    margin-bottom: 10px;
    padding-bottom: 6px;
    font-size: 15px;
  }

  .WorkSheetPopup-module__w8J0LG__drawingCanvas {
    max-height: 400px;
  }
}

/* [project]/src/app/styles/chat-common.module.css [app-client] (css) */
.chat-common-module__SCbBsa__chatContainer {
  background: #0a0a0a;
  border-left: 1px solid #333;
  border-right: 1px solid #333;
  flex-direction: column;
  max-width: 800px;
  height: 100vh;
  margin: 0 auto;
  display: flex;
}

.chat-common-module__SCbBsa__chatHeader {
  text-align: left;
  background: #0a0a0a;
  border-bottom: 1px solid #333;
  padding: 1.5rem;
}

.chat-common-module__SCbBsa__chatHeader h1 {
  color: #ededed;
  margin-bottom: .5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.chat-common-module__SCbBsa__chatHeader p {
  color: #999;
  font-size: .9rem;
}

.chat-common-module__SCbBsa__messagesContainer {
  flex-direction: column;
  flex: 1;
  gap: 1rem;
  padding: 1rem;
  display: flex;
  overflow-y: auto;
}

.chat-common-module__SCbBsa__message {
  margin-bottom: .5rem;
  display: flex;
}

.chat-common-module__SCbBsa__userMessage {
  justify-content: flex-end;
}

.chat-common-module__SCbBsa__botMessage {
  justify-content: flex-start;
}

.chat-common-module__SCbBsa__endMessage {
  justify-content: center;
}

.chat-common-module__SCbBsa__messageContent {
  border-radius: 1rem;
  max-width: 70%;
  padding: .75rem 1rem;
  position: relative;
}

.chat-common-module__SCbBsa__userMessage .chat-common-module__SCbBsa__messageContent {
  color: #fff;
  background: #007bff;
  border-bottom-right-radius: .25rem;
}

.chat-common-module__SCbBsa__botMessage .chat-common-module__SCbBsa__messageContent {
  color: #ededed;
  background: #2a2a2a;
  border-bottom-left-radius: .25rem;
}

.chat-common-module__SCbBsa__endMessage .chat-common-module__SCbBsa__messageContent {
  color: #fff;
  text-align: center;
  background-color: #0000;
  border-radius: .25rem;
  max-width: 100%;
}

.chat-common-module__SCbBsa__endMessage .chat-common-module__SCbBsa__messageContent .chat-common-module__SCbBsa__messageTime {
  display: none;
}

.chat-common-module__SCbBsa__messageText {
  word-wrap: break-word;
  line-height: 1.4;
  position: relative;
}

.chat-common-module__SCbBsa__messageText.chat-common-module__SCbBsa__streaming:after {
  content: "▋";
  color: var(--foreground);
  font-weight: normal;
  animation: 1s infinite chat-common-module__SCbBsa__blink;
}

@keyframes chat-common-module__SCbBsa__blink {
  0%, 50% {
    opacity: 1;
  }

  51%, 100% {
    opacity: 0;
  }
}

.chat-common-module__SCbBsa__messageText h1, .chat-common-module__SCbBsa__messageText h2, .chat-common-module__SCbBsa__messageText h3, .chat-common-module__SCbBsa__messageText h4, .chat-common-module__SCbBsa__messageText h5, .chat-common-module__SCbBsa__messageText h6 {
  margin: .5rem 0;
  font-weight: 600;
}

.chat-common-module__SCbBsa__messageText h1 {
  font-size: 1.2rem;
}

.chat-common-module__SCbBsa__messageText h2 {
  font-size: 1.1rem;
}

.chat-common-module__SCbBsa__messageText h3 {
  font-size: 1rem;
}

.chat-common-module__SCbBsa__messageText p {
  margin: .5rem 0;
}

.chat-common-module__SCbBsa__messageText ul, .chat-common-module__SCbBsa__messageText ol {
  margin: .5rem 0;
  padding-left: 1.5rem;
}

.chat-common-module__SCbBsa__messageText li {
  margin: .25rem 0;
}

.chat-common-module__SCbBsa__messageText code {
  background: #0000001a;
  border-radius: .25rem;
  padding: .2rem .4rem;
  font-family: Courier New, monospace;
  font-size: .9em;
}

.chat-common-module__SCbBsa__messageText pre {
  background: #0000001a;
  border-radius: .5rem;
  margin: .5rem 0;
  padding: .75rem;
  overflow-x: auto;
}

.chat-common-module__SCbBsa__messageText pre code {
  background: none;
  padding: 0;
}

.chat-common-module__SCbBsa__messageText blockquote {
  border-left: 3px solid #007bff;
  margin: .5rem 0;
  padding-left: 1rem;
  font-style: italic;
}

.chat-common-module__SCbBsa__messageText strong {
  font-weight: 600;
}

.chat-common-module__SCbBsa__messageText em {
  font-style: italic;
}

.chat-common-module__SCbBsa__messageText a {
  color: #007bff;
  text-decoration: underline;
}

.chat-common-module__SCbBsa__messageTime {
  opacity: .7;
  text-align: right;
  margin-top: .25rem;
  font-size: .7rem;
}

.chat-common-module__SCbBsa__botMessage .chat-common-module__SCbBsa__messageTime {
  text-align: left;
}

.chat-common-module__SCbBsa__typingIndicator {
  align-items: center;
  gap: .25rem;
  padding: .5rem 0;
  display: flex;
}

.chat-common-module__SCbBsa__typingIndicator span {
  background: #999;
  border-radius: 50%;
  width: .5rem;
  height: .5rem;
  animation: 1.4s ease-in-out infinite chat-common-module__SCbBsa__typing;
}

.chat-common-module__SCbBsa__typingIndicator span:first-child {
  animation-delay: -.32s;
}

.chat-common-module__SCbBsa__typingIndicator span:nth-child(2) {
  animation-delay: -.16s;
}

@keyframes chat-common-module__SCbBsa__typing {
  0%, 80%, 100% {
    opacity: .5;
    transform: scale(.8);
  }

  40% {
    opacity: 1;
    transform: scale(1);
  }
}

.chat-common-module__SCbBsa__chatDescription {
  background: #0a0a0a;
  border-top: 1px solid #333;
  padding: 1rem 1.5rem;
}

.chat-common-module__SCbBsa__chatDescription p {
  color: #999;
  text-align: center;
  margin: 0;
  font-size: .95rem;
  line-height: 1.5;
}

.chat-common-module__SCbBsa__techInfo {
  font-style: italic;
  color: #777 !important;
  margin-top: .75rem !important;
  font-size: .85rem !important;
}

.chat-common-module__SCbBsa__messageText code, .chat-common-module__SCbBsa__messageText pre {
  background: #ffffff1a;
}

.chat-common-module__SCbBsa__messageText blockquote {
  border-left-color: #007bff;
}

.chat-common-module__SCbBsa__messageText a {
  color: #66b3ff;
}

.chat-common-module__SCbBsa__messageText a:hover {
  color: #9cf;
}

@media (max-width: 768px) {
  .chat-common-module__SCbBsa__chatContainer {
    border: none;
    height: 100vh;
  }

  .chat-common-module__SCbBsa__messageContent {
    max-width: 85%;
  }
}

