/**
 * Source Tailwind — compilée vers app.css par `npm run css`.
 * Les polices sont EMBARQUÉES (§1 : 100 % hors ligne, §2.2 : aucun chargement distant).
 */

/* -- Polices locales ------------------------------------------------------ */

@font-face {
  font-family: 'Inter';

  font-style: normal;

  font-weight: 400;

  font-display: swap;

  src: url('../polices/inter-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';

  font-style: normal;

  font-weight: 500;

  font-display: swap;

  src: url('../polices/inter-latin-500-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';

  font-style: normal;

  font-weight: 600;

  font-display: swap;

  src: url('../polices/inter-latin-600-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Manrope';

  font-style: normal;

  font-weight: 600;

  font-display: swap;

  src: url('../polices/manrope-latin-600-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Manrope';

  font-style: normal;

  font-weight: 700;

  font-display: swap;

  src: url('../polices/manrope-latin-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Manrope';

  font-style: normal;

  font-weight: 800;

  font-display: swap;

  src: url('../polices/manrope-latin-800-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Material Symbols Outlined';

  font-style: normal;

  font-weight: 100 700;

  font-display: block;

  src: url('../polices/material-symbols-outlined.woff2') format('woff2');
}

/**
 * Palettes — thème clair et thème sombre.
 *
 * Les valeurs sont en composantes RGB brutes (« 247 249 251 ») et non en
 * hexadécimal : c'est ce qu'exige `rgb(var(--x) / <alpha-value>)` côté Tailwind
 * pour que les opacités (`bg-primary/20`) continuent de fonctionner.
 *
 * Le thème clair est celui du DESIGN.md. Le thème sombre n'y figure pas : il est
 * dérivé selon les règles Material 3 dont ce design system est issu — les rôles
 * s'inversent (`primary` devient `inverse-primary`), les surfaces descendent
 * vers un gris bleuté très sombre plutôt que du noir pur, et les conteneurs de
 * statut échangent leur teinte avec leur texte.
 */

:root {
  --surface: 247 249 251;
  --surface-dim: 216 218 220;
  --surface-bright: 247 249 251;
  --surface-container-lowest: 255 255 255;
  --surface-container-low: 242 244 246;
  --surface-container: 236 238 240;
  --surface-container-high: 230 232 234;
  --surface-container-highest: 224 227 229;
  --on-surface: 25 28 30;
  --on-surface-variant: 66 71 79;
  --inverse-surface: 45 49 51;
  --inverse-on-surface: 239 241 243;
  --outline: 114 119 128;
  --outline-variant: 194 199 209;
  --surface-tint: 45 97 151;
  --primary: 0 53 95;
  --on-primary: 255 255 255;
  --primary-container: 15 76 129;
  --on-primary-container: 142 189 249;
  --inverse-primary: 160 201 255;
  --secondary: 0 98 158;
  --on-secondary: 255 255 255;
  --secondary-container: 117 187 254;
  --on-secondary-container: 0 74 121;
  --tertiary: 36 53 69;
  --on-tertiary: 255 255 255;
  --tertiary-container: 58 76 92;
  --on-tertiary-container: 169 188 207;
  --error: 186 26 26;
  --on-error: 255 255 255;
  --error-container: 255 218 214;
  --on-error-container: 147 0 10;
  --success: 27 109 58;
  --on-success: 255 255 255;
  --success-container: 200 240 214;
  --on-success-container: 4 53 26;
  --warning: 138 81 0;
  --on-warning: 255 255 255;
  --warning-container: 255 221 182;
  --on-warning-container: 44 23 0;
  /* Les jetons « fixed » ne changent pas d'un thème à l'autre (règle M3). */
  --primary-fixed: 210 228 255;
  --primary-fixed-dim: 160 201 255;
  --on-primary-fixed: 0 28 55;
  --on-primary-fixed-variant: 7 73 125;
  --secondary-fixed: 207 229 255;
  --secondary-fixed-dim: 153 203 255;
  --on-secondary-fixed: 0 29 52;
  --on-secondary-fixed-variant: 0 74 120;
  --tertiary-fixed: 210 229 249;
  --tertiary-fixed-dim: 182 201 220;
  --on-tertiary-fixed: 10 29 44;
  --on-tertiary-fixed-variant: 55 73 89;
  --background: 247 249 251;
  --on-background: 25 28 30;
  --surface-variant: 224 227 229;
  /* Élévation multi-couches : un contact net très serré + une ombre ambiante
       large et douce. Plus subtil et plus « produit » qu'une ombre unique. */
  --ombre-carte: 0px 1px 2px rgba(15, 76, 129, 0.05), 0px 6px 20px -6px rgba(15, 76, 129, 0.12);
  --ombre-carte-survol: 0px 2px 4px rgba(15, 76, 129, 0.07), 0px 16px 32px -10px rgba(15, 76, 129, 0.20);
  --ombre-modale: 0px 4px 12px rgba(15, 76, 129, 0.10), 0px 24px 56px -12px rgba(15, 76, 129, 0.28);
  --ombre-bouton: 0px 1px 2px rgba(0, 53, 95, 0.20), 0px 3px 8px -2px rgba(0, 53, 95, 0.24);
  --ombre-bouton-survol: 0px 2px 4px rgba(0, 53, 95, 0.24), 0px 8px 18px -4px rgba(0, 53, 95, 0.34);
  color-scheme: light;
}

.sombre {
  /* Gris bleuté, pas du noir pur : le noir absolu fatigue et fait « écran
       éteint » sur les dalles OLED comme LCD. */
  --surface: 16 20 24;
  --surface-dim: 16 20 24;
  --surface-bright: 54 58 62;
  --surface-container-lowest: 11 15 18;
  --surface-container-low: 24 28 32;
  --surface-container: 28 32 36;
  --surface-container-high: 39 43 47;
  --surface-container-highest: 50 53 58;
  --on-surface: 224 227 229;
  --on-surface-variant: 194 199 209;
  --inverse-surface: 224 227 229;
  --inverse-on-surface: 45 49 51;
  --outline: 140 145 153;
  --outline-variant: 66 71 79;
  --surface-tint: 160 201 255;
  /* Le bleu profond du logo devient illisible sur fond sombre : les rôles
       s'inversent, `primary` prend la valeur de `inverse-primary`. */
  --primary: 160 201 255;
  --on-primary: 0 50 90;
  --primary-container: 7 73 125;
  --on-primary-container: 210 228 255;
  --inverse-primary: 0 53 95;
  --secondary: 153 203 255;
  --on-secondary: 0 51 84;
  --secondary-container: 0 74 121;
  --on-secondary-container: 207 229 255;
  --tertiary: 182 201 220;
  --on-tertiary: 32 52 70;
  --tertiary-container: 58 76 92;
  --on-tertiary-container: 210 229 249;
  --error: 255 180 171;
  --on-error: 105 0 5;
  --error-container: 147 0 10;
  --on-error-container: 255 218 214;
  --success: 127 217 155;
  --on-success: 0 57 23;
  --success-container: 11 77 38;
  --on-success-container: 200 240 214;
  --warning: 255 185 92;
  --on-warning: 71 42 0;
  --warning-container: 107 61 0;
  --on-warning-container: 255 221 182;
  --background: 16 20 24;
  --on-background: 224 227 229;
  --surface-variant: 66 71 79;
  /* Une ombre bleue ne se voit pas sur fond sombre : on passe au noir franc. */
  --ombre-carte: 0px 1px 2px rgba(0, 0, 0, 0.40), 0px 8px 24px -8px rgba(0, 0, 0, 0.55);
  --ombre-carte-survol: 0px 2px 4px rgba(0, 0, 0, 0.45), 0px 18px 36px -10px rgba(0, 0, 0, 0.65);
  --ombre-modale: 0px 4px 12px rgba(0, 0, 0, 0.5), 0px 28px 60px -12px rgba(0, 0, 0, 0.7);
  --ombre-bouton: 0px 1px 2px rgba(0, 0, 0, 0.45), 0px 3px 8px -2px rgba(0, 0, 0, 0.5);
  --ombre-bouton-survol: 0px 2px 4px rgba(0, 0, 0, 0.5), 0px 8px 18px -4px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/*! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
 */

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  /* Application de bureau : la sélection de texte au glisser fait « site web ». */
  -webkit-user-select: none;
  -moz-user-select: none;
       user-select: none;
}

/* Le contenu réellement lisible/copiable le reste. */

input, textarea, select, [data-selectable] {
  -webkit-user-select: text;
  -moz-user-select: text;
       user-select: text;
}

:focus-visible {
  outline: 2px solid rgb(var(--secondary));
  /* DESIGN.md « Active States » */
  outline-offset: 2px;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgb(var(--surface-container-low));
}

::-webkit-scrollbar-thumb {
  background: rgb(var(--outline-variant));
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgb(var(--outline));
}

/* Les champs de date/heure natifs restent blancs en thème sombre sans ceci. */

.sombre input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1) opacity(0.7);
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.material-symbols-outlined.rempli {
  font-variation-settings: 'FILL' 1;
}

/* Carte : blanc pur + bord 1px + ombre ambiante bleutée (DESIGN.md).
       Coins un peu plus doux (xl) et transition prête pour les survols. */

.carte {
  border-radius: 0.75rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--outline-variant) / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(var(--surface-container-lowest) / var(--tw-bg-opacity, 1));
  --tw-shadow: var(--ombre-carte);
  --tw-shadow-colored: var(--ombre-carte);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  transition-property: box-shadow,border-color,transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Modificateur pour les cartes réellement cliquables (KPI, lignes-cartes) :
       légère élévation au survol. Optionnel — n'affecte pas les cartes statiques. */

.btn-primaire {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(var(--primary) / var(--tw-bg-opacity, 1));
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 1rem;
  padding-right: 1rem;
  font-family: Inter, sans-serif;
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(var(--on-primary) / var(--tw-text-opacity, 1));
  --tw-shadow: var(--ombre-bouton);
  --tw-shadow-colored: var(--ombre-bouton);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  transition-property: background-color,box-shadow,transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primaire:hover {
  --tw-translate-y: -1px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  --tw-bg-opacity: 1;
  background-color: rgb(var(--primary-container) / var(--tw-bg-opacity, 1));
  --tw-shadow: var(--ombre-bouton-survol);
  --tw-shadow-colored: var(--ombre-bouton-survol);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.btn-primaire:active {
  --tw-translate-y: 0px;
  --tw-scale-x: 0.98;
  --tw-scale-y: 0.98;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  --tw-shadow: var(--ombre-bouton);
  --tw-shadow-colored: var(--ombre-bouton);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.btn-primaire:disabled {
  pointer-events: none;
  opacity: 0.5;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

/* Bouton secondaire : contour « Metallic Slate » (DESIGN.md « Components »). */

.btn-secondaire {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--outline-variant) / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(var(--surface-container-lowest) / var(--tw-bg-opacity, 1));
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 1rem;
  padding-right: 1rem;
  font-family: Inter, sans-serif;
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(var(--on-surface-variant) / var(--tw-text-opacity, 1));
  transition-property: background-color,border-color,box-shadow,transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-secondaire:hover {
  --tw-border-opacity: 1;
  border-color: rgb(var(--outline) / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(var(--surface-container) / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(var(--on-surface) / var(--tw-text-opacity, 1));
  --tw-shadow: var(--ombre-carte);
  --tw-shadow-colored: var(--ombre-carte);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.btn-secondaire:active {
  --tw-scale-x: 0.98;
  --tw-scale-y: 0.98;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.btn-secondaire:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.btn-danger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(var(--error) / var(--tw-bg-opacity, 1));
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 1rem;
  padding-right: 1rem;
  font-family: Inter, sans-serif;
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(var(--on-error) / var(--tw-text-opacity, 1));
  --tw-shadow: var(--ombre-bouton);
  --tw-shadow-colored: var(--ombre-bouton);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  transition-property: background-color,box-shadow,transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-danger:hover {
  --tw-translate-y: -1px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  --tw-bg-opacity: 1;
  background-color: rgb(var(--on-error-container) / var(--tw-bg-opacity, 1));
  --tw-shadow: var(--ombre-bouton-survol);
  --tw-shadow-colored: var(--ombre-bouton-survol);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.btn-danger:active {
  --tw-translate-y: 0px;
  --tw-scale-x: 0.98;
  --tw-scale-y: 0.98;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.btn-discret {
  border-radius: 0.5rem;
  padding: 0.5rem;
  --tw-text-opacity: 1;
  color: rgb(var(--on-surface-variant) / var(--tw-text-opacity, 1));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.btn-discret:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--surface-container) / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(var(--on-surface) / var(--tw-text-opacity, 1));
}

.btn-discret:active {
  --tw-scale-x: .95;
  --tw-scale-y: .95;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

/* Champ : label toujours visible, focus en Secondary Blue (DESIGN.md). */

.champ {
  display: block;
  width: 100%;
  border-radius: 0.5rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--outline-variant) / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(var(--surface) / var(--tw-bg-opacity, 1));
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  font-family: Inter, sans-serif;
  font-size: 15px;
  line-height: 22px;
  font-weight: 400;
  --tw-text-opacity: 1;
  color: rgb(var(--on-surface) / var(--tw-text-opacity, 1));
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.champ:hover {
  --tw-border-opacity: 1;
  border-color: rgb(var(--outline) / var(--tw-border-opacity, 1));
}

.champ:focus {
  border-color: transparent;
  --tw-bg-opacity: 1;
  background-color: rgb(var(--surface-container-lowest) / var(--tw-bg-opacity, 1));
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(var(--secondary) / var(--tw-ring-opacity, 1));
}

.champ:disabled {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--surface-container) / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(var(--on-surface-variant) / var(--tw-text-opacity, 1));
}

.champ-erreur {
  --tw-border-opacity: 1;
  border-color: rgb(var(--error) / var(--tw-border-opacity, 1));
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(var(--error) / var(--tw-ring-opacity, 1));
}

.etiquette {
  margin-bottom: 0.375rem;
  display: block;
  font-family: Inter, sans-serif;
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(var(--on-surface) / var(--tw-text-opacity, 1));
}

/* Tableau : en-têtes Label-md, lignes alternées (DESIGN.md « Data Tables »). */

.th {
  white-space: nowrap;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  text-align: left;
  font-family: Inter, sans-serif;
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  --tw-text-opacity: 1;
  color: rgb(var(--on-surface-variant) / var(--tw-text-opacity, 1));
}

.td {
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  vertical-align: middle;
  font-family: Inter, sans-serif;
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
}

/* Badge : fond teinté clair + texte contrasté (DESIGN.md « Chips/Badges »). */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  white-space: nowrap;
  border-radius: 9999px;
  padding-left: 0.625rem;
  padding-right: 0.625rem;
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
  font-family: Inter, sans-serif;
  font-size: 11px;
  line-height: 13px;
  font-weight: 600;
}

.pastille {
  height: 0.375rem;
  width: 0.375rem;
  flex-shrink: 0;
  border-radius: 9999px;
}

.pointer-events-none {
  pointer-events: none;
}

.pointer-events-auto {
  pointer-events: auto;
}

.visible {
  visibility: visible;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.inset-0 {
  inset: 0px;
}

.inset-x-0 {
  left: 0px;
  right: 0px;
}

.inset-y-0 {
  top: 0px;
  bottom: 0px;
}

.-top-1 {
  top: -0.25rem;
}

.bottom-0 {
  bottom: 0px;
}

.bottom-6 {
  bottom: 1.5rem;
}

.left-0 {
  left: 0px;
}

.left-1\/2 {
  left: 50%;
}

.left-3 {
  left: 0.75rem;
}

.left-\[15px\] {
  left: 15px;
}

.right-0 {
  right: 0px;
}

.right-4 {
  right: 1rem;
}

.right-6 {
  right: 1.5rem;
}

.top-1\/2 {
  top: 50%;
}

.top-4 {
  top: 1rem;
}

.top-8 {
  top: 2rem;
}

.z-0 {
  z-index: 0;
}

.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

.z-50 {
  z-index: 50;
}

.z-\[60\] {
  z-index: 60;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-1\.5 {
  margin-bottom: 0.375rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.ml-1\.5 {
  margin-left: 0.375rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.ml-auto {
  margin-left: auto;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-1\.5 {
  margin-top: 0.375rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.mt-auto {
  margin-top: auto;
}

.block {
  display: block;
}

.inline {
  display: inline;
}

.flex {
  display: flex;
}

.table {
  display: table;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.h-1 {
  height: 0.25rem;
}

.h-10 {
  height: 2.5rem;
}

.h-16 {
  height: 4rem;
}

.h-2 {
  height: 0.5rem;
}

.h-2\/3 {
  height: 66.666667%;
}

.h-20 {
  height: 5rem;
}

.h-4 {
  height: 1rem;
}

.h-8 {
  height: 2rem;
}

.h-9 {
  height: 2.25rem;
}

.h-\[720px\] {
  height: 720px;
}

.h-full {
  height: 100%;
}

.h-screen {
  height: 100vh;
}

.max-h-64 {
  max-height: 16rem;
}

.max-h-full {
  max-height: 100%;
}

.min-h-\[60px\] {
  min-height: 60px;
}

.min-h-\[70px\] {
  min-height: 70px;
}

.min-h-\[80px\] {
  min-height: 80px;
}

.w-1\/2 {
  width: 50%;
}

.w-10 {
  width: 2.5rem;
}

.w-12 {
  width: 3rem;
}

.w-20 {
  width: 5rem;
}

.w-4 {
  width: 1rem;
}

.w-56 {
  width: 14rem;
}

.w-64 {
  width: 16rem;
}

.w-8 {
  width: 2rem;
}

.w-9 {
  width: 2.25rem;
}

.w-auto {
  width: auto;
}

.w-fit {
  width: -moz-fit-content;
  width: fit-content;
}

.w-full {
  width: 100%;
}

.w-px {
  width: 1px;
}

.w-sidebar-width {
  width: 260px;
}

.min-w-0 {
  min-width: 0px;
}

.min-w-\[160px\] {
  min-width: 160px;
}

.min-w-\[180px\] {
  min-width: 180px;
}

.min-w-\[200px\] {
  min-width: 200px;
}

.min-w-\[260px\] {
  min-width: 260px;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-container-max {
  max-width: 1440px;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-sm {
  max-width: 24rem;
}

.max-w-xs {
  max-width: 20rem;
}

.flex-1 {
  flex: 1 1 0%;
}

.shrink-0 {
  flex-shrink: 0;
}

.border-collapse {
  border-collapse: collapse;
}

.-translate-y-1\/2 {
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.translate-x-4 {
  --tw-translate-x: 1rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.translate-y-2 {
  --tw-translate-y: 0.5rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.scale-95 {
  --tw-scale-x: .95;
  --tw-scale-y: .95;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

.cursor-pointer {
  cursor: pointer;
}

.select-all {
  -webkit-user-select: all;
     -moz-user-select: all;
          user-select: all;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.items-center {
  align-items: center;
}

.items-baseline {
  align-items: baseline;
}

.justify-end {
  justify-content: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-gutter {
  gap: 24px;
}

.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.375rem * var(--tw-space-y-reverse));
}

.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}

.space-y-5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.25rem * var(--tw-space-y-reverse));
}

.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}

.space-y-gutter > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(24px * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(24px * var(--tw-space-y-reverse));
}

.divide-y > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-y-reverse: 0;
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
}

.divide-outline-variant > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-opacity: 1;
  border-color: rgb(var(--outline-variant) / var(--tw-divide-opacity, 1));
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-x-auto {
  overflow-x: auto;
}

.overflow-y-auto {
  overflow-y: auto;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.break-words {
  overflow-wrap: break-word;
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-t {
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}

.border {
  border-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-l-4 {
  border-left-width: 4px;
}

.border-r {
  border-right-width: 1px;
}

.border-r-2 {
  border-right-width: 2px;
}

.border-t {
  border-top-width: 1px;
}

.border-t-2 {
  border-top-width: 2px;
}

.border-error-container {
  --tw-border-opacity: 1;
  border-color: rgb(var(--error-container) / var(--tw-border-opacity, 1));
}

.border-error\/30 {
  border-color: rgb(var(--error) / 0.3);
}

.border-outline {
  --tw-border-opacity: 1;
  border-color: rgb(var(--outline) / var(--tw-border-opacity, 1));
}

.border-outline-variant {
  --tw-border-opacity: 1;
  border-color: rgb(var(--outline-variant) / var(--tw-border-opacity, 1));
}

.border-primary {
  --tw-border-opacity: 1;
  border-color: rgb(var(--primary) / var(--tw-border-opacity, 1));
}

.border-primary\/40 {
  border-color: rgb(var(--primary) / 0.4);
}

.border-transparent {
  border-color: transparent;
}

.border-l-error {
  --tw-border-opacity: 1;
  border-left-color: rgb(var(--error) / var(--tw-border-opacity, 1));
}

.border-l-secondary {
  --tw-border-opacity: 1;
  border-left-color: rgb(var(--secondary) / var(--tw-border-opacity, 1));
}

.border-l-success {
  --tw-border-opacity: 1;
  border-left-color: rgb(var(--success) / var(--tw-border-opacity, 1));
}

.border-l-warning {
  --tw-border-opacity: 1;
  border-left-color: rgb(var(--warning) / var(--tw-border-opacity, 1));
}

.bg-background {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--background) / var(--tw-bg-opacity, 1));
}

.bg-error {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--error) / var(--tw-bg-opacity, 1));
}

.bg-error-container {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--error-container) / var(--tw-bg-opacity, 1));
}

.bg-error-container\/50 {
  background-color: rgb(var(--error-container) / 0.5);
}

.bg-error-container\/60 {
  background-color: rgb(var(--error-container) / 0.6);
}

.bg-inverse-surface {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--inverse-surface) / var(--tw-bg-opacity, 1));
}

.bg-inverse-surface\/40 {
  background-color: rgb(var(--inverse-surface) / 0.4);
}

.bg-outline {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--outline) / var(--tw-bg-opacity, 1));
}

.bg-outline-variant {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--outline-variant) / var(--tw-bg-opacity, 1));
}

.bg-primary {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--primary) / var(--tw-bg-opacity, 1));
}

.bg-primary-container {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--primary-container) / var(--tw-bg-opacity, 1));
}

.bg-primary-container\/20 {
  background-color: rgb(var(--primary-container) / 0.2);
}

.bg-primary-fixed {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--primary-fixed) / var(--tw-bg-opacity, 1));
}

.bg-secondary {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--secondary) / var(--tw-bg-opacity, 1));
}

.bg-secondary-container {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--secondary-container) / var(--tw-bg-opacity, 1));
}

.bg-secondary-container\/20 {
  background-color: rgb(var(--secondary-container) / 0.2);
}

.bg-secondary-container\/40 {
  background-color: rgb(var(--secondary-container) / 0.4);
}

.bg-success {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--success) / var(--tw-bg-opacity, 1));
}

.bg-success-container {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--success-container) / var(--tw-bg-opacity, 1));
}

.bg-success-container\/50 {
  background-color: rgb(var(--success-container) / 0.5);
}

.bg-surface {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--surface) / var(--tw-bg-opacity, 1));
}

.bg-surface-bright\/50 {
  background-color: rgb(var(--surface-bright) / 0.5);
}

.bg-surface-container {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--surface-container) / var(--tw-bg-opacity, 1));
}

.bg-surface-container-high {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--surface-container-high) / var(--tw-bg-opacity, 1));
}

.bg-surface-container-highest {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--surface-container-highest) / var(--tw-bg-opacity, 1));
}

.bg-surface-container-low {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--surface-container-low) / var(--tw-bg-opacity, 1));
}

.bg-surface-container-lowest {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--surface-container-lowest) / var(--tw-bg-opacity, 1));
}

.bg-tertiary {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--tertiary) / var(--tw-bg-opacity, 1));
}

.bg-tertiary-container {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--tertiary-container) / var(--tw-bg-opacity, 1));
}

.bg-tertiary-fixed {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--tertiary-fixed) / var(--tw-bg-opacity, 1));
}

.bg-tertiary-fixed\/60 {
  background-color: rgb(var(--tertiary-fixed) / 0.6);
}

.bg-warning {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--warning) / var(--tw-bg-opacity, 1));
}

.bg-warning-container {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--warning-container) / var(--tw-bg-opacity, 1));
}

.bg-warning-container\/50 {
  background-color: rgb(var(--warning-container) / 0.5);
}

.object-contain {
  -o-object-fit: contain;
     object-fit: contain;
}

.object-left {
  -o-object-position: left;
     object-position: left;
}

.p-0\.5 {
  padding: 0.125rem;
}

.p-14 {
  padding: 3.5rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-5 {
  padding: 1.25rem;
}

.p-6 {
  padding: 1.5rem;
}

.px-12 {
  padding-left: 3rem;
  padding-right: 3rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.pb-4 {
  padding-bottom: 1rem;
}

.pl-10 {
  padding-left: 2.5rem;
}

.pr-12 {
  padding-right: 3rem;
}

.pr-3 {
  padding-right: 0.75rem;
}

.pr-4 {
  padding-right: 1rem;
}

.pt-10 {
  padding-top: 2.5rem;
}

.pt-4 {
  padding-top: 1rem;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.font-body-lg {
  font-family: Inter, sans-serif;
}

.font-body-md {
  font-family: Inter, sans-serif;
}

.font-body-sm {
  font-family: Inter, sans-serif;
}

.font-headline-lg {
  font-family: Manrope, sans-serif;
}

.font-headline-md {
  font-family: Manrope, sans-serif;
}

.font-headline-xl {
  font-family: Manrope, sans-serif;
}

.font-label-md {
  font-family: Inter, sans-serif;
}

.font-label-sm {
  font-family: Inter, sans-serif;
}

.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.text-\[14px\] {
  font-size: 14px;
}

.text-\[16px\] {
  font-size: 16px;
}

.text-\[18px\] {
  font-size: 18px;
}

.text-\[20px\] {
  font-size: 20px;
}

.text-\[32px\] {
  font-size: 32px;
}

.text-\[48px\] {
  font-size: 48px;
}

.text-body-lg {
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
}

.text-body-md {
  font-size: 15px;
  line-height: 22px;
  font-weight: 400;
}

.text-body-sm {
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
}

.text-headline-lg {
  font-size: 22px;
  line-height: 30px;
  font-weight: 600;
}

.text-headline-md {
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
}

.text-headline-xl {
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.text-label-md {
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
}

.text-label-sm {
  font-size: 11px;
  line-height: 13px;
  font-weight: 500;
}

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.uppercase {
  text-transform: uppercase;
}

.capitalize {
  text-transform: capitalize;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.text-error {
  --tw-text-opacity: 1;
  color: rgb(var(--error) / var(--tw-text-opacity, 1));
}

.text-inverse-on-surface {
  --tw-text-opacity: 1;
  color: rgb(var(--inverse-on-surface) / var(--tw-text-opacity, 1));
}

.text-on-background {
  --tw-text-opacity: 1;
  color: rgb(var(--on-background) / var(--tw-text-opacity, 1));
}

.text-on-error-container {
  --tw-text-opacity: 1;
  color: rgb(var(--on-error-container) / var(--tw-text-opacity, 1));
}

.text-on-primary {
  --tw-text-opacity: 1;
  color: rgb(var(--on-primary) / var(--tw-text-opacity, 1));
}

.text-on-primary-fixed {
  --tw-text-opacity: 1;
  color: rgb(var(--on-primary-fixed) / var(--tw-text-opacity, 1));
}

.text-on-secondary-container {
  --tw-text-opacity: 1;
  color: rgb(var(--on-secondary-container) / var(--tw-text-opacity, 1));
}

.text-on-success-container {
  --tw-text-opacity: 1;
  color: rgb(var(--on-success-container) / var(--tw-text-opacity, 1));
}

.text-on-surface {
  --tw-text-opacity: 1;
  color: rgb(var(--on-surface) / var(--tw-text-opacity, 1));
}

.text-on-surface-variant {
  --tw-text-opacity: 1;
  color: rgb(var(--on-surface-variant) / var(--tw-text-opacity, 1));
}

.text-on-tertiary-fixed {
  --tw-text-opacity: 1;
  color: rgb(var(--on-tertiary-fixed) / var(--tw-text-opacity, 1));
}

.text-on-warning-container {
  --tw-text-opacity: 1;
  color: rgb(var(--on-warning-container) / var(--tw-text-opacity, 1));
}

.text-outline {
  --tw-text-opacity: 1;
  color: rgb(var(--outline) / var(--tw-text-opacity, 1));
}

.text-primary {
  --tw-text-opacity: 1;
  color: rgb(var(--primary) / var(--tw-text-opacity, 1));
}

.text-secondary {
  --tw-text-opacity: 1;
  color: rgb(var(--secondary) / var(--tw-text-opacity, 1));
}

.text-success {
  --tw-text-opacity: 1;
  color: rgb(var(--success) / var(--tw-text-opacity, 1));
}

.text-tertiary {
  --tw-text-opacity: 1;
  color: rgb(var(--tertiary) / var(--tw-text-opacity, 1));
}

.text-warning {
  --tw-text-opacity: 1;
  color: rgb(var(--warning) / var(--tw-text-opacity, 1));
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.text-white\/85 {
  color: rgb(255 255 255 / 0.85);
}

.accent-primary {
  accent-color: rgb(var(--primary) / 1);
}

.opacity-0 {
  opacity: 0;
}

.opacity-10 {
  opacity: 0.1;
}

.opacity-70 {
  opacity: 0.7;
}

.shadow-modale {
  --tw-shadow: var(--ombre-modale);
  --tw-shadow-colored: var(--ombre-modale);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.ring-1 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.ring-outline-variant\/60 {
  --tw-ring-color: rgb(var(--outline-variant) / 0.6);
}

.blur {
  --tw-blur: blur(8px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.brightness-0 {
  --tw-brightness: brightness(0);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.invert {
  --tw-invert: invert(100%);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.backdrop-blur-\[2px\] {
  --tw-backdrop-blur: blur(2px);
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-150 {
  transition-duration: 150ms;
}

.duration-300 {
  transition-duration: 300ms;
}

/**
 * Impression — utilisée par `webContents.printToPDF()` pour les rapports (§5.8).
 *
 * Sans ces règles, le PDF contient la barre latérale, la recherche et les
 * boutons : `printToPDF` photographie la page telle quelle. On ne garde que le
 * document.
 */

@media print {
  /* A4 paysage : le détail des commandes compte neuf colonnes. En portrait
       (~700 px utiles) elles ne rentrent pas et le tableau serait tronqué.
       `preferCSSPageSize: true` côté main fait respecter cette règle. */

  @page {
    size: A4 landscape;

    margin: 12mm;
  }

  /* On imprime sur du papier blanc : le thème sombre repasse en clair, sinon
       le rapport sort en blanc sur noir et vide la cartouche d'encre. */

  :root, .sombre {
    --surface: 255 255 255;
    --surface-dim: 255 255 255;
    --surface-bright: 255 255 255;
    --surface-container-lowest: 255 255 255;
    --surface-container-low: 255 255 255;
    --surface-container: 244 245 247;
    --surface-container-high: 244 245 247;
    --surface-container-highest: 236 238 240;
    --on-surface: 25 28 30;
    --on-surface-variant: 66 71 79;
    --outline: 114 119 128;
    --outline-variant: 194 199 209;
    --primary: 0 53 95;
    --on-primary: 255 255 255;
    --secondary: 0 98 158;
    --tertiary: 36 53 69;
    --error: 186 26 26;
    --error-container: 255 218 214;
    --on-error-container: 147 0 10;
    --success: 27 109 58;
    --success-container: 200 240 214;
    --on-success-container: 4 53 26;
    --warning: 138 81 0;
    --warning-container: 255 221 182;
    --on-warning-container: 44 23 0;
    --background: 255 255 255;
    --on-background: 25 28 30;
    color-scheme: light;
  }

  /* La coquille de l'application n'a rien à faire dans un rapport. */

  nav,
    header,
    #toasts,
    #bandeau-alerte,
    #progression-sauvegarde,
    #ecran-connexion,
    .sans-impression {
    display: none !important;
  }

  /* Le conteneur défile à l'écran ; à l'impression, le contenu doit couler
       librement sur plusieurs pages, sinon seule la partie visible sort. */

  html, body, #ecran-application, main, #contenu {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
    background: #ffffff !important;
  }

  #contenu {
    padding: 0 !important;
  }

  /* À l'écran, un tableau large défile horizontalement. Sur papier on ne
       défile pas : sans cette règle, les dernières colonnes sont coupées. */

  .overflow-x-auto,
    .overflow-y-auto,
    .overflow-hidden {
    overflow: visible !important;
    max-height: none !important;
  }

  /* Le contenu doit tenir dans la largeur de la page, pas dans celle de l'écran. */

  .max-w-container-max {
    max-width: 100% !important;
  }

  table {
    width: 100% !important;
    table-layout: auto;
  }

  /* Densité « papier » : neuf colonnes doivent tenir sans se chevaucher. */

  .td, .th {
    padding: 4px 6px !important;
    font-size: 9px !important;
    line-height: 1.35 !important;
  }

  .badge  {
    padding: 1px 4px !important;
    font-size: 8px !important;
  }

  .carte {
    box-shadow: none !important;
    border-color: #c2c7d1 !important;
    -moz-column-break-inside: avoid;
         break-inside: avoid;
    page-break-inside: avoid;
  }

  /* Un tableau long doit pouvoir se couper, mais jamais au milieu d'une ligne. */

  .carte:has(table) {
    -moz-column-break-inside: auto;
         break-inside: auto;
    page-break-inside: auto;
  }

  tr {
    -moz-column-break-inside: avoid;
         break-inside: avoid;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  /* en-tête répété à chaque page */

  tfoot {
    display: table-footer-group;
  }

  /* Les fonds teintés des lignes alternées mangent l'encre pour rien. */

  .bg-surface-bright\/50 {
    background: transparent !important;
  }

  .impression-saut-avant {
    -moz-column-break-before: page;
         break-before: page;
    page-break-before: always;
  }
}

/* Logo du panneau de connexion : entrée en douceur, sinon l'écran d'accueil
   paraît figé (retour client). */

@keyframes logo-entree {
  from {
    opacity: 0;
    transform: translate(-50%, -30%);
  }

  to   {
    opacity: 0.9;
    transform: translate(-50%, -60%);
  }
}

.logo-entree {
  opacity: 0;
  animation: logo-entree 900ms cubic-bezier(0.16, 1, 0.3, 1) 150ms forwards;
}

/* Barre latérale responsive.
   - Mobile (< 768px) : tiroir superposé, fermé par défaut, au-dessus d'un fond
     assombri — sinon elle occupe ~70% d'un écran de téléphone en permanence.
   - Bureau (>= 768px) : colonne rétractable en largeur, comportement inchangé. */

#barre-laterale {
  transition: transform 250ms ease-in-out, width 200ms ease-in-out,
                padding 200ms ease-in-out, opacity 200ms ease-in-out;
}

@media (max-width: 767px) {
  #barre-laterale {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    width: min(85vw, 320px);
    transform: translateX(-100%);
  }

  #barre-laterale.barre-ouverte-mobile {
    transform: translateX(0);
  }
}

@media (min-width: 768px) {
  #barre-laterale.barre-reduite-bureau {
    width: 0;
    padding-left: 0;
    padding-right: 0;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
  }
}

#fond-barre-laterale {
  display: none;
}

@media (max-width: 767px) {
  #fond-barre-laterale.visible {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(0, 0, 0, 0.5);
  }
}

.last\:border-0:last-child {
  border-width: 0px;
}

.hover\:bg-surface-container:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--surface-container) / var(--tw-bg-opacity, 1));
}

.hover\:bg-surface-container-high:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--surface-container-high) / var(--tw-bg-opacity, 1));
}

.hover\:bg-surface-container-low:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--surface-container-low) / var(--tw-bg-opacity, 1));
}

.hover\:text-error:hover {
  --tw-text-opacity: 1;
  color: rgb(var(--error) / var(--tw-text-opacity, 1));
}

.hover\:text-on-surface:hover {
  --tw-text-opacity: 1;
  color: rgb(var(--on-surface) / var(--tw-text-opacity, 1));
}

.hover\:underline:hover {
  text-decoration-line: underline;
}

.focus\:border-transparent:focus {
  border-color: transparent;
}

.focus\:bg-surface-container-lowest:focus {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--surface-container-lowest) / var(--tw-bg-opacity, 1));
}

.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-secondary:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(var(--secondary) / var(--tw-ring-opacity, 1));
}

.active\:scale-\[0\.98\]:active {
  --tw-scale-x: 0.98;
  --tw-scale-y: 0.98;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}

.group:hover .group-hover\:opacity-80 {
  opacity: 0.8;
}

@media (min-width: 640px) {
  .sm\:gap-2 {
    gap: 0.5rem;
  }

  .sm\:gap-3 {
    gap: 0.75rem;
  }

  .sm\:gap-4 {
    gap: 1rem;
  }

  .sm\:p-6 {
    padding: 1.5rem;
  }

  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .md\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .md\:block {
    display: block;
  }

  .md\:w-1\/2 {
    width: 50%;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:w-80 {
    width: 20rem;
  }

  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lg\:grid-cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .lg\:flex-row {
    flex-direction: row;
  }

  .lg\:px-16 {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
