:root {
  color-scheme: dark;
  --ink: #f7f7f7;
  --muted: #a9a9a9;
  --paper: #000000;
  --panel: #0d0d0d;
  --line: #2a2a2a;
  --accent: #f9b900;
  --accent-dark: #f9b900;
  --forest: #05a89d;
  --gold: #f9b900;
  --shadow: 0 20px 60px rgba(0, 0, 0, .42);
  font-family: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

.reviewer-gate {
  align-items: center;
  background: rgba(0, 0, 0, .92);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 20;
}

.reviewer-gate.is-hidden {
  display: none;
}

.reviewer-gate form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  max-width: 420px;
  padding: 28px;
  width: 100%;
}

.reviewer-gate img {
  display: block;
  max-height: 34px;
  max-width: 240px;
}

.reviewer-gate h2 {
  font-size: 34px;
  line-height: 1;
  margin: 34px 0 20px;
}

.reviewer-gate label {
  color: var(--muted);
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
}

.reviewer-gate input {
  background: #000;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #fff;
  font: inherit;
  min-height: 46px;
  padding: 0 12px;
}

.reviewer-gate .button {
  border: 0;
  cursor: pointer;
  margin-top: 14px;
  width: 100%;
}

a {
  color: inherit;
}

.hero {
  min-height: 62vh;
  background-position: center;
  background-size: cover;
  color: #fff;
  display: grid;
  grid-template-rows: auto 1fr;
}

.topbar {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  display: flex;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
}

.brand,
.client-brand {
  align-items: center;
  display: inline-flex;
}

.studio-brand {
  max-width: min(360px, 48vw);
}

.client-brand {
  justify-content: end;
  max-width: min(280px, 38vw);
}

.brand img,
.client-brand img {
  display: block;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.studio-brand img {
  max-height: 34px;
}

.client-brand img {
  max-height: 42px;
}

.topbar span {
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}

.hero-content {
  align-self: center;
  max-width: 840px;
  padding: 44px clamp(20px, 5vw, 72px) 58px;
}

.kicker,
.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 18px;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(38px, 6vw, 76px);
  letter-spacing: 0;
  line-height: .96;
  margin-bottom: 22px;
}

.hero-content p:not(.kicker) {
  color: rgba(255, 255, 255, .8);
  font-size: 18px;
  line-height: 1.45;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button,
.icon-button {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  text-decoration: none;
}

.button {
  background: #fff;
  color: #000;
}

.button.secondary {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .36);
  color: #fff;
}

.icon-button {
  background: #fff;
  color: #000;
  min-width: 46px;
}

.overview,
.status-grid,
.review-grid,
.media-room,
.stills-section,
.details {
  margin: 0 auto;
  max-width: 1180px;
  padding-left: 20px;
  padding-right: 20px;
}

.section-heading {
  margin-bottom: 18px;
  max-width: 720px;
}

.section-heading h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  margin-bottom: 0;
}

.media-room {
  padding-top: 44px;
  scroll-margin-top: 24px;
}

.media-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 300px;
}

.version-tools {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px;
}

.version-switcher {
  display: flex;
  gap: 6px;
}

.version-switcher button,
.compare-toggle {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  min-height: 34px;
  padding: 0 12px;
}

.version-switcher button.is-selected,
.compare-toggle.is-selected {
  background: #fff;
  border-color: #fff;
  color: #000;
}

.featured-media,
.featured-still,
.asset-rail,
.still-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.featured-media {
  overflow: hidden;
}

.media-frame,
.media-placeholder {
  aspect-ratio: 16 / 9;
  background: #111;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.video-review-shell {
  background: #111;
}

.comment-marker-track {
  background: #050505;
  border-top: 1px solid var(--line);
  height: 28px;
  position: relative;
}

.comment-marker-track:empty::before {
  background: rgba(255, 255, 255, .16);
  content: "";
  height: 1px;
  left: 12px;
  position: absolute;
  right: 12px;
  top: 50%;
}

.comment-marker {
  background: var(--gold);
  border: 0;
  border-radius: 999px;
  color: #000;
  cursor: pointer;
  height: 14px;
  min-width: 14px;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.comment-marker span {
  background: #000;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  left: 50%;
  opacity: 0;
  padding: 4px 7px;
  pointer-events: none;
  position: absolute;
  top: -30px;
  transform: translateX(-50%);
  transition: opacity .16s ease;
  white-space: nowrap;
}

.comment-marker em {
  background: #000;
  border: 1px solid var(--line);
  border-radius: 6px;
  bottom: 24px;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  left: 50%;
  line-height: 1.35;
  max-width: min(280px, 80vw);
  opacity: 0;
  padding: 10px 12px;
  pointer-events: none;
  position: absolute;
  text-align: left;
  transform: translateX(-50%);
  transition: opacity .16s ease;
  width: max-content;
  z-index: 3;
}

.comment-marker:hover span,
.comment-marker:focus-visible span {
  opacity: 1;
}

.comment-marker:hover em,
.comment-marker:focus-visible em {
  opacity: 1;
}

.media-placeholder {
  background-position: center;
  background-size: cover;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: clamp(18px, 4vw, 34px);
}

.media-placeholder span,
.media-copy span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.media-placeholder strong {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  margin-top: 8px;
}

.media-placeholder p {
  color: rgba(255, 255, 255, .78);
  max-width: 520px;
}

.media-copy {
  padding: 18px 20px;
}

.media-copy h3 {
  font-size: 24px;
  line-height: 1.05;
  margin: 0;
}

.media-copy h3 span {
  color: var(--gold);
  font-size: 14px;
  margin-left: 8px;
}

.compare-view {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, 1fr);
}

.motion-compare-view {
  border-top: 0;
  min-height: 0;
}

.compare-view > div {
  background: #000;
}

.compare-view span {
  color: var(--gold);
  display: block;
  font-size: 12px;
  font-weight: 800;
  padding: 10px 12px;
}

.compare-view video,
.compare-view img,
.compare-placeholder {
  aspect-ratio: 16 / 9;
  background: #111;
  display: block;
  object-fit: cover;
  width: 100%;
}

.motion-compare-view > div {
  display: grid;
  grid-template-rows: auto minmax(0, auto);
  min-width: 0;
}

.motion-compare-view video,
.motion-compare-view img,
.motion-compare-view .compare-placeholder {
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.motion-compare-view .compare-placeholder {
  background-size: cover;
  justify-content: end;
}

.still-compare-view img {
  height: min(46vh, 520px);
  object-fit: contain;
}

.still-copy h3 span {
  color: var(--gold);
  font-size: 14px;
  margin-left: 8px;
}

.compare-placeholder {
  background-position: center;
  background-size: cover;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 18px;
}

.compare-placeholder strong {
  font-size: 18px;
  line-height: 1.1;
}

.compare-placeholder p {
  color: var(--muted);
  margin: 6px 0 0;
}

.media-copy p {
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 8px;
}

.comment-draft {
  padding: 16px 0 0;
}

.comment-draft label {
  color: var(--ink);
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 10px;
}

.comment-draft textarea {
  background: #000;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #fff;
  font: inherit;
  min-height: 104px;
  padding: 14px;
  resize: vertical;
  width: 100%;
}

.comment-draft p {
  color: var(--muted);
  font-size: 13px;
  margin: 10px 0 0;
}

.submit-comment {
  border: 0;
  cursor: pointer;
}

.review-tools {
  border-top: 1px solid var(--line);
  padding: 18px 20px 20px;
}

.approval-state {
  border: 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0 0 16px;
}

.approval-state legend {
  color: var(--muted);
  flex: 0 0 100%;
  font-size: 13px;
  font-weight: 800;
  padding: 0 0 2px;
}

.approval-state label {
  cursor: pointer;
  display: inline-flex;
}

.approval-state input {
  position: absolute;
  transform: scale(0);
}

.approval-state span {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  min-height: 34px;
  padding: 8px 12px;
}

.approval-state input:checked + span {
  background: #fff;
  border-color: #fff;
  color: #000;
}

.approval-state input[value="Approved"]:checked + span {
  background: #19b86a;
  border-color: #19b86a;
  color: #001b0d;
}

.approval-summary {
  background: #000;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-top: 12px;
  padding: 12px;
}

.approval-summary.is-empty {
  color: var(--muted);
  font-size: 13px;
}

.approval-summary strong {
  color: var(--gold);
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.approval-summary span {
  color: var(--muted);
  display: block;
  font-size: 12px;
}

.approval-summary p {
  color: #fff;
  font-size: 14px;
  line-height: 1.45;
  margin: 8px 0 0;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.add-timecode {
  border: 1px solid rgba(255, 255, 255, .36);
  cursor: pointer;
}

.comment-history {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 16px;
}

.comment-history > strong {
  display: block;
  font-size: 13px;
  margin-bottom: 10px;
}

.comment-history article {
  background: #000;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-top: 8px;
  padding: 12px;
}

.comment-history time {
  color: var(--muted);
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
}

.comment-decision {
  background: var(--gold);
  border-radius: 999px;
  color: #000;
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 8px;
  min-height: 22px;
  padding: 5px 8px;
}

.comment-decision.is-approved {
  background: #19b86a;
  color: #001b0d;
}

.comment-history p {
  color: #fff;
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
  white-space: pre-wrap;
}

.timecode {
  background: transparent;
  border: 0;
  color: var(--gold);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.comment-history.is-empty p {
  color: var(--muted);
}

.comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.comment-actions button,
.edit-comment-form button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  min-height: 30px;
  padding: 0 10px;
}

.comment-actions button:hover,
.edit-comment-form button:hover {
  border-color: #fff;
  color: #fff;
}

.edit-comment-form {
  display: grid;
  gap: 10px;
}

.edit-comment-form label {
  color: var(--muted);
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
}

.edit-comment-form textarea {
  background: #050505;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #fff;
  font: inherit;
  min-height: 88px;
  padding: 12px;
  resize: vertical;
  width: 100%;
}

.asset-rail {
  display: flex;
  flex-direction: column;
  align-content: start;
  gap: 10px;
  padding: 10px;
}

.asset-tab {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: 96px 1fr;
  min-height: 76px;
  padding: 8px;
  text-align: left;
}

.asset-tab img {
  aspect-ratio: 16 / 9;
  align-self: center;
  border-radius: 4px;
  display: block;
  height: auto;
  object-fit: cover;
  width: 96px;
}

.asset-tab strong {
  align-self: center;
  display: block;
  line-height: 1.15;
}

.asset-tab.is-selected {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .44);
  color: #fff;
}

.stills-section {
  padding-bottom: 64px;
  padding-top: 54px;
  scroll-margin-top: 24px;
}

.stills-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 16px;
}

.featured-still {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  overflow: hidden;
}

.zoomable-still {
  background: #111;
  border: 0;
  cursor: zoom-in;
  display: block;
  height: min(72vh, 820px);
  overflow: auto;
  padding: 0;
  touch-action: none;
  width: 100%;
}

.still-image-layer {
  display: block;
  height: 100%;
  position: relative;
  transition: width .18s ease;
  width: 100%;
}

.zoomable-still img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.zoomable-still.is-zoomed {
  cursor: grab;
}

.zoomable-still.is-zoomed img {
  height: auto;
  object-fit: contain;
  width: 100%;
}

.zoomable-still.is-zoomed .still-image-layer {
  height: auto;
  max-width: none;
  width: 175%;
}

.zoomable-still.is-panning {
  cursor: grabbing;
}

.zoomable-still.is-placing {
  cursor: crosshair;
}

.placement-hint {
  background: rgba(0, 0, 0, .82);
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  display: none;
  font-size: 13px;
  font-weight: 800;
  left: 50%;
  padding: 8px 12px;
  pointer-events: none;
  position: absolute;
  top: 16px;
  transform: translateX(-50%);
  z-index: 6;
}

.zoomable-still.is-placing .placement-hint {
  display: block;
}

.still-marker-layer {
  inset: 0;
  position: absolute;
}

.image-comment-marker,
.zoomable-still.has-pending-marker::after {
  background: var(--gold);
  border: 2px solid #000;
  border-radius: 999px;
  box-shadow: 0 0 0 2px var(--gold);
  color: #000;
  cursor: pointer;
  height: 18px;
  padding: 0;
  position: absolute;
  transform: translate(-50%, -50%);
  width: 18px;
  z-index: 4;
}

.zoomable-still.has-pending-marker::after {
  content: "";
  left: var(--pending-x);
  pointer-events: none;
  top: var(--pending-y);
}

.image-comment-marker span {
  display: none;
}

.image-comment-marker em {
  background: #000;
  border: 1px solid var(--line);
  border-radius: 6px;
  bottom: 26px;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  left: 50%;
  line-height: 1.35;
  max-width: min(280px, 80vw);
  opacity: 0;
  padding: 10px 12px;
  pointer-events: none;
  position: absolute;
  text-align: left;
  transform: translateX(-50%);
  transition: opacity .16s ease;
  width: max-content;
  z-index: 5;
}

.image-comment-marker:hover em,
.image-comment-marker:focus-visible em {
  opacity: 1;
}

.still-copy {
  border-left: 1px solid var(--line);
  display: block;
}

.still-copy h3 {
  border-bottom: 1px solid var(--line);
  font-size: 24px;
  line-height: 1.05;
  margin: 0;
  padding: 18px 20px;
}

.still-copy .version-tools {
  border-bottom: 1px solid var(--line);
  padding: 12px 20px;
}

.still-visualizer-compare {
  background: #000;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  height: min(72vh, 820px);
  min-height: min(72vh, 820px);
}

.still-visualizer-compare > div {
  background: #000;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  padding: 14px;
}

.still-visualizer-compare img {
  background: #111;
  display: block;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  width: 100%;
}

.area-comment-composer {
  background: #000;
  border: 1px solid var(--gold);
  border-radius: 6px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .52);
  color: #fff;
  padding: 12px;
  position: absolute;
  transform: translate(-12px, 14px);
  width: min(300px, calc(100% - 24px));
  z-index: 8;
}

.area-comment-composer.is-right-edge {
  transform: translate(calc(-100% + 12px), 14px);
}

.area-comment-composer.is-bottom-edge {
  transform: translate(-12px, calc(-100% - 14px));
}

.area-comment-composer.is-right-edge.is-bottom-edge {
  transform: translate(calc(-100% + 12px), calc(-100% - 14px));
}

.area-comment-composer label {
  color: var(--muted);
  display: grid;
  font-size: 12px;
  font-weight: 800;
  gap: 8px;
}

.area-comment-composer textarea {
  background: #050505;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #fff;
  font: inherit;
  min-height: 76px;
  padding: 10px;
  resize: vertical;
  width: 100%;
}

.area-comment-composer div {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.area-comment-composer button {
  background: #fff;
  border: 0;
  border-radius: 999px;
  color: #000;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  min-height: 30px;
  padding: 0 10px;
}

.area-comment-composer .cancel-area-comment {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
}

.still-card {
  overflow: hidden;
}

.still-preview {
  background: #111;
  border: 0;
  cursor: pointer;
  display: block;
  padding: 0;
  width: 100%;
}

.still-preview.is-selected {
  outline: 2px solid #fff;
  outline-offset: -2px;
}

.still-preview img {
  aspect-ratio: 4 / 3;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.still-card div {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 14px;
}

.compare-workspace {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #fff;
  max-height: calc(100vh - 32px);
  max-width: min(1400px, calc(100vw - 32px));
  padding: 0;
  width: 100%;
}

.compare-workspace::backdrop {
  background: rgba(8, 10, 10, .72);
}

.compare-workspace-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
}

.compare-workspace-header span {
  color: var(--gold);
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 4px;
}

.compare-workspace-header strong {
  display: block;
  font-size: 24px;
  line-height: 1.05;
}

.close-compare-workspace {
  background: #fff;
  border: 0;
  border-radius: 6px;
  color: #000;
  cursor: pointer;
  font-weight: 800;
  min-height: 38px;
  padding: 0 14px;
}

.still-compare-workspace-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.still-compare-workspace-grid > div {
  background: #000;
  min-width: 0;
  padding: 14px;
}

.compare-version-label {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  padding-bottom: 10px;
}

.still-compare-workspace-grid img {
  background: #111;
  display: block;
  height: min(74vh, 780px);
  object-fit: contain;
  width: 100%;
}

.confidentiality-note {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 1180px;
  padding: 22px 20px 34px;
}

.admin-app {
  min-height: 100vh;
}

.admin-login {
  align-items: center;
  display: flex;
  min-height: 100vh;
  justify-content: center;
  padding: 20px;
}

.admin-login form,
.admin-panel,
.admin-sidebar,
.admin-asset {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-login form {
  display: grid;
  gap: 16px;
  max-width: 420px;
  padding: 28px;
  width: 100%;
}

.admin-login img,
.admin-header img {
  display: block;
  max-height: 32px;
  max-width: 240px;
}

.admin-login h1,
.admin-header h1 {
  font-size: 42px;
  line-height: 1;
  margin-bottom: 0;
}

.admin-login label,
.version-upload label {
  color: var(--muted);
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
}

.admin-login input,
.version-upload input {
  background: #000;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #fff;
  font: inherit;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

.admin-error {
  color: #ff6d6d;
  font-weight: 800;
  margin: 0;
}

.admin-success {
  color: var(--gold);
  font-weight: 800;
}

.admin-shell {
  margin: 0 auto;
  max-width: 1240px;
  padding: 28px 20px 60px;
}

.admin-header {
  align-items: end;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.admin-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: 300px minmax(0, 1fr);
}

.admin-sidebar {
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 14px;
}

.admin-sidebar strong {
  font-size: 13px;
  margin-bottom: 4px;
}

.admin-sidebar button {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 12px;
  text-align: left;
}

.admin-sidebar button span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-top: 4px;
}

.admin-sidebar button.is-selected {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .42);
}

.admin-panel {
  padding: 20px;
}

.admin-panel-heading {
  border-bottom: 1px solid var(--line);
  margin: -20px -20px 18px;
  padding: 20px;
}

.admin-panel-heading h2 {
  font-size: 34px;
  line-height: 1;
  margin-bottom: 8px;
}

.admin-panel-heading p {
  color: var(--muted);
  margin-bottom: 0;
}

.admin-asset-list {
  display: grid;
  gap: 12px;
}

.admin-asset {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  padding: 16px;
}

.admin-asset span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.admin-asset h3 {
  font-size: 22px;
  line-height: 1.1;
  margin: 8px 0;
}

.admin-asset p,
.version-upload p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.version-upload {
  display: grid;
  gap: 10px;
}

.version-upload .button {
  border: 0;
  cursor: pointer;
}

.admin-versions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  grid-column: 1 / -1;
}

.admin-versions span {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  padding: 6px 9px;
}

@media (max-width: 780px) {
  .hero {
    min-height: 560px;
  }

  .topbar {
    align-items: start;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
  }

  .hero-content p:not(.kicker) {
    font-size: 18px;
  }

  .overview,
  .status-grid,
  .review-grid,
  .media-layout,
  .featured-still,
  .stills-grid,
  .details {
    grid-template-columns: 1fr;
  }

  .still-copy {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .still-visualizer-compare {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .still-visualizer-compare img {
    height: min(46vh, 460px);
  }

  .zoomable-still {
    height: min(64vh, 620px);
  }

  .asset-rail {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
  }

  .asset-tab {
    flex: 0 0 230px;
    grid-template-columns: 86px 1fr;
    scroll-snap-align: start;
  }

  .asset-tab img {
    width: 86px;
  }

  .review-tools {
    padding: 16px;
  }

  .version-tools,
  .version-switcher {
    align-items: stretch;
    flex-direction: column;
  }

  .compare-view {
    grid-template-columns: 1fr;
  }

  .compare-workspace-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .still-compare-workspace-grid {
    grid-template-columns: 1fr;
  }

  .still-compare-workspace-grid img {
    height: min(58vh, 560px);
  }

  .form-actions,
  .form-actions .button {
    width: 100%;
  }

  .stills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-header,
  .admin-layout,
  .admin-asset {
    grid-template-columns: 1fr;
  }

  .admin-header {
    align-items: flex-start;
    flex-direction: column;
  }
}
