:root {
  color-scheme: light;
  --bg: #070708;
  --surface: rgba(20, 20, 23, 0.72);
  --surface-strong: rgba(30, 30, 34, 0.88);
  --surface-soft: rgba(255, 255, 255, 0.07);
  --paper: #f4f4f5;
  --paper-soft: #e9e9eb;
  --ink: #f5f5f7;
  --ink-dark: #161618;
  --muted: rgba(245, 245, 247, 0.62);
  --muted-2: rgba(245, 245, 247, 0.42);
  --line: rgba(255, 255, 255, 0.15);
  --line-soft: rgba(255, 255, 255, 0.09);
  --blue: #f5f5f7;
  --blue-soft: rgba(255, 255, 255, 0.9);
  --green: #f5f5f7;
  --green-soft: rgba(255, 255, 255, 0.1);
  --amber: #d2d2d7;
  --amber-soft: rgba(255, 255, 255, 0.1);
  --red: #b42318;
  --red-soft: #fff0ee;
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #0f0f11;
  overflow-x: hidden;
}

body {
  margin: 0;
  position: relative;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(128deg, #050506 0%, #111114 34%, #38383d 68%, #a9aaae 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(105deg, transparent 0 22%, rgba(255, 255, 255, 0.08) 22% 35%, transparent 35% 56%, rgba(255, 255, 255, 0.1) 56% 66%, transparent 66% 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.18));
}

body::after {
  opacity: 0.18;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.18) 0 1px, transparent 1px 40px);
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

.app-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.1) 50%, rgba(255, 255, 255, 0.05));
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(22px, calc((100vw - 1480px) / 2));
  background: rgba(8, 8, 10, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
  backdrop-filter: saturate(160%) blur(24px);
}

.progress-float {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.progress-card {
  width: 196px;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.54));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(22px);
  animation: progressEnter 0.22s ease-out both;
}

.progress-float.leaving .progress-card {
  animation: progressLeave 0.42s ease-in both;
}

.progress-ring-wrap {
  position: relative;
  width: 132px;
  height: 132px;
}

.progress-ring {
  --progress: 0;
  position: relative;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background:
    conic-gradient(from -90deg, #111114 calc(var(--progress) * 1%), rgba(255, 255, 255, 0.58) 0);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  transition: background 0.18s linear;
}

.progress-hole {
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 0 0 1px rgba(42, 42, 46, 0.12);
}

.progress-spark {
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  border: 4px dashed rgba(0, 0, 0, 0.18);
  animation: progressOrbit 1.1s linear infinite;
}

.progress-float.complete .progress-spark,
.progress-float.leaving .progress-spark {
  animation-duration: 0.62s;
}

.progress-percent {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #060607;
  font-size: 26px;
  font-weight: 760;
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.42);
}

.progress-copy {
  display: grid;
  justify-items: center;
  gap: 3px;
  text-align: center;
}

.progress-copy strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}

.progress-copy span {
  color: var(--muted);
  font-size: 12px;
}

@keyframes progressEnter {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes progressLeave {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
}

@keyframes progressOrbit {
  to {
    transform: rotate(360deg);
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #f7f7f8, #a9aaaf);
  color: #09090a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 12px 28px rgba(0, 0, 0, 0.36);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
}

.brand-name {
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
}

.brand-sub {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.status-pill {
  min-width: 116px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.status-pill.ok {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.38);
}

.status-pill.warn {
  color: var(--amber);
  background: var(--amber-soft);
  border-color: #f4df9a;
}

.main-grid {
  width: min(1480px, calc(100% - 44px));
  max-width: calc(100vw - 44px);
  margin: 24px auto 52px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.surface {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(13, 13, 15, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: saturate(160%) blur(28px);
}

.editor-surface {
  grid-column: 1 / -1;
  padding: 18px;
}

.library-surface {
  padding: 16px;
}

.library-surface {
  grid-column: 1 / -1;
}

.surface-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.compact-head {
  margin-bottom: 12px;
  padding-bottom: 12px;
}

h1,
h2,
p {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: 30px;
  line-height: 1.12;
  font-weight: 760;
  color: transparent;
  background: linear-gradient(135deg, #ffffff, #9e9ea6);
  -webkit-background-clip: text;
  background-clip: text;
}

h2 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 750;
}

p {
  color: var(--muted);
  line-height: 1.45;
  font-size: 14px;
}

.stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.stat {
  min-width: 116px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.045));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.stat strong {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 720;
}

.workbench-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(318px, 0.62fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.text-column {
  width: 100%;
  height: 100%;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  overflow: hidden;
}

.field-head {
  min-height: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

label {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 720;
}

.inline-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

textarea {
  width: 100%;
  max-width: 100%;
  min-height: 420px;
  flex: 1;
  resize: vertical;
  overflow-x: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 13px 14px;
  outline: none;
  color: var(--ink-dark);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(235, 235, 238, 0.94)),
    var(--paper);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 20px 46px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  font: 15px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, "PingFang SC", monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

textarea:focus,
input:focus {
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.note-input,
.search-input {
  width: 100%;
  height: 38px;
  margin-top: 10px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink-dark);
  outline: none;
}

.search-input {
  width: min(310px, 42vw);
  margin-top: 0;
}

.note-input,
.search-input {
  border-color: rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(235, 235, 238, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 12px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.button {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06));
  color: var(--ink);
  padding: 0 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 22px rgba(0, 0, 0, 0.18);
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.button:hover:not(:disabled) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.19), rgba(255, 255, 255, 0.09));
  border-color: rgba(255, 255, 255, 0.24);
}

.button:active:not(:disabled) {
  transform: scale(0.98);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.button.primary {
  min-width: 116px;
  color: #09090a;
  background: linear-gradient(145deg, #ffffff, #b6b6bc);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.button.primary:hover:not(:disabled) {
  background: linear-gradient(145deg, #fff, #d2d2d7);
  border-color: rgba(255, 255, 255, 0.58);
}

.button.compact {
  min-height: 30px;
  padding: 0 10px;
}

.button.icon {
  width: 28px;
  min-width: 28px;
  padding: 0;
}

.button.danger {
  color: var(--red);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(180, 35, 24, 0.2);
}

.button-glyph {
  width: 14px;
  display: inline-grid;
  place-items: center;
  font-size: 13px;
  line-height: 1;
}

.run-summary {
  min-height: 38px;
  display: flex;
  align-items: center;
  margin-top: 10px;
  padding: 0 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 13px;
}

.run-summary.error {
  color: var(--red);
  background: var(--red-soft);
}

.pipeline-list,
.adapter-list {
  display: flex;
  flex-direction: column;
}

.pipeline-column {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08)),
    linear-gradient(180deg, rgba(29, 29, 32, 0.96), rgba(9, 9, 11, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.19), 0 24px 54px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(28px) saturate(150%);
}

.pipeline-column-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.pipeline-column-head h2 {
  color: #fff;
  font-size: 17px;
}

.pipeline-column-head p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.pipeline-list {
  gap: 8px;
}

.vertical-pipeline {
  position: relative;
  flex: 1;
  padding: 2px 0;
}

.pipeline-row {
  position: relative;
  min-height: 58px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 48px auto;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
}

.vertical-pipeline .pipeline-row {
  grid-template-columns: 42px minmax(0, 1fr) auto;
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.vertical-pipeline .pipeline-row::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.24);
}

.vertical-pipeline .pipeline-row:first-child::before {
  top: 29px;
}

.vertical-pipeline .pipeline-row:last-child::before {
  bottom: 29px;
}

.vertical-pipeline .pipeline-row:only-child::before {
  display: none;
}

.vertical-pipeline .pipeline-row:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 24px;
  bottom: -9px;
  width: 2px;
  height: 9px;
  background: rgba(255, 255, 255, 0.32);
}

.pipeline-row:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.18);
}

.order {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #ffffff, #c9c9cf);
  box-shadow: 0 0 0 4px rgba(16, 16, 18, 0.86), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  color: #0c0c0e;
  font-size: 12px;
  font-weight: 780;
}

.pipeline-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.pipeline-name {
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pipeline-repo {
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pipeline-column .pipeline-name {
  color: #fff;
}

.pipeline-column .pipeline-repo {
  color: rgba(255, 255, 255, 0.58);
}

.pipeline-kind {
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 12px;
}

.vertical-pipeline .pipeline-kind {
  display: none;
}

.vertical-pipeline .pipeline-name {
  line-height: 1.28;
  text-overflow: clip;
  white-space: normal;
}

.row-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 4px;
}

.vertical-pipeline .row-actions {
  justify-content: flex-end;
}

.pipeline-column .button.icon {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.ghost-on-dark {
  color: rgba(255, 255, 255, 0.84);
}

.pipeline-column .button.icon:hover:not(:disabled) {
  color: #111114;
  background: rgba(255, 255, 255, 0.86);
}

.pipeline-column .button.danger {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.14);
}

.segments {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 4px;
}

.segment {
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  padding: 0 10px;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.segment.active {
  background: linear-gradient(145deg, #ffffff, #bdbdc4);
  border-color: rgba(255, 255, 255, 0.42);
  color: #0b0b0d;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.adapter-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 10px;
  overflow: visible;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-top: 12px;
}

.adapter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 86px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035)),
    rgba(12, 12, 14, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11), 0 16px 34px rgba(0, 0, 0, 0.26);
}

.adapter-row:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.06)),
    rgba(12, 12, 14, 0.72);
}

.adapter-main {
  min-width: 0;
}

.adapter-title {
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
}

.adapter-repo {
  margin-top: 3px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adapter-desc {
  display: -webkit-box;
  margin-top: 6px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.68);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.adapter-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 5px;
  max-width: none;
}

.tag {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  padding: 0 8px;
  font-size: 12px;
  white-space: nowrap;
}

.ok-tag {
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.bad-tag {
  color: var(--red);
  background: var(--red-soft);
  border-color: #ffd0cb;
}

.empty-state {
  min-height: 90px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, 0.38);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

@media (max-width: 1180px) {
  .editor-surface,
  .library-surface {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .workbench-grid {
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.72fr);
  }

  .workbench-grid .text-column:last-child {
    grid-column: 1 / -1;
  }

  .library-surface {
    order: 2;
  }
}

@media (max-width: 780px) {
  .topbar {
    padding: 0 14px;
  }

  .brand-sub {
    display: none;
  }

  .main-grid {
    width: calc(100% - 24px);
    max-width: calc(100vw - 24px);
    margin-top: 14px;
  }

  .surface-head,
  .workbench-grid,
  .adapter-row {
    grid-template-columns: 1fr;
  }

  .surface-head,
  .adapter-row {
    display: grid;
  }

  .workbench-grid {
    display: grid;
  }

  .stats,
  .adapter-meta {
    justify-content: flex-start;
  }

  .search-input {
    width: 100%;
  }

  .pipeline-row {
    grid-template-columns: 38px minmax(0, 1fr) auto;
  }

  .field-head {
    flex-wrap: wrap;
  }

  .pipeline-kind {
    display: none;
  }

  textarea {
    min-height: 300px;
  }
}
