/* Built from priv/controls/*.css (sha256 e68b75b2f7a038677c9ea08470faebafa87bcf7d42702886f3763a6f147db005) by scripts/build_controls.sh; edit those files, not this one. */
/* priv/controls/notice.css */
.js-flash [data-notice],
.notice-top {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  background: var(--c-bg-alt, Canvas);
  color: var(--c-text, CanvasText);
  min-width: 300px;
  max-width: calc(100% - 32px);
  text-align: center;
  box-shadow: 0 1px 4px #0004;
  transition: opacity .6s;
}
.notice-top.fade {
  opacity: 0;
}
@media (max-width: 700px) {
  .js-flash [data-notice],
  .notice-top {
    left: 0;
    right: 0;
    transform: none;
    min-width: 0;
    max-width: none;
  }
}

/* priv/controls/error_slot.css */
.act-msg:not(:empty) {
  margin-left: .6em;
  font-weight: normal;
}
.act-msg.err {
  color: var(--c-danger, #b00);
}
#header .act-msg.err,
[data-act-box] > .act-msg.err {
  color: var(--c-text, #000);
  background: var(--c-bg, #fff);
  border: 1px solid var(--c-danger, #b00);
  padding: 0 .3em;
}
.form-error {
  color: var(--c-danger, #b00);
  margin: 4px 0;
  font-weight: bold;
}

/* priv/controls/action.css */
.act-marked {
  opacity: .55;
}
.act-gone {
  color: var(--c-text-soft, #777);
  font-style: italic;
}
[data-act-box] {
  position: relative;
}
[data-act-box] > .act-msg:not(:empty) {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  margin-left: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

/* priv/controls/confirm_box.css */
.confirm-box {
  position: absolute;
  z-index: 1000;
  padding: 6px 8px;
  border: 1px solid currentColor;
  border-radius: 4px;
  background: var(--c-bg, Canvas);
  color: var(--c-text, CanvasText);
  font-size: small;
  font-weight: normal;
  white-space: nowrap;
}
.confirm-box button {
  margin: 4px 4px 0 0;
}
.confirm-box input[type=text] {
  width: 16em;
  margin-top: 4px;
  display: block;
}
.confirm-box textarea {
  width: 20em;
  max-width: calc(100vw - 30px);
  box-sizing: border-box;
  margin-top: 4px;
  display: block;
  font: inherit;
}
.confirm-box .chips button {
  border-radius: 10px;
  padding: 1px 9px;
}
.confirm-box label {
  display: block;
  margin-top: 4px;
}
.confirm-box .choice-list {
  white-space: normal;
  width: 18em;
  max-width: calc(100vw - 30px);
  max-height: 50vh;
  overflow-y: auto;
}
.confirm-box .choice-list label {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}
@media (max-width: 700px) {
  .confirm-box select,
  .confirm-box button,
  .confirm-box input[type=text] {
    min-height: 36px;
  }
  .confirm-box .choice-list label {
    min-height: 36px;
  }
}

/* priv/controls/busy.css */
.busy-spinner {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: 6px;
  vertical-align: -0.15em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  opacity: .7;
  animation: busy-spin .8s linear infinite;
}
@keyframes busy-spin {
  to {
    transform: rotate(360deg);
  }
}

/* priv/controls/waiting_line.css */
.search-wait-hint {
  color: var(--c-text-soft, #777);
}
.search-busy {
  color: var(--c-danger, #b00);
}

/* priv/controls/foldout.css */
.foldout {
  margin: 6px 0 8px;
  padding: 6px;
  max-width: 100%;
  box-sizing: border-box;
}
.foldout textarea,
.foldout input[type=text],
.foldout select {
  max-width: 100%;
  box-sizing: border-box;
}

/* controls */
