@charset "UTF-8";
/* © DialogueTrainer */
/* © DialogueTrainer */
/* © DialogueTrainer */
/* © DialogueTrainer */
/* © DialogueTrainer */
/* © DialogueTrainer */
/* © DialogueTrainer */
/* © DialogueTrainer */
:root {
  --t-bg-default: #F1F5F9;
  --t-bg-highlight: #F8FAFC;
  --t-bg-dim: #E2E8F0;
  --t-fg-default: #334155;
  --t-fg-highlight: #0F172A;
  --t-fg-dim: #94A3B8;
  --t-bg-contrast: var(--t-bg-highlight);
  --t-grid-dot-color: #94A3B8;
  color-scheme: light;
}
:root #tabDock li:hover, :root #tabDock tr:hover {
  background-color: rgba(0, 0, 0, 0.03);
}
:root #themeSettings {
  background-color: var(--t-bg-dim);
}
:root #sidebar {
  --t-bg-default: #F8FAFC;
  --t-bg-highlight: white;
  --t-bg-dim: #E2E8F0;
  --t-fg-default: #334155;
  --t-fg-highlight: #0F172A;
  --t-fg-dim: #94A3B8;
  --t-bg-contrast: var(--t-bg-highlight);
  --theme-sidebar-section-border: var(--t-bg-dim);
  --theme-bg-sidebar-button: #CBD5E1;
  --theme-fg-sidebar-button: #334155;
}

#breadcrumbs {
  color: var(--t-fg-default);
  background-color: var(--t-bg-default);
}
#breadcrumbs.dark {
  background-color: #3d4d65;
}

#sidebar.dark, #toolbar.dark, #tabDock.dark {
  color-scheme: dark;
}
#sidebar.dark #themeSettings, #toolbar.dark #themeSettings, #tabDock.dark #themeSettings {
  background-color: var(--t-bg-highlight);
}

#tabDock.dark li:hover, #tabDock.dark tr:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

#sidebar.dark {
  --t-bg-default: #334155;
  --t-bg-highlight: #475569;
  --t-bg-dim: #1E293B;
  --t-fg-default: #F1F5F9;
  --t-fg-highlight: #F8FAFC;
  --t-fg-dim: #94A3B8;
  --t-bg-contrast: var(--t-bg-dim);
  --theme-sidebar-section-border: var(--t-bg-highlight);
  --theme-bg-sidebar-button: #64748B;
  --theme-fg-sidebar-button: #F8FAFC;
}

.dark {
  --t-bg-default: #1E293B;
  --t-bg-highlight: #334155;
  --t-bg-dim: #0F172A;
  --t-fg-default: #F1F5F9;
  --t-fg-highlight: #F8FAFC;
  --t-fg-dim: #94A3B8;
  --t-bg-contrast: var(--t-bg-dim);
  --t-grid-dot-color: #334155;
  color-scheme: dark;
}

/* © DialogueTrainer */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: local("Open Sans Regular"), local("OpenSans-Regular"), url("../fonts/open-sans-v17-latin-ext_greek-ext_greek_cyrillic_latin-regular.woff2") format("woff2"), url("../fonts/open-sans-v17-latin-ext_greek-ext_greek_cyrillic_latin-regular.woff") format("woff");
}
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 400;
  src: local("Open Sans Italic"), local("OpenSans-Italic"), url("../fonts/open-sans-v17-latin-ext_greek-ext_greek_cyrillic_latin-italic.woff2") format("woff2"), url("../fonts/open-sans-v17-latin-ext_greek-ext_greek_cyrillic_latin-italic.woff") format("woff");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  src: local("Open Sans SemiBold"), local("OpenSans-SemiBold"), url("../fonts/open-sans-v17-latin-ext_greek-ext_greek_cyrillic_latin-600.woff2") format("woff2"), url("../fonts/open-sans-v17-latin-ext_greek-ext_greek_cyrillic_latin-600.woff") format("woff");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  src: local("Open Sans Bold"), local("OpenSans-Bold"), url("../fonts/open-sans-v17-latin-ext_greek-ext_greek_cyrillic_latin-700.woff2") format("woff2"), url("../fonts/open-sans-v17-latin-ext_greek-ext_greek_cyrillic_latin-700.woff") format("woff");
}
/* © DialogueTrainer */
/* © DialogueTrainer */
html, body {
  min-height: 100%;
  padding: 0;
  margin: 0;
  font-family: "Open Sans", Frutiger, Helvetica, Arial, sans-serif;
  color: #334155;
}

body #canvas, body .treeDiv {
  background-color: var(--t-bg-dim);
}

#wrap {
  position: absolute;
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
}

#content {
  display: grid;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  grid-template-columns: 1fr min-content;
  grid-template-rows: min-content min-content 1fr auto;
  grid-template-areas: "toolbar toolbar" "breadcrumbs sidebar" "canvas sidebar" "tab-dock tab-dock";
}

#canvas {
  position: relative;
  grid-area: canvas;
}
#canvas.wSpacing {
  padding-top: 32px;
  padding-left: 32px;
}
#canvas .bottomButtons, #canvas .backButton, #canvas #miniwrap {
  position: absolute;
  right: 20px;
  z-index: 100;
}
#canvas .bottomButtons {
  bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
#canvas .bottomButtons button {
  font-weight: 600;
  color: var(--t-fg-highlight);
  background-color: var(--t-bg-default);
  border-radius: 8px;
  opacity: 0.8;
}
#canvas .bottomButtons button:hover {
  opacity: 1;
}
#canvas .backButton {
  top: 12px;
  right: unset;
  left: -8px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
  color: var(--t-fg-highlight);
  cursor: pointer;
  background-color: var(--t-bg-default);
  border-radius: 0 9999px 9999px 0;
  transition: background-color 0.3s ease-in-out, shadow 0.3s ease-in-out;
}
#canvas .backButton:hover {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 4px 10px rgba(0, 0, 0, 0.04);
}
#canvas .backButton svg {
  width: 28px;
  height: 28px;
}

#main {
  position: relative;
  height: 100%;
  overflow: auto;
  outline: none;
  box-sizing: border-box;
}

.alert {
  padding: 4px;
  font-size: 0.75em;
  border: 1px solid black;
  border-radius: 4px;
}
.alert a {
  color: inherit;
}
.alert.warning {
  color: #974908;
  background-color: rgba(243, 120, 18, 0.5);
  border-color: #F37812;
}

/* © DialogueTrainer */
/* © DialogueTrainer */
button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  background: none;
  border: 1px solid transparent;
  transition: opacity 0.2s ease-in-out;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  gap: 4px;
}
button svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  vertical-align: middle;
  transform: scale(1);
}
button img {
  vertical-align: middle;
}
button:enabled {
  cursor: pointer;
}
button:enabled:hover {
  opacity: 0.8;
}
button:disabled {
  opacity: 0.4;
}
button.sizeHalf {
  flex-grow: 1;
  flex-basis: 50%;
}
button.extraSmall {
  padding: 2px;
}
button.small {
  padding: 4px 8px;
}
button.medium {
  padding: 8px 16px;
}
button.buttonIcon {
  height: 28px;
  color: #334155;
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.05);
  aspect-ratio: 1;
}
button.buttonIcon.extraSmall {
  padding: 2px;
}
button.buttonIcon.small {
  padding: 4px;
}
button.buttonIcon.medium {
  padding: 6px;
}
button.buttonIcon.medium svg {
  width: 20px;
  height: 20px;
}
button.roundedPill {
  border-radius: 9999px;
}
button.roundedBase {
  border-radius: 4px;
}
button.col-highlight {
  color: white;
  background-color: #334155;
}
button.col-highlight.outline {
  color: #334155;
  border-color: #334155;
}
button.col-highlight.text {
  color: #334155;
}
button.col-default {
  color: white;
  background-color: #64748B;
}
button.col-default.outline {
  color: #64748B;
  border-color: #64748B;
}
button.col-default.text {
  color: #64748B;
}
button.col-dim {
  color: white;
  background-color: #94A3B8;
}
button.col-dim.outline {
  color: #94A3B8;
  border-color: #94A3B8;
}
button.col-dim.text {
  color: #94A3B8;
}
button.col-primary {
  color: white;
  background-color: #3892FF;
}
button.col-primary.outline {
  color: #3892FF;
  border-color: #3892FF;
}
button.col-primary.text {
  color: #3892FF;
}
button.col-danger {
  color: white;
  background-color: #CE192A;
}
button.col-danger.outline {
  color: #CE192A;
  border-color: #CE192A;
}
button.col-danger.text {
  color: #CE192A;
}
button.col-time {
  color: white;
  background-color: #2A3;
}
button.col-time.outline {
  color: #2A3;
  border-color: #2A3;
}
button.col-time.text {
  color: #2A3;
}
button.text, button.outline {
  background-color: transparent;
  box-shadow: none;
}

/* © DialogueTrainer */
/* © DialogueTrainer */
label, .label {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
dialog label, dialog .label {
  font-size: 0.85em;
  color: #64748B;
}

input, textarea, select, .searchInput {
  color: #334155;
  border-radius: 4px;
}
input:focus-visible, textarea:focus-visible, select:focus-visible, .searchInput:focus-visible {
  outline: none;
}

input:not([type=checkbox], [type=radio], [type=range]), textarea, .searchInput {
  width: 100%;
  padding: 4px;
  background-color: #F8FAFC;
  border: 1px solid #CBD5E1;
  box-sizing: border-box;
}
input:not([type=checkbox], [type=radio], [type=range]):focus-visible, textarea:focus-visible, .searchInput:focus-visible {
  border-color: #94A3B8;
}
input:not([type=checkbox], [type=radio], [type=range]):invalid, textarea:invalid, .searchInput:invalid {
  background-color: #fceaeb;
  border-color: #CE192A;
}

input:not([type=checkbox], [type=radio], [type=range]), textarea, select {
  min-height: 28px;
}

.searchInput {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0;
  gap: 4px;
}
.searchInput .searchIcon {
  display: grid;
  flex: 0 1 auto;
  height: 28px;
  background: #CBD5E1;
  place-items: center;
  aspect-ratio: 1/1;
}
.searchInput .clearSearchIcon {
  position: absolute;
  cursor: pointer;
  inset-inline-end: 2px;
}
.searchInput input {
  min-height: auto;
  background-color: transparent;
  border: none;
}

textarea {
  resize: none;
}

input[type=checkbox] {
  position: relative;
  width: 20px;
  height: 20px;
  margin: 0;
  margin-right: 4px;
  font-size: 2rem;
  vertical-align: middle;
  border: 2px solid #94A3B8;
  transition: border-color 0.3s ease-in-out;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}
input[type=checkbox]:enabled {
  cursor: pointer;
}
input[type=checkbox]:enabled:hover {
  border-color: #CBD5E1;
}
input[type=checkbox]:disabled, input[type=checkbox]:disabled + label {
  color: #CCC;
  opacity: 0.8;
}
input[type=checkbox]::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: none;
  width: 22px;
  height: 22px;
  background-color: #4ADE80;
  clip-path: polygon(28% 38%, 41% 53%, 75% 24%, 86% 38%, 40% 78%, 15% 50%);
  transform: translate(-50%, -50%);
}
input[type=checkbox]:checked::before {
  display: block;
}

input[type=radio] {
  margin: 0;
  margin-right: 2px;
}

select, input[type=date] {
  padding: 4px;
  background-color: white;
  border-width: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: opacity 0.3s ease-in-out;
}
select:enabled:hover, input[type=date]:enabled:hover {
  opacity: 0.7;
}

select {
  position: relative;
}
select:focus {
  z-index: 1;
}

.radioInput {
  display: flex;
  align-items: center;
}
.radioInput label {
  font-size: 0.9em;
  color: #334155;
}

hr.divider {
  width: 100%;
  height: 1px;
  margin: 0;
  background-color: #E2E8F0;
  border: none;
}

dialog .dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 140px;
  font-weight: 400;
  color: #CBD5E1;
  border: 1px dashed #CBD5E1;
  border-radius: 5px;
  transition-duration: 0.3s;
  transition-property: color, border-color, background-color;
  transition-timing-function: ease-in-out;
}
dialog .dropzone:hover {
  color: #E2E8F0;
  background-color: rgba(203, 213, 225, 0.1);
  border-color: #E2E8F0;
}
dialog .dropzone:hover .icon {
  fill: #E2E8F0;
}
dialog .dropzone.dark:hover {
  color: #94A3B8;
  background-color: rgba(148, 163, 184, 0.1);
  border-color: #94A3B8;
}
dialog .dropzone.dark:hover .icon {
  fill: #94A3B8;
}
dialog .dropzone input {
  position: absolute;
  inset: 0;
  cursor: pointer;
  opacity: 0;
}
dialog .dropzone.active {
  border: 2px solid white;
}
dialog .dropzone .icon {
  width: 40px;
  height: 40px;
  fill: #CBD5E1;
  transition: fill 0.3s ease-in-out;
}

/* © DialogueTrainer */
/* © DialogueTrainer */
dialog {
  position: fixed;
  inset: 0;
  z-index: 100;
  flex-direction: column;
  min-width: 300px;
  padding: 0;
  overflow: hidden;
  color: #334155;
  background-color: #F1F5F9;
  border: none;
  border-radius: 16px;
}
dialog[open] {
  display: flex;
}
dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.4);
}
dialog.warning h1, dialog.warning h2, dialog.warning h3, dialog.warning h4, dialog.warning .title {
  color: #F37812;
}
dialog.error h1, dialog.error h2, dialog.error h3, dialog.error h4, dialog.error .title {
  color: #CE192A;
}
dialog.highlight {
  inset: unset;
  top: 80px;
  left: 48px;
  color: #94A3B8;
  background-color: #334155;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 6px 30px rgba(0, 0, 0, 0.12);
}
dialog.highlight h1, dialog.highlight h2, dialog.highlight h3, dialog.highlight h4, dialog.highlight .title, dialog.highlight button.close, dialog.highlight input[type=checkbox]::before {
  color: white;
}
dialog.highlight .content#analyseParameterValueRanges {
  overflow: hidden;
}
dialog.highlight .content#analyseParameterValueRanges ul#parameterValueRanges {
  max-height: calc(100vh - 200px);
  overflow-y: scroll;
}
dialog.actionsDark > .content {
  padding-bottom: 16px;
}
dialog.actionsDark .actions {
  background-color: #CBD5E1;
  padding-block: 12px;
}
dialog.grid {
  height: 100%;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: auto 1fr;
  grid-template-areas: "index-sidebar header" "index-sidebar content" "index-sidebar actions";
}
dialog.grid[open] {
  display: grid;
}
dialog.grid > .header {
  padding-block: 12px;
  grid-area: header;
}
dialog.grid > .content {
  display: contents !important;
}
dialog.grid > .content > .index {
  height: 100%;
  padding: 16px;
  background-color: white;
  grid-area: index-sidebar;
}
dialog.grid > .content > .content {
  width: -moz-min-content;
  width: min-content;
  width: 100%;
  overflow: auto;
  background-color: white;
  grid-area: content;
}
dialog.grid > .actions {
  grid-area: actions;
}
dialog .header[data-dialog-draggable] {
  cursor: move;
}
dialog h1, dialog h2, dialog h3, dialog h4, dialog p, dialog .title {
  margin: 0;
  color: #334155;
}
dialog h1, dialog h2, dialog h3 {
  font-weight: 600;
}
dialog h1 {
  font-size: 24px;
}
dialog h2 {
  font-size: 19px;
}
dialog h3 {
  font-size: 15px;
}
dialog h4 {
  font-size: 13px;
}
dialog > .header, dialog > .content, dialog > .actions {
  display: flex;
  padding-inline: 20px;
}
dialog > .header, dialog > .content {
  flex-direction: column;
}
dialog > .header {
  justify-content: space-between;
  padding-block: 20px;
  gap: 4px;
}
dialog > .header .title {
  padding-right: 20px;
  font-size: 18px;
}
dialog > .header .title svg.icon {
  width: 24px;
  height: 24px;
  margin-right: 2px;
  fill: currentColor;
  vertical-align: middle;
}
dialog > .header p {
  color: #94A3B8;
}
dialog > .header button.close {
  position: absolute;
  top: 8px;
  right: 12px;
  padding: 4px;
  fill: #0F172A;
}
dialog > .header button.close svg {
  width: 20px;
  height: 20px;
}
dialog > .content {
  overflow: auto;
  padding-block: 0;
  scrollbar-width: thin;
  gap: 16px;
}
dialog:not(:has(.actions)) > .content {
  padding-block-end: 28px;
}
dialog > .actions {
  flex: 0 0 auto;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  padding-block: 20px;
}
dialog table thead th {
  font-size: 0.8em;
  font-weight: 600;
  color: #94A3B8;
  text-align: left;
}
dialog .emotionsWrapper div {
  min-height: 24px;
}
dialog #initialEmotionSuperContainer {
  padding-block-start: 16px;
  border-top: 1px solid #E2E8F0;
}
dialog #initialEmotionSuperContainer fieldset {
  width: 100%;
}
dialog #initialEmotionSuperContainer .flexbox {
  justify-content: space-between;
}
dialog .filterConnectionColor {
  width: -moz-min-content;
  width: min-content;
}
dialog p.buttonsWrapperLabel {
  font-weight: 600;
  border-top: 1px solid #E2E8F0;
  padding-block-start: 16px;
}
dialog .enumeration-values-container {
  margin: 0;
}
dialog .enumeration-values-container ul {
  padding-inline-start: 1em;
}
dialog .enumeration-values-container li {
  clear: both;
}
dialog .enumeration-values-container span,
dialog .enumeration-values-container input {
  float: left;
}
dialog .enumeration-values-container button {
  float: right;
}
dialog .enumeration-values-container .infoIcon {
  opacity: 0.5;
  margin-inline-start: 2px;
}

/* © DialogueTrainer */
/* © DialogueTrainer */
.tabs {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0 16px;
  list-style-type: none;
  gap: 8px;
}
.tabs li.selected a {
  background-color: #dbe3ed;
}
.tabs li a {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  color: #334155;
  text-decoration: none;
  cursor: pointer;
  background-color: rgba(226, 232, 240, 0.5);
  border-radius: 8px 8px 0 0;
  gap: 4px;
  transition: background-color 0.2s ease-in-out;
}
.tabs li:not(.selected) a:hover {
  background-color: #E2E8F0;
}

.tabsContent {
  padding: 8px;
  background-color: #dbe3ed;
  border-radius: 8px;
}
.tabsContent:has(.skeleton) {
  padding: 0;
  background-color: transparent;
}
.tabsContent ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

/* © DialogueTrainer */
/* © DialogueTrainer */
.accordion .header {
  display: flex;
  align-items: center;
  min-height: 40px;
  margin: 0;
  margin-top: 8px;
  background-color: #CBD5E1;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  transition: filter 0.2s ease-in-out;
}
.accordion .header input[type=text] {
  flex: 1;
  margin-inline: 8px;
}
.accordion .header input[type=text]:disabled {
  background-color: #E2E8F0;
  opacity: 0.5;
}
.accordion .header:has(input[type=text]) button.delete {
  margin-inline-start: -8px;
}
.accordion .header .arrow {
  transition: transform 0.5s;
}
.accordion .header .arrow svg {
  width: 24px;
  height: 24px;
  pointer-events: none;
}
.accordion .header.open {
  border-radius: 8px 8px 0 0;
}
.accordion .header.open .arrow {
  transform: rotate(180deg);
}
.accordion .header.open + * {
  padding: 16px;
  grid-template-rows: 1fr;
  border: 1px solid #CBD5E1;
  border-radius: 0 0 8px 8px;
}
.accordion .header + * {
  display: grid;
  padding: 0 16px;
  overflow: hidden;
  transition: grid-template-rows 0.5s, padding 0.5s;
  gap: 8px;
  grid-template-rows: 0fr;
}
.accordion .header + * > * {
  min-height: 0;
}
.accordion .header + * > * > button {
  width: -moz-fit-content;
  width: fit-content;
}

/* © DialogueTrainer */
/* © DialogueTrainer */
.progressbar {
  position: relative;
  display: grid;
  width: 100%;
  margin-block: 4px;
  overflow: hidden;
}
.progressbar progress {
  width: 100%;
  height: 4px;
  overflow: hidden;
  border-radius: 9999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.progressbar progress::-webkit-progress-bar {
  background-color: white;
}
.progressbar progress::-webkit-progress-value {
  background-color: #3892FF;
}
.progressbar progress::-moz-progress-bar {
  background-color: #3892FF;
}
.progressbar progress:not([value]) {
  background: repeating-linear-gradient(135deg, #3892FF, #3892FF 5px, #7fb9ff 5px, #7fb9ff 10px, #7fb9ff 15px, #3892FF 15px, #3892FF 20px);
  background-size: 29px 100%;
  animation: slide 1s infinite linear;
}
.progressbar progress:not([value])::-webkit-progress-bar {
  background-color: transparent;
}
.progressbar progress:not([value])::-moz-progress-bar {
  background-color: transparent;
}
@keyframes slide {
  100% {
    background-position: 28.2842712475px 0;
  }
}
.progressbar .progressLabel {
  margin-top: 2px;
  font-size: 0.7em;
  opacity: 0.5;
}

/* © DialogueTrainer */
/* © DialogueTrainer */
.alignMiddle {
  vertical-align: middle;
}

.fullWidth {
  width: 100%;
}

.grid {
  display: grid;
}

.flexbox {
  display: flex;
  align-items: center;
}
.flexbox.flexWrap {
  flex-wrap: wrap;
}

.flexColumn {
  display: flex;
  flex-direction: column;
}

.justifyCenter {
  justify-content: center;
}

.spaceBetween {
  justify-content: space-between;
}

.gap-1 {
  gap: 4px;
}

.gap-2 {
  gap: 8px;
}

.gap-3 {
  gap: 12px;
}

.gap-4 {
  gap: 16px;
}

.gap-5 {
  gap: 20px;
}

.gap-6 {
  gap: 24px;
}

.gap-7 {
  gap: 28px;
}

.gap-8 {
  gap: 32px;
}

.gap-9 {
  gap: 36px;
}

.gap-10 {
  gap: 40px;
}

.system {
  font-style: italic;
}

/* © DialogueTrainer */
/* © DialogueTrainer */
input, select, textarea, button {
  font-family: "Open Sans", "Frutiger", "Helvetica", "Arial", sans-serif;
}

svg {
  transform: scale(1);
}
svg.icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  vertical-align: middle;
}

kbd {
  display: inline-block;
  padding: 3px 5px;
  line-height: 10px;
  color: #444D56;
  vertical-align: middle;
  background-color: #FAFBFC;
  border: solid 1px #D1D5DA;
  border-bottom-color: #C6CBD1;
  border-radius: 3px;
  box-shadow: inset 0 -1px 0 #C6CBD1;
}

a[data-disabled] {
  text-decoration: line-through;
}

.noSelect {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.clickable:hover {
  cursor: pointer;
}

a.clickable {
  text-decoration: underline;
}

.hidden {
  display: none !important;
}

.removedParameter {
  display: none;
}

#dragBox {
  position: absolute;
  z-index: 999;
  padding: 3px;
  margin: 0;
  font-size: 12px;
  color: #222;
  pointer-events: none;
  cursor: move;
  background-color: #FAFAFA;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 2px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1), 1px 1px 2px rgba(0, 0, 0, 0.05);
}
#dragBox.add {
  background-color: #ca505c;
}
#dragBox.error {
  background-color: #ca505c;
}

.attachment-container {
  position: relative;
  display: none;
  height: 0;
  text-align: right;
}
textarea:focus + * + .attachment-container, input:focus + * + .attachment-container, textarea:focus + .attachment-container, input:focus + .attachment-container {
  position: relative;
  z-index: 1;
  display: block;
  transform: translate(3px, 0);
}
.attachment-container > .markdown-tooltip {
  display: inline-block;
  padding: 5px;
  line-height: 0;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.attachment-container > .markdown-tooltip svg {
  width: 10px;
  height: 10px;
  fill: rgba(0, 0, 0, 0.75);
  pointer-events: none;
}

.tippy-box {
  text-align: left;
}
.tippy-box a[href] {
  color: #b8d8ff;
}

.tippy-box[data-theme~=markdown] code {
  white-space: nowrap;
}

#statement,
#comment {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.handle {
  cursor: move;
  cursor: grab;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.parameter-effect .handle {
  padding: 0 5px;
}

.indicator {
  position: absolute;
  right: -25px;
  bottom: -25px;
  padding: 3px 5px;
  margin: 0 5px 5px 0;
  color: white;
  background-color: #3892FF;
  border: 1px solid #3892FF;
  border-radius: 3px;
  box-shadow: 0 2px 1px rgba(0, 0, 0, 0.07);
}

.listType {
  padding-inline-start: 0;
}
.listType li {
  display: flex;
  align-items: center;
  margin-bottom: 0.25em;
  gap: 5px;
}
.listType li::before {
  content: "•";
  display: inline;
}
.listType li .control {
  flex-grow: 1;
}
.listType.string li {
  align-items: flex-start;
}

input[type=text].search {
  padding-right: 28px;
  margin-bottom: 8px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'%3E%3C/path%3E%3C/svg%3E") no-repeat right 10px center;
  border: 1px solid #CBD5E1;
  border-radius: 4px;
}
input[type=text].search:hover {
  border-color: #94A3B8;
}
input[type=text].search:focus {
  background-color: #F1F5F9;
  outline: none;
}

.ui-lasso {
  pointer-events: none;
}

/* © DialogueTrainer */
/* © DialogueTrainer */
/* Warning: initialiseGrid looks up this rule using the exact selector text.
 * If you change the selector, change the lookup too!
 */
.gridded {
  position: absolute;
  width: 240px;
  height: 120px;
}

#gridIndicator {
  padding: 12px 8px;
  pointer-events: none;
  box-sizing: border-box;
}
#gridIndicator .gridIndicatorInner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  border: 2px dashed var(--t-fg-dim);
  border-radius: 8px;
  opacity: 0.2;
}
#gridIndicator .addIcon {
  display: flex;
  align-items: center;
}
#gridIndicator .addIcon svg {
  width: 32px;
  height: 32px;
  fill: var(--t-fg-default);
}

.w.treeContainer {
  padding: 12px 8px;
  background-color: transparent;
  border: none;
  border-radius: 0;
  opacity: 1;
  box-shadow: none;
  box-sizing: border-box;
}
.w.treeContainer:hover {
  z-index: 5;
}
.w.treeContainer.zoom {
  z-index: 50;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  color: #222;
  cursor: default;
  background-image: none;
  border-color: transparent;
  opacity: 1;
  box-shadow: none;
}
.w.treeContainer.zoom .treeDiv {
  display: block;
  flex: 1 1;
}
.w.treeContainer.zoom .subjectNameInput {
  max-width: 250px;
}
.w.treeContainer .subjectDiv {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  font-size: 16px;
  font-weight: bold;
  white-space: nowrap;
  background-color: var(--t-bg-default);
  border: 2px dashed var(--t-fg-dim);
  border-radius: 8px;
  padding-inline: 12px;
  gap: 4px;
}
.w.treeContainer .subjectDiv .subjectTextContainer {
  flex: 0 1 auto;
  width: 100%;
  overflow: hidden;
}
.w.treeContainer .subjectDiv .icons {
  position: absolute;
  top: 4px;
  right: 4px;
  display: flex;
  align-items: center;
  color: var(--t-fg-dim);
}
.w.treeContainer .subjectDiv .icons svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.w.treeContainer .subjectDiv .startNodePreview {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  gap: 4px;
}
.w.treeContainer .subjectDiv .startNodePreview::after {
  content: "";
  position: absolute;
  right: 0;
  flex-shrink: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(to right, transparent, var(--t-bg-default));
  border-radius: 9999px;
}
.w.treeContainer .subjectDiv .startNodePreview .nodeEl {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  background-color: var(--t-fg-dim);
  border-radius: 9999px;
}
.w.treeContainer .subjectDiv .startNodePreview .nodeEl.computer {
  background-color: #CE192A;
}
.w.treeContainer .subjectDiv .startNodePreview .nodeEl.player {
  background-color: #196CCE;
}
.w.treeContainer .subjectDiv .startNodePreview .nodeEl.situation {
  background-color: #F37812;
}
.w.treeContainer .subjectDiv .startNodePreview .nodeCount {
  display: flex;
  align-items: center;
  padding: 2px 4px;
  border: 1px solid var(--t-fg-dim);
  border-radius: 4px;
  gap: 4px;
}
.w.treeContainer .subjectDiv .startNodePreview .nodeCount p {
  margin: 0;
  font-size: 0.65em;
  font-weight: 600;
}
.w.treeContainer:not(.zoom) .subjectDiv:hover {
  background-color: var(--t-bg-highlight);
}
.w.treeContainer:not(.zoom) .subjectDiv:hover .startNodePreview::after {
  background: linear-gradient(to right, transparent, var(--t-bg-highlight));
}
.w.treeContainer:not(.zoom).ui-selected .subjectDiv, .w.treeContainer:not(.zoom).ui-selecting .subjectDiv {
  color: white;
  background-color: #475569;
  border-color: #94A3B8;
}
.w.treeContainer:not(.zoom).ui-selected .subjectDiv .startNodePreview::after, .w.treeContainer:not(.zoom).ui-selecting .subjectDiv .startNodePreview::after {
  background: linear-gradient(to right, transparent, #475569);
}

.treeDiv {
  position: relative;
  display: none;
  overflow: auto;
}
.treeDiv.backgroundPattern {
  background: radial-gradient(circle, var(--dot-color) var(--dot-radius), transparent var(--dot-radius)) center/var(--dot-space-x) var(--dot-space-y), var(--bg-color);
  background-attachment: local;
  background-color: var(--bg-color);
  background-position: calc(var(--dot-space-x) / 2) calc(var(--dot-space-y) / 2);
  --dot-color: var(--t-grid-dot-color);
  --bg-color: var(--t-bg-dim);
  --dot-radius: 1px;
}
.treeDiv.dragging {
  cursor: move;
}

.subjectDiv .subjectName {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.subjectDiv .subjectNameInput {
  position: relative;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
}

/* © DialogueTrainer */
/* © DialogueTrainer */
#logo {
  position: relative;
  width: 32px;
  height: 32px;
  padding: 8px;
  background: #3892FF;
  box-sizing: border-box;
  transition: 0.5s background ease-out;
}
#logo:hover {
  background: #52a0ff;
  transition: 0.1s background ease-in-out;
}
#logo img {
  width: 16px;
  height: 16px;
  fill: white;
  transition: 0.5s top ease-out;
}

#toolbar {
  display: grid;
  height: 48px;
  padding: 0;
  margin: 0;
  color: var(--t-fg-highlight);
  background-color: var(--t-bg-default);
  grid-area: toolbar;
  grid-template-columns: 1fr minmax(260px, 1fr) 1fr;
}
#toolbar hr {
  height: 1px;
  padding: 0;
  margin: 0;
  background-color: var(--t-fg-dim);
  border: none;
  opacity: 0.25;
}
#toolbar .left, #toolbar .center, #toolbar .right {
  display: flex;
}
#toolbar .center {
  justify-content: center;
  padding-inline: 8px;
}
#toolbar .right {
  justify-content: flex-end;
}
#toolbar .switch {
  position: absolute;
  top: 20%;
  right: 4px;
  width: 14px;
  height: 8px;
}
#toolbar .switch .slider {
  position: absolute;
  cursor: pointer;
  border-radius: 9999px;
  outline: 1px solid var(--t-fg-dim);
  transition: outline 0.3s;
  inset: 0;
}
#toolbar .switch .slider::before {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 1px;
  width: 6px;
  height: 6px;
  background-color: var(--t-fg-dim);
  border-radius: inherit;
  transition: left 0.3s, background-color 0.3s;
}
#toolbar button svg {
  width: 18px;
  height: 18px;
}
#toolbar > div > button, #toolbar > div > div > #themeSwitchButton {
  width: 44px;
  color: var(--t-fg-default);
  text-align: center;
  transition: background-color 0.3s ease-in-out;
}
#toolbar > div > button#newPlayerNode, #toolbar > div > div > #themeSwitchButton#newPlayerNode {
  color: #196CCE;
}
#toolbar > div > button#newComputerNode, #toolbar > div > div > #themeSwitchButton#newComputerNode {
  color: #CE192A;
}
#toolbar > div > button#newSituationNode, #toolbar > div > div > #themeSwitchButton#newSituationNode {
  color: #F37812;
}
#toolbar > div > button:enabled:hover, #toolbar > div > div > #themeSwitchButton:enabled:hover {
  background-color: var(--t-bg-dim);
}
#toolbar > div > button.buttonSwitch, #toolbar > div > div > #themeSwitchButton.buttonSwitch {
  position: relative;
}
#toolbar > div > button.buttonSwitch svg, #toolbar > div > div > #themeSwitchButton.buttonSwitch svg {
  margin-left: -4px;
}
#toolbar > div > button.buttonSwitch.enabled .slider, #toolbar > div > div > #themeSwitchButton.buttonSwitch.enabled .slider {
  outline-color: var(--t-fg-highlight);
}
#toolbar > div > button.buttonSwitch.enabled .slider::before, #toolbar > div > div > #themeSwitchButton.buttonSwitch.enabled .slider::before {
  left: calc(100% - 6px - 1px);
  background-color: var(--t-fg-highlight);
}
#toolbar > div > button:disabled, #toolbar > div > div > #themeSwitchButton:disabled {
  display: none;
}
#toolbar > div > .splitButton.disabled {
  display: none;
  pointer-events: none;
}
#toolbar > div > .splitButton:not(.disabled):hover .buttons {
  background-color: var(--t-bg-dim);
}
#toolbar > div > .splitButton .buttons {
  display: flex;
  justify-content: center;
  width: 52px;
  height: 100%;
  color: var(--t-fg-default);
  transition: background-color 0.2s ease-in-out;
}
#toolbar > div > .splitButton .buttons button, #toolbar > div > .splitButton .buttons .dropdownButton {
  padding-inline: 0;
  color: inherit;
}
#toolbar > div > .splitButton .buttons button:not(.dropdownButton) {
  padding-left: 8px;
}
#toolbar > div > .splitButton .buttons .dropdownButton svg {
  width: 24px;
  height: 24px;
}
#toolbar #themeSwitchDropdown > button .switch {
  position: relative;
  top: unset;
  right: unset;
  width: 36px;
  height: 20px;
  margin-left: auto;
}
#toolbar #themeSwitchDropdown > button .switch .slider::before {
  bottom: 2px;
  left: 4px;
  width: 16px;
  height: 16px;
  background-color: var(--t-fg-dim);
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3.55 19.09L4.96 20.5L6.76 18.71L5.34 17.29M12 6C8.69 6 6 8.69 6 12S8.69 18 12 18 18 15.31 18 12C18 8.68 15.31 6 12 6M20 13H23V11H20M17.24 18.71L19.04 20.5L20.45 19.09L18.66 17.29M20.45 5L19.04 3.6L17.24 5.39L18.66 6.81M13 1H11V4H13M6.76 5.39L4.96 3.6L3.55 5L5.34 6.81L6.76 5.39M1 13H4V11H1M13 20H11V23H13" /></svg>');
          mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3.55 19.09L4.96 20.5L6.76 18.71L5.34 17.29M12 6C8.69 6 6 8.69 6 12S8.69 18 12 18 18 15.31 18 12C18 8.68 15.31 6 12 6M20 13H23V11H20M17.24 18.71L19.04 20.5L20.45 19.09L18.66 17.29M20.45 5L19.04 3.6L17.24 5.39L18.66 6.81M13 1H11V4H13M6.76 5.39L4.96 3.6L3.55 5L5.34 6.81L6.76 5.39M1 13H4V11H1M13 20H11V23H13" /></svg>');
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
}
#toolbar #themeSwitchDropdown > button.enabled .slider {
  outline-color: var(--t-fg-highlight);
}
#toolbar #themeSwitchDropdown > button.enabled .slider::before {
  left: calc(100% - 18px - 1px);
  background-color: var(--t-fg-highlight);
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17.75,4.09L15.22,6.03L16.13,9.09L13.5,7.28L10.87,9.09L11.78,6.03L9.25,4.09L12.44,4L13.5,1L14.56,4L17.75,4.09M21.25,11L19.61,12.25L20.2,14.23L18.5,13.06L16.8,14.23L17.39,12.25L15.75,11L17.81,10.95L18.5,9L19.19,10.95L21.25,11M18.97,15.95C19.8,15.87 20.69,17.05 20.16,17.8C19.84,18.25 19.5,18.67 19.08,19.07C15.17,23 8.84,23 4.94,19.07C1.03,15.17 1.03,8.83 4.94,4.93C5.34,4.53 5.76,4.17 6.21,3.85C6.96,3.32 8.14,4.21 8.06,5.04C7.79,7.9 8.75,10.87 10.95,13.06C13.14,15.26 16.1,16.22 18.97,15.95M17.33,17.97C14.5,17.81 11.7,16.64 9.53,14.5C7.36,12.31 6.2,9.5 6.04,6.68C3.23,9.82 3.34,14.64 6.35,17.66C9.37,20.67 14.19,20.78 17.33,17.97Z" /></svg>');
          mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17.75,4.09L15.22,6.03L16.13,9.09L13.5,7.28L10.87,9.09L11.78,6.03L9.25,4.09L12.44,4L13.5,1L14.56,4L17.75,4.09M21.25,11L19.61,12.25L20.2,14.23L18.5,13.06L16.8,14.23L17.39,12.25L15.75,11L17.81,10.95L18.5,9L19.19,10.95L21.25,11M18.97,15.95C19.8,15.87 20.69,17.05 20.16,17.8C19.84,18.25 19.5,18.67 19.08,19.07C15.17,23 8.84,23 4.94,19.07C1.03,15.17 1.03,8.83 4.94,4.93C5.34,4.53 5.76,4.17 6.21,3.85C6.96,3.32 8.14,4.21 8.06,5.04C7.79,7.9 8.75,10.87 10.95,13.06C13.14,15.26 16.1,16.22 18.97,15.95M17.33,17.97C14.5,17.81 11.7,16.64 9.53,14.5C7.36,12.31 6.2,9.5 6.04,6.68C3.23,9.82 3.34,14.64 6.35,17.66C9.37,20.67 14.19,20.78 17.33,17.97Z" /></svg>');
}
#toolbar .dropdown {
  width: auto;
  height: 100%;
  margin-top: 0;
  border-radius: 0;
}
#toolbar .dropdown button {
  width: 100%;
  height: 100%;
}
#toolbar .dropdown button#fileButton, #toolbar .dropdown button#scenarioButton {
  color: white;
  padding-inline: 12px;
}
#toolbar .dropdown button#fileButton {
  background-color: #3892FF;
}
#toolbar .dropdown button#scenarioButton {
  background-color: #0071fa;
}
#toolbar .dropdown .dropdownItems {
  position: absolute;
  z-index: 200;
  display: none;
  width: auto;
  height: auto;
  min-width: 170px;
  margin-top: 8px;
  color: var(--t-fg-default);
  background: var(--t-bg-default);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 4px 10px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}
#toolbar .dropdown .dropdownItems::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 16%;
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-top: none;
  border-bottom-color: var(--t-bg-default);
  transform: translateX(-50%);
}
#toolbar .dropdown .dropdownItems button {
  justify-content: flex-start;
  padding: 12px 8px;
  color: inherit;
  white-space: nowrap;
  gap: 8px;
}
#toolbar .dropdown .dropdownItems button:enabled:hover {
  background-color: var(--t-bg-dim);
}
#toolbar .dropdown .dropdownItems button:disabled {
  opacity: 0.3;
}
#toolbar .dropdown .dropdownItems button svg {
  flex-shrink: 0;
}
#toolbar .dropdown .dropdownItems span, #toolbar .dropdown .dropdownItems kbd {
  margin-left: auto;
}
#toolbar .dropdown .dropdownItems span + span, #toolbar .dropdown .dropdownItems span kbd, #toolbar .dropdown .dropdownItems kbd + span, #toolbar .dropdown .dropdownItems kbd kbd {
  margin-left: 4px;
}
#toolbar .dropdown .dropdownItems kbd {
  padding: 2px 4px;
  opacity: 0.8;
}
#toolbar .dropdown .dropdownItems .flexbox button:has(~ button.addChildButton:enabled) {
  padding: 8px 4px;
  margin: 4px;
  border-radius: 4px;
}
#toolbar .dropdown .dropdownItems .flexbox button.addChildButton {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 9999px !important;
}
#toolbar .dropdown .dropdownItems .flexbox button.addChildButton.computer {
  background-color: #CE192A;
}
#toolbar .dropdown .dropdownItems .flexbox button.addChildButton.player {
  background-color: #196CCE;
}
#toolbar .dropdown .dropdownItems .flexbox button.addChildButton.situation {
  background-color: #F37812;
}
#toolbar .dropdown .dropdownItems .flexbox button.addChildButton:disabled {
  display: none;
}
#toolbar .dropdown .dropdownItems .flexbox button.addChildButton:last-child {
  margin-right: 8px !important;
}

#breadcrumbs {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 8px;
  overflow: hidden;
  font-size: 0.9em;
  grid-area: breadcrumbs;
  gap: 2px;
}
#breadcrumbs .scenarioName, #breadcrumbs .subjectName {
  flex: 0 1 auto;
  min-width: 30px;
  font-weight: 600;
  white-space: nowrap;
}
#breadcrumbs .scenarioName:not(.editing) > span:hover, #breadcrumbs .subjectName:not(.editing) > span:hover {
  background-color: rgba(56, 146, 255, 0.1);
  border-color: #3892FF;
}
#breadcrumbs .scenarioName > span, #breadcrumbs .subjectName > span {
  display: inline-block;
  min-width: 30px;
  max-width: 100%;
  padding: 0 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 4px;
  box-sizing: border-box;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
#breadcrumbs .scenarioName > span:empty, #breadcrumbs .subjectName > span:empty {
  min-height: 1.25em;
  text-align: center;
  background-color: rgba(56, 146, 255, 0.1);
  border-color: #3892FF;
}
#breadcrumbs .scenarioName > span:empty::after, #breadcrumbs .subjectName > span:empty::after {
  content: "...";
}
#breadcrumbs .slashDivider {
  flex-shrink: 0;
  opacity: 0.5;
}
#breadcrumbs .editing {
  width: 100%;
}
#breadcrumbs .scenarioName {
  flex-shrink: 2;
}
#breadcrumbs.zoomed .scenarioName {
  font-weight: 400;
  opacity: 0.65;
}

#export {
  position: relative;
}
@keyframes fade {
  to {
    opacity: 0;
  }
}
#export.unsavedChanges::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 8px;
  z-index: 1;
  width: 8px;
  height: 8px;
  background: #CE192A;
  border: 2px solid var(--t-bg-default);
  border-radius: 100%;
}
.saving #export.unsavedChanges::before {
  animation: fade 1s infinite alternate;
}

#languages {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}

/* © DialogueTrainer */
/* © DialogueTrainer */
:where(#sidebar) {
  position: relative;
  width: 425px;
  min-width: 0;
  min-height: 0;
  font-size: 11pt;
  color: var(--t-fg-default);
  background-color: var(--t-bg-default);
  grid-area: sidebar;
}
:where(#sidebar) input, :where(#sidebar) textarea, :where(#sidebar) select, :where(#sidebar) button {
  color-scheme: light;
}
:where(#sidebar) input[type=text], :where(#sidebar) textarea {
  color: var(--t-fg-highlight);
  background-color: var(--t-bg-contrast);
  border-color: var(--t-bg-dim);
}
:where(#sidebar) textarea {
  resize: vertical;
}
:where(#sidebar) button {
  color: var(--theme-fg-sidebar-button);
  background-color: var(--theme-bg-sidebar-button);
}
:where(#sidebar) button.add-item svg {
  fill: #3892FF;
}
:where(#sidebar) button.add-item, :where(#sidebar) button.delete {
  padding: 0;
  background-color: transparent;
}
:where(#sidebar) button.add-item svg, :where(#sidebar) button.delete svg {
  width: 20px;
  height: 20px;
}
:where(#sidebar) #sidebarType {
  position: absolute;
  top: 80px;
  left: -40px;
  z-index: 100;
  border-radius: 8px 0 0 8px;
  box-shadow: inset -2px 0 10px rgba(0, 0, 0, 0.1);
}
:where(#sidebar) #sidebarType.tree {
  background-color: #3892FF;
}
:where(#sidebar) #sidebarType.player {
  background-color: #196CCE;
}
:where(#sidebar) #sidebarType.computer {
  background-color: #CE192A;
}
:where(#sidebar) #sidebarType.situation {
  background-color: #F37812;
}
:where(#sidebar) #sidebarType .header {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 28px;
  padding: 4px;
}
:where(#sidebar) #sidebarType .header svg {
  width: 24px;
  height: 24px;
  fill: white;
  vertical-align: middle;
}
:where(#sidebar) .sidebarContent {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 4px 10px rgba(0, 0, 0, 0.04);
}
:where(#sidebar) .grip {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -5px;
  z-index: 100;
  width: 10px;
  cursor: ew-resize;
  background: black;
  opacity: 0;
}
:where(#sidebar) .grip:hover {
  opacity: 0.25;
  transition: 0s opacity 0.1s linear;
}
:where(#sidebar).dragging > * {
  opacity: 0.5;
}
:where(#sidebar) .inputgroup {
  display: flex;
  gap: 4px;
  align-items: center;
}
:where(#sidebar) .inputgroup button {
  padding: 4px;
}
:where(#sidebar) .section {
  display: contents;
}
:where(#sidebar) .collapsable {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
:where(#sidebar) .collapsable button {
  width: -moz-max-content;
  width: max-content;
}
:where(#sidebar) .subsection {
  margin-bottom: 16px;
  margin-left: 16px;
}
:where(#sidebar) label {
  line-height: 1.6;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
:where(#sidebar) .parameter-effect, :where(#sidebar) .condition:not(.groupcondition) {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
  overflow: hidden;
  gap: 4px;
}
:where(#sidebar) .parameter-effect:last-child, :where(#sidebar) .condition:not(.groupcondition):last-child {
  margin-bottom: 8px;
}
:where(#sidebar) .parameter-effect span, :where(#sidebar) .parameter-effect .inputgroup, :where(#sidebar) .parameter-effect .parameter-effect-container, :where(#sidebar) .condition:not(.groupcondition) span, :where(#sidebar) .condition:not(.groupcondition) .inputgroup, :where(#sidebar) .condition:not(.groupcondition) .parameter-effect-container {
  display: flex;
  align-items: center;
  gap: 4px;
}
:where(#sidebar) .parameter-effect .handle, :where(#sidebar) .parameter-effect > select, :where(#sidebar) .parameter-effect span, :where(#sidebar) .parameter-effect .inputgroup > select, :where(#sidebar) .condition:not(.groupcondition) .handle, :where(#sidebar) .condition:not(.groupcondition) > select, :where(#sidebar) .condition:not(.groupcondition) span, :where(#sidebar) .condition:not(.groupcondition) .inputgroup > select {
  flex: 0 0 auto;
  overflow: hidden;
}
:where(#sidebar) .parameter-effect .parameter-effect-container,
:where(#sidebar) .parameter-effect .parameter-effect-value-container, :where(#sidebar) .condition:not(.groupcondition) .parameter-effect-container,
:where(#sidebar) .condition:not(.groupcondition) .parameter-effect-value-container {
  min-width: auto;
}
:where(#sidebar) .parameter-effect input[type=number], :where(#sidebar) .condition:not(.groupcondition) input[type=number] {
  flex-grow: 1;
}
:where(#sidebar) .parameter-effect .parameter-idref-select, :where(#sidebar) .condition:not(.groupcondition) .parameter-idref-select {
  flex: 1 1 auto !important;
  min-width: 30px;
}
:where(#sidebar) .buttonsWrapper {
  margin-top: 8px;
  margin-bottom: 4px;
}

#sidebar .sidebarShrinkExpand svg.expand {
  display: none;
}
#sidebar.collapsed .sidebarShrinkExpand svg.shrink {
  display: none;
}
#sidebar.collapsed .sidebarShrinkExpand svg.expand {
  display: block;
}
#sidebar #sidebarType {
  cursor: pointer;
}
#sidebar #sidebarType .sidebarShrinkExpand {
  display: none;
}
#sidebar #sidebarType:hover .header {
  display: none;
}
#sidebar #sidebarType:hover .sidebarShrinkExpand {
  display: flex;
}

#properties.player > #headerComputer, #properties.player > #characterSection, #properties.situation > #headerComputer, #properties.situation > #characterSection, #properties.tree > #headerComputer, #properties.tree > #characterSection, #sidebarType.player > #headerComputer, #sidebarType.player > #characterSection, #sidebarType.situation > #headerComputer, #sidebarType.situation > #characterSection, #sidebarType.tree > #headerComputer, #sidebarType.tree > #characterSection {
  display: none;
}
#properties.player > #headerSubject, #properties.situation > #headerSubject, #properties.computer > #headerSubject, #sidebarType.player > #headerSubject, #sidebarType.situation > #headerSubject, #sidebarType.computer > #headerSubject {
  display: none;
}
#properties.player > #headerSituation, #sidebarType.player > #headerSituation {
  display: none;
}
#properties.situation > #headerPlayer, #sidebarType.situation > #headerPlayer {
  display: none;
}
#properties.computer > #headerPlayer, #properties.computer > #headerSituation, #sidebarType.computer > #headerPlayer, #sidebarType.computer > #headerSituation {
  display: none;
}
#properties.tree > #headerPlayer,
#properties.tree > #headerSituation,
#properties.tree > #preconditionsSection,
#properties.tree > #effectsSection,
#properties.tree > #propertyValuesSection, #sidebarType.tree > #headerPlayer,
#sidebarType.tree > #headerSituation,
#sidebarType.tree > #preconditionsSection,
#sidebarType.tree > #effectsSection,
#sidebarType.tree > #propertyValuesSection {
  display: none;
}

.header h1 {
  margin: 0;
  overflow: hidden;
  font-size: 1.25em;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.header img {
  margin-right: 12px;
  vertical-align: middle;
}

.sub-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--t-fg-highlight);
}
.sub-header h2 {
  margin: 0;
  overflow: hidden;
  font-size: 1.1em;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.sub-header h2 label {
  line-height: 1em;
  vertical-align: middle;
}
.sub-header img {
  margin-right: 5px;
  vertical-align: middle;
}

.sidebarSection {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-top: 1px solid var(--theme-sidebar-section-border);
  gap: 12px;
}
.sidebarSection:last-child {
  padding-bottom: 24px;
}
.sidebarSection h3 {
  margin-block: 0.5em;
  font-size: 0.9em;
  font-weight: 600;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.sidebarRow ul.listType {
  margin-block-start: 4px;
  margin-block-end: 0;
}
.sidebarRow li:first-of-type + div {
  display: block;
  margin-bottom: 4px;
}
.sidebarRow .buttonIcon {
  margin-left: auto;
  color: #94A3B8;
}
.sidebarRow .buttonIcon svg {
  width: 20px;
  height: 20px;
}

#propertyValuesSection table,
#characterSection table {
  width: 100%;
  table-layout: fixed;
}
#propertyValuesSection th,
#characterSection th {
  width: 30%;
  font-weight: normal;
  text-align: left;
  vertical-align: top;
}
#propertyValuesSection td,
#characterSection td {
  text-align: left;
  word-wrap: break-word;
  vertical-align: top;
}
#propertyValuesSection td + th,
#characterSection td + th {
  width: 70%;
}
#propertyValuesSection td input, #propertyValuesSection td select, #propertyValuesSection td textarea,
#characterSection td input,
#characterSection td select,
#characterSection td textarea {
  width: 100%;
  box-sizing: border-box;
}
#propertyValuesSection tr,
#characterSection tr {
  border-bottom: 1px solid black;
}

#preconditionsSection {
  white-space: nowrap;
}

.clicktag {
  padding: 0;
  opacity: 0.7;
}
.clicktag:enabled:hover {
  opacity: 1;
}
.clicktag svg {
  width: 20px;
  height: 20px;
}

/* © DialogueTrainer */
/* © DialogueTrainer */
#tabDock .typeButtons button, #tabDock .typeButtons .label, #tabDock #elementList button, #tabDock #elementList .label {
  padding: 4px;
  border-radius: 9999px;
}
#tabDock .typeButtons button.computer, #tabDock .typeButtons .label.computer, #tabDock #elementList button.computer, #tabDock #elementList .label.computer {
  background-color: rgba(206, 25, 42, 0.2);
  border-color: #CE192A;
}
#tabDock .typeButtons button.computer svg, #tabDock .typeButtons .label.computer svg, #tabDock #elementList button.computer svg, #tabDock #elementList .label.computer svg {
  width: 18px;
  height: 18px;
  fill: #CE192A;
}
#tabDock .typeButtons button.computer.selectedType, #tabDock .typeButtons .label.computer.selectedType, #tabDock #elementList button.computer.selectedType, #tabDock #elementList .label.computer.selectedType {
  background-color: #CE192A;
}
#tabDock .typeButtons button.computer.selectedType:hover, #tabDock .typeButtons .label.computer.selectedType:hover, #tabDock #elementList button.computer.selectedType:hover, #tabDock #elementList .label.computer.selectedType:hover {
  opacity: 1;
}
#tabDock .typeButtons button.computer.selectedType svg, #tabDock .typeButtons .label.computer.selectedType svg, #tabDock #elementList button.computer.selectedType svg, #tabDock #elementList .label.computer.selectedType svg {
  fill: white;
}
#tabDock .typeButtons button.player, #tabDock .typeButtons .label.player, #tabDock #elementList button.player, #tabDock #elementList .label.player {
  background-color: rgba(25, 108, 206, 0.2);
  border-color: #196CCE;
}
#tabDock .typeButtons button.player svg, #tabDock .typeButtons .label.player svg, #tabDock #elementList button.player svg, #tabDock #elementList .label.player svg {
  width: 18px;
  height: 18px;
  fill: #196CCE;
}
#tabDock .typeButtons button.player.selectedType, #tabDock .typeButtons .label.player.selectedType, #tabDock #elementList button.player.selectedType, #tabDock #elementList .label.player.selectedType {
  background-color: #196CCE;
}
#tabDock .typeButtons button.player.selectedType:hover, #tabDock .typeButtons .label.player.selectedType:hover, #tabDock #elementList button.player.selectedType:hover, #tabDock #elementList .label.player.selectedType:hover {
  opacity: 1;
}
#tabDock .typeButtons button.player.selectedType svg, #tabDock .typeButtons .label.player.selectedType svg, #tabDock #elementList button.player.selectedType svg, #tabDock #elementList .label.player.selectedType svg {
  fill: white;
}
#tabDock .typeButtons button.situation, #tabDock .typeButtons .label.situation, #tabDock #elementList button.situation, #tabDock #elementList .label.situation {
  background-color: rgba(243, 120, 18, 0.2);
  border-color: #F37812;
}
#tabDock .typeButtons button.situation svg, #tabDock .typeButtons .label.situation svg, #tabDock #elementList button.situation svg, #tabDock #elementList .label.situation svg {
  width: 18px;
  height: 18px;
  fill: #F37812;
}
#tabDock .typeButtons button.situation.selectedType, #tabDock .typeButtons .label.situation.selectedType, #tabDock #elementList button.situation.selectedType, #tabDock #elementList .label.situation.selectedType {
  background-color: #F37812;
}
#tabDock .typeButtons button.situation.selectedType:hover, #tabDock .typeButtons .label.situation.selectedType:hover, #tabDock #elementList button.situation.selectedType:hover, #tabDock #elementList .label.situation.selectedType:hover {
  opacity: 1;
}
#tabDock .typeButtons button.situation.selectedType svg, #tabDock .typeButtons .label.situation.selectedType svg, #tabDock #elementList button.situation.selectedType svg, #tabDock #elementList .label.situation.selectedType svg {
  fill: white;
}

#tabDock {
  position: relative;
  z-index: 100;
  display: flex;
  flex-direction: column;
  min-height: 36px;
  color: var(--t-fg-highlight);
  background-color: var(--t-bg-default);
  grid-area: tab-dock;
}
#tabDock.closed {
  height: auto !important;
}
#tabDock.closed .header .tabs > button {
  opacity: 1;
}
#tabDock.closed .grip {
  display: none;
}
#tabDock:not(.closed) .content {
  padding-block: 4px;
}
#tabDock button {
  color: var(--t-fg-highlight);
}
#tabDock .grip {
  position: absolute;
  top: -4px;
  right: 0;
  left: 0;
  z-index: 100;
  height: 10px;
  cursor: ns-resize;
  background: var(--t-bg-dim);
  opacity: 0;
}
#tabDock .grip:hover {
  opacity: 0.25;
  transition: 0s opacity 0.1s linear;
}
#tabDock .header {
  display: flex;
  align-items: center;
  height: 36px;
  background-color: inherit;
  gap: 4px;
  padding-inline: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 4px 10px rgba(0, 0, 0, 0.04);
}
#tabDock .header .tabs {
  height: 100%;
  margin-inline: 0;
}
#tabDock .header .tabs > button {
  position: relative;
  height: 100%;
  padding: 4px;
  color: var(--t-fg-highlight);
  border-bottom: 2px solid transparent;
  opacity: 0.4;
}
#tabDock .header .tabs > button:hover {
  opacity: 0.7;
}
#tabDock .header .tabs > button.active {
  border-bottom: 2px solid var(--t-fg-dim);
  opacity: 1;
}
#tabDock .header .controls {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 8px;
}
#tabDock .header .controls button {
  color: var(--t-fg-dim);
}
#tabDock .header .controls button.active {
  color: #3892FF;
}
#tabDock .header .controls select {
  min-height: 24px;
  padding: 2px;
}
#tabDock .header .controls select#element-list-parameter-select {
  max-width: 240px;
}
#tabDock .header #closeTabDock {
  padding: 2px;
}
#tabDock > .content {
  position: relative;
  flex: 1;
  overflow: auto;
  font-size: 0.9em;
}
#tabDock > .content input, #tabDock > .content textarea, #tabDock > .content select, #tabDock > .content button {
  color-scheme: light;
}
#tabDock > .content td svg, #tabDock > .content ul svg {
  width: 18px;
  height: 18px;
}
#tabDock > .content td .label, #tabDock > .content ul .label {
  display: flex;
  align-items: center;
  border-style: solid;
  border-width: 1px;
  border-radius: 9999px;
}
#tabDock > .content #elementList .label {
  margin-inline-end: 4px;
}
#tabDock > .content > div, #tabDock > .content ul {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  fill: var(--t-fg-highlight);
}
#tabDock > .content > div li, #tabDock > .content ul li {
  min-height: 28px;
  padding: 4px 8px;
}
#tabDock > .content > div .actionsContainer, #tabDock > .content > div .nodeIcons, #tabDock > .content ul .actionsContainer, #tabDock > .content ul .nodeIcons {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
}

/* © DialogueTrainer */
/* © DialogueTrainer */
#validationReport .level-error a {
  color: #e94a59;
  background-color: rgba(206, 25, 42, 0.1);
  border-color: rgba(206, 25, 42, 0.4);
}
#validationReport .level-error a:hover {
  background-color: rgba(206, 25, 42, 0.15);
  border-color: rgba(206, 25, 42, 0.5);
}
#validationReport .level-error .badge {
  background-color: #CE192A;
}
#validationReport .level-warning a {
  color: #f7a15b;
  background-color: rgba(243, 120, 18, 0.1);
  border-color: rgba(243, 120, 18, 0.4);
}
#validationReport .level-warning a:hover {
  background-color: rgba(243, 120, 18, 0.15);
  border-color: rgba(243, 120, 18, 0.5);
}
#validationReport .level-warning .badge {
  background-color: #F37812;
}
#validationReport .level-info a {
  color: #0dafff;
  background-color: rgba(0, 128, 191, 0.1);
  border-color: rgba(0, 128, 191, 0.4);
}
#validationReport .level-info a:hover {
  background-color: rgba(0, 128, 191, 0.15);
  border-color: rgba(0, 128, 191, 0.5);
}
#validationReport .level-info .badge {
  background-color: #0080BF;
}
#validationReport .badge {
  display: inline-block;
  padding: 4px 8px;
  font-size: 0.9em;
  font-weight: 400;
  color: white;
  border-radius: 4px;
}
#validationReport a {
  display: inline-block;
  padding: 2px 4px;
  text-decoration: none;
  border: 1px solid black;
  border-radius: 4px;
}
#validationReport a::after {
  content: "↗";
  margin-left: 4px;
  font-weight: bold;
  opacity: 0.75;
}
#validationReport a:hover::after {
  opacity: 1;
}
#validationReport .no-problems {
  color: #2A3;
  padding-inline: 16px;
}

/* © DialogueTrainer */
/* © DialogueTrainer */
.hasStyledTable table {
  width: 100%;
  border: hidden;
  border-collapse: collapse;
  border-spacing: 0;
}
.hasStyledTable table tbody:not(:last-child)::after, .hasStyledTable table tbody:not(:first-child)::before {
  content: "";
  display: table-row;
  height: 3px;
}
.hasStyledTable table tbody:not(:last-child)::after {
  border-top: hidden;
}
.hasStyledTable table tbody:not(:first-child)::before {
  border-bottom: hidden;
}
.hasStyledTable table tbody:empty {
  display: none;
}
.hasStyledTable table tr > td {
  padding: 2px;
}
.hasStyledTable table tr > td:not(.fill) {
  width: 0.1%;
  white-space: nowrap;
}
.hasStyledTable table tr > td:first-child {
  padding-inline-start: 8px;
}
.hasStyledTable table tr > td:last-child {
  padding-inline-end: 8px;
}
.hasStyledTable .highlight {
  padding: 4px;
  color: var(--t-bg-highlight);
  background-color: var(--t-fg-highlight);
  border-radius: 4px;
}
.hasStyledTable .highlight:empty {
  display: none;
}

/* © DialogueTrainer */
/* © DialogueTrainer */
#canvas.dark #minimap {
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#miniwrap {
  top: 72px;
  bottom: 64px;
  display: grid;
  width: 300px;
  pointer-events: none;
  box-sizing: border-box;
  place-items: end;
}
#miniwrap #minimap {
  position: relative;
  padding: 0;
  overflow: hidden;
  pointer-events: all;
  background-color: var(--t-bg-contrast);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.1);
}
#miniwrap #minimap:hover {
  cursor: pointer;
}
#miniwrap #minimap .treeDiv {
  background-color: rgba(0, 0, 0, 0.05);
}
#miniwrap #minimap #scaledDiv {
  pointer-events: none;
}
#miniwrap #minimap #scaledDiv * {
  overflow: hidden;
}
#miniwrap #minimap #minimapSelector {
  position: absolute;
  top: 0;
  left: 0;
  width: 296px;
  height: 296px;
  background-color: rgba(56, 146, 255, 0.1);
  border: 2px solid #3892FF;
  box-sizing: border-box;
}

/* © DialogueTrainer */
/* © DialogueTrainer */
.evaluation-expression,
.scale-expression,
.expression {
  box-sizing: border-box;
}
.evaluation-expression ul,
.scale-expression ul,
.expression ul {
  padding: 0;
  margin: 4px 0;
  list-style-type: none;
}
.evaluation-expression ul:empty,
.scale-expression ul:empty,
.expression ul:empty {
  display: none;
}
.evaluation-expression select, .evaluation-expression input, .evaluation-expression textarea, .evaluation-expression button,
.scale-expression select,
.scale-expression input,
.scale-expression textarea,
.scale-expression button,
.expression select,
.expression input,
.expression textarea,
.expression button {
  transition: none;
}
.evaluation-expression textarea,
.scale-expression textarea,
.expression textarea {
  border-start-end-radius: 0;
  border-end-end-radius: 0;
  resize: vertical;
}

.expressionWrapper {
  display: flex;
  flex-direction: column;
  align-items: start;
  accent-color: var(--color-expression);
}
.expressionWrapper.literal {
  --color-expression: #777;
}
.expressionWrapper.reference {
  --color-expression: #9424CC;
}
.expressionWrapper.sum {
  --color-expression: #14A450;
}
.expressionWrapper.scale, .expressionWrapper.divide {
  --color-expression: #3F73DB;
}
.expressionWrapper.choose {
  --color-expression: #F2A007;
}
.expressionWrapper.score, .expressionWrapper.profileScore {
  --color-expression: #C7402D;
}
.expressionWrapper.literal:not(.string), .expressionWrapper.reference:not(.string) {
  flex-direction: row;
}
.expressionWrapper.literal:not(.string) .expression, .expressionWrapper.reference:not(.string) .expression {
  flex-grow: 1;
}
.expressionWrapper .expression {
  align-self: stretch;
}
.expressionWrapper button.col-default.roundedPill {
  padding: 4px 8px;
  background-color: var(--color-expression);
}
.expressionWrapper select {
  width: -moz-min-content;
  width: min-content;
}

.expressionWrapper,
.condition .condition,
.when,
.score li,
.profileScore li {
  padding: 8px;
  padding-inline-end: 0;
  margin-bottom: 1px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-inline-end-width: 0;
  border-radius: 4px 0 0 4px;
  gap: 8px;
}

.expressionWrapper,
.score li,
.profileScore li {
  border-left-color: var(--color-expression);
  border-left-width: 4px;
}

.reference .reference-calculate {
  margin-inline-start: 8px;
}

.sum .sum-expression {
  display: grid;
  grid-template-areas: "kind . delete" "expression expression expression";
  grid-template-columns: min-content 1fr min-content;
}
.sum .sum-expression > .expression-kind {
  grid-area: kind;
}
.sum .sum-expression > button.delete {
  grid-area: delete;
}
.sum .sum-expression > .expression {
  grid-area: expression;
}
.sum .sum-expression.literal, .sum .sum-expression.reference {
  display: flex;
}

.scale .scale-expression {
  margin-block-end: 8px;
}
.scale .scale-operator {
  margin-inline-end: 8px;
}

.divide hr {
  border-bottom-color: currentColor;
  border-bottom-style: solid;
  opacity: 0.35;
}

.choose .when {
  display: grid;
  grid-template-areas: "label delete" "condition condition" "then then";
  grid-template-columns: 1fr min-content;
}
.choose .when > label:first-child {
  grid-area: label;
}
.choose .when button.delete {
  grid-area: delete;
}
.choose .when .groupcondition {
  grid-area: condition;
}
.choose .when .then {
  grid-area: then;
}
.choose .when label {
  align-self: center;
}
.choose .then > label, .choose .otherwise > label {
  display: block;
  margin-bottom: 8px;
}
.choose .otherwise {
  margin-top: 4px;
}

.score li,
.profileScore li {
  display: grid;
  grid-template-areas: "kind weight delete";
  grid-template-columns: min-content 1fr min-content;
  border-left-color: rgba(0, 0, 0, 0.15);
  border-left-width: 1px;
}
.score li > .expression-kind,
.profileScore li > .expression-kind {
  grid-area: kind;
}
.score li > button.delete,
.profileScore li > button.delete {
  grid-area: delete;
}

.score .score-reference,
.score .score-weight {
  display: flex;
  gap: 8px;
}
.score .score-weight {
  grid-area: weight;
}

.candidateForDeletion {
  position: relative;
  overflow: hidden;
  background: repeating-linear-gradient(45deg, #fde7d4, #fde7d4 5px, #fdecde 5px, #fdecde 10px);
}
.candidateForDeletion > *:not(.deleteDialog, .delete) {
  opacity: 0.25;
  filter: blur(3px) saturate(0);
}
.candidateForDeletion > .delete {
  position: relative;
  z-index: 1;
}
.candidateForDeletion .deleteDialog {
  position: absolute;
  display: grid;
  color: #334155;
  padding-inline: 8px;
  inset: 0;
  padding-inline-end: 36px;
  place-items: center;
}
.candidateForDeletion .deleteDialog .container {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  -moz-column-gap: 16px;
       column-gap: 16px;
  text-align: center;
}
.candidateForDeletion .deleteDialog .container div {
  display: flex;
  gap: 4px;
}
.candidateForDeletion .deleteDialog span {
  font-size: 0.9em;
}
.candidateForDeletion .deleteDialog button {
  padding: 0 8px;
  border-radius: 9999px;
}
.candidateForDeletion .deleteDialog button:enabled:hover {
  background-color: rgba(243, 120, 18, 0.25);
}
.candidateForDeletion .deleteDialog button.highlight {
  color: white;
  background-color: #F37812;
}
.candidateForDeletion .deleteDialog button.highlight:enabled:hover {
  background-color: #e06c0b;
}

.evaluation-expression {
  min-width: 200px;
  border-inline-end-width: 1px;
  border-radius: 8px;
}

.condition {
  display: flex;
  justify-content: space-between;
}
.condition.empty > .emptyLabel {
  display: block;
}
.condition .emptyLabel {
  display: none;
}
.condition .handle {
  align-self: auto;
  padding-inline-end: 4px;
}
.condition .parameter-idref-select {
  flex: 1 1 auto;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.condition .condition-test-container {
  white-space: nowrap;
}
.condition .condition-test-container > *:not(:first-child) {
  margin-inline-start: 8px;
}
.condition .buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.groupcondition {
  display: grid;
  grid-template-areas: "handle labels delete" "conditions conditions conditions" "buttons buttons buttons";
  grid-template-columns: min-content 1fr min-content;
}
.groupcondition .handle {
  grid-area: handle;
}
.groupcondition .emptyLabel, .groupcondition .groupConditionRadioDiv {
  grid-area: labels;
}
.groupcondition button.delete {
  grid-area: delete;
}
.groupcondition .buttons {
  grid-area: buttons;
}
.groupcondition .groupConditionDiv {
  margin: 4px 0;
  grid-area: conditions;
}
.groupcondition .groupConditionDiv:empty {
  min-height: 16px;
  border: 1px dashed currentColor;
  border-radius: 4px 0 0 4px;
  border-inline-end-width: 0;
}

.groupConditionRadioDiv {
  display: flex;
  align-items: center;
  gap: 8px;
}
.condition:not(.multiple) > .groupConditionRadioDiv {
  display: none;
}
.groupConditionRadioDiv label {
  display: flex;
  align-items: center;
}
.groupConditionRadioDiv input {
  width: auto;
}

#preconditionsDiv > .groupcondition > .groupConditionDiv .condition {
  padding: 4px;
  border-color: var(--t-fg-dim);
}
#preconditionsDiv > .groupcondition > .groupConditionDiv > .condition {
  border-radius: 4px;
  border-inline-end-width: 1px;
  padding-inline-end: 0;
}

/* © DialogueTrainer */
#colorPicker {
  z-index: 51;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.5));
  animation: pop-in 0.2s ease-in-out 0s;
}
#colorPicker .edit,
#colorPicker .close {
  pointer-events: all;
}
#colorPicker .edit:hover,
#colorPicker .close:hover {
  cursor: pointer;
}

.segment:hover {
  cursor: pointer;
  opacity: 0.75;
}

.color {
  border-style: outset;
}

@keyframes pop-in {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.75);
  }
  50% {
    opacity: 1;
  }
  75% {
    transform: translate(-50%, -50%) scale(1.025);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}
/* © DialogueTrainer */
/* © DialogueTrainer */
.w.allowInterleaveNode, .w.allowDialogueEndNode, .w.endNode {
  outline: 5px solid transparent;
}
.w.allowInterleaveNode {
  outline-color: #E680E4;
}
.w.allowDialogueEndNode {
  outline-color: #09C4C4;
}
.w.endNode {
  outline-color: #475569;
}
.w.long .iconExpand {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 16px;
  height: 16px;
  padding: 4px;
  fill: white;
  border-radius: 4px;
}
.w.long.player .iconExpand {
  background-color: #196CCE;
}
.w.long.computer .iconExpand {
  background-color: #CE192A;
}
.w.long.situation .iconExpand {
  background-color: #F37812;
}
.w.long .statementText {
  position: relative;
  max-height: 72px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(black 0%, black 75%, rgba(0, 0, 0, 0) 100%);
          mask-image: linear-gradient(black 0%, black 75%, rgba(0, 0, 0, 0) 100%);
}
.w.long .statementInput {
  min-height: 200px;
}

.statementText {
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
          hyphens: auto;
}

.lengthTest {
  position: absolute;
  width: auto;
  height: auto;
  font-size: 11px;
  white-space: nowrap;
  visibility: hidden;
}

.nodestatement {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: auto;
  font: inherit;
  box-sizing: border-box;
}

.iconsContainer {
  position: absolute;
  bottom: -16px;
  display: flex;
  align-items: center;
  pointer-events: none;
  gap: 4px;
}
.iconsContainer > span {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: all;
  background-color: #64748B;
  border: 1px solid transparent;
  border-radius: 4px;
}
.iconsContainer > span.positive {
  background-color: #5ABF86;
}
.iconsContainer > span.concern {
  background-color: #F09D25;
}
.iconsContainer > span.negative {
  background-color: #E57373;
}
.iconsContainer > span.remark {
  background-color: #2EB1F0;
}
.iconsContainer svg {
  position: relative;
  width: 15px;
  height: 15px;
  padding: 3px;
  fill: white;
  pointer-events: none;
}

.iconsContainer > span.nodePreConditions, .sideMenu .sideMenuDropdown .sideMenuItem button .iconDiv.nodePreConditions {
  background-color: #8B5CF6;
  border-color: #C4B5FD;
}
.iconsContainer > span.nodeEndKinds, .sideMenu .sideMenuDropdown .sideMenuItem button .iconDiv.nodeEndKinds {
  background-color: #94A3B8;
  border-color: #CBD5E1;
}

/* © DialogueTrainer */
/* © DialogueTrainer */
#metadata {
  width: -moz-min-content;
  width: min-content;
  max-width: 100%;
  margin: 0 auto;
  font-family: "Open Sans", "Frutiger", "Helvetica", "Arial", sans-serif;
  color: #777;
}
#metadata .index {
  width: 170px;
  box-sizing: border-box;
}
#metadata .index h1 {
  opacity: 0.5;
}
#metadata .index input[type=text].search {
  background-color: #F8FAFC;
}
#metadata .index ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
}
#metadata .index ul a {
  display: block;
  padding: 8px;
  color: inherit;
  text-decoration: none;
}
#metadata .index ul a:hover, #metadata .index ul a.active {
  color: #334155;
  background-color: #F1F5F9;
  border-radius: 4px;
}
#metadata .content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
#metadata h1, #metadata h2, #metadata label, #metadata .d, #metadata th, #metadata button, #metadata ul li {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
#metadata h1, #metadata h2, #metadata h3, #metadata h4, #metadata h5, #metadata h6 {
  padding-top: 2em;
  padding-bottom: 0.5em;
  margin: 0;
}
#metadata h1:first-child, #metadata h2:first-child, #metadata h3:first-child, #metadata h4:first-child, #metadata h5:first-child, #metadata h6:first-child {
  padding-top: 0;
}
#metadata textarea {
  resize: vertical;
}
#metadata #meta-property-values, #metadata #meta-character-property-values {
  display: contents;
}
#metadata .content > .category, #metadata #meta-property-values > .category {
  padding: 20px;
}
#metadata .category, #metadata #meta-property-values {
  background-color: #F1F5F9;
}
#metadata .category .category h1, #metadata .category .category h2, #metadata .category .category h3, #metadata .category .category h4, #metadata .category .category h5, #metadata .category .category h6, #metadata #meta-property-values .category h1, #metadata #meta-property-values .category h2, #metadata #meta-property-values .category h3, #metadata #meta-property-values .category h4, #metadata #meta-property-values .category h5, #metadata #meta-property-values .category h6 {
  margin-top: 1em;
}
#metadata .category .category h1:first-child, #metadata .category .category h2:first-child, #metadata #meta-property-values .category h1:first-child, #metadata #meta-property-values .category h2:first-child {
  margin-top: 0;
}
#metadata .category .category .item, #metadata #meta-property-values .category .item {
  padding-block: 8px;
}
#metadata .container.table {
  overflow: auto;
}
#metadata .item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
#metadata .item::after {
  content: "";
  display: block;
  clear: both;
}
#metadata .item > .itemLabel {
  margin-block: 2px;
}
#metadata .item.singleLineLabelContainer, #metadata .item.singleCellContainerLabel {
  flex-direction: row;
}
#metadata .item.singleLineLabelContainer > *:not([type=checkbox], [type=radio], [type=range]), #metadata .item.singleCellContainerLabel > *:not([type=checkbox], [type=radio], [type=range]) {
  flex: 1 1 auto;
}
#metadata .item.container {
  flex-direction: column;
  align-items: stretch;
}
#metadata .item.container > *:first-child {
  display: none;
}
#metadata .item.twoLineLabelContainer, #metadata .item.twoLineContainerLabel {
  flex-direction: column;
  align-items: stretch;
}
#metadata .item.singleCellContainerLabel > *:first-child, #metadata .item.twoLineContainerLabel > *:first-child {
  order: 1;
}
#metadata table {
  width: 100%;
}
#metadata table th, #metadata table td {
  padding: 4px 8px;
  font-size: 0.9rem;
  text-align: left;
  white-space: nowrap;
}
#metadata table th:first-child, #metadata table td:first-child {
  padding-left: 0;
}
#metadata table th.fill, #metadata table td.fill {
  width: 100%;
}
#metadata table th {
  opacity: 0.5;
}
#metadata table tr td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
#metadata table tr td span {
  display: block;
  font-size: 0.75em;
  font-style: italic;
  opacity: 0.5;
}
#metadata table tr:last-of-type td {
  border-bottom-width: 0;
}
#metadata input[type=checkbox] {
  margin-inline-end: 8px;
  margin-block-start: 4px;
  flex-shrink: 0;
}
#metadata label::first-letter {
  text-transform: uppercase;
}
#metadata .description {
  display: block;
  margin-bottom: 4px;
  font-size: 0.8em;
  opacity: 0.7;
}
#metadata .description:empty {
  display: none;
}
#metadata .inputgroup {
  display: flex;
}
#metadata .inputgroup select {
  flex-grow: 1;
}
#metadata .inputgroup button {
  flex: 0 0 auto;
}

/* © DialogueTrainer */
.print progress {
  width: 100%;
  margin-top: 10em;
}
.print .container {
  position: relative;
  height: 1px;
  page-break-after: always;
}

/* © DialogueTrainer */
/* © DialogueTrainer */
.sideMenu, .sideMenuOpenIcon {
  position: absolute;
  top: 5%;
  left: 100%;
  z-index: 100;
}
.sideMenu svg, .sideMenuOpenIcon svg {
  fill: white;
}
.subjectDiv > .sideMenu, .subjectDiv > .sideMenuOpenIcon {
  margin-left: 2px;
}

.sideMenu .tippy-box {
  font-size: revert;
  color: revert;
  background-color: revert;
}
.sideMenu .tippy-content {
  padding: 0;
}
.sideMenu .sideMenuDropdown {
  flex-direction: column;
  overflow: hidden;
  list-style-type: none;
  background-color: #1E293B;
  border-radius: 4px;
  transition: background-color 0.3s ease-in-out;
}
.sideMenu .sideMenuDropdown .sideMenuItem button {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  padding: 8px;
  font-size: 11px;
  color: white;
  white-space: nowrap;
  background-color: #1E293B;
  border: none;
  transition: background-color 0.3s ease-in-out;
  gap: 8px;
}
.sideMenu .sideMenuDropdown .sideMenuItem button:enabled:hover {
  background-color: #334155;
}
.sideMenu .sideMenuDropdown .sideMenuItem button.clicked::after {
  content: "";
  position: relative;
  left: -4px;
  width: 16px;
  height: 16px;
  background-color: #14B8A6;
  clip-path: polygon(28% 38%, 41% 53%, 75% 24%, 86% 38%, 40% 78%, 15% 50%);
}
.sideMenu .sideMenuDropdown .sideMenuItem button .iconDiv {
  padding: 2px;
  font-size: 0;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
}
.sideMenu .sideMenuDropdown .sideMenuItem button .iconDiv svg {
  width: 14px;
  height: 14px;
}

.sideMenuOpenIcon {
  margin-left: 3px;
  font-size: 0;
  background-color: #1E293B;
  border-radius: 0 4px 4px 0;
  opacity: 0;
  transition: background-color 0.3s ease-in-out;
}
.sideMenuOpenIcon:hover {
  background-color: #334155;
}
.nodeContent:hover .sideMenuOpenIcon, .subjectDiv:hover > .sideMenuOpenIcon {
  opacity: 1;
}/*# sourceMappingURL=stylesheet.css.map */
