:root {
  --bg: #101312;
  --panel: #f7f4ec;
  --panel-soft: #ebe5d7;
  --ink: #121513;
  --muted: #67665e;
  --line: #d2cab8;
  --dark: #171b19;
  --dark-2: #222925;
  --green: #156f57;
  --green-dark: #0d4f3e;
  --red: #b93333;
  --amber: #d7922f;
  --blue: #2f6fa3;
  --white: #fffdf7;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(125deg, rgba(21, 111, 87, 0.26), transparent 34%),
    linear-gradient(235deg, rgba(185, 51, 51, 0.18), transparent 30%),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select {
  font: inherit;
}

button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 13px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

button:hover {
  transform: translateY(-1px);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

input,
select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 11px;
  background: var(--white);
  color: var(--ink);
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(21, 111, 87, 0.18);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

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

h1 {
  margin-bottom: 0;
  color: var(--white);
  font-size: clamp(1.7rem, 3.8vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 1.18rem;
}

.portal-shell {
  width: min(1540px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.brand-block {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.brand-block img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.eyebrow {
  margin-bottom: 6px;
  color: #f1c566;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.room-strip {
  display: grid;
  grid-template-columns: minmax(160px, 240px) max-content max-content;
  gap: 10px;
  align-items: end;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 999px;
  padding: 0 13px;
  background: var(--panel-soft);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.status-pill.live {
  background: rgba(21, 111, 87, 0.16);
  color: var(--green-dark);
}

.status-pill.break {
  background: rgba(185, 51, 51, 0.16);
  color: var(--red);
}

.status-pill.warning {
  background: rgba(215, 146, 47, 0.2);
  color: #7a4810;
}

.join-panel,
.stage-panel,
.tool-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(247, 244, 236, 0.96);
  box-shadow: var(--shadow);
}

.join-panel {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 28px;
  align-items: center;
  overflow: hidden;
  padding: 28px;
  background:
    linear-gradient(to bottom, rgba(15, 18, 17, 0.12), rgba(15, 18, 17, 0.68)),
    linear-gradient(135deg, rgba(21, 111, 87, 0.88), rgba(47, 111, 163, 0.82) 48%, rgba(185, 51, 51, 0.78)),
    var(--dark);
  color: var(--white);
}

.join-copy {
  display: grid;
  grid-template-columns: minmax(210px, 330px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
  max-width: 960px;
}

.join-host-image {
  width: 100%;
  height: clamp(320px, 38vw, 440px);
  display: block;
  border-radius: 8px;
  object-fit: cover;
  object-position: center 16%;
  background: var(--white);
  border: 3px solid rgba(255, 253, 247, 0.86);
  box-shadow:
    -12px 12px 0 rgba(185, 51, 51, 0.86),
    0 18px 44px rgba(0, 0, 0, 0.28);
}

.join-copy > div {
  padding-bottom: 0;
}

.join-copy h2 {
  max-width: 790px;
  margin-bottom: 12px;
  font-size: clamp(5rem, 10vw, 11.4rem);
  line-height: 0.76;
  letter-spacing: 0;
}

.join-copy h2 span {
  display: block;
}

.join-copy p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 253, 247, 0.9);
  font-size: clamp(1.08rem, 1.7vw, 1.42rem);
  font-weight: 800;
  line-height: 1.35;
}

.join-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
}

.device-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checkline {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 11px;
  background: var(--white);
  color: var(--ink);
}

.checkline input {
  width: 18px;
  min-height: 18px;
  padding: 0;
  accent-color: var(--green);
}

.consent-notice {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(185, 51, 51, 0.24);
  border-radius: 8px;
  padding: 12px;
  background: rgba(185, 51, 51, 0.06);
}

.consent-notice h3 {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.consent-notice p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.consent-check {
  align-items: flex-start;
  min-height: 0;
  padding: 10px 11px;
}

.consent-check span {
  line-height: 1.35;
}

.primary {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.primary:hover {
  background: var(--green-dark);
}

.primary.is-active {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.danger {
  border-color: rgba(185, 51, 51, 0.35);
  color: var(--red);
}

.danger.is-active {
  background: var(--red);
  color: #fff;
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr) minmax(330px, 410px);
  align-items: start;
  gap: 16px;
}

body:not(.is-producer) .studio-grid {
  grid-template-columns: minmax(280px, 340px) minmax(0, 780px);
  justify-content: center;
}

.is-hidden {
  display: none;
}

.stage-panel {
  grid-column: 2;
  min-height: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
  padding: 18px;
}

.left-rail {
  grid-column: 1;
  display: grid;
  gap: 14px;
}

body:not(.is-producer) .left-rail {
  display: contents;
}

body:not(.is-producer) .topics-panel {
  grid-column: 1 / -1;
  grid-row: 1;
}

body:not(.is-producer) .chat-panel {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
}

body:not(.is-producer) .social-panel {
  grid-column: 1;
  grid-row: 3;
}

body:not(.is-producer) .stage-panel {
  grid-column: 2;
  grid-row: 2 / span 3;
}

body:not(.is-producer) .side-rail {
  display: none;
}

body:not(.is-producer) #shareScreenBtn,
body:not(.is-producer) #refreshFeedsBtn {
  display: none;
}

body.is-producer .guest-only {
  display: none;
}

@media (max-width: 1280px) {
  body:not(.is-producer) .studio-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  body:not(.is-producer) .left-rail {
    display: flex;
    flex-direction: column;
    order: 2;
  }

  body:not(.is-producer) .topics-panel {
    order: 1;
  }

  body:not(.is-producer) .stage-panel {
    order: 1;
    width: 100%;
  }

  body:not(.is-producer) .chat-panel {
    order: 2;
  }

  body:not(.is-producer) .social-panel {
    order: 3;
  }

  body:not(.is-producer) .side-rail {
    display: none;
  }
}

.stage-head,
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.stage-head {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto;
}

.stage-head .control-row {
  grid-column: 1 / -1;
}

.stage-head .eyebrow,
.panel-head .eyebrow {
  color: var(--green);
}

.segment-clock,
.realtime-clock {
  display: grid;
  justify-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 14px;
  background: var(--white);
}

.segment-clock span,
.realtime-clock span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.segment-clock strong,
.realtime-clock strong {
  color: var(--red);
  font-size: 1.6rem;
  line-height: 1;
}

.realtime-clock strong {
  color: var(--dark);
  font-variant-numeric: tabular-nums;
}

.recording-clock {
  display: grid;
  justify-items: end;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  background: var(--white);
}

.recording-clock span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.recording-clock strong {
  color: var(--red);
  font-size: 1.45rem;
  line-height: 1;
}

.control-row,
.break-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.control-row button.is-active {
  background: var(--dark);
  color: var(--white);
}

.quality-control {
  min-width: 112px;
  display: grid;
  gap: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quality-control select {
  min-height: 38px;
  padding: 0 30px 0 10px;
  border-radius: 6px;
  font-size: 0.86rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: auto;
  align-content: start;
  gap: 12px;
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
}

.video-tile {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--dark-2);
}

body:not(.is-producer) .video-grid {
  max-width: 780px;
}

.video-tile video {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: cover;
  background: var(--dark-2);
}

.tile-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 900;
}

.video-tile.has-video .tile-fallback {
  display: none;
}

.tile-live {
  position: absolute;
  z-index: 3;
  right: 10px;
  top: 10px;
  min-height: 30px;
  display: none;
  border: 0;
  border-radius: 999px;
  padding: 0 12px;
  background: var(--red);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  pointer-events: none;
}

.video-tile.is-live .tile-live {
  display: inline-grid;
  place-items: center;
}

.tile-audio {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 10px;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px;
  align-items: center;
  border-radius: 6px;
  padding: 7px 8px;
  background: rgba(10, 12, 11, 0.68);
}

.tile-audio button {
  min-height: 30px;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.92);
  padding: 0 9px;
  font-size: 0.78rem;
}

.tile-audio button.is-muted {
  background: var(--red);
  color: #fff;
}

.tile-volume {
  min-height: 26px;
  padding: 0;
  accent-color: var(--green);
}

.tile-meta {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 6px;
  padding: 8px 10px;
  background: rgba(10, 12, 11, 0.74);
  color: #fff;
}

.tile-meta strong,
.tile-meta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tile-meta span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 800;
}

.side-rail {
  grid-column: 3;
  display: grid;
  gap: 14px;
}

body:not(.is-producer) .side-rail {
  grid-column: 2;
  grid-row: 4;
}

.tool-panel {
  display: grid;
  gap: 13px;
  padding: 14px;
}

.Studio-viewer {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(21, 111, 87, 0.22), transparent),
    #222925;
}

#StudioPreview,
#StudioCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#StudioPreview {
  opacity: 0;
  pointer-events: none;
}

#StudioCanvas {
  display: block;
}

.crop-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.crop-controls label {
  min-width: 0;
}

.crop-controls input {
  min-height: 28px;
  padding: 0;
  accent-color: var(--green);
}

.crop-controls button {
  grid-column: 1 / -1;
}

.break-controls {
  justify-content: stretch;
}

.break-controls button {
  flex: 1 1 120px;
}

.segment-form {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 10px;
}

.segment-form button {
  grid-column: 1 / -1;
}

.icecast-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.password-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.password-form button,
.password-form .microcopy {
  grid-column: 1 / -1;
}

.icecast-form button {
  width: 100%;
}

.icecast-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.icecast-links a {
  display: grid;
  min-height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--green-dark);
  font-size: 0.84rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.delay-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.delay-controls button {
  flex: 1 1 140px;
}

.producer-roster {
  display: grid;
  gap: 8px;
}

.roster-row {
  display: grid;
  grid-template-columns: 1fr max-content;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 10px;
  background: var(--white);
}

.roster-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.roster-row small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
}

.roster-row button {
  min-height: 32px;
  padding: 0 10px;
  color: var(--red);
}

body:not(.is-producer) .producer-only {
  display: none !important;
}

.microcopy {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.recordings-list {
  display: grid;
  gap: 8px;
}

.recording-link,
.obs-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 10px;
  background: var(--white);
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: none;
}

.obs-links {
  display: grid;
  gap: 8px;
}

.obs-link {
  color: var(--ink);
}

.obs-link span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.obs-link button {
  min-height: 32px;
  flex: 0 0 auto;
  padding: 0 10px;
  font-size: 0.78rem;
}

.chat-panel {
  min-height: 330px;
}

body:not(.is-producer) .chat-panel {
  min-height: 330px;
}

body:not(.is-producer) .break-panel {
  min-height: 330px;
}

.social-panel {
  min-height: auto;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.social-links a:hover {
  border-color: var(--red);
  color: var(--red);
}

.topics-scores-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ticker-stack {
  display: grid;
  gap: 8px;
}

.ticker-window {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--dark);
}

.score-ticker {
  background: #1f1717;
}

.ticker-label {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-width: 76px;
  padding: 0 12px;
  background: var(--red);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.score-ticker .ticker-label {
  background: var(--green);
}

.ticker-track {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  padding: 0 16px 0 96px;
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
  animation: ticker-scroll var(--ticker-duration, 35s) linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ticker-item::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--red);
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.topics-scores-grid h3 {
  margin: 0 0 8px;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.prep-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.prep-list li {
  display: grid;
  grid-template-columns: 1fr max-content;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.prep-list li span {
  min-width: 0;
}

.prep-list li button {
  min-height: 28px;
  padding: 0 8px;
  color: var(--red);
  font-size: 0.76rem;
}

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

.topics-form > button {
  width: 100%;
}

.topic-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ticker-speed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ticker-speed-grid label {
  min-width: 0;
}

.ticker-speed-grid input {
  min-height: 28px;
  padding: 0;
  accent-color: var(--green);
}

.ticker-speed-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.topics-form textarea {
  width: 100%;
  min-height: 94px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  resize: vertical;
  font: inherit;
}

.chat-log {
  height: 210px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: var(--white);
}

.chat-message {
  display: grid;
  gap: 3px;
}

.chat-message strong {
  color: var(--green-dark);
  font-size: 0.78rem;
}

.chat-message p {
  margin-bottom: 0;
  color: var(--ink);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr max-content;
  gap: 8px;
}

@media (max-width: 1120px) {
  .studio-grid,
  .join-panel {
    grid-template-columns: 1fr;
  }

  .join-panel {
    min-height: auto;
  }

  .stage-panel,
  .left-rail,
  .side-rail,
  .social-panel,
  body:not(.is-producer) .stage-panel,
  body:not(.is-producer) .left-rail,
  body:not(.is-producer) .side-rail,
  body:not(.is-producer) .topics-panel,
  body:not(.is-producer) .chat-panel,
  body:not(.is-producer) .social-panel {
    grid-column: 1;
    grid-row: auto;
  }

  body:not(.is-producer) .left-rail {
    display: flex;
    flex-direction: column;
    order: 2;
  }

  body:not(.is-producer) .topics-panel {
    order: 1;
  }

  .stage-panel,
  body:not(.is-producer) .stage-panel {
    order: 1;
    min-height: auto;
  }

  .side-rail {
    order: 3;
  }

  .left-rail {
    order: 4;
  }

  body:not(.is-producer) .chat-panel {
    order: 2;
  }

  body:not(.is-producer) .social-panel {
    order: 3;
  }

  body:not(.is-producer) .side-rail {
    order: 6;
  }
}

@media (max-width: 780px) {
  .portal-shell {
    width: min(100% - 18px, 1540px);
    padding: 10px 0;
  }

  .topbar,
  .stage-head,
  .panel-head {
    display: grid;
    align-items: start;
  }

  .brand-block {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .brand-block img {
    width: 68px;
    height: 68px;
  }

  .room-strip,
  .device-row,
  .social-links,
  .topics-scores-grid,
  .ticker-speed-grid,
  .topic-actions,
  .icecast-links,
  .icecast-form,
  .password-form,
  .segment-form {
    grid-template-columns: 1fr;
  }

  .join-panel,
  .stage-panel,
  .tool-panel {
    padding: 12px;
  }

  .join-copy h2 {
    font-size: clamp(4rem, 18vw, 6.4rem);
  }

  .join-copy {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: center;
  }

  .join-copy > div {
    padding-bottom: 0;
  }

  .join-host-image {
    width: min(100%, 320px);
    height: 300px;
    justify-self: center;
    object-position: center 14%;
  }

  .control-row,
  .break-controls {
    justify-content: stretch;
  }

  .control-row button {
    flex: 1 1 120px;
  }

  .quality-control {
    flex: 1 1 160px;
  }
}
