:root {
  --c-bg: #ffffff;
  --c-card: #f7f9fb;
  --c-border: #e5e7eb;
  --c-text: #111827;
  --c-muted: #6b7280;
  --c-link: #2563eb;
  --c-selected: #eff6ff;
  --c-hover: #f3f4f6;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-size: 15px;
  background: var(--c-bg);
  color: var(--c-text);
  overflow: hidden;
}

.shell {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0;
  height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.5rem;
  border-bottom: 1px solid var(--c-border);
  justify-content: space-between;
  background: #fff;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family:
    "Nunito",
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
#nav-toolbar {
  flex: 1;
  min-width: 0;
  width: 100%;
}
#nav-toolbar .dx-toolbar-items-container {
  justify-content: flex-end;
}
#nav-toolbar .dx-toolbar-after {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
#nav-toolbar .dx-toolbar-after,
#nav-toolbar .dx-toolbar-before,
#nav-toolbar .dx-toolbar-center {
  box-shadow: none;
}
.page {
  margin-top: 0;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.card-view-shell {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 1.5rem 1rem;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.card-view {
  margin-top: 0;
  flex: 1;
  min-height: 0;
  height: 100%;
}
.drawer-shell {
  display: grid;
  grid-template-columns: 278px 1fr;
  gap: 0;
  flex: 1;
  min-height: 0;
  width: 100%;
  height: 100%;
}
.drawer-shell.drawer-collapsed {
  grid-template-columns: 0 1fr;
}
.drawer-panel {
  background: #fff;
  border: none;
  border-right: 1px solid var(--c-border);
  border-radius: 0;
  padding: 0.5rem 0.75rem 1rem;
  height: 100%;
  overflow: auto;
}
.drawer-collapsed .drawer-panel {
  display: none;
}
.drawer-content {
  min-height: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.dx-cardview {
  height: 100%;
  background: transparent;
}
.dx-cardview .dx-cardview-content,
.dx-cardview .dx-gridcore-nodata-container {
  background: transparent;
}
.dx-cardview .dx-scrollable-wrapper,
.dx-cardview .dx-scrollable-container {
  height: 100%;
}
.dx-cardview .dx-cardview-search-panel,
.dx-cardview .dx-cardview-search-panel.dx-state-hover,
.dx-cardview .dx-cardview-search-panel.dx-state-focused {
  box-shadow: none;
}
.dx-cardview .dx-toolbar-after,
.dx-cardview .dx-toolbar-before,
.dx-cardview .dx-toolbar-center {
  box-shadow: none;
}
/* The card chrome lives on .card-tile; strip the DevExtreme wrapper so the
   border and background are not drawn twice. */
.dx-cardview-card {
  border: none;
  border-radius: 12px;
  background: transparent;
  overflow: visible;
}
.status {
  color: var(--c-muted);
  padding: 0 1.5rem;
}
.status:empty {
  display: none;
}
.status.error {
  color: #b91c1c;
}
.hidden {
  display: none !important;
}
.hint {
  color: var(--c-muted);
}
.card-tile {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  position: relative;
  height: auto;
  overflow: visible;
  transition:
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}
.card-tile:hover {
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.1);
}
.card-thumb-wrap {
  position: relative;
}
.card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  border: none;
  display: block;
}
.card-thumb.character-card-thumb {
  object-fit: contain;
  background: var(--c-surface-alt, #f5f5f5);
}
.card-thumb-dropdowns {
  position: absolute;
  left: 8px;
  bottom: 8px;
  display: flex;
  gap: 0.35rem;
  max-width: calc(100% - 16px);
  flex-wrap: wrap;
}
.card-thumb-flags {
  position: absolute;
  left: 8px;
  top: 8px;
  display: flex;
  gap: 0.35rem;
}
.card-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(17, 24, 39, 0.65);
  color: #fff;
  backdrop-filter: blur(2px);
}
.card-flag i {
  font-size: 12px;
}
.card-flag--sample {
  background: rgba(168, 85, 247, 0.9);
}
.card-thumb-dropdown {
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
}
.card-thumb-dropdown .dx-dropdownbutton {
  border-radius: 9999px;
  overflow: hidden;
}
.card-thumb-dropdown .dx-dropdownbutton-action,
.card-thumb-dropdown .dx-dropdownbutton-toggle {
  border: none;
  box-shadow: none;
  min-height: 22px;
}
.card-thumb-dropdown .dx-dropdownbutton-action {
  border-radius: 9999px 0 0 9999px;
}
.card-thumb-dropdown .dx-dropdownbutton-toggle {
  border-radius: 0 9999px 9999px 0;
  padding-inline: 8px;
}
.card-thumb-dropdown .dx-button-content {
  padding: 3px 8px;
}
.card-thumb-dropdown .dx-button-text {
  font-size: 0.745rem;
  font-weight: 600;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-thumb-dropdown .dx-icon {
  color: #fff;
  font-size: 14px;
  line-height: 12px;
}
.education-dropdown-host .dx-button {
  background: var(--pill-color, rgba(139, 92, 246, 0.92));
  color: #fff;
}
.science-dropdown-host .dx-button {
  background: var(--pill-color, rgba(14, 165, 233, 0.92));
  color: #fff;
}
.card-actions {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  gap: 0.35rem;
}
.delete-button,
.edit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.18);
}
.edit-button i {
  color: #2563eb;
  font-weight: 300;
}
.delete-button .trash {
  font-weight: 300;
  color: red;
  transition: opacity 0.2s ease-in-out;
}
.delete-button:hover .trash {
  display: none;
}
.delete-button:hover .trash-hover {
  display: inline-block;
  font-weight: 900;
  color: red;
}
.trash-hover {
  display: none;
}
.card-menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  color: var(--c-text);
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.18);
}
.card-menu-button:hover {
  background: #fff;
}
.card-menu-button i {
  font-size: 16px;
  font-weight: 300;
}
.card-menu .dx-menu-item-content {
  padding: 6px 12px;
}
.card-menu-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
}
.card-menu-item i {
  width: 16px;
  font-size: 14px;
  text-align: center;
}
.card-menu-item--danger,
.card-menu-item--danger i {
  color: #dc2626;
}
.card-tile.selected {
  border-color: var(--c-link);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
}
.card-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1 1 auto;
  min-height: 0;
  padding: 0.7rem 0.35rem 0.15rem;
}
.card-title-row {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}
.card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  flex: 1 1 auto;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.card-kind-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.card-kind-badge--board {
  background: #dbeafe;
  color: #1d4ed8;
}
.card-kind-badge--notebook {
  background: #d1fae5;
  color: #065f46;
}
.card-desc {
  color: var(--c-muted);
  font-size: 0.855rem;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  line-height: 1.4;
  min-height: calc(2 * 1.4em);
  max-height: calc(2 * 1.4em);
}
.card-desc--empty {
  font-style: italic;
  color: #9ca3af;
  font-size: 0.8rem;
}
.card-thumb-placeholder {
  display: block;
}
.card-creator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  flex: 0 1 auto;
}
.card-creator-avatar {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--c-border);
}
.card-creator-name {
  font-size: 0.78rem;
  color: var(--c-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-meta-actions {
  display: flex;
  gap: 0.1rem;
  align-items: center;
}
.card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-top: 1px solid var(--c-border);
  padding-top: 0.5rem;
  margin-top: auto;
}
.card-date {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: var(--c-muted);
  white-space: nowrap;
}
.card-date i {
  font-size: 12px;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-top: 1px solid var(--c-border);
  padding-top: 0.5rem;
  margin-top: auto;
}
.card-footer-actions {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: auto;
  flex: 0 0 auto;
}
.card-stats {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.card-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: var(--c-muted);
  white-space: nowrap;
}
.card-stat i {
  font-size: 12px;
}
.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(37, 99, 235, 0.1);
  color: var(--c-text);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.975rem;
}
.like-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  border: none;
  background: transparent;
  border-radius: 999px;
  padding: 0 0.25rem;
  height: 26px;
  min-width: 26px;
  cursor: pointer;
  color: var(--c-text);
}
.like-button:hover,
.favorite-button:hover,
.pick-button:hover {
  background: var(--c-hover);
}
.like-button .like-icon {
  color: #9ca3af;
  font-size: 14px;
}
.like-button.is-liked .like-icon {
  color: #e11d48;
}
.like-count {
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1;
}
.like-button.is-liked .like-count {
  color: #e11d48;
}
.favorite-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  border-radius: 999px;
  padding: 0;
  width: 26px;
  height: 26px;
  cursor: pointer;
  color: var(--c-text);
}
.favorite-button .favorite-icon {
  color: #9ca3af;
  font-size: 14px;
}
.favorite-button.is-favorite .favorite-icon {
  color: #f59e0b;
}
.pick-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  border-radius: 999px;
  padding: 0;
  width: 26px;
  height: 26px;
  cursor: pointer;
  color: var(--c-text);
}
.pick-button .pick-icon {
  color: #9ca3af;
  font-size: 14px;
}
.pick-button.is-picked .pick-icon {
  color: #dc2626;
}
.card-thumb-dropdown .dx-icon,
.card-tile .trash,
.card-tile .trash-hover,
.card-badge i {
  font-size: 14px;
}
.user-menu .dx-button-content {
  display: inline-flex;
  align-items: center;
}
.user-menu-avatar {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--c-border);
}
.tree-item-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 24px;
}
.tree-item-icon {
  width: 16px;
  text-align: center;
  font-size: 16px;
}
#drawer .dx-state-selected .tree-item-icon {
  --fa-style: 900;
}
.tree-item-text {
  color: var(--c-text);
  font-size: 0.92rem;
}
.tree-group-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
}
#drawer .dx-treeview-item {
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  min-height: 36px;
  display: flex;
  align-items: center;
}
#drawer .dx-treeview-item.dx-item.dx-state-hover {
  background: var(--c-hover);
}
#drawer .dx-treeview-node.dx-state-selected > .dx-treeview-item,
#drawer .dx-treeview-node.dx-state-selected > .dx-treeview-item.dx-state-hover {
  background: var(--c-selected);
  box-shadow: inset 3px 0 0 var(--c-link);
}
#drawer .dx-treeview-node.dx-state-selected > .dx-treeview-item .tree-item-text {
  color: var(--c-link);
  font-weight: 600;
}
#drawer .dx-treeview-root-node > .dx-treeview-item,
#drawer .dx-treeview-root-node > .dx-treeview-item.dx-state-hover {
  background: transparent;
  cursor: default;
  padding: 0.35rem 0.6rem 0.3rem;
  min-height: 0;
}
#drawer .dx-treeview-root-node > .dx-treeview-item .dx-treeview-toggle-item-visibility {
  display: none !important;
}
#drawer .dx-treeview-root-node:not(:first-child) > .dx-treeview-item {
  margin-top: 0.7rem;
  border-top: 1px solid var(--c-border);
  padding-top: 1.1rem;
}
#drawer .dx-treeview-root-node > .dx-treeview-node-container > .dx-treeview-node {
  padding-left: 0;
}
#drawer .dx-treeview-item-content {
  order: 0;
  flex: 1 1 auto;
  min-width: 0;
}
#drawer .dx-treeview-toggle-item-visibility {
  order: 3;
  margin-left: auto;
  color: #9ca3af;
}
.notification-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
#nav-notifications,
#nav-notifications .dx-button-content,
#nav-notifications .dx-item-content {
  overflow: visible !important;
}
.notification-bell .bell-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #dc2626;
  color: #fff;
  font-size: 0.725rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  border-radius: 999px;
  text-align: center;
  padding: 0 4px;
  box-sizing: border-box;
  pointer-events: none;
}
.dx-overlay-wrapper {
  font-size: 15px;
}
.dx-datagrid .dx-row>td {
  font-size: 15px;
}
.dx-datagrid .dx-header-row>th {
  font-size: 15px;
}

.mdl-nav-icon {
  font-size: 16px;
}
.mdl-menu-icon {
  font-size: 15px;
  width: 17px;
  text-align: center;
}
.mdl-menu-item-content {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
}
.mdl-user-menu-dropdown {
  font-size: 15px;
}
.mdl-grid-icon {
  font-size: 15px;
}
.mdl-loading-spinner {
  font-size: 1.5rem;
  color: #6b7280;
}
.mdl-notification-icon {
  font-size: 16px;
}
.mdl-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.remove-feature-btn {
  font-size: 15px;
}
.template-picker-shell {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 0.25rem 0.5rem 0.5rem;
}
.template-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  max-height: 55vh;
  overflow-y: auto;
  padding: 0.25rem;
}
.template-picker-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}
.template-picker-card {
  background: #fff;
  border: 2px solid var(--c-border);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.template-picker-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}
.template-picker-card--selected {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}
.template-picker-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.template-picker-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.template-picker-card-thumb--blank {
  background: #f9fafb;
}
.template-picker-card-thumb--blank i,
.template-picker-card-thumb i {
  font-size: 2rem;
  color: #9ca3af;
}
.template-picker-card-body {
  padding: 0.4rem 0.5rem 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.template-picker-card-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.template-picker-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
}
.template-picker-card-tag {
  font-size: 0.65rem;
  background: #ede9fe;
  color: #6d28d9;
  border-radius: 9999px;
  padding: 1px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.shape-image-dropzone {
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 12px;
  border: 1px dashed var(--c-border);
  border-radius: 12px;
  background: var(--c-card);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  position: relative;
  overflow: hidden;
}
.shape-image-dropzone.drag-over {
  border-color: #4039d7;
  background: #eef0ff;
}
.shape-image-dropzone__hint {
  font-size: 0.9rem;
  color: #6b7280;
  text-align: center;
}
.shape-image-dropzone__preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  cursor: grab;
}
.shape-image-dropzone__preview:not([src]),
.shape-image-dropzone__preview[src=""] {
  display: none;
}
.shape-image-dropzone__uploader {
  display: none;
}
.shape-image-dropzone__remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}
.shape-image-dropzone__remove .trash {
  font-weight: 300;
  color: red;
}
.shape-image-dropzone__remove:hover .trash {
  display: none;
}
.shape-image-dropzone__remove:hover .trash-hover {
  display: inline-block;
}
#char-thumbnail-control .shape-image-dropzone__preview {
  object-fit: contain;
  pointer-events: none;
}
.card-desc-tooltip {
  text-align: left;
}
.card-desc-tooltip strong {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  text-align: center;
}
.card-desc-tooltip p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--c-muted);
  line-height: 1.4;
  white-space: pre-wrap;
}
.html-editor-toolbar {
  margin-top: 4px;
  border-top: 1px solid var(--c-border);
  padding-top: 4px;
}
.media-thumb-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.media-thumb-placeholder.video-thumb {
  background: linear-gradient(135deg, #fce7f3, #fbcfe8);
}
.media-thumb-placeholder.audio-thumb {
  background: linear-gradient(135deg, #ecfccb, #bbf7d0);
}
.media-thumb-placeholder.data-thumb {
  background: linear-gradient(135deg, #ecfdf5, #a7f3d0);
}
.media-thumb-placeholder.image-thumb {
  background: linear-gradient(135deg, #e0f2fe, #bae6fd);
}
.edit-image-preview {
  width: 100%;
  max-height: 200px;
  border-radius: 10px;
  border: 1px solid var(--c-border);
  object-fit: contain;
  background: var(--c-surface-muted, #f8fafc);
}
.media-thumb-icon {
  font-size: 2rem;
  color: #9ca3af;
}
.education-label-pill,
.science-label-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: 0.745rem;
  font-weight: 600;
  color: #fff;
  background: var(--pill-color, #8b5cf6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.asset-link-button {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  color: var(--c-link);
  text-decoration: none;
  padding: 2px 0;
}
.asset-link-button:hover {
  text-decoration: underline;
}
.upload-file-uploader-host {
  width: 100%;
}

.mdl-nav-action-icon-hover {
  display: none;
}

#nav-notifications:hover .mdl-nav-action-icon {
  display: none;
}

#nav-notifications:hover .mdl-nav-action-icon-hover {
  display: inline-block;
}

.media-thumb-placeholder.character-thumb {
  background: linear-gradient(135deg, #ede9fe, #c4b5fd);
}

.char-editor-tab-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 2px solid var(--c-border);
  margin-bottom: 1.25rem;
}
.char-editor-tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
.char-editor-tab-btn:hover {
  color: var(--c-text);
}
.char-editor-tab-btn.active {
  color: var(--c-link);
  border-bottom-color: var(--c-link);
  font-weight: 600;
}
.char-editor-tab-add-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--c-muted);
  cursor: pointer;
  margin-left: auto;
  transition: color 0.15s;
}
.char-editor-tab-add-btn:hover {
  color: var(--c-link);
}

.char-editor {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.char-editor-field-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}
.char-editor-info-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.75rem;
}
#char-thumbnail-control {
  position: relative;
}
.char-pivot-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #4039d7;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
  pointer-events: all;
  cursor: grab;
  z-index: 10;
  touch-action: none;
}
.char-pivot-dot:active {
  cursor: grabbing;
}
.char-pivot-below-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.4rem;
}
.char-pivot-xy-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
}
.char-pivot-coord-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--c-muted);
  min-width: 10px;
}
.char-rotate-toggle-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.char-rotate-btn-icon {
  font-size: 14px;
  margin-right: 6px;
}
.char-rotate-btn-label {
  font-size: 0.8rem;
}
@keyframes charIconPop {
  0% { transform: scale(0.5) rotate(-20deg); opacity: 0.3; }
  60% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
.char-rotate-btn-icon.char-icon-animate {
  animation: charIconPop 0.35s ease-out forwards;
}
.char-editor-anims {
  border-top: 1px solid var(--c-border);
  padding-top: 1rem;
}
.char-editor-anims-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.char-editor-section-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--c-text);
}
.char-no-anims {
  color: var(--c-muted);
  font-size: 0.875rem;
  padding: 0.5rem 0;
}
.char-anim {
  border: 1px solid var(--c-border);
  border-radius: 8px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.char-anim-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  background: #f9fafb;
  border-bottom: 1px solid var(--c-border);
}
.char-anim-name-input {
  flex: 1;
  border: 1px solid var(--c-border);
  border-radius: 4px;
  padding: 0.3rem 0.5rem;
  font-size: 0.875rem;
  background: #fff;
  color: var(--c-text);
  min-width: 0;
  outline: none;
}
.char-anim-name-input:focus {
  border-color: var(--c-link);
  box-shadow: 0 0 0 2px rgba(37,99,235,0.15);
}
.char-anim-order-input {
  width: 62px;
  border: 1px solid var(--c-border);
  border-radius: 4px;
  padding: 0.3rem 0.4rem;
  font-size: 0.875rem;
  background: #fff;
  color: var(--c-text);
  text-align: center;
  outline: none;
}
.char-anim-order-input:focus {
  border-color: var(--c-link);
  box-shadow: 0 0 0 2px rgba(37,99,235,0.15);
}
.char-anim-save-btn {
  border: 1px solid var(--c-link);
  border-radius: 4px;
  padding: 0.25rem 0.7rem;
  font-size: 0.8rem;
  background: transparent;
  color: var(--c-link);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.char-anim-save-btn:hover {
  background: var(--c-link);
  color: #fff;
}
.char-anim-del-btn {
  border: none;
  background: none;
  cursor: pointer;
  color: #dc2626;
  padding: 0.25rem 0.4rem;
  border-radius: 4px;
  line-height: 1;
  transition: background 0.15s;
}
.char-anim-del-btn:hover {
  background: #fee2e2;
}
.char-anim-frames {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  min-height: 3rem;
}
.char-frame {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--c-border);
  flex-shrink: 0;
}
.char-frame-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.char-frame-del-btn {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  opacity: 0;
  transition: opacity 0.15s;
  padding: 0;
  line-height: 1;
}
.char-frame:hover .char-frame-del-btn {
  opacity: 1;
}
.char-frame-index {
  position: absolute;
  bottom: 2px;
  left: 3px;
  font-size: 0.58rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 3px;
  padding: 0 3px;
  line-height: 1.5;
  pointer-events: none;
}
.char-frame-add {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 2px dashed var(--c-border);
  border-radius: 6px;
  cursor: pointer;
  color: var(--c-muted);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: border-color 0.15s, color 0.15s;
}
.char-frame-add:hover {
  border-color: var(--c-link);
  color: var(--c-link);
}
.char-frame-file-input {
  display: none;
}

.usage-dashboard {
  height: 100%;
  overflow-y: auto;
  padding: 0.25rem 0.25rem 1rem;
  box-sizing: border-box;
}
.usage-dashboard-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.5rem 0.25rem 1.25rem;
}
.usage-dashboard-eyebrow {
  display: block;
  margin-bottom: 0.2rem;
  color: #2563eb;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.usage-dashboard-header h1 {
  margin: 0;
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  line-height: 1.1;
}
.usage-dashboard-header p {
  margin: 0.45rem 0 0;
  color: var(--c-muted);
}
.usage-dashboard-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.usage-dashboard-actions > span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--c-muted);
  font-size: 0.8rem;
  white-space: nowrap;
}
.usage-metrics-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
}
.usage-metric-card {
  position: relative;
  min-width: 0;
  padding: 1rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 5px 18px rgba(15, 23, 42, 0.05);
}
.usage-metric-card::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 44%;
  height: 3px;
  background: var(--metric-accent);
  border-radius: 0 14px 0 999px;
  content: "";
}
.usage-metric-icon {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 0.8rem;
  place-items: center;
  color: var(--metric-accent);
  background: color-mix(in srgb, var(--metric-accent) 11%, white);
  border-radius: 10px;
}
.usage-metric-icon i {
  font-size: 1rem;
}
.usage-metric-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.usage-metric-label {
  color: var(--c-muted);
  font-size: 0.78rem;
  font-weight: 600;
}
.usage-metric-value {
  margin: 0.1rem 0;
  color: #0f172a;
  font-family: "Inter", sans-serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.2;
}
.usage-metric-detail {
  overflow: hidden;
  color: #94a3b8;
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.usage-insights-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.usage-insight {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1rem;
  background: color-mix(in srgb, var(--insight-accent) 5%, white);
  border: 1px solid color-mix(in srgb, var(--insight-accent) 17%, white);
  border-radius: 12px;
}
.usage-insight > i {
  color: var(--insight-accent);
  font-size: 1.1rem;
}
.usage-insight > div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 0 0.45rem;
}
.usage-insight strong {
  color: var(--insight-accent);
  font-family: "Inter", sans-serif;
  font-size: 1.15rem;
}
.usage-insight span {
  color: #334155;
  font-size: 0.78rem;
  font-weight: 600;
}
.usage-insight small {
  grid-column: 1 / -1;
  color: #94a3b8;
  font-size: 0.68rem;
}
.usage-breakdowns-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.usage-breakdown-card {
  min-width: 0;
  padding: 1rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 5px 18px rgba(15, 23, 42, 0.04);
}
.usage-breakdown-card--wide {
  grid-column: 1 / -1;
}
.usage-breakdown-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}
.usage-breakdown-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  place-items: center;
  color: var(--breakdown-accent);
  background: color-mix(in srgb, var(--breakdown-accent) 10%, white);
  border-radius: 10px;
}
.usage-breakdown-header h2 {
  margin: 0;
  color: #1e293b;
  font-size: 0.98rem;
}
.usage-breakdown-header p {
  margin: 0.1rem 0 0;
  color: #94a3b8;
  font-size: 0.72rem;
}
.usage-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: 0.8rem;
}
.usage-breakdown-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}
.usage-breakdown-label {
  overflow: hidden;
  color: #475569;
  font-size: 0.76rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.usage-breakdown-count {
  color: #334155;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}
.usage-breakdown-count small {
  color: #94a3b8;
  font-size: 0.65rem;
  font-weight: 500;
}
.usage-breakdown-meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: -0.15rem 0 0.3rem;
  color: #94a3b8;
  font-size: 0.68rem;
}
.usage-breakdown-meta > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.usage-breakdown-track {
  height: 6px;
  overflow: hidden;
  background: #f1f5f9;
  border-radius: 999px;
}
.usage-breakdown-track span {
  display: block;
  height: 100%;
  background: var(--breakdown-accent);
  border-radius: inherit;
}
.usage-growth-rate {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
  padding: 0.3rem 0.65rem;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 999px;
  font-size: 0.7rem;
  white-space: nowrap;
}
.usage-growth-rate span + span {
  padding-left: 0.55rem;
  border-left: 1px solid #e2e8f0;
}
.usage-growth-rate i {
  color: var(--breakdown-accent);
}
.usage-growth-rate strong {
  color: #1e293b;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
}
.usage-growth-chart {
  height: 280px;
  margin-top: 0.8rem;
}
.usage-breakdown-empty {
  padding: 1.4rem 0;
  color: #94a3b8;
  font-size: 0.8rem;
  text-align: center;
}
.usage-dashboard-loading,
.usage-dashboard-error {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.65rem;
  color: var(--c-muted);
}
.usage-dashboard-loading i,
.usage-dashboard-error > i {
  color: #2563eb;
  font-size: 1.6rem;
}
.usage-dashboard-error > i {
  color: #d97706;
}
@media (max-width: 1200px) {
  .usage-metrics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .usage-insights-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .usage-dashboard-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }
  .usage-dashboard-actions {
    width: 100%;
    justify-content: space-between;
  }
  .usage-metrics-grid,
  .usage-insights-row,
  .usage-breakdowns-grid {
    grid-template-columns: 1fr;
  }
}

.media-thumb-placeholder.object-thumb {
  background: linear-gradient(135deg, #ecfeff, #a5f3fc);
}

.object-editor-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 12px;
  align-items: start;
}

/* ---- Top bar actions ---------------------------------------------------- */
.nav-button-content {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 600;
}
.nav-button-caret {
  font-size: 11px;
}
#nav-upload .dx-button,
#nav-create .dx-button {
  height: 40px;
  border-radius: 10px;
}
#nav-upload .dx-button {
  border: 1px solid var(--c-border);
  background: #fff;
  color: var(--c-text);
}
#nav-upload .dx-button.dx-state-hover {
  background: var(--c-hover);
}
#nav-create .dx-button {
  border: none;
  background: var(--c-link);
  color: #fff;
}
#nav-create .dx-button.dx-state-hover {
  background: #1d4ed8;
}
#nav-upload .dx-button-content,
#nav-create .dx-button-content {
  padding: 0 1rem;
}
#nav-notifications .dx-button-content {
  padding: 0 0.5rem;
}

/* ---- Content header ----------------------------------------------------- */
.content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem 1rem;
  flex-wrap: wrap;
}
.content-title {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}
.content-count {
  color: var(--c-muted);
  font-size: 0.85rem;
  margin-top: 0.2rem;
}
.content-tools {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.content-header--tools-hidden .content-tools {
  display: none;
}
.content-header--models-only-hidden #content-filter-button,
.content-header--models-only-hidden .content-sort {
  display: none;
}
.content-search {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.content-search-icon {
  position: absolute;
  left: 13px;
  color: #9ca3af;
  font-size: 14px;
  pointer-events: none;
}
.content-search-input {
  width: 400px;
  max-width: 34vw;
  height: 40px;
  box-sizing: border-box;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 0 0.9rem 0 2.3rem;
  font: inherit;
  font-size: 0.9rem;
  color: var(--c-text);
  background: #fff;
  outline: none;
}
.content-search-input::placeholder {
  color: #9ca3af;
}
.content-search-input:focus {
  border-color: var(--c-link);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.content-tool-button {
  height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--c-border);
  background: #fff;
  border-radius: 10px;
  padding: 0 0.9rem;
  font: inherit;
  font-size: 0.9rem;
  color: var(--c-text);
  cursor: pointer;
}
.content-tool-button:hover {
  background: var(--c-hover);
}
.content-tool-button.is-active {
  border-color: var(--c-link);
  color: var(--c-link);
}
.content-filter-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  box-sizing: border-box;
  border-radius: 999px;
  background: var(--c-link);
  color: #fff;
  font-size: 0.7rem;
  align-items: center;
  justify-content: center;
  display: inline-flex;
}
.content-filter-badge:empty {
  display: none;
}
.content-sort .dx-button {
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--c-border);
  background: #fff;
}
.content-sort .dx-button-content {
  padding: 0 0.85rem;
}
.content-sort .dx-button-text {
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: none;
  color: var(--c-text);
}
.content-view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 3px;
  background: #fff;
}
.content-view-button {
  width: 34px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: 7px;
  color: #6b7280;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.content-view-button:hover {
  background: var(--c-hover);
}
.content-view-button.is-active {
  background: var(--c-selected);
  color: var(--c-link);
}
.content-filter-panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.25rem;
}
.content-filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.content-filter-field-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-muted);
}
.content-filter-clear {
  align-self: flex-start;
  border: none;
  background: transparent;
  color: var(--c-link);
  font: inherit;
  font-size: 0.85rem;
  padding: 0.2rem 0;
  cursor: pointer;
}

/* ---- List view ---------------------------------------------------------- */
.card-view--list .card-tile {
  flex-direction: row;
  align-items: stretch;
  gap: 1rem;
}
.card-view--list .card-thumb-wrap {
  width: 200px;
  flex: 0 0 200px;
}
.card-view--list .card-thumb {
  height: 112px;
  aspect-ratio: auto;
}
.card-view--list .card-body {
  padding: 0.25rem 0.35rem 0.25rem 0;
}
.card-view--list .card-title-row {
  padding-right: 2.75rem;
}
.card-view--list .card-title {
  flex: 0 1 auto;
}
.card-view--list .card-kind-badge {
  margin-left: 0.25rem;
}
.card-view--list .card-actions {
  top: 18px;
  right: 18px;
}
.card-view--list .card-footer {
  margin-top: auto;
}

/* ---- what kind of thing you are looking at ------------------------------ */

/* Seven kinds of thing live in this catalogue and a card is a card. Each type has a colour and a
   mark of its own, and the page wears whichever one is on screen: in the header above the grid, on
   every card in it, and on the form that opens over it. The colour arrives as --asset-accent, set
   from the one table in catalog.js, so nothing here has to know which type it is painting. */

.content-heading {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.content-type-mark {
  display: none;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--asset-accent) 14%, transparent);
  color: var(--asset-accent);
  font-size: 15px;
  align-self: center;
}

[data-asset-type] .content-type-mark,
.content-header[data-asset-type] .content-type-mark {
  display: inline-flex;
}

/* A rule the width of the header, in the type's colour: the quietest possible way to say where you
   are that is still impossible to miss when you move between two grids of cards. */
.content-header[data-asset-type] {
  box-shadow: inset 0 -2px 0 -1px color-mix(in srgb, var(--asset-accent) 35%, transparent);
}

.content-header[data-asset-type] .content-title {
  color: color-mix(in srgb, var(--asset-accent) 72%, #111827);
}

/* On a card the accent is a stripe along the top of the picture rather than a border around
   everything: the card's own edges already separate it from its neighbours, and a second frame in a
   strong colour turns a page of them into a page of boxes. */
.card-view[data-asset-type] .card-thumb-wrap::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--asset-accent);
  border-radius: 10px 10px 0 0;
  pointer-events: none;
  z-index: 1;
}

.card-view[data-asset-type] .media-thumb-placeholder {
  color: var(--asset-accent);
}

.card-view[data-asset-type] .media-thumb-icon {
  color: var(--asset-accent);
  opacity: 0.85;
}

/* The tree keeps the selected branch in its own colour, so the row you came from and the grid you
   arrived at agree with one another. */
.drawer-shell[data-asset-type] .dx-treeview-node.dx-state-selected > .dx-treeview-item,
.drawer-shell[data-asset-type] .dx-treeview-item.dx-state-selected {
  background: color-mix(in srgb, var(--asset-accent) 12%, transparent);
  box-shadow: inset 2px 0 0 var(--asset-accent);
}

/* ---- the forms wear it too ---------------------------------------------- */

.mdl-asset-popup .dx-popup-title {
  border-top: 3px solid var(--asset-accent, transparent);
}

.mdl-asset-popup .dx-popup-title .dx-toolbar-label {
  color: color-mix(in srgb, var(--asset-accent) 72%, #111827);
}

.mdl-asset-popup--video { --asset-accent: #e11d48; }
.mdl-asset-popup--audio { --asset-accent: #16a34a; }
.mdl-asset-popup--image { --asset-accent: #0ea5e9; }
.mdl-asset-popup--data { --asset-accent: #d97706; }
.mdl-asset-popup--character { --asset-accent: #7c3aed; }
.mdl-asset-popup--object { --asset-accent: #0891b2; }
