/* System font fallbacks keep the local dashboard independent of remote font caches. */
:root {
  font-family:
    'DM Sans',
    Segoe UI,
    sans-serif;
  color: #293047;
  background: #f5f6fa;
  font-synthesis: none;
  --purple: #7050dc;
  --ink: #1d2439;
  --muted: #7b8295;
  --line: #e9ebf2;
  --green: #218367;
  --red: #cf4e60;
  --amber: #ad7718;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #b8a2ff;
  outline-offset: 3px;
}
a {
  color: inherit;
  text-decoration: none;
}
svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.sprite-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.sidebar {
  width: 242px;
  position: fixed;
  inset: 0 auto 0 0;
  background: #191e31;
  color: #b2b8cd;
  padding: 33px 20px 22px;
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: white;
  padding: 0 7px;
  font-family:
    Manrope,
    Segoe UI,
    sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.6px;
}
.brand-mark {
  width: 37px;
  height: 40px;
  background: #9576fb;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
}
.brand-mark svg {
  width: 23px;
  height: 23px;
  stroke-width: 2;
}
.brand-sub {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 3px;
  font-weight: 500;
  color: #a9adc5;
  margin-top: 4px;
}
.version {
  font-size: 9px;
  border: 1px solid #3c4053;
  border-radius: 4px;
  padding: 3px 5px;
  margin-left: auto;
  color: #b8bbcd;
  align-self: flex-start;
  margin-top: 1px;
}
.workspace-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.9px;
  color: #737b94;
  margin: 49px 13px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.workspace-label span {
  font-size: 8px;
  letter-spacing: 1px;
  color: #9b97bf;
  background: #2c2d46;
  padding: 3px 5px;
  border-radius: 3px;
}
nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
nav a {
  font-size: 12.5px;
  font-weight: 500;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 13px;
  border-radius: 7px;
  transition:
    background 0.15s,
    color 0.15s;
}
nav a:hover {
  background: #262c44;
  color: white;
}
nav a.active {
  background: #7660ba24;
  color: #c5b4ff;
}
nav a.active svg {
  color: #b298ff;
}
nav svg {
  width: 18px;
  height: 18px;
  opacity: 0.9;
}
.nav-count {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #ffffff0d;
  margin-left: auto;
}
.nav-divider {
  height: 1px;
  background: #ffffff0a;
  margin: 14px 12px;
}
.sidebar-bottom {
  margin-top: auto;
}
.report-mode {
  margin: 30px 6px 22px;
  padding: 15px 11px;
  border: 1px solid #35394e;
  border-radius: 8px;
  display: flex;
  gap: 10px;
  color: #c2c6d6;
  font-size: 10.5px;
}
.report-mode svg {
  color: #a799d5;
  width: 17px;
}
.report-mode small {
  display: block;
  color: #7f879f;
  font-size: 9px;
  margin-top: 5px;
}
.local-status {
  border-top: 1px solid #ffffff0c;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  color: #929bb3;
  padding: 18px 8px 0;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #49bf99;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px #49bf9910;
}
.dot.muted {
  background: #a1a8b9;
  box-shadow: none;
}
.dot.red {
  background: #e26a7d;
}
.dot.running {
  background: #a48af5;
  animation: pulse 1.4s infinite;
}
.main-shell {
  margin-left: 242px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 73px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 39px;
  gap: 15px;
}
.breadcrumb {
  font-size: 11px;
  color: #9b9fb0;
  display: flex;
  align-items: center;
  gap: 14px;
}
.breadcrumb strong {
  font-weight: 500;
  color: #535c74;
}
.breadcrumb span {
  color: #c9ccd5;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.platform-pill {
  font-size: 9px;
  font-weight: 600;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #747b90;
}
.runner-status {
  font-size: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: #858b9d;
}
main {
  padding: 37px 39px 50px;
  max-width: 1700px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 27px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.7px;
  color: #9b91b2;
  font-weight: 600;
  font-size: 9px;
  margin: 0 0 8px;
}
h1 {
  font-family:
    Manrope,
    Segoe UI,
    sans-serif;
  font-size: 27px;
  letter-spacing: -1px;
  font-weight: 800;
  margin: 0;
  color: #262d42;
}
h2 {
  font-family:
    Manrope,
    Segoe UI,
    sans-serif;
  font-size: 16px;
  letter-spacing: -0.4px;
  font-weight: 750;
  color: #30354d;
  margin: 0;
}
h3 {
  font-size: 13px;
  font-weight: 650;
  margin: 0;
  color: #343a51;
}
p {
  line-height: 1.6;
}
.subtitle {
  font-size: 11px;
  color: #858c9f;
  margin: 8px 0 0;
}
.heading-actions,
.actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #e4e7ee;
  background: #fff;
  color: #515a72;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 550;
  font-size: 10.5px;
  line-height: 18px;
  white-space: nowrap;
  transition:
    background 0.15s,
    transform 0.15s;
}
.btn:hover {
  background: #f7f6fc;
}
.btn:active {
  transform: translateY(1px);
}
.btn svg {
  width: 14px;
  height: 14px;
}
.btn.primary {
  background: #7050dc;
  border-color: #7050dc;
  color: #fff;
  box-shadow: 0 3px 8px #7050dc15;
}
.btn.primary:hover {
  background: #6040cb;
}
.btn.danger {
  color: #cd5367;
  border-color: #f0d6dd;
  background: #fff7f9;
}
.btn.quiet {
  border-color: transparent;
  background: transparent;
}
.btn.small {
  padding: 5px 10px;
  font-size: 10px;
}
.btn.icon {
  padding: 7px;
  min-width: 29px;
}
.btn.ghost-light {
  background: #ffffff12;
  border-color: #ffffff25;
  color: #eee8ff;
}
.hero {
  border: 1px solid #e0d8f1;
  background: #f0edf8;
  border-radius: 10px;
  padding: 28px 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 26px;
}
.hero h2 {
  font-size: 21px;
  letter-spacing: -0.8px;
  margin-bottom: 8px;
}
.hero p {
  max-width: 475px;
  color: #85809a;
  font-size: 11px;
  margin: 0 0 18px;
}
.hero .eyebrow {
  color: #9783bd;
  font-size: 8px;
}
.hero-art {
  width: 176px;
  height: 120px;
  position: relative;
  flex-shrink: 0;
  margin-right: 26px;
}
.art-window {
  width: 154px;
  height: 105px;
  border: 1px solid #cfc4e6;
  transform: rotate(-5deg);
  border-radius: 9px;
  position: absolute;
  top: 3px;
  left: 0;
  background: #fcfaff;
  box-shadow: 8px 9px 0 #e1d9ef55;
}
.art-top {
  height: 22px;
  border-bottom: 1px solid #eee9f4;
  display: flex;
  align-items: center;
  gap: 3px;
  padding-left: 9px;
}
.art-top i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #d2c9df;
}
.art-lines {
  padding: 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.art-lines i {
  height: 5px;
  background: #ede8f7;
  border-radius: 4px;
  width: 80%;
}
.art-lines i:nth-child(2) {
  width: 62%;
}
.art-lines i:nth-child(3) {
  width: 74%;
}
.art-play {
  position: absolute;
  bottom: 3px;
  right: 0;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 5px solid #f0edf8;
  border-radius: 14px;
  background: #8767e5;
  transform: rotate(6deg);
  color: white;
}
.art-play svg {
  fill: white;
  width: 21px;
  height: 21px;
}
.art-spark {
  position: absolute;
  top: -5px;
  right: 0;
  color: #ae99d3;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 29px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 19px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.stat-label {
  color: #8b91a3;
  font-size: 10px;
}
.stat-value {
  font-family: Manrope, sans-serif;
  font-weight: 750;
  font-size: 24px;
  margin-top: 8px;
  color: #30374e;
  letter-spacing: -1px;
}
.stat-note {
  font-size: 9px;
  color: #a0a5b4;
  display: block;
  margin-top: 3px;
}
.stat-icon {
  padding: 8px;
  border-radius: 7px;
  background: #f3effc;
  color: #a18acb;
}
.stat-icon svg {
  width: 16px;
  height: 16px;
}
.stat.green .stat-icon {
  background: #edf7f2;
  color: #70a58f;
}
.stat.red .stat-icon {
  background: #fceff1;
  color: #d38492;
}
.stat.amber .stat-icon {
  background: #fbf6e9;
  color: #c8ab69;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 17px;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 9px;
}
.count-chip {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  background: #eeedf4;
  color: #888399;
  border-radius: 4px;
  min-width: 20px;
  padding: 3px 6px;
  text-align: center;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.tabs {
  display: flex;
  gap: 7px;
}
.tab {
  border: 0;
  background: transparent;
  padding: 7px 11px;
  font-size: 10px;
  color: #979bab;
  border-radius: 5px;
}
.tab.active {
  background: #f1edfb;
  color: #795ac9;
  font-weight: 600;
}
.search {
  position: relative;
  display: flex;
  align-items: center;
}
.search svg {
  width: 13px;
  height: 13px;
  position: absolute;
  left: 10px;
  color: #aaaebe;
}
.search input {
  padding: 8px 10px 8px 30px;
  border: 1px solid var(--line);
  font-size: 10px;
  border-radius: 5px;
  width: 206px;
  background: #fcfcfe;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  font-weight: 500;
  letter-spacing: 0.3px;
  font-size: 9px;
  color: #a0a6b5;
  background: #fcfcfe;
  border-bottom: 1px solid var(--line);
  padding: 12px 15px;
}
td {
  font-size: 10px;
  color: #82899b;
  padding: 17px 15px;
  border-bottom: 1px solid #f0f1f5;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fdfcff;
}
th:first-child,
td:first-child {
  padding-left: 21px;
}
input[type='checkbox'] {
  accent-color: var(--purple);
  width: 13px;
  height: 13px;
  cursor: pointer;
}
.test-name {
  font-size: 11px;
  font-weight: 600;
  color: #3b4258;
  display: block;
  margin-bottom: 6px;
}
.test-name:hover {
  color: var(--purple);
}
.test-meta {
  font-size: 9px;
  color: #a1a6b4;
  display: flex;
  gap: 6px;
  align-items: center;
}
.tag {
  font-size: 8px;
  background: #f4f5f9;
  color: #9196a7;
  padding: 2px 5px;
  border-radius: 3px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid transparent;
  font-size: 9px;
  padding: 4px 7px;
  border-radius: 4px;
  white-space: nowrap;
}
.badge.recorded {
  background: #f1eefb;
  color: #9983c9;
}
.badge.ai {
  background: #edf4fc;
  color: #7597c0;
}
.badge.passed {
  background: #edf7f1;
  color: #418c6d;
}
.badge.failed,
.badge.critical,
.badge.high {
  background: #fff0f2;
  color: #c56777;
}
.badge.needs_review,
.badge.blocked,
.badge.medium {
  background: #fcf6e8;
  color: #b19655;
}
.badge.running,
.badge.queued {
  background: #f1edfc;
  color: #8a71c5;
}
.badge.cancelled,
.badge.interrupted,
.badge.skipped,
.badge.low {
  background: #f0f1f5;
  color: #9398aa;
}
.badge svg {
  width: 11px;
  height: 11px;
}
.run-controls {
  padding: 13px 19px;
  background: #fcfcfe;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 9px;
  color: #959bad;
}
.run-controls select {
  max-width: 210px;
}
.run-controls .spacer {
  flex: 1;
}
.compact-input {
  border: 1px solid #e3e6ed;
  border-radius: 5px;
  padding: 7px 9px;
  background: #fff;
  color: #7c8499;
  font-size: 10px;
}
.repeat-input {
  width: 50px;
}
.note-row {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #979daf;
  font-size: 9px;
  padding: 15px 2px;
}
.note-row svg {
  width: 12px;
  height: 12px;
  color: #afa5ca;
}
.empty {
  padding: 52px 25px;
  text-align: center;
  color: #a0a6b6;
  font-size: 11px;
}
.empty .empty-icon {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: #f3f0fb;
  color: #ac9ad0;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}
.empty h3 {
  margin-bottom: 8px;
}
.empty p {
  max-width: 410px;
  margin: 0 auto 18px;
}
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 1fr);
  gap: 23px;
  align-items: start;
}
.panel-header {
  padding: 19px 21px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.panel-body {
  padding: 22px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 17px;
}
.field label {
  font-size: 10px;
  font-weight: 600;
  color: #727b92;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #e1e4ed;
  border-radius: 5px;
  background: #fff;
  color: #4c566e;
  padding: 10px 11px;
  font-size: 11px;
  min-height: 38px;
}
.field textarea {
  min-height: 90px;
  resize: vertical;
  line-height: 1.6;
}
.field small,
.help {
  font-size: 9px;
  line-height: 1.6;
  color: #9a9fb0;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field-row .field {
  min-width: 0;
}
.connection-strip {
  background: #fff;
  border: 1px solid var(--line);
  padding: 15px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.connection-strip .target-symbol {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #f4f2fb;
  color: #9987bf;
  border-radius: 7px;
}
.connection-strip .target-details {
  flex: 1;
}
.target-details strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #5a6279;
}
.target-details small {
  font-size: 9px;
  color: #a2a6b7;
  display: block;
  margin-top: 4px;
}
.connection-strip select {
  max-width: 240px;
}
.record-indicator {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #bb7883;
}
.record-indicator .dot {
  background: #e66b7e;
  animation: pulse 1.4s infinite;
}
.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.step-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  padding: 15px 20px;
}
.step-number {
  width: 25px;
  height: 25px;
  border: 1px solid #e9e5f3;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 9px;
  color: #a398b6;
  flex-shrink: 0;
}
.step-info {
  min-width: 0;
  flex: 1;
}
.step-info strong {
  font-size: 10px;
  font-weight: 550;
  color: #636b82;
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.6;
}
.step-info small {
  font-size: 9px;
  display: block;
  color: #a4a9b9;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.step-item.assert .step-number {
  color: #80a994;
  background: #f1f8f4;
  border-color: #e3f0e8;
}
.step-actions {
  display: flex;
  gap: 3px;
}
.step-actions .btn {
  font-size: 11px;
  padding: 3px 6px;
  min-width: 24px;
}
.screen-area {
  background: #f6f7fa;
  min-height: 210px;
  display: grid;
  place-items: center;
  padding: 12px;
}
.screen-area img {
  display: block;
  width: 100%;
  border: 1px solid #e4e6ed;
  border-radius: 5px;
  background: white;
}
.screen-placeholder {
  text-align: center;
  color: #a2a6b4;
  font-size: 10px;
  line-height: 1.8;
  padding: 30px;
}
.screen-placeholder svg {
  width: 32px;
  height: 32px;
  display: block;
  margin: 0 auto 15px;
  color: #b9b3ca;
}
.hint-box {
  padding: 15px 17px;
  border-radius: 7px;
  background: #f5f2fc;
  border: 1px solid #eae3f5;
  font-size: 10px;
  line-height: 1.7;
  color: #9586ad;
  margin-top: 17px;
}
.hint-box strong {
  color: #82709f;
}
.record-name {
  border: 0;
  border-bottom: 1px solid #e8e4f1;
  padding: 5px 0;
  width: 100%;
  font-size: 13px;
  font-weight: 600;
  color: #636b83;
  background: transparent;
  margin-bottom: 18px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.target-card,
.ai-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 22px;
}
.card-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.card-title .title-icon {
  width: 34px;
  height: 34px;
  background: #f3f0fc;
  color: #aa96d1;
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-right: 3px;
}
.card-title h3 {
  font-size: 12px;
  flex: 1;
}
.target-address {
  font-size: 10px;
  color: #999fb0;
  margin: 17px 0 9px;
  overflow-wrap: anywhere;
  font-family: Consolas, monospace;
}
.card-details {
  font-size: 9px;
  color: #afb3c0;
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}
.ai-card .subtitle {
  min-height: 38px;
  margin-bottom: 17px;
}
.ai-card .card-title .title-icon {
  background: #ecf3fc;
  color: #91a7c6;
}
.policy-banner {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 14px 18px;
  font-size: 10px;
  color: #939bad;
  margin-bottom: 22px;
}
.policy-banner svg {
  color: #a58dcf;
}
.run-outcome-notice {
  margin-bottom: 22px;
  padding: 18px 24px;
  border: 1px solid #ecd7a9;
  border-radius: 8px;
  background: #fcf6e8;
  color: #72541d;
}
.run-outcome-notice h3 {
  margin-bottom: 8px;
  font-size: 16px;
}
.run-outcome-notice p {
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.7;
}
.run-outcome-notice .notice-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.original-step-status {
  color: #9a7c43;
}
.settings-panel {
  max-width: 760px;
}
.settings-section {
  padding: 25px;
  border-bottom: 1px solid var(--line);
}
.settings-section h3 {
  margin-bottom: 7px;
}
.settings-section .subtitle {
  margin-bottom: 22px;
}
.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: #727b90;
  margin: 14px 0;
}
.switch-row input {
  width: 16px;
  height: 16px;
}
.timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.run-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.run-card .run-icon {
  width: 37px;
  height: 37px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #9c8dbc;
}
.run-info {
  flex: 1;
  min-width: 0;
}
.run-info h3 {
  font-size: 11px;
  margin-bottom: 7px;
}
.run-info small {
  font-size: 9px;
  color: #a1a6b6;
}
.run-summary {
  font-size: 9px;
  color: #959aab;
  margin-top: 7px;
  max-width: 600px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.report-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 22px;
}
.report-content {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 26px;
}
.report-section {
  margin-bottom: 26px;
}
.report-section h3 {
  font-size: 11px;
  margin-bottom: 11px;
  color: #828a9e;
}
.report-section p {
  font-size: 11px;
  line-height: 1.75;
  color: #606a82;
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.result-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.result-box {
  background: #f4f8f5;
  border: 1px solid #e6eee8;
  padding: 16px;
  border-radius: 7px;
}
.result-box.actual {
  background: #fff7f7;
  border-color: #f6e7ea;
}
.result-box h3 {
  color: #88a091;
  font-size: 10px;
}
.result-box.actual h3 {
  color: #c28b96;
}
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.evidence-grid img {
  width: 100%;
  border-radius: 5px;
  border: 1px solid var(--line);
}
.evidence-grid a {
  font-size: 9px;
  color: #9b92b0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.report-aside .panel-body {
  padding: 18px;
}
.data-list {
  display: grid;
  gap: 14px;
}
.data-list dt {
  font-size: 9px;
  color: #a0a5b6;
  margin-bottom: 4px;
}
.data-list dd {
  font-size: 10px;
  color: #6c758d;
  margin: 0;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.report-steps {
  padding-left: 20px;
  margin: 0;
}
.report-steps li {
  font-size: 10px;
  color: #727c92;
  margin-bottom: 12px;
  line-height: 1.7;
}
.log-block {
  font-family: Consolas, monospace;
  font-size: 10px;
  line-height: 1.8;
  overflow: auto;
  max-height: 260px;
  background: #202538;
  color: #b7bfd4;
  border-radius: 6px;
  padding: 15px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.issue-item {
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 17px;
  border-bottom: 1px solid var(--line);
}
.issue-item:last-child {
  border: 0;
}
.issue-item .issue-icon {
  width: 35px;
  height: 35px;
  background: #fcf0f2;
  border: 1px solid #f2e4e8;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #d08d9d;
}
.issue-item .issue-icon svg {
  width: 17px;
}
.issue-item h3 {
  font-size: 11px;
  margin: 0 0 8px;
}
.issue-item p {
  font-size: 10px;
  color: #9aa0af;
  margin: 0;
  max-width: 630px;
}
.issue-info {
  flex: 1;
  min-width: 0;
}
.issue-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 9px;
  color: #b0b4c0;
  margin-top: 12px;
}
.issue-item .badge {
  margin-top: 1px;
}
.back-link {
  font-size: 10px;
  color: #a392bf;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-bottom: 22px;
}
.back-link svg {
  width: 13px;
  transform: rotate(180deg);
}
footer {
  border-top: 1px solid var(--line);
  padding: 17px 39px;
  font-size: 9px;
  color: #b4b8c4;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
dialog {
  border: 1px solid #e1dceb;
  border-radius: 11px;
  width: 680px;
  max-width: calc(100vw - 40px);
  max-height: 90vh;
  padding: 0;
  box-shadow: 0 20px 90px #181a4030;
  color: inherit;
}
dialog.wide {
  width: 900px;
}
dialog::backdrop {
  background: #171e394d;
  backdrop-filter: blur(3px);
}
.modal-header {
  padding: 22px 25px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
}
.modal-header h2 {
  font-size: 16px;
}
.modal-body {
  padding: 24px 25px;
  max-height: 65vh;
  overflow: auto;
}
.modal-footer {
  padding: 17px 25px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  background: #fcfcfe;
  position: sticky;
  bottom: 0;
}
.code-editor {
  font-family: Consolas, monospace !important;
  font-size: 11px !important;
  min-height: 240px !important;
  tab-size: 2;
}
.step-editor-list {
  margin: 10px 0 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  max-height: 260px;
  overflow: auto;
}
.step-editor-list .step-item {
  padding: 12px;
}
.step-editor-list .step-item:last-child {
  border: 0;
}
.field label.checkbox-label {
  display: flex;
  gap: 8px;
  align-items: center;
}
.field label.checkbox-label input {
  width: 14px;
  min-height: 0;
}
.toast-region {
  position: fixed;
  right: 25px;
  bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 100;
}
.toast {
  background: #2e344a;
  color: #f4f1fb;
  padding: 13px 18px;
  font-size: 11px;
  border-radius: 7px;
  max-width: 420px;
  box-shadow: 0 8px 20px #22203d20;
  line-height: 1.6;
}
.toast.error {
  background: #a7455c;
}
.loading-state {
  padding: 100px 20px;
  text-align: center;
  color: #9399ac;
  font-size: 12px;
}
.inline-error {
  font-size: 11px;
  color: #bf6a7c;
  background: #fdf1f4;
  border: 1px solid #f2dfe6;
  padding: 12px;
  border-radius: 5px;
  margin-bottom: 16px;
  line-height: 1.6;
}
.step-controls {
  display: flex;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hidden {
  display: none !important;
}
.muted-text {
  color: #a0a7b7;
}
.mono {
  font-family: Consolas, monospace;
}
.nowrap {
  white-space: nowrap;
}
.connection-select {
  max-width: 300px !important;
  min-width: 160px;
}
.spacer {
  flex: 1;
}
.record-panel {
  min-height: 300px;
}
.step-editor-help {
  padding: 11px;
  border: 1px dashed #ded9ea;
  border-radius: 5px;
  color: #a39ab4;
  font-size: 10px;
  line-height: 1.6;
}
.form-error {
  color: #b9556c;
  font-size: 11px;
  line-height: 1.6;
  margin-right: auto;
}
.target-form-fields {
  display: contents;
}
.read-state {
  margin-top: 14px;
}
.check-line {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 10px;
  color: #8f97a9;
}
.check-line svg {
  color: #73a794;
  width: 15px;
  height: 15px;
}
.busy-overlay {
  pointer-events: none;
  opacity: 0.6;
}
.issue-title-link:hover {
  color: var(--purple);
}
@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}
@media (min-width: 1500px) {
  main {
    padding-top: 44px;
  }
  .hero {
    padding: 32px 35px;
  }
  .stats {
    gap: 20px;
  }
  .stat {
    padding: 21px;
  }
  .hero-art {
    margin-right: 65px;
  }
  .sidebar {
    width: 255px;
  }
  .main-shell {
    margin-left: 255px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 205px;
    padding-left: 13px;
    padding-right: 13px;
  }
  .main-shell {
    margin-left: 205px;
  }
  .brand {
    font-size: 17px;
  }
  .version {
    display: none;
  }
  main {
    padding: 28px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .hero-art {
    margin-right: 0;
    width: 150px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 15px 12px;
  }
  .two-column {
    grid-template-columns: 1fr;
  }
  .report-grid {
    grid-template-columns: 1fr;
  }
  .report-aside .data-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .stat-note {
    font-size: 8px;
  }
  .target-card,
  .ai-card {
    padding: 18px;
  }
  footer {
    padding-left: 25px;
    padding-right: 25px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    width: 66px;
    padding: 22px 9px;
  }
  .brand {
    padding: 0;
  }
  .brand > span:not(.brand-mark),
  .workspace-label,
  .sidebar-bottom {
    display: none;
  }
  .brand-mark {
    width: 39px;
  }
  .sidebar nav {
    margin-top: 32px;
  }
  .sidebar nav a {
    font-size: 0;
    gap: 0;
    padding: 12px;
    justify-content: center;
  }
  .sidebar nav .nav-count {
    display: none;
  }
  .nav-divider {
    margin: 10px;
  }
  .main-shell {
    margin-left: 66px;
  }
  .topbar {
    height: 60px;
    padding: 0 18px;
  }
  .platform-pill {
    display: none;
  }
  main {
    padding: 24px 18px 35px;
  }
  .page-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  h1 {
    font-size: 24px;
  }
  .hero {
    padding: 24px;
  }
  .hero-art {
    display: none;
  }
  .hero h2 {
    font-size: 19px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .connection-strip {
    flex-wrap: wrap;
  }
  .connection-strip .target-details {
    flex-basis: 60%;
  }
  .connection-select {
    max-width: 100% !important;
  }
  .result-pair {
    grid-template-columns: 1fr;
  }
  .report-aside .data-list {
    grid-template-columns: 1fr 1fr;
  }
  .search input {
    width: 170px;
  }
  .toolbar {
    padding: 13px;
  }
  .tabs {
    gap: 0;
  }
  .tab {
    padding: 7px 9px;
  }
  .run-card {
    flex-wrap: wrap;
  }
  .run-card .run-info {
    flex-basis: 60%;
  }
  .breadcrumb {
    font-size: 9px;
    gap: 8px;
  }
  footer span {
    display: none;
  }
  .issue-item {
    padding: 17px;
    flex-wrap: wrap;
  }
  .issue-item .issue-info {
    flex-basis: 65%;
  }
  .report-content {
    padding: 19px;
  }
  .evidence-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
.output-panel,
.storage-panel {
  margin-top: 23px;
}
.output-panel details {
  border: 1px solid var(--line);
  border-radius: 6px;
  margin: 10px 0;
  padding: 12px;
}
.output-panel summary {
  font-size: 11px;
  color: #69758e;
  cursor: pointer;
}
.output-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.output-text {
  font-size: 10px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 260px;
  overflow: auto;
  color: #788399;
  background: #f7f8fc;
  padding: 12px;
  border-radius: 5px;
}
.pending-dialog {
  border: 1px solid #ddd0f7;
  padding: 17px;
  background: #f6f1ff;
  border-radius: 7px;
  margin-bottom: 18px;
  font-size: 11px;
}
.pending-dialog p {
  white-space: pre-wrap;
}
.pending-dialog .actions {
  margin: 12px 0;
}
.pending-dialog small {
  color: #9685ac;
}
.visual-evidence {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.visual-evidence img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 5px;
  margin-top: 8px;
}
.visual-evidence a {
  font-size: 10px;
  color: #8d7faa;
}
.download-output {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 6px;
  margin-top: 9px;
  font-size: 10px;
}
.download-output small {
  flex-basis: 100%;
  font-size: 9px;
  overflow-wrap: anywhere;
}
.coverage-detail {
  white-space: normal;
  min-width: 300px;
  line-height: 1.8;
}
.capability-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.capability-tags .tag {
  font-size: 10px;
  padding: 5px 8px;
}
.storage-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.runner-notice:not([hidden]) {
  margin: 20px 32px 0;
  padding: 14px 18px;
  border: 1px solid #efdfbf;
  border-radius: 10px;
  background: #fff6e7;
  color: #72551e;
  font-size: 13px;
  line-height: 1.6;
}
.recording-warning {
  background: #fff6e7;
  border: 1px solid #efdfbf;
  color: #9d844e;
  padding: 14px;
  font-size: 11px;
  line-height: 1.7;
  margin-bottom: 14px;
}
@media (max-width: 760px) {
  .output-grid,
  .storage-list {
    grid-template-columns: 1fr;
  }
  .visual-evidence {
    grid-template-columns: 1fr;
  }
  .coverage-detail {
    min-width: 250px;
  }
}
