#runsview { overflow: auto; padding: 76px 26px 30px !important; color: #edf1ff; }
.runs-wrap { max-width: 850px; margin: 0 auto; }.runs-wrap .eyebrow { color: #9facff; font: 700 11px monospace; letter-spacing: .12em; }
.runs-wrap h2 { margin: 8px 0; font-size: 30px; }.runs-wrap>p { color: #aebbd5; }
#run-form,.run-card { padding: 17px; border: 1px solid #2a3858; border-radius: 12px; background: #111a2c; margin: 16px 0; }
#run-form label { display: block; color: #c4d1e9; font-size: 13px; margin: 9px 0; }
#run-form input[type=text],#run-form input:not([type]),#run-form select { box-sizing: border-box; width: 100%; padding: 10px; border: 1px solid #374764; border-radius: 8px; background: #0b1222; color: white; margin-top: 4px; }
#run-form fieldset { border: 1px solid #293959; border-radius: 8px; margin: 12px 0; }#run-form fieldset label { display: inline-block; margin: 5px 12px 5px 0; }
#run-form button,.run-actions button { padding: 9px 13px; border: 1px solid #6b59e7; border-radius: 8px; background: #5946d6; color: white; cursor: pointer; }
#run-form-status { margin-left: 12px; color: #e5b563; }.run-card-head { display: flex; justify-content: space-between; color: #aebbd5; font-size: 12px; }
.run-state { text-transform: uppercase; color: #94c6fc; font-weight: 700; }.run-state.complete { color: #63d6ae; }.run-state.blocked,.run-error { color: #f0a2a2; }.run-state.waiting_review { color: #efd078; }
.run-card h3 { margin: 10px 0; }.run-card ol { display: flex; gap: 8px; flex-wrap: wrap; padding: 0; list-style: none; }
.run-card li { padding: 6px 9px; background: #0c1326; border-radius: 7px; color: #8f9db8; font-size: 12px; }.run-card li.done { color: #66d6a7; }.run-card li.current { color: #fff; border: 1px solid #7060db; }
.run-evidence { color: #a9d9db; font-size: 12px; padding: 8px 0; }.run-card details { border-top: 1px solid #293959; padding: 7px 0; overflow-wrap: anywhere; }
.run-card details p { color: #b7c8e4; font-size: 12px; }.run-card details a { color: #9ddbea; }.run-actions { display: flex; gap: 9px; margin-top: 12px; }
.run-science { border-top: 1px solid #293959; padding-top: 8px; font-size: 12px; color: #c4d0e7; }
.run-science p { margin: 8px 0; line-height: 1.5; }
.run-science b { color: #dddcff; margin-right: 5px; }
.run-actions button:last-child { background: transparent; border-color: #465675; }
#discover-scene { position: absolute; z-index: 8; top: 66px; right: 12px; width: min(320px, calc(100% - 24px));
  max-height: min(70vh, 660px); overflow-y: auto; padding: 12px; border: 1px solid #46558c; border-radius: 13px;
  background: rgba(8, 13, 30, .95); box-shadow: 0 12px 36px #0008; color: #e9eefb; font-size: 11px; }
#discover-scene header { display: flex; align-items: start; justify-content: space-between; gap: 8px; }
#discover-scene header small { color: #92a8d8; font: 700 10px ui-monospace, monospace; letter-spacing: .08em; }
#discover-scene h3 { margin: 3px 0 8px; font-size: 15px; }
#discover-scene button { border: 1px solid #354573; background: #121d3c; color: #e9eefb; border-radius: 7px; padding: 5px 7px; cursor: pointer; }
#discover-scene button:hover { border-color: #8d78ff; background: #27205c; }
#discover-scene .discover-scene-close { font-size: 18px; width: 27px; height: 27px; line-height: 1; flex: none; }
.discover-scene-progress { height: 4px; border-radius: 4px; background: #27324e; overflow: hidden; }
.discover-scene-progress span { display: block; height: 100%; background: #7962f4; transition: width .3s ease; }
.discover-scene-stage { margin: 7px 0; color: #acc4db; overflow-wrap: anywhere; }
.discover-scene-verdict { margin: 7px 0; padding: 7px; border: 1px solid #405a6a; border-radius: 7px; color: #b7e6d0; }
.discover-scene-chat { margin-top: 9px; width: 100%; text-align: left; }
.discover-scene-flow { border: 1px solid #2b385f; border-radius: 9px; padding: 8px; background: #0b142b; }
.discover-scene-flow > div:not(.discover-scene-arrow), .discover-scene-structures { display: flex; flex-wrap: wrap; gap: 5px; }
.discover-scene-flow b, .discover-scene-structures b { display: block; flex-basis: 100%; color: #c7d3f2; }
.discover-scene-flow span, .discover-scene-structures span { color: #8192b2; }
.discover-scene-flow .waiting { opacity: .65; }
.discover-scene-flow .sourced { border-color: #4fba9d !important; color: #caffed !important; }
.discover-scene-arrow { text-align: center; padding: 6px; color: #83a6d8; }
.discover-scene-structures { margin-top: 9px; }
.discover-scene-molecule:empty { display: none; }
.discover-scene-molecule { margin-top: 9px; border-top: 1px solid #354573; padding-top: 8px; }
.discover-scene-molecule h2 { font-size: 13px; margin: 2px 0 6px; }
.discover-scene-molecule .molecule-spatial { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 5px; }
.discover-scene-molecule .molecule-spatial label { font-size: 10px; min-width: 0; }
.discover-scene-molecule .molecule-spatial input { width: 100%; }
.discover-scene-molecule .molecule-spatial > div { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px; }
