:root {
  --ink: #f3f7f6;
  --muted: #c9ddd9;
  --paper: #000000;
  --white: #0d1211;
  --ice: #111f1d;
  --evergreen: #70d6c8;
  --evergreen-2: #0b2d2b;
  --red: #ff6f62;
  --red-dark: #e1574b;
  --gold: #f4b942;
  --snow: #ffffff;
  --brass: #c79138;
  --workshop-panel: #101816;
  --workshop-panel-2: #14221f;
  --line: #22302e;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 8%, rgba(112, 214, 200, 0.08), transparent 24rem),
    radial-gradient(circle at 82% 12%, rgba(255, 111, 98, 0.075), transparent 22rem),
    linear-gradient(180deg, #000000 0%, #050807 48%, #000000 100%);
  font-family: "Quicksand", Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 0.85rem 0.9rem;
}

textarea {
  resize: vertical;
}

label {
  display: grid;
  gap: 0.45rem;
  color: var(--evergreen-2);
  font-weight: 700;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--white);
  color: var(--evergreen);
  border: 2px solid var(--evergreen);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background:
    linear-gradient(180deg, rgba(10, 16, 15, 0.98), rgba(0, 0, 0, 0.94));
  border-bottom: 1px solid rgba(199, 145, 56, 0.35);
  backdrop-filter: blur(14px);
}

.topbar {
  position: relative;
  background:
    linear-gradient(90deg, var(--red), var(--gold) 38%, var(--evergreen));
  color: #08110f;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 900;
}

.topbar a {
  display: block;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0.55rem 1rem;
  text-decoration: none;
}

.topbar .topbar-tool {
  position: absolute;
  top: 0;
  right: max(1rem, calc((100vw - var(--content)) / 2));
  bottom: 0;
  display: flex;
  align-items: center;
  width: auto;
  max-width: none;
  margin: 0;
  color: #08110f;
  font-weight: 800;
}

.topbar .topbar-main {
  padding-right: 10rem;
}

.topbar a:hover {
  text-decoration: underline;
}

.nav-wrap {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: 0.8rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 160px;
  max-width: 245px;
}

.brand img {
  width: 100%;
  height: auto;
}

.primary-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem;
}

.primary-nav a {
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 700;
  padding: 0.72rem 0.85rem;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  background: rgba(112, 214, 200, 0.12);
  color: var(--snow);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.star-guide-dock-wrap {
  position: relative;
  flex: 0 0 auto;
}

.star-guide-dock {
  --star-guide-color: #70d6c8;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.52rem;
  align-items: center;
  max-width: 9rem;
  min-height: 3rem;
  border: 1px solid color-mix(in srgb, var(--star-guide-color) 55%, rgba(255, 255, 255, 0.08));
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 25%, color-mix(in srgb, var(--star-guide-color) 24%, transparent), transparent 4rem),
    rgba(6, 18, 17, 0.9);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  padding: 0.34rem 0.62rem 0.34rem 0.38rem;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.star-guide-dock:hover,
.star-guide-dock:focus-visible {
  border-color: color-mix(in srgb, var(--star-guide-color) 80%, #ffffff 10%);
  box-shadow:
    0 12px 30px color-mix(in srgb, var(--star-guide-color) 30%, rgba(0, 0, 0, 0.3)),
    inset 0 0 0 1px color-mix(in srgb, var(--star-guide-color) 22%, transparent);
  outline: none;
  transform: translateY(-1px);
}

.star-guide-dock.is-star-guide-blinking,
.star-guide-dock-wrap.is-star-guide-blinking .star-guide-dock {
  animation: star-guide-blink 460ms ease-in-out var(--star-guide-blink-count, 5);
}

.star-guide-dock-wrap.is-star-guide-blinking .star-guide-menu-item.is-current {
  animation: star-guide-current-blink 460ms ease-in-out var(--star-guide-blink-count, 5);
}

@keyframes star-guide-blink {
  0%,
  100% {
    border-color: color-mix(in srgb, var(--star-guide-color) 55%, rgba(255, 255, 255, 0.08));
    box-shadow: none;
    transform: translateY(0) scale(1);
  }

  45%,
  55% {
    border-color: color-mix(in srgb, var(--star-guide-color) 88%, #ffffff 12%);
    box-shadow:
      0 0 0 0.22rem color-mix(in srgb, var(--star-guide-color) 28%, transparent),
      0 16px 34px color-mix(in srgb, var(--star-guide-color) 36%, rgba(0, 0, 0, 0.32));
    transform: translateY(-1px) scale(1.035);
  }
}

@keyframes star-guide-current-blink {
  0%,
  100% {
    border-color: color-mix(in srgb, var(--star-guide-color) 58%, #f4b942 22%);
    box-shadow: none;
    transform: translateY(0) scale(1);
  }

  45%,
  55% {
    border-color: color-mix(in srgb, var(--star-guide-color) 88%, #ffffff 12%);
    box-shadow:
      0 0 0 0.16rem color-mix(in srgb, var(--star-guide-color) 24%, transparent),
      0 14px 30px color-mix(in srgb, var(--star-guide-color) 34%, rgba(0, 0, 0, 0.28));
    transform: translateY(-1px) scale(1.02);
  }
}

.star-guide-dock img {
  width: 2.25rem;
  aspect-ratio: 1;
  border: 2px solid color-mix(in srgb, var(--star-guide-color) 72%, #ffffff 10%);
  border-radius: 50%;
  box-shadow: 0 0 0 0.22rem color-mix(in srgb, var(--star-guide-color) 18%, transparent);
  object-fit: cover;
}

.star-guide-dock span,
.star-guide-dock strong,
.star-guide-dock small {
  display: block;
  min-width: 0;
}

.star-guide-dock strong,
.star-guide-dock small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.star-guide-dock strong {
  color: color-mix(in srgb, var(--star-guide-color) 86%, #ffffff 10%);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.05;
}

.star-guide-dock small {
  color: color-mix(in srgb, var(--star-guide-color) 72%, #ffffff 16%);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.1;
}

.star-guide-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  z-index: 40;
  width: min(19rem, calc(100vw - 2rem));
  border: 1px solid color-mix(in srgb, var(--star-guide-color, #70d6c8) 34%, rgba(255, 255, 255, 0.12));
  border-radius: 8px;
  background:
    radial-gradient(circle at 14% 8%, color-mix(in srgb, var(--star-guide-color, #70d6c8) 20%, transparent), transparent 8rem),
    linear-gradient(160deg, rgba(14, 40, 35, 0.98), rgba(8, 12, 12, 0.98));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.42);
  color: #ffffff;
  padding: 0.75rem;
}

.star-guide-menu[hidden] {
  display: none;
}

.star-guide-menu-head,
.star-guide-menu-label {
  margin: 0 0 0.5rem;
  color: color-mix(in srgb, var(--star-guide-color, #70d6c8) 78%, #ffffff 14%);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.star-guide-menu-label {
  margin-top: 0.65rem;
}

.star-guide-menu-item {
  position: relative;
  display: grid;
  gap: 0.2rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--star-guide-color, #70d6c8) 22%, transparent);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  color: #d8e4e1;
  padding: 0.62rem 0.65rem 0.62rem 0.85rem;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.star-guide-menu-item + .star-guide-menu-item {
  margin-top: 0.45rem;
}

.star-guide-menu-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: color-mix(in srgb, var(--star-guide-color, #70d6c8) 76%, transparent);
}

.star-guide-menu-item:hover,
.star-guide-menu-item:focus-visible {
  border-color: color-mix(in srgb, var(--star-guide-color, #70d6c8) 68%, #ffffff 8%);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--star-guide-color, #70d6c8) 22%, rgba(0, 0, 0, 0.25));
  outline: none;
  transform: translateY(-1px);
}

.star-guide-menu-item.is-current {
  border-color: color-mix(in srgb, var(--star-guide-color, #70d6c8) 58%, #f4b942 22%);
  background:
    radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--star-guide-color, #70d6c8) 20%, transparent), transparent 6rem),
    rgba(244, 185, 66, 0.08);
}

.star-guide-menu-item span,
.star-guide-menu-item strong,
.star-guide-menu-item small {
  display: block;
  min-width: 0;
}

.star-guide-menu-item span {
  color: color-mix(in srgb, var(--star-guide-color, #70d6c8) 78%, #ffffff 12%);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.star-guide-menu-item strong {
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.12;
}

.star-guide-menu-item small {
  color: #d8e4e1;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.25;
}

.star-guide-menu-reset {
  position: relative;
  display: grid;
  gap: 0.2rem;
  width: 100%;
  margin-top: 0.65rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  color: #d8e4e1;
  cursor: pointer;
  font: inherit;
  padding: 0.62rem 0.65rem 0.62rem 0.85rem;
  text-align: left;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.star-guide-menu-reset::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: color-mix(in srgb, var(--star-guide-color, #70d6c8) 58%, transparent);
}

.star-guide-menu-reset:hover,
.star-guide-menu-reset:focus-visible {
  border-color: color-mix(in srgb, var(--star-guide-color, #70d6c8) 58%, #ffffff 8%);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--star-guide-color, #70d6c8) 18%, rgba(0, 0, 0, 0.25));
  outline: none;
  transform: translateY(-1px);
}

.star-guide-menu-reset:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.star-guide-menu-reset span,
.star-guide-menu-reset strong,
.star-guide-menu-reset small {
  display: block;
  min-width: 0;
}

.star-guide-menu-reset span {
  color: color-mix(in srgb, var(--star-guide-color, #70d6c8) 70%, #ffffff 12%);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.star-guide-menu-reset strong {
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.12;
}

.star-guide-menu-reset small {
  color: #d8e4e1;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.25;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 0.6rem;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--evergreen);
  margin: 5px 0;
}

.hero {
  min-height: calc(48svh - 70px);
  max-height: 490px;
  position: relative;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(4, 12, 12, 0.72) 42%, rgba(4, 12, 12, 0.18) 100%),
    url("../images/home-page-hero-background.webp") center center / cover no-repeat,
    #081211;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(244, 185, 66, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(112, 214, 200, 0.055) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.7), transparent 74%);
  opacity: 0.45;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  height: 10px;
  background:
    linear-gradient(90deg, var(--red) 0 16%, var(--gold) 16% 31%, var(--evergreen) 31% 48%, #ffffff 48% 54%, var(--red) 54% 70%, var(--gold) 70% 84%, var(--evergreen) 84% 100%);
}

.hero-content {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: 2.2rem 1.25rem 3rem;
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: inline-flex;
  border: 1px solid rgba(244, 185, 66, 0.42);
  border-radius: 999px;
  background: rgba(244, 185, 66, 0.09);
  color: var(--gold);
  padding: 0.4rem 0.65rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 1rem;
  font-size: 3rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  color: #ffffff;
  font-size: 4.2rem;
  text-shadow: 0 2px 22px rgba(112, 214, 200, 0.18);
}

h2 {
  color: var(--ink);
  font-size: 2.45rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.16rem;
}

.hero-actions,
.newsletter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.1;
  padding: 0.85rem 1rem;
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(180deg, #ff7f72, var(--red-dark));
  color: var(--snow);
  box-shadow: 0 8px 18px rgba(255, 111, 98, 0.22);
}

.button-primary:hover {
  background: linear-gradient(180deg, #ff9186, #d94a3f);
}

.button-logo-blue {
  background: linear-gradient(180deg, #58bfdd, #4eb5d6);
  color: #06171d;
  box-shadow: 0 8px 18px rgba(87, 201, 238, 0.24);
}

.button-logo-blue:hover {
  background: linear-gradient(180deg, #6ec7d6, #4eb5d6);
  box-shadow: 0 10px 22px rgba(87, 201, 238, 0.32);
}

.button-fun-rainbow {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(90deg, #ff6f62, #f4b942 34%, #70d6c8 68%, #58bfdd);
  color: #071312;
  box-shadow:
    0 10px 24px rgba(244, 185, 66, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.button-fun-rainbow:hover {
  background:
    linear-gradient(90deg, #ff8176, #ffd05f 34%, #89eadc 68%, #6ec7d6);
  box-shadow:
    0 12px 28px rgba(112, 214, 200, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

.button-secondary {
  background: rgba(16, 24, 22, 0.86);
  color: var(--snow);
  border-color: rgba(112, 214, 200, 0.28);
}

.button-secondary:hover {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(244, 185, 66, 0.12);
}

.quick-links {
  width: min(calc(100% - 2.5rem), var(--content));
  margin: -1.2rem auto 0;
  padding: 0 !important;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 4;
}

.quick-links div {
  min-height: 116px;
  display: grid;
  gap: 0.3rem;
  align-content: center;
  border: 1px solid rgba(199, 145, 56, 0.34);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(20, 34, 31, 0.96), rgba(13, 18, 17, 0.98));
  box-shadow: var(--shadow);
  padding: 1.1rem;
  position: relative;
  overflow: hidden;
}

.quick-links div::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: linear-gradient(180deg, var(--red), var(--gold), var(--evergreen));
}

.quick-links strong {
  color: var(--snow);
  font-size: 1.45rem;
  line-height: 1.1;
}

.quick-links span {
  color: var(--muted);
}

.learning-center {
  padding-top: 4.5rem;
}

.learning-topics {
  width: min(100%, var(--content));
  margin: 0 auto 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.learning-topics a {
  border: 1px solid rgba(112, 214, 200, 0.3);
  border-radius: 999px;
  background: rgba(13, 18, 17, 0.84);
  color: var(--snow);
  font-weight: 800;
  padding: 0.55rem 0.85rem;
  text-decoration: none;
}

.learning-topics a:hover {
  border-color: var(--gold);
  background: rgba(244, 185, 66, 0.12);
}

.section {
  padding: 5.5rem 1.25rem;
  position: relative;
}

.section[id],
.hero[id] {
  scroll-margin-top: 130px;
}

.section-light {
  background:
    radial-gradient(circle at 8% 18%, rgba(112, 214, 200, 0.055), transparent 22rem),
    var(--paper);
}

.section-muted {
  background:
    radial-gradient(circle at 82% 8%, rgba(112, 214, 200, 0.16), transparent 22rem),
    linear-gradient(180deg, rgba(21, 48, 43, 0.98), rgba(8, 16, 15, 0.98));
}

.printer-101-section {
  background:
    radial-gradient(circle at 12% 12%, rgba(244, 185, 66, 0.055), transparent 20rem),
    linear-gradient(180deg, rgba(9, 18, 17, 0.98), rgba(4, 8, 8, 0.98));
}

.section-heading {
  width: min(100%, var(--content));
  margin: 0 auto 2rem;
  border-left: 4px solid var(--gold);
  padding-left: 1rem;
}

.section-heading h2,
.section-heading p {
  max-width: 760px;
}

.section-heading p:not(.eyebrow),
.printer-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading.compact {
  margin-bottom: 1.5rem;
}

.card-grid,
.store-grid,
.material-grid,
.resource-grid,
.gallery-grid {
  width: min(100%, var(--content));
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.services-grid,
.resource-grid {
  grid-template-columns: repeat(4, 1fr);
}

.service-card,
.store-card,
.material-card,
.resource-card,
.gallery-card {
  border: 1px solid rgba(112, 214, 200, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(20, 34, 31, 0.96), rgba(13, 18, 17, 0.98));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
  overflow: hidden;
}

.service-card,
.store-card,
.material-card,
.resource-card {
  padding: 1.15rem;
  position: relative;
}

.service-card::before,
.store-card::before,
.material-card::before,
.resource-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--evergreen));
}

.service-card {
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 0.7rem;
}

.service-card.workshop-directory-card {
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card.workshop-directory-card:hover,
.service-card.workshop-directory-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(112, 232, 222, 0.55);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(112, 232, 222, 0.18);
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.service-card p,
.store-card p,
.material-card p,
.resource-card p {
  color: var(--muted);
}

.split-section {
  background:
    radial-gradient(circle at 78% 12%, rgba(88, 191, 221, 0.18), transparent 24rem),
    linear-gradient(180deg, rgba(9, 25, 29, 0.98), rgba(4, 10, 12, 0.98));
}

.store-grid {
  grid-template-columns: 1fr;
}

.store-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  align-items: stretch;
  gap: 1rem;
}

.store-copy {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.store-label {
  width: max-content;
  border: 1px solid rgba(244, 185, 66, 0.36);
  border-radius: 999px;
  background: rgba(244, 185, 66, 0.1);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.6rem;
  text-transform: uppercase;
}

.store-card h3 {
  margin-bottom: 0;
}

.store-card h3,
.material-card h3,
.resource-card h3,
.service-card h3 {
  color: var(--snow);
}

.store-meta {
  display: grid;
  gap: 0.65rem;
  margin-top: -0.25rem;
  color: var(--muted);
}

.store-meta span {
  display: block;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.store-map {
  width: 100%;
  height: 374px;
  border: 1px solid rgba(112, 214, 200, 0.2);
  border-radius: var(--radius);
  background: #07100f;
}

.material-finder {
  width: min(100%, var(--content));
  margin: 0 auto;
}

.finder-controls {
  display: grid;
  gap: 0.5rem;
  max-width: 520px;
  margin-bottom: 1rem;
}

.finder-controls label {
  font-size: 0.95rem;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.filter-chip {
  border: 1px solid rgba(112, 214, 200, 0.24);
  border-radius: 999px;
  background: rgba(13, 18, 17, 0.9);
  color: var(--snow);
  cursor: pointer;
  font-weight: 800;
  padding: 0.55rem 0.85rem;
}

.filter-chip.is-active {
  background: linear-gradient(180deg, var(--evergreen), #48b9aa);
  border-color: var(--evergreen);
  color: #06110f;
}

.material-grid {
  grid-template-columns: repeat(3, 1fr);
}

.material-card {
  min-height: 220px;
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.material-card[role="button"] {
  cursor: pointer;
}

.material-card[role="button"]:focus-visible,
.material-card.is-selected,
.printer-setup-card.is-recommended {
  border-color: rgba(244, 185, 66, 0.58);
  box-shadow:
    0 0 0 2px rgba(244, 185, 66, 0.18),
    0 16px 34px rgba(0, 0, 0, 0.26);
}

.printer-101-note {
  width: min(100%, var(--content));
  margin: -0.6rem auto 1rem;
  color: var(--muted);
  font-weight: 800;
}

.printer-setup-card {
  min-height: 250px;
}

.printer-setup-type {
  color: var(--evergreen);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.printer-fit-note {
  border: 1px solid rgba(112, 214, 200, 0.2);
  border-radius: var(--radius);
  background: rgba(112, 214, 200, 0.08);
  color: var(--snow);
  font-weight: 800;
  padding: 0.75rem;
}

.swatch-row {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 0.28rem;
}

.swatch {
  width: 100%;
  aspect-ratio: 1;
  min-width: 12px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.32);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  border: 1px solid rgba(244, 185, 66, 0.22);
  border-radius: 999px;
  background: rgba(244, 185, 66, 0.08);
  color: var(--evergreen);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.3rem 0.55rem;
}

.printer-section,
.newsletter-section {
  width: min(100%, var(--content));
  margin: 0 auto;
  display: grid;
  align-items: center;
  gap: 2rem;
}

.printer-section {
  grid-template-columns: 0.9fr 1.1fr;
}

.printer-copy {
  max-width: 560px;
}

.check-list {
  display: grid;
  gap: 0.55rem;
  margin: 1.4rem 0 1.6rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  border-left: 4px solid var(--gold);
  color: var(--ink);
  font-weight: 700;
  padding-left: 0.7rem;
}

.printer-panel {
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 420px;
  border-radius: var(--radius);
  border: 1px solid rgba(244, 185, 66, 0.25);
  background:
    radial-gradient(circle at 50% 30%, rgba(112, 214, 200, 0.1), transparent 16rem),
    linear-gradient(135deg, rgba(244, 185, 66, 0.16), rgba(255, 111, 98, 0.08)),
    #07100f;
  overflow: hidden;
}

.printer-panel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
}

.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-card {
  min-height: 270px;
  position: relative;
  background: var(--evergreen-2);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gallery-card span {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  border-radius: var(--radius);
  background: rgba(12, 44, 42, 0.86);
  color: var(--white);
  font-weight: 800;
  padding: 0.55rem 0.7rem;
}

.reviews-section {
  min-height: 720px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.24)),
    url("../images/reviews-trenda-filament.png") 99.5652% 0% / cover no-repeat,
    #050807;
  color: var(--snow);
  padding: 3.5rem 1.25rem 3.2rem;
}

.reviews-inner {
  width: min(100%, var(--content));
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

.reviews-section h2 {
  margin: 0;
  text-align: center;
}

.reviews-section h2 span {
  display: inline-block;
  width: min(100%, 580px);
  background: #ffffff;
  color: #111111;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.54em;
  line-height: 1.2;
  padding: 0.55rem 1.4rem;
}

.reviews-summary {
  width: min(100%, 1016px);
  min-height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--snow);
  text-decoration: none;
}

.reviews-score {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--snow);
  font-family: Muli, system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 900;
}

.reviews-business {
  display: grid;
  gap: 0.1rem;
}

.reviews-business strong {
  color: var(--snow);
  font-size: 1.38rem;
  font-weight: 800;
}

.reviews-business small {
  color: var(--snow);
  font-size: 1rem;
}

.review-stars {
  color: #f4b942;
  font-size: 1.2rem;
  letter-spacing: 0;
  line-height: 1;
}

.reviews-carousel {
  display: grid;
  grid-template-columns: 28px 1fr 28px;
  align-items: center;
  gap: 0.7rem;
}

.review-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 290px));
  justify-content: center;
  gap: 1.5rem;
}

.review-card {
  min-height: 368px;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 1rem;
  background: #ffffff;
  color: #1b1b1b;
  font-family: "Quicksand", sans-serif;
  padding: 2rem 1.5rem;
  text-align: center;
}

.review-avatar-wrap,
.review-avatar-wrap img,
.review-avatar-fallback {
  width: 100px;
  height: 100px;
  border-radius: 999px;
}

.review-avatar-wrap {
  display: grid;
  place-items: center;
  background: rgba(240, 240, 240, 0.8);
  overflow: hidden;
}

.review-avatar-wrap img {
  object-fit: cover;
}

.review-avatar-fallback {
  display: grid;
  place-items: center;
  background: #f0f0f0;
  color: #595959;
  font-size: 2rem;
  font-weight: 900;
}

.review-card p {
  min-height: 42px;
  margin: 0;
  color: #1b1b1b;
  font-size: 1rem;
  font-weight: 400;
  line-height: normal;
}

.review-card a {
  color: #84708a;
  font-size: 1rem;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
}

.review-card a:hover {
  text-decoration: underline;
}

.review-card small {
  color: #595959;
  font-size: 0.75rem;
  font-weight: 400;
}

.review-arrow {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.review-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  border-top: 3px solid var(--snow);
  border-left: 3px solid var(--snow);
}

.review-arrow-left::before {
  left: 8px;
  transform: translateY(-50%) rotate(-45deg);
}

.review-arrow-right::before {
  right: 8px;
  transform: translateY(-50%) rotate(135deg);
}

.review-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.review-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  cursor: pointer;
  padding: 0;
}

.review-dot.is-active {
  background: var(--snow);
  transform: scale(1.35);
}

.quote-notes {
  display: grid;
  gap: 0.65rem;
  border-left: 4px solid var(--red);
  background:
    linear-gradient(180deg, rgba(20, 34, 31, 0.96), rgba(13, 18, 17, 0.98));
  border-radius: var(--radius);
  color: var(--ink);
  padding: 1rem;
}

.quote-notes p,
.quote-notes li,
.quote-notes span {
  color: var(--muted);
  line-height: 1.45;
}

.quote-notes p,
.quote-notes ul {
  margin: 0;
}

.quote-notes ul {
  display: grid;
  gap: 0.4rem;
  padding-left: 1.25rem;
}

.quote-notes a {
  color: #70d6c8;
  font-weight: 900;
}

.quote-notes li strong {
  color: #ffffff;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--evergreen);
  font-weight: 700;
}

.resource-grid {
  align-items: stretch;
}

.resource-card {
  min-height: 205px;
  display: grid;
  align-content: start;
  gap: 0.65rem;
}

.resource-meta,
.resource-labels,
.resource-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.resource-meta span,
.resource-label {
  --tag-color: var(--evergreen);
  border: 1px solid color-mix(in srgb, var(--tag-color) 58%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--tag-color) 14%, #111817);
  color: #f6fffd;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.25rem 0.5rem;
}

.resource-meta span {
  background: var(--ice);
}

.resource-card a,
.resource-actions a {
  color: var(--red);
  font-weight: 800;
  text-decoration: none;
}

.resource-card a:hover,
.resource-actions a:hover {
  text-decoration: underline;
}

.artist-card {
  min-height: 285px;
}

.artist-picker-section,
.fun-news-section,
.artist-profile-summary {
  position: relative;
}

.artist-profile-page .artist-profile-summary {
  padding-bottom: 2rem;
}

.artist-profile-page .fun-news-section {
  padding-top: 2.5rem;
}

.fun-category-grid,
.artist-directory-grid,
.fun-board-layout,
.artist-profile-grid,
.artist-board-stats {
  width: min(100%, var(--content));
  margin: 0 auto;
}

.fun-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.fun-category-card,
.artist-directory-card,
.fun-board-panel,
.artist-profile-card,
.artist-board-stats article {
  border: 1px solid rgba(112, 214, 200, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 12%, rgba(244, 185, 66, 0.12), transparent 9rem),
    linear-gradient(180deg, rgba(20, 34, 31, 0.96), rgba(13, 18, 17, 0.98));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.fun-category-card {
  display: grid;
  min-height: 250px;
  gap: 0.65rem;
  border-color: color-mix(in srgb, var(--category-color, #70d6c8) 28%, transparent);
  background:
    radial-gradient(circle at 92% 12%, color-mix(in srgb, var(--category-color, #70d6c8) 18%, transparent), transparent 9rem),
    linear-gradient(180deg, rgba(20, 34, 31, 0.96), rgba(13, 18, 17, 0.98));
  padding: 1rem;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
  cursor: pointer;
}

button.fun-category-card {
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
}

button.fun-category-card:disabled {
  cursor: default;
  opacity: 0.58;
}

.artist-category-browser {
  display: grid;
  gap: 1.2rem;
  margin-bottom: 1.35rem;
}

.artist-category-grid .fun-category-card {
  min-height: 170px;
}

.artist-category-results {
  display: grid;
  gap: 0.9rem;
}

.artist-category-result-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.artist-category-result-heading h3 {
  margin: 0;
}

.artist-category-result-heading > span {
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

.artist-category-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 0.9rem;
}

.fun-category-play-face {
  display: none;
}

.fun-prints-page.is-elf-game-active .fun-category-card {
  min-height: 230px;
  align-content: center;
  justify-items: center;
  text-align: center;
  overflow: hidden;
}

.fun-prints-page.is-elf-game-active .fun-category-card > span,
.fun-prints-page.is-elf-game-active .fun-category-card p,
.fun-prints-page.is-elf-game-active .fun-category-vibe,
.fun-prints-page.is-elf-game-active .fun-category-artists {
  display: none;
}

.fun-prints-page.is-elf-game-active .fun-category-card h3 {
  max-width: 100%;
  font-size: 1.02rem;
  line-height: 1.12;
}

.fun-prints-page.is-elf-game-active .fun-category-play-face {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  width: 100%;
}

.fun-category-play-face img {
  width: min(8.5rem, 74%);
  aspect-ratio: 1;
  border: 2px solid color-mix(in srgb, var(--category-color, #70d6c8) 68%, #ffffff 8%);
  border-radius: 50%;
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.32),
    0 0 0 0 color-mix(in srgb, var(--category-color, #70d6c8) 44%, transparent);
  object-fit: cover;
  transition:
    box-shadow 160ms ease,
    transform 160ms ease,
    filter 160ms ease;
}

.fun-category-play-face strong {
  max-width: 100%;
  border-radius: 999px;
  background: color-mix(in srgb, var(--category-color, #70d6c8) 22%, rgba(6, 16, 15, 0.82));
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 900;
  padding: 0.25rem 0.55rem;
  text-transform: uppercase;
}

.fun-category-grid.is-elf-game-showing .fun-category-card:not(.is-simon-lit) {
  opacity: 0.72;
}

.fun-category-grid.is-elf-game-locked .fun-category-card {
  cursor: default;
  pointer-events: none;
}

.fun-category-card.is-simon-lit,
.fun-category-card.is-simon-good {
  border-color: color-mix(in srgb, var(--category-color, #70d6c8) 86%, #ffffff 14%);
  background:
    radial-gradient(circle at 50% 32%, color-mix(in srgb, var(--category-color, #70d6c8) 68%, transparent), transparent 9rem),
    linear-gradient(180deg, color-mix(in srgb, var(--category-color, #70d6c8) 48%, rgba(20, 34, 31, 0.96)), rgba(13, 18, 17, 0.98));
  box-shadow:
    0 22px 52px color-mix(in srgb, var(--category-color, #70d6c8) 54%, transparent),
    inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  transform: translateY(-4px) scale(1.02);
}

.fun-category-card.is-simon-lit .fun-category-play-face img,
.fun-category-card.is-simon-good .fun-category-play-face img {
  filter: saturate(1.18) brightness(1.08);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.34),
    0 0 0 0.55rem color-mix(in srgb, var(--category-color, #70d6c8) 22%, transparent);
  transform: scale(1.06);
}

.fun-category-card.is-simon-wrong {
  border-color: rgba(255, 107, 95, 0.92);
  box-shadow:
    0 22px 52px rgba(255, 107, 95, 0.28),
    inset 0 0 0 2px rgba(255, 107, 95, 0.42);
}

.fun-prints-page[data-compact-category-cards] .fun-category-card {
  min-height: 155px;
  gap: 0.28rem;
  align-content: start;
}

.fun-prints-page[data-compact-category-cards] .fun-category-card > span {
  margin: 0;
  line-height: 1.1;
}

.fun-prints-page[data-compact-category-cards] .fun-category-card h3 {
  line-height: 1.08;
}

.fun-prints-page[data-compact-category-cards] .fun-category-card p {
  margin-top: 0.25rem;
}

.fun-category-card:hover,
.fun-category-card:focus-visible,
.fun-category-card.is-active {
  border-color: color-mix(in srgb, var(--category-color, #70d6c8) 78%, #ffffff 8%);
  background:
    radial-gradient(circle at 92% 10%, color-mix(in srgb, var(--category-color, #70d6c8) 53%, transparent), transparent 9.5rem),
    linear-gradient(180deg, color-mix(in srgb, var(--category-color, #70d6c8) 37%, rgba(20, 34, 31, 0.96)), rgba(13, 18, 17, 0.98));
  box-shadow: 0 20px 44px color-mix(in srgb, var(--category-color, #70d6c8) 37%, transparent);
  transform: translateY(-2px);
  outline: none;
}

.fun-category-card.is-active {
  box-shadow:
    inset 0 0 0 2px color-mix(in srgb, var(--category-color, #70d6c8) 72%, #ffffff 8%),
    0 22px 48px color-mix(in srgb, var(--category-color, #70d6c8) 42%, transparent);
}

.fun-category-card.is-selected {
  border-color: color-mix(in srgb, var(--category-color, #70d6c8) 86%, #ffffff 12%);
  box-shadow:
    inset 0 0 0 2px color-mix(in srgb, var(--category-color, #70d6c8) 74%, #ffffff 8%),
    0 22px 48px color-mix(in srgb, var(--category-color, #70d6c8) 42%, transparent);
}

.star-story-friend-picker-section {
  padding-top: 0;
}

.star-story-games-section {
  padding-top: 1rem;
}

.star-story-home-page[data-star-story-accent="1"] [data-np-choice-id="board-first"] {
  --np-choice-accent: var(--star-story-accent) !important;
}

.star-story-welcome-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
  gap: 1rem;
  align-items: stretch;
}

.star-story-welcome-card {
  min-height: 18rem;
}

.star-story-welcome-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.star-story-welcome-list span {
  border: 1px solid color-mix(in srgb, var(--star-story-accent, #70d6c8) 42%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--star-story-accent, #70d6c8) 12%, rgba(0, 0, 0, 0.22));
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  padding: 0.45rem 0.62rem;
}

.star-story-game-hero-stack {
  display: grid;
  gap: 0.85rem;
}

.star-story-game-hero {
  position: relative;
  display: grid;
  min-height: 11.6rem;
  align-content: center;
  gap: 0.42rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--game-accent, #70d6c8) 38%, rgba(255, 255, 255, 0.1));
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(5, 13, 12, 0.95) 0%, rgba(5, 13, 12, 0.78) 48%, rgba(5, 13, 12, 0.16) 100%),
    radial-gradient(circle at 78% 38%, color-mix(in srgb, var(--game-accent, #70d6c8) 18%, transparent), transparent 16rem),
    #081211;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
  color: #d8e4e1;
  padding: 1.35rem 1.5rem;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.star-story-game-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: color-mix(in srgb, var(--game-accent, #70d6c8) 78%, transparent);
}

.star-story-game-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 34%),
    radial-gradient(circle at 88% 22%, color-mix(in srgb, var(--game-accent, #70d6c8) 18%, transparent), transparent 11rem);
  opacity: 0.68;
  pointer-events: none;
}

.star-story-game-hero > * {
  position: relative;
  z-index: 1;
  max-width: 41rem;
}

.star-story-game-hero.is-captain-machine {
  background:
    linear-gradient(90deg, rgba(5, 13, 12, 0.95) 0%, rgba(5, 13, 12, 0.78) 48%, rgba(5, 13, 12, 0.18) 100%),
    radial-gradient(circle at 78% 38%, rgba(244, 185, 66, 0.16), transparent 16rem),
    url("../images/simon/p_simon-header-captain-queue-2x4-panel-clean-preview-1160x200.png") center right / cover no-repeat,
    #081211;
}

.star-story-game-hero.is-hothead {
  background:
    linear-gradient(90deg, rgba(5, 13, 12, 0.95) 0%, rgba(5, 13, 12, 0.78) 48%, rgba(5, 13, 12, 0.18) 100%),
    radial-gradient(circle at 78% 38%, rgba(255, 92, 105, 0.18), transparent 16rem),
    url("../images/hothead/hothead-header-captain-queue-panel.png") center right / cover no-repeat,
    #081211;
}

.star-story-game-hero.is-dragon-dispatch {
  background:
    linear-gradient(90deg, rgba(5, 13, 12, 0.95) 0%, rgba(5, 13, 12, 0.78) 48%, rgba(5, 13, 12, 0.18) 100%),
    radial-gradient(circle at 78% 38%, rgba(88, 191, 221, 0.18), transparent 16rem),
    url("../images/simon/p_simon-header-captain-queue-2x4-panel-banner-v002.png") center right / cover no-repeat,
    #081211;
}

.star-story-game-hero:hover,
.star-story-game-hero:focus-visible {
  border-color: color-mix(in srgb, var(--game-accent, #70d6c8) 76%, #ffffff 10%);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--game-accent, #70d6c8) 28%, transparent),
    0 24px 56px color-mix(in srgb, var(--game-accent, #70d6c8) 28%, rgba(0, 0, 0, 0.3));
  outline: none;
  transform: translateY(-2px);
}

.star-story-game-hero span {
  color: color-mix(in srgb, var(--game-accent, #70d6c8) 78%, #ffffff 12%);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.star-story-game-hero h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.55rem, 3.2vw, 2.8rem);
  line-height: 1;
}

.star-story-game-hero p {
  margin: 0;
  color: #d8e4e1;
  font-size: 1rem;
  line-height: 1.38;
}

.star-story-game-hero strong {
  color: color-mix(in srgb, var(--game-accent, #70d6c8) 72%, #f4b942 22%);
  font-size: 0.88rem;
  line-height: 1;
}

.star-story-games-subhero {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.star-story-games-subhero h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  line-height: 1.06;
}

.star-story-games-subhero p {
  max-width: 720px;
  margin: 0;
  color: #d8e4e1;
  font-size: 1rem;
  line-height: 1.45;
}

.star-story-games-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.star-story-game-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 0.55rem;
  min-height: 24rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--game-accent, #70d6c8) 34%, transparent);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 10%, color-mix(in srgb, var(--game-accent, #70d6c8) 18%, transparent), transparent 9rem),
    linear-gradient(150deg, rgba(14, 40, 35, 0.96), rgba(10, 15, 15, 0.98));
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
  color: #d8e4e1;
  padding: 0.85rem;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.star-story-game-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: color-mix(in srgb, var(--game-accent, #70d6c8) 76%, transparent);
}

.star-story-game-card:hover,
.star-story-game-card:focus-visible {
  border-color: color-mix(in srgb, var(--game-accent, #70d6c8) 72%, #ffffff 10%);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--game-accent, #70d6c8) 28%, transparent),
    0 24px 54px color-mix(in srgb, var(--game-accent, #70d6c8) 28%, rgba(0, 0, 0, 0.28));
  outline: none;
  transform: translateY(-2px);
}

.star-story-game-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid color-mix(in srgb, var(--game-accent, #70d6c8) 42%, rgba(255, 255, 255, 0.16));
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.28);
  object-fit: cover;
}

.star-story-game-card span {
  color: color-mix(in srgb, var(--game-accent, #70d6c8) 76%, #ffffff 10%);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.star-story-game-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1.12;
}

.star-story-game-card p {
  margin: 0;
  color: #d8e4e1;
  line-height: 1.42;
}

.star-story-game-card strong {
  align-self: end;
  color: #f4b942;
  font-size: 0.88rem;
}

.star-story-tour-section {
  padding-top: 1rem;
}

.star-story-tour-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.star-story-tour-panel {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--star-story-accent, #70d6c8) 34%, transparent);
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 12%, color-mix(in srgb, var(--star-story-accent, #70d6c8) 16%, transparent), transparent 10rem),
    linear-gradient(150deg, rgba(14, 40, 35, 0.96), rgba(10, 15, 15, 0.98));
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
  padding: 1rem;
  transition: border-color 180ms ease, background 180ms ease;
}

.star-story-tour-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: color-mix(in srgb, var(--star-story-accent, #70d6c8) 76%, transparent);
  transition: background 180ms ease;
}

.star-story-tour-panel h2 {
  margin: 0 0 1rem;
  color: #ffffff;
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  line-height: 1.05;
}

.star-story-tour-panel .eyebrow {
  margin: 0 0 0.65rem;
  color: var(--star-story-accent, #70d6c8);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.star-story-tour-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.star-story-tour-panel-head h2,
.star-story-tour-panel-head .eyebrow {
  margin-left: 0;
}

.star-story-tour-panel-head h2 {
  margin-bottom: 0;
}

.star-story-guide-badge {
  --guide-accent: #70d6c8;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.5rem;
  align-items: center;
  flex: 0 1 12.5rem;
  min-width: 9.5rem;
  border: 1px solid color-mix(in srgb, var(--guide-accent) 58%, transparent);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 18%, color-mix(in srgb, var(--guide-accent) 24%, transparent), transparent 4.5rem),
    rgba(0, 0, 0, 0.22);
  color: #ffffff;
  padding: 0.45rem 0.55rem;
}

.star-story-guide-badge[hidden] {
  display: none;
}

.star-story-guide-badge img {
  width: 3.15rem;
  aspect-ratio: 1;
  border: 2px solid color-mix(in srgb, var(--guide-accent) 72%, #ffffff 10%);
  border-radius: 50%;
  box-shadow: 0 0 0 0.32rem color-mix(in srgb, var(--guide-accent) 18%, transparent);
  object-fit: cover;
}

.star-story-guide-badge span,
.star-story-guide-badge strong {
  display: block;
  min-width: 0;
}

.star-story-guide-badge span {
  color: color-mix(in srgb, var(--guide-accent) 78%, #ffffff 12%);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.star-story-guide-badge strong {
  margin-top: 0.16rem;
  overflow: hidden;
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.star-story-route-board {
  display: grid;
  gap: 1rem;
}

.star-story-route-zone {
  display: grid;
  gap: 0.55rem;
}

.star-story-route-label {
  margin: 0;
  color: color-mix(in srgb, var(--star-story-accent, #70d6c8) 80%, #ffffff 12%);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.star-story-route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.star-story-route-card {
  --memory-accent: #70d6c8;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.35rem;
  min-height: 8.6rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--memory-accent) 44%, transparent);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 12%, color-mix(in srgb, var(--memory-accent) 18%, transparent), transparent 6.5rem),
    rgba(0, 0, 0, 0.2);
  color: #ffffff;
  padding: 0.75rem 0.75rem 0.75rem 0.95rem;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.star-story-route-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: color-mix(in srgb, var(--memory-accent) 76%, transparent);
}

.star-story-route-card:hover,
.star-story-route-card:focus-visible {
  border-color: color-mix(in srgb, var(--memory-accent) 78%, #ffffff 10%);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--memory-accent) 30%, transparent),
    0 18px 34px color-mix(in srgb, var(--memory-accent) 25%, rgba(0, 0, 0, 0.28));
  outline: none;
  transform: translateY(-2px);
}

.star-story-route-card span {
  color: color-mix(in srgb, var(--memory-accent) 78%, #ffffff 12%);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.star-story-route-card strong {
  align-self: center;
  font-size: 1rem;
  line-height: 1.12;
}

.star-story-route-card small {
  color: #d8e4e1;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.28;
}

.star-story-memory-card {
  --memory-accent: #70d6c8;
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon kicker"
    "icon title"
    "icon time";
  gap: 0.18rem 0.85rem;
  align-items: center;
  width: 100%;
  min-height: 7.2rem;
  border: 1px solid color-mix(in srgb, var(--memory-accent) 58%, transparent);
  border-radius: 8px;
  background:
    radial-gradient(circle at 9% 24%, color-mix(in srgb, var(--memory-accent) 24%, transparent), transparent 7rem),
    rgba(0, 0, 0, 0.18);
  color: #ffffff;
  overflow: hidden;
  padding: 0.85rem 0.85rem 0.85rem 1rem;
  text-align: left;
}

.star-story-memory-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: color-mix(in srgb, var(--memory-accent) 76%, transparent);
}

.star-story-memory-card img {
  grid-area: icon;
  width: 5rem;
  aspect-ratio: 1;
  border: 2px solid color-mix(in srgb, var(--memory-accent) 72%, #ffffff 10%);
  border-radius: 50%;
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.34),
    0 0 0 0.45rem color-mix(in srgb, var(--memory-accent) 18%, transparent);
  object-fit: cover;
}

.star-story-memory-card span {
  grid-area: kicker;
  color: color-mix(in srgb, var(--memory-accent) 78%, #ffffff 12%);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.star-story-memory-card strong {
  grid-area: title;
  font-size: 1.08rem;
  line-height: 1.14;
}

.star-story-memory-card time {
  grid-area: time;
  color: #d8e4e1;
  font-size: 0.9rem;
  font-weight: 800;
}

.star-story-tour-detail-panel p:not(.eyebrow) {
  max-width: 38rem;
  margin: 0;
  color: #d8e4e1;
  font-size: 1.05rem;
  line-height: 1.48;
}

.star-story-memory-kinds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.star-story-memory-kinds span {
  border: 1px solid rgba(244, 185, 66, 0.32);
  border-radius: 999px;
  background: rgba(244, 185, 66, 0.1);
  color: #f7dc85;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0.35rem 0.55rem;
}

.star-story-tour-detail-panel {
  display: flex;
  flex-direction: column;
}

.star-story-memory-trust-note {
  display: grid;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 1rem;
}

.star-story-tour-detail-panel .star-story-memory-trust-note p {
  max-width: 42rem;
  margin: 0;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.38;
}

.star-story-tour-detail-panel p.star-story-memory-trust-note-gold {
  color: #f7dc85;
}

.star-story-tour-detail-panel p.star-story-memory-trust-note-blue {
  color: #8fd8ff;
}

.star-story-memory-trust-note-accent {
  color: var(--star-story-accent, #ffffff);
  font-weight: 700;
}

.star-story-tour-detail-panel p.star-story-memory-trust-note-detail {
  color: rgba(255, 255, 255, 0.8);
}

.star-story-memory-trust-note a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.16em;
}

.star-story-memory-trust-note a:hover,
.star-story-memory-trust-note a:focus-visible {
  color: #ffffff;
  outline: none;
}

.fun-category-grid[data-fun-category-mode="characters"],
.fun-category-grid[data-fun-category-mode="workshop-friends"] {
  margin-top: 0;
}

.fun-category-grid[data-fun-category-mode="characters"] .fun-category-card,
.fun-category-grid[data-fun-category-mode="workshop-friends"] .fun-category-card {
  min-height: 230px;
  align-content: start;
  justify-items: center;
  overflow: hidden;
  text-align: center;
}

.fun-category-grid[data-fun-category-mode="characters"] .fun-category-card:hover,
.fun-category-grid[data-fun-category-mode="characters"] .fun-category-card:focus-visible,
.fun-category-grid[data-fun-category-mode="characters"] .fun-category-card.is-active,
.fun-category-grid[data-fun-category-mode="characters"] .fun-category-card.is-selected,
.fun-category-grid[data-fun-category-mode="workshop-friends"] .fun-category-card:hover,
.fun-category-grid[data-fun-category-mode="workshop-friends"] .fun-category-card:focus-visible,
.fun-category-grid[data-fun-category-mode="workshop-friends"] .fun-category-card.is-active,
.fun-category-grid[data-fun-category-mode="workshop-friends"] .fun-category-card.is-selected {
  transform: none;
}

.fun-category-grid[data-fun-category-mode="characters"] .fun-category-play-face,
.fun-category-grid[data-fun-category-mode="workshop-friends"] .fun-category-play-face {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  width: 100%;
}

.fun-category-grid[data-fun-category-mode="characters"] .fun-category-card > span,
.fun-category-grid[data-fun-category-mode="workshop-friends"] .fun-category-card > span {
  color: color-mix(in srgb, var(--category-color, #70d6c8) 76%, #ffffff 12%);
}

.fun-category-grid[data-fun-category-mode="characters"] .fun-category-card h3,
.fun-category-grid[data-fun-category-mode="workshop-friends"] .fun-category-card h3 {
  font-size: 1.08rem;
  line-height: 1.12;
}

.fun-category-grid[data-fun-category-mode="characters"] .fun-category-card p,
.fun-category-grid[data-fun-category-mode="workshop-friends"] .fun-category-card p {
  max-width: 21ch;
  font-size: 0.9rem;
  line-height: 1.32;
}

.artist-filter-status {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.85rem;
}

.artist-filter-status span {
  color: #d8e4e1;
  font-size: 0.9rem;
  font-weight: 800;
}

.artist-filter-status button {
  border: 1px solid rgba(112, 214, 200, 0.34);
  border-radius: 999px;
  background: rgba(7, 19, 18, 0.82);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 0.45rem 0.7rem;
}

.artist-filter-status button:hover,
.artist-filter-status button:focus-visible {
  border-color: rgba(88, 191, 221, 0.72);
  color: #58bfdd;
  outline: none;
}

.fun-category-card[data-category="dragons-creatures"] {
  --category-color: #ff0000;
}

.fun-category-card[data-category="cute-collectible"] {
  --category-color: #ff66cc;
}

.fun-category-card[data-category="toys-fidgets"] {
  --category-color: #0066ff;
}

.fun-category-card[data-category="home-decor"] {
  --category-color: #ffcc00;
}

.fun-category-card[data-category="seasonal-fun"] {
  --category-color: #00cc66;
}

.fun-category-card[data-category="fantasy-tabletop"] {
  --category-color: #9900ff;
}

.fun-category-card[data-category="cosplay-props"] {
  --category-color: #ff6600;
}

.fun-category-card[data-category="new-drops"] {
  --category-color: #00ccff;
}

.fun-category-card > span,
.artist-directory-card > div:last-child > span,
.fun-feed-list span,
.fun-feed-artist-link,
.artist-board-stats span {
  color: #70d6c8;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fun-feed-meta-line {
  grid-column: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  align-items: center;
}

.fun-feed-artist-link {
  justify-self: start;
  text-decoration: none;
}

.fun-feed-artist-link.artist-mini-pill {
  max-width: 15rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fun-feed-artist-link:hover {
  text-decoration: none;
}

.fun-category-card h3,
.artist-directory-card h3,
.fun-board-panel h3,
.artist-profile-card h2 {
  margin: 0;
  color: #ffffff;
}

.fun-category-card p,
.artist-directory-card p,
.fun-board-panel p,
.artist-profile-card p {
  margin: 0;
  color: #c9ddd9;
  line-height: 1.45;
}

.fun-category-artists {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
}

.fun-category-vibe {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.fun-category-vibe small {
  color: #d8e4e1;
  font-size: 0.8rem;
  font-weight: 900;
}

.fun-category-artists span,
.fun-category-artists a,
.artist-theme-list span,
.fun-tag {
  --tag-color: #f4b942;
  border: 1px solid rgba(244, 185, 66, 0.26);
  border-radius: 999px;
  background: color-mix(in srgb, var(--tag-color) 14%, rgba(244, 185, 66, 0.08));
  color: #f6fffd;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.28rem 0.5rem;
}

.fun-tag[data-tag="creature"] {
  --tag-color: #ff0000;
  border-color: rgba(255, 0, 0, 0.58);
}

.fun-tag[data-tag="cute"] {
  --tag-color: #ff66cc;
  border-color: rgba(255, 102, 204, 0.58);
}

.fun-tag[data-tag="fidget"] {
  --tag-color: #0066ff;
  border-color: rgba(0, 102, 255, 0.58);
}

.fun-tag[data-tag="fantasy"] {
  --tag-color: #9900ff;
  border-color: rgba(153, 0, 255, 0.58);
}

.fun-tag[data-tag="holiday"] {
  --tag-color: #00cc66;
  border-color: rgba(0, 204, 102, 0.58);
}

.fun-tag[data-tag="crystal"] {
  --tag-color: #00ccff;
  border-color: rgba(0, 204, 255, 0.58);
}

.fun-tag[data-tag="gift"] {
  --tag-color: #ffcc00;
  border-color: rgba(255, 204, 0, 0.58);
}

.fun-tag[data-tag="props"] {
  --tag-color: #ff6600;
  border-color: rgba(255, 102, 0, 0.58);
}

.fun-tag[data-tag="new"] {
  --tag-color: #00ccff;
  border-color: rgba(0, 204, 255, 0.58);
}

.fun-category-artists a {
  text-decoration: none;
}

.artist-mini-pill {
  border-color: color-mix(in srgb, var(--artist-primary, #70d6c8) 54%, transparent) !important;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--artist-primary, #70d6c8) 24%, rgba(7, 19, 18, 0.88)), color-mix(in srgb, var(--artist-secondary, #f4b942) 18%, rgba(7, 19, 18, 0.88))) !important;
  color: #ffffff !important;
  box-shadow: inset 3px 0 0 var(--artist-primary, #70d6c8);
}

.artist-mini-pill:hover,
.artist-mini-pill:focus-visible {
  border-color: color-mix(in srgb, var(--artist-primary, #70d6c8) 82%, #ffffff 10%) !important;
  box-shadow:
    inset 3px 0 0 var(--artist-primary, #70d6c8),
    0 0 0 3px color-mix(in srgb, var(--artist-primary, #70d6c8) 18%, transparent);
  text-decoration: none;
  outline: none;
}

.fun-category-card a,
.fun-feed-list a {
  color: var(--red);
  font-weight: 900;
  text-decoration: none;
}

.fun-category-card a:hover,
.fun-feed-list a:hover {
  text-decoration: underline;
}

.artist-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.artist-directory-card {
  position: relative;
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  align-items: start;
  gap: 0.75rem;
  min-height: 245px;
  overflow: hidden;
  padding: 1rem;
}

.artist-directory-card-link {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.artist-directory-card-link:hover,
.artist-directory-card-link:focus-visible {
  border-color: color-mix(in srgb, var(--artist-primary, #70d6c8) 64%, #ffffff 8%);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.3),
    0 0 0 3px color-mix(in srgb, var(--artist-primary, #70d6c8) 18%, transparent);
  outline: none;
  transform: translateY(-2px);
}

.artist-directory-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: linear-gradient(180deg, var(--artist-primary, #70d6c8), var(--artist-secondary, #f4b942));
}

.artist-directory-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 93% 10%, color-mix(in srgb, var(--artist-primary, #70d6c8) 18%, transparent), transparent 8rem),
    radial-gradient(circle at 78% 92%, color-mix(in srgb, var(--artist-secondary, #f4b942) 12%, transparent), transparent 9rem);
  opacity: 0.78;
  pointer-events: none;
}

.artist-directory-card > * {
  position: relative;
  z-index: 1;
}

.artist-mark,
.artist-profile-mark {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid rgba(244, 185, 66, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.2), transparent 1.2rem),
    linear-gradient(135deg, #148535, #70d6c8 48%, #f4b942);
  color: #081211;
  font-weight: 1000;
  letter-spacing: 0.02em;
}

.artist-vibe-mark {
  border-color: color-mix(in srgb, var(--artist-primary, #70d6c8) 54%, #ffffff 10%);
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.28), transparent 1.15rem),
    linear-gradient(135deg, var(--artist-primary, #148535), var(--artist-secondary, #70d6c8));
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--artist-primary, #70d6c8) 16%, transparent),
    0 12px 24px rgba(0, 0, 0, 0.24);
}

.artist-card-body {
  display: grid;
  grid-template-rows: 1.6rem 1rem auto auto auto;
  align-content: start;
  gap: 0.22rem;
  min-width: 0;
}

.artist-signature-label {
  display: block;
  overflow: hidden;
  color: color-mix(in srgb, var(--artist-primary, #70d6c8) 74%, #ffffff 16%);
  line-height: 1.15;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.artist-directory-card h3 {
  display: flex;
  align-items: flex-start;
  min-height: 1.6rem;
  overflow: hidden;
}

.artist-best-for {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: #f6fffd;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.32;
  min-height: 3.7rem;
}

.artist-card-body > p:not(.artist-best-for) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.artist-vibe-labels {
  align-items: center;
}

.artist-directory-card .artist-mark {
  margin-top: 0.1rem;
}

.fun-board-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.fun-board-panel {
  display: grid;
  align-content: start;
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.fun-panel-heading {
  display: grid;
  gap: 0.1rem;
  border-bottom: 1px solid rgba(244, 185, 66, 0.26);
  background:
    linear-gradient(90deg, rgba(255, 111, 98, 0.24), rgba(244, 185, 66, 0.18) 48%, rgba(112, 214, 200, 0.2)),
    rgba(6, 18, 17, 0.92);
  padding: 0.85rem 1rem;
}

.fun-panel-heading .eyebrow {
  color: #58bfdd;
}

.fun-panel-heading h3 {
  font-size: 1.2rem;
}

.fun-feed-list {
  display: grid;
  gap: 0.55rem;
  padding: 0 1rem 1rem;
}

.fun-feed-list article {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(8.5rem, 3fr);
  gap: 0.15rem 0.65rem;
  align-items: start;
  overflow: hidden;
  padding: 0.85rem 0 0.65rem;
  border-top: 1px solid rgba(112, 214, 200, 0.14);
}

.fun-feed-vibe-card {
  --artist-primary: #70d6c8;
  --artist-secondary: #f4b942;
  padding-left: 0.85rem !important;
}

.fun-feed-vibe-card::before {
  content: "";
  position: absolute;
  inset: 0.85rem auto 0.65rem 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--artist-primary), var(--artist-secondary));
}

.fun-feed-list article:first-child {
  border-top: 0;
}

.fun-feed-list strong {
  grid-column: 1;
  min-width: 0;
  color: #ffffff;
  font-size: 0.98rem;
}

.fun-feed-date {
  color: #d8e4e1;
  font-size: 0.78rem;
  font-weight: 800;
}

.fun-feed-stat {
  display: inline-flex;
  align-items: center;
  min-height: 1.35rem;
  border: 1px solid rgba(244, 185, 66, 0.5);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(244, 185, 66, 0.22), rgba(112, 214, 200, 0.12)),
    rgba(8, 18, 17, 0.8);
  color: #f4d675;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  padding: 0.13rem 0.45rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.fun-feed-list em {
  grid-column: 1 / -1;
  color: #f4b942;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 900;
}

.fun-feed-actions {
  grid-column: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-top: 0.1rem;
}

.fun-feed-actions .fun-feed-vibes {
  transform: none;
}

.fun-feed-actions .wish-control {
  grid-column: auto;
  margin-top: 0;
}

.fun-feed-source-stack {
  grid-column: 2;
  grid-row: 1 / span 4;
  display: grid;
  justify-items: end;
  gap: 0.25rem;
  align-self: start;
  width: 100%;
  min-width: 0;
}

.fun-feed-image {
  display: block;
  width: min(9.5rem, 100%);
  aspect-ratio: 1;
  box-sizing: border-box;
  padding: 0.55rem;
  margin: 0 0 0.25rem;
  overflow: hidden;
  border: 1px solid rgba(112, 214, 200, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.07), transparent 42%),
    #020706;
  text-decoration: none;
}

.fun-feed-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 5px;
  display: block;
}

.fun-feed-title-link {
  grid-column: 1;
  justify-self: start;
  color: inherit;
  text-decoration: none;
}

.fun-feed-title-link:hover,
.fun-feed-title-link:focus-visible {
  color: #70d6c8;
}

.fun-feed-vibes {
  grid-column: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  transform: translateY(0.25rem);
}

.fun-feed-vibes .fun-tag {
  font-size: 0.72rem;
  padding: 0.18rem 0.45rem;
}

.fun-feed-list a.source-link {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
  min-height: 2.3rem;
  border: 1px solid rgba(112, 214, 200, 0.24);
  border-radius: 8px;
  background: rgba(7, 19, 18, 0.82);
  color: #f6fffd;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  padding: 0.4rem 0.6rem;
  text-decoration: none;
}

.fun-feed-list a.source-link:hover {
  border-color: rgba(244, 185, 66, 0.62);
  text-decoration: none;
}

.np-generated-badge {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  border: 1px solid rgba(79, 195, 255, 0.34);
  border-radius: 8px;
  background: rgba(79, 195, 255, 0.12);
  color: #7bdcff;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  padding: 0.38rem 0.5rem;
  text-transform: uppercase;
}

.model-page-link,
.model-admin-link {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.85rem;
  border: 1px solid rgba(244, 185, 66, 0.42);
  border-radius: 8px;
  background: rgba(244, 185, 66, 0.11);
  color: #f4d675 !important;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  padding: 0.34rem 0.5rem;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.model-page-link:hover,
.model-page-link:focus-visible,
.model-admin-link:hover,
.model-admin-link:focus-visible {
  border-color: rgba(112, 214, 200, 0.62);
  color: #ffffff !important;
  text-decoration: none;
}

.fun-feed-source-stack .source-link {
  gap: 0.25rem;
  min-height: 2rem;
  padding: 0.32rem 0.45rem;
}

.fun-feed-source-stack .source-link img {
  width: 0.95rem;
  height: 0.95rem;
}

.fun-feed-source-stack .source-link strong {
  font-size: 0.78rem;
}

.fun-feed-source-stack .fun-feed-admin-link {
  min-height: 1.75rem;
  padding: 0.3rem 0.45rem;
}

.source-link img {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  box-sizing: content-box;
  border-radius: 50%;
  background: #ffffff;
  padding: 0.12rem;
}

.source-link strong {
  min-width: 0;
  color: #ffffff;
  font-size: 0.86rem;
}

.source-trust-label {
  align-self: center;
  justify-self: end;
  max-width: 100%;
  color: #58bfdd;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-align: right;
  text-transform: uppercase;
}

.fun-feed-source-stack em {
  grid-column: auto;
  justify-self: end;
  max-width: 100%;
  color: #f4b942;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
  text-align: right;
}

.model-workbench-section {
  background:
    linear-gradient(120deg, rgba(255, 111, 98, 0.1), transparent 32%, rgba(88, 191, 221, 0.12) 72%, transparent),
    linear-gradient(180deg, rgba(6, 16, 15, 0.99), rgba(9, 18, 17, 0.99));
}

.model-detail-section {
  padding-top: 1.5rem;
  background:
    linear-gradient(180deg, rgba(5, 13, 12, 0.99), rgba(9, 18, 17, 0.99)),
    #081211;
}

.model-detail-section .section-heading {
  display: none;
}

.model-master-panel,
.model-asset-grid {
  width: min(100%, var(--content));
  margin: 0 auto;
}

.model-product-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.75rem;
  color: #c9ddd9;
}

.model-product-strip span,
.model-product-strip em {
  border: 1px solid rgba(112, 214, 200, 0.24);
  border-radius: 999px;
  background: rgba(3, 10, 9, 0.52);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 900;
  padding: 0.25rem 0.58rem;
  text-transform: uppercase;
}

.model-product-strip strong {
  color: #ffffff;
  font-size: 1.15rem;
}

.model-master-card,
.model-asset-card {
  border: 1px solid rgba(112, 214, 200, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(112, 214, 200, 0.12), rgba(244, 185, 66, 0.08)),
    rgba(7, 18, 17, 0.94);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.model-master-card {
  display: grid;
  grid-template-columns: minmax(12rem, 0.9fr) minmax(0, 1.4fr);
  gap: 1rem;
  align-items: stretch;
  padding: 1rem;
}

.model-detail-card {
  grid-template-columns: minmax(0, 3fr) minmax(22rem, 2fr);
  gap: 1.25rem;
  align-items: start;
  border-color: rgba(244, 185, 66, 0.34);
  background:
    linear-gradient(135deg, rgba(18, 38, 34, 0.96), rgba(7, 18, 17, 0.98) 58%, rgba(33, 22, 38, 0.88)),
    #071211;
}

.model-cave-column {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  min-width: 0;
}

.model-cave-stage {
  position: relative;
  display: grid;
  align-self: start;
  width: 100%;
  min-height: 20rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #000000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.model-cave-stage::before,
.model-cave-stage::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.model-cave-stage::before {
  display: none;
}

.model-cave-stage::after {
  display: none;
}

.model-cave-glow {
  display: none;
}

.model-cave-canvas,
.model-cave-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.model-cave-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: none;
}

.model-cave-canvas:active {
  cursor: grabbing;
}

.model-cave-controls {
  position: relative;
  display: grid;
  grid-template-columns: 2.75rem repeat(3, minmax(0, 1fr)) 2.75rem;
  gap: 0.75rem;
  align-items: center;
  min-height: 4.7rem;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(112, 214, 200, 0.24);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(11, 23, 24, 0.98), rgba(2, 7, 8, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 22px rgba(0, 0, 0, 0.24);
  padding: 0.75rem;
}

.model-cave-controls::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #ff5c52, #f4b942 28%, #70d6c8 58%, #58bfdd 78%, #a348ff);
}

.model-cave-control-button {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(112, 214, 200, 0.36);
  border-radius: 50%;
  background: #071313;
  color: #f7fbfa;
  cursor: pointer;
  font: 900 1.05rem/1 "Quicksand", sans-serif;
  box-shadow: 0 0 0 3px rgba(112, 214, 200, 0.06), 0 0 18px rgba(88, 191, 221, 0.11);
}

.model-cave-control-button:hover,
.model-cave-control-button:focus-visible,
.model-cave-control-button[aria-pressed="false"] {
  border-color: #f4b942;
  color: #f4b942;
  outline: none;
  box-shadow: 0 0 0 3px rgba(244, 185, 66, 0.1), 0 0 20px rgba(244, 185, 66, 0.16);
}

.model-cave-control-field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  color: #a9d8d4;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.model-cave-control-field input[type="range"] {
  width: 100%;
  height: 1.25rem;
  margin: 0;
  background: transparent;
  cursor: pointer;
  accent-color: #70d6c8;
  appearance: none;
}

.model-cave-control-field input[type="range"]::-webkit-slider-runnable-track {
  height: 0.32rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(88, 191, 221, 0.48), rgba(244, 185, 66, 0.78));
}

.model-cave-control-field input[type="range"]::-webkit-slider-thumb {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: -0.36rem;
  border: 2px solid #071313;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 2px #70d6c8, 0 0 12px rgba(112, 214, 200, 0.55);
  appearance: none;
}

.model-cave-control-field input[type="range"]::-moz-range-track {
  height: 0.32rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(88, 191, 221, 0.48), rgba(244, 185, 66, 0.78));
}

.model-cave-control-field input[type="range"]::-moz-range-thumb {
  width: 1.05rem;
  height: 1.05rem;
  border: 2px solid #071313;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 2px #70d6c8, 0 0 12px rgba(112, 214, 200, 0.55);
}

.model-cave-canvas[hidden],
.model-cave-fallback[hidden] {
  display: none;
}

.model-cave-status {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  border: 1px solid rgba(112, 214, 200, 0.34);
  border-radius: 999px;
  background: rgba(3, 10, 9, 0.72);
  color: #d8f6ef;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0.38rem 0.7rem;
  pointer-events: none;
}

.model-cave-status[hidden] {
  display: none;
}

.model-master-image,
.model-master-placeholder {
  min-height: 17rem;
}

.model-cave-stage .model-master-image,
.model-cave-stage .model-master-placeholder {
  position: relative;
  z-index: 0;
  min-height: 100%;
  border: 0;
  background: transparent;
}

.model-master-image,
.model-asset-image,
.model-master-placeholder,
.model-asset-placeholder {
  overflow: hidden;
  border: 1px solid rgba(112, 214, 200, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.08), transparent 45%),
    #020706;
}

.model-master-image img,
.model-asset-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.model-cave-stage .model-master-image img {
  padding: 1.35rem;
  animation: model-preview-float 4.8s ease-in-out infinite;
}

.model-mesh-debug {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
  padding: 0.65rem;
  border: 1px solid rgba(79, 195, 255, 0.32);
  border-radius: 8px;
  background: rgba(3, 12, 16, 0.64);
}

.model-mesh-debug span {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7ed7ff;
}

.model-mesh-debug button {
  min-height: 2rem;
  border: 1px solid rgba(112, 214, 200, 0.28);
  border-radius: 999px;
  background: rgba(8, 22, 21, 0.72);
  color: #f8fbf8;
  font-weight: 800;
  cursor: pointer;
}

.model-mesh-debug button.is-active {
  border-color: rgba(244, 185, 66, 0.86);
  background: rgba(244, 185, 66, 0.16);
  color: #f4d675;
}

.model-mesh-debug small {
  flex-basis: 100%;
  overflow-wrap: anywhere;
  color: #9fb2ad;
}

@keyframes model-preview-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-0.35rem) scale(1.012);
  }
}

.model-master-copy {
  display: grid;
  align-content: center;
  gap: 0.75rem;
}

.model-master-copy h2 {
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
}

.model-master-copy p {
  color: #d8e4e1;
}

.model-selected-file {
  display: grid;
  gap: 0.18rem;
  padding: 0.62rem 0.72rem;
  border: 1px solid rgba(112, 214, 200, 0.18);
  border-radius: 8px;
  background: rgba(2, 9, 8, 0.44);
}

.model-selected-file strong {
  color: #70d6c8;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.model-selected-file span,
.model-asset-file {
  overflow-wrap: anywhere;
}

.model-selected-file span {
  color: #f8fbf8;
}

.model-detail-copy {
  align-content: start;
  padding: clamp(0.35rem, 1vw, 0.75rem);
}

.model-choice-block {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.model-choice-block > strong {
  color: #ffffff;
  font-size: 0.88rem;
  text-transform: uppercase;
}

.model-color-row,
.model-size-row,
.model-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.model-color-choice,
.model-size-choice,
.model-select-button {
  min-height: 2.6rem;
  border: 1px solid rgba(112, 214, 200, 0.28);
  border-radius: 999px;
  background: rgba(3, 9, 8, 0.78);
  color: #f8fbf8;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 0.55rem 0.8rem;
}

.model-color-choice {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.model-color-choice span {
  display: inline-block;
  width: 1.15rem;
  height: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  flex: 0 0 auto;
}

.model-color-choice.is-active,
.model-size-choice.is-active,
.model-select-button:hover,
.model-select-button:focus-visible {
  border-color: #f4b942;
  box-shadow: 0 0 0 2px rgba(244, 185, 66, 0.16);
}

.model-detail-actions {
  margin-top: 0.45rem;
}

.model-detail-wish {
  align-items: center;
}

.model-detail-wish .wish-button {
  min-height: 2.8rem;
}

.model-master-facts,
.model-asset-meta,
.model-asset-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.model-master-facts span,
.model-asset-meta span {
  border: 1px solid rgba(112, 214, 200, 0.24);
  border-radius: 999px;
  color: #9fe8df;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 0.25rem 0.55rem;
  text-transform: uppercase;
}

.model-asset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.model-asset-card {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.75rem;
}

.model-asset-card.is-master-candidate {
  border-color: rgba(244, 185, 66, 0.44);
}

.model-variant-card {
  transition: transform 160ms ease, border-color 160ms ease;
}

.model-variant-card:hover,
.model-variant-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(244, 185, 66, 0.42);
}

.model-asset-image,
.model-asset-placeholder {
  aspect-ratio: 1;
  min-width: 0;
}

.model-master-placeholder,
.model-asset-placeholder {
  display: grid;
  place-items: center;
  color: #9ca8b6;
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.model-asset-copy {
  min-width: 0;
}

.model-asset-copy h3 {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.model-asset-copy p {
  color: #d8e4e1;
  font-size: 0.85rem;
  line-height: 1.35;
  margin: 0.35rem 0;
  overflow-wrap: anywhere;
}

.model-asset-file {
  display: block;
  margin: 0.3rem 0;
  color: #9fb2ad;
  font-size: 0.78rem;
}

.workshop-wishes-section {
  background:
    linear-gradient(120deg, rgba(88, 191, 221, 0.12), transparent 34%, rgba(244, 185, 66, 0.12) 72%, transparent),
    linear-gradient(180deg, rgba(6, 16, 15, 0.99), rgba(9, 18, 17, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(112, 214, 200, 0.14),
    inset 0 -1px 0 rgba(244, 185, 66, 0.12);
}

.workshop-wish-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: min(100%, var(--content));
  margin: 0 auto;
}

.workshop-wish-steps article {
  display: grid;
  gap: 0.45rem;
  border: 1px solid rgba(112, 214, 200, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 12%, rgba(244, 185, 66, 0.14), transparent 8rem),
    linear-gradient(180deg, rgba(20, 34, 31, 0.96), rgba(13, 18, 17, 0.98));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  padding: 1rem;
}

.workshop-wish-steps span {
  color: #58bfdd;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.workshop-wish-steps strong {
  color: #ffffff;
  font-size: 1.05rem;
}

.workshop-wish-steps p {
  margin: 0;
  color: #c9ddd9;
  line-height: 1.45;
}

.workshop-wish-workflow {
  display: grid;
  gap: 0.45rem;
  width: min(100%, var(--content));
  margin: 1rem auto 0;
  border: 1px solid rgba(244, 185, 66, 0.34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 96% 0%, rgba(244, 185, 66, 0.18), transparent 8rem),
    linear-gradient(90deg, rgba(88, 191, 221, 0.12), rgba(7, 19, 18, 0.86));
  box-shadow: inset 4px 0 0 #f4b942, 0 18px 42px rgba(0, 0, 0, 0.22);
  padding: 1rem;
}

.workshop-wish-workflow .eyebrow,
.workshop-wish-workflow h3,
.workshop-wish-workflow p {
  margin: 0;
}

.workshop-wish-workflow h3 {
  color: #ffffff;
  font-size: 1.2rem;
}

.workshop-wish-workflow p:not(.eyebrow) {
  max-width: 980px;
  color: #d8e4e1;
  line-height: 1.5;
}

.catalog-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.65rem;
  align-items: end;
  margin-top: 0.45rem;
}

.catalog-search-form {
  display: grid;
  gap: 0.35rem;
}

.catalog-search-form span {
  color: #70d6c8;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.catalog-search-form input {
  width: 100%;
  min-height: 2.8rem;
  border: 1px solid rgba(112, 214, 200, 0.34);
  border-radius: 8px;
  background: rgba(5, 12, 12, 0.88);
  color: #ffffff;
  font: inherit;
  padding: 0.6rem 0.75rem;
}

.catalog-search-result {
  margin-top: 0.65rem;
}

.wish-bank-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.85fr);
  gap: 0.85rem;
  align-items: center;
  max-width: 880px;
  margin-top: 1rem;
  border: 1px solid rgba(112, 214, 200, 0.32);
  border-radius: 8px;
  background:
    radial-gradient(circle at 96% 0%, rgba(244, 185, 66, 0.18), transparent 8rem),
    linear-gradient(90deg, rgba(88, 191, 221, 0.14), rgba(7, 19, 18, 0.78));
  box-shadow: inset 4px 0 0 #f4b942, 0 18px 38px rgba(0, 0, 0, 0.24);
  padding: 0.8rem;
}

.wish-bank-card .eyebrow {
  margin: 0 0 0.25rem;
}

.wish-bank-card strong {
  display: block;
  color: #ffffff;
  font-size: 1.02rem;
}

.wish-bank-card span,
.wish-bank-card .form-status {
  display: block;
  margin: 0.25rem 0 0;
  color: #c9ddd9;
  font-size: 0.9rem;
  line-height: 1.35;
}

.wish-signup-form {
  display: grid;
  gap: 0.45rem;
}

.wish-signup-form input {
  min-height: 2.65rem;
  border: 1px solid rgba(112, 214, 200, 0.32);
  border-radius: 8px;
  background: rgba(7, 19, 18, 0.86);
  color: #ffffff;
  font: inherit;
  font-size: 0.95rem;
  padding: 0.55rem 0.7rem;
}

.wish-control {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-top: 0.35rem;
}

.wish-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  border: 1px solid color-mix(in srgb, var(--artist-primary, #70d6c8) 62%, #ffffff 8%);
  border-radius: 999px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--artist-primary, #70d6c8) 30%, rgba(7, 19, 18, 0.88)), rgba(7, 19, 18, 0.86));
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  padding: 0.38rem 0.7rem;
}

.wish-button:hover,
.wish-button:focus-visible {
  border-color: rgba(244, 185, 66, 0.74);
  filter: brightness(1.08);
}

.wish-button.is-star-placed,
.wish-button:disabled {
  cursor: default;
  opacity: 0.72;
}

.wish-button.is-star-placed {
  border-color: rgba(98, 214, 164, 0.7);
  background: rgba(20, 133, 53, 0.34);
}

.wish-control [data-wish-count] {
  color: #f4d675;
  font-size: 0.78rem;
  font-weight: 900;
}

.fun-wish-panel {
  box-shadow: inset 4px 0 0 rgba(244, 185, 66, 0.78), 0 18px 42px rgba(0, 0, 0, 0.22);
}

.fun-wish-body {
  display: grid;
  gap: 0.85rem;
  padding: 0.9rem 1rem 1rem;
}

.fun-wish-body p {
  margin: 0;
  color: #f2fffb;
  font-size: 0.98rem;
  line-height: 1.45;
}

.fun-wish-body .button {
  width: 100%;
  min-height: 2.9rem;
  justify-content: center;
}

.games-hub-page {
  padding: 0 0 4rem;
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 92, 105, 0.12), transparent 18rem),
    radial-gradient(circle at 86% 8%, rgba(88, 191, 221, 0.14), transparent 19rem),
    #050908;
}

.games-hub-page .games-hero .hero-content {
  padding: 1.2rem 1.25rem 1.65rem;
}

.games-hub-page .games-hero h1 {
  max-width: 760px;
  margin-bottom: 0.6rem;
  font-size: clamp(2.3rem, 4.8vw, 3.55rem);
  line-height: 1;
}

.games-hub-page .games-hero .hero-copy {
  max-width: 720px;
  margin-bottom: 1rem;
  font-size: 1.16rem;
  line-height: 1.42;
}

.games-card-grid,
.games-roadmap-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: min(100%, var(--content));
  margin: 0 auto;
}

.game-card,
.games-roadmap-list article {
  position: relative;
  display: grid;
  gap: 0.5rem;
  min-height: 15rem;
  overflow: hidden;
  border: 1px solid rgba(112, 214, 200, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 12%, rgba(244, 185, 66, 0.16), transparent 8rem),
    linear-gradient(150deg, rgba(14, 40, 35, 0.96), rgba(10, 15, 15, 0.98));
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28);
  color: #d8e4e1;
  padding: 1rem;
  text-decoration: none;
}

.game-card::before,
.games-roadmap-list article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #ff5c69, #f4b942, #58bfdd);
}

.game-card:hover {
  border-color: rgba(244, 185, 66, 0.58);
  transform: translateY(-2px);
}

.game-card span,
.games-roadmap-list span {
  color: #58bfdd;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.game-card h3,
.games-roadmap-list strong {
  margin: 0;
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1.1;
}

.game-card p,
.games-roadmap-list p {
  margin: 0;
  color: #d8e4e1;
  line-height: 1.45;
}

.game-card strong {
  align-self: end;
  color: #f4b942;
  font-size: 0.88rem;
}

.game-card.is-active {
  border-color: rgba(88, 191, 221, 0.52);
  box-shadow: 0 0 0 1px rgba(88, 191, 221, 0.16), 0 22px 48px rgba(0, 0, 0, 0.32);
}

.games-roadmap-section {
  background:
    linear-gradient(90deg, rgba(88, 191, 221, 0.12), transparent 42%, rgba(244, 185, 66, 0.1)),
    #07100f;
}

.game-shelf-footer,
.star-story-footer {
  width: min(100%, var(--content));
  margin: 1rem auto 0;
  padding: 1rem;
  border: 1px solid rgba(112, 214, 200, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 8% 10%, rgba(88, 191, 221, 0.12), transparent 10rem),
    rgba(6, 16, 15, 0.86);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.game-shelf-footer p,
.star-story-footer p {
  margin: 0 0 0.75rem;
  color: #d8e4e1;
  font-weight: 800;
}

.game-shelf-footer nav,
.star-story-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.game-shelf-footer a,
.star-story-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  border: 1px solid rgba(112, 214, 200, 0.32);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  color: #ffffff;
  font-weight: 900;
  padding: 0.55rem 0.8rem;
  text-decoration: none;
}

.game-shelf-footer a:hover,
.game-shelf-footer a:focus-visible,
.star-story-footer a:hover,
.star-story-footer a:focus-visible {
  border-color: rgba(244, 185, 66, 0.58);
  color: #f4b942;
  outline: none;
}

.star-system-page {
  --star-story-accent: #70d6c8;
  padding: 0 0 4.5rem;
  background:
    radial-gradient(circle at 12% 16%, rgba(244, 185, 66, 0.14), transparent 18rem),
    radial-gradient(circle at 88% 8%, rgba(88, 191, 221, 0.12), transparent 20rem),
    #050908;
}

.star-system-hero .hero-content {
  padding: 1.65rem 1.25rem 2rem;
}

.star-system-hero h1 {
  max-width: 820px;
  margin-bottom: 0.7rem;
  font-size: clamp(2.25rem, 4.6vw, 3.8rem);
  line-height: 1;
}

.star-system-hero .hero-copy {
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.45;
}

.star-system-section {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: 2rem 1.25rem 0;
}

.star-vault-layout,
.wish-flow-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 1.05fr);
  gap: 1rem;
  align-items: start;
}

.star-story-home-grid {
  --star-story-accent: #70d6c8;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
  gap: 1rem;
  align-items: start;
}

.star-vault-card,
.star-story-card,
.star-debug-card,
.wish-maker-card,
.wish-magic-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(112, 214, 200, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 10%, rgba(244, 185, 66, 0.16), transparent 9rem),
    linear-gradient(150deg, rgba(14, 40, 35, 0.96), rgba(10, 15, 15, 0.98));
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.28);
  padding: 1rem;
}

.star-story-card::before,
.star-vault-card::before,
.wish-maker-card::before,
.wish-magic-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--star-story-accent) 82%, #ffffff 12%),
      var(--star-story-accent),
      color-mix(in srgb, var(--star-story-accent) 76%, #001d2e 24%)
    );
  box-shadow: 0 0 24px color-mix(in srgb, var(--star-story-accent) 36%, transparent);
}

.star-vault-card {
  min-height: 20rem;
}

.star-vault-card h2,
.star-story-card h2,
.star-debug-card h3,
.wish-maker-card h2,
.wish-magic-card h2 {
  margin-bottom: 0.55rem;
  color: #ffffff;
  font-size: 1.55rem;
}

.star-vault-card p,
.star-story-card p,
.star-debug-card p,
.wish-maker-card p,
.wish-magic-card p {
  color: #d8e4e1;
  line-height: 1.45;
}

.star-debug-card {
  margin-top: 0.8rem;
  background:
    radial-gradient(circle at 94% 8%, rgba(88, 191, 221, 0.14), transparent 8rem),
    rgba(0, 0, 0, 0.22);
}

.star-debug-card h3 {
  font-size: 1.05rem;
}

.star-story-lead-card,
.star-story-preferences-card {
  min-height: 100%;
}

.star-story-lead-card {
  background:
    radial-gradient(circle at 88% 8%, rgba(244, 185, 66, 0.18), transparent 9rem),
    radial-gradient(circle at 8% 92%, rgba(88, 191, 221, 0.12), transparent 10rem),
    linear-gradient(150deg, rgba(14, 40, 35, 0.96), rgba(10, 15, 15, 0.98));
}

.star-story-preferences {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.star-story-preferences .vault-status {
  margin-top: 0;
}

.star-story-home-grid .star-vault-card,
.star-story-home-grid .wish-maker-card {
  grid-column: 1;
}

.star-story-home-grid .wish-magic-card {
  grid-column: 2;
}

.star-debug-card pre {
  max-height: 24rem;
  overflow: auto;
  margin: 0.65rem 0 0;
  border: 1px solid rgba(112, 214, 200, 0.2);
  border-radius: 8px;
  background: rgba(2, 8, 8, 0.72);
  color: #f6fffd;
  font: 0.82rem/1.45 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  padding: 0.8rem;
  white-space: pre-wrap;
}

.star-vault-form {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  margin-inline: auto;
  margin-top: 1rem;
  max-width: 19rem;
  width: 100%;
}

.vault-pin-label {
  justify-self: center;
  color: #70d6c8;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.star-vault-form input[type="hidden"] {
  display: none;
}

.vault-pin-display {
  display: grid;
  place-items: center;
  width: min(100%, 15rem);
  min-height: 3.1rem;
  border: 1px solid rgba(244, 185, 66, 0.36);
  border-radius: 8px;
  background:
    radial-gradient(circle at 85% 16%, rgba(244, 185, 66, 0.16), transparent 7rem),
    rgba(5, 12, 12, 0.88);
  color: #ffffff;
  font: inherit;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  padding: 0.45rem 0.65rem 0.45rem 0.9rem;
}

.vault-keypad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  width: min(100%, 15rem);
}

.vault-keypad button {
  min-height: 3.25rem;
  border: 1px solid rgba(112, 214, 200, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 16%, rgba(88, 191, 221, 0.12), transparent 5rem),
    rgba(0, 0, 0, 0.2);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 1.28rem;
  font-weight: 900;
}

.vault-keypad button:hover,
.vault-keypad button:focus-visible {
  border-color: rgba(244, 185, 66, 0.66);
  background:
    radial-gradient(circle at 78% 16%, rgba(244, 185, 66, 0.18), transparent 5rem),
    rgba(0, 0, 0, 0.28);
  outline: none;
}

.vault-keypad-action {
  color: #c9ddd9 !important;
  font-size: 0.82rem !important;
  text-transform: uppercase;
}

.vault-balance-panel {
  display: none;
  gap: 0.35rem;
  margin-top: 1rem;
  border: 1px solid rgba(112, 214, 200, 0.26);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  padding: 0.85rem;
}

.is-vault-open .vault-balance-panel {
  display: grid;
}

.is-vault-recovery .vault-balance-panel {
  display: none;
}

.is-vault-open .star-vault-form {
  display: none;
}

.vault-balance-panel strong {
  color: #f4b942;
  font-size: 2.2rem;
  line-height: 1;
}

.vault-balance-panel span {
  color: #c9ddd9;
  font-weight: 800;
}

.vault-lock-button {
  width: max-content;
  min-height: 2.4rem;
  margin-top: 0.35rem;
  border: 1px solid rgba(244, 185, 66, 0.42);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 0.55rem 0.8rem;
}

.vault-lock-button:hover,
.vault-lock-button:focus-visible {
  border-color: rgba(244, 185, 66, 0.72);
  color: #f4b942;
  outline: none;
}

.vault-recovery-panel {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
  border: 1px solid rgba(244, 185, 66, 0.34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 12%, rgba(244, 185, 66, 0.16), transparent 8rem),
    rgba(0, 0, 0, 0.22);
  padding: 0.9rem;
}

.vault-recovery-panel[hidden] {
  display: none;
}

.vault-recovery-panel strong {
  color: #ffffff;
}

.vault-recovery-panel p {
  margin: 0;
}

.vault-recovery-email-box {
  display: grid;
  gap: 0.55rem;
  border: 1px solid rgba(112, 214, 200, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 16%, rgba(88, 191, 221, 0.12), transparent 8rem),
    rgba(5, 12, 12, 0.42);
  padding: 0.85rem;
}

.vault-recovery-email-box strong {
  color: #ffffff;
}

.vault-recovery-panel label {
  display: grid;
  gap: 0.35rem;
  color: #70d6c8;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vault-recovery-picks {
  display: grid;
  gap: 0.45rem;
}

.vault-recovery-picks > span {
  color: #70d6c8;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vault-choice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.vault-choice-grid button {
  align-items: center;
  border: 1px solid rgba(112, 214, 200, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--vault-choice-color, #70d6c8) 28%, transparent), rgba(0, 0, 0, 0.16)),
    rgba(0, 0, 0, 0.18);
  color: #ffffff;
  cursor: pointer;
  display: grid;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  gap: 0.38rem;
  justify-items: center;
  min-height: 6rem;
  padding: 0.58rem 0.42rem;
  position: relative;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    filter 150ms ease,
    opacity 150ms ease,
    transform 150ms ease;
}

.vault-choice-grid button span {
  line-height: 1.05;
}

.vault-character-grid img {
  aspect-ratio: 1;
  border: 2px solid color-mix(in srgb, var(--vault-choice-color, #70d6c8) 74%, #ffffff 12%);
  border-radius: 999px;
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.55),
    0 0 18px color-mix(in srgb, var(--vault-choice-color, #70d6c8) 38%, transparent);
  display: block;
  height: 3.15rem;
  object-fit: cover;
  transition:
    box-shadow 150ms ease,
    filter 150ms ease,
    transform 150ms ease;
  width: 3.15rem;
}

.vault-choice-grid button:hover,
.vault-choice-grid button:focus-visible,
.vault-choice-grid button.is-selected {
  border-color: color-mix(in srgb, var(--vault-choice-color, #f4b942) 72%, #ffffff 10%);
  background:
    radial-gradient(circle at 50% 32%, color-mix(in srgb, var(--vault-choice-color, #70d6c8) 66%, transparent), transparent 7rem),
    linear-gradient(180deg, color-mix(in srgb, var(--vault-choice-color, #70d6c8) 48%, rgba(20, 34, 31, 0.96)), rgba(13, 18, 17, 0.98));
  box-shadow:
    0 22px 52px color-mix(in srgb, var(--vault-choice-color, #70d6c8) 54%, transparent),
    inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  outline: none;
  z-index: 1;
}

.vault-choice-grid button:hover,
.vault-choice-grid button:focus-visible {
  filter: saturate(1.14) brightness(1.06);
  opacity: 1;
  transform: translateY(-4px) scale(1.02);
}

.vault-choice-grid button.is-selected {
  filter: saturate(1.18) brightness(1.08);
  transform: translateY(-4px) scale(1.03);
}

.vault-character-grid button:hover img,
.vault-character-grid button:focus-visible img,
.vault-character-grid button.is-selected img {
  filter: saturate(1.18) brightness(1.08);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.34),
    0 0 0 0.55rem color-mix(in srgb, var(--vault-choice-color, #70d6c8) 22%, transparent);
  transform: scale(1.06);
}

.vault-choice-grid.has-selection button:not(.is-selected) {
  filter: saturate(0.72) brightness(0.82);
  opacity: 0.5;
}

.vault-choice-grid.has-selection button:not(.is-selected):hover,
.vault-choice-grid.has-selection button:not(.is-selected):focus-visible {
  filter: saturate(1.14) brightness(1.06);
  opacity: 1;
}

.vault-color-grid button {
  --vault-choice-color: #70d6c8;
}

.vault-color-grid button::before {
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.82), transparent 22%),
    var(--vault-choice-color);
  border: 2px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.55),
    0 0 18px color-mix(in srgb, var(--vault-choice-color, #70d6c8) 42%, transparent);
  content: "";
  display: block;
  height: 3.15rem;
  transition:
    box-shadow 150ms ease,
    filter 150ms ease,
    transform 150ms ease;
  width: 3.15rem;
}

.vault-recovery-panel input {
  min-height: 2.7rem;
  border: 1px solid rgba(112, 214, 200, 0.3);
  border-radius: 8px;
  background: rgba(5, 12, 12, 0.88);
  color: #ffffff;
  font: inherit;
  padding: 0.55rem 0.7rem;
}

.vault-recovery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.vault-status,
.vault-privacy {
  margin: 0.75rem 0 0;
  color: #c9ddd9;
  font-size: 0.9rem;
}

.star-story-list {
  display: grid;
  gap: 0.6rem;
}

.star-story-entry,
.star-story-empty {
  display: grid;
  grid-template-columns: minmax(8rem, 0.8fr) minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  border: 1px solid rgba(112, 214, 200, 0.18);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  padding: 0.7rem;
}

.star-story-empty {
  grid-template-columns: 1fr;
}

.star-story-entry time {
  color: #9fb2af;
  font-size: 0.82rem;
  font-weight: 800;
}

.star-story-entry strong,
.star-story-empty strong {
  color: #ffffff;
}

.star-story-entry span {
  color: #f4b942;
  font-weight: 900;
  white-space: nowrap;
}

.star-story-entry span.is-negative {
  color: #ffb6ad;
}

.wish-magic-card {
  box-shadow: inset 4px 0 0 #f4b942, 0 22px 52px rgba(0, 0, 0, 0.28);
}

.wish-magic-list {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wish-magic-list li {
  border: 1px solid rgba(112, 214, 200, 0.18);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
  color: #d8e4e1;
  padding: 0.7rem;
}

@media (max-width: 820px) {
  .star-vault-layout,
  .wish-flow-layout,
  .star-story-welcome-grid,
  .star-story-home-grid {
    grid-template-columns: 1fr;
  }

  .star-story-home-grid .star-vault-card,
  .star-story-home-grid .wish-maker-card,
  .star-story-home-grid .wish-magic-card {
    grid-column: auto;
  }

  .star-story-entry {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 520px) {
  .vault-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.artist-profile-hero .hero-content {
  padding: 2.2rem 1.25rem 2.6rem;
}

.artist-hero-lockup {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
}

.artist-profile-hero .artist-signature-label {
  margin: 0 0 0.25rem;
}

.artist-profile-hero .hero-copy {
  max-width: 720px;
}

.artist-hero-vibes {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.artist-hero-vibes .artist-best-for {
  max-width: 720px;
}

.artist-profile-mark {
  width: 5.5rem;
  height: 5.5rem;
  font-size: 1.45rem;
}

.artist-profile-hero h1 {
  margin: 0;
  line-height: 1;
}

.artist-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.8fr);
  gap: 1rem;
  min-width: 0;
}

.artist-profile-card {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  min-width: 0;
  padding: 1rem;
}

.artist-profile-card h2 {
  font-size: 1.45rem;
  line-height: 1.12;
}

.artist-profile-card .resource-actions {
  display: grid;
  gap: 0.55rem;
}

.artist-profile-card .resource-actions a {
  width: 100%;
  border: 1px solid rgba(112, 214, 200, 0.24);
  border-radius: 8px;
  background: rgba(7, 19, 18, 0.82);
  color: #f6fffd;
  padding: 0.65rem 0.8rem;
  text-align: center;
}

.artist-links-card {
  overflow: hidden;
  border-color: rgba(88, 191, 221, 0.28);
  background:
    radial-gradient(circle at 94% 12%, rgba(88, 191, 221, 0.18), transparent 8rem),
    linear-gradient(180deg, rgba(15, 32, 32, 0.98), rgba(8, 18, 17, 0.98));
}

.artist-source-list {
  display: grid;
  gap: 0.65rem;
}

.artist-source-link {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
  min-height: 5.8rem;
  padding: 0.82rem 0.9rem;
  border: 1px solid rgba(112, 214, 200, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(88, 191, 221, 0.12), transparent 48%),
    rgba(4, 14, 13, 0.84);
  color: #f6fffd;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.artist-source-link:hover {
  border-color: rgba(112, 214, 200, 0.58);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
  text-decoration: none;
  transform: translateY(-1px);
}

.artist-source-kicker {
  color: #58bfdd;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.artist-source-link strong {
  color: #ffffff;
  font-size: 1.02rem;
}

.artist-source-link small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.3;
}

.artist-source-brand {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  min-width: 0;
}

.artist-source-brand img {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  box-sizing: content-box;
  border-radius: 50%;
  background: #ffffff;
  padding: 0.12rem;
}

.patreon-source-link {
  border-left: 4px solid #ff424d;
}

.artist-board-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.artist-board-stats article {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem;
}

.artist-board-stats strong {
  color: #ffffff;
  font-size: 1.35rem;
}

.artist-theme-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.artist-tagline {
  color: var(--snow);
  font-weight: 800;
}

.artist-catalog-status {
  margin-top: auto;
  border: 1px solid rgba(244, 185, 66, 0.24);
  border-radius: var(--radius);
  background: rgba(244, 185, 66, 0.08);
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 800;
  padding: 0.55rem 0.65rem;
}

.artist-catalog-shell {
  display: grid;
  gap: 1.25rem;
}

.catalog-summary-grid,
.catalog-grid,
.catalog-toolbar {
  width: min(100%, var(--content));
  margin: 0 auto;
}

.catalog-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.catalog-summary-grid article {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem;
  border: 1px solid rgba(112, 214, 200, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 34, 31, 0.96), rgba(13, 18, 17, 0.98));
}

.catalog-summary-grid strong {
  color: var(--snow);
  font-size: 1.35rem;
}

.catalog-summary-grid span {
  color: var(--muted);
  font-weight: 800;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 0.75rem;
  align-items: end;
}

.catalog-toolbar label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-weight: 800;
}

.catalog-toolbar input,
.catalog-toolbar select {
  width: 100%;
  border: 1px solid rgba(112, 214, 200, 0.24);
  border-radius: var(--radius);
  background: #101817;
  color: var(--snow);
  font: inherit;
  padding: 0.7rem 0.8rem;
}

.catalog-status {
  width: min(100%, var(--content));
  margin: 0 auto;
  color: var(--muted);
  font-weight: 800;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.catalog-item-card {
  min-height: 360px;
}

.catalog-item-card.is-muted {
  opacity: 0.62;
}

.catalog-preview-placeholder {
  display: grid;
  place-items: center;
  min-height: 132px;
  border: 1px dashed rgba(112, 214, 200, 0.34);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 28% 20%, rgba(88, 191, 221, 0.16), transparent 10rem),
    linear-gradient(135deg, rgba(20, 34, 31, 0.92), rgba(7, 14, 13, 0.98));
  color: var(--evergreen);
  font-size: 0.9rem;
  font-weight: 900;
  text-align: center;
}

.catalog-preview-image {
  margin: 0;
  min-height: 132px;
  overflow: hidden;
  border: 1px solid rgba(112, 214, 200, 0.34);
  border-radius: var(--radius);
  background: #020706;
}

.catalog-preview-image img {
  width: 100%;
  height: 100%;
  min-height: 132px;
  object-fit: contain;
  display: block;
}

.resource-page {
  background: var(--paper);
  padding: 3rem 1.25rem 5rem;
}

.learning-center-page {
  padding: 0 0 5rem;
}

.print-file-page {
  padding: 0 0 5rem;
}

.hero.category-hero {
  min-height: auto;
  max-height: none;
  align-items: stretch;
}

.hero.learning-center-hero {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(4, 12, 12, 0.74) 46%, rgba(4, 12, 12, 0.24) 100%),
    url("../images/home-page-hero-background.webp") center center / cover no-repeat,
    #081211;
}

.hero.fun-prints-hero {
  background:
    radial-gradient(circle at 78% 26%, rgba(244, 185, 66, 0.18), transparent 20rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(4, 12, 12, 0.7) 48%, rgba(4, 12, 12, 0.2) 100%),
    url("../images/home-page-hero-background.webp") center center / cover no-repeat,
    #081211;
}

.model-detail-page .model-detail-hero {
  border-bottom: 1px solid rgba(112, 214, 200, 0.18);
  background:
    linear-gradient(90deg, rgba(6, 17, 16, 0.98), rgba(10, 24, 22, 0.94)),
    #071211;
}

.model-detail-page .model-detail-hero::before {
  opacity: 0.16;
}

.model-detail-page .model-detail-hero::after {
  height: 4px;
}

.model-detail-page .model-detail-hero .hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1rem;
  min-width: 0;
  padding: 1rem 1.25rem 0.9rem;
}

.model-detail-page .model-detail-hero .eyebrow,
.model-detail-page .model-detail-hero h1,
.model-detail-page .model-detail-hero .hero-copy {
  grid-column: 1;
}

.model-detail-page .model-detail-hero .eyebrow {
  width: max-content;
  margin-bottom: 0.35rem;
  border: 0;
  background: transparent;
  color: #70d6c8;
  padding: 0;
}

.model-detail-page .model-detail-hero h1 {
  max-width: none;
  margin-bottom: 0.28rem;
  font-size: clamp(2rem, 4vw, 3.05rem);
}

.model-detail-page .model-detail-hero .hero-copy {
  max-width: none;
  margin-bottom: 0;
  color: #c9ddd9;
  font-size: 1rem;
}

.model-detail-page .model-detail-hero .hero-actions {
  grid-column: 2;
  grid-row: 1 / span 3;
  justify-content: end;
}

.model-detail-page .model-detail-section {
  padding-top: 0.9rem;
}

.hero.print-file-hero {
  background:
    radial-gradient(circle at 78% 24%, rgba(88, 191, 221, 0.18), transparent 21rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(4, 12, 12, 0.72) 48%, rgba(4, 12, 12, 0.22) 100%),
    url("../images/home-page-hero-background.webp") center center / cover no-repeat,
    #081211;
}

.print-file-hero .hero-content {
  padding: 2.25rem 1.25rem 3rem;
}

.print-file-hero .hero-copy {
  max-width: 760px;
}

.print-file-hero .eyebrow {
  display: block;
  width: max-content;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: var(--red);
}

.print-file-hero .print-file-hero-choices {
  min-width: 0;
  width: 100%;
  margin: 1.75rem auto 0;
  padding: 0;
  border: 0;
}

.print-file-hero .print-file-hero-choices legend {
  grid-column: 1 / -1;
  margin: 0 0 -0.15rem;
  padding: 0;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.print-file-hero .print-file-hero-choices .intake-choice {
  border-color: rgba(244, 185, 66, 0.32);
  background: rgba(13, 18, 17, 0.9);
}

.print-file-hero .print-file-hero-choices .file-guidance-choice {
  display: none;
}

.print-file-hero.is-file-path .print-file-hero-choices .intake-choice:not(.file-guidance-choice):not(:has(input:checked)) {
  display: none;
}

.print-file-hero.is-file-path .print-file-hero-choices {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.print-file-hero.is-file-path .print-file-hero-choices legend {
  display: none;
}

.print-file-hero.is-file-path .print-file-hero-choices .intake-choice {
  height: 168px;
  min-height: 168px;
}

.print-file-hero.is-file-path .print-file-hero-choices .file-guidance-choice {
  display: grid;
  height: 168px;
  min-height: 168px;
}

.print-file-hero.is-file-path.has-file-guidance-choice .file-guidance-choice:not(:has(input:checked)) {
  opacity: 0.5;
}

.print-file-hero.is-file-path.has-file-guidance-choice .file-guidance-choice:has(input:checked) {
  border-color: rgba(20, 133, 53, 0.95);
  background:
    radial-gradient(circle at 92% 18%, rgba(20, 133, 53, 0.42), transparent 5.5rem),
    linear-gradient(90deg, rgba(20, 133, 53, 0.24), rgba(112, 214, 200, 0.1) 58%, transparent),
    #101816;
  box-shadow: inset 0 0 0 1px rgba(20, 133, 53, 0.48), 0 18px 38px rgba(0, 0, 0, 0.28);
}

.fun-prints-page {
  padding: 0 0 5rem;
}

.fun-prints-page .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.175rem;
}

.fun-prints-page .artist-picker-section {
  background:
    linear-gradient(115deg, rgba(255, 0, 0, 0.16) 0%, rgba(255, 102, 204, 0.1) 24%, transparent 48%),
    linear-gradient(245deg, rgba(0, 102, 255, 0.14) 0%, rgba(0, 204, 255, 0.1) 30%, transparent 56%),
    linear-gradient(180deg, rgba(12, 31, 27, 0.98), rgba(5, 10, 10, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(112, 214, 200, 0.18),
    inset 0 -1px 0 rgba(244, 185, 66, 0.14);
}

.fun-picker-header {
  width: min(100%, var(--content));
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: 1rem;
  align-items: stretch;
}

.fun-picker-header .section-heading {
  width: auto;
  margin: 0;
}

.fun-prints-page.is-elf-game-active .fun-picker-header {
  grid-template-columns: 1fr;
  margin-bottom: 1rem;
}

.fun-prints-page.is-elf-game-active .fun-picker-header .section-heading {
  display: none;
}

.fun-prints-page.is-elf-game-active .elf-game-panel {
  width: min(100%, var(--content));
  min-height: 0;
  background:
    linear-gradient(90deg, rgba(7, 14, 15, 0.96) 0%, rgba(7, 14, 15, 0.88) 34%, rgba(7, 14, 15, 0.34) 67%, rgba(7, 14, 15, 0.18) 100%),
    url("../images/simon/p_simon-header-captain-queue-2x4-panel-clean-main-400h-v004.png") center center / cover no-repeat,
    #081211;
}

.fun-prints-page.is-elf-game-active .elf-game-teaser-art {
  display: none;
}

.elf-game-panel {
  position: relative;
  display: grid;
  align-content: center;
  gap: 0.7rem;
  overflow: hidden;
  border: 1px solid rgba(244, 185, 66, 0.34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 12%, rgba(244, 185, 66, 0.22), transparent 8rem),
    linear-gradient(135deg, rgba(13, 29, 27, 0.96), rgba(7, 14, 15, 0.98));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  color: #ffffff;
  padding: 1rem 7.7rem 1rem 1rem;
}

.elf-game-panel h3,
.elf-game-panel p {
  margin: 0;
}

.elf-game-panel h3 {
  color: #ffffff;
  font-size: 1.2rem;
}

.elf-game-panel p:not(.eyebrow) {
  color: #d8e4e1;
  font-size: 0.95rem;
  line-height: 1.35;
}

.elf-game-scoreline,
.elf-game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.elf-game-scoreline span {
  border: 1px solid rgba(112, 214, 200, 0.25);
  border-radius: 999px;
  background: rgba(6, 16, 15, 0.72);
  color: #d8e4e1;
  font-size: 0.8rem;
  font-weight: 900;
  padding: 0.35rem 0.6rem;
}

.elf-game-scoreline strong {
  color: #f4b942;
}

.elf-game-actions .button {
  min-height: 2.65rem;
}

.elf-game-teaser-art {
  position: absolute;
  right: 0.85rem;
  bottom: 0.75rem;
  width: 7.15rem;
  height: 7.15rem;
  margin: 0;
  border: 2px solid rgba(112, 214, 200, 0.72);
  border-radius: 50%;
  background: rgba(7, 14, 15, 0.84);
  box-shadow:
    0 0 0 4px rgba(244, 185, 66, 0.13),
    0 16px 30px rgba(0, 0, 0, 0.38);
}

.elf-game-teaser-art img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.elf-game-teaser-art figcaption {
  position: absolute;
  right: -0.2rem;
  bottom: -0.4rem;
  padding: 0.23rem 0.48rem;
  border: 1px solid rgba(244, 185, 66, 0.62);
  border-radius: 999px;
  background: #0a1716;
  color: #f4b942;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.elf-game-actions [hidden] {
  display: none !important;
}

.fun-prints-page .fun-news-section {
  background:
    linear-gradient(90deg, rgba(255, 204, 0, 0.14), transparent 32%, rgba(153, 0, 255, 0.1) 70%, rgba(0, 204, 102, 0.12)),
    linear-gradient(180deg, rgba(6, 16, 15, 0.99), rgba(8, 13, 14, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(244, 185, 66, 0.16),
    inset 0 -1px 0 rgba(112, 214, 200, 0.12);
}

.fun-prints-page .fun-news-section .fun-board-panel {
  width: min(100%, var(--content));
  margin-inline: auto;
}

.fun-prints-page #model-directory .catalog-search-form {
  padding: 0.85rem 1rem 0;
}

.fun-prints-page #model-directory .artist-filter-status {
  margin: 0.75rem 1rem 0;
}

.fun-prints-page #model-directory .fun-feed-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding-top: 1rem;
}

.fun-prints-page #model-directory .fun-feed-list article {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
  min-height: 0;
  border-top: 0;
  border: 1px solid rgba(112, 214, 200, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.06), transparent 5rem),
    rgba(5, 14, 13, 0.78);
  padding: 0.65rem;
}

.fun-prints-page #model-directory .fun-feed-vibe-card {
  padding-left: 0.65rem !important;
}

.fun-prints-page #model-directory .fun-feed-vibe-card::before {
  display: none;
}

.fun-prints-page #model-directory .fun-feed-source-stack {
  grid-column: auto;
  grid-row: auto;
  justify-items: stretch;
  width: 100%;
}

.fun-prints-page #model-directory .fun-feed-image {
  width: 100%;
  margin: 0;
}

.fun-prints-page #model-directory .fun-feed-card-body {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.fun-prints-page #model-directory .fun-feed-title-link,
.fun-prints-page #model-directory .fun-feed-list strong,
.fun-prints-page #model-directory .fun-feed-meta-line,
.fun-prints-page #model-directory .fun-feed-actions,
.fun-prints-page #model-directory .fun-feed-vibes {
  grid-column: auto;
}

.fun-prints-page #model-directory .fun-feed-list strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.9rem;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.fun-prints-page #model-directory .fun-feed-meta-line {
  gap: 0.35rem;
}

.fun-prints-page #model-directory .artist-mini-pill,
.fun-prints-page #model-directory .fun-feed-date,
.fun-prints-page #model-directory .fun-feed-stat {
  font-size: 0.68rem;
}

.fun-prints-page #model-directory .fun-feed-actions {
  margin-top: 0;
}

.fun-prints-page #model-directory .fun-feed-vibes {
  gap: 0.25rem;
  transform: none;
}

.fun-prints-page #model-directory .fun-feed-vibes .fun-tag {
  font-size: 0.66rem;
  padding: 0.15rem 0.35rem;
}

@media (min-width: 720px) {
  .fun-prints-page #model-directory .fun-feed-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .fun-prints-page #model-directory .fun-feed-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1180px) {
  .fun-prints-page #model-directory .fun-feed-list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.fun-prints-page #artist-directory {
  background:
    linear-gradient(120deg, rgba(0, 204, 255, 0.12), transparent 34%, rgba(255, 102, 0, 0.1) 72%, transparent),
    linear-gradient(180deg, rgba(11, 23, 22, 0.98), rgba(4, 8, 8, 0.98));
  box-shadow: inset 0 1px 0 rgba(112, 214, 200, 0.16);
}

.artist-profile-page .artist-profile-summary {
  background:
    linear-gradient(115deg, color-mix(in srgb, var(--artist-primary, #70d6c8) 16%, transparent), transparent 46%),
    linear-gradient(245deg, color-mix(in srgb, var(--artist-secondary, #f4b942) 14%, transparent), transparent 52%),
    linear-gradient(180deg, rgba(9, 18, 17, 0.98), rgba(5, 10, 10, 0.98));
}

.artist-profile-page .fun-news-section {
  background:
    linear-gradient(100deg, color-mix(in srgb, var(--artist-secondary, #f4b942) 12%, transparent), transparent 36%, color-mix(in srgb, var(--artist-primary, #70d6c8) 12%, transparent)),
    linear-gradient(180deg, rgba(5, 12, 12, 0.99), rgba(8, 13, 14, 0.99));
}

.print-file-page .resource-article {
  width: min(calc(100% - 2.5rem), var(--content));
  padding-top: 1.1rem;
}

.print-file-page .intake-form {
  scroll-margin-top: 6.5rem;
}

.learning-center-hero .hero-content {
  padding: 2.25rem 1.25rem 3rem;
}

.category-hero h1 {
  font-size: 3.55rem;
}

.learning-center-hero .hero-copy {
  max-width: 760px;
}

.learning-center-hero .learning-hero-paths {
  width: 100%;
  margin: 1.75rem auto 0;
}

.learning-center-hero .learning-path-card {
  min-height: 145px;
  gap: 0.5rem;
  padding: 0.95rem;
  border-color: rgba(112, 214, 200, 0.28);
  background: rgba(13, 18, 17, 0.9);
  color: var(--snow);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.learning-center-hero .learning-path-card h3 {
  color: var(--snow);
}

.learning-center-hero .learning-path-card p {
  color: rgba(255, 255, 255, 0.76);
}

.learning-center-hero .path-kicker {
  color: #70d6c8;
}

.resource-hero,
.resource-article {
  width: min(100%, 900px);
  margin: 0 auto;
}

.resource-hero {
  display: grid;
  gap: 0.85rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2rem;
}

.resource-hero h1 {
  color: var(--ink);
  font-size: 2.5rem;
}

.resource-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.15rem;
}

.learning-shelf {
  border-bottom: 1px solid var(--line);
}

.learning-path-grid,
.video-card-grid,
.learning-tool-grid {
  width: min(100%, var(--content));
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.learning-path-grid,
.learning-tool-grid {
  grid-template-columns: repeat(4, 1fr);
}

.learning-path-card,
.learning-tool-card,
.video-card,
.video-feature {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}

.learning-path-card,
.learning-tool-card,
.video-card {
  min-height: 170px;
  display: grid;
  align-content: start;
  gap: 0.6rem;
  padding: 1rem;
}

.learning-path-card:hover,
.learning-tool-card:hover,
.video-card-link:hover {
  border-color: rgba(139, 204, 191, 0.58);
  transform: translateY(-1px);
}

.path-kicker,
.video-card-kicker {
  color: var(--evergreen);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.learning-path-card h3,
.learning-tool-card h3,
.video-card h3 {
  margin: 0;
  font-size: 1.06rem;
}

.learning-path-card p,
.learning-tool-card p,
.video-card p {
  margin: 0;
  color: var(--muted);
}

.video-learning-layout {
  width: min(100%, var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.6fr);
  gap: 1rem;
  align-items: stretch;
}

.video-feature {
  display: grid;
  align-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem;
}

.video-feature h3 {
  margin: 0.25rem 0 0.5rem;
  font-size: 1.4rem;
}

.video-feature p {
  color: var(--muted);
}

.video-card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.video-card.is-placeholder {
  min-height: 120px;
  color: var(--muted);
}

.video-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.video-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #111817;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.22rem 0.48rem;
}

.section-heading-tight {
  margin-top: 2.4rem;
}

.resource-article {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  margin-top: 2rem;
  padding: 2rem;
}

.resource-article h2,
.resource-article h3 {
  margin: 1rem 0 0;
}

.resource-article h2 {
  font-size: 1.55rem;
}

.resource-article h3 {
  font-size: 1.2rem;
}

.resource-article p,
.resource-article li {
  color: var(--ink);
  font-size: 1.04rem;
}

.resource-article p {
  margin: 0;
}

.resource-article ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding-left: 1.25rem;
}

.resource-article a {
  color: var(--red);
  font-weight: 800;
}

.filament-guide-page {
  padding: 0 0 5rem;
}

.hero.filament-guide-hero {
  background:
    radial-gradient(circle at 76% 24%, rgba(88, 191, 221, 0.14), transparent 20rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(4, 12, 12, 0.82) 46%, rgba(4, 12, 12, 0.3) 100%),
    url("../images/filament-wall.png") center right / cover no-repeat,
    #081211;
}

.filament-guide-hero .eyebrow {
  border-color: rgba(112, 214, 200, 0.38);
  background: rgba(112, 214, 200, 0.1);
  color: #70d6c8;
}

.filament-guide-hero h1 {
  font-size: 3.1rem;
  text-shadow: 0 2px 18px rgba(112, 214, 200, 0.14);
}

.filament-guide-hero .hero-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
}

.filament-guide-page .resource-article {
  width: min(calc(100% - 2.5rem), var(--content));
  padding-top: 4rem;
}

.filament-guide-article {
  gap: 2rem;
}

.filament-guide-panel .eyebrow {
  width: max-content;
  padding: 0.45rem 1rem;
  background: #ffffff;
  color: #001a2d;
  letter-spacing: 0.42em;
}

.filament-guide-panel h1,
.filament-guide-panel h2 {
  color: #ffffff;
}

.filament-guide-panel h1 {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  font-size: 1.7rem;
}

.filament-guide-panel h2 {
  margin-top: 1.2rem;
  font-size: 1.55rem;
}

.filament-guide-panel p,
.filament-guide-panel li {
  color: #7fe0ff;
  font-size: 1.02rem;
  line-height: 1.48;
}

.filament-guide-panel strong {
  color: #9ee7ff;
}

.filament-guide-list {
  columns: 2;
  column-gap: 2rem;
  margin: 0;
  padding-left: 1.2rem;
}

.filament-guide-list li {
  break-inside: avoid;
  margin: 0.12rem 0;
}

.filament-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  list-style: none;
}

.filament-chip-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #111817;
  color: #f6f7f9;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 0.32rem 0.62rem;
}

.filament-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 2.25rem;
}

.filament-snapshot-card {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  min-height: 185px;
  padding: 1rem;
  border: 1px solid rgba(112, 214, 200, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(20, 34, 31, 0.96), rgba(13, 18, 17, 0.98));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.filament-snapshot-card h3,
.filament-snapshot-card p {
  margin: 0;
}

.filament-snapshot-card h3 {
  color: #ffffff;
  font-size: 1.12rem;
}

.filament-snapshot-card p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.42;
}

.filament-dot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin-top: auto;
}

.filament-dot-row span {
  width: 0.82rem;
  height: 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: var(--dot-color);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.26);
}

.filament-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.filament-type-card {
  display: grid;
  gap: 0.45rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111817;
}

.filament-type-card h3,
.filament-type-card p {
  margin: 0;
}

.filament-type-card h3 {
  color: #ffffff;
  font-size: 1.02rem;
}

.filament-type-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.filament-inventory-section {
  width: min(calc(100% - 2.5rem), var(--wide));
  margin: 4rem auto 0;
}

.filament-inventory-section .section-heading {
  width: min(100%, var(--content));
  margin-bottom: 1.25rem;
}

.intake-form {
  display: grid;
  gap: 1rem;
  margin: 1.6rem 0;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--ice), white 42%);
}

.intake-form label,
.admin-toolbar label,
.request-update-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 900;
  color: var(--ink);
}

.intake-form label span,
.admin-toolbar label span,
.request-update-form label span {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--muted);
}

.intake-form input,
.intake-form select,
.intake-form textarea,
.admin-toolbar select,
.request-update-form select,
.request-update-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.82rem 0.9rem;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

.intake-form textarea,
.request-update-form textarea {
  resize: vertical;
}

.intake-upload {
  padding: 1rem;
  border: 1px dashed color-mix(in srgb, var(--evergreen), white 36%);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.intake-upload small {
  color: var(--muted);
  font-weight: 700;
}

.intake-upload.is-dragover {
  border-color: var(--evergreen);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--evergreen), transparent 78%);
}

.intake-selected-files {
  display: grid;
  gap: 0.45rem;
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}

.intake-selected-files li {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  background: color-mix(in srgb, var(--white), var(--evergreen) 12%);
}

.intake-selected-files span {
  overflow-wrap: anywhere;
}

.intake-selected-files small {
  flex: 0 0 auto;
  white-space: nowrap;
}

.intake-actions,
.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: end;
}

.intake-message {
  min-height: 1.4rem;
  font-weight: 900;
}

.intake-message[data-type="success"] {
  color: var(--evergreen);
}

.intake-message[data-type="error"] {
  color: var(--red-dark);
}

.intake-message[data-type="pending"] {
  color: var(--muted);
}

.resource-page .intake-form {
  gap: 0.7rem;
  margin: 1rem 0;
  padding: 0.85rem;
  background: #08100f;
  border-color: rgba(112, 214, 200, 0.22);
}

.resource-page .intake-form .form-grid {
  gap: 0.7rem;
}

.resource-page .shipping-fields {
  border: 1px solid rgba(244, 185, 66, 0.28);
  border-radius: 8px;
  background: rgba(244, 185, 66, 0.1);
  padding: 0.75rem;
}

.resource-page .shipping-fields[hidden] {
  display: none;
}

.resource-page .intake-helper[hidden],
.resource-page .intake-advanced[hidden] {
  display: none;
}

.resource-page .intake-helper,
.resource-page .intake-choice-group,
.resource-page .intake-advanced {
  border: 1px solid rgba(112, 214, 200, 0.24);
  border-radius: 8px;
  background: #101816;
  padding: 0.75rem;
}

.resource-page .intake-helper {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.resource-page .intake-helper strong,
.resource-page .intake-choice-group legend,
.resource-page .intake-advanced summary {
  color: var(--ink);
  font-weight: 900;
}

.resource-page .intake-helper p,
.resource-page .intake-choice small,
.resource-page .intake-advanced p {
  margin: 0.18rem 0 0;
  color: #b7c9c5;
  font-size: 0.86rem;
  line-height: 1.35;
}

.resource-page .intake-helper-actions {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  justify-content: flex-end;
}

.resource-page .guided-helper-panel,
.resource-page .guided-helper-result {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.65rem;
  border-top: 1px solid rgba(112, 214, 200, 0.18);
  padding-top: 0.75rem;
}

.resource-page .guided-helper-panel[hidden],
.resource-page .guided-helper-result[hidden] {
  display: none;
}

.resource-page .guided-helper-step {
  display: grid;
  gap: 0.2rem;
}

.resource-page .guided-helper-step span {
  color: #8fbab2;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-page .guided-helper-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.45rem;
}

.resource-page .guided-helper-options label {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  border: 1px solid rgba(112, 214, 200, 0.2);
  border-radius: 7px;
  background: #0d1211;
  padding: 0.52rem 0.6rem;
}

.resource-page .guided-helper-options input {
  width: auto;
  accent-color: var(--evergreen);
}

.resource-page .guided-helper-options span {
  color: #ffffff;
  font-size: 0.88rem;
  line-height: 1.25;
  text-transform: none;
}

.resource-page .guided-helper-note {
  display: grid;
  gap: 0.25rem;
}

.resource-page .guided-helper-nav {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.resource-page .guided-helper-result p {
  margin: 0;
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.45;
}

.resource-page .guided-helper-result small {
  color: #b7c9c5;
  font-size: 0.82rem;
  line-height: 1.35;
}

.resource-page .intake-choice-group {
  display: grid;
  gap: 0.5rem;
}

.resource-page .intake-choice-group legend {
  margin: 0 0 0.4rem;
  padding: 0;
}

.resource-page .intake-choice {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.65rem;
  border: 1px solid rgba(112, 214, 200, 0.26);
  border-radius: 7px;
  background: #101816;
}

.resource-page .intake-choice input {
  width: auto;
  margin-top: 0.16rem;
  accent-color: var(--evergreen);
}

.resource-page .intake-choice span {
  display: grid;
  gap: 0.1rem;
  color: #ffffff;
  font-size: 0.95rem;
  text-transform: none;
}

.resource-page .intake-advanced {
  display: block;
  gap: 0.65rem;
}

.resource-page .intake-advanced summary {
  cursor: pointer;
}

.resource-page .intake-advanced[open] summary {
  margin-bottom: 0.2rem;
}

.resource-page .intake-advanced[open] {
  display: grid;
}

.resource-page .deadline-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem;
  align-items: center;
}

.resource-page .deadline-field input[type="date"] {
  cursor: pointer;
}

.resource-page .deadline-field .button {
  min-height: 39px;
  padding: 0.55rem 0.75rem;
  white-space: nowrap;
}

.resource-page .intake-form label {
  gap: 0.25rem;
}

.resource-page .intake-form label span {
  font-size: 0.74rem;
  color: #b7d7d1;
}

.resource-page .intake-form input,
.resource-page .intake-form select,
.resource-page .intake-form textarea {
  border-radius: 7px;
  padding: 0.58rem 0.7rem;
  font-size: 0.95rem;
  border-color: rgba(112, 214, 200, 0.2);
  background: #0d1211;
  color: #ffffff;
}

.resource-page .intake-form input::placeholder,
.resource-page .intake-form textarea::placeholder {
  color: #8ea09c;
  opacity: 1;
}

.resource-page .intake-form textarea[name="projectDescription"] {
  min-height: 118px;
}

.resource-page .intake-form textarea[name="materialNotes"] {
  min-height: 72px;
}

.resource-page .intake-upload {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.75fr);
  gap: 0.45rem 0.85rem;
  align-items: center;
  padding: 0.75rem;
  border-color: rgba(112, 214, 200, 0.28);
  background: #101816;
}

.resource-page .intake-upload input {
  grid-column: 2;
  grid-row: 1 / span 2;
  background: #0d1211;
}

.print-file-page .intake-upload input::file-selector-button {
  margin-right: 0.8rem;
  border: 0;
  border-radius: 6px;
  padding: 0.72rem 0.9rem;
  background: linear-gradient(180deg, #58bfdd, #4eb5d6);
  color: #06171d;
  cursor: pointer;
  font-weight: 900;
}

.print-file-page .intake-upload input::file-selector-button:hover {
  background: linear-gradient(180deg, #6ec7d6, #4eb5d6);
}

.resource-page .intake-upload small {
  color: #b7c9c5;
  font-size: 0.8rem;
  line-height: 1.3;
}

.resource-page .intake-choice span {
  color: #ffffff;
  font-size: 0.95rem;
  text-transform: none;
}

.resource-page .intake-choice small {
  color: #b7c9c5;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  text-transform: none;
}

.print-file-page .intake-card-choice-group {
  --choice-card-height: 168px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.print-file-page .intake-card-choice-group legend {
  grid-column: 1 / -1;
}

.print-file-page .choice-message {
  grid-column: 1 / -1;
  margin: 0;
  border: 1px solid rgba(244, 185, 66, 0.42);
  border-radius: 8px;
  background: rgba(244, 185, 66, 0.12);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 900;
  padding: 0.7rem 0.85rem;
}

.print-file-page .intake-card-choice-group .intake-choice {
  --choice-accent: #58bfdd;
  position: relative;
  display: grid;
  box-sizing: border-box;
  grid-template-rows: auto auto 1fr;
  height: var(--choice-card-height);
  min-height: var(--choice-card-height);
  max-height: var(--choice-card-height);
  width: 100%;
  min-width: 0;
  gap: 0.45rem;
  align-content: start;
  overflow: hidden;
  padding: 1rem 4.15rem 1rem 1rem;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  transform: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, opacity 160ms ease, background 160ms ease;
}

.print-file-page .print-file-hero-choices > .intake-choice:nth-of-type(2) {
  --choice-accent: #62d6a4;
}

.print-file-page .print-file-hero-choices > .intake-choice:nth-of-type(3) {
  --choice-accent: #f5c84b;
}

.print-file-page .print-file-hero-choices > .intake-choice:nth-of-type(4) {
  --choice-accent: #ff6b5f;
}

.print-file-page .print-file-hero-choices > .intake-choice:nth-of-type(5) {
  --choice-accent: #b78cff;
}

.print-file-page .print-file-hero-choices > .intake-choice:nth-of-type(6) {
  --choice-accent: #70d6c8;
}

.print-file-page .print-file-hero-choices > .intake-choice:nth-of-type(7) {
  --choice-accent: #f5c84b;
}

.print-file-page .intake-card-choice-group .intake-choice::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: linear-gradient(180deg, var(--red), var(--gold), var(--evergreen));
}

.print-file-page .intake-card-choice-group .intake-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.print-file-page .intake-card-choice-group .choice-icon {
  position: absolute;
  top: 0.85rem;
  right: 0.9rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: var(--choice-accent);
  opacity: 0.76;
  pointer-events: none;
  transition: filter 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.print-file-page .intake-card-choice-group .choice-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.print-file-page .print-file-hero .print-file-hero-choices .file-guidance-choice {
  display: none;
}

.print-file-page .print-file-hero.is-file-path .print-file-hero-choices .file-guidance-choice {
  display: grid;
}

.print-file-page .intake-card-choice-group .intake-choice h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1.15;
}

.print-file-page .intake-card-choice-group .intake-choice:has(.choice-icon) h3 {
  color: var(--choice-accent);
}

.print-file-page .intake-card-choice-group .intake-choice p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin: 0;
  color: #c9ddd9;
  font-size: 0.95rem;
  line-height: 1.35;
}

.print-file-page .intake-card-choice-group .intake-choice:not(:has(input:checked)) {
  transition: border-color 160ms ease, box-shadow 160ms ease, opacity 160ms ease, background 160ms ease;
}

.print-file-page .intake-card-choice-group .intake-choice:hover {
  transform: none;
}

.print-file-page .intake-card-choice-group .intake-choice:not(:has(input:checked)):hover,
.print-file-page .intake-card-choice-group .intake-choice:not(:has(input:checked)):focus-within {
  border-color: rgba(244, 185, 66, 0.72);
  background:
    radial-gradient(circle at 92% 18%, rgba(244, 185, 66, 0.22), transparent 5.5rem),
    linear-gradient(90deg, rgba(255, 111, 98, 0.13), rgba(244, 185, 66, 0.18) 58%, transparent),
    #101816;
  box-shadow: inset 0 0 0 1px rgba(244, 185, 66, 0.28), 0 18px 38px rgba(0, 0, 0, 0.28);
}

.print-file-page .intake-card-choice-group .intake-choice:hover .choice-icon,
.print-file-page .intake-card-choice-group .intake-choice:focus-within .choice-icon {
  filter: brightness(1.18);
  opacity: 0.92;
  transform: translateY(-1px);
}

.print-file-hero.has-request-kind-choice .intake-card-choice-group .intake-choice:has(input:checked) {
  border-color: rgba(244, 185, 66, 0.9);
  background:
    radial-gradient(circle at 92% 18%, rgba(20, 133, 53, 0.36), transparent 5.5rem),
    linear-gradient(90deg, rgba(20, 133, 53, 0.18), rgba(244, 185, 66, 0.12) 58%, transparent),
    #101816;
  box-shadow: inset 0 0 0 1px rgba(244, 185, 66, 0.48), 0 18px 38px rgba(0, 0, 0, 0.28);
}

.print-file-hero.has-request-kind-choice .intake-card-choice-group .intake-choice:has(input:checked) .choice-icon,
.print-file-hero.is-file-path.has-file-guidance-choice .intake-card-choice-group .intake-choice:has(input:checked) .choice-icon {
  color: #62d6a4;
  filter: brightness(1.18);
  opacity: 0.95;
}

.print-file-hero.is-file-path.has-file-guidance-choice .intake-card-choice-group .file-guidance-choice:has(input:checked) {
  border-color: rgba(20, 133, 53, 0.95);
  background:
    radial-gradient(circle at 92% 18%, rgba(20, 133, 53, 0.42), transparent 5.5rem),
    linear-gradient(90deg, rgba(20, 133, 53, 0.24), rgba(112, 214, 200, 0.1) 58%, transparent),
    #101816;
  box-shadow: inset 0 0 0 1px rgba(20, 133, 53, 0.48), 0 18px 38px rgba(0, 0, 0, 0.28);
}

.print-file-hero.is-file-path.has-file-guidance-choice .intake-card-choice-group .intake-choice:has([data-request-kind]:checked) {
  border-color: rgba(20, 133, 53, 0.95);
  box-shadow: inset 0 0 0 1px rgba(20, 133, 53, 0.48), 0 18px 38px rgba(0, 0, 0, 0.28);
}

.print-file-page .intake-card-choice-group .intake-choice:has(input:focus-visible) {
  outline: 2px solid rgba(112, 214, 200, 0.72);
  outline-offset: 3px;
}

.resource-page .intake-actions {
  gap: 0.55rem;
}

.resource-page .intake-actions .button {
  min-height: 40px;
  padding: 0.62rem 0.85rem;
}

.resource-page .intake-message {
  min-height: 1rem;
  font-size: 0.9rem;
}

.resource-page .intake-progress {
  overflow: hidden;
  height: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.resource-page .intake-progress-bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: #148535;
  transition: width 160ms ease, background-color 160ms ease;
}

.resource-page .intake-progress[data-state="checking"] .intake-progress-bar {
  background: #f4b942;
}

.resource-page .intake-progress[data-state="error"] .intake-progress-bar {
  background: #d64242;
}

.print-file-page .intake-form {
  font-size: 1.125rem;
  margin-top: 0;
  background:
    radial-gradient(circle at 7% 0%, rgba(255, 111, 98, 0.12), transparent 17rem),
    radial-gradient(circle at 92% 8%, rgba(112, 214, 200, 0.14), transparent 18rem),
    linear-gradient(135deg, rgba(20, 34, 31, 0.98), rgba(8, 16, 15, 0.98) 52%, rgba(15, 24, 22, 0.98));
  border-color: rgba(112, 214, 200, 0.36);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
}

.print-file-page .intake-actions .button:disabled {
  border-color: #46504f;
  background: #343b3a;
  box-shadow: none;
  color: #aeb8b6;
  cursor: not-allowed;
  opacity: 1;
  transform: none;
}

.print-file-page .intake-form[hidden] {
  display: none !important;
}

.print-file-page .intake-customer-details {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(112, 214, 200, 0.36);
  border-radius: 8px;
}

.print-file-page .intake-customer-details[hidden] {
  display: none !important;
}

.print-file-page .intake-path-fields,
.print-file-page .intake-contact-block,
.print-file-page .intake-optional-details {
  display: grid;
  gap: 0.8rem;
}

.print-file-page .intake-contact-block {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(112, 214, 200, 0.25);
}

.print-file-page .intake-contact-block > strong {
  color: #ffffff;
  font-size: 1rem;
}

.print-file-page [data-path-only][hidden] {
  display: none !important;
}

.print-file-page .intake-optional-details {
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(112, 214, 200, 0.24);
  border-radius: 8px;
  background: rgba(5, 10, 10, 0.46);
}

.print-file-page .intake-optional-details summary {
  color: #dbe8e5;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
}

.print-file-page .intake-optional-details:not([open]) > :not(summary) {
  display: none;
}

.print-file-page .intake-email-verification {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.7fr);
  gap: 1rem;
  align-items: end;
  padding: 1rem;
  border: 1px solid rgba(82, 193, 232, 0.6);
  border-radius: 8px;
  background: rgba(8, 24, 29, 0.94);
  box-shadow: inset 4px 0 0 #52c1e8;
}

.print-file-page .intake-email-verification[hidden] {
  display: none !important;
}

.print-file-page .intake-email-verification h3,
.print-file-page .intake-email-verification p {
  margin: 0.25rem 0 0;
}

.print-file-page .intake-email-verification-controls {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) auto;
  gap: 0.7rem;
  align-items: end;
}

.print-file-page .intake-email-verification-controls input {
  font-size: 1.25rem;
  letter-spacing: 0.18rem;
}

.print-file-page .intake-email-verification-message {
  grid-column: 1 / -1;
  min-height: 1.4rem;
  color: #b8cbc7;
}

.print-file-page .intake-form.is-review-path {
  max-width: 64rem;
  margin-right: auto;
  margin-left: auto;
  gap: 0.8rem;
}

.print-file-page .intake-form.is-review-path .intake-upload {
  padding: 0.8rem 0.95rem;
}

.print-file-page .print-file-flow-panel.is-review-path {
  grid-template-columns: minmax(0, 1fr);
  max-width: 64rem;
  margin-right: auto;
  margin-left: auto;
}

.print-file-page .print-file-flow-panel.is-review-path .print-file-flow-steps,
.print-file-page .print-file-flow-panel.is-review-path .print-file-capability-note {
  display: none;
}

@media (max-width: 720px) {
  .print-file-page .intake-email-verification,
  .print-file-page .intake-email-verification-controls {
    grid-template-columns: minmax(0, 1fr);
  }
}

.print-file-page .resource-article {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 1.1rem 0 0;
}

.print-file-page .intake-teaser {
  display: grid;
  gap: 0.25rem;
  margin: 0 0 0.35rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(244, 185, 66, 0.4);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 111, 98, 0.13) 0 8px, rgba(244, 185, 66, 0.14) 8px 16px, rgba(112, 214, 200, 0.13) 16px 24px, transparent 24px),
    radial-gradient(circle at 94% 18%, rgba(244, 185, 66, 0.16), transparent 7rem),
    rgba(7, 14, 13, 0.82);
  box-shadow: inset 4px 0 0 rgba(244, 185, 66, 0.75);
}

.print-file-page .intake-teaser strong {
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.2;
}

.print-file-page .intake-teaser p {
  max-width: 64rem;
  margin: 0;
  color: #c9ddd9;
  font-size: 0.98rem;
  line-height: 1.45;
}

.print-file-page .print-file-flow-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.9fr);
  gap: 1rem;
  align-items: stretch;
  margin: 0 0 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(112, 214, 200, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(112, 214, 200, 0.12), transparent 15rem),
    rgba(8, 17, 16, 0.9);
}

.print-file-page .print-file-flow-panel[hidden] {
  display: none;
}

.print-file-page .print-file-flow-copy {
  display: grid;
  align-content: start;
  gap: 0.35rem;
}

.print-file-page .print-file-flow-copy .path-kicker {
  margin: 0;
  color: #f4b942;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.print-file-page .print-file-flow-copy h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1.55rem;
  line-height: 1.15;
}

.print-file-page .print-file-flow-copy p {
  max-width: 50rem;
  margin: 0;
  color: #c9ddd9;
  font-size: 1rem;
  line-height: 1.45;
}

.print-file-page .print-file-flow-steps {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding-left: 1.2rem;
  color: #f6fffd;
  font-size: 0.95rem;
  line-height: 1.35;
}

.print-file-page .print-file-capability-note {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(244, 185, 66, 0.32);
  border-radius: 7px;
  background: rgba(244, 185, 66, 0.08);
}

.print-file-page .print-file-capability-note strong {
  color: #ffffff;
}

.print-file-page .print-file-capability-note p {
  margin: 0;
  color: #dbe8e5;
  font-size: 0.94rem;
  line-height: 1.42;
}

.print-file-page .print-file-intro-guide {
  display: grid;
  gap: 1.1rem;
  margin: 0 0 0.75rem;
  padding: 1.15rem;
  border: 1px solid rgba(244, 185, 66, 0.3);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(244, 185, 66, 0.1), transparent 18rem),
    rgba(8, 16, 15, 0.88);
}

.print-file-page .print-file-intro-guide .section-heading {
  max-width: 64rem;
  margin: 0;
  border-left: 0;
  padding-left: 0;
}

.print-file-page .print-file-intro-guide .eyebrow {
  color: #f4b942;
}

.print-file-page .print-file-intro-guide h2 {
  max-width: 48rem;
  margin: 0.2rem 0 0.35rem;
  color: #ffffff;
  font-size: 1.85rem;
  line-height: 1.15;
}

.print-file-page .print-file-intro-guide .section-heading p:not(.eyebrow) {
  max-width: 58rem;
  margin: 0;
  color: #c9ddd9;
  font-size: 1rem;
  line-height: 1.48;
}

.print-file-page .print-file-guide-grid,
.print-file-page .print-file-guide-details {
  display: grid;
  gap: 0.75rem;
}

.print-file-page .print-file-guide-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.print-file-page .print-file-guide-grid article,
.print-file-page .print-file-guide-details div {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  padding: 0.85rem;
  border: 1px solid rgba(112, 214, 200, 0.24);
  border-radius: 8px;
  background: rgba(5, 10, 10, 0.5);
}

.print-file-page .print-file-guide-grid article span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #70d6c8;
  color: #071211;
  font-size: 0.82rem;
  font-weight: 900;
}

.print-file-page .print-file-guide-grid strong,
.print-file-page .print-file-guide-details strong {
  color: #ffffff;
  line-height: 1.2;
}

.print-file-page .print-file-guide-grid p,
.print-file-page .print-file-guide-details p {
  margin: 0;
  color: #c9ddd9;
  font-size: 0.92rem;
  line-height: 1.38;
}

.print-file-page .print-file-guide-details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.print-file-page .intake-helper,
.print-file-page .intake-choice-group,
.print-file-page .intake-advanced,
.print-file-page .intake-customer-details,
.print-file-page .shipping-fields {
  background:
    linear-gradient(90deg, rgba(112, 214, 200, 0.14), transparent 11rem),
    #101816;
  border-color: rgba(112, 214, 200, 0.36);
  box-shadow: inset 4px 0 0 rgba(112, 214, 200, 0.72);
}

.print-file-page .print-file-hero .print-file-hero-choices {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.print-file-hero.has-request-kind-choice + .resource-article .intake-teaser,
.print-file-hero.has-request-kind-choice + .resource-article .print-file-intro-guide {
  display: none;
}

.print-file-page .intake-choice {
  background:
    linear-gradient(90deg, rgba(244, 185, 66, 0.11), transparent 12rem),
    #101816;
  border-color: rgba(244, 185, 66, 0.32);
}

.print-file-page .intake-upload {
  background:
    linear-gradient(90deg, rgba(255, 111, 98, 0.12) 0 10px, rgba(244, 185, 66, 0.12) 10px 20px, rgba(112, 214, 200, 0.12) 20px 30px, transparent 30px),
    #101816;
  border-color: rgba(112, 214, 200, 0.46);
}

.print-file-page .intake-helper strong,
.print-file-page .intake-choice-group legend,
.print-file-page .intake-advanced summary {
  color: #ffffff;
  font-size: calc(1rem + 2px);
}

.print-file-page .intake-helper p,
.print-file-page .intake-choice small,
.print-file-page .intake-advanced p {
  color: #c9ddd9;
  font-size: calc(0.86rem + 2px);
}

.print-file-page .guided-helper-step span {
  color: #70d6c8;
  font-size: calc(0.74rem + 2px);
}

.print-file-page .guided-helper-options span,
.print-file-page .guided-helper-result p,
.print-file-page .intake-choice span {
  font-size: calc(0.95rem + 2px);
}

.print-file-page .guided-helper-result {
  align-items: start;
}

.print-file-page .guided-helper-result p {
  overflow: auto;
  max-height: 180px;
  width: 100%;
  border: 1px solid rgba(112, 214, 200, 0.3);
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(112, 214, 200, 0.09), transparent 12rem),
    rgba(5, 10, 10, 0.78);
  padding: 0.75rem 0.85rem;
  color: #f6fffd;
  line-height: 1.45;
  white-space: pre-wrap;
}

.print-file-page .guided-helper-result small,
.print-file-page .intake-upload small {
  color: #c9ddd9;
  font-size: calc(0.82rem + 2px);
}

.print-file-page .intake-form label span {
  color: #70d6c8;
  font-size: calc(0.74rem + 2px);
}

.print-file-page .intake-form input,
.print-file-page .intake-form select,
.print-file-page .intake-form textarea {
  font-size: calc(0.95rem + 2px);
  border-color: rgba(112, 214, 200, 0.38);
  background: rgba(5, 10, 10, 0.78);
}

.print-file-page .intake-form input:focus,
.print-file-page .intake-form select:focus,
.print-file-page .intake-form textarea:focus {
  border-color: #70d6c8;
  outline: 2px solid rgba(112, 214, 200, 0.22);
}

.print-file-page .intake-message {
  font-size: calc(0.9rem + 2px);
}

.print-file-page .intake-actions .button,
.print-file-page .intake-helper-actions .button {
  font-size: calc(1rem + 2px);
}

.admin-page {
  background: #0b0f14;
  color: #f6f7f9;
}

.admin-header {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #2b3644;
  background: #111821;
  padding: 10px 18px;
  position: sticky;
  top: 0;
  z-index: 4;
}

.admin-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #9ca8b6;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.admin-breadcrumbs a {
  color: #f6f7f9;
  text-decoration: none;
}

.admin-breadcrumbs a:hover {
  color: #70d6c8;
}

.admin-breadcrumbs span:last-child {
  min-width: 0;
  overflow: hidden;
  color: #f6f7f9;
  text-overflow: ellipsis;
}

.admin-brand {
  color: #f6f7f9;
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.admin-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
}

.admin-header-status {
  flex: 1 1 auto;
  min-width: 180px;
  margin: 0;
  padding: 0 12px;
  text-align: center;
}

.admin-links a,
.admin-links button {
  border-radius: 8px;
  border: 0;
  background: #0d131b;
  color: #9ca8b6;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  font-family: inherit;
  line-height: 1;
  padding: 9px 11px;
  text-decoration: none;
}

.admin-links a.active,
.admin-links button:not(:disabled) {
  background: #12682a;
  color: #f6f7f9;
}

.admin-links a:hover,
.admin-links button:not(:disabled):hover {
  color: #f6f7f9;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset;
}

.admin-links button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.custom-admin {
  display: grid;
  grid-template-columns: minmax(360px, 0.8fr) minmax(0, 1.2fr);
  gap: 0;
  align-items: start;
  width: 100%;
  min-height: calc(100vh - 54px);
  padding: 0;
}

.request-inbox,
.request-thread {
  min-height: calc(100vh - 54px);
  background: #0b0f14;
}

.request-inbox {
  border-right: 1px solid #2b3644;
  padding: 12px;
}

.request-thread {
  padding: 10px 12px 24px;
}

.request-inbox-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 10px;
}

.request-inbox-head p,
.request-thread > p {
  margin: 0;
  color: #9ca8b6;
}

.request-inbox-head .eyebrow,
.request-thread .eyebrow {
  color: #9ca8b6;
  font-size: 12px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.thread-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  border-bottom: 1px solid #2b3644;
  margin-bottom: 8px;
  padding-bottom: 8px;
}

.thread-head h2 {
  font-size: 22px;
  line-height: 1.05;
  margin-bottom: 0.15rem;
}

.thread-head p {
  color: #9ca8b6;
  margin: 0;
}

.request-board {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.request-lane {
  display: grid;
  gap: 6px;
}

.request-lane-kicker {
  margin: 4px 0 0;
  color: #b8d1eb;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.request-lane-collapsible {
  border: 1px solid #2b3644;
  border-radius: 8px;
  background: #0d131b;
  padding: 0;
}

.request-lane-collapsible[open] {
  padding-bottom: 8px;
}

.request-lane-summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  padding: 10px;
  color: #b8d1eb;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.request-lane-summary small {
  color: #7f8b99;
  font-size: 11px;
  font-weight: 900;
  text-transform: none;
}

.request-lane-collapsible .request-lane-drop {
  padding: 0 8px;
}

.request-lane-collapsible:not([open]) .request-lane-drop {
  display: none;
}

.request-lane-drop {
  display: grid;
  gap: 8px;
  min-height: 36px;
  border-radius: 8px;
}

.request-lane.is-drop-target .request-lane-drop {
  outline: 2px solid rgba(92, 200, 255, 0.45);
  outline-offset: 3px;
}

.request-lane-collapsible.is-drop-target .request-lane-summary {
  outline: 2px solid rgba(92, 200, 255, 0.45);
  outline-offset: -3px;
}

.request-lane-empty {
  padding: 10px;
  border: 1px dashed #2b3644;
  border-radius: 8px;
  color: #7f8b99;
  font-size: 12px;
  font-weight: 900;
}

.request-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(92px, 0.45fr) minmax(90px, 0.45fr);
  gap: 10px;
  width: 100%;
  align-items: center;
  border: 1px solid #2b3644;
  border-radius: 8px;
  padding: 10px;
  text-align: left;
  font: inherit;
  color: #f6f7f9;
  background: #121923;
  cursor: pointer;
}

.request-row[draggable="true"] {
  cursor: grab;
}

.request-row.is-dragging {
  opacity: 0.58;
  cursor: grabbing;
}

.request-row:hover,
.request-row.is-active {
  border-color: rgba(92,200,255,.55);
  background: #101720;
  box-shadow: 0 0 0 1px rgba(92,200,255,.22) inset;
}

.request-row strong,
.request-row small,
.request-detail-grid strong,
.request-detail-grid span,
.request-quick-grid strong,
.request-quick-grid span,
.request-file-list small {
  display: block;
}

.request-row small,
.request-timeline span,
.request-timeline small {
  color: #9ca8b6;
  font-size: 12px;
  font-weight: 800;
}

.request-timeline small .thread-date {
  color: #ffffff;
}

.request-file-list small {
  color: #9ca8b6;
  font-size: 11px;
  font-weight: 800;
}

.request-empty {
  padding: 1rem;
  border: 1px solid #2b3644;
  border-radius: 8px;
  color: #9ca8b6;
  font-weight: 900;
}

.request-thread {
  position: sticky;
  top: 0;
}

.request-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.request-detail-grid > div {
  padding: 10px 12px;
  border: 1px solid #2b3644;
  border-radius: 8px;
  background: #151b22;
}

.request-quick-grid {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(136px, 0.8fr) minmax(360px, 2.9fr);
  gap: 6px;
  margin: 8px 0;
}

.request-quick-grid > div {
  min-width: 0;
  padding: 7px 9px;
  border: 1px solid #2b3644;
  border-radius: 6px;
  background: #151b22;
}

.request-quick-grid strong,
.request-brief h3,
.request-email-form h3,
.request-update-form h3,
.request-thread > h3 {
  color: #b8d1eb;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0 0 5px;
  text-transform: uppercase;
}

.request-quick-grid span {
  color: #9ca8b6;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.request-brief {
  margin: 8px 0;
}

.request-brief p {
  margin: 0;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.request-detail-box,
.request-note-box {
  padding: 8px 10px;
  border: 1px solid #2b3644;
  border-radius: 6px;
  background: #121923;
}

.request-detail-box {
  display: grid;
  gap: 8px;
  margin: 8px 0;
}

.request-detail-box .request-brief {
  margin: 0;
}

.request-file-list,
.request-timeline {
  display: grid;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.request-thread > h3,
.request-timeline,
.request-timeline *,
.request-timeline strong,
.request-timeline span,
.request-timeline small,
.request-timeline summary,
.request-timeline pre {
  font-family: Arial, Helvetica, sans-serif;
}

.request-file-list li,
.request-timeline li {
  padding: 8px 10px;
  border: 1px solid #2b3644;
  border-radius: 6px;
  background: #121923;
}

.request-file-list li {
  display: grid;
  gap: 2px;
  overflow-wrap: anywhere;
}

.request-files-box {
  padding: 8px 10px;
  border: 1px solid #2b3644;
  border-radius: 6px;
  background: #121923;
}

.request-files-box .request-file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.request-files-box .request-file-list li {
  display: grid;
  gap: 2px;
  min-width: min(100%, 170px);
  max-width: 100%;
  padding: 6px 9px;
  border: 1px solid #2b3644;
  border-radius: 6px;
  background: #0d131b;
}

.request-thread.is-invoice-mode .request-files-box .request-file-list li.request-file-invoice-source {
  cursor: grab;
}

.request-thread.is-invoice-mode .request-files-box .request-file-list li.request-file-invoice-source:hover,
.request-thread.is-invoice-mode .request-files-box .request-file-list li.request-file-invoice-source:focus-visible {
  border-color: #58bfdd;
  outline: 2px solid rgba(88, 191, 221, 0.22);
  outline-offset: 1px;
}

.request-thread.is-invoice-mode .request-files-box .request-file-list li.request-file-invoice-source.is-dragging {
  cursor: grabbing;
  opacity: 0.62;
}

.request-thread.is-invoice-mode .request-files-box .request-file-list li.request-file-invoice-source.is-invoice-selected {
  border-color: #58bfdd;
  background: #0d2632;
}

.request-file-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.request-files-box .request-file-list a {
  display: block;
  max-width: 260px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.request-file-disabled {
  display: block;
  max-width: 260px;
  color: #d6dbe3;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.request-file-list li.is-waiting-file {
  border-color: rgba(250, 204, 21, 0.38);
}

.request-file-warning {
  color: #facc15;
}

.request-file-delete {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  border: 1px solid #ff9a9a;
  border-radius: 50%;
  background: #b91c1c;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.request-file-delete:hover,
.request-file-delete:focus-visible {
  background: #dc2626;
  outline: 2px solid rgba(255, 154, 154, 0.45);
  outline-offset: 2px;
}

.file-delete-modal[hidden] {
  display: none;
}

.file-delete-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.68);
}

.file-delete-card {
  width: min(420px, 100%);
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid #4b5563;
  border-radius: 8px;
  background: #111821;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
  color: #ffffff;
}

.file-delete-card h3,
.file-delete-card p {
  margin: 0;
}

.file-delete-card p {
  color: #cbd5e1;
  overflow-wrap: anywhere;
}

.file-delete-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.button-danger {
  background: #b91c1c;
  border-color: #dc2626;
  color: #ffffff;
}

.admin-page .button-danger {
  background: #b91c1c;
  border-color: #dc2626;
  color: #ffffff;
}

.button-danger:hover,
.button-danger:focus-visible {
  background: #dc2626;
}

.admin-page .button-danger:hover,
.admin-page .button-danger:focus-visible {
  background: #dc2626;
}

.possible-email-matches {
  padding: 8px 10px;
  border: 1px solid #35475a;
  border-radius: 6px;
  background: #101820;
}

.possible-email-match {
  display: grid;
  gap: 5px;
  padding: 8px 0;
  border-top: 1px solid #263241;
}

.possible-email-match:first-of-type {
  border-top: 0;
}

.possible-email-match small,
.review-note {
  display: block;
  color: #9ca8b6;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.signal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.signal-chips span {
  padding: 2px 6px;
  border: 1px solid #3d5f48;
  border-radius: 999px;
  background: #132419;
  color: #bdf3c9;
  font-size: 11px;
  font-weight: 900;
}

.request-timeline .thread-item {
  display: grid;
  gap: 0.2rem;
  border-left: 4px solid #5cc8ff;
}

.request-timeline .thread-item.is-event {
  border-left-color: #ffe28a;
}

.request-timeline .thread-item.is-email {
  border-left-color: #12682a;
}

.request-workflow-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  margin: 10px 0;
}

@media (min-width: 1440px) {
  .request-workflow-row {
    grid-template-columns: minmax(0, 2fr) minmax(260px, 0.8fr);
  }
}

.request-update-form {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 10px;
  border: 1px solid #2b3644;
  border-radius: 8px;
  background: #151b22;
  align-content: start;
  font-family: Arial, Helvetica, sans-serif;
}

.request-update-form[hidden] {
  display: none;
}

.request-email-form {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 10px;
  border: 1px solid #2b3644;
  border-radius: 8px;
  background: #151b22;
  align-content: start;
  font-family: Arial, Helvetica, sans-serif;
}

.request-email-form.is-dragging {
  border-color: #5cc8ff;
  background: #101c27;
}

.request-email-fields {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(240px, 1fr) auto;
  gap: 8px;
  align-items: end;
}

@media (max-width: 920px) {
  .request-email-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .request-email-fields .email-attach-button {
    justify-self: start;
  }
}

.email-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.email-toolbar-row {
  display: grid;
  grid-template-columns: minmax(72px, auto) auto minmax(0, 1fr);
  gap: 8px;
  align-items: end;
  margin-bottom: 6px;
}

.email-status-control {
  display: grid;
  gap: 3px;
  margin: 0;
}

.email-status-control span {
  color: #9ca8b6;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.email-status-control select {
  width: 100%;
  min-height: 28px;
  border: 1px solid #2b3644;
  border-radius: 6px;
  background: #0d131b;
  color: #f6f7f9;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  padding: 4px 7px;
}

.request-quick-grid .request-status-value {
  color: #ffffff;
}

.request-ai-summary-list {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.request-ai-summary-list li,
.request-ai-summary-box span {
  color: #9ca8b6;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.email-attachment-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  min-height: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.email-attachment-list li {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 4px 7px;
  border: 1px solid #2b3644;
  border-radius: 6px;
  background: #0d131b;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: none;
}

.email-attachment-list button,
.admin-page .email-attachment-list button {
  display: inline-grid;
  place-items: center;
  width: 16px;
  min-width: 16px;
  height: 16px;
  padding: 0;
  border-radius: 999px;
  background: #8f1f2d;
  color: #ffffff;
  font-size: 11px;
  line-height: 1;
}

.email-message-head {
  display: flex;
  align-items: flex-end;
  min-height: 28px;
}

.email-message-head span {
  color: #9ca8b6;
  display: block;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-page .email-editor-toolbar button {
  min-width: 34px;
  padding: 6px 9px;
  border-radius: 6px;
  background: #263241;
  color: #f6f7f9;
  font-size: 12px;
  line-height: 1;
}

.admin-page .email-editor-toolbar .email-ai-cleanup-button {
  background: #155e75;
  color: #ffffff;
}

.admin-page .email-editor-toolbar .email-ai-cleanup-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.admin-page .email-attach-button {
  min-width: 70px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #263241;
  color: #f6f7f9;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1;
}

.email-submit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.admin-page .button.button-invoice {
  border-color: #58bfdd;
  background: #176b88;
  color: #ffffff;
}

.admin-page .button.button-invoice:hover,
.admin-page .button.button-invoice:focus-visible {
  border-color: #8be3ff;
  background: #2085a8;
  outline: 2px solid rgba(88, 191, 221, 0.28);
}

.request-workflow-side {
  display: grid;
  min-width: 0;
  align-content: start;
}

.request-invoice-builder {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 10px;
  border: 1px solid #2b3644;
  border-radius: 8px;
  background: #151b22;
  color: #f6f7f9;
  font-family: Arial, Helvetica, sans-serif;
}

.request-invoice-builder[hidden] {
  display: none;
}

.request-invoice-selected-file .request-invoice-remove {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  padding: 0;
  border: 1px solid #56616d;
  border-radius: 5px;
  background: #252c34;
  color: #e8edf2;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
}

.request-invoice-selected-file .request-invoice-remove:hover,
.request-invoice-selected-file .request-invoice-remove:focus-visible {
  border-color: #7c8996;
  background: #323b45;
  color: #ffffff;
}

.request-invoice-remove span {
  display: block;
  line-height: 1;
  transform: translateY(-1px);
}

.request-invoice-bucket {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.request-invoice-selected-file {
  display: grid;
  min-width: 0;
  border: 1px solid #334355;
  border-radius: 6px;
  background: #0d131b;
  color: #f6f7f9;
  text-align: left;
}

.request-invoice-selected-file small {
  color: #aebdca;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
}

.request-invoice-bucket {
  min-height: 46px;
  align-content: flex-start;
  align-items: flex-start;
  border: 2px dashed #40566c;
  border-radius: 7px;
  background: #0a1017;
  padding: 6px;
}

.request-invoice-bucket.is-dragging {
  border-color: #58bfdd;
  background: #0d2632;
}

.request-invoice-empty {
  align-self: center;
  margin: auto;
  color: #9eb0c1;
  font-size: 12px;
  font-weight: 700;
}

.request-invoice-selected-file {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
  min-width: min(100%, 170px);
  max-width: 260px;
  padding: 6px 9px;
}

.request-invoice-selected-file span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.request-invoice-selected-file strong {
  display: -webkit-box;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  max-height: 1.3em;
}

.request-invoice-pricing {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.request-invoice-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.request-invoice-actions .button-secondary {
  min-width: 42px;
  padding-inline: 12px;
}

@media (max-width: 920px) {
  .request-invoice-pricing {
    grid-template-columns: minmax(0, 1fr);
  }
}

.email-html-editor {
  overflow: auto;
  min-height: 184px;
  max-height: 360px;
  border: 1px solid #2b3644;
  border-radius: 6px;
  background: #0d131b;
  color: #f6f7f9;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 400;
  padding: 8px 10px;
  line-height: 1.4;
  font-variant-caps: normal !important;
  resize: vertical;
  text-transform: none !important;
}

.email-html-editor *,
.email-html-editor:empty::before {
  font-variant-caps: normal !important;
  text-transform: none !important;
}

.email-html-editor:empty::before {
  color: #7f8b99;
  content: attr(data-placeholder);
}

.email-html-editor:focus {
  outline: 2px solid rgba(92,200,255,.35);
  outline-offset: 1px;
}

.email-html-editor blockquote {
  margin: 0.35rem 0;
  padding-left: 0.7rem;
  border-left: 3px solid #5cc8ff;
  color: #cfe0f2;
}

.admin-message {
  min-height: 0;
  margin: 0;
  color: #9ca8b6;
  font-size: 12px;
  font-weight: 900;
}

.admin-message:empty {
  display: none;
}

.request-timeline details {
  margin-top: 6px;
}

.request-timeline summary {
  color: #ffffff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.request-timeline summary::marker {
  color: #ffffff;
}

.ai-summary-row {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 14px;
  align-items: baseline;
}

.ai-summary-row > span {
  color: #9ca8b6;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-summary-row:has(details[open]) > span {
  display: none;
}

.request-timeline pre {
  overflow: auto;
  max-height: 220px;
  margin: 8px 0 0;
  border: 1px solid #2b3644;
  border-radius: 8px;
  background: #0d131b;
  color: #d9e8f8;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  line-height: 1.35;
  padding: 10px;
  white-space: pre-wrap;
}

.request-timeline details p {
  overflow: auto;
  max-height: 220px;
  margin: 8px 0 0;
  border: 1px solid #2b3644;
  border-radius: 8px;
  background: #0d131b;
  color: #d9e8f8;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  padding: 10px;
  white-space: pre-line;
}

.request-timeline .thread-item.is-message {
  border-left-color: #5cc8ff;
}

.request-timeline .thread-item.is-message.outbound {
  border-left-color: #12682a;
}

.request-timeline .thread-item.is-message.outbound,
.request-timeline .thread-item.is-message.outbound > strong,
.request-timeline .thread-item.is-message.outbound small,
.request-timeline .thread-item.is-message.outbound summary,
.request-timeline .thread-item.is-message.outbound summary::marker,
.request-timeline .thread-item.is-message.outbound pre,
.request-timeline .thread-item.is-message.outbound .thread-date,
.request-timeline .thread-item.is-message.outbound .ai-summary-row > span {
  color: #9ca8b6;
}

.request-timeline .thread-item.is-message.inbound {
  border-left-color: #ffe28a;
}

.admin-page .button,
.admin-page button {
  border: 0;
  border-radius: 8px;
  background: #12682a;
  color: #f6f7f9;
  box-shadow: none;
  font-weight: 900;
  min-height: 0;
  padding: 10px 14px;
}

.admin-page .request-file-delete {
  width: 17px;
  height: 17px;
  min-width: 17px;
  min-height: 17px;
  flex: 0 0 17px;
  padding: 0;
  border: 1px solid #ff9a9a;
  border-radius: 50%;
  background: #b91c1c;
  color: #ffffff;
  line-height: 1;
}

.admin-page .request-file-delete:hover,
.admin-page .request-file-delete:focus-visible {
  background: #dc2626;
}

.admin-page .button-danger {
  background: #b91c1c;
  border-color: #dc2626;
  color: #ffffff;
}

.admin-page .button-danger:hover,
.admin-page .button-danger:focus-visible {
  background: #dc2626;
}

.admin-page .button-secondary {
  background: #263241;
  border: 0;
  color: #f6f7f9;
}

.admin-page input,
.admin-page select,
.admin-page textarea {
  border: 1px solid #2b3644;
  border-radius: 6px;
  background: #0d131b;
  color: #f6f7f9;
  padding: 8px 10px;
}

.admin-page textarea {
  min-height: 74px;
  resize: vertical;
}

.admin-page .request-email-form input,
.admin-page .request-email-form textarea,
.admin-page .request-email-form select,
.admin-page .request-update-form select,
.admin-page .request-update-form textarea {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}

.admin-page .request-update-form label {
  color: #9ca8b6;
  font-family: Arial, Helvetica, sans-serif;
}

.admin-page .request-update-form textarea[name="note"] {
  min-height: 219px;
}

.request-status-action {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-page label span {
  color: #9ca8b6;
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.admin-page h2,
.admin-page h3 {
  color: #f6f7f9;
}

.admin-page h2 {
  font-size: 24px;
  margin-bottom: 4px;
}

.admin-page h3 {
  font-size: 15px;
  text-transform: uppercase;
  color: #9ca8b6;
  margin: 14px 0 6px;
}

.admin-page .request-brief h3,
.admin-page .request-email-form h3,
.admin-page .request-update-form h3,
.admin-page .request-thread > h3 {
  color: #b8d1eb;
  font-size: 12px;
  margin: 0 0 5px;
}

.admin-page .request-row {
  background: #121923;
  color: #f6f7f9;
  box-shadow: none;
  min-height: 0;
  padding: 10px;
}

.admin-page .request-row:hover,
.admin-page .request-row.is-active {
  background: #101720;
  box-shadow: 0 0 0 1px rgba(92,200,255,.22) inset;
}

.resource-callout {
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  background: var(--ice);
  color: var(--ink) !important;
  font-weight: 800;
  padding: 0.9rem 1rem;
}

.inventory-page {
  background: var(--paper);
  padding: 3rem 1.25rem 5rem;
}

.inventory-shell {
  width: min(100%, var(--content));
  margin: 2rem auto 0;
}

.inventory-summary,
.inventory-filters,
.inventory-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.inventory-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 1rem;
}

.inventory-summary span {
  color: var(--muted);
}

.inventory-summary strong {
  color: var(--ink);
}

.inventory-filters {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr) auto;
  align-items: end;
  gap: 0.8rem;
  padding: 1rem;
}

.inventory-toggle {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 46px;
}

.inventory-toggle input {
  width: auto;
}

.inventory-status {
  color: var(--muted);
  font-weight: 700;
  margin: 1rem 0;
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.inventory-card {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
}

.inventory-card h2 {
  font-size: 1.1rem;
  line-height: 1.2;
  margin: 0;
}

.inventory-card-head,
.inventory-meta,
.inventory-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.inventory-card-head {
  justify-content: space-between;
}

.inventory-location,
.inventory-state,
.inventory-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--evergreen);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.25rem 0.5rem;
}

.inventory-state {
  color: var(--gold);
}

.inventory-variant,
.inventory-sku {
  color: var(--muted);
  margin: 0;
}

.inventory-availability {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.inventory-availability strong {
  color: var(--gold);
  font-size: 2rem;
  line-height: 1;
}

.inventory-availability span {
  color: var(--muted);
}

.inventory-swatches {
  display: inline-flex;
  gap: 0.18rem;
  margin-right: 0.35rem;
  vertical-align: -0.12rem;
}

.inventory-swatch {
  width: 0.85rem;
  height: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: var(--swatch);
}

.inventory-actions a {
  color: var(--red);
  font-weight: 800;
  text-decoration: none;
}

.inventory-actions a:hover {
  text-decoration: underline;
}

.inventory-home-links {
  background: transparent;
}

.inventory-board {
  width: min(100%, var(--content));
  margin: 2rem auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0b0f14;
  overflow: visible;
}

.inventory-board-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: #111821;
  padding: 12px;
}

.inventory-search-wrap {
  position: relative;
  display: flex;
  flex: 1;
  min-width: 220px;
}

.inventory-search-wrap input {
  min-width: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.inventory-palette-btn {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #263241;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  padding: 0 0.85rem;
}

.inventory-palette-btn.active {
  background: var(--evergreen);
  color: #06100f;
}

.inventory-palette-pop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 8;
  display: none;
  width: min(520px, calc(100vw - 2rem));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #111821;
  box-shadow: var(--shadow);
  padding: 10px;
}

.inventory-palette-pop.open {
  display: block;
}

.inventory-palette-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
}

.inventory-color-tile {
  min-height: 34px;
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 0 0 1px rgba(255,255,255,.35) inset;
}

.inventory-color-tile span {
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(0,0,0,.42);
}

.inventory-color-tile.active,
.inventory-special-tile.active {
  outline: 3px solid var(--evergreen);
  outline-offset: 1px;
}

.inventory-palette-divider {
  height: 1px;
  margin: 10px 0;
  background: var(--line);
}

.inventory-special-grid,
.inventory-finish-grid,
.inventory-palette-actions {
  display: grid;
  gap: 8px;
}

.inventory-special-grid {
  grid-template-columns: repeat(2, 1fr);
}

.inventory-special-tile,
.inventory-finish-btn,
.inventory-palette-clear {
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 9px;
}

.inventory-finish-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 10px;
}

.inventory-finish-btn,
.inventory-palette-clear {
  background: #263241;
}

.inventory-finish-btn.active {
  background: var(--evergreen);
  color: #06100f;
}

.inventory-palette-actions {
  grid-template-columns: 1fr auto;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  margin-top: 9px;
}

.inventory-board-summary {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  border-bottom: 1px solid var(--line);
  background: #0d131b;
  padding: 14px 18px;
}

.inventory-tile {
  border-radius: var(--radius);
  background: #151b22;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset;
  padding: 12px;
}

.inventory-tile .num {
  color: var(--ink);
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
}

.inventory-tile .label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  margin-top: 6px;
  text-transform: uppercase;
}

.inventory-board-notice {
  display: none;
  margin: 14px 18px 0;
  border-radius: var(--radius);
  background: #231d12;
  color: var(--gold);
  font-weight: 900;
  padding: 13px 15px;
  box-shadow: 0 0 0 1px rgba(255,226,138,.35) inset;
}

.inventory-table {
  padding: 0 18px 18px;
}

.inventory-head,
.inventory-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 120px 150px 90px 130px 120px 120px 150px;
  align-items: center;
  gap: 10px;
}

.inventory-head {
  position: sticky;
  top: 119px;
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: #0b0f14;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  padding: 12px 10px;
  text-transform: uppercase;
}

.inventory-sort-head {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
  text-transform: inherit;
}

.inventory-sort-head.active {
  color: var(--ink);
}

.inventory-sort-head .arrow {
  color: var(--evergreen);
  margin-left: 4px;
}

.inventory-row {
  min-height: 58px;
  min-width: 0;
  border-bottom: 1px solid var(--line);
  background: #121923;
  padding: 10px;
}

.inventory-row:nth-child(even) {
  background: #101720;
}

.inventory-row.colorized {
  background: linear-gradient(90deg, var(--row-color), #121923 46%);
}

.inventory-row.colorized:nth-child(even) {
  background: linear-gradient(90deg, var(--row-color), #101720 46%);
}

.inventory-row > div {
  min-width: 0;
}

.inventory-row .name {
  color: var(--ink);
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inventory-row .muted {
  color: var(--muted);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inventory-qty {
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

.inventory-qty.zero {
  color: #ffb4b4;
}

.inventory-loc {
  color: var(--ink);
  font-weight: 900;
  text-transform: capitalize;
}

.inventory-chip {
  display: inline-flex;
  border-radius: 999px;
  background: #263241;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  padding: 5px 8px;
}

.inventory-color-cell {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.inventory-color-cell > div {
  min-width: 0;
}

.inventory-color-pick-wrap {
  flex: 0 0 auto;
  width: 42px;
  height: 28px;
  border-radius: var(--radius);
  background: #46515f;
  box-shadow: 0 0 0 1px rgba(255,255,255,.5) inset;
  overflow: hidden;
}

.inventory-color-swatch {
  display: block;
  width: 100%;
  height: 100%;
  background: #46515f;
}

.inventory-row .source {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.inventory-row-footer {
  display: none;
}

.inventory-empty {
  color: var(--muted);
  padding: 26px;
  text-align: center;
}

.newsletter-section {
  grid-template-columns: 1fr 0.9fr;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  border-top: 1px solid rgba(244, 185, 66, 0.24);
  border-bottom: 1px solid rgba(112, 214, 200, 0.16);
}

.newsletter-section h2 {
  margin-bottom: 0;
}

.newsletter-form {
  display: grid;
  gap: 0.7rem;
  border: 1px solid rgba(112, 214, 200, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(20, 34, 31, 0.96), rgba(13, 18, 17, 0.98));
  padding: 1rem;
}

.newsletter-row {
  align-items: stretch;
}

.newsletter-row input {
  flex: 1 1 240px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 1fr);
  gap: 1.5rem;
  background:
    linear-gradient(180deg, #0b2d2b, #06100f);
  color: rgba(255, 255, 255, 0.86);
  padding: 3rem max(1.25rem, calc((100vw - var(--content)) / 2));
  border-top: 4px solid var(--gold);
}

.site-footer img {
  width: 220px;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.site-footer strong {
  display: block;
  color: var(--snow);
  margin-bottom: 0.65rem;
}

.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  margin: 0.3rem 0;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--snow);
  text-decoration: underline;
}

.copyright {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin: 0;
  padding-top: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .fun-category-card,
  .fun-category-play-face img {
    transition: none;
  }

  .fun-category-card.is-simon-lit,
  .fun-category-card.is-simon-good {
    transform: none;
  }
}

@media (max-width: 980px) {
  .section[id],
  .hero[id] {
    scroll-margin-top: 175px;
  }

  .nav-wrap {
    align-items: center;
  }

  .star-guide-dock-wrap {
    order: 2;
    margin-left: auto;
  }

  .star-guide-dock {
    grid-template-columns: 1fr;
    gap: 0;
    width: 44px;
    min-height: 44px;
    max-width: 44px;
    padding: 0.28rem;
  }

  .star-guide-dock span {
    display: none;
  }

  .star-guide-dock img {
    width: 100%;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
    order: 3;
  }

  .primary-nav {
    position: absolute;
    order: 4;
    left: 1.25rem;
    right: 1.25rem;
    top: calc(100% - 0.2rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 0.4rem;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 0.85rem;
  }

  .hero {
    min-height: 58svh;
    max-height: 600px;
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(4, 12, 12, 0.72) 54%, rgba(4, 12, 12, 0.28) 100%),
      url("../images/home-page-hero-background.webp") center center / cover no-repeat,
      #081211;
  }

  h1 {
    font-size: 2.35rem;
  }

  .hero h1 {
    font-size: 3.1rem;
  }

  h2 {
    font-size: 2rem;
  }

  .fun-picker-header {
    grid-template-columns: 1fr;
  }

  .quick-links,
  .services-grid,
  .catalog-summary-grid,
  .catalog-grid,
  .fun-category-grid,
  .artist-directory-grid,
  .fun-board-layout,
  .artist-profile-grid,
  .artist-board-stats,
  .inventory-grid,
  .learning-path-grid,
  .learning-tool-grid,
  .video-card-grid,
  .material-grid,
  .gallery-grid,
  .resource-grid,
  .printer-section,
  .newsletter-section,
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .print-file-hero.is-file-path .print-file-hero-choices {
    grid-template-columns: 1fr 1fr;
  }

  .print-file-page .print-file-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-learning-layout {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .filament-snapshot-grid,
  .filament-type-grid {
    grid-template-columns: 1fr;
  }

  .filament-snapshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .printer-section,
  .newsletter-section {
    width: auto;
    margin: 0;
  }

  .printer-copy {
    max-width: none;
  }

  .review-track {
    grid-template-columns: repeat(2, minmax(260px, 290px));
  }

  .site-footer {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

@media (max-width: 680px) {
  .topbar {
    font-size: 0.82rem;
  }

  .nav-wrap {
    padding: 0.7rem 1rem;
  }

  .brand {
    max-width: 205px;
  }

  .primary-nav {
    left: 1rem;
    right: 1rem;
  }

  .hero {
    min-height: 56svh;
    max-height: 560px;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.86) 0%, rgba(4, 12, 12, 0.68) 58%, rgba(4, 12, 12, 0.42) 100%),
      url("../images/home-page-hero-background-mobile.webp") center center / cover no-repeat,
      #081211;
  }

  .hero-content {
    padding: 2.35rem 1rem 3.25rem;
  }

  h1 {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .category-hero h1 {
    font-size: 2.35rem;
  }

  .learning-center-hero .hero-content {
    padding: 1.85rem 1rem 2.5rem;
  }

  .learning-center-hero .learning-hero-paths {
    margin: 1.25rem auto 0;
  }

  .learning-center-hero .learning-path-card {
    min-height: auto;
  }

  h2 {
    font-size: 1.72rem;
  }

  .hero-copy {
    max-width: 480px;
    font-size: 1.05rem;
  }

  .section {
    padding: 4rem 1rem;
  }

  .quick-links {
    margin-top: 1rem;
    padding: 0;
  }

  .quick-links,
  .services-grid,
  .catalog-summary-grid,
  .catalog-grid,
  .fun-category-grid,
  .artist-directory-grid,
  .fun-board-layout,
  .artist-profile-grid,
  .artist-board-stats,
  .artist-hero-lockup,
  .learning-path-grid,
  .learning-tool-grid,
  .video-card-grid,
  .filament-snapshot-grid,
  .filament-type-grid,
  .store-grid,
  .store-card,
  .store-card.is-featured,
  .material-grid,
  .gallery-grid,
  .resource-grid,
  .printer-section,
  .newsletter-section,
  .wish-bank-card,
  .workshop-wish-steps,
  .games-card-grid,
  .games-roadmap-list,
  .star-story-games-grid,
  .star-story-route-grid,
  .star-story-tour-grid,
  .site-footer,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .print-file-hero.is-file-path .print-file-hero-choices {
    grid-template-columns: 1fr;
  }

  .print-file-page .print-file-flow-panel {
    grid-template-columns: 1fr;
  }

  .print-file-page .print-file-guide-grid,
  .print-file-page .print-file-guide-details {
    grid-template-columns: 1fr;
  }

  .star-story-games-section {
    padding-top: 0.9rem;
  }

  .star-story-game-hero {
    min-height: 12.5rem;
    padding: 1.05rem 1rem 1.1rem 1.15rem;
  }

  .star-story-game-hero.is-captain-machine,
  .star-story-game-hero.is-hothead,
  .star-story-game-hero.is-dragon-dispatch {
    background-position: center right;
  }

  .star-story-game-hero p {
    max-width: 31rem;
    font-size: 0.92rem;
  }

  .artist-directory-card,
  .fun-feed-list article,
  .model-master-card,
  .model-asset-grid,
  .model-asset-card {
    grid-template-columns: 1fr;
  }

  .fun-feed-meta-line,
  .fun-feed-list strong,
  .fun-feed-vibes,
  .fun-feed-source-stack {
    grid-column: 1;
  }

  .fun-feed-source-stack {
    grid-row: auto;
    justify-items: start;
  }

  .fun-prints-page.is-elf-game-active .fun-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fun-category-grid[data-fun-category-mode="characters"],
  .fun-category-grid[data-fun-category-mode="workshop-friends"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fun-prints-page.is-elf-game-active .fun-category-card {
    min-height: 168px;
    padding: 0.75rem;
  }

  .fun-category-grid[data-fun-category-mode="characters"] .fun-category-card,
  .fun-category-grid[data-fun-category-mode="workshop-friends"] .fun-category-card {
    min-height: 178px;
    padding: 0.75rem;
  }

  .elf-game-panel {
    min-height: 13rem;
    padding-right: 1rem;
    padding-bottom: 7.6rem;
  }

  .elf-game-teaser-art {
    right: 1rem;
    bottom: 1rem;
    width: 6.55rem;
    height: 6.55rem;
  }

  .fun-category-play-face img {
    width: min(6.2rem, 78%);
  }

  .source-trust-label,
  .fun-feed-source-stack em {
    justify-self: start;
    text-align: left;
  }

  .model-master-image,
  .model-master-placeholder {
    min-height: 14rem;
  }

  .artist-profile-page .artist-profile-grid,
  .artist-profile-page .artist-profile-card,
  .artist-profile-page .artist-source-link {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .artist-profile-page .artist-profile-card h2,
  .artist-profile-page .artist-profile-card p,
  .artist-profile-page .artist-source-link {
    overflow-wrap: break-word;
  }

  .artist-source-brand {
    display: flex;
    flex-wrap: wrap;
  }

  .model-detail-page .model-detail-hero .hero-content {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 0.75rem;
    padding: 1rem 1rem 1.25rem;
  }

  .model-detail-page .model-detail-hero .eyebrow,
  .model-detail-page .model-detail-hero h1,
  .model-detail-page .model-detail-hero .hero-copy,
  .model-detail-page .model-detail-hero .hero-actions {
    grid-column: 1;
    grid-row: auto;
    min-width: 0;
  }

  .model-detail-page .model-detail-hero .hero-copy {
    max-width: 36rem;
  }

  .model-detail-page .model-detail-hero .hero-actions {
    width: 100%;
    justify-content: start;
  }

  .model-cave-stage {
    min-height: 0;
  }

  .model-cave-controls {
    grid-template-columns: 2.75rem 1fr 2.75rem;
  }

  .model-cave-control-field {
    grid-column: 1 / -1;
  }

  .model-cave-control-button[data-model-cave-action="spin"] {
    grid-column: 1;
    grid-row: 1;
  }

  .model-cave-control-button[data-model-cave-action="reset"] {
    grid-column: 3;
    grid-row: 1;
  }

  .model-asset-image,
  .model-asset-placeholder {
    width: 9rem;
  }

  .artist-profile-mark {
    width: 4.5rem;
    height: 4.5rem;
  }

  .inventory-filters {
    grid-template-columns: 1fr;
  }

  .inventory-board-toolbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 12px;
  }

  .inventory-search-wrap {
    grid-column: 1 / span 2;
    min-width: 0;
  }

  .inventory-board-toolbar select {
    width: 100%;
    min-width: 0;
  }

  .inventory-board-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px;
  }

  .inventory-head {
    display: none;
  }

  .inventory-table {
    padding: 0 10px 12px;
  }

  .inventory-row {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 8px 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 8px;
  }

  .hero.filament-guide-hero {
    background:
      radial-gradient(circle at 70% 18%, rgba(244, 185, 66, 0.2), transparent 16rem),
      linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(4, 12, 12, 0.72) 58%, rgba(4, 12, 12, 0.44) 100%),
      url("../images/filament-wall.png") center top / cover no-repeat,
      #081211;
  }

  .filament-guide-list {
    columns: 1;
  }

  .filament-guide-page .resource-article,
  .filament-inventory-section {
    width: min(calc(100% - 2rem), var(--content));
  }

  .inventory-row.colorized,
  .inventory-row.colorized:nth-child(even) {
    background: linear-gradient(90deg, var(--row-color) 0 8px, #121923 8px);
  }

  .inventory-item-cell,
  .inventory-color-cell,
  .inventory-qty {
    grid-column: 1;
  }

  .inventory-category-cell,
  .inventory-updated-cell,
  .inventory-sku-cell,
  .inventory-loc,
  .inventory-state-cell {
    display: none;
  }

  .inventory-row-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
  }

  .inventory-row .name {
    white-space: normal;
    line-height: 1.25;
  }

  .inventory-qty {
    font-size: 26px;
    text-align: left;
  }

  .inventory-color-pick-wrap {
    width: 54px;
    height: 30px;
  }

  .printer-panel {
    min-height: 320px;
  }

  .hero-actions .button,
  .store-actions .button,
  .newsletter-row .button {
    width: 100%;
  }

  .reviews-section {
    min-height: 660px;
    padding: 3rem 1rem;
  }

  .reviews-inner {
    gap: 1.3rem;
  }

  .reviews-summary {
    align-items: center;
    gap: 0.75rem;
  }

  .reviews-business strong {
    font-size: 1rem;
  }

  .reviews-business small {
    font-size: 0.9rem;
  }

  .review-track {
    grid-template-columns: minmax(0, 290px);
    justify-content: center;
  }

  .review-card {
    min-height: 340px;
    padding: 1.6rem 1.2rem;
  }

  .resource-page .intake-upload {
    grid-template-columns: 1fr;
  }

  .resource-page .intake-upload input {
    grid-column: 1;
    grid-row: auto;
  }

  .resource-page .intake-helper {
    display: grid;
  }

  .gallery-card {
    min-height: 230px;
  }

  .resource-page {
    padding: 2rem 1rem 4rem;
  }

  .resource-hero h1 {
    font-size: 1.95rem;
  }

  .resource-article {
    padding: 1.15rem;
  }

  .custom-admin,
  .request-detail-grid {
    grid-template-columns: 1fr;
  }

  .request-detail-panel {
    position: static;
  }

  .request-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .intake-actions .button,
  .admin-toolbar .button {
    width: 100%;
  }
}

/* Item Master Admin Dashboard */
.item-admin-page {
  background: #050807;
}

.item-admin-shell {
  width: min(1480px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
  color: #f8fbf8;
}

.item-admin-card {
  border: 1px solid rgba(123, 227, 224, 0.2);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(13, 30, 26, 0.94), rgba(21, 31, 21, 0.9)),
    #0b1412;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.item-admin-status {
  color: #4fc3ff;
  font-weight: 800;
}

.item-admin-status.is-error {
  color: #ff6b6b;
}

.item-admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.item-admin-card {
  padding: 18px;
  margin-bottom: 14px;
}

.item-admin-card h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.item-admin-current-image-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.item-admin-current-image-head h2 {
  margin: 0;
}

.item-admin-image-status {
  flex: 0 0 auto;
  border: 1px solid rgba(84, 230, 159, 0.78);
  border-radius: 999px;
  color: #54e69f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  padding: 8px 11px;
  text-transform: uppercase;
}

.item-admin-image-status.is-proposed-master {
  border-color: rgba(244, 185, 66, 0.9);
  color: #f4b942;
}

.item-admin-image-status.is-manual-capture {
  border-color: rgba(79, 195, 255, 0.85);
  color: #4fc3ff;
}

.item-admin-section-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.item-admin-action-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  white-space: nowrap;
}

.item-admin-action-left,
.item-admin-action-right {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: center;
}

.item-admin-action-left {
  margin-right: auto;
}

.item-admin-action-row .button {
  flex: 0 0 auto;
}

.item-admin-kv {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.item-admin-kv span {
  color: #9fb2ad;
}

.item-admin-kv strong {
  color: #fff;
  overflow-wrap: anywhere;
}

.item-admin-image,
.item-admin-image-placeholder {
  display: grid;
  place-items: center;
  min-height: 180px;
  margin: 0 0 14px;
  border: 1px solid rgba(79, 195, 255, 0.22);
  border-radius: 8px;
  background: #020403;
}

.item-admin-image img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  display: block;
}

.item-admin-image.is-clickable {
  cursor: zoom-in;
}

.item-admin-image-button {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.admin-page .item-admin-image-button {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  padding: 0;
}

.item-admin-image-button:focus-visible {
  outline: 2px solid #54e69f;
  outline-offset: 3px;
}

.item-admin-card[data-current-image] .item-admin-image {
  width: 50%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  margin-left: auto;
  margin-right: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.item-admin-card[data-current-image] .item-admin-image img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}

.item-admin-image-placeholder {
  color: #9fb2ad;
}

.item-admin-lightbox-open {
  overflow: hidden;
}

.item-admin-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(1, 5, 5, 0.88);
  cursor: zoom-out;
}

.item-admin-image-lightbox[hidden] {
  display: none;
}

.item-admin-image-lightbox-panel {
  appearance: none;
  display: grid;
  place-items: center;
  width: min(92vw, 1200px);
  height: min(92vh, 1200px);
  padding: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none;
  color: inherit;
  cursor: zoom-out;
}

.item-admin-image-lightbox-panel img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.item-admin-table {
  display: grid;
  gap: 8px;
}

.item-admin-table article {
  display: grid;
  grid-template-columns: 1.3fr 1.1fr 1.3fr 0.8fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(3, 8, 7, 0.48);
}

.item-admin-table span,
.muted {
  color: #a9bbb7;
}

.item-admin-iteration {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(3, 8, 7, 0.42);
  margin-bottom: 8px;
  overflow: hidden;
}

.item-admin-iteration.is-jump-target {
  border-color: rgba(72, 211, 164, 0.88);
  box-shadow: 0 0 0 2px rgba(72, 211, 164, 0.18);
}

.item-admin-iteration.is-proposed-master {
  border-color: rgba(245, 139, 52, 0.72);
  background: rgba(46, 24, 6, 0.34);
}

.item-admin-iteration.is-master {
  border-color: rgba(72, 211, 164, 0.82);
  background: rgba(5, 42, 33, 0.36);
}

.item-admin-iteration.is-associated-file-proposed {
  border-color: rgba(79, 195, 255, 0.58);
  background: rgba(5, 33, 48, 0.32);
}

.item-admin-iteration.is-manual-capture {
  border-color: rgba(79, 195, 255, 0.78);
  background: rgba(5, 33, 48, 0.38);
}

.item-admin-iteration.is-ai-pick {
  border-color: rgba(245, 139, 52, 0.64);
  background: rgba(46, 24, 6, 0.28);
}

.item-admin-iteration.is-camera-pose {
  border-color: rgba(79, 195, 255, 0.46);
  background: rgba(5, 33, 48, 0.24);
}

.item-admin-iteration-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.item-admin-iteration-tabs .admin-chip span {
  color: inherit;
  font-size: 0.78rem;
  opacity: 0.78;
}

.item-admin-iteration-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.item-admin-iteration summary {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  min-height: 104px;
  padding: 10px;
  list-style: none;
}

.item-admin-iteration summary::-webkit-details-marker {
  display: none;
}

.item-admin-iteration-thumb {
  display: grid;
  place-items: center;
  width: 88px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(79, 195, 255, 0.18);
  border-radius: 7px;
  background: #020403;
  color: #9fb2ad;
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.item-admin-iteration-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.item-admin-iteration-summary-main {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.item-admin-iteration-summary-main strong,
.item-admin-iteration-summary-main span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.item-admin-iteration[open] {
  grid-column: 1 / -1;
}

.item-admin-iteration summary span {
  color: #a9bbb7;
}

.item-admin-iteration-status.is-proposed-master {
  justify-self: end;
  border: 1px solid rgba(245, 139, 52, 0.72);
  border-radius: 999px;
  background: rgba(245, 139, 52, 0.16);
  color: #ffb35f;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 9px;
  text-transform: uppercase;
}

.item-admin-iteration-status.is-master {
  justify-self: end;
  border: 1px solid rgba(72, 211, 164, 0.82);
  border-radius: 999px;
  background: rgba(72, 211, 164, 0.16);
  color: #67e6b6;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 9px;
  text-transform: uppercase;
}

.item-admin-iteration-status.is-associated-file-proposed,
.item-admin-iteration-status.is-manual-capture {
  justify-self: end;
  border: 1px solid rgba(79, 195, 255, 0.72);
  border-radius: 999px;
  background: rgba(79, 195, 255, 0.14);
  color: #7ed7ff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 9px;
  text-transform: uppercase;
}

.item-admin-iteration-status.is-ai-pick {
  justify-self: end;
  border: 1px solid rgba(245, 139, 52, 0.72);
  border-radius: 999px;
  background: rgba(245, 139, 52, 0.16);
  color: #ffb35f;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 9px;
  text-transform: uppercase;
}

.item-admin-iteration-status.is-camera-pose {
  justify-self: end;
  border: 1px solid rgba(79, 195, 255, 0.62);
  border-radius: 999px;
  background: rgba(79, 195, 255, 0.12);
  color: #7ed7ff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 9px;
  text-transform: uppercase;
}

.item-admin-iteration-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 0 14px 14px 110px;
}

.item-admin-iteration-body .item-admin-image {
  width: min(360px, 100%);
  min-height: 0;
  margin: 0;
}

.item-admin-iteration-body .item-admin-image img {
  max-height: 260px;
}

.item-admin-capture-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
}

.item-admin-canvas-wrap {
  border: 1px solid rgba(79, 195, 255, 0.22);
  border-radius: 8px;
  background: #000;
  overflow: hidden;
}

.item-admin-canvas-wrap canvas {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  cursor: grab;
}

.item-admin-canvas-wrap canvas[hidden],
.item-admin-saved-preview[hidden] {
  display: none;
}

.item-admin-canvas-wrap canvas.is-dragging {
  cursor: grabbing;
}

.item-admin-capture-controls {
  display: grid;
  gap: 10px;
}

.item-admin-capture-controls label {
  color: #9fb2ad;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
}

.item-admin-compact-select {
  width: 100%;
  min-height: 2.6rem;
  border: 1px solid rgba(79, 195, 255, 0.26);
  border-radius: 8px;
  background: #030807;
  color: #f8fbf8;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  padding: 0.55rem 0.7rem;
}

.item-admin-compact-select:focus-visible {
  border-color: rgba(244, 185, 66, 0.78);
  outline: 2px solid rgba(244, 185, 66, 0.18);
  outline-offset: 2px;
}

.admin-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-chip {
  border: 1px solid rgba(79, 195, 255, 0.25);
  border-radius: 999px;
  background: rgba(4, 12, 11, 0.88);
  color: #f8fbf8;
  padding: 8px 11px;
  font-weight: 900;
  cursor: pointer;
}

.admin-chip.is-active {
  border-color: #f4b942;
  box-shadow: 0 0 0 2px rgba(244, 185, 66, 0.14);
}

.admin-chip:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.item-admin-variant-chip {
  display: grid;
  gap: 2px;
  min-width: min(100%, 180px);
  text-align: left;
}

.item-admin-variant-chip strong,
.item-admin-variant-chip span {
  display: block;
}

.item-admin-variant-chip span {
  color: var(--muted);
  font-size: 0.78rem;
}

.admin-color-chip span {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-right: 7px;
  vertical-align: middle;
}

.item-admin-capture textarea,
.item-admin-capture pre,
.item-admin-json {
  width: 100%;
  border: 1px solid rgba(123, 227, 224, 0.18);
  border-radius: 8px;
  background: #030807;
  color: #f8fbf8;
  padding: 12px;
  font: 13px/1.5 Consolas, "Liberation Mono", monospace;
}

.item-admin-json {
  max-height: 520px;
  overflow: auto;
}

.item-admin-mini-json {
  max-height: 180px;
  overflow: auto;
  margin: 10px 0;
  padding: 10px;
  border: 1px solid rgba(123, 227, 224, 0.16);
  border-radius: 8px;
  background: #030807;
  color: #dce9e4;
  font: 12px/1.45 Consolas, "Liberation Mono", monospace;
}

.item-admin-modal[hidden] {
  display: none;
}

.item-admin-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.72);
}

.item-admin-modal-panel {
  display: grid;
  gap: 14px;
  width: min(980px, 100%);
  max-height: min(86vh, 920px);
  overflow: auto;
  padding: 20px;
  border: 1px solid rgba(123, 227, 224, 0.26);
  border-radius: 10px;
  background: #06100e;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
}

.item-admin-modal-panel textarea {
  width: 100%;
  min-height: 140px;
  border: 1px solid rgba(123, 227, 224, 0.22);
  border-radius: 8px;
  background: #030807;
  color: #f8fbf8;
  padding: 12px;
  font: 14px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.item-admin-pose-brain-md {
  display: grid;
  gap: 10px;
  max-height: 420px;
  overflow: auto;
  padding: 14px;
  border: 1px solid rgba(123, 227, 224, 0.18);
  border-radius: 8px;
  background: #030807;
  color: #e6f4ef;
  font: 14px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.item-admin-pose-brain-md h3,
.item-admin-pose-brain-md h4 {
  margin: 10px 0 2px;
  color: #ffffff;
  font-size: 1rem;
}

.item-admin-pose-brain-md p,
.item-admin-pose-brain-md ul {
  margin: 0;
}

.item-admin-pose-brain-md ul {
  padding-left: 22px;
}

@media (max-width: 980px) {
  .item-admin-grid,
  .item-admin-capture-grid,
  .item-admin-iteration-body {
    grid-template-columns: 1fr;
  }

  .item-admin-iteration[open] {
    grid-column: span 1;
  }

  .item-admin-iteration-body {
    padding: 0 12px 12px;
  }

  .item-admin-table article,
  .item-admin-iteration summary {
    grid-template-columns: 1fr;
  }
}

.item-admin-capture-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.item-admin-saved-preview {
  display: grid;
  min-height: 320px;
  place-items: center;
  width: 100%;
}

.item-admin-saved-preview .item-admin-image {
  max-width: min(100%, 620px);
}

.item-admin-saved-preview .item-admin-image img {
  aspect-ratio: 7 / 5;
  background: #000;
  object-fit: contain;
}

.item-admin-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin: 14px 0;
}

.item-admin-job-log {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 14px 0;
  padding: 0;
}

.item-admin-job-progress {
  display: grid;
  gap: 9px;
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid rgba(123, 227, 224, 0.24);
  border-radius: 10px;
  background: rgba(2, 12, 12, 0.72);
}

.item-admin-job-progress strong,
.item-admin-job-progress span {
  display: block;
}

.item-admin-job-progress strong {
  color: #ffffff;
  font-size: 0.96rem;
}

.item-admin-job-progress span {
  color: var(--muted);
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.item-admin-job-progress-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.item-admin-job-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7be3e0, #f4b942);
  transition: width 220ms ease;
}

.item-admin-job-log li {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 3px;
  padding: 9px 11px;
}

.item-admin-job-log span,
.item-admin-source-variants span {
  color: var(--muted);
  font-size: 0.86rem;
}

.item-admin-click-row {
  cursor: pointer;
}

.item-admin-click-row:hover,
.item-admin-click-row:focus-visible {
  border-color: rgba(72, 211, 164, 0.72);
}

.item-admin-model-file-list {
  display: grid;
  gap: 10px;
  margin: 12px 0 18px;
}

.item-admin-model-file {
  display: grid;
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(123, 227, 224, 0.18);
  border-radius: 10px;
  background: rgba(3, 8, 7, 0.5);
}

.item-admin-model-file:hover {
  border-color: rgba(123, 227, 224, 0.42);
  background: rgba(6, 22, 19, 0.72);
}

.item-admin-model-file.is-selected {
  border-color: #62d6a4;
  box-shadow: 0 0 0 2px rgba(98, 214, 164, 0.18);
}

.item-admin-model-file.is-waiting {
  opacity: 0.88;
}

.item-admin-model-file input {
  margin-top: 5px;
  accent-color: #62d6a4;
}

.item-admin-model-file-head,
.item-admin-renderable-file {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  margin: 0;
}

label.item-admin-model-file-head,
.item-admin-renderable-file {
  cursor: pointer;
}

.item-admin-model-file strong,
.item-admin-model-file em,
.item-admin-model-file span {
  display: block;
}

.item-admin-model-file em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.88rem;
  margin-top: 2px;
}

.item-admin-model-file-head > div > strong,
.item-admin-renderable-file strong {
  color: #ffffff;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.item-admin-model-file.is-ready .item-admin-model-file-head > div > strong {
  color: #f8fff9;
}

.item-admin-source-help {
  display: grid;
  gap: 6px;
  margin: 10px 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(244, 185, 66, 0.34);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(56, 35, 3, 0.72), rgba(4, 14, 12, 0.88));
}

.item-admin-source-help.is-ready {
  border-color: rgba(98, 214, 164, 0.44);
  background: linear-gradient(135deg, rgba(11, 56, 31, 0.72), rgba(4, 14, 12, 0.88));
}

.item-admin-source-help strong {
  color: #ffffff;
}

.item-admin-source-help p {
  margin: 0;
  color: #c9ddd9;
}

.item-admin-source-help span {
  color: #f4b942;
  font-weight: 900;
}

.item-admin-source-variants .item-admin-fast-glb,
.item-admin-variant-chip .item-admin-fast-glb {
  color: #9ff3d0;
}

.item-admin-model-index {
  color: #4fc3ff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.item-admin-model-file ul {
  display: grid;
  gap: 6px;
  max-height: 260px;
  margin: 10px 0 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.item-admin-model-file li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 7px 9px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.045);
}

.item-admin-model-file li strong {
  overflow-wrap: anywhere;
}

.item-admin-model-file li span {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.item-admin-renderable-list {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding-left: 0;
}

.item-admin-renderable-file {
  grid-template-columns: 22px minmax(3.4rem, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(123, 227, 224, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.item-admin-renderable-file input {
  margin: 0;
  justify-self: center;
}

.item-admin-renderable-file > span {
  color: #9bd8e5;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.item-admin-renderable-file strong {
  min-width: 0;
}

.item-admin-renderable-file em {
  justify-self: end;
  white-space: nowrap;
}

.item-admin-renderable-file:hover {
  border-color: rgba(123, 227, 224, 0.34);
  background: rgba(255, 255, 255, 0.065);
}

.item-admin-renderable-file.is-selected {
  border-color: #62d6a4;
  background: rgba(98, 214, 164, 0.1);
}

.batch-admin-list {
  display: grid;
  gap: 10px;
}

.batch-admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  gap: 14px;
  padding: 13px;
  border: 1px solid rgba(123, 227, 224, 0.18);
  border-radius: 8px;
  background: rgba(3, 8, 7, 0.5);
}

.batch-admin-row.is-running,
.batch-admin-row.is-queued {
  border-color: rgba(244, 185, 66, 0.5);
}

.batch-admin-row.is-complete {
  border-color: rgba(98, 214, 164, 0.5);
}

.batch-admin-row.is-failed,
.batch-admin-row.is-needs_source_download {
  border-color: rgba(255, 107, 107, 0.5);
}

.batch-admin-main,
.batch-admin-actions {
  display: grid;
  gap: 7px;
  align-content: start;
}

.batch-admin-main strong,
.batch-admin-main em,
.batch-admin-main span,
.batch-admin-receipt {
  display: block;
  overflow-wrap: anywhere;
}

.batch-admin-main strong {
  color: #fff;
  font-size: 1.02rem;
}

.batch-admin-main em,
.batch-admin-main span,
.batch-admin-receipt {
  color: var(--muted);
  font-style: normal;
  font-size: 0.88rem;
}

.batch-admin-main .batch-admin-glb {
  color: #9ff3d0;
}

.batch-admin-status {
  width: max-content;
  padding: 4px 9px;
  border: 1px solid rgba(123, 227, 224, 0.28);
  border-radius: 999px;
  color: #cffff3 !important;
  font-size: 0.72rem !important;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.batch-admin-error {
  margin: 2px 0 0;
  color: #ff9b9b;
}

.batch-admin-progress {
  margin: 6px 0 0;
}

.batch-admin-actions .button {
  width: 100%;
  justify-content: center;
}

@media (max-width: 780px) {
  .batch-admin-row {
    grid-template-columns: 1fr;
  }
}

/* Catalog Admin Workbench */
.catalog-admin-page {
  background: #050807;
}

.catalog-admin-status {
  color: #4fc3ff;
  font-weight: 800;
}

.catalog-admin-status.is-error {
  color: #ff6b6b;
}

.catalog-admin-shell {
  width: min(1520px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
  color: #f8fbf8;
}

.catalog-admin-card {
  border: 1px solid rgba(123, 227, 224, 0.2);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(13, 30, 26, 0.94), rgba(21, 31, 21, 0.9)),
    #0b1412;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  margin-bottom: 14px;
  padding: 18px;
}

.catalog-admin-card h1,
.catalog-admin-card h2,
.catalog-admin-card h3 {
  margin: 0;
}

.catalog-admin-card h1 {
  font-size: 24px;
}

.catalog-admin-summary {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}

.catalog-admin-summary article {
  min-height: 88px;
  border: 1px solid rgba(123, 227, 224, 0.16);
  border-radius: 8px;
  background: rgba(3, 10, 9, 0.48);
  padding: 12px;
}

.catalog-admin-summary span,
.catalog-admin-main small,
.catalog-admin-metrics span,
.catalog-admin-ops-card span {
  color: #afc9c3;
}

.catalog-admin-summary strong {
  display: block;
  margin-top: 8px;
  color: #f8fbf8;
  font-size: 28px;
  line-height: 1;
}

.catalog-admin-summary em {
  display: block;
  margin-top: 8px;
  color: #4fc3ff;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.catalog-admin-tabs,
.catalog-admin-toolbar,
.catalog-admin-quick-filters,
.catalog-admin-list-head,
.catalog-admin-actions,
.catalog-admin-metrics {
  display: flex;
  align-items: center;
}

.catalog-admin-tabs {
  gap: 8px;
  margin-bottom: 14px;
}

.catalog-admin-toolbar {
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.catalog-admin-quick-filters {
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.catalog-admin-toolbar label {
  display: grid;
  gap: 6px;
  color: #9fb7b1;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-admin-toolbar input,
.catalog-admin-toolbar select {
  min-width: 210px;
  border: 1px solid rgba(123, 227, 224, 0.28);
  border-radius: 8px;
  background: #07100e;
  color: #f8fbf8;
  font-size: 14px;
  min-height: 40px;
  padding: 8px 10px;
}

.catalog-admin-list-head {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.catalog-admin-list-head span {
  color: #4fc3ff;
  font-weight: 900;
}

.catalog-admin-table {
  display: grid;
  gap: 8px;
}

.catalog-admin-row {
  display: grid;
  grid-template-columns: 76px minmax(280px, 1.7fr) minmax(150px, 0.48fr) minmax(360px, 1.25fr) minmax(250px, auto);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(123, 227, 224, 0.16);
  border-radius: 8px;
  background: rgba(3, 10, 9, 0.44);
  padding: 12px;
}

.catalog-admin-row.is-clickable {
  cursor: pointer;
}

.catalog-admin-row.is-clickable:hover,
.catalog-admin-row.is-clickable:focus-visible {
  border-color: rgba(84, 230, 159, 0.56);
  background: rgba(9, 30, 24, 0.78);
  outline: none;
}

.catalog-admin-artist-row {
  grid-template-columns: minmax(300px, 1.6fr) minmax(420px, 1.4fr) minmax(180px, auto);
}

.catalog-admin-artist-row.is-current-drop {
  border-color: rgba(84, 230, 159, 0.92);
  background: rgba(11, 44, 32, 0.86);
  box-shadow: inset 4px 0 0 #54e69f;
}

.catalog-admin-artist-row.is-current-drop .catalog-admin-main strong {
  color: #54e69f;
}

.catalog-admin-thumb {
  display: grid;
  width: 68px;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(123, 227, 224, 0.18);
  border-radius: 8px;
  background: #030807;
}

.catalog-admin-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.catalog-admin-thumb.is-empty::before {
  content: "";
  width: 22px;
  aspect-ratio: 1;
  border: 1px solid rgba(175, 201, 195, 0.38);
  border-radius: 50%;
}

.catalog-admin-main {
  min-width: 0;
}

.catalog-admin-main strong,
.catalog-admin-main small,
.catalog-admin-main .eyebrow {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.catalog-admin-main strong {
  color: #f8fbf8;
  font-size: 16px;
  line-height: 1.2;
}

.catalog-admin-main small {
  margin-top: 5px;
  font-size: 12px;
}

.catalog-admin-pill {
  justify-self: start;
  border: 1px solid rgba(123, 227, 224, 0.2);
  border-radius: 999px;
  color: #d6ece8;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  padding: 8px 10px;
  text-transform: uppercase;
}

.catalog-admin-pill.is-good {
  border-color: rgba(84, 230, 159, 0.82);
  color: #54e69f;
}

.catalog-admin-pill.is-warm {
  border-color: rgba(244, 185, 66, 0.9);
  color: #f4b942;
}

.catalog-admin-pill.is-blue {
  border-color: rgba(79, 195, 255, 0.85);
  color: #4fc3ff;
}

.catalog-admin-pill.is-bad {
  border-color: rgba(255, 107, 107, 0.88);
  color: #ff6b6b;
}

.catalog-admin-metrics {
  flex-wrap: wrap;
  gap: 8px 12px;
  min-width: 0;
}

.catalog-admin-metrics span {
  font-size: 12px;
}

.catalog-admin-metrics b {
  color: #f8fbf8;
}

.catalog-admin-error,
.catalog-admin-error b {
  color: #ff8d8d !important;
}

.catalog-admin-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.catalog-admin-actions a,
.catalog-admin-actions button,
.catalog-admin-ops-card a {
  border: 1px solid rgba(123, 227, 224, 0.22);
  border-radius: 8px;
  background: #07100e;
  color: #d8f6ef;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  padding: 8px 10px;
  text-decoration: none;
}

.catalog-admin-actions a:hover,
.catalog-admin-actions button:hover,
.catalog-admin-ops-card a:hover {
  border-color: rgba(84, 230, 159, 0.65);
  color: #54e69f;
}

.catalog-admin-empty {
  color: #afc9c3;
  margin: 16px 0;
}

.catalog-admin-ops-grid,
.catalog-admin-split {
  display: grid;
  gap: 12px;
}

.catalog-admin-ops-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 12px;
}

.catalog-admin-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalog-admin-ops-card {
  border: 1px solid rgba(123, 227, 224, 0.16);
  border-radius: 8px;
  background: rgba(3, 10, 9, 0.44);
  padding: 14px;
}

.catalog-admin-ops-card h3 {
  margin-bottom: 12px;
}

.catalog-admin-ops-card div,
.catalog-admin-ops-card a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.catalog-admin-ops-card a {
  align-items: center;
  line-height: 1.2;
}

.catalog-admin-ops-card a span {
  max-width: 50%;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .catalog-admin-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .catalog-admin-row,
  .catalog-admin-artist-row {
    grid-template-columns: 1fr;
  }

  .catalog-admin-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .catalog-admin-summary,
  .catalog-admin-ops-grid,
  .catalog-admin-split {
    grid-template-columns: 1fr;
  }

  .catalog-admin-toolbar input,
  .catalog-admin-toolbar select {
    min-width: min(100%, 320px);
  }
}

@media (max-width: 520px) {
  .artist-profile-page .artist-profile-grid {
    width: min(100%, 22.375rem);
    margin-left: 0;
    margin-right: auto;
  }

  .model-detail-page .model-detail-hero .hero-content {
    width: min(100%, 22.375rem);
    margin-left: 0;
    margin-right: auto;
  }
}

.estimate-status-body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #070b0a 0 8rem, #0b1210 8rem 100%);
}

.estimate-customer-header {
  border-top: 4px solid var(--red);
  border-bottom: 1px solid rgba(112, 214, 200, 0.2);
  background: #050807;
}

.estimate-customer-header::before {
  content: "";
  display: block;
  height: 3px;
  margin-top: -3px;
  background: linear-gradient(90deg, var(--red) 0 34%, var(--gold) 34% 67%, var(--evergreen) 67% 100%);
}

.estimate-header-inner {
  width: min(1040px, calc(100% - 40px));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.estimate-header-brand {
  display: block;
  width: 208px;
}

.estimate-header-brand img {
  width: 100%;
  height: auto;
}

.estimate-header-context {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #9eb4af;
  font-size: 0.86rem;
  font-weight: 700;
}

.estimate-header-context a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(112, 214, 200, 0.3);
  border-radius: var(--radius);
  color: var(--snow);
  padding: 0.55rem 0.8rem;
  text-decoration: none;
}

.estimate-header-context a:hover,
.estimate-header-context a:focus-visible {
  border-color: var(--gold);
}

.estimate-status-page {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 88px;
}

.estimate-status-page .section-heading {
  margin-left: 0;
  margin-right: 0;
  border-left: 0;
  padding-left: 0;
}

.estimate-status-heading {
  max-width: 920px;
  margin-bottom: 30px;
}

.estimate-status-heading .eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
}

.estimate-status-heading .eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.estimate-status-heading h1 {
  max-width: 880px;
  margin: 0 0 12px;
  color: var(--snow);
  font-size: 3.05rem;
  line-height: 1.08;
}

.estimate-status-intro {
  max-width: 680px;
  margin-bottom: 18px;
  color: #bdd0cc;
  font-size: 1.05rem;
}

.estimate-request-number {
  width: fit-content;
  margin: 0;
  border: 1px solid rgba(244, 185, 66, 0.34);
  border-radius: 999px;
  background: rgba(244, 185, 66, 0.08);
  color: var(--gold);
  padding: 0.42rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 800;
}

.estimate-tracker {
  border: 1px solid rgba(112, 214, 200, 0.24);
  border-radius: var(--radius);
  background: #101816;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.estimate-status-page.has-terminal-estimate .estimate-status-heading {
  margin-bottom: 18px;
}

.estimate-tracker.is-terminal {
  border-color: rgba(112, 214, 200, 0.36);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.estimate-tracker-head {
  min-height: 126px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 26px 28px;
}

.estimate-tracker.is-terminal .estimate-tracker-head {
  min-height: 0;
  padding: 18px 22px;
}

.estimate-tracker.is-terminal .estimate-live-readback strong {
  font-size: 0.72rem;
}

.estimate-status-marker {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(112, 214, 200, 0.46);
  border-radius: 50%;
  background: rgba(112, 214, 200, 0.1);
}

.estimate-status-marker span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--evergreen);
  box-shadow: 0 0 0 0 rgba(112, 214, 200, 0.45);
  animation: estimate-status-pulse 1.8s ease-out infinite;
}

.estimate-status-marker[data-status="estimate_ready"] span {
  background: var(--gold);
  animation: none;
}

.estimate-status-marker[data-status="needs_staff_review"] span,
.estimate-status-marker[data-status="estimate_failed"] span,
.estimate-status-marker[data-status="refresh_delayed"] span {
  background: var(--red);
  animation: none;
}

.estimate-tracker-copy strong {
  display: block;
  color: var(--snow);
  font-size: 1.2rem;
}

.estimate-tracker-copy p {
  max-width: 640px;
  margin: 5px 0 0;
  color: #bed0cc;
}

.estimate-live-readback {
  min-width: 150px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1px 7px;
  align-items: center;
  color: #cfe1dd;
  font-size: 0.76rem;
  text-align: left;
}

.estimate-live-readback small {
  grid-column: 2;
  color: #809b95;
}

.estimate-live-dot {
  grid-row: 1 / 3;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--evergreen);
  box-shadow: 0 0 10px rgba(112, 214, 200, 0.5);
}

.estimate-progress-rail {
  height: 5px;
  background: #1c2926;
  overflow: hidden;
}

.estimate-progress-rail span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--gold) 52%, var(--evergreen));
  transform: scaleX(0.05);
  transform-origin: left center;
  transition: transform 380ms ease;
}

.estimate-progress-rail.is-progress-22 span {
  transform: scaleX(0.22);
}

.estimate-progress-rail.is-progress-40 span {
  transform: scaleX(0.4);
}

.estimate-progress-rail.is-progress-45 span {
  transform: scaleX(0.45);
}

.estimate-progress-rail.is-progress-52 span {
  transform: scaleX(0.52);
}

.estimate-progress-rail.is-progress-64 span {
  transform: scaleX(0.64);
}

.estimate-progress-rail.is-progress-82 span {
  transform: scaleX(0.82);
}

.estimate-progress-rail.is-progress-86 span {
  transform: scaleX(0.86);
}

.estimate-progress-rail.is-progress-100 span {
  transform: scaleX(1);
}

.estimate-stage-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 28px;
  list-style: none;
}

.estimate-stage-list li {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  position: relative;
  color: #76918b;
}

.estimate-stage-list li:not(:last-child)::after {
  content: "";
  width: calc(100% - 50px);
  height: 1px;
  position: absolute;
  top: 16px;
  left: 42px;
  background: #2b3a37;
}

.estimate-stage-list li > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  border: 1px solid #40514d;
  border-radius: 50%;
  background: #101816;
  font-size: 0.76rem;
  font-weight: 900;
}

.estimate-stage-list li div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.estimate-stage-list li strong,
.estimate-stage-list li small {
  overflow-wrap: anywhere;
}

.request-payment-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0;
  padding: 9px 12px;
  border: 1px solid #40566c;
  border-radius: 6px;
  background: #151b22;
}

.request-payment-status > div {
  display: grid;
  gap: 2px;
}

.request-payment-status > div:last-child {
  justify-items: end;
  text-align: right;
}

.request-payment-status strong,
.request-payment-status b {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.1;
}

.request-payment-status span,
.request-payment-status small {
  color: #aeb9c7;
  font-size: 12px;
  font-weight: 700;
}

.request-payment-status.is-paid {
  border-color: #238f4f;
  background: #102219;
}

.request-payment-status.is-paid strong,
.request-payment-status.is-paid b {
  color: #7ff0a6;
}

.request-farm-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0;
  padding: 9px 12px;
  border: 1px solid #40566c;
  border-radius: 6px;
  background: #111a22;
}

.request-farm-status > div {
  display: grid;
  gap: 2px;
}

.request-farm-status > div:last-child {
  justify-items: end;
  text-align: right;
}

.request-farm-status strong,
.request-farm-status b {
  color: #f2f7fb;
  font-size: 16px;
  line-height: 1.1;
}

.request-farm-status span,
.request-farm-status small {
  color: #aeb9c7;
  font-size: 12px;
  font-weight: 700;
}

.request-farm-status.is-slice-ready {
  border-color: #238f4f;
  background: #102219;
}

.request-farm-status.is-slice-ready strong,
.request-farm-status.is-slice-ready b {
  color: #7ff0a6;
}

.request-farm-status.is-dispatch-failed,
.request-farm-status.is-hard-stop {
  border-color: #b7443e;
  background: #261414;
}

.request-farm-status.is-dispatch-failed strong,
.request-farm-status.is-hard-stop strong {
  color: #ffaaa4;
}

.estimate-stage-list li strong {
  color: #99ada8;
  font-size: 0.82rem;
}

.estimate-stage-list li small {
  color: #687f7a;
  font-size: 0.68rem;
  line-height: 1.25;
}

.estimate-stage-list li.is-complete > span {
  border-color: var(--evergreen);
  background: var(--evergreen);
  color: #07110f;
}

.estimate-stage-list li.is-complete strong {
  color: #dce8e5;
}

.estimate-stage-list li.is-active > span {
  border-color: var(--gold);
  background: rgba(244, 185, 66, 0.14);
  color: var(--gold);
  box-shadow: 0 0 0 4px rgba(244, 185, 66, 0.08);
}

.estimate-stage-list li.is-active strong {
  color: var(--gold);
}

.estimate-stage-list li.is-attention > span {
  border-color: var(--red);
  background: rgba(255, 111, 98, 0.12);
  color: var(--red);
}

.estimate-stage-list li.is-attention strong {
  color: var(--red);
}

.estimate-progress-detail {
  margin: 0 28px 24px;
  border-left: 3px solid var(--gold);
  background: rgba(244, 185, 66, 0.07);
  padding: 13px 15px;
}

.estimate-progress-detail p {
  margin: 4px 0 0;
  color: #b8cbc7;
}

.estimate-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 512px));
  gap: 28px;
  align-items: start;
  justify-content: center;
  padding: 26px 0 38px;
  border-bottom: 1px solid #253330;
}

.estimate-summary:not(.has-plate-preview) {
  grid-template-columns: 1fr;
}

.estimate-next-step {
  display: block;
  padding: 38px 0;
  border-bottom: 1px solid #253330;
}

.estimate-summary[hidden],
.estimate-next-step[hidden],
.estimate-progress-rail[hidden],
.estimate-stage-list[hidden],
.estimate-tracker[hidden] {
  display: none !important;
}

.estimate-result,
.estimate-review-request,
.estimate-settings,
.estimate-plates {
  padding: 44px 0;
  border-bottom: 1px solid #253330;
}

.estimate-summary > .estimate-result,
.estimate-summary > .estimate-plates,
.estimate-next-step > .estimate-review-request {
  padding: 0;
  border-bottom: 0;
}

.estimate-summary .estimate-result {
  width: min(100%, 512px);
  aspect-ratio: 1;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(112, 214, 200, 0.24);
  border-radius: var(--radius);
  background: #101816;
  padding: 24px;
}

.estimate-summary .estimate-plates .section-heading {
  display: none;
}

.estimate-summary .estimate-plate-grid {
  grid-template-columns: 1fr;
}

.estimate-summary .estimate-plate {
  padding: 0;
  border: 0;
  background: transparent;
}

.estimate-review-request .section-heading {
  max-width: 720px;
}

.estimate-review-request h2 {
  margin-bottom: 0.45rem;
  font-size: 2rem;
  line-height: 1.12;
}

.estimate-review-form {
  display: grid;
  gap: 18px;
  max-width: 820px;
  margin-top: 24px;
}

.estimate-review-form[hidden],
.estimate-review-complete[hidden],
.estimate-review-auth[hidden],
.estimate-review-verified[hidden],
.estimate-review-details[hidden],
.estimate-review-shipping[hidden] {
  display: none;
}

.estimate-review-auth,
.estimate-review-details {
  display: grid;
  gap: 18px;
}

.estimate-review-auth {
  max-width: 36rem;
}

.estimate-review-details > label:first-child {
  max-width: 36rem;
}

.estimate-review-fields {
  margin: 0;
}

.estimate-review-form label span {
  color: #dce8e5;
  font-weight: 800;
}

.estimate-review-form input,
.estimate-review-form select,
.estimate-review-form textarea {
  color: #f6fffd;
  background: #08110f;
  border-color: #40514d;
}

.estimate-review-form input::placeholder,
.estimate-review-form textarea::placeholder {
  color: #9bb0ab;
  opacity: 1;
}

.estimate-review-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.estimate-review-verification {
  display: flex;
  align-items: center;
  gap: 16px;
}

.estimate-review-verification p {
  margin: 0;
  color: #b8cbc7;
}

.estimate-review-code {
  max-width: 18rem;
}

.estimate-review-code input {
  font-size: 1.25rem;
  letter-spacing: 0.18rem;
}

.estimate-review-code small {
  display: block;
  margin-top: 0.45rem;
  color: #9bb0ab;
}

.estimate-review-code[hidden] {
  display: none;
}

.estimate-review-verified {
  width: fit-content;
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-left: 3px solid #70d6c8;
  padding: 8px 12px;
  color: #b8cbc7;
}

.estimate-review-verified strong {
  color: #f6fffd;
}

.estimate-review-shipping .full-width {
  grid-column: 1 / -1;
}

.estimate-review-actions p {
  margin: 0;
  color: #b8cbc7;
}

.estimate-review-complete {
  max-width: 760px;
  margin-top: 24px;
  border: 1px solid rgba(112, 214, 200, 0.38);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(112, 214, 200, 0.12), transparent 16rem),
    rgba(10, 24, 22, 0.92);
  padding: 18px 20px;
}

.estimate-review-complete strong {
  color: var(--snow);
  font-size: 1.1rem;
}

.estimate-review-complete p {
  margin: 4px 0 0;
  color: #b8cbc7;
}

.estimate-result-heading {
  display: grid;
  gap: 18px;
  margin-bottom: 22px;
}

.estimate-result-heading > p {
  max-width: 540px;
  margin: 0;
  color: #b3c6c1;
}

.estimate-total {
  display: grid;
  gap: 8px;
}

.estimate-total > span {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.estimate-total strong {
  color: var(--snow);
  font-size: 4rem;
  line-height: 1;
}

.estimate-total small {
  color: #89a09a;
}

.estimate-totals,
.estimate-settings dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
}

.estimate-totals > div:not(.estimate-quote-proof),
.estimate-settings dl div,
.estimate-plate div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #293936;
}

.estimate-totals > div:not(.estimate-quote-proof) span,
.estimate-settings dt,
.estimate-plate span {
  color: #93aaa4;
}

.estimate-settings dt,
.estimate-settings dd {
  margin: 0;
}

.estimate-settings dd {
  color: var(--snow);
  font-weight: 700;
  text-align: right;
}

.estimate-settings .section-heading,
.estimate-plates .section-heading {
  max-width: 760px;
}

.estimate-settings h2,
.estimate-plates h2 {
  font-size: 2.3rem;
}

.estimate-support-note {
  max-width: 780px;
  border-left: 3px solid var(--gold);
  background: rgba(244, 185, 66, 0.08);
  color: #d8e2df;
  padding: 14px 16px;
}

.estimate-card-disclaimer {
  margin: auto 0 0;
  border-top: 1px solid #293936;
  padding-top: 14px;
  color: #9bb0ab;
  font-size: 0.78rem;
  line-height: 1.45;
}

.estimate-plate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.estimate-plate {
  padding: 18px;
  border: 1px solid #2b3b38;
  border-radius: var(--radius);
  background: #101816;
}

.estimate-plate .estimate-plate-comparison,
.request-estimate-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  border: 0;
}

.estimate-totals .estimate-quote-proof {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  min-width: 0;
}

.estimate-quote-plate {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 0 0 14px;
  border-bottom: 1px solid #293936;
}

.estimate-quote-plate:last-child {
  border-bottom: 0;
}

.estimate-quote-proof .estimate-material-contract {
  margin-bottom: 0;
  border: 1px solid rgba(112, 214, 200, 0.18);
  border-radius: var(--radius);
  background: rgba(7, 16, 14, 0.72);
  padding: 10px 12px;
}

.estimate-quote-proof .estimate-plate-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  border: 0;
}

.estimate-quote-proof small {
  color: #9bb0ab;
  font-size: 0.78rem;
}

.estimate-quote-proof small.is-warning {
  color: var(--gold);
  font-weight: 700;
}

.estimate-plate-visual,
.request-estimate-visual {
  min-width: 0;
  margin: 0 0 12px;
}

.estimate-plate .estimate-plate-visual {
  width: min(100%, 512px);
  margin: 0 auto 18px;
}

.estimate-plate .estimate-plate-image,
.request-estimate-preview {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 0;
  border: 1px solid #32433f;
  background: #07100e;
}

.estimate-plate .estimate-plate-image {
  grid-template-columns: minmax(0, 1fr);
  aspect-ratio: 1;
}

.estimate-plate-image img,
.request-estimate-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.estimate-plate-image > span,
.request-estimate-preview > span {
  padding: 16px;
  color: #8ea19d;
  font-size: 0.78rem;
  text-align: center;
}

.estimate-plate-visual figcaption,
.request-estimate-visual figcaption {
  padding-top: 9px;
  color: #93aaa4;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.estimate-plate-metric,
.request-estimate-metric {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #32433f;
  background: #0b1412;
}

.estimate-plate-metric span,
.request-estimate-metric span {
  font-size: 0.78rem;
  font-weight: 700;
}

.estimate-plate-metric b,
.request-estimate-metric b {
  color: var(--snow);
  font-size: 0.88rem;
}

.estimate-material-contract,
.request-estimate-material {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 700;
}

.estimate-color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.estimate-color-swatches i {
  width: 18px;
  height: 18px;
  border: 1px solid #71817d;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.estimate-plate small {
  display: block;
  margin-top: 12px;
  color: #9bb0ab;
}

.estimate-plate small.is-warning {
  color: var(--gold);
  font-weight: 700;
}

.estimate-status-footer {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  align-items: flex-start;
  padding-top: 34px;
}

.estimate-status-footer .button {
  flex: 0 0 auto;
}

@keyframes estimate-status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(112, 214, 200, 0.42); }
  70% { box-shadow: 0 0 0 10px rgba(112, 214, 200, 0); }
  100% { box-shadow: 0 0 0 0 rgba(112, 214, 200, 0); }
}

.request-estimate-head,
.request-estimate-settings div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.request-estimate-head h3,
.request-estimate-head span,
.request-estimate-settings dt,
.request-estimate-settings dd {
  margin: 0;
}

.request-estimate-head > strong {
  font-size: 1.7rem;
  color: #70d6c8;
}

.request-estimate-settings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
}

.request-estimate-settings div {
  padding: 7px 0;
  border-bottom: 1px solid #2b3b38;
}

.request-estimate-settings dd {
  font-weight: 700;
  text-align: right;
}

.request-estimate-warning {
  padding: 10px 12px;
  border-left: 4px solid #e39a2d;
  background: rgba(227, 154, 45, 0.14);
  color: #ffe8bf;
}

.request-estimate-plates {
  display: grid;
  gap: 12px;
  margin: 16px 0;
}

.request-estimate-plate {
  padding: 14px;
  border: 1px solid #2b3b38;
  background: #101816;
  color: #dcebe7;
}

.request-estimate-plate > strong,
.request-estimate-plate > small {
  display: block;
}

.request-estimate-plate > strong {
  margin-bottom: 9px;
  color: var(--snow);
}

.request-estimate-plate > small {
  margin-top: 9px;
  color: #9bb0ab;
}

.request-estimate-plate > small.is-warning {
  color: var(--gold);
  font-weight: 700;
}

.request-estimate-preview {
  border-color: #32433f;
  background: #07100e;
}

.request-estimate-metric {
  border-color: #32433f;
  background: #0b1412;
}

.request-estimate-metric span {
  color: #a5b6b2;
}

.request-estimate-material {
  color: #dcebe7;
}

.request-estimate-metric b {
  color: var(--snow);
}

.request-estimate-table-wrap {
  overflow-x: auto;
}

.request-estimate-table {
  width: 100%;
  border-collapse: collapse;
}

.request-estimate-table th,
.request-estimate-table td {
  padding: 8px;
  border-bottom: 1px solid #2b3b38;
  text-align: left;
  color: #dcebe7;
}

.request-estimate-table th {
  color: var(--snow);
}

.request-quote-box {
  border-color: #2b3b38;
}

.request-quote-package-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 12px 0 18px;
  list-style: none;
}

.request-quote-package-list li {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid #2b3b38;
  background: #101816;
  color: #dcebe7;
}

.request-quote-package-list small {
  overflow-wrap: anywhere;
  color: #9bb0ab;
}

.request-quote-form {
  display: grid;
  gap: 14px;
}

.request-quote-files {
  display: grid;
  gap: 8px;
}

.request-quote-file {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #2b3b38;
  background: #101816;
  color: #dcebe7;
}

.request-quote-file.is-disabled {
  opacity: 0.62;
  background: #0c1412;
}

.request-quote-file span {
  display: grid;
  gap: 3px;
}

.request-quote-file small {
  color: #9bb0ab;
}

@media (max-width: 860px) {
  .estimate-tracker-head {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .estimate-live-readback {
    grid-column: 2;
  }

  .estimate-stage-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .estimate-stage-list li {
    min-height: 58px;
  }

  .estimate-stage-list li:not(:last-child)::after {
    width: 1px;
    height: 24px;
    top: 38px;
    left: 16px;
  }
}

@media (max-width: 680px) {
  .estimate-header-inner {
    width: min(1040px, calc(100% - 28px));
    min-height: 74px;
  }

  .estimate-header-brand {
    width: 164px;
  }

  .estimate-header-context > span {
    display: none;
  }

  .estimate-header-context a {
    min-height: 38px;
    font-size: 0.78rem;
  }

  .estimate-status-page {
    width: min(1040px, calc(100% - 28px));
    padding: 38px 0 64px;
  }

  .estimate-status-heading h1 {
    font-size: 2.35rem;
  }

  .estimate-tracker-head {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 22px 18px;
  }

  .estimate-status-marker {
    width: 38px;
    height: 38px;
  }

  .estimate-live-readback {
    grid-column: 1 / -1;
    margin-top: 4px;
  }

  .estimate-stage-list {
    padding: 22px 18px;
  }

  .estimate-progress-detail {
    margin: 0 18px 20px;
  }

  .estimate-result-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .estimate-summary,
  .estimate-next-step {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .estimate-summary .estimate-result {
    padding: 20px;
  }

  .estimate-total strong {
    font-size: 3rem;
  }

  .estimate-totals,
  .estimate-settings dl,
  .request-estimate-settings {
    grid-template-columns: 1fr;
  }

  .estimate-plate .estimate-plate-comparison,
  .request-estimate-comparison {
    grid-template-columns: 1fr;
  }

  .estimate-settings h2,
  .estimate-plates h2 {
    font-size: 1.75rem;
  }

  .estimate-status-footer {
    display: grid;
  }

  .estimate-status-footer .button {
    width: fit-content;
  }
}

@media (prefers-reduced-motion: reduce) {
  .estimate-status-marker span {
    animation: none;
  }

  .estimate-progress-rail span {
    transition: none;
  }
}
