@equinor/eds-core-react 2.3.0 → 2.3.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 (62) hide show
  1. package/README.md +3 -0
  2. package/build/index.css +1252 -0
  3. package/build/index.min.css +5 -0
  4. package/dist/eds-core-react.cjs +2 -2
  5. package/dist/esm/components/Autocomplete/SingleInput.js +2 -2
  6. package/dist/esm/components/EdsProvider/eds.context.js +3 -31
  7. package/dist/esm/components/next/Button/Button.js +53 -0
  8. package/dist/esm/components/next/Checkbox/Checkbox.js +85 -0
  9. package/dist/esm/components/next/Field/Field.Description.js +25 -0
  10. package/dist/esm/components/next/Field/Field.HelperMessage.js +45 -0
  11. package/dist/esm/components/next/Field/Field.Label.js +31 -0
  12. package/dist/esm/components/next/Field/Field.js +29 -0
  13. package/dist/esm/components/next/Field/useFieldIds.js +57 -0
  14. package/dist/esm/components/next/Icon/Icon.js +0 -1
  15. package/dist/esm/components/next/Input/Input.js +92 -0
  16. package/dist/esm/components/next/Radio/Radio.js +63 -0
  17. package/dist/esm/components/next/Switch/Switch.js +64 -0
  18. package/dist/esm/components/next/TextField/TextField.js +69 -0
  19. package/dist/esm/index.next.js +8 -1
  20. package/dist/index.next.cjs +825 -39
  21. package/dist/types/components/Autocomplete/Autocomplete.d.ts +2 -2
  22. package/dist/types/components/Autocomplete/AutocompleteContext.d.ts +2 -2
  23. package/dist/types/components/Autocomplete/useAutocomplete.d.ts +1 -1
  24. package/dist/types/components/Datepicker/DateRangePicker.d.ts +1 -1
  25. package/dist/types/components/SideBar/SideBarButton/index.d.ts +1 -1
  26. package/dist/types/components/next/Button/Button.d.ts +8 -0
  27. package/dist/types/components/next/Button/Button.figma.d.ts +1 -0
  28. package/dist/types/components/next/Button/Button.types.d.ts +80 -0
  29. package/dist/types/components/next/Button/index.d.ts +2 -0
  30. package/dist/types/components/next/Checkbox/Checkbox.d.ts +7 -0
  31. package/dist/types/components/next/Checkbox/Checkbox.figma.d.ts +1 -0
  32. package/dist/types/components/next/Checkbox/Checkbox.types.d.ts +15 -0
  33. package/dist/types/components/next/Checkbox/index.d.ts +2 -0
  34. package/dist/types/components/next/Field/Field.Description.d.ts +3 -0
  35. package/dist/types/components/next/Field/Field.HelperMessage.d.ts +19 -0
  36. package/dist/types/components/next/Field/Field.HelperMessage.types.d.ts +12 -0
  37. package/dist/types/components/next/Field/Field.Label.d.ts +4 -0
  38. package/dist/types/components/next/Field/Field.d.ts +15 -0
  39. package/dist/types/components/next/Field/Field.types.d.ts +25 -0
  40. package/dist/types/components/next/Field/index.d.ts +5 -0
  41. package/dist/types/components/next/Field/useFieldIds.d.ts +59 -0
  42. package/dist/types/components/next/Input/Input.d.ts +3 -0
  43. package/dist/types/components/next/Input/Input.types.d.ts +17 -0
  44. package/dist/types/components/next/Input/index.d.ts +2 -0
  45. package/dist/types/components/next/Placeholder/Placeholder.d.ts +4 -6
  46. package/dist/types/components/next/Placeholder/index.d.ts +0 -1
  47. package/dist/types/components/next/Radio/Radio.d.ts +3 -0
  48. package/dist/types/components/next/Radio/Radio.figma.d.ts +1 -0
  49. package/dist/types/components/next/Radio/Radio.types.d.ts +5 -0
  50. package/dist/types/components/next/Radio/index.d.ts +2 -0
  51. package/dist/types/components/next/Switch/Switch.d.ts +3 -0
  52. package/dist/types/components/next/Switch/Switch.types.d.ts +7 -0
  53. package/dist/types/components/next/Switch/index.d.ts +2 -0
  54. package/dist/types/components/next/TextField/TextField.d.ts +17 -0
  55. package/dist/types/components/next/TextField/TextField.types.d.ts +16 -0
  56. package/dist/types/components/next/TextField/index.d.ts +2 -0
  57. package/dist/types/components/next/index.d.ts +14 -2
  58. package/dist/types/index.next.d.ts +3 -0
  59. package/package.json +5 -9
  60. package/dist/esm/components/next/Icon/icon.css.js +0 -6
  61. package/dist/esm/components/next/Placeholder/Placeholder.js +0 -17
  62. package/dist/esm/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js +0 -26
@@ -0,0 +1,1252 @@
1
+
2
+ @layer eds-components;
3
+ /* EDS 2.0 Next Components - CSS */
4
+ /* Define layer order - eds-components has lowest priority for easy user overrides */
5
+ :root,[data-color-scheme=light]{color-scheme:light}
6
+ [data-color-scheme=dark]{color-scheme:dark}
7
+ :root{--eds-color-bg-floating:light-dark(#fff,#202223);--eds-color-bg-backdrop:light-dark(#aeaeae,#738696);--eds-color-bg-input:light-dark(#f5f5f5,#0b0b0b);--eds-color-border-focus:light-dark(#6fb6e9,#2d8bc5);--eds-color-text-link:light-dark(#0070a9,#5abbfb);--eds-color-accent-1:light-dark(#eaf8fa,#0a0b0b);--eds-color-accent-2:light-dark(#f6ffff,#1e2323);--eds-color-accent-3:light-dark(#cfe7e9,#3c6266);--eds-color-accent-4:light-dark(#bbdbdf,#3e7378);--eds-color-accent-5:light-dark(#a2cdd2,#41878e);--eds-color-accent-6:light-dark(#bbdbdf,#3c6266);--eds-color-accent-7:light-dark(#7cbac1,#439199);--eds-color-accent-8:light-dark(#21767e,#6ec0c9);--eds-color-accent-9:light-dark(#206f77,#8cd2da);--eds-color-accent-10:light-dark(#205c62,#ace3e9);--eds-color-accent-11:light-dark(#20565c,#c7f1f6);--eds-color-accent-12:light-dark(#1f6369,#bcebf1);--eds-color-accent-13:light-dark(#141f20,#e6ffff);--eds-color-accent-14:light-dark(#cae4e7,#2c3839);--eds-color-accent-15:light-dark(#fff,#030303);--eds-color-neutral-1:light-dark(#f5f5f5,#0b0b0b);--eds-color-neutral-2:light-dark(#fff,#202223);--eds-color-neutral-3:light-dark(#e1e1e1,#525c65);--eds-color-neutral-4:light-dark(#d4d4d4,#5d6b76);--eds-color-neutral-5:light-dark(#c4c4c4,#6b7d8b);--eds-color-neutral-6:light-dark(#d4d4d4,#525c65);--eds-color-neutral-7:light-dark(#aeaeae,#738696);--eds-color-neutral-8:light-dark(#696969,#9fb4c6);--eds-color-neutral-9:light-dark(#636363,#b4c7d7);--eds-color-neutral-10:light-dark(#525252,#cadae7);--eds-color-neutral-11:light-dark(#4d4d4d,#deeaf4);--eds-color-neutral-12:light-dark(#585858,#d6e3ee);--eds-color-neutral-13:light-dark(#1d1d1d,#f5fdff);--eds-color-neutral-14:light-dark(#dedede,#333639);--eds-color-neutral-15:light-dark(#fff,#030303);--eds-color-info-1:light-dark(#e7f8ff,#0a0b0c);--eds-color-info-2:light-dark(#f4ffff,#1d2226);--eds-color-info-3:light-dark(#cae6fa,#33607e);--eds-color-info-4:light-dark(#b5daf5,#316f98);--eds-color-info-5:light-dark(#99cbf0,#2e82b7);--eds-color-info-6:light-dark(#b5daf5,#33607e);--eds-color-info-7:light-dark(#6fb6e9,#2d8bc5);--eds-color-info-8:light-dark(#0070a9,#5abbfb);--eds-color-info-9:light-dark(#006aa0,#7dceff);--eds-color-info-10:light-dark(#085883,#a2e0ff);--eds-color-info-11:light-dark(#0e5279,#c4eeff);--eds-color-info-12:light-dark(#015e8d,#b7e8ff);--eds-color-info-13:light-dark(#121e27,#ecffff);--eds-color-info-14:light-dark(#c5e3f9,#2a3741);--eds-color-info-15:light-dark(#fff,#030304);--eds-color-success-1:light-dark(#eafbe8,#0a0c0a);--eds-color-success-2:light-dark(#f6fff5,#1e231e);--eds-color-success-3:light-dark(#cfeacc,#3c673a);--eds-color-success-4:light-dark(#bbe0b8,#3e793c);--eds-color-success-5:light-dark(#a2d49e,#418e3e);--eds-color-success-6:light-dark(#bbe0b8,#3c673a);--eds-color-success-7:light-dark(#7cc278,#439941);--eds-color-success-8:light-dark(#227e22,#6eca6a);--eds-color-success-9:light-dark(#207720,#8cdb87);--eds-color-success-10:light-dark(#20621f,#aceba8);--eds-color-success-11:light-dark(#215c1f,#c7f7c3);--eds-color-success-12:light-dark(#20691f,#bcf2b8);--eds-color-success-13:light-dark(#142114,#e6ffe3);--eds-color-success-14:light-dark(#cae8c7,#2c392b);--eds-color-success-15:light-dark(#fff,#030303);--eds-color-warning-1:light-dark(#fff1e2,#0c0b0a);--eds-color-warning-2:light-dark(#fffcf0,#27201b);--eds-color-warning-3:light-dark(#fbdac1,#7e4e25);--eds-color-warning-4:light-dark(#f6caaa,#97571b);--eds-color-warning-5:light-dark(#f0b689,#b46201);--eds-color-warning-6:light-dark(#f6caaa,#7e4e25);--eds-color-warning-7:light-dark(#e89959,#c36800);--eds-color-warning-8:light-dark(#a34e00,#f99539);--eds-color-warning-9:light-dark(#9b4900,#ffad63);--eds-color-warning-10:light-dark(#813e00,#ffc791);--eds-color-warning-11:light-dark(#773a00,#ffddb9);--eds-color-warning-12:light-dark(#8a4100,#ffd4aa);--eds-color-warning-13:light-dark(#27190e,#fff7e6);--eds-color-warning-14:light-dark(#fad6bc,#413226);--eds-color-warning-15:light-dark(#fff,#040303);--eds-color-danger-1:light-dark(#ffecea,#0d0a0a);--eds-color-danger-2:light-dark(#fff9f8,#2a1e1e);--eds-color-danger-3:light-dark(#ffd0ce,#923a3c);--eds-color-danger-4:light-dark(#ffbcba,#b03940);--eds-color-danger-5:light-dark(#ffa3a1,#d43745);--eds-color-danger-6:light-dark(#ffbcba,#923a3c);--eds-color-danger-7:light-dark(#ff7a7d,#e53748);--eds-color-danger-8:light-dark(#c6002d,#ff8082);--eds-color-danger-9:light-dark(#bc002a,#ffa3a1);--eds-color-danger-10:light-dark(#9a1026,#ffc1bf);--eds-color-danger-11:light-dark(#8e1525,#ffd9d7);--eds-color-danger-12:light-dark(#a50827,#ffd0ce);--eds-color-danger-13:light-dark(#2e1414,#fff5f4);--eds-color-danger-14:light-dark(#ffcbc9,#492d2c);--eds-color-danger-15:light-dark(#fff,#040303);--eds-color-bg-neutral-canvas:var(--eds-color-neutral-1);--eds-color-bg-neutral-surface:var(--eds-color-neutral-2);--eds-color-bg-neutral-fill-muted-default:var(--eds-color-neutral-3);--eds-color-bg-neutral-fill-muted-hover:var(--eds-color-neutral-4);--eds-color-bg-neutral-fill-muted-active:var(--eds-color-neutral-5);--eds-color-bg-neutral-fill-emphasis-default:var(--eds-color-neutral-9);--eds-color-bg-neutral-fill-emphasis-hover:var(--eds-color-neutral-10);--eds-color-bg-neutral-fill-emphasis-active:var(--eds-color-neutral-11);--eds-color-bg-accent-canvas:var(--eds-color-accent-1);--eds-color-bg-accent-surface:var(--eds-color-accent-2);--eds-color-bg-accent-fill-muted-default:var(--eds-color-accent-3);--eds-color-bg-accent-fill-muted-hover:var(--eds-color-accent-4);--eds-color-bg-accent-fill-muted-active:var(--eds-color-accent-5);--eds-color-bg-accent-fill-emphasis-default:var(--eds-color-accent-9);--eds-color-bg-accent-fill-emphasis-hover:var(--eds-color-accent-10);--eds-color-bg-accent-fill-emphasis-active:var(--eds-color-accent-11);--eds-color-bg-success-canvas:var(--eds-color-success-1);--eds-color-bg-success-surface:var(--eds-color-success-2);--eds-color-bg-success-fill-muted-default:var(--eds-color-success-3);--eds-color-bg-success-fill-muted-hover:var(--eds-color-success-4);--eds-color-bg-success-fill-muted-active:var(--eds-color-success-5);--eds-color-bg-success-fill-emphasis-default:var(--eds-color-success-9);--eds-color-bg-success-fill-emphasis-hover:var(--eds-color-success-10);--eds-color-bg-success-fill-emphasis-active:var(--eds-color-success-11);--eds-color-bg-info-canvas:var(--eds-color-info-1);--eds-color-bg-info-surface:var(--eds-color-info-2);--eds-color-bg-info-fill-muted-default:var(--eds-color-info-3);--eds-color-bg-info-fill-muted-hover:var(--eds-color-info-4);--eds-color-bg-info-fill-muted-active:var(--eds-color-info-5);--eds-color-bg-info-fill-emphasis-default:var(--eds-color-info-9);--eds-color-bg-info-fill-emphasis-hover:var(--eds-color-info-10);--eds-color-bg-info-fill-emphasis-active:var(--eds-color-info-11);--eds-color-bg-warning-canvas:var(--eds-color-warning-1);--eds-color-bg-warning-surface:var(--eds-color-warning-2);--eds-color-bg-warning-fill-muted-default:var(--eds-color-warning-3);--eds-color-bg-warning-fill-muted-hover:var(--eds-color-warning-4);--eds-color-bg-warning-fill-muted-active:var(--eds-color-warning-5);--eds-color-bg-warning-fill-emphasis-default:var(--eds-color-warning-9);--eds-color-bg-warning-fill-emphasis-hover:var(--eds-color-warning-10);--eds-color-bg-warning-fill-emphasis-active:var(--eds-color-warning-11);--eds-color-bg-danger-canvas:var(--eds-color-danger-1);--eds-color-bg-danger-surface:var(--eds-color-danger-2);--eds-color-bg-danger-fill-muted-default:var(--eds-color-danger-3);--eds-color-bg-danger-fill-muted-hover:var(--eds-color-danger-4);--eds-color-bg-danger-fill-muted-active:var(--eds-color-danger-5);--eds-color-bg-danger-fill-emphasis-default:var(--eds-color-danger-9);--eds-color-bg-danger-fill-emphasis-hover:var(--eds-color-danger-10);--eds-color-bg-danger-fill-emphasis-active:var(--eds-color-danger-11);--eds-color-border-neutral-subtle:var(--eds-color-neutral-6);--eds-color-border-neutral-medium:var(--eds-color-neutral-7);--eds-color-border-neutral-strong:var(--eds-color-neutral-8);--eds-color-border-accent-subtle:var(--eds-color-accent-6);--eds-color-border-accent-medium:var(--eds-color-accent-7);--eds-color-border-accent-strong:var(--eds-color-accent-8);--eds-color-border-success-subtle:var(--eds-color-success-6);--eds-color-border-success-medium:var(--eds-color-success-7);--eds-color-border-success-strong:var(--eds-color-success-8);--eds-color-border-info-subtle:var(--eds-color-info-6);--eds-color-border-info-medium:var(--eds-color-info-7);--eds-color-border-info-strong:var(--eds-color-info-8);--eds-color-border-warning-subtle:var(--eds-color-warning-6);--eds-color-border-warning-medium:var(--eds-color-warning-7);--eds-color-border-warning-strong:var(--eds-color-warning-8);--eds-color-border-danger-subtle:var(--eds-color-danger-6);--eds-color-border-danger-medium:var(--eds-color-danger-7);--eds-color-border-danger-strong:var(--eds-color-danger-8);--eds-color-text-neutral-subtle:var(--eds-color-neutral-12);--eds-color-text-neutral-strong:var(--eds-color-neutral-13);--eds-color-text-neutral-subtle-on-emphasis:var(--eds-color-neutral-14);--eds-color-text-neutral-strong-on-emphasis:var(--eds-color-neutral-15);--eds-color-text-accent-subtle:var(--eds-color-accent-12);--eds-color-text-accent-strong:var(--eds-color-accent-13);--eds-color-text-accent-subtle-on-emphasis:var(--eds-color-accent-14);--eds-color-text-accent-strong-on-emphasis:var(--eds-color-accent-15);--eds-color-text-success-subtle:var(--eds-color-success-12);--eds-color-text-success-strong:var(--eds-color-success-13);--eds-color-text-success-subtle-on-emphasis:var(--eds-color-success-14);--eds-color-text-success-strong-on-emphasis:var(--eds-color-success-15);--eds-color-text-info-subtle:var(--eds-color-info-12);--eds-color-text-info-strong:var(--eds-color-info-13);--eds-color-text-info-subtle-on-emphasis:var(--eds-color-info-14);--eds-color-text-info-strong-on-emphasis:var(--eds-color-info-15);--eds-color-text-warning-subtle:var(--eds-color-warning-12);--eds-color-text-warning-strong:var(--eds-color-warning-13);--eds-color-text-warning-subtle-on-emphasis:var(--eds-color-warning-14);--eds-color-text-warning-strong-on-emphasis:var(--eds-color-warning-15);--eds-color-text-danger-subtle:var(--eds-color-danger-12);--eds-color-text-danger-strong:var(--eds-color-danger-13);--eds-color-text-danger-subtle-on-emphasis:var(--eds-color-danger-14);--eds-color-text-danger-strong-on-emphasis:var(--eds-color-danger-15)}
8
+ :root,[data-color-appearance=neutral]{--eds-color-bg-fill-muted-default:var(--eds-color-neutral-3);--eds-color-bg-fill-muted-hover:var(--eds-color-neutral-4);--eds-color-bg-fill-muted-active:var(--eds-color-neutral-5);--eds-color-bg-fill-emphasis-default:var(--eds-color-neutral-9);--eds-color-bg-fill-emphasis-hover:var(--eds-color-neutral-10);--eds-color-bg-fill-emphasis-active:var(--eds-color-neutral-11);--eds-color-bg-canvas:var(--eds-color-neutral-1);--eds-color-bg-surface:var(--eds-color-neutral-2);--eds-color-border-subtle:var(--eds-color-neutral-6);--eds-color-border-medium:var(--eds-color-neutral-7);--eds-color-border-strong:var(--eds-color-neutral-8);--eds-color-text-subtle:var(--eds-color-neutral-12);--eds-color-text-strong:var(--eds-color-neutral-13);--eds-color-text-subtle-on-emphasis:var(--eds-color-neutral-14);--eds-color-text-strong-on-emphasis:var(--eds-color-neutral-15)}
9
+ [data-color-appearance=accent]{--eds-color-bg-fill-muted-default:var(--eds-color-accent-3);--eds-color-bg-fill-muted-hover:var(--eds-color-accent-4);--eds-color-bg-fill-muted-active:var(--eds-color-accent-5);--eds-color-bg-fill-emphasis-default:var(--eds-color-accent-9);--eds-color-bg-fill-emphasis-hover:var(--eds-color-accent-10);--eds-color-bg-fill-emphasis-active:var(--eds-color-accent-11);--eds-color-bg-canvas:var(--eds-color-accent-1);--eds-color-bg-surface:var(--eds-color-accent-2);--eds-color-border-subtle:var(--eds-color-accent-6);--eds-color-border-medium:var(--eds-color-accent-7);--eds-color-border-strong:var(--eds-color-accent-8);--eds-color-text-subtle:var(--eds-color-accent-12);--eds-color-text-strong:var(--eds-color-accent-13);--eds-color-text-subtle-on-emphasis:var(--eds-color-accent-14);--eds-color-text-strong-on-emphasis:var(--eds-color-accent-15)}
10
+ [data-color-appearance=danger]{--eds-color-bg-fill-muted-default:var(--eds-color-danger-3);--eds-color-bg-fill-muted-hover:var(--eds-color-danger-4);--eds-color-bg-fill-muted-active:var(--eds-color-danger-5);--eds-color-bg-fill-emphasis-default:var(--eds-color-danger-9);--eds-color-bg-fill-emphasis-hover:var(--eds-color-danger-10);--eds-color-bg-fill-emphasis-active:var(--eds-color-danger-11);--eds-color-bg-canvas:var(--eds-color-danger-1);--eds-color-bg-surface:var(--eds-color-danger-2);--eds-color-border-subtle:var(--eds-color-danger-6);--eds-color-border-medium:var(--eds-color-danger-7);--eds-color-border-strong:var(--eds-color-danger-8);--eds-color-text-subtle:var(--eds-color-danger-12);--eds-color-text-strong:var(--eds-color-danger-13);--eds-color-text-subtle-on-emphasis:var(--eds-color-danger-14);--eds-color-text-strong-on-emphasis:var(--eds-color-danger-15)}
11
+ [data-color-appearance=info]{--eds-color-bg-fill-muted-default:var(--eds-color-info-3);--eds-color-bg-fill-muted-hover:var(--eds-color-info-4);--eds-color-bg-fill-muted-active:var(--eds-color-info-5);--eds-color-bg-fill-emphasis-default:var(--eds-color-info-9);--eds-color-bg-fill-emphasis-hover:var(--eds-color-info-10);--eds-color-bg-fill-emphasis-active:var(--eds-color-info-11);--eds-color-bg-canvas:var(--eds-color-info-1);--eds-color-bg-surface:var(--eds-color-info-2);--eds-color-border-subtle:var(--eds-color-info-6);--eds-color-border-medium:var(--eds-color-info-7);--eds-color-border-strong:var(--eds-color-info-8);--eds-color-text-subtle:var(--eds-color-info-12);--eds-color-text-strong:var(--eds-color-info-13);--eds-color-text-subtle-on-emphasis:var(--eds-color-info-14);--eds-color-text-strong-on-emphasis:var(--eds-color-info-15)}
12
+ [data-color-appearance=success]{--eds-color-bg-fill-muted-default:var(--eds-color-success-3);--eds-color-bg-fill-muted-hover:var(--eds-color-success-4);--eds-color-bg-fill-muted-active:var(--eds-color-success-5);--eds-color-bg-fill-emphasis-default:var(--eds-color-success-9);--eds-color-bg-fill-emphasis-hover:var(--eds-color-success-10);--eds-color-bg-fill-emphasis-active:var(--eds-color-success-11);--eds-color-bg-canvas:var(--eds-color-success-1);--eds-color-bg-surface:var(--eds-color-success-2);--eds-color-border-subtle:var(--eds-color-success-6);--eds-color-border-medium:var(--eds-color-success-7);--eds-color-border-strong:var(--eds-color-success-8);--eds-color-text-subtle:var(--eds-color-success-12);--eds-color-text-strong:var(--eds-color-success-13);--eds-color-text-subtle-on-emphasis:var(--eds-color-success-14);--eds-color-text-strong-on-emphasis:var(--eds-color-success-15)}
13
+ [data-color-appearance=warning]{--eds-color-bg-fill-muted-default:var(--eds-color-warning-3);--eds-color-bg-fill-muted-hover:var(--eds-color-warning-4);--eds-color-bg-fill-muted-active:var(--eds-color-warning-5);--eds-color-bg-fill-emphasis-default:var(--eds-color-warning-9);--eds-color-bg-fill-emphasis-hover:var(--eds-color-warning-10);--eds-color-bg-fill-emphasis-active:var(--eds-color-warning-11);--eds-color-bg-canvas:var(--eds-color-warning-1);--eds-color-bg-surface:var(--eds-color-warning-2);--eds-color-border-subtle:var(--eds-color-warning-6);--eds-color-border-medium:var(--eds-color-warning-7);--eds-color-border-strong:var(--eds-color-warning-8);--eds-color-text-subtle:var(--eds-color-warning-12);--eds-color-text-strong:var(--eds-color-warning-13);--eds-color-text-subtle-on-emphasis:var(--eds-color-warning-14);--eds-color-text-strong-on-emphasis:var(--eds-color-warning-15)}
14
+ :root,[data-density=spacious]{--eds-sizing-icon-xs:1rem;--eds-sizing-icon-sm:1.125rem;--eds-sizing-icon-md:1.25rem;--eds-sizing-icon-lg:1.5rem;--eds-sizing-icon-xl:1.75rem;--eds-sizing-icon-2xl:2rem;--eds-sizing-icon-3xl:2.313rem;--eds-sizing-icon-4xl:2.625rem;--eds-sizing-icon-5xl:3rem;--eds-sizing-icon-6xl:3.5rem;--eds-sizing-selectable-xs:1.25rem;--eds-sizing-selectable-sm:1.5rem;--eds-sizing-selectable-md:2.25rem;--eds-sizing-selectable-lg:2.75rem;--eds-sizing-selectable-xl:3.25rem;--eds-sizing-selectable-2xl:3.75rem;--eds-sizing-stroke-thin:.063rem;--eds-sizing-stroke-thick:.125rem;--eds-sizing-stroke-none:0rem;--eds-spacing-icon-xs-gap-horizontal:.406rem;--eds-spacing-icon-xs-gap-vertical:.406rem;--eds-spacing-icon-sm-gap-horizontal:.469rem;--eds-spacing-icon-sm-gap-vertical:.469rem;--eds-spacing-icon-md-gap-horizontal:.531rem;--eds-spacing-icon-md-gap-vertical:.531rem;--eds-spacing-icon-lg-gap-horizontal:.625rem;--eds-spacing-icon-lg-gap-vertical:.625rem;--eds-spacing-icon-xl-gap-horizontal:.719rem;--eds-spacing-icon-xl-gap-vertical:.719rem;--eds-spacing-icon-2xl-gap-horizontal:.813rem;--eds-spacing-icon-2xl-gap-vertical:.813rem;--eds-spacing-icon-3xl-gap-horizontal:.938rem;--eds-spacing-icon-3xl-gap-vertical:.938rem;--eds-spacing-icon-4xl-gap-horizontal:1.094rem;--eds-spacing-icon-4xl-gap-vertical:1.094rem;--eds-spacing-icon-5xl-gap-horizontal:1.25rem;--eds-spacing-icon-5xl-gap-vertical:1.25rem;--eds-spacing-icon-6xl-gap-horizontal:1.438rem;--eds-spacing-icon-6xl-gap-vertical:1.438rem;--eds-spacing-border-radius-rounded:.25rem;--eds-spacing-border-radius-pill:62.5rem;--eds-spacing-border-radius-none:0rem;--eds-spacing-inset-xs-horizontal:.5rem;--eds-spacing-inset-xs-vertical-squished:.375rem;--eds-spacing-inset-xs-vertical-squared:.5rem;--eds-spacing-inset-xs-vertical-stretched:.75rem;--eds-spacing-inset-sm-horizontal:.75rem;--eds-spacing-inset-sm-vertical-squished:.5rem;--eds-spacing-inset-sm-vertical-squared:.75rem;--eds-spacing-inset-sm-vertical-stretched:1rem;--eds-spacing-inset-md-horizontal:1rem;--eds-spacing-inset-md-vertical-squished:.75rem;--eds-spacing-inset-md-vertical-squared:1rem;--eds-spacing-inset-md-vertical-stretched:1.25rem;--eds-spacing-inset-lg-horizontal:1.25rem;--eds-spacing-inset-lg-vertical-squished:1rem;--eds-spacing-inset-lg-vertical-squared:1.25rem;--eds-spacing-inset-lg-vertical-stretched:1.5rem;--eds-spacing-inset-xl-horizontal:1.5rem;--eds-spacing-inset-xl-vertical-squished:1.25rem;--eds-spacing-inset-xl-vertical-squared:1.5rem;--eds-spacing-inset-xl-vertical-stretched:1.75rem;--eds-spacing-horizontal-4xs:.125rem;--eds-spacing-horizontal-3xs:.25rem;--eds-spacing-horizontal-2xs:.375rem;--eds-spacing-horizontal-xs:.5rem;--eds-spacing-horizontal-sm:.75rem;--eds-spacing-horizontal-md:1rem;--eds-spacing-horizontal-lg:1.25rem;--eds-spacing-horizontal-xl:1.5rem;--eds-spacing-horizontal-2xl:1.75rem;--eds-spacing-horizontal-3xl:2rem;--eds-spacing-vertical-4xs:.125rem;--eds-spacing-vertical-3xs:.25rem;--eds-spacing-vertical-2xs:.375rem;--eds-spacing-vertical-xs:.5rem;--eds-spacing-vertical-sm:.75rem;--eds-spacing-vertical-md:1rem;--eds-spacing-vertical-lg:1.25rem;--eds-spacing-vertical-xl:1.5rem;--eds-spacing-vertical-2xl:1.75rem;--eds-spacing-vertical-3xl:2rem;--eds-typography-ui-body-xs-font-size:.656rem;--eds-typography-ui-body-xs-tracking-tight:-1.15px;--eds-typography-ui-body-xs-tracking-normal:0px;--eds-typography-ui-body-xs-tracking-wide:1.15px;--eds-typography-ui-body-xs-font-weight-lighter:300;--eds-typography-ui-body-xs-font-weight-normal:400;--eds-typography-ui-body-xs-font-weight-bolder:500;--eds-typography-ui-body-xs-line-height-default:1rem;--eds-typography-ui-body-xs-line-height-squished:.75rem;--eds-typography-ui-body-sm-font-size:.75rem;--eds-typography-ui-body-sm-tracking-tight:-1.32px;--eds-typography-ui-body-sm-tracking-normal:0px;--eds-typography-ui-body-sm-tracking-wide:1.32px;--eds-typography-ui-body-sm-font-weight-lighter:300;--eds-typography-ui-body-sm-font-weight-normal:400;--eds-typography-ui-body-sm-font-weight-bolder:500;--eds-typography-ui-body-sm-line-height-default:1rem;--eds-typography-ui-body-sm-line-height-squished:.75rem;--eds-typography-ui-body-font-family:"Inter";--eds-typography-ui-body-md-font-size:.875rem;--eds-typography-ui-body-md-tracking-tight:-1.54px;--eds-typography-ui-body-md-tracking-normal:0px;--eds-typography-ui-body-md-tracking-wide:1.54px;--eds-typography-ui-body-md-font-weight-lighter:300;--eds-typography-ui-body-md-font-weight-normal:400;--eds-typography-ui-body-md-font-weight-bolder:500;--eds-typography-ui-body-md-line-height-default:1.25rem;--eds-typography-ui-body-md-line-height-squished:1rem;--eds-typography-ui-body-lg-font-size:1rem;--eds-typography-ui-body-lg-tracking-tight:-1.76px;--eds-typography-ui-body-lg-tracking-normal:0px;--eds-typography-ui-body-lg-tracking-wide:1.76px;--eds-typography-ui-body-lg-font-weight-lighter:300;--eds-typography-ui-body-lg-font-weight-normal:400;--eds-typography-ui-body-lg-font-weight-bolder:500;--eds-typography-ui-body-lg-line-height-default:1.5rem;--eds-typography-ui-body-lg-line-height-squished:1.25rem;--eds-typography-ui-body-xl-font-size:1.156rem;--eds-typography-ui-body-xl-tracking-tight:-1.76px;--eds-typography-ui-body-xl-tracking-normal:0px;--eds-typography-ui-body-xl-tracking-wide:2.035px;--eds-typography-ui-body-xl-font-weight-lighter:300;--eds-typography-ui-body-xl-font-weight-normal:400;--eds-typography-ui-body-xl-font-weight-bolder:500;--eds-typography-ui-body-xl-line-height-default:1.5rem;--eds-typography-ui-body-xl-line-height-squished:1.25rem;--eds-typography-ui-body-2xl-font-size:1.313rem;--eds-typography-ui-body-2xl-tracking-tight:-2.31px;--eds-typography-ui-body-2xl-tracking-normal:0px;--eds-typography-ui-body-2xl-tracking-wide:2.31px;--eds-typography-ui-body-2xl-font-weight-lighter:300;--eds-typography-ui-body-2xl-font-weight-normal:400;--eds-typography-ui-body-2xl-font-weight-bolder:500;--eds-typography-ui-body-2xl-line-height-default:1.75rem;--eds-typography-ui-body-2xl-line-height-squished:1.5rem;--eds-typography-ui-body-3xl-font-size:1.531rem;--eds-typography-ui-body-3xl-tracking-tight:-2.695px;--eds-typography-ui-body-3xl-tracking-normal:0px;--eds-typography-ui-body-3xl-tracking-wide:2.695px;--eds-typography-ui-body-3xl-font-weight-lighter:300;--eds-typography-ui-body-3xl-font-weight-normal:400;--eds-typography-ui-body-3xl-font-weight-bolder:500;--eds-typography-ui-body-3xl-line-height-default:2rem;--eds-typography-ui-body-3xl-line-height-squished:1.75rem;--eds-typography-ui-body-4xl-font-size:1.75rem;--eds-typography-ui-body-4xl-tracking-tight:-3.08px;--eds-typography-ui-body-4xl-tracking-normal:0px;--eds-typography-ui-body-4xl-tracking-wide:3.08px;--eds-typography-ui-body-4xl-font-weight-lighter:300;--eds-typography-ui-body-4xl-font-weight-normal:400;--eds-typography-ui-body-4xl-font-weight-bolder:500;--eds-typography-ui-body-4xl-line-height-default:2rem;--eds-typography-ui-body-4xl-line-height-squished:1.75rem;--eds-typography-ui-body-5xl-font-size:2rem;--eds-typography-ui-body-5xl-tracking-tight:-3.52px;--eds-typography-ui-body-5xl-tracking-normal:0px;--eds-typography-ui-body-5xl-tracking-wide:3.52px;--eds-typography-ui-body-5xl-font-weight-lighter:300;--eds-typography-ui-body-5xl-font-weight-normal:400;--eds-typography-ui-body-5xl-font-weight-bolder:500;--eds-typography-ui-body-5xl-line-height-default:2.25rem;--eds-typography-ui-body-5xl-line-height-squished:2rem;--eds-typography-ui-body-6xl-font-size:2.313rem;--eds-typography-ui-body-6xl-tracking-tight:-4.07px;--eds-typography-ui-body-6xl-tracking-normal:0px;--eds-typography-ui-body-6xl-tracking-wide:4.07px;--eds-typography-ui-body-6xl-font-weight-lighter:300;--eds-typography-ui-body-6xl-font-weight-normal:400;--eds-typography-ui-body-6xl-font-weight-bolder:500;--eds-typography-ui-body-6xl-line-height-default:2.5rem;--eds-typography-ui-body-6xl-line-height-squished:2.25rem;--eds-typography-header-font-family:"Equinor";--eds-typography-header-xs-font-size:.75rem;--eds-typography-header-xs-tracking-tight:-1.15px;--eds-typography-header-xs-tracking-normal:0px;--eds-typography-header-xs-tracking-wide:1.15px;--eds-typography-header-xs-font-weight-lighter:300;--eds-typography-header-xs-font-weight-normal:400;--eds-typography-header-xs-font-weight-bolder:500;--eds-typography-header-xs-line-height-default:1rem;--eds-typography-header-xs-line-height-squished:.75rem;--eds-typography-header-sm-font-size:.875rem;--eds-typography-header-sm-tracking-tight:-1.32px;--eds-typography-header-sm-tracking-normal:0px;--eds-typography-header-sm-tracking-wide:1.32px;--eds-typography-header-sm-font-weight-lighter:300;--eds-typography-header-sm-font-weight-normal:400;--eds-typography-header-sm-font-weight-bolder:500;--eds-typography-header-sm-line-height-default:1rem;--eds-typography-header-sm-line-height-squished:.75rem;--eds-typography-header-md-font-size:1rem;--eds-typography-header-md-tracking-tight:-1.54px;--eds-typography-header-md-tracking-normal:0px;--eds-typography-header-md-tracking-wide:1.54px;--eds-typography-header-md-font-weight-lighter:300;--eds-typography-header-md-font-weight-normal:400;--eds-typography-header-md-font-weight-bolder:500;--eds-typography-header-md-line-height-default:1.25rem;--eds-typography-header-md-line-height-squished:1rem;--eds-typography-header-lg-font-size:1.125rem;--eds-typography-header-lg-tracking-tight:-1.76px;--eds-typography-header-lg-tracking-normal:0px;--eds-typography-header-lg-tracking-wide:1.76px;--eds-typography-header-lg-font-weight-lighter:300;--eds-typography-header-lg-font-weight-normal:400;--eds-typography-header-lg-font-weight-bolder:500;--eds-typography-header-lg-line-height-default:1.5rem;--eds-typography-header-lg-line-height-squished:1.25rem;--eds-typography-header-xl-font-size:1.313rem;--eds-typography-header-xl-tracking-tight:-1.76px;--eds-typography-header-xl-tracking-normal:0px;--eds-typography-header-xl-tracking-wide:2.035px;--eds-typography-header-xl-font-weight-lighter:300;--eds-typography-header-xl-font-weight-normal:400;--eds-typography-header-xl-font-weight-bolder:500;--eds-typography-header-xl-line-height-default:1.5rem;--eds-typography-header-xl-line-height-squished:1.25rem;--eds-typography-header-2xl-font-size:1.5rem;--eds-typography-header-2xl-tracking-tight:-2.31px;--eds-typography-header-2xl-tracking-normal:0px;--eds-typography-header-2xl-tracking-wide:2.31px;--eds-typography-header-2xl-font-weight-lighter:300;--eds-typography-header-2xl-font-weight-normal:400;--eds-typography-header-2xl-font-weight-bolder:500;--eds-typography-header-2xl-line-height-default:1.75rem;--eds-typography-header-2xl-line-height-squished:1.5rem;--eds-typography-header-3xl-font-size:1.719rem;--eds-typography-header-3xl-tracking-tight:-2.695px;--eds-typography-header-3xl-tracking-normal:0px;--eds-typography-header-3xl-tracking-wide:2.695px;--eds-typography-header-3xl-font-weight-lighter:300;--eds-typography-header-3xl-font-weight-normal:400;--eds-typography-header-3xl-font-weight-bolder:500;--eds-typography-header-3xl-line-height-default:2rem;--eds-typography-header-3xl-line-height-squished:1.75rem;--eds-typography-header-4xl-font-size:1.969rem;--eds-typography-header-4xl-tracking-tight:-3.08px;--eds-typography-header-4xl-tracking-normal:0px;--eds-typography-header-4xl-tracking-wide:3.08px;--eds-typography-header-4xl-font-weight-lighter:300;--eds-typography-header-4xl-font-weight-normal:400;--eds-typography-header-4xl-font-weight-bolder:500;--eds-typography-header-4xl-line-height-default:2rem;--eds-typography-header-4xl-line-height-squished:1.75rem;--eds-typography-header-5xl-font-size:2.281rem;--eds-typography-header-5xl-tracking-tight:-3.52px;--eds-typography-header-5xl-tracking-normal:0px;--eds-typography-header-5xl-tracking-wide:3.52px;--eds-typography-header-5xl-font-weight-lighter:300;--eds-typography-header-5xl-font-weight-normal:400;--eds-typography-header-5xl-font-weight-bolder:500;--eds-typography-header-5xl-line-height-default:2.25rem;--eds-typography-header-5xl-line-height-squished:2rem;--eds-typography-header-6xl-font-size:2.625rem;--eds-typography-header-6xl-tracking-tight:-4.07px;--eds-typography-header-6xl-tracking-normal:0px;--eds-typography-header-6xl-tracking-wide:4.07px;--eds-typography-header-6xl-font-weight-lighter:300;--eds-typography-header-6xl-font-weight-normal:400;--eds-typography-header-6xl-font-weight-bolder:500;--eds-typography-header-6xl-line-height-default:2.5rem;--eds-typography-header-6xl-line-height-squished:2.25rem}
15
+ [data-density=comfortable]{--eds-sizing-icon-xs:.875rem;--eds-sizing-icon-sm:1rem;--eds-sizing-icon-md:1.125rem;--eds-sizing-icon-lg:1.25rem;--eds-sizing-icon-xl:1.5rem;--eds-sizing-icon-2xl:1.75rem;--eds-sizing-icon-3xl:2rem;--eds-sizing-icon-4xl:2.313rem;--eds-sizing-icon-5xl:2.625rem;--eds-sizing-icon-6xl:3rem;--eds-sizing-selectable-xs:1rem;--eds-sizing-selectable-sm:1.25rem;--eds-sizing-selectable-md:1.5rem;--eds-sizing-selectable-lg:2.25rem;--eds-sizing-selectable-xl:2.75rem;--eds-sizing-selectable-2xl:3.25rem;--eds-sizing-stroke-thin:.063rem;--eds-sizing-stroke-thick:.125rem;--eds-sizing-stroke-none:0rem;--eds-spacing-icon-xs-gap-horizontal:.344rem;--eds-spacing-icon-xs-gap-vertical:.344rem;--eds-spacing-icon-sm-gap-horizontal:.406rem;--eds-spacing-icon-sm-gap-vertical:.406rem;--eds-spacing-icon-md-gap-horizontal:.469rem;--eds-spacing-icon-md-gap-vertical:.469rem;--eds-spacing-icon-lg-gap-horizontal:.531rem;--eds-spacing-icon-lg-gap-vertical:.531rem;--eds-spacing-icon-xl-gap-horizontal:.625rem;--eds-spacing-icon-xl-gap-vertical:.625rem;--eds-spacing-icon-2xl-gap-horizontal:.719rem;--eds-spacing-icon-2xl-gap-vertical:.719rem;--eds-spacing-icon-3xl-gap-horizontal:.813rem;--eds-spacing-icon-3xl-gap-vertical:.813rem;--eds-spacing-icon-4xl-gap-horizontal:.938rem;--eds-spacing-icon-4xl-gap-vertical:.938rem;--eds-spacing-icon-5xl-gap-horizontal:1.094rem;--eds-spacing-icon-5xl-gap-vertical:1.094rem;--eds-spacing-icon-6xl-gap-horizontal:1.25rem;--eds-spacing-icon-6xl-gap-vertical:1.25rem;--eds-spacing-border-radius-rounded:.188rem;--eds-spacing-border-radius-pill:62.5rem;--eds-spacing-border-radius-none:0rem;--eds-spacing-inset-xs-horizontal:.375rem;--eds-spacing-inset-xs-vertical-squished:.25rem;--eds-spacing-inset-xs-vertical-squared:.375rem;--eds-spacing-inset-xs-vertical-stretched:.5rem;--eds-spacing-inset-sm-horizontal:.5rem;--eds-spacing-inset-sm-vertical-squished:.375rem;--eds-spacing-inset-sm-vertical-squared:.5rem;--eds-spacing-inset-sm-vertical-stretched:.75rem;--eds-spacing-inset-md-horizontal:.75rem;--eds-spacing-inset-md-vertical-squished:.5rem;--eds-spacing-inset-md-vertical-squared:.75rem;--eds-spacing-inset-md-vertical-stretched:1rem;--eds-spacing-inset-lg-horizontal:1rem;--eds-spacing-inset-lg-vertical-squished:.75rem;--eds-spacing-inset-lg-vertical-squared:1rem;--eds-spacing-inset-lg-vertical-stretched:1.25rem;--eds-spacing-inset-xl-horizontal:1.25rem;--eds-spacing-inset-xl-vertical-squished:1rem;--eds-spacing-inset-xl-vertical-squared:1.25rem;--eds-spacing-inset-xl-vertical-stretched:1.5rem;--eds-spacing-horizontal-4xs:.063rem;--eds-spacing-horizontal-3xs:.125rem;--eds-spacing-horizontal-2xs:.25rem;--eds-spacing-horizontal-xs:.375rem;--eds-spacing-horizontal-sm:.5rem;--eds-spacing-horizontal-md:.75rem;--eds-spacing-horizontal-lg:1rem;--eds-spacing-horizontal-xl:1.25rem;--eds-spacing-horizontal-2xl:1.5rem;--eds-spacing-horizontal-3xl:1.75rem;--eds-spacing-vertical-4xs:.063rem;--eds-spacing-vertical-3xs:.125rem;--eds-spacing-vertical-2xs:.25rem;--eds-spacing-vertical-xs:.375rem;--eds-spacing-vertical-sm:.5rem;--eds-spacing-vertical-md:.75rem;--eds-spacing-vertical-lg:1rem;--eds-spacing-vertical-xl:1.25rem;--eds-spacing-vertical-2xl:1.5rem;--eds-spacing-vertical-3xl:1.75rem;--eds-typography-ui-body-xs-font-size:.563rem;--eds-typography-ui-body-xs-tracking-tight:-.99px;--eds-typography-ui-body-xs-tracking-normal:0px;--eds-typography-ui-body-xs-tracking-wide:.99px;--eds-typography-ui-body-xs-font-weight-lighter:300;--eds-typography-ui-body-xs-font-weight-normal:400;--eds-typography-ui-body-xs-font-weight-bolder:500;--eds-typography-ui-body-xs-line-height-default:.75rem;--eds-typography-ui-body-xs-line-height-squished:.75rem;--eds-typography-ui-body-sm-font-size:.656rem;--eds-typography-ui-body-sm-tracking-tight:-1.15px;--eds-typography-ui-body-sm-tracking-normal:0px;--eds-typography-ui-body-sm-tracking-wide:1.15px;--eds-typography-ui-body-sm-font-weight-lighter:300;--eds-typography-ui-body-sm-font-weight-normal:400;--eds-typography-ui-body-sm-font-weight-bolder:500;--eds-typography-ui-body-sm-line-height-default:1rem;--eds-typography-ui-body-sm-line-height-squished:.75rem;--eds-typography-ui-body-font-family:"Inter";--eds-typography-ui-body-md-font-size:.75rem;--eds-typography-ui-body-md-tracking-tight:-1.32px;--eds-typography-ui-body-md-tracking-normal:0px;--eds-typography-ui-body-md-tracking-wide:1.32px;--eds-typography-ui-body-md-font-weight-lighter:300;--eds-typography-ui-body-md-font-weight-normal:400;--eds-typography-ui-body-md-font-weight-bolder:500;--eds-typography-ui-body-md-line-height-default:1rem;--eds-typography-ui-body-md-line-height-squished:.75rem;--eds-typography-ui-body-lg-font-size:.875rem;--eds-typography-ui-body-lg-tracking-tight:-1.54px;--eds-typography-ui-body-lg-tracking-normal:0px;--eds-typography-ui-body-lg-tracking-wide:1.54px;--eds-typography-ui-body-lg-font-weight-lighter:300;--eds-typography-ui-body-lg-font-weight-normal:400;--eds-typography-ui-body-lg-font-weight-bolder:500;--eds-typography-ui-body-lg-line-height-default:1.25rem;--eds-typography-ui-body-lg-line-height-squished:1rem;--eds-typography-ui-body-xl-font-size:1rem;--eds-typography-ui-body-xl-tracking-tight:-1.76px;--eds-typography-ui-body-xl-tracking-normal:0px;--eds-typography-ui-body-xl-tracking-wide:1.76px;--eds-typography-ui-body-xl-font-weight-lighter:300;--eds-typography-ui-body-xl-font-weight-normal:400;--eds-typography-ui-body-xl-font-weight-bolder:500;--eds-typography-ui-body-xl-line-height-default:1.5rem;--eds-typography-ui-body-xl-line-height-squished:1.25rem;--eds-typography-ui-body-2xl-font-size:1.156rem;--eds-typography-ui-body-2xl-tracking-tight:-1.76px;--eds-typography-ui-body-2xl-tracking-normal:0px;--eds-typography-ui-body-2xl-tracking-wide:2.035px;--eds-typography-ui-body-2xl-font-weight-lighter:300;--eds-typography-ui-body-2xl-font-weight-normal:400;--eds-typography-ui-body-2xl-font-weight-bolder:500;--eds-typography-ui-body-2xl-line-height-default:1.5rem;--eds-typography-ui-body-2xl-line-height-squished:1.25rem;--eds-typography-ui-body-3xl-font-size:1.313rem;--eds-typography-ui-body-3xl-tracking-tight:-2.31px;--eds-typography-ui-body-3xl-tracking-normal:0px;--eds-typography-ui-body-3xl-tracking-wide:2.31px;--eds-typography-ui-body-3xl-font-weight-lighter:300;--eds-typography-ui-body-3xl-font-weight-normal:400;--eds-typography-ui-body-3xl-font-weight-bolder:500;--eds-typography-ui-body-3xl-line-height-default:1.75rem;--eds-typography-ui-body-3xl-line-height-squished:1.5rem;--eds-typography-ui-body-4xl-font-size:1.531rem;--eds-typography-ui-body-4xl-tracking-tight:-2.695px;--eds-typography-ui-body-4xl-tracking-normal:0px;--eds-typography-ui-body-4xl-tracking-wide:2.695px;--eds-typography-ui-body-4xl-font-weight-lighter:300;--eds-typography-ui-body-4xl-font-weight-normal:400;--eds-typography-ui-body-4xl-font-weight-bolder:500;--eds-typography-ui-body-4xl-line-height-default:2rem;--eds-typography-ui-body-4xl-line-height-squished:1.75rem;--eds-typography-ui-body-5xl-font-size:1.75rem;--eds-typography-ui-body-5xl-tracking-tight:-3.08px;--eds-typography-ui-body-5xl-tracking-normal:0px;--eds-typography-ui-body-5xl-tracking-wide:3.08px;--eds-typography-ui-body-5xl-font-weight-lighter:300;--eds-typography-ui-body-5xl-font-weight-normal:400;--eds-typography-ui-body-5xl-font-weight-bolder:500;--eds-typography-ui-body-5xl-line-height-default:2rem;--eds-typography-ui-body-5xl-line-height-squished:1.75rem;--eds-typography-ui-body-6xl-font-size:2rem;--eds-typography-ui-body-6xl-tracking-tight:-3.52px;--eds-typography-ui-body-6xl-tracking-normal:0px;--eds-typography-ui-body-6xl-tracking-wide:3.52px;--eds-typography-ui-body-6xl-font-weight-lighter:300;--eds-typography-ui-body-6xl-font-weight-normal:0px;--eds-typography-ui-body-6xl-font-weight-bolder:500;--eds-typography-ui-body-6xl-line-height-default:2.25rem;--eds-typography-ui-body-6xl-line-height-squished:2rem;--eds-typography-header-font-family:"Equinor";--eds-typography-header-xs-font-size:.656rem;--eds-typography-header-xs-tracking-tight:-.99px;--eds-typography-header-xs-tracking-normal:0px;--eds-typography-header-xs-tracking-wide:.99px;--eds-typography-header-xs-font-weight-lighter:300;--eds-typography-header-xs-font-weight-normal:400;--eds-typography-header-xs-font-weight-bolder:500;--eds-typography-header-xs-line-height-default:.75rem;--eds-typography-header-xs-line-height-squished:.75rem;--eds-typography-header-sm-font-size:.75rem;--eds-typography-header-sm-tracking-tight:-1.15px;--eds-typography-header-sm-tracking-normal:0px;--eds-typography-header-sm-tracking-wide:1.15px;--eds-typography-header-sm-font-weight-lighter:300;--eds-typography-header-sm-font-weight-normal:400;--eds-typography-header-sm-font-weight-bolder:500;--eds-typography-header-sm-line-height-default:1rem;--eds-typography-header-sm-line-height-squished:.75rem;--eds-typography-header-md-font-size:.875rem;--eds-typography-header-md-tracking-tight:-1.32px;--eds-typography-header-md-tracking-normal:0px;--eds-typography-header-md-tracking-wide:1.32px;--eds-typography-header-md-font-weight-lighter:300;--eds-typography-header-md-font-weight-normal:400;--eds-typography-header-md-font-weight-bolder:500;--eds-typography-header-md-line-height-default:1rem;--eds-typography-header-md-line-height-squished:.75rem;--eds-typography-header-lg-font-size:1rem;--eds-typography-header-lg-tracking-tight:-1.54px;--eds-typography-header-lg-tracking-normal:0px;--eds-typography-header-lg-tracking-wide:1.54px;--eds-typography-header-lg-font-weight-lighter:300;--eds-typography-header-lg-font-weight-normal:400;--eds-typography-header-lg-font-weight-bolder:500;--eds-typography-header-lg-line-height-default:1.25rem;--eds-typography-header-lg-line-height-squished:1rem;--eds-typography-header-xl-font-size:1.125rem;--eds-typography-header-xl-tracking-tight:-1.76px;--eds-typography-header-xl-tracking-normal:0px;--eds-typography-header-xl-tracking-wide:1.76px;--eds-typography-header-xl-font-weight-lighter:300;--eds-typography-header-xl-font-weight-normal:400;--eds-typography-header-xl-font-weight-bolder:500;--eds-typography-header-xl-line-height-default:1.5rem;--eds-typography-header-xl-line-height-squished:1.25rem;--eds-typography-header-2xl-font-size:1.313rem;--eds-typography-header-2xl-tracking-tight:-1.76px;--eds-typography-header-2xl-tracking-normal:0px;--eds-typography-header-2xl-tracking-wide:2.035px;--eds-typography-header-2xl-font-weight-lighter:300;--eds-typography-header-2xl-font-weight-normal:400;--eds-typography-header-2xl-font-weight-bolder:500;--eds-typography-header-2xl-line-height-default:1.5rem;--eds-typography-header-2xl-line-height-squished:1.25rem;--eds-typography-header-3xl-font-size:1.5rem;--eds-typography-header-3xl-tracking-tight:-2.31px;--eds-typography-header-3xl-tracking-normal:0px;--eds-typography-header-3xl-tracking-wide:2.31px;--eds-typography-header-3xl-font-weight-lighter:300;--eds-typography-header-3xl-font-weight-normal:400;--eds-typography-header-3xl-font-weight-bolder:500;--eds-typography-header-3xl-line-height-default:1.75rem;--eds-typography-header-3xl-line-height-squished:1.5rem;--eds-typography-header-4xl-font-size:1.719rem;--eds-typography-header-4xl-tracking-tight:-2.695px;--eds-typography-header-4xl-tracking-normal:0px;--eds-typography-header-4xl-tracking-wide:2.695px;--eds-typography-header-4xl-font-weight-lighter:300;--eds-typography-header-4xl-font-weight-normal:400;--eds-typography-header-4xl-font-weight-bolder:500;--eds-typography-header-4xl-line-height-default:2rem;--eds-typography-header-4xl-line-height-squished:1.75rem;--eds-typography-header-5xl-font-size:1.969rem;--eds-typography-header-5xl-tracking-tight:-3.08px;--eds-typography-header-5xl-tracking-normal:0px;--eds-typography-header-5xl-tracking-wide:3.08px;--eds-typography-header-5xl-font-weight-lighter:300;--eds-typography-header-5xl-font-weight-normal:400;--eds-typography-header-5xl-font-weight-bolder:500;--eds-typography-header-5xl-line-height-default:2rem;--eds-typography-header-5xl-line-height-squished:1.75rem;--eds-typography-header-6xl-font-size:2.281rem;--eds-typography-header-6xl-tracking-tight:-3.52px;--eds-typography-header-6xl-tracking-normal:0px;--eds-typography-header-6xl-tracking-wide:3.52px;--eds-typography-header-6xl-font-weight-lighter:300;--eds-typography-header-6xl-font-weight-normal:400;--eds-typography-header-6xl-font-weight-bolder:500;--eds-typography-header-6xl-line-height-default:2.25rem;--eds-typography-header-6xl-line-height-squished:2rem}
16
+ [data-space-proportions=squished]{--eds-spacing-proportions-xs-horizontal:var(--eds-spacing-inset-xs-horizontal);--eds-spacing-proportions-xs-vertical:var(--eds-spacing-inset-xs-vertical-squished);--eds-spacing-proportions-sm-horizontal:var(--eds-spacing-inset-sm-horizontal);--eds-spacing-proportions-sm-vertical:var(--eds-spacing-inset-sm-vertical-squished);--eds-spacing-proportions-md-horizontal:var(--eds-spacing-inset-md-horizontal);--eds-spacing-proportions-md-vertical:var(--eds-spacing-inset-md-vertical-squished);--eds-spacing-proportions-lg-horizontal:var(--eds-spacing-inset-lg-horizontal);--eds-spacing-proportions-lg-vertical:var(--eds-spacing-inset-lg-vertical-squished);--eds-spacing-proportions-xl-horizontal:var(--eds-spacing-inset-xl-horizontal);--eds-spacing-proportions-xl-vertical:var(--eds-spacing-inset-xl-vertical-squished)}
17
+ :root,[data-space-proportions=squared]{--eds-spacing-proportions-xs-horizontal:var(--eds-spacing-inset-xs-horizontal);--eds-spacing-proportions-xs-vertical:var(--eds-spacing-inset-xs-vertical-squared);--eds-spacing-proportions-sm-horizontal:var(--eds-spacing-inset-sm-horizontal);--eds-spacing-proportions-sm-vertical:var(--eds-spacing-inset-sm-vertical-squared);--eds-spacing-proportions-md-horizontal:var(--eds-spacing-inset-md-horizontal);--eds-spacing-proportions-md-vertical:var(--eds-spacing-inset-md-vertical-squared);--eds-spacing-proportions-lg-horizontal:var(--eds-spacing-inset-lg-horizontal);--eds-spacing-proportions-lg-vertical:var(--eds-spacing-inset-lg-vertical-squared);--eds-spacing-proportions-xl-horizontal:var(--eds-spacing-inset-xl-horizontal);--eds-spacing-proportions-xl-vertical:var(--eds-spacing-inset-xl-vertical-squared)}
18
+ [data-space-proportions=stretched]{--eds-spacing-proportions-xs-horizontal:var(--eds-spacing-inset-xs-horizontal);--eds-spacing-proportions-xs-vertical:var(--eds-spacing-inset-xs-vertical-stretched);--eds-spacing-proportions-sm-horizontal:var(--eds-spacing-inset-sm-horizontal);--eds-spacing-proportions-sm-vertical:var(--eds-spacing-inset-sm-vertical-stretched);--eds-spacing-proportions-md-horizontal:var(--eds-spacing-inset-md-horizontal);--eds-spacing-proportions-md-vertical:var(--eds-spacing-inset-md-vertical-stretched);--eds-spacing-proportions-lg-horizontal:var(--eds-spacing-inset-lg-horizontal);--eds-spacing-proportions-lg-vertical:var(--eds-spacing-inset-lg-vertical-stretched);--eds-spacing-proportions-xl-horizontal:var(--eds-spacing-inset-xl-horizontal);--eds-spacing-proportions-xl-vertical:var(--eds-spacing-inset-xl-vertical-stretched)}
19
+ :root,[data-selectable-space=xs]{--eds-selectable-space-horizontal:var(--eds-spacing-proportions-xs-horizontal);--eds-selectable-space-vertical:var(--eds-spacing-proportions-xs-vertical)}
20
+ [data-selectable-space=sm]{--eds-selectable-space-horizontal:var(--eds-spacing-proportions-sm-horizontal);--eds-selectable-space-vertical:var(--eds-spacing-proportions-sm-vertical)}
21
+ [data-selectable-space=md]{--eds-selectable-space-horizontal:var(--eds-spacing-proportions-md-horizontal);--eds-selectable-space-vertical:var(--eds-spacing-proportions-md-vertical)}
22
+ [data-selectable-space=lg]{--eds-selectable-space-horizontal:var(--eds-spacing-proportions-lg-horizontal);--eds-selectable-space-vertical:var(--eds-spacing-proportions-lg-vertical)}
23
+ [data-selectable-space=xl]{--eds-selectable-space-horizontal:var(--eds-spacing-proportions-xl-horizontal);--eds-selectable-space-vertical:var(--eds-spacing-proportions-xl-vertical)}
24
+ [data-horizontal-gap=none]{--eds-generic-gap-horizontal:0}
25
+ [data-horizontal-gap="4xs"]{--eds-generic-gap-horizontal:var(--eds-spacing-horizontal-4xs)}
26
+ [data-horizontal-gap="3xs"]{--eds-generic-gap-horizontal:var(--eds-spacing-horizontal-3xs)}
27
+ [data-horizontal-gap="2xs"]{--eds-generic-gap-horizontal:var(--eds-spacing-horizontal-2xs)}
28
+ :root,[data-horizontal-gap=xs]{--eds-generic-gap-horizontal:var(--eds-spacing-horizontal-xs)}
29
+ [data-horizontal-gap=sm]{--eds-generic-gap-horizontal:var(--eds-spacing-horizontal-sm)}
30
+ [data-horizontal-gap=md]{--eds-generic-gap-horizontal:var(--eds-spacing-horizontal-md)}
31
+ [data-horizontal-gap=lg]{--eds-generic-gap-horizontal:var(--eds-spacing-horizontal-lg)}
32
+ [data-horizontal-gap=xl]{--eds-generic-gap-horizontal:var(--eds-spacing-horizontal-xl)}
33
+ [data-horizontal-gap="2xl"]{--eds-generic-gap-horizontal:var(--eds-spacing-horizontal-2xl)}
34
+ [data-horizontal-gap="3xl"]{--eds-generic-gap-horizontal:var(--eds-spacing-horizontal-3xl)}
35
+ [data-vertical-gap=none]{--eds-generic-gap-vertical:0}
36
+ [data-vertical-gap="4xs"]{--eds-generic-gap-vertical:var(--eds-spacing-vertical-4xs)}
37
+ [data-vertical-gap="3xs"]{--eds-generic-gap-vertical:var(--eds-spacing-vertical-3xs)}
38
+ [data-vertical-gap="2xs"]{--eds-generic-gap-vertical:var(--eds-spacing-vertical-2xs)}
39
+ :root,[data-vertical-gap=xs]{--eds-generic-gap-vertical:var(--eds-spacing-vertical-xs)}
40
+ [data-vertical-gap=sm]{--eds-generic-gap-vertical:var(--eds-spacing-vertical-sm)}
41
+ [data-vertical-gap=md]{--eds-generic-gap-vertical:var(--eds-spacing-vertical-md)}
42
+ [data-vertical-gap=lg]{--eds-generic-gap-vertical:var(--eds-spacing-vertical-lg)}
43
+ [data-vertical-gap=xl]{--eds-generic-gap-vertical:var(--eds-spacing-vertical-xl)}
44
+ [data-vertical-gap="2xl"]{--eds-generic-gap-vertical:var(--eds-spacing-vertical-2xl)}
45
+ [data-vertical-gap="3xl"]{--eds-generic-gap-vertical:var(--eds-spacing-vertical-3xl)}
46
+ [data-horizontal-space=none]{--eds-generic-space-horizontal:0}
47
+ [data-horizontal-space="4xs"]{--eds-generic-space-horizontal:var(--eds-spacing-horizontal-4xs)}
48
+ [data-horizontal-space="3xs"]{--eds-generic-space-horizontal:var(--eds-spacing-horizontal-3xs)}
49
+ [data-horizontal-space="2xs"]{--eds-generic-space-horizontal:var(--eds-spacing-horizontal-2xs)}
50
+ :root,[data-horizontal-space=xs]{--eds-generic-space-horizontal:var(--eds-spacing-horizontal-xs)}
51
+ [data-horizontal-space=sm]{--eds-generic-space-horizontal:var(--eds-spacing-horizontal-sm)}
52
+ [data-horizontal-space=md]{--eds-generic-space-horizontal:var(--eds-spacing-horizontal-md)}
53
+ [data-horizontal-space=lg]{--eds-generic-space-horizontal:var(--eds-spacing-horizontal-lg)}
54
+ [data-horizontal-space=xl]{--eds-generic-space-horizontal:var(--eds-spacing-horizontal-xl)}
55
+ [data-horizontal-space="2xl"]{--eds-generic-space-horizontal:var(--eds-spacing-horizontal-2xl)}
56
+ [data-horizontal-space="3xl"]{--eds-generic-space-horizontal:var(--eds-spacing-horizontal-3xl)}
57
+ [data-vertical-space=none]{--eds-generic-space-vertical:0}
58
+ [data-vertical-space="4xs"]{--eds-generic-space-vertical:var(--eds-spacing-vertical-4xs)}
59
+ [data-vertical-space="3xs"]{--eds-generic-space-vertical:var(--eds-spacing-vertical-3xs)}
60
+ [data-vertical-space="2xs"]{--eds-generic-space-vertical:var(--eds-spacing-vertical-2xs)}
61
+ :root,[data-vertical-space=xs]{--eds-generic-space-vertical:var(--eds-spacing-vertical-xs)}
62
+ [data-vertical-space=sm]{--eds-generic-space-vertical:var(--eds-spacing-vertical-sm)}
63
+ [data-vertical-space=md]{--eds-generic-space-vertical:var(--eds-spacing-vertical-md)}
64
+ [data-vertical-space=lg]{--eds-generic-space-vertical:var(--eds-spacing-vertical-lg)}
65
+ [data-vertical-space=xl]{--eds-generic-space-vertical:var(--eds-spacing-vertical-xl)}
66
+ [data-vertical-space="2xl"]{--eds-generic-space-vertical:var(--eds-spacing-vertical-2xl)}
67
+ [data-vertical-space="3xl"]{--eds-generic-space-vertical:var(--eds-spacing-vertical-3xl)}
68
+ :root,[data-space-proportions]{--eds-container-space-horizontal:var(--eds-spacing-proportions-md-horizontal);--eds-container-space-vertical:var(--eds-spacing-proportions-md-vertical);--eds-page-space-horizontal:var(--eds-spacing-proportions-xl-horizontal);--eds-page-space-vertical:var(--eds-spacing-proportions-xl-vertical)}
69
+ :root{--eds-selectable-gap-horizontal:var(--eds-spacing-horizontal-xs);--eds-selectable-gap-vertical:var(--eds-spacing-vertical-xs);--eds-container-gap-horizontal:var(--eds-spacing-horizontal-md);--eds-container-gap-vertical:var(--eds-spacing-vertical-md);--eds-page-gap-horizontal:var(--eds-spacing-horizontal-xl);--eds-page-gap-vertical:var(--eds-spacing-vertical-xl)}
70
+ @property --eds-typography-font-size{syntax:"<length>";inherits:true;initial-value:16px}
71
+ [data-font-family]{font-family:var(--eds-typography-font-family);font-size:var(--eds-typography-font-size);font-weight:var(--eds-typography-font-weight);line-height:var(--eds-typography-line-height);letter-spacing:var(--eds-typography-tracking);margin:0;display:block}
72
+ @supports (text-box:trim-both cap alphabetic){[data-baseline=grid]{text-box:trim-both ex alphabetic;padding-top:calc(round(1cap,4px) - 1ex);padding-bottom:0}[data-baseline=center]{text-box:trim-both ex alphabetic;padding-top:calc(round(1cap,4px)/2 + .5cap - 1ex);padding-bottom:calc(round(1cap,4px)/2 - .5cap)}}
73
+ [data-font-family=header]{--eds-typography-font-family:var(--eds-typography-header-font-family);--eds-font-family-size-xs-font-size:var(--eds-typography-header-xs-font-size);--eds-font-family-size-xs-tracking-tight:var(--eds-typography-header-xs-tracking-tight);--eds-font-family-size-xs-tracking-normal:var(--eds-typography-header-xs-tracking-normal);--eds-font-family-size-xs-tracking-wide:var(--eds-typography-header-xs-tracking-wide);--eds-font-family-size-xs-font-weight-lighter:var(--eds-typography-header-xs-font-weight-lighter);--eds-font-family-size-xs-font-weight-normal:var(--eds-typography-header-xs-font-weight-normal);--eds-font-family-size-xs-font-weight-bolder:var(--eds-typography-header-xs-font-weight-bolder);--eds-font-family-size-sm-font-size:var(--eds-typography-header-sm-font-size);--eds-font-family-size-sm-tracking-tight:var(--eds-typography-header-sm-tracking-tight);--eds-font-family-size-sm-tracking-normal:var(--eds-typography-header-sm-tracking-normal);--eds-font-family-size-sm-tracking-wide:var(--eds-typography-header-sm-tracking-wide);--eds-font-family-size-sm-font-weight-lighter:var(--eds-typography-header-sm-font-weight-lighter);--eds-font-family-size-sm-font-weight-normal:var(--eds-typography-header-sm-font-weight-normal);--eds-font-family-size-sm-font-weight-bolder:var(--eds-typography-header-sm-font-weight-bolder);--eds-font-family-size-md-font-size:var(--eds-typography-header-md-font-size);--eds-font-family-size-md-tracking-tight:var(--eds-typography-header-md-tracking-tight);--eds-font-family-size-md-tracking-normal:var(--eds-typography-header-md-tracking-normal);--eds-font-family-size-md-tracking-wide:var(--eds-typography-header-md-tracking-wide);--eds-font-family-size-md-font-weight-lighter:var(--eds-typography-header-md-font-weight-lighter);--eds-font-family-size-md-font-weight-normal:var(--eds-typography-header-md-font-weight-normal);--eds-font-family-size-md-font-weight-bolder:var(--eds-typography-header-md-font-weight-bolder);--eds-font-family-size-lg-font-size:var(--eds-typography-header-lg-font-size);--eds-font-family-size-lg-tracking-tight:var(--eds-typography-header-lg-tracking-tight);--eds-font-family-size-lg-tracking-normal:var(--eds-typography-header-lg-tracking-normal);--eds-font-family-size-lg-tracking-wide:var(--eds-typography-header-lg-tracking-wide);--eds-font-family-size-lg-font-weight-lighter:var(--eds-typography-header-lg-font-weight-lighter);--eds-font-family-size-lg-font-weight-normal:var(--eds-typography-header-lg-font-weight-normal);--eds-font-family-size-lg-font-weight-bolder:var(--eds-typography-header-lg-font-weight-bolder);--eds-font-family-size-xl-font-size:var(--eds-typography-header-xl-font-size);--eds-font-family-size-xl-tracking-tight:var(--eds-typography-header-xl-tracking-tight);--eds-font-family-size-xl-tracking-normal:var(--eds-typography-header-xl-tracking-normal);--eds-font-family-size-xl-tracking-wide:var(--eds-typography-header-xl-tracking-wide);--eds-font-family-size-xl-font-weight-lighter:var(--eds-typography-header-xl-font-weight-lighter);--eds-font-family-size-xl-font-weight-normal:var(--eds-typography-header-xl-font-weight-normal);--eds-font-family-size-xl-font-weight-bolder:var(--eds-typography-header-xl-font-weight-bolder);--eds-font-family-size-2xl-font-size:var(--eds-typography-header-2xl-font-size);--eds-font-family-size-2xl-tracking-tight:var(--eds-typography-header-2xl-tracking-tight);--eds-font-family-size-2xl-tracking-normal:var(--eds-typography-header-2xl-tracking-normal);--eds-font-family-size-2xl-tracking-wide:var(--eds-typography-header-2xl-tracking-wide);--eds-font-family-size-2xl-font-weight-lighter:var(--eds-typography-header-2xl-font-weight-lighter);--eds-font-family-size-2xl-font-weight-normal:var(--eds-typography-header-2xl-font-weight-normal);--eds-font-family-size-2xl-font-weight-bolder:var(--eds-typography-header-2xl-font-weight-bolder);--eds-font-family-size-3xl-font-size:var(--eds-typography-header-3xl-font-size);--eds-font-family-size-3xl-tracking-tight:var(--eds-typography-header-3xl-tracking-tight);--eds-font-family-size-3xl-tracking-normal:var(--eds-typography-header-3xl-tracking-normal);--eds-font-family-size-3xl-tracking-wide:var(--eds-typography-header-3xl-tracking-wide);--eds-font-family-size-3xl-font-weight-lighter:var(--eds-typography-header-3xl-font-weight-lighter);--eds-font-family-size-3xl-font-weight-normal:var(--eds-typography-header-3xl-font-weight-normal);--eds-font-family-size-3xl-font-weight-bolder:var(--eds-typography-header-3xl-font-weight-bolder);--eds-font-family-size-4xl-font-size:var(--eds-typography-header-4xl-font-size);--eds-font-family-size-4xl-tracking-tight:var(--eds-typography-header-4xl-tracking-tight);--eds-font-family-size-4xl-tracking-normal:var(--eds-typography-header-4xl-tracking-normal);--eds-font-family-size-4xl-tracking-wide:var(--eds-typography-header-4xl-tracking-wide);--eds-font-family-size-4xl-font-weight-lighter:var(--eds-typography-header-4xl-font-weight-lighter);--eds-font-family-size-4xl-font-weight-normal:var(--eds-typography-header-4xl-font-weight-normal);--eds-font-family-size-4xl-font-weight-bolder:var(--eds-typography-header-4xl-font-weight-bolder);--eds-font-family-size-5xl-font-size:var(--eds-typography-header-5xl-font-size);--eds-font-family-size-5xl-tracking-tight:var(--eds-typography-header-5xl-tracking-tight);--eds-font-family-size-5xl-tracking-normal:var(--eds-typography-header-5xl-tracking-normal);--eds-font-family-size-5xl-tracking-wide:var(--eds-typography-header-5xl-tracking-wide);--eds-font-family-size-5xl-font-weight-lighter:var(--eds-typography-header-5xl-font-weight-lighter);--eds-font-family-size-5xl-font-weight-normal:var(--eds-typography-header-5xl-font-weight-normal);--eds-font-family-size-5xl-font-weight-bolder:var(--eds-typography-header-5xl-font-weight-bolder);--eds-font-family-size-6xl-font-size:var(--eds-typography-header-6xl-font-size);--eds-font-family-size-6xl-tracking-tight:var(--eds-typography-header-6xl-tracking-tight);--eds-font-family-size-6xl-tracking-normal:var(--eds-typography-header-6xl-tracking-normal);--eds-font-family-size-6xl-tracking-wide:var(--eds-typography-header-6xl-tracking-wide);--eds-font-family-size-6xl-font-weight-lighter:var(--eds-typography-header-6xl-font-weight-lighter);--eds-font-family-size-6xl-font-weight-normal:var(--eds-typography-header-6xl-font-weight-normal);--eds-font-family-size-6xl-font-weight-bolder:var(--eds-typography-header-6xl-font-weight-bolder);--eds-font-family-size-xs-line-height-default:var(--eds-typography-header-xs-line-height-default);--eds-font-family-size-xs-line-height-squished:var(--eds-typography-header-xs-line-height-squished);--eds-font-family-size-sm-line-height-default:var(--eds-typography-header-sm-line-height-default);--eds-font-family-size-sm-line-height-squished:var(--eds-typography-header-sm-line-height-squished);--eds-font-family-size-md-line-height-default:var(--eds-typography-header-md-line-height-default);--eds-font-family-size-md-line-height-squished:var(--eds-typography-header-md-line-height-squished);--eds-font-family-size-lg-line-height-default:var(--eds-typography-header-lg-line-height-default);--eds-font-family-size-lg-line-height-squished:var(--eds-typography-header-lg-line-height-squished);--eds-font-family-size-xl-line-height-default:var(--eds-typography-header-xl-line-height-default);--eds-font-family-size-xl-line-height-squished:var(--eds-typography-header-xl-line-height-squished);--eds-font-family-size-2xl-line-height-default:var(--eds-typography-header-2xl-line-height-default);--eds-font-family-size-2xl-line-height-squished:var(--eds-typography-header-2xl-line-height-squished);--eds-font-family-size-3xl-line-height-default:var(--eds-typography-header-3xl-line-height-default);--eds-font-family-size-3xl-line-height-squished:var(--eds-typography-header-3xl-line-height-default);--eds-font-family-size-4xl-line-height-default:var(--eds-typography-header-4xl-line-height-default);--eds-font-family-size-4xl-line-height-squished:var(--eds-typography-header-4xl-line-height-squished);--eds-font-family-size-5xl-line-height-default:var(--eds-typography-header-5xl-line-height-default);--eds-font-family-size-5xl-line-height-squished:var(--eds-typography-header-5xl-line-height-squished);--eds-font-family-size-6xl-line-height-default:var(--eds-typography-header-6xl-line-height-default);--eds-font-family-size-6xl-line-height-squished:var(--eds-typography-header-6xl-line-height-squished)}
74
+ [data-font-family=ui]{--eds-typography-font-family:var(--eds-typography-ui-body-font-family);--eds-font-family-size-xs-font-size:var(--eds-typography-ui-body-xs-font-size);--eds-font-family-size-xs-tracking-tight:var(--eds-typography-ui-body-xs-tracking-tight);--eds-font-family-size-xs-tracking-normal:var(--eds-typography-ui-body-xs-tracking-normal);--eds-font-family-size-xs-tracking-wide:var(--eds-typography-ui-body-xs-tracking-wide);--eds-font-family-size-xs-font-weight-lighter:var(--eds-typography-ui-body-xs-font-weight-lighter);--eds-font-family-size-xs-font-weight-normal:var(--eds-typography-ui-body-xs-font-weight-normal);--eds-font-family-size-xs-font-weight-bolder:var(--eds-typography-ui-body-xs-font-weight-bolder);--eds-font-family-size-sm-font-size:var(--eds-typography-ui-body-sm-font-size);--eds-font-family-size-sm-tracking-tight:var(--eds-typography-ui-body-sm-tracking-tight);--eds-font-family-size-sm-tracking-normal:var(--eds-typography-ui-body-sm-tracking-normal);--eds-font-family-size-sm-tracking-wide:var(--eds-typography-ui-body-sm-tracking-wide);--eds-font-family-size-sm-font-weight-lighter:var(--eds-typography-ui-body-sm-font-weight-lighter);--eds-font-family-size-sm-font-weight-normal:var(--eds-typography-ui-body-sm-font-weight-normal);--eds-font-family-size-sm-font-weight-bolder:var(--eds-typography-ui-body-sm-font-weight-bolder);--eds-font-family-size-md-font-size:var(--eds-typography-ui-body-md-font-size);--eds-font-family-size-md-tracking-tight:var(--eds-typography-ui-body-md-tracking-tight);--eds-font-family-size-md-tracking-normal:var(--eds-typography-ui-body-md-tracking-normal);--eds-font-family-size-md-tracking-wide:var(--eds-typography-ui-body-md-tracking-wide);--eds-font-family-size-md-font-weight-lighter:var(--eds-typography-ui-body-md-font-weight-lighter);--eds-font-family-size-md-font-weight-normal:var(--eds-typography-ui-body-md-font-weight-normal);--eds-font-family-size-md-font-weight-bolder:var(--eds-typography-ui-body-md-font-weight-bolder);--eds-font-family-size-lg-font-size:var(--eds-typography-ui-body-lg-font-size);--eds-font-family-size-lg-tracking-tight:var(--eds-typography-ui-body-lg-tracking-tight);--eds-font-family-size-lg-tracking-normal:var(--eds-typography-ui-body-lg-tracking-normal);--eds-font-family-size-lg-tracking-wide:var(--eds-typography-ui-body-lg-tracking-wide);--eds-font-family-size-lg-font-weight-lighter:var(--eds-typography-ui-body-lg-font-weight-lighter);--eds-font-family-size-lg-font-weight-normal:var(--eds-typography-ui-body-lg-font-weight-normal);--eds-font-family-size-lg-font-weight-bolder:var(--eds-typography-ui-body-lg-font-weight-bolder);--eds-font-family-size-xl-font-size:var(--eds-typography-ui-body-xl-font-size);--eds-font-family-size-xl-tracking-tight:var(--eds-typography-ui-body-xl-tracking-tight);--eds-font-family-size-xl-tracking-normal:var(--eds-typography-ui-body-xl-tracking-normal);--eds-font-family-size-xl-tracking-wide:var(--eds-typography-ui-body-xl-tracking-wide);--eds-font-family-size-xl-font-weight-lighter:var(--eds-typography-ui-body-xl-font-weight-lighter);--eds-font-family-size-xl-font-weight-normal:var(--eds-typography-ui-body-xl-font-weight-normal);--eds-font-family-size-xl-font-weight-bolder:var(--eds-typography-ui-body-xl-font-weight-bolder);--eds-font-family-size-2xl-font-size:var(--eds-typography-ui-body-2xl-font-size);--eds-font-family-size-2xl-tracking-tight:var(--eds-typography-ui-body-2xl-tracking-tight);--eds-font-family-size-2xl-tracking-normal:var(--eds-typography-ui-body-2xl-tracking-normal);--eds-font-family-size-2xl-tracking-wide:var(--eds-typography-ui-body-2xl-tracking-wide);--eds-font-family-size-2xl-font-weight-lighter:var(--eds-typography-ui-body-2xl-font-weight-lighter);--eds-font-family-size-2xl-font-weight-normal:var(--eds-typography-ui-body-2xl-font-weight-normal);--eds-font-family-size-2xl-font-weight-bolder:var(--eds-typography-ui-body-2xl-font-weight-bolder);--eds-font-family-size-3xl-font-size:var(--eds-typography-ui-body-3xl-font-size);--eds-font-family-size-3xl-tracking-tight:var(--eds-typography-ui-body-3xl-tracking-tight);--eds-font-family-size-3xl-tracking-normal:var(--eds-typography-ui-body-3xl-tracking-normal);--eds-font-family-size-3xl-tracking-wide:var(--eds-typography-ui-body-3xl-tracking-wide);--eds-font-family-size-3xl-font-weight-lighter:var(--eds-typography-ui-body-3xl-font-weight-lighter);--eds-font-family-size-3xl-font-weight-normal:var(--eds-typography-ui-body-3xl-font-weight-normal);--eds-font-family-size-3xl-font-weight-bolder:var(--eds-typography-ui-body-3xl-font-weight-bolder);--eds-font-family-size-4xl-font-size:var(--eds-typography-ui-body-4xl-font-size);--eds-font-family-size-4xl-tracking-tight:var(--eds-typography-ui-body-4xl-tracking-tight);--eds-font-family-size-4xl-tracking-normal:var(--eds-typography-ui-body-4xl-tracking-normal);--eds-font-family-size-4xl-tracking-wide:var(--eds-typography-ui-body-4xl-tracking-wide);--eds-font-family-size-4xl-font-weight-lighter:var(--eds-typography-ui-body-4xl-font-weight-lighter);--eds-font-family-size-4xl-font-weight-normal:var(--eds-typography-ui-body-4xl-font-weight-normal);--eds-font-family-size-4xl-font-weight-bolder:var(--eds-typography-ui-body-4xl-font-weight-bolder);--eds-font-family-size-5xl-font-size:var(--eds-typography-ui-body-5xl-font-size);--eds-font-family-size-5xl-tracking-tight:var(--eds-typography-ui-body-5xl-tracking-tight);--eds-font-family-size-5xl-tracking-normal:var(--eds-typography-ui-body-5xl-tracking-normal);--eds-font-family-size-5xl-tracking-wide:var(--eds-typography-ui-body-5xl-font-weight-lighter);--eds-font-family-size-5xl-font-weight-lighter:var(--eds-typography-ui-body-5xl-font-weight-lighter);--eds-font-family-size-5xl-font-weight-normal:var(--eds-typography-ui-body-5xl-font-weight-normal);--eds-font-family-size-5xl-font-weight-bolder:var(--eds-typography-ui-body-5xl-font-weight-bolder);--eds-font-family-size-6xl-font-size:var(--eds-typography-ui-body-6xl-font-size);--eds-font-family-size-6xl-tracking-tight:var(--eds-typography-ui-body-6xl-tracking-tight);--eds-font-family-size-6xl-tracking-normal:var(--eds-typography-ui-body-6xl-tracking-normal);--eds-font-family-size-6xl-tracking-wide:var(--eds-typography-ui-body-6xl-tracking-wide);--eds-font-family-size-6xl-font-weight-lighter:var(--eds-typography-ui-body-6xl-font-weight-lighter);--eds-font-family-size-6xl-font-weight-normal:var(--eds-typography-ui-body-6xl-font-weight-normal);--eds-font-family-size-6xl-font-weight-bolder:var(--eds-typography-ui-body-6xl-font-weight-bolder);--eds-font-family-size-xs-line-height-default:var(--eds-typography-ui-body-xs-line-height-default);--eds-font-family-size-xs-line-height-squished:var(--eds-typography-ui-body-xs-line-height-squished);--eds-font-family-size-sm-line-height-default:var(--eds-typography-ui-body-sm-line-height-default);--eds-font-family-size-sm-line-height-squished:var(--eds-typography-ui-body-sm-line-height-squished);--eds-font-family-size-md-line-height-default:var(--eds-typography-ui-body-md-line-height-default);--eds-font-family-size-md-line-height-squished:var(--eds-typography-ui-body-md-line-height-squished);--eds-font-family-size-lg-line-height-default:var(--eds-typography-ui-body-lg-line-height-default);--eds-font-family-size-lg-line-height-squished:var(--eds-typography-ui-body-lg-line-height-squished);--eds-font-family-size-xl-line-height-default:var(--eds-typography-ui-body-xl-line-height-default);--eds-font-family-size-xl-line-height-squished:var(--eds-typography-ui-body-xl-line-height-squished);--eds-font-family-size-2xl-line-height-default:var(--eds-typography-ui-body-2xl-line-height-default);--eds-font-family-size-2xl-line-height-squished:var(--eds-typography-ui-body-2xl-line-height-squished);--eds-font-family-size-3xl-line-height-default:var(--eds-typography-ui-body-3xl-line-height-default);--eds-font-family-size-3xl-line-height-squished:var(--eds-typography-ui-body-3xl-line-height-squished);--eds-font-family-size-4xl-line-height-default:var(--eds-typography-ui-body-4xl-line-height-default);--eds-font-family-size-4xl-line-height-squished:var(--eds-typography-ui-body-4xl-line-height-squished);--eds-font-family-size-5xl-line-height-default:var(--eds-typography-ui-body-5xl-line-height-default);--eds-font-family-size-5xl-line-height-squished:var(--eds-typography-ui-body-5xl-line-height-squished);--eds-font-family-size-6xl-line-height-default:var(--eds-typography-ui-body-6xl-line-height-default);--eds-font-family-size-6xl-line-height-squished:var(--eds-typography-ui-body-6xl-line-height-squished)}
75
+ [data-font-size=xs]{--eds-typography-icon-size:var(--eds-sizing-icon-xs);--eds-typography-gap-horizontal:var(--eds-spacing-icon-xs-gap-horizontal);--eds-typography-gap-vertical:var(--eds-spacing-icon-xs-gap-vertical);--eds-typography-font-size:var(--eds-font-family-size-xs-font-size);--eds-typography-tracking-tight:var(--eds-font-family-size-xs-tracking-tight);--eds-typography-tracking-normal:var(--eds-font-family-size-xs-tracking-normal);--eds-typography-tracking-wide:var(--eds-font-family-size-xs-tracking-wide);--eds-typography-font-weight-lighter:var(--eds-font-family-size-xs-font-weight-lighter);--eds-typography-font-weight-normal:var(--eds-font-family-size-xs-font-weight-normal);--eds-typography-font-weight-bolder:var(--eds-font-family-size-xs-font-weight-bolder);--eds-typography-line-height-default:var(--eds-font-family-size-xs-line-height-default);--eds-typography-line-height-squished:var(--eds-font-family-size-xs-line-height-squished)}
76
+ [data-font-size=sm]{--eds-typography-icon-size:var(--eds-sizing-icon-sm);--eds-typography-gap-horizontal:var(--eds-spacing-icon-sm-gap-horizontal);--eds-typography-gap-vertical:var(--eds-spacing-icon-sm-gap-vertical);--eds-typography-font-size:var(--eds-font-family-size-sm-font-size);--eds-typography-tracking-tight:var(--eds-font-family-size-sm-tracking-tight);--eds-typography-tracking-normal:var(--eds-font-family-size-sm-tracking-normal);--eds-typography-tracking-wide:var(--eds-font-family-size-sm-tracking-wide);--eds-typography-font-weight-lighter:var(--eds-font-family-size-sm-font-weight-lighter);--eds-typography-font-weight-normal:var(--eds-font-family-size-sm-font-weight-normal);--eds-typography-font-weight-bolder:var(--eds-font-family-size-sm-font-weight-bolder);--eds-typography-line-height-default:var(--eds-font-family-size-sm-line-height-default);--eds-typography-line-height-squished:var(--eds-font-family-size-sm-line-height-squished)}
77
+ [data-font-size=md]{--eds-typography-icon-size:var(--eds-sizing-icon-md);--eds-typography-gap-horizontal:var(--eds-spacing-icon-md-gap-horizontal);--eds-typography-gap-vertical:var(--eds-spacing-icon-md-gap-vertical);--eds-typography-font-size:var(--eds-font-family-size-md-font-size);--eds-typography-tracking-tight:var(--eds-font-family-size-md-tracking-tight);--eds-typography-tracking-normal:var(--eds-font-family-size-md-tracking-normal);--eds-typography-tracking-wide:var(--eds-font-family-size-md-tracking-wide);--eds-typography-font-weight-lighter:var(--eds-font-family-size-md-font-weight-lighter);--eds-typography-font-weight-normal:var(--eds-font-family-size-md-font-weight-normal);--eds-typography-font-weight-bolder:var(--eds-font-family-size-md-font-weight-bolder);--eds-typography-line-height-default:var(--eds-font-family-size-md-line-height-default);--eds-typography-line-height-squished:var(--eds-font-family-size-md-line-height-squished)}
78
+ [data-font-size=lg]{--eds-typography-icon-size:var(--eds-sizing-icon-lg);--eds-typography-gap-horizontal:var(--eds-spacing-icon-lg-gap-horizontal);--eds-typography-gap-vertical:var(--eds-spacing-icon-lg-gap-vertical);--eds-typography-font-size:var(--eds-font-family-size-lg-font-size);--eds-typography-tracking-tight:var(--eds-font-family-size-lg-tracking-tight);--eds-typography-tracking-normal:var(--eds-font-family-size-lg-tracking-normal);--eds-typography-tracking-wide:var(--eds-font-family-size-lg-tracking-wide);--eds-typography-font-weight-lighter:var(--eds-font-family-size-lg-font-weight-lighter);--eds-typography-font-weight-normal:var(--eds-font-family-size-lg-font-weight-normal);--eds-typography-font-weight-bolder:var(--eds-font-family-size-lg-font-weight-bolder);--eds-typography-line-height-default:var(--eds-font-family-size-lg-line-height-default);--eds-typography-line-height-squished:var(--eds-font-family-size-lg-line-height-squished)}
79
+ [data-font-size=xl]{--eds-typography-icon-size:var(--eds-sizing-icon-xl);--eds-typography-gap-horizontal:var(--eds-spacing-icon-xl-gap-horizontal);--eds-typography-gap-vertical:var(--eds-spacing-icon-xl-gap-vertical);--eds-typography-font-size:var(--eds-font-family-size-xl-font-size);--eds-typography-tracking-tight:var(--eds-font-family-size-xl-tracking-tight);--eds-typography-tracking-normal:var(--eds-font-family-size-xl-tracking-normal);--eds-typography-tracking-wide:var(--eds-font-family-size-xl-tracking-wide);--eds-typography-font-weight-lighter:var(--eds-font-family-size-xl-font-weight-lighter);--eds-typography-font-weight-normal:var(--eds-font-family-size-xl-font-weight-normal);--eds-typography-font-weight-bolder:var(--eds-font-family-size-xl-font-weight-bolder);--eds-typography-line-height-default:var(--eds-font-family-size-xl-line-height-default);--eds-typography-line-height-squished:var(--eds-font-family-size-xl-line-height-squished)}
80
+ [data-font-size="2xl"]{--eds-typography-icon-size:var(--eds-sizing-icon-2xl);--eds-typography-gap-horizontal:var(--eds-spacing-icon-2xl-gap-horizontal);--eds-typography-gap-vertical:var(--eds-spacing-icon-2xl-gap-vertical);--eds-typography-font-size:var(--eds-font-family-size-2xl-font-size);--eds-typography-tracking-tight:var(--eds-font-family-size-2xl-tracking-tight);--eds-typography-tracking-normal:var(--eds-font-family-size-2xl-tracking-normal);--eds-typography-tracking-wide:var(--eds-font-family-size-2xl-tracking-wide);--eds-typography-font-weight-lighter:var(--eds-font-family-size-2xl-font-weight-lighter);--eds-typography-font-weight-normal:var(--eds-font-family-size-2xl-font-weight-normal);--eds-typography-font-weight-bolder:var(--eds-font-family-size-2xl-font-weight-bolder);--eds-typography-line-height-default:var(--eds-font-family-size-2xl-line-height-default);--eds-typography-line-height-squished:var(--eds-font-family-size-2xl-line-height-squished)}
81
+ [data-font-size="3xl"]{--eds-typography-icon-size:var(--eds-sizing-icon-3xl);--eds-typography-gap-horizontal:var(--eds-spacing-icon-3xl-gap-horizontal);--eds-typography-gap-vertical:var(--eds-spacing-icon-3xl-gap-vertical);--eds-typography-font-size:var(--eds-font-family-size-3xl-font-size);--eds-typography-tracking-tight:var(--eds-font-family-size-3xl-tracking-tight);--eds-typography-tracking-normal:var(--eds-font-family-size-3xl-tracking-normal);--eds-typography-tracking-wide:var(--eds-font-family-size-3xl-tracking-wide);--eds-typography-font-weight-lighter:var(--eds-font-family-size-3xl-font-weight-lighter);--eds-typography-font-weight-normal:var(--eds-font-family-size-3xl-font-weight-normal);--eds-typography-font-weight-bolder:var(--eds-font-family-size-3xl-font-weight-bolder);--eds-typography-line-height-default:var(--eds-font-family-size-3xl-line-height-default);--eds-typography-line-height-squished:var(--eds-font-family-size-3xl-line-height-squished)}
82
+ [data-font-size="4xl"]{--eds-typography-icon-size:var(--eds-sizing-icon-4xl);--eds-typography-gap-horizontal:var(--eds-spacing-icon-4xl-gap-horizontal);--eds-typography-gap-vertical:var(--eds-spacing-icon-4xl-gap-vertical);--eds-typography-font-size:var(--eds-font-family-size-4xl-font-size);--eds-typography-tracking-tight:var(--eds-font-family-size-4xl-tracking-tight);--eds-typography-tracking-normal:var(--eds-font-family-size-4xl-tracking-normal);--eds-typography-tracking-wide:var(--eds-font-family-size-4xl-tracking-wide);--eds-typography-font-weight-lighter:var(--eds-font-family-size-4xl-font-weight-lighter);--eds-typography-font-weight-normal:var(--eds-font-family-size-4xl-font-weight-normal);--eds-typography-font-weight-bolder:var(--eds-font-family-size-4xl-font-weight-bolder);--eds-typography-line-height-default:var(--eds-font-family-size-4xl-line-height-default);--eds-typography-line-height-squished:var(--eds-font-family-size-4xl-line-height-squished)}
83
+ [data-font-size="5xl"]{--eds-typography-icon-size:var(--eds-sizing-icon-5xl);--eds-typography-gap-horizontal:var(--eds-spacing-icon-5xl-gap-horizontal);--eds-typography-gap-vertical:var(--eds-spacing-icon-5xl-gap-vertical);--eds-typography-font-size:var(--eds-font-family-size-5xl-font-size);--eds-typography-tracking-tight:var(--eds-font-family-size-5xl-tracking-tight);--eds-typography-tracking-normal:var(--eds-font-family-size-5xl-tracking-normal);--eds-typography-tracking-wide:var(--eds-font-family-size-5xl-tracking-wide);--eds-typography-font-weight-lighter:var(--eds-font-family-size-5xl-font-weight-lighter);--eds-typography-font-weight-normal:var(--eds-font-family-size-5xl-font-weight-normal);--eds-typography-font-weight-bolder:var(--eds-font-family-size-5xl-font-weight-bolder);--eds-typography-line-height-default:var(--eds-font-family-size-5xl-line-height-default);--eds-typography-line-height-squished:var(--eds-font-family-size-5xl-line-height-squished)}
84
+ [data-font-size="6xl"]{--eds-typography-icon-size:var(--eds-sizing-icon-6xl);--eds-typography-gap-horizontal:var(--eds-spacing-icon-6xl-gap-horizontal);--eds-typography-gap-vertical:var(--eds-spacing-icon-6xl-gap-vertical);--eds-typography-font-size:var(--eds-font-family-size-6xl-font-size);--eds-typography-tracking-tight:var(--eds-font-family-size-6xl-tracking-tight);--eds-typography-tracking-normal:var(--eds-font-family-size-6xl-tracking-normal);--eds-typography-tracking-wide:var(--eds-font-family-size-6xl-tracking-wide);--eds-typography-font-weight-lighter:var(--eds-font-family-size-6xl-font-weight-lighter);--eds-typography-font-weight-normal:var(--eds-font-family-size-6xl-font-weight-normal);--eds-typography-font-weight-bolder:var(--eds-font-family-size-6xl-font-weight-bolder);--eds-typography-line-height-default:var(--eds-font-family-size-6xl-line-height-default);--eds-typography-line-height-squished:var(--eds-font-family-size-6xl-line-height-squished)}
85
+ [data-font-weight=lighter]{--eds-typography-font-weight:var(--eds-typography-font-weight-lighter)}
86
+ [data-font-weight=normal]{--eds-typography-font-weight:var(--eds-typography-font-weight-normal)}
87
+ [data-font-weight=bolder]{--eds-typography-font-weight:var(--eds-typography-font-weight-bolder)}
88
+ [data-line-height=default]{--eds-typography-line-height:var(--eds-typography-line-height-default)}
89
+ [data-line-height=squished]{--eds-typography-line-height:var(--eds-typography-line-height-squished)}
90
+ [data-tracking=tight]{--eds-typography-tracking:var(--eds-typography-tracking-tight)}
91
+ [data-tracking=normal]{--eds-typography-tracking:var(--eds-typography-tracking-normal)}
92
+ [data-tracking=wide],[data-tracking=loose]{--eds-typography-tracking:var(--eds-typography-tracking-wide)}
93
+ @layer eds-components {
94
+ /* Inline with text: uses token from parent's data-font-size, or 1.5em fallback */
95
+ .icon {
96
+ /*
97
+ * Set font-size first to establish the icon's size context.
98
+ * Then use 1em for width/height (relative to computed font-size).
99
+ * This avoids compound scaling (1.5em × 1.5em = 2.25em would be wrong).
100
+ */
101
+ font-size: var(--eds-typography-icon-size, 1.5em);
102
+ width: 1em;
103
+ height: 1em;
104
+
105
+ /* Negative margins for optical alignment with text baseline */
106
+ margin-block: -0.25em;
107
+ margin-inline: -0.1em;
108
+
109
+ flex-shrink: 0;
110
+ }
111
+
112
+ /* Explicit size: fixed size from design tokens, no margins */
113
+ .icon[data-icon-size] {
114
+ --_explicit-size: var(--eds-sizing-icon-md); /* fallback */
115
+
116
+ width: var(--_explicit-size);
117
+ height: var(--_explicit-size);
118
+ margin: 0;
119
+ font-size: inherit;
120
+ }
121
+
122
+ .icon[data-icon-size='xs'] {
123
+ --_explicit-size: var(--eds-sizing-icon-xs);
124
+ }
125
+ .icon[data-icon-size='sm'] {
126
+ --_explicit-size: var(--eds-sizing-icon-sm);
127
+ }
128
+ .icon[data-icon-size='md'] {
129
+ --_explicit-size: var(--eds-sizing-icon-md);
130
+ }
131
+ .icon[data-icon-size='lg'] {
132
+ --_explicit-size: var(--eds-sizing-icon-lg);
133
+ }
134
+ .icon[data-icon-size='xl'] {
135
+ --_explicit-size: var(--eds-sizing-icon-xl);
136
+ }
137
+ .icon[data-icon-size='2xl'] {
138
+ --_explicit-size: var(--eds-sizing-icon-2xl);
139
+ }
140
+ .icon[data-icon-size='3xl'] {
141
+ --_explicit-size: var(--eds-sizing-icon-3xl);
142
+ }
143
+ .icon[data-icon-size='4xl'] {
144
+ --_explicit-size: var(--eds-sizing-icon-4xl);
145
+ }
146
+ .icon[data-icon-size='5xl'] {
147
+ --_explicit-size: var(--eds-sizing-icon-5xl);
148
+ }
149
+ .icon[data-icon-size='6xl'] {
150
+ --_explicit-size: var(--eds-sizing-icon-6xl);
151
+ }
152
+ }
153
+ @layer eds-components {
154
+ .eds-button {
155
+ /* Layout */
156
+ display: inline-flex;
157
+ align-items: center;
158
+ justify-content: center;
159
+ box-sizing: border-box;
160
+
161
+ /* Appearance */
162
+ border: none;
163
+ border-radius: var(--eds-spacing-border-radius-rounded, 4px);
164
+ cursor: pointer;
165
+ outline: none;
166
+ text-decoration: none;
167
+
168
+ /* Transitions */
169
+ transition:
170
+ background-color 150ms ease-in-out,
171
+ border-color 150ms ease-in-out,
172
+ color 150ms ease-in-out;
173
+
174
+ /* Comfortable density asymmetric padding for visual text centering */
175
+ /* These values compensate for font metrics (ascenders/descenders) */
176
+ /* Empirically determined from Figma design */
177
+ --_comfortable-padding-top: 0.313rem; /* 5px */
178
+ --_comfortable-padding-bottom: 0.188rem; /* 3px */
179
+
180
+ /* Comfortable density icon-only padding to match label button heights */
181
+ /* Formula: (target-height - icon-size) / 2 where target-height = label button height */
182
+ /* Empirically determined from Figma design */
183
+ --_comfortable-icon-padding-sm: 0.125rem; /* 2px: (20px - 16px) / 2 */
184
+ --_comfortable-icon-padding-md: 0.188rem; /* 3px: (24px - 18px) / 2 */
185
+ --_comfortable-icon-padding-lg: 0.5rem; /* 8px: (36px - 20px) / 2 */
186
+ }
187
+
188
+ /* ===== SIZE VARIANTS (Button with label) ===== */
189
+ /*
190
+ * Spacing adjusted from design tokens to compensate for icon negative margins
191
+ * Icons have margin-block: -0.25em and margin-inline: -0.1em for optical alignment
192
+ *
193
+ * Token reference (from --eds-selectable-space-*):
194
+ * - lg: horizontal=20px, vertical=16px (spacious) / 12px (comfortable)
195
+ * - md: horizontal=16px, vertical=12px (spacious) / 8px (comfortable)
196
+ * - sm: horizontal=12px, vertical=8px (spacious) / 6px (comfortable)
197
+ *
198
+ * Adjustments made:
199
+ * - Vertical padding reduced by ~4px to account for icon negative margins
200
+ * - Gap values slightly adjusted for visual balance with icons
201
+ */
202
+
203
+ .eds-button[data-selectable-space='lg'] {
204
+ /* Base from token (16px spacious / 12px comfortable) → Adjusted: -4px vertical for icon margins */
205
+ padding-block: calc(var(--eds-selectable-space-vertical) - 0.25rem); /* 16px → 12px / 12px → 8px */
206
+ padding-inline: var(--eds-selectable-space-horizontal); /* 20px spacious / 16px comfortable */
207
+ gap: var(--eds-typography-gap-horizontal);
208
+ }
209
+
210
+ .eds-button[data-selectable-space='md'] {
211
+ /* Base from token (12px spacious / 8px comfortable) → Adjusted: -2px vertical for icon margins */
212
+ padding-block: calc(var(--eds-selectable-space-vertical) - 0.125rem); /* 12px → 10px / 8px → 6px */
213
+ padding-inline: var(--eds-selectable-space-horizontal); /* 16px spacious / 12px comfortable */
214
+ gap: var(--eds-typography-gap-horizontal);
215
+ }
216
+
217
+ .eds-button[data-selectable-space='sm'] {
218
+ /* Base from token (8px spacious / 6px comfortable) → Adjusted: -2px vertical for icon margins */
219
+ padding-block: calc(var(--eds-selectable-space-vertical) - 0.125rem); /* 8px → 6px / 6px → 4px */
220
+ padding-inline: var(--eds-selectable-space-horizontal); /* 12px spacious / 8px comfortable */
221
+ gap: var(--eds-typography-gap-horizontal);
222
+ }
223
+
224
+ /* ===== DENSITY OVERRIDES ===== */
225
+ /*
226
+ * Note: Density-specific overrides are defined OUTSIDE @layer (after this block closes)
227
+ * to ensure they can override the typography tokens from @equinor/eds-tokens
228
+ */
229
+
230
+ /* ===== ICON-ONLY BUTTON ===== */
231
+ /*
232
+ * Icon-only buttons maintain same height as label buttons but adapt to density.
233
+ * Formula: padding = base-padding + (line-height - icon-size) / 2
234
+ *
235
+ * This ensures icon buttons:
236
+ * - Match label button height in both spacious and comfortable density
237
+ * - Center the icon vertically regardless of density mode
238
+ * - Adapt automatically via --eds-typography-line-height-squished token
239
+ *
240
+ * Density behavior:
241
+ * - Spacious: Uses larger line-height → more padding → taller buttons
242
+ * - Comfortable: Uses smaller line-height → less padding → shorter buttons
243
+ */
244
+
245
+ .eds-button[data-icon-only] {
246
+ aspect-ratio: 1;
247
+ }
248
+
249
+ .eds-button[data-icon-only][data-selectable-space='lg'] {
250
+ /* Base padding from token minus icon compensation: (16px - 4px) = 12px spacious / (12px - 4px) = 8px comfortable */
251
+ /* Adapts with line-height (20px spacious / 16px comfortable) */
252
+ /* Target height: 44px spacious / 40px comfortable */
253
+ --_base-padding: calc(var(--eds-selectable-space-vertical) - 0.25rem);
254
+ padding: calc(
255
+ var(--_base-padding) +
256
+ (
257
+ var(--eds-typography-line-height-squished) -
258
+ var(--eds-typography-icon-size)
259
+ ) /
260
+ 2
261
+ );
262
+ }
263
+
264
+ .eds-button[data-icon-only][data-selectable-space='md'] {
265
+ /* Base padding from token minus icon compensation: (12px - 2px) = 10px spacious / (8px - 2px) = 6px comfortable */
266
+ /* Adapts with line-height (16px spacious / 12px comfortable) */
267
+ /* Target height: 36px spacious / 32px comfortable */
268
+ --_base-padding: calc(var(--eds-selectable-space-vertical) - 0.125rem);
269
+ padding: calc(
270
+ var(--_base-padding) +
271
+ (
272
+ var(--eds-typography-line-height-squished) -
273
+ var(--eds-typography-icon-size)
274
+ ) /
275
+ 2
276
+ );
277
+ }
278
+
279
+ .eds-button[data-icon-only][data-selectable-space='sm'] {
280
+ /* Base padding from token minus icon compensation: (8px - 2px) = 6px spacious / (6px - 2px) = 4px comfortable */
281
+ /* Line-height (12px) same for both densities */
282
+ /* Target height: 24px (consistent across densities) */
283
+ --_base-padding: calc(var(--eds-selectable-space-vertical) - 0.125rem);
284
+ padding: calc(
285
+ var(--_base-padding) +
286
+ (
287
+ var(--eds-typography-line-height-squished) -
288
+ var(--eds-typography-icon-size)
289
+ ) /
290
+ 2
291
+ );
292
+ }
293
+
294
+ /* ===== ROUND ICON-ONLY BUTTON ===== */
295
+
296
+ .eds-button[data-round] {
297
+ border-radius: 50%;
298
+ }
299
+
300
+ /* ===== PRIMARY VARIANT ===== */
301
+
302
+ .eds-button[data-variant='primary'] {
303
+ background-color: var(--eds-color-bg-fill-emphasis-default);
304
+ color: var(--eds-color-text-strong-on-emphasis);
305
+ }
306
+
307
+ .eds-button[data-variant='primary']:hover:not(:disabled) {
308
+ background-color: var(--eds-color-bg-fill-emphasis-hover);
309
+ }
310
+
311
+ .eds-button[data-variant='primary']:active:not(:disabled) {
312
+ background-color: var(--eds-color-bg-fill-emphasis-active);
313
+ }
314
+
315
+ .eds-button[data-variant='primary']:disabled {
316
+ background-color: var(--eds-color-bg-fill-muted-default);
317
+ color: var(--eds-color-border-medium);
318
+ cursor: not-allowed;
319
+ }
320
+
321
+ /* ===== SECONDARY VARIANT ===== */
322
+
323
+ .eds-button[data-variant='secondary'] {
324
+ background-color: transparent;
325
+ color: var(--eds-color-text-subtle);
326
+ outline: var(--eds-border-width-default, 1px) solid
327
+ var(--eds-color-border-strong);
328
+ outline-offset: calc(-1 * var(--eds-border-width-default, 1px));
329
+ }
330
+
331
+ .eds-button[data-variant='secondary']:hover:not(:disabled) {
332
+ background-color: var(--eds-color-bg-fill-muted-default);
333
+ }
334
+
335
+ .eds-button[data-variant='secondary']:active:not(:disabled) {
336
+ background-color: var(--eds-color-bg-fill-muted-hover);
337
+ }
338
+
339
+ .eds-button[data-variant='secondary']:disabled {
340
+ outline: var(--eds-border-width-default, 1px) solid
341
+ var(--eds-color-border-medium);
342
+ outline-offset: calc(-1 * var(--eds-border-width-default, 1px));
343
+ color: var(--eds-color-border-medium);
344
+ cursor: not-allowed;
345
+ }
346
+
347
+ /* ===== GHOST VARIANT ===== */
348
+
349
+ .eds-button[data-variant='ghost'] {
350
+ background-color: transparent;
351
+ color: var(--eds-color-text-subtle);
352
+ }
353
+
354
+ .eds-button[data-variant='ghost']:hover:not(:disabled) {
355
+ background-color: var(--eds-color-bg-fill-muted-default);
356
+ }
357
+
358
+ .eds-button[data-variant='ghost']:active:not(:disabled) {
359
+ background-color: var(--eds-color-bg-fill-muted-hover);
360
+ }
361
+
362
+ .eds-button[data-variant='ghost']:disabled {
363
+ color: var(--eds-color-border-medium);
364
+ cursor: not-allowed;
365
+ }
366
+
367
+ /* ===== FOCUS STATE ===== */
368
+
369
+ .eds-button:focus-visible {
370
+ outline: var(--eds-sizing-stroke-thick) solid
371
+ var(--eds-color-border-focus);
372
+ outline-offset: var(--eds-sizing-stroke-thin);
373
+ }
374
+
375
+ .eds-button[data-variant='secondary']:focus-visible {
376
+ outline-offset: var(--eds-sizing-stroke-thin);
377
+ }
378
+
379
+ /* ===== ICON STYLING ===== */
380
+ /* Icons inherit size from Typography via --eds-typography-icon-size */
381
+ /* Icons use em-based negative margins from icon.css for optical alignment */
382
+
383
+ .eds-button .icon {
384
+ flex-shrink: 0;
385
+ }
386
+
387
+ /* Icon-only buttons: remove negative margins, use padding for sizing */
388
+ .eds-button[data-icon-only] .icon {
389
+ margin: 0;
390
+ }
391
+ }
392
+ /* ===== LABEL WRAPPER (TypographyNext) ===== */
393
+ /* Outside @layer to override typography.css which sets display: block on [data-font-family] */
394
+ .eds-button {
395
+ display: inline-flex;
396
+ }
397
+ .eds-button > span {
398
+ display: inline-flex;
399
+ align-items: center;
400
+ gap: inherit;
401
+ }
402
+ /* Reset baseline padding and text-box-trim for proper centering */
403
+ .eds-button > span[data-baseline] {
404
+ padding: 0;
405
+ /* Disable text-box-trim so text sits centered within its line-height box */
406
+ /* Flexbox will then center the entire line-height box vertically in the button */
407
+ text-box-trim: none;
408
+ text-box-edge: auto;
409
+ }
410
+ /* Icon-only: span should not affect layout */
411
+ .eds-button[data-icon-only] > span {
412
+ display: contents;
413
+ }
414
+ /* ===== DENSITY OVERRIDES ===== */
415
+ /*
416
+ * Comfortable density uses smaller font-sizes (one size down) and tighter spacing.
417
+ *
418
+ * Font-size mapping (from Figma):
419
+ * - small: XS (10.5px) instead of SM (12px)
420
+ * - default: SM (12px) instead of MD (14px)
421
+ * - large: MD (14px) instead of LG (16px)
422
+ *
423
+ * Target heights in comfortable mode:
424
+ * - small: 20px (4px × 2 + 12px line-height)
425
+ * - default: 24px (4px × 2 + 16px line-height)
426
+ * - large: 36px (8px × 2 + 20px line-height)
427
+ *
428
+ * These overrides are OUTSIDE @layer to ensure they can override the typography
429
+ * tokens from @equinor/eds-tokens/css/variables.
430
+ */
431
+ [data-density='comfortable'] .eds-button[data-selectable-space='sm'][data-font-size='sm'],
432
+ [data-density='comfortable'] .eds-button[data-selectable-space='sm'] [data-font-size='sm'] {
433
+ /* Override line-height to maintain SM height (12px instead of XS's 12px) */
434
+ --eds-typography-line-height: 0.75rem; /* 12px (SM line-height) */
435
+ --eds-typography-line-height-squished: 0.75rem; /* 12px */
436
+ }
437
+ [data-density='comfortable'] .eds-button[data-selectable-space='sm'][data-font-size='sm'] {
438
+ /* Target: 20px = (5px + 3px) + 12px line-height */
439
+ /* Asymmetric padding to visually center text (more top, less bottom) */
440
+ padding-top: var(--_comfortable-padding-top);
441
+ padding-bottom: var(--_comfortable-padding-bottom);
442
+ }
443
+ [data-density='comfortable'] .eds-button[data-selectable-space='md'][data-font-size='md'],
444
+ [data-density='comfortable'] .eds-button[data-selectable-space='md'] [data-font-size='md'] {
445
+ /* Override line-height to maintain MD height (16px instead of SM's 12px) */
446
+ --eds-typography-line-height: 1rem; /* 16px (MD line-height, NOT SM) */
447
+ --eds-typography-line-height-squished: 1rem; /* 16px */
448
+ }
449
+ [data-density='comfortable'] .eds-button[data-selectable-space='md'][data-font-size='md'] {
450
+ /* Target: 24px = (5px + 3px) + 16px line-height */
451
+ /* Asymmetric padding to visually center text (more top, less bottom) */
452
+ padding-top: var(--_comfortable-padding-top);
453
+ padding-bottom: var(--_comfortable-padding-bottom);
454
+ }
455
+ [data-density='comfortable'] .eds-button[data-selectable-space='lg'][data-font-size='lg'],
456
+ [data-density='comfortable'] .eds-button[data-selectable-space='lg'] [data-font-size='lg'] {
457
+ /* Override line-height to maintain LG height (20px instead of MD's 16px) */
458
+ --eds-typography-line-height: 1.25rem; /* 20px (LG line-height, NOT MD) */
459
+ --eds-typography-line-height-squished: 1.25rem; /* 20px */
460
+ }
461
+ [data-density='comfortable'] .eds-button[data-selectable-space='lg'][data-font-size='lg'] {
462
+ /* Target: 36px = (8px × 2) + 20px */
463
+ /* Token gives 12px in comfortable mode, minus icon compensation = 8px */
464
+ padding-block: calc(var(--eds-selectable-space-vertical) - 0.25rem); /* 12px → 8px */
465
+ }
466
+ /* Icon-only button overrides for comfortable density */
467
+ /* Set fixed padding to ensure square buttons that match labeled button heights */
468
+ /* Formula: padding = (target-height - icon-size) / 2 */
469
+ [data-density='comfortable'] .eds-button[data-icon-only][data-selectable-space='sm'] {
470
+ /* Target: 20×20px to match labeled small button (20px height) */
471
+ /* Icon size: 16px, padding needed: (20 - 16) / 2 = 2px */
472
+ padding: var(--_comfortable-icon-padding-sm);
473
+ }
474
+ [data-density='comfortable'] .eds-button[data-icon-only][data-selectable-space='md'] {
475
+ /* Target: 24×24px to match labeled default button (24px height) */
476
+ /* Icon size: 18px, padding needed: (24 - 18) / 2 = 3px */
477
+ padding: var(--_comfortable-icon-padding-md);
478
+ }
479
+ [data-density='comfortable'] .eds-button[data-icon-only][data-selectable-space='lg'] {
480
+ /* Target: 36×36px to match labeled large button (36px height) */
481
+ /* Icon size: 20px, padding needed: (36 - 20) / 2 = 8px */
482
+ padding: var(--_comfortable-icon-padding-lg);
483
+ }
484
+ @layer eds-components {
485
+ .eds-field {
486
+ /* Layout - use CSS variable for configurable width */
487
+ display: flex;
488
+ flex-direction: column;
489
+ align-items: flex-start;
490
+ gap: var(--eds-generic-gap-vertical);
491
+ width: var(--eds-field-width, 100%);
492
+ /* Private color variables */
493
+ --_eds-field-label-color: var(--eds-color-text-strong);
494
+ --_eds-field-description-color: var(--eds-color-text-subtle);
495
+ --_eds-field-indicator-color: var(--eds-color-text-neutral-subtle);
496
+ --_eds-field-helper-color: var(--eds-color-text-subtle);
497
+ }
498
+
499
+ /* Horizontal layout for toggle inputs (checkbox, radio, switch) */
500
+ .eds-field:is([data-position='start'], [data-position='end']) {
501
+ flex-direction: row;
502
+ flex-wrap: wrap;
503
+ align-items: center;
504
+ gap: var(--eds-generic-gap-horizontal);
505
+ }
506
+
507
+ .eds-field[data-position='end'] {
508
+ flex-direction: row-reverse;
509
+ }
510
+
511
+ /* Description and helper message span full width below in horizontal layout */
512
+ .eds-field:is([data-position='start'], [data-position='end'])
513
+ :is(.eds-field__description, .eds-field__helper-message, [role='alert']) {
514
+ flex-basis: 100%;
515
+ }
516
+
517
+ .eds-field__label {
518
+ display: inline-flex;
519
+ flex-wrap: wrap;
520
+ align-items: center;
521
+ color: var(--_eds-field-label-color);
522
+ }
523
+
524
+ .eds-field__indicator {
525
+ margin-inline-start: var(--eds-selectable-space-horizontal);
526
+ color: var(--_eds-field-indicator-color);
527
+ font-size: var(--eds-typography-font-size);
528
+ vertical-align: middle;
529
+ }
530
+
531
+ .eds-field__description {
532
+ margin: 0;
533
+ color: var(--_eds-field-description-color);
534
+ }
535
+
536
+ /* HelperMessage styling */
537
+ .eds-field__helper-message {
538
+ margin: 0;
539
+ color: var(--_eds-field-helper-color);
540
+ }
541
+
542
+ /* Only helper message changes color when disabled */
543
+ .eds-field[data-disabled='true'] {
544
+ --_eds-field-helper-color: var(--eds-color-border-neutral-medium);
545
+ }
546
+ }
547
+ @layer eds-components {
548
+ .eds-checkbox {
549
+ --_checkbox-icon-color: var(--eds-color-bg-fill-emphasis-default);
550
+ --_checkbox-hover-color: var(--eds-color-bg-fill-muted-default);
551
+ --_checkbox-icon-size: var(--eds-sizing-icon-lg);
552
+ /* Touch target: 36px spacious, 28px comfortable */
553
+ --_checkbox-touch-target: 2.25rem;
554
+ cursor: pointer;
555
+ position: relative;
556
+ box-sizing: border-box;
557
+ }
558
+
559
+ [data-density='comfortable'] .eds-checkbox {
560
+ --_checkbox-touch-target: 1.75rem;
561
+ }
562
+
563
+ .eds-checkbox--standalone {
564
+ display: inline-flex;
565
+ align-items: center;
566
+ justify-content: center;
567
+ position: relative;
568
+ /* Padding calculated from touch target and icon size */
569
+ padding: calc(
570
+ (var(--_checkbox-touch-target) - var(--_checkbox-icon-size)) / 2
571
+ );
572
+ }
573
+
574
+ .eds-field.eds-checkbox {
575
+ /*
576
+ * Gap compensation for label alignment.
577
+ *
578
+ * Problem: The icon-wrapper has negative margin (-4.8px inline) to match
579
+ * Figma's icon container padding. This pulls the icon closer to the edge,
580
+ * but CSS gap is measured from the icon-wrapper's margin box, not from the
581
+ * visible icon graphic. Without compensation, labels appear too close to icons.
582
+ *
583
+ * Solution: Add gap compensation to offset the negative margin effect.
584
+ *
585
+ * Result: 7px gap from SVG bounding box to label text.
586
+ *
587
+ * Note: Checkbox and Radio use the same compensation value (0.2375rem)
588
+ * to ensure their labels align perfectly when stacked vertically.
589
+ * This is prioritized over exact pixel-perfect gap from the icon stroke,
590
+ * since the icons have different internal padding (Checkbox: 3px, Radio: 2px).
591
+ */
592
+ --_checkbox-gap-compensation: 0.2375rem;
593
+ gap: calc(
594
+ var(--eds-generic-gap-horizontal) + var(--_checkbox-gap-compensation)
595
+ );
596
+ padding-inline: var(--eds-selectable-space-horizontal);
597
+ padding-block: var(--eds-selectable-space-vertical);
598
+ width: auto;
599
+ border-radius: var(--eds-spacing-border-radius-rounded);
600
+ transition: background-color 150ms;
601
+ }
602
+
603
+ .eds-checkbox[data-disabled='true'] {
604
+ cursor: not-allowed;
605
+ }
606
+
607
+ .eds-checkbox__icon-wrapper {
608
+ display: inline-flex;
609
+ align-items: center;
610
+ justify-content: center;
611
+ position: relative;
612
+ flex-shrink: 0;
613
+ overflow: visible;
614
+ line-height: 0;
615
+ }
616
+
617
+ /*
618
+ * Negative margin to match Figma's icon container padding.
619
+ *
620
+ * In Figma, the icon container has internal padding that positions the icon
621
+ * inward from the component edge. We replicate this with negative margin to:
622
+ * 1. Align the icon's left edge with Figma's design
623
+ * 2. Keep the component's padding consistent with other Field-based components
624
+ *
625
+ * The gap compensation (--_checkbox-gap-compensation) counteracts this for
626
+ * proper label spacing. See the gap compensation comment above for details.
627
+ */
628
+ .eds-field.eds-checkbox .eds-checkbox__icon-wrapper {
629
+ margin-block: -6px;
630
+ margin-inline: -4.8px;
631
+ }
632
+
633
+ .eds-checkbox--standalone::before {
634
+ content: '';
635
+ position: absolute;
636
+ inset: 0;
637
+ border-radius: var(--eds-spacing-border-radius-pill);
638
+ background-color: transparent;
639
+ transition: background-color 150ms;
640
+ }
641
+
642
+ @media (hover: hover) and (pointer: fine) {
643
+ .eds-checkbox--standalone:hover::before {
644
+ background-color: var(--_checkbox-hover-color);
645
+ }
646
+
647
+ .eds-checkbox--standalone[data-disabled='true']:hover::before {
648
+ background-color: transparent;
649
+ }
650
+
651
+ .eds-field.eds-checkbox:hover {
652
+ background-color: var(--_checkbox-hover-color);
653
+ }
654
+
655
+ .eds-field.eds-checkbox[data-disabled='true']:hover {
656
+ background-color: transparent;
657
+ }
658
+ }
659
+
660
+ .eds-checkbox__input {
661
+ appearance: none;
662
+ position: absolute;
663
+ inset: 0;
664
+ margin: 0;
665
+ cursor: pointer;
666
+ z-index: 1;
667
+ }
668
+
669
+ .eds-checkbox__input:disabled {
670
+ cursor: not-allowed;
671
+ }
672
+
673
+ .eds-checkbox__input:focus {
674
+ outline: none;
675
+ }
676
+
677
+ .eds-checkbox:has(.eds-checkbox__input:focus-visible) {
678
+ outline: var(--eds-sizing-stroke-thin) solid var(--eds-color-border-focus);
679
+ outline-offset: var(--eds-sizing-stroke-thick);
680
+ border-radius: var(--eds-spacing-border-radius-rounded);
681
+ }
682
+
683
+ .eds-checkbox--standalone:has(.eds-checkbox__input:focus-visible) {
684
+ border-radius: var(--eds-spacing-border-radius-pill);
685
+ }
686
+
687
+ .eds-checkbox__icon {
688
+ position: relative;
689
+ pointer-events: none;
690
+ fill: var(--_checkbox-icon-color);
691
+ flex-shrink: 0;
692
+ }
693
+
694
+ .eds-checkbox[data-disabled='true'] .eds-checkbox__icon {
695
+ fill: var(--eds-color-border-medium);
696
+ }
697
+
698
+ /* Icon visibility */
699
+ .eds-checkbox__icon--checked,
700
+ .eds-checkbox__icon--indeterminate {
701
+ display: none;
702
+ }
703
+
704
+ .eds-checkbox__icon--unchecked {
705
+ display: block;
706
+ }
707
+
708
+ .eds-checkbox:has(.eds-checkbox__input:checked) .eds-checkbox__icon--checked {
709
+ display: block;
710
+ }
711
+
712
+ .eds-checkbox:has(.eds-checkbox__input:checked)
713
+ .eds-checkbox__icon--unchecked {
714
+ display: none;
715
+ }
716
+
717
+ .eds-checkbox:has(.eds-checkbox__input[data-indeterminate='true'])
718
+ .eds-checkbox__icon--indeterminate {
719
+ display: block;
720
+ }
721
+
722
+ .eds-checkbox:has(.eds-checkbox__input[data-indeterminate='true'])
723
+ .eds-checkbox__icon--checked,
724
+ .eds-checkbox:has(.eds-checkbox__input[data-indeterminate='true'])
725
+ .eds-checkbox__icon--unchecked {
726
+ display: none;
727
+ }
728
+
729
+ .eds-field.eds-checkbox .eds-field__label {
730
+ cursor: pointer;
731
+ }
732
+
733
+ .eds-field.eds-checkbox[data-disabled='true'] .eds-field__label {
734
+ color: var(--eds-color-border-medium);
735
+ cursor: not-allowed;
736
+ }
737
+
738
+ .eds-field.eds-checkbox[data-color-appearance='accent'] {
739
+ --_eds-field-helper-color: var(--eds-color-text-neutral-subtle);
740
+ }
741
+ }
742
+ @layer eds-components {
743
+ .eds-radio {
744
+ --_radio-icon-color: var(--eds-color-bg-fill-emphasis-default);
745
+ --_radio-hover-color: var(--eds-color-bg-fill-muted-default);
746
+ --_radio-icon-size: var(--eds-sizing-icon-lg);
747
+ /* Touch target: 36px spacious, 28px comfortable */
748
+ --_radio-touch-target: 2.25rem;
749
+ cursor: pointer;
750
+ position: relative;
751
+ box-sizing: border-box;
752
+ }
753
+
754
+ [data-density='comfortable'] .eds-radio {
755
+ --_radio-touch-target: 1.75rem;
756
+ }
757
+
758
+ .eds-radio--standalone {
759
+ display: inline-flex;
760
+ align-items: center;
761
+ justify-content: center;
762
+ position: relative;
763
+ /* Padding calculated from touch target and icon size */
764
+ padding: calc((var(--_radio-touch-target) - var(--_radio-icon-size)) / 2);
765
+ }
766
+
767
+ .eds-field.eds-radio {
768
+ /*
769
+ * Gap compensation for label alignment.
770
+ *
771
+ * Problem: The icon-wrapper has negative margin (-4.8px inline) to match
772
+ * Figma's icon container padding. This pulls the icon closer to the edge,
773
+ * but CSS gap is measured from the icon-wrapper's margin box, not from the
774
+ * visible icon graphic. Without compensation, labels appear too close to icons.
775
+ *
776
+ * Solution: Add gap compensation to offset the negative margin effect.
777
+ *
778
+ * Result: 7px gap from SVG bounding box to label text.
779
+ *
780
+ * Note: Checkbox and Radio use the same compensation value (0.2375rem)
781
+ * to ensure their labels align perfectly when stacked vertically.
782
+ * This is prioritized over exact pixel-perfect gap from the icon stroke,
783
+ * since the icons have different internal padding (Checkbox: 3px, Radio: 2px).
784
+ */
785
+ --_radio-gap-compensation: 0.2375rem;
786
+ gap: calc(
787
+ var(--eds-generic-gap-horizontal) + var(--_radio-gap-compensation)
788
+ );
789
+ padding-inline: var(--eds-selectable-space-horizontal);
790
+ padding-block: var(--eds-selectable-space-vertical);
791
+ width: auto;
792
+ border-radius: var(--eds-spacing-border-radius-rounded);
793
+ transition: background-color 150ms;
794
+ }
795
+
796
+ .eds-radio[data-disabled='true'] {
797
+ cursor: not-allowed;
798
+ }
799
+
800
+ .eds-radio__icon-wrapper {
801
+ display: inline-flex;
802
+ align-items: center;
803
+ justify-content: center;
804
+ position: relative;
805
+ flex-shrink: 0;
806
+ overflow: visible;
807
+ line-height: 0;
808
+ }
809
+
810
+ /*
811
+ * Negative margin to match Figma's icon container padding.
812
+ *
813
+ * In Figma, the icon container has internal padding that positions the icon
814
+ * inward from the component edge. We replicate this with negative margin to:
815
+ * 1. Align the icon's left edge with Figma's design
816
+ * 2. Keep the component's padding consistent with other Field-based components
817
+ *
818
+ * The gap compensation (--_radio-gap-compensation) counteracts this for
819
+ * proper label spacing. See the gap compensation comment above for details.
820
+ */
821
+ .eds-field.eds-radio .eds-radio__icon-wrapper {
822
+ margin-block: -6px;
823
+ margin-inline: -4.8px;
824
+ }
825
+
826
+ .eds-radio--standalone::before {
827
+ content: '';
828
+ position: absolute;
829
+ inset: 0;
830
+ border-radius: var(--eds-spacing-border-radius-pill);
831
+ background-color: transparent;
832
+ transition: background-color 150ms;
833
+ }
834
+
835
+ @media (hover: hover) and (pointer: fine) {
836
+ .eds-radio--standalone:hover::before {
837
+ background-color: var(--_radio-hover-color);
838
+ }
839
+
840
+ .eds-radio--standalone[data-disabled='true']:hover::before {
841
+ background-color: transparent;
842
+ }
843
+
844
+ .eds-field.eds-radio:hover {
845
+ background-color: var(--_radio-hover-color);
846
+ }
847
+
848
+ .eds-field.eds-radio[data-disabled='true']:hover {
849
+ background-color: transparent;
850
+ }
851
+ }
852
+
853
+ .eds-radio__input {
854
+ appearance: none;
855
+ position: absolute;
856
+ inset: 0;
857
+ margin: 0;
858
+ cursor: pointer;
859
+ z-index: 1;
860
+ }
861
+
862
+ .eds-radio__input:disabled {
863
+ cursor: not-allowed;
864
+ }
865
+
866
+ .eds-radio__input:focus {
867
+ outline: none;
868
+ }
869
+
870
+ .eds-radio:has(.eds-radio__input:focus-visible) {
871
+ outline: var(--eds-sizing-stroke-thin) solid var(--eds-color-border-focus);
872
+ outline-offset: var(--eds-sizing-stroke-thick);
873
+ border-radius: var(--eds-spacing-border-radius-rounded);
874
+ }
875
+
876
+ .eds-radio--standalone:has(.eds-radio__input:focus-visible) {
877
+ border-radius: var(--eds-spacing-border-radius-pill);
878
+ }
879
+
880
+ .eds-radio__icon {
881
+ pointer-events: none;
882
+ fill: var(--_radio-icon-color);
883
+ flex-shrink: 0;
884
+ }
885
+
886
+ .eds-radio[data-disabled='true'] .eds-radio__icon {
887
+ fill: var(--eds-color-border-medium);
888
+ }
889
+
890
+ /* Icon visibility */
891
+ .eds-radio__icon--checked {
892
+ display: none;
893
+ }
894
+
895
+ .eds-radio__icon--unchecked {
896
+ display: block;
897
+ }
898
+
899
+ .eds-radio:has(.eds-radio__input:checked) .eds-radio__icon--checked {
900
+ display: block;
901
+ }
902
+
903
+ .eds-radio:has(.eds-radio__input:checked) .eds-radio__icon--unchecked {
904
+ display: none;
905
+ }
906
+
907
+ .eds-field.eds-radio .eds-field__label {
908
+ cursor: pointer;
909
+ }
910
+
911
+ .eds-field.eds-radio[data-disabled='true'] .eds-field__label {
912
+ color: var(--eds-color-border-medium);
913
+ cursor: not-allowed;
914
+ }
915
+ }
916
+ /* Switch component - uses Field for layout */
917
+ @layer eds-components {
918
+ .eds-switch {
919
+ --_switch-hover-color: var(--eds-color-bg-fill-muted-default);
920
+ --_icon-size: var(--eds-sizing-icon-lg);
921
+ /* Track: 22x8px, Handle: 12px (spacious density with 24px icon size) */
922
+ --_handle-size: calc(var(--_icon-size) / 2);
923
+ --_track-width: calc(var(--_icon-size) * 11 / 12);
924
+ --_track-height: calc(var(--_icon-size) / 3);
925
+ /* TODO: Replace with semantic token when available */
926
+ --_track-hover-bg: var(--eds-color-neutral-2);
927
+ /*
928
+ * Gap compensation for label alignment with Checkbox and Radio.
929
+ * Checkbox/Radio icons have ~3px internal SVG padding, but the Switch
930
+ * track is rendered edge-to-edge. This requires smaller gap adjustment
931
+ * to achieve consistent label positioning across all selection controls.
932
+ */
933
+ --_switch-gap-compensation: 0.1rem;
934
+
935
+ position: relative;
936
+ gap: calc(
937
+ var(--eds-generic-gap-horizontal) + var(--_switch-gap-compensation)
938
+ );
939
+ padding-inline: var(--eds-selectable-space-horizontal);
940
+ padding-block: var(--eds-selectable-space-vertical);
941
+ width: auto;
942
+ border-radius: var(--eds-spacing-border-radius-rounded);
943
+ cursor: pointer;
944
+ transition: background-color 150ms;
945
+ }
946
+
947
+ .eds-switch {
948
+ &:has(.eds-switch__input:focus-visible) {
949
+ outline: var(--eds-sizing-stroke-thin) solid var(--eds-color-border-focus);
950
+ outline-offset: var(--eds-sizing-stroke-thick);
951
+ }
952
+
953
+ &[data-disabled='true'] {
954
+ cursor: not-allowed;
955
+ }
956
+
957
+ @media (hover: hover) and (pointer: fine) {
958
+ &:hover:not([data-disabled='true']) {
959
+ background-color: var(--_switch-hover-color);
960
+ }
961
+ }
962
+
963
+ & .eds-field__label {
964
+ cursor: pointer;
965
+ }
966
+
967
+ &[data-disabled='true'] .eds-field__label {
968
+ color: var(--eds-color-border-medium);
969
+ cursor: not-allowed;
970
+ }
971
+ }
972
+
973
+ .eds-switch__control {
974
+ display: inline-flex;
975
+ align-items: center;
976
+ justify-content: center;
977
+ flex-shrink: 0;
978
+ min-block-size: var(--_icon-size);
979
+ /* Negative margin for alignment with Checkbox/Radio icons */
980
+ margin-block: -6px;
981
+ margin-inline: -1.9px;
982
+ }
983
+
984
+ [data-density='comfortable'] .eds-switch__control {
985
+ margin-inline: -2.1px;
986
+ }
987
+
988
+ .eds-switch__input {
989
+ position: absolute;
990
+ inset: 0;
991
+ z-index: 1;
992
+ margin: 0;
993
+ appearance: none;
994
+ cursor: pointer;
995
+
996
+ &:focus {
997
+ outline: none;
998
+ }
999
+
1000
+ &:disabled {
1001
+ cursor: not-allowed;
1002
+ }
1003
+ }
1004
+
1005
+ .eds-switch__track {
1006
+ position: relative;
1007
+ display: inline-block;
1008
+ inline-size: var(--_track-width);
1009
+ block-size: var(--_track-height);
1010
+ border-radius: var(--eds-spacing-border-radius-pill);
1011
+ background-color: var(--eds-color-bg-fill-muted-default);
1012
+ transition: background-color 150ms;
1013
+ pointer-events: none;
1014
+
1015
+ @media (hover: hover) and (pointer: fine) {
1016
+ .eds-switch:hover:not([data-disabled='true']) & {
1017
+ background-color: var(--_track-hover-bg);
1018
+ }
1019
+ }
1020
+ }
1021
+
1022
+ .eds-switch__handle {
1023
+ position: absolute;
1024
+ inset-block-start: 50%;
1025
+ inset-inline-start: 0;
1026
+ translate: 0 -50%;
1027
+ inline-size: var(--_handle-size);
1028
+ block-size: var(--_handle-size);
1029
+ border-radius: var(--eds-spacing-border-radius-pill);
1030
+ background-color: var(--eds-color-bg-fill-emphasis-default);
1031
+ box-shadow: var(--eds-elevation-raised);
1032
+ transition:
1033
+ inset-inline-start 150ms,
1034
+ background-color 150ms;
1035
+ pointer-events: none;
1036
+
1037
+ .eds-switch:has(.eds-switch__input:checked) & {
1038
+ inset-inline-start: calc(100% - var(--_handle-size));
1039
+ }
1040
+
1041
+ .eds-switch:has(.eds-switch__input:disabled) & {
1042
+ background-color: var(--eds-color-border-medium);
1043
+ box-shadow: none;
1044
+ }
1045
+ }
1046
+ }
1047
+ @layer eds-components {
1048
+ /* Container */
1049
+ .eds-input-container {
1050
+ isolation: isolate;
1051
+ display: flex;
1052
+ flex-direction: row;
1053
+ align-items: center;
1054
+ gap: var(--eds-typography-gap-horizontal);
1055
+ box-sizing: border-box;
1056
+ inline-size: 100%;
1057
+ background: var(--eds-color-bg-canvas);
1058
+ /* Use outline instead of border to not affect height (36px target) */
1059
+ outline: var(--eds-sizing-stroke-thin) solid var(--eds-color-border-subtle);
1060
+ outline-offset: calc(-1 * var(--eds-sizing-stroke-thin));
1061
+ border-radius: var(--eds-spacing-border-radius-none);
1062
+ padding-inline: var(--eds-selectable-space-horizontal);
1063
+ padding-block: var(--eds-selectable-space-vertical);
1064
+ transition:
1065
+ background-color 150ms,
1066
+ outline-color 150ms;
1067
+
1068
+ /* Hover - only for enabled inputs */
1069
+ &:hover:not([data-disabled]):not([data-readonly]) {
1070
+ outline-color: var(--eds-color-border-strong);
1071
+
1072
+ & .eds-input {
1073
+ color: var(--eds-color-text-strong);
1074
+ /* -webkit-text-fill-color overrides Safari autofill background styling */
1075
+ -webkit-text-fill-color: var(--eds-color-text-strong);
1076
+
1077
+ &::placeholder {
1078
+ color: var(--eds-color-text-strong);
1079
+ -webkit-text-fill-color: var(--eds-color-text-strong);
1080
+ }
1081
+ }
1082
+
1083
+ /* Hover for adornments - only when not invalid */
1084
+ &:not([data-invalid]) {
1085
+ & .eds-adornment__text,
1086
+ & .eds-adornment__adornment {
1087
+ color: var(--eds-color-text-strong);
1088
+ }
1089
+ }
1090
+ }
1091
+
1092
+ /* Focus state - border stays in place, focus ring appears outside with gap
1093
+ Matches Switch pattern: stroke-thin ring with stroke-thick gap */
1094
+ &:focus-within {
1095
+ outline-color: var(--eds-color-border-strong);
1096
+ /* Use box-shadow since outline is used for the border */
1097
+ box-shadow:
1098
+ 0 0 0 var(--eds-sizing-stroke-thick) var(--eds-color-bg-canvas),
1099
+ 0 0 0
1100
+ calc(var(--eds-sizing-stroke-thick) + var(--eds-sizing-stroke-thin))
1101
+ var(--eds-color-border-focus);
1102
+ }
1103
+
1104
+ /* Invalid state */
1105
+ &[data-invalid] {
1106
+ outline-color: var(--eds-color-border-medium);
1107
+
1108
+ &:focus-within {
1109
+ outline-color: var(--eds-color-border-strong);
1110
+ box-shadow:
1111
+ 0 0 0 var(--eds-sizing-stroke-thick) var(--eds-color-bg-canvas),
1112
+ 0 0 0
1113
+ calc(var(--eds-sizing-stroke-thick) + var(--eds-sizing-stroke-thin))
1114
+ var(--eds-color-border-focus);
1115
+ }
1116
+
1117
+ & .eds-input::placeholder {
1118
+ color: var(--eds-color-border-strong);
1119
+ -webkit-text-fill-color: var(--eds-color-border-strong);
1120
+ }
1121
+ }
1122
+
1123
+ /* Disabled state */
1124
+ &[data-disabled] {
1125
+ cursor: not-allowed;
1126
+ outline-color: transparent;
1127
+
1128
+ & .eds-input {
1129
+ color: var(--eds-color-border-medium);
1130
+ cursor: not-allowed;
1131
+ opacity: 1;
1132
+ -webkit-text-fill-color: var(
1133
+ --eds-color-border-medium
1134
+ ); /* Safari autofill override */
1135
+
1136
+ &::placeholder {
1137
+ color: var(--eds-color-border-medium);
1138
+ -webkit-text-fill-color: var(--eds-color-border-medium);
1139
+ }
1140
+ }
1141
+
1142
+ & .eds-adornment__text,
1143
+ & .eds-adornment__adornment,
1144
+ & .eds-error-icon {
1145
+ color: var(--eds-color-border-medium);
1146
+ }
1147
+ }
1148
+
1149
+ /* Readonly state */
1150
+ &[data-readonly] {
1151
+ outline-color: transparent;
1152
+
1153
+ & .eds-input {
1154
+ color: var(--eds-color-border-strong);
1155
+ -webkit-text-fill-color: var(
1156
+ --eds-color-border-strong
1157
+ ); /* Safari autofill override */
1158
+
1159
+ &::placeholder {
1160
+ color: var(--eds-color-border-strong);
1161
+ -webkit-text-fill-color: var(--eds-color-border-strong);
1162
+ }
1163
+ }
1164
+
1165
+ & .eds-adornment__text,
1166
+ & .eds-adornment__adornment {
1167
+ color: var(--eds-color-border-strong);
1168
+ }
1169
+ }
1170
+ }
1171
+
1172
+ /* Input/Textarea element */
1173
+ .eds-input {
1174
+ flex: 1;
1175
+ min-inline-size: 0;
1176
+ border: var(--eds-sizing-stroke-none);
1177
+ background: transparent;
1178
+ outline: none;
1179
+ color: var(--eds-color-text-strong);
1180
+ padding: 0;
1181
+ overflow: hidden;
1182
+ white-space: nowrap;
1183
+ text-overflow: ellipsis;
1184
+ resize: none;
1185
+
1186
+ &::placeholder {
1187
+ color: var(--eds-color-border-strong);
1188
+ }
1189
+ }
1190
+
1191
+ /* Error icon */
1192
+ .eds-error-icon {
1193
+ color: var(--eds-color-text-subtle);
1194
+ flex-shrink: 0;
1195
+ }
1196
+
1197
+ /* Adornments container */
1198
+ .eds-adornment {
1199
+ display: flex;
1200
+ align-items: center;
1201
+ gap: var(--eds-typography-gap-horizontal);
1202
+ flex-shrink: 0;
1203
+ }
1204
+
1205
+ /* Adornment text (prefix/suffix) */
1206
+ .eds-adornment__text {
1207
+ color: var(--eds-color-text-subtle);
1208
+ }
1209
+
1210
+ /* Adornment icons */
1211
+ .eds-adornment__adornment {
1212
+ color: var(--eds-color-text-subtle);
1213
+ }
1214
+ }
1215
+ @layer eds-components {
1216
+ .eds-text-field__header {
1217
+ display: flex;
1218
+ align-items: center;
1219
+ justify-content: space-between;
1220
+ gap: var(--eds-typography-gap-horizontal);
1221
+ inline-size: 100%;
1222
+ }
1223
+
1224
+ .eds-text-field__info {
1225
+ display: inline-flex;
1226
+ align-items: center;
1227
+ flex-shrink: 0;
1228
+ padding: 0;
1229
+ border: none;
1230
+ background: transparent;
1231
+ color: var(--eds-color-icon-subtle);
1232
+ cursor: pointer;
1233
+ margin-block: calc(var(--eds-sizing-icon-xs) / -2);
1234
+
1235
+ &:hover,
1236
+ &:focus-visible {
1237
+ color: var(--eds-color-icon-info);
1238
+
1239
+ & svg {
1240
+ background: var(--eds-color-bg-fill-muted-hover);
1241
+ border-radius: var(--eds-spacing-border-radius-pill);
1242
+ }
1243
+ }
1244
+
1245
+ &:focus-visible {
1246
+ outline: var(--eds-sizing-stroke-thick) solid var(--eds-color-focus);
1247
+ outline-offset: var(--eds-sizing-stroke-thick);
1248
+ border-radius: var(--eds-spacing-border-radius-pill);
1249
+ }
1250
+ }
1251
+ }
1252
+