/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --bg: #070b12;
  --sidebar: #080d15;
  --surface: #0d131e;
  --surface-2: #111a27;
  --surface-3: #162131;
  --line: #1d2a3b;
  --text: #eef4fb;
  --muted: #748298;
  --cyan: #3dd8ff;
  --blue: #3e7bff;
  --purple: #896bff;
  --green: #40dfa3;
  --orange: #ffad5c;
  --danger: #ff667d;
}

* {
  box-sizing: border-box;
}

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

body {
  color: var(--text);
  background: var(--bg);
  margin: 0;
  font-family: Inter, PingFang SC, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif;
}

button, textarea {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

h1, h2, h3, p {
  margin-top: 0;
}

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

.sidebar {
  background: linear-gradient(#090f19, #070b12);
  border-right: 1px solid #142031;
  flex-direction: column;
  height: 100vh;
  padding: 22px 14px 16px;
  display: flex;
  position: sticky;
  top: 0;
}

.brand {
  align-items: center;
  gap: 11px;
  padding: 0 10px 21px;
  display: flex;
}

.brand-mark {
  color: #061019;
  background: linear-gradient(135deg, #69e5ff, #497cff);
  border: 1px solid #46dcff80;
  border-radius: 10px;
  place-items: center;
  width: 34px;
  height: 34px;
  font-weight: 900;
  display: grid;
  box-shadow: 0 0 28px #3dd8ff26;
}

.brand strong, .brand span {
  display: block;
}

.brand strong {
  letter-spacing: .01em;
  font-size: 16px;
}

.brand span {
  color: #64738a;
  letter-spacing: .11em;
  text-transform: uppercase;
  margin-top: 2px;
  font-size: 10px;
}

.brand .company-name, .login-brand .company-name {
  color: #8bdff2;
  letter-spacing: .08em;
  white-space: nowrap;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 700;
  display: block;
}

.project-switcher {
  border: 1px solid var(--line);
  background: #0c131f;
  border-radius: 9px;
  align-items: center;
  gap: 9px;
  margin-bottom: 19px;
  padding: 10px;
  display: flex;
}

.project-logo {
  color: #bcefff;
  background: #133349;
  border-radius: 7px;
  place-items: center;
  width: 29px;
  height: 29px;
  font-size: 12px;
  font-weight: 800;
  display: grid;
}

.project-switcher div {
  flex: 1;
  min-width: 0;
}

.project-switcher small, .project-switcher strong {
  display: block;
}

.project-switcher small {
  color: #596a81;
  font-size: 9px;
}

.project-switcher strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 3px;
  font-size: 11px;
  overflow: hidden;
}

.project-switcher button, nav button, .sidebar-foot button, .top-actions button, .card-head button, .run-row button, .case-item button, .agent-card footer button {
  cursor: pointer;
  background: none;
  border: 0;
}

nav {
  gap: 3px;
  display: grid;
}

nav p {
  color: #46556b;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin: 14px 10px 5px;
  font-size: 9px;
  font-weight: 800;
}

nav button {
  color: #738198;
  text-align: left;
  border-radius: 8px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 38px;
  padding: 0 11px;
  font-size: 12px;
  transition: all .2s;
  display: flex;
  position: relative;
}

nav button > span {
  color: #596b82;
  text-align: center;
  width: 17px;
  font-size: 14px;
}

nav button:hover {
  color: #dce7f4;
  background: #101925;
}

nav button.active {
  color: #eafdff;
  box-shadow: inset 2px 0 var(--cyan);
  background: linear-gradient(90deg, #123147, #0f1d2b);
}

nav button.active > span {
  color: var(--cyan);
}

nav button i {
  color: #8da0b9;
  background: #182536;
  border-radius: 6px;
  place-items: center;
  min-width: 18px;
  height: 18px;
  margin-left: auto;
  font-size: 9px;
  font-style: normal;
  display: grid;
}

nav button i.warning-count {
  color: #ffc17b;
  background: #392617;
}

.sidebar-foot {
  border-top: 1px solid #152031;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding: 15px 8px 0;
  display: flex;
}

.avatar {
  color: #cbe9ff;
  background: linear-gradient(135deg, #1b5278, #553e8f);
  border-radius: 9px;
  place-items: center;
  width: 31px;
  height: 31px;
  font-size: 10px;
  font-weight: 800;
  display: grid;
}

.sidebar-foot div:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.sidebar-foot strong, .sidebar-foot span {
  display: block;
}

.sidebar-foot strong {
  font-size: 11px;
}

.sidebar-foot span {
  color: #536278;
  margin-top: 3px;
  font-size: 9px;
}

.sidebar-foot button {
  color: #526075;
}

.workspace {
  background: radial-gradient(circle at 65% -20%, #12284588 0, transparent 35rem), var(--bg);
  min-width: 0;
}

.topbar {
  z-index: 5;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  background: #080d15e8;
  border-bottom: 1px solid #152132;
  justify-content: space-between;
  align-items: center;
  height: 58px;
  padding: 0 34px;
  display: flex;
  position: sticky;
  top: 0;
}

.breadcrumb {
  color: #526178;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  display: flex;
}

.breadcrumb b {
  color: #2d3a4d;
}

.breadcrumb strong {
  color: #aeb9c8;
}

.top-actions {
  align-items: center;
  gap: 9px;
  display: flex;
}

.top-actions button {
  border: 1px solid var(--line);
  color: #7b8aa0;
  background: #0c131f;
  border-radius: 8px;
  place-items: center;
  width: 31px;
  height: 31px;
  display: grid;
  position: relative;
}

.notification i {
  background: var(--orange);
  border-radius: 50%;
  width: 5px;
  height: 5px;
  position: absolute;
  top: 6px;
  right: 6px;
}

.avatar.compact {
  width: 31px;
  height: 31px;
  margin-left: 3px;
}

.account-menu {
  position: relative;
}

.top-actions .account-menu-trigger {
  color: #cbe9ff;
  cursor: pointer;
  background: linear-gradient(135deg, #1b5278, #553e8f);
}

.top-actions .account-menu-trigger[aria-expanded="true"] {
  border-color: #4f91c8;
  box-shadow: 0 0 0 2px #3dd8ff1f;
}

.account-menu-popover {
  z-index: 20;
  background: #0c1420;
  border: 1px solid #26384e;
  border-radius: 10px;
  width: 210px;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  overflow: hidden;
  box-shadow: 0 18px 50px #000a;
}

.account-menu-user {
  border-bottom: 1px solid var(--line);
  gap: 4px;
  padding: 14px;
  display: grid;
}

.account-menu-user strong {
  font-size: 12px;
}

.account-menu-user span, .account-menu-user small {
  color: #718198;
  font-size: 9px;
}

.top-actions .account-menu-logout {
  color: #d9e4f2;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 0;
  justify-content: flex-start;
  gap: 9px;
  width: 100%;
  height: auto;
  min-height: 40px;
  padding: 10px 14px;
  display: flex;
}

.top-actions .account-menu-logout:hover, .top-actions .account-menu-logout:focus-visible {
  color: #fff;
  background: #162335;
}

.data-source {
  color: #728198;
  margin-right: 7px;
  font-size: 9px;
}

.data-source.live {
  color: var(--green);
}

.data-source.demo {
  color: #7997bc;
}

.content {
  width: min(1340px, 100% - 68px);
  margin: 0 auto;
  padding: 42px 0 64px;
}

.integrations-view {
  gap: 22px;
  display: grid;
}

.integration-status {
  border: 1px solid var(--line);
  color: #76869d;
  background: #0d1521;
  border-radius: 999px;
  align-self: flex-start;
  padding: 8px 11px;
  font-size: 9px;
  font-weight: 700;
}

.integration-status.configured {
  color: var(--green);
  background: #0d251d;
  border-color: #25795880;
}

.integration-layout {
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr);
  align-items: start;
  gap: 18px;
  display: grid;
}

.integration-form, .integration-summary {
  padding: 22px;
}

.integration-form fieldset {
  border: 0;
  gap: 17px;
  margin: 0;
  padding: 0;
  display: grid;
}

.integration-form label {
  gap: 7px;
  display: grid;
}

.integration-form label > span {
  color: #91a0b4;
  font-size: 10px;
  font-weight: 700;
}

.integration-form label > small {
  color: #607087;
  font-size: 9px;
  line-height: 1.6;
}

.integration-form input {
  width: 100%;
  min-height: 42px;
  color: var(--text);
  background: #0a111b;
  border: 1px solid #26384e;
  border-radius: 8px;
  outline: none;
  padding: 0 12px;
}

.integration-form input:focus {
  border-color: #3c86b7;
  box-shadow: 0 0 0 3px #3dd8ff14;
}

.integration-actions {
  gap: 10px;
  padding-top: 4px;
  display: flex;
}

.integration-action-hint {
  color: #607087;
  font-size: 9px;
}

.integration-loading {
  color: #718198;
  min-height: 180px;
  font-size: 11px;
}

.integration-summary h2 {
  margin-bottom: 18px;
  font-size: 17px;
}

.integration-summary dl {
  gap: 0;
  margin: 0;
  display: grid;
}

.integration-summary dl > div {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  display: flex;
}

.integration-summary dt {
  color: #65758b;
  font-size: 9px;
}

.integration-summary dd {
  color: #b8c5d5;
  text-align: right;
  margin: 0;
  font-size: 9px;
}

.integration-boundary-note {
  color: #c7ad7c;
  background: #201b13;
  border: 1px solid #5c4c2f;
  border-radius: 8px;
  margin-top: 16px;
  padding: 12px;
  font-size: 9px;
  line-height: 1.7;
}

.integration-test-result {
  border-radius: 8px;
  gap: 5px;
  margin-top: 14px;
  padding: 12px;
  font-size: 9px;
  display: grid;
}

.integration-test-result.success {
  color: #8ee9c2;
  background: #10271f;
}

.integration-test-result.failed {
  color: #ff9aab;
  background: #2a151b;
}

.integration-test-result span {
  line-height: 1.6;
}

.hero-row, .view-heading {
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  display: flex;
}

.eyebrow, .section-kicker {
  color: #4cbfde;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 9px;
  font-size: 9px;
  font-weight: 800;
}

.hero-row h1, .view-heading h1 {
  letter-spacing: -.045em;
  margin-bottom: 10px;
  font-size: clamp(28px, 3.2vw, 39px);
}

.hero-copy, .view-heading > div > p:last-child {
  max-width: 720px;
  color: var(--muted);
  margin-bottom: 0;
  font-size: 12px;
  line-height: 1.7;
}

.hero-actions {
  flex-shrink: 0;
  gap: 9px;
  display: flex;
}

.button {
  border: 1px solid var(--line);
  cursor: pointer;
  background: #111a27;
  border-radius: 8px;
  min-height: 37px;
  padding: 0 16px;
  font-size: 11px;
  font-weight: 700;
}

.button:hover {
  border-color: #3b526d;
}

.button.primary {
  color: #07121a;
  background: linear-gradient(135deg, #63e2ff, #4a8bff);
  border-color: #52dfff66;
  box-shadow: 0 8px 28px #3dd8ff1f;
}

.button.primary:disabled {
  cursor: wait;
  filter: saturate(.4);
  opacity: .7;
}

.button.wide {
  width: 100%;
  margin-top: 4px;
}

.button.secondary {
  color: #b4c0d0;
}

.metrics {
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 31px;
  display: grid;
}

.metric {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #101824, #0b111a);
  border-radius: 11px;
  min-height: 117px;
  padding: 19px;
  position: relative;
  overflow: hidden;
}

.metric:after {
  background: var(--metric-color);
  opacity: .06;
  content: "";
  border-radius: 50%;
  width: 90px;
  height: 90px;
  position: absolute;
  bottom: -34px;
  right: -20px;
}

.metric-icon {
  border: 6px solid var(--metric-color);
  opacity: .75;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  position: absolute;
  top: 18px;
  right: 18px;
}

.metric p {
  color: #65748b;
  margin-bottom: 8px;
  font-size: 10px;
}

.metric strong {
  letter-spacing: -.04em;
  margin-bottom: 8px;
  font-size: 24px;
  display: block;
}

.metric span {
  color: var(--metric-color);
  font-size: 9px;
}

.metric.cyan {
  --metric-color: var(--cyan);
}

.metric.purple {
  --metric-color: var(--purple);
}

.metric.green {
  --metric-color: var(--green);
}

.metric.orange {
  --metric-color: var(--orange);
}

.workflow-card {
  background: linear-gradient(90deg, #0d1824, #0c1420);
  border: 1px solid #1b3044;
  border-radius: 11px;
  margin-top: 12px;
  padding: 17px 19px;
}

.workflow-copy {
  align-items: center;
  gap: 10px;
  display: flex;
}

.workflow-copy p {
  margin-bottom: 3px;
}

.workflow-copy strong {
  font-size: 12px;
}

.pulse-dot {
  background: #435369;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  box-shadow: 0 0 0 4px #43536916;
}

.pulse-dot.active {
  background: var(--cyan);
  animation: 1.3s infinite pulse;
  box-shadow: 0 0 0 5px #3dd8ff16, 0 0 18px #3dd8ff99;
}

.workflow-steps {
  grid-template-columns: repeat(6, 1fr);
  margin-top: 15px;
  display: grid;
}

.workflow-step {
  color: #4a5a70;
  align-items: center;
  gap: 7px;
  display: flex;
  position: relative;
}

.workflow-step:not(:last-child):after {
  content: "";
  background: #26364a;
  width: 18%;
  height: 1px;
  position: absolute;
  right: 6px;
}

.workflow-step span {
  border: 1px solid #27364a;
  border-radius: 50%;
  place-items: center;
  width: 22px;
  height: 22px;
  font-size: 8px;
  display: grid;
}

.workflow-step small {
  font-size: 9px;
}

.workflow-step.current {
  color: #aeefff;
}

.workflow-step.current span {
  color: var(--cyan);
  background: #123447;
  border-color: #3dd8ff88;
}

.healing-result {
  background: #0d2a243d;
  border: 1px solid #226d5b;
  border-radius: 8px;
  align-items: center;
  gap: 11px;
  margin-top: 14px;
  padding: 11px;
  display: flex;
}

.result-mark {
  color: #062018;
  background: var(--green);
  border-radius: 50%;
  place-items: center;
  width: 25px;
  height: 25px;
  font-weight: 900;
  display: grid;
}

.healing-result div:nth-child(2) {
  flex: 1;
}

.healing-result strong {
  font-size: 10px;
}

.healing-result p {
  color: #6f9a91;
  margin: 3px 0 0;
  font-family: monospace;
  font-size: 9px;
}

.score-pair {
  gap: 8px;
  display: flex;
}

.score-pair span {
  color: #75e6c1;
  background: #143b31;
  border-radius: 5px;
  padding: 5px 7px;
  font-size: 8px;
}

.card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #0e1621, #0a1018);
  border-radius: 11px;
}

.dashboard-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, .75fr);
  gap: 12px;
  margin-top: 12px;
  display: grid;
}

.chart-card, .coverage-card, .runs-card {
  padding: 19px;
}

.card-head {
  justify-content: space-between;
  align-items: flex-start;
  display: flex;
}

.card-head p {
  color: #56667b;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 5px;
  font-size: 8px;
  font-weight: 800;
}

.card-head h2 {
  margin-bottom: 0;
  font-size: 15px;
}

.card-head button {
  color: #60809f;
  font-size: 9px;
}

.card-head button span {
  color: var(--cyan);
  margin-left: 4px;
}

.chart-area {
  background: repeating-linear-gradient(#0000 0 49px, #182536 50px);
  border-bottom: 1px solid #1f2d3e;
  height: 155px;
  margin-top: 16px;
  padding-left: 33px;
  position: relative;
}

.chart-guides {
  color: #45546a;
  flex-direction: column;
  justify-content: space-between;
  font-size: 8px;
  display: flex;
  position: absolute;
  top: -5px;
  bottom: 0;
  left: 0;
}

.bars {
  justify-content: space-around;
  align-items: flex-end;
  height: 100%;
  display: flex;
}

.bar-column {
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 7px;
  width: 8%;
  height: 100%;
  display: flex;
}

.bar {
  background: linear-gradient(#3dd8ff, #2769b8);
  border-radius: 4px 4px 0 0;
  width: 100%;
  min-height: 28%;
  box-shadow: 0 0 18px #3dd8ff16;
}

.bar-column small {
  color: #48586d;
  white-space: nowrap;
  font-size: 7px;
}

.coverage-ring {
  background: conic-gradient(var(--purple) var(--coverage), #1b2636 0);
  border-radius: 50%;
  place-items: center;
  width: 126px;
  height: 126px;
  margin: 15px auto 11px;
  display: grid;
}

.coverage-ring:before {
  content: "";
  background: #0c131d;
  border-radius: 50%;
  width: 98px;
  height: 98px;
  position: absolute;
}

.coverage-ring div {
  z-index: 1;
  text-align: center;
}

.coverage-ring strong, .coverage-ring span {
  display: block;
}

.coverage-ring strong {
  font-size: 23px;
}

.coverage-ring span {
  color: #64748b;
  margin-top: 3px;
  font-size: 8px;
}

.coverage-legend {
  color: #68778c;
  justify-content: center;
  gap: 9px;
  font-size: 8px;
  display: flex;
}

.runs-card {
  margin-top: 12px;
}

.run-table {
  margin-top: 10px;
}

.run-row {
  border-top: 1px solid #172333;
  grid-template-columns: 30px minmax(170px, 1fr) 55px 110px 24px;
  align-items: center;
  gap: 11px;
  min-height: 53px;
  display: grid;
}

.run-icon {
  color: #55cde9;
  background: #123041;
  border-radius: 7px;
  place-items: center;
  width: 25px;
  height: 25px;
  font-size: 8px;
  display: grid;
}

.run-name strong, .run-name span {
  display: block;
}

.run-name strong {
  font-size: 10px;
}

.run-name span, .run-detail {
  color: #56657a;
  margin-top: 4px;
  font-size: 8px;
}

.run-detail {
  margin-top: 0;
}

.status-pill {
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding: 4px 8px;
  font-size: 8px;
  display: inline-flex;
}

.status-pill.good, .status-pill.online {
  color: #69dfb8;
  background: #12392e;
}

.status-pill.bad, .status-pill.offline {
  color: #ff8fa0;
  background: #3b1d26;
}

.status-pill.busy {
  color: #7cdaf4;
  background: #153746;
}

.run-row button {
  color: #54657a;
}

.workspace-view {
  gap: 26px;
  display: grid;
}

.view-heading {
  align-items: center;
}

.model-badge {
  color: #6ccce5;
  background: #102635;
  border: 1px solid #28516a;
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 9px;
}

.generator-layout, .run-detail-grid {
  grid-template-columns: minmax(320px, .78fr) minmax(460px, 1.22fr);
  gap: 14px;
  display: grid;
}

.source-card, .cases-card, .execution-card, .evidence-card {
  padding: 22px;
}

.source-card label {
  color: #718198;
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 700;
  display: block;
}

.file-input {
  background: #0b121c;
  border: 1px solid #203047;
  border-radius: 8px;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
  padding: 12px;
  display: flex;
}

.file-input > span {
  color: #85dff4;
  background: #133143;
  border-radius: 6px;
  place-items: center;
  width: 34px;
  height: 37px;
  font-size: 8px;
  font-weight: 800;
  display: grid;
}

.file-input div {
  flex: 1;
}

.file-input strong, .file-input small {
  display: block;
}

.file-input strong {
  font-size: 10px;
}

.file-input small {
  color: #56667c;
  margin-top: 4px;
  font-size: 8px;
}

.file-input button {
  color: #6c8eaa;
  cursor: pointer;
  background: none;
  border: 0;
  font-size: 9px;
}

.source-card textarea {
  resize: vertical;
  color: #cbd7e5;
  background: #0b121c;
  border: 1px solid #203047;
  border-radius: 8px;
  width: 100%;
  min-height: 150px;
  padding: 13px;
  font-size: 11px;
  line-height: 1.7;
}

.source-options {
  gap: 9px;
  margin: 12px 0;
  display: flex;
}

.source-options span {
  color: #6acfb1;
  background: #123328;
  border-radius: 5px;
  padding: 5px 8px;
  font-size: 8px;
}

.case-summary {
  border-bottom: 1px solid #1a2737;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  display: flex;
}

.case-summary h2 {
  margin-bottom: 0;
  font-size: 16px;
}

.case-summary > span {
  color: var(--green);
  font-size: 8px;
}

.empty-state {
  text-align: center;
  align-content: center;
  place-items: center;
  min-height: 330px;
  display: grid;
}

.empty-state div {
  width: 52px;
  height: 52px;
  color: var(--cyan);
  background: #10283a;
  border: 1px solid #31536d;
  border-radius: 15px;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
  display: grid;
}

.empty-state p {
  margin: 15px 0 6px;
  font-size: 12px;
}

.empty-state span {
  color: #58687d;
  max-width: 330px;
  font-size: 9px;
  line-height: 1.6;
}

.case-list {
  gap: 9px;
  margin-top: 14px;
  display: grid;
}

.case-item {
  background: #0c131d;
  border: 1px solid #1c2a3b;
  border-radius: 8px;
  padding: 14px;
}

.case-item h3 {
  margin: 9px 0 6px;
  font-size: 11px;
}

.case-item p {
  color: #5f6e82;
  margin-bottom: 0;
  font-size: 8px;
}

.case-item button {
  float: right;
  color: #5fbdd7;
  margin-top: -14px;
  font-size: 8px;
}

.case-category, .priority {
  border-radius: 4px;
  padding: 3px 6px;
  font-size: 7px;
  display: inline-block;
}

.case-category.positive {
  color: #68deb8;
  background: #12362c;
}

.case-category.negative {
  color: #ff9aab;
  background: #3a1f27;
}

.case-category.boundary {
  color: #e5be77;
  background: #3b2d19;
}

.priority {
  color: #93a3b8;
  background: #1a2635;
  margin-left: 5px;
}

.execution-title {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.execution-title > div {
  align-items: center;
  gap: 12px;
  display: flex;
}

.execution-title small {
  color: #53647b;
  font-size: 8px;
}

.execution-title h2 {
  margin: 4px 0 0;
  font-size: 15px;
}

.large-status {
  color: #8795aa;
  background: #182332;
  border-radius: 6px;
  padding: 6px 9px;
  font-size: 8px;
}

.large-status.healing {
  color: #ffd08c;
  background: #3a2b16;
}

.large-status.passed {
  color: #6fe0ba;
  background: #12382e;
}

.execution-meta {
  border: 1px solid #1a2839;
  border-radius: 8px;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 19px 0;
  padding: 12px;
  display: grid;
}

.execution-meta span {
  color: #59697e;
  font-size: 8px;
}

.execution-meta strong {
  color: #b9c5d4;
  margin-top: 4px;
  font-size: 9px;
  display: block;
}

.timeline {
  display: grid;
}

.timeline-item {
  grid-template-columns: 24px 1fr;
  gap: 10px;
  min-height: 68px;
  display: grid;
  position: relative;
}

.timeline-item:not(:last-child):after {
  content: "";
  background: #263548;
  width: 1px;
  position: absolute;
  top: 24px;
  bottom: 0;
  left: 11px;
}

.timeline-item > span {
  z-index: 1;
  color: #071811;
  background: #101824;
  border: 1px solid #2b3b50;
  border-radius: 50%;
  place-items: center;
  width: 23px;
  height: 23px;
  font-size: 8px;
  display: grid;
}

.timeline-item.done > span {
  background: #48d5a5;
  border-color: #48d5a5;
}

.timeline-item.warning.done > span {
  border-color: var(--orange);
  background: var(--orange);
}

.timeline-item.healed.done > span {
  border-color: var(--cyan);
  background: var(--cyan);
}

.timeline-item strong {
  color: #7c899c;
  font-size: 10px;
}

.timeline-item.done strong {
  color: #d4deea;
}

.timeline-item p {
  color: #536277;
  margin: 5px 0 0;
  font-size: 8px;
}

.evidence-card h2 {
  margin-bottom: 17px;
  font-size: 16px;
}

.evidence-item {
  border-top: 1px solid #182536;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  display: flex;
}

.evidence-item > span {
  color: #70cbe2;
  background: #123040;
  border-radius: 6px;
  place-items: center;
  width: 30px;
  height: 30px;
  font-size: 7px;
  font-weight: 800;
  display: grid;
}

.evidence-item strong, .evidence-item small {
  display: block;
}

.evidence-item strong {
  font-size: 9px;
}

.evidence-item small {
  color: #526278;
  margin-top: 3px;
  font-size: 7px;
}

.jira-box {
  background: #101d2b;
  border: 1px solid #274461;
  border-radius: 8px;
  gap: 10px;
  margin-top: 16px;
  padding: 13px;
  display: flex;
}

.jira-box > span {
  color: #6fb5ff;
  font-size: 9px;
  font-weight: 900;
}

.jira-box strong {
  font-size: 9px;
}

.jira-box p {
  color: #5c7189;
  margin: 4px 0 0;
  font-size: 7px;
  line-height: 1.5;
}

.agent-summary {
  border: 1px solid var(--line);
  background: #0d151f;
  border-radius: 10px;
  grid-template-columns: repeat(4, 1fr);
  display: grid;
  overflow: hidden;
}

.agent-summary div {
  border-right: 1px solid var(--line);
  padding: 16px 20px;
}

.agent-summary div:last-child {
  border: 0;
}

.agent-summary strong, .agent-summary span {
  display: block;
}

.agent-summary strong {
  font-size: 19px;
}

.agent-summary span {
  color: #65748a;
  margin-top: 5px;
  font-size: 8px;
}

.agent-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  display: grid;
}

.agent-card {
  padding: 19px;
}

.agent-head {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.agent-machine {
  width: 35px;
  height: 35px;
  color: var(--cyan);
  background: #102638;
  border: 1px solid #28506a;
  border-radius: 9px;
  place-items: center;
  font-weight: 900;
  display: grid;
}

.agent-card h2 {
  margin: 14px 0 4px;
  font-size: 13px;
}

.agent-card > p {
  color: #58687d;
  font-family: monospace;
  font-size: 8px;
}

.label-row {
  flex-wrap: wrap;
  gap: 5px;
  margin: 14px 0;
  display: flex;
}

.label-row span {
  color: #75869c;
  background: #172231;
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 7px;
}

.capacity > div:first-child {
  color: #607087;
  justify-content: space-between;
  font-size: 8px;
  display: flex;
}

.capacity strong {
  color: #a8b6c8;
}

.capacity-track {
  background: #192536;
  border-radius: 9px;
  height: 4px;
  margin-top: 8px;
  overflow: hidden;
}

.capacity-track i {
  border-radius: inherit;
  background: linear-gradient(90deg, #3dd8ff, #776fff);
  height: 100%;
  display: block;
}

.agent-card footer {
  border-top: 1px solid #192536;
  justify-content: space-between;
  margin-top: 17px;
  padding-top: 13px;
  display: flex;
}

.agent-card footer span {
  color: #4e806e;
  font-size: 7px;
}

.agent-card footer button {
  color: #5987a4;
  font-size: 8px;
}

@keyframes pulse {
  50% {
    opacity: .7;
    transform: scale(.72);
  }
}

@media (max-width: 1050px) {
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .workflow-step:not(:last-child):after {
    display: none;
  }

  .agent-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .app-shell {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .sidebar {
    padding-inline: 9px;
  }

  .brand {
    justify-content: center;
    padding-inline: 0;
  }

  .brand > div:last-child, .project-switcher div, .project-switcher button, nav p, nav button:not(.active) {
    display: none;
  }

  .project-switcher {
    justify-content: center;
    padding: 8px;
  }

  .project-logo {
    flex: none;
  }

  .sidebar nav button.active {
    justify-content: center;
    padding: 0;
    font-size: 0;
    display: grid;
  }

  .sidebar nav button.active > span {
    width: auto;
    font-size: 16px;
  }

  .sidebar nav button i, .sidebar-foot div:not(.avatar), .sidebar-foot button {
    display: none;
  }

  .sidebar-foot {
    justify-content: center;
    padding-inline: 0;
  }

  .content {
    width: min(100% - 34px, 1100px);
  }

  .topbar {
    padding: 0 18px;
  }

  .dashboard-grid, .generator-layout, .run-detail-grid, .agent-grid, .integration-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 590px) {
  .content {
    padding-top: 26px;
  }

  .hero-row, .view-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    flex: 1;
  }

  .metrics {
    grid-template-columns: 1fr 1fr;
  }

  .metric {
    min-height: 105px;
    padding: 15px;
  }

  .metric strong {
    font-size: 20px;
  }

  .workflow-steps {
    grid-template-columns: 1fr 1fr;
  }

  .healing-result {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .score-pair {
    margin-left: 36px;
  }

  .run-row {
    grid-template-columns: 30px 1fr 50px;
  }

  .run-detail, .run-row > button {
    display: none;
  }

  .agent-summary {
    grid-template-columns: 1fr 1fr;
  }

  .agent-summary div:nth-child(2) {
    border-right: 0;
  }

  .agent-summary div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .execution-meta {
    grid-template-columns: 1fr 1fr;
  }

  .top-actions .data-source, .top-actions button:first-of-type {
    display: none;
  }
}

.orders-view {
  gap: 18px;
}

.order-filters {
  grid-template-columns: minmax(240px, 1fr) 190px auto auto;
  align-items: end;
  gap: 12px;
  padding: 16px;
  display: grid;
}

.order-filters label {
  gap: 7px;
  display: grid;
}

.order-filters label > span {
  color: #6e7e94;
  font-size: 9px;
  font-weight: 700;
}

.order-filters input, .order-filters select {
  color: #cfdae7;
  width: 100%;
  height: 38px;
  font: inherit;
  background: #0a111b;
  border: 1px solid #213147;
  border-radius: 7px;
  padding: 0 11px;
  font-size: 10px;
}

.order-filters input:focus-visible, .order-filters select:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.order-result-count {
  color: #63748b;
  white-space: nowrap;
  align-self: center;
  font-size: 9px;
}

.order-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  align-items: start;
  gap: 14px;
  display: grid;
}

.order-list {
  overscroll-behavior-inline: contain;
  scrollbar-gutter: stable;
  min-width: 0;
  overflow: auto hidden;
}

.order-table-head, .order-row {
  grid-template-columns: minmax(250px, 1fr) 110px 115px;
  align-items: center;
  gap: 16px;
  min-width: 560px;
  display: grid;
}

.order-table-head {
  color: #526278;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: #0c141f;
  min-height: 42px;
  padding: 0 17px;
  font-size: 8px;
  font-weight: 800;
}

.order-row {
  width: 100%;
  min-height: 76px;
  color: inherit;
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  border-top: 1px solid #172435;
  padding: 12px 17px;
}

.order-row:hover, .order-row.selected {
  background: #102031;
}

.order-row.selected {
  box-shadow: inset 2px 0 var(--cyan);
}

.order-row > span, .order-identity strong, .order-identity small, .order-amount strong, .order-amount small, .order-row > span > small {
  display: block;
}

.order-identity strong, .order-amount strong {
  font-size: 10px;
}

.order-identity small, .order-amount small, .order-row > span > small {
  color: #586980;
  margin-top: 6px;
  font-size: 8px;
}

.order-amount {
  text-align: right;
}

.order-status {
  color: #73d8f2;
  white-space: nowrap;
  background: #143343;
  border-radius: 999px;
  width: fit-content;
  padding: 4px 7px;
  font-size: 8px;
  font-style: normal;
  display: inline-flex;
}

.order-status.pending_payment {
  color: #f3bd75;
  background: #3a2a18;
}

.order-status.partially_shipped, .order-status.fulfilling, .order-status.shipped {
  color: #a99cff;
  background: #282343;
}

.order-status.completed {
  color: #68dfb7;
  background: #12382e;
}

.order-detail {
  padding: 20px;
  position: sticky;
  top: 76px;
}

.order-detail-head {
  border-bottom: 1px solid #1b293a;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  display: flex;
}

.order-detail-head span {
  color: #57677d;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 8px;
  font-weight: 800;
}

.order-detail-head h2 {
  margin: 6px 0 0;
  font-size: 14px;
}

.order-summary-grid {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0 0;
  display: grid;
}

.order-summary-grid div {
  background: #0b121c;
  border: 1px solid #1b2a3c;
  border-radius: 7px;
  padding: 10px;
}

.order-summary-grid .wide {
  grid-column: 1 / -1;
}

.order-summary-grid dt, .amount-breakdown dt {
  color: #53647a;
  font-size: 8px;
}

.order-summary-grid dd, .amount-breakdown dd {
  color: #bdc9d8;
  margin: 5px 0 0;
  font-size: 9px;
}

.order-section-title {
  justify-content: space-between;
  align-items: center;
  margin: 21px 0 9px;
  display: flex;
}

.order-section-title h3 {
  margin: 0;
  font-size: 11px;
}

.order-section-title span {
  color: #53647a;
  font-size: 8px;
}

.order-items {
  display: grid;
}

.order-items > div {
  border-top: 1px solid #172536;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  display: grid;
}

.product-mark {
  color: #74cde4;
  background: #123041;
  border-radius: 6px;
  place-items: center;
  width: 29px;
  height: 29px;
  font-size: 7px;
  font-weight: 800;
  display: grid;
}

.order-items strong, .order-items small {
  display: block;
}

.order-items strong, .order-items b {
  font-size: 9px;
}

.order-items small {
  color: #53647a;
  margin-top: 4px;
  font-size: 7px;
}

.amount-breakdown {
  background: #0a111a;
  border-radius: 7px;
  gap: 7px;
  margin: 12px 0 0;
  padding: 12px;
  display: grid;
}

.amount-breakdown > div {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.amount-breakdown dd {
  margin: 0;
}

.amount-breakdown .total {
  border-top: 1px solid #1b293a;
  margin-top: 3px;
  padding-top: 9px;
}

.amount-breakdown .total dd {
  color: #75e5ff;
  font-size: 12px;
  font-weight: 800;
}

.order-events {
  display: grid;
}

.order-events > div {
  grid-template-columns: 12px 1fr;
  gap: 8px;
  min-height: 45px;
  display: grid;
}

.order-events i {
  border: 2px solid #55d7f5;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  margin-top: 3px;
  box-shadow: 0 0 0 4px #3dd8ff12;
}

.order-events strong, .order-events small {
  display: block;
}

.order-events strong {
  font-size: 9px;
}

.order-events small {
  color: #56677d;
  margin-top: 4px;
  font-size: 7px;
  line-height: 1.5;
}

.order-empty {
  color: #617188;
  place-items: center;
  min-height: 220px;
  font-size: 10px;
  display: grid;
}

@media (max-width: 1120px) {
  .order-layout {
    grid-template-columns: 1fr;
  }

  .order-detail {
    position: static;
  }
}

@media (max-width: 760px) {
  .order-filters {
    grid-template-columns: 1fr 1fr;
  }

  .order-layout {
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .order-filters {
    grid-template-columns: 1fr;
  }

  .order-result-count {
    justify-self: end;
  }
}

.browser-lab-view {
  position: relative;
}

.browser-session-status {
  color: #657991;
  border: 1px solid #22344b;
  border-radius: 999px;
  align-self: flex-start;
  padding: 7px 10px;
  font-size: 8px;
  font-weight: 800;
}

.browser-session-status.active {
  color: #62e1c2;
  border-color: #176a70;
}

.test-pipeline-strip {
  background: linear-gradient(135deg, #0a1523, #08111d);
  border: 1px solid #1b2d42;
  border-radius: 10px;
  grid-template-columns: minmax(220px, .8fr) minmax(480px, 1.7fr);
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding: 12px 14px;
  display: grid;
}

.pipeline-source {
  gap: 3px;
  min-width: 0;
  display: grid;
}

.pipeline-source span {
  color: #35d7ff;
  letter-spacing: .14em;
  font-size: 7px;
  font-weight: 800;
}

.pipeline-source strong, .pipeline-source small {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.pipeline-source strong {
  color: #c5d5e6;
  font-size: 10px;
}

.pipeline-source small {
  color: #5d7189;
  font-size: 8px;
}

.pipeline-stages {
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  display: grid;
}

.pipeline-stages button {
  color: #647a92;
  background: #091421;
  border: 1px solid #1c3046;
  border-radius: 7px;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 8px;
  display: flex;
}

.pipeline-stages button b {
  color: #4d657e;
  font-size: 8px;
}

.pipeline-stages button.active {
  color: #d3e8f5;
  border-color: #2ccff6;
  box-shadow: inset 0 0 18px #2ccff612;
}

.pipeline-stages button.done b {
  color: #4ee0b7;
}

.scenario-characteristics {
  background: #091421;
  border: 1px solid #1c3046;
  border-radius: 8px;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;
  display: flex;
}

.scenario-characteristics strong {
  color: #4bcbe7;
  width: 100%;
  font-size: 8px;
}

.scenario-characteristics span {
  color: #8196ad;
  background: #101f30;
  border-radius: 999px;
  padding: 4px 7px;
  font-size: 8px;
}

.page-analysis-panel {
  background: linear-gradient(145deg, #0d1a28, #080f18);
  border-color: #25465e;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 18px 50px #0000002e;
}

.page-analysis-panel.analyzing {
  border-color: #2787a3;
  box-shadow: 0 0 0 1px #35d7ff14, 0 18px 60px #0000003d;
}

.page-analysis-head, .remote-browser-head {
  border-bottom: 1px solid #1d3043;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  display: flex;
}

.page-analysis-head h2, .remote-browser-head h2 {
  color: #d4e3ee;
  margin: 4px 0 0;
  font-size: 16px;
}

.page-analysis-head > div > p:last-child {
  color: #668097;
  margin: 6px 0 0;
  font-size: 9px;
}

.analysis-live-status {
  color: #64dfbd;
  background: #0d2825;
  border: 1px solid #1d625f;
  border-radius: 999px;
  flex: none;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  font-size: 8px;
  font-weight: 800;
  display: flex;
}

.analysis-live-status i, .remote-browser-state > i {
  background: #49dfb6;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 4px #49dfb61a;
}

.analyzing .analysis-live-status i, .phase-running .remote-browser-state > i, .phase-healing .remote-browser-state > i {
  animation: 1.4s ease-in-out infinite remote-pulse;
}

.analysis-stage-track {
  background: #070f18a6;
  border-bottom: 1px solid #1b2b3d;
  grid-template-columns: repeat(4, 1fr);
  padding: 14px 20px;
  display: grid;
}

.analysis-stage-track > div {
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding-right: 12px;
  display: grid;
  position: relative;
}

.analysis-stage-track > div:not(:last-child):after {
  content: "";
  background: #244052;
  height: 1px;
  position: absolute;
  top: 11px;
  left: 29px;
  right: 5px;
}

.analysis-stage-track b {
  z-index: 1;
  color: #071711;
  background: #4dd8b0;
  border: 1px solid #2b5265;
  border-radius: 50%;
  place-items: center;
  width: 22px;
  height: 22px;
  font-size: 8px;
  display: grid;
}

.analysis-stage-track .current b {
  color: #8ce8f7;
  background: #12384a;
  animation: 1.4s ease-in-out infinite remote-pulse;
}

.analysis-stage-track span {
  z-index: 1;
  background: #09131e;
  gap: 3px;
  min-width: 0;
  padding-right: 6px;
  display: grid;
}

.analysis-stage-track strong {
  color: #b9cad8;
  font-size: 8px;
}

.analysis-stage-track small {
  color: #536d83;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 7px;
  overflow: hidden;
}

.page-analysis-grid {
  grid-template-columns: minmax(420px, 1.35fr) minmax(300px, .85fr);
  gap: 14px;
  padding: 16px;
  display: grid;
}

.analysis-browser-frame, .remote-browser-viewport {
  background: #050a10;
  border: 1px solid #263b50;
  border-radius: 9px;
  overflow: hidden;
}

.analysis-browser-bar, .remote-browser-toolbar {
  color: #4b6075;
  background: #101a26;
  border-bottom: 1px solid #213447;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 7px 10px;
  font-size: 7px;
  display: flex;
}

.analysis-browser-bar > span:first-child {
  color: #fb7185;
}

.analysis-browser-bar > span:nth-child(2) {
  color: #f9c458;
}

.analysis-browser-bar > span:nth-child(3) {
  color: #53d99d;
}

.analysis-browser-bar strong, .remote-browser-toolbar strong {
  color: #7890a5;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #09121c;
  border-radius: 5px;
  flex: 1;
  margin-left: 4px;
  padding: 5px 8px;
  font-weight: 500;
  overflow: hidden;
}

.analysis-browser-bar small, .remote-browser-toolbar small {
  color: #4f657a;
  white-space: nowrap;
}

.analysis-screenshot, .remote-browser-screen {
  aspect-ratio: 16 / 9;
  background: #05090e;
  position: relative;
  overflow: hidden;
}

.analysis-screenshot img, .remote-browser-screen img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  display: block;
}

.analysis-scan-line {
  background: linear-gradient(90deg, #0000, #38d9ff, #0000);
  height: 2px;
  animation: 2.2s ease-in-out infinite analysis-scan;
  position: absolute;
  left: 0;
  right: 0;
  box-shadow: 0 0 18px #38d9ff;
}

.analysis-element-inventory {
  background: #08111b;
  border: 1px solid #22384c;
  border-radius: 9px;
  grid-template-rows: auto minmax(150px, 1fr) auto;
  min-height: 0;
  display: grid;
}

.analysis-inventory-head {
  border-bottom: 1px solid #1b3042;
  justify-content: space-between;
  align-items: center;
  padding: 11px 12px;
  display: flex;
}

.analysis-inventory-head span {
  color: #49cae8;
  letter-spacing: .12em;
  font-size: 7px;
  font-weight: 800;
}

.analysis-inventory-head strong {
  color: #d8e4ec;
  font-size: 15px;
}

.analysis-element-list {
  max-height: 250px;
  padding: 4px 10px;
  overflow: auto;
}

.analysis-element-list > div {
  border-bottom: 1px solid #162739;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 8px 2px;
  display: grid;
}

.analysis-element-list b {
  color: #68d9f2;
  background: #0e2b3a;
  border: 1px solid #236079;
  border-radius: 5px;
  place-items: center;
  width: 22px;
  height: 22px;
  font-size: 7px;
  display: grid;
}

.analysis-element-list span {
  gap: 3px;
  min-width: 0;
  display: grid;
}

.analysis-element-list span strong {
  color: #aebfcd;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 8px;
  overflow: hidden;
}

.analysis-element-list small {
  color: #526a7f;
  font-size: 7px;
}

.analysis-element-list code {
  color: #54d8ae;
  font-family: inherit;
  font-size: 6px;
}

.analysis-agent-log {
  color: #4aa5ba;
  background: #060d15;
  border-top: 1px solid #1d3346;
  padding: 9px 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 7px;
  line-height: 1.65;
  display: grid;
}

.remote-browser-execution {
  background: linear-gradient(145deg, #0d1926, #070e17);
  border-color: #25465e;
  padding: 0;
  overflow: hidden;
}

.remote-browser-state {
  background: #0b2029;
  border: 1px solid #205363;
  border-radius: 8px;
  align-items: center;
  gap: 10px;
  max-width: 420px;
  padding: 8px 11px;
  display: flex;
}

.remote-browser-state > span {
  gap: 3px;
  display: grid;
}

.remote-browser-state strong {
  color: #7ce0ed;
  font-size: 8px;
}

.remote-browser-state small {
  color: #5d7e8f;
  font-size: 7px;
}

.phase-passed .remote-browser-state {
  background: #0d251f;
  border-color: #1b6253;
}

.remote-browser-grid {
  grid-template-columns: minmax(430px, 1.45fr) minmax(280px, .75fr);
  gap: 14px;
  padding: 16px;
  display: grid;
}

.remote-browser-toolbar > span {
  color: #668095;
  place-items: center;
  width: 18px;
  height: 18px;
  display: grid;
}

.remote-cursor-pulse {
  justify-items: center;
  gap: 5px;
  display: grid;
  position: absolute;
  top: 48%;
  left: 56%;
}

.remote-cursor-pulse > span {
  border: 2px solid #38d9ff;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: 1.2s ease-out infinite remote-target;
  box-shadow: 0 0 0 8px #38d9ff24, 0 0 22px #38d9ff;
}

.phase-healing .remote-cursor-pulse > span {
  border-color: #f4b95f;
  box-shadow: 0 0 0 8px #f4b95f24, 0 0 22px #f4b95f;
}

.remote-cursor-pulse small {
  color: #d9f4fa;
  white-space: nowrap;
  background: #040f16e0;
  border-radius: 4px;
  padding: 3px 6px;
  font-size: 7px;
}

.remote-execution-console {
  background: #08111b;
  border: 1px solid #22374a;
  border-radius: 9px;
  grid-template-rows: auto 1fr;
  display: grid;
  overflow: hidden;
}

.remote-step-list {
  padding: 8px 12px;
}

.remote-step-list > div {
  color: #4d6276;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  font-size: 8px;
  display: grid;
}

.remote-step-list b {
  border: 1px solid #2a3d50;
  border-radius: 50%;
  place-items: center;
  width: 21px;
  height: 21px;
  font-size: 7px;
  display: grid;
}

.remote-step-list .done, .remote-step-list .current {
  color: #b5c8d7;
}

.remote-step-list .done b {
  color: #061912;
  background: #3bcf9f;
  border-color: #3bcf9f;
}

.remote-step-list .current b {
  color: #6be2fb;
  border-color: #38d9ff;
  box-shadow: 0 0 12px #38d9ff38;
}

.remote-console-log {
  color: #4f8294;
  background: #050c13;
  border-top: 1px solid #1c3042;
  align-content: end;
  gap: 6px;
  padding: 12px;
  display: grid;
}

.remote-console-log strong {
  color: #3cbfdc;
  letter-spacing: .12em;
  margin-bottom: 3px;
  font-size: 7px;
}

.remote-console-log code {
  color: #638698;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 7px;
  overflow: hidden;
}

@keyframes analysis-scan {
  0% {
    opacity: .2;
    top: 5%;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: .2;
    top: 94%;
  }
}

@keyframes remote-pulse {
  50% {
    opacity: .45;
    box-shadow: 0 0 0 7px #38d9ff0f;
  }
}

@keyframes remote-target {
  70%, 100% {
    opacity: .35;
    transform: scale(1.35);
  }
}

.pipeline-report-card {
  grid-template-columns: minmax(0, 1.3fr) minmax(360px, 1fr);
  gap: 18px;
  margin-bottom: 14px;
  padding: 18px;
  display: grid;
}

.pipeline-report-card h2 {
  color: #d0dfed;
  margin: 5px 0;
}

.pipeline-report-card a {
  color: #35d7ff;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
  display: block;
  overflow: hidden;
}

.pipeline-report-card > div > p:last-child {
  color: #7f93aa;
  margin-top: 9px;
  font-size: 10px;
}

.pipeline-report-metrics {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  display: grid;
}

.pipeline-report-metrics span {
  color: #647a92;
  background: #091421;
  border: 1px solid #1c3046;
  border-radius: 8px;
  gap: 5px;
  padding: 10px;
  font-size: 8px;
  display: grid;
}

.pipeline-report-metrics strong {
  color: #c5d5e6;
  text-overflow: ellipsis;
  font-size: 11px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .pipeline-report-card, .test-pipeline-strip {
    grid-template-columns: 1fr;
  }
}

.browser-target-form {
  grid-template-columns: minmax(280px, 1fr) auto auto auto;
  align-items: end;
  gap: 10px;
  padding: 14px;
  display: grid;
}

.browser-target-form label, .browser-action-builder label {
  gap: 7px;
  display: grid;
}

.browser-target-form .browser-requirement-field {
  grid-column: 1 / -1;
}

.browser-target-form label span, .browser-action-builder label span {
  color: #7f93aa;
  font-size: 8px;
  font-weight: 700;
}

.browser-target-form input, .browser-target-form textarea, .browser-action-builder input, .browser-action-builder select {
  color: #b8c8d9;
  min-height: 38px;
  font: inherit;
  background: #08111d;
  border: 1px solid #25384f;
  border-radius: 7px;
  outline: none;
  padding: 0 11px;
}

.browser-target-form textarea {
  resize: vertical;
  min-height: 74px;
  padding: 10px 11px;
}

.browser-target-form label small {
  color: #506278;
  font-size: 8px;
}

.browser-target-form input:focus, .browser-target-form textarea:focus, .browser-action-builder input:focus, .browser-action-builder select:focus {
  border-color: #2ccff6;
  box-shadow: 0 0 0 2px #2ccff61a;
}

.browser-requirement-context {
  background: #091522;
  border-top: 1px solid #19283b;
  padding: 12px 14px;
}

.browser-requirement-context strong {
  color: #4bcbe7;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 8px;
}

.browser-requirement-context p {
  color: #91a5bb;
  white-space: pre-wrap;
  margin-top: 6px;
  font-size: 10px;
  line-height: 1.6;
}

.button.danger {
  color: #d6929d;
  border-color: #5b3039;
}

.browser-message {
  margin-top: 10px;
}

.browser-lab-grid {
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, .8fr);
  gap: 14px;
  margin-top: 14px;
  display: grid;
}

.browser-preview-card, .browser-control-card, .browser-event-card {
  overflow: hidden;
}

.browser-preview-head, .browser-control-head {
  border-bottom: 1px solid #19283b;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  display: flex;
}

.browser-preview-head div {
  gap: 4px;
  min-width: 0;
  display: grid;
}

.browser-preview-head strong, .browser-control-head h2 {
  color: #d3dfec;
  font-size: 12px;
}

.browser-preview-head span {
  color: #60738b;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 8px;
  overflow: hidden;
}

.browser-preview-head small {
  color: #4ecfe9;
  flex: none;
  font-size: 8px;
}

.browser-screenshot {
  background-color: #09111c;
  background-image: linear-gradient(45deg, #0b1521 25%, #0000 25%), linear-gradient(-45deg, #0b1521 25%, #0000 25%), linear-gradient(45deg, #0000 75%, #0b1521 75%), linear-gradient(-45deg, #0000 75%, #0b1521 75%), none;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  background-repeat: repeat, repeat, repeat, repeat, repeat;
  background-size: 16px 16px;
  background-attachment: scroll, scroll, scroll, scroll, scroll;
  background-origin: padding-box, padding-box, padding-box, padding-box, padding-box;
  background-clip: border-box, border-box, border-box, border-box, border-box;
  min-height: 360px;
  padding: 10px;
  overflow: auto;
}

.browser-screenshot img {
  border: 1px solid #24364b;
  border-radius: 6px;
  width: 100%;
  height: auto;
  display: block;
}

.browser-evidence-note {
  color: #60738b;
  border-top: 1px solid #19283b;
  padding: 9px 14px;
  font-size: 8px;
}

.browser-control-card {
  flex-direction: column;
  max-height: 700px;
  display: flex;
}

.browser-control-head p {
  margin-bottom: 4px;
}

.browser-element-list {
  gap: 5px;
  max-height: 310px;
  padding: 8px;
  display: grid;
  overflow: auto;
}

.browser-element-list button {
  color: #8498af;
  text-align: left;
  cursor: pointer;
  background: #09121e;
  border: 1px solid #0000;
  border-radius: 7px;
  grid-template-columns: 25px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 8px;
  display: grid;
}

.browser-element-list button:hover, .browser-element-list button.selected {
  background: #0b1d2c;
  border-color: #226c83;
}

.browser-element-list button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.browser-element-list b {
  color: #04131a;
  background: #35d7ff;
  border-radius: 5px;
  place-items: center;
  width: 23px;
  height: 23px;
  font-size: 9px;
  display: grid;
}

.browser-element-list span {
  gap: 3px;
  min-width: 0;
  display: grid;
}

.browser-element-list strong {
  color: #b8c8d8;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 8px;
  overflow: hidden;
}

.browser-element-list small {
  color: #52657c;
  font-size: 7px;
}

.browser-action-builder {
  border-top: 1px solid #19283b;
  gap: 11px;
  margin-top: auto;
  padding: 13px;
  display: grid;
}

.browser-action-builder > strong {
  color: #a9bbcd;
  font-size: 9px;
}

.browser-sensitive-warning {
  color: #d1a86a;
  background: #1b160d;
  border: 1px solid #664b28;
  border-radius: 6px;
  padding: 10px;
  font-size: 8px;
  line-height: 1.5;
}

.browser-empty-state {
  color: #64778e;
  text-align: center;
  place-content: center;
  place-items: center;
  gap: 10px;
  min-height: 300px;
  margin-top: 14px;
  padding: 30px;
  display: grid;
}

.browser-empty-state > span {
  color: #33c9ef;
  font-size: 34px;
}

.browser-empty-state h2 {
  color: #aabccc;
  font-size: 14px;
}

.browser-empty-state p {
  max-width: 520px;
  font-size: 9px;
  line-height: 1.7;
}

.browser-confirm-backdrop {
  z-index: 80;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: #01060cc7;
  place-items: center;
  padding: 20px;
  display: grid;
  position: fixed;
  inset: 0;
}

.browser-confirm-dialog {
  border-color: #2f6780;
  width: min(440px, 100%);
  padding: 22px;
  box-shadow: 0 24px 80px #00000080;
}

.browser-confirm-dialog h2 {
  color: #d8e5ef;
  margin: 7px 0 15px;
  font-size: 17px;
}

.browser-confirm-dialog dl {
  border: 1px solid #21334a;
  border-radius: 7px;
  margin-bottom: 14px;
  display: grid;
}

.browser-confirm-dialog dl div {
  border-bottom: 1px solid #1d2c40;
  grid-template-columns: 80px 1fr;
  padding: 10px;
  display: grid;
}

.browser-confirm-dialog dl div:last-child {
  border-bottom: 0;
}

.browser-confirm-dialog dt {
  color: #5e7188;
  font-size: 8px;
}

.browser-confirm-dialog dd {
  color: #afc0d1;
  font-size: 9px;
}

.browser-confirm-dialog > p:not(.section-kicker) {
  color: #6c8097;
  font-size: 8px;
  line-height: 1.6;
}

.browser-confirm-actions {
  justify-content: flex-end;
  gap: 8px;
  margin-top: 17px;
  display: flex;
}

.browser-event-card {
  margin-top: 14px;
  padding: 14px;
}

.browser-event-card h2 {
  color: #c4d3e1;
  margin: 4px 0 10px;
  font-size: 12px;
}

.browser-event {
  border-top: 1px solid #19283b;
  grid-template-columns: 110px minmax(0, 1fr) 70px;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 8px;
  display: grid;
}

.browser-event span {
  color: #4bcbe7;
  text-transform: uppercase;
}

.browser-event p {
  color: #7b8fa7;
}

.browser-event time {
  color: #506278;
  text-align: right;
}

@media (max-width: 1000px) {
  .page-analysis-grid, .remote-browser-grid {
    grid-template-columns: 1fr;
  }

  .analysis-stage-track {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .analysis-stage-track > div:nth-child(2):after {
    display: none;
  }

  .browser-target-form {
    grid-template-columns: 1fr auto auto;
  }

  .browser-target-form label {
    grid-column: 1 / -1;
  }

  .browser-lab-grid {
    grid-template-columns: 1fr;
  }

  .browser-control-card {
    max-height: none;
  }
}

@media (max-width: 620px) {
  .page-analysis-head, .remote-browser-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .analysis-stage-track {
    grid-template-columns: 1fr;
  }

  .analysis-stage-track > div:after {
    display: none;
  }

  .page-analysis-grid, .remote-browser-grid {
    padding: 10px;
  }

  .browser-target-form {
    grid-template-columns: 1fr;
  }

  .browser-target-form label {
    grid-column: auto;
  }

  .browser-event {
    grid-template-columns: 80px 1fr;
  }

  .browser-event time {
    display: none;
  }
}

.order-heading-actions {
  align-items: center;
  gap: 10px;
  display: flex;
}

.order-heading-actions .data-source, .order-create-success {
  margin: 0;
}

.manual-order-card {
  background: linear-gradient(145deg, #0e1a27, #0a111a);
  border-color: #27506b;
  padding: 20px;
}

.manual-order-head {
  border-bottom: 1px solid #1d3043;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 15px;
  display: flex;
}

.manual-order-head h2 {
  margin-bottom: 7px;
  font-size: 18px;
}

.manual-order-head p:last-child {
  color: #687b92;
  margin: 0;
  font-size: 9px;
}

.manual-order-head > button {
  color: #8293a9;
  cursor: pointer;
  background: #0b131d;
  border: 1px solid #26394e;
  border-radius: 7px;
  width: 30px;
  height: 30px;
}

.manual-order-form {
  gap: 16px;
  margin-top: 16px;
  display: grid;
}

.manual-order-form fieldset {
  background: #09111a;
  border: 1px solid #1e3043;
  border-radius: 9px;
  min-width: 0;
  margin: 0;
  padding: 14px;
}

.manual-order-form legend {
  color: #aab9ca;
  padding: 0 6px;
  font-size: 10px;
  font-weight: 800;
}

.manual-order-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  display: grid;
}

.manual-order-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.manual-order-grid label, .manual-item label {
  gap: 6px;
  display: grid;
}

.manual-order-grid label > span, .manual-item label > span, .fixed-field > span {
  color: #71839a;
  font-size: 8px;
  font-weight: 700;
}

.manual-order-grid .wide {
  grid-column: 1 / -1;
}

.manual-order-form input, .manual-order-form select, .manual-order-form textarea {
  color: #d7e1ed;
  width: 100%;
  font: inherit;
  background: #080e16;
  border: 1px solid #25394e;
  border-radius: 7px;
  font-size: 10px;
}

.manual-order-form input, .manual-order-form select {
  height: 38px;
  padding: 0 10px;
}

.manual-order-form textarea {
  resize: vertical;
  min-height: 60px;
  padding: 9px 10px;
}

.manual-order-form input:focus-visible, .manual-order-form select:focus-visible, .manual-order-form textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.fixed-field {
  background: #0c1722;
  border: 1px solid #1f3347;
  border-radius: 7px;
  align-content: center;
  gap: 5px;
  min-height: 38px;
  padding: 8px 10px;
  display: grid;
}

.fixed-field strong {
  color: #7ce3ff;
  font-size: 10px;
}

.items-legend {
  justify-content: space-between;
  align-items: center;
  margin-top: -5px;
  margin-bottom: 10px;
  display: flex;
}

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

.manual-items {
  gap: 9px;
  display: grid;
}

.manual-item {
  background: #0c151f;
  border: 1px solid #1b2d40;
  border-radius: 8px;
  grid-template-columns: 70px 1fr 1.4fr 1fr 80px 120px 120px auto;
  align-items: end;
  gap: 8px;
  padding: 10px;
  display: grid;
}

.manual-item > strong {
  color: #87a0ba;
  align-self: center;
  font-size: 9px;
}

.remove-item {
  color: #ff879a;
  cursor: pointer;
  background: none;
  border: 0;
  height: 38px;
  font-size: 8px;
}

.total-preview strong {
  font-size: 13px;
}

.manual-order-actions {
  justify-content: flex-end;
  gap: 9px;
  display: flex;
}

@media (max-width: 1180px) {
  .manual-item {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .order-heading-actions {
    flex-direction: column;
    align-items: flex-end;
  }

  .manual-order-grid.three, .manual-item {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .manual-order-grid, .manual-order-grid.three, .manual-item {
    grid-template-columns: 1fr;
  }
}

.login-page {
  background: radial-gradient(circle at 25% 15%, #16446b66 0, transparent 32rem),
        radial-gradient(circle at 80% 90%, #4d317b55 0, transparent 28rem), var(--bg);
  place-items: center;
  min-height: 100vh;
  padding: 28px;
  display: grid;
}

.login-card {
  background: linear-gradient(145deg, #0f1825f2, #090f18f2);
  border: 1px solid #20344b;
  border-radius: 16px;
  width: min(430px, 100%);
  padding: 34px;
  box-shadow: 0 30px 90px #0008;
}

.login-brand {
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
  display: flex;
}

.login-brand strong, .login-brand span {
  display: block;
}

.login-brand strong {
  font-size: 16px;
}

.login-brand span {
  color: #60738d;
  letter-spacing: .15em;
  margin-top: 3px;
  font-size: 8px;
  font-weight: 800;
}

.login-card h1 {
  margin-bottom: 10px;
  font-size: 25px;
}

.login-intro {
  color: #77879d;
  margin-bottom: 24px;
  font-size: 11px;
  line-height: 1.8;
}

.login-card form {
  gap: 15px;
  display: grid;
}

.login-card form label, .cross-border-form label {
  gap: 7px;
  display: grid;
}

.login-card form label > span, .cross-border-form label > span {
  color: #75869d;
  font-size: 9px;
  font-weight: 700;
}

.login-card input, .cross-border-form input, .cross-border-form select, .cross-border-form textarea {
  color: #d8e2ee;
  width: 100%;
  font: inherit;
  background: #080e17;
  border: 1px solid #26384e;
  border-radius: 7px;
  font-size: 10px;
}

.login-card input, .cross-border-form input, .cross-border-form select {
  height: 40px;
  padding: 0 11px;
}

.login-card input:focus-visible, .cross-border-form input:focus-visible, .cross-border-form select:focus-visible, .cross-border-form textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.login-submit {
  width: 100%;
  min-height: 42px;
  margin-top: 3px;
}

.login-checking {
  color: #7f91aa;
  place-items: center;
  min-height: 160px;
  font-size: 11px;
  display: grid;
}

.login-boundary {
  border-top: 1px solid #1d2a3a;
  gap: 5px;
  margin-top: 25px;
  padding-top: 18px;
  display: grid;
}

.login-boundary strong {
  color: #91a4bb;
  font-size: 9px;
}

.login-boundary span {
  color: #56677e;
  font-size: 8px;
  line-height: 1.5;
}

.form-message {
  border: 1px solid #33435a;
  border-radius: 7px;
  padding: 9px 11px;
  font-size: 9px;
  line-height: 1.55;
}

.form-message.error {
  color: #ff9aab;
  background: #351522;
  border-color: #723445;
}

.form-message.warning {
  color: #efbd7f;
  background: #2c2115;
  border-color: #674b25;
  margin-top: 10px;
}

.form-message.success {
  color: #79ddb9;
  background: #102b23;
  border-color: #235b49;
}

.sidebar-foot button {
  width: auto;
  font-size: 8px;
}

.cross-border-panel {
  border-top: 1px solid #1b293a;
  margin-top: 21px;
  padding-top: 18px;
}

.cross-border-title {
  margin-top: 0;
}

.cross-border-title > div > small {
  color: #5b6d84;
  margin-top: 5px;
  font-size: 8px;
  display: block;
}

.cross-border-source {
  border-radius: 999px;
  padding: 4px 7px;
  font-style: normal;
}

.cross-border-source.template {
  color: #77ddf7;
  background: #12313e;
}

.cross-border-source.manual {
  color: #c0adff;
  background: #2a2445;
}

.cross-border-source.source {
  color: #83ddb9;
  background: #143228;
}

.cross-border-meta {
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 13px;
  display: flex;
}

.cross-border-meta span {
  color: #65778e;
  background: #0a111a;
  border: 1px solid #1d2c3e;
  border-radius: 5px;
  padding: 4px 6px;
  font-size: 7px;
}

.cross-border-grid {
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  display: grid;
}

.cross-border-form input:disabled, .cross-border-form select:disabled, .cross-border-form textarea:disabled {
  opacity: .65;
  cursor: not-allowed;
}

.amount-field {
  gap: 9px;
  display: grid;
}

.cross-border-submit {
  background: #0a111a;
  border: 1px solid #203047;
  border-radius: 8px;
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  display: grid;
}

.cross-border-submit textarea {
  resize: vertical;
  min-height: 66px;
  padding: 9px 11px;
}

.change-summary {
  gap: 4px;
  display: grid;
}

.change-summary strong {
  color: #8ba0b7;
  font-size: 8px;
}

.change-summary span {
  color: #53657c;
  font-size: 7px;
}

.cross-border-loading, .cross-border-error {
  color: #61758e;
  text-align: center;
  border: 1px dashed #24364b;
  border-radius: 8px;
  place-content: center;
  min-height: 84px;
  padding: 14px;
  font-size: 9px;
  display: grid;
}

.cross-border-error strong, .cross-border-error span {
  display: block;
}

.cross-border-error strong {
  color: #90a2b8;
}

.cross-border-error span {
  margin-top: 6px;
  line-height: 1.5;
}

@media (max-width: 520px) {
  .login-page {
    padding: 14px;
  }

  .login-card {
    padding: 24px 20px;
  }

  .cross-border-grid {
    grid-template-columns: 1fr;
  }
}

/*# sourceMappingURL=src_app_globals_162hn9o.css.map*/