:root {
  --bg: #f7f7f8;
  --panel: #ffffff;
  --panel-2: #f7f7f8;
  --line: #d9d9dc;
  --text: #111111;
  --muted: #69696f;
  --accent: #ff4f00;
  --accent-2: #ff4f00;
  --shadow: none;
}

body {
  height: auto;
  min-height: 100vh;
  overflow: auto;
  background: var(--bg);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.topbar {
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.topbar .brand-dot { width: 8px; height: 8px; border-radius: 0; }
.topbar .brand { font-size: 20px; letter-spacing: -.02em; }
.topbar .tagline { font-size: 13px; color: var(--muted); }
#resBanner, #quotaBanner, .team-strip, .release-dialog, .release-footer { display: none !important; }

.stage {
  height: clamp(430px, 54vh, 620px);
  min-height: 430px;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding: 0 24px;
  background: var(--line);
}

.vpanel { border: 0; border-radius: 0; box-shadow: none; }
.vpanel-head { min-height: 48px; border-bottom: 1px solid var(--line); }
.vpanel-head .vp-title { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.vpanel-head .vp-title .ico, .overlay .idle-ico { display: none; }
.media-box { margin: 0; border-radius: 0; }
.start-btn { border-radius: 0; background: #111; border: 0; }

.outfit-section {
  margin: 16px 24px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
}

.outfit-head {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  min-height: 70px;
  border-bottom: 1px solid var(--line);
}

.outfit-step {
  align-self: stretch;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.outfit-copy { padding: 12px 16px; }
.outfit-copy h2 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.outfit-copy p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }

.outfit-upload {
  margin-right: 16px;
  padding: 10px 14px;
  border: 1px solid #111;
  color: #111;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.outfit-upload:hover { color: #fff; background: #111; }
.outfit-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }

.outfit-card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(140px, 22vh) auto;
  padding: 0;
  border: 0;
  border-right: 1px solid var(--line);
  background: #fff;
  color: #111;
  text-align: left;
  cursor: pointer;
}

.outfit-card:last-child { border-right: 0; }
.outfit-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  padding: 12px;
  background: #f7f7f8;
}

.outfit-card-copy { display: grid; grid-template-columns: 34px 1fr; border-top: 1px solid var(--line); }
.outfit-index {
  padding: 12px 8px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.outfit-name { padding: 10px 12px; font-size: 13px; font-weight: 700; }
.outfit-card:hover, .outfit-card.active { box-shadow: inset 0 -4px 0 var(--accent); }
.outfit-card.active .outfit-index { color: #fff; background: var(--accent); }

.cmdbar {
  margin: 0 24px 24px;
  padding: 12px;
  border-radius: 0;
  box-shadow: none;
}

.ref-add, .ref-thumb { border-radius: 0; }
.send-fab { width: auto; min-width: 112px; padding: 0 18px; border-radius: 0; }
.send-fab::before { content: "Try it on"; font-size: 13px; letter-spacing: .02em; }
.send-fab.busy::before { content: "Working"; }
.latency-row, .cmd-foot, .scene-row, .cards-pop, .pe-result { display: none !important; }

@media (max-width: 900px) {
  .stage { height: auto; min-height: 0; padding: 0 12px; }
  .media-box { aspect-ratio: 4 / 5; max-height: none; }
  .outfit-section { margin: 12px; }
  .outfit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .outfit-card { border-bottom: 1px solid var(--line); }
  .outfit-card:last-child { grid-column: 1 / -1; }
  .cmdbar { margin: 0 12px 12px; }
  .outfit-head { grid-template-columns: 44px 1fr; }
  .outfit-upload { grid-column: 1 / -1; margin: 0; border-width: 1px 0 0; text-align: center; }
}
