/* Universal 80% visual scale pass: converted px-based desktop sizing to 0.8x values for broader browser consistency. */
:root {
  --bg-dark: #2b2b2b;
  --text-light: #f5f5f5;
  --cyan: #06b6d4;
  --search-bg: #d9d9d9;
  --muted: #a39a9a;
  --page-light: #ececec;
  --card-bg: #d8d8d8;
  --card-body-bg: #d9d9d9;
  --soft-shadow: 0 8px 14.4px rgba(0,0,0,0.18);
  --container: 1024px;
  --navbar-height: 56px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Playfair';
  color: #111;
  background: #fff;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.page-shell { width: 100%; }
.container {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding-inline: 32px;
}

@media (min-width: 1120px) {
  :root { --container: 1248px; }
  .container { padding-inline: 19.2px; }
}

site-navbar {
  display: block;
  height: var(--navbar-height);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-dark);
  min-height: var(--navbar-height);
  box-shadow: 0 1.6px 0 rgba(0,0,0,0.12);
}

.navbar__inner {
  min-height: var(--navbar-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22.4px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 2.4px;
  min-width: max-content;
}

.brand__logo {
  width: 73.6px;
  height: 73.6px;
  object-fit: contain;
  flex: 0 0 40px;
}

.brand__name {
  font-family: 'Yeseva One', serif;
  font-size: 25.6px;
  color: var(--text-light);
  line-height: 1;
  margin-top: 0.8px;
}

.search-wrap {
  justify-self: center;
  width: min(100%, 520px);
  position: relative;
}

.search-bar {
  width: 100%;
  height: 44.8px;
  background: var(--search-bg);
  border-radius: 799.2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12.8px 0 27.2px;
  gap: 12.8px;
  box-shadow: inset 0 0.8px 0 rgba(255,255,255,0.16);
}

.search-bar__input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: #5a5454;
  font-family: 'Work Sans', Arial, sans-serif;
  font-size: 14.4px;
  font-weight: 600;
  line-height: 1;
  padding: 0;
}

.search-bar__input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.search-dropdown,
.profile-menu {
  position: relative;
  flex: 0 0 auto;
}

.search-dropdown__toggle {
  min-width: 83.2px;
  height: 30.4px;
  padding: 0 14.4px;
  border: none;
  border-radius: 8px;
  background: #c8c8c8;
  box-shadow: 0 3.2px 6.4px rgba(0,0,0,0.18);
  color: #5a5454;
  font: 700 12.8px 'Playfair Display', serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .18s ease, filter .18s ease;
}

.search-dropdown__toggle:hover { filter: brightness(1.03); }
.search-dropdown__toggle:active { transform: translateY(0.8px); }

.search-dropdown__menu {
  position: absolute;
  top: calc(100% - 1.6px);
  right: 9.6px;
  width: 83.2px;
  background: #c8c8c8;
  border-radius: 0 0 6.4px 6.4px;
  box-shadow: 0 6.4px 14.4px rgba(0,0,0,0.18);
  padding: 3.2px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 1200;
}

.search-dropdown.open .search-dropdown__menu,
.profile-menu.open .profile-menu__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-dropdown__item {
  width: 100%;
  border: none;
  background: transparent;
  color: #5a5454;
  font: 700 12.8px 'Playfair Display', serif;
  text-align: left;
  padding: 8px 11.2px;
  display: block;
  transition: background .15s ease;
}

.search-dropdown__item:hover,
.search-dropdown__item.is-active {
  background: rgba(255,255,255,0.22);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 11.2px;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116.8px;
  height: 45.6px;
  border: none;
  border-radius: 14.4px;
  background: var(--cyan);
  color: #fff;
  text-decoration: none;
  font-family: 'Work Sans', sans-serif;
  font-size: 14.4px;
  font-weight: 700;
  box-shadow: 0 4.8px 9.6px rgba(0,0,0,0.22);
  transition: transform .2s ease, filter .2s ease;
}

.nav-btn:hover,
.cta:hover,
.footer-social__link:hover,
  .profile-menu__avatar:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.profile-menu__avatar {
  width: 43.2px;
  height: 43.2px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 4.8px 9.6px rgba(0,0,0,0.22);
  background: #ddd;
}

.profile-menu__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-menu__panel {
  position: absolute;
  top: calc(100% + 9.6px);
  right: 0;
  width: 288px;
  max-width: calc(100vw - 25.6px);
  background: #ececec;
  box-shadow: 0 11.2px 25.6px rgba(0,0,0,0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 1300;
  padding: 14.4px 0 11.2px;
}

.profile-menu__header {
  display: grid;
  grid-template-columns: 38.4px 1fr;
  gap: 11.2px;
  align-items: center;
  padding: 0 14.4px 6.4px;
}

.profile-menu__header img {
  width: 38.4px;
  height: 38.4px;
  border-radius: 50%;
}

.profile-menu__name {
  font: 400 17.6px 'Playfair';
}

.profile-menu__balance {
  margin-top: 3.2px;
  color: #515151;
  font: 700 11.2px/1.25 'Work Sans', sans-serif;
}

.profile-menu__divider {
  height: 0.8px;
  background: #d1d1d1;
  margin: 0 14.4px;
}

.profile-menu__list {
  list-style: none;
  margin: 0;
  padding: 6.4px 0;
}

.profile-menu__item a,
.profile-menu__item button {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  text-decoration: none;
  padding: 9.6px 14.4px 9.6px 59.2px;
  font: 400 14.4px 'Playfair';
  line-height: 1.35;
  color: #222;
  cursor: pointer;
}

.profile-menu__item a:hover,
.profile-menu__item button:hover {
  background: rgba(0,0,0,0.04);
}

.hero {
  background: linear-gradient(to bottom, #9678F8 0%, #475892 100%);
  padding: 72px 0 48px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: center;
  gap: 14.4px;
  min-height: 416px;
}

.hero__content { max-width: 496px; }
.hero__title {
  margin: 0 0 17.6px;
  font-family: 'Yeseva One', serif;
  font-size: clamp(2.07rem, 3.6vw, 3.78rem);
  line-height: 1.04;
  letter-spacing: 0.16px;
  color: #0b0b0b;
}
.hero__text {
  margin: 0 0 22.4px;
  color: rgba(16, 16, 16, 0.8);
  font-size: clamp(1rem, 1.3vw, 1.35rem);
  line-height: 1.72;
  max-width: 352px;
}
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12.8px;
  align-items: flex-start;
}
.cta {
  border: none;
  border-radius: 12.8px;
  padding: 14.4px 22.4px;
  background: var(--cyan);
  color: #fff;
  font-family: 'Work Sans', sans-serif;
  font-size: 14.4px;
  font-weight: 700;
  box-shadow: var(--soft-shadow);
  min-width: 268.8px;
  text-align: center;
  text-decoration: none;
}
.cta--secondary { background: #10ca53; min-width: 224px; }

.hero-card {
  background: var(--card-bg);
  border-radius: 22.4px;
  box-shadow: 0 14.4px 24px rgba(0, 0, 0, 0.18);
  padding: 0;
  max-width: 576px;
  justify-self: end;
  width: 100%;
  overflow: hidden;
  border: none;
}

.hero-card,
.card {
  display: block;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.hero-card:hover,
.card:hover { transform: translateY(-2px); filter: brightness(1.01); }
.hero-card__top,
.card__visual { display: grid; grid-template-columns: 1fr; gap: 0; }
.hero-card__main {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  height: 382.4px;
  background: #ddd;
}
.hero-card__main img,
.card__image img,
.model-spotlight__main-image img,
.model-example-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card__main.media-slot--empty,
.card__image.media-slot--empty,
.model-spotlight__main-image.media-slot--empty,
.model-example-card.media-slot--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #efefef;
}
.hero-card__main.media-slot--empty img,
.card__image.media-slot--empty img,
.model-spotlight__main-image.media-slot--empty img,
.model-example-card.media-slot--empty img {
  width: min(96px, 42%);
  height: auto;
  max-height: 96px;
  object-fit: contain;
}
.hero-card__bottom {
  display: block;
  padding: 9.6px 16px 12.8px;
  background: var(--card-body-bg);
}
.hero-card__meta h3,
.card__meta h3 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 0.98rem;
  line-height: 1.2;
}
.hero-card__model_name,
.card__model_name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-bottom: 6.4px;
}
.hero-card__avatar,
.card__avatar {
  width: 22.4px;
  height: 22.4px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 22.4px;
  background: #222;
}
.hero-card__avatar.profile-thumbnail--empty,
.card__avatar.profile-thumbnail--empty,
.model-summary-card__avatar.profile-thumbnail--empty {
  object-fit: contain;
  padding: 3.2px;
  background: #efefef;
  border: 1px solid #d8d8d8;
}
.hero-card__model_name-name,
.card__model_name-name {
  margin: 0 0 6.4px 30.4px;
  color: #6c6c6c;
  font-size: 0.76rem;
  line-height: 1.45;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-card__stats,
.card__stats {
  display: flex;
  align-items: center;
  gap: 14.4px;
  flex-wrap: wrap;
  margin-top: 0;
  margin-left: 30.4px;
  font-size: 0.72rem;
  color: #3d3d3d;
}
.hero-card__stats strong,
.card__stats strong {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-style: italic;
  color: #575757;
}
.like-button {
  min-height: 22.4px;
  padding: 0 9.6px;
  border: 1px solid #515151;
  border-radius: 799.2px;
  background: #d9d9d9;
  color: #515151;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6.4px;
  font: 400 0.72rem/1 'Work Sans', sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.like-button__icon {
  width: 12.8px;
  height: 12.8px;
  display: block;
  flex: 0 0 12.8px;
}
.like-button__icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.like-button__count {
  line-height: 1;
}
.like-button.is-liked {
  background: #515151;
  border-color: #515151;
  color: #ffffff;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46.4px;
  height: 19.2px;
  padding: 0 9.6px;
  border-radius: 799.2px;
  font-family: 'Work Sans', sans-serif;
  font-size: 10.4px;
  font-weight: 550;
  white-space: nowrap;
  color: white;
  background: #22bf58;
}
.pill--premium { background: #cb81ff; }
.pill--safe { background: #18b56d; }

.features {
  background: var(--page-light);
  padding: 27.2px 0 22.4px;
  border-top: 19.2px solid #efefef;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22.4px;
  text-align: center;
}
.feature { padding: 6.4px 9.6px; }
.feature__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12.8px;
  border-radius: 12.8px;
  background: #ddd8e9;
  display: grid;
  place-items: center;
  font-size: 22.4px;
  color: #7b5cd6;
  box-shadow: inset 0 0 0 0.8px rgba(0,0,0,0.04);
}
.feature__icon svg { width: 22.4px; height: 22.4px; display: block; }
.feature:nth-child(2) .feature__icon { background: #e3e3e3; color: #666; }
.feature:nth-child(3) .feature__icon { background: #eadff0; color: #b04bb4; }
.feature:nth-child(4) .feature__icon { background: #ebe1f1; color: #b0449c; }
.feature h4 { margin: 0 0 6.4px; font-size: 1.1rem; }
.feature p { margin: 0; color: #777; font-size: 0.90rem; line-height: 1.45; }

.mission { background: var(--page-light); padding: 6.4px 0 17.6px; }
.mission__ribbon {
  --ribbon-notch: 19.2px;
  position: relative;
  max-width: 608px;
  margin-left: auto;
  margin-right: 19.2px;
  background: #d8d8d8;
  color: #252525;
  padding: 11.2px 20.8px 11.2px 30.4px;
  font-family: 'Playfair Display';
  font-size: 0.80rem;
  box-shadow: 0 4.8px 8px rgba(0,0,0,0.08);
  clip-path: polygon(var(--ribbon-notch) 0, 100% 0, 100% 100%, var(--ribbon-notch) 100%, 0 50%);
}

.gallery,
.discovery-page {
  background: var(--page-light);
  padding: 48px 0 36.8px;
}
.gallery__grid,
.discovery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 27.2px;
}

.discovery-grid.is-loading,
.image-masonry.is-loading {
  pointer-events: none;
}

.discovery-skeleton-card {
  position: relative;
  overflow: hidden;
  border-radius: 17.6px;
  background: var(--card-bg);
  box-shadow: 0 11.2px 19.2px rgba(0, 0, 0, 0.11);
}

.discovery-skeleton-card::after,
.image-skeleton-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  animation: discovery-skeleton-shimmer 1.15s ease-in-out infinite;
}

.discovery-skeleton-card__visual {
  height: 280px;
  background: #d9d9d9;
}

.discovery-skeleton-card__body {
  padding: 12px 12px 13px;
  background: var(--card-body-bg);
}

.discovery-skeleton-card__title,
.discovery-skeleton-card__line,
.discovery-skeleton-card__meta span {
  display: block;
  border-radius: 999px;
  background: #cfcfcf;
}

.discovery-skeleton-card__title {
  width: 72%;
  height: 15px;
  margin-bottom: 8px;
}

.discovery-skeleton-card__line {
  width: 48%;
  height: 10px;
  margin-bottom: 12px;
}

.discovery-skeleton-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.discovery-skeleton-card__meta span {
  width: 54px;
  height: 12px;
}

.discovery-skeleton-card__meta span:last-child {
  width: 94px;
  height: 22px;
}

@keyframes discovery-skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}
.card {
  background: var(--card-bg);
  border-radius: 17.6px;
  overflow: hidden;
  box-shadow: 0 11.2px 19.2px rgba(0, 0, 0, 0.16);
  border: none;
}
.card__image {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  height: 280px;
  background: #ddd;
}
.card__body {
  padding: 9.6px 11.2px 12.8px;
  display: block;
  background: var(--card-body-bg);
}
.card__meta { min-width: 0; }
.card__meta h3 { font-size: 0.93rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__model_name-name { font-size: 0.74rem; }
.card__stats { gap: 9.6px; }

.page-hero {
  background: linear-gradient(to bottom, #9678F8 0%, #475892 100%);
  padding: 88px 0 27.2px;
}
.page-hero__content {
  color: #0b0b0b;
  max-width: 608px;
}
.page-hero__eyebrow {
  font: 700 0.95rem 'Work Sans', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 9.6px;
}
.page-hero__title {
  margin: 0 0 9.6px;
  font-family: 'Yeseva One', serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
}
.page-hero__text {
  margin: 0;
  max-width: 464px;
  font: 500 1.05rem/1.7 'Work Sans', sans-serif;
  color: rgba(16,16,16,.82);
}
.discovery-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14.4px;
  margin-bottom: 22.4px;
}
.discovery-toolbar__title {
  margin: 0;
  font-size: 2rem;
}
.discovery-toolbar__meta {
  font: 600 0.98rem 'Work Sans', sans-serif;
  color: #555;
}
.discovery-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14.4px;
  margin-bottom: 17.6px;
}
.image-browse-hub {
  margin-bottom: 25.6px;
  padding: 25.6px 28.8px;
  border-radius: 25.6px;
  background:
    linear-gradient(135deg, rgba(151, 120, 248, 0.14), rgba(71, 88, 146, 0.08)),
    #f8f8f8;
  box-shadow: 0 11.2px 24px rgba(0, 0, 0, 0.08);
}
.image-browse-hub__hero {
  display: grid;
  gap: 11.2px;
  margin-bottom: 20.8px;
}
.image-browse-hub__eyebrow {
  margin: 0;
  color: #5f5f5f;
  font: 700 11.2px/1.2 'Work Sans', sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.image-browse-hub__title {
  margin: 0;
  color: #1f1f1f;
  font: 400 clamp(1.7rem, 3vw, 2.35rem)/1.08 'Yeseva One', serif;
}
.image-browse-hub__text {
  margin: 0;
  max-width: 748.8px;
  color: #515151;
  font: 500 13.6px/1.7 'Work Sans', sans-serif;
}
.image-browse-group {
  display: grid;
  gap: 12.8px;
}
.image-browse-group__header {
  display: grid;
  gap: 4px;
}
.image-browse-group__header h2 {
  margin: 0;
  color: #232323;
  font: 400 23.2px/1.08 'Playfair Display', serif;
}
.image-browse-group__header p {
  margin: 0;
  color: #5b5b5b;
  font: 500 12.8px/1.6 'Work Sans', sans-serif;
}
.image-artist-collections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14.4px;
  align-items: stretch;
}
.image-artist-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14.4px;
  min-height: 168px;
  height: 100%;
  padding: 14.4px;
  border: 1px solid rgba(81, 81, 81, 0.1);
  border-radius: 17.6px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
  text-align: left;
  align-items: stretch;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.image-artist-card__thumb {
  display: block;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  border-radius: 14.4px;
  background: #e7e7e7;
}
.image-artist-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-artist-card__body {
  display: grid;
  grid-template-rows: auto auto auto auto;
  align-content: center;
  gap: 8px;
  min-width: 0;
}
.image-artist-card__name {
  color: #1f1f1f;
  font: 700 16px/1.2 'Playfair Display', serif;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.image-artist-card__meta {
  color: #5b5b5b;
  font: 700 10.8px/1.3 'Work Sans', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.image-artist-card__caption,
.image-artist-card__subtle {
  color: #5b5b5b;
  font: 500 11.2px/1.55 'Work Sans', sans-serif;
}
.image-artist-card__caption {
  display: -webkit-box;
  min-height: calc(11.2px * 1.55 * 2);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.image-artist-card.is-active {
  border-color: rgba(81, 81, 81, 0.34);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(232,232,232,0.96));
  box-shadow: 0 10.4px 22.4px rgba(0, 0, 0, 0.1);
}
.image-artist-card:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}
.image-artist-card:focus-visible {
  outline: 2px solid #515151;
  outline-offset: 2px;
}
.discovery-query {
  margin: 0 auto 0 0;
  color: #515151;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9.6px;
  color: #515151;
  font: 600 0.95rem/1.4 'Work Sans', sans-serif;
}
.discovery-query__action {
  border: 0;
  background: transparent;
  color: #515151;
  padding: 0;
  font: 700 11.2px/1.3 'Work Sans', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.discovery-query__action:hover,
.discovery-query__action:focus-visible {
  color: #2f2f2f;
}
.discovery-filter-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27.2px;
  height: 27.2px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, opacity .18s ease;
}
.discovery-filter-button.is-active {
  width: 44.8px;
  height: 44.8px;
  background: #515151;
}
.discovery-filter-button__icon {
  display: block;
  width: 19.2px;
  height: 19.2px;
  filter: brightness(0) saturate(100%) invert(31%) sepia(0%) saturate(0%) hue-rotate(184deg) brightness(98%) contrast(92%);
}
.discovery-filter-button.is-active .discovery-filter-button__icon {
  filter: brightness(0) saturate(100%) invert(100%);
}
.discovery-filter-button__count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 50%;
  background: #515151;
  color: #ffffff;
  font: 700 14px/1 'Work Sans', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4.8px 12.8px rgba(0,0,0,.18);
}
.discovery-filter-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}
.discovery-filter-button:focus-visible {
  outline: 2px solid #515151;
  outline-offset: 2px;
}
.discovery-filter-shell {
  position: relative;
  display: grid;
  justify-items: end;
  width: 100%;
}
.image-filter-open {
  overflow: hidden;
}
.image-filter-modal {
  position: fixed;
  inset: 0;
  z-index: 1450;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 19.2px;
}
.image-filter-modal[hidden] {
  display: none !important;
}
.image-filter-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(236, 236, 236, 0.72);
  backdrop-filter: blur(8px);
  padding: 0;
}
.image-filter-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 825px);
  padding: 14.4px 22.4px 24px;
  border: 7px solid #515151;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}
.image-filter-panel__header {
  display: flex;
  align-items: flex-start;
  gap: 12.8px;
}
.image-filter-panel__close {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 0;
  background: transparent;
  color: #515151;
  font: 400 28px/1 'Work Sans', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.image-filter-panel__selected {
  display: flex;
  align-items: flex-start;
  gap: 9.6px;
  flex-wrap: wrap;
  min-height: 36px;
  flex: 1 1 auto;
  min-width: 0;
}
.image-filter-panel__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 28px;
  padding: 0 11.2px;
  border-radius: 6.4px;
  background: #515151;
  color: #ffffff;
  font: 700 12px/1 'Work Sans', sans-serif;
}
.image-filter-panel__selected-tags,
.image-filter-panel__tags,
.image-filter-panel__status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 11.2px;
}
.image-filter-panel__selected-tags {
  flex: 1 1 0;
  min-width: 0;
}
.image-filter-panel__section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid rgba(81, 81, 81, 0.72);
}
.image-filter-panel__section--status {
  padding-top: 14.4px;
}
.image-filter-status-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.image-filter-status-option input {
  width: 14px;
  height: 14px;
  accent-color: #6c56a8;
}
.image-filter-panel__search {
  width: min(100%, 265px);
  height: 38.4px;
  padding: 0 16px;
  border: 0;
  outline: none;
  border-radius: 999px;
  background: #d9d9d9;
  color: #515151;
  font: 400 12px/1 'Work Sans', sans-serif;
  box-shadow: inset 0 1.6px 3.2px rgba(0,0,0,0.12);
}
.image-filter-panel__search::placeholder {
  color: #909090;
}
.image-filter-panel__tag-caption {
  margin-top: 12.8px;
  color: #6d6d6d;
  font: 700 11.2px/1.2 'Work Sans', sans-serif;
  letter-spacing: 0.24px;
  text-transform: uppercase;
}
.image-filter-panel__tags {
  margin-top: 14.4px;
}
.image-filter-chip {
  border: 0;
  border-radius: 6.4px;
  padding: 6.4px 11.2px;
  background: #d9d9d9;
  color: #555555;
  font: 600 12px/1.2 'Work Sans', sans-serif;
  box-shadow: 0 3.2px 6.4px rgba(0,0,0,0.12);
  cursor: pointer;
  white-space: nowrap;
}
.image-filter-chip--selected {
  background: #d9d9d9;
}
.image-filter-panel__empty {
  color: #767676;
  font: 400 12px/1.4 'Work Sans', sans-serif;
}
.model-filter-open {
  overflow: hidden;
}
.model-filter-modal {
  position: fixed;
  inset: 0;
  z-index: 1450;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 19.2px;
}
.model-filter-modal[hidden] {
  display: none !important;
}
.model-filter-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(236, 236, 236, 0.72);
  backdrop-filter: blur(8px);
  padding: 0;
}
.model-filter-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 832px);
  padding: 14.4px 22.4px 24px;
  border: 7px solid #515151;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}
.model-filter-panel__header {
  display: flex;
  align-items: flex-start;
  gap: 12.8px;
}
.model-filter-panel__selected {
  display: flex;
  align-items: flex-start;
  gap: 9.6px;
  flex-wrap: wrap;
  flex: 1 1 auto;
  min-height: 36px;
  min-width: 0;
}
.model-filter-panel__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 28px;
  padding: 0 11.2px;
  border-radius: 6.4px;
  background: #515151;
  color: #ffffff;
  font: 700 12px/1 'Work Sans', sans-serif;
}
.model-filter-panel__selected-tags,
.model-filter-panel__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 11.2px;
}
.model-filter-panel__close {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 0;
  background: transparent;
  color: #515151;
  font: 400 28px/1 'Work Sans', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.model-filter-panel__section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid rgba(81, 81, 81, 0.72);
}
.model-filter-panel__range-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22.4px;
  align-items: center;
}
.model-filter-panel__price-row {
  margin-top: 14.4px;
  display: flex;
  align-items: center;
  gap: 9.6px;
  color: #515151;
  font: 600 15px/1.2 'Work Sans', sans-serif;
}
.model-filter-panel__price-label {
  margin-right: 6.4px;
}
.model-filter-panel__price-input-wrap {
  min-width: 73.6px;
  height: 32px;
  border-radius: 6.4px;
  background: #d9d9d9;
  color: #515151;
  display: inline-flex;
  align-items: center;
  gap: 4.8px;
  padding: 0 9.6px;
}
.model-filter-panel__price-currency {
  font: 400 14px/1 'Work Sans', sans-serif;
}
.model-filter-panel__price-input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #515151;
  font: 400 14px/1 'Work Sans', sans-serif;
}
.model-filter-panel__price-input::-webkit-outer-spin-button,
.model-filter-panel__price-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.model-filter-panel__price-input[type='number'] {
  appearance: textfield;
  -moz-appearance: textfield;
}
.model-price-slider {
  --range-start: 0%;
  --range-end: 100%;
  position: relative;
  height: 44.8px;
}
.model-price-slider__track,
.model-price-slider__fill {
  position: absolute;
  top: 20px;
  height: 4px;
  border-radius: 999px;
}
.model-price-slider__track {
  left: 0;
  right: 0;
  background: #c8c0c0;
}
.model-price-slider__fill {
  left: var(--range-start);
  right: calc(100% - var(--range-end));
  background: #8e8484;
}
.model-price-slider__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 44.8px;
  margin: 0;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}
.model-price-slider__input::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
}
.model-price-slider__input::-moz-range-track {
  height: 4px;
  background: transparent;
}
.model-price-slider__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22.4px;
  height: 22.4px;
  border: 0;
  border-radius: 50%;
  background: #515151;
  pointer-events: auto;
  cursor: pointer;
  margin-top: -9px;
}
.model-price-slider__input::-moz-range-thumb {
  width: 22.4px;
  height: 22.4px;
  border: 0;
  border-radius: 50%;
  background: #515151;
  pointer-events: auto;
  cursor: pointer;
}
.model-price-slider__bubble {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  min-width: 22.4px;
  height: 22.4px;
  border-radius: 50%;
  background: #515151;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 700 11.2px/1 'Work Sans', sans-serif;
  padding: 0 4.8px;
}
.model-filter-quality-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.model-filter-quality-option input {
  width: 14px;
  height: 14px;
  accent-color: #6c56a8;
}
.model-filter-quality-option .pill {
  min-width: auto;
  height: 24px;
  padding: 0 11.2px;
  font-size: 14px;
}
.model-filter-panel__search {
  width: min(100%, 265px);
  height: 38.4px;
  padding: 0 16px;
  border: 0;
  outline: none;
  border-radius: 999px;
  background: #d9d9d9;
  color: #515151;
  font: 400 12px/1 'Work Sans', sans-serif;
  box-shadow: inset 0 1.6px 3.2px rgba(0,0,0,0.12);
}
.model-filter-panel__search::placeholder {
  color: #909090;
}
.model-filter-panel__tag-caption {
  margin-top: 12.8px;
  color: #6d6d6d;
  font: 700 11.2px/1.2 'Work Sans', sans-serif;
  letter-spacing: 0.24px;
  text-transform: uppercase;
}
.model-filter-panel__tags {
  margin-top: 14.4px;
}
.model-filter-chip {
  border: 0;
  border-radius: 6.4px;
  padding: 6.4px 11.2px;
  background: #d9d9d9;
  color: #555555;
  font: 600 12px/1.2 'Work Sans', sans-serif;
  box-shadow: 0 3.2px 6.4px rgba(0,0,0,0.12);
  cursor: pointer;
  white-space: nowrap;
}
.model-filter-chip--selected {
  background: #d9d9d9;
}

.model-page-main {
  background: #fff;
}

.model-page-load-error {
  min-height: 360px;
  display: grid;
  place-items: center;
  color: #2f2f2f;
  text-align: center;
}

.model-page-load-error p {
  max-width: 620px;
  margin: 0 auto;
  padding: 26px 32px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 36px rgba(30, 30, 30, 0.18);
  font-family: "Work Sans", sans-serif;
  font-weight: 700;
  line-height: 1.5;
}

.model-page-hero {
  background: linear-gradient(180deg, #9a7fff 0%, #6777bd 100%);
  padding: 84px 0 30.4px;
}

.model-page-hero__layout {
  --model-page-top-width: calc(520px + 38.4px + 540px);
  display: grid;
  grid-template-columns: minmax(0, var(--model-page-top-width));
  justify-content: center;
  gap: 24px;
}

.model-page-hero__top {
  display: grid;
  grid-template-areas:
    "spotlight details"
    "summary examples";
  grid-template-columns: 520px 540px;
  gap: 32px 38.4px;
  align-items: start;
  width: 100%;
}

.model-page-spotlight {
  display: contents;
}

.model-page-side {
  display: contents;
}

.model-page-spotlight__visual {
  grid-area: spotlight;
  display: flex;
  justify-content: center;
}

.model-spotlight__main-image {
  width: min(100%, 428px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6.4px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.22);
  background: rgba(255,255,255,0.18);
}

.model-summary-card {
  grid-area: summary;
  width: min(100%, 520px);
  justify-self: center;
  background: #dfdfdf;
  border-radius: 14.4px;
  box-shadow: inset 3px 3px 5px rgba(0,0,0,0.18);
  padding: 12.8px 17.6px 16px;
}

.model-summary-card__header {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 11.2px;
  align-items: center;
  margin-bottom: 8px;
}

.model-summary-card__avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  background: #222;
}

.model-summary-card__title {
  margin: 0;
  font: 700 17.6px/1.1 'Playfair Display', serif;
  color: #222;
}

.model-summary-card__creator {
  margin: 5.6px 0 0;
  font: 400 9.6px/1 'Work Sans', sans-serif;
  color: #727272;
}

.model-summary-card__description {
  margin: 0;
  color: #5f5f5f;
  font: 400 12px/1.55 'Work Sans', sans-serif;
  white-space: pre-line;
}

.model-detail-card {
  grid-area: details;
  align-self: center;
  background: #515151;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  padding: 9.6px 12px 12px;
}

.model-detail-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 11.2px;
  margin-bottom: 11.2px;
}

.model-detail-card__title {
  margin: 0;
  color: #fff;
  font: italic 700 18px/1 'Playfair Display', serif;
}

.model-detail-card__quality-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20.8px;
  padding: 0 8px;
  border-radius: 4.8px;
  background: #cb81ff;
  color: #fff;
  font: 600 9.6px/1 'Work Sans', sans-serif;
  white-space: nowrap;
}

.model-detail-card__quality-badge[hidden] {
  display: none;
}

.model-detail-card__table-wrap {
  background: #ececec;
  border-radius: 0 0 6.4px 6.4px;
  overflow: hidden;
}

.model-detail-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.model-detail-table th,
.model-detail-table td {
  border: 1px solid #7d7d7d;
  padding: 9.6px 12px;
  font: 600 11.2px/1.2 'Work Sans', sans-serif;
  color: #4d4d4d;
}

.model-detail-table th {
  width: 43%;
  background: #dfdfdf;
}

.model-detail-table td {
  background: #ececec;
}

.model-detail-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20.8px;
  padding: 0 8px;
  border-radius: 4.8px;
  background: #d5d5d5;
  box-shadow: inset 0 0.8px 0 rgba(255,255,255,0.5);
}

.model-detail-pill--copy {
  border: 0;
  color: #515151;
  cursor: pointer;
}

.model-detail-pill--copy.is-copied {
  background: #c8f0d8;
}

.model-example-gallery {
  grid-area: examples;
  align-self: center;
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  gap: 11.2px;
  align-items: center;
}

.model-example-gallery__viewport {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.model-example-card {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6.4px 14.4px rgba(0,0,0,0.2);
  background: rgba(255,255,255,0.18);
}

.model-example-gallery__nav {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(211, 189, 122, 0.78);
  color: #6b603d;
  font: 700 20px/1 'Work Sans', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.model-example-gallery__nav[disabled] {
  opacity: 0.45;
  cursor: default;
}

.model-tag-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  width: calc(100% - 12px);
  justify-self: start;
  gap: 9.6px;
  background: #f0f0f0;
  border-radius: 16px;
  box-shadow: 0 6.4px 14.4px rgba(0,0,0,0.18);
  padding: 8px 14.4px;
  overflow: hidden;
}

.model-tag-bar__label,
.model-tag-bar__chip,
.model-tag-bar__more {
  min-height: 25.6px;
  padding: 0 11.2px;
  border-radius: 6.4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 600 10.4px/1 'Work Sans', sans-serif;
}

.model-tag-bar__label {
  flex: 0 0 auto;
  background: #5f5f5f;
  color: #fff;
}

.model-tag-bar__chips {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 9.6px;
  min-height: 25.6px;
  overflow: hidden;
  white-space: nowrap;
}

.model-tag-bar__chip {
  flex: 0 0 auto;
  background: #d6d6d6;
  color: #4f4f4f;
  white-space: nowrap;
}

.model-tag-bar__more {
  flex: 0 0 auto;
  justify-self: end;
  border: 0;
  background: transparent;
  color: #7b7b7b;
  gap: 6.4px;
}

.model-tag-bar.is-expanded {
  align-items: flex-start;
}

.model-tag-bar.is-expanded .model-tag-bar__chips {
  flex-wrap: wrap;
  overflow: visible;
  white-space: normal;
}

.model-workspace {
  padding: 27.2px 0 46.4px;
  background: #fff;
}

.model-workspace__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(144px, 1fr) 432px minmax(144px, 1fr);
  gap: 48px;
  align-items: start;
}

.model-workspace__actions {
  grid-column: 1;
  justify-self: start;
  display: grid;
  gap: 14.4px;
  align-content: start;
  padding-top: 6.4px;
}

.model-workspace__chip,
.model-workspace__keep {
  min-height: 28.8px;
  width: max-content;
  padding: 0 12.8px;
  border: 0;
  border-radius: 6.4px;
  background: #c8c8c8;
  box-shadow: 0 4px 8px rgba(0,0,0,0.18);
  color: #515151;
  font: 400 12px/1 'Playfair Display', serif;
}

.model-workspace__keep.is-disabled {
  background: #515151;
  color: #fff;
  cursor: default;
}

.model-workspace__keep.is-kept {
  background: #c8c8c8;
  color: #515151;
}

.model-workspace__content {
  grid-column: 2;
  display: grid;
  justify-items: center;
  gap: 17.6px;
}

.model-workspace__meta {
  position: absolute;
  top: 0;
  right: 51.2px;
}

.model-workspace__price {
  min-width: 155.2px;
  height: 36.8px;
  padding: 0 22.4px;
  border-radius: 9.6px;
  font-size: 12px;
  font-weight: 700;
}

.model-workspace__favorite {
  position: absolute;
  top: 4px;
  right: 0;
  width: 28.8px;
  height: 28.8px;
  border: 0;
  background: transparent;
  color: #202020;
  padding: 0;
}

.model-workspace__favorite svg,
.model-workspace__download svg {
  width: 100%;
  height: 100%;
  display: block;
}

.model-workspace__favorite path {
  fill: none;
  stroke: currentColor;
}

.model-workspace__favorite.is-bookmarked {
  color: #ffb500;
}

.model-workspace__favorite.is-bookmarked path {
  fill: currentColor;
}

.model-workspace__preview-shell {
  position: relative;
  width: min(100%, 432px);
}

.model-workspace__preview {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 19.2px;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.model-workspace__preview img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  opacity: 0.75;
}

.model-workspace__preview.has-output img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
}

.model-workspace__download {
  position: absolute;
  right: -41.6px;
  bottom: 8px;
  width: 28.8px;
  height: 28.8px;
  border: 0;
  background: transparent;
  color: #202020;
  padding: 0;
  cursor: pointer;
}

.model-workspace__download:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.model-workspace__prompt-label {
  width: min(100%, 432px);
  color: #202020;
  font: 400 12px/1 'Playfair Display', serif;
}

.model-workspace__prompt {
  width: min(100%, 432px);
  min-height: 96px;
  border: 0;
  border-radius: 16px;
  background: #e0e0e0;
  resize: vertical;
  padding: 16px;
  font: 400 12px/1.5 'Work Sans', sans-serif;
  color: #4f4f4f;
}

.model-workspace__generate {
  min-width: 155.2px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: #11c95c;
  color: #fff;
  font: 700 17.6px/1 'Work Sans', sans-serif;
  box-shadow: 0 6.4px 12.8px rgba(0,0,0,0.2);
}

.model-workspace__generate:disabled {
  cursor: wait;
  opacity: 0.72;
}

.mvp-generation-status {
  justify-self: center;
  min-height: 22px;
  margin: 0;
  color: #515151;
  font: 700 13px 'Work Sans', sans-serif;
  text-align: center;
}

.mvp-generation-status a {
  color: #00bd5b;
  text-decoration: underline;
}

.app-modal {
  position: fixed;
  inset: 0;
  z-index: 1700;
  display: grid;
  place-items: center;
  padding: 24px;
}

.app-modal[hidden] {
  display: none !important;
}

.app-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(20, 20, 20, 0.34);
  backdrop-filter: blur(3px);
}

.app-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  border: 8px solid #515151;
  border-radius: 12px;
  background: #f7f7f7;
  padding: 28px 30px 24px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.app-modal__panel h2 {
  margin: 0 0 14px;
  color: #202020;
  font: 700 24px/1.2 'Playfair Display', serif;
}

.app-modal__panel p {
  margin: 0;
  color: #515151;
  font: 500 15px/1.65 'Work Sans', sans-serif;
}

.app-modal__field {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  color: #202020;
  font: 700 13px 'Work Sans', sans-serif;
}

.app-modal__field input {
  width: 100%;
  height: 42px;
  border: 1px solid #d0d0d0;
  border-radius: 9px;
  background: #fff;
  color: #202020;
  font: 600 15px 'Work Sans', sans-serif;
  padding: 0 12px;
  box-sizing: border-box;
}

.app-modal__field input:focus {
  outline: 2px solid rgba(16, 202, 83, 0.28);
  border-color: #10ca53;
}

.app-modal__hint {
  margin-top: 8px !important;
  color: #666 !important;
  font-size: 13px !important;
}

.app-modal__fee-summary {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  color: #515151;
  font: 600 13px/1.35 'Work Sans', sans-serif;
}

.app-modal__fee-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.app-modal__fee-summary strong {
  color: #202020;
  white-space: nowrap;
}

.app-modal__fee-total {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid #d6d6d6;
  font-size: 14px;
}

.app-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

.app-modal__confirm,
.app-modal__cancel {
  min-width: 98px;
  height: 34px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  font: 700 12px/1 'Work Sans', sans-serif;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

.app-modal__confirm {
  background: #10ca53;
}

.app-modal__cancel {
  background: #c8c8c8;
  color: #515151;
}

.app-modal__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  padding: 0 18px;
  box-sizing: border-box;
  white-space: nowrap;
  text-decoration: none;
}

.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1900;
  padding: 18px;
  pointer-events: none;
}

.cookie-consent[hidden],
.cookie-preferences[hidden] {
  display: none !important;
}

.cookie-preferences-open {
  overflow: hidden;
}

.cookie-consent__banner {
  width: min(100%, 1080px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  border: 6px solid #515151;
  border-radius: 18px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.96), rgba(238, 238, 238, 0.96)),
    #f7f7f7;
  padding: 22px 24px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
  pointer-events: auto;
}

.cookie-consent__copy {
  display: grid;
  gap: 6px;
}

.cookie-consent__eyebrow,
.cookie-preferences__eyebrow {
  margin: 0;
  color: #515151;
  font: 800 11px/1.2 'Work Sans', sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cookie-consent__copy h2,
.cookie-preferences__panel h2 {
  margin: 0;
  color: #202020;
  font: 700 20px/1.14 'Playfair Display', serif;
}

.cookie-consent__copy p:not(.cookie-consent__eyebrow),
.cookie-preferences__panel p {
  margin: 0;
  max-width: 720px;
  color: #515151;
  font: 500 13.5px/1.55 'Work Sans', sans-serif;
}

.cookie-consent__actions,
.cookie-preferences__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-consent__button {
  min-height: 38px;
  border: 0;
  border-radius: 9px;
  padding: 0 16px;
  color: #515151;
  font: 800 12px/1 'Work Sans', sans-serif;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
}

.cookie-consent__button--primary {
  background: #10ca53;
  color: #fff;
}

.cookie-consent__button--secondary {
  background: #d5d5d5;
}

.cookie-consent__button--ghost {
  background: #fff;
  border: 1px solid rgba(81, 81, 81, 0.22);
  box-shadow: none;
}

.cookie-preferences {
  position: fixed;
  inset: 0;
  z-index: 1950;
  display: grid;
  place-items: center;
  padding: 22px;
}

.cookie-preferences__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(20, 20, 20, 0.38);
  backdrop-filter: blur(4px);
}

.cookie-preferences__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  max-height: min(720px, calc(100vh - 44px));
  overflow: auto;
  border: 8px solid #515151;
  border-radius: 16px;
  background: #f7f7f7;
  padding: 28px;
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.26);
}

.cookie-preferences__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #d6d6d6;
  color: #515151;
  font: 800 22px/1 'Work Sans', sans-serif;
}

.cookie-preferences__list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.cookie-preferences__option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(81, 81, 81, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  padding: 14px 16px;
  color: #515151;
}

.cookie-preferences__option strong {
  display: block;
  margin-bottom: 5px;
  color: #202020;
  font: 800 14px/1.2 'Work Sans', sans-serif;
}

.cookie-preferences__option span {
  display: block;
  font: 500 13px/1.45 'Work Sans', sans-serif;
}

.cookie-preferences__option input {
  width: 22px;
  height: 22px;
  accent-color: #10ca53;
}

.cookie-preferences__always {
  border-radius: 999px;
  background: #e0e0e0;
  padding: 7px 10px;
  color: #515151;
  font: 800 11px/1 'Work Sans', sans-serif !important;
  white-space: nowrap;
}

.cookie-preferences__actions {
  margin-top: 22px;
}

.mvp-page {
  min-height: calc(100vh - var(--navbar-height));
  padding: clamp(64px, 8vw, 112px) 0;
  background: var(--page-light);
}

.mvp-auth {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.78fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: center;
}

.mvp-auth__intro {
  max-width: 530px;
}

.mvp-auth__eyebrow {
  margin: 0 0 12px;
  color: #515151;
  font: 700 13px/1.2 'Work Sans', sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mvp-auth__intro h1 {
  margin: 0 0 20px;
  color: #0b0b0b;
  font: 400 clamp(34px, 4.2vw, 62px)/1.02 'Yeseva One', serif;
  letter-spacing: 0.1px;
}

.mvp-auth__intro p:not(.mvp-auth__eyebrow) {
  margin: 0;
  max-width: 430px;
  color: #515151;
  font: 400 clamp(15px, 1.1vw, 18px)/1.7 'Playfair Display', serif;
}

.mvp-auth__card {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 3.2vw, 38px);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.55), rgba(217, 217, 217, 0.76)),
    #e1e1e1;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
}

.mvp-auth__card-header {
  margin-bottom: 4px;
}

.mvp-auth__card-header h2 {
  margin: 0 0 7px;
  color: #111;
  font: 400 28px/1.1 'Yeseva One', serif;
}

.mvp-auth__card-header p {
  margin: 0;
  color: #515151;
  font: 500 13px/1.5 'Work Sans', sans-serif;
}

.mvp-auth__card label {
  display: grid;
  gap: 7px;
  color: #202020;
  font: 700 13px/1.2 'Work Sans', sans-serif;
}

.mvp-auth__card input {
  width: 100%;
  border: 1px solid rgba(81, 81, 81, 0.18);
  border-radius: 10px;
  background: #f7f7f7;
  color: #515151;
  font: 500 14px/1.5 'Work Sans', sans-serif;
  padding: 12px 13px;
}

.mvp-auth__card input:focus {
  outline: 2px solid rgba(0, 184, 84, 0.26);
  outline-offset: 2px;
}

.mvp-auth__password-field {
  position: relative;
  display: block;
}

.mvp-auth__password-field input {
  padding-right: 48px;
}

.mvp-auth__password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 32px;
  height: 32px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #515151;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mvp-auth__password-toggle:hover,
.mvp-auth__password-toggle:focus-visible {
  background: rgba(81, 81, 81, 0.1);
  outline: none;
}

.mvp-auth__password-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mvp-auth__password-toggle circle {
  fill: currentColor;
  stroke: none;
}

.mvp-auth__password-slash {
  opacity: 0;
  transition: opacity 0.14s ease;
}

.mvp-auth__password-toggle.is-visible .mvp-auth__password-slash {
  opacity: 1;
}

.mvp-auth__card .cta {
  width: fit-content;
  min-width: 186px;
  margin-top: 4px;
}

.mvp-auth__switch,
.mvp-auth__status {
  margin: 0;
  font: 700 13px/1.45 'Work Sans', sans-serif;
}

.mvp-auth__switch {
  color: #515151;
}

.mvp-auth__helper {
  margin: -5px 0 0;
  font: 700 12.5px/1.45 'Work Sans', sans-serif;
  text-align: right;
}

.mvp-auth__switch a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mvp-auth__helper a {
  color: #515151;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mvp-auth__status {
  min-height: 20px;
  color: #00a950;
}

@media (max-width: 1180px) {
  .model-workspace__layout {
    grid-template-columns: max-content minmax(320px, 432px) 28.8px;
    grid-template-areas:
      "actions meta favorite"
      "actions content content";
    justify-content: center;
    gap: 22.4px 24px;
  }
  .model-workspace__actions {
    grid-area: actions;
    grid-column: auto;
    align-self: start;
  }
  .model-workspace__meta {
    grid-area: meta;
    position: static;
    justify-self: stretch;
    align-self: center;
  }
  .model-workspace__content {
    grid-area: content;
    grid-column: auto;
    width: min(100%, 432px);
  }
  .model-workspace__favorite {
    position: static;
    grid-area: favorite;
    justify-self: start;
    align-self: center;
  }
}

@media (max-width: 860px) {
  .mvp-auth {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mvp-auth__intro,
  .mvp-auth__intro p:not(.mvp-auth__eyebrow) {
    max-width: none;
  }
}

.footer {
  background: #2b2b2b;
  color: #f2f2f2;
  padding: 30.4px 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: max-content max-content max-content;
  justify-content: space-between;
  gap: 48px;
  align-items: start;
}
.footer__grid--mvp {
  grid-template-columns: max-content max-content;
}
.footer__links {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 11.2px;
}
.footer__links a,
.footer__cookie-settings {
  color: #efefef;
  font-size: 0.96rem;
  line-height: 1.35;
}
.footer__cookie-settings {
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}
.footer__cookie-settings:hover,
.footer__cookie-settings:focus-visible {
  text-decoration: underline;
}
.footer__social {
  display: grid;
  align-content: start;
  justify-items: end;
  text-align: right;
}
.footer__social label {
  display: block;
  margin-bottom: 9.6px;
  font-size: 0.95rem;
  line-height: 1.35;
}
.footer-social { display: flex; gap: 9.6px; justify-content: flex-end; }
.footer-social__link {
  width: 20px;
  height: 20px;
  color: #f2f2f2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, opacity .2s ease;
}
.footer-social__link svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.footer-social__link svg rect,
.footer-social__link svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.cookie-consent__copy a,
.cookie-preferences__panel a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}
.mvp-auth__legal-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  font-size: 0.88rem;
  line-height: 1.45;
}
.mvp-auth__legal-consent input {
  margin-top: 3px;
}
.mvp-auth__legal-consent a {
  color: #1e5d76;
  font-weight: 700;
  text-decoration: underline;
}
.legal-page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 72px;
}
.legal-document__eyebrow {
  margin: 0 0 12px;
  color: #5d6470;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.legal-jump-nav {
  position: sticky;
  top: calc(var(--navbar-height) + 12px);
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
  padding: 14px;
  border: 8px solid #525252;
  border-radius: 18px;
  background: rgba(244, 244, 244, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
}
.legal-jump-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #34363a;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}
.legal-jump-nav a:hover,
.legal-jump-nav a:focus-visible {
  background: #10c967;
  color: #ffffff;
}
.legal-document {
  scroll-margin-top: calc(var(--navbar-height) + 96px);
  margin-top: 24px;
  padding: 36px;
  border: 1px solid rgba(82, 82, 82, 0.18);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.07);
}
.legal-document header {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(82, 82, 82, 0.18);
  margin-bottom: 24px;
}
.legal-document h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}
.legal-document h3 {
  margin: 28px 0 10px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.25;
}
.legal-document p {
  margin: 0 0 14px;
  color: #3f4550;
  font-size: 0.98rem;
  line-height: 1.7;
}
.sr-only {
  position: absolute;
  width: 0.8px;
  height: 0.8px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 920px) {
  :root { --navbar-height: 107.2px; }
  .container { padding-inline: 19.2px; }
  .navbar__inner {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 12.8px 22.4px;
    align-content: center;
    padding-block: 9.6px 12.8px;
  }
  .search-wrap { justify-self: center; order: 3; grid-column: 1 / -1; width: min(100%, 520px); margin-top: 3.2px; }
  .nav-actions { justify-self: end; }
  .hero { padding-top: 41.6px; }
  .hero__grid { gap: 22.4px; }
  .gallery__grid,
  .discovery-grid { gap: 17.6px; }
  .model-page-hero__top {
    grid-template-areas:
      "spotlight"
      "details"
      "summary"
      "examples";
    grid-template-columns: 1fr;
    gap: 25.6px;
    justify-items: center;
  }
  .model-page-hero__layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .model-page-spotlight__visual,
  .model-summary-card,
  .model-detail-card,
  .model-example-gallery {
    width: min(100%, 540px);
  }
  .model-detail-card__header {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .model-detail-card__table-wrap {
    overflow-x: auto;
  }
  .model-detail-table {
    min-width: 440px;
  }
  .model-tag-bar {
    width: 100%;
    justify-self: stretch;
  }
  .model-workspace__layout {
    grid-template-columns: minmax(0, 432px) 28.8px;
    grid-template-areas:
      "meta favorite"
      "actions actions"
      "content content";
    justify-content: center;
    justify-items: stretch;
    gap: 25.6px;
  }
  .model-workspace__meta {
    grid-area: meta;
    width: 100%;
    position: static;
    justify-self: stretch;
    align-self: center;
  }
  .model-workspace__actions {
    grid-area: actions;
    grid-column: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 14.4px 12.8px;
    justify-content: flex-start;
    justify-self: stretch;
    width: 100%;
    padding-top: 0;
  }
  .model-workspace__content {
    grid-area: content;
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }
  .model-workspace__favorite {
    position: static;
    grid-area: favorite;
    justify-self: start;
    align-self: center;
  }
  .model-workspace__download {
    right: -35.2px;
  }
}

@media (max-width: 784px) {
  .hero__grid,
  .gallery__grid,
  .features__grid,
  .footer__grid,
  .discovery-grid { grid-template-columns: 1fr 1fr; }
  .image-masonry { column-count: 2; column-gap: 17.6px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero-card { justify-self: stretch; max-width: none; }
  .hero { padding-top: 76.8px; }
  .mission__ribbon { margin: 0 0 0 19.2px; max-width: calc(100% - 19.2px); }
  .mission__ribbon { --ribbon-notch: 16px; }
  .footer__social { text-align: left; }
  .footer-social { justify-content: flex-start; }
  .discovery-toolbar { flex-direction: column; align-items: flex-start; }
  .discovery-header { margin-bottom: 14.4px; }
  .image-browse-hub {
    padding: 22.4px 20.8px;
    border-radius: 20.8px;
  }
  .image-artist-collections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .image-filter-modal {
    padding: 19.2px;
  }
  .image-filter-panel {
    padding: 12.8px 16px 19.2px;
  }
  .image-filter-panel__selected-tags,
  .image-filter-panel__tags,
  .image-filter-panel__status-list {
    gap: 9.6px;
  }
  .model-filter-modal {
    padding: 19.2px;
  }
  .model-filter-panel {
    padding: 12.8px 16px 19.2px;
  }
  .model-filter-panel__selected-tags,
  .model-filter-panel__tags {
    gap: 9.6px;
  }
  .model-filter-panel__range-row {
    grid-template-columns: 1fr;
    gap: 14.4px;
  }
  .model-page-hero {
    padding-top: 112px;
  }
  .model-example-gallery__viewport {
    grid-template-columns: 1fr;
  }
  .model-tag-bar {
    border-radius: 14.4px;
  }
  .mvp-page {
    padding: 40px 0;
  }
  .cookie-consent__banner {
    grid-template-columns: 1fr;
  }
  .cookie-consent__actions,
  .cookie-preferences__actions {
    justify-content: stretch;
  }
  .cookie-consent__button {
    flex: 1 1 150px;
  }
  .legal-page {
    width: min(100% - 28px, 1120px);
    padding-top: 28px;
  }
  .legal-document {
    padding: 24px;
  }
  .legal-jump-nav {
    position: static;
    border-width: 6px;
  }
}

@media (max-width: 544px) {
  :root { --navbar-height: 147.2px; }
  .container { padding-inline: 12.8px; }
  .navbar__inner { gap: 11.2px; padding-block: 9.6px 14.4px; }
  .brand__logo { width: 33.6px; height: 33.6px; flex-basis: 33.6px; }
  .brand__name { font-size: 20.8px; }
  .search-wrap { width: min(100%, 368px); margin-top: 6.4px; }
  .nav-actions { width: 100%; justify-content: stretch; grid-column: 1 / -1; }
  .nav-btn { width: 100%; min-width: 0; height: 44.8px; font-size: 16px; }
  .search-bar { height: 43.2px; padding-left: 16px; padding-right: 9.6px; }
  .search-bar__input { font-size: 12.8px; }
  .search-dropdown__toggle { min-width: 76.8px; height: 28.8px; font-size: 12px; padding: 0 9.6px; }
  .search-dropdown__menu { width: 76.8px; right: 6.4px; }
  .hero { padding-top: 51.2px; }
  .hero__grid { min-height: auto; }
  .hero-card__top,
  .card__visual,
  .features__grid,
  .gallery__grid,
  .footer__grid,
  .discovery-grid { grid-template-columns: 1fr; }
  .image-masonry { column-count: 1; column-gap: 0; }
  .image-tile { margin-bottom: 17.6px; }
  .hero-card__main { height: 200px; }
  .feature { padding-inline: 3.2px; }
  .mission__ribbon {
    margin-left: 12.8px;
    max-width: calc(100% - 12.8px);
    font-size: 0.86rem;
    padding: 11.2px 12.8px 11.2px 22.4px;
  }
  .mission__ribbon { --ribbon-notch: 12.8px; }
  .footer { padding: 24px 0; }
  .cookie-consent {
    padding: 10px;
  }
  .cookie-consent__banner,
  .cookie-preferences__panel {
    border-width: 5px;
    border-radius: 14px;
    padding: 18px;
  }
  .cookie-preferences__option {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .cookie-preferences__always,
  .cookie-preferences__option input {
    justify-self: start;
  }
  .page-hero { padding-top: 163.2px; }
  .profile-menu__panel {
    position: fixed;
    top: calc(var(--navbar-height) + 8px);
    right: 12.8px;
    left: 12.8px;
    width: auto;
    max-width: none;
    max-height: calc(100dvh - var(--navbar-height) - 24px);
    overflow-y: auto;
  }
  .discovery-filter-button {
    width: 25.6px;
    height: 25.6px;
  }
  .discovery-filter-button.is-active {
    width: 41.6px;
    height: 41.6px;
  }
  .discovery-filter-button__icon {
    width: 17.6px;
    height: 17.6px;
  }
  .discovery-filter-button__count {
    top: -6px;
    right: -6px;
    min-width: 22.4px;
    height: 22.4px;
    font-size: 12px;
  }
  .image-browse-hub {
    padding: 19.2px 16px;
    border-radius: 17.6px;
  }
  .image-browse-hub__title {
    font-size: 1.9rem;
  }
  .image-artist-collections {
    grid-template-columns: 1fr;
  }
  .image-artist-card {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 12.8px;
  }
  .image-filter-modal {
    align-items: flex-start;
    padding: calc(var(--navbar-height) + 12.8px) 12.8px 19.2px;
  }
  .image-filter-panel {
    width: 100%;
    padding: 11.2px 12.8px 16px;
  }
  .image-filter-panel__close {
    width: 28.8px;
    height: 28.8px;
    flex-basis: 28.8px;
    font-size: 25.6px;
  }
  .image-filter-panel__selected {
    gap: 8px;
  }
  .image-filter-panel__search {
    width: 100%;
  }
  .image-filter-chip {
    padding: 6.4px 9.6px;
    font-size: 11.2px;
  }
  .model-filter-modal {
    align-items: flex-start;
    padding: calc(var(--navbar-height) + 12.8px) 12.8px 19.2px;
  }
  .model-filter-panel {
    width: 100%;
    padding: 11.2px 12.8px 16px;
  }
  .model-filter-panel__close {
    width: 28.8px;
    height: 28.8px;
    flex-basis: 28.8px;
    font-size: 25.6px;
  }
  .model-filter-panel__selected {
    gap: 8px;
  }
  .model-filter-panel__search {
    width: 100%;
  }
  .model-filter-chip {
    padding: 6.4px 9.6px;
    font-size: 11.2px;
  }
  .model-filter-quality-option .pill {
    font-size: 12px;
  }
  .model-page-hero {
    padding-top: 155.2px;
  }
  .model-page-hero__top,
  .model-page-hero__layout,
  .model-page-spotlight,
  .model-page-side,
  .model-workspace__content {
    gap: 19.2px;
  }
  .model-detail-card {
    padding: 9.6px 9.6px 10.4px;
  }
  .model-detail-card__header {
    margin-bottom: 9.6px;
  }
  .model-detail-card__title {
    font-size: 16px;
  }
  .model-detail-card__quality-badge {
    font-size: 8.8px;
  }
  .model-detail-table {
    min-width: 0;
    table-layout: fixed;
  }
  .model-detail-table th,
  .model-detail-table td {
    padding: 8px 7.2px;
    font-size: 10.4px;
    overflow-wrap: anywhere;
  }
  .model-example-gallery {
    grid-template-columns: 28.8px minmax(0, 1fr) 28.8px;
    gap: 8px;
  }
  .model-example-gallery__nav {
    width: 28.8px;
    height: 28.8px;
    font-size: 17.6px;
  }
  .model-tag-bar {
    gap: 8px;
    padding: 8px 11.2px;
  }
  .model-workspace__layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "meta"
      "favorite"
      "actions"
      "content";
    justify-items: center;
  }
  .model-workspace__meta {
    width: min(100%, 432px);
    justify-self: center;
  }
  .model-workspace__actions {
    display: grid;
    grid-auto-flow: row;
    justify-content: start;
    justify-self: center;
    width: min(100%, 432px);
  }
  .model-workspace__price {
    min-width: 0;
    padding-inline: 16px;
  }
  .model-workspace__favorite {
    justify-self: end;
    margin-right: 12.8px;
  }
  .model-workspace__preview-shell,
  .model-workspace__prompt,
  .model-workspace__prompt-label {
    width: min(100%, 432px);
  }
  .model-workspace__download {
    right: 0;
    bottom: -33.6px;
  }
}

.gallery__stack {
  display: grid;
  gap: 19.2px;
}

.infinite-sentinel {
  width: 100%;
  height: 19.2px;
}

.image-masonry {
  column-count: 3;
  column-gap: 27.2px;
}

.image-tile {
  position: relative;
  display: block;
  width: 100%;
  break-inside: avoid;
  margin-bottom: 27.2px;
  border: 0;
  border-radius: 0;
  overflow: visible;
  padding: 0;
  background: transparent;
  box-shadow: none;
  transition: filter .24s ease, opacity .24s ease, transform .24s ease;
}

.image-tile img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  object-fit: contain;
  box-shadow: 0 11.2px 19.2px rgba(0, 0, 0, 0.12);
}

.image-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 19.2px;
  padding: 2.4px 8px;
  border-radius: 6.4px;
  font: 400 9.6px 'Playfair Display', serif;
  line-height: 1;
  color: #fff;
  box-shadow: 0 4.8px 12.8px rgba(0,0,0,.18);
}

.image-tile .image-status {
  position: absolute;
  right: 6.4px;
  bottom: 6.4px;
}

.image-status--free {
  background: #8a8a8a;
}

.image-status--standard {
  background: #00BD5B;
  color: #fff;
}

.image-status--permission {
  background: #c82626;
}

.image-overlay-open {
  overflow: hidden;
}

.image-overlay {
  position: fixed;
  inset: 0;
  z-index: 1500;
}

.image-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(236, 236, 236, 0.72);
  backdrop-filter: blur(8px);
}

.image-overlay__dialog {
  position: relative;
  z-index: 1;
  width: min(1184px, calc(100vw - 38.4px));
  max-height: calc(100vh - 38.4px);
  margin: 19.2px auto;
  padding: 0;
}

.image-overlay__layout {
  --overlay-side-width: 320px;
  display: grid;
  grid-template-columns: var(--overlay-side-width) minmax(0, auto) 19.2px var(--overlay-side-width);
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 38.4px);
}

.image-overlay__visual {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 38.4px);
}

.image-overlay__visual img {
  width: auto;
  max-width: min(100%, calc(100vw - 2 * var(--overlay-side-width) - 76.8px));
  max-height: calc(100vh - 44.8px);
  height: auto;
  display: block;
  border-radius: 0;
  box-shadow: 0 14.4px 32px rgba(0,0,0,.18);
  object-fit: contain;
}

.image-overlay__side {
  grid-column: 4;
  position: static;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12.8px;
  padding-top: 0;
  z-index: 2;
}

.image-overlay__actions {
  display: grid;
  gap: 11.2px;
  align-content: center;
}

.overlay-action {
  width: fit-content;
  min-width: 123.2px;
  border: none;
  border-radius: 6.4px;
  padding: 7.2px 12.8px;
  font: 400 12px 'Playfair Display', serif;
  line-height: 1;
  box-shadow: 0 4.8px 12.8px rgba(0,0,0,.18);
}

.overlay-action--keep,
.overlay-action--kept {
  background: #00d26a;
  color: #0b0b0b;
}

.overlay-action--request {
  background: #e3b44d;
  color: #5b4a19;
}

.overlay-action--detail {
  background: #d9d9d9;
  color: #555;
}

.image-overlay__side .image-status {
  width: fit-content;
  font-size: 11.2px;
  padding: 7.2px 11.2px;
  border-radius: 6.4px;
}

.attention-note {
  margin-top: 12.8px;
  background: rgba(217,217,217,.92);
  padding: 11.2px 14.4px 12.8px;
  border-radius: 6.4px;
  box-shadow: 0 6.4px 14.4px rgba(0,0,0,.14);
  width: 100%;
  max-width: 384px;
}

.image-overlay__side > * {
  pointer-events: auto;
}

.attention-note__title {
  display: flex;
  align-items: center;
  gap: 6.4px;
  color: #c82626;
  font: 700 13.6px 'Playfair Display', serif;
  margin-bottom: 6.4px;
}

.attention-note__icon {
  width: 14.4px;
  height: 14.4px;
  border: 1.6px solid currentColor;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 700 9.6px/1 'Work Sans', sans-serif;
}

.attention-note p {
  margin: 0;
  color: #616161;
  font: 400 9.6px/1.42 'Playfair Display', serif;
}

.image-detail-panel {
  width: min(100%, 352px);
  max-height: min(52vh, 520px);
  overflow-y: auto;
  margin-top: 4px;
  padding: 14px 15px 15px;
  border-radius: 8px;
  background: rgba(247, 247, 247, 0.96);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  color: #515151;
}

.image-detail-panel h3 {
  margin: 0 0 10px;
  color: #202020;
  font: 700 17px/1.2 'Playfair Display', serif;
}

.image-detail-panel__list {
  display: grid;
  gap: 7px;
  margin: 0;
}

.image-detail-panel__row {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(81, 81, 81, 0.18);
}

.image-detail-panel__row dt {
  margin: 0;
  color: #515151;
  font: 700 11px/1.35 'Work Sans', sans-serif;
}

.image-detail-panel__row dd {
  margin: 0;
  color: #515151;
  font: 500 11px/1.35 'Work Sans', sans-serif;
}
.image-detail-panel__link {
  border: 0;
  background: transparent;
  color: #515151;
  padding: 0;
  text-align: left;
  font: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(81, 81, 81, 0.4);
  text-underline-offset: 2px;
}
.image-detail-panel__link:hover,
.image-detail-panel__tag--interactive:hover,
.image-detail-panel__more:hover {
  color: #2f2f2f;
}

.image-detail-panel__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.image-detail-panel__tags--extra {
  margin-top: 6px;
}

.image-detail-panel__tags[hidden] {
  display: none;
}

.image-detail-panel__tags-title {
  margin-top: 11px;
  color: #515151;
  font: 700 11px/1.35 'Work Sans', sans-serif;
}

.image-detail-panel__tag,
.image-detail-panel__empty {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 3px 8px;
  border-radius: 5px;
  background: #d9d9d9;
  color: #515151;
  font: 700 10px/1 'Work Sans', sans-serif;
}
.image-detail-panel__tag--interactive {
  border: 0;
  cursor: pointer;
}

.image-detail-panel__more {
  border: 0;
  background: transparent;
  color: #515151;
  margin-top: 7px;
  padding: 0;
  font: 700 10px/1 'Work Sans', sans-serif;
  text-decoration: underline;
}

.image-overlay--workspace .image-overlay__layout {
  grid-template-columns: minmax(0, 1fr);
}

.image-overlay--workspace .image-overlay__visual {
  grid-column: 1;
}

.image-overlay--workspace .image-overlay__visual img {
  max-width: min(100%, calc(100vw - 76.8px));
}

.uploaded-image-overlay__side {
  grid-column: 1;
  justify-self: center;
  margin-top: 12px;
}

@media (max-width: 880px) {
  .image-overlay__dialog {
    width: min(100vw - 25.6px, 768px);
    max-height: calc(100vh - 25.6px);
    margin: 12.8px auto;
  }

  .image-overlay__layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 14.4px;
    min-height: auto;
  }

  .image-overlay__visual {
    justify-content: center;
    min-height: auto;
    max-height: calc(100vh - 224px);
  }

  .image-overlay__visual img {
    max-width: 100%;
    max-height: calc(100vh - 224px);
  }

  .image-overlay__side {
    width: 100%;
    max-width: 416px;
    position: static;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12.8px;
    padding-top: 0;
    transform: none !important;
  }
}

@media (max-width: 544px) {
  .image-overlay__dialog {
    width: min(100vw - 19.2px, 768px);
    max-height: calc(100vh - 19.2px);
    margin: 9.6px auto;
  }

  .image-overlay__visual,
  .image-overlay__visual img {
    max-height: calc(100vh - 240px);
  }
}

@media (max-width: 784px) {
  .image-masonry { column-count: 2; column-gap: 17.6px; }
}

@media (max-width: 544px) {
  .image-masonry { column-count: 1; column-gap: 0; }
  .image-tile { margin-bottom: 17.6px; }
}

.feedback-input {
  display: flex;
  align-items: center;
  background: var(--page-light);
  padding: 24px 0;
  min-height: calc(100vh - 192px);
}

.feedback-input .container {
  width: 100%;
}

.feedback-card {
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
}

.feedback-title,
.feedback-thankyou-title {
  margin: 0 0 24px;
  color: #252525;
  font-family: 'Playfair';
  font-weight: 700;
  line-height: 1.35;
}

.feedback-title {
  font-size: clamp(1.12rem, 1.72vw, 1.5rem);
}

.feedback-thankyou-title {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  text-align: center;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feedback-textarea {
  width: 100%;
  min-height: 210px;
  resize: vertical;
  border: none;
  outline: none;
  border-radius: 20px;
  background: #d9d9d9;
  padding: 20px;
  color: #515151;
  font-family: 'Playfair';
  font-size: 16px;
  line-height: 1.6;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
}

.feedback-textarea::placeholder {
  color: #8c8c8c;
}

.feedback-submit {
  align-self: flex-end;
  min-width: 144px;
  height: 50px;
  border: none;
  border-radius: 12.8px;
  background: #10ca53;
  color: #fff;
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  box-shadow: var(--soft-shadow);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.feedback-submit:hover {
  filter: brightness(1.04);
}

.feedback-submit:active {
  transform: translateY(1px);
}

.feedback-state--thankyou:not([hidden]) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--navbar-height) - 220px);
  text-align: center;
}

.feedback-thankyou-text {
  margin: 0;
  max-width: 640px;
  color: #4d4d4d;
  font-family: 'Playfair';
  font-size: 17px;
  line-height: 1.7;
  text-align: center;
}

.about-page {
  background: var(--page-light);
}

.about-hero {
  padding: 72px 0 96px;
  background: linear-gradient(180deg, #9a7fff 0%, #5f6eb0 100%);
}

.about-hero__content {
  min-height: 248px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about-hero__title {
  margin: 0;
  color: #111111;
  font: 700 clamp(2rem, 4vw, 3rem)/1.15 'Playfair Display', serif;
}

.about-sections {
  padding: 0 0 72px;
  background: #ffffff;
}

.about-flow {
  display: grid;
  gap: 0;
}

.about-section {
  max-width: 1072px;
  margin: 0 auto;
  padding: 28.8px 51.2px;
  border-top: 1px solid #d7d7d7;
}

.about-section h2 {
  margin: 0 0 17.6px;
  color: #2a2a2a;
  text-align: center;
  font: 700 24px/1.2 'Playfair Display', serif;
}

.about-section p {
  margin: 0;
  color: #515151;
  text-align: center;
  font: 400 16px/1.8 'Playfair Display', serif;
}

.about-section p + p,
.about-list + p {
  margin-top: 12.8px;
}

.about-section__intro {
  margin-bottom: 11.2px;
}

.about-list {
  margin: 0 auto 12.8px;
  max-width: 576px;
  padding-left: 20px;
  color: #515151;
  font: 400 16px/1.8 'Playfair Display', serif;
}

.about-list li + li {
  margin-top: 6.4px;
}

.about-section--mission p {
  white-space: nowrap;
  font-size: 14px;
}

.about-section--mission {
  max-width: 1232px;
}

.contact-page {
  background: #ffffff;
}

.contact-section {
  padding: 88px 0 104px;
  overflow: hidden;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 444.8px);
  gap: 83.2px;
  align-items: center;
}

.contact-intro {
  position: relative;
  max-width: 518.4px;
  padding-top: 25.6px;
}

.contact-intro__dots {
  position: absolute;
  top: -22.4px;
  left: 19.2px;
  width: 224px;
  height: 224px;
  opacity: .5;
  background-image: radial-gradient(circle, rgba(194, 153, 255, 0.22) 0 7px, transparent 8px);
  background-size: 38px 38px;
  pointer-events: none;
}

.contact-intro__title {
  position: relative;
  z-index: 1;
  margin: 0 0 32px;
  color: #202020;
  font: 700 clamp(2.8rem, 5vw, 4rem)/1.05 'Playfair Display', serif;
}

.contact-intro__text {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 486.4px;
  color: #515151;
  font: 400 18px/1.75 'Work Sans', sans-serif;
}

.contact-intro__text a {
  color: #7f5ef2;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-card {
  position: relative;
}

.contact-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 19.2px;
  padding: 25.6px;
  background: #ffffff;
  border-radius: 0;
  box-shadow: 0 19.2px 48px rgba(0, 0, 0, 0.12);
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9.6px;
}

.contact-field {
  display: grid;
  gap: 8px;
}

.contact-field__label {
  color: #111111;
  font: 500 15px/1.35 'Work Sans', sans-serif;
}

.contact-field__input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #dddaf5;
  border-radius: 4.8px;
  background: #efefef;
  padding: 0 14.4px;
  color: #515151;
  font: 400 15px/1.35 'Work Sans', sans-serif;
}

.contact-field__input:focus {
  outline: none;
  border-color: #8a73ef;
  box-shadow: 0 0 0 3px rgba(138, 115, 239, 0.12);
}

.contact-field__input--textarea {
  min-height: 102.4px;
  height: 102.4px;
  padding-top: 12.8px;
  padding-bottom: 12.8px;
  resize: none;
  overflow: auto;
}

.contact-submit {
  width: fit-content;
  min-width: 102.4px;
  height: 40px;
  border: none;
  border-radius: 6.4px;
  padding: 0 24px;
  background: #4d34b3;
  color: #ffffff;
  font: 700 16px/1 'Work Sans', sans-serif;
  box-shadow: 0 9.6px 22.4px rgba(77, 52, 179, 0.24);
}

.contact-submit:hover {
  filter: brightness(1.04);
}

.contact-submit:active {
  transform: translateY(1px);
}

@media (max-width: 784px) {
  .feedback-input {
    padding: 80px 0 48px;
  }

  .feedback-card {
    padding: 28px 24px 24px;
    border-radius: 20px;
  }

  .feedback-textarea {
    min-height: 220px;
    padding: 20px;
    font-size: 16px;
  }

  .about-hero {
    padding: 104px 0 72px;
  }

  .about-section--mission {
    max-width: 1072px;
  }

  .contact-section {
    padding: 72px 0 88px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
  }

  .contact-intro {
    max-width: none;
    padding-top: 0;
  }

  .contact-card {
    width: min(100%, 512px);
  }
}

@media (max-width: 544px) {
  .feedback-input {
    padding: 64px 0 40px;
  }

  .feedback-card {
    padding: 22px 16px 20px;
    border-radius: 18px;
  }

  .feedback-title,
  .feedback-thankyou-title {
    margin-bottom: 18px;
  }

  .feedback-submit {
    width: 100%;
    min-width: 0;
    height: 50px;
    font-size: 16px;
  }

  .feedback-thankyou-text {
    font-size: 15px;
  }

  .about-hero {
    padding: 144px 0 48px;
  }

  .about-hero__title {
    font-size: 2rem;
  }

  .about-section {
    padding: 24px 19.2px;
  }

  .about-section h2 {
    font-size: 20px;
  }

  .about-section p,
  .about-list {
    font-size: 15px;
  }

  .about-section--mission p {
    white-space: normal;
  }

  .contact-section {
    padding: 56px 0 72px;
  }

  .contact-intro__dots {
    width: 176px;
    height: 176px;
    left: 0;
    top: -12.8px;
    background-size: 32px 32px;
  }

  .contact-intro__title {
    margin-bottom: 24px;
    font-size: 2.4rem;
  }

  .contact-intro__text {
    font-size: 16px;
  }

  .contact-form {
    padding: 20px 16px;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .contact-submit {
    width: 100%;
    min-width: 0;
  }
}

.request-permission-panel {
  width: min(100%, 489.6px);
  background: #e3b44d;
  border-radius: 6.4px;
  box-shadow: 0 4.8px 12.8px rgba(0,0,0,.18);
  padding: 0 0 12.8px;
}

.request-permission-panel__title {
  color: #5b4a19;
  font: 400 12px 'Playfair Display', serif;
  line-height: 1;
  padding: 7.2px 12.8px 0;
  margin-bottom: 11.2px;
}

.request-permission-panel__hint {
  color: #5b4a19;
  font: 400 9.6px/1.35 'Playfair Display', serif;
  padding: 0 12.8px;
  margin-bottom: 12.8px;
}

.request-permission-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 11.2px;
  align-items: center;
  padding: 0 12.8px;
}

.request-permission-form[hidden],
.request-permission-form__keep[hidden] {
  display: none !important;
}

.request-permission-form__input {
  width: 100%;
  height: 30.4px;
  border: none;
  outline: none;
  border-radius: 799.2px;
  background: #d9d9d9;
  box-shadow: inset 0 1.6px 3.2px rgba(0,0,0,0.12);
  color: #515151;
  padding: 0 14.4px;
  font: 400 11.2px 'Playfair Display', serif;
}

.request-permission-form__submit,
.request-permission-form__keep {
  min-width: 86.4px;
  height: 30.4px;
  border: none;
  border-radius: 10.4px;
  background: #00bd5b;
  color: #fff;
  box-shadow: 0 4.8px 12.8px rgba(0,0,0,.18);
  font: 700 11.2px 'Work Sans', sans-serif;
}

.request-permission-form__keep {
  margin-left: 12.8px;
  min-width: 112px;
  padding: 0 18px;
}

.request-permission-form__error {
  color: #c82626;
  font: 400 9.6px/1.35 'Playfair Display', serif;
  padding: 6.4px 12.8px 0;
}

.overlay-action--requested {
  background: #e3b44d;
  color: #5b4a19;
}

@media (max-width: 880px) {
  .request-permission-panel {
    width: 100%;
    max-width: 416px;
  }
}


/* Stable masonry columns for images-discovery */
.image-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 27.2px;
  align-items: start;
}

.image-masonry__column {
  display: flex;
  flex-direction: column;
  gap: 27.2px;
}

.image-filter-empty {
  grid-column: 1 / -1;
  padding: 56px 16px;
  text-align: center;
  color: #666666;
  font: 400 14px/1.5 'Work Sans', sans-serif;
}

.image-tile {
  margin-bottom: 0;
}

.image-skeleton-tile {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 220px;
  border-radius: 6px;
  background: #d9d9d9;
}

.image-skeleton-tile--1 {
  height: 280px;
}

.image-skeleton-tile--2 {
  height: 340px;
}

.image-skeleton-tile--3 {
  height: 250px;
}

@media (max-width: 784px) {
  .image-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17.6px;
  }

  .image-masonry__column {
    gap: 17.6px;
  }
}

@media (max-width: 544px) {
  .image-masonry {
    grid-template-columns: 1fr;
    gap: 17.6px;
  }

  .image-masonry__column {
    gap: 17.6px;
  }
}

/* Dashboard Layout */
.page-shell {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.dashboard-main {
  flex: 1 0 auto;
  display: flex;
}

.dashboard-page {
  flex: 1 0 auto;
  display: flex;
  min-width: 0;
  width: 100%;
  background: var(--page-light);
}

.dashboard-layout {
  flex: 1 0 auto;
  min-width: 0;
  min-height: 100%;
  display: grid;
  grid-template-columns: 304px minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
  background: linear-gradient(
    to right,
    #dbdbdb 0,
    #dbdbdb 304px,
    var(--page-light) 304px,
    var(--page-light) 100%
  );
}

.dashboard-sidebar {
  background: transparent;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  min-height: 100%;
}

.dashboard-sidebar__inner {
  position: sticky;
  top: calc(var(--navbar-height) + 32px);
  padding: 0 28.8px 32px 25.6px;
}

.dashboard-sidebar__switch-wrap {
  position: relative;
  width: max-content;
  margin-bottom: 18px;
}

.dashboard-sidebar__switch {
  min-width: 112px;
  height: 30.4px;
  padding: 0 14.4px;
  border: none;
  border-radius: 8px;
  background: #c8c8c8;
  box-shadow: 0 3.2px 6.4px rgba(0,0,0,0.18);
  color: #5a5454;
  font: 700 12.8px 'Playfair Display', serif;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: transform .18s ease, filter .18s ease;
}

.dashboard-sidebar__switch:hover { filter: brightness(1.03); }
.dashboard-sidebar__switch:active { transform: translateY(0.8px); }

.dashboard-sidebar__switch-arrow {
  font-size: 12px;
  line-height: 1;
}

.dashboard-sidebar__switch-menu {
  position: absolute;
  top: calc(100% - 1.6px);
  left: calc(100% + 6.4px);
  width: 96px;
  padding: 3.2px 0;
  background: #c8c8c8;
  border-radius: 0 0 6.4px 6.4px;
  box-shadow: 0 6.4px 14.4px rgba(0,0,0,0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 20;
}

.dashboard-sidebar__switch-wrap.open .dashboard-sidebar__switch-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dashboard-sidebar__role-option {
  display: block;
  padding: 8px 11.2px;
  color: #5a5454;
  font: 700 12.8px 'Playfair Display', serif;
}

.dashboard-sidebar__role-option + .dashboard-sidebar__role-option {
  border-top: none;
}

.dashboard-sidebar__role-option:hover {
  background: rgba(255,255,255,0.22);
}

.dashboard-sidebar__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.dashboard-sidebar__menu-link {
  display: block;
  width: 100%;
  padding: 9.6px 14.4px 9.6px 33.6px;
  color: #222;
  font: 400 14.4px 'Playfair';
  line-height: 1.35;
  transition: background .15s ease;
}

.dashboard-sidebar__menu-button {
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.dashboard-sidebar__menu-link:hover {
  background: rgba(0,0,0,0.04);
}

.dashboard-content {
  width: 100%;
  min-width: 0;
  padding: 60px 120px 48px;
}

.dashboard-copy {
  margin-bottom: 24px;
}

.dashboard-eyebrow {
  margin: 0 0 8px;
  color: #6d6d6d;
  font: 700 12px 'Work Sans', sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-heading {
  margin: 0 0 10px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.dashboard-description {
  max-width: 680px;
  margin: 0;
  color: #555;
  font: 400 15px 'Work Sans', sans-serif;
  line-height: 1.6;
}

.dashboard-panel,
.dashboard-frame {
  max-width: 100%;
  min-width: 0;
  background: #fff;
  border: 7px solid #515151;
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.dashboard-panel__header,
.dashboard-frame__header {
  padding: 8px 14px 4px;
  background: #515151;
}

.dashboard-panel__title,
.dashboard-frame__title {
  margin: 0;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.0rem;
  font-style: italic;
  line-height: 1;
}

.dashboard-frame__body {
  min-width: 0;
  background: #fff;
  padding: 0;
}

.dashboard-frame--scrollable {
  height: 390px;
}

.dashboard-frame__body--scroll {
  height: calc(100% - 33px);
  overflow-y: auto;
  overflow-x: auto;
}

.dashboard-table-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0;
  background: #fff;
  min-height: 100%;
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.dashboard-table th,
.dashboard-table td {
  border-left: 1.5px solid #515151;
  border-right: 1.5px solid #515151;
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
  color: #4f4f4f;
  font: 400 12px 'Work Sans', sans-serif;
}

.dashboard-table th {
  background: #e7e7e7;
  color: #5a5454;
  font-weight: 700;
  border-top: 1.5px solid #515151;
  border-bottom: 1.5px solid #515151;
  position: sticky;
  top: 0;
  z-index: 1;
}

.dashboard-table__th-filter {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.dashboard-table__filter-button {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 1px solid #a9a9a9;
  border-radius: 2px;
  background: linear-gradient(180deg, #f8f8f8 0%, #dddddd 100%);
  color: #515151;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}

.dashboard-table__filter-button.is-active {
  background: linear-gradient(180deg, #e8e8e8 0%, #cfcfcf 100%);
}

.dashboard-table__filter-button-icon {
  font-size: 8px;
  line-height: 1;
}

.dashboard-table__filter-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 144px;
  padding: 6px 0;
  border: 1px solid #c8c8c8;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.14);
  z-index: 5;
}

.dashboard-table__filter-option {
  width: 100%;
  border: 0;
  background: transparent;
  color: #515151;
  padding: 7px 12px;
  text-align: left;
  font: 400 12px/1.35 'Work Sans', sans-serif;
}

.dashboard-table__filter-option:hover,
.dashboard-table__filter-option.is-active {
  background: #efefef;
  color: #111111;
}

.dashboard-table td {
  border-top: 0;
  border-bottom: 0;
}

.balance-table th:first-child,
.balance-table td:first-child {
  width: 118px;
  min-width: 118px;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

.balance-table th:nth-child(2),
.balance-table td:nth-child(2) {
  width: 104px;
}

.balance-table th:nth-child(3),
.balance-table td:nth-child(3) {
  width: 136px;
}

.balance-table th:nth-child(5),
.balance-table td:nth-child(5) {
  width: 96px;
}

.balance-table th:nth-child(6),
.balance-table td:nth-child(6) {
  width: 116px;
}

.balance-table th:nth-child(7),
.balance-table td:nth-child(7) {
  width: 112px;
}

.dashboard-table__filler td {
  padding: 0;
  line-height: 0;
  font-size: 0;
}

.dashboard-table__name {
  margin-bottom: 6px;
}

.dashboard-table__link,
.dashboard-link-text {
  color: #6d6d6d;
  text-decoration: underline;
  font: 400 11px 'Work Sans', sans-serif;
}

.dashboard-table__link-button {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.dashboard-table__button {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.dashboard-table__delete {
  border: 0;
  border-radius: 5px;
  background: #515151;
  color: #ffffff;
  padding: 5px 10px;
  cursor: pointer;
  font: 700 10px 'Work Sans', sans-serif;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.18);
}

.dashboard-table__delete:hover {
  background: #3f3f3f;
}

.dashboard-table__delete:disabled {
  cursor: wait;
  opacity: 0.65;
}

.generated-image-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.55);
}

.generated-image-modal__dialog {
  position: relative;
  width: min(960px, 92vw);
  max-height: 90vh;
  padding: 18px;
  border-radius: 18px;
  background: #f2f2f2;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.generated-image-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #515151;
  color: #ffffff;
  cursor: pointer;
  font: 700 20px/1 'Work Sans', sans-serif;
}

.generated-image-modal__image {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 12px;
  background: #e0e0e0;
}

.generated-image-modal__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.generated-image-modal__download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  min-height: 38px;
  border-radius: 8px;
  background: #10c857;
  color: #ffffff;
  text-decoration: none;
  font: 700 13px 'Work Sans', sans-serif;
  box-shadow: 0 9px 18px rgba(0, 0, 0, 0.18);
}

.dashboard-followed-devs {
  min-height: 100%;
  background: #fff;
}

.dashboard-followed-devs__list {
  list-style: none;
  margin: 0;
  padding: 4px 0 0;
}

.dashboard-followed-devs__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 32px;
  min-height: 44px;
}

.dashboard-followed-devs__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 28px;
  background: #efefef;
}

.dashboard-followed-devs__name {
  color: #5a5454;
  font: 400 15px/1.2 'Work Sans', sans-serif;
}

.dashboard-bookmark-table__status-cell {
  text-align: center;
}

.dashboard-bookmark-table__empty {
  padding: 24px 16px;
  text-align: center;
  color: #6d6d6d;
}

.dashboard-bookmark-toggle {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #515151;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.dashboard-bookmark-toggle svg {
  width: 100%;
  height: 100%;
  display: block;
}

.dashboard-bookmark-toggle path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.dashboard-bookmark-toggle.is-bookmarked {
  color: #ffb500;
}

.dashboard-bookmark-toggle.is-bookmarked path {
  fill: currentColor;
}

.permission-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 4px;
  color: #fff;
  font: 700 10px 'Work Sans', sans-serif;
}

.permission-pill--standard { background: #1abc53; }
.permission-pill--request { background: #d94d43; }
.permission-pill--free { background: #8b8b8b; }
.permission-pill--draft { background: #4e4e4e; }

.dashboard-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  align-items: center;
  margin-top: 22px;
}

.dashboard-toolbar__link {
  justify-self: start;
  align-self: center;
}

.dashboard-total {
  color: #4d4d4d;
  font: 400 15px 'Work Sans', sans-serif;
}

.dashboard-total strong {
  color: #4d4d4d;
  font-weight: 700;
}

.dashboard-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  min-width: 112px;
  height: 38px;
  border: none;
  border-radius: 999px;
  background: #10ca53;
  color: #fff;
  text-decoration: none;
  font: 700 12px 'Work Sans', sans-serif;
  box-shadow: 0 6px 14px rgba(16, 202, 83, 0.25);
}

.dashboard-action-btn--secondary {
  background: #515151;
  box-shadow: 0 6px 14px rgba(81, 81, 81, 0.22);
}

.artist-verification-card {
  display: grid;
  gap: 18px;
  width: min(760px, 100%);
  padding: 28px;
  border: 8px solid #515151;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.08);
}

.artist-verification-card[hidden] {
  display: none !important;
}

.artist-verification-card [data-artist-verification-start][hidden] {
  display: none !important;
}

.artist-verification-card[data-form-open='true'] [data-artist-verification-start] {
  display: none !important;
}

.artist-verification-card:has(.artist-verification-form:not([hidden])) [data-artist-verification-start] {
  display: none !important;
}

.artist-verification-card__status {
  display: grid;
  gap: 8px;
}

.artist-verification-card__status h2 {
  margin: 0;
  color: #151515;
  white-space: nowrap;
  font: 700 clamp(20px, 2vw, 22px)/1.15 'Playfair Display', serif;
}

.artist-verification-card__status p {
  max-width: 620px;
  margin: 0;
  color: #515151;
  font: 400 15px/1.55 'Work Sans', sans-serif;
}

.artist-verification-card[data-status='rejected'] {
  border-color: #b3261e;
}

.artist-verification-form {
  display: grid;
  gap: 16px;
}

.artist-verification-form[hidden] {
  display: none !important;
}

.artist-verification-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.image-upload-form {
  padding: 24px;
  display: grid;
  gap: 18px;
}

.image-upload-fieldset,
.image-upload-metadata,
.image-upload-status,
.publish-model-settings {
  min-inline-size: 0;
}

.image-upload-field {
  display: grid;
  min-width: 0;
  gap: 7px;
  color: #3f3f3f;
  font: 700 13px/1.25 'Work Sans', sans-serif;
}

.image-upload-field[hidden] {
  display: none !important;
}

.image-upload-field input {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  border: 1px solid #b8b8b8;
  border-radius: 8px;
  background: #ffffff;
  color: #222222;
  padding: 0 12px;
  font: 400 13px 'Work Sans', sans-serif;
}

.image-upload-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 92px;
  border: 1px solid #b8b8b8;
  border-radius: 8px;
  background: #ffffff;
  color: #222222;
  padding: 10px 12px;
  font: 400 13px/1.45 'Work Sans', sans-serif;
  resize: vertical;
}

.image-upload-field input[type='file'] {
  padding: 9px 12px;
}

.image-upload-field small,
.image-upload-status small {
  color: #696969;
  font: 400 11px/1.4 'Work Sans', sans-serif;
}

.image-upload-metadata {
  margin: 0;
  border: 1px solid #cfcfcf;
  border-radius: 12px;
  padding: 14px 16px 16px;
  display: grid;
  gap: 10px;
}

.image-upload-metadata legend {
  padding: 0 7px;
  color: #3f3f3f;
  font: 700 13px/1 'Work Sans', sans-serif;
}

.image-upload-metadata label,
.image-upload-defaults {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 9px;
  align-items: start;
  color: #333333;
  font: 700 12px/1.35 'Work Sans', sans-serif;
}

.image-upload-metadata label small {
  grid-column: 2;
  color: #696969;
  font: 400 11px/1.4 'Work Sans', sans-serif;
}

.image-upload-metadata input[type='text'] {
  min-height: 40px;
  border: 1px solid #b8b8b8;
  border-radius: 8px;
  background: #ffffff;
  color: #222222;
  padding: 0 12px;
  font: 400 13px 'Work Sans', sans-serif;
}

.image-upload-metadata input[type='text'][hidden] {
  display: none !important;
}

.image-upload-defaults {
  margin-top: -4px;
  color: #515151;
  font-weight: 600;
}

.image-upload-tag-composer {
  display: grid;
  min-width: 0;
  gap: 12px;
}

.image-upload-tag-composer__title {
  color: #202020;
  font: 700 13px/1.2 'Work Sans', sans-serif;
}

.image-upload-tag-composer__entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.image-upload-field--tag-entry {
  min-width: 0;
}

.image-upload-tag-composer__add {
  min-height: 40px;
  align-self: start;
}

.image-upload-tag-helper {
  display: grid;
  min-width: 0;
  gap: 12px;
  padding: 15px;
  border: 1px solid #d1d1d1;
  border-radius: 12px;
  background: #f7f7f7;
}

.image-upload-tag-helper__head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.image-upload-tag-helper__head span {
  color: #5a5a5a;
  font: 700 11px/1.2 'Work Sans', sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.image-upload-tag-helper__status {
  margin: 0;
  color: #686868;
  font: 400 12px/1.45 'Work Sans', sans-serif;
  transition: opacity 220ms ease;
}

.image-upload-tag-helper__status[data-tone='error'] {
  color: #b3261e;
  font-weight: 700;
}

.image-upload-tag-helper__status[data-tone='success'] {
  color: #0a7f3b;
}

.image-upload-tag-helper__selected,
.image-upload-tag-helper__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.image-upload-tag-helper__selected {
  min-height: 27px;
}

.image-upload-tag-helper__empty {
  color: #767676;
  font: 400 12px/1.4 'Work Sans', sans-serif;
}

.image-upload-tag-helper__empty[data-tone='error'] {
  color: #b3261e;
  font-weight: 700;
}

.image-upload-tag-helper__empty[data-tone='success'] {
  color: #0a7f3b;
}

.image-upload-preview {
  width: min(260px, 100%);
  border: 1px solid #cfcfcf;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f5;
}

.image-upload-preview img {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
}

.image-upload-status {
  margin: 0;
  border: 1px solid #cfcfcf;
  border-radius: 12px;
  padding: 16px;
  display: grid;
  gap: 12px;
}

.image-upload-status legend {
  padding: 0 7px;
  color: #3f3f3f;
  font: 700 13px/1 'Work Sans', sans-serif;
}

.image-upload-status label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 10px;
  align-items: start;
  color: #333333;
  font: 700 12px/1.35 'Work Sans', sans-serif;
}

.image-upload-status label small {
  grid-column: 2;
}

.image-upload-status-message {
  min-height: 20px;
  margin: 0;
  color: #515151;
  font: 700 12px/1.45 'Work Sans', sans-serif;
}

.image-upload-status-message[data-tone='error'] {
  color: #b3261e;
}

.image-upload-status-message[data-tone='success'] {
  color: #0a8f41;
}

.image-upload-toolbar {
  margin-top: 4px;
  grid-template-columns: 1fr auto;
}

@media (max-width: 640px) {
  .artist-verification-card__status h2 {
    white-space: normal;
  }

  .image-upload-tag-composer {
    grid-template-columns: 1fr;
  }

  .image-upload-tag-composer__entry {
    grid-template-columns: 1fr;
  }

  .image-upload-tag-composer__add {
    width: 100%;
  }
}

.permission-modal > .permission-modal__panel {
  position: relative;
  width: min(480px, calc(100vw - 36px));
  margin: min(18vh, 140px) auto 0;
  padding: 28px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.permission-modal > .permission-modal__panel h2 {
  margin: 0 0 12px;
  color: #252525;
  font: 700 22px/1.1 'Playfair Display', serif;
}

.permission-modal > .permission-modal__panel p {
  margin: 0 0 18px;
  color: #454545;
  font: 400 14px/1.65 'Work Sans', sans-serif;
}

.permission-request-page {
  display: grid;
  grid-template-columns: 228px 520px;
  gap: 72px;
  justify-content: start;
  width: 100%;
  min-width: 0;
  max-width: 820px;
  margin: 0;
  align-items: start;
}

.permission-request-page__image-name {
  margin: 0 0 14px;
  color: #515151;
  font: 400 14px/1.35 'Work Sans', sans-serif;
}

.permission-request-page__image-name strong {
  color: #2a2a2a;
}

.permission-request-page__image-shell {
  width: 228px;
  max-width: 100%;
}

.permission-request-page__image-shell img {
  width: 100%;
  height: 388px;
  display: block;
  object-fit: cover;
}

.permission-request-page__panel-column {
  width: 520px;
  min-width: 0;
  max-width: 100%;
}

.permission-request-board {
  min-width: 0;
  max-width: 100%;
}

.permission-request-board .dashboard-frame--scrollable {
  height: 420px;
}

.permission-request-table {
  table-layout: fixed;
}

.permission-request-table__col--name {
  width: 44%;
}

.permission-request-table__col--date {
  width: 22%;
}

.permission-request-table__col--decision {
  width: 34%;
}

.permission-request-table th {
  text-align: center;
  white-space: nowrap;
}

.permission-request-table__decision-cell {
  min-width: 124px;
  text-align: center;
}

.permission-request-table__decision-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.permission-request-action {
  min-width: 40px;
  height: 20px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  font: 700 9px/1 'Work Sans', sans-serif;
  box-shadow: 0 4px 8px rgba(0,0,0,0.16);
}

.permission-request-action--allow {
  background: #10ca53;
}

.permission-request-action--deny {
  background: #515151;
}

.permission-request-page__toolbar {
  width: 520px;
  max-width: 100%;
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.permission-request-page__code {
  min-width: 0;
  flex: 1 1 auto;
  color: #515151;
  font: 400 13px/1.35 'Work Sans', sans-serif;
}

.permission-request-page__code strong {
  white-space: nowrap;
}

.permission-request-page__code-value {
  display: inline-block;
  max-width: 260px;
  margin-left: 4px;
  vertical-align: bottom;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #2f3742;
  font-family: 'Work Sans', sans-serif;
}

.permission-request-page__code-value[data-empty="true"] {
  color: #8a8a8a;
}

.permission-request-page__copy-code {
  min-width: 70px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: #515151;
  color: #fff;
  padding: 0 12px;
  font: 700 9px/1 'Work Sans', sans-serif;
  box-shadow: 0 8px 16px rgba(0,0,0,0.16);
}

.permission-request-page__copy-code:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.permission-request-page__change-code {
  min-width: 92px;
  height: 24px;
  font-size: 9px;
  padding-inline: 12px;
}

.permission-modal-open {
  overflow: hidden;
}

.permission-modal {
  position: fixed;
  inset: 0;
  z-index: 1600;
}

.permission-modal[hidden] {
  display: none !important;
}

.permission-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(236, 236, 236, 0.72);
  backdrop-filter: blur(8px);
}

.permission-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(960px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  margin: 16px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 32px);
}

.permission-modal__panel {
  width: 100%;
}

.permission-modal__body {
  padding: 28px 32px 20px;
  color: #2f2f2f;
  font: 400 16px/1.7 'Playfair Display', serif;
}

.permission-modal__lead {
  margin: 0 0 18px;
  color: #202020;
  font-weight: 700;
}

.permission-modal__body p {
  margin: 0 0 14px;
}

.permission-modal__field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: #2a2a2a;
  font: 700 13px/1.2 'Work Sans', sans-serif;
}

.permission-modal__field input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cfcfcf;
  border-radius: 10px;
  background: #fff;
  padding: 0 14px;
  color: #2f3742;
  font: 500 15px/1 'Work Sans', sans-serif;
}

.permission-modal__list {
  margin: 0;
  padding-left: 24px;
  display: grid;
  gap: 8px;
}

.permission-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 0 32px 22px;
}

.permission-modal__confirm {
  min-width: 112px;
}

.permission-modal__confirm--deny {
  background: #515151;
  box-shadow: 0 6px 14px rgba(81, 81, 81, 0.22);
}

.permission-modal__cancel {
  min-width: 84px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: #d2d2d2;
  color: #515151;
  font: 700 12px/1 'Work Sans', sans-serif;
  box-shadow: 0 4px 8px rgba(0,0,0,0.14);
}

.balance-summary {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.balance-summary__total {
  margin: 0;
}

.balance-summary__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.dashboard-content--editor {
  padding-top: 24px;
}

.developer-profile-editor {
  --developer-profile-upload-height: 291px;
  --developer-profile-panel-height: 222px;
  display: grid;
  gap: 0;
}

.developer-profile-editor__canvas {
  display: grid;
  gap: 0;
}

.developer-profile-editor__file-input {
  display: none;
}

.developer-profile-editor__banner-upload {
  position: relative;
  width: 100%;
  height: var(--developer-profile-upload-height);
  border: 0;
  background: #dbdbdb;
  display: grid;
  justify-items: center;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

.developer-profile-editor__banner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  display: none;
}

.developer-profile-editor__banner-empty {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.developer-profile-editor__banner-empty img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.85;
}

.developer-profile-editor__banner-upload:not(.is-empty) .developer-profile-editor__banner-image {
  display: block;
}

.developer-profile-editor__banner-upload:not(.is-empty) .developer-profile-editor__banner-empty {
  display: none;
}

.developer-profile-editor__surface-button {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  min-width: 116px;
  height: 34px;
  padding: 0 16px;
  border-radius: 10px;
  background: #c8c8c8;
  box-shadow: 0 4px 8px rgba(0,0,0,0.18);
  color: #5a5454;
  font: 700 14px 'Playfair Display', serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}

.developer-profile-editor__banner-upload.is-empty .developer-profile-editor__surface-button {
  opacity: 1;
}

.developer-profile-editor__banner-upload:hover .developer-profile-editor__surface-button,
.developer-profile-editor__profile-trigger:hover .developer-profile-editor__surface-button,
.developer-profile-editor__profile-trigger:focus-visible .developer-profile-editor__surface-button {
  opacity: 1;
}

.developer-profile-editor__banner-upload:hover .developer-profile-editor__surface-button {
  transform: translateX(-50%) translateY(0);
}

.developer-profile-editor__banner {
  min-height: var(--developer-profile-panel-height);
  padding: 42px 72px 36px;
  background: linear-gradient(180deg, #9a7fff 0%, #5f6eb0 100%);
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}

.developer-profile-editor__profile-trigger,
.developer-profile-editor__bio-card {
  position: relative;
  z-index: 1;
}

.developer-profile-editor__profile-trigger {
  width: 112px;
  height: 112px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  overflow: hidden;
  background: #2b2b2b;
  box-shadow: 0 8px 16px rgba(0,0,0,0.16);
  justify-self: center;
  position: relative;
}

.developer-profile-editor__profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.developer-profile-editor__profile-image.profile-thumbnail--empty {
  padding: 10px;
  border: 0;
  background: #2b2b2b;
}

.developer-profile-editor__surface-button--profile {
  bottom: 50%;
  transform: translateX(-50%) translateY(50%);
  min-width: 108px;
  height: 30px;
  font-size: 12px;
}

.developer-profile-editor__profile-trigger:hover .developer-profile-editor__surface-button--profile,
.developer-profile-editor__profile-trigger:focus-visible .developer-profile-editor__surface-button--profile {
  opacity: 1;
}

.developer-profile-editor__bio-card {
  min-height: 112px;
  padding: 14px 24px 18px;
  border-radius: 16px;
  background: #dfdfdf;
  box-shadow: inset 3px 3px 5px rgba(0,0,0,0.16);
  display: grid;
  gap: 10px;
  align-content: start;
}

.developer-profile-editor__name-input,
.developer-profile-editor__description-input {
  width: 100%;
  border: 0;
  resize: none;
  background: transparent;
  color: #5a5454;
}

.developer-profile-editor__name-input:focus,
.developer-profile-editor__description-input:focus {
  outline: none;
}

.developer-profile-editor__name-input {
  padding: 0;
  font: 700 19px/1 'Playfair Display', serif;
}

.developer-profile-editor__description-input {
  min-height: 74px;
  padding: 0;
  font: 400 13px/1.5 'Work Sans', sans-serif;
}

.developer-profile-editor__actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 16px;
}

.developer-profile-editor__publish-btn[disabled] {
  opacity: 0.9;
}

.user-generated-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.generated-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  background: #fff;
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.generated-card__image img {
  width: 100%;
  height: 176px;
  object-fit: cover;
  border-radius: 16px;
}

.generated-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.generated-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.generated-card__top h2 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.28rem;
  line-height: 1.2;
}

.generated-card__body p {
  margin: 0;
  color: #5a5a5a;
  font: 400 14px 'Work Sans', sans-serif;
  line-height: 1.55;
}

.generated-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font: 700 11px 'Work Sans', sans-serif;
}

.generated-status--ready {
  background: rgba(16, 202, 83, 0.12);
  color: #11823a;
}

.generated-status--queued {
  background: rgba(234, 168, 32, 0.14);
  color: #8e6200;
}

.generated-status--draft {
  background: rgba(96, 96, 96, 0.12);
  color: #555;
}

.generated-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: auto 0 0;
}

.generated-meta div {
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.generated-meta dt {
  margin: 0 0 4px;
  color: #777;
  font: 700 11px 'Work Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.generated-meta dd {
  margin: 0;
  color: #222;
  font: 400 13px 'Work Sans', sans-serif;
}

.dashboard-content--workspace {
  width: 100%;
  padding: 32px 44px 48px;
}

.workspace-explorer {
  position: relative;
  min-height: 560px;
  background: #ffffff;
  border: 1.5px solid #515151;
  color: #515151;
  font-family: 'Work Sans', sans-serif;
  overflow: hidden;
  user-select: none;
}

.workspace-explorer__topbar {
  min-height: 42px;
  border-bottom: 1.5px solid #515151;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
}

.workspace-explorer__location {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
  color: #515151;
  font: 400 13px/1.4 'Work Sans', sans-serif;
}

.workspace-explorer__location-label {
  font-weight: 400;
}

.workspace-explorer__crumb {
  border: 0;
  background: transparent;
  color: #515151;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.workspace-explorer__crumb:hover {
  text-decoration: underline;
}

.workspace-explorer__separator {
  color: #515151;
}

.workspace-explorer__toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.workspace-explorer__status {
  min-height: 20px;
  color: #515151;
  font: 700 12px/1.4 'Work Sans', sans-serif;
}

.workspace-explorer__status[data-tone='error'] {
  color: #b3261e;
}

.workspace-explorer__view-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border-radius: 5px;
  background: #dedede;
}

.workspace-explorer__view-button {
  min-height: 22px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #515151;
  padding: 0 9px;
  font: 700 10.5px 'Work Sans', sans-serif;
  cursor: pointer;
}

.workspace-explorer__view-button.is-active {
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.16);
}

.workspace-explorer__action {
  min-height: 24px;
  padding: 0 10px;
  border: 0;
  border-radius: 4px;
  background: #c8c8c8;
  color: #515151;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.18);
  font: 700 11px 'Work Sans', sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.workspace-explorer__action[hidden] {
  display: none;
}

.workspace-explorer__action:hover:not(:disabled) {
  filter: brightness(1.03);
}

.workspace-explorer__action:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  box-shadow: none;
}

.workspace-explorer__action.is-disabled {
  opacity: 0.42;
  cursor: not-allowed;
  box-shadow: none;
  pointer-events: auto;
}

.workspace-explorer__action--primary {
  min-width: 104px;
}

.workspace-explorer__action--icon {
  min-width: 30px;
  font-size: 15px;
}

.workspace-explorer__action--danger:not(:disabled) {
  background: #515151;
  color: #ffffff;
}

.workspace-explorer__table-shell {
  position: relative;
  height: 516px;
  overflow: auto;
  background: #ffffff;
}

.workspace-tool-dock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  padding: 12px 16px;
  border-top: 1.5px solid #515151;
  background: #f7f7f7;
}

.workspace-tool-dock__context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: #515151;
  font: 600 12px/1.35 'Work Sans', sans-serif;
}

.workspace-tool-dock__context strong {
  color: #202020;
  font-weight: 800;
}

.workspace-tool-dock__folder {
  color: #6b6b6b;
}

.workspace-tool-dock__folder:not(:empty)::before {
  content: "/";
  margin-right: 7px;
  color: #9a9a9a;
}

.workspace-tool-dock__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.workspace-tool-dock__button {
  min-height: 30px;
}

.workspace-explorer__table {
  width: 75%;
  min-width: 560px;
  border-collapse: separate;
  border-spacing: 0 4px;
  table-layout: fixed;
}

.workspace-explorer__table[hidden] {
  display: none;
}

.workspace-explorer__table th,
.workspace-explorer__table td {
  padding: 7px 24px;
  text-align: left;
  color: #515151;
  font: 400 13px/1.3 'Work Sans', sans-serif;
  height: 31px;
}

.workspace-explorer__table th {
  padding-top: 5px;
  padding-bottom: 5px;
}

.workspace-explorer__table th {
  border-bottom: 0;
  font-weight: 400;
}

.workspace-explorer__table th:first-child {
  width: 40%;
  border-right: 1.5px solid #515151;
}

.workspace-explorer__table td:first-child {
  width: 40%;
  border-right: 0;
}

.workspace-explorer__table tbody tr {
  cursor: default;
  user-select: none;
}

.workspace-explorer__table tbody td {
  box-shadow: inset 0 1px transparent, inset 0 -1px transparent;
}

.workspace-explorer__table tbody tr:hover td {
  background: rgba(66, 153, 225, 0.18);
  box-shadow: inset 0 1px rgba(66, 153, 225, 0.45), inset 0 -1px rgba(66, 153, 225, 0.45);
}

.workspace-explorer__row.is-selected td {
  background: rgba(66, 153, 225, 0.28);
  box-shadow: inset 0 1px rgba(66, 153, 225, 0.45), inset 0 -1px rgba(66, 153, 225, 0.45);
}

.workspace-explorer__table tbody tr:hover td:first-child,
.workspace-explorer__row.is-selected td:first-child {
  box-shadow:
    inset 1px 0 rgba(66, 153, 225, 0.45),
    inset 0 1px rgba(66, 153, 225, 0.45),
    inset 0 -1px rgba(66, 153, 225, 0.45);
}

.workspace-explorer__table tbody tr:hover td:last-child,
.workspace-explorer__row.is-selected td:last-child {
  box-shadow:
    inset -1px 0 rgba(66, 153, 225, 0.45),
    inset 0 1px rgba(66, 153, 225, 0.45),
    inset 0 -1px rgba(66, 153, 225, 0.45);
}

.workspace-explorer__name-cell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.workspace-explorer__icon {
  position: relative;
  width: 13px;
  height: 11px;
  flex: 0 0 13px;
}

.workspace-explorer__icon--folder {
  border: 1.5px solid #515151;
  border-radius: 1px;
}

.workspace-explorer__icon--folder::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -1.5px;
  width: 7px;
  height: 4px;
  border: 1.5px solid #515151;
  border-bottom: 0;
  border-radius: 1px 1px 0 0;
  background: #ffffff;
}

.workspace-explorer__icon--file {
  border: 1.5px solid #515151;
  border-radius: 1px;
}

.workspace-explorer__icon--file::before {
  content: "";
  position: absolute;
  top: -1.5px;
  right: -1.5px;
  width: 5px;
  height: 5px;
  border-left: 1.5px solid #515151;
  border-bottom: 1.5px solid #515151;
  background: #ffffff;
}

.workspace-explorer__empty-row td {
  padding-top: 18px;
  color: #777777;
}

.workspace-explorer__grid {
  width: 100%;
  min-width: 560px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, 272px);
  gap: 26px 24px;
  align-items: start;
  justify-content: start;
}

.workspace-explorer__grid[hidden] {
  display: none;
}

.workspace-explorer__tile {
  width: 272px;
  min-height: 322px;
  padding: 8px 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #515151;
  cursor: default;
  user-select: none;
  box-sizing: border-box;
}

.workspace-explorer__tile:hover,
.workspace-explorer__tile.is-selected {
  background: rgba(66, 153, 225, 0.18);
  border-color: rgba(66, 153, 225, 0.45);
}

.workspace-explorer__tile.is-selected {
  background: rgba(66, 153, 225, 0.28);
}

.workspace-explorer__tile-preview {
  width: 256px;
  height: 256px;
  border-radius: 7px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.workspace-explorer__tile-preview--icon {
  background: #e2e2e2;
}

.workspace-explorer__tile-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.workspace-explorer__tile-icon {
  position: relative;
  width: 84px;
  height: 68px;
}

.workspace-explorer__tile-icon--folder {
  border: 2px solid #515151;
  border-radius: 3px;
  background: #f5f5f5;
}

.workspace-explorer__tile-icon--folder::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -2px;
  width: 42px;
  height: 16px;
  border: 2px solid #515151;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
  background: #f5f5f5;
}

.workspace-explorer__tile-icon--file {
  width: 70px;
  height: 90px;
  border: 2px solid #515151;
  border-radius: 3px;
  background: #f5f5f5;
}

.workspace-explorer__tile-icon--file::before {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 26px;
  height: 26px;
  border-left: 2px solid #515151;
  border-bottom: 2px solid #515151;
  background: #e2e2e2;
}

.workspace-explorer__tile-name {
  margin-top: 8px;
  color: #515151;
  font: 600 12px/1.25 'Work Sans', sans-serif;
  overflow-wrap: anywhere;
}

.workspace-explorer__tile-type {
  margin-top: 4px;
  color: #777777;
  font: 400 10.5px/1.2 'Work Sans', sans-serif;
}

.workspace-explorer__empty-grid {
  grid-column: 1 / -1;
  color: #777777;
  font: 400 13px 'Work Sans', sans-serif;
}

.workspace-selection-box {
  position: absolute;
  z-index: 10;
  border: 1px solid rgba(42, 128, 219, 0.85);
  background: rgba(66, 153, 225, 0.16);
  pointer-events: none;
}

.workspace-selection-box[hidden] {
  display: none;
}

.workspace-context-menu {
  position: absolute;
  z-index: 14;
  min-width: 128px;
  padding: 5px 0;
  border: 1px solid #b8b8b8;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
}

.workspace-context-menu[hidden] {
  display: none;
}

.workspace-context-menu button {
  width: 100%;
  min-height: 28px;
  border: 0;
  background: transparent;
  color: #515151;
  padding: 0 14px;
  text-align: left;
  font: 400 12px/1.3 'Work Sans', sans-serif;
  cursor: pointer;
}

.workspace-context-menu button:hover:not(:disabled) {
  background: #eeeeee;
}

.workspace-context-menu button:disabled {
  color: #a8a8a8;
  cursor: not-allowed;
}

.workspace-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.42);
}

.workspace-modal[hidden] {
  display: none !important;
}

.workspace-modal__card {
  width: min(640px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 8px solid #515151;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
}

.workspace-modal__card--text {
  width: min(760px, 100%);
}

.workspace-modal__card h2 {
  margin: 0;
  color: #202020;
  font: 700 30px/1.15 'Playfair Display', serif;
}

.workspace-modal__card p {
  margin: 0;
  color: #515151;
  font: 500 13px/1.55 'Work Sans', sans-serif;
}

.workspace-caption-mode {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.workspace-caption-mode label,
.workspace-caption-overwrite {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #333333;
  font: 700 13px/1.3 'Work Sans', sans-serif;
}

.workspace-caption-mode input,
.workspace-caption-overwrite input {
  accent-color: #0ecb5a;
}

.workspace-caption-fields {
  display: grid;
  gap: 14px;
}

.workspace-caption-fields[hidden] {
  display: none !important;
}

.workspace-text-editor {
  width: 100%;
  min-height: 320px;
  border: 1px solid #b8b8b8;
  border-radius: 10px;
  background: #ffffff;
  color: #222222;
  padding: 14px;
  font: 500 14px/1.55 'Work Sans', sans-serif;
  resize: vertical;
}

.workspace-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.publish-model-form {
  display: grid;
  min-width: 0;
  gap: 18px;
  padding: 24px;
}

.publish-model-steps {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.publish-model-steps span {
  border: 1px solid #d4d4d4;
  border-radius: 999px;
  background: #eeeeee;
  color: #666666;
  padding: 10px 12px;
  text-align: center;
  font: 700 12px/1.3 'Work Sans', sans-serif;
}

.publish-model-steps span.is-active {
  background: #4f4f4f;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(0,0,0,0.16);
}

.publish-model-step {
  display: grid;
  min-width: 0;
  gap: 18px;
}

.publish-model-step[hidden] {
  display: none !important;
}

.publish-model-form select {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  border: 1px solid #b8b8b8;
  border-radius: 8px;
  background: #ffffff;
  color: #222222;
  padding: 0 12px;
  font: 400 13px 'Work Sans', sans-serif;
}

.publish-model-summary,
.publish-model-next-step {
  border: 1px solid #d4d4d4;
  border-radius: 14px;
  background: #f7f7f7;
  padding: 16px;
}

.publish-model-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.publish-model-summary[hidden] {
  display: none !important;
}

.publish-model-summary__item {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.publish-model-summary__item strong {
  color: #303030;
  font: 700 12px/1.3 'Work Sans', sans-serif;
}

.publish-model-summary__item span {
  color: #5a5a5a;
  overflow-wrap: anywhere;
  font: 400 12px/1.45 'Work Sans', sans-serif;
}

.publish-model-settings {
  display: grid;
  min-width: 0;
  gap: 14px;
  margin: 0;
  border: 1px solid #cfcfcf;
  border-radius: 14px;
  padding: 16px;
}

.publish-model-settings legend {
  padding: 0 7px;
  color: #303030;
  font: 700 13px/1 'Work Sans', sans-serif;
}

.publish-model-settings__note,
.publish-model-next-step {
  margin: 0;
  color: #606060;
  font: 400 12px/1.55 'Work Sans', sans-serif;
}

.publish-model-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.publish-model-example-table {
  display: grid;
  gap: 10px;
}

.publish-model-example-table h3 {
  margin: 0;
  color: #1f1f1f;
  font: 700 18px/1.2 'Playfair Display', serif;
}

.publish-model-example-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  background: #eeeeee;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.publish-model-pricing__estimate {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid rgba(80, 80, 80, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.publish-model-pricing__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #555;
}

.publish-model-pricing__row strong {
  color: #2c2c2c;
  white-space: nowrap;
}

.publish-model-pricing__row--strong {
  padding-top: 0.65rem;
  border-top: 1px solid rgba(80, 80, 80, 0.18);
  color: #222;
  font-weight: 700;
}

.publish-assets {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.publish-assets__summary,
.publish-assets__upload-grid,
.publish-assets__gallery {
  border: 1px solid #d4d4d4;
  border-radius: 14px;
  background: #f7f7f7;
  padding: 16px;
}

.publish-assets__summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.publish-assets__summary-item {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.publish-assets__summary-item strong {
  color: #303030;
  font: 700 12px/1.3 'Work Sans', sans-serif;
}

.publish-assets__summary-item span {
  color: #5a5a5a;
  overflow-wrap: anywhere;
  font: 400 12px/1.45 'Work Sans', sans-serif;
}

.publish-assets__upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.publish-assets__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.publish-assets__gallery p {
  margin: 0;
  color: #606060;
  font: 400 13px/1.55 'Work Sans', sans-serif;
}

.publish-asset-card {
  display: grid;
  gap: 10px;
  margin: 0;
  border: 1px solid #cfcfcf;
  border-radius: 12px;
  background: #ffffff;
  padding: 10px;
}

.publish-asset-card img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  background: #eeeeee;
}

.publish-asset-card__controls {
  display: grid;
  gap: 8px;
  color: #333333;
  font: 700 12px/1.35 'Work Sans', sans-serif;
}

.publish-asset-card__controls label {
  display: flex;
  align-items: center;
  gap: 7px;
}

.publish-assets__toolbar {
  margin-top: 2px;
}

.publish-model-form__toolbar {
  margin-top: 4px;
}

.publish-model-form__back {
  min-width: 152px;
}

@media (max-width: 860px) {
  .publish-model-summary,
  .publish-model-steps,
  .publish-model-grid,
  .publish-assets__summary,
  .publish-assets__upload-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .publish-model-summary,
  .publish-model-steps,
  .publish-model-grid,
  .publish-assets__summary,
  .publish-assets__upload-grid {
    grid-template-columns: 1fr;
  }
}

.tool-shell-main {
  min-height: calc(100vh - var(--navbar-height));
  padding: 22px clamp(18px, 3vw, 42px) 48px;
  background: #f4f4f4;
}

.tool-session-shell {
  width: min(100%, 1180px);
  margin: 0 auto;
  border: 1.5px solid #d7d7d7;
  border-radius: 14px;
  background: #ffffff;
  color: #333333;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}

.training-tool-shell {
  border: 8px solid #515151;
}

.tool-session-shell__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 104px;
  padding: 22px 26px;
  border-bottom: 1px solid #e8e8e8;
  background: #f7f7f7;
}

.tool-session-shell__eyebrow {
  margin: 0 0 6px;
  color: #515151;
  font: 800 11px/1.2 'Work Sans', sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tool-session-shell h1 {
  margin: 0;
  color: #202020;
  font: 700 34px/1.1 'Playfair Display', serif;
}

.tool-session-shell__header p:not(.tool-session-shell__eyebrow) {
  margin: 8px 0 0;
  color: #515151;
  font: 500 13px/1.45 'Work Sans', sans-serif;
}

.tool-session-shell__job {
  color: #6b6b6b !important;
  font-size: 12px !important;
}

.tool-session-shell__notice {
  margin: 0;
  padding: 16px 26px;
  border-bottom: 1px solid #eeeeee;
  color: #515151;
  font: 700 13px/1.45 'Work Sans', sans-serif;
}

.tool-session-shell__notice[data-tone='error'] {
  color: #b3261e;
}

.tool-session-shell__notice[data-tone='success'] {
  color: #0a8f41;
}

.tool-session-shell__frame {
  width: 100%;
  min-height: 720px;
  border: 0;
  background: #ffffff;
  display: block;
}

.tool-session-shell__frame[hidden] {
  display: none;
}

.training-request-form {
  display: grid;
  gap: 18px;
  margin: 24px 26px 26px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

.training-request-form__section {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 18px;
  border: 1px solid #d7d7d7;
  border-radius: 14px;
  background: #fbfbfb;
}

.training-request-form__section legend {
  padding: 0 8px;
  color: #202020;
  font: 800 14px/1.2 'Playfair Display', serif;
  font-style: italic;
}

.training-request-form__section h2 {
  margin: 0;
  color: #202020;
  font: 800 14px/1.2 'Playfair Display', serif;
  font-style: italic;
}

.training-request-form__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.training-request-form__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.training-request-form__checks label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #303030;
  font: 700 12px/1.35 'Work Sans', sans-serif;
}

.training-request-form__checks input {
  accent-color: #0ecb5a;
}

.training-request-form__hint {
  margin: 0;
  color: #515151;
  font: 500 12px/1.55 'Work Sans', sans-serif;
}

.training-status__cancel {
  min-height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  background: #b3261e;
  color: #ffffff;
  box-shadow: 0 5px 11px rgba(179, 38, 30, 0.18);
  font: 800 12px/1 'Work Sans', sans-serif;
  cursor: pointer;
}

.training-status__cancel:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.dashboard-inline-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: #515151;
  font: 700 13px/1.45 'Work Sans', sans-serif;
}

.dashboard-inline-status[data-tone='success'] {
  color: #0a8f41;
}

.dashboard-inline-status[data-tone='error'] {
  color: #b3261e;
}

@media (max-width: 920px) {
  .training-request-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .training-request-form {
    margin: 18px 16px 20px;
    padding: 0;
  }

  .training-request-form__grid {
    grid-template-columns: 1fr;
  }
}

.admin-login-page {
  min-height: 100vh;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 184, 84, 0.08), transparent 24%),
    linear-gradient(135deg, #f4f4f4 0%, #ededed 100%);
}

.admin-shell {
  min-height: 100vh;
  background: #efefef;
  color: #202020;
  font-family: 'Work Sans', sans-serif;
}

.admin-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(22px, 4vw, 54px);
  background: #272727;
  color: #ffffff;
}

.admin-header__brand {
  color: #ffffff;
  text-decoration: none;
  font: 400 32px/1 'Yeseva One', serif;
}

.admin-header__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font: 600 13px/1.3 'Work Sans', sans-serif;
}

.admin-header__meta button,
.admin-toolbar button,
.admin-table__actions button {
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  font: 700 12px/1 'Work Sans', sans-serif;
  transition: transform 0.14s ease, box-shadow 0.14s ease, opacity 0.14s ease;
}

.admin-header__meta button {
  min-width: 94px;
  height: 34px;
  background: #12c960;
  color: #ffffff;
  box-shadow: 0 7px 16px rgba(18, 201, 96, 0.22);
}

.admin-header__meta button:hover,
.admin-toolbar button:hover,
.admin-table__actions button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.admin-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: calc(100vh - 72px);
}

.admin-sidebar {
  padding: 34px 28px;
  background: #dbdbdb;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.admin-sidebar__label {
  margin: 0 0 16px;
  color: #515151;
  font: 700 11px/1.2 'Work Sans', sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.admin-sidebar__link {
  display: block;
  padding: 13px 16px;
  border-radius: 10px;
  color: #111111;
  text-decoration: none;
  font: 700 14px/1.2 'Work Sans', sans-serif;
}

.admin-sidebar__link.is-active {
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.admin-content {
  padding: clamp(28px, 4vw, 52px);
  min-width: 0;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  margin: 0 0 12px;
}

.admin-toolbar p,
.admin-login-page [data-admin-status] {
  margin: 0;
  color: #515151;
  font: 700 13px/1.45 'Work Sans', sans-serif;
}

.admin-toolbar p[data-tone='error'],
.admin-login-page [data-admin-status][data-tone='error'] {
  color: #b3261e;
}

.admin-toolbar p[data-tone='neutral'],
.admin-login-page [data-admin-status][data-tone='neutral'] {
  color: #515151;
}

.admin-toolbar button {
  min-width: 112px;
  height: 38px;
  background: #515151;
  color: #ffffff;
  box-shadow: 0 7px 14px rgba(81, 81, 81, 0.2);
}

.admin-filter-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.admin-filter-row select {
  height: 38px;
  border: 1px solid #b9b9b9;
  border-radius: 9px;
  background: #ffffff;
  color: #333333;
  padding: 0 10px;
  font: 700 12px/1 'Work Sans', sans-serif;
}

.admin-content .dashboard-frame--scrollable {
  height: 520px;
}

.admin-table {
  min-width: 1040px;
}

.admin-table th,
.admin-table td {
  vertical-align: top;
}

.admin-table td strong,
.admin-table td span {
  display: block;
}

.admin-table td strong {
  margin-bottom: 4px;
}

.admin-table td span,
.admin-table__note {
  color: #515151;
  font-size: 11px;
  line-height: 1.35;
}

.admin-table__empty {
  padding: 18px !important;
  color: #515151;
  font-weight: 600;
  border-left: 0 !important;
  border-right: 0 !important;
}

.admin-status {
  display: inline-flex !important;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: 999px;
  color: #ffffff !important;
  background: #515151;
  text-transform: capitalize;
  font: 700 11px/1 'Work Sans', sans-serif !important;
}

.admin-status--button {
  border: 0;
  cursor: pointer;
  box-shadow: 0 5px 11px rgba(0, 0, 0, 0.16);
}

.admin-status--pending {
  background: #a46b00;
}

.admin-status--queued {
  background: #a46b00;
}

.admin-status--running {
  background: #0b7fab;
}

.admin-status--succeeded {
  background: #00a950;
}

.admin-status--failed {
  background: #b3261e;
}

.admin-status--approved,
.admin-status--processing {
  background: #0b7fab;
}

.admin-status--paid {
  background: #00a950;
}

.admin-status--rejected,
.admin-status--cancelled {
  background: #b3261e;
}

.admin-table__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-table__actions button {
  min-height: 28px;
  padding: 0 10px;
  background: #515151;
  color: #ffffff;
  box-shadow: 0 5px 11px rgba(0, 0, 0, 0.16);
}

.admin-table__actions [data-admin-action='approve'] {
  background: #12c960;
}

.admin-table__actions [data-admin-image-action='approve'] {
  background: #12c960;
  box-shadow: 0 5px 11px rgba(18, 201, 96, 0.22);
}

.admin-table__actions [data-admin-artist-action='approve'] {
  background: #12c960;
  box-shadow: 0 5px 11px rgba(18, 201, 96, 0.22);
}

.admin-table__actions [data-admin-action='paid'] {
  background: #0b7fab;
}

.admin-table__actions [data-admin-action='reject'] {
  background: #b3261e;
}

.admin-table__actions [data-admin-image-action='reject'] {
  background: #b3261e;
  box-shadow: 0 5px 11px rgba(179, 38, 30, 0.22);
}

.admin-table__actions [data-admin-artist-action='reject'] {
  background: #b3261e;
  box-shadow: 0 5px 11px rgba(179, 38, 30, 0.22);
}

.admin-table__actions [data-admin-training-action='start'] {
  background: #0b7fab;
}

.admin-table__actions [data-admin-training-action='complete'] {
  background: #12c960;
  box-shadow: 0 5px 11px rgba(18, 201, 96, 0.22);
}

.admin-table__actions [data-admin-training-action='fail'] {
  background: #b3261e;
  box-shadow: 0 5px 11px rgba(179, 38, 30, 0.22);
}

.admin-training-table {
  min-width: 1180px;
}

.admin-training-table th:nth-child(1) {
  width: 18%;
}

.admin-training-table th:nth-child(2) {
  width: 16%;
}

.admin-training-table th:nth-child(3) {
  width: 16%;
}

.admin-training-table th:nth-child(4) {
  width: 20%;
}

.admin-training-table th:nth-child(5) {
  width: 13%;
}

.admin-training-table th:nth-child(6) {
  width: 17%;
}

.admin-training-actions {
  align-items: flex-start;
}

.admin-table__actions button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
  transform: none;
  box-shadow: none;
}

.admin-image-table {
  min-width: 860px;
  table-layout: fixed;
}

.admin-image-table th:nth-child(1),
.admin-image-table td:nth-child(1) {
  width: 22%;
}

.admin-image-table th:nth-child(2),
.admin-image-table td:nth-child(2) {
  width: 20%;
}

.admin-image-table th:nth-child(3),
.admin-image-table td:nth-child(3) {
  width: 10%;
}

.admin-image-table th:nth-child(4),
.admin-image-table td:nth-child(4) {
  width: 10%;
}

.admin-image-table th:nth-child(5),
.admin-image-table td:nth-child(5) {
  width: 13%;
}

.admin-image-table th:nth-child(6),
.admin-image-table td:nth-child(6) {
  width: 13%;
}

.admin-image-table th:nth-child(7),
.admin-image-table td:nth-child(7) {
  width: 13%;
}

.admin-image-table .admin-table__actions {
  flex-wrap: nowrap;
  align-items: flex-start;
}

.admin-image-table__image-cell {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.admin-image-table__thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  background: #eeeeee;
}

.admin-tag-count {
  min-width: 48px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: #e0e0e0;
  color: #333333;
  font: 800 12px/1 'Work Sans', sans-serif;
  box-shadow: 0 5px 11px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.admin-tag-count::after {
  content: ' tags';
  font-weight: 600;
}

.admin-artist-table {
  min-width: 1120px;
  table-layout: fixed;
}

.admin-artist-table th:nth-child(1),
.admin-artist-table td:nth-child(1) {
  width: 15%;
}

.admin-artist-table th:nth-child(2),
.admin-artist-table td:nth-child(2) {
  width: 20%;
}

.admin-artist-table th:nth-child(3),
.admin-artist-table td:nth-child(3) {
  width: 18%;
}

.admin-artist-table th:nth-child(4),
.admin-artist-table td:nth-child(4) {
  width: 15%;
}

.admin-artist-table th:nth-child(5),
.admin-artist-table td:nth-child(5),
.admin-artist-table th:nth-child(6),
.admin-artist-table td:nth-child(6) {
  width: 10%;
}

.admin-artist-table th:nth-child(7),
.admin-artist-table td:nth-child(7) {
  width: 12%;
}

.admin-artist-table td {
  overflow-wrap: anywhere;
}

.admin-artist-table .admin-table__actions {
  flex-wrap: nowrap;
  align-items: flex-start;
}

.admin-decision-modal__panel {
  width: min(560px, calc(100vw - 36px));
}

.admin-decision-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.admin-decision-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(81, 81, 81, 0.16);
}

.admin-decision-list dt,
.admin-decision-list dd {
  margin: 0;
}

.admin-decision-list dt {
  color: #515151;
  font: 800 12px/1.3 'Work Sans', sans-serif;
}

.admin-decision-list dd {
  color: #333333;
  font: 500 13px/1.45 'Work Sans', sans-serif;
}

.admin-tag-modal__panel {
  width: min(560px, calc(100vw - 36px));
}

.admin-tag-modal__panel > p {
  margin-top: -4px;
  font-weight: 700;
}

.admin-tag-editor {
  display: grid;
  gap: 10px;
  min-width: 220px;
}

.admin-tag-editor__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 30px;
}

.admin-tag-chip {
  border: 0;
  border-radius: 999px;
  background: #e0e0e0;
  color: #414141;
  padding: 6px 10px;
  font: 700 11px/1 'Work Sans', sans-serif;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.admin-tag-editor__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.admin-tag-editor__row input {
  min-width: 0;
  height: 34px;
  border: 1px solid #bdbdbd;
  border-radius: 8px;
  background: #ffffff;
  color: #333333;
  padding: 0 10px;
  font: 400 12px/1 'Work Sans', sans-serif;
}

.admin-tag-editor__row button {
  min-width: 58px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: #515151;
  color: #ffffff;
  font: 700 11px/1 'Work Sans', sans-serif;
  cursor: pointer;
}

.admin-tag-editor__hint {
  color: #696969;
  font: 600 11px/1.35 'Work Sans', sans-serif;
}

.admin-tag-editor__hint[data-tone='error'] {
  color: #b3261e;
}

@media (max-width: 960px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
    background: var(--page-light);
  }

  .dashboard-sidebar {
    background: #dbdbdb;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .dashboard-sidebar__inner {
    position: static;
    padding: clamp(40px, calc(var(--navbar-height) - 51.2px), 56px) 20px 20px;
  }

  .dashboard-content {
    padding: 24px 20px 36px;
  }

  .dashboard-content--workspace {
    padding: 24px 20px 36px;
  }

  .workspace-explorer {
    min-height: 520px;
  }

  .workspace-explorer__topbar {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 12px 16px;
  }

  .workspace-explorer__toolbar {
    justify-content: flex-start;
  }

  .workspace-tool-dock {
    align-items: flex-start;
    flex-direction: column;
  }

  .workspace-tool-dock__actions {
    justify-content: flex-start;
  }

  .workspace-explorer__table-shell {
    height: 462px;
  }

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

  .dashboard-action-btn {
    justify-self: start;
  }

  .dashboard-content--editor {
    padding-top: 16px;
  }

  .permission-request-page {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: none;
    justify-content: start;
  }

  .permission-request-page__image-shell {
    width: min(100%, 240px);
  }

  .permission-request-page__panel-column,
  .permission-request-page__toolbar {
    width: 100%;
  }

  .developer-profile-editor {
    --developer-profile-upload-height: 251px;
    --developer-profile-panel-height: 208px;
  }

  .developer-profile-editor__banner-upload {
    height: var(--developer-profile-upload-height);
  }

  .developer-profile-editor__banner {
    padding: 32px 28px 28px;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 28px;
  }

  .developer-profile-editor__profile-trigger {
    width: 96px;
    height: 96px;
  }

  .user-generated-grid {
    grid-template-columns: 1fr;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    padding: 18px 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .admin-content {
    padding: 24px 20px 36px;
  }
}

@media (max-width: 640px) {
  .dashboard-sidebar__inner {
    padding: clamp(40px, calc(var(--navbar-height) - 51.2px), 56px) 16px 20px;
  }

  .dashboard-sidebar__switch-menu {
    left: 0;
    top: calc(100% - 1.6px);
  }

  .dashboard-table-wrap {
    overflow-x: auto;
  }

  .dashboard-table {
    min-width: 680px;
  }

  .workspace-explorer__table {
    min-width: 620px;
  }

  .workspace-explorer__grid {
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    padding: 14px;
  }

  .workspace-explorer__tile {
    width: 100%;
    min-height: 242px;
  }

  .workspace-explorer__tile-preview {
    width: 100%;
    height: 180px;
  }

  .workspace-explorer__table th,
  .workspace-explorer__table td {
    padding-left: 16px;
    padding-right: 16px;
  }

  .permission-request-page__toolbar {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .permission-modal__body {
    padding: 20px 20px 16px;
    font-size: 15px;
  }

  .permission-modal__actions {
    padding: 0 20px 20px;
    flex-wrap: wrap;
  }

  .balance-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .balance-summary__actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .generated-card {
    grid-template-columns: 1fr;
  }

  .generated-card__image img {
    height: 220px;
  }

  .generated-meta {
    grid-template-columns: 1fr;
  }

  .developer-profile-editor {
    --developer-profile-upload-height: 225px;
    --developer-profile-panel-height: 196px;
    gap: 0;
  }

  .developer-profile-editor__banner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 20px;
    padding: 24px 18px 24px;
    text-align: center;
  }

  .developer-profile-editor__banner-upload {
    height: var(--developer-profile-upload-height);
  }

  .developer-profile-editor__bio-card {
    width: 100%;
    padding: 14px 16px 16px;
  }

  .developer-profile-editor__name-input {
    font-size: 17px;
    text-align: center;
  }

  .developer-profile-editor__description-input {
    min-height: 96px;
    text-align: left;
  }

  .developer-profile-editor__actions {
    justify-content: flex-end;
  }

  .admin-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 20px;
  }

  .admin-header__meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Responsive hardening pass for dashboard-heavy MVP flows. */
@media (max-width: 1200px) {
  .dashboard-content {
    padding: 48px 48px 44px;
  }

  .dashboard-content--workspace {
    padding: 28px 32px 44px;
  }
}

.dashboard-table-wrap,
.dashboard-frame__body--scroll {
  overflow-x: auto;
}

@media (max-width: 760px) {
  .artist-verification-card__status h2 {
    white-space: normal;
  }

  .publish-model-pricing__row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .publish-model-pricing__row strong {
    white-space: normal;
  }

  .tool-session-shell__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .tool-session-shell__header .workspace-explorer__action {
    align-self: flex-start;
  }
}

@media (max-width: 640px) {
  .dashboard-content,
  .dashboard-content--workspace {
    padding: 22px 14px 34px;
  }

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

  .dashboard-action-btn {
    width: 100%;
    min-width: 0;
    justify-self: stretch;
  }

  .dashboard-panel,
  .dashboard-frame,
  .artist-verification-card,
  .training-tool-shell {
    border-width: 5px;
  }

  .image-upload-form,
  .publish-model-form,
  .publish-assets {
    padding: 16px;
  }

  .image-upload-metadata label,
  .image-upload-defaults {
    grid-template-columns: 1fr;
  }

  .image-upload-metadata label small {
    grid-column: 1;
  }

  .image-upload-tag-composer__entry,
  .admin-tag-editor__row {
    grid-template-columns: 1fr;
  }

  .image-upload-tag-composer__add,
  .admin-tag-editor__row button {
    width: 100%;
  }

  .permission-request-page__toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .permission-request-page__code,
  .permission-request-page__copy-code,
  .permission-request-page__change-code {
    width: 100%;
    min-width: 0;
  }

  .workspace-modal {
    padding: 12px;
  }

  .workspace-modal__card {
    max-height: calc(100vh - 24px);
    padding: 20px;
    border-width: 5px;
  }

  .workspace-modal__card h2 {
    font-size: 24px;
  }

  .workspace-text-editor {
    min-height: 240px;
  }

  .tool-shell-main {
    padding: 14px 10px 34px;
  }

  .tool-session-shell__header {
    padding: 18px;
  }

  .tool-session-shell h1 {
    font-size: 28px;
  }

  .tool-session-shell__notice {
    padding: 13px 18px;
  }

  .training-request-form__section {
    padding: 14px;
  }
}

@media (max-width: 420px) {
  .dashboard-action-btn,
  .workspace-explorer__action,
  .permission-modal__confirm,
  .permission-modal__cancel {
    width: 100%;
  }

  .workspace-explorer__toolbar,
  .workspace-tool-dock__actions,
  .permission-modal__actions,
  .artist-verification-form__actions,
  .workspace-modal__actions {
    width: 100%;
  }

  .workspace-explorer__toolbar,
  .workspace-tool-dock__actions,
  .permission-modal__actions,
  .artist-verification-form__actions,
  .workspace-modal__actions {
    justify-content: stretch;
  }
}
