:root {
  color-scheme: light;
  color: #1f2937;
  background: #f8fafc;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --nv-blue: #155985;
  --nv-blue-700: #0f4368;
  --nv-blue-100: #e9f2f8;
  --nv-red: #c93227;
  --nv-red-700: #a32920;
  --nv-red-100: #fcecea;
  --nv-success: #16a34a;
  --nv-warning: #f59e0b;
  --nv-danger: #c33325;
  --nv-ink: #111827;
  --nv-text: #1f2937;
  --nv-muted: #6b7280;
  --nv-subtle: #94a3b8;
  --nv-white: #ffffff;
  --nv-bg: #f7f8fa;
  --nv-panel: #ffffff;
  --nv-panel-muted: #f1f5f9;
  --nv-line: #e5e7eb;
  --nv-radius-sm: 6px;
  --nv-radius-md: 8px;
  --nv-radius-lg: 8px;
  --nv-shadow-sm: 0 1px 2px rgb(15 23 42 / 6%);
  --nv-shadow-md: 0 8px 24px rgb(15 23 42 / 8%);
  --bg: var(--nv-bg);
  --panel: var(--nv-panel);
  --panel-soft: var(--nv-panel-muted);
  --ink: var(--nv-ink);
  --muted: var(--nv-muted);
  --subtle: var(--nv-subtle);
  --line: var(--nv-line);
  --line-soft: #edf0f4;
  --blue: var(--nv-blue);
  --blue-dark: var(--nv-blue-700);
  --blue-soft: var(--nv-blue-100);
  --green: var(--nv-success);
  --green-soft: #dcfce7;
  --amber: #92400e;
  --amber-soft: #fef3c7;
  --red: var(--nv-red);
  --red-soft: var(--nv-red-100);
  --shadow: var(--nv-shadow-sm);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  appearance: none;
}

input,
textarea,
select {
  width: 100%;
  min-width: 0;
  border: 1px solid #d1d5db;
  border-radius: var(--nv-radius-sm);
  background: var(--nv-white);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.3;
  padding: 8px 10px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

textarea {
  min-height: 88px;
  resize: vertical;
}

select {
  cursor: pointer;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgb(15 78 129 / 14%);
  outline: 0;
}

input.invalid-input,
textarea.invalid-input,
select.invalid-input {
  border-color: var(--red);
  background: #fffafa;
}

input.invalid-input:focus,
textarea.invalid-input:focus,
select.invalid-input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgb(201 50 39 / 14%);
}

input:disabled {
  background: #f2f4f7;
  color: var(--subtle);
  cursor: not-allowed;
}

code,
pre {
  font-family:
    "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 12px clamp(16px, 3vw, 32px);
  border-top: 3px solid var(--nv-blue);
  border-bottom: 1px solid var(--line);
  background: var(--nv-white);
  box-shadow: 0 1px 0 rgb(15 23 42 / 3%);
}

.brand-block,
.section-heading,
.sidebar-title,
.payload-heading > div,
.field,
.summary-item,
.template-card,
.artifact-card {
  display: grid;
  gap: 4px;
}

.section-heading span,
.field span,
.sidebar-title span,
.summary-item span,
.artifact-card span,
.metric-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-logo {
  display: block;
  width: 132px;
  height: auto;
}

.brand-block > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.interface-name {
  max-width: 34ch;
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-chip {
  width: max-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--nv-white);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 6px 9px;
}

.topbar-note {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.workspace-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  width: max-content;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--nv-white);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 6px 9px;
  white-space: nowrap;
}

.workspace-status::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: currentColor;
}

.workspace-status.online {
  border-color: #bbf7d0;
  background: var(--green-soft);
  color: var(--green);
}

.workspace-status.checking {
  border-color: #f1d08a;
  background: var(--amber-soft);
  color: var(--amber);
}

.workspace-status.offline {
  border-color: #f3c1bc;
  background: var(--red-soft);
  color: var(--red);
}

.topbar-actions,
.button-row,
.row-actions,
.wizard-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.topbar-actions {
  justify-content: flex-end;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid #d1d5db;
  border-radius: var(--nv-radius-md);
  background: var(--nv-white);
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding: 9px 13px;
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
  white-space: nowrap;
}

.button:hover,
button:hover {
  background: var(--nv-panel-muted);
  border-color: #cbd5e1;
  box-shadow: var(--nv-shadow-sm);
}

.button:active,
button:active {
  box-shadow: none;
}

.button.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
}

.button.primary:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
}

.button.ghost {
  background: var(--nv-white);
  color: var(--nv-text);
}

.button.danger {
  border-color: #f1b8b4;
  background: #ffffff;
  color: var(--red);
}

.button.danger:hover {
  background: var(--red-soft);
}

.button.small {
  min-height: 32px;
  padding: 7px 10px;
  font-size: 13px;
}

.button.tiny {
  min-height: 28px;
  padding: 6px 8px;
  font-size: 12px;
}

.button.icon-button {
  width: 30px;
  min-width: 30px;
  min-height: 30px;
  padding: 0;
  font-size: 15px;
}

.button.icon-button span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  line-height: 1;
}

.icon-svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button.full {
  width: 100%;
}

.button:disabled,
button:disabled {
  border-color: var(--line);
  background: #f1f3f6;
  color: var(--subtle);
  cursor: not-allowed;
  transform: none;
}

.dashboard,
.create-shell {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.dashboard-header {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.dashboard h1,
.section-heading h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
  font-weight: 750;
}

.dashboard p,
.section-heading p,
.pipeline-card p,
.artifact-card p,
.empty-dashboard p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.operational-strip,
.panel,
.table-card,
.empty-dashboard,
.pipeline-card,
.reserved-card {
  border: 1px solid var(--line);
  border-radius: var(--nv-radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.operational-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 16px;
  overflow: hidden;
}

.operational-strip > div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 12px 14px;
  border-right: 1px solid var(--line);
}

.operational-strip > div:last-child {
  border-right: 0;
}

.operational-strip span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.operational-strip strong {
  overflow-wrap: anywhere;
  color: var(--nv-ink);
  font-size: 15px;
}

.operational-strip small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.empty-dashboard {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: 44px;
}

.empty-dashboard h2,
.pipeline-card h2,
.panel-heading h2,
.artifact-card h2 {
  margin: 0;
  color: var(--ink);
}

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

.table-header,
.table-row,
.command-table-head,
.command-table-row,
.field-table-head,
.field-table-row,
.errors-table-head,
.errors-table-row {
  display: grid;
  gap: 10px;
  align-items: center;
  min-width: 760px;
  padding: 10px 12px;
}

.table-header,
.command-table-head,
.field-table-head,
.errors-table-head {
  border-bottom: 1px solid var(--line);
  background: var(--nv-panel-muted);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.table-row,
.command-table-row,
.field-table-row,
.errors-table-row {
  border-bottom: 1px solid var(--line-soft);
  color: var(--nv-text);
  font-size: 13px;
}

.table-row:hover,
.field-table-row:hover,
.errors-table-row:hover {
  background: #fbfdff;
}

.table-row:last-child,
.command-table-row:last-child,
.field-table-row:last-child,
.errors-table-row:last-child {
  border-bottom: 0;
}

.project-grid {
  grid-template-columns:
    minmax(170px, 1.45fr) minmax(80px, 0.55fr) minmax(110px, 0.7fr)
    minmax(110px, 0.75fr) minmax(120px, 0.8fr) minmax(250px, 1.4fr);
}

.builds-grid {
  grid-template-columns:
    minmax(150px, 1.1fr) minmax(150px, 1fr) minmax(110px, 0.7fr)
    minmax(100px, 0.7fr) minmax(90px, 0.55fr) minmax(210px, 1.2fr);
}

.editor-layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px clamp(16px, 3vw, 32px) 40px;
}

.sidebar,
.center-panel {
  min-width: 0;
}

.sidebar {
  position: sticky;
  top: 72px;
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--nv-radius-lg);
  background: var(--nv-white);
  padding: 12px;
  box-shadow: var(--shadow);
}

.sidebar-title {
  display: grid;
  gap: 5px;
  padding: 6px 4px 12px;
  border-bottom: 1px solid var(--line-soft);
  cursor: default;
}

.sidebar-title strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

.sidebar-title .sidebar-kicker {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sidebar-title .project-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 2px 0 0;
  text-transform: none;
}

.sidebar-title .project-state::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: currentColor;
}

.sidebar-title .project-state.ok {
  color: var(--green);
}

.sidebar-title .project-state.warn {
  color: var(--amber);
}

.sidebar-title .project-state.problem {
  color: var(--red);
}

.sidebar-divider {
  height: 1px;
  margin: 6px 0;
  background: var(--line-soft);
}

.nav-item {
  justify-content: space-between;
  width: 100%;
  min-height: 34px;
  border-color: transparent;
  background: transparent;
  color: var(--nv-text);
  font-size: 13px;
  padding: 8px 10px;
}

.nav-item > span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--nv-panel-muted);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 0 7px;
}

.nav-badge.ok {
  border-color: #bbf7d0;
  background: #dcfce7;
  color: var(--green);
}

.nav-badge.problem {
  border-color: #f3c1bc;
  background: var(--red-soft);
  color: var(--red);
}

.nav-badge.warn {
  border-color: #f1d08a;
  background: var(--amber-soft);
  color: var(--amber);
}

.nav-badge.neutral {
  border-color: var(--line);
  background: var(--nv-panel-muted);
  color: var(--muted);
}

.nav-item:hover {
  background: #f4f6fa;
  border-color: transparent;
}

.nav-item.active {
  border-color: #bfdbfe;
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.center-panel {
  display: grid;
  gap: 14px;
}

.section-stack {
  display: grid;
  gap: 16px;
}

.section-heading {
  gap: 8px;
}

.section-heading h1 {
  font-size: clamp(22px, 2.4vw, 30px);
}

.alert {
  border-radius: var(--nv-radius-lg);
  padding: 10px 12px;
  font-weight: 700;
  font-size: 13px;
}

.error-alert {
  border: 1px solid #f3c1bc;
  background: var(--red-soft);
  color: var(--red);
}

.info-alert {
  border: 1px solid #b7c9d9;
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.validation-summary {
  display: grid;
  gap: 10px;
  border: 1px solid #f1d08a;
  border-radius: var(--nv-radius-lg);
  background: var(--amber-soft);
  color: var(--amber);
  padding: 12px;
}

.validation-summary > div:first-child {
  display: grid;
  gap: 3px;
}

.validation-summary strong {
  color: var(--ink);
  font-size: 14px;
}

.validation-summary span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
}

.validation-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.validation-jump {
  min-height: 30px;
  max-width: 100%;
  border-color: #f1d08a;
  background: var(--nv-white);
  color: var(--nv-text);
  font-size: 12px;
  padding: 7px 9px;
  white-space: normal;
}

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

.summary-item {
  min-height: 88px;
  border: 1px solid var(--line);
  border-radius: var(--nv-radius-lg);
  background: var(--panel);
  padding: 14px;
}

.summary-item strong {
  overflow-wrap: anywhere;
  font-size: 18px;
  line-height: 1.2;
}

.form-panel,
.create-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.form-stack {
  display: grid;
  gap: 14px;
}

.field.compact {
  gap: 6px;
}

.field-error {
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
}

.validation-issues {
  display: grid;
  gap: 8px;
  border: 1px solid #f3c1bc;
  border-radius: var(--nv-radius-md);
  background: var(--red-soft);
  color: var(--red);
  padding: 10px 12px;
  font-size: 13px;
}

.validation-issues strong {
  font-size: 13px;
}

.validation-issues ul {
  margin: 0;
  padding-left: 18px;
  color: var(--nv-text);
}

.validation-issues li {
  margin: 2px 0;
}

.cell-stack {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.inline-issues {
  margin: 0;
  padding-left: 16px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.commands-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.panel {
  min-width: 0;
  padding: 14px;
}

.panel-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.command-list-panel,
.command-editor-panel {
  align-self: start;
}

.command-list-panel {
  max-height: min(460px, 55vh);
  overflow: auto;
}

.command-editor-panel {
  border-color: var(--line-soft);
  background: #fbfdff;
}

.command-editor-panel .panel-heading h2 {
  font-size: 16px;
}

.command-table-head,
.command-table-row {
  min-width: 0;
  grid-template-columns: minmax(150px, 1.25fr) 82px 90px 96px minmax(142px, 0.75fr);
  padding: 9px 0;
}

.command-table-row {
  cursor: pointer;
}

.command-table-row:hover {
  background: #fbfdff;
}

.command-table-row.active {
  margin-inline: -6px;
  border: 1px solid #b7c9d9;
  border-left: 3px solid var(--nv-blue);
  border-radius: var(--nv-radius-md);
  background: var(--blue-soft);
  padding-inline: 6px;
}

.command-table-row strong,
.table-row strong {
  overflow-wrap: anywhere;
}

.compact-actions {
  gap: 6px;
}

.command-inspector {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  margin: 10px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--nv-radius-lg);
  background: #fbfdff;
}

.command-inspector > div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 10px 12px;
  border-right: 1px solid var(--line);
}

.command-inspector > div:last-child {
  border-right: 0;
}

.command-inspector span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.command-inspector strong {
  overflow-wrap: anywhere;
  color: var(--nv-ink);
  font-size: 13px;
}

.tabs {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: var(--nv-radius-md);
  background: var(--nv-panel-muted);
  padding: 3px;
}

.tab {
  min-height: 30px;
  border: 0;
  border-radius: var(--nv-radius-sm);
  background: transparent;
  color: var(--muted);
  padding: 7px 12px;
}

.tab.active {
  background: var(--nv-white);
  color: var(--ink);
  box-shadow: var(--nv-shadow-sm);
}

.payload-table {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.payload-heading {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.payload-heading span,
.length-cell small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.field-table-head,
.field-table-row {
  min-width: 0;
  grid-template-columns: minmax(150px, 1fr) minmax(190px, 1.15fr) minmax(130px, 0.8fr) minmax(104px, 0.55fr);
  padding: 9px 0;
}

.length-cell {
  display: grid;
  gap: 5px;
}

.empty-state {
  display: grid;
  gap: 5px;
  border: 1px dashed #cbd5e1;
  border-radius: var(--nv-radius-lg);
  background: #fbfdff;
  color: var(--muted);
  padding: 16px;
}

.empty-state strong {
  color: var(--ink);
}

.empty-state .button {
  width: max-content;
  margin-top: 6px;
}

.compact-empty {
  min-height: 74px;
  align-content: center;
}

.reserved-card {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  box-shadow: none;
}

.reserved-card div {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-soft);
  padding: 6px 10px;
}

.reserved-card code,
.errors-table-row code {
  color: var(--blue-dark);
  font-weight: 800;
}

.errors-table-head,
.errors-table-row {
  min-width: 0;
  grid-template-columns: minmax(190px, 1fr) 118px minmax(220px, 1.35fr) minmax(104px, 0.55fr);
  padding: 10px 0;
}

.errors-table-row.active {
  margin-inline: -6px;
  border: 1px solid #b7c9d9;
  border-left: 3px solid var(--nv-blue);
  border-radius: var(--nv-radius-md);
  background: var(--blue-soft);
  padding-inline: 6px;
}

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

.artifact-card,
.template-card {
  align-items: start;
  min-height: 118px;
  border: 1px solid var(--line);
  border-radius: var(--nv-radius-lg);
  background: var(--panel);
  color: var(--ink);
  padding: 14px;
  text-align: left;
  white-space: normal;
}

.artifact-card.selected,
.template-card.active {
  border-color: #b7c9d9;
  background: var(--blue-soft);
  box-shadow: inset 3px 0 0 var(--nv-blue);
}

.artifact-card.disabled {
  background: #f4f5f7;
  color: var(--subtle);
  opacity: 0.72;
}

.artifact-card ul,
.steps,
.check-list,
.fix-list,
.plain-list {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding-left: 18px;
}

.steps {
  padding-left: 0;
  list-style: none;
}

.steps li {
  position: relative;
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: var(--nv-radius-sm);
  background: #fbfdff;
  padding: 6px 9px;
}

.steps li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--subtle);
}

.steps li.done::before {
  background: var(--green);
}

.steps li.running {
  color: var(--amber);
  font-weight: 700;
}

.steps li.running::before {
  background: var(--amber);
}

.steps li.failed {
  color: var(--red);
  font-weight: 700;
}

.steps li.failed::before {
  background: var(--red);
}

.artifact-card li,
.steps li,
.check-list li,
.fix-list li,
.plain-list li {
  line-height: 1.45;
}

.template-card {
  cursor: pointer;
}

.template-card:hover {
  border-color: #cbd5e1;
  background: #fbfdff;
}

.wizard-actions {
  justify-content: space-between;
  padding-top: 4px;
}

.toml-preview {
  overflow: auto;
  max-height: 560px;
  margin: 0;
  border: 1px solid #d1d5db;
  border-radius: var(--nv-radius-lg);
  background: #0b1220;
  color: #e5edf7;
  font-size: 13px;
  line-height: 1.6;
  padding: 16px;
}

.pipeline-card {
  padding: 16px;
}

.pipeline-card > div {
  display: grid;
  gap: 12px;
}

.steps li.done {
  color: var(--green);
  font-weight: 700;
}

.check-list li {
  color: var(--green);
}

.fix-list li {
  color: var(--red);
}

.blocked-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  border: 1px solid #f1d08a;
  border-radius: 999px;
  background: var(--amber-soft);
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 5px 8px;
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: currentColor;
}

.badge.success {
  border-color: #bbf7d0;
  background: var(--green-soft);
  color: var(--green);
}

.badge.danger-badge {
  border-color: #f3c1bc;
  background: var(--red-soft);
  color: var(--red);
}

.badge.neutral {
  border-color: var(--line);
  background: var(--nv-panel-muted);
  color: var(--muted);
}

.check-list,
.fix-list,
.plain-list,
.steps {
  color: var(--nv-text);
  font-size: 13px;
}

@media (max-width: 1180px) {
  .editor-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .commands-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .topbar,
  .editor-layout,
  .operational-strip,
  .review-grid,
  .artifact-grid,
  .template-grid,
  .commands-layout {
    grid-template-columns: 1fr;
  }

  .topbar {
    position: static;
  }

  .topbar-actions,
  .dashboard-header,
  .wizard-actions,
  .payload-heading,
  .panel-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-header {
    display: grid;
  }

  .button-row,
  .row-actions,
  .topbar-actions {
    width: 100%;
  }

  .button-row .button,
  .row-actions .button,
  .topbar-actions .button,
  .wizard-actions .button {
    flex: 1 1 auto;
  }

  .sidebar {
    position: static;
  }

  .project-grid,
  .builds-grid,
  .command-inspector,
  .command-table-head,
  .command-table-row,
  .field-table-head,
  .field-table-row,
  .errors-table-head,
  .errors-table-row,
  .reserved-card {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .operational-strip > div,
  .command-inspector > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .operational-strip > div:last-child,
  .command-inspector > div:last-child {
    border-bottom: 0;
  }

  .command-table-head,
  .field-table-head,
  .errors-table-head,
  .table-header {
    display: none;
  }

  .table-row,
  .command-table-row,
  .field-table-row,
  .errors-table-row {
    align-items: stretch;
  }

  .empty-dashboard {
    padding: 28px 18px;
  }

  .empty-state .button {
    width: 100%;
  }
}
