:root {
  --bg: #131313;
  --bg-deep: #0e0e0e;
  --panel: rgba(28, 27, 27, 0.72);
  --panel-solid: #201f1f;
  --panel-high: #2a2a2a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(0, 242, 255, 0.38);
  --text: #e5e2e1;
  --muted: #91a1a2;
  --dim: #5f6c6d;
  --cyan: #00f2ff;
  --cyan-soft: rgba(0, 242, 255, 0.14);
  --lime: #c3f400;
  --lime-soft: rgba(195, 244, 0, 0.12);
  --danger: #ffb4ab;
  --radius: 8px;
  --shadow-cyan: 0 0 18px rgba(0, 242, 255, 0.22);
  font-family: Inter, "Segoe UI", "Microsoft YaHei", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    radial-gradient(circle at 74% 12%, rgba(0, 242, 255, 0.08), transparent 26rem),
    radial-gradient(circle at 18% 86%, rgba(195, 244, 0, 0.05), transparent 22rem),
    var(--bg);
  background-size: 40px 40px, 40px 40px, auto, auto, auto;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

code {
  color: var(--cyan);
  font-family: "Space Grotesk", Consolas, monospace;
}

.app-shell {
  display: flex;
  min-height: 100vh;
}

.rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  display: flex;
  width: 80px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  background: rgba(14, 14, 14, 0.82);
  border-right: 1px solid var(--line);
  backdrop-filter: blur(20px);
}

.rail__brand,
.rail__item {
  width: 56px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
}

.rail__brand {
  height: 56px;
  margin-bottom: 10px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin: auto;
  color: #002022;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: var(--shadow-cyan);
  font: 700 13px/1 "Space Grotesk", sans-serif;
}

.rail__item {
  display: grid;
  min-height: 62px;
  place-items: center;
  border-radius: 6px;
  font-size: 11px;
  letter-spacing: 0;
  transition: 160ms ease;
}

.rail__item .icon {
  display: block;
  font-size: 20px;
  line-height: 1;
}

.rail__item:hover,
.rail__item.is-active {
  color: var(--cyan);
  background: var(--cyan-soft);
  border-color: rgba(0, 242, 255, 0.22);
}

.rail__version {
  margin-top: auto;
  writing-mode: vertical-rl;
  color: var(--dim);
  font: 700 10px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.18em;
}

.stage {
  width: 100%;
  min-width: 0;
  padding: 20px 24px 30px 104px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  margin: -20px -24px 20px -24px;
  padding: 12px 24px 12px 104px;
  background: rgba(18, 18, 18, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.topbar h1,
.panel h2,
.activation-panel h2,
.preview h2 {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.topbar h1 {
  font-size: 32px;
  line-height: 1.05;
}

.brand-title {
  font-size: clamp(42px, 6vw, 68px) !important;
  letter-spacing: 0.08em;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--cyan);
  font: 700 11px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topbar__actions,
.toolbar,
.activation-form__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.license,
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 700 11px/1 "Space Grotesk", sans-serif;
}

.signal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dim);
}

.signal-dot.is-live {
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.signal-dot.is-idle {
  background: var(--danger);
}

.primary-button,
.ghost-button,
.icon-button,
.play-button {
  border-radius: 6px;
  transition: 160ms ease;
}

.primary-button {
  min-height: 40px;
  padding: 0 16px;
  color: #002022;
  background: var(--cyan);
  border: 1px solid var(--cyan);
  box-shadow: var(--shadow-cyan);
  font: 700 11px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-button:hover {
  transform: translateY(-1px);
  background: #74f5ff;
}

.ghost-button {
  min-height: 40px;
  padding: 0 14px;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  font: 700 11px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ghost-button:hover,
.icon-button:hover {
  color: var(--cyan);
  border-color: var(--line-strong);
  background: var(--cyan-soft);
}

.activation-panel {
  position: relative;
  display: grid;
  min-height: 260px;
  margin-bottom: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.1), rgba(28, 27, 27, 0.74) 34%, rgba(14, 14, 14, 0.86));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-cyan);
}

.activation-panel.is-hidden {
  display: none;
}

.activation-panel__scan {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background:
    repeating-linear-gradient(90deg, transparent 0 15px, rgba(0, 242, 255, 0.08) 16px, transparent 17px),
    linear-gradient(180deg, transparent, rgba(0, 242, 255, 0.08), transparent);
  animation: scan 4s linear infinite;
}

@keyframes scan {
  from { transform: translateY(-14%); }
  to { transform: translateY(14%); }
}

.activation-panel__content {
  position: relative;
  max-width: 720px;
  padding: clamp(22px, 4vw, 42px);
}

.activation-panel p {
  color: var(--muted);
}

.offline-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 12px 14px;
  color: var(--danger);
  background: rgba(255, 180, 171, 0.08);
  border: 1px solid rgba(255, 180, 171, 0.28);
  border-radius: var(--radius);
  font-size: 13px;
}

.offline-banner strong {
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
}

.activation-form {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.activation-form label,
.admin-controls label,
.admin-login label,
.format-control {
  color: var(--muted);
  font: 700 11px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.activation-form input,
.admin-controls input,
.admin-controls select,
.admin-login input,
.format-control select {
  width: 100%;
  min-height: 44px;
  color: var(--text);
  background: rgba(14, 14, 14, 0.68);
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
  padding: 0 12px;
}

.activation-form input:focus,
.admin-controls input:focus,
.admin-controls select:focus,
.admin-login input:focus,
.format-control select:focus {
  border-color: var(--cyan);
  box-shadow: var(--shadow-cyan);
}

.workspace {
  display: none;
}

.workspace.is-active {
  display: block;
}

.grid {
  display: grid;
  gap: 12px;
}

.grid--main {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
}

.grid--admin {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

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

.panel h2 {
  font-size: 22px;
}

.upload-panel {
  padding-bottom: 16px;
}

.drop-zone {
  position: relative;
  display: grid;
  min-height: 310px;
  place-items: center;
  margin: 16px;
  overflow: hidden;
  border: 1px dashed rgba(0, 242, 255, 0.36);
  border-radius: var(--radius);
  background: rgba(14, 14, 14, 0.42);
  transition: 180ms ease;
}

.drop-zone.is-over {
  border-color: var(--cyan);
  background: rgba(0, 242, 255, 0.08);
  box-shadow: inset 0 0 30px rgba(0, 242, 255, 0.12);
}

.drop-zone__input {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0;
  cursor: pointer;
}

.drop-zone__wave {
  position: absolute;
  inset: 32px 0;
  opacity: 0.35;
  background:
    linear-gradient(90deg, transparent, rgba(0, 242, 255, 0.12), transparent),
    repeating-linear-gradient(90deg, transparent 0 8px, rgba(0, 242, 255, 0.64) 8px 10px, transparent 10px 18px);
  mask-image: radial-gradient(ellipse at center, black, transparent 72%);
}

.drop-zone__content {
  position: relative;
  z-index: 2;
  max-width: 420px;
  text-align: center;
}

.drop-zone__icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  margin: 0 auto 16px;
  color: var(--cyan);
  background: var(--cyan-soft);
  border: 1px solid rgba(0, 242, 255, 0.24);
  border-radius: 50%;
  box-shadow: var(--shadow-cyan);
  font-size: 34px;
}

.drop-zone h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
}

.drop-zone p {
  color: var(--muted);
  line-height: 1.65;
}

.version-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0 16px;
}

.version-card {
  display: grid;
  gap: 6px;
  min-height: 96px;
  padding: 14px;
  color: var(--muted);
  text-align: left;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-bottom: 2px solid transparent;
  border-radius: 6px;
}

.version-card strong {
  color: var(--text);
  font: 700 20px/1 "Space Grotesk", sans-serif;
  text-transform: uppercase;
}

.version-card span,
.version-card small {
  font-size: 12px;
}

.version-card:hover,
.version-card.is-selected {
  color: var(--text);
  background: var(--cyan-soft);
  border-color: rgba(0, 242, 255, 0.22);
  border-bottom-color: var(--cyan);
}

.version-card.is-selected strong {
  color: var(--cyan);
}

.toolbar {
  flex-wrap: wrap;
  padding: 16px;
}

.format-control {
  display: grid;
  min-width: 148px;
  gap: 6px;
}

.inspector-panel {
  overflow: hidden;
}

.meters {
  display: grid;
  gap: 20px;
  padding: 18px;
}

.meter__label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
}

.meter__label b {
  color: var(--cyan);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.meter__track {
  height: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.meter__track span {
  display: block;
  height: 100%;
  background: var(--cyan);
  box-shadow: var(--shadow-cyan);
}

.meter__track--lime span {
  background: var(--lime);
  box-shadow: 0 0 16px rgba(195, 244, 0, 0.24);
}

.oscilloscope {
  display: flex;
  align-items: end;
  justify-content: space-between;
  height: 114px;
  margin: 2px 18px 18px;
  padding: 12px;
  background: rgba(14, 14, 14, 0.56);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.oscilloscope span {
  width: 5px;
  background: linear-gradient(var(--cyan), rgba(0, 242, 255, 0.18));
  border-radius: 999px 999px 0 0;
  box-shadow: var(--shadow-cyan);
}

.spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 0;
  background: var(--line);
}

.spec-list div {
  padding: 14px;
  background: rgba(18, 18, 18, 0.86);
}

.spec-list dt {
  color: var(--dim);
  font-size: 11px;
}

.spec-list dd {
  margin: 4px 0 0;
  color: var(--text);
  font: 700 13px/1.2 "Space Grotesk", sans-serif;
}

.queue-panel {
  margin-top: 12px;
}

.queue-list {
  display: grid;
  gap: 2px;
  padding: 1px;
}

.queue-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 14px 16px;
  background: rgba(28, 27, 27, 0.66);
  border-left: 2px solid transparent;
}

.queue-item.is-processing {
  border-left-color: var(--cyan);
}

.queue-item.is-done {
  border-left-color: var(--lime);
}

.queue-item.is-error {
  border-left-color: var(--danger);
}

.file-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 20px;
}

.queue-item h3 {
  overflow: hidden;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.queue-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font: 700 11px/1 "Space Grotesk", sans-serif;
}

.progress {
  height: 5px;
  overflow: hidden;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), #74f5ff);
  box-shadow: var(--shadow-cyan);
  transition: width 240ms ease;
}

.queue-actions {
  display: flex;
  gap: 8px;
}

.queue-error {
  margin: 8px 0 0;
  color: var(--danger);
  font-size: 12px;
  line-height: 1.4;
}

.icon-button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
}

.library-panel {
  overflow: hidden;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 740px;
}

th,
td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--dim);
  background: rgba(255, 255, 255, 0.025);
  font: 700 11px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

td {
  color: var(--muted);
  font-size: 13px;
}

td strong {
  color: var(--text);
}

.admin-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
}

.admin-controls label,
.admin-login label {
  display: grid;
  gap: 8px;
}

.admin-login {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto auto;
  align-items: end;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.code-list,
.log-list {
  display: grid;
  gap: 1px;
  padding: 1px;
}

.code-row {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 14px 18px;
  background: rgba(18, 18, 18, 0.5);
  color: var(--muted);
  font-size: 13px;
}

.log-list p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin: 0;
  padding: 14px 18px;
  background: rgba(18, 18, 18, 0.5);
  color: var(--muted);
  font-size: 12px;
}

.code-row strong,
.log-list span {
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
}

.code-row__meta {
  display: grid;
  gap: 4px;
}

.code-row__limits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.code-row__limits label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font: 700 10px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.1em;
}

.code-row__limits input {
  width: 100%;
  min-height: 34px;
  color: var(--text);
  background: rgba(14, 14, 14, 0.68);
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
  padding: 0 10px;
}

.code-row__limits input:focus {
  border-color: var(--cyan);
  box-shadow: var(--shadow-cyan);
}

.code-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.code-row__actions .ghost-button {
  min-height: 34px;
  padding: 0 10px;
}

.empty-state {
  padding: 22px 18px;
  color: var(--muted);
  background: rgba(18, 18, 18, 0.5);
  font-size: 13px;
  line-height: 1.6;
}

.preview-dialog {
  width: min(1120px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  padding: 0;
  color: var(--text);
  background: transparent;
  border: 0;
}

.preview-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}

.preview {
  overflow: hidden;
  background: rgba(18, 18, 18, 0.88);
  border: 1px solid rgba(0, 242, 255, 0.26);
  border-radius: var(--radius);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.7), var(--shadow-cyan);
}

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

.preview__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  min-height: 540px;
}

.wave-compare {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 20px;
}

.ab-toggle {
  display: inline-flex;
  width: max-content;
  padding: 4px;
  background: rgba(14, 14, 14, 0.8);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.ab-toggle button {
  min-width: 86px;
  min-height: 32px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
}

.ab-toggle button.is-active {
  color: #002022;
  background: var(--cyan);
}

.wave-card {
  position: relative;
  min-height: 150px;
  padding: 34px 16px 16px;
  background: rgba(28, 27, 27, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.wave-card--processed {
  min-height: 230px;
  border-color: rgba(0, 242, 255, 0.22);
}

.wave-card > span {
  position: absolute;
  top: 12px;
  left: 16px;
  color: var(--muted);
  font: 700 10px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.waveform {
  display: flex;
  align-items: center;
  height: 118px;
  gap: 3px;
}

.wave-card--processed .waveform {
  height: 176px;
}

.waveform i {
  flex: 1;
  min-width: 3px;
  background: linear-gradient(180deg, var(--cyan), rgba(0, 242, 255, 0.22));
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(0, 242, 255, 0.28);
}

.waveform--dim i {
  background: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.wave-card audio {
  width: 100%;
  margin-top: 14px;
  accent-color: var(--cyan);
}

.transport {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 86px;
  background: rgba(28, 27, 27, 0.54);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.play-button {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #002022;
  background: var(--text);
  border: 0;
  font-size: 20px;
}

.preview__meta {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 20px;
  background: rgba(14, 14, 14, 0.54);
  border-left: 1px solid var(--line);
}

.preview__meta h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
}

.preview__meta dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 0 0 8px;
  background: var(--line);
}

.preview__meta dl div {
  padding: 12px;
  background: var(--panel-solid);
}

.preview__meta dt {
  color: var(--dim);
  font-size: 11px;
}

.preview__meta dd {
  margin: 5px 0 0;
  color: var(--cyan);
  font: 700 16px/1 "Space Grotesk", sans-serif;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  max-width: min(360px, calc(100vw - 36px));
  padding: 12px 14px;
  color: var(--text);
  background: rgba(14, 14, 14, 0.88);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: var(--shadow-cyan);
  opacity: 0;
  transform: translateY(12px);
  transition: 180ms ease;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .grid--main,
  .grid--admin,
  .preview__body,
  .admin-login {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .rail {
    inset: auto 0 0 0;
    width: auto;
    height: 68px;
    flex-direction: row;
    justify-content: center;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .rail__brand,
  .rail__version {
    display: none;
  }

  .stage {
    padding: 14px 14px 88px;
  }

  .topbar {
    position: static;
    margin: -14px -14px 14px;
    padding: 14px;
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar h1 {
    font-size: 24px;
  }

  .topbar__actions {
    width: 100%;
    justify-content: space-between;
  }

  .version-grid,
  .admin-controls,
  .spec-list,
  .preview__meta dl {
    grid-template-columns: 1fr;
  }

  .queue-item {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .queue-actions {
    grid-column: 2;
  }

  .activation-form__row,
  .toolbar,
  .offline-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .topbar__actions {
    flex-wrap: wrap;
  }

  .topbar__actions .license,
  .topbar__actions .ghost-button,
  .toolbar .primary-button,
  .toolbar .ghost-button {
    width: 100%;
    justify-content: center;
  }

  .drop-zone {
    min-height: 240px;
    margin: 12px;
  }

  .drop-zone h3 {
    font-size: 20px;
  }

  .code-row,
  .log-list p {
    align-items: stretch;
    flex-direction: column;
  }

  .code-row__limits {
    grid-template-columns: 1fr 1fr;
  }
}
