#entity {
  display: grid;
  height: 100%;
  row-gap: 1rem;
  grid-template-rows: auto 1fr auto;
  grid-template-areas: "header" "main" "footer";
}
@media (width >= 64rem) {
  #entity {
    padding: 0 1rem 1rem;
  }
}
@media (width < 64rem) {
  #entity {
    padding: 0.3125rem;
  }
}
#entity > .main {
  grid-area: main;
  overflow-y: scroll;
  scrollbar-width: none;
  align-content: start;
}
#entity > .header {
  grid-area: header;
  display: grid;
  grid-auto-flow: column;
  column-gap: 1rem;
  --height: 2.25rem;
  min-height: var(--height);
  grid-template-columns: auto 1fr [del] var(--height);
}
#entity > .header .button {
  display: grid;
  position: relative;
  overflow: hidden;
  min-width: max-content;
  cursor: pointer;
  padding: 0.25rem 1rem;
}
@media (width < 24rem) {
  #entity > .header .button {
    padding: 0.25rem 0.25rem;
  }
}
#entity > .header .button.upload {
  padding: 0;
}
#entity > .header .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;
}
#entity > .header .button > span:is(.upload > *) {
  padding: 0.25rem 1rem;
}
#entity > .header .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;
}
#entity > .header .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;
}
#entity > .header .button:is(.classic *):is(.dark *):active:is(.classic.dark *) > span {
  transform: translate(0, 1px);
}
#entity > .header .button:is(.modern *) {
  border-style: solid;
  border-width: 2px;
  border-radius: 0.25rem;
}
#entity > .header .button:is(.modern *):is(.dark *) {
  border-color: #383433;
  color: #d5bfae;
}
#entity > .header .button:is(.modern *):is(.dark *):hover {
  color: #e9c3a6;
}
#entity > .header .button:is(.modern *):is(.light *) {
  border-color: #c9bfbc;
  color: #604c44;
}
#entity > .header .button:is(.modern *):is(.light *):hover {
  color: #93614e;
}
#entity > .header .button.icon {
  padding: 0;
  aspect-ratio: 1/1;
  height: 100%;
}
#entity > .header .button.icon span {
  background-repeat: no-repeat;
  background-position: center;
}
#entity > .header .button.trash.icon span {
  background-size: 30px;
}
#entity > .header .button.trash.icon span:is(.dark *) {
  background-image: var(--icon-trash-dark);
}
#entity > .header .button.trash.icon span:is(.light *) {
  background-image: var(--icon-trash-light);
}
#entity > .header .button.close.icon span {
  background-size: 40%;
}
#entity > .header .button.close.icon span:is(.dark *) {
  background-image: var(--icon-cross-dark);
}
#entity > .header .button.close.icon span:is(.light *) {
  background-image: var(--icon-cross-light);
}
#entity > .header .button.minimize.icon .dash {
  width: 14px;
  height: 1px;
  border-radius: 1px;
  background-color: #d09074;
  margin-top: 10px;
}
#entity > .header .button.minimize.icon .dash:is(.dark *) {
  background-color: #d09074;
}
#entity > .header .button.minimize.icon .dash:is(.light *) {
  background-color: #9b8b84;
}
#entity > .header .button.settings.icon span {
  background-image: var(--icon-settings);
}
#entity > .header .button.settings.icon span svg {
  width: var(--height);
}
#entity > .header .button.settings.icon span svg .b {
  stroke: #9b8b84;
  stroke-miterlimit: 10;
}
#entity > .header .button.save.icon span {
  background-size: 16px;
}
#entity > .header .button.save.icon span:is(.dark *) {
  background-image: var(--icon-save-dark);
}
#entity > .header .button.save.icon span:is(.light *) {
  background-image: var(--icon-save-light);
}
#entity > .header .button.add {
  padding: 0.25rem 1rem;
}
#entity > .header .search.widget {
  display: grid;
  grid-template-columns: 1fr auto auto;
  column-gap: 7px;
  justify-self: start;
}
#entity > .header .search.widget input {
  width: 100%;
  font-family: var(--sans-serif);
  font-size: var(--sans-serif-size);
}
#entity > .header .search.widget input:is([type=text], [type=search], [type=password], [type=date], [type=time], textarea) {
  padding: 0 0.5rem;
}
#entity > .header .search.widget input:is(.dark *) {
  color: #cccccc;
}
#entity > .header .search.widget input:is(.light *) {
  color: #333333;
}
#entity > .header .search.widget input:is(.classic *) {
  border-width: 0.0625rem;
  border-style: solid;
}
#entity > .header .search.widget input:is(.classic *)[type="text"],
#entity > .header .search.widget input:is(.classic *)[type="date"],
#entity > .header .search.widget input:is(.classic *)[type="time"],
#entity > .header .search.widget input:is(.classic *)[type="search"],
#entity > .header .search.widget input:is(.classic *)[type="password"] {
  height: 2.25rem;
}
#entity > .header .search.widget input:is(.classic *):is(.dark *) {
  border-bottom-color: #413e3e;
  border-right-color: #413e3e;
  border-top-color: #0c0c0c;
  border-left-color: #0c0c0c;
  background-color: #1e1d1d;
}
#entity > .header .search.widget input:is(.modern *) {
  border-radius: 0.25rem;
  border-width: 2px;
  border-style: solid;
}
#entity > .header .search.widget input:is(.modern *)[type="text"],
#entity > .header .search.widget input:is(.modern *)[type="date"],
#entity > .header .search.widget input:is(.modern *)[type="time"],
#entity > .header .search.widget input:is(.modern *)[type="search"],
#entity > .header .search.widget input:is(.modern *)[type="password"] {
  height: 2.25rem;
}
#entity > .header .search.widget input:is(.modern *):is(.dark *) {
  background-color: #1e1d1d;
  border-color: #383433;
}
#entity > .header .search.widget input:is(.modern *):is(.light *) {
  background-color: #fffbfb;
  border-color: #c9bfbc;
}
#entity > .header .search.widget input[type=file] {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  opacity: 0;
  position: absolute;
  z-index: 7;
  cursor: pointer;
}
#entity > .header .search.widget input[type=file]::-webkit-file-upload-button {
  cursor: pointer;
}
#entity > .header .search.widget input[type=radio] {
  appearance: none;
  cursor: pointer;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
}
#entity > .header .search.widget input[type=radio]:is(.modern *):is(.dark *):checked {
  background-color: #ff4e00;
  border-color: #802600;
  box-shadow: 0 0 3rem 1rem #ff4d0021;
}
#entity > .header .search.widget input[type=radio]:is(.modern *):is(.light *):checked {
  background-color: #ff4e00;
  border-color: #ff9466;
  box-shadow: 0 0 3rem 1rem #ff4d0021;
}
#entity > .header .search.widget input[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;
}
#entity > .header .search.widget input[type=checkbox] {
  appearance: none;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}
#entity > .header .search.widget input[type=checkbox]:is(.modern *) {
  border-radius: 0.25rem;
  border-style: solid;
  border-width: 2px;
}
#entity > .header .search.widget input[type=checkbox]:is(.modern *):is(.dark *) {
  background-color: #1e1d1d;
  border-color: #383433;
}
#entity > .header .search.widget input[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);
}
#entity > .header .search.widget input[type=checkbox]:is(.modern *):is(.light *) {
  background-color: #fffbfb;
  border-color: #c9bfbc;
}
#entity > .header .search.widget input[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);
}
#entity > .header .search.widget input[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;
}
#entity > .header .search.widget input:is(.classic *):is(.dark *) {
  background-color: #171717;
}
@media (width < 24rem) {
  #entity > .header .search.widget input {
    width: 100%;
  }
}
#entity > .header .search.widget .button {
  display: grid;
  position: relative;
  overflow: hidden;
  min-width: max-content;
  cursor: pointer;
  padding: 0.25rem 1rem;
}
@media (width < 24rem) {
  #entity > .header .search.widget .button {
    padding: 0.25rem 0.25rem;
  }
}
#entity > .header .search.widget .button.upload {
  padding: 0;
}
#entity > .header .search.widget .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;
}
#entity > .header .search.widget .button > span:is(.upload > *) {
  padding: 0.25rem 1rem;
}
#entity > .header .search.widget .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;
}
#entity > .header .search.widget .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;
}
#entity > .header .search.widget .button:is(.classic *):is(.dark *):active:is(.classic.dark *) > span {
  transform: translate(0, 1px);
}
#entity > .header .search.widget .button:is(.modern *) {
  border-style: solid;
  border-width: 2px;
  border-radius: 0.25rem;
}
#entity > .header .search.widget .button:is(.modern *):is(.dark *) {
  border-color: #383433;
  color: #d5bfae;
}
#entity > .header .search.widget .button:is(.modern *):is(.dark *):hover {
  color: #e9c3a6;
}
#entity > .header .search.widget .button:is(.modern *):is(.light *) {
  border-color: #c9bfbc;
  color: #604c44;
}
#entity > .header .search.widget .button:is(.modern *):is(.light *):hover {
  color: #93614e;
}
#entity > .header .search.widget .button.icon {
  padding: 0;
  aspect-ratio: 1/1;
  height: 100%;
}
#entity > .header .search.widget .button.icon span {
  background-repeat: no-repeat;
  background-position: center;
}
#entity > .header .search.widget .button.trash.icon span {
  background-size: 30px;
}
#entity > .header .search.widget .button.trash.icon span:is(.dark *) {
  background-image: var(--icon-trash-dark);
}
#entity > .header .search.widget .button.trash.icon span:is(.light *) {
  background-image: var(--icon-trash-light);
}
#entity > .header .search.widget .button.close.icon span {
  background-size: 40%;
}
#entity > .header .search.widget .button.close.icon span:is(.dark *) {
  background-image: var(--icon-cross-dark);
}
#entity > .header .search.widget .button.close.icon span:is(.light *) {
  background-image: var(--icon-cross-light);
}
#entity > .header .search.widget .button.minimize.icon .dash {
  width: 14px;
  height: 1px;
  border-radius: 1px;
  background-color: #d09074;
  margin-top: 10px;
}
#entity > .header .search.widget .button.minimize.icon .dash:is(.dark *) {
  background-color: #d09074;
}
#entity > .header .search.widget .button.minimize.icon .dash:is(.light *) {
  background-color: #9b8b84;
}
#entity > .header .search.widget .button.settings.icon span {
  background-image: var(--icon-settings);
}
#entity > .header .search.widget .button.settings.icon span svg {
  width: var(--height);
}
#entity > .header .search.widget .button.settings.icon span svg .b {
  stroke: #9b8b84;
  stroke-miterlimit: 10;
}
#entity > .header .search.widget .button.save.icon span {
  background-size: 16px;
}
#entity > .header .search.widget .button.save.icon span:is(.dark *) {
  background-image: var(--icon-save-dark);
}
#entity > .header .search.widget .button.save.icon span:is(.light *) {
  background-image: var(--icon-save-light);
}
#entity > .header .search.widget .button.send.icon {
  padding: 0;
}
#entity > .header .search.widget .button.send.icon span {
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px;
}
#entity > .header .search.widget .button.send.icon span:is(.dark *) {
  background-image: var(--search-icon-dark);
}
#entity > .header .search.widget .button.send.icon span:is(.light *) {
  background-image: var(--search-icon-light);
}
#entity > .header .search.widget .button.reset.icon {
  padding: 0;
}
#entity > .header .search.widget .button.reset.icon span {
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}
#entity > .header .search.widget .button.reset.icon span:is(.dark *) {
  background-image: var(--icon-cross-dark);
}
#entity > .header .search.widget .button.reset.icon span:is(.light *) {
  background-image: var(--icon-cross-light);
}
#entity > .header .button.del {
  grid-column-start: del;
}
#entity > .header .button.del span {
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30px;
}
#entity > .header .button.del span:is(.dark *) {
  background-image: var(--icon-trash-dark);
}
#entity > .header .button.del span:is(.light *) {
  background-image: var(--icon-trash-light);
}
#entity > .main {
  grid-area: main;
  overflow-y: scroll;
}
@media (width >= 64rem) {
  #entity > .main {
    padding-right: 1rem;
  }
}
#entity > .main .entitys {
  display: grid;
  row-gap: 0.25rem;
}
#entity > .main .entitys .entity {
  display: grid;
  row-gap: 1rem;
  align-content: start;
  border-width: 2px;
  border-style: solid;
  padding: 1rem;
}
#entity > .main .entitys .entity:is(.dark *) {
  color: #a08c81;
  background-color: #2e2b2b;
  border-color: #3c3939;
  background-image: url(../img/noise-dark.png);
}
#entity > .main .entitys .entity:is(.light *) {
  color: #c76a4c;
  background-color: #f7efee;
  border-color: #d6d2d1;
  background-image: url(../img/noise-dark.png);
}
#entity > .main .entitys .entity:is(.modern *) {
  border-radius: 0.3rem;
}
#entity > .main .entitys .entity:is(.classic *) {
  border-color: #393737;
}
#entity > .main .entitys .entity input {
  width: 100%;
  font-family: var(--sans-serif);
  font-size: var(--sans-serif-size);
}
#entity > .main .entitys .entity input:is([type=text], [type=search], [type=password], [type=date], [type=time], textarea) {
  padding: 0 0.5rem;
}
#entity > .main .entitys .entity input:is(.dark *) {
  color: #cccccc;
}
#entity > .main .entitys .entity input:is(.light *) {
  color: #333333;
}
#entity > .main .entitys .entity input:is(.classic *) {
  border-width: 0.0625rem;
  border-style: solid;
}
#entity > .main .entitys .entity input:is(.classic *)[type="text"],
#entity > .main .entitys .entity input:is(.classic *)[type="date"],
#entity > .main .entitys .entity input:is(.classic *)[type="time"],
#entity > .main .entitys .entity input:is(.classic *)[type="search"],
#entity > .main .entitys .entity input:is(.classic *)[type="password"] {
  height: 2.25rem;
}
#entity > .main .entitys .entity input:is(.classic *):is(.dark *) {
  border-bottom-color: #413e3e;
  border-right-color: #413e3e;
  border-top-color: #0c0c0c;
  border-left-color: #0c0c0c;
  background-color: #1e1d1d;
}
#entity > .main .entitys .entity input:is(.modern *) {
  border-radius: 0.25rem;
  border-width: 2px;
  border-style: solid;
}
#entity > .main .entitys .entity input:is(.modern *)[type="text"],
#entity > .main .entitys .entity input:is(.modern *)[type="date"],
#entity > .main .entitys .entity input:is(.modern *)[type="time"],
#entity > .main .entitys .entity input:is(.modern *)[type="search"],
#entity > .main .entitys .entity input:is(.modern *)[type="password"] {
  height: 2.25rem;
}
#entity > .main .entitys .entity input:is(.modern *):is(.dark *) {
  background-color: #1e1d1d;
  border-color: #383433;
}
#entity > .main .entitys .entity input:is(.modern *):is(.light *) {
  background-color: #fffbfb;
  border-color: #c9bfbc;
}
#entity > .main .entitys .entity input[type=file] {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  opacity: 0;
  position: absolute;
  z-index: 7;
  cursor: pointer;
}
#entity > .main .entitys .entity input[type=file]::-webkit-file-upload-button {
  cursor: pointer;
}
#entity > .main .entitys .entity input[type=radio] {
  appearance: none;
  cursor: pointer;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
}
#entity > .main .entitys .entity input[type=radio]:is(.modern *):is(.dark *):checked {
  background-color: #ff4e00;
  border-color: #802600;
  box-shadow: 0 0 3rem 1rem #ff4d0021;
}
#entity > .main .entitys .entity input[type=radio]:is(.modern *):is(.light *):checked {
  background-color: #ff4e00;
  border-color: #ff9466;
  box-shadow: 0 0 3rem 1rem #ff4d0021;
}
#entity > .main .entitys .entity input[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;
}
#entity > .main .entitys .entity input[type=checkbox] {
  appearance: none;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}
#entity > .main .entitys .entity input[type=checkbox]:is(.modern *) {
  border-radius: 0.25rem;
  border-style: solid;
  border-width: 2px;
}
#entity > .main .entitys .entity input[type=checkbox]:is(.modern *):is(.dark *) {
  background-color: #1e1d1d;
  border-color: #383433;
}
#entity > .main .entitys .entity input[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);
}
#entity > .main .entitys .entity input[type=checkbox]:is(.modern *):is(.light *) {
  background-color: #fffbfb;
  border-color: #c9bfbc;
}
#entity > .main .entitys .entity input[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);
}
#entity > .main .entitys .entity input[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;
}
#entity > .main .entitys .entity .header {
  display: grid;
  grid-auto-flow: column;
  justify-content: space-between;
}
#entity > .main .entitys .entity .header > * {
  width: fit-content;
}
#entity > .main .entitys .entity .footer {
  display: grid;
  grid-auto-flow: column;
  justify-content: start;
  column-gap: 0.5rem;
}
#entity > .main .entitys .entity .footer .button {
  display: grid;
  position: relative;
  overflow: hidden;
  min-width: max-content;
  cursor: pointer;
  padding: 0.25rem 1rem;
  padding: 0.25rem 1 rem;
}
@media (width < 24rem) {
  #entity > .main .entitys .entity .footer .button {
    padding: 0.25rem 0.25rem;
  }
}
#entity > .main .entitys .entity .footer .button.upload {
  padding: 0;
}
#entity > .main .entitys .entity .footer .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;
}
#entity > .main .entitys .entity .footer .button > span:is(.upload > *) {
  padding: 0.25rem 1rem;
}
#entity > .main .entitys .entity .footer .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;
}
#entity > .main .entitys .entity .footer .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;
}
#entity > .main .entitys .entity .footer .button:is(.classic *):is(.dark *):active:is(.classic.dark *) > span {
  transform: translate(0, 1px);
}
#entity > .main .entitys .entity .footer .button:is(.modern *) {
  border-style: solid;
  border-width: 2px;
  border-radius: 0.25rem;
}
#entity > .main .entitys .entity .footer .button:is(.modern *):is(.dark *) {
  border-color: #383433;
  color: #d5bfae;
}
#entity > .main .entitys .entity .footer .button:is(.modern *):is(.dark *):hover {
  color: #e9c3a6;
}
#entity > .main .entitys .entity .footer .button:is(.modern *):is(.light *) {
  border-color: #c9bfbc;
  color: #604c44;
}
#entity > .main .entitys .entity .footer .button:is(.modern *):is(.light *):hover {
  color: #93614e;
}
#entity > .main .entitys .entity .footer .button.icon {
  padding: 0;
  aspect-ratio: 1/1;
  height: 100%;
}
#entity > .main .entitys .entity .footer .button.icon span {
  background-repeat: no-repeat;
  background-position: center;
}
#entity > .main .entitys .entity .footer .button.trash.icon span {
  background-size: 30px;
}
#entity > .main .entitys .entity .footer .button.trash.icon span:is(.dark *) {
  background-image: var(--icon-trash-dark);
}
#entity > .main .entitys .entity .footer .button.trash.icon span:is(.light *) {
  background-image: var(--icon-trash-light);
}
#entity > .main .entitys .entity .footer .button.close.icon span {
  background-size: 40%;
}
#entity > .main .entitys .entity .footer .button.close.icon span:is(.dark *) {
  background-image: var(--icon-cross-dark);
}
#entity > .main .entitys .entity .footer .button.close.icon span:is(.light *) {
  background-image: var(--icon-cross-light);
}
#entity > .main .entitys .entity .footer .button.minimize.icon .dash {
  width: 14px;
  height: 1px;
  border-radius: 1px;
  background-color: #d09074;
  margin-top: 10px;
}
#entity > .main .entitys .entity .footer .button.minimize.icon .dash:is(.dark *) {
  background-color: #d09074;
}
#entity > .main .entitys .entity .footer .button.minimize.icon .dash:is(.light *) {
  background-color: #9b8b84;
}
#entity > .main .entitys .entity .footer .button.settings.icon span {
  background-image: var(--icon-settings);
}
#entity > .main .entitys .entity .footer .button.settings.icon span svg {
  width: var(--height);
}
#entity > .main .entitys .entity .footer .button.settings.icon span svg .b {
  stroke: #9b8b84;
  stroke-miterlimit: 10;
}
#entity > .main .entitys .entity .footer .button.save.icon span {
  background-size: 16px;
}
#entity > .main .entitys .entity .footer .button.save.icon span:is(.dark *) {
  background-image: var(--icon-save-dark);
}
#entity > .main .entitys .entity .footer .button.save.icon span:is(.light *) {
  background-image: var(--icon-save-light);
}
#entity > .footer {
  grid-area: footer;
  display: grid;
  grid-auto-flow: column;
  column-gap: 0.5rem;
  justify-content: space-between;
}
#entity > .footer .pager {
  display: grid;
  grid-auto-flow: column;
  column-gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px;
}
#entity > .footer .pager .button {
  display: grid;
  position: relative;
  overflow: hidden;
  min-width: max-content;
  cursor: pointer;
  padding: 0.25rem 1rem;
  min-width: 2rem;
}
@media (width < 24rem) {
  #entity > .footer .pager .button {
    padding: 0.25rem 0.25rem;
  }
}
#entity > .footer .pager .button.upload {
  padding: 0;
}
#entity > .footer .pager .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;
}
#entity > .footer .pager .button > span:is(.upload > *) {
  padding: 0.25rem 1rem;
}
#entity > .footer .pager .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;
}
#entity > .footer .pager .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;
}
#entity > .footer .pager .button:is(.classic *):is(.dark *):active:is(.classic.dark *) > span {
  transform: translate(0, 1px);
}
#entity > .footer .pager .button:is(.modern *) {
  border-style: solid;
  border-width: 2px;
  border-radius: 0.25rem;
}
#entity > .footer .pager .button:is(.modern *):is(.dark *) {
  border-color: #383433;
  color: #d5bfae;
}
#entity > .footer .pager .button:is(.modern *):is(.dark *):hover {
  color: #e9c3a6;
}
#entity > .footer .pager .button:is(.modern *):is(.light *) {
  border-color: #c9bfbc;
  color: #604c44;
}
#entity > .footer .pager .button:is(.modern *):is(.light *):hover {
  color: #93614e;
}
#entity > .footer .pager .button.icon {
  padding: 0;
  aspect-ratio: 1/1;
  height: 100%;
}
#entity > .footer .pager .button.icon span {
  background-repeat: no-repeat;
  background-position: center;
}
#entity > .footer .pager .button.trash.icon span {
  background-size: 30px;
}
#entity > .footer .pager .button.trash.icon span:is(.dark *) {
  background-image: var(--icon-trash-dark);
}
#entity > .footer .pager .button.trash.icon span:is(.light *) {
  background-image: var(--icon-trash-light);
}
#entity > .footer .pager .button.close.icon span {
  background-size: 40%;
}
#entity > .footer .pager .button.close.icon span:is(.dark *) {
  background-image: var(--icon-cross-dark);
}
#entity > .footer .pager .button.close.icon span:is(.light *) {
  background-image: var(--icon-cross-light);
}
#entity > .footer .pager .button.minimize.icon .dash {
  width: 14px;
  height: 1px;
  border-radius: 1px;
  background-color: #d09074;
  margin-top: 10px;
}
#entity > .footer .pager .button.minimize.icon .dash:is(.dark *) {
  background-color: #d09074;
}
#entity > .footer .pager .button.minimize.icon .dash:is(.light *) {
  background-color: #9b8b84;
}
#entity > .footer .pager .button.settings.icon span {
  background-image: var(--icon-settings);
}
#entity > .footer .pager .button.settings.icon span svg {
  width: var(--height);
}
#entity > .footer .pager .button.settings.icon span svg .b {
  stroke: #9b8b84;
  stroke-miterlimit: 10;
}
#entity > .footer .pager .button.save.icon span {
  background-size: 16px;
}
#entity > .footer .pager .button.save.icon span:is(.dark *) {
  background-image: var(--icon-save-dark);
}
#entity > .footer .pager .button.save.icon span:is(.light *) {
  background-image: var(--icon-save-light);
}
#entity > .footer .pager .button.active {
  cursor: default;
}
#entity > .footer .pager .button.active:is(.modern *) {
  box-shadow: 0 0 0 4px #ff4d0021;
}
#entity > .footer .pager .button.active:is(.classic *):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;
}
#entity > .footer .pager .button.active:is(.classic *):is(.classic.dark *) > span {
  transform: translate(0, 1px);
}
#entity > .footer .counters {
  display: grid;
  grid-auto-flow: column;
  column-gap: 0.5rem;
}
#entity > .footer .counters input {
  width: 100%;
  font-family: var(--sans-serif);
  font-size: var(--sans-serif-size);
  min-height: 1.875rem;
  width: 3.125rem;
  text-align: center;
}
#entity > .footer .counters input:is([type=text], [type=search], [type=password], [type=date], [type=time], textarea) {
  padding: 0 0.5rem;
}
#entity > .footer .counters input:is(.dark *) {
  color: #cccccc;
}
#entity > .footer .counters input:is(.light *) {
  color: #333333;
}
#entity > .footer .counters input:is(.classic *) {
  border-width: 0.0625rem;
  border-style: solid;
}
#entity > .footer .counters input:is(.classic *)[type="text"],
#entity > .footer .counters input:is(.classic *)[type="date"],
#entity > .footer .counters input:is(.classic *)[type="time"],
#entity > .footer .counters input:is(.classic *)[type="search"],
#entity > .footer .counters input:is(.classic *)[type="password"] {
  height: 2.25rem;
}
#entity > .footer .counters input:is(.classic *):is(.dark *) {
  border-bottom-color: #413e3e;
  border-right-color: #413e3e;
  border-top-color: #0c0c0c;
  border-left-color: #0c0c0c;
  background-color: #1e1d1d;
}
#entity > .footer .counters input:is(.modern *) {
  border-radius: 0.25rem;
  border-width: 2px;
  border-style: solid;
}
#entity > .footer .counters input:is(.modern *)[type="text"],
#entity > .footer .counters input:is(.modern *)[type="date"],
#entity > .footer .counters input:is(.modern *)[type="time"],
#entity > .footer .counters input:is(.modern *)[type="search"],
#entity > .footer .counters input:is(.modern *)[type="password"] {
  height: 2.25rem;
}
#entity > .footer .counters input:is(.modern *):is(.dark *) {
  background-color: #1e1d1d;
  border-color: #383433;
}
#entity > .footer .counters input:is(.modern *):is(.light *) {
  background-color: #fffbfb;
  border-color: #c9bfbc;
}
#entity > .footer .counters input[type=file] {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  opacity: 0;
  position: absolute;
  z-index: 7;
  cursor: pointer;
}
#entity > .footer .counters input[type=file]::-webkit-file-upload-button {
  cursor: pointer;
}
#entity > .footer .counters input[type=radio] {
  appearance: none;
  cursor: pointer;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
}
#entity > .footer .counters input[type=radio]:is(.modern *):is(.dark *):checked {
  background-color: #ff4e00;
  border-color: #802600;
  box-shadow: 0 0 3rem 1rem #ff4d0021;
}
#entity > .footer .counters input[type=radio]:is(.modern *):is(.light *):checked {
  background-color: #ff4e00;
  border-color: #ff9466;
  box-shadow: 0 0 3rem 1rem #ff4d0021;
}
#entity > .footer .counters input[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;
}
#entity > .footer .counters input[type=checkbox] {
  appearance: none;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}
#entity > .footer .counters input[type=checkbox]:is(.modern *) {
  border-radius: 0.25rem;
  border-style: solid;
  border-width: 2px;
}
#entity > .footer .counters input[type=checkbox]:is(.modern *):is(.dark *) {
  background-color: #1e1d1d;
  border-color: #383433;
}
#entity > .footer .counters input[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);
}
#entity > .footer .counters input[type=checkbox]:is(.modern *):is(.light *) {
  background-color: #fffbfb;
  border-color: #c9bfbc;
}
#entity > .footer .counters input[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);
}
#entity > .footer .counters input[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;
}
#entity > .footer .counters input:is(.classic *):is(.dark *) {
  background-color: #171717;
}
#entity > .footer .counters span {
  display: grid;
  align-content: center;
}
