#demo_for_ai {
  padding: 16px;
  overflow-y: scroll;
  height: 100%;
  display: grid;
  row-gap: 16px;
  align-content: start;
}
#demo_for_ai .panel {
  display: grid;
  row-gap: 1rem;
  align-content: start;
  border-width: 2px;
  border-style: solid;
  padding: 1rem;
}
#demo_for_ai .panel:is(.dark *) {
  color: #a08c81;
  background-color: #2e2b2b;
  border-color: #3c3939;
  background-image: url(../img/noise-dark.png);
}
#demo_for_ai .panel:is(.light *) {
  color: #c76a4c;
  background-color: #f7efee;
  border-color: #d6d2d1;
  background-image: url(../img/noise-dark.png);
}
#demo_for_ai .panel:is(.modern *) {
  border-radius: 0.3rem;
}
#demo_for_ai .panel:is(.classic *) {
  border-color: #393737;
}
#demo_for_ai .title {
  user-select: none;
  align-self: center;
  font-weight: 600;
}
#demo_for_ai .title:is(.dark *) {
  color: #d5bfae;
}
#demo_for_ai .title:is(.light *) {
  color: #604c44;
}
#demo_for_ai input,
#demo_for_ai textarea {
  font-family: var(--sans-serif);
  font-size: var(--sans-serif-size);
  width: 100%;
}
#demo_for_ai input:is([type=text], [type=search], [type=password], [type=date], [type=time], textarea),
#demo_for_ai textarea:is([type=text], [type=search], [type=password], [type=date], [type=time], textarea) {
  padding: 0 0.5rem;
}
#demo_for_ai input:is(.dark *),
#demo_for_ai textarea:is(.dark *) {
  color: #cccccc;
}
#demo_for_ai input:is(.light *),
#demo_for_ai textarea:is(.light *) {
  color: #333333;
}
#demo_for_ai input:is(.classic *),
#demo_for_ai textarea:is(.classic *) {
  border-width: 0.0625rem;
  border-style: solid;
}
#demo_for_ai input:is(.classic *):is(.dark *),
#demo_for_ai textarea:is(.classic *):is(.dark *) {
  border-bottom-color: #413e3e;
  border-right-color: #413e3e;
  border-top-color: #0c0c0c;
  border-left-color: #0c0c0c;
  background-color: #1e1d1d;
}
#demo_for_ai input:is(.modern *),
#demo_for_ai textarea:is(.modern *) {
  border-radius: 0.25rem;
  border-width: 2px;
  border-style: solid;
}
#demo_for_ai input:is(.modern *):is(.dark *),
#demo_for_ai textarea:is(.modern *):is(.dark *) {
  background-color: #1e1d1d;
  border-color: #383433;
}
#demo_for_ai input:is(.modern *):is(.light *),
#demo_for_ai textarea:is(.modern *):is(.light *) {
  background-color: #fffbfb;
  border-color: #c9bfbc;
}
#demo_for_ai input[type=file],
#demo_for_ai textarea[type=file] {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  opacity: 0;
  position: absolute;
  z-index: 7;
  cursor: pointer;
  margin: -10rem;
}
#demo_for_ai input[type=file]::-webkit-file-upload-button,
#demo_for_ai textarea[type=file]::-webkit-file-upload-button {
  cursor: pointer;
}
#demo_for_ai input[type=radio],
#demo_for_ai textarea[type=radio] {
  appearance: none;
  cursor: pointer;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
}
#demo_for_ai input[type=radio]:is(.modern *):is(.dark *):checked,
#demo_for_ai textarea[type=radio]:is(.modern *):is(.dark *):checked {
  background-color: #ff4e00;
  border-color: #802600;
  box-shadow: 0 0 3rem 1rem #ff4d0021;
}
#demo_for_ai input[type=radio]:is(.modern *):is(.light *):checked,
#demo_for_ai textarea[type=radio]:is(.modern *):is(.light *):checked {
  background-color: #ff4e00;
  border-color: #ff9466;
  box-shadow: 0 0 3rem 1rem #ff4d0021;
}
#demo_for_ai input[type=radio]:is(.classic *):is(.dark *):checked,
#demo_for_ai textarea[type=radio]:is(.classic *):is(.dark *):checked {
  background-color: #ff4e00;
  box-shadow: 0 0 3rem 1rem #ff4d0021;
  border-top-color: #330f00;
  border-left-color: #330f00;
  border-bottom-color: #802600;
  border-right-color: #802600;
  border-width: 1.4px;
}
#demo_for_ai input[type=checkbox],
#demo_for_ai textarea[type=checkbox] {
  appearance: none;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}
#demo_for_ai input[type=checkbox]:is(.modern *),
#demo_for_ai textarea[type=checkbox]:is(.modern *) {
  border-radius: 0.25rem;
  border-style: solid;
  border-width: 2px;
}
#demo_for_ai input[type=checkbox]:is(.modern *):is(.dark *),
#demo_for_ai textarea[type=checkbox]:is(.modern *):is(.dark *) {
  background-color: #1e1d1d;
  border-color: #383433;
}
#demo_for_ai input[type=checkbox]:is(.modern *):is(.dark *):checked,
#demo_for_ai textarea[type=checkbox]:is(.modern *):is(.dark *):checked {
  background-color: #ff4e00;
  border-color: #ff4e00;
  box-shadow: 0 0 3rem 1rem #ff4d0021;
  background-image: var(--check-icon);
}
#demo_for_ai input[type=checkbox]:is(.modern *):is(.light *),
#demo_for_ai textarea[type=checkbox]:is(.modern *):is(.light *) {
  background-color: #fffbfb;
  border-color: #c9bfbc;
}
#demo_for_ai input[type=checkbox]:is(.modern *):is(.light *):checked,
#demo_for_ai textarea[type=checkbox]:is(.modern *):is(.light *):checked {
  background-color: #ff4e00;
  border-color: #ff4e00;
  box-shadow: 0 0 3rem 1rem #ff4d0021;
  background-image: var(--check-icon);
}
#demo_for_ai input[type=checkbox]:is(.classic *):checked,
#demo_for_ai textarea[type=checkbox]:is(.classic *):checked {
  background-color: #ff4e00;
  box-shadow: 0 0 3rem 1rem #ff4d0021;
  background-image: var(--check-icon);
  border-bottom: 2px solid #bd3900;
  border-right: 2px solid #bd3900;
  border-top: 2px solid #762300;
  border-left: 2px solid #762300;
}
#demo_for_ai .button {
  display: grid;
  position: relative;
  overflow: hidden;
  min-width: max-content;
  cursor: pointer;
  padding: 0.25rem 1rem;
  padding: 0 12px;
  min-height: 36px;
}
@media (width < 24rem) {
  #demo_for_ai .button {
    padding: 0.25rem 0.25rem;
  }
}
#demo_for_ai .button > span {
  user-select: none;
  font-family: var(--sans-serif);
  font-size: var(--sans-serif-size);
  display: grid;
  grid-auto-flow: column;
  justify-content: center;
  align-content: center;
  height: 100%;
  width: 100%;
  position: relative;
}
#demo_for_ai .button:is(.classic *):is(.dark *) {
  color: #d5bfae;
  background: url(../img/button-top-left.png) top left no-repeat, url(../img/button-top-right.png) top right no-repeat, url(../img/button-bottom-left.png) bottom left no-repeat, url(../img/button-bottom-right.png) bottom right no-repeat, url(../img/button-top.png) top repeat-x, url(../img/button-bottom.png) bottom repeat-x, url(../img/button-left.png) left repeat-y, url(../img/button-right.png) right repeat-y, url(../img/button-center.png) center / cover no-repeat;
}
#demo_for_ai .button:is(.classic *):is(.dark *):active:is(.classic.dark *) {
  color: #e4845a;
  background: url(../img/pressed-top-left.png) top left no-repeat, url(../img/pressed-top-right.png) top right no-repeat, url(../img/pressed-bottom-left.png) bottom left no-repeat, url(../img/pressed-bottom-right.png) bottom right no-repeat, url(../img/pressed-top.png) top repeat-x, url(../img/pressed-bottom.png) bottom repeat-x, url(../img/pressed-left.png) left repeat-y, url(../img/pressed-right.png) right repeat-y, url(../img/pressed-center.png) center / cover no-repeat;
}
#demo_for_ai .button:is(.classic *):is(.dark *):active:is(.classic.dark *) > span {
  transform: translate(0, 1px);
}
#demo_for_ai .button:is(.modern *) {
  border-style: solid;
  border-width: 2px;
  border-radius: 0.25rem;
}
#demo_for_ai .button:is(.modern *):is(.dark *) {
  border-color: #383433;
  color: #d5bfae;
}
#demo_for_ai .button:is(.modern *):is(.dark *):hover {
  color: #e9c3a6;
}
#demo_for_ai .button:is(.modern *):is(.light *) {
  border-color: #c9bfbc;
  color: #604c44;
}
#demo_for_ai .button:is(.modern *):is(.light *):hover {
  color: #93614e;
}
#demo_for_ai .button.icon {
  padding: 0;
  aspect-ratio: 1/1;
  height: 100%;
}
#demo_for_ai .button.icon span {
  background-repeat: no-repeat;
  background-position: center;
}
#demo_for_ai .button.trash.icon span {
  background-size: 30px;
}
#demo_for_ai .button.trash.icon span:is(.dark *) {
  background-image: var(--icon-trash-dark);
}
#demo_for_ai .button.trash.icon span:is(.light *) {
  background-image: var(--icon-trash-light);
}
#demo_for_ai .button.close.icon span {
  background-size: 40%;
}
#demo_for_ai .button.close.icon span:is(.dark *) {
  background-image: var(--icon-cross-dark);
}
#demo_for_ai .button.close.icon span:is(.light *) {
  background-image: var(--icon-cross-light);
}
#demo_for_ai .button.minimize.icon .dash {
  width: 14px;
  height: 1px;
  border-radius: 1px;
  background-color: #d09074;
  margin-top: 10px;
}
#demo_for_ai .button.minimize.icon .dash:is(.dark *) {
  background-color: #d09074;
}
#demo_for_ai .button.minimize.icon .dash:is(.light *) {
  background-color: #9b8b84;
}
#demo_for_ai .button.settings.icon span {
  background-image: var(--icon-settings);
}
#demo_for_ai .button.settings.icon span svg {
  width: var(--height);
}
#demo_for_ai .button.settings.icon span svg .b {
  stroke: #9b8b84;
  stroke-miterlimit: 10;
}
#demo_for_ai .button.save.icon span {
  background-size: 16px;
}
#demo_for_ai .button.save.icon span:is(.dark *) {
  background-image: var(--icon-save-dark);
}
#demo_for_ai .button.save.icon span:is(.light *) {
  background-image: var(--icon-save-light);
}
#modules .modules .link {
  text-decoration: none;
  cursor: pointer;
}
#modules .modules .link:is(.dark *) {
  color: #d09074;
}
#modules .modules .link:is(.dark *):hover {
  color: #ffcab3;
}
#modules .modules .link:is(.light *) {
  color: #764646;
}
#modules .modules .link:is(.light *):hover {
  color: #bb381a;
}
