styles.css 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782
  1. /* 基础样式 */
  2. * {
  3. margin: 0;
  4. padding: 0;
  5. box-sizing: border-box;
  6. }
  7. body {
  8. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  9. background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  10. min-height: 100vh;
  11. color: #e0e0e0;
  12. line-height: 1.6;
  13. }
  14. .container {
  15. max-width: 1400px;
  16. margin: 0 auto;
  17. padding: 20px;
  18. }
  19. /* 头部样式 */
  20. .header {
  21. text-align: center;
  22. padding: 30px 0;
  23. border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  24. margin-bottom: 30px;
  25. }
  26. .header h1 {
  27. font-size: 2.2rem;
  28. color: #00d4ff;
  29. margin-bottom: 10px;
  30. text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  31. }
  32. .subtitle {
  33. color: #888;
  34. font-size: 1rem;
  35. }
  36. /* 上传区域 */
  37. .upload-section {
  38. margin-bottom: 30px;
  39. }
  40. .upload-area {
  41. border: 2px dashed #4a4a6a;
  42. border-radius: 12px;
  43. padding: 40px;
  44. text-align: center;
  45. cursor: pointer;
  46. transition: all 0.3s ease;
  47. background: rgba(255, 255, 255, 0.02);
  48. }
  49. .upload-area:hover {
  50. border-color: #00d4ff;
  51. background: rgba(0, 212, 255, 0.05);
  52. }
  53. .upload-area.dragover {
  54. border-color: #00ff88;
  55. background: rgba(0, 255, 136, 0.1);
  56. }
  57. .upload-icon {
  58. font-size: 3rem;
  59. margin-bottom: 15px;
  60. }
  61. .upload-area p {
  62. margin: 5px 0;
  63. }
  64. .upload-area .hint {
  65. font-size: 0.85rem;
  66. color: #666;
  67. }
  68. .sample-buttons {
  69. display: flex;
  70. gap: 10px;
  71. justify-content: center;
  72. margin-top: 15px;
  73. }
  74. /* 按钮样式 */
  75. .btn {
  76. padding: 12px 28px;
  77. border: none;
  78. border-radius: 8px;
  79. cursor: pointer;
  80. font-size: 1rem;
  81. font-weight: 600;
  82. transition: all 0.3s ease;
  83. display: inline-flex;
  84. align-items: center;
  85. gap: 8px;
  86. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  87. }
  88. .btn-primary {
  89. background: linear-gradient(135deg, #0099ff, #0066cc);
  90. color: white;
  91. }
  92. .btn-primary:hover {
  93. background: linear-gradient(135deg, #00b3ff, #0077dd);
  94. transform: translateY(-2px);
  95. box-shadow: 0 6px 20px rgba(0, 153, 255, 0.4);
  96. }
  97. .btn-secondary {
  98. background: rgba(255, 255, 255, 0.08);
  99. color: #e0e0e0;
  100. border: 1px solid rgba(255, 255, 255, 0.15);
  101. }
  102. .btn-secondary:hover {
  103. background: rgba(255, 255, 255, 0.12);
  104. border-color: rgba(255, 255, 255, 0.25);
  105. transform: translateY(-2px);
  106. box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
  107. }
  108. .btn-success {
  109. background: linear-gradient(135deg, #00d98e, #00a86b);
  110. color: white;
  111. }
  112. .btn-success:hover {
  113. background: linear-gradient(135deg, #00ff9f, #00bf7d);
  114. transform: translateY(-2px);
  115. box-shadow: 0 6px 20px rgba(0, 217, 142, 0.4);
  116. }
  117. .btn:disabled {
  118. opacity: 0.5;
  119. cursor: not-allowed;
  120. transform: none !important;
  121. }
  122. .btn-icon {
  123. font-size: 1.1rem;
  124. }
  125. /* 概览卡片 */
  126. .pipeline-overview {
  127. margin-bottom: 30px;
  128. }
  129. .pipeline-overview h2,
  130. .pipeline-flow h2,
  131. .detail-panel h2,
  132. .stages-detail h2 {
  133. color: #00d4ff;
  134. margin-bottom: 20px;
  135. font-size: 1.3rem;
  136. }
  137. .overview-cards {
  138. display: grid;
  139. grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  140. gap: 20px;
  141. }
  142. .overview-card {
  143. background: rgba(255, 255, 255, 0.05);
  144. border-radius: 12px;
  145. padding: 20px;
  146. display: flex;
  147. align-items: center;
  148. gap: 15px;
  149. border: 1px solid rgba(255, 255, 255, 0.1);
  150. }
  151. .card-icon {
  152. font-size: 2rem;
  153. }
  154. .card-content {
  155. display: flex;
  156. flex-direction: column;
  157. }
  158. .card-label {
  159. font-size: 0.85rem;
  160. color: #888;
  161. }
  162. .card-value {
  163. font-size: 1.2rem;
  164. font-weight: 600;
  165. color: #00ff88;
  166. }
  167. /* 流程图样式 */
  168. .flow-container {
  169. display: flex;
  170. flex-wrap: wrap;
  171. gap: 20px;
  172. padding: 20px;
  173. background: rgba(0, 0, 0, 0.2);
  174. border-radius: 12px;
  175. overflow-x: auto;
  176. }
  177. .flow-node {
  178. background: rgba(255, 255, 255, 0.05);
  179. border: 2px solid #4a4a6a;
  180. border-radius: 12px;
  181. padding: 20px;
  182. min-width: 200px;
  183. cursor: pointer;
  184. transition: all 0.3s ease;
  185. position: relative;
  186. }
  187. .flow-node:hover {
  188. border-color: #00d4ff;
  189. transform: translateY(-3px);
  190. box-shadow: 0 8px 25px rgba(0, 212, 255, 0.2);
  191. }
  192. .flow-node.active {
  193. border-color: #00ff88;
  194. background: rgba(0, 255, 136, 0.1);
  195. }
  196. .flow-node::after {
  197. content: '→';
  198. position: absolute;
  199. right: -25px;
  200. top: 50%;
  201. transform: translateY(-50%);
  202. font-size: 1.5rem;
  203. color: #4a4a6a;
  204. }
  205. .flow-node:last-child::after {
  206. display: none;
  207. }
  208. .node-header {
  209. display: flex;
  210. align-items: center;
  211. gap: 10px;
  212. margin-bottom: 10px;
  213. }
  214. .node-icon {
  215. font-size: 1.5rem;
  216. }
  217. .node-title {
  218. font-weight: 600;
  219. color: #00d4ff;
  220. }
  221. .node-step {
  222. font-size: 0.75rem;
  223. background: rgba(0, 212, 255, 0.2);
  224. padding: 2px 8px;
  225. border-radius: 10px;
  226. color: #00d4ff;
  227. }
  228. .node-stats {
  229. display: flex;
  230. flex-direction: column;
  231. gap: 5px;
  232. font-size: 0.85rem;
  233. color: #888;
  234. }
  235. .node-stat {
  236. display: flex;
  237. justify-content: space-between;
  238. }
  239. .node-stat-value {
  240. color: #00ff88;
  241. }
  242. /* 标签页样式 */
  243. .tabs {
  244. display: flex;
  245. gap: 5px;
  246. margin-bottom: 15px;
  247. border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  248. padding-bottom: 10px;
  249. }
  250. .tab-btn {
  251. padding: 10px 20px;
  252. background: transparent;
  253. border: none;
  254. color: #888;
  255. cursor: pointer;
  256. border-radius: 6px 6px 0 0;
  257. transition: all 0.3s ease;
  258. }
  259. .tab-btn:hover {
  260. color: #e0e0e0;
  261. background: rgba(255, 255, 255, 0.05);
  262. }
  263. .tab-btn.active {
  264. color: #00d4ff;
  265. background: rgba(0, 212, 255, 0.1);
  266. border-bottom: 2px solid #00d4ff;
  267. }
  268. .tab-content {
  269. background: rgba(0, 0, 0, 0.3);
  270. border-radius: 8px;
  271. padding: 20px;
  272. }
  273. .tab-pane {
  274. display: none;
  275. }
  276. .tab-pane.active {
  277. display: block;
  278. }
  279. /* JSON查看器样式 */
  280. .json-viewer {
  281. background: rgba(0, 0, 0, 0.4);
  282. border-radius: 8px;
  283. padding: 15px;
  284. overflow-x: auto;
  285. font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  286. font-size: 0.85rem;
  287. line-height: 1.5;
  288. max-height: 500px;
  289. overflow-y: auto;
  290. white-space: pre-wrap;
  291. word-break: break-all;
  292. }
  293. .json-key {
  294. color: #ff79c6;
  295. }
  296. .json-string {
  297. color: #50fa7b;
  298. }
  299. .json-number {
  300. color: #bd93f9;
  301. }
  302. .json-boolean {
  303. color: #ffb86c;
  304. }
  305. .json-null {
  306. color: #6272a4;
  307. }
  308. /* 手风琴样式 */
  309. .accordion {
  310. display: flex;
  311. flex-direction: column;
  312. gap: 10px;
  313. }
  314. .accordion-item {
  315. background: rgba(255, 255, 255, 0.03);
  316. border: 1px solid rgba(255, 255, 255, 0.1);
  317. border-radius: 8px;
  318. overflow: hidden;
  319. }
  320. .accordion-header {
  321. padding: 15px 20px;
  322. cursor: pointer;
  323. display: flex;
  324. justify-content: space-between;
  325. align-items: center;
  326. transition: background 0.3s ease;
  327. }
  328. .accordion-header:hover {
  329. background: rgba(255, 255, 255, 0.05);
  330. }
  331. .accordion-header.active {
  332. background: rgba(0, 212, 255, 0.1);
  333. border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  334. }
  335. .accordion-title {
  336. display: flex;
  337. align-items: center;
  338. gap: 10px;
  339. }
  340. .accordion-icon {
  341. transition: transform 0.3s ease;
  342. }
  343. .accordion-header.active .accordion-icon {
  344. transform: rotate(180deg);
  345. }
  346. .accordion-content {
  347. display: none;
  348. padding: 20px;
  349. }
  350. .accordion-content.active {
  351. display: block;
  352. }
  353. /* 数据流展示 */
  354. .data-flow {
  355. display: grid;
  356. grid-template-columns: 1fr 1fr;
  357. gap: 20px;
  358. }
  359. .data-section {
  360. background: rgba(0, 0, 0, 0.2);
  361. border-radius: 8px;
  362. padding: 15px;
  363. }
  364. .data-section h4 {
  365. color: #00d4ff;
  366. margin-bottom: 10px;
  367. font-size: 0.95rem;
  368. display: flex;
  369. align-items: center;
  370. gap: 8px;
  371. }
  372. .data-section h4::before {
  373. content: '';
  374. width: 8px;
  375. height: 8px;
  376. border-radius: 50%;
  377. }
  378. .data-section.input h4::before {
  379. background: #ffb86c;
  380. }
  381. .data-section.output h4::before {
  382. background: #50fa7b;
  383. }
  384. /* 子步骤样式 */
  385. .sub-steps {
  386. margin-top: 15px;
  387. padding-top: 15px;
  388. border-top: 1px dashed rgba(255, 255, 255, 0.1);
  389. }
  390. .sub-step {
  391. background: rgba(0, 0, 0, 0.2);
  392. border-radius: 8px;
  393. padding: 15px;
  394. margin-bottom: 10px;
  395. border-left: 3px solid #00d4ff;
  396. }
  397. .sub-step-header {
  398. font-weight: 600;
  399. color: #00d4ff;
  400. margin-bottom: 10px;
  401. }
  402. /* 响应式设计 */
  403. @media (max-width: 768px) {
  404. .data-flow {
  405. grid-template-columns: 1fr;
  406. }
  407. .flow-container {
  408. flex-direction: column;
  409. }
  410. .flow-node::after {
  411. content: '↓';
  412. right: 50%;
  413. top: auto;
  414. bottom: -25px;
  415. transform: translateX(50%);
  416. }
  417. .overview-cards {
  418. grid-template-columns: 1fr;
  419. }
  420. }
  421. /* 滚动条样式 */
  422. ::-webkit-scrollbar {
  423. width: 8px;
  424. height: 8px;
  425. }
  426. ::-webkit-scrollbar-track {
  427. background: rgba(0, 0, 0, 0.2);
  428. border-radius: 4px;
  429. }
  430. ::-webkit-scrollbar-thumb {
  431. background: #4a4a6a;
  432. border-radius: 4px;
  433. }
  434. ::-webkit-scrollbar-thumb:hover {
  435. background: #5a5a7a;
  436. }
  437. /* 加载动画 */
  438. .loading {
  439. display: flex;
  440. justify-content: center;
  441. align-items: center;
  442. padding: 40px;
  443. }
  444. .loading-spinner {
  445. width: 40px;
  446. height: 40px;
  447. border: 3px solid rgba(0, 212, 255, 0.2);
  448. border-top-color: #00d4ff;
  449. border-radius: 50%;
  450. animation: spin 1s linear infinite;
  451. }
  452. @keyframes spin {
  453. to {
  454. transform: rotate(360deg);
  455. }
  456. }
  457. /* 空状态 */
  458. .empty-state {
  459. text-align: center;
  460. padding: 60px 20px;
  461. color: #666;
  462. }
  463. .empty-state-icon {
  464. font-size: 4rem;
  465. margin-bottom: 20px;
  466. }
  467. /* RAG输入区域样式 */
  468. .rag-input-section {
  469. background: rgba(255, 255, 255, 0.03);
  470. border: 1px solid rgba(255, 255, 255, 0.1);
  471. border-radius: 12px;
  472. padding: 25px;
  473. margin-bottom: 30px;
  474. position: relative;
  475. }
  476. .rag-input-section h2 {
  477. color: #00d4ff;
  478. margin-bottom: 15px;
  479. font-size: 1.3rem;
  480. }
  481. .server-status {
  482. position: absolute;
  483. top: 25px;
  484. right: 25px;
  485. display: flex;
  486. align-items: center;
  487. gap: 8px;
  488. font-size: 0.85rem;
  489. }
  490. .status-dot {
  491. width: 10px;
  492. height: 10px;
  493. border-radius: 50%;
  494. animation: pulse 2s infinite;
  495. }
  496. .status-dot.online {
  497. background: #00ff88;
  498. box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
  499. }
  500. .status-dot.warning {
  501. background: #ffb86c;
  502. box-shadow: 0 0 10px rgba(255, 184, 108, 0.5);
  503. }
  504. .status-dot.offline {
  505. background: #ff5555;
  506. box-shadow: 0 0 10px rgba(255, 85, 85, 0.5);
  507. animation: none;
  508. }
  509. @keyframes pulse {
  510. 0%, 100% { opacity: 1; }
  511. 50% { opacity: 0.5; }
  512. }
  513. .input-area {
  514. margin-bottom: 20px;
  515. }
  516. .input-area textarea {
  517. width: 100%;
  518. min-height: 180px;
  519. background: rgba(0, 0, 0, 0.4);
  520. border: 2px solid rgba(255, 255, 255, 0.15);
  521. border-radius: 10px;
  522. padding: 18px;
  523. color: #e8e8e8;
  524. font-family: 'Consolas', 'Monaco', monospace;
  525. font-size: 0.95rem;
  526. line-height: 1.7;
  527. resize: vertical;
  528. transition: all 0.3s ease;
  529. box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
  530. }
  531. .input-area textarea:focus {
  532. outline: none;
  533. border-color: #00d4ff;
  534. background: rgba(0, 0, 0, 0.5);
  535. box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3),
  536. 0 0 0 3px rgba(0, 212, 255, 0.15);
  537. }
  538. .input-area textarea::placeholder {
  539. color: #666;
  540. font-style: italic;
  541. }
  542. .action-buttons {
  543. display: flex;
  544. gap: 10px;
  545. flex-wrap: wrap;
  546. }
  547. .btn-icon {
  548. margin-right: 5px;
  549. }
  550. .btn:disabled {
  551. opacity: 0.5;
  552. cursor: not-allowed;
  553. transform: none !important;
  554. }
  555. .loading-overlay {
  556. position: absolute;
  557. top: 0;
  558. left: 0;
  559. right: 0;
  560. bottom: 0;
  561. background: rgba(26, 26, 46, 0.95);
  562. border-radius: 12px;
  563. display: flex;
  564. flex-direction: column;
  565. justify-content: center;
  566. align-items: center;
  567. gap: 15px;
  568. z-index: 10;
  569. }
  570. .loading-overlay p {
  571. color: #00d4ff;
  572. font-size: 1rem;
  573. }
  574. /* 调整上传区域样式 */
  575. .upload-section {
  576. margin-bottom: 30px;
  577. }
  578. .upload-area {
  579. border: 2px dashed #4a4a6a;
  580. border-radius: 12px;
  581. padding: 20px;
  582. text-align: center;
  583. cursor: pointer;
  584. transition: all 0.3s ease;
  585. background: rgba(255, 255, 255, 0.02);
  586. }
  587. .upload-area .upload-icon {
  588. font-size: 2rem;
  589. margin-bottom: 10px;
  590. }
  591. .upload-area p {
  592. font-size: 0.9rem;
  593. color: #888;
  594. }
  595. /* 流程节点执行时间显示 */
  596. .node-time {
  597. font-size: 0.75rem;
  598. color: #ffb86c;
  599. margin-top: 5px;
  600. }
  601. /* ==================== 功能切换Tab样式 ==================== */
  602. .function-tabs {
  603. display: flex;
  604. gap: 10px;
  605. margin-bottom: 30px;
  606. border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  607. padding-bottom: 10px;
  608. }
  609. .function-tab {
  610. padding: 12px 24px;
  611. border: none;
  612. background: rgba(255, 255, 255, 0.05);
  613. color: #888;
  614. border-radius: 8px 8px 0 0;
  615. cursor: pointer;
  616. font-size: 1rem;
  617. transition: all 0.3s ease;
  618. border-bottom: 3px solid transparent;
  619. }
  620. .function-tab:hover {
  621. background: rgba(0, 212, 255, 0.1);
  622. color: #00d4ff;
  623. }
  624. .function-tab.active {
  625. background: rgba(0, 212, 255, 0.2);
  626. color: #00d4ff;
  627. border-bottom-color: #00d4ff;
  628. }
  629. /* ==================== 专业性审查区域样式 ==================== */
  630. .professional-review-section {
  631. background: rgba(255, 255, 255, 0.03);
  632. border-radius: 12px;
  633. padding: 25px;
  634. margin-bottom: 30px;
  635. position: relative;
  636. }
  637. .review-type-selector {
  638. display: flex;
  639. align-items: center;
  640. gap: 25px;
  641. margin: 15px 0 20px 0;
  642. padding: 18px 20px;
  643. background: linear-gradient(135deg, rgba(0, 153, 255, 0.08), rgba(0, 212, 255, 0.05));
  644. border: 1px solid rgba(0, 212, 255, 0.2);
  645. border-radius: 10px;
  646. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  647. }
  648. .review-type-selector > label:first-child {
  649. color: #00d4ff;
  650. font-weight: 600;
  651. font-size: 0.95rem;
  652. }
  653. .radio-label {
  654. display: flex;
  655. align-items: center;
  656. gap: 8px;
  657. cursor: pointer;
  658. color: #e0e0e0 !important;
  659. font-weight: normal !important;
  660. padding: 6px 12px;
  661. border-radius: 6px;
  662. transition: all 0.2s ease;
  663. }
  664. .radio-label:hover {
  665. background: rgba(0, 212, 255, 0.1);
  666. }
  667. .radio-label input[type="radio"] {
  668. width: 18px;
  669. height: 18px;
  670. cursor: pointer;
  671. accent-color: #00d4ff;
  672. }
  673. .radio-label input[type="radio"]:checked + span {
  674. color: #00ff88;
  675. font-weight: 500;
  676. }
  677. /* ==================== 专业性审查结果样式 ==================== */
  678. .professional-results {
  679. margin-top: 30px;
  680. }
  681. .result-section {
  682. background: rgba(255, 255, 255, 0.03);
  683. border-radius: 12px;
  684. padding: 20px;
  685. margin-bottom: 20px;
  686. }
  687. .result-section h3 {
  688. color: #00d4ff;
  689. margin-bottom: 15px;
  690. font-size: 1.2rem;
  691. }
  692. /* RAG召回摘要卡片 */
  693. .rag-summary {
  694. display: grid;
  695. grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  696. gap: 15px;
  697. }
  698. .summary-card {
  699. background: rgba(0, 212, 255, 0.1);
  700. border: 1px solid rgba(0, 212, 255, 0.3);
  701. border-radius: 8px;
  702. padding: 15px;
  703. }
  704. .summary-card-title {
  705. color: #888;
  706. font-size: 0.85rem;
  707. margin-bottom: 8px;
  708. }
  709. .summary-card-value {
  710. color: #00d4ff;
  711. font-size: 1.5rem;
  712. font-weight: bold;
  713. }
  714. /* 审查结果项 */
  715. .review-results-list {
  716. display: flex;
  717. flex-direction: column;
  718. gap: 20px;
  719. }
  720. .review-result-item {
  721. background: rgba(255, 255, 255, 0.05);
  722. border-left: 4px solid #00d4ff;
  723. border-radius: 8px;
  724. padding: 20px;
  725. }
  726. .result-item-header {
  727. display: flex;
  728. justify-content: space-between;
  729. align-items: center;
  730. margin-bottom: 15px;
  731. padding-bottom: 10px;
  732. border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  733. }
  734. .result-entity-name {
  735. color: #00d4ff;
  736. font-size: 1.1rem;
  737. font-weight: bold;
  738. }
  739. .result-rag-score {
  740. background: rgba(255, 182, 108, 0.2);
  741. color: #ffb86c;
  742. padding: 4px 12px;
  743. border-radius: 12px;
  744. font-size: 0.85rem;
  745. }
  746. .result-item-content {
  747. display: grid;
  748. grid-template-columns: 1fr 1fr;
  749. gap: 20px;
  750. }
  751. .review-result-box {
  752. background: rgba(255, 255, 255, 0.03);
  753. border-radius: 8px;
  754. padding: 15px;
  755. }
  756. .result-box-title {
  757. color: #ffb86c;
  758. font-size: 0.9rem;
  759. font-weight: bold;
  760. margin-bottom: 10px;
  761. display: flex;
  762. align-items: center;
  763. gap: 8px;
  764. }
  765. .result-box-content {
  766. color: #e0e0e0;
  767. font-size: 0.9rem;
  768. line-height: 1.6;
  769. }
  770. .result-json {
  771. background: rgba(0, 0, 0, 0.3);
  772. border-radius: 6px;
  773. padding: 12px;
  774. max-height: 300px;
  775. overflow-y: auto;
  776. }
  777. .result-json pre {
  778. margin: 0;
  779. color: #e0e0e0;
  780. font-size: 0.85rem;
  781. white-space: pre-wrap;
  782. word-wrap: break-word;
  783. }
  784. /* 状态标签 */
  785. .status-badge {
  786. display: inline-block;
  787. padding: 4px 10px;
  788. border-radius: 12px;
  789. font-size: 0.8rem;
  790. font-weight: bold;
  791. }
  792. .status-success {
  793. background: rgba(0, 255, 136, 0.2);
  794. color: #00ff88;
  795. }
  796. .status-warning {
  797. background: rgba(255, 182, 108, 0.2);
  798. color: #ffb86c;
  799. }
  800. .status-error {
  801. background: rgba(255, 85, 85, 0.2);
  802. color: #ff5555;
  803. }
  804. /* 问题详情样式 */
  805. .issue-details {
  806. margin-top: 15px;
  807. padding: 15px;
  808. background: rgba(0, 0, 0, 0.2);
  809. border-radius: 8px;
  810. border-left: 3px solid #ffb86c;
  811. }
  812. .issue-item {
  813. margin-bottom: 15px;
  814. }
  815. .issue-item:last-child {
  816. margin-bottom: 0;
  817. }
  818. .issue-item strong {
  819. display: block;
  820. color: #00d4ff;
  821. font-size: 0.9rem;
  822. margin-bottom: 6px;
  823. }
  824. .issue-item p {
  825. margin: 0;
  826. color: #e0e0e0;
  827. line-height: 1.6;
  828. padding-left: 10px;
  829. border-left: 2px solid rgba(255, 255, 255, 0.1);
  830. }
  831. /* 风险等级标签 */
  832. .risk-badge {
  833. display: inline-block;
  834. padding: 4px 12px;
  835. border-radius: 12px;
  836. font-size: 0.85rem;
  837. font-weight: bold;
  838. margin-left: 10px;
  839. }
  840. .risk-badge.risk-high {
  841. background: rgba(255, 85, 85, 0.2);
  842. color: #ff5555;
  843. border: 1px solid #ff5555;
  844. }
  845. .risk-badge.risk-medium {
  846. background: rgba(255, 182, 108, 0.2);
  847. color: #ffb86c;
  848. border: 1px solid #ffb86c;
  849. }
  850. .risk-badge.risk-low {
  851. background: rgba(80, 250, 123, 0.2);
  852. color: #50fa7b;
  853. border: 1px solid #50fa7b;
  854. }
  855. /* 查看审查依据按钮 */
  856. .view-reference-btn {
  857. background: linear-gradient(135deg, #00d4ff, #0099cc);
  858. color: #ffffff;
  859. border: none;
  860. padding: 8px 16px;
  861. border-radius: 6px;
  862. font-size: 0.9rem;
  863. font-weight: 500;
  864. cursor: pointer;
  865. transition: all 0.3s ease;
  866. box-shadow: 0 2px 6px rgba(0, 212, 255, 0.3);
  867. margin-left: 10px;
  868. }
  869. .view-reference-btn:hover {
  870. background: linear-gradient(135deg, #00e5ff, #00aadd);
  871. transform: translateY(-2px);
  872. box-shadow: 0 4px 12px rgba(0, 212, 255, 0.4);
  873. }
  874. /* 审查依据侧边栏 */
  875. .reference-sidebar {
  876. position: fixed;
  877. top: 0;
  878. right: -600px;
  879. width: 600px;
  880. height: 100vh;
  881. background: rgba(20, 20, 30, 0.98);
  882. backdrop-filter: blur(10px);
  883. border-left: 1px solid rgba(0, 212, 255, 0.3);
  884. box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
  885. transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  886. z-index: 1000;
  887. overflow: hidden;
  888. display: flex;
  889. flex-direction: column;
  890. }
  891. .reference-sidebar.active {
  892. right: 0;
  893. }
  894. .sidebar-header {
  895. padding: 20px 25px;
  896. background: linear-gradient(135deg, rgba(0, 153, 255, 0.15), rgba(0, 212, 255, 0.1));
  897. border-bottom: 2px solid rgba(0, 212, 255, 0.3);
  898. display: flex;
  899. justify-content: space-between;
  900. align-items: center;
  901. }
  902. .sidebar-header h3 {
  903. margin: 0;
  904. color: #00d4ff;
  905. font-size: 1.3rem;
  906. }
  907. .sidebar-close-btn {
  908. background: rgba(255, 85, 85, 0.2);
  909. border: 1px solid #ff5555;
  910. color: #ff5555;
  911. width: 32px;
  912. height: 32px;
  913. border-radius: 6px;
  914. font-size: 1.2rem;
  915. cursor: pointer;
  916. transition: all 0.2s ease;
  917. display: flex;
  918. align-items: center;
  919. justify-content: center;
  920. }
  921. .sidebar-close-btn:hover {
  922. background: rgba(255, 85, 85, 0.3);
  923. transform: scale(1.1);
  924. }
  925. .sidebar-content {
  926. flex: 1;
  927. padding: 25px;
  928. overflow-y: auto;
  929. color: #e0e0e0;
  930. line-height: 1.8;
  931. }
  932. /* Markdown内容样式 */
  933. .sidebar-content h1, .sidebar-content h2, .sidebar-content h3 {
  934. color: #00d4ff;
  935. margin-top: 20px;
  936. margin-bottom: 12px;
  937. border-bottom: 1px solid rgba(0, 212, 255, 0.2);
  938. padding-bottom: 8px;
  939. }
  940. .sidebar-content h1 { font-size: 1.6rem; }
  941. .sidebar-content h2 { font-size: 1.3rem; }
  942. .sidebar-content h3 { font-size: 1.1rem; }
  943. .sidebar-content p {
  944. margin: 10px 0;
  945. }
  946. .sidebar-content code {
  947. background: rgba(0, 0, 0, 0.3);
  948. padding: 2px 6px;
  949. border-radius: 3px;
  950. color: #ffb86c;
  951. font-family: 'Consolas', monospace;
  952. }
  953. .sidebar-content pre {
  954. background: rgba(0, 0, 0, 0.4);
  955. padding: 15px;
  956. border-radius: 8px;
  957. overflow-x: auto;
  958. border-left: 3px solid #00d4ff;
  959. }
  960. .sidebar-content pre code {
  961. background: none;
  962. padding: 0;
  963. }
  964. .sidebar-content ul, .sidebar-content ol {
  965. padding-left: 25px;
  966. margin: 10px 0;
  967. }
  968. .sidebar-content li {
  969. margin: 5px 0;
  970. }
  971. .sidebar-content blockquote {
  972. border-left: 4px solid #00d4ff;
  973. padding-left: 15px;
  974. margin: 15px 0;
  975. color: #b8b8b8;
  976. font-style: italic;
  977. }
  978. .sidebar-content table {
  979. width: 100%;
  980. border-collapse: collapse;
  981. margin: 15px 0;
  982. }
  983. .sidebar-content th, .sidebar-content td {
  984. border: 1px solid rgba(255, 255, 255, 0.1);
  985. padding: 10px;
  986. text-align: left;
  987. }
  988. .sidebar-content th {
  989. background: rgba(0, 212, 255, 0.1);
  990. color: #00d4ff;
  991. font-weight: 600;
  992. }
  993. .sidebar-content td {
  994. background: rgba(0, 0, 0, 0.2);
  995. }
  996. .reference-source {
  997. background: rgba(0, 212, 255, 0.1);
  998. border: 1px solid rgba(0, 212, 255, 0.3);
  999. padding: 12px 15px;
  1000. border-radius: 8px;
  1001. margin-bottom: 20px;
  1002. color: #00d4ff;
  1003. font-weight: 500;
  1004. }
  1005. /* 侧边栏遮罩层 */
  1006. .sidebar-overlay {
  1007. position: fixed;
  1008. top: 0;
  1009. left: 0;
  1010. width: 100%;
  1011. height: 100%;
  1012. background: rgba(0, 0, 0, 0.7);
  1013. backdrop-filter: blur(4px);
  1014. opacity: 0;
  1015. visibility: hidden;
  1016. transition: all 0.3s ease;
  1017. z-index: 999;
  1018. }
  1019. .sidebar-overlay.active {
  1020. opacity: 1;
  1021. visibility: visible;
  1022. }
  1023. /* LaTeX公式样式优化 */
  1024. .sidebar-content .katex {
  1025. color: #e0e0e0;
  1026. }
  1027. .sidebar-content .katex-display {
  1028. margin: 20px 0;
  1029. }
  1030. /* 查询对信息 */
  1031. .query-info {
  1032. background: rgba(0, 212, 255, 0.05);
  1033. border: 1px solid rgba(0, 212, 255, 0.2);
  1034. border-radius: 6px;
  1035. padding: 10px;
  1036. margin-top: 10px;
  1037. font-size: 0.85rem;
  1038. color: #888;
  1039. }
  1040. .query-info strong {
  1041. color: #00d4ff;
  1042. }
  1043. /* 空状态提示 */
  1044. .empty-state {
  1045. text-align: center;
  1046. padding: 60px 20px;
  1047. color: #666;
  1048. }
  1049. .empty-state-icon {
  1050. font-size: 4rem;
  1051. margin-bottom: 20px;
  1052. }
  1053. .empty-state-text {
  1054. font-size: 1.1rem;
  1055. margin-bottom: 10px;
  1056. }
  1057. .empty-state-hint {
  1058. font-size: 0.9rem;
  1059. color: #555;
  1060. }
  1061. /* ==================== 环节调试样式 ==================== */
  1062. .debug-section {
  1063. margin-bottom: 30px;
  1064. }
  1065. .debug-section h2 {
  1066. color: #00d4ff;
  1067. margin-bottom: 20px;
  1068. font-size: 1.3rem;
  1069. }
  1070. .debug-section .server-status {
  1071. position: absolute;
  1072. top: 0;
  1073. right: 25px;
  1074. }
  1075. /* 环节选择器 */
  1076. .step-selector {
  1077. background: rgba(255, 255, 255, 0.03);
  1078. border: 1px solid rgba(255, 255, 255, 0.1);
  1079. border-radius: 12px;
  1080. padding: 20px;
  1081. margin-bottom: 20px;
  1082. }
  1083. .step-selector-label {
  1084. display: block;
  1085. color: #888;
  1086. font-size: 0.85rem;
  1087. margin-bottom: 12px;
  1088. }
  1089. .step-buttons {
  1090. display: flex;
  1091. align-items: center;
  1092. gap: 8px;
  1093. flex-wrap: wrap;
  1094. }
  1095. .step-buttons.second-row {
  1096. margin-top: 10px;
  1097. }
  1098. .step-btn {
  1099. display: flex;
  1100. align-items: center;
  1101. gap: 8px;
  1102. padding: 10px 16px;
  1103. background: rgba(255, 255, 255, 0.05);
  1104. border: 2px solid rgba(255, 255, 255, 0.12);
  1105. border-radius: 10px;
  1106. color: #aaa;
  1107. cursor: pointer;
  1108. transition: all 0.25s ease;
  1109. font-size: 0.9rem;
  1110. }
  1111. .step-btn:hover {
  1112. border-color: #00d4ff;
  1113. color: #00d4ff;
  1114. background: rgba(0, 212, 255, 0.08);
  1115. }
  1116. .step-btn.active {
  1117. border-color: #00ff88;
  1118. color: #00ff88;
  1119. background: rgba(0, 255, 136, 0.12);
  1120. box-shadow: 0 0 16px rgba(0, 255, 136, 0.15);
  1121. }
  1122. .step-num {
  1123. display: inline-flex;
  1124. align-items: center;
  1125. justify-content: center;
  1126. width: 22px;
  1127. height: 22px;
  1128. border-radius: 50%;
  1129. background: rgba(0, 212, 255, 0.2);
  1130. color: #00d4ff;
  1131. font-size: 0.75rem;
  1132. font-weight: bold;
  1133. flex-shrink: 0;
  1134. }
  1135. .step-btn.active .step-num {
  1136. background: rgba(0, 255, 136, 0.25);
  1137. color: #00ff88;
  1138. }
  1139. .step-name {
  1140. font-weight: 600;
  1141. white-space: nowrap;
  1142. }
  1143. .step-desc {
  1144. font-size: 0.75rem;
  1145. color: #666;
  1146. font-family: 'Consolas', monospace;
  1147. }
  1148. .step-arrow {
  1149. color: #4a4a6a;
  1150. font-size: 1.2rem;
  1151. font-weight: bold;
  1152. user-select: none;
  1153. }
  1154. /* 当前环节提示 */
  1155. .current-step-info {
  1156. background: rgba(0, 212, 255, 0.08);
  1157. border: 1px solid rgba(0, 212, 255, 0.2);
  1158. border-radius: 8px;
  1159. padding: 12px 16px;
  1160. margin-bottom: 20px;
  1161. display: flex;
  1162. align-items: center;
  1163. gap: 10px;
  1164. }
  1165. .step-info-icon {
  1166. font-size: 1.3rem;
  1167. }
  1168. .step-info-text {
  1169. color: #e0e0e0;
  1170. font-size: 0.95rem;
  1171. }
  1172. .step-info-text strong {
  1173. color: #00d4ff;
  1174. }
  1175. /* 调试输入区域 */
  1176. .debug-input-area {
  1177. margin-bottom: 20px;
  1178. }
  1179. .debug-input-area .input-area textarea {
  1180. min-height: 150px;
  1181. }
  1182. /* 参数面板 */
  1183. .params-panel {
  1184. background: rgba(255, 255, 255, 0.03);
  1185. border: 1px solid rgba(255, 255, 255, 0.1);
  1186. border-radius: 10px;
  1187. margin-top: 12px;
  1188. overflow: hidden;
  1189. }
  1190. .params-header {
  1191. padding: 12px 16px;
  1192. cursor: pointer;
  1193. display: flex;
  1194. justify-content: space-between;
  1195. align-items: center;
  1196. color: #aaa;
  1197. font-size: 0.9rem;
  1198. transition: background 0.2s;
  1199. }
  1200. .params-header:hover {
  1201. background: rgba(255, 255, 255, 0.03);
  1202. }
  1203. .params-toggle {
  1204. font-size: 0.8rem;
  1205. color: #666;
  1206. }
  1207. .params-body {
  1208. padding: 16px;
  1209. border-top: 1px solid rgba(255, 255, 255, 0.08);
  1210. display: grid;
  1211. grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  1212. gap: 12px;
  1213. }
  1214. .param-row {
  1215. display: flex;
  1216. flex-direction: column;
  1217. gap: 5px;
  1218. }
  1219. .param-row label {
  1220. font-size: 0.8rem;
  1221. color: #888;
  1222. font-family: 'Consolas', monospace;
  1223. }
  1224. .param-row input {
  1225. background: rgba(0, 0, 0, 0.4);
  1226. border: 1px solid rgba(255, 255, 255, 0.12);
  1227. border-radius: 6px;
  1228. padding: 8px 12px;
  1229. color: #e0e0e0;
  1230. font-size: 0.9rem;
  1231. transition: border-color 0.2s;
  1232. }
  1233. .param-row input:focus {
  1234. outline: none;
  1235. border-color: #00d4ff;
  1236. }
  1237. /* 调试结果区域 */
  1238. .debug-result-section {
  1239. margin-top: 30px;
  1240. }
  1241. .debug-result-section h3 {
  1242. color: #00d4ff;
  1243. margin-bottom: 20px;
  1244. font-size: 1.2rem;
  1245. }
  1246. /* 错误展示 */
  1247. .debug-error-box {
  1248. background: rgba(255, 85, 85, 0.1);
  1249. border: 1px solid rgba(255, 85, 85, 0.3);
  1250. border-radius: 10px;
  1251. padding: 20px;
  1252. display: flex;
  1253. align-items: flex-start;
  1254. gap: 14px;
  1255. }
  1256. .debug-error-icon {
  1257. font-size: 1.5rem;
  1258. flex-shrink: 0;
  1259. }
  1260. .debug-error-msg {
  1261. color: #ff8888;
  1262. font-size: 0.95rem;
  1263. word-break: break-all;
  1264. }
  1265. /* 摘要网格 */
  1266. .debug-summary-box {
  1267. background: rgba(255, 255, 255, 0.03);
  1268. border: 1px solid rgba(255, 255, 255, 0.1);
  1269. border-radius: 10px;
  1270. padding: 16px;
  1271. margin-bottom: 16px;
  1272. }
  1273. .debug-summary-box h4 {
  1274. color: #ffb86c;
  1275. margin-bottom: 12px;
  1276. font-size: 0.95rem;
  1277. }
  1278. .debug-summary-grid {
  1279. display: grid;
  1280. grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  1281. gap: 10px;
  1282. }
  1283. .debug-summary-item {
  1284. background: rgba(0, 0, 0, 0.2);
  1285. border-radius: 6px;
  1286. padding: 10px 14px;
  1287. display: flex;
  1288. flex-direction: column;
  1289. gap: 4px;
  1290. }
  1291. .debug-summary-key {
  1292. font-size: 0.75rem;
  1293. color: #888;
  1294. font-family: 'Consolas', monospace;
  1295. }
  1296. .debug-summary-val {
  1297. font-size: 0.95rem;
  1298. color: #e0e0e0;
  1299. font-weight: 500;
  1300. word-break: break-all;
  1301. }
  1302. /* 输出盒子 */
  1303. .debug-output-box {
  1304. background: rgba(255, 255, 255, 0.03);
  1305. border: 1px solid rgba(255, 255, 255, 0.1);
  1306. border-radius: 10px;
  1307. padding: 16px;
  1308. margin-bottom: 16px;
  1309. }
  1310. .debug-output-box h4 {
  1311. color: #50fa7b;
  1312. margin-bottom: 12px;
  1313. font-size: 0.95rem;
  1314. }
  1315. /* 数据表格 */
  1316. .debug-table-wrap {
  1317. overflow-x: auto;
  1318. border-radius: 8px;
  1319. border: 1px solid rgba(255, 255, 255, 0.08);
  1320. }
  1321. .debug-table {
  1322. width: 100%;
  1323. border-collapse: collapse;
  1324. font-size: 0.85rem;
  1325. }
  1326. .debug-table th {
  1327. background: rgba(0, 212, 255, 0.1);
  1328. color: #00d4ff;
  1329. padding: 10px 14px;
  1330. text-align: left;
  1331. font-weight: 600;
  1332. white-space: nowrap;
  1333. border-bottom: 2px solid rgba(0, 212, 255, 0.2);
  1334. }
  1335. .debug-table td {
  1336. padding: 10px 14px;
  1337. border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  1338. color: #e0e0e0;
  1339. vertical-align: top;
  1340. }
  1341. .debug-table tbody tr:hover {
  1342. background: rgba(255, 255, 255, 0.03);
  1343. }
  1344. .preview-cell {
  1345. max-width: 300px;
  1346. overflow: hidden;
  1347. text-overflow: ellipsis;
  1348. white-space: nowrap;
  1349. color: #aaa;
  1350. font-size: 0.82rem;
  1351. }
  1352. .score-badge {
  1353. background: rgba(189, 147, 249, 0.2);
  1354. color: #bd93f9;
  1355. padding: 2px 8px;
  1356. border-radius: 8px;
  1357. font-family: 'Consolas', monospace;
  1358. font-size: 0.82rem;
  1359. }
  1360. /* 结果卡片 */
  1361. .debug-result-count {
  1362. color: #888;
  1363. font-size: 0.85rem;
  1364. margin-bottom: 12px;
  1365. }
  1366. .debug-result-cards {
  1367. display: flex;
  1368. flex-direction: column;
  1369. gap: 12px;
  1370. }
  1371. .debug-result-card {
  1372. background: rgba(255, 255, 255, 0.04);
  1373. border: 1px solid rgba(255, 255, 255, 0.08);
  1374. border-left: 3px solid #00d4ff;
  1375. border-radius: 8px;
  1376. padding: 14px 16px;
  1377. transition: border-color 0.2s;
  1378. }
  1379. .debug-result-card:hover {
  1380. border-left-color: #00ff88;
  1381. }
  1382. .debug-result-card.parent-doc {
  1383. border-left-color: #ffb86c;
  1384. }
  1385. .drc-header {
  1386. display: flex;
  1387. justify-content: space-between;
  1388. align-items: center;
  1389. margin-bottom: 8px;
  1390. }
  1391. .drc-index {
  1392. font-weight: 600;
  1393. color: #00d4ff;
  1394. font-size: 0.9rem;
  1395. }
  1396. .drc-score {
  1397. font-family: 'Consolas', monospace;
  1398. font-size: 0.82rem;
  1399. color: #bd93f9;
  1400. background: rgba(189, 147, 249, 0.1);
  1401. padding: 2px 8px;
  1402. border-radius: 6px;
  1403. }
  1404. .drc-file {
  1405. color: #888;
  1406. font-size: 0.8rem;
  1407. margin-bottom: 8px;
  1408. }
  1409. .drc-content {
  1410. color: #ccc;
  1411. font-size: 0.85rem;
  1412. line-height: 1.6;
  1413. word-break: break-all;
  1414. }
  1415. /* 链式流程图 */
  1416. .chain-flow {
  1417. margin-bottom: 20px;
  1418. }
  1419. .chain-flow-container {
  1420. display: flex;
  1421. align-items: flex-start;
  1422. gap: 10px;
  1423. padding: 20px;
  1424. background: rgba(0, 0, 0, 0.2);
  1425. border-radius: 12px;
  1426. overflow-x: auto;
  1427. flex-wrap: wrap;
  1428. }
  1429. .chain-step {
  1430. background: rgba(255, 255, 255, 0.05);
  1431. border: 2px solid #4a4a6a;
  1432. border-radius: 10px;
  1433. padding: 14px;
  1434. min-width: 150px;
  1435. text-align: center;
  1436. transition: all 0.3s;
  1437. }
  1438. .chain-step-success {
  1439. border-color: #00ff88;
  1440. background: rgba(0, 255, 136, 0.06);
  1441. }
  1442. .chain-step-error {
  1443. border-color: #ff5555;
  1444. background: rgba(255, 85, 85, 0.06);
  1445. }
  1446. .chain-step-pending {
  1447. border-color: #4a4a6a;
  1448. opacity: 0.5;
  1449. }
  1450. .chain-step-header {
  1451. display: flex;
  1452. justify-content: center;
  1453. gap: 8px;
  1454. margin-bottom: 6px;
  1455. }
  1456. .chain-step-icon {
  1457. font-size: 1.2rem;
  1458. }
  1459. .chain-step-status {
  1460. font-size: 0.9rem;
  1461. }
  1462. .chain-step-name {
  1463. font-weight: 600;
  1464. color: #e0e0e0;
  1465. font-size: 0.85rem;
  1466. margin-bottom: 4px;
  1467. }
  1468. .chain-step-time {
  1469. color: #ffb86c;
  1470. font-size: 0.75rem;
  1471. margin-bottom: 4px;
  1472. }
  1473. .chain-step-summary {
  1474. color: #888;
  1475. font-size: 0.72rem;
  1476. line-height: 1.4;
  1477. }
  1478. .chain-arrow {
  1479. color: #4a4a6a;
  1480. font-size: 1.5rem;
  1481. align-self: center;
  1482. flex-shrink: 0;
  1483. }
  1484. /* 环节详情 */
  1485. .debug-step-detail {
  1486. display: flex;
  1487. flex-direction: column;
  1488. gap: 12px;
  1489. }
  1490. .debug-step-detail .data-section {
  1491. background: rgba(0, 0, 0, 0.2);
  1492. border-radius: 8px;
  1493. padding: 12px;
  1494. }
  1495. .debug-step-detail .data-section h4 {
  1496. color: #00d4ff;
  1497. margin-bottom: 8px;
  1498. font-size: 0.85rem;
  1499. }
  1500. @media (max-width: 768px) {
  1501. .step-buttons {
  1502. flex-direction: column;
  1503. }
  1504. .step-arrow {
  1505. transform: rotate(90deg);
  1506. }
  1507. .chain-flow-container {
  1508. flex-direction: column;
  1509. }
  1510. .chain-arrow {
  1511. transform: rotate(90deg);
  1512. align-self: center;
  1513. }
  1514. .debug-table-wrap {
  1515. font-size: 0.75rem;
  1516. }
  1517. }