/* KOZE-W 2.12.9.352 — design fluide des boutons / tuiles : même système sur téléphone, tablette, laptop et grand écran.
   Aucune taille n'est fixée pour un appareil : tout suit la largeur disponible (clamp) et le nombre de colonnes suit la place. */
:root{
 --kwm-fs-btn:clamp(13px,.3vw + 12px,15px);
 --kwm-gap:clamp(8px,.55vw + 6px,14px);
 --kwm-tile-ico:clamp(34px,.9vw + 28px,42px);
 --kwm-tile-plus:clamp(28px,.5vw + 24px,34px);
 --kwm-tile-h:clamp(60px,2vw + 46px,82px);
}

/* ---- Tuiles « Ajouter un produit ou un service » (et toutes les grilles d'actions) ---- */
html body .kwm .kwm-action-grid,html body .kwm .kwm-add-panel .kwm-action-grid{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--kwm-gap);
 padding:clamp(6px,1vw,14px);width:100%;max-width:100%;margin-inline:auto;box-sizing:border-box}
@media(min-width:560px){html body .kwm .kwm-action-grid,html body .kwm .kwm-add-panel .kwm-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1024px){html body .kwm .kwm-action-grid,html body .kwm .kwm-add-panel .kwm-action-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

html body .kwm .kwm-action-tile,html body .kwm .kwm-add-panel .kwm-action-tile{
 min-height:var(--kwm-tile-h);height:100%;padding:clamp(9px,.7vw + 6px,16px) clamp(10px,.9vw + 6px,18px);
 gap:clamp(6px,.5vw + 4px,12px);font-size:var(--kwm-fs-btn);line-height:1.25;border-radius:clamp(14px,.6vw + 11px,18px);box-sizing:border-box}
html body .kwm .kwm-at-main{gap:clamp(8px,.5vw + 6px,12px);min-width:0;flex:1 1 auto}
html body .kwm .kwm-at-main>span{min-width:0;overflow-wrap:normal;word-break:normal;hyphens:auto;-webkit-hyphens:auto;text-wrap:balance;line-height:1.25}
html body .kwm i.kwm-at-ico{width:var(--kwm-tile-ico);height:var(--kwm-tile-ico);flex:none;border-radius:clamp(10px,.4vw + 8px,13px)}
html body .kwm .kwm-action-tile b{flex:0 0 var(--kwm-tile-plus);width:var(--kwm-tile-plus);height:var(--kwm-tile-plus);font-size:clamp(17px,.3vw + 15px,20px);border-radius:clamp(9px,.3vw + 8px,12px)}
html body .kwm .kwm-action-tile:focus-visible{outline:3px solid #d9be7f;outline-offset:2px}
@media(hover:none){html body .kwm .kwm-action-tile:hover{transform:none}}

/* ---- Tuiles du tableau de bord vendeur : colonnes fluides ---- */
html body .kwm .kwm-vtiles-grid,html body .kwm .kwm-vhub-modern .kwm-vtiles-grid{grid-template-columns:repeat(auto-fill,minmax(clamp(150px,22vw,280px),1fr));gap:var(--kwm-gap)}

/* ---- Boutons : hauteur tactile confortable partout, texte fluide ---- */
html body .kwm .kwm-btn,html body .kwm .kwm-mini{font-size:var(--kwm-fs-btn);min-height:clamp(38px,.8vw + 32px,44px);touch-action:manipulation}

/* ---- v2.12.9.353 : accueil vendeur allégé, étape par étape ---- */
html body .kwm .kwm-hstep-bar{position:sticky;top:0;z-index:5;display:flex;gap:8px;padding:10px 4px 14px;margin:0 0 6px;background:linear-gradient(#fdfcf8 80%,rgba(253,252,248,0));overflow-x:auto;scrollbar-width:none}
html body .kwm .kwm-hstep-bar::-webkit-scrollbar{display:none}
html body .kwm .kwm-hstep-line{position:absolute;left:4px;right:4px;bottom:8px;height:3px;border-radius:3px;background:#ece5d2;overflow:hidden}
html body .kwm .kwm-hstep-line b{display:block;height:100%;border-radius:3px;background:linear-gradient(90deg,#1f7a5a,#d2b779);transition:width .5s cubic-bezier(.3,.8,.3,1)}
html body .kwm .kwm-hstep-chip{flex:1 0 auto;display:flex;align-items:center;gap:8px;padding:8px 14px 8px 8px;border:0;border-radius:999px;background:#f4efe1;color:#2a5646;font:700 13px/1 inherit;cursor:pointer;transition:background .25s,color .25s,transform .25s;touch-action:manipulation}
html body .kwm .kwm-hstep-chip i{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#fff;font-style:normal;font-size:13px}
html body .kwm .kwm-hstep-chip.is-active{background:#15392c;color:#fff;transform:scale(1.03)}
html body .kwm .kwm-hstep-chip.is-active i{background:#d2b779;color:#15392c}
html body .kwm .kwm-hstep-chip.is-done i{background:#1f7a5a;color:#fff}
html body .kwm .kwm-hstep-pane{display:none}
html body .kwm .kwm-hstep-pane.is-active{display:block;animation:kwmStepIn .45s cubic-bezier(.3,.8,.3,1) both}
html body .kwm .kwm-hstep-pane>header small{display:block;margin-bottom:4px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#b08d3c}
html body .kwm .kwm-hstep-pane>header h4{font-size:24px;line-height:1.15}
html body .kwm .kwm-hstep-pane .kwm-vtiles-grid{grid-template-columns:1fr!important;gap:10px}
html body .kwm .kwm-hstep-pane .kwm-vtile{min-height:68px;padding:12px 14px!important;animation:kwmStepIn .5s cubic-bezier(.3,.8,.3,1) both}
html body .kwm .kwm-hstep-pane .kwm-vtile:nth-child(2){animation-delay:.07s}
html body .kwm .kwm-hstep-pane .kwm-vtile:nth-child(3){animation-delay:.14s}
html body .kwm .kwm-hstep-pane .kwm-vtile:nth-child(n+4){animation-delay:.2s}
html body .kwm .kwm-hstep-pane .kwm-vtile-body{justify-content:center}
html body .kwm .kwm-hstep-pane .kwm-vtile b{font-size:16.5px}
html body .kwm .kwm-hstep-next{width:100%;margin-top:16px;justify-content:center}
@keyframes kwmStepIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){html body .kwm .kwm-hstep-pane.is-active,html body .kwm .kwm-hstep-pane .kwm-vtile{animation:none}}

/* ---- v2.12.9.354 : boutons groupe / chaîne WhatsApp sur l'accueil vendeur ---- */
html body .kwm .kwm-vjoin{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 14px}
html body .kwm .kwm-vjoin-btn{flex:1 1 220px;justify-content:center;text-align:center}

/* ---- v2.12.9.377 : « Ajouter un produit ou un service » — tuiles modernes, propres sur laptop.
   Avant : plusieurs règles se contredisaient (hauteurs inégales, libellé qui sortait de la tuile, fond sombre illisible).
   Maintenant : cartes claires de même hauteur, icône + libellé alignés dans la tuile, bouton « + » discret à droite. ---- */
html body .kwm .kwm-add-panel .kwm-action-grid{
 display:grid!important;grid-auto-rows:1fr;align-items:stretch;
 grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(10px,1vw,16px);
 padding:clamp(4px,.8vw,10px)!important;margin-top:16px;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important}
@media(min-width:560px){html body .kwm .kwm-add-panel .kwm-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(min-width:1024px){html body .kwm .kwm-add-panel .kwm-action-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}

html body .kwm .kwm-add-panel .kwm-action-grid .kwm-action-tile{
 position:relative!important;display:flex!important;align-items:center;justify-content:space-between;gap:10px;
 width:100%;height:auto!important;min-height:84px!important;margin:0;padding:14px 14px 14px 16px!important;box-sizing:border-box;overflow:hidden;
 background:#fff!important;color:#17382c!important;border:1px solid #e9e1cb!important;border-radius:16px!important;
 box-shadow:0 1px 2px rgba(23,56,44,.05),0 6px 16px -8px rgba(23,56,44,.18)!important;
 font:700 14px/1.25 inherit;text-align:left;cursor:pointer;transform:none;
 transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease,background .2s ease}
html body .kwm .kwm-add-panel .kwm-action-grid .kwm-action-tile::before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:3px;border-radius:0 3px 3px 0;background:linear-gradient(#1f7a5a,#d2b779);opacity:0;transition:opacity .2s}
html body .kwm .kwm-add-panel .kwm-action-grid .kwm-action-tile:hover{
 transform:translateY(-2px);border-color:#c9a85f!important;background:#fffdf7!important;
 box-shadow:0 2px 4px rgba(23,56,44,.06),0 14px 26px -12px rgba(23,56,44,.28)!important}
html body .kwm .kwm-add-panel .kwm-action-grid .kwm-action-tile:hover::before{opacity:1}
html body .kwm .kwm-add-panel .kwm-action-grid .kwm-action-tile:active{transform:scale(.98)}

/* icône + libellé : toujours DANS la tuile, jamais en position absolue */
html body .kwm .kwm-add-panel .kwm-action-tile .kwm-at-main{
 position:static!important;inset:auto!important;transform:none!important;display:flex;align-items:center;gap:12px;flex:1 1 auto;min-width:0;margin:0;font-style:normal;color:inherit!important}
html body .kwm .kwm-add-panel .kwm-action-tile .kwm-at-main>span{
 position:static!important;inset:auto!important;transform:none!important;display:block;min-width:0;max-width:100%;
 color:#17382c!important;font-size:14px;font-weight:700;line-height:1.3;white-space:normal;overflow-wrap:break-word;word-break:normal;hyphens:auto;text-wrap:balance}
html body .kwm .kwm-add-panel .kwm-action-tile i.kwm-at-ico{
 position:static!important;flex:0 0 44px;width:44px!important;height:44px!important;border-radius:13px!important;border:0!important;
 background:linear-gradient(145deg,#e9f3ee,#d6e8df)!important;box-shadow:inset 0 0 0 1px rgba(31,122,90,.14)}
html body .kwm .kwm-add-panel .kwm-action-tile i.kwm-at-ico .dashicons,
html body .kwm .kwm-add-panel .kwm-action-tile i.kwm-at-ico svg{color:#1f7a5a!important;fill:currentColor;font-size:22px;width:22px;height:22px}

/* bouton « + » */
html body .kwm .kwm-add-panel .kwm-action-tile b{
 position:static!important;flex:0 0 30px;width:30px!important;height:30px!important;display:grid;place-items:center;
 border-radius:50%!important;border:1px solid #d9c58c!important;background:#fbf6e6!important;color:#8a6a1f!important;
 font-size:18px;font-weight:700;line-height:1;box-shadow:none!important;transition:background .2s,color .2s,transform .3s}
html body .kwm .kwm-add-panel .kwm-action-tile:hover b{background:#1f7a5a!important;border-color:#1f7a5a!important;color:#fff!important;transform:rotate(90deg)}
html body .kwm .kwm-add-panel .kwm-action-tile:focus-visible{outline:3px solid #d9be7f;outline-offset:2px}

/* petits écrans : tuiles compactes, icône plus petite */
@media(max-width:559px){
 html body .kwm .kwm-add-panel .kwm-action-grid .kwm-action-tile{min-height:72px!important;padding:11px 10px 11px 12px!important}
 html body .kwm .kwm-add-panel .kwm-action-tile .kwm-at-main{gap:9px}
 html body .kwm .kwm-add-panel .kwm-action-tile .kwm-at-main>span{font-size:12.5px}
 html body .kwm .kwm-add-panel .kwm-action-tile i.kwm-at-ico{flex-basis:36px;width:36px!important;height:36px!important;border-radius:11px!important}
 html body .kwm .kwm-add-panel .kwm-action-tile b{flex-basis:26px;width:26px!important;height:26px!important}
}
@media(prefers-reduced-motion:reduce){html body .kwm .kwm-add-panel .kwm-action-grid .kwm-action-tile{transition:none;animation:none}}
html body .kwm .kwm-add-panel>h3{font-size:clamp(20px,1vw + 16px,26px);line-height:1.2;color:#15392c;margin:0 0 4px}
html body .kwm .kwm-add-panel>.kwm-muted{max-width:62ch;margin:0;color:#5b6b63;font-size:14px;line-height:1.5}

/* ---- v2.12.9.377 : « Mwayen peman mwen yo » (moyens de paiement) — lisible et moderne sur laptop.
   Avant : textes gris très pâles, cartes blanc sur crème presque invisibles, bouton « Agrandir » sombre et mat. ---- */
html body .kwm .kwm-panel:has(.kwm-payment-method-editor)>h3{font-size:clamp(20px,1vw + 16px,26px);line-height:1.2;color:#15392c;margin:0 0 4px}
html body .kwm .kwm-panel:has(.kwm-payment-method-editor)>.kwm-muted{margin:0 0 12px;color:#4d5f56;font-size:14px}
html body .kwm .kwm-panel:has(.kwm-payment-method-editor)>.kwm-universal-form-launch{
 width:auto;margin:0 0 16px;padding:10px 18px;border:1px solid #1f7a5a;border-radius:999px;background:#fff!important;color:#1f7a5a!important;font-weight:700;font-size:13.5px;box-shadow:none}
html body .kwm .kwm-panel:has(.kwm-payment-method-editor)>.kwm-universal-form-launch:hover{background:#1f7a5a!important;color:#fff!important}

html body .kwm .kwm-payment-method-editor{display:grid;gap:12px;max-width:760px}
html body .kwm .kwm-payment-method-editor>.kwm-muted{margin:0;color:#4d5f56;font-size:14px;line-height:1.5}
html body .kwm .kwm-payment-method-editor .kwm-deposit-setting{
 display:grid;gap:8px;margin:0;padding:16px 18px;background:#fffdf7;border:1px solid #e6dcc0;border-radius:16px;
 color:#17382c;font-size:14.5px;font-weight:700;box-shadow:0 6px 16px -10px rgba(23,56,44,.2)}
html body .kwm .kwm-payment-method-editor .kwm-deposit-setting input{max-width:140px;min-height:44px;padding:8px 12px;border:1px solid #cfc29a;border-radius:10px;background:#fff;color:#17382c;font-size:16px;font-weight:700}
html body .kwm .kwm-payment-method-editor .kwm-deposit-setting small{color:#4d5f56;font-size:13px;font-weight:500;line-height:1.45}

html body .kwm .kwm-payment-method-editor .kwm-method-card{
 margin:0;border:1px solid #e6dcc0;border-radius:16px;background:#fff;overflow:hidden;
 box-shadow:0 1px 2px rgba(23,56,44,.05),0 8px 18px -12px rgba(23,56,44,.22);transition:border-color .2s,box-shadow .2s}
html body .kwm .kwm-payment-method-editor .kwm-method-card:hover,html body .kwm .kwm-payment-method-editor .kwm-method-card[open]{border-color:#c9a85f}
html body .kwm .kwm-payment-method-editor .kwm-method-card summary{
 display:flex;align-items:center;gap:12px;padding:15px 16px;color:#17382c;font-size:15.5px;font-weight:800;cursor:pointer;list-style:none}
html body .kwm .kwm-payment-method-editor .kwm-method-card summary span{
 margin-left:auto;padding:4px 10px;border-radius:999px;background:#f4efe1;color:#7a5f1c;font-size:12px;font-weight:700}
html body .kwm .kwm-payment-method-editor .kwm-method-card summary:after{
 content:'＋';display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;border:1px solid #d9c58c;background:#fbf6e6;color:#8a6a1f;font-size:18px;font-weight:700;transition:background .2s,color .2s}
html body .kwm .kwm-payment-method-editor .kwm-method-card[open] summary{border-bottom:1px solid #efe7d0}
html body .kwm .kwm-payment-method-editor .kwm-method-card[open] summary:after{content:'−';background:#1f7a5a;border-color:#1f7a5a;color:#fff}
html body .kwm .kwm-payment-method-editor .kwm-method-card>label{display:grid;gap:6px;padding:12px 16px 0;color:#17382c;font-size:13.5px;font-weight:700}
html body .kwm .kwm-payment-method-editor .kwm-method-card>label:last-of-type{padding-bottom:16px}
html body .kwm .kwm-payment-method-editor .kwm-method-card input,html body .kwm .kwm-payment-method-editor .kwm-method-card textarea{
 width:100%;box-sizing:border-box;min-height:44px;padding:10px 12px;border:1px solid #d9cfb0;border-radius:10px;background:#fff;color:#17382c;font-size:15px;font-weight:500}
html body .kwm .kwm-payment-method-editor .kwm-method-card input::placeholder,html body .kwm .kwm-payment-method-editor .kwm-method-card textarea::placeholder{color:#8a948e}
html body .kwm .kwm-payment-method-editor .kwm-method-card input:focus,html body .kwm .kwm-payment-method-editor .kwm-method-card textarea:focus,html body .kwm .kwm-payment-method-editor .kwm-deposit-setting input:focus{
 outline:none;border-color:#1f7a5a;box-shadow:0 0 0 3px rgba(31,122,90,.18)}
html body .kwm .kwm-payment-method-editor>button.kwm-btn{justify-self:start;min-height:46px;padding:0 26px;border-radius:999px}

/* ---- v2.12.9.377 : « Business POS mwen an » — adapté à tous les écrans (laptop inclus).
   Avant : le design téléphone (bouton « Ouvrir POS » pleine largeur, 1 carte par ligne) s'étirait sur laptop,
   et le script d'ajustement plein écran décalait le panneau vers la gauche (texte coupé). ---- */
@media(min-width:900px){
 html body .kwm .kwm-vhub-business-pos.kwm-panel{
  width:100%!important;max-width:1240px!important;margin-left:auto!important;margin-right:auto!important;
  padding:clamp(16px,1.6vw,28px) clamp(18px,2vw,32px)!important;border:1px solid #d8c79f!important;border-radius:20px!important;box-sizing:border-box!important}
}
/* liste des business : grille fluide (1 colonne sur téléphone, 2-3 sur laptop / grand écran) */
html body .kwm .kwm-vhub-business-pos .kwm-vhub-biz-list{
 display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:clamp(12px,1.2vw,18px);padding:0!important;margin:14px 0 0!important}
html body .kwm .kwm-vhub-business-pos .kwm-vhub-biz{
 display:flex;flex-direction:column;justify-content:space-between;align-items:stretch;gap:14px;margin:0!important;padding:clamp(14px,1.2vw,20px)!important;
 background:#fff!important;border:1px solid #e6dcc0!important;border-radius:18px!important;
 box-shadow:0 1px 2px rgba(23,56,44,.05),0 10px 22px -14px rgba(23,56,44,.25)!important;transition:transform .2s,box-shadow .2s,border-color .2s}
html body .kwm .kwm-vhub-business-pos .kwm-vhub-biz:hover{transform:translateY(-2px);border-color:#c9a85f!important}
html body .kwm .kwm-vhub-business-pos .kwm-vhub-biz>div:first-child b{font-size:clamp(16px,.4vw + 14px,19px);color:#15392c}
html body .kwm .kwm-vhub-business-pos .kwm-vhub-biz>div:first-child small{background:#eef6f1;color:#1f6a4f}
/* boutons : « Ouvrir POS » en premier, côte à côte et à leur taille — plus de barres pleine largeur */
html body .kwm .kwm-vhub-business-pos .kwm-vhub-biz-actions{display:flex!important;flex-wrap:wrap;gap:8px;width:100%}
html body .kwm .kwm-vhub-business-pos .kwm-vhub-biz-actions a{
 flex:1 1 auto;width:auto!important;min-width:0;min-height:42px;padding:0 18px;border-radius:999px!important;font-size:14px!important;font-weight:700!important;white-space:nowrap}
html body .kwm .kwm-vhub-business-pos .kwm-vhub-biz-actions a:first-child{
 flex:1 1 100%;grid-column:auto;background:linear-gradient(135deg,#1f7a5a,#15563f)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:0!important;box-shadow:0 8px 16px -8px rgba(21,86,63,.6)}
html body .kwm .kwm-vhub-business-pos .kwm-vhub-biz-actions a:first-child:hover{filter:brightness(1.08)}
html body .kwm .kwm-vhub-business-pos .kwm-vhub-biz-actions a.kwm-btn-soft{background:#fff!important;color:#17382c!important;-webkit-text-fill-color:#17382c!important;border:1px solid #d9cfb0!important}
html body .kwm .kwm-vhub-business-pos .kwm-vhub-biz-actions a.kwm-btn-soft:hover{border-color:#1f7a5a!important;color:#1f7a5a!important;-webkit-text-fill-color:#1f7a5a!important}
html body .kwm .kwm-vhub-business-pos .kwm-panel-heading h2{font-size:clamp(22px,1.2vw + 17px,30px);line-height:1.2}
html body .kwm .kwm-vhub-business-pos .kwm-panel-heading p,html body .kwm .kwm-vhub-business-pos>.kwm-muted{color:#4d5f56;font-size:14px;line-height:1.5;max-width:70ch}

/* ---- v2.12.9.388 : « Ajouter un produit ou un service » — fin du vert foncé, plus d'espace perdu sur les côtés, tuiles colorées par catégorie.
   Le sélecteur :not(#_wp) bat les règles « .kwm:not(#_wp) » de brand-luxe.css qui remettaient les tuiles en vert foncé. ---- */
html body .kwm:not(#_wp) .kwm-add-panel .kwm-action-grid .kwm-action-tile{
 --c1:#1f9d6b;--c2:#0f7a52;--tint:#eaf7f1;--ink:#0f3a2a;
 position:relative!important;display:grid!important;grid-template-columns:auto 1fr;grid-template-rows:auto 1fr;gap:10px 8px;align-items:start;justify-content:stretch;
 min-height:112px!important;padding:14px 12px 13px!important;overflow:hidden;
 background:linear-gradient(160deg,#fff 0%,var(--tint) 100%)!important;color:var(--ink)!important;
 border:1px solid color-mix(in srgb,var(--c1) 22%,#fff)!important;border-radius:20px!important;
 box-shadow:0 1px 0 #fff inset,0 8px 20px -10px color-mix(in srgb,var(--c2) 55%,transparent)!important;
 transform:none;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
html body .kwm:not(#_wp) .kwm-add-panel .kwm-action-grid .kwm-action-tile::before{
 content:"";position:absolute;inset:0 0 auto 0;left:0;top:0;bottom:auto;width:auto;height:4px;border-radius:0;
 background:linear-gradient(90deg,var(--c1),var(--c2));opacity:1}
html body .kwm:not(#_wp) .kwm-add-panel .kwm-action-grid .kwm-action-tile::after{
 content:"";position:absolute;right:-26px;bottom:-30px;width:90px;height:90px;border-radius:50%;
 background:radial-gradient(circle,color-mix(in srgb,var(--c1) 18%,transparent),transparent 70%);pointer-events:none}
html body .kwm:not(#_wp) .kwm-add-panel .kwm-action-grid .kwm-action-tile:hover{
 transform:translateY(-3px);background:linear-gradient(160deg,#fff 0%,var(--tint) 100%)!important;border-color:var(--c1)!important;
 box-shadow:0 14px 26px -12px color-mix(in srgb,var(--c2) 65%,transparent)!important}
/* l'icône et le libellé deviennent deux zones de la grille : le libellé prend toute la largeur de la tuile (plus de « personnali-sé ») */
html body .kwm:not(#_wp) .kwm-add-panel .kwm-action-tile .kwm-at-main{display:contents!important}
html body .kwm:not(#_wp) .kwm-add-panel .kwm-action-tile i.kwm-at-ico{
 grid-column:1;grid-row:1;flex:none;width:46px!important;height:46px!important;border-radius:15px!important;
 background:linear-gradient(145deg,var(--c1),var(--c2))!important;box-shadow:0 6px 12px -6px var(--c2)!important}
html body .kwm:not(#_wp) .kwm-add-panel .kwm-action-tile i.kwm-at-ico .dashicons,
html body .kwm:not(#_wp) .kwm-add-panel .kwm-action-tile i.kwm-at-ico svg{color:#fff!important;fill:currentColor;width:24px;height:24px;font-size:24px}
html body .kwm:not(#_wp) .kwm-add-panel .kwm-action-tile .kwm-at-main>span{
 grid-column:1 / -1;grid-row:2;align-self:end;color:var(--ink)!important;font-size:14px;font-weight:800;line-height:1.25;hyphens:none;word-break:normal;overflow-wrap:break-word;text-wrap:balance}
html body .kwm:not(#_wp) .kwm-add-panel .kwm-action-tile b{
 grid-column:2;grid-row:1;justify-self:end;width:30px!important;height:30px!important;flex:none;border-radius:50%!important;
 background:#fff!important;color:var(--c2)!important;border:1.5px solid var(--c1)!important;font-size:19px;box-shadow:0 3px 8px -3px var(--c2)!important}
html body .kwm:not(#_wp) .kwm-add-panel .kwm-action-tile:hover b{background:var(--c2)!important;border-color:var(--c2)!important;color:#fff!important}
/* une couleur par catégorie */
.kwm-add-panel .kwm-action-tile[data-category="wholesale"]{--c1:#f59e0b;--c2:#c2410c;--tint:#fff5e0;--ink:#5a2a06}
.kwm-add-panel .kwm-action-tile[data-category="digital"]{--c1:#3b82f6;--c2:#1d4ed8;--tint:#e8f1ff;--ink:#14307a}
.kwm-add-panel .kwm-action-tile[data-category="perfume"]{--c1:#a855f7;--c2:#7e22ce;--tint:#f5ebff;--ink:#4a1578}
.kwm-add-panel .kwm-action-tile[data-category="cosmetic"]{--c1:#ec4899;--c2:#be185d;--tint:#ffe9f3;--ink:#6b0f38}
.kwm-add-panel .kwm-action-tile[data-category="accessory"]{--c1:#d4a017;--c2:#92400e;--tint:#fdf3d0;--ink:#5a3a05}
.kwm-add-panel .kwm-action-tile[data-category="food"]{--c1:#f97316;--c2:#c2410c;--tint:#ffeedd;--ink:#6b2a08}
.kwm-add-panel .kwm-action-tile[data-category="packaging"]{--c1:#14b8a6;--c2:#0f766e;--tint:#e0f8f4;--ink:#0b4a44}
.kwm-add-panel .kwm-action-tile[data-category="gift"]{--c1:#ef4444;--c2:#b91c1c;--tint:#ffe8e8;--ink:#6b1111}
.kwm-add-panel .kwm-action-tile[data-category="product"]{--c1:#22c55e;--c2:#15803d;--tint:#e6f9ec;--ink:#0f4a25}
.kwm-add-panel .kwm-action-tile[data-category="dropshipping"]{--c1:#6366f1;--c2:#4338ca;--tint:#ececff;--ink:#23217a}
.kwm-add-panel .kwm-action-tile[data-category="ebook"]{--c1:#0ea5e9;--c2:#0369a1;--tint:#e1f4fd;--ink:#0b3d5c}
.kwm-add-panel .kwm-action-tile[data-category="service"]{--c1:#64748b;--c2:#334155;--tint:#eaeef3;--ink:#1e293b}
/* téléphone : on récupère l'espace perdu sur les deux bords */
@media(max-width:650px){
 html body .kwm:not(#_wp) .kwm-add-panel{padding:12px 6px 14px!important;margin-left:-2px;margin-right:-2px;border-radius:18px}
 html body .kwm:not(#_wp) .kwm-add-panel>h3,html body .kwm:not(#_wp) .kwm-add-panel>.kwm-muted{padding:0 6px}
 html body .kwm:not(#_wp) .kwm-add-panel .kwm-action-grid{padding:0!important;gap:9px!important;margin-top:12px}
 html body .kwm:not(#_wp) .kwm-add-panel .kwm-action-grid .kwm-action-tile{min-height:104px!important;padding:12px 10px 11px!important;border-radius:18px!important}
 html body .kwm:not(#_wp) .kwm-add-panel .kwm-action-tile .kwm-at-main>span{font-size:13px}
}
@media(prefers-reduced-motion:reduce){html body .kwm:not(#_wp) .kwm-add-panel .kwm-action-grid .kwm-action-tile{transition:none}}

/* ---- v2.12.9.531 : tablette (700–1023 px) — pages et boutons de l'espace POS / vendeur qui suivent la largeur de l'appareil.
   Avant : les règles « grand écran » ne démarraient qu'à 1024 px ; une tablette (portrait ou paysage avec zoom) recevait donc
   le design téléphone étiré : contenu collé au bord, barre du haut étalée sur toute la largeur, cartes en une seule colonne.
   Maintenant : contenu centré à largeur maîtrisée, grilles qui utilisent la place, boutons tactiles. Téléphone et ordinateur ne changent pas. ---- */
@media(min-width:700px) and (max-width:1023px){
 html body .kwm .kwm-pos-ws:not(.kwm-pos-ws-floating){width:100%;max-width:960px;margin:14px auto 20px;padding-left:clamp(14px,2.4vw,24px);padding-right:clamp(14px,2.4vw,24px);box-sizing:border-box}
 html body .kwm .kwm-pos-ws:not(.kwm-pos-ws-floating) .kwm-pos-ws-hero{padding:16px 20px;margin-bottom:14px;align-items:center}
 html body .kwm .kwm-pos-ws:not(.kwm-pos-ws-floating) .kwm-pos-ws-hero h2{font-size:clamp(20px,1.2vw + 12px,24px)}
 html body .kwm .kwm-pos-ws:not(.kwm-pos-ws-floating) .kwm-pos-ws-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin-bottom:14px}
 html body .kwm .kwm-pos-ws:not(.kwm-pos-ws-floating) .kwm-pos-ws-steps{gap:12px}
 html body .kwm .kwm-pos-ws:not(.kwm-pos-ws-floating) .kwm-pos-menu{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
 html body .kwm .kwm-pos-ws:not(.kwm-pos-ws-floating) .kwm-pos-bigbtn{width:auto;min-width:280px;max-width:100%;display:flex;margin-left:auto;margin-right:auto}
 html body .kwm .kwm-pos-ws:not(.kwm-pos-ws-floating) .kwm-ord-wrap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
 html body .kwm .kwm-pos-ws:not(.kwm-pos-ws-floating) .kwm-ord-wrap>:not(.kwm-ord){grid-column:1/-1}
 html body .kwm .kwm-pos-ws:not(.kwm-pos-ws-floating) .kwm-ord-wrap>.kwm-ord{margin:0;height:100%}
 html body .kwm .kwm-pos-ws:not(.kwm-pos-ws-floating) .kwm-more-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
 html body .kwm .kwm-pos-ws:not(.kwm-pos-ws-floating) .kwm-ap-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
 html body .kwm .kwm-pos-ws:not(.kwm-pos-ws-floating) :is(.kwm-pos-fiche-form,.kwm-independent-form,.kwm-onsite-record){max-width:100%}
 html body .kwm .kwm-pos-ws:not(.kwm-pos-ws-floating) :is(.kwm-two,.kwm-business-form-grid){grid-template-columns:repeat(2,minmax(0,1fr))}
 html body .kwm .kwm-pos-ws:not(.kwm-pos-ws-floating) .kwm-btn{min-height:44px;font-size:14.5px}
 html body .kwm .kwm-pos-ws:not(.kwm-pos-ws-floating) .kwm-pos-ws-hero .kwm-btn{width:auto;margin:0;flex:none}
 /* barre du haut (3-4 icônes) : compacte et centrée au lieu de s'étaler sur toute la largeur */
 html body .kwm .kwm-home-space-tabs.kwm-vtools:not(#_a){max-width:560px;margin-left:auto;margin-right:auto}
 /* liste « Mes business POS » : cartes fluides, centrées */
 html body .kwm .kwm-vhub-business-pos.kwm-panel{max-width:960px;margin-left:auto;margin-right:auto;box-sizing:border-box}
 /* barre du bas : même largeur que le contenu, libellés lisibles */
 html body #kwm-pos-ws-floating.kwm-pos-ws-floating .kwm-pos-ws-tabs.kwm-pos-ws-tabs{width:min(680px,calc(100vw - 40px))}
 html body #kwm-pos-ws-floating.kwm-pos-ws-floating a.kwm-pos-ws-tab{min-height:56px}
}

/* ---- v2.12.9.532 : tablette — les autres onglets du POS (Commandes, Rapports, Menu, Vitrine, Équipe, Plus) suivent la même logique ---- */
@media(min-width:700px) and (max-width:1023px){
 /* Équipe : cartes employés / copropriétaires sur 2 colonnes, listes d'éléments et de commandes d'employé aussi */
 html body .kwm .kwm-pos-ws .kwm-business-team-list,html body .kwm .kwm-pos-ws .kwm-employee-items,html body .kwm .kwm-pos-ws .kwm-employee-orders{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
 html body .kwm .kwm-pos-ws .kwm-business-team-list>:not(article){grid-column:1/-1}
 /* Rapports : indicateurs et cartes qui remplissent la largeur, tableaux défilables */
 html body .kwm .kwm-pos-ws .kwm-rp-kpis{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
 html body .kwm .kwm-pos-ws .kwm-rp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 html body .kwm .kwm-pos-ws :is(.kwm-sr-kpis,.kwm-pr-kpis){grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
 html body .kwm .kwm-pos-ws :is(.kwm-rp-wrap,.kwm-table-wrap){overflow-x:auto;-webkit-overflow-scrolling:touch}
 /* Menu : grille des produits / services (2 ou 3 colonnes au choix du vendeur) dès 700 px */
 html body .kwm .kwm-pos-ws .kwm-biz-manage-list.kwm-cat-grid,html body .kwm .kwm-pos-ws .kwm-biz-manage-list.kwm-cat-grid[data-cols="2"]{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
 html body .kwm .kwm-pos-ws .kwm-biz-manage-list.kwm-cat-grid[data-cols="3"]{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}
 /* Formulaires d'ajout (Menu, Équipe, Vitrine, Plus) : largeur lisible, 2 colonnes */
 html body .kwm .kwm-pos-ws :is(.kwm-cat-formbox,.kwm-team-addbox) form{max-width:100%}
 html body .kwm .kwm-pos-ws :is(.kwm-cat-formbox,.kwm-team-addbox) :is(.kwm-two,.kwm-business-form-grid,.kwm-form-grid){grid-template-columns:repeat(2,minmax(0,1fr))}
 /* Panneaux : marges confortables au lieu des marges téléphone */
 html body .kwm .kwm-pos-ws .kwm-panel{padding:clamp(14px,2vw,22px)}
 /* Boutons d'action des cartes : à leur taille, côte à côte */
 html body .kwm .kwm-pos-ws .kwm-tm-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
 html body .kwm .kwm-pos-ws :is(input,select,textarea){min-height:44px}
}
