globals.css 132 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273
  1. :root {
  2. --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Segoe UI", "Microsoft YaHei", system-ui, sans-serif;
  3. --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  4. --type-caption: .75rem;
  5. --type-label: .8125rem;
  6. --type-ui: .875rem;
  7. --type-body: 1rem;
  8. --type-title: 1.125rem;
  9. --type-heading: 1.25rem;
  10. --inspector-title-size: var(--type-heading);
  11. --inspector-section-title-size: var(--type-title);
  12. --inspector-field-label-size: var(--type-label);
  13. --inspector-copy-size: var(--type-body);
  14. --weight-regular: 400;
  15. --weight-medium: 500;
  16. --weight-semibold: 600;
  17. --weight-bold: 700;
  18. --bg: #101114;
  19. --canvas: #15171b;
  20. --surface: #202228;
  21. --surface-raised: #25282f;
  22. --surface-control: #2b2e36;
  23. --surface-subtle: #1b1d22;
  24. --text-primary: #f5f5f6;
  25. --text-secondary: #d7d9df;
  26. --text-muted: #aeb2bb;
  27. --text-subtle: #9298a3;
  28. --border-subtle: #30343d;
  29. --border: #3c414c;
  30. --border-strong: #5b6270;
  31. --accent: #ff6d5a;
  32. --accent-hover: #ff806e;
  33. --accent-soft: rgba(255, 109, 90, .12);
  34. --success: #63c883;
  35. --warning: #f4c152;
  36. --danger: #ff806e;
  37. --info: #7bb8ff;
  38. --evaluator: #b7a0eb;
  39. --retrieval: #e6a86f;
  40. --space-1: .25rem;
  41. --space-2: .5rem;
  42. --space-3: .75rem;
  43. --space-4: 1rem;
  44. --space-5: 1.5rem;
  45. --space-6: 2rem;
  46. --radius-sm: .5rem;
  47. --radius-md: .75rem;
  48. --radius-lg: 1rem;
  49. --shadow-sm: 0 5px 14px rgba(0, 0, 0, .22);
  50. --shadow-md: 0 16px 38px rgba(0, 0, 0, .32), 0 2px 8px rgba(0, 0, 0, .24);
  51. --ease-out: cubic-bezier(.16, 1, .3, 1);
  52. --z-sticky: 20;
  53. --z-popover: 30;
  54. --z-drawer: 40;
  55. --z-toast: 50;
  56. --z-modal: 60;
  57. }
  58. * { box-sizing: border-box; }
  59. html,
  60. body {
  61. width: 100%;
  62. height: 100%;
  63. margin: 0;
  64. }
  65. body {
  66. overflow: hidden;
  67. background: var(--bg);
  68. color: var(--text-primary);
  69. font-family: var(--font-ui);
  70. font-size: 100%;
  71. font-weight: var(--weight-regular);
  72. line-height: 1.5;
  73. letter-spacing: .008em;
  74. font-kerning: normal;
  75. font-variant-numeric: tabular-nums;
  76. text-rendering: optimizeLegibility;
  77. }
  78. button,
  79. input,
  80. select { font: inherit; }
  81. button,
  82. select { cursor: pointer; }
  83. button:focus-visible,
  84. input:focus-visible,
  85. select:focus-visible,
  86. [tabindex]:focus-visible {
  87. outline: 2px solid var(--accent);
  88. outline-offset: 3px;
  89. }
  90. .srOnly {
  91. position: absolute !important;
  92. width: 1px;
  93. height: 1px;
  94. overflow: hidden;
  95. clip: rect(0, 0, 0, 0);
  96. white-space: nowrap;
  97. }
  98. /* App shell and floating run controls */
  99. .appFrame {
  100. position: relative;
  101. height: 100vh;
  102. background: var(--bg);
  103. }
  104. .runHeader {
  105. position: absolute;
  106. z-index: var(--z-sticky);
  107. top: var(--space-4);
  108. left: var(--space-4);
  109. right: var(--space-4);
  110. pointer-events: none;
  111. }
  112. .withInspector .runHeader { right: 29.75rem; }
  113. .topBar {
  114. min-height: 4rem;
  115. display: flex;
  116. align-items: center;
  117. gap: var(--space-2);
  118. padding: var(--space-2);
  119. border: 1px solid var(--border);
  120. border-radius: var(--radius-md);
  121. background: var(--surface);
  122. box-shadow: var(--shadow-md);
  123. pointer-events: auto;
  124. }
  125. .productMark {
  126. min-width: max-content;
  127. display: flex;
  128. align-items: center;
  129. gap: var(--space-2);
  130. padding: 0 var(--space-3) 0 var(--space-1);
  131. }
  132. .productIcon {
  133. width: 2.5rem;
  134. height: 2.5rem;
  135. display: grid;
  136. place-items: center;
  137. flex: none;
  138. color: var(--accent);
  139. border: 1px solid rgba(255, 109, 90, .42);
  140. border-radius: var(--radius-sm);
  141. background: var(--accent-soft);
  142. }
  143. .productMark h1 {
  144. margin: 0;
  145. font-size: var(--type-body);
  146. font-weight: var(--weight-semibold);
  147. line-height: 1.25;
  148. }
  149. .buildPicker {
  150. min-width: 19.5rem;
  151. display: flex;
  152. align-items: center;
  153. gap: var(--space-2);
  154. }
  155. .buildPicker select,
  156. .buildPicker input {
  157. height: 2.75rem;
  158. min-width: 0;
  159. padding: 0 var(--space-3);
  160. border: 1px solid var(--border);
  161. border-radius: var(--radius-sm);
  162. background: var(--canvas);
  163. color: var(--text-primary);
  164. font-size: var(--type-ui);
  165. transition: border-color 160ms var(--ease-out), background 160ms var(--ease-out);
  166. }
  167. .buildPicker select:hover,
  168. .buildPicker input:hover { border-color: var(--border-strong); }
  169. .buildPicker select { width: 12rem; }
  170. .buildPicker input { width: 7rem; }
  171. .buildPicker input::placeholder { color: var(--text-muted); opacity: 1; }
  172. .quietButton,
  173. .iconButton {
  174. min-height: 2.75rem;
  175. display: inline-flex;
  176. align-items: center;
  177. justify-content: center;
  178. gap: .375rem;
  179. border-radius: var(--radius-sm);
  180. white-space: nowrap;
  181. font-size: var(--type-ui);
  182. font-weight: var(--weight-semibold);
  183. transition: color 160ms var(--ease-out), border-color 160ms var(--ease-out), background 160ms var(--ease-out), transform 160ms var(--ease-out);
  184. }
  185. .quietButton:active,
  186. .iconButton:active { transform: translateY(1px); }
  187. .quietButton,
  188. .iconButton {
  189. border: 1px solid var(--border);
  190. background: var(--surface-control);
  191. color: var(--text-secondary);
  192. }
  193. .quietButton { padding: 0 var(--space-3); }
  194. .quietButton:hover,
  195. .iconButton:hover { border-color: var(--border-strong); color: var(--text-primary); background: #31353e; }
  196. .iconButton { width: 2.75rem; padding: 0; }
  197. .roundNav {
  198. min-width: 0;
  199. display: flex;
  200. align-items: center;
  201. gap: .375rem;
  202. overflow-x: auto;
  203. scrollbar-width: none;
  204. }
  205. .roundNav::-webkit-scrollbar { display: none; }
  206. .roundNav button {
  207. min-width: max-content;
  208. min-height: 2.75rem;
  209. display: flex;
  210. align-items: center;
  211. justify-content: center;
  212. gap: .375rem;
  213. padding: 0 var(--space-3);
  214. border: 1px solid var(--border);
  215. border-radius: var(--radius-sm);
  216. background: var(--canvas);
  217. color: var(--text-secondary);
  218. font-size: var(--type-label);
  219. font-weight: var(--weight-medium);
  220. }
  221. .roundNav button:hover { border-color: var(--border-strong); }
  222. .roundNav button.active {
  223. border-color: var(--accent);
  224. background: var(--accent-soft);
  225. color: var(--text-primary);
  226. }
  227. .runMeta {
  228. display: flex;
  229. align-items: center;
  230. gap: .375rem;
  231. margin-left: auto;
  232. }
  233. .refreshing { width: 1.75rem; display: grid; place-items: center; color: var(--text-muted); }
  234. .refreshing svg { animation: spin 1s linear infinite; }
  235. @keyframes spin { to { transform: rotate(360deg); } }
  236. .dataNotes { position: relative; }
  237. .dataNotes summary {
  238. min-height: 2.75rem;
  239. display: flex;
  240. align-items: center;
  241. gap: .375rem;
  242. padding: 0 var(--space-3);
  243. border-radius: var(--radius-sm);
  244. color: var(--warning);
  245. font-size: var(--type-label);
  246. font-weight: var(--weight-medium);
  247. white-space: nowrap;
  248. cursor: pointer;
  249. list-style: none;
  250. }
  251. .dataNotes summary::-webkit-details-marker { display: none; }
  252. .dataNotes summary:hover { background: var(--surface-control); }
  253. .dataNotes summary b {
  254. min-width: 1.25rem;
  255. height: 1.25rem;
  256. display: grid;
  257. place-items: center;
  258. border-radius: 999px;
  259. background: rgba(244, 193, 82, .13);
  260. font-size: var(--type-caption);
  261. }
  262. .dataNotes > div {
  263. position: absolute;
  264. top: 3.25rem;
  265. right: 0;
  266. width: min(28rem, 80vw);
  267. padding: var(--space-4);
  268. border: 1px solid var(--border);
  269. border-radius: var(--radius-md);
  270. background: var(--surface-raised);
  271. box-shadow: var(--shadow-md);
  272. }
  273. .dataNotes ul {
  274. margin: 0 0 var(--space-3);
  275. padding-left: 1.25rem;
  276. color: var(--text-secondary);
  277. font-size: var(--type-ui);
  278. line-height: 1.6;
  279. }
  280. .dataNotes li + li { margin-top: var(--space-2); }
  281. .dataNotes p,
  282. .dataNotes small { color: var(--text-muted); font-size: var(--type-label); }
  283. /* Canvas and React Flow */
  284. .workspace {
  285. position: relative;
  286. height: 100vh;
  287. min-height: 0;
  288. display: grid;
  289. grid-template-columns: minmax(0, 1fr);
  290. overflow: hidden;
  291. }
  292. .withInspector .workspace { grid-template-columns: minmax(0, 1fr) 28.75rem; }
  293. .flowShell {
  294. position: relative;
  295. min-width: 0;
  296. min-height: 0;
  297. overflow: hidden;
  298. background: var(--canvas);
  299. }
  300. .react-flow { background: var(--canvas); }
  301. .react-flow__edge-path { stroke: #858b95; stroke-width: 1.5; }
  302. .react-flow__controls {
  303. overflow: hidden;
  304. border: 1px solid var(--border);
  305. border-radius: var(--radius-sm);
  306. background: var(--surface);
  307. box-shadow: var(--shadow-sm);
  308. }
  309. .react-flow__controls-button {
  310. width: 2.75rem !important;
  311. height: 2.75rem !important;
  312. border-bottom-color: var(--border) !important;
  313. background: var(--surface) !important;
  314. fill: var(--text-secondary) !important;
  315. }
  316. .react-flow__controls-button:hover { background: var(--surface-control) !important; }
  317. .react-flow__node.selected .flowCard {
  318. border-color: var(--accent);
  319. box-shadow: 0 0 0 1px var(--accent), 0 0 0 4px var(--accent-soft), var(--shadow-md);
  320. }
  321. /* Business cards */
  322. .flowCard {
  323. width: 20rem;
  324. min-height: 12.25rem;
  325. display: flex;
  326. flex-direction: column;
  327. gap: var(--space-4);
  328. padding: 1.125rem;
  329. border: 1px solid var(--border);
  330. border-radius: var(--radius-md);
  331. background: var(--surface);
  332. color: var(--text-primary);
  333. box-shadow: var(--shadow-sm);
  334. user-select: none;
  335. transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out), background 180ms var(--ease-out);
  336. }
  337. .flowCard:hover { border-color: var(--border-strong); background: #22252b; }
  338. .flowHandle {
  339. width: .625rem !important;
  340. height: .625rem !important;
  341. border: 2px solid var(--canvas) !important;
  342. background: #858b95 !important;
  343. }
  344. .cardHeader {
  345. display: flex;
  346. align-items: center;
  347. justify-content: space-between;
  348. gap: var(--space-2);
  349. }
  350. .cardIdentity { min-width: 0; display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
  351. .actorBadge {
  352. display: inline-flex;
  353. align-items: center;
  354. min-height: 1.5rem;
  355. padding: .125rem .5rem;
  356. border: 1px solid currentColor;
  357. border-radius: 999px;
  358. font-size: var(--type-caption);
  359. font-weight: var(--weight-semibold);
  360. line-height: 1.2;
  361. white-space: nowrap;
  362. }
  363. .actor-main { color: var(--accent); background: rgba(255, 109, 90, .06); }
  364. .actor-implementer { color: var(--info); background: rgba(123, 184, 255, .06); }
  365. .actor-retrieval { color: var(--retrieval); background: rgba(230, 168, 111, .065); }
  366. .actor-evaluator { color: var(--evaluator); background: rgba(183, 160, 235, .065); }
  367. .flowCard h3 {
  368. margin: 0;
  369. color: var(--text-primary);
  370. font-size: var(--type-title);
  371. font-weight: var(--weight-semibold);
  372. line-height: 1.35;
  373. letter-spacing: -.01em;
  374. text-wrap: balance;
  375. }
  376. .storyRole,
  377. .roundNumber,
  378. .candidateLabel,
  379. .finalLabel {
  380. display: inline-flex;
  381. align-items: center;
  382. gap: .375rem;
  383. color: var(--text-muted);
  384. font-size: var(--type-caption);
  385. font-weight: var(--weight-semibold);
  386. line-height: 1.35;
  387. }
  388. .role-objective,
  389. .story-decision { border-color: rgba(255, 109, 90, .5); }
  390. .role-branch-task,
  391. .role-candidate-output { border-color: rgba(123, 184, 255, .42); }
  392. .role-data-decision { border-color: rgba(230, 168, 111, .42); }
  393. .role-multipath-decision { border-color: rgba(255, 109, 90, .52); }
  394. .role-domain-output { border-color: rgba(99, 200, 131, .44); }
  395. .role-multipath-review,
  396. .role-round-evaluation { border-color: rgba(183, 160, 235, .48); }
  397. .story-result,
  398. .runResultCard { border-color: rgba(99, 200, 131, .48); }
  399. .story-missing { border-color: rgba(244, 193, 82, .5); border-style: dashed; }
  400. .agentDecisionCard { min-height: 18.5rem; }
  401. .agentDecisionCard.decision-direction { border-color: rgba(255, 109, 90, .55); }
  402. .agentDecisionCard.decision-tradeoff { border-color: rgba(230, 168, 111, .52); }
  403. .agentDecisionCard.decision-evaluation { border-color: rgba(183, 160, 235, .54); }
  404. .agentDecisionCard.decision-creative { border-color: rgba(123, 184, 255, .5); }
  405. .authorityBadge {
  406. display: inline-flex;
  407. align-items: center;
  408. min-height: 1.5rem;
  409. padding: .125rem .5rem;
  410. border: 1px solid var(--border);
  411. border-radius: 999px;
  412. color: var(--text-muted);
  413. background: rgba(255, 255, 255, .025);
  414. font-size: var(--type-caption);
  415. font-weight: var(--weight-semibold);
  416. white-space: nowrap;
  417. }
  418. .authority-final { color: var(--accent-hover); border-color: rgba(255, 109, 90, .42); }
  419. .authority-recommendation { color: var(--evaluator); border-color: rgba(183, 160, 235, .42); }
  420. .authority-implementation-scope { color: var(--info); border-color: rgba(123, 184, 255, .38); }
  421. .promptAction { color: var(--text-muted); }
  422. .inspectorDecisionActions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
  423. .cardFields,
  424. .candidateSummary { display: grid; gap: var(--space-3); }
  425. .cardFields > div,
  426. .candidateSummary > div {
  427. display: grid;
  428. grid-template-columns: 3.25rem minmax(0, 1fr);
  429. gap: var(--space-2);
  430. align-items: start;
  431. }
  432. .cardFields > div,
  433. .candidateSummary > div { grid-template-columns: 4.5rem minmax(0, 1fr); }
  434. .cardFields b,
  435. .candidateSummary b {
  436. padding-top: .125rem;
  437. color: var(--text-muted);
  438. font-size: var(--type-caption);
  439. font-weight: var(--weight-semibold);
  440. line-height: 1.5;
  441. white-space: nowrap;
  442. }
  443. .cardFields p,
  444. .candidateSummary p {
  445. margin: 0;
  446. color: var(--text-secondary);
  447. font-size: var(--type-ui);
  448. font-weight: var(--weight-regular);
  449. line-height: 1.58;
  450. letter-spacing: .012em;
  451. overflow-wrap: anywhere;
  452. white-space: pre-wrap;
  453. text-wrap: pretty;
  454. }
  455. .cardFields .cardFieldPrimary p {
  456. color: var(--text-primary);
  457. font-size: var(--type-body);
  458. font-weight: var(--weight-semibold);
  459. line-height: 1.58;
  460. }
  461. .cardFooter {
  462. display: flex;
  463. align-items: center;
  464. gap: var(--space-2);
  465. margin-top: auto;
  466. flex-wrap: wrap;
  467. }
  468. .nodeAction {
  469. min-height: 2.75rem;
  470. display: inline-flex;
  471. align-items: center;
  472. gap: .375rem;
  473. padding: 0 var(--space-3);
  474. border: 1px solid var(--border);
  475. border-radius: var(--radius-sm);
  476. background: var(--canvas);
  477. color: var(--text-secondary);
  478. font-size: var(--type-label);
  479. font-weight: var(--weight-semibold);
  480. transition: color 160ms var(--ease-out), border-color 160ms var(--ease-out), background 160ms var(--ease-out);
  481. }
  482. .nodeAction:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--text-primary); }
  483. .nodeAction.artifactAction {
  484. border-color: rgba(255, 109, 90, .42);
  485. color: var(--accent-hover);
  486. }
  487. .nodeAction.lineageAction,
  488. .frameDetail.lineageAction {
  489. border-color: rgba(123, 184, 255, .34);
  490. color: #a9cfff;
  491. background: rgba(123, 184, 255, .045);
  492. }
  493. .nodeAction.lineageAction:hover,
  494. .frameDetail.lineageAction:hover { border-color: var(--info); background: rgba(123, 184, 255, .11); color: #d6e9ff; }
  495. .roundSummaryCard { width: 22.5rem; min-height: 25rem; }
  496. .roundSummaryContent { display: grid; gap: 1.125rem; }
  497. .roundGoalSummary {
  498. display: grid;
  499. gap: .5rem;
  500. padding-bottom: 1rem;
  501. border-bottom: 1px solid var(--border-subtle);
  502. }
  503. .roundGoalSummary > b,
  504. .roundSummaryBlock > b {
  505. color: var(--text-muted);
  506. font-size: var(--type-label);
  507. font-weight: var(--weight-semibold);
  508. line-height: 1.4;
  509. }
  510. .roundGoalSummary > p {
  511. display: -webkit-box;
  512. margin: 0;
  513. overflow: hidden;
  514. color: var(--text-primary);
  515. font-size: var(--type-body);
  516. font-weight: var(--weight-semibold);
  517. line-height: 1.55;
  518. letter-spacing: 0;
  519. overflow-wrap: anywhere;
  520. text-wrap: pretty;
  521. -webkit-box-orient: vertical;
  522. -webkit-line-clamp: 3;
  523. }
  524. .roundGoalSummary > small {
  525. color: var(--text-subtle);
  526. font-size: var(--type-caption);
  527. line-height: 1.45;
  528. }
  529. .roundSummaryFacts { display: grid; gap: .9375rem; }
  530. .roundSummaryBlock {
  531. display: grid;
  532. grid-template-columns: 5.75rem minmax(0, 1fr);
  533. gap: var(--space-3);
  534. align-items: start;
  535. }
  536. .roundSummaryBlock > div { min-width: 0; display: grid; gap: .25rem; }
  537. .roundSummaryBlock p,
  538. .roundSummaryBlock small {
  539. margin: 0;
  540. overflow-wrap: anywhere;
  541. text-wrap: pretty;
  542. }
  543. .roundSummaryBlock p {
  544. color: var(--text-secondary);
  545. font-size: var(--type-ui);
  546. font-weight: var(--weight-medium);
  547. line-height: 1.55;
  548. }
  549. .roundSummaryBlock small {
  550. display: -webkit-box;
  551. overflow: hidden;
  552. color: var(--text-subtle);
  553. font-size: var(--type-caption);
  554. line-height: 1.5;
  555. -webkit-box-orient: vertical;
  556. -webkit-line-clamp: 2;
  557. }
  558. .summaryTone-decision p:first-child { color: var(--accent-hover); }
  559. .summaryTone-success p { color: var(--success); }
  560. .summaryTone-warning p { color: var(--warning); }
  561. .candidateCard { width: 22.5rem; min-height: 13rem; border-color: rgba(123, 184, 255, .38); }
  562. .runResultCard {
  563. width: 22.5rem;
  564. min-height: 23rem;
  565. border-color: rgba(99, 200, 131, .52);
  566. background: #1d2422;
  567. }
  568. .runResultCard:hover { border-color: rgba(99, 200, 131, .72); background: #202824; }
  569. .runResultCard .finalLabel { color: var(--success); }
  570. .finalOutcome {
  571. display: flex;
  572. align-items: flex-start;
  573. gap: var(--space-3);
  574. }
  575. .finalOutcome > span {
  576. width: 2rem;
  577. height: 2rem;
  578. flex: 0 0 auto;
  579. display: inline-flex;
  580. align-items: center;
  581. justify-content: center;
  582. border-radius: 50%;
  583. background: rgba(99, 200, 131, .12);
  584. color: var(--success);
  585. }
  586. .finalOutcome > div { min-width: 0; display: grid; gap: var(--space-1); }
  587. .finalOutcome b { color: var(--text-primary); font-size: var(--type-body); font-weight: var(--weight-semibold); }
  588. .finalOutcome p,
  589. .finalSummaryPreview p { margin: 0; color: var(--text-secondary); font-size: var(--type-ui); line-height: 1.58; text-wrap: pretty; }
  590. .finalOutcome p { color: #b8c4bf; font-size: var(--type-label); }
  591. .finalSummaryPreview {
  592. display: grid;
  593. gap: var(--space-2);
  594. padding-block: var(--space-3);
  595. border-top: 1px solid rgba(99, 200, 131, .15);
  596. border-bottom: 1px solid rgba(99, 200, 131, .15);
  597. }
  598. .finalSummaryPreview > b { color: #a9d8b7; font-size: var(--type-caption); font-weight: var(--weight-semibold); }
  599. .finalSummaryPreview p {
  600. display: -webkit-box;
  601. overflow: hidden;
  602. -webkit-box-orient: vertical;
  603. -webkit-line-clamp: 3;
  604. }
  605. .finalRunFacts { display: flex; align-items: center; gap: var(--space-4); color: #aebbb6; font-size: var(--type-caption); }
  606. .finalRunFacts b { color: var(--text-primary); font-weight: var(--weight-semibold); }
  607. .artifactStats,
  608. .metricGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
  609. .artifactStats span,
  610. .metricGrid span {
  611. padding: var(--space-3) var(--space-2);
  612. border: 1px solid var(--border-subtle);
  613. border-radius: var(--radius-sm);
  614. background: var(--surface-subtle);
  615. color: var(--text-muted);
  616. font-size: var(--type-caption);
  617. text-align: center;
  618. }
  619. .runResultCard .artifactStats span {
  620. border-color: rgba(99, 200, 131, .18);
  621. background: rgba(99, 200, 131, .055);
  622. color: #aebbb6;
  623. }
  624. .runResultCard .artifactStats b { color: var(--success); }
  625. .artifactStats b,
  626. .metricGrid b {
  627. display: block;
  628. margin-bottom: var(--space-1);
  629. color: var(--text-primary);
  630. font-size: var(--type-title);
  631. font-weight: var(--weight-semibold);
  632. }
  633. .sourceBadge,
  634. .statusBadge {
  635. width: max-content;
  636. justify-self: start;
  637. display: inline-flex;
  638. align-items: center;
  639. min-height: 1.5rem;
  640. padding: .125rem .5rem;
  641. border: 1px solid var(--border);
  642. border-radius: 999px;
  643. background: rgba(255, 255, 255, .025);
  644. color: var(--text-secondary);
  645. font-size: var(--type-caption);
  646. font-weight: var(--weight-semibold);
  647. line-height: 1.25;
  648. white-space: nowrap;
  649. }
  650. .source-runtime-associated,
  651. .source-process-incomplete,
  652. .source-record-missing,
  653. .source-legacy-record { align-self: flex-start; color: var(--warning); }
  654. .status-merged,
  655. .status-success,
  656. .status-completed,
  657. .status-passed,
  658. .status-done { color: var(--success); }
  659. .status-parked,
  660. .status-partial,
  661. .status-partially-passed,
  662. .status-open,
  663. .status-not-evaluated,
  664. .status-unknown { color: var(--warning); }
  665. .status-discarded,
  666. .status-failed,
  667. .status-needs-retry,
  668. .status-cancel,
  669. .status-cancle,
  670. .status-cancelled { color: var(--danger); }
  671. .status-running { color: var(--accent); }
  672. .status-interrupted { color: var(--warning); }
  673. .status-legacy { color: var(--warning); border-color: rgba(244, 193, 82, .42); }
  674. /* Round group */
  675. .roundFrame {
  676. width: 100%;
  677. height: 100%;
  678. position: relative;
  679. overflow: hidden;
  680. border: 1px solid var(--border);
  681. border-radius: var(--radius-lg);
  682. background: rgba(25, 27, 32, .55);
  683. }
  684. .roundFrame > header {
  685. height: 5rem;
  686. display: flex;
  687. align-items: center;
  688. gap: var(--space-4);
  689. padding: var(--space-3) var(--space-4);
  690. border-bottom: 1px solid var(--border-subtle);
  691. background: var(--surface);
  692. }
  693. .roundFrame > header > div { min-width: 0; display: grid; gap: var(--space-1); }
  694. .roundFrame > header strong { font-size: var(--type-body); font-weight: var(--weight-semibold); }
  695. .roundFrame > header div span {
  696. max-width: 44rem;
  697. color: var(--text-muted);
  698. font-size: var(--type-label);
  699. white-space: nowrap;
  700. overflow: hidden;
  701. text-overflow: ellipsis;
  702. }
  703. .roundCollapse {
  704. min-height: 2.75rem;
  705. display: inline-flex;
  706. align-items: center;
  707. gap: .375rem;
  708. padding: 0 var(--space-3);
  709. border: 1px solid var(--border);
  710. border-radius: var(--radius-sm);
  711. background: var(--surface-control);
  712. color: var(--text-secondary);
  713. font-size: var(--type-label);
  714. font-weight: var(--weight-semibold);
  715. }
  716. .roundCollapse:hover { border-color: var(--border-strong); color: var(--text-primary); }
  717. .branchCount {
  718. display: inline-flex;
  719. align-items: center;
  720. gap: .375rem;
  721. margin-left: auto;
  722. color: var(--text-muted);
  723. font-size: var(--type-label);
  724. white-space: nowrap;
  725. }
  726. /* Agent ownership and convergence regions */
  727. .agentRegion {
  728. width: 100%;
  729. height: 100%;
  730. position: relative;
  731. overflow: hidden;
  732. border: 1px solid var(--border-subtle);
  733. border-radius: var(--radius-md);
  734. background: rgba(20, 22, 26, .34);
  735. pointer-events: none;
  736. }
  737. .agentRegion > header {
  738. min-height: 3.375rem;
  739. display: flex;
  740. align-items: baseline;
  741. gap: var(--space-3);
  742. padding: var(--space-3) var(--space-4);
  743. border-bottom: 1px solid currentColor;
  744. color: var(--text-muted);
  745. }
  746. .agentRegion > header strong {
  747. color: currentColor;
  748. font-size: var(--type-ui);
  749. font-weight: var(--weight-semibold);
  750. white-space: nowrap;
  751. }
  752. .agentRegion > header span {
  753. min-width: 0;
  754. color: var(--text-subtle);
  755. font-size: var(--type-caption);
  756. line-height: 1.4;
  757. white-space: nowrap;
  758. overflow: hidden;
  759. text-overflow: ellipsis;
  760. }
  761. .region-main { border-color: rgba(255, 109, 90, .22); background: rgba(255, 109, 90, .025); }
  762. .region-main > header { color: #d9897e; border-bottom-color: rgba(255, 109, 90, .16); }
  763. .region-implementer { border-color: rgba(123, 184, 255, .24); background: rgba(123, 184, 255, .025); }
  764. .region-implementer > header { color: #82b5e9; border-bottom-color: rgba(123, 184, 255, .17); }
  765. .region-evaluator { border-color: rgba(183, 160, 235, .24); background: rgba(183, 160, 235, .025); }
  766. .region-evaluator > header { color: #ab99d5; border-bottom-color: rgba(183, 160, 235, .17); }
  767. .region-outcome { border-color: rgba(99, 200, 131, .24); background: rgba(99, 200, 131, .025); }
  768. .region-outcome > header { color: #71bc88; border-bottom-color: rgba(99, 200, 131, .17); }
  769. .branchFrame {
  770. width: 100%;
  771. height: 100%;
  772. position: relative;
  773. overflow: hidden;
  774. border: 1px solid rgba(123, 184, 255, .38);
  775. border-radius: var(--radius-md);
  776. background: rgba(29, 35, 43, .78);
  777. box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
  778. }
  779. .branchFrame > header {
  780. min-height: 4.125rem;
  781. display: flex;
  782. align-items: center;
  783. gap: var(--space-3);
  784. padding: var(--space-2) var(--space-3);
  785. border-bottom: 1px dashed rgba(123, 184, 255, .26);
  786. background: rgba(123, 184, 255, .035);
  787. }
  788. .branchFrameTitle { display: flex; align-items: center; gap: var(--space-3); }
  789. .branchFrameTitle span {
  790. display: inline-flex;
  791. align-items: center;
  792. gap: .375rem;
  793. color: var(--info);
  794. font-size: var(--type-caption);
  795. font-weight: var(--weight-semibold);
  796. }
  797. .branchFrameTitle strong { font-size: var(--type-ui); font-weight: var(--weight-semibold); }
  798. .branchFrameActions { display: flex; gap: var(--space-2); margin-left: auto; }
  799. .branchFrame .nodeAction { min-height: 2.5rem; }
  800. /* Retrieval is a real nested stage: direct tools and delegated agents share one level. */
  801. .retrievalStageFrame {
  802. width: 100%;
  803. height: 100%;
  804. position: relative;
  805. overflow: hidden;
  806. border: 1px dashed rgba(230, 168, 111, .45);
  807. border-radius: var(--radius-md);
  808. background: rgba(230, 168, 111, .035);
  809. box-shadow: inset 0 1px 0 rgba(255, 255, 255, .02);
  810. }
  811. .retrievalStageFrame > header {
  812. min-height: 4.5rem;
  813. display: flex;
  814. align-items: center;
  815. justify-content: space-between;
  816. gap: var(--space-3);
  817. padding: var(--space-3) var(--space-4);
  818. border-bottom: 1px dashed rgba(230, 168, 111, .28);
  819. background: rgba(230, 168, 111, .035);
  820. }
  821. .retrievalStageFrame > header > div { display: flex; align-items: center; gap: var(--space-2); }
  822. .retrievalStageFrame > header > .retrievalStageActions { flex: none; }
  823. .retrievalStageIcon {
  824. width: 1.75rem;
  825. height: 1.75rem;
  826. display: inline-flex;
  827. align-items: center;
  828. justify-content: center;
  829. border-radius: 50%;
  830. background: rgba(230, 168, 111, .12);
  831. color: var(--retrieval);
  832. }
  833. .retrievalStageFrame > header strong { color: var(--retrieval); font-size: var(--type-ui); font-weight: var(--weight-semibold); }
  834. .retrievalStageFrame > header em {
  835. padding: .125rem .5rem;
  836. border: 1px solid rgba(230, 168, 111, .28);
  837. border-radius: 999px;
  838. color: var(--text-muted);
  839. font-size: var(--type-caption);
  840. font-style: normal;
  841. white-space: nowrap;
  842. }
  843. .frameDetail {
  844. min-height: 2.75rem;
  845. display: inline-flex;
  846. align-items: center;
  847. gap: .375rem;
  848. padding: 0 var(--space-3);
  849. border: 1px solid var(--border);
  850. border-radius: var(--radius-sm);
  851. background: var(--canvas);
  852. color: var(--text-secondary);
  853. font-size: var(--type-caption);
  854. font-weight: var(--weight-semibold);
  855. }
  856. .retrievalEmpty {
  857. height: calc(100% - 4.5rem);
  858. display: flex;
  859. align-items: center;
  860. justify-content: center;
  861. gap: var(--space-2);
  862. color: var(--text-muted);
  863. font-size: var(--type-label);
  864. }
  865. .retrievalCard {
  866. width: 21.25rem;
  867. min-height: 14rem;
  868. border-color: rgba(230, 168, 111, .34);
  869. background: rgba(31, 30, 30, .97);
  870. }
  871. .retrievalCard > header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
  872. .retrievalCard h3 { font-size: var(--type-body); }
  873. .retrievalKind {
  874. display: inline-flex;
  875. align-items: center;
  876. gap: .375rem;
  877. color: var(--retrieval);
  878. font-size: var(--type-label);
  879. font-weight: var(--weight-semibold);
  880. }
  881. .retrievalOwner,
  882. .agentRunStatus { color: var(--text-subtle); font-size: var(--type-caption); white-space: nowrap; }
  883. .run-completed { color: var(--success); }
  884. .run-failed { color: var(--danger); }
  885. .run-running { color: var(--accent); }
  886. .retrievalStats { display: grid; gap: var(--space-2); margin: 0; }
  887. .retrievalStats > div { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: var(--space-3); }
  888. .retrievalStats dt,
  889. .agentTask b,
  890. .agentQuerySummary b,
  891. .agentScreening b { color: var(--text-muted); font-size: var(--type-caption); font-weight: var(--weight-semibold); }
  892. .retrievalStats dd { margin: 0; color: var(--text-secondary); font-size: var(--type-ui); }
  893. .retrievalAgentCard { min-height: 18.25rem; }
  894. .agentTask,
  895. .agentQuerySummary,
  896. .agentScreening { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: var(--space-3); align-items: start; }
  897. .agentTask p,
  898. .agentQuerySummary p,
  899. .agentScreening p {
  900. display: -webkit-box;
  901. margin: 0;
  902. overflow: hidden;
  903. color: var(--text-secondary);
  904. font-size: var(--type-label);
  905. line-height: 1.55;
  906. overflow-wrap: anywhere;
  907. -webkit-box-orient: vertical;
  908. -webkit-line-clamp: 2;
  909. }
  910. .query-hit { color: var(--success); }
  911. .query-empty { color: var(--text-muted); }
  912. .query-failure { color: var(--danger); }
  913. .query-unknown { color: var(--warning); }
  914. .query-interrupted { color: var(--warning); }
  915. .retrievalAgentCard > footer { display: flex; gap: var(--space-2); margin-top: auto; flex-wrap: wrap; }
  916. .queryAttemptList { display: grid; gap: .25rem; margin: var(--space-1) 0 0; padding: var(--space-2) 0 0; border-top: 1px solid var(--border-subtle); list-style: none; }
  917. .queryAttemptList button {
  918. width: 100%;
  919. min-height: 2.75rem;
  920. display: grid;
  921. grid-template-columns: 1.8rem minmax(0, 1fr) auto;
  922. align-items: center;
  923. gap: var(--space-2);
  924. padding: .25rem .375rem;
  925. border: 0;
  926. border-radius: .375rem;
  927. background: transparent;
  928. text-align: left;
  929. }
  930. .queryAttemptList button:hover { background: rgba(255, 255, 255, .035); }
  931. .queryIndex { color: var(--text-subtle); font-size: var(--type-caption); font-variant-numeric: tabular-nums; }
  932. .queryText { overflow: hidden; color: var(--text-secondary); font-size: var(--type-caption); text-overflow: ellipsis; white-space: nowrap; }
  933. .queryStatus { font-size: var(--type-caption); font-weight: var(--weight-semibold); white-space: nowrap; }
  934. .queryStatus.query-hit { color: var(--success); }
  935. .queryStatus.query-empty,
  936. .queryStatus.query-unknown { color: var(--text-muted); }
  937. .queryStatus.query-failure { color: var(--danger); }
  938. .queryStatus.query-running { color: var(--accent); }
  939. .queryStatus.query-interrupted { color: var(--warning); }
  940. .retrievalHoverPreview {
  941. position: fixed;
  942. z-index: var(--z-popover);
  943. width: min(23.75rem, calc(100vw - 1.5rem));
  944. max-height: min(31rem, calc(100vh - 1.5rem));
  945. overflow: auto;
  946. display: grid;
  947. gap: var(--space-4);
  948. padding: var(--space-4);
  949. border: 1px solid var(--border-strong);
  950. border-radius: var(--radius-md);
  951. background: #202228;
  952. box-shadow: var(--shadow-md);
  953. color: var(--text-secondary);
  954. animation: retrievalPreviewIn 160ms var(--ease-out);
  955. }
  956. .retrievalPreviewHeader { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-3); }
  957. .retrievalPreviewHeader > div { min-width: 0; }
  958. .retrievalPreviewHeader small { display: block; color: var(--text-muted); font-size: var(--type-caption); }
  959. .retrievalPreviewHeader h3 { margin: .1rem 0 0; color: var(--text-primary); font-size: var(--type-body); line-height: 1.4; text-wrap: balance; }
  960. .retrievalPreviewHeader strong { align-self: start; padding: .2rem .5rem; border-radius: 999px; background: rgba(99, 200, 131, .1); color: #91dca8; font-size: var(--type-caption); white-space: nowrap; }
  961. .retrievalPreviewIcon { width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border-radius: .45rem; }
  962. .retrievalPreviewIcon.is-agent { background: rgba(230, 168, 111, .12); color: var(--retrieval); }
  963. .retrievalPreviewIcon.is-tool { background: rgba(123, 184, 255, .11); color: #afd2ff; }
  964. .retrievalHoverPreview section { display: grid; gap: var(--space-2); }
  965. .retrievalHoverPreview section + section { padding-top: var(--space-3); border-top: 1px solid var(--border-subtle); }
  966. .retrievalHoverPreview h4 { margin: 0; color: var(--text-primary); font-size: var(--type-label); font-weight: var(--weight-semibold); }
  967. .retrievalPreviewSummary,
  968. .retrievalPreviewText,
  969. .retrievalPreviewError { margin: 0; font-size: var(--type-ui); line-height: 1.65; overflow-wrap: anywhere; text-wrap: pretty; }
  970. .retrievalPreviewText { color: var(--text-secondary); }
  971. .retrievalPreviewError { color: #ffb0a2; }
  972. .retrievalHoverPreview ul { display: grid; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
  973. .retrievalHoverPreview li { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-3); align-items: baseline; padding: .45rem .55rem; border-radius: .4rem; background: rgba(255, 255, 255, .035); }
  974. .retrievalHoverPreview li span { min-width: 0; color: var(--text-secondary); font-size: var(--type-label); line-height: 1.5; overflow-wrap: anywhere; }
  975. .retrievalHoverPreview li em { color: var(--success); font-size: var(--type-caption); font-style: normal; white-space: nowrap; }
  976. .retrievalHoverPreview li small { grid-column: 1 / -1; color: var(--text-muted); font-size: var(--type-caption); line-height: 1.55; }
  977. .retrievalPreviewCalls { display: grid; gap: var(--space-3); }
  978. .retrievalPreviewLoading { min-height: 5rem; display: flex; align-items: center; justify-content: center; gap: var(--space-2); color: var(--text-muted); font-size: var(--type-ui); }
  979. .retrievalPreviewLoading svg { animation: retrievalPreviewSpin 900ms linear infinite; }
  980. .retrievalPreviewMore { color: var(--text-muted); font-size: var(--type-caption); }
  981. .retrievalPreviewAction { min-height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: 0 var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-control); color: var(--text-primary); font-size: var(--type-label); font-weight: var(--weight-semibold); }
  982. .retrievalPreviewAction:hover { border-color: var(--info); background: rgba(123, 184, 255, .1); }
  983. .retrievalPreviewAction:focus-visible { outline: 2px solid var(--info); outline-offset: 2px; }
  984. @keyframes retrievalPreviewIn { from { opacity: 0; transform: translateY(.35rem); } to { opacity: 1; transform: translateY(0); } }
  985. @keyframes retrievalPreviewSpin { to { transform: rotate(360deg); } }
  986. /* Semantic zoom: reduce content density instead of shrinking unreadable prose. */
  987. .detail-compact .flowCard {
  988. min-height: 8.75rem;
  989. gap: var(--space-2);
  990. padding: .875rem;
  991. }
  992. .detail-compact .flowCard h3 { font-size: var(--type-body); }
  993. .detail-compact .cardFields > div:nth-child(n + 2),
  994. .detail-compact .candidateSummary > div:nth-child(n + 2) { display: none; }
  995. .detail-compact .cardFields > div,
  996. .detail-compact .candidateSummary > div { grid-template-columns: 3.5rem minmax(0, 1fr); }
  997. .detail-compact .cardFields .cardField:first-child p { -webkit-line-clamp: 2; }
  998. .detail-compact .roundGoalSummary > small,
  999. .detail-compact .roundSummaryBlock small { display: none; }
  1000. .detail-compact .finalSummaryPreview,
  1001. .detail-compact .sourceBadge,
  1002. .detail-compact .agentTask,
  1003. .detail-compact .agentScreening { display: none; }
  1004. .detail-compact .nodeAction {
  1005. min-height: 2.25rem;
  1006. padding-inline: .625rem;
  1007. }
  1008. .detail-compact .retrievalAgentCard { min-height: 13.75rem; }
  1009. .detail-compact .queryAttemptList button { min-height: 2.25rem; }
  1010. .detail-overview .cardFields,
  1011. .detail-overview .roundSummaryContent,
  1012. .detail-overview .candidateSummary,
  1013. .detail-overview .finalSummaryPreview,
  1014. .detail-overview .artifactStats,
  1015. .detail-overview .finalRunFacts,
  1016. .detail-overview .sourceBadge { display: none; }
  1017. .detail-overview .flowCard {
  1018. min-height: 6.5rem;
  1019. justify-content: center;
  1020. gap: var(--space-2);
  1021. padding: var(--space-3);
  1022. }
  1023. .detail-overview .roundSummaryCard,
  1024. .detail-overview .candidateCard,
  1025. .detail-overview .runResultCard { min-height: 8.5rem; }
  1026. .detail-overview .finalOutcome p { display: none; }
  1027. .detail-overview .finalOutcome > span { width: 1.75rem; height: 1.75rem; }
  1028. .detail-overview .retrievalCard { min-height: 7.5rem; }
  1029. .detail-overview .retrievalCard .agentTask,
  1030. .detail-overview .retrievalCard .agentQuerySummary,
  1031. .detail-overview .retrievalCard .agentScreening,
  1032. .detail-overview .retrievalCard .retrievalStats { display: none; }
  1033. .detail-overview .queryAttemptList,
  1034. .detail-overview .flowCard > footer,
  1035. .detail-overview .flowCard > .cardFooter { display: none; }
  1036. .detail-overview .roundFrame > header div span,
  1037. .detail-overview .branchCount { display: none; }
  1038. .detail-compact .agentRegion > header span,
  1039. .detail-overview .agentRegion > header span { display: none; }
  1040. .detail-overview .agentRegion > header { padding-inline: var(--space-3); }
  1041. .cardFields .cardField p,
  1042. .candidateSummary p {
  1043. display: -webkit-box;
  1044. overflow: hidden;
  1045. -webkit-box-orient: vertical;
  1046. text-overflow: ellipsis;
  1047. -webkit-line-clamp: 2;
  1048. }
  1049. .cardFields .cardField:first-child p { -webkit-line-clamp: 4; }
  1050. .cardFields .tone-warning p { color: var(--warning); }
  1051. .cardFields .tone-success p { color: var(--success); }
  1052. .cardFields .tone-failure p { color: var(--danger); }
  1053. /* Inspector and long-form reading */
  1054. .inspector {
  1055. min-width: 0;
  1056. min-height: 0;
  1057. height: 100%;
  1058. max-height: 100%;
  1059. display: grid;
  1060. grid-template-rows: auto auto minmax(0, 1fr);
  1061. border-left: 1px solid var(--border);
  1062. background: var(--surface-subtle);
  1063. box-shadow: -14px 0 35px rgba(0, 0, 0, .22);
  1064. z-index: var(--z-drawer);
  1065. }
  1066. .inspectorHeader {
  1067. min-height: 5.5rem;
  1068. display: flex;
  1069. align-items: center;
  1070. justify-content: space-between;
  1071. gap: var(--space-4);
  1072. padding: var(--space-4) var(--space-5);
  1073. border-bottom: 1px solid var(--border-subtle);
  1074. }
  1075. .inspectorHeader > div { min-width: 0; flex: 1; }
  1076. .inspectorHeader > .inspectorHeaderActions { flex: none; display: flex; align-items: center; justify-content: flex-end; gap: var(--space-2); }
  1077. .inspectorHeader > .iconButton { flex: none; }
  1078. .inspectorBack { color: var(--text-secondary); }
  1079. .inspectorHeader span {
  1080. color: var(--accent);
  1081. font-size: var(--type-caption);
  1082. font-weight: var(--weight-semibold);
  1083. }
  1084. .inspectorHeader h2 {
  1085. max-width: 22rem;
  1086. margin: var(--space-1) 0 0;
  1087. font-size: var(--inspector-title-size);
  1088. font-weight: var(--weight-semibold);
  1089. line-height: 1.35;
  1090. letter-spacing: -.015em;
  1091. text-wrap: balance;
  1092. }
  1093. .inspectorTabs {
  1094. display: grid;
  1095. grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
  1096. border-bottom: 1px solid var(--border-subtle);
  1097. }
  1098. .changeExactness {
  1099. margin: 0;
  1100. padding: var(--space-3) var(--space-4);
  1101. border: 1px solid var(--border-subtle);
  1102. border-radius: var(--radius-sm);
  1103. color: var(--text-muted);
  1104. font-size: var(--type-caption);
  1105. line-height: 1.55;
  1106. }
  1107. .inspectorTabs button {
  1108. min-height: 3rem;
  1109. padding: 0 var(--space-2);
  1110. border: 0;
  1111. border-bottom: 2px solid transparent;
  1112. background: transparent;
  1113. color: var(--text-muted);
  1114. font-size: var(--type-ui);
  1115. font-weight: var(--weight-medium);
  1116. }
  1117. .inspectorTabs button:hover { color: var(--text-secondary); background: rgba(255, 255, 255, .025); }
  1118. .inspectorTabs button.active { border-bottom-color: var(--accent); color: var(--text-primary); font-weight: var(--weight-semibold); }
  1119. .inspectorBody {
  1120. min-height: 0;
  1121. display: grid;
  1122. align-content: start;
  1123. gap: var(--space-5);
  1124. padding: var(--space-5);
  1125. overflow-x: hidden;
  1126. overflow-y: auto;
  1127. overscroll-behavior: contain;
  1128. scrollbar-gutter: stable;
  1129. touch-action: pan-y;
  1130. }
  1131. .inspectorBadgeRow { display: flex; gap: var(--space-2); flex-wrap: wrap; }
  1132. .decisionMetaRow {
  1133. display: flex;
  1134. align-items: center;
  1135. gap: var(--space-2);
  1136. flex-wrap: wrap;
  1137. }
  1138. .decisionMetaRow span,
  1139. .decisionMetaRow strong {
  1140. display: inline-flex;
  1141. min-height: 1.75rem;
  1142. align-items: center;
  1143. padding: .125rem .625rem;
  1144. border: 1px solid var(--border);
  1145. border-radius: 999px;
  1146. color: var(--text-secondary);
  1147. background: var(--surface);
  1148. font-size: var(--type-caption);
  1149. font-weight: var(--weight-semibold);
  1150. }
  1151. .decisionMetaRow strong { color: var(--accent-hover); border-color: rgba(255, 109, 90, .38); }
  1152. .decisionDetailBlocks { display: grid; gap: var(--space-5); }
  1153. .decisionDetailBlocks .inspectorPanel { margin: 0; }
  1154. .decisionSummaryPanel[data-presentation="document"] {
  1155. gap: var(--space-4);
  1156. padding: 0 0 var(--space-5);
  1157. border: 0;
  1158. border-bottom: 1px solid var(--border-subtle);
  1159. border-radius: 0;
  1160. background: transparent;
  1161. }
  1162. .decisionSummaryPanel[data-presentation="document"] > h3 {
  1163. color: var(--accent-hover);
  1164. }
  1165. .decisionSummaryPanel[data-presentation="document"] > .richText {
  1166. max-width: 72ch;
  1167. color: var(--text-secondary);
  1168. font-size: var(--inspector-copy-size);
  1169. line-height: 1.75;
  1170. }
  1171. .decisionSummaryPanel[data-presentation="document"] .richText h2 {
  1172. margin: var(--space-6) 0 var(--space-3);
  1173. padding-bottom: var(--space-2);
  1174. border-bottom: 1px solid var(--border-subtle);
  1175. color: var(--text-primary);
  1176. font-size: var(--inspector-section-title-size);
  1177. line-height: 1.4;
  1178. }
  1179. .decisionSummaryPanel[data-presentation="document"] .richText h2:first-child { margin-top: 0; }
  1180. .decisionSummaryPanel[data-presentation="document"] .richText h3 {
  1181. margin: var(--space-5) 0 var(--space-3);
  1182. color: var(--accent-hover);
  1183. font-size: var(--type-body);
  1184. line-height: 1.45;
  1185. }
  1186. .decisionSummaryPanel[data-presentation="document"] .richText > ul {
  1187. margin: 0;
  1188. padding-left: 1.25rem;
  1189. }
  1190. .decisionSummaryPanel[data-presentation="document"] .richText ul ul {
  1191. margin-top: var(--space-2);
  1192. padding-left: 1.1rem;
  1193. }
  1194. .decisionItemsPanel[data-presentation="labelled-list"] .inspectorDetailItem {
  1195. grid-template-columns: minmax(5.75rem, 7rem) minmax(0, 1fr);
  1196. gap: var(--space-4);
  1197. }
  1198. .decisionItemsPanel[data-presentation="labelled-list"] .inspectorDetailItem dt {
  1199. min-width: 0;
  1200. padding: 0;
  1201. border: 0;
  1202. border-radius: 0;
  1203. color: var(--accent-hover);
  1204. font-size: var(--inspector-field-label-size);
  1205. text-align: left;
  1206. }
  1207. .decisionItemsPanel[data-presentation="labelled-list"] .inspectorDetailItem .richText {
  1208. color: var(--text-primary);
  1209. line-height: 1.75;
  1210. }
  1211. .implementationPlanPanel {
  1212. gap: var(--space-4);
  1213. padding: 0 0 var(--space-5);
  1214. border: 0;
  1215. border-bottom: 1px solid var(--border-subtle);
  1216. border-radius: 0;
  1217. background: transparent;
  1218. }
  1219. .implementationPlanHeader,
  1220. .implementationRouteHeader {
  1221. display: flex;
  1222. align-items: center;
  1223. justify-content: space-between;
  1224. gap: var(--space-3);
  1225. }
  1226. .implementationPlanHeader > div { min-width: 0; display: grid; gap: .25rem; }
  1227. .implementationPlanHeader h3 { color: var(--accent-hover); }
  1228. .implementationPlanHeader p { margin: 0; color: var(--text-muted); font-size: var(--type-caption); }
  1229. .implementationPlanHeader > span {
  1230. flex: none;
  1231. padding: .25rem .625rem;
  1232. color: var(--accent-hover);
  1233. border: 1px solid rgba(255, 109, 90, .38);
  1234. border-radius: 999px;
  1235. background: rgba(255, 109, 90, .08);
  1236. font-size: var(--type-caption);
  1237. font-weight: var(--weight-semibold);
  1238. }
  1239. .implementationRoutes { display: grid; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
  1240. .implementationRoutes > li {
  1241. min-width: 0;
  1242. padding: var(--space-4);
  1243. border: 1px solid var(--border);
  1244. border-radius: var(--radius-md);
  1245. background: var(--surface);
  1246. }
  1247. .implementationRouteHeader { padding-bottom: var(--space-3); border-bottom: 1px solid var(--border-subtle); }
  1248. .implementationRouteHeader > strong { color: var(--text-primary); font-size: var(--type-body); }
  1249. .implementationRouteTags { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--space-2); }
  1250. .implementationRouteTags b {
  1251. padding: .1875rem .5rem;
  1252. color: var(--text-secondary);
  1253. border: 1px solid var(--border);
  1254. border-radius: 999px;
  1255. background: var(--surface-control);
  1256. font-size: var(--type-caption);
  1257. font-weight: var(--weight-semibold);
  1258. }
  1259. .implementationRouteBody {
  1260. min-width: 0;
  1261. display: grid;
  1262. grid-template-columns: repeat(2, minmax(0, 1fr));
  1263. gap: var(--space-4);
  1264. padding-top: var(--space-4);
  1265. }
  1266. .implementationPlanField { min-width: 0; display: grid; align-content: start; gap: var(--space-2); }
  1267. .implementationPlanField.is-wide { grid-column: 1 / -1; }
  1268. .implementationPlanField > small { color: var(--text-muted); font-size: var(--inspector-field-label-size); font-weight: var(--weight-semibold); }
  1269. .implementationPlanField .richText { color: var(--text-primary); font-size: var(--type-body); line-height: 1.7; overflow-wrap: break-word; word-break: normal; }
  1270. .implementationReasoning { display: grid; gap: var(--space-2); padding-top: var(--space-4); border-top: 1px solid rgba(255, 109, 90, .2); }
  1271. .implementationReasoning h4 { margin: 0; color: var(--text-muted); font-size: var(--inspector-field-label-size); }
  1272. .implementationReasoning .richText { color: var(--text-primary); line-height: 1.75; }
  1273. .creativeProcessPanel,
  1274. .evaluationBranchesPanel,
  1275. .evaluationMatrixPanel { gap: var(--space-4); }
  1276. .creativeProcessHeader { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3); }
  1277. .creativeProcessHeader h3,
  1278. .evaluationBranchesPanel > h3,
  1279. .evaluationMatrixPanel > h3 { margin: 0; color: var(--info); font-size: var(--inspector-section-title-size); }
  1280. .creativeProcessHeader p { margin: var(--space-1) 0 0; color: var(--text-muted); font-size: var(--type-caption); }
  1281. .creativeProcessSteps { margin: 0; padding: 0; list-style: none; }
  1282. .creativeProcessSteps > li { display: grid; gap: var(--space-3); padding: var(--space-4) 0; border-top: 1px solid var(--border-subtle); }
  1283. .creativeProcessSteps > li:first-child { padding-top: 0; border-top: 0; }
  1284. .creativeProcessSteps > li > header { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); align-items: baseline; gap: var(--space-3); }
  1285. .creativeProcessSteps > li > header span { color: var(--text-muted); font-size: var(--type-caption); font-weight: var(--weight-semibold); }
  1286. .creativeProcessSteps > li > header strong { color: var(--text-primary); font-size: var(--type-body); line-height: 1.5; }
  1287. .creativeStepSummary { margin: 0 0 0 5.25rem; color: var(--text-secondary); font-size: var(--type-ui); line-height: 1.65; }
  1288. .creativeStepPlan { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: var(--space-3); }
  1289. .creativeStepPlan > small { color: var(--text-muted); font-size: var(--inspector-field-label-size); font-weight: var(--weight-semibold); }
  1290. .creativeStepPlan .decisionReadableText { color: var(--text-primary); font-weight: var(--weight-regular); }
  1291. .creativeStepReasoning { margin-left: 5.25rem; }
  1292. .creativeStepReasoning > summary { width: fit-content; display: inline-flex; align-items: center; gap: var(--space-1); color: var(--text-muted); font-size: var(--type-caption); cursor: pointer; list-style: none; }
  1293. .creativeStepReasoning > summary::-webkit-details-marker { display: none; }
  1294. .creativeStepReasoning > summary svg { transition: transform 180ms var(--ease-out); }
  1295. .creativeStepReasoning[open] > summary svg { transform: rotate(90deg); }
  1296. .creativeStepReasoning > .richText { margin-top: var(--space-3); color: var(--text-secondary); font-size: var(--type-ui); }
  1297. .evaluationBranchList { display: grid; }
  1298. .evaluationBranchList > article { display: grid; gap: var(--space-4); padding: var(--space-5) 0; border-top: 1px solid var(--border-subtle); }
  1299. .evaluationBranchList > article:first-child { padding-top: 0; border-top: 0; }
  1300. .evaluationBranchList > article > header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
  1301. .evaluationBranchList h4 { margin: 0; color: var(--text-primary); font-size: var(--type-title); }
  1302. .evaluationBranchList > article > header span { padding: .25rem .55rem; border: 1px solid var(--border); border-radius: 999px; color: var(--text-secondary); font-size: var(--type-caption); }
  1303. .evaluationList { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: var(--space-3); }
  1304. .evaluationList > strong,
  1305. .evaluationEvidence > strong { font-size: var(--inspector-field-label-size); font-weight: var(--weight-semibold); }
  1306. .evaluationList.is-success > strong { color: var(--success); }
  1307. .evaluationList.is-warning > strong { color: var(--warning); }
  1308. .evaluationList ul { display: grid; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
  1309. .evaluationList li { padding-bottom: var(--space-3); border-bottom: 1px solid var(--border-subtle); }
  1310. .evaluationList li:last-child { padding-bottom: 0; border-bottom: 0; }
  1311. .evaluationList .richText { color: var(--text-primary); font-size: var(--inspector-copy-size); line-height: 1.7; }
  1312. .evaluationEvidence { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--border-subtle); }
  1313. .evaluationEvidence > strong { color: var(--info); }
  1314. .evaluationEvidence .richText { color: var(--text-secondary); font-size: var(--type-ui); }
  1315. .evaluationMatrixScroll { overflow-x: auto; }
  1316. .evaluationMatrixPanel table { width: 100%; min-width: 46rem; border-collapse: collapse; font-size: var(--type-ui); line-height: 1.55; }
  1317. .evaluationMatrixPanel th,
  1318. .evaluationMatrixPanel td { padding: var(--space-3); border: 1px solid var(--border); text-align: left; vertical-align: top; }
  1319. .evaluationMatrixPanel thead th { color: var(--text-primary); background: var(--surface-control); font-weight: var(--weight-semibold); }
  1320. .evaluationMatrixPanel tbody th { width: 10rem; color: var(--info); background: transparent; font-weight: var(--weight-semibold); }
  1321. .evaluationMatrixPanel td { color: var(--text-secondary); }
  1322. .decisionDisclosurePanel {
  1323. padding: 0;
  1324. border: 1px solid var(--border);
  1325. border-radius: var(--radius-md);
  1326. background: rgba(255, 255, 255, .018);
  1327. overflow: hidden;
  1328. }
  1329. .decisionDisclosure > summary {
  1330. min-height: 3.25rem;
  1331. display: flex;
  1332. align-items: center;
  1333. justify-content: space-between;
  1334. gap: var(--space-3);
  1335. padding: var(--space-3) var(--space-4);
  1336. color: var(--text-secondary);
  1337. cursor: pointer;
  1338. list-style: none;
  1339. transition: color 160ms var(--ease-out), background 160ms var(--ease-out);
  1340. }
  1341. .decisionDisclosure > summary::-webkit-details-marker { display: none; }
  1342. .decisionDisclosure > summary:hover { color: var(--text-primary); background: rgba(255, 255, 255, .025); }
  1343. .decisionDisclosure > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
  1344. .decisionDisclosureLabel { min-width: 0; display: inline-flex; align-items: center; gap: var(--space-2); }
  1345. .decisionDisclosureLabel svg { flex: none; color: var(--text-muted); transition: transform 180ms var(--ease-out); }
  1346. .decisionDisclosure[open] .decisionDisclosureLabel svg { transform: rotate(90deg); }
  1347. .decisionDisclosureLabel strong { color: var(--text-primary); font-size: var(--inspector-section-title-size); font-weight: var(--weight-semibold); line-height: 1.4; }
  1348. .decisionDisclosureCount { flex: none; color: var(--text-muted); font-size: var(--type-caption); }
  1349. .decisionDisclosureBody { padding: var(--space-1) var(--space-4) var(--space-4); border-top: 1px solid var(--border-subtle); }
  1350. .decisionDisclosureBody .inspectorDetailItems { padding-top: var(--space-4); }
  1351. .decisionSummaryPanel {
  1352. gap: var(--space-3);
  1353. padding: 0 0 var(--space-5);
  1354. border: 0;
  1355. border-bottom: 1px solid var(--border-subtle);
  1356. border-radius: 0;
  1357. background: transparent;
  1358. }
  1359. .decisionSummaryPanel.is-role-key-result {
  1360. border-color: var(--border-subtle);
  1361. background: transparent;
  1362. }
  1363. .inspectorPanel.is-role-key-result > h3 { color: var(--accent-hover); }
  1364. .inspectorPanel.is-role-section > h3,
  1365. .inspectorPanel.is-role-reason > h3,
  1366. .inspectorPanel.is-role-evidence > h3 { color: var(--info); }
  1367. .decisionItemsPanel.is-role-evidence > h3 {
  1368. color: var(--accent-hover);
  1369. font-size: var(--type-title);
  1370. }
  1371. .inspectorPanel.is-role-notice > h3 { color: var(--warning); }
  1372. .decisionSummaryPanel .decisionReadableText {
  1373. width: 100%;
  1374. min-width: 0;
  1375. max-width: 68ch;
  1376. color: var(--text-primary);
  1377. font-size: var(--inspector-copy-size);
  1378. font-weight: var(--weight-medium);
  1379. line-height: 1.78;
  1380. letter-spacing: 0;
  1381. text-wrap: pretty;
  1382. overflow-wrap: break-word;
  1383. word-break: normal;
  1384. }
  1385. .decisionReadableText > :first-child { margin-top: 0; }
  1386. .decisionReadableText > :last-child { margin-bottom: 0; }
  1387. .decisionReadableText p { margin-block: 0 var(--space-3); }
  1388. .decisionReadableText ol { padding-left: 1.65rem; }
  1389. .decisionReadableText ol > li { padding-left: .25rem; }
  1390. .decisionReadableText ol > li + li { margin-top: var(--space-3); }
  1391. .decisionNotice {
  1392. padding: var(--space-4);
  1393. border: 1px solid var(--border);
  1394. border-radius: var(--radius-sm);
  1395. background: var(--surface);
  1396. }
  1397. .decisionNotice.is-warning { border-color: rgba(244, 193, 82, .38); background: rgba(244, 193, 82, .05); }
  1398. .decisionNotice.is-info { border-color: rgba(123, 184, 255, .32); background: rgba(123, 184, 255, .04); }
  1399. .decisionComparison { display: grid; min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-sm); }
  1400. .comparisonHeader,
  1401. .comparisonRow {
  1402. display: grid;
  1403. grid-template-columns: minmax(6.5rem, .75fr) repeat(2, minmax(7.5rem, 1fr));
  1404. }
  1405. .decisionComparison.hasHandling .comparisonHeader,
  1406. .decisionComparison.hasHandling .comparisonRow { grid-template-columns: minmax(6.5rem, .75fr) repeat(3, minmax(7.5rem, 1fr)); }
  1407. .comparisonHeader { background: var(--surface-control); }
  1408. .comparisonHeader b,
  1409. .comparisonRow > * { padding: var(--space-3); border-right: 1px solid var(--border-subtle); }
  1410. .comparisonHeader b:last-child,
  1411. .comparisonRow > *:last-child { border-right: 0; }
  1412. .comparisonHeader b { color: var(--text-muted); font-size: var(--type-caption); }
  1413. .comparisonRow { border-top: 1px solid var(--border-subtle); background: var(--surface); }
  1414. .comparisonRow strong { color: var(--text-primary); font-size: var(--type-label); }
  1415. .comparisonRow span { color: var(--text-secondary); font-size: var(--type-label); line-height: 1.55; }
  1416. .decisionNestedList { margin-top: var(--space-3); }
  1417. .decisionNestedList > strong { display: block; margin-bottom: var(--space-2); color: var(--text-muted); font-size: var(--type-caption); }
  1418. .decisionNestedList ul { margin: 0; padding-left: 1.15rem; color: var(--text-secondary); }
  1419. .decisionNestedList li + li { margin-top: var(--space-2); }
  1420. .promptDrawer {
  1421. position: fixed;
  1422. top: var(--space-4);
  1423. right: var(--space-4);
  1424. bottom: var(--space-4);
  1425. z-index: var(--z-modal);
  1426. width: min(40rem, calc(100vw - 2rem));
  1427. display: grid;
  1428. grid-template-rows: auto minmax(0, 1fr);
  1429. overflow: hidden;
  1430. border: 1px solid var(--border);
  1431. border-radius: var(--radius-lg);
  1432. background: var(--surface-subtle);
  1433. box-shadow: 0 28px 90px rgba(0, 0, 0, .58);
  1434. }
  1435. .promptDrawer > header {
  1436. min-height: 5rem;
  1437. display: flex;
  1438. align-items: center;
  1439. justify-content: space-between;
  1440. gap: var(--space-4);
  1441. padding: var(--space-4) var(--space-5);
  1442. border-bottom: 1px solid var(--border-subtle);
  1443. }
  1444. .promptDrawer > header span { color: var(--accent); font-size: var(--type-caption); font-weight: var(--weight-semibold); }
  1445. .promptDrawer > header h2 { margin: var(--space-1) 0 0; font-size: var(--type-heading); }
  1446. .promptDrawerBody {
  1447. min-height: 0;
  1448. display: grid;
  1449. align-content: start;
  1450. gap: var(--space-5);
  1451. padding: var(--space-5);
  1452. overflow-y: auto;
  1453. overscroll-behavior: contain;
  1454. scrollbar-gutter: stable;
  1455. }
  1456. .promptAccuracy { padding: var(--space-4); border: 1px solid rgba(244, 193, 82, .38); border-radius: var(--radius-sm); background: rgba(244, 193, 82, .05); }
  1457. .promptMeta { color: var(--warning) !important; font-size: var(--type-label) !important; }
  1458. .inspectorPanel {
  1459. display: grid;
  1460. gap: var(--space-3);
  1461. padding: 0 0 var(--space-5);
  1462. border-bottom: 1px solid var(--border-subtle);
  1463. }
  1464. .inspectorPanel:last-child { border-bottom: 0; }
  1465. .inspectorPanel.is-summary {
  1466. gap: var(--space-2);
  1467. padding: 0 0 var(--space-5);
  1468. border: 0;
  1469. border-bottom: 1px solid var(--border-subtle);
  1470. border-radius: 0;
  1471. background: transparent;
  1472. }
  1473. .inspectorPanel.is-summary h3 { color: var(--accent-hover); }
  1474. .inspectorPanel.is-summary .richText {
  1475. color: var(--text-primary);
  1476. font-size: var(--inspector-copy-size);
  1477. font-weight: var(--weight-semibold);
  1478. line-height: 1.52;
  1479. letter-spacing: -.008em;
  1480. }
  1481. .inspectorPanel.is-report { gap: var(--space-4); }
  1482. .inspectorPanel.is-report > .richText { max-width: 68ch; }
  1483. .inspectorPanel.isMissing {
  1484. padding: var(--space-4);
  1485. border: 1px solid rgba(244, 193, 82, .38);
  1486. border-radius: var(--radius-md);
  1487. background: rgba(244, 193, 82, .055);
  1488. }
  1489. .inspectorPanel h3 {
  1490. margin: 0;
  1491. color: var(--info);
  1492. font-size: var(--inspector-section-title-size);
  1493. font-weight: var(--weight-semibold);
  1494. line-height: 1.45;
  1495. letter-spacing: -.006em;
  1496. }
  1497. .inspectorPanel > p {
  1498. margin: 0;
  1499. color: var(--text-secondary);
  1500. font-size: var(--inspector-copy-size);
  1501. line-height: 1.7;
  1502. white-space: pre-wrap;
  1503. }
  1504. .inspectorDetailItems {
  1505. display: grid;
  1506. gap: var(--space-4);
  1507. margin: 0;
  1508. }
  1509. .inspectorDetailItem {
  1510. display: grid;
  1511. grid-template-columns: minmax(6.5rem, 8rem) minmax(0, 1fr);
  1512. gap: var(--space-3);
  1513. align-items: start;
  1514. }
  1515. .inspectorDetailItem + .inspectorDetailItem {
  1516. padding-top: var(--space-4);
  1517. border-top: 1px solid var(--border-subtle);
  1518. }
  1519. .inspectorDetailItem dt {
  1520. color: var(--text-muted);
  1521. font-size: var(--inspector-field-label-size);
  1522. font-weight: var(--weight-semibold);
  1523. line-height: 1.55;
  1524. }
  1525. .inspectorDetailItem dd {
  1526. min-width: 0;
  1527. display: grid;
  1528. gap: var(--space-2);
  1529. margin: 0;
  1530. }
  1531. .decisionItemsPanel .inspectorDetailItem,
  1532. .decisionDisclosureBody .inspectorDetailItem {
  1533. grid-template-columns: 1fr;
  1534. }
  1535. .decisionItemsPanel .inspectorDetailItem dt,
  1536. .decisionDisclosureBody .inspectorDetailItem dt {
  1537. width: fit-content;
  1538. min-width: 2rem;
  1539. padding: .125rem .5rem;
  1540. border: 1px solid var(--border);
  1541. border-radius: 999px;
  1542. font-size: var(--inspector-field-label-size);
  1543. text-align: center;
  1544. }
  1545. .inspectorDetailItem .richText {
  1546. color: var(--text-secondary);
  1547. font-size: var(--inspector-copy-size);
  1548. line-height: 1.68;
  1549. overflow-wrap: break-word;
  1550. word-break: normal;
  1551. }
  1552. .inspectorDetailItem .decisionReadableText { max-width: 68ch; line-height: 1.75; text-wrap: pretty; }
  1553. .inspectorDetailItem dd > small { color: var(--text-muted); font-size: var(--type-caption); line-height: 1.55; }
  1554. .inspectorDetailItem .richText > :first-child { margin-top: 0; }
  1555. .inspectorDetailItem .richText > :last-child { margin-bottom: 0; }
  1556. .inspectorDetailItem .sourceBadge { justify-self: start; }
  1557. /* Retrieval details: a compact index first, complete records on demand. */
  1558. .retrievalInspector { min-width: 0; display: grid; gap: var(--space-5); }
  1559. .retrievalActivityPanel,
  1560. .retrievalConditionPanel,
  1561. .retrievalResultsPanel { gap: var(--space-4); }
  1562. .retrievalSectionHeader {
  1563. display: flex;
  1564. align-items: baseline;
  1565. justify-content: space-between;
  1566. gap: var(--space-3);
  1567. }
  1568. .retrievalSectionHeader h3 { margin: 0; color: var(--info); font-size: var(--inspector-section-title-size); }
  1569. .retrievalSectionHeader > span { flex: none; color: var(--text-muted); font-size: var(--type-caption); }
  1570. .retrievalActivityList { margin: 0; padding: 0; border-top: 1px solid var(--border-subtle); list-style: none; }
  1571. .retrievalActivityList > li { border-bottom: 1px solid var(--border-subtle); }
  1572. .retrievalActivityList button {
  1573. width: 100%;
  1574. min-height: 4rem;
  1575. display: grid;
  1576. grid-template-columns: 2rem minmax(0, 1fr) auto 1rem;
  1577. align-items: center;
  1578. gap: var(--space-3);
  1579. padding: var(--space-3) 0;
  1580. border: 0;
  1581. border-radius: 0;
  1582. background: transparent;
  1583. color: var(--text-primary);
  1584. text-align: left;
  1585. }
  1586. .retrievalActivityList button:hover:not(:disabled) { background: rgba(255, 255, 255, .025); }
  1587. .retrievalActivityList button:disabled { cursor: default; opacity: .72; }
  1588. .retrievalActivityList button > svg { color: var(--text-subtle); }
  1589. .retrievalActivityIndex { color: var(--text-subtle); font-size: var(--type-caption); font-variant-numeric: tabular-nums; }
  1590. .retrievalActivityCopy { min-width: 0; display: grid; gap: .25rem; }
  1591. .retrievalActivityCopy strong { overflow: hidden; color: var(--text-primary); font-size: var(--type-ui); text-overflow: ellipsis; white-space: nowrap; }
  1592. .retrievalActivityCopy small { overflow: hidden; color: var(--text-muted); font-size: var(--type-caption); line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
  1593. .retrievalActivityStatus { font-size: var(--type-caption); font-weight: var(--weight-semibold); white-space: nowrap; }
  1594. .retrievalActivityStatus.is-hit,
  1595. .retrievalActivityStatus.is-success { color: var(--success); }
  1596. .retrievalActivityStatus.is-empty,
  1597. .retrievalActivityStatus.is-unknown { color: var(--text-muted); }
  1598. .retrievalActivityStatus.is-failure { color: var(--danger); }
  1599. .retrievalActivityStatus.is-running { color: var(--accent); }
  1600. .retrievalActivityStatus.is-interrupted { color: var(--warning); }
  1601. .retrievalMissingNotice,
  1602. .retrievalCompletenessNotice { margin: 0; color: var(--text-muted); font-size: var(--type-ui); line-height: 1.65; }
  1603. .retrievalCompletenessNotice {
  1604. padding: var(--space-3) var(--space-4);
  1605. border: 1px solid rgba(244, 193, 82, .28);
  1606. border-radius: var(--radius-sm);
  1607. background: rgba(244, 193, 82, .045);
  1608. color: var(--warning);
  1609. }
  1610. .retrievalOutcome {
  1611. display: grid;
  1612. gap: var(--space-2);
  1613. padding: var(--space-4);
  1614. border: 1px solid var(--border);
  1615. border-radius: var(--radius-md);
  1616. background: var(--surface);
  1617. }
  1618. .retrievalOutcome > span { color: var(--text-muted); font-size: var(--type-caption); font-weight: var(--weight-semibold); }
  1619. .retrievalOutcome > strong { color: var(--text-primary); font-size: var(--type-body); line-height: 1.55; }
  1620. .retrievalOutcome.is-hit { border-color: rgba(99, 200, 131, .34); }
  1621. .retrievalOutcome.is-empty { border-color: var(--border-strong); }
  1622. .retrievalOutcome.is-failure { border-color: rgba(255, 109, 90, .4); }
  1623. .retrievalOutcome.is-running { border-color: rgba(255, 109, 90, .26); }
  1624. .retrievalOutcome.is-interrupted { border-color: rgba(244, 193, 82, .36); }
  1625. .retrievalOutcome.is-hit > span { color: var(--success); }
  1626. .retrievalOutcome.is-failure > span { color: var(--danger); }
  1627. .retrievalOutcome.is-running > span { color: var(--accent); }
  1628. .retrievalOutcome.is-interrupted > span { color: var(--warning); }
  1629. .retrievalConditions { display: grid; gap: 0; margin: 0; }
  1630. .retrievalConditions > div {
  1631. min-width: 0;
  1632. display: grid;
  1633. grid-template-columns: minmax(6rem, 8rem) minmax(0, 1fr);
  1634. gap: var(--space-3);
  1635. padding: var(--space-3) 0;
  1636. border-top: 1px solid var(--border-subtle);
  1637. }
  1638. .retrievalConditions > div:first-child { padding-top: 0; border-top: 0; }
  1639. .retrievalConditions dt { color: var(--text-muted); font-size: var(--inspector-field-label-size); font-weight: var(--weight-semibold); }
  1640. .retrievalConditions dd { min-width: 0; margin: 0; color: var(--text-primary); font-size: var(--type-ui); line-height: 1.65; overflow-wrap: anywhere; }
  1641. .retrievalResultList { display: grid; gap: var(--space-3); }
  1642. .retrievalResult {
  1643. border: 1px solid var(--border);
  1644. border-radius: var(--radius-md);
  1645. background: var(--surface);
  1646. overflow: hidden;
  1647. }
  1648. .retrievalResult > summary {
  1649. min-height: 4.25rem;
  1650. display: grid;
  1651. grid-template-columns: 1.25rem minmax(0, 1fr);
  1652. align-items: center;
  1653. gap: var(--space-3);
  1654. padding: var(--space-3) var(--space-4);
  1655. cursor: pointer;
  1656. list-style: none;
  1657. }
  1658. .retrievalResult > summary::-webkit-details-marker { display: none; }
  1659. .retrievalResult > summary:hover { background: rgba(255, 255, 255, .025); }
  1660. .retrievalResult > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
  1661. .retrievalResultChevron { grid-row: 1 / span 2; align-self: center; display: inline-flex; color: var(--text-muted); transition: transform 180ms var(--ease-out); }
  1662. .retrievalResult[open] .retrievalResultChevron { transform: rotate(90deg); }
  1663. .retrievalResultHeading { min-width: 0; display: grid; gap: .2rem; }
  1664. .retrievalResultHeading strong { color: var(--text-primary); font-size: var(--type-ui); line-height: 1.45; overflow-wrap: break-word; word-break: normal; text-wrap: pretty; }
  1665. .retrievalResultHeading small { color: var(--text-muted); font-size: var(--type-caption); overflow-wrap: anywhere; }
  1666. .retrievalResultMeta { grid-column: 2; min-width: 0; display: flex; justify-content: flex-start; gap: var(--space-2) var(--space-3); flex-wrap: wrap; }
  1667. .retrievalResultMeta b { color: var(--text-muted); font-size: var(--type-caption); font-weight: var(--weight-medium); line-height: 1.45; overflow-wrap: anywhere; }
  1668. .retrievalResultBody { display: grid; gap: var(--space-4); padding: var(--space-4); border-top: 1px solid var(--border-subtle); }
  1669. .retrievalResultLink { width: fit-content; display: inline-flex; align-items: center; gap: var(--space-1); color: var(--info); font-size: var(--type-ui); }
  1670. .retrievalResultSection { min-width: 0; display: grid; gap: var(--space-2); }
  1671. .retrievalResultSection + .retrievalResultSection { padding-top: var(--space-4); border-top: 1px solid var(--border-subtle); }
  1672. .retrievalResultSection h4 { margin: 0; color: var(--info); font-size: var(--type-ui); }
  1673. .retrievalResultSection .richText { color: var(--text-secondary); font-size: var(--inspector-copy-size); line-height: 1.72; overflow-wrap: anywhere; }
  1674. .retrievalEmptyValue { color: var(--text-muted); font-size: var(--type-ui); }
  1675. /* Card data lineage: one readable spine from input to output and UI projection. */
  1676. .dataFlow {
  1677. min-width: 0;
  1678. display: grid;
  1679. align-content: start;
  1680. gap: 0;
  1681. color: var(--text-secondary);
  1682. }
  1683. .dataFlowOverview {
  1684. min-width: 0;
  1685. display: grid;
  1686. grid-template-columns: 2.25rem minmax(0, 1fr);
  1687. gap: var(--space-3);
  1688. padding: var(--space-4);
  1689. border: 1px solid var(--border);
  1690. border-radius: var(--radius-md);
  1691. background: var(--surface);
  1692. }
  1693. .dataFlowOverviewIcon {
  1694. width: 2.25rem;
  1695. height: 2.25rem;
  1696. display: grid;
  1697. place-items: center;
  1698. border-radius: 50%;
  1699. background: rgba(123, 184, 255, .11);
  1700. color: var(--info);
  1701. }
  1702. .dataFlowOverview > div:nth-child(2) { min-width: 0; }
  1703. .dataFlowOverview > div:nth-child(2) > span { color: var(--text-muted); font-size: var(--type-caption); }
  1704. .dataFlowOverview h3 { margin: .125rem 0 0; color: var(--text-primary); font-size: var(--inspector-section-title-size); font-weight: var(--weight-semibold); }
  1705. .dataFlowOverviewBadges { grid-column: 1 / -1; display: flex; gap: var(--space-2); flex-wrap: wrap; }
  1706. .dataFlowOverviewBadges span,
  1707. .dataCompleteness,
  1708. .runtimeStatus {
  1709. display: inline-flex;
  1710. min-height: 1.65rem;
  1711. align-items: center;
  1712. padding: .125rem .55rem;
  1713. border: 1px solid var(--border);
  1714. border-radius: 999px;
  1715. color: var(--text-secondary);
  1716. background: var(--surface-control);
  1717. font-size: var(--type-caption);
  1718. font-weight: var(--weight-semibold);
  1719. line-height: 1.3;
  1720. }
  1721. .dataFlowOverviewBadges .is-complete,
  1722. .dataCompleteness.is-complete { border-color: rgba(99, 200, 131, .36); color: var(--success); background: rgba(99, 200, 131, .07); }
  1723. .dataFlowOverviewBadges .is-partial,
  1724. .dataCompleteness.is-partial { border-color: rgba(244, 193, 82, .36); color: var(--warning); background: rgba(244, 193, 82, .07); }
  1725. .dataFlowOverviewBadges .is-missing,
  1726. .dataCompleteness.is-missing { border-color: rgba(255, 128, 110, .36); color: var(--danger); background: rgba(255, 128, 110, .07); }
  1727. .dataFlowNotices { display: grid; gap: var(--space-2); margin-top: var(--space-3); }
  1728. .dataFlowNotices p {
  1729. display: grid;
  1730. grid-template-columns: 1rem minmax(0, 1fr);
  1731. gap: var(--space-2);
  1732. margin: 0;
  1733. padding: var(--space-3);
  1734. border: 1px solid var(--border-subtle);
  1735. border-radius: var(--radius-sm);
  1736. color: var(--text-secondary);
  1737. background: rgba(123, 184, 255, .045);
  1738. font-size: var(--type-ui);
  1739. line-height: 1.6;
  1740. overflow-wrap: anywhere;
  1741. }
  1742. .dataFlowNotices p.is-warning { border-color: rgba(244, 193, 82, .3); background: rgba(244, 193, 82, .045); color: #efd486; }
  1743. .dataFlowNotices svg { margin-top: .25rem; }
  1744. .dataFlowStage,
  1745. .displayUse { --stage-color: var(--info); min-width: 0; display: grid; gap: var(--space-4); }
  1746. .dataFlowStage[data-stage="runtime"] { --stage-color: var(--warning); }
  1747. .dataFlowStage[data-stage="output"] { --stage-color: var(--success); }
  1748. .dataFlowStage > header,
  1749. .displayUse > header {
  1750. min-width: 0;
  1751. display: grid;
  1752. grid-template-columns: 2rem minmax(0, 1fr);
  1753. align-items: start;
  1754. gap: var(--space-3);
  1755. }
  1756. .dataFlowStage > header > div,
  1757. .displayUse > header > div { min-width: 0; }
  1758. .dataFlowStage h3,
  1759. .displayUse h3 { margin: 0; color: var(--text-primary); font-size: .9375rem; font-weight: var(--weight-semibold); line-height: 1.45; }
  1760. .dataFlowStage > header p,
  1761. .displayUse > header p { max-width: 70ch; margin: .2rem 0 0; color: var(--text-muted); font-size: var(--type-label); line-height: 1.6; overflow-wrap: anywhere; text-wrap: pretty; }
  1762. .dataFlowStageIcon {
  1763. width: 2rem;
  1764. height: 2rem;
  1765. display: grid;
  1766. place-items: center;
  1767. border: 1px solid color-mix(in srgb, var(--stage-color) 34%, transparent);
  1768. border-radius: 50%;
  1769. background: color-mix(in srgb, var(--stage-color) 8%, transparent);
  1770. color: var(--stage-color);
  1771. }
  1772. .dataFlowConnector {
  1773. position: relative;
  1774. width: 2rem;
  1775. height: 2.5rem;
  1776. display: grid;
  1777. place-items: center;
  1778. margin-left: 0;
  1779. color: var(--text-subtle);
  1780. }
  1781. .dataFlowConnector::before {
  1782. position: absolute;
  1783. width: 1px;
  1784. height: 2.5rem;
  1785. background: var(--border-strong);
  1786. content: "";
  1787. }
  1788. .dataFlowConnector svg { position: relative; padding: 2px; border-radius: 50%; background: var(--surface-subtle); }
  1789. .dataFlowConnector.is-muted { color: var(--text-muted); }
  1790. .dataFieldList,
  1791. .runtimeUnitList { min-width: 0; display: grid; gap: var(--space-3); }
  1792. .dataField {
  1793. min-width: 0;
  1794. display: grid;
  1795. gap: var(--space-3);
  1796. padding: var(--space-4);
  1797. border: 1px solid var(--border-subtle);
  1798. border-radius: var(--radius-sm);
  1799. background: rgba(32, 34, 40, .58);
  1800. }
  1801. .dataField > header { min-width: 0; display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
  1802. .dataField h4 { min-width: 0; flex: 1 1 10rem; margin: 0; color: var(--text-primary); font-size: var(--type-ui); font-weight: var(--weight-semibold); line-height: 1.45; overflow-wrap: anywhere; }
  1803. .sourceMarker {
  1804. flex: none;
  1805. min-width: 2rem;
  1806. min-height: 1.55rem;
  1807. display: inline-grid;
  1808. place-items: center;
  1809. padding: 0 .35rem;
  1810. border: 1px solid rgba(123, 184, 255, .3);
  1811. border-radius: .375rem;
  1812. background: rgba(123, 184, 255, .07);
  1813. color: #9fcaff;
  1814. font: var(--type-caption)/1 var(--font-mono);
  1815. }
  1816. .dataField > footer { min-width: 0; display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; color: var(--text-muted); font-size: var(--type-caption); line-height: 1.5; }
  1817. .dataField > footer code,
  1818. .runtimeEventRef code { min-width: 0; color: var(--text-secondary); font: var(--type-caption)/1.5 var(--font-mono); overflow-wrap: anywhere; }
  1819. .dataSourceBadge {
  1820. display: inline-flex;
  1821. min-height: 1.65rem;
  1822. align-items: center;
  1823. gap: .3rem;
  1824. padding: .125rem .5rem;
  1825. border: 1px solid var(--border);
  1826. border-radius: 999px;
  1827. background: var(--surface-control);
  1828. color: var(--text-secondary);
  1829. font-size: var(--type-caption);
  1830. font-weight: var(--weight-semibold);
  1831. white-space: nowrap;
  1832. }
  1833. .dataSourceBadge.is-runtime-event { border-color: rgba(244, 193, 82, .3); color: #efd486; }
  1834. .dataSourceBadge.is-artifact { border-color: rgba(99, 200, 131, .3); color: #8edca6; }
  1835. .dataSourceBadge.is-calculation { border-color: rgba(183, 160, 235, .34); color: #c7b5ee; }
  1836. .dataRelation { flex-basis: 100%; color: var(--text-muted); }
  1837. .dataFlowText { max-width: 70ch; color: var(--text-secondary); font-size: var(--type-ui); line-height: 1.65; overflow-wrap: anywhere; word-break: normal; text-wrap: pretty; }
  1838. .dataFlowText > :first-child { margin-top: 0; }
  1839. .dataFlowText > :last-child { margin-bottom: 0; }
  1840. .runtimeUnit {
  1841. min-width: 0;
  1842. border: 1px solid var(--border-subtle);
  1843. border-radius: var(--radius-sm);
  1844. background: rgba(32, 34, 40, .58);
  1845. overflow: hidden;
  1846. }
  1847. .runtimeUnit > summary {
  1848. min-height: 3.25rem;
  1849. display: grid;
  1850. grid-template-columns: auto auto minmax(0, 1fr) auto auto;
  1851. align-items: center;
  1852. gap: var(--space-2);
  1853. padding: var(--space-3);
  1854. cursor: pointer;
  1855. list-style: none;
  1856. }
  1857. .runtimeUnit > summary::-webkit-details-marker,
  1858. .longDataValue > summary::-webkit-details-marker { display: none; }
  1859. .runtimeUnit > summary:hover,
  1860. .longDataValue > summary:hover { background: rgba(255, 255, 255, .025); }
  1861. .runtimeUnit > summary:focus-visible,
  1862. .longDataValue > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
  1863. .runtimeUnit > summary strong { min-width: 0; color: var(--text-primary); font-size: var(--type-ui); line-height: 1.45; overflow-wrap: anywhere; }
  1864. .runtimeUnit > summary small { color: var(--text-muted); font: var(--type-caption)/1.4 var(--font-mono); white-space: nowrap; }
  1865. .dataDisclosureChevron { flex: none; color: var(--text-muted); transition: transform 180ms var(--ease-out); }
  1866. .runtimeUnit[open] > summary .dataDisclosureChevron,
  1867. .longDataValue[open] > summary .dataDisclosureChevron { transform: rotate(90deg); }
  1868. .runtimeStatus.is-success { border-color: rgba(99, 200, 131, .3); color: var(--success); }
  1869. .runtimeStatus.is-failure { border-color: rgba(255, 128, 110, .3); color: var(--danger); }
  1870. .runtimeStatus.is-running { border-color: rgba(244, 193, 82, .3); color: var(--warning); }
  1871. .runtimeUnitBody { min-width: 0; display: grid; gap: var(--space-4); padding: var(--space-4); border-top: 1px solid var(--border-subtle); }
  1872. .runtimeValue { min-width: 0; display: grid; gap: var(--space-2); }
  1873. .runtimeValue h5 { margin: 0; color: var(--warning); font-size: var(--type-label); font-weight: var(--weight-semibold); }
  1874. .runtimeEventRef,
  1875. .runtimeCompleteness { display: flex; align-items: center; gap: var(--space-2); margin: 0; color: var(--text-muted); font-size: var(--type-caption); }
  1876. .runtimeCompleteness { color: var(--success); }
  1877. .dataFlowCalculation { display: grid; gap: var(--space-2); padding: var(--space-3) 0 0; border-top: 1px solid var(--border-subtle); }
  1878. .dataFlowCalculation > strong { color: var(--warning); font-size: var(--type-label); }
  1879. .longDataValue { min-width: 0; display: grid; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); overflow: hidden; }
  1880. .longDataValue > summary { min-height: 2.75rem; display: grid; gap: var(--space-2); padding: var(--space-3); cursor: pointer; list-style: none; color: var(--text-secondary); font-size: var(--type-label); font-weight: var(--weight-semibold); }
  1881. .longDataSummaryLine { min-width: 0; display: flex; align-items: center; gap: var(--space-2); }
  1882. .longDataSummaryLine small { margin-left: auto; color: var(--text-muted); font: var(--type-caption)/1.4 var(--font-mono); }
  1883. .longDataPreview { display: block; color: var(--text-secondary); font-size: var(--type-ui); font-weight: var(--weight-regular); line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
  1884. .longDataValue > .richText,
  1885. .longDataValue > .valueView { margin: 0 var(--space-3) var(--space-3); }
  1886. .dataFlowEmpty { margin: 0; padding: var(--space-3); border: 1px dashed var(--border); border-radius: var(--radius-sm); color: var(--text-muted); font-size: var(--type-ui); line-height: 1.6; }
  1887. .displayUse { --stage-color: var(--evaluator); }
  1888. .displayUseGroups { display: grid; gap: var(--space-4); }
  1889. .mappingGroup { min-width: 0; display: grid; gap: var(--space-2); }
  1890. .mappingGroup h4,
  1891. .unusedSources > strong { margin: 0; color: var(--text-primary); font-size: var(--type-label); font-weight: var(--weight-semibold); }
  1892. .mappingGroup ul { display: grid; gap: 0; margin: 0; padding: 0; border-top: 1px solid var(--border-subtle); list-style: none; }
  1893. .mappingGroup li { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--border-subtle); }
  1894. .mappingGroup li > div { min-width: 0; display: grid; gap: .2rem; }
  1895. .mappingGroup li strong { color: var(--text-secondary); font-size: var(--type-ui); line-height: 1.5; overflow-wrap: anywhere; }
  1896. .mappingGroup li small { color: var(--text-muted); font-size: var(--type-caption); line-height: 1.5; overflow-wrap: anywhere; }
  1897. .sourceReferences { display: inline-flex; justify-content: flex-end; gap: .25rem; flex-wrap: wrap; }
  1898. .sourceReferences > span { min-width: 2rem; min-height: 1.45rem; display: inline-grid; place-items: center; padding: 0 .3rem; border-radius: .325rem; background: rgba(123, 184, 255, .08); color: #9fcaff; font: var(--type-caption)/1 var(--font-mono); }
  1899. .sourceReferenceEmpty { color: var(--text-subtle); font-size: var(--type-caption); white-space: nowrap; }
  1900. .unusedSources { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--border-subtle); }
  1901. .dataFlowState { min-height: 16rem; display: grid; place-content: center; justify-items: center; gap: var(--space-2); padding: var(--space-5); color: var(--text-muted); text-align: center; }
  1902. .dataFlowState svg { color: var(--info); }
  1903. .dataFlowState h3 { margin: var(--space-1) 0 0; color: var(--text-primary); font-size: var(--type-title); }
  1904. .dataFlowState p { max-width: 34rem; margin: 0; font-size: var(--type-ui); line-height: 1.65; }
  1905. .dataFlowSkeleton { display: grid; gap: var(--space-3); }
  1906. .dataFlowSkeleton div { height: 5.5rem; border-radius: var(--radius-md); background: var(--surface); }
  1907. .dataFlowSkeleton span { width: 100%; height: 2.75rem; border-radius: var(--radius-sm); background: var(--surface-control); }
  1908. .dataFlowSkeleton span:nth-child(3),
  1909. .dataFlowSkeleton span:nth-child(6),
  1910. .dataFlowSkeleton span:nth-child(8) { width: 72%; }
  1911. .dataFlowSkeleton > * { animation: dataFlowPulse 1.5s ease-in-out infinite alternate; }
  1912. @keyframes dataFlowPulse { from { opacity: .45; } to { opacity: .9; } }
  1913. /* Current final script: a document surface, not another canvas card. */
  1914. .scriptViewer {
  1915. width: min(96vw, 112rem);
  1916. height: 92dvh;
  1917. max-width: none;
  1918. max-height: none;
  1919. margin: auto;
  1920. padding: 0;
  1921. overflow: hidden;
  1922. border: 1px solid var(--border-strong);
  1923. border-radius: var(--radius-lg);
  1924. background: var(--surface-subtle);
  1925. color: var(--text-primary);
  1926. box-shadow: 0 28px 90px rgba(0, 0, 0, .58);
  1927. z-index: var(--z-modal);
  1928. }
  1929. .scriptViewer[open] { display: grid; grid-template-rows: auto auto minmax(0, 1fr); }
  1930. .scriptViewer::backdrop { background: rgba(7, 8, 10, .76); }
  1931. .scriptViewerHeader {
  1932. min-width: 0;
  1933. min-height: 5.25rem;
  1934. display: flex;
  1935. align-items: center;
  1936. justify-content: space-between;
  1937. gap: var(--space-5);
  1938. padding: var(--space-4) var(--space-5);
  1939. border-bottom: 1px solid var(--border-subtle);
  1940. background: var(--surface);
  1941. }
  1942. .scriptViewerHeader > .iconButton { flex: none; }
  1943. .scriptViewerHeaderActions { display: flex; align-items: center; gap: var(--space-2); flex: none; }
  1944. .scriptViewerTitle { min-width: 0; display: grid; gap: .15rem; }
  1945. .scriptViewerTitle > span {
  1946. display: flex;
  1947. align-items: center;
  1948. gap: var(--space-2);
  1949. color: var(--success);
  1950. font-size: var(--type-label);
  1951. font-weight: var(--weight-semibold);
  1952. }
  1953. .scriptViewer.isCandidate .scriptViewerTitle > span { color: var(--accent-hover); }
  1954. .scriptViewerTitle h2 { margin: 0; font-size: var(--type-heading); font-weight: var(--weight-semibold); }
  1955. .scriptViewerTitle p { margin: 0; color: var(--text-muted); font-size: var(--type-label); }
  1956. .scriptViewerToolbar {
  1957. min-width: 0;
  1958. min-height: 3.5rem;
  1959. display: flex;
  1960. align-items: stretch;
  1961. justify-content: space-between;
  1962. gap: var(--space-4);
  1963. padding: 0 var(--space-5);
  1964. border-bottom: 1px solid var(--border-subtle);
  1965. background: var(--surface-subtle);
  1966. }
  1967. .scriptViewerTabs { display: flex; align-items: stretch; }
  1968. .scriptViewerTabs button {
  1969. min-width: 7.5rem;
  1970. border: 0;
  1971. border-bottom: 2px solid transparent;
  1972. background: transparent;
  1973. color: var(--text-muted);
  1974. font-size: var(--type-ui);
  1975. font-weight: var(--weight-medium);
  1976. }
  1977. .scriptViewerTabs button:hover { color: var(--text-primary); }
  1978. .scriptViewerTabs button.active { border-bottom-color: var(--accent); color: var(--text-primary); font-weight: var(--weight-semibold); }
  1979. .scriptViewerVersion {
  1980. align-self: center;
  1981. max-width: 52rem;
  1982. margin: 0;
  1983. color: var(--text-secondary);
  1984. font-size: var(--type-label);
  1985. line-height: 1.5;
  1986. text-align: right;
  1987. text-wrap: pretty;
  1988. }
  1989. .scriptViewerVersion.isHistorical { color: var(--success); }
  1990. .scriptViewerVersion.isCurrent { color: var(--warning); }
  1991. .scriptViewerBody { min-width: 0; min-height: 0; overflow: hidden; padding: var(--space-4); background: #e9ecf2; }
  1992. .scriptViewerState {
  1993. width: min(34rem, 100%);
  1994. min-height: 14rem;
  1995. display: grid;
  1996. align-content: center;
  1997. gap: var(--space-3);
  1998. margin: 10vh auto 0;
  1999. padding: var(--space-5);
  2000. border: 1px solid #d5dae3;
  2001. border-radius: var(--radius-md);
  2002. background: #fff;
  2003. color: #323944;
  2004. text-align: center;
  2005. }
  2006. .scriptViewerState p { margin: 0; color: #667080; }
  2007. .scriptViewerState.isError { border-color: #efb5ad; }
  2008. .originalScriptTable {
  2009. height: 100%;
  2010. min-height: 0;
  2011. display: grid;
  2012. grid-template-rows: auto minmax(0, 1fr);
  2013. color: #1e293b;
  2014. }
  2015. .scriptTableTitle {
  2016. display: flex;
  2017. align-items: center;
  2018. gap: 16px;
  2019. min-height: 48px;
  2020. padding: 12px 16px;
  2021. border: 1px solid rgba(0, 0, 0, .04);
  2022. border-bottom: 0;
  2023. border-radius: 10px 10px 0 0;
  2024. background: #fff;
  2025. color: #1e293b;
  2026. font-size: 14px;
  2027. }
  2028. .script-table-wrapper {
  2029. min-width: 0;
  2030. min-height: 0;
  2031. overflow: auto;
  2032. overscroll-behavior: contain;
  2033. scrollbar-gutter: stable;
  2034. padding: 0 0 16px;
  2035. background: #fff;
  2036. border-radius: 0 0 10px 10px;
  2037. border: 1px solid rgba(0, 0, 0, .04);
  2038. border-top: none;
  2039. box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
  2040. isolation: isolate;
  2041. }
  2042. .script-table-wrapper::-webkit-scrollbar { width: 8px; height: 8px; }
  2043. .script-table-wrapper::-webkit-scrollbar-thumb { background: #c1c9d2; border-radius: 4px; }
  2044. .script-table-wrapper::-webkit-scrollbar-track { background: #f1f5f9; }
  2045. .script-table {
  2046. border-collapse: separate;
  2047. border-spacing: 0;
  2048. table-layout: fixed;
  2049. overflow: visible;
  2050. border-radius: 0;
  2051. box-shadow: none;
  2052. border: none;
  2053. color: #1e293b;
  2054. font-size: 12px;
  2055. line-height: 1.5;
  2056. }
  2057. .script-table th,
  2058. .script-table td {
  2059. max-width: 0;
  2060. padding: 6px 8px;
  2061. border-right: 1px solid #d0d5dd;
  2062. border-bottom: 1px solid #d0d5dd;
  2063. text-align: left;
  2064. vertical-align: top;
  2065. word-break: break-word;
  2066. overflow-wrap: break-word;
  2067. }
  2068. .script-table th:first-child,
  2069. .script-table td:first-child { border-left: 1px solid #d0d5dd; }
  2070. .script-table thead tr:first-child th { border-top: 1px solid #d0d5dd; }
  2071. .script-table thead th {
  2072. position: sticky;
  2073. z-index: 5;
  2074. color: #1e293b;
  2075. font-size: 11px;
  2076. font-weight: 600;
  2077. text-align: center;
  2078. vertical-align: middle;
  2079. white-space: nowrap;
  2080. }
  2081. .script-table thead tr.st-header-group th { top: 0; z-index: 12; }
  2082. .script-table thead tr.st-header-subgroup th { top: 34px; z-index: 11; }
  2083. .script-table thead tr.st-header-col th { top: 68px; z-index: 10; }
  2084. .st-header-group th { font-size: 12px; font-weight: 700; }
  2085. .st-header-subgroup th { font-size: 11px; font-weight: 600; }
  2086. .st-header-col th { color: #475569; font-size: 11px; font-weight: 500; }
  2087. .col-paragraph { background: #ffe4e1; }
  2088. .col-range { background: #ffdab9; }
  2089. .col-outline { background: #d6eaf8; }
  2090. .script-table thead th.col-outline-theme { background: #c8e6c9; color: #2e7d32; }
  2091. .script-table thead th.col-outline-form { background: #ffe0b2; color: #e65100; }
  2092. .script-table thead th.col-outline-action { background: #bbdefb; color: #1565c0; }
  2093. .script-table thead th.col-outline-feeling { background: #f8bbd0; color: #c2185b; }
  2094. .col-full-desc { background: #eceff1; color: #37474f; }
  2095. .script-table tbody td { position: relative; z-index: 0; }
  2096. .script-table th.col-paragraph,
  2097. .script-table td.col-paragraph {
  2098. position: sticky;
  2099. padding: 8px 14px;
  2100. background-color: #fff5f3;
  2101. }
  2102. .script-table thead tr.st-header-group th.col-paragraph,
  2103. .script-table thead tr.st-header-subgroup th.col-paragraph,
  2104. .script-table thead tr.st-header-col th.col-paragraph { z-index: 40; background-color: #ffe4e1; }
  2105. .script-table thead tr.st-header-group th.col-paragraph,
  2106. .script-table thead tr.st-header-subgroup th.col-paragraph:first-child { box-shadow: -14px 0 0 #ffe4e1; }
  2107. .script-table tbody td.col-paragraph { z-index: 15; box-shadow: inset 0 -1px #d0d5dd; }
  2108. .script-table th.col-paragraph-last,
  2109. .script-table td.col-paragraph-last { box-shadow: inset 0 -1px #d0d5dd, 3px 0 6px -2px rgba(0, 0, 0, .07); }
  2110. .script-table tbody tr > td.col-paragraph:first-child { box-shadow: -14px 0 0 #fff5f3, inset 0 -1px #d0d5dd; }
  2111. .script-table tbody td.col-paragraph { background: #fff5f3; }
  2112. .script-table tbody td.col-range { background: #fff8f0; }
  2113. .script-table tbody td.col-outline,
  2114. .script-table tbody td.col-outline-theme,
  2115. .script-table tbody td.col-outline-form,
  2116. .script-table tbody td.col-outline-action,
  2117. .script-table tbody td.col-outline-feeling { background: #fff; }
  2118. .script-table tbody td.col-full-desc { background: #f5f5f5; }
  2119. .script-table thead th.col-atom-sub { font-size: 11px; font-weight: 600; }
  2120. .script-table tbody td.col-atom-group { padding: 0; background: #fff; font-size: 12px; vertical-align: top; }
  2121. .script-table tbody td.col-atom-group .atom-rows-table { width: 100%; margin: 0; border-collapse: collapse; table-layout: fixed; }
  2122. .script-table tbody td.col-atom-group .atom-rows-table td {
  2123. padding: 6px 8px;
  2124. border-right: 1px solid #d0d5dd;
  2125. border-bottom: 1px solid #d0d5dd;
  2126. line-height: 1.35;
  2127. vertical-align: top;
  2128. white-space: normal;
  2129. }
  2130. .script-table tbody td.col-atom-group .atom-rows-table tr:last-child td { border-bottom: none; }
  2131. .script-table tbody td.col-atom-group .atom-rows-table td:last-child { border-right: none; }
  2132. .script-table tbody td.col-atom-group .atom-rows-table .col-atom-type { color: #64748b; }
  2133. .script-table tbody td.col-atom-group-theme .atom-rows-table .atom-dim-main { background: #66bb6a; color: #fff; font-weight: 600; }
  2134. .script-table tbody td.col-atom-group-theme .atom-rows-table .atom-dim-sub { background: #c8e6c9; color: #2e7d32; font-weight: 500; }
  2135. .script-table tbody td.col-atom-group-form .atom-rows-table .atom-dim-main { background: #ffb74d; color: #4e342e; font-weight: 600; }
  2136. .script-table tbody td.col-atom-group-form .atom-rows-table .atom-dim-sub { background: #ffe0b2; color: #e65100; font-weight: 500; }
  2137. .script-table tbody td.col-atom-group-action .atom-rows-table .atom-dim-main { background: #64b5f6; color: #fff; font-weight: 600; }
  2138. .script-table tbody td.col-atom-group-action .atom-rows-table .atom-dim-sub { background: #bbdefb; color: #1565c0; font-weight: 500; }
  2139. .script-table tbody td.col-atom-group .atom-val-with-id { cursor: help; border-bottom: 1px dotted #99f6e4; }
  2140. .script-row-l1 td { font-weight: 500; }
  2141. .script-row-l2 td { color: #475569; font-size: 11.5px; }
  2142. .script-row-l3 td,
  2143. tr[class^="script-row-l"]:not(.script-row-l1):not(.script-row-l2):not(.script-row-l3) td { color: #64748b; font-size: 11px; }
  2144. tr[class^="script-row-l"]:hover td:not(.col-paragraph) { background: rgba(91, 141, 239, .04); }
  2145. .collapse-toggle {
  2146. width: 16px;
  2147. min-height: 16px;
  2148. display: inline-block;
  2149. margin: 0 4px 0 0;
  2150. padding: 0;
  2151. border: 0;
  2152. background: transparent;
  2153. color: #64748b;
  2154. cursor: pointer;
  2155. font-size: 10px;
  2156. text-align: center;
  2157. vertical-align: middle;
  2158. }
  2159. .collapse-toggle:hover { color: #1e293b; }
  2160. .collapse-toggle.collapsed { color: #94a3b8; }
  2161. .content-range-tags { display: flex; flex-wrap: wrap; align-items: flex-start; }
  2162. .cr-tag {
  2163. display: inline-block;
  2164. margin: 1px 2px;
  2165. padding: 1px 6px;
  2166. border: 1px solid #e2e8f0;
  2167. border-radius: 3px;
  2168. background: #f1f5f9;
  2169. color: #475569;
  2170. font-size: 11px;
  2171. word-break: break-word;
  2172. }
  2173. .elem-hl-extended {
  2174. display: inline;
  2175. margin: 0;
  2176. padding: 0 1px 0 2px;
  2177. border: 0;
  2178. border-radius: 2px;
  2179. background: #fff;
  2180. color: #0288d1;
  2181. box-shadow: 0 0 0 1px #81d4fa;
  2182. font: inherit;
  2183. font-weight: 600;
  2184. line-height: inherit;
  2185. cursor: pointer;
  2186. }
  2187. span.elem-hl-extended { cursor: default; }
  2188. .cell-expandable {
  2189. max-height: 100px;
  2190. overflow: hidden;
  2191. position: relative;
  2192. color: #4a5568;
  2193. cursor: pointer;
  2194. font-size: 11px;
  2195. line-height: 1.5;
  2196. white-space: pre-wrap;
  2197. word-break: break-all;
  2198. }
  2199. .cell-expandable::after {
  2200. content: '... 点击展开';
  2201. position: absolute;
  2202. right: 0;
  2203. bottom: 0;
  2204. left: 0;
  2205. height: 24px;
  2206. background: linear-gradient(transparent, #f5f5f5 60%);
  2207. color: #5b8def;
  2208. font-size: 10px;
  2209. line-height: 28px;
  2210. text-align: center;
  2211. }
  2212. .cell-expandable.expanded { max-height: none; }
  2213. .cell-expandable.expanded::after { content: none; }
  2214. .script-legend { display: flex; flex-wrap: wrap; gap: 10px; color: #64748b; font-size: 11px; font-weight: 400; }
  2215. .legend-item { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
  2216. .legend-swatch { width: 12px; height: 12px; display: inline-block; border: 1px solid #81d4fa; border-radius: 2px; background: #fff; }
  2217. .elementParagraphs { margin: 0; padding: 0; list-style: none; }
  2218. .elementTableViewport {
  2219. width: 100%;
  2220. height: 100%;
  2221. min-width: 0;
  2222. min-height: 0;
  2223. overflow: auto;
  2224. overscroll-behavior: contain;
  2225. scrollbar-gutter: stable;
  2226. border: 1px solid #cfd5df;
  2227. border-radius: var(--radius-sm);
  2228. background: #f8f9fc;
  2229. color: #2e3540;
  2230. box-shadow: 0 4px 18px rgba(30, 40, 55, .1);
  2231. }
  2232. .elementTable {
  2233. width: 100%;
  2234. min-width: 72rem;
  2235. border-collapse: separate;
  2236. border-spacing: 0;
  2237. table-layout: fixed;
  2238. color: #303744;
  2239. font-size: .875rem;
  2240. line-height: 1.55;
  2241. }
  2242. .elementTable th,
  2243. .elementTable td {
  2244. min-width: 9.5rem;
  2245. padding: .875rem;
  2246. border-right: 1px solid #d7dce5;
  2247. border-bottom: 1px solid #d7dce5;
  2248. background: #fff;
  2249. overflow-wrap: anywhere;
  2250. text-align: left;
  2251. vertical-align: top;
  2252. }
  2253. .elementTable thead th { top: 0 !important; min-width: 12rem; background: #e8edf4; }
  2254. .elementTable thead th { position: sticky; z-index: 2; color: #374151; font-size: .8125rem; font-weight: 700; }
  2255. .elementTable thead th:first-child { width: 18rem; }
  2256. .elementTable tbody th { background: #f5f7fa; color: #2d3541; font-weight: 700; }
  2257. .elementTable tr.isSelected th,
  2258. .elementTable tr.isSelected td { background: #fff2d7; box-shadow: inset 0 2px #e6a83f, inset 0 -2px #e6a83f; }
  2259. .elementParagraphs { margin: 0; display: grid; gap: .4rem; }
  2260. .elementParagraphs li { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: var(--space-2); }
  2261. .elementParagraphs span { color: #788291; font-size: .75rem; font-weight: 600; }
  2262. .richText {
  2263. max-width: 72ch;
  2264. color: var(--text-secondary);
  2265. font-size: var(--type-body);
  2266. line-height: 1.72;
  2267. letter-spacing: .012em;
  2268. overflow-wrap: anywhere;
  2269. }
  2270. .richText > :first-child { margin-top: 0; }
  2271. .richText > :last-child { margin-bottom: 0; }
  2272. .richText h1,
  2273. .richText h2,
  2274. .richText h3,
  2275. .richText h4 {
  2276. margin: 1.5em 0 .55em;
  2277. color: var(--text-primary);
  2278. font-weight: var(--weight-semibold);
  2279. line-height: 1.35;
  2280. letter-spacing: -.01em;
  2281. text-wrap: balance;
  2282. }
  2283. .richText h1 { font-size: var(--type-heading); }
  2284. .richText h2 { font-size: var(--type-title); }
  2285. .richText h3,
  2286. .richText h4 { font-size: var(--type-body); }
  2287. .richText p { margin: 0 0 1em; text-wrap: pretty; }
  2288. .richText strong { color: var(--text-primary); font-weight: var(--weight-semibold); }
  2289. .richText ul,
  2290. .richText ol { margin: .5em 0 1em; padding-left: 1.4em; }
  2291. .richText li + li { margin-top: .35em; }
  2292. .richText blockquote {
  2293. margin: 1em 0;
  2294. padding: var(--space-3) var(--space-4);
  2295. border: 1px solid var(--border);
  2296. border-radius: var(--radius-sm);
  2297. background: var(--surface);
  2298. color: var(--text-muted);
  2299. }
  2300. .richText code {
  2301. padding: .12em .35em;
  2302. border-radius: .25rem;
  2303. background: var(--canvas);
  2304. color: #e4e6ea;
  2305. font-family: var(--font-mono);
  2306. font-size: .875em;
  2307. font-variant-ligatures: none;
  2308. }
  2309. .richText pre {
  2310. max-width: 100%;
  2311. padding: var(--space-3);
  2312. overflow: auto;
  2313. border: 1px solid var(--border-subtle);
  2314. border-radius: var(--radius-sm);
  2315. background: var(--canvas);
  2316. }
  2317. .richText pre code { padding: 0; background: transparent; }
  2318. .richText table {
  2319. display: block;
  2320. max-width: 100%;
  2321. overflow-x: auto;
  2322. border-collapse: collapse;
  2323. font-size: var(--type-ui);
  2324. }
  2325. .richText th,
  2326. .richText td { padding: var(--space-2); border: 1px solid var(--border); text-align: left; vertical-align: top; }
  2327. .richText th { color: var(--text-primary); background: var(--surface); font-weight: var(--weight-semibold); }
  2328. .richText hr { height: 1px; margin: var(--space-5) 0; border: 0; background: var(--border-subtle); }
  2329. .richText a { color: var(--info); text-underline-offset: .18em; }
  2330. .valueView {
  2331. max-width: 100%;
  2332. max-height: 62vh;
  2333. margin: 0;
  2334. padding: var(--space-4);
  2335. overflow: auto;
  2336. border: 1px solid var(--border-subtle);
  2337. border-radius: var(--radius-sm);
  2338. background: var(--canvas);
  2339. color: #d8dae0;
  2340. font: var(--type-label)/1.65 var(--font-mono);
  2341. font-variant-ligatures: none;
  2342. white-space: pre-wrap;
  2343. overflow-wrap: anywhere;
  2344. }
  2345. .diffWarning,
  2346. .emptyState { color: var(--warning) !important; }
  2347. .planHistorySummary { color: var(--text-muted) !important; }
  2348. .planHistoryList { display: grid; gap: var(--space-3); margin: var(--space-1) 0 0; padding: 0; list-style: none; }
  2349. .planHistoryItem {
  2350. padding: var(--space-3);
  2351. border: 1px solid var(--border);
  2352. border-radius: var(--radius-sm);
  2353. background: var(--surface);
  2354. }
  2355. .planHistoryItem.is-success { border-color: rgba(99, 200, 131, .48); }
  2356. .planHistoryItem.is-failure { border-color: rgba(255, 128, 110, .48); }
  2357. .planHistoryItem p { margin-top: var(--space-2); }
  2358. .planCurrentTag {
  2359. display: inline-flex;
  2360. margin-left: var(--space-2);
  2361. padding: .125rem .5rem;
  2362. border-radius: 999px;
  2363. background: rgba(99, 200, 131, .14);
  2364. color: var(--success);
  2365. font-size: var(--type-caption);
  2366. font-weight: var(--weight-semibold);
  2367. }
  2368. /* Feedback and loading */
  2369. .errorBanner {
  2370. position: fixed;
  2371. left: 1.125rem;
  2372. right: 1.125rem;
  2373. bottom: 1.125rem;
  2374. z-index: var(--z-toast);
  2375. display: flex;
  2376. align-items: center;
  2377. gap: var(--space-2);
  2378. padding: var(--space-3) var(--space-4);
  2379. border: 1px solid rgba(255, 128, 110, .45);
  2380. border-radius: var(--radius-sm);
  2381. background: #3a201d;
  2382. color: #ffb7aa;
  2383. font-size: var(--type-ui);
  2384. box-shadow: var(--shadow-md);
  2385. }
  2386. .loadingScreen,
  2387. .fatalState {
  2388. min-height: 100vh;
  2389. display: grid;
  2390. place-content: center;
  2391. justify-items: center;
  2392. gap: var(--space-4);
  2393. padding: var(--space-6);
  2394. background: var(--canvas);
  2395. text-align: center;
  2396. }
  2397. .loadingScreen h1,
  2398. .fatalState h1 { margin: 0; font-size: var(--type-heading); font-weight: var(--weight-semibold); }
  2399. .fatalState p { max-width: 65ch; margin: 0; color: var(--text-muted); font-size: var(--type-body); line-height: 1.65; }
  2400. .skeletonWide,
  2401. .skeletonLines { width: min(26rem, 80vw); display: grid; gap: var(--space-2); }
  2402. .skeletonWide i,
  2403. .skeletonLines i { height: .625rem; border-radius: .25rem; background: var(--surface-control); }
  2404. .skeletonWide i:nth-child(2),
  2405. .skeletonLines i:nth-child(2) { width: 82%; }
  2406. .skeletonWide i:nth-child(3),
  2407. .skeletonLines i:nth-child(3) { width: 64%; }
  2408. .mobileTimeline { display: none; }
  2409. .exitFullscreen {
  2410. position: absolute;
  2411. z-index: var(--z-toast);
  2412. top: var(--space-3);
  2413. left: 50%;
  2414. transform: translateX(-50%);
  2415. min-height: 2.75rem;
  2416. padding: 0 var(--space-4);
  2417. border: 1px solid var(--accent);
  2418. border-radius: var(--radius-sm);
  2419. background: var(--surface);
  2420. color: var(--text-primary);
  2421. font-size: var(--type-ui);
  2422. font-weight: var(--weight-semibold);
  2423. }
  2424. @media (max-width: 1199px) {
  2425. .runHeader,
  2426. .withInspector .runHeader { right: var(--space-3); left: var(--space-3); }
  2427. .topBar { flex-wrap: wrap; }
  2428. .runMeta { order: 3; }
  2429. .roundNav { order: 5; flex: 1 1 20rem; width: auto; }
  2430. .withInspector .workspace { grid-template-columns: 1fr; }
  2431. .inspector {
  2432. position: absolute;
  2433. top: var(--space-3);
  2434. right: var(--space-3);
  2435. bottom: var(--space-3);
  2436. width: min(28.75rem, calc(100vw - 1.5rem));
  2437. height: auto;
  2438. border: 1px solid var(--border);
  2439. border-radius: var(--radius-md);
  2440. overflow: hidden;
  2441. }
  2442. }
  2443. @media (max-width: 767px) {
  2444. body { overflow: auto; }
  2445. .appFrame { height: auto; min-height: 100vh; }
  2446. .runHeader,
  2447. .withInspector .runHeader { position: relative; top: auto; left: auto; right: auto; margin: var(--space-2); }
  2448. .topBar { gap: var(--space-2); }
  2449. .productMark { flex: 1; }
  2450. .buildPicker { order: 3; width: 100%; min-width: 0; }
  2451. .buildPicker select { flex: 1; width: auto; }
  2452. .buildPicker input { flex: 1; width: auto; }
  2453. .roundNav { order: 5; width: 100%; }
  2454. .runMeta { order: 2; margin-left: auto; }
  2455. .compactAction span,
  2456. .dataNotes summary span,
  2457. .refreshing { display: none; }
  2458. .dataNotes > div { position: fixed; top: auto; left: .625rem; right: .625rem; bottom: .625rem; width: auto; }
  2459. .workspace { height: auto; min-height: calc(100vh - 11.25rem); display: block; overflow: visible; }
  2460. .flowShell { display: none; }
  2461. .mobileTimeline { display: block; padding: var(--space-4); background: var(--canvas); }
  2462. .mobileTimeline > header { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
  2463. .mobileTimeline h2 { margin: 0; font-size: var(--type-title); font-weight: var(--weight-semibold); }
  2464. .mobileTimeline header p { margin: var(--space-1) 0 0; color: var(--text-muted); font-size: var(--type-label); }
  2465. .mobileStory {
  2466. width: 100%;
  2467. display: grid;
  2468. grid-template-columns: auto 1fr;
  2469. gap: var(--space-2) var(--space-3);
  2470. min-height: 6rem;
  2471. margin-bottom: var(--space-3);
  2472. padding: var(--space-4);
  2473. border: 1px solid var(--border);
  2474. border-radius: var(--radius-md);
  2475. background: var(--surface);
  2476. color: var(--text-primary);
  2477. text-align: left;
  2478. }
  2479. .mobileStory > span:first-child { color: var(--accent); font-size: var(--type-label); font-weight: var(--weight-semibold); }
  2480. .mobileStory strong,
  2481. .mobileStory p { grid-column: 1 / -1; margin: 0; }
  2482. .mobileStory strong { font-size: var(--type-title); font-weight: var(--weight-semibold); }
  2483. .mobileStory p { color: var(--text-secondary); font-size: var(--type-body); line-height: 1.65; }
  2484. .mobileStory > .cardFields,
  2485. .mobileSteps .cardFields {
  2486. grid-column: 1 / -1;
  2487. width: 100%;
  2488. gap: var(--space-3);
  2489. }
  2490. .mobileStory .cardField,
  2491. .mobileSteps .cardField {
  2492. grid-template-columns: minmax(4.75rem, 5.5rem) minmax(0, 1fr);
  2493. gap: var(--space-3);
  2494. }
  2495. .mobileStory .cardField b,
  2496. .mobileSteps .cardField b {
  2497. color: var(--text-muted);
  2498. font-size: var(--type-label);
  2499. line-height: 1.55;
  2500. }
  2501. .mobileStory .cardField p,
  2502. .mobileSteps .cardField p {
  2503. grid-column: auto;
  2504. color: var(--text-secondary);
  2505. font-size: var(--type-ui);
  2506. font-weight: var(--weight-regular);
  2507. line-height: 1.58;
  2508. -webkit-line-clamp: unset;
  2509. }
  2510. .mobileStory .cardFieldPrimary p,
  2511. .mobileSteps .cardFieldPrimary p {
  2512. color: var(--text-primary);
  2513. font-size: var(--type-body);
  2514. font-weight: var(--weight-semibold);
  2515. }
  2516. .mobileFinal { display: block; padding: 0; }
  2517. .mobileFinalSummary {
  2518. width: 100%;
  2519. display: grid;
  2520. grid-template-columns: auto 1fr;
  2521. gap: var(--space-2) var(--space-3);
  2522. padding: var(--space-4);
  2523. border: 0;
  2524. background: transparent;
  2525. color: var(--text-primary);
  2526. text-align: left;
  2527. }
  2528. .mobileFinalSummary > span:first-child { color: var(--accent); font-size: var(--type-label); font-weight: var(--weight-semibold); }
  2529. .mobileFinalSummary strong,
  2530. .mobileFinalSummary p { grid-column: 1 / -1; margin: 0; }
  2531. .mobileFinal > .nodeAction { margin: 0 var(--space-4) var(--space-4); }
  2532. .mobileTimeline > .mobileDecision {
  2533. margin: 0 0 var(--space-3);
  2534. padding: 0;
  2535. list-style: none;
  2536. }
  2537. .mobileDecision > button:first-child {
  2538. width: 100%;
  2539. min-height: 5rem;
  2540. display: grid;
  2541. grid-template-columns: 1fr auto;
  2542. gap: var(--space-2) var(--space-3);
  2543. padding: var(--space-4);
  2544. border: 1px solid rgba(255, 109, 90, .42);
  2545. border-radius: var(--radius-md);
  2546. background: var(--surface);
  2547. color: var(--text-primary);
  2548. text-align: left;
  2549. }
  2550. .mobileDecision > button:first-child > span { color: var(--accent); font-size: var(--type-label); font-weight: var(--weight-semibold); }
  2551. .mobileDecision > button:first-child > em { color: var(--text-muted); font-size: var(--type-caption); font-style: normal; }
  2552. .mobileDecision > button:first-child > strong,
  2553. .mobileDecision > button:first-child > .cardFields { grid-column: 1 / -1; }
  2554. .mobileDecision > button:first-child > strong { font-size: var(--type-title); }
  2555. .mobilePromptAction { width: 100%; min-height: 2.75rem; margin-bottom: var(--space-2); border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--canvas); color: var(--text-secondary); }
  2556. .roundList,
  2557. .mobileSteps { margin: 0; padding: 0; list-style: none; }
  2558. .roundList > li { margin-bottom: var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; }
  2559. .mobileRoundSummary { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); }
  2560. .roundExpand { border: 0; border-right: 1px solid var(--border-subtle); background: var(--surface-control); color: var(--text-primary); }
  2561. .roundSummaryOpen {
  2562. min-width: 0;
  2563. display: grid;
  2564. grid-template-columns: auto 1fr;
  2565. gap: var(--space-2) var(--space-3);
  2566. padding: var(--space-4);
  2567. border: 0;
  2568. background: transparent;
  2569. color: var(--text-primary);
  2570. text-align: left;
  2571. }
  2572. .roundSummaryOpen > span { color: var(--accent); font-size: var(--type-label); font-weight: var(--weight-semibold); }
  2573. .roundSummaryOpen > strong,
  2574. .mobileSummarySequence { grid-column: 1 / -1; }
  2575. .roundSummaryOpen > strong { font-size: var(--type-title); font-weight: var(--weight-semibold); }
  2576. .mobileSummarySequence { display: grid; gap: var(--space-2); }
  2577. .mobileSummarySequence p {
  2578. display: grid;
  2579. grid-template-columns: 2.75rem 1fr;
  2580. gap: var(--space-2);
  2581. margin: 0;
  2582. color: var(--text-secondary);
  2583. font-size: var(--type-ui);
  2584. line-height: 1.55;
  2585. }
  2586. .mobileSummarySequence b { color: var(--text-muted); font-size: var(--type-label); font-weight: var(--weight-semibold); }
  2587. .mobileSteps { padding: var(--space-2); border-top: 1px solid var(--border-subtle); background: var(--canvas); }
  2588. .mobileSteps li > button:first-child {
  2589. width: 100%;
  2590. min-height: 5rem;
  2591. display: grid;
  2592. grid-template-columns: auto 1fr;
  2593. gap: var(--space-2) var(--space-3);
  2594. margin-bottom: var(--space-2);
  2595. padding: var(--space-3);
  2596. border: 1px solid var(--border);
  2597. border-radius: var(--radius-sm);
  2598. background: var(--surface);
  2599. color: var(--text-primary);
  2600. text-align: left;
  2601. }
  2602. .mobileSteps span { color: var(--accent); font-size: var(--type-label); font-weight: var(--weight-semibold); }
  2603. .mobileSteps strong,
  2604. .mobileSteps p { grid-column: 1 / -1; }
  2605. .mobileSteps strong { font-size: var(--type-body); font-weight: var(--weight-semibold); }
  2606. .mobileSteps p { margin: 0; color: var(--text-secondary); font-size: var(--type-ui); line-height: 1.55; }
  2607. .mobileConvergenceSteps {
  2608. display: grid;
  2609. gap: var(--space-2);
  2610. margin: 0;
  2611. padding: 0;
  2612. list-style: none;
  2613. }
  2614. .mobileConvergenceSteps > li { margin: 0; padding: 0; }
  2615. .inspectorDetailItem {
  2616. grid-template-columns: 1fr;
  2617. gap: var(--space-2);
  2618. }
  2619. .implementationRouteBody { grid-template-columns: 1fr; }
  2620. .implementationPlanField.is-wide { grid-column: auto; }
  2621. .mobileCandidate { padding: var(--space-2); border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-control); }
  2622. .mobileCandidate .candidateExpand {
  2623. width: 100%;
  2624. min-height: 2.75rem;
  2625. border: 1px solid var(--border);
  2626. border-radius: var(--radius-sm);
  2627. background: var(--canvas);
  2628. color: var(--accent);
  2629. font-size: var(--type-ui);
  2630. font-weight: var(--weight-semibold);
  2631. }
  2632. .mobileCandidateActions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
  2633. .mobileCandidateActions .candidateExpand {
  2634. width: auto;
  2635. flex: 1 1 12rem;
  2636. display: inline-flex;
  2637. align-items: center;
  2638. justify-content: center;
  2639. gap: .375rem;
  2640. padding: 0 var(--space-3);
  2641. }
  2642. .mobileCandidate ol { margin: 0; padding: var(--space-2) 0 0; list-style: none; }
  2643. .mobileBranchProcess { display: grid; gap: var(--space-2); }
  2644. .mobileRetrievalStage {
  2645. padding: var(--space-2);
  2646. border: 1px dashed rgba(230, 168, 111, .42);
  2647. border-radius: var(--radius-sm);
  2648. background: rgba(230, 168, 111, .045);
  2649. }
  2650. .mobileRetrievalStage > button:first-child { border-color: rgba(230, 168, 111, .38); background: rgba(37, 35, 31, .96); }
  2651. .mobileRetrievalStage > button:first-child span,
  2652. .mobileRetrievalStage > ol > li > button:first-child span { color: var(--retrieval); }
  2653. .mobileRetrievalStage > ol { display: grid; gap: var(--space-2); padding: 0; }
  2654. .mobileRetrievalStage > ol > li { padding-left: var(--space-2); border-left: 2px solid rgba(230, 168, 111, .28); }
  2655. .mobileRetrievalAgent > button:first-child { background: rgba(31, 30, 30, .97); }
  2656. .mobileRetrievalAgent > ol { display: grid; gap: .25rem; padding-left: var(--space-3); }
  2657. .mobileRetrievalAgent > ol > li > button:first-child { min-height: 2.75rem; }
  2658. .flowShell.mobileFullscreen { position: fixed; inset: 0; z-index: var(--z-drawer); display: block; }
  2659. .inspector { position: fixed; inset: 0; width: 100%; height: 100dvh; max-height: none; border: 0; border-radius: 0; }
  2660. .inspectorHeader { padding: var(--space-4); }
  2661. .inspectorTabs {
  2662. grid-template-columns: repeat(2, minmax(0, 1fr));
  2663. overflow-x: visible;
  2664. }
  2665. .inspectorTabs button { min-width: 0; }
  2666. .inspectorTabs button:last-child:nth-child(odd) { grid-column: 1 / -1; }
  2667. .inspectorBody { gap: var(--space-4); padding: var(--space-4); }
  2668. .retrievalActivityList button { grid-template-columns: 1.75rem minmax(0, 1fr) auto; gap: var(--space-2); }
  2669. .retrievalActivityList button > svg { display: none; }
  2670. .retrievalConditions > div { grid-template-columns: 1fr; gap: var(--space-1); }
  2671. .retrievalResult > summary { grid-template-columns: 1.25rem minmax(0, 1fr); }
  2672. .retrievalResultMeta { grid-column: 2; justify-content: flex-start; }
  2673. .decisionComparison { overflow-x: auto; }
  2674. .comparisonHeader,
  2675. .comparisonRow { min-width: 30rem; }
  2676. .decisionComparison.hasHandling .comparisonHeader,
  2677. .decisionComparison.hasHandling .comparisonRow { min-width: 38rem; }
  2678. .runtimeUnit > summary { grid-template-columns: auto auto minmax(0, 1fr) auto; }
  2679. .runtimeUnit > summary small { display: none; }
  2680. .dataField { padding: var(--space-3); }
  2681. .mappingGroup li { align-items: start; grid-template-columns: 1fr; }
  2682. .sourceReferences { justify-content: flex-start; }
  2683. .unusedSources { align-items: flex-start; flex-direction: column; }
  2684. .promptDrawer { inset: 0; width: 100vw; border: 0; border-radius: 0; }
  2685. .promptDrawerBody { padding: var(--space-4); }
  2686. .errorBanner { left: .625rem; right: .625rem; bottom: .625rem; }
  2687. .scriptViewer { inset: 0; width: 100vw; height: 100dvh; border: 0; border-radius: 0; }
  2688. .scriptViewerHeader { min-height: 4.75rem; padding: var(--space-3) var(--space-4); }
  2689. .scriptViewerTitle h2 { font-size: var(--type-title); }
  2690. .scriptViewerHeaderActions .quietButton span { display: none; }
  2691. .scriptViewerHeaderActions .quietButton { width: 2.75rem; padding: 0; justify-content: center; }
  2692. .scriptViewerToolbar { min-height: 6.5rem; align-items: center; flex-wrap: wrap; padding: var(--space-2) var(--space-3); }
  2693. .scriptViewerTabs { height: 3rem; flex: 1 1 100%; }
  2694. .scriptViewerTabs button { flex: 1; min-width: 0; }
  2695. .scriptViewerVersion { flex: 1 1 100%; max-width: none; text-align: left; }
  2696. .scriptViewerBody { padding: var(--space-2); }
  2697. }
  2698. @media (prefers-reduced-motion: reduce) {
  2699. *,
  2700. *::before,
  2701. *::after {
  2702. scroll-behavior: auto !important;
  2703. animation-duration: .01ms !important;
  2704. animation-iteration-count: 1 !important;
  2705. transition-duration: .01ms !important;
  2706. }
  2707. .react-flow__edge.animated .react-flow__edge-path { animation: none !important; }
  2708. }
  2709. /* Inspector three-column source comparison workbench. */
  2710. .withLineageInspector .runHeader { right: var(--space-4); }
  2711. .withLineageInspector .workspace { grid-template-columns: minmax(0, 1fr); }
  2712. .inspectorWorkbenchBackdrop {
  2713. position: fixed;
  2714. z-index: calc(var(--z-drawer) - 1);
  2715. inset: 0;
  2716. background: rgba(7, 8, 10, .48);
  2717. backdrop-filter: blur(1px);
  2718. }
  2719. .inspectorWorkbench {
  2720. position: fixed;
  2721. inset: var(--space-3) var(--space-3) var(--space-3) auto;
  2722. width: min(96vw, 112rem);
  2723. height: auto;
  2724. max-height: none;
  2725. grid-template-rows: auto minmax(0, 1fr);
  2726. overflow: hidden;
  2727. border: 1px solid var(--border);
  2728. border-radius: var(--radius-lg);
  2729. background: #17191e;
  2730. box-shadow: 0 28px 90px rgba(0, 0, 0, .62);
  2731. }
  2732. .comparisonInspectorHeader {
  2733. min-height: 5rem;
  2734. padding: var(--space-3) var(--space-4);
  2735. background: #1d2026;
  2736. }
  2737. .comparisonInspectorTitle { min-width: 0; flex: 1; }
  2738. .comparisonInspectorTitle h2 { max-width: none; font-size: var(--type-title); }
  2739. .comparisonInspectorMeta { min-width: 0; display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-2); }
  2740. .comparisonInspectorActions { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-2); flex: none; }
  2741. .comparisonInspectorBody { display: block; padding: 0; overflow-y: auto; }
  2742. .inspectorComparison { min-width: 0; color: var(--text-secondary); }
  2743. .inspectorComparison .valueView {
  2744. max-height: none;
  2745. overflow-x: auto;
  2746. overflow-y: visible;
  2747. }
  2748. .comparisonToolbar {
  2749. position: sticky;
  2750. z-index: 4;
  2751. top: 0;
  2752. min-height: 3.25rem;
  2753. display: flex;
  2754. align-items: center;
  2755. justify-content: space-between;
  2756. gap: var(--space-3);
  2757. padding: var(--space-2) var(--space-4);
  2758. border-bottom: 1px solid var(--border);
  2759. background: #1b1e23;
  2760. }
  2761. .comparisonToolbar > div { min-width: 0; display: flex; align-items: center; gap: var(--space-2); }
  2762. .comparisonToolbar > div:first-child > svg { color: var(--info); }
  2763. .comparisonToolbar span { color: var(--text-secondary); font-size: var(--type-ui); font-weight: var(--weight-semibold); }
  2764. .comparisonCompleteness,
  2765. .sourceCompleteness {
  2766. display: inline-flex;
  2767. align-items: center;
  2768. min-height: 1.6rem;
  2769. padding: .125rem .5rem;
  2770. border: 1px solid var(--border);
  2771. border-radius: 999px;
  2772. color: var(--text-muted);
  2773. font-size: var(--type-caption);
  2774. font-weight: var(--weight-semibold);
  2775. white-space: nowrap;
  2776. }
  2777. .comparisonCompleteness.is-complete,
  2778. .sourceCompleteness.is-complete { border-color: rgba(99, 200, 131, .35); color: var(--success); }
  2779. .comparisonCompleteness.is-partial,
  2780. .sourceCompleteness.is-partial { border-color: rgba(244, 193, 82, .36); color: var(--warning); }
  2781. .comparisonCompleteness.is-missing,
  2782. .sourceCompleteness.is-missing { border-color: rgba(255, 128, 110, .36); color: var(--danger); }
  2783. .comparisonTextAction,
  2784. .comparisonInlineAction {
  2785. min-height: 2.25rem;
  2786. display: inline-flex;
  2787. align-items: center;
  2788. justify-content: center;
  2789. gap: .35rem;
  2790. padding: 0 var(--space-3);
  2791. border: 1px solid var(--border);
  2792. border-radius: var(--radius-sm);
  2793. background: var(--surface);
  2794. color: var(--text-secondary);
  2795. font-size: var(--type-label);
  2796. font-weight: var(--weight-semibold);
  2797. }
  2798. .comparisonTextAction:hover,
  2799. .comparisonInlineAction:hover { border-color: var(--border-strong); background: var(--surface-control); color: var(--text-primary); }
  2800. .comparisonNotices { display: grid; gap: var(--space-2); padding: var(--space-3) var(--space-4) 0; }
  2801. .comparisonNotices p { margin: 0; display: flex; align-items: flex-start; gap: var(--space-2); padding: var(--space-3); border: 1px solid rgba(123, 184, 255, .25); border-radius: var(--radius-sm); background: rgba(123, 184, 255, .04); color: var(--text-secondary); font-size: var(--type-ui); line-height: 1.6; }
  2802. .comparisonNotices p.is-warning { border-color: rgba(244, 193, 82, .28); color: #efd486; background: rgba(244, 193, 82, .04); }
  2803. .comparisonNotices p.is-error { border-color: rgba(255, 128, 110, .3); color: #ffb0a2; background: rgba(255, 128, 110, .04); }
  2804. .comparisonNotices svg { flex: none; margin-top: .25rem; }
  2805. .comparisonColumnHeaders {
  2806. position: sticky;
  2807. z-index: 3;
  2808. top: 3.25rem;
  2809. display: grid;
  2810. grid-template-columns: minmax(0, 42fr) minmax(0, 24fr) minmax(0, 34fr);
  2811. border-top: 1px solid var(--border-subtle);
  2812. border-bottom: 1px solid var(--border);
  2813. background: #20232a;
  2814. }
  2815. .comparisonColumnHeaders span { min-width: 0; padding: var(--space-3) var(--space-4); color: var(--text-primary); font-size: var(--type-ui); font-weight: var(--weight-semibold); }
  2816. .comparisonColumnHeaders span:first-child { color: var(--accent-hover); }
  2817. .comparisonColumnHeaders span:nth-child(2) { color: #9fcaff; border-left: 1px solid var(--border); }
  2818. .comparisonColumnHeaders span:nth-child(3) { color: #79d5c3; border-left: 1px solid var(--border); }
  2819. .comparisonModules { padding-bottom: var(--space-4); }
  2820. .comparisonModule { min-width: 0; border-bottom: 1px solid var(--border); }
  2821. .comparisonModuleHeader {
  2822. width: 100%;
  2823. min-height: 3.5rem;
  2824. display: grid;
  2825. grid-template-columns: auto auto minmax(0, 1fr) auto;
  2826. align-items: center;
  2827. gap: var(--space-2);
  2828. padding: var(--space-2) var(--space-4);
  2829. border: 0;
  2830. background: #1b1e23;
  2831. color: var(--text-secondary);
  2832. text-align: left;
  2833. }
  2834. .comparisonModuleHeader:hover { background: #22252b; color: var(--text-primary); }
  2835. .comparisonModuleHeader > svg { color: var(--text-muted); }
  2836. .comparisonModuleHeader strong { min-width: 0; color: var(--text-primary); font-size: var(--type-body); font-weight: var(--weight-semibold); overflow-wrap: anywhere; }
  2837. .comparisonModuleHeader small { color: var(--text-muted); font-size: var(--type-caption); white-space: nowrap; }
  2838. .moduleMarker {
  2839. display: inline-grid;
  2840. place-items: center;
  2841. min-width: 2.2rem;
  2842. height: 1.55rem;
  2843. padding: 0 .4rem;
  2844. border: 1px solid rgba(255, 109, 90, .34);
  2845. border-radius: .375rem;
  2846. background: rgba(255, 109, 90, .07);
  2847. color: var(--accent-hover);
  2848. font: var(--type-caption)/1 var(--font-mono);
  2849. }
  2850. .comparisonModuleGrid { min-width: 0; display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 30fr) minmax(0, 24fr); align-items: start; }
  2851. .comparisonColumnRegion { display: contents; }
  2852. .comparisonCell { min-width: 0; padding: var(--space-4); background: #181a1f; }
  2853. .comparisonCell + .comparisonCell { border-left: 1px solid var(--border); }
  2854. .businessModuleCell { background: rgba(255, 109, 90, .018); }
  2855. .evidenceCell { background: rgba(123, 184, 255, .018); }
  2856. .sourceRecordCell { background: rgba(88, 208, 185, .018); }
  2857. .comparisonBusinessValue { min-width: 0; display: grid; gap: var(--space-3); }
  2858. .businessSourceLinks { min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: var(--space-2); }
  2859. .businessSourceLinks > span { color: var(--text-muted); font-size: var(--type-caption); }
  2860. .businessDefinitionList { min-width: 0; display: grid; gap: var(--space-3); margin: 0; }
  2861. .businessDefinitionList > div { min-width: 0; display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--border-subtle); }
  2862. .businessDefinitionList > div:first-child { padding-top: 0; border-top: 0; }
  2863. .businessDefinitionList dt { color: var(--text-muted); font-size: var(--type-label); font-weight: var(--weight-medium); line-height: 1.65; }
  2864. .businessDefinitionList dd { min-width: 0; max-width: 72ch; margin: 0; color: var(--text-secondary); font-size: var(--type-ui); line-height: 1.72; overflow-wrap: anywhere; text-wrap: pretty; }
  2865. .businessDefinitionList .is-emphasis dd { color: var(--text-primary); font-size: var(--type-body); font-weight: var(--weight-semibold); }
  2866. .businessPlanRoutes { min-width: 0; display: grid; gap: var(--space-3); }
  2867. .businessPlanRoute { min-width: 0; padding: var(--space-4); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); background: rgba(255, 255, 255, .018); }
  2868. .businessPlanRoute > header { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); }
  2869. .businessPlanRoute > header > span { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 999px; background: rgba(255, 109, 90, .11); color: var(--accent-hover); font: var(--type-caption)/1 var(--font-mono); }
  2870. .businessPlanRoute > header > div { min-width: 0; display: flex; align-items: baseline; gap: var(--space-2); }
  2871. .businessPlanRoute h5,
  2872. .businessNarrative h5,
  2873. .businessRecordItem h5 { margin: 0; color: var(--text-primary); font-size: var(--type-body); font-weight: var(--weight-semibold); }
  2874. .businessPlanRoute header small { color: var(--text-muted); font-size: var(--type-caption); }
  2875. .businessPlanRoute dl { margin: 0; }
  2876. .businessRevisionSummary,
  2877. .businessRecordList { min-width: 0; display: grid; gap: var(--space-4); }
  2878. .businessNarrative { min-width: 0; padding-top: var(--space-3); border-top: 1px solid var(--border-subtle); }
  2879. .businessNarrative p,
  2880. .businessRecordItem p { max-width: 72ch; margin: var(--space-2) 0 0; color: var(--text-secondary); font-size: var(--type-ui); line-height: 1.72; overflow-wrap: anywhere; text-wrap: pretty; }
  2881. .businessRecordItem { min-width: 0; padding-bottom: var(--space-3); border-bottom: 1px solid var(--border-subtle); }
  2882. .businessBulletList { max-width: 72ch; margin: 0; padding-left: 1.25rem; color: var(--text-secondary); font-size: var(--type-ui); line-height: 1.72; }
  2883. .businessBulletList li + li { margin-top: var(--space-2); }
  2884. .comparisonBusinessItems { min-width: 0; display: grid; }
  2885. .comparisonBusinessItem { min-width: 0; display: grid; gap: var(--space-3); padding: var(--space-4) 0; border-top: 1px solid var(--border-subtle); }
  2886. .comparisonBusinessItem:first-child { padding-top: 0; border-top: 0; }
  2887. .comparisonBusinessItem:last-child { padding-bottom: 0; }
  2888. .comparisonBusinessItem > header { min-width: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3); }
  2889. .comparisonBusinessItem > header > div:first-child { min-width: 0; display: flex; align-items: baseline; gap: var(--space-2); }
  2890. .comparisonBusinessItem h4 { min-width: 0; margin: 0; color: var(--text-primary); font-size: var(--type-ui); font-weight: var(--weight-semibold); line-height: 1.5; overflow-wrap: anywhere; }
  2891. .businessItemId { color: var(--text-muted); font: var(--type-caption)/1 var(--font-mono); }
  2892. .comparisonReadableText { max-width: 72ch; color: var(--text-secondary); font-size: var(--type-ui); line-height: 1.72; overflow-wrap: anywhere; text-wrap: pretty; }
  2893. .comparisonReadableText > :first-child { margin-top: 0; }
  2894. .comparisonReadableText > :last-child { margin-bottom: 0; }
  2895. .comparisonReadableText h2,
  2896. .comparisonReadableText h3 { color: var(--text-primary); font-size: var(--type-body); }
  2897. .comparisonEmptyValue { margin: 0; color: var(--text-muted); font-size: var(--type-ui); line-height: 1.65; }
  2898. .comparisonInlineAction { width: fit-content; }
  2899. .bindingBadgeRow { min-width: 0; display: flex; justify-content: flex-end; gap: var(--space-1); flex-wrap: wrap; }
  2900. .bindingBadge {
  2901. min-height: 2.75rem;
  2902. display: inline-flex;
  2903. align-items: center;
  2904. gap: .35rem;
  2905. padding: .25rem .75rem;
  2906. border: 1px solid rgba(123, 184, 255, .32);
  2907. border-radius: 999px;
  2908. background: rgba(123, 184, 255, .06);
  2909. color: #afd2ff;
  2910. font-size: var(--type-label);
  2911. font-weight: var(--weight-semibold);
  2912. line-height: 1.25;
  2913. text-align: left;
  2914. }
  2915. .bindingBadge.is-compact { width: 2.75rem; min-width: 2.75rem; padding: 0; justify-content: center; }
  2916. .bindingBadge.is-compact > svg { display: none; }
  2917. .bindingMarker { color: inherit; font-family: var(--font-mono); }
  2918. .bindingBadge:hover,
  2919. .bindingBadge.is-active { border-color: var(--info); background: rgba(123, 184, 255, .16); color: #d6e9ff; box-shadow: 0 0 0 2px rgba(123, 184, 255, .08); }
  2920. .bindingBadge.is-adopted { border-color: rgba(99, 200, 131, .36); color: #91dca8; background: rgba(99, 200, 131, .07); }
  2921. .bindingBadge.is-rejected { border-color: var(--border-strong); color: var(--text-secondary); background: rgba(174, 178, 187, .06); }
  2922. .bindingBadge.is-available { border-color: rgba(244, 193, 82, .36); color: #efd486; background: rgba(244, 193, 82, .06); }
  2923. .bindingBadge.is-calculated { border-color: rgba(183, 160, 235, .38); color: #cabaf0; background: rgba(183, 160, 235, .07); }
  2924. .bindingBadge.is-missing { border-color: rgba(255, 128, 110, .38); color: #ffb0a2; background: rgba(255, 128, 110, .06); }
  2925. .bindingBadge.is-unsafe { border-color: rgba(244, 193, 82, .38); color: #efd486; background: rgba(244, 193, 82, .06); }
  2926. .bindingBadge.is-partial { border-color: rgba(183, 160, 235, .38); color: #cabaf0; background: rgba(183, 160, 235, .07); }
  2927. .bindingBadge.is-fallback { border-color: rgba(174, 178, 187, .34); color: var(--text-secondary); }
  2928. .evidenceList { min-width: 0; display: grid; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
  2929. .evidenceList > li { min-width: 0; display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); align-items: start; gap: var(--space-2); padding: var(--space-3); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); background: rgba(32, 34, 40, .55); transition: border-color 160ms var(--ease-out), background 160ms var(--ease-out); }
  2930. .evidenceList > li.is-active { border-color: rgba(123, 184, 255, .62); background: rgba(123, 184, 255, .08); }
  2931. .evidenceCopy { min-width: 0; display: grid; gap: .3rem; }
  2932. .evidenceCopy strong { color: var(--text-primary); font-size: var(--type-label); line-height: 1.45; overflow-wrap: anywhere; }
  2933. .evidenceCopy code { color: #a9cfff; font: var(--type-caption)/1.55 var(--font-mono); overflow-wrap: anywhere; }
  2934. .evidenceCopy span { color: var(--text-muted); font-size: var(--type-caption); line-height: 1.5; }
  2935. .sourceRecordCell { display: grid; align-content: start; gap: var(--space-3); }
  2936. .sourceRecord { min-width: 0; display: grid; gap: var(--space-3); padding: var(--space-3); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); background: rgba(32, 34, 40, .55); transition: border-color 160ms var(--ease-out), background 160ms var(--ease-out); }
  2937. .sourceRecord.is-active { border-color: rgba(88, 208, 185, .62); background: rgba(88, 208, 185, .07); }
  2938. .sourceRecord > header { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: var(--space-2); }
  2939. .sourceRecord > header > svg { margin-top: .2rem; color: #79d5c3; }
  2940. .sourceRecord > header > div { min-width: 0; display: grid; gap: .2rem; }
  2941. .sourceRecord > header strong { color: var(--text-primary); font-size: var(--type-label); line-height: 1.45; overflow-wrap: anywhere; }
  2942. .sourceRecord > header small { color: #8ccfc2; font-size: var(--type-caption); }
  2943. .sourceBindingMarkers { display: flex; gap: var(--space-1); flex-wrap: wrap; }
  2944. .sourceBindingMarkers button { min-width: 2.75rem; height: 2.75rem; padding: 0 .55rem; border: 1px solid rgba(88, 208, 185, .3); border-radius: .45rem; background: rgba(88, 208, 185, .05); color: #93ded0; font: var(--type-label)/1 var(--font-mono); }
  2945. .sourceBindingMarkers button:hover,
  2946. .sourceBindingMarkers button.is-active { border-color: #79d5c3; background: rgba(88, 208, 185, .15); color: #d2fff6; }
  2947. .sourceMeta { min-width: 0; display: grid; gap: .4rem; margin: 0; }
  2948. .sourceMeta > div { min-width: 0; display: grid; grid-template-columns: 4.75rem minmax(0, 1fr); gap: var(--space-2); }
  2949. .sourceMeta dt { color: var(--text-muted); font-size: var(--type-caption); }
  2950. .sourceMeta dd { min-width: 0; margin: 0; color: var(--text-secondary); font-size: var(--type-caption); overflow-wrap: anywhere; }
  2951. .sourceMeta code { color: #a8e2d7; font: var(--type-caption)/1.5 var(--font-mono); overflow-wrap: anywhere; }
  2952. .selectedSourceValues { min-width: 0; padding-top: var(--space-2); border-top: 1px solid var(--border-subtle); }
  2953. .selectedSourceValues > summary { min-height: 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); color: #79d5c3; font-size: var(--type-label); font-weight: var(--weight-semibold); cursor: pointer; list-style: none; }
  2954. .selectedSourceValues > summary::-webkit-details-marker { display: none; }
  2955. .selectedSourceValues > summary small { color: var(--text-muted); font-size: var(--type-caption); font-weight: var(--weight-regular); }
  2956. .selectedSourceValues > .comparisonLongValue,
  2957. .selectedSourceValues > .valueView { margin-top: var(--space-2); }
  2958. .sourceMissingReason { margin: 0; color: #ffb0a2; font-size: var(--type-ui); line-height: 1.6; overflow-wrap: anywhere; }
  2959. .sourceMissingReason code { font-family: var(--font-mono); }
  2960. .unboundRuntimeRefs { min-width: 0; display: grid; gap: var(--space-2); padding: var(--space-3); border: 1px dashed var(--border); border-radius: var(--radius-sm); }
  2961. .unboundRuntimeRefs strong { color: var(--text-primary); font-size: var(--type-label); }
  2962. .unboundRuntimeRefs code { color: var(--text-muted); font: var(--type-caption)/1.5 var(--font-mono); overflow-wrap: anywhere; }
  2963. .comparisonLongValue { min-width: 0; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); overflow: hidden; }
  2964. .comparisonLongValue > summary { min-height: 2.75rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-2); padding: var(--space-3); color: var(--text-secondary); cursor: pointer; list-style: none; }
  2965. .comparisonLongValue > summary::-webkit-details-marker,
  2966. .rawRecordDisclosure > summary::-webkit-details-marker { display: none; }
  2967. .comparisonLongValue > summary:hover,
  2968. .rawRecordDisclosure > summary:hover { background: rgba(255, 255, 255, .025); }
  2969. .comparisonDisclosureTitle { min-width: 0; display: flex; align-items: center; gap: var(--space-2); }
  2970. .comparisonDisclosureTitle svg { flex: none; color: var(--text-muted); transition: transform 180ms var(--ease-out); }
  2971. .comparisonLongValue[open] .comparisonDisclosureTitle svg { transform: rotate(90deg); }
  2972. .comparisonDisclosureTitle strong { color: var(--text-primary); font-size: var(--type-label); }
  2973. .comparisonLongValue > summary > small { color: var(--text-muted); font: var(--type-caption)/1.4 var(--font-mono); white-space: nowrap; }
  2974. .comparisonDisclosurePreview { grid-column: 1 / -1; color: var(--text-secondary); font-size: var(--type-ui); font-weight: var(--weight-regular); line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
  2975. .comparisonDisclosureBody { padding: var(--space-3); border-top: 1px solid var(--border-subtle); }
  2976. .comparisonDisclosureBody .valueView,
  2977. .selectedSourceValues .valueView { max-height: none; margin: 0; }
  2978. .rawRecordDisclosure { min-width: 0; border-top: 1px solid var(--border-subtle); }
  2979. .rawRecordDisclosure > summary { min-height: 2.75rem; display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); color: var(--text-secondary); font-size: var(--type-label); cursor: pointer; list-style: none; }
  2980. .rawRecordDisclosure > summary small { color: var(--text-muted); font-size: var(--type-caption); }
  2981. .rawRecordDisclosure > div { padding-top: var(--space-2); }
  2982. .comparisonLongValue > summary:focus-visible,
  2983. .rawRecordDisclosure > summary:focus-visible,
  2984. .comparisonModuleHeader:focus-visible,
  2985. .bindingBadge:focus-visible,
  2986. .sourceBindingMarkers button:focus-visible {
  2987. outline: 2px solid var(--info);
  2988. outline-offset: 2px;
  2989. }
  2990. .comparisonState { min-height: 22rem; display: grid; place-content: center; justify-items: center; gap: var(--space-2); padding: var(--space-5); color: var(--warning); text-align: center; }
  2991. .comparisonState h3 { margin: var(--space-1) 0 0; color: var(--text-primary); font-size: var(--type-title); }
  2992. .comparisonState p { max-width: 45rem; margin: 0; color: var(--text-muted); font-size: var(--type-ui); line-height: 1.65; }
  2993. .comparisonSkeleton { min-height: 24rem; display: grid; grid-template-columns: 42fr 24fr 34fr; gap: 1px; background: var(--border); }
  2994. .comparisonSkeleton > * { min-height: 8rem; background: var(--surface); animation: dataFlowPulse 1.5s ease-in-out infinite alternate; }
  2995. .comparisonSkeleton > div { grid-column: 1 / -1; min-height: 3.5rem; }
  2996. /* One business item, its evidence and its exact source share one physical row. */
  2997. .comparisonItemRows { min-width: 0; }
  2998. .comparisonItemRow {
  2999. min-width: 0;
  3000. display: grid;
  3001. grid-template-columns: minmax(0, 42fr) minmax(0, 24fr) minmax(0, 34fr);
  3002. align-items: stretch;
  3003. border-top: 1px solid var(--border-subtle);
  3004. background: #181a1f;
  3005. }
  3006. .comparisonItemRow:first-child { border-top: 0; }
  3007. .comparisonItemRow.is-active { background: rgba(123, 184, 255, .035); }
  3008. .comparisonItemBusiness,
  3009. .comparisonItemEvidence,
  3010. .comparisonItemSource {
  3011. min-width: 0;
  3012. padding: var(--space-4);
  3013. }
  3014. .comparisonItemEvidence,
  3015. .comparisonItemSource { border-left: 1px solid var(--border); }
  3016. .comparisonItemBusiness { background: rgba(255, 109, 90, .018); }
  3017. .comparisonItemEvidence { display: grid; align-content: start; gap: var(--space-3); background: rgba(123, 184, 255, .018); }
  3018. .comparisonItemSource { display: grid; align-content: start; gap: var(--space-3); background: rgba(88, 208, 185, .018); }
  3019. .comparisonItemBusiness > h4 {
  3020. max-width: 72ch;
  3021. margin: 0 0 var(--space-3);
  3022. color: var(--accent-hover);
  3023. font-size: var(--type-ui);
  3024. font-weight: var(--weight-semibold);
  3025. line-height: 1.5;
  3026. text-wrap: pretty;
  3027. }
  3028. .comparisonItemBusiness .comparisonReadableText,
  3029. .comparisonItemBusiness .businessDefinitionList dd,
  3030. .comparisonItemBusiness .businessNarrative p,
  3031. .comparisonItemBusiness .businessRecordItem p { font-size: var(--type-body); line-height: 1.72; }
  3032. .comparisonEvidenceSummary {
  3033. min-width: 0;
  3034. display: grid;
  3035. grid-template-columns: auto minmax(0, 1fr);
  3036. align-items: start;
  3037. gap: var(--space-2);
  3038. padding-bottom: var(--space-3);
  3039. border-bottom: 1px solid var(--border-subtle);
  3040. }
  3041. .comparisonEvidenceSummary:last-child { padding-bottom: 0; border-bottom: 0; }
  3042. .comparisonEvidenceSummary.is-active { color: var(--text-primary); }
  3043. .comparisonEvidenceCopy { min-width: 0; display: grid; gap: .3rem; }
  3044. .comparisonEvidenceCopy > strong { color: var(--text-primary); font-size: var(--type-label); line-height: 1.45; overflow-wrap: anywhere; }
  3045. .comparisonEvidenceCopy > span { color: #afd2ff; font-size: var(--type-ui); font-weight: var(--weight-semibold); line-height: 1.5; }
  3046. .comparisonEvidenceCopy > small { color: var(--text-muted); font-size: var(--type-caption); line-height: 1.5; }
  3047. .comparisonLocatorDetails { min-width: 0; margin-top: var(--space-1); }
  3048. .comparisonLocatorDetails > summary {
  3049. width: fit-content;
  3050. min-height: 2rem;
  3051. display: flex;
  3052. align-items: center;
  3053. color: var(--text-muted);
  3054. font-size: var(--type-caption);
  3055. cursor: pointer;
  3056. }
  3057. .comparisonLocatorDetails[open] > summary { color: #afd2ff; }
  3058. .comparisonLocatorDetails > code,
  3059. .comparisonLocatorDetails > small { display: block; margin-top: .35rem; color: var(--text-muted); font: var(--type-caption)/1.55 var(--font-mono); overflow-wrap: anywhere; }
  3060. .comparisonSourceExcerpt {
  3061. min-width: 0;
  3062. display: grid;
  3063. gap: var(--space-3);
  3064. padding-bottom: var(--space-3);
  3065. border-bottom: 1px solid var(--border-subtle);
  3066. }
  3067. .comparisonSourceExcerpt:last-child { padding-bottom: 0; border-bottom: 0; }
  3068. .comparisonSourceExcerpt > header {
  3069. min-width: 0;
  3070. display: grid;
  3071. grid-template-columns: auto minmax(0, 1fr) auto;
  3072. align-items: start;
  3073. gap: var(--space-2);
  3074. }
  3075. .comparisonSourceExcerpt > header > svg { margin-top: .2rem; color: #79d5c3; }
  3076. .comparisonSourceExcerpt > header > div { min-width: 0; display: grid; gap: .2rem; }
  3077. .comparisonSourceExcerpt > header strong { color: var(--text-primary); font-size: var(--type-label); line-height: 1.45; overflow-wrap: anywhere; }
  3078. .comparisonSourceExcerpt > header small { color: #8ccfc2; font-size: var(--type-caption); }
  3079. .sourceExcerptMarker {
  3080. display: inline-grid;
  3081. place-items: center;
  3082. min-width: 2.75rem;
  3083. height: 2.75rem;
  3084. padding: 0 .55rem;
  3085. border: 1px solid rgba(88, 208, 185, .3);
  3086. border-radius: .45rem;
  3087. background: rgba(88, 208, 185, .05);
  3088. color: #93ded0;
  3089. font: var(--type-label)/1 var(--font-mono);
  3090. }
  3091. .sourceEmptyResult {
  3092. display: grid;
  3093. gap: .25rem;
  3094. padding: var(--space-3);
  3095. border: 1px solid rgba(99, 200, 131, .3);
  3096. border-radius: var(--radius-sm);
  3097. background: rgba(99, 200, 131, .055);
  3098. }
  3099. .sourceEmptyResult strong { color: var(--success); font-size: var(--type-ui); }
  3100. .sourceEmptyResult span { color: var(--text-secondary); font-size: var(--type-caption); }
  3101. .comparisonTextExcerpt {
  3102. max-width: 72ch;
  3103. margin: 0;
  3104. color: var(--text-muted);
  3105. font-size: var(--type-ui);
  3106. line-height: 1.75;
  3107. white-space: pre-wrap;
  3108. overflow-wrap: anywhere;
  3109. }
  3110. .comparisonTextExcerpt mark {
  3111. padding: .08em .2em;
  3112. border-radius: .2rem;
  3113. background: rgba(88, 208, 185, .18);
  3114. color: #d8fff7;
  3115. }
  3116. .sourceMemberList { min-width: 0; display: grid; gap: var(--space-3); }
  3117. .sourceMemberList > section { min-width: 0; display: grid; gap: var(--space-2); padding-top: var(--space-3); border-top: 1px solid var(--border-subtle); }
  3118. .sourceMemberList > section:first-child { padding-top: 0; border-top: 0; }
  3119. .sourceMemberList > section > strong { color: var(--text-primary); font-size: var(--type-label); overflow-wrap: anywhere; }
  3120. @media (max-width: 1099px) {
  3121. .inspectorWorkbench { inset: var(--space-2); width: auto; }
  3122. .comparisonColumnHeaders { display: none; }
  3123. .comparisonModuleGrid { grid-template-columns: 1fr; }
  3124. .comparisonItemRow { grid-template-columns: 1fr; }
  3125. .comparisonItemEvidence,
  3126. .comparisonItemSource { border-top: 1px solid var(--border); border-left: 0; }
  3127. .comparisonItemBusiness::before,
  3128. .comparisonItemEvidence::before,
  3129. .comparisonItemSource::before { display: block; margin-bottom: var(--space-3); font-size: var(--type-ui); font-weight: var(--weight-semibold); }
  3130. .comparisonItemBusiness::before { color: var(--accent-hover); content: "业务详情中的内容"; }
  3131. .comparisonItemEvidence::before { color: #9fcaff; content: "这一项的数据依据"; }
  3132. .comparisonItemSource::before { color: #79d5c3; content: "对应的原始字段或原文"; }
  3133. .comparisonCell + .comparisonCell { border-top: 1px solid var(--border); border-left: 0; }
  3134. .comparisonCell::before { display: block; margin-bottom: var(--space-3); font-size: var(--type-ui); font-weight: var(--weight-semibold); }
  3135. .businessModuleCell::before { color: var(--accent-hover); content: "业务详情"; }
  3136. .evidenceCell::before { color: #9fcaff; content: "数据依据"; }
  3137. .sourceRecordCell::before { color: #79d5c3; content: "原始记录与运行"; }
  3138. .comparisonSkeleton { grid-template-columns: 1fr; }
  3139. .comparisonSkeleton > div { grid-column: 1; }
  3140. }
  3141. @media (max-width: 1099px) {
  3142. .bindingBadge,
  3143. .bindingBadge.is-compact,
  3144. .sourceBindingMarkers button { min-width: 2.75rem; width: auto; height: 2.75rem; min-height: 2.75rem; }
  3145. }
  3146. @media (max-width: 767px) {
  3147. .inspectorWorkbench { inset: 0; width: 100%; height: 100dvh; border: 0; border-radius: 0; }
  3148. .comparisonInspectorHeader { align-items: flex-start; flex-wrap: wrap; }
  3149. .comparisonInspectorTitle { order: 1; flex: 1 1 calc(100% - 7rem); }
  3150. .comparisonInspectorActions { order: 2; }
  3151. .comparisonInspectorActions .quietButton { width: 2.75rem; padding: 0; }
  3152. .comparisonInspectorActions .quietButton:not(:last-child) { font-size: 0; }
  3153. .comparisonInspectorActions .quietButton svg { margin: 0; }
  3154. .inspectorHeaderActions .quietButton { width: 2.75rem; padding: 0; font-size: 0; }
  3155. .inspectorHeaderActions .quietButton svg { margin: 0; }
  3156. .comparisonToolbar { align-items: flex-start; }
  3157. .comparisonToolbar > div:last-child { justify-content: flex-end; flex-wrap: wrap; }
  3158. .comparisonTextAction { min-height: 2.75rem; }
  3159. .comparisonModuleHeader { grid-template-columns: auto auto minmax(0, 1fr); }
  3160. .comparisonModuleHeader small { grid-column: 3; }
  3161. .comparisonCell { padding: var(--space-3); }
  3162. .comparisonBusinessItem > header { flex-direction: column; }
  3163. .businessDefinitionList > div { grid-template-columns: 1fr; gap: .25rem; }
  3164. .bindingBadgeRow { justify-content: flex-start; }
  3165. .evidenceList > li { grid-template-columns: 1fr; }
  3166. .sourceMeta > div { grid-template-columns: 1fr; gap: .15rem; }
  3167. }
  3168. @media (prefers-reduced-motion: reduce) {
  3169. .comparisonDisclosureTitle svg,
  3170. .sourceRecord,
  3171. .evidenceList > li { transition: none !important; }
  3172. }