*,*::before,*::after{box-sizing:border-box}
.fpm-body{margin:0;font-family:var(--fpm-font);font-size:var(--fpm-fs);line-height:1.55;color:var(--fpm-text);background:var(--fpm-background);-webkit-font-smoothing:antialiased}
.fpm-body a{color:var(--fpm-link);text-decoration:none}
.fpm-body a:hover{text-decoration:underline}
.fpm-body :focus-visible{outline:2px solid var(--fpm-primary);outline-offset:2px}
.fpm-ico{width:18px;height:18px;flex:0 0 18px}
.fpm-shell{display:flex;flex-direction:column;min-height:100vh}
.fpm-header{background:var(--fpm-header);border-bottom:1px solid var(--fpm-border);position:sticky;top:0;z-index:30}
.fpm-header-in{display:flex;align-items:center;gap:12px;padding:10px 20px;max-width:100%;}
.fpm-header-sp{flex:1}
.fpm-brand{display:flex;align-items:center;gap:10px;color:inherit}
.fpm-logo{max-height:34px;width:auto;display:block}
.fpm-logo-text{font-weight:600;letter-spacing:-.01em}
.fpm-company-name{color:var(--fpm-secondary);font-size:.9em}
.fpm-company-switch select{border:1px solid var(--fpm-field-bd,#8c8f94);border-radius:var(--fpm-radius);padding:6px 8px;background:var(--fpm-field,#fff);color:inherit;max-width:220px}
.fpm-user{display:flex;align-items:center;gap:8px}
.fpm-avatar{border-radius:50%}
.fpm-user-name{font-size:.92em}
.fpm-logout{color:var(--fpm-secondary);display:flex;padding:6px;border-radius:var(--fpm-radius)}
.fpm-logout:hover{background:var(--fpm-background)}
.fpm-burger{display:none;background:none;border:1px solid var(--fpm-border);border-radius:var(--fpm-radius);padding:7px;color:inherit;cursor:pointer}
.fpm-body-in{display:flex;flex:1;align-items:flex-start}
.fpm-nav{width:var(--fpm-nav-w);flex:0 0 var(--fpm-nav-w);background:var(--fpm-sidebar);color:var(--fpm-sidebar-tx);align-self:stretch;padding:18px 0}
.fpm-nav-list,.fpm-nav-list ul{list-style:none;margin:0;padding:0}
.fpm-nav-sec{margin-bottom:18px}
.fpm-nav-sec-t{display:flex;align-items:center;gap:9px;padding:0 18px 7px;font-size:.72em;text-transform:uppercase;letter-spacing:.09em;opacity:.62}
.fpm-nav-l{display:flex;align-items:center;gap:10px;padding:8px 18px;color:inherit;font-size:.94em;border-left:3px solid transparent}
.fpm-nav-l:hover{background:rgba(255,255,255,.07);text-decoration:none}
.fpm-nav-l.is-active{background:rgba(255,255,255,.11);border-left-color:var(--fpm-primary);font-weight:500}
.fpm-nav-compact .fpm-nav-l{padding-top:5px;padding-bottom:5px}
.fpm-nav-horizontal .fpm-body-in{flex-direction:column}
.fpm-nav-horizontal .fpm-nav{width:100%;flex:none;align-self:auto;padding:0;background:var(--fpm-surface);color:var(--fpm-text);border-bottom:1px solid var(--fpm-border)}
.fpm-nav-horizontal .fpm-nav-list{display:flex;flex-wrap:wrap;gap:6px;padding:6px 20px}
.fpm-nav-horizontal .fpm-nav-sec{margin:0;position:relative}
.fpm-nav-horizontal .fpm-nav-sec-t{padding:8px 12px;opacity:1;font-size:.8em;text-transform:none;letter-spacing:0}
.fpm-nav-horizontal .fpm-nav-sec>ul{display:none;position:absolute;top:100%;left:0;min-width:220px;background:var(--fpm-surface);border:1px solid var(--fpm-border);border-radius:var(--fpm-radius);box-shadow:var(--fpm-shadow);z-index:20;padding:6px 0}
.fpm-nav-horizontal .fpm-nav-sec:hover>ul,.fpm-nav-horizontal .fpm-nav-sec:focus-within>ul{display:block}
.fpm-main{flex:1;min-width:0;padding:calc(var(--fpm-gap) * 1.5) 20px;max-width:var(--fpm-width);margin:0 auto;width:100%}
.fpm-title{font-size:1.5em;margin:0 0 var(--fpm-gap);font-weight:600;letter-spacing:-.01em}
.fpm-sub{font-size:1em;margin:calc(var(--fpm-gap) * 1.2) 0 8px;font-weight:600}
.fpm-footer{border-top:1px solid var(--fpm-border);padding:14px 20px;color:var(--fpm-secondary);font-size:.85em;background:var(--fpm-surface)}
.fpm-card{background:var(--fpm-surface);border:1px solid var(--fpm-border);border-radius:var(--fpm-radius);box-shadow:var(--fpm-shadow);margin-bottom:var(--fpm-gap)}
.fpm-card-h{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid var(--fpm-border)}
.fpm-hero{display:flex;align-items:center;gap:24px;flex-wrap:wrap;padding:20px 22px;margin-bottom:var(--fpm-gap);background:var(--fpm-surface);border:1px solid var(--fpm-border);border-radius:var(--fpm-radius);box-shadow:var(--fpm-shadow)}
.fpm-hero-title{margin:0 0 4px;font-size:1.375rem;font-weight:700;letter-spacing:-.02em}
.fpm-hero-sub{margin:0;color:var(--fpm-secondary);font-size:.94em}
.fpm-hero-actions{display:flex;gap:8px;flex-wrap:wrap;margin-left:auto}
.fpm-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:var(--fpm-gap);margin-bottom:var(--fpm-gap)}
.fpm-stat{padding:16px;background:var(--fpm-tile);border:1px solid var(--fpm-tile-bd);border-radius:var(--fpm-radius);box-shadow:var(--fpm-shadow);color:inherit;display:block}
a.fpm-stat:hover{text-decoration:none;border-color:var(--fpm-primary)}
.fpm-palettes{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}
.fpm-palette{display:flex;flex-direction:column;gap:6px;padding:14px;border:1px solid var(--fpm-border);border-radius:var(--fpm-radius);background:var(--fpm-surface);align-items:flex-start}
.fpm-palette-swatches{display:flex;height:34px;border-radius:calc(var(--fpm-radius) / 1.6);overflow:hidden;border:1px solid var(--fpm-border)}
.fpm-palette-swatches i{flex:1}
.fpm-palette-name{font-weight:600}
.fpm-palette .fpm-btn{margin-top:4px;align-self:flex-start}
.fpm-card-h h2{margin:0;font-size:.98em;font-weight:600}
.fpm-card-b{padding:18px}
.fpm-widgets{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:var(--fpm-gap);align-items:start}
.fpm-widgets .fpm-card{margin:0}
.fpm-dl{display:grid;grid-template-columns:minmax(140px,34%) 1fr;gap:7px 16px;margin:0}
.fpm-dl dt{color:var(--fpm-secondary);font-size:.88em}
.fpm-dl dd{margin:0}
.fpm-empty{color:var(--fpm-secondary);font-style:italic}
.fpm-muted{color:color-mix(in srgb,currentColor 78%,transparent);font-size:.84rem;line-height:1.45}
.fpm-strong{font-weight:600;font-size:1.05em;margin:0 0 10px}
.fpm-denied{color:#b32d2e}
.fpm-grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:0 18px}
.fpm-grid-3{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:0 18px}
.fpm-fld{margin-bottom:15px;display:flex;flex-direction:column;gap:5px}
.fpm-fld label{font-size:.86em;font-weight:500;color:var(--fpm-secondary)}
.fpm-fld input,.fpm-fld select,.fpm-fld textarea{font:inherit;font-size:.95em;padding:9px 11px;border:1px solid var(--fpm-field-bd,#8c8f94);border-radius:var(--fpm-radius);background:var(--fpm-field,#fff);color:var(--fpm-text);width:100%}
.fpm-fld input[type=color]{padding:2px;height:38px}
/* Le bouton natif d'un champ fichier ne ressemble a rien d'autre dans le
   portail : on lui donne l'allure d'un bouton ordinaire. */
.fpm-fld input[type=file]{padding:6px 8px;line-height:1.6}
.fpm-fld input[type=file]::file-selector-button{font:inherit;font-size:.9em;margin:0 10px 0 0;padding:6px 12px;border:1px solid var(--fpm-border,#dcdcde);border-radius:var(--fpm-radius);background:var(--fpm-background,#f6f7f7);color:var(--fpm-text);cursor:pointer}
.fpm-fld input[type=file]::file-selector-button:hover{border-color:var(--fpm-primary);color:var(--fpm-primary)}
.fpm-fld input:disabled,.fpm-fld select:disabled{background:var(--fpm-background);color:var(--fpm-secondary)}
.fpm-fld input:focus,.fpm-fld select:focus,.fpm-fld textarea:focus{border-color:var(--fpm-primary);outline:none;box-shadow:0 0 0 3px rgba(34,113,177,.12)}
.fpm-req{color:#b32d2e}
.fpm-help{color:color-mix(in srgb,currentColor 78%,transparent);font-size:.86em;line-height:1.45}
.fpm-check{display:flex;align-items:center;gap:8px;font-size:.9em;margin-bottom:10px}
.fpm-check input{width:auto}
.fpm-hp{position:absolute;left:-9999px}
.fpm-label-entry{padding:14px 0;border-bottom:1px solid var(--fpm-border)}
.fpm-label-entry:last-of-type{border-bottom:none}
.fpm-label-entry h3 code{font-size:.8em;color:var(--fpm-secondary)}
.fpm-lookup{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.fpm-lookup input[type=search]{flex:1;min-width:220px;height:38px;padding:0 12px;font:inherit;font-size:.95em;border:1px solid var(--fpm-field-bd,#8c8f94);border-radius:var(--fpm-radius);background:var(--fpm-field,#fff);color:inherit}
.fpm-ac-wrap{position:relative}
.fpm-branch{margin:-4px 0 12px;padding:10px 12px;border:1px dashed var(--fpm-border);border-radius:var(--fpm-radius);background:var(--fpm-surface-2,var(--fpm-background))}.fpm-branch label{display:flex;flex-direction:column;gap:6px;font-size:.86rem;font-weight:600}.fpm-branch input{font-weight:400}
.fpm-ac{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:40;max-height:280px;overflow-y:auto;background:var(--fpm-surface);border:1px solid var(--fpm-border);border-radius:var(--fpm-radius);box-shadow:var(--fpm-shadow)}
.fpm-ac-opt{display:block;width:100%;text-align:left;padding:9px 12px;background:none;border:0;border-bottom:1px solid var(--fpm-border);font:inherit;color:inherit;cursor:pointer}
.fpm-ac-opt:last-child{border-bottom:0}
.fpm-ac-opt:hover,.fpm-ac-opt.is-on{background:var(--fpm-row-hover,var(--fpm-background))}
.fpm-ac-opt strong{display:block;font-weight:600;font-size:.94em}
.fpm-ac-opt small{display:block;color:var(--fpm-secondary);font-size:.82em;margin-top:1px}
.fpm-lookup-res:empty{display:none}
.fpm-lookup-res{margin-top:12px;border:1px solid var(--fpm-border);border-radius:var(--fpm-radius);overflow:hidden}
.fpm-lookup-item{display:flex;align-items:center;gap:12px;width:100%;padding:10px 14px;background:var(--fpm-panel);border:0;border-bottom:1px solid var(--fpm-border);font:inherit;text-align:left;cursor:pointer;color:inherit}
.fpm-lookup-item:last-child{border-bottom:0}
.fpm-lookup-item:hover,.fpm-lookup-item:focus-visible{background:var(--fpm-background)}
.fpm-lookup-item b{display:block;font-size:.95em}
.fpm-lookup-item small{color:var(--fpm-secondary);font-size:.82em}
.fpm-lookup-item .fpm-badge{margin-left:auto}
.fpm-lookup-msg{padding:10px 14px;font-size:.88em;color:var(--fpm-secondary)}
.fpm-imgfield{display:flex;gap:14px;align-items:flex-start;flex-wrap:wrap}
.fpm-imgfield-c{flex:1;min-width:220px;display:flex;flex-direction:column;gap:8px}
.fpm-imgprev{display:flex;align-items:center;justify-content:center;width:120px;height:64px;padding:6px;border:1px solid var(--fpm-border);border-radius:var(--fpm-radius);background:var(--fpm-background)}
.fpm-imgprev img{max-width:100%;max-height:100%;object-fit:contain;display:block}
.fpm-imgfield input[type=file]{font-size:.85em}
.fpm-imgfield .fpm-check{margin:0;font-size:.85em}
.fpm-imgurl summary{font-size:.82em;color:var(--fpm-secondary);cursor:pointer}
.fpm-imgurl input{margin-top:6px}
.fpm-dup{display:inline-flex;gap:4px;align-items:center}
.fpm-dup input[type=text]{width:170px;font-size:.82em;padding:4px 8px;border:1px solid var(--fpm-field-bd,#8c8f94);border-radius:var(--fpm-radius);background:var(--fpm-field,#fff);color:inherit}
.fpm-roles-scroll{overflow-x:auto}
.fpm-role-col{min-width:150px;vertical-align:top}
.fpm-surface-group{margin:18px 0 6px;font-size:14px;text-transform:uppercase;letter-spacing:.05em;opacity:.7}
.fpm-widget-nocap{display:block;font-size:11px;line-height:1.2;margin-top:2px}
.fpm-role-col input[type=text]{width:100%;font-size:.9em;padding:6px 8px}
.fpm-role-meta{display:block;margin-top:4px;font-size:.78em;text-transform:none;letter-spacing:0}
.fpm-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.fpm-actions+.fpm-card,form:has(>.fpm-actions:last-child)+*{margin-top:var(--fpm-gap)}
.fpm-btn{display:inline-flex;align-items:center;gap:7px;padding:9px 15px;border-radius:var(--fpm-radius);border:1px solid var(--fpm-btn2-bd);background:var(--fpm-btn2);color:var(--fpm-text);font:inherit;font-size:.9em;cursor:pointer;text-decoration:none;line-height:1.2}
.fpm-btn:hover{background:var(--fpm-btn2-hover);text-decoration:none}
.fpm-btn-primary{background:var(--fpm-button);border-color:var(--fpm-button);color:#fff}
.fpm-btn-primary:hover{background:var(--fpm-hover);border-color:var(--fpm-hover)}
.fpm-btn-ghost{background:transparent}
.fpm-btn-danger{color:#b32d2e;border-color:#e0c3c3}
.fpm-btn-danger:hover{background:#fdf2f2}
.fpm-btn-block{width:100%;justify-content:center}
.fpm-btn-sm{padding:5px 10px;font-size:.82em}
.fpm-notice{position:relative;display:flex;align-items:flex-start;gap:12px;padding:11px 14px;border-radius:var(--fpm-radius);margin-bottom:var(--fpm-gap);border-left:3px solid;font-size:.92em;transition:opacity .3s ease,transform .3s ease,margin .3s ease,max-height .3s ease;max-height:400px;overflow:hidden}
.fpm-notice-t{flex:1}
.fpm-notice-auto{padding-right:14px}
.fpm-notice-x{flex:0 0 auto;background:none;border:0;padding:0 2px;font-size:1.35em;line-height:1;cursor:pointer;color:inherit;opacity:.45}
.fpm-notice-x:hover,.fpm-notice-x:focus-visible{opacity:1}
.fpm-notice.is-hiding{opacity:0;transform:translateY(-6px);max-height:0;margin-bottom:0;padding-top:0;padding-bottom:0}
@media(prefers-reduced-motion:reduce){.fpm-notice{transition:none}}
.fpm-notice{--nc:var(--fpm-primary,#2271b1);border-left-width:4px;border-color:var(--nc);background:color-mix(in srgb,var(--nc) 11%,var(--fpm-surface,#fff));box-shadow:0 1px 2px rgba(0,0,0,.04),0 4px 14px color-mix(in srgb,var(--nc) 14%,transparent);line-height:1.5}
.fpm-notice{display:grid;grid-template-columns:auto minmax(0,1fr) auto;column-gap:12px;row-gap:0}
.fpm-notice>*{grid-column:2}.fpm-notice>*+*:not(.fpm-notice-x){margin-top:4px}.fpm-notice>.fpm-notice-x{grid-column:3;grid-row:1}
.fpm-notice::before{grid-column:1;grid-row:1;align-self:start;margin-top:calc((1.5em - 22px) / 2);width:22px;height:22px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:800;line-height:1;color:#fff;background:var(--nc);content:"i"}
.fpm-notice>p,.fpm-notice-t{margin:0;font-weight:500}
.fpm-notice-success{--nc:#16a34a}.fpm-notice-success::before{content:"\2713"}
.fpm-notice-error{--nc:#dc2626}.fpm-notice-error::before{content:"!"}
.fpm-notice-info{--nc:var(--fpm-primary,#2271b1)}
.fpm-notice-warning{--nc:#d97706}.fpm-notice-warning::before{content:"!"}
.fpm-table{width:100%;border-collapse:collapse;background:var(--fpm-table);border:1px solid var(--fpm-table-bd);border-radius:var(--fpm-radius);overflow:hidden;margin-bottom:var(--fpm-gap);font-size:.9em}
.fpm-table th,.fpm-table td{padding:10px 13px;text-align:left;border-bottom:1px solid var(--fpm-table-bd);vertical-align:middle}
.fpm-table thead th{background:var(--fpm-table-head);font-size:.85em;text-transform:uppercase;letter-spacing:.04em;color:var(--fpm-secondary);font-weight:600}
/* La derniere ligne perd son trait : il doublait la bordure du tableau.
   Les cellules d'en-tete de ligne en font partie, sinon le trait s'arrete
   net la ou commencent les colonnes suivantes. */
.fpm-table tbody tr:last-child td,.fpm-table tbody tr:last-child th{border-bottom:none}
.fpm-ta-r{text-align:right}
.fpm-row-actions{display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap}
/* Une cellule d'actions vide reste une cellule de tableau : en flex,
   elle sort de la grille et laisse un trait en travers de la ligne. */
.fpm-row-actions:empty{display:table-cell}
.fpm-inline-form{display:inline}
.fpm-u{display:flex;align-items:center;gap:9px}
.fpm-badge{display:inline-block;padding:2px 8px;border-radius:999px;font-size:.78em;background:var(--fpm-background);border:1px solid var(--fpm-border)}
.fpm-badge-active{background:#f0f7f0;border-color:#cfe6cf}
.fpm-badge-disabled,.fpm-badge-inactive{background:#fdf2f2;border-color:#e6cfcf}
/* L'en-tete se centre comme son bouton : cale a gauche, il tombait a
   cote de la colonne qu'il nomme. Les trois colonnes partagent la meme
   largeur, sinon « Autorise » elargit la sienne et decale les autres.

   Le selecteur porte les deux classes du tableau : un theme peut aligner
   toutes les cellules a gauche avec une specificite superieure a celle
   d'une classe seule, et le centrage serait perdu. */
.fpm-table.fpm-acl thead th + th,.fpm-table.fpm-acl td{text-align:center;width:100px}
.fpm-acl th[scope=row]{font-weight:400}

/* Le bouton se centre par sa marge, et non par l'alignement du texte :
   ainsi il tient sa place quel que soit ce qu'un theme impose a la
   cellule. */
.fpm-acl td input[type=radio]{display:block;margin:0 auto}
.fpm-filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:var(--fpm-gap);align-items:center}
.fpm-filters input,.fpm-filters select{font:inherit;font-size:.9em;padding:8px 10px;border:1px solid var(--fpm-field-bd,#8c8f94);border-radius:var(--fpm-radius);background:var(--fpm-field,#fff);color:inherit}
.fpm-pagination{display:flex;gap:5px;margin-bottom:var(--fpm-gap)}
.fpm-page{padding:5px 10px;border:1px solid var(--fpm-panel-bd);border-radius:var(--fpm-radius);font-size:.85em;background:var(--fpm-panel)}
.fpm-page-on{background:var(--fpm-primary);border-color:var(--fpm-primary);color:#fff}
.fpm-tabs{display:flex;gap:4px;flex-wrap:wrap;border-bottom:1px solid var(--fpm-border);margin-bottom:var(--fpm-gap)}
.fpm-tab{padding:9px 14px;font-size:.9em;color:var(--fpm-secondary);border-bottom:2px solid transparent;margin-bottom:-1px}
.fpm-tab.is-active{color:var(--fpm-text);border-bottom-color:var(--fpm-primary);font-weight:500}
.fpm-timeline{list-style:none;margin:0;padding:0;font-size:.89em}
.fpm-timeline li{padding:7px 0;border-bottom:1px solid var(--fpm-border);display:flex;gap:10px;flex-wrap:wrap}
.fpm-timeline li:last-child{border-bottom:none}
.fpm-t-date{color:var(--fpm-secondary);font-variant-numeric:tabular-nums}
.fpm-t-user{font-weight:500}
.fpm-sortable{list-style:none;margin:0;padding:0}
.fpm-sort-item{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px;border:1px solid var(--fpm-tile-bd);border-radius:var(--fpm-radius);margin-bottom:8px;background:var(--fpm-tile)}
.fpm-sort-item.fpm-drag{opacity:.5}
.fpm-grip{cursor:grab;color:var(--fpm-secondary);display:flex}
.fpm-sort-name{font-weight:500;flex:1}
.fpm-sort-act{display:flex;gap:6px}
.fpm-sub-empty{margin:6px 0 0;opacity:.6;font-size:13px}
.fpm-sub-add{margin:8px 0 0}
.fpm-sub-edit{font-size:12px;opacity:.75}
.fpm-sub-item{display:flex;align-items:center;flex-wrap:wrap;gap:4px;padding:2px 4px;border-radius:6px}
.fpm-sub-item .fpm-grip svg{width:14px;height:14px}
.fpm-sub-item.fpm-drag{opacity:.5}
.fpm-sort-arrows{display:inline-flex;gap:2px;margin-right:4px}
.fpm-sort-arrows button{background:none!important;border:1px solid var(--fpm-tile-bd,#dcdcde);border-radius:4px;color:var(--fpm-secondary,#646970);font-size:9px;line-height:1;width:20px;height:20px;padding:0;cursor:pointer;box-shadow:none}
.fpm-sort-arrows button:hover{color:var(--fpm-button,#2271b1);border-color:var(--fpm-button,#2271b1)}
.fpm-sortable>.fpm-sort-item:first-child>.fpm-sort-arrows .fpm-sort-up,.fpm-sortable>.fpm-sort-item:last-child>.fpm-sort-arrows .fpm-sort-down,.fpm-sub-list>.fpm-sub-item:first-child>.fpm-sort-arrows .fpm-sort-up,.fpm-sub-list>.fpm-sub-item:last-child>.fpm-sort-arrows .fpm-sort-down{visibility:hidden}
.fpm-moved{background:color-mix(in srgb,var(--fpm-button,#2271b1) 12%,transparent);transition:background .6s}
.fpm-sub-move,.fpm-sub-unlink{display:inline;margin:0 0 0 8px}
.fpm-sub-move select{font-size:12px;padding:1px 4px;height:auto;min-height:0;width:auto;border-radius:4px}
.fpm-sub-unlink button{background:none!important;border:0;padding:0;font-size:12px;color:#b42318;cursor:pointer;text-decoration:underline;box-shadow:none}
.fpm-sub-list{list-style:none;margin:6px 0 0;padding:0 0 0 28px;width:100%;font-size:.85em;color:var(--fpm-secondary)}
.fpm-sub-list code{font-size:.9em}
/* Visionneuse : par-dessus la page, jamais a sa place. */
.fpm-zoom{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(8,12,20,.95);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.fpm-zoom[hidden]{display:none}
.fpm-route{position:relative;display:inline-block;align-self:flex-start}
.fpm-route>summary{list-style:none;cursor:pointer}.fpm-route>summary::-webkit-details-marker{display:none}
.fpm-route>summary:not(.fpm-btn){color:var(--fpm-primary,#2271b1);font-weight:600}
.fpm-route>summary:not(.fpm-btn)::after{content:" ▾";font-size:.8em}
.fpm-route-m{position:absolute;z-index:60;left:0;top:calc(100% + 4px);min-width:170px;display:flex;flex-direction:column;padding:5px;border-radius:10px;background:var(--fpm-surface,#fff);border:1px solid var(--fpm-border,#dcdcde);box-shadow:0 10px 26px rgba(0,0,0,.16)}
.fpm-route-m a{display:block;padding:8px 10px;border-radius:7px;color:inherit!important;text-decoration:none!important;font-weight:600;white-space:nowrap}
.fpm-route-m a:hover,.fpm-route-m a:focus{background:color-mix(in srgb,var(--fpm-primary,#2271b1) 10%,transparent)}
.fpm-zoom-c{display:flex;flex-direction:column;gap:10px;width:min(1100px,100%);max-height:100%}
.fpm-zoom-b{display:flex;align-items:center;gap:10px;color:#fff}
.fpm-zoom-t{flex:1;margin:0;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fpm-zoom-b button{flex:none;width:36px;height:36px;border:0;border-radius:999px;background:rgba(255,255,255,.14);color:#fff;font-size:20px;line-height:1;cursor:pointer}
.fpm-zoom-b button:hover{background:rgba(255,255,255,.26)}
.fpm-zoom-b button:focus-visible{outline:2px solid #fff;outline-offset:2px}
.fpm-zoom-b button[hidden]{display:none}
.fpm-zoom-v{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;height:calc(100vh - 110px);height:calc(100dvh - 110px);touch-action:none;cursor:zoom-in}
.fpm-zoom.has-strip .fpm-zoom-v{height:calc(100vh - 190px);height:calc(100dvh - 190px)}
.fpm-zoom.is-zoomed .fpm-zoom-v{cursor:grab}
.fpm-zoom.is-zoomed .fpm-zoom-v:active{cursor:grabbing}
.fpm-zoom-i{display:block;max-width:100%;max-height:100%;object-fit:contain;border-radius:var(--fpm-radius,8px);background:#fff;user-select:none;-webkit-user-drag:none;transform-origin:0 0;will-change:transform;pointer-events:none}
.fpm-zoom.is-zoomed .fpm-zoom-i{border-radius:0}
.fpm-zoom-b .fpm-zoom-r{font-size:12px;font-weight:700}
.fpm-zoom-b button:disabled{opacity:.35;cursor:default}
.fpm-zoom-s{display:flex;gap:8px;overflow-x:auto;padding:2px;justify-content:center}
.fpm-zoom-s button{flex:none;width:64px;height:64px;padding:0;border:2px solid transparent;border-radius:8px;overflow:hidden;background:rgba(255,255,255,.1);cursor:pointer;opacity:.6}
.fpm-zoom-s button[aria-current="true"]{border-color:#fff;opacity:1}
.fpm-zoom-s img{width:100%;height:100%;object-fit:cover;display:block}
@media (max-width:640px){.fpm-zoom{padding:10px}.fpm-zoom-b{gap:6px}.fpm-zoom-b button{width:40px;height:40px}.fpm-zoom-v{height:calc(100dvh - 90px)}.fpm-zoom.has-strip .fpm-zoom-v{height:calc(100dvh - 166px)}}
/* La page dessous ne defile plus : on reste ou l'on etait. */
body.fpm-zoomed{overflow:hidden}
.fpm-auth-wrap{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:var(--fpm-background)}
.fpm-auth-card{width:100%;max-width:420px;background:var(--fpm-surface);border:1px solid var(--fpm-border);border-radius:var(--fpm-radius);box-shadow:var(--fpm-shadow);padding:30px}
.fpm-auth-head{text-align:center;margin-bottom:22px}
.fpm-auth-head h1{font-size:1.15em;margin:12px 0 0;font-weight:600}
.fpm-auth-links{margin-top:16px;text-align:center;font-size:.86em;color:var(--fpm-secondary)}
.fpm-strength{height:4px;border-radius:2px;background:var(--fpm-border);overflow:hidden;margin-top:5px}
.fpm-strength i{display:block;height:100%;width:0;transition:width .2s}
@media(max-width:900px){
.fpm-burger{display:inline-flex}
.fpm-nav{position:fixed;top:0;left:0;bottom:0;z-index:40;transform:translateX(-100%);transition:transform .2s;overflow-y:auto;padding-top:64px}
.fpm-nav.is-open{transform:none}
.fpm-user-name{display:none}
.fpm-main{padding:var(--fpm-gap) 14px}
.fpm-nav-horizontal .fpm-nav{position:static;transform:none;padding:0}
}
@media(max-width:700px){
.fpm-dl{grid-template-columns:1fr;gap:2px}
.fpm-dl dd{margin-bottom:8px}
.fpm-table,.fpm-table tbody,.fpm-table tr,.fpm-table td{display:block;width:100%}
.fpm-table thead{display:none}
.fpm-table tr{border-bottom:1px solid var(--fpm-table-bd);padding:8px 0}
.fpm-table td{border:none;padding:5px 13px;display:flex;justify-content:space-between;gap:12px}
.fpm-table td::before{content:attr(data-label);color:var(--fpm-secondary);font-size:.85em}
.fpm-row-actions{justify-content:flex-start}
.fpm-btn{min-height:40px}
}
/* Accueil 1.28 : chiffres du jour, tuiles, gestion repliable, colonne */
.fpm-stats-day{margin-bottom:var(--fpm-gap,20px)}
.fpm-home{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:var(--fpm-gap,20px);align-items:start}
.fpm-home-full{grid-template-columns:minmax(0,1fr)}
.fpm-home-main{display:flex;flex-direction:column;gap:var(--fpm-gap,20px);min-width:0}
.fpm-home-side{display:flex;flex-direction:column;gap:var(--fpm-gap,20px);min-width:0}
.fpm-home-side .fpm-card,.fpm-home-side .fpm-widget .fpm-card{margin:0}
.fpm-home-h{margin:0 0 10px;font-size:.75rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--fpm-secondary,#646970)}
.fpm-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}
.fpm-tile{position:relative;display:flex;flex-direction:column;gap:10px;padding:16px;background:var(--fpm-surface,#fff);border:1px solid var(--fpm-border,#e2e4e7);border-radius:var(--fpm-card-radius,var(--fpm-radius,12px));transition:border-color .15s,box-shadow .15s;min-width:0}
.fpm-tile:hover{border-color:color-mix(in srgb,var(--fpm-primary,#2271b1) 45%,var(--fpm-border,#e2e4e7));box-shadow:0 2px 10px rgba(0,0,0,.05)}
.fpm-body .fpm-tile a,.fpm-tile a{text-decoration:none}
.fpm-tile-a{display:flex;flex-direction:column;gap:10px;color:inherit}
.fpm-tile-a::after{content:"";position:absolute;inset:0;border-radius:inherit}
.fpm-tile-i{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;background:color-mix(in srgb,var(--c) 14%,transparent);color:var(--c)}
.fpm-tile-i svg{width:20px;height:20px}
.fpm-tile-t{display:flex;flex-direction:column;gap:2px;min-width:0}
.fpm-tile-t strong{font-size:.95rem;color:var(--fpm-text,#1d2327)}
.fpm-tile-t small{font-size:.8rem;color:var(--fpm-secondary,#646970)}
.fpm-tile-links{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:4px 10px;font-size:.8rem}
.fpm-tile-links a{color:var(--fpm-secondary,#646970)}
.fpm-tile-links a:hover{color:var(--fpm-primary,#2271b1);text-decoration:underline}
.fpm-tone-blue{--c:#2563eb}.fpm-tone-violet{--c:#7c3aed}.fpm-tone-teal{--c:#0d9488}.fpm-tone-green{--c:#16a34a}.fpm-tone-amber{--c:#d97706}.fpm-tone-rose{--c:#e11d48}.fpm-tone-slate{--c:#64748b}
.fpm-home-manage{background:var(--fpm-surface,#fff);border:1px solid var(--fpm-border,#e2e4e7);border-radius:var(--fpm-card-radius,var(--fpm-radius,12px));padding:0 16px}
.fpm-home-manage>summary{display:flex;align-items:center;gap:10px;padding:14px 0;cursor:pointer;list-style:none;font-weight:600}
.fpm-home-manage>summary::-webkit-details-marker{display:none}
.fpm-home-manage>summary::before{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);transition:transform .15s;opacity:.6}
.fpm-home-manage[open]>summary::before{transform:rotate(45deg)}
.fpm-home-manage>summary small{font-weight:400;color:var(--fpm-secondary,#646970)}
.fpm-home-manage .fpm-stats{padding-bottom:16px;margin:0}
.fpm-home-manage .fpt-stat{box-shadow:none}
.fpm-panel{padding:0;overflow:hidden}
.fpm-panel-h{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px 16px;border-bottom:1px solid var(--fpm-border,#e2e4e7)}
.fpm-panel-h h2{margin:0;font-size:.95rem;font-weight:600}
.fpm-pill{display:inline-flex;min-width:22px;height:22px;padding:0 7px;align-items:center;justify-content:center;border-radius:11px;background:color-mix(in srgb,var(--fpm-primary,#2271b1) 12%,transparent);color:var(--fpm-primary,#2271b1);font-size:.75rem;font-weight:600}
.fpm-panel-rows{list-style:none;margin:0;padding:0}
.fpm-panel-rows li{display:flex;align-items:center;gap:10px;padding:10px 16px;border-bottom:1px solid var(--fpm-border,#eef0f2)}
.fpm-panel-rows li:last-child{border-bottom:0}
.fpm-ini{flex:none;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:color-mix(in srgb,var(--c) 14%,transparent);color:var(--c);font-size:.75rem;font-weight:700}
.fpm-panel-m{flex:1;min-width:0;display:flex;flex-direction:column}
.fpm-panel-m strong{font-size:.875rem}
.fpm-panel-m small{font-size:.78rem;color:var(--fpm-secondary,#646970);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fpm-chip{flex:none;padding:3px 9px;border-radius:999px;font-size:.72rem;font-weight:600;background:color-mix(in srgb,var(--c) 13%,transparent);color:var(--c)}
.fpm-panel-empty{padding:14px 16px;margin:0}
.fpm-panel-f{display:block;padding:12px 16px;text-align:center;font-size:.85rem;font-weight:600;border-top:1px solid var(--fpm-border,#eef0f2)}
.fpm-side-stat{display:block;padding:16px;color:inherit}
.fpm-body a.fpm-side-stat:hover,a.fpm-side-stat:hover{text-decoration:none;border-color:color-mix(in srgb,var(--fpm-primary,#2271b1) 45%,var(--fpm-border,#e2e4e7))}
.fpm-side-stat-h{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:10px}
.fpm-side-stat-h strong{font-size:.95rem}
.fpm-side-stat-h span{font-weight:700;font-variant-numeric:tabular-nums}
.fpm-side-stat .fpm-muted{margin:10px 0 0;font-size:.8rem}
.fpm-tile-pick{display:flex;flex-wrap:wrap;gap:6px 18px}
.fpm-body .fpm-tile a.fpm-tile-a:hover,.fpm-tile a.fpm-tile-a:hover{text-decoration:none}
@media (max-width:1100px){.fpm-home{display:flex;flex-direction:column}.fpm-home-main{display:contents}.fpm-home-main>.fpm-home-sec{order:1}.fpm-home-manage{order:2}.fpm-home-side{order:3}.fpm-home-main>.fpm-widgets{order:4}}
@media (max-width:1100px){.fpm-home>*,.fpm-home-main>*{width:100%}}
@media (max-width:640px){.fpm-stats-day{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}.fpm-stats-day .fpt-stat{padding:12px}.fpm-stats-day .fpt-stat-n{font-size:1.5rem}.fpm-stats-day .fpt-stat-head{margin-bottom:8px}.fpm-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fpm-tile{padding:12px;gap:8px}.fpm-tile-links{display:none}.fpm-tile-i{width:36px;height:36px}}
/* Tableaux en cartes (telephone) : numero en tete, valeurs vides masquees */
@media (max-width:700px){.fpm-table td.fpm-td-empty{display:none!important}.fpm-table tbody tr>td:first-child{font-weight:600}.fpm-table tbody tr>td:first-child::before{font-weight:400}.fpm-table td[data-label=""]::before{content:none}}
/* Tableau des roles : en-tete et premiere colonne figes, groupes
   repliables, cases modifiees surlignees, barre d'enregistrement. */
.fpm-acl-tools{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:0 0 10px}
.fpm-acl-tools .fpm-acl-q{flex:1 1 260px;max-width:420px;font:inherit;font-size:.9em;padding:8px 10px;border:1px solid var(--fpm-field-bd,#8c8f94);border-radius:var(--fpm-radius);background:var(--fpm-field,#fff);color:inherit}
.fpm-acl-wrap{max-height:72vh;overflow:auto;border:1px solid var(--fpm-border,#dcdcde);border-radius:var(--fpm-radius)}
.fpm-table.fpm-acl-m,.fpm-roles-scroll .fpm-table.fpm-acl-m{border-collapse:separate;border-spacing:0;margin:0;border:0;border-radius:0;overflow:visible}
.fpm-table.fpm-acl-m th,.fpm-table.fpm-acl-m td{background:var(--fpm-panel,#fff);border-bottom:1px solid var(--fpm-border,#dcdcde)}
.fpm-roles-scroll .fpm-table.fpm-acl-m tr:nth-child(n) > :nth-child(n){border-bottom:1px solid var(--fpm-border,#dcdcde)}
.fpm-roles-scroll .fpm-table.fpm-acl-m tbody:last-child tr:last-child > :nth-child(n){border-bottom:0}
.fpm-table.fpm-acl-m thead th{position:sticky;top:0;z-index:2;vertical-align:bottom;box-shadow:0 1px 0 var(--fpm-border,#dcdcde)}
.fpm-table.fpm-acl-m tbody th[scope=row],.fpm-table.fpm-acl-m tbody th[scope=rowgroup],.fpm-table.fpm-acl-m .fpm-acl-corner{position:sticky;left:0;z-index:1;text-align:left;min-width:230px;max-width:300px;white-space:normal;box-shadow:1px 0 0 var(--fpm-border,#dcdcde)}
.fpm-table.fpm-acl-m .fpm-acl-corner{z-index:3}
.fpm-table.fpm-acl-m .fpm-role-col{min-width:118px;width:auto;text-align:center}
.fpm-acl-rh{display:flex;align-items:center;justify-content:center;gap:4px;min-height:28px}
.fpm-acl-rname{font-weight:600;text-transform:none;letter-spacing:0;line-height:1.25}
.fpm-acl-rin{width:100%;min-width:0;font:inherit;font-size:.9em;padding:4px 6px;border:1px solid var(--fpm-primary,#2271b1);border-radius:var(--fpm-radius);background:var(--fpm-field,#fff);color:inherit}
.fpm-acl-ren{flex:none;display:inline-grid;place-items:center;width:24px;height:24px;padding:0;border:0;border-radius:6px;background:transparent;color:var(--fpm-secondary,#646970);cursor:pointer}
.fpm-acl-ren:hover,.fpm-acl-ren:focus-visible{background:color-mix(in srgb,var(--fpm-primary,#2271b1) 12%,transparent);color:var(--fpm-primary,#2271b1)}
.fpm-acl-ren svg,.fpm-acl-lock svg{width:14px;height:14px}
.fpm-acl-m .fpm-role-meta{display:flex;align-items:center;justify-content:center;gap:4px;margin-top:2px;font-weight:400;color:var(--fpm-secondary,#646970)}
.fpm-acl-lock{display:inline-grid;place-items:center;cursor:help}
.fpm-table.fpm-acl-m .fpm-acl-gh th,.fpm-table.fpm-acl-m .fpm-acl-gh td{background:color-mix(in srgb,var(--fpm-border,#dcdcde) 35%,var(--fpm-panel,#fff))}
.fpm-acl-gt{display:flex;align-items:center;gap:8px;width:100%;padding:0;border:0;background:none;font:inherit;font-weight:600;color:inherit;cursor:pointer;text-align:left}
.fpm-acl-chev{width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin:0 4px 3px 2px;transition:transform .15s}
.fpm-acl-g.is-closed .fpm-acl-chev{transform:rotate(-45deg);margin-bottom:0}
.fpm-acl-gcount{font-weight:400;font-size:.82em;color:var(--fpm-secondary,#646970)}
.fpm-acl-g.is-closed .fpm-acl-r,.fpm-acl-r.is-hidden,.fpm-acl-g.is-hidden{display:none}
.fpm-acl-m.is-searching .fpm-acl-g.is-closed .fpm-acl-r:not(.is-hidden){display:table-row}
.fpm-acl-gl{display:inline-flex;align-items:center;gap:6px;margin:0;cursor:pointer;white-space:nowrap}
.fpm-acl-gn{font-size:.78em;color:var(--fpm-secondary,#646970);line-height:1;min-width:2.6em;text-align:left;font-variant-numeric:tabular-nums}
.fpm-table.fpm-acl-m td{text-align:center;width:auto}
.fpm-table.fpm-acl-m td input[type=checkbox]{width:16px;height:16px;margin:0;cursor:pointer}
.fpm-table.fpm-acl-m td.is-frozen{cursor:help}
.fpm-table.fpm-acl-m td.is-frozen input{cursor:help}
.fpm-table.fpm-acl-m tbody tr.fpm-acl-r:hover th,.fpm-table.fpm-acl-m tbody tr.fpm-acl-r:hover td{background:color-mix(in srgb,var(--fpm-primary,#2271b1) 5%,var(--fpm-panel,#fff))}
.fpm-table.fpm-acl-m td.is-changed,.fpm-table.fpm-acl-m tbody tr.fpm-acl-r:hover td.is-changed{background:color-mix(in srgb,var(--fpm-warning,#dba617) 22%,var(--fpm-panel,#fff))}
.fpm-acl-m th.is-changed .fpm-acl-rin{border-color:var(--fpm-warning,#dba617)}
.fpm-acl-none{padding:14px 16px;margin:0}
.fpm-acl-bar{position:sticky;bottom:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:12px;padding:10px 14px;border:1px solid var(--fpm-border,#dcdcde);border-radius:var(--fpm-radius);background:var(--fpm-panel,#fff);box-shadow:0 -4px 16px rgba(0,0,0,.08)}
.fpm-acl-bar-t{font-weight:600}
.fpm-acl-bar-t:before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--fpm-warning,#dba617);margin-right:8px}
.fpm-acl-bar-a{display:flex;gap:8px}
/* Telephone : un role a la fois, choisi dans la liste ; le tableau reste
   un tableau (le mode « cartes » des autres tableaux ne convient pas). */
.fpm-acl-one{display:none}
@media (max-width:700px){
.fpm-acl-one{display:flex;align-items:center;gap:8px;flex:1 1 100%;margin:0;font-weight:600}
.fpm-acl-one select{flex:1;font:inherit;font-size:.95em;padding:8px 10px;border:1px solid var(--fpm-field-bd,#8c8f94);border-radius:var(--fpm-radius);background:var(--fpm-field,#fff);color:inherit}
.fpm-acl-tools .fpm-acl-q{flex:1 1 100%;max-width:none}
.fpm-acl-wrap{max-height:none;overflow:visible}
.fpm-roles-scroll .fpm-table.fpm-acl-m{display:table;width:100%;table-layout:fixed}
.fpm-acl-wrap{border:0}
.fpm-roles-scroll .fpm-table.fpm-acl-m thead{display:table-header-group}
.fpm-roles-scroll .fpm-table.fpm-acl-m tbody{display:table-row-group}
.fpm-roles-scroll .fpm-table.fpm-acl-m tr{display:table-row;border:0;margin:0;padding:0;background:none;border-radius:0}
.fpm-roles-scroll .fpm-table.fpm-acl-m td,.fpm-roles-scroll .fpm-table.fpm-acl-m th{display:table-cell;width:auto;padding:10px 12px}
.fpm-roles-scroll .fpm-table.fpm-acl-m td::before{content:none}
.fpm-roles-scroll .fpm-table.fpm-acl-m tbody th[scope=row],.fpm-roles-scroll .fpm-table.fpm-acl-m tbody th[scope=rowgroup],.fpm-roles-scroll .fpm-table.fpm-acl-m .fpm-acl-corner{position:static;min-width:0;max-width:none;box-shadow:none}
.fpm-roles-scroll .fpm-table.fpm-acl-m thead th{position:static}
.fpm-roles-scroll .fpm-table.fpm-acl-m [data-r]:not(.is-on){display:none}
.fpm-roles-scroll .fpm-table.fpm-acl-m td[data-r]{width:84px}
.fpm-roles-scroll .fpm-table.fpm-acl-m td input[type=checkbox]{width:22px;height:22px}
.fpm-acl-bar{bottom:8px}
}
.fpm-rb .screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.fpm-rb-head{padding:14px 16px;margin-bottom:14px}
.fpm-rb-head-in{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:flex-end}
.fpm-rb-f{display:flex;flex-direction:column;gap:4px;min-width:180px;font-weight:600;font-size:13px}
.fpm-rb-f-name{flex:1 1 220px}
.fpm-rb-f input,.fpm-rb-f select{font-weight:400}
.fpm-rb-copy{align-self:center;margin-bottom:6px}
.fpm-rb-meta{margin:10px 0 0;font-size:13px}
.fpm-rb-head .fpm-notice{margin:10px 0 0}
.fpm-rb-cols{display:grid;grid-template-columns:minmax(300px,5fr) minmax(0,7fr);gap:14px;align-items:start}
.fpm-rb-edit{padding:12px;margin:0}
.fpm-rb-tools{display:flex;gap:10px;align-items:center;margin-bottom:10px}
.fpm-rb-q{flex:1;min-width:0}
.fpm-rb-total{font-size:12px;color:var(--fpm-secondary,#646970);white-space:nowrap}
.fpm-rb-g{border:1px solid var(--fpm-border,#dcdcde);border-radius:var(--fpm-radius,8px);margin-bottom:8px;background:var(--fpm-panel,#fff)}
.fpm-rb-g>summary{display:flex;align-items:center;gap:8px;padding:8px 10px;cursor:pointer;list-style:none;font-weight:600;background:color-mix(in srgb,var(--fpm-border,#dcdcde) 30%,var(--fpm-panel,#fff));border-radius:var(--fpm-radius,8px)}
.fpm-rb-g[open]>summary{border-bottom:1px solid var(--fpm-border,#dcdcde);border-radius:var(--fpm-radius,8px) var(--fpm-radius,8px) 0 0}
.fpm-rb-g>summary::-webkit-details-marker{display:none}
.fpm-rb-g>summary:before{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);transition:transform .15s;opacity:.6;flex:none}
.fpm-rb-g[open]>summary:before{transform:rotate(45deg)}
.fpm-rb-g-t{flex:1}
.fpm-rb-g-n{font-size:12px;font-weight:400;color:var(--fpm-secondary,#646970)}
.fpm-rb-g-all{display:flex;padding:2px}
.fpm-rb-g ul{list-style:none;margin:0;padding:4px 0}
.fpm-rb-c{display:flex;align-items:center;gap:8px;padding:5px 10px;border-left:3px solid transparent}
.fpm-rb-c label{display:flex;align-items:flex-start;gap:9px;flex:1;cursor:pointer;line-height:1.35}
.fpm-rb-c input{margin:2px 0 0;width:16px;height:16px;flex:none}
.fpm-rb-c.is-frozen label{cursor:help;color:var(--fpm-secondary,#646970)}
.fpm-rb-c.is-changed{background:color-mix(in srgb,var(--fpm-warning,#dba617) 18%,transparent);border-left-color:var(--fpm-warning,#dba617)}
.fpm-rb-c.is-flash{animation:fpm-rb-flash 1.6s ease}
@keyframes fpm-rb-flash{0%,40%{background:color-mix(in srgb,var(--fpm-primary,#2271b1) 22%,transparent)}100%{background:transparent}}
.fpm-rb-inh{font-size:11px;color:var(--fpm-secondary,#646970);border:1px solid var(--fpm-border,#dcdcde);border-radius:9px;padding:0 6px}
.fpm-rb-prev{position:sticky;top:12px;padding:12px;margin:0;max-height:calc(100vh - 24px);overflow:auto;overscroll-behavior:contain}
.fpm-rb-prev.is-busy .fpm-rb-view{opacity:.6;transition:opacity .2s .15s}
.fpm-rb-prev-h{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.fpm-rb-tabs{display:flex;gap:4px;padding:3px;max-width:100%;overflow-x:auto;scrollbar-width:none;border-radius:10px;background:color-mix(in srgb,var(--fpm-border,#dcdcde) 45%,transparent)}
.fpm-rb-tab{border:0;background:none;padding:6px 12px;border-radius:8px;font:inherit;font-size:13px;font-weight:600;color:var(--fpm-secondary,#646970);cursor:pointer;display:flex;gap:6px;align-items:center}
.fpm-rb-tab[aria-selected=true]{background:var(--fpm-panel,#fff);color:inherit;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.fpm-rb-cnt{display:inline-flex;gap:4px}
.fpm-rb-cnt i{font-style:normal;font-size:11px;padding:0 6px;border-radius:9px}
.fpm-rb-cnt .is-add{background:color-mix(in srgb,#16a34a 16%,transparent);color:#15803d}
.fpm-rb-cnt .is-del{background:color-mix(in srgb,#dc2626 14%,transparent);color:#b91c1c}
.fpm-rb-spin{width:14px;height:14px;border:2px solid var(--fpm-border,#dcdcde);border-top-color:var(--fpm-primary,#2271b1);border-radius:50%;animation:fpm-rb-spin .7s linear infinite}
.fpm-rb-spin[hidden]{display:none}
@keyframes fpm-rb-spin{to{transform:rotate(360deg)}}
.fpm-rb-err{color:#b91c1c;font-size:13px}
.fpm-rb-foot{font-size:12px;margin:10px 0 0}
.fpm-rb-try{margin-left:auto;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.fpm-rb-try svg{width:14px;height:14px}
.fpm-rb-prev-h{flex-wrap:wrap}
.fpm-rb-live{margin:0 0 10px;padding:7px 10px;border-radius:8px;font-size:12px;background:color-mix(in srgb,#f59e0b 16%,transparent);border-left:3px solid #f59e0b}
.fpm-rb-view [data-cap]{cursor:pointer}
.fpm-rb-mk{font-style:normal;font-weight:700;display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;border-radius:8px;font-size:11px;line-height:1;margin-left:6px;flex:none}
.fpm-rb .is-add>.fpm-rb-mk,.fpm-rb .is-add .fpm-rb-mk{background:#16a34a;color:#fff}
.fpm-rb .is-del>.fpm-rb-mk,.fpm-rb .is-del .fpm-rb-mk{background:#dc2626;color:#fff}
.fpm-rb-view .is-add{outline:2px solid color-mix(in srgb,#16a34a 70%,transparent);outline-offset:-2px;background-color:color-mix(in srgb,#16a34a 10%,transparent)}
.fpm-rb-view .is-del{opacity:.55;outline:2px dashed color-mix(in srgb,#dc2626 70%,transparent);outline-offset:-2px}
.fpm-rb-view .is-del span,.fpm-rb-view .is-del strong,.fpm-rb-view .is-del small{text-decoration:line-through}
.fpm-rb-sec.is-add,.fpm-rb-sec.is-del,.fpm-rb-sec .is-add,.fpm-rb-sec .is-del{outline:0;background:none}
.fpm-rb-sec.is-add .fpm-rb-link,.fpm-rb-link.is-add{background:color-mix(in srgb,#16a34a 30%,transparent)}
.fpm-rb-sec.is-del .fpm-rb-link,.fpm-rb-link.is-del{background:color-mix(in srgb,#dc2626 28%,transparent)}
.fpm-rb-win{border:1px solid var(--fpm-border,#dcdcde);border-radius:10px;overflow:hidden;background:var(--fpm-background,#f6f7f7);font-size:12px}
.fpm-rb-bar-top{display:flex;align-items:center;gap:10px;padding:7px 10px;background:color-mix(in srgb,var(--fpm-border,#dcdcde) 50%,var(--fpm-panel,#fff));border-bottom:1px solid var(--fpm-border,#dcdcde)}
.fpm-rb-dots{display:flex;gap:4px}.fpm-rb-dots i{width:8px;height:8px;border-radius:50%;background:var(--fpm-border,#c3c4c7)}
.fpm-rb-url{flex:1;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fpm-rb-as{font-size:11px;padding:2px 8px;border-radius:9px;background:var(--fpm-primary,#2271b1);color:#fff;white-space:nowrap}
.fpm-rb-shell{display:grid;grid-template-columns:minmax(130px,30%) 1fr;min-height:340px}
.fpm-rb-side{background:var(--fpm-sidebar,#1d2327);color:var(--fpm-sidebar-tx,#f0f0f1);padding:8px 6px}
.fpm-rb-side svg{width:13px;height:13px;flex:none;opacity:.8}
.fpm-rb-sec{margin-bottom:8px}
.fpm-rb-sec-t{display:flex;align-items:center;gap:5px;padding:3px 6px;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.7}
.fpm-rb-sec ul{list-style:none;margin:0;padding:0}
.fpm-rb-link{display:flex;align-items:center;gap:6px;padding:4px 8px;border-radius:6px;line-height:1.25}
.fpm-rb-link span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fpm-rb-acc{border-top:1px solid color-mix(in srgb,var(--fpm-sidebar-tx,#fff) 18%,transparent);padding-top:6px}
.fpm-rb-main{padding:10px;min-width:0}
.fpm-rb-ph{display:block;height:7px;border-radius:4px;background:color-mix(in srgb,var(--fpm-secondary,#646970) 18%,transparent);margin:6px 0 0;width:80%}
.fpm-rb-ph-l{height:11px;width:45%;margin:0}
.fpm-rb-ph-s{width:55%}
.fpm-rb-ph-n{width:30px;height:12px}
.fpm-rb-hero{display:flex;gap:8px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:10px}
.fpm-rb-hero>div:first-child{flex:1 1 100px}
.fpm-rb-acts{display:flex;gap:5px;flex-wrap:wrap}
.fpm-rb-btn{display:inline-flex;align-items:center;padding:4px 9px;border-radius:6px;border:1px solid var(--fpm-border,#dcdcde);background:var(--fpm-panel,#fff);font-weight:600}
.fpm-rb-btn.is-p{background:var(--fpm-primary,#2271b1);border-color:var(--fpm-primary,#2271b1);color:#fff}
.fpm-rb-stats{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:6px;margin-bottom:10px}
.fpm-rb-stat,.fpm-rb-card,.fpm-rb-tile{background:var(--fpm-panel,#fff);border:1px solid var(--fpm-border,#dcdcde);border-radius:8px;padding:7px 8px}
.fpm-rb-stat{display:flex;flex-direction:column;gap:3px}
.fpm-rb-stat-i{display:inline-flex;width:20px;height:20px;border-radius:6px;align-items:center;justify-content:center;background:color-mix(in srgb,var(--fpm-primary,#2271b1) 14%,transparent);color:var(--fpm-primary,#2271b1)}
.fpm-rb-t-success{background:color-mix(in srgb,#16a34a 14%,transparent);color:#15803d}.fpm-rb-t-warning{background:color-mix(in srgb,#d97706 16%,transparent);color:#b45309}.fpm-rb-t-danger{background:color-mix(in srgb,#dc2626 14%,transparent);color:#b91c1c}.fpm-rb-t-muted{background:color-mix(in srgb,#64748b 14%,transparent);color:#475569}
.fpm-rb-stat svg,.fpm-rb-tile-i svg{width:12px;height:12px}
.fpm-rb-stat-l{font-weight:600;line-height:1.25;display:flex;align-items:center}
.fpm-rb-home{display:grid;grid-template-columns:1fr;gap:8px}
.fpm-rb-home:has(.fpm-rb-home-s){grid-template-columns:minmax(0,1fr) minmax(90px,34%)}
.fpm-rb-home-m,.fpm-rb-home-s{display:flex;flex-direction:column;gap:6px;min-width:0}
.fpm-rb-h{margin:2px 0 0;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--fpm-secondary,#646970)}
.fpm-rb-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:6px}
.fpm-rb-tile{display:flex;align-items:center;gap:7px}
.fpm-rb-tile-i{display:inline-flex;width:24px;height:24px;border-radius:7px;align-items:center;justify-content:center;flex:none;background:color-mix(in srgb,var(--c,#2563eb) 14%,transparent);color:var(--c,#2563eb)}
.fpm-rb-tone-blue{--c:#2563eb}.fpm-rb-tone-violet{--c:#7c3aed}.fpm-rb-tone-teal{--c:#0d9488}.fpm-rb-tone-green{--c:#16a34a}.fpm-rb-tone-amber{--c:#d97706}.fpm-rb-tone-rose{--c:#e11d48}.fpm-rb-tone-slate{--c:#64748b}
.fpm-rb-tile-t{display:flex;flex-direction:column;min-width:0;flex:1}
.fpm-rb-tile-t strong,.fpm-rb-tile-t small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fpm-rb-tile-t small{color:var(--fpm-secondary,#646970);font-size:10px}
.fpm-rb-manage{display:flex;flex-wrap:wrap;gap:4px;align-items:center;padding:6px 8px;border:1px dashed var(--fpm-border,#dcdcde);border-radius:8px}
.fpm-rb-manage>span:first-child{font-weight:700;margin-right:4px}
.fpm-rb-chip{display:inline-flex;align-items:center;padding:2px 8px;border-radius:12px;border:1px solid var(--fpm-border,#dcdcde);background:var(--fpm-panel,#fff);font-size:11px}
.fpm-rb-chip.is-p{background:var(--fpm-primary,#2271b1);color:#fff;border-color:transparent}
.fpm-rb-card-t{display:flex;align-items:center;font-weight:700}
.fpm-rb-gauge{display:block;height:6px;border-radius:3px;margin-top:6px;background:linear-gradient(90deg,#16a34a 55%,color-mix(in srgb,var(--fpm-secondary,#646970) 18%,transparent) 55%)}
.fpm-rb-none{color:var(--fpm-secondary,#646970);font-style:italic;margin:6px 0}
.fpm-rb-side .fpm-rb-none{color:inherit;opacity:.7}
.fpm-rb-phone{width:270px;max-width:100%;margin:0 auto;border:10px solid #111827;border-radius:30px;background:#111827;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.fpm-rb-ph-in{border-radius:20px;overflow:hidden;background:var(--fpm-background,#f6f7f7);display:flex;flex-direction:column;height:520px;font-size:12px}
.fpm-rb-app-top{display:flex;align-items:center;gap:8px;padding:12px 12px 8px;background:var(--fpm-panel,#fff);border-bottom:1px solid var(--fpm-border,#dcdcde)}
.fpm-rb-app-mark{width:28px;height:28px;border-radius:8px;background:var(--fpm-primary,#2271b1);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700}
.fpm-rb-app-n{display:flex;flex-direction:column;line-height:1.2;min-width:0}
.fpm-rb-app-n small{color:var(--fpm-secondary,#646970)}
.fpm-rb-app-b{flex:1;overflow:auto;padding:10px;display:flex;flex-direction:column;gap:8px}
.fpm-rb-app-b>*{flex-shrink:0}
.fpm-rb-app-stats{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.fpm-rb-app-stat{background:var(--fpm-panel,#fff);border:1px solid var(--fpm-border,#dcdcde);border-radius:10px;padding:7px}
.fpm-rb-app-stat small{display:flex;align-items:center;font-weight:600;line-height:1.2}
.fpm-rb-app-chips{display:flex;gap:5px;overflow:hidden;flex-wrap:wrap}
.fpm-rb-app-tiles{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.fpm-rb-app-tile{display:flex;flex-direction:column;gap:3px;background:var(--fpm-panel,#fff);border:1px solid var(--fpm-border,#dcdcde);border-radius:12px;padding:8px;min-width:0}
.fpm-rb-app-tile strong{display:flex;align-items:center}
.fpm-rb-app-tile small{color:var(--fpm-secondary,#646970);font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fpm-rb-app-tile>.fpm-rb-mk{position:absolute;margin:0}
.fpm-rb-app-tile{position:relative}
.fpm-rb-app-tile>.fpm-rb-mk{top:6px;right:6px}
.fpm-rb-tabbar{display:flex;justify-content:space-around;padding:6px 4px 8px;background:var(--fpm-panel,#fff);border-top:1px solid var(--fpm-border,#dcdcde)}
.fpm-rb-tabbar>span{display:flex;flex-direction:column;align-items:center;gap:2px;color:var(--fpm-secondary,#646970);padding:2px 6px;border-radius:8px}
.fpm-rb-tabbar>span:first-child{color:var(--fpm-primary,#2271b1)}
.fpm-rb-tabbar small{font-size:10px}
.fpm-rb-ref{margin:0 0 8px}
.fpm-rb-dz{margin-bottom:10px}
.fpm-rb-dz h4{margin:0 0 4px;font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:var(--fpm-secondary,#646970)}
.fpm-rb-dz ul{list-style:none;margin:0;padding:0}
.fpm-rb-dz li{display:flex;align-items:center;gap:8px;padding:5px 8px;border-radius:6px;margin-bottom:3px}
.fpm-rb-dz li .fpm-rb-mk{margin:0}
.fpm-rb-dz li.is-del{text-decoration:none;opacity:1;outline:0;background:color-mix(in srgb,#dc2626 9%,transparent)}
.fpm-rb-dz li.is-add{outline:0;background:color-mix(in srgb,#16a34a 10%,transparent)}
.fpm-rb-save{margin-top:14px}
.fpm-rb-org-help{font-size:12px;margin:0 0 8px}
.fpm-rb-org{max-width:520px}
.fpm-rb-org ol{list-style:none;margin:0;padding:0}
.fpm-rb-org-list{background:var(--fpm-sidebar,#1d2327);color:var(--fpm-sidebar-tx,#f0f0f1);border-radius:10px;padding:6px}
.fpm-rb-org-sec{margin:2px 0 6px;border-radius:8px}
.fpm-rb-org-pages{padding-left:16px!important}
.fpm-rb-org-row{display:flex;align-items:center;gap:7px;padding:5px 6px;border-radius:7px;min-height:34px}
.fpm-rb-org-sec>.fpm-rb-org-row{font-weight:700;font-size:11px;letter-spacing:.05em;text-transform:uppercase}
.fpm-rb-org-row:hover{background:color-mix(in srgb,var(--fpm-sidebar-tx,#fff) 9%,transparent)}
.fpm-rb-org-row svg{width:15px;height:15px;flex:none;opacity:.85}
.fpm-rb-org-t{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fpm-rb-org-grip{width:10px;height:16px;flex:none;cursor:grab;opacity:.5;background:radial-gradient(circle,currentColor 1.2px,transparent 1.4px) 0 0/5px 5px}
.fpm-rb-org li.is-drag>.fpm-rb-org-row{outline:2px dashed color-mix(in srgb,var(--fpm-sidebar-tx,#fff) 60%,transparent);opacity:.7}
.fpm-rb-org-st{flex:none;font:inherit;font-size:11px;font-weight:600;letter-spacing:0;text-transform:none;padding:2px 9px;border-radius:11px;border:1px solid color-mix(in srgb,var(--fpm-sidebar-tx,#fff) 35%,transparent);background:transparent;color:inherit;cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center;gap:4px}
.fpm-rb-org-st.is-ro{cursor:help;opacity:.75}
.fpm-rb-org-st svg{width:11px;height:11px}
.fpm-rb-org .is-hidden>.fpm-rb-org-row .fpm-rb-org-st{background:#f59e0b;border-color:#f59e0b;color:#111827}
.fpm-rb-org .is-forbidden>.fpm-rb-org-row .fpm-rb-org-st{background:#dc2626;border-color:#dc2626;color:#fff}
.fpm-rb-org .is-hidden>.fpm-rb-org-row .fpm-rb-org-t{opacity:.55;font-style:italic}
.fpm-rb-org .is-forbidden>.fpm-rb-org-row .fpm-rb-org-t{opacity:.5;text-decoration:line-through}
.fpm-rb-org-sec.is-hidden>.fpm-rb-org-pages,.fpm-rb-org-sec.is-forbidden>.fpm-rb-org-pages{opacity:.45}
.fpm-rb-org-mv{display:inline-flex;gap:2px;flex:none}
.fpm-rb-org-mv button{width:24px;height:24px;border-radius:6px;border:0;background:color-mix(in srgb,var(--fpm-sidebar-tx,#fff) 12%,transparent);color:inherit;cursor:pointer;font-size:13px;line-height:1;padding:0}
.fpm-rb-org-mv button:hover,.fpm-rb-org-mv button:focus-visible{background:color-mix(in srgb,var(--fpm-sidebar-tx,#fff) 25%,transparent)}
.fpm-rb-org-foot{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0 0;font-size:12px;color:var(--fpm-secondary,#646970)}
.fpm-rb-app-wrap .fpm-rb-org-help{max-width:520px;margin:0 auto 10px}
.fpm-rb-view [data-ak]{position:relative}
.fpm-rb-eye{position:absolute;top:4px;right:4px;width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;padding:0;border-radius:7px;border:1px solid var(--fpm-border,#dcdcde);background:var(--fpm-panel,#fff);color:var(--fpm-secondary,#646970);cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.fpm-rb-eye svg{width:14px;height:14px}
.fpm-rb-eye:hover,.fpm-rb-eye:focus-visible{color:var(--fpm-primary,#2271b1);border-color:var(--fpm-primary,#2271b1)}
.fpm-rb-chip .fpm-rb-eye{position:static;width:18px;height:18px;margin-left:5px;border-radius:5px}
.fpm-rb-chip .fpm-rb-eye svg{width:11px;height:11px}
.fpm-rb-app-stat .fpm-rb-eye,.fpm-rb-app-tile .fpm-rb-eye{top:3px;right:3px}
.fpm-rb-app-tile>.fpm-rb-mk{right:32px}
.fpm-rb-card[data-ak]{padding-right:34px}
.fpm-rb-view .is-off>*:not(.fpm-rb-eye){opacity:.4}
.fpm-rb-view .is-off{color:var(--fpm-secondary,#646970);background-image:repeating-linear-gradient(135deg,transparent 0 6px,color-mix(in srgb,var(--fpm-secondary,#646970) 10%,transparent) 6px 12px)}
.fpm-rb-view .fpm-rb-chip.is-off{background:var(--fpm-panel,#fff);border:1px dashed var(--fpm-secondary,#646970);color:var(--fpm-secondary,#646970);text-decoration:line-through}
.fpm-rb-view .is-off .fpm-rb-eye{opacity:1;color:#b45309;border-color:#f59e0b;background:#fffbeb}
.fpm-rb-dz li.is-mv{background:color-mix(in srgb,var(--fpm-primary,#2271b1) 9%,transparent)}
.fpm-rb-dz li.is-mv .fpm-rb-mk{background:var(--fpm-primary,#2271b1);color:#fff;margin:0}
.fpm-rb-jump{display:none}
@media (max-width:1000px){.fpm-rb-jump{display:inline-flex;align-items:center;gap:6px;position:sticky;bottom:12px;float:right;z-index:4;margin:-4px 0 10px;padding:7px 12px;border-radius:18px;background:var(--fpm-primary,#2271b1);color:#fff;font-weight:600;text-decoration:none;box-shadow:0 4px 12px rgba(0,0,0,.2)}.fpm-rb-jump .fpm-rb-cnt i{background:rgba(255,255,255,.9)}}
@media (max-width:1000px){.fpm-rb-cols{grid-template-columns:1fr}.fpm-rb-prev{position:static;max-height:none}}
@media (max-width:560px){.fpm-rb-tab{padding:6px 7px;font-size:12px}.fpm-rb-org-pages{padding-left:8px!important}.fpm-rb-shell{grid-template-columns:1fr}.fpm-rb-side{display:grid;grid-template-columns:1fr 1fr;gap:4px}.fpm-rb-home:has(.fpm-rb-home-s){grid-template-columns:1fr}.fpm-rb-f{min-width:0;flex:1 1 100%}.fpm-rb-tab{padding:6px 8px}}
.fpm-du-kpis{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;margin-bottom:14px}
.fpm-du-kpi{display:flex;flex-direction:column;gap:4px;padding:14px 16px}.fpm-du-kpi>span{font-size:.82rem;color:var(--fpm-secondary,#646970)}
.fpm-du-kpi strong{font-size:1.3rem;font-variant-numeric:tabular-nums}.fpm-du-kpi small{font-size:.78rem;color:var(--fpm-secondary,#646970)}
.fpm-du-gauge{height:8px;border-radius:999px;background:var(--fpm-border,#e5e7eb);overflow:hidden;margin:-4px 0 16px}.fpm-du-gauge span{display:block;height:100%;background:var(--fpm-primary,#2271b1)}
.fpm-du-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:var(--fpm-gap,16px);align-items:start}.fpm-du-cols .fpm-card{margin:0}
.fpm-du-cols+.fpm-card{margin-top:var(--fpm-gap,16px)}
.fpm-du-t{margin:0}.fpm-du-t .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.fpm-du-share{width:32%;white-space:nowrap}.fpm-du-bar{display:inline-block;vertical-align:middle;width:calc(100% - 52px);height:8px;border-radius:999px;background:var(--fpm-border,#e5e7eb);overflow:hidden}
.fpm-du-bar i{display:block;height:100%;background:var(--fpm-primary,#2271b1);border-radius:inherit}.fpm-du-pct{display:inline-block;width:46px;text-align:right;font-size:.8rem;color:var(--fpm-secondary,#646970);font-variant-numeric:tabular-nums}
.fpm-du-m{display:block;font-size:.76rem;color:var(--fpm-secondary,#646970)}
.fpm-du-chart{display:grid;grid-template-columns:repeat(12,1fr);gap:6px;align-items:end;height:180px;padding-top:8px}
.fpm-du-col{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;min-width:0}
.fpm-du-col i{display:block;width:70%;max-width:38px;border-radius:5px 5px 0 0;background:var(--fpm-primary,#2271b1)}
.fpm-du-v{font-size:.66rem;color:var(--fpm-secondary,#646970);white-space:nowrap;margin-bottom:3px}.fpm-du-l{font-size:.72rem;color:var(--fpm-secondary,#646970);margin-top:5px;text-transform:capitalize}
@media (max-width:640px){.fpm-du-cols{grid-template-columns:1fr}.fpm-du-v{display:none}.fpm-du-share{width:auto}.fpm-du-bar{width:90px}}

/* --- Module Documents --- */
.fpm-doc-app{max-width:1180px;margin:0 auto}
.fpm-doc-crumbs{margin:0 0 12px;font-size:.82em}

/* Barre : recherche + actions, puis filtres */
.fpm-doc-bar{background:var(--fpm-panel);border:1px solid var(--fpm-panel-bd);border-radius:var(--fpm-radius);padding:12px;margin-bottom:16px;display:flex;flex-direction:column;gap:8px}
.fpm-doc-bar-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.fpm-doc-search{position:relative;flex:1 1 260px;min-width:200px;display:flex;align-items:center}
.fpm-doc-search .fpm-ico{position:absolute;left:10px;width:16px;height:16px;color:var(--fpm-secondary);pointer-events:none}
.fpm-doc-bar input[type=search]{width:100%;height:34px;padding:0 12px 0 32px;font:inherit;font-size:.88rem;border:1px solid var(--fpm-field-bd);border-radius:var(--fpm-radius);background:var(--fpm-field);color:inherit}
.fpm-doc-actions{display:flex;gap:6px;flex-wrap:wrap;margin-left:auto}
.fpm-doc-actions .fpm-btn{height:34px;min-height:0;padding:0 12px;gap:6px;font-size:.85rem;white-space:nowrap}
.fpm-doc-actions .fpm-ico{width:16px;height:16px}

.fpm-doc-bar-filters{padding-top:8px;border-top:1px solid var(--fpm-panel-bd)}
.fpm-doc-ctl{display:block;flex:1 1 150px;min-width:120px;max-width:220px}
.fpm-doc-bar select{width:100%;height:32px;padding:0 26px 0 10px;font:inherit;font-size:.85rem;border:1px solid var(--fpm-field-bd);border-radius:var(--fpm-radius);background:var(--fpm-field);color:inherit}
.fpm-doc-bar-filters .fpm-btn{height:32px;min-height:0;padding:0 14px;font-size:.85rem}
.fpm-doc-bar :focus-visible{outline:2px solid var(--fpm-primary);outline-offset:1px}

/* Panneaux : invisibles tant qu'ils ne sont pas ouverts */
.fpm-doc-panel{margin:0 0 16px}
.fpm-doc-panel>summary{display:none}
.fpm-doc-panel:not([open]){display:none}
.fpm-doc-panel-b{background:var(--fpm-panel);border:1px solid var(--fpm-panel-bd);border-radius:var(--fpm-radius);padding:16px}
.fpm-doc-panel-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;font-size:.95em}
.fpm-doc-panel-x{display:inline-flex;color:var(--fpm-secondary);padding:4px;border-radius:var(--fpm-radius)}
.fpm-doc-panel-x .fpm-ico{transform:rotate(45deg)}
.fpm-doc-panel-x:hover{background:var(--fpm-background);color:inherit}
.fpm-doc-panel-b .fpm-card{margin:0;border:0;box-shadow:none;background:transparent}
.fpm-doc-panel-b .fpm-card-h{display:none}
.fpm-doc-panel-b .fpm-card-b{padding:0}
.fpm-doc-panel-b .fpm-fld{margin-bottom:12px}
.fpm-doc-panel-b .fpm-actions{margin-top:12px;padding-top:12px}

/* Grille dense */
.fpm-doc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px;margin-bottom:16px}
.fpm-doc-tile{display:flex;align-items:center;gap:10px;padding:10px 12px;background:var(--fpm-document);border:1px solid var(--fpm-document-bd);border-radius:var(--fpm-radius);color:inherit;min-width:0}
.fpm-doc-tile:hover{border-color:var(--fpm-document-hover-bd);background:var(--fpm-document-hover);text-decoration:none}
.fpm-doc-tile.is-folder{background:var(--fpm-folder);border-color:var(--fpm-folder-bd)}
.fpm-doc-tile.is-folder:hover{background:var(--fpm-folder-hover);border-color:var(--fpm-folder-hover-bd)}
/* Vue liste : transparent tant que le dossier n'a pas de couleur propre. */
.fpm-doc-folder-row td{background:var(--fpm-folder-row)}
.fpm-doc-tile-ico{display:flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 34px;border-radius:var(--fpm-radius);background:var(--fpm-background);color:var(--fpm-secondary)}
.fpm-doc-tile-ico .fpm-ico{width:18px;height:18px}
.fpm-doc-tile.is-folder .fpm-doc-tile-ico{color:var(--fpm-primary)}
.fpm-doc-tile-txt{min-width:0;display:flex;flex-direction:column;gap:2px}
.fpm-doc-tile-name{font-size:.85rem;font-weight:500;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fpm-doc-tile-meta{font-size:.72rem;color:var(--fpm-secondary);line-height:1.2}
.fpm-doc-tile-wrap{position:relative}
.fpm-doc-tile-share{position:absolute;top:6px;right:6px;display:none;align-items:center;justify-content:center;width:24px;height:24px;border-radius:var(--fpm-radius);background:var(--fpm-tile);border:1px solid var(--fpm-border);color:var(--fpm-secondary)}
.fpm-doc-tile-share .fpm-ico{width:13px;height:13px}
.fpm-doc-tile-wrap:hover .fpm-doc-tile-share,.fpm-doc-tile-share:focus{display:flex}
.fpm-doc-tile-share:hover{color:var(--fpm-primary);border-color:var(--fpm-primary)}
.fpm-doc-advanced{margin-bottom:16px}
.fpm-doc-advanced>summary{padding:10px 12px;cursor:pointer;font-size:.88rem;color:var(--fpm-secondary);border:1px solid var(--fpm-border);border-radius:var(--fpm-radius);background:var(--fpm-panel)}
.fpm-doc-advanced[open]>summary{margin-bottom:12px}
.fpm-doc-empty{padding:24px;text-align:center;background:var(--fpm-panel);border:1px dashed var(--fpm-panel-bd);border-radius:var(--fpm-radius)}

/* Vue liste, plus dense */
.fpm-doc-app .fpm-table{font-size:.86rem;margin-bottom:16px}
.fpm-doc-app .fpm-table th,.fpm-doc-app .fpm-table td{padding:8px 12px}
.fpm-doc-name{display:flex;align-items:center;gap:8px;color:inherit;min-width:0}
.fpm-doc-name span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fpm-doc-name:hover{color:var(--fpm-link)}
.fpm-doc-check{width:32px}
.fpm-doc-folder-row .fpm-doc-name{font-weight:500}
.fpm-doc-app .fpm-row-actions .fpm-btn{height:28px;min-height:0;padding:0 10px;font-size:.78rem}
.fpm-doc-bulkbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;padding:10px 12px;border:1px solid var(--fpm-panel-bd);border-radius:var(--fpm-radius);background:var(--fpm-panel);margin-bottom:16px;font-size:.85rem}
.fpm-doc-bulkbar select,.fpm-doc-bulkbar input{height:32px;font:inherit;font-size:.85rem;padding:0 10px;border:1px solid var(--fpm-field-bd);border-radius:var(--fpm-radius);background:var(--fpm-field);color:inherit}

/* Depot */
.fpm-doc-drop{border:2px dashed var(--fpm-border);border-radius:var(--fpm-radius);padding:20px;text-align:center;margin-bottom:12px}
.fpm-doc-drop.is-over{border-color:var(--fpm-primary);background:rgba(34,113,177,.06)}
.fpm-doc-drop-text{font-weight:600;margin:0 0 2px;font-size:.95em}
.fpm-doc-queue{list-style:none;margin:0 0 12px;padding:0}
.fpm-doc-queue li{display:flex;align-items:center;gap:10px;padding:6px 0;border-bottom:1px solid var(--fpm-border);font-size:.85rem}
.fpm-doc-queue li:last-child{border-bottom:none}
.fpm-doc-queue .fpm-doc-qname{flex:1;word-break:break-all}
.fpm-doc-queue .fpm-doc-qbar{width:110px;height:4px;border-radius:2px;background:var(--fpm-border);overflow:hidden}
.fpm-doc-queue .fpm-doc-qbar i{display:block;height:100%;width:0;background:var(--fpm-primary);transition:width .2s}
.fpm-doc-queue .is-error{color:#b32d2e}
.fpm-doc-queue .is-done{color:#3c8a3c}

/* Detail */
.fpm-doc-preview{width:100%;max-height:620px;min-height:400px;border:1px solid var(--fpm-border);border-radius:var(--fpm-radius);background:var(--fpm-background)}
img.fpm-doc-preview{min-height:0;object-fit:contain}
.fpm-doc-preview-text{max-height:400px;overflow:auto;padding:12px;background:var(--fpm-background);border:1px solid var(--fpm-border);border-radius:var(--fpm-radius);font-size:.82rem;white-space:pre-wrap}

/* Widgets */
.fpm-doc-mini{list-style:none;margin:0;padding:0;font-size:.88rem}
.fpm-doc-mini li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px solid var(--fpm-border)}
.fpm-doc-mini li:last-child{border-bottom:none}
.fpm-doc-mini a{display:flex;align-items:center;gap:8px;color:inherit;min-width:0}
.fpm-doc-mini a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fpm-doc-gauge{height:8px;border-radius:4px;background:var(--fpm-border);overflow:hidden;margin:10px 0 6px}
.fpm-doc-gauge i{display:block;height:100%;background:var(--fpm-primary)}

@media(max-width:900px){
.fpm-doc-ctl{max-width:none;flex:1 1 45%}
}
@media(max-width:700px){
.fpm-doc-search{flex:1 1 100%}
.fpm-doc-actions{margin-left:0;width:100%}
.fpm-doc-actions .fpm-btn{flex:1;justify-content:center;height:40px}
.fpm-doc-ctl{flex:1 1 100%;max-width:none}
.fpm-doc-bar-filters .fpm-btn{width:100%;height:40px}
.fpm-doc-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
.fpm-doc-check{display:none}
.fpm-doc-preview{min-height:280px}
}
.fpm-party-bar{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:16px}
.fpm-party-filters{display:flex;gap:8px;flex-wrap:wrap}
.fpm-party-filters input,.fpm-party-filters select{padding:6px 10px;border:1px solid var(--fpm-field-bd,#8c8f94);border-radius:var(--fpm-radius,8px);background:var(--fpm-field,#fff);color:inherit}
.fpm-party-table code{font-size:12px;opacity:.8}
.fpm-party-add{margin-top:16px}
/* Code postal etroit, ville large, pays moyen : les proportions du
   contenu reel, pas trois colonnes egales. */
.fpm-grid-addr{display:grid;grid-template-columns:minmax(110px,.8fr) minmax(200px,2.2fr) minmax(130px,1fr);gap:0 var(--fpm-gap,20px)}
@media (max-width:640px){.fpm-grid-addr{grid-template-columns:1fr}}
.fpm-form-group{margin:20px 0 10px;font-size:.8125rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--fpm-secondary)}
.fpm-form-group:first-child{margin-top:0}
.fpm-party-add>summary{cursor:pointer;font-weight:600;margin-bottom:10px}
.fpm-party-notes{margin-top:12px;padding:10px 12px;background:var(--fpm-bg,#f6f7f7);border-radius:var(--fpm-radius,8px)}
.fpm-party-docs{list-style:none;margin:0;padding:0}
.fpm-party-docs li{padding:6px 0;border-bottom:1px solid var(--fpm-border,#dcdcde)}
.fpm-party-docs li:last-child{border-bottom:0}
.fpm-inline{display:inline}
.fpm-badge{display:inline-block;padding:2px 8px;border-radius:999px;background:var(--fpm-bg,#f6f7f7);font-size:12px}
.fpm-badge-inactive{background:#fcf9e8}
.fpm-badge-archived{background:#f0f0f1;opacity:.7}
.fpm-stats{list-style:none;margin:0;padding:0}
.fpm-stats li{padding:4px 0}
.fpm-muted{opacity:.6;font-size:12px}
.fpm-quick{margin-top:6px}
.fpm-quick-btn{background:none;border:0;padding:0;font:inherit;font-size:12px;color:var(--fpm-primary,#2271b1);cursor:pointer;text-decoration:underline}
.fpm-quick-btn[disabled]{opacity:.5;cursor:not-allowed;text-decoration:none}
.fpm-quick-p{margin-top:8px;padding:12px 14px;border:1px solid var(--fpm-border,#dcdcde);border-radius:var(--fpm-radius,8px);background:var(--fpm-bg,#f6f7f7)}
.fpm-quick-p[hidden]{display:none}
.fpm-quick-r{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.fpm-quick-r>*{flex:1 1 140px;min-width:0}
.fpm-quick-r [hidden]{display:none}
.fpm-quick-same{display:flex;align-items:center;gap:8px;margin:0 0 8px;font-size:13px}
.fpm-quick-p .fpm-ac{z-index:5}
.fpm-quick-p input,.fpm-quick-p select{width:100%;padding:6px 10px;border:1px solid var(--fpm-field-bd,#8c8f94);border-radius:var(--fpm-radius,8px);background:var(--fpm-field,#fff);color:inherit}
.fpm-quick-a{display:flex;gap:8px;align-items:center}
.fpm-quick-m{font-size:12px;margin:6px 0 0}
.fpm-quick-m.is-bad{color:var(--fpm-danger,#d63638)}
.fpm-flow ul{margin:0 0 10px;padding-left:18px}.fpm-flow p{margin:0 0 8px}.fpm-flow textarea{width:100%;min-height:72px;box-sizing:border-box;margin:6px 0 8px;font:inherit}.fpm-flow label{font-size:.88em}.fpm-flow-d summary{cursor:pointer;font-size:.9em;margin:6px 0}.fpm-flow-w{background:#fff8eb;border-radius:8px;padding:8px 10px;font-size:.88em;color:#8a5300}.fpm-flow-n{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}.fpm-flow-n form{margin:0}
.fpm-file-main{position:absolute!important;width:1px!important;height:1px!important;opacity:0;overflow:hidden;pointer-events:none}
.fpm-file-pick{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:4px}
.fpm-file-pick .fpm-cam-btn{margin-top:0}
.fpm-file-names{font-size:.85rem;color:var(--fpm-secondary,#646970);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.fpm-file-names.is-set{color:var(--fpm-text,#1d2327);font-weight:600}
.fpm-file-clear{border:0;background:none;padding:0;font-size:.82rem;color:#b42318;text-decoration:underline;cursor:pointer}
.fpm-cam-btn{position:relative;margin-top:8px;cursor:pointer;overflow:hidden}.fpm-cam-btn .fpm-cam-in{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.fpm-cam-btn svg{flex:0 0 auto}
.fpm-se-newhero{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}
.fpm-sv-tile .fpm-se-note{font-style:italic}
.fpm-form-scard{margin-top:8px;padding:10px 12px;border:1px solid var(--fpm-border,#e5e7eb);border-radius:10px;background:var(--fpm-surface-2,#f8fafc);font-size:.86rem;line-height:1.45;display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px}
.fpm-form-scard[hidden]{display:none}
.fpm-form-scard .a{flex:1 1 220px}
.fpm-form-scard .r{display:flex;gap:10px}
.fpm-form-scard .r a{font-weight:600;color:var(--fpm-primary,#2271b1)}
.fpm-form-pcard{margin-top:8px;padding:10px 12px;border:1px solid var(--fpm-border,#e5e7eb);border-radius:10px;background:var(--fpm-surface-2,#f8fafc);font-size:.86rem;line-height:1.45}.fpm-form-pcard .h{display:flex;flex-wrap:wrap;gap:8px;align-items:baseline;margin-bottom:2px}.fpm-form-pcard .n{font-weight:700}.fpm-form-pcard .r{color:var(--fpm-muted,#6b7280);font-size:.8rem}.fpm-form-pcard .o{margin-left:auto;font-size:.8rem}.fpm-form-pcard .m{color:var(--fpm-muted,#6b7280)}
.fpm-form-bar{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:16px}
.fpm-form-filters{flex:1 1 auto}
.fpm-form-filters>.fpm-form-new{margin-left:auto;white-space:nowrap}
.fpm-form-filters{display:flex;gap:8px;flex-wrap:wrap;align-items:flex-end}
.fpm-form-filters input,.fpm-form-filters select{padding:6px 10px;border:1px solid var(--fpm-field-bd,#8c8f94);border-radius:var(--fpm-radius,8px);background:var(--fpm-field,#fff);color:inherit}
.fpm-form-filters input[type=checkbox]{width:18px;height:18px;min-width:0;padding:0;margin:0;flex:0 0 auto}
.fpm-form-filters .fpm-check{display:inline-flex;align-items:center;gap:8px;margin:0;flex:0 1 auto;cursor:pointer}
.fpm-filter-field{display:inline-flex;flex-direction:column;gap:3px;margin:0;font-size:12px;font-weight:600;color:var(--fpm-secondary,#646970)}
.fpm-filter-field input{font-weight:400;color:var(--fpm-text,inherit)}
@media (max-width:600px){.fpm-form-filters .fpm-filter-field{flex:1 1 calc(50% - 4px);min-width:0}.fpm-form-filters .fpm-filter-field input{width:100%;min-width:0;box-sizing:border-box}}
.fpm-form-fill{display:flex;flex-wrap:wrap;gap:0 16px}
.fpm-form-fill>.fpm-fld{flex:1 1 100%}
.fpm-form-fill>.fpm-fld-half{flex:1 1 calc(50% - 16px)}
.fpm-form-fill>.fpm-actions{flex:1 1 100%}
.fpm-form-heading{margin:18px 0 4px;font-size:16px}
.fpm-form-paragraph{margin:0 0 12px;opacity:.85}
.fpm-form-choices{display:flex;flex-direction:column;gap:6px}
.fpm-form-choices .fpm-check{display:flex;align-items:center;gap:8px}
.fpm-form-cond,.fpm-form-rolebox{border:1px solid var(--fpm-border,#dcdcde);border-radius:var(--fpm-radius,8px);padding:12px 14px;margin:12px 0}
.fpm-form-rolebox legend{padding:0 6px;font-weight:600}
.fpm-form-cond legend{padding:0 6px;font-weight:600}
.fpm-form-templates{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}
.fpm-form-template{border:1px solid var(--fpm-border,#dcdcde);border-radius:var(--fpm-radius,8px);padding:12px 14px}
.fpm-form-template h3{margin:0 0 6px;font-size:15px}
.fpm-form-template p{margin:0 0 8px;font-size:13px}
.fpm-form-template-meta{opacity:.7;font-size:12px}
.fpm-form-add{margin-top:16px}
.fpm-form-add>summary{cursor:pointer;font-weight:600;margin-bottom:10px}
.fpm-form-rowactions{display:flex;gap:6px;flex-wrap:wrap;align-items:center;justify-content:flex-end}
.fpm-form-rowactions .fpm-inline{display:inline-flex}
.fpm-form-answers dt{font-weight:600;margin-top:10px}
/* ---------- Fiche : vue de lecture ---------- */
.fpm-sv{--sv-bd:var(--fpm-border,#dcdcde);--sv-mut:var(--fpm-secondary,#646970);--sv-acc:var(--fpm-primary,#2271b1);--sv-bg:var(--fpm-surface,#fff);display:flex;flex-direction:column;gap:16px}
.fpm-sv-hero{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-start;justify-content:space-between;background:var(--sv-bg);border:1px solid var(--sv-bd);border-radius:16px;padding:18px 20px}
.fpm-sv-hero-t{min-width:0;flex:1 1 280px}
.fpm-sv-kicker{margin:0 0 4px;font-size:.8125rem;font-weight:600;color:var(--sv-mut);letter-spacing:.02em}
.fpm-sv-title{margin:0 0 10px;font-size:1.5rem;line-height:1.2;letter-spacing:-.01em}
.fpm-sv-status{--st:#646970;display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 12px;border-radius:999px;font-size:.8125rem;font-weight:700;color:var(--st);background:color-mix(in srgb,var(--st) 13%,transparent)}
.fpm-sv-status::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--st)}
.fpm-sv-hero-a{display:flex;flex-wrap:wrap;gap:8px}
.fpm-sv-hero-a .fpm-btn{min-height:42px}
.fpm-sv-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
@media (max-width:1100px){.fpm-sv-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.fpm-sv-strip{gap:10px}.fpm-sv-tile{padding:12px}}
@media (max-width:360px){.fpm-sv-strip{grid-template-columns:1fr}}
.fpm-sv-tile{background:var(--sv-bg);border:1px solid var(--sv-bd);border-radius:14px;padding:14px 16px;display:flex;flex-direction:column;gap:3px;min-width:0}
.fpm-sv-tl{display:flex;align-items:center;gap:6px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--sv-mut);margin-bottom:4px}
.fpm-sv-tl svg{width:16px;height:16px}
.fpm-sv-tile strong{font-size:1rem;overflow-wrap:anywhere}
.fpm-sv-tile span{color:var(--sv-mut);font-size:.875rem}
.fpm-sv-tile a{font-size:.875rem;font-weight:600;align-self:flex-start;margin-top:2px}
.fpm-sv-none{color:var(--sv-mut)!important;font-weight:500}
.fpm-sv-people{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.fpm-sv-people li{display:flex;gap:10px;align-items:center}
.fpm-sv-people li>span:last-child{display:flex;flex-direction:column;min-width:0}
.fpm-sv-av{width:32px;height:32px;flex:none;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700;color:var(--sv-acc);background:color-mix(in srgb,var(--sv-acc) 12%,transparent)}
.fpm-sv-note{font-size:.78rem!important}
.fpm-sv-note.is-ok{color:color-mix(in srgb,#008a20 72%,var(--fpm-text,#1d2327))!important}.fpm-sv-note.is-warn{color:color-mix(in srgb,#a36b00 72%,var(--fpm-text,#1d2327))!important}
.fpm-sv-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px;align-items:start}
@media (max-width:1000px){.fpm-sv-grid{grid-template-columns:1fr}}
.fpm-sv-main,.fpm-sv-side{display:flex;flex-direction:column;gap:16px;min-width:0}
.fpm-sv-card{background:var(--sv-bg);border:1px solid var(--sv-bd);border-radius:14px;padding:16px 18px}
.fpm-sv-h{margin:0 0 12px;font-size:.8125rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--sv-mut)}
.fpm-sv-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 24px;margin:0}
@media (max-width:640px){.fpm-sv-fields{grid-template-columns:1fr}}
.fpm-sv-f{min-width:0}
.fpm-sv-f.is-wide{grid-column:1/-1}
.fpm-sv-f dt{font-size:.8125rem;color:var(--sv-mut);margin:0 0 3px;font-weight:500}
.fpm-sv-f dd{margin:0;font-weight:600;overflow-wrap:anywhere}
.fpm-sv-f.is-signature dd img{max-height:120px;background:#fff;border:1px dashed var(--sv-bd);border-radius:10px;padding:6px}
.fpm-sv-f .fpm-shots{display:flex;flex-wrap:wrap;gap:8px}
.fpm-sv-blank{margin:0;color:var(--sv-mut)}
.fpm-sv-blank a{font-weight:600;margin-left:4px}
.fpm-sv-empty{margin-top:14px;border-top:1px solid var(--sv-bd);padding-top:10px;font-size:.8125rem;color:var(--sv-mut)}
.fpm-sv-empty summary{cursor:pointer;font-weight:600}
.fpm-sv-empty ul{margin:8px 0 0;padding-left:18px;columns:2}
@media (max-width:640px){.fpm-sv-empty ul{columns:1}}
.fpm-sv-form{display:flex;flex-direction:column;gap:8px}
.fpm-sv-form select{width:100%;min-height:42px;padding:0 10px;border:1px solid var(--fpm-field-bd,#8c8f94);border-radius:10px;background:var(--fpm-field,#fff);color:inherit;font:inherit}
.fpm-sv-form .fpm-btn{min-height:42px;justify-content:center}
.fpm-sv-side .fpm-help{font-size:.78rem;margin:10px 0 0;color:var(--sv-mut)}
.fpm-sv-del{margin:14px 0 0;padding-top:12px;border-top:1px solid var(--sv-bd)}
.fpm-sv-del-b{border:0;background:none;padding:6px 0;color:#b32d2e;font:inherit;font-size:.875rem;font-weight:600;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.fpm-sv-details .fpm-dl{margin:0}
.fpm-sv-details .fpm-dl dt{font-size:.8125rem;color:var(--sv-mut)}
.fpm-sv-details .fpm-dl dd{margin:0 0 8px}
.fpm-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* ---------- Fiche : saisie ---------- */
.fpm-se{--sv-bd:var(--fpm-border,#dcdcde);--sv-mut:var(--fpm-secondary,#646970);--sv-acc:var(--fpm-primary,#2271b1);--sv-bg:var(--fpm-surface,#fff);display:flex;flex-direction:column;gap:16px}
.fpm-se-form{display:flex;flex-direction:column;gap:16px;margin:0}
.fpm-se-locked .fpm-sv-tile strong{font-size:.95rem}
.fpm-se-nav{position:sticky;top:var(--fpm-se-top,0px);z-index:20;margin:0 -2px;padding:8px 2px;background:color-mix(in srgb,var(--fpm-background,#f6f7f7) 92%,transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.fpm-se-nav ol{list-style:none;margin:0;padding:0;display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}
.fpm-se-nav ol::-webkit-scrollbar{display:none}
.fpm-se-nav a{display:flex;align-items:center;gap:8px;white-space:nowrap;min-height:42px;padding:0 14px;border-radius:999px;border:1px solid var(--sv-bd);background:var(--sv-bg);color:inherit;text-decoration:none;font-weight:600;font-size:.875rem}
.fpm-se-nav a small{font-weight:600;font-size:.75rem;padding:2px 7px;border-radius:999px;background:color-mix(in srgb,var(--sv-mut) 14%,transparent);color:var(--sv-mut)}
.fpm-se-nav a.is-done small{background:color-mix(in srgb,#008a20 15%,transparent);color:color-mix(in srgb,#008a20 75%,var(--fpm-text,#1d2327))}
.fpm-se-nav a.is-bad small{background:color-mix(in srgb,#d63638 15%,transparent);color:#d63638}
.fpm-se-nav a[aria-current="true"]{background:var(--sv-acc);border-color:var(--sv-acc);color:#fff}
.fpm-se-nav a[aria-current="true"] small{background:rgba(255,255,255,.22);color:#fff}
.fpm-se-sec{background:var(--sv-bg);border:1px solid var(--sv-bd);border-radius:14px;padding:18px;scroll-margin-top:calc(var(--fpm-se-top,0px) + 70px)}
.fpm-se-help{margin:-6px 0 12px}
.fpm-se-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 20px}
.fpm-se-grid>.fpm-fld{grid-column:1/-1;margin:0 0 12px;min-width:0}
.fpm-se-grid>.fpm-fld.fpm-fld-half{grid-column:auto}
.fpm-se-grid>.fpm-fld[hidden]{display:none}
@media (max-width:640px){.fpm-se-grid{grid-template-columns:1fr}.fpm-se-grid>.fpm-fld.fpm-fld-half{grid-column:1/-1}}
.fpm-se-grid label{font-weight:600;font-size:.875rem}
.fpm-se-grid input[type=text],.fpm-se-grid input[type=email],.fpm-se-grid input[type=tel],.fpm-se-grid input[type=url],.fpm-se-grid input[type=number],.fpm-se-grid input[type=date],.fpm-se-grid input[type=datetime-local],.fpm-se-grid input[type=time],.fpm-se-grid select{min-height:46px;border-radius:10px}
.fpm-se-grid textarea{border-radius:10px;min-height:96px}
.fpm-se-grid .fpm-form-choices{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px}
.fpm-se-grid .fpm-form-choices .fpm-check{width:auto!important;flex:0 1 auto;display:inline-flex!important;align-items:center;gap:8px;min-height:44px;padding:0 14px;border:1px solid var(--sv-bd);border-radius:10px;cursor:pointer;font-weight:500}
.fpm-se-grid .fpm-form-choices .fpm-check:has(input:checked){border-color:var(--sv-acc);background:color-mix(in srgb,var(--sv-acc) 9%,transparent);font-weight:600}
.fpm-se-grid input[type=file]{width:100%;min-height:72px;padding:14px;border:2px dashed var(--sv-bd);border-radius:12px;background:color-mix(in srgb,var(--sv-acc) 3%,transparent);cursor:pointer}
.fpm-se-prev{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.fpm-se-prev img{width:76px;height:76px;object-fit:cover;border-radius:10px;border:1px solid var(--sv-bd)}
.fpm-se .fpm-sign{position:relative;display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.fpm-se .fpm-sign-c{width:100%;max-width:none;height:auto;aspect-ratio:3/1;border:2px dashed var(--sv-bd);border-radius:12px;background:#fff}
.fpm-se .fpm-sign-hint{position:absolute;left:50%;top:calc(50% - 22px);transform:translate(-50%,-50%);color:#9aa1a9;font-size:1rem;pointer-events:none}
.fpm-se .fpm-sign.is-signed .fpm-sign-hint{display:none}
.fpm-se .fpm-sign[hidden]{display:none}
.fpm-sign-redo{margin-top:8px}
.fpm-se-bar{position:sticky;bottom:0;z-index:20;display:flex;align-items:center;gap:10px;justify-content:flex-end;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));margin:0 -2px;border:1px solid var(--sv-bd);border-radius:14px 14px 0 0;background:color-mix(in srgb,var(--sv-bg) 94%,transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 -6px 20px rgba(0,0,0,.06)}
.fpm-se-prog{margin-right:auto;font-size:.875rem;color:var(--sv-mut);font-weight:500}
.fpm-se-bar .fpm-btn{min-height:46px}
@media (max-width:640px){.fpm-se-bar .fpm-btn-primary{flex:1;justify-content:center}.fpm-se-prog{flex-basis:100%;margin:0}.fpm-se-bar{flex-wrap:wrap}}
.fpm-form-answer-h{border-top:1px solid var(--fpm-border,#dcdcde);padding-top:10px}
.fpm-form-recent{list-style:none;margin:0;padding:0}
.fpm-form-recent li{padding:4px 0}
.fpm-sign-c{border:1px dashed var(--fpm-border,#dcdcde);border-radius:var(--fpm-radius,8px);width:100%;max-width:600px;touch-action:none;background:#fff}
.fpm-inline{display:inline}
.fpm-inline-form{display:flex;gap:8px;align-items:center;margin-bottom:12px}
.fpm-fld-locked .fpm-form-locked{margin:0;padding:8px 10px;border:1px dashed var(--fpm-border,#dcdcde);border-radius:var(--fpm-radius,8px);opacity:.8}
.fpm-form-regbox{border-left:3px solid var(--fpm-primary,#2271b1);padding-left:12px;margin:4px 0 12px}
.fpm-shots{display:flex;flex-wrap:wrap;gap:8px}
.fpm-shot{display:block;line-height:0;border:1px solid var(--fpm-border,#dcdcde);border-radius:var(--fpm-radius,8px);overflow:hidden}
.fpm-shot img{display:block;width:140px;height:140px;object-fit:cover;background:var(--fpm-bg,#f6f7f7)}
.fpm-shot:hover{border-color:var(--fpm-primary,#2271b1)}
.fpm-shot-acts{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.fpm-shot-acts .fpm-btn{font-size:11px}
.fpm-shots-edit{gap:12px;align-items:flex-start}
.fpm-shot-cell{display:flex;flex-direction:column;align-items:flex-start;gap:5px;max-width:140px}
/* Trois niveaux de selecteur : le theme habille .fpm-btn-sm avec deux,
   et un bouton pose sous une vignette ne doit pas avoir la taille des
   boutons de formulaire. */
.fpm-shots-edit .fpm-shot-cell .fpm-shot-x{min-height:0;padding:2px 8px;font-size:11px;line-height:1.5;font-weight:400;color:var(--fpm-secondary,#50575e)}
.fpm-shots-edit .fpm-shot-cell .fpm-shot-x:hover{color:var(--fpm-text,#1d2327)}
.fpm-shot-no{display:inline-block;max-width:260px;font-size:12px;overflow-wrap:anywhere}
.fpm-has{margin-bottom:8px}
.fpm-has-t{margin:0 0 6px;font-size:12px;color:var(--fpm-secondary)}
.fpm-has-l{display:flex;flex-wrap:wrap;gap:10px}
.fpm-has-i{display:flex;flex-direction:column;gap:4px;font-size:12px}
.fpm-has-img .fpm-has-i .fpm-shot img{width:96px;height:96px}
.fpm-has-x{display:flex;align-items:center;gap:5px;color:var(--fpm-secondary);cursor:pointer}
.fpm-has-x input{width:auto;margin:0}
/* ---------- Planning ---------- */
.fpm-plan{--pl-line:var(--fpm-border,#dcdcde);--pl-soft:color-mix(in srgb,var(--fpm-primary,#2271b1) 6%,var(--fpm-surface,#fff));--pl-acc:var(--fpm-primary,#2271b1);position:relative}
.fpm-plan-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:12px}
.fpm-plan-bar .sp{flex:1}
.fpm-plan-title{font-weight:600;font-size:1.05rem;min-width:180px}
.fpm-plan-seg{display:inline-flex;border:1px solid var(--pl-line);border-radius:10px;overflow:hidden}
.fpm-plan-seg button{border:0;background:var(--fpm-surface,#fff);padding:8px 12px;cursor:pointer;font:inherit;color:inherit;min-height:38px}
.fpm-plan-seg button+button{border-left:1px solid var(--pl-line)}
.fpm-plan .fpm-plan-seg button[aria-pressed="true"],.fpm-plan .fpm-plan-seg button[aria-pressed="true"]:hover{background:var(--pl-acc)!important;color:#fff!important;border-color:var(--pl-acc)!important}
.fpm-plan-bar select{min-height:38px;padding:0 10px;border:1px solid var(--fpm-field-bd,#8c8f94);border-radius:10px;background:var(--fpm-field,#fff);color:inherit}
.fpm-plan-hint{font-size:.8125rem;color:var(--fpm-secondary,#646970);margin:0 0 10px}
.fpm-plan-mine{font-size:.875rem;color:var(--fpm-secondary,#646970);margin:0 0 12px}
.fpm-plan-wl{display:flex;flex-direction:column;gap:10px}
.fpm-plan-wd{border:1px solid var(--pl-line);border-radius:12px;background:var(--fpm-surface,#fff);padding:10px 12px}
.fpm-plan-wd.is-today{border-color:var(--fpm-primary,#2271b1);box-shadow:0 0 0 1px var(--fpm-primary,#2271b1) inset}
.fpm-plan-wd h3{margin:0 0 8px;font-size:.9rem;text-transform:capitalize;display:flex;align-items:center;gap:8px}
.fpm-plan-wd h3 small{background:var(--fpm-primary,#2271b1);color:#fff;border-radius:999px;padding:0 8px;font-size:.75rem;line-height:1.6}
.fpm-plan-wd .fpm-plan-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px}
.fpm-plan-wd .fpm-plan-hint{margin:0}
.fpm-plan-wrap{display:flex;gap:16px;align-items:flex-start;flex-wrap:wrap}
.fpm-plan-main{flex:999 1 620px;min-width:0;overflow-x:auto;border:1px solid var(--pl-line);border-radius:12px;background:var(--fpm-surface,#fff)}
.fpm-plan-side{flex:1 1 240px;min-width:0;border:1px solid var(--pl-line);border-radius:12px;background:var(--fpm-surface,#fff);max-height:75vh;overflow:auto}
.fpm-plan-side h3{margin:0;padding:12px 14px;font-size:.9rem;border-bottom:1px solid var(--pl-line);position:sticky;top:0;background:inherit;z-index:1}
.fpm-plan-side .fpm-plan-list{padding:10px;display:flex;flex-direction:column;gap:8px}
.fpm-plan-grid{display:grid;min-width:760px}
.fpm-plan-h{position:sticky;top:0;z-index:2;background:var(--fpm-surface,#fff);border-bottom:1px solid var(--pl-line);padding:8px;font-size:.8125rem;font-weight:600;text-align:center}
.fpm-plan-h.is-today{color:var(--pl-acc);font-weight:700;background:color-mix(in srgb,var(--pl-acc) 12%,var(--fpm-surface,#fff));box-shadow:inset 0 3px 0 var(--pl-acc)}
.fpm-plan-h.is-today small{display:block;width:max-content;margin:3px auto 0;padding:1px 8px;border-radius:999px;background:var(--pl-acc);color:#fff;font-weight:600}
.fpm-plan-h small{display:block;font-weight:400;color:var(--fpm-secondary,#646970)}
.fpm-plan-who{position:sticky;left:0;z-index:1;background:var(--fpm-surface,#fff);border-right:1px solid var(--pl-line);border-bottom:1px solid var(--pl-line);padding:8px 10px;display:flex;align-items:center;gap:8px;font-size:.875rem;min-width:0}
.fpm-plan-who b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fpm-plan-who small{color:var(--fpm-secondary,#646970)}
.fpm-plan-av{width:30px;height:30px;border-radius:50%;flex:none;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700;background:var(--pl-soft);color:var(--pl-acc)}
.fpm-plan-cell{border-bottom:1px solid var(--pl-line);border-right:1px solid var(--pl-line);padding:6px;min-height:64px;display:flex;flex-direction:column;gap:6px}
.fpm-plan-cell.is-today{background:color-mix(in srgb,var(--pl-acc) 8%,var(--fpm-surface,#fff));box-shadow:inset 2px 0 0 color-mix(in srgb,var(--pl-acc) 55%,transparent),inset -2px 0 0 color-mix(in srgb,var(--pl-acc) 55%,transparent)}
.fpm-plan-cell.is-over,.fpm-plan-lane.is-over{outline:2px dashed var(--pl-acc);outline-offset:-3px;background:color-mix(in srgb,var(--pl-acc) 10%,transparent)}
.fpm-plan-card{--st:#646970;position:relative;display:block;text-align:left;width:100%;border:1px solid var(--pl-line);border-left:4px solid var(--st);border-radius:8px;background:var(--fpm-surface,#fff);padding:5px 7px;font:inherit;font-size:.78rem;line-height:1.3;color:inherit;cursor:pointer;touch-action:pan-y;user-select:none}
.fpm-plan-card:hover{box-shadow:0 2px 8px rgba(0,0,0,.08)}
.fpm-plan-card b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fpm-plan-card .t{display:block;color:var(--fpm-secondary,#646970);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:10px}
.fpm-plan-card.is-conflict{box-shadow:0 0 0 2px #d63638 inset}
.fpm-plan-card .dot{position:absolute;top:5px;right:6px;width:8px;height:8px;border-radius:50%;background:#dba617}
.fpm-plan-card .warn{color:#d63638;font-weight:700}
.fpm-plan-card.is-done{opacity:.6}
.fpm-plan-card.is-drag{opacity:.35}
.fpm-plan-ghost{position:fixed;z-index:99999;pointer-events:none;opacity:.9;box-shadow:0 10px 30px rgba(0,0,0,.25);transform:rotate(-2deg);width:180px}
.fpm-plan-day{display:grid;grid-template-columns:170px 1fr;min-width:760px}
.fpm-plan-scale{position:relative;height:34px;border-bottom:1px solid var(--pl-line);background:var(--fpm-surface,#fff)}
.fpm-plan-scale span{position:absolute;top:8px;font-size:.72rem;color:var(--fpm-secondary,#646970);transform:translateX(-50%)}
.fpm-plan-scale span:first-child{transform:none}.fpm-plan-scale span:last-child{transform:translateX(-100%)}
.fpm-plan-lane{position:relative;min-height:58px;border-bottom:1px solid var(--pl-line);background-image:linear-gradient(to right,var(--pl-line) 1px,transparent 1px);background-size:var(--hour) 100%}
.fpm-plan-lane .fpm-plan-card{position:absolute;height:46px;width:auto;overflow:hidden;padding:4px 6px}
.fpm-plan-now{position:absolute;top:0;bottom:0;width:2px;background:#d63638;z-index:1;pointer-events:none}
.fpm-plan-month{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));min-width:640px}
.fpm-plan-cell{position:relative}
.fpm-plan-add{align-self:flex-end;margin-top:auto;display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:8px;border:1px dashed color-mix(in srgb,var(--pl-acc) 55%,transparent);background:var(--pl-card,#fff);color:var(--pl-acc);font-weight:700;font-size:16px;text-decoration:none!important;opacity:0;transition:opacity .15s}
.fpm-plan-cell:hover .fpm-plan-add,.fpm-plan-add:focus{opacity:1}
.fpm-plan-add:hover{background:color-mix(in srgb,var(--pl-acc) 12%,transparent);border-style:solid}
@media (hover:none){.fpm-plan-add{opacity:.7}}
.fpm-plan-lane.can-add{cursor:copy}
.fpm-plan-mday{position:relative}
.fpm-plan-pick{position:fixed;z-index:100000;min-width:220px;padding:6px;border-radius:12px;background:var(--fpm-surface,#fff);border:1px solid color-mix(in srgb,currentColor 14%,transparent);box-shadow:0 12px 32px rgba(0,0,0,.18),0 2px 6px rgba(0,0,0,.08);color:inherit}.fpm-plan-pick .h{padding:6px 10px 8px;font-size:12px;font-weight:600;opacity:.65;text-transform:capitalize}.fpm-plan-pick .i{display:block;padding:9px 10px;border-radius:8px;font-weight:600;color:var(--fpm-primary,#2271b1)!important;text-decoration:none!important}.fpm-plan-pick .i:hover,.fpm-plan-pick .i:focus{background:color-mix(in srgb,var(--fpm-primary,#2271b1) 12%,transparent);outline:0}
.fpm-plan-madd{position:absolute;top:4px;right:6px;width:22px;height:22px;border-radius:7px;display:flex;align-items:center;justify-content:center;color:var(--pl-acc);font-weight:700;opacity:0}
.fpm-plan-mday:hover .fpm-plan-madd{opacity:1}
.fpm-plan-madd:hover{background:color-mix(in srgb,var(--pl-acc) 12%,transparent)}
@media (hover:none){.fpm-plan-madd{opacity:.7}}
.fpm-plan-mday{min-height:96px;border-right:1px solid var(--pl-line);border-bottom:1px solid var(--pl-line);padding:6px;display:flex;flex-direction:column;gap:4px;cursor:pointer;background:none;border-top:0;border-left:0;text-align:left;font:inherit;color:inherit}
.fpm-plan-mday.is-out{opacity:.45}
.fpm-plan-mday.is-today .n{background:var(--pl-acc);color:#fff;border-radius:999px;padding:0 7px;font-weight:700}
.fpm-plan-mday.is-today{background:color-mix(in srgb,var(--pl-acc) 8%,var(--fpm-surface,#fff));box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--pl-acc) 55%,transparent)}
.fpm-plan-mday .n{font-size:.8rem;font-weight:600;align-self:flex-start}
.fpm-plan-mday .c{font-size:.72rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-left:3px solid var(--st,#646970);padding-left:5px}
.fpm-plan-mday .m{font-size:.72rem;color:var(--fpm-secondary,#646970)}
.fpm-plan-empty{padding:24px;text-align:center;color:var(--fpm-secondary,#646970)}
.fpm-plan-dlg{position:fixed;inset:0;z-index:9998;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(12,18,28,.5)}
.fpm-plan-dlg[hidden]{display:none}
.fpm-plan-dlg-c{width:min(560px,100%);max-height:92vh;overflow:auto;background:var(--fpm-surface,#fff);border-radius:14px;padding:18px 20px;box-shadow:0 20px 50px rgba(0,0,0,.3)}
.fpm-plan-dlg h2{margin:0 0 2px;font-size:1.1rem}
.fpm-plan-dlg .meta{margin:0 0 14px;color:var(--fpm-secondary,#646970);font-size:.85rem}
.fpm-plan-dlg .row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
@media (max-width:520px){.fpm-plan-dlg .row{grid-template-columns:1fr 1fr}}
.fpm-plan-dlg label{display:flex;flex-direction:column;gap:4px;font-size:.8125rem;font-weight:600;margin-bottom:10px}
.fpm-plan-dlg input,.fpm-plan-dlg select{min-height:40px;padding:0 10px;border:1px solid var(--fpm-field-bd,#8c8f94);border-radius:8px;background:var(--fpm-field,#fff);color:inherit;font:inherit;font-weight:400}
.fpm-plan-dlg fieldset{border:1px solid var(--pl-line);border-radius:8px;padding:8px 10px;margin:0 0 12px}
.fpm-plan-dlg legend{font-size:.8125rem;font-weight:600;padding:0 4px}
.fpm-plan-dlg .crew{display:flex;flex-wrap:wrap;gap:6px 14px}
.fpm-plan-dlg .crew label{flex-direction:row;align-items:center;font-weight:400;margin:0}
.fpm-plan-dlg .crew input{min-height:0}
.fpm-plan-dlg .seen{list-style:none;margin:0 0 12px;padding:0;font-size:.82rem}
.fpm-plan-dlg .seen li{padding:3px 0}
.fpm-plan-dlg .acts{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;margin-top:6px}
.fpm-plan-dlg .acts .l{margin-right:auto}
.fpm-plan-shots{display:flex;gap:8px;overflow-x:auto;margin:0 0 12px}
.fpm-plan-shots:empty{display:none}
.fpm-plan-shots .fpm-shot{flex:none;width:72px;height:72px;border-radius:8px;overflow:hidden}
.fpm-plan-shots img{width:100%;height:100%;object-fit:cover;display:block}
.fpm-sv-photos{display:flex;flex-direction:column;gap:12px}
.fpm-sv-ph p{margin:0 0 6px;font-weight:600;font-size:.875rem}
.fpm-sv-ph p span{color:var(--fpm-secondary,#646970);font-weight:400}
.fpm-sv-thumbs{display:flex;flex-wrap:wrap;gap:8px}
.fpm-sv-thumbs .fpm-shot{width:96px;height:96px;border-radius:10px;overflow:hidden;display:block}
.fpm-sv-thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.fpm-plan-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:99999;background:#1d2327;color:#fff;padding:10px 16px;border-radius:10px;font-size:.875rem}
.fpm-plan-toast.err{background:#b32d2e}
/* ---------- Ma journee ---------- */
.fpm-day{max-width:760px}
.fpm-day-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.fpm-day-nav{width:44px;height:44px;flex:none;border:1px solid var(--fpm-border,#dcdcde);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:22px;text-decoration:none;color:inherit;background:var(--fpm-surface,#fff)}
.fpm-day-t{flex:1;text-align:center;font-size:1.05rem}
.fpm-day-t a{font-size:.85rem;margin-left:6px}
.fpm-day-prog{display:flex;flex-direction:column;gap:6px;font-size:.85rem;color:var(--fpm-secondary,#646970);margin-bottom:14px}
.fpm-day-bar{display:block;height:8px;border-radius:4px;background:var(--fpm-border,#dcdcde);overflow:hidden}
.fpm-day-bar span{display:block;height:100%;background:var(--fpm-primary,#2271b1)}
.fpm-day-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.fpm-dc{border:1px solid var(--fpm-border,#dcdcde);border-radius:14px;background:var(--fpm-surface,#fff);overflow:hidden}.fpm-dc:has(.fpm-route[open]){overflow:visible}.fpm-dc-acts .fpm-route>summary{width:100%;justify-content:center}
.fpm-dc.is-now{border-color:var(--fpm-primary,#2271b1);box-shadow:0 0 0 1px var(--fpm-primary,#2271b1)}
.fpm-dc.is-closed{opacity:.75}
.fpm-dc summary{display:flex;gap:12px;align-items:flex-start;padding:14px;cursor:pointer;list-style:none}
.fpm-dc summary::-webkit-details-marker{display:none}
.fpm-dc-time{width:52px;flex:none;font-weight:700}
.fpm-dc-time small{display:block;font-weight:400;color:var(--fpm-secondary,#646970)}
.fpm-dc-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.fpm-dc-tags{display:flex;flex-wrap:wrap;gap:5px}
.fpm-tag{font-size:.72rem;font-weight:600;padding:2px 8px;border-radius:999px;background:var(--fpm-bg,#f6f7f7);color:var(--fpm-secondary,#50575e)}
.fpm-tag-now{background:var(--fpm-primary,#2271b1);color:#fff}
.fpm-tag-new{background:#fcf0d0;color:#8a5a00}
.fpm-dc-title{font-weight:700}
.fpm-dc-sub{font-size:.85rem;color:var(--fpm-secondary,#646970)}
.fpm-dc-st{--st:#646970;flex:none;font-size:.75rem;font-weight:600;padding:3px 9px;border-radius:999px;color:var(--st);background:color-mix(in srgb,var(--st) 12%,transparent)}
.fpm-dc-body{padding:0 14px 14px}
.fpm-dc-acts{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px}
.fpm-dc-acts .fpm-btn{min-height:46px;justify-content:center;text-align:center}
.fpm-dc-times{font-size:.85rem;color:var(--fpm-secondary,#646970);margin:10px 0 0}
.fpm-dc-photos{margin-top:14px}
.fpm-dc-ph{font-size:.85rem;margin-bottom:6px}
.fpm-day .fpm-shots{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}
.fpm-day .fpm-shot{flex:none;width:84px;height:84px;border-radius:10px;overflow:hidden;display:block;background:var(--fpm-bg,#f6f7f7)}
.fpm-day .fpm-shot img{width:100%;height:100%;object-fit:cover;display:block}
.fpm-shot-add{flex:none;width:84px;height:84px;border-radius:10px;border:2px dashed var(--fpm-border,#c3c4c7);display:flex;align-items:center;justify-content:center;font-size:28px;color:var(--fpm-secondary,#646970);cursor:pointer;position:relative}
.fpm-shot-add input{position:absolute;inset:0;opacity:0;cursor:pointer}
.fpm-shot-add.is-busy{opacity:.5;pointer-events:none}
.fpm-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.fpm-day-msg{position:fixed;left:50%;bottom:90px;transform:translateX(-50%);z-index:9999;background:#1d2327;color:#fff;padding:10px 16px;border-radius:10px;font-size:.875rem}
.fpm-day-msg.err{background:#b32d2e}/* ---------- Messagerie ---------- */
.fpm-msg [hidden],.fpm-msg-modal [hidden]{display:none!important}
.fpm-msg,.fpm-msg-modal{--mg-line:var(--fpm-border,#dcdcde);--mg-acc:var(--fpm-primary,#2271b1);--mg-surf:var(--fpm-surface,#fff);--mg-mut:var(--fpm-secondary,#646970);--mg-soft:color-mix(in srgb,var(--mg-acc) 7%,var(--mg-surf));--mg-other:color-mix(in srgb,var(--mg-line) 42%,var(--mg-surf));--mg-mine:color-mix(in srgb,var(--mg-acc) 20%,var(--mg-surf));}
.fpm-msg{position:relative;display:flex;border:1px solid var(--mg-line);border-radius:14px;background:var(--mg-surf);height:min(76vh,780px);min-height:440px;overflow:hidden}
.fpm-msg-loading{margin:auto;color:var(--mg-mut)}
.fpm-msg button{font:inherit}
.fpm-msg-it,.fpm-msg-tabs button,.fpm-msg-acts button,.fpm-msg-older,.fpm-msg-pend button,.fpm-msg-chips button,.fpm-msg-res button{color:inherit}
.fpm-msg-side{flex:0 0 320px;max-width:100%;display:flex;flex-direction:column;border-right:1px solid var(--mg-line);min-width:0}
.fpm-msg-sh{padding:12px;display:flex;flex-direction:column;gap:8px;border-bottom:1px solid var(--mg-line)}
.fpm-msg-sh .fpm-btn{width:100%;justify-content:center}
.fpm-msg-in{width:100%;min-height:38px;padding:0 12px;border:1px solid var(--fpm-field-bd,#8c8f94);border-radius:10px;background:var(--fpm-field,#fff);color:inherit;font:inherit;box-sizing:border-box}
.fpm-msg-tabs{display:flex;gap:4px}
.fpm-msg-tabs button{flex:1;border:1px solid var(--mg-line);background:transparent;border-radius:999px;padding:5px 10px;cursor:pointer;font-size:.8125rem}
.fpm-msg .fpm-msg-tabs button[aria-pressed="true"]{background:var(--mg-acc);border-color:var(--mg-acc);color:#fff}
.fpm-msg-list{list-style:none;margin:0;padding:6px;overflow-y:auto;flex:1}
.fpm-msg-list li{margin:0}
.fpm-msg-it{display:flex;gap:10px;align-items:center;width:100%;text-align:left;border:0;background:transparent;border-radius:10px;padding:9px 10px;cursor:pointer}
.fpm-msg-it:hover,.fpm-msg-it:focus-visible{background:var(--mg-soft)}
.fpm-msg-it.is-on{background:color-mix(in srgb,var(--mg-acc) 13%,var(--mg-surf))}
.fpm-msg-av{flex:none;width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:700;background:var(--mg-soft);color:var(--mg-acc)}
.fpm-msg-av.sm{width:28px;height:28px;font-size:.7rem}
.fpm-msg-av.grp{border-radius:12px}
.fpm-msg-itx{flex:1;min-width:0}
.fpm-msg-itt{display:flex;gap:6px;align-items:baseline}
.fpm-msg-itt b{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}
.fpm-msg-itt small{color:var(--mg-mut);font-size:.75rem;flex:none}
.fpm-msg-itl{display:flex;gap:6px;align-items:center;margin-top:2px}
.fpm-msg-itl span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--mg-mut);font-size:.8125rem}
.fpm-msg-it.is-unread .fpm-msg-itt b,.fpm-msg-it.is-unread .fpm-msg-itl span{color:inherit;font-weight:700}
.fpm-msg-pill{display:inline-block;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--mg-acc);color:#fff;font-size:.7rem;font-weight:700;line-height:20px;text-align:center;box-sizing:border-box}
.fpm-msg-pill.mute{background:var(--mg-mut)}
.fpm-msg-tag{font-size:.7rem;color:var(--mg-mut)}
.fpm-msg-none{padding:24px 14px;text-align:center;color:var(--mg-mut);font-size:.875rem}
.fpm-msg-main{flex:1;min-width:0;display:flex;flex-direction:column;position:relative}
.fpm-msg-blank{margin:auto;padding:24px;text-align:center;color:var(--mg-mut);max-width:320px}
.fpm-msg-th{display:flex;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid var(--mg-line);min-height:58px;box-sizing:border-box}
.fpm-msg-tht{flex:1;min-width:0}
.fpm-msg-tht b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fpm-msg-tht small{display:block;color:var(--mg-mut);font-size:.78rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fpm-msg-tht small a{color:inherit;text-decoration:underline}
.fpm-msg-ib{flex:none;border:0;background:transparent;width:38px;height:38px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:var(--mg-mut)}
.fpm-msg-ib:hover,.fpm-msg-ib:focus-visible{background:var(--mg-soft);color:inherit}
.fpm-msg-ib svg{width:20px;height:20px}
.fpm-msg-back{display:none}
.fpm-msg-scroll{flex:1;overflow-y:auto;padding:12px 14px;display:flex;flex-direction:column;gap:2px;overscroll-behavior:contain}
.fpm-msg-older{align-self:center;margin:0 0 8px;border:1px solid var(--mg-line);background:var(--mg-surf);border-radius:999px;padding:5px 12px;cursor:pointer;font-size:.8rem}
.fpm-msg-day{align-self:center;margin:12px 0 6px;font-size:.75rem;color:var(--mg-mut);background:var(--mg-soft);border-radius:999px;padding:2px 10px}
.fpm-msg-newline{display:flex;align-items:center;gap:8px;margin:8px 0;color:#b32d2e;font-size:.75rem;font-weight:600}
.fpm-msg-newline:before,.fpm-msg-newline:after{content:"";flex:1;height:1px;background:currentColor;opacity:.4}
.fpm-msg-sys{align-self:center;text-align:center;font-size:.78rem;color:var(--mg-mut);margin:6px 0;max-width:80%}
.fpm-msg-m{display:flex;gap:8px;align-items:flex-end;max-width:min(78%,640px);margin-top:8px;position:relative}
.fpm-msg-m.is-cont{margin-top:2px}
.fpm-msg-m.is-cont .fpm-msg-av{visibility:hidden}
.fpm-msg-m.mine{align-self:flex-end;flex-direction:row-reverse}
.fpm-msg-m.mine .fpm-msg-av{display:none}
.fpm-msg-b{background:var(--mg-other);border-radius:14px 14px 14px 4px;padding:7px 11px;min-width:0;overflow-wrap:anywhere}
.fpm-msg-m.mine .fpm-msg-b{background:var(--mg-mine);border-radius:14px 14px 4px 14px}
.fpm-msg-who{display:block;font-size:.75rem;font-weight:600;color:var(--mg-acc);margin-bottom:2px}
.fpm-msg-tx{white-space:pre-wrap;line-height:1.4}
.fpm-msg-tx a{color:inherit;text-decoration:underline;overflow-wrap:anywhere}
.fpm-msg-del .fpm-msg-tx{font-style:italic;color:var(--mg-mut)}
.fpm-msg-meta{display:block;text-align:right;font-size:.68rem;color:var(--mg-mut);margin-top:2px}
.fpm-msg-files{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.fpm-msg-img{display:block;border-radius:10px;overflow:hidden;line-height:0;background:var(--mg-line)}
.fpm-msg-img img{display:block;max-width:220px;max-height:220px;width:auto;height:auto;object-fit:cover}
.fpm-msg-file{display:inline-flex;align-items:center;gap:8px;min-width:170px;flex:0 1 auto;box-sizing:border-box;border:1px solid var(--mg-line);background:var(--mg-surf);border-radius:10px;padding:6px 10px;font-size:.8125rem;color:inherit;text-decoration:none;max-width:100%}
.fpm-msg-file svg{width:18px;height:18px;flex:none}
.fpm-msg-file span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}
.fpm-msg-file small{color:var(--mg-mut);white-space:nowrap;flex:none}
.fpm-msg-acts{display:flex;gap:2px;opacity:0;transition:opacity .15s}
.fpm-msg-m:hover .fpm-msg-acts,.fpm-msg-m:focus-within .fpm-msg-acts,.fpm-msg-m.show-acts .fpm-msg-acts{opacity:1}
.fpm-msg-acts button{border:0;background:transparent;color:var(--mg-mut);cursor:pointer;font-size:.75rem;padding:4px 6px;border-radius:6px}
.fpm-msg-acts button:hover{background:var(--mg-soft);color:inherit}
.fpm-msg-ed textarea{width:100%;min-width:220px;box-sizing:border-box;border:1px solid var(--fpm-field-bd,#8c8f94);border-radius:8px;padding:6px 8px;font:inherit;background:var(--fpm-field,#fff);color:inherit;resize:vertical}
.fpm-msg-ed div{display:flex;gap:6px;justify-content:flex-end;margin-top:4px}
.fpm-msg-seen{align-self:flex-end;font-size:.7rem;color:var(--mg-mut);margin:2px 4px 0}
.fpm-msg-cmp{border-top:1px solid var(--mg-line);padding:8px 10px;display:flex;flex-direction:column;gap:6px}
.fpm-msg-cmpr{display:flex;gap:6px;align-items:flex-end}
.fpm-msg-cmp textarea{flex:1;min-height:40px;max-height:180px;resize:none;border:1px solid var(--fpm-field-bd,#8c8f94);border-radius:12px;padding:9px 12px;font:inherit;line-height:1.35;background:var(--fpm-field,#fff);color:inherit;box-sizing:border-box}
.fpm-msg-send{flex:none;width:42px;height:42px;border-radius:50%;border:0;background:var(--mg-acc);color:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.fpm-msg-send[disabled]{opacity:.5;cursor:default}
.fpm-msg-send svg{width:20px;height:20px}
.fpm-msg-att{flex:none}
.fpm-msg-att input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.fpm-msg-pend{display:flex;flex-wrap:wrap;gap:6px}
.fpm-msg-pend span{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--mg-line);border-radius:999px;padding:3px 4px 3px 10px;font-size:.78rem;max-width:240px}
.fpm-msg-pend span em{font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fpm-msg-pend button{border:0;background:transparent;cursor:pointer;width:22px;height:22px;border-radius:50%;line-height:1}
.fpm-msg-hint{font-size:.7rem;color:var(--mg-mut)}
.fpm-msg-drawer{position:absolute;inset:0 0 0 auto;width:min(340px,100%);background:var(--mg-surf);border-left:1px solid var(--mg-line);box-shadow:-8px 0 24px rgba(0,0,0,.08);display:flex;flex-direction:column;z-index:3}
.fpm-msg-drawer[hidden]{display:none}
.fpm-msg-dh{display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid var(--mg-line)}
.fpm-msg-dh b{flex:1}
.fpm-msg-db{padding:12px 14px;overflow-y:auto;display:flex;flex-direction:column;gap:14px}
.fpm-msg-db h4{margin:0 0 6px;font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;color:var(--mg-mut)}
.fpm-msg-ppl{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.fpm-msg-ppl li{display:flex;align-items:center;gap:8px;padding:4px 0}
.fpm-msg-ppl li span:not(.fpm-msg-av){flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fpm-msg-ppl li small{color:var(--mg-mut)}
.fpm-msg-ppl button{border:0;background:transparent;color:#b32d2e;cursor:pointer;font-size:.78rem}
.fpm-msg-row{display:flex;gap:6px}
.fpm-msg-row .fpm-msg-in{flex:1}
.fpm-msg-db .fpm-btn{justify-content:center}
.fpm-msg-obj{display:flex;gap:6px;align-items:center;font-size:.875rem}
.fpm-msg-obj a{font-weight:600}
.fpm-msg-modal{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:100000;display:flex;align-items:center;justify-content:center;padding:16px}
.fpm-msg-dlg{background:var(--mg-surf,#fff);color:inherit;border-radius:16px;width:min(520px,100%);max-height:calc(100vh - 32px);display:flex;flex-direction:column;box-shadow:0 20px 50px rgba(0,0,0,.25)}
.fpm-msg-dlg header{display:flex;align-items:center;padding:14px 16px;border-bottom:1px solid var(--mg-line)}
.fpm-msg-dlg header b{flex:1;font-size:1.05rem}
.fpm-msg-dlgb{padding:14px 16px;overflow-y:auto;display:flex;flex-direction:column;gap:12px}
.fpm-msg-dlgb label.t{font-size:.8125rem;font-weight:600;display:block;margin-bottom:4px}
.fpm-msg-pick{list-style:none;margin:6px 0 0;padding:0;max-height:220px;overflow-y:auto;border:1px solid var(--mg-line);border-radius:10px}
.fpm-msg-pick li{border-bottom:1px solid var(--mg-line)}
.fpm-msg-pick li:last-child{border-bottom:0}
.fpm-msg-pick label{display:flex;align-items:center;gap:10px;padding:7px 10px;cursor:pointer}
.fpm-msg-pick label:hover{background:var(--mg-soft)}
.fpm-msg-pick input{margin:0}
.fpm-msg-chips{display:flex;flex-wrap:wrap;gap:6px}
.fpm-msg-chips span{display:inline-flex;align-items:center;gap:4px;background:var(--mg-soft);border-radius:999px;padding:3px 4px 3px 10px;font-size:.8125rem}
.fpm-msg-chips button{border:0;background:transparent;cursor:pointer;width:22px;height:22px;border-radius:50%}
.fpm-msg-res{list-style:none;margin:4px 0 0;padding:0;border:1px solid var(--mg-line);border-radius:10px;max-height:180px;overflow-y:auto}
.fpm-msg-res:empty{display:none}
.fpm-msg-res button{display:block;width:100%;text-align:left;border:0;background:transparent;padding:7px 10px;cursor:pointer}
.fpm-msg-res button:hover,.fpm-msg-res button:focus-visible{background:var(--mg-soft)}
.fpm-msg-dlg footer{display:flex;gap:8px;justify-content:flex-end;padding:12px 16px;border-top:1px solid var(--mg-line)}
.fpm-msg-dlg textarea{width:100%;box-sizing:border-box;border:1px solid var(--fpm-field-bd,#8c8f94);border-radius:10px;padding:8px 10px;font:inherit;background:var(--fpm-field,#fff);color:inherit;resize:vertical}
.fpm-msg-dlg select{min-height:38px;border:1px solid var(--fpm-field-bd,#8c8f94);border-radius:10px;background:var(--fpm-field,#fff);color:inherit;padding:0 10px;font:inherit}
.fpm-msg-err{color:#b32d2e;font-size:.8125rem;margin:0}
.fpm-msg-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:#1d2327;color:#fff;padding:9px 16px;border-radius:10px;font-size:.875rem;z-index:100001;box-shadow:0 6px 20px rgba(0,0,0,.2);max-width:calc(100vw - 32px)}
.fpm-msg-toast.err{background:#b32d2e}
.fpm-msg-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.fpm-msg-about{margin:0 0 8px;padding-left:18px}
.fpm-msg-about li{margin:2px 0}
.fpm-msg-about-empty{color:var(--fpm-secondary,#646970);font-size:.875rem;margin:0 0 8px}
.fpm-msg-head{position:relative;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;color:inherit}
.fpm-msg-head-n{position:absolute;top:2px;right:0;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:#d63638;color:#fff;font-size:10px;font-weight:700;line-height:16px;text-align:center;box-sizing:border-box}
@media (max-width:760px){
.fpm-msg{height:calc(100vh - 150px);height:calc(100dvh - 150px);min-height:420px;border-radius:12px}
.fpm-msg-side{flex:1 1 100%;border-right:0}
.fpm-msg-main{display:none}
.fpm-msg.is-thread .fpm-msg-side{display:none}
.fpm-msg.is-thread .fpm-msg-main{display:flex}
.fpm-msg-back{display:inline-flex}
.fpm-msg-m{max-width:88%}
.fpm-msg-img img{max-width:180px;max-height:180px}
.fpm-msg-acts{opacity:1}
.fpm-msg-hint{display:none}
}.fpm-bl-dep{display:inline-block;margin-left:4px;padding:1px 7px;border-radius:999px;background:#eef4ff;color:#1d4ed8;font-size:.72rem;font-weight:600;white-space:nowrap}
.fpm-sgn-flash{background:#eef6ff;border:1px solid #c7dcf7;border-radius:12px;padding:10px;margin:0 0 10px}.fpm-sgn-flash p{margin:0 0 6px}.fpm-sgn-flash input{width:100%;font-size:.8rem}

/* ---------- Facturation ---------- */
.fpm-bl-st{display:inline-flex;align-items:center;gap:6px;font-size:.78rem;font-weight:600;padding:3px 10px;border-radius:999px;color:var(--st);background:color-mix(in srgb,var(--st) 12%,transparent);white-space:nowrap}
.fpm-bl-st::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--st)}
.fpm-bl-fx{font-size:.72rem;font-weight:700;letter-spacing:.03em;padding:3px 8px;border-radius:6px;background:#e8f1fb;color:#135e96}
.fpm-bl-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:0 0 16px}
.fpm-bl-kpis>div{background:var(--fpm-surface,#fff);border:1px solid var(--fpm-border,#e2e4e7);border-radius:14px;padding:14px 16px;display:flex;flex-direction:column;gap:4px}
.fpm-bl-kpis small{color:var(--fpm-secondary,#646970);font-size:.78rem}.fpm-bl-kpis strong{font-size:1.35rem;letter-spacing:-.01em}
.fpm-bl-kpis .is-late strong{color:#b32d2e}
.fpm-bl-tw,.fpm-bp-tw{overflow-x:auto}
.fpm-table .num,.fpm-bp-lines .num{text-align:right;white-space:nowrap}
.fpm-be{display:flex;flex-direction:column;gap:14px;padding-bottom:80px}
.fpm-be .fpm-be-head .fpm-btn,.fpm-be .fpm-be-add .fpm-btn,.fpm-be .fpm-be-head .fpm-btn:focus,.fpm-be .fpm-be-add .fpm-btn:focus{background:var(--fpm-button)!important;border-color:var(--fpm-button)!important;color:#fff!important}.fpm-be .fpm-be-head .fpm-btn:hover,.fpm-be .fpm-be-add .fpm-btn:hover{background:var(--fpm-hover)!important;border-color:var(--fpm-hover)!important;color:#fff!important}
.fpm-be-head,.fpm-bd-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}
.fpm-be-head h2,.fpm-bd-hero h2{margin:2px 0 6px;font-size:1.45rem}.fpm-bd-hero h2 small{font-size:.95rem;color:var(--fpm-secondary,#646970);font-weight:500;margin-left:6px}
.fpm-be-kick{margin:0;font-size:.72rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--fpm-primary,#2271b1)}
.fpm-be-card,.fpm-bd-card{background:var(--fpm-surface,#fff);border:1px solid var(--fpm-border,#e2e4e7);border-radius:16px;padding:16px}
.fpm-bd-card h3{margin:0 0 10px;font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;color:var(--fpm-secondary,#646970)}
.fpm-be-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.fpm-be-f{display:flex;flex-direction:column;gap:5px;font-size:.84rem;min-width:0}.fpm-be-f>span{color:var(--fpm-secondary,#646970)}
.fpm-be-wide{grid-column:span 2}
.fpm-be input,.fpm-be select,.fpm-be textarea,.fpm-bd-form input,.fpm-bd-form select,.fpm-bd-form textarea,.fpm-bc-form input,.fpm-bc-form select,.fpm-bc-form textarea{width:100%;box-sizing:border-box;font:inherit;font-size:.92rem;padding:8px 10px;border:1px solid var(--fpm-field-bd,#d0d4d9);border-radius:9px;background:var(--fpm-field,#fff);color:inherit;min-width:0}
.fpm-be-lh,.fpm-be-line{display:grid;grid-template-columns:minmax(120px,1fr) minmax(50px,66px) minmax(64px,86px) minmax(76px,104px) minmax(50px,66px) minmax(70px,84px) minmax(76px,108px) 52px;gap:6px;align-items:start}
.fpm-be-line select{padding-left:6px;padding-right:4px}
.fpm-be-lh{font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--fpm-secondary,#646970);padding:0 13px 6px;margin-bottom:10px;border-bottom:1px solid var(--fpm-border,#e2e4e7)}
.fpm-be-lh .num{text-align:right}
.fpm-be-line{padding:12px;margin-bottom:10px;border:1px solid var(--fpm-field-bd,#c9ced5);border-radius:12px;background:var(--fpm-surface,#fff);box-shadow:0 1px 2px rgba(16,24,40,.06)}
.fpm-be-line .c-desc{grid-column:1/7;min-width:0;display:flex;flex-direction:column;gap:6px}
.fpm-be-line .c-desc textarea{font-size:.84rem;line-height:1.45;min-height:38px;resize:vertical;overflow:hidden}
.fpm-be-line .c-opts{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.fpm-be-line .c-opts:empty{display:none}.fpm-be-line .c-opts .fpm-be-blk{margin-top:0}
.fpm-be-line label>span,.fpm-be-line .c-total>span{display:none}
.fpm-be-line .c-label{display:flex;flex-direction:column;gap:6px}
.fpm-bb .fpm-table td{vertical-align:middle}.fpm-bb .fpm-table code{white-space:nowrap}.fpm-bb-form input[type=color]{display:block;width:72px;height:40px;padding:2px;margin-top:6px}.fpm-bb-tw{max-width:100%;overflow-x:auto}.fpm-bb-acts{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.fpm-bb-acts form{margin:0}.fpm-bb-def{display:inline-block;padding:2px 9px;border-radius:999px;font-size:.78rem;font-weight:600;background:#e7f5ea;color:#1e7d32}.fpm-bb-sw{display:inline-block;width:20px;height:20px;border-radius:5px;margin-right:4px;border:1px solid rgba(0,0,0,.08);vertical-align:middle}.fpm-bb-logo{max-height:28px;max-width:90px;vertical-align:middle;margin-right:8px}.fpm-bb-form{margin-top:16px;padding-top:12px;border-top:1px solid var(--fpm-border,#e5e7eb)}.fpm-bb-hist{margin-top:12px;font-size:.85rem}.fpm-bb-hist summary{cursor:pointer;font-weight:600}.fpm-bb-no{background:#fff4e0;color:#8a5300;border-radius:10px;padding:8px 12px}.fpm-bb-inv ul{margin:0 0 12px;padding-left:18px}.fpm-bb-reset{margin-top:8px}.fpm-bb-cur{display:flex;align-items:center;gap:8px;margin-top:6px}
.fpm-be-pcard{margin-top:8px;padding:10px 12px;border:1px solid var(--fpm-border,#e5e7eb);border-radius:10px;background:var(--fpm-surface-2,#f8fafc);font-size:.86rem;line-height:1.45}.fpm-be-pcard .h{display:flex;flex-wrap:wrap;gap:8px;align-items:baseline;margin-bottom:2px}.fpm-be-pcard .n{font-weight:700}.fpm-be-pcard .r{color:var(--fpm-muted,#6b7280);font-size:.8rem}.fpm-be-pcard .o{margin-left:auto;font-size:.8rem}.fpm-be-pcard .m{color:var(--fpm-muted,#6b7280)}.fpm-be-pcard .w{color:#b26200;font-weight:600}
.fpm-be-once{display:flex;gap:6px;align-items:center;font-size:.8rem;color:var(--fpm-muted,#6b7280);cursor:pointer}.fpm-be-once input{width:auto;margin:0}
.fpm-bc-row-acts{display:flex;gap:8px;align-items:center;justify-content:flex-end}.fpm-bc-row-acts form{margin:0}
.fpm-be-blk{width:auto!important;max-width:220px;font-size:.8rem!important;padding:3px 8px!important;min-height:0!important;margin-top:4px}
.fpm-be-line .c-label textarea{font-size:.84rem;min-height:34px;resize:vertical}
.fpm-be-line .c-total{text-align:right;font-weight:700;padding-top:8px;white-space:nowrap;font-size:.9rem}
.fpm-be-line .c-acts{display:flex;flex-wrap:wrap;gap:2px;justify-content:flex-end;padding-top:2px}
.fpm-be-line .c-acts button{border:0;background:transparent;cursor:pointer;width:24px;height:28px;border-radius:6px;color:var(--fpm-secondary,#646970);font-size:15px;line-height:1}
.fpm-be-line .c-acts button:hover{background:rgba(0,0,0,.06)}.fpm-be-line .c-acts .x:hover{color:#b32d2e}
.fpm-be-line .c-acts .cat.is-on{color:#d97706}
.fpm-be-line .c-msg{grid-column:1/-1;margin:0;font-size:.8rem;color:#0f7a3a}.fpm-be-line .c-msg.is-bad{color:#b32d2e}
.fpm-be-grid .fpm-fld{margin:0}.fpm-be-grid .fpm-fld>label{color:var(--fpm-secondary,#646970);font-size:.84rem}
.fpm-be-line input[inputmode=decimal]{text-align:right}
.fpm-be-dev{background:#fff8eb;border:1px solid #f5d48f;border-radius:14px;padding:12px 16px;font-size:.9rem}
.fpm-be-dev p{margin:8px 0 0;white-space:normal}.fpm-be-dev p span{display:block;font-size:.76rem;color:#8a5300;font-weight:600}
.fpm-be-dev small{display:block;margin-top:8px;color:#8a5300}
.fpm-bd-fiche select{width:auto;padding:7px 10px;border-radius:9px}
.fpm-be-add{display:flex;align-items:center;gap:12px;padding:12px 0 4px}.fpm-be-cat{font-size:.84rem}
.fpm-be-empty{color:var(--fpm-secondary,#646970);font-size:.88rem;padding:10px 0}
.fpm-be-totals{display:grid;grid-template-columns:1fr auto;gap:6px 24px;max-width:340px;margin:10px 0 0 auto;font-size:.92rem}
.fpm-be-totals dt{color:var(--fpm-secondary,#646970)}.fpm-be-totals dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}
.fpm-be-totals .is-ttc{font-weight:700;font-size:1.05rem;color:inherit;border-top:1px solid var(--fpm-border,#e2e4e7);padding-top:8px}
.fpm-be-bar{position:sticky;bottom:0;z-index:5;display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;padding:12px 16px;margin:0 -2px;background:var(--fpm-surface,#fff);border:1px solid var(--fpm-border,#e2e4e7);border-radius:14px;box-shadow:0 -6px 24px rgba(0,0,0,.06)}
.fpm-be-sum{margin-right:auto;font-weight:700}
.fpm-bd{display:flex;flex-direction:column;gap:14px}
.fpm-bd-hero{background:var(--fpm-surface,#fff);border:1px solid var(--fpm-border,#e2e4e7);border-radius:16px;padding:18px}
.fpm-bd-amount{text-align:right;display:flex;flex-direction:column;gap:2px}.fpm-bd-amount strong{font-size:1.6rem;letter-spacing:-.01em}.fpm-bd-amount small{color:var(--fpm-secondary,#646970)}
.fpm-bd-acts{display:flex;flex-wrap:wrap;gap:8px}.fpm-bd-inline{display:inline;margin:0}
.fpm-btn-danger{color:#b32d2e}
.fpm-bd-cols{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:14px;align-items:start}
.fpm-bd-side{display:flex;flex-direction:column;gap:14px}
.fpm-bd-links{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:6px;font-size:.88rem}
.fpm-bd-links li{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.fpm-bd-amt{margin-left:auto;font-weight:600}
.fpm-bd-help{font-size:.8rem;color:var(--fpm-secondary,#646970);margin:8px 0 0}
.fpm-bd-pays{list-style:none;margin:0 0 10px;padding:0;display:flex;flex-direction:column;gap:6px}
.fpm-bd-pays li{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;border-radius:10px;background:var(--fpm-soft,#f6f7f9)}
.fpm-bd-pays small{display:block;color:var(--fpm-secondary,#646970);font-size:.78rem}
.fpm-bd-x{border:0;background:transparent;font-size:18px;line-height:1;cursor:pointer;color:var(--fpm-secondary,#646970);padding:2px 6px;border-radius:6px}.fpm-bd-x:hover{color:#b32d2e;background:rgba(179,45,46,.08)}
.fpm-bd-form{display:flex;flex-direction:column;gap:8px}.fpm-bd-form label{display:flex;flex-direction:column;gap:4px;font-size:.82rem;flex:1;min-width:0}
.fpm-bd-row{display:flex;gap:8px}
.fpm-bp{background:#fff;color:#111827;border:1px solid var(--fpm-border,#e2e4e7);border-radius:16px;padding:26px;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.fpm-bp-top{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px}
.fpm-bp-from,.fpm-bp-to{display:flex;flex-direction:column;gap:2px;font-size:.88rem}.fpm-bp-from strong{font-size:1.05rem}
.fpm-bp-to{background:#f7f8fb;border-radius:12px;padding:12px 14px;min-width:220px}.fpm-bp-to small{font-size:.7rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#6b7280}
.fpm-bp-subj{margin:0 0 12px;font-size:1rem}
.fpm-bp-lines{width:100%;border-collapse:collapse;font-size:.88rem}
.fpm-bp-lines th{font-size:.72rem;text-transform:uppercase;letter-spacing:.04em;color:#6b7280;text-align:left;padding:8px 6px;border-bottom:2px solid #e5e7eb}
.fpm-bp-lines td{padding:9px 6px;border-bottom:1px solid #f0f1f3;vertical-align:top}.fpm-bp-lines td small{display:block;color:#6b7280;font-size:.8rem;margin-top:2px}
.fpm-bp-totals{display:grid;grid-template-columns:1fr auto;gap:6px 26px;max-width:300px;margin:16px 0 0 auto;font-size:.9rem}
.fpm-bp-totals dt{color:#6b7280}.fpm-bp-totals dd{margin:0;text-align:right}.fpm-bp-totals .is-ttc{font-weight:700;font-size:1.05rem;color:#111827;border-top:1px solid #e5e7eb;padding-top:8px}
.fpm-bp-note{font-size:.84rem;color:#4b5563;background:#f7f8fb;border-radius:10px;padding:10px 12px;margin:14px 0 0}
.fpm-bc{display:flex;flex-direction:column;gap:14px}
.fpm-bc-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.fpm-bc-form label{display:flex;flex-direction:column;gap:4px;font-size:.84rem}
.fpm-bc-form .w2{grid-column:span 2}.fpm-bc-form .w3{grid-column:1/-1}.fpm-bc-acts{display:flex;gap:8px}
.fpm-bf-acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
@media (max-width:980px){.fpm-bd-cols{grid-template-columns:1fr}}
@media (max-width:860px){
.fpm-be-lh{display:none}
.fpm-be-line{grid-template-columns:repeat(3,minmax(0,1fr));background:var(--fpm-soft,#f6f7f9);border-radius:12px;padding:10px;margin-bottom:10px}
.fpm-be-line .c-label,.fpm-be-line .c-desc{grid-column:1/-1}
.fpm-be-line label>span,.fpm-be-line .c-total>span{display:block;font-size:.72rem;color:var(--fpm-secondary,#646970);margin-bottom:3px}
.fpm-be-line label{display:flex;flex-direction:column}
.fpm-be-line .c-total{grid-column:span 2;text-align:left;padding-top:0}
.fpm-be-line .c-acts{align-items:flex-end}
.fpm-be-grid,.fpm-bc-form{grid-template-columns:1fr}.fpm-be-wide,.fpm-bc-form .w2{grid-column:auto}
.fpm-bp{padding:16px}.fpm-bd-amount{text-align:left}
}
.fpm-buy-sib{margin:0;padding-left:18px}.fpm-buy-sib li{margin:4px 0}.fpm-buy-addr{display:grid;grid-template-columns:minmax(110px,1fr) minmax(200px,3fr);gap:0 var(--fpm-gap,20px)}@media (max-width:600px){.fpm-buy-addr{grid-template-columns:1fr}}.fpm-buy-tw{max-width:100%;overflow-x:auto}.fpm-buy-acts{white-space:nowrap;text-align:right}
.fpm-buy-st{display:inline-block;padding:2px 9px;border-radius:999px;font-size:.78rem;font-weight:600;color:var(--st,#646970);background:color-mix(in srgb,var(--st,#646970) 12%,transparent)}
.fpm-buy-st.is-due{--st:#b26200}
.fpm-buy-warn{color:#b26200;font-size:.85em}
.fpm-buy-due{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;background:#fff8eb;color:#8a5300;border-radius:inherit}
.fpm-buy-due-c{border-color:#f5d48f}
.fpm-buy-h{margin:18px 0 8px;font-size:1rem}
.fpm-buy-lh,.fpm-buy-line{display:grid;grid-template-columns:minmax(140px,1fr) 120px 80px 90px 32px;gap:6px;align-items:center}
.fpm-buy-lh{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--fpm-secondary,#646970);padding:0 10px 4px}
.fpm-buy-line{padding:10px;margin-bottom:8px;border:1px solid var(--fpm-field-bd,#c9ced5);border-radius:12px;background:var(--fpm-surface,#fff)}
.fpm-buy-line input,.fpm-buy-line select,.fpm-buy-line textarea{width:100%;box-sizing:border-box;min-width:0}
.fpm-buy-line textarea{grid-column:1/-2;font-size:.85rem;resize:vertical;min-height:34px}
.fpm-buy-line input[inputmode=decimal]{text-align:right}
.fpm-buy-x{border:0;background:transparent;cursor:pointer;font-size:18px;color:var(--fpm-secondary,#646970);border-radius:6px;height:32px}.fpm-buy-x:hover{color:#b32d2e;background:rgba(0,0,0,.05)}
.fpm-buy-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.fpm-buy-hero h2{margin:2px 0 6px}.fpm-buy-k{margin:0;font-size:.8rem;text-transform:uppercase;letter-spacing:.05em;color:var(--fpm-secondary,#646970)}
.fpm-buy-hero-a{display:flex;gap:6px;flex-wrap:wrap}
.fpm-buy-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start}
.fpm-buy-main,.fpm-buy-side{display:flex;flex-direction:column;gap:14px;min-width:0}
.fpm-buy-tot td{border-top:2px solid var(--fpm-border,#e5e7eb)}
.fpm-buy-msg{white-space:normal;color:#374151;background:var(--fpm-soft,#f6f7f9);border-radius:10px;padding:10px 12px}
.fpm-buy-dl{display:grid;grid-template-columns:auto 1fr;gap:6px 12px;margin:0;font-size:.9rem}.fpm-buy-dl dt{color:var(--fpm-secondary,#646970)}.fpm-buy-dl dd{margin:0}
.fpm-buy-f{display:flex;flex-direction:column;gap:4px;margin:0 0 10px;font-size:.88rem}.fpm-buy-f input,.fpm-buy-f select,.fpm-buy-f textarea{width:100%;box-sizing:border-box}
.fpm-buy-price{max-width:130px;text-align:right}
.fpm-buy-ans>summary,.fpm-buy-v details>summary{cursor:pointer}
.fpm-buy-row{display:flex;gap:8px;flex-wrap:wrap}.fpm-buy-inline{display:inline-block;margin:6px 0 0}
.fpm-buy-ul{margin:0 0 8px;padding-left:18px}.fpm-buy-ul li{margin-bottom:4px}
@media (max-width:900px){.fpm-buy-grid{grid-template-columns:1fr}}
@media (max-width:640px){.fpm-buy-lh{display:none}.fpm-buy-line{grid-template-columns:1fr 1fr 32px}.fpm-buy-line input:first-child{grid-column:1/-1}.fpm-buy-line textarea{grid-column:1/-1}}

.fpm-acc-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.fpm-acc-head h2{margin:2px 0 0}.fpm-acc-k{margin:0;font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;color:var(--fpm-secondary,#646970)}
.fpm-acc-ro{margin:0;padding:5px 12px;border-radius:999px;font-size:.82rem;background:color-mix(in srgb,var(--fpm-primary,#2271b1) 10%,transparent);color:var(--fpm-primary,#2271b1)}
.fpm-acc-tabs{overflow-x:auto;flex-wrap:nowrap}.fpm-acc-tabs .fpm-tab{white-space:nowrap}
.fpm-acc-period{display:flex;gap:8px;flex-wrap:wrap;align-items:flex-end;margin-bottom:var(--fpm-gap,16px)}
.fpm-acc-period select,.fpm-acc-period input{font:inherit;font-size:.9em;padding:7px 10px;border:1px solid var(--fpm-field-bd,#8c8f94);border-radius:var(--fpm-radius,8px);background:var(--fpm-field,#fff);color:inherit}
.fpm-acc-dates{display:inline-flex;gap:8px;flex-wrap:wrap}.fpm-acc-dates[hidden]{display:none}
.fpm-acc-dates label{display:inline-flex;flex-direction:column;gap:2px;font-size:.75rem;color:var(--fpm-secondary,#646970)}
.fpm-acc-plabel{margin-left:auto;align-self:center;font-size:.85rem;color:var(--fpm-secondary,#646970)}
.fpm-acc-kpis{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;margin-bottom:var(--fpm-gap,16px)}
.fpm-acc-menu[open]{display:block}
.fpm-acc-kpi{display:flex;flex-direction:column;gap:4px;padding:14px 16px}
.fpm-acc-kpi strong{font-size:1.35rem;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.fpm-acc-kl{font-size:.82rem;color:var(--fpm-secondary,#646970)}.fpm-acc-kpi small{font-size:.78rem;color:var(--fpm-secondary,#646970)}
.fpm-acc-kpi.is-accent strong{color:var(--fpm-primary,#2271b1)}.fpm-acc-kpi.is-warn strong{color:#b26200}
.fpm-acc-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:var(--fpm-gap,16px);align-items:start}
.fpm-acc-cols .fpm-card{margin:0}
.fpm-acc-h3{margin:18px 0 8px;font-size:.95rem}
.fpm-acc-tw{max-width:100%;overflow-x:auto}
.fpm-acc-t{margin-bottom:0}.fpm-acc-t .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.fpm-acc-t tfoot th,.fpm-acc-t tfoot td{border-top:2px solid var(--fpm-border,#e5e7eb);font-weight:700}
.fpm-acc-t tr.fpm-acc-sub td{font-weight:400;color:var(--fpm-secondary,#646970);border-top:0;padding-top:4px;padding-bottom:4px}
.fpm-acc-note{display:block;font-size:.78rem;color:var(--fpm-secondary,#646970);font-weight:400}
.fpm-acc-tag{display:inline-block;margin-left:4px;padding:0 7px;border-radius:999px;font-size:.72rem;background:var(--fpm-background,#f3f5f8);border:1px solid var(--fpm-border,#e5e7eb)}
.fpm-acc-st{display:inline-block;padding:2px 9px;border-radius:999px;font-size:.78rem;font-weight:600;color:var(--st,#646970);background:color-mix(in srgb,var(--st,#646970) 12%,transparent);white-space:nowrap}
.fpm-acc-a{white-space:nowrap;text-align:right}.fpm-acc-a a{margin-left:8px}
.fpm-acc-inline{display:inline-block;margin-left:8px}
.fpm-acc-miss{font-size:.78rem;color:#b26200}
.is-late{color:#b32d2e}
.fpm-acc-det summary{cursor:pointer;font-weight:600}.fpm-acc-det ul{list-style:none;margin:8px 0 0;padding:0;font-size:.85rem}
.fpm-acc-det li{display:flex;flex-wrap:wrap;gap:4px 10px;justify-content:space-between;padding:4px 0;border-top:1px dashed var(--fpm-border,#e5e7eb)}
.fpm-acc-menu{position:relative;display:inline-block;text-align:left}.fpm-acc-menu>summary{list-style:none;cursor:pointer}.fpm-acc-menu>summary::-webkit-details-marker{display:none}
.fpm-acc-menu>div{margin-top:8px;min-width:240px;display:flex;flex-direction:column;gap:10px;padding:12px;background:var(--fpm-surface,#fff);border:1px solid var(--fpm-border,#e5e7eb);border-radius:12px;box-shadow:0 10px 30px rgba(16,24,40,.18);white-space:normal}
.fpm-acc-menu form{display:flex;flex-direction:column;gap:6px;margin:0}.fpm-acc-menu label{display:flex;flex-direction:column;gap:4px;font-size:.8rem;color:var(--fpm-secondary,#646970)}
.fpm-acc-dl{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
.fpm-acc-dl .fpm-card{margin:0}.fpm-acc-dlc h3{margin:0 0 6px;font-size:1rem}.fpm-acc-dlc p{margin:0 0 12px;font-size:.86rem;color:var(--fpm-secondary,#646970)}
.fpm-acc-amounts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.fpm-acc-amounts .fpm-fld{display:flex;flex-direction:column;gap:4px}.fpm-acc-amounts span{font-size:.85rem;font-weight:600}
.fpm-acc-amounts input,.fpm-acc-amounts select{width:100%;box-sizing:border-box}.fpm-acc-amounts input{text-align:right;font-variant-numeric:tabular-nums}
.fpm-acc-paid{display:contents}.fpm-acc-paid[hidden]{display:none}
.fpm-acc-file{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:12px}
.fpm-acc-pick{position:relative;overflow:hidden;cursor:pointer}
.fpm-acc-hide{position:absolute!important;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.fpm-acc-fname{font-size:.85rem;color:var(--fpm-secondary,#646970);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.fpm-acc-fname.is-set{color:var(--fpm-text,#1d2327);font-weight:600}.fpm-acc-file .fpm-cam-in{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
.fpm-acc-del{margin-top:10px;text-align:right}
@media (max-width:700px){.fpm-acc-amounts{grid-template-columns:1fr 1fr}.fpm-acc-plabel{margin-left:0;width:100%}
.fpm-acc-kpis{grid-template-columns:1fr 1fr;gap:10px}.fpm-acc-kpi{padding:12px}.fpm-acc-kpi strong{font-size:1.1rem}
.fpm-acc-t tfoot tr{display:flex;flex-wrap:wrap;gap:4px 14px;padding:8px 13px}.fpm-acc-t tfoot th,.fpm-acc-t tfoot td{border:0;padding:0}
.fpm-acc-a{text-align:left}.fpm-acc-menu{display:block;width:100%}}

.fpm-ctr-title{margin:0 0 8px;color:var(--fpm-secondary,#646970)}
.fpm-ctr-avh{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}.fpm-ctr-avh h3{margin:0}.fpm-bp-lines td small{display:block;color:var(--fpm-secondary,#646970)}
.fpm-ctr-avd{--a:var(--fpm-primary,#2271b1);--bd:var(--fpm-border,#e5e7eb)}.fpm-ctr-avd h2{font-size:1rem;color:var(--fpm-primary,#2271b1);border-bottom:1px solid currentColor;padding-bottom:4px;margin:20px 0 10px}.fpm-ctr-avd table{width:100%;border-collapse:collapse;font-size:.88rem;margin:0 0 8px}.fpm-ctr-avd th{text-align:left;font-size:.75rem;text-transform:uppercase;background:transparent;color:var(--fpm-secondary,#646970);border-bottom:2px solid var(--fpm-border,#e5e7eb);padding:6px 4px}.fpm-ctr-avd td{padding:7px 4px;border-bottom:1px solid var(--fpm-border,#e5e7eb);vertical-align:top}.fpm-ctr-avd td small{display:block;color:var(--fpm-secondary,#646970)}.fpm-ctr-avd .n{text-align:right;white-space:nowrap}.fpm-ctr-avd .tot{text-align:right;font-weight:600}.fpm-ctr-avd dl{display:grid;grid-template-columns:minmax(140px,36%) 1fr;gap:6px 12px}.fpm-ctr-avd dd{margin:0}
.fpm-ctr-warn{background:#fff7e6;color:#8a5300;border-radius:12px;padding:10px 14px;font-size:.88rem;margin:0}
.fpm-ctr-h{margin:0 0 12px;font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;color:var(--fpm-secondary,#646970)}
.fpm-ctr-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.fpm-ctr-checks{display:flex;flex-direction:column;gap:6px;margin-top:12px}
.fpm-be-full{grid-column:1/-1}
.fpm-ctr-ev{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.fpm-ctr-ev li{display:grid;grid-template-columns:110px 150px 1fr;gap:10px;padding:7px 0;border-bottom:1px solid var(--fpm-border,#eef0f2);font-size:.86rem}
.fpm-ctr-ev time{color:var(--fpm-secondary,#646970)}
.fpm-ctr-sum{cursor:pointer;font-weight:600;color:#b32d2e}
.fpm-sgn-flash{background:#eef6ff;border:1px solid #c7dcf7;border-radius:12px;padding:10px;margin:0 0 10px}.fpm-sgn-flash input{width:100%;font-size:.8rem}
.fpm-rte{border:1px solid var(--fpm-field-bd,#dcdcde);border-radius:12px;overflow:hidden;background:var(--fpm-field,#fff)}
.fpm-rte-bar{display:flex;flex-wrap:wrap;gap:4px;padding:6px;border-bottom:1px solid var(--fpm-border,#dcdcde);background:var(--fpm-bg,#f6f7f7);position:sticky;top:0;z-index:2}
.fpm-rte-b{border:1px solid var(--fpm-border,#dcdcde);background:var(--fpm-surface,#fff);color:inherit;border-radius:8px;padding:4px 9px;font:inherit;font-size:.82rem;cursor:pointer;min-height:30px}
.fpm-rte-b:hover{border-color:var(--fpm-primary,#2271b1)}.fpm-rte.is-src .fpm-rte-b:not([data-cmd=src]),.fpm-rte.is-src .fpm-rte-var{opacity:.4;pointer-events:none}
.fpm-rte-var{max-width:190px;font-size:.82rem;border-radius:8px;min-height:30px}
.fpm-rte-ed{min-height:320px;max-height:70vh;overflow:auto;padding:14px 18px;outline:0;font-size:.92rem;line-height:1.6}
.fpm-rte-ed h2{font-size:1.02rem;margin:18px 0 8px;padding-bottom:4px;border-bottom:1px solid currentColor;color:var(--fpm-primary,#2271b1)}.fpm-rte-ed h3{font-size:.95rem;margin:14px 0 6px}.fpm-rte-ed h4{font-size:.9rem;margin:10px 0 4px}
.fpm-rte-ed p{margin:0 0 8px}.fpm-rte-ed table{width:100%;border-collapse:collapse;margin:6px 0 10px}.fpm-rte-ed td,.fpm-rte-ed th{border:1px solid var(--fpm-border,#dcdcde);padding:5px 7px;vertical-align:top;min-width:40px}.fpm-rte-ed th{background:var(--fpm-bg,#f0f0f1)}
.fpm-rte-src{display:block;width:100%;border:0;padding:12px;font:12px/1.5 ui-monospace,Menlo,Consolas,monospace;min-height:320px}
.fpm-ctt-acts{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.fpm-ctt-acts .fpm-inline-form{margin:0}
.fpm-ctt-imp{margin-top:16px}.fpm-ctt-imp .fpm-help{margin-top:8px}.fpm-ctt-impf{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.fpm-ctt-impf input[type=file]{flex:1;min-width:240px;font:inherit;font-size:.9rem;color:var(--fpm-text,inherit);padding:6px 8px;border:1px solid var(--fpm-field-bd,#dcdcde);border-radius:var(--fpm-radius,10px);background:var(--fpm-field,#fff);line-height:1.6}
.fpm-ctt-impf input[type=file]::file-selector-button{font:inherit;font-size:.9em;margin:0 10px 0 0;padding:6px 12px;border:1px solid var(--fpm-border,#dcdcde);border-radius:var(--fpm-radius,10px);background:var(--fpm-background,#f6f7f7);color:var(--fpm-text,inherit);cursor:pointer}
.fpm-ctt-impf input[type=file]::file-selector-button:hover{border-color:var(--fpm-primary,#2271b1);color:var(--fpm-primary,#2271b1)}
.fpm-ctt-blk{border:1px solid var(--fpm-border,#dcdcde);border-radius:12px;margin:0 0 10px}.fpm-ctt-blk summary{cursor:pointer;padding:10px 14px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.fpm-ctt-blk summary code{font-size:.75rem}.fpm-ctt-blk-b{padding:0 14px 14px}.fpm-ctt-blk-b .fpm-rte{margin-top:8px}.fpm-ctt-blk .fpm-rte-ed{min-height:140px}
.fpm-ctr-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,40%);gap:18px;align-items:start}.fpm-ctr-split-side{position:sticky;top:12px}
.fpm-ctr-pv{--a:var(--fpm-primary,#2271b1);--bd:var(--fpm-border,#e5e7eb);margin:0}.fpm-ctr-pv-h{display:flex;justify-content:space-between;align-items:center}.fpm-ctr-pv-st{font-size:.8rem;color:var(--fpm-secondary,#646970)}
.fpm-ctr-pv-b{max-height:calc(100vh - 140px);overflow:auto;padding-right:6px}
.fpm-ctd-head{display:flex;flex-direction:column;align-items:flex-end;border-bottom:3px solid var(--a);padding-bottom:8px;margin-bottom:6px}.fpm-ctd-head strong{align-self:flex-start;font-size:1rem}.fpm-ctd-head span{font-weight:800;color:var(--a);font-size:1.2rem;letter-spacing:.04em}.fpm-ctd-head em{font-style:normal;font-size:.85rem;opacity:.8}
.fpm-ctr-sub{margin:12px 0 6px;font-size:.82rem;color:var(--fpm-secondary,#646970)}.fpm-ctr-chips{display:flex;flex-wrap:wrap;gap:8px}
.fpm-ctr-chip{border:1px solid var(--fpm-border,#c3c4c7);background:var(--fpm-surface,#fff);color:inherit;border-radius:999px;padding:7px 16px;font:inherit;font-size:.86rem;cursor:pointer}.fpm-ctr-chip[aria-pressed=true]{background:var(--fpm-primary,#2271b1);border-color:var(--fpm-primary,#2271b1);color:#fff}
.fpm-ctr-pick{display:flex;gap:8px;align-items:center;margin-top:12px;flex-wrap:wrap}.fpm-ctr-pick select{flex:1;min-width:220px}
@media (max-width:1599px){.fpm-ctr-split{grid-template-columns:1fr}.fpm-ctr-split-side{position:static}.fpm-ctr-pv-b{max-height:none}}
.fpm-ctt-help{margin-top:12px}.fpm-ctt-help summary{cursor:pointer;font-weight:600}.fpm-ctt-vars{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;margin:10px 0}.fpm-ctt-vars ul{list-style:none;margin:4px 0 0;padding:0;font-size:.82rem}.fpm-ctt-vars code{font-size:.78rem}
@media (max-width:860px){.fpm-ctr-grid{grid-template-columns:1fr}.fpm-ctr-ev li{grid-template-columns:1fr}}

.fpm-hub-q{display:inline-block;vertical-align:middle;width:70px;height:6px;border-radius:999px;background:var(--fpm-border,#e5e7eb);overflow:hidden}.fpm-hub-q i{display:block;height:100%;background:var(--fpm-primary,#2271b1)}.fpm-hub-q.is-warn i{background:#b26200}.fpm-hub-q.is-ko i{background:#b32d2e}
.fpm-hub-stc .fpm-hub-q{display:block;margin-top:4px}
.fpm-hub-gauge{height:8px;border-radius:999px;background:var(--fpm-border,#e5e7eb);overflow:hidden;margin:-6px 0 14px}.fpm-hub-gauge i{display:block;height:100%;background:var(--fpm-primary,#2271b1)}.fpm-hub-gauge.is-warn i{background:#b26200}.fpm-hub-gauge.is-ko i{background:#b32d2e}
.fpm-hub-st-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.fpm-hub-st-b h3,.fpm-hub-st-h{font-size:.95rem;margin:12px 0 8px}
.fpm-hub-st-b .num{text-align:right;white-space:nowrap}.fpm-hub-st-p{white-space:nowrap;width:120px;font-size:.8rem;color:var(--fpm-secondary,#646970)}
.fpm-hub-st-chart{display:grid;grid-template-columns:repeat(12,1fr);gap:6px;align-items:end;height:120px}.fpm-hub-st-chart div{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:100%}.fpm-hub-st-chart i{display:block;width:70%;max-width:30px;background:var(--fpm-primary,#2271b1);border-radius:4px 4px 0 0}.fpm-hub-st-chart span{font-size:.7rem;color:var(--fpm-secondary,#646970);margin-top:4px;text-transform:capitalize}
.fpm-hub-st-co{list-style:none;margin:0;padding:0}.fpm-hub-st-co li{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px solid var(--fpm-border,#e5e7eb)}
.fpm-hub-qf{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}.fpm-hub-qf label{display:flex;flex-direction:column;gap:4px;font-size:.85rem}.fpm-hub-qf input{max-width:200px}.fpm-hub-qf small{flex-basis:100%}.fpm-hub-qf [hidden]{display:none!important}
.fpm-hub-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:0 0 var(--fpm-gap,18px)}
.fpm-hub-kpi{display:flex;flex-direction:column;gap:4px;background:var(--fpm-surface,#fff);border:1px solid var(--fpm-border,#e5e7eb);border-radius:var(--fpm-radius,12px);padding:14px 16px;color:inherit;text-decoration:none}
a.fpm-hub-kpi:hover{border-color:var(--fpm-primary,#2271b1)}
.fpm-hub-kpi small{color:var(--fpm-secondary,#646970);font-size:.8rem}
.fpm-hub-kpi strong{font-size:1.35rem;font-weight:650;line-height:1.2}
.fpm-hub-kpi span{color:var(--fpm-secondary,#646970);font-size:.8rem}
.fpm-hub-kpi.is-warning strong{color:#a15c00}.fpm-hub-kpi.is-danger strong{color:#b32d2e}.fpm-hub-kpi.is-success strong{color:#1e7d32}
.fpm-hub-cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--fpm-gap,18px)}
.fpm-hub-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin:0 0 var(--fpm-gap,18px)}
.fpm-hub-bar .fpm-filters{margin:0}
.fpm-hub-tw{max-width:100%;overflow-x:auto}.fpm-hub-tw .fpm-table{margin-bottom:0}
.fpm-hub-table td:first-child{white-space:nowrap}
.fpm-hub-date{display:inline-flex;gap:6px;align-items:center;font-size:.88rem}
.fpm-hub-st{display:inline-block;padding:2px 9px;border-radius:999px;font-size:.78rem;font-weight:600;background:#f1f2f4;color:#50575e;white-space:nowrap}
.fpm-hub-st-success{background:#e7f5ea;color:#1e7d32}.fpm-hub-st-warning{background:#fff4e0;color:#8a5300}.fpm-hub-st-danger{background:#fdecec;color:#b32d2e}
.fpm-hub-stl{display:inline-flex;flex-wrap:wrap;gap:4px}
.fpm-hub-err{background:#fff4e0;color:#8a5300;border-radius:10px;padding:8px 12px;margin:0 0 10px}
.fpm-hub-list{list-style:none;margin:0;padding:0}.fpm-hub-list li{padding:8px 0;border-bottom:1px solid rgba(127,127,127,.18);display:flex;flex-wrap:wrap;gap:6px;align-items:center}.fpm-hub-list li:last-child{border-bottom:0}
.fpm-hub-tot{display:grid;grid-template-columns:1fr auto;gap:4px 16px;max-width:380px;margin:12px 0 0 auto}.fpm-hub-tot dt{color:var(--fpm-muted,#6b7280)}.fpm-hub-tot dd{margin:0;text-align:right;font-weight:600}
.fpm-hub-change{margin-top:10px}.fpm-hub-change summary{cursor:pointer;font-weight:600;font-size:.88rem}
.fpm-hub-table td.num,.fpm-hub-table th.num{text-align:right;white-space:nowrap}
.fpm-hub-checks{list-style:none;margin:0 0 12px;padding:0;display:flex;flex-direction:column;gap:8px}
.fpm-hub-checks li{padding-left:24px;position:relative;font-size:.92rem}
.fpm-hub-checks li::before{position:absolute;left:0;top:0;font-weight:700}
.fpm-hub-checks li.ok::before{content:"\2713";color:#1e7d32}.fpm-hub-checks li.ko::before{content:"\2715";color:#b32d2e}.fpm-hub-checks li.warn::before{content:"!";color:#a15c00;left:5px}
.fpm-hub-checks li.info::before{content:"i";color:var(--fpm-primary,#2271b1);left:6px;font-style:italic}
.fpm-hub-checks li small{display:block;margin-top:2px;color:var(--fpm-secondary,#646970);font-size:.82rem;word-break:break-word}
.fpm-hub-hd{font-size:.82rem;color:var(--fpm-secondary,#646970);word-break:break-word}
.fpm-hub-types{display:flex;flex-direction:column;gap:10px}
.fpm-hub-type{border:1px solid var(--fpm-border,#e5e7eb);border-radius:var(--fpm-radius,10px);padding:12px 14px;background:var(--fpm-surface,#fff)}
.fpm-hub-type.is-new{border-style:dashed}
.fpm-hub-type-h{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:flex-end}
.fpm-hub-f{display:flex;flex-direction:column;gap:4px;font-size:.85rem;font-weight:600;flex:1 1 220px}
.fpm-hub-f input,.fpm-hub-f select{font:inherit;font-weight:400;padding:8px 10px;border:1px solid var(--fpm-field-bd,#8c8f94);border-radius:var(--fpm-radius,8px);background:var(--fpm-field,#fff)}
.fpm-hub-type-del{margin:0 0 8px;color:#b32d2e}
.fpm-hub-type-r{border:0;margin:10px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:4px 16px}
.fpm-hub-type-r legend{font-size:.8rem;color:var(--fpm-secondary,#646970);margin-bottom:4px;padding:0}
.fpm-hub-type-r .fpm-check{margin:0}
.fpm-hub-small{font-size:.84rem}.fpm-hub-small code{word-break:break-all}
.fpm-hub-title{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 14px;font-size:1.35rem}
.fpm-hub-h{margin:18px 0 10px;font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;color:var(--fpm-secondary,#646970)}
.fpm-hub-secret{background:#fff7e6;border:1px solid #f0d199;border-radius:12px;padding:12px 14px;margin:0 0 var(--fpm-gap,18px)}
.fpm-hub-secret details{margin-top:10px}.fpm-hub-secret summary{cursor:pointer;font-size:.86rem}
.fpm-hub-inline{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 10px}
.fpm-hub-inline input,.fpm-hub-inline select{font:inherit;font-size:.9em;padding:7px 9px;border:1px solid var(--fpm-field-bd,#8c8f94);border-radius:var(--fpm-radius,8px);background:var(--fpm-field,#fff)}
.fpm-hub-secret textarea{display:block;width:100%;margin-top:8px;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:.8rem;background:#fff}
@media (max-width:860px){.fpm-hub-cols{grid-template-columns:1fr}.fpm-hub-table td.num{text-align:right}}

.fpm-subc-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.fpm-subc-head h2{margin:2px 0 6px}.fpm-subc-k{margin:0;font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;color:var(--fpm-secondary,#646970)}
.fpm-subc-st{display:inline-block;padding:2px 10px;border-radius:999px;font-size:.78rem;font-weight:600;color:var(--st,#646970);background:color-mix(in srgb,var(--st,#646970) 12%,transparent)}
.fpm-subc-pend{font-size:.78rem;color:#b26200;font-weight:600}
.fpm-subc-exp.is-warn{color:#b26200;font-weight:600}.fpm-subc-exp.is-ko{color:#b32d2e;font-weight:700}
.fpm-subc-tw{max-width:100%;overflow-x:auto}.fpm-subc-acts{white-space:nowrap;text-align:right}
.fpm-subc-cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}
@media (max-width:900px){.fpm-subc-cols{grid-template-columns:1fr}}
.fpm-subc-dl{display:grid;grid-template-columns:max-content 1fr;gap:6px 14px;margin:0}.fpm-subc-dl dt{color:var(--fpm-secondary,#646970);font-size:.86rem}.fpm-subc-dl dd{margin:0;overflow-wrap:anywhere}
.fpm-subc-acts-row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.fpm-subc-inline{margin:0}
.fpm-subc-refuse{border-top:1px solid var(--fpm-border,#dcdcde);padding-top:12px}
.fpm-subc-docs{list-style:none;margin:0;padding:0}.fpm-subc-docs>li{padding:10px 0;border-bottom:1px solid var(--fpm-border,#dcdcde)}.fpm-subc-docs>li:last-child{border-bottom:0}
.fpm-subc-doc{margin-top:6px;font-size:.9rem}.fpm-subc-miss{margin:4px 0 0;color:#b32d2e;font-weight:600;font-size:.86rem}
.fpm-subc-dcheck{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}.fpm-subc-dcheck input[type=text]{flex:1 1 160px;min-width:0;padding:5px 8px;border:1px solid var(--fpm-field-bd,#8c8f94);border-radius:var(--fpm-radius,8px)}
.fpm-subc-specs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}.fpm-subc-specs .fpm-check{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid var(--fpm-border,#dcdcde);border-radius:999px;cursor:pointer}
.fpm-subc-specs .fpm-check:has(input:checked){border-color:var(--fpm-primary,#2271b1);background:color-mix(in srgb,var(--fpm-primary,#2271b1) 10%,transparent);font-weight:600}
.fpm-subc-multi{position:relative}
.fpm-subc-multi>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;min-width:200px;max-width:280px;padding:9px 34px 9px 14px;border:1px solid var(--fpm-field-bd,#8c8f94);border-radius:var(--fpm-radius,8px);background:var(--fpm-field,#fff) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%2712%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23555%27 stroke-width=%272.5%27%3E%3Cpath d=%27m6 9 6 6 6-6%27/%3E%3C/svg%3E") no-repeat right 12px center}
.fpm-subc-multi>summary::-webkit-details-marker{display:none}.fpm-subc-multi>summary span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fpm-subc-multi-m{position:absolute;z-index:40;top:calc(100% + 4px);left:0;min-width:240px;max-height:340px;overflow:auto;padding:8px;border:1px solid var(--fpm-border,#dcdcde);border-radius:10px;background:var(--fpm-surface,#fff);box-shadow:0 10px 26px rgba(0,0,0,.16);display:flex;flex-direction:column;gap:2px}
.fpm-subc-multi-m .fpm-check{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:7px;cursor:pointer}.fpm-subc-multi-m .fpm-check:hover{background:color-mix(in srgb,var(--fpm-primary,#2271b1) 8%,transparent)}
.fpm-subc-multi-a{display:flex;justify-content:space-between;gap:8px;padding-top:8px;margin-top:4px;border-top:1px solid var(--fpm-border,#dcdcde)}
.fpm-subc-thumb{display:inline-block;vertical-align:middle;margin-right:8px}.fpm-subc-thumb img{width:56px;height:56px;object-fit:cover;border-radius:8px;border:1px solid var(--fpm-border,#dcdcde);display:block}
.fpm-subc-pdf{display:inline-block;margin-right:6px;padding:1px 6px;border-radius:5px;font-size:.7rem;font-weight:700;color:#b32d2e;background:color-mix(in srgb,#b32d2e 10%,transparent)}
.fpm-subc-hint{margin:6px 0 2px;padding:8px 10px;border-left:3px solid var(--fpm-primary,#2271b1);border-radius:0 8px 8px 0;background:color-mix(in srgb,var(--fpm-primary,#2271b1) 6%,transparent);font-size:.84rem;line-height:1.45}
.fpm-subc-hint a{font-weight:600}
.fpm-subc-cks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px}.fpm-subc-cks li{display:flex;gap:8px;align-items:flex-start;font-size:.9rem}
.fpm-subc-ck{flex:none;width:20px;height:20px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700;background:color-mix(in srgb,#646970 15%,transparent);color:#646970}
.fpm-subc-ck.is-ok{background:color-mix(in srgb,#008a20 15%,transparent);color:#008a20}.fpm-subc-ck.is-ko{background:color-mix(in srgb,#b32d2e 15%,transparent);color:#b32d2e}
.fpm-subc-small{margin:10px 0 0}
.fpm-subc-help{font-size:.84rem;line-height:1.45;color:color-mix(in srgb,currentColor 78%,transparent)}
.fpm-subc-reopen{margin-bottom:12px}.fpm-subc-reopen>summary{list-style:none;display:inline-flex}.fpm-subc-reopen>summary::-webkit-details-marker{display:none}.fpm-subc-reopen[open]>summary{margin-bottom:10px}
.fpm-subc-upd{margin-bottom:12px;padding:10px 12px;border-radius:10px;border:1px solid color-mix(in srgb,#d97706 40%,transparent);background:color-mix(in srgb,#d97706 8%,transparent)}.fpm-subc-upd .fpm-subc-acts-row{margin:8px 0 0}
.fpm-subc-dbox.is-asked{border-color:#d97706;box-shadow:0 0 0 2px color-mix(in srgb,#d97706 20%,transparent)}.fpm-subc-ask{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:999px;font-size:.72rem;font-weight:700;color:#fff;background:#d97706;vertical-align:middle}
.fpm-subc-bank{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:start}.fpm-subc-bank-ro{grid-template-columns:minmax(0,1fr);max-width:420px;margin-top:10px}@media (max-width:700px){.fpm-subc-bank{grid-template-columns:1fr}}
.fpm-subc-items{display:flex;flex-direction:column;gap:4px;max-height:320px;overflow:auto;margin-bottom:14px;padding:8px;border:1px solid var(--fpm-border,#dcdcde);border-radius:10px}.fpm-subc-items .fpm-check{display:flex;gap:8px;align-items:center;padding:6px 8px;border-radius:7px}.fpm-subc-items .fpm-check:has(input:checked){background:color-mix(in srgb,var(--fpm-primary,#2271b1) 10%,transparent);font-weight:600}
.fpm-subc-ttc{display:block;font-size:1.2rem;padding:8px 0}.fpm-subc-rej{display:inline-block}.fpm-subc-rej>summary{list-style:none}.fpm-subc-rej>summary::-webkit-details-marker{display:none}.fpm-subc-acts .fpm-subc-inline{display:inline-block}
.fpm-subc-contract{max-height:360px;overflow:auto;padding:14px 16px;margin-bottom:12px;border:1px solid var(--fpm-border,#dcdcde);border-radius:10px;background:var(--fpm-surface-2,var(--fpm-background,#f6f7f7));font-family:Georgia,serif;font-size:.92rem;line-height:1.55}
.fpm-subc-sign{margin-top:10px}.fpm-subc-ctr{list-style:none;margin:0 0 10px;padding:0}.fpm-subc-ctr li{padding:4px 0}
.fpm-subc-livebar{position:sticky;top:8px;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px;padding:10px 14px;border-radius:12px;background:color-mix(in srgb,var(--fpm-primary,#2271b1) 12%,var(--fpm-surface,#fff));border:1px solid color-mix(in srgb,var(--fpm-primary,#2271b1) 35%,transparent);box-shadow:0 6px 18px rgba(0,0,0,.08);font-weight:600}
[data-subc-live-status].is-flash .fpm-subc-st,[data-subc-live-contract].is-flash{animation:fpm-subc-flash 1.6s ease}@keyframes fpm-subc-flash{0%,40%{box-shadow:0 0 0 4px color-mix(in srgb,#16a34a 35%,transparent)}100%{box-shadow:none}}
.fpm-subc-recap{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}.fpm-subc-recap label{display:flex;flex-direction:column;gap:3px;font-size:.8rem;color:var(--fpm-secondary,#646970)}.fpm-subc-recap input{padding:7px 10px;border:1px solid var(--fpm-field-bd,#8c8f94);border-radius:var(--fpm-radius,8px);background:var(--fpm-field,#fff);color:inherit;font:inherit}.fpm-subc-recap>.fpm-muted{padding-bottom:9px}
.fpm-subc-del{margin:6px 0 10px;padding-top:10px;border-top:1px dashed var(--fpm-border,#dcdcde)}
.fpm-subc-lock{margin:auto 0 0;padding-top:8px;font-size:.84rem;color:#008a20;font-weight:600}
.fpm-subc-lab{font-weight:600;margin:10px 0 6px}
.fpm-subc-addr{display:grid;grid-template-columns:minmax(110px,1fr) minmax(200px,3fr);gap:0 var(--fpm-gap,20px)}@media (max-width:600px){.fpm-subc-addr{grid-template-columns:1fr}}
.fpm-subc-dgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
.fpm-subc-dbox{border:1px solid var(--fpm-border,#dcdcde);border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:6px}
.fpm-subc-up{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:auto;padding-top:6px}
.fpm-subc-pick{position:relative;overflow:hidden;cursor:pointer}.fpm-subc-hide{position:absolute!important;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.fpm-subc-fname{font-size:.82rem;color:var(--fpm-secondary,#646970);overflow-wrap:anywhere}
.fpm-subc-expin{display:flex;flex-direction:column;gap:3px;font-size:.78rem;color:var(--fpm-secondary,#646970);flex-basis:100%}
.fpm-subc-expin input{padding:6px 8px;border:1px solid var(--fpm-field-bd,#8c8f94);border-radius:var(--fpm-radius,8px);max-width:200px}
.fpm-subc-rgpd{font-size:.86rem;color:var(--fpm-secondary,#646970)}
.fpm-subc-bar{position:sticky;bottom:0;z-index:5;display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;padding:12px 16px;border:1px solid var(--fpm-border,#dcdcde);border-radius:14px 14px 0 0;background:color-mix(in srgb,var(--fpm-surface,#fff) 94%,transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
