:root {
  color-scheme: light;
  --bg: #f6f4ef;
  --panel: #fffdfa;
  --panel-soft: #eef4f2;
  --ink: #1b1d1f;
  --muted: #687076;
  --line: #d8d5cc;
  --green: #14746f;
  --blue: #385f9f;
  --red: #b54747;
  --amber: #b7791f;
  --shadow: 0 16px 40px rgba(25, 31, 38, 0.09);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  line-height: 1.45;
}

button,
input,
select {
  font: inherit;
}

.app-shell {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px;
  background: #20282c;
  color: #f7fbf8;
  border-right: 1px solid #151b1e;
}

.brand {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: var(--green);
  font-weight: 800;
}

.brand-copy {
  min-width: 0;
}

.brand-kicker {
  margin: 0 0 3px;
  color: #8fd0c4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand h1,
.topbar h2,
.panel-heading h3,
.detail-header h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.brand p,
.topbar p,
.detail-header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.brand p {
  color: #b7c3c7;
}

.product-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin-bottom: 26px;
  padding: 4px;
  border: 1px solid #415057;
  border-radius: 8px;
  background: #11181b;
}

.product-nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 44px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #c7d2d4;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.product-nav-link:hover {
  border-color: #6c7c82;
  color: #fff;
}

.product-nav-link[aria-current="page"] {
  border-color: #f7fbf8;
  background: #f7fbf8;
  color: #182126;
}

.product-nav-link:focus-visible,
.button:focus-visible,
.field input:focus-visible,
.field select:focus-visible,
.sample-row:focus-visible,
.json-details summary:focus-visible {
  outline: 3px solid rgba(143, 208, 196, 0.62);
  outline-offset: 2px;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}

.field span {
  color: #c7d2d4;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #415057;
  border-radius: 6px;
  background: #11181b;
  color: #ffffff;
}

.workspace {
  min-width: 0;
  padding: 24px clamp(16px, 2.5vw, 36px) 40px;
}

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

.workspace-kicker {
  margin: 0 0 4px;
  color: var(--green) !important;
  font-size: 11px !important;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.control-status {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.control-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

.control-status.online i {
  background: var(--green);
}

.control-status.readonly i {
  background: var(--blue);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

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

.button:disabled,
.icon-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  font-size: 21px;
  line-height: 1;
}

.control-panel {
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.control-heading,
.section-heading {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.control-heading {
  min-height: 72px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-soft);
}

.control-heading h3,
.control-heading p,
.section-heading h4,
.section-heading span {
  margin: 0;
}

.control-heading h3 {
  font-size: 18px;
}

.control-heading > div > p:last-child {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.control-notice {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 16px;
}

.control-notice span,
.workflow-description,
.control-field small,
.form-actions span {
  color: var(--muted);
  font-size: 12px;
}

.control-workspace {
  display: grid;
  grid-template-columns: minmax(330px, 0.85fr) minmax(320px, 1.15fr);
}

.control-mobile-tabs {
  display: none;
}

.workflow-form,
.job-queue,
.job-inspector {
  min-width: 0;
  padding: 16px;
}

.workflow-form {
  border-right: 1px solid var(--line);
}

.control-activity {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  align-content: start;
}

.job-inspector {
  border-top: 1px solid var(--line);
}

.section-heading {
  min-height: 38px;
  margin-bottom: 12px;
}

.section-heading > div {
  display: grid;
  gap: 2px;
}

.section-heading span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-heading h4 {
  font-size: 15px;
}

.control-field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

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

.control-field input,
.control-field select,
.control-field textarea {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

.control-field textarea {
  min-height: 76px;
  resize: vertical;
}

.control-field input:focus-visible,
.control-field select:focus-visible,
.control-field textarea:focus-visible,
.icon-button:focus-visible,
.job-row:focus-visible,
.job-action:focus-visible {
  outline: 3px solid rgba(20, 116, 111, 0.28);
  outline-offset: 2px;
}

.workflow-description {
  min-height: 36px;
  margin: 0 0 12px;
}

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

.workflow-fields .control-field.field-wide {
  grid-column: 1 / -1;
}

.paid-approval {
  margin: 2px 0 14px;
  padding: 12px;
  border: 1px solid #d2a15d;
  border-radius: 6px;
  background: #fff8e9;
}

.paid-approval > strong {
  display: block;
  margin-bottom: 9px;
  color: #7a4a09;
  font-size: 13px;
}

.paid-approval .control-field {
  margin-bottom: 0;
}

.form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 40px;
}

.job-list {
  display: grid;
  max-height: 420px;
  overflow: auto;
  border-top: 1px solid var(--line);
}

.job-row {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 62px;
  padding: 10px 6px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.job-row:hover,
.job-row.active {
  background: var(--panel-soft);
}

.job-row strong,
.job-row em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-row strong {
  font-size: 13px;
}

.job-row em {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.job-state-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--muted);
}

.job-state-dot.queued,
.job-state-dot.running {
  background: var(--blue);
}

.job-state-dot.succeeded {
  background: var(--green);
}

.job-state-dot.failed,
.job-state-dot.interrupted {
  background: var(--red);
}

.job-state-dot.cancelled {
  background: var(--amber);
}

.job-status-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.job-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--line);
}

.job-fact {
  min-width: 0;
  padding: 10px;
  background: #ffffff;
}

.job-fact span,
.job-fact strong {
  display: block;
}

.job-fact span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.job-fact strong {
  margin-top: 4px;
  overflow-wrap: anywhere;
  font-size: 12px;
}

.job-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.job-error {
  margin: 12px 0 0;
  padding: 9px 10px;
  border-left: 3px solid var(--red);
  background: #fae7e5;
  color: #7f2f2f;
  font-size: 12px;
}

.retry-approval {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 34px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.retry-approval input {
  min-height: 34px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

.job-action {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}

.job-action.danger {
  border-color: #d6a4a4;
  color: var(--red);
}

.job-command,
.job-log {
  margin: 0;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  line-height: 1.5;
}

.job-command {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px 6px 0 0;
  background: var(--panel-soft);
  color: var(--muted);
}

.job-log {
  max-height: 300px;
  padding: 12px;
  border-radius: 0 0 6px 6px;
  background: #11181b;
  color: #edf4f0;
}

.overview,
.detail-metrics,
.optimization-kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(110px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.metric,
.panel,
.sample-panel,
.detail-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.metric {
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 14px;
}

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

.metric strong {
  font-size: 24px;
  line-height: 1;
}

.metric em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.split {
  display: grid;
  grid-template-columns: minmax(320px, 38%) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.sample-panel,
.detail-panel,
.panel {
  overflow: hidden;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-soft);
}

.panel-heading span {
  color: var(--muted);
  font-size: 13px;
}

.sample-list {
  max-height: 720px;
  overflow: auto;
}

.sample-row {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) 52px;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 68px;
  padding: 11px 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.sample-row:hover,
.sample-row.active {
  background: #edf4f0;
}

.sample-row strong,
.sample-row em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sample-row em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status-dot.clean {
  background: var(--green);
}

.status-dot.attention {
  background: var(--amber);
}

.mini-score {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.sample-detail {
  padding: 16px;
}

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

.causal-graph-panel {
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
}

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

.causal-graph-header h4,
.causal-graph-header p {
  margin: 0;
}

.causal-graph-header h4 {
  font-size: 14px;
}

.causal-graph-header p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.causal-graph-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.causal-graph-legend span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.button:hover {
  border-color: var(--green);
  background: var(--panel-soft);
  transform: translateY(-1px);
}

.causal-graph-legend i {
  width: 9px;
  height: 9px;
  border: 2px solid var(--muted);
  border-radius: 3px;
}

.causal-graph-legend .legend-treatment i {
  border-color: var(--blue);
}

.causal-graph-legend .legend-outcome i {
  border-color: var(--green);
}

.causal-graph-legend .legend-mediator i {
  border-color: var(--amber);
}

.causal-graph-canvas {
  width: 100%;
  overflow-x: auto;
  background: var(--panel);
}

.causal-graph-svg {
  display: block;
  width: 100%;
  min-width: 440px;
  height: auto;
  color: var(--ink);
}

.causal-edge {
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.causal-edge.bidirected {
  stroke-dasharray: 6 4;
}

.causal-arrow-head {
  fill: var(--muted);
}

.causal-node rect {
  fill: var(--panel);
  stroke: var(--muted);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.causal-node.role-treatment rect {
  stroke: var(--blue);
}

.causal-node.role-outcome rect {
  stroke: var(--green);
}

.causal-node.role-mediator rect {
  stroke: var(--amber);
}

.causal-node-label {
  fill: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.causal-node-role {
  fill: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.causal-graph-source {
  display: block;
  padding: 9px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  white-space: normal;
  word-break: break-word;
}

.causal-graph-empty {
  padding: 14px;
}

.causal-graph-empty div {
  display: grid;
  gap: 4px;
}

.causal-graph-empty strong {
  font-size: 13px;
}

.causal-graph-empty span {
  color: var(--muted);
  font-size: 12px;
}

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

.pill {
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.pill.ok {
  background: #e2f4ed;
  color: var(--green);
}

.pill.bad {
  background: #fae7e5;
  color: var(--red);
}

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

.timeline-event {
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 6px;
  background: #ffffff;
}

.timeline-event.tool_observation {
  border-left-color: var(--green);
}

.timeline-event.validation_feedback,
.timeline-event.verifier {
  border-left-color: var(--amber);
}

.event-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.event-heading span,
.event-heading em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.event-type {
  padding: 3px 6px;
  border-radius: 5px;
  background: #edf0f2;
  color: #344048;
  font-weight: 800;
  text-transform: uppercase;
}

.hash-line {
  margin: 0;
  padding: 12px;
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.content-block,
.json-details pre,
.mermaid-source {
  margin: 0;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  line-height: 1.45;
}

.content-block,
.json-details pre {
  padding: 12px;
  background: #11181b;
  color: #edf4f0;
}

.json-details summary {
  padding: 10px 12px;
  color: var(--blue);
  cursor: pointer;
  font-weight: 800;
}

.lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
  margin-top: 18px;
}

.architecture,
.optimization {
  padding: 16px;
}

.graph-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.graph-strip span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel-soft);
  font-size: 12px;
  font-weight: 800;
}

.mermaid-source {
  max-height: 190px;
  padding: 12px;
  border-radius: 6px;
  background: #182126;
  color: #e9f1ed;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.slot-group h4 {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.slot,
.recommendation {
  display: grid;
  gap: 4px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel-soft);
}

.slot + .slot,
.recommendation + .recommendation {
  margin-top: 8px;
}

.slot strong,
.recommendation strong {
  font-size: 13px;
}

.slot em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.recommendation {
  grid-template-columns: 38px 1fr;
  align-items: start;
}

.recommendation span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--blue);
  color: #ffffff;
  font-weight: 800;
}

.recommendation p,
.empty {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.recommendation .json-details {
  grid-column: 2;
}

.fatal {
  padding: 24px;
}

@media (max-width: 1180px) {
  .overview,
  .detail-metrics,
  .optimization-kpis {
    grid-template-columns: repeat(3, minmax(110px, 1fr));
  }

  .slot-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .job-detail-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }
}

@media (max-width: 860px) {
  .app-shell,
  .split,
  .lower-grid,
  .control-workspace {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    height: auto;
    padding: 18px;
  }

  .topbar,
  .detail-header,
  .causal-graph-header {
    align-items: stretch;
    flex-direction: column;
  }

  .causal-graph-legend {
    justify-content: flex-start;
  }

  .workflow-form {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .control-mobile-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 8px;
    border-bottom: 1px solid var(--line);
    background: var(--panel-soft);
  }

  .control-mobile-tabs button {
    min-height: 40px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-weight: 800;
  }

  .control-mobile-tabs button[aria-selected="true"] {
    border-color: var(--line);
    background: var(--panel);
    color: var(--ink);
  }

  .control-workspace:not(.mobile-show-jobs) .control-activity,
  .control-workspace.mobile-show-jobs .workflow-form {
    display: none;
  }

  .overview,
  .detail-metrics,
  .optimization-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
  }

  .sidebar .brand,
  .sidebar .product-nav,
  .sidebar .field:nth-of-type(1),
  .sidebar .field:nth-of-type(2) {
    grid-column: 1 / -1;
  }

  .sidebar .brand,
  .sidebar .product-nav,
  .sidebar .field {
    margin-bottom: 0;
  }

  .sidebar .field input,
  .sidebar .field select {
    min-height: 44px;
  }

  .workspace {
    padding: 16px;
  }

  .overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-metrics,
  .optimization-kpis,
  .slot-grid {
    grid-template-columns: 1fr;
  }

  .toolbar,
  .toolbar .button {
    width: 100%;
  }

  .toolbar .control-status {
    width: 100%;
  }

  .workflow-fields,
  .job-detail-grid {
    grid-template-columns: 1fr;
  }

  .sample-list {
    max-height: 520px;
  }
}
