:root {
  --review-blue: #82a8ff;
  --review-green: #77dcc9;
  --review-amber: #efc66a;
  --review-red: #ff8795;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.workflow-nav button {
  position: relative;
  height: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border-radius: 6px;
  background: transparent;
  color: #9da2a8;
}

.workflow-nav button:hover,
.workflow-nav button.active {
  color: #fff;
  background: #3a3d41;
}

.workflow-nav button em {
  min-width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border-radius: 4px;
  background: #4b3a3f;
  color: #ffb2bc;
  font-size: 8px;
  font-style: normal;
}

.workflow-nav button[data-workspace-stage="delivery"] em {
  min-width: 34px;
  background: #3d4146;
  color: #a9afb6;
}

.workflow-nav button[data-workspace-stage="delivery"].ready em {
  background: #29433d;
  color: #9ee2d5;
}

.review-workspace,
.delivery-workspace {
  height: 100%;
  gap: 8px;
  padding: 62px 12px 12px;
}

.review-workspace {
  display: grid;
  grid-template-columns: 220px minmax(480px, 1fr) 340px;
}

.delivery-workspace {
  display: grid;
  grid-template-columns: minmax(520px, 1fr) 420px;
}

.review-workspace[hidden],
.delivery-workspace[hidden],
.editor[hidden] {
  display: none !important;
}

.version-panel,
.review-comments,
.delivery-panel,
.review-stage,
.delivery-preview {
  min-width: 0;
  min-height: 0;
}

.version-panel,
.review-comments,
.delivery-panel,
.delivery-preview,
.review-stage {
  display: flex;
  flex-direction: column;
}

.review-scope {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
}

.review-scope span,
.review-scope strong,
.review-scope small {
  display: block;
}

.review-scope span {
  color: #858b92;
  font-size: 9px;
}

.review-scope strong {
  margin-top: 5px;
  font-size: 12px;
}

.review-scope small {
  margin-top: 4px;
  color: #9ba1a8;
  font-size: 9px;
}

.version-list {
  min-height: 0;
  overflow: auto;
  padding: 6px;
}

.version-item {
  width: 100%;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 8px;
  margin-bottom: 4px;
  padding: 6px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  text-align: left;
}

.version-item:hover {
  background: #292c30;
}

.version-item.active {
  border-color: #4f625e;
  background: #2b3533;
}

.version-item img {
  width: 66px;
  height: 42px;
  object-fit: cover;
  border-radius: 4px;
  background: #111;
}

.version-item span,
.version-item b,
.version-item small,
.version-item em {
  min-width: 0;
  display: block;
}

.version-item b {
  overflow: hidden;
  color: #dadddf;
  font-size: 10px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.version-item small {
  margin-top: 3px;
  color: #848a91;
  font-size: 8px;
}

.version-item em {
  margin-top: 4px;
  color: #9da4aa;
  font-size: 8px;
  font-style: normal;
}

.version-item.active em {
  color: var(--review-green);
}

.review-history {
  margin-top: auto;
  padding: 11px 12px;
  border-top: 1px solid var(--line);
}

.review-history > strong {
  font-size: 10px;
}

.review-history ol {
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}

.review-history li {
  display: flex;
  gap: 8px;
  min-height: 34px;
  color: #ccd0d4;
}

.review-history li > i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  margin-top: 4px;
  border: 1px solid #70767d;
  border-radius: 50%;
  background: #292c30;
}

.review-history li.done > i {
  border-color: var(--review-green);
  background: var(--review-green);
}

.review-history li b,
.review-history li small {
  display: block;
}

.review-history li b {
  font-size: 9px;
  font-weight: 550;
}

.review-history li small {
  margin-top: 3px;
  color: #81878e;
  font-size: 8px;
}

.review-stage {
  background: rgba(17, 19, 21, .97);
}

.review-stage-head .active {
  color: #172f2b;
  background: var(--review-green);
}

.review-viewer-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.review-viewer {
  position: relative;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #45494e;
  border-radius: 5px;
  background: #08090a;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .32);
}

.review-viewer > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.annotation-pin {
  position: absolute;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 2px solid #17191b;
  border-radius: 50%;
  color: #28151a;
  background: var(--review-red);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .38);
  transform: translate(-50%, -50%);
}

.annotation-pin span {
  font-size: 9px;
  font-weight: 750;
}

.annotation-pin.selected {
  box-shadow: 0 0 0 3px rgba(255, 135, 149, .28), 0 4px 12px rgba(0, 0, 0, .38);
}

.review-controls {
  flex: 0 0 auto;
}

.review-timeline {
  flex: 0 0 118px;
  padding: 7px 10px 9px;
  border-top: 1px solid #303338;
  background: #1b1d20;
}

.review-ruler {
  height: 18px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  color: #747a81;
  font-family: var(--mono);
  font-size: 8px;
}

.review-ruler span:last-child {
  text-align: right;
}

.review-filmstrip {
  height: 58px;
  display: grid;
  grid-template-columns: repeat(6, minmax(72px, 1fr));
  gap: 3px;
  overflow: hidden;
}

.review-filmstrip button {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #33373b;
  border-radius: 3px;
  background: #202326;
}

.review-filmstrip button.current {
  border-color: var(--review-green);
  box-shadow: inset 0 0 0 1px var(--review-green);
}

.review-filmstrip img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.review-markers {
  position: relative;
  height: 22px;
  border-top: 1px solid #34383c;
}

.review-markers button {
  position: absolute;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--review-red);
  transform: rotate(45deg);
}

.review-markers button.note {
  background: var(--review-amber);
}

.review-markers button.resolved {
  background: #6b7774;
}

.review-markers > i {
  position: absolute;
  top: 0;
  bottom: -3px;
  width: 1px;
  background: var(--review-red);
}

.review-comments {
  background: #202225;
}

.agent-review-summary,
.delivery-agent {
  margin: 9px;
  padding: 10px;
  border: 1px solid #41454a;
  border-radius: 6px;
  background: #272a2e;
}

.agent-review-summary header,
.delivery-agent header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.agent-review-summary header > div,
.delivery-agent header > div {
  display: flex;
  gap: 7px;
}

.agent-review-summary strong,
.agent-review-summary small,
.delivery-agent strong,
.delivery-agent small {
  display: block;
}

.agent-review-summary strong,
.delivery-agent strong {
  font-size: 10px;
}

.agent-review-summary small,
.delivery-agent small {
  margin-top: 3px;
  color: #8b9198;
  font-size: 8px;
}

.agent-review-summary header em,
.delivery-agent header em {
  color: var(--review-green);
  font-size: 8px;
  font-style: normal;
}

.agent-review-summary p,
.delivery-agent p {
  margin: 8px 0;
  color: #aeb3b9;
  font-size: 9px;
  line-height: 1.55;
}

.agent-review-summary > div {
  display: flex;
  gap: 9px;
  color: #7f858c;
  font-family: var(--mono);
  font-size: 8px;
}

.comment-filters {
  display: flex;
  gap: 3px;
  padding: 0 9px 8px;
}

.comment-filters button {
  height: 27px;
  flex: 1;
  border-radius: 5px;
  background: transparent;
  color: #858b92;
  font-size: 9px;
}

.comment-filters button.active {
  color: #fff;
  background: #363a3e;
}

.comment-list {
  flex: 1;
  min-height: 0;
  overflow: auto;
  border-top: 1px solid var(--line);
}

.review-comment {
  padding: 10px;
  border-bottom: 1px solid #383b3f;
  background: #202225;
}

.review-comment.selected {
  background: #292c30;
  box-shadow: inset 2px 0 var(--review-red);
}

.review-comment.resolved {
  opacity: .62;
}

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

.review-comment header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
}

.comment-priority {
  height: 18px;
  display: inline-flex;
  align-items: center;
  padding: 0 5px;
  border-radius: 3px;
  color: #1e211f;
  background: var(--review-amber);
  font-size: 8px;
  font-weight: 750;
}

.comment-priority.p1 {
  color: #30191e;
  background: var(--review-red);
}

.comment-priority.done {
  color: #17312c;
  background: var(--review-green);
}

.review-comment header strong {
  overflow: hidden;
  color: #d9dcdf;
  font-size: 10px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-comment time {
  color: #a6abb1;
  font-family: var(--mono);
  font-size: 8px;
}

.review-comment p {
  margin: 8px 0;
  color: #a3a9af;
  font-size: 9px;
  line-height: 1.55;
}

.review-comment footer {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #7f858c;
  font-size: 8px;
}

.mini-avatar {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #24312f;
  background: #a9d8cf;
  font-size: 8px;
}

.mini-avatar.second {
  color: #2c273b;
  background: #bbb1e1;
}

.review-comment footer button {
  height: 23px;
  margin-left: auto;
  padding: 0 7px;
  border-radius: 4px;
  background: #383c40;
  color: #c8ccd0;
  font-size: 8px;
}

.comment-composer {
  flex: 0 0 auto;
  padding: 9px;
  border-top: 1px solid var(--line);
  background: #202225;
}

.comment-composer > div {
  display: flex;
  gap: 5px;
}

.comment-composer > div button {
  height: 25px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 7px;
  border-radius: 4px;
  color: #9ea4aa;
  background: #303439;
  font-family: var(--mono);
  font-size: 8px;
}

.comment-composer textarea {
  width: 100%;
  min-height: 48px;
  margin-top: 6px;
  resize: none;
  border: 1px solid #41454a;
  border-radius: 5px;
  outline: 0;
  padding: 8px;
  color: #e1e3e5;
  background: #292c30;
  font: inherit;
  font-size: 9px;
  line-height: 1.45;
}

.comment-composer textarea:focus {
  border-color: #6b8e87;
}

.comment-composer footer {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 5px;
  margin-top: 6px;
}

.comment-composer select,
.comment-composer footer button {
  min-width: 0;
  height: 28px;
  border: 1px solid #41454a;
  border-radius: 5px;
  padding: 0 6px;
  color: #bdc1c6;
  background: #292c30;
  font-size: 8px;
}

.comment-composer footer button {
  border: 0;
  color: #15332e;
  background: var(--review-green);
  font-weight: 650;
}

.delivery-preview {
  background: rgba(17, 19, 21, .97);
}

.delivery-viewer-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.delivery-viewer {
  position: relative;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid #45494e;
  border-radius: 5px;
  background: #08090a;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .34);
}

.delivery-viewer > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.delivery-slate {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 8px 9px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 4px;
  background: rgba(12, 14, 16, .78);
}

.delivery-slate span,
.delivery-slate b,
.delivery-slate small {
  display: block;
}

.delivery-slate span {
  color: var(--review-green);
  font-family: var(--mono);
  font-size: 7px;
}

.delivery-slate b {
  margin-top: 4px;
  font-size: 10px;
}

.delivery-slate small {
  margin-top: 3px;
  color: #a8adb2;
  font-family: var(--mono);
  font-size: 7px;
}

.evidence-strip {
  flex: 0 0 118px;
  padding: 8px 10px 10px;
  border-top: 1px solid #303338;
  background: #1b1d20;
}

.evidence-strip header {
  height: 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.evidence-strip header strong {
  font-size: 10px;
}

.evidence-strip header span {
  color: #838990;
  font-size: 8px;
}

.evidence-strip > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.evidence-strip button {
  height: 67px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  padding: 8px;
  border: 1px solid #383c40;
  border-radius: 5px;
  background: #24272a;
  text-align: left;
}

.evidence-strip button > .icon {
  flex: 0 0 auto;
  color: var(--review-green);
}

.evidence-strip button b,
.evidence-strip button small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.evidence-strip button b {
  color: #d2d5d8;
  font-size: 9px;
}

.evidence-strip button small {
  margin-top: 4px;
  color: #858b92;
  font-size: 8px;
}

.delivery-agent header em {
  color: #8d939a;
  font-family: var(--mono);
}

.delivery-progress {
  height: 3px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 2px;
  background: #3b3f43;
}

.delivery-progress i {
  height: 100%;
  display: block;
  background: var(--review-green);
}

.check-list {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.check-row {
  min-height: 49px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-bottom: 1px solid #36393d;
}

.check-row:last-child {
  border-bottom: 0;
}

.check-row > .icon {
  color: #8d939a;
}

.check-row.pass > .icon {
  color: var(--review-green);
}

.check-row.warn > .icon {
  color: var(--review-amber);
}

.check-row.blocked > .icon {
  color: var(--review-red);
}

.check-row b,
.check-row span {
  display: block;
}

.check-row b {
  color: #d4d7da;
  font-size: 9px;
}

.check-row span {
  margin-top: 3px;
  color: #81878e;
  font-size: 8px;
}

.check-row em {
  color: #8e949a;
  font-size: 8px;
  font-style: normal;
}

.check-row.pass em {
  color: var(--review-green);
}

.check-row.warn em {
  color: var(--review-amber);
}

.check-row.blocked em {
  color: var(--review-red);
}

.check-row button {
  grid-column: 2 / 4;
  justify-self: start;
  height: 24px;
  padding: 0 7px;
  border-radius: 4px;
  color: #d4d7da;
  background: #393d41;
  font-size: 8px;
}

.delivery-config {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 10px;
}

.config-heading {
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
}

.config-heading strong {
  font-size: 10px;
}

.config-heading span {
  color: #838990;
  font-size: 8px;
}

.delivery-config > label {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: #8f959c;
  font-size: 9px;
}

.delivery-config select {
  width: 100%;
  height: 30px;
  border: 1px solid #41454a;
  border-radius: 5px;
  padding: 0 7px;
  background: #292c30;
  color: #d0d4d7;
  font-size: 9px;
}

.delivery-format {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin: 9px 0;
}

.delivery-format button {
  min-width: 0;
  min-height: 50px;
  padding: 7px;
  border: 1px solid #41454a;
  border-radius: 5px;
  background: #292c30;
  text-align: left;
}

.delivery-format button.active {
  border-color: #61847d;
  box-shadow: inset 0 0 0 1px #61847d;
}

.delivery-format b,
.delivery-format span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.delivery-format b {
  font-size: 9px;
}

.delivery-format span {
  margin-top: 4px;
  color: #7f858c;
  font-size: 7px;
}

.delivery-config > label.signoff-check {
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  padding: 8px;
  border: 1px solid #3d4145;
  border-radius: 5px;
  line-height: 1.45;
}

.signoff-check input {
  margin: 1px 0 0;
  accent-color: var(--review-green);
}

.delivery-actions {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: auto;
  padding: 9px 10px;
  border-top: 1px solid var(--line);
}

.delivery-actions button {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border-radius: 5px;
  color: #c7cbd0;
  background: #363a3e;
  font-size: 9px;
}

.delivery-actions button.primary {
  color: #17332e;
  background: var(--review-green);
  font-weight: 650;
}

.delivery-actions button:disabled {
  cursor: not-allowed;
  color: #777d84;
  background: #303337;
}

.review-mobile-nav,
.delivery-mobile-nav {
  display: none;
}

.workflow-modal-status {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  border: 1px solid #464a4f;
  border-radius: 6px;
  background: #202326;
}

.workflow-modal-status > .icon {
  flex: 0 0 auto;
  color: var(--review-amber);
}

.workflow-modal-status strong,
.workflow-modal-status span {
  display: block;
}

.workflow-modal-status strong {
  font-size: 11px;
}

.workflow-modal-status span {
  margin-top: 5px;
  color: #989ea5;
  font-size: 9px;
  line-height: 1.55;
}

.workflow-modal-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.workflow-modal-list li {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 8px;
  border-bottom: 1px solid #383b3f;
  color: #a8adb2;
  font-size: 9px;
}

.workflow-modal-list li b {
  color: #d7dade;
  font-weight: 550;
}

body.delivery-complete .delivery-actions #signDelivery {
  color: #15332e;
  background: var(--review-green);
}

@media (max-width: 1180px) {
  .review-workspace {
    grid-template-columns: 190px minmax(420px, 1fr) 310px;
  }

  .delivery-workspace {
    grid-template-columns: minmax(440px, 1fr) 370px;
  }

  .workflow-nav button span {
    display: none;
  }

  .workflow-nav button {
    padding: 0 8px;
  }

  .review-history {
    display: none;
  }

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

@media (max-width: 900px) and (min-width: 761px) {
  .review-workspace {
    grid-template-columns: minmax(390px, 1fr) 290px;
  }

  .version-panel {
    display: none;
  }

  .delivery-workspace {
    grid-template-columns: minmax(390px, 1fr) 330px;
  }

  .evidence-strip > div {
    grid-template-columns: repeat(2, 1fr);
  }

  .evidence-strip {
    flex-basis: 190px;
  }
}

@media (max-width: 760px) {
  .workflow-nav {
    position: fixed;
    top: 7px;
    left: 50%;
    display: flex;
    transform: translateX(-50%);
  }

  .workflow-nav button {
    min-width: 37px;
    justify-content: center;
  }

  .workflow-nav button em {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 13px;
    height: 13px;
    padding: 0 3px;
    border: 1px solid #24272a;
    border-radius: 50%;
    font-size: 6px;
  }

  .workflow-nav button[data-workspace-stage="delivery"] em {
    display: none;
  }

  .workspace {
    width: 40px;
    max-width: 40px;
    padding: 5px;
  }

  .workspace #workspaceTitle {
    display: none;
  }

  .account .save,
  .account .credit {
    display: none;
  }

  .review-workspace,
  .delivery-workspace {
    display: block;
    padding: 54px 8px 62px;
  }

  .review-workspace > .panel,
  .delivery-workspace > .panel {
    position: absolute;
    top: 54px;
    right: 8px;
    bottom: 62px;
    left: 8px;
    display: none;
  }

  .review-workspace .review-stage,
  .delivery-workspace .delivery-preview {
    display: flex;
  }

  body.review-mobile-comments .review-stage,
  body.review-mobile-versions .review-stage,
  body.delivery-mobile-checks .delivery-preview,
  body.delivery-mobile-settings .delivery-preview {
    display: none;
  }

  body.review-mobile-comments .review-comments,
  body.review-mobile-versions .version-panel,
  body.delivery-mobile-checks .delivery-panel,
  body.delivery-mobile-settings .delivery-panel {
    display: flex;
  }

  body.delivery-mobile-settings .delivery-panel > .panel-head,
  body.delivery-mobile-settings .delivery-agent,
  body.delivery-mobile-settings .check-list {
    display: none;
  }

  body.delivery-mobile-settings .delivery-config {
    display: block;
  }

  body.delivery-mobile-checks .delivery-config {
    display: none;
  }

  .review-mobile-nav,
  .delivery-mobile-nav {
    position: fixed;
    z-index: 50;
    right: 8px;
    bottom: max(7px, env(safe-area-inset-bottom));
    left: 8px;
    height: 49px;
    grid-template-columns: repeat(3, 1fr);
    padding: 4px;
  }

  body[data-stage="review"] .review-mobile-nav,
  body[data-stage="delivery"] .delivery-mobile-nav {
    display: grid;
  }

  body[data-stage="review"] .mobile-nav,
  body[data-stage="delivery"] .mobile-nav {
    display: none;
  }

  .review-mobile-nav button,
  .delivery-mobile-nav button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 6px;
    background: transparent;
    color: #949aa1;
    font-size: 10px;
  }

  .review-mobile-nav button.active,
  .delivery-mobile-nav button.active {
    color: #fff;
    background: #393c40;
  }

  .review-viewer-wrap,
  .delivery-viewer-wrap {
    padding: 8px;
  }

  .review-viewer {
    height: auto;
  }

  .review-timeline {
    flex-basis: 132px;
    overflow-x: auto;
  }

  .review-ruler,
  .review-filmstrip,
  .review-markers {
    min-width: 620px;
  }

  .review-comments .agent-review-summary {
    margin-bottom: 5px;
  }

  .review-comments .comment-list {
    flex: 1;
  }

  .version-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .version-item {
    grid-template-columns: 90px minmax(0, 1fr);
    margin: 0;
  }

  .version-item img {
    width: 90px;
    height: 57px;
  }

  .delivery-viewer {
    width: auto;
    height: 100%;
  }

  .evidence-strip {
    flex-basis: 144px;
    overflow-x: auto;
  }

  .evidence-strip > div {
    min-width: 620px;
    grid-template-columns: repeat(4, 1fr);
  }

  .delivery-panel {
    overflow: hidden;
  }

  .delivery-config > label {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .delivery-format {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 430px) {
  .workflow-nav button {
    min-width: 32px;
    padding: 0 7px;
  }

  .account .export {
    width: 30px;
    padding: 0;
  }

  .account .export span {
    display: none;
  }

  .review-stage .viewer-caption {
    display: block;
  }

  .review-controls .timecode {
    width: 124px;
    font-size: 8px;
  }

  .review-controls button:first-child,
  .review-controls button:nth-child(2),
  .review-controls button:nth-child(5),
  .review-controls button:nth-child(6) {
    display: none;
  }

  .version-list {
    display: block;
  }

  .version-item {
    grid-template-columns: 88px minmax(0, 1fr);
    margin-bottom: 4px;
  }

  .comment-composer footer {
    grid-template-columns: 78px 1fr auto;
  }

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

@media (max-height: 720px) and (min-width: 761px) {
  .review-timeline {
    flex-basis: 96px;
  }

  .review-filmstrip {
    height: 42px;
  }

  .review-history,
  .agent-review-summary p,
  .agent-review-summary > div,
  .delivery-agent p,
  .evidence-strip {
    display: none;
  }

  .delivery-agent {
    margin-bottom: 6px;
  }

  .check-row {
    min-height: 43px;
  }
}
