@font-face {
  font-family: "FontAwesome";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(./fontawesome/fa-regular-400.woff2);
  unicode-range: U+f000 -uf2e0;
}
@font-face {
  font-family: "FontAwesome";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url(./fontawesome/fa-solid-900.woff2);
  unicode-range: U+f000 -uf2e0;
}
* {
  font-family: sans-serif;
  box-sizing: border-box;
  margin: 0;
  --dim-grey: #6c756b;
  --cool-steel: #93acb5;
  --baby-blue-ice: #96c5f7;
  --icy-blue: #a9d3ff;
  --ghost-white: #f2f4ff;
  --burnt-rose: #984447;
}
button:not(.unstyled) {
  background: var(--col-bg);
  color: var(--col-fg);
  --col-warning: var(--burnt-rose);
  --col-bg: var(--icy-blue);
  --col-fg: var(--dim-grey);
  display: inline-flex;
  flex-direction: row;
  border: none;
  padding: 0.5em 1em;
  border-radius: 2em;
  gap: 0.5em;
}
body {
  display: flex;
  flex-direction: column;
  gap: inherit;
  min-height: 100vh;
}
media-preview {
  display: flex;
  flex-direction: column;
  gap: inherit;
  width: auto;
  overflow: hidden;
}
media-preview img,
media-preview video {
  max-width: 100%;
  flex: 1 1 auto;
  overflow: hidden;
  object-fit: contain;
  object-position: center;
}
html {
  background: var(--col-bg);
  color: var(--col-fg);
  --col-warning: var(--burnt-rose);
  --col-bg: var(--ghost-white);
  --col-fg: var(--dim-grey);
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: inherit;
  overflow: hidden;
}
header {
  background: var(--col-bg);
  color: var(--col-fg);
  --col-warning: var(--burnt-rose);
  --col-bg: var(--cool-steel);
  --col-fg: black;
  padding: 1em;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
body.item {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: inherit;
}
body.item header {
  display: flex;
  gap: inherit;
}
body.item header > .info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1em;
  align-items: flex-start;
}
body.item header > .info .item-name {
  font-size: x-large;
}
body.item header > .code {
  display: flex;
  flex-direction: column;
  gap: 1em;
  align-items: center;
}
body.item header > .code > img {
  width: 5em;
}
body.item article {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 1em;
  overflow: auto;
}
body.item article .attributes {
  display: none;
}
body.item .attachments > list-component {
  display: flex;
  gap: 2em;
}
body.item .attachments > list-component button {
  background: var(--col-bg);
  color: var(--col-fg);
  --col-warning: var(--burnt-rose);
  --col-bg: var(--cool-steel);
  --col-fg: black;
  border: none;
  border-radius: 1em / 3;
  padding: 1em;
  box-shadow: 0 0 0.33333333em 0 #00000080;
  display: block;
  aspect-ratio: 1 / 1;
  width: 12em;
}
body.item .attachments > list-component button[data-action=add-attachment] {
  display: flex;
  flex-direction: column;
  gap: 1em;
  align-items: center;
  justify-content: center;
}
body.item .attachments > list-component button[data-action=add-attachment]::before {
  background: var(--col-bg);
  color: var(--col-fg);
  --col-warning: var(--burnt-rose);
  --col-bg: var(--cool-steel);
  --col-fg: black;
  font-family: "FontAwesome";
  font-style: normal;
  font-weight: 900;
  font-variant: normal;
  content: "\f030";
  font-size: 3em;
}
body.item .attachments > list-component::part(root) {
  display: contents !important;
}
body.item .attachments > list-component::part(list-item) {
  margin: 0;
  transition: margin 0.5s;
}
body.item .attachments > list-component :not(.dragging).drag-after {
  margin-right: 2em;
}
body.item .attachments > list-component :not(.dragging).drag-before {
  outline: 2px dashed var(--col-fg);
  margin-left: 2em;
}
body.item .attachments > list-component .preview-container {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--col-bg);
  color: var(--col-fg);
  --col-warning: var(--burnt-rose);
  --col-bg: var(--cool-steel);
  --col-fg: black;
  border: none;
  border-radius: 1em / 3;
  padding: 1em;
  box-shadow: 0 0 0.33333333em 0 #00000080;
  width: 10em;
}
body.item .attachments > list-component .preview-container media-preview {
  position: absolute;
  inset: 1em;
}
body.item .attachments > list-component .preview-container .tools {
  position: absolute;
  top: -0.5em;
  right: -0.5em;
  display: flex;
  gap: 0.5em;
}
body.item .attachments > list-component .preview-container [data-action=remove-attachment] {
  display: flex;
  gap: 0.5em;
  align-items: center;
  justify-content: center;
  border-radius: 2em;
  background: var(--col-warning);
  color: white;
  width: 1.5em;
  aspect-ratio: 1 / 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
body.item .attachments > list-component .preview-container [data-action=remove-attachment]::before {
  font-family: "FontAwesome";
  font-style: normal;
  font-weight: 900;
  font-variant: normal;
  content: "\f00d";
}
body.item .attachments > list-component .preview-container [data-action=remove-attachment] > span {
  display: none;
}
body.item .attachments > list-component .preview-container span[draggable] {
  display: flex;
  gap: 0.5em;
  align-items: center;
  justify-content: center;
  border-radius: 2em;
  font-size: 2em;
  background: white;
  color: var(--cool-steel);
  position: absolute;
  width: 1.5em;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  aspect-ratio: 1 / 1;
  cursor: move;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
body.item .attachments > list-component .preview-container span[draggable]::before {
  font-family: "FontAwesome";
  font-style: normal;
  font-weight: 900;
  font-variant: normal;
  content: "\f07e";
}
body.item .attachments > list-component .preview-container span[draggable] > span {
  display: none;
}
body.item .attachments > list-component .preview-container:hover [data-action=remove-attachment] {
  opacity: 1;
  pointer-events: all;
}
body.item .attachments > list-component .preview-container:hover span[draggable] {
  opacity: 1;
  pointer-events: all;
}
body.item section.contents [data-action=add-contained-item] {
  margin-top: 1em;
  display: flex;
  gap: 0.5em;
  align-items: center;
  justify-content: center;
  border-radius: 2em;
}
body.item section.contents [data-action=add-contained-item]::before {
  font-family: "FontAwesome";
  font-style: normal;
  font-weight: 900;
  font-variant: normal;
  content: "\f067";
}
ul.breadcrumb {
  display: flex;
  gap: 0.5em;
  font-size: smaller;
}
ul.breadcrumb > li {
  display: flex;
  gap: inherit;
}
ul.breadcrumb > li:not(:first-child)::before {
  font-family: "FontAwesome";
  font-style: normal;
  font-weight: 900;
  font-variant: normal;
  content: "\f105";
}
ul.breadcrumb a {
  text-decoration: none;
  color: black;
}
ul.breadcrumb .home a::before {
  font-family: "FontAwesome";
  font-style: normal;
  font-weight: 900;
  font-variant: normal;
  content: "\e3af";
}
article {
  padding: 1em;
  flex-grow: 1;
}
footer {
  background: var(--col-bg);
  color: var(--col-fg);
  --col-warning: var(--burnt-rose);
  --col-bg: var(--cool-steel);
  --col-fg: black;
  display: flex;
  gap: inherit;
  padding: 1em;
}
list-component.item-list {
  display: grid;
  grid-template-columns: max-content max-content max-content max-content 1fr;
}
list-component.item-list::part(root),
list-component.item-list::part(list-item),
list-component.item-list li,
list-component.item-list state-component,
list-component.item-list loading-placeholder,
list-component.item-list item-list-view {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  align-items: center;
}
list-component.item-list div[slot=after] {
  grid-column: 1 / -1;
}
list-component.item-list item-list-view {
  grid-column: 3 / -1;
}
list-component.item-list item-list-view .preview {
  background: var(--col-bg);
  color: var(--col-fg);
  --col-warning: var(--burnt-rose);
  --col-bg: var(--cool-steel);
  --col-fg: black;
  border: none;
  border-radius: 0.5em / 3;
  padding: 0.5em;
  box-shadow: 0 0 0.16666667em 0 #00000080;
  display: flex;
  flex-direction: column;
  gap: inherit;
  width: 5em;
  height: 5em;
  overflow: hidden;
  justify-content: center;
  text-align: center;
}
list-component.item-list item-list-view .preview div[data-action] {
  font-size: x-small;
  display: flex;
  flex-direction: column;
  gap: 1em;
  align-items: center;
  justify-content: center;
}
list-component.item-list item-list-view .preview div[data-action]::before {
  background: var(--col-bg);
  color: var(--col-fg);
  --col-warning: var(--burnt-rose);
  --col-bg: var(--cool-steel);
  --col-fg: black;
  font-family: "FontAwesome";
  font-style: normal;
  font-weight: 900;
  font-variant: normal;
  content: "\f030";
  font-size: 3em;
}
list-component.item-list item-list-view .preview media-preview {
  flex: 1 1 auto;
}
list-component.item-list item-list-view .preview.hasPreview div[data-action] {
  display: none;
}
list-component.item-list item-list-view .preview:not(.hasPreview) media-preview {
  display: none;
}
list-component.item-list [data-action=remove-item] {
  display: flex;
  gap: 0.5em;
  align-items: center;
  justify-content: center;
  border-radius: 2em;
  background: var(--col-warning);
  color: white;
  width: 1.5em;
  aspect-ratio: 1 / 1;
}
list-component.item-list [data-action=remove-item]::before {
  font-family: "FontAwesome";
  font-style: normal;
  font-weight: 900;
  font-variant: normal;
  content: "\f00d";
}
list-component.item-list [data-action=remove-item] > span {
  display: none;
}
list-component.item-list .edit-link {
  display: flex;
  gap: 0.5em;
  align-items: center;
  justify-content: center;
  border-radius: 2em;
  background: var(--icy-blue);
  color: var(--cool-steel);
  width: 1.5em;
  aspect-ratio: 1 / 1;
}
list-component.item-list .edit-link::before {
  font-family: "FontAwesome";
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  content: "\f15c";
}
list-component.item-list .edit-link > span {
  display: none;
}
list-component.item-list .edit-link:not([href]) {
  opacity: 0.5;
}
list-component.item-list span[draggable] {
  display: flex;
  gap: 0.5em;
  align-items: center;
  justify-content: center;
  border-radius: 2em;
  background: var(--icy-blue);
  color: var(--cool-steel);
  width: 1.5em;
  aspect-ratio: 1 / 1;
}
list-component.item-list span[draggable]::before {
  font-family: "FontAwesome";
  font-style: normal;
  font-weight: 900;
  font-variant: normal;
  content: "\f07d";
}
list-component.item-list span[draggable] > span {
  display: none;
}
edit-container {
  display: flex;
  gap: 0.5em;
  align-items: center;
}
edit-container::before {
  font-family: "FontAwesome";
  font-style: normal;
  font-weight: 900;
  font-variant: normal;
  content: "\f303";
  color: var(--dim-grey);
}
edit-container input {
  font: inherit;
}
edit-container:not(:focus-within) input {
  border-color: transparent;
  background: none;
}
textarea {
  width: 100%;
  resize: vertical;
  height: 5em;
}
[data-action=save-changes] {
  display: flex;
  gap: 0.5em;
  align-items: center;
  justify-content: center;
  border-radius: 2em;
}
[data-action=save-changes]::before {
  font-family: "FontAwesome";
  font-style: normal;
  font-weight: 900;
  font-variant: normal;
  content: "\f0c7";
}
[data-action] {
  cursor: pointer;
}
h3 {
  margin-bottom: 0.5em;
}
dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  padding: 3em;
  display: flex;
  flex-direction: column;
  gap: inherit;
  max-height: 80vh;
  max-width: 80vw;
  border: 2px solid var(--col-fg);
  border-radius: 5px;
  box-shadow: 0 0 10px 0 #00000080;
}
dialog img {
  overflow: hidden;
  object-fit: contain;
}
dialog::backdrop {
  backdrop-filter: blur(5px);
  background: #00000040;
}
dialog:not([open]) {
  display: none;
}
provide-value {
  display: contents;
}
