:root {
  --font-ui:
    "Inter Variable", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Arial, sans-serif;
  --bg: #111218;
  --surface: #191b22;
  --surface-2: #21232c;
  --line: rgba(255, 255, 255, 0.13);
  --muted: #b0b3bd;
  --text: #fafafc;
  --accent: #e83b3f;
  --accent-soft: rgba(232, 59, 63, 0.12);
  --radius: 18px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  color-scheme: dark;
  scrollbar-width: thin;
  scrollbar-color: #565a66 #17181e;
}
html.theme-switching,
html.theme-switching *,
html.theme-switching :after,
html.theme-switching :before {
  transition: none !important;
}
html.modal-open,
html.search-keyboard-positioning {
  scroll-behavior: auto;
}
html.modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}
html.modal-open .ambient {
  display: none;
}
html.modal-open .site-header {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
html::-webkit-scrollbar {
  width: 11px;
}
html::-webkit-scrollbar-track {
  background: #17181e;
}
html::-webkit-scrollbar-thumb {
  background: #565a66;
  border: 2px solid #17181e;
  border-radius: 99px;
}
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-ui);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  transition:
    color 0.24s ease,
    background-color 0.24s ease;
}
body.modal-open-body {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  color: inherit;
}
button,
select {
  cursor: pointer;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
main {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}
.ambient {
  position: fixed;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.15;
  border-radius: 999px;
}
.ambient-one {
  width: 420px;
  height: 420px;
  background: #a61519;
  top: -240px;
  right: 5%;
}
.ambient-two {
  width: 320px;
  height: 320px;
  background: #46349b;
  top: 38%;
  left: -250px;
  opacity: 0.08;
}
.site-header {
  min-height: 76px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  grid-gap: 16px;
  gap: 16px;
  padding: 10px clamp(20px, 4vw, 64px);
  position: relative;
  z-index: 10;
  background: rgba(17, 18, 24, 0.9);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.header-left {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  width: -moz-fit-content;
  width: fit-content;
}
.brand-mark {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  font: 800 17px/1 var(--font-ui);
  position: relative;
  background: #1f2129;
}
.brand-mark:after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  top: -2px;
  right: 1px;
  box-shadow: 0 0 16px var(--accent);
}
.brand > span:last-child {
  display: grid;
  line-height: 1;
  grid-gap: 5px;
  gap: 5px;
}
.brand strong {
  font: 800 14px/1 var(--font-ui);
  letter-spacing: 0.12em;
}
.brand small {
  font-size: 9px;
  letter-spacing: 0.22em;
  color: #9699a3;
}
.header-stats {
  display: flex;
  align-items: center;
  gap: 22px;
}
.header-stats div {
  display: flex;
  gap: 7px;
  align-items: baseline;
}
.header-stats strong {
  font: 800 17px/1 var(--font-ui);
}
.header-stats span {
  color: var(--muted);
  font-size: 13px;
}
.header-stats i {
  width: 1px;
  height: 20px;
  background: var(--line);
}
.mobile-queue-stats {
  display: none;
}
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-socials {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.header-social-link {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 8px;
  border: 0;
  border-radius: 8px;
  color: #aeb1ba;
  background: transparent;
  text-decoration: none;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  transition:
    color 0.18s ease,
    background-color 0.18s ease;
}
.header-social-link:focus-visible,
.header-social-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
  outline: 0;
}
.header-social-link.twitch svg {
  color: #a970ff;
}
.header-social-link.telegram svg {
  color: #4db6e8;
}
.header-social-link.support svg {
  color: #ef595d;
}
@media (min-width: 1181px) {
  .header-left {
    gap: 22px;
  }
  .header-socials {
    gap: 6px;
  }
  .header-social-link {
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.025);
    font-size: 12px;
  }
  .header-social-link svg {
    width: 17px;
    height: 17px;
  }
}
.account-button {
  justify-self: end;
  min-height: 42px;
  border: 1px solid var(--line);
  background: #20222a;
  border-radius: 10px;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #d1d3da;
  font-size: 12px;
  font-weight: 700;
  transition: 0.2s;
}
.account-button:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  background: #292b34;
}
.page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 72px;
  position: relative;
  z-index: 1;
}
section {
  scroll-margin-top: 94px;
}
.hero-section {
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.queue-title-row,
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.eyebrow {
  color: #b8bac3;
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.eyebrow > i {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}
h1,
h2 {
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(29px, 3.5vw, 40px);
}
.section-heading p {
  color: var(--muted);
  margin: 13px 0 0;
  font-size: 15px;
}
.primary-button,
.secondary-button {
  border: 0;
  border-radius: 10px;
  padding: 13px 17px;
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}
.primary-button {
  background: var(--accent);
  color: white;
  box-shadow: 0 8px 24px rgba(232, 59, 63, 0.18);
}
.primary-button:hover {
  background: #f2494d;
}
.secondary-button {
  color: #e0e1e5;
  background: #252730;
  border: 1px solid var(--line);
}
.current-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1px;
  align-items: start;
  grid-column-gap: 14px;
  column-gap: 14px;
  grid-row-gap: 0;
  row-gap: 0;
}
.current-grid.empty {
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
}
.current-grid.empty .empty-current {
  grid-column: 1/-1;
  grid-row: auto;
}
.current-card {
  grid-row-end: span var(--current-card-rows, 240);
  align-self: start;
  min-height: var(--current-card-equal-height, 216px);
  margin-bottom: 14px;
  background: linear-gradient(135deg, #20222a, #181920);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 126px 1fr;
  grid-gap: 20px;
  gap: 20px;
  padding: 14px;
  position: relative;
  overflow: hidden;
  transition:
    min-height 0.38s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}
.current-card.description-open {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.16);
}
.current-card > .poster-placeholder {
  width: 100%;
  aspect-ratio: 2/3;
  align-self: start;
}
.current-card:after {
  content: "";
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(232, 59, 63, 0.13), transparent 68%);
  position: absolute;
  right: -70px;
  top: -70px;
  pointer-events: none;
}
.poster-placeholder {
  border-radius: 12px;
  background: linear-gradient(160deg, #51262b, #282127 46%, #30323a);
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.poster-placeholder:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      130deg,
      transparent 35%,
      rgba(255, 255, 255, 0.05) 36%,
      transparent 37%
    ),
    radial-gradient(circle at 70% 25%, rgba(232, 59, 63, 0.35), transparent 28%);
}
.poster-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.poster-placeholder > span {
  font: 800 44px/1 var(--font-ui);
  color: rgba(255, 255, 255, 0.9);
  position: relative;
}
.poster-lines {
  position: absolute;
  width: 70%;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  bottom: 26px;
}
.poster-lines:after,
.poster-lines:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background: inherit;
  top: -7px;
}
.poster-lines:after {
  width: 55%;
  top: 7px;
}
.current-content {
  min-width: 0;
  padding: 10px 2px 4px 0;
  display: flex;
  flex-direction: column;
}
.current-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.type-label {
  color: #c2c5ce;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
}
.current-content h3 {
  margin: 17px 86px 7px 0;
  font-size: 20px;
  line-height: 1.32;
  font-weight: 800;
}
.current-customer {
  color: #c3c6cf;
  font-size: 12px;
  line-height: 1.4;
  margin: 0 0 6px;
}
.current-customer strong,
.customer-filter-link {
  color: #f0f1f4;
  font-weight: 800;
}
.customer-filter-link {
  display: inline;
  border: 0;
  border-radius: 4px;
  padding: 0;
  background: transparent;
  line-height: inherit;
  text-align: left;
  text-decoration: underline;
  -webkit-text-decoration-color: transparent;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition:
    color 0.18s ease,
    -webkit-text-decoration-color 0.18s ease;
  transition:
    color 0.18s ease,
    text-decoration-color 0.18s ease;
  transition:
    color 0.18s ease,
    text-decoration-color 0.18s ease,
    -webkit-text-decoration-color 0.18s ease;
}
.customer-filter-link:focus-visible,
.customer-filter-link:hover {
  color: #cbb8ef;
  -webkit-text-decoration-color: currentColor;
  text-decoration-color: currentColor;
  outline: 0;
}
.current-description {
  width: 100%;
  min-width: 0;
  display: block;
  position: relative;
  border: 0;
  padding: 0;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
  cursor: default;
}
.current-description > span {
  display: block;
  max-height: 6em;
  overflow: hidden;
  transition:
    max-height 0.5s cubic-bezier(0.2, 0.7, 0.2, 1),
    color 0.2s ease;
}
.current-description.clamped > span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}
.current-description.expandable {
  cursor: pointer;
}
.current-description.expandable:focus-visible > span,
.current-description.expandable:hover > span {
  color: #d0d2d8;
}
.current-description:focus-visible {
  outline: 1px solid rgba(232, 59, 63, 0.55);
  outline-offset: 4px;
  border-radius: 4px;
}
.current-description.expanded > span {
  white-space: pre-wrap;
}
.current-description:disabled {
  opacity: 1;
}
.current-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-top: 9px;
  color: #c4c6ce;
  font-size: 11px;
  font-weight: 700;
}
.current-order-date {
  color: #aeb1ba;
}
.timing-mobile-stack {
  display: none;
}
.recording-link {
  width: -moz-fit-content;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f0b4b6;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 800;
  text-decoration: none;
  margin-top: 8px;
}
.recording-link:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.series-history {
  width: 100%;
  margin-top: 8px;
}
.series-history-toggle {
  width: -moz-fit-content;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 0;
  border: 0;
  color: #b9a7df;
  background: transparent;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 800;
  text-align: left;
}
.series-history-toggle > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.series-history-toggle:focus-visible,
.series-history-toggle:hover {
  color: #d5c8ef;
  outline: 0;
}
.series-history-chevron {
  transition: transform 0.25s ease;
}
.series-history.expanded .series-history-chevron {
  transform: rotate(180deg);
}
.series-history-reveal {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  opacity: 0;
  transition:
    grid-template-rows 0.34s cubic-bezier(0.22, 0.75, 0.25, 1),
    opacity 0.2s ease;
}
.series-history.expanded .series-history-reveal {
  grid-template-rows: 1fr;
  opacity: 1;
}
.series-history-list {
  min-height: 0;
  display: grid;
  margin-top: 7px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
}
.series-history-item {
  min-width: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr) max-content 14px;
  align-items: center;
  grid-gap: 9px;
  gap: 9px;
  padding: 9px 10px;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
}
.series-history-item + .series-history-item {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.series-history-item.active {
  background: rgba(165, 131, 232, 0.07);
}
.series-history-item.clickable {
  cursor: pointer;
  transition: background-color 0.18s ease;
}
.series-history-item.clickable:focus-visible,
.series-history-item.clickable:hover {
  background: rgba(165, 131, 232, 0.11);
  outline: 0;
}
.series-history-item.clickable:focus-visible strong,
.series-history-item.clickable:hover strong {
  color: #fff;
}
.series-history-item > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 7px currentColor;
}
.series-history-item > i.red {
  color: #ef595d;
}
.series-history-item > i.cyan {
  color: #54c8d8;
}
.series-history-item > i.blue {
  color: #5e9fea;
}
.series-history-item > i.violet {
  color: #a583e8;
}
.series-history-item > i.amber {
  color: #d7a94e;
}
.series-history-item > i.green {
  color: #55b985;
}
.series-history-item > div {
  min-width: 0;
  display: grid;
  grid-gap: 2px;
  gap: 2px;
}
.series-history-item strong {
  overflow: hidden;
  color: #e5e6ea;
  font-size: 11px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.series-history-item small,
.series-history-item span {
  color: #9fa2ac;
  font-size: 10px;
  line-height: 1.35;
}
.series-history-item small {
  max-width: none;
  white-space: nowrap;
  text-align: right;
}
.series-history-target {
  color: #797d88;
  transition:
    color 0.18s ease,
    transform 0.18s ease;
}
.series-history-item.clickable:focus-visible .series-history-target,
.series-history-item.clickable:hover .series-history-target {
  color: #c7b4ec;
  transform: translateX(2px);
}
.current-progress-block {
  margin-top: auto;
  padding-top: 9px;
}
.progress-copy {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
  color: #c0c2ca;
  font-size: 11px;
}
.progress-copy strong {
  color: #d7d7da;
}
.progress-track {
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 8px;
}
.progress-track span {
  display: block;
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(232, 59, 63, 0.7);
}
.progress-label {
  color: #bec1ca;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
  text-align: center;
  margin-top: 7px;
}
.progress-label-only {
  margin-top: auto;
  padding-top: 12px;
}
.icon-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #23252d;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.current-card-controls {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  align-items: center;
  gap: 5px;
}
.current-drag-handle {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #8f929c;
  background: #23252d;
  cursor: -webkit-grab;
  cursor: grab;
  touch-action: none;
}
.current-drag-handle:active {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}
.current-drag-handle:focus-visible,
.current-drag-handle:hover {
  color: #d5c8ef;
  border-color: rgba(165, 131, 232, 0.42);
  outline: 0;
}
.current-mobile-move {
  display: none;
  align-items: center;
  gap: 5px;
}
.current-mobile-move button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #a8abb4;
  background: #23252d;
}
.current-mobile-move button:disabled {
  cursor: default;
  opacity: 0.3;
}
.current-edit {
  position: static;
  z-index: 2;
  color: #96969c;
}
.current-edit:hover {
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
}
.current-card.current-dragging {
  opacity: 0.52;
}
.current-card.current-drag-target {
  border-color: rgba(165, 131, 232, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(165, 131, 232, 0.32),
    0 13px 34px rgba(86, 55, 148, 0.18);
}
.empty-current {
  min-height: 170px;
  width: 100%;
  padding: 26px 20px;
  border: 1px dashed rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.018);
  border-radius: var(--radius);
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}
.empty-current > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}
.empty-current strong {
  color: #d4d4d7;
}
.empty-current small {
  color: #8d9099;
  line-height: 1.45;
}
.empty-current-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}
.empty-current-actions .primary-button,
.empty-current-actions .secondary-button {
  min-height: 40px;
  padding: 10px 14px;
  font-size: 11px;
}
.queue-section {
  padding-top: 54px;
}
@media (min-width: 1041px) {
  .queue-section.desktop-search-active {
    min-height: var(--desktop-search-height);
  }
}
.queue-title-row {
  margin-bottom: 24px;
}
.queue-title-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.stats-button {
  min-height: 43px;
}
.stats-button svg {
  color: #ef7376;
}
.toolbar {
  background: #1a1c23;
  border: 1px solid var(--line);
  border-radius: 14px 14px 0 0;
  padding: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.search-shell {
  position: relative;
  z-index: 2;
  flex: 1 1 300px;
  min-width: 220px;
  max-width: 500px;
}
.search-shell.open {
  z-index: 70;
}
.search-box {
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: #13141a;
  border-radius: 9px;
  padding: 0 8px 0 12px;
  color: #a4a7b1;
  transition:
    border-color 0.16s,
    background 0.16s,
    border-radius 0.16s;
}
.search-box:focus-within {
  border-color: rgba(232, 59, 63, 0.45);
  color: #bbb;
}
.search-shell.open .search-box {
  border-bottom-color: transparent;
  border-radius: 9px 9px 0 0;
  background: #181a21;
}
.search-box input {
  min-width: 0;
  flex: 1 1;
  border: 0;
  outline: 0;
  color: #f7f7f8;
  background: transparent;
  font-size: 13px;
}
.search-box input::placeholder {
  color: #8d9099;
}
.search-clear {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 7px;
  color: #8f929c;
  background: transparent;
}
.search-clear:focus-visible,
.search-clear:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  outline: 0;
}
.search-suggestions {
  position: absolute;
  z-index: 80;
  top: calc(100% - 1px);
  left: 0;
  right: 0;
  max-height: min(360px, 60vh);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 5px;
  background: #20222a;
  border: 1px solid rgba(232, 59, 63, 0.45);
  border-top: 0;
  border-radius: 0 0 11px 11px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.42);
}
.search-suggestion-group + .search-suggestion-group {
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.search-suggestion-heading {
  padding: 5px 9px 4px;
  color: #858993;
  font-size: 9px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.search-suggestion {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 14px;
  align-items: center;
  grid-gap: 9px;
  gap: 9px;
  border: 0;
  border-radius: 8px;
  padding: 8px 9px;
  color: #e8e9ed;
  background: transparent;
  text-align: left;
}
.search-suggestion.active,
.search-suggestion:focus-visible,
.search-suggestion:hover {
  background: rgba(232, 59, 63, 0.12);
  outline: 0;
}
.search-suggestion-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #ef777a;
  background: rgba(232, 59, 63, 0.11);
}
.search-suggestion-icon.customer {
  color: #bca6e7;
  background: rgba(165, 131, 232, 0.11);
}
.search-suggestion-copy {
  min-width: 0;
  display: grid;
  grid-gap: 2px;
  gap: 2px;
}
.search-suggestion-copy small,
.search-suggestion-copy strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-suggestion-copy strong {
  color: #f0f1f4;
  font-size: 12px;
  line-height: 1.35;
}
.search-suggestion-copy small {
  color: #9599a3;
  font-size: 10px;
  line-height: 1.35;
}
.search-suggestion-arrow {
  color: #777b85;
  transition:
    color 0.16s,
    transform 0.16s;
}
.search-suggestion.active .search-suggestion-arrow,
.search-suggestion:focus-visible .search-suggestion-arrow,
.search-suggestion:hover .search-suggestion-arrow {
  color: #e7b5b7;
  transform: translateX(2px);
}
kbd {
  color: #9b9da6;
  background: #23252c;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 10px;
  padding: 3px 5px;
  white-space: nowrap;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
}
.filters,
.filters > .custom-select {
  min-width: 0;
}
.custom-select-trigger {
  height: 44px;
  border: 1px solid var(--line);
  outline: 0;
  color: #e0e1e5;
  background: #24262e;
  border-radius: 9px;
  padding: 0 12px;
  font-size: 12px;
}
.custom-select {
  position: relative;
  flex: 0 0 auto;
}
.custom-select.status-select {
  width: 150px;
}
.custom-select.type-select {
  width: 134px;
}
.custom-select.sort-select {
  width: 216px;
}
.custom-select.kind-select {
  width: 154px;
}
.custom-select.open {
  z-index: 50;
}
.custom-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  font-weight: 600;
  transition:
    border-color 0.16s,
    background 0.16s,
    border-radius 0.16s;
}
.custom-select-value {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.custom-select-value > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.custom-select-trigger:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: #292b34;
}
.custom-select-trigger .select-chevron {
  flex: 0 0 auto;
  color: #b5b8c1;
  transition: transform 0.16s;
}
.select-leading-icon,
.select-option-icon {
  flex: 0 0 auto;
  color: #c8cad2;
}
.custom-select.open .custom-select-trigger {
  border-color: rgba(255, 255, 255, 0.22) rgba(255, 255, 255, 0.22) transparent;
  border-radius: 9px 9px 0 0;
  background: #292b34;
}
.custom-select.open .custom-select-trigger .select-chevron {
  transform: rotate(180deg);
}
.custom-select-menu {
  position: absolute;
  z-index: 60;
  top: calc(100% - 1px);
  left: 0;
  width: 100%;
  overflow: hidden;
  padding: 4px;
  background: #292b34;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.38);
}
.custom-select-menu button {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 6px;
  padding: 7px 10px;
  background: transparent;
  color: #e1e3e8;
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
}
.custom-select-menu button > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.custom-select-menu button:focus-visible,
.custom-select-menu button:hover {
  background: rgba(255, 255, 255, 0.07);
  outline: 0;
}
.custom-select-menu button.selected {
  color: #fff;
  background: rgba(232, 59, 63, 0.17);
}
.theme-select {
  width: 136px;
}
.theme-select .custom-select-trigger {
  height: 42px;
  padding: 0 11px;
  background: #20222a;
  font-size: 12px;
}
.theme-select.open .custom-select-trigger {
  border-bottom-color: rgba(255, 255, 255, 0.22);
  border-radius: 10px;
}
.theme-select .custom-select-menu {
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  width: 158px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
}
.theme-select .custom-select-menu button {
  font-size: 12px;
}
.theme-select .custom-select-menu button.selected .select-option-icon {
  color: #ef7376;
}
.queue-table {
  border: 1px solid var(--line);
  border-top: 0;
  background: rgba(26, 28, 35, 0.86);
}
.queue-row,
.table-head {
  display: grid;
  grid-template-columns: 56px minmax(364px, 1.75fr) minmax(145px, 0.7fr) minmax(
      180px,
      0.95fr
    );
  align-items: center;
  grid-gap: 22px;
  gap: 22px;
  padding: 0 20px;
}
.owner-mode .queue-row,
.owner-mode .table-head {
  grid-template-columns:
    56px minmax(284px, 1.65fr) minmax(135px, 0.68fr)
    minmax(145px, 0.78fr) 215px;
}
.table-head {
  min-height: 45px;
  color: #91949e;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.1em;
  font-weight: 800;
  border-bottom: 1px solid var(--line);
}
.table-head > span {
  text-align: center;
}
.table-head .table-number-heading {
  text-align: left;
}
.queue-row {
  min-height: 198px;
  padding-top: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  transition:
    background-color 0.32s ease,
    box-shadow 0.32s ease;
}
.queue-row:focus {
  outline: 0;
}
.queue-row:last-child {
  border-bottom: 0;
}
.queue-row:hover {
  background: rgba(255, 255, 255, 0.025);
}
.queue-row.navigation-highlight {
  background: rgba(165, 131, 232, 0.13);
  box-shadow:
    inset 3px 0 #a583e8,
    inset 0 0 0 1px rgba(165, 131, 232, 0.32),
    0 0 18px rgba(165, 131, 232, 0.08);
  outline: 0;
}
.queue-group-divider {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 20px;
  color: #d8dae1;
  background: rgba(255, 255, 255, 0.025);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.queue-group-divider span {
  font-size: 11px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.queue-group-divider small {
  color: #888c97;
  font-size: 10px;
  line-height: 1.35;
  text-align: right;
}
.position {
  position: absolute;
  z-index: 2;
  left: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 5px 7px;
  color: #f2f3f5;
  background: rgba(17, 18, 24, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font: 800 10px/1 var(--font-ui);
  letter-spacing: 0.08em;
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.28);
}
.queue-main {
  grid-column: 1/3;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 18px;
}
.queue-cover-column {
  position: relative;
  flex: 0 0 120px;
  width: 120px;
  display: block;
}
.queue-copy {
  min-width: 0;
  width: 100%;
  flex: 1 1;
}
.queue-cover {
  position: relative;
  width: 120px;
  aspect-ratio: 2/3;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #4f292e, #2a2c35);
  border: 1px solid var(--line);
}
.queue-cover img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.queue-cover span {
  font-size: 28px;
  font-weight: 800;
  color: #f0f0f2;
}
.queue-title-line {
  min-width: 0;
  display: block;
  margin: 0 0 5px;
}
.queue-main h3 {
  min-width: 0;
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
.new-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  padding: 4px 7px;
  color: #ffb9bb;
  background: rgba(232, 59, 63, 0.13);
  border: 1px solid rgba(232, 59, 63, 0.34);
  border-radius: 999px;
  font: 800 8px/1 var(--font-ui);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: 0.16em;
}
.order-copy-link {
  width: 25px;
  height: 25px;
  display: inline-grid;
  place-items: center;
  margin-left: 7px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #898d97;
  background: transparent;
  vertical-align: middle;
  transform: translateY(-1px);
  transition:
    color 0.16s ease,
    background-color 0.16s ease,
    border-color 0.16s ease;
}
.order-copy-link:focus-visible,
.order-copy-link:hover {
  color: #d4c6ef;
  background: rgba(165, 131, 232, 0.09);
  border-color: rgba(165, 131, 232, 0.24);
  outline: 0;
}
.order-title-link,
.order-title-link:active,
.order-title-link:hover,
.order-title-link:visited {
  color: inherit;
  font: inherit;
  text-decoration: none;
}
.order-title-link:focus-visible {
  outline: 1px solid rgba(232, 59, 63, 0.65);
  outline-offset: 3px;
  border-radius: 3px;
}
.queue-main p,
.row-note {
  margin: 0;
  color: #9da0aa;
  font-size: 11px;
  line-height: 1.4;
}
.queue-main .queue-description {
  width: 100%;
  display: block;
  border: 0;
  padding: 0;
  color: #c5c7ce;
  background: transparent;
  font-size: 12px;
  line-height: 1.5;
  margin: 0 0 6px;
  text-align: left;
  white-space: normal;
}
.queue-description > span {
  display: block;
  max-height: 6em;
  overflow: hidden;
  transition:
    max-height 0.5s cubic-bezier(0.2, 0.7, 0.2, 1),
    color 0.2s ease;
}
.queue-description.clamped > span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}
.queue-description.expandable {
  cursor: pointer;
}
.queue-description.expandable:focus-visible > span,
.queue-description.expandable:hover > span {
  color: #e0e2e7;
}
.queue-description:focus-visible {
  outline: 1px solid rgba(232, 59, 63, 0.55);
  outline-offset: 3px;
  border-radius: 4px;
}
.queue-description.expanded > span {
  white-space: pre-wrap;
}
.queue-description:disabled {
  opacity: 1;
  cursor: default;
}
.queue-customer {
  color: #c8cad2;
  font-size: 12px;
  line-height: 1.45;
  margin-top: 2px;
}
.queue-customer strong {
  color: #f0f1f4;
  font-weight: 800;
}
.queue-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 14px;
  color: #bcc0ca;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
  margin-top: 3px;
}
.queue-tags .meta-scope {
  color: #e0e2e7;
}
.queue-progress-block {
  margin-top: 8px;
}
.queue-progress-copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: #b8bbc4;
  font-size: 11px;
  line-height: 1.35;
}
.queue-progress-copy strong {
  color: #e2e3e7;
  font-weight: 800;
}
.queue-progress-track {
  height: 3px;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 5px;
}
.queue-progress-track span {
  display: block;
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(232, 59, 63, 0.6);
}
.queue-progress-label-only {
  margin-top: 8px;
  color: #b8bbc4;
  font-size: 11px;
  line-height: 1.4;
}
.desktop-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
.desktop-order-date {
  color: #b5b8c1;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 700;
  margin-top: 8px;
}
.mobile-order-date {
  display: none;
}
.rating-score {
  font-weight: 800;
}
.rating-score.low {
  color: #f06468;
}
.rating-score.mid {
  color: #e4bd55;
}
.rating-score.high {
  color: #62c891;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: -moz-fit-content;
  width: fit-content;
  border: 1px solid;
  border-radius: 99px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.status-pill i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 7px currentColor;
}
.status-pill.red {
  color: #ef595d;
  background: rgba(232, 59, 63, 0.07);
}
.status-pill.cyan {
  color: #54c8d8;
  background: rgba(69, 188, 204, 0.08);
}
.status-pill.blue {
  color: #5e9fea;
  background: rgba(71, 135, 210, 0.07);
}
.status-pill.violet {
  color: #a583e8;
  background: rgba(132, 96, 206, 0.08);
}
.status-pill.amber {
  color: #d7a94e;
  background: rgba(196, 145, 47, 0.07);
}
.status-pill.green {
  color: #55b985;
  background: rgba(63, 155, 106, 0.07);
}
.row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
}
.row-actions button {
  width: 31px;
  height: 31px;
  border: 1px solid transparent;
  background: transparent;
  color: #6f6f75;
  border-radius: 7px;
  display: grid;
  place-items: center;
}
.row-actions button.active,
.row-actions button:hover {
  background: #1d1d20;
  color: #d4d4d7;
  border-color: var(--line);
}
.row-actions button.relationship-action {
  color: #9e82dc;
}
.row-actions button.relationship-action:hover {
  color: #c6b1ef;
  background: rgba(165, 131, 232, 0.09);
  border-color: rgba(165, 131, 232, 0.28);
}
.row-actions button.danger:hover {
  color: #ed6568;
  background: rgba(232, 59, 63, 0.08);
}
.row-actions button:disabled {
  opacity: 0.22;
  pointer-events: none;
}
.mobile-comment,
.mobile-meta {
  display: none;
}
.queue-footer {
  min-height: 48px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  color: #92959f;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.queue-footer button {
  border: 0;
  padding: 7px 10px;
  color: #e47b7e;
  background: rgba(232, 59, 63, 0.08);
  border-radius: 7px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.queue-footer button:focus-visible,
.queue-footer button:hover {
  color: #fff;
  background: rgba(232, 59, 63, 0.18);
  outline: 0;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #4fb37f;
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 8px rgba(79, 179, 127, 0.65);
}
.empty-results {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.empty-results > span {
  color: #6d6d72;
}
.empty-results h3 {
  margin: 12px 0 4px;
  font-size: 15px;
}
.empty-results p {
  color: #737379;
  font-size: 12px;
  margin: 0;
}
.empty-results button {
  border: 0;
  color: #e06467;
  background: transparent;
  margin-top: 12px;
  font-size: 11px;
}
.filter-reset-bar {
  min-height: 39px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 13px 10px;
  background: #1a1c23;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.filter-reset-bar button {
  min-height: 29px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(232, 59, 63, 0.22);
  border-radius: 8px;
  padding: 6px 10px;
  color: #e18487;
  background: rgba(232, 59, 63, 0.07);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
}
.filter-reset-bar button:focus-visible,
.filter-reset-bar button:hover {
  color: #fff;
  border-color: rgba(232, 59, 63, 0.42);
  background: rgba(232, 59, 63, 0.15);
  outline: 0;
}
.owner-control {
  display: none;
}
.owner-mode .owner-control {
  display: inline-flex;
}
.owner-row-actions {
  display: none;
}
.owner-mode .owner-row-actions {
  display: flex;
}
.floating-editor-controls {
  position: fixed;
  z-index: 20;
  right: 28px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.floating-add,
.floating-edit-toggle,
.queue-jump-button {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.floating-edit-toggle {
  position: relative;
  z-index: 2;
  color: #e6e7eb;
  background: #24262e;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}
.floating-edit-toggle:focus-visible,
.floating-edit-toggle:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  outline: 0;
  transform: translateY(-1px);
}
.floating-edit-toggle.active {
  color: #fff;
  background: #342226;
  border-color: rgba(232, 59, 63, 0.5);
}
.floating-add {
  color: #fff;
  border: 0;
  background: var(--accent);
  box-shadow: 0 12px 30px rgba(232, 59, 63, 0.3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(18px) scale(0.82);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.24s cubic-bezier(0.22, 0.75, 0.25, 1),
    background-color 0.18s ease;
}
.floating-editor-controls.active .floating-add {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}
.floating-add:focus-visible,
.floating-add:hover {
  background: #f2494d;
  outline: 0;
}
.queue-jump-button {
  position: fixed;
  z-index: 19;
  left: 28px;
  bottom: 28px;
  color: #d7d9df;
  background: rgba(36, 38, 46, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(0.9);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.22s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}
.queue-jump-button.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.queue-jump-button:focus-visible,
.queue-jump-button:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  outline: 0;
}
.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  background: rgba(0, 0, 0, 0.82);
  display: grid;
  place-items: center;
  padding: 20px;
  contain: strict;
}
.stats-modal {
  width: min(820px, 100%);
  max-height: min(820px, calc(100vh - 40px));
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #565a66 #17181e;
  background: #1b1d24;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.auth-dialog,
.data-modal,
.editor,
.order-terms-dialog,
.relationship-dialog,
.stats-modal {
  touch-action: pan-y;
  overscroll-behavior: contain;
}
.stats-modal::-webkit-scrollbar {
  width: 8px;
}
.stats-modal::-webkit-scrollbar-track {
  background: #17181e;
  border-radius: 0 20px 20px 0;
}
.stats-modal::-webkit-scrollbar-thumb {
  background: #565a66;
  border: 2px solid #17181e;
  border-radius: 99px;
}
.stats-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 27px 22px;
  border-bottom: 1px solid var(--line);
}
.stats-head > div > span {
  display: block;
  color: #a6a8b1;
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 800;
  margin-bottom: 8px;
}
.stats-head h2 {
  font-size: 26px;
}
.stats-head p {
  margin: 7px 0 0;
  color: #9699a3;
  font-size: 12px;
}
.stats-body {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  padding: 22px 27px 27px;
}
.stats-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
}
.stats-summary-card {
  min-height: 98px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
  background: linear-gradient(145deg, #24262f, #1e2028);
  border: 1px solid var(--line);
  border-radius: 13px;
}
.stats-summary-card > span {
  color: #aeb1ba;
  font-size: 11px;
  line-height: 1.35;
}
.stats-summary-card > strong {
  color: #f7f7f8;
  font-size: 27px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stats-summary-card > strong small {
  color: #989ba5;
  font-size: 11px;
  margin-left: 3px;
}
.stats-detail-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  grid-gap: 14px;
  gap: 14px;
}
.stats-panel {
  min-width: 0;
  padding: 17px;
  background: #171920;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.stats-panel-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 17px;
}
.stats-panel-title > span {
  color: #eceef2;
  font-size: 13px;
  font-weight: 800;
}
.stats-panel-title > small {
  color: #858892;
  font-size: 10px;
}
.stats-progress-content {
  display: flex;
  align-items: center;
  gap: 22px;
}
.stats-ring {
  --stats-progress: 0deg;
  flex: 0 0 112px;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(
    var(--accent) var(--stats-progress),
    rgba(255, 255, 255, 0.08) 0
  );
  position: relative;
  box-shadow: 0 0 30px rgba(232, 59, 63, 0.08);
}
.stats-ring:after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: inherit;
  background: #1b1d24;
}
.stats-ring > span {
  position: relative;
  z-index: 1;
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  text-align: center;
}
.stats-ring strong {
  font-size: 22px;
  line-height: 1;
}
.stats-ring small {
  color: #989ba5;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stats-mini-list {
  flex: 1 1;
  display: grid;
  grid-gap: 4px;
  gap: 4px;
}
.stats-mini-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 45px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.stats-mini-list > div:last-child {
  border-bottom: 0;
}
.stats-mini-list span {
  color: #aeb1ba;
  font-size: 11px;
  line-height: 1.35;
}
.stats-mini-list strong {
  font-size: 16px;
}
.stats-type-list {
  display: grid;
  grid-gap: 11px;
  gap: 11px;
}
.stats-type-row > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  color: #bfc2ca;
  font-size: 11px;
}
.stats-type-row strong {
  color: #eceef2;
}
.stats-type-track {
  height: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 99px;
}
.stats-type-track i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #e83b3f, #ed6d70);
  border-radius: inherit;
  box-shadow: 0 0 9px rgba(232, 59, 63, 0.38);
}
.stats-customers-panel {
  padding-bottom: 14px;
}
.stats-customer-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-gap: 8px;
  gap: 8px;
}
.stats-customer-card {
  min-width: 0;
  min-height: 57px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  grid-gap: 8px;
  gap: 8px;
  padding: 9px;
  color: inherit;
  background: #20222a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  text-align: left;
  transition:
    border-color 0.16s ease,
    background-color 0.16s ease,
    transform 0.16s ease;
}
.stats-customer-card:focus-visible,
.stats-customer-card:hover {
  border-color: rgba(165, 131, 232, 0.34);
  background: rgba(165, 131, 232, 0.09);
  outline: 0;
  transform: translateY(-1px);
}
.stats-customer-list i {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #ee7d80;
  background: rgba(232, 59, 63, 0.1);
  border-radius: 50%;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}
.stats-customer-list span {
  min-width: 0;
  overflow: hidden;
  color: #c8cad1;
  font-size: 10px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stats-customer-list strong {
  font-size: 12px;
}
.stats-customers-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.stats-customers-actions button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 12px;
  color: #c6b5e7;
  background: rgba(165, 131, 232, 0.07);
  font-size: 11px;
  font-weight: 800;
}
.stats-customers-actions button:focus-visible,
.stats-customers-actions button:hover {
  color: #fff;
  border-color: rgba(165, 131, 232, 0.38);
  background: rgba(165, 131, 232, 0.14);
  outline: 0;
}
.stats-empty {
  margin: 0;
  color: #898c96;
  font-size: 11px;
  line-height: 1.5;
}
.data-modal {
  width: min(760px, 100%);
  height: min(760px, calc(100dvh - 40px));
  max-height: calc(100dvh - 40px);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  background: #1b1d24;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.data-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px 20px;
  border-bottom: 1px solid var(--line);
}
.data-head > div > span {
  display: block;
  color: #a6a8b1;
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 800;
  margin-bottom: 8px;
}
.data-head h2 {
  font-size: 26px;
}
.data-head p {
  margin: 7px 0 0;
  color: #9699a3;
  font-size: 12px;
}
.data-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 5px;
  gap: 5px;
  padding: 9px;
  border-bottom: 1px solid var(--line);
  background: #181a20;
}
.data-tabs.moderator-tabs {
  grid-template-columns: repeat(2, 1fr);
}
.data-tabs button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #aeb1ba;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}
.data-tabs button:focus-visible,
.data-tabs button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.045);
  outline: 0;
}
.data-tabs button.active {
  color: #f1d9da;
  background: rgba(232, 59, 63, 0.11);
  border-color: rgba(232, 59, 63, 0.24);
}
.data-body {
  min-height: 0;
  overflow-y: scroll;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding: 18px;
  scrollbar-width: thin;
  scrollbar-color: #565a66 #17181e;
  scrollbar-gutter: stable;
}
.data-note {
  margin-bottom: 11px;
  padding: 10px 12px;
  color: #aeb1bb;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 10px;
  line-height: 1.45;
}
.data-list {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}
.data-row {
  min-width: 0;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 12px;
  background: #20222a;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.data-row > div:first-child {
  min-width: 0;
  display: grid;
  grid-gap: 4px;
  gap: 4px;
}
.data-row strong {
  overflow: hidden;
  color: #edf0f3;
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.data-row span {
  color: #969aa4;
  font-size: 10px;
  line-height: 1.4;
}
.data-row > div:last-child {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.data-row button {
  min-height: 33px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  color: #d3d5dc;
  background: #282a33;
  font-size: 10px;
  font-weight: 800;
}
.data-row button:focus-visible,
.data-row button:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.23);
  outline: 0;
}
.data-row button.danger {
  width: 33px;
  padding: 0;
  color: #d66a6d;
}
.data-row button.danger:hover {
  color: #fff;
  background: rgba(232, 59, 63, 0.18);
  border-color: rgba(232, 59, 63, 0.34);
}
.history-list .data-row > button {
  flex: 0 0 auto;
}
.history-list .history-actor {
  color: #c2b1e3;
  font-weight: 750;
}
.history-list .history-changes {
  color: #b8bbc4;
}
.data-empty {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #8d909a;
  text-align: center;
}
.data-empty > svg {
  color: #d76b6e;
}
.data-empty strong {
  color: #e2e4e8;
  font-size: 13px;
}
.data-empty p {
  max-width: 390px;
  margin: 0;
  color: #92959f;
  font-size: 11px;
  line-height: 1.5;
}
.data-loader {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top: 2px solid var(--accent);
  border-radius: 50%;
  animation: data-spin 0.7s linear infinite;
}
@keyframes data-spin {
  to {
    transform: rotate(1turn);
  }
}
.backup-panel {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}
.backup-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  grid-gap: 13px;
  gap: 13px;
  padding: 16px;
  background: #20222a;
  border: 1px solid var(--line);
  border-radius: 13px;
}
.backup-card > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #ee777a;
  background: rgba(232, 59, 63, 0.1);
  border-radius: 11px;
}
.backup-card > div {
  min-width: 0;
  display: grid;
  grid-gap: 4px;
  gap: 4px;
}
.backup-card strong {
  color: #edf0f3;
  font-size: 13px;
}
.backup-card p {
  margin: 0;
  color: #999ca6;
  font-size: 10px;
  line-height: 1.45;
}
.editor {
  width: min(650px, 100%);
  max-height: min(860px, calc(100dvh - 40px));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #565a66 #17181e;
  scrollbar-gutter: stable;
  background: #1b1d24;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.48);
  contain: content;
}
.editor::-webkit-scrollbar {
  width: 10px;
}
.editor::-webkit-scrollbar-track {
  background: #17181e;
  border-radius: 0 20px 20px 0;
}
.editor::-webkit-scrollbar-thumb {
  background: #565a66;
  border: 2px solid #17181e;
  border-radius: 99px;
}
.editor::-webkit-scrollbar-thumb:hover {
  background: #a7393d;
}
.editor-head {
  padding: 24px 26px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.editor-head span {
  display: block;
  color: #a6a8b1;
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 800;
  margin-bottom: 8px;
}
.editor-head h2 {
  font: 800 23px/1.2 var(--font-ui);
  letter-spacing: -0.02em;
}
.editor form {
  padding: 24px 26px 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 17px 14px;
  gap: 17px 14px;
}
.field {
  display: grid;
  grid-gap: 7px;
  gap: 7px;
}
.field > span {
  color: #c4c6cd;
  font-size: 12px;
  font-weight: 700;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  color: #f7f7f8;
  background: #121319;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: none;
  padding: 12px 13px;
  font-size: 13px;
  resize: vertical;
}
.field input[type="date"],
.field input[type="time"] {
  color-scheme: dark;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(232, 59, 63, 0.45);
}
.field input[readonly] {
  color: #7ee0a9;
  font-weight: 800;
  background: #171d1b;
}
.field-hint {
  color: #9497a1;
  font-size: 11px;
  line-height: 1.4;
}
.continuation-banner {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 13px;
  color: #bda9e7;
  background: rgba(165, 131, 232, 0.08);
  border: 1px solid rgba(165, 131, 232, 0.24);
  border-radius: 10px;
}
.continuation-banner > svg {
  flex: 0 0 auto;
}
.continuation-banner > div {
  display: grid;
  grid-gap: 3px;
  gap: 3px;
}
.continuation-banner strong {
  color: #e4dcf5;
  font-size: 12px;
  line-height: 1.35;
}
.continuation-banner span {
  color: #a9a1b9;
  font-size: 11px;
  line-height: 1.4;
}
.source-url-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-gap: 9px;
  gap: 9px;
}
.metadata-button {
  min-width: 116px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(232, 59, 63, 0.36);
  border-radius: 9px;
  padding: 0 13px;
  color: #f1d4d5;
  background: rgba(232, 59, 63, 0.1);
  font-size: 12px;
  font-weight: 800;
}
.metadata-button:focus-visible,
.metadata-button:hover:not(:disabled) {
  color: #fff;
  border-color: rgba(232, 59, 63, 0.65);
  background: rgba(232, 59, 63, 0.2);
  outline: 0;
}
.metadata-button:disabled {
  color: #858892;
  border-color: var(--line);
  background: #20222a;
  cursor: wait;
}
.metadata-feedback {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 700;
}
.metadata-feedback.success {
  color: #61c58e;
}
.metadata-feedback.error {
  color: #ed777a;
}
.metadata-feedback.loading {
  color: #b8bbc4;
}
.number-stepper {
  position: relative;
  width: 100%;
}
.number-stepper input {
  padding-right: 48px;
}
.number-stepper input::-webkit-inner-spin-button,
.number-stepper input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}
.number-stepper input[type="number"] {
  -webkit-appearance: textfield;
  appearance: textfield;
  -moz-appearance: textfield;
}
.number-stepper-controls {
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  width: 38px;
  display: grid;
  grid-template-rows: 1fr 1fr;
  overflow: hidden;
  border-left: 1px solid var(--line);
  border-radius: 0 8px 8px 0;
}
.number-stepper-controls button {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0;
  border: 0;
  color: #aeb1bb;
  background: #1b1d24;
  transition:
    color 0.16s,
    background 0.16s;
}
.number-stepper-controls button + button {
  border-top: 1px solid var(--line);
}
.number-stepper-controls button:focus-visible,
.number-stepper-controls button:hover:not(:disabled) {
  color: #fff;
  background: rgba(232, 59, 63, 0.24);
  outline: 0;
}
.number-stepper-controls button:disabled {
  color: #5f626c;
  cursor: default;
}
.editor-select {
  width: 100%;
}
.editor-select .custom-select-trigger {
  height: 45px;
  color: #f7f7f8;
  background: #121319;
  font-size: 13px;
  font-weight: 500;
}
.editor-select .custom-select-trigger:hover,
.editor-select.open .custom-select-trigger {
  background: #171820;
  border-color: rgba(232, 59, 63, 0.45);
}
.editor-select .custom-select-menu {
  background: #1d1f27;
  border-color: rgba(232, 59, 63, 0.45);
}
.editor-select .custom-select-menu button {
  font-size: 13px;
}
.date-picker {
  position: relative;
  width: 100%;
}
.date-picker.open {
  z-index: 70;
}
.date-picker-trigger {
  width: 100%;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #f7f7f8;
  background: #121319;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0 13px;
  font-size: 13px;
  text-align: left;
  transition:
    border-color 0.16s,
    background 0.16s,
    border-radius 0.16s;
}
.date-picker-trigger .placeholder {
  color: #80838d;
}
.date-picker-trigger svg {
  color: #b6b9c2;
}
.date-picker-trigger:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: #171820;
}
.date-picker.open .date-picker-trigger {
  border-color: rgba(232, 59, 63, 0.45) rgba(232, 59, 63, 0.45) transparent;
  border-radius: 9px 9px 0 0;
  background: #171820;
}
.date-picker-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% - 1px);
  left: 0;
  width: 100%;
  padding: 10px;
  color: #e8e9ed;
  background: #1d1f27;
  border: 1px solid rgba(232, 59, 63, 0.45);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45);
}
.date-picker-head {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  grid-gap: 5px;
  gap: 5px;
  margin-bottom: 8px;
}
.date-picker-head strong {
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
  text-transform: capitalize;
}
.date-picker-head button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 7px;
  color: #c8cad1;
  background: transparent;
}
.date-picker-head button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}
.date-picker-days,
.date-picker-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-gap: 3px;
  gap: 3px;
}
.date-picker-weekdays {
  margin-bottom: 4px;
}
.date-picker-weekdays span {
  color: #858892;
  font-size: 9px;
  font-weight: 800;
  text-align: center;
}
.date-picker-days > button,
.date-picker-days > span {
  min-width: 0;
  aspect-ratio: 1;
}
.date-picker-days > button {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 7px;
  color: #d7d9df;
  background: transparent;
  font-size: 11px;
}
.date-picker-days > button:hover:not(:disabled) {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.date-picker-days > button.today {
  box-shadow: inset 0 0 0 1px rgba(232, 59, 63, 0.55);
}
.date-picker-days > button.selected {
  color: #fff;
  background: var(--accent);
  box-shadow: none;
  font-weight: 800;
}
.date-picker-days > button:disabled {
  color: #555861;
  cursor: default;
}
.date-picker-footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  margin-top: 7px;
  border-top: 1px solid var(--line);
}
.date-picker-footer button {
  border: 0;
  padding: 6px 5px;
  color: #b9bbc4;
  background: transparent;
  font-size: 10px;
  font-weight: 800;
}
.date-picker-footer button:hover:not(:disabled) {
  color: #fff;
}
.date-picker-footer button:disabled {
  color: #555861;
  cursor: default;
}
.time-picker {
  position: relative;
  width: 100%;
}
.time-picker.open {
  z-index: 70;
}
.time-picker-control {
  position: relative;
  width: 100%;
}
.time-picker-control input {
  padding-right: 80px;
}
.time-picker-control input:placeholder-shown {
  padding-right: 45px;
}
.time-picker-clear,
.time-picker-toggle {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  color: #b6b9c2;
  background: transparent;
  transform: translateY(-50%);
}
.time-picker-toggle {
  right: 7px;
  width: 34px;
  height: 34px;
  border-radius: 7px;
}
.time-picker-clear {
  right: 41px;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  color: #858892;
}
.time-picker-clear:focus-visible,
.time-picker-clear:hover,
.time-picker-toggle:focus-visible,
.time-picker-toggle:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  outline: 0;
}
.time-picker-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% - 1px);
  left: 0;
  width: 100%;
  padding: 10px;
  color: #e8e9ed;
  background: #1d1f27;
  border: 1px solid rgba(232, 59, 63, 0.45);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45);
}
.time-picker.open .time-picker-control input {
  border-color: rgba(232, 59, 63, 0.45) rgba(232, 59, 63, 0.45) transparent;
  border-radius: 9px 9px 0 0;
  background: #171820;
}
.time-picker-columns {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-gap: 10px;
  gap: 10px;
}
.time-picker-column {
  min-width: 0;
  display: grid;
  grid-gap: 7px;
  gap: 7px;
}
.time-picker-column > span {
  color: #858892;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}
.time-picker-options {
  display: grid;
  grid-gap: 3px;
  gap: 3px;
}
.time-picker-options.hours {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.time-picker-options.minutes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
}
.time-picker-options button {
  min-width: 0;
  min-height: 29px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  padding: 0;
  color: #d7d9df;
  background: transparent;
  font-size: 11px;
}
.time-picker-options button:focus-visible,
.time-picker-options button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  outline: 0;
}
.time-picker-options button.selected {
  color: #fff;
  background: var(--accent);
  font-weight: 800;
}
.time-picker-footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
}
.time-picker-footer button {
  border: 0;
  padding: 6px 5px;
  color: #b9bbc4;
  background: transparent;
  font-size: 10px;
  font-weight: 800;
}
.time-picker-footer button:focus-visible,
.time-picker-footer button:hover {
  color: #fff;
  outline: 0;
}
.cover-url-field {
  display: grid;
  grid-template-columns: 1fr 58px;
  grid-gap: 10px;
  gap: 10px;
  align-items: stretch;
}
.cover-url-field img {
  width: 58px;
  height: 74px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #111218;
}
.cover-preview {
  position: relative;
  width: 58px;
  height: 74px;
}
.cover-preview > .cover-preview-empty,
.cover-preview > img {
  position: absolute;
  inset: 0;
}
.cover-clear {
  position: absolute;
  z-index: 2;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #fff;
  background: #b52f34;
  border: 2px solid #1b1d24;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}
.cover-clear:focus-visible,
.cover-clear:hover {
  background: #e83b3f;
  outline: 0;
}
.cover-preview-empty {
  width: 58px;
  height: 74px;
  display: grid;
  place-items: center;
  color: #6f727c;
  background: #121319;
  border: 1px dashed var(--line);
  border-radius: 8px;
}
.cover-upload-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cover-upload-button {
  min-height: 37px;
  padding: 9px 12px;
  font-size: 11px;
}
.cover-upload-button:disabled {
  cursor: wait;
  opacity: 0.65;
}
.cover-upload-row small {
  color: #8f929c;
  font-size: 10px;
  line-height: 1.4;
}
.full {
  grid-column: 1/-1;
}
.check-field input {
  accent-color: var(--accent);
}
.check-field span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #c6c8cf;
  font-size: 12px;
  margin-left: 6px;
}
.editor-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin-top: 3px;
}
.editor-footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}
.clear-form-button {
  color: #d9a7a9;
  background: rgba(232, 59, 63, 0.055);
  border-color: rgba(232, 59, 63, 0.2);
}
.clear-form-button:focus-visible,
.clear-form-button:hover {
  color: #fff;
  background: rgba(232, 59, 63, 0.13);
  border-color: rgba(232, 59, 63, 0.38);
  outline: 0;
}
.clear-fields-icon {
  color: #ef777a;
  background: rgba(232, 59, 63, 0.11);
}
.clear-confirm-button {
  background: #d93439;
}
.discard-confirm-backdrop {
  position: fixed;
  z-index: 180;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7, 8, 12, 0.78);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.discard-confirm-dialog {
  width: min(430px, 100%);
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  grid-gap: 13px;
  gap: 13px;
  padding: 20px;
  color: #eceef2;
  background: #1d1f27;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.52);
}
.discard-confirm-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #ef777a;
  background: rgba(232, 59, 63, 0.11);
  border-radius: 11px;
}
.discard-confirm-dialog h3 {
  margin: 1px 0 5px;
  font-size: 17px;
  line-height: 1.3;
}
.discard-confirm-dialog p {
  margin: 0;
  color: #aeb1ba;
  font-size: 13px;
  line-height: 1.5;
}
.discard-confirm-actions {
  grid-column: 1/-1;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 5px;
}
.discard-confirm-actions button {
  min-height: 40px;
  font-size: 12px;
}
.auth-dialog {
  width: min(430px, 100%);
  overflow: hidden;
  background: #1b1d24;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.auth-dialog-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  grid-gap: 14px;
  gap: 14px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}
.auth-dialog-head .brand-mark {
  width: 42px;
  height: 42px;
}
.auth-dialog-head small {
  display: block;
  margin-bottom: 5px;
  color: #a6a8b1;
  font-size: 9px;
  letter-spacing: 0.14em;
  font-weight: 800;
}
.auth-dialog-head h2 {
  font: 800 23px/1.2 var(--font-ui);
  letter-spacing: -0.02em;
}
.auth-dialog-body {
  display: grid;
  grid-gap: 15px;
  gap: 15px;
  padding: 22px 24px 24px;
}
.auth-dialog form {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}
.auth-dialog .field {
  gap: 8px;
}
.auth-submit {
  width: 100%;
  min-height: 45px;
}
.auth-submit:disabled {
  cursor: wait;
  opacity: 0.68;
}
.twitch-auth-button {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 16px;
  color: #fff;
  background: #9146ff;
  border: 1px solid #a96cff;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 9px 24px rgba(145, 70, 255, 0.2);
  transition:
    background-color 0.18s ease,
    transform 0.18s ease;
}
.twitch-auth-button:focus-visible:not(:disabled),
.twitch-auth-button:hover:not(:disabled) {
  background: #a05cff;
  outline: 0;
  transform: translateY(-1px);
}
.twitch-auth-button:disabled {
  cursor: wait;
  opacity: 0.68;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #858892;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.auth-divider:after,
.auth-divider:before {
  content: "";
  height: 1px;
  flex: 1 1;
  background: var(--line);
}
.auth-divider span {
  white-space: nowrap;
}
.auth-error {
  padding: 10px 12px;
  color: #ffb7b9;
  background: rgba(232, 59, 63, 0.1);
  border: 1px solid rgba(232, 59, 63, 0.25);
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.45;
}
.auth-dialog-body > p {
  margin: 0;
  color: #969aa5;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}
.account-summary,
.twitch-linked {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 14px;
  background: #20222a;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.account-summary > svg {
  flex: 0 0 auto;
  color: #b69be9;
  margin-top: 1px;
}
.account-summary > div,
.twitch-linked > div {
  min-width: 0;
  display: grid;
  grid-gap: 4px;
  gap: 4px;
}
.account-summary strong,
.twitch-linked strong {
  overflow: hidden;
  color: #f0f1f4;
  font-size: 13px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-summary span,
.twitch-linked span {
  color: #a4a7b0;
  font-size: 11px;
  line-height: 1.45;
}
.twitch-linked {
  border-color: rgba(70, 205, 137, 0.27);
  background: rgba(70, 205, 137, 0.07);
}
.twitch-linked > svg {
  flex: 0 0 auto;
  color: #55d694;
  margin-top: 1px;
}
.twitch-connections {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}
.twitch-identity {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  grid-gap: 11px;
  gap: 11px;
  padding: 12px 13px;
  background: rgba(145, 70, 255, 0.08);
  border: 1px solid rgba(169, 108, 255, 0.25);
  border-radius: 11px;
}
.twitch-identity > svg {
  color: #b892ff;
}
.twitch-identity > div {
  min-width: 0;
  display: grid;
  grid-gap: 3px;
  gap: 3px;
}
.twitch-identity strong {
  overflow: hidden;
  color: #f0f1f4;
  font-size: 13px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.twitch-identity span {
  color: #a4a7b0;
  font-size: 11px;
  line-height: 1.4;
}
.twitch-unlink {
  min-height: 34px;
  padding: 7px 10px;
  color: #ffb7b9;
  background: rgba(232, 59, 63, 0.08);
  border: 1px solid rgba(232, 59, 63, 0.25);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
}
.twitch-unlink:focus-visible:not(:disabled),
.twitch-unlink:hover:not(:disabled) {
  color: #fff;
  background: rgba(232, 59, 63, 0.2);
  outline: 0;
}
.twitch-unlink:disabled {
  cursor: wait;
  opacity: 0.65;
}
.twitch-conflict {
  margin: 0;
}
.account-signout {
  width: 100%;
  min-height: 43px;
}
.order-terms-dialog {
  width: min(720px, 100%);
  max-height: min(800px, calc(100dvh - 40px));
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #1b1d24;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.order-terms-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 22px 17px;
  border-bottom: 1px solid var(--line);
}
.order-terms-head > div > span {
  display: block;
  margin-bottom: 7px;
  color: #a6a8b1;
  font-size: 9px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.15em;
}
.order-terms-head h2 {
  margin: 0;
  font: 800 25px/1.2 var(--font-ui);
  letter-spacing: -0.025em;
}
.order-terms-head p {
  max-width: 520px;
  margin: 8px 0 0;
  color: #aeb1ba;
  font-size: 15px;
  line-height: 1.5;
}
.order-terms-body {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #565a66 #17181e;
  padding: 17px 22px 18px;
}
.order-important,
.order-price-section + .order-price-section {
  margin-top: 16px;
}
.order-price-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}
.order-price-heading > span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  color: #ef777a;
  background: rgba(232, 59, 63, 0.1);
  border: 1px solid rgba(232, 59, 63, 0.22);
  border-radius: 7px;
  font-size: 9px;
  font-weight: 800;
}
.order-important h3,
.order-price-heading h3 {
  margin: 0;
  color: #f0f1f4;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 800;
}
.order-price-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  grid-gap: 9px;
  gap: 9px;
}
.viewing-price-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.order-price-list article {
  min-width: 0;
  min-height: 82px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 9px;
  padding: 13px 14px;
  background: #20222a;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.order-price-list strong {
  color: #fff;
  font-size: 21px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.order-price-list article > span {
  color: #c4c7cf;
  font-size: 15px;
  line-height: 1.45;
}
.order-price-note {
  margin: 8px 2px 0;
  color: #aeb1ba;
  font-size: 13px;
  line-height: 1.45;
}
.order-marathon-section {
  padding: 12px;
  background: linear-gradient(
    135deg,
    rgba(232, 59, 63, 0.11),
    rgba(165, 131, 232, 0.07)
  );
  border: 1px solid rgba(232, 59, 63, 0.22);
  border-radius: 13px;
}
.order-marathon-section .order-price-heading {
  margin-bottom: 9px;
}
.order-marathon-price {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  grid-gap: 15px;
  gap: 15px;
}
.order-marathon-price strong {
  color: #fff;
  font-size: 23px;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.order-marathon-price span {
  color: #c4c7cf;
  font-size: 14px;
  line-height: 1.5;
}
.order-important {
  padding: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.order-important ul {
  display: grid;
  grid-gap: 7px;
  gap: 7px;
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}
.order-important li {
  position: relative;
  padding-left: 17px;
  color: #c2c5cd;
  font-size: 14px;
  line-height: 1.55;
}
.order-important li:before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 1px;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}
.order-terms-footer {
  padding: 12px 22px 14px;
  background: rgba(25, 27, 34, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.order-submit {
  width: 100%;
  min-height: 46px;
  text-decoration: none;
}
.relationship-dialog {
  width: min(680px, 100%);
  max-height: min(760px, calc(100dvh - 40px));
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background: #1b1d24;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.relationship-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 25px 20px;
  border-bottom: 1px solid var(--line);
}
.relationship-head > div {
  min-width: 0;
}
.relationship-head > div > span {
  display: block;
  margin-bottom: 7px;
  color: #a6a8b1;
  font-size: 9px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.15em;
}
.relationship-head h2 {
  margin: 0;
  font: 800 25px/1.2 var(--font-ui);
  letter-spacing: -0.025em;
}
.relationship-head p {
  max-width: 520px;
  margin: 7px 0 0;
  overflow: hidden;
  color: #9699a3;
  font-size: 13px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.relationship-body {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px 25px 24px;
  scrollbar-width: thin;
  scrollbar-color: #565a66 #17181e;
}
.relationship-create {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  grid-gap: 13px;
  gap: 13px;
  padding: 13px 15px;
  color: inherit;
  background: rgba(165, 131, 232, 0.07);
  border: 1px solid rgba(165, 131, 232, 0.24);
  border-radius: 12px;
  text-align: left;
}
.relationship-create:focus-visible,
.relationship-create:hover {
  background: rgba(165, 131, 232, 0.13);
  border-color: rgba(165, 131, 232, 0.4);
  outline: 0;
}
.relationship-create > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #c9b5ef;
  background: rgba(165, 131, 232, 0.13);
  border-radius: 10px;
}
.relationship-create > div {
  min-width: 0;
  display: grid;
  grid-gap: 4px;
  gap: 4px;
}
.relationship-create strong {
  color: #ece8f5;
  font-size: 13px;
  line-height: 1.35;
}
.relationship-create small {
  color: #a8a1b5;
  font-size: 11px;
  line-height: 1.4;
}
.relationship-create > svg {
  color: #8c799f;
}
.relationship-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 19px 0 13px;
  color: #858892;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.relationship-divider:after,
.relationship-divider:before {
  content: "";
  height: 1px;
  flex: 1 1;
  background: var(--line);
}
.relationship-divider span {
  flex: 0 0 auto;
}
.relationship-search {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 10px 0 13px;
  color: #9b9ea8;
  background: #121319;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.relationship-search:focus-within {
  color: #c9cbd2;
  border-color: rgba(165, 131, 232, 0.48);
}
.relationship-search input {
  min-width: 0;
  flex: 1 1;
  border: 0;
  outline: 0;
  color: #f2f3f5;
  background: transparent;
  font-size: 13px;
}
.relationship-search input::placeholder {
  color: #7f828c;
}
.relationship-search button {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 0;
  color: #92959f;
  background: transparent;
  border-radius: 7px;
}
.relationship-search button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}
.relationship-list {
  display: grid;
  grid-gap: 7px;
  gap: 7px;
  margin-top: 12px;
}
.relationship-candidate {
  min-width: 0;
  width: 100%;
  min-height: 65px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  grid-gap: 11px;
  gap: 11px;
  padding: 10px 12px;
  color: inherit;
  background: #20222a;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: left;
}
.relationship-candidate:focus-visible,
.relationship-candidate:hover:not(:disabled) {
  background: #252832;
  border-color: rgba(165, 131, 232, 0.36);
  outline: 0;
}
.relationship-candidate:disabled {
  cursor: wait;
  opacity: 0.62;
}
.relationship-candidate-copy {
  min-width: 0;
  display: grid;
  grid-gap: 4px;
  gap: 4px;
}
.relationship-candidate-copy strong {
  overflow: hidden;
  color: #edf0f3;
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.relationship-candidate-copy small {
  overflow: hidden;
  color: #999ca6;
  font-size: 10px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.relationship-candidate > .status-pill {
  white-space: nowrap;
}
.relationship-candidate > svg {
  color: #9e82dc;
}
.relationship-linking {
  color: #c3b1e8;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}
.relationship-empty {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #858892;
  text-align: center;
}
.relationship-empty strong {
  color: #d9dbe0;
  font-size: 13px;
}
.relationship-empty span {
  max-width: 320px;
  font-size: 11px;
  line-height: 1.45;
}
.toast {
  position: fixed;
  z-index: 150;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: #f1f0ec;
  color: #171719;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  animation: toast-in 0.25s ease-out;
}
.loading-screen {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--bg);
}
.loading-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  animation: loading-brand-in 0.35s ease-out both;
}
.loading-brand .brand-mark {
  width: 48px;
  height: 48px;
  font-size: 21px;
}
.loading-brand > span:last-child {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}
.loading-brand strong {
  font: 800 18px/1 var(--font-ui);
  letter-spacing: 0.14em;
}
.loading-brand small {
  color: #8f929c;
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.22em;
}
@keyframes toast-in {
  0% {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
}
@keyframes loading-brand-in {
  0% {
    opacity: 0;
    transform: translateY(7px);
  }
}
@media (max-width: 1180px) {
  .header-actions .account-button {
    width: 42px;
    min-height: 42px;
    justify-content: center;
    padding: 0;
  }
  .header-actions .account-button > span {
    display: none;
  }
  .header-actions .account-button svg {
    width: 17px;
    height: 17px;
  }
  .header-actions .theme-select {
    width: 42px;
  }
  .header-actions .theme-select .custom-select-trigger {
    width: 42px;
    height: 42px;
    justify-content: center;
    padding: 0;
    border-radius: 10px;
  }
  .header-actions .theme-select.open .custom-select-trigger {
    border-bottom-color: rgba(255, 255, 255, 0.22);
    border-radius: 10px;
  }
  .header-actions .theme-select .custom-select-value > span,
  .header-actions .theme-select .select-chevron {
    display: none;
  }
  .header-actions .theme-select .custom-select-menu {
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    width: 158px;
  }
}
@media (min-width: 1041px) and (max-width: 1540px) {
  .header-social-link {
    width: 38px !important;
    height: 38px;
    flex: 0 0 38px;
    padding: 0 !important;
    font-size: 0 !important;
  }
  .header-social-link > span {
    display: none !important;
  }
  .header-social-link svg {
    display: block !important;
    width: 17px !important;
    height: 17px !important;
    flex: 0 0 auto;
  }
}
@media (max-width: 1040px) {
  .site-header {
    min-height: 116px;
    grid-template-columns: 1fr auto;
    grid-template-rows: 68px 48px;
    gap: 0;
    padding: 0 20px;
  }
  .header-left {
    display: contents;
  }
  .brand {
    grid-column: 1;
    grid-row: 1;
  }
  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }
  .header-socials {
    grid-column: 1/-1;
    grid-row: 2;
    align-self: stretch;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    border-top: 1px solid var(--line);
  }
  .header-social-link {
    min-width: 0;
    border-radius: 0;
    font-size: 11px;
  }
  .header-social-link + .header-social-link {
    border-left: 1px solid var(--line);
  }
  .header-stats {
    display: none;
  }
  .queue-heading {
    width: 100%;
  }
  .mobile-queue-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    width: 100%;
    padding: 15px 0;
    margin-top: 18px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .mobile-queue-stats div {
    display: flex;
    align-items: baseline;
    gap: 7px;
  }
  .mobile-queue-stats strong {
    font-size: 17px;
    line-height: 1;
    font-weight: 800;
  }
  .mobile-queue-stats span {
    color: var(--muted);
    font-size: 12px;
  }
  .mobile-queue-stats i {
    width: 1px;
    height: 20px;
    background: var(--line);
  }
  .current-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    column-gap: 0;
    row-gap: 14px;
  }
  .current-card {
    grid-row-end: auto;
    margin-bottom: 0;
  }
  .stats-customer-list,
  .stats-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .table-head {
    display: none;
  }
  .owner-mode .queue-row,
  .queue-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 14px 16px;
  }
  .queue-main {
    grid-column: 1;
  }
  .desktop-order-date,
  .desktop-status,
  .row-note {
    display: none;
  }
  .owner-mode .owner-row-actions,
  .owner-row-actions {
    grid-column: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    max-height: 0;
    overflow: hidden;
    overflow-anchor: none;
    padding: 0 0 0 98px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    will-change: opacity, transform;
    transition:
      opacity 0.16s ease,
      transform 0.2s cubic-bezier(0.22, 0.75, 0.25, 1),
      visibility 0s linear 0.2s;
  }
  .owner-mode .owner-row-actions {
    max-height: 47px;
    padding-top: 12px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
  }
  .mobile-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 9px;
    margin-bottom: 7px;
  }
  .mobile-meta > span {
    color: #c1c4cd;
    font-size: 12px;
    font-weight: 700;
  }
  .queue-tags .meta-scope,
  .queue-tags .meta-type {
    display: none;
  }
  .mobile-order-date {
    display: block;
    color: #aeb1ba;
    font-size: 11px;
    line-height: 1.45;
    font-weight: 700;
    margin-top: 8px;
  }
  .mobile-comment {
    display: block;
    margin-top: 11px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
  }
  .mobile-comment-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 5px;
  }
  .mobile-comment-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #979aa4;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .mobile-comment-label svg {
    color: #d76569;
  }
  .mobile-comment-toggle {
    flex: 0 0 auto;
    border: 0;
    padding: 2px 0;
    color: #d98285;
    background: transparent;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
  }
  .mobile-comment-toggle:focus-visible,
  .mobile-comment-toggle:hover {
    color: #fff;
    outline: 0;
  }
  .queue-main .mobile-comment p {
    margin: 0;
    color: #c4c7cf;
    font-size: 13px;
    line-height: 1.5;
    white-space: pre-wrap;
  }
  .queue-main .mobile-comment p.clamped {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
  }
  .queue-main h3 {
    white-space: normal;
  }
  .toolbar {
    flex-direction: column;
  }
  .search-shell {
    width: 100%;
    max-width: none;
    min-width: 0;
    flex: 0 0 auto;
  }
  .filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .custom-select,
  .custom-select.kind-select,
  .custom-select.sort-select,
  .custom-select.status-select,
  .custom-select.type-select,
  .filters {
    width: 100%;
  }
  .number-stepper input {
    padding-right: 13px;
  }
  .number-stepper-controls {
    display: none;
  }
  input,
  select,
  textarea {
    font-size: 16px !important;
  }
}
@media (max-width: 760px) {
  .filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .current-content h3 {
    margin-right: 0;
  }
  .current-card-controls {
    position: static;
    align-self: flex-end;
    margin-top: 10px;
  }
  .current-drag-handle {
    display: none;
  }
  .current-mobile-move {
    display: flex;
  }
}
@media (max-width: 640px) {
  .site-header {
    min-height: 114px;
    grid-template-rows: 66px 48px;
    padding: 0 16px;
  }
  .brand {
    gap: 10px;
  }
  .brand > span:last-child {
    display: grid;
    grid-gap: 0;
    gap: 0;
  }
  .brand strong {
    font-size: 13px;
    letter-spacing: 0.11em;
  }
  .brand small {
    display: none;
  }
  .account-button {
    width: 42px;
    min-height: 42px;
    justify-content: center;
    font-size: 0;
    padding: 0;
  }
  .account-button svg {
    width: 17px;
    height: 17px;
  }
  .page {
    width: min(100% - 28px, 1180px);
    padding-top: 38px;
  }
  .floating-editor-controls {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    gap: 8px;
  }
  .floating-add,
  .floating-edit-toggle,
  .queue-jump-button {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }
  .queue-jump-button {
    left: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
  }
  .queue-title-row,
  .section-heading {
    align-items: flex-start;
  }
  .queue-title-row {
    position: relative;
    display: block;
  }
  .queue-title-actions {
    position: absolute;
    top: 0;
    right: 0;
  }
  .stats-button {
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
  }
  .data-button > span,
  .stats-button > span {
    display: none;
  }
  .data-button {
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
  }
  .section-heading p {
    max-width: 300px;
    line-height: 1.6;
  }
  .queue-title-row .primary-button,
  .section-heading .primary-button {
    display: none !important;
  }
  .current-card {
    grid-template-columns: 86px 1fr;
    min-height: 182px;
    gap: 14px;
    padding: 11px;
  }
  .current-content {
    padding-top: 5px;
  }
  .current-content h3 {
    font-size: 17px;
    margin-top: 13px;
  }
  .current-description {
    font-size: 12px;
  }
  .current-customer,
  .progress-label {
    font-size: 11px;
  }
  .series-history-item {
    grid-template-columns: 7px minmax(0, 1fr) max-content 14px;
    gap: 7px;
  }
  .series-history-item > small {
    grid-column: 3;
    grid-row: 1;
    font-size: 9px;
    text-align: right;
  }
  .series-history-target {
    grid-column: 4;
    grid-row: 1;
  }
  .current-card-controls .current-edit {
    width: 34px;
    height: 34px;
  }
  .queue-cover-column {
    flex: 0 0 104px;
    width: 104px;
  }
  .queue-cover {
    width: 104px;
    height: auto;
    aspect-ratio: 2/3;
    border-radius: 10px;
  }
  .queue-cover span {
    font-size: 25px;
  }
  .queue-main {
    align-items: flex-start;
    gap: 14px;
  }
  .position {
    left: 7px;
    bottom: 7px;
    min-width: 32px;
    padding: 5px 6px;
    font-size: 9px;
  }
  .row-actions {
    padding-left: 118px;
  }
  .toolbar {
    flex-direction: column;
  }
  .search-shell {
    width: 100%;
    max-width: none;
    min-width: 0;
    flex: 0 0 auto;
  }
  .filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  .custom-select-trigger {
    height: 42px;
    min-width: 0;
    width: 100%;
  }
  .custom-select,
  .custom-select.kind-select,
  .custom-select.sort-select,
  .custom-select.status-select,
  .custom-select.type-select {
    width: 100%;
  }
  .custom-select-menu button,
  .custom-select-trigger {
    font-size: 14px;
  }
  .custom-select-menu {
    max-height: min(360px, calc(100dvh - 170px));
    overflow-y: auto;
  }
  .sort-select.open .custom-select-trigger {
    border-bottom-color: rgba(255, 255, 255, 0.22);
    border-radius: 9px;
  }
  .sort-select .custom-select-menu {
    top: calc(100% + 8px);
    right: auto;
    left: 0;
    width: calc(200% + 8px);
    max-width: calc(100vw - 56px);
    max-height: min(330px, calc(100dvh - 190px));
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 10px;
    overscroll-behavior: contain;
  }
  .queue-group-divider {
    min-height: 58px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    padding: 11px 16px;
  }
  .queue-group-divider small {
    text-align: left;
  }
  .mobile-queue-stats {
    gap: 14px;
  }
  .mobile-queue-stats div {
    gap: 5px;
  }
  .mobile-queue-stats strong {
    font-size: 16px;
  }
  .mobile-queue-stats span {
    font-size: 11px;
  }
  .queue-footer {
    padding: 0 14px;
  }
  .queue-footer span:last-child {
    display: none;
  }
  .editor form {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .field,
  .full {
    grid-column: 1;
  }
  .editor-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .editor-footer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .clear-form-button {
    width: 100%;
  }
  .editor-head {
    padding: 20px;
  }
  .discard-confirm-dialog {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 17px;
  }
  .discard-confirm-icon {
    width: 38px;
    height: 38px;
  }
  .discard-confirm-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .discard-confirm-actions button {
    width: 100%;
  }
  .cover-url-field {
    grid-template-columns: 1fr 52px;
  }
  .cover-preview,
  .cover-preview-empty,
  .cover-url-field img {
    width: 52px;
    height: 68px;
  }
  .cover-upload-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .cover-upload-button {
    width: 100%;
    min-height: 43px;
  }
  .stats-backdrop {
    align-items: end;
    padding: 10px;
  }
  .stats-modal {
    width: 100%;
    max-height: calc(100dvh - 20px);
    border-radius: 18px;
  }
  .stats-head {
    padding: 20px;
  }
  .stats-head h2 {
    font-size: 23px;
  }
  .stats-body {
    padding: 17px 16px 20px;
  }
  .stats-summary-card {
    min-height: 86px;
    padding: 13px;
  }
  .stats-summary-card > strong {
    font-size: 24px;
  }
  .stats-detail-grid {
    grid-template-columns: 1fr;
  }
  .stats-progress-content {
    gap: 17px;
  }
  .stats-ring {
    flex-basis: 100px;
    width: 100px;
    height: 100px;
  }
  .stats-customer-list {
    grid-template-columns: 1fr 1fr;
  }
  .stats-customers-actions {
    align-items: stretch;
  }
  .stats-customers-actions button {
    flex: 1 1;
  }
  .data-backdrop {
    align-items: end;
    padding: 10px;
  }
  .data-modal {
    width: 100%;
    height: calc(100dvh - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 18px;
  }
  .data-head {
    padding: 19px;
  }
  .data-head h2 {
    font-size: 22px;
  }
  .data-head p {
    max-width: 250px;
    line-height: 1.45;
  }
  .data-tabs {
    padding: 7px;
  }
  .data-tabs button {
    min-height: 39px;
    font-size: 10px;
  }
  .data-body {
    min-height: 0;
    padding: 12px;
  }
  .data-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .data-row > div:last-child {
    width: 100%;
  }
  .data-row > div:last-child button:first-child {
    flex: 1 1;
  }
  .history-list .data-row > button {
    width: 100%;
    min-height: 36px;
  }
  .backup-card {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 13px;
  }
  .backup-card > span {
    width: 38px;
    height: 38px;
  }
  .backup-card > button {
    grid-column: 1/-1;
    width: 100%;
    min-height: 41px;
  }
  .source-url-field {
    grid-template-columns: 1fr;
  }
  .metadata-button {
    min-height: 43px;
  }
  .order-terms-backdrop {
    align-items: end;
    padding: 10px;
  }
  .order-terms-dialog {
    width: 100%;
    max-height: calc(100dvh - 20px);
    border-radius: 18px;
  }
  .order-terms-head {
    padding: 17px;
  }
  .order-terms-head h2 {
    font-size: 22px;
  }
  .order-terms-body {
    padding: 14px;
  }
  .order-price-list {
    grid-template-columns: 1fr;
  }
  .order-price-list article {
    min-height: 72px;
    display: grid;
    grid-template-columns: minmax(92px, 0.72fr) minmax(0, 1.28fr);
    align-items: stretch;
    grid-gap: 0;
    gap: 0;
    padding: 0 12px;
  }
  .order-price-list strong {
    display: flex;
    align-items: center;
    padding: 11px 12px 11px 0;
    font-size: 21px;
  }
  .order-price-list article > span {
    display: flex;
    align-items: center;
    padding: 11px 0 11px 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 14px;
    line-height: 1.35;
  }
  .order-price-note {
    font-size: 13px;
  }
  .order-marathon-price {
    grid-template-columns: minmax(100px, 0.72fr) minmax(0, 1.28fr);
    gap: 0;
  }
  .order-marathon-price strong {
    display: flex;
    align-items: center;
    padding-right: 12px;
  }
  .order-marathon-price span {
    display: flex;
    align-items: center;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
    line-height: 1.4;
  }
  .order-important li {
    font-size: 14px;
  }
  .order-terms-footer {
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  }
  .relationship-backdrop {
    align-items: end;
    padding: 10px;
  }
  .relationship-dialog {
    width: 100%;
    max-height: calc(100dvh - 20px);
    border-radius: 18px;
  }
  .relationship-head {
    padding: 19px;
  }
  .relationship-head h2 {
    font-size: 22px;
  }
  .relationship-body {
    padding: 16px;
  }
  .relationship-create {
    min-height: 78px;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    padding: 12px;
  }
  .relationship-create small {
    font-size: 12px;
  }
  .relationship-divider {
    font-size: 9px;
    letter-spacing: 0.04em;
  }
  .relationship-candidate {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
  }
  .relationship-candidate-copy strong {
    white-space: normal;
  }
  .header-actions .theme-select {
    width: 42px;
  }
  .header-actions .theme-select .custom-select-trigger {
    width: 42px;
    height: 42px;
    justify-content: center;
    padding: 0;
    border-radius: 10px;
  }
  .header-actions .theme-select.open .custom-select-trigger {
    border-bottom-color: rgba(255, 255, 255, 0.22);
    border-radius: 10px;
  }
  .header-actions .theme-select .custom-select-value > span,
  .header-actions .theme-select .select-chevron {
    display: none;
  }
  .header-actions .theme-select .custom-select-menu {
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    width: 158px;
  }
}
@media (max-width: 1040px) {
  .current-order-date.stacked {
    flex: 1 0 100%;
  }
  .current-order-date.stacked .timing-full {
    display: none;
  }
  .current-order-date .timing-mobile-stack {
    display: grid;
    grid-gap: 2px;
    gap: 2px;
  }
  .current-order-date .timing-mobile-stack strong {
    color: inherit;
  }
  .mobile-order-date.stacked {
    display: grid;
    grid-gap: 2px;
    gap: 2px;
  }
  .current-description.expandable,
  .mobile-comment-toggle,
  .queue-description.expandable,
  .series-history-item.clickable,
  .series-history-toggle {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .current-description:focus,
  .mobile-comment-toggle:focus,
  .queue-description:focus,
  .series-history-item.clickable:focus,
  .series-history-toggle:focus {
    outline: 0;
    box-shadow: none;
  }
  .current-description:active,
  .mobile-comment-toggle:active,
  .queue-description:active,
  .series-history-item.clickable:active,
  .series-history-toggle:active {
    background: transparent;
  }
  .series-history-reveal {
    will-change: grid-template-rows, opacity;
    transition:
      grid-template-rows 0.22s cubic-bezier(0.22, 0.75, 0.25, 1),
      opacity 0.16s ease;
  }
  .series-history-list {
    contain: layout paint;
  }
  .series-history-item {
    grid-template-columns: 7px minmax(0, 1fr) 14px;
    align-items: start;
    gap: 7px;
    row-gap: 3px;
  }
  .series-history-item > i {
    grid-column: 1;
    grid-row: 1;
    margin-top: 6px;
  }
  .series-history-item > div {
    grid-column: 2;
    grid-row: 1;
  }
  .series-history-item strong,
  .series-history-item > small {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }
  .series-history-item > small {
    grid-column: 2/4;
    grid-row: 2;
    align-self: start;
    justify-self: start;
    padding-top: 0;
    text-align: left;
  }
  .series-history-target {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
  }
  .series-history-item > div {
    gap: 3px;
  }
  .series-history-item.date-range,
  .series-history-item.date-with-time {
    grid-template-columns: 7px minmax(0, 1fr) 14px;
  }
}
body {
  font-size: 16px;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}
.brand small {
  font-size: 10px;
}
.account-button,
.header-social-link {
  font-size: 13px;
}
.eyebrow {
  font-size: 12px;
}
.primary-button,
.secondary-button,
.type-label {
  font-size: 14px;
}
.current-content h3 {
  font-size: 21px;
}
.current-customer {
  color: #d0d2d9;
  font-size: 14px;
}
.current-description {
  color: #c3c6ce;
  font-size: 15px;
  line-height: 1.55;
}
.current-details {
  color: #c9cbd2;
  font-size: 13px;
}
.recording-link {
  font-size: 14px;
}
.series-history-item strong,
.series-history-toggle {
  font-size: 13px;
}
.series-history-item small,
.series-history-item span {
  font-size: 12px;
}
.progress-copy,
.progress-label {
  font-size: 13px;
}
.empty-current small {
  font-size: 14px;
}
.empty-current-actions .primary-button,
.empty-current-actions .secondary-button {
  font-size: 13px;
}
.search-box input {
  font-size: 14px;
}
.search-suggestion-heading {
  font-size: 11px;
}
.search-suggestion-copy strong {
  font-size: 14px;
}
.search-suggestion-copy small {
  font-size: 12px;
}
.custom-select-menu button,
.custom-select-trigger,
.theme-select .custom-select-menu button,
.theme-select .custom-select-trigger {
  font-size: 14px;
}
.table-head {
  font-size: 11px;
}
.queue-group-divider span {
  font-size: 13px;
}
.queue-group-divider small {
  color: #aeb1bb;
  font-size: 12px;
}
.position {
  font-size: 11px;
}
.queue-main h3 {
  font-size: 18px;
  line-height: 1.38;
}
.new-badge {
  font-size: 9px;
}
.queue-main p,
.row-note {
  color: #b2b5be;
  font-size: 13px;
}
.queue-main .queue-description {
  color: #d0d2d8;
  font-size: 15px;
  line-height: 1.55;
}
.queue-customer,
.queue-tags {
  font-size: 14px;
  line-height: 1.5;
}
.desktop-order-date,
.queue-progress-copy,
.queue-progress-label-only {
  color: #c1c4cc;
  font-size: 13px;
}
.status-pill {
  font-size: 13px;
}
.queue-footer,
.queue-footer button {
  font-size: 11px;
}
.empty-results h3 {
  font-size: 17px;
}
.empty-results button,
.empty-results p {
  font-size: 14px;
}
.data-head > div > span,
.editor-head span,
.stats-head > div > span {
  font-size: 12px;
}
.data-head p,
.stats-head p {
  color: #aeb1bb;
  font-size: 14px;
}
.stats-summary-card > span {
  font-size: 13px;
}
.stats-summary-card > strong small {
  font-size: 12px;
}
.stats-panel-title > span {
  font-size: 15px;
}
.stats-panel-title > small {
  font-size: 12px;
}
.stats-ring small {
  font-size: 11px;
}
.stats-mini-list span,
.stats-type-row > div:first-child {
  font-size: 13px;
}
.stats-customer-list span {
  font-size: 12px;
}
.stats-customer-list strong {
  font-size: 14px;
}
.data-note,
.data-tabs button,
.stats-empty {
  font-size: 13px;
}
.data-note {
  color: #b7bac3;
}
.data-row strong {
  font-size: 14px;
}
.data-row span {
  color: #adb0ba;
  font-size: 12px;
}
.data-row button {
  font-size: 12px;
}
.data-empty strong {
  font-size: 15px;
}
.data-empty p {
  font-size: 13px;
}
.backup-card strong {
  font-size: 15px;
}
.backup-card p {
  color: #adb0ba;
  font-size: 12px;
}
.field > span {
  font-size: 14px;
}
.field input,
.field select,
.field textarea {
  font-size: 15px;
}
.field-hint {
  color: #adb0ba;
  font-size: 13px;
}
.continuation-banner strong {
  font-size: 14px;
}
.continuation-banner span,
.metadata-button,
.metadata-feedback {
  font-size: 13px;
}
.date-picker-trigger,
.editor-select .custom-select-menu button,
.editor-select .custom-select-trigger {
  font-size: 15px;
}
.date-picker-head strong {
  font-size: 14px;
}
.date-picker-weekdays span {
  font-size: 11px;
}
.date-picker-days > button {
  font-size: 13px;
}
.date-picker-footer button,
.time-picker-column > span {
  font-size: 12px;
}
.time-picker-options button {
  font-size: 13px;
}
.time-picker-footer button {
  font-size: 12px;
}
.cover-upload-button {
  font-size: 13px;
}
.cover-upload-row small {
  color: #adb0ba;
  font-size: 12px;
}
.check-field span {
  font-size: 13px;
}
.auth-dialog-head small,
.order-terms-head > div > span,
.relationship-head > div > span {
  font-size: 11px;
}
.auth-error {
  font-size: 14px;
}
.auth-dialog-body > p {
  font-size: 13px;
}
.account-summary strong,
.twitch-linked strong {
  font-size: 14px;
}
.account-summary span,
.twitch-linked span {
  font-size: 13px;
}
.relationship-head p {
  color: #aeb1ba;
  font-size: 14px;
}
.relationship-create strong {
  font-size: 14px;
}
.relationship-create small {
  font-size: 13px;
}
.relationship-divider {
  font-size: 11px;
}
.relationship-search input {
  font-size: 15px;
}
.relationship-candidate-copy strong {
  font-size: 14px;
}
.relationship-candidate-copy small,
.relationship-linking {
  font-size: 12px;
}
.relationship-empty strong {
  font-size: 15px;
}
.relationship-empty span,
.toast {
  font-size: 13px;
}
.loading-brand small {
  font-size: 10px;
}
@media (max-width: 1040px) {
  .header-social-link {
    font-size: 12px;
  }
  .mobile-meta > span {
    font-size: 13px;
  }
  .mobile-order-date {
    color: #c1c4cc;
    font-size: 13px;
  }
  .mobile-comment-label,
  .mobile-comment-toggle {
    font-size: 12px;
  }
  .queue-main .mobile-comment p {
    font-size: 14px;
  }
}
@media (max-width: 640px) {
  .current-content h3 {
    font-size: 18px;
  }
  .current-description {
    font-size: 14px;
  }
  .current-customer,
  .progress-label {
    font-size: 13px;
  }
  .series-history-item > small {
    font-size: 11px;
  }
  .queue-main h3 {
    font-size: 18px;
  }
  .queue-main .queue-description {
    font-size: 14px;
  }
  .queue-customer,
  .queue-tags {
    font-size: 13px;
  }
  .position {
    font-size: 10px;
  }
  .queue-group-divider span {
    font-size: 12px;
  }
  .queue-group-divider small {
    font-size: 11px;
  }
  .custom-select-trigger {
    gap: 8px;
    padding-right: 10px;
    padding-left: 10px;
  }
  .custom-select-value {
    overflow: hidden;
  }
  .series-history,
  .series-history-list,
  .series-history-toggle {
    max-width: 100%;
  }
  .series-history-item > div,
  .series-history-item > small,
  .series-history-toggle > span {
    min-width: 0;
  }
  .series-history-item > small {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .data-tabs button {
    font-size: 12px;
  }
  .relationship-divider {
    font-size: 10px;
  }
}
html[data-theme="light"] {
  --bg: #f3f4f7;
  --surface: #ffffff;
  --surface-2: #eceef3;
  --line: rgba(31, 35, 45, 0.14);
  --muted: #656b77;
  --text: #20232b;
  --accent: #d9363d;
  --accent-soft: rgba(217, 54, 61, 0.1);
  color-scheme: light;
  scrollbar-color: #a9adb7 #e5e7ec;
}
html[data-theme="light"]::-webkit-scrollbar-track {
  background: #e5e7ec;
}
html[data-theme="light"]::-webkit-scrollbar-thumb {
  background: #a9adb7;
  border-color: #e5e7ec;
}
html[data-theme="light"] .ambient-one {
  opacity: 0.08;
}
html[data-theme="light"] .ambient-two {
  opacity: 0.05;
}
html[data-theme="light"] .site-header {
  background: rgba(248, 249, 251, 0.9);
  box-shadow: 0 1px 16px rgba(28, 31, 39, 0.04);
}
html[data-theme="light"] .brand-mark {
  color: #272a32;
  background: #fff;
  border-color: rgba(31, 35, 45, 0.2);
}
html[data-theme="light"] .brand small {
  color: #737986;
}
html[data-theme="light"] .eyebrow {
  color: #6d727e;
}
html[data-theme="light"] .header-stats span {
  color: #686e79;
}
html[data-theme="light"] .account-button,
html[data-theme="light"] .theme-select .custom-select-trigger {
  color: #474c57;
  background: #fff;
  box-shadow: 0 2px 8px rgba(28, 31, 39, 0.04);
}
html[data-theme="light"] .account-button:hover {
  color: #252932;
  background: #eef0f4;
  border-color: rgba(31, 35, 45, 0.22);
}
html[data-theme="light"] .header-social-link {
  color: #555b66;
  border-color: rgba(31, 35, 45, 0.1);
  background: rgba(255, 255, 255, 0.5);
}
html[data-theme="light"] .header-social-link:focus-visible,
html[data-theme="light"] .header-social-link:hover {
  color: #20242d;
  background: rgba(31, 35, 45, 0.045);
}
html[data-theme="light"] .secondary-button {
  color: #353943;
  background: #fff;
  box-shadow: 0 2px 8px rgba(28, 31, 39, 0.04);
}
html[data-theme="light"] .current-card {
  background: linear-gradient(135deg, #fff, #f8f8fb);
  border-color: rgba(31, 35, 45, 0.14);
  box-shadow: 0 7px 24px rgba(28, 31, 39, 0.045);
}
html[data-theme="light"] .current-card.description-open {
  border-color: rgba(31, 35, 45, 0.23);
  box-shadow: 0 14px 34px rgba(28, 31, 39, 0.09);
}
html[data-theme="light"] .current-card:after {
  opacity: 0.55;
}
html[data-theme="light"] .current-customer,
html[data-theme="light"] .current-details,
html[data-theme="light"] .progress-copy,
html[data-theme="light"] .progress-label,
html[data-theme="light"] .type-label {
  color: #555b66;
}
html[data-theme="light"] .current-description {
  color: #474c57;
}
html[data-theme="light"] .current-customer strong,
html[data-theme="light"] .customer-filter-link,
html[data-theme="light"] .progress-copy strong {
  color: #292d36;
}
html[data-theme="light"] .customer-filter-link:focus-visible,
html[data-theme="light"] .customer-filter-link:hover {
  color: #68479e;
}
html[data-theme="light"] .current-order-date {
  color: #747a86;
}
html[data-theme="light"] .current-description.expandable:focus-visible > span,
html[data-theme="light"] .current-description.expandable:hover > span {
  color: #30343e;
}
html[data-theme="light"] .recording-link {
  color: #a93b40;
}
html[data-theme="light"] .recording-link:hover {
  color: #7c2025;
}
html[data-theme="light"] .progress-track,
html[data-theme="light"] .queue-progress-track {
  background: #dfe2e8;
}
html[data-theme="light"] .icon-button {
  color: #747985;
  background: #f7f8fa;
}
html[data-theme="light"] .current-drag-handle,
html[data-theme="light"] .current-mobile-move button {
  color: #6f7580;
  background: #f7f8fa;
  border-color: rgba(31, 35, 45, 0.16);
}
html[data-theme="light"] .current-drag-handle:focus-visible,
html[data-theme="light"] .current-drag-handle:hover {
  color: #68479e;
  border-color: rgba(115, 82, 178, 0.34);
}
html[data-theme="light"] .current-card.current-drag-target {
  border-color: rgba(115, 82, 178, 0.55);
  box-shadow:
    inset 0 0 0 1px rgba(115, 82, 178, 0.18),
    0 13px 30px rgba(86, 55, 148, 0.1);
}
html[data-theme="light"] .current-edit:hover {
  color: #242831;
  border-color: rgba(31, 35, 45, 0.22);
}
html[data-theme="light"] .floating-edit-toggle,
html[data-theme="light"] .queue-jump-button {
  color: #4e535e;
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(31, 35, 45, 0.18);
  box-shadow: 0 10px 26px rgba(28, 31, 39, 0.14);
}
html[data-theme="light"] .floating-edit-toggle:hover,
html[data-theme="light"] .queue-jump-button:hover {
  color: #232730;
  border-color: rgba(31, 35, 45, 0.3);
}
html[data-theme="light"] .floating-edit-toggle.active {
  color: #a52b31;
  background: #fff1f2;
  border-color: rgba(217, 54, 61, 0.38);
}
html[data-theme="light"] .empty-current {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(31, 35, 45, 0.18);
}
html[data-theme="light"] .empty-current strong {
  color: #3c414b;
}
html[data-theme="light"] .empty-current small {
  color: #858a95;
}
html[data-theme="light"] .toolbar {
  background: #fff;
  box-shadow: 0 3px 14px rgba(28, 31, 39, 0.035);
}
html[data-theme="light"] .search-box {
  color: #777d88;
  background: #f7f8fa;
}
html[data-theme="light"] .search-box:focus-within {
  color: #555b66;
}
html[data-theme="light"] .search-shell.open .search-box {
  background: #eef0f4;
}
html[data-theme="light"] .search-box input {
  color: #252932;
}
html[data-theme="light"] .field input::placeholder,
html[data-theme="light"] .field textarea::placeholder,
html[data-theme="light"] .search-box input::placeholder {
  color: #8b909b;
}
html[data-theme="light"] .search-clear {
  color: #7b818c;
}
html[data-theme="light"] .search-clear:focus-visible,
html[data-theme="light"] .search-clear:hover {
  color: #272b34;
  background: rgba(31, 35, 45, 0.07);
}
html[data-theme="light"] .search-suggestions {
  background: #eef0f4;
  border-color: rgba(196, 59, 65, 0.38);
  box-shadow: 0 18px 32px rgba(28, 31, 39, 0.16);
}
html[data-theme="light"] .search-suggestion-group + .search-suggestion-group {
  border-top-color: rgba(31, 35, 45, 0.09);
}
html[data-theme="light"] .search-suggestion-heading {
  color: #747a85;
}
html[data-theme="light"] .search-suggestion {
  color: #30343d;
}
html[data-theme="light"] .search-suggestion.active,
html[data-theme="light"] .search-suggestion:focus-visible,
html[data-theme="light"] .search-suggestion:hover {
  background: rgba(196, 59, 65, 0.09);
}
html[data-theme="light"] .search-suggestion-icon {
  color: #b63137;
  background: rgba(196, 59, 65, 0.09);
}
html[data-theme="light"] .search-suggestion-icon.customer {
  color: #68479e;
  background: rgba(115, 82, 178, 0.09);
}
html[data-theme="light"] .search-suggestion-copy strong {
  color: #252932;
}
html[data-theme="light"] .search-suggestion-copy small {
  color: #717782;
}
html[data-theme="light"] .search-suggestion-arrow {
  color: #8a909a;
}
html[data-theme="light"] .search-suggestion.active .search-suggestion-arrow,
html[data-theme="light"]
  .search-suggestion:focus-visible
  .search-suggestion-arrow,
html[data-theme="light"] .search-suggestion:hover .search-suggestion-arrow {
  color: #9f3035;
}
html[data-theme="light"] kbd {
  color: #6f7480;
  background: #eceef2;
}
html[data-theme="light"] .custom-select-trigger {
  color: #343842;
  background: #f7f8fa;
}
html[data-theme="light"] .custom-select-trigger:hover {
  border-color: rgba(31, 35, 45, 0.23);
  background: #eef0f4;
}
html[data-theme="light"] .custom-select-trigger .select-chevron,
html[data-theme="light"] .select-leading-icon,
html[data-theme="light"] .select-option-icon {
  color: #6e7480;
}
html[data-theme="light"] .custom-select.open .custom-select-trigger {
  border-color: rgba(31, 35, 45, 0.23) rgba(31, 35, 45, 0.23) transparent;
  background: #eef0f4;
}
html[data-theme="light"] .custom-select-menu {
  background: #eef0f4;
  border-color: rgba(31, 35, 45, 0.23);
  box-shadow: 0 16px 30px rgba(28, 31, 39, 0.15);
}
html[data-theme="light"] .theme-select.open .custom-select-trigger {
  border-bottom-color: rgba(31, 35, 45, 0.23);
  border-radius: 10px;
}
html[data-theme="light"] .theme-select .custom-select-menu {
  background: #fff;
  border-color: rgba(31, 35, 45, 0.2);
  box-shadow: 0 16px 34px rgba(28, 31, 39, 0.18);
}
html[data-theme="light"] .custom-select-menu button {
  color: #353943;
}
html[data-theme="light"] .custom-select-menu button:focus-visible,
html[data-theme="light"] .custom-select-menu button:hover {
  background: rgba(31, 35, 45, 0.07);
}
html[data-theme="light"] .custom-select-menu button.selected {
  color: #a52b31;
  background: rgba(217, 54, 61, 0.1);
}
html[data-theme="light"]
  .theme-select
  .custom-select-menu
  button.selected
  .select-option-icon {
  color: #bd3036;
}
html[data-theme="light"] .queue-table {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 7px 25px rgba(28, 31, 39, 0.035);
}
html[data-theme="light"] .table-head {
  color: #6f7581;
}
html[data-theme="light"] .queue-row {
  border-bottom-color: rgba(31, 35, 45, 0.09);
}
html[data-theme="light"] .queue-row:hover {
  background: rgba(31, 35, 45, 0.025);
}
html[data-theme="light"] .queue-row.navigation-highlight {
  background: rgba(115, 82, 178, 0.09);
  box-shadow:
    inset 3px 0 #7352b2,
    inset 0 0 0 1px rgba(115, 82, 178, 0.22),
    0 0 16px rgba(115, 82, 178, 0.06);
}
html[data-theme="light"] .queue-group-divider {
  color: #353a44;
  background: rgba(31, 35, 45, 0.025);
  border-color: rgba(31, 35, 45, 0.1);
}
html[data-theme="light"] .queue-group-divider small {
  color: #737985;
}
html[data-theme="light"] .position {
  color: #2e333d;
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(31, 35, 45, 0.18);
  box-shadow: 0 5px 14px rgba(28, 31, 39, 0.13);
}
html[data-theme="light"] .new-badge {
  color: #a92e34;
  background: rgba(217, 54, 61, 0.09);
  border-color: rgba(217, 54, 61, 0.25);
}
html[data-theme="light"] .queue-main p,
html[data-theme="light"] .row-note {
  color: #686e79;
}
html[data-theme="light"] .queue-main .queue-description {
  color: #474c57;
}
html[data-theme="light"] .queue-description.expandable:focus-visible > span,
html[data-theme="light"] .queue-description.expandable:hover > span {
  color: #242932;
}
html[data-theme="light"] .queue-customer,
html[data-theme="light"] .queue-tags {
  color: #555b66;
}
html[data-theme="light"] .queue-customer strong,
html[data-theme="light"] .queue-tags .meta-scope {
  color: #292d36;
}
html[data-theme="light"] .queue-progress-copy {
  color: #6c727d;
}
html[data-theme="light"] .queue-progress-copy strong {
  color: #30343d;
}
html[data-theme="light"] .queue-progress-label-only {
  color: #6c727d;
}
html[data-theme="light"] .desktop-order-date,
html[data-theme="light"] .mobile-order-date {
  color: #686e79;
}
html[data-theme="light"] .rating-score.low {
  color: #c63a40;
}
html[data-theme="light"] .rating-score.mid {
  color: #9a6900;
}
html[data-theme="light"] .rating-score.high {
  color: #278258;
}
html[data-theme="light"] .status-pill.red {
  color: #c43b41;
  background: rgba(196, 59, 65, 0.07);
}
html[data-theme="light"] .status-pill.cyan {
  color: #167f8f;
  background: rgba(22, 127, 143, 0.07);
}
html[data-theme="light"] .status-pill.blue {
  color: #2d6fab;
  background: rgba(45, 111, 171, 0.07);
}
html[data-theme="light"] .status-pill.violet {
  color: #7352b2;
  background: rgba(115, 82, 178, 0.07);
}
html[data-theme="light"] .status-pill.amber {
  color: #986b17;
  background: rgba(152, 107, 23, 0.07);
}
html[data-theme="light"] .status-pill.green {
  color: #267e56;
  background: rgba(38, 126, 86, 0.07);
}
html[data-theme="light"] .row-actions button {
  color: #8a8f9a;
}
html[data-theme="light"] .row-actions button.active,
html[data-theme="light"] .row-actions button:hover {
  color: #353942;
  background: #eceef2;
}
html[data-theme="light"] .row-actions button.relationship-action {
  color: #7050ad;
}
html[data-theme="light"] .row-actions button.relationship-action:hover {
  color: #58378f;
  background: rgba(115, 82, 178, 0.08);
  border-color: rgba(115, 82, 178, 0.24);
}
html[data-theme="light"] .queue-footer {
  color: #707681;
  background: rgba(255, 255, 255, 0.52);
}
html[data-theme="light"] .queue-footer button {
  color: #a5383d;
  background: rgba(217, 54, 61, 0.08);
}
html[data-theme="light"] .order-copy-link {
  color: #777d88;
}
html[data-theme="light"] .order-copy-link:focus-visible,
html[data-theme="light"] .order-copy-link:hover {
  color: #654497;
  background: rgba(115, 82, 178, 0.08);
  border-color: rgba(115, 82, 178, 0.2);
}
html[data-theme="light"] .filter-reset-bar {
  background: #fff;
}
html[data-theme="light"] .filter-reset-bar button {
  color: #a5383d;
  background: rgba(217, 54, 61, 0.06);
}
html[data-theme="light"] .empty-results p,
html[data-theme="light"] .empty-results > span {
  color: #777d88;
}
html[data-theme="light"] .data-modal,
html[data-theme="light"] .editor,
html[data-theme="light"] .order-terms-dialog,
html[data-theme="light"] .relationship-dialog,
html[data-theme="light"] .stats-modal {
  background: #fff;
  border-color: rgba(31, 35, 45, 0.16);
  box-shadow: 0 30px 80px rgba(28, 31, 39, 0.24);
  scrollbar-color: #a9adb7 #e5e7ec;
}
html[data-theme="light"] .order-terms-head > div > span {
  color: #737985;
}
html[data-theme="light"] .order-terms-head p {
  color: #777d88;
}
html[data-theme="light"] .order-important h3,
html[data-theme="light"] .order-price-heading h3 {
  color: #2b2f38;
}
html[data-theme="light"] .order-price-list article {
  background: #f7f8fa;
  border-color: rgba(31, 35, 45, 0.11);
}
html[data-theme="light"] .order-marathon-price strong,
html[data-theme="light"] .order-price-list strong {
  color: #242832;
}
html[data-theme="light"] .order-important li,
html[data-theme="light"] .order-marathon-price span,
html[data-theme="light"] .order-price-list article > span {
  color: #666c77;
}
html[data-theme="light"] .order-price-note {
  color: #737985;
}
html[data-theme="light"] .order-marathon-section {
  background: linear-gradient(
    135deg,
    rgba(217, 54, 61, 0.07),
    rgba(115, 82, 178, 0.05)
  );
  border-color: rgba(217, 54, 61, 0.18);
}
html[data-theme="light"] .order-important {
  background: #f7f8fa;
  border-color: rgba(31, 35, 45, 0.11);
}
html[data-theme="light"] .order-terms-footer {
  background: rgba(255, 255, 255, 0.9);
  border-top-color: rgba(31, 35, 45, 0.13);
}
html[data-theme="light"] .order-marathon-price span,
html[data-theme="light"] .order-price-list article > span {
  border-left-color: rgba(31, 35, 45, 0.13);
}
html[data-theme="light"] .relationship-head > div > span {
  color: #737985;
}
html[data-theme="light"] .relationship-head p {
  color: #777d88;
}
html[data-theme="light"] .relationship-create {
  background: rgba(115, 82, 178, 0.06);
  border-color: rgba(115, 82, 178, 0.2);
}
html[data-theme="light"] .relationship-create:focus-visible,
html[data-theme="light"] .relationship-create:hover {
  background: rgba(115, 82, 178, 0.11);
  border-color: rgba(115, 82, 178, 0.34);
}
html[data-theme="light"] .relationship-create > span {
  color: #68499e;
  background: rgba(115, 82, 178, 0.1);
}
html[data-theme="light"] .relationship-create strong {
  color: #36303f;
}
html[data-theme="light"] .relationship-create small {
  color: #74707d;
}
html[data-theme="light"] .relationship-search {
  color: #777d88;
  background: #f7f8fa;
  border-color: rgba(31, 35, 45, 0.13);
}
html[data-theme="light"] .relationship-search input {
  color: #242832;
}
html[data-theme="light"] .relationship-candidate {
  background: #f7f8fa;
  border-color: rgba(31, 35, 45, 0.11);
}
html[data-theme="light"] .relationship-candidate:focus-visible,
html[data-theme="light"] .relationship-candidate:hover:not(:disabled) {
  background: #f0f1f5;
  border-color: rgba(115, 82, 178, 0.28);
}
html[data-theme="light"] .relationship-candidate-copy strong {
  color: #292d36;
}
html[data-theme="light"] .relationship-candidate-copy small {
  color: #727884;
}
html[data-theme="light"] .relationship-empty {
  color: #777d88;
}
html[data-theme="light"] .relationship-empty strong {
  color: #343842;
}
html[data-theme="light"] .auth-dialog {
  background: #fff;
  border-color: rgba(31, 35, 45, 0.16);
  box-shadow: 0 30px 80px rgba(28, 31, 39, 0.24);
}
html[data-theme="light"] .auth-dialog-head small {
  color: #737985;
}
html[data-theme="light"] .auth-dialog-body > p {
  color: #727884;
}
html[data-theme="light"] .account-summary {
  background: #f6f7f9;
  border-color: rgba(31, 35, 45, 0.13);
}
html[data-theme="light"] .account-summary strong,
html[data-theme="light"] .twitch-linked strong {
  color: #2a2e37;
}
html[data-theme="light"] .account-summary span,
html[data-theme="light"] .twitch-linked span {
  color: #6e7480;
}
html[data-theme="light"] .twitch-linked {
  background: rgba(38, 169, 105, 0.07);
  border-color: rgba(38, 169, 105, 0.22);
}
html[data-theme="light"] .auth-error {
  color: #9d3035;
  background: rgba(217, 54, 61, 0.07);
  border-color: rgba(217, 54, 61, 0.2);
}
html[data-theme="light"] .editor::-webkit-scrollbar-track,
html[data-theme="light"] .stats-modal::-webkit-scrollbar-track {
  background: #e5e7ec;
}
html[data-theme="light"] .editor::-webkit-scrollbar-thumb,
html[data-theme="light"] .stats-modal::-webkit-scrollbar-thumb {
  background: #a9adb7;
  border-color: #e5e7ec;
}
html[data-theme="light"] .editor::-webkit-scrollbar-thumb:hover {
  background: #be5b60;
}
html[data-theme="light"] .editor-head span,
html[data-theme="light"] .stats-head > div > span {
  color: #737985;
}
html[data-theme="light"] .stats-head p {
  color: #777d88;
}
html[data-theme="light"] .stats-summary-card {
  background: linear-gradient(145deg, #fafbfc, #f1f3f6);
}
html[data-theme="light"] .stats-summary-card > span,
html[data-theme="light"] .stats-summary-card > strong small {
  color: #6f7580;
}
html[data-theme="light"] .stats-summary-card > strong {
  color: #242832;
}
html[data-theme="light"] .stats-panel {
  background: #f7f8fa;
}
html[data-theme="light"] .stats-panel-title > span,
html[data-theme="light"] .stats-type-row strong {
  color: #2d313a;
}
html[data-theme="light"] .stats-panel-title > small,
html[data-theme="light"] .stats-ring small {
  color: #777d88;
}
html[data-theme="light"] .stats-ring {
  background: conic-gradient(var(--accent) var(--stats-progress), #dfe2e8 0);
}
html[data-theme="light"] .stats-ring:after {
  background: #fff;
}
html[data-theme="light"] .stats-mini-list > div {
  border-bottom-color: rgba(31, 35, 45, 0.09);
}
html[data-theme="light"] .stats-mini-list span,
html[data-theme="light"] .stats-type-row > div:first-child {
  color: #5e6470;
}
html[data-theme="light"] .stats-type-track {
  background: #dfe2e8;
}
html[data-theme="light"] .stats-customer-card {
  background: #fff;
  border-color: rgba(31, 35, 45, 0.1);
}
html[data-theme="light"] .stats-customer-card:focus-visible,
html[data-theme="light"] .stats-customer-card:hover {
  background: rgba(115, 82, 178, 0.07);
  border-color: rgba(115, 82, 178, 0.24);
}
html[data-theme="light"] .stats-customer-list span {
  color: #565c67;
}
html[data-theme="light"] .stats-customers-actions button {
  color: #624394;
  background: rgba(115, 82, 178, 0.06);
}
html[data-theme="light"] .stats-empty {
  color: #777d88;
}
html[data-theme="light"] .data-head > div > span {
  color: #737985;
}
html[data-theme="light"] .data-head p {
  color: #777d88;
}
html[data-theme="light"] .data-tabs {
  background: #f2f4f7;
}
html[data-theme="light"] .data-tabs button {
  color: #676d78;
}
html[data-theme="light"] .data-tabs button:focus-visible,
html[data-theme="light"] .data-tabs button:hover {
  color: #242832;
  background: rgba(31, 35, 45, 0.05);
}
html[data-theme="light"] .data-tabs button.active {
  color: #9f3136;
  background: rgba(217, 54, 61, 0.08);
  border-color: rgba(217, 54, 61, 0.2);
}
html[data-theme="light"] .data-note {
  color: #626874;
  background: #f7f8fa;
}
html[data-theme="light"] .backup-card,
html[data-theme="light"] .data-row {
  background: #f7f8fa;
}
html[data-theme="light"] .backup-card strong,
html[data-theme="light"] .data-empty strong,
html[data-theme="light"] .data-row strong {
  color: #2b2f38;
}
html[data-theme="light"] .backup-card p,
html[data-theme="light"] .data-empty p,
html[data-theme="light"] .data-row span {
  color: #707681;
}
html[data-theme="light"] .history-list .history-actor {
  color: #68479e;
}
html[data-theme="light"] .history-list .history-changes {
  color: #555b66;
}
html[data-theme="light"] .data-row button {
  color: #4d535e;
  background: #eceef2;
}
html[data-theme="light"] .data-empty {
  color: #777d88;
}
html[data-theme="light"] .field > span {
  color: #505661;
}
html[data-theme="light"] .date-picker-trigger,
html[data-theme="light"] .editor-select .custom-select-trigger,
html[data-theme="light"] .field input,
html[data-theme="light"] .field select,
html[data-theme="light"] .field textarea {
  color: #252932;
  background: #f7f8fa;
}
html[data-theme="light"] .field input[type="date"],
html[data-theme="light"] .field input[type="time"] {
  color-scheme: light;
}
html[data-theme="light"] .field input[readonly] {
  color: #237d50;
  background: #eef7f1;
}
html[data-theme="light"] .time-picker-clear,
html[data-theme="light"] .time-picker-toggle {
  color: #6e7480;
}
html[data-theme="light"] .time-picker-clear:focus-visible,
html[data-theme="light"] .time-picker-clear:hover,
html[data-theme="light"] .time-picker-toggle:focus-visible,
html[data-theme="light"] .time-picker-toggle:hover {
  color: #20232b;
  background: rgba(31, 35, 45, 0.07);
}
html[data-theme="light"] .time-picker.open .time-picker-control input {
  background: #fff;
}
html[data-theme="light"] .time-picker-menu {
  color: #20232b;
  background: #fff;
  border-color: rgba(217, 54, 61, 0.42);
  box-shadow: 0 18px 38px rgba(31, 35, 45, 0.16);
}
html[data-theme="light"] .time-picker-column > span {
  color: #757b86;
}
html[data-theme="light"] .time-picker-options button {
  color: #555b66;
}
html[data-theme="light"] .time-picker-options button:focus-visible,
html[data-theme="light"] .time-picker-options button:hover {
  color: #20232b;
  background: rgba(31, 35, 45, 0.07);
}
html[data-theme="light"] .time-picker-options button.selected {
  color: #fff;
  background: var(--accent);
}
html[data-theme="light"] .time-picker-footer button {
  color: #676d78;
}
html[data-theme="light"] .time-picker-footer button:focus-visible,
html[data-theme="light"] .time-picker-footer button:hover {
  color: #20232b;
}
html[data-theme="light"] .field-hint {
  color: #727884;
}
html[data-theme="light"] .continuation-banner {
  color: #68479e;
  background: rgba(115, 82, 178, 0.07);
  border-color: rgba(115, 82, 178, 0.2);
}
html[data-theme="light"] .continuation-banner strong {
  color: #4d3378;
}
html[data-theme="light"] .continuation-banner span {
  color: #6c6577;
}
html[data-theme="light"] .metadata-button {
  color: #9c3035;
  background: rgba(217, 54, 61, 0.08);
}
html[data-theme="light"] .metadata-button:focus-visible,
html[data-theme="light"] .metadata-button:hover:not(:disabled) {
  color: #7d2025;
}
html[data-theme="light"] .metadata-button:disabled {
  color: #858a95;
  background: #eceef2;
}
html[data-theme="light"] .metadata-feedback.loading {
  color: #686e79;
}
html[data-theme="light"] .number-stepper-controls button {
  color: #666c77;
  background: #eef0f4;
}
html[data-theme="light"] .number-stepper-controls button:focus-visible,
html[data-theme="light"] .number-stepper-controls button:hover:not(:disabled) {
  color: #8d242a;
  background: rgba(217, 54, 61, 0.14);
}
html[data-theme="light"] .number-stepper-controls button:disabled {
  color: #adb1ba;
}
html[data-theme="light"] .date-picker-trigger:hover,
html[data-theme="light"] .date-picker.open .date-picker-trigger,
html[data-theme="light"] .editor-select .custom-select-trigger:hover,
html[data-theme="light"] .editor-select.open .custom-select-trigger {
  background: #eef0f4;
}
html[data-theme="light"] .date-picker-menu,
html[data-theme="light"] .editor-select .custom-select-menu {
  color: #2b2f38;
  background: #fff;
  box-shadow: 0 18px 38px rgba(28, 31, 39, 0.18);
}
html[data-theme="light"] .date-picker-trigger .placeholder,
html[data-theme="light"] .date-picker-weekdays span {
  color: #828793;
}
html[data-theme="light"] .date-picker-head button,
html[data-theme="light"] .date-picker-trigger svg {
  color: #656b76;
}
html[data-theme="light"] .date-picker-head button:hover {
  color: #262a33;
  background: rgba(31, 35, 45, 0.07);
}
html[data-theme="light"] .date-picker-days > button {
  color: #424751;
}
html[data-theme="light"] .date-picker-days > button:hover:not(:disabled) {
  color: #1f232b;
  background: rgba(31, 35, 45, 0.08);
}
html[data-theme="light"] .date-picker-days > button.selected {
  color: #fff;
  background: var(--accent);
}
html[data-theme="light"] .date-picker-days > button:disabled,
html[data-theme="light"] .date-picker-footer button:disabled {
  color: #b6bac2;
}
html[data-theme="light"] .date-picker-footer button {
  color: #626874;
}
html[data-theme="light"] .date-picker-footer button:hover:not(:disabled) {
  color: #22262f;
}
html[data-theme="light"] .cover-url-field img {
  background: #f2f3f6;
}
html[data-theme="light"] .cover-preview-empty {
  color: #898e98;
  background: #f2f3f6;
}
html[data-theme="light"] .cover-upload-row small {
  color: #727884;
}
html[data-theme="light"] .check-field span {
  color: #565c67;
}
html[data-theme="light"] .discard-confirm-backdrop {
  background: rgba(32, 35, 43, 0.42);
}
html[data-theme="light"] .discard-confirm-dialog {
  color: #242832;
  background: #fff;
  border-color: rgba(31, 35, 45, 0.15);
  box-shadow: 0 24px 64px rgba(28, 31, 39, 0.22);
}
html[data-theme="light"] .discard-confirm-dialog p {
  color: #676d78;
}
html[data-theme="light"] .mobile-meta > span,
html[data-theme="light"] .queue-main .mobile-comment p {
  color: #4c525d;
}
html[data-theme="light"] .mobile-comment {
  border-top-color: rgba(31, 35, 45, 0.1);
}
html[data-theme="light"] .mobile-comment-label {
  color: #717783;
}
html[data-theme="light"] .mobile-comment-toggle {
  color: #a4383d;
}
html[data-theme="light"] .mobile-comment-toggle:focus-visible,
html[data-theme="light"] .mobile-comment-toggle:hover {
  color: #7d2025;
}
html[data-theme="light"] .series-history-toggle {
  color: #6d4ca8;
}
html[data-theme="light"] .series-history-toggle:focus-visible,
html[data-theme="light"] .series-history-toggle:hover {
  color: #4f307f;
}
html[data-theme="light"] .series-history-list {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(31, 35, 45, 0.11);
}
html[data-theme="light"] .series-history-item + .series-history-item {
  border-top-color: rgba(31, 35, 45, 0.08);
}
html[data-theme="light"] .series-history-item.active {
  background: rgba(115, 82, 178, 0.06);
}
html[data-theme="light"] .series-history-item strong {
  color: #30343d;
}
html[data-theme="light"] .series-history-item small,
html[data-theme="light"] .series-history-item span {
  color: #6e7480;
}
html[data-theme="light"] .series-history-item.clickable:focus-visible,
html[data-theme="light"] .series-history-item.clickable:hover {
  background: rgba(115, 82, 178, 0.09);
}
html[data-theme="light"] .series-history-item.clickable:focus-visible strong,
html[data-theme="light"] .series-history-item.clickable:hover strong {
  color: #1f232b;
}
html[data-theme="light"] .series-history-target {
  color: #8a8f99;
}
html[data-theme="light"]
  .series-history-item.clickable:focus-visible
  .series-history-target,
html[data-theme="light"]
  .series-history-item.clickable:hover
  .series-history-target {
  color: #68479e;
}
html[data-theme="light"] .loading-brand small {
  color: #737986;
}
html[data-theme="light"] .toast {
  color: #fff;
  background: #292d36;
}
.queue-desktop-meta,
.queue-desktop-side,
.queue-desktop-status {
  display: none;
}
.queue-mobile-details {
  display: contents;
}
.estimated-watch-time {
  color: #b6b9c2;
  font-weight: 700;
}
.queue-mobile-details > .estimated-watch-time {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
}
.history-list .data-row > div:first-child {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-gap: 4px;
  gap: 4px;
}
.history-list .data-row strong {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}
.history-list .data-row span {
  overflow-wrap: anywhere;
}
@media (min-width: 1041px) {
  .queue-table {
    background: rgba(24, 26, 32, 0.88);
  }
  .table-head {
    display: none;
  }
  .owner-mode .queue-row,
  .queue-row {
    grid-template-columns: minmax(0, 1fr) clamp(255px, 25vw, 310px);
    align-items: stretch;
    gap: 0;
    min-height: 0;
    overflow: hidden;
    padding: 26px 28px;
  }
  .queue-main {
    grid-column: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: clamp(144px, 13.5vw, 160px) minmax(0, 1fr);
    align-items: start;
    grid-gap: clamp(19px, 1.9vw, 23px);
    gap: clamp(19px, 1.9vw, 23px);
    padding-right: clamp(22px, 2.4vw, 30px);
  }
  .queue-cover-column {
    width: 100%;
    min-width: 0;
    flex: none;
  }
  .queue-cover {
    width: 100%;
    border-radius: 3px;
  }
  .position {
    left: 10px;
    bottom: 10px;
    min-width: 39px;
    padding: 7px 9px;
    font-size: 12px;
  }
  .queue-copy {
    min-width: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
  }
  .queue-title-line {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: start;
    grid-gap: 16px;
    gap: 16px;
    margin: 0;
  }
  .queue-main h3 {
    min-width: 0;
    font-size: 20px;
    line-height: 1.32;
    overflow-wrap: anywhere;
  }
  .queue-title-line .order-copy-link {
    vertical-align: middle;
    transform: none;
  }
  .queue-desktop-status {
    display: flex;
    justify-content: flex-end;
    padding-top: 1px;
  }
  .queue-desktop-status .status-pill {
    padding: 7px 10px;
    font-size: 12px;
    white-space: nowrap;
  }
  .queue-desktop-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    color: #bfc2ca;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
  }
  .queue-desktop-meta i {
    display: block;
    align-self: center;
    width: 4px;
    height: 4px;
    flex: 0 0 4px;
    margin: 0 2px;
    border-radius: 50%;
    background: currentColor;
  }
  .queue-main .queue-description {
    margin: 17px 0 0;
    font-size: 15px;
    line-height: 1.52;
  }
  .queue-main .queue-description > span {
    max-height: 6.08em;
  }
  .queue-customer {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.45;
  }
  .queue-tags {
    display: none;
  }
  .queue-copy > .series-history {
    margin-top: 12px;
  }
  .queue-mobile-details {
    display: none;
  }
  .queue-desktop-side {
    grid-column: 2;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-self: stretch;
    margin: -26px -28px -26px 0;
    padding: 26px 28px 26px clamp(22px, 2.4vw, 29px);
    border-left: 0;
    background: rgba(7, 8, 12, 0.28);
  }
  .queue-desktop-side .queue-progress-block,
  .queue-desktop-side .queue-progress-label-only {
    margin-top: 0;
  }
  .queue-desktop-side .queue-progress-copy,
  .queue-desktop-side > .estimated-watch-time {
    font-size: 14px;
    line-height: 1.35;
  }
  .queue-desktop-side .queue-progress-track {
    height: 3px;
    margin-top: 9px;
  }
  .queue-side-date {
    margin-top: 0;
    color: #b6b9c2;
    font-size: 13px;
    line-height: 1.5;
  }
  .queue-desktop-side .recording-link {
    min-height: 0;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 14px;
    text-decoration: none;
  }
  .queue-desktop-side .recording-link:focus-visible,
  .queue-desktop-side .recording-link:hover {
    color: #fff;
    border-color: transparent;
    background: transparent;
    text-decoration: underline;
    outline: 0;
  }
  .queue-side-rating {
    margin-top: 0;
    font-size: 14px;
    line-height: 1.45;
  }
  .queue-side-rating:empty {
    display: none;
  }
  .queue-side-comment {
    margin-top: 0;
    color: #b7bac3;
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
  }
  .queue-side-comment strong {
    color: #cfd1d7;
    font-weight: 800;
  }
  .owner-mode .owner-row-actions,
  .owner-row-actions {
    position: absolute;
    right: 28px;
    bottom: 14px;
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition:
      opacity 0.18s ease,
      transform 0.22s cubic-bezier(0.22, 0.75, 0.25, 1),
      visibility 0s linear 0.22s;
  }
  .owner-mode .owner-row-actions {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }
  .queue-group-divider {
    padding-right: 28px;
    padding-left: 28px;
  }
  html[data-theme="light"] .queue-table {
    background: rgba(255, 255, 255, 0.9);
  }
  html[data-theme="light"] .queue-desktop-meta {
    color: #5d636e;
  }
  html[data-theme="light"] .queue-desktop-side {
    background: rgba(224, 226, 232, 0.62);
  }
  html[data-theme="light"] .queue-side-comment,
  html[data-theme="light"] .queue-side-date {
    color: #686e79;
  }
  html[data-theme="light"] .queue-side-comment strong {
    color: #444a55;
  }
  html[data-theme="light"] .queue-desktop-side .recording-link {
    color: #9c3137;
    border-color: transparent;
    background: transparent;
  }
  html[data-theme="light"] .queue-desktop-side .recording-link:focus-visible,
  html[data-theme="light"] .queue-desktop-side .recording-link:hover {
    color: #751f24;
    border-color: transparent;
    background: transparent;
  }
}
@media (min-width: 1041px) and (max-width: 1220px) {
  .owner-mode .queue-row,
  .queue-row {
    grid-template-columns: minmax(0, 1fr) clamp(235px, 24vw, 270px);
  }
  .queue-main {
    grid-template-columns: clamp(136px, 13vw, 150px) minmax(0, 1fr);
  }
  .queue-title-line {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .queue-desktop-status {
    justify-content: flex-start;
  }
}
@media (max-width: 520px) {
  .header-social-link {
    gap: 0;
  }
  .header-social-link > span {
    display: none;
  }
  .header-social-link svg {
    display: block;
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
