@poadio/app-vue 0.0.0-stage → 0.2.0

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 (225) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/LICENSE +22 -0
  3. package/README.md +16 -2
  4. package/app-vue.css +181 -0
  5. package/dist/browser.d.ts +23 -0
  6. package/dist/browser.d.ts.map +1 -0
  7. package/dist/browser.js +112 -0
  8. package/dist/browser.js.map +1 -0
  9. package/dist/draft-toolbar.d.ts +65 -0
  10. package/dist/draft-toolbar.d.ts.map +1 -0
  11. package/dist/draft-toolbar.js +62 -0
  12. package/dist/draft-toolbar.js.map +1 -0
  13. package/dist/front-view.d.ts +39 -0
  14. package/dist/front-view.d.ts.map +1 -0
  15. package/dist/front-view.js +174 -0
  16. package/dist/front-view.js.map +1 -0
  17. package/dist/index.d.ts +5 -0
  18. package/dist/index.d.ts.map +1 -0
  19. package/dist/index.js +6 -0
  20. package/dist/index.js.map +1 -0
  21. package/dist/items.d.ts +33 -0
  22. package/dist/items.d.ts.map +1 -0
  23. package/dist/items.js +369 -0
  24. package/dist/items.js.map +1 -0
  25. package/dist/lazy.d.ts +56 -0
  26. package/dist/lazy.d.ts.map +1 -0
  27. package/dist/lazy.js +68 -0
  28. package/dist/lazy.js.map +1 -0
  29. package/dist/messages.d.ts +56 -0
  30. package/dist/messages.d.ts.map +1 -0
  31. package/dist/messages.js +102 -0
  32. package/dist/messages.js.map +1 -0
  33. package/dist/sections/grid.d.ts +53 -0
  34. package/dist/sections/grid.d.ts.map +1 -0
  35. package/dist/sections/grid.js +46 -0
  36. package/dist/sections/grid.js.map +1 -0
  37. package/dist/sections/under-construction.d.ts +25 -0
  38. package/dist/sections/under-construction.d.ts.map +1 -0
  39. package/dist/sections/under-construction.js +32 -0
  40. package/dist/sections/under-construction.js.map +1 -0
  41. package/package.json +72 -4
  42. package/runtime-dist/app.css +535 -0
  43. package/runtime-dist/app.js +2 -0
  44. package/runtime-dist/c-0rxdxcn3.js +2 -0
  45. package/runtime-dist/c-0vbs937h.js +18 -0
  46. package/runtime-dist/c-0zqjsnm5.js +2 -0
  47. package/runtime-dist/c-13nx24wa.js +1 -0
  48. package/runtime-dist/c-16cdkp27.js +1 -0
  49. package/runtime-dist/c-16cm3n82.js +1 -0
  50. package/runtime-dist/c-1h49vkah.js +2 -0
  51. package/runtime-dist/c-1xpa1fqz.js +1 -0
  52. package/runtime-dist/c-29v2e09p.js +1 -0
  53. package/runtime-dist/c-2ag31260.js +2 -0
  54. package/runtime-dist/c-2s6r37jb.js +1 -0
  55. package/runtime-dist/c-2v244yc0.js +1 -0
  56. package/runtime-dist/c-3be398px.js +1 -0
  57. package/runtime-dist/c-3jm96b1p.js +2 -0
  58. package/runtime-dist/c-3pe5hprv.js +2 -0
  59. package/runtime-dist/c-3zbf5g3p.js +1 -0
  60. package/runtime-dist/c-4h51m4qq.js +1 -0
  61. package/runtime-dist/c-523qwqen.js +2 -0
  62. package/runtime-dist/c-572jz6y4.js +1 -0
  63. package/runtime-dist/c-64j9mv7a.js +1 -0
  64. package/runtime-dist/c-6f446pxt.js +1 -0
  65. package/runtime-dist/c-6pd33f4a.js +1 -0
  66. package/runtime-dist/c-6qa26wds.js +1 -0
  67. package/runtime-dist/c-6w0f1kqm.js +1 -0
  68. package/runtime-dist/c-72hj12cs.js +2 -0
  69. package/runtime-dist/c-7cjj18ea.js +1 -0
  70. package/runtime-dist/c-823yyjat.js +1 -0
  71. package/runtime-dist/c-8gpbevx2.js +1 -0
  72. package/runtime-dist/c-98tbntdq.js +2 -0
  73. package/runtime-dist/c-9sm6aybf.js +2 -0
  74. package/runtime-dist/c-a63rkaa9.js +1 -0
  75. package/runtime-dist/c-ahcj5yr5.js +1 -0
  76. package/runtime-dist/c-azvw5879.js +2 -0
  77. package/runtime-dist/c-b6g9ey7e.js +2 -0
  78. package/runtime-dist/c-bssc8kwn.js +1 -0
  79. package/runtime-dist/c-bvp9zbmr.js +1 -0
  80. package/runtime-dist/c-cc3m3rs1.js +2 -0
  81. package/runtime-dist/c-cp1ehb23.js +1 -0
  82. package/runtime-dist/c-cvsx6n6e.js +2 -0
  83. package/runtime-dist/c-d5y90g8f.js +1 -0
  84. package/runtime-dist/c-d8hfdner.js +2 -0
  85. package/runtime-dist/c-dqtdk937.js +1 -0
  86. package/runtime-dist/c-dzx0rg0g.js +2 -0
  87. package/runtime-dist/c-eczfywaq.js +1 -0
  88. package/runtime-dist/c-epemgj1a.js +2 -0
  89. package/runtime-dist/c-et83hbhc.js +1 -0
  90. package/runtime-dist/c-ffkh15py.js +1 -0
  91. package/runtime-dist/c-fn3059s1.js +2 -0
  92. package/runtime-dist/c-fnzeden9.js +1 -0
  93. package/runtime-dist/c-gen0a4bn.js +1 -0
  94. package/runtime-dist/c-gesjk5ph.js +1 -0
  95. package/runtime-dist/c-gkyekesy.js +15 -0
  96. package/runtime-dist/c-gs1k0twe.js +2 -0
  97. package/runtime-dist/c-gznx0sj4.js +2 -0
  98. package/runtime-dist/c-h5m94fwp.js +1 -0
  99. package/runtime-dist/c-hdstjg33.js +2 -0
  100. package/runtime-dist/c-hsy77frc.js +3 -0
  101. package/runtime-dist/c-j02ymtyd.js +2 -0
  102. package/runtime-dist/c-j63hz554.js +2 -0
  103. package/runtime-dist/c-jvrr9zb8.js +1 -0
  104. package/runtime-dist/c-jymrpj5m.js +1 -0
  105. package/runtime-dist/c-k624qrhh.js +2 -0
  106. package/runtime-dist/c-kbg0cafy.js +2 -0
  107. package/runtime-dist/c-kmx0mv0c.js +2 -0
  108. package/runtime-dist/c-krt6rpg1.js +1 -0
  109. package/runtime-dist/c-kyajr8zz.js +2 -0
  110. package/runtime-dist/c-m30q0jrb.js +1 -0
  111. package/runtime-dist/c-m49q9r7s.js +1 -0
  112. package/runtime-dist/c-m6yf7zaj.js +2 -0
  113. package/runtime-dist/c-m70tbfc5.js +2 -0
  114. package/runtime-dist/c-mdj990nz.js +2 -0
  115. package/runtime-dist/c-mvdn43tv.js +2 -0
  116. package/runtime-dist/c-mw3zx9yk.js +1 -0
  117. package/runtime-dist/c-n8mqnvjg.js +1 -0
  118. package/runtime-dist/c-nkrm4n9a.js +1 -0
  119. package/runtime-dist/c-nn49946s.js +1 -0
  120. package/runtime-dist/c-ny0mdx7k.js +2 -0
  121. package/runtime-dist/c-p8wyhrwm.js +2 -0
  122. package/runtime-dist/c-pbn2syef.js +1 -0
  123. package/runtime-dist/c-prt5qv2x.js +1 -0
  124. package/runtime-dist/c-qe1kevqk.js +1 -0
  125. package/runtime-dist/c-rasvf2z2.js +2 -0
  126. package/runtime-dist/c-rf1xevya.js +1 -0
  127. package/runtime-dist/c-rktc0ksd.js +2 -0
  128. package/runtime-dist/c-sd570jk7.js +2 -0
  129. package/runtime-dist/c-sdf15np5.js +1 -0
  130. package/runtime-dist/c-sjajadt4.js +2 -0
  131. package/runtime-dist/c-sv15z0aa.js +1 -0
  132. package/runtime-dist/c-tv3ksk7j.js +2 -0
  133. package/runtime-dist/c-vrmw0gka.js +1 -0
  134. package/runtime-dist/c-wjadf68q.js +1 -0
  135. package/runtime-dist/c-wnynh7zm.js +1 -0
  136. package/runtime-dist/c-xeqwqt9z.js +2 -0
  137. package/runtime-dist/c-xk9fqzsc.js +1 -0
  138. package/runtime-dist/c-xqf3j4w7.js +1 -0
  139. package/runtime-dist/c-xx4986kx.js +1 -0
  140. package/runtime-dist/c-y9120d6h.js +1 -0
  141. package/runtime-dist/c-ywzh0r63.js +1 -0
  142. package/runtime-dist/c-zyfkspym.js +2 -0
  143. package/runtime-dist/index.html +14 -0
  144. package/runtime-dist/ui-accordion.css +29 -0
  145. package/runtime-dist/ui-app-shell.css +36 -0
  146. package/runtime-dist/ui-avatar.css +28 -0
  147. package/runtime-dist/ui-badge.css +14 -0
  148. package/runtime-dist/ui-block-editor.css +85 -0
  149. package/runtime-dist/ui-block-view.css +50 -0
  150. package/runtime-dist/ui-block.css +20 -0
  151. package/runtime-dist/ui-bottom-nav.css +54 -0
  152. package/runtime-dist/ui-breadcrumb.css +25 -0
  153. package/runtime-dist/ui-button-group.css +39 -0
  154. package/runtime-dist/ui-calendar.css +168 -0
  155. package/runtime-dist/ui-card.css +26 -0
  156. package/runtime-dist/ui-carousel.css +35 -0
  157. package/runtime-dist/ui-chart.css +26 -0
  158. package/runtime-dist/ui-checkbox.css +25 -0
  159. package/runtime-dist/ui-chip.css +30 -0
  160. package/runtime-dist/ui-code-editor.css +25 -0
  161. package/runtime-dist/ui-colorpicker.css +46 -0
  162. package/runtime-dist/ui-combo.css +43 -0
  163. package/runtime-dist/ui-dataview.css +50 -0
  164. package/runtime-dist/ui-datepicker.css +80 -0
  165. package/runtime-dist/ui-dialog.css +119 -0
  166. package/runtime-dist/ui-divider.css +18 -0
  167. package/runtime-dist/ui-fieldset.css +25 -0
  168. package/runtime-dist/ui-filter-chip.css +24 -0
  169. package/runtime-dist/ui-floating.css +9 -0
  170. package/runtime-dist/ui-gantt.css +105 -0
  171. package/runtime-dist/ui-image.css +34 -0
  172. package/runtime-dist/ui-inplace.css +19 -0
  173. package/runtime-dist/ui-json-editor.css +40 -0
  174. package/runtime-dist/ui-layout.css +39 -0
  175. package/runtime-dist/ui-listbox.css +52 -0
  176. package/runtime-dist/ui-map.css +469 -0
  177. package/runtime-dist/ui-menu.css +38 -0
  178. package/runtime-dist/ui-menubar.css +55 -0
  179. package/runtime-dist/ui-meter.css +26 -0
  180. package/runtime-dist/ui-multiselect.css +62 -0
  181. package/runtime-dist/ui-nav-drawer.css +118 -0
  182. package/runtime-dist/ui-number.css +26 -0
  183. package/runtime-dist/ui-option-list.css +28 -0
  184. package/runtime-dist/ui-orderlist.css +54 -0
  185. package/runtime-dist/ui-orgchart.css +71 -0
  186. package/runtime-dist/ui-paginator.css +25 -0
  187. package/runtime-dist/ui-panel.css +28 -0
  188. package/runtime-dist/ui-password.css +26 -0
  189. package/runtime-dist/ui-picklist.css +58 -0
  190. package/runtime-dist/ui-popover.css +20 -0
  191. package/runtime-dist/ui-progress.css +31 -0
  192. package/runtime-dist/ui-radio.css +29 -0
  193. package/runtime-dist/ui-rating.css +19 -0
  194. package/runtime-dist/ui-richtext.css +48 -0
  195. package/runtime-dist/ui-scheduler.css +132 -0
  196. package/runtime-dist/ui-scroll-top.css +17 -0
  197. package/runtime-dist/ui-segmented.css +25 -0
  198. package/runtime-dist/ui-select.css +47 -0
  199. package/runtime-dist/ui-sheet.css +56 -0
  200. package/runtime-dist/ui-skeleton.css +18 -0
  201. package/runtime-dist/ui-slider.css +59 -0
  202. package/runtime-dist/ui-speed-dial.css +26 -0
  203. package/runtime-dist/ui-splitter.css +23 -0
  204. package/runtime-dist/ui-stepper.css +47 -0
  205. package/runtime-dist/ui-switch.css +31 -0
  206. package/runtime-dist/ui-table-panel.css +114 -0
  207. package/runtime-dist/ui-table.css +430 -0
  208. package/runtime-dist/ui-tabs.css +45 -0
  209. package/runtime-dist/ui-taskboard.css +104 -0
  210. package/runtime-dist/ui-timeline.css +44 -0
  211. package/runtime-dist/ui-toast.css +43 -0
  212. package/runtime-dist/ui-toggle-button.css +6 -0
  213. package/runtime-dist/ui-tooltip.css +21 -0
  214. package/runtime-dist/ui-tree.css +44 -0
  215. package/runtime-dist/ui-upload.css +46 -0
  216. package/runtime-dist/version.json +1 -0
  217. package/src/browser.ts +126 -0
  218. package/src/draft-toolbar.ts +67 -0
  219. package/src/front-view.ts +186 -0
  220. package/src/index.ts +5 -0
  221. package/src/items.ts +436 -0
  222. package/src/lazy.ts +76 -0
  223. package/src/messages.ts +110 -0
  224. package/src/sections/grid.ts +56 -0
  225. package/src/sections/under-construction.ts +34 -0
@@ -0,0 +1,469 @@
1
+ /*
2
+ * Carte (poad-map) — même DOM sur tous les rendus (voir src/map/map.classes.ts) :
3
+ * `.poad-map` (`is-loading|is-ready|is-error|has-chrome` ; `--poad-map-h`, `--poad-map-inset-left|right`)
4
+ * > `.poad-map__canvas` (MapLibre : canevas `role="region"` nommé, contrôles), `.poad-map__corner.tl|tr|bl|br`
5
+ * (contenu de l'application), `.poad-map__state` (chargement, erreur).
6
+ * Contient aussi le sous-ensemble utile de maplibre-gl.css (positionnement), limité à `.poad-map`, et l'habillage des
7
+ * contrôles, popups, info-bulle et marqueurs par les jetons (clair / sombre). La feuille complète de MapLibre reste
8
+ * facultative.
9
+ */
10
+ .poad-map { position: relative; display: block; width: 100%; height: var(--poad-map-h, 480px); border-radius: var(--poad-radius-lg, 12px); overflow: hidden;
11
+ background: var(--poad-bg-subtle); font-family: var(--poad-font); font-size: var(--poad-font-size); color: var(--poad-fg); isolation: isolate; }
12
+ .poad-map .poad-map__canvas { position: absolute; inset: 0; }
13
+ .poad-map .poad-map__canvas .maplibregl-map { width: 100%; height: 100%; }
14
+ .poad-map .poad-map__corner { position: absolute; z-index: 3; display: flex; flex-direction: column; gap: 8px; pointer-events: none; max-width: calc(100% - 24px); }
15
+ .poad-map .poad-map__corner:empty { display: none; }
16
+ .poad-map .poad-map__corner > * { pointer-events: auto; }
17
+ .poad-map .poad-map__corner.tl { top: 12px; inset-inline-start: calc(12px + min(var(--poad-map-inset-left, 0px), 100% - 50px)); }
18
+ .poad-map .poad-map__corner.tr { top: 12px; inset-inline-end: calc(12px + min(var(--poad-map-inset-right, 0px), 100% - 50px)); align-items: flex-end; }
19
+ .poad-map .poad-map__corner.bl { bottom: 12px; inset-inline-start: calc(12px + min(var(--poad-map-inset-left, 0px), 100% - 50px)); }
20
+ .poad-map .poad-map__corner.br { bottom: 12px; inset-inline-end: calc(12px + min(var(--poad-map-inset-right, 0px), 100% - 50px)); align-items: flex-end; }
21
+ .poad-map .poad-map__corner, .poad-map .maplibregl-ctrl-top-left, .poad-map .maplibregl-ctrl-bottom-left, .poad-map .maplibregl-ctrl-top-right, .poad-map .maplibregl-ctrl-bottom-right { transition: left .18s, right .18s; }
22
+ /* les contrôles natifs s'écartent du contenu posé dans les coins (recherche, légende…) */
23
+ .poad-map .maplibregl-ctrl-top-left { padding-top: var(--poad-map-tl-h, 0px); } .poad-map .maplibregl-ctrl-top-right { padding-top: var(--poad-map-tr-h, 0px); }
24
+ .poad-map .maplibregl-ctrl-bottom-left { padding-bottom: var(--poad-map-bl-h, 0px); } .poad-map .maplibregl-ctrl-bottom-right { padding-bottom: var(--poad-map-br-h, 0px); }
25
+ /* décalés par le rail et le panneau ouvert, bornés comme eux (50 px de carte toujours visibles) */
26
+ .poad-map .maplibregl-ctrl-top-left, .poad-map .maplibregl-ctrl-bottom-left { inset-inline-start: min(var(--poad-map-inset-left, 0px), 100% - 50px); }
27
+ .poad-map .maplibregl-ctrl-top-right, .poad-map .maplibregl-ctrl-bottom-right { inset-inline-end: min(var(--poad-map-inset-right, 0px), 100% - 50px); }
28
+ .poad-map .poad-map__state { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; gap: 8px; align-content: center; color: var(--poad-fg-secondary); font-size: 12.5px;
29
+ background: color-mix(in srgb, var(--poad-bg-subtle) 85%, transparent); }
30
+ .poad-map .poad-map__state.is-error { padding: 24px; }
31
+ /* clavier : le canevas (flèches = déplacer, + / − = zoomer, Maj + flèches = pivoter) montre son focus */
32
+ .poad-map .maplibregl-canvas-container.maplibregl-interactive .maplibregl-canvas { outline: none; }
33
+ .poad-map .maplibregl-canvas:focus-visible { outline: none; }
34
+ /* anneau double propre à la carte : l'accent plein (≥ 3:1 sur le fond de la page comme sur le canevas, clair ou sombre)
35
+ doublé d'un liseré de la couleur du fond, qui le détache d'un fond de carte de même teinte. `--poad-ring` (voile
36
+ translucide partagé par les autres composants) n'est pas touché. */
37
+ .poad-map:has(.maplibregl-canvas:focus-visible)::after { content: ''; position: absolute; inset: 0; z-index: 6; pointer-events: none; border-radius: inherit;
38
+ box-shadow: inset 0 0 0 3px var(--poad-map-focus, var(--poad-accent)), inset 0 0 0 5px var(--poad-map-focus-halo, var(--poad-bg)); }
39
+
40
+ /* ---- sous-ensemble de maplibre-gl.css (positionnement) ---- */
41
+ /* `.poad-map__canvas` porte `maplibregl-map` : il reste en position absolue (pas de `position: relative` ici) */
42
+ .poad-map .maplibregl-map { font: 12px/20px var(--poad-font); overflow: hidden; -webkit-tap-highlight-color: rgba(0,0,0,0); }
43
+ .poad-map .maplibregl-canvas { left: 0; position: absolute; top: 0; }
44
+ .poad-map:fullscreen, .poad-map .maplibregl-map:fullscreen { height: 100%; width: 100%; border-radius: 0; }
45
+ .poad-map .maplibregl-canvas-container.maplibregl-interactive, .poad-map .maplibregl-ctrl-group button.maplibregl-ctrl-compass { cursor: grab; -webkit-user-select: none; user-select: none; }
46
+ .poad-map .maplibregl-canvas-container.maplibregl-interactive.maplibregl-track-pointer { cursor: pointer; }
47
+ .poad-map .maplibregl-canvas-container.maplibregl-interactive:active, .poad-map .maplibregl-ctrl-group button.maplibregl-ctrl-compass:active { cursor: grabbing; }
48
+ .poad-map .maplibregl-canvas-container.maplibregl-touch-zoom-rotate, .poad-map .maplibregl-canvas-container.maplibregl-touch-zoom-rotate .maplibregl-canvas { touch-action: pan-x pan-y; }
49
+ .poad-map .maplibregl-canvas-container.maplibregl-touch-drag-pan, .poad-map .maplibregl-canvas-container.maplibregl-touch-drag-pan .maplibregl-canvas { touch-action: pinch-zoom; }
50
+ .poad-map .maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan, .poad-map .maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan .maplibregl-canvas { touch-action: none; }
51
+ .poad-map .maplibregl-ctrl-bottom-left, .poad-map .maplibregl-ctrl-bottom-right, .poad-map .maplibregl-ctrl-top-left, .poad-map .maplibregl-ctrl-top-right { pointer-events: none; position: absolute; z-index: 2; }
52
+ .poad-map .maplibregl-ctrl-top-left, .poad-map .maplibregl-ctrl-top-right { top: 0; }
53
+ .poad-map .maplibregl-ctrl-bottom-left, .poad-map .maplibregl-ctrl-bottom-right { bottom: 0; }
54
+ .poad-map .maplibregl-ctrl { clear: both; pointer-events: auto; transform: translate(0); }
55
+ .poad-map .maplibregl-ctrl-top-left .maplibregl-ctrl { float: left; margin: 10px 0 0 10px; } .poad-map .maplibregl-ctrl-top-right .maplibregl-ctrl { float: right; margin: 10px 10px 0 0; }
56
+ .poad-map .maplibregl-ctrl-bottom-left .maplibregl-ctrl { float: left; margin: 0 0 10px 10px; } .poad-map .maplibregl-ctrl-bottom-right .maplibregl-ctrl { float: right; margin: 0 10px 10px 0; }
57
+ .poad-map .maplibregl-ctrl-group button { background-color: transparent; border: 0; box-sizing: border-box; cursor: pointer; display: block; height: 29px; outline: none; padding: 0; width: 29px; }
58
+ .poad-map .maplibregl-ctrl-group button + button { border-top: 1px solid var(--poad-border); }
59
+ .poad-map .maplibregl-ctrl button .maplibregl-ctrl-icon { background-position: 50%; background-repeat: no-repeat; display: block; height: 100%; width: 100%; }
60
+ .poad-map .maplibregl-ctrl-attrib.maplibregl-compact { margin: 0 10px 10px; position: relative; }
61
+ .poad-map .maplibregl-ctrl-attrib.maplibregl-compact-show { padding: 2px 28px 2px 8px; visibility: visible; }
62
+ .poad-map .maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-inner { display: none; }
63
+ .poad-map .maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-inner { display: block; }
64
+ .poad-map .maplibregl-ctrl-attrib-button { position: absolute; right: 0; top: 0; height: 24px; width: 24px; border: 0; background: transparent; cursor: pointer; }
65
+ .poad-map .maplibregl-popup { display: flex; left: 0; pointer-events: none; position: absolute; top: 0; will-change: transform; }
66
+ .poad-map .maplibregl-popup-anchor-top, .poad-map .maplibregl-popup-anchor-top-left, .poad-map .maplibregl-popup-anchor-top-right { flex-direction: column; }
67
+ .poad-map .maplibregl-popup-anchor-bottom, .poad-map .maplibregl-popup-anchor-bottom-left, .poad-map .maplibregl-popup-anchor-bottom-right { flex-direction: column-reverse; }
68
+ .poad-map .maplibregl-popup-anchor-left { flex-direction: row; } .poad-map .maplibregl-popup-anchor-right { flex-direction: row-reverse; }
69
+ .poad-map .maplibregl-popup-tip { border: 10px solid transparent; height: 0; width: 0; z-index: 1; }
70
+ .poad-map .maplibregl-popup-anchor-top .maplibregl-popup-tip { align-self: center; border-top: none; }
71
+ .poad-map .maplibregl-popup-anchor-top-left .maplibregl-popup-tip { align-self: flex-start; border-left: none; border-top: none; }
72
+ .poad-map .maplibregl-popup-anchor-top-right .maplibregl-popup-tip { align-self: flex-end; border-right: none; border-top: none; }
73
+ .poad-map .maplibregl-popup-anchor-bottom .maplibregl-popup-tip { align-self: center; border-bottom: none; }
74
+ .poad-map .maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip { align-self: flex-start; border-bottom: none; border-left: none; }
75
+ .poad-map .maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip { align-self: flex-end; border-bottom: none; border-right: none; }
76
+ .poad-map .maplibregl-popup-anchor-left .maplibregl-popup-tip { align-self: center; border-left: none; }
77
+ .poad-map .maplibregl-popup-anchor-right .maplibregl-popup-tip { align-self: center; border-right: none; }
78
+ .poad-map .maplibregl-popup-close-button { background-color: transparent; border: 0; border-radius: 0 3px 0 0; cursor: pointer; position: absolute; right: 0; top: 0; }
79
+ .poad-map .maplibregl-popup-content { pointer-events: auto; position: relative; }
80
+ .poad-map .maplibregl-popup-track-pointer { display: none; }
81
+ .poad-map .maplibregl-marker { left: 0; position: absolute; top: 0; will-change: transform; transition: opacity .2s; }
82
+ .poad-map .maplibregl-user-location-dot { background-color: #1da1f2; border-radius: 50%; height: 15px; width: 15px; position: relative; }
83
+ .poad-map .maplibregl-user-location-dot::after { border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 3px rgba(0,0,0,.35); box-sizing: border-box; content: ""; height: 19px; left: -2px; position: absolute; top: -2px; width: 19px; }
84
+ .poad-map .maplibregl-user-location-accuracy-circle { background-color: rgba(29,161,242,.2); border-radius: 100%; height: 1px; width: 1px; }
85
+ .poad-map .maplibregl-cooperative-gesture-screen { align-items: center; background: rgba(0,0,0,.4); color: #fff; display: flex; font: 14px var(--poad-font); line-height: 1.2; inset: 0; justify-content: center;
86
+ opacity: 0; padding: 1rem; pointer-events: none; position: absolute; transition: opacity 1s ease 1s; z-index: 99999; border-radius: inherit; }
87
+ .poad-map .maplibregl-cooperative-gesture-screen.maplibregl-show { opacity: 1; transition: opacity .05s; }
88
+
89
+ /* ---- habillage par les jetons ---- */
90
+ .poad-map .maplibregl-ctrl-group { background: var(--poad-surface); border: 1px solid var(--poad-border); border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,.12); overflow: hidden; }
91
+ .poad-map .maplibregl-ctrl-group button { width: 32px; height: 32px; color: var(--poad-fg-secondary); background: transparent; }
92
+ .poad-map .maplibregl-ctrl-group button:hover { background: var(--poad-hover); color: var(--poad-fg); }
93
+ .poad-map .maplibregl-ctrl-group button:focus-visible { outline: 2px solid var(--poad-ring, var(--poad-accent)); outline-offset: -2px; }
94
+ .poad-map .maplibregl-ctrl-group button:disabled { opacity: .4; }
95
+ .poad-map .maplibregl-ctrl button .maplibregl-ctrl-icon { background-color: currentColor; background-image: none;
96
+ -webkit-mask: var(--_ico) center / 16px 16px no-repeat; mask: var(--_ico) center / 16px 16px no-repeat;
97
+ --_ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
98
+ .poad-map .maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon { --_ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E"); }
99
+ .poad-map .maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon { --_ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18M12 3l4 8H8z' fill='black'/%3E%3C/svg%3E"); }
100
+ .poad-map .maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon { --_ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3H5a2 2 0 0 0-2 2v3M21 8V5a2 2 0 0 0-2-2h-3M3 16v3a2 2 0 0 0 2 2h3M16 21h3a2 2 0 0 0 2-2v-3'/%3E%3C/svg%3E"); }
101
+ .poad-map .maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon { --_ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3v3a2 2 0 0 1-2 2H3M21 8h-3a2 2 0 0 1-2-2V3M3 16h3a2 2 0 0 1 2 2v3M16 21v-3a2 2 0 0 1 2-2h3'/%3E%3C/svg%3E"); }
102
+ .poad-map .maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon { --_ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3'/%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3C/svg%3E"); }
103
+ .poad-map .maplibregl-ctrl button.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon { background-color: var(--poad-accent); }
104
+ .poad-map .maplibregl-ctrl button.maplibregl-ctrl-geolocate-waiting .maplibregl-ctrl-icon { animation: poad-map-blink 1s infinite; }
105
+ @keyframes poad-map-blink { 50% { opacity: .35; } }
106
+ @media (prefers-reduced-motion: reduce) { .poad-map .maplibregl-ctrl button.maplibregl-ctrl-geolocate-waiting .maplibregl-ctrl-icon { animation: none; } }
107
+ .poad-map .maplibregl-ctrl-scale { background: color-mix(in srgb, var(--poad-surface) 80%, transparent); border: 1px solid var(--poad-fg-secondary); border-top: 0; color: var(--poad-fg-secondary);
108
+ font: 10.5px var(--poad-font-mono); border-radius: 0 0 3px 3px; padding: 0 5px; box-sizing: border-box; }
109
+ .poad-map .maplibregl-ctrl-attrib { background: color-mix(in srgb, var(--poad-surface) 82%, transparent); color: var(--poad-fg-secondary); font: 10.5px var(--poad-font); border-radius: 4px; padding: 2px 6px; margin: 0 8px 8px !important; }
110
+ .poad-map .maplibregl-ctrl-attrib a { color: var(--poad-fg-secondary); text-decoration: none; }
111
+ .poad-map .maplibregl-ctrl-attrib a:hover { color: var(--poad-accent); }
112
+ .poad-map .maplibregl-ctrl-attrib.maplibregl-compact { min-height: 24px; }
113
+ .poad-map .maplibregl-ctrl-attrib-button { color: var(--poad-fg-muted); background-color: currentColor;
114
+ -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 8v.5'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
115
+ mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 8v.5'/%3E%3C/svg%3E") center / 16px 16px no-repeat; }
116
+ .poad-map .maplibregl-ctrl-attrib-button:focus-visible { outline: 2px solid var(--poad-ring, var(--poad-accent)); outline-offset: 1px; }
117
+ .poad-map .maplibregl-popup { z-index: 5; max-width: 320px !important; }
118
+ .poad-map .maplibregl-popup-content { background: var(--poad-overlay, var(--poad-surface)); --poad-hover: var(--poad-overlay-hover); color: var(--poad-fg); border: 1px solid var(--poad-border); border-radius: 10px;
119
+ box-shadow: var(--poad-shadow-lg); padding: 10px 12px; font: 12.5px/1.4 var(--poad-font); min-width: 160px; }
120
+ .poad-map .maplibregl-popup-anchor-bottom .maplibregl-popup-tip, .poad-map .maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip, .poad-map .maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip { border-top-color: var(--poad-overlay, var(--poad-surface)); }
121
+ .poad-map .maplibregl-popup-anchor-top .maplibregl-popup-tip, .poad-map .maplibregl-popup-anchor-top-left .maplibregl-popup-tip, .poad-map .maplibregl-popup-anchor-top-right .maplibregl-popup-tip { border-bottom-color: var(--poad-overlay, var(--poad-surface)); }
122
+ .poad-map .maplibregl-popup-anchor-left .maplibregl-popup-tip { border-inline-end-color: var(--poad-overlay, var(--poad-surface)); }
123
+ .poad-map .maplibregl-popup-anchor-right .maplibregl-popup-tip { border-inline-start-color: var(--poad-overlay, var(--poad-surface)); }
124
+ .poad-map .maplibregl-popup-close-button { width: 22px; height: 22px; inset-inline-end: 4px; top: 4px; border-radius: 5px; color: var(--poad-fg-muted); font-size: 0; background-color: currentColor;
125
+ -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
126
+ mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / 12px 12px no-repeat; }
127
+ .poad-map .maplibregl-popup-close-button:hover { background-color: var(--poad-fg); }
128
+ .poad-map .maplibregl-popup-content:has(> .maplibregl-popup-close-button) { padding-inline-end: 32px; }
129
+ /* une popup ouverte cache l'info-bulle de survol (elle la recouvrait) */
130
+ .poad-map:has(.maplibregl-popup:not(.poad-map-tooltip)) .poad-map-tooltip { display: none; }
131
+ .poad-map .maplibregl-popup-close-button:focus-visible { outline: 2px solid var(--poad-ring, var(--poad-accent)); outline-offset: 1px; }
132
+ .poad-map .poad-map-popup__title { display: block; font-weight: 600; font-size: 13px; margin: 0 18px 4px 0; }
133
+ .poad-map .poad-map-popup__sub { display: block; font-size: 11.5px; color: var(--poad-fg-secondary); }
134
+ .poad-map .poad-map-popup__kv { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; font-size: 11.5px; color: var(--poad-fg-secondary); }
135
+ .poad-map .poad-map-popup__kv b { font: 600 10px var(--poad-font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--poad-fg-muted); }
136
+ .poad-map .poad-map-tooltip .maplibregl-popup-content { padding: 4px 8px; font-size: 11.5px; background: var(--poad-fg); color: var(--poad-bg); border: 0; border-radius: 6px; min-width: 0; }
137
+ .poad-map .poad-map-tooltip .maplibregl-popup-tip { display: none; }
138
+ .poad-map .maplibregl-marker.poad-map-marker { width: 26px; height: 26px; }
139
+ .poad-map .poad-map-marker__pin { width: 26px; height: 26px; border-radius: 50% 50% 50% 0; background: var(--poad-accent); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); transform: rotate(-45deg) translate(3px, -3px); box-sizing: border-box; }
140
+ .poad-map .poad-map-marker__pin::after { content: ''; position: absolute; inset-inline-start: 7px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
141
+
142
+ /* ---- légende (poad-map-legend) : voir src/map/legend.ts ---- */
143
+ .poad-map-legend { display: block; box-sizing: border-box; min-width: 160px; max-width: 260px; background: color-mix(in srgb, var(--poad-surface) 94%, transparent); border: 1px solid var(--poad-border);
144
+ border-radius: 8px; font: 12px/1.35 var(--poad-font); color: var(--poad-fg); box-shadow: 0 2px 6px rgba(0,0,0,.08); }
145
+ .poad-map-legend__head { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 6px; width: 100%; min-height: 32px; padding: 6px 10px; font-weight: 600; font-size: 12px; cursor: pointer;
146
+ color: var(--poad-fg); border-radius: 7px; }
147
+ .poad-map-legend__head:hover { background: var(--poad-hover); }
148
+ .poad-map-legend__head .poad-map-legend__chev { margin-inline-start: auto; color: var(--poad-fg-muted); transition: transform .15s; }
149
+ .poad-map-legend.is-collapsed .poad-map-legend__chev { transform: rotate(-90deg); }
150
+ [dir="rtl"] .poad-map-legend.is-collapsed .poad-map-legend__chev { transform: rotate(90deg); }
151
+ .poad-map-legend__body { padding: 0 6px 8px; display: grid; gap: 4px; max-height: 260px; overflow: auto; }
152
+ .poad-map-legend__group { display: grid; gap: 2px; }
153
+ .poad-map-legend__toggle { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 8px; min-height: 28px; padding: 3px 4px; border-radius: 6px; cursor: pointer; font-weight: 600; color: var(--poad-fg); }
154
+ .poad-map-legend__toggle:hover { background: var(--poad-hover); }
155
+ /* l'anneau plein de la carte, pas le voile partagé de base.css (spécificité (0,3,1) > (0,3,0)) */
156
+ .poad-map-legend button.poad-map-legend__head:focus-visible, .poad-map-legend button.poad-map-legend__toggle:focus-visible { outline: 2px solid var(--poad-map-focus, var(--poad-accent)); outline-offset: -2px; box-shadow: none; }
157
+ .poad-map-legend__check { flex: none; display: grid; place-items: center; width: 14px; height: 14px; border-radius: 3px; border: 1.5px solid var(--poad-border-strong); background: var(--poad-surface); box-sizing: border-box; }
158
+ .poad-map-legend__toggle[aria-checked="true"] .poad-map-legend__check { background: var(--poad-accent); border-color: var(--poad-accent); }
159
+ .poad-map-legend__toggle[aria-checked="true"] .poad-map-legend__check::after { content: ''; width: 7px; height: 4px; border: solid var(--poad-fg-on-accent, #fff); border-width: 0 0 2px 2px; transform: translate(0, -1px) rotate(-45deg); }
160
+ .poad-map-legend__title { font-weight: 600; font-size: 11.5px; padding: 3px 4px 0; }
161
+ .poad-map-legend__items { list-style: none; margin: 0; padding: 0 4px 2px 26px; display: grid; gap: 3px; }
162
+ .poad-map-legend__toggle + .poad-map-legend__items, .poad-map-legend__title + .poad-map-legend__items { padding-top: 1px; }
163
+ .poad-map-legend:not(.is-toggleable) .poad-map-legend__items { padding-inline-start: 4px; }
164
+ .poad-map-legend__item { display: flex; align-items: center; gap: 7px; color: var(--poad-fg-secondary); font-size: 11.5px; }
165
+ .poad-map-legend__group.is-hidden .poad-map-legend__items { opacity: .5; }
166
+ .poad-map-legend__swatch { width: 12px; height: 12px; flex: none; box-sizing: border-box; }
167
+ .poad-map-legend__swatch.k-point { border-radius: 50%; background: var(--c); border: 1.5px solid var(--poad-surface); box-shadow: 0 0 0 1px var(--poad-border-strong); }
168
+ .poad-map-legend__swatch.k-line { height: 0; border-top: 3px solid var(--s); border-radius: 2px; }
169
+ .poad-map-legend__swatch.k-line.is-dash { border-top-style: dashed; }
170
+ .poad-map-legend__swatch.k-polygon { border-radius: 3px; background: color-mix(in srgb, var(--c) 40%, transparent); border: 1.5px solid var(--s); }
171
+ .poad-map-legend__empty { margin: 0; padding: 2px 4px; color: var(--poad-fg-muted); font-style: italic; }
172
+ .poad-map-legend.is-compact .poad-map-legend__item { font-size: 11px; } .poad-map-legend.is-compact .poad-map-legend__body { max-height: 160px; }
173
+
174
+ /* ---- recherche de lieu (poad-map-search) : voir src/map/search.ts ---- */
175
+ .poad-map-search { display: block; position: relative; box-sizing: border-box; width: var(--poad-map-search-width, 300px); max-width: 100%; font: var(--poad-font-size, 13px) var(--poad-font); z-index: 6; }
176
+ .poad-map-search__box { display: flex; align-items: center; gap: 8px; box-sizing: border-box; height: 36px; padding: 0 6px 0 10px; background: var(--poad-surface); border: 1px solid var(--poad-border-strong, var(--poad-border));
177
+ border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,.12); color: var(--poad-fg-muted); transition: border-color var(--poad-dur, .15s), box-shadow var(--poad-dur, .15s); }
178
+ .poad-map-search__box.has-focus { border-color: var(--poad-map-focus, var(--poad-accent)); box-shadow: 0 0 0 1px var(--poad-map-focus, var(--poad-accent)), 0 2px 6px rgba(0,0,0,.12); }
179
+ .poad-map-search__input { flex: 1 1 0; width: 0; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--poad-fg); font: inherit; padding: 0; }
180
+ .poad-map-search__input::placeholder { color: var(--poad-fg-muted); opacity: 1; }
181
+ .poad-map-search__input::-webkit-search-cancel-button { display: none; }
182
+ .poad-map-search__clear { all: unset; box-sizing: border-box; display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 5px; color: var(--poad-fg-muted); cursor: pointer; }
183
+ .poad-map-search__clear:hover { background: var(--poad-hover); color: var(--poad-fg); }
184
+ .poad-map-search button.poad-map-search__clear:focus-visible { outline: 2px solid var(--poad-map-focus, var(--poad-accent)); outline-offset: 0; box-shadow: none; }
185
+ .poad-map-search__busy { flex: none; display: grid; place-items: center; width: 24px; color: var(--poad-accent); }
186
+ .poad-map-search__list, .poad-map-search__empty { position: absolute; inset-inline: 0; top: calc(100% + 6px); box-sizing: border-box; margin: 0; padding: 4px; background: var(--poad-overlay, var(--poad-surface));
187
+ --poad-hover: var(--poad-overlay-hover, var(--poad-hover)); border: 1px solid var(--poad-border); border-radius: 9px; box-shadow: var(--poad-shadow-lg, 0 8px 24px rgba(0,0,0,.18)); }
188
+ .poad-map-search__list { list-style: none; max-height: 280px; overflow: auto; }
189
+ .poad-map-search__option { display: flex; align-items: center; gap: 8px; min-height: 32px; padding: 6px 8px; border-radius: 6px; cursor: pointer; color: var(--poad-fg); font-size: 12.5px; }
190
+ .poad-map-search__option > .poad-icon, .poad-map-search__option > svg { flex: none; color: var(--poad-fg-muted); }
191
+ .poad-map-search__option.is-active { background: var(--poad-hover); box-shadow: inset 2px 0 0 var(--poad-accent); }
192
+ [dir="rtl"] .poad-map-search__option.is-active { box-shadow: inset -2px 0 0 var(--poad-accent); }
193
+ .poad-map-search__label { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
194
+ .poad-map-search__context { flex: 0 1 auto; min-width: 0; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--poad-fg-muted); font-size: 11px; }
195
+ .poad-map-search__empty { padding: 8px 12px; color: var(--poad-fg-muted); font-style: italic; font-size: 12.5px; }
196
+ .poad-map-search__status { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
197
+
198
+ /* ---- panneaux (poad-map-rail, poad-map-panel, poad-map-section) : voir src/map/panels.ts ---- */
199
+ .poad-map-rail { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; z-index: 7; box-sizing: border-box; width: var(--poad-map-rail-w, 52px); display: flex; flex-direction: column;
200
+ background: var(--poad-surface); border-inline-end: 1px solid var(--poad-border); box-shadow: 2px 0 8px rgba(0,0,0,.06); font-family: var(--poad-font); }
201
+ .poad-map-rail.is-right { inset-inline-start: auto; inset-inline-end: 0; border-inline-end: 0; border-inline-start: 1px solid var(--poad-border); box-shadow: -2px 0 8px rgba(0,0,0,.06); }
202
+ .poad-map-rail__items { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 0; flex: 1; min-height: 0; }
203
+ .poad-map-rail__bottom { padding: 8px 4px; font: 10.5px var(--poad-font-mono); color: var(--poad-fg-muted); text-align: center; overflow-wrap: anywhere; }
204
+ .poad-map-rail__bottom:empty { display: none; }
205
+ .poad-map-rail__item { all: unset; box-sizing: border-box; position: relative; width: 40px; height: 40px; border-radius: 10px; color: var(--poad-fg-secondary); display: grid; place-items: center; cursor: pointer;
206
+ transition: background var(--poad-dur, .15s), color var(--poad-dur, .15s); }
207
+ .poad-map-rail__item:hover:not(:disabled) { background: var(--poad-hover); color: var(--poad-fg); }
208
+ .poad-map-rail__item.is-active { background: var(--poad-accent-soft); color: var(--poad-accent); }
209
+ .poad-map-rail__item:disabled { opacity: .4; cursor: not-allowed; }
210
+ .poad-map-rail button.poad-map-rail__item:focus-visible { outline: 2px solid var(--poad-map-focus, var(--poad-accent)); outline-offset: -2px; box-shadow: none; }
211
+ .poad-map-rail__badge { position: absolute; top: 4px; inset-inline-end: 4px; min-width: 16px; height: 16px; padding: 0 4px; box-sizing: border-box; border-radius: 999px; background: var(--poad-danger);
212
+ color: #fff; font: 700 9.5px/16px var(--poad-font-mono); text-align: center; }
213
+ /* info-bulle du rail (le nom de l'entrée), vers l'intérieur de la carte */
214
+ .poad-map-rail__item[data-tip]::after { content: attr(data-tip); position: absolute; top: 50%; inset-inline-start: calc(100% + 10px); transform: translateY(-50%); z-index: 9; padding: 4px 8px; border-radius: 6px;
215
+ background: var(--poad-fg); color: var(--poad-bg); font: 500 11.5px/1.3 var(--poad-font); white-space: nowrap; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .12s; }
216
+ .poad-map-rail.is-right .poad-map-rail__item[data-tip]::after { inset-inline-start: auto; inset-inline-end: calc(100% + 10px); }
217
+ .poad-map-rail__item[data-tip]:hover::after, .poad-map-rail__item[data-tip]:focus-visible::after { opacity: 1; visibility: visible; }
218
+ /* panneau ouvert : son titre dit déjà le nom, la bulle le couvrirait */
219
+ .poad-map-rail__item.is-active[data-tip]::after { display: none; }
220
+ .poad-map-panel { position: absolute; top: 0; bottom: 0; inset-inline-start: var(--poad-map-rail-w, 0px); z-index: 6; box-sizing: border-box;
221
+ width: min(var(--poad-map-panel-w, 300px), calc(100% - var(--poad-map-rail-w, 0px) - 50px)); display: flex; flex-direction: column; background: var(--poad-surface);
222
+ border-inline-end: 1px solid var(--poad-border); box-shadow: 8px 0 24px rgba(0,0,0,.08); font: var(--poad-font-size)/1.4 var(--poad-font); color: var(--poad-fg);
223
+ transition: transform .18s var(--poad-ease, ease), opacity .18s, visibility 0s linear .18s; transform: translateX(-100%); opacity: 0; visibility: hidden; pointer-events: none; }
224
+ [dir="rtl"] .poad-map-panel { transform: translateX(100%); }
225
+ .poad-map-panel.is-right { inset-inline-start: auto; inset-inline-end: var(--poad-map-rail-w, 0px); border-inline-end: 0; border-inline-start: 1px solid var(--poad-border); box-shadow: -8px 0 24px rgba(0,0,0,.08); transform: translateX(100%); }
226
+ [dir="rtl"] .poad-map-panel.is-right { transform: translateX(-100%); }
227
+ /* ouvert : visible tout de suite (sans attendre la fin du glissement), sinon le focus y est refusé pendant l'animation */
228
+ .poad-map-panel.is-open, .poad-map-panel.is-right.is-open, [dir="rtl"] .poad-map-panel.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto;
229
+ transition: transform .18s var(--poad-ease, ease), opacity .18s, visibility 0s; }
230
+ .poad-map-panel__head { display: flex; align-items: center; gap: 8px; padding: 12px 12px 10px; border-bottom: 1px solid var(--poad-border); font-weight: 600; font-size: 14px; }
231
+ .poad-map-panel__title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
232
+ .poad-map-panel__close { all: unset; box-sizing: border-box; flex: none; color: var(--poad-fg-muted); width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; cursor: pointer; }
233
+ .poad-map-panel__close:hover { background: var(--poad-hover); color: var(--poad-fg); }
234
+ .poad-map-panel button.poad-map-panel__close:focus-visible { outline: 2px solid var(--poad-map-focus, var(--poad-accent)); outline-offset: -2px; box-shadow: none; }
235
+ .poad-map-panel__body { flex: 1; overflow: auto; min-height: 0; }
236
+ .poad-map-panel__foot { padding: 10px 12px; border-top: 1px solid var(--poad-border); display: flex; gap: 8px; justify-content: flex-end; }
237
+ .poad-map-panel__foot:empty { display: none; }
238
+ .poad-map-section { display: block; border-bottom: 1px solid var(--poad-border); }
239
+ .poad-map-section__head { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 12px; font: 600 13px var(--poad-font); color: var(--poad-fg); cursor: pointer; }
240
+ .poad-map-section__head:hover:not(:disabled) { background: var(--poad-hover); }
241
+ .poad-map-section__head:disabled { cursor: default; }
242
+ .poad-map-section button.poad-map-section__head:focus-visible { outline: 2px solid var(--poad-map-focus, var(--poad-accent)); outline-offset: -2px; box-shadow: none; }
243
+ .poad-map-section__chev { flex: none; color: var(--poad-fg-muted); transition: transform var(--poad-dur, .15s); }
244
+ [dir="rtl"] .poad-map-section__chev { transform: scaleX(-1); }
245
+ .poad-map-section.is-open .poad-map-section__chev { transform: rotate(90deg); }
246
+ .poad-map-section__icon { flex: none; color: var(--poad-fg-secondary); }
247
+ .poad-map-section__title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
248
+ .poad-map-section__badge { font: 500 10.5px var(--poad-font-mono); padding: 1px 6px; border-radius: 999px; background: var(--poad-elevated, var(--poad-bg-subtle)); color: var(--poad-fg-secondary); }
249
+ .poad-map-section__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .16s var(--poad-ease, ease); }
250
+ .poad-map-section.is-open .poad-map-section__body { grid-template-rows: 1fr; }
251
+ .poad-map-section__inner { overflow: hidden; min-height: 0; }
252
+ .poad-map-section.is-open .poad-map-section__inner { padding: 4px 12px 12px; }
253
+ @media (prefers-reduced-motion: reduce) { .poad-map-panel, .poad-map-section__body, .poad-map-rail__item[data-tip]::after { transition: none; } }
254
+
255
+ /* ---- blocs (poad-map-basemaps, poad-map-layer-toggle, poad-map-layer-group) : voir src/map/blocks.ts ---- */
256
+ .poad-map-basemaps { display: block; font: var(--poad-font-size, 13px)/1.4 var(--poad-font); color: var(--poad-fg); }
257
+ .poad-map-basemaps__grid { display: grid; grid-template-columns: repeat(var(--poad-map-basemaps-cols, 2), minmax(0, 1fr)); gap: 6px; }
258
+ .poad-map-basemaps.is-row .poad-map-basemaps__grid { display: flex; overflow-x: auto; scrollbar-width: thin; padding: 2px 2px 4px; }
259
+ .poad-map-basemaps.is-row .poad-map-basemaps__item { width: 76px; flex: none; }
260
+ .poad-map-basemaps__item { all: unset; box-sizing: border-box; display: block; min-width: 0; border: 2px solid var(--poad-border); border-radius: 8px; overflow: hidden; background: var(--poad-bg-subtle);
261
+ cursor: pointer; text-align: start; color: var(--poad-fg-secondary); transition: border-color var(--poad-dur, .15s); }
262
+ .poad-map-basemaps__thumb { display: block; height: 46px; background-size: cover; background-position: center; }
263
+ .poad-map-basemaps__name { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; padding: 4px 7px; font-size: 11.5px; font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
264
+ .poad-map-basemaps__kind { color: var(--poad-fg-muted); font-size: 10px; font-weight: 400; }
265
+ .poad-map-basemaps__item:hover:not(:disabled) { border-color: var(--poad-border-strong); }
266
+ .poad-map-basemaps__item.is-on { border-color: var(--poad-accent); color: var(--poad-accent); }
267
+ .poad-map-basemaps__item:disabled { opacity: .45; cursor: not-allowed; }
268
+ .poad-map-basemaps button.poad-map-basemaps__item:focus-visible { outline: 2px solid var(--poad-map-focus, var(--poad-accent)); outline-offset: 1px; box-shadow: none; }
269
+ .poad-map-basemaps__opacity { margin-top: 10px; }
270
+ .poad-map-basemaps__opacity > label { display: block; font-size: 11.5px; color: var(--poad-fg-secondary); margin-bottom: 18px; }
271
+ .poad-map-basemaps__overlays { margin-top: 10px; display: grid; gap: 6px; }
272
+
273
+ .poad-map-layer-toggle { display: block; font: var(--poad-font-size, 13px)/1.4 var(--poad-font); color: var(--poad-fg); }
274
+ .poad-map-layer-toggle__row { display: flex; align-items: center; gap: 8px; min-height: 30px; }
275
+ .poad-map-layer-toggle.is-off .poad-map-layer-toggle__label, .poad-map-layer-toggle.is-off .poad-map-layer-toggle__swatch { opacity: .55; }
276
+ .poad-map-layer-toggle__swatch { position: relative; width: 14px; height: 14px; flex: none; box-sizing: border-box; }
277
+ .poad-map-layer-toggle__swatch.k-point { border-radius: 50%; background: var(--c); border: 1.5px solid var(--poad-surface); box-shadow: 0 0 0 1px var(--poad-border-strong); }
278
+ .poad-map-layer-toggle__swatch.k-line { height: 0; border-top: 3px solid var(--c); border-radius: 2px; }
279
+ .poad-map-layer-toggle__swatch.k-polygon { border-radius: 3px; background: color-mix(in srgb, var(--c) 40%, transparent); border: 1.5px solid var(--c); }
280
+ .poad-map-layer-toggle__swatch.k-raster { border-radius: 3px; background: repeating-linear-gradient(45deg, var(--poad-border-strong) 0 2px, transparent 2px 5px); border: 1px solid var(--poad-border-strong); }
281
+ .poad-map-layer-toggle__palette { position: absolute; inset: -1px; display: flex; border-radius: inherit; overflow: hidden; }
282
+ .poad-map-layer-toggle__palette > b { flex: 1; }
283
+ .poad-map-layer-toggle__label { flex: 1; min-width: 0; cursor: pointer; display: grid; line-height: 1.25; overflow-wrap: anywhere; }
284
+ .poad-map-layer-toggle__label > small { color: var(--poad-fg-muted); font-size: 10.5px; }
285
+ .poad-map-layer-toggle__btn { all: unset; box-sizing: border-box; position: relative; flex: none; width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; cursor: pointer; color: var(--poad-fg-muted); }
286
+ .poad-map-layer-toggle__btn:hover, .poad-map-layer-toggle__btn[aria-expanded="true"] { background: var(--poad-hover); color: var(--poad-fg); }
287
+ .poad-map-layer-toggle button.poad-map-layer-toggle__btn:focus-visible { outline: 2px solid var(--poad-map-focus, var(--poad-accent)); outline-offset: -2px; box-shadow: none; }
288
+ /* info-bulle (le nom du bouton), sous lui, alignée sur sa fin : elle ne cache pas le bouton voisin */
289
+ .poad-map-layer-toggle__btn[data-tip]::after { content: attr(data-tip); position: absolute; top: calc(100% + 4px); inset-inline-end: 0; z-index: 9; padding: 4px 8px; border-radius: 6px;
290
+ background: var(--poad-fg); color: var(--poad-bg); font: 500 11.5px/1.3 var(--poad-font); white-space: nowrap; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .12s; }
291
+ .poad-map-layer-toggle__btn[data-tip]:hover::after, .poad-map-layer-toggle__btn[data-tip]:focus-visible::after { opacity: 1; visibility: visible; }
292
+ .poad-map-layer-toggle__opacity { padding: 22px 0 6px 30px; }
293
+ .poad-map-layer-toggle__legend { list-style: none; margin: 0; display: grid; gap: 3px; padding: 2px 0 6px 30px; }
294
+ .poad-map-layer-toggle__legend > li { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--poad-fg-secondary); }
295
+ .poad-map-layer-toggle__legend .poad-map-legend__swatch { width: 11px; height: 11px; }
296
+ .poad-map-layer-toggle__missing { font-size: 11.5px; color: var(--poad-danger); }
297
+ [dir="rtl"] .poad-map-layer-toggle__opacity, [dir="rtl"] .poad-map-layer-toggle__legend { padding-left: 0; padding-right: 30px; }
298
+
299
+ .poad-map-layer-group { display: block; font: var(--poad-font-size, 13px)/1.4 var(--poad-font); color: var(--poad-fg); }
300
+ .poad-map-layer-group__head { font-weight: 600; min-height: 30px; display: flex; align-items: center; }
301
+ .poad-map-layer-group__kids { padding-inline-start: 14px; border-inline-start: 1px solid var(--poad-border); margin-inline-start: 8px; }
302
+ @media (prefers-reduced-motion: reduce) { .poad-map-basemaps__item, .poad-map-layer-toggle__btn[data-tip]::after { transition: none; } }
303
+
304
+ /* ---- menu en JSON (poad-map-menu) : voir src/map/menu.ts ---- */
305
+ poad-map-menu { display: contents; }
306
+ .poad-map-menu__text { font-size: 12.5px; line-height: 1.45; color: var(--poad-fg-secondary); overflow-wrap: anywhere; }
307
+ .poad-map-menu__text p { margin: 0 0 6px; } .poad-map-menu__text p:last-child { margin-bottom: 0; }
308
+ .poad-map-menu__text a { color: var(--poad-accent); }
309
+ .poad-map-menu__text code { font: 11.5px var(--poad-font-mono); background: var(--poad-bg-subtle); padding: 0 3px; border-radius: 3px; }
310
+ .poad-map-menu__missing { font-size: 12.5px; color: var(--poad-danger); }
311
+ /* le rendu web pose la classe sur l'élément hôte : sa légende est l'enfant */
312
+ .poad-map .poad-map-legend.poad-map-menu__legend, .poad-map .poad-map-menu__legend > .poad-map-legend { max-width: none; min-width: 0; box-shadow: none; background: transparent; border: 0; }
313
+
314
+ /* ---- outils (poad-map-tools) et comparaison (poad-map-compare) : voir src/map/tools.ts ---- */
315
+ .poad-map-tools { position: absolute; z-index: 5; top: 12px; inset-inline-start: calc(12px + min(var(--poad-map-inset-left, 0px), 100% - 50px));
316
+ inset-inline-end: calc(12px + min(var(--poad-map-inset-right, 0px), 100% - 50px)); width: fit-content; max-width: calc(100% - 24px); margin-inline: auto;
317
+ display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; font: var(--poad-font-size, 13px)/1.4 var(--poad-font); color: var(--poad-fg); }
318
+ .poad-map-tools.is-bottom { top: auto; bottom: 34px; flex-direction: column-reverse; }
319
+ .poad-map-tools > * { pointer-events: auto; }
320
+ .poad-map-tools__bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px; padding: 3px; box-sizing: border-box; max-width: 100%;
321
+ background: var(--poad-surface); border: 1px solid var(--poad-border); border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
322
+ .poad-map-tools__sep { width: 1px; align-self: stretch; margin: 4px 2px; background: var(--poad-border); }
323
+ .poad-map-tools__tool { all: unset; box-sizing: border-box; width: 32px; height: 32px; border-radius: 7px; display: grid; place-items: center; color: var(--poad-fg-secondary); cursor: pointer;
324
+ transition: background var(--poad-dur, .15s), color var(--poad-dur, .15s); }
325
+ .poad-map-tools__tool:hover:not(:disabled) { background: var(--poad-hover); color: var(--poad-fg); }
326
+ .poad-map-tools__tool[aria-pressed="true"] { background: var(--poad-accent-soft); color: var(--poad-accent); }
327
+ .poad-map-tools__tool:disabled { opacity: .4; cursor: not-allowed; }
328
+ .poad-map-tools button.poad-map-tools__tool:focus-visible { outline: 2px solid var(--poad-map-focus, var(--poad-accent)); outline-offset: -2px; box-shadow: none; }
329
+ .poad-map-tools__status { margin: 0; padding: 4px 10px; border-radius: 999px; background: var(--poad-fg); color: var(--poad-bg); font-weight: 600; font-variant-numeric: tabular-nums; font-size: 12.5px; }
330
+ .poad-map-tools__status:empty { display: none; }
331
+ .poad-map-tools__hint { margin: 0; max-width: 340px; padding: 6px 10px; border-radius: 8px; background: color-mix(in srgb, var(--poad-surface) 92%, transparent); border: 1px solid var(--poad-border);
332
+ color: var(--poad-fg-secondary); font-size: 11.5px; text-align: center; }
333
+ /* réticule au centre de la carte pendant un dessin (le clavier pose ses points ici) */
334
+ .poad-map[data-drawing]::after { content: ''; position: absolute; z-index: 4; top: 50%; left: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; pointer-events: none;
335
+ background: linear-gradient(var(--poad-accent), var(--poad-accent)) center / 2px 100% no-repeat, linear-gradient(var(--poad-accent), var(--poad-accent)) center / 100% 2px no-repeat;
336
+ filter: drop-shadow(0 0 1px var(--poad-surface)) drop-shadow(0 0 1px var(--poad-surface)); opacity: .85; }
337
+ .poad-map-compare { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
338
+ /* au-dessus de la 2ᵉ carte : les contrôles de la première */
339
+ .poad-map .maplibregl-control-container > * { z-index: 2; }
340
+ .poad-map-compare__right { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--poad-map-compare-x, 50%)); }
341
+ .poad-map-compare__right .poad-map { height: 100%; border-radius: 0; }
342
+ .poad-map-compare__right .maplibregl-control-container { display: none; }
343
+ .poad-map-compare__label { position: absolute; top: calc(50% + 26px); padding: 3px 8px; border-radius: 6px; background: var(--poad-surface); border: 1px solid var(--poad-border); font-size: 11.5px; font-weight: 600;
344
+ color: var(--poad-fg-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; box-sizing: border-box; }
345
+ /* de part et d'autre du rideau, loin des coins (contrôles, contenu de l'application) ; gauche et droite physiques, même
346
+ en RTL : la 2ᵉ carte est toujours à droite du rideau */
347
+ .poad-map-compare__label.is-left { right: calc(100% - var(--poad-map-compare-x, 50%) + 10px); max-width: calc(var(--poad-map-compare-x, 50%) - 20px); }
348
+ .poad-map-compare__label.is-right { left: calc(var(--poad-map-compare-x, 50%) + 10px); max-width: calc(100% - var(--poad-map-compare-x, 50%) - 20px); }
349
+ .poad-map-compare__split { position: absolute; top: 0; bottom: 0; left: var(--poad-map-compare-x, 50%); width: 24px; margin-left: -12px; cursor: ew-resize; pointer-events: auto; touch-action: none; outline: none; }
350
+ .poad-map-compare__split::before { content: ''; position: absolute; top: 0; bottom: 0; left: 11px; width: 2px; background: var(--poad-surface); box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
351
+ .poad-map-compare__split::after { content: '‹ ›'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
352
+ background: var(--poad-surface); border: 1px solid var(--poad-border-strong); box-shadow: 0 2px 8px rgba(0,0,0,.2); font: 700 13px/1 var(--poad-font); color: var(--poad-fg-secondary); }
353
+ .poad-map .poad-map-compare .poad-map-compare__split:focus-visible { outline: none; box-shadow: none; }
354
+ .poad-map-compare__split:focus-visible::after { outline: 2px solid var(--poad-map-focus, var(--poad-accent)); outline-offset: 2px; }
355
+
356
+ /* ---- chrome (poad-map-chrome) : voir src/map/chrome.ts ---- */
357
+ poad-map-chrome { display: contents; }
358
+ .poad-map-chrome { display: contents; font: var(--poad-font-size, 13px)/1.4 var(--poad-font); color: var(--poad-fg); }
359
+ .poad-map-chrome__fab { position: absolute; z-index: 6; top: 12px; inset-inline-end: calc(12px + var(--poad-map-inset-right, 0px)); display: flex; flex-direction: column;
360
+ background: var(--poad-surface); border: 1px solid var(--poad-border); border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,.12); overflow: hidden; font: var(--poad-font-size, 13px)/1.4 var(--poad-font); }
361
+ .poad-map-chrome.is-toolbar .poad-map-chrome__fab { flex-direction: row; }
362
+ .poad-map-chrome__btn { all: unset; box-sizing: border-box; position: relative; width: 34px; height: 34px; display: grid; place-items: center; color: var(--poad-fg-secondary); cursor: pointer; }
363
+ .poad-map-chrome__btn + .poad-map-chrome__btn { border-inline-start: 1px solid var(--poad-border); }
364
+ .poad-map-chrome__btn:hover { background: var(--poad-hover); color: var(--poad-fg); }
365
+ .poad-map-chrome__btn[aria-expanded="true"] { background: var(--poad-accent-soft); color: var(--poad-accent); }
366
+ .poad-map-chrome__btn.has-dot::after { content: ''; position: absolute; top: 5px; inset-inline-end: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--poad-accent); }
367
+ .poad-map .poad-map-chrome button:focus-visible { outline: 2px solid var(--poad-map-focus, var(--poad-accent)); outline-offset: -2px; box-shadow: none; }
368
+ .poad-map-chrome__drawer { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; z-index: 8; box-sizing: border-box; width: min(320px, calc(100% - 50px)); display: flex; flex-direction: column;
369
+ background: var(--poad-surface); border-inline-start: 1px solid var(--poad-border); box-shadow: -8px 0 24px rgba(0,0,0,.12); font: var(--poad-font-size, 13px)/1.4 var(--poad-font); color: var(--poad-fg);
370
+ transform: translateX(100%); opacity: 0; visibility: hidden; transition: transform .18s var(--poad-ease, ease), opacity .18s, visibility 0s linear .18s; }
371
+ [dir="rtl"] .poad-map-chrome__drawer { transform: translateX(-100%); }
372
+ .poad-map-chrome.is-open .poad-map-chrome__drawer { transform: none; opacity: 1; visibility: visible; transition: transform .18s var(--poad-ease, ease), opacity .18s, visibility 0s; }
373
+ .poad-map-chrome__head { display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 14px; border-bottom: 1px solid var(--poad-border); font-weight: 600; font-size: 14px; }
374
+ .poad-map-chrome__title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
375
+ .poad-map-chrome__close { all: unset; box-sizing: border-box; width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; color: var(--poad-fg-muted); cursor: pointer; }
376
+ .poad-map-chrome__close:hover { background: var(--poad-hover); color: var(--poad-fg); }
377
+ .poad-map-chrome__tabs { display: flex; border-bottom: 1px solid var(--poad-border); padding: 0 6px; }
378
+ .poad-map-chrome__tab { all: unset; box-sizing: border-box; flex: 1; min-width: 0; height: 36px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 4px;
379
+ padding: 0 2px; color: var(--poad-fg-secondary); font: 500 12px var(--poad-font); cursor: pointer; white-space: nowrap; }
380
+ .poad-map-chrome__tab > span { overflow: hidden; text-overflow: ellipsis; }
381
+ .poad-map-chrome__tab:hover { color: var(--poad-fg); }
382
+ .poad-map-chrome__tab[aria-selected="true"] { color: var(--poad-accent); }
383
+ .poad-map-chrome__tab[aria-selected="true"]::after { content: ''; position: absolute; inset-inline: 6px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--poad-accent); }
384
+ .poad-map-chrome__body { flex: 1; min-height: 0; overflow: auto; }
385
+ .poad-map-chrome__panel { padding: 12px 14px 16px; }
386
+ .poad-map-chrome__panel[hidden] { display: none; }
387
+ .poad-map-panel .poad-map-chrome__panel { padding: 0; }
388
+ .poad-map-chrome__sec { margin: 16px 0 8px; font: 600 10.5px/1.2 var(--poad-font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--poad-fg-muted); }
389
+ .poad-map-chrome__panel > .poad-map-chrome__sec:first-child { margin-top: 0; }
390
+ .poad-map-chrome__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--poad-border); }
391
+ .poad-map-chrome__layers { display: grid; gap: 2px; }
392
+ .poad-map-chrome__layer { display: flex; align-items: flex-start; gap: 2px; border-radius: 6px; padding: 0 2px 0 4px; }
393
+ .poad-map-chrome__layer > :first-child, .poad-map-chrome__layer .poad-map-layer-toggle { flex: 1; min-width: 0; }
394
+ .poad-map-chrome__layer.is-selected { background: var(--poad-accent-soft); }
395
+ .poad-map-chrome__icon { all: unset; box-sizing: border-box; flex: none; width: 28px; height: 28px; margin-top: 2px; border-radius: 6px; display: grid; place-items: center; color: var(--poad-fg-secondary); cursor: pointer; }
396
+ .poad-map-chrome__icon:hover { background: var(--poad-hover); color: var(--poad-fg); }
397
+ .poad-map-chrome__icon[aria-pressed="true"] { color: var(--poad-accent); }
398
+ .poad-map-chrome__empty { margin: 0; font-size: 12.5px; color: var(--poad-fg-muted); font-style: italic; }
399
+ .poad-map-chrome__symbology { margin-top: 10px; padding: 10px; border: 1px solid var(--poad-border); border-radius: 8px; background: var(--poad-bg-subtle); display: grid; gap: 10px; }
400
+ .poad-map-chrome__symbology > .poad-map-chrome__sec { margin: 0; }
401
+ .poad-map-chrome__field { display: grid; gap: 4px; }
402
+ .poad-map-chrome__field > label, .poad-map-chrome__field > span { font-size: 12px; font-weight: 500; color: var(--poad-fg-secondary); }
403
+ .poad-map-chrome__palette { display: flex; flex-wrap: wrap; gap: 6px; }
404
+ .poad-map-chrome__swatch { all: unset; box-sizing: border-box; width: 24px; height: 24px; border-radius: 6px; background: var(--c); border: 2px solid var(--poad-surface); box-shadow: 0 0 0 1px var(--poad-border); cursor: pointer; }
405
+ .poad-map-chrome__swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--poad-fg); }
406
+ .poad-map .poad-map-chrome .poad-map-chrome__swatch:focus-visible { outline: 2px solid var(--poad-map-focus, var(--poad-accent)); outline-offset: 2px; }
407
+ .poad-map-chrome__tools { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
408
+ .poad-map-chrome__tool { all: unset; box-sizing: border-box; min-width: 0; display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 10px; border: 1px solid var(--poad-border); border-radius: 8px;
409
+ font-size: 12.5px; color: var(--poad-fg-secondary); cursor: pointer; }
410
+ .poad-map-chrome__tool > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
411
+ .poad-map-chrome__tool:hover:not(:disabled) { border-color: var(--poad-accent); color: var(--poad-fg); }
412
+ .poad-map-chrome__tool[aria-pressed="true"] { border-color: var(--poad-accent); background: var(--poad-accent-soft); color: var(--poad-accent); }
413
+ .poad-map-chrome__tool:disabled { opacity: .45; cursor: not-allowed; }
414
+ .poad-map-chrome__measure { margin: 10px 0 0; padding: 8px 10px; border-radius: 8px; background: var(--poad-bg-subtle); font-weight: 600; font-variant-numeric: tabular-nums; font-size: 12.5px; }
415
+ .poad-map-chrome__measure:empty { display: none; }
416
+ .poad-map-chrome__hint { margin: 8px 0 0; font-size: 12px; color: var(--poad-fg-muted); }
417
+ .poad-map-chrome__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
418
+ .poad-map-chrome__opt { display: flex; align-items: center; min-height: 32px; }
419
+ .poad-map-chrome__status { position: absolute; z-index: 9; bottom: 34px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 50px); box-sizing: border-box; margin: 0; padding: 6px 12px; border-radius: 999px;
420
+ background: var(--poad-fg); color: var(--poad-bg); font: 600 12.5px/1.3 var(--poad-font); overflow-wrap: anywhere; text-align: center; pointer-events: none; }
421
+ .poad-map-chrome__status:empty { display: none; }
422
+ .poad-map-query { display: grid; gap: 10px; font: 12.5px/1.4 var(--poad-font); color: var(--poad-fg); }
423
+ .poad-map-query table { border-collapse: collapse; width: 100%; }
424
+ .poad-map-query caption { text-align: start; font-weight: 600; padding-bottom: 4px; }
425
+ .poad-map-query th, .poad-map-query td { padding: 3px 6px 3px 0; vertical-align: top; text-align: start; border-top: 1px solid var(--poad-border); overflow-wrap: anywhere; }
426
+ .poad-map-query th { font-weight: 500; color: var(--poad-fg-secondary); white-space: nowrap; }
427
+ /* petite carte : le tiroir devient une feuille basse */
428
+ @media (max-width: 640px) {
429
+ .poad-map-chrome__drawer { top: auto; inset-inline: 0; width: auto; height: min(60%, 420px); border-inline-start: 0; border-top: 1px solid var(--poad-border); border-radius: 14px 14px 0 0;
430
+ box-shadow: 0 -8px 24px rgba(0,0,0,.18); transform: translateY(100%); }
431
+ [dir="rtl"] .poad-map-chrome__drawer { transform: translateY(100%); }
432
+ }
433
+ @media (prefers-reduced-motion: reduce) { .poad-map-chrome__drawer { transition: none; } }
434
+
435
+ /* ---- carte GeoJSON (poad-map-card) : voir src/map/card.ts ---- */
436
+ poad-map-card { display: block; width: 100%; }
437
+ .poad-map-card { display: block; width: 100%; box-sizing: border-box; height: var(--poad-mc-h, 320px); perspective: 1600px; font: var(--poad-font-size, 13px)/1.4 var(--poad-font); color: var(--poad-fg); }
438
+ .poad-map-card.is-disabled { opacity: .6; pointer-events: none; }
439
+ .poad-map-card__flip { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .5s cubic-bezier(.4,.2,.2,1); }
440
+ .poad-map-card.is-flipped .poad-map-card__flip { transform: rotateY(180deg); }
441
+ .poad-map-card__face { position: absolute; inset: 0; backface-visibility: hidden; display: flex; flex-direction: column; box-sizing: border-box; border: 1px solid var(--poad-border);
442
+ border-radius: var(--poad-radius-lg, 10px); background: var(--poad-surface); overflow: hidden; }
443
+ .poad-map-card__face.is-back { transform: rotateY(180deg); }
444
+ .poad-map-card__head { display: flex; align-items: center; gap: 6px; min-height: 40px; box-sizing: border-box; padding: 6px 8px 6px 12px; border-bottom: 1px solid var(--poad-border); font-weight: 600; font-size: 13px; }
445
+ .poad-map-card__title { flex: 0 1 auto; min-width: 3em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
446
+ .poad-map-card__stats { flex: 0 100 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-inline-start: 4px; font: 11px var(--poad-font-mono); color: var(--poad-fg-muted); font-weight: 400; }
447
+ .poad-map-card__grow { flex: 1; }
448
+ .poad-map-card__draw { display: inline-flex; gap: 2px; padding-inline-end: 6px; margin-inline-end: 2px; border-inline-end: 1px solid var(--poad-border); }
449
+ .poad-map-card__btn { all: unset; box-sizing: border-box; flex: none; width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; color: var(--poad-fg-secondary); cursor: pointer; }
450
+ .poad-map-card__btn:hover:not(:disabled) { background: var(--poad-hover); color: var(--poad-fg); }
451
+ .poad-map-card__btn[aria-pressed="true"], .poad-map-card__btn[aria-expanded="true"] { background: var(--poad-accent-soft); color: var(--poad-accent); }
452
+ .poad-map-card__btn:disabled { opacity: .4; cursor: default; }
453
+ .poad-map-card button.poad-map-card__btn:focus-visible { outline: 2px solid var(--poad-map-focus, var(--poad-accent)); outline-offset: -2px; box-shadow: none; }
454
+ .poad-map-card__map { position: relative; flex: 1; min-height: 0; }
455
+ .poad-map-card__map > .poad-map, .poad-map-card__map > poad-map > .poad-map { height: 100%; border-radius: 0; }
456
+ .poad-map-card__basemaps { position: absolute; inset-inline: 8px; bottom: 8px; z-index: 7; padding: 6px; background: var(--poad-surface); border: 1px solid var(--poad-border); border-radius: 10px; box-shadow: var(--poad-shadow-lg, 0 8px 24px rgba(0,0,0,.16)); }
457
+ .poad-map-card__empty { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 4; max-width: calc(100% - 50px); box-sizing: border-box; padding: 8px 14px; border-radius: 8px;
458
+ background: color-mix(in srgb, var(--poad-surface) 90%, transparent); border: 1px solid var(--poad-border); color: var(--poad-fg-secondary); font-size: 12.5px; text-align: center; pointer-events: none; }
459
+ .poad-map-card__face.is-back > .poad-json-editor, .poad-map-card__face.is-back > poad-json-editor { flex: 1; min-height: 0; border: 0; border-radius: 0; box-shadow: none; }
460
+ .poad-map-card__face.is-back .poad-json-editor__ed { flex: 1; height: auto; min-height: 0; }
461
+ poad-json-editor.poad-map-card__editor, .poad-map-card__face.is-back > poad-json-editor { display: flex; flex-direction: column; }
462
+ .poad-map-card__foot { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-top: 1px solid var(--poad-border); background: var(--poad-bg-subtle); }
463
+ .poad-map-card__error { flex: 1; min-width: 0; font-size: 12px; color: var(--poad-danger); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
464
+ @media (prefers-reduced-motion: reduce) {
465
+ .poad-map-card__flip { transition: none; transform: none !important; }
466
+ .poad-map-card__face.is-back { transform: none; visibility: hidden; }
467
+ .poad-map-card.is-flipped .poad-map-card__face.is-back { visibility: visible; }
468
+ .poad-map-card.is-flipped .poad-map-card__face.is-front { visibility: hidden; }
469
+ }
@@ -0,0 +1,38 @@
1
+ /*
2
+ * @poadio/ui-core — menu (`.poad-menu`) et bouton scindé (`.poad-split-button`). Source unique du style pour tous
3
+ * les paquets de rendu : ui-angular l'inclut dans `poad-menu` et `poad-split-button` (encapsulation désactivée), les
4
+ * autres rendus le font charger par l'application. Ne lit que les jetons --poad-* (icônes : `icon.css` ; boutons :
5
+ * `button.css` ; menu flottant : `floating.css` ; feuille basse : `sheet.css`).
6
+ *
7
+ * Anatomie : hôte `.poad-menu-host` (`is-inline` : menu en ligne) ; panneau `.poad-menu[role="menu"]` (hors de l'hôte
8
+ * quand il flotte : couche d'overlay en Angular, `.poad-floating` ailleurs ; `is-sheet` en feuille basse) >
9
+ * `.poad-menu__wrap` > `button.poad-menu__item[role="menuitem"]` (`is-active`, `sev-danger` ; icône,
10
+ * `.poad-menu__ph`, `.poad-menu__label`, `.poad-menu__badge`, `kbd.poad-menu__kbd`, `.poad-menu__sub-ic`) et le
11
+ * sous-menu `.poad-menu.poad-menu--sub` ; séparateur `.poad-menu__sep`.
12
+ * Écrit à partir des styles `:host` des composants Angular, une règle pour une règle : `:host(X)` →
13
+ * `.poad-menu-host X`, une partie → `.poad-menu .partie` ; le panneau, qui n'a pas d'ancêtre du composant quand il
14
+ * flotte, garde sa spécificité d'origine par `[role="menu"]` (face aux règles de la feuille basse).
15
+ */
16
+ .poad-menu-host { display: contents; }
17
+ .poad-menu-host.is-inline { display: block; }
18
+ .poad-menu[role="menu"] { background: var(--poad-overlay); --poad-hover: var(--poad-overlay-hover); border: 1px solid var(--poad-border); border-radius: 9px; box-shadow: var(--poad-shadow-lg); padding: 4px; min-width: 180px; font-family: var(--poad-font); font-size: var(--poad-font-size); color: var(--poad-fg); box-sizing: border-box; }
19
+ .poad-menu-host.is-inline > .poad-menu { box-shadow: none; }
20
+ .poad-menu .poad-menu__wrap { position: relative; }
21
+ .poad-menu .poad-menu__item { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px 8px; border-radius: 6px; cursor: pointer; white-space: nowrap; }
22
+ .poad-menu .poad-menu__item:hover:not([disabled]), .poad-menu .poad-menu__item.is-active:not([disabled]) { background: var(--poad-hover); }
23
+ .poad-menu .poad-menu__item:focus-visible { outline: 2px solid var(--poad-ring); outline-offset: -2px; }
24
+ .poad-menu .poad-menu__item[disabled] { opacity: .5; cursor: not-allowed; }
25
+ .poad-menu .poad-menu__item.sev-danger { color: var(--poad-danger); }
26
+ .poad-menu .poad-menu__item.sev-danger:hover:not([disabled]) { background: var(--poad-danger-soft); }
27
+ .poad-menu .poad-menu__ph { width: 14px; flex: none; }
28
+ .poad-menu .poad-menu__label { flex: 1; }
29
+ .poad-menu .poad-menu__kbd { font: 11px var(--poad-font-mono); color: var(--poad-fg-muted); margin-inline-start: 16px; }
30
+ .poad-menu .poad-menu__badge { font: 500 10.5px var(--poad-font-mono); padding: 1px 6px; border-radius: 999px; background: var(--poad-accent-soft); color: var(--poad-accent); }
31
+ .poad-menu .poad-menu__sub-ic { color: var(--poad-fg-muted); margin-inline-start: 8px; }
32
+ .poad-menu .poad-menu__sep { height: 1px; background: var(--poad-border); margin: 4px 6px; }
33
+ .poad-menu .poad-menu--sub { position: absolute; top: -5px; inset-inline-start: calc(100% + 2px); z-index: 1; }
34
+ /* bouton scindé : bouton principal + bouton chevron accolé qui ouvre un menu */
35
+ .poad-split-button { display: inline-flex; align-items: stretch; vertical-align: middle; }
36
+ .poad-split-button .poad-split-button__main { border-start-end-radius: 0 !important; border-end-end-radius: 0 !important; }
37
+ .poad-split-button .poad-split-button__toggle { border-start-start-radius: 0 !important; border-end-start-radius: 0 !important; margin-inline-start: -1px; box-shadow: inset 1px 0 0 rgba(255,255,255,.28); }
38
+ .poad-split-button .var-outline.poad-split-button__toggle, .poad-split-button .var-text.poad-split-button__toggle { box-shadow: none; border-inline-start-color: transparent; }
@@ -0,0 +1,55 @@
1
+ /*
2
+ * @poadio/ui-core — barre de menus (`.poad-menubar`). Source unique du style pour tous les paquets de rendu :
3
+ * ui-angular l'inclut dans `poad-menubar` (encapsulation désactivée), les autres rendus le font charger par
4
+ * l'application. Ne lit que les jetons --poad-* (panneau en liste : `menu.css` ; couche flottante : `floating.css` ;
5
+ * icônes : `icon.css`).
6
+ *
7
+ * Anatomie : `.poad-menubar` (`is-mobile` replié, `is-open` liste mobile ouverte) > `.poad-menubar__start`,
8
+ * `ul.poad-menubar__list[role="menubar"]` > `li` > `.poad-menubar__root[role="menuitem"]` (`<a>` ou `<button>` ;
9
+ * `is-open`, `is-active`, `is-disabled` ; `.poad-menubar__badge`, `.poad-menubar__chev`), `.poad-menubar__end` ;
10
+ * replié : `button.poad-menubar__burger` et `.poad-menubar__mobile` > `.poad-menubar__mitem` (retrait selon la
11
+ * profondeur), `.poad-menubar__sep`. Panneau (hors de la barre : couche d'overlay en Angular, `.poad-floating`
12
+ * ailleurs) : `.poad-menu.poad-menubar__panel[role="menu"]` (liste) ou `.poad-menubar__mega[role="menu"]` >
13
+ * `.poad-menubar__col` > `.poad-menubar__colh` (intertitre) et `.poad-menubar__citem[role="menuitem"]`.
14
+ * Écrit à partir des styles `:host` du composant Angular, une règle pour une règle.
15
+ */
16
+ .poad-menubar { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; background: var(--poad-surface); border-bottom: 1px solid var(--poad-border); font-family: var(--poad-font); font-size: var(--poad-font-size); color: var(--poad-fg); position: relative; box-sizing: border-box; }
17
+ .poad-menubar .poad-menubar__start, .poad-menubar .poad-menubar__end { display: flex; align-items: center; gap: 8px; }
18
+ .poad-menubar .poad-menubar__start:empty, .poad-menubar .poad-menubar__end:empty { display: none; }
19
+ .poad-menubar .poad-menubar__end { margin-inline-start: auto; }
20
+ /* repliée : le contenu de début prend la place, le bouton « Menu » et la fin se rangent à droite */
21
+ .poad-menubar.is-mobile .poad-menubar__start { flex: 1 1 auto; }
22
+ .poad-menubar .poad-menubar__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; min-width: 0; }
23
+ .poad-menubar .poad-menubar__list > li { display: flex; }
24
+ .poad-menubar .poad-menubar__root { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border-radius: 7px; color: var(--poad-fg-secondary); font-weight: 500; cursor: pointer; position: relative; white-space: nowrap; }
25
+ .poad-menubar .poad-menubar__root:hover, .poad-menubar .poad-menubar__root.is-open { background: var(--poad-hover); color: var(--poad-fg); }
26
+ .poad-menubar .poad-menubar__root:focus-visible { outline: 2px solid var(--poad-ring); outline-offset: -2px; }
27
+ .poad-menubar .poad-menubar__root.is-active { color: var(--poad-accent); }
28
+ .poad-menubar .poad-menubar__root.is-active::after { content: ''; position: absolute; inset-inline-start: 10px; inset-inline-end: 10px; bottom: -7px; height: 2px; border-radius: 2px; background: var(--poad-accent); }
29
+ .poad-menubar .poad-menubar__root.is-disabled { opacity: .5; cursor: default; }
30
+ .poad-menubar .poad-menubar__root.is-disabled:hover { background: none; color: var(--poad-fg-secondary); }
31
+ .poad-menubar .poad-menubar__chev { color: var(--poad-fg-muted); transition: transform var(--poad-dur); }
32
+ .poad-menubar .poad-menubar__root.is-open .poad-menubar__chev { transform: rotate(180deg); }
33
+ .poad-menubar .poad-menubar__badge, .poad-menubar__mega .poad-menubar__badge { font: 500 10.5px var(--poad-font-mono); padding: 1px 6px; border-radius: 999px; background: var(--poad-accent-soft); color: var(--poad-accent); }
34
+ .poad-menubar .poad-menubar__burger { all: unset; box-sizing: border-box; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; color: var(--poad-fg-secondary); cursor: pointer; }
35
+ .poad-menubar .poad-menubar__burger:hover { background: var(--poad-hover); color: var(--poad-fg); }
36
+ .poad-menubar .poad-menubar__burger:focus-visible { outline: 2px solid var(--poad-ring); outline-offset: -2px; }
37
+ .poad-menubar .poad-menubar__mobile { position: absolute; inset-inline-start: 0; inset-inline-end: 0; top: 100%; z-index: 20; background: var(--poad-surface); border-bottom: 1px solid var(--poad-border); box-shadow: var(--poad-shadow-lg); padding: 6px 0; max-height: 70vh; overflow: auto; }
38
+ .poad-menubar .poad-menubar__mitem { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding-inline-end: 12px; color: var(--poad-fg); cursor: pointer; }
39
+ .poad-menubar .poad-menubar__mitem:hover { background: var(--poad-hover); }
40
+ .poad-menubar .poad-menubar__mitem:focus-visible { outline: 2px solid var(--poad-ring); outline-offset: -2px; }
41
+ .poad-menubar .poad-menubar__mitem.is-active { color: var(--poad-accent); font-weight: 500; }
42
+ .poad-menubar .poad-menubar__mitem[disabled], .poad-menubar .poad-menubar__mitem[aria-disabled="true"] { opacity: .5; cursor: default; }
43
+ .poad-menubar .poad-menubar__mlabel { flex: 1; }
44
+ .poad-menubar .poad-menubar__sep { height: 1px; background: var(--poad-border); margin: 4px 12px; }
45
+ /* panneau en liste : un menu (menu.css), un peu plus large */
46
+ .poad-menu.poad-menubar__panel { min-width: 200px; }
47
+ .poad-menu.poad-menubar__panel a.poad-menu__item { color: inherit; text-decoration: none; }
48
+ /* méga-menu */
49
+ .poad-menubar__mega[role="menu"] { display: flex; gap: 22px; padding: 14px 16px; background: var(--poad-overlay); --poad-hover: var(--poad-overlay-hover); border: 1px solid var(--poad-border); border-radius: 10px; box-shadow: var(--poad-shadow-lg); font-family: var(--poad-font); font-size: var(--poad-font-size); color: var(--poad-fg); box-sizing: border-box; }
50
+ .poad-menubar__mega .poad-menubar__col { display: flex; flex-direction: column; gap: 2px; min-width: 160px; }
51
+ .poad-menubar__mega .poad-menubar__colh { font: 600 10.5px/1 var(--poad-font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--poad-fg-muted); padding: 4px 8px 8px; }
52
+ .poad-menubar__mega .poad-menubar__citem { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 6px; color: var(--poad-fg); cursor: pointer; font-size: var(--poad-font-size); }
53
+ .poad-menubar__mega .poad-menubar__citem:hover:not([disabled]) { background: var(--poad-hover); }
54
+ .poad-menubar__mega .poad-menubar__citem:focus-visible { outline: 2px solid var(--poad-ring); outline-offset: -2px; }
55
+ .poad-menubar__mega .poad-menubar__citem[disabled] { opacity: .5; cursor: not-allowed; }