@import url("./consumer-motion.css");
@import url("./consumer-spatial.css");
@import url("./consumer-flow.css");
@import url("./consumer-meaning.css");
@import url("./consumer-dark.css");
/* Consumer surface only. The internal console's assets and layout are untouched. */
:root {
  --paper: #fff;
  --ink: #111;
  --muted: #777;
  --line: #e6e6e6;
  --soft: #f7f7f7;
  --accent: #ff3845;
  --accent-wash: #fff4f4;
  font-family:
    "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  font-weight: 400;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover,
.text-button:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}
input,
select,
textarea {
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  min-width: 0;
  padding: 11px 12px;
  width: 100%;
}
input[type="range"] {
  padding: 0;
  accent-color: #111;
  height: 24px;
  border: 0;
  cursor: pointer;
}
input[type="checkbox"] {
  width: auto;
  accent-color: #111;
}
textarea {
  resize: vertical;
  line-height: 1.7;
}
label {
  display: grid;
  gap: 10px;
  font-size: 13px;
  color: #555;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
}
h1 {
  letter-spacing: -0.045em;
}
h2 {
  font-size: 24px;
  letter-spacing: -0.035em;
}
p {
  line-height: 1.7;
}
.small {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.mono,
time {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-variant-numeric: tabular-nums;
}
.eyebrow {
  font:
    10px/1.6 "SFMono-Regular",
    Consolas,
    monospace;
  letter-spacing: 0.24em;
  color: #777;
}
.topbar {
  height: 82px;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.wordmark {
  font-size: 23px;
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.topbar nav,
.inline,
.actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.topbar nav {
  font-size: 14px;
}
.topbar .project-name {
  max-width: 33vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
}
.topbar .back {
  font-size: 14px;
  padding-right: 28px;
  border-right: 1px solid var(--line);
}
.primary {
  padding: 14px 25px;
  background: #111;
  color: #fff;
  min-height: 48px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.primary:hover {
  background: #333;
  text-decoration: none;
}
.secondary {
  padding: 12px 20px;
  border: 1px solid var(--line);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.secondary:hover {
  border-color: #999;
  text-decoration: none;
}
.text-button {
  font-size: 13px;
  padding: 8px 0;
  text-underline-offset: 5px;
}
.icon-button {
  font-size: 12px;
  padding: 10px;
  min-height: 40px;
  min-width: 40px;
}
.error {
  color: #a31324;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.skip-link {
  position: fixed;
  left: 12px;
  top: -70px;
  z-index: 100;
  background: #111;
  color: #fff;
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
.boot {
  padding: 80px 6vw;
  color: #777;
}
.notice {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  padding: 14px 22px;
  background: #111;
  color: #fff;
  font-size: 13px;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  max-width: 90vw;
  box-shadow: 0 4px 25px #0001;
}
.notice.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.notice.is-error {
  background: #82212b;
}
.signin {
  max-width: 1150px;
  margin: 12vh auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  column-gap: 130px;
}
.signin .eyebrow {
  grid-column: 1/-1;
  margin-bottom: 40px;
}
.signin h1 {
  font-size: clamp(45px, 5vw, 76px);
  line-height: 1.3;
  font-weight: 300;
}
.signin-form {
  display: grid;
  gap: 25px;
  max-width: 370px;
  padding-top: 10px;
}
.signin-form h2 {
  margin-bottom: 10px;
}
.flash-main {
  min-height: calc(100dvh - 82px);
  display: flex;
  flex-direction: column;
  padding: 7vh 7vw 30px;
}
.flash-stage {
  flex: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 8vw;
  align-items: center;
  max-width: 1280px;
  width: 100%;
  margin: auto;
}
.flash-title {
  font-size: clamp(100px, 13vw, 200px);
  font-weight: 200;
  line-height: 0.95;
  letter-spacing: -0.075em;
  margin: 25px 0;
}
.flash-tagline {
  font-size: clamp(20px, 2.1vw, 30px);
  font-weight: 300;
  letter-spacing: -0.03em;
}
.upload-zone {
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 22px;
  border: 1px solid var(--line);
  position: relative;
  text-align: center;
  padding: 40px;
  transition: border-color 0.2s;
}
.upload-zone.dragover {
  border-color: var(--accent);
  background: var(--accent-wash);
}
.upload-zone .upload-icon {
  width: 42px;
  height: 42px;
  opacity: 0.9;
}
.upload-zone h2 {
  font-size: 21px;
}
.upload-zone .primary {
  min-width: 165px;
}
.upload-zone input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.flash-footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  padding-top: 70px;
  font-size: 12px;
  color: #888;
}
.flash-footer .steps {
  display: flex;
  gap: 25px;
}
.flash-result .flash-title {
  font-size: 90px;
  margin: 22px 0;
}
.flash-result video {
  width: 100%;
  max-height: 65vh;
  background: #f5f5f5;
  object-fit: contain;
}
.flash-result .result-copy {
  display: grid;
  gap: 26px;
}
.flash-result .actions {
  align-items: start;
  flex-direction: column;
  gap: 16px;
}
.file-preview {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  background: var(--soft);
}
.upload-info {
  display: grid;
  gap: 12px;
  width: 100%;
}
.upload-info strong {
  font-size: 14px;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.progress {
  height: 2px;
  background: var(--line);
  overflow: hidden;
  margin: 20px 0;
}
.progress span {
  display: block;
  height: 100%;
  background: #111;
  transition: width 0.3s;
}
.progress.indeterminate span {
  width: 28%;
  animation: travel 1.6s ease-in-out infinite;
}
@keyframes travel {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(450%);
  }
}
.status-copy {
  font-size: 13px;
  line-height: 1.8;
  color: #666;
}
.projects-main {
  max-width: 1460px;
  margin: auto;
  padding: 65px 5vw;
}
.page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 42px;
}
.page-heading h1 {
  font-size: 64px;
  font-weight: 300;
  margin-top: 12px;
}
.project-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.project-controls input {
  max-width: 330px;
  border: 0;
  padding-left: 0;
}
.segmented {
  display: flex;
  gap: 20px;
}
.segmented button {
  padding: 12px 0;
  font-size: 13px;
  border-bottom: 1px solid transparent;
}
.segmented button[aria-pressed="true"] {
  border-color: #111;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 28px;
}
.project-card {
  display: block;
  min-width: 0;
}
.project-thumb {
  height: 215px;
  position: relative;
  background: #f6f6f6;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s;
}
.project-card:hover img {
  transform: scale(1.025);
}
.project-thumb .duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #fff;
  padding: 4px 7px;
  font-size: 11px;
}
.project-card h3 {
  font-size: 15px;
  margin: 18px 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.project-card .details {
  font-size: 12px;
  color: #777;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.project-card .purpose {
  font-size: 12px;
  color: #777;
  margin: 10px 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.empty-state {
  padding: 70px 30px;
  border-top: 1px solid var(--line);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 18px;
  grid-column: 1/-1;
}
.empty-state h2 {
  font-size: 28px;
  font-weight: 300;
}
.new-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
}
.new-layout form {
  display: grid;
  gap: 25px;
  align-content: center;
}
.footage-row {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.footage-row .footage-name {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.workspace {
  height: calc(100dvh - 82px);
  display: flex;
  flex-direction: column;
  padding: 0 32px 18px;
  min-height: 610px;
}
.workspace-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 355px;
  min-height: 0;
  flex: 1;
  border-bottom: 1px solid var(--line);
}
.viewer {
  min-width: 0;
  padding: 22px 24px 0 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.video-stage {
  background: #f7f7f7;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.video-stage video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.media-empty {
  color: #888;
  display: grid;
  gap: 15px;
  text-align: center;
  padding: 30px;
}
.transport {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 63px;
  font-size: 11px;
  flex-shrink: 0;
}
.transport .seek {
  flex: 1;
}
.transport .volume {
  width: 85px;
}
.transport .play {
  font-size: 12px;
  min-width: 38px;
  padding: 10px 0;
}
.transport .clock {
  white-space: nowrap;
  font-size: 10px;
}
.transport .preview-mode {
  font-size: 11px;
  border: 0;
  width: 95px;
  padding: 4px;
}
.inspector {
  border-left: 1px solid var(--line);
  padding: 22px 0 20px 24px;
  overflow: auto;
  scrollbar-width: thin;
}
.inspector-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.inspector-title h2 {
  font-size: 21px;
}
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.tabs button {
  flex: 1;
  padding: 12px 2px;
  font-size: 12px;
  border-bottom: 2px solid transparent;
}
.tabs button[aria-selected="true"] {
  border-color: var(--accent);
}
.inspector form {
  display: grid;
  gap: 18px;
}
.form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.inspector label {
  font-size: 12px;
}
.inspector input,
.inspector select,
.inspector textarea {
  font-size: 12px;
}
.inspector .separator {
  height: 1px;
  background: var(--line);
  margin: 10px 0;
}
.inline-field {
  display: grid;
  grid-template-columns: 45px 95px 1fr;
  align-items: center;
  gap: 13px;
}
.inline-field input {
  font-family: "SFMono-Regular", Consolas, monospace;
}
.inspector .actions {
  gap: 10px;
  flex-wrap: wrap;
}
.inspector .primary {
  min-height: 39px;
  padding: 10px 15px;
  font-size: 12px;
}
.inspector .secondary {
  min-height: 39px;
  padding: 9px 13px;
  font-size: 12px;
}
.inspector .hint {
  font-size: 11px;
  color: #777;
  line-height: 1.7;
}
.inspector details {
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.inspector summary {
  font-size: 12px;
  cursor: pointer;
  list-style: none;
}
.inspector details[open] summary {
  margin-bottom: 15px;
}
.timeline-section {
  flex-shrink: 0;
  height: 318px;
  display: flex;
  flex-direction: column;
}
.timeline-toolbar {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.tool-tabs {
  display: flex;
  height: 100%;
  gap: 28px;
}
.tool-tabs button {
  font-size: 12px;
  border-bottom: 2px solid transparent;
  padding: 0 8px;
}
.tool-tabs button[aria-selected="true"] {
  border-color: var(--accent);
}
.timeline-zoom {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  color: #666;
}
.timeline-zoom input {
  width: 105px;
}
.timeline-outer {
  display: flex;
  min-height: 0;
  flex: 1;
}
.track-labels {
  width: 165px;
  flex-shrink: 0;
  padding-top: 34px;
}
.track-label {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}
.track-label.score {
  height: 65px;
}
.track-label .track-name {
  width: 47px;
  text-align: left;
  padding: 0;
}
.track-label button.ms {
  width: 24px;
  height: 25px;
  font-size: 10px;
  background: #f7f7f7;
}
.track-label button.ms[aria-pressed="true"] {
  background: #111;
  color: white;
}
.track-label .db {
  font-size: 9px;
  color: #777;
}
.timeline-scroll {
  flex: 1;
  overflow: auto;
  position: relative;
  scrollbar-width: thin;
}
.timeline-content {
  min-width: 100%;
  position: relative;
  padding-bottom: 14px;
}
.ruler {
  height: 34px;
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  cursor: crosshair;
}
.ruler button {
  position: absolute;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  top: 1px;
  padding: 3px 0;
}
.timeline-lane {
  height: 44px;
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.timeline-lane.score {
  height: 65px;
}
.shot-thumb {
  position: absolute;
  top: 4px;
  height: 35px;
  overflow: hidden;
  border-right: 2px solid #fff;
  min-width: 1px;
  padding: 0;
}
.shot-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cue-clip {
  position: absolute;
  height: 60px;
  top: 3px;
  border: 1px solid #ddd;
  background: #fafafa;
  text-align: left;
  padding: 0;
  min-width: 3px;
  overflow: hidden;
}
.cue-clip.selected {
  border-color: var(--accent);
  background: var(--accent-wash);
}
.cue-clip .clip-name {
  position: absolute;
  top: 5px;
  left: 9px;
  z-index: 1;
  font-size: 10px;
  white-space: nowrap;
}
.cue-clip canvas {
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 34px;
}
.track-wave {
  width: 100%;
  height: 100%;
  opacity: 0.6;
}
.playhead {
  position: absolute;
  top: 29px;
  bottom: 10px;
  width: 1px;
  background: #111;
  pointer-events: none;
  z-index: 4;
}
.playhead:before {
  content: "";
  position: absolute;
  top: -4px;
  left: -3px;
  background: #111;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.hit-marker {
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background: var(--accent);
  opacity: 0.5;
  pointer-events: none;
}
.timeline-footnote {
  font-size: 10px;
  color: #999;
  padding: 8px 0;
  display: flex;
  justify-content: space-between;
}
.candidate {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.candidate.active {
  border-left: 2px solid var(--accent);
  padding-left: 12px;
}
.candidate-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}
.candidate p {
  font-size: 11px;
  color: #777;
  margin: 9px 0;
}
.candidate audio {
  width: 100%;
  height: 31px;
  margin: 8px 0;
}
.candidate .actions {
  margin-top: 8px;
}
.compact-list {
  display: grid;
  gap: 0;
}
.compact-row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}
.compact-row .time-button {
  font: 11px monospace;
  white-space: nowrap;
}
.compact-row .description {
  font-size: 12px;
  line-height: 1.6;
  flex: 1;
  min-width: 0;
}
.shot-picture {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  background: #f7f7f7;
  margin-bottom: 18px;
}
.shot-description {
  font-size: 13px;
  line-height: 1.9;
  margin: 16px 0;
}
.track-settings {
  display: grid;
  gap: 20px;
}
.hit-row {
  display: grid;
  grid-template-columns: 88px 1fr 32px;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.hit-row input {
  padding: 9px;
  font-size: 11px;
}
.job-banner {
  font-size: 12px;
  padding: 10px 18px;
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.job-banner .progress {
  width: 110px;
  margin: 0;
}
.export-main {
  padding: 55px 5vw;
  max-width: 1400px;
  margin: auto;
}
.export-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 70px;
  align-items: center;
}
.export-layout video {
  width: 100%;
  max-height: 60vh;
  background: #f7f7f7;
}
.export-copy {
  display: grid;
  gap: 25px;
}
.export-copy h1 {
  font-size: 54px;
  font-weight: 300;
}
.download-list {
  display: grid;
  gap: 0;
}
.download-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 18px 0;
  font-size: 14px;
}
.material-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 35px;
}
.material-card {
  padding: 24px;
  border: 1px solid var(--line);
}
.material-card h2 {
  font-size: 23px;
  margin-bottom: 12px;
}
.material-card .meta {
  font-size: 12px;
  color: #777;
  display: flex;
  gap: 20px;
  margin: 18px 0;
}
.material-card p {
  font-size: 13px;
  color: #666;
}
.material-card audio {
  width: 100%;
  height: 36px;
}
.material-card details {
  font-size: 12px;
  margin: 15px 0;
}
.material-card summary {
  cursor: pointer;
}
.material-card pre {
  font-family: inherit;
  white-space: pre-wrap;
  line-height: 1.7;
  max-height: 170px;
  overflow: auto;
}
.breadcrumb {
  margin-bottom: 35px;
  font-size: 12px;
  color: #777;
}
dialog {
  border: 1px solid var(--line);
  padding: 30px;
  width: min(520px, calc(100vw - 35px));
  max-height: 85vh;
  color: #111;
  background: white;
}
dialog::backdrop {
  background: #0005;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}
.dialog-head h2 {
  font-size: 24px;
}
dialog form {
  display: grid;
  gap: 22px;
}
dialog p {
  font-size: 13px;
  color: #666;
}
dialog .actions {
  justify-content: end;
  gap: 14px;
}
.hidden {
  display: none !important;
}
.restricted {
  padding: 15vh 8vw;
  max-width: 950px;
}
.restricted h1 {
  font-size: 45px;
  margin-bottom: 25px;
}
.restricted p {
  margin-bottom: 25px;
}
.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
}
.busy-line {
  font-size: 12px;
  color: #777;
  margin-top: 18px;
}
.footer-note {
  margin-top: 55px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #888;
}
@media (min-width: 1700px) {
  .workspace-top {
    grid-template-columns: minmax(0, 1fr) 405px;
  }
  .workspace {
    padding: 0 40px 20px;
  }
  .timeline-section {
    height: 350px;
  }
  .track-labels {
    width: 185px;
  }
  .topbar {
    height: 88px;
  }
  .workspace {
    height: calc(100dvh - 88px);
  }
  .inspector {
    padding-left: 30px;
  }
  .flash-main {
    padding-top: 10vh;
  }
}
@media (max-width: 1050px) {
  .workspace-top {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .inspector {
    padding-left: 18px;
  }
  .workspace {
    padding-left: 20px;
    padding-right: 20px;
  }
  .viewer {
    padding-right: 18px;
  }
  .topbar {
    padding: 0 22px;
    gap: 15px;
  }
  .topbar nav {
    gap: 15px;
  }
  .topbar .back {
    padding-right: 15px;
  }
  .wordmark {
    font-size: 20px;
  }
  .inline-field {
    grid-template-columns: 32px 75px 1fr;
    gap: 8px;
  }
  .transport {
    gap: 9px;
  }
  .transport .volume {
    display: none;
  }
  .track-labels {
    width: 130px;
  }
  .track-label {
    gap: 5px;
  }
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flash-stage {
    gap: 45px;
  }
  .new-layout {
    gap: 35px;
  }
  .signin {
    column-gap: 50px;
  }
  .export-layout {
    gap: 40px;
  }
  .topbar .project-name {
    max-width: 28vw;
  }
}
@media (max-width: 720px) {
  .topbar {
    height: 67px;
    padding: 0 20px;
    gap: 12px;
  }
  .wordmark {
    font-size: 20px;
  }
  .topbar nav {
    gap: 14px;
    font-size: 12px;
  }
  .topbar .project-name {
    display: none;
  }
  .topbar .back {
    font-size: 12px;
  }
  .flash-main {
    min-height: calc(100dvh - 67px);
    padding: 45px 24px 24px;
  }
  .flash-stage {
    grid-template-columns: 1fr;
    gap: 40px;
    align-content: center;
  }
  .flash-title {
    font-size: 115px;
    margin: 20px 0;
  }
  .flash-tagline {
    font-size: 23px;
  }
  .upload-zone {
    min-height: 255px;
    padding: 28px;
  }
  .flash-footer {
    padding-top: 45px;
  }
  .flash-footer .steps {
    gap: 13px;
    font-size: 10px;
  }
  .flash-result .flash-title {
    font-size: 70px;
  }
  .flash-result .result-copy {
    gap: 20px;
  }
  .flash-result video {
    max-height: 37vh;
  }
  .projects-main {
    padding: 40px 22px;
  }
  .page-heading h1 {
    font-size: 46px;
  }
  .page-heading {
    align-items: center;
    gap: 12px;
    margin-bottom: 27px;
  }
  .page-heading .primary {
    padding: 12px 16px;
    font-size: 12px;
  }
  .project-controls {
    flex-wrap: wrap;
    gap: 10px;
  }
  .project-controls input {
    max-width: 100%;
  }
  .project-grid {
    gap: 27px 17px;
  }
  .project-thumb {
    height: 130px;
  }
  .project-card h3 {
    font-size: 13px;
  }
  .project-card .details {
    font-size: 10px;
    flex-wrap: wrap;
  }
  .project-card .purpose {
    display: none;
  }
  .new-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .signin {
    margin: 7vh 24px;
    padding: 0;
    display: block;
  }
  .signin h1 {
    font-size: 44px;
    margin: 30px 0 45px;
  }
  .signin-form {
    max-width: none;
  }
  .signin .eyebrow {
    font-size: 9px;
  }
  .workspace {
    height: auto;
    min-height: calc(100dvh - 67px);
    padding: 0 16px 20px;
  }
  .workspace-top {
    display: flex;
    flex-direction: column;
    flex: none;
    min-height: 0;
  }
  .viewer {
    padding: 16px 0 0;
    height: 290px;
    flex: none;
  }
  .transport {
    min-height: 52px;
    gap: 10px;
  }
  .transport .preview-mode {
    width: 72px;
    font-size: 10px;
  }
  .transport .clock {
    font-size: 9px;
  }
  .inspector {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 20px 0;
    max-height: 390px;
    order: 2;
  }
  .workspace-top {
    display: contents;
  }
  .viewer {
    order: 0;
  }
  .timeline-section {
    height: 308px;
    order: 1;
  }
  .inspector {
    order: 2;
  }
  .timeline-toolbar {
    gap: 8px;
  }
  .tool-tabs {
    gap: 8px;
  }
  .tool-tabs button {
    padding: 0 4px;
    font-size: 11px;
  }
  .timeline-zoom input {
    width: 52px;
  }
  .timeline-zoom {
    gap: 5px;
  }
  .track-labels {
    width: 103px;
  }
  .track-label .track-name {
    width: 34px;
    font-size: 10px;
  }
  .track-label .db {
    display: none;
  }
  .track-label {
    gap: 5px;
  }
  .track-label button.ms {
    width: 23px;
  }
  .timeline-footnote {
    font-size: 9px;
    gap: 10px;
  }
  .tabs {
    margin-bottom: 22px;
  }
  .inline-field {
    grid-template-columns: 40px 90px 1fr;
  }
  .export-main {
    padding: 36px 23px;
  }
  .export-layout {
    grid-template-columns: 1fr;
    gap: 33px;
  }
  .export-copy h1 {
    font-size: 45px;
  }
  .material-grid {
    grid-template-columns: 1fr;
  }
  .material-card {
    padding: 20px;
  }
  .footer-note {
    gap: 20px;
    line-height: 1.6;
  }
  .topbar .export-button {
    font-size: 12px;
  }
  .job-banner {
    font-size: 11px;
  }
  .status-copy {
    font-size: 12px;
  }
  .flash-footer .eyebrow {
    font-size: 8px;
  }
  .page-heading .actions {
    gap: 12px;
  }
  .timeline-toolbar .timeline-zoom > span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Fine transport controls follow the approved Conceptual Art reference. */
input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
  background: #d9d9d9;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -5px;
  border-radius: 50%;
  background: #111;
}
input[type="range"]::-moz-range-track {
  height: 2px;
  background: #d9d9d9;
}
input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: #111;
}
.ruler button {
  font-size: 10px;
}
.ruler-end {
  position: absolute;
  right: 0;
  top: 4px;
  font:
    9px "SFMono-Regular",
    Consolas,
    monospace;
  background: white;
  padding-left: 6px;
}
@media (max-width: 720px) {
  .inspector {
    max-height: none;
    overflow: visible;
  }
  .ruler button {
    font-size: 9px;
  }
  .flash-result .flash-title {
    font-size: 60px;
  }
}
.hit-markers {
  position: absolute;
  top: 27px;
  bottom: 10px;
  left: 0;
  right: 0;
  pointer-events: none;
}
.hit-markers button {
  position: absolute;
  width: 9px;
  height: 9px;
  transform: translateX(-4px);
  background: var(--accent);
  padding: 0;
  pointer-events: auto;
  border-radius: 1px;
}
.hit-markers button:after {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  top: 9px;
  height: 185px;
  left: 4px;
  background: var(--accent);
  opacity: 0.3;
  pointer-events: none;
}

/* Work areas are views over the same run, not approval gates. */
.workflow-shell {
  flex: none;
  order: -1;
  position: sticky;
  top: 0;
  z-index: 15;
  background: var(--paper);
  min-width: 0;
}
.workflow-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}
.workflow-nav a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 12px 13px;
  font-size: 14px;
  border-bottom: 2px solid transparent;
  color: #666;
  line-height: 1.5;
}
.workflow-nav a:hover {
  background: var(--soft);
}
.workflow-nav a[aria-current] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.workflow-nav small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}
.workflow-number {
  font-size: 11px;
  color: var(--muted);
  padding-top: 3px;
}
.workflow-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 16px;
  background: var(--soft);
}
.workflow-status strong {
  font-size: 14px;
  font-weight: 500;
}
.workflow-status p {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
  margin: 4px 0 0;
}
.workflow-action {
  flex: none;
}
.workflow-action .primary {
  min-height: 37px;
  font-size: 12px;
  padding: 9px 16px;
}
.workflow-status[data-state="failed"] {
  border-left: 2px solid var(--accent);
}
.workflow-context {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  font-size: 11px;
  color: #666;
}
.workflow-context a {
  flex: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.inspector [data-purpose] {
  margin-top: 24px;
}
.inspector [data-direction] {
  margin-top: 16px;
}
@media (max-width: 1050px) {
  .workflow-nav a {
    font-size: 12px;
    padding-inline: 7px;
    gap: 7px;
  }
  .topbar .original-console {
    display: none;
  }
  body[data-consumer-mode="flash"] .topbar .original-console {
    display: inline;
  }
}
@media (max-width: 720px) {
  .workflow-nav {
    display: flex;
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: thin;
  }
  .workflow-nav a {
    flex: 0 0 auto;
    min-width: 125px;
    padding: 10px;
  }
  .workflow-status {
    gap: 8px;
    padding: 10px;
    align-items: flex-start;
  }
  .workflow-status strong {
    font-size: 12px;
  }
  .workflow-status p {
    font-size: 10px;
  }
  .workflow-action {
    max-width: 125px;
  }
  .workflow-action .primary {
    font-size: 11px;
    padding: 8px;
    white-space: normal;
    text-align: center;
  }
  .workflow-context {
    font-size: 10px;
    padding: 7px 0;
  }
  .workflow-context span {
    display: none;
  }
  .workflow-context {
    justify-content: flex-end;
  }
  .workspace {
    min-width: 0;
  }
}

/* Shared identity and local version settings. */
.wordmark { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { width: 88px; height: 66px; object-fit: contain; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.settings-main { max-width: 900px; margin: 65px auto; padding: 0 28px; }
.settings-main h1 { font-size: clamp(32px, 5vw, 55px); font-weight: 300; margin: 14px 0; }
.settings-intro { color: var(--muted); margin-bottom: 35px; }
.version-card { border: 1px solid var(--line, #ddd); border-radius: 10px; padding: 30px; margin: 26px 0; }
.version-top { display: flex; gap: 20px; align-items: center; }
.version-top h2 { font-weight: 400; font-size: 23px; margin-top: 9px; }
.version-logo { width: 110px; height: 83px; object-fit: contain; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.version-details { margin: 30px 0; }
.version-details > div { display: flex; justify-content: space-between; gap: 24px; padding: 15px 0; border-bottom: 1px solid var(--line, #ddd); }
.version-details dt { color: #777; flex-shrink: 0; }
.version-details dd { overflow-wrap: anywhere; text-align: right; }
.update-note { padding: 16px; background: #f4f0e9; border-radius: 6px; line-height: 1.7; margin-bottom: 25px; font-size: 13px; }
.version-history { margin-top: 26px; font-size: 13px; line-height: 1.8; }
.version-history ul { padding-left: 20px; margin-top: 14px; }
.hit-markers button { width: 20px; height: 20px; transform: translateX(-10px); border: 5px solid transparent; background-clip: padding-box; touch-action: none; cursor: ew-resize; }
.hit-markers button:after { top: 10px; left: 4px; }
.hit-markers button:focus-visible { outline: 2px solid #171717; outline-offset: 2px; }
.hit-markers button.dragging { filter: drop-shadow(0 0 3px #d96d69); }
@media (max-width: 720px) {
 .brand-logo { width: 60px; height: 45px; }
 .wordmark { gap: 6px; }
 .settings-main { margin: 30px auto; padding: 0 18px; }
 .version-card { padding: 18px; }
 .version-top { align-items: flex-start; gap: 12px; }
 .version-logo { width: 75px; height: 57px; }
 .version-top h2 { font-size: 19px; }
}

.generation-art { position: relative; margin: 24px 0; width: min(100%, 360px); }
.generation-art video, .generation-art img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 12px; background: #f6f5f1; }
.generation-art figcaption { font-size: 12px; line-height: 1.7; color: #777; margin-top: 10px; }
.generation-art figcaption span { display: block; }
.generation-toggle { position: absolute; right: 10px; top: 10px; background: #fffd; color: #333; border-radius: 5px; font-size: 11px; padding: 5px 9px; }
.generation-art.compact { margin: 0; width: 150px; }
.generation-art.compact video, .generation-art.compact img { height: 80px; }
.generation-art.compact figcaption { font-size: 11px; text-align: center; margin-top: 4px; }
.generation-art.compact .generation-toggle { top: 4px; right: 4px; font-size: 10px; padding: 2px 5px; }
@media (prefers-reduced-motion: reduce) { .generation-art { animation: none; } }
/* The full logo animation is part of the login atmosphere, never a player card. */
body.consumer-signin[data-consumer-mode] { background: #07111e; color: #f4efe8; min-height: 100svh; isolation: isolate; }
body.consumer-signin[data-consumer-mode] .topbar { position: relative; z-index: 2; background: #07111e55; box-shadow: none; border-bottom-color: #ffffff18; color: #f4efe8; }
body.consumer-signin[data-consumer-mode] .brand-logo { mix-blend-mode: normal; }
.signin-atmosphere { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: #07111e; }
.signin-sculpture { position: absolute; left: -2vw; top: 210px; width: 68vw; height: calc(100svh - 220px); object-fit: contain; border: 0; border-radius: 0; box-shadow: none; }
.signin-atmosphere:after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #07111e05 20%, #07111e22 48%, #07111eed 74%, #07111e 100%); }
body.consumer-signin[data-consumer-mode] .signin { position: relative; z-index: 1; max-width: none; min-height: calc(100svh - 90px); margin: 0; padding: 55px 8vw 75px; display: grid; grid-template-columns: 1fr minmax(280px, 360px); column-gap: 12vw; align-items: center; }
body.consumer-signin[data-consumer-mode] .signin-intro { align-self: start; }
body.consumer-signin[data-consumer-mode] .signin-intro .eyebrow { color: #c3b5a6; letter-spacing: .25em; }
body.consumer-signin[data-consumer-mode] .signin h1 { font-size: clamp(24px, 2.4vw, 37px); font-weight: 300; color: #f4efe8; line-height: 1.65; margin-top: 20px; letter-spacing: .03em; }
body.consumer-signin[data-consumer-mode] .signin-form { grid-column: auto; grid-row: auto; background: transparent; border: 0; padding: 0; margin: 0; max-width: 360px; }
body.consumer-signin[data-consumer-mode] .signin-form h2 { font-size: 29px; font-weight: 300; color: #f4efe8; margin-bottom: 14px; }
body.consumer-signin[data-consumer-mode] label { color: #c3c6cb; font-size: 13px; }
body.consumer-signin[data-consumer-mode] input { color: #fff; background: #ffffff07; border: 1px solid #ffffff25; border-radius: 5px; padding: 13px 15px; transition: background .2s, border-color .2s; }
body.consumer-signin[data-consumer-mode] input:focus { outline: 2px solid #cbb798; outline-offset: 3px; background: #ffffff0c; }
body.consumer-signin[data-consumer-mode] input::placeholder { color: #9298a1; }
body.consumer-signin[data-consumer-mode] .muted { color: #a4a9b2; }
body.consumer-signin[data-consumer-mode] .primary { background: #eee4d4; color: #192331; border-color: transparent; }
body.consumer-signin[data-consumer-mode] .primary:hover { background: #fff5e5; }
body.consumer-signin[data-consumer-mode] .error { color: #ffb1a8; }
.login-motion-toggle { position: fixed; left: 8vw; bottom: 28px; z-index: 2; color: #b5b5b8; font-size: 11px; letter-spacing: .08em; background: transparent; padding: 8px 0; border-bottom: 1px solid #ffffff25; }
@media (max-width: 720px) {
 .signin-sculpture { left: -3vw; top: 145px; width: 106vw; height: 265px; }
 .signin-atmosphere:after { background: linear-gradient(180deg, #07111e00 10%, #07111e08 27%, #07111ecc 48%, #07111e 67%); }
 body.consumer-signin[data-consumer-mode] .signin { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 22px 26px 65px; min-height: calc(100svh - 75px); }
 body.consumer-signin[data-consumer-mode] .signin-intro { align-self: auto; min-height: 330px; pointer-events: none; }
 body.consumer-signin[data-consumer-mode] .signin-intro h1 { font-size: 21px; margin-top: 10px; }
 body.consumer-signin[data-consumer-mode] .signin-intro .eyebrow { font-size: 9px; }
 body.consumer-signin[data-consumer-mode] .signin-form { width: 100%; max-width: none; }
 body.consumer-signin[data-consumer-mode] .signin-form h2 { font-size: 25px; }
 .login-motion-toggle { position: absolute; top: 391px; bottom: auto; left: 26px; }
}

body.consumer-signin[data-consumer-mode] .signin-form input:not([type="hidden"]) { color: #fff; background: #ffffff07; border-color: #ffffff25; border-radius: 5px; }
body.consumer-signin[data-consumer-mode] .signin-form input:not([type="hidden"]):focus { background: #ffffff0c; border-color: #cbb798; }
/* Alpha is in the media; there is no rectangular matte or edge mask. */
.signin-sculpture { background: transparent; }
.signin-sculpture > :is(video, img:not(.signin-lettering)) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.signin-sculpture video { opacity: 0; }
.signin-sculpture[data-renderer="video"]:not(.show-poster) video { opacity: 1; }
.signin-sculpture:not(.show-poster) .signin-sculpture-poster { visibility: hidden; }
.signin-sculpture [hidden] { display: none; }
.signin-lettering { position: absolute; width: 43%; height: auto; left: 28.5%; bottom: 7%; opacity: 0; transform: translateY(42px); }
.signin-complete .signin-lettering { opacity: 1; transform: translateY(0); }
body.consumer-signin[data-consumer-mode] .signin-atmosphere { background: radial-gradient(ellipse at 29% 57%, #11273b88, transparent 54%), #07111e; }
[data-login-error]:empty { display: none; }
@media (prefers-reduced-motion: reduce) { .signin-lettering { transform: none; } }
