/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[13].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[13].use[3]!./node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js??ruleSet[1].rules[14].oneOf[13].use[4]!./node_modules/next/dist/compiled/sass-loader/cjs.js??ruleSet[1].rules[14].oneOf[13].use[5]!./src/components/markdown-field/style.scss ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* legacy colors */
/* end of legacy colors */
:where(.markdown-field) {
  font-family: var(--font-family-body), serif;
  display: flex;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  color: var(--color-text-default);
}

:where(.markdown-field.single-col) {
  flex-direction: column;
}

:where(.markdown-field:not(.single-col)) {
  flex-direction: row;
}

:where(.markdown-field:not(.single-col) label) {
  align-self: flex-start;
  min-height: 32px;
}

:where(.markdown-field label) {
  font-family: var(--font-family-label), serif;
  font-size: var(--typography-size-label, 12px);
  font-style: normal;
  font-weight: var(--typography-weight-label, 600);
  line-height: var(--typography-lineHeight-label, 16px);
  display: flex;
  min-width: 80px;
  align-items: center;
  gap: 4px;
}

:where(.markdown-field label .required) {
  font-family: var(--font-family-body), serif;
  font-style: normal;
  /* body3-.. */
  font-size: var(--typography-size-body3, 12px);
  line-height: var(--typography-lineHeight-body3, 16px);
  font-weight: var(--typography-weight-body3-regular, 400);
  height: 16px;
  width: 5px;
  color: var(--color-text-negative-default);
}

:where(.markdown-field .input-area) {
  width: 100%;
  display: flex;
  flex-flow: column;
  gap: 6px;
}

:where(.markdown-field .input-area .input-wrapper) {
  display: flex;
  flex-flow: row;
  justify-content: flex-start;
  box-sizing: content-box;
  height: 100%;
  border-radius: 4px;
  border: 1px solid var(--color-outline-subtlest);
  background: var(--color-bg-inverse);
  outline: none;
  width: 100%;
}

:where(.markdown-field .input-area .input-wrapper:not(.allow-resize) textarea) {
  resize: none;
}

:where(.markdown-field .input-area .input-wrapper.allow-resize textarea) {
  resize: vertical;
}

:where(.markdown-field .input-area .input-wrapper:has(textarea:hover:not(:focus):not(:disabled))),
:where(.markdown-field .input-area .input-wrapper:has(textarea:focus:not(:disabled))) {
  border-color: var(--color-outline-brand-default);
}

:where(.markdown-field .input-area .input-wrapper textarea) {
  font-family: var(--font-family-body), serif;
  font-style: normal;
  font-size: var(--typography-size-body2, 14px);
  line-height: var(--typography-lineHeight-body2, 20px);
  font-weight: var(--typography-weight-body2-regular, 400);
  scrollbar-width: auto;
  scrollbar-color: auto;
  scrollbar-gutter: auto;
  color: var(--color-text-default);
  width: 100%;
  min-height: 30px;
  padding: 5px 12px;
  box-sizing: border-box;
  border-radius: 4px;
  border: none;
  outline: none;
}
:where(.markdown-field .input-area .input-wrapper textarea)::-webkit-scrollbar {
  background: none;
  width: 6px;
  height: 6px;
}
:where(.markdown-field .input-area .input-wrapper textarea)::-webkit-scrollbar-button {
  display: none;
}
:where(.markdown-field .input-area .input-wrapper textarea)::-webkit-scrollbar-thumb {
  background: var(--color-bg-neutral-hovered);
  border-radius: 3px;
  height: 50%;
}

:where(.markdown-field .input-area .input-wrapper textarea:disabled) {
  color: var(--color-outline-subtle);
}

:where(.markdown-field .input-area .input-wrapper textarea::placeholder),
:where(.markdown-field .input-area .input-wrapper textarea:-ms-input-placeholder) {
  color: var(--color-text-subtlest);
}

:where(.markdown-field .input-area .input-wrapper .font-icon:hover) {
  color: var(--color-bg-brand-hovered);
}

:where(.markdown-field .input-area .validation-error) {
  color: var(--color-text-negative-default);
  font-size: 12px;
  font-weight: 600;
  width: 100%;
}

:where(.markdown-field .input-area .input-hint) {
  color: var(--color-text-subtle);
  font-size: 12px;
  font-weight: 500;
  width: 100%;
}

:where(.markdown-text-box) {
  font-family: var(--font-family-body), serif;
  font-style: normal;
  font-size: var(--typography-size-body2, 14px);
  line-height: var(--typography-lineHeight-body2, 20px);
  font-weight: var(--typography-weight-body2-regular, 400);
  scrollbar-width: auto;
  scrollbar-color: auto;
  scrollbar-gutter: auto;
  color: var(--color-text-default);
  width: 100%;
  min-height: 30px;
  max-height: 100px;
  box-sizing: border-box;
  border-radius: 4px;
  border: none;
  outline: none;
  padding: 5px 12px;
}
:where(.markdown-text-box)::-webkit-scrollbar {
  background: none;
  width: 6px;
  height: 6px;
}
:where(.markdown-text-box)::-webkit-scrollbar-button {
  display: none;
}
:where(.markdown-text-box)::-webkit-scrollbar-thumb {
  background: var(--color-bg-neutral-hovered);
  border-radius: 3px;
  height: 50%;
}

:where(.markdown-text-box .markdown-preview) {
  display: flex;
  flex-flow: column;
  overflow-wrap: anywhere;
}

:where(.markdown-text-box textarea) {
  scrollbar-width: auto;
  scrollbar-color: auto;
  scrollbar-gutter: auto;
  overflow: auto;
  height: 100%;
  width: 100%;
  outline: none;
  border: none;
  resize: none;
  padding: 5px 12px;
  box-sizing: border-box;
}
:where(.markdown-text-box textarea)::-webkit-scrollbar {
  background: none;
  width: 6px;
  height: 6px;
}
:where(.markdown-text-box textarea)::-webkit-scrollbar-button {
  display: none;
}
:where(.markdown-text-box textarea)::-webkit-scrollbar-thumb {
  background: var(--color-bg-neutral-hovered);
  border-radius: 3px;
  height: 50%;
}

:where(.markdown-text-box:not(:has(textarea))) {
  overflow: auto;
}

:where(.markdown-text-box:has(textarea)) {
  padding: 0;
  overflow: hidden;
}

:where(.markdown-text-box.disabled) {
  cursor: default;
  color: var(--color-outline-subtle);
}
