/* CAPSTORE BO · relief doux et accents vivants. Présentation uniquement.
   Chargé seulement par les BO : aucun style injecté dans l'application client. */
body.cap-bo-theme{
 --cap-blue:#ad511c;--cap-blue-dark:#78370f;--cap-blue-soft:#fff0e3;--cap-blue-row:#fffbf7;
 --cap-green:#176649;--cap-green-soft:#e8f6ee;--cap-orange:#9b4b22;--cap-orange-soft:#fff0e6;
 --cap-red:#a4392e;--cap-red-soft:#fff0ed;--cap-purple:#5b469a;--cap-purple-soft:#f0ebfc;
 --cap-ink:#28313d;--cap-muted:#59616c;--cap-line:#dce7eb;--cap-page:#f6f8f9;--cap-card:#fff;
 --bo-soft-shadow:6px 7px 17px rgba(27,67,88,.075),-5px -5px 15px rgba(255,255,255,.95);
 --bo-pressed-shadow:inset 3px 3px 7px rgba(18,57,76,.16),inset -3px -3px 7px rgba(255,255,255,.9);
 background:var(--cap-page)!important;color:var(--cap-ink)!important;
 font-family:Inter,"Segoe UI",Arial,sans-serif!important;line-height:1.5;
}
body.cap-bo-theme :where(h1,h2,h3,h4){color:var(--cap-ink);letter-spacing:-.025em;line-height:1.24}
body.cap-bo-theme :where(h1){font-size:clamp(25px,2.3vw,34px)}
body.cap-bo-theme :where(.muted,.subtle,.sub,.sl-muted,.small,.meta){color:var(--cap-muted)}
body.cap-bo-theme :where(.app){background:transparent!important}
body.cap-bo-theme .app>aside{background:#fafcfc!important;color:var(--cap-ink)!important;border-right:1px solid var(--cap-line);box-shadow:5px 0 22px rgba(27,67,88,.04)}
body.cap-bo-theme .app>main{min-width:0}
body.cap-bo-theme .app>aside :where(.sideLogo){object-fit:contain}
body.cap-bo-theme .app>aside :where(.sideFooter){color:var(--cap-muted)}
body.cap-bo-theme .canonicalNav button{background:transparent!important;color:#29475d!important;box-shadow:none!important;border:1px solid transparent!important;border-radius:14px!important;transition:background .14s ease,transform .12s ease}
body.cap-bo-theme .canonicalNav :where(.navGroupToggle){font-weight:700}
body.cap-bo-theme .canonicalNav :where(.navChildren){border-left:2px solid #f3dfce;margin-left:11px;padding-left:8px}
body.cap-bo-theme .canonicalNav button:hover{background:#fff3e9!important}
body.cap-bo-theme .canonicalNav button.active{background:linear-gradient(135deg,#fff1e4,#ffe3c9)!important;color:#78370f!important;border-color:#efc7a8!important;box-shadow:inset 3px 0 #cf6b2d,3px 4px 9px rgba(0,104,111,.06)!important}
body.cap-bo-theme :where(.panel,.card,.sl-panel,.sl-card,.hero,.importbox,.metric,.stat,.diff,.holidayCard,.sim-card,.pointCard){background:#fff!important;border:1px solid var(--cap-line)!important;border-radius:20px!important;box-shadow:var(--bo-soft-shadow)!important;color:var(--cap-ink)}
body.cap-bo-theme :where(.nativeDashHero,.nativeDashHead,.pointHero){border-radius:22px!important}
body.cap-bo-theme .pointHero :where(h1,h2,h3){color:white}
body.cap-bo-theme :where(.nativeDashKpis,.dashboardCards,.stats,.metrics)>:nth-child(3n+1){background:linear-gradient(145deg,#fff,#fff0e2)!important}
body.cap-bo-theme :where(.nativeDashKpis,.dashboardCards,.stats,.metrics)>:nth-child(3n+2){background:linear-gradient(145deg,#fff,#fff0e9)!important}
body.cap-bo-theme :where(.nativeDashKpis,.dashboardCards,.stats,.metrics)>:nth-child(3n){background:linear-gradient(145deg,#fff,#eaf4ff)!important}
body.cap-bo-theme :where(button,a.btn,a.back,.backbtn,label.btn){font-family:inherit;cursor:pointer;border-radius:15px!important;color:var(--cap-ink)!important;background:linear-gradient(145deg,#fff,#f0f5f7)!important;border:1px solid #d6e4e9!important;box-shadow:4px 5px 11px rgba(27,67,88,.09),-3px -3px 10px #fff!important;transition:transform .12s ease,box-shadow .12s ease,background .15s ease;touch-action:manipulation}
body.cap-bo-theme :where(button,a.btn,a.back,.backbtn,label.btn):not(.tile):not(.navGroupToggle):not(.navChild){min-height:36px}
body.cap-bo-theme :where(button,a.btn,a.back,.backbtn,label.btn):hover:not(:disabled){filter:none!important;border-color:#e5b990!important}
body.cap-bo-theme :where(button,a.btn,a.back,.backbtn,label.btn):active:not(:disabled){transform:translateY(1px) scale(.985)!important;box-shadow:var(--bo-pressed-shadow)!important}
body.cap-bo-theme :where(button:disabled){opacity:.52!important;cursor:not-allowed;transform:none!important;box-shadow:none!important}
body.cap-bo-theme .primary,body.cap-bo-theme .btn,body.cap-bo-theme :where(.si-primary,.sl-btn.primary,.eanBrand.active){background:linear-gradient(145deg,#ad511c,#873d13)!important;color:#fff!important;border-color:#914419!important;box-shadow:4px 5px 11px rgba(0,102,111,.2),inset 0 1px 1px rgba(255,255,255,.28)!important}
body.cap-bo-theme :where(.primary,.btn,.si-primary,.sl-btn.primary):active:not(:disabled){box-shadow:inset 3px 3px 7px rgba(0,44,57,.3),inset -2px -2px 5px rgba(255,255,255,.12)!important}
body.cap-bo-theme .secondary,body.cap-bo-theme .btn.secondary,body.cap-bo-theme :where(.smallButton,.si-secondary,.backbtn,.back,.pdv-logout,.logout){background:linear-gradient(145deg,#fff,#fff7ef)!important;color:#783d1a!important;border-color:#efd8c5!important;box-shadow:4px 5px 11px rgba(27,67,88,.075),-3px -3px 10px #fff!important}
body.cap-bo-theme .danger,body.cap-bo-theme .btn.danger{background:linear-gradient(145deg,#fff6f3,#ffe8e1)!important;color:#9b352d!important;border-color:#efc3b8!important}
body.cap-bo-theme :where(.ok,.badge.green,.pill.on,.pill.pub,.coherent,.exceptionOpen){background:#e8f6ee!important;color:#176649!important;border-color:#bedecd!important;box-shadow:none!important}
body.cap-bo-theme :where(.warning,.warn,.holidayCard,.exceptionClosed){background:#fff0e6!important;color:#8f441f!important;border-color:#efcbb3!important;box-shadow:none!important}
body.cap-bo-theme :where(.error,.sl-error,.message.error,.bad,.diffneg){background:#fff0ed!important;color:#a4392e!important;border:1px solid #ecc2bc!important;box-shadow:none!important}
body.cap-bo-theme :where(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]),select,textarea){background:#fbfdfe!important;color:var(--cap-ink)!important;border:1px solid #d6e4e9!important;border-radius:13px!important;box-shadow:inset 2px 3px 6px rgba(27,67,88,.045)!important;font-family:inherit}
body.cap-bo-theme :where(input,select,textarea):focus{border-color:#ad511c!important;box-shadow:0 0 0 3px #ffe8d4!important}
body.cap-bo-theme :where(input[type=checkbox],input[type=radio]){accent-color:#ad511c}
body.cap-bo-theme :where(button,a,input,select,textarea):focus-visible{outline:3px solid #ad511c!important;outline-offset:3px!important}
body.cap-bo-theme :where(.table,.sl-table,.stockV7Table,.v8Table){border-color:var(--cap-line)!important;border-radius:15px!important}
body.cap-bo-theme th{background:#fff2e7!important;color:#683b24!important;border-color:#dce7eb!important;font-weight:700}
body.cap-bo-theme td{border-color:#e5edf0!important}
body.cap-bo-theme tbody tr:nth-child(even){background:#fffcf8!important}
body.cap-bo-theme tbody tr:hover{background:#fff0e2!important}
body.cap-bo-theme .stockV7Table tbody tr:nth-child(even) td{background:#fff7ef!important}
body.cap-bo-theme .stockV7Table tbody tr:hover td{background:#ffe9d6!important}
body.cap-bo-theme .stockV7Table th{background:#873d13!important;color:#fff!important}
body.cap-bo-theme :where(.pill,.badge,.status,.chip,.codePill,.stockV7Qty){border-radius:999px!important}
body.cap-bo-theme :where(.photo){background:linear-gradient(145deg,#fff,#fff6ec)!important}
body.cap-bo-theme #grid>article.card:nth-child(3n+2) .photo{background:linear-gradient(145deg,#fff,#f4f0fb)!important}
body.cap-bo-theme #grid>article.card:nth-child(3n) .photo{background:linear-gradient(145deg,#fff,#edf5fd)!important}
body.cap-bo-theme :where(.pdv-main-menu .tile){background:linear-gradient(145deg,#fff,#f6fafb)!important;border-color:#dce7eb!important;box-shadow:var(--bo-soft-shadow)!important;color:var(--cap-ink)!important}
body.cap-bo-theme .pdv-main-menu .tile:nth-child(1){border-left:4px solid #df8a4b!important}
body.cap-bo-theme .pdv-main-menu .tile:nth-child(2){border-left:4px solid #70b9e5!important}
body.cap-bo-theme .pdv-main-menu .tile:nth-child(3){border-left:4px solid #ef937b!important}
body.cap-bo-theme .pdv-main-menu .tile:nth-child(4){border-left:4px solid #b19cda!important}
body.cap-bo-theme .pdv-main-menu .tile:nth-child(5){border-left:4px solid #ddb68c!important}
body.cap-bo-theme .pdv-main-menu .tile span{color:#526779!important}
body.cap-bo-theme :where(.panel-head){background:rgba(246,248,249,.96)!important}
body.cap-bo-theme #identityCard{background:linear-gradient(145deg,#fff,#fff7ef)!important}
body.cap-bo-theme :where(.pdv-summary)>div{background:#fff;border:1px solid #dfebee;border-radius:15px;padding:10px 14px;box-shadow:var(--bo-soft-shadow)}
body.cap-bo-theme :where(.pdv-summary)>div:nth-child(2){background:#f4f0fb}
body.cap-bo-theme #jp-pdv .jp-launch{background:linear-gradient(145deg,#ad511c,#873d13)!important;color:white!important}
body.cap-bo-theme #jp-pdv{left:auto;right:max(14px,env(safe-area-inset-right))}
body.cap-bo-theme #jp-pdv .jp-panel{left:auto;right:0}
body.cap-bo-theme .wrap{padding-bottom:90px}
body.cap-bo-theme :where(.testEnvironmentBadge){background:#fff2e7!important;color:#783d1a!important;border-color:#efd8c5!important}
/* Les fermetures, contrôles calendrier et boutons compacts conservent leurs dimensions. */
body.cap-bo-theme :where(.modalHead button,.modal-head button,.jp-close,.camera-close,.si-del){min-height:0!important}
@media(max-width:800px){body.cap-bo-theme :where(.panel,.card,.sl-panel,.sl-card){border-radius:17px!important;box-shadow:3px 4px 12px rgba(27,67,88,.07)!important}body.cap-bo-theme .app>aside{background:#fafcfc!important}}
@media(prefers-reduced-motion:reduce){body.cap-bo-theme *,body.cap-bo-theme *::before,body.cap-bo-theme *::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition:none!important}body.cap-bo-theme :where(button,a.btn,a.back,.backbtn,label.btn):active:not(:disabled){transform:none!important}}
@media print{body.cap-bo-theme{background:white!important}body.cap-bo-theme :where(.panel,.card,.sl-panel,.sl-card,button){box-shadow:none!important}}

/* Navigation et filtres secondaires : contraste calme, action principale abricot. */
body.cap-bo-theme :where(a.btn){text-decoration:none!important}
body.cap-bo-theme :is(.filters .btn,select.btn,label.btn,a.btn:not(.primary),.siteLink,.siteManager){background:linear-gradient(145deg,#fff,#fff7ef)!important;color:#783d1a!important;border-color:#d5e5e9!important;box-shadow:var(--bo-soft-shadow)!important;text-decoration:none!important}
body.cap-bo-theme :where(.presentationCta){background:#fff0e3!important;color:#78370f!important;border-color:#efc7a8!important;text-decoration:none!important}
body.cap-bo-theme :where(.hero){padding:20px!important}
body.cap-bo-theme :where(.intro){background:#fff8f1!important;border-color:#efd8c5!important;color:#783d1a!important}
/* En-têtes clairs : ne jamais appliquer un fond sombre aux titres de page. */
body.cap-bo-theme :where(header,.top):not(.panel-head){background:#fff!important;color:var(--cap-ink)!important;border-bottom:1px solid var(--cap-line)!important}
body.cap-bo-theme :where(header,.top) :where(h1,h2,b,strong,span,a:not(.btn)){color:var(--cap-ink)!important}
body.cap-bo-theme>header img{filter:none!important}
