/* =========================================================
   icompta v2 : adaptations du thème Porto Admin
   Chargé en dernier (après _theme/css/theme.css et skins/icompta.css)
   ========================================================= */

:root {
	--ic-primary: #7c4b94;        /* violet du logo, assombri pour le contraste */
	--ic-primary-dark: #5f3a72;
	--ic-primary-light: #f3edf6;
	--ic-border: #ced4da;
	--bs-primary: #7c4b94;
	--bs-primary-rgb: 124, 75, 148;
	--bs-link-color: #7c4b94;
	--bs-link-color-rgb: 124, 75, 148;
	--bs-link-hover-color: #5f3a72;
	--bs-link-hover-color-rgb: 95, 58, 114;
}

/* ---------- page : fond blanc ---------- */
html, body, body.bodyw, section.body, .inner-wrapper, .content-body, .body-sign {
	background: #fff;
}
body, body.bodyw {
	font-family: "Poppins", Arial, sans-serif;
	font-size: 13px;
	height: auto;
}
/* barre du haut et titre de page : sombres (html.header-dark, comme layouts-dark-header du thème) */
.header .logo img { height: 38px; width: auto; }
.userbox .profile-info { margin-left: 0; }
.page-header h2 { border-bottom-color: var(--ic-primary); }
.icompta-page { overflow-x: auto; }
.content-body > .card { margin-bottom: 20px; border: 1px solid #e5e5e5; box-shadow: none; }

/* ---------- fonds gris écrits dans les tableaux (style="background-color: ...") ---------- */
[style*="background-color: #F8F8F8" i], [style*="background-color:#F8F8F8" i],
[style*="background-color: #F0F0F0" i], [style*="background-color:#F0F0F0" i] {
	background-color: #fff !important;
}
[style*="background-color: #EEEEEE" i], [style*="background-color:#EEEEEE" i] {
	background-color: var(--ic-primary-light) !important;   /* en-têtes de colonnes */
}

/* ---------- menu : pages d'un groupe ---------- */
.sidebar-left .nav-main ul.nav-children li a i { width: 18px; margin-right: 6px; text-align: center; opacity: .8; }

/* ---------- anciennes polices : celles du thème ---------- */
.txtn, .txtnn, .txtp, .txt, .titn, .txtnr, .txtt, .amenu, .amenus, .amenuf,
.bigtxtn, .bigtxtnn, .tn, .tnb, .tb, .mini-box-title {
	font-family: inherit;
}
.txtn, .txtp, .amenu { color: #555; }
.txtnr, .pxnr, .pxpr { color: #b02a37; }

a { font-family: inherit; color: var(--ic-primary); }
a:hover { color: var(--ic-primary-dark); }
.sidebar-left a, .header a { font-size: inherit; font-weight: inherit; }

/* ---------- tableaux d'icompta ---------- */
.tbl1 { background: #fff; }
.h  { border-top: 1px solid #dee2e6; }
.b  { border-bottom: 1px solid #dee2e6; }
.g  { border-left: 1px solid #dee2e6; }
.d  { border-right: 1px solid #dee2e6; }

/* ---------- champs sans classe Bootstrap ---------- */
input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):not([type=file]):not(.form-control),
select:not(.form-control):not(.form-select),
textarea:not(.form-control) {
	color: #444;
	background-color: #fff;
	border: 1px solid var(--ic-border);
	border-radius: 4px;
	font-family: inherit;
	font-size: 13px;
	padding: 1px 5px;
}
input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):not([type=file]):not(.form-control) {
	height: 26px;
}
select:not(.form-control):not(.form-select) { height: 26px; }
input:hover, textarea:hover, select:hover {
	color: #444;
	background-color: #fff;
	border-color: #b9a2c6;
}
input:focus, textarea:focus, select:focus {
	color: #444;
	background-color: #fff;
	border-color: var(--ic-primary);
	outline: 0;
	box-shadow: 0 0 0 2px rgba(124, 75, 148, .2);
}
.inputbad, .inputbad:hover, .inputbad:focus { background-color: #fde8e8; border-color: #dc3545; }
.inputcur { background: var(--ic-primary); color: #fff; border: 1px solid var(--ic-primary-dark); }
.form-group { margin-bottom: 1rem; }   /* classe Bootstrap 4 encore utilisée par mail.js */

/* ---------- boutons jQuery UI (.butr) ---------- */
.ui-button, .ui-button.ui-state-default {
	font-family: inherit;
	font-size: 13px;
	background: #fff;
	color: #444;
	border: 1px solid var(--ic-border);
	border-radius: 4px;
	padding: 5px 12px;
}
.ui-button:hover, .ui-button.ui-state-hover, .ui-button:focus {
	background: var(--ic-primary);
	border-color: var(--ic-primary);
	color: #fff;
}
.ui-button:hover .txtn, .ui-button:focus .txtn { color: #fff; }

/* ---------- fenêtres jQuery UI : au-dessus de l'en-tête et du menu fixes ---------- */
.ui-widget { font-family: inherit; font-size: 13px; }
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: inherit; font-size: 13px; }
.ui-dialog {
	z-index: 1100 !important;
	padding: 0;
	border: 0;
	border-radius: 6px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
.ui-dialog .ui-dialog-titlebar {
	background: var(--ic-primary);
	color: #fff;
	border: 0;
	border-radius: 6px 6px 0 0;
	padding: 10px 15px;
	font-weight: 500;
}
.ui-dialog .ui-dialog-titlebar-close,
.ui-dialog .ui-dialog-titlebar-close:hover,
.ui-dialog .ui-dialog-titlebar-close:focus {
	background: transparent; border: 0; box-shadow: none; opacity: .85;
}
.ui-dialog .ui-dialog-titlebar-close:hover { opacity: 1; }
.ui-dialog .ui-dialog-titlebar-close .ui-icon {
	background-image: url(../_theme/vendor/jquery-ui/images/ui-icons_ffffff_256x240.png);
}
.ui-dialog .ui-dialog-content { padding: 15px; }
.ui-dialog .ui-dialog-buttonpane { margin-top: 0; padding: 8px 15px; }
.ui-widget-overlay { z-index: 1090 !important; background: #000; opacity: .45; }
.ui-autocomplete, .ui-datepicker { z-index: 1200 !important; }
.ui-state-active, .ui-widget-content .ui-state-active { background: var(--ic-primary); border-color: var(--ic-primary); color: #fff; }

/* anciennes fenêtres maison (openpop) */
#popbox, #popbox3 { z-index: 1100 !important; }
#filter { z-index: 1090 !important; }

/* ---------- page de connexion ---------- */
.body-sign .center-sign .logo img { height: 90px; width: auto; }
.body-sign .card-sign .card-title-sign .title { background: var(--ic-primary); }
.body-sign .card-sign .card-body { border-top-color: var(--ic-primary); }

/* ---------- téléphone ---------- */
@media (max-width: 767px) {
	.ui-dialog { max-width: 96vw; }
}

/* =========================================================
   Page Documents (Bootstrap 5)
   ========================================================= */
.doc-filtres { background: #fcfbfd; }
.doc-filtres .form-label { color: #666; font-weight: 500; }
.doc-liste { font-size: 13px; }
.doc-liste thead th { font-weight: 600; color: #555; white-space: nowrap; }
.doc-tri i { color: #aaa; font-size: 11px; padding: 0 1px; }
.doc-tri i:hover { color: var(--ic-primary); }
.doc-liste .doc-num { color: var(--ic-primary); font-weight: 600; text-decoration: none; }
.doc-liste .doc-num:hover { text-decoration: underline; }
.doc-liste .doc-ico { font-size: 16px; color: #777; }
.doc-liste .doc-ico:hover { color: var(--ic-primary); }
.doc-liste .doc-actions i { font-size: 16px; color: #777; margin-left: 10px; }
.doc-liste .doc-actions i:hover { color: var(--ic-primary); }
.doc-liste .doc-actions i.doc-del:hover { color: #dc3545; }
.doc-liste ._tdpaya img, .doc-liste ._tdpays img { vertical-align: -3px; margin-left: 2px; }
.doc-liste tr.doc-actions-sel td { background: #fcfbfd; border-top: 2px solid #e5e5e5; padding: 8px; }
.doc-liste tr.doc-pages td { border-bottom: 0; padding-top: 12px; }
.form-check-input:checked { background-color: var(--ic-primary); border-color: var(--ic-primary); }

/* pagination Bootstrap (toutes les listes) */
.pagination { --bs-pagination-color: var(--ic-primary); --bs-pagination-hover-color: var(--ic-primary-dark);
	--bs-pagination-active-bg: var(--ic-primary); --bs-pagination-active-border-color: var(--ic-primary);
	--bs-pagination-focus-box-shadow: 0 0 0 .2rem rgba(124, 75, 148, .25); }

/* =========================================================
   Fenêtres Bootstrap (ic_modal et #madmodal) : même aspect que le thème
   ========================================================= */
.modal-header { background: var(--ic-primary); color: #fff; border-bottom: 0; padding: .75rem 1rem; }
.modal-header .modal-title { color: #fff; font-weight: 500; font-size: 1rem; }
.modal-content { border: 0; border-radius: 6px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.modal-footer { background: #fafafa; border-top: 1px solid #eee; padding: .5rem 1rem; }

/* ---------- fenêtre « mode de paiement » ---------- */
.doc-pay-recap { background: var(--ic-primary-light); border: 1px solid #e6d9ec; }
.doc-pay-num { color: var(--ic-primary-dark); }
.doc-pay-total { font-size: 1.5rem; font-weight: 600; color: #333; line-height: 1.2; }
.doc-pay-titre { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #888; margin-bottom: 4px; }

/* ---------- suggestions (autocomplete jQuery UI) ---------- */
.ui-autocomplete.ui-menu {
	min-width: 360px; max-width: 95vw; max-height: 320px; overflow-y: auto; overflow-x: hidden;
	padding: 4px 0; background: #fff; border: 1px solid #ddd; border-radius: 6px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .12); font-size: 13px;
}
.ui-autocomplete .ui-menu-item { border-bottom: 1px solid #f2f2f2; }
.ui-autocomplete .ui-menu-item:last-child { border-bottom: 0; }
.ui-autocomplete .ui-menu-item-wrapper { padding: 6px 12px; margin: 0; border: 0; border-radius: 0; }
.ui-autocomplete .ui-menu-item-wrapper.ui-state-active {
	background: var(--ic-primary-light); color: #333; border: 0; margin: 0;
}
.ui-autocomplete .ac-l1 { display: flex; justify-content: space-between; gap: 12px; }
.ui-autocomplete .ac-nom { font-weight: 600; color: #333; }
.ui-autocomplete .ac-clef { color: var(--ic-primary); font-size: 12px; white-space: nowrap; }
.ui-autocomplete .ac-l2 { color: #888; font-size: 12px; }

/* =========================================================
   Titres des fenêtres : centrés
   ========================================================= */
.modal-header { align-items: center; }
.modal-header .modal-title {
	flex: 1; text-align: center; margin: 0;
	padding-left: 1.5em;               /* largeur de la croix : titre au vrai milieu */
	line-height: 1.4; letter-spacing: normal; font-weight: 500;
}
.ui-dialog .ui-dialog-titlebar { text-align: center; }
.ui-dialog .ui-dialog-title {
	float: none; display: block; width: auto; margin: 0 1.5em;
	text-align: center; letter-spacing: normal; font-weight: 500;
}

/* =========================================================
   Calendrier (xdsoft datetimepicker) : couleurs violettes
   ========================================================= */
.xdsoft_datetimepicker {
	font-family: inherit; border: 1px solid #ddd !important; border-radius: 6px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .12); padding: 6px 8px 8px 0;
}
.xdsoft_datetimepicker .xdsoft_label { font-weight: 600; color: #444; background: transparent; }
.xdsoft_datetimepicker .xdsoft_label > .xdsoft_select { border-color: #ddd; border-radius: 4px; }
.xdsoft_datetimepicker .xdsoft_calendar td,
.xdsoft_datetimepicker .xdsoft_calendar th {
	background: #fff; border: 0; border-radius: 4px; text-align: center; color: #555; height: 28px;
}
.xdsoft_datetimepicker .xdsoft_calendar th { background: #fff; color: #999; font-weight: 600; font-size: 11px; }
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_other_month { color: #bbb; }
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_today { color: var(--ic-primary); font-weight: 700; }

/* jour choisi, heure choisie, mois/année choisis */
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_default,
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current,
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box > div > div.xdsoft_current,
.xdsoft_datetimepicker .xdsoft_label > .xdsoft_select > div > .xdsoft_option.xdsoft_current {
	background: var(--ic-primary); color: #fff; box-shadow: none; font-weight: 600;
}

/* survol (au lieu de l'orange) */
.xdsoft_datetimepicker .xdsoft_calendar td:hover,
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box > div > div:hover,
.xdsoft_datetimepicker .xdsoft_label > .xdsoft_select > div > .xdsoft_option:hover {
	background: var(--ic-primary-light) !important; color: var(--ic-primary) !important; box-shadow: none !important;
}
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current:hover {
	background: var(--ic-primary-dark) !important; color: #fff !important;
}

/* =========================================================
   Page Clients (Bootstrap 5)
   ========================================================= */
.cli-liste { font-size: 13px; }
.cli-liste thead th { font-weight: 600; color: #555; white-space: nowrap; }
.cli-liste .cli-ico { font-size: 16px; color: #777; }
.cli-liste .cli-ico:hover { color: var(--ic-primary); }
.cli-liste .cli-clef { color: var(--ic-primary); font-weight: 600; text-decoration: none; }
.cli-liste .cli-clef:hover { text-decoration: underline; }
.cli-liste ._email a { color: #555; text-decoration: none; }
.cli-liste ._email a:hover { color: var(--ic-primary); text-decoration: underline; }
.cli-liste .cli-mini { width: 14px; margin-right: 5px; color: #aaa; font-size: 11px; }
.cli-titre { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
	color: var(--ic-primary); border-bottom: 1px solid #eee; padding-bottom: 3px; margin-bottom: 8px; }
.cli-fiche .form-label { color: #666; }

/* =========================================================
   Infobulles au survol (qTip) : bulle sombre pour les icônes,
   carte blanche pour les détails (classe qtw : lignes d'une facture, adresse d'un client)
   ========================================================= */
.qtip.qtip-light {
	background: #2e353e; border: 1px solid #2e353e; color: #fff; border-radius: 4px;
	font-family: inherit; font-size: 12px; line-height: 1.4; box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
}
.qtip.qtip-light .qtip-content { padding: 4px 9px; }
.qtip.qtip-light .qtip-content b { font-weight: 500; }

.qtip.qtip-light.qtw {
	background: #fff; border: 1px solid #ddd; color: #444; border-radius: 6px;
	max-width: 620px; box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}
.qtip.qtip-light.qtw .qtip-content { padding: 8px 10px; }
.qtip.qtw .table { margin: 0; font-size: 12px; }
.qtip.qtw .table th { font-weight: 600; color: #555; white-space: nowrap; }

/* =========================================================
   Page Articles (Bootstrap 5)
   ========================================================= */
.art-filtres { background: #fcfbfd; }
.art-filtres .form-label { color: #666; font-weight: 500; }
.art-liste { font-size: 13px; }
.art-liste thead th { font-weight: 600; color: #555; white-space: nowrap; }
.art-liste .art-ico { font-size: 16px; color: #777; }
.art-liste .art-ico:hover { color: var(--ic-primary); }
.art-liste .art-clef { color: var(--ic-primary); font-weight: 600; text-decoration: none; }
.art-liste .art-clef:hover { text-decoration: underline; }
.art-liste .art-actions i { font-size: 15px; color: #888; margin-left: 10px; }
.art-liste .art-actions i.clic:hover { color: var(--ic-primary); }
.art-fiche .form-label { color: #666; }
.art-liens { font-size: 12px; }
.art-liens ._qu { padding: 1px 4px; }

/* =========================================================
   Page Mouvements (Bootstrap 5)
   ========================================================= */
.mvt-filtres { background: #fcfbfd; }
.mvt-filtres .form-label { color: #666; font-weight: 500; }
.mvt-liste { font-size: 13px; }
.mvt-liste thead th { font-weight: 600; color: #555; white-space: nowrap; }
.mvt-liste .mvt-ico { font-size: 15px; color: #777; }
.mvt-liste .mvt-ico:hover { color: var(--ic-primary); }
.mvt-liste .mvt-num { color: var(--ic-primary); font-weight: 600; text-decoration: none; }
.mvt-liste .mvt-num:hover { text-decoration: underline; }
.mvt-liste tr.mvt-total td { background: var(--ic-primary-light); font-weight: 600; border-top: 2px solid #e6d9ec; }

/* =========================================================
   Page Chiffres
   ========================================================= */
.chf-periode { background: #fcfbfd; }
.chf-periode .form-label { color: #666; font-weight: 500; }
.chf-carte { background: #fff; }
.chf-titre { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #888; margin-bottom: 4px; }
.chf-grand { font-size: 1.4rem; font-weight: 600; color: #333; margin-bottom: 6px; white-space: nowrap; }
.chf-unite { font-size: .75rem; font-weight: 500; color: #999; }
.chf-apayer .chf-grand { color: #b02a37; }
.chf-arecup .chf-grand { color: #198754; }
.chf-section { font-size: 1rem; font-weight: 600; color: var(--ic-primary-dark); border-bottom: 2px solid var(--ic-primary-light);
	padding-bottom: 6px; margin: 8px 0 12px; }
.chf-resume { font-size: 13px; }
.chf-gtitre { font-size: 12px; font-weight: 600; color: #666; margin-bottom: 6px; }
.chf-graph { position: relative; height: 340px; }
.chf-table { font-size: 13px; }
.chf-table thead th { font-weight: 600; color: #555; white-space: nowrap; }
.chf-tri { color: #ccc; font-size: 11px; }
.chf-tri-on { color: var(--ic-primary); }
.chf-futur td { color: #aaa; }
.btn-outline-primary { --bs-btn-color: var(--ic-primary); --bs-btn-border-color: var(--ic-primary);
	--bs-btn-hover-bg: var(--ic-primary); --bs-btn-hover-border-color: var(--ic-primary);
	--bs-btn-active-bg: var(--ic-primary); --bs-btn-active-border-color: var(--ic-primary); --bs-btn-active-color: #fff; }

/* =========================================================
   Page Paramètres
   ========================================================= */
.par-compte { background: #fcfbfd; font-size: 13px; }
.par-compte .badge { font-weight: 500; font-size: 12px; }
.par-onglets .nav-link { color: #555; font-size: 13px; }
.par-onglets .nav-link.active { color: var(--ic-primary); font-weight: 600; }
.par-onglets .nav-link:hover { color: var(--ic-primary); }
.tab-content .form-label { color: #666; }
.form-switch .form-check-input:checked { background-color: var(--ic-primary); border-color: var(--ic-primary); }

/* =========================================================
   Page Nouveau (facturer)
   ========================================================= */
.ndoc-entete-doc { background: #fcfbfd; }
.ndoc-entete-doc .form-label, .ndoc-entete-doc .form-check-label { color: #666; font-weight: 500; }
.ndoc-eid { cursor: pointer; color: var(--ic-primary); }
.ndoc-lignes { font-size: 13px; }
.ndoc-lignes tr.ndoc-entete th { background: #f8f9fa; font-weight: 600; color: #555; white-space: nowrap; border-bottom: 2px solid #dee2e6; }
.ndoc-lignes tr.ndoc-ligne td { padding: 3px 4px; }
.ndoc-lignes .ndoc-clef { width: 130px; }
.ndoc-lignes .ndoc-tva { width: 60px; }
.ndoc-lignes .ndoc-mt { width: 90px; }
.ndoc-lignes .ndoc-qu { width: 60px; }
.ndoc-lignes .ndoc-del { color: #aaa; font-size: 15px; }
.ndoc-lignes .ndoc-del:hover { color: #dc3545; }
.ndoc-lignes .ndoc-func i { color: #999; margin: 0 3px; font-size: 13px; }
.ndoc-lignes .ndoc-func i.clic:hover { color: var(--ic-primary); }
.ndoc-lignes tr.ndoc-pied td { background: #fcfbfd; border-bottom: 0; padding-top: 8px; }
.ndoc-lignes ._clef.inputbad { border-color: #dc3545; background: #fde8e8; }
.ndoc-totaux { background: var(--ic-primary-light); }
#madmodal .modal-footer { gap: 6px; }

/* Page Nouveau : lecture seule après enregistrement */
#ndoc_verrou_msg { font-size: 14px; }
.ndoc-verrou .ndoc-del, .ndoc-verrou .ndoc-func, .ndoc-verrou #trlast button { display: none; }
.ndoc-verrou #diveid { pointer-events: none; opacity: .5; }
.ndoc-verrou .form-control:disabled, .ndoc-verrou .form-select:disabled { background-color: #f8f9fa; color: #333; }

/* =========================================================
   Gestion IT (timesheets, tarifs)
   ========================================================= */
.gt-entete, .gt-saisie { background: #fcfbfd; }
.gt-entete .form-label, .gt-saisie .form-label { color: #666; font-weight: 500; }
.gt-saisie.gt-modif { border-color: var(--ic-primary) !important; box-shadow: 0 0 0 2px var(--ic-primary-light); }
#gt_nature_grp .btn { font-size: 12px; }
.gt-carte { background: #fff; }
.gt-carte-val { font-size: 20px; font-weight: 600; }
.gt-c-ok  { border-left: 4px solid #2e9e5b !important; }
.gt-c-bas { border-left: 4px solid #e0a100 !important; }
.gt-c-neg { border-left: 4px solid #dc3545 !important; }
.gt-lignes { font-size: 13px; }
.gt-lignes thead th { background: #f8f9fa; color: #555; font-weight: 600; white-space: nowrap; border-bottom: 2px solid #dee2e6; }
.gt-lignes .gt-lib { font-weight: 500; }
.gt-lignes .gt-detail { color: #777; font-size: 12px; white-space: pre-line; }
.gt-lignes .gt-actions i { color: #999; margin-left: 8px; font-size: 14px; }
.gt-lignes .gt-actions i:hover { color: var(--ic-primary); }
.gt-lignes .gt-actions i.gt-del:hover { color: #dc3545; }
.gt-lignes tr.gt-tr-rech td { background: #f1faf4; }
.gt-lignes tr.gt-report td, .gt-lignes tr.gt-total td { background: #f8f9fa; font-weight: 600; }
.gt-lignes .gt-doc { color: var(--ic-primary); text-decoration: none; }
.gt-plus { color: #2e9e5b; font-weight: 600; }
.gt-neg { color: #dc3545; font-weight: 600; }
.badge.gt-b-prest { background: var(--ic-primary-light); color: var(--ic-primary-dark, #5f3a72); font-weight: 500; }
.badge.gt-b-abo   { background: #e7f1fb; color: #1d5d99; font-weight: 500; }
.badge.gt-b-rech  { background: #dff3e6; color: #1f7a45; font-weight: 500; }
.badge.gt-b-ajust { background: #eee; color: #555; font-weight: 500; }
.badge.gt-b-maj   { background: #fff1d6; color: #8a5a00; font-weight: 500; }
.badge.gt-b-afact { background: #fff1d6; color: #8a5a00; font-weight: 500; }
.gt-bloc .gt-titre { color: var(--ic-primary); font-weight: 600; margin-bottom: 4px; }
.gt-grille { font-size: 13px; }
.gt-grille thead th { background: #f8f9fa; color: #555; font-weight: 600; white-space: nowrap; }
.gt-grille .gt-f-lib { min-width: 240px; }
.gt-grille .gt-f-mode { width: 115px; }
.gt-grille .gt-f-prix1, .gt-grille .gt-f-prix2 { width: 80px; }
.gt-grille .gt-f-bloc1, .gt-grille .gt-f-tranche, .gt-grille .gt-f-pct { width: 70px; }
.gt-grille .gt-f-art { width: 95px; }
.gt-grille .gt-f-ordre { width: 60px; }
/* colonnes à largeur fixe : la colonne Nom prend le reste */
.gt-grille td:has(> .gt-f-mode, > .gt-f-prix1, > .gt-f-prix2, > .gt-f-bloc1, > .gt-f-tranche, > .gt-f-pct, > .gt-f-art, > .gt-f-ordre, .gt-f-actif) { width: 1%; }
.gt-grille tr.gt-nouveau td { background: #fcfbfd; }
.gt-grille tr.gt-inactif td { opacity: .55; }
.gt-grille tr.gt-modifie td { background: #fff8e6; }
.gt-grille .gt-grise { color: #999; }
.gt-grille tr.gt-neg-actif td { background: #f7f2fa; }

/* Gestion IT - À facturer */
.gtf-cli { background: #fff; transition: border-color .15s; }
.gtf-cli.gtf-actif { border-color: var(--ic-primary) !important; box-shadow: inset 3px 0 0 var(--ic-primary); }
.gtf-table { font-size: 13px; }
.gtf-table td { border-bottom-color: #f1f1f1; }
