The project logiciel-windows-natif is a software product whose interface is styled to match a native Windows application, presented in gray. The visual direction is applied across the product's stylesheets — shell.styles.css, styles.legacy.css, ui.styles.css and ui.tokens.css — so that the shell, legacy styles, UI styles and design tokens all express the same native Windows gray theme consistently.
The audience is the product's end users, who interact with a Windows-native-looking application, and the developers and designers who maintain these four stylesheets as the single source of the theme. No further roles, workflows or capabilities are established by the available evidence; anything beyond the stated theme and its stylesheet coverage is a default to be confirmed rather than a specified requirement.
logiciel-windows-natif is a native Windows-style desktop application shell rendered as a web interface, presented in a grey Windows-native visual theme applied across the supplied style sheets (shell.styles.css, styles.legacy.css, ui.styles.css, ui.tokens.css). The theme is token-driven: the shell consumes only the design tokens defined in ui.tokens.css, so colors, typography and spacing are centralized rather than hard-coded per component.
The application is a full-height, non-scrolling column layout (.app: flex column, height: 100vh, overflow: hidden) that fills the viewport with the application background token (--fond-app) and the standard text color (--txt), using the text font token (--police-texte) at 13px with a 1.4 line height. In MDI mode (.app.mdi) the frame is positioned relatively and adopts the workspace background token (--bg-workspace).
The core working area is a multiple-document-interface (MDI) workspace. The desktop (.bureau) is a flexible region that expands to fill remaining space (flex: 1, min-height: 0) over the application background. The MDI zone (.mdi-zone) is a relatively positioned, flexible, clipped region (flex: 1 1 auto, overflow: hidden) that hosts the desktop and its windows. Windows are opened and arranged within this zone; the shell also provides a dock, status bar and palette as part of the MDI chrome.
The shell reserves fixed heights for its chrome bands, defined as tokens: dock --dock-h: 34px, menu bar --menubar-h: 30px, toolbar --toolbar-h: 44px, and status bar --statusbar-h: 26px. These bands frame the MDI workspace: menus and toolbar above, dock and status bar below.
The shell hosts business pages, exemplified by the Déclarations sociales window (.page-das), which uses the shared font token and a zero-gap layout. Its toolbar (.das-toolbar) is a wrapping flex row with space-between alignment and 12px gaps, padded 8px by 12px, on the secondary surface token (--surface-2) with a bottom border (--border-dark), offset upward into the page (margin: -10px -12px 0). Within it, segmented tabs (.das-tabs) form a horizontally scrollable inline-flex strip (2px gap, 2px padding) on the tertiary surface token (--surface-3) with a standard border and large radius. Tab buttons are 28px-high small buttons with no border, transparent background, medium weight, secondary text color (--txt-2), medium radius and 12px horizontal padding; on hover they lighten (rgba(255,255,255,0.7)). The active tab (.primary/.primaire) switches to the panel background, accent-press text color, semibold weight and a small shadow. Tabs switch between segmented panels within the window.
Human actors are the desktop user, who works across multiple open windows in the MDI workspace and navigates shell chrome (menus, toolbar, dock, status bar), and the declarations operator, who opens the Déclarations sociales window, selects a tab in the segmented tab strip, and works within the corresponding panel. The shell itself is a supporting system actor that manages window placement, chrome bands and theme tokens.
This overview covers the shell frame, MDI workspace, chrome bands, token-driven grey theme and the Déclarations sociales window pattern. It does not establish a complete page or persona catalog; additional windows and roles are defined in their own chapters.
/* ============================================================================
IMPRESSION — @page encapsulé ; seule la zone .zone-impression est imprimée.
========================================================================== */
@media print {
body > *:not(.portail-impression) {
display: none !important;
.mdi-fenetre:not(.active) {
display: none !important;
No additional details specified.
The evidence supplied for this chapter covers only the visual treatment of the payroll-cycle stepper on the home screen; it does not describe any actor, trigger, action, handoff, result, or recovery path. No numbered journeys can therefore be derived from it without inventing product behavior, which the writing rules prohibit.
What the evidence does establish is a presentation constraint that applies wherever the payroll cycle is surfaced: the cycle is rendered as a horizontal sequence of steps (.cycle) that wraps when space is insufficient, and each step (.cycle-etape) is an interactive element with a completed state (data-etat="fait") shown in the success color. This is a display and state-styling detail, not a flow; it is recorded here only so that the flow chapter does not contradict it.
No journeys are added in this batch. Any previously accepted journeys in this chapter remain as written; this batch neither adds, removes, nor reorders them.
[Design proposal; unspecified choices are defaults.]
Muse & headline. Erik Spiekermann — warm order built from type and signal colour for payroll and HR staff working in a dense native Windows shell in gray. Headline: « Le bureau Windows natif pour la paie ».
Palette (light mode, by role). Bureau background #E9EDF1; surface #FFFFFF; text #172033; primary #0F766E (emerald); accent #B7791F (gold); muted #6E7C90. Gray neutrals carry the chassis — menubar, toolbar, bureau, dock, statusbar — with hairline 1px borders (#D8DEE6, strong #A7B3C2). Emerald marks only the active window bar, selection and focus rings; gold marks totals only. Dark ink strips (menubar, statusbar) carry light text with an emerald dot. Semantic colours: success #107C41, error #C42B1C, warning #9A5B00. A dark theme, where supported, remaps surfaces to #0F1B2D, #152338 and #1D2F49 with mint #5EEAD4 as accent.
Typography. Fira Sans throughout. Headings Fira Sans Semibold at 22px and 18px with tight tracking; body Fira Sans. Modular 1.25 scale: 28/22/18/15/13/12/11px, 13px base. Small caps for labels and menu groups. Amounts, paths, badges and statusbar panes use a monospace stack (Cascadia Mono, Consolas) with tabular figures, right-aligned; negatives in #C42B1C.
Shape & rhythm. Sharp 4px and 6px radii, hairline 1px borders, flat panels with thin shadows in three elevation levels. Spacing rhythm 4/8/12/16/24/32px. Controls 32px comfortable, 26px compact; data-grid rows 34px.
Imagery. No photos: interface diagrams, window wireframes and gray schematic panels only.
Labeled default: the ten-step neutral ramp (#F4F6F8 → #172033) and the exact elevation values are unspecified implementation tokens; the values above are the source-backed ones.
/* ============================================================================
Shell MDI — menus, toolbar, bureau, fenêtres, dock, statusbar, palette.
Consomme uniquement les tokens de tokens.css.
========================================================================== */
/* ---------- App frame ---------- */
.app {
display: flex;
flex-direction: column;
height: 100vh;
background: var(--fond-app);
color: var(--txt);
font: 400 var(--fs-13)/1.4 var(--police-texte);
overflow: hidden;
.app.mdi { position: relative; }
Shell MDI — menus, toolbar, bureau, fenêtres, dock, statusbar, palette.
/* ---------- MenuBar ---------- */
}
.menubar {
display: flex;
align-items: stretch;
height: var(--menubar-h);
background: var(--fond-surface);
border-bottom: 1px solid var(--bordure);
user-select: none;
z-index: 50;
.menubar-titre {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 0 var(--sp-3);
border: none;
background: none;
font: 400 var(--fs-13)/1 var(--police-texte);
color: var(--txt);
cursor: pointer;
.menubar-titre:hover, .menubar-titre[data-ouvert] { background: var(--fond-surface-3); }
.menubar-lettre { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; opacity: 0.75; }
.menu-liste {
position: absolute;
top: 100%;
left: 0;
min-width: 260px;
background: var(--fond-surface);
border: 1px solid var(--bordure);
border-radius: var(--r-2);
box-shadow: var(--el-2);
padding: var(--sp-1);
z-index: 90;
.menu-item { position: relative; }
.menu-entree {
display: flex;
align-items: center;
gap: var(--sp-2);
width: 100%;
padding: var(--sp-1) var(--sp-2);
min-height: 30px;
border: none;
background: none;
border-radius: var(--r-1);
font: 400 var(--fs-13)/1.2 var(--police-texte);
color: var(--txt);
cursor: pointer;
text-align: left;
.menu-entree:hover:not(:disabled), .menu-entree:focus-visible { background: var(--accent-clair); }
.menu-entree:disabled { opacity: 0.45; cursor: not-allowed; }
.menu-entree svg { color: var(--txt-2); }
.menu-coche { width: 14px; color: var(--accent); }
.menu-raccourci { font: 400 var(--fs-11)/1 var(--police-texte); color: var(--txt-3); }
.menu-sep { height: 1px; background: var(--bordure); margin: var(--sp-1) var(--sp-2); }
/* ---------- Toolbar ---------- */
.toolbar {
display: flex;
align-items: center;
gap: var(--sp-1);
min-height: var(--toolbar-h);
padding: 0 var(--sp-2);
background: var(--fond-surface);
border-bottom: 1px solid var(--bordure);
z-index: 40;
.toolbar-btn {
display: inline-flex;
align-items: center;
gap: var(--sp-1);
height: 34px;
padding: 0 var(--sp-2);
border: 1px solid transparent;
border-radius: var(--r-1);
background: none;
font: 500 var(--fs-12)/1 var(--police-texte);
color: var(--txt-2);
cursor: pointer;
transition: background var(--dur-1) var(--courbe-std), color var(--dur-1) var(--courbe-std);
.toolbar-btn:hover:not(:disabled) { background: var(--fond-surface-3); color: var(--txt); }
.toolbar-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.toolbar-btn[data-actif] { background: var(--accent-clair); color: var(--emeraude); border-color: color-mix(in srgb, var(--emeraude) 25%, transparent); }
/* ---------- Bureau MDI ---------- */
.bureau {
position: relative;
flex: 1;
min-height: 0;
background: var(--fond-app);
overflow: hidden;
/* motif zellige discret en filigrane (Phase 6) */
background-image: repeating-linear-gradient(45deg, transparent 0 24px, color-mix(in srgb, var(--n-3) 22%, transparent) 24px 25px);
:root[data-theme="sombre"] .bureau {
background-image: repeating-linear-gradient(45deg, transparent 0 24px, color-mix(in srgb, var(--encre-2) 60%, transparent) 24px 25px);
.fenetre {
position: absolute;
display: flex;
flex-direction: column;
background: var(--fond-surface);
border: 1px solid var(--bordure);
border-radius: var(--r-2);
box-shadow: var(--el-2);
min-width: 300px;
min-height: 220px;
overflow: hidden;
animation: fenetre-in var(--dur-4) var(--courbe-std);
.fenetre.active { box-shadow: var(--el-3); border-color: var(--bordure-forte); }
.fenetre.agrandie {
border-radius: 0;
border-left: none;
border-right: none;
border-top: none;
box-shadow: none;
.fenetre.agrandie .fenetre-titre {
cursor: default;
@keyframes fenetre-in {
.fenetre-titre {
display: flex;
align-items: center;
gap: var(--sp-2);
height: 34px;
padding: 0 var(--sp-1) 0 var(--sp-3);
background: var(--fond-surface-3);
border-bottom: 1px solid var(--bordure);
cursor: move;
user-select: none;
touch-action: none;
.fenetre.active .fenetre-titre {
background: linear-gradient(to right, var(--accent-clair), var(--fond-surface-3));
border-bottom-color: color-mix(in srgb, var(--emeraude) 35%, transparent);
.fenetre-titre-texte {
font: 600 var(--fs-12)/1 var(--police-texte);
color: var(--txt);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
.fenetre-boutons { display: flex; margin-left: auto; }
.fenetre-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 30px;
height: 30px;
border: none;
background: none;
color: var(--txt-2);
cursor: pointer;
border-radius: var(--r-1);
.fenetre-btn:hover { background: var(--fond-surface); color: var(--txt); }
.fenetre-btn.fermer:hover { background: var(--erreur); color: #fff; }
.fenetre-corps {
flex: 1;
min-height: 0;
overflow: auto;
display: flex;
flex-direction: column;
.fenetre-corps > * { min-height: 0; }
/* ---------- Dock (fenêtres réduites) ---------- */
.dock {
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: var(--dock-h);
display: flex;
align-items: center;
gap: var(--sp-1);
padding: 0 var(--sp-2);
background: var(--fond-surface);
border-top: 1px solid var(--bordure);
overflow-x: auto;
z-index: 500;
.dock-item {
display: inline-flex;
align-items: center;
gap: var(--sp-1);
height: 26px;
padding: 0 var(--sp-2);
border: 1px solid var(--bordure);
border-radius: var(--r-1);
background: var(--fond-surface-2);
font: 500 var(--fs-11)/1 var(--police-texte);
color: var(--txt-2);
cursor: pointer;
max-width: 220px;
.dock-item:hover, .dock-item[data-actif] { background: var(--accent-clair); color: var(--emeraude); }
:root[data-theme="sombre"] .dock-item:hover, :root[data-theme="sombre"] .dock-item[data-actif] { color: var(--menthe); }
.dock-titre { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* ---------- StatusBar ---------- */
.statusbar {
display: flex;
align-items: center;
gap: 0;
height: var(--statusbar-h);
background: var(--fond-surface);
border-top: 1px solid var(--bordure);
font: 400 var(--fs-11)/1 var(--police-texte);
color: var(--txt-2);
z-index: 40;
flex-shrink: 0;
.statusbar-pane {
display: inline-flex;
align-items: center;
gap: var(--sp-1);
padding: 0 var(--sp-3);
border-right: 1px solid var(--bordure);
height: 100%;
overflow: hidden;
.statusbar-pane:last-child { border-right: none; }
/* ---------- Palette de commandes Ctrl+K ---------- */
.palette-overlay { align-items: flex-start; padding-top: 12vh; }
.palette {
width: min(620px, 92vw);
background: var(--fond-surface);
border: 1px solid var(--bordure);
border-radius: var(--r-3);
box-shadow: var(--el-3);
overflow: hidden;
animation: modale-in var(--dur-2) var(--courbe-std);
.palette-saisie {
display: flex;
align-items: center;
gap: var(--sp-2);
padding: var(--sp-3) var(--sp-4);
border-bottom: 1px solid var(--bordure);
color: var(--txt-3);
.palette-saisie input {
flex: 1;
border: none;
outline: none;
background: none;
font: 400 var(--fs-15)/1.2 var(--police-texte);
color: var(--txt);
.palette-liste { max-height: 46vh; overflow-y: auto; padding: var(--sp-1); }
.palette-item {
display: flex;
align-items: center;
gap: var(--sp-2);
width: 100%;
padding: var(--sp-2) var(--sp-3);
border: none;
background: none;
border-radius: var(--r-1);
font: 400 var(--fs-13)/1.2 var(--police-texte);
color: var(--txt);
cursor: pointer;
text-align: left;
.palette-item.selectionne { background: var(--accent-clair); }
.palette-item svg { color: var(--txt-3); flex-shrink: 0; }
.palette-libelle { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.palette-categorie { font: 400 var(--fs-11)/1 var(--police-texte); color: var(--txt-3); }
.palette-kbd {
font: 500 var(--fs-10, 10px)/1 var(--police-texte);
color: var(--txt-2);
background: var(--fond-surface-3);
border: 1px solid var(--bordure);
border-radius: var(--r-1);
padding: 2px 5px;
.palette-vide { padding: var(--sp-4); text-align: center; color: var(--txt-3); font-size: var(--fs-13); }
/* ---------- Cycle de paie (stepper Accueil) ---------- */
.cycle {
display: flex;
align-items: stretch;
gap: 0;
flex-wrap: wrap;
.cycle-etape {
display: flex;
align-items: center;
gap: var(--sp-1);
padding: var(--sp-2) var(--sp-3);
border: none;
background: none;
font: 500 var(--fs-12)/1.2 var(--police-texte);
color: var(--txt-2);
cursor: pointer;
border-radius: var(--r-2);
position: relative;
.cycle-etape[data-etat="fait"] { color: var(--succes); }
.cycle-etape[data-etat="courant"] { color: var(--emeraude); font-weight: 700; }
:root[data-theme="sombre"] .cycle-etape[data-etat="courant"] { color: var(--menthe); }
.cycle-etape[data-etat="courant"]::after {
content: "";
position: absolute;
left: var(--sp-3);
right: var(--sp-3);
bottom: 2px;
height: 2px;
background: var(--accent);
border-radius: 1px;
.cycle-sep { align-self: center; color: var(--txt-3); opacity: 0.5; }
/* ---------- En-tête fiche salarié persistant ---------- */
.fiche-entete {
display: flex;
align-items: center;
gap: var(--sp-3);
padding: var(--sp-3) var(--sp-4);
background: var(--fond-surface);
border-bottom: 1px solid var(--bordure);
flex-wrap: wrap;
.fiche-identite { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fiche-nom { font: 600 var(--fs-18)/1.2 var(--police-display); color: var(--txt); }
.fiche-meta { font: 400 var(--fs-12)/1.3 var(--police-texte); color: var(--txt-2); display: flex; gap: var(--sp-2); flex-wrap: wrap; align-items: center; }
/* ============================================================================
OPENPAIE — Design System « Encre & Émeraude » v2
Tokens uniques. AUCUNE couleur hexadécimale hors de ce fichier (règle ESLint).
========================================================================== */
:root {
/* ---- Palette encre (surfaces, texte) ---- */
--encre-0: #0f1b2d;
--encre-1: #152338;
:root {
/* ---- Palette encre (surfaces, texte) ---- */
--encre-0: #0f1b2d;
--encre-1: #152338;
--encre-2: #1d2f49;
/* ---- Accents ---- */
--emeraude: #0f766e;
--emeraude-hover: #0b5f58;
--emeraude-press: #0a4b46;
--emeraude-clair: #e3f3f0;
--menthe: #5eead4; /* accents sur fond sombre uniquement */
--or: #b7791f; /* totaux */
/* ---- Sémantiques ---- */
--succes: #107c41;
--erreur: #c42b1c;
--alerte: #9a5b00;
--info: var(--emeraude);
/* ---- Couleurs d'organisme (toujours accompagnées d'un libellé) ---- */
--org-cnas: #1d4ed8;
--org-cacobatph: #b45309;
--org-dgi: #7c3aed;
--org-banque: #0f766e;
/* ---- Neutres : 10 paliers #f4f6f8 → #172033 ---- */
--n-0: #f4f6f8;
--n-1: #e9edf1;
--n-2: #d8dee6;
--n-3: #c3ccd8;
--n-4: #a7b3c2;
--n-5: #8b98a9;
--n-6: #6e7c90;
--n-7: #52627a;
--n-8: #37455e;
--n-9: #253248;
--n-10: #172033;
/* ---- Mapping sémantique (thème clair) ---- */
--fond-app: var(--n-1);
--fond-surface: #ffffff;
--fond-surface-2: var(--n-0);
--fond-surface-3: var(--n-1);
--fond-encre: var(--encre-0);
--txt: var(--n-10);
--txt-2: var(--n-7);
--txt-3: var(--n-5);
--txt-sur-accent: #ffffff;
--txt-sur-encre: var(--n-0);
--bordure: var(--n-2);
--bordure-forte: var(--n-4);
--accent: var(--emeraude);
--accent-sur: #ffffff;
--accent-clair: var(--emeraude-clair);
--focus-anneau: color-mix(in srgb, var(--emeraude) 45%, transparent);
/* ---- Typographie ----
Segoe UI Variable (Text/Display) + Cascadia Mono pour les montants.
--police-texte: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
--police-display: "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
--police-montants: "Cascadia Mono", "Cascadia Code", Consolas, monospace;
Échelle unique : 11 / 12 / 13 (base) / 15 / 18 / 22 / 28. */
--fs-11: 11px;
--fs-12: 12px;
--fs-13: 13px; /* base */
--fs-15: 15px;
--fs-18: 18px;
--fs-22: 22px;
--fs-28: 28px;
/* ---- Espacements 4/8/12/16/24/32 ---- */
--sp-1: 4px;
--sp-2: 8px;
--sp-3: 12px;
--sp-4: 16px;
--sp-6: 24px;
--sp-8: 32px;
/* ---- Rayons 4/6/10/14 ---- */
--r-1: 4px;
--r-2: 6px;
--r-3: 10px;
--r-4: 14px;
/* ---- Élévation (3 niveaux) ---- */
--el-1: 0 1px 2px rgba(15, 27, 45, 0.08);
--el-2: 0 4px 12px rgba(15, 27, 45, 0.12);
--el-3: 0 12px 32px rgba(15, 27, 45, 0.22);
/* ---- Densité : contrôles 32px (confortable) / 26px (compacte) ---- */
--ctl-h: 32px;
--ctl-h-petit: 26px;
--grille-ligne: 34px;
/* ---- MDI ---- */
--dock-h: 34px;
--menubar-h: 30px;
--toolbar-h: 44px;
--statusbar-h: 26px;
/* ---- Impression : conteneur dédié, jamais l'interface ---- */
--impression-fond: #ffffff;
/* ---- Densité compacte (26px) ---- */
:root[data-densite="compacte"] {
--ctl-h: 26px;
--grille-ligne: 28px;
/* ============================================================================
THÈME SOMBRE COMPLET
========================================================================== */
:root[data-theme="sombre"] {
--fond-app: #0b1422;
--fond-surface: var(--encre-1);
--fond-surface-2: var(--encre-0);
--fond-surface-3: var(--encre-2);
--txt: #e7edf5;
--txt-2: #aebccb;
--txt-3: #7e8ea3;
--txt-sur-accent: #ffffff;
--txt-sur-encre: #e7edf5;
--bordure: #2c3d58;
--bordure-forte: #455a7a;
--accent: var(--menthe);
--accent-hover: #7ff0de;
--accent-sur: var(--encre-0);
--accent-clair: rgba(94, 234, 212, 0.12);
--focus-anneau: color-mix(in srgb, var(--menthe) 50%, transparent);
--emeraude-clair: rgba(94, 234, 212, 0.12);
--el-1: 0 1px 2px rgba(0, 0, 0, 0.4);
--el-2: 0 4px 12px rgba(0, 0, 0, 0.5);
--el-3: 0 12px 32px rgba(0, 0, 0, 0.65);
--org-cnas: #7ea6f5;
--org-cacobatph: #e0a458;
--org-dgi: #b79bf5;
--or: #d9a441;
/* Accent hover/press dérivés (thème clair) */
:root[data-theme="clair"] {
--accent-hover: var(--emeraude-hover);
--accent-press: var(--emeraude-press);
:root[data-theme="sombre"] {
--accent-press: #4ad4bd;
::selection {
background: var(--accent-clair);
}
*,
*::before,
*::after {
}
}
@media (prefers-contrast: more) {
:root {
--bordure: var(--n-6);
--bordure-forte: var(--n-8);
--txt-2: var(--n-8);
--txt-3: var(--n-7);
}
}
.portail-impression {
display: block !important;
position: static !important;
.portail-impression .document-a4 {
box-shadow: none;
margin: 0;
width: auto;
:root {
/* Surfaces */
--bg: var(--n-1);
--bg-workspace: var(--n-2);
--panel: var(--fond-surface);
--surface-2: var(--n-0);
--surface-3: var(--n-1);
--border: var(--n-2);
--border-dark: var(--n-3);
--border-strong: var(--n-4);
/* Texte */
--txt: var(--encre-1);
--txt-2: var(--n-8);
--muted: var(--n-6);
/* Accent (bleu Fluent) */
--accent: var(--emeraude);
--accent-hover: var(--emeraude-hover);
--accent-press: var(--emeraude-press);
--accent-light: var(--emeraude-clair);
--accent-light-2: color-mix(in srgb, var(--emeraude) 18%, var(--fond-surface));
--focus: rgba(15, 118, 110, 0.35);
/* États */
--ok: var(--succes);
--err: var(--erreur);
--warn: var(--alerte);
/* Compatibilité ancienne palette */
--header: var(--encre-1);
--header-txt: var(--fond-surface);
--menu-bg: var(--fond-surface);
--menu-active: var(--emeraude-clair);
/* Dimensions */
--ctl-h: 28px;
--radius-sm: 3px;
--radius-md: 4px;
--radius-lg: 8px;
--shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
--shadow-md: 0 2px 6px rgba(16, 24, 40, 0.08);
--shadow-lg: 0 8px 24px rgba(16, 24, 40, 0.14), 0 0 0 1px rgba(16, 24, 40, 0.05);
--shadow-window: 0 8px 24px rgba(16, 24, 40, 0.18), 0 0 0 1px rgba(16, 24, 40, 0.08);
--shadow-window-inactive: 0 2px 8px rgba(16, 24, 40, 0.1), 0 0 0 1px rgba(16, 24, 40, 0.06);
--font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
font-size: 13px;
{ box-sizing: border-box; }
{ scrollbar-width: thin; scrollbar-color: var(--n-3) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background-color: var(--n-3); border-radius: 6px; border: 2px solid transparent; background-clip: padding-box; }
*::-webkit-scrollbar-thumb:hover { background-color: var(--n-5); border: 2px solid transparent; background-clip: padding-box; }
html, body, #root { height: 100%; margin: 0; padding: 0; }
body {
font-family: var(--font);
font-size: 13px;
line-height: 1.35;
color: var(--txt);
background: var(--bg);
user-select: text;
-webkit-font-smoothing: antialiased;
input, select, textarea, button { font-family: inherit; }
input, select, textarea { user-select: text; }
.ico { display: block; flex: 0 0 auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.app { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
/* ==========================================================================
Barre de titre applicative + menus
========================================================================== */
.topbar {
background: var(--panel);
color: var(--txt);
padding: 6px 16px;
display: flex;
align-items: center;
gap: 16px;
flex: 0 0 auto;
border-bottom: 1px solid var(--border);
min-height: 44px;
.topbar .logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.logo-mark { display: grid; place-items: center; width: 26px; height: 26px; background: var(--accent); color: var(--fond-surface); border-radius: var(--radius-md); font-size: 14px; font-weight: 700; }
.topbar .logo small { font-size: 10px; letter-spacing: 0.1em; font-weight: 600; color: var(--muted); text-transform: uppercase; }
.topbar .dossier { font-size: 12px; color: var(--muted); }
.topbar .spacer, .mdi-entete .spacer { flex: 1; }
.mdi-entete {
display: flex;
align-items: center;
gap: 12px;
background: var(--panel);
color: var(--txt);
padding: 0 8px;
flex: 0 0 auto;
border-bottom: 1px solid var(--border);
min-height: 32px;
.prototype-chip {
margin: 0;
padding: 2px 10px;
font-size: 11px;
font-weight: 500;
border-radius: 10px;
color: var(--txt-2);
background: var(--surface-3);
border: 1px solid var(--border);
.menubar { display: flex; align-items: center; gap: 1px; }
.menu-wrap { position: relative; }
.menu-titre {
background: none;
border: 0;
color: var(--txt);
height: 26px;
padding: 0 10px;
font-size: 12.5px;
cursor: pointer;
border-radius: var(--radius-md);
transition: background 0.1s ease;
.menu-titre:hover { background: var(--surface-3); }
.menu-titre.ouvert { background: var(--accent-light-2); color: var(--accent-press); }
.menu-liste {
position: absolute;
top: calc(100% + 2px);
left: 0;
min-width: 240px;
background: var(--panel);
color: var(--txt);
border: 1px solid var(--border-dark);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-lg);
z-index: 5000;
padding: 4px;
animation: menuFadeIn 0.1s ease-out;
@keyframes menuFadeIn { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: translateY(0); } }
.menu-entree {
display: flex;
width: 100%;
align-items: center;
gap: 8px;
background: none;
border: 0;
height: 28px;
padding: 0 10px 0 6px;
font-size: 12.5px;
text-align: left;
cursor: pointer;
color: var(--txt);
border-radius: var(--radius-md);
.menu-entree:hover:not(:disabled) { background: var(--accent-light); color: var(--txt); }
.menu-entree:disabled { color: var(--n-4); cursor: default; }
.menu-coche { width: 16px; text-align: center; color: var(--accent); font-weight: 700; }
.menu-lib { flex: 1; }
.menu-rac { color: var(--muted); font-size: 11.5px; margin-left: 24px; background: none; padding: 0; border: 0; }
.menu-chevron { color: var(--muted); font-size: 16px; line-height: 1; margin-left: 12px; }
.menu-sep { height: 1px; background: var(--border); margin: 4px 6px; }
/* ==========================================================================
Barre d'outils
========================================================================== */
.toolbar {
display: flex;
align-items: center;
gap: 1px;
padding: 4px 8px;
background: var(--surface-2);
border-bottom: 1px solid var(--border-dark);
flex: 0 0 auto;
flex-wrap: wrap;
.tb-btn {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 2px;
min-width: 56px;
height: 46px;
padding: 3px 6px;
background: transparent;
border: 1px solid transparent;
border-radius: var(--radius-md);
cursor: pointer;
color: var(--txt-2);
transition: background 0.1s ease, border-color 0.1s ease;
.tb-btn:hover:not(:disabled) { background: var(--surface-3); border-color: var(--border); color: var(--txt); }
.tb-btn:active:not(:disabled) { background: var(--accent-light-2); }
.tb-btn.actif { background: var(--accent-light) !important; border-color: var(--accent-light-2) !important; color: var(--accent-press) !important; font-weight: 600; }
.tb-btn:disabled { opacity: 0.4; cursor: default; }
.tb-ico { display: grid; place-items: center; height: 22px; color: var(--accent); }
.tb-btn:disabled .tb-ico { color: var(--muted); }
.tb-lib { font-size: 11px; white-space: nowrap; }
.tb-sep { width: 1px; height: 30px; background: var(--border-dark); margin: 0 6px; align-self: center; }
.mdi-alerte { margin: 0; border-radius: 0; cursor: pointer; flex: 0 0 auto; }
/* ==========================================================================
Zone MDI (bureau, fenêtres)
========================================================================== */
.app.mdi { background: var(--bg-workspace); }
.mdi-zone {
position: relative;
flex: 1 1 auto;
min-height: 0;
overflow: hidden;
background: var(--bg-workspace);
background-image: linear-gradient(180deg, rgba(255,255,255,0.35), rgba(255,255,255,0));
border-top: 0;
.mdi-vide-hero { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; pointer-events: none; }
.mdi-vide-card {
pointer-events: auto;
background: var(--panel);
border: 1px solid var(--border-dark);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-md);
padding: 24px 28px;
max-width: 700px;
width: 100%;
.mdi-vide-header { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.mdi-vide-logo { font-size: 20px; font-weight: 600; color: var(--txt); letter-spacing: -0.01em; margin-bottom: 4px; }
.mdi-vide-desc { color: var(--muted); font-size: 12.5px; line-height: 1.5; margin: 0; }
.mdi-vide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; }
.mdi-vide-btn {
display: flex; align-items: center; gap: 12px;
padding: 10px 12px;
background: var(--panel);
border: 1px solid var(--border);
border-radius: var(--radius-md);
cursor: pointer; text-align: left;
transition: background 0.1s ease, border-color 0.1s ease;
.mdi-vide-btn:hover:not(:disabled) { background: var(--accent-light); border-color: var(--accent-light-2); }
.mdi-vide-btn.disabled { opacity: 0.45; cursor: not-allowed; }
.mdi-vide-btn-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: var(--radius-md); background: var(--accent-light); color: var(--accent); flex-shrink: 0; font-size: 18px; }
.mdi-vide-btn-text strong { display: block; font-size: 12.5px; color: var(--txt); font-weight: 600; }
.mdi-vide-btn-text small { display: block; font-size: 11px; color: var(--muted); margin-top: 1px; }
/* Fenêtre interne */
.mdi-fenetre {
position: absolute;
flex-direction: column;
background: var(--panel);
border-radius: var(--radius-lg);
overflow: hidden;
min-width: 360px;
min-height: 220px;
border: 1px solid var(--border-dark);
.mdi-fenetre.inactive { box-shadow: var(--shadow-window-inactive); }
.mdi-fenetre.active { box-shadow: var(--shadow-window); border-color: var(--border-strong); }
.mdi-fenetre.agrandie { border-radius: 0; border-width: 0; box-shadow: none; }
.mdi-titre {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 0 4px 0 10px;
height: 32px;
cursor: move;
touch-action: none;
flex: 0 0 auto;
user-select: none;
border-bottom: 1px solid var(--border);
position: relative;
.mdi-fenetre.active .mdi-titre { background: var(--panel); color: var(--txt); }
.mdi-fenetre.active .mdi-titre::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); }
.mdi-fenetre.inactive .mdi-titre { background: var(--surface-2); color: var(--muted); }
.mdi-titre-gauche { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; }
.mdi-ico { display: grid; place-items: center; color: var(--accent); font-size: 14px; line-height: 1; }
.mdi-fenetre.inactive .mdi-ico { color: var(--muted); }
.mdi-nom { font-weight: 600; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mdi-btns { display: flex; align-items: center; gap: 0; }
.mdi-btn-ctrl {
display: inline-flex; align-items: center; justify-content: center;
width: 36px; height: 28px;
background: transparent; border: 0; color: var(--txt-2);
cursor: pointer; border-radius: var(--radius-md);
transition: background 0.1s ease; padding: 0;
.mdi-btn-ctrl:hover { background: var(--surface-3); }
.mdi-btn-ctrl.fermer:hover { background: var(--erreur) !important; color: var(--fond-surface); }
.mdi-corps {
flex: 1 1 auto;
overflow: auto;
padding: 10px 12px 12px;
min-height: 0;
user-select: text;
background: var(--bg);
display: flex;
flex-direction: column;
gap: 8px;
.mdi-poignee-se { display: flex; align-items: flex-end; justify-content: flex-end; padding: 3px; color: var(--border-strong); opacity: 0.8; }
.mdi-poignee-se:hover { opacity: 1; color: var(--accent); }
.mdi-se-dots { display: block; }
/* ==========================================================================
Barre des fenêtres ouvertes (dock MDI)
========================================================================== */
.mdi-dock {
position: absolute; bottom: 0; left: 0; right: 0;
height: 36px;
display: flex; align-items: center; justify-content: space-between; gap: 8px;
background: var(--surface-2);
border-top: 1px solid var(--border-dark);
padding: 0 8px;
z-index: 4000;
overflow: hidden;
.mdi-dock-tabs { display: flex; align-items: center; gap: 4px; overflow-x: auto; max-width: calc(100% - 300px); padding: 2px 0; }
.mdi-dock-tab {
display: inline-flex; align-items: center; gap: 6px;
height: 26px; padding: 0 6px 0 10px;
background: transparent;
border: 1px solid transparent;
border-bottom: 2px solid transparent;
border-radius: var(--radius-md);
cursor: pointer; font-size: 12px; color: var(--txt-2);
white-space: nowrap; max-width: 200px;
transition: background 0.1s ease;
.mdi-dock-tab:hover { background: var(--surface-3); }
.mdi-dock-tab.active { background: var(--panel); border-color: var(--border); border-bottom-color: var(--accent); color: var(--txt); font-weight: 600; box-shadow: var(--shadow-sm); }
.mdi-dock-tab.reduite { opacity: 0.7; font-style: italic; }
.mdi-dock-ico { display: grid; place-items: center; color: var(--accent); font-size: 13px; line-height: 1; }
.mdi-dock-lib { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mdi-dock-badge { display: grid; place-items: center; font-size: 10px; color: var(--muted); }
.mdi-dock-close {
display: inline-flex; align-items: center; justify-content: center;
width: 18px; height: 18px; border-radius: var(--radius-sm);
border: 0; background: transparent; color: var(--muted);
font-size: 10px; cursor: pointer; line-height: 1; padding: 0; margin-left: 2px;
.mdi-dock-close:hover { background: var(--erreur); color: var(--fond-surface); }
.mdi-dock-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.mdi-dock-btn {
display: inline-flex; align-items: center; gap: 6px;
height: 26px; padding: 0 10px;
background: var(--panel); border: 1px solid var(--border-dark); border-radius: var(--radius-md);
font-size: 11.5px; color: var(--txt-2); cursor: pointer;
.mdi-dock-btn:hover { background: var(--surface-3); color: var(--txt); }
/* ==========================================================================
Barre d'état
========================================================================== */
.statusbar {
display: flex; align-items: center; gap: 0;
padding: 0 8px;
font-size: 11.5px;
background: var(--accent);
color: var(--fond-surface);
flex: 0 0 auto;
height: 24px;
user-select: none;
.statusbar-pane {
display: inline-flex; align-items: center; gap: 6px;
height: 100%; padding: 0 12px;
background: transparent; border: 0;
border-right: 1px solid rgba(255,255,255,0.22);
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
color: var(--fond-surface);
.statusbar-pane:first-child { padding-left: 4px; }
.statusbar-pane:last-child { border-right: 0; margin-left: auto; }
.statusbar b { color: var(--fond-surface); }
.statusbar-pane[style*="--muted"] { color: rgba(255,255,255,0.8) !important; }
/* ==========================================================================
Dialogues
========================================================================== */
.mdi-dialogue, .modal, .modal-card {
background: var(--panel);
padding: 20px 22px;
border-radius: var(--radius-lg);
max-width: 480px; width: 92%;
max-height: 90vh; overflow: auto;
box-shadow: var(--shadow-lg);
border: 1px solid var(--border-dark);
.overlay.mdi-modal { background: rgba(16, 24, 40, 0.4); }
.panel {
background: var(--panel);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
.mdi-dialogue h3, .modal h3, .modal-card h3 { margin: 0 0 10px; color: var(--txt); font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.mdi-dialogue p, .modal p, .modal-card p { color: var(--txt-2); font-size: 12.5px; line-height: 1.5; margin: 0 0 12px; }
.modal-ico { display: grid; place-items: center; color: var(--accent); }
/* ==========================================================================
Contenu : titres, panneaux, formulaires
========================================================================== */
.mdi-corps h2.page-title, .mdi-corps .page-sub, .mdi-corps .net-tab-banner, .mdi-corps .workspace-context { display: none !important; }
h2.page-title, .page-sub { display: none; }
padding: 10px 12px;
margin-bottom: 0;
box-shadow: var(--shadow-sm);
.panel > h3 {
margin: -2px 0 10px;
font-size: 12px; font-weight: 600;
color: var(--txt);
display: flex; align-items: center; gap: 6px;
padding-bottom: 6px;
border-bottom: 1px solid var(--border);
text-transform: none; letter-spacing: 0;
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px 14px; }
.field { display: flex; flex-direction: column; gap: 3px; margin-bottom: 4px; min-width: 0; }
.field label { font-size: 11.5px; font-weight: 500; color: var(--txt-2); margin: 0; }
.field input, .field select, .field textarea,
.dossiers-recherche-input {
padding: 0 8px;
border: 1px solid var(--border-dark);
border-bottom-color: var(--border-strong);
border-radius: var(--radius-md);
font-size: 12.5px;
background: var(--panel);
color: var(--txt);
height: var(--ctl-h);
min-height: var(--ctl-h);
transition: border-color 0.1s ease, box-shadow 0.1s ease;
.field textarea { height: auto; padding: 6px 8px; min-height: 60px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--border-strong); }
.field input:focus, .field select:focus, .field textarea:focus, .dossiers-recherche-input:focus {
outline: none; border-color: var(--accent); border-bottom-color: var(--accent); box-shadow: 0 0 0 1px var(--accent);
.field input:disabled, .field select:disabled, .field textarea:disabled { background: var(--surface-3); color: var(--muted); }
.field select { padding-right: 4px; }
.field.checkbox { flex-direction: row; align-items: center; gap: 8px; }
.field.checkbox input { height: auto; min-height: 0; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--accent); }
/* Boutons */
.btn {
display: inline-flex; align-items: center; justify-content: center; gap: 6px;
padding: 0 12px;
height: var(--ctl-h);
border: 1px solid var(--border-dark);
border-radius: var(--radius-md);
background: var(--panel);
cursor: pointer;
font-size: 12.5px; font-weight: 500;
color: var(--txt);
transition: background 0.1s ease, border-color 0.1s ease;
white-space: nowrap; line-height: 1;
.btn:hover { background: var(--surface-3); border-color: var(--border-strong); }
.btn:active { background: var(--accent-light-2); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.primary, .btn.primaire { background: var(--accent); border-color: var(--accent); color: var(--fond-surface); font-weight: 600; }
.btn.primary:hover, .btn.primaire:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.primary:active, .btn.primaire:active { background: var(--accent-press); }
.btn.danger { color: var(--err); border-color: color-mix(in srgb, var(--erreur) 28%, var(--fond-surface)); background: color-mix(in srgb, var(--erreur) 6%, var(--fond-surface)); }
.btn.danger:hover { background: color-mix(in srgb, var(--erreur) 12%, var(--fond-surface)); border-color: var(--err); }
.btn.ok { background: var(--ok); border-color: var(--ok); color: var(--fond-surface); }
.btn.ok:hover { background: var(--succes); border-color: var(--succes); }
.btn.warn { background: color-mix(in srgb, var(--or) 14%, var(--fond-surface)); border-color: var(--or); color: var(--warn); }
.btn.warn:hover { background: color-mix(in srgb, var(--or) 22%, var(--fond-surface)); }
.btn.small { padding: 0 8px; font-size: 11.5px; height: 22px; min-height: 22px; }
.btn-row { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; align-items: center; }
/* ==========================================================================
Tableaux comptables
========================================================================== */
table.grid {
width: 100%;
border-collapse: separate;
border-spacing: 0;
font-size: 12.5px;
background: var(--panel);
table.grid th {
background: var(--surface-3);
border-bottom: 1px solid var(--border-dark);
border-right: 1px solid var(--border);
padding: 0 8px;
text-align: left;
font-size: 11.5px; font-weight: 600;
color: var(--txt-2);
position: sticky; top: 0; z-index: 2;
height: 30px;
white-space: nowrap; user-select: none;
table.grid th:last-child, table.grid td:last-child { border-right: 0; }
table.grid td {
border-bottom: 1px solid var(--border);
border-right: 1px solid transparent;
padding: 0 8px;
color: var(--txt);
height: 28px;
line-height: 1.25;
table.grid tbody tr:nth-child(even) td { background: var(--n-0); }
table.grid tbody tr:hover td { background: var(--accent-light) !important; }
table.grid td.num, table.grid th.num { text-align: right; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
table.grid td.num { font-family: "Cascadia Mono", "Consolas", "Segoe UI", monospace; font-size: 12px; letter-spacing: -0.01em; }
table.grid tr.selected td, table.grid tr.row-selected td {
background: var(--accent-light-2) !important;
color: var(--accent-press) !important;
font-weight: 600;
table.grid tr.selected td:first-child, table.grid tr.row-selected td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
table.grid tfoot td, table.grid tr.total td, table.grid tr.totaux td, table.grid tr.tot td {
background: var(--surface-3) !important;
font-weight: 600;
border-top: 1px solid var(--border-strong);
table.grid input, table.grid select {
font-size: 12px; padding: 0 6px; height: 24px; min-height: 24px;
border: 1px solid var(--border-dark); border-radius: var(--radius-sm); background: var(--panel);
table.grid input:focus, table.grid select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 1px var(--accent); }
.table-wrap {
overflow: auto;
max-height: calc(100vh - 260px);
border: 1px solid var(--border-dark);
border-radius: var(--radius-md);
background: var(--panel);
.badge { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 11px; font-weight: 600; }
.badge.ok { background: color-mix(in srgb, var(--succes) 10%, var(--fond-surface)); color: var(--ok); border: 1px solid color-mix(in srgb, var(--succes) 22%, var(--fond-surface)); }
.badge.err { background: color-mix(in srgb, var(--erreur) 10%, var(--fond-surface)); color: var(--err); border: 1px solid color-mix(in srgb, var(--erreur) 25%, var(--fond-surface)); }
.alert { padding: 8px 12px; border-radius: var(--radius-md); margin: 6px 0; font-size: 12.5px; line-height: 1.45; border: 1px solid transparent; border-left-width: 3px; }
.alert.err { background: color-mix(in srgb, var(--erreur) 6%, var(--fond-surface)); color: var(--erreur); border-color: color-mix(in srgb, var(--erreur) 25%, var(--fond-surface)); border-left-color: var(--err); }
.alert.ok { background: color-mix(in srgb, var(--succes) 6%, var(--fond-surface)); color: var(--succes); border-color: color-mix(in srgb, var(--succes) 22%, var(--fond-surface)); border-left-color: var(--ok); }
.alert.warn { background: color-mix(in srgb, var(--or) 8%, var(--fond-surface)); color: var(--alerte); border-color: color-mix(in srgb, var(--or) 30%, var(--n-0)); border-left-color: var(--or); }
.kpis { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0; }
.kpi { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 10px 14px; min-width: 150px; box-shadow: var(--shadow-sm); }
.kpi .k-label { font-size: 11px; color: var(--muted); font-weight: 500; }
.kpi .k-value { font-size: 18px; font-weight: 600; color: var(--txt); font-variant-numeric: tabular-nums; margin-top: 2px; }
/* Bulletin de paie (aperçu écran) */
.bulletin { background: var(--fond-surface); border: 1px solid var(--border-dark); padding: 24px 30px; max-width: 840px; margin: 0 auto; font-size: 12.5px; box-shadow: var(--shadow-md); border-radius: var(--radius-md); }
.bulletin h1 { font-size: 17px; text-align: center; margin: 4px 0 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--txt); }
.bulletin .entete { display: flex; justify-content: space-between; gap: 20px; border-bottom: 2px solid var(--txt); padding-bottom: 10px; margin-bottom: 10px; }
.bulletin .entete div { font-size: 12px; line-height: 1.5; }
.bulletin table { width: 100%; border-collapse: collapse; margin: 10px 0; }
.bulletin table th, .bulletin table td { border: 1px solid var(--border-dark); padding: 4px 8px; }
.bulletin table th { background: var(--surface-3); font-size: 11px; font-weight: 600; }
.bulletin td.num { text-align: right; font-variant-numeric: tabular-nums; }
.bulletin .totaux td { font-weight: 700; }
.bulletin .net { background: var(--surface-3); }
.bulletin .pied { display: flex; justify-content: space-between; margin-top: 16px; font-size: 11px; color: var(--muted); }
/* Accueil */
.accueil-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.eyebrow { color: var(--accent); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; margin-bottom: 4px; }
.overview-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; margin-top: 10px; }
.overview-strip > div { background: var(--panel); padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow-sm); }
.overview-strip span { color: var(--muted); font-size: 11.5px; }
.overview-strip strong { color: var(--txt); font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.data-note { color: var(--muted); font-size: 11.5px; line-height: 1.5; margin-top: 6px; }
.accueil-columns { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; margin-top: 10px; }
.workflow-list { display: flex; flex-direction: column; }
.workflow-list button { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; text-align: left; padding: 8px 8px; border: 0; border-bottom: 1px solid var(--border); background: transparent; cursor: pointer; color: var(--txt); font: inherit; border-radius: var(--radius-md); }
.workflow-list button:last-child { border-bottom: 0; }
.workflow-list button:hover { background: var(--accent-light); }
.workflow-list button span { font-weight: 600; }
.workflow-list button small { grid-column: 1; color: var(--muted); font-size: 11.5px; }
.workflow-list button b { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 16px; color: var(--accent); }
.pastille-type { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.legende { display: flex; gap: 12px; flex-wrap: wrap; font-size: 11.5px; margin-left: 12px; color: var(--txt-2); }
.legende i { display: inline-block; width: 12px; height: 12px; margin-right: 4px; vertical-align: -2px; border-radius: 2px; }
.hachure { background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--or) 25%, var(--n-0)), color-mix(in srgb, var(--or) 25%, var(--n-0)) 3px, color-mix(in srgb, var(--or) 14%, var(--fond-surface)) 3px, color-mix(in srgb, var(--or) 14%, var(--fond-surface)) 6px); border: 1px solid var(--or); }
table.planning { border-collapse: collapse; font-size: 11px; }
table.planning th, table.planning td { border: 1px solid var(--border); min-width: 24px; height: 26px; text-align: center; padding: 0 1px; }
table.planning th { background: var(--surface-3); font-weight: 600; color: var(--txt-2); }
table.planning th.nom, table.planning td.nom { text-align: left; min-width: 150px; padding: 0 8px; white-space: nowrap; position: sticky; left: 0; background: var(--panel); z-index: 1; }
table.planning th.nom { background: var(--surface-3); }
.stc-page { position: relative; background: var(--fond-surface); border: 1px solid var(--border-dark); padding: 24mm 18mm; margin: 12px auto; max-width: 210mm; min-height: 150mm; box-shadow: var(--shadow-md); }
.stc-filigrane { position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%) rotate(-24deg); font-size: 72px; font-weight: 800; letter-spacing: 0.1em; color: rgba(196, 43, 28, 0.1); pointer-events: none; user-select: none; white-space: nowrap; }
.stc-entete { margin-bottom: 14px; font-size: 13px; }
.stc-table td, .stc-table th { padding: 5px 8px; }
.stc-total td { font-weight: 700; border-top: 2px solid var(--txt); }
.stc-signatures { display: flex; justify-content: space-between; margin-top: 50px; }
/* ==========================================================================
Page Dossiers
========================================================================== */
.dossiers-barre-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.dossiers-actions-principales { display: flex; gap: 6px; flex-wrap: wrap; }
.dossiers-recherche-wrap { display: flex; align-items: center; gap: 8px; }
.dossiers-recherche-input { min-width: 240px; }
.view-toggle { display: inline-flex; background: var(--surface-3); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 2px; }
.view-toggle-btn { border: 0; background: transparent; height: 22px; padding: 0 10px; border-radius: var(--radius-sm); font-size: 12px; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.view-toggle-btn:hover { color: var(--txt); }
.view-toggle-btn.active { background: var(--panel); color: var(--accent-press); box-shadow: var(--shadow-sm); font-weight: 600; }
.dossiers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.dossier-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 12px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow-sm); position: relative; cursor: pointer; min-height: 110px; transition: border-color 0.1s ease, box-shadow 0.1s ease; }
.dossier-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.dossier-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.dossier-card-badge { font-family: "Cascadia Mono", Consolas, monospace; font-weight: 600; font-size: 11px; background: var(--accent-light); color: var(--accent-press); padding: 1px 6px; border-radius: var(--radius-sm); }
.dossier-card-nom { font-size: 13px; font-weight: 600; color: var(--txt); margin-bottom: 4px; line-height: 1.3; word-break: break-word; }
.dossier-card-path { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 8px; }
.dossier-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; border-top: 1px solid var(--border); gap: 6px; margin-top: auto; }
.dossier-card-ajouter { background: var(--surface-2); border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); padding: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; color: var(--muted); min-height: 110px; font-weight: 500; font-size: 12px; }
.dossier-card-ajouter:hover { background: var(--accent-light); border-color: var(--accent); color: var(--accent-press); }
.dossier-card-ajouter-ico { font-size: 20px; color: var(--accent); }
/* ==========================================================================
Volet latéral & onglets
========================================================================== */
.net-app-layout { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--bg); }
.net-main-row { display: flex; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.net-sidebar { width: 232px; background: var(--surface-2); border-right: 1px solid var(--border-dark); display: flex; flex-direction: column; flex-shrink: 0; transition: width 0.15s ease; z-index: 5; }
.net-sidebar.reduit { width: 48px; }
.net-sidebar-top { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px; border-bottom: 1px solid var(--border); min-height: 40px; }
.net-sidebar-dossier-info { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.net-sidebar-badge-dossier { font-family: "Cascadia Mono", Consolas, monospace; font-size: 10.5px; font-weight: 600; color: var(--accent-press); background: var(--accent-light); padding: 1px 6px; border-radius: var(--radius-sm); width: fit-content; }
.net-sidebar-dossier-nom { font-size: 11.5px; font-weight: 600; color: var(--txt-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; }
.net-sidebar-toggle { border: 1px solid var(--border-dark); background: var(--panel); border-radius: var(--radius-md); height: 22px; padding: 0 6px; font-size: 10px; cursor: pointer; color: var(--txt-2); margin-left: auto; }
.net-sidebar-toggle:hover { background: var(--surface-3); color: var(--txt); }
.net-sidebar-content { flex: 1; overflow-y: auto; padding: 6px; }
.net-sidebar-section { margin-bottom: 10px; }
.net-sidebar-section-titre { font-size: 10.5px; font-weight: 600; color: var(--muted); letter-spacing: 0.06em; padding: 6px 8px 3px; text-transform: uppercase; user-select: none; }
.net-sidebar-btn { width: 100%; display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 8px; border: 0; border-radius: var(--radius-md); background: transparent; font-size: 12.5px; color: var(--txt); cursor: pointer; text-align: left; margin-bottom: 1px; position: relative; }
.net-sidebar-btn:hover:not(:disabled) { background: var(--surface-3); }
.net-sidebar-btn.actif { background: var(--accent-light-2); color: var(--accent-press); font-weight: 600; }
.net-sidebar-btn.actif::before { content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 3px; border-radius: 2px; background: var(--accent); }
.net-sidebar-btn:disabled { opacity: 0.42; cursor: not-allowed; }
.net-sidebar-btn-ico { display: grid; place-items: center; width: 18px; flex-shrink: 0; line-height: 1; color: var(--accent); font-size: 14px; }
.net-sidebar-btn-text { display: flex; align-items: center; justify-content: space-between; flex: 1; min-width: 0; }
.net-sidebar-btn-lib { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.net-sidebar-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-left: 4px; }
.net-workspace { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; background: var(--panel); overflow: hidden; }
.net-tabbar-wrap { display: flex; align-items: flex-end; justify-content: space-between; background: var(--surface-3); border-bottom: 1px solid var(--border-dark); padding: 4px 8px 0; gap: 6px; flex: 0 0 auto; overflow-x: auto; }
.net-tabbar-list { display: flex; align-items: flex-end; gap: 2px; min-width: 0; }
.net-tabbar-actions { display: flex; align-items: center; gap: 4px; margin-bottom: 3px; margin-left: auto; flex-shrink: 0; }
.net-tab { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; background: transparent; border: 1px solid transparent; border-bottom: none; border-radius: var(--radius-md) var(--radius-md) 0 0; font-size: 12.5px; color: var(--txt-2); cursor: pointer; position: relative; top: 1px; max-width: 220px; user-select: none; }
.net-tab:hover:not(.actif) { background: rgba(255,255,255,0.6); color: var(--txt); }
.net-tab.actif { background: var(--panel); border-color: var(--border-dark); border-bottom: 1px solid var(--panel); color: var(--txt); font-weight: 600; z-index: 2; box-shadow: inset 0 2px 0 var(--accent); }
.net-tab-ico { font-size: 13px; line-height: 1; }
.net-tab-titre { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.net-tab-close { background: transparent; border: 0; color: var(--muted); font-size: 10px; width: 18px; height: 18px; border-radius: var(--radius-sm); display: grid; place-items: center; cursor: pointer; padding: 0; margin-left: 2px; }
.net-tab-close:hover { background: color-mix(in srgb, var(--erreur) 12%, var(--fond-surface)); color: var(--err); }
.net-tabbar-action-btn { border: 1px solid var(--border-dark); background: var(--panel); border-radius: var(--radius-md); height: 22px; padding: 0 8px; font-size: 11.5px; color: var(--txt-2); cursor: pointer; }
.net-tabbar-action-btn:hover { background: var(--surface-3); color: var(--txt); }
.net-tab-banner { background: var(--surface-2); color: var(--txt); padding: 6px 12px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; flex: 0 0 auto; border-bottom: 1px solid var(--border); }
.net-tab-banner-ico { font-size: 14px; color: var(--accent); }
.net-tab-banner-sub { margin-left: auto; font-size: 11px; font-weight: normal; color: var(--muted); }
.net-tab-content { flex: 1 1 auto; overflow: auto; padding: 12px 14px 20px; background: var(--bg); min-height: 0; }
.net-empty-workspace { flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--bg); }
/* ==========================================================================
Notifications
========================================================================== */
.toast-container { position: fixed; bottom: 36px; right: 20px; display: flex; flex-direction: column-reverse; gap: 8px; z-index: 99999; pointer-events: none; max-width: 400px; width: calc(100% - 40px); }
.toast-card { pointer-events: auto; display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: var(--radius-lg); background: var(--panel); box-shadow: var(--shadow-lg); border: 1px solid var(--border-dark); animation: toastSlideIn 0.18s cubic-bezier(0.16, 1, 0.3, 1); position: relative; }
@keyframes toastSlideIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
.toast-ico { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 11px; flex-shrink: 0; margin-top: 1px; }
.toast-success { border-left: 3px solid var(--ok); }
.toast-success .toast-ico { background: color-mix(in srgb, var(--succes) 10%, var(--fond-surface)); color: var(--ok); }
.toast-error { border-left: 3px solid var(--err); }
.toast-error .toast-ico { background: color-mix(in srgb, var(--erreur) 10%, var(--fond-surface)); color: var(--err); }
.toast-warning { border-left: 3px solid var(--or); }
.toast-warning .toast-ico { background: color-mix(in srgb, var(--or) 18%, var(--fond-surface)); color: var(--warn); }
.toast-info { border-left: 3px solid var(--accent); }
.toast-info .toast-ico { background: var(--accent-light); color: var(--accent-press); }
.toast-corps { flex: 1; min-width: 0; }
.toast-titre { font-weight: 600; font-size: 12.5px; color: var(--txt); margin-bottom: 2px; }
.toast-msg { font-size: 12px; color: var(--txt-2); line-height: 1.35; word-break: break-word; }
.toast-close { background: transparent; border: 0; color: var(--muted); font-size: 16px; line-height: 1; padding: 1px 4px; border-radius: var(--radius-sm); cursor: pointer; }
.toast-close:hover { color: var(--txt); background: var(--surface-3); }
/* Documents Officiels Imprimables (CNAS, CACOBATPH, G50, ATS, Certificat de travail) */
.doc-officiel-page {
background: var(--fond-surface);
border: 1px solid var(--border-dark);
box-shadow: var(--shadow-md);
padding: 18mm 16mm;
max-width: 210mm;
margin: 16px auto;
font-family: "Segoe UI", Arial, sans-serif;
color: var(--encre-0);
box-sizing: border-box;
.doc-officiel-header {
border-bottom: 2px solid var(--encre-0);
padding-bottom: 12px;
margin-bottom: 16px;
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 20px;
.doc-officiel-title {
text-align: center;
margin: 14px 0 20px;
font-size: 16px;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.04em;
color: var(--encre-0);
.doc-officiel-subtitle {
text-align: center;
font-size: 13px;
color: var(--muted);
margin-top: -12px;
margin-bottom: 18px;
.doc-officiel-table {
width: 100%;
border-collapse: collapse;
margin: 14px 0;
font-size: 12px;
.doc-officiel-table th,
.doc-officiel-table td {
border: 1px solid var(--n-6);
padding: 5px 8px;
.doc-officiel-table th {
background: var(--n-1);
font-weight: 700;
text-align: left;
.doc-officiel-signatures {
display: flex;
justify-content: space-between;
margin-top: 40px;
padding-top: 10px;
.doc-officiel-cachet {
width: 220px;
border-top: 1px dashed var(--n-6);
padding-top: 8px;
text-align: center;
font-size: 12px;
font-weight: 600;
/* Impression */
@media print {
body {
background: var(--fond-surface) !important;
.net-sidebar,
.net-tabbar-wrap,
.net-tab-banner,
.net-app-layout,
.mdi-entete,
.toolbar,
.statusbar,
.toast-container,
.mdi-titre,
.mdi-dock,
.mdi-alerte,
.mdi-edge,
.mdi-corner,
.no-print {
display: none !important;
.net-workspace,
.net-tab-content,
.app.mdi,
.mdi-zone {
height: auto !important;
overflow: visible !important;
background: var(--fond-surface) !important;
padding: 0 !important;
.mdi-fenetre {
position: static !important;
display: block !important;
border: 0;
box-shadow: none;
width: auto !important;
height: auto !important;
.mdi-corps {
overflow: visible;
padding: 0;
.bulletin {
border: none;
max-width: none;
box-shadow: none;
.stc-page,
.doc-officiel-page {
border: 0 !important;
margin: 0 !important;
padding: 10mm !important;
max-width: none !important;
box-shadow: none !important;
/* ==========================================================================
Fenêtre Salariés (fiche + liste) : normalisation des contrôles
Les styles en ligne de la page sont harmonisés ici, sans toucher à la logique.
========================================================================== */
.page-salaries { font-family: var(--font); }
.page-salaries input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.page-salaries select {
height: var(--ctl-h) !important;
min-height: var(--ctl-h) !important;
font-size: 12.5px !important;
border: 1px solid var(--border-dark) !important;
border-bottom-color: var(--border-strong) !important;
border-radius: var(--radius-md) !important;
padding-top: 0 !important;
padding-bottom: 0 !important;
background-color: var(--panel);
.page-salaries input:focus, .page-salaries select:focus, .page-salaries textarea:focus {
outline: none; border-color: var(--accent) !important; box-shadow: 0 0 0 1px var(--accent);
.page-salaries input:disabled, .page-salaries select:disabled { background-color: var(--surface-3); color: var(--muted); }
.page-salaries textarea { border: 1px solid var(--border-dark) !important; border-radius: var(--radius-md) !important; font-size: 12.5px !important; padding: 6px 8px; }
.page-salaries label { color: var(--txt-2) !important; font-size: 12px; }
.page-salaries button { font-size: 12px; }
.page-salaries .btn.small { height: 26px !important; min-height: 26px; font-size: 12px !important; padding: 0 10px !important; border-radius: var(--radius-md) !important; }
.page-salaries .btn.small.primary { color: var(--fond-surface); }
/* Liste des salariés : lignes confortables, sélection bleue Fluent */
.page-salaries table.grid { font-size: 12px !important; }
.page-salaries table.grid th { height: 28px; padding: 0 8px !important; }
.page-salaries table.grid tbody tr { height: 28px !important; }
.page-salaries table.grid td { padding: 0 8px !important; height: 28px; font-size: 12px; }
/* Liste des salariés : lignes confortables, sélection bleue Fluent */
.page-salaries table.grid tr.row-selected td { background: var(--accent) !important; color: var(--fond-surface) !important; box-shadow: none; }
/* Onglets de la fiche : barre unifiée, onglet actif souligné */
.page-salaries button[style*="border-radius: 2px 2px 0px 0px"],
.page-salaries button[style*="border-radius: 2px 2px 0 0"] {
border-radius: var(--radius-md) var(--radius-md) 0 0 !important;
height: 30px !important;
font-size: 12.5px !important;
font-weight: 600 !important;
padding: 0 16px !important;
/* ==========================================================================
Fenêtre Déclarations sociales : onglets segmentés + panneaux
========================================================================== */
.page-das { font-family: var(--font); gap: 0; }
.das-toolbar {
display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
padding: 8px 12px;
background: var(--surface-2);
border-bottom: 1px solid var(--border-dark);
margin: -10px -12px 0;
.das-tabs { display: inline-flex; gap: 2px; padding: 2px; background: var(--surface-3); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow-x: auto; max-width: 100%; }
.das-tabs .btn.small { height: 28px; border: 0; background: transparent; font-weight: 500; color: var(--txt-2); border-radius: var(--radius-md); padding: 0 12px; }
.das-tabs .btn.small:hover { background: rgba(255,255,255,0.7); }
.das-tabs .btn.small.primary, .das-tabs .btn.small.primaire { background: var(--panel); color: var(--accent-press); font-weight: 600; box-shadow: var(--shadow-sm); }
.das-periode { display: flex; align-items: center; gap: 6px; }
.das-periode label { font-size: 12px; color: var(--txt-2); font-weight: 500; }
.das-periode select, .das-periode input { height: var(--ctl-h) !important; font-size: 12.5px !important; border: 1px solid var(--border-dark) !important; border-radius: var(--radius-md) !important; background: var(--panel); }
.das-periode .btn.small { height: var(--ctl-h); width: var(--ctl-h); padding: 0; font-size: 14px; }
.das-contenu { background: var(--bg); margin: 0 -12px -12px; }
.das-panel { padding: 12px 14px !important; }
.das-panel .btn.small { height: 26px; font-size: 12px; }
.das-panel .kpis { margin: 8px 0 12px; }
.das-panel .kpi { flex: 1 1 150px; }
.das-panel .table-wrap { margin-top: 0 !important; }
.page-das .das-panel table.grid { font-size: 12.5px !important; }
.page-das .das-panel table.grid td.num:last-child, .page-das .das-panel table.grid td.num:nth-last-child(2) { font-weight: 600; }
.page-das .alert { margin: 8px 12px 0; padding: 6px 10px !important; }
/* Aperçu imprimable plein écran : feuille posée sur fond neutre */
.page-das .doc-officiel-page { box-shadow: var(--shadow-md); }
/* ==========================================================================
THÈME "ENCRE & ÉMERAUDE" (surcouche finale)
========================================================================== */
:root {
--ink: var(--encre-0);
--ink-2: var(--encre-1);
--ink-3: var(--encre-2);
--ink-line: rgba(255, 255, 255, 0.08);
--on-ink: var(--n-2);
--on-ink-muted: var(--n-5);
--mint: var(--menthe);
--gold: var(--or);
--bg: var(--n-0);
--bg-workspace: var(--n-2);
--surface-2: var(--n-0);
--surface-3: var(--n-1);
--border: var(--n-2);
--border-dark: var(--n-2);
--border-strong: var(--n-4);
--txt: var(--n-10);
--txt-2: var(--n-8);
--muted: var(--n-6);
--radius-md: 6px;
--radius-lg: 10px;
--shadow-sm: 0 1px 2px rgba(15, 27, 45, 0.06);
--shadow-md: 0 2px 4px rgba(15, 27, 45, 0.05), 0 6px 16px rgba(15, 27, 45, 0.07);
--shadow-lg: 0 4px 8px rgba(15, 27, 45, 0.08), 0 16px 40px rgba(15, 27, 45, 0.18);
--shadow-window: 0 2px 4px rgba(15, 27, 45, 0.08), 0 12px 32px rgba(15, 27, 45, 0.2), 0 0 0 1px rgba(15, 27, 45, 0.1);
--shadow-window-inactive: 0 1px 3px rgba(15, 27, 45, 0.08), 0 4px 14px rgba(15, 27, 45, 0.1), 0 0 0 1px rgba(15, 27, 45, 0.06);
--font: "Segoe UI Variable Text", "Segoe UI", Inter, system-ui, -apple-system, Roboto, sans-serif;
--font-display: "Segoe UI Variable Display", "Segoe UI Semibold", "Segoe UI", Inter, system-ui, sans-serif;
--mono: "Cascadia Mono", "JetBrains Mono", Consolas, ui-monospace, monospace;
/* Châssis : barre de menus */
.mdi-entete { background: var(--ink); color: var(--on-ink); border-bottom: 1px solid var(--ink-line); min-height: 34px; padding: 0 10px; }
.menu-titre { color: var(--on-ink); height: 28px; border-radius: var(--radius-md); }
.menu-titre:hover { background: var(--ink-3); color: var(--fond-surface); }
.menu-titre.ouvert { background: var(--accent); color: var(--fond-surface); }
.prototype-chip { background: transparent; border: 1px solid var(--ink-line); color: var(--on-ink-muted); letter-spacing: 0.04em; font-size: 10.5px; text-transform: uppercase; }
.menu-liste { border-radius: var(--radius-lg); padding: 6px; border: 1px solid var(--border-dark); }
.menu-entree { border-radius: var(--radius-md); height: 30px; }
.menu-entree:hover:not(:disabled) { background: var(--accent-light); color: var(--accent-press); }
.menu-rac { font-family: var(--mono); font-size: 10.5px; }
/* Châssis : barre d'outils */
.toolbar { background: var(--ink-2); border-bottom: 1px solid var(--encre-0); padding: 5px 10px; gap: 2px; box-shadow: inset 0 1px 0 var(--ink-line); }
.tb-btn { color: var(--on-ink); height: 48px; min-width: 60px; border-radius: var(--radius-md); }
.tb-btn:hover:not(:disabled) { background: var(--ink-3); border-color: var(--ink-line); color: var(--fond-surface); }
.tb-btn:active:not(:disabled) { background: var(--n-9); }
.tb-btn.actif { background: rgba(94, 234, 212, 0.12) !important; border-color: rgba(94, 234, 212, 0.35) !important; color: var(--fond-surface) !important; }
.tb-ico { color: var(--mint); }
.tb-btn:disabled .tb-ico { color: var(--on-ink-muted); }
.tb-lib { font-size: 11px; letter-spacing: 0.01em; }
.tb-sep { background: var(--ink-line); height: 32px; margin: 0 8px; }
/* Bureau MDI */
.mdi-zone {
background-color: var(--bg-workspace);
background-image:
radial-gradient(1200px 500px at 15% -10%, rgba(15, 118, 110, 0.10), transparent 60%),
radial-gradient(900px 500px at 100% 100%, rgba(15, 27, 45, 0.10), transparent 60%),
radial-gradient(rgba(15, 27, 45, 0.10) 1px, transparent 1px);
background-size: auto, auto, 24px 24px;
.mdi-vide-card { border-radius: 14px; padding: 28px 32px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.mdi-vide-logo { font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.mdi-vide-btn { border-radius: var(--radius-lg); padding: 12px 14px; }
.mdi-vide-btn:hover:not(:disabled) { border-color: var(--accent); background: var(--accent-light); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.mdi-vide-btn-ico { background: var(--ink); color: var(--mint); border-radius: 8px; width: 36px; height: 36px; }
/* Fenêtres */
.mdi-fenetre { border-radius: 12px; border: 0; }
.mdi-fenetre.agrandie { border-radius: 0; }
.mdi-titre { height: 36px; padding: 0 6px 0 12px; border-bottom: 1px solid var(--border); }
.mdi-fenetre.active .mdi-titre { background: linear-gradient(180deg, var(--fond-surface), var(--n-0)); }
.mdi-fenetre.active .mdi-titre::before { height: 3px; background: linear-gradient(90deg, var(--accent), var(--mint)); }
.mdi-fenetre.inactive .mdi-titre { background: var(--surface-3); }
.mdi-ico { width: 22px; height: 22px; border-radius: 6px; background: var(--accent-light); color: var(--accent); }
.mdi-fenetre.inactive .mdi-ico { background: var(--surface-3); filter: grayscale(1); }
.mdi-nom { font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: -0.005em; }
.mdi-btn-ctrl { width: 38px; height: 30px; border-radius: 6px; }
.mdi-corps { background: var(--bg); padding: 14px 16px 16px; gap: 12px; }
/* Dock */
.mdi-dock { background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); height: 40px; border-top: 1px solid var(--border-dark); }
.mdi-dock-tab { height: 30px; border-radius: 8px; padding: 0 8px 0 10px; }
.mdi-dock-tab.active { background: var(--ink); color: var(--fond-surface); border-color: var(--ink); border-bottom-color: var(--mint); box-shadow: var(--shadow-sm); }
.mdi-dock-tab.active .mdi-dock-ico { color: var(--mint); }
.mdi-dock-tab.active .mdi-dock-close { color: var(--on-ink-muted); }
.mdi-dock-btn { height: 28px; border-radius: 8px; }
/* Barre d'état */
.statusbar { background: var(--ink); color: var(--on-ink-muted); height: 26px; border-top: 1px solid var(--encre-0); }
.statusbar-pane { color: var(--on-ink); border-right: 1px solid var(--ink-line); }
.statusbar-pane:first-child::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.18); margin-right: 4px; }
.statusbar-pane[style*="--muted"] { color: var(--on-ink-muted) !important; font-family: var(--mono); font-size: 10.5px; }
.statusbar b { color: var(--fond-surface); }
/* Panneaux, champs, boutons */
.panel { border-radius: var(--radius-lg); border-color: var(--border); box-shadow: var(--shadow-sm); padding: 12px 14px; }
.panel > h3 { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--ink); padding-bottom: 8px; margin-bottom: 12px; }
.field label { font-weight: 500; letter-spacing: 0.005em; }
.field input, .field select, .field textarea, .dossiers-recherche-input { border-radius: var(--radius-md); height: 30px; min-height: 30px; }
.btn { height: 30px; border-radius: var(--radius-md); font-weight: 500; }
.btn.small { height: 24px; }
.btn.primary, .btn.primaire { background: var(--accent); border-color: var(--accent-press); box-shadow: 0 1px 2px rgba(15, 118, 110, 0.35); }
.btn.primary:hover, .btn.primaire:hover { background: var(--accent-hover); }
/* Tableaux : en-têtes encre discrets, chiffres en police tabulaire */
table.grid { font-size: 12.5px; }
table.grid th { background: var(--n-1); color: var(--txt-2); border-bottom: 2px solid var(--border-strong); text-transform: none; letter-spacing: 0.01em; }
table.grid td.num { font-family: var(--mono); font-size: 12px; }
table.grid tbody tr:nth-child(even) td { background: var(--n-0); }
table.grid tbody tr:hover td { background: color-mix(in srgb, var(--emeraude) 7%, var(--fond-surface)) !important; }
table.grid tr.selected td, table.grid tr.row-selected td { background: color-mix(in srgb, var(--emeraude) 14%, var(--fond-surface)) !important; color: var(--ink) !important; }
table.grid tr.selected td:first-child, table.grid tr.row-selected td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
table.grid tfoot td, table.grid tr.total td, table.grid tr.totaux td, table.grid tr.tot td { background: var(--n-1) !important; color: var(--alerte); border-top: 1px solid color-mix(in srgb, var(--or) 35%, var(--n-1)); }
.table-wrap { border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border-color: var(--border-dark); }
.kpi { border-radius: var(--radius-lg); border-left: 3px solid var(--accent); }
.kpi .k-value { font-family: var(--font-display); font-size: 20px; }
.overview-strip > div { border-radius: var(--radius-lg); border-top: 3px solid var(--accent); }
.overview-strip strong { font-family: var(--font-display); }
.badge { border-radius: 999px; }
/* Barre latérale / onglets (mode classique) */
.net-sidebar { background: var(--ink); border-right: 1px solid var(--encre-0); color: var(--on-ink); }
.net-sidebar-top { border-bottom-color: var(--ink-line); }
.net-sidebar-dossier-nom { color: var(--on-ink); }
.net-sidebar-badge-dossier { background: rgba(94, 234, 212, 0.14); color: var(--mint); }
.net-sidebar-toggle { background: var(--ink-3); border-color: var(--ink-line); color: var(--on-ink); }
.net-sidebar-section-titre { color: var(--on-ink-muted); }
.net-sidebar-btn { color: var(--on-ink); }
.net-sidebar-btn:hover:not(:disabled) { background: var(--ink-3); }
.net-sidebar-btn.actif { background: rgba(94, 234, 212, 0.12); color: var(--fond-surface); }
.net-sidebar-btn.actif::before { background: var(--mint); }
.net-sidebar-btn-ico { color: var(--mint); }
.page-salaries table.grid tr.row-selected td { background: var(--accent) !important; color: var(--fond-surface) !important; }
.das-toolbar { background: var(--surface-2); }
.das-tabs { background: var(--surface-3); border-radius: 10px; }
.das-tabs .btn.small { height: 28px; }
.das-tabs .btn.small.primary, .das-tabs .btn.small.primaire { background: var(--ink); color: var(--fond-surface); box-shadow: var(--shadow-sm); }
/* ---------- Boutons ---------- */
.btn {
display: inline-flex;
align-items: center;
gap: var(--sp-1);
height: var(--ctl-h);
padding: 0 var(--sp-3);
font: 500 var(--fs-13)/1 var(--police-texte);
color: var(--txt);
background: var(--fond-surface);
border: 1px solid var(--bordure-forte);
border-radius: var(--r-1);
cursor: pointer;
.btn.primaire {
background: var(--accent);
border-color: var(--accent);
color: var(--accent-sur);
.btn.primaire:hover:not(:disabled) { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.primaire:active:not(:disabled) { background: var(--accent-press); }
.btn.danger { background: var(--erreur); border-color: var(--erreur); color: #fff; }
.btn.fantome { background: transparent; border-color: transparent; }
.btn.fantome:hover:not(:disabled) { background: var(--fond-surface-3); }
.btn.petit { height: var(--ctl-h-petit); font-size: var(--fs-12); padding: 0 var(--sp-2); }
.btn-icone {
display: inline-flex;
align-items: center;
justify-content: center;
width: var(--ctl-h);
height: var(--ctl-h);
color: var(--txt-2);
background: transparent;
border: none;
border-radius: var(--r-1);
cursor: pointer;
transition: background var(--dur-1) var(--courbe-std), color var(--dur-1) var(--courbe-std);
.btn-icone:hover:not(:disabled) { background: var(--fond-surface-3); color: var(--txt); }
.btn-icone:disabled { opacity: 0.4; cursor: not-allowed; }
/* ---------- Champs ---------- */
.champ { display: flex; flex-direction: column; gap: var(--sp-1); min-width: 0; }
.champ-libelle { font: 500 var(--fs-12)/1.2 var(--police-texte); color: var(--txt-2); }
.champ-erreur { font: 400 var(--fs-11)/1.3 var(--police-texte); color: var(--erreur); }
.saisie {
height: var(--ctl-h);
padding: 0 var(--sp-2);
font: 400 var(--fs-13)/1 var(--police-texte);
color: var(--txt);
background: var(--fond-surface-2);
border: 1px solid var(--bordure-forte);
border-radius: var(--r-1);
min-width: 0;
.saisie:hover:not(:disabled):not([readonly]) { border-color: var(--txt-3); }
.saisie:focus { border-color: var(--accent); outline: 2px solid var(--focus-anneau); outline-offset: -1px; }
.saisie:disabled { background: var(--fond-surface-3); opacity: 0.7; }
.saisie[aria-invalid="true"] { border-color: var(--erreur); }
textarea.saisie { height: auto; padding: var(--sp-1) var(--sp-2); resize: vertical; }
/* Règle universelle pour tous les inputs / selects de formulaires */
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]):not([type="button"]),
select,
textarea {
background: var(--fond-surface-2);
color: var(--txt);
border: 1px solid var(--bordure-forte);
border-radius: var(--r-1);
input:focus, select:focus, textarea:focus {
border-color: var(--accent) !important;
outline: 2px solid var(--focus-anneau) !important;
outline-offset: -1px;
/* Harmonisation des panneaux et tableaux MDI */
.panel {
background: var(--fond-surface) !important;
color: var(--txt) !important;
border: 1px solid var(--bordure) !important;
border-radius: var(--r-2);
table.grid {
background: var(--fond-surface) !important;
color: var(--txt) !important;
table.grid th {
background: var(--fond-surface-3) !important;
color: var(--txt-2) !important;
border-bottom: 2px solid var(--bordure-forte) !important;
table.grid td {
border-bottom: 1px solid var(--bordure) !important;
color: var(--txt) !important;
table.grid tbody tr:hover td {
background: var(--fond-surface-2) !important;
.saisie-montant {
font-family: var(--police-montants);
font-variant-numeric: tabular-nums;
text-align: right;
.saisie-date { font-variant-numeric: tabular-nums; }
/* select natif stylé */
.select { appearance: none; padding-right: var(--sp-6);
background-image: linear-gradient(45deg, transparent 50%, var(--txt-3) 50%), linear-gradient(135deg, var(--txt-3) 50%, transparent 50%);
background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
background-size: 5px 5px; background-repeat: no-repeat; }
/* combobox */
.combobox { position: relative; }
.combobox-liste {
position: absolute; z-index: 60; top: calc(100% + 2px); left: 0; right: 0;
max-height: 260px; overflow-y: auto;
background: var(--fond-surface); border: 1px solid var(--bordure);
border-radius: var(--r-2); box-shadow: var(--el-2); padding: var(--sp-1);
.combobox-option {
display: flex; align-items: center; gap: var(--sp-2);
padding: var(--sp-1) var(--sp-2); border-radius: var(--r-1);
font: 400 var(--fs-13)/1.3 var(--police-texte); color: var(--txt); cursor: pointer;
.combobox-option:hover, .combobox-option[data-actif="true"] { background: var(--accent-clair); }
/* checkbox / radio */
.choix { display: inline-flex; align-items: center; gap: var(--sp-2); cursor: pointer; font: 400 var(--fs-13)/1.3 var(--police-texte); color: var(--txt); }
.choix input { width: 15px; height: 15px; accent-color: var(--accent); margin: 0; }
/* ---------- Onglets ---------- */
.onglets { display: flex; gap: var(--sp-1); border-bottom: 1px solid var(--bordure); min-width: 0; overflow-x: auto; }
.onglet {
padding: var(--sp-2) var(--sp-3); border: none; background: none; cursor: pointer;
font: 500 var(--fs-12)/1.2 var(--police-texte); color: var(--txt-3);
border-bottom: 2px solid transparent; border-radius: var(--r-1) var(--r-1) 0 0;
transition: color var(--dur-2) var(--courbe-std), border-color var(--dur-2) var(--courbe-std);
white-space: nowrap;
.onglet:hover { color: var(--txt); }
.onglet[data-actif="true"] { color: var(--emeraude); border-bottom-color: var(--emeraude); }
:root[data-theme="sombre"] .onglet[data-actif="true"] { color: var(--menthe); border-bottom-color: var(--menthe); }
.segmente { display: inline-flex; background: var(--fond-surface-3); border: 1px solid var(--bordure); border-radius: var(--r-2); padding: 2px; gap: 2px; }
.segmente button {
border: none; background: none; cursor: pointer; border-radius: var(--r-1);
padding: 0 var(--sp-3); height: calc(var(--ctl-h) - 8px);
font: 500 var(--fs-12)/1 var(--police-texte); color: var(--txt-2);
transition: background var(--dur-1) var(--courbe-std), color var(--dur-1) var(--courbe-std);
.segmente button[data-actif="true"] { background: var(--fond-surface); color: var(--txt); box-shadow: var(--el-1); }
/* ---------- Structure ---------- */
.panneau { background: var(--fond-surface); border: 1px solid var(--bordure); border-radius: var(--r-2); display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.panneau-tete { display: flex; align-items: center; gap: var(--sp-2); padding: var(--sp-2) var(--sp-3); border-bottom: 1px solid var(--bordure); font: 600 var(--fs-12)/1.2 var(--police-texte); color: var(--txt-2); text-transform: uppercase; letter-spacing: 0.4px; }
.panneau-corps { flex: 1; padding: var(--sp-3); min-height: 0; overflow: auto; }
.carte { background: var(--fond-surface); border: 1px solid var(--bordure); border-radius: var(--r-3); padding: var(--sp-4); box-shadow: var(--el-1); }
.kpi { display: flex; flex-direction: column; gap: var(--sp-1); padding: var(--sp-3); background: var(--fond-surface); border: 1px solid var(--bordure); border-radius: var(--r-2); min-width: 140px; }
.kpi-libelle { font: 500 var(--fs-11)/1.2 var(--police-texte); color: var(--txt-3); text-transform: uppercase; letter-spacing: 0.5px; }
.kpi-valeur { font: 600 var(--fs-22)/1.1 var(--police-display); color: var(--txt); font-variant-numeric: tabular-nums; }
.kpi-valeur.da::after { content: " DA"; font: 500 var(--fs-11)/1 var(--police-texte); color: var(--txt-3); margin-left: 4px; }
/* ---------- Badge ---------- */
.badge {
display: inline-flex; align-items: center; gap: var(--sp-1);
height: 20px; padding: 0 var(--sp-2);
font: 600 var(--fs-11)/1 var(--police-texte);
border-radius: 999px; white-space: nowrap; letter-spacing: 0.2px;
.badge.neutre { background: var(--fond-surface-3); color: var(--txt-2); }
.badge.accent { background: var(--accent-clair); color: var(--emeraude); }
:root[data-theme="sombre"] .badge.accent { color: var(--menthe); }
.badge.succes { background: color-mix(in srgb, var(--succes) 12%, transparent); color: var(--succes); }
.badge.erreur { background: color-mix(in srgb, var(--erreur) 12%, transparent); color: var(--erreur); }
.badge.alerte { background: color-mix(in srgb, var(--alerte) 14%, transparent); color: var(--alerte); }
.badge.or { background: color-mix(in srgb, var(--or) 14%, transparent); color: var(--or); }
/* Statut de période — badge commun partout */
.badge-statut-en-saisie { background: var(--fond-surface-3); color: var(--txt-2); }
.badge-statut-simulee { background: color-mix(in srgb, var(--info) 12%, transparent); color: var(--emeraude); }
.badge-statut-validee { background: color-mix(in srgb, var(--succes) 12%, transparent); color: var(--succes); }
.badge-statut-cloturee { background: var(--encre-1); color: var(--n-0); }
/* ---------- Grille de données virtualisée ---------- */
.grille { position: relative; overflow: auto; border: 1px solid var(--bordure); border-radius: var(--r-1); background: var(--fond-surface); min-height: 0; }
.grille table { border-collapse: separate; border-spacing: 0; table-layout: fixed; width: max-content; min-width: 100%; }
.grille th {
position: sticky; top: 0; z-index: 2;
background: var(--fond-surface-3); border-bottom: 1px solid var(--bordure);
font: 600 var(--fs-11)/1.2 var(--police-texte); color: var(--txt-2); text-transform: uppercase; letter-spacing: 0.4px;
padding: var(--sp-2); text-align: left; white-space: nowrap; height: 30px;
.grille th.col-figee { position: sticky; z-index: 3; }
.grille td {
height: var(--grille-ligne); padding: 0 var(--sp-2);
font: 400 var(--fs-13)/1 var(--police-texte); color: var(--txt);
border-bottom: 1px solid color-mix(in srgb, var(--bordure) 55%, transparent);
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
.grille td.col-figee { position: sticky; background: var(--fond-surface); z-index: 1; }
.grille tbody tr:hover td { background: var(--accent-clair); }
.grille tbody tr[data-selectionnee="true"] td { background: var(--accent-clair); }
.grille td.montant, .grille th.montant { text-align: right; font-family: var(--police-montants); font-variant-numeric: tabular-nums; }
.grille td.montant.negatif { color: var(--erreur); }
.grille td.total { font-weight: 600; background: var(--fond-surface-2); color: var(--or); font-family: var(--police-montants); }
.grille td.modifiee { background: color-mix(in srgb, var(--alerte) 10%, transparent); box-shadow: inset 2px 0 0 var(--alerte); }
/* ---------- Modales et tiroirs ---------- */
.overlay-modale {
position: fixed; inset: 0; z-index: 100;
background: color-mix(in srgb, var(--encre-0) 45%, transparent);
backdrop-filter: blur(2px);
display: flex; align-items: center; justify-content: center;
animation: fondu var(--dur-3) var(--courbe-std);
.modale {
background: var(--fond-surface); border: 1px solid var(--bordure);
border-radius: var(--r-3); box-shadow: var(--el-3);
min-width: 420px; max-width: min(680px, 92vw); max-height: 86vh;
display: flex; flex-direction: column;
animation: modale-in var(--dur-3) var(--courbe-std);
.modale-tete { display: flex; align-items: center; gap: var(--sp-2); padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--bordure); font: 600 var(--fs-15)/1.3 var(--police-display); color: var(--txt); }
.modale-corps { padding: var(--sp-4); overflow-y: auto; flex: 1; min-height: 0; }
.modale-pied { display: flex; justify-content: flex-end; gap: var(--sp-2); padding: var(--sp-3) var(--sp-4); border-top: 1px solid var(--bordure); }
.tiroir-overlay { position: fixed; inset: 0; z-index: 90; background: color-mix(in srgb, var(--encre-0) 30%, transparent); animation: fondu var(--dur-3) var(--courbe-std); }
.tiroir {
position: fixed; top: 0; right: 0; bottom: 0; z-index: 95;
width: min(520px, 90vw); background: var(--fond-surface);
border-left: 1px solid var(--bordure); box-shadow: var(--el-3);
display: flex; flex-direction: column;
animation: tiroir-in var(--dur-3) var(--courbe-std);
/* ---------- Toasts ---------- */
.toasts { position: fixed; right: var(--sp-3); bottom: calc(var(--sp-3) + var(--statusbar-h)); z-index: 200; display: flex; flex-direction: column; gap: var(--sp-2); width: 340px; }
.toast {
display: flex; align-items: flex-start; gap: var(--sp-2);
padding: var(--sp-2) var(--sp-3); border-radius: var(--r-2);
background: var(--fond-surface); border: 1px solid var(--bordure); box-shadow: var(--el-2);
animation: toast-in var(--dur-2) var(--courbe-std); position: relative; overflow: hidden;
.toast:hover .toast-progression { animation-play-state: paused; }
.toast-ico { flex-shrink: 0; margin-top: 1px; }
.toast-titre { font: 600 var(--fs-12)/1.3 var(--police-texte); color: var(--txt); }
.toast-message { font: 400 var(--fs-12)/1.4 var(--police-texte); color: var(--txt-2); }
.toast-progression { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--accent); animation: toast-barre 5s linear forwards; }
.toast.succes .toast-ico { color: var(--succes); }
.toast.erreur .toast-ico { color: var(--erreur); }
.toast.alerte .toast-ico { color: var(--alerte); }
.toast.info .toast-ico { color: var(--info); }
@keyframes toast-in { from { transform: translateX(40px); opacity: 0; } }
@keyframes toast-barre { from { width: 100%; } to { width: 0; } }
/* ---------- États ---------- */
.etat-vide { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-3); padding: var(--sp-8); text-align: center; min-height: 200px; }
.etat-vide-titre { font: 600 var(--fs-15)/1.3 var(--police-display); color: var(--txt); }
.etat-vide-texte { font: 400 var(--fs-13)/1.5 var(--police-texte); color: var(--txt-2); max-width: 380px; }
/* ---------- Montant en lecture ---------- */
.montant-lecture { font-family: var(--police-montants); font-variant-numeric: tabular-nums; }
.montant-lecture.negatif { color: var(--erreur); }
/* ---------- Champs manquants bloquants ---------- */
.champs-manquants { background: color-mix(in srgb, var(--erreur) 7%, transparent); border: 1px solid color-mix(in srgb, var(--erreur) 30%, transparent); border-radius: var(--r-2); padding: var(--sp-3); display: flex; flex-direction: column; gap: var(--sp-1); }
.champs-manquants a { color: var(--emeraude); font-weight: 600; cursor: pointer; }
:root[data-theme="sombre"] .champs-manquants a { color: var(--menthe); }
/* ---------- Séparateur ---------- */
.splitter-vertical { width: 5px; cursor: col-resize; background: transparent; flex-shrink: 0; margin: 0 -2px; z-index: 5; }
.splitter-vertical:hover, .splitter-vertical[data-actif="true"] { background: var(--accent-clair); }
shell.styles.css, styles.legacy.css, ui.styles.css, ui.tokens.css.logiciel-windows-natif.[Design proposal; unspecified choices are defaults.]
Signature concept: the gray Windows bureau. The public entry is a full-width #E9EDF1 bureau with menubar, toolbar, bureau, dock and statusbar stacked in one column. Three staggered MDI windows float on the bureau, each with a 1px border and a thin shadow. The largest window holds the headline « Le bureau Windows natif pour la paie » in Fira Sans Semibold, scaled with clamp() from 52px to 96px, with the subline « Menus, fenêtres, dock et barre d'état en gris. Un seul accent émeraude guide le travail. » and the control « Ouvrir un dossier » in its body.
Signature moves. The active window bar carries a 3px emerald gradient line above a white title strip; inactive windows stay gray. The menubar uses small-caps labels with an underlined access letter. The statusbar is a dark ink strip with an emerald dot and monospace panes. The Dossiers page shows a card grid with emerald status badges and monospace paths.
At 375px, 768px and 1280px, headlines, labels, numbers, cards' text and controls stay whole inside their containers and the viewport, wrapping or scaling to fit; decorative overflow is carried by the windows and bureau, never by readable text or controls.
Avoid. Indigo accent on white, gradient blob heroes, pill buttons, identical hover-lift cards, photographic stock imagery. Emerald stays on activity and selection; gold stays on totals.
/* ==========================================================================
OpenPaie / PaieDZ : Design system "Fluent Desktop"
Principes : neutres froids, un seul accent bleu, rayons 4px, ombres discrètes,
typographie Segoe UI, densité confortable (hauteur de contrôle 28px).
========================================================================== */
[Design proposal; unspecified choices are defaults.]
Interaction Model: Static (direction) Motion Tempo: restrained Hero Dimensionality: flat
Focal subject: the full-width gray bureau with three staggered MDI windows, the largest holding the payroll headline.
Input → transformation → outcome: on load the windows settle into place with a 4px lift and a short fade, the active window bar's emerald line resolves last, and the bureau comes to rest, ready for « Ouvrir un dossier ». Only accepted entrance states and controls are used; no new behaviour is introduced.
Vocabulary: short functional transitions at 120ms, standard curve cubic-bezier(0.2,0,0,1), exit cubic-bezier(0.3,0,1,1); layered entrances at 120/180/240/320ms by layer; menus and windows use the 4px lift. No decorative loops.
Composed first frame: #E9EDF1 bureau, three white windows with 1px borders, headline in Fira Sans Semibold, a single emerald accent on the active bar, dark ink statusbar with emerald dot.
Reduced motion: the same static arrangement — no lift, no fade, animation iteration 1, transitions collapsed to 80ms with ease — with every label, number and control whole and usable.
animation: menu-in var(--dur-2) var(--courbe-std);
@keyframes menu-in {
from { opacity: 0; transform: translateY(-4px); }
.menu-sousmenu > .menu-entree:hover + .menu-liste,
.menu-sousmenu:hover > .menu-liste { display: block; }
from { opacity: 0; transform: scale(0.96); }
/* bords de redimensionnement */
.bord { position: absolute; z-index: 10; touch-action: none; }
.bord.n { top: -3px; left: 8px; right: 8px; height: 7px; cursor: ns-resize; }
.bord.s { bottom: -3px; left: 8px; right: 8px; height: 7px; cursor: ns-resize; }
.bord.w { left: -3px; top: 8px; bottom: 8px; width: 7px; cursor: ew-resize; }
.bord.e { right: -3px; top: 8px; bottom: 8px; width: 7px; cursor: ew-resize; }
.bord.se { right: -3px; bottom: -3px; width: 14px; height: 14px; cursor: nwse-resize; }
.bord.sw { left: -3px; bottom: -3px; width: 14px; height: 14px; cursor: nesw-resize; }
.bord.ne { right: -3px; top: -3px; width: 14px; height: 14px; cursor: nesw-resize; }
.bord.nw { left: -3px; top: -3px; width: 14px; height: 14px; cursor: nwse-resize; }
.cycle-etape:hover:not(:disabled) { background: var(--accent-clair); }
/* ---- Motion (Phase 7) ----
standard cubic-bezier(0.2,0,0,1) — sortie cubic-bezier(0.3,0,1,1) */
--courbe-std: cubic-bezier(0.2, 0, 0, 1);
--courbe-sortie: cubic-bezier(0.3, 0, 1, 1);
/* ---- Motion (Phase 7) ----
--dur-1: 120ms; /* survol / press */
--dur-2: 180ms; /* menus, toasts, onglets */
--dur-3: 240ms; /* modales, tiroirs */
--dur-4: 320ms; /* fenêtres MDI */
@media (prefers-reduced-motion: reduce) {
:root {
--dur-1: 80ms;
--dur-2: 80ms;
--dur-3: 80ms;
--dur-4: 80ms;
--courbe-std: ease;
--courbe-sortie: ease;
animation-duration: 80ms !important;
animation-iteration-count: 1 !important;
transition-duration: 80ms !important;
.mdi-fenetre.agrandie .mdi-titre { cursor: default; }
}
/* Poignées de redimensionnement */
.mdi-edge { position: absolute; z-index: 20; touch-action: none; }
.mdi-edge.edge-n { top: 0; left: 10px; right: 10px; height: 5px; cursor: ns-resize; }
.mdi-edge.edge-s { bottom: 0; left: 10px; right: 10px; height: 5px; cursor: ns-resize; }
.mdi-edge.edge-e { top: 10px; bottom: 10px; right: 0; width: 5px; cursor: ew-resize; }
.mdi-edge.edge-w { top: 10px; bottom: 10px; left: 0; width: 5px; cursor: ew-resize; }
.mdi-corner { position: absolute; z-index: 21; touch-action: none; }
.mdi-corner.corner-nw { top: 0; left: 0; width: 12px; height: 12px; cursor: nwse-resize; }
.mdi-corner.corner-ne { top: 0; right: 0; width: 12px; height: 12px; cursor: nesw-resize; }
.mdi-corner.corner-sw { bottom: 0; left: 0; width: 12px; height: 12px; cursor: nesw-resize; }
.mdi-corner.corner-se { bottom: 0; right: 0; width: 16px; height: 16px; cursor: nwse-resize; }
Dialogues
========================================================================== */
.mdi-modal, .overlay, .modal-backdrop {
position: fixed; inset: 0;
background: rgba(16, 24, 40, 0.4);
display: flex; align-items: center; justify-content: center;
z-index: 9000;
animation: fadeIn 0.12s ease;
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
table.grid tr.clickable { cursor: pointer; }
transition: background var(--dur-1) var(--courbe-std), border-color var(--dur-1) var(--courbe-std),
box-shadow var(--dur-1) var(--courbe-std);
white-space: nowrap;
user-select: none;
.btn:hover:not(:disabled) { background: var(--fond-surface-3); }
.btn:active:not(:disabled) { background: var(--n-2); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.danger:hover:not(:disabled) { filter: brightness(0.92); }
@keyframes fondu { from { opacity: 0; } }
@keyframes modale-in { from { opacity: 0; transform: scale(0.98); } }
@keyframes tiroir-in { from { transform: translateX(24px); opacity: 0; } }
.squelette { background: linear-gradient(90deg, var(--fond-surface-3) 25%, var(--n-2) 50%, var(--fond-surface-3) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; border-radius: var(--r-1); }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
/* ---------- Infobulle ---------- */
.infobulle { position: relative; display: inline-flex; }
.infobulle-bulle {
position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
background: var(--encre-1); color: var(--txt-sur-encre);
font: 400 var(--fs-11)/1.4 var(--police-texte); padding: var(--sp-1) var(--sp-2);
border-radius: var(--r-1); white-space: nowrap; z-index: 80; pointer-events: none;
opacity: 0; transition: opacity var(--dur-1) var(--courbe-std);
.infobulle:hover .infobulle-bulle, .infobulle:focus-within .infobulle-bulle { opacity: 1; }
/* ============================================================================
ACCESSIBILITÉ
========================================================================== */
:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 1px;
@page {
size: A4;
margin: 12mm;
/* ============================================================================
Styles du design system — consomment uniquement les tokens de tokens.css.
========================================================================== */
Superseded by explicit chat:
Châssis sombre (menus, outils, état) + fenêtres claires type papier,
accent émeraude unique, ombres en couches, typographie soignée.
.net-sidebar-dot { background: var(--mint); }
/* Dialogues, toasts */
.mdi-modal, .overlay, .modal-backdrop { background: rgba(10, 20, 34, 0.5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.mdi-dialogue, .modal, .modal-card { border-radius: 14px; border: 0; padding: 24px 26px; }
.mdi-dialogue h3, .modal h3, .modal-card h3 { font-family: var(--font-display); font-size: 17px; }
.modal-ico { width: 32px; height: 32px; border-radius: 8px; background: var(--ink); color: var(--mint); }
.toast-card { border-radius: 10px; }
/* Salariés / Déclarations : alignés sur le thème */
No additional details specified.
No completed page designs yet.
Completed design pages will appear here when they are ready to preview.
No completed page designs yet.
Completed design pages will appear here when they are ready to preview.
No comments yet. Be the first!