globals.css 52 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199
  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. .demand-detail-button {
  113. min-height: 26px;
  114. color: #1e3a8a;
  115. border-color: #bfdbfe;
  116. background: #eff6ff;
  117. }
  118. .toolbar-button,
  119. .icon-button,
  120. .mini-button {
  121. min-height: 32px;
  122. justify-content: center;
  123. gap: 6px;
  124. border: 1px solid #cbd5e1;
  125. border-radius: 4px;
  126. color: #334155;
  127. background: #fff;
  128. cursor: pointer;
  129. font-size: 12px;
  130. font-weight: 600;
  131. transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
  132. }
  133. .toolbar-button {
  134. padding: 0 10px;
  135. }
  136. .icon-button {
  137. width: 34px;
  138. }
  139. .mini-button {
  140. min-height: 28px;
  141. padding: 0 8px;
  142. }
  143. .mini-button.ghost {
  144. color: #64748b;
  145. background: #f8fafc;
  146. }
  147. .toolbar-button:hover,
  148. .icon-button:hover,
  149. .mini-button:hover {
  150. color: #1e40af;
  151. border-color: #93c5fd;
  152. background: #eff6ff;
  153. }
  154. .technical-detail {
  155. display: block;
  156. margin-top: 6px;
  157. max-width: 520px;
  158. }
  159. .technical-detail.compact {
  160. max-width: 360px;
  161. }
  162. .technical-detail summary {
  163. display: inline-flex;
  164. min-height: 24px;
  165. align-items: center;
  166. justify-content: center;
  167. padding: 0 7px;
  168. border: 1px solid #fecaca;
  169. border-radius: 4px;
  170. color: #991b1b;
  171. background: #fff1f2;
  172. cursor: pointer;
  173. font-size: 12px;
  174. font-weight: 700;
  175. list-style: none;
  176. }
  177. .technical-detail summary::-webkit-details-marker {
  178. display: none;
  179. }
  180. .technical-detail-body {
  181. margin-top: 6px;
  182. padding: 8px;
  183. border: 1px solid #fecaca;
  184. border-radius: 6px;
  185. background: #fff7f7;
  186. }
  187. .technical-detail-row,
  188. .technical-attempt {
  189. display: grid;
  190. grid-template-columns: 84px minmax(0, 1fr);
  191. gap: 8px;
  192. padding: 3px 0;
  193. font-size: 12px;
  194. line-height: 1.45;
  195. }
  196. .technical-detail-row span,
  197. .technical-attempts > span {
  198. color: #6b7280;
  199. font-weight: 600;
  200. }
  201. .technical-detail-row b,
  202. .technical-attempt {
  203. min-width: 0;
  204. color: #111827;
  205. font-weight: 600;
  206. overflow-wrap: anywhere;
  207. }
  208. .technical-attempts {
  209. margin-top: 6px;
  210. padding-top: 6px;
  211. border-top: 1px solid #fecaca;
  212. }
  213. .technical-attempt {
  214. display: block;
  215. color: #334155;
  216. font-weight: 500;
  217. }
  218. .source-block,
  219. .declarations {
  220. margin: 10px 20px 0;
  221. background: #fff;
  222. border: 1px solid #e2e8f0;
  223. border-radius: 6px;
  224. }
  225. .source-block summary,
  226. .declarations summary {
  227. padding: 9px 14px;
  228. cursor: pointer;
  229. list-style: none;
  230. }
  231. .source-block summary::-webkit-details-marker,
  232. .declarations summary::-webkit-details-marker {
  233. display: none;
  234. }
  235. .source-block summary::before,
  236. .declarations summary::before {
  237. content: ">";
  238. display: inline-block;
  239. margin-right: 7px;
  240. color: var(--faint);
  241. font-size: 10px;
  242. transform: rotate(90deg);
  243. }
  244. .source-block:not([open]) summary::before,
  245. .declarations:not([open]) summary::before {
  246. transform: rotate(0);
  247. }
  248. .source-summary,
  249. .source-body {
  250. padding: 8px 14px;
  251. color: #475569;
  252. line-height: 1.6;
  253. }
  254. .source-body {
  255. display: flex;
  256. flex-wrap: wrap;
  257. align-items: center;
  258. gap: 8px;
  259. border-top: 1px solid #e2e8f0;
  260. }
  261. .decl-purpose {
  262. margin-left: 12px;
  263. color: #475569;
  264. font-size: 12px;
  265. }
  266. .tag-mini {
  267. display: inline-block;
  268. margin-left: 8px;
  269. padding: 1px 7px;
  270. border-radius: 3px;
  271. color: #92400e;
  272. background: #fef3c7;
  273. font-size: 11px;
  274. font-weight: 600;
  275. }
  276. .kw {
  277. color: #6d28d9;
  278. font-weight: 700;
  279. }
  280. .decl-body {
  281. display: flex;
  282. flex-wrap: wrap;
  283. gap: 14px 32px;
  284. padding: 12px 18px 14px;
  285. border-top: 1px solid #e2e8f0;
  286. }
  287. .decl-section {
  288. min-width: 260px;
  289. flex: 1 1 280px;
  290. }
  291. .decl-label {
  292. margin-bottom: 6px;
  293. padding-bottom: 4px;
  294. border-bottom: 1px dashed #e2e8f0;
  295. color: #475569;
  296. font-size: 11.5px;
  297. font-weight: 700;
  298. }
  299. .decl-row {
  300. color: #1f2937;
  301. font-size: 12.5px;
  302. line-height: 1.65;
  303. }
  304. .legend {
  305. display: flex;
  306. flex-wrap: wrap;
  307. align-items: center;
  308. gap: 6px 12px;
  309. margin-top: 12px;
  310. padding: 10px 20px;
  311. background: #fff;
  312. border-top: 1px solid var(--line);
  313. border-bottom: 1px solid var(--line);
  314. color: var(--muted);
  315. font-size: 11.5px;
  316. }
  317. .legend-group {
  318. display: inline-flex;
  319. }
  320. .legend-head {
  321. padding: 2px 8px;
  322. border: 0;
  323. border-radius: 3px;
  324. color: #1f2937;
  325. cursor: pointer;
  326. font-weight: 700;
  327. }
  328. .legend-group.gray .legend-head {
  329. background: #e2e8f0;
  330. }
  331. .legend-group.yellow .legend-head {
  332. background: #fde68a;
  333. }
  334. .legend-group.green .legend-head {
  335. background: #bbf7d0;
  336. }
  337. .legend-group.blue .legend-head {
  338. background: #bfdbfe;
  339. }
  340. .legend-head.off {
  341. opacity: 0.45;
  342. text-decoration: line-through;
  343. }
  344. .legend-hint {
  345. margin-left: auto;
  346. color: var(--faint);
  347. font-size: 11px;
  348. }
  349. .table-wrap {
  350. background: #fff;
  351. overflow: auto;
  352. }
  353. .ledger-layout {
  354. display: grid;
  355. grid-template-columns: 286px minmax(0, 1fr);
  356. gap: 10px;
  357. align-items: start;
  358. padding: 10px 0 24px 10px;
  359. }
  360. .ledger-layout.demand-collapsed {
  361. grid-template-columns: 42px minmax(0, 1fr);
  362. gap: 6px;
  363. }
  364. .demand-side-panel {
  365. position: sticky;
  366. top: 64px;
  367. display: grid;
  368. gap: 8px;
  369. padding: 10px;
  370. border: 1px solid #cbd5e1;
  371. border-radius: 5px;
  372. background: #fff;
  373. box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  374. }
  375. .demand-side-panel.collapsed {
  376. min-height: 220px;
  377. align-content: start;
  378. justify-items: center;
  379. padding: 6px 4px;
  380. }
  381. .demand-panel-head {
  382. display: flex;
  383. gap: 6px;
  384. align-items: center;
  385. justify-content: space-between;
  386. min-width: 0;
  387. }
  388. .demand-side-panel.collapsed .demand-panel-head {
  389. display: grid;
  390. justify-items: center;
  391. }
  392. .demand-panel-body {
  393. display: grid;
  394. gap: 8px;
  395. min-width: 0;
  396. }
  397. .demand-collapse-button {
  398. width: 28px;
  399. min-height: 28px;
  400. flex: 0 0 auto;
  401. }
  402. .demand-rail-label {
  403. border: 0;
  404. padding: 6px 2px;
  405. color: #1e293b;
  406. background: transparent;
  407. cursor: pointer;
  408. font-size: 12px;
  409. font-weight: 850;
  410. line-height: 1.1;
  411. writing-mode: vertical-rl;
  412. text-orientation: mixed;
  413. }
  414. .demand-rail-label:hover {
  415. color: #1e40af;
  416. }
  417. .demand-panel-meta {
  418. width: fit-content;
  419. padding: 2px 7px;
  420. border-radius: 4px;
  421. color: #475569;
  422. background: #e2e8f0;
  423. font-size: 11px;
  424. font-weight: 750;
  425. }
  426. .demand-inline-section {
  427. display: grid;
  428. gap: 5px;
  429. padding-top: 6px;
  430. border-top: 1px solid #e2e8f0;
  431. }
  432. .demand-inline-section > b {
  433. color: #111827;
  434. font-size: 11.5px;
  435. }
  436. .demand-inline-section > div {
  437. display: grid;
  438. gap: 4px;
  439. }
  440. .demand-inline-section span {
  441. color: #334155;
  442. font-size: 11px;
  443. line-height: 1.45;
  444. overflow-wrap: anywhere;
  445. }
  446. .ledger-table {
  447. width: max-content;
  448. min-width: 100%;
  449. border-collapse: collapse;
  450. background: #fff;
  451. table-layout: auto;
  452. font-size: 12px;
  453. }
  454. .ledger-table th,
  455. .ledger-table td {
  456. border: 1px solid var(--line);
  457. padding: 6px 8px;
  458. vertical-align: top;
  459. line-height: 1.5;
  460. }
  461. .ledger-table thead th {
  462. position: sticky;
  463. top: 0;
  464. z-index: 4;
  465. padding: 8px 6px;
  466. color: #fff;
  467. font-size: 12.5px;
  468. font-weight: 700;
  469. text-align: center;
  470. }
  471. .ledger-table tbody td {
  472. font-size: 12px;
  473. }
  474. .query-start-row > td {
  475. border-top: 1.5px solid var(--line-strong);
  476. }
  477. .query-video-row > td {
  478. border-top: 1px solid #dbe4ee;
  479. }
  480. .group-demand,
  481. .group-source,
  482. .sub-source {
  483. background: var(--source) !important;
  484. }
  485. .group-videos,
  486. .group-rules,
  487. .sub-videos,
  488. .sub-rules {
  489. background: var(--impl) !important;
  490. }
  491. .group-walk,
  492. .group-assets,
  493. .sub-walk,
  494. .sub-assets {
  495. background: var(--output) !important;
  496. }
  497. .sub-source {
  498. background: var(--source-sub) !important;
  499. }
  500. .sub-videos,
  501. .sub-rules {
  502. background: var(--impl-sub) !important;
  503. }
  504. .sub-walk,
  505. .sub-assets {
  506. background: var(--output-sub) !important;
  507. }
  508. .demand-cell,
  509. .source-cell {
  510. background: #f8fafc;
  511. }
  512. .videos-cell,
  513. .rules-cell {
  514. background: #f0fdf4;
  515. }
  516. .walk-cell,
  517. .asset-cell {
  518. background: #eff6ff;
  519. }
  520. .demand-cell,
  521. .group-demand {
  522. width: 300px;
  523. min-width: 300px;
  524. max-width: 300px;
  525. }
  526. .source-cell,
  527. .sub-source,
  528. .group-source {
  529. width: 360px;
  530. min-width: 360px;
  531. max-width: 360px;
  532. }
  533. .videos-cell {
  534. min-width: 560px;
  535. max-width: 620px;
  536. }
  537. .rules-cell {
  538. min-width: 230px;
  539. max-width: 280px;
  540. }
  541. .score-rule-button {
  542. width: max-content;
  543. color: #065f46;
  544. border-color: #a7f3d0;
  545. background: #ecfdf5;
  546. }
  547. .walk-cell {
  548. min-width: 230px;
  549. max-width: 260px;
  550. }
  551. .asset-cell {
  552. min-width: 160px;
  553. max-width: 200px;
  554. }
  555. .sticky-demand {
  556. position: sticky !important;
  557. left: 0;
  558. z-index: 4;
  559. }
  560. .sticky-source {
  561. position: sticky !important;
  562. left: 0;
  563. z-index: 3;
  564. }
  565. .ledger-table thead .sticky-demand {
  566. z-index: 7;
  567. }
  568. .ledger-table thead .sticky-source {
  569. z-index: 6;
  570. }
  571. .demand-cell,
  572. .group-demand,
  573. .source-cell,
  574. .sub-source,
  575. .group-source {
  576. box-shadow: 6px 0 8px -4px rgba(0, 0, 0, 0.18);
  577. }
  578. .demand-card {
  579. display: grid;
  580. gap: 7px;
  581. }
  582. .demand-card-head,
  583. .demand-meta-row {
  584. display: flex;
  585. flex-wrap: wrap;
  586. gap: 5px;
  587. align-items: center;
  588. }
  589. .demand-title {
  590. color: #111827;
  591. font-size: 13px;
  592. line-height: 1.45;
  593. }
  594. .demand-line {
  595. margin: 0;
  596. color: #334155;
  597. font-size: 11.5px;
  598. line-height: 1.55;
  599. }
  600. .demand-line b,
  601. .demand-list b {
  602. color: #111827;
  603. font-weight: 850;
  604. }
  605. .demand-meta-row span {
  606. padding: 2px 6px;
  607. border-radius: 4px;
  608. color: #475569;
  609. background: #e2e8f0;
  610. font-size: 10.5px;
  611. font-weight: 800;
  612. }
  613. .demand-list {
  614. display: grid;
  615. gap: 4px;
  616. color: #334155;
  617. font-size: 11.5px;
  618. line-height: 1.55;
  619. }
  620. .demand-list div {
  621. display: grid;
  622. gap: 3px;
  623. }
  624. .demand-list span {
  625. overflow-wrap: anywhere;
  626. }
  627. .demand-list em {
  628. color: var(--muted);
  629. font-style: normal;
  630. }
  631. .repeated-demand {
  632. color: #64748b;
  633. font-size: 11.5px;
  634. font-weight: 800;
  635. text-align: center;
  636. }
  637. .idx {
  638. display: inline-block;
  639. margin-bottom: 5px;
  640. padding: 0 5px;
  641. border-radius: 3px;
  642. color: #475569;
  643. background: #e2e8f0;
  644. font-family: ui-monospace, "SF Mono", monospace;
  645. font-size: 10px;
  646. }
  647. .cell-stack {
  648. display: grid;
  649. gap: 5px;
  650. min-width: 0;
  651. }
  652. .score-lines {
  653. display: flex;
  654. flex-direction: column;
  655. gap: 2px;
  656. }
  657. .score-lines strong {
  658. font-size: 12.5px;
  659. font-weight: 600;
  660. line-height: 1.4;
  661. }
  662. .source-detail-list {
  663. display: grid;
  664. gap: 3px;
  665. }
  666. .source-kind-badge {
  667. display: inline-block;
  668. width: fit-content;
  669. padding: 5px 10px;
  670. border: 1px solid transparent;
  671. border-radius: 5px;
  672. font-size: 14px;
  673. font-weight: 800;
  674. line-height: 1.2;
  675. }
  676. .source-kind-badge.seed {
  677. color: #172554;
  678. border-color: #bfdbfe;
  679. background: #dbeafe;
  680. }
  681. .source-kind-badge.piaoquan {
  682. color: #713f12;
  683. border-color: #fde68a;
  684. background: #fef3c7;
  685. }
  686. .source-kind-badge.category {
  687. color: #064e3b;
  688. border-color: #bbf7d0;
  689. background: #dcfce7;
  690. }
  691. .source-kind-badge.unknown {
  692. color: #334155;
  693. border-color: #cbd5e1;
  694. background: #e2e8f0;
  695. }
  696. .source-query-text {
  697. font-size: 14px;
  698. line-height: 1.45;
  699. }
  700. .query-video-count {
  701. width: fit-content;
  702. padding: 2px 7px;
  703. border-radius: 4px;
  704. color: #475569;
  705. background: #e2e8f0;
  706. font-size: 11px;
  707. font-weight: 750;
  708. }
  709. .title-link,
  710. .cell-stack strong {
  711. color: #0f172a;
  712. overflow-wrap: anywhere;
  713. }
  714. .title-link:hover {
  715. color: #1e40af;
  716. text-decoration: underline;
  717. }
  718. .muted {
  719. color: var(--muted);
  720. font-size: 11.5px;
  721. overflow-wrap: anywhere;
  722. }
  723. .strong-muted {
  724. color: #334155;
  725. font-size: 12px;
  726. font-weight: 650;
  727. line-height: 1.55;
  728. }
  729. .chip-row {
  730. display: flex;
  731. flex-wrap: wrap;
  732. gap: 4px;
  733. }
  734. .chip {
  735. display: inline-block;
  736. width: fit-content;
  737. margin: 1px 3px 1px 0;
  738. padding: 1px 7px;
  739. border-radius: 10px;
  740. color: #1f2937;
  741. background: #d1d5db;
  742. font-size: 11.5px;
  743. line-height: 1.45;
  744. white-space: nowrap;
  745. }
  746. .chip.dark {
  747. color: #fff;
  748. background: #475569;
  749. }
  750. .chip.yellow {
  751. color: #78350f;
  752. background: #fde68a;
  753. }
  754. .chip.green {
  755. color: #065f46;
  756. background: #bbf7d0;
  757. }
  758. .chip.red {
  759. color: #991b1b;
  760. background: #fee2e2;
  761. }
  762. .chip.blue {
  763. color: #1e3a8a;
  764. background: #bfdbfe;
  765. }
  766. .chip.pool {
  767. color: #0f766e;
  768. background: #99f6e4;
  769. }
  770. .video-strip {
  771. display: flex;
  772. gap: 6px;
  773. min-height: 74px;
  774. }
  775. .video-mini {
  776. width: 150px;
  777. min-height: 74px;
  778. display: grid;
  779. grid-template-columns: 40px 1fr;
  780. gap: 7px;
  781. padding: 6px;
  782. border: 1px solid #d1fae5;
  783. border-radius: 4px;
  784. background: #fff;
  785. }
  786. .video-mini:hover {
  787. border-color: #86efac;
  788. background: #f7fee7;
  789. }
  790. .video-thumb {
  791. width: 40px;
  792. height: 56px;
  793. display: inline-flex;
  794. align-items: center;
  795. justify-content: center;
  796. border-radius: 3px;
  797. color: #065f46;
  798. background: #dcfce7;
  799. font-size: 10px;
  800. font-weight: 800;
  801. }
  802. .video-thumb.small {
  803. width: 42px;
  804. height: 50px;
  805. }
  806. .video-line-card {
  807. display: grid;
  808. grid-template-columns: 42px minmax(0, 1fr);
  809. gap: 8px;
  810. min-height: 62px;
  811. padding: 5px 6px;
  812. border: 1px solid #d1fae5;
  813. border-radius: 4px;
  814. background: #fff;
  815. }
  816. .video-line-card:hover {
  817. border-color: #86efac;
  818. background: #f7fee7;
  819. }
  820. .video-line-main {
  821. display: grid;
  822. gap: 3px;
  823. min-width: 0;
  824. }
  825. .video-line-main b {
  826. color: #111827;
  827. font-size: 12px;
  828. line-height: 1.45;
  829. }
  830. .video-line-main small {
  831. color: var(--muted);
  832. font-size: 11px;
  833. font-weight: 650;
  834. line-height: 1.4;
  835. }
  836. .tag-row {
  837. display: flex;
  838. flex-wrap: wrap;
  839. gap: 4px;
  840. }
  841. .tag-row em {
  842. padding: 1px 6px;
  843. border-radius: 10px;
  844. color: #065f46;
  845. background: #dcfce7;
  846. font-size: 10.5px;
  847. font-style: normal;
  848. font-weight: 750;
  849. }
  850. .video-mini b {
  851. display: -webkit-box;
  852. overflow: hidden;
  853. color: #111827;
  854. font-size: 11.5px;
  855. -webkit-line-clamp: 2;
  856. -webkit-box-orient: vertical;
  857. }
  858. .video-mini small {
  859. display: block;
  860. margin-top: 3px;
  861. color: var(--muted);
  862. font-size: 11px;
  863. font-weight: 650;
  864. line-height: 1.45;
  865. }
  866. .cell-footer {
  867. display: flex;
  868. flex-wrap: wrap;
  869. gap: 6px;
  870. margin: 6px 0;
  871. color: var(--muted);
  872. font-size: 11.5px;
  873. }
  874. .runs-by-demand {
  875. display: grid;
  876. grid-template-columns: 300px minmax(0, 1fr);
  877. gap: 12px;
  878. margin: 12px 20px 24px;
  879. align-items: start;
  880. }
  881. @media (max-width: 760px) {
  882. .runs-by-demand {
  883. grid-template-columns: 1fr;
  884. }
  885. }
  886. .rbd-demands {
  887. position: sticky;
  888. top: 64px;
  889. display: flex;
  890. flex-direction: column;
  891. gap: 8px;
  892. max-height: calc(100vh - 96px);
  893. }
  894. .rbd-search {
  895. width: 100%;
  896. }
  897. .rbd-demand-list {
  898. display: flex;
  899. flex-direction: column;
  900. gap: 6px;
  901. overflow-y: auto;
  902. }
  903. .rbd-demand {
  904. display: flex;
  905. flex-direction: column;
  906. gap: 4px;
  907. text-align: left;
  908. padding: 10px 12px;
  909. border: 1px solid #e2e8f0;
  910. border-radius: 8px;
  911. background: #fff;
  912. cursor: pointer;
  913. }
  914. .rbd-demand:hover {
  915. border-color: #bfdbfe;
  916. background: #f8fafc;
  917. }
  918. .rbd-demand.active {
  919. border-color: #60a5fa;
  920. background: #eff6ff;
  921. }
  922. .rbd-demand strong {
  923. font-size: 13px;
  924. color: #111827;
  925. }
  926. .rbd-demand-meta {
  927. font-size: 12px;
  928. color: var(--muted);
  929. }
  930. .rbd-demand-platforms {
  931. display: flex;
  932. flex-wrap: wrap;
  933. gap: 4px;
  934. }
  935. .rbd-demand-time {
  936. font-size: 11.5px;
  937. color: #94a3b8;
  938. }
  939. .rbd-runs {
  940. display: flex;
  941. flex-direction: column;
  942. gap: 14px;
  943. }
  944. .rbd-runs-head {
  945. display: flex;
  946. align-items: baseline;
  947. gap: 10px;
  948. flex-wrap: wrap;
  949. }
  950. .rbd-runs-head strong {
  951. font-size: 15px;
  952. }
  953. .rbd-platform {
  954. border: 1px solid #e2e8f0;
  955. border-radius: 8px;
  956. background: #fff;
  957. padding: 10px 12px;
  958. }
  959. .rbd-platform-head {
  960. display: flex;
  961. align-items: center;
  962. gap: 8px;
  963. margin-bottom: 8px;
  964. }
  965. .rbd-run-list {
  966. display: flex;
  967. flex-direction: column;
  968. gap: 6px;
  969. }
  970. .rbd-run {
  971. display: flex;
  972. align-items: center;
  973. gap: 10px;
  974. flex-wrap: wrap;
  975. padding: 8px 10px;
  976. border: 1px solid #eef2f7;
  977. border-radius: 6px;
  978. background: #fcfdff;
  979. }
  980. .rbd-run:hover {
  981. border-color: #bfdbfe;
  982. background: #f8fafc;
  983. }
  984. .rbd-run-time {
  985. font-size: 12.5px;
  986. color: #111827;
  987. font-weight: 500;
  988. }
  989. .rbd-run-id {
  990. font-size: 11px;
  991. margin-left: auto;
  992. }
  993. .run-list {
  994. margin: 12px 20px 24px;
  995. display: grid;
  996. gap: 8px;
  997. }
  998. .run-row {
  999. display: flex;
  1000. align-items: center;
  1001. justify-content: space-between;
  1002. gap: 12px;
  1003. min-height: 58px;
  1004. padding: 10px 12px;
  1005. border: 1px solid #e2e8f0;
  1006. border-radius: 6px;
  1007. background: #fff;
  1008. }
  1009. .run-row:hover {
  1010. border-color: #bfdbfe;
  1011. background: #f8fafc;
  1012. }
  1013. .run-row strong,
  1014. .run-row span {
  1015. display: block;
  1016. }
  1017. .run-row strong {
  1018. font-size: 13px;
  1019. }
  1020. .run-row span {
  1021. color: var(--muted);
  1022. font-size: 12px;
  1023. }
  1024. .run-row-meta {
  1025. display: flex;
  1026. flex-wrap: wrap;
  1027. justify-content: flex-end;
  1028. gap: 4px;
  1029. }
  1030. .state-block {
  1031. margin: 14px 20px;
  1032. padding: 18px;
  1033. border: 1px solid #e2e8f0;
  1034. border-radius: 6px;
  1035. background: #fff;
  1036. color: #475569;
  1037. }
  1038. .error-state {
  1039. color: #991b1b;
  1040. background: #fef2f2;
  1041. border-color: #fecaca;
  1042. }
  1043. .detail-table-wrap {
  1044. margin: 12px 20px 24px;
  1045. overflow: auto;
  1046. border: 1px solid #e5e7eb;
  1047. border-radius: 6px;
  1048. background: #fff;
  1049. }
  1050. .detail-table {
  1051. width: 100%;
  1052. min-width: 980px;
  1053. border-collapse: collapse;
  1054. font-size: 12px;
  1055. }
  1056. .detail-table th,
  1057. .detail-table td {
  1058. border: 1px solid #e5e7eb;
  1059. padding: 7px 8px;
  1060. vertical-align: top;
  1061. line-height: 1.5;
  1062. }
  1063. .detail-table th {
  1064. position: sticky;
  1065. top: 0;
  1066. z-index: 2;
  1067. color: #fff;
  1068. background: #475569;
  1069. font-weight: 700;
  1070. text-align: left;
  1071. }
  1072. .walk-lanes {
  1073. display: grid;
  1074. grid-template-columns: repeat(4, minmax(210px, 1fr));
  1075. gap: 10px;
  1076. margin: 12px 20px;
  1077. }
  1078. .walk-lane {
  1079. min-height: 180px;
  1080. border: 1px solid #dbeafe;
  1081. border-radius: 6px;
  1082. background: #eff6ff;
  1083. }
  1084. .lane-head {
  1085. padding: 8px 10px;
  1086. color: #fff;
  1087. background: #1e40af;
  1088. border-radius: 5px 5px 0 0;
  1089. font-size: 12px;
  1090. font-weight: 700;
  1091. }
  1092. .walk-node {
  1093. width: calc(100% - 12px);
  1094. display: grid;
  1095. gap: 2px;
  1096. margin: 6px;
  1097. padding: 7px 8px;
  1098. border: 1px solid #bfdbfe;
  1099. border-radius: 4px;
  1100. color: #172554;
  1101. background: #fff;
  1102. cursor: pointer;
  1103. text-align: left;
  1104. }
  1105. .walk-node:hover {
  1106. border-color: #60a5fa;
  1107. background: #f8fbff;
  1108. }
  1109. .walk-node span,
  1110. .walk-node small {
  1111. color: var(--muted);
  1112. overflow-wrap: anywhere;
  1113. }
  1114. .lane-empty {
  1115. display: block;
  1116. padding: 10px;
  1117. }
  1118. .score-list {
  1119. display: grid;
  1120. gap: 5px;
  1121. }
  1122. .score-list.roomy {
  1123. gap: 8px;
  1124. margin-top: 10px;
  1125. }
  1126. .score-row {
  1127. display: grid;
  1128. grid-template-columns: minmax(72px, 1fr) auto;
  1129. gap: 6px;
  1130. align-items: start;
  1131. padding: 6px 7px;
  1132. border: 1px solid #dbeafe;
  1133. border-radius: 4px;
  1134. background: #f8fbff;
  1135. }
  1136. .score-row span {
  1137. color: #334155;
  1138. font-size: 11.5px;
  1139. }
  1140. .score-row b {
  1141. color: #1e40af;
  1142. font-size: 12px;
  1143. font-variant-numeric: tabular-nums;
  1144. }
  1145. .score-row small {
  1146. grid-column: 1 / -1;
  1147. color: var(--muted);
  1148. line-height: 1.45;
  1149. }
  1150. .score-module-grid {
  1151. display: grid;
  1152. grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  1153. gap: 8px;
  1154. margin-top: 10px;
  1155. }
  1156. .score-panel-head {
  1157. display: flex;
  1158. align-items: center;
  1159. justify-content: space-between;
  1160. gap: 8px;
  1161. }
  1162. .score-decision {
  1163. color: #475569;
  1164. font-size: 12px;
  1165. }
  1166. .score-decision-chip {
  1167. padding: 3px 12px;
  1168. border-radius: 999px;
  1169. font-size: 12px;
  1170. font-weight: 700;
  1171. }
  1172. .score-decision-chip.is-pool {
  1173. color: #166534;
  1174. background: #dcfce7;
  1175. }
  1176. .score-decision-chip.is-review {
  1177. color: #92400e;
  1178. background: #fef3c7;
  1179. }
  1180. .score-decision-chip.is-reject {
  1181. color: #991b1b;
  1182. background: #fee2e2;
  1183. }
  1184. .score-decision-chip.is-tech {
  1185. color: #475569;
  1186. background: #e2e8f0;
  1187. }
  1188. .score-total-banner {
  1189. display: flex;
  1190. align-items: baseline;
  1191. gap: 12px;
  1192. margin: 10px 0 0;
  1193. padding: 10px 12px;
  1194. border: 1px solid #bfdbfe;
  1195. border-radius: 5px;
  1196. background: #eff6ff;
  1197. }
  1198. .score-total-banner span {
  1199. color: #334155;
  1200. font-size: 12px;
  1201. font-weight: 800;
  1202. }
  1203. .score-total-banner b {
  1204. color: #111827;
  1205. font-size: 26px;
  1206. line-height: 1.1;
  1207. font-variant-numeric: tabular-nums;
  1208. }
  1209. .score-total-banner small {
  1210. color: var(--muted);
  1211. font-size: 11.5px;
  1212. }
  1213. .score-module.score-fifty {
  1214. border-color: #ddd6fe;
  1215. background: #f5f3ff;
  1216. }
  1217. .score-module.score-fifty span {
  1218. color: #5b21b6;
  1219. }
  1220. .score-module.score-muted {
  1221. border-color: #e2e8f0;
  1222. background: #f8fafc;
  1223. }
  1224. .score-module.score-muted span,
  1225. .score-module.score-muted b {
  1226. color: #94a3b8;
  1227. }
  1228. .score-rule-card.score-rule-fifty {
  1229. border-color: #ddd6fe;
  1230. background: #f5f3ff;
  1231. }
  1232. .score-rule-card.score-rule-fifty h3 {
  1233. color: #5b21b6;
  1234. }
  1235. .score-rule-card.score-rule-fifty .score-breakdown-row {
  1236. border-color: #ede9fe;
  1237. }
  1238. .score-module {
  1239. display: grid;
  1240. gap: 5px;
  1241. min-height: 108px;
  1242. padding: 10px;
  1243. border: 1px solid #dbeafe;
  1244. border-radius: 5px;
  1245. background: #f8fbff;
  1246. }
  1247. .score-module span {
  1248. color: #334155;
  1249. font-size: 12px;
  1250. font-weight: 800;
  1251. }
  1252. .score-module b {
  1253. color: #111827;
  1254. font-size: 20px;
  1255. line-height: 1.1;
  1256. font-variant-numeric: tabular-nums;
  1257. }
  1258. .score-module small {
  1259. color: var(--muted);
  1260. font-size: 11.5px;
  1261. line-height: 1.45;
  1262. }
  1263. .score-module em {
  1264. width: fit-content;
  1265. padding: 2px 6px;
  1266. border-radius: 4px;
  1267. color: #475569;
  1268. background: rgba(255, 255, 255, 0.72);
  1269. font-size: 11px;
  1270. font-style: normal;
  1271. font-weight: 750;
  1272. }
  1273. .score-module.score-total {
  1274. border-color: #bfdbfe;
  1275. background: #eff6ff;
  1276. }
  1277. .score-module.score-demand {
  1278. border-color: #bbf7d0;
  1279. background: #f0fdf4;
  1280. }
  1281. .score-module.score-platform {
  1282. border-color: #fde68a;
  1283. background: #fffbeb;
  1284. }
  1285. .score-mini {
  1286. max-width: 220px;
  1287. color: #334155;
  1288. font-size: 11.5px;
  1289. line-height: 1.55;
  1290. }
  1291. .score-rule-lead {
  1292. margin: 0 0 10px;
  1293. padding: 8px 10px;
  1294. border: 1px solid #dbeafe;
  1295. border-radius: 5px;
  1296. color: #1e3a8a !important;
  1297. background: #eff6ff;
  1298. font-size: 12px;
  1299. font-weight: 700;
  1300. }
  1301. .score-rule-card {
  1302. margin-top: 12px;
  1303. padding: 10px;
  1304. border: 1px solid #fde68a;
  1305. border-radius: 5px;
  1306. background: #fffbeb;
  1307. }
  1308. .score-rule-card h3 {
  1309. margin: 0 0 4px;
  1310. color: #713f12;
  1311. font-size: 13px;
  1312. }
  1313. .score-rule-card p {
  1314. margin: 0 0 8px;
  1315. color: #475569;
  1316. font-size: 11.5px;
  1317. line-height: 1.5;
  1318. }
  1319. .score-breakdown-list {
  1320. display: grid;
  1321. gap: 6px;
  1322. }
  1323. .score-breakdown-row {
  1324. display: grid;
  1325. grid-template-columns: minmax(80px, 1fr) auto;
  1326. gap: 4px 8px;
  1327. padding: 7px 8px;
  1328. border: 1px solid #fef3c7;
  1329. border-radius: 4px;
  1330. background: #fff;
  1331. }
  1332. .score-breakdown-row span {
  1333. color: #334155;
  1334. font-size: 12px;
  1335. font-weight: 800;
  1336. }
  1337. .score-breakdown-row b {
  1338. color: #111827;
  1339. font-size: 12px;
  1340. font-variant-numeric: tabular-nums;
  1341. }
  1342. .score-breakdown-row small {
  1343. grid-column: 1 / -1;
  1344. color: #64748b;
  1345. font-size: 11px;
  1346. line-height: 1.45;
  1347. }
  1348. .walk-tree-wrap {
  1349. margin: 12px 20px;
  1350. padding: 12px;
  1351. border: 1px solid #dbeafe;
  1352. border-radius: 6px;
  1353. background: #f8fbff;
  1354. }
  1355. .walk-tree-root {
  1356. display: flex;
  1357. flex-wrap: wrap;
  1358. gap: 8px;
  1359. align-items: center;
  1360. padding: 8px 10px;
  1361. border: 1px solid #cbd5e1;
  1362. border-radius: 4px;
  1363. background: #fff;
  1364. }
  1365. .walk-tree-root strong {
  1366. color: #0f172a;
  1367. }
  1368. .walk-tree-root small {
  1369. color: var(--muted);
  1370. }
  1371. .walk-tree {
  1372. display: grid;
  1373. gap: 8px;
  1374. margin-top: 10px;
  1375. }
  1376. .walk-tree-node {
  1377. --depth: 0;
  1378. position: relative;
  1379. display: grid;
  1380. grid-template-columns: 18px minmax(0, 1fr);
  1381. margin-left: calc(var(--depth) * 28px);
  1382. }
  1383. .walk-node-spine {
  1384. position: relative;
  1385. min-height: 100%;
  1386. }
  1387. .walk-node-spine::before {
  1388. content: "";
  1389. position: absolute;
  1390. top: -8px;
  1391. bottom: -8px;
  1392. left: 8px;
  1393. width: 2px;
  1394. background: #bfdbfe;
  1395. }
  1396. .walk-node-spine::after {
  1397. content: "";
  1398. position: absolute;
  1399. top: 18px;
  1400. left: 4px;
  1401. width: 10px;
  1402. height: 10px;
  1403. border: 2px solid #2563eb;
  1404. border-radius: 999px;
  1405. background: #fff;
  1406. }
  1407. .walk-tree-node.skipped .walk-node-spine::after {
  1408. border-color: #d97706;
  1409. }
  1410. .walk-node-card {
  1411. display: grid;
  1412. gap: 7px;
  1413. padding: 9px 10px;
  1414. border: 1px solid #bfdbfe;
  1415. border-radius: 5px;
  1416. background: #fff;
  1417. }
  1418. .walk-tree-node.skipped .walk-node-card {
  1419. border-color: #fde68a;
  1420. background: #fffbeb;
  1421. }
  1422. .walk-node-title,
  1423. .walk-node-meta {
  1424. display: flex;
  1425. flex-wrap: wrap;
  1426. gap: 7px;
  1427. align-items: center;
  1428. }
  1429. .walk-node-title strong {
  1430. color: #0f172a;
  1431. }
  1432. .walk-node-meta span {
  1433. color: #475569;
  1434. font-size: 11.5px;
  1435. }
  1436. .walk-node-card ul {
  1437. display: grid;
  1438. gap: 3px;
  1439. margin: 0;
  1440. padding-left: 16px;
  1441. color: #334155;
  1442. }
  1443. .walk-node-card li,
  1444. .walk-node-card p {
  1445. overflow-wrap: anywhere;
  1446. line-height: 1.5;
  1447. }
  1448. .walk-node-card p {
  1449. margin: 0;
  1450. color: var(--muted);
  1451. }
  1452. .walk-ledger-board {
  1453. margin: 12px 20px 24px;
  1454. padding: 12px;
  1455. border: 1px solid #dbeafe;
  1456. border-radius: 6px;
  1457. background: #f8fbff;
  1458. }
  1459. .walk-ledger-root {
  1460. display: flex;
  1461. flex-wrap: wrap;
  1462. gap: 8px;
  1463. align-items: center;
  1464. padding: 9px 10px;
  1465. border: 1px solid #cbd5e1;
  1466. border-radius: 4px;
  1467. background: #fff;
  1468. }
  1469. .walk-ledger-root strong {
  1470. color: #0f172a;
  1471. }
  1472. .walk-ledger-root small {
  1473. color: var(--muted);
  1474. }
  1475. .walk-ledger-groups {
  1476. display: grid;
  1477. gap: 12px;
  1478. margin-top: 10px;
  1479. }
  1480. .walk-ledger-group,
  1481. .walk-story-block {
  1482. position: relative;
  1483. }
  1484. .walk-ledger-spine {
  1485. position: relative;
  1486. min-height: 100%;
  1487. }
  1488. .walk-ledger-spine::before {
  1489. content: "";
  1490. position: absolute;
  1491. top: -10px;
  1492. bottom: -10px;
  1493. left: 10px;
  1494. width: 2px;
  1495. background: #bfdbfe;
  1496. }
  1497. .walk-ledger-spine::after {
  1498. content: "";
  1499. position: absolute;
  1500. top: 19px;
  1501. left: 5px;
  1502. width: 12px;
  1503. height: 12px;
  1504. border: 2px solid #2563eb;
  1505. border-radius: 999px;
  1506. background: #fff;
  1507. }
  1508. .walk-source-card {
  1509. display: grid;
  1510. gap: 10px;
  1511. padding: 12px;
  1512. border: 1px solid #cbd5e1;
  1513. border-radius: 5px;
  1514. background: #fff;
  1515. }
  1516. .walk-story-block {
  1517. display: grid;
  1518. gap: 10px;
  1519. padding: 12px 12px 12px 24px;
  1520. border: 1px solid #cbd5e1;
  1521. border-radius: 6px;
  1522. background: #fff;
  1523. }
  1524. .walk-story-block.level-0 {
  1525. border-color: #bfdbfe;
  1526. background: #f8fbff;
  1527. }
  1528. .walk-story-block.level-1 {
  1529. border-color: #bbf7d0;
  1530. background: #f4fff8;
  1531. }
  1532. .walk-story-block.level-2 {
  1533. border-color: #ddd6fe;
  1534. background: #fbfaff;
  1535. }
  1536. .walk-story-block.level-3 {
  1537. border-color: #fed7aa;
  1538. background: #fffaf5;
  1539. }
  1540. .walk-story-block::before {
  1541. content: "";
  1542. position: absolute;
  1543. top: 18px;
  1544. bottom: 14px;
  1545. left: 10px;
  1546. width: 2px;
  1547. background: #bfdbfe;
  1548. }
  1549. .walk-story-block.level-1::before {
  1550. background: #bbf7d0;
  1551. }
  1552. .walk-story-block.level-2::before {
  1553. background: #ddd6fe;
  1554. }
  1555. .walk-story-block.level-3::before {
  1556. background: #fed7aa;
  1557. }
  1558. .walk-story-block::after {
  1559. content: "";
  1560. position: absolute;
  1561. top: 24px;
  1562. left: 5px;
  1563. width: 12px;
  1564. height: 12px;
  1565. border: 2px solid #2563eb;
  1566. border-radius: 999px;
  1567. background: #fff;
  1568. }
  1569. .walk-story-block.level-1::after {
  1570. border-color: #16a34a;
  1571. }
  1572. .walk-story-block.level-2::after {
  1573. border-color: #7c3aed;
  1574. }
  1575. .walk-story-block.level-3::after {
  1576. border-color: #ea580c;
  1577. }
  1578. .walk-story-head {
  1579. display: grid;
  1580. grid-template-columns: auto minmax(0, 1fr) auto;
  1581. gap: 10px;
  1582. align-items: start;
  1583. }
  1584. .walk-story-title {
  1585. min-width: 0;
  1586. display: grid;
  1587. gap: 7px;
  1588. }
  1589. .walk-story-title h2 {
  1590. margin: 0;
  1591. color: #111827;
  1592. font-size: 15px;
  1593. font-weight: 850;
  1594. line-height: 1.45;
  1595. }
  1596. .walk-source-kicker {
  1597. width: max-content;
  1598. padding: 3px 8px;
  1599. border-radius: 4px;
  1600. color: #475569;
  1601. background: #e2e8f0;
  1602. font-size: 11px;
  1603. font-weight: 850;
  1604. }
  1605. .walk-story-block.level-0 .walk-source-kicker {
  1606. color: #1e40af;
  1607. background: #dbeafe;
  1608. }
  1609. .walk-story-block.level-1 .walk-source-kicker {
  1610. color: #047857;
  1611. background: #dcfce7;
  1612. }
  1613. .walk-story-block.level-2 .walk-source-kicker {
  1614. color: #6d28d9;
  1615. background: #ede9fe;
  1616. }
  1617. .walk-story-block.level-3 .walk-source-kicker {
  1618. color: #c2410c;
  1619. background: #ffedd5;
  1620. }
  1621. .walk-source-card h2 {
  1622. margin: 0;
  1623. color: #111827;
  1624. font-size: 14px;
  1625. font-weight: 850;
  1626. line-height: 1.45;
  1627. }
  1628. .walk-source-head {
  1629. display: flex;
  1630. flex-wrap: wrap;
  1631. gap: 7px;
  1632. align-items: center;
  1633. }
  1634. .walk-source-head strong {
  1635. color: #111827;
  1636. font-size: 14px;
  1637. font-weight: 850;
  1638. line-height: 1.45;
  1639. }
  1640. .walk-source-tags {
  1641. display: flex;
  1642. flex-wrap: wrap;
  1643. gap: 5px;
  1644. }
  1645. .walk-source-tags span {
  1646. padding: 2px 7px;
  1647. border-radius: 999px;
  1648. color: #065f46;
  1649. background: #dcfce7;
  1650. font-size: 11px;
  1651. font-weight: 800;
  1652. }
  1653. .walk-source-meta {
  1654. display: grid;
  1655. gap: 5px;
  1656. color: #64748b;
  1657. font-size: 12px;
  1658. line-height: 1.45;
  1659. }
  1660. .walk-source-meta b {
  1661. display: inline-flex;
  1662. min-width: 58px;
  1663. margin-right: 6px;
  1664. color: #334155;
  1665. font-weight: 850;
  1666. }
  1667. .walk-source-facts {
  1668. display: grid;
  1669. grid-template-columns: repeat(4, minmax(0, 1fr));
  1670. gap: 6px;
  1671. }
  1672. .walk-fact {
  1673. min-width: 0;
  1674. display: grid;
  1675. gap: 2px;
  1676. padding: 7px 8px;
  1677. border: 1px solid #e2e8f0;
  1678. border-radius: 4px;
  1679. background: #f8fafc;
  1680. }
  1681. .walk-fact span {
  1682. color: #64748b;
  1683. font-size: 11px;
  1684. font-weight: 800;
  1685. }
  1686. .walk-fact strong {
  1687. color: #1f2937;
  1688. font-size: 12px;
  1689. line-height: 1.35;
  1690. overflow-wrap: anywhere;
  1691. }
  1692. .walk-fact.good {
  1693. border-color: #bbf7d0;
  1694. background: #f0fdf4;
  1695. }
  1696. .walk-fact.good strong {
  1697. color: #047857;
  1698. }
  1699. .walk-fact.warn {
  1700. border-color: #fde68a;
  1701. background: #fffbeb;
  1702. }
  1703. .walk-fact.warn strong {
  1704. color: #92400e;
  1705. }
  1706. .walk-fact.bad {
  1707. border-color: #fecaca;
  1708. background: #fef2f2;
  1709. }
  1710. .walk-fact.bad strong {
  1711. color: #b91c1c;
  1712. }
  1713. .walk-video-links {
  1714. display: flex;
  1715. flex-wrap: wrap;
  1716. gap: 6px;
  1717. align-items: center;
  1718. }
  1719. .walk-video-links a {
  1720. min-height: 28px;
  1721. display: inline-flex;
  1722. gap: 4px;
  1723. align-items: center;
  1724. padding: 4px 8px;
  1725. border: 1px solid #cbd5e1;
  1726. border-radius: 4px;
  1727. color: #1e40af;
  1728. background: #fff;
  1729. font-size: 11.5px;
  1730. font-weight: 800;
  1731. }
  1732. .walk-video-links a:hover {
  1733. border-color: #93c5fd;
  1734. background: #eff6ff;
  1735. }
  1736. .walk-video-links.compact {
  1737. justify-content: flex-end;
  1738. }
  1739. .walk-video-links.compact a {
  1740. min-height: 24px;
  1741. padding: 3px 7px;
  1742. }
  1743. .walk-branch-list {
  1744. display: grid;
  1745. gap: 7px;
  1746. }
  1747. .walk-route-stack {
  1748. display: grid;
  1749. gap: 8px;
  1750. }
  1751. .walk-story-routes {
  1752. position: relative;
  1753. display: grid;
  1754. gap: 8px;
  1755. margin-left: 18px;
  1756. padding-left: 16px;
  1757. border-left: 2px solid #dbeafe;
  1758. }
  1759. .walk-story-block.level-1 .walk-story-routes {
  1760. border-left-color: #bbf7d0;
  1761. }
  1762. .walk-story-block.level-2 .walk-story-routes {
  1763. border-left-color: #ddd6fe;
  1764. }
  1765. .walk-story-block.level-3 .walk-story-routes {
  1766. border-left-color: #fed7aa;
  1767. }
  1768. .walk-story-routes-label {
  1769. width: max-content;
  1770. margin-bottom: 1px;
  1771. padding: 3px 8px;
  1772. border-radius: 4px;
  1773. color: #1e40af;
  1774. background: #eff6ff;
  1775. font-size: 11px;
  1776. font-weight: 850;
  1777. }
  1778. .walk-story-block.level-1 .walk-story-routes-label {
  1779. color: #047857;
  1780. background: #dcfce7;
  1781. }
  1782. .walk-story-block.level-2 .walk-story-routes-label {
  1783. color: #6d28d9;
  1784. background: #ede9fe;
  1785. }
  1786. .walk-story-block.level-3 .walk-story-routes-label {
  1787. color: #c2410c;
  1788. background: #ffedd5;
  1789. }
  1790. .walk-tree-route {
  1791. position: relative;
  1792. display: grid;
  1793. grid-template-columns: 14px minmax(0, 1fr);
  1794. gap: 8px;
  1795. }
  1796. .walk-tree-route-dot {
  1797. position: relative;
  1798. }
  1799. .walk-tree-route-dot::before {
  1800. content: "";
  1801. position: absolute;
  1802. top: 22px;
  1803. left: -23px;
  1804. width: 21px;
  1805. height: 2px;
  1806. background: #dbeafe;
  1807. }
  1808. .walk-tree-route-dot::after {
  1809. content: "";
  1810. position: absolute;
  1811. top: 17px;
  1812. left: -5px;
  1813. width: 10px;
  1814. height: 10px;
  1815. border: 2px solid #60a5fa;
  1816. border-radius: 999px;
  1817. background: #fff;
  1818. }
  1819. .walk-tree-route-body {
  1820. display: grid;
  1821. gap: 9px;
  1822. padding: 10px 12px;
  1823. border: 1px solid #dbeafe;
  1824. border-radius: 5px;
  1825. background: #f8fbff;
  1826. }
  1827. .walk-tree-route.tag .walk-tree-route-body {
  1828. border-color: #bbf7d0;
  1829. background: #f0fdf4;
  1830. }
  1831. .walk-tree-route.author .walk-tree-route-body {
  1832. border-color: #ddd6fe;
  1833. background: #f5f3ff;
  1834. }
  1835. .walk-tree-route.page .walk-tree-route-body {
  1836. border-color: #bfdbfe;
  1837. background: #eff6ff;
  1838. }
  1839. .walk-tree-route.stopped .walk-tree-route-body {
  1840. border-color: #fde68a;
  1841. background: #fffbeb;
  1842. }
  1843. .walk-nested-children {
  1844. display: grid;
  1845. gap: 8px;
  1846. margin-top: 2px;
  1847. padding: 10px 0 0 18px;
  1848. border-left: 2px dashed #cbd5e1;
  1849. }
  1850. .walk-nested-label {
  1851. width: max-content;
  1852. padding: 3px 8px;
  1853. border-radius: 4px;
  1854. color: #475569;
  1855. background: #e2e8f0;
  1856. font-size: 11px;
  1857. font-weight: 850;
  1858. }
  1859. .walk-nested-children .walk-story-block {
  1860. box-shadow: none;
  1861. }
  1862. .walk-route-card {
  1863. display: grid;
  1864. gap: 9px;
  1865. padding: 10px 12px;
  1866. border: 1px solid #dbeafe;
  1867. border-radius: 5px;
  1868. background: #fff;
  1869. }
  1870. .walk-route-card.tag {
  1871. border-color: #bbf7d0;
  1872. background: #f0fdf4;
  1873. }
  1874. .walk-route-card.author {
  1875. border-color: #ddd6fe;
  1876. background: #f5f3ff;
  1877. }
  1878. .walk-route-card.page {
  1879. border-color: #bfdbfe;
  1880. background: #eff6ff;
  1881. }
  1882. .walk-route-card.stopped {
  1883. border-color: #fde68a;
  1884. background: #fffbeb;
  1885. }
  1886. .walk-route-head {
  1887. display: grid;
  1888. grid-template-columns: auto minmax(0, 1fr) auto;
  1889. gap: 8px;
  1890. align-items: start;
  1891. }
  1892. .walk-route-head strong {
  1893. color: #0f172a;
  1894. font-size: 13px;
  1895. font-weight: 850;
  1896. }
  1897. .walk-route-head p {
  1898. margin: 3px 0 0;
  1899. color: #334155;
  1900. font-size: 12.5px;
  1901. font-weight: 650;
  1902. line-height: 1.45;
  1903. }
  1904. .walk-flow {
  1905. display: grid;
  1906. grid-template-columns: minmax(100px, 0.8fr) 24px minmax(130px, 1fr) 24px minmax(150px, 1.1fr);
  1907. gap: 6px;
  1908. align-items: stretch;
  1909. }
  1910. .walk-flow-node {
  1911. min-width: 0;
  1912. display: grid;
  1913. gap: 3px;
  1914. padding: 8px 9px;
  1915. border: 1px solid rgba(148, 163, 184, 0.55);
  1916. border-radius: 4px;
  1917. background: #fff;
  1918. }
  1919. a.walk-flow-node:hover {
  1920. border-color: #93c5fd;
  1921. background: #fff;
  1922. }
  1923. .walk-flow-node span {
  1924. color: #64748b;
  1925. font-size: 11px;
  1926. font-weight: 850;
  1927. }
  1928. .walk-flow-node strong {
  1929. color: #111827;
  1930. font-size: 12px;
  1931. line-height: 1.35;
  1932. overflow-wrap: anywhere;
  1933. }
  1934. .walk-flow-node.strong {
  1935. border-color: #93c5fd;
  1936. background: #fff;
  1937. }
  1938. .walk-flow-node.muted {
  1939. color: #64748b;
  1940. background: rgba(255, 255, 255, 0.58);
  1941. }
  1942. .walk-flow-arrow {
  1943. display: inline-flex;
  1944. align-items: center;
  1945. justify-content: center;
  1946. color: #64748b;
  1947. }
  1948. .walk-route-bottom {
  1949. display: flex;
  1950. flex-wrap: wrap;
  1951. gap: 7px;
  1952. align-items: center;
  1953. }
  1954. .walk-gate {
  1955. min-height: 26px;
  1956. display: inline-flex;
  1957. align-items: center;
  1958. padding: 4px 8px;
  1959. border-radius: 4px;
  1960. font-size: 12px;
  1961. font-weight: 850;
  1962. }
  1963. .walk-gate.pass {
  1964. color: #065f46;
  1965. background: #dcfce7;
  1966. }
  1967. .walk-gate.stop {
  1968. color: #92400e;
  1969. background: #fef3c7;
  1970. }
  1971. .walk-jump-button {
  1972. min-height: 26px;
  1973. display: inline-flex;
  1974. align-items: center;
  1975. padding: 4px 8px;
  1976. border: 1px solid #cbd5e1;
  1977. border-radius: 4px;
  1978. color: #1e40af;
  1979. background: #fff;
  1980. font-size: 12px;
  1981. font-weight: 850;
  1982. }
  1983. .walk-jump-button:hover {
  1984. border-color: #93c5fd;
  1985. background: #eff6ff;
  1986. }
  1987. .walk-branch-card {
  1988. display: grid;
  1989. gap: 7px;
  1990. padding: 10px 12px;
  1991. border: 1px solid #dbeafe;
  1992. border-radius: 5px;
  1993. background: #fff;
  1994. }
  1995. .walk-branch-card.tag {
  1996. border-color: #bbf7d0;
  1997. background: #f0fdf4;
  1998. }
  1999. .walk-branch-card.author {
  2000. border-color: #ddd6fe;
  2001. background: #f5f3ff;
  2002. }
  2003. .walk-branch-card.page {
  2004. border-color: #bfdbfe;
  2005. background: #eff6ff;
  2006. }
  2007. .walk-branch-card.asset {
  2008. border-color: #bbf7d0;
  2009. background: #ecfdf5;
  2010. }
  2011. .walk-branch-card.stop,
  2012. .walk-branch-card.stopped {
  2013. border-color: #fde68a;
  2014. background: #fffbeb;
  2015. }
  2016. .walk-branch-head {
  2017. display: flex;
  2018. flex-wrap: wrap;
  2019. gap: 7px;
  2020. align-items: center;
  2021. }
  2022. .walk-edge-icon {
  2023. width: 24px;
  2024. height: 24px;
  2025. display: inline-flex;
  2026. align-items: center;
  2027. justify-content: center;
  2028. border-radius: 4px;
  2029. color: #1e40af;
  2030. background: #dbeafe;
  2031. }
  2032. .walk-branch-card.tag .walk-edge-icon {
  2033. color: #065f46;
  2034. background: #bbf7d0;
  2035. }
  2036. .walk-branch-card.author .walk-edge-icon {
  2037. color: #5b21b6;
  2038. background: #ddd6fe;
  2039. }
  2040. .walk-branch-card.stop .walk-edge-icon,
  2041. .walk-branch-card.stopped .walk-edge-icon {
  2042. color: #92400e;
  2043. background: #fde68a;
  2044. }
  2045. .walk-branch-head strong {
  2046. color: #0f172a;
  2047. }
  2048. .walk-branch-summary {
  2049. margin: 0;
  2050. color: #334155;
  2051. font-size: 13px;
  2052. font-weight: 750;
  2053. line-height: 1.55;
  2054. }
  2055. .walk-route-lines {
  2056. display: grid;
  2057. gap: 5px;
  2058. color: #475569;
  2059. font-size: 12px;
  2060. line-height: 1.45;
  2061. }
  2062. .walk-route-lines span {
  2063. overflow-wrap: anywhere;
  2064. }
  2065. .walk-route-lines b {
  2066. display: inline-flex;
  2067. min-width: 72px;
  2068. margin-right: 6px;
  2069. color: #1f2937;
  2070. font-weight: 850;
  2071. }
  2072. .walk-branch-facts {
  2073. display: grid;
  2074. grid-template-columns: repeat(4, minmax(0, 1fr));
  2075. gap: 6px;
  2076. }
  2077. .walk-fact-card {
  2078. min-width: 0;
  2079. display: grid;
  2080. gap: 4px;
  2081. padding: 7px 8px;
  2082. border: 1px solid rgba(148, 163, 184, 0.45);
  2083. border-radius: 4px;
  2084. background: rgba(255, 255, 255, 0.72);
  2085. }
  2086. .walk-fact-card span {
  2087. color: #64748b;
  2088. font-size: 11px;
  2089. font-weight: 800;
  2090. }
  2091. .walk-fact-card strong {
  2092. color: #1f2937;
  2093. font-size: 11.5px;
  2094. line-height: 1.45;
  2095. overflow-wrap: anywhere;
  2096. }
  2097. .walk-result-query,
  2098. .walk-result-title {
  2099. display: flex;
  2100. flex-wrap: wrap;
  2101. gap: 7px;
  2102. align-items: center;
  2103. color: #1e3a8a;
  2104. font-size: 12px;
  2105. font-weight: 800;
  2106. }
  2107. .walk-result-query {
  2108. padding: 7px 8px;
  2109. border: 1px solid #bfdbfe;
  2110. border-radius: 4px;
  2111. background: #fff;
  2112. }
  2113. .walk-result-query strong {
  2114. color: #0f172a;
  2115. }
  2116. .walk-result-videos {
  2117. display: grid;
  2118. gap: 8px;
  2119. padding-top: 2px;
  2120. }
  2121. .walk-result-video-grid {
  2122. display: grid;
  2123. grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  2124. gap: 8px;
  2125. align-items: start;
  2126. }
  2127. .walk-result-video-card {
  2128. min-width: 0;
  2129. display: grid;
  2130. gap: 8px;
  2131. padding: 10px;
  2132. border: 1px solid #e2e8f0;
  2133. border-radius: 5px;
  2134. background: #fff;
  2135. box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
  2136. }
  2137. .walk-result-video-card.good {
  2138. border-color: #86efac;
  2139. background: #f0fdf4;
  2140. }
  2141. .walk-result-video-card.warn {
  2142. border-color: #fde68a;
  2143. background: #fffbeb;
  2144. }
  2145. .walk-result-video-card.bad {
  2146. border-color: #fecaca;
  2147. background: #fef2f2;
  2148. }
  2149. .walk-result-video-card.has-child {
  2150. grid-column: 1 / -1;
  2151. background: #ffffff;
  2152. }
  2153. .walk-result-video-top {
  2154. display: flex;
  2155. flex-wrap: wrap;
  2156. gap: 6px;
  2157. align-items: center;
  2158. justify-content: space-between;
  2159. }
  2160. .walk-result-status,
  2161. .walk-result-continue,
  2162. .walk-result-stop {
  2163. min-height: 24px;
  2164. display: inline-flex;
  2165. align-items: center;
  2166. padding: 3px 7px;
  2167. border-radius: 4px;
  2168. font-size: 11.5px;
  2169. font-weight: 850;
  2170. }
  2171. .walk-result-status.good {
  2172. color: #065f46;
  2173. background: #bbf7d0;
  2174. }
  2175. .walk-result-status.warn {
  2176. color: #92400e;
  2177. background: #fde68a;
  2178. }
  2179. .walk-result-status.bad {
  2180. color: #991b1b;
  2181. background: #fecaca;
  2182. }
  2183. .walk-result-continue {
  2184. color: #1e40af;
  2185. background: #dbeafe;
  2186. }
  2187. .walk-result-stop {
  2188. color: #64748b;
  2189. background: #e2e8f0;
  2190. }
  2191. .walk-result-video-title {
  2192. color: #111827;
  2193. font-size: 13px;
  2194. font-weight: 850;
  2195. line-height: 1.45;
  2196. overflow-wrap: anywhere;
  2197. }
  2198. .walk-result-video-title:hover {
  2199. color: #1e40af;
  2200. }
  2201. .walk-result-video-meta {
  2202. color: #64748b;
  2203. font-size: 11.5px;
  2204. font-weight: 750;
  2205. }
  2206. .walk-score-chips {
  2207. display: flex;
  2208. flex-wrap: wrap;
  2209. gap: 5px;
  2210. }
  2211. .walk-score-chips span {
  2212. min-height: 22px;
  2213. display: inline-flex;
  2214. align-items: center;
  2215. padding: 3px 6px;
  2216. border: 1px solid rgba(148, 163, 184, 0.38);
  2217. border-radius: 4px;
  2218. color: #334155;
  2219. background: rgba(255, 255, 255, 0.72);
  2220. font-size: 11px;
  2221. font-weight: 800;
  2222. }
  2223. .compact-tags {
  2224. gap: 4px;
  2225. }
  2226. .compact-tags span {
  2227. font-size: 10.5px;
  2228. }
  2229. .walk-card-children {
  2230. margin-top: 2px;
  2231. padding: 10px 0 0 14px;
  2232. border-left: 2px dashed #93c5fd;
  2233. }
  2234. .walk-card-children > .walk-story-block {
  2235. margin-top: 0;
  2236. box-shadow: none;
  2237. }
  2238. .walk-stop-note {
  2239. padding: 9px 10px;
  2240. border: 1px dashed #fbbf24;
  2241. border-radius: 5px;
  2242. color: #92400e;
  2243. background: #fffbeb;
  2244. font-size: 12px;
  2245. font-weight: 800;
  2246. }
  2247. .walk-result-video {
  2248. display: grid;
  2249. grid-template-columns: minmax(0, 1fr) auto auto;
  2250. gap: 3px 8px;
  2251. align-items: center;
  2252. padding: 7px 8px;
  2253. border: 1px solid #e2e8f0;
  2254. border-radius: 4px;
  2255. background: #fff;
  2256. }
  2257. .walk-result-video:hover {
  2258. border-color: #93c5fd;
  2259. background: #f8fbff;
  2260. }
  2261. .walk-result-video-main {
  2262. min-width: 0;
  2263. display: grid;
  2264. gap: 2px;
  2265. }
  2266. .walk-result-video-main b {
  2267. color: #111827;
  2268. font-size: 12px;
  2269. line-height: 1.45;
  2270. }
  2271. .walk-result-video-main small {
  2272. color: var(--muted);
  2273. font-size: 11px;
  2274. }
  2275. .walk-result-video svg {
  2276. grid-column: 3;
  2277. grid-row: 1 / span 2;
  2278. color: #94a3b8;
  2279. }
  2280. .walk-result-video .walk-video-links {
  2281. grid-column: 2;
  2282. grid-row: 1 / span 2;
  2283. }
  2284. .walk-result-video.single {
  2285. grid-template-columns: minmax(0, 1fr);
  2286. }
  2287. .walk-result-video.single b {
  2288. color: #111827;
  2289. font-size: 12px;
  2290. line-height: 1.45;
  2291. }
  2292. .walk-result-video.single small {
  2293. color: var(--muted);
  2294. font-size: 11px;
  2295. }
  2296. .walk-no-route {
  2297. padding: 12px;
  2298. border: 1px dashed #cbd5e1;
  2299. border-radius: 5px;
  2300. color: #64748b;
  2301. background: #fff;
  2302. font-size: 12.5px;
  2303. }
  2304. @media (max-width: 900px) {
  2305. .walk-branch-facts {
  2306. grid-template-columns: repeat(2, minmax(0, 1fr));
  2307. }
  2308. .walk-story-head {
  2309. grid-template-columns: 1fr;
  2310. }
  2311. .walk-source-facts {
  2312. grid-template-columns: repeat(2, minmax(0, 1fr));
  2313. }
  2314. .walk-flow {
  2315. grid-template-columns: 1fr;
  2316. }
  2317. .walk-flow-arrow {
  2318. transform: rotate(90deg);
  2319. }
  2320. }
  2321. @media (max-width: 520px) {
  2322. .walk-branch-facts {
  2323. grid-template-columns: 1fr;
  2324. }
  2325. .walk-source-facts {
  2326. grid-template-columns: 1fr;
  2327. }
  2328. .walk-story-routes {
  2329. margin-left: 8px;
  2330. padding-left: 12px;
  2331. }
  2332. .walk-nested-children {
  2333. padding-left: 10px;
  2334. }
  2335. .walk-route-head {
  2336. grid-template-columns: auto minmax(0, 1fr);
  2337. }
  2338. .walk-route-head .chip {
  2339. grid-column: 2;
  2340. width: max-content;
  2341. }
  2342. }
  2343. .video-detail-grid {
  2344. display: grid;
  2345. grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  2346. gap: 12px;
  2347. margin: 12px 20px 24px;
  2348. align-items: start;
  2349. }
  2350. @media (max-width: 760px) {
  2351. .video-detail-grid {
  2352. grid-template-columns: 1fr;
  2353. }
  2354. }
  2355. .video-panel {
  2356. padding: 14px;
  2357. border: 1px solid #e2e8f0;
  2358. border-radius: 6px;
  2359. background: #fff;
  2360. }
  2361. .video-panel h2 {
  2362. margin: 0 0 8px;
  2363. color: #111827;
  2364. font-size: 14px;
  2365. }
  2366. .video-panel p {
  2367. color: #334155;
  2368. line-height: 1.6;
  2369. }
  2370. .video-embed {
  2371. width: 100%;
  2372. margin-top: 12px;
  2373. overflow: hidden;
  2374. border: 1px solid #cbd5e1;
  2375. border-radius: 4px;
  2376. background: #0f172a;
  2377. aspect-ratio: 9 / 16;
  2378. max-height: 620px;
  2379. }
  2380. .video-embed iframe {
  2381. width: 100%;
  2382. height: 100%;
  2383. display: block;
  2384. border: 0;
  2385. background: #0f172a;
  2386. }
  2387. .drawer-overlay {
  2388. position: fixed;
  2389. inset: 0;
  2390. z-index: 100;
  2391. display: none;
  2392. border: 0;
  2393. background: rgba(0, 0, 0, 0.35);
  2394. }
  2395. .drawer-overlay.open {
  2396. display: block;
  2397. }
  2398. .drawer {
  2399. position: fixed;
  2400. top: 0;
  2401. right: 0;
  2402. bottom: 0;
  2403. z-index: 101;
  2404. width: 560px;
  2405. max-width: 92vw;
  2406. overflow-y: auto;
  2407. background: #fff;
  2408. box-shadow: -4px 0 16px rgba(0, 0, 0, 0.15);
  2409. transform: translateX(100%);
  2410. transition: transform 200ms ease-out;
  2411. }
  2412. .drawer.open {
  2413. transform: translateX(0);
  2414. }
  2415. .drawer header {
  2416. position: sticky;
  2417. top: 0;
  2418. z-index: 2;
  2419. padding: 14px 18px;
  2420. color: #fff;
  2421. background: #1e293b;
  2422. }
  2423. .drawer h2 {
  2424. margin: 0;
  2425. padding-right: 32px;
  2426. font-size: 14px;
  2427. }
  2428. .drawer-close {
  2429. position: absolute;
  2430. top: 10px;
  2431. right: 12px;
  2432. width: 32px;
  2433. height: 32px;
  2434. border: 0;
  2435. color: #fff;
  2436. background: transparent;
  2437. cursor: pointer;
  2438. }
  2439. .drawer-content {
  2440. padding: 14px 18px;
  2441. }
  2442. .business-drawer-content {
  2443. display: grid;
  2444. gap: 10px;
  2445. }
  2446. .drawer-section {
  2447. padding: 12px 12px 10px;
  2448. border: 1px solid #e5e7eb;
  2449. border-left: 4px solid #94a3b8;
  2450. border-radius: 5px;
  2451. background: #fff;
  2452. }
  2453. .drawer-section.good {
  2454. border-left-color: #059669;
  2455. }
  2456. .drawer-section.warn {
  2457. border-left-color: #d97706;
  2458. }
  2459. .drawer-section.bad {
  2460. border-left-color: #dc2626;
  2461. }
  2462. .drawer-section.info {
  2463. border-left-color: #2563eb;
  2464. }
  2465. .drawer-section h3 {
  2466. margin: 0 0 6px;
  2467. color: #111827;
  2468. font-size: 12.5px;
  2469. }
  2470. .drawer-section p,
  2471. .drawer-section li {
  2472. color: #334155;
  2473. font-size: 12.5px;
  2474. line-height: 1.65;
  2475. }
  2476. .drawer-section p {
  2477. margin: 0;
  2478. }
  2479. .drawer-section ul {
  2480. margin: 0;
  2481. padding-left: 16px;
  2482. }
  2483. @media (max-width: 760px) {
  2484. body {
  2485. overflow: auto;
  2486. }
  2487. .app-shell,
  2488. .scroll-area {
  2489. height: auto;
  2490. min-height: 100dvh;
  2491. }
  2492. .page-header {
  2493. align-items: flex-start;
  2494. flex-direction: column;
  2495. }
  2496. .toolbar-button,
  2497. .icon-button,
  2498. .mini-button {
  2499. min-height: 44px;
  2500. }
  2501. .icon-button {
  2502. width: 44px;
  2503. }
  2504. .legend-hint {
  2505. width: 100%;
  2506. margin-left: 0;
  2507. }
  2508. .ledger-layout {
  2509. grid-template-columns: 1fr;
  2510. padding: 8px;
  2511. }
  2512. .ledger-layout.demand-collapsed {
  2513. grid-template-columns: 1fr;
  2514. }
  2515. .demand-side-panel {
  2516. position: static;
  2517. }
  2518. .demand-side-panel.collapsed {
  2519. min-height: 0;
  2520. justify-items: stretch;
  2521. }
  2522. .demand-side-panel.collapsed .demand-panel-head {
  2523. display: flex;
  2524. justify-content: flex-start;
  2525. }
  2526. .demand-rail-label {
  2527. writing-mode: horizontal-tb;
  2528. }
  2529. .demand-cell,
  2530. .group-demand,
  2531. .source-cell,
  2532. .sub-source,
  2533. .group-source {
  2534. width: 260px;
  2535. min-width: 260px;
  2536. max-width: 260px;
  2537. }
  2538. .sticky-demand,
  2539. .sticky-source {
  2540. position: static !important;
  2541. left: auto;
  2542. }
  2543. .demand-cell,
  2544. .group-demand,
  2545. .source-cell,
  2546. .sub-source,
  2547. .group-source {
  2548. box-shadow: none;
  2549. }
  2550. .walk-lanes,
  2551. .video-detail-grid {
  2552. grid-template-columns: 1fr;
  2553. }
  2554. }
  2555. @media (prefers-reduced-motion: reduce) {
  2556. *,
  2557. *::before,
  2558. *::after {
  2559. transition-duration: 0.01ms !important;
  2560. animation-duration: 0.01ms !important;
  2561. animation-iteration-count: 1 !important;
  2562. }
  2563. }
  2564. /* ===================== Walk tree (游走路线图) ===================== */
  2565. .wt-page { margin: 12px 20px 28px; }
  2566. .wt-overview {
  2567. position: sticky;
  2568. top: 0;
  2569. z-index: 5;
  2570. display: flex;
  2571. flex-wrap: wrap;
  2572. gap: 10px 18px;
  2573. align-items: center;
  2574. padding: 12px 14px;
  2575. margin-bottom: 12px;
  2576. border: 1px solid #dbeafe;
  2577. border-radius: 8px;
  2578. background: #f8fbff;
  2579. }
  2580. .wt-overview-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
  2581. .wt-root-chip {
  2582. padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 850;
  2583. color: #1e40af; background: #dbeafe;
  2584. }
  2585. .wt-overview-head strong { color: #0f172a; font-size: 15px; font-weight: 850; }
  2586. .wt-overview-head small { color: var(--muted); font-size: 12px; }
  2587. .wt-overview-stats { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
  2588. .wt-stat {
  2589. display: inline-flex; gap: 5px; align-items: baseline;
  2590. padding: 4px 9px; border: 1px solid #e2e8f0; border-radius: 999px;
  2591. background: #fff; color: #475569; font-size: 11.5px; font-weight: 700;
  2592. }
  2593. .wt-stat b { color: #0f172a; font-size: 13px; font-weight: 850; }
  2594. .wt-stat.go b { color: #047857; }
  2595. .wt-stat.stop b { color: #b45309; }
  2596. .wt-controls { display: flex; gap: 6px; align-items: center; }
  2597. .wt-controls-label { color: var(--muted); font-size: 11.5px; font-weight: 700; }
  2598. .wt-controls button {
  2599. padding: 4px 10px; border: 1px solid #cbd5e1; border-radius: 999px;
  2600. background: #fff; color: #334155; font-size: 11.5px; font-weight: 700; cursor: pointer;
  2601. }
  2602. .wt-controls button:hover { border-color: #93c5fd; background: #eff6ff; color: #1e40af; }
  2603. /* batch grouping (全run游走图:搜索词 → 批次 → 视频) */
  2604. .wt-group { display: grid; gap: 2px; margin-top: 12px; }
  2605. .wt-group:first-child { margin-top: 0; }
  2606. .wt-batch { display: grid; gap: 2px; }
  2607. .wt-batch-head {
  2608. display: flex; align-items: center; gap: 8px;
  2609. margin: 6px 0 1px; padding: 2px 0 2px 8px;
  2610. border-left: 3px solid #cbd5e1;
  2611. }
  2612. .wt-batch-label { font-size: 12.5px; font-weight: 800; color: #334155; }
  2613. .wt-batch-count { font-size: 11.5px; font-weight: 700; color: var(--muted); }
  2614. .wt-batch-gate { font-size: 11px; color: #94a3b8; }
  2615. .wt-batch-videos { display: grid; gap: 2px; margin-left: 8px; }
  2616. /* tree */
  2617. .wt-tree { display: grid; gap: 2px; }
  2618. .wt-branch { display: grid; gap: 2px; }
  2619. .wt-children {
  2620. margin-left: 16px;
  2621. padding-left: 6px;
  2622. border-left: 1px solid #e2e8f0;
  2623. display: grid;
  2624. gap: 2px;
  2625. }
  2626. .wt-row {
  2627. display: flex;
  2628. gap: 8px;
  2629. align-items: center;
  2630. min-height: 38px;
  2631. padding: 5px 10px 5px 4px;
  2632. border: 1px solid transparent;
  2633. border-radius: 6px;
  2634. background: #fff;
  2635. }
  2636. .wt-row:hover { background: #f8fafc; border-color: #e2e8f0; }
  2637. .wt-row.video { border-left: 3px solid #cbd5e1; }
  2638. .wt-row.video.good { border-left-color: #16a34a; }
  2639. .wt-row.video.warn { border-left-color: #f59e0b; }
  2640. .wt-row.video.bad { border-left-color: #ef4444; }
  2641. .wt-row.video.tech { border-left-color: #64748b; }
  2642. .wt-row.route.go { background: #f6fef9; }
  2643. .wt-row.route.stop { background: #fffdf7; }
  2644. .wt-toggle {
  2645. flex: 0 0 auto;
  2646. width: 22px; height: 22px;
  2647. display: inline-flex; align-items: center; justify-content: center;
  2648. border: none; border-radius: 4px; background: transparent; color: #64748b; cursor: pointer;
  2649. }
  2650. .wt-toggle:hover { background: #e2e8f0; color: #0f172a; }
  2651. .wt-toggle.empty { cursor: default; }
  2652. .wt-row-main {
  2653. flex: 1 1 auto;
  2654. min-width: 0;
  2655. display: flex;
  2656. gap: 8px;
  2657. align-items: center;
  2658. padding: 0;
  2659. border: none;
  2660. background: transparent;
  2661. text-align: left;
  2662. cursor: pointer;
  2663. font: inherit;
  2664. }
  2665. .wt-dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 999px; background: #cbd5e1; }
  2666. .wt-dot.good { background: #16a34a; }
  2667. .wt-dot.warn { background: #f59e0b; }
  2668. .wt-dot.bad { background: #ef4444; }
  2669. .wt-dot.tech { background: #64748b; }
  2670. .wt-kicker {
  2671. flex: 0 0 auto;
  2672. padding: 1px 6px; border-radius: 4px;
  2673. color: #475569; background: #eef2f7; font-size: 10.5px; font-weight: 800;
  2674. }
  2675. .wt-edge-icon { flex: 0 0 auto; display: inline-flex; color: #475569; }
  2676. .wt-row.route.tag .wt-edge-icon { color: #047857; }
  2677. .wt-row.route.author .wt-edge-icon { color: #7c3aed; }
  2678. .wt-row.route.page .wt-edge-icon { color: #2563eb; }
  2679. .wt-title {
  2680. flex: 0 1 auto;
  2681. min-width: 0;
  2682. overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  2683. color: #111827; font-size: 13px; font-weight: 750;
  2684. }
  2685. .wt-title.route { flex: 0 0 auto; max-width: 320px; }
  2686. .wt-newquery { flex: 0 0 auto; color: #1e40af; font-size: 12px; font-weight: 750; }
  2687. .wt-author { flex: 0 0 auto; color: #64748b; font-size: 12px; max-width: 130px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  2688. .wt-score { flex: 0 0 auto; color: #334155; font-size: 12px; font-weight: 800; }
  2689. .wt-status {
  2690. flex: 0 0 auto;
  2691. padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 800;
  2692. color: #475569; background: #eef2f7;
  2693. }
  2694. .wt-status.good { color: #047857; background: #dcfce7; }
  2695. .wt-status.warn { color: #92400e; background: #fef3c7; }
  2696. .wt-status.bad { color: #b91c1c; background: #fee2e2; }
  2697. .wt-status.tech { color: #334155; background: #e2e8f0; }
  2698. .wt-walk { flex: 0 0 auto; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; }
  2699. .wt-walk.go { color: #047857; background: #dcfce7; }
  2700. .wt-walk.stop { color: #92400e; background: #fef3c7; }
  2701. .wt-reason { flex: 0 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #94782e; font-size: 11.5px; }
  2702. .wt-row-right { flex: 0 0 auto; display: flex; gap: 6px; align-items: center; }
  2703. .wt-badge {
  2704. padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 800;
  2705. color: #475569; background: #f1f5f9; border: 1px solid #e2e8f0;
  2706. }
  2707. .wt-badge.go { color: #047857; background: #f0fdf4; border-color: #bbf7d0; }
  2708. .wt-badge.stop { color: #b45309; background: #fffbeb; border-color: #fde68a; }
  2709. .wt-badge.muted { color: #94a3b8; background: #f8fafc; }
  2710. .wt-links { display: inline-flex; gap: 6px; }
  2711. .wt-link {
  2712. display: inline-flex; gap: 3px; align-items: center;
  2713. padding: 3px 8px; border: 1px solid #cbd5e1; border-radius: 4px;
  2714. color: #1e40af; background: #fff; font-size: 11px; font-weight: 700;
  2715. }
  2716. .wt-link:hover { border-color: #93c5fd; background: #eff6ff; }
  2717. @media (max-width: 720px) {
  2718. .wt-page { margin: 10px 10px 24px; }
  2719. .wt-author, .wt-reason { display: none; }
  2720. .wt-overview-stats { margin-left: 0; }
  2721. }