sendproof-core 0.1.0.alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (229) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +21 -0
  3. data/README.md +55 -0
  4. data/lib/sendproof/assets.rb +70 -0
  5. data/lib/sendproof/attribution.rb +98 -0
  6. data/lib/sendproof/capture.rb +66 -0
  7. data/lib/sendproof/clock.rb +54 -0
  8. data/lib/sendproof/configuration.rb +241 -0
  9. data/lib/sendproof/data_store.rb +34 -0
  10. data/lib/sendproof/dynamodb/store.rb +183 -0
  11. data/lib/sendproof/dynamodb.rb +17 -0
  12. data/lib/sendproof/elasticsearch/store.rb +24 -0
  13. data/lib/sendproof/elasticsearch.rb +17 -0
  14. data/lib/sendproof/firestore/interceptor.rb +38 -0
  15. data/lib/sendproof/firestore/store.rb +150 -0
  16. data/lib/sendproof/firestore.rb +99 -0
  17. data/lib/sendproof/handler.rb +23 -0
  18. data/lib/sendproof/identity.rb +37 -0
  19. data/lib/sendproof/limits.rb +113 -0
  20. data/lib/sendproof/middleware.rb +68 -0
  21. data/lib/sendproof/mongo/engine.rb +692 -0
  22. data/lib/sendproof/mongo/guarded.rb +100 -0
  23. data/lib/sendproof/mongo/plain.rb +45 -0
  24. data/lib/sendproof/mongo/store.rb +54 -0
  25. data/lib/sendproof/mongo/subscriber.rb +21 -0
  26. data/lib/sendproof/mongo.rb +41 -0
  27. data/lib/sendproof/mongoid/store.rb +58 -0
  28. data/lib/sendproof/mongoid.rb +65 -0
  29. data/lib/sendproof/observed_request.rb +108 -0
  30. data/lib/sendproof/opensearch/store.rb +21 -0
  31. data/lib/sendproof/opensearch.rb +17 -0
  32. data/lib/sendproof/operation_matcher.rb +28 -0
  33. data/lib/sendproof/pool_hooks.rb +80 -0
  34. data/lib/sendproof/preview_request.rb +44 -0
  35. data/lib/sendproof/preview_transport.rb +331 -0
  36. data/lib/sendproof/protocol.rb +81 -0
  37. data/lib/sendproof/provider.rb +83 -0
  38. data/lib/sendproof/recorder.rb +298 -0
  39. data/lib/sendproof/redaction.rb +98 -0
  40. data/lib/sendproof/redis/commands.rb +76 -0
  41. data/lib/sendproof/redis/store.rb +205 -0
  42. data/lib/sendproof/redis.rb +18 -0
  43. data/lib/sendproof/search/middleware.rb +39 -0
  44. data/lib/sendproof/search/store.rb +213 -0
  45. data/lib/sendproof/search.rb +82 -0
  46. data/lib/sendproof/stores/classify.rb +346 -0
  47. data/lib/sendproof/stores/guard.rb +127 -0
  48. data/lib/sendproof/stores/tables.rb +1328 -0
  49. data/lib/sendproof/stores.rb +12 -0
  50. data/lib/sendproof/trace_store.rb +110 -0
  51. data/lib/sendproof/transaction_control.rb +187 -0
  52. data/lib/sendproof/ui/action-bar.js +91 -0
  53. data/lib/sendproof/ui/api.js +239 -0
  54. data/lib/sendproof/ui/app.css +848 -0
  55. data/lib/sendproof/ui/app.js +742 -0
  56. data/lib/sendproof/ui/autofill.js +137 -0
  57. data/lib/sendproof/ui/code-copy.js +71 -0
  58. data/lib/sendproof/ui/code-picker.js +149 -0
  59. data/lib/sendproof/ui/commands.js +197 -0
  60. data/lib/sendproof/ui/components.js +77 -0
  61. data/lib/sendproof/ui/context-bar.js +82 -0
  62. data/lib/sendproof/ui/copy.js +92 -0
  63. data/lib/sendproof/ui/coverage-popover.js +35 -0
  64. data/lib/sendproof/ui/crumb-fit.js +80 -0
  65. data/lib/sendproof/ui/deprecation.js +164 -0
  66. data/lib/sendproof/ui/display-settings.js +175 -0
  67. data/lib/sendproof/ui/doc-diff.js +209 -0
  68. data/lib/sendproof/ui/docs-view.js +347 -0
  69. data/lib/sendproof/ui/favicon.png +0 -0
  70. data/lib/sendproof/ui/favicon.svg +1 -0
  71. data/lib/sendproof/ui/field-help.js +52 -0
  72. data/lib/sendproof/ui/field-modules.js +23 -0
  73. data/lib/sendproof/ui/fields/controls.js +179 -0
  74. data/lib/sendproof/ui/fields/dom.js +36 -0
  75. data/lib/sendproof/ui/fields/infer.js +71 -0
  76. data/lib/sendproof/ui/fields/lookup-source.js +63 -0
  77. data/lib/sendproof/ui/fields/lookup.js +285 -0
  78. data/lib/sendproof/ui/fields/render.js +496 -0
  79. data/lib/sendproof/ui/fields/select.js +175 -0
  80. data/lib/sendproof/ui/fields/validate.js +363 -0
  81. data/lib/sendproof/ui/fields/validation-formats.js +164 -0
  82. data/lib/sendproof/ui/fields/validation-references.js +68 -0
  83. data/lib/sendproof/ui/fields/validation-values.js +137 -0
  84. data/lib/sendproof/ui/generate-menu.js +44 -0
  85. data/lib/sendproof/ui/generate.js +184 -0
  86. data/lib/sendproof/ui/header-editor.js +777 -0
  87. data/lib/sendproof/ui/headers.js +188 -0
  88. data/lib/sendproof/ui/highlight.js +257 -0
  89. data/lib/sendproof/ui/history-popover.js +24 -0
  90. data/lib/sendproof/ui/i18n.js +253 -0
  91. data/lib/sendproof/ui/icons.js +87 -0
  92. data/lib/sendproof/ui/index.html +70 -0
  93. data/lib/sendproof/ui/issues.js +187 -0
  94. data/lib/sendproof/ui/json-view.js +166 -0
  95. data/lib/sendproof/ui/lang-icons.js +62 -0
  96. data/lib/sendproof/ui/layout.js +262 -0
  97. data/lib/sendproof/ui/listbox.js +334 -0
  98. data/lib/sendproof/ui/locales/ar-capture.js +366 -0
  99. data/lib/sendproof/ui/locales/ar-stores.js +116 -0
  100. data/lib/sendproof/ui/locales/ar.js +561 -0
  101. data/lib/sendproof/ui/locales/cs-capture.js +442 -0
  102. data/lib/sendproof/ui/locales/cs-stores.js +116 -0
  103. data/lib/sendproof/ui/locales/cs.js +689 -0
  104. data/lib/sendproof/ui/locales/da-capture.js +347 -0
  105. data/lib/sendproof/ui/locales/da-stores.js +116 -0
  106. data/lib/sendproof/ui/locales/da.js +522 -0
  107. data/lib/sendproof/ui/locales/de-capture.js +347 -0
  108. data/lib/sendproof/ui/locales/de-stores.js +116 -0
  109. data/lib/sendproof/ui/locales/de.js +519 -0
  110. data/lib/sendproof/ui/locales/el-capture.js +347 -0
  111. data/lib/sendproof/ui/locales/el-stores.js +116 -0
  112. data/lib/sendproof/ui/locales/el.js +520 -0
  113. data/lib/sendproof/ui/locales/en-capture.js +349 -0
  114. data/lib/sendproof/ui/locales/en-stores.js +95 -0
  115. data/lib/sendproof/ui/locales/en.js +522 -0
  116. data/lib/sendproof/ui/locales/es-capture.js +353 -0
  117. data/lib/sendproof/ui/locales/es-stores.js +116 -0
  118. data/lib/sendproof/ui/locales/es.js +525 -0
  119. data/lib/sendproof/ui/locales/fa-capture.js +348 -0
  120. data/lib/sendproof/ui/locales/fa-stores.js +116 -0
  121. data/lib/sendproof/ui/locales/fa.js +521 -0
  122. data/lib/sendproof/ui/locales/fi-capture.js +347 -0
  123. data/lib/sendproof/ui/locales/fi-stores.js +116 -0
  124. data/lib/sendproof/ui/locales/fi.js +523 -0
  125. data/lib/sendproof/ui/locales/fr-capture.js +353 -0
  126. data/lib/sendproof/ui/locales/fr-stores.js +116 -0
  127. data/lib/sendproof/ui/locales/fr.js +525 -0
  128. data/lib/sendproof/ui/locales/he-capture.js +358 -0
  129. data/lib/sendproof/ui/locales/he-stores.js +116 -0
  130. data/lib/sendproof/ui/locales/he.js +529 -0
  131. data/lib/sendproof/ui/locales/hi-capture.js +348 -0
  132. data/lib/sendproof/ui/locales/hi-stores.js +116 -0
  133. data/lib/sendproof/ui/locales/hi.js +523 -0
  134. data/lib/sendproof/ui/locales/id-capture.js +347 -0
  135. data/lib/sendproof/ui/locales/id-stores.js +116 -0
  136. data/lib/sendproof/ui/locales/id.js +521 -0
  137. data/lib/sendproof/ui/locales/it-capture.js +361 -0
  138. data/lib/sendproof/ui/locales/it-stores.js +116 -0
  139. data/lib/sendproof/ui/locales/it.js +523 -0
  140. data/lib/sendproof/ui/locales/ja-capture.js +346 -0
  141. data/lib/sendproof/ui/locales/ja-stores.js +116 -0
  142. data/lib/sendproof/ui/locales/ja.js +521 -0
  143. data/lib/sendproof/ui/locales/ko-capture.js +346 -0
  144. data/lib/sendproof/ui/locales/ko-stores.js +116 -0
  145. data/lib/sendproof/ui/locales/ko.js +522 -0
  146. data/lib/sendproof/ui/locales/nb-capture.js +349 -0
  147. data/lib/sendproof/ui/locales/nb-stores.js +116 -0
  148. data/lib/sendproof/ui/locales/nb.js +521 -0
  149. data/lib/sendproof/ui/locales/nl-capture.js +355 -0
  150. data/lib/sendproof/ui/locales/nl-stores.js +116 -0
  151. data/lib/sendproof/ui/locales/nl.js +520 -0
  152. data/lib/sendproof/ui/locales/pl-capture.js +432 -0
  153. data/lib/sendproof/ui/locales/pl-stores.js +116 -0
  154. data/lib/sendproof/ui/locales/pl.js +528 -0
  155. data/lib/sendproof/ui/locales/pt-BR-capture.js +350 -0
  156. data/lib/sendproof/ui/locales/pt-BR-stores.js +116 -0
  157. data/lib/sendproof/ui/locales/pt-BR.js +523 -0
  158. data/lib/sendproof/ui/locales/pt-PT-capture.js +350 -0
  159. data/lib/sendproof/ui/locales/pt-PT-stores.js +116 -0
  160. data/lib/sendproof/ui/locales/pt-PT.js +523 -0
  161. data/lib/sendproof/ui/locales/ru-capture.js +437 -0
  162. data/lib/sendproof/ui/locales/ru-stores.js +116 -0
  163. data/lib/sendproof/ui/locales/ru.js +624 -0
  164. data/lib/sendproof/ui/locales/sv-capture.js +349 -0
  165. data/lib/sendproof/ui/locales/sv-stores.js +116 -0
  166. data/lib/sendproof/ui/locales/sv.js +518 -0
  167. data/lib/sendproof/ui/locales/th-capture.js +347 -0
  168. data/lib/sendproof/ui/locales/th-stores.js +116 -0
  169. data/lib/sendproof/ui/locales/th.js +521 -0
  170. data/lib/sendproof/ui/locales/tr-capture.js +348 -0
  171. data/lib/sendproof/ui/locales/tr-stores.js +116 -0
  172. data/lib/sendproof/ui/locales/tr.js +521 -0
  173. data/lib/sendproof/ui/locales/uk-capture.js +442 -0
  174. data/lib/sendproof/ui/locales/uk-stores.js +116 -0
  175. data/lib/sendproof/ui/locales/uk.js +630 -0
  176. data/lib/sendproof/ui/locales/vi-capture.js +346 -0
  177. data/lib/sendproof/ui/locales/vi-stores.js +116 -0
  178. data/lib/sendproof/ui/locales/vi.js +523 -0
  179. data/lib/sendproof/ui/locales/zh-Hans-capture.js +347 -0
  180. data/lib/sendproof/ui/locales/zh-Hans-stores.js +116 -0
  181. data/lib/sendproof/ui/locales/zh-Hans.js +523 -0
  182. data/lib/sendproof/ui/locales/zh-Hant-capture.js +346 -0
  183. data/lib/sendproof/ui/locales/zh-Hant-stores.js +116 -0
  184. data/lib/sendproof/ui/locales/zh-Hant.js +522 -0
  185. data/lib/sendproof/ui/manifest.json +866 -0
  186. data/lib/sendproof/ui/markdown.js +39 -0
  187. data/lib/sendproof/ui/model-view.js +182 -0
  188. data/lib/sendproof/ui/navigation.js +233 -0
  189. data/lib/sendproof/ui/operation-header.js +76 -0
  190. data/lib/sendproof/ui/operations.js +7 -0
  191. data/lib/sendproof/ui/overview-view.js +63 -0
  192. data/lib/sendproof/ui/personas.js +59 -0
  193. data/lib/sendproof/ui/popover.js +71 -0
  194. data/lib/sendproof/ui/preview-false.js +108 -0
  195. data/lib/sendproof/ui/request-editor.js +496 -0
  196. data/lib/sendproof/ui/response-metadata.js +354 -0
  197. data/lib/sendproof/ui/response-viewer.js +618 -0
  198. data/lib/sendproof/ui/result-blocked.js +155 -0
  199. data/lib/sendproof/ui/result-capture.js +25 -0
  200. data/lib/sendproof/ui/result-database.js +185 -0
  201. data/lib/sendproof/ui/result-effects.js +176 -0
  202. data/lib/sendproof/ui/result-headers.js +106 -0
  203. data/lib/sendproof/ui/result-logs.js +408 -0
  204. data/lib/sendproof/ui/result-states.js +213 -0
  205. data/lib/sendproof/ui/results.js +371 -0
  206. data/lib/sendproof/ui/router.js +118 -0
  207. data/lib/sendproof/ui/schema-model.js +336 -0
  208. data/lib/sendproof/ui/schema-tree.js +344 -0
  209. data/lib/sendproof/ui/schema.js +397 -0
  210. data/lib/sendproof/ui/security.js +31 -0
  211. data/lib/sendproof/ui/seeded-menu.js +69 -0
  212. data/lib/sendproof/ui/settings.js +93 -0
  213. data/lib/sendproof/ui/shortcuts-sheet.js +73 -0
  214. data/lib/sendproof/ui/shortcuts.js +190 -0
  215. data/lib/sendproof/ui/sidebar.js +289 -0
  216. data/lib/sendproof/ui/signin.js +259 -0
  217. data/lib/sendproof/ui/snippets.js +530 -0
  218. data/lib/sendproof/ui/store-marks.js +47 -0
  219. data/lib/sendproof/ui/stores.js +131 -0
  220. data/lib/sendproof/ui/styles.css +971 -0
  221. data/lib/sendproof/ui/toggletip.js +53 -0
  222. data/lib/sendproof/ui/uuid.js +10 -0
  223. data/lib/sendproof/ui/view.js +122 -0
  224. data/lib/sendproof/ui/views.css +653 -0
  225. data/lib/sendproof/version.rb +9 -0
  226. data/lib/sendproof/workbench.rb +102 -0
  227. data/lib/sendproof-core.rb +3 -0
  228. data/lib/sendproof.rb +121 -0
  229. metadata +292 -0
@@ -0,0 +1,848 @@
1
+ /* =====================================================================
2
+ Sendproof workbench: rules the live app needs on top of the approved mock stylesheets
3
+ (styles.css and views.css, which are byte-for-byte copies of mocks/). They cover live-only
4
+ states the static mocks don't render: real inputs inside the headers grid, lookups, the
5
+ resizable track sizes, focus rings on native controls, long real values, and coarse
6
+ pointers. Logical properties only, so right-to-left layouts mirror.
7
+ ===================================================================== */
8
+
9
+ /* Resizable tracks on desktop: widths come from the user's last drag, stored per API document.
10
+ Try it, Docs, Models and the overview all fill these same three columns (the reading panes
11
+ take the request and result slots), so switching views never moves a divider. */
12
+ @media (min-width: 56.001rem) {
13
+ .workspace { grid-template-columns: var(--sidebar-width, 15.5rem) minmax(0, var(--request-width, 1fr)) minmax(0, 1fr); }
14
+ }
15
+ @media (min-width: 56.001rem) and (max-width: 80rem) {
16
+ .workspace { grid-template-columns: var(--sidebar-width, 14.5rem) minmax(0, var(--request-width, 1fr)) minmax(0, 1fr); }
17
+ }
18
+ /* The request tab list sits inside the mock's .tabs row with the Autofill button at its end. */
19
+ .request-tabs { display: flex; align-items: stretch; gap: 0.125rem; flex: none; }
20
+
21
+ /* Buttons that look like the mock's static rows. */
22
+ .pr-chev { border: 0; padding: 0; background: none; cursor: pointer; block-size: 1.125rem; }
23
+ .pr-chev:empty { cursor: default; }
24
+ button.expect-row { inline-size: 100%; border: 0; background: none; text-align: start; font: inherit; cursor: pointer; }
25
+ .issue-link:focus-visible, .nav-item:focus-visible, .nav-heading:focus-visible, .used-list a:focus-visible, .resp-item > button.head:focus-visible { outline-offset: -2px; }
26
+ .nav-state .state { padding-inline: 0.25rem; }
27
+
28
+ /* Toggletip triggers and the Generate button sit in the label row and the status slot. */
29
+ .control .slot.wand { color: var(--text-3); opacity: 0; }
30
+ .field:hover .control .slot.wand, .control:focus-within .slot.wand, .control .slot.wand:focus-visible,
31
+ .control .slot.wand[aria-expanded="true"], .control .slot.wand.gen { opacity: 1; }
32
+ @media (pointer: coarse) { .control .slot.wand { opacity: 1; } }
33
+
34
+ .kv-field { flex: 1; min-inline-size: 0; display: grid; align-items: center; }
35
+ .kv-field > * { grid-area: 1 / 1; }
36
+ .kv-field input { min-inline-size: 0; inline-size: 100%; border: 0; outline: 0; background: none; padding: 0; font: 400 var(--fs-md)/1.4 var(--mono); color: inherit; opacity: 0; }
37
+ .kv-field input:focus { opacity: 1; }
38
+ .kv-field input:focus + .kv-display { visibility: hidden; }
39
+ .kv-display { pointer-events: none; }
40
+ .kv-row .c:focus-visible, .kv-row .c:has(.kv-field input:focus) { outline: none; box-shadow: inset 0 0 0 2px var(--focus); border-radius: 0; background: var(--raised); }
41
+ .kv-row .c.is-invalid:has(input:focus) { box-shadow: inset 0 0 0 2px var(--danger-line); }
42
+ .kv-row.is-disabled .name, .kv-row.is-disabled .val, .kv-row.is-disabled .kv-field input { color: var(--text-3); text-decoration: line-through; text-decoration-color: var(--line-strong); }
43
+ .kv-row.is-disabled .var-token { background: var(--sunken); color: var(--text-3); }
44
+ .kv-variable-hint { margin-inline-start: 0.4rem; font: 400 var(--fs-sm)/1.4 var(--font); }
45
+ .kv-invalid-icon { display: none; flex: none; color: var(--danger); }
46
+ .kv-row .is-invalid .kv-invalid-icon { display: flex; }
47
+ .kv-note > svg { flex: none; }
48
+ .kv-note > span { overflow-wrap: anywhere; }
49
+ .kv-note .btn { flex: none; margin-inline-start: auto; }
50
+ .header-editor { min-inline-size: 0; position: relative; }
51
+ .kv-row.group > [role="rowheader"] { display: flex; align-items: center; gap: 0.5rem; inline-size: 100%; }
52
+ .kv-count { font-size: var(--fs-sm); }
53
+ .kv-spec { margin-block-start: 0.6rem; }
54
+ .kv-bulk { margin-block-start: 0.75rem; }
55
+ .kv-bulk textarea { min-block-size: 9rem; margin-block-start: 0.3rem; }
56
+ .kv-suggest { inline-size: min(26rem, 100%); border: 1px solid var(--line); }
57
+ .kv-menu { inline-size: min(12rem, 100%); border: 1px solid var(--line); }
58
+ .kv-menu .opt-row { inline-size: 100%; text-align: start; font: inherit; background: transparent; border: 0; }
59
+ .kv-menu .opt-row:is(:hover, :focus-visible), .kv-suggest .opt-row:hover { background: var(--selected); }
60
+ .kv-add .name-c { padding: 0; }
61
+ .kv-add-button { inline-size: 100%; block-size: 100%; min-block-size: 2.375rem; padding: 0 0.6rem; border: 0; background: none; font: 400 var(--fs-md)/1.4 var(--mono); color: var(--text-3); text-align: start; cursor: pointer; }
62
+ .kv-add-button:hover { color: var(--text); }
63
+ .kv-check { position: relative; display: grid; place-items: center; inline-size: 100%; min-block-size: 100%; cursor: pointer; }
64
+ .kv-check:has(input:disabled) { cursor: default; }
65
+ .kv-check input { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; margin: 0; opacity: 0; cursor: inherit; }
66
+ .kv-check input:focus-visible + .checkbox { outline: 2px solid var(--focus); outline-offset: 2px; }
67
+ .kv-check .checkbox:not(.on) svg { visibility: hidden; }
68
+ .response-viewer { display: grid; gap: 0.75rem; min-inline-size: 0; }
69
+ .chain { display: inline-flex; align-items: center; gap: 0.45rem; min-block-size: 1.875rem; max-inline-size: 100%; padding: 0 0.4rem 0 0.3rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--raised); font-size: var(--fs-md); color: var(--text); cursor: pointer; overflow-wrap: anywhere; text-align: start; }
70
+ .chain .method { flex: none; min-inline-size: 0; block-size: 1.25rem; }
71
+ .timing-legend span { display: inline-flex; align-items: center; gap: 0.35rem; min-inline-size: 0; overflow-wrap: anywhere; }
72
+ .timing-legend i { flex: none; inline-size: 0.5rem; block-size: 0.5rem; border-radius: 2px; display: inline-block; }
73
+ .viewer { min-inline-size: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--raised); overflow: hidden; }
74
+ .viewer-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; min-block-size: 2.5rem; padding: 0.25rem 0.35rem 0.25rem 0.5rem; border-block-end: 1px solid var(--line); background: var(--panel); }
75
+ .viewer-empty { padding: 0.5rem 0; font-size: var(--fs-md); }
76
+ .ln .fold { display: grid; place-items: center; justify-self: center; min-block-size: 1.5rem; min-inline-size: 1.5rem; color: var(--text-3); padding: 0; border: 0; border-radius: var(--r-sm); background: transparent; cursor: pointer; }
77
+ .ln .fold:hover { background: var(--sunken); }
78
+ .ln:has(.line-acts):is(:hover, :focus-within) { background: var(--hover); }
79
+ .ln .line-acts { position: absolute; inset-inline-end: 0.4rem; inset-block-start: 50%; z-index: 1; transform: translateY(-50%); display: flex; flex-wrap: wrap; gap: 0.25rem; max-inline-size: calc(100% - 0.8rem); opacity: 0; pointer-events: none; }
80
+ .ln:is(:hover, :focus-within) .line-acts { opacity: 1; pointer-events: auto; }
81
+ .line-acts .btn { block-size: auto; white-space: normal; overflow-wrap: anywhere; justify-content: start; }
82
+ .folded { display: inline-flex; align-items: center; max-inline-size: 100%; min-block-size: 1.15rem; margin: 0 0.3rem; padding: 0.12rem 0.35rem; border-radius: var(--r-sm); background: var(--sunken); border: 1px solid var(--line); color: var(--text-3); font: 400 var(--fs-xs)/1 var(--font); vertical-align: 1px; }
83
+ .response-find { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; padding: 0.35rem 0.5rem; border-block-end: 1px solid var(--line); }
84
+ .response-find .input-sm { flex: 1 1 10rem; }
85
+ .response-find [data-match-count] { font-size: var(--fs-xs); white-space: nowrap; }
86
+ .viewer mark { background: var(--warn-soft); color: var(--text); }
87
+ .viewer mark .tok-k, .viewer mark .tok-s, .viewer mark .tok-n, .viewer mark .tok-b, .viewer mark .tok-p { color: inherit; }
88
+ .viewer mark.is-current { background: var(--warn); color: var(--raised); }
89
+ @media (pointer: coarse) {
90
+ .response-viewer :is(.chain, .segmented button, .btn) { min-block-size: 44px; }
91
+ .response-viewer .btn-icon { min-inline-size: 44px; }
92
+ .response-viewer .ln:not(.is-raw .ln) { grid-template-columns: 2rem 2.75rem minmax(0, 1fr); }
93
+ .response-viewer .ln .fold { min-block-size: 44px; min-inline-size: 44px; }
94
+ /* Line actions would crowd every line of an expanded body, so a tap on a line shows its own. */
95
+ .response-viewer .line-acts { display: none; position: static; grid-column: 3; max-inline-size: 100%; padding: 0.15rem 0.5rem; opacity: 1; pointer-events: auto; transform: none; }
96
+ .response-viewer .ln:is(.is-active, :focus-within) > .line-acts { display: flex; }
97
+ }
98
+ .fx-head.fx-static { cursor: default; background: none; }
99
+ .fx-head:focus-visible { outline-offset: -2px; }
100
+ .capture-chevron { display: inline-flex; flex: none; }
101
+ .fx.is-open .capture-chevron, .capture-section[open] .capture-chevron, .log-row.is-open .capture-chevron { transform: rotate(90deg); }
102
+ .mail-meta dd { margin: 0; min-inline-size: 0; overflow-wrap: anywhere; }
103
+ .mail-preview p { margin: 0 0 0.5rem; white-space: pre-wrap; overflow-wrap: anywhere; }
104
+ .fx-payload { display: grid; min-inline-size: 0; gap: 0.3rem; }
105
+ .fx-payload pre, .mail-source { margin: 0; max-block-size: 20rem; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
106
+ .mail-frame { display: block; inline-size: 100%; min-block-size: 15rem; border: 1px solid var(--line); border-radius: var(--r); background: white; }
107
+ .fx-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; font-size: var(--fs-sm); }
108
+ .capture-note { margin: 0; font-size: var(--fs-sm); }
109
+ .collapsed-section > span.faint:last-child { margin-inline-start: auto; font-size: var(--fs-sm); }
110
+ .lvl-err .lvl { color: var(--danger); background: var(--danger-soft); }
111
+ .log-row.is-open > :is(.t, .dur, .src) { color: var(--text-2); }
112
+ .log-toggle { border: 0; padding: 0; color: inherit; background: transparent; cursor: pointer; }
113
+ .log-props div { display: flex; gap: 0.4rem; max-inline-size: 100%; }
114
+ .log-props dd { margin: 0; min-inline-size: 0; font-family: var(--mono); overflow-wrap: anywhere; }
115
+ .log-message { overflow-wrap: anywhere; white-space: pre-wrap; }
116
+ .params { display: grid; grid-template-columns: fit-content(25%) minmax(0, 1fr) fit-content(25%) minmax(0, 1fr); gap: 0.15rem 0.6rem; margin: 0; font: 400 var(--fs-sm)/1.5 var(--mono); }
117
+ .params dt { color: var(--text-3); overflow-wrap: anywhere; }
118
+ .params dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
119
+ .capture-section summary::-webkit-details-marker { display: none; }
120
+ .capture-section-body { padding-block-start: 0.5rem; }
121
+ .hdr dt { padding: 0 0.75rem; font: 500 var(--fs-sm)/1.4 var(--mono); color: var(--text-2); overflow-wrap: anywhere; }
122
+ .hdr-values { display: grid; flex: 1; min-inline-size: 0; }
123
+ .hdr .v { min-inline-size: 0; font: 400 var(--fs-sm)/1.4 var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
124
+ .hdr-note { font-size: var(--fs-xs); }
125
+ .hdr a.btn { text-decoration: none; }
126
+ @container result (max-width: 33rem) {
127
+ .log-bar { flex-wrap: wrap; }
128
+ .log-bar .input-sm { flex-basis: 9rem; }
129
+ .log-meta { flex-wrap: wrap; overflow-wrap: anywhere; }
130
+ .hdr { grid-template-columns: minmax(0, 36%) minmax(0, 1fr); }
131
+ .hdr dd { flex-wrap: wrap; }
132
+ .hdr-values { flex-basis: 100%; }
133
+ .hdr .v { white-space: pre-wrap; overflow-wrap: anywhere; }
134
+ }
135
+ @container result (max-width: 25rem) {
136
+ .fx-head .tag { max-inline-size: 40%; block-size: auto; white-space: normal; }
137
+ .log-bar .segmented { flex-wrap: wrap; }
138
+ .log-detail { padding-inline: 0.75rem; }
139
+ .params { grid-template-columns: fit-content(40%) minmax(0, 1fr); }
140
+ .collapsed-section .title { white-space: normal; }
141
+ .collapsed-section .faint { text-align: end; }
142
+ }
143
+ @media (pointer: coarse) {
144
+ .fx-acts .btn, .log-bar .btn, .log-bar .segmented button, .log-bar .input-sm, .hdr-section .section-label .btn, .hdr a.btn, .capture-section summary, .log-row:not(.head) { min-block-size: 2.75rem; }
145
+ }
146
+ .palette .pop-search input { min-inline-size: 0; }
147
+ @media (max-width: 56rem) {
148
+ .kv-row:not(.head, .group) { min-block-size: 2.75rem; }
149
+ .kv-row .name, .kv-row .val { white-space: normal; overflow-wrap: anywhere; line-height: 1.4; }
150
+ .kv-row > .c.val-c:has(.kv-field) .kv-field { flex-basis: 100%; }
151
+ .kv-row > .c.val-c { position: relative; }
152
+ .kv-row .kv-invalid-icon { margin-inline-start: auto; }
153
+ .kv-row > .c.acts { flex-direction: column; justify-content: center; padding: 0; }
154
+ .header-editor :is(.segmented button, .kv-toolbar > .btn, .kv-menu .opt-row, .kv-note .btn, .kv-add-button) { min-block-size: 44px; }
155
+ .kv-row .acts .btn { inline-size: 100%; min-block-size: 44px; }
156
+ .kv-row.group > [role="rowheader"] { white-space: nowrap; }
157
+ .kv-row.group > [role="rowheader"] > span:last-child:not(.spacer) { min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; }
158
+ .header-editor .kv-menu { inset-inline-start: auto !important; inset-inline-end: 0 !important; inline-size: min(12rem, 100%) !important; }
159
+ .header-editor .kv-suggest { inset-inline-start: 0 !important; inset-inline-end: 0 !important; }
160
+ .kv-suggest .pop-foot { display: none; }
161
+ .kv-suggest .opt-row { min-block-size: 44px; flex-wrap: wrap; }
162
+ .kv-suggest .opt-row > .main { white-space: normal; overflow-wrap: anywhere; }
163
+ }
164
+ .pal-list { padding: 0.35rem; max-block-size: min(26rem, 53vh); overflow: auto; }
165
+ .pal-item { inline-size: 100%; border: 0; background: transparent; text-align: start; }
166
+ .pal-item .main { text-overflow: ellipsis; overflow: hidden; }
167
+ .palette .pop-foot { min-inline-size: 0; }
168
+ .palette .pop-foot .btn { padding: 0; color: var(--text-3); }
169
+ .list-input .add > .keys { margin-inline-start: auto; }
170
+ @media (min-width: 56.001rem) {
171
+ .workspace[data-sidebar="closed"] { grid-template-columns: 0 minmax(0, var(--request-width, 1fr)) minmax(0, 1fr); }
172
+ .workspace[data-sidebar="closed"] > :is(.sidebar, .resize-handle[data-layout-divider="sidebar"]) { display: none; }
173
+ .workspace[data-sidebar="closed"] > .pane:is(.request, .doc-pane) { grid-column: 2; }
174
+ .workspace[data-sidebar="closed"] > .pane:is(.response, .aside-pane) { grid-column: 3; }
175
+ }
176
+ @media (max-width: 56rem) {
177
+ .dialog-body { grid-template-columns: minmax(0, 1fr); }
178
+ .palette .pop-foot { flex-wrap: wrap; gap: 0.25rem 0.5rem; }
179
+ .palette .opt-row, .palette .pop-foot .btn { min-block-size: 44px; }
180
+ .palette .opt-row .end { display: none; }
181
+ .search-trigger .keys { display: none; }
182
+ }
183
+ .code { max-inline-size: 100%; overflow: auto; }
184
+ [hidden] { display: none !important; }
185
+ .control-split:has([aria-invalid="true"]) { border-color: var(--danger); }
186
+ .layout-resizing, .layout-resizing * { cursor: col-resize !important; user-select: none !important; }
187
+ .input-sm:focus-within { outline: 2px solid var(--focus); outline-offset: -1px; }
188
+ .control:focus-within { border-color: var(--focus); box-shadow: var(--ring); }
189
+ .control.is-invalid:focus-within { border-color: var(--danger); box-shadow: var(--ring-danger); }
190
+ .api-switch:not(button, select), .env:not(button) { cursor: default; }
191
+ .api-switch:not(button, select):hover { background: transparent; }
192
+ .api-switch > .name { overflow: hidden; text-overflow: ellipsis; }
193
+ .request .tabs { flex-shrink: 0; }
194
+ .request { position: relative; }
195
+ .assist-icon { display: inline-flex; }
196
+ /* A scalar line is one inline control; the item's own label and hint are for screen readers only.
197
+ The selectors stop at the item, so a line that holds an object keeps its fields as they are. */
198
+ .list-input .val > .field { padding: 0; display: block; }
199
+ .list-input .val > .field > :is(.label, .assist) { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
200
+ .list-input .val > .field > .control { block-size: auto; border: 0; box-shadow: none; padding: 0.15rem 0; background: transparent; }
201
+ .list-input .val > .field > .control:focus-within { outline: 2px solid var(--focus); }
202
+ .list-input .val > .field > .control.is-invalid { color: var(--danger); }
203
+ /* A line that holds an object grows to its fields, with the number and remove button at the top. */
204
+ .list-input .li:has(> .val > .field[data-kind="group"]) { block-size: auto; align-items: start; padding-block: 0.75rem 0; padding-inline-end: 0.5rem; }
205
+ .list-input .li:has(> .val > .field[data-kind="group"]) > .idx { line-height: 1.5rem; }
206
+ .list-input .li:has(> .val > .field[data-kind="group"]) > .btn { margin-block-start: -0.125rem; }
207
+ .list-input .li > .val:has(> .field[data-kind="group"]) { overflow: visible; white-space: normal; }
208
+ .list-input:has([aria-invalid="true"]) { border-color: var(--danger-line); }
209
+ .actionbar { position: relative; }
210
+ .actionbar .status .spinner { color: var(--accent-text); }
211
+ .actionbar .btn[aria-busy="true"] { opacity: 1; }
212
+ .issue-link { inline-size: 100%; border: 0; background: none; text-align: start; cursor: pointer; }
213
+ .issue-link:focus-visible { background: var(--selected); outline-offset: -2px; }
214
+ .issues-pop { inset-block-end: calc(100% + 0.375rem); inset-inline-start: 1rem; inline-size: min(27rem, calc(100% - 2rem)); }
215
+ .issues-pop .pop-group { overflow: auto; max-block-size: 50vh; }
216
+ .issues-pop .pop-head .faint { font-weight: 400; font-size: var(--fs-sm); }
217
+ .actionbar .status:has(.issues-btn) { overflow: visible; }
218
+ .issues-btn { max-inline-size: 100%; }
219
+ .issues-btn .issues-label { min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; }
220
+ /* In a pane dragged very narrow the keycaps give way, so the labels never clip. */
221
+ @container request (max-width: 30rem) {
222
+ .actionbar .btn-run .keys { display: none; }
223
+ /* Content-sized and never shrunk: the status line gives way, so a long label is never clipped. */
224
+ .actionbar .btn-run { inline-size: auto; min-inline-size: 7em; flex: none; }
225
+ .run-pair { min-inline-size: 0; }
226
+ }
227
+ .request .pane-scroll { position: relative; }
228
+ .response { container: result / inline-size; }
229
+ .resp-head .result-open { text-decoration: none; }
230
+ .tc-head .name { min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
231
+ .tc-head .faint { white-space: nowrap; }
232
+ .more-cols svg { transition: transform 120ms var(--ease); }
233
+ .table-change details[open] .more-cols svg { transform: rotate(180deg); }
234
+ .op-del { color: var(--danger); background: var(--danger-soft); }
235
+ @container result (max-width: 25rem) {
236
+ .resp-head { gap: 0.4rem; padding-inline: 0.7rem; }
237
+ .resp-head .status-code { min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; }
238
+ }
239
+ .urlbar .token { border: 0; cursor: pointer; font: inherit; }
240
+ @media (max-width: 56rem) {
241
+ .topbar > [data-action="navigation"], .topbar .persona { min-inline-size: 44px; min-block-size: 44px; }
242
+ .topbar .search-trigger { inline-size: 44px; block-size: 44px; flex: none; }
243
+ .nav-heading, .nav-item { min-block-size: 2.75rem; }
244
+ .mobile-switch .segmented button { position: relative; }
245
+ .mobile-switch .segmented button::after { content: ""; position: absolute; inset: -4px 0; }
246
+ .actionbar .status { min-block-size: 1.875rem; }
247
+ .assist { block-size: var(--assist-h); min-block-size: var(--assist-h); }
248
+ .assist > .msg { white-space: nowrap; }
249
+ .issues-pop .issue-link { min-block-size: 2.75rem; }
250
+ .issues-pop .pop-foot { flex-wrap: wrap; gap: 0.35rem; }
251
+ }
252
+ .response > .progress { block-size: 0; }
253
+ .response[aria-busy="true"] > .progress { block-size: 2px; margin-block-end: -2px; }
254
+ .resp-head .running-label { font-size: var(--fs-md); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
255
+ .resp-head [data-elapsed] { min-inline-size: 3.5rem; }
256
+ .result-body .kv > div { min-block-size: 1.875rem; }
257
+ .autofill-pop { inline-size: min(22rem, calc(100% - 2rem)); }
258
+ .autofill-pop .opt-row { inline-size: 100%; border: 0; background-color: transparent; text-align: start; }
259
+ .autofill-pop .opt-row:hover, .autofill-pop .opt-row.is-active { background-color: var(--selected); }
260
+ .autofill-pop .pop-foot { gap: 0.5rem; }
261
+ @media (max-width: 56rem) {
262
+ .autofill-pop .opt-row { min-block-size: 2.75rem; }
263
+ .autofill-pop .keys { display: none; }
264
+ .autofill-pop .opt-row .main { white-space: normal; }
265
+ }
266
+
267
+ /* Long spec descriptions in the documented-responses list wrap; codes and types never do. */
268
+ .expect-row > span[lang] { flex: 1; min-inline-size: 0; }
269
+ .expect-row > .spacer { display: none; }
270
+ .expect-row > :is(.code, .type-link, .faint:last-child) { flex: none; white-space: nowrap; }
271
+ .expect-row { padding-block: 0.4rem; }
272
+
273
+ /* Sign-in methods beyond the password form (single sign-on links, other enabled methods). */
274
+ .sign-page .stack { display: grid; gap: 0.5rem; }
275
+ .sign-page .sso { justify-content: flex-start; gap: 0.65rem; padding: 0 0.85rem; }
276
+ .sign-page .sso .grow { flex: 1; text-align: start; }
277
+ .sign-page .sso .via { color: var(--text-3); font-weight: 400; font-size: var(--fs-sm); }
278
+ .sign-page .glyph { inline-size: 1.25rem; block-size: 1.25rem; border-radius: 0.25rem; display: grid; place-items: center; font-size: 0.625rem; font-weight: 700; flex: none; }
279
+ .sign-page .g-ms { background: oklch(0.93 0.03 240); color: oklch(0.4 0.12 240); }
280
+ .sign-page .g-okta { background: oklch(0.93 0.02 268); color: oklch(0.35 0.05 268); }
281
+ .sign-page .g-saml { background: var(--sunken); color: var(--text-2); }
282
+ [data-theme="dark"] .sign-page .g-ms { background: oklch(0.3 0.06 240); color: oklch(0.88 0.06 240); }
283
+ [data-theme="dark"] .sign-page .g-okta { background: oklch(0.3 0.03 268); color: oklch(0.9 0.02 268); }
284
+ .sign-page .or { display: flex; align-items: center; gap: 0.75rem; margin: 1.25rem 0; color: var(--text-3); font-size: var(--fs-sm); }
285
+ .sign-page .or::before, .sign-page .or::after { content: ""; flex: 1; block-size: 1px; background: var(--line); }
286
+ .sign-page .others { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-block-start: 1.25rem; align-items: center; }
287
+ .sign-page .others .lbl { font-size: var(--fs-sm); color: var(--text-3); margin-inline-end: 0.25rem; }
288
+ .sign-page .others .btn { min-block-size: 1.9rem; font-size: var(--fs-sm); }
289
+ .sign-page .discovered { margin-block-start: 1.25rem; font-size: var(--fs-sm); color: var(--text-3); line-height: 1.6; }
290
+ .sign-page .discovered code { color: var(--text-2); }
291
+ .sign-page .sso { min-block-size: var(--control-h); }
292
+ #signin-problem:empty { display: none; }
293
+ @media (max-width: 56rem) {
294
+ .sign-page .sso { min-block-size: 2.75rem; min-inline-size: 0; white-space: normal; padding-block: 0.5rem; }
295
+ .sign-page .sso .grow { min-inline-size: 0; overflow-wrap: anywhere; }
296
+ }
297
+
298
+ /* Links styled as buttons, and the native search field's own clear button (the filter has one). */
299
+ a.btn { text-decoration: none; }
300
+ #filter::-webkit-search-cancel-button { appearance: none; }
301
+ /* Long translations wrap to the status line's second line instead of collapsing to "4 Feld…". */
302
+ .actionbar .status > span:not(.spinner) { min-inline-size: 7em; }
303
+ /* On mobile the search label is visually hidden but stays the button's accessible name. */
304
+ @media (max-width: 56rem) {
305
+ .topbar .search-trigger .grow { display: block !important; position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
306
+ }
307
+ /* Disclosures use the mock's chevron, not the browser's marker. */
308
+ summary.collapsed-section, .capture-section > summary { list-style: none; }
309
+ summary.collapsed-section::marker { content: ""; }
310
+ /* The issues button keeps one line; a narrow pane ellipsises its label instead of wrapping. */
311
+ .issues-btn { white-space: nowrap; }
312
+ /* Sign-in errors can be a sentence long; the assist line wraps there instead of clipping it. */
313
+ .sign-page .assist { block-size: auto; min-block-size: var(--assist-h); }
314
+ .sign-page .assist > .msg { white-space: normal; }
315
+
316
+ /* The one Back control of a model page: a long target name ellipsises instead of pushing the crumbs out. */
317
+ .ctx-bar .back-btn { max-inline-size: 100%; min-inline-size: 0; }
318
+ .ctx-bar .back-btn .back-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
319
+ .ctx-bar .end { min-inline-size: 0; }
320
+ button.link { border: 0; background: none; padding: 0; font: inherit; color: var(--accent-text); text-decoration: underline; cursor: pointer; }
321
+ /* Used-by and overview rows are links to operations and models. */
322
+ .used-list a { cursor: pointer; }
323
+ .drawer-scrim { display: none; }
324
+ @media (max-width: 56rem) { .drawer-scrim { display: block; } }
325
+ /* Authentication cards: the Sign in button wraps under the text on a narrow pane instead of overflowing. */
326
+ .req { flex-wrap: wrap; }
327
+ .req > .grow { flex: 1 1 12rem; min-inline-size: 0; overflow-wrap: anywhere; }
328
+ .req > .btn { margin-inline-start: auto; }
329
+ /* A status code in a response header is a label, not a scrollable code block (app.css's generic .code scrolls). */
330
+ .resp-item .code, .expect-row .code { overflow: visible; flex: none; }
331
+ /* Head row (the mocks' styles.css is kept byte for byte, so these rules override it here).
332
+ It is one tab tall while the trail and the Try it | Docs switch fit side by side. When they
333
+ can't (a long translation, large text, a narrow pane) the switch drops to a second row instead of
334
+ squeezing the trail. The trail never gets less than --crumb-min for the page plus
335
+ --crumb-parent-min for each earlier crumb (`--parents`, set by context-bar.js), so no crumb is
336
+ cut below a readable stub. An earlier crumb whose text is shorter than that stub reserves only
337
+ its own width, min(--crumb-parent-min, --nat), so a short crumb sits tight against the chevron
338
+ instead of leaving a gap. crumb-fit.js measures --nat (the label's natural width) onto each earlier
339
+ crumb, in every browser; until it has, the flat stub applies. Within the trail the earlier crumbs give way first (a far higher shrink
340
+ weight), then the page title; each ends in an ellipsis and carries a title attribute with its full
341
+ text. Logical properties only, so the same rules serve right-to-left. */
342
+ .ctx-bar { --crumb-min: 7rem; --crumb-parent-min: 5rem; block-size: auto; min-block-size: calc(var(--tab-h) + 1px); flex-wrap: wrap; align-content: center; row-gap: 0; }
343
+ .ctx-bar .crumbs { min-block-size: var(--tab-h); flex: 1 1 calc(var(--crumb-min) + var(--parents, 0) * var(--crumb-parent-min)); }
344
+ .ctx-bar .crumbs ol { flex: 1 1 auto; }
345
+ .ctx-bar { container: ctxbar / inline-size; }
346
+ .ctx-bar .end { min-block-size: var(--tab-h); flex: 0 1 auto; max-inline-size: 100%; }
347
+ /* The Try it | Docs switch fits the row at any text size: it may shrink, a label may wrap as a last
348
+ resort (never clip), and below 19rem of row width (a phone at large text) the icons give way. */
349
+ .ctx-bar .view-switch { flex: 0 1 auto; max-inline-size: 100%; }
350
+ .ctx-bar .view-switch button { min-inline-size: 0; flex: 0 1 auto; block-size: auto; min-block-size: calc(var(--btn-sm-h) - 0.375rem); padding-block: 0.1875rem;
351
+ line-height: 1.2; white-space: normal; overflow-wrap: anywhere; text-align: center; }
352
+ @container ctxbar (max-width: 19rem) {
353
+ .ctx-bar .view-switch button { padding-inline: 0.5rem; }
354
+ .ctx-bar .view-switch .i { display: none; }
355
+ }
356
+ .ctx-bar .crumbs li:not(:last-child) { flex: 0 1000 auto; min-inline-size: min(var(--crumb-parent-min), var(--nat, var(--crumb-parent-min))); }
357
+ }
358
+ .ctx-bar .crumbs li:last-child { flex: 0 1 auto; min-inline-size: var(--crumb-min); }
359
+ .ctx-bar .crumbs li:only-child { min-inline-size: min(var(--crumb-min), 100%); }
360
+ @media (max-width: 56rem) {
361
+ /* A phone shows only the page itself (styles.css hides the earlier crumbs), so none needs room reserved. */
362
+ .ctx-bar .crumbs { --parents: 0 !important; flex-grow: 1; }
363
+ }
364
+
365
+ /* ---------- Layout fix: the sidebar list scrolls inside itself ---------- */
366
+ /* Positioned so the visually hidden .sr-only labels inside the list stay in its scroll box instead of
367
+ stretching the page (the mocks' styles.css is kept byte for byte, so the rule lives here). */
368
+ .nav { position: relative; }
369
+
370
+ /* ---------- Layout fix: the sidebar's controls at any text size and in any language ---------- */
371
+ /* The signed-out notice is a one-column grid whose track may not outgrow the sidebar. Without this
372
+ the track took the width of the longest nowrap button label (Greek "Προκαθορισμένος λογαριασμός")
373
+ and pushed Sign in and the seeded-account button past the sidebar's edge, where they were clipped.
374
+ A label that is still longer than the notice wraps inside its button instead of leaving it. In
375
+ English every label fits on one line, so nothing changes there. */
376
+ .auth-notice { grid-template-columns: minmax(0, 1fr); }
377
+ .auth-notice .an-actions .btn { min-inline-size: 0; max-inline-size: 100%; white-space: normal; text-align: center; overflow-wrap: anywhere; }
378
+ /* The Operations | Models tabs. At the default sidebar width English keeps the geometry the mocks draw.
379
+ Every other language gets room for a longer label: the tab's side padding (empty space; the
380
+ underline has its own inset) is 0, so each tab is only as wide as its label and count badge, which
381
+ never shrink. Below 13rem of tab row (a phone's drawer at large text) every language drops that
382
+ padding, and the others, whose labels can still be too long for two tabs, end a label in an
383
+ ellipsis with its full text in the tab's title (view.js) as the last resort. */
384
+ .sidebar .tabs { container: side-tabs / inline-size; }
385
+ .sidebar .tab .n { flex: none; }
386
+ :root:not(:lang(en)) .sidebar .tab { min-inline-size: max-content; padding-inline: 0; }
387
+ @container side-tabs (max-width: 13rem) {
388
+ .sidebar .tab { padding-inline: 0; }
389
+ :root:not(:lang(en)) .sidebar .tab { min-inline-size: 0; }
390
+ :root:not(:lang(en)) .sidebar .tab > span:not(.n):not(.flag):not(.sr-only) { min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; }
391
+ }
392
+
393
+ /* ---------- Code samples and viewers ---------- */
394
+ /* Syntax colours for request samples. k, s, n, b and p come from views.css. Every colour here is
395
+ at least 4.5:1 on the lightest and darkest code backgrounds (ui/token-contrast.test.mjs checks it). */
396
+ .tok-kw { color: oklch(0.48 0.17 350); }
397
+ .tok-f { color: oklch(0.46 0.11 225); }
398
+ .tok-fl { color: oklch(0.48 0.11 85); }
399
+ .tok-u { color: oklch(0.45 0.12 255); text-decoration: underline; text-decoration-color: color-mix(in oklch, currentColor 35%, transparent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
400
+ .tok-v { color: oklch(0.48 0.13 25); }
401
+ .tok-t { color: oklch(0.47 0.09 190); }
402
+ .tok-c { color: var(--text-3); font-style: italic; }
403
+ [data-theme="dark"] .tok-kw { color: oklch(0.82 0.12 350); }
404
+ [data-theme="dark"] .tok-f { color: oklch(0.82 0.10 225); }
405
+ [data-theme="dark"] .tok-fl { color: oklch(0.84 0.11 90); }
406
+ [data-theme="dark"] .tok-u { color: oklch(0.82 0.10 250); }
407
+ [data-theme="dark"] .tok-v { color: oklch(0.82 0.11 25); }
408
+ [data-theme="dark"] .tok-t { color: oklch(0.82 0.09 190); }
409
+
410
+ /* Samples never wrap: they scroll sideways, like the log viewer. */
411
+ .sample-card pre, .code-block { white-space: pre; overflow-wrap: normal; overflow-x: auto; tab-size: 4; }
412
+ .sample-card pre { min-inline-size: 0; }
413
+
414
+ /* Line numbers are generated content, so they are not text: nothing can select or copy them. */
415
+ .ln .no[data-n]::before { content: attr(data-n); }
416
+ /* Selecting code selects code: the gutter, fold buttons and line actions are never part of a selection. */
417
+ .ln .no, .ln .fold, .ln .line-acts, .code-view .ln .folded { -webkit-user-select: none; user-select: none; }
418
+
419
+ /* ---------- Language picker ---------- */
420
+ .code-picker { --picker-w: 15.5rem; display: inline-flex; flex: 0 1 var(--picker-w); min-inline-size: 0; max-inline-size: 100%; }
421
+ /* A fixed width, so the trigger is the same size for every language. */
422
+ .code-picker-trigger { inline-size: 100%; justify-content: flex-start; gap: 0.5rem; padding-inline: 0.55rem 0.4rem; font-weight: 500; min-inline-size: 0; }
423
+ .code-picker-trigger .lang-name { flex: none; }
424
+ .code-picker-trigger .lang-lib { flex: 1 1 auto; min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: start; }
425
+ .lang-lib { font: 400 var(--fs-sm)/1.2 var(--mono); color: var(--text-3); }
426
+ .code-picker-trigger .lang-chev { flex: none; margin-inline-start: auto; color: var(--text-3); }
427
+ .lang-ico { flex: none; inline-size: 1rem; block-size: 1rem; overflow: visible; }
428
+ .code-picker-trigger[aria-expanded="true"] { background: var(--hover); }
429
+ .code-pop { min-inline-size: 21rem; max-inline-size: calc(100vw - 1.5rem); }
430
+ .code-pop .pop-group { max-block-size: 28rem; overflow-y: auto; }
431
+ .code-pop .lang-row { gap: 0.6rem; min-block-size: var(--btn-sm-h); inline-size: 100%; }
432
+ .code-pop .lang-row .main { flex: none; margin-inline-end: 1.25rem; } /* the name and the library never touch */
433
+ .code-pop .lang-row .end { flex: 0 1 auto; min-inline-size: 0; margin-inline-start: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 var(--fs-sm)/1.2 var(--mono); }
434
+ .code-pop .lang-row .lang-check { flex: none; inline-size: 1rem; block-size: 1rem; color: var(--accent-text); display: grid; place-items: center; }
435
+ .code-pop .lang-row:hover, .code-pop .lang-row.is-active { background: var(--selected); }
436
+ .code-pop .lang-row[aria-selected="true"]:not(.is-active):not(:hover) { background: transparent; }
437
+ .code-pop .lang-row:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
438
+ .code-pop .lang-ico { color: var(--text-2); }
439
+ @media (pointer: coarse) { .code-picker-trigger, .code-pop .lang-row { min-block-size: 2.75rem; } }
440
+
441
+ /* ---------- Send and Preview at any width ---------- */
442
+ /* The confirmation's Cancel and Confirm send share the room Send and Preview had, and grow beyond
443
+ it when a translation needs more (widths are measured for Send and Preview only; see
444
+ tools/measure-widths.mjs). Cancel keeps its own width and Confirm send takes the rest. */
445
+ .run-pair { display: flex; align-items: center; gap: 0.625rem; flex: none; font-size: var(--fs-base);
446
+ min-inline-size: calc(var(--w-send, 9.5em) + var(--w-preview, 10em) + 0.625rem); }
447
+ .run-pair .btn-run { inline-size: auto; flex: none; }
448
+ .run-pair .btn-primary { flex: 1 0 auto; }
449
+ @media (max-width: 56rem) {
450
+ /* A phone's buttons share the row equally, never narrower than their label: a translation too
451
+ long for one row wraps the button to a second row (the bar wraps) instead of clipping. */
452
+ .actionbar .btn-run { flex: 1 1 0; min-inline-size: max-content; }
453
+ /* The confirmation pair wraps the same way; a label longer than a whole row wraps its own text. */
454
+ .run-pair { flex: 1 1 100%; flex-wrap: wrap; min-inline-size: 0; }
455
+ .run-pair .btn-run { flex: 1 1 auto; min-inline-size: 0; white-space: normal; overflow-wrap: anywhere; text-align: center; line-height: 1.3; padding-block: 0.375rem; }
456
+ }
457
+
458
+ /* ---------- Top bar at narrow desktop widths ---------- */
459
+ /* Signed in at 1100 px with 130% text and a long translation, the persona button used to push past
460
+ the viewport and the page scrolled sideways. The search trigger gives way first (its label
461
+ already ellipsizes), then the environment's database name and the persona's name, so the bar
462
+ always fits its row. */
463
+ @media (min-width: 56rem) {
464
+ .topbar .search-trigger { flex: 0 4 auto; min-inline-size: 7rem; }
465
+ .topbar .env { flex: 0 2 auto; min-inline-size: 0; }
466
+ .topbar .env .ltr { min-inline-size: 2.5rem; overflow: hidden; text-overflow: ellipsis; }
467
+ .topbar .persona { flex: 0 1 auto; min-inline-size: 0; }
468
+ .topbar .persona .name { min-inline-size: 2.5rem; overflow: hidden; text-overflow: ellipsis; }
469
+ }
470
+
471
+ /* =====================================================================
472
+ Data stores (spec/data-stores.md; mocks v6.css, screens 113–131 and m26–m31).
473
+ Workbench-only, like the rest of app.css. Logical properties throughout, so every rule mirrors right to left; data
474
+ (keys, values, commands, store ids) stays left to right through .ltr.
475
+
476
+ 1. Store marks
477
+ 2. Database tab: jump strip, store groups, coverage note
478
+ 3. Document diff
479
+ 4. Db command logs
480
+ 5. Preview unavailable, known in advance: disabled Preview, the docked reason
481
+ 6. Preview unavailable, caught mid-request: the blocked result
482
+ 7. Coverage panel
483
+ 8. Phones, narrow panes, large text and right to left
484
+ ===================================================================== */
485
+
486
+ /* ---------- 1. Store marks ---------- */
487
+ /* The size of the table icon they sit beside; the name is always text next to the mark. */
488
+ .mk { display: inline-block; flex: none; inline-size: 0.875rem; block-size: 0.875rem; vertical-align: -0.125em; }
489
+ .mk-16 { inline-size: 1rem; block-size: 1rem; }
490
+ .mk-20 { inline-size: 1.25rem; block-size: 1.25rem; }
491
+ .mk-28 { inline-size: 1.75rem; block-size: 1.75rem; }
492
+ .mk-other { display: inline-flex; align-items: center; justify-content: center; color: var(--text-3); }
493
+ .mk-other .i { inline-size: 100%; block-size: 100%; }
494
+ /* Each vendor's brand colour; dark mode lifts the ones that would sink into a dark panel. */
495
+ .mk-sqlite .f { fill: #0f80cc; }
496
+ .mk-postgresql .f { fill: #4169e1; }
497
+ .mk-mysql .f { fill: #4479a1; }
498
+ .mk-mariadb .f { fill: #003545; }
499
+ .mk-mongodb .f { fill: #00a35c; }
500
+ .mk-redis .f { fill: #ff4438; }
501
+ .mk-cassandra .f { fill: #1287b1; }
502
+ .mk-elasticsearch .f { fill: #005571; }
503
+ .mk-opensearch .f { fill: #005eb8; }
504
+ .mk-firestore .f { fill: #f57c00; }
505
+ [data-theme="dark"] .mk-sqlite .f { fill: #3d9bdb; }
506
+ [data-theme="dark"] .mk-postgresql .f { fill: #6d8ff0; }
507
+ [data-theme="dark"] .mk-mysql .f { fill: #6fa3cc; }
508
+ [data-theme="dark"] .mk-mariadb .f { fill: #c49a6c; }
509
+ [data-theme="dark"] .mk-mongodb .f { fill: #00ed64; }
510
+ [data-theme="dark"] .mk-redis .f { fill: #ff6b5e; }
511
+ [data-theme="dark"] .mk-cassandra .f { fill: #4fb3d9; }
512
+ [data-theme="dark"] .mk-elasticsearch .f { fill: #00bfb3; }
513
+ [data-theme="dark"] .mk-opensearch .f { fill: #3d8fe0; }
514
+ .store-label { display: inline-flex; align-items: center; gap: 0.375rem; min-inline-size: 0; }
515
+
516
+ /* ---------- 2. Database tab ---------- */
517
+ .ss { display: flex; align-items: center; flex-wrap: wrap; gap: 0.375rem 0.5rem; margin-block-start: -0.125rem; }
518
+ .ss-item { display: inline-flex; align-items: center; gap: 0.4375rem; block-size: 1.75rem; padding-inline: 0.5625rem 0.625rem; border: 1px solid var(--line); border-radius: 999px; background: var(--raised); color: var(--text); font: 500 var(--fs-sm)/1 var(--font); white-space: nowrap; cursor: pointer; }
519
+ .ss-item:hover { border-color: var(--line-strong); background: var(--hover); }
520
+ .ss-item .n { color: var(--text-3); font-weight: 400; }
521
+ .ss-note { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0.25rem 0.375rem; font-size: var(--fs-sm); color: var(--text-3); }
522
+ .ss-note > span { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
523
+ .ss-st { display: inline-flex; align-items: center; gap: 0.3125rem; white-space: nowrap; }
524
+ .sg { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.625rem; min-inline-size: 0; scroll-margin-block-start: 0.75rem; }
525
+ .sg + .sg { margin-block-start: 0.625rem; }
526
+ .sg-head { display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem 0.5rem; min-block-size: 2rem; padding-block-end: 0.5rem; border-block-end: 1px solid var(--line); }
527
+ .sg-head h3 { margin: 0; font-size: var(--fs-base); font-weight: 600; letter-spacing: -0.005em; }
528
+ .sg-head code { font-size: var(--fs-sm); color: var(--text-2); }
529
+ .sg-state { display: inline-flex; align-items: center; gap: 0.3125rem; block-size: 1.375rem; padding-inline: 0.4375rem; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent-text); font-size: var(--fs-xs); font-weight: 500; white-space: nowrap; }
530
+ .sg-state.is-ok { background: var(--ok-soft); color: var(--ok); }
531
+ .sg-count { font-size: var(--fs-sm); color: var(--text-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
532
+ .sg-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.625rem; min-inline-size: 0; }
533
+ .tc-key { min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
534
+ .tc-key .k { font: 400 var(--fs-xs)/1 var(--mono); color: var(--text-3); }
535
+ .tc-key .ltr { font: 400 var(--fs-sm)/1 var(--mono); color: var(--text-2); }
536
+ .cov { display: flex; gap: 0.5rem; align-items: flex-start; margin: 0.125rem 0 0; padding: 0.625rem 0.75rem; border-radius: var(--r-lg); border: 1px dashed var(--line-strong); color: var(--text-2); font-size: var(--fs-sm); line-height: 1.5; }
537
+ .cov > .i { color: var(--text-3); margin-block-start: 0.1875rem; flex: none; }
538
+ .cov code { font-size: var(--fs-xs); }
539
+
540
+ /* ---------- 3. Document diff ---------- */
541
+ .doc-card { container: doc / inline-size; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--raised); overflow: hidden; min-inline-size: 0; }
542
+ .doc-head { display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem 0.5625rem; min-block-size: 2.5rem; padding: 0.375rem 0.75rem 0.375rem 0.875rem; padding-inline: 0.875rem 0.75rem; border-block-end: 1px solid var(--line); }
543
+ .doc-head .op-badge { white-space: nowrap; }
544
+ .doc-coll { min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 var(--fs-md)/1.3 var(--mono); color: var(--text); }
545
+ .doc-via { display: inline-flex; align-items: center; block-size: 1.25rem; padding-inline: 0.4375rem; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-2); font-size: var(--fs-xs); white-space: nowrap; }
546
+ .doc-only[aria-pressed="true"] { color: var(--accent-text); background: var(--accent-soft); }
547
+ .doc-only:disabled { opacity: 0.45; cursor: default; }
548
+ .doc-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem 0.75rem; min-block-size: 2.375rem; padding: 0.3125rem 0.75rem 0.3125rem 0.875rem; padding-inline: 0.875rem 0.75rem; border-block-end: 1px solid var(--line); background: var(--panel); }
549
+ .doc-id { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0.125rem 0.4375rem; min-inline-size: 0; font: 400 var(--fs-sm)/1.45 var(--mono); }
550
+ .doc-id .k { font: 500 var(--fs-xs)/1 var(--mono); color: var(--text-3); }
551
+ .doc-id .xt-v, .doc-id .j-s { overflow-wrap: anywhere; }
552
+ .doc-sum { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0.125rem 0.875rem; font-size: var(--fs-sm); color: var(--text-2); }
553
+ .dc { display: inline-flex; align-items: center; gap: 0.375rem; white-space: nowrap; }
554
+ .dc::before { content: ""; inline-size: 0.5rem; block-size: 0.5rem; border-radius: 2px; background: currentColor; opacity: 0.9; }
555
+ .dc.c-upd { color: var(--warn); } .dc.c-ins { color: var(--ok); } .dc.c-del { color: var(--danger); } .dc.c-same { color: var(--text-3); }
556
+ .dc.c-same::before { display: none; }
557
+ /* Tree rows. The marker sits in the card's own inline padding, so a depth-0 row starts exactly where
558
+ the head and the key bar start: nothing is inset further than the card's edge. */
559
+ .dt { padding-block: 0.25rem; font: 400 var(--fs-md)/1.45 var(--mono); }
560
+ .dt-row { --ind: 1.125rem; position: relative; display: grid; grid-template-columns: 0.875rem minmax(0, 1fr); align-items: start; min-block-size: 1.75rem; }
561
+ .dt-row[hidden] { display: none; }
562
+ .dt-mk { display: flex; align-items: center; justify-content: center; block-size: 1.75rem; font-weight: 600; font-size: var(--fs-sm); }
563
+ /* Twisty, key, value on one row. The value has its own column and wraps inside it, so a long
564
+ old → new pair never drops under the field name (it did in the mock, at audit.updatedAt). */
565
+ .dt-in { display: grid; grid-template-columns: 0.9375rem auto minmax(0, 1fr); column-gap: 0.5rem; align-items: baseline; min-inline-size: 0;
566
+ padding-block: 0.1875rem; padding-inline: calc(var(--d) * var(--ind)) 0.875rem;
567
+ background-image: repeating-linear-gradient(to right, var(--line) 0 1px, transparent 1px var(--ind)); background-size: calc(var(--d) * var(--ind)) 100%; background-repeat: no-repeat; background-position: 0.4375rem 0; }
568
+ [dir="rtl"] .dt-in { background-image: repeating-linear-gradient(to left, var(--line) 0 1px, transparent 1px var(--ind)); background-position: calc(100% - 0.4375rem) 0; }
569
+ .dt-tw { display: inline-flex; align-items: center; justify-content: center; align-self: center; inline-size: 0.9375rem; block-size: 1.375rem; padding: 0; border: 0; background: none; color: var(--text-3); border-radius: var(--r-sm); cursor: pointer; }
570
+ .dt-tw:hover { color: var(--text); background: var(--hover); }
571
+ .dt-tw .i { transition: transform 120ms var(--ease); }
572
+ .dt-tw[aria-expanded="false"] .i { transform: rotate(-90deg); }
573
+ [dir="rtl"] .dt-tw[aria-expanded="false"] .i { transform: rotate(90deg); }
574
+ span.dt-tw { cursor: default; }
575
+ .dt-k { min-inline-size: 7.5rem; color: var(--text-2); overflow-wrap: anywhere; }
576
+ .dt-k.is-idx { color: var(--text-3); }
577
+ .dt-k.is-idx::before { content: "["; opacity: 0.7; } .dt-k.is-idx::after { content: "]"; opacity: 0.7; }
578
+ .is-branch .dt-k { color: var(--text); font-weight: 500; }
579
+ .dt-v { min-inline-size: 0; overflow-wrap: anywhere; color: var(--text); }
580
+ .dt-v.is-pair { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.5rem; }
581
+ .dt-meta { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0 0.5rem; color: var(--text-3); font: 400 var(--fs-sm)/1.45 var(--font); }
582
+ .dt-meta .br { font-family: var(--mono); }
583
+ .dt-inner { display: inline-flex; align-items: center; gap: 0.3125rem; color: var(--warn); font-weight: 500; white-space: nowrap; }
584
+ .dt-inner::before { content: ""; inline-size: 0.375rem; block-size: 0.375rem; border-radius: 50%; background: currentColor; }
585
+ .dt-arrow { color: var(--text-3); font-family: var(--font); }
586
+ [dir="rtl"] .dt-arrow { display: inline-block; transform: scaleX(-1); }
587
+ /* Changed, added and removed rows are tinted end to end, with the marker in the gutter and a 2 px
588
+ bar on the leading edge, so changes read at a glance in a long document. */
589
+ .dt-row.is-chg { background: color-mix(in oklch, var(--warn-soft) 92%, transparent); }
590
+ .dt-row.is-chg .dt-mk { color: var(--warn); }
591
+ .dt-row.is-chg .dt-k { color: var(--text); font-weight: 500; }
592
+ .dt-old { color: var(--text-3); text-decoration: line-through; text-decoration-color: color-mix(in oklch, var(--text-3) 70%, transparent); }
593
+ .dt-old :is(.j-s, .j-n, .j-b, .xt-v) { color: inherit; }
594
+ .dt-old .xt-t { text-decoration: none; }
595
+ .dt-row.is-add { background: var(--ok-soft); }
596
+ .dt-row.is-add .dt-mk { color: var(--ok); }
597
+ .dt-row.is-add .dt-k { color: var(--ok); font-weight: 500; }
598
+ .dt-row.is-add.is-inherit { background: color-mix(in oklch, var(--ok-soft) 55%, transparent); }
599
+ .dt-row.is-add.is-inherit .dt-k { color: var(--text-2); font-weight: 400; }
600
+ .dt-row.is-del { background: var(--danger-soft); }
601
+ .dt-row.is-del .dt-mk { color: var(--danger); }
602
+ .dt-row.is-del .dt-k { color: var(--danger); font-weight: 500; text-decoration: line-through; }
603
+ .dt-row.is-del .dt-v { color: var(--text-3); text-decoration: line-through; }
604
+ .dt-row:is(.is-chg, .is-add, .is-del):not(.is-inherit)::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; inline-size: 2px; background: currentColor; }
605
+ .dt-row.is-chg::before { color: var(--warn); } .dt-row.is-add::before { color: var(--ok); } .dt-row.is-del::before { color: var(--danger); }
606
+ /* Inserted and deleted documents: no tint (the whole card is one operation), only the marker. */
607
+ .is-plain-add .dt-mk { color: color-mix(in oklch, var(--ok) 75%, transparent); }
608
+ .is-plain-del .dt-mk { color: color-mix(in oklch, var(--danger) 75%, transparent); }
609
+ .doc-card.is-delete .dt-v, .doc-card.is-delete .dt-v .j-s { color: var(--text-2); }
610
+ /* Values */
611
+ .j-s { color: var(--t-string); } .j-n { color: var(--t-number); } .j-b { color: var(--t-boolean); }
612
+ .j-null { color: var(--text-3); font-style: italic; } .j-o { color: var(--text-2); }
613
+ .j-k { color: var(--text); } .j-k.is-op { color: var(--accent-text); font-weight: 500; } .j-p { color: var(--text-3); }
614
+ .xt { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0.125rem 0.375rem; max-inline-size: 100%; min-inline-size: 0; }
615
+ .xt-t { display: inline-flex; align-items: center; align-self: center; block-size: 1.125rem; padding-inline: 0.3125rem; border-radius: var(--r-sm); background: color-mix(in oklch, var(--t-object) 11%, transparent); color: var(--t-object); font: 500 0.65625rem/1 var(--font); letter-spacing: 0.01em; white-space: nowrap; }
616
+ .xt-v { color: var(--text); overflow-wrap: anywhere; min-inline-size: 0; }
617
+ .redacted { display: inline-flex; align-items: center; gap: 0.3125rem; block-size: 1.25rem; padding-inline: 0.375rem 0.5rem; border-radius: var(--r-sm); border: 1px dashed var(--line-strong); color: var(--text-3); background: var(--sunken); font: 500 var(--fs-xs)/1 var(--font); text-decoration: none; vertical-align: middle; white-space: nowrap; }
618
+ .redacted .i { inline-size: 0.75rem; block-size: 0.75rem; }
619
+
620
+ /* ---------- 4. Db command logs ---------- */
621
+ /* With Db entries the level filter, the search and the store chips are one block that stays in
622
+ view while the log scrolls (they are how you find the next entry). */
623
+ .log-filters { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.625rem; min-inline-size: 0; }
624
+ .log-filters.has-queries { position: sticky; inset-block-start: 0; z-index: 3; margin-block: -1.25rem 0; padding-block: 1.25rem 0.75rem; background: var(--panel); }
625
+ .qf { display: flex; align-items: center; flex-wrap: wrap; gap: 0.375rem; }
626
+ .qf-l { font-size: var(--fs-sm); font-weight: 500; color: var(--text-3); margin-inline-end: 0.125rem; }
627
+ .qc { display: inline-flex; align-items: center; gap: 0.375rem; block-size: 1.75rem; padding-inline: 0.5rem 0.5625rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--raised); color: var(--text-2); font: 500 var(--fs-sm)/1 var(--font); cursor: pointer; white-space: nowrap; }
628
+ .qc[aria-pressed="true"] { border-color: color-mix(in oklch, var(--accent) 38%, var(--line)); background: var(--accent-soft); color: var(--text); }
629
+ .qc .n { color: var(--text-3); font-weight: 400; font-variant-numeric: tabular-nums; }
630
+ .qc .i { color: var(--text-3); }
631
+ /* With Db entries the table keeps the pane's width and long messages end in an ellipsis (mock 119),
632
+ instead of widening every row to the longest command. */
633
+ .logs[style*="--lvl-w"] .logs-inner { inline-size: auto; }
634
+ /* The level column fits the longest store name in this log (--lvl-w, set by result-logs.js). */
635
+ .logs[style*="--lvl-w"] .log-row { grid-template-columns: 1.125rem 2.5rem var(--lvl-w) 2.2rem 7.25rem minmax(0, 1fr); }
636
+ .lvl-db .lvl { inline-size: auto; min-inline-size: 2.4rem; padding-inline: 0.3125rem; color: var(--patch); background: var(--patch-bg); white-space: nowrap; }
637
+ .src-store { display: inline-flex; align-items: center; gap: 0.375rem; min-inline-size: 0; max-inline-size: 100%; }
638
+ .src-store > span { overflow: hidden; text-overflow: ellipsis; }
639
+ .log-row.is-db .msg { display: flex; align-items: baseline; gap: 0.625rem; min-inline-size: 0; }
640
+ .dbm { flex: none; font: 400 var(--fs-sm)/1.4 var(--mono); color: var(--text-2); }
641
+ .dbm b { color: var(--text); font-weight: 600; }
642
+ .dbs { min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; font: 400 var(--fs-xs)/1.4 var(--mono); color: var(--text-3); }
643
+ .log-badge.is-blocked { display: inline-flex; align-items: center; gap: 0.25rem; flex: none; align-self: center; block-size: 1.25rem; padding-inline: 0.375rem; border-radius: var(--r-sm); background: var(--warn-soft); color: var(--warn); font: 600 var(--fs-xs)/1 var(--font); }
644
+ .log-blocked { display: flex; align-items: flex-start; gap: 0.4375rem; margin: 0; color: var(--warn); font-size: var(--fs-sm); line-height: 1.45; }
645
+ .log-blocked .i { flex: none; margin-block-start: 0.125rem; }
646
+ .log-detail .log-props { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
647
+ .log-detail .log-props > div { min-inline-size: 0; }
648
+ .log-detail .log-props dd { overflow-wrap: anywhere; }
649
+ .cmd { border: 1px solid var(--line); border-radius: var(--r); background: var(--raised); overflow: hidden; }
650
+ .cmd-bar { display: flex; align-items: center; gap: 0.4375rem; min-block-size: 2rem; padding-inline: 0.8rem; border-block-end: 1px solid var(--line); background: var(--panel); font-size: var(--fs-xs); color: var(--text-2); }
651
+ .cmd .cmd-text { margin: 0; border: 0; border-radius: 0; line-height: 1.65; max-block-size: 14rem; overflow: auto; }
652
+ .ph { display: inline-flex; align-items: center; justify-content: center; min-inline-size: 1.125rem; block-size: 1.0625rem; padding-inline: 0.1875rem; border-radius: 0.25rem; background: var(--sunken); border: 1px solid var(--line); color: var(--text-3); font: 600 0.6875rem/1 var(--mono); vertical-align: 0.0625rem; }
653
+ .rc-c { color: var(--accent-text); font-weight: 600; }
654
+ .rc-k { color: var(--t-string); }
655
+ .prm { border: 1px solid var(--line); border-radius: var(--r); background: var(--raised); overflow: hidden; }
656
+ .prm-h { display: flex; align-items: center; flex-wrap: wrap; gap: 0.125rem 0.375rem; min-block-size: 2rem; padding: 0.25rem 0.8rem; border-block-end: 1px solid var(--line); font-size: var(--fs-xs); font-weight: 500; color: var(--text-2); }
657
+ .prm-h .faint { font-weight: 400; }
658
+ .prm .params { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0; margin: 0; }
659
+ .prm .params :is(dt, dd) { margin: 0; padding: 0.3125rem 0.8rem; border-block-start: 1px solid var(--line); min-inline-size: 0; overflow-wrap: anywhere; }
660
+ .prm .params :is(dt, dd):nth-child(-n + 2) { border-block-start: 0; }
661
+ .prm .params dd { color: var(--text); }
662
+ .prm-note { display: flex; align-items: flex-start; gap: 0.4375rem; margin: 0; font-size: var(--fs-sm); color: var(--text-3); line-height: 1.45; }
663
+ .prm-note .i { flex: none; margin-block-start: 0.125rem; }
664
+
665
+ /* ---------- 5. Preview unavailable, known in advance ---------- */
666
+ /* The reason docks right above the action bar and takes its own space (the pane above shrinks),
667
+ so it never covers the form's help text. Its caret points at the disabled Preview button. */
668
+ .pv-dock { position: relative; display: flex; align-items: flex-start; gap: 0.75rem; flex: none; padding: 0.75rem 1rem 0.8125rem var(--pad); padding-inline: var(--pad) 1rem; border-block-start: 1px solid color-mix(in oklch, var(--warn) 30%, var(--line)); background: var(--warn-soft); outline: none; }
669
+ .pv-dock[hidden] { display: none; }
670
+ .pv-dock:focus-visible { box-shadow: inset 0 0 0 2px var(--focus); }
671
+ .pv-dock.is-nudged { animation: pv-nudge 600ms var(--ease); }
672
+ @keyframes pv-nudge { 0%, 100% { transform: none; } 20%, 60% { transform: translateX(-3px); } 40%, 80% { transform: translateX(3px); } }
673
+ @media (prefers-reduced-motion: reduce) { .pv-dock.is-nudged { animation: none; box-shadow: inset 0 0 0 2px var(--warn); } }
674
+ .pv-tile { display: inline-flex; align-items: center; justify-content: center; flex: none; inline-size: 2.25rem; block-size: 2.25rem; border-radius: var(--r); background: var(--raised); border: 1px solid color-mix(in oklch, var(--warn) 22%, var(--line)); box-shadow: var(--shadow-sm); color: var(--warn); }
675
+ .pv-text { display: grid; gap: 0.1875rem; min-inline-size: 0; }
676
+ .pv-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.125rem 0.5rem; margin: 0; font-size: var(--fs-base); line-height: 1.4; color: var(--text); }
677
+ .pv-title strong { font-weight: 600; color: var(--warn); }
678
+ .pv-reason { font-weight: 500; overflow-wrap: anywhere; }
679
+ .pv-sub { margin: 0; font-size: var(--fs-sm); line-height: 1.5; color: var(--text-2); }
680
+ .pv-by { color: var(--text-3); }
681
+ .pv-by code { font-size: var(--fs-xs); }
682
+ .pv-more { display: none; padding: 0; border: 0; background: none; color: var(--accent-text); font: 500 var(--fs-sm)/1.5 var(--font); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
683
+ /* Physical borders: rotated 45°, right + bottom always make a downward point, in LTR and RTL. */
684
+ .pv-caret { position: absolute; inset-block-end: -0.4375rem; inset-inline-end: calc(1rem + var(--w-preview, 10em) / 2 - 0.4375rem); inline-size: 0.875rem; block-size: 0.875rem; background: var(--warn-soft); border-right: 1px solid color-mix(in oklch, var(--warn) 30%, var(--line)); border-bottom: 1px solid color-mix(in oklch, var(--warn) 30%, var(--line)); transform: rotate(45deg); z-index: 1; }
685
+ .actionbar .btn-preview.is-unavailable { background: var(--sunken); border: 1px dashed color-mix(in oklch, var(--warn) 45%, var(--line-strong)); color: var(--text-3); box-shadow: none; cursor: not-allowed; }
686
+ .actionbar .btn-preview.is-unavailable .i { color: var(--warn); }
687
+ .actionbar .status.is-blocked { color: var(--warn); }
688
+ .actionbar .status.is-confirm-store { color: var(--text); }
689
+ .actionbar .status.is-confirm-store > .i { color: var(--warn); flex: none; }
690
+ .nav-item .trail .no-preview { color: var(--warn); }
691
+ .steps .step-off { color: var(--text-3); }
692
+ .steps .step-off > .i { color: var(--warn); }
693
+ .step-tag { display: inline-flex; align-items: center; gap: 0.3125rem; block-size: 1.375rem; padding-inline: 0.4375rem; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--raised); color: var(--text-2); font-size: var(--fs-xs); font-weight: 500; white-space: nowrap; }
694
+
695
+ /* ---------- 6. Preview unavailable, caught mid-request ---------- */
696
+ .status-code.warn.is-blocked { display: inline-flex; align-items: center; gap: 0.375rem; color: var(--warn); min-inline-size: 0; }
697
+ .status-code.warn.is-blocked .i { color: var(--warn); }
698
+ /* Copy as cURL and Send for real travel together, so the copy button never sits alone on a row. */
699
+ .resp-acts { display: inline-flex; align-items: center; gap: 0.5rem; flex: none; margin-inline-start: auto; }
700
+ .blk { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; max-inline-size: 40rem; min-inline-size: 0; }
701
+ .blk-top { display: flex; gap: 1rem; align-items: flex-start; padding-block-start: 0.25rem; }
702
+ .blk-tile { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; inline-size: 3.25rem; block-size: 3.25rem; border-radius: var(--r-lg); background: var(--raised); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
703
+ .blk-badge { position: absolute; inset-block-end: -0.375rem; inset-inline-end: -0.375rem; display: inline-flex; align-items: center; justify-content: center; inline-size: 1.375rem; block-size: 1.375rem; border-radius: 50%; background: var(--warn); color: var(--panel); box-shadow: 0 0 0 2px var(--panel); }
704
+ .blk-badge .i { inline-size: 0.8125rem; block-size: 0.8125rem; stroke-width: 2.4; }
705
+ .blk-lede { display: grid; gap: 0.3125rem; min-inline-size: 0; }
706
+ .blk-eyebrow { margin: 0; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--warn); }
707
+ :root:is(:lang(ar), :lang(fa), :lang(he), :lang(hi), :lang(th), :lang(ja), :lang(ko), :lang(zh)) .blk-eyebrow { letter-spacing: 0; text-transform: none; font-size: var(--fs-sm); }
708
+ .blk-lede h3 { margin: 0; font-size: var(--fs-xl); font-weight: 600; letter-spacing: -0.012em; line-height: 1.3; }
709
+ .blk-lede p:not(.blk-eyebrow) { margin: 0; font-size: var(--fs-base); line-height: 1.55; color: var(--text-2); }
710
+ .blk-lede code { font-size: var(--fs-sm); }
711
+ .blk-safe { border: 1px solid color-mix(in oklch, var(--ok) 28%, var(--line)); border-radius: var(--r-lg); background: var(--raised); overflow: hidden; }
712
+ .blk-safe-h { display: flex; align-items: center; gap: 0.5rem; margin: 0; min-block-size: 2.5rem; padding-inline: 0.875rem; background: var(--ok-soft); color: var(--ok); font-size: var(--fs-base); }
713
+ .blk-safe-h strong { font-weight: 600; }
714
+ .blk-safe ul { list-style: none; margin: 0; padding: 0; }
715
+ .blk-safe li { display: flex; align-items: center; flex-wrap: wrap; gap: 0.125rem 0.625rem; min-block-size: 2.5rem; padding: 0.375rem 0.875rem; border-block-start: 1px solid var(--line); }
716
+ .blk-safe .nm { font-size: var(--fs-base); color: var(--text); font-weight: 500; }
717
+ .blk-safe .nm code { margin-inline-start: 0.25rem; font-size: var(--fs-xs); font-weight: 400; color: var(--text-2); }
718
+ .blk-safe .st { display: inline-flex; align-items: center; gap: 0.375rem; margin-inline-start: auto; font-size: var(--fs-sm); color: var(--text-2); }
719
+ .blk-safe .st .i { flex: none; }
720
+ .blk-safe .st.is-block { color: var(--warn); font-weight: 500; }
721
+ .blk-safe .st code { font-size: var(--fs-xs); }
722
+ .blk-note { margin: 0; padding: 0.5rem 0.875rem 0.625rem; border-block-start: 1px solid var(--line); font-size: var(--fs-sm); color: var(--text-3); background: var(--panel); }
723
+ .blk-next { display: grid; gap: 0.75rem; }
724
+ .blk-next h4 { margin: 0; font-size: var(--fs-base); font-weight: 600; }
725
+ .blk-step { display: flex; gap: 0.75rem; align-items: flex-start; }
726
+ .blk-step .n { display: inline-flex; align-items: center; justify-content: center; flex: none; inline-size: 1.375rem; block-size: 1.375rem; border-radius: 50%; border: 1px solid var(--line-strong); font-size: var(--fs-xs); font-weight: 600; color: var(--text-2); margin-block-start: 0.25rem; }
727
+ .blk-step .grow { display: grid; gap: 0.4375rem; justify-items: start; min-inline-size: 0; }
728
+ .blk-step p { margin: 0; font-size: var(--fs-sm); line-height: 1.5; color: var(--text-2); }
729
+ .blk-acts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
730
+ .blk-step .blk-author { font-size: var(--fs-base); color: var(--text); }
731
+ .blk-author strong { font-weight: 600; margin-inline-end: 0.25rem; }
732
+ .blk-author code { font-size: var(--fs-sm); }
733
+ .blk-code { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 0.25rem; inline-size: 100%; border: 1px solid var(--line); border-radius: var(--r); background: var(--sunken); padding-inline-end: 0.25rem; }
734
+ .blk-lang { grid-column: 1 / -1; padding: 0.375rem 0.75rem 0; font: 500 var(--fs-xs)/1 var(--font); color: var(--text-3); }
735
+ .blk-lang:has(.blk-lang-select) { padding-block-start: 0.25rem; padding-inline-start: 0.5rem; }
736
+ /* The snippet's language switch (shown when discovery names no binding): a quiet native select that reads as the label it replaces. */
737
+ .blk-lang-select { appearance: auto; max-inline-size: 100%; margin: 0; padding: 0.125rem 0.25rem; border: 1px solid transparent; border-radius: var(--r-sm); background: transparent; color: var(--text-2); font: inherit; cursor: pointer; }
738
+ .blk-lang-select:hover { background: var(--hover); color: var(--text); }
739
+ .blk-lang-select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
740
+ .blk-code pre { margin: 0; padding: 0.375rem 0.75rem 0.5rem; font: 400 var(--fs-sm)/1.5 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text); }
741
+ .blk-raw { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--raised); overflow: hidden; }
742
+ .blk-raw-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem 0.5rem; min-block-size: 2.25rem; padding: 0.25rem 0.5rem 0.25rem 0.875rem; padding-inline: 0.875rem 0.5rem; border-block-end: 1px solid var(--line); background: var(--panel); font-size: var(--fs-sm); }
743
+ .blk-raw-bar > span:first-child { font-weight: 500; color: var(--text-2); }
744
+ .blk-raw-bar code { font-size: var(--fs-xs); color: var(--text-3); }
745
+ .blk-raw pre { margin: 0; padding: 0.75rem 0.875rem; font: 400 var(--fs-sm)/1.65 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
746
+
747
+ /* ---------- 7. Coverage panel ---------- */
748
+ .env > .i { color: var(--text-3); }
749
+ button.env:hover { border-color: var(--line-strong); background: var(--hover); }
750
+ .cov-pop { inline-size: min(26rem, calc(100vw - 1.5rem)); }
751
+ .cov-list { list-style: none; margin: 0; padding: 0.25rem 0; }
752
+ .cov-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.625rem; padding: 0.5rem 0.875rem; }
753
+ .cov-row .stack { display: grid; gap: 0.125rem; min-inline-size: 0; }
754
+ .cov-row .main { font-size: var(--fs-base); font-weight: 500; color: var(--text); }
755
+ .cov-row .main code { font-size: var(--fs-xs); font-weight: 400; color: var(--text-2); }
756
+ .cov-row .sub { font-size: var(--fs-sm); color: var(--text-3); line-height: 1.4; }
757
+ .mode-pill { display: inline-flex; align-items: center; gap: 0.3125rem; block-size: 1.375rem; padding-inline: 0.4375rem; border-radius: var(--r-sm); font-size: var(--fs-xs); font-weight: 500; white-space: nowrap; }
758
+ .mode-pill.is-preview { background: var(--accent-soft); color: var(--accent-text); }
759
+ .mode-pill.is-guard { background: var(--warn-soft); color: var(--warn); }
760
+ .cov-foot { display: flex; align-items: flex-start; gap: 0.5rem; margin: 0; padding: 0.625rem 0.875rem 0.75rem; border-block-start: 1px solid var(--line); background: var(--panel); font-size: var(--fs-sm); line-height: 1.45; color: var(--text-2); }
761
+ .cov-foot .i { flex: none; margin-block-start: 0.125rem; color: var(--text-3); }
762
+
763
+ /* ---------- 8. Phones, narrow panes, large text, right to left ---------- */
764
+ /* A narrow card (a phone, or a narrow result pane): the value moves under its key and old sits
765
+ over new, so nothing scrolls sideways at 320 px or at 130% text. */
766
+ @container doc (max-width: 30rem) {
767
+ .dt-row { --ind: 0.75rem; }
768
+ .dt-in { grid-template-columns: 0.9375rem minmax(0, 1fr); row-gap: 0.0625rem; }
769
+ .dt-k { min-inline-size: 0; }
770
+ .dt-row:not(.is-branch) .dt-v { grid-column: 2; }
771
+ .is-branch .dt-meta { grid-column: 2; }
772
+ .dt-row.is-chg .dt-v.is-pair { display: grid; gap: 0.125rem; }
773
+ .dt-row.is-chg .dt-arrow { display: none; }
774
+ .dt-row.is-chg .dt-old::before { content: "− "; display: inline-block; white-space: pre; text-decoration: none; }
775
+ .dt-row.is-chg .dt-new::before { content: "+ "; display: inline-block; white-space: pre; color: var(--warn); }
776
+ .doc-id { flex-basis: 100%; }
777
+ /* Changes only becomes its icon; the view switch takes its own full-width row. */
778
+ .doc-only .lbl { display: none; }
779
+ .doc-head .doc-views { order: 9; flex: 1 1 100%; }
780
+ .doc-head .doc-views button { flex: 1; }
781
+ }
782
+ @container result (max-width: 28rem) {
783
+ .logs[style*="--lvl-w"] .log-row { grid-template-columns: 1.125rem var(--lvl-w) minmax(0, 1fr); }
784
+ }
785
+ @media (max-width: 56rem) {
786
+ /* A phone has no room for a sticky filter block; it scrolls with the log, and the chips wrap. */
787
+ .log-filters.has-queries { position: static; margin-block: 0; padding-block: 0; }
788
+ .qf-l { flex-basis: 100%; }
789
+ .qc { min-block-size: 2.75rem; }
790
+ .logs[style*="--lvl-w"] .log-row { grid-template-columns: 1.125rem var(--lvl-w) minmax(0, 1fr); }
791
+ .log-row.is-db .msg { display: grid; gap: 0.125rem; white-space: normal; }
792
+ .log-row.is-db .dbs { white-space: nowrap; }
793
+ .prm .params { grid-template-columns: minmax(0, 1fr); }
794
+ .prm .params dd { border-block-start: 0; padding-block-start: 0; }
795
+ .cmd .cmd-text { white-space: pre-wrap; overflow-wrap: anywhere; }
796
+ .ss-note { flex-basis: 100%; }
797
+ /* The docked reason keeps its title and the author's reason; "Why?" opens the rest. */
798
+ .pv-dock { padding: 0.75rem 0.875rem; gap: 0.625rem; }
799
+ .pv-why { display: none; }
800
+ .pv-dock.is-open .pv-why { display: inline; }
801
+ .pv-more { display: inline; }
802
+ .pv-caret { inset-inline-end: 25%; }
803
+ .resp-head .status-code.is-blocked { flex-basis: 100%; }
804
+ .resp-head .resp-acts { order: 4; }
805
+ .blk-top { gap: 0.875rem; }
806
+ .blk-tile { inline-size: 2.75rem; block-size: 2.75rem; }
807
+ .blk-tile .mk-28 { inline-size: 1.5rem; block-size: 1.5rem; }
808
+ .blk-lede h3 { font-size: var(--fs-lg); }
809
+ .blk-safe .st { margin-inline-start: 1.625rem; flex-basis: 100%; }
810
+ .blk-safe li { padding-block: 0.5rem; }
811
+ .blk-acts, .blk-acts .btn { inline-size: 100%; justify-content: center; }
812
+ .blk-acts .btn .kbd { display: none; }
813
+ }
814
+
815
+ /* ---------- Shell fixes found while building v6 (they apply everywhere) ---------- */
816
+ /* The result head row never pushes past its pane: when status, time, size, the schema match,
817
+ Copy as cURL and the next step don't fit, the schema match's label gives way first. */
818
+ .resp-head > .match { flex: 0 1 auto; min-inline-size: 1.75rem; overflow: hidden; }
819
+ .resp-head > .match > span { min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
820
+ /* Durations: Geist Mono has no Arabic, Hebrew, Devanagari, Thai or CJK letters, and a monospaced
821
+ fallback stretched Arabic "ms" into spaced-out letters (m31). Those scripts use the UI font, with
822
+ tabular digits so the numbers still line up. */
823
+ :root:is(:lang(ar), :lang(fa), :lang(he), :lang(hi), :lang(th), :lang(ja), :lang(ko), :lang(zh)) .metric { font-family: var(--font); font-variant-numeric: tabular-nums; }
824
+ /* "–" (not run yet) sits next to its tab's label instead of floating midway to the next tab; the
825
+ slot keeps its width, so tabs don't move when the count arrives. */
826
+ .tab .n.unknown { place-items: center start; padding-inline: 0.0625rem; }
827
+ /* An API name in a right-to-left layout keeps its own direction, so a long one is shortened at its
828
+ end ("Acme Trea…"), not its start ("…easury API"). */
829
+ .api-switch > .name { display: block; min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
830
+ /* Operation header pills (operation-header.js metaPills). Colour carries meaning only.
831
+ Access: the icon and a faint tint say whether the current user can call the operation. */
832
+ .op-meta .access.is-met { border-color: color-mix(in oklch, var(--ok) 30%, var(--line)); background: color-mix(in oklch, var(--ok-soft) 60%, var(--raised)); color: var(--text); }
833
+ .op-meta .access.is-met .i { color: var(--ok); }
834
+ .op-meta .access.is-locked { border-color: color-mix(in oklch, var(--warn) 34%, var(--line)); background: color-mix(in oklch, var(--warn-soft) 60%, var(--raised)); color: var(--text); }
835
+ .op-meta .access.is-locked .i { color: var(--warn); }
836
+ .op-meta .access.is-public { border-color: color-mix(in oklch, var(--accent) 28%, var(--line)); background: color-mix(in oklch, var(--accent-soft) 60%, var(--raised)); color: var(--text); }
837
+ .op-meta .access.is-public .i { color: var(--accent-text); }
838
+ /* Documented status codes: one segment per code, a dot and the number in its class's hue. */
839
+ .op-meta .codes { padding-inline: 0.25rem; gap: 0; }
840
+ .op-meta .codes bdi { display: inline-flex; align-items: center; }
841
+ .op-meta .sc { display: inline-flex; align-items: center; gap: 0.3125rem; padding-inline: 0.4375rem; font: 600 var(--fs-xs)/1 var(--mono); font-variant-numeric: tabular-nums; cursor: default; }
842
+ .op-meta .sc + .sc { border-inline-start: 1px solid var(--line); }
843
+ .op-meta .sc i { inline-size: 0.4375rem; block-size: 0.4375rem; border-radius: 50%; background: currentColor; flex: none; }
844
+ .op-meta .sc-ok { color: var(--ok); }
845
+ .op-meta .sc-info { color: var(--info); }
846
+ .op-meta .sc-warn { color: var(--warn); }
847
+ .op-meta .sc-danger { color: var(--danger); }
848
+ .op-meta .sc-muted { color: var(--text-3); }