globals.css 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382
  1. :root {
  2. --bg: #f5f5f7;
  3. --surface: #ffffff;
  4. --line: #e5e7eb;
  5. --line-strong: #94a3b8;
  6. --text: #111827;
  7. --muted: #6b7280;
  8. --faint: #94a3b8;
  9. --source: #1e293b;
  10. --source-sub: #475569;
  11. --query: #b45309;
  12. --query-sub: #d97706;
  13. --impl: #065f46;
  14. --impl-sub: #047857;
  15. --output: #1e40af;
  16. --output-sub: #2563eb;
  17. font-family: -apple-system, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  18. color: var(--text);
  19. background: var(--bg);
  20. }
  21. * {
  22. box-sizing: border-box;
  23. }
  24. html,
  25. body {
  26. margin: 0;
  27. min-height: 100%;
  28. background: var(--bg);
  29. }
  30. body {
  31. height: 100vh;
  32. overflow: hidden;
  33. font-size: 13px;
  34. }
  35. button,
  36. input,
  37. select {
  38. font: inherit;
  39. }
  40. a {
  41. color: inherit;
  42. text-decoration: none;
  43. }
  44. button,
  45. a {
  46. touch-action: manipulation;
  47. }
  48. button:focus-visible,
  49. a:focus-visible {
  50. outline: 3px solid #bfdbfe;
  51. outline-offset: 2px;
  52. }
  53. .app-shell {
  54. height: 100vh;
  55. background: var(--bg);
  56. }
  57. .scroll-area {
  58. height: 100%;
  59. overflow: auto;
  60. }
  61. .page-header {
  62. min-height: 52px;
  63. display: flex;
  64. align-items: center;
  65. justify-content: space-between;
  66. gap: 14px;
  67. padding: 12px 20px 8px;
  68. background: var(--surface);
  69. border-bottom: 1px solid var(--line);
  70. }
  71. .header-left,
  72. .toolbar,
  73. .brand,
  74. .toolbar-button,
  75. .icon-button,
  76. .mini-button {
  77. display: inline-flex;
  78. align-items: center;
  79. }
  80. .header-left {
  81. gap: 10px;
  82. min-width: 0;
  83. flex-wrap: wrap;
  84. }
  85. .toolbar {
  86. justify-content: flex-end;
  87. gap: 8px;
  88. }
  89. .brand {
  90. gap: 6px;
  91. color: #111827;
  92. font-size: 16px;
  93. font-weight: 700;
  94. white-space: nowrap;
  95. }
  96. .header-subtitle {
  97. color: var(--muted);
  98. font-size: 12px;
  99. line-height: 1.5;
  100. overflow-wrap: anywhere;
  101. }
  102. .header-summary-chips {
  103. display: inline-flex;
  104. flex-wrap: wrap;
  105. align-items: center;
  106. gap: 4px;
  107. min-width: 0;
  108. }
  109. .header-summary-chips .chip {
  110. margin: 0;
  111. }
  112. .toolbar-button,
  113. .icon-button,
  114. .mini-button {
  115. min-height: 32px;
  116. justify-content: center;
  117. gap: 6px;
  118. border: 1px solid #cbd5e1;
  119. border-radius: 4px;
  120. color: #334155;
  121. background: #fff;
  122. cursor: pointer;
  123. font-size: 12px;
  124. font-weight: 600;
  125. transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
  126. }
  127. .toolbar-button {
  128. padding: 0 10px;
  129. }
  130. .icon-button {
  131. width: 34px;
  132. }
  133. .mini-button {
  134. min-height: 28px;
  135. padding: 0 8px;
  136. }
  137. .mini-button.ghost {
  138. color: #64748b;
  139. background: #f8fafc;
  140. }
  141. .toolbar-button:hover,
  142. .icon-button:hover,
  143. .mini-button:hover {
  144. color: #1e40af;
  145. border-color: #93c5fd;
  146. background: #eff6ff;
  147. }
  148. .source-block,
  149. .declarations {
  150. margin: 10px 20px 0;
  151. background: #fff;
  152. border: 1px solid #e2e8f0;
  153. border-radius: 6px;
  154. }
  155. .source-block summary,
  156. .declarations summary {
  157. padding: 9px 14px;
  158. cursor: pointer;
  159. list-style: none;
  160. }
  161. .source-block summary::-webkit-details-marker,
  162. .declarations summary::-webkit-details-marker {
  163. display: none;
  164. }
  165. .source-block summary::before,
  166. .declarations summary::before {
  167. content: ">";
  168. display: inline-block;
  169. margin-right: 7px;
  170. color: var(--faint);
  171. font-size: 10px;
  172. transform: rotate(90deg);
  173. }
  174. .source-block:not([open]) summary::before,
  175. .declarations:not([open]) summary::before {
  176. transform: rotate(0);
  177. }
  178. .source-summary,
  179. .source-body {
  180. padding: 8px 14px;
  181. color: #475569;
  182. line-height: 1.6;
  183. }
  184. .source-body {
  185. display: flex;
  186. flex-wrap: wrap;
  187. align-items: center;
  188. gap: 8px;
  189. border-top: 1px solid #e2e8f0;
  190. }
  191. .decl-purpose {
  192. margin-left: 12px;
  193. color: #475569;
  194. font-size: 12px;
  195. }
  196. .tag-mini {
  197. display: inline-block;
  198. margin-left: 8px;
  199. padding: 1px 7px;
  200. border-radius: 3px;
  201. color: #92400e;
  202. background: #fef3c7;
  203. font-size: 11px;
  204. font-weight: 600;
  205. }
  206. .kw {
  207. color: #6d28d9;
  208. font-weight: 700;
  209. }
  210. .decl-body {
  211. display: flex;
  212. flex-wrap: wrap;
  213. gap: 14px 32px;
  214. padding: 12px 18px 14px;
  215. border-top: 1px solid #e2e8f0;
  216. }
  217. .decl-section {
  218. min-width: 260px;
  219. flex: 1 1 280px;
  220. }
  221. .decl-label {
  222. margin-bottom: 6px;
  223. padding-bottom: 4px;
  224. border-bottom: 1px dashed #e2e8f0;
  225. color: #475569;
  226. font-size: 11.5px;
  227. font-weight: 700;
  228. }
  229. .decl-row {
  230. color: #1f2937;
  231. font-size: 12.5px;
  232. line-height: 1.65;
  233. }
  234. .legend {
  235. display: flex;
  236. flex-wrap: wrap;
  237. align-items: center;
  238. gap: 6px 12px;
  239. margin-top: 12px;
  240. padding: 10px 20px;
  241. background: #fff;
  242. border-top: 1px solid var(--line);
  243. border-bottom: 1px solid var(--line);
  244. color: var(--muted);
  245. font-size: 11.5px;
  246. }
  247. .legend-group {
  248. display: inline-flex;
  249. }
  250. .legend-head {
  251. padding: 2px 8px;
  252. border: 0;
  253. border-radius: 3px;
  254. color: #1f2937;
  255. cursor: pointer;
  256. font-weight: 700;
  257. }
  258. .legend-group.gray .legend-head {
  259. background: #e2e8f0;
  260. }
  261. .legend-group.yellow .legend-head {
  262. background: #fde68a;
  263. }
  264. .legend-group.green .legend-head {
  265. background: #bbf7d0;
  266. }
  267. .legend-group.blue .legend-head {
  268. background: #bfdbfe;
  269. }
  270. .legend-head.off {
  271. opacity: 0.45;
  272. text-decoration: line-through;
  273. }
  274. .legend-hint {
  275. margin-left: auto;
  276. color: var(--faint);
  277. font-size: 11px;
  278. }
  279. .table-wrap {
  280. background: #fff;
  281. }
  282. .ledger-table {
  283. width: max-content;
  284. min-width: 100%;
  285. border-collapse: collapse;
  286. background: #fff;
  287. table-layout: auto;
  288. font-size: 12px;
  289. }
  290. .ledger-table th,
  291. .ledger-table td {
  292. border: 1px solid var(--line);
  293. padding: 6px 8px;
  294. vertical-align: top;
  295. line-height: 1.5;
  296. }
  297. .ledger-table thead th {
  298. position: sticky;
  299. top: 0;
  300. z-index: 4;
  301. padding: 8px 6px;
  302. color: #fff;
  303. font-size: 12.5px;
  304. font-weight: 700;
  305. text-align: center;
  306. }
  307. .ledger-table tbody td {
  308. font-size: 12px;
  309. }
  310. .ledger-row > td {
  311. border-top: 1.5px solid var(--line-strong);
  312. }
  313. .group-demand,
  314. .group-source,
  315. .sub-source {
  316. background: var(--source) !important;
  317. }
  318. .group-videos,
  319. .group-rules,
  320. .sub-videos,
  321. .sub-rules {
  322. background: var(--impl) !important;
  323. }
  324. .group-walk,
  325. .group-assets,
  326. .sub-walk,
  327. .sub-assets {
  328. background: var(--output) !important;
  329. }
  330. .sub-source {
  331. background: var(--source-sub) !important;
  332. }
  333. .sub-videos,
  334. .sub-rules {
  335. background: var(--impl-sub) !important;
  336. }
  337. .sub-walk,
  338. .sub-assets {
  339. background: var(--output-sub) !important;
  340. }
  341. .demand-cell,
  342. .source-cell {
  343. background: #f8fafc;
  344. }
  345. .videos-cell,
  346. .rules-cell {
  347. background: #f0fdf4;
  348. }
  349. .walk-cell,
  350. .asset-cell {
  351. background: #eff6ff;
  352. }
  353. .demand-cell,
  354. .group-demand {
  355. width: 300px;
  356. min-width: 300px;
  357. max-width: 300px;
  358. }
  359. .source-cell,
  360. .sub-source,
  361. .group-source {
  362. width: 360px;
  363. min-width: 360px;
  364. max-width: 360px;
  365. }
  366. .videos-cell {
  367. min-width: 500px;
  368. max-width: 560px;
  369. }
  370. .rules-cell {
  371. min-width: 190px;
  372. max-width: 260px;
  373. }
  374. .walk-cell {
  375. min-width: 210px;
  376. max-width: 240px;
  377. }
  378. .asset-cell {
  379. min-width: 130px;
  380. }
  381. .sticky-demand {
  382. position: sticky !important;
  383. left: 0;
  384. z-index: 4;
  385. }
  386. .sticky-source {
  387. position: sticky !important;
  388. left: 300px;
  389. z-index: 3;
  390. }
  391. .ledger-table thead .sticky-demand {
  392. z-index: 7;
  393. }
  394. .ledger-table thead .sticky-source {
  395. z-index: 6;
  396. }
  397. .demand-cell,
  398. .group-demand,
  399. .source-cell,
  400. .sub-source,
  401. .group-source {
  402. box-shadow: 6px 0 8px -4px rgba(0, 0, 0, 0.18);
  403. }
  404. .demand-card {
  405. display: grid;
  406. gap: 7px;
  407. }
  408. .demand-card-head,
  409. .demand-meta-row {
  410. display: flex;
  411. flex-wrap: wrap;
  412. gap: 5px;
  413. align-items: center;
  414. }
  415. .demand-title {
  416. color: #111827;
  417. font-size: 13px;
  418. line-height: 1.45;
  419. }
  420. .demand-line {
  421. margin: 0;
  422. color: #334155;
  423. font-size: 11.5px;
  424. line-height: 1.55;
  425. }
  426. .demand-line b,
  427. .demand-list b {
  428. color: #111827;
  429. font-weight: 850;
  430. }
  431. .demand-meta-row span {
  432. padding: 2px 6px;
  433. border-radius: 4px;
  434. color: #475569;
  435. background: #e2e8f0;
  436. font-size: 10.5px;
  437. font-weight: 800;
  438. }
  439. .demand-list {
  440. display: grid;
  441. gap: 4px;
  442. color: #334155;
  443. font-size: 11.5px;
  444. line-height: 1.55;
  445. }
  446. .demand-list div {
  447. display: grid;
  448. gap: 3px;
  449. }
  450. .demand-list span {
  451. overflow-wrap: anywhere;
  452. }
  453. .demand-list em {
  454. color: var(--muted);
  455. font-style: normal;
  456. }
  457. .repeated-demand {
  458. color: #64748b;
  459. font-size: 11.5px;
  460. font-weight: 800;
  461. text-align: center;
  462. }
  463. .idx {
  464. display: inline-block;
  465. margin-bottom: 5px;
  466. padding: 0 5px;
  467. border-radius: 3px;
  468. color: #475569;
  469. background: #e2e8f0;
  470. font-family: ui-monospace, "SF Mono", monospace;
  471. font-size: 10px;
  472. }
  473. .cell-stack {
  474. display: grid;
  475. gap: 5px;
  476. min-width: 0;
  477. }
  478. .source-detail-list {
  479. display: grid;
  480. gap: 3px;
  481. }
  482. .source-kind-badge {
  483. display: inline-block;
  484. width: fit-content;
  485. padding: 5px 10px;
  486. border: 1px solid transparent;
  487. border-radius: 5px;
  488. font-size: 14px;
  489. font-weight: 800;
  490. line-height: 1.2;
  491. }
  492. .source-kind-badge.seed {
  493. color: #172554;
  494. border-color: #bfdbfe;
  495. background: #dbeafe;
  496. }
  497. .source-kind-badge.piaoquan {
  498. color: #713f12;
  499. border-color: #fde68a;
  500. background: #fef3c7;
  501. }
  502. .source-kind-badge.category {
  503. color: #064e3b;
  504. border-color: #bbf7d0;
  505. background: #dcfce7;
  506. }
  507. .source-kind-badge.unknown {
  508. color: #334155;
  509. border-color: #cbd5e1;
  510. background: #e2e8f0;
  511. }
  512. .source-query-text {
  513. font-size: 14px;
  514. line-height: 1.45;
  515. }
  516. .title-link,
  517. .cell-stack strong {
  518. color: #0f172a;
  519. overflow-wrap: anywhere;
  520. }
  521. .title-link:hover {
  522. color: #1e40af;
  523. text-decoration: underline;
  524. }
  525. .muted {
  526. color: var(--muted);
  527. font-size: 11.5px;
  528. overflow-wrap: anywhere;
  529. }
  530. .strong-muted {
  531. color: #334155;
  532. font-size: 12px;
  533. font-weight: 650;
  534. line-height: 1.55;
  535. }
  536. .chip-row {
  537. display: flex;
  538. flex-wrap: wrap;
  539. gap: 4px;
  540. }
  541. .chip {
  542. display: inline-block;
  543. width: fit-content;
  544. margin: 1px 3px 1px 0;
  545. padding: 1px 7px;
  546. border-radius: 10px;
  547. color: #1f2937;
  548. background: #d1d5db;
  549. font-size: 11.5px;
  550. line-height: 1.45;
  551. white-space: nowrap;
  552. }
  553. .chip.dark {
  554. color: #fff;
  555. background: #475569;
  556. }
  557. .chip.yellow {
  558. color: #78350f;
  559. background: #fde68a;
  560. }
  561. .chip.green {
  562. color: #065f46;
  563. background: #bbf7d0;
  564. }
  565. .chip.blue {
  566. color: #1e3a8a;
  567. background: #bfdbfe;
  568. }
  569. .video-strip {
  570. display: flex;
  571. gap: 6px;
  572. min-height: 74px;
  573. }
  574. .video-mini {
  575. width: 150px;
  576. min-height: 74px;
  577. display: grid;
  578. grid-template-columns: 40px 1fr;
  579. gap: 7px;
  580. padding: 6px;
  581. border: 1px solid #d1fae5;
  582. border-radius: 4px;
  583. background: #fff;
  584. }
  585. .video-mini:hover {
  586. border-color: #86efac;
  587. background: #f7fee7;
  588. }
  589. .video-thumb {
  590. width: 40px;
  591. height: 56px;
  592. display: inline-flex;
  593. align-items: center;
  594. justify-content: center;
  595. border-radius: 3px;
  596. color: #065f46;
  597. background: #dcfce7;
  598. font-size: 10px;
  599. font-weight: 800;
  600. }
  601. .video-mini b {
  602. display: -webkit-box;
  603. overflow: hidden;
  604. color: #111827;
  605. font-size: 11.5px;
  606. -webkit-line-clamp: 2;
  607. -webkit-box-orient: vertical;
  608. }
  609. .video-mini small {
  610. display: block;
  611. margin-top: 3px;
  612. color: var(--muted);
  613. font-size: 11px;
  614. font-weight: 650;
  615. line-height: 1.45;
  616. }
  617. .cell-footer {
  618. display: flex;
  619. flex-wrap: wrap;
  620. gap: 6px;
  621. margin: 6px 0;
  622. color: var(--muted);
  623. font-size: 11.5px;
  624. }
  625. .run-list {
  626. margin: 12px 20px 24px;
  627. display: grid;
  628. gap: 8px;
  629. }
  630. .run-row {
  631. display: flex;
  632. align-items: center;
  633. justify-content: space-between;
  634. gap: 12px;
  635. min-height: 58px;
  636. padding: 10px 12px;
  637. border: 1px solid #e2e8f0;
  638. border-radius: 6px;
  639. background: #fff;
  640. }
  641. .run-row:hover {
  642. border-color: #bfdbfe;
  643. background: #f8fafc;
  644. }
  645. .run-row strong,
  646. .run-row span {
  647. display: block;
  648. }
  649. .run-row strong {
  650. font-size: 13px;
  651. }
  652. .run-row span {
  653. color: var(--muted);
  654. font-size: 12px;
  655. }
  656. .run-row-meta {
  657. display: flex;
  658. flex-wrap: wrap;
  659. justify-content: flex-end;
  660. gap: 4px;
  661. }
  662. .state-block {
  663. margin: 14px 20px;
  664. padding: 18px;
  665. border: 1px solid #e2e8f0;
  666. border-radius: 6px;
  667. background: #fff;
  668. color: #475569;
  669. }
  670. .error-state {
  671. color: #991b1b;
  672. background: #fef2f2;
  673. border-color: #fecaca;
  674. }
  675. .detail-table-wrap {
  676. margin: 12px 20px 24px;
  677. overflow: auto;
  678. border: 1px solid #e5e7eb;
  679. border-radius: 6px;
  680. background: #fff;
  681. }
  682. .detail-table {
  683. width: 100%;
  684. min-width: 980px;
  685. border-collapse: collapse;
  686. font-size: 12px;
  687. }
  688. .detail-table th,
  689. .detail-table td {
  690. border: 1px solid #e5e7eb;
  691. padding: 7px 8px;
  692. vertical-align: top;
  693. line-height: 1.5;
  694. }
  695. .detail-table th {
  696. position: sticky;
  697. top: 0;
  698. z-index: 2;
  699. color: #fff;
  700. background: #475569;
  701. font-weight: 700;
  702. text-align: left;
  703. }
  704. .walk-lanes {
  705. display: grid;
  706. grid-template-columns: repeat(4, minmax(210px, 1fr));
  707. gap: 10px;
  708. margin: 12px 20px;
  709. }
  710. .walk-lane {
  711. min-height: 180px;
  712. border: 1px solid #dbeafe;
  713. border-radius: 6px;
  714. background: #eff6ff;
  715. }
  716. .lane-head {
  717. padding: 8px 10px;
  718. color: #fff;
  719. background: #1e40af;
  720. border-radius: 5px 5px 0 0;
  721. font-size: 12px;
  722. font-weight: 700;
  723. }
  724. .walk-node {
  725. width: calc(100% - 12px);
  726. display: grid;
  727. gap: 2px;
  728. margin: 6px;
  729. padding: 7px 8px;
  730. border: 1px solid #bfdbfe;
  731. border-radius: 4px;
  732. color: #172554;
  733. background: #fff;
  734. cursor: pointer;
  735. text-align: left;
  736. }
  737. .walk-node:hover {
  738. border-color: #60a5fa;
  739. background: #f8fbff;
  740. }
  741. .walk-node span,
  742. .walk-node small {
  743. color: var(--muted);
  744. overflow-wrap: anywhere;
  745. }
  746. .lane-empty {
  747. display: block;
  748. padding: 10px;
  749. }
  750. .score-list {
  751. display: grid;
  752. gap: 5px;
  753. }
  754. .score-list.roomy {
  755. gap: 8px;
  756. margin-top: 10px;
  757. }
  758. .score-row {
  759. display: grid;
  760. grid-template-columns: minmax(72px, 1fr) auto;
  761. gap: 6px;
  762. align-items: start;
  763. padding: 6px 7px;
  764. border: 1px solid #dbeafe;
  765. border-radius: 4px;
  766. background: #f8fbff;
  767. }
  768. .score-row span {
  769. color: #334155;
  770. font-size: 11.5px;
  771. }
  772. .score-row b {
  773. color: #1e40af;
  774. font-size: 12px;
  775. font-variant-numeric: tabular-nums;
  776. }
  777. .score-row small {
  778. grid-column: 1 / -1;
  779. color: var(--muted);
  780. line-height: 1.45;
  781. }
  782. .score-module-grid {
  783. display: grid;
  784. grid-template-columns: repeat(3, minmax(0, 1fr));
  785. gap: 8px;
  786. margin-top: 10px;
  787. }
  788. .score-module {
  789. display: grid;
  790. gap: 5px;
  791. min-height: 108px;
  792. padding: 10px;
  793. border: 1px solid #dbeafe;
  794. border-radius: 5px;
  795. background: #f8fbff;
  796. }
  797. .score-module span {
  798. color: #334155;
  799. font-size: 12px;
  800. font-weight: 800;
  801. }
  802. .score-module b {
  803. color: #111827;
  804. font-size: 20px;
  805. line-height: 1.1;
  806. font-variant-numeric: tabular-nums;
  807. }
  808. .score-module small {
  809. color: var(--muted);
  810. font-size: 11.5px;
  811. line-height: 1.45;
  812. }
  813. .score-module.score-total {
  814. border-color: #bfdbfe;
  815. background: #eff6ff;
  816. }
  817. .score-module.score-demand {
  818. border-color: #bbf7d0;
  819. background: #f0fdf4;
  820. }
  821. .score-module.score-platform {
  822. border-color: #fde68a;
  823. background: #fffbeb;
  824. }
  825. .score-mini {
  826. max-width: 220px;
  827. color: #334155;
  828. font-size: 11.5px;
  829. line-height: 1.55;
  830. }
  831. .walk-tree-wrap {
  832. margin: 12px 20px;
  833. padding: 12px;
  834. border: 1px solid #dbeafe;
  835. border-radius: 6px;
  836. background: #f8fbff;
  837. }
  838. .walk-tree-root {
  839. display: flex;
  840. flex-wrap: wrap;
  841. gap: 8px;
  842. align-items: center;
  843. padding: 8px 10px;
  844. border: 1px solid #cbd5e1;
  845. border-radius: 4px;
  846. background: #fff;
  847. }
  848. .walk-tree-root strong {
  849. color: #0f172a;
  850. }
  851. .walk-tree-root small {
  852. color: var(--muted);
  853. }
  854. .walk-tree {
  855. display: grid;
  856. gap: 8px;
  857. margin-top: 10px;
  858. }
  859. .walk-tree-node {
  860. --depth: 0;
  861. position: relative;
  862. display: grid;
  863. grid-template-columns: 18px minmax(0, 1fr);
  864. margin-left: calc(var(--depth) * 28px);
  865. }
  866. .walk-node-spine {
  867. position: relative;
  868. min-height: 100%;
  869. }
  870. .walk-node-spine::before {
  871. content: "";
  872. position: absolute;
  873. top: -8px;
  874. bottom: -8px;
  875. left: 8px;
  876. width: 2px;
  877. background: #bfdbfe;
  878. }
  879. .walk-node-spine::after {
  880. content: "";
  881. position: absolute;
  882. top: 18px;
  883. left: 4px;
  884. width: 10px;
  885. height: 10px;
  886. border: 2px solid #2563eb;
  887. border-radius: 999px;
  888. background: #fff;
  889. }
  890. .walk-tree-node.skipped .walk-node-spine::after {
  891. border-color: #d97706;
  892. }
  893. .walk-node-card {
  894. display: grid;
  895. gap: 7px;
  896. padding: 9px 10px;
  897. border: 1px solid #bfdbfe;
  898. border-radius: 5px;
  899. background: #fff;
  900. }
  901. .walk-tree-node.skipped .walk-node-card {
  902. border-color: #fde68a;
  903. background: #fffbeb;
  904. }
  905. .walk-node-title,
  906. .walk-node-meta {
  907. display: flex;
  908. flex-wrap: wrap;
  909. gap: 7px;
  910. align-items: center;
  911. }
  912. .walk-node-title strong {
  913. color: #0f172a;
  914. }
  915. .walk-node-meta span {
  916. color: #475569;
  917. font-size: 11.5px;
  918. }
  919. .walk-node-card ul {
  920. display: grid;
  921. gap: 3px;
  922. margin: 0;
  923. padding-left: 16px;
  924. color: #334155;
  925. }
  926. .walk-node-card li,
  927. .walk-node-card p {
  928. overflow-wrap: anywhere;
  929. line-height: 1.5;
  930. }
  931. .walk-node-card p {
  932. margin: 0;
  933. color: var(--muted);
  934. }
  935. .walk-ledger-board {
  936. margin: 12px 20px 24px;
  937. padding: 12px;
  938. border: 1px solid #dbeafe;
  939. border-radius: 6px;
  940. background: #f8fbff;
  941. }
  942. .walk-ledger-root {
  943. display: flex;
  944. flex-wrap: wrap;
  945. gap: 8px;
  946. align-items: center;
  947. padding: 9px 10px;
  948. border: 1px solid #cbd5e1;
  949. border-radius: 4px;
  950. background: #fff;
  951. }
  952. .walk-ledger-root strong {
  953. color: #0f172a;
  954. }
  955. .walk-ledger-root small {
  956. color: var(--muted);
  957. }
  958. .walk-ledger-groups {
  959. display: grid;
  960. gap: 12px;
  961. margin-top: 10px;
  962. }
  963. .walk-ledger-group,
  964. .walk-story-block {
  965. position: relative;
  966. }
  967. .walk-ledger-spine {
  968. position: relative;
  969. min-height: 100%;
  970. }
  971. .walk-ledger-spine::before {
  972. content: "";
  973. position: absolute;
  974. top: -10px;
  975. bottom: -10px;
  976. left: 10px;
  977. width: 2px;
  978. background: #bfdbfe;
  979. }
  980. .walk-ledger-spine::after {
  981. content: "";
  982. position: absolute;
  983. top: 19px;
  984. left: 5px;
  985. width: 12px;
  986. height: 12px;
  987. border: 2px solid #2563eb;
  988. border-radius: 999px;
  989. background: #fff;
  990. }
  991. .walk-source-card {
  992. display: grid;
  993. gap: 10px;
  994. padding: 12px;
  995. border: 1px solid #cbd5e1;
  996. border-radius: 5px;
  997. background: #fff;
  998. }
  999. .walk-story-block {
  1000. display: grid;
  1001. gap: 10px;
  1002. padding: 12px 12px 12px 24px;
  1003. border: 1px solid #cbd5e1;
  1004. border-radius: 6px;
  1005. background: #fff;
  1006. }
  1007. .walk-story-block.level-0 {
  1008. border-color: #bfdbfe;
  1009. background: #f8fbff;
  1010. }
  1011. .walk-story-block.level-1 {
  1012. border-color: #bbf7d0;
  1013. background: #f4fff8;
  1014. }
  1015. .walk-story-block.level-2 {
  1016. border-color: #ddd6fe;
  1017. background: #fbfaff;
  1018. }
  1019. .walk-story-block.level-3 {
  1020. border-color: #fed7aa;
  1021. background: #fffaf5;
  1022. }
  1023. .walk-story-block::before {
  1024. content: "";
  1025. position: absolute;
  1026. top: 18px;
  1027. bottom: 14px;
  1028. left: 10px;
  1029. width: 2px;
  1030. background: #bfdbfe;
  1031. }
  1032. .walk-story-block.level-1::before {
  1033. background: #bbf7d0;
  1034. }
  1035. .walk-story-block.level-2::before {
  1036. background: #ddd6fe;
  1037. }
  1038. .walk-story-block.level-3::before {
  1039. background: #fed7aa;
  1040. }
  1041. .walk-story-block::after {
  1042. content: "";
  1043. position: absolute;
  1044. top: 24px;
  1045. left: 5px;
  1046. width: 12px;
  1047. height: 12px;
  1048. border: 2px solid #2563eb;
  1049. border-radius: 999px;
  1050. background: #fff;
  1051. }
  1052. .walk-story-block.level-1::after {
  1053. border-color: #16a34a;
  1054. }
  1055. .walk-story-block.level-2::after {
  1056. border-color: #7c3aed;
  1057. }
  1058. .walk-story-block.level-3::after {
  1059. border-color: #ea580c;
  1060. }
  1061. .walk-story-head {
  1062. display: grid;
  1063. grid-template-columns: auto minmax(0, 1fr) auto;
  1064. gap: 10px;
  1065. align-items: start;
  1066. }
  1067. .walk-story-title {
  1068. min-width: 0;
  1069. display: grid;
  1070. gap: 7px;
  1071. }
  1072. .walk-story-title h2 {
  1073. margin: 0;
  1074. color: #111827;
  1075. font-size: 15px;
  1076. font-weight: 850;
  1077. line-height: 1.45;
  1078. }
  1079. .walk-source-kicker {
  1080. width: max-content;
  1081. padding: 3px 8px;
  1082. border-radius: 4px;
  1083. color: #475569;
  1084. background: #e2e8f0;
  1085. font-size: 11px;
  1086. font-weight: 850;
  1087. }
  1088. .walk-story-block.level-0 .walk-source-kicker {
  1089. color: #1e40af;
  1090. background: #dbeafe;
  1091. }
  1092. .walk-story-block.level-1 .walk-source-kicker {
  1093. color: #047857;
  1094. background: #dcfce7;
  1095. }
  1096. .walk-story-block.level-2 .walk-source-kicker {
  1097. color: #6d28d9;
  1098. background: #ede9fe;
  1099. }
  1100. .walk-story-block.level-3 .walk-source-kicker {
  1101. color: #c2410c;
  1102. background: #ffedd5;
  1103. }
  1104. .walk-source-card h2 {
  1105. margin: 0;
  1106. color: #111827;
  1107. font-size: 14px;
  1108. font-weight: 850;
  1109. line-height: 1.45;
  1110. }
  1111. .walk-source-head {
  1112. display: flex;
  1113. flex-wrap: wrap;
  1114. gap: 7px;
  1115. align-items: center;
  1116. }
  1117. .walk-source-head strong {
  1118. color: #111827;
  1119. font-size: 14px;
  1120. font-weight: 850;
  1121. line-height: 1.45;
  1122. }
  1123. .walk-source-tags {
  1124. display: flex;
  1125. flex-wrap: wrap;
  1126. gap: 5px;
  1127. }
  1128. .walk-source-tags span {
  1129. padding: 2px 7px;
  1130. border-radius: 999px;
  1131. color: #065f46;
  1132. background: #dcfce7;
  1133. font-size: 11px;
  1134. font-weight: 800;
  1135. }
  1136. .walk-source-meta {
  1137. display: grid;
  1138. gap: 5px;
  1139. color: #64748b;
  1140. font-size: 12px;
  1141. line-height: 1.45;
  1142. }
  1143. .walk-source-meta b {
  1144. display: inline-flex;
  1145. min-width: 58px;
  1146. margin-right: 6px;
  1147. color: #334155;
  1148. font-weight: 850;
  1149. }
  1150. .walk-source-facts {
  1151. display: grid;
  1152. grid-template-columns: repeat(4, minmax(0, 1fr));
  1153. gap: 6px;
  1154. }
  1155. .walk-fact {
  1156. min-width: 0;
  1157. display: grid;
  1158. gap: 2px;
  1159. padding: 7px 8px;
  1160. border: 1px solid #e2e8f0;
  1161. border-radius: 4px;
  1162. background: #f8fafc;
  1163. }
  1164. .walk-fact span {
  1165. color: #64748b;
  1166. font-size: 11px;
  1167. font-weight: 800;
  1168. }
  1169. .walk-fact strong {
  1170. color: #1f2937;
  1171. font-size: 12px;
  1172. line-height: 1.35;
  1173. overflow-wrap: anywhere;
  1174. }
  1175. .walk-fact.good {
  1176. border-color: #bbf7d0;
  1177. background: #f0fdf4;
  1178. }
  1179. .walk-fact.good strong {
  1180. color: #047857;
  1181. }
  1182. .walk-fact.warn {
  1183. border-color: #fde68a;
  1184. background: #fffbeb;
  1185. }
  1186. .walk-fact.warn strong {
  1187. color: #92400e;
  1188. }
  1189. .walk-fact.bad {
  1190. border-color: #fecaca;
  1191. background: #fef2f2;
  1192. }
  1193. .walk-fact.bad strong {
  1194. color: #b91c1c;
  1195. }
  1196. .walk-video-links {
  1197. display: flex;
  1198. flex-wrap: wrap;
  1199. gap: 6px;
  1200. align-items: center;
  1201. }
  1202. .walk-video-links a {
  1203. min-height: 28px;
  1204. display: inline-flex;
  1205. gap: 4px;
  1206. align-items: center;
  1207. padding: 4px 8px;
  1208. border: 1px solid #cbd5e1;
  1209. border-radius: 4px;
  1210. color: #1e40af;
  1211. background: #fff;
  1212. font-size: 11.5px;
  1213. font-weight: 800;
  1214. }
  1215. .walk-video-links a:hover {
  1216. border-color: #93c5fd;
  1217. background: #eff6ff;
  1218. }
  1219. .walk-video-links.compact {
  1220. justify-content: flex-end;
  1221. }
  1222. .walk-video-links.compact a {
  1223. min-height: 24px;
  1224. padding: 3px 7px;
  1225. }
  1226. .walk-branch-list {
  1227. display: grid;
  1228. gap: 7px;
  1229. }
  1230. .walk-route-stack {
  1231. display: grid;
  1232. gap: 8px;
  1233. }
  1234. .walk-story-routes {
  1235. position: relative;
  1236. display: grid;
  1237. gap: 8px;
  1238. margin-left: 18px;
  1239. padding-left: 16px;
  1240. border-left: 2px solid #dbeafe;
  1241. }
  1242. .walk-story-block.level-1 .walk-story-routes {
  1243. border-left-color: #bbf7d0;
  1244. }
  1245. .walk-story-block.level-2 .walk-story-routes {
  1246. border-left-color: #ddd6fe;
  1247. }
  1248. .walk-story-block.level-3 .walk-story-routes {
  1249. border-left-color: #fed7aa;
  1250. }
  1251. .walk-story-routes-label {
  1252. width: max-content;
  1253. margin-bottom: 1px;
  1254. padding: 3px 8px;
  1255. border-radius: 4px;
  1256. color: #1e40af;
  1257. background: #eff6ff;
  1258. font-size: 11px;
  1259. font-weight: 850;
  1260. }
  1261. .walk-story-block.level-1 .walk-story-routes-label {
  1262. color: #047857;
  1263. background: #dcfce7;
  1264. }
  1265. .walk-story-block.level-2 .walk-story-routes-label {
  1266. color: #6d28d9;
  1267. background: #ede9fe;
  1268. }
  1269. .walk-story-block.level-3 .walk-story-routes-label {
  1270. color: #c2410c;
  1271. background: #ffedd5;
  1272. }
  1273. .walk-tree-route {
  1274. position: relative;
  1275. display: grid;
  1276. grid-template-columns: 14px minmax(0, 1fr);
  1277. gap: 8px;
  1278. }
  1279. .walk-tree-route-dot {
  1280. position: relative;
  1281. }
  1282. .walk-tree-route-dot::before {
  1283. content: "";
  1284. position: absolute;
  1285. top: 22px;
  1286. left: -23px;
  1287. width: 21px;
  1288. height: 2px;
  1289. background: #dbeafe;
  1290. }
  1291. .walk-tree-route-dot::after {
  1292. content: "";
  1293. position: absolute;
  1294. top: 17px;
  1295. left: -5px;
  1296. width: 10px;
  1297. height: 10px;
  1298. border: 2px solid #60a5fa;
  1299. border-radius: 999px;
  1300. background: #fff;
  1301. }
  1302. .walk-tree-route-body {
  1303. display: grid;
  1304. gap: 9px;
  1305. padding: 10px 12px;
  1306. border: 1px solid #dbeafe;
  1307. border-radius: 5px;
  1308. background: #f8fbff;
  1309. }
  1310. .walk-tree-route.tag .walk-tree-route-body {
  1311. border-color: #bbf7d0;
  1312. background: #f0fdf4;
  1313. }
  1314. .walk-tree-route.author .walk-tree-route-body {
  1315. border-color: #ddd6fe;
  1316. background: #f5f3ff;
  1317. }
  1318. .walk-tree-route.page .walk-tree-route-body {
  1319. border-color: #bfdbfe;
  1320. background: #eff6ff;
  1321. }
  1322. .walk-tree-route.stopped .walk-tree-route-body {
  1323. border-color: #fde68a;
  1324. background: #fffbeb;
  1325. }
  1326. .walk-nested-children {
  1327. display: grid;
  1328. gap: 8px;
  1329. margin-top: 2px;
  1330. padding: 10px 0 0 18px;
  1331. border-left: 2px dashed #cbd5e1;
  1332. }
  1333. .walk-nested-label {
  1334. width: max-content;
  1335. padding: 3px 8px;
  1336. border-radius: 4px;
  1337. color: #475569;
  1338. background: #e2e8f0;
  1339. font-size: 11px;
  1340. font-weight: 850;
  1341. }
  1342. .walk-nested-children .walk-story-block {
  1343. box-shadow: none;
  1344. }
  1345. .walk-route-card {
  1346. display: grid;
  1347. gap: 9px;
  1348. padding: 10px 12px;
  1349. border: 1px solid #dbeafe;
  1350. border-radius: 5px;
  1351. background: #fff;
  1352. }
  1353. .walk-route-card.tag {
  1354. border-color: #bbf7d0;
  1355. background: #f0fdf4;
  1356. }
  1357. .walk-route-card.author {
  1358. border-color: #ddd6fe;
  1359. background: #f5f3ff;
  1360. }
  1361. .walk-route-card.page {
  1362. border-color: #bfdbfe;
  1363. background: #eff6ff;
  1364. }
  1365. .walk-route-card.stopped {
  1366. border-color: #fde68a;
  1367. background: #fffbeb;
  1368. }
  1369. .walk-route-head {
  1370. display: grid;
  1371. grid-template-columns: auto minmax(0, 1fr) auto;
  1372. gap: 8px;
  1373. align-items: start;
  1374. }
  1375. .walk-route-head strong {
  1376. color: #0f172a;
  1377. font-size: 13px;
  1378. font-weight: 850;
  1379. }
  1380. .walk-route-head p {
  1381. margin: 3px 0 0;
  1382. color: #334155;
  1383. font-size: 12.5px;
  1384. font-weight: 650;
  1385. line-height: 1.45;
  1386. }
  1387. .walk-flow {
  1388. display: grid;
  1389. grid-template-columns: minmax(100px, 0.8fr) 24px minmax(130px, 1fr) 24px minmax(150px, 1.1fr);
  1390. gap: 6px;
  1391. align-items: stretch;
  1392. }
  1393. .walk-flow-node {
  1394. min-width: 0;
  1395. display: grid;
  1396. gap: 3px;
  1397. padding: 8px 9px;
  1398. border: 1px solid rgba(148, 163, 184, 0.55);
  1399. border-radius: 4px;
  1400. background: #fff;
  1401. }
  1402. a.walk-flow-node:hover {
  1403. border-color: #93c5fd;
  1404. background: #fff;
  1405. }
  1406. .walk-flow-node span {
  1407. color: #64748b;
  1408. font-size: 11px;
  1409. font-weight: 850;
  1410. }
  1411. .walk-flow-node strong {
  1412. color: #111827;
  1413. font-size: 12px;
  1414. line-height: 1.35;
  1415. overflow-wrap: anywhere;
  1416. }
  1417. .walk-flow-node.strong {
  1418. border-color: #93c5fd;
  1419. background: #fff;
  1420. }
  1421. .walk-flow-node.muted {
  1422. color: #64748b;
  1423. background: rgba(255, 255, 255, 0.58);
  1424. }
  1425. .walk-flow-arrow {
  1426. display: inline-flex;
  1427. align-items: center;
  1428. justify-content: center;
  1429. color: #64748b;
  1430. }
  1431. .walk-route-bottom {
  1432. display: flex;
  1433. flex-wrap: wrap;
  1434. gap: 7px;
  1435. align-items: center;
  1436. }
  1437. .walk-gate {
  1438. min-height: 26px;
  1439. display: inline-flex;
  1440. align-items: center;
  1441. padding: 4px 8px;
  1442. border-radius: 4px;
  1443. font-size: 12px;
  1444. font-weight: 850;
  1445. }
  1446. .walk-gate.pass {
  1447. color: #065f46;
  1448. background: #dcfce7;
  1449. }
  1450. .walk-gate.stop {
  1451. color: #92400e;
  1452. background: #fef3c7;
  1453. }
  1454. .walk-jump-button {
  1455. min-height: 26px;
  1456. display: inline-flex;
  1457. align-items: center;
  1458. padding: 4px 8px;
  1459. border: 1px solid #cbd5e1;
  1460. border-radius: 4px;
  1461. color: #1e40af;
  1462. background: #fff;
  1463. font-size: 12px;
  1464. font-weight: 850;
  1465. }
  1466. .walk-jump-button:hover {
  1467. border-color: #93c5fd;
  1468. background: #eff6ff;
  1469. }
  1470. .walk-branch-card {
  1471. display: grid;
  1472. gap: 7px;
  1473. padding: 10px 12px;
  1474. border: 1px solid #dbeafe;
  1475. border-radius: 5px;
  1476. background: #fff;
  1477. }
  1478. .walk-branch-card.tag {
  1479. border-color: #bbf7d0;
  1480. background: #f0fdf4;
  1481. }
  1482. .walk-branch-card.author {
  1483. border-color: #ddd6fe;
  1484. background: #f5f3ff;
  1485. }
  1486. .walk-branch-card.page {
  1487. border-color: #bfdbfe;
  1488. background: #eff6ff;
  1489. }
  1490. .walk-branch-card.asset {
  1491. border-color: #bbf7d0;
  1492. background: #ecfdf5;
  1493. }
  1494. .walk-branch-card.stop,
  1495. .walk-branch-card.stopped {
  1496. border-color: #fde68a;
  1497. background: #fffbeb;
  1498. }
  1499. .walk-branch-head {
  1500. display: flex;
  1501. flex-wrap: wrap;
  1502. gap: 7px;
  1503. align-items: center;
  1504. }
  1505. .walk-edge-icon {
  1506. width: 24px;
  1507. height: 24px;
  1508. display: inline-flex;
  1509. align-items: center;
  1510. justify-content: center;
  1511. border-radius: 4px;
  1512. color: #1e40af;
  1513. background: #dbeafe;
  1514. }
  1515. .walk-branch-card.tag .walk-edge-icon {
  1516. color: #065f46;
  1517. background: #bbf7d0;
  1518. }
  1519. .walk-branch-card.author .walk-edge-icon {
  1520. color: #5b21b6;
  1521. background: #ddd6fe;
  1522. }
  1523. .walk-branch-card.stop .walk-edge-icon,
  1524. .walk-branch-card.stopped .walk-edge-icon {
  1525. color: #92400e;
  1526. background: #fde68a;
  1527. }
  1528. .walk-branch-head strong {
  1529. color: #0f172a;
  1530. }
  1531. .walk-branch-summary {
  1532. margin: 0;
  1533. color: #334155;
  1534. font-size: 13px;
  1535. font-weight: 750;
  1536. line-height: 1.55;
  1537. }
  1538. .walk-route-lines {
  1539. display: grid;
  1540. gap: 5px;
  1541. color: #475569;
  1542. font-size: 12px;
  1543. line-height: 1.45;
  1544. }
  1545. .walk-route-lines span {
  1546. overflow-wrap: anywhere;
  1547. }
  1548. .walk-route-lines b {
  1549. display: inline-flex;
  1550. min-width: 72px;
  1551. margin-right: 6px;
  1552. color: #1f2937;
  1553. font-weight: 850;
  1554. }
  1555. .walk-branch-facts {
  1556. display: grid;
  1557. grid-template-columns: repeat(4, minmax(0, 1fr));
  1558. gap: 6px;
  1559. }
  1560. .walk-fact-card {
  1561. min-width: 0;
  1562. display: grid;
  1563. gap: 4px;
  1564. padding: 7px 8px;
  1565. border: 1px solid rgba(148, 163, 184, 0.45);
  1566. border-radius: 4px;
  1567. background: rgba(255, 255, 255, 0.72);
  1568. }
  1569. .walk-fact-card span {
  1570. color: #64748b;
  1571. font-size: 11px;
  1572. font-weight: 800;
  1573. }
  1574. .walk-fact-card strong {
  1575. color: #1f2937;
  1576. font-size: 11.5px;
  1577. line-height: 1.45;
  1578. overflow-wrap: anywhere;
  1579. }
  1580. .walk-result-query,
  1581. .walk-result-title {
  1582. display: flex;
  1583. flex-wrap: wrap;
  1584. gap: 7px;
  1585. align-items: center;
  1586. color: #1e3a8a;
  1587. font-size: 12px;
  1588. font-weight: 800;
  1589. }
  1590. .walk-result-query {
  1591. padding: 7px 8px;
  1592. border: 1px solid #bfdbfe;
  1593. border-radius: 4px;
  1594. background: #fff;
  1595. }
  1596. .walk-result-query strong {
  1597. color: #0f172a;
  1598. }
  1599. .walk-result-videos {
  1600. display: grid;
  1601. gap: 8px;
  1602. padding-top: 2px;
  1603. }
  1604. .walk-result-video-grid {
  1605. display: grid;
  1606. grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  1607. gap: 8px;
  1608. align-items: start;
  1609. }
  1610. .walk-result-video-card {
  1611. min-width: 0;
  1612. display: grid;
  1613. gap: 8px;
  1614. padding: 10px;
  1615. border: 1px solid #e2e8f0;
  1616. border-radius: 5px;
  1617. background: #fff;
  1618. box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
  1619. }
  1620. .walk-result-video-card.good {
  1621. border-color: #86efac;
  1622. background: #f0fdf4;
  1623. }
  1624. .walk-result-video-card.warn {
  1625. border-color: #fde68a;
  1626. background: #fffbeb;
  1627. }
  1628. .walk-result-video-card.bad {
  1629. border-color: #fecaca;
  1630. background: #fef2f2;
  1631. }
  1632. .walk-result-video-card.has-child {
  1633. grid-column: 1 / -1;
  1634. background: #ffffff;
  1635. }
  1636. .walk-result-video-top {
  1637. display: flex;
  1638. flex-wrap: wrap;
  1639. gap: 6px;
  1640. align-items: center;
  1641. justify-content: space-between;
  1642. }
  1643. .walk-result-status,
  1644. .walk-result-continue,
  1645. .walk-result-stop {
  1646. min-height: 24px;
  1647. display: inline-flex;
  1648. align-items: center;
  1649. padding: 3px 7px;
  1650. border-radius: 4px;
  1651. font-size: 11.5px;
  1652. font-weight: 850;
  1653. }
  1654. .walk-result-status.good {
  1655. color: #065f46;
  1656. background: #bbf7d0;
  1657. }
  1658. .walk-result-status.warn {
  1659. color: #92400e;
  1660. background: #fde68a;
  1661. }
  1662. .walk-result-status.bad {
  1663. color: #991b1b;
  1664. background: #fecaca;
  1665. }
  1666. .walk-result-continue {
  1667. color: #1e40af;
  1668. background: #dbeafe;
  1669. }
  1670. .walk-result-stop {
  1671. color: #64748b;
  1672. background: #e2e8f0;
  1673. }
  1674. .walk-result-video-title {
  1675. color: #111827;
  1676. font-size: 13px;
  1677. font-weight: 850;
  1678. line-height: 1.45;
  1679. overflow-wrap: anywhere;
  1680. }
  1681. .walk-result-video-title:hover {
  1682. color: #1e40af;
  1683. }
  1684. .walk-result-video-meta {
  1685. color: #64748b;
  1686. font-size: 11.5px;
  1687. font-weight: 750;
  1688. }
  1689. .walk-score-chips {
  1690. display: flex;
  1691. flex-wrap: wrap;
  1692. gap: 5px;
  1693. }
  1694. .walk-score-chips span {
  1695. min-height: 22px;
  1696. display: inline-flex;
  1697. align-items: center;
  1698. padding: 3px 6px;
  1699. border: 1px solid rgba(148, 163, 184, 0.38);
  1700. border-radius: 4px;
  1701. color: #334155;
  1702. background: rgba(255, 255, 255, 0.72);
  1703. font-size: 11px;
  1704. font-weight: 800;
  1705. }
  1706. .compact-tags {
  1707. gap: 4px;
  1708. }
  1709. .compact-tags span {
  1710. font-size: 10.5px;
  1711. }
  1712. .walk-card-children {
  1713. margin-top: 2px;
  1714. padding: 10px 0 0 14px;
  1715. border-left: 2px dashed #93c5fd;
  1716. }
  1717. .walk-card-children > .walk-story-block {
  1718. margin-top: 0;
  1719. box-shadow: none;
  1720. }
  1721. .walk-stop-note {
  1722. padding: 9px 10px;
  1723. border: 1px dashed #fbbf24;
  1724. border-radius: 5px;
  1725. color: #92400e;
  1726. background: #fffbeb;
  1727. font-size: 12px;
  1728. font-weight: 800;
  1729. }
  1730. .walk-result-video {
  1731. display: grid;
  1732. grid-template-columns: minmax(0, 1fr) auto auto;
  1733. gap: 3px 8px;
  1734. align-items: center;
  1735. padding: 7px 8px;
  1736. border: 1px solid #e2e8f0;
  1737. border-radius: 4px;
  1738. background: #fff;
  1739. }
  1740. .walk-result-video:hover {
  1741. border-color: #93c5fd;
  1742. background: #f8fbff;
  1743. }
  1744. .walk-result-video-main {
  1745. min-width: 0;
  1746. display: grid;
  1747. gap: 2px;
  1748. }
  1749. .walk-result-video-main b {
  1750. color: #111827;
  1751. font-size: 12px;
  1752. line-height: 1.45;
  1753. }
  1754. .walk-result-video-main small {
  1755. color: var(--muted);
  1756. font-size: 11px;
  1757. }
  1758. .walk-result-video svg {
  1759. grid-column: 3;
  1760. grid-row: 1 / span 2;
  1761. color: #94a3b8;
  1762. }
  1763. .walk-result-video .walk-video-links {
  1764. grid-column: 2;
  1765. grid-row: 1 / span 2;
  1766. }
  1767. .walk-result-video.single {
  1768. grid-template-columns: minmax(0, 1fr);
  1769. }
  1770. .walk-result-video.single b {
  1771. color: #111827;
  1772. font-size: 12px;
  1773. line-height: 1.45;
  1774. }
  1775. .walk-result-video.single small {
  1776. color: var(--muted);
  1777. font-size: 11px;
  1778. }
  1779. .walk-no-route {
  1780. padding: 12px;
  1781. border: 1px dashed #cbd5e1;
  1782. border-radius: 5px;
  1783. color: #64748b;
  1784. background: #fff;
  1785. font-size: 12.5px;
  1786. }
  1787. @media (max-width: 900px) {
  1788. .walk-branch-facts {
  1789. grid-template-columns: repeat(2, minmax(0, 1fr));
  1790. }
  1791. .walk-story-head {
  1792. grid-template-columns: 1fr;
  1793. }
  1794. .walk-source-facts {
  1795. grid-template-columns: repeat(2, minmax(0, 1fr));
  1796. }
  1797. .walk-flow {
  1798. grid-template-columns: 1fr;
  1799. }
  1800. .walk-flow-arrow {
  1801. transform: rotate(90deg);
  1802. }
  1803. }
  1804. @media (max-width: 520px) {
  1805. .walk-branch-facts {
  1806. grid-template-columns: 1fr;
  1807. }
  1808. .walk-source-facts {
  1809. grid-template-columns: 1fr;
  1810. }
  1811. .walk-story-routes {
  1812. margin-left: 8px;
  1813. padding-left: 12px;
  1814. }
  1815. .walk-nested-children {
  1816. padding-left: 10px;
  1817. }
  1818. .walk-route-head {
  1819. grid-template-columns: auto minmax(0, 1fr);
  1820. }
  1821. .walk-route-head .chip {
  1822. grid-column: 2;
  1823. width: max-content;
  1824. }
  1825. }
  1826. .video-detail-grid {
  1827. display: grid;
  1828. grid-template-columns: repeat(2, minmax(280px, 1fr));
  1829. gap: 12px;
  1830. margin: 12px 20px 24px;
  1831. }
  1832. .video-panel {
  1833. padding: 14px;
  1834. border: 1px solid #e2e8f0;
  1835. border-radius: 6px;
  1836. background: #fff;
  1837. }
  1838. .video-panel h2 {
  1839. margin: 0 0 8px;
  1840. color: #111827;
  1841. font-size: 14px;
  1842. }
  1843. .video-panel p {
  1844. color: #334155;
  1845. line-height: 1.6;
  1846. }
  1847. .video-embed {
  1848. width: 100%;
  1849. margin-top: 12px;
  1850. overflow: hidden;
  1851. border: 1px solid #cbd5e1;
  1852. border-radius: 4px;
  1853. background: #0f172a;
  1854. aspect-ratio: 9 / 16;
  1855. max-height: 620px;
  1856. }
  1857. .video-embed iframe {
  1858. width: 100%;
  1859. height: 100%;
  1860. display: block;
  1861. border: 0;
  1862. background: #0f172a;
  1863. }
  1864. .drawer-overlay {
  1865. position: fixed;
  1866. inset: 0;
  1867. z-index: 100;
  1868. display: none;
  1869. border: 0;
  1870. background: rgba(0, 0, 0, 0.35);
  1871. }
  1872. .drawer-overlay.open {
  1873. display: block;
  1874. }
  1875. .drawer {
  1876. position: fixed;
  1877. top: 0;
  1878. right: 0;
  1879. bottom: 0;
  1880. z-index: 101;
  1881. width: 560px;
  1882. max-width: 92vw;
  1883. overflow-y: auto;
  1884. background: #fff;
  1885. box-shadow: -4px 0 16px rgba(0, 0, 0, 0.15);
  1886. transform: translateX(100%);
  1887. transition: transform 200ms ease-out;
  1888. }
  1889. .drawer.open {
  1890. transform: translateX(0);
  1891. }
  1892. .drawer header {
  1893. position: sticky;
  1894. top: 0;
  1895. z-index: 2;
  1896. padding: 14px 18px;
  1897. color: #fff;
  1898. background: #1e293b;
  1899. }
  1900. .drawer h2 {
  1901. margin: 0;
  1902. padding-right: 32px;
  1903. font-size: 14px;
  1904. }
  1905. .drawer-close {
  1906. position: absolute;
  1907. top: 10px;
  1908. right: 12px;
  1909. width: 32px;
  1910. height: 32px;
  1911. border: 0;
  1912. color: #fff;
  1913. background: transparent;
  1914. cursor: pointer;
  1915. }
  1916. .drawer-content {
  1917. padding: 14px 18px;
  1918. }
  1919. .business-drawer-content {
  1920. display: grid;
  1921. gap: 10px;
  1922. }
  1923. .drawer-section {
  1924. padding: 12px 12px 10px;
  1925. border: 1px solid #e5e7eb;
  1926. border-left: 4px solid #94a3b8;
  1927. border-radius: 5px;
  1928. background: #fff;
  1929. }
  1930. .drawer-section.good {
  1931. border-left-color: #059669;
  1932. }
  1933. .drawer-section.warn {
  1934. border-left-color: #d97706;
  1935. }
  1936. .drawer-section.bad {
  1937. border-left-color: #dc2626;
  1938. }
  1939. .drawer-section.info {
  1940. border-left-color: #2563eb;
  1941. }
  1942. .drawer-section h3 {
  1943. margin: 0 0 6px;
  1944. color: #111827;
  1945. font-size: 12.5px;
  1946. }
  1947. .drawer-section p,
  1948. .drawer-section li {
  1949. color: #334155;
  1950. font-size: 12.5px;
  1951. line-height: 1.65;
  1952. }
  1953. .drawer-section p {
  1954. margin: 0;
  1955. }
  1956. .drawer-section ul {
  1957. margin: 0;
  1958. padding-left: 16px;
  1959. }
  1960. @media (max-width: 760px) {
  1961. body {
  1962. overflow: auto;
  1963. }
  1964. .app-shell,
  1965. .scroll-area {
  1966. height: auto;
  1967. min-height: 100dvh;
  1968. }
  1969. .page-header {
  1970. align-items: flex-start;
  1971. flex-direction: column;
  1972. }
  1973. .toolbar-button,
  1974. .icon-button,
  1975. .mini-button {
  1976. min-height: 44px;
  1977. }
  1978. .icon-button {
  1979. width: 44px;
  1980. }
  1981. .legend-hint {
  1982. width: 100%;
  1983. margin-left: 0;
  1984. }
  1985. .demand-cell,
  1986. .group-demand,
  1987. .source-cell,
  1988. .sub-source,
  1989. .group-source {
  1990. width: 260px;
  1991. min-width: 260px;
  1992. max-width: 260px;
  1993. }
  1994. .sticky-demand,
  1995. .sticky-source {
  1996. position: static !important;
  1997. left: auto;
  1998. }
  1999. .demand-cell,
  2000. .group-demand,
  2001. .source-cell,
  2002. .sub-source,
  2003. .group-source {
  2004. box-shadow: none;
  2005. }
  2006. .walk-lanes,
  2007. .video-detail-grid {
  2008. grid-template-columns: 1fr;
  2009. }
  2010. }
  2011. @media (prefers-reduced-motion: reduce) {
  2012. *,
  2013. *::before,
  2014. *::after {
  2015. transition-duration: 0.01ms !important;
  2016. animation-duration: 0.01ms !important;
  2017. animation-iteration-count: 1 !important;
  2018. }
  2019. }