/*
! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input:-ms-input-placeholder, textarea:-ms-input-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden] {
  display: none;
}

* {
  background-color: inherit;
}

h1 {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
    line-height: 1;
  }
}

h1 {
  margin-bottom: 1rem;
  font-weight: 800;
}

input, textarea {
  position: relative;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  border-width: 1px;
  outline: 2px solid transparent;
  outline-offset: 2px;
}

input:focus, textarea:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

input, textarea {
  padding: 0.25rem;
  overflow: hidden;
}

select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-clip: padding-box;
  background-repeat: no-repeat;
  border-width: 1px;
  border-style: solid;
  border-radius: 0.25rem;
  transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

select:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

select {
  width: 8rem;
  padding: 0.25rem;
}

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}

::-webkit-backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}

.view__container {
  overflow-y: auto;
}

#list .table__wrapper {
  overflow: auto;
  max-height: 100%;
}

#prefix-select nav {
  overflow-y: auto;
}

#jobs {
  position: absolute;
  bottom: 0px;
  left: 1.25rem;
  width: 15rem;
  z-index: 50;
  border-left-width: 2px;
  border-right-width: 2px;
  border-top-width: 2px;
  padding: 1.25rem;
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
}

#jobs:empty {
  visibility: hidden;
}

.job__container {
  width: 100%;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
  position: relative;
  background-color: transparent;
  height: 1.25rem;
}

.job__label {
  display: inline-block;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  padding-left: 0.25rem;
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  border-width: 1px;
  position: absolute;
  top: 0px;
  line-height: 1.5;
}

.job__bar {
  position: absolute;
  top: 0px;
  height: 100%;
  border-radius: 9999px;
  z-index: -10;
  min-width: 1.25rem;
}

.topbar {
  background-color: transparent;
}

.disabled {
  opacity: 0.3;
}

.drop::before {
  content: ' ';
  display: inline-block;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid currentColor;
  vertical-align: middle;
  margin-right: .7rem;
  transform: translateY(-2px);
  transition: transform .2s ease-out;
}

.button__add {
  display: inline-block;
  content: " ";
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='w-6 h-6'><path stroke-linecap='round' stroke-linejoin='round' d='M12 9v6m3-3H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z'/></svg>");
}

.button__remove {
  display: inline-block;
  content: " ";
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='w-6 h-6'><path stroke-linecap='round' stroke-linejoin='round' d='M9.75 9.75l4.5 4.5m0-4.5l-4.5 4.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z'/></svg>");
}

.button__up {
  display: inline-block;
  content: " ";
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='w-6 h-6'><path stroke-linecap='round' stroke-linejoin='round' d='M15 11.25l-3-3m0 0l-3 3m3-3v7.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z' /></svg>");
}

.button__down {
  display: inline-block;
  content: " ";
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='w-6 h-6'><path stroke-linecap='round' stroke-linejoin='round' d='M9 12.75l3 3m0 0l3-3m-3 3v-7.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z' /></svg>");
}

@-webkit-keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

.spinner {
  content: "";
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #ccc;
  border-top-color: #000;
  -webkit-animation: spinner 0.6s linear infinite;
          animation: spinner 0.6s linear infinite;
}

input[class$="-loading"] + div nav:before {
  content: "";
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #ccc;
  border-top-color: #000;
  -webkit-animation: spinner 0.6s linear infinite;
          animation: spinner 0.6s linear infinite;
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
}

.button__remove, .button__add {
  opacity: 0.5;
}

.button__remove:hover, .button__add:hover {
  opacity: 1;
}

.search_select {
  display: flex;
  flex-direction: row;
  align-content: center;
}

.search_select nav {
  width: 100%;
}

.search_select .button__remove {
  margin-right: 0.25rem;
}

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

.main__wrap {
  display: flex;
  overflow: hidden;
  height: 100vh;
}

.nav {
  overflow-y: auto;
  width: 20%;
  padding: 1rem;
}

.nav__list {
  align-content: center;
  justify-content: space-between;
}

.nav__list > .nav__item:first-of-type {
  padding-bottom: 1.25rem;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  text-align: center;
}

.nav__item {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav__item--drop {
  margin-left: 0.25rem;
}

.nav__item--drop > ul {
  margin-left: 1rem;
}

.nav__list > .nav__item--group:first-of-type {
  padding-bottom: 1.25rem;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  text-align: center;
}

.nav__item--group {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav__item--group a {
  padding: 0.25rem;
  border-radius: 0.25rem;
}

.nav__item--group {
  border-bottom-width: 1px;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  display: flex;
  flex-direction: column;
}

.nav__list > .nav__item--selected:first-of-type {
  padding-bottom: 1.25rem;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  text-align: center;
}

.nav__item--selected {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav__item--selected a {
  padding: 0.25rem;
  border-radius: 0.25rem;
  -webkit-text-decoration-line: underline;
          text-decoration-line: underline;
  -webkit-text-decoration-style: dotted;
          text-decoration-style: dotted;
}

.nav__item a {
  padding: 0.25rem;
  border-radius: 0.25rem;
}

.nav__item--active {
  padding: 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav__item--drop {
  white-space: nowrap;
}

.nav__item--drop input {
  display: none;
}

.nav__item--drop label {
  padding-left: 0.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease-out;
}

.nav__item--drop label::before {
  content: ' ';
  display: inline-block;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid currentColor;
  vertical-align: middle;
  margin-right: .7rem;
  transform: translateY(-2px);
  transition: transform .2s ease-out;
}

.nav__item--drop input:checked + label::before {
  transform: rotate(90deg) translateX(-3px);
}

.nav__item--drop ul {
  display: none;
}

.nav__item--drop input:checked + label + ul {
  display: list-item;
}

.content {
  display: flex;
  flex-direction: column;
  width: 80%;
  padding: 0.5rem;
}

.home__intro {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.resource__banner {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 1024px) {
  .resource__banner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.resource__banner {
  white-space: nowrap;
  overflow-x: clip;
  margin-bottom: 0.5rem;
}

.resource__title {
  display: grid;
  align-items: center;
  justify-items: center;
}

@media (min-width: 1024px) {
  .resource__title {
    justify-items: end;
  }
}

.resource__title {
  height: 100%;
  direction: rtl;
}

.resource__actions {
  flex-direction: column;
  flex: 1 1 0%;
  align-items: center;
  display: grid;
  justify-items: center;
}

@media (min-width: 1024px) {
  .resource__actions {
    justify-items: end;
  }
}

.resource__actions {
  white-space: nowrap;
}

.resource__actions > div > * {
  margin-left: 0.5rem;
}

.resource__action {
  display: inline-flex;
  height: 2rem;
}

.resource__action--link:hover {
  -webkit-text-decoration-line: underline;
          text-decoration-line: underline;
}

.resource__action--btn, .resource__action--secondary {
  display: inline-flex;
  height: 2rem;
  align-items: center;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  transition-property: color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  border-radius: 0.5rem;
  position: relative;
  white-space: nowrap;
  border-width: 1px;
}

.resource__action--disabled {
  display: inline-flex;
  height: 2rem;
  align-items: center;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  transition-property: color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  border-radius: 0.5rem;
  position: relative;
  white-space: nowrap;
  border-width: 1px;
  opacity: 0.3;
}

.resource__action--danger {
  display: inline-flex;
  height: 2rem;
  align-items: center;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  transition-property: color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  border-radius: 0.5rem;
  position: relative;
  white-space: nowrap;
  border-width: 1px;
}

.resource__action--drop {
  display: inline-flex;
  height: 2rem;
}

[class$="--drop"] {
  flex-direction: column;
}

[class$="--drop"] > div {
  position: relative;
}

[class$="--drop"] nav {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  display: none;
  position: absolute;
  left: 0px;
  border-width: 1px;
  border-radius: 0.375rem;
  padding-left: 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  z-index: 50;
  max-height: 20rem;
  padding: 0.25rem;
}

[class$="--drop"] div:first-child nav {
  bottom: 0.5rem;
}

[class$="--drop"] div:last-child nav {
  top: 0.25rem;
}

[class$="--drop"]:focus-within nav {
  display: block;
}

[class$="--drop"] nav a:hover {
  -webkit-text-decoration-line: underline;
          text-decoration-line: underline;
}

.resource__view dd {
  margin-bottom: 0.75rem;
}

#index-page {
  overflow-x: auto;
}

.list__search {
  background-color: transparent;
  display: flex;
  margin: 0.25rem;
}

.list__search input {
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  width: 15rem;
  border-width: 0px;
  height: 2rem;
}

.list__search svg {
  width: 1.25rem;
  height: 1.25rem;
}

.resource__table {
  padding: 0.5rem;
  margin: 0.25rem;
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  border-radius: 0.25rem;
  border-collapse: collapse;
  border-width: 1px;
  position: relative;
}

.resource__table th {
  position: -webkit-sticky;
  position: sticky;
  z-index: 10;
  top: 0px;
}

.table__footer > div {
  padding: 0.5rem;
  display: flex;
  align-items: center;
}

#footer-nav div {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-weight: 600;
}

#pagination-modal label {
  background-color: inherit;
  width: 50%;
}

.resource__table dd {
  margin-bottom: 1.25rem;
}

.resource__header {
  border-width: 1px;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  white-space: nowrap;
}

.header__link--down::before {
  content: ' ';
  display: inline-block;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid currentColor;
  vertical-align: middle;
  margin-right: .7rem;
  transform: translateY(-2px);
  transition: transform .2s ease-out;
  transform: rotate(90deg) translateX(-3px);
}

.header__link--up::before {
  content: ' ';
  display: inline-block;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid currentColor;
  vertical-align: middle;
  margin-right: .7rem;
  transform: translateY(-2px);
  transition: transform .2s ease-out;
  transform: rotate(-90deg) translateX(3px);
}

[class^="resource__cell"] {
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  height: 5rem;
  position: relative;
}

.resource__cell:not(:first-child) .cell__contents {
  overflow-y: auto;
}

.cell__contents {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: safe center;
}

.resource__menu--drop svg {
  width: 1.25rem;
  height: 1.25rem;
}

.cell__copy {
  cursor: pointer;
}

.resource__form {
  border-radius: 0.25rem;
  border-collapse: collapse;
  border-width: 1px;
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  padding: 0.5rem;
  margin: 0.25rem;
  width: 100%;
}

.form__actions {
  display: flex;
  justify-content: flex-end;
}

.form__actions > * {
  margin-left: 0.25rem;
}

.table__actions {
  display: flex;
}

.table__actions * {
  margin-right: 0.5rem;
}

.embed__sort, .embed__drop {
  display: none;
}

.embed__title {
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.embed__group {
  border-left-width: 1px;
  border-style: dashed;
  padding-bottom: 1.25rem;
  position: relative;
  margin-left: 0.75rem;
}

.embed__group .button__add {
  position: absolute;
  bottom: -0.5rem;
  left: -0.75rem;
}

.embed__item > .button__remove {
  position: absolute;
  top: -0.5rem;
  left: -0.5rem;
}

.embed__item > .button__up {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
}

.embed__item > .button__down {
  position: absolute;
  bottom: -0.5rem;
  right: -0.5rem;
}

.embed__item {
  position: relative;
  border-width: 1px;
  border-style: dotted;
  margin-left: 1.25rem;
  margin-top: 0.75rem;
}

.embed__item > div {
  flex-direction: column;
  padding: 0.75rem;
  flex-grow: 1;
}

.field__group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.field__group--disabled {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.field__label {
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.checkbox__group input {
  --tw-scale-x: 1.5;
  --tw-scale-y: 1.5;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.checkbox__group label {
  margin-left: 0.25rem;
}

.checkbox__group {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.25rem;
  justify-items: start;
  margin-left: 0.75rem;
}

.field__array--group {
  position: relative;
  padding-bottom: 1.5rem;
}

.field__array--group a.button__add {
  position: absolute;
  left: -0px;
  bottom: -0.25rem;
}

.field__array--group > div {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.field__array--group > div > a {
  flex-shrink: 0;
  margin-right: 0.5rem;
}

.field__array--group input {
  margin-bottom: 0px;
}

.field__map--group > div {
  position: relative;
  padding-bottom: 1.5rem;
}

.field__map--group a.button__remove {
  flex-shrink: 0;
  margin-right: 0.5rem;
}

.field__map--group a.button__add {
  position: absolute;
  left: 0px;
  bottom: 0px;
}

.field__map--row {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.field__map--row textarea {
  margin-bottom: 0px;
  margin-right: 0.5rem;
  width: 25%;
}

.toast__container {
  position: fixed;
  width: 12rem;
  z-index: 40;
  border-radius: 0.25rem;
  padding: 0.25rem;
  text-align: center;
  border-width: 1px;
  bottom: 1.25rem;
  text-overflow: clip;
  overflow: hidden;
  left: 50%;
  top: auto !important;
  transform: translate(-50%, -50%) !important;
}

[class^="toast__container"]:empty {
  display: none;
}

.toast__container--info {
  position: fixed;
  width: 12rem;
  z-index: 40;
  border-radius: 0.25rem;
  padding: 0.25rem;
  text-align: center;
  border-width: 1px;
  bottom: 1.25rem;
  text-overflow: clip;
  overflow: hidden;
  left: 50%;
  top: auto !important;
  transform: translate(-50%, -50%) !important;
}

.toast__container--error {
  position: fixed;
  width: 12rem;
  z-index: 40;
  border-radius: 0.25rem;
  padding: 0.25rem;
  text-align: center;
  border-width: 1px;
  bottom: 1.25rem;
  text-overflow: clip;
  overflow: hidden;
  left: 50%;
  top: auto !important;
  transform: translate(-50%, -50%) !important;
}

.toast__container--success {
  position: fixed;
  width: 12rem;
  z-index: 40;
  border-radius: 0.25rem;
  padding: 0.25rem;
  text-align: center;
  border-width: 1px;
  bottom: 1.25rem;
  text-overflow: clip;
  overflow: hidden;
  left: 50%;
  top: auto !important;
  transform: translate(-50%, -50%) !important;
}

.invisible {
  visibility: hidden;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.sticky {
  position: -webkit-sticky;
  position: sticky;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.block {
  display: block;
}

.flex {
  display: flex;
}

.table {
  display: table;
}

.grid {
  display: grid;
}

.contents {
  display: contents;
}

.hidden {
  display: none;
}

.size-6 {
  width: 1.5rem;
  height: 1.5rem;
}

.h-5 {
  height: 1.25rem;
}

.h-6 {
  height: 1.5rem;
}

.h-full {
  height: 100%;
}

.w-1\/2 {
  width: 50%;
}

.w-5 {
  width: 1.25rem;
}

.w-6 {
  width: 1.5rem;
}

.grow {
  flex-grow: 1;
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.select-all {
  -webkit-user-select: all;
     -moz-user-select: all;
          user-select: all;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.border {
  border-width: 1px;
}

.border-2 {
  border-width: 2px;
}

.border-l {
  border-left-width: 1px;
}

.p-10 {
  padding: 2.5rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.uppercase {
  text-transform: uppercase;
}

.underline {
  -webkit-text-decoration-line: underline;
          text-decoration-line: underline;
}

.opacity-0 {
  opacity: 0;
}

.opacity-100 {
  opacity: 1;
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.transition {
  transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.ease-in {
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}

.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

input[type="date"], input[type="number"] {
  width: 8rem;
}

input[type="submit"] {
  cursor: pointer;
}

.cell__icons {
  display: none;
  position: absolute;
  bottom: 0px;
  right: 0px;
  margin: 0.25rem;
}

.cell__icons div {
  cursor: pointer;
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}

[class^="resource__cell"]:hover .cell__icons {
  display: flex;
}

.resource__cell svg {
  width: 1.5rem;
  height: 1.5rem;
}

.field__assoc--link {
  line-height: 2.25rem;
  -webkit-text-decoration-line: underline;
          text-decoration-line: underline;
  vertical-align: bottom;
}

.field__assoc--link:hover::after {
  line-height: 2.25rem;
  display: inline-block;
  content: " ";
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor' class='w-5 h-5'><path fill-rule='evenodd' d='M4.25 5.5a.75.75 0 00-.75.75v8.5c0 .414.336.75.75.75h8.5a.75.75 0 00.75-.75v-4a.75.75 0 011.5 0v4A2.25 2.25 0 0112.75 17h-8.5A2.25 2.25 0 012 14.75v-8.5A2.25 2.25 0 014.25 4h5a.75.75 0 010 1.5h-5z' clip-rule='evenodd' /><path fill-rule='evenodd' d='M6.194 12.753a.75.75 0 001.06.053L16.5 4.44v2.81a.75.75 0 001.5 0v-4.5a.75.75 0 00-.75-.75h-4.5a.75.75 0 000 1.5h2.553l-9.056 8.194a.75.75 0 00-.053 1.06z' clip-rule='evenodd' /></svg>");
  width: 20px;
  height: 20px;
  margin-left: 0.5rem;
}

.modal {
  position: fixed;
  display: none;
  inset: 0px;
  background-color: rgb(75 85 99 / var(--tw-bg-opacity));
  --tw-bg-opacity: 0.5;
  overflow-y: auto;
  height: 100%;
  width: 100%;
  z-index: 50;
  margin: 0px;
}

.modal > div {
  position: relative;
  top: 5rem;
  margin-left: auto;
  margin-right: auto;
  padding: 1.25rem;
  border-width: 1px;
  width: 25%;
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  border-radius: 0.375rem;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  white-space: normal;
}

.modal form {
  display: flex;
  flex-direction: column;
  margin-top: 0.75rem;
}

.modal label {
  display: flex;
  height: 1.75rem;
  width: 1.75rem;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity));
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
}

.modal input {
  flex-grow: 1;
}

.modal__title {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
  border-bottom-width: 2px;
}

.modal form > div {
  display: flex;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.modal form > div:last-of-type {
  margin-bottom: 0.75rem;
}

.docs {
  white-space: pre-wrap;
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  border-radius: 0.25rem;
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity));
  padding: 0.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.focus\:ring:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
