#menu {
  display: grid;
  height: 100%;
  row-gap: 1rem;
  grid-template-rows: auto 1fr auto;
  grid-template-areas: "header" "main" "footer";
  grid-template-areas: "header" "main";
  grid-template-rows: auto 1fr;
}
@media (width >= 64rem) {
  #menu {
    padding: 0 1rem 1rem;
  }
}
@media (width < 64rem) {
  #menu {
    padding: 0.3125rem;
  }
}
#menu > .main {
  grid-area: main;
  overflow-y: scroll;
  scrollbar-width: none;
  align-content: start;
}
#menu input,
#menu textarea {
  width: 100%;
  font-family: var(--sans-serif);
  font-size: var(--sans-serif-size);
}
#menu input:is([type=text], [type=search], [type=password], [type=date], [type=time], textarea),
#menu textarea:is([type=text], [type=search], [type=password], [type=date], [type=time], textarea) {
  padding: 0 0.5rem;
}
#menu input:is(.dark *),
#menu textarea:is(.dark *) {
  color: #cccccc;
}
#menu input:is(.light *),
#menu textarea:is(.light *) {
  color: #333333;
}
#menu input:is(.classic *),
#menu textarea:is(.classic *) {
  border-width: 0.0625rem;
  border-style: solid;
}
#menu input:is(.classic *)[type="text"],
#menu textarea:is(.classic *)[type="text"],
#menu input:is(.classic *)[type="date"],
#menu textarea:is(.classic *)[type="date"],
#menu input:is(.classic *)[type="time"],
#menu textarea:is(.classic *)[type="time"],
#menu input:is(.classic *)[type="search"],
#menu textarea:is(.classic *)[type="search"],
#menu input:is(.classic *)[type="password"],
#menu textarea:is(.classic *)[type="password"] {
  height: 2.25rem;
}
#menu input:is(.classic *):is(.dark *),
#menu textarea:is(.classic *):is(.dark *) {
  border-bottom-color: #413e3e;
  border-right-color: #413e3e;
  border-top-color: #0c0c0c;
  border-left-color: #0c0c0c;
  background-color: #1e1d1d;
}
#menu input:is(.modern *),
#menu textarea:is(.modern *) {
  border-radius: 0.25rem;
  border-width: 2px;
  border-style: solid;
}
#menu input:is(.modern *)[type="text"],
#menu textarea:is(.modern *)[type="text"],
#menu input:is(.modern *)[type="date"],
#menu textarea:is(.modern *)[type="date"],
#menu input:is(.modern *)[type="time"],
#menu textarea:is(.modern *)[type="time"],
#menu input:is(.modern *)[type="search"],
#menu textarea:is(.modern *)[type="search"],
#menu input:is(.modern *)[type="password"],
#menu textarea:is(.modern *)[type="password"] {
  height: 2.25rem;
}
#menu input:is(.modern *):is(.dark *),
#menu textarea:is(.modern *):is(.dark *) {
  background-color: #1e1d1d;
  border-color: #383433;
}
#menu input:is(.modern *):is(.light *),
#menu textarea:is(.modern *):is(.light *) {
  background-color: #fffbfb;
  border-color: #c9bfbc;
}
#menu input[type=file],
#menu textarea[type=file] {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  opacity: 0;
  position: absolute;
  z-index: 7;
  cursor: pointer;
}
#menu input[type=file]::-webkit-file-upload-button,
#menu textarea[type=file]::-webkit-file-upload-button {
  cursor: pointer;
}
#menu input[type=radio],
#menu textarea[type=radio] {
  appearance: none;
  cursor: pointer;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
}
#menu input[type=radio]:is(.modern *):is(.dark *):checked,
#menu textarea[type=radio]:is(.modern *):is(.dark *):checked {
  background-color: #ff4e00;
  border-color: #802600;
  box-shadow: 0 0 3rem 1rem #ff4d0021;
}
#menu input[type=radio]:is(.modern *):is(.light *):checked,
#menu textarea[type=radio]:is(.modern *):is(.light *):checked {
  background-color: #ff4e00;
  border-color: #ff9466;
  box-shadow: 0 0 3rem 1rem #ff4d0021;
}
#menu input[type=radio]:is(.classic *):is(.dark *):checked,
#menu 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;
}
#menu input[type=checkbox],
#menu textarea[type=checkbox] {
  appearance: none;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}
#menu input[type=checkbox]:is(.modern *),
#menu textarea[type=checkbox]:is(.modern *) {
  border-radius: 0.25rem;
  border-style: solid;
  border-width: 2px;
}
#menu input[type=checkbox]:is(.modern *):is(.dark *),
#menu textarea[type=checkbox]:is(.modern *):is(.dark *) {
  background-color: #1e1d1d;
  border-color: #383433;
}
#menu input[type=checkbox]:is(.modern *):is(.dark *):checked,
#menu 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);
}
#menu input[type=checkbox]:is(.modern *):is(.light *),
#menu textarea[type=checkbox]:is(.modern *):is(.light *) {
  background-color: #fffbfb;
  border-color: #c9bfbc;
}
#menu input[type=checkbox]:is(.modern *):is(.light *):checked,
#menu 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);
}
#menu input[type=checkbox]:is(.classic *):checked,
#menu 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;
}
#menu input[name=sort],
#menu textarea[name=sort] {
  text-align: right;
}
#menu .select.widget {
  position: relative;
  min-height: 1.875rem;
}
#menu .select.widget:is(.classic *) {
  height: 2.25rem;
}
#menu .select.widget:is(.modern *) {
  height: 2.25rem;
}
#menu .select.widget .selected {
  width: 100%;
  font-family: var(--sans-serif);
  font-size: var(--sans-serif-size);
  padding: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.1875rem;
  height: 100%;
  cursor: pointer;
  user-select: none;
}
#menu .select.widget .selected:is([type=text], [type=search], [type=password], [type=date], [type=time], textarea) {
  padding: 0 0.5rem;
}
#menu .select.widget .selected:is(.dark *) {
  color: #cccccc;
}
#menu .select.widget .selected:is(.light *) {
  color: #333333;
}
#menu .select.widget .selected:is(.classic *) {
  border-width: 0.0625rem;
  border-style: solid;
}
#menu .select.widget .selected:is(.classic *)[type="text"],
#menu .select.widget .selected:is(.classic *)[type="date"],
#menu .select.widget .selected:is(.classic *)[type="time"],
#menu .select.widget .selected:is(.classic *)[type="search"],
#menu .select.widget .selected:is(.classic *)[type="password"] {
  height: 2.25rem;
}
#menu .select.widget .selected:is(.classic *):is(.dark *) {
  border-bottom-color: #413e3e;
  border-right-color: #413e3e;
  border-top-color: #0c0c0c;
  border-left-color: #0c0c0c;
  background-color: #1e1d1d;
}
#menu .select.widget .selected:is(.modern *) {
  border-radius: 0.25rem;
  border-width: 2px;
  border-style: solid;
}
#menu .select.widget .selected:is(.modern *)[type="text"],
#menu .select.widget .selected:is(.modern *)[type="date"],
#menu .select.widget .selected:is(.modern *)[type="time"],
#menu .select.widget .selected:is(.modern *)[type="search"],
#menu .select.widget .selected:is(.modern *)[type="password"] {
  height: 2.25rem;
}
#menu .select.widget .selected:is(.modern *):is(.dark *) {
  background-color: #1e1d1d;
  border-color: #383433;
}
#menu .select.widget .selected:is(.modern *):is(.light *) {
  background-color: #fffbfb;
  border-color: #c9bfbc;
}
#menu .select.widget .selected[type=file] {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  opacity: 0;
  position: absolute;
  z-index: 7;
  cursor: pointer;
}
#menu .select.widget .selected[type=file]::-webkit-file-upload-button {
  cursor: pointer;
}
#menu .select.widget .selected[type=radio] {
  appearance: none;
  cursor: pointer;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
}
#menu .select.widget .selected[type=radio]:is(.modern *):is(.dark *):checked {
  background-color: #ff4e00;
  border-color: #802600;
  box-shadow: 0 0 3rem 1rem #ff4d0021;
}
#menu .select.widget .selected[type=radio]:is(.modern *):is(.light *):checked {
  background-color: #ff4e00;
  border-color: #ff9466;
  box-shadow: 0 0 3rem 1rem #ff4d0021;
}
#menu .select.widget .selected[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;
}
#menu .select.widget .selected[type=checkbox] {
  appearance: none;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}
#menu .select.widget .selected[type=checkbox]:is(.modern *) {
  border-radius: 0.25rem;
  border-style: solid;
  border-width: 2px;
}
#menu .select.widget .selected[type=checkbox]:is(.modern *):is(.dark *) {
  background-color: #1e1d1d;
  border-color: #383433;
}
#menu .select.widget .selected[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);
}
#menu .select.widget .selected[type=checkbox]:is(.modern *):is(.light *) {
  background-color: #fffbfb;
  border-color: #c9bfbc;
}
#menu .select.widget .selected[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);
}
#menu .select.widget .selected[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;
}
#menu .select.widget .selected .value {
  padding: 0 0 0 0.4375rem;
  white-space: nowrap;
  overflow: hidden;
  align-content: center;
}
#menu .select.widget .selected .button {
  display: grid;
  position: relative;
  overflow: hidden;
  min-width: max-content;
  cursor: pointer;
  padding: 0.25rem 1rem;
  padding: 0;
}
@media (width < 24rem) {
  #menu .select.widget .selected .button {
    padding: 0.25rem 0.25rem;
  }
}
#menu .select.widget .selected .button.upload {
  padding: 0;
}
#menu .select.widget .selected .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;
}
#menu .select.widget .selected .button > span:is(.upload > *) {
  padding: 0.25rem 1rem;
}
#menu .select.widget .selected .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;
}
#menu .select.widget .selected .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;
}
#menu .select.widget .selected .button:is(.classic *):is(.dark *):active:is(.classic.dark *) > span {
  transform: translate(0, 1px);
}
#menu .select.widget .selected .button:is(.modern *) {
  border-style: solid;
  border-width: 2px;
  border-radius: 0.25rem;
}
#menu .select.widget .selected .button:is(.modern *):is(.dark *) {
  border-color: #383433;
  color: #d5bfae;
}
#menu .select.widget .selected .button:is(.modern *):is(.dark *):hover {
  color: #e9c3a6;
}
#menu .select.widget .selected .button:is(.modern *):is(.light *) {
  border-color: #c9bfbc;
  color: #604c44;
}
#menu .select.widget .selected .button:is(.modern *):is(.light *):hover {
  color: #93614e;
}
#menu .select.widget .selected .button.icon {
  padding: 0;
  aspect-ratio: 1/1;
  height: 100%;
}
#menu .select.widget .selected .button.icon span {
  background-repeat: no-repeat;
  background-position: center;
}
#menu .select.widget .selected .button.trash.icon span {
  background-size: 30px;
}
#menu .select.widget .selected .button.trash.icon span:is(.dark *) {
  background-image: var(--icon-trash-dark);
}
#menu .select.widget .selected .button.trash.icon span:is(.light *) {
  background-image: var(--icon-trash-light);
}
#menu .select.widget .selected .button.close.icon span {
  background-size: 40%;
}
#menu .select.widget .selected .button.close.icon span:is(.dark *) {
  background-image: var(--icon-cross-dark);
}
#menu .select.widget .selected .button.close.icon span:is(.light *) {
  background-image: var(--icon-cross-light);
}
#menu .select.widget .selected .button.minimize.icon .dash {
  width: 14px;
  height: 1px;
  border-radius: 1px;
  background-color: #d09074;
  margin-top: 10px;
}
#menu .select.widget .selected .button.minimize.icon .dash:is(.dark *) {
  background-color: #d09074;
}
#menu .select.widget .selected .button.minimize.icon .dash:is(.light *) {
  background-color: #9b8b84;
}
#menu .select.widget .selected .button.settings.icon span {
  background-image: var(--icon-settings);
}
#menu .select.widget .selected .button.settings.icon span svg {
  width: var(--height);
}
#menu .select.widget .selected .button.settings.icon span svg .b {
  stroke: #9b8b84;
  stroke-miterlimit: 10;
}
#menu .select.widget .selected .button.save.icon span {
  background-size: 16px;
}
#menu .select.widget .selected .button.save.icon span:is(.dark *) {
  background-image: var(--icon-save-dark);
}
#menu .select.widget .selected .button.save.icon span:is(.light *) {
  background-image: var(--icon-save-light);
}
#menu .select.widget .selected .button:is(.modern.dark *, .modern.light *) {
  border-color: transparent;
}
#menu .select.widget .selected .icon.down {
  margin: 0.125rem;
  height: 87%;
}
#menu .select.widget .selected .icon.down:is(.select.open *):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;
}
#menu .select.widget .selected .icon.down:is(.select.open *):is(.classic.dark *) > span {
  transform: translate(0, 1px);
}
#menu .select.widget .selected .icon.down span {
  background-size: 65%;
}
#menu .select.widget .selected .icon.down span:is(.dark *) {
  background-image: var(--select-icon-dark);
}
#menu .select.widget .selected .icon.down span:is(.light *) {
  background-image: var(--select-icon-light);
}
#menu .select.widget .options {
  display: none;
  position: absolute;
  max-height: 16rem;
  margin-top: 0.125rem;
  width: 100%;
  z-index: 3;
  overflow: auto;
}
#menu .select.widget .options:has(.scrollable) {
  overflow-y: hidden;
  grid-template-rows: auto 1fr;
}
#menu .select.widget .options:is(.select.open *) {
  display: grid;
  z-index: 3;
}
#menu .select.widget .options:is(.modern *) {
  border-radius: 0.25rem;
  border-width: 2px;
  border-style: solid;
}
#menu .select.widget .options:is(.modern *):is(.dark *) {
  background-color: #1e1d1d;
}
#menu .select.widget .options:is(.modern *):is(.light *) {
  background-color: #ede9e8;
}
#menu .select.widget .options:is(.modern *):is(.dark *) {
  border-color: #383433;
}
#menu .select.widget .options:is(.modern *):is(.light *) {
  border-color: #c9bfbc;
}
#menu .select.widget .options:is(.classic *) {
  background-color: #272525;
  border: 2px solid #5b5756;
}
#menu .select.widget .options .search {
  padding: 0.25rem 0.4375rem;
}
#menu .select.widget .options .search input {
  width: 100%;
  height: 1.875rem;
  padding: 0 0.375rem;
}
#menu .select.widget .options .scrollable {
  overflow-y: auto;
}
#menu .select.widget .options .option {
  padding: 0.375rem 0.4375rem;
  cursor: pointer;
  user-select: none;
}
#menu .select.widget .options .option:hover:is(.dark *) {
  background-color: #111111;
}
#menu .select.widget .options .option:hover:is(.light *) {
  background-color: #f8f2f2;
}
#menu .select.widget .options .option.hidden {
  display: none;
}
#menu .select.widget .option.unpublished {
  color: red;
}
#menu .button {
  display: grid;
  position: relative;
  overflow: hidden;
  min-width: max-content;
  cursor: pointer;
  padding: 0.25rem 1rem;
}
@media (width < 24rem) {
  #menu .button {
    padding: 0.25rem 0.25rem;
  }
}
#menu .button.upload {
  padding: 0;
}
#menu .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;
}
#menu .button > span:is(.upload > *) {
  padding: 0.25rem 1rem;
}
#menu .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;
}
#menu .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;
}
#menu .button:is(.classic *):is(.dark *):active:is(.classic.dark *) > span {
  transform: translate(0, 1px);
}
#menu .button:is(.modern *) {
  border-style: solid;
  border-width: 2px;
  border-radius: 0.25rem;
}
#menu .button:is(.modern *):is(.dark *) {
  border-color: #383433;
  color: #d5bfae;
}
#menu .button:is(.modern *):is(.dark *):hover {
  color: #e9c3a6;
}
#menu .button:is(.modern *):is(.light *) {
  border-color: #c9bfbc;
  color: #604c44;
}
#menu .button:is(.modern *):is(.light *):hover {
  color: #93614e;
}
#menu .button.icon {
  padding: 0;
  aspect-ratio: 1/1;
  height: 100%;
}
#menu .button.icon span {
  background-repeat: no-repeat;
  background-position: center;
}
#menu .button.trash.icon span {
  background-size: 30px;
}
#menu .button.trash.icon span:is(.dark *) {
  background-image: var(--icon-trash-dark);
}
#menu .button.trash.icon span:is(.light *) {
  background-image: var(--icon-trash-light);
}
#menu .button.close.icon span {
  background-size: 40%;
}
#menu .button.close.icon span:is(.dark *) {
  background-image: var(--icon-cross-dark);
}
#menu .button.close.icon span:is(.light *) {
  background-image: var(--icon-cross-light);
}
#menu .button.minimize.icon .dash {
  width: 14px;
  height: 1px;
  border-radius: 1px;
  background-color: #d09074;
  margin-top: 10px;
}
#menu .button.minimize.icon .dash:is(.dark *) {
  background-color: #d09074;
}
#menu .button.minimize.icon .dash:is(.light *) {
  background-color: #9b8b84;
}
#menu .button.settings.icon span {
  background-image: var(--icon-settings);
}
#menu .button.settings.icon span svg {
  width: var(--height);
}
#menu .button.settings.icon span svg .b {
  stroke: #9b8b84;
  stroke-miterlimit: 10;
}
#menu .button.save.icon span {
  background-size: 16px;
}
#menu .button.save.icon span:is(.dark *) {
  background-image: var(--icon-save-dark);
}
#menu .button.save.icon span:is(.light *) {
  background-image: var(--icon-save-light);
}
#menu .button.prop:is(.menu.open *, .item.open *):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;
}
#menu .button.prop:is(.menu.open *, .item.open *):is(.classic.dark *) > span {
  transform: translate(0, 1px);
}
#menu .button.del {
  grid-column-start: del;
}
#menu .buttons {
  display: grid;
  grid-template-columns: auto auto auto auto auto 1fr [del] auto;
  column-gap: 8px;
}
#menu .title:not(a) {
  user-select: none;
  align-self: center;
  font-weight: 600;
}
#menu .title:not(a):is(.dark *) {
  color: #d5bfae;
}
#menu .title:not(a):is(.light *) {
  color: #604c44;
}
@media (min-width: 1024px) {
  #menu .title:not(a) {
    justify-self: right;
  }
}
#menu a {
  width: fit-content;
  align-self: center;
  min-height: 22px;
}
#menu a[href] {
  text-decoration: none;
}
#menu a[href]:is(.dark *) {
  color: #d09074;
}
#menu a[href]:is(.dark *):hover {
  color: #ffcab3;
}
#menu a[href]:is(.light *) {
  color: #764646;
}
#menu a[href]:is(.light *):hover {
  color: #bb381a;
}
#menu a.title:is(.unpublished *) {
  color: red;
}
#menu .header {
  display: grid;
  justify-content: start;
}
#menu .header .button.create {
  padding: 0.5rem 2rem;
}
#menu .main {
  display: grid;
  row-gap: 2rem;
  padding: 1px;
}
#menu .main .header {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 0.5rem;
}
#menu .main .area {
  display: grid;
  row-gap: 1rem;
  align-content: start;
  border-width: 2px;
  border-style: solid;
  padding: 1rem;
}
#menu .main .area:is(.dark *) {
  color: #a08c81;
  background-color: #2e2b2b;
  border-color: #3c3939;
  background-image: url(../img/noise-dark.png);
}
#menu .main .area:is(.light *) {
  color: #c76a4c;
  background-color: #f7efee;
  border-color: #d6d2d1;
  background-image: url(../img/noise-dark.png);
}
#menu .main .area:is(.modern *) {
  border-radius: 0.3rem;
}
#menu .main .area:is(.classic *) {
  border-color: #393737;
}
#menu .main .area.delete {
  outline: 1px dashed red;
}
#menu .main .area .menu {
  display: grid;
  row-gap: 0.5rem;
  position: relative;
  outline: 1px dashed #15f815;
  outline-offset: 14px;
}
#menu .main .area .menu.last::before {
  content: "";
  position: absolute;
  left: 0.1875rem;
  top: 0.1875rem;
  z-index: 1;
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background-color: #71b300;
}
#menu .main .area .menu.last::before {
  left: -12px;
  top: -11px;
}
#menu .main .area .menu.changed:is(.dark *) {
  outline-color: #da8d18;
}
#menu .main .area .menu.changed:is(.light *) {
  outline-color: #da8d18;
}
#menu .main .area .menu .properties {
  display: none;
}
@media (width >= 64rem) {
  #menu .main .area .menu .properties {
    grid-template-columns: 6rem minmax(15rem, 100%) 6rem minmax(15rem, 100%);
    column-gap: 1rem;
    row-gap: 0.5rem;
  }
}
@media (width < 64rem) {
  #menu .main .area .menu .properties {
    row-gap: 0.5rem;
  }
}
#menu .main .area .menu .properties:is(.menu.open *) {
  display: grid;
}
#menu .main .area .items {
  display: grid;
  row-gap: 0.5rem;
}
#menu .main .area .items:is(.padding *) {
  padding-left: 1rem;
}
#menu .main .area .items .padding {
  display: grid;
  row-gap: 0.5rem;
}
#menu .main .area .items .item {
  display: grid;
  row-gap: 1rem;
  align-content: start;
  border-width: 2px;
  border-style: solid;
  padding: 1rem;
  position: relative;
}
#menu .main .area .items .item:is(.dark *) {
  color: #a08c81;
  background-color: #2e2b2b;
  border-color: #3c3939;
  background-image: url(../img/noise-dark.png);
}
#menu .main .area .items .item:is(.light *) {
  color: #c76a4c;
  background-color: #f7efee;
  border-color: #d6d2d1;
  background-image: url(../img/noise-dark.png);
}
#menu .main .area .items .item:is(.modern *) {
  border-radius: 0.3rem;
}
#menu .main .area .items .item:is(.classic *) {
  border-color: #393737;
}
#menu .main .area .items .item.changed:is(.dark *) {
  outline: 1px dashed #da8d18;
}
#menu .main .area .items .item.changed:is(.light *) {
  outline: 1px dashed #da8d18;
}
#menu .main .area .items .item:is(.delete *) {
  outline: 1px dashed red !important;
}
#menu .main .area .items .item.last::before {
  content: "";
  position: absolute;
  left: 0.1875rem;
  top: 0.1875rem;
  z-index: 1;
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background-color: #71b300;
}
#menu .main .area .items .item .properties {
  display: none;
}
#menu .main .area .items .item .properties:is(.open *) {
  display: grid;
}
@media (min-width: 1024px) {
  #menu .main .area .items .item .properties {
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
  }
}
@media (max-width: 1023px) {
  #menu .main .area .items .item .properties {
    row-gap: 0.5rem;
  }
}
#menu .main .area .items .item .properties .left,
#menu .main .area .items .item .properties .right {
  display: grid;
}
@media (max-width: 1023px) {
  #menu .main .area .items .item .properties .left,
  #menu .main .area .items .item .properties .right {
    row-gap: 0.5rem;
  }
}
@media (min-width: 1024px) {
  #menu .main .area .items .item .properties .left,
  #menu .main .area .items .item .properties .right {
    grid-template-columns: auto 1fr;
    gap: 12px;
  }
}
#menu .main .area .items .item .properties .left .target,
#menu .main .area .items .item .properties .right .target {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 0.5rem;
  position: relative;
}
