/* Simple presentation only. Native menus and page controls remain intact. */
.sl-setup-journey{display:none}
html:not([data-sl-ui-mode="simple"]) .sl-simple-setup-link{display:none!important}
.sl-setup-all-settings>summary{display:none}
html[data-sl-ui-mode="simple"] .sl-setup-journey{display:grid;gap:10px;list-style:none;padding:0;margin:0 0 16px}
html[data-sl-ui-mode="simple"] .sl-setup-journey>li{display:flex;gap:12px;padding:16px;border:1px solid #e2e8f0;border-radius:8px;background:#fff}
html[data-sl-ui-mode="simple"] .sl-setup-number{flex:0 0 28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#eeecff;color:#4338ca;font-size:13px;font-weight:600}
html[data-sl-ui-mode="simple"] .sl-setup-journey h2{font-size:16px;line-height:1.4;margin:2px 0 4px}
html[data-sl-ui-mode="simple"] .sl-setup-journey p{font-size:12px;color:#64748b;margin:0 0 10px}
html[data-sl-ui-mode="simple"] .sl-setup-journey nav{display:flex;flex-wrap:wrap;gap:8px 14px}
html[data-sl-ui-mode="simple"] .sl-setup-journey a{font-size:13px;min-height:32px;display:inline-flex;align-items:center;color:#4338ca}
html[data-sl-ui-mode="simple"] .sl-setup-journey a[hidden]{display:none!important}
html[data-sl-ui-mode="simple"] .sl-setup-all-settings>summary{display:list-item;cursor:pointer;color:#475569;font-size:13px;padding:10px 0;margin-bottom:10px}
.sl-simple-navigation,.sl-simple-context,[data-sl-copy="simple"]{display:none!important}
html[data-sl-ui-mode="simple"] [data-sl-copy="advanced"]{display:none!important}
html[data-sl-ui-mode="simple"] [data-sl-copy="simple"]{display:inline!important}
/* The saved mode is set in the head, before the sidebar or access request.
   Never expose the Advanced menu while the Simple projection is pending. */
html[data-sl-ui-mode="simple"] .sl-sidebar-v3-menu,
html[data-sl-ui-mode="simple"] .sl-nav-search-status,
html[data-sl-ui-mode="simple"] .sl-sidebar-v3-assistant{display:none!important}
.sl-simple-menu-loading{display:none!important}
html[data-sl-ui-mode="simple"] .sl-simple-menu-loading:not([hidden]){display:flex!important;align-items:center;gap:8px;flex-wrap:wrap;padding:16px 12px;color:#64748b;font-size:12px;line-height:1.5}
html[data-sl-ui-mode="simple"] .sl-simple-menu-loading button{border:1px solid #dce2eb;background:#fff;color:#4338ca;border-radius:6px;padding:6px 10px;font:inherit;cursor:pointer}
html[data-sl-ui-mode="simple"] .sl-simple-menu-loading button[hidden]{display:none!important}
html[data-sl-ui-mode="simple"] .sl-simple-menu-loading button:focus-visible{outline:2px solid #6366f1;outline-offset:2px}
html[data-sl-ui-mode="simple"] .sl-simple-ready .sl-simple-navigation{display:block!important;padding:4px 0 12px;color:#334155}
html[data-sl-ui-mode="simple"] .sl-simple-navigation [hidden]{display:none!important}
html[data-sl-ui-mode="simple"] .sl-simple-navigation .sl-simple-section{margin:2px 0;border:0;background:transparent}
html[data-sl-ui-mode="simple"] .sl-simple-navigation summary,
html[data-sl-ui-mode="simple"] .sl-simple-navigation .sl-simple-main-link{
 display:flex;align-items:center;gap:11px;min-height:44px;padding:10px 12px;border-radius:6px;
 color:#334155;background:transparent;font-size:13px;font-weight:600;line-height:1.4;cursor:pointer;list-style:none;text-decoration:none;
}
html[data-sl-ui-mode="simple"] .sl-simple-navigation summary::-webkit-details-marker{display:none}
html[data-sl-ui-mode="simple"] .sl-simple-navigation summary>span,
html[data-sl-ui-mode="simple"] .sl-simple-main-link>span{flex:1;min-width:0;overflow-wrap:anywhere}
html[data-sl-ui-mode="simple"] .sl-simple-navigation summary::after{content:'›';color:#8a95a5;font-size:19px;line-height:1;transition:transform .15s}
html[data-sl-ui-mode="simple"] .sl-simple-navigation details[open]>summary::after{transform:rotate(90deg)}
html[data-sl-ui-mode="simple"] .sl-simple-navigation .anticon{color:#778293;font-size:16px;width:18px;text-align:center;flex:0 0 18px}
html[data-sl-ui-mode="simple"] .sl-simple-navigation a:hover,
html[data-sl-ui-mode="simple"] .sl-simple-navigation summary:hover{background:#f3f5f8;color:#4338ca}
html[data-sl-ui-mode="simple"] .sl-simple-navigation .sl-simple-submenu{padding:0 0 6px 29px}
html[data-sl-ui-mode="simple"] .sl-simple-navigation .sl-simple-submenu a{display:block;min-height:40px;padding:9px 12px;margin:1px 0;border-radius:5px;color:#64748b;font-size:12.5px;line-height:1.5;text-decoration:none;overflow-wrap:anywhere}
html[data-sl-ui-mode="simple"] .sl-simple-navigation a[aria-current="page"]{background:#eeecff;color:#4338ca;font-weight:650;box-shadow:inset 2px 0 0 #6366f1}
html[data-sl-ui-mode="simple"] .sl-simple-navigation details:has(a[aria-current="page"])>summary{color:#4338ca}
html[data-sl-ui-mode="simple"] .sl-simple-navigation a:focus-visible,
html[data-sl-ui-mode="simple"] .sl-simple-navigation summary:focus-visible,
html[data-sl-ui-mode="simple"] .sl-simple-context a:focus-visible{outline:2px solid #6366f1;outline-offset:-2px}
html[data-sl-ui-mode="simple"] .sl-simple-search-status{padding:12px;color:#64748b;font-size:12px;line-height:1.5}
html[data-sl-ui-mode="simple"] .sl-sidebar-v3-company-copy strong{font-size:13px!important;font-weight:650!important}
html[data-sl-ui-mode="simple"] .sl-sidebar-v3-company-copy small{display:none}
html[data-sl-ui-mode="simple"] .sl-sidebar-v3-company-button{min-height:50px!important;border-color:transparent!important;background:#f5f6f9!important}
html[data-sl-ui-mode="simple"] .sl-nav-search{min-height:40px;font-size:12px}
html[data-sl-ui-mode="simple"] .sl-sidebar-v3-top{padding-bottom:12px!important}

/* One location cue and one row of links to the neighbouring pages. */
html[data-sl-ui-mode="simple"] .sl-ui-mode-toolbar{flex-wrap:wrap;gap:8px;margin-bottom:18px;max-width:none}
html[data-sl-ui-mode="simple"] .sl-simple-has-context .sl-ui-shortcuts{display:none}
html[data-sl-ui-mode="simple"] .sl-simple-context{display:block!important;flex:1 0 100%;min-width:0;padding-top:10px}
html[data-sl-ui-mode="simple"] .sl-simple-breadcrumb{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:10px;font-size:12px;color:#8490a1}
html[data-sl-ui-mode="simple"] .sl-simple-breadcrumb a{color:#64748b;text-decoration:none}
html[data-sl-ui-mode="simple"] .sl-simple-breadcrumb [aria-current]{color:#334155;font-weight:600}
html[data-sl-ui-mode="simple"] .sl-simple-tabs{display:flex;gap:4px;max-width:100%;overflow-x:auto;border-bottom:1px solid #e2e8f0;scrollbar-width:thin}
html[data-sl-ui-mode="simple"] .sl-simple-tabs a{display:inline-flex;align-items:center;flex-shrink:0;min-height:42px;padding:9px 13px;border-bottom:2px solid transparent;font-size:13px;font-weight:500;color:#64748b;white-space:nowrap;text-decoration:none}
html[data-sl-ui-mode="simple"] .sl-simple-tabs a:hover{color:#4338ca;background:#f5f4ff}
html[data-sl-ui-mode="simple"] .sl-simple-tabs a[aria-current]{color:#4338ca;border-color:#6366f1;font-weight:650}
html[data-sl-ui-mode="simple"] .sl-catalog-page:has(.sl-simple-context) .sl-breadcrumbs{display:none}

/* The product list takes priority over decorative cards. Filter buttons stay. */
html[data-sl-ui-mode="simple"] .sl-catalog-page .sl-hero-card{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:4px 0 14px!important;gap:16px;align-items:center}
html[data-sl-ui-mode="simple"] .sl-catalog-page .sl-hero-card h1{font-size:24px!important;font-weight:650!important;letter-spacing:-.02em}
html[data-sl-ui-mode="simple"] .sl-catalog-page .sl-hero-tags{display:none}
html[data-sl-ui-mode="simple"] .sl-catalog-page .sl-kpi-grid{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:16px!important}
html[data-sl-ui-mode="simple"] .sl-catalog-page .sl-kpi-card{flex:0 1 auto;min-height:42px;padding:8px 13px!important;border:1px solid #e2e8f0!important;border-radius:6px!important;box-shadow:none!important;gap:6px;transform:none}
html[data-sl-ui-mode="simple"] .sl-catalog-page .sl-kpi-icon,
html[data-sl-ui-mode="simple"] .sl-catalog-page .sl-kpi-arrow{display:none}
html[data-sl-ui-mode="simple"] .sl-catalog-page .sl-kpi-copy{display:flex;align-items:baseline;gap:7px}
html[data-sl-ui-mode="simple"] .sl-catalog-page .sl-kpi-copy strong{font-size:15px!important;font-weight:650!important}
html[data-sl-ui-mode="simple"] .sl-catalog-page .sl-kpi-copy small{font-size:12px!important;text-transform:none;letter-spacing:0;margin:0!important}
html[data-sl-ui-mode="simple"] .sl-catalog-page .sl-panel-head{padding:16px 18px 12px!important}
html[data-sl-ui-mode="simple"] .sl-catalog-page .sl-panel-head h2{font-size:17px!important;font-weight:600!important}
html[data-sl-ui-mode="simple"] .sl-catalog-page .sl-catalog-table thead th{font-size:12px!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;color:#64748b!important}
html[data-sl-ui-mode="simple"] .sl-catalog-page .sl-catalog-table tbody td{padding-top:10px!important;padding-bottom:10px!important}

/* Compact shortcuts above the service activity; optional charts stay folded. */
html[data-sl-ui-mode="simple"] .sl-dashboard-v2-root .sl-dashboard-v2-top h1{font-size:25px;font-weight:650}
html[data-sl-ui-mode="simple"] .sl-dashboard-v2-root .sl-dashboard-v2-shortcuts{display:flex;flex-wrap:wrap;gap:4px;padding:6px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;margin-bottom:16px}
html[data-sl-ui-mode="simple"] .sl-dashboard-v2-root .sl-dashboard-v2-shortcut{flex:1 1 auto;min-height:44px;padding:10px 12px;border:0;background:transparent;border-radius:5px;gap:8px;align-items:center}
html[data-sl-ui-mode="simple"] .sl-dashboard-v2-root .sl-dashboard-v2-shortcut:hover{background:#f5f4ff}
html[data-sl-ui-mode="simple"] .sl-dashboard-v2-root .sl-dashboard-v2-shortcut strong{font-size:13px;font-weight:550}
html[data-sl-ui-mode="simple"] .sl-dashboard-v2-shortcut small,
html[data-sl-ui-mode="simple"] .sl-dashboard-v2-shortcut .sl-dash-shortcut-arrow{display:none}
html[data-sl-ui-mode="simple"] .sl-dashboard-v2-root .sl-dashboard-v2-kpi{border-radius:8px;min-height:82px;padding:14px}
html[data-sl-ui-mode="simple"] .sl-dashboard-v2-root .sl-dashboard-v2-kpi-icon{display:none}
html[data-sl-ui-mode="simple"] .sl-dashboard-v2-root .sl-dashboard-v2-kpi strong{font-size:24px;font-weight:650}

@media(min-width:992px){
 html[data-sl-ui-mode="simple"] .is-folded .side-nav:not(:hover) .sl-simple-navigation summary>span,
 html[data-sl-ui-mode="simple"] .is-folded .side-nav:not(:hover) .sl-simple-navigation summary::after,
 html[data-sl-ui-mode="simple"] .is-folded .side-nav:not(:hover) .sl-simple-main-link>span,
 html[data-sl-ui-mode="simple"] .is-folded .side-nav:not(:hover) .sl-simple-submenu{display:none!important}
 html[data-sl-ui-mode="simple"] .is-folded .side-nav:not(:hover) .sl-simple-navigation summary,
 html[data-sl-ui-mode="simple"] .is-folded .side-nav:not(:hover) .sl-simple-main-link{justify-content:center;padding-left:6px;padding-right:6px}
}
@media(max-width:640px){
 html[data-sl-ui-mode="simple"] .sl-simple-context{padding-top:6px}
 html[data-sl-ui-mode="simple"] .sl-simple-tabs a{padding:9px 10px;font-size:12px}
 html[data-sl-ui-mode="simple"] .sl-catalog-page .sl-hero-card{align-items:flex-start}
 html[data-sl-ui-mode="simple"] .sl-catalog-page .sl-kpi-card{flex:1 1 calc(50% - 6px);justify-content:center}
 html[data-sl-ui-mode="simple"] .sl-dashboard-v2-root .sl-dashboard-v2-shortcut{flex:1 1 calc(50% - 4px);padding:10px 8px}
}
@media(prefers-reduced-motion:reduce){html[data-sl-ui-mode="simple"] .sl-simple-navigation summary::after{transition:none}}


/* Apply the same Simple presentation to every back-office page family.
   These rules deliberately outrank the global blue-hero theme. */
html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content [data-sl-simple-hero]{
 background:#fff!important;color:#172033!important;border:1px solid #e2e8f0!important;
 border-radius:8px!important;box-shadow:none!important;padding:16px 18px!important;
 min-height:0!important;margin-bottom:16px!important;gap:14px!important
}
html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content [data-sl-simple-hero]::before,
html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content [data-sl-simple-hero]::after{display:none!important}
html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content [data-sl-simple-hero] :is(h1,h2){
 color:#172033!important;font-size:24px!important;font-weight:650!important;line-height:1.25!important;
 letter-spacing:-.02em!important;margin:0 0 6px!important;text-shadow:none!important
}
html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content [data-sl-simple-hero] :is(p,small){
 color:#64748b!important;font-size:13px!important;line-height:1.5!important;font-weight:400!important;margin-top:4px!important
}
/* Pastilles d'en-tête (restaurant, catégorie, statut, ID) : lisibles sur le fond clair du mode simple. */
html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content [data-sl-simple-hero] .sl-context-chips span{background:#f1f5f9!important;color:#334155!important;border:1px solid #e2e8f0!important}
html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content [data-sl-simple-hero] .sl-context-chips span.is-active{background:#ecfdf5!important;color:#047857!important;border-color:#a7f3d0!important}
html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content [data-sl-simple-hero] .sl-context-chips span.is-inactive{background:#fff7ed!important;color:#9a3412!important;border-color:#fed7aa!important}
/* Adresse du site client sur fond clair (Organiser le site). */
html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content [data-sl-simple-hero] .fs-site-url a{color:#1d4ed8!important}
html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content [data-sl-simple-hero] :is(.fs-eyebrow,.sl-eyebrow,.sl-editor-hero-icon,.sl-admin-hero-icon,.ma-kicker,.sm-hero-kicker,.sl-ai-kicker,.hc-eyebrow,.plan-chip){display:none!important}
html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content [data-sl-simple-hero] :is(.fs-btn-white,.fs-btn-glass,.wa-btn-white,.sl-btn-soft,.btn-light,.btn-outline-light,.os-btn-ghost,.oh-btn-ghost,.od-btn-ghost,.sl-proc-btn.soft){
 background:#f4f5f9!important;color:#334155!important;border:1px solid #dce2eb!important;box-shadow:none!important
}
html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content :is(.fs-card,.fs-preview-card,.sl-proc-panel,.sl-team-card,.sl-staff-card,.sl-a-card,.sl-z-card,.wa-card,.os-card,.oh-card,.od-card,.tm-card,.mail-card,.ig-card,.plan-card,.ma-card){
 border-radius:8px!important;box-shadow:none!important
}
html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content :is(.fs-kpi,.os-stat,.oh-stat,.od-stat,.wa-stat,.sc-stat,.sm-stat,.sl-stat-card,.sl-admin-stat,.sl-a-kpi,.sl-z-kpi){
 padding:10px 13px!important;border-radius:6px!important;box-shadow:none!important;min-height:0!important
}
html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content :is(.fs-kpi,.os-stat,.oh-stat,.od-stat,.wa-stat,.sc-stat,.sm-stat) small{
 font-size:11px!important;font-weight:500!important;letter-spacing:0!important;text-transform:none!important
}
html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content :is(.fs-tabs,.tm-tabs,.sl-team-tabs,.sl-staff-tabs,.sl-a-tabs,.os-tabs,.oh-tabs,.od-tabs){
 box-shadow:none!important;border-radius:6px!important
}
html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content :is(.fs-tab,.fs-btn,.fs-card h2,.fs-field label,.os-btn,.oh-btn,.od-btn,.wa-btn,.ma-btn){
 font-weight:600!important
}
/* Studio: preserve every editor, price, save state and live preview. */
html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content .fs-grid{grid-template-columns:minmax(0,1fr) minmax(270px,330px)!important}
html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content .fs-grid>*{min-width:0!important}
html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content .fs-preview-wrap{min-width:0;max-width:100%}
html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content .fs-preview-card h2{font-size:17px!important;font-weight:600!important}
html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content .fs-browser{min-height:360px;border-radius:8px}
html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content .fs-banner-empty{padding:20px 14px;border-radius:8px}
html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content .fs-savebar{box-shadow:none!important;border-radius:8px}
html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content .fs-note{border-radius:6px;padding:8px 11px;font-size:12px}
html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content .fs-help{font-size:12px;line-height:1.5}
html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content .fs-btn-purple{background:#6d28d9!important;box-shadow:none!important}
/* Compact tools also get the same preference switch without the full sidebar. */
[data-sl-ui-host="compact"] .sl-ui-mode-toolbar{margin:0;gap:0}
[data-sl-ui-host="compact"] .sl-ui-mode-switch button{padding:7px 10px;font-size:12px;min-height:34px}
html[data-sl-ui-mode="simple"] .pos-touch-brand small[data-sl-copy="advanced"]{display:none!important}
@media(max-width:1199px){
 html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content .fs-grid{grid-template-columns:minmax(0,1fr)!important}
 html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content .fs-preview-wrap{position:static!important;width:100%!important}
}
@media(max-width:640px){
 html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content [data-sl-simple-hero]{padding:14px!important}
 html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content [data-sl-simple-hero] :is(h1,h2){font-size:21px!important}
 html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content .fs-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content .fs-rule-grid{grid-template-columns:minmax(0,1fr)}
}

html[data-sl-ui-mode="simple"] body.sl-admin-ui .main-content [data-sl-simple-hero] :is(h1,h2,p) strong{color:inherit!important}
html[data-sl-ui-mode="simple"] .sl-print-monitor-page{background:#f6f7fa;color:#172033}
html[data-sl-ui-mode="simple"] .sl-print-monitor-page .card{background:#fff;border-color:#e2e8f0;border-radius:8px;box-shadow:none}
html[data-sl-ui-mode="simple"] .sl-print-monitor-page .muted{color:#64748b}
html[data-sl-ui-mode="simple"] .sl-print-monitor-page .ok{color:#047857}
html[data-sl-ui-mode="simple"] .sl-print-monitor-page .ko{color:#b91c1c}
html[data-sl-ui-mode="simple"] .sl-print-monitor-page .warn{color:#92400e}
html[data-sl-ui-mode="simple"] .sl-print-monitor-page .pill{background:#edf0f5}
html[data-sl-ui-mode="simple"] .sl-print-monitor-page input{background:#fff;color:#172033;border-color:#cbd5e1;min-width:0;max-width:100%}
.sl-print-monitor-page [data-sl-ui-host]{margin-bottom:12px}
