@charset "UTF-8";
:root {
  color-scheme:light;
  --text:#25312d;
  --text-secondary:#526157;
  --muted:#7a837f;
  --canvas:#f7f8fa;
  --surface:#ffffff;
  --surface-subtle:#f5f7f6;
  --surface-hover:#f4f7f5;
  --surface-selected:#edf6f1;
  --border:#e5e9e7;
  --border-accent:#cce3d8;
  --accent:#12664f;
  --focus:#62ac94;
  --primary-hover:#0b543f;
  --icon-muted:#9fa9a3;
  --success-dot:#269267;
  --success-bg:#eaf5ee;
  --success-text:#246843;
  --success-border:#dceee1;
  --info-bg:#eff4ff;
  --info-text:#4a78c0;
  --info-border:#e0e9fa;
  --warning-bg:#fff9ec;
  --warning-text:#916920;
  --warning-border:#f6edd5;
  --danger-bg:#fff0ed;
  --danger-hover:#ffe9e5;
  --danger-text:#ab4d3e;
  --danger-border:#efd8d3;
  --neutral-bg:#f0f2f3;
  --neutral-text:#68716e;
  --log-bg:#182820;
  --log-border:#1a3225;
  --log-text:#c5dccd;
  --toast-bg:#203e2d;
  --toast-text:#e1f1e7;
  --brand-secondary:#a8d8bf;
  --on-accent:#ffffff;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background:var(--canvas);
  font-synthesis:none;
  --radius:12px
}
:root[data-theme="dark"] {
  color-scheme:dark;
  --text:#e3eae6;
  --text-secondary:#b7c5bd;
  --muted:#9aa9a1;
  --canvas:#111715;
  --surface:#19211d;
  --surface-subtle:#151d19;
  --surface-hover:#222e27;
  --surface-selected:#203a2d;
  --border:#303d35;
  --border-accent:#395f4b;
  --accent:#7cdbb3;
  --focus:#92e7c1;
  --primary-hover:#a0e7c7;
  --icon-muted:#6e8678;
  --success-dot:#64cc98;
  --success-bg:#1e3729;
  --success-text:#89d7a6;
  --success-border:#345840;
  --info-bg:#202f48;
  --info-text:#a8c8ff;
  --info-border:#374f72;
  --warning-bg:#392f1e;
  --warning-text:#e5c17d;
  --warning-border:#5c4a2b;
  --danger-bg:#3b2523;
  --danger-hover:#4c2e2a;
  --danger-text:#f0ac9e;
  --danger-border:#643d36;
  --neutral-bg:#29322d;
  --neutral-text:#b0bdb6;
  --log-bg:#0c120f;
  --log-border:#2b3c31;
  --log-text:#c5dccd;
  --toast-bg:#c3e8d3;
  --toast-text:#183424;
  --brand-secondary:#21523a;
  --on-accent:#10251b;
}

* {
  box-sizing:border-box
}
body {
  margin:0;
  font-size:14px;
  line-height:1.5
}
button,input,select {
  font:inherit
}
button,a,select,input {
  -webkit-tap-highlight-color:transparent
}
button {
  cursor:pointer
}
button:disabled {
  cursor:not-allowed;
  opacity:.48
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,pre:focus-visible,summary:focus-visible {
  outline:3px solid var(--focus);
  outline-offset:3px
}
button svg,.search svg {
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0
}
[hidden] {
  display:none!important
}
h1,h2,h3,p {
  margin:0
}
h1 {
  font-size:29px;
  font-weight:650;
  letter-spacing:-1px;
  line-height:1.3
}
h2 {
  font-size:16px;
  font-weight:650;
  letter-spacing:-.25px
}
h3 {
  font-size:14px;
  font-weight:600
}
a {
  color:var(--accent)
}
.muted {
  color:var(--muted)
}
.small {
  font-size:12px
}
.eyebrow {
  font-size:10px;
  font-weight:650;
  letter-spacing:1.55px;
  color:var(--muted);
  margin-bottom:7px
}
.sidebar {
  position:fixed;
  inset:0 auto 0 0;
  width:236px;
  background:var(--surface);
  border-right:1px solid var(--border);
  display:flex;
  flex-direction:column;
  padding:25px 15px 18px;
  z-index:2
}
.brand {
  display:flex;
  gap:10px;
  align-items:center;
  text-decoration:none;
  color:var(--text);
  font-weight:700;
  letter-spacing:-.35px;
  font-size:15px;
  padding:0 7px 35px
}
.brand small {
  display:block;
  font-weight:400;
  letter-spacing:0;
  color:var(--muted);
  font-size:10px;
  margin-top:2px
}
.brand-icon {
  height:34px;
  width:34px;
  border-radius:9px;
  background:var(--accent);
  color:var(--on-accent);
  font-size:19px;
  display:flex;
  align-items:center;
  justify-content:center;
  letter-spacing:-2px;
  padding-right:2px
}
.brand-icon span {
  color:var(--brand-secondary)
}
.sidebar-label {
  font-size:10px;
  font-weight:650;
  letter-spacing:1.2px;
  color:var(--muted);
  padding:0 11px 12px;
  display:flex;
  justify-content:space-between
}
.sidebar-label span {
  letter-spacing:0
}
.search {
  display:flex;
  gap:8px;
  align-items:center;
  border:1px solid var(--border);
  border-radius:7px;
  margin:0 5px 17px;
  padding:7px 9px;
  color:var(--muted)
}
.search input {
  border:0;
  background:none;
  width:100%;
  min-width:0;
  font-size:12px;
  outline:none;
  color:var(--text)
}
.search:focus-within {
  border-color:var(--accent)
}
.search input::placeholder {
  color:var(--muted)
}
.service-navigation {
  display:flex;
  flex-direction:column;
  flex:1;
  min-height:0
}
#service-list {
  overflow:auto;
  flex:1;
  min-height:0
}
.service-link {
  display:flex;
  width:100%;
  align-items:center;
  gap:11px;
  border:0;
  background:none;
  color:var(--text-secondary);
  text-align:left;
  padding:9px 11px;
  border-radius:7px;
  margin-bottom:2px;
  font-size:13px;
  line-height:20px
}
.service-link:hover {
  background:var(--surface-hover)
}
.service-link[aria-current=true] {
  background:var(--surface-selected);
  color:var(--accent);
  font-weight:650
}
.service-symbol {
  width:22px;
  height:22px;
  border:1px solid var(--border);
  border-radius:5px;
  display:grid;
  place-items:center;
  font-size:9px;
  font-weight:650;
  background:var(--surface);
  flex-shrink:0
}
.service-link[aria-current=true] .service-symbol {
  border-color:var(--border-accent);
  color:var(--accent)
}
.service-link .ready-dot {
  margin-left:auto;
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--success-dot)
}
.service-link-all {
  margin-bottom:8px
}
.all-services-symbol {
  grid-template-columns:repeat(2,4px);
  grid-template-rows:repeat(2,4px);
  place-content:center;
  gap:2px
}
.all-services-symbol i {
  width:4px;
  height:4px;
  border-radius:1px;
  background:currentColor
}
.service-total {
  margin-left:auto;
  color:var(--muted);
  font-size:10px;
  font-weight:500
}
.service-link[aria-current=true] .service-total {
  color:var(--accent)
}
.service-separator {
  height:1px;
  flex:none;
  margin:0 11px 8px;
  background:var(--border)
}
.sidebar-footer {
  font-size:10px;
  color:var(--muted);
  padding:17px 8px 0;
  display:flex;
  gap:7px;
  align-items:center
}
.local-dot {
  width:6px;
  height:6px;
  border:1px solid var(--icon-muted);
  border-radius:50%
}
.sidebar-placeholder {
  padding:10px
}
.workspace {
  margin-left:236px
}
.topbar {
  height:67px;
  border-bottom:1px solid var(--border);
  background:var(--surface);
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 36px;
  gap:16px
}
.breadcrumb {
  color:var(--muted);
  font-size:12px;
  display:flex;
  gap:13px
}
.breadcrumb strong {
  color:var(--text-secondary);
  font-weight:500
}
.breadcrumb span {
  color:var(--icon-muted)
}
.connection {
  display:flex;
  align-items:center;
  gap:7px;
  font-size:11px;
  color:var(--muted);
  white-space:nowrap
}
.connection i {
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--icon-muted)
}
.connection.online i {
  background:var(--success-dot);
  box-shadow:0 0 0 3px var(--success-bg)
}
.connection.offline {
  color:var(--danger-text)
}
.connection.offline i {
  background:var(--danger-text)
}
main {
  max-width:1500px;
  margin:0 auto;
  padding:33px 36px 0
}
.page-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:27px
}
.page-heading p {
  font-size:12px;
  margin-top:9px
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid transparent;
  border-radius:7px;
  padding:9px 13px;
  font-weight:550;
  font-size:12px;
  min-height:37px;
  white-space:nowrap;
  transition:background .12s
}
.primary {
  background:var(--accent);
  color:var(--on-accent);
  box-shadow:0 1px 2px #1a4e3120
}
.primary:hover:not(:disabled) {
  background:var(--primary-hover)
}
.secondary {
  background:var(--surface);
  border-color:var(--border);
  color:var(--text-secondary)
}
.secondary:hover:not(:disabled) {
  background:var(--surface-hover)
}
.danger {
  background:var(--danger-bg);
  border-color:var(--danger-border);
  color:var(--danger-text)
}
.danger:hover:not(:disabled) {
  background:var(--danger-hover)
}
.launch-panel {
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  box-shadow:0 2px 5px #182e1903
}
.service-summary {
  display:flex;
  gap:13px;
  padding:23px 24px;
  align-items:center;
  min-width:0;
  flex:1
}
.service-avatar {
  width:45px;
  height:45px;
  display:grid;
  place-items:center;
  background:var(--surface-selected);
  color:var(--accent);
  border:1px solid var(--border-accent);
  border-radius:10px;
  font-size:16px;
  letter-spacing:-.5px;
  font-weight:700;
  flex-shrink:0
}
.service-title {
  display:flex;
  align-items:center;
  gap:10px
}
.service-title h2 {
  font-size:20px
}
.service-summary p {
  font-size:11px;
  margin-top:4px;
  overflow-wrap:anywhere
}
.badge {
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:3px 7px;
  border:1px solid transparent;
  border-radius:5px;
  font-size:10px;
  font-weight:550;
  white-space:nowrap;
  line-height:16px
}
.badge::before {
  content:"";
  width:4px;
  height:4px;
  border-radius:50%;
  background:currentColor
}
.badge.neutral {
  background:var(--neutral-bg);
  color:var(--muted);
  border-color:var(--border)
}
.badge.passed {
  background:var(--success-bg);
  color:var(--success-text);
  border-color:var(--success-border)
}
.badge.running,.badge.provisioning,.badge.collecting {
  background:var(--info-bg);
  color:var(--info-text);
  border-color:var(--info-border)
}
.badge.queued {
  background:var(--warning-bg);
  color:var(--warning-text);
  border-color:var(--warning-border)
}
.badge.failed {
  background:var(--danger-bg);
  color:var(--danger-text);
  border-color:var(--danger-border)
}
.badge.cancelled,.badge.interrupted {
  background:var(--neutral-bg);
  color:var(--muted);
  border-color:var(--border)
}
#launch-form {
  display:flex;
  gap:10px;
  align-items:flex-end;
  padding:20px 24px 20px 8px
}
.image-reference-field {
  flex:1 1 360px;
  min-width:280px
}
#image-reference {
  width:min(500px,42vw);
  min-height:37px;
  border:1px solid var(--border);
  border-radius:7px;
  padding:8px 10px;
  background:var(--surface);
  color:var(--text-secondary);
  font:12px ui-monospace,SFMono-Regular,Consolas,monospace
}
#image-reference:focus {
  outline:2px solid var(--accent);
  outline-offset:2px
}
.field-label {
  font-size:10px;
  color:var(--muted);
  display:flex;
  flex-direction:column;
  gap:4px
}
select {
  border:1px solid var(--border);
  border-radius:7px;
  padding:8px 30px 8px 10px;
  background-color:var(--surface);
  color:var(--text-secondary);
  font-size:12px;
  min-height:37px;
  max-width:100%
}
.launch-footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  border-top:1px solid var(--border);
  width:100%;
  padding:11px 24px;
  color:var(--muted);
  font-size:10px
}
.text-button {
  border:0;
  background:none;
  color:var(--text-secondary);
  font-size:11px;
  padding:1px 0;
  white-space:nowrap
}
.text-button:hover {
  text-decoration:underline
}
.launch-footer .text-button span {
  margin-left:5px
}
.manifest-panel {
  width:100%;
  padding:15px 24px;
  border-top:1px solid var(--border)
}
details {
  font-size:12px;
  color:var(--text-secondary)
}
summary {
  cursor:pointer;
  padding:9px 0
}
details pre {
  max-height:360px;
  overflow:auto;
  font-size:11px;
  white-space:pre-wrap;
  background:var(--surface-subtle);
  padding:14px;
  border-radius:6px
}
.runs-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:30px 0 14px;
  gap:12px
}
.runs-heading h2 {
  margin-bottom:3px;
  display:flex;
  align-items:center;
  gap:8px
}
.count {
  font-size:10px;
  padding:1px 6px;
  border:1px solid var(--border);
  border-radius:5px;
  color:var(--muted);
  font-weight:500;
  background:var(--surface)
}
.runs-layout {
  display:grid;
  grid-template-columns:minmax(270px,.9fr) minmax(360px,1.25fr);
  align-items:start;
  gap:17px
}
.runs-panel,.detail-panel {
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  min-width:0;
  overflow:hidden
}
.list-columns {
  display:flex;
  justify-content:space-between;
  padding:13px 18px;
  color:var(--muted);
  font-size:9px;
  letter-spacing:.8px;
  background:var(--surface-subtle);
  border-bottom:1px solid var(--border)
}
#run-list {
  max-height:620px;
  overflow:auto
}
.run-row {
  display:flex;
  width:100%;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:0;
  border-bottom:1px solid var(--border);
  background:var(--surface);
  text-align:left;
  padding:17px 18px;
  min-height:76px;
  position:relative
}
.run-row:hover {
  background:var(--surface-hover)
}
.run-row[aria-current=true] {
  background:var(--surface-selected)
}
.run-row[aria-current=true]::before {
  position:absolute;
  content:"";
  left:0;
  top:12px;
  bottom:12px;
  width:3px;
  background:var(--success-dot);
  border-radius:0 3px 3px 0
}
.row-title {
  display:flex;
  gap:8px;
  align-items:baseline;
  font-size:13px;
  font-weight:600;
  color:var(--text-secondary)
}
.row-id {
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:10px;
  color:var(--muted);
  font-weight:400
}
.row-time {
  font-size:10px;
  color:var(--muted);
  margin-top:5px
}
.list-footer {
  padding:10px 18px;
  background:var(--surface-subtle);
  font-size:10px;
  color:var(--muted);
  text-align:center
}
.empty-state {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:60px 20px;
  color:var(--text-secondary);
  min-height:235px
}
.empty-state p {
  font-size:12px;
  color:var(--muted);
  line-height:1.8;
  margin-top:8px;
  max-width:280px
}
.empty-icon {
  font-size:30px;
  color:var(--icon-muted);
  margin-bottom:9px
}
.detail-empty {
  min-height:310px
}
.detail-empty svg {
  width:43px;
  height:43px;
  stroke:var(--icon-muted);
  fill:var(--surface-hover);
  stroke-width:1.3;
  margin-bottom:16px
}
.detail-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:21px 22px 8px
}
.detail-heading .eyebrow {
  font-size:9px;
  letter-spacing:1px;
  margin-bottom:3px
}
.detail-heading h2 {
  font-size:18px
}
.run-id {
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 22px;
  color:var(--muted);
  min-width:0
}
.run-id code {
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:10px;
  overflow-wrap:anywhere
}
.icon-button {
  border:0;
  background:none;
  color:var(--muted);
  display:grid;
  place-items:center;
  padding:4px
}
.icon-button svg {
  width:13px;
  height:13px
}
.metadata {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px 20px;
  margin:18px 22px
}
.metadata dt {
  font-size:10px;
  color:var(--muted);
  margin-bottom:3px
}
.metadata dd {
  margin:0;
  font-size:11px;
  color:var(--text-secondary);
  overflow-wrap:anywhere
}
.manifest-panel .metadata {
  margin:0 0 12px
}
.run-actions {
  padding:0 22px 18px;
  display:flex;
  gap:9px
}
.run-actions .button {
  font-size:11px;
  padding:7px 11px;
  min-height:32px
}
.run-error {
  margin:0 22px 16px;
  padding:10px 12px;
  border-radius:6px;
  background:var(--danger-bg);
  color:var(--danger-text);
  font-size:11px;
  white-space:pre-wrap;
  overflow-wrap:anywhere
}
.detail-tabs {
  display:flex;
  gap:23px;
  padding:0 22px;
  border-bottom:1px solid var(--border)
}
.detail-tabs button {
  background:none;
  border:0;
  border-bottom:2px solid transparent;
  color:var(--muted);
  padding:10px 0;
  font-size:12px
}
.detail-tabs button[aria-selected=true] {
  color:var(--accent);
  border-bottom-color:var(--accent);
  font-weight:600
}
.detail-tabs span {
  font-size:9px;
  padding:1px 4px;
  border-radius:4px;
  background:var(--neutral-bg);
  margin-left:4px;
  color:var(--muted)
}
.log-toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 18px 10px;
  color:var(--muted);
  font-size:10px
}
.log-toolbar .text-button {
  font-size:10px
}
#logs {
  margin:0 12px 12px;
  padding:16px;
  background:var(--log-bg);
  border:1px solid var(--log-border);
  border-radius:7px;
  color:var(--log-text);
  min-height:180px;
  max-height:440px;
  overflow:auto;
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:11px;
  line-height:1.8;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  tab-size:2
}
.log-limit {
  font-size:10px;
  color:var(--warning-text);
  padding:0 18px 12px
}
.test-results {
  padding:18px 22px;
  min-height:220px
}
.test-results-empty {
  margin:14px 0
}
.test-summary {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
  margin-bottom:18px
}
.test-summary-item {
  border:1px solid var(--border);
  border-radius:7px;
  padding:11px 12px;
  background:var(--surface-subtle)
}
.test-summary-item strong,.test-summary-item span {
  display:block
}
.test-summary-item strong {
  font-size:19px;
  line-height:1.2
}
.test-summary-item span {
  color:var(--muted);
  font-size:9px;
  margin-top:4px;
  text-transform:uppercase;
  letter-spacing:.04em
}
.test-summary-item.passed strong {
  color:var(--success-text)
}
.test-summary-item.failed strong {
  color:var(--danger-text)
}
.test-summary-item.skipped strong {
  color:var(--warning-text)
}
.test-results-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:var(--muted);
  font-size:10px;
  margin-bottom:9px
}
.test-result-list {
  border:1px solid var(--border);
  border-radius:7px;
  overflow:hidden
}
.test-result-item {
  display:grid;
  grid-template-columns:24px minmax(0,1fr);
  gap:9px;
  padding:12px;
  border-bottom:1px solid var(--border)
}
.test-result-item:last-child {
  border-bottom:0
}
.test-result-marker {
  display:grid;
  place-items:center;
  width:20px;
  height:20px;
  border-radius:50%;
  font-size:12px;
  font-weight:700;
  background:var(--neutral-bg);
  color:var(--neutral-text)
}
.test-result-item.passed .test-result-marker {
  background:var(--success-bg);
  color:var(--success-text)
}
.test-result-item.failed .test-result-marker {
  background:var(--danger-bg);
  color:var(--danger-text)
}
.test-result-item.skipped .test-result-marker {
  background:var(--warning-bg);
  color:var(--warning-text)
}
.test-result-title {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  font-size:11px;
  line-height:1.5
}
.test-result-content small {
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:9px;
  overflow-wrap:anywhere
}
.test-status {
  flex:none;
  font-size:9px;
  font-weight:600
}
.test-status.passed { color:var(--success-text) }
.test-status.failed { color:var(--danger-text) }
.test-status.skipped { color:var(--warning-text) }
.test-error {
  margin-top:9px;
  color:var(--danger-text);
  font-size:10px
}
.test-error summary {
  cursor:pointer
}
.test-error pre {
  margin:8px 0 0;
  padding:10px;
  border-radius:6px;
  background:var(--log-bg);
  color:var(--log-text);
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  max-height:220px;
  overflow:auto
}
@media(max-width:720px) {
  .test-results { padding:15px 16px }
  .test-summary { grid-template-columns:repeat(2,minmax(0,1fr)) }
}

#artifacts {
  padding:18px 22px;
  min-height:220px
}
.artifact-item {
  border:1px solid var(--border);
  padding:12px;
  border-radius:7px;
  margin-bottom:9px
}
.artifact-item a {
  font-size:12px;
  font-weight:600;
  text-decoration:none
}
.artifact-item a:hover {
  text-decoration:underline
}
.artifact-item small {
  display:block;
  color:var(--muted);
  font-size:9px;
  overflow-wrap:anywhere;
  margin-top:5px
}
.notice {
  padding:12px 16px;
  border:1px solid var(--warning-border);
  background:var(--warning-bg);
  color:var(--warning-text);
  border-radius:8px;
  font-size:12px;
  margin-bottom:18px;
  overflow-wrap:anywhere
}
.page-footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:var(--muted);
  font-size:10px;
  margin:30px 0;
  padding:15px 0;
  border-top:1px solid var(--border)
}
.footer-divider {
  padding:0 9px;
  color:var(--icon-muted)
}
.toast {
  position:fixed;
  bottom:25px;
  left:50%;
  transform:translateX(-50%);
  background:var(--toast-bg);
  color:var(--toast-text);
  padding:10px 18px;
  border-radius:8px;
  font-size:12px;
  box-shadow:0 6px 25px #12271a20;
  z-index:10;
  max-width:90vw
}
.sr-only,.skip-link:not(:focus) {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%)
}
.skip-link:focus {
  position:fixed;
  top:10px;
  left:250px;
  z-index:20;
  background:var(--surface);
  padding:12px
}
@media(min-width:1500px) {
  main {
    padding-top:42px
  }
  .page-heading {
    margin-bottom:32px
  }
  .launch-panel {
    margin-bottom:7px
  }
}
@media(max-width:1130px) {
  .sidebar {
    width:207px
  }
  .workspace {
    margin-left:207px
  }
  .brand {
    font-size:13px
  }
  .topbar {
    padding:0 24px
  }
  main {
    padding:28px 24px 0
  }
  .runs-layout {
    grid-template-columns:1fr
  }
  .runs-panel #run-list {
    max-height:285px
  }
  .detail-empty {
    min-height:200px
  }
  .service-summary {
    padding:19px
  }
  .launch-footer {
    padding:11px 19px
  }
  #launch-form {
    padding:17px 19px;
    flex-wrap:wrap
  }
}
@media(max-width:720px) {
  .sidebar {
    position:static;
    width:auto;
    height:auto;
    padding:16px 17px;
    border-right:0;
    border-bottom:1px solid var(--border)
  }
  .brand {
    padding:0 0 17px;
    font-size:16px
  }
  .brand small {
    font-size:11px
  }
  .sidebar-label,.sidebar-footer {
    display:none
  }
  .search {
    margin:0 0 12px
  }
  .service-navigation {
    flex-direction:row;
    gap:5px;
    overflow:auto
  }
  #service-list {
    display:flex;
    gap:5px;
    overflow:visible
  }
  .service-link {
    width:auto;
    flex-shrink:0;
    padding:6px 9px
  }
  .service-link .ready-dot {
    margin-left:4px
  }
  .service-link-all {
    margin-bottom:2px
  }
  .service-total {
    margin-left:3px
  }
  .service-separator {
    width:1px;
    height:28px;
    margin:3px 4px;
    align-self:flex-start
  }
  .workspace {
    margin-left:0
  }
  .topbar {
    height:49px;
    padding:0 18px
  }
  .breadcrumb {
    font-size:10px;
    gap:8px
  }
  .connection {
    font-size:10px
  }
  main {
    padding:23px 17px 0
  }
  .page-heading {
    gap:12px;
    margin-bottom:20px;
    align-items:flex-start
  }
  .page-heading .button {
    padding:8px;
    font-size:0;
    gap:0;
    min-width:34px
  }
  .page-heading .button svg {
    width:16px;
    height:16px
  }
  h1 {
    font-size:25px
  }
  .page-heading p {
    font-size:11px;
    max-width:250px
  }
  .service-summary {
    width:100%;
    flex:none;
    padding:18px 16px 9px
  }
  .service-title {
    flex-wrap:wrap;
    gap:6px
  }
  #launch-form {
    width:100%;
    padding:9px 16px 16px;
    flex-wrap:wrap
  }
  #launch-form .field-label {
    flex:1;
    min-width:0
  }
  #launch-form .button {
    font-size:11px;
    padding:9px 11px
  }
  #launch-form .image-reference-field {
    flex-basis:100%;
    order:3
  }
  #image-reference {
    width:100%
  }
  .launch-footer {
    padding:10px 16px;
    align-items:flex-start
  }
  .launch-footer>span {
    font-size:9px;
    max-width:240px
  }
  .runs-heading {
    margin-top:24px
  }
  .runs-heading h2 {
    font-size:15px
  }
  .runs-layout {
    grid-template-columns:minmax(0,1fr);
    gap:13px
  }
  .metadata {
    gap:12px
  }
  .page-footer {
    font-size:9px
  }
  .detail-heading,.detail-tabs {
    padding-left:18px;
    padding-right:18px
  }
  .run-id {
    padding:0 18px
  }
  .skip-link:focus {
    left:10px
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    transition:none!important;
    scroll-behavior:auto!important
  }
}

/* Test case catalog shares the service workspace and its visual language. */
.workspace-tabs { display:flex; gap:26px; border-bottom:1px solid var(--border); margin:26px 0 22px; }
.workspace-tabs button { border:0; border-bottom:2px solid transparent; background:transparent; padding:12px 0; color:var(--muted); font-weight:600; }
.workspace-tabs button[aria-selected="true"] { color:var(--accent); border-bottom-color:var(--accent); }
.case-intro { display:flex; justify-content:space-between; gap:16px; align-items:center; margin-bottom:16px; }
.case-intro h2 { margin-bottom:5px; }
.case-filters { display:flex; gap:12px; margin-bottom:18px; align-items:end; }
.case-filters .field-label { min-width:0; }
.case-filters .case-search { flex:1; }
.case-search input { display:block; width:100%; border:1px solid var(--border); background:var(--surface); border-radius:7px; padding:9px 12px; margin-top:6px; color:inherit; }
.case-layout { display:grid; grid-template-columns:minmax(240px,.85fr) minmax(0,1.55fr); gap:20px; align-items:start; }
.case-list,.case-card { min-width:0; border:1px solid var(--border); border-radius:var(--radius); background:var(--surface); overflow:hidden; }
.case-list { max-height:760px; overflow-y:auto; }
.case-row { display:block; width:100%; padding:17px 18px; border:0; border-bottom:1px solid var(--border); background:transparent; text-align:left; color:inherit; }
.case-row:last-child { border-bottom:0; }
.case-row:hover { background:var(--surface-hover); }
.case-row[aria-current="true"] { background:var(--surface-selected); box-shadow:inset 3px 0 var(--accent); }
.case-row-meta { display:flex; justify-content:space-between; color:var(--muted); font-size:11px; margin-bottom:7px; }
.case-row-meta code { color:var(--accent); }
.case-row-title { display:block; line-height:1.55; font-weight:550; overflow-wrap:anywhere; }
.case-row-status { display:block; color:var(--muted); font-size:10px; margin-top:9px; }
.case-heading { padding:23px 24px 0; }
.case-heading h2 { font-size:18px; line-height:1.5; margin:14px 0 8px; overflow-wrap:anywhere; }
.case-heading>code { font-size:11px; color:var(--muted); overflow-wrap:anywhere; }
.case-badges { display:flex; flex-wrap:wrap; gap:7px; }
.case-ready { background:var(--success-bg); color:var(--success-text); }
.case-draft { background:var(--neutral-bg); color:var(--neutral-text); }
.case-needs-review { background:var(--warning-bg); color:var(--warning-text); }
.case-card .metadata { margin:20px 24px; padding:0; }
.case-card .metadata dd { overflow-wrap:anywhere; }
.case-format { display:flex; flex-wrap:wrap; gap:15px; padding:12px 24px; border-top:1px solid var(--border); border-bottom:1px solid var(--border); background:var(--surface-subtle); }
.case-format button { font-size:11px; }
.case-format button[aria-pressed="false"] { color:var(--muted); }
.case-format #case-download { margin-left:auto; }
.case-content { padding:3px 24px 24px; }
.case-section { margin-top:22px; overflow-wrap:anywhere; }
.case-section h3 { color:var(--text); margin-bottom:8px; }
.case-section ul,.case-section ol { padding-left:20px; margin:0; }
.case-section li { margin:5px 0; font-size:12px; line-height:1.7; }
.case-input { white-space:pre-wrap; overflow-wrap:anywhere; margin:0; background:var(--surface-subtle); border-radius:7px; padding:13px; font-size:11px; }
.case-test-file { display:block; font-size:11px; margin:8px 0; }
.case-sources { border-top:1px solid var(--border); padding-top:18px; font-size:12px; }
.case-sources summary { cursor:pointer; color:var(--accent); }
.case-source { padding:12px 0; border-bottom:1px solid var(--border); }
.case-source p { margin:5px 0; }
.case-source code { display:block; color:var(--muted); font-size:10px; margin-top:4px; }
.case-sources>p { margin-top:10px; }
#runs-view .runs-heading { margin-top:0; }
@media(max-width:1100px) { .case-layout { grid-template-columns:minmax(220px,.85fr) minmax(0,1.15fr); gap:14px; } .case-filters { flex-wrap:wrap; } .case-filters .case-search { flex-basis:100%; } }
@media(max-width:720px) { .case-layout { grid-template-columns:minmax(0,1fr); } .case-list { max-height:300px; } .case-filters>.field-label { flex:1; } .case-filters select { width:100%; font-size:11px; } .case-intro>span { display:none; } .case-heading { padding:18px 16px 0; } .case-card .metadata { margin:16px; } .case-format { padding:12px 16px; } .case-content { padding:3px 16px 20px; } .case-heading h2 { font-size:16px; } }

/* Legacy excluded cases remain visible through the status filter. */
.case-rejected,.case-archived { background:var(--danger-bg); color:var(--danger-text); }

/* The theme control stays available on small screens without crowding the header. */
.topbar-actions { display:flex; align-items:center; gap:18px; }
.theme-toggle { font-size:11px; min-height:34px; }
.theme-toggle .theme-sun { display:none; }
[data-theme="dark"] .theme-toggle .theme-sun { display:block; }
[data-theme="dark"] .theme-toggle .theme-moon { display:none; }
input::placeholder,textarea::placeholder { color:var(--muted); opacity:1; }
@media(max-width:720px) {
  .topbar { height:auto; min-height:49px; flex-wrap:wrap; padding-top:7px; padding-bottom:7px; }
  .topbar-actions { gap:12px; }
  .theme-toggle { padding:7px; }
  #theme-label { display:none; }
}
