/* Original Oddity Dashboard visual system. Version: v009 */

:root {
  --dashboard-bg: #f4f6f8;
  --dashboard-panel: #ffffff;
  --dashboard-panel-soft: #f8fafc;
  --dashboard-text: #111827;
  --dashboard-muted: #667085;
  --dashboard-subtle: #98a2b3;
  --dashboard-line: #e3e8ef;
  --dashboard-line-strong: #d3dae4;
  --dashboard-accent: #0f6cf2;
  --dashboard-accent-hover: #0b5fd8;
  --dashboard-accent-soft: #eef5ff;
  --dashboard-danger: #b42318;
  --dashboard-success: #039855;
  --dashboard-radius: 16px;
  --dashboard-shadow: 0 1px 2px rgba(16, 24, 40, 0.035), 0 10px 28px rgba(16, 24, 40, 0.055);
  --dashboard-shadow-hover: 0 2px 4px rgba(16, 24, 40, 0.05), 0 16px 34px rgba(16, 24, 40, 0.07);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--dashboard-bg);
  color: var(--dashboard-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

.dashboard-app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--oddity-admin-sidebar-width, 72px) minmax(0, 1fr);
}

.dashboard-main {
  min-width: 0;
  padding: 20px 28px 64px;
  transition: padding-right 180ms ease;
}

.dashboard-page {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
}

.dashboard-app.is-customizing:not(.is-previewing) .dashboard-main {
  padding-right: 388px;
}

.dashboard-header {
  min-height: 64px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.dashboard-heading {
  min-width: 0;
}

.dashboard-header h1 {
  margin: 0;
  font-size: clamp(32px, 3.2vw, 42px);
  line-height: .98;
  letter-spacing: -0.055em;
}

.dashboard-subtitle,
.dashboard-mode-copy {
  margin: 8px 0 0;
  color: var(--dashboard-muted);
  font-size: 12px;
  line-height: 1.45;
}

.dashboard-mode-copy {
  color: #536174;
}

.dashboard-app.is-customizing .dashboard-subtitle {
  display: none;
}

.dashboard-header__actions,
.dashboard-customize-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.dashboard-save-state {
  min-height: 18px;
  color: var(--dashboard-muted);
  font-size: 11px;
  white-space: nowrap;
}

.dashboard-button {
  min-height: 40px;
  border: 1px solid var(--dashboard-line-strong);
  border-radius: 10px;
  padding: 8px 14px;
  background: #fff;
  color: #344054;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .025);
  transition: border-color 120ms ease, background-color 120ms ease, color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.dashboard-button:hover {
  border-color: #b8c0cc;
  background: #fbfcfd;
  box-shadow: 0 3px 8px rgba(16, 24, 40, .05);
}

.dashboard-button:active {
  transform: translateY(1px);
}

.dashboard-button:focus-visible {
  outline: 3px solid rgba(15, 108, 242, 0.17);
  outline-offset: 2px;
}

.dashboard-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.dashboard-button--primary {
  border-color: var(--dashboard-accent);
  background: var(--dashboard-accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 108, 242, .18);
}

.dashboard-button--primary:hover {
  border-color: var(--dashboard-accent-hover);
  background: var(--dashboard-accent-hover);
  box-shadow: 0 6px 16px rgba(15, 108, 242, .22);
}

.dashboard-notice {
  margin-bottom: 14px;
  border: 1px solid #fedf89;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fffaeb;
  color: #7a2e0e;
  font-size: 11px;
  line-height: 1.5;
}

.dashboard-workspace {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.dashboard-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.dashboard-app.is-customizing:not(.is-previewing) .dashboard-grid {
  min-height: 460px;
  padding: 10px;
  border: 1px dashed #cbd8e8;
  border-radius: 18px;
  background:
    linear-gradient(rgba(228, 235, 244, .55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(228, 235, 244, .55) 1px, transparent 1px),
    #f8fbff;
  background-size: calc((100% - 20px) / 12) 74px;
  background-position: 10px 10px;
}

.dashboard-block {
  min-width: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--dashboard-line);
  border-radius: var(--dashboard-radius);
  background: var(--dashboard-panel);
  box-shadow: var(--dashboard-shadow);
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease, opacity 140ms ease;
}

.dashboard-block:hover {
  border-color: #d6dde7;
  box-shadow: var(--dashboard-shadow-hover);
}

.dashboard-app.is-customizing:not(.is-previewing) .dashboard-block {
  overflow: visible;
  border-style: dashed;
  border-color: #cdd9e8;
  box-shadow: 0 2px 8px rgba(16, 24, 40, .035);
}

.dashboard-app.is-customizing:not(.is-previewing) .dashboard-block:hover,
.dashboard-app.is-customizing:not(.is-previewing) .dashboard-block:focus-within {
  border-color: #9db9e6;
  box-shadow: 0 0 0 2px rgba(15, 108, 242, .06), 0 8px 20px rgba(16, 24, 40, .05);
}

.dashboard-block[data-size="compact"] { grid-column: span 3; min-height: 166px; }
.dashboard-block[data-size="half"] { grid-column: span 5; min-height: 218px; }
.dashboard-block[data-size="wide"] { grid-column: span 7; min-height: 250px; }
.dashboard-block[data-size="full"] { grid-column: span 12; min-height: 250px; }

.dashboard-block.is-dragging {
  opacity: .42;
  transform: scale(.985);
}

.dashboard-block.is-drop-target {
  border-color: var(--dashboard-accent) !important;
  box-shadow: 0 0 0 3px rgba(15, 108, 242, .10) !important;
}

.dashboard-block.is-drop-before::before,
.dashboard-block.is-drop-after::after {
  content: "";
  position: absolute;
  z-index: 15;
  left: 10px;
  right: 10px;
  height: 4px;
  border-radius: 999px;
  background: var(--dashboard-accent);
  box-shadow: 0 0 0 4px rgba(15, 108, 242, .09);
}

.dashboard-block.is-drop-before::before { top: -7px; }
.dashboard-block.is-drop-after::after { bottom: -7px; }

.dashboard-block__head {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px 11px;
  border-bottom: 1px solid #eef1f5;
}

.dashboard-block__title {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.dashboard-block__icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f4f7fb;
  color: #536174;
}

.dashboard-block__icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-block__head h2 {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  line-height: 1.25;
  letter-spacing: -0.012em;
}

.dashboard-block__status {
  color: var(--dashboard-subtle);
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.dashboard-block__body {
  padding: 14px 16px 17px;
}

.dashboard-block__placeholder {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 5px;
  color: var(--dashboard-muted);
}

.dashboard-block__placeholder strong {
  color: #344054;
  font-size: 12px;
  font-weight: 750;
}

.dashboard-block__placeholder span {
  max-width: 48ch;
  font-size: 10px;
  line-height: 1.5;
}

.dashboard-drag-handle {
  width: 24px;
  height: 30px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 7px;
  padding: 0;
  background: transparent;
  color: #8b9aae;
  cursor: grab;
}

.dashboard-drag-handle:hover {
  background: #eef4fb;
  color: #486789;
}

.dashboard-drag-handle:active {
  cursor: grabbing;
}

.dashboard-drag-handle svg {
  width: 12px;
  height: 16px;
  fill: currentColor;
}

.dashboard-block-menu {
  position: relative;
  flex: 0 0 auto;
}

.dashboard-block-menu__trigger {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 0 4px;
  background: transparent;
  color: #667085;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
}

.dashboard-block-menu__trigger:hover,
.dashboard-block-menu__trigger[aria-expanded="true"] {
  border-color: #d8e0ea;
  background: #f6f8fb;
  color: #344054;
}

.dashboard-block-menu__popover {
  position: absolute;
  z-index: 40;
  top: 36px;
  right: 0;
  width: 178px;
  padding: 6px;
  border: 1px solid var(--dashboard-line);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(16, 24, 40, .14);
}

.dashboard-block-menu__popover[hidden] {
  display: none;
}

.dashboard-block-menu__item {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  border: 0;
  border-radius: 7px;
  padding: 7px 9px;
  background: transparent;
  color: #344054;
  font-size: 10px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.dashboard-block-menu__item:hover {
  background: #f5f7fa;
}

.dashboard-block-menu__item:disabled {
  color: #b2bac6;
  cursor: default;
}

.dashboard-block-menu__item:disabled:hover {
  background: transparent;
}

.dashboard-block-menu__item.is-danger {
  color: var(--dashboard-danger);
}

.dashboard-block-menu__item.is-danger:hover {
  background: #fef3f2;
}

.dashboard-block-menu__sizes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 4px;
  margin: 5px 0;
  padding: 7px 0;
  border-top: 1px solid #eef1f5;
  border-bottom: 1px solid #eef1f5;
}

.dashboard-block-menu__sizes > span {
  grid-column: 1 / -1;
  padding: 0 4px 2px;
  color: var(--dashboard-subtle);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.dashboard-block-menu__sizes .dashboard-block-menu__item {
  justify-content: center;
  min-height: 30px;
  padding: 5px;
  border: 1px solid #e5e9ef;
  background: #fff;
  font-size: 9px;
}

.dashboard-block-menu__sizes .dashboard-block-menu__item.is-active {
  border-color: #a9c8f8;
  background: var(--dashboard-accent-soft);
  color: #155ac0;
}

.dashboard-quick-access {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.dashboard-quick-access__link {
  min-width: 0;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #e6eaf0;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fbfcfe;
  color: #344054;
  text-decoration: none;
  font-size: 10px;
  font-weight: 750;
  transition: border-color 120ms ease, background-color 120ms ease, transform 120ms ease;
}

.dashboard-quick-access__link:hover {
  border-color: #bfd0e6;
  background: #f6f9fd;
  transform: translateY(-1px);
}

.dashboard-quick-access__arrow {
  flex: 0 0 auto;
  color: #8fa0b5;
  font-size: 14px;
}

.dashboard-library {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 55;
  width: 360px;
  max-height: none;
  overflow: auto;
  border-left: 1px solid #dfe5ed;
  background: #fff;
  box-shadow: -16px 0 36px rgba(16, 24, 40, .07);
}

.dashboard-library__head {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 22px 20px 12px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
}

.dashboard-library__head h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.035em;
}

.dashboard-library__head p {
  max-width: 30ch;
  margin: 6px 0 0;
  color: var(--dashboard-muted);
  font-size: 10px;
  line-height: 1.5;
}

.dashboard-search {
  display: block;
  padding: 0 20px 12px;
}

.dashboard-search input {
  width: 100%;
  height: 39px;
  border: 1px solid var(--dashboard-line-strong);
  border-radius: 10px;
  padding: 0 11px;
  outline: 0;
  color: #344054;
  background: #fff;
  font-size: 10px;
}

.dashboard-search input:focus {
  border-color: var(--dashboard-accent);
  box-shadow: 0 0 0 3px rgba(15, 108, 242, .10);
}

.dashboard-library__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 20px 14px;
  border-bottom: 1px solid #eef1f5;
}

.dashboard-filter {
  min-height: 28px;
  border: 1px solid #e2e7ed;
  border-radius: 999px;
  padding: 5px 10px;
  background: #fff;
  color: #667085;
  font-size: 9px;
  font-weight: 750;
  cursor: pointer;
}

.dashboard-filter:hover {
  border-color: #c6d1de;
  background: #f9fafb;
}

.dashboard-filter.is-active {
  border-color: var(--dashboard-accent);
  background: var(--dashboard-accent);
  color: #fff;
}

.dashboard-library__list {
  display: grid;
  padding: 10px 0 18px;
}

.dashboard-library__section-title {
  padding: 4px 20px 7px;
  color: #344054;
  font-size: 10px;
  font-weight: 800;
}

.dashboard-library-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 11px 20px;
  border-bottom: 1px solid #f0f2f5;
  transition: background-color 120ms ease, opacity 120ms ease;
}

.dashboard-library-item.is-draggable {
  cursor: grab;
}

.dashboard-library-item.is-draggable:active {
  cursor: grabbing;
}

.dashboard-library-item:hover {
  background: #fafbfd;
}

.dashboard-library-item__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #f1f6fd;
  color: #1769e0;
}

.dashboard-library-item__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-library-item__copy {
  min-width: 0;
}

.dashboard-library-item__copy strong {
  display: block;
  margin-bottom: 3px;
  color: #1d2939;
  font-size: 10px;
}

.dashboard-library-item__copy span {
  display: block;
  color: var(--dashboard-muted);
  font-size: 9px;
  line-height: 1.4;
}

.dashboard-library-add {
  min-height: 30px;
  border: 1px solid #b8cff4;
  border-radius: 8px;
  padding: 5px 9px;
  background: #fff;
  color: #155ac0;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.dashboard-library-add:hover:not(:disabled) {
  background: #f2f7ff;
  border-color: #8db6f3;
}

.dashboard-library-add:disabled {
  border-color: #e3e7ed;
  background: #fafbfc;
  color: #a3acb9;
  cursor: default;
}

.dashboard-library-empty,
.dashboard-grid-empty {
  color: var(--dashboard-muted);
  font-size: 10px;
  line-height: 1.5;
}

.dashboard-library-empty {
  padding: 18px 20px;
}

.dashboard-grid-empty {
  grid-column: 1 / -1;
  min-height: 220px;
  display: grid;
  place-items: center;
  border: 1px dashed #bfcbd9;
  border-radius: 15px;
  background: rgba(255, 255, 255, .7);
  text-align: center;
}

.dashboard-drop-zone {
  grid-column: span 3;
  min-height: 170px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px dashed #b8c8dc;
  border-radius: 14px;
  background: rgba(255,255,255,.5);
  color: #617086;
  text-align: center;
  transition: border-color 120ms ease, background-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.dashboard-drop-zone.is-empty {
  grid-column: 1 / -1;
  min-height: 260px;
}

.dashboard-drop-zone__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf5ff;
  color: var(--dashboard-accent);
  font-size: 22px;
  font-weight: 500;
}

.dashboard-drop-zone > div {
  display: grid;
  gap: 3px;
}

.dashboard-drop-zone strong {
  color: #3f4c60;
  font-size: 11px;
}

.dashboard-drop-zone span:not(.dashboard-drop-zone__icon) {
  color: #8290a3;
  font-size: 9px;
}

.dashboard-drop-zone.is-drop-target {
  border-color: var(--dashboard-accent);
  background: #eef6ff;
  box-shadow: inset 0 0 0 1px rgba(15,108,242,.12), 0 8px 20px rgba(15,108,242,.08);
  transform: translateY(-1px);
}

.dashboard-loading {
  display: grid;
  gap: 14px;
}

.dashboard-loading[hidden] {
  display: none;
}

.dashboard-loading__bar {
  width: 220px;
  height: 38px;
  border-radius: 9px;
  background: #e9edf2;
}

.dashboard-loading__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.dashboard-loading__grid span {
  min-height: 210px;
  border-radius: 14px;
  background: #e9edf2;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 1260px) {
  .dashboard-app.is-customizing:not(.is-previewing) .dashboard-main {
    padding-right: 348px;
  }

  .dashboard-library {
    width: 320px;
  }

  .dashboard-block[data-size="compact"] {
    grid-column: span 4;
  }

  .dashboard-block[data-size="half"] {
    grid-column: span 6;
  }

  .dashboard-block[data-size="wide"],
  .dashboard-block[data-size="full"] {
    grid-column: span 12;
  }

  .dashboard-drop-zone {
    grid-column: span 4;
  }
}

@media (max-width: 920px) {
  .dashboard-main {
    padding: 20px 18px 48px;
  }

  .dashboard-page {
    max-width: none;
  }

  .dashboard-header {
    display: grid;
  }

  .dashboard-header__actions,
  .dashboard-customize-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .dashboard-app.is-customizing:not(.is-previewing) .dashboard-main {
    padding-right: 18px;
  }

  .dashboard-library {
    position: relative;
    inset: auto;
    width: auto;
    max-height: none;
    border: 1px solid var(--dashboard-line);
    border-radius: 14px;
    box-shadow: var(--dashboard-shadow);
    margin-top: 14px;
  }
}

@media (max-width: 720px) {
  .dashboard-app {
    grid-template-columns: 1fr;
  }

  .dashboard-main {
    padding-inline: 14px;
  }

  .dashboard-block[data-size],
  .dashboard-drop-zone {
    grid-column: span 12;
  }

  .dashboard-quick-access {
    grid-template-columns: 1fr;
  }

  .dashboard-app.is-customizing:not(.is-previewing) .dashboard-grid {
    min-height: 320px;
    padding: 8px;
    background-size: 100% 72px;
  }

  .dashboard-save-state {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-button,
  .dashboard-block,
  .dashboard-quick-access__link,
  .dashboard-drop-zone {
    transition: none;
  }
}

.dashboard-my-films {
  display: grid;
  gap: 8px;
}

.dashboard-my-films__top {
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--dashboard-muted);
  font-size: 10px;
  font-weight: 650;
}

.dashboard-my-films__top a,
.dashboard-my-films__empty a {
  color: #175cd3;
  font-weight: 750;
  text-decoration: none;
}

.dashboard-my-films__top a:hover,
.dashboard-my-films__empty a:hover {
  text-decoration: underline;
}

.dashboard-my-films__list {
  display: grid;
}

.dashboard-my-films__row {
  min-width: 0;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto 14px;
  align-items: center;
  gap: 11px;
  min-height: 60px;
  padding: 8px 0;
  border-top: 1px solid #f2f4f7;
  color: inherit;
  text-decoration: none;
}

.dashboard-my-films__row:first-child {
  border-top: 0;
}

.dashboard-my-films__row:hover .dashboard-my-films__copy strong,
.dashboard-my-films__row:focus-visible .dashboard-my-films__copy strong {
  color: #175cd3;
}

.dashboard-my-films__row:focus-visible {
  outline: 3px solid rgba(23, 105, 224, 0.14);
  outline-offset: 2px;
  border-radius: 8px;
}

.dashboard-my-films__thumb {
  width: 58px;
  height: 40px;
  overflow: hidden;
  border: 1px solid #eaecf0;
  border-radius: 7px;
  background: #f2f4f7;
}

.dashboard-my-films__thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.dashboard-my-films__thumb.is-placeholder {
  background:
    linear-gradient(135deg, transparent 46%, #d0d5dd 47%, #d0d5dd 53%, transparent 54%),
    #f2f4f7;
}

.dashboard-my-films__copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.dashboard-my-films__copy strong {
  overflow: hidden;
  color: #101828;
  font-size: 11px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 120ms ease;
}

.dashboard-my-films__meta {
  overflow: hidden;
  color: var(--dashboard-muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-my-films__status {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #e4e7ec;
  border-radius: 999px;
  padding: 3px 7px;
  background: #f9fafb;
  color: #475467;
  font-size: 9px;
  font-weight: 750;
  white-space: nowrap;
}

.dashboard-my-films__status.is-published {
  border-color: #abefc6;
  background: #ecfdf3;
  color: #067647;
}

.dashboard-my-films__status.is-draft {
  border-color: #fedf89;
  background: #fffaeb;
  color: #b54708;
}

.dashboard-my-films__status.is-hidden,
.dashboard-my-films__status.is-archived {
  background: #f2f4f7;
  color: #667085;
}

.dashboard-my-films__arrow {
  color: #98a2b3;
  font-size: 16px;
}

.dashboard-my-films__loading {
  display: grid;
  gap: 8px;
}

.dashboard-my-films__loading-row {
  height: 52px;
  display: block;
  border-radius: 8px;
  background: #f2f4f7;
}

.dashboard-my-films__empty {
  min-height: 142px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 5px;
}

.dashboard-my-films__empty strong {
  font-size: 12px;
}

.dashboard-my-films__empty span,
.dashboard-my-films__empty a {
  font-size: 10px;
  line-height: 1.45;
}

@media (max-width: 560px) {
  .dashboard-my-films__row {
    grid-template-columns: 52px minmax(0, 1fr) 14px;
  }

  .dashboard-my-films__thumb {
    width: 52px;
    height: 36px;
  }

  .dashboard-my-films__status {
    display: none;
  }
}

.dashboard-data-loading {
  min-height: 140px;
  display: grid;
  place-items: center;
  color: var(--dashboard-muted);
  font-size: 10px;
}

.dashboard-account-analytics {
  display: grid;
  gap: 14px;
}

.dashboard-account-analytics__top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid #f2f4f7;
}

.dashboard-account-metric {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 0 14px 14px;
  border-left: 1px solid #f2f4f7;
}

.dashboard-account-metric:first-child {
  padding-left: 0;
  border-left: 0;
}

.dashboard-account-metric:last-child {
  padding-right: 0;
}

.dashboard-account-metric__label {
  color: var(--dashboard-muted);
  font-size: 9px;
}

.dashboard-account-metric strong {
  color: #101828;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.dashboard-account-metric__change {
  color: var(--dashboard-muted);
  font-size: 9px;
  font-weight: 700;
}

.dashboard-account-metric__change.is-positive {
  color: #067647;
}

.dashboard-account-metric__change.is-negative {
  color: #b42318;
}

.dashboard-account-analytics__trend-head,
.dashboard-presence__pages-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #475467;
  font-size: 10px;
  font-weight: 700;
}

.dashboard-account-analytics__trend-head a,
.dashboard-presence__pages-head a {
  color: #175cd3;
  text-decoration: none;
}

.dashboard-account-analytics__trend-head a:hover,
.dashboard-presence__pages-head a:hover {
  text-decoration: underline;
}

.dashboard-account-trend {
  min-height: 108px;
  display: flex;
  align-items: end;
  gap: 3px;
  padding: 10px 6px 0;
  border-bottom: 1px solid #eaecf0;
  background:
    linear-gradient(to top, rgba(234,236,240,.7) 1px, transparent 1px);
  background-size: 100% 34px;
}

.dashboard-account-trend__bar {
  min-width: 2px;
  flex: 1 1 0;
  border-radius: 3px 3px 0 0;
  background: #2970ff;
  opacity: .86;
}

.dashboard-account-trend__empty {
  align-self: center;
  width: 100%;
  color: var(--dashboard-muted);
  font-size: 10px;
  text-align: center;
}

.dashboard-presence {
  display: grid;
  gap: 14px;
}

.dashboard-presence__top {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid #f2f4f7;
}

.dashboard-presence-metric {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 0 10px 13px;
  border-left: 1px solid #f2f4f7;
}

.dashboard-presence-metric:first-child {
  padding-left: 0;
  border-left: 0;
}

.dashboard-presence-metric:last-child {
  padding-right: 0;
}

.dashboard-presence-metric strong {
  color: #101828;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.dashboard-presence-metric span {
  color: var(--dashboard-muted);
  font-size: 9px;
}

.dashboard-presence-pages {
  display: grid;
  gap: 8px;
}

.dashboard-presence-page {
  display: grid;
  grid-template-columns: minmax(92px, 1.2fr) minmax(80px, 2fr) 28px;
  align-items: center;
  gap: 8px;
}

.dashboard-presence-page__label {
  overflow: hidden;
  color: #475467;
  font-size: 9px;
  text-overflow: ellipsis;
  text-transform: capitalize;
  white-space: nowrap;
}

.dashboard-presence-page__bar {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #f2f4f7;
}

.dashboard-presence-page__bar i {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: #2970ff;
}

.dashboard-presence-page strong {
  color: #475467;
  font-size: 9px;
  text-align: right;
}

.dashboard-presence-pages__empty {
  color: var(--dashboard-muted);
  font-size: 10px;
}

@media (max-width: 760px) {
  .dashboard-account-analytics__top,
  .dashboard-presence__top {
    grid-template-columns: 1fr 1fr;
    gap: 10px 0;
  }

  .dashboard-account-metric:nth-child(3),
  .dashboard-presence-metric:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
}

.dashboard-earnings {
  display: grid;
  gap: 14px;
}

.dashboard-earnings__currency {
  display: grid;
  gap: 10px;
}

.dashboard-earnings__currency + .dashboard-earnings__currency {
  padding-top: 14px;
  border-top: 1px solid #f2f4f7;
}

.dashboard-earnings__currency-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-earnings__currency-head > span {
  color: #475467;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
}

.dashboard-earnings__currency-head a,
.dashboard-earnings__empty a {
  color: #175cd3;
  font-size: 10px;
  font-weight: 750;
  text-decoration: none;
}

.dashboard-earnings__currency-head a:hover,
.dashboard-earnings__empty a:hover {
  text-decoration: underline;
}

.dashboard-earnings__stats {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
  border: 1px solid #eaecf0;
  border-radius: 10px;
  overflow: hidden;
}

.dashboard-earnings-stat {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 12px;
  border-left: 1px solid #eaecf0;
  background: #fff;
}

.dashboard-earnings-stat:first-child {
  border-left: 0;
}

.dashboard-earnings-stat span {
  color: var(--dashboard-muted);
  font-size: 9px;
}

.dashboard-earnings-stat strong {
  overflow: hidden;
  color: #344054;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-earnings-stat.is-primary strong {
  color: #101828;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.dashboard-earnings__note {
  margin: 0;
  color: var(--dashboard-muted);
  font-size: 9px;
  line-height: 1.45;
}

.dashboard-earnings__empty {
  min-height: 132px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 5px;
}

.dashboard-earnings__empty strong {
  font-size: 12px;
}

.dashboard-earnings__empty span {
  color: var(--dashboard-muted);
  font-size: 10px;
}

@media (max-width: 760px) {
  .dashboard-earnings__stats {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-earnings-stat:nth-child(3) {
    border-left: 0;
    border-top: 1px solid #eaecf0;
  }

  .dashboard-earnings-stat:nth-child(4) {
    border-top: 1px solid #eaecf0;
  }
}

.dashboard-film-analytics {
  display: grid;
  gap: 14px;
}

.dashboard-film-analytics__top {
  display: grid;
  grid-template-columns: minmax(140px, .7fr) minmax(0, 1.3fr);
  align-items: end;
  gap: 14px;
}

.dashboard-film-analytics__selector {
  display: grid;
  gap: 5px;
}

.dashboard-film-analytics__selector > span {
  color: var(--dashboard-muted);
  font-size: 9px;
  font-weight: 700;
}

.dashboard-film-analytics__selector select {
  width: 100%;
  height: 34px;
  border: 1px solid var(--dashboard-line-strong);
  border-radius: 8px;
  padding: 0 30px 0 9px;
  background: #fff;
  color: #344054;
  font-size: 10px;
  font-weight: 650;
}

.dashboard-film-analytics__identity {
  min-width: 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-film-analytics__identity-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.dashboard-film-analytics__identity-copy strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-film-analytics__identity-copy span {
  color: var(--dashboard-muted);
  font-size: 9px;
}

.dashboard-film-analytics__identity a {
  flex: 0 0 auto;
  color: #175cd3;
  font-size: 9px;
  font-weight: 750;
  text-decoration: none;
}

.dashboard-film-analytics__identity a:hover {
  text-decoration: underline;
}

.dashboard-film-analytics__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #f2f4f7;
  border-bottom: 1px solid #f2f4f7;
}

.dashboard-film-analytics__metric {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 12px;
  border-left: 1px solid #f2f4f7;
}

.dashboard-film-analytics__metric:first-child {
  padding-left: 0;
  border-left: 0;
}

.dashboard-film-analytics__metric span,
.dashboard-film-analytics__metric small {
  color: var(--dashboard-muted);
  font-size: 9px;
}

.dashboard-film-analytics__metric strong {
  color: #101828;
  font-size: 19px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.dashboard-film-analytics__trend-head,
.dashboard-film-geography__title {
  color: #475467;
  font-size: 10px;
  font-weight: 750;
}

.dashboard-film-analytics__trend {
  min-height: 106px;
  display: flex;
  align-items: end;
  gap: 3px;
  padding: 8px 5px 0;
  border-bottom: 1px solid #eaecf0;
  background:
    linear-gradient(to top, rgba(234,236,240,.7) 1px, transparent 1px);
  background-size: 100% 34px;
}

.dashboard-film-analytics__trend-bar {
  min-width: 2px;
  flex: 1 1 0;
  border-radius: 3px 3px 0 0;
  background: #2970ff;
  opacity: .86;
}

.dashboard-film-analytics__trend-empty {
  align-self: center;
  width: 100%;
  color: var(--dashboard-muted);
  font-size: 10px;
  text-align: center;
}

.dashboard-film-geography {
  display: grid;
  gap: 8px;
  padding-top: 2px;
}

.dashboard-film-geography__list {
  display: grid;
  gap: 7px;
}

.dashboard-film-geography__row {
  display: grid;
  grid-template-columns: minmax(88px, 1.2fr) minmax(90px, 2fr) 38px;
  align-items: center;
  gap: 8px;
}

.dashboard-film-geography__row > span:first-child {
  overflow: hidden;
  color: #475467;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-film-geography__bar {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #f2f4f7;
}

.dashboard-film-geography__bar i {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: #2970ff;
}

.dashboard-film-geography__row strong {
  color: #475467;
  font-size: 9px;
  text-align: right;
}

@media (max-width: 760px) {
  .dashboard-film-analytics__top {
    grid-template-columns: 1fr;
  }

  .dashboard-film-analytics__identity {
    align-items: center;
  }

  .dashboard-film-analytics__metrics {
    grid-template-columns: 1fr;
  }

  .dashboard-film-analytics__metric {
    border-left: 0;
    border-top: 1px solid #f2f4f7;
    padding-left: 0;
  }

  .dashboard-film-analytics__metric:first-child {
    border-top: 0;
  }
}

.dashboard-film-select {
  display: grid;
  gap: 5px;
}

.dashboard-film-select > span {
  color: var(--dashboard-muted);
  font-size: 9px;
  font-weight: 700;
}

.dashboard-film-select select {
  width: 100%;
  height: 34px;
  border: 1px solid var(--dashboard-line-strong);
  border-radius: 8px;
  padding: 0 30px 0 9px;
  background: #fff;
  color: #344054;
  font-size: 10px;
  font-weight: 650;
}

.dashboard-film-financials {
  display: grid;
  gap: 14px;
}

.dashboard-film-financials__head {
  display: grid;
  grid-template-columns: minmax(150px, .9fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 14px;
}

.dashboard-film-financials__copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.dashboard-film-financials__copy strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-film-financials__copy span {
  color: var(--dashboard-muted);
  font-size: 9px;
}

.dashboard-film-financials__head > a {
  color: #175cd3;
  font-size: 9px;
  font-weight: 750;
  text-decoration: none;
}

.dashboard-film-financials__head > a:hover {
  text-decoration: underline;
}

.dashboard-film-financials__currency {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid #f2f4f7;
}

.dashboard-film-financials__currency-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-film-financials__currency-head > span:first-child {
  color: #475467;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
}

.dashboard-film-financials__currency-head > span:last-child {
  color: var(--dashboard-muted);
  font-size: 9px;
  font-weight: 700;
}

.dashboard-film-financials__currency-head > span.is-positive {
  color: #067647;
}

.dashboard-film-financials__currency-head > span.is-negative {
  color: #b42318;
}

.dashboard-film-financials__metrics {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
  border: 1px solid #eaecf0;
  border-radius: 10px;
  overflow: hidden;
}

.dashboard-film-financials__metric {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 11px;
  border-left: 1px solid #eaecf0;
  background: #fff;
}

.dashboard-film-financials__metric:first-child {
  border-left: 0;
}

.dashboard-film-financials__metric span,
.dashboard-film-financials__metric small {
  color: var(--dashboard-muted);
  font-size: 8.5px;
  line-height: 1.35;
}

.dashboard-film-financials__metric strong {
  overflow: hidden;
  color: #344054;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-film-financials__metric.is-primary strong {
  color: #101828;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.dashboard-film-financials__trend-head {
  color: #475467;
  font-size: 10px;
  font-weight: 750;
}

.dashboard-film-financials__trend {
  min-height: 84px;
  display: flex;
  align-items: end;
  gap: 3px;
  padding: 7px 5px 0;
  border-bottom: 1px solid #eaecf0;
  background:
    linear-gradient(to top, rgba(234,236,240,.7) 1px, transparent 1px);
  background-size: 100% 28px;
}

.dashboard-film-financials__trend-bar {
  min-width: 2px;
  flex: 1 1 0;
  border-radius: 3px 3px 0 0;
  background: #2970ff;
  opacity: .86;
}

.dashboard-film-financials__trend-bar.is-negative {
  background: #d92d20;
}

.dashboard-film-financials__trend-empty {
  align-self: center;
  width: 100%;
  color: var(--dashboard-muted);
  font-size: 10px;
  text-align: center;
}

.dashboard-film-financials__empty {
  min-height: 120px;
  display: grid;
  align-content: center;
  gap: 5px;
}

.dashboard-film-financials__empty strong {
  font-size: 12px;
}

.dashboard-film-financials__empty span {
  color: var(--dashboard-muted);
  font-size: 10px;
}

@media (max-width: 760px) {
  .dashboard-film-financials__head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .dashboard-film-financials__metrics {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-film-financials__metric:nth-child(3) {
    border-left: 0;
    border-top: 1px solid #eaecf0;
  }

  .dashboard-film-financials__metric:nth-child(4) {
    border-top: 1px solid #eaecf0;
  }
}

.dashboard-finance {
  display: grid;
  gap: 14px;
}

.dashboard-finance__top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.dashboard-finance__top > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.dashboard-finance__top strong {
  font-size: 12px;
}

.dashboard-finance__top span {
  color: var(--dashboard-muted);
  font-size: 9px;
}

.dashboard-finance__top a {
  flex: 0 0 auto;
  color: #175cd3;
  font-size: 9px;
  font-weight: 750;
  text-decoration: none;
}

.dashboard-finance__top a:hover {
  text-decoration: underline;
}

.dashboard-finance__section {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid #f2f4f7;
}

.dashboard-finance__section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-finance__section-head strong {
  color: #344054;
  font-size: 10px;
}

.dashboard-finance__section-head span {
  color: var(--dashboard-muted);
  font-size: 8.5px;
  text-align: right;
}

.dashboard-finance__currency {
  display: grid;
  gap: 6px;
}

.dashboard-finance__currency + .dashboard-finance__currency {
  padding-top: 9px;
  border-top: 1px solid #f2f4f7;
}

.dashboard-finance__currency-code {
  color: #667085;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
}

.dashboard-finance__stats {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #eaecf0;
  border-radius: 10px;
}

.dashboard-finance-stat {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 11px;
  border-left: 1px solid #eaecf0;
}

.dashboard-finance-stat:first-child {
  border-left: 0;
}

.dashboard-finance-stat span {
  color: var(--dashboard-muted);
  font-size: 8.5px;
}

.dashboard-finance-stat strong {
  overflow: hidden;
  color: #344054;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-finance-stat.is-primary strong {
  color: #101828;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.dashboard-finance__section-empty,
.dashboard-finance__section-error {
  color: var(--dashboard-muted);
  font-size: 9px;
}

.dashboard-finance__section-error {
  color: #b42318;
}

.dashboard-finance__note {
  margin: 0;
  color: var(--dashboard-muted);
  font-size: 9px;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .dashboard-finance__top,
  .dashboard-finance__section-head {
    align-items: start;
  }

  .dashboard-finance__section-head {
    display: grid;
  }

  .dashboard-finance__section-head span {
    text-align: left;
  }

  .dashboard-finance__stats {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-finance-stat:nth-child(3) {
    border-left: 0;
    border-top: 1px solid #eaecf0;
  }

  .dashboard-finance-stat:nth-child(4) {
    border-top: 1px solid #eaecf0;
  }
}
