@charset "UTF-8";
:root {
  color-scheme: dark;
  --bg: #101215;
  --surface: #15181c;
  --surface-raised: #1b1f24;
  --surface-hover: #24292e;
  --canvas: #111417;
  --line: #2a2e34;
  --line-soft: #22272c;
  --text: #e7e9e9;
  --muted: #858c94;
  --subtle: #626b74;
  --accent: #bcf285;
  --accent-soft: rgba(188,242,133,.08);
  --accent-text: #17230c;
  --blue: #7fb8ee;
  --purple: #b89cf5;
  --orange: #e5b77b;
  --danger: #f48e8e;
  --code: #bfc9d0;
  --shadow: 0 20px 60px #0004;
  --mono: "Cascadia Code","Cascadia Mono","SFMono-Regular",Consolas,"Liberation Mono",monospace;
  --sans: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}
[data-theme=light] {
  color-scheme: light;
  --bg: #f2f4f0;
  --surface: #fff;
  --surface-raised: #f3f5f1;
  --surface-hover: #e9ede6;
  --canvas: #f8faf6;
  --line: #d8dfd3;
  --line-soft: #e6eae2;
  --text: #20281c;
  --muted: #68745f;
  --subtle: #839079;
  --accent: #527f2a;
  --accent-soft: #edf5e5;
  --accent-text: #fff;
  --blue: #3773af;
  --purple: #8260b7;
  --orange: #b17c2e;
  --danger: #bb4f4f;
  --code: #394c3c;
  --shadow: 0 20px 60px #25301815
}
* {
  box-sizing: border-box
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 13px;
  -webkit-font-smoothing:antialiased
}
button,input,select,textarea {
  font: inherit
}
button,select {
  cursor: pointer
}
button {
  color: inherit
}
button:disabled {
  opacity: .38;
  cursor: not-allowed
}
button,input,textarea,select {
  outline: none
}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible,summary:focus-visible,svg:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px
}
button {
  transition: background .15s,color .15s,border-color .15s
}
a {
  color: inherit;
  text-decoration: none
}
[hidden] {
  display: none!important
}
h2,h3,p {
  margin: 0
}
.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden
}
.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none
}
.icon.small {
  width: 15px;
  height: 15px
}
.fill-icon {
  fill: currentColor;
  stroke-width: 0
}
.muted {
  color: var(--muted)
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0
}
.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--accent)
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 11px;
  font-weight: 550;
  line-height: 17px;
  white-space: nowrap;
  background: none
}
.button-quiet {
  color: var(--muted)
}
.button-quiet:hover {
  color: var(--text);
  background: var(--surface-hover)
}
.button-outline {
  border-color: var(--line);
  background: var(--surface-raised)
}
.button-outline:hover {
  border-color: var(--subtle)
}
.icon-button {
  border: 0;
  border-radius: 4px;
  background: none;
  color: var(--muted);
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px
}
.icon-button:hover {
  color: var(--text);
  background: var(--surface-hover)
}
.app-main {
  max-width: 1920px;
  margin: 0 auto;
  padding: 27px 30px 0
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  font: 9px var(--mono);
  letter-spacing: 1.4px;
  color: var(--accent)
}
.workspace {
  display: grid;
  grid-template-columns: 286px minmax(330px,1fr) 278px;
  gap: 16px;
  align-items: stretch;
  min-height: 642px;
  height: calc(100vh - 250px);
  max-height: 1160px
}
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
  min-width: 0
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 51px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  gap: 8px
}
.heading-label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0
}
.heading-label h2 {
  font-size: 11px;
  font-weight: 550;
  white-space: nowrap
}
.source-panel {
  display: flex;
  flex-direction: column
}
.source-tools {
  display: flex;
  align-items: center;
  padding: 12px 11px;
  gap: 8px
}
.source-tools select {
  flex: 1;
  min-width: 0;
  height: 31px;
  border: 1px solid var(--line);
  background: var(--surface-raised);
  border-radius: 5px;
  color: var(--muted);
  font-size: 10px;
  padding: 0 9px
}
.file-tab {
  height: 33px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  font: 10px var(--mono);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line-soft);
  color: var(--code);
  background: var(--surface-raised)
}
.file-tab>.icon {
  color: var(--accent);
  width: 13px
}
.file-modified {
  width: 5px;
  height: 5px;
  background: var(--orange);
  border-radius: 50%;
  opacity: 0
}
.file-modified.visible {
  opacity: 1
}
.file-type {
  margin-left: auto;
  flex: none;
  color: var(--subtle);
  font-size: 8px
}
.source-editor {
  display: flex;
  position: relative;
  min-height: 240px;
  flex: 1;
  background: var(--canvas);
  overflow: hidden
}
.source-editor.dragging {
  outline: 2px dashed var(--accent);
  outline-offset: -3px
}
.line-numbers {
  width: 39px;
  flex: none;
  color: var(--subtle);
  text-align: right;
  padding: 17px 10px 17px 0;
  font: 11px/1.9 var(--mono);
  white-space: pre;
  overflow: hidden;
  user-select: none;
  background: var(--canvas)
}
#source-input {
  display: block;
  width: 100%;
  min-width: 0;
  resize: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--code);
  padding: 17px 14px 17px 0;
  tab-size: 2;
  font: 11px/1.9 var(--mono);
  letter-spacing: -.15px;
  white-space: pre;
  overflow: auto
}
#source-input:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 1px var(--line)
}
#source-input::placeholder {
  color: var(--subtle)
}
.editor-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 29px;
  padding: 0 12px;
  color: var(--subtle);
  font: 8px var(--mono);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line)
}
.source-settings {
  padding: 16px 14px 0
}
.network-setting {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px
}
.network-setting label:not(.switch) {
  font-size: 10px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px
}
.network-setting label .icon {
  color: var(--muted);
  width: 13px
}
.network-setting p {
  margin-top: 5px;
  font-size: 9px;
  color: var(--subtle)
}
.switch {
  position: relative;
  display: block;
  width: 29px;
  height: 17px;
  flex: none
}
.switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer
}
.switch-track {
  display: block;
  width: 29px;
  height: 17px;
  border-radius: 20px;
  background: var(--line);
  border: 1px solid var(--subtle);
  transition: background .2s;
  pointer-events: none
}
.switch-track:after {
  content: "";
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--muted);
  transition: transform .2s
}
.switch input:checked+.switch-track {
  background: var(--accent);
  border-color: var(--accent)
}
.switch input:checked+.switch-track:after {
  background: var(--accent-text);
  transform: translateX(12px)
}
.switch input:focus-visible+.switch-track {
  outline: 2px solid var(--accent);
  outline-offset: 3px
}
.limits-details {
  margin-top: 16px;
  border-top: 1px solid var(--line-soft)
}
.limits-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 9px;
  color: var(--muted);
  padding: 12px 0;
  list-style: none
}
.limits-details summary::-webkit-details-marker {
  display: none
}
.limits-details summary .icon {
  width: 12px;
  height: 12px;
  transition: transform .2s
}
.limits-details[open] summary .icon {
  transform: rotate(90deg)
}
.limits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-bottom: 10px
}
.limits-grid label {
  font-size: 9px;
  color: var(--muted)
}
.limits-grid input {
  display: block;
  width: 100%;
  height: 28px;
  margin-top: 5px;
  background: var(--canvas);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 4px;
  padding: 4px 6px;
  font: 10px var(--mono)
}
.trace-actions {
  padding: 4px 13px 15px
}
.button-primary,.button-danger {
  width: 100%;
  min-height: 40px;
  justify-content: flex-start;
  padding: 10px 12px;
  font-size: 11px
}
.button-primary {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent)
}
.button-primary:hover {
  filter: brightness(1.08)
}
.button-danger {
  background: #f48e8e15;
  border-color: var(--danger);
  color: var(--danger)
}
.button-primary .icon,.button-danger .icon {
  width: 15px;
  height: 15px
}
.button-primary kbd,.button-danger kbd {
  margin-left: auto;
  font-size: 9px;
  opacity: .6;
  letter-spacing: -.5px
}
.source-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 8px;
  line-height: 1.5;
  color: var(--subtle);
  margin-top: 11px
}
.source-note .icon {
  width: 11px;
  height: 11px
}
.analysis-area {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 14px
}
.stats-bar {
  height: 87px;
  flex: none;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 7px;
  padding: 12px 0
}
.stat {
  padding: 0 16px;
  border-right: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: center;
  column-gap: 5px;
  row-gap: 3px
}
.stat:last-child {
  border-right: 0
}
.stat-label {
  grid-column: 1/-1;
  font: 8px var(--mono);
  letter-spacing: .7px;
  color: var(--muted);
  white-space: nowrap
}
.stat-value {
  font-size: 26px;
  line-height: 30px;
  letter-spacing: -.8px;
  font-weight: 500
}
.stat-detail {
  grid-column: 1/-1;
  color: var(--subtle);
  font-size: 8px;
  white-space: nowrap
}
.graph-panel {
  flex: 1;
  min-height: 325px;
  display: flex;
  flex-direction: column;
  position: relative
}
.graph-heading {
  padding-right: 11px
}
.count-badge {
  font: 8px var(--mono);
  background: var(--surface-raised);
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 2px 5px;
  border-radius: 4px
}
.view-tabs {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px;
  background: var(--canvas)
}
.view-tabs button {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 0;
  border-radius: 3px;
  background: none;
  color: var(--muted);
  font-size: 9px;
  padding: 5px 7px
}
.view-tabs button[aria-selected=true] {
  background: var(--surface-hover);
  color: var(--text)
}
.view-tabs .icon {
  width: 12px;
  height: 12px
}
.graph-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  padding: 10px 14px;
  min-height: 50px;
  z-index: 1;
  background: var(--canvas)
}
.search-field {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0 8px;
  height: 29px;
  border-radius: 5px;
  color: var(--subtle);
  width: 183px
}
.search-field input {
  border: 0;
  background: none;
  color: var(--text);
  width: 100%;
  min-width: 0;
  height: 100%;
  font-size: 9px
}
.search-field input::placeholder {
  color: var(--subtle)
}
.search-field input:focus-visible {
  outline: 0
}
.search-field:focus-within {
  border-color: var(--accent)
}
.search-field .icon {
  width: 12px
}
.search-count {
  font: 8px var(--mono);
  white-space: nowrap
}
.trace-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 8px var(--mono);
  letter-spacing: .6px;
  color: var(--muted);
  white-space: nowrap
}
.trace-badge[data-status=complete] {
  color: var(--accent)
}
.trace-badge[data-status=partial],.trace-badge[data-status=stopped] {
  color: var(--orange)
}
.trace-badge[data-status=error] {
  color: var(--danger)
}
.trace-badge .status-dot {
  background: currentColor;
  width: 4px;
  height: 4px
}
.trace-badge[data-status=running] .status-dot {
  animation: pulse 1.1s ease-in-out infinite
}
.graph-view {
  position: relative;
  flex: 1;
  min-height: 245px;
  background-color: var(--canvas);
  background-image: radial-gradient(var(--line) .75px,transparent .75px);
  background-size: 17px 17px;
  overflow: hidden
}
.graph-view>svg {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  cursor: grab;
  position: absolute;
  inset: 0
}
.graph-view>svg.dragging {
  cursor: grabbing
}
.graph-empty {
  position: absolute;
  inset: 20% 15% auto;
  text-align: center;
  pointer-events: none
}
.empty-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  margin: 0 auto 16px;
  color: var(--accent)
}
.empty-symbol .icon {
  width: 24px;
  height: 24px
}
.graph-empty h3 {
  font-size: 14px;
  font-weight: 500
}
.graph-empty p {
  color: var(--subtle);
  font-size: 10px;
  line-height: 1.7;
  max-width: 260px;
  margin: 8px auto
}
.graph-legend {
  display: flex;
  align-items: center;
  gap: 13px;
  position: absolute;
  bottom: 15px;
  left: 14px;
  font-size: 8px;
  color: var(--muted);
  pointer-events: none
}
.graph-legend span {
  display: flex;
  align-items: center;
  gap: 4px
}
.legend-dot {
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: var(--muted)
}
.legend-dot.entry {
  background: var(--accent)
}
.legend-dot.loadstring {
  background: var(--blue)
}
.legend-dot.http {
  background: var(--orange)
}
.legend-dot.decoded {
  background: var(--purple)
}
.graph-controls {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 5px;
  padding: 2px
}
.graph-controls .icon-button {
  width: 25px;
  height: 25px
}
.graph-controls .icon {
  width: 14px;
  height: 14px
}
#zoom-value {
  font: 8px var(--mono);
  width: 32px;
  text-align: center;
  color: var(--muted)
}
.control-divider {
  height: 14px;
  width: 1px;
  background: var(--line);
  margin: 0 3px
}
.graph-hint {
  position: absolute;
  top: 7px;
  left: 15px;
  font: 7px var(--mono);
  color: var(--subtle);
  letter-spacing: .6px;
  pointer-events: none;
  opacity: .75
}
.graph-node {
  cursor: pointer;
  outline: none;
  --node-color: var(--muted)
}
.graph-node[data-type=entry] {
  --node-color: var(--accent)
}
.graph-node[data-type=loadstring] {
  --node-color: var(--blue)
}
.graph-node[data-type=decoded] {
  --node-color: var(--purple)
}
.graph-node[data-type=http],.graph-node[data-type=remote] {
  --node-color: var(--orange)
}
.graph-node[data-type=require],.graph-node[data-type=file] {
  --node-color: var(--purple)
}
.node-card {
  fill: var(--surface);
  stroke: var(--line);
  stroke-width: 1.2;
  transition: stroke .15s
}
.graph-node:hover .node-card,.graph-node:focus-visible .node-card {
  stroke: var(--node-color)
}
.graph-node.selected .node-card {
  stroke: var(--node-color);
  stroke-width: 1.5;
  fill: var(--surface-raised)
}
.node-accent {
  fill: var(--node-color)
}
.node-icon-bg {
  fill: var(--node-color);
  opacity: .11
}
.node-icon-text {
  font: 10px var(--mono);
  fill: var(--node-color)
}
.node-label {
  fill: var(--muted);
  font: 8px var(--mono);
  letter-spacing: .9px
}
.node-title {
  fill: var(--text);
  font: 550 11px var(--sans)
}
.node-subtitle {
  fill: var(--subtle);
  font: 8px var(--mono)
}
.node-divider {
  stroke: var(--line-soft);
  stroke-width: 1
}
.node-port {
  fill: var(--surface);
  stroke: var(--node-color);
  stroke-width: 1.5
}
.node-state-dot {
  fill: var(--accent)
}
.graph-node[data-status=blocked] .node-state-dot,.graph-node[data-status=partial] .node-state-dot,.graph-node[data-status=unresolved] .node-state-dot {
  fill: var(--orange)
}
.graph-node[data-status=error] .node-state-dot {
  fill: var(--danger)
}
.graph-edge {
  fill: none;
  stroke: var(--subtle);
  stroke-width: 1.2;
  opacity: .48
}
.graph-edge.selected {
  stroke: var(--accent);
  opacity: .8;
  stroke-width: 1.6
}
.graph-edge-arrow {
  fill: var(--subtle)
}
.edge-label {
  fill: var(--subtle);
  font: 7px var(--mono);
  paint-order: stroke;
  stroke: var(--canvas);
  stroke-width: 5px;
  stroke-linejoin: round
}
.collapse-node {
  cursor: pointer
}
.collapse-node circle {
  fill: var(--surface-raised);
  stroke: var(--line);
  stroke-width: 1
}
.collapse-node text {
  fill: var(--muted);
  font: 10px var(--mono);
  pointer-events: none
}
.graph-node.dimmed {
  opacity: .23
}
.graph-node.matched .node-card {
  stroke: var(--accent);
  stroke-width: 2
}
.list-view {
  flex: 1;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  min-width: 0;
  background: var(--canvas);
  min-height: 200px
}
.list-view table {
  width: 100%;
  border-collapse: collapse;
  text-align: left
}
.list-view th {
  position: sticky;
  top: 0;
  background: var(--surface-raised);
  padding: 10px 13px;
  font-size: 8px;
  color: var(--muted);
  font-weight: 500
}
.list-view td {
  border-bottom: 1px solid var(--line-soft);
  padding: 10px 13px;
  font: 9px var(--mono);
  color: var(--muted);
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}
.list-view td:first-child {
  font-family: var(--sans);
  color: var(--text)
}
.list-view tr.selected {
  background: var(--accent-soft)
}
.list-node-button {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  text-align: left;
  max-width: 100%
}
.list-node-button span:last-child {
  overflow: hidden;
  text-overflow: ellipsis
}
.list-node-button:hover {
  color: var(--accent)
}
.list-empty {
  padding: 30px;
  text-align: center;
  font-size: 11px;
  color: var(--subtle)
}
.events-panel {
  height: 170px;
  flex: none;
  display: flex;
  flex-direction: column
}
.events-panel .panel-heading {
  min-height: 40px
}
.console-actions {
  display: flex;
  align-items: center;
  gap: 9px
}
.console-actions select {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 9px;
  padding: 3px;
  max-width: 100px
}
.console-actions select option {
  background: var(--surface)
}
.console-actions .icon-button {
  width: 24px;
  height: 24px
}
.event-log {
  overflow: auto;
  padding: 9px 13px;
  flex: 1;
  background: var(--canvas);
  font: 9px/1.8 var(--mono)
}
.event-row {
  display: grid;
  grid-template-columns: 56px 14px 1fr;
  gap: 6px;
  align-items: start;
  min-height: 22px
}
.event-time {
  color: var(--subtle);
  font-size: 8px;
  padding-top: 1px
}
.event-symbol {
  color: var(--accent);
  font-size: 10px
}
.event-message {
  color: var(--muted);
  overflow-wrap: anywhere;
  text-align: left
}
.event-row[data-level=warning] .event-symbol,.event-row[data-level=warn] .event-symbol,.event-row[data-level=warning] .event-message,.event-row[data-level=warn] .event-message {
  color: var(--orange)
}
.event-row[data-level=error] .event-symbol,.event-row[data-level=error] .event-message {
  color: var(--danger)
}
button.event-message {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  width: 100%
}
button.event-message:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px
}
.event-placeholder {
  color: var(--subtle);
  padding: 10px 0
}
.inspector-panel {
  display: flex;
  flex-direction: column
}
.inspector-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: auto;
  padding: 36px
}
.inspector-empty>.icon {
  width: 28px;
  height: 28px;
  color: var(--subtle);
  margin-bottom: 18px
}
.inspector-empty h3 {
  font-size: 13px;
  font-weight: 500
}
.inspector-empty p {
  font-size: 10px;
  color: var(--subtle);
  line-height: 1.8;
  margin-top: 9px
}
.inspector-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0
}
.node-summary {
  padding: 20px 16px
}
.node-type-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px
}
.node-type-badge {
  font: 8px var(--mono);
  letter-spacing: .8px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 4px 6px
}
.node-type-badge[data-type=loadstring] {
  color: var(--blue)
}
.node-type-badge[data-type=http],.node-type-badge[data-type=remote] {
  color: var(--orange)
}
.node-type-badge[data-type=decoded],.node-type-badge[data-type=file],.node-type-badge[data-type=require] {
  color: var(--purple)
}
.node-id {
  font: 8px var(--mono);
  color: var(--subtle);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  max-width: 100px
}
.node-summary h3 {
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -.35px;
  margin: 14px 0 10px;
  overflow-wrap: anywhere;
  line-height: 1.4
}
.node-summary-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 8px var(--mono);
  color: var(--subtle)
}
.node-status {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted)
}
.node-status .status-dot {
  width: 4px;
  height: 4px
}
.inspector-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  padding: 0 13px;
  gap: 15px
}
.inspector-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  background: none;
  padding: 11px 0;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 5px
}
.inspector-tabs button[aria-selected=true] {
  color: var(--text);
  border-bottom-color: var(--accent)
}
.inspector-tabs .count-badge {
  font-size: 7px;
  padding: 1px 3px
}
.detail-pane {
  flex: 1;
  min-height: 0;
  overflow: auto;
  background: var(--canvas)
}
#source-detail {
  display: flex;
  flex-direction: column
}
.source-preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px 5px 16px;
  flex: none;
  color: var(--subtle);
  font: 7px var(--mono);
  letter-spacing: .5px
}
.source-preview-toolbar>div {
  display: flex;
  gap: 1px
}
.source-preview-toolbar .icon-button {
  width: 25px;
  height: 25px
}
.source-preview {
  margin: 0;
  padding: 8px 15px 20px;
  flex: 1;
  overflow: auto;
  tab-size: 2;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 10px/1.9 var(--mono);
  color: var(--code)
}
.syntax-comment {
  color: var(--subtle)
}
.syntax-keyword {
  color: var(--purple)
}
.syntax-string {
  color: var(--accent)
}
.syntax-number {
  color: var(--orange)
}
.syntax-call {
  color: var(--blue)
}
.preview-note {
  padding: 10px;
  font-size: 9px;
  color: var(--orange);
  line-height: 1.5
}
.metadata-list {
  margin: 0;
  padding: 2px 16px 14px
}
.metadata-list dt {
  font: 8px var(--mono);
  text-transform: uppercase;
  letter-spacing: .7px;
  color: var(--subtle);
  margin-top: 17px
}
.metadata-list dd {
  margin: 6px 0 0;
  color: var(--code);
  font: 10px/1.8 var(--mono);
  overflow-wrap: anywhere;
  white-space: pre-wrap
}
.diagnostics-list {
  padding: 13px
}
.diagnostic-item {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  padding: 11px;
  margin-bottom: 10px;
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
  overflow-wrap: anywhere
}
.diagnostic-item strong {
  display: block;
  font: 8px var(--mono);
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 5px
}
.diagnostic-item[data-level=error] strong {
  color: var(--danger)
}
.diagnostic-empty {
  font-size: 10px;
  color: var(--subtle);
  line-height: 1.8;
  padding: 8px
}
.inspector-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 13px 16px;
  font-size: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--subtle)
}
.inspector-footer .status-dot {
  width: 4px;
  height: 4px
}
.workspace-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 1px 18px;
  color: var(--subtle);
  font: 8px var(--mono)
}
.workspace-footer>span:first-child {
  display: flex;
  align-items: center;
  gap: 7px
}
.workspace-footer>span:first-child .status-dot {
  width: 4px;
  height: 4px
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-raised);
  color: var(--text);
  box-shadow: var(--shadow);
  padding: 13px 20px;
  font-size: 12px;
  z-index: 20;
  max-width: 90vw;
  line-height: 1.5
}
.toast[data-level=error] {
  border-color: var(--danger)
}
dialog {
  max-width: 570px;
  width: calc(100% - 32px);
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow)
}
dialog::backdrop {
  background: #080b10aa;
  backdrop-filter: blur(4px)
}
.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between
}
dialog h2 {
  font-weight: 550;
  font-size: 25px;
  margin: 13px 0;
  letter-spacing: -.8px
}
dialog p,dialog li {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted)
}
dialog ol {
  padding-left: 20px;
  margin: 19px 0
}
dialog li {
  padding: 4px 0
}
dialog strong {
  font-weight: 550;
  color: var(--text)
}
.help-limits {
  padding: 14px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 11px!important
}
.shortcut-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 9px;
  color: var(--muted);
  margin-top: 23px
}
kbd {
  font-family: var(--mono)
}
.shortcut-row kbd {
  font-size: 9px;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  padding: 3px 5px;
  border-radius: 3px
}
.noscript-message {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: grid;
  place-items: center;
  padding: 30px;
  text-align: center;
  z-index: 50
}
* {
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent
}
::selection {
  background: #b3e77d38;
  color: var(--text)
}
@keyframes pulse {
  50% {
    opacity: .3
  }
}
@media(min-width:1700px) {
  .workspace {
    grid-template-columns: 330px minmax(400px,1fr) 330px;
    gap: 20px
  }
  .app-main {
    padding-left: 40px;
    padding-right: 40px
  }
  #source-input,.line-numbers {
    font-size: 12px
  }
  .source-preview {
    font-size: 11px
  }
  .stats-bar {
    height: 94px
  }
  .stat-label {
    font-size: 9px
  }
  .stat-detail {
    font-size: 9px
  }
  .stat-value {
    font-size: 28px
  }
  .events-panel {
    height: 190px
  }
  .event-log {
    font-size: 10px
  }
}
@media(max-width:1280px) {
  .app-main {
    padding: 23px 20px 0
  }
  .workspace {
    grid-template-columns: 250px minmax(300px,1fr) 250px;
    gap: 12px
  }
  .stat {
    padding: 0 11px
  }
  .stat-label {
    font-size: 7px;
    letter-spacing: .35px
  }
  .stat-detail {
    font-size: 7px
  }
  .stat-value {
    font-size: 24px
  }
  .heading-label {
    gap: 6px
  }
  .panel-heading {
    padding: 0 12px
  }
  .source-note {
    font-size: 7px
  }
  .graph-legend {
    gap: 8px;
    font-size: 7px;
    bottom: 49px;
    left: 14px
  }
  .graph-hint {
    font-size: 6px
  }
  .graph-toolbar {
    padding: 10px 11px
  }
  .search-field {
    width: 160px
  }
  .trace-badge {
    font-size: 7px
  }
  .inspector-tabs {
    gap: 13px
  }
  .source-preview {
    font-size: 9px
  }
}
@media(max-width:1080px) {
  .workspace {
    grid-template-columns: 260px minmax(320px,1fr);
    height: auto;
    min-height: 0
  }
  .source-panel {
    grid-row: 1/3;
    min-height: 760px
  }
  .analysis-area {
    height: 580px
  }
  .inspector-panel {
    grid-column: 2;
    height: 275px
  }
  .inspector-panel .panel-heading {
    min-height: 40px
  }
  .inspector-content {
    display: grid;
    grid-template-columns: 190px 1fr;
    grid-template-rows: 38px 1fr
  }
  .node-summary {
    grid-row: 1/3;
    padding: 15px;
    border-right: 1px solid var(--line)
  }
  .inspector-tabs {
    grid-column: 2;
    padding: 0 14px
  }
  .detail-pane {
    grid-column: 2;
    grid-row: 2
  }
  .inspector-footer {
    display: none
  }
  .source-preview-toolbar {
    padding-top: 4px;
    padding-bottom: 0
  }
  .inspector-empty {
    padding: 20px
  }
  .inspector-empty>.icon {
    width: 22px;
    margin-bottom: 10px
  }
  .inspector-empty h3 {
    font-size: 12px
  }
  .inspector-empty p {
    margin-top: 6px
  }
  .events-panel {
    height: 135px
  }
  .graph-legend {
    bottom: 15px
  }
  .stat-label {
    font-size: 8px
  }
  .stat-detail {
    font-size: 8px
  }
  .source-preview {
    font-size: 10px
  }
  .workspace-footer {
    padding-bottom: 20px
  }
  .node-summary h3 {
    font-size: 13px
  }
  .node-type-line {
    align-items: flex-start;
    flex-direction: column
  }
  .node-summary-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px
  }
}
@media(max-width:720px) {
  .app-main {
    padding: 23px 14px 0
  }
  .eyebrow {
    font-size: 7px;
    letter-spacing: 1.2px
  }
  .workspace {
    display: flex;
    flex-direction: column;
    gap: 15px
  }
  .source-panel {
    min-height: 0;
    height: 485px
  }
  .source-editor {
    min-height: 170px
  }
  .source-tools {
    padding: 9px 12px
  }
  .source-settings {
    padding-top: 13px
  }
  .source-note {
    font-size: 8px
  }
  .analysis-area {
    height: 680px;
    flex: none;
    gap: 12px
  }
  .stats-bar {
    height: 85px
  }
  .stat {
    padding: 0 10px
  }
  .stat-label {
    font-size: 6px
  }
  .stat-detail {
    font-size: 7px
  }
  .stat-value {
    font-size: 24px
  }
  .graph-panel {
    min-height: 400px
  }
  .graph-view {
    min-height: 240px
  }
  .events-panel {
    height: 160px
  }
  .inspector-panel {
    height: 355px;
    min-height: 355px
  }
  .inspector-content {
    grid-template-columns: 145px 1fr
  }
  .node-summary {
    padding: 15px 12px
  }
  .node-summary h3 {
    font-size: 12px
  }
  .inspector-tabs {
    gap: 10px;
    padding: 0 11px
  }
  .inspector-tabs button {
    font-size: 9px
  }
  .source-preview {
    font-size: 9px;
    padding-left: 11px;
    padding-right: 11px
  }
  .source-preview-toolbar {
    padding-left: 11px;
    font-size: 6px
  }
  .node-type-badge {
    font-size: 7px
  }
  .workspace-footer {
    font-size: 7px;
    padding: 18px 0;
    gap: 8px
  }
  .graph-legend {
    bottom: 14px;
    gap: 9px;
    font-size: 7px
  }
  .graph-controls {
    right: 10px;
    bottom: 10px
  }
  .source-editor #source-input,.line-numbers {
    font-size: 11px
  }
  .button-primary,.button-danger {
    justify-content: center
  }
  .button-primary kbd,.button-danger kbd {
    position: absolute;
    right: 26px
  }
  .source-settings:has(.limits-details[open]) {
    max-height: 190px;
    overflow-y: auto
  }
  .source-panel:has(.limits-details[open]) {
    height: 565px
  }
  .metadata-list {
    padding: 2px 12px 14px
  }
  .metadata-list dd {
    font-size: 9px
  }
  .limits-details {
    margin-top: 13px
  }
}
.runtime-setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px 0;
  color: var(--muted);
  font-size: 9px
}
.runtime-setting select {
  min-width: 0;
  max-width: 175px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface-raised);
  padding: 5px 6px;
  color: var(--code);
  font-size: 9px
}
.source-settings {
  padding-top: 13px
}
.source-panel {
  min-height: 0
}
.source-panel:has(.limits-details[open]) .source-editor {
  min-height: 120px
}
.limits-grid input:disabled {
  opacity: .4
}
.node-title {
  font-size: 12px
}
.node-label,.node-subtitle {
  font-size: 9px
}
.button-primary,.button-danger {
  position: relative
}
@media(max-width:1080px) {
  .workspace {
    max-height: none
  }
}
@media(max-width:720px) {
  .source-panel {
    height: 560px;
    flex: none
  }
  .source-panel:has(.limits-details[open]) {
    height: 680px
  }
  .source-panel:has(.limits-details[open]) .source-editor {
    min-height: 170px
  }
  .button-primary kbd,.button-danger kbd {
    right: 12px
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation: none!important;
    transition: none!important;
    scroll-behavior: auto!important
  }
}
/* The workspace starts with source and results; controls stay with their panels. */
.app-main {
  padding: 20px 20px 0
}
.workspace {
  height: calc(100vh - 65px);
  min-height: 620px;
  max-height: none
}
.map-actions {
  display: flex;
  align-items: center;
  gap: 7px
}
.panel-import {
  font-size: 9px;
  padding: 5px 0 5px 7px;
  gap: 5px
}
.panel-import .icon {
  width: 12px;
  height: 12px
}
.workspace-footer {
  padding: 7px 0;
  min-height: 40px
}
.footer-tools {
  display: flex;
  align-items: center;
  gap: 7px
}
.footer-tools>span {
  margin-right: 4px
}
.footer-tools .icon-button {
  width: 24px;
  height: 24px
}
.heading-label h2 {
  font-size: 12px
}
.source-preview {
  font-size: 11px
}
.event-log {
  font-size: 10px
}
@media(max-width:1080px) {
  .workspace {
    height: auto;
    min-height: 0
  }
  .app-main {
    padding: 16px 16px 0
  }
  .source-preview {
    font-size: 10px
  }
}
@media(max-width:720px) {
  .app-main {
    padding: 12px 12px 0
  }
  .workspace {
    gap: 12px
  }
  .heading-label h2 {
    font-size: 11px
  }
  .source-preview {
    font-size: 9px
  }
  .footer-tools>span {
    display: none
  }
  .workspace-footer {
    font-size: 8px;
    gap: 4px
  }
  .map-actions {
    gap: 5px
  }
  .graph-heading {
    padding-right: 9px
  }
  .event-log {
    font-size: 9px
  }
}
@media(max-width:720px) {
  .stat-value {
    font-size: 22px;
    white-space: nowrap
  }
  #stat-time {
    font-size: 20px
  }
  .inspector-panel {
    height: 430px;
    min-height: 430px
  }
  .inspector-content {
    display: flex;
    flex-direction: column
  }
  .node-summary {
    padding: 13px 14px;
    border-right: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 9px
  }
  .node-type-line {
    flex-direction: row;
    align-items: center;
    gap: 8px
  }
  .node-summary h3 {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    font-size: 13px
  }
  .node-summary-meta {
    grid-column: 2;
    grid-row: 1/3;
    align-items: flex-end;
    justify-content: center;
    gap: 7px
  }
  .inspector-tabs {
    padding: 0 14px;
    gap: 18px
  }
  .source-preview {
    font-size: 10px;
    padding: 8px 14px 16px
  }
  .source-preview-toolbar {
    padding: 6px 10px 2px 14px;
    font-size: 7px
  }
}
.startup-notice {
  margin: 12px 13px 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface-raised);
  font-size: 10px;
  line-height: 1.7
}
.startup-notice strong {
  font-weight: 550;
  color: var(--text)
}
.startup-notice p {
  color: var(--muted);
  margin-top: 4px
}
.startup-notice code {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px
}
.startup-notice a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px
}
.source-panel.needs-server .source-editor {
  min-height: 120px
}
@media(max-width:720px) {
  .source-panel.needs-server {
    height: 670px
  }
  .source-panel.needs-server:has(.limits-details[open]) {
    height: 790px
  }
  .source-panel.needs-server .source-editor {
    min-height: 170px
  }
}
.source-preview-toolbar>span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  max-width: 90px
}
.source-preview-toolbar>div {
  align-items: center
}
.source-preview-toolbar select {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font: 9px var(--sans);
  padding: 3px 2px;
  max-width: 80px;
  height: 24px;
  margin-right: 3px
}
.source-preview.hex-view {
  white-space: pre;
  overflow: auto;
  font-size: 9px
}
.source-preview-toolbar .icon-button {
  width: 23px;
  height: 25px
}
.preview-note {
  flex: none;
  max-height: 96px;
  overflow: auto
}
#deobfuscation-status {
  color: var(--accent);
  border-top: 1px solid var(--line-soft)
}
.graph-node[data-status=unverified] .node-state-dot {
  fill: var(--orange)
}
.graph-node[data-status=unverified] .node-card {
  stroke-dasharray: 4 3
}

#source-filename{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.workspace-footer>span:first-child{min-width:0}.workspace-status-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.footer-tools{flex:none}
