/* Tuning — métal, carbone, mécanique. Toute la variante est isolée par thème. */
@font-face{font-family:"Bennys Tuning Segment";src:url("bennys-tuning-segment.woff2?v=20261018-2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
.tuning-only{display:none!important}
.site-theme-swatch-tuning{background:linear-gradient(135deg,#eaff9a,#b3e51b);border-radius:2px;transform:skew(-12deg)}
html[data-bennys-theme="tuning"]{
  color-scheme:dark;--bg:#10130e;--panel:#191c16;--panel-2:#24291f;--panel-3:#30382a;
  --text:#f2f5e9;--muted:#b4bba8;--amber:#d6ff51;--amber-2:#e9ffb0;
  --red:#ff6856;--red-2:#ba3c2e;--green:#75dc9b;--blue:#89bfe2;
  --line:rgba(204,219,171,.25);--line-soft:rgba(204,219,171,.16);
  background:#10130d;scrollbar-color:#a7bd58 #10130d;
}
html[data-bennys-theme="tuning"] body:is(.app-body,.login-body){
  --ui-bg:#11150e;--ui-sidebar:#14190f;--ui-surface:linear-gradient(145deg,rgba(33,39,27,.96),rgba(12,16,10,.97));
  --ui-raised:rgba(199,222,158,.065);--ui-input:#0b100a;--ui-line:rgba(190,206,160,.25);
  --ui-accent:#d6ff51;--ui-accent-soft:linear-gradient(110deg,rgba(127,161,32,.24),rgba(32,40,21,.84));
  --ui-text:#f2f5e9;--ui-muted:#b4bba8;--ui-radius:10px;--ui-glass:rgba(13,19,10,.91);
  --surface-main:rgba(16,21,12,.95);--surface-raised:rgba(29,35,23,.95);--surface-soft:rgba(207,233,164,.06);
  --border-main:rgba(190,206,160,.25);--border-warm:rgba(213,255,81,.45);--shadow-soft:0 12px 26px rgba(0,0,0,.36);
  color:var(--text);background-color:#10130d;font-family:var(--site-font);font-size:15px;
}
html[data-bennys-theme="tuning"] body:is(.app-body,.login-body)::before{
  background:linear-gradient(90deg,rgba(4,8,3,.45),rgba(4,7,3,.16) 50%,rgba(4,7,3,.3)),url("bennys-tuning-workshop-photo.jpg") 60% center/cover no-repeat;
  opacity:1;filter:none;transform:none;
}
html[data-bennys-theme="tuning"] body.app-body::after,
html[data-bennys-theme="tuning"] body.login-body::after{
  content:"";background:linear-gradient(180deg,rgba(3,6,2,.13),rgba(3,6,2,.42)),radial-gradient(ellipse at 45% 35%,transparent 35%,rgba(0,0,0,.34));opacity:1;pointer-events:none;
}
html[data-bennys-theme="tuning"] .tuning-only{display:block!important}
html[data-bennys-theme="tuning"] .tuning-part{fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
html[data-bennys-theme="tuning"] body.app-body .sidebar{
  border-right:1px solid rgba(214,255,81,.42);
  background:linear-gradient(180deg,rgba(7,13,4,.66),rgba(8,13,5,.9)),url("bennys-tuning-workshop-photo.jpg") 19% center/cover;
  box-shadow:inset -2px 0 0 rgba(193,220,156,.08),8px 0 30px rgba(0,0,0,.34);
}
html[data-bennys-theme="tuning"] body.app-body .sidebar::after{background:repeating-linear-gradient(135deg,rgba(0,0,0,.08) 0 3px,transparent 3px 7px);border:0;pointer-events:none}
html[data-bennys-theme="tuning"] .brand-badge{content:url("bennys-tuning-favicon.svg");width:38px;height:38px;min-width:38px;background:transparent;border:0;border-radius:10px}
html[data-bennys-theme="tuning"] .brand-row h1{font-family:var(--site-font);font-style:italic;letter-spacing:-.045em}
html[data-bennys-theme="tuning"] .brand-row p{color:#d6ff51}
html[data-bennys-theme="tuning"] body.app-body .user-box{background:linear-gradient(140deg,rgba(37,46,27,.9),rgba(8,13,5,.93));border-color:#475038;border-left-color:var(--amber);box-shadow:inset 0 1px 0 rgba(224,238,191,.1)}
html[data-bennys-theme="tuning"] .user-avatar{border-color:#d6ff51}
html[data-bennys-theme="tuning"] body.app-body .nav-group-label{font-size:10px;letter-spacing:.15em;color:#c0ccae}
html[data-bennys-theme="tuning"] body.app-body .side-nav .nav-icon{display:none}
html[data-bennys-theme="tuning"] .tuning-nav-part{width:24px;height:24px;flex:0 0 24px;color:#bfcca9}
html[data-bennys-theme="tuning"] body.app-body .side-nav a{
  min-height:46px;background:linear-gradient(115deg,rgba(37,44,29,.82),rgba(11,17,7,.84));border:1px solid #39422d;border-left:4px solid #38422b;
  border-radius:5px;color:#dce4d0;font-size:14px;font-weight:600;box-shadow:inset 0 1px 0 rgba(223,237,195,.06);backdrop-filter:blur(4px);
}
html[data-bennys-theme="tuning"] body.app-body .side-nav a:hover{background:linear-gradient(115deg,rgba(71,88,38,.72),rgba(15,22,9,.9));border-color:#8ca344;color:white}
html[data-bennys-theme="tuning"] body.app-body .side-nav a.active{background:linear-gradient(110deg,rgba(154,195,42,.3),rgba(36,48,17,.94));border-color:#829d32;border-left-color:#d6ff51;color:#efffce;box-shadow:inset 0 0 14px rgba(172,216,51,.08)}
html[data-bennys-theme="tuning"] .side-nav a.active .tuning-nav-part{color:#d6ff51}
html[data-bennys-theme="tuning"] body.app-body .logout{background:linear-gradient(180deg,#242a1e,#11170b);border-color:#515f3e;color:#dce4cf}
html[data-bennys-theme="tuning"] body.app-body .side-logo-art{filter:drop-shadow(0 6px 12px rgba(0,0,0,.7));opacity:.92}
html[data-bennys-theme="tuning"] body.app-body .topbar{
  border:1px solid #4a553b;border-left:4px solid #d6ff51;border-radius:7px;
  background:radial-gradient(circle at 13px 13px,#a2ad8f 0 2px,#242c1b 2.3px 4px,transparent 4.5px),radial-gradient(circle at calc(100% - 13px) 13px,#a2ad8f 0 2px,#242c1b 2.3px 4px,transparent 4.5px),linear-gradient(120deg,rgba(37,45,29,.96),rgba(7,13,4,.94));
  box-shadow:inset 0 1px 0 rgba(217,231,190,.15),0 8px 24px rgba(0,0,0,.3);
}
html[data-bennys-theme="tuning"] body.app-body .topbar h2{font-family:var(--site-font);font-weight:700;font-style:italic;letter-spacing:-.04em;text-transform:uppercase}
html[data-bennys-theme="tuning"] .site-theme-switcher-options{background:#0c1108;border-color:#4e5b37}
html[data-bennys-theme="tuning"] .site-theme-switcher-options [data-site-theme-choice="classic"],
html[data-bennys-theme="tuning"] .site-theme-switcher-options [data-site-theme-choice="neon"]{border-color:transparent;background:transparent;color:#bfc9af;box-shadow:none}
html[data-bennys-theme="tuning"] .site-theme-switcher-options [data-site-theme-choice="tuning"]{color:#efffd3;border-color:#a5c548;background:linear-gradient(120deg,#3c5022,#1e2c0c);box-shadow:inset 0 1px 0 rgba(214,255,81,.15)}
html[data-bennys-theme="tuning"] body.app-body :is(.week-hero,.week-visual){
  border:1px solid #626e4a;border-radius:8px;
  background:linear-gradient(90deg,rgba(7,14,3,.9),rgba(8,14,4,.65) 45%,rgba(3,8,1,.18)),url("bennys-tuning-workshop-photo.jpg") 70% 53%/cover;
  box-shadow:inset 0 1px 0 rgba(230,244,203,.1),0 12px 26px rgba(0,0,0,.28);
}
html[data-bennys-theme="tuning"] body.app-body .week-hero::before{content:none}
html[data-bennys-theme="tuning"] body.app-body .week-hero::after{background:linear-gradient(0deg,rgba(1,5,0,.15),transparent)}
html[data-bennys-theme="tuning"] body.app-body .week-hero h3{font-family:var(--site-font);font-style:italic;letter-spacing:-.025em}
html[data-bennys-theme="tuning"] body.app-body .week-chip{background:linear-gradient(180deg,rgba(41,49,31,.96),rgba(9,16,4,.97));border-color:#53613d;border-radius:5px}
html[data-bennys-theme="tuning"] body.app-body .week-chip.active{background:linear-gradient(120deg,#435c19,#192b07);border-color:#d6ff51;color:#e9ffb0}
html[data-bennys-theme="tuning"] body.app-body .workspace-navigation{border:1px solid #4b5835;border-radius:7px;background:linear-gradient(135deg,rgba(34,42,24,.97),rgba(8,15,4,.96));box-shadow:inset 0 1px 0 rgba(230,244,203,.08)}
html[data-bennys-theme="tuning"] body.app-body .workspace-tabs button{font-family:var(--site-font);letter-spacing:.025em;border-radius:4px;font-size:13px}
html[data-bennys-theme="tuning"] body.app-body .workspace-tabs button[aria-selected="true"]{border:1px solid #778c37;background:linear-gradient(120deg,rgba(139,177,40,.28),rgba(34,48,11,.9));color:#e5ffb1}
html[data-bennys-theme="tuning"] body.app-body .main :is(.panel,.dashboard-grid article,.society-finance-grid article,.tutorial-card,.doc-card,.summary-card,.configuration-hero,.config-group,.profile-card,.partner-edit-card,.society-salary-card,.team-status-card,.employee-document-group,.invoice-summary,.invoice-hero,.invoice-service-picker,.invoice-section,.invoice-column,.garage-config-landing,.garage-config-tile,.garage-margin-group-card,.tombola-prize-card,.rules-document,.rules-sidebar,.rule-chapter){
  background:repeating-linear-gradient(135deg,rgba(216,226,196,.018) 0 2px,transparent 2px 6px),linear-gradient(145deg,rgba(35,39,30,.97),rgba(10,14,8,.97));
  border-top-color:#65704f;border-right-color:#3b462b;border-bottom-color:#29331d;border-radius:8px;
  box-shadow:inset 0 1px 0 rgba(228,239,202,.1),inset 0 -1px 0 rgba(0,0,0,.7),0 10px 20px rgba(0,0,0,.25);
}
html[data-bennys-theme="tuning"] body.app-body .main :is(.panel-head,.config-group-summary,.garage-dialog-head,.society-collapsible-summary){border-bottom-color:#4b5638;background:linear-gradient(180deg,rgba(84,96,63,.16),rgba(5,12,0,.12));}
html[data-bennys-theme="tuning"] body.app-body .main .panel-head h3{font-family:var(--site-font);font-size:17px;font-weight:600}
html[data-bennys-theme="tuning"] .tuning-panel-part{width:30px;height:30px;flex:0 0 30px;color:#a5ba76;margin-left:auto}
html[data-bennys-theme="tuning"] body.app-body .main .panel-head:has(.tuning-panel-part){padding-top:15px;padding-bottom:15px}
html[data-bennys-theme="tuning"] body.app-body .main .dashboard-grid article{border-left-color:#bacf85}
html[data-bennys-theme="tuning"] body.app-body .main .dashboard-grid article.tone-income{border-left-color:var(--green)}
html[data-bennys-theme="tuning"] body.app-body .main .dashboard-grid article.tone-expense{border-left-color:var(--red)}
html[data-bennys-theme="tuning"] body.app-body .main .dashboard-grid article>span{color:#c7d2b3;letter-spacing:.06em;font-size:11px;font-weight:600;text-transform:uppercase}
html[data-bennys-theme="tuning"] body.app-body .main .dashboard-grid article>small{font-size:11px;font-weight:400}
html[data-bennys-theme="tuning"] .tuning-money{font-family:"Bennys Tuning Segment",Consolas,monospace!important;font-weight:400!important;font-variant-numeric:normal;letter-spacing:.015em;line-height:1.3;white-space:nowrap}
html[data-bennys-theme="tuning"] .main .dashboard-grid article>.tuning-money{color:#f2d178;font-size:30px;text-shadow:0 0 10px rgba(255,194,58,.12)}
html[data-bennys-theme="tuning"] .main .dashboard-grid article.tone-expense>.tuning-money{color:#ffab86}
html[data-bennys-theme="tuning"] .main .dashboard-grid article.tone-income>.tuning-money{color:#c6ec9a}
/* Compteurs compacts dans la même grille et le même ordre que Modern/Néon. */
html[data-bennys-theme="tuning"] body.app-body .main .employee-kpis{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;align-items:stretch}
/* Verre fumé : laisser passer l'atelier plutôt que dessiner sept blocs noirs. */
html[data-bennys-theme="tuning"] body.app-body .main .employee-kpis>article{
  background:repeating-linear-gradient(135deg,rgba(216,226,196,.008) 0 2px,transparent 2px 6px),linear-gradient(145deg,rgba(26,33,21,.56),rgba(10,17,8,.64));
  border-top-color:rgba(201,219,171,.14);border-right-color:rgba(201,219,171,.08);border-bottom-color:rgba(201,219,171,.08);border-left-color:rgba(186,207,133,.5);border-radius:12px;
  box-shadow:inset 0 1px 0 rgba(228,239,202,.035);backdrop-filter:blur(10px) saturate(.8);
}
html[data-bennys-theme="tuning"] body.app-body .main .employee-kpis>article.tone-expense{border-left-color:var(--red)}
html[data-bennys-theme="tuning"] body.app-body .main .employee-kpis>article.tone-income{border-left-color:var(--green)}
html[data-bennys-theme="tuning"] body.app-body .main .employee-kpis>article>small{color:#d0d8c3}
html[data-bennys-theme="tuning"] body.app-body .main .employee-kpis .tuning-gauge-card{display:grid;grid-template-rows:18px 128px minmax(34px,auto) minmax(24px,auto);grid-template-columns:minmax(0,1fr);grid-column:auto;order:0;align-content:start;text-align:center;padding:12px;min-height:232px;isolation:isolate;container-type:inline-size}
html[data-bennys-theme="tuning"] .employee-kpis .tuning-gauge-card>span{grid-column:1;grid-row:1;padding-bottom:5px}
html[data-bennys-theme="tuning"] .employee-kpis .tuning-gauge-card>.tuning-dial{grid-column:1;grid-row:2;width:128px;aspect-ratio:1;justify-self:center;align-self:center}
html[data-bennys-theme="tuning"] body.app-body .main .employee-kpis .tuning-gauge-card>strong{grid-column:1;grid-row:2;align-self:center;justify-self:center;z-index:1;margin:44px 0 0;padding:3px 5px;max-width:96%;border:1px solid transparent;border-radius:3px;background:transparent;font-size:clamp(14px,4.5cqi,17px);line-height:1.2;color:#f9ffea;text-shadow:0 0 12px rgba(209,255,157,.13);pointer-events:none}
html[data-bennys-theme="tuning"] .employee-kpis .tuning-gauge-card>small{grid-column:1;grid-row:3;padding:4px 0 0;max-width:38ch;justify-self:center}
html[data-bennys-theme="tuning"] .employee-kpis .tuning-gauge-card>.pay-state{grid-column:1;grid-row:4;justify-self:center;margin-top:0}
html[data-bennys-theme="tuning"] body.app-body .main .employee-kpis .tuning-aux-card{grid-column:auto;order:0;position:relative;min-height:232px;padding:18px 20px}
html[data-bennys-theme="tuning"] .tuning-aux-part{position:absolute;right:18px;bottom:16px;width:44px;height:44px;color:#afc67e;opacity:.26}
html[data-bennys-theme="tuning"] .tuning-dial-bezel{fill:#090d07;stroke:#768063;stroke-width:3}
html[data-bennys-theme="tuning"] .tuning-dial-face{fill:#141b0f;stroke:#2d3a20;stroke-width:4}
html[data-bennys-theme="tuning"] .tuning-dial-track{fill:none;stroke:#3e4b2e;stroke-width:4;stroke-linecap:round}
html[data-bennys-theme="tuning"] .tuning-dial-redline{fill:none;stroke:#ef6950;stroke-width:5;stroke-linecap:round}
html[data-bennys-theme="tuning"] .tuning-dial-ticks line{stroke:#8d9d74;stroke-width:1}
html[data-bennys-theme="tuning"] .tuning-dial-ticks .is-major{stroke:#e1eccb;stroke-width:2}
html[data-bennys-theme="tuning"] .tuning-dial-ticks text{fill:#c1cea9;stroke:none;font:10px var(--site-font)}
html[data-bennys-theme="tuning"] .tuning-dial-unit{fill:#a5b58a;font:9px var(--site-font);letter-spacing:2px}
html[data-bennys-theme="tuning"] .tuning-dial-needle{transform:rotate(var(--tuning-angle,135deg));transform-origin:120px 120px;transition:transform 500ms cubic-bezier(.22,.61,.36,1)}
html[data-bennys-theme="tuning"] .tuning-dial-needle path{fill:#ff7659}
html[data-bennys-theme="tuning"] .tuning-dial-hub{fill:#1d2614;stroke:#cad5b7;stroke-width:2}
html[data-bennys-theme="tuning"] .tuning-dial-pin{fill:#e1eacb}
html[data-bennys-theme="tuning"] .tuning-mini-gauge{display:grid;grid-template-columns:minmax(0,1fr) 110px;grid-template-rows:auto auto;align-items:center;min-height:110px;padding-top:8px}
html[data-bennys-theme="tuning"] .tuning-mini-gauge>span{grid-column:1;grid-row:1}
html[data-bennys-theme="tuning"] .tuning-mini-gauge>strong{grid-column:1;grid-row:2;font-size:30px;color:#e8f2cf}
html[data-bennys-theme="tuning"] .tuning-mini-gauge>.tuning-dial{grid-column:2;grid-row:1/3;width:110px;height:110px}
html[data-bennys-theme="tuning"] .tuning-mini-gauge .tuning-dial-unit{font-size:15px}
/* Afficheurs ambrés : une vraie police numérique, le texte métier est conservé. */
html[data-bennys-theme="tuning"] body.app-body .main .invoice-summary .summary-card{border:1px solid #7c754e;background:linear-gradient(180deg,#1b2015,#080d05);border-radius:8px;box-shadow:inset 0 2px 0 #545c43,0 12px 28px rgba(0,0,0,.45);padding-top:22px}
html[data-bennys-theme="tuning"] .invoice-summary .summary-card>span:first-child{display:block;padding:7px 10px;background:linear-gradient(180deg,#424836,#272e20);border:1px solid #5e674d;color:#edda89;font-size:11px;letter-spacing:.17em;text-align:center;text-transform:uppercase;border-radius:3px}
html[data-bennys-theme="tuning"] body.app-body .main #invoice-total{display:block;padding:20px 10px 18px;margin:14px 0 16px;border:1px solid #323c25;border-radius:5px;background:linear-gradient(180deg,#050803,#12190a);font-size:clamp(30px,3.5vw,54px);color:#ffd864;letter-spacing:.015em;white-space:nowrap;text-align:center;text-shadow:0 0 12px rgba(255,197,49,.23);box-shadow:inset 0 4px 12px rgba(0,0,0,.8)}
html[data-bennys-theme="tuning"] body.app-body .main #invoice-total.tuning-long-number{font-size:clamp(24px,2.6vw,36px)}
html[data-bennys-theme="tuning"] .invoice-selected-row-price{color:#f6ce72;font-size:22px}
html[data-bennys-theme="tuning"] .main :is(.summary-lines,.money-list,.society-salary-values) .tuning-money{font-size:20px;color:#e5eeb8}
html[data-bennys-theme="tuning"] .main td .tuning-money{font-size:17px}
html[data-bennys-theme="tuning"] .invoice-summary-selection-count{border-color:#3f4a30}
html[data-bennys-theme="tuning"] body.app-body .main .invoice-service-picker{border-left-color:#d6ff51}
html[data-bennys-theme="tuning"] .invoice-mode-options button[aria-pressed="true"]{color:#172109;background:linear-gradient(180deg,#e4ff83,#b6dc3c);border-color:#e5ff9a;box-shadow:inset 0 1px 0 #f3ffd0}
html[data-bennys-theme="tuning"] body.app-body .main table{border-color:#465335}
html[data-bennys-theme="tuning"] body.app-body .main thead th{color:#c7d5b0;background:linear-gradient(180deg,#252e1b,#151f0d);border-color:#586544;letter-spacing:.07em}
html[data-bennys-theme="tuning"] body.app-body .main tbody tr:hover{background:rgba(140,172,64,.085)}
html[data-bennys-theme="tuning"] body.app-body :is(.main,dialog) :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){background:#0a1006;border-color:#596545;border-radius:4px;color:#eef5df;box-shadow:inset 0 2px 5px rgba(0,0,0,.65);font-family:var(--site-font)}
html[data-bennys-theme="tuning"] body.app-body :is(.main,dialog) .btn{background:linear-gradient(180deg,#333d27,#17200f);border:1px solid #5b6a42;border-radius:4px;color:#e4ebd4;box-shadow:inset 0 1px 0 rgba(230,244,203,.12),0 2px 0 rgba(0,0,0,.6)}
html[data-bennys-theme="tuning"] body.app-body .btn.primary{color:#151d08;background:linear-gradient(180deg,#e4ff83,#b6dc3c);border-color:#e5ff9a;font-weight:700;box-shadow:inset 0 1px 0 #f3ffd0,0 2px 0 #4a5d18}
html[data-bennys-theme="tuning"] body.app-body .btn.primary:hover:not(:disabled){background:linear-gradient(180deg,#efffb5,#c9f64a);border-color:#f0ffd0}
html[data-bennys-theme="tuning"] body.app-body .btn.danger{background:linear-gradient(180deg,#673126,#36160e);border-color:#a9523a;color:#ffcebb}
html[data-bennys-theme="tuning"] body.app-body .main :is(.garage-config-tile,.garage-type-card,.garage-margin-group-card){background:linear-gradient(145deg,#2b351e,#111a09);border-color:#5e6c40;border-radius:5px;box-shadow:inset 0 1px 0 rgba(222,239,181,.1)}
html[data-bennys-theme="tuning"] body.app-body .main .garage-config-tile:hover{border-color:#d6ff51}
html[data-bennys-theme="tuning"] body.app-body .main :is(.configuration-hero,.tutorial-hero,.invoice-service-picker,.garage-config-tile){position:relative;isolation:isolate}
html[data-bennys-theme="tuning"] .tuning-hero-part{position:absolute;right:20px;top:50%;transform:translateY(-50%);width:130px;height:130px;color:#bacf89;opacity:.11;z-index:-1}
html[data-bennys-theme="tuning"] .tuning-config-part{position:absolute;right:14px;bottom:9px;width:48px;height:48px;color:#c5db95;opacity:.12;z-index:-1}
html[data-bennys-theme="tuning"] body.app-body .main .time-clock-card .clock-face{background:repeating-linear-gradient(0deg,rgba(192,214,145,.04) 0 2px,transparent 2px 7px),linear-gradient(135deg,#262f1b,#0b1304);border-color:#6d7d4a;border-radius:7px;box-shadow:inset 0 2px 10px rgba(0,0,0,.8)}
html[data-bennys-theme="tuning"] body.app-body .main .time-clock-card .service-actions{flex-direction:row;justify-content:center;align-items:center;gap:24px}
html[data-bennys-theme="tuning"] body.app-body .main .time-clock-card .service-actions .btn{flex:0 0 104px;width:104px;height:104px;min-height:104px;border:4px double #b2c28f;border-radius:50%;padding:14px;font-size:12px;line-height:1.4;text-transform:uppercase;letter-spacing:.035em;color:#e6f7c9;background:radial-gradient(circle at 50% 25%,#3c4b27,#101909 70%);box-shadow:inset 0 0 0 5px #141c0d,inset 0 1px 4px #8f9f71,0 4px 9px rgba(0,0,0,.6)}
html[data-bennys-theme="tuning"] body.app-body .main .time-clock-card .service-actions .btn.primary{border-color:#d6ff51;color:#e8ffb6;text-shadow:0 0 8px rgba(214,255,81,.35)}
html[data-bennys-theme="tuning"] body.app-body .main .time-clock-card .service-actions .btn.danger{border-color:#e17b5b;color:#ffb799}
html[data-bennys-theme="tuning"] body.app-body .main :is(.garage-config-tile strong,.garage-config-tile-icon){color:#e0f1bf}
html[data-bennys-theme="tuning"] body.app-body dialog{background:#131b0d;border:1px solid #8b9d60;border-radius:9px;box-shadow:inset 0 1px 0 rgba(231,243,207,.15),0 24px 90px rgba(0,0,0,.7)}
html[data-bennys-theme="tuning"] body.app-body dialog::backdrop{background:rgba(1,6,0,.82);backdrop-filter:blur(5px)}
html[data-bennys-theme="tuning"] body.app-body dialog :is(.garage-dialog-head,.invoice-catalog-header,.invoice-catalog-footer,.sale-editor-header,.sale-editor-footer,.bank-editor-header,.bank-editor-footer,.configuration-modal-head,.configuration-modal-footer){background:linear-gradient(130deg,#303d1f,#111b08);border-color:#617742}
html[data-bennys-theme="tuning"] body.app-body dialog :is(.sale-editor-body,.bank-editor-body,.configuration-modal-body,.documents-dialog-body,.sanctions-dialog-body){background:#101909}
html[data-bennys-theme="tuning"] .invoice-catalog-header{box-shadow:inset 5px 0 0 #d6ff51}
html[data-bennys-theme="tuning"] .invoice-catalog-quick-nav{background:#11190c;border-bottom-color:#53603c}
html[data-bennys-theme="tuning"] .invoice-catalog-quick-nav button{color:#c8d2b5}
html[data-bennys-theme="tuning"] .invoice-catalog-quick-nav button.is-active{color:#efffd0;border-color:#96b54d;background:linear-gradient(145deg,#3b4b24,#1d2b0d)}
html[data-bennys-theme="tuning"] .invoice-catalog-quick-nav svg{stroke:#d6ff51}
html[data-bennys-theme="tuning"] :is(.invoice-catalog-category,.invoice-catalog-subcategory,.invoice-catalog-item){border-color:#4b573a;background:linear-gradient(145deg,#29321e,#10180a)}
html[data-bennys-theme="tuning"] :is(.invoice-catalog-category,.invoice-catalog-subcategory):is(:hover,:focus-visible){border-color:#d6ff51;background:linear-gradient(145deg,#394c22,#16220b)}
html[data-bennys-theme="tuning"] :is(.invoice-catalog-category-icon,.invoice-catalog-subcategory-icon){color:#d6ff51;border-color:#6a7e40;background:linear-gradient(145deg,#3a4828,#19250d)}
html[data-bennys-theme="tuning"] .invoice-catalog-family-chips button{border-color:#4f6033;background:#19250e;color:#d7e5c0}
html[data-bennys-theme="tuning"] .invoice-catalog-family-chips button.is-active{border-color:#d6ff51;background:#354b18;color:#edffd0}
html[data-bennys-theme="tuning"] .invoice-catalog-item.is-selected{border-color:#7acf8c;background:linear-gradient(145deg,#24492c,#112317)}
html[data-bennys-theme="tuning"] .invoice-catalog-stepper button[data-catalog-step="1"]{color:#efffd3;border-color:#91aa4d;background:#31451a}
html[data-bennys-theme="tuning"] .login-card{border:1px solid #87975f;border-top:4px solid #d6ff51;background:linear-gradient(135deg,rgba(33,42,22,.97),rgba(6,13,2,.97));box-shadow:inset 0 1px 0 rgba(230,244,203,.17),0 25px 70px rgba(0,0,0,.65);border-radius:10px;backdrop-filter:blur(8px)}
html[data-bennys-theme="tuning"] .login-card .brand-row{margin-bottom:26px}
html[data-bennys-theme="tuning"] .login-card .brand-row h1{font-size:30px;color:#f1f6e7}
html[data-bennys-theme="tuning"] .login-card :is(input,select){background:#0a1006;border-color:#596545;color:#eef5df;border-radius:4px}
html[data-bennys-theme="tuning"] .login-card .btn.primary{color:#142000;background:linear-gradient(180deg,#e4ff83,#b6dc3c);border-color:#e5ff9a}
html[data-bennys-theme="tuning"] .login-theme-switcher{background:rgba(7,13,2,.75);border-color:#56643a}
@media(max-width:800px){
  html[data-bennys-theme="tuning"] body.app-body .sidebar{background-position:40% 32%;border-bottom-color:#687b3f}
  html[data-bennys-theme="tuning"] body.app-body .main .employee-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  html[data-bennys-theme="tuning"] body.app-body.page-fiche .work-layout .panel-head{position:relative}
  html[data-bennys-theme="tuning"] body.app-body.page-fiche .work-layout .tuning-panel-part{position:absolute;right:16px;top:18px}
}
@media(max-width:520px){
  html[data-bennys-theme="tuning"] body.app-body .main .employee-kpis{gap:12px}
  html[data-bennys-theme="tuning"] body.app-body .main .employee-kpis .tuning-gauge-card{padding:12px 7px;min-height:232px}
  html[data-bennys-theme="tuning"] body.app-body .main .employee-kpis .tuning-gauge-card>strong{font-size:14px}
  html[data-bennys-theme="tuning"] body.app-body .main .employee-kpis .tuning-gauge-card>small{font-size:11px}
  html[data-bennys-theme="tuning"] .tuning-panel-part{width:24px;height:24px}
  html[data-bennys-theme="tuning"] .site-theme-switcher-options button{padding-inline:7px;font-size:11px}
  html[data-bennys-theme="tuning"] .tuning-mini-gauge{grid-template-columns:minmax(0,1fr) 92px}
  html[data-bennys-theme="tuning"] .tuning-mini-gauge>.tuning-dial{width:92px;height:92px}
}
@media(prefers-reduced-motion:reduce){
  html[data-bennys-theme="tuning"] .tuning-dial-needle{transition:none}
}
@media(max-width:360px){
  html[data-bennys-theme="tuning"] body.app-body .main .employee-kpis{grid-template-columns:minmax(0,1fr)}
}
@media print{
  html[data-bennys-theme="tuning"] .tuning-only{display:none!important}
  html[data-bennys-theme="tuning"] .tuning-money{font-family:Consolas,monospace!important;text-shadow:none!important}
  html[data-bennys-theme="tuning"] body.app-body .main .employee-kpis .tuning-gauge-card{display:block;min-height:0}
  html[data-bennys-theme="tuning"] body.app-body .main .employee-kpis .tuning-gauge-card>strong{margin:8px 0}
}
