:root {
  color-scheme: light;
  --vu-paper: #ffffff;
  --vu-canvas: #f0f0f0;
  --vu-surface: #f5f5f2;
  --vu-surface-deep: #e8e8e4;
  --vu-ink: #101313;
  --vu-muted: #686b6b;
  --vu-quiet: #919494;
  --vu-line: #d9d9d9;
  --vu-line-strong: #bfc1c1;
  --vu-blue: #0e487a;
  --vu-blue-dark: #0a365c;
  --vu-blue-soft: #e8f0f6;
  --vu-danger: #a4413c;
  --vu-notice: #9a6817;
  --vu-focus: rgba(14, 72, 122, 0.24);
  --vu-topbar-height: 72px;
  --vu-navigation-width: 224px;
  --vu-font: proxima-nova, "Helvetica Neue", Arial, sans-serif;
  --vu-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --vu-ease: cubic-bezier(0.22, 0.72, 0.24, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--vu-canvas);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--vu-canvas);
  color: var(--vu-ink);
  font-family: var(--vu-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--vu-blue);
  color: var(--vu-paper);
}

[hidden] {
  display: none !important;
}

button,
input,
textarea {
  font: inherit;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible,
section[tabindex]:focus-visible {
  outline: 3px solid var(--vu-focus);
  outline-offset: 3px;
}

button:disabled {
  cursor: wait;
}

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

.topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  height: var(--vu-topbar-height);
  display: grid;
  grid-template-columns: var(--vu-navigation-width) minmax(0, 1fr) auto;
  align-items: center;
  border-bottom: 1px solid var(--vu-line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.wordmark {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  border-right: 1px solid var(--vu-line);
  color: var(--vu-ink);
  text-decoration: none;
}

.wordmark strong {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1;
}

.wordmark span {
  padding: 3px 0 2px 10px;
  border-left: 1px solid var(--vu-line-strong);
  color: var(--vu-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.top-context {
  min-width: 0;
  padding: 0 28px;
}

.top-context span,
.top-context strong {
  overflow: hidden;
  display: block;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-context span {
  margin-bottom: 3px;
  color: var(--vu-quiet);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.top-context strong {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 20px;
}

.save-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--vu-muted);
  font-size: 12px;
  white-space: nowrap;
}

.save-status-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--vu-blue);
  transition: background 180ms ease, transform 180ms ease;
}

.save-status.is-dirty .save-status-dot {
  background: var(--vu-notice);
}

.save-status.is-saving .save-status-dot {
  background: var(--vu-blue);
  animation: status-pulse 900ms ease-in-out infinite;
}

.save-button,
.primary-action,
.secondary-action {
  min-height: 44px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 650;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms var(--vu-ease);
}

.save-button {
  min-width: 104px;
  padding: 0 19px;
  border: 1.5px solid var(--vu-ink);
  background: var(--vu-paper);
  color: var(--vu-ink);
}

.save-button:hover:not(:disabled) {
  background: var(--vu-ink);
  color: var(--vu-paper);
  transform: translateY(-1px);
}

.app-shell {
  min-height: calc(100vh - var(--vu-topbar-height));
  min-height: calc(100dvh - var(--vu-topbar-height));
  display: grid;
  grid-template-columns: var(--vu-navigation-width) minmax(0, 1fr);
}

.navigation {
  position: sticky;
  top: var(--vu-topbar-height);
  height: calc(100vh - var(--vu-topbar-height));
  height: calc(100dvh - var(--vu-topbar-height));
  display: flex;
  flex-direction: column;
  padding: 30px 22px 22px;
  border-right: 1px solid var(--vu-line);
  background: var(--vu-surface);
}

.back-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 30px;
  color: var(--vu-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.back-link::before {
  content: "←";
  color: var(--vu-ink);
  font-size: 17px;
  line-height: 1;
}

.back-link:hover {
  color: var(--vu-ink);
}

.entry-summary {
  margin-bottom: 32px;
  padding: 0 0 26px;
  border-bottom: 1px solid var(--vu-line);
}

.entry-summary span,
.entry-summary strong,
.entry-summary small {
  display: block;
}

.entry-summary span,
.nav-label,
.nav-provider small {
  color: var(--vu-quiet);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.entry-summary strong {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.entry-summary small {
  margin-top: 7px;
  color: var(--vu-muted);
  font-size: 12px;
}

.nav-label {
  margin: 0 0 11px;
}

.section-nav {
  display: grid;
  gap: 0;
}

.section-nav a {
  position: relative;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  min-height: 43px;
  padding: 0 0 0 10px;
  border-left: 2px solid transparent;
  color: var(--vu-muted);
  font-size: 13px;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.section-nav a span {
  color: var(--vu-quiet);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.section-nav a:hover {
  color: var(--vu-ink);
}

.section-nav a.active {
  border-left-color: var(--vu-blue);
  background: var(--vu-paper);
  color: var(--vu-ink);
  font-weight: 650;
}

.section-nav a.active span {
  color: var(--vu-blue);
}

.nav-provider {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  gap: 11px;
  margin-top: auto;
  padding-top: 21px;
  border-top: 1px solid var(--vu-line);
}

.provider-indicator {
  width: 7px;
  height: 7px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--vu-blue);
}

.nav-provider small,
.nav-provider strong,
.nav-provider em {
  display: block;
}

.nav-provider strong {
  margin-top: 7px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.nav-provider em {
  margin-top: 4px;
  color: var(--vu-muted);
  font-size: 11px;
  font-style: normal;
}

.workspace {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 900px) 270px;
  justify-content: center;
  align-items: start;
  gap: clamp(28px, 3.2vw, 52px);
  padding: 34px clamp(24px, 4vw, 64px) 96px;
}

.editor {
  min-width: 0;
  padding: clamp(30px, 4vw, 54px);
  background: var(--vu-paper);
  animation: workspace-enter 420ms var(--vu-ease) both;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--vu-quiet);
  font-size: 11px;
  font-weight: 600;
}

.breadcrumbs span::after {
  margin-left: 8px;
  color: var(--vu-line-strong);
  content: "/";
}

.breadcrumbs strong {
  color: var(--vu-muted);
  font-weight: 650;
}

.entry-heading,
.editor-section {
  scroll-margin-top: calc(var(--vu-topbar-height) + 22px);
}

.entry-heading {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--vu-line);
}

.entry-heading-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 13px;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--vu-blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.entry-status {
  color: var(--vu-muted);
  font-size: 11px;
  font-weight: 600;
}

.title-input,
.dek-input,
.body-copy {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--vu-ink);
}

.title-input {
  width: 100%;
  min-height: 1.12em;
  overflow: hidden;
  resize: none;
  display: block;
  padding: 0;
  font-size: clamp(38px, 4.3vw, 52px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.title-input::placeholder,
.dek-input::placeholder,
.body-copy::placeholder {
  color: var(--vu-quiet);
}

.dek-input {
  width: min(100%, 700px);
  min-height: 56px;
  overflow: hidden;
  resize: none;
  display: block;
  margin-top: 17px;
  padding: 0;
  color: var(--vu-muted);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.48;
}

.editor-section {
  padding: 38px 0;
  border-bottom: 1px solid var(--vu-line);
}

.artwork-section {
  padding-top: 42px;
}

.field-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 23px;
}

.field-heading h2 {
  margin: 6px 0 0;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.field-heading p:not(.section-kicker) {
  max-width: 560px;
  margin: 8px 0 0;
  color: var(--vu-muted);
  font-size: 13px;
  line-height: 1.5;
}

.field-count {
  flex: none;
  color: var(--vu-muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.reference-field {
  position: relative;
}

.empty-references {
  min-height: 300px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  align-items: stretch;
  gap: 24px;
  padding: 18px;
  border-radius: 15px;
  background: var(--vu-surface);
}

.empty-copy {
  align-self: center;
  padding: 22px 12px 22px 18px;
}

.empty-label {
  display: block;
  margin-bottom: 13px;
  color: var(--vu-blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.empty-copy h3 {
  max-width: 390px;
  margin: 0;
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.empty-copy p {
  max-width: 390px;
  margin: 15px 0 23px;
  color: var(--vu-muted);
  font-size: 13px;
  line-height: 1.5;
}

.primary-action {
  padding: 0 20px;
  background: var(--vu-blue);
  color: var(--vu-paper);
}

.primary-action:hover:not(:disabled) {
  background: var(--vu-blue-dark);
  transform: translateY(-1px);
}

.secondary-action {
  padding: 0 18px;
  border: 1.5px solid var(--vu-ink);
  background: var(--vu-paper);
  color: var(--vu-ink);
}

.secondary-action:hover:not(:disabled) {
  background: var(--vu-ink);
  color: var(--vu-paper);
  transform: translateY(-1px);
}

.primary-action:disabled,
.secondary-action:disabled,
.save-button:disabled {
  opacity: 0.5;
  transform: none;
}

.catalog-glimpse {
  position: relative;
  min-width: 0;
  height: 264px;
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.8fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 9px;
  border-radius: 15px;
  background: #dedfdf;
}

.catalog-glimpse::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(4, 9, 11, 0.62));
  content: "";
}

.catalog-tile {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  display: block;
  border-radius: 10px;
  background: #cfd1d1;
}

.catalog-tile:first-child {
  grid-row: 1 / -1;
}

.catalog-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transition: transform 420ms var(--vu-ease);
}

.catalog-glimpse:hover .catalog-tile img {
  transform: scale(1.035);
}

.catalog-glimpse p {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 18px;
  left: 20px;
  margin: 0;
  color: var(--vu-paper);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}

.catalog-glimpse p span,
.catalog-glimpse p strong {
  display: block;
}

.catalog-glimpse p span {
  margin-bottom: 3px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-glimpse p strong {
  font-size: 13px;
  font-weight: 600;
}

.catalog-glimpse.is-loading .catalog-tile {
  background: linear-gradient(100deg, #d5d6d5 20%, #e8e9e8 36%, #d5d6d5 52%);
  background-size: 220% 100%;
  animation: glimpse-loading 1.35s linear infinite;
}

.reference-actions {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--vu-line);
}

.reference-actions.visible {
  display: flex;
}

.reference-actions > div:first-child {
  display: grid;
  gap: 4px;
}

.sequence-note {
  color: var(--vu-quiet);
  font-size: 11px;
}

.reference-action-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 44px 28px;
}

.artwork-reference {
  min-width: 0;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--vu-line);
}

.artwork-media {
  position: relative;
  min-height: 170px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: var(--vu-surface);
}

.artwork-media img {
  width: 100%;
  height: auto;
  max-height: 420px;
  display: block;
  object-fit: contain;
  transition: transform 360ms var(--vu-ease);
}

.artwork-reference:hover .artwork-media img {
  transform: scale(1.015);
}

.image-placeholder {
  min-height: 240px;
  display: grid;
  place-items: center;
  color: var(--vu-quiet);
  font-size: 13px;
}

.artwork-order {
  position: absolute;
  top: 12px;
  left: 12px;
  min-width: 31px;
  min-height: 27px;
  display: grid;
  place-items: center;
  padding: 0 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--vu-ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
}

.artwork-copy {
  padding-top: 17px;
}

.artwork-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
}

.artwork-title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.availability-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--vu-muted);
  font-size: 10px;
  white-space: nowrap;
}

.availability-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--vu-blue);
}

.availability-dot.unavailable {
  background: var(--vu-danger);
}

.artwork-byline {
  margin: 8px 0 0;
  color: var(--vu-muted);
  font-size: 13px;
  font-weight: 500;
}

.artwork-format {
  min-height: 42px;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: baseline;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 12px 9px;
  border-left: 3px solid var(--vu-blue);
  border-radius: 0 5px 5px 0;
  background: var(--vu-blue-soft);
}

.artwork-format span {
  color: var(--vu-blue);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.artwork-format strong {
  color: var(--vu-ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.artwork-format small {
  justify-self: end;
  color: var(--vu-muted);
  font-size: 10px;
  text-align: right;
}

.artwork-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 18px;
  margin: 17px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--vu-line);
}

.artwork-facts div {
  min-width: 0;
}

.artwork-facts dt {
  margin-bottom: 4px;
  color: var(--vu-quiet);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.artwork-facts dd {
  overflow-wrap: anywhere;
  margin: 0;
  color: var(--vu-muted);
  font-size: 11px;
  line-height: 1.42;
}

.artwork-details {
  margin-top: 15px;
  border-top: 1px solid var(--vu-line);
}

.artwork-details summary {
  position: relative;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--vu-muted);
  font-size: 11px;
  font-weight: 600;
  list-style: none;
}

.artwork-details summary::-webkit-details-marker {
  display: none;
}

.artwork-details summary::after {
  content: "+";
  color: var(--vu-ink);
  font-size: 16px;
  font-weight: 400;
}

.artwork-details[open] summary::after {
  content: "−";
}

.artwork-details .artwork-facts {
  margin: 0 0 15px;
  padding-top: 2px;
  border-top: 0;
}

.credit-line {
  margin: 0 0 15px;
  color: var(--vu-quiet);
  font-size: 10px;
  line-height: 1.45;
}

.protected-copy,
.preview-term-group {
  margin: 0 0 15px;
}

.protected-copy > strong,
.preview-term-group > strong {
  display: block;
  margin-bottom: 7px;
  color: var(--vu-quiet);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.protected-copy p {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--vu-muted);
  font-size: 11px;
  line-height: 1.5;
}

.preview-redaction {
  position: relative;
  z-index: 1;
  display: inline;
  cursor: help;
  outline: none;
  user-select: none;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.preview-redaction-visual {
  display: inline;
}

.preview-redaction-mask {
  display: inline;
  color: var(--vu-blue);
  filter: blur(1.9px);
  letter-spacing: 0.015em;
  opacity: 0.46;
  overflow-wrap: normal;
  word-break: normal;
  white-space: normal;
  text-shadow: none;
  user-select: none;
  transform: translateZ(0);
  transition: filter 160ms ease, opacity 160ms ease;
}

.preview-redaction:hover,
.preview-redaction:focus-visible {
  z-index: 80;
}

.preview-redaction:hover .preview-redaction-mask,
.preview-redaction:focus-visible .preview-redaction-mask {
  filter: blur(1.9px);
  opacity: 0.62;
}

.preview-redaction:focus-visible {
  border-radius: 2px;
  outline: 2px solid var(--vu-focus);
  outline-offset: 3px;
}

.preview-redaction::after {
  position: absolute;
  z-index: 90;
  bottom: calc(100% + 9px);
  left: 50%;
  width: max-content;
  max-width: min(240px, calc(100vw - 32px));
  padding: 8px 10px;
  border-radius: 4px;
  background: var(--vu-ink);
  box-shadow: 0 8px 24px rgba(9, 17, 22, 0.18);
  color: var(--vu-paper);
  content: attr(data-preview-tooltip);
  font-family: var(--vu-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  text-transform: none;
  transform: translate(-50%, 4px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
  visibility: hidden;
  white-space: normal;
}

.preview-redaction:hover::after,
.preview-redaction:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
}

.developer-details pre .preview-redaction::after {
  top: calc(100% + 9px);
  bottom: auto;
}

.preview-term-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.preview-term-list span {
  padding: 5px 8px;
  border: 1px solid var(--vu-line);
  border-radius: 4px;
  background: var(--vu-surface);
  color: var(--vu-muted);
  font-size: 10px;
  font-weight: 600;
}

.preview-term-list .term-overflow {
  border-color: transparent;
  background: var(--vu-blue-soft);
  color: var(--vu-blue);
  font-weight: 700;
}

.content-warning {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-left: 3px solid var(--vu-notice);
  background: #f7f0e4;
  color: #68480f;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.45;
}

.artwork-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
}

.artwork-controls button {
  min-height: 34px;
  padding: 0;
  background: transparent;
  color: var(--vu-blue);
  font-size: 11px;
  font-weight: 650;
}

.artwork-controls button:hover {
  color: var(--vu-blue-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.artwork-controls button.remove {
  color: var(--vu-muted);
}

.artwork-controls button.remove:hover {
  color: var(--vu-danger);
}

.resolve-state {
  display: none;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: var(--vu-muted);
  font-size: 12px;
}

.resolve-state.visible {
  display: flex;
}

.resolve-state.error {
  color: var(--vu-danger);
}

.spinner {
  width: 14px;
  height: 14px;
  flex: none;
  border: 2px solid var(--vu-line);
  border-top-color: var(--vu-blue);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.body-copy {
  width: 100%;
  min-height: 190px;
  resize: vertical;
  display: block;
  padding: 19px 0;
  border-top: 1px solid var(--vu-line-strong);
  border-bottom: 1px solid var(--vu-line);
  color: #353939;
  font-size: 17px;
  line-height: 1.62;
}

.integration-section {
  border-bottom: 0;
  padding-bottom: 0;
}

.developer-details {
  color: var(--vu-muted);
  font-size: 12px;
}

.developer-details summary {
  position: relative;
  min-height: 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  list-style: none;
}

.developer-details summary::-webkit-details-marker {
  display: none;
}

.developer-details summary::after {
  content: "+";
  color: var(--vu-ink);
  font-size: 19px;
}

.developer-details[open] summary::after {
  content: "−";
}

.developer-details summary span,
.developer-details summary small {
  display: block;
}

.developer-details summary span {
  color: var(--vu-ink);
  font-size: 13px;
  font-weight: 650;
}

.developer-details summary small {
  margin-top: 3px;
  color: var(--vu-quiet);
  font-size: 10px;
  font-weight: 400;
}

.developer-details > p {
  max-width: 630px;
  margin: 12px 0 16px;
  line-height: 1.5;
}

.developer-details pre {
  max-height: 360px;
  overflow: auto;
  margin: 0;
  padding: 18px;
  border-radius: 5px;
  background: #131718;
  color: #e9eeee;
  font: 11px/1.6 var(--vu-mono);
  white-space: pre-wrap;
  word-break: break-word;
}

.inspector {
  align-self: start;
  position: sticky;
  top: calc(var(--vu-topbar-height) + 34px);
  padding-top: 23px;
  border-top: 2px solid var(--vu-ink);
  animation: workspace-enter 420ms 80ms var(--vu-ease) both;
}

.inspector h2 {
  margin: 6px 0 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.inspector-intro {
  margin: 9px 0 22px;
  color: var(--vu-muted);
  font-size: 11px;
  line-height: 1.5;
}

.check-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.check-item {
  display: grid;
  grid-template-columns: 13px minmax(0, 1fr) auto;
  align-items: start;
  gap: 9px;
  padding: 13px 0;
  border-bottom: 1px solid var(--vu-line);
}

.check-marker {
  width: 7px;
  height: 7px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--vu-line-strong);
  transition: background 180ms ease, transform 180ms ease;
}

.check-marker.complete {
  background: var(--vu-blue);
  transform: scale(1.08);
}

.check-marker.error {
  background: var(--vu-danger);
}

.check-marker.notice {
  background: var(--vu-notice);
}

.check-item dt {
  margin: 0;
  color: #4c5050;
  font-size: 11px;
  line-height: 1.4;
}

.check-item dd {
  margin: 0;
  color: var(--vu-muted);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  text-align: right;
}

.selection-note {
  margin-top: 24px;
  padding: 17px 0 0;
  border-top: 1px solid var(--vu-line);
}

.selection-note > span {
  color: var(--vu-blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.selection-note p {
  margin: 8px 0 0;
  color: var(--vu-muted);
  font-size: 10px;
  line-height: 1.55;
}

.cms-toast {
  position: fixed;
  z-index: 50;
  right: 22px;
  bottom: 22px;
  max-width: min(360px, calc(100vw - 32px));
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 12px 17px;
  border-radius: 5px;
  background: var(--vu-ink);
  color: var(--vu-paper);
  font-size: 12px;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 220ms var(--vu-ease);
}

.cms-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes workspace-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glimpse-loading {
  to {
    background-position-x: -220%;
  }
}

@keyframes status-pulse {
  50% {
    opacity: 0.45;
    transform: scale(0.82);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 1600px) {
  .workspace {
    grid-template-columns: minmax(0, 960px) 290px;
  }
}

@media (max-width: 1260px) {
  :root {
    --vu-navigation-width: 208px;
  }

  .workspace {
    grid-template-columns: minmax(0, 820px) 240px;
    gap: 26px;
    padding-right: 28px;
    padding-left: 28px;
  }

  .editor {
    padding: 38px;
  }
}

@media (max-width: 1080px) {
  .workspace {
    max-width: 900px;
    grid-template-columns: minmax(0, 1fr);
    margin: 0 auto;
  }

  .inspector {
    position: static;
    display: grid;
    grid-template-columns: minmax(180px, 0.6fr) minmax(320px, 1.4fr);
    gap: 34px;
  }

  .inspector-intro {
    margin-bottom: 0;
  }

  .selection-note {
    grid-column: 1 / -1;
    margin-top: 0;
  }
}

@media (max-width: 900px) {
  :root {
    --vu-topbar-height: 66px;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .wordmark {
    border-right: 0;
  }

  .top-context,
  .navigation {
    display: none;
  }

  .app-shell {
    display: block;
  }

  .workspace {
    padding-top: 22px;
  }
}

@media (max-width: 680px) {
  .top-actions {
    gap: 10px;
    padding-right: 12px;
  }

  .save-status-copy {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .save-button {
    min-width: 92px;
    min-height: 40px;
    padding: 0 13px;
  }

  .workspace {
    display: block;
    max-width: none;
    padding: 16px 12px 54px;
  }

  .editor {
    padding: 26px 18px 34px;
  }

  .breadcrumbs {
    margin-bottom: 20px;
  }

  .entry-heading {
    padding-bottom: 29px;
  }

  .title-input {
    font-size: clamp(34px, 10vw, 42px);
  }

  .dek-input {
    min-height: 70px;
    font-size: 15px;
  }

  .editor-section,
  .artwork-section {
    padding: 32px 0;
  }

  .field-heading {
    align-items: flex-start;
  }

  .field-count {
    padding-top: 22px;
  }

  .empty-references {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .empty-copy {
    padding: 18px 10px 14px;
  }

  .empty-copy h3 {
    font-size: 29px;
  }

  .empty-copy .primary-action {
    width: 100%;
  }

  .catalog-glimpse {
    height: 220px;
    min-height: 0;
  }

  .reference-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .reference-action-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reference-action-buttons button {
    width: 100%;
  }

  .reference-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .artwork-media img {
    max-height: none;
  }

  .inspector {
    display: block;
    margin: 38px 6px 0;
  }

  .check-list {
    margin-top: 20px;
  }

  .selection-note {
    margin-top: 20px;
  }

  .cms-toast {
    right: 16px;
    bottom: 16px;
    left: 16px;
    max-width: none;
  }
}

@media (max-width: 430px) {
  .wordmark {
    gap: 8px;
    padding: 0 14px;
  }

  .wordmark strong {
    font-size: 21px;
  }

  .field-heading {
    display: block;
  }

  .field-count {
    display: block;
    margin-top: 10px;
    padding-top: 0;
  }

  .reference-action-buttons {
    grid-template-columns: 1fr;
  }

  .artwork-title-row {
    display: block;
  }

  .availability-status {
    margin-top: 8px;
  }

  .artwork-format {
    grid-template-columns: auto 1fr;
  }

  .artwork-format small {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
